104 Commits

Author SHA1 Message Date
e7d06743ae fix(datetime): fix datetime-ready class sometimes not being added due to race condition (#24385) 2021-12-14 10:44:50 -06:00
8bdcd3c6c9 fix(datetime): keyboard navigation of time picker columns (#24251) 2021-12-01 11:57:51 -05:00
ec3bc52ff1 fix(datetime): update active calendar display when value changes (#24244) 2021-11-24 11:23:13 -05:00
e3996cfbd5 fix(datetime): clear button is now rendered even if showDefaultButtons is false (#24075) 2021-10-14 14:53:17 -04:00
0ab37b5061 fix(datetime): time picker uses new iOS 15 style (#23996)
resolves #23768
2021-10-05 09:14:52 -04:00
86a77bd379 fix(datetime): add ionBlur/ionFocus events to whole component (#23980) 2021-09-27 10:01:03 -05:00
ea39c6e5b3 fix(datetime): ionChange is no longer called for out of range dates (#23940)
resolves #23939
2021-09-16 10:44:20 -04:00
18765e7e39 feat(datetime): add clear button (#23920)
resolves #17482 

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2021-09-14 22:52:33 -04:00
4ae44b7a23 feat(datetime): add ability to select only month, year, or month and year (#23913) 2021-09-14 09:10:43 -04:00
950350a948 fix(datetime): prevent vertical page scroll on interaction (#23780)
resolves #23554
2021-08-26 09:18:51 -04:00
ea348f005a feat(datetime): add firstDayOfWeek property (#23692)
resolves #23556

Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
2021-08-17 10:45:39 -04:00
6342fde56c feat(datetime): add hourCycle property (#23686)
resolves #23661

Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
2021-08-10 13:20:17 -04:00
321341d97d feat(datetime): add size property (#23649)
resolves #23518
2021-07-20 12:31:38 -04:00
2c07a1566b feat(select): update popover interface to match MD spec on desktop, allow multiple values in popover interface (#23474)
resolves #23657
resolves #15500
resolves #12310
2021-07-20 11:23:00 -04:00
be219a2814 fix(datetime): years displayed now more consistent with v5 datetime, max and min are now accounted for in MD mode (#23616)
resolves #23615
2021-07-15 08:49:25 -04:00
7ac010943b feat(datetime): add showDefaultTimeLabel property and time-label slot (#23577)
resolves #23555
2021-07-07 09:21:13 -04:00
55bd1f749b fix(datetime): add keyboard year navigation (#23585)
resolves #21553 
resolves #18122
2021-07-06 15:56:50 -04:00
4188964dc8 fix(datetime): selecting time now works correctly on firefox (#23583)
resolves #23545
2021-07-06 14:27:27 -04:00
b735b587cd fix(datetime): scroll position no longer gets reset when using datetime in overlay (#23543) 2021-07-01 09:22:59 -04:00
b0cce360c8 fix(datetime): changing time emits ionChange (#23463) 2021-06-18 09:23:19 -04:00
932d3ca62f feat(datetime): add calendar picker (#23416)
resolves #19423

BREAKING CHANGE: The `ion-datetime` component has been revamped to use a new calendar style. As a result, some APIs have been removed. See https://github.com/ionic-team/ionic-framework/blob/master/BREAKING.md for more details.
2021-06-16 15:54:15 -04:00
a31fb55bac fix(datetime, input, textarea): remove aria-labelledby when there is no adjacent ion-label (#23211)
* fix(datetime, input, textarea): remove aria-labelledby when there is no adjacent ion-label

* Update core/src/components/input/test/a11y/input.spec.ts

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>

* Update core/src/components/textarea/test/a11y/textarea.spec.ts

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>

* Update core/src/components/datetime/test/a11y/datetime.spec.ts

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>

* remove hard-coded label, fix whitespace

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2021-04-20 12:34:32 -04:00
9659ad6334 fix(item): only add click event listener to items with inputs (#22352)
This stops screen readers, such as NVDA, from reading every item as clickable even when it is text only.

fixes #22011
2020-11-04 16:19:38 -05:00
9ca8b9de46 chore(): sync with master 2020-09-21 11:36:45 -04:00
8b85fe0d9e fix(datetime): do not reset to am when changing hour and pm is set (#21997)
fixes #19175 fixes #19260 fixes #20026 references #16630
2020-09-11 13:55:07 -04:00
5ffa65f84a feat(vue): add ionic vue beta (#22062) 2020-09-10 15:20:49 -04:00
f00ad8a835 fix(datetime): remove unneeded combox role (#21708)
resolves https://github.com/ionic-team/ionic-framework/issues/21667
2020-07-10 09:37:39 -04:00
c7e94a1f23 docs(datetime): specify default value for dayShortNames (#21281) 2020-06-02 17:21:38 -04:00
a75e8f34d6 fix(datetime): locale inputs are now reactive (#20826)
fixes #20367
2020-04-24 11:29:22 -04:00
76ca475734 feat(datetime): add parts support for placeholder, text (#20930) 2020-04-23 12:20:25 -04:00
21774612d8 fix(datetime): max property now works when hour, minute, or second set to 0 (#20665)
fixes #20652
2020-03-02 11:23:43 -05:00
7b032c5e9b feat(datetime): add custom timezone display property (#19519)
resolves #19401
2020-01-09 15:29:40 -05:00
7ba718c0db fix(datetime): column validation (#18875)
fixes #18793
2019-07-24 18:04:43 +02:00
03c1d19e07 perf(all): minify better by using arrow functions (#18730) 2019-07-10 10:33:33 -04:00
45b82dc466 fix(datetime): datetime no longer reports having a value if none is set (#18541)
fixes #17979 
fixes #18540
2019-06-27 10:48:09 -04:00
34dfc3ce98 refactor(all): updating to newest stencil apis (#18578)
* chore(): update ionicons

* refactor(all): updating to newest stencil apis

* fix lint issues

* more changes

* moreee

* fix treeshaking

* fix config

* fix checkbox

* fix stuff

* chore(): update ionicons

* fix linting errors
2019-06-23 11:26:42 +02:00
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
292b24ad8f fix(datetime): recalculate time columns on change (#18380) 2019-05-24 14:35:55 -04:00
e5c8c10029 fix(components): include mode classes on components for use in shadow (#17838)
- removes mode-less component classes from the internal CSS, use element instead
- adds mode specific classes `md` or `ios` for styling inside of shadow components
- adds e2e test that verifies mode classes exist on all ionic components, plus checks for specific classes that the components need for internal styling

fixes #17608
2019-04-16 17:28:21 -04:00
27168d938a docs(): update datetime docs (#17812)
* docs(): update datetime docs

* docs(): cleanup

* Update core/src/components/datetime/readme.md

Co-Authored-By: mhartington <mhartington@users.noreply.github.com>

* Update core/src/components/datetime/usage/angular.md

Co-Authored-By: mhartington <mhartington@users.noreply.github.com>
2019-03-21 12:48:39 -04:00
b6569254a3 fix(datetime): recalculate day column when month is changed (#17846)
Co-Authored-By: KillerCodeMonkey <bengtler@gmail.com>
Co-Authored-By: olivercodes <boliver@linux.com>
Co-Authored-By: liamdebeasi <liamdebeasi@users.noreply.github.com>
2019-03-21 09:07:44 -04:00
e915aeda6b Revert "fix(datetime): recalculate day column when month or year is changed (#17815)" (#17845)
This reverts commit 9273f97a0cfbb007f20d4977bde3933d6933f9e5.
2019-03-21 09:06:06 -04:00
9273f97a0c fix(datetime): recalculate day column when month or year is changed (#17815)
Co-Authored-By: KillerCodeMonkey<bengtler@gmail.com>
Co-Authored-By: olivercodes <boliver@linux.com>
Co-Authored-By: liamdebeasi <liamdebeasi@users.noreply.github.com>
2019-03-21 08:51:06 -04:00
f097276388 fix(datetime): add additional checks for placeholders in angular (#17774) 2019-03-13 11:46:56 -04:00
6939f7941f fix(datetime): fix placeholder not being respected (#17772) 2019-03-13 11:07:06 -04:00
bab56e8947 fix(datetime): default to local date (#17706) 2019-03-11 09:46:17 -05:00
a1ec5f607b fix(datetime): default to current date when no value given (#17443)
* fix(datetime): default to current date when no value given

* test(datetime): add spec test

* move getDateValue to utils
2019-02-14 16:31:59 -05:00
2b4d7b7be9 fix(angular): apply validation classes properly
* fix(angular): add validation classes to ion-item

* fix(inputs): focus handling

fixes #17171
fixes #16052
fixes #15572
fixes #16452
fixes #17063
2019-01-19 22:56:00 +01:00
d513e8a952 feat(datetime): add readonly prop (#17139) 2019-01-18 17:24:58 +01:00
6364e4e2a1 fix(inputs): keyboard focus improvements (#16838)
fixes #16815
fixes #16872
fixes #13978
fixes #16610
2019-01-11 19:36:02 +01:00