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
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { Host, h } from "@stencil/core";
|
|
5
|
+
import { printIonWarning } from "../../utils/logging/index";
|
|
6
|
+
import { createColorClasses } from "../../utils/theme";
|
|
7
|
+
import { eyeOff, eye } from "ionicons/icons";
|
|
8
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
9
|
+
/**
|
|
10
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
11
|
+
*/
|
|
12
|
+
export class InputPasswordToggle {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.togglePasswordVisibility = () => {
|
|
15
|
+
const { inputElRef } = this;
|
|
16
|
+
if (!inputElRef) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
inputElRef.type = inputElRef.type === 'text' ? 'password' : 'text';
|
|
20
|
+
};
|
|
21
|
+
this.color = undefined;
|
|
22
|
+
this.showIcon = undefined;
|
|
23
|
+
this.hideIcon = undefined;
|
|
24
|
+
this.type = 'password';
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Whenever the input type changes we need to re-run validation to ensure the password
|
|
28
|
+
* toggle is being used with the correct input type. If the application changes the type
|
|
29
|
+
* outside of this component we also need to re-render so the correct icon is shown.
|
|
30
|
+
*/
|
|
31
|
+
onTypeChange(newValue) {
|
|
32
|
+
if (newValue !== 'text' && newValue !== 'password') {
|
|
33
|
+
printIonWarning(`ion-input-password-toggle only supports inputs of type "text" or "password". Input of type "${newValue}" is not compatible.`, this.el);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
connectedCallback() {
|
|
38
|
+
const { el } = this;
|
|
39
|
+
const inputElRef = (this.inputElRef = el.closest('ion-input'));
|
|
40
|
+
if (!inputElRef) {
|
|
41
|
+
printIonWarning('No ancestor ion-input found for ion-input-password-toggle. This component must be slotted inside of an ion-input.', el);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Important: Set the type in connectedCallback because the default value
|
|
46
|
+
* of this.type may not always be accurate. Usually inputs have the "password" type
|
|
47
|
+
* but it is possible to have the input to initially have the "text" type. In that scenario
|
|
48
|
+
* the wrong icon will show briefly before switching to the correct icon. Setting the
|
|
49
|
+
* type here allows us to avoid that flicker.
|
|
50
|
+
*/
|
|
51
|
+
this.type = inputElRef.type;
|
|
52
|
+
}
|
|
53
|
+
disconnectedCallback() {
|
|
54
|
+
this.inputElRef = null;
|
|
55
|
+
}
|
|
56
|
+
render() {
|
|
57
|
+
var _a, _b;
|
|
58
|
+
const { color, type } = this;
|
|
59
|
+
const mode = getIonMode(this);
|
|
60
|
+
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
61
|
+
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
62
|
+
const isPasswordVisible = type === 'text';
|
|
63
|
+
return (h(Host, { key: '1cb075999e41c2fde3a3d6cafe6f37c9b5429299', class: createColorClasses(color, {
|
|
64
|
+
[mode]: true,
|
|
65
|
+
}) }, h("ion-button", { key: 'cfaaec221f530ecc475690b6508c2333e32ff609', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
66
|
+
/**
|
|
67
|
+
* This prevents mobile browsers from
|
|
68
|
+
* blurring the input when the password toggle
|
|
69
|
+
* button is activated.
|
|
70
|
+
*/
|
|
71
|
+
ev.preventDefault();
|
|
72
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: 'dc0fc5fe8df4df4c145e29b30e589f159aab9cd9', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
73
|
+
}
|
|
74
|
+
static get is() { return "ion-input-password-toggle"; }
|
|
75
|
+
static get encapsulation() { return "shadow"; }
|
|
76
|
+
static get originalStyleUrls() {
|
|
77
|
+
return {
|
|
78
|
+
"ios": ["input-password-toggle.scss"],
|
|
79
|
+
"md": ["input-password-toggle.scss"]
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
static get styleUrls() {
|
|
83
|
+
return {
|
|
84
|
+
"ios": ["input-password-toggle.css"],
|
|
85
|
+
"md": ["input-password-toggle.css"]
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
static get properties() {
|
|
89
|
+
return {
|
|
90
|
+
"color": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "Color",
|
|
95
|
+
"resolved": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
|
|
96
|
+
"references": {
|
|
97
|
+
"Color": {
|
|
98
|
+
"location": "import",
|
|
99
|
+
"path": "../../interface",
|
|
100
|
+
"id": "src/interface.d.ts::Color"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": false,
|
|
105
|
+
"optional": true,
|
|
106
|
+
"docs": {
|
|
107
|
+
"tags": [],
|
|
108
|
+
"text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
|
|
109
|
+
},
|
|
110
|
+
"attribute": "color",
|
|
111
|
+
"reflect": true
|
|
112
|
+
},
|
|
113
|
+
"showIcon": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "string",
|
|
118
|
+
"resolved": "string | undefined",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": true,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": "The icon that can be used to represent showing a password. If not set, the \"eye\" Ionicon will be used."
|
|
126
|
+
},
|
|
127
|
+
"attribute": "show-icon",
|
|
128
|
+
"reflect": false
|
|
129
|
+
},
|
|
130
|
+
"hideIcon": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"mutable": false,
|
|
133
|
+
"complexType": {
|
|
134
|
+
"original": "string",
|
|
135
|
+
"resolved": "string | undefined",
|
|
136
|
+
"references": {}
|
|
137
|
+
},
|
|
138
|
+
"required": false,
|
|
139
|
+
"optional": true,
|
|
140
|
+
"docs": {
|
|
141
|
+
"tags": [],
|
|
142
|
+
"text": "The icon that can be used to represent hiding a password. If not set, the \"eyeOff\" Ionicon will be used."
|
|
143
|
+
},
|
|
144
|
+
"attribute": "hide-icon",
|
|
145
|
+
"reflect": false
|
|
146
|
+
},
|
|
147
|
+
"type": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"mutable": true,
|
|
150
|
+
"complexType": {
|
|
151
|
+
"original": "TextFieldTypes",
|
|
152
|
+
"resolved": "\"date\" | \"datetime-local\" | \"email\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"time\" | \"url\" | \"week\"",
|
|
153
|
+
"references": {
|
|
154
|
+
"TextFieldTypes": {
|
|
155
|
+
"location": "import",
|
|
156
|
+
"path": "../../interface",
|
|
157
|
+
"id": "src/interface.d.ts::TextFieldTypes"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [{
|
|
165
|
+
"name": "internal",
|
|
166
|
+
"text": undefined
|
|
167
|
+
}],
|
|
168
|
+
"text": ""
|
|
169
|
+
},
|
|
170
|
+
"attribute": "type",
|
|
171
|
+
"reflect": false,
|
|
172
|
+
"defaultValue": "'password'"
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
static get elementRef() { return "el"; }
|
|
177
|
+
static get watchers() {
|
|
178
|
+
return [{
|
|
179
|
+
"propName": "type",
|
|
180
|
+
"methodName": "onTypeChange"
|
|
181
|
+
}];
|
|
182
|
+
}
|
|
183
|
+
}
|
package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import AxeBuilder from "@axe-core/playwright";
|
|
5
|
+
import { expect } from "@playwright/test";
|
|
6
|
+
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
7
|
+
configs({ directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
8
|
+
test.describe(title('input password toggle: a11y'), () => {
|
|
9
|
+
test('should not have accessibility violations', async ({ page }) => {
|
|
10
|
+
await page.setContent(`
|
|
11
|
+
<main>
|
|
12
|
+
<ion-input label="input" type="password">
|
|
13
|
+
<ion-input-password-toggle slot="end"></ion-input-password-toggle>
|
|
14
|
+
</ion-input>
|
|
15
|
+
</main>
|
|
16
|
+
`, config);
|
|
17
|
+
const results = await new AxeBuilder({ page }).analyze();
|
|
18
|
+
expect(results.violations).toEqual([]);
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
});
|
package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
|
+
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
+
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
|
+
test.describe(title('input password toggle: states'), () => {
|
|
8
|
+
test('should be hidden when inside of a readonly input', async ({ page }) => {
|
|
9
|
+
await page.setContent(`
|
|
10
|
+
<ion-input label="input" type="password" readonly="true">
|
|
11
|
+
<ion-input-password-toggle slot="end"></ion-input-password-toggle>
|
|
12
|
+
</ion-input>
|
|
13
|
+
`, config);
|
|
14
|
+
const inputPasswordToggle = page.locator('ion-input-password-toggle');
|
|
15
|
+
await expect(inputPasswordToggle).toBeHidden();
|
|
16
|
+
});
|
|
17
|
+
test('should be hidden when inside of a disabled input', async ({ page }) => {
|
|
18
|
+
await page.setContent(`
|
|
19
|
+
<ion-input label="input" type="password" disabled="true">
|
|
20
|
+
<ion-input-password-toggle slot="end"></ion-input-password-toggle>
|
|
21
|
+
</ion-input>
|
|
22
|
+
`, config);
|
|
23
|
+
const inputPasswordToggle = page.locator('ion-input-password-toggle');
|
|
24
|
+
await expect(inputPasswordToggle).toBeHidden();
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
test.describe(title('input password toggle: rendering'), () => {
|
|
28
|
+
test('should not have visual regressions', async ({ page }) => {
|
|
29
|
+
await page.setContent(`
|
|
30
|
+
<ion-input label="input" type="password">
|
|
31
|
+
<ion-input-password-toggle slot="end"></ion-input-password-toggle>
|
|
32
|
+
</ion-input>
|
|
33
|
+
`, config);
|
|
34
|
+
const inputPasswordToggle = page.locator('ion-input-password-toggle');
|
|
35
|
+
await expect(inputPasswordToggle).toHaveScreenshot(screenshot('input-password-toggle'));
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
6
|
+
import { Input } from "../../input/input";
|
|
7
|
+
import { InputPasswordToggle } from "../input-password-toggle";
|
|
8
|
+
import { Button } from "../../button/button";
|
|
9
|
+
import { initialize } from "../../../global/ionic-global";
|
|
10
|
+
describe('input password toggle', () => {
|
|
11
|
+
it('should toggle input type when clicked', async () => {
|
|
12
|
+
const page = await newSpecPage({
|
|
13
|
+
components: [Input, InputPasswordToggle, Button],
|
|
14
|
+
template: () => (h("ion-input", { type: "password" }, h("ion-input-password-toggle", { slot: "end" }))),
|
|
15
|
+
});
|
|
16
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
17
|
+
const button = inputPasswordToggle.shadowRoot.querySelector('ion-button');
|
|
18
|
+
const input = page.body.querySelector('ion-input');
|
|
19
|
+
expect(input.type).toBe('password');
|
|
20
|
+
button.click();
|
|
21
|
+
await page.waitForChanges();
|
|
22
|
+
expect(input.type).toBe('text');
|
|
23
|
+
button.click();
|
|
24
|
+
await page.waitForChanges();
|
|
25
|
+
expect(input.type).toBe('password');
|
|
26
|
+
});
|
|
27
|
+
it('should render custom icons', async () => {
|
|
28
|
+
const page = await newSpecPage({
|
|
29
|
+
components: [Input, InputPasswordToggle, Button],
|
|
30
|
+
template: () => (h("ion-input", { type: "password" }, h("ion-input-password-toggle", { showIcon: "show", hideIcon: "hide", slot: "end" }))),
|
|
31
|
+
});
|
|
32
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
33
|
+
const button = inputPasswordToggle.shadowRoot.querySelector('ion-button');
|
|
34
|
+
const icon = inputPasswordToggle.shadowRoot.querySelector('ion-icon');
|
|
35
|
+
// Grab the attribute to test since we are not actually passing in a valid SVG
|
|
36
|
+
expect(icon.getAttribute('icon')).toBe('show');
|
|
37
|
+
button.click();
|
|
38
|
+
await page.waitForChanges();
|
|
39
|
+
expect(icon.getAttribute('icon')).toBe('hide');
|
|
40
|
+
});
|
|
41
|
+
it('changing the type on the input should update the icon used in password toggle', async () => {
|
|
42
|
+
const page = await newSpecPage({
|
|
43
|
+
components: [Input, InputPasswordToggle, Button],
|
|
44
|
+
template: () => (h("ion-input", { type: "password" }, h("ion-input-password-toggle", { showIcon: "show", hideIcon: "hide", slot: "end" }))),
|
|
45
|
+
});
|
|
46
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
47
|
+
const input = page.body.querySelector('ion-input');
|
|
48
|
+
const icon = inputPasswordToggle.shadowRoot.querySelector('ion-icon');
|
|
49
|
+
// Grab the attribute to test since we are not actually passing in a valid SVG
|
|
50
|
+
expect(icon.getAttribute('icon')).toBe('show');
|
|
51
|
+
input.type = 'text';
|
|
52
|
+
await page.waitForChanges();
|
|
53
|
+
expect(icon.getAttribute('icon')).toBe('hide');
|
|
54
|
+
input.type = 'password';
|
|
55
|
+
await page.waitForChanges();
|
|
56
|
+
expect(icon.getAttribute('icon')).toBe('show');
|
|
57
|
+
});
|
|
58
|
+
it('should inherit the mode and color to internal ionic components', async () => {
|
|
59
|
+
/**
|
|
60
|
+
* This initialize script tells Stencil how to determine the mode on components.
|
|
61
|
+
* This is required for any getIonMode internal logic to function properly in spec tests.
|
|
62
|
+
*/
|
|
63
|
+
initialize();
|
|
64
|
+
const page = await newSpecPage({
|
|
65
|
+
components: [Input, InputPasswordToggle, Button],
|
|
66
|
+
template: () => (h("ion-input", { type: "password", color: "primary" }, h("ion-input-password-toggle", { slot: "end", mode: "ios", color: "danger" }))),
|
|
67
|
+
});
|
|
68
|
+
const inputPasswordToggle = page.body.querySelector('ion-input-password-toggle');
|
|
69
|
+
const button = inputPasswordToggle.shadowRoot.querySelector('ion-button');
|
|
70
|
+
await page.waitForChanges();
|
|
71
|
+
// mode is a virtual prop so we need to access it as an attribute
|
|
72
|
+
expect(button.getAttribute('mode')).toBe('ios');
|
|
73
|
+
// color is an actual prop so we can access the element property
|
|
74
|
+
expect(button.color).toBe('danger');
|
|
75
|
+
});
|
|
76
|
+
});
|
|
@@ -18,12 +18,28 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
|
-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
21
|
+
configs({ directions: ['ltr'], palettes: ['dark'] }).forEach(({ title, screenshot, config }) => {
|
|
22
22
|
test.describe(title('item: buttons dark'), () => {
|
|
23
23
|
test('should not have visual regressions in dark', async ({ page }) => {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
test.info().annotations.push({
|
|
25
|
+
type: 'issue',
|
|
26
|
+
description: 'https://github.com/ionic-team/ionic-framework/issues/27130',
|
|
27
|
+
});
|
|
28
|
+
await page.setContent(`
|
|
29
|
+
<ion-list>
|
|
30
|
+
<ion-item button="true">
|
|
31
|
+
<ion-label>Button Item</ion-label>
|
|
32
|
+
</ion-item>
|
|
33
|
+
<ion-item button="true" class="ion-activated">
|
|
34
|
+
<ion-label>Activated Button Item</ion-label>
|
|
35
|
+
</ion-item>
|
|
36
|
+
<ion-item button="true" class="ion-focused">
|
|
37
|
+
<ion-label>Focused Button Item</ion-label>
|
|
38
|
+
</ion-item>
|
|
39
|
+
</ion-list>
|
|
40
|
+
`, config);
|
|
41
|
+
const list = page.locator('ion-list');
|
|
42
|
+
await expect(list).toHaveScreenshot(screenshot(`item-buttons-dark-diff`));
|
|
27
43
|
});
|
|
28
44
|
});
|
|
29
45
|
});
|
|
@@ -18,11 +18,11 @@ export class ItemDivider {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const mode = getIonMode(this);
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '18d1b78568247bfbf0b0274971b752ace7531f58', class: createColorClasses(this.color, {
|
|
22
22
|
[mode]: true,
|
|
23
23
|
'item-divider-sticky': this.sticky,
|
|
24
24
|
item: true,
|
|
25
|
-
}) }, h("slot", { key: '
|
|
25
|
+
}) }, h("slot", { key: 'cbf5fe1a9f4233a303d2366d1fc032d7c445f5c7', name: "start" }), h("div", { key: 'ca2608689325a350b23eb026053dd588ea3004e9', class: "item-divider-inner" }, h("div", { key: '00af1d58d5fc7995754a5266534cdf989a3294eb', class: "item-divider-wrapper" }, h("slot", { key: 'bfa2547fe8de49dcfbfccaeb46736182e514ffbc' })), h("slot", { key: '650dd1153d211eb992e69ff7e98c381cf0555e25', name: "end" }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "ion-item-divider"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
6
6
|
export class ItemGroup {
|
|
7
7
|
render() {
|
|
8
8
|
const mode = getIonMode(this);
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '2443d9e64c1867a9582a2965ed9ac78263965d70', role: "group", class: {
|
|
10
10
|
[mode]: true,
|
|
11
11
|
// Used internally for styling
|
|
12
12
|
[`item-group-${mode}`]: true,
|
|
@@ -44,12 +44,12 @@ export class ItemOption {
|
|
|
44
44
|
href: this.href,
|
|
45
45
|
target: this.target,
|
|
46
46
|
};
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '85fe8f529ab0673f1ddba299473690590a1bca88', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
48
48
|
[mode]: true,
|
|
49
49
|
'item-option-disabled': disabled,
|
|
50
50
|
'item-option-expandable': expandable,
|
|
51
51
|
'ion-activatable': true,
|
|
52
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
52
|
+
}) }, h(TagType, Object.assign({ key: 'cde9bca980cb5589204017d80483baab0996586e' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: 'e2b7886b53b0b85d81fbfd9209c2989673cdb863', class: "button-inner" }, h("slot", { key: 'eaf089857ff0a22d3a9c12574596002e32a28c75', name: "top" }), h("div", { key: '12f5d46fe5b8b5d2a5d2bd9e4782376c5af86f1c', class: "horizontal-wrapper" }, h("slot", { key: 'ba6d89b7c7f9470f73e17808f90d578fbcceba48', name: "start" }), h("slot", { key: '22ad963dd37ae40c03a5723c3e3b05970f40d871', name: "icon-only" }), h("slot", { key: 'a1596a1961b5757828fafaa9edf9da3381482ff3' }), h("slot", { key: 'ad0d2b50de279a712e18985ce9aceda7b5d45712', name: "end" })), h("slot", { key: '2940933c947f7e2d9875f0fb980aff392d5ea7fa', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "ion-item-option"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class ItemOptions {
|
|
|
17
17
|
render() {
|
|
18
18
|
const mode = getIonMode(this);
|
|
19
19
|
const isEnd = isEndSide(this.side);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'ac0cec6a2ea83c9633c10bce379ffdcc99221b52', class: {
|
|
21
21
|
[mode]: true,
|
|
22
22
|
// Used internally for styling
|
|
23
23
|
[`item-options-${mode}`]: true,
|
|
@@ -386,7 +386,7 @@ export class ItemSliding {
|
|
|
386
386
|
}
|
|
387
387
|
render() {
|
|
388
388
|
const mode = getIonMode(this);
|
|
389
|
-
return (h(Host, { key: '
|
|
389
|
+
return (h(Host, { key: 'ae9da267d130e2875b2d854952b70daa739effd8', class: {
|
|
390
390
|
[mode]: true,
|
|
391
391
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
392
392
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -5,7 +5,7 @@ import AxeBuilder from "@axe-core/playwright";
|
|
|
5
5
|
import { expect } from "@playwright/test";
|
|
6
6
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
7
7
|
import { testSlidingItem } from "../test.utils";
|
|
8
|
-
configs({ directions: ['ltr'],
|
|
8
|
+
configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
9
9
|
test.describe(title('item-sliding: a11y for ion-color()'), () => {
|
|
10
10
|
test('should not have accessibility violations', async ({ page }) => {
|
|
11
11
|
await page.setContent(`
|
|
@@ -55,13 +55,13 @@ export class Label {
|
|
|
55
55
|
render() {
|
|
56
56
|
const position = this.position;
|
|
57
57
|
const mode = getIonMode(this);
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '6820fe45a0aa73dca665a43f588f952e94c194c7', class: createColorClasses(this.color, {
|
|
59
59
|
[mode]: true,
|
|
60
60
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
61
61
|
[`label-${position}`]: position !== undefined,
|
|
62
62
|
[`label-no-animate`]: this.noAnimate,
|
|
63
63
|
'label-rtl': document.dir === 'rtl',
|
|
64
|
-
}) }, h("slot", { key: '
|
|
64
|
+
}) }, h("slot", { key: '79815d03fbfc141573f69eb037592837ca3428ce' })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "ion-label"; }
|
|
67
67
|
static get encapsulation() { return "scoped"; }
|
|
@@ -65,7 +65,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
|
-
configs({ directions: ['ltr'], modes: ['md'],
|
|
68
|
+
configs({ directions: ['ltr'], modes: ['md'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
69
69
|
test.describe(title('label: a11y for ion-color()'), () => {
|
|
70
70
|
test('should not have accessibility violations when focused', async ({ page }) => {
|
|
71
71
|
/**
|
|
@@ -27,7 +27,7 @@ export class List {
|
|
|
27
27
|
render() {
|
|
28
28
|
const mode = getIonMode(this);
|
|
29
29
|
const { lines, inset } = this;
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '9a0eab31e53ae22dbfa7aa58d779d3976797ea08', role: "list", class: {
|
|
31
31
|
[mode]: true,
|
|
32
32
|
// Used internally for styling
|
|
33
33
|
[`list-${mode}`]: true,
|
|
@@ -15,10 +15,10 @@ export class ListHeader {
|
|
|
15
15
|
render() {
|
|
16
16
|
const { lines } = this;
|
|
17
17
|
const mode = getIonMode(this);
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '8788351ca44861f264661da2412d6ce7906126bd', class: createColorClasses(this.color, {
|
|
19
19
|
[mode]: true,
|
|
20
20
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
21
|
-
}) }, h("div", { key: '
|
|
21
|
+
}) }, h("div", { key: '8801cb2fdddb2dab0c649aef1ffbac8f0ba9fbe0', class: "list-header-inner" }, h("slot", { key: '7fc87318333b7ee0c3eee91abc64a9275ad43a26' }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-list-header"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,9 +158,9 @@ export class Loading {
|
|
|
158
158
|
* Otherwise, don't set aria-labelledby.
|
|
159
159
|
*/
|
|
160
160
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
161
|
-
return (h(Host, Object.assign({ key: '
|
|
161
|
+
return (h(Host, Object.assign({ key: '255c2d52a0788769ca8ac027eababc903f525d0e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
162
162
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
163
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
163
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'd3a70d4e67a6578b01a82f97cb54f79342e7fd62', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '9641470dc2f759e674cd176662c12161bf22e078', tabindex: "0" }), h("div", { key: 'a1b986633eff28e8da49eec08dfb27acab63a88e', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { class: "loading-spinner" }, h("ion-spinner", { name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'ab8a43e8d71756be287f92961ebdc0bbe2d1882b', tabindex: "0" })));
|
|
164
164
|
}
|
|
165
165
|
static get is() { return "ion-loading"; }
|
|
166
166
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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({ modes: ['ios'], directions: ['ltr'],
|
|
7
|
+
configs({ modes: ['ios'], directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
8
8
|
test.describe(title('loading: a11y'), () => {
|
|
9
9
|
test('should set aria-labelledby with a message', async ({ page }) => {
|
|
10
10
|
await page.setContent(`
|
|
@@ -586,14 +586,14 @@ export class Menu {
|
|
|
586
586
|
* the ionBackButton listener in the menu controller
|
|
587
587
|
* will handle closing the menu when Escape is pressed.
|
|
588
588
|
*/
|
|
589
|
-
return (h(Host, { key: '
|
|
589
|
+
return (h(Host, { key: 'f5f151ca5bf4963c0300656327bb9c38bc7869fb', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
590
590
|
[mode]: true,
|
|
591
591
|
[`menu-type-${type}`]: true,
|
|
592
592
|
'menu-enabled': !disabled,
|
|
593
593
|
[`menu-side-${side}`]: true,
|
|
594
594
|
'menu-pane-visible': isPaneVisible,
|
|
595
595
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
596
|
-
} }, h("div", { key: '
|
|
596
|
+
} }, h("div", { key: '39ddd64f884cc667e45f99a2922077d87f209205', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '1ccce2c24ec0dfc81a34580c8be60c69c68d2d2d' })), h("ion-backdrop", { key: 'cf2bdf7f4171a4ada3cb55dd15f6b921b626a347', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
597
597
|
}
|
|
598
598
|
static get is() { return "ion-menu"; }
|
|
599
599
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class MenuButton {
|
|
|
46
46
|
type: this.type,
|
|
47
47
|
};
|
|
48
48
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '1588897aeaefa91e13ed15927f2eeaebc01e8f18', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
50
50
|
[mode]: true,
|
|
51
51
|
button: true, // ion-buttons target .button
|
|
52
52
|
'menu-button-hidden': hidden,
|
|
@@ -55,7 +55,7 @@ export class MenuButton {
|
|
|
55
55
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
56
56
|
'ion-activatable': true,
|
|
57
57
|
'ion-focusable': true,
|
|
58
|
-
}) }, h("button", Object.assign({ key: '
|
|
58
|
+
}) }, h("button", Object.assign({ key: 'cb4e5b3d2095e15a53fa24ac65209162ec635476' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '1c2f499b40e8b9b18e3cb0ed28bbcca01e6d777f', class: "button-inner" }, h("slot", { key: 'df2f969098b5779f54c2d51b4816c7b78b45c860' }, h("ion-icon", { key: 'd093d7377c7f1a5a47b3cc319b36e5087421cf4c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-menu-button"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ import { configs, test } from "../../../../utils/test/playwright/index";
|
|
|
7
7
|
/**
|
|
8
8
|
* Only ios mode uses ion-color() for the menu button
|
|
9
9
|
*/
|
|
10
|
-
configs({ directions: ['ltr'], modes: ['ios'],
|
|
10
|
+
configs({ directions: ['ltr'], modes: ['ios'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
11
11
|
test.describe(title('menu-button: a11y for ion-color()'), () => {
|
|
12
12
|
test('should not have accessibility violations', async ({ page }) => {
|
|
13
13
|
await page.setContent(`
|
|
@@ -26,10 +26,10 @@ export class MenuToggle {
|
|
|
26
26
|
render() {
|
|
27
27
|
const mode = getIonMode(this);
|
|
28
28
|
const hidden = this.autoHide && !this.visible;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '63bcdda9e9917133893d92284b9a91dfe38596a9', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
30
30
|
[mode]: true,
|
|
31
31
|
'menu-toggle-hidden': hidden,
|
|
32
|
-
} }, h("slot", { key: '
|
|
32
|
+
} }, h("slot", { key: 'a3ecc57b11c04b2f9911e5703ea0c6f66515b2f2' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-menu-toggle"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -562,9 +562,9 @@ export class Modal {
|
|
|
562
562
|
const mode = getIonMode(this);
|
|
563
563
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
564
564
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
565
|
-
return (h(Host, Object.assign({ key: '
|
|
565
|
+
return (h(Host, Object.assign({ key: '18053756559601f785776196d9dd269f8250c813', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
566
566
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
567
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
567
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: 'c080204fb09a67046d1986db28ccb7a1c8f0704d', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { class: "modal-shadow" }), h("div", Object.assign({ key: '1988ad86ef92108ad4c980ee6d98f280e368dee4',
|
|
568
568
|
/*
|
|
569
569
|
role and aria-modal must be used on the
|
|
570
570
|
same element. They must also be set inside the
|
|
@@ -573,7 +573,7 @@ export class Modal {
|
|
|
573
573
|
*/
|
|
574
574
|
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { class: "modal-handle",
|
|
575
575
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
576
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
576
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '321e79f29eba3faab323d17ae575300e25fc0c51' }))));
|
|
577
577
|
}
|
|
578
578
|
static get is() { return "ion-modal"; }
|
|
579
579
|
static get encapsulation() { return "shadow"; }
|
|
@@ -830,7 +830,7 @@ export class Nav {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
render() {
|
|
833
|
-
return h("slot", { key: '
|
|
833
|
+
return h("slot", { key: '2cb1a430d8d29b0f54b1ec80f98e4b82b6c8cc0a' });
|
|
834
834
|
}
|
|
835
835
|
static get is() { return "ion-nav"; }
|
|
836
836
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class NavLink {
|
|
|
14
14
|
this.routerAnimation = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return h(Host, { key: '
|
|
17
|
+
return h(Host, { key: 'e4aebea5eb131852acea407afb84597df71be4a4', onClick: this.onClick });
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-nav-link"; }
|
|
20
20
|
static get properties() {
|