Commit Graph

89 Commits

Author SHA1 Message Date
Sean Perkins
2af24494f5 chore(playwright): enable type checking (#25034) 2022-03-31 15:42:09 -04:00
Sean Perkins
2909b080b7 fix(datetime): presentation time emits ionChange once (#24968)
Resolves #24967
2022-03-22 11:33:19 -04:00
Amanda Smith
d46e1e8506 fix(datetime): reinit behavior on presentation change (#24828)
Co-authored-by: Sean Perkins <sean@ionic.io>
2022-03-11 15:45:46 -06:00
Sean Perkins
c35b898f1d fix(datetime): confirm method now uses selected date (#24827)
Resolves #24823
2022-02-23 15:14:53 -05:00
Sean Perkins
33292fbd92 test(datetime): listen for modal event in zoom out test (#24839) 2022-02-23 14:37:03 -05:00
Sean Perkins
62878238fc test(datetime): event for calendar month text change (#24836) 2022-02-23 12:28:13 -05:00
Liam DeBeasi
b6d7e1c757 fix(datetime): month picker no longer gives duplicate months on ios 14 and older (#24792)
resolves #24663
2022-02-23 08:42:51 -05:00
Sean Perkins
b0ac7de168 fix(datetime): improve datetime sizing in modals (#24762)
Resolves #23992
2022-02-22 16:05:39 -05:00
Sean Perkins
7f1086740b test(datetime): getToday unit test (#24830) 2022-02-22 10:30:06 -05:00
Liam DeBeasi
16647b2c72 fix(datetime): month and year column order is now locale aware (#24802)
resolves #24548
2022-02-17 11:28:09 -05:00
Sean Perkins
7b3838cc67 fix(datetime): navigate to month within min range (#24759)
Resolves #24757
2022-02-09 13:57:55 -05:00
Sean Perkins
231d6df622 fix(datetime): minutes only filtered when max hour matches current hour (#24710)
Resolves #24702
2022-02-04 11:40:02 -05:00
Sean Perkins
b40fc4632e fix(datetime): prevent navigating to disabled months (#24421)
Resolves #24208, #24482
2022-02-01 12:57:03 -05:00
Sean Perkins
378c632643 fix(datetime): timepicker popover will position relative to click target (#24616)
Resolves #24531, #24415

Co-authored-by: mixalbl4 <mixalbl4.127@gmail.com>>
2022-01-25 16:42:57 -05:00
Sean Perkins
5925e7608e fix(datetime): datetime locale with h23 will respect max time range (#24610)
Resolves #24588
2022-01-20 12:47:06 -05:00
Sean Perkins
a3724e6a56 fix(datetime): time picker format with hourCycle h23 (#24476)
Resolves #24474
2022-01-04 16:24:44 -05:00
Sean Perkins
8f000089c2 fix(datetime): RTL will no longer infinitely scroll (#24475)
Resolves #24472
2022-01-04 16:15:38 -05:00
Sean Perkins
430439191d fix(datetime): update active day styling when day is selected (#24454)
Resolves #24414, #24451
2022-01-04 14:32:19 -05:00
Sean Perkins
b0eadfe229 refactor(datetime): e2e does not support components option (#24270) 2021-11-30 14:50:12 -05:00
Sean Perkins
ec3bc52ff1 fix(datetime): update active calendar display when value changes (#24244) 2021-11-24 11:23:13 -05:00
Liam DeBeasi
71fab0fa12 fix(datetime): default sizing preserves shape of datetime (#24104) 2021-10-21 16:44:35 -04:00
Liam DeBeasi
e3996cfbd5 fix(datetime): clear button is now rendered even if showDefaultButtons is false (#24075) 2021-10-14 14:53:17 -04:00
Liam DeBeasi
0ab37b5061 fix(datetime): time picker uses new iOS 15 style (#23996)
resolves #23768
2021-10-05 09:14:52 -04:00
Amanda Smith
86a77bd379 fix(datetime): add ionBlur/ionFocus events to whole component (#23980) 2021-09-27 10:01:03 -05:00
Liam DeBeasi
ea39c6e5b3 fix(datetime): ionChange is no longer called for out of range dates (#23940)
resolves #23939
2021-09-16 10:44:20 -04:00
William Martin
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
Liam DeBeasi
4ae44b7a23 feat(datetime): add ability to select only month, year, or month and year (#23913) 2021-09-14 09:10:43 -04:00
Hans Krywalsky
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
Hans Krywalsky
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
William Martin
321341d97d feat(datetime): add size property (#23649)
resolves #23518
2021-07-20 12:31:38 -04:00
Liam DeBeasi
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
Hans Krywalsky
7ac010943b feat(datetime): add showDefaultTimeLabel property and time-label slot (#23577)
resolves #23555
2021-07-07 09:21:13 -04:00
William Martin
55bd1f749b fix(datetime): add keyboard year navigation (#23585)
resolves #21553 
resolves #18122
2021-07-06 15:56:50 -04:00
Liam DeBeasi
b735b587cd fix(datetime): scroll position no longer gets reset when using datetime in overlay (#23543) 2021-07-01 09:22:59 -04:00
Liam DeBeasi
0a700f9f6f docs(datetime): improve example tests with sizing (#23456) 2021-06-16 16:31:49 -04:00
Liam DeBeasi
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
William Martin
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
Adam Bradley
0de75afbef feat(custom-elements): add experimental custom elements build (#22863)
Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
2021-02-11 12:08:00 -05:00
Liam DeBeasi
fbb777ab5a test(datetime): improve reliability of focus trap test (#22742) 2021-01-07 11:37:19 -05:00
Brandy Carney
a9b2260100 test(core): add lang attr to html tag to resolve axe errors (#22410) 2020-11-02 17:08:03 -05:00
Brandy Carney
18fb8855e0 fix(datetime): do not set ampm when the column doesn't exist (#22220)
fixes #22149
2020-10-01 13:06:13 -04:00
Liam DeBeasi
cc45ad815c fix(overlays): return focus to presenting element after dismissal (#22167)
resolves #21768
2020-09-24 18:07:25 -04:00
Brandy Carney
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
Liam DeBeasi
fff4aec6cf fix(overlays): trap focus inside overlay components except toast (#21716)
fixes #21647
2020-07-22 12:09:31 -04:00
Liam DeBeasi
3937101e5c fix(datetime): ensure year-only values are not affected by timezone when parsing (#21309) 2020-05-15 11:36:01 -04:00
Antoine
a75e8f34d6 fix(datetime): locale inputs are now reactive (#20826)
fixes #20367
2020-04-24 11:29:22 -04:00
Liam DeBeasi
76ca475734 feat(datetime): add parts support for placeholder, text (#20930) 2020-04-23 12:20:25 -04:00
Asif Rahman
7b032c5e9b feat(datetime): add custom timezone display property (#19519)
resolves #19401
2020-01-09 15:29:40 -05:00
Kelvin Dart
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
Manu MA
301b0fc1d1 chore(): update to stencil 1.1 (#18609) 2019-06-26 17:17:48 +02:00