voyager-ionic-core 8.0.0-beta.2 → 8.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/animation.js +9 -250
- package/components/button.js +18 -5
- package/components/haptic.js +6 -54
- package/components/helpers.js +1 -50
- package/components/index7.js +3 -1
- package/components/index9.js +5 -34
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +7 -6
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +3 -3
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.d.ts +11 -0
- package/components/ion-input-password-toggle.js +132 -0
- package/components/ion-input.js +27 -8
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +3 -3
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +11 -24
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +7 -7
- package/components/ion-segment-button.js +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +10 -10
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +4 -5
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +4 -4
- package/components/ion-toolbar.js +2 -2
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +8 -4
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/css/palettes/dark.always.css.map +1 -0
- package/css/{themes → palettes}/dark.class.css +4 -4
- package/css/palettes/dark.class.css.map +1 -0
- package/css/palettes/dark.system.css.map +1 -0
- package/css/palettes/high-contrast-dark.always.css.map +1 -0
- package/css/{themes → palettes}/high-contrast-dark.class.css +10 -10
- package/css/palettes/high-contrast-dark.class.css.map +1 -0
- package/css/palettes/high-contrast-dark.system.css.map +1 -0
- package/css/palettes/high-contrast.always.css.map +1 -0
- package/css/{themes → palettes}/high-contrast.class.css +31 -31
- package/css/palettes/high-contrast.class.css.map +1 -0
- package/css/palettes/high-contrast.system.css.map +1 -0
- package/dist/cjs/{animation-3e7bb91e.js → animation-b4fdf128.js} +9 -250
- package/dist/cjs/{app-globals-e132c781.js → app-globals-63aebf89.js} +1 -1
- package/dist/cjs/{button-active-60ecf64d.js → button-active-bd13859e.js} +2 -2
- package/dist/cjs/{framework-delegate-0499d444.js → framework-delegate-55f5683a.js} +1 -1
- package/dist/cjs/{haptic-b882e0bb.js → haptic-f6b37aa3.js} +6 -54
- package/dist/cjs/{hardware-back-button-1c67a5a2.js → hardware-back-button-ad9299b4.js} +2 -2
- package/dist/cjs/{helpers-668b3d95.js → helpers-afaa9001.js} +0 -51
- package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
- package/dist/cjs/{index-c49cb371.js → index-5b6a7459.js} +1 -1
- package/dist/cjs/{index-ba7ba0af.js → index-5cf05f94.js} +4 -4
- package/dist/cjs/{index-275cc12e.js → index-9509ecad.js} +5 -34
- package/dist/cjs/{index-2d21d526.js → index-af6d0fbb.js} +16 -4
- package/dist/cjs/{index-e4b6c97e.js → index-ff66cc7c.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-b419f083.js → input-shims-20d639e6.js} +2 -2
- package/dist/cjs/{input.utils-32c0a14a.js → input.utils-611cde0b.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -9
- package/dist/cjs/ion-alert.cjs.entry.js +9 -9
- package/dist/cjs/ion-app_8.cjs.entry.js +22 -22
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-button_2.cjs.entry.js +19 -7
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +20 -19
- package/dist/cjs/ion-fab_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +93 -0
- package/dist/cjs/ion-input.cjs.entry.js +30 -12
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +16 -16
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +15 -15
- package/dist/cjs/ion-modal.cjs.entry.js +12 -12
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +12 -8
- package/dist/cjs/ion-picker.cjs.entry.js +4 -4
- package/dist/cjs/ion-popover.cjs.entry.js +10 -10
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-range.cjs.entry.js +14 -27
- package/dist/cjs/ion-refresher_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
- package/dist/cjs/ion-searchbar.cjs.entry.js +10 -10
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +18 -18
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +9 -10
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -8
- package/dist/cjs/{ionic-global-5762eca9.js → ionic-global-1adf9bc4.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-3e119901.js → ios.transition-06673f18.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-c1392f92.js → md.transition-4d7bb4b1.js} +4 -4
- package/dist/cjs/{notch-controller-08a24f39.js → notch-controller-d69150f5.js} +1 -1
- package/dist/cjs/{overlays-44b8d0e0.js → overlays-6487955a.js} +4 -4
- package/dist/cjs/{status-tap-32430b3e.js → status-tap-0be20572.js} +3 -3
- package/dist/cjs/{swipe-back-b8484483.js → swipe-back-f38a434a.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +1 -1
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +5 -1
- package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +1 -1
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +1 -1
- package/dist/collection/components/button/button.ios.css +32 -10
- package/dist/collection/components/button/button.js +19 -2
- package/dist/collection/components/button/button.md.css +28 -13
- package/dist/collection/components/button/test/a11y/button.e2e.js +2 -2
- package/dist/collection/components/button/test/round/button.e2e.js +39 -4
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +1 -1
- package/dist/collection/components/datetime/datetime.js +7 -6
- package/dist/collection/components/datetime-button/datetime-button.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.ios.css +5 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/header/test/basic/header.e2e.js +77 -0
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.ios.css +11 -2
- package/dist/collection/components/input/input.js +27 -30
- package/dist/collection/components/input/input.md.css +11 -2
- package/dist/collection/components/input/test/a11y/input.e2e.js +1 -1
- package/dist/collection/components/input/test/slot/input.e2e.js +8 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
- package/dist/collection/components/item/test/buttons/item.e2e.js +20 -4
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/test/a11y/label.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +1 -1
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -4
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +11 -24
- package/dist/collection/components/range/test/a11y/range.e2e.js +1 -1
- package/dist/collection/components/range/test/label/range.spec.js +24 -0
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +1 -1
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +10 -9
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +1 -1
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.ios.css +2 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/select/select.md.css +2 -2
- package/dist/collection/components/select/test/a11y/select.e2e.js +1 -1
- package/dist/collection/components/select/test/select.spec.js +22 -0
- package/dist/collection/components/select/test/slot/select.e2e.js +8 -0
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +8 -0
- package/dist/collection/components/textarea/textarea.ios.css +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -26
- package/dist/collection/components/textarea/textarea.md.css +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/css/test/a11y/typography.e2e.js +1 -1
- package/dist/collection/themes/test/colors/theme.e2e.js +2 -2
- package/dist/collection/utils/animation/animation-utils.js +0 -102
- package/dist/collection/utils/animation/animation.js +10 -141
- package/dist/collection/utils/animation/test/animation.spec.js +0 -89
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -7
- package/dist/collection/utils/helpers.js +0 -46
- package/dist/collection/utils/native/haptic.js +6 -54
- package/dist/collection/utils/tap-click/index.js +5 -34
- package/dist/collection/utils/test/playwright/generator.js +17 -17
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +6 -6
- package/dist/docs.json +211 -36
- package/dist/esm/{animation-9a23ed8d.js → animation-eab5a4ca.js} +9 -250
- package/dist/esm/{app-globals-80842d68.js → app-globals-b8e5e7fa.js} +1 -1
- package/dist/esm/{button-active-c6e18fac.js → button-active-a411da52.js} +2 -2
- package/dist/esm/{framework-delegate-3fd96df8.js → framework-delegate-63d1a679.js} +1 -1
- package/dist/esm/{haptic-554688a5.js → haptic-ac164e4c.js} +6 -54
- package/dist/esm/{hardware-back-button-fb295e3a.js → hardware-back-button-329c81fd.js} +2 -2
- package/dist/esm/{helpers-f51cf76f.js → helpers-da915de8.js} +1 -50
- package/dist/esm/{index-9d7e5d3e.js → index-10916999.js} +4 -4
- package/dist/esm/{index-86688780.js → index-5cc724f3.js} +1 -1
- package/dist/esm/{index-5d6a0317.js → index-6e4709ff.js} +16 -4
- package/dist/esm/{index-1262064c.js → index-79b30591.js} +5 -34
- package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
- package/dist/esm/{index-6da05eef.js → index-f1f5de26.js} +4 -4
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-2a4ad5a1.js → input-shims-4530285e.js} +2 -2
- package/dist/esm/{input.utils-d2dee48e.js → input.utils-09c71bc7.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +9 -9
- package/dist/esm/ion-alert.entry.js +9 -9
- package/dist/esm/ion-app_8.entry.js +22 -22
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
- package/dist/esm/ion-button_2.entry.js +19 -7
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +5 -5
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +20 -19
- package/dist/esm/ion-fab_3.entry.js +10 -10
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
- package/dist/esm/ion-input-password-toggle.entry.js +89 -0
- package/dist/esm/ion-input.entry.js +30 -12
- package/dist/esm/ion-item-option_3.entry.js +8 -8
- package/dist/esm/ion-item_8.entry.js +16 -16
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +15 -15
- package/dist/esm/ion-modal.entry.js +12 -12
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +12 -8
- package/dist/esm/ion-picker.entry.js +4 -4
- package/dist/esm/ion-popover.entry.js +10 -10
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +7 -7
- package/dist/esm/ion-range.entry.js +14 -27
- package/dist/esm/ion-refresher_2.entry.js +9 -9
- package/dist/esm/ion-reorder_2.entry.js +8 -8
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +5 -5
- package/dist/esm/ion-searchbar.entry.js +10 -10
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +18 -18
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +9 -10
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +8 -8
- package/dist/esm/{ionic-global-a589c12c.js → ionic-global-c4e0c089.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-fbde96b0.js → ios.transition-8e181a7e.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-76e0020b.js → md.transition-f1c3c737.js} +4 -4
- package/dist/esm/{notch-controller-00572cf8.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm/{overlays-b1ac1c63.js → overlays-9472c98b.js} +4 -4
- package/dist/esm/{status-tap-84b41f36.js → status-tap-39da9160.js} +3 -3
- package/dist/esm/{swipe-back-4f2e5d47.js → swipe-back-b613d7db.js} +1 -1
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-b8e5e7fa.js +4 -0
- package/dist/esm-es5/{button-active-c6e18fac.js → button-active-a411da52.js} +1 -1
- package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
- package/dist/esm-es5/haptic-ac164e4c.js +4 -0
- package/dist/esm-es5/{hardware-back-button-fb295e3a.js → hardware-back-button-329c81fd.js} +1 -1
- package/dist/esm-es5/helpers-da915de8.js +4 -0
- package/dist/esm-es5/index-10916999.js +4 -0
- package/dist/esm-es5/{index-86688780.js → index-5cc724f3.js} +1 -1
- package/dist/esm-es5/index-6e4709ff.js +5 -0
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/{index-6da05eef.js → index-f1f5de26.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-4530285e.js +4 -0
- package/dist/esm-es5/{input.utils-d2dee48e.js → input.utils-09c71bc7.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-a589c12c.js → ionic-global-c4e0c089.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-fbde96b0.js → ios.transition-8e181a7e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-f1c3c737.js +4 -0
- package/dist/esm-es5/{notch-controller-00572cf8.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm-es5/{overlays-b1ac1c63.js → overlays-9472c98b.js} +1 -1
- package/dist/esm-es5/{status-tap-84b41f36.js → status-tap-39da9160.js} +1 -1
- package/dist/esm-es5/{swipe-back-4f2e5d47.js → swipe-back-b613d7db.js} +1 -1
- package/dist/html.html-data.json +87 -19
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-f15b0bbc.system.entry.js → p-04070329.system.entry.js} +1 -1
- package/dist/ionic/p-049fa018.system.entry.js +4 -0
- package/dist/ionic/{p-4ba6d7d1.js → p-06e58c4e.js} +1 -1
- package/dist/ionic/{p-f8dfae89.system.entry.js → p-07ae133d.system.entry.js} +1 -1
- package/dist/ionic/p-0aa4682e.entry.js +4 -0
- package/dist/ionic/{p-2028668d.system.entry.js → p-0bbb6edf.system.entry.js} +1 -1
- package/dist/ionic/{p-8dfe436d.system.js → p-0c06e09b.system.js} +1 -1
- package/dist/ionic/p-0de546bb.entry.js +4 -0
- package/dist/ionic/{p-6d75fbe8.system.entry.js → p-0ebb1fe7.system.entry.js} +1 -1
- package/dist/ionic/p-0f2d99a6.entry.js +4 -0
- package/dist/ionic/p-100bedc4.system.entry.js +4 -0
- package/dist/ionic/{p-91567c90.system.entry.js → p-105f7d62.system.entry.js} +1 -1
- package/dist/ionic/{p-ff740d68.system.entry.js → p-1672c4fd.system.entry.js} +2 -2
- package/dist/ionic/{p-d85eebc3.entry.js → p-17978fce.entry.js} +1 -1
- package/dist/ionic/{p-0eb381c3.system.js → p-184fbc9e.system.js} +1 -1
- package/dist/ionic/{p-3944820a.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/{p-7200f2da.entry.js → p-1b235142.entry.js} +1 -1
- package/dist/ionic/{p-21e88629.entry.js → p-1cff9cad.entry.js} +1 -1
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/{p-234dc736.entry.js → p-1f9cdee2.entry.js} +1 -1
- package/dist/ionic/p-23b89985.entry.js +4 -0
- package/dist/ionic/{p-53c592ec.system.js → p-25575222.system.js} +1 -1
- package/dist/ionic/{p-ea5173f9.system.js → p-266fc56e.system.js} +1 -1
- package/dist/ionic/p-2e12bda2.entry.js +4 -0
- package/dist/ionic/{p-a5c33d6b.system.entry.js → p-2f6cedaf.system.entry.js} +1 -1
- package/dist/ionic/{p-78b3da77.js → p-3040730e.js} +1 -1
- package/dist/ionic/{p-75addf49.entry.js → p-3391d9a3.entry.js} +1 -1
- package/dist/ionic/{p-4da2ae44.js → p-34b11c24.js} +1 -1
- package/dist/ionic/{p-f6db2e96.system.entry.js → p-352f7037.system.entry.js} +2 -2
- package/dist/ionic/{p-5054b3db.entry.js → p-35b9e842.entry.js} +1 -1
- package/dist/ionic/p-3ad285e3.system.js +4 -0
- package/dist/ionic/{p-95648db9.entry.js → p-3c70b01b.entry.js} +1 -1
- package/dist/ionic/{p-46a4e4e8.js → p-3cc276f4.js} +1 -1
- package/dist/ionic/{p-566818dd.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
- package/dist/ionic/{p-2e2635b4.system.entry.js → p-3e3b34f7.system.entry.js} +1 -1
- package/dist/ionic/{p-0da58e53.entry.js → p-3f70bfba.entry.js} +1 -1
- package/dist/ionic/{p-a43fbe0a.system.entry.js → p-43505ff8.system.entry.js} +1 -1
- package/dist/ionic/{p-f012e8f2.system.entry.js → p-4429fc97.system.entry.js} +1 -1
- package/dist/ionic/{p-2c560619.system.entry.js → p-4511ba0e.system.entry.js} +1 -1
- package/dist/ionic/p-46111310.js +4 -0
- package/dist/ionic/p-46f407f0.system.js +4 -0
- package/dist/ionic/p-49b6fee0.system.entry.js +4 -0
- package/dist/ionic/{p-eb546888.entry.js → p-4a615fea.entry.js} +1 -1
- package/dist/ionic/{p-f3e8c505.system.js → p-4dd82d9d.system.js} +1 -1
- package/dist/ionic/{p-696db6f4.system.js → p-5033128d.system.js} +2 -2
- package/dist/ionic/{p-0afaf65b.system.entry.js → p-510578f3.system.entry.js} +1 -1
- package/dist/ionic/{p-7162350a.system.entry.js → p-51b68ec9.system.entry.js} +1 -1
- package/dist/ionic/{p-42d9f81e.entry.js → p-51ff648c.entry.js} +1 -1
- package/dist/ionic/p-546433d2.js +4 -0
- package/dist/ionic/{p-3a572692.js → p-54f76ced.js} +1 -1
- package/dist/ionic/{p-66e50777.entry.js → p-56c3b69c.entry.js} +1 -1
- package/dist/ionic/p-58ea73f7.system.entry.js +4 -0
- package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
- package/dist/ionic/p-5ae49f12.entry.js +4 -0
- package/dist/ionic/{p-ba9120fe.system.entry.js → p-5b1273f4.system.entry.js} +2 -2
- package/dist/ionic/p-5d3f6707.entry.js +4 -0
- package/dist/ionic/{p-e5e492d8.entry.js → p-5da04d11.entry.js} +1 -1
- package/dist/ionic/p-5e7c32e8.system.entry.js +4 -0
- package/dist/ionic/p-65d26d94.system.entry.js +4 -0
- package/dist/ionic/{p-cada6331.entry.js → p-6744e460.entry.js} +1 -1
- package/dist/ionic/{p-d09c9468.system.entry.js → p-68a1e274.system.entry.js} +1 -1
- package/dist/ionic/{p-031c5621.js → p-6994c97a.js} +1 -1
- package/dist/ionic/p-69bc14fd.entry.js +4 -0
- package/dist/ionic/p-6a7eac5a.js +4 -0
- package/dist/ionic/p-6f4db5ce.system.entry.js +4 -0
- package/dist/ionic/{p-30dfa360.system.js → p-71215c1d.system.js} +1 -1
- package/dist/ionic/{p-063c093d.system.entry.js → p-71688099.system.entry.js} +1 -1
- package/dist/ionic/{p-d9dfdbb5.system.entry.js → p-716ab5f8.system.entry.js} +1 -1
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-74a9cafe.system.js +5 -0
- package/dist/ionic/{p-b996756b.entry.js → p-75280815.entry.js} +1 -1
- package/dist/ionic/{p-eee87ebb.js → p-75cddcc9.js} +1 -1
- package/dist/ionic/{p-5f9abba8.system.entry.js → p-76907c2f.system.entry.js} +1 -1
- package/dist/ionic/p-7d9eefb3.system.js +4 -0
- package/dist/ionic/p-7df2c495.entry.js +4 -0
- package/dist/ionic/p-7fc505bf.entry.js +4 -0
- package/dist/ionic/p-83321ee8.entry.js +4 -0
- package/dist/ionic/p-8635f5e6.system.js +4 -0
- package/dist/ionic/{p-da5bbd4f.entry.js → p-88cff52d.entry.js} +1 -1
- package/dist/ionic/{p-19243ae6.entry.js → p-896111fa.entry.js} +1 -1
- package/dist/ionic/p-89b61afc.js +4 -0
- package/dist/ionic/{p-824d44c5.system.entry.js → p-8bd567ba.system.entry.js} +1 -1
- package/dist/ionic/{p-1acaf641.entry.js → p-8e9ac22d.entry.js} +1 -1
- package/dist/ionic/p-9146695e.system.js +4 -0
- package/dist/ionic/{p-314ae72a.js → p-96cc4814.js} +1 -1
- package/dist/ionic/{p-65374504.entry.js → p-99daf8b7.entry.js} +1 -1
- package/dist/ionic/p-9ad82dba.js +5 -0
- package/dist/ionic/{p-af9256a0.system.js → p-9d7fc908.system.js} +1 -1
- package/dist/ionic/{p-ce36d285.system.js → p-9ea607bd.system.js} +1 -1
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/{p-f15f8140.system.entry.js → p-a1b4e619.system.entry.js} +1 -1
- package/dist/ionic/{p-45a2b1ee.system.entry.js → p-a1f9f629.system.entry.js} +1 -1
- package/dist/ionic/{p-7c7e495d.system.js → p-a7ba2dcc.system.js} +1 -1
- package/dist/ionic/p-a88fdfac.entry.js +4 -0
- package/dist/ionic/{p-01171ead.system.js → p-a8f02173.system.js} +1 -1
- package/dist/ionic/p-a93873de.system.js +4 -0
- package/dist/ionic/{p-c834c535.system.entry.js → p-aa110ca0.system.entry.js} +1 -1
- package/dist/ionic/{p-50d19fc7.system.entry.js → p-aa4f2703.system.entry.js} +1 -1
- package/dist/ionic/{p-9c970454.entry.js → p-ab85debb.entry.js} +1 -1
- package/dist/ionic/{p-a37d4fe9.system.entry.js → p-ac4e2a74.system.entry.js} +1 -1
- package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
- package/dist/ionic/p-b51e4004.js +4 -0
- package/dist/ionic/{p-c8f7f923.entry.js → p-b689b8d4.entry.js} +1 -1
- package/dist/ionic/p-b7af48c0.js +4 -0
- package/dist/ionic/p-bb835b4d.system.entry.js +4 -0
- package/dist/ionic/{p-d3c1c23f.entry.js → p-c04d5a75.entry.js} +1 -1
- package/dist/ionic/{p-acd64713.system.entry.js → p-c198e1e1.system.entry.js} +1 -1
- package/dist/ionic/{p-c4390f10.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
- package/dist/ionic/{p-239906f1.js → p-c222f76a.js} +1 -1
- package/dist/ionic/{p-03f3ebd2.entry.js → p-c41af68a.entry.js} +1 -1
- package/dist/ionic/p-c7e16491.js +4 -0
- package/dist/ionic/p-c80d05c9.js +4 -0
- package/dist/ionic/{p-0b175848.entry.js → p-c8510ca2.entry.js} +1 -1
- package/dist/ionic/{p-2070f8d8.entry.js → p-c8f2b769.entry.js} +1 -1
- package/dist/ionic/{p-8c0b08db.entry.js → p-c99ccdc9.entry.js} +1 -1
- package/dist/ionic/{p-15e2ff5f.system.entry.js → p-c9c39c98.system.entry.js} +1 -1
- package/dist/ionic/{p-070cf7c3.entry.js → p-cae889f9.entry.js} +1 -1
- package/dist/ionic/{p-9e3177a5.system.js → p-d2544865.system.js} +1 -1
- package/dist/ionic/{p-219c17cf.system.entry.js → p-d5f48185.system.entry.js} +1 -1
- package/dist/ionic/{p-4997d7dc.system.js → p-d79542bd.system.js} +1 -1
- package/dist/ionic/p-d8067ea4.system.entry.js +4 -0
- package/dist/ionic/p-d8f66669.entry.js +4 -0
- package/dist/ionic/{p-48fef2f1.entry.js → p-d98c0112.entry.js} +1 -1
- package/dist/ionic/p-da2b833b.js +4 -0
- package/dist/ionic/p-dc1372e0.entry.js +4 -0
- package/dist/ionic/{p-4d6ec139.entry.js → p-df48edd6.entry.js} +1 -1
- package/dist/ionic/{p-de4c700f.entry.js → p-df6fa126.entry.js} +1 -1
- package/dist/ionic/{p-66596659.entry.js → p-e8a0e731.entry.js} +1 -1
- package/dist/ionic/{p-513abaf6.system.entry.js → p-ea2c16b5.system.entry.js} +2 -2
- package/dist/ionic/p-ea4be6ac.system.js +4 -0
- package/dist/ionic/{p-b0850af6.system.entry.js → p-eb3da535.system.entry.js} +1 -1
- package/dist/ionic/{p-07a0190a.system.entry.js → p-ec2d3928.system.entry.js} +1 -1
- package/dist/ionic/p-f0392d49.entry.js +4 -0
- package/dist/ionic/{p-144ae947.js → p-f4cb521c.js} +1 -1
- package/dist/ionic/{p-a7f788ec.entry.js → p-f818b01a.entry.js} +1 -1
- package/dist/ionic/p-f94cbfe9.js +4 -0
- package/dist/ionic/{p-739f8b95.system.entry.js → p-fab4ecad.system.entry.js} +1 -1
- package/dist/ionic/p-fb02eeec.system.entry.js +4 -0
- package/dist/ionic/{p-237b1791.system.entry.js → p-fb97326f.system.entry.js} +1 -1
- package/dist/ionic/{p-e222fdd1.entry.js → p-fbd30ec7.entry.js} +1 -1
- package/dist/ionic/{p-de39f314.entry.js → p-fda4872f.entry.js} +1 -1
- package/dist/ionic/{p-25648922.system.entry.js → p-ff2323ba.system.entry.js} +1 -1
- package/dist/types/components/button/button.d.ts +5 -0
- package/dist/types/components/datetime/datetime.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +7 -6
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
- package/dist/types/components/modal/animations/sheet.d.ts +4 -4
- package/dist/types/components/refresher/refresher.utils.d.ts +2 -2
- package/dist/types/components/searchbar/searchbar.d.ts +0 -14
- package/dist/types/components/textarea/textarea.d.ts +1 -6
- package/dist/types/components/toggle/toggle.d.ts +1 -1
- package/dist/types/components.d.ts +49 -5
- package/dist/types/utils/animation/animation-utils.d.ts +0 -12
- package/dist/types/utils/focus-trap.d.ts +2 -2
- package/dist/types/utils/helpers.d.ts +0 -18
- package/dist/types/utils/overlays.d.ts +2 -2
- package/dist/types/utils/test/playwright/generator.d.ts +3 -3
- package/hydrate/index.js +335 -535
- package/package.json +7 -2
- package/css/themes/dark.always.css.map +0 -1
- package/css/themes/dark.class.css.map +0 -1
- package/css/themes/dark.system.css.map +0 -1
- package/css/themes/high-contrast-dark.always.css.map +0 -1
- package/css/themes/high-contrast-dark.class.css.map +0 -1
- package/css/themes/high-contrast-dark.system.css.map +0 -1
- package/css/themes/high-contrast.always.css.map +0 -1
- package/css/themes/high-contrast.class.css.map +0 -1
- package/css/themes/high-contrast.system.css.map +0 -1
- package/dist/collection/utils/test/aria.spec.js +0 -80
- package/dist/esm-es5/animation-9a23ed8d.js +0 -4
- package/dist/esm-es5/app-globals-80842d68.js +0 -4
- package/dist/esm-es5/framework-delegate-3fd96df8.js +0 -4
- package/dist/esm-es5/haptic-554688a5.js +0 -4
- package/dist/esm-es5/helpers-f51cf76f.js +0 -4
- package/dist/esm-es5/index-1262064c.js +0 -4
- package/dist/esm-es5/index-5d6a0317.js +0 -5
- package/dist/esm-es5/index-9d7e5d3e.js +0 -4
- package/dist/esm-es5/input-shims-2a4ad5a1.js +0 -4
- package/dist/esm-es5/md.transition-76e0020b.js +0 -4
- package/dist/ionic/p-04f9ce05.system.js +0 -4
- package/dist/ionic/p-06e951a9.entry.js +0 -4
- package/dist/ionic/p-1d1394da.system.entry.js +0 -4
- package/dist/ionic/p-1e5c0c49.js +0 -4
- package/dist/ionic/p-29ecf879.entry.js +0 -4
- package/dist/ionic/p-2f53f47a.entry.js +0 -4
- package/dist/ionic/p-33e39575.system.js +0 -4
- package/dist/ionic/p-355736ea.js +0 -4
- package/dist/ionic/p-373e757d.entry.js +0 -4
- package/dist/ionic/p-39483fc9.js +0 -4
- package/dist/ionic/p-39860681.entry.js +0 -4
- package/dist/ionic/p-42f189f4.js +0 -4
- package/dist/ionic/p-493bce1f.entry.js +0 -4
- package/dist/ionic/p-49a205d0.system.js +0 -4
- package/dist/ionic/p-4d7230bd.system.entry.js +0 -4
- package/dist/ionic/p-517b76cb.entry.js +0 -4
- package/dist/ionic/p-51b1a6be.js +0 -4
- package/dist/ionic/p-59e86adb.js +0 -4
- package/dist/ionic/p-6042920d.system.entry.js +0 -4
- package/dist/ionic/p-667290b0.system.js +0 -4
- package/dist/ionic/p-67dbcd3b.system.js +0 -4
- package/dist/ionic/p-69df28fd.entry.js +0 -4
- package/dist/ionic/p-6d0e7669.system.entry.js +0 -4
- package/dist/ionic/p-6d1f5de9.system.entry.js +0 -4
- package/dist/ionic/p-7d4f6f18.js +0 -4
- package/dist/ionic/p-831269de.js +0 -4
- package/dist/ionic/p-a03c993e.entry.js +0 -4
- package/dist/ionic/p-b0d35de4.system.js +0 -4
- package/dist/ionic/p-bb78b64e.entry.js +0 -4
- package/dist/ionic/p-bbc4f653.entry.js +0 -4
- package/dist/ionic/p-c34d1515.js +0 -4
- package/dist/ionic/p-c629d22b.system.js +0 -5
- package/dist/ionic/p-c8675b7b.system.entry.js +0 -4
- package/dist/ionic/p-c962e9ea.entry.js +0 -4
- package/dist/ionic/p-c995da88.system.js +0 -4
- package/dist/ionic/p-cc19ecba.system.entry.js +0 -4
- package/dist/ionic/p-d10bbab7.entry.js +0 -4
- package/dist/ionic/p-d268f7e2.system.entry.js +0 -4
- package/dist/ionic/p-d4be0d81.system.entry.js +0 -4
- package/dist/ionic/p-d5ef3a0a.entry.js +0 -4
- package/dist/ionic/p-dad515dc.js +0 -4
- package/dist/ionic/p-dfb6de03.system.js +0 -4
- package/dist/ionic/p-e01ebeba.system.js +0 -4
- package/dist/ionic/p-e9412fe7.system.entry.js +0 -4
- package/dist/ionic/p-f5cb9689.js +0 -4
- package/dist/ionic/p-f8502e85.js +0 -5
- package/dist/ionic/p-fcec3b7a.system.entry.js +0 -4
- package/css/{themes → palettes}/dark.always.css +0 -0
- package/css/{themes → palettes}/dark.css +0 -0
- package/css/{themes → palettes}/dark.css.map +0 -0
- package/css/{themes → palettes}/dark.system.css +0 -0
- package/css/{themes → palettes}/high-contrast-dark.always.css +1 -1
- package/css/{themes → palettes}/high-contrast-dark.css +0 -0
- package/css/{themes → palettes}/high-contrast-dark.css.map +0 -0
- package/css/{themes → palettes}/high-contrast-dark.system.css +1 -1
- package/css/{themes → palettes}/high-contrast.always.css +25 -25
- package/css/{themes → palettes}/high-contrast.css +0 -0
- package/css/{themes → palettes}/high-contrast.css.map +0 -0
- package/css/{themes → palettes}/high-contrast.system.css +25 -25
|
@@ -799,6 +799,7 @@ export class Datetime {
|
|
|
799
799
|
this.initializeKeyboardListeners();
|
|
800
800
|
}
|
|
801
801
|
componentDidLoad() {
|
|
802
|
+
const { el, intersectionTrackerRef } = this;
|
|
802
803
|
/**
|
|
803
804
|
* If a scrollable element is hidden using `display: none`,
|
|
804
805
|
* it will not have a scroll height meaning we cannot scroll elements
|
|
@@ -824,14 +825,14 @@ export class Datetime {
|
|
|
824
825
|
this.el.classList.add('datetime-ready');
|
|
825
826
|
});
|
|
826
827
|
};
|
|
827
|
-
const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01 });
|
|
828
|
+
const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01, root: el });
|
|
828
829
|
/**
|
|
829
830
|
* Use raf to avoid a race condition between the component loading and
|
|
830
831
|
* its display animation starting (such as when shown in a modal). This
|
|
831
832
|
* could cause the datetime to start at a visibility of 0, erroneously
|
|
832
833
|
* triggering the `hiddenIO` observer below.
|
|
833
834
|
*/
|
|
834
|
-
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(
|
|
835
|
+
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
|
|
835
836
|
/**
|
|
836
837
|
* We need to clean up listeners when the datetime is hidden
|
|
837
838
|
* in a popover/modal so that we can properly scroll containers
|
|
@@ -857,8 +858,8 @@ export class Datetime {
|
|
|
857
858
|
this.el.classList.remove('datetime-ready');
|
|
858
859
|
});
|
|
859
860
|
};
|
|
860
|
-
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0 });
|
|
861
|
-
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(
|
|
861
|
+
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
|
|
862
|
+
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
|
|
862
863
|
/**
|
|
863
864
|
* Datetime uses Ionic components that emit
|
|
864
865
|
* ionFocus and ionBlur. These events are
|
|
@@ -1555,7 +1556,7 @@ export class Datetime {
|
|
|
1555
1556
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1556
1557
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1557
1558
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1558
|
-
return (h(Host, { key: '
|
|
1559
|
+
return (h(Host, { key: '79357d753d003539aaadbc30aa0ca7e2ab97415d', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1559
1560
|
[mode]: true,
|
|
1560
1561
|
['datetime-readonly']: readonly,
|
|
1561
1562
|
['datetime-disabled']: disabled,
|
|
@@ -1565,7 +1566,7 @@ export class Datetime {
|
|
|
1565
1566
|
[`datetime-size-${size}`]: true,
|
|
1566
1567
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1567
1568
|
[`datetime-grid`]: isGridStyle,
|
|
1568
|
-
})) }, this.renderDatetime(mode)));
|
|
1569
|
+
})) }, h("div", { key: '18b6631ffcf028c5062659e75be5d6712ac30402', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1569
1570
|
}
|
|
1570
1571
|
static get is() { return "ion-datetime"; }
|
|
1571
1572
|
static get encapsulation() { return "shadow"; }
|
|
@@ -337,7 +337,7 @@ export class DatetimeButton {
|
|
|
337
337
|
render() {
|
|
338
338
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
339
339
|
const mode = getIonMode(this);
|
|
340
|
-
return (h(Host, { key: '
|
|
340
|
+
return (h(Host, { key: 'f0ee6b859ad193be78cfc49d4d66373adfdbd618', class: createColorClasses(color, {
|
|
341
341
|
[mode]: true,
|
|
342
342
|
[`${selectedButton}-active`]: datetimeActive,
|
|
343
343
|
['datetime-button-disabled']: disabled,
|
|
@@ -47,12 +47,12 @@ export class Fab {
|
|
|
47
47
|
render() {
|
|
48
48
|
const { horizontal, vertical, edge } = this;
|
|
49
49
|
const mode = getIonMode(this);
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'a25aae31396546595b21a760ced22ee92d2379d6', class: {
|
|
51
51
|
[mode]: true,
|
|
52
52
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
53
53
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
54
54
|
'fab-edge': edge,
|
|
55
|
-
} }, h("slot", { key: '
|
|
55
|
+
} }, h("slot", { key: 'b01cc2572213bfa6c12111e32e2f7702e6d93621' })));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "ion-fab"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,7 @@ export class FabButton {
|
|
|
63
63
|
rel: this.rel,
|
|
64
64
|
target: this.target,
|
|
65
65
|
};
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'f342fbd54263de388bc49e54af61ce4aaaef1f2e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
67
67
|
[mode]: true,
|
|
68
68
|
'fab-button-in-list': inList,
|
|
69
69
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -74,7 +74,7 @@ export class FabButton {
|
|
|
74
74
|
'ion-activatable': true,
|
|
75
75
|
'ion-focusable': true,
|
|
76
76
|
[`fab-button-${size}`]: size !== undefined,
|
|
77
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
77
|
+
}) }, h(TagType, Object.assign({ key: 'cd29a22c7d8ea02ab3469ba8a5878fd1cb28286a' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '046a1254b728b43e2f4496ad96fff7bb8827df19', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '9b5c11105d2b7c37c82f7eea2264e29c5f939262', class: "button-inner" }, h("slot", { key: '283fe50749e5537bc7d21159c36c9eb3fbe45415' })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "ion-fab-button"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import AxeBuilder from "@axe-core/playwright";
|
|
5
5
|
import { expect } from "@playwright/test";
|
|
6
6
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
7
|
-
configs({ directions: ['ltr'],
|
|
7
|
+
configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
8
8
|
test.describe(title('fab-button: a11y'), () => {
|
|
9
9
|
test('should not have accessibility violations', async ({ page }) => {
|
|
10
10
|
await page.setContent(`
|
|
@@ -18,11 +18,11 @@ export class FabList {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const mode = getIonMode(this);
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '62d22c1907677360d91fc0386ab05379bcc9de8a', class: {
|
|
22
22
|
[mode]: true,
|
|
23
23
|
'fab-list-active': this.activated,
|
|
24
24
|
[`fab-list-side-${this.side}`]: true,
|
|
25
|
-
} }, h("slot", { key: '
|
|
25
|
+
} }, h("slot", { key: '4f9b6b9620c0ec79006663c5981140184129b7ce' })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "ion-fab-list"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ export class Footer {
|
|
|
80
80
|
const mode = getIonMode(this);
|
|
81
81
|
const tabs = this.el.closest('ion-tabs');
|
|
82
82
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: 'c6f57ef061d44a475dd2c3361e73199a1820e2ea', role: "contentinfo", class: {
|
|
84
84
|
[mode]: true,
|
|
85
85
|
// Used internally for styling
|
|
86
86
|
[`footer-${mode}`]: true,
|
|
@@ -88,7 +88,7 @@ export class Footer {
|
|
|
88
88
|
[`footer-translucent-${mode}`]: translucent,
|
|
89
89
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
90
90
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
91
|
-
} }, mode === 'ios' && translucent && h("div", { class: "footer-background" }), h("slot", { key: '
|
|
91
|
+
} }, mode === 'ios' && translucent && h("div", { class: "footer-background" }), h("slot", { key: '5f27edadd5c05c38d0ba9de0277bac675f5b36b3' })));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "ion-footer"; }
|
|
94
94
|
static get originalStyleUrls() {
|
|
@@ -9,10 +9,10 @@ export class Grid {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const mode = getIonMode(this);
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'f16254ea58e52b57b2de5cb33a7e84ad544361af', class: {
|
|
13
13
|
[mode]: true,
|
|
14
14
|
'grid-fixed': this.fixed,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '42f4eff0d912dc0112fa74d7de69f3a6a8e04a2e' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-grid"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -240,8 +240,11 @@ ion-header ion-toolbar:first-of-type {
|
|
|
240
240
|
* We use opacity: 0 to avoid a layout shift.
|
|
241
241
|
* We target both the attribute and the class in the event that the attribute
|
|
242
242
|
* is not reflected on the host in some frameworks.
|
|
243
|
+
*
|
|
244
|
+
* Both headers should be scoped to iOS mode otherwise an MD app that uses an
|
|
245
|
+
* iOS header may cause other MD headers to be unexpectedly hidden.
|
|
243
246
|
*/
|
|
244
|
-
ion-header:not(.header-collapse-main):has(~ ion-content ion-header[collapse=condense],
|
|
245
|
-
~ ion-content ion-header.header-collapse-condense) {
|
|
247
|
+
ion-header.header-ios:not(.header-collapse-main):has(~ ion-content ion-header.header-ios[collapse=condense],
|
|
248
|
+
~ ion-content ion-header.header-ios.header-collapse-condense) {
|
|
246
249
|
opacity: 0;
|
|
247
250
|
}
|
|
@@ -140,14 +140,14 @@ export class Header {
|
|
|
140
140
|
const collapse = this.collapse || 'none';
|
|
141
141
|
// banner role must be at top level, so remove role if inside a menu
|
|
142
142
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
143
|
-
return (h(Host, Object.assign({ key: '
|
|
143
|
+
return (h(Host, Object.assign({ key: '9f30ede40eaf89b3e0adbcd03e1d08d0d4ca762b', role: roleType, class: {
|
|
144
144
|
[mode]: true,
|
|
145
145
|
// Used internally for styling
|
|
146
146
|
[`header-${mode}`]: true,
|
|
147
147
|
[`header-translucent`]: this.translucent,
|
|
148
148
|
[`header-collapse-${collapse}`]: true,
|
|
149
149
|
[`header-translucent-${mode}`]: this.translucent,
|
|
150
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { class: "header-background" }), h("slot", { key: '
|
|
150
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { class: "header-background" }), h("slot", { key: '029aa484210e8dd5c5404a84c134d64a9100ba6e' })));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "ion-header"; }
|
|
153
153
|
static get originalStyleUrls() {
|
|
@@ -68,3 +68,80 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
|
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
+
/**
|
|
72
|
+
* This test only impacts MD applications
|
|
73
|
+
*/
|
|
74
|
+
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
75
|
+
test.describe(title('header: translucent'), () => {
|
|
76
|
+
test('should not hide MD headers when using a descendant iOS header in an MD app', async ({ page }) => {
|
|
77
|
+
test.info().annotations.push({
|
|
78
|
+
type: 'issue',
|
|
79
|
+
description: 'https://github.com/ionic-team/ionic-framework/issues/28867',
|
|
80
|
+
});
|
|
81
|
+
await page.setContent(`
|
|
82
|
+
<ion-header id="main-header">
|
|
83
|
+
<ion-toolbar>
|
|
84
|
+
<ion-title>Header</ion-title>
|
|
85
|
+
</ion-toolbar>
|
|
86
|
+
</ion-header>
|
|
87
|
+
<ion-content>
|
|
88
|
+
<ion-header collapse="condense">
|
|
89
|
+
<ion-toolbar>
|
|
90
|
+
<ion-title size="large">Header</ion-title>
|
|
91
|
+
</ion-toolbar>
|
|
92
|
+
</ion-header>
|
|
93
|
+
|
|
94
|
+
<ion-header mode="ios">
|
|
95
|
+
<ion-toolbar>
|
|
96
|
+
<ion-title>Welcome</ion-title>
|
|
97
|
+
</ion-toolbar>
|
|
98
|
+
</ion-header>
|
|
99
|
+
</ion-content>
|
|
100
|
+
`, config);
|
|
101
|
+
const header = page.locator('ion-header#main-header');
|
|
102
|
+
/**
|
|
103
|
+
* The existence of the iOS header in an MD app should not cause the main MD header
|
|
104
|
+
* to be hidden. We do not have toHaveVisible because the behavior that hides
|
|
105
|
+
* the header under correct circumstances does it using opacity: 0.
|
|
106
|
+
* Playwright considers an element with opacity: 0 to still be visible
|
|
107
|
+
* because it has a non-zero bounding box.
|
|
108
|
+
*/
|
|
109
|
+
await expect(header).toHaveScreenshot(screenshot('header-md-visibility-ios-descendant'));
|
|
110
|
+
});
|
|
111
|
+
test('should not hide MD headers when using a root iOS header in an MD app', async ({ page }) => {
|
|
112
|
+
test.info().annotations.push({
|
|
113
|
+
type: 'issue',
|
|
114
|
+
description: 'https://github.com/ionic-team/ionic-framework/issues/28867',
|
|
115
|
+
});
|
|
116
|
+
await page.setContent(`
|
|
117
|
+
<ion-header id="main-header" mode="ios">
|
|
118
|
+
<ion-toolbar>
|
|
119
|
+
<ion-title>Header</ion-title>
|
|
120
|
+
</ion-toolbar>
|
|
121
|
+
</ion-header>
|
|
122
|
+
<ion-content>
|
|
123
|
+
<ion-header collapse="condense">
|
|
124
|
+
<ion-toolbar>
|
|
125
|
+
<ion-title size="large">Header</ion-title>
|
|
126
|
+
</ion-toolbar>
|
|
127
|
+
</ion-header>
|
|
128
|
+
|
|
129
|
+
<ion-header>
|
|
130
|
+
<ion-toolbar>
|
|
131
|
+
<ion-title>Welcome</ion-title>
|
|
132
|
+
</ion-toolbar>
|
|
133
|
+
</ion-header>
|
|
134
|
+
</ion-content>
|
|
135
|
+
`, config);
|
|
136
|
+
const header = page.locator('ion-header#main-header');
|
|
137
|
+
/**
|
|
138
|
+
* The existence of the iOS header in an MD app should not cause the main MD header
|
|
139
|
+
* to be hidden. We do not have toHaveVisible because the behavior that hides
|
|
140
|
+
* the header under correct circumstances does it using opacity: 0.
|
|
141
|
+
* Playwright considers an element with opacity: 0 to still be visible
|
|
142
|
+
* because it has a non-zero bounding box.
|
|
143
|
+
*/
|
|
144
|
+
await expect(header).toHaveScreenshot(screenshot('header-md-visibility-ios-main'));
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
});
|
|
@@ -71,7 +71,7 @@ export class Img {
|
|
|
71
71
|
render() {
|
|
72
72
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
73
73
|
const { draggable } = inheritedAttributes;
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'fa0d0e73693f4d5454dde2397a333143ab00a145', class: getIonMode(this) }, h("img", { key: '70198693643ab6a33816c6e1b0ed23b368208fbb', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "ion-img"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,7 +167,7 @@ export class InfiniteScroll {
|
|
|
167
167
|
render() {
|
|
168
168
|
const mode = getIonMode(this);
|
|
169
169
|
const disabled = this.disabled;
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'be1a720fcf686dc48468de968d84ea58bfe0a06d', class: {
|
|
171
171
|
[mode]: true,
|
|
172
172
|
'infinite-scroll-loading': this.isLoading,
|
|
173
173
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -27,11 +27,11 @@ export class InfiniteScrollContent {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const mode = getIonMode(this);
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '44b11681f802fb0d1c565810f71f7672453e16ca', class: {
|
|
31
31
|
[mode]: true,
|
|
32
32
|
// Used internally for styling
|
|
33
33
|
[`infinite-scroll-content-${mode}`]: true,
|
|
34
|
-
} }, h("div", { key: '
|
|
34
|
+
} }, h("div", { key: 'd7e7d5beedf1e22a009e87790ca024b8f15c462b', class: "infinite-loading" }, this.loadingSpinner && (h("div", { class: "infinite-loading-spinner" }, h("ion-spinner", { name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-infinite-scroll-content"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -587,16 +587,25 @@
|
|
|
587
587
|
max-width: calc(100% / 0.75);
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
::slotted([slot=start]) {
|
|
590
|
+
::slotted([slot=start]:last-of-type) {
|
|
591
591
|
margin-inline-end: 16px;
|
|
592
592
|
margin-inline-start: 0;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
::slotted([slot=end]) {
|
|
595
|
+
::slotted([slot=end]:first-of-type) {
|
|
596
596
|
margin-inline-start: 16px;
|
|
597
597
|
margin-inline-end: 0;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
+
/**
|
|
601
|
+
* The input password toggle component should be hidden when the input is readonly/disabled
|
|
602
|
+
* because it is not possible to edit a password.
|
|
603
|
+
*/
|
|
604
|
+
:host([disabled]) ::slotted(ion-input-password-toggle),
|
|
605
|
+
:host([readonly]) ::slotted(ion-input-password-toggle) {
|
|
606
|
+
display: none;
|
|
607
|
+
}
|
|
608
|
+
|
|
600
609
|
/**
|
|
601
610
|
* Convert a font size to a dynamic font size.
|
|
602
611
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -117,6 +117,17 @@ export class Input {
|
|
|
117
117
|
*/
|
|
118
118
|
this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Whenever the type on the input changes we need
|
|
122
|
+
* to update the internal type prop on the password
|
|
123
|
+
* toggle so that that correct icon is shown.
|
|
124
|
+
*/
|
|
125
|
+
onTypeChange() {
|
|
126
|
+
const passwordToggle = this.el.querySelector('ion-input-password-toggle');
|
|
127
|
+
if (passwordToggle) {
|
|
128
|
+
passwordToggle.type = this.type;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
120
131
|
/**
|
|
121
132
|
* Update the native input element when the value changes
|
|
122
133
|
*/
|
|
@@ -151,6 +162,13 @@ export class Input {
|
|
|
151
162
|
}
|
|
152
163
|
componentDidLoad() {
|
|
153
164
|
this.originalIonInput = this.ionInput;
|
|
165
|
+
/**
|
|
166
|
+
* Set the type on the password toggle in the event that this input's
|
|
167
|
+
* type was set async and does not match the default type for the password toggle.
|
|
168
|
+
* This can happen when the type is bound using a JS framework binding syntax
|
|
169
|
+
* such as [type] in Angular.
|
|
170
|
+
*/
|
|
171
|
+
this.onTypeChange();
|
|
154
172
|
}
|
|
155
173
|
componentDidRender() {
|
|
156
174
|
var _a;
|
|
@@ -377,7 +395,7 @@ export class Input {
|
|
|
377
395
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
378
396
|
*/
|
|
379
397
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
380
|
-
return (h(Host, { key: '
|
|
398
|
+
return (h(Host, { key: 'f1007469471c9610950749d87f1aa8165cea4dbb', class: createColorClasses(this.color, {
|
|
381
399
|
[mode]: true,
|
|
382
400
|
'has-value': hasValue,
|
|
383
401
|
'has-focus': hasFocus,
|
|
@@ -388,14 +406,14 @@ export class Input {
|
|
|
388
406
|
'in-item': inItem,
|
|
389
407
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
390
408
|
'input-disabled': disabled,
|
|
391
|
-
}) }, h("label", { key: '
|
|
409
|
+
}) }, h("label", { key: '12a5a2a2b942e4d7420b7e10b98dc3f5b15c6e28', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '938381505753fbc842583215e32d74dd3a383742', class: "native-wrapper" }, h("slot", { key: '0e835fd6b94f7407696d4ab097a02c6e4b742fc9', name: "start" }), h("input", Object.assign({ key: '1835e2bbbdcaf8a80e3a7665536afb02d571bcb9', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
392
410
|
/**
|
|
393
411
|
* This prevents mobile browsers from
|
|
394
412
|
* blurring the input when the clear
|
|
395
413
|
* button is activated.
|
|
396
414
|
*/
|
|
397
415
|
ev.preventDefault();
|
|
398
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { "aria-hidden": "true", icon: mode === 'ios' ? closeCircle : closeSharp }))), h("slot", { key: '
|
|
416
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { "aria-hidden": "true", icon: mode === 'ios' ? closeCircle : closeSharp }))), h("slot", { key: 'bdcffc81c8d07c793a06d9880a02d7b94ddfff2e', name: "end" })), shouldRenderHighlight && h("div", { class: "input-highlight" })), this.renderBottomContent()));
|
|
399
417
|
}
|
|
400
418
|
static get is() { return "ion-input"; }
|
|
401
419
|
static get encapsulation() { return "scoped"; }
|
|
@@ -459,7 +477,7 @@ export class Input {
|
|
|
459
477
|
"mutable": false,
|
|
460
478
|
"complexType": {
|
|
461
479
|
"original": "AutocompleteTypes",
|
|
462
|
-
"resolved": "\"name\" | \"
|
|
480
|
+
"resolved": "\"name\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"email\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"url\" | \"photo\"",
|
|
463
481
|
"references": {
|
|
464
482
|
"AutocompleteTypes": {
|
|
465
483
|
"location": "import",
|
|
@@ -614,7 +632,7 @@ export class Input {
|
|
|
614
632
|
"text": "If `true`, the user cannot interact with the input."
|
|
615
633
|
},
|
|
616
634
|
"attribute": "disabled",
|
|
617
|
-
"reflect":
|
|
635
|
+
"reflect": true,
|
|
618
636
|
"defaultValue": "false"
|
|
619
637
|
},
|
|
620
638
|
"enterkeyhint": {
|
|
@@ -889,7 +907,7 @@ export class Input {
|
|
|
889
907
|
"text": "If `true`, the user cannot modify the value."
|
|
890
908
|
},
|
|
891
909
|
"attribute": "readonly",
|
|
892
|
-
"reflect":
|
|
910
|
+
"reflect": true,
|
|
893
911
|
"defaultValue": "false"
|
|
894
912
|
},
|
|
895
913
|
"required": {
|
|
@@ -1094,30 +1112,6 @@ export class Input {
|
|
|
1094
1112
|
}
|
|
1095
1113
|
}
|
|
1096
1114
|
}
|
|
1097
|
-
}, {
|
|
1098
|
-
"method": "ionStyle",
|
|
1099
|
-
"name": "ionStyle",
|
|
1100
|
-
"bubbles": true,
|
|
1101
|
-
"cancelable": true,
|
|
1102
|
-
"composed": true,
|
|
1103
|
-
"docs": {
|
|
1104
|
-
"tags": [{
|
|
1105
|
-
"name": "internal",
|
|
1106
|
-
"text": undefined
|
|
1107
|
-
}],
|
|
1108
|
-
"text": "Emitted when the styles change."
|
|
1109
|
-
},
|
|
1110
|
-
"complexType": {
|
|
1111
|
-
"original": "StyleEventDetail",
|
|
1112
|
-
"resolved": "StyleEventDetail",
|
|
1113
|
-
"references": {
|
|
1114
|
-
"StyleEventDetail": {
|
|
1115
|
-
"location": "import",
|
|
1116
|
-
"path": "../../interface",
|
|
1117
|
-
"id": "src/interface.d.ts::StyleEventDetail"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
1115
|
}];
|
|
1122
1116
|
}
|
|
1123
1117
|
static get methods() {
|
|
@@ -1167,6 +1161,9 @@ export class Input {
|
|
|
1167
1161
|
return [{
|
|
1168
1162
|
"propName": "debounce",
|
|
1169
1163
|
"methodName": "debounceChanged"
|
|
1164
|
+
}, {
|
|
1165
|
+
"propName": "type",
|
|
1166
|
+
"methodName": "onTypeChange"
|
|
1170
1167
|
}, {
|
|
1171
1168
|
"propName": "value",
|
|
1172
1169
|
"methodName": "valueChanged"
|
|
@@ -587,16 +587,25 @@
|
|
|
587
587
|
max-width: calc(100% / 0.75);
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
::slotted([slot=start]) {
|
|
590
|
+
::slotted([slot=start]:last-of-type) {
|
|
591
591
|
margin-inline-end: 16px;
|
|
592
592
|
margin-inline-start: 0;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
::slotted([slot=end]) {
|
|
595
|
+
::slotted([slot=end]:first-of-type) {
|
|
596
596
|
margin-inline-start: 16px;
|
|
597
597
|
margin-inline-end: 0;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
+
/**
|
|
601
|
+
* The input password toggle component should be hidden when the input is readonly/disabled
|
|
602
|
+
* because it is not possible to edit a password.
|
|
603
|
+
*/
|
|
604
|
+
:host([disabled]) ::slotted(ion-input-password-toggle),
|
|
605
|
+
:host([readonly]) ::slotted(ion-input-password-toggle) {
|
|
606
|
+
display: none;
|
|
607
|
+
}
|
|
608
|
+
|
|
600
609
|
/**
|
|
601
610
|
* Convert a font size to a dynamic font size.
|
|
602
611
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import AxeBuilder from "@axe-core/playwright";
|
|
5
5
|
import { expect } from "@playwright/test";
|
|
6
6
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
7
|
-
configs({ directions: ['ltr'],
|
|
7
|
+
configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
8
8
|
test.describe(title('input: a11y'), () => {
|
|
9
9
|
test('default layout should not have accessibility violations', async ({ page }) => {
|
|
10
10
|
await page.setContent(`
|
|
@@ -9,9 +9,13 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
9
9
|
await page.setContent(`
|
|
10
10
|
<ion-input label-placement="start" fill="solid" value="100" label="Weight" clear-input="true">
|
|
11
11
|
<ion-icon slot="start" name="barbell" aria-hidden="true"></ion-icon>
|
|
12
|
+
<ion-icon slot="start" name="heart" aria-hidden="true"></ion-icon>
|
|
12
13
|
<ion-button slot="end" aria-label="Show/hide password">
|
|
13
14
|
<ion-icon slot="icon-only" name="lock-closed" aria-hidden="true"></ion-icon>
|
|
14
15
|
</ion-button>
|
|
16
|
+
<ion-button slot="end">
|
|
17
|
+
<ion-icon slot="icon-only" name="trash" aria-hidden="true"></ion-icon>
|
|
18
|
+
</ion-button>
|
|
15
19
|
</ion-input>
|
|
16
20
|
`, config);
|
|
17
21
|
const input = page.locator('ion-input');
|
|
@@ -21,9 +25,13 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
21
25
|
await page.setContent(`
|
|
22
26
|
<ion-input label-placement="floating" fill="solid" value="100" label="Weight" clear-input="true">
|
|
23
27
|
<ion-icon slot="start" name="barbell" aria-hidden="true"></ion-icon>
|
|
28
|
+
<ion-icon slot="start" name="heart" aria-hidden="true"></ion-icon>
|
|
24
29
|
<ion-button slot="end" aria-label="Show/hide password">
|
|
25
30
|
<ion-icon slot="icon-only" name="lock-closed" aria-hidden="true"></ion-icon>
|
|
26
31
|
</ion-button>
|
|
32
|
+
<ion-button slot="end">
|
|
33
|
+
<ion-icon slot="icon-only" name="trash" aria-hidden="true"></ion-icon>
|
|
34
|
+
</ion-button>
|
|
27
35
|
</ion-input>
|
|
28
36
|
`, config);
|
|
29
37
|
const input = page.locator('ion-input');
|
|
File without changes
|