@ionic/core 7.7.2-dev.11707926434.1affaed4 → 7.7.2-dev.11707932366.16baf005
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 +4 -4
- package/components/alert.js +2 -2
- package/components/backdrop.js +1 -13
- package/components/button-active.js +1 -1
- package/components/button.js +2 -2
- package/components/checkbox.js +2 -2
- package/components/data.js +39 -29
- package/components/gesture-controller.js +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +2 -2
- package/components/ion-content.js +4 -5
- package/components/ion-datetime-button.js +14 -15
- package/components/ion-datetime.js +47 -172
- package/components/ion-fab-button.js +4 -4
- package/components/ion-fab-list.js +3 -3
- 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 +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +4 -4
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input.js +7 -93
- package/components/ion-item-divider.js +4 -4
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +4 -4
- package/components/ion-item-options.js +3 -3
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +4 -4
- package/components/ion-menu-button.js +3 -3
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +23 -17
- package/components/ion-modal.js +8 -25
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +8 -4
- package/components/ion-picker-column-option.d.ts +11 -0
- package/components/ion-picker-column-option.js +9 -0
- package/components/ion-picker-column.js +2 -2
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/ion-picker-legacy-column.js +9 -0
- package/components/{ion-picker-internal.d.ts → ion-picker-legacy.d.ts} +4 -4
- package/components/ion-picker-legacy.js +311 -0
- package/components/ion-picker.js +1 -311
- package/components/ion-progress-bar.js +6 -3
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +3 -3
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +3 -3
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +6 -6
- package/components/ion-segment-button.js +5 -5
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +65 -159
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +28 -17
- package/components/ion-tab-bar.js +4 -4
- package/components/ion-tab-button.js +4 -4
- 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 +7 -70
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +3 -3
- package/components/ion-toast.js +12 -6
- package/components/ion-toggle.js +7 -64
- package/components/ion-toolbar.js +4 -4
- package/components/item.js +2 -2
- package/components/label.js +3 -3
- package/components/list-header.js +4 -4
- package/components/list.js +2 -2
- package/components/note.js +4 -4
- package/components/overlays.js +11 -4
- package/components/picker-column-option.js +124 -0
- package/components/picker-column.js +352 -324
- package/components/picker-column2.js +381 -0
- package/components/{picker-internal.js → picker.js} +33 -26
- package/components/popover.js +3 -3
- package/components/radio-group.js +1 -1
- package/components/radio.js +8 -81
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/css/core.css +90 -27
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/themes/dark.always.css +160 -0
- package/css/themes/dark.always.css.map +1 -0
- package/css/themes/dark.class.css +160 -0
- package/css/themes/dark.class.css.map +1 -0
- package/css/themes/dark.css +3 -0
- package/css/themes/dark.css.map +1 -0
- package/css/themes/dark.system.css +162 -0
- package/css/themes/dark.system.css.map +1 -0
- package/css/themes/high-contrast-dark.always.css +180 -0
- package/css/themes/high-contrast-dark.always.css.map +1 -0
- package/css/themes/high-contrast-dark.class.css +180 -0
- package/css/themes/high-contrast-dark.class.css.map +1 -0
- package/css/themes/high-contrast-dark.css +3 -0
- package/css/themes/high-contrast-dark.css.map +1 -0
- package/css/themes/high-contrast-dark.system.css +182 -0
- package/css/themes/high-contrast-dark.system.css.map +1 -0
- package/css/themes/high-contrast.always.css +101 -0
- package/css/themes/high-contrast.always.css.map +1 -0
- package/css/themes/high-contrast.class.css +101 -0
- package/css/themes/high-contrast.class.css.map +1 -0
- package/css/themes/high-contrast.css +3 -0
- package/css/themes/high-contrast.css.map +1 -0
- package/css/themes/high-contrast.system.css +103 -0
- package/css/themes/high-contrast.system.css.map +1 -0
- package/css/typography.css +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{button-active-b8c3f603.js → button-active-600ed3e2.js} +2 -2
- package/dist/cjs/{data-6246812e.js → data-e2bf21de.js} +40 -28
- package/dist/cjs/{gesture-controller-c40c045a.js → gesture-controller-9436f482.js} +1 -0
- package/dist/cjs/{index-d1b59ffa.js → index-ee07ed59.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +6 -6
- package/dist/cjs/ion-app_8.cjs.entry.js +17 -18
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -13
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +5 -5
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -15
- package/dist/cjs/ion-datetime_3.cjs.entry.js +55 -173
- package/dist/cjs/ion-fab_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +8 -88
- package/dist/cjs/ion-item-option_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +22 -22
- package/dist/cjs/ion-loading.cjs.entry.js +6 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +31 -26
- package/dist/cjs/ion-modal.cjs.entry.js +11 -28
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +106 -0
- package/dist/cjs/{ion-picker-column-internal.cjs.entry.js → ion-picker-column.cjs.entry.js} +105 -89
- package/dist/cjs/{ion-picker-internal.cjs.entry.js → ion-picker.cjs.entry.js} +30 -23
- package/dist/cjs/ion-popover.cjs.entry.js +5 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +7 -76
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +73 -164
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +26 -16
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -67
- package/dist/cjs/ion-toast.cjs.entry.js +14 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +7 -63
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-330df245.js → overlays-8f32c4ca.js} +11 -4
- package/dist/cjs/{swipe-back-8411f044.js → swipe-back-f93021d8.js} +2 -2
- package/dist/collection/collection-manifest.json +7 -6
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -26
- package/dist/collection/components/action-sheet/action-sheet.ios.css +16 -9
- package/dist/collection/components/action-sheet/action-sheet.js +2 -2
- package/dist/collection/components/action-sheet/action-sheet.md.css +10 -3
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +23 -14
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +19 -0
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +22 -0
- package/dist/collection/components/alert/alert.ios.css +33 -80
- package/dist/collection/components/alert/alert.md.css +25 -121
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +22 -9
- package/dist/collection/components/back-button/back-button.ios.css +1 -1
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +21 -0
- package/dist/collection/components/backdrop/backdrop.js +1 -13
- package/dist/collection/components/badge/badge.ios.css +1 -1
- package/dist/collection/components/badge/badge.md.css +1 -1
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +18 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +9 -9
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +9 -9
- package/dist/collection/components/button/button.ios.css +11 -11
- package/dist/collection/components/button/button.md.css +9 -9
- package/dist/collection/components/button/test/a11y/button.e2e.js +48 -0
- package/dist/collection/components/button/test/wrap/button.e2e.js +12 -24
- package/dist/collection/components/card/card.ios.css +1 -1
- package/dist/collection/components/card/card.md.css +1 -1
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +1 -1
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +1 -1
- package/dist/collection/components/card-title/card-title.md.css +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +8 -26
- package/dist/collection/components/checkbox/checkbox.md.css +5 -24
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +11 -2
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +10 -0
- package/dist/collection/components/content/content.css +0 -4
- package/dist/collection/components/content/content.js +3 -4
- package/dist/collection/components/datetime/datetime.ios.css +105 -117
- package/dist/collection/components/datetime/datetime.js +31 -166
- package/dist/collection/components/datetime/datetime.md.css +106 -114
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +6 -9
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +8 -77
- package/dist/collection/components/datetime/test/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +4 -4
- package/dist/collection/components/datetime/test/format.spec.js +1 -65
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +6 -6
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +43 -41
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +4 -4
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +15 -12
- package/dist/collection/components/datetime/utils/data.js +1 -1
- package/dist/collection/components/datetime/utils/format.js +20 -28
- package/dist/collection/components/datetime-button/datetime-button.ios.css +107 -0
- package/dist/collection/components/datetime-button/datetime-button.js +14 -15
- package/dist/collection/components/datetime-button/{datetime-button.css → datetime-button.md.css} +10 -7
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +12 -66
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.ios.css +7 -7
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-button/fab-button.md.css +1 -1
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +50 -0
- package/dist/collection/components/fab-list/fab-list.css +4 -42
- 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.js +2 -2
- 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.ios.css +3 -3
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +3 -3
- package/dist/collection/components/input/input.ios.css +11 -104
- package/dist/collection/components/input/input.js +6 -144
- package/dist/collection/components/input/input.md.css +35 -216
- package/dist/collection/components/input/test/a11y/input.e2e.js +41 -3
- package/dist/collection/components/item/item.ios.css +6 -30
- package/dist/collection/components/item/item.md.css +24 -97
- package/dist/collection/components/item/test/a11y/item.e2e.js +0 -40
- package/dist/collection/components/item-divider/item-divider.ios.css +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-divider/item-divider.md.css +3 -3
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.ios.css +2 -2
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-option/item-option.md.css +1 -1
- package/dist/collection/components/item-options/item-options.ios.css +1 -1
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-options/item-options.md.css +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 +28 -0
- package/dist/collection/components/label/label.ios.css +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/label.md.css +2 -2
- package/dist/collection/components/label/test/a11y/label.e2e.js +20 -0
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/list.md.css +2 -26
- package/dist/collection/components/list-header/list-header.ios.css +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/list-header/list-header.md.css +1 -1
- package/dist/collection/components/loading/loading.ios.css +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/loading/loading.md.css +3 -3
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +21 -5
- package/dist/collection/components/menu/menu.ios.css +72 -53
- package/dist/collection/components/menu/menu.js +21 -15
- package/dist/collection/components/menu/menu.md.css +72 -53
- package/dist/collection/components/menu-button/menu-button.ios.css +1 -1
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +14 -0
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/gestures/swipe-to-close.js +1 -1
- package/dist/collection/components/modal/modal.ios.css +9 -38
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal/modal.md.css +1 -1
- package/dist/collection/components/modal/utils.js +2 -8
- package/dist/collection/components/nav/nav.js +23 -3
- package/dist/collection/components/nav/test/nav-controller.spec.js +36 -36
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.ios.css +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/note/note.md.css +1 -1
- package/dist/collection/components/picker/picker.ios.css +97 -234
- package/dist/collection/components/picker/picker.js +488 -738
- package/dist/collection/components/picker/picker.md.css +98 -226
- package/dist/collection/components/{picker-internal/test/a11y/picker-internal.e2e.js → picker/test/a11y/picker.e2e.js} +2 -2
- package/dist/collection/components/picker/test/basic/picker.e2e.js +99 -13
- package/dist/collection/components/picker/test/custom/picker.e2e.js +85 -0
- package/dist/collection/components/{picker-internal/test/keyboard-entry/picker-internal.e2e.js → picker/test/keyboard-entry/picker.e2e.js} +79 -42
- package/dist/collection/components/{picker-column-internal/picker-column-internal.md.css → picker-column/picker-column.css} +96 -83
- package/dist/collection/components/picker-column/picker-column.js +499 -335
- package/dist/collection/components/{picker-column-internal/test/basic/picker-column-internal.e2e.js → picker-column/test/basic/picker-column.e2e.js} +8 -8
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +91 -0
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +39 -0
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +87 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +173 -0
- package/dist/collection/components/{picker-column-internal/picker-column-internal.ios.css → picker-column-option/picker-column-option.md.css} +6 -53
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +18 -0
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +37 -0
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +29 -0
- package/dist/collection/components/{picker-internal/picker-internal.ios.css → picker-legacy/picker.ios.css} +155 -117
- package/dist/collection/components/picker-legacy/picker.js +811 -0
- package/dist/collection/components/{picker-internal/picker-internal.md.css → picker-legacy/picker.md.css} +144 -115
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +25 -0
- package/dist/collection/components/{picker → picker-legacy}/test/is-open/picker.e2e.js +4 -4
- package/dist/collection/components/{picker → picker-legacy}/test/picker-id.spec.js +5 -5
- package/dist/collection/components/{picker → picker-legacy}/test/trigger/picker.e2e.js +1 -1
- package/dist/collection/components/{picker-column → picker-legacy-column}/picker-column.ios.css +2 -26
- package/dist/collection/components/picker-legacy-column/picker-column.js +419 -0
- package/dist/collection/components/{picker-column → picker-legacy-column}/picker-column.md.css +3 -27
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column-aria.spec.js +3 -3
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column-dynamic.spec.js +2 -2
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column.spec.js +2 -2
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/standalone/picker-column.e2e.js +3 -3
- package/dist/collection/components/popover/popover.ios.css +3 -34
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.ios.css +17 -11
- package/dist/collection/components/progress-bar/progress-bar.js +4 -1
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -10
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +24 -0
- package/dist/collection/components/radio/radio.ios.css +10 -101
- package/dist/collection/components/radio/radio.js +5 -119
- package/dist/collection/components/radio/radio.md.css +8 -105
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +114 -81
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.ios.css +12 -81
- package/dist/collection/components/range/range.md.css +19 -135
- package/dist/collection/components/range/test/a11y/range.e2e.js +18 -8
- package/dist/collection/components/refresher/refresher.ios.css +4 -27
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher/refresher.md.css +7 -30
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +26 -0
- 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.css +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 +23 -0
- 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.ios.css +11 -59
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/searchbar/searchbar.md.css +10 -82
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +23 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +3 -3
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/segment-button/segment-button.md.css +2 -2
- package/dist/collection/components/select/select.ios.css +10 -81
- package/dist/collection/components/select/select.js +64 -173
- package/dist/collection/components/select/select.md.css +38 -169
- package/dist/collection/components/select/test/a11y/select.e2e.js +68 -4
- 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/select-popover.md.css +4 -4
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +32 -0
- 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.ios.css +3 -55
- package/dist/collection/components/split-pane/split-pane.js +48 -14
- package/dist/collection/components/split-pane/split-pane.md.css +3 -55
- package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +41 -0
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.ios.css +4 -4
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.md.css +3 -3
- package/dist/collection/components/tab-button/tab-button.ios.css +16 -94
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tab-button/tab-button.md.css +10 -93
- 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 +41 -3
- package/dist/collection/components/textarea/textarea.ios.css +13 -103
- package/dist/collection/components/textarea/textarea.js +5 -84
- package/dist/collection/components/textarea/textarea.md.css +37 -226
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.ios.css +2 -21
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +89 -24
- package/dist/collection/components/toast/toast.ios.css +8 -55
- package/dist/collection/components/toast/toast.js +9 -3
- package/dist/collection/components/toast/toast.md.css +10 -57
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +8 -2
- package/dist/collection/components/toggle/toggle.ios.css +11 -90
- package/dist/collection/components/toggle/toggle.js +5 -101
- package/dist/collection/components/toggle/toggle.md.css +6 -91
- package/dist/collection/components/toolbar/toolbar.ios.css +2 -2
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/components/toolbar/toolbar.md.css +1 -1
- package/dist/collection/css/test/a11y/typography.e2e.js +18 -0
- package/dist/collection/themes/test/colors/theme.e2e.js +170 -0
- package/dist/collection/utils/gesture/button-active.js +1 -1
- package/dist/collection/utils/gesture/gesture-controller.js +1 -1
- package/dist/collection/utils/native/status-bar.js +0 -11
- package/dist/collection/utils/overlays.js +11 -4
- package/dist/collection/utils/test/aria.spec.js +2 -1
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +65 -0
- package/dist/collection/utils/test/playwright/generator.js +1 -0
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -1
- package/dist/docs.json +551 -308
- package/dist/esm/{button-active-4bee452c.js → button-active-35dc239f.js} +2 -2
- package/dist/esm/{data-25d50209.js → data-691286f1.js} +39 -29
- package/dist/esm/{gesture-controller-1bf57181.js → gesture-controller-314a54f6.js} +1 -1
- package/dist/esm/{index-2cf77112.js → index-39782642.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +6 -6
- package/dist/esm/ion-app_8.entry.js +17 -18
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-backdrop.entry.js +1 -13
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +5 -5
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +14 -15
- package/dist/esm/ion-datetime_3.entry.js +54 -172
- package/dist/esm/ion-fab_3.entry.js +9 -9
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +8 -88
- package/dist/esm/ion-item-option_3.entry.js +9 -9
- package/dist/esm/ion-item_8.entry.js +22 -22
- package/dist/esm/ion-loading.entry.js +6 -5
- package/dist/esm/ion-menu_3.entry.js +31 -26
- package/dist/esm/ion-modal.entry.js +11 -28
- package/dist/esm/ion-nav_2.entry.js +8 -5
- package/dist/esm/ion-picker-column-option.entry.js +102 -0
- package/dist/esm/{ion-picker-column-internal.entry.js → ion-picker-column.entry.js} +105 -89
- package/dist/esm/{ion-picker-internal.entry.js → ion-picker.entry.js} +30 -23
- package/dist/esm/ion-popover.entry.js +5 -4
- package/dist/esm/ion-progress-bar.entry.js +6 -3
- package/dist/esm/ion-radio_2.entry.js +8 -77
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +7 -7
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +71 -162
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +26 -16
- package/dist/esm/ion-tab-bar_2.entry.js +8 -8
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +8 -68
- package/dist/esm/ion-toast.entry.js +15 -9
- package/dist/esm/ion-toggle.entry.js +8 -64
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-33ae3ea0.js → overlays-2d8629c6.js} +11 -4
- package/dist/esm/{swipe-back-c06602f2.js → swipe-back-7f7620ca.js} +2 -2
- package/dist/esm-es5/button-active-35dc239f.js +4 -0
- package/dist/esm-es5/data-691286f1.js +4 -0
- package/dist/esm-es5/{gesture-controller-1bf57181.js → gesture-controller-314a54f6.js} +1 -1
- package/dist/esm-es5/{index-2cf77112.js → index-39782642.js} +1 -1
- package/dist/esm-es5/index.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-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 +4 -0
- package/dist/esm-es5/ion-picker-column.entry.js +4 -0
- package/dist/esm-es5/ion-picker.entry.js +4 -0
- 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.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlays-2d8629c6.js +4 -0
- package/dist/esm-es5/{swipe-back-c06602f2.js → swipe-back-7f7620ca.js} +1 -1
- package/dist/html.html-data.json +152 -29
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-3a98f8db.entry.js → p-02bf61be.entry.js} +1 -1
- package/dist/ionic/p-0a90cc4d.system.entry.js +4 -0
- package/dist/ionic/p-0b955124.system.js +1 -1
- package/dist/ionic/p-0bc978ee.entry.js +4 -0
- package/dist/ionic/{p-cdc277a6.js → p-0d25b742.js} +1 -1
- package/dist/ionic/p-115d351a.entry.js +4 -0
- package/dist/ionic/{p-6f38d0c5.system.entry.js → p-156299c1.system.entry.js} +1 -1
- package/dist/ionic/p-158e5d3f.entry.js +4 -0
- package/dist/ionic/p-19385313.entry.js +4 -0
- package/dist/ionic/p-1b8684c2.system.entry.js +4 -0
- package/dist/ionic/p-1c6bc252.system.entry.js +4 -0
- package/dist/ionic/{p-aa7ae6aa.entry.js → p-1d1ef635.entry.js} +1 -1
- package/dist/ionic/p-1dc24d13.system.entry.js +4 -0
- package/dist/ionic/{p-c7c8429a.system.js → p-20d469d0.system.js} +1 -1
- package/dist/ionic/p-2203ea50.system.entry.js +4 -0
- package/dist/ionic/p-229d211f.entry.js +4 -0
- package/dist/ionic/p-23771339.entry.js +4 -0
- package/dist/ionic/p-2581c0b4.system.entry.js +4 -0
- package/dist/ionic/p-2aa9dbb1.entry.js +4 -0
- package/dist/ionic/p-2b17eb06.entry.js +4 -0
- package/dist/ionic/p-2f6b3478.system.entry.js +4 -0
- package/dist/ionic/p-2fbf97f4.system.entry.js +4 -0
- package/dist/ionic/p-3348d9b6.entry.js +4 -0
- package/dist/ionic/p-336ef060.entry.js +4 -0
- package/dist/ionic/{p-0e29919c.system.entry.js → p-364fd2ae.system.entry.js} +1 -1
- package/dist/ionic/{p-92c2178e.system.entry.js → p-3db5b566.system.entry.js} +1 -1
- package/dist/ionic/{p-31b2326e.system.js → p-3e1e14d9.system.js} +1 -1
- package/dist/ionic/{p-df281664.system.entry.js → p-416b7011.system.entry.js} +2 -2
- package/dist/ionic/p-41cd4e22.system.entry.js +4 -0
- package/dist/ionic/p-44ba1907.system.entry.js +4 -0
- package/dist/ionic/p-46e78ed6.entry.js +4 -0
- package/dist/ionic/{p-eda7a1db.system.entry.js → p-48346946.system.entry.js} +1 -1
- package/dist/ionic/p-49cbf8ca.entry.js +4 -0
- package/dist/ionic/p-50b79c48.entry.js +4 -0
- package/dist/ionic/p-5289aade.js +4 -0
- package/dist/ionic/p-54908979.entry.js +4 -0
- package/dist/ionic/p-5642acf7.system.entry.js +4 -0
- package/dist/ionic/{p-1c531ca2.entry.js → p-590ecff0.entry.js} +1 -1
- package/dist/ionic/p-5f739516.system.js +4 -0
- package/dist/ionic/{p-400574bf.entry.js → p-6028d77a.entry.js} +1 -1
- package/dist/ionic/p-66e6860f.system.js +4 -0
- package/dist/ionic/{p-8a671f16.entry.js → p-68211d11.entry.js} +1 -1
- package/dist/ionic/p-6ac84217.entry.js +4 -0
- package/dist/ionic/p-6b1b24df.entry.js +4 -0
- package/dist/ionic/p-6c48dd91.system.js +4 -0
- package/dist/ionic/p-6e7f5166.entry.js +4 -0
- package/dist/ionic/p-6e8d0527.system.entry.js +4 -0
- package/dist/ionic/p-6ea89932.js +4 -0
- package/dist/ionic/{p-bc2c03d7.system.entry.js → p-6f5c2ebd.system.entry.js} +1 -1
- package/dist/ionic/{p-fe92da17.entry.js → p-73fef0c6.entry.js} +1 -1
- package/dist/ionic/p-743030ee.entry.js +4 -0
- package/dist/ionic/{p-a2ad515b.entry.js → p-77cf63b4.entry.js} +1 -1
- package/dist/ionic/{p-d95c8e90.entry.js → p-78aade1a.entry.js} +1 -1
- package/dist/ionic/p-7d6c9121.entry.js +4 -0
- package/dist/ionic/p-7e230af6.entry.js +4 -0
- package/dist/ionic/p-7efa91b5.entry.js +4 -0
- package/dist/ionic/p-7f90cee1.entry.js +4 -0
- package/dist/ionic/p-814129a1.system.entry.js +4 -0
- package/dist/ionic/p-814aa0b4.system.entry.js +4 -0
- package/dist/ionic/p-892757c2.system.entry.js +4 -0
- package/dist/ionic/p-8aecc954.system.entry.js +4 -0
- package/dist/ionic/{p-f5d2dc9b.js → p-8ededb41.js} +1 -1
- package/dist/ionic/p-90149377.system.entry.js +4 -0
- package/dist/ionic/p-90fcbf72.js +4 -0
- package/dist/ionic/p-95861049.entry.js +4 -0
- package/dist/ionic/p-9954f160.entry.js +4 -0
- package/dist/ionic/p-9a71fceb.system.entry.js +4 -0
- package/dist/ionic/{p-bb3615f7.js → p-9b97df10.js} +1 -1
- package/dist/ionic/p-9c69a78d.system.entry.js +4 -0
- package/dist/ionic/p-9d10df75.system.entry.js +4 -0
- package/dist/ionic/{p-97eca294.entry.js → p-9ff0b9d7.entry.js} +1 -1
- package/dist/ionic/{p-fd9a9db3.system.js → p-a0da38e6.system.js} +1 -1
- package/dist/ionic/p-a53d820e.system.entry.js +4 -0
- package/dist/ionic/{p-9a6ab80a.system.entry.js → p-a69ca607.system.entry.js} +1 -1
- package/dist/ionic/p-a6a15217.system.entry.js +4 -0
- package/dist/ionic/p-ab722722.system.entry.js +4 -0
- package/dist/ionic/p-ab782835.system.entry.js +4 -0
- package/dist/ionic/p-aca86637.system.entry.js +4 -0
- package/dist/ionic/{p-d8607ede.entry.js → p-aeb2bfc4.entry.js} +1 -1
- package/dist/ionic/p-b0ba9ea5.entry.js +4 -0
- package/dist/ionic/p-b17f058b.system.js +4 -0
- package/dist/ionic/{p-2f66e177.system.entry.js → p-b46bdb73.system.entry.js} +1 -1
- package/dist/ionic/{p-1f6cdf2c.system.entry.js → p-b853d98f.system.entry.js} +1 -1
- package/dist/ionic/p-b8e465da.system.entry.js +4 -0
- package/dist/ionic/p-ba7347c4.entry.js +4 -0
- package/dist/ionic/{p-20a6513f.system.entry.js → p-c2938ad7.system.entry.js} +2 -2
- package/dist/ionic/p-c8f93816.system.entry.js +4 -0
- package/dist/ionic/p-c994c528.system.entry.js +4 -0
- package/dist/ionic/p-ce1cf1e0.system.entry.js +4 -0
- package/dist/ionic/p-d2670dd3.entry.js +4 -0
- package/dist/ionic/{p-efe9180b.entry.js → p-d9310104.entry.js} +1 -1
- package/dist/ionic/p-dd2392f1.entry.js +4 -0
- package/dist/ionic/{p-0eef8b34.system.entry.js → p-dd79d499.system.entry.js} +1 -1
- package/dist/ionic/{p-ac20160b.system.entry.js → p-e1386ddc.system.entry.js} +1 -1
- package/dist/ionic/p-e3c13a24.system.entry.js +4 -0
- package/dist/ionic/p-e4162cae.entry.js +4 -0
- package/dist/ionic/{p-ce2eabd5.entry.js → p-e45248be.entry.js} +1 -1
- package/dist/ionic/p-e88ae7f0.system.entry.js +4 -0
- package/dist/ionic/p-ec4e0057.entry.js +4 -0
- package/dist/ionic/p-ef065e0d.system.entry.js +4 -0
- package/dist/ionic/p-f3c1bbcb.entry.js +4 -0
- package/dist/ionic/p-f7d618b7.entry.js +4 -0
- package/dist/ionic/{p-a051c371.entry.js → p-f83192d4.entry.js} +1 -1
- package/dist/ionic/p-faea6b57.entry.js +4 -0
- package/dist/ionic/p-fe990e42.system.entry.js +4 -0
- package/dist/ionic/{p-7c32fb95.system.entry.js → p-ffee8d11.system.entry.js} +1 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +8 -0
- package/dist/types/components/backdrop/backdrop.d.ts +0 -3
- package/dist/types/components/datetime/datetime-interface.d.ts +0 -10
- package/dist/types/components/datetime/datetime.d.ts +1 -17
- package/dist/types/components/datetime/utils/data.d.ts +11 -7
- package/dist/types/components/datetime/utils/format.d.ts +1 -7
- package/dist/types/components/input/input.d.ts +0 -26
- package/dist/types/components/menu/menu.d.ts +12 -2
- package/dist/types/components/modal/utils.d.ts +0 -4
- package/dist/types/components/nav/nav.d.ts +4 -1
- package/dist/types/components/picker/picker-interfaces.d.ts +8 -0
- package/dist/types/components/picker/picker.d.ts +75 -129
- package/dist/types/components/picker-column/picker-column-interfaces.d.ts +4 -0
- package/dist/types/components/picker-column/picker-column.d.ts +99 -39
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +66 -0
- package/dist/types/components/picker-legacy/picker.d.ts +158 -0
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +46 -0
- package/dist/types/components/radio/radio.d.ts +1 -24
- package/dist/types/components/select/select.d.ts +0 -15
- package/dist/types/components/split-pane/split-pane.d.ts +14 -2
- package/dist/types/components/textarea/textarea.d.ts +0 -17
- package/dist/types/components/toast/toast-interface.d.ts +0 -4
- package/dist/types/components/toggle/toggle.d.ts +1 -21
- package/dist/types/components.d.ts +161 -186
- package/dist/types/interface.d.ts +1 -1
- package/dist/types/utils/config.d.ts +2 -2
- package/dist/types/utils/gesture/gesture-controller.d.ts +1 -0
- package/dist/types/utils/native/status-bar.d.ts +0 -1
- package/dist/types/utils/overlays.d.ts +5 -2
- package/dist/types/utils/test/playwright/generator.d.ts +3 -1
- package/hydrate/index.js +1736 -2073
- package/package.json +1 -1
- package/components/ion-picker-column-internal.d.ts +0 -11
- package/components/ion-picker-column-internal.js +0 -9
- package/components/ion-picker-internal.js +0 -9
- package/components/picker-column-internal.js +0 -392
- package/dist/collection/components/input/test/item/input.spec.js +0 -24
- package/dist/collection/components/input/test/legacy/a11y/input.e2e.js +0 -28
- package/dist/collection/components/input/test/legacy/basic/input.e2e.js +0 -181
- package/dist/collection/components/input/test/legacy/clear-on-edit/input.e2e.js +0 -55
- package/dist/collection/components/input/test/legacy/input-events.e2e.js +0 -71
- package/dist/collection/components/input/test/legacy/masking/input.e2e.js +0 -26
- package/dist/collection/components/input/test/legacy/spec/input.e2e.js +0 -16
- package/dist/collection/components/item/test/counter/item.e2e.js +0 -49
- package/dist/collection/components/item/test/highlight/item.e2e.js +0 -14
- package/dist/collection/components/item/test/legacy/alignment/item.e2e.js +0 -14
- package/dist/collection/components/item/test/legacy/fill/item.e2e.js +0 -14
- package/dist/collection/components/item/test/legacy/form/item.e2e.js +0 -14
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +0 -566
- package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +0 -162
- package/dist/collection/components/picker-internal/picker-internal.js +0 -560
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +0 -118
- package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +0 -53
- package/dist/collection/components/radio/test/legacy/basic/radio.e2e.js +0 -127
- package/dist/collection/components/radio-group/test/legacy/basic/radio-group.e2e.js +0 -122
- package/dist/collection/components/radio-group/test/legacy/form/radio-group.e2e.js +0 -30
- package/dist/collection/components/radio-group/test/legacy/search/radio-group.e2e.js +0 -38
- package/dist/collection/components/select/test/legacy/async/select.e2e.js +0 -19
- package/dist/collection/components/select/test/legacy/basic/select.e2e.js +0 -145
- package/dist/collection/components/select/test/legacy/compare-with/select.e2e.js +0 -67
- package/dist/collection/components/select/test/legacy/custom/custom.e2e.js +0 -13
- package/dist/collection/components/select/test/legacy/single-value/select.e2e.js +0 -16
- package/dist/collection/components/select/test/legacy/spec/select.e2e.js +0 -14
- package/dist/collection/components/select/test/legacy/standalone/select.e2e.js +0 -18
- package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +0 -39
- package/dist/collection/components/textarea/test/legacy/a11y/textarea.e2e.js +0 -31
- package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +0 -58
- package/dist/collection/components/textarea/test/legacy/basic/textarea.e2e.js +0 -43
- package/dist/collection/components/textarea/test/legacy/clear-on-edit/textarea.e2e.js +0 -25
- package/dist/collection/components/toggle/test/legacy/basic/toggle.e2e.js +0 -83
- package/dist/collection/components/toggle/test/legacy/enable-on-off-labels/toggle.e2e.js +0 -37
- package/dist/collection/components/toggle/test/legacy/sizes/power-outline.svg +0 -1
- package/dist/collection/components/toggle/test/legacy/sizes/toggle.e2e.js +0 -14
- package/dist/esm-es5/button-active-4bee452c.js +0 -4
- package/dist/esm-es5/data-25d50209.js +0 -4
- package/dist/esm-es5/ion-picker-column-internal.entry.js +0 -4
- package/dist/esm-es5/ion-picker-internal.entry.js +0 -4
- package/dist/esm-es5/overlays-33ae3ea0.js +0 -4
- package/dist/ionic/p-016976a7.system.entry.js +0 -4
- package/dist/ionic/p-078fd095.system.entry.js +0 -4
- package/dist/ionic/p-0ae25399.system.entry.js +0 -4
- package/dist/ionic/p-0fd295ef.system.entry.js +0 -4
- package/dist/ionic/p-108f730a.entry.js +0 -4
- package/dist/ionic/p-1f583f73.entry.js +0 -4
- package/dist/ionic/p-20f7a91e.system.entry.js +0 -4
- package/dist/ionic/p-26138fed.js +0 -4
- package/dist/ionic/p-2da0a76c.entry.js +0 -4
- package/dist/ionic/p-30c9e049.system.entry.js +0 -4
- package/dist/ionic/p-333f06ed.entry.js +0 -4
- package/dist/ionic/p-389ff4d2.system.entry.js +0 -4
- package/dist/ionic/p-396c1a55.entry.js +0 -4
- package/dist/ionic/p-3a54c070.system.entry.js +0 -4
- package/dist/ionic/p-3cdbaa49.entry.js +0 -4
- package/dist/ionic/p-48af4316.system.entry.js +0 -4
- package/dist/ionic/p-4c256bc2.system.entry.js +0 -4
- package/dist/ionic/p-4dfc27eb.system.entry.js +0 -4
- package/dist/ionic/p-51f08a9f.entry.js +0 -4
- package/dist/ionic/p-5b6aa59a.entry.js +0 -4
- package/dist/ionic/p-5e60dbc8.entry.js +0 -4
- package/dist/ionic/p-5eea8b4c.system.js +0 -4
- package/dist/ionic/p-5f456b3c.system.entry.js +0 -4
- package/dist/ionic/p-61c0f8bf.system.entry.js +0 -4
- package/dist/ionic/p-680f96e8.system.entry.js +0 -4
- package/dist/ionic/p-68ae6719.system.entry.js +0 -4
- package/dist/ionic/p-6a34980d.entry.js +0 -4
- package/dist/ionic/p-6b02edd6.js +0 -4
- package/dist/ionic/p-70026e8f.system.entry.js +0 -4
- package/dist/ionic/p-776b144b.system.js +0 -4
- package/dist/ionic/p-78edc0cd.system.entry.js +0 -4
- package/dist/ionic/p-7c5e8706.entry.js +0 -4
- package/dist/ionic/p-7dc7514a.entry.js +0 -4
- package/dist/ionic/p-84513dfb.entry.js +0 -4
- package/dist/ionic/p-84879f61.system.entry.js +0 -4
- package/dist/ionic/p-8569d759.system.entry.js +0 -4
- package/dist/ionic/p-87ae4f6c.system.entry.js +0 -4
- package/dist/ionic/p-8e16390d.system.js +0 -4
- package/dist/ionic/p-8ebd9951.entry.js +0 -4
- package/dist/ionic/p-9beb5039.system.js +0 -4
- package/dist/ionic/p-9f5b40c0.system.entry.js +0 -4
- package/dist/ionic/p-9f6397ce.entry.js +0 -4
- package/dist/ionic/p-a02b2d75.entry.js +0 -4
- package/dist/ionic/p-a19f5ae1.entry.js +0 -4
- package/dist/ionic/p-a1bfaa5c.system.entry.js +0 -4
- package/dist/ionic/p-aaa4ffb3.system.entry.js +0 -4
- package/dist/ionic/p-ac979ebf.system.entry.js +0 -4
- package/dist/ionic/p-b37e4ee5.system.entry.js +0 -4
- package/dist/ionic/p-b498de69.entry.js +0 -4
- package/dist/ionic/p-b96699d3.system.entry.js +0 -4
- package/dist/ionic/p-c3790581.entry.js +0 -4
- package/dist/ionic/p-c851b204.system.entry.js +0 -4
- package/dist/ionic/p-ccd419ae.entry.js +0 -4
- package/dist/ionic/p-cd055d60.system.entry.js +0 -4
- package/dist/ionic/p-d7260b87.entry.js +0 -4
- package/dist/ionic/p-d74ca358.entry.js +0 -4
- package/dist/ionic/p-dbb4c012.entry.js +0 -4
- package/dist/ionic/p-dce9bc53.entry.js +0 -4
- package/dist/ionic/p-df468a8f.entry.js +0 -4
- package/dist/ionic/p-e68980ff.system.entry.js +0 -4
- package/dist/ionic/p-e6aaff14.system.entry.js +0 -4
- package/dist/ionic/p-ea8fbf09.entry.js +0 -4
- package/dist/ionic/p-f1ad3b3d.entry.js +0 -4
- package/dist/ionic/p-f1cc690e.entry.js +0 -4
- package/dist/ionic/p-f46775e4.entry.js +0 -4
- package/dist/ionic/p-f74afe3b.entry.js +0 -4
- package/dist/ionic/p-f7b43141.system.entry.js +0 -4
- package/dist/ionic/p-f88dd429.entry.js +0 -4
- package/dist/ionic/p-f89ae259.js +0 -4
- package/dist/ionic/p-f97b9cdd.system.entry.js +0 -4
- package/dist/ionic/p-fd3f475f.entry.js +0 -4
- package/dist/types/components/picker-column-internal/picker-column-internal-interfaces.d.ts +0 -5
- package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +0 -102
- package/dist/types/components/picker-internal/picker-internal-interfaces.d.ts +0 -8
- package/dist/types/components/picker-internal/picker-internal.d.ts +0 -102
- /package/dist/collection/components/{picker-internal/picker-internal-interfaces.js → picker/picker-interfaces.js} +0 -0
- /package/dist/collection/components/{picker-column-internal/picker-column-internal-interfaces.js → picker-column/picker-column-interfaces.js} +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/animations/ios.enter.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/animations/ios.leave.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/picker-interface.js +0 -0
- /package/dist/collection/components/{picker-column → picker-legacy-column}/test/test.utils.js +0 -0
- /package/dist/types/components/{picker → picker-legacy}/animations/ios.enter.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/animations/ios.leave.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/picker-interface.d.ts +0 -0
- /package/dist/types/components/{picker-column → picker-legacy-column}/test/test.utils.d.ts +0 -0
|
@@ -102,27 +102,8 @@
|
|
|
102
102
|
z-index: 1001;
|
|
103
103
|
pointer-events: none;
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
:
|
|
107
|
-
inset-inline-start: 0;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
@supports not (inset-inline-start: 0) {
|
|
111
|
-
:host {
|
|
112
|
-
left: 0;
|
|
113
|
-
}
|
|
114
|
-
:host-context([dir=rtl]) {
|
|
115
|
-
left: unset;
|
|
116
|
-
right: unset;
|
|
117
|
-
right: 0;
|
|
118
|
-
}
|
|
119
|
-
@supports selector(:dir(rtl)) {
|
|
120
|
-
:host(:dir(rtl)) {
|
|
121
|
-
left: unset;
|
|
122
|
-
right: unset;
|
|
123
|
-
right: 0;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
105
|
+
:host {
|
|
106
|
+
inset-inline-start: 0;
|
|
126
107
|
}
|
|
127
108
|
|
|
128
109
|
:host(.overlay-hidden) {
|
|
@@ -156,37 +137,9 @@
|
|
|
156
137
|
background: var(--background);
|
|
157
138
|
box-shadow: var(--box-shadow);
|
|
158
139
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
inset-inline-end: var(--end);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
@supports not (inset-inline-start: 0) {
|
|
166
|
-
.toast-wrapper {
|
|
167
|
-
left: var(--start);
|
|
168
|
-
right: var(--end);
|
|
169
|
-
}
|
|
170
|
-
:host-context([dir=rtl]) .toast-wrapper {
|
|
171
|
-
left: unset;
|
|
172
|
-
right: unset;
|
|
173
|
-
left: var(--end);
|
|
174
|
-
right: var(--start);
|
|
175
|
-
}
|
|
176
|
-
[dir=rtl] .toast-wrapper {
|
|
177
|
-
left: unset;
|
|
178
|
-
right: unset;
|
|
179
|
-
left: var(--end);
|
|
180
|
-
right: var(--start);
|
|
181
|
-
}
|
|
182
|
-
@supports selector(:dir(rtl)) {
|
|
183
|
-
.toast-wrapper:dir(rtl) {
|
|
184
|
-
left: unset;
|
|
185
|
-
right: unset;
|
|
186
|
-
left: var(--end);
|
|
187
|
-
right: var(--start);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
140
|
+
.toast-wrapper {
|
|
141
|
+
inset-inline-start: var(--start);
|
|
142
|
+
inset-inline-end: var(--end);
|
|
190
143
|
}
|
|
191
144
|
|
|
192
145
|
.toast-wrapper.toast-top {
|
|
@@ -321,10 +274,10 @@
|
|
|
321
274
|
* }
|
|
322
275
|
*/
|
|
323
276
|
:host {
|
|
324
|
-
--background: var(--ion-color-step-50, #f2f2f2);
|
|
277
|
+
--background: var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));
|
|
325
278
|
--border-radius: 14px;
|
|
326
|
-
--button-color: var(--ion-color-primary, #
|
|
327
|
-
--color: var(--ion-color-step-850, #262626);
|
|
279
|
+
--button-color: var(--ion-color-primary, #0054e9);
|
|
280
|
+
--color: var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));
|
|
328
281
|
--max-width: 700px;
|
|
329
282
|
--max-height: 478px;
|
|
330
283
|
--start: 10px;
|
|
@@ -384,9 +384,9 @@ export class Toast {
|
|
|
384
384
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
385
385
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
386
386
|
}
|
|
387
|
-
return (h(Host, Object.assign({ key: '
|
|
387
|
+
return (h(Host, Object.assign({ key: '9575ee7d0195f7f2a95486d4b193beb58d966941', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
388
388
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
389
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
389
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: 'cf152835fe8d8cc499214443b5fa23bf5ef076a1', class: wrapperClass }, h("div", { key: 'c0d331df574399e541fcefb3987777692be10e6c', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '3d6ffa739935f5c92d81ccaccb673cb46b794472', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
390
390
|
}
|
|
391
391
|
static get is() { return "ion-toast"; }
|
|
392
392
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1127,7 +1127,13 @@ export class Toast {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
1129
|
const buttonClass = (button) => {
|
|
1130
|
-
return
|
|
1130
|
+
return {
|
|
1131
|
+
'toast-button': true,
|
|
1132
|
+
'toast-button-icon-only': button.icon !== undefined && button.text === undefined,
|
|
1133
|
+
[`toast-button-${button.role}`]: button.role !== undefined,
|
|
1134
|
+
'ion-focusable': true,
|
|
1135
|
+
'ion-activatable': true,
|
|
1136
|
+
};
|
|
1131
1137
|
};
|
|
1132
1138
|
const buttonPart = (button) => {
|
|
1133
1139
|
return isCancel(button.role) ? 'button cancel' : 'button';
|
|
@@ -102,27 +102,8 @@
|
|
|
102
102
|
z-index: 1001;
|
|
103
103
|
pointer-events: none;
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
:
|
|
107
|
-
inset-inline-start: 0;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
@supports not (inset-inline-start: 0) {
|
|
111
|
-
:host {
|
|
112
|
-
left: 0;
|
|
113
|
-
}
|
|
114
|
-
:host-context([dir=rtl]) {
|
|
115
|
-
left: unset;
|
|
116
|
-
right: unset;
|
|
117
|
-
right: 0;
|
|
118
|
-
}
|
|
119
|
-
@supports selector(:dir(rtl)) {
|
|
120
|
-
:host(:dir(rtl)) {
|
|
121
|
-
left: unset;
|
|
122
|
-
right: unset;
|
|
123
|
-
right: 0;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
105
|
+
:host {
|
|
106
|
+
inset-inline-start: 0;
|
|
126
107
|
}
|
|
127
108
|
|
|
128
109
|
:host(.overlay-hidden) {
|
|
@@ -156,37 +137,9 @@
|
|
|
156
137
|
background: var(--background);
|
|
157
138
|
box-shadow: var(--box-shadow);
|
|
158
139
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
inset-inline-end: var(--end);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
@supports not (inset-inline-start: 0) {
|
|
166
|
-
.toast-wrapper {
|
|
167
|
-
left: var(--start);
|
|
168
|
-
right: var(--end);
|
|
169
|
-
}
|
|
170
|
-
:host-context([dir=rtl]) .toast-wrapper {
|
|
171
|
-
left: unset;
|
|
172
|
-
right: unset;
|
|
173
|
-
left: var(--end);
|
|
174
|
-
right: var(--start);
|
|
175
|
-
}
|
|
176
|
-
[dir=rtl] .toast-wrapper {
|
|
177
|
-
left: unset;
|
|
178
|
-
right: unset;
|
|
179
|
-
left: var(--end);
|
|
180
|
-
right: var(--start);
|
|
181
|
-
}
|
|
182
|
-
@supports selector(:dir(rtl)) {
|
|
183
|
-
.toast-wrapper:dir(rtl) {
|
|
184
|
-
left: unset;
|
|
185
|
-
right: unset;
|
|
186
|
-
left: var(--end);
|
|
187
|
-
right: var(--start);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
140
|
+
.toast-wrapper {
|
|
141
|
+
inset-inline-start: var(--start);
|
|
142
|
+
inset-inline-end: var(--end);
|
|
190
143
|
}
|
|
191
144
|
|
|
192
145
|
.toast-wrapper.toast-top {
|
|
@@ -321,11 +274,11 @@
|
|
|
321
274
|
* }
|
|
322
275
|
*/
|
|
323
276
|
:host {
|
|
324
|
-
--background: var(--ion-color-step-800, #333333);
|
|
277
|
+
--background: var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));
|
|
325
278
|
--border-radius: 4px;
|
|
326
279
|
--box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
|
|
327
|
-
--button-color: var(--ion-color-primary, #
|
|
328
|
-
--color: var(--ion-color-step-50, #f2f2f2);
|
|
280
|
+
--button-color: var(--ion-color-primary, #0054e9);
|
|
281
|
+
--color: var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));
|
|
329
282
|
--max-width: 700px;
|
|
330
283
|
--start: 8px;
|
|
331
284
|
--end: 8px;
|
|
@@ -404,7 +357,7 @@
|
|
|
404
357
|
}
|
|
405
358
|
|
|
406
359
|
.toast-button-cancel {
|
|
407
|
-
color: var(--ion-color-step-100, #e6e6e6);
|
|
360
|
+
color: var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6));
|
|
408
361
|
}
|
|
409
362
|
|
|
410
363
|
.toast-button-icon-only {
|
|
@@ -421,7 +374,7 @@
|
|
|
421
374
|
|
|
422
375
|
@media (any-hover: hover) {
|
|
423
376
|
.toast-button:hover {
|
|
424
|
-
background-color: rgba(var(--ion-color-primary-rgb,
|
|
377
|
+
background-color: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);
|
|
425
378
|
}
|
|
426
379
|
.toast-button-cancel:hover {
|
|
427
380
|
background-color: rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08);
|
|
@@ -4,10 +4,16 @@
|
|
|
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({
|
|
7
|
+
configs({ directions: ['ltr'], themes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
8
8
|
test.describe(title('toggle: a11y'), () => {
|
|
9
9
|
test('should not have accessibility violations', async ({ page }) => {
|
|
10
|
-
await page.
|
|
10
|
+
await page.setContent(`
|
|
11
|
+
<main>
|
|
12
|
+
<ion-toggle>my label</ion-toggle>
|
|
13
|
+
<ion-toggle aria-label="my aria label"></ion-toggle>
|
|
14
|
+
<ion-toggle checked="true">Checked</ion-toggle>
|
|
15
|
+
</main>
|
|
16
|
+
`, config);
|
|
11
17
|
const results = await new AxeBuilder({ page }).analyze();
|
|
12
18
|
expect(results.violations).toEqual([]);
|
|
13
19
|
});
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
z-index: 2;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
:host(.in-item
|
|
84
|
+
:host(.in-item) {
|
|
85
85
|
width: 100%;
|
|
86
86
|
height: 100%;
|
|
87
87
|
}
|
|
@@ -92,16 +92,11 @@
|
|
|
92
92
|
* toolbar which is why we do not
|
|
93
93
|
* limit the below behavior to just ion-item.
|
|
94
94
|
*/
|
|
95
|
-
:host([slot=start]
|
|
96
|
-
:host([slot=end]
|
|
95
|
+
:host([slot=start]),
|
|
96
|
+
:host([slot=end]) {
|
|
97
97
|
width: auto;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
:host(.legacy-toggle) {
|
|
101
|
-
contain: content;
|
|
102
|
-
touch-action: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
100
|
:host(.ion-focused) input {
|
|
106
101
|
border: 2px solid #5e9ed6;
|
|
107
102
|
}
|
|
@@ -110,51 +105,6 @@
|
|
|
110
105
|
pointer-events: none;
|
|
111
106
|
}
|
|
112
107
|
|
|
113
|
-
:host(.legacy-toggle) label {
|
|
114
|
-
top: 0;
|
|
115
|
-
margin-left: 0;
|
|
116
|
-
margin-right: 0;
|
|
117
|
-
margin-top: 0;
|
|
118
|
-
margin-bottom: 0;
|
|
119
|
-
position: absolute;
|
|
120
|
-
width: 100%;
|
|
121
|
-
height: 100%;
|
|
122
|
-
border: 0;
|
|
123
|
-
background: transparent;
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
appearance: none;
|
|
126
|
-
outline: none;
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: center;
|
|
129
|
-
opacity: 0;
|
|
130
|
-
pointer-events: none;
|
|
131
|
-
}
|
|
132
|
-
@supports (inset-inline-start: 0) {
|
|
133
|
-
:host(.legacy-toggle) label {
|
|
134
|
-
inset-inline-start: 0;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
@supports not (inset-inline-start: 0) {
|
|
138
|
-
:host(.legacy-toggle) label {
|
|
139
|
-
left: 0;
|
|
140
|
-
}
|
|
141
|
-
:host-context([dir=rtl]):host(.legacy-toggle) label, :host-context([dir=rtl]).legacy-toggle label {
|
|
142
|
-
left: unset;
|
|
143
|
-
right: unset;
|
|
144
|
-
right: 0;
|
|
145
|
-
}
|
|
146
|
-
@supports selector(:dir(rtl)) {
|
|
147
|
-
:host(.legacy-toggle:dir(rtl)) label {
|
|
148
|
-
left: unset;
|
|
149
|
-
right: unset;
|
|
150
|
-
right: 0;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
:host(.legacy-toggle) label::-moz-focus-inner {
|
|
155
|
-
border: 0;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
108
|
input {
|
|
159
109
|
position: absolute;
|
|
160
110
|
top: 0;
|
|
@@ -189,7 +139,7 @@ input {
|
|
|
189
139
|
overflow: hidden;
|
|
190
140
|
}
|
|
191
141
|
|
|
192
|
-
:host(.in-item
|
|
142
|
+
:host(.in-item) .label-text-wrapper {
|
|
193
143
|
margin-top: 10px;
|
|
194
144
|
margin-bottom: 10px;
|
|
195
145
|
}
|
|
@@ -532,29 +482,22 @@ input {
|
|
|
532
482
|
*/
|
|
533
483
|
:host {
|
|
534
484
|
--track-background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);
|
|
535
|
-
--track-background-checked: var(--ion-color-primary, #
|
|
536
|
-
--border-radius:
|
|
485
|
+
--track-background-checked: var(--ion-color-primary, #0054e9);
|
|
486
|
+
--border-radius: 15.5px;
|
|
537
487
|
--handle-background: #ffffff;
|
|
538
488
|
--handle-background-checked: #ffffff;
|
|
539
489
|
--handle-border-radius: 25.5px;
|
|
540
|
-
--handle-box-shadow: 0 3px
|
|
541
|
-
--handle-height: calc(
|
|
490
|
+
--handle-box-shadow: 0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);
|
|
491
|
+
--handle-height: calc(31px - (2px * 2));
|
|
542
492
|
--handle-max-height: calc(100% - var(--handle-spacing) * 2);
|
|
543
|
-
--handle-width: calc(
|
|
493
|
+
--handle-width: calc(31px - (2px * 2));
|
|
544
494
|
--handle-spacing: 2px;
|
|
545
495
|
--handle-transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms;
|
|
546
496
|
}
|
|
547
497
|
|
|
548
|
-
:host(.legacy-toggle) {
|
|
549
|
-
width: 51px;
|
|
550
|
-
height: 32px;
|
|
551
|
-
contain: strict;
|
|
552
|
-
overflow: hidden;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
498
|
.native-wrapper .toggle-icon {
|
|
556
499
|
width: 51px;
|
|
557
|
-
height:
|
|
500
|
+
height: 31px;
|
|
558
501
|
/**
|
|
559
502
|
* The handle box shadow should not
|
|
560
503
|
* overflow outside of the track container.
|
|
@@ -590,7 +533,7 @@ input {
|
|
|
590
533
|
|
|
591
534
|
.toggle-switch-icon {
|
|
592
535
|
position: absolute;
|
|
593
|
-
color: var(--ion-color-dark);
|
|
536
|
+
color: var(--ion-color-dark, #222428);
|
|
594
537
|
}
|
|
595
538
|
|
|
596
539
|
:host(.toggle-ltr) .toggle-switch-icon {
|
|
@@ -655,26 +598,4 @@ input {
|
|
|
655
598
|
|
|
656
599
|
:host(.toggle-disabled) {
|
|
657
600
|
opacity: 0.3;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
:host(.in-item.legacy-toggle) {
|
|
661
|
-
margin-left: 0;
|
|
662
|
-
margin-right: 0;
|
|
663
|
-
margin-top: 0;
|
|
664
|
-
margin-bottom: 0;
|
|
665
|
-
-webkit-padding-start: 16px;
|
|
666
|
-
padding-inline-start: 16px;
|
|
667
|
-
-webkit-padding-end: 0;
|
|
668
|
-
padding-inline-end: 0;
|
|
669
|
-
padding-top: 6px;
|
|
670
|
-
padding-bottom: 5px;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
:host(.in-item.legacy-toggle[slot=start]) {
|
|
674
|
-
-webkit-padding-start: 0;
|
|
675
|
-
padding-inline-start: 0;
|
|
676
|
-
-webkit-padding-end: 16px;
|
|
677
|
-
padding-inline-end: 16px;
|
|
678
|
-
padding-top: 6px;
|
|
679
|
-
padding-bottom: 5px;
|
|
680
601
|
}
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
|
-
import {
|
|
6
|
-
import { getAriaLabel, renderHiddenInput, inheritAriaAttributes } from "../../utils/helpers";
|
|
7
|
-
import { printIonWarning } from "../../utils/logging/index";
|
|
5
|
+
import { renderHiddenInput, inheritAriaAttributes } from "../../utils/helpers";
|
|
8
6
|
import { hapticSelection } from "../../utils/native/haptic";
|
|
9
7
|
import { isRTL } from "../../utils/rtl/index";
|
|
10
8
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
@@ -26,8 +24,6 @@ export class Toggle {
|
|
|
26
24
|
this.lastDrag = 0;
|
|
27
25
|
this.inheritedAttributes = {};
|
|
28
26
|
this.didLoad = false;
|
|
29
|
-
// This flag ensures we log the deprecation warning at most once.
|
|
30
|
-
this.hasLoggedDeprecationWarning = false;
|
|
31
27
|
this.setupGesture = async () => {
|
|
32
28
|
const { toggleTrack } = this;
|
|
33
29
|
if (toggleTrack) {
|
|
@@ -73,12 +69,10 @@ export class Toggle {
|
|
|
73
69
|
this.value = 'on';
|
|
74
70
|
this.enableOnOffLabels = config.get('toggleOnOffLabels');
|
|
75
71
|
this.labelPlacement = 'start';
|
|
76
|
-
this.legacy = undefined;
|
|
77
72
|
this.justify = 'space-between';
|
|
78
73
|
this.alignment = 'center';
|
|
79
74
|
}
|
|
80
75
|
disabledChanged() {
|
|
81
|
-
this.emitStyle();
|
|
82
76
|
if (this.gesture) {
|
|
83
77
|
this.gesture.enable(!this.disabled);
|
|
84
78
|
}
|
|
@@ -93,7 +87,6 @@ export class Toggle {
|
|
|
93
87
|
});
|
|
94
88
|
}
|
|
95
89
|
async connectedCallback() {
|
|
96
|
-
this.legacyFormController = createLegacyFormController(this.el);
|
|
97
90
|
/**
|
|
98
91
|
* If we have not yet rendered
|
|
99
92
|
* ion-toggle, then toggleTrack is not defined.
|
|
@@ -115,19 +108,7 @@ export class Toggle {
|
|
|
115
108
|
}
|
|
116
109
|
}
|
|
117
110
|
componentWillLoad() {
|
|
118
|
-
this.
|
|
119
|
-
if (!this.legacyFormController.hasLegacyControl()) {
|
|
120
|
-
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
emitStyle() {
|
|
124
|
-
if (this.legacyFormController.hasLegacyControl()) {
|
|
125
|
-
this.ionStyle.emit({
|
|
126
|
-
'interactive-disabled': this.disabled,
|
|
127
|
-
// TODO(FW-2990): remove this
|
|
128
|
-
legacy: !!this.legacy,
|
|
129
|
-
});
|
|
130
|
-
}
|
|
111
|
+
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
131
112
|
}
|
|
132
113
|
onStart() {
|
|
133
114
|
this.activated = true;
|
|
@@ -171,16 +152,12 @@ export class Toggle {
|
|
|
171
152
|
return this.el.textContent !== '';
|
|
172
153
|
}
|
|
173
154
|
render() {
|
|
174
|
-
const { legacyFormController } = this;
|
|
175
|
-
return legacyFormController.hasLegacyControl() ? this.renderLegacyToggle() : this.renderToggle();
|
|
176
|
-
}
|
|
177
|
-
renderToggle() {
|
|
178
155
|
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
179
156
|
const mode = getIonMode(this);
|
|
180
157
|
const value = this.getValue();
|
|
181
158
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
182
159
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
183
|
-
return (h(Host, { onClick: this.onClick, class: createColorClasses(color, {
|
|
160
|
+
return (h(Host, { key: '1ff490557ae9f695646fab73f4e8eb5479c39194', onClick: this.onClick, class: createColorClasses(color, {
|
|
184
161
|
[mode]: true,
|
|
185
162
|
'in-item': hostContext('ion-item', el),
|
|
186
163
|
'toggle-activated': activated,
|
|
@@ -190,42 +167,10 @@ export class Toggle {
|
|
|
190
167
|
[`toggle-alignment-${alignment}`]: true,
|
|
191
168
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
192
169
|
[`toggle-${rtl}`]: true,
|
|
193
|
-
}) }, h("label", { class: "toggle-wrapper" }, h("input", Object.assign({ type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { class: {
|
|
170
|
+
}) }, h("label", { key: '9ef2ac21e677ef8e06e6265578e84c65268e2f73', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'c39eb29126454211a99be4fad6e421dcdebdae71', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '379d33ef5714e1d69aa7dd4a6fd2576647e768ad', class: {
|
|
194
171
|
'label-text-wrapper': true,
|
|
195
172
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
196
|
-
}, part: "label" }, h("slot",
|
|
197
|
-
}
|
|
198
|
-
renderLegacyToggle() {
|
|
199
|
-
if (!this.hasLoggedDeprecationWarning) {
|
|
200
|
-
printIonWarning(`ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.
|
|
201
|
-
|
|
202
|
-
Example: <ion-toggle>Email</ion-toggle>
|
|
203
|
-
Example with aria-label: <ion-toggle aria-label="Email"></ion-toggle>
|
|
204
|
-
|
|
205
|
-
Developers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.`, this.el);
|
|
206
|
-
if (this.legacy) {
|
|
207
|
-
printIonWarning(`ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.
|
|
208
|
-
|
|
209
|
-
Developers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.`, this.el);
|
|
210
|
-
}
|
|
211
|
-
this.hasLoggedDeprecationWarning = true;
|
|
212
|
-
}
|
|
213
|
-
const { activated, color, checked, disabled, el, inputId, name } = this;
|
|
214
|
-
const mode = getIonMode(this);
|
|
215
|
-
const { label, labelId, labelText } = getAriaLabel(el, inputId);
|
|
216
|
-
const value = this.getValue();
|
|
217
|
-
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
218
|
-
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
219
|
-
return (h(Host, { onClick: this.onClick, "aria-labelledby": label ? labelId : null, "aria-checked": `${checked}`, "aria-hidden": disabled ? 'true' : null, role: "switch", class: createColorClasses(color, {
|
|
220
|
-
[mode]: true,
|
|
221
|
-
'in-item': hostContext('ion-item', el),
|
|
222
|
-
'toggle-activated': activated,
|
|
223
|
-
'toggle-checked': checked,
|
|
224
|
-
'toggle-disabled': disabled,
|
|
225
|
-
'legacy-toggle': true,
|
|
226
|
-
interactive: true,
|
|
227
|
-
[`toggle-${rtl}`]: true,
|
|
228
|
-
}) }, this.renderToggleControl(), h("label", { htmlFor: inputId }, labelText), h("input", { type: "checkbox", role: "switch", "aria-checked": `${checked}`, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) })));
|
|
173
|
+
}, part: "label" }, h("slot", { key: '7dc7e14558361468d5d842e4235b18e09bdd3805' })), h("div", { key: 'ac1cd965163dff435d76db51c69b2285770a1ea0', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
229
174
|
}
|
|
230
175
|
static get is() { return "ion-toggle"; }
|
|
231
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -374,23 +319,6 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
374
319
|
"reflect": false,
|
|
375
320
|
"defaultValue": "'start'"
|
|
376
321
|
},
|
|
377
|
-
"legacy": {
|
|
378
|
-
"type": "boolean",
|
|
379
|
-
"mutable": false,
|
|
380
|
-
"complexType": {
|
|
381
|
-
"original": "boolean",
|
|
382
|
-
"resolved": "boolean | undefined",
|
|
383
|
-
"references": {}
|
|
384
|
-
},
|
|
385
|
-
"required": false,
|
|
386
|
-
"optional": true,
|
|
387
|
-
"docs": {
|
|
388
|
-
"tags": [],
|
|
389
|
-
"text": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the default slot that contains\nthe label text. As a result, the `legacy` property should only be used as\nan escape hatch when you want to avoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup."
|
|
390
|
-
},
|
|
391
|
-
"attribute": "legacy",
|
|
392
|
-
"reflect": false
|
|
393
|
-
},
|
|
394
322
|
"justify": {
|
|
395
323
|
"type": "string",
|
|
396
324
|
"mutable": false,
|
|
@@ -486,30 +414,6 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
486
414
|
"resolved": "void",
|
|
487
415
|
"references": {}
|
|
488
416
|
}
|
|
489
|
-
}, {
|
|
490
|
-
"method": "ionStyle",
|
|
491
|
-
"name": "ionStyle",
|
|
492
|
-
"bubbles": true,
|
|
493
|
-
"cancelable": true,
|
|
494
|
-
"composed": true,
|
|
495
|
-
"docs": {
|
|
496
|
-
"tags": [{
|
|
497
|
-
"name": "internal",
|
|
498
|
-
"text": undefined
|
|
499
|
-
}],
|
|
500
|
-
"text": "Emitted when the styles change."
|
|
501
|
-
},
|
|
502
|
-
"complexType": {
|
|
503
|
-
"original": "StyleEventDetail",
|
|
504
|
-
"resolved": "StyleEventDetail",
|
|
505
|
-
"references": {
|
|
506
|
-
"StyleEventDetail": {
|
|
507
|
-
"location": "import",
|
|
508
|
-
"path": "../../interface",
|
|
509
|
-
"id": "src/interface.d.ts::StyleEventDetail"
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
417
|
}];
|
|
514
418
|
}
|
|
515
419
|
static get elementRef() { return "el"; }
|