@ionic/core 8.3.5-nightly.20241104 → 8.4.1-dev.11730761110.1b046f37
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 +13 -8
- package/components/alert.js +20 -13
- package/components/animation.js +1 -1
- package/components/backdrop.js +10 -6
- package/components/button.js +41 -11
- package/components/buttons.js +11 -7
- package/components/capacitor.js +1 -1
- package/components/caret-down.js +6 -0
- package/components/caret-left.js +6 -0
- package/components/caret-right.js +6 -0
- package/components/checkbox.js +33 -14
- package/components/config2.js +79 -0
- package/components/content.js +448 -0
- package/components/data.js +4 -4
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/header.js +365 -0
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -2
- package/components/index4.js +10 -11
- package/components/index5.js +27 -3
- package/components/index6.js +114 -20
- package/components/index7.js +163 -27
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +25 -6
- package/components/ion-accordion.js +36 -17
- package/components/ion-app.js +9 -77
- package/components/ion-avatar.js +52 -3
- package/components/ion-back-button.js +29 -19
- package/components/ion-badge.js +44 -8
- package/components/ion-breadcrumb.js +45 -11
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +11 -7
- package/components/ion-card-header.js +9 -5
- package/components/ion-card-subtitle.js +9 -5
- package/components/ion-card-title.js +9 -5
- package/components/ion-card.js +17 -9
- package/components/ion-chip.js +45 -8
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +1 -441
- package/components/ion-datetime-button.js +9 -6
- package/components/ion-datetime.js +96 -20
- package/components/ion-fab-button.js +33 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +18 -12
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +1 -351
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +13 -8
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +53 -14
- package/components/ion-input.js +118 -20
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +28 -8
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +13 -8
- package/components/ion-menu-button.js +28 -10
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +29 -25
- package/components/ion-modal.js +1 -1737
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +8 -6
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +7 -8
- package/components/ion-progress-bar.js +11 -6
- package/components/ion-range.js +11 -8
- package/components/ion-refresher-content.js +28 -9
- package/components/ion-refresher.js +11 -7
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +31 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +4 -3
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +93 -16
- package/components/ion-segment-button.js +33 -10
- package/components/ion-segment-content.d.ts +11 -0
- package/components/ion-segment-content.js +37 -0
- package/components/ion-segment-view.d.ts +11 -0
- package/components/ion-segment-view.js +140 -0
- package/components/ion-segment.js +119 -20
- package/components/ion-select-modal.d.ts +11 -0
- package/components/ion-select-modal.js +9 -0
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +189 -67
- package/components/ion-skeleton-text.js +6 -5
- package/components/ion-split-pane.js +12 -8
- package/components/ion-tab-bar.js +31 -8
- package/components/ion-tab-button.js +12 -7
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +38 -11
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-title.js +1 -70
- package/components/ion-toast.js +30 -12
- package/components/ion-toggle.js +77 -18
- package/components/ion-toolbar.js +1 -88
- package/components/ionic-global.js +374 -84
- package/components/ios.transition.js +1 -0
- package/components/item.js +41 -11
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +29 -6
- package/components/list2.js +6 -0
- package/components/modal.js +1772 -0
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -5
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -8
- package/components/picker-column2.js +4 -4
- package/components/picker.js +8 -4
- package/components/popover.js +11 -8
- package/components/radio-group.js +9 -5
- package/components/radio.js +16 -10
- package/components/ripple-effect.js +18 -8
- package/components/select-modal.js +197 -0
- package/components/select-popover.js +9 -2
- package/components/spinner.js +36 -9
- package/components/status-tap.js +1 -1
- package/components/title.js +79 -0
- package/components/toolbar.js +97 -0
- package/components/x.js +6 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +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/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.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/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-58015a44.js} +2 -2
- package/dist/cjs/{app-globals-21afee77.js → app-globals-d64148d3.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-ec1fd1d8.js} +1 -1
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-454dd071.js} +3 -3
- package/dist/cjs/caret-down-3c215cff.js +8 -0
- package/dist/cjs/caret-left-2bb66970.js +8 -0
- package/dist/cjs/caret-right-88e03970.js +8 -0
- package/dist/cjs/config-aff4ff52.js +84 -0
- package/dist/cjs/{data-21dc0f81.js → data-b726dbee.js} +6 -6
- package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-9aa87fa3.js} +8 -0
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-32f1a0e4.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-7c25be74.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-4e2936d2.js} +4 -1
- package/dist/cjs/{index-9cd00dc3.js → index-03fbee1d.js} +16 -17
- package/dist/cjs/{index-9509ecad.js → index-0e0c6196.js} +9 -7
- package/dist/cjs/{index-5b6a7459.js → index-604c36ae.js} +3 -3
- package/dist/cjs/{index-f05acd21.js → index-8f975cf4.js} +12 -12
- package/dist/cjs/index.cjs.js +10 -12
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-4b4d2251.js} +18 -17
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-fb1debe4.js} +4 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +61 -24
- package/dist/cjs/ion-action-sheet.cjs.entry.js +21 -18
- package/dist/cjs/ion-alert.cjs.entry.js +30 -26
- package/dist/cjs/ion-app_8.cjs.entry.js +108 -152
- package/dist/cjs/ion-avatar_3.cjs.entry.js +93 -9
- package/dist/cjs/ion-back-button.cjs.entry.js +31 -21
- package/dist/cjs/ion-backdrop.cjs.entry.js +11 -6
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +53 -15
- package/dist/cjs/ion-button_2.cjs.entry.js +46 -15
- package/dist/cjs/ion-card_5.cjs.entry.js +52 -28
- package/dist/cjs/ion-checkbox.cjs.entry.js +31 -14
- package/dist/cjs/ion-chip.cjs.entry.js +43 -7
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +16 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +189 -115
- package/dist/cjs/ion-fab_3.cjs.entry.js +42 -19
- package/dist/cjs/ion-img.cjs.entry.js +7 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +21 -17
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +55 -16
- package/dist/cjs/ion-input.cjs.entry.js +118 -23
- package/dist/cjs/ion-item-option_3.cjs.entry.js +40 -17
- package/dist/cjs/ion-item_8.cjs.entry.js +113 -41
- package/dist/cjs/ion-loading.cjs.entry.js +20 -18
- package/dist/cjs/ion-menu_3.cjs.entry.js +64 -45
- package/dist/cjs/ion-modal.cjs.entry.js +95 -67
- package/dist/cjs/ion-nav_2.cjs.entry.js +15 -13
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +11 -6
- package/dist/cjs/ion-picker-column.cjs.entry.js +12 -12
- package/dist/cjs/ion-picker.cjs.entry.js +10 -5
- package/dist/cjs/ion-popover.cjs.entry.js +20 -18
- package/dist/cjs/ion-progress-bar.cjs.entry.js +13 -8
- package/dist/cjs/ion-radio_2.cjs.entry.js +26 -15
- package/dist/cjs/ion-range.cjs.entry.js +18 -14
- package/dist/cjs/ion-refresher_2.cjs.entry.js +44 -23
- package/dist/cjs/ion-reorder_2.cjs.entry.js +37 -13
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +18 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +8 -7
- package/dist/cjs/ion-searchbar.cjs.entry.js +94 -17
- package/dist/cjs/ion-segment-content.cjs.entry.js +23 -0
- package/dist/cjs/ion-segment-view.cjs.entry.js +122 -0
- package/dist/cjs/ion-segment_2.cjs.entry.js +151 -29
- package/dist/cjs/ion-select-modal.cjs.entry.js +109 -0
- package/dist/cjs/ion-select_3.cjs.entry.js +127 -46
- package/dist/cjs/ion-spinner.cjs.entry.js +35 -9
- package/dist/cjs/ion-split-pane.cjs.entry.js +13 -8
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +45 -20
- package/dist/cjs/ion-tab_2.cjs.entry.js +7 -6
- package/dist/cjs/ion-text.cjs.entry.js +6 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +41 -16
- package/dist/cjs/ion-toast.cjs.entry.js +59 -43
- package/dist/cjs/ion-toggle.cjs.entry.js +80 -22
- package/dist/cjs/ionic-global-14af9c21.js +535 -0
- package/dist/cjs/ionic.cjs.js +4 -3
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-2bb0f7d5.js} +6 -6
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-0a5d46dd.js} +5 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-53c12a15.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-102bad3e.js} +11 -9
- package/dist/cjs/list-2930c629.js +8 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-cf600117.js} +5 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-ea70e230.js} +4 -4
- package/dist/cjs/{overlays-ba0f6986.js → overlays-a698a408.js} +19 -20
- package/dist/cjs/{status-tap-37681226.js → status-tap-aa97d209.js} +4 -3
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-27975274.js} +2 -1
- package/dist/cjs/x-81a8f51c.js +8 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/accordion/accordion.ionic.css +197 -0
- package/dist/collection/components/accordion/accordion.ios.css +73 -58
- package/dist/collection/components/accordion/accordion.js +37 -21
- package/dist/collection/components/accordion/accordion.md.css +67 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +95 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +16 -4
- package/dist/collection/components/accordion-group/accordion-group.js +43 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +22 -4
- package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
- package/dist/collection/components/action-sheet/action-sheet.js +14 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
- package/dist/collection/components/alert/alert.ios.css +19 -1
- package/dist/collection/components/alert/alert.js +20 -15
- package/dist/collection/components/alert/alert.md.css +19 -1
- package/dist/collection/components/app/app.js +12 -78
- package/dist/collection/components/avatar/avatar.ionic.css +269 -0
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.js +92 -4
- package/dist/collection/components/avatar/avatar.md.css +12 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +27 -19
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ionic.css +151 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +13 -1
- package/dist/collection/components/badge/badge.ionic.css +249 -0
- package/dist/collection/components/badge/badge.ios.css +106 -3
- package/dist/collection/components/badge/badge.js +75 -8
- package/dist/collection/components/badge/badge.md.css +106 -3
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +43 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +589 -0
- package/dist/collection/components/button/button.ios.css +129 -36
- package/dist/collection/components/button/button.js +46 -16
- package/dist/collection/components/button/button.md.css +120 -40
- package/dist/collection/components/buttons/buttons.ionic.css +100 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/card/card.ionic.css +137 -0
- package/dist/collection/components/card/card.ios.css +65 -14
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +65 -14
- package/dist/collection/components/card-content/card-content.ionic.css +90 -0
- package/dist/collection/components/card-content/card-content.ios.css +16 -1
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +16 -1
- package/dist/collection/components/card-header/card-header.ionic.css +87 -0
- package/dist/collection/components/card-header/card-header.ios.css +27 -15
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +27 -15
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +146 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +73 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +73 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +402 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +20 -2
- package/dist/collection/components/checkbox/checkbox.js +89 -15
- package/dist/collection/components/checkbox/checkbox.md.css +21 -3
- package/dist/collection/components/chip/chip.ionic.css +160 -0
- package/dist/collection/components/chip/chip.ios.css +20 -1
- package/dist/collection/components/chip/chip.js +77 -8
- package/dist/collection/components/chip/chip.md.css +20 -1
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/col/col.js +9 -5
- package/dist/collection/components/content/content.css +8 -2
- package/dist/collection/components/content/content.js +16 -11
- package/dist/collection/components/datetime/datetime.ionic.css +668 -0
- package/dist/collection/components/datetime/datetime.ios.css +232 -73
- package/dist/collection/components/datetime/datetime.js +95 -19
- package/dist/collection/components/datetime/datetime.md.css +232 -73
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -8
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/fab/fab.css +25 -1
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +36 -15
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer.ios.css +14 -2
- package/dist/collection/components/footer/footer.js +20 -15
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header.ionic.css +86 -0
- package/dist/collection/components/header/header.ios.css +25 -10
- package/dist/collection/components/header/header.js +42 -17
- package/dist/collection/components/header/header.md.css +23 -8
- package/dist/collection/components/img/img.js +8 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ionic.css +1096 -0
- package/dist/collection/components/input/input.ios.css +21 -2
- package/dist/collection/components/input/input.js +144 -30
- package/dist/collection/components/input/input.md.css +43 -4
- package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +61 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +141 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +48 -12
- package/dist/collection/components/item/item.ionic.css +501 -0
- package/dist/collection/components/item/item.ios.css +109 -69
- package/dist/collection/components/item/item.js +44 -16
- package/dist/collection/components/item/item.md.css +120 -68
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ionic.css +332 -0
- package/dist/collection/components/item-option/item-option.ios.css +14 -2
- package/dist/collection/components/item-option/item-option.js +43 -8
- package/dist/collection/components/item-option/item-option.md.css +14 -2
- package/dist/collection/components/item-options/item-options.ionic.css +258 -0
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +8 -4
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.js +11 -8
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/list/list.ionic.css +193 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +47 -9
- package/dist/collection/components/list/list.md.css +20 -2
- package/dist/collection/components/list-header/list-header.ionic.css +236 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +13 -10
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +15 -3
- package/dist/collection/components/menu/menu.js +57 -32
- package/dist/collection/components/menu/menu.md.css +15 -3
- package/dist/collection/components/menu-button/menu-button.ionic.css +238 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +26 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/animations/sheet.js +8 -2
- package/dist/collection/components/modal/gestures/sheet.js +10 -6
- package/dist/collection/components/modal/modal.ionic.css +239 -0
- package/dist/collection/components/modal/modal.ios.css +106 -63
- package/dist/collection/components/modal/modal.js +47 -11
- package/dist/collection/components/modal/modal.md.css +106 -63
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +11 -5
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
- package/dist/collection/components/picker-legacy/picker.js +7 -6
- package/dist/collection/components/picker-legacy/picker.md.css +13 -1
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/popover/popover.ios.css +13 -1
- package/dist/collection/components/popover/popover.js +15 -12
- package/dist/collection/components/popover/popover.md.css +13 -1
- package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
- package/dist/collection/components/progress-bar/progress-bar.js +10 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
- package/dist/collection/components/radio/radio.ionic.css +418 -0
- package/dist/collection/components/radio/radio.ios.css +134 -91
- package/dist/collection/components/radio/radio.js +18 -13
- package/dist/collection/components/radio/radio.md.css +134 -91
- package/dist/collection/components/radio-group/radio-group.js +13 -5
- package/dist/collection/components/range/range.ios.css +12 -0
- package/dist/collection/components/range/range.js +12 -9
- package/dist/collection/components/range/range.md.css +12 -0
- package/dist/collection/components/refresher/refresher.ios.css +14 -1
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +15 -2
- package/dist/collection/components/refresher-content/refresher-content.js +28 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +33 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +154 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +4 -0
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +5 -2
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +345 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +97 -25
- package/dist/collection/components/searchbar/searchbar.md.css +56 -18
- package/dist/collection/components/segment/segment.ionic.css +117 -0
- package/dist/collection/components/segment/segment.ios.css +45 -2
- package/dist/collection/components/segment/segment.js +124 -20
- package/dist/collection/components/segment/segment.md.css +45 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +350 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
- package/dist/collection/components/segment-button/segment-button.js +49 -11
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/segment-content/segment-content.css +6 -0
- package/dist/collection/components/segment-content/segment-content.js +21 -0
- package/dist/collection/components/segment-view/segment-view-interface.js +1 -0
- package/dist/collection/components/segment-view/segment-view.ios.css +89 -0
- package/dist/collection/components/segment-view/segment-view.js +227 -0
- package/dist/collection/components/segment-view/segment-view.md.css +89 -0
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +138 -45
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select-modal/select-modal-interface.js +1 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +3 -0
- package/dist/collection/components/select-modal/select-modal.js +159 -0
- package/dist/collection/components/select-modal/select-modal.md.css +114 -0
- package/dist/collection/components/select-modal/test/fixtures.js +48 -0
- package/dist/collection/components/select-option/select-option.js +9 -2
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.js +12 -4
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/spinner.common.css +199 -0
- package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +63 -0
- package/dist/collection/components/spinner/spinner.js +46 -6
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +14 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +188 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +71 -43
- package/dist/collection/components/tab-bar/tab-bar.js +65 -10
- package/dist/collection/components/tab-bar/tab-bar.md.css +71 -43
- package/dist/collection/components/tab-button/tab-button.ionic.css +271 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +103 -88
- package/dist/collection/components/tab-button/tab-button.js +11 -8
- package/dist/collection/components/tab-button/tab-button.md.css +103 -88
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ionic.css +804 -0
- package/dist/collection/components/textarea/textarea.ios.css +201 -96
- package/dist/collection/components/textarea/textarea.js +59 -16
- package/dist/collection/components/textarea/textarea.md.css +214 -97
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ionic.css +145 -0
- package/dist/collection/components/title/title.ios.css +32 -4
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +32 -4
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +358 -0
- package/dist/collection/components/toast/toast.ios.css +74 -35
- package/dist/collection/components/toast/toast.js +45 -11
- package/dist/collection/components/toast/toast.md.css +74 -35
- package/dist/collection/components/toggle/toggle.ionic.css +419 -0
- package/dist/collection/components/toggle/toggle.ios.css +166 -120
- package/dist/collection/components/toggle/toggle.js +73 -18
- package/dist/collection/components/toggle/toggle.md.css +163 -120
- package/dist/collection/components/toolbar/toolbar.ionic.css +233 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +13 -10
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/global/ionic-global.js +229 -13
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/helpers.js +3 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/menu-controller/index.js +2 -2
- package/dist/collection/utils/overlays.js +2 -1
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +16 -2
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +7455 -349
- package/dist/esm/{animation-eab5a4ca.js → animation-f1a88600.js} +1 -1
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-eceadabb.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-321f0dba.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-6b0341c8.js} +1 -1
- package/dist/esm/caret-down-3eaad1cc.js +6 -0
- package/dist/esm/caret-left-33424bb0.js +6 -0
- package/dist/esm/caret-right-68d856ad.js +6 -0
- package/dist/esm/config-84eb9670.js +79 -0
- package/dist/esm/{data-ae11fd43.js → data-a753c96a.js} +4 -4
- package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-501aff19.js} +8 -1
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-3e4a8c9f.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-dd6c0ea9.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-f08d15bd.js} +4 -1
- package/dist/esm/{index-fe1782b1.js → index-31109e63.js} +12 -13
- package/dist/esm/{index-3ad7f18b.js → index-59f81cb8.js} +6 -6
- package/{components/index9.js → dist/esm/index-62b4a18b.js} +4 -2
- package/dist/esm/{index-28849c61.js → index-723c0e5d.js} +1 -1
- package/dist/esm/{index-5cc724f3.js → index-7bd160c2.js} +2 -2
- package/dist/esm/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm/index.js +11 -13
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-6be83e59.js} +7 -6
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-67459bae.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +61 -24
- package/dist/esm/ion-action-sheet.entry.js +22 -19
- package/dist/esm/ion-alert.entry.js +28 -24
- package/dist/esm/ion-app_8.entry.js +96 -140
- package/dist/esm/ion-avatar_3.entry.js +94 -10
- package/dist/esm/ion-back-button.entry.js +31 -21
- package/dist/esm/ion-backdrop.entry.js +12 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +55 -17
- package/dist/esm/ion-button_2.entry.js +44 -13
- package/dist/esm/ion-card_5.entry.js +53 -29
- package/dist/esm/ion-checkbox.entry.js +32 -15
- package/dist/esm/ion-chip.entry.js +44 -8
- package/dist/esm/ion-col_3.entry.js +15 -11
- package/dist/esm/ion-datetime-button.entry.js +13 -9
- package/dist/esm/ion-datetime_3.entry.js +114 -40
- package/dist/esm/ion-fab_3.entry.js +44 -21
- package/dist/esm/ion-img.entry.js +8 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +19 -15
- package/dist/esm/ion-input-password-toggle.entry.js +54 -15
- package/dist/esm/ion-input.entry.js +120 -25
- package/dist/esm/ion-item-option_3.entry.js +41 -18
- package/dist/esm/ion-item_8.entry.js +114 -42
- package/dist/esm/ion-loading.entry.js +18 -16
- package/dist/esm/ion-menu_3.entry.js +64 -45
- package/dist/esm/ion-modal.entry.js +59 -31
- package/dist/esm/ion-nav_2.entry.js +14 -12
- package/dist/esm/ion-picker-column-option.entry.js +12 -7
- package/dist/esm/ion-picker-column.entry.js +12 -12
- package/dist/esm/ion-picker.entry.js +11 -6
- package/dist/esm/ion-popover.entry.js +18 -16
- package/dist/esm/ion-progress-bar.entry.js +13 -8
- package/dist/esm/ion-radio_2.entry.js +27 -16
- package/dist/esm/ion-range.entry.js +14 -10
- package/dist/esm/ion-refresher_2.entry.js +42 -21
- package/dist/esm/ion-reorder_2.entry.js +39 -15
- package/dist/esm/ion-ripple-effect.entry.js +19 -8
- package/dist/esm/ion-route_4.entry.js +9 -8
- package/dist/esm/ion-searchbar.entry.js +95 -18
- package/dist/esm/ion-segment-content.entry.js +19 -0
- package/dist/esm/ion-segment-view.entry.js +118 -0
- package/dist/esm/ion-segment_2.entry.js +152 -30
- package/dist/esm/ion-select-modal.entry.js +105 -0
- package/dist/esm/ion-select_3.entry.js +129 -48
- package/dist/esm/ion-spinner.entry.js +34 -8
- package/dist/esm/ion-split-pane.entry.js +14 -9
- package/dist/esm/ion-tab-bar_2.entry.js +45 -20
- package/dist/esm/ion-tab_2.entry.js +8 -7
- package/dist/esm/ion-text.entry.js +7 -6
- package/dist/esm/ion-textarea.entry.js +42 -17
- package/dist/esm/ion-toast.entry.js +34 -18
- package/dist/esm/ion-toggle.entry.js +81 -23
- package/dist/esm/ionic-global-3c97a4aa.js +521 -0
- package/dist/esm/ionic.js +6 -5
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-06b78ea0.js} +7 -7
- package/dist/esm/{keyboard-52278bd7.js → keyboard-5b1b354d.js} +5 -3
- package/dist/esm/{keyboard-73175e24.js → keyboard-9bbd546a.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-aff395fd.js} +5 -3
- package/dist/esm/list-6524700c.js +6 -0
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-e5712bda.js} +6 -7
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-c0bd22ff.js} +2 -2
- package/dist/esm/{overlays-ae10d43d.js → overlays-ce6f6b23.js} +6 -7
- package/dist/esm/{status-tap-f472b09f.js → status-tap-edf9f395.js} +5 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-17c42610.js} +2 -1
- package/dist/esm/x-a64bcd9f.js +6 -0
- package/dist/esm-es5/animation-f1a88600.js +4 -0
- package/dist/esm-es5/app-globals-eceadabb.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-321f0dba.js} +1 -1
- package/dist/esm-es5/capacitor-6b0341c8.js +4 -0
- package/dist/esm-es5/caret-down-3eaad1cc.js +4 -0
- package/dist/esm-es5/caret-left-33424bb0.js +4 -0
- package/dist/esm-es5/caret-right-68d856ad.js +4 -0
- package/dist/esm-es5/config-84eb9670.js +4 -0
- package/dist/esm-es5/data-a753c96a.js +4 -0
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-3e4a8c9f.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-dd6c0ea9.js} +1 -1
- package/dist/esm-es5/helpers-f08d15bd.js +4 -0
- package/dist/esm-es5/index-31109e63.js +4 -0
- package/dist/esm-es5/index-59f81cb8.js +4 -0
- package/dist/esm-es5/{index-79b30591.js → index-62b4a18b.js} +1 -1
- package/dist/esm-es5/{index-28849c61.js → index-723c0e5d.js} +1 -1
- package/dist/esm-es5/index-7bd160c2.js +4 -0
- package/dist/esm-es5/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-6be83e59.js +4 -0
- package/dist/esm-es5/input.utils-67459bae.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 +2 -2
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +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-content.entry.js +4 -0
- package/dist/esm-es5/ion-segment-view.entry.js +4 -0
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +4 -0
- 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-3c97a4aa.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-06b78ea0.js +4 -0
- package/dist/esm-es5/{keyboard-52278bd7.js → keyboard-5b1b354d.js} +1 -1
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-9bbd546a.js} +1 -1
- package/dist/esm-es5/keyboard-controller-aff395fd.js +4 -0
- package/dist/esm-es5/list-6524700c.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-e5712bda.js +4 -0
- package/dist/esm-es5/notch-controller-c0bd22ff.js +4 -0
- package/dist/esm-es5/overlays-ce6f6b23.js +4 -0
- package/dist/esm-es5/status-tap-edf9f395.js +4 -0
- package/dist/esm-es5/swipe-back-17c42610.js +4 -0
- package/dist/esm-es5/x-a64bcd9f.js +4 -0
- package/dist/html.html-data.json +2375 -210
- 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-01d80901.system.js +4 -0
- package/dist/ionic/p-02db6423.entry.js +4 -0
- package/dist/ionic/p-038a6294.js +4 -0
- package/dist/ionic/p-043483dc.entry.js +4 -0
- package/dist/ionic/p-055ae36e.system.entry.js +4 -0
- package/dist/ionic/p-06ca2619.system.entry.js +4 -0
- package/dist/ionic/p-06ec4706.js +4 -0
- package/dist/ionic/p-08b2ba53.system.entry.js +4 -0
- package/dist/ionic/p-08f4a45d.system.entry.js +4 -0
- package/dist/ionic/p-096e5f6d.system.entry.js +4 -0
- package/dist/ionic/p-09c6b5e4.js +4 -0
- package/dist/ionic/p-0a0ce78f.system.entry.js +4 -0
- package/dist/ionic/{p-25180df3.system.js → p-0fa218e9.system.js} +1 -1
- package/dist/ionic/p-10961893.system.entry.js +4 -0
- package/dist/ionic/p-112120d7.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-11266916.js} +1 -1
- package/dist/ionic/{p-1e955a45.system.js → p-115d74cd.system.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-12d6df53.js} +1 -1
- package/dist/ionic/p-156d17cd.js +4 -0
- package/dist/ionic/p-161ecf50.system.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-18f86177.system.js} +1 -1
- package/dist/ionic/p-1a64d63d.system.entry.js +4 -0
- package/dist/ionic/p-1da82a87.system.entry.js +4 -0
- package/dist/ionic/p-1e4fd112.entry.js +4 -0
- package/dist/ionic/p-1efa63f2.js +4 -0
- package/dist/ionic/p-1fba8e90.system.entry.js +4 -0
- package/dist/ionic/p-211b0fba.system.entry.js +4 -0
- package/dist/ionic/p-23b31425.entry.js +4 -0
- package/dist/ionic/p-243adf8c.js +4 -0
- package/dist/ionic/p-24f15ce4.system.entry.js +4 -0
- package/dist/ionic/p-2978f27e.entry.js +4 -0
- package/dist/ionic/p-2ef115ec.system.entry.js +4 -0
- package/dist/ionic/p-31fa1052.system.entry.js +4 -0
- package/dist/ionic/p-33dc4514.js +4 -0
- package/dist/ionic/p-346c67b0.js +4 -0
- package/dist/ionic/p-35362c9f.entry.js +4 -0
- package/dist/ionic/p-3608e72b.entry.js +4 -0
- package/dist/ionic/p-3b520400.system.entry.js +4 -0
- package/dist/ionic/p-3c4c73f9.system.entry.js +4 -0
- package/dist/ionic/p-3ce95a91.entry.js +4 -0
- package/dist/ionic/p-3d61263b.system.entry.js +4 -0
- package/dist/ionic/{p-9ea607bd.system.js → p-3e91ea3a.system.js} +2 -2
- package/dist/ionic/p-3f1e20d1.system.entry.js +4 -0
- package/dist/ionic/p-3fc0ba02.system.entry.js +4 -0
- package/dist/ionic/p-4130574e.entry.js +4 -0
- package/dist/ionic/{p-3c8e5c23.system.js → p-41c19986.system.js} +1 -1
- package/dist/ionic/p-41f06734.entry.js +4 -0
- package/dist/ionic/p-4219582c.system.js +4 -0
- package/dist/ionic/p-429dd2b5.system.js +4 -0
- package/dist/ionic/p-430d860e.entry.js +4 -0
- package/dist/ionic/p-43df37ca.entry.js +4 -0
- package/dist/ionic/p-4459a66e.system.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-44ad86d7.system.js} +1 -1
- package/dist/ionic/p-458a2899.entry.js +4 -0
- package/dist/ionic/{p-8985cdb6.system.js → p-4626fb32.system.js} +1 -1
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-4683bb1b.entry.js +4 -0
- package/dist/ionic/p-47fd935c.system.js +4 -0
- package/dist/ionic/p-4a89c1ec.system.js +4 -0
- package/dist/ionic/p-4ac4f52a.system.entry.js +4 -0
- package/dist/ionic/p-4b4e4592.system.entry.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-4c275462.js} +1 -1
- package/dist/ionic/p-4c9e1b2c.js +4 -0
- package/dist/ionic/p-4edc0fda.system.entry.js +4 -0
- package/dist/ionic/p-4f127a09.system.entry.js +4 -0
- package/dist/ionic/p-51371e21.system.js +4 -0
- package/dist/ionic/p-530c591a.entry.js +4 -0
- package/dist/ionic/p-5474c7c4.entry.js +4 -0
- package/dist/ionic/p-55546d77.system.entry.js +4 -0
- package/dist/ionic/p-556778bd.system.js +4 -0
- package/dist/ionic/p-56be80f7.entry.js +4 -0
- package/dist/ionic/p-578a8bdf.entry.js +4 -0
- package/dist/ionic/p-57de8d54.system.entry.js +4 -0
- package/dist/ionic/{p-f9a53abb.system.js → p-58aa8a36.system.js} +1 -1
- package/dist/ionic/p-58c64779.system.entry.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-58f16ef6.js} +1 -1
- package/dist/ionic/p-5a6b3c0d.entry.js +4 -0
- package/dist/ionic/p-5a6d245d.system.entry.js +4 -0
- package/dist/ionic/p-5b57d327.system.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/p-5e9730c2.entry.js +4 -0
- package/dist/ionic/p-607c9c33.js +4 -0
- package/dist/ionic/{p-9146695e.system.js → p-62887754.system.js} +1 -1
- package/dist/ionic/p-63fde7fe.entry.js +4 -0
- package/dist/ionic/p-67b6e18d.entry.js +4 -0
- package/dist/ionic/p-699c1e19.entry.js +4 -0
- package/dist/ionic/p-6a0dd6bc.js +4 -0
- package/dist/ionic/p-6bc2795b.entry.js +4 -0
- package/dist/ionic/p-6bd1c0ee.system.entry.js +4 -0
- package/dist/ionic/p-6caa76ec.js +4 -0
- package/dist/ionic/p-6f941957.entry.js +4 -0
- package/dist/ionic/p-7071d7ca.js +4 -0
- package/dist/ionic/p-72cbf799.system.entry.js +4 -0
- package/dist/ionic/p-74a20601.system.entry.js +4 -0
- package/dist/ionic/p-74d76684.js +4 -0
- package/dist/ionic/p-7557a7de.system.entry.js +4 -0
- package/dist/ionic/p-7607d8ba.system.entry.js +4 -0
- package/dist/ionic/p-78ed8923.js +4 -0
- package/dist/ionic/p-7a858bae.system.js +4 -0
- package/dist/ionic/p-81e632cb.entry.js +4 -0
- package/dist/ionic/p-82cb4235.js +4 -0
- package/dist/ionic/{p-d836d43e.js → p-83948e48.js} +1 -1
- package/dist/ionic/p-8463212e.js +4 -0
- package/dist/ionic/p-84667060.entry.js +4 -0
- package/dist/ionic/p-857ba8d4.entry.js +4 -0
- package/dist/ionic/p-86d98446.system.entry.js +4 -0
- package/dist/ionic/{p-baffaf8d.system.entry.js → p-86e9a917.system.entry.js} +1 -1
- package/dist/ionic/p-87049797.js +4 -0
- package/dist/ionic/p-88290bd9.system.entry.js +4 -0
- package/dist/ionic/p-8956f9a8.system.entry.js +4 -0
- package/dist/ionic/p-8b0f0a87.entry.js +4 -0
- package/dist/ionic/p-8db246c2.system.js +4 -0
- package/dist/ionic/p-8dbfae64.entry.js +4 -0
- package/dist/ionic/p-903c544a.js +4 -0
- package/dist/ionic/p-916bc9ed.system.entry.js +4 -0
- package/dist/ionic/p-92646426.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-93e47936.js} +1 -1
- package/dist/ionic/{p-a93873de.system.js → p-94816e7a.system.js} +1 -1
- package/dist/ionic/p-986855d6.js +4 -0
- package/dist/ionic/p-9abb7d9b.entry.js +4 -0
- package/dist/ionic/p-9ac1a506.system.js +4 -0
- package/dist/ionic/p-a1cdc742.js +4 -0
- package/dist/ionic/p-a2814291.system.js +4 -0
- package/dist/ionic/p-a42eccfb.entry.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-a510e9c0.js} +1 -1
- package/dist/ionic/p-a5a9206f.entry.js +4 -0
- package/dist/ionic/p-a616b6e4.entry.js +4 -0
- package/dist/ionic/p-a9af4103.js +4 -0
- package/dist/ionic/{p-d60342e3.js → p-aaccbb95.js} +1 -1
- package/dist/ionic/p-ab21d58c.entry.js +4 -0
- package/dist/ionic/p-ac1c2b6a.js +4 -0
- package/dist/ionic/p-ae55c4c7.system.entry.js +4 -0
- package/dist/ionic/p-b18c52cd.entry.js +4 -0
- package/dist/ionic/p-b2df786a.system.entry.js +4 -0
- package/dist/ionic/p-b517144d.system.entry.js +4 -0
- package/dist/ionic/p-b5dc9a32.system.entry.js +4 -0
- package/dist/ionic/p-b79f3ded.entry.js +4 -0
- package/dist/ionic/p-bbcec459.system.js +4 -0
- package/dist/ionic/p-be87ec25.entry.js +4 -0
- package/dist/ionic/p-c248c88d.system.js +4 -0
- package/dist/ionic/p-c373eebd.system.js +4 -0
- package/dist/ionic/p-ccce3322.system.entry.js +4 -0
- package/dist/ionic/p-ce2e8a94.system.entry.js +4 -0
- package/dist/ionic/p-ce46d44a.entry.js +4 -0
- package/dist/ionic/p-cea92c46.system.js +4 -0
- package/dist/ionic/p-d7894208.entry.js +4 -0
- package/dist/ionic/p-da96f15f.entry.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-dbd39afd.system.js} +1 -1
- package/dist/ionic/p-ddbf4ca9.entry.js +4 -0
- package/dist/ionic/p-df09db21.entry.js +4 -0
- package/dist/ionic/p-e3b70846.system.js +4 -0
- package/dist/ionic/p-e9eb25ba.system.entry.js +4 -0
- package/dist/ionic/p-ea0b8c64.system.entry.js +4 -0
- package/dist/ionic/p-ea3ca474.system.js +4 -0
- package/dist/ionic/p-ebe94d15.entry.js +4 -0
- package/dist/ionic/p-eda736d7.entry.js +4 -0
- package/dist/ionic/p-eecb1b04.entry.js +4 -0
- package/dist/ionic/p-eee899d5.system.entry.js +4 -0
- package/dist/ionic/p-f09c06e8.entry.js +4 -0
- package/dist/ionic/p-f116fb3f.system.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-f193945e.system.js} +1 -1
- package/dist/ionic/p-f1e11e93.entry.js +4 -0
- package/dist/ionic/p-f28ac1ad.entry.js +4 -0
- package/dist/ionic/p-f44934a7.system.entry.js +4 -0
- package/dist/ionic/p-f44c9c6e.system.entry.js +4 -0
- package/dist/ionic/p-f61375b7.system.entry.js +4 -0
- package/dist/ionic/p-f8123284.entry.js +4 -0
- package/dist/ionic/p-f83d18c1.entry.js +4 -0
- package/dist/ionic/{p-5da94421.system.js → p-f8c63ac0.system.js} +2 -2
- package/dist/ionic/p-fc8359aa.system.entry.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +5 -3
- package/dist/types/components/accordion-group/accordion-group.d.ts +12 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +4 -2
- package/dist/types/components/avatar/avatar.d.ts +28 -0
- package/dist/types/components/back-button/back-button.d.ts +2 -1
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +23 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +15 -4
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +16 -5
- package/dist/types/components/chip/chip.d.ts +19 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +26 -1
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +5 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +4 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header.d.ts +9 -3
- package/dist/types/components/img/img.d.ts +3 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +31 -5
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +11 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +11 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +15 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu-interface.d.ts +5 -2
- package/dist/types/components/menu/menu.d.ts +9 -6
- package/dist/types/components/menu-button/menu-button.d.ts +3 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +4 -7
- package/dist/types/components/modal/modal.d.ts +11 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/picker-legacy/picker.d.ts +2 -1
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +2 -1
- package/dist/types/components/radio/radio.d.ts +3 -2
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
- package/dist/types/components/reorder/reorder.d.ts +9 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +30 -8
- package/dist/types/components/segment/segment.d.ts +23 -2
- package/dist/types/components/segment-button/segment-button.d.ts +6 -1
- package/dist/types/components/segment-content/segment-content.d.ts +4 -0
- package/dist/types/components/segment-view/segment-view-interface.d.ts +4 -0
- package/dist/types/components/segment-view/segment-view.d.ts +55 -0
- package/dist/types/components/select/select-interface.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +25 -9
- package/dist/types/components/select-modal/select-modal-interface.d.ts +10 -0
- package/dist/types/components/select-modal/select-modal.d.ts +16 -0
- package/dist/types/components/select-modal/test/fixtures.d.ts +16 -0
- package/dist/types/components/select-option/select-option.d.ts +4 -0
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +15 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +22 -2
- package/dist/types/components/tab-button/tab-button.d.ts +2 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +16 -4
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +12 -2
- package/dist/types/components/toggle/toggle.d.ts +15 -1
- package/dist/types/components/toolbar/toolbar.d.ts +4 -3
- package/dist/types/components.d.ts +1468 -194
- package/dist/types/global/ionic-global.d.ts +27 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +106 -2
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/dist/types/utils/overlays-interface.d.ts +32 -2
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.js +2765 -950
- package/hydrate/index.mjs +2765 -950
- package/package.json +9 -4
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/dist/cjs/hardware-back-button-9e8a2c4f.js +0 -122
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-d9a8bb5b.js +0 -237
- package/dist/esm/hardware-back-button-06ef3c3e.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm/ionic-global-c81d82ab.js +0 -231
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-63d1a679.js +0 -4
- package/dist/esm-es5/hardware-back-button-06ef3c3e.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-3ad7f18b.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-fe1782b1.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
- package/dist/esm-es5/ios.transition-4ee1a3af.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-ae10d43d.js +0 -4
- package/dist/esm-es5/status-tap-f472b09f.js +0 -4
- package/dist/esm-es5/swipe-back-e5394307.js +0 -4
- package/dist/ionic/p-003eecb9.entry.js +0 -4
- package/dist/ionic/p-00b01a55.system.entry.js +0 -4
- package/dist/ionic/p-01503bbd.system.entry.js +0 -4
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-0373d924.system.entry.js +0 -4
- package/dist/ionic/p-04fc24ee.system.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-05beda73.entry.js +0 -4
- package/dist/ionic/p-06e58c4e.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-0790b342.system.entry.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-110e03be.system.entry.js +0 -4
- package/dist/ionic/p-148b8abb.entry.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-176b372f.entry.js +0 -4
- package/dist/ionic/p-18105026.system.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-21cfd4de.entry.js +0 -4
- package/dist/ionic/p-21e5e7e4.js +0 -4
- package/dist/ionic/p-2200e26b.entry.js +0 -4
- package/dist/ionic/p-233e6c93.entry.js +0 -4
- package/dist/ionic/p-25928b83.system.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-293ed6ac.system.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2ca6eac2.system.entry.js +0 -4
- package/dist/ionic/p-2ea1ca4f.system.entry.js +0 -4
- package/dist/ionic/p-313ccc01.system.entry.js +0 -4
- package/dist/ionic/p-322c5fb4.system.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3c968c7f.system.entry.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-44d1539c.system.entry.js +0 -4
- package/dist/ionic/p-49bc6544.entry.js +0 -4
- package/dist/ionic/p-4a0a4204.system.entry.js +0 -4
- package/dist/ionic/p-4a82bd1c.system.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4c8fceb0.entry.js +0 -4
- package/dist/ionic/p-521eca2e.entry.js +0 -4
- package/dist/ionic/p-53854390.entry.js +0 -4
- package/dist/ionic/p-53add985.system.entry.js +0 -4
- package/dist/ionic/p-5417b9bb.entry.js +0 -4
- package/dist/ionic/p-5c831f49.js +0 -4
- package/dist/ionic/p-5e842258.entry.js +0 -4
- package/dist/ionic/p-60cc7986.entry.js +0 -4
- package/dist/ionic/p-63d65dbc.system.entry.js +0 -4
- package/dist/ionic/p-6562e0a9.system.entry.js +0 -4
- package/dist/ionic/p-661ce4a8.entry.js +0 -4
- package/dist/ionic/p-6817cf42.system.entry.js +0 -4
- package/dist/ionic/p-68c4df55.entry.js +0 -4
- package/dist/ionic/p-69066a53.js +0 -4
- package/dist/ionic/p-6b8893dd.entry.js +0 -4
- package/dist/ionic/p-6ceb04b5.entry.js +0 -4
- package/dist/ionic/p-6d50faff.entry.js +0 -4
- package/dist/ionic/p-6e85e450.entry.js +0 -4
- package/dist/ionic/p-7243df6f.entry.js +0 -4
- package/dist/ionic/p-7251fed5.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-72ffd137.system.entry.js +0 -4
- package/dist/ionic/p-75c0dc65.system.entry.js +0 -4
- package/dist/ionic/p-773d118d.entry.js +0 -4
- package/dist/ionic/p-7740e32c.system.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-79b12fda.system.js +0 -4
- package/dist/ionic/p-79e7be3a.system.entry.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-82ab7ccb.entry.js +0 -4
- package/dist/ionic/p-836d39d4.system.entry.js +0 -4
- package/dist/ionic/p-857ca696.system.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-8640e9cd.entry.js +0 -4
- package/dist/ionic/p-87a4407b.entry.js +0 -4
- package/dist/ionic/p-8836d0eb.system.entry.js +0 -4
- package/dist/ionic/p-88e63c7d.js +0 -4
- package/dist/ionic/p-89a0a446.entry.js +0 -4
- package/dist/ionic/p-8b6232a6.system.entry.js +0 -4
- package/dist/ionic/p-8d44cf1f.entry.js +0 -4
- package/dist/ionic/p-9172535c.entry.js +0 -4
- package/dist/ionic/p-921e159f.system.entry.js +0 -4
- package/dist/ionic/p-92d7a3d1.entry.js +0 -4
- package/dist/ionic/p-93f37ceb.system.entry.js +0 -4
- package/dist/ionic/p-95823c62.system.entry.js +0 -4
- package/dist/ionic/p-960803fc.system.entry.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-973f0b15.system.entry.js +0 -4
- package/dist/ionic/p-9895e7f3.entry.js +0 -4
- package/dist/ionic/p-9910f786.entry.js +0 -4
- package/dist/ionic/p-9b6c6302.system.entry.js +0 -4
- package/dist/ionic/p-9e208825.entry.js +0 -4
- package/dist/ionic/p-9ece8dcf.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-a0c88dc2.system.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a3711608.system.entry.js +0 -4
- package/dist/ionic/p-a4565eb5.system.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-a879ecb7.system.entry.js +0 -4
- package/dist/ionic/p-a89dac49.entry.js +0 -4
- package/dist/ionic/p-a90e2708.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-af999a31.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-b54fc1ae.entry.js +0 -4
- package/dist/ionic/p-b7657e8d.entry.js +0 -4
- package/dist/ionic/p-bd25d639.system.entry.js +0 -4
- package/dist/ionic/p-be715dd3.system.entry.js +0 -4
- package/dist/ionic/p-c34659b9.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c71f301f.system.entry.js +0 -4
- package/dist/ionic/p-cdb11938.system.entry.js +0 -4
- package/dist/ionic/p-ce705aac.system.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d58f21d2.entry.js +0 -4
- package/dist/ionic/p-d6841eac.js +0 -4
- package/dist/ionic/p-d754c709.system.entry.js +0 -4
- package/dist/ionic/p-da263d8e.entry.js +0 -4
- package/dist/ionic/p-dda5c73d.entry.js +0 -4
- package/dist/ionic/p-df83e308.system.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e3a5da9d.entry.js +0 -4
- package/dist/ionic/p-e3e1e3de.entry.js +0 -4
- package/dist/ionic/p-e3f13b08.js +0 -4
- package/dist/ionic/p-ecceeb90.js +0 -4
- package/dist/ionic/p-efaffe74.entry.js +0 -4
- package/dist/ionic/p-f0ab13a8.system.entry.js +0 -4
- package/dist/ionic/p-f1acf541.system.entry.js +0 -4
- package/dist/ionic/p-f88ebc36.entry.js +0 -4
- package/dist/ionic/p-f8c8b9ba.entry.js +0 -4
- package/dist/ionic/p-fcd71204.system.entry.js +0 -4
- package/dist/ionic/p-fd0cb4ef.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
- package/dist/ionic/p-ffb17177.system.entry.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
overflow-x: scroll;
|
|
5
|
+
scroll-snap-type: x mandatory;
|
|
6
|
+
/* Hide scrollbar in Firefox */
|
|
7
|
+
scrollbar-width: none;
|
|
8
|
+
/* Hide scrollbar in IE and Edge */
|
|
9
|
+
-ms-overflow-style: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Hide scrollbar in webkit */
|
|
13
|
+
:host::-webkit-scrollbar {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host(.segment-view-disabled) {
|
|
18
|
+
touch-action: none;
|
|
19
|
+
overflow-x: hidden;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host(.segment-view-scroll-disabled) {
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Convert a pixels given value into rem
|
|
28
|
+
*
|
|
29
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
30
|
+
* @param context (optional) - Baseline value
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Convert a font size to a dynamic font size.
|
|
34
|
+
* Fonts that participate in Dynamic Type should use
|
|
35
|
+
* dynamic font sizes.
|
|
36
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
37
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
38
|
+
* convert to a unit other than $baselineUnit.
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* Convert a font size to a dynamic font size but impose
|
|
42
|
+
* a maximum font size.
|
|
43
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
44
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
45
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
46
|
+
* convert to a unit other than $baselineUnit.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Convert a font size to a dynamic font size but impose
|
|
50
|
+
* a minimum font size.
|
|
51
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
52
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
53
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
54
|
+
* convert to a unit other than $baselineUnit.
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* Convert a font size to a dynamic font size but impose
|
|
58
|
+
* maximum and minimum font sizes.
|
|
59
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
60
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
61
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
62
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
63
|
+
* convert to a unit other than $baselineUnit.
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* A heuristic that applies CSS to tablet
|
|
67
|
+
* viewports.
|
|
68
|
+
*
|
|
69
|
+
* Usage:
|
|
70
|
+
* @include tablet-viewport() {
|
|
71
|
+
* :host {
|
|
72
|
+
* background-color: green;
|
|
73
|
+
* }
|
|
74
|
+
* }
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* A heuristic that applies CSS to mobile
|
|
78
|
+
* viewports (i.e. phones, not tablets).
|
|
79
|
+
*
|
|
80
|
+
* Usage:
|
|
81
|
+
* @include mobile-viewport() {
|
|
82
|
+
* :host {
|
|
83
|
+
* background-color: blue;
|
|
84
|
+
* }
|
|
85
|
+
* }
|
|
86
|
+
*/
|
|
87
|
+
:host(.segment-view-disabled) {
|
|
88
|
+
opacity: 0.3;
|
|
89
|
+
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -150,18 +156,18 @@
|
|
|
150
156
|
button {
|
|
151
157
|
position: absolute;
|
|
152
158
|
top: 0;
|
|
153
|
-
left: 0;
|
|
154
159
|
right: 0;
|
|
155
160
|
bottom: 0;
|
|
161
|
+
left: 0;
|
|
156
162
|
width: 100%;
|
|
157
163
|
height: 100%;
|
|
158
164
|
margin: 0;
|
|
159
165
|
padding: 0;
|
|
160
166
|
border: 0;
|
|
161
167
|
outline: 0;
|
|
162
|
-
clip: rect(0 0 0 0);
|
|
163
168
|
opacity: 0;
|
|
164
169
|
overflow: hidden;
|
|
170
|
+
clip: rect(0 0 0 0);
|
|
165
171
|
-webkit-appearance: none;
|
|
166
172
|
-moz-appearance: none;
|
|
167
173
|
}
|
|
@@ -556,7 +562,8 @@ button {
|
|
|
556
562
|
max-width: calc(100% / 0.75);
|
|
557
563
|
}
|
|
558
564
|
|
|
559
|
-
::slotted([slot=start]),
|
|
565
|
+
::slotted([slot=start]),
|
|
566
|
+
::slotted([slot=end]) {
|
|
560
567
|
/**
|
|
561
568
|
* Prevent the slots from shrinking when the label and/or
|
|
562
569
|
* selected item text is long enough to fill the rest of
|
|
@@ -575,6 +582,12 @@ button {
|
|
|
575
582
|
margin-inline-end: 0;
|
|
576
583
|
}
|
|
577
584
|
|
|
585
|
+
/**
|
|
586
|
+
* Convert a pixels given value into rem
|
|
587
|
+
*
|
|
588
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
589
|
+
* @param context (optional) - Baseline value
|
|
590
|
+
*/
|
|
578
591
|
/**
|
|
579
592
|
* Convert a font size to a dynamic font size.
|
|
580
593
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -630,6 +643,12 @@ button {
|
|
|
630
643
|
* }
|
|
631
644
|
* }
|
|
632
645
|
*/
|
|
646
|
+
/**
|
|
647
|
+
* Convert a pixels given value into rem
|
|
648
|
+
*
|
|
649
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
650
|
+
* @param context (optional) - Baseline value
|
|
651
|
+
*/
|
|
633
652
|
/**
|
|
634
653
|
* Convert a font size to a dynamic font size.
|
|
635
654
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import caretDownRegular from "@phosphor-icons/core/assets/regular/caret-down.svg";
|
|
4
5
|
import { Host, h, forceUpdate } from "@stencil/core";
|
|
5
6
|
import { compareOptions, createNotchController, isOptionSelected } from "../../utils/forms/index";
|
|
6
7
|
import { focusVisibleElement, renderHiddenInput, inheritAttributes } from "../../utils/helpers";
|
|
7
|
-
import { actionSheetController, alertController, popoverController } from "../../utils/overlays";
|
|
8
|
+
import { actionSheetController, alertController, popoverController, modalController } from "../../utils/overlays";
|
|
8
9
|
import { isRTL } from "../../utils/rtl/index";
|
|
9
10
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
10
11
|
import { watchForOptions } from "../../utils/watch-options";
|
|
11
12
|
import { caretDownSharp, chevronExpand } from "ionicons/icons";
|
|
12
|
-
import {
|
|
13
|
+
import { config } from "../../global/config";
|
|
14
|
+
import { getIonTheme } from "../../global/ionic-global";
|
|
13
15
|
// TODO(FW-2832): types
|
|
14
16
|
/**
|
|
15
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines
|
|
17
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
18
|
+
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
16
19
|
*
|
|
17
20
|
* @slot label - The label text to associate with the select. Use the `labelPlacement` property to control where the label is placed relative to the select. Use this if you need to render a label with custom HTML.
|
|
18
21
|
* @slot start - Content to display at the leading edge of the select.
|
|
@@ -160,13 +163,12 @@ export class Select {
|
|
|
160
163
|
this.setFocus();
|
|
161
164
|
});
|
|
162
165
|
await overlay.present();
|
|
163
|
-
// focus selected option for popovers
|
|
164
|
-
if (this.interface === 'popover') {
|
|
165
|
-
const indexOfSelected = this.childOpts.
|
|
166
|
+
// focus selected option for popovers and modals
|
|
167
|
+
if (this.interface === 'popover' || this.interface === 'modal') {
|
|
168
|
+
const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
|
|
166
169
|
if (indexOfSelected > -1) {
|
|
167
170
|
const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
|
|
168
171
|
if (selectedItem) {
|
|
169
|
-
focusVisibleElement(selectedItem);
|
|
170
172
|
/**
|
|
171
173
|
* Browsers such as Firefox do not
|
|
172
174
|
* correctly delegate focus when manually
|
|
@@ -180,8 +182,11 @@ export class Select {
|
|
|
180
182
|
*/
|
|
181
183
|
const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');
|
|
182
184
|
if (interactiveEl) {
|
|
183
|
-
|
|
185
|
+
// Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
|
|
186
|
+
// and removing `ion-focused` style
|
|
187
|
+
interactiveEl.setFocus();
|
|
184
188
|
}
|
|
189
|
+
focusVisibleElement(selectedItem);
|
|
185
190
|
}
|
|
186
191
|
}
|
|
187
192
|
else {
|
|
@@ -190,11 +195,14 @@ export class Select {
|
|
|
190
195
|
*/
|
|
191
196
|
const firstEnabledOption = overlay.querySelector('ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)');
|
|
192
197
|
if (firstEnabledOption) {
|
|
193
|
-
focusVisibleElement(firstEnabledOption.closest('ion-item'));
|
|
194
198
|
/**
|
|
195
199
|
* Focus the option for the same reason as we do above.
|
|
200
|
+
*
|
|
201
|
+
* Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
|
|
202
|
+
* and removing `ion-focused` style
|
|
196
203
|
*/
|
|
197
|
-
firstEnabledOption.
|
|
204
|
+
firstEnabledOption.setFocus();
|
|
205
|
+
focusVisibleElement(firstEnabledOption.closest('ion-item'));
|
|
198
206
|
}
|
|
199
207
|
}
|
|
200
208
|
}
|
|
@@ -216,6 +224,9 @@ export class Select {
|
|
|
216
224
|
if (selectInterface === 'popover') {
|
|
217
225
|
return this.openPopover(ev);
|
|
218
226
|
}
|
|
227
|
+
if (selectInterface === 'modal') {
|
|
228
|
+
return this.openModal();
|
|
229
|
+
}
|
|
219
230
|
return this.openAlert();
|
|
220
231
|
}
|
|
221
232
|
updateOverlayOptions() {
|
|
@@ -232,7 +243,13 @@ export class Select {
|
|
|
232
243
|
case 'popover':
|
|
233
244
|
const popover = overlay.querySelector('ion-select-popover');
|
|
234
245
|
if (popover) {
|
|
235
|
-
popover.options = this.
|
|
246
|
+
popover.options = this.createOverlaySelectOptions(childOpts, value);
|
|
247
|
+
}
|
|
248
|
+
break;
|
|
249
|
+
case 'modal':
|
|
250
|
+
const modal = overlay.querySelector('ion-select-modal');
|
|
251
|
+
if (modal) {
|
|
252
|
+
modal.options = this.createOverlaySelectOptions(childOpts, value);
|
|
236
253
|
}
|
|
237
254
|
break;
|
|
238
255
|
case 'alert':
|
|
@@ -287,7 +304,7 @@ export class Select {
|
|
|
287
304
|
});
|
|
288
305
|
return alertInputs;
|
|
289
306
|
}
|
|
290
|
-
|
|
307
|
+
createOverlaySelectOptions(data, selectValue) {
|
|
291
308
|
const popoverOptions = data.map((option) => {
|
|
292
309
|
const value = getOptionValue(option);
|
|
293
310
|
// Remove hydrated before copying over classes
|
|
@@ -314,8 +331,8 @@ export class Select {
|
|
|
314
331
|
async openPopover(ev) {
|
|
315
332
|
const { fill, labelPlacement } = this;
|
|
316
333
|
const interfaceOptions = this.interfaceOptions;
|
|
317
|
-
const
|
|
318
|
-
const showBackdrop =
|
|
334
|
+
const theme = getIonTheme(this);
|
|
335
|
+
const showBackdrop = theme === 'md' ? false : true;
|
|
319
336
|
const multiple = this.multiple;
|
|
320
337
|
const value = this.value;
|
|
321
338
|
let event = ev;
|
|
@@ -326,7 +343,7 @@ export class Select {
|
|
|
326
343
|
* when using a fill in MD mode or if the
|
|
327
344
|
* label is floating/stacked.
|
|
328
345
|
*/
|
|
329
|
-
if (hasFloatingOrStackedLabel || (
|
|
346
|
+
if (hasFloatingOrStackedLabel || (theme === 'md' && fill !== undefined)) {
|
|
330
347
|
size = 'cover';
|
|
331
348
|
/**
|
|
332
349
|
* Otherwise the popover
|
|
@@ -339,7 +356,7 @@ export class Select {
|
|
|
339
356
|
ionShadowTarget: this.nativeWrapperEl,
|
|
340
357
|
} });
|
|
341
358
|
}
|
|
342
|
-
const popoverOpts = Object.assign(Object.assign({
|
|
359
|
+
const popoverOpts = Object.assign(Object.assign({ theme,
|
|
343
360
|
event, alignment: 'center', size,
|
|
344
361
|
showBackdrop }, interfaceOptions), { component: 'ion-select-popover', cssClass: ['select-popover', interfaceOptions.cssClass], componentProps: {
|
|
345
362
|
header: interfaceOptions.header,
|
|
@@ -347,7 +364,7 @@ export class Select {
|
|
|
347
364
|
message: interfaceOptions.message,
|
|
348
365
|
multiple,
|
|
349
366
|
value,
|
|
350
|
-
options: this.
|
|
367
|
+
options: this.createOverlaySelectOptions(this.childOpts, value),
|
|
351
368
|
} });
|
|
352
369
|
/**
|
|
353
370
|
* Workaround for Stencil to autodefine
|
|
@@ -364,9 +381,9 @@ export class Select {
|
|
|
364
381
|
return popoverController.create(popoverOpts);
|
|
365
382
|
}
|
|
366
383
|
async openActionSheet() {
|
|
367
|
-
const
|
|
384
|
+
const theme = getIonTheme(this);
|
|
368
385
|
const interfaceOptions = this.interfaceOptions;
|
|
369
|
-
const actionSheetOpts = Object.assign(Object.assign({
|
|
386
|
+
const actionSheetOpts = Object.assign(Object.assign({ theme }, interfaceOptions), { buttons: this.createActionSheetButtons(this.childOpts, this.value), cssClass: ['select-action-sheet', interfaceOptions.cssClass] });
|
|
370
387
|
/**
|
|
371
388
|
* Workaround for Stencil to autodefine
|
|
372
389
|
* ion-action-sheet when
|
|
@@ -383,8 +400,8 @@ export class Select {
|
|
|
383
400
|
async openAlert() {
|
|
384
401
|
const interfaceOptions = this.interfaceOptions;
|
|
385
402
|
const inputType = this.multiple ? 'checkbox' : 'radio';
|
|
386
|
-
const
|
|
387
|
-
const alertOpts = Object.assign(Object.assign({
|
|
403
|
+
const theme = getIonTheme(this);
|
|
404
|
+
const alertOpts = Object.assign(Object.assign({ theme }, interfaceOptions), { header: interfaceOptions.header ? interfaceOptions.header : this.labelText, inputs: this.createAlertInputs(this.childOpts, inputType, this.value), buttons: [
|
|
388
405
|
{
|
|
389
406
|
text: this.cancelText,
|
|
390
407
|
role: 'cancel',
|
|
@@ -416,6 +433,29 @@ export class Select {
|
|
|
416
433
|
}
|
|
417
434
|
return alertController.create(alertOpts);
|
|
418
435
|
}
|
|
436
|
+
openModal() {
|
|
437
|
+
const { multiple, value, interfaceOptions } = this;
|
|
438
|
+
const theme = getIonTheme(this);
|
|
439
|
+
const modalOpts = Object.assign(Object.assign({}, interfaceOptions), { mode: theme, cssClass: ['select-modal', interfaceOptions.cssClass], component: 'ion-select-modal', componentProps: {
|
|
440
|
+
header: interfaceOptions.header,
|
|
441
|
+
multiple,
|
|
442
|
+
value,
|
|
443
|
+
options: this.createOverlaySelectOptions(this.childOpts, value),
|
|
444
|
+
} });
|
|
445
|
+
/**
|
|
446
|
+
* Workaround for Stencil to autodefine
|
|
447
|
+
* ion-select-modal and ion-modal when
|
|
448
|
+
* using Custom Elements build.
|
|
449
|
+
*/
|
|
450
|
+
// eslint-disable-next-line
|
|
451
|
+
if (false) {
|
|
452
|
+
// eslint-disable-next-line
|
|
453
|
+
// @ts-ignore
|
|
454
|
+
document.createElement('ion-select-modal');
|
|
455
|
+
document.createElement('ion-modal');
|
|
456
|
+
}
|
|
457
|
+
return modalController.create(modalOpts);
|
|
458
|
+
}
|
|
419
459
|
/**
|
|
420
460
|
* Close the select interface.
|
|
421
461
|
*/
|
|
@@ -501,8 +541,8 @@ export class Select {
|
|
|
501
541
|
* when fill="outline".
|
|
502
542
|
*/
|
|
503
543
|
renderLabelContainer() {
|
|
504
|
-
const
|
|
505
|
-
const hasOutlineFill =
|
|
544
|
+
const theme = getIonTheme(this);
|
|
545
|
+
const hasOutlineFill = theme === 'md' && this.fill === 'outline';
|
|
506
546
|
if (hasOutlineFill) {
|
|
507
547
|
/**
|
|
508
548
|
* The outline fill has a special outline
|
|
@@ -551,15 +591,10 @@ export class Select {
|
|
|
551
591
|
* next to the select text.
|
|
552
592
|
*/
|
|
553
593
|
renderSelectIcon() {
|
|
554
|
-
const
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
icon = expandedIcon;
|
|
559
|
-
}
|
|
560
|
-
else {
|
|
561
|
-
const defaultIcon = mode === 'ios' ? chevronExpand : caretDownSharp;
|
|
562
|
-
icon = toggleIcon !== null && toggleIcon !== void 0 ? toggleIcon : defaultIcon;
|
|
594
|
+
const { isExpanded, selectExpandedIcon, selectCollapsedIcon } = this;
|
|
595
|
+
let icon = selectCollapsedIcon;
|
|
596
|
+
if (isExpanded) {
|
|
597
|
+
icon = selectExpandedIcon;
|
|
563
598
|
}
|
|
564
599
|
return h("ion-icon", { class: "select-icon", part: "icon", "aria-hidden": "true", icon: icon });
|
|
565
600
|
}
|
|
@@ -594,14 +629,62 @@ export class Select {
|
|
|
594
629
|
const { disabled, inputId, isExpanded } = this;
|
|
595
630
|
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
596
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
* Get the icon to use for the expand icon.
|
|
634
|
+
* If an icon is set on the component, use that.
|
|
635
|
+
* Otherwise, use the icon set in the config.
|
|
636
|
+
* If no icon is set in the config, use the default icon.
|
|
637
|
+
*/
|
|
638
|
+
get selectExpandedIcon() {
|
|
639
|
+
// Return the expandedIcon or toggleIcon if either is explicitly set
|
|
640
|
+
if (this.expandedIcon != null) {
|
|
641
|
+
return this.expandedIcon;
|
|
642
|
+
}
|
|
643
|
+
else if (this.toggleIcon != null) {
|
|
644
|
+
return this.toggleIcon;
|
|
645
|
+
}
|
|
646
|
+
// Determine the theme and map to default icons
|
|
647
|
+
const theme = getIonTheme(this);
|
|
648
|
+
const defaultIcons = {
|
|
649
|
+
ios: chevronExpand,
|
|
650
|
+
ionic: caretDownRegular,
|
|
651
|
+
md: caretDownSharp,
|
|
652
|
+
};
|
|
653
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
654
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
655
|
+
// Return the configured select expanded icon or the default icon
|
|
656
|
+
return config.get('selectExpandedIcon', defaultIcon);
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* Get the icon to use for the collapsed icon.
|
|
660
|
+
* If an icon is set on the component, use that.
|
|
661
|
+
* Otherwise, use the icon set in the config.
|
|
662
|
+
* If no icon is set in the config, use the default icon.
|
|
663
|
+
*/
|
|
664
|
+
get selectCollapsedIcon() {
|
|
665
|
+
// Return the toggleIcon if it is explicitly set
|
|
666
|
+
if (this.toggleIcon) {
|
|
667
|
+
return this.toggleIcon;
|
|
668
|
+
}
|
|
669
|
+
// Determine the theme and map to default icons
|
|
670
|
+
const theme = getIonTheme(this);
|
|
671
|
+
const defaultIcons = {
|
|
672
|
+
ios: chevronExpand,
|
|
673
|
+
ionic: caretDownRegular,
|
|
674
|
+
md: caretDownSharp,
|
|
675
|
+
};
|
|
676
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
677
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
678
|
+
return config.get('selectCollapsedIcon', defaultIcon);
|
|
679
|
+
}
|
|
597
680
|
render() {
|
|
598
681
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
599
|
-
const
|
|
682
|
+
const theme = getIonTheme(this);
|
|
600
683
|
const hasFloatingOrStackedLabel = labelPlacement === 'floating' || labelPlacement === 'stacked';
|
|
601
684
|
const justifyEnabled = !hasFloatingOrStackedLabel && justify !== undefined;
|
|
602
685
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
603
686
|
const inItem = hostContext('ion-item', this.el);
|
|
604
|
-
const shouldRenderHighlight =
|
|
687
|
+
const shouldRenderHighlight = theme === 'md' && fill !== 'outline' && !inItem;
|
|
605
688
|
const hasValue = this.hasValue();
|
|
606
689
|
const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
|
|
607
690
|
renderHiddenInput(true, el, name, parseValue(value), disabled);
|
|
@@ -623,8 +706,8 @@ export class Select {
|
|
|
623
706
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
624
707
|
*/
|
|
625
708
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
626
|
-
return (h(Host, { key: '
|
|
627
|
-
[
|
|
709
|
+
return (h(Host, { key: '53907da3ad1bd7f5793ff1b3d24cfc88e6f5251c', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
710
|
+
[theme]: true,
|
|
628
711
|
'in-item': inItem,
|
|
629
712
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
630
713
|
'select-disabled': disabled,
|
|
@@ -639,20 +722,22 @@ export class Select {
|
|
|
639
722
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
640
723
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
641
724
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
642
|
-
}) }, h("label", { key: '
|
|
725
|
+
}) }, h("label", { key: '04bc2e3f361e5156a589c160d4c426f7b37d2013', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: 'f2686986bb3eeff51501198de7558307454ebeda', class: "select-wrapper-inner" }, h("slot", { key: '7718621897e898deb25855a0192233a98ce655a8', name: "start" }), h("div", { key: 'a052077e5ff65c2d21fb76e5e06399d70dc5968c', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '093233ca86b031cfa038186f59a69a9dd9003eca', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '43e345f1078246d0e97d070d71c098da48355099', class: "select-highlight" }))));
|
|
643
726
|
}
|
|
644
727
|
static get is() { return "ion-select"; }
|
|
645
728
|
static get encapsulation() { return "shadow"; }
|
|
646
729
|
static get originalStyleUrls() {
|
|
647
730
|
return {
|
|
648
731
|
"ios": ["select.ios.scss"],
|
|
649
|
-
"md": ["select.md.scss"]
|
|
732
|
+
"md": ["select.md.scss"],
|
|
733
|
+
"ionic": ["select.md.scss"]
|
|
650
734
|
};
|
|
651
735
|
}
|
|
652
736
|
static get styleUrls() {
|
|
653
737
|
return {
|
|
654
738
|
"ios": ["select.ios.css"],
|
|
655
|
-
"md": ["select.md.css"]
|
|
739
|
+
"md": ["select.md.css"],
|
|
740
|
+
"ionic": ["select.md.css"]
|
|
656
741
|
};
|
|
657
742
|
}
|
|
658
743
|
static get properties() {
|
|
@@ -751,7 +836,7 @@ export class Select {
|
|
|
751
836
|
"optional": true,
|
|
752
837
|
"docs": {
|
|
753
838
|
"tags": [],
|
|
754
|
-
"text": "The fill for the item. If `\"solid\"` the item will have a background. If\n`\"outline\"` the item will be transparent with a border. Only available in
|
|
839
|
+
"text": "The fill for the item. If `\"solid\"` the item will have a background. If\n`\"outline\"` the item will be transparent with a border. Only available in the `\"md\"` theme."
|
|
755
840
|
},
|
|
756
841
|
"attribute": "fill",
|
|
757
842
|
"reflect": false
|
|
@@ -761,7 +846,7 @@ export class Select {
|
|
|
761
846
|
"mutable": false,
|
|
762
847
|
"complexType": {
|
|
763
848
|
"original": "SelectInterface",
|
|
764
|
-
"resolved": "\"action-sheet\" | \"alert\" | \"popover\"",
|
|
849
|
+
"resolved": "\"action-sheet\" | \"alert\" | \"modal\" | \"popover\"",
|
|
765
850
|
"references": {
|
|
766
851
|
"SelectInterface": {
|
|
767
852
|
"location": "import",
|
|
@@ -774,7 +859,7 @@ export class Select {
|
|
|
774
859
|
"optional": false,
|
|
775
860
|
"docs": {
|
|
776
861
|
"tags": [],
|
|
777
|
-
"text": "The interface the select should use: `action-sheet`, `popover` or `
|
|
862
|
+
"text": "The interface the select should use: `action-sheet`, `popover`, `alert`, or `modal`."
|
|
778
863
|
},
|
|
779
864
|
"attribute": "interface",
|
|
780
865
|
"reflect": false,
|
|
@@ -792,7 +877,7 @@ export class Select {
|
|
|
792
877
|
"optional": false,
|
|
793
878
|
"docs": {
|
|
794
879
|
"tags": [],
|
|
795
|
-
"text": "Any additional options that the `alert`, `action-sheet` or `popover` interface\ncan take. See the [ion-alert docs](./alert), the\n[ion-action-sheet docs](./action-sheet)
|
|
880
|
+
"text": "Any additional options that the `alert`, `action-sheet` or `popover` interface\ncan take. See the [ion-alert docs](./alert), the\n[ion-action-sheet docs](./action-sheet), the\n[ion-popover docs](./popover), and the [ion-modal docs](./modal) for the\ncreate options for each interface.\n\nNote: `interfaceOptions` will not override `inputs` or `buttons` with the `alert` interface."
|
|
796
881
|
},
|
|
797
882
|
"attribute": "interface-options",
|
|
798
883
|
"reflect": false,
|
|
@@ -950,7 +1035,7 @@ export class Select {
|
|
|
950
1035
|
"optional": true,
|
|
951
1036
|
"docs": {
|
|
952
1037
|
"tags": [],
|
|
953
|
-
"text": "The toggle icon to use. Defaults to
|
|
1038
|
+
"text": "The toggle icon to use. Defaults to `\"chevronExpand\"` for the `\"ios\"` theme,\nor `\"caretDownSharp\"` for the `\"md\"` and `\"ionic\"` themes."
|
|
954
1039
|
},
|
|
955
1040
|
"attribute": "toggle-icon",
|
|
956
1041
|
"reflect": false
|
|
@@ -967,7 +1052,7 @@ export class Select {
|
|
|
967
1052
|
"optional": true,
|
|
968
1053
|
"docs": {
|
|
969
1054
|
"tags": [],
|
|
970
|
-
"text": "The toggle icon to show when the select is open. If defined, the icon\nrotation behavior in
|
|
1055
|
+
"text": "The toggle icon to show when the select is open. If defined, the icon\nrotation behavior in `\"md\"` theme will be disabled. If undefined, `toggleIcon`\nwill be used for when the select is both open and closed."
|
|
971
1056
|
},
|
|
972
1057
|
"attribute": "expanded-icon",
|
|
973
1058
|
"reflect": false
|
|
@@ -1143,6 +1228,14 @@ export class Select {
|
|
|
1143
1228
|
"HTMLElement": {
|
|
1144
1229
|
"location": "global",
|
|
1145
1230
|
"id": "global::HTMLElement"
|
|
1231
|
+
},
|
|
1232
|
+
"HTMLIonRadioElement": {
|
|
1233
|
+
"location": "global",
|
|
1234
|
+
"id": "global::HTMLIonRadioElement"
|
|
1235
|
+
},
|
|
1236
|
+
"HTMLIonCheckboxElement": {
|
|
1237
|
+
"location": "global",
|
|
1238
|
+
"id": "global::HTMLIonCheckboxElement"
|
|
1146
1239
|
}
|
|
1147
1240
|
},
|
|
1148
1241
|
"return": "Promise<any>"
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -150,18 +156,18 @@
|
|
|
150
156
|
button {
|
|
151
157
|
position: absolute;
|
|
152
158
|
top: 0;
|
|
153
|
-
left: 0;
|
|
154
159
|
right: 0;
|
|
155
160
|
bottom: 0;
|
|
161
|
+
left: 0;
|
|
156
162
|
width: 100%;
|
|
157
163
|
height: 100%;
|
|
158
164
|
margin: 0;
|
|
159
165
|
padding: 0;
|
|
160
166
|
border: 0;
|
|
161
167
|
outline: 0;
|
|
162
|
-
clip: rect(0 0 0 0);
|
|
163
168
|
opacity: 0;
|
|
164
169
|
overflow: hidden;
|
|
170
|
+
clip: rect(0 0 0 0);
|
|
165
171
|
-webkit-appearance: none;
|
|
166
172
|
-moz-appearance: none;
|
|
167
173
|
}
|
|
@@ -556,7 +562,8 @@ button {
|
|
|
556
562
|
max-width: calc(100% / 0.75);
|
|
557
563
|
}
|
|
558
564
|
|
|
559
|
-
::slotted([slot=start]),
|
|
565
|
+
::slotted([slot=start]),
|
|
566
|
+
::slotted([slot=end]) {
|
|
560
567
|
/**
|
|
561
568
|
* Prevent the slots from shrinking when the label and/or
|
|
562
569
|
* selected item text is long enough to fill the rest of
|
|
@@ -575,6 +582,12 @@ button {
|
|
|
575
582
|
margin-inline-end: 0;
|
|
576
583
|
}
|
|
577
584
|
|
|
585
|
+
/**
|
|
586
|
+
* Convert a pixels given value into rem
|
|
587
|
+
*
|
|
588
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
589
|
+
* @param context (optional) - Baseline value
|
|
590
|
+
*/
|
|
578
591
|
/**
|
|
579
592
|
* Convert a font size to a dynamic font size.
|
|
580
593
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -630,6 +643,12 @@ button {
|
|
|
630
643
|
* }
|
|
631
644
|
* }
|
|
632
645
|
*/
|
|
646
|
+
/**
|
|
647
|
+
* Convert a pixels given value into rem
|
|
648
|
+
*
|
|
649
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
650
|
+
* @param context (optional) - Baseline value
|
|
651
|
+
*/
|
|
633
652
|
/**
|
|
634
653
|
* Convert a font size to a dynamic font size.
|
|
635
654
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -685,6 +704,12 @@ button {
|
|
|
685
704
|
* }
|
|
686
705
|
* }
|
|
687
706
|
*/
|
|
707
|
+
/**
|
|
708
|
+
* Convert a pixels given value into rem
|
|
709
|
+
*
|
|
710
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
711
|
+
* @param context (optional) - Baseline value
|
|
712
|
+
*/
|
|
688
713
|
/**
|
|
689
714
|
* Convert a font size to a dynamic font size.
|
|
690
715
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -811,6 +836,12 @@ button {
|
|
|
811
836
|
max-width: calc(100% / 0.75);
|
|
812
837
|
}
|
|
813
838
|
|
|
839
|
+
/**
|
|
840
|
+
* Convert a pixels given value into rem
|
|
841
|
+
*
|
|
842
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
843
|
+
* @param context (optional) - Baseline value
|
|
844
|
+
*/
|
|
814
845
|
/**
|
|
815
846
|
* Convert a font size to a dynamic font size.
|
|
816
847
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -969,7 +1000,9 @@ button {
|
|
|
969
1000
|
* Label text should not extend
|
|
970
1001
|
* beyond the bounds of the select.
|
|
971
1002
|
*/
|
|
972
|
-
max-width: calc(
|
|
1003
|
+
max-width: calc(
|
|
1004
|
+
(100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75
|
|
1005
|
+
);
|
|
973
1006
|
}
|
|
974
1007
|
|
|
975
1008
|
/**
|
|
@@ -986,8 +1019,8 @@ button {
|
|
|
986
1019
|
}
|
|
987
1020
|
|
|
988
1021
|
:host(.select-fill-outline) .select-outline-container {
|
|
989
|
-
left: 0;
|
|
990
1022
|
right: 0;
|
|
1023
|
+
left: 0;
|
|
991
1024
|
top: 0;
|
|
992
1025
|
bottom: 0;
|
|
993
1026
|
display: flex;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|