voyager-ionic-core 8.0.0-beta.1 → 8.0.0-beta.3
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/action-sheet.js +3 -3
- package/components/alert.js +2 -2
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +3 -3
- package/components/checkbox.js +3 -3
- package/components/data.js +23 -38
- package/components/hardware-back-button.js +3 -3
- package/components/helpers.js +1 -54
- package/components/index9.js +1 -1
- package/components/input.utils.js +12 -0
- package/components/ion-app.js +4 -4
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +2 -2
- package/components/ion-breadcrumbs.js +2 -2
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-content.js +3 -3
- package/components/ion-datetime-button.js +11 -10
- package/components/ion-datetime.js +75 -12
- 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.js +6 -6
- 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 +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +3 -3
- 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 +43 -1
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +137 -45
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- 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 +34 -5
- 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 +27 -33
- 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 +5 -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 +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/item.js +11 -92
- package/components/label.js +5 -5
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +61 -19
- 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 +13 -19
- 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-4ad55058.js → animation-58ecfe20.js} +1 -1
- package/dist/cjs/{app-globals-4d26cb5a.js → app-globals-e132c781.js} +1 -1
- package/dist/cjs/{button-active-e447f58b.js → button-active-60ecf64d.js} +1 -1
- package/dist/cjs/{data-e2bf21de.js → data-21dc0f81.js} +22 -39
- package/dist/cjs/{framework-delegate-53817ef1.js → framework-delegate-df3a2b04.js} +1 -1
- package/dist/cjs/{hardware-back-button-4cb049f1.js → hardware-back-button-1c67a5a2.js} +5 -5
- package/dist/cjs/{helpers-b71ca811.js → helpers-71097d9c.js} +0 -54
- package/dist/cjs/{index-92bb95d6.js → index-14ae0c27.js} +4 -4
- package/dist/cjs/{index-bbc5b1f7.js → index-289297dc.js} +4 -4
- package/dist/cjs/{index-ea266398.js → index-2d21d526.js} +441 -12
- package/dist/cjs/{index-347883f6.js → index-7479ea5a.js} +1 -1
- package/dist/cjs/{index-7574e3d2.js → index-a91a3e24.js} +1 -1
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-679d87bc.js → input-shims-77b14f24.js} +2 -2
- package/dist/cjs/{input.utils-5175aea1.js → input.utils-ca74d73a.js} +13 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -11
- package/dist/cjs/ion-alert.cjs.entry.js +10 -10
- package/dist/cjs/ion-app_8.cjs.entry.js +30 -30
- package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/ion-chip.cjs.entry.js +4 -4
- package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -13
- package/dist/cjs/ion-datetime_3.cjs.entry.js +83 -23
- package/dist/cjs/ion-fab_3.cjs.entry.js +9 -9
- 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.cjs.entry.js +10 -10
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +23 -92
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
- 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 +11 -7
- 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 +140 -48
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
- 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 +31 -7
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +17 -17
- 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 -9
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
- package/dist/cjs/{ionic-global-59aa7eb7.js → ionic-global-5762eca9.js} +1 -1
- package/dist/cjs/ionic.cjs.js +28 -5
- package/dist/cjs/{ios.transition-997fe325.js → ios.transition-8e0ca8ed.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-2b76c2c6.js → md.transition-5d0f134b.js} +4 -4
- package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-0042ad49.js} +1 -1
- package/dist/cjs/{overlays-3d02b54f.js → overlays-30b83581.js} +64 -22
- package/dist/cjs/{status-tap-3761c2d4.js → status-tap-dc3b8fda.js} +3 -3
- package/dist/cjs/{swipe-back-5b71fc62.js → swipe-back-49825f1f.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-sheet/action-sheet.js +3 -3
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -2
- 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/app/app.js +4 -4
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +1 -1
- package/dist/collection/components/backdrop/backdrop.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/test/a11y/button.e2e.js +2 -2
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/checkbox.spec.js +12 -0
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +56 -12
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +77 -0
- package/dist/collection/components/datetime/test/format.spec.js +65 -15
- package/dist/collection/components/datetime/utils/format.js +24 -37
- package/dist/collection/components/datetime/utils/validate.js +45 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -10
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +65 -0
- 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 +4 -2
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/input.md.css +6 -4
- package/dist/collection/components/input/test/a11y/input.e2e.js +1 -1
- package/dist/collection/components/input/test/highlight/input.e2e.js +144 -0
- package/dist/collection/components/input/test/slot/input.e2e.js +8 -0
- package/dist/collection/components/item/item.ios.css +5 -197
- package/dist/collection/components/item/item.js +4 -166
- package/dist/collection/components/item/item.md.css +7 -360
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -5
- package/dist/collection/components/item/test/buttons/item.e2e.js +20 -4
- package/dist/collection/components/item/test/item.spec.js +1 -1
- 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.ios.css +0 -5
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/label.md.css +0 -75
- 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 +12 -6
- 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 +137 -45
- 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/range/test/range-events.e2e.js +27 -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 +84 -5
- package/dist/collection/components/searchbar/test/searchbar.spec.js +20 -2
- 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 +7 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/select/select.md.css +6 -29
- package/dist/collection/components/select/test/a11y/select.e2e.js +1 -1
- package/dist/collection/components/select/test/highlight/select.e2e.js +88 -4
- 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/highlight/textarea.e2e.js +144 -0
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +8 -0
- package/dist/collection/components/textarea/textarea.ios.css +4 -22
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/textarea/textarea.md.css +6 -17
- 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/forms/index.js +0 -1
- package/dist/collection/utils/hardware-back-button.js +2 -2
- package/dist/collection/utils/helpers.js +0 -53
- package/dist/collection/utils/overlays.js +61 -19
- package/dist/collection/utils/slot-mutation-controller.js +12 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +53 -0
- 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 +159 -190
- package/dist/esm/{animation-a4acf150.js → animation-6a3c0abb.js} +1 -1
- package/dist/esm/{app-globals-cfb6787b.js → app-globals-80842d68.js} +1 -1
- package/dist/esm/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
- package/dist/esm/{data-691286f1.js → data-ae11fd43.js} +23 -38
- package/dist/esm/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
- package/dist/esm/{hardware-back-button-3a14f99e.js → hardware-back-button-fb295e3a.js} +5 -5
- package/dist/esm/{helpers-ae74b3c9.js → helpers-eab4f597.js} +1 -54
- package/dist/esm/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm/{index-5847f4a9.js → index-136e99c8.js} +4 -4
- package/dist/esm/{index-9b6d6df3.js → index-5d6a0317.js} +441 -13
- package/dist/esm/{index-03086279.js → index-95a691d4.js} +4 -4
- package/dist/esm/{index-1f563746.js → index-fa221975.js} +1 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-56c1f603.js → input-shims-196afa11.js} +2 -2
- package/dist/esm/{input.utils-482fc893.js → input.utils-426cc674.js} +13 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -11
- package/dist/esm/ion-alert.entry.js +10 -10
- package/dist/esm/ion-app_8.entry.js +30 -30
- package/dist/esm/ion-avatar_3.entry.js +6 -6
- package/dist/esm/ion-back-button.entry.js +5 -5
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +7 -7
- package/dist/esm/ion-button_2.entry.js +5 -5
- package/dist/esm/ion-card_5.entry.js +11 -11
- package/dist/esm/ion-checkbox.entry.js +6 -6
- package/dist/esm/ion-chip.entry.js +4 -4
- package/dist/esm/ion-col_3.entry.js +7 -7
- package/dist/esm/ion-datetime-button.entry.js +14 -13
- package/dist/esm/ion-datetime_3.entry.js +83 -23
- package/dist/esm/ion-fab_3.entry.js +9 -9
- 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.entry.js +10 -10
- package/dist/esm/ion-item-option_3.entry.js +8 -8
- package/dist/esm/ion-item_8.entry.js +23 -92
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +14 -14
- 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 +11 -7
- 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 +140 -48
- package/dist/esm/ion-refresher_2.entry.js +7 -7
- package/dist/esm/ion-reorder_2.entry.js +6 -6
- 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 +31 -7
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +17 -17
- 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 -9
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +6 -6
- package/dist/esm/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm/ionic.js +29 -6
- package/dist/esm/{ios.transition-a097dbf5.js → ios.transition-d1c8eea2.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-b4170ef7.js → md.transition-0d2de76d.js} +4 -4
- package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm/{overlays-4ba3b255.js → overlays-d41f74ac.js} +64 -22
- package/dist/esm/{status-tap-7a12f017.js → status-tap-45595148.js} +3 -3
- package/dist/esm/{swipe-back-ae14449a.js → swipe-back-5aa5feeb.js} +1 -1
- package/dist/esm-es5/{animation-a4acf150.js → animation-6a3c0abb.js} +1 -1
- package/dist/esm-es5/app-globals-80842d68.js +4 -0
- package/dist/esm-es5/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
- package/dist/esm-es5/hardware-back-button-fb295e3a.js +4 -0
- package/dist/esm-es5/helpers-eab4f597.js +4 -0
- package/dist/esm-es5/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm-es5/{index-5847f4a9.js → index-136e99c8.js} +1 -1
- package/dist/esm-es5/index-5d6a0317.js +5 -0
- package/dist/esm-es5/{index-03086279.js → index-95a691d4.js} +1 -1
- package/dist/esm-es5/{index-1f563746.js → index-fa221975.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-56c1f603.js → input-shims-196afa11.js} +1 -1
- package/dist/esm-es5/input.utils-426cc674.js +4 -0
- 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.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-c976d684.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-a097dbf5.js → ios.transition-d1c8eea2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-0d2de76d.js +4 -0
- package/dist/esm-es5/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm-es5/overlays-d41f74ac.js +4 -0
- package/dist/esm-es5/{status-tap-7a12f017.js → status-tap-45595148.js} +1 -1
- package/dist/esm-es5/{swipe-back-ae14449a.js → swipe-back-5aa5feeb.js} +1 -1
- package/dist/html.html-data.json +25 -27
- 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-97135baa.entry.js → p-0051ceb9.entry.js} +1 -1
- package/dist/ionic/p-00a6f38d.entry.js +4 -0
- package/dist/ionic/p-02a803dc.entry.js +4 -0
- package/dist/ionic/{p-5aa60929.js → p-031c5621.js} +1 -1
- package/dist/ionic/p-07759435.system.js +4 -0
- package/dist/ionic/{p-a06af32c.system.js → p-08a8971e.system.js} +1 -1
- package/dist/ionic/p-0e4c9e45.system.js +4 -0
- package/dist/ionic/{p-f7ed6a44.system.entry.js → p-103ec049.system.entry.js} +1 -1
- package/dist/ionic/p-1685d81c.system.entry.js +4 -0
- package/dist/ionic/{p-cb944b1a.system.js → p-17043350.system.js} +1 -1
- package/dist/ionic/{p-1bca443b.system.entry.js → p-17ee2784.system.entry.js} +1 -1
- package/dist/ionic/p-1807190c.entry.js +4 -0
- package/dist/ionic/{p-cb0e4100.system.entry.js → p-185db19b.system.entry.js} +2 -2
- package/dist/ionic/{p-602494c6.entry.js → p-1a8bbd2e.entry.js} +1 -1
- package/dist/ionic/{p-8aeed464.system.entry.js → p-1bb1ef31.system.entry.js} +1 -1
- package/dist/ionic/p-1c801dd4.entry.js +4 -0
- package/dist/ionic/{p-466bdeae.entry.js → p-2130b526.entry.js} +1 -1
- package/dist/ionic/{p-1c436e95.system.entry.js → p-219c17cf.system.entry.js} +1 -1
- package/dist/ionic/p-22b5c888.system.entry.js +4 -0
- package/dist/ionic/{p-1a5ed3fe.system.entry.js → p-23838a94.system.entry.js} +1 -1
- package/dist/ionic/{p-27594fc2.js → p-239906f1.js} +1 -1
- package/dist/ionic/{p-8d50220b.system.js → p-23cff6c1.system.js} +1 -1
- package/dist/ionic/p-23efc001.entry.js +4 -0
- package/dist/ionic/{p-a6cc38d4.js → p-244f56fd.js} +1 -1
- package/dist/ionic/p-27c668a0.entry.js +4 -0
- package/dist/ionic/{p-09872ec8.system.entry.js → p-282bd5f9.system.entry.js} +1 -1
- package/dist/ionic/{p-dcfc297d.system.entry.js → p-2852c537.system.entry.js} +1 -1
- package/dist/ionic/{p-85464e28.system.entry.js → p-294c47cd.system.entry.js} +2 -2
- package/dist/ionic/p-29ef3b9b.entry.js +4 -0
- package/dist/ionic/p-2bb65deb.entry.js +4 -0
- package/dist/ionic/{p-8a50f8d6.system.js → p-2cc2c631.system.js} +1 -1
- package/dist/ionic/p-2f53c3eb.js +4 -0
- package/dist/ionic/{p-7b795aee.system.entry.js → p-2f6bc4a9.system.entry.js} +1 -1
- package/dist/ionic/{p-6d95943d.system.js → p-30dfa360.system.js} +1 -1
- package/dist/ionic/{p-c880c809.js → p-325c61a4.js} +1 -1
- package/dist/ionic/p-34c50a42.system.entry.js +4 -0
- package/dist/ionic/p-364044f0.js +4 -0
- package/dist/ionic/{p-e38b3c29.entry.js → p-3785c067.entry.js} +1 -1
- package/dist/ionic/p-3ae4a2a2.entry.js +4 -0
- package/dist/ionic/p-3cd3214e.entry.js +4 -0
- package/dist/ionic/{p-874510e9.system.entry.js → p-3e6e53fe.system.entry.js} +1 -1
- package/dist/ionic/{p-d4d0538c.system.entry.js → p-40976b1c.system.entry.js} +1 -1
- package/dist/ionic/{p-fd94dd20.system.entry.js → p-42fecf9c.system.entry.js} +1 -1
- package/dist/ionic/{p-7541ca9f.system.entry.js → p-43c751c6.system.entry.js} +1 -1
- package/dist/ionic/p-4a3055ef.system.js +4 -0
- package/dist/ionic/{p-f6a6b7ef.system.entry.js → p-4d325220.system.entry.js} +1 -1
- package/dist/ionic/p-4d361c89.entry.js +4 -0
- package/dist/ionic/p-54c31b4f.entry.js +4 -0
- package/dist/ionic/{p-7665bbbc.system.entry.js → p-5a277399.system.entry.js} +1 -1
- package/dist/ionic/{p-1600d68c.system.entry.js → p-5ac63b19.system.entry.js} +1 -1
- package/dist/ionic/{p-ad2b216a.system.entry.js → p-5b2951c1.system.entry.js} +1 -1
- package/dist/ionic/p-5b52897c.js +4 -0
- package/dist/ionic/{p-e64277c4.entry.js → p-5e39b9d8.entry.js} +1 -1
- package/dist/ionic/{p-a5b7a286.entry.js → p-610f0e12.entry.js} +1 -1
- package/dist/ionic/p-668607c2.system.js +4 -0
- package/dist/ionic/{p-c3a2e5cc.entry.js → p-66e50777.entry.js} +1 -1
- package/dist/ionic/{p-4825e380.entry.js → p-6a448415.entry.js} +1 -1
- package/dist/ionic/{p-95e14c7b.system.js → p-6a62da36.system.js} +1 -1
- package/dist/ionic/p-6a888b39.system.entry.js +4 -0
- package/dist/ionic/{p-3410a9cb.system.js → p-6d9f8fac.system.js} +1 -1
- package/dist/ionic/{p-4c2cac66.entry.js → p-7002bc75.entry.js} +1 -1
- package/dist/ionic/{p-454b36f7.system.entry.js → p-70c278c4.system.entry.js} +1 -1
- package/dist/ionic/{p-7b44b443.entry.js → p-7680d0ec.entry.js} +1 -1
- package/dist/ionic/{p-1fa738c4.js → p-78b3da77.js} +1 -1
- package/dist/ionic/{p-cd366840.system.entry.js → p-7adde43c.system.entry.js} +1 -1
- package/dist/ionic/{p-03f63663.system.js → p-7c7e495d.system.js} +1 -1
- package/dist/ionic/p-7d29dff0.system.entry.js +4 -0
- package/dist/ionic/p-7d4d9c40.system.entry.js +4 -0
- package/dist/ionic/p-7e7d534c.js +4 -0
- package/dist/ionic/{p-a8cc0027.system.js → p-853bd866.system.js} +1 -1
- package/dist/ionic/{p-91a72ad6.system.entry.js → p-85f43165.system.entry.js} +2 -2
- package/dist/ionic/p-86c17a09.entry.js +4 -0
- package/dist/ionic/p-8a881b39.entry.js +4 -0
- package/dist/ionic/p-8dd3d9c3.system.entry.js +4 -0
- package/dist/ionic/{p-77982637.entry.js → p-8ed900e4.entry.js} +1 -1
- package/dist/ionic/{p-da83d833.system.entry.js → p-91567c90.system.entry.js} +1 -1
- package/dist/ionic/{p-aaca8dd4.system.entry.js → p-92b05b70.system.entry.js} +1 -1
- package/dist/ionic/{p-6fd26009.js → p-976c7c54.js} +1 -1
- package/dist/ionic/p-978f4710.js +4 -0
- package/dist/ionic/{p-65d3f0e9.js → p-98c86cdd.js} +1 -1
- package/dist/ionic/p-9b5d033a.system.entry.js +4 -0
- package/dist/ionic/{p-30892e0c.system.js → p-9e3177a5.system.js} +1 -1
- package/dist/ionic/{p-3bac30bf.system.entry.js → p-9e6a5e3d.system.entry.js} +1 -1
- package/dist/ionic/{p-ddc4e717.entry.js → p-a0e8f913.entry.js} +1 -1
- package/dist/ionic/p-a3dae2ce.js +4 -0
- package/dist/ionic/{p-1a68de09.entry.js → p-a4c287f9.entry.js} +1 -1
- package/dist/ionic/{p-8d4d902b.js → p-a600a3e3.js} +1 -1
- package/dist/ionic/{p-2b3e0d99.system.entry.js → p-a6b8342e.system.entry.js} +1 -1
- package/dist/ionic/p-a88b41d1.system.entry.js +4 -0
- package/dist/ionic/{p-f71082f7.entry.js → p-a94092b9.entry.js} +1 -1
- package/dist/ionic/p-ac6db4c2.js +4 -0
- package/dist/ionic/{p-c5b77291.system.entry.js → p-af2e3481.system.entry.js} +1 -1
- package/dist/ionic/{p-eec92f77.system.js → p-af9256a0.system.js} +1 -1
- package/dist/ionic/{p-780ff3b5.system.entry.js → p-b0aaa59a.system.entry.js} +1 -1
- package/dist/ionic/{p-f16bfd53.entry.js → p-b141e253.entry.js} +1 -1
- package/dist/ionic/{p-ded27993.entry.js → p-b1d9b078.entry.js} +1 -1
- package/dist/ionic/{p-feb66f6f.entry.js → p-ba0290d1.entry.js} +1 -1
- package/dist/ionic/{p-add93c7a.entry.js → p-bb5eba12.entry.js} +1 -1
- package/dist/ionic/{p-82f5375e.system.entry.js → p-bb608006.system.entry.js} +1 -1
- package/dist/ionic/p-c385e49d.entry.js +4 -0
- package/dist/ionic/p-c3f5d0e7.js +4 -0
- package/dist/ionic/{p-81869a97.system.entry.js → p-c41e0b5f.system.entry.js} +1 -1
- package/dist/ionic/p-c629d22b.system.js +5 -0
- package/dist/ionic/{p-15708968.js → p-c6f9f3eb.js} +1 -1
- package/dist/ionic/{p-d504bc71.entry.js → p-c8383c20.entry.js} +1 -1
- package/dist/ionic/{p-1e0a18a1.system.entry.js → p-cbf0a046.system.entry.js} +1 -1
- package/dist/ionic/{p-ebe0be94.system.entry.js → p-d0496c22.system.entry.js} +1 -1
- package/dist/ionic/{p-1ed99eba.system.entry.js → p-d286cfbe.system.entry.js} +1 -1
- package/dist/ionic/{p-b4bb9cd0.system.entry.js → p-d372938e.system.entry.js} +1 -1
- package/dist/ionic/{p-afcd4f49.entry.js → p-d4d17d47.entry.js} +1 -1
- package/dist/ionic/{p-6ef5f4da.entry.js → p-d5ab02f5.entry.js} +1 -1
- package/dist/ionic/p-d60342e3.js +4 -0
- package/dist/ionic/{p-816476b0.system.js → p-d704f798.system.js} +1 -1
- package/dist/ionic/{p-942c19cb.entry.js → p-d8090ce4.entry.js} +1 -1
- package/dist/ionic/p-d80b7e31.system.js +4 -0
- package/dist/ionic/{p-62f15daf.system.entry.js → p-d8ffe61c.system.entry.js} +2 -2
- package/dist/ionic/{p-25850474.entry.js → p-da5bbd4f.entry.js} +1 -1
- package/dist/ionic/{p-7cc01684.js → p-dad515dc.js} +1 -1
- package/dist/ionic/{p-5c3991e3.system.entry.js → p-db7fcadb.system.entry.js} +1 -1
- package/dist/ionic/{p-5a055df4.entry.js → p-dd9168f3.entry.js} +1 -1
- package/dist/ionic/{p-1ea88de9.system.js → p-e0d52ee3.system.js} +2 -2
- package/dist/ionic/p-e3611c25.entry.js +4 -0
- package/dist/ionic/p-e4ca94bd.js +4 -0
- package/dist/ionic/p-e7b0b64d.system.js +4 -0
- package/dist/ionic/{p-7a3fa32c.entry.js → p-ebc5b98f.entry.js} +1 -1
- package/dist/ionic/p-ec34194e.system.entry.js +4 -0
- package/dist/ionic/p-ec613387.entry.js +4 -0
- package/dist/ionic/{p-85cb4733.entry.js → p-ed3463be.entry.js} +1 -1
- package/dist/ionic/p-f1d1524c.entry.js +4 -0
- package/dist/ionic/p-f687573e.system.js +4 -0
- package/dist/ionic/p-f7a1318d.system.entry.js +4 -0
- package/dist/ionic/{p-8e83b7f1.system.entry.js → p-f7af3144.system.entry.js} +2 -2
- package/dist/ionic/p-f8502e85.js +5 -0
- package/dist/ionic/{p-a71dc777.system.js → p-f85a4df5.system.js} +1 -1
- package/dist/ionic/{p-f3d6085c.entry.js → p-fa8ee4c3.entry.js} +1 -1
- package/dist/ionic/{p-1ce172db.entry.js → p-fb870c48.entry.js} +1 -1
- package/dist/ionic/{p-c38c5dfc.system.js → p-fe1fd531.system.js} +1 -1
- package/dist/ionic/p-fe35b5c0.entry.js +4 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +10 -0
- package/dist/types/components/datetime/datetime.d.ts +10 -1
- package/dist/types/components/datetime/utils/format.d.ts +7 -13
- package/dist/types/components/datetime/utils/validate.d.ts +8 -0
- package/dist/types/components/item/item.d.ts +0 -32
- package/dist/types/components/menu/menu-interface.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +2 -2
- package/dist/types/components/range/range.d.ts +29 -0
- package/dist/types/components/searchbar/searchbar.d.ts +38 -0
- package/dist/types/components/toggle/toggle.d.ts +1 -1
- package/dist/types/components.d.ts +40 -48
- package/dist/types/utils/forms/index.d.ts +0 -1
- package/dist/types/utils/hardware-back-button.d.ts +1 -1
- package/dist/types/utils/helpers.d.ts +0 -19
- package/dist/types/utils/test/playwright/generator.d.ts +3 -3
- package/hydrate/index.js +524 -428
- package/package.json +7 -2
- package/components/note.js +0 -48
- 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/components/item/test/legacy/disabled/item.e2e.js +0 -14
- package/dist/collection/utils/forms/form-controller.js +0 -61
- package/dist/collection/utils/test/aria.spec.js +0 -80
- package/dist/esm-es5/app-globals-cfb6787b.js +0 -4
- package/dist/esm-es5/data-691286f1.js +0 -4
- package/dist/esm-es5/hardware-back-button-3a14f99e.js +0 -4
- package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
- package/dist/esm-es5/index-9b6d6df3.js +0 -5
- package/dist/esm-es5/input.utils-482fc893.js +0 -4
- package/dist/esm-es5/md.transition-b4170ef7.js +0 -4
- package/dist/esm-es5/overlays-4ba3b255.js +0 -4
- package/dist/ionic/p-060fdc03.entry.js +0 -4
- package/dist/ionic/p-069388dd.system.js +0 -4
- package/dist/ionic/p-06fccad7.entry.js +0 -4
- package/dist/ionic/p-0ca35c1d.system.entry.js +0 -4
- package/dist/ionic/p-134d4936.system.js +0 -4
- package/dist/ionic/p-19e79fe8.entry.js +0 -4
- package/dist/ionic/p-19f6ac6c.system.js +0 -4
- package/dist/ionic/p-22d2a891.js +0 -4
- package/dist/ionic/p-239262e4.system.entry.js +0 -4
- package/dist/ionic/p-300b2cf1.entry.js +0 -4
- package/dist/ionic/p-32bd7ed7.entry.js +0 -4
- package/dist/ionic/p-41970e75.entry.js +0 -4
- package/dist/ionic/p-43322b14.js +0 -4
- package/dist/ionic/p-4523be60.entry.js +0 -4
- package/dist/ionic/p-4a8f173c.system.js +0 -4
- package/dist/ionic/p-4ad02639.entry.js +0 -4
- package/dist/ionic/p-5289aade.js +0 -4
- package/dist/ionic/p-5afb6e48.entry.js +0 -4
- package/dist/ionic/p-60efe117.js +0 -5
- package/dist/ionic/p-6657681b.system.entry.js +0 -4
- package/dist/ionic/p-66e6860f.system.js +0 -4
- package/dist/ionic/p-6e1fa025.js +0 -4
- package/dist/ionic/p-6e5eeb35.entry.js +0 -4
- package/dist/ionic/p-6f6d56f1.entry.js +0 -4
- package/dist/ionic/p-70218e28.system.entry.js +0 -4
- package/dist/ionic/p-72bc2484.system.entry.js +0 -4
- package/dist/ionic/p-760dbd5e.js +0 -4
- package/dist/ionic/p-82d459c1.js +0 -4
- package/dist/ionic/p-842777af.js +0 -4
- package/dist/ionic/p-8ab308e9.js +0 -4
- package/dist/ionic/p-8ba5912c.entry.js +0 -4
- package/dist/ionic/p-8d602214.system.js +0 -5
- package/dist/ionic/p-8e3ee444.system.entry.js +0 -4
- package/dist/ionic/p-9382ebab.entry.js +0 -4
- package/dist/ionic/p-96391c0e.entry.js +0 -4
- package/dist/ionic/p-9d6f351e.js +0 -4
- package/dist/ionic/p-9e3b3f15.system.js +0 -4
- package/dist/ionic/p-a375c9f6.system.entry.js +0 -4
- package/dist/ionic/p-a58ec401.js +0 -4
- package/dist/ionic/p-b1a9e85a.system.entry.js +0 -4
- package/dist/ionic/p-baa409f1.system.entry.js +0 -4
- package/dist/ionic/p-bcb58446.entry.js +0 -4
- package/dist/ionic/p-c2336a9e.system.entry.js +0 -4
- package/dist/ionic/p-cbc3840e.entry.js +0 -4
- package/dist/ionic/p-cf852615.system.entry.js +0 -4
- package/dist/ionic/p-e15eda82.system.js +0 -4
- package/dist/ionic/p-e470466e.entry.js +0 -4
- package/dist/ionic/p-ef99a759.entry.js +0 -4
- package/dist/ionic/p-fc5ddbf6.entry.js +0 -4
- package/dist/types/utils/forms/form-controller.d.ts +0 -15
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
import { findClosestIonContent, disableContentScrollY, resetContentScrollY } from "../../utils/content/index";
|
|
6
|
-
import { inheritAriaAttributes, clamp, debounceEvent,
|
|
6
|
+
import { inheritAriaAttributes, clamp, debounceEvent, renderHiddenInput } from "../../utils/helpers";
|
|
7
7
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
8
|
import { isRTL } from "../../utils/rtl/index";
|
|
9
9
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
@@ -55,8 +55,14 @@ export class Range {
|
|
|
55
55
|
el: rangeSlider,
|
|
56
56
|
gestureName: 'range',
|
|
57
57
|
gesturePriority: 100,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Provide a threshold since the drag movement
|
|
60
|
+
* might be a user scrolling the view.
|
|
61
|
+
* If this is true, then the range
|
|
62
|
+
* should not move.
|
|
63
|
+
*/
|
|
64
|
+
threshold: 10,
|
|
65
|
+
onStart: () => this.onStart(),
|
|
60
66
|
onMove: (ev) => this.onMove(ev),
|
|
61
67
|
onEnd: (ev) => this.onEnd(ev),
|
|
62
68
|
});
|
|
@@ -222,33 +228,93 @@ export class Range {
|
|
|
222
228
|
this.value = this.ensureValueInBounds(this.value);
|
|
223
229
|
this.ionChange.emit({ value: this.value });
|
|
224
230
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
231
|
+
/**
|
|
232
|
+
* The value should be updated on touch end or
|
|
233
|
+
* when the component is being dragged.
|
|
234
|
+
* This follows the native behavior of mobile devices.
|
|
235
|
+
*
|
|
236
|
+
* For example: When the user lifts their finger from the
|
|
237
|
+
* screen after tapping the bar or dragging the bar or knob.
|
|
238
|
+
*/
|
|
239
|
+
onStart() {
|
|
240
|
+
this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* The value should be updated while dragging the
|
|
244
|
+
* bar or knob.
|
|
245
|
+
*
|
|
246
|
+
* While the user is dragging, the view
|
|
247
|
+
* should not scroll. This is to prevent the user from
|
|
248
|
+
* feeling disoriented while dragging.
|
|
249
|
+
*
|
|
250
|
+
* The user can scroll on the view if the knob or
|
|
251
|
+
* bar is not being dragged.
|
|
252
|
+
*
|
|
253
|
+
* @param detail The details of the gesture event.
|
|
254
|
+
*/
|
|
255
|
+
onMove(detail) {
|
|
256
|
+
const { contentEl, pressedKnob } = this;
|
|
257
|
+
const currentX = detail.currentX;
|
|
258
|
+
/**
|
|
259
|
+
* Since the user is dragging on the bar or knob, the view should not scroll.
|
|
260
|
+
*
|
|
261
|
+
* This only needs to be done once.
|
|
262
|
+
*/
|
|
263
|
+
if (contentEl && this.initialContentScrollY === undefined) {
|
|
228
264
|
this.initialContentScrollY = disableContentScrollY(contentEl);
|
|
229
265
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
266
|
+
/**
|
|
267
|
+
* The `pressedKnob` can be undefined if the user just
|
|
268
|
+
* started dragging the knob.
|
|
269
|
+
*
|
|
270
|
+
* This is necessary to determine which knob the user is dragging,
|
|
271
|
+
* especially when it's a dual knob.
|
|
272
|
+
* Plus, it determines when to apply certain styles.
|
|
273
|
+
*
|
|
274
|
+
* This only needs to be done once since the knob won't change
|
|
275
|
+
* while the user is dragging.
|
|
276
|
+
*/
|
|
277
|
+
if (pressedKnob === undefined) {
|
|
278
|
+
this.setPressedKnob(currentX);
|
|
236
279
|
}
|
|
237
|
-
this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - ratio) < Math.abs(this.ratioB - ratio) ? 'A' : 'B';
|
|
238
|
-
this.setFocus(this.pressedKnob);
|
|
239
|
-
// update the active knob's position
|
|
240
280
|
this.update(currentX);
|
|
241
|
-
this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
|
|
242
|
-
}
|
|
243
|
-
onMove(detail) {
|
|
244
|
-
this.update(detail.currentX);
|
|
245
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* The value should be updated on touch end:
|
|
284
|
+
* - When the user lifts their finger from the screen after
|
|
285
|
+
* tapping the bar.
|
|
286
|
+
*
|
|
287
|
+
* @param detail The details of the gesture or mouse event.
|
|
288
|
+
*/
|
|
246
289
|
onEnd(detail) {
|
|
247
290
|
const { contentEl, initialContentScrollY } = this;
|
|
248
|
-
|
|
291
|
+
const currentX = detail.currentX || detail.clientX;
|
|
292
|
+
/**
|
|
293
|
+
* The `pressedKnob` can be undefined if the user never
|
|
294
|
+
* dragged the knob. They just tapped on the bar.
|
|
295
|
+
*
|
|
296
|
+
* This is necessary to determine which knob the user is changing,
|
|
297
|
+
* especially when it's a dual knob.
|
|
298
|
+
* Plus, it determines when to apply certain styles.
|
|
299
|
+
*/
|
|
300
|
+
if (this.pressedKnob === undefined) {
|
|
301
|
+
this.setPressedKnob(currentX);
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* The user is no longer dragging the bar or
|
|
305
|
+
* knob (if they were dragging it).
|
|
306
|
+
*
|
|
307
|
+
* The user can now scroll on the view in the next gesture event.
|
|
308
|
+
*/
|
|
309
|
+
if (contentEl && initialContentScrollY !== undefined) {
|
|
249
310
|
resetContentScrollY(contentEl, initialContentScrollY);
|
|
250
311
|
}
|
|
251
|
-
|
|
312
|
+
// update the active knob's position
|
|
313
|
+
this.update(currentX);
|
|
314
|
+
/**
|
|
315
|
+
* Reset the pressed knob to undefined since the user
|
|
316
|
+
* may start dragging a different knob in the next gesture event.
|
|
317
|
+
*/
|
|
252
318
|
this.pressedKnob = undefined;
|
|
253
319
|
this.emitValueChange();
|
|
254
320
|
this.ionKnobMoveEnd.emit({ value: this.ensureValueInBounds(this.value) });
|
|
@@ -275,6 +341,16 @@ export class Range {
|
|
|
275
341
|
// Update input value
|
|
276
342
|
this.updateValue();
|
|
277
343
|
}
|
|
344
|
+
setPressedKnob(currentX) {
|
|
345
|
+
const rect = (this.rect = this.rangeSlider.getBoundingClientRect());
|
|
346
|
+
// figure out which knob they started closer to
|
|
347
|
+
let ratio = clamp(0, (currentX - rect.left) / rect.width, 1);
|
|
348
|
+
if (isRTL(this.el)) {
|
|
349
|
+
ratio = 1 - ratio;
|
|
350
|
+
}
|
|
351
|
+
this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - ratio) < Math.abs(this.ratioB - ratio) ? 'A' : 'B';
|
|
352
|
+
this.setFocus(this.pressedKnob);
|
|
353
|
+
}
|
|
278
354
|
get valA() {
|
|
279
355
|
return ratioToValue(this.ratioA, this.min, this.max, this.step);
|
|
280
356
|
}
|
|
@@ -345,16 +421,7 @@ export class Range {
|
|
|
345
421
|
}
|
|
346
422
|
renderRangeSlider() {
|
|
347
423
|
var _a;
|
|
348
|
-
const { min, max, step,
|
|
349
|
-
/**
|
|
350
|
-
* Look for external label, ion-label, or aria-labelledby.
|
|
351
|
-
* If none, see if user placed an aria-label on the host
|
|
352
|
-
* and use that instead.
|
|
353
|
-
*/
|
|
354
|
-
let { labelText } = getAriaLabel(el, rangeId);
|
|
355
|
-
if (labelText === undefined || labelText === null) {
|
|
356
|
-
labelText = inheritedAttributes['aria-label'];
|
|
357
|
-
}
|
|
424
|
+
const { min, max, step, handleKeyboard, pressedKnob, disabled, pin, ratioLower, ratioUpper, pinFormatter, inheritedAttributes, } = this;
|
|
358
425
|
let barStart = `${ratioLower * 100}%`;
|
|
359
426
|
let barEnd = `${100 - ratioUpper * 100}%`;
|
|
360
427
|
const rtl = isRTL(this.el);
|
|
@@ -414,11 +481,36 @@ export class Range {
|
|
|
414
481
|
ticks.push(tick);
|
|
415
482
|
}
|
|
416
483
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
484
|
+
return (h("div", { class: "range-slider", ref: (rangeEl) => (this.rangeSlider = rangeEl),
|
|
485
|
+
/**
|
|
486
|
+
* Since the gesture has a threshold, the value
|
|
487
|
+
* won't change until the user has dragged past
|
|
488
|
+
* the threshold. This is to prevent the range
|
|
489
|
+
* from moving when the user is scrolling.
|
|
490
|
+
*
|
|
491
|
+
* This results in the value not being updated
|
|
492
|
+
* and the event emitters not being triggered
|
|
493
|
+
* if the user taps on the range. This is why
|
|
494
|
+
* we need to listen for the "pointerUp" event.
|
|
495
|
+
*/
|
|
496
|
+
onPointerUp: (ev) => {
|
|
497
|
+
/**
|
|
498
|
+
* If the user drags the knob on the web
|
|
499
|
+
* version (does not occur on mobile),
|
|
500
|
+
* the "pointerUp" event will be triggered
|
|
501
|
+
* along with the gesture's events.
|
|
502
|
+
* This leads to duplicate events.
|
|
503
|
+
*
|
|
504
|
+
* By checking if the pressedKnob is undefined,
|
|
505
|
+
* we can determine if the "pointerUp" event was
|
|
506
|
+
* triggered by a tap or a drag. If it was
|
|
507
|
+
* dragged, the pressedKnob will be defined.
|
|
508
|
+
*/
|
|
509
|
+
if (this.pressedKnob === undefined) {
|
|
510
|
+
this.onStart();
|
|
511
|
+
this.onEnd(ev);
|
|
512
|
+
}
|
|
513
|
+
} }, ticks.map((tick) => (h("div", { style: tickStyle(tick), role: "presentation", class: {
|
|
422
514
|
'range-tick': true,
|
|
423
515
|
'range-tick-active': tick.active,
|
|
424
516
|
}, part: tick.active ? 'tick-active' : 'tick' }))), h("div", { class: "range-bar-container" }, h("div", { class: "range-bar", role: "presentation", part: "bar" }), h("div", { class: {
|
|
@@ -436,8 +528,7 @@ export class Range {
|
|
|
436
528
|
handleKeyboard,
|
|
437
529
|
min,
|
|
438
530
|
max,
|
|
439
|
-
|
|
440
|
-
labelledBy,
|
|
531
|
+
inheritedAttributes,
|
|
441
532
|
}), this.dualKnobs &&
|
|
442
533
|
renderKnob(rtl, {
|
|
443
534
|
knob: 'B',
|
|
@@ -450,8 +541,7 @@ export class Range {
|
|
|
450
541
|
handleKeyboard,
|
|
451
542
|
min,
|
|
452
543
|
max,
|
|
453
|
-
|
|
454
|
-
labelledBy,
|
|
544
|
+
inheritedAttributes,
|
|
455
545
|
})));
|
|
456
546
|
}
|
|
457
547
|
render() {
|
|
@@ -471,7 +561,7 @@ export class Range {
|
|
|
471
561
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
472
562
|
const mode = getIonMode(this);
|
|
473
563
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
474
|
-
return (h(Host, { key: '
|
|
564
|
+
return (h(Host, { key: '2ddcec5645566b2581a9c45891926722e903487e', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
475
565
|
[mode]: true,
|
|
476
566
|
'in-item': inItem,
|
|
477
567
|
'range-disabled': disabled,
|
|
@@ -480,10 +570,10 @@ export class Range {
|
|
|
480
570
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
481
571
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
482
572
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
483
|
-
}) }, h("label", { key: '
|
|
573
|
+
}) }, h("label", { key: '87ca3578203144d6543f4b7cb4145e99a2a56445', class: "range-wrapper", id: "range-label" }, h("div", { key: '9acb1a0778f816d6054443f58fedca219b6fef41', class: {
|
|
484
574
|
'label-text-wrapper': true,
|
|
485
575
|
'label-text-wrapper-hidden': !hasLabel,
|
|
486
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
576
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '0c0ca9e634ff1ff257e077630ed46aab599c4087', class: "native-wrapper" }, h("slot", { key: '99f5f6c4e3323cbe0d09b7d18fcda2fcf29951e1', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'f525b2c755c1287e23d9e1920617518fa2d08e05', name: "end" })))));
|
|
487
577
|
}
|
|
488
578
|
static get is() { return "ion-range"; }
|
|
489
579
|
static get encapsulation() { return "shadow"; }
|
|
@@ -950,13 +1040,15 @@ export class Range {
|
|
|
950
1040
|
}];
|
|
951
1041
|
}
|
|
952
1042
|
}
|
|
953
|
-
const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard,
|
|
1043
|
+
const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard, pinFormatter, inheritedAttributes }) => {
|
|
954
1044
|
const start = rtl ? 'right' : 'left';
|
|
955
1045
|
const knobStyle = () => {
|
|
956
1046
|
const style = {};
|
|
957
1047
|
style[start] = `${ratio * 100}%`;
|
|
958
1048
|
return style;
|
|
959
1049
|
};
|
|
1050
|
+
// The aria label should be preferred over visible text if both are specified
|
|
1051
|
+
const ariaLabel = inheritedAttributes['aria-label'];
|
|
960
1052
|
return (h("div", { onKeyDown: (ev) => {
|
|
961
1053
|
const key = ev.key;
|
|
962
1054
|
if (key === 'ArrowLeft' || key === 'ArrowDown') {
|
|
@@ -978,7 +1070,7 @@ const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin,
|
|
|
978
1070
|
'range-knob-max': value === max,
|
|
979
1071
|
'ion-activatable': true,
|
|
980
1072
|
'ion-focusable': true,
|
|
981
|
-
}, style: knobStyle(), role: "slider", tabindex: disabled ? -1 : 0, "aria-label":
|
|
1073
|
+
}, style: knobStyle(), role: "slider", tabindex: disabled ? -1 : 0, "aria-label": ariaLabel !== undefined ? ariaLabel : null, "aria-labelledby": ariaLabel === undefined ? 'range-label' : null, "aria-valuemin": min, "aria-valuemax": max, "aria-disabled": disabled ? 'true' : null, "aria-valuenow": value }, pin && (h("div", { class: "range-pin", role: "presentation", part: "pin" }, pinFormatter(value))), h("div", { class: "range-knob", role: "presentation", part: "knob" })));
|
|
982
1074
|
};
|
|
983
1075
|
const ratioToValue = (ratio, min, max, step) => {
|
|
984
1076
|
let value = (max - min) * ratio;
|
|
@@ -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('range: a11y'), () => {
|
|
9
9
|
test('should not have accessibility violations', async ({ page }) => {
|
|
10
10
|
await page.setContent(`
|
|
@@ -20,4 +20,28 @@ describe('range: label', () => {
|
|
|
20
20
|
expect(propEl).not.toBeNull();
|
|
21
21
|
expect(slotEl).toBeNull();
|
|
22
22
|
});
|
|
23
|
+
it('should prefer aria label if both attribute and visible text provided', async () => {
|
|
24
|
+
const page = await newSpecPage({
|
|
25
|
+
components: [Range],
|
|
26
|
+
html: `
|
|
27
|
+
<ion-range aria-label="Aria Label Text" label="Label Prop Text"></ion-range>
|
|
28
|
+
`,
|
|
29
|
+
});
|
|
30
|
+
const range = page.body.querySelector('ion-range');
|
|
31
|
+
const nativeSlider = range.shadowRoot.querySelector('.range-knob-handle');
|
|
32
|
+
expect(nativeSlider.getAttribute('aria-label')).toBe('Aria Label Text');
|
|
33
|
+
expect(nativeSlider.getAttribute('aria-labelledby')).toBe(null);
|
|
34
|
+
});
|
|
35
|
+
it('should prefer visible label if only visible text provided', async () => {
|
|
36
|
+
const page = await newSpecPage({
|
|
37
|
+
components: [Range],
|
|
38
|
+
html: `
|
|
39
|
+
<ion-range label="Label Prop Text"></ion-range>
|
|
40
|
+
`,
|
|
41
|
+
});
|
|
42
|
+
const range = page.body.querySelector('ion-range');
|
|
43
|
+
const nativeSlider = range.shadowRoot.querySelector('.range-knob-handle');
|
|
44
|
+
expect(nativeSlider.getAttribute('aria-label')).toBe(null);
|
|
45
|
+
expect(nativeSlider.getAttribute('aria-labelledby')).toBe('range-label');
|
|
46
|
+
});
|
|
23
47
|
});
|
|
@@ -54,6 +54,33 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
54
54
|
expect(rangeStart).toHaveReceivedEventDetail({ value: 20 });
|
|
55
55
|
expect(rangeEnd).toHaveReceivedEventDetail({ value: 21 });
|
|
56
56
|
});
|
|
57
|
+
test('should emit end event on tap', async ({ page }, testInfo) => {
|
|
58
|
+
testInfo.annotations.push({
|
|
59
|
+
type: 'issue',
|
|
60
|
+
description: 'https://github.com/ionic-team/ionic-framework/issues/28487',
|
|
61
|
+
});
|
|
62
|
+
await page.setContent(`<ion-range aria-label="Range" value="20"></ion-range>`, config);
|
|
63
|
+
const range = page.locator('ion-range');
|
|
64
|
+
const rangeEndSpy = await page.spyOnEvent('ionKnobMoveEnd');
|
|
65
|
+
const rangeBoundingBox = await range.boundingBox();
|
|
66
|
+
/**
|
|
67
|
+
* Coordinates for the click event.
|
|
68
|
+
* These need to be near the end of the range
|
|
69
|
+
* (or anything that isn't the current value).
|
|
70
|
+
*
|
|
71
|
+
* The number 50 is arbitrary, but it should be
|
|
72
|
+
* less than the width of the range.
|
|
73
|
+
*/
|
|
74
|
+
const x = rangeBoundingBox.width - 50;
|
|
75
|
+
// The y coordinate is the middle of the range.
|
|
76
|
+
const y = rangeBoundingBox.height / 2;
|
|
77
|
+
// Click near the end of the range.
|
|
78
|
+
await range.click({
|
|
79
|
+
position: { x, y },
|
|
80
|
+
});
|
|
81
|
+
await rangeEndSpy.next();
|
|
82
|
+
expect(rangeEndSpy.length).toBe(1);
|
|
83
|
+
});
|
|
57
84
|
// TODO FW-2873
|
|
58
85
|
test.skip('should not scroll when the knob is swiped', async ({ page, skip }) => {
|
|
59
86
|
skip.browser('webkit', 'mouse.wheel is not available in WebKit');
|
|
@@ -594,7 +594,7 @@ export class Refresher {
|
|
|
594
594
|
}
|
|
595
595
|
render() {
|
|
596
596
|
const mode = getIonMode(this);
|
|
597
|
-
return (h(Host, { key: '
|
|
597
|
+
return (h(Host, { key: 'a0de60286257949f47ce80fccc7d35477a0cbfa1', slot: "fixed", class: {
|
|
598
598
|
[mode]: true,
|
|
599
599
|
// Used internally for styling
|
|
600
600
|
[`refresher-${mode}`]: true,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import AxeBuilder from "@axe-core/playwright";
|
|
5
5
|
import { expect } from "@playwright/test";
|
|
6
6
|
import { configs, test, dragElementBy } from "../../../../utils/test/playwright/index";
|
|
7
|
-
configs({ directions: ['ltr'], modes: ['md'],
|
|
7
|
+
configs({ directions: ['ltr'], modes: ['md'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
|
|
8
8
|
test.describe(title('refresher: a11y for ion-color()'), () => {
|
|
9
9
|
test('should not have accessibility violations', async ({ page }) => {
|
|
10
10
|
await page.setContent(`
|
|
@@ -52,7 +52,7 @@ export class RefresherContent {
|
|
|
52
52
|
const pullingIcon = this.pullingIcon;
|
|
53
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
54
|
const mode = getIonMode(this);
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '09b538ace5a850e4cfd206e13a3c04ecb6c383e1', class: mode }, h("div", { key: '13c564d2970939f250ff8d2ec6bab2c6ad20ea88', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '21e7d4014f5779238ecf9fee4b9d492232835753', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "ion-refresher-content"; }
|
|
58
58
|
static get properties() {
|
|
@@ -20,7 +20,7 @@ export class Reorder {
|
|
|
20
20
|
render() {
|
|
21
21
|
const mode = getIonMode(this);
|
|
22
22
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '0a7ac59a7c42bce0b76a13a5e03a0e2f13539cea', class: mode }, h("slot", { key: 'cd9c737ec8dfd0afe0bd558141f9f7b66bca66cf' }, h("ion-icon", { key: '3dc8fb3478bd2be7f99c1e15b51a41f18b421dbb', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "ion-reorder"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -238,7 +238,7 @@ export class ReorderGroup {
|
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
240
|
const mode = getIonMode(this);
|
|
241
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: '1fe29e61375e3c7fa810b49cf55fb17fd6d9ec82', class: {
|
|
242
242
|
[mode]: true,
|
|
243
243
|
'reorder-enabled': !this.disabled,
|
|
244
244
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -59,7 +59,7 @@ export class RippleEffect {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const mode = getIonMode(this);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '2bf24209bf2e1f0ba43e2c38357a54a2a17a4565', role: "presentation", class: {
|
|
63
63
|
[mode]: true,
|
|
64
64
|
unbounded: this.unbounded,
|
|
65
65
|
} }));
|
|
@@ -23,10 +23,10 @@ export class RouterLink {
|
|
|
23
23
|
rel: this.rel,
|
|
24
24
|
target: this.target,
|
|
25
25
|
};
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '95f4eb3b6292a5525db6d3ed6111d4fbce48fd8b', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
27
27
|
[mode]: true,
|
|
28
28
|
'ion-activatable': true,
|
|
29
|
-
}) }, h("a", Object.assign({ key: '
|
|
29
|
+
}) }, h("a", Object.assign({ key: '19178223d3927ed9cc6ef423050691f80e01e115' }, attrs), h("slot", { key: '0e046007427a5bc096c89c4d1a596d19cd8f89ab' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "ion-router-link"; }
|
|
32
32
|
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('router-link: a11y'), () => {
|
|
9
9
|
test('should not have accessibility violations', async ({ page }) => {
|
|
10
10
|
/**
|
|
@@ -178,7 +178,7 @@ export class RouterOutlet {
|
|
|
178
178
|
return true;
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return h("slot", { key: '
|
|
181
|
+
return h("slot", { key: '87dd3d8fb9a9a2cbf8564c56daf317cb94329186' });
|
|
182
182
|
}
|
|
183
183
|
static get is() { return "ion-router-outlet"; }
|
|
184
184
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Row {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'd4895f57cf37c2669ed5f6dbe422854afb84284f', class: getIonMode(this) }, h("slot", { key: 'd9899b3c0402a8bc6388ed45132c41c9b3959c20' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-row"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
|
-
import { debounceEvent, raf, componentOnReady } from "../../utils/helpers";
|
|
5
|
+
import { debounceEvent, raf, componentOnReady, inheritAttributes } from "../../utils/helpers";
|
|
6
6
|
import { isRTL } from "../../utils/rtl/index";
|
|
7
7
|
import { createColorClasses } from "../../utils/theme";
|
|
8
8
|
import { arrowBackSharp, closeCircle, closeSharp, searchOutline, searchSharp } from "ionicons/icons";
|
|
@@ -16,6 +16,7 @@ export class Searchbar {
|
|
|
16
16
|
this.isCancelVisible = false;
|
|
17
17
|
this.shouldAlignLeft = true;
|
|
18
18
|
this.inputId = `ion-searchbar-${searchbarIds++}`;
|
|
19
|
+
this.inheritedAttributes = {};
|
|
19
20
|
/**
|
|
20
21
|
* Clears the input field and triggers the control change.
|
|
21
22
|
*/
|
|
@@ -116,6 +117,7 @@ export class Searchbar {
|
|
|
116
117
|
this.noAnimate = true;
|
|
117
118
|
this.color = undefined;
|
|
118
119
|
this.animated = false;
|
|
120
|
+
this.autocapitalize = undefined;
|
|
119
121
|
this.autocomplete = 'off';
|
|
120
122
|
this.autocorrect = 'off';
|
|
121
123
|
this.cancelButtonIcon = config.get('backButtonIcon', arrowBackSharp);
|
|
@@ -125,6 +127,8 @@ export class Searchbar {
|
|
|
125
127
|
this.disabled = false;
|
|
126
128
|
this.inputmode = undefined;
|
|
127
129
|
this.enterkeyhint = undefined;
|
|
130
|
+
this.maxlength = undefined;
|
|
131
|
+
this.minlength = undefined;
|
|
128
132
|
this.name = this.inputId;
|
|
129
133
|
this.placeholder = 'Search';
|
|
130
134
|
this.searchIcon = undefined;
|
|
@@ -134,6 +138,21 @@ export class Searchbar {
|
|
|
134
138
|
this.type = 'search';
|
|
135
139
|
this.value = '';
|
|
136
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* lang and dir are globally enumerated attributes.
|
|
143
|
+
* As a result, creating these as properties
|
|
144
|
+
* can have unintended side effects. Instead, we
|
|
145
|
+
* listen for attribute changes and inherit them
|
|
146
|
+
* to the inner `<input>` element.
|
|
147
|
+
*/
|
|
148
|
+
onLangChanged(newValue) {
|
|
149
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { lang: newValue });
|
|
150
|
+
forceUpdate(this);
|
|
151
|
+
}
|
|
152
|
+
onDirChanged(newValue) {
|
|
153
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: newValue });
|
|
154
|
+
forceUpdate(this);
|
|
155
|
+
}
|
|
137
156
|
debounceChanged() {
|
|
138
157
|
const { ionInput, debounce, originalIonInput } = this;
|
|
139
158
|
/**
|
|
@@ -158,6 +177,9 @@ export class Searchbar {
|
|
|
158
177
|
connectedCallback() {
|
|
159
178
|
this.emitStyle();
|
|
160
179
|
}
|
|
180
|
+
componentWillLoad() {
|
|
181
|
+
this.inheritedAttributes = Object.assign({}, inheritAttributes(this.el, ['lang', 'dir']));
|
|
182
|
+
}
|
|
161
183
|
componentDidLoad() {
|
|
162
184
|
this.originalIonInput = this.ionInput;
|
|
163
185
|
this.positionElements();
|
|
@@ -356,8 +378,8 @@ export class Searchbar {
|
|
|
356
378
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
357
379
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
358
380
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
359
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
360
|
-
return (h(Host, { key: '
|
|
381
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '5b5b1f76c164a3d06c24cc4e8caf831355063a3d', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '8dbe0a644441d7c02053183f214847766ac0ef2b', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
382
|
+
return (h(Host, { key: '2741c301a182cc20cb0c828b75b3dca9c9e3a3f5', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
361
383
|
[mode]: true,
|
|
362
384
|
'searchbar-animated': animated,
|
|
363
385
|
'searchbar-disabled': this.disabled,
|
|
@@ -367,14 +389,14 @@ export class Searchbar {
|
|
|
367
389
|
'searchbar-has-focus': this.focused,
|
|
368
390
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
369
391
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
370
|
-
}) }, h("div", { key: '
|
|
392
|
+
}) }, h("div", { key: '380ad3d3ce925d0fe826318aad1f73892f7817a8', class: "searchbar-input-container" }, h("input", Object.assign({ key: '50f51e3c3d71cbbceeee2196c3ac033ef77e8a77', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '6eb4cfbbad36cf31d134fc3d8221111dc10a35ae', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: 'b0ac8e45b69c4337dfc86d24c7e953f9d4b428c2', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
371
393
|
/**
|
|
372
394
|
* This prevents mobile browsers from
|
|
373
395
|
* blurring the input when the clear
|
|
374
396
|
* button is activated.
|
|
375
397
|
*/
|
|
376
398
|
ev.preventDefault();
|
|
377
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
399
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'f41efbb052f98c3c67e926d95e4b299794d3d012', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
378
400
|
}
|
|
379
401
|
static get is() { return "ion-searchbar"; }
|
|
380
402
|
static get encapsulation() { return "scoped"; }
|
|
@@ -433,6 +455,23 @@ export class Searchbar {
|
|
|
433
455
|
"reflect": false,
|
|
434
456
|
"defaultValue": "false"
|
|
435
457
|
},
|
|
458
|
+
"autocapitalize": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"mutable": false,
|
|
461
|
+
"complexType": {
|
|
462
|
+
"original": "string",
|
|
463
|
+
"resolved": "string",
|
|
464
|
+
"references": {}
|
|
465
|
+
},
|
|
466
|
+
"required": true,
|
|
467
|
+
"optional": false,
|
|
468
|
+
"docs": {
|
|
469
|
+
"tags": [],
|
|
470
|
+
"text": "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\nAvailable options: `\"off\"`, `\"none\"`, `\"on\"`, `\"sentences\"`, `\"words\"`, `\"characters\"`."
|
|
471
|
+
},
|
|
472
|
+
"attribute": "autocapitalize",
|
|
473
|
+
"reflect": false
|
|
474
|
+
},
|
|
436
475
|
"autocomplete": {
|
|
437
476
|
"type": "string",
|
|
438
477
|
"mutable": false,
|
|
@@ -597,6 +636,40 @@ export class Searchbar {
|
|
|
597
636
|
"attribute": "enterkeyhint",
|
|
598
637
|
"reflect": false
|
|
599
638
|
},
|
|
639
|
+
"maxlength": {
|
|
640
|
+
"type": "number",
|
|
641
|
+
"mutable": false,
|
|
642
|
+
"complexType": {
|
|
643
|
+
"original": "number",
|
|
644
|
+
"resolved": "number | undefined",
|
|
645
|
+
"references": {}
|
|
646
|
+
},
|
|
647
|
+
"required": false,
|
|
648
|
+
"optional": true,
|
|
649
|
+
"docs": {
|
|
650
|
+
"tags": [],
|
|
651
|
+
"text": "This attribute specifies the maximum number of characters that the user can enter."
|
|
652
|
+
},
|
|
653
|
+
"attribute": "maxlength",
|
|
654
|
+
"reflect": false
|
|
655
|
+
},
|
|
656
|
+
"minlength": {
|
|
657
|
+
"type": "number",
|
|
658
|
+
"mutable": false,
|
|
659
|
+
"complexType": {
|
|
660
|
+
"original": "number",
|
|
661
|
+
"resolved": "number | undefined",
|
|
662
|
+
"references": {}
|
|
663
|
+
},
|
|
664
|
+
"required": false,
|
|
665
|
+
"optional": true,
|
|
666
|
+
"docs": {
|
|
667
|
+
"tags": [],
|
|
668
|
+
"text": "This attribute specifies the minimum number of characters that the user can enter."
|
|
669
|
+
},
|
|
670
|
+
"attribute": "minlength",
|
|
671
|
+
"reflect": false
|
|
672
|
+
},
|
|
600
673
|
"name": {
|
|
601
674
|
"type": "string",
|
|
602
675
|
"mutable": false,
|
|
@@ -922,6 +995,12 @@ export class Searchbar {
|
|
|
922
995
|
static get elementRef() { return "el"; }
|
|
923
996
|
static get watchers() {
|
|
924
997
|
return [{
|
|
998
|
+
"propName": "lang",
|
|
999
|
+
"methodName": "onLangChanged"
|
|
1000
|
+
}, {
|
|
1001
|
+
"propName": "dir",
|
|
1002
|
+
"methodName": "onDirChanged"
|
|
1003
|
+
}, {
|
|
925
1004
|
"propName": "debounce",
|
|
926
1005
|
"methodName": "debounceChanged"
|
|
927
1006
|
}, {
|