Commit Graph

160 Commits

Author SHA1 Message Date
Liam DeBeasi
1a0b9ed3ba fix(android): account for chrome 108 resize (#26244) 2022-11-08 15:31:23 -05:00
Liam DeBeasi
d17d6c20b4 test(input): reduce masking test flakiness (#26057) 2022-09-30 13:05:14 -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
9451b283e2 fix(input,textarea): data-form-type attribute is assigned to inner input (#25927)
Resolves #25908
2022-09-13 15:02:22 -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
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
Liam DeBeasi
abad12fbdb fix(input): title attribute is automatically inherited (#22493)
resolves #22055
2020-11-13 12:15:33 -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
27191026ef docs(): add note on form bindings with debounce (#22409) 2020-11-02 09:26:42 -05:00
Liam DeBeasi
db2cac20fb docs(vue): update component usage examples for vue 3 (#22050) 2020-09-11 13:48:21 -04:00
Liam DeBeasi
6878fb9eb9 fix(input): remain focused in the input after pressing the clear button (#21985)
resolves #21549
2020-08-27 15:22:40 -04:00
Brandy Carney
e4964ff77b fix(input): properly focus the input when clicking the item padding in WebKit (#21930)
Related WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=214859

Issue Number: fixes #21509
2020-08-27 14:52:02 -04:00
Adam Bradley
753fd2f910 chore(colorClass): update createColorClasses() for ts4 (#21896)
Change the createColorClasses() fn so the returned type and jsx class property work well with typescript 4
2020-08-10 09:18:41 -05:00
Liam DeBeasi
a625c837a6 feat(input, textarea): expose native events for ionBlur and ionFocus (#21777)
resolves #17363
2020-07-17 17:43:17 -04:00
Liam DeBeasi
fa93dffdb4 feat(input): accept datetime-local, month, and week type values (#21758)
resolves #21757
2020-07-17 10:46:07 -04:00
Liam DeBeasi
1dcd9de50a fix(input): clear button can now be tabbed to (#21633)
fixes https://github.com/ionic-team/ionic/issues/21549
2020-07-01 10:13:12 -04:00
Liam DeBeasi
d8b377ffeb fix(input): add aria-label to clear button (#21538) 2020-06-15 13:36:11 -04:00
Brandy Carney
cf3035778c chore(stencil): update to v1.14 (#21458) 2020-06-10 11:36:02 -04:00
Brandy Carney
882f8fef07 fix(item): inherit align-items from parent item (#19278)
inherits alignment in inner item, sets item alignment to center

fixes #18703
2020-05-29 11:30:19 -04:00
Brandy Carney
1ea5ce5839 chore(stencil): update to latest stencil version (#21378)
references ionic-team/ionic-docs#1343
2020-05-26 15:05:36 -04:00
Manu MA
4fd7c0cc5a feat(all): add all autocomplete values to input and searchbar (#21297) 2020-05-22 09:23:44 -04:00
Brandy Carney
dd4cb706ff fix(input): check for tabindex and pass it properly to native input (#21170)
* fix(input): check for tabindex and pass it properly to native input

references #17515

* style(input): fix lint error

* test(input): update test for more use cases (inside item)

* fix(item): adds delegatesFocus to shadow

* style(input): add comment block on what the code does
2020-05-13 12:18:03 -04:00
Brandy Carney
687122127c docs(stencil): add stencil usage to components (#21261) 2020-05-12 20:35:48 -04:00