Commit Graph

177 Commits

Author SHA1 Message Date
Liam DeBeasi
ef0d19c0f7 test(input): add missing a11y test (#26307) 2022-11-16 15:30:55 -05:00
ionitron
39d37868dd chore(): add updated snapshots 2022-11-15 21:32:17 +00:00
Sean Perkins
c149b42d0b Merge remote-tracking branch 'origin/main' into sync-7-11-15-22 2022-11-15 15:40:21 -05:00
Liam DeBeasi
44472aeb9f feat(input): component can be used outside of ion-item (#26283)
resolves #20153, resolves #19084, resolves #22736
2022-11-15 11:46:44 -05:00
Liam DeBeasi
5a701b5b42 test(playwright): reduce diff threshold to 0.01 (#26279) 2022-11-14 15:14:09 -05:00
Amanda Johnston
c45d05476b feat(input, textarea): change default debounce to undefined (#26073)
Co-authored-by: Sean Perkins <sean@ionic.io>
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2022-11-09 13:55:20 -06:00
Liam DeBeasi
1a0b9ed3ba fix(android): account for chrome 108 resize (#26244) 2022-11-08 15:31:23 -05:00
Liam DeBeasi
eea6ba996c feat(input, textarea): ionInput and ionChange pass event and value (#26176)
BREAKING CHANGE:

The `detail` payload for the `ionInput` event on `ion-input` and `ion-textarea` now contains an object with the current `value` as well as the native event that triggered `ionInput`.
2022-11-01 12:30:58 -04:00
Sean Perkins
bf5e118313 fix(input): clearOnEdit clears input when user initially types (#26005) 2022-10-10 14:00:10 -04:00
Liam DeBeasi
828bc4ac4e Merge remote-tracking branch 'origin/main' into sync-7-09-30 2022-09-30 13:05:18 -04:00
Liam DeBeasi
d17d6c20b4 test(input): reduce masking test flakiness (#26057) 2022-09-30 13:05:14 -04:00
Liam DeBeasi
fffc729e57 chore(): sync with main 2022-09-30 12:27:17 -04:00
Amanda Johnston
294dc66294 test(many): remove unnecessary standalone tests (#26047) 2022-09-29 16:16:22 -05:00
Liam DeBeasi
cabd23ef81 test(input): fix flaky masking test (#26008) 2022-09-26 13:52:53 -04:00
Sean Perkins
68bae80a51 feat(textarea): ionChange will only emit from user committed changes (#25953) 2022-09-23 13:26:21 -04:00
Sean Perkins
35041b2f3c feat(input): debounce controls the timing to delay the ionInput event (#25969) 2022-09-20 13:10:50 -04:00
Liam DeBeasi
6bb9d8a5d7 Merge remote-tracking branch 'origin/main' into 7.0-sync-09-16-22 2022-09-16 15:20:33 -04:00
Sean Perkins
9451b283e2 fix(input,textarea): data-form-type attribute is assigned to inner input (#25927)
Resolves #25908
2022-09-13 15:02:22 -04:00
Sean Perkins
89b880e91d test(input): skip ionChange test on RTL (#25926) 2022-09-13 10:31:38 -04:00
Sean Perkins
8732b7bdb7 feat(input): ionChange will only emit from user committed changes (#25858)
Resolves #20106, #20061
2022-09-12 15:35:43 -04:00
Liam DeBeasi
20dd8ad1e4 chore(): sync with main 2022-09-02 14:44:56 -04:00
Liam DeBeasi
ff71ad492d fix(input): clear button is not activated on swipe (#25825)
resolves #24857
2022-08-29 17:41:02 -04:00
Liam DeBeasi
373b4ffe21 fix(searchbar): clear button has focus indicator (#25828) 2022-08-26 15:35:58 -04:00
Liam DeBeasi
ee3467c9f1 perf(item): remove delegatesFocus patch for iOS 13 (#25822) 2022-08-25 12:34:25 -04:00
Liam DeBeasi
79c65dc382 test(playwright): add new utilities for skipping tests (#25758) 2022-08-16 09:18:42 -04:00
Sean Perkins
e6fc17fdc1 test(input): migrate tests to playwright (#25597) 2022-07-19 12:44:27 -04:00
Sean Perkins
2d1efdbe6d perf(input): passive event listener for touch start events (#25610)
Resolves #25599
2022-07-14 12:20:30 -04:00
Liam DeBeasi
7821df2f5e refactor(input): deprecate accept property (#25501) 2022-06-21 11:11:34 -04:00
Liam DeBeasi
efe9e92984 chore(): update @stencil/sass, regenerate package-locks (#25441) 2022-06-09 13:45:48 -04:00
Sean Perkins
15c169043f chore(docs): remove manual documentation (#24984) 2022-04-21 12:31:51 -04:00
Sean Perkins
611832b0d5 fix(core): inherit aria attributes on host elements (#25156)
Resolves #20127
2022-04-21 10:50:56 -04:00
Liam DeBeasi
5676bab316 lint(eslint): migrate to eslint and prettier (#25046) 2022-04-04 11:12:53 -04:00
Sean Perkins
2af24494f5 chore(playwright): enable type checking (#25034) 2022-03-31 15:42:09 -04:00
Sean Perkins
19ac2389eb fix(img): draggable attribute is now inherited to inner img element (#24781)
Resolves #21325

Co-authored-by: Celilsemi Sam Erkiner <celilsemi@erkiner.com>
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2022-02-21 11:50:57 -05:00
Sean Perkins
fd031aa1c3 fix(input): only set native input value if different (#24758)
Resolves #24753
2022-02-14 14:33:17 -05:00
Sean Perkins
c6381ce4f9 fix(input): IME composition mode (#24735)
Resolves #24669
2022-02-08 13:14:05 -05:00
Sean Perkins
4ff9524e10 fix(input): cursor position does not jump to end (#24736)
Resolves #24727
2022-02-08 11:39:02 -05:00
Sean Perkins
1f918835f4 fix(input): min/max compatibility with react-hook-form (#24657)
Resolves #24489
2022-01-27 12:29:52 -05:00
Sean Perkins
43c5977d48 fix(input): ion-input accepts any string value (#24606)
Resolves #19884
2022-01-20 12:47:50 -05:00
Liam DeBeasi
8c442059b5 docs(input): clarify intended placeholder behavior for certain input types (#24567)
resolves #24557
2022-01-12 11:44:52 -05:00
Sean Perkins
52cd5d0cce fix(input): ionInput event emits with type of InputEvent (#24111)
The ionInput event for both ion-input and ion-textarea will emit with a type of InputEvent.
2021-11-08 16:01:38 -05:00
Amanda Smith
c20408369b fix(select): ensure popover options with number values are searched for correctly (#23998) 2021-10-04 11:19:49 -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
William Martin
f3ae4319bb fix(input, select, textarea): change type of placeholder prop to string only (#23500)
resolves #22976

BREAKING CHANGE: Updated the `placeholder` property on `ion-input`, `ion-textarea`, and `ion-select` to have a type of `string | undefined`.
2021-06-24 10:23:19 -04:00
Liam DeBeasi
dc430af906 fix(all): reflect color property as an attribute for vue (#23345)
resolves #23323
2021-05-21 19:26:53 -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
William Martin
61f094d306 fix(input): inherit aria-label to input (#23159) 2021-04-07 14:44:03 -04:00
Brandy Carney
c8a3999da1 fix(label): properly float labels for non-input items (#23060) 2021-03-17 12:32:50 -04:00
Brandy Carney
9282aa6871 fix(label): only show placeholder with floating label when focused (#22958)
fixes #17571
2021-03-01 15:36:29 -05:00
Amith Mihiranga
b768181307 docs(input): add available autocapitalize property options (#21886)
Co-authored-by: Brandy Carney <brandy@ionic.io>
2020-12-16 09:53:00 -05:00