Commit Graph

203 Commits

Author SHA1 Message Date
Sean Perkins
bd82b5dc1d fix(datetime): add top padding to MD calendar month grid (#24522)
Resolves #24408
2022-01-06 12:12:36 -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
Liam DeBeasi
fc64715e2a docs(datetime): add examples on formatting for time zones (#24425) 2021-12-16 13:17:13 -05:00
Amanda Smith
e7d06743ae fix(datetime): fix datetime-ready class sometimes not being added due to race condition (#24385) 2021-12-14 10:44:50 -06:00
Sean Perkins
8bdcd3c6c9 fix(datetime): keyboard navigation of time picker columns (#24251) 2021-12-01 11:57:51 -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
27aef9343c fix(datetime): resolve month and year jumping issue on ios (#24142)
resolves #23910
2021-11-02 16:37:12 -04:00
Liam DeBeasi
71fab0fa12 fix(datetime): default sizing preserves shape of datetime (#24104) 2021-10-21 16:44:35 -04:00
Amanda Smith
4eb02ca776 docs(datetime): add usage examples for use in popovers (#24095) 2021-10-21 15:38:54 -05: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
8708095111 feat(all): add CustomEvents types to components that emit events (#23956)
resolves #22925

BREAKING CHANGE: The `RadioChangeEventDetail` interface has been removed in favor of `RadioGroupChangeEventDetail`.
2021-09-24 16:28:49 -04: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
William Martin
950350a948 fix(datetime): prevent vertical page scroll on interaction (#23780)
resolves #23554
2021-08-26 09:18:51 -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
William Martin
bc4e8267aa fix(datetime): reduce time presentation min height (#23771)
resolves #23690
2021-08-16 15:58:21 -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
Liam DeBeasi
5980db44e5 fix(datetime): text color on ios mode now accounts for color contrast (#23729)
resolves #23723
2021-08-04 12:26:55 -04:00
William Martin
321341d97d feat(datetime): add size property (#23649)
resolves #23518
2021-07-20 12:31:38 -04:00
Brandy Carney
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
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
Liam DeBeasi
1c9435c3f5 docs(accordion): add usage on how to get and set the state programmatically (#23595) 2021-07-08 16:47:21 -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
4188964dc8 fix(datetime): selecting time now works correctly on firefox (#23583)
resolves #23545
2021-07-06 14:27:27 -04:00
Liam DeBeasi
be4f89e6f4 docs(datetime): add correct angular usage example in a modal (#23564) 2021-07-01 17:04:11 -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
William Martin
b93eeeaff1 docs(datetime): fix typo 2021-06-30 13:58:20 -04:00
Liam DeBeasi
b0cce360c8 fix(datetime): changing time emits ionChange (#23463) 2021-06-18 09:23:19 -04:00
William Martin
faefe97da6 feat(item): add helper text, error text, counter, shape, and fill mode (#23354)
resolves #19619
2021-06-17 17:21:03 -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
Liam DeBeasi
b04fb6e849 fix(item): detail icon now respects rtl mode (#23081)
resolves #23078
2021-03-22 15:49:33 -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
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
Brandy Carney
a9b2260100 test(core): add lang attr to html tag to resolve axe errors (#22410) 2020-11-02 17:08:03 -05:00
Liam DeBeasi
18ad9efa4b chore(): sync vue branch with master 2020-10-08 11:38:58 -04: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
Brandy Carney
f81d18c6f9 fix(datetime): remove the automatic switching from am to pm (#22207)
fixes #18924 fixes #22171 fixes #22199
2020-09-29 16:32:21 -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
Liam DeBeasi
9ca8b9de46 chore(): sync with master 2020-09-21 11:36:45 -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