@ionic/core 8.4.0 → 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 +15 -10
- 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 +29 -12
- package/components/config2.js +79 -0
- package/components/content.js +14 -12
- package/components/data.js +4 -4
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/header.js +24 -15
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -2
- package/components/index4.js +8 -9
- 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-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-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 +12 -8
- 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 +11 -7
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +11 -7
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +79 -30
- 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-toast.js +30 -12
- package/components/ion-toggle.js +77 -18
- 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 +51 -21
- 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 +5 -3
- package/components/radio.js +12 -8
- package/components/ripple-effect.js +18 -8
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +9 -2
- package/components/spinner.js +36 -9
- package/components/status-tap.js +1 -1
- package/components/title.js +11 -7
- package/components/toolbar.js +11 -7
- 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-8e789962.js → index-03fbee1d.js} +14 -15
- 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 +25 -23
- 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 +29 -13
- 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 +48 -29
- 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 +18 -11
- 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 +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +23 -14
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +94 -38
- 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/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 +15 -12
- 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 +63 -14
- 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 +12 -7
- 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 +12 -9
- package/dist/collection/components/radio/radio.md.css +134 -91
- package/dist/collection/components/radio-group/radio-group.js +9 -3
- 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 +11 -8
- 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 +11 -8
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +6 -0
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/segment-view/segment-view.md.css +6 -0
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +81 -33
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-modal/select-modal.md.css +7 -3
- 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/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 +7030 -321
- 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-24b48b06.js → index-31109e63.js} +10 -11
- 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 +23 -21
- 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 +30 -14
- 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 +48 -29
- 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 +19 -12
- 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 +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +24 -15
- package/dist/esm/ion-select-modal.entry.js +7 -9
- package/dist/esm/ion-select_3.entry.js +96 -40
- 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 +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +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 +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-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 +2306 -204
- 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-424eb140.system.entry.js → p-10961893.system.entry.js} +1 -1
- 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-58d5df0c.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-73dc4950.entry.js → p-ab21d58c.entry.js} +1 -1
- 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 +14 -4
- 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.d.ts +3 -0
- 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 +2 -1
- 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 +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +20 -5
- 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 +1363 -179
- 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 +31 -1
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.js +2273 -856
- package/hydrate/index.mjs +2273 -856
- 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-24b48b06.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/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-01186920.system.entry.js +0 -4
- package/dist/ionic/p-0161caf9.system.entry.js +0 -4
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-0437ace4.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-06e58c4e.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-081a4ce4.entry.js +0 -4
- package/dist/ionic/p-09cf2394.entry.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-15e76dd1.entry.js +0 -4
- package/dist/ionic/p-16188af7.entry.js +0 -4
- package/dist/ionic/p-16799667.system.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-19ec4f42.entry.js +0 -4
- package/dist/ionic/p-1b7605a7.system.entry.js +0 -4
- package/dist/ionic/p-1c1b8e1f.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e010627.system.entry.js +0 -4
- package/dist/ionic/p-1e41f2aa.system.entry.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e67b266.system.entry.js +0 -4
- package/dist/ionic/p-1ebd1e27.system.entry.js +0 -4
- package/dist/ionic/p-2172893e.system.entry.js +0 -4
- package/dist/ionic/p-21e5e7e4.js +0 -4
- package/dist/ionic/p-2507278c.system.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2799c6d3.system.entry.js +0 -4
- package/dist/ionic/p-2abae1cc.system.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b838f86.system.entry.js +0 -4
- package/dist/ionic/p-2e46590d.system.entry.js +0 -4
- package/dist/ionic/p-2fc0dafe.entry.js +0 -4
- package/dist/ionic/p-322c5fb4.system.js +0 -4
- package/dist/ionic/p-33a8a71b.entry.js +0 -4
- package/dist/ionic/p-37cb43bd.system.entry.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-4439fc2a.entry.js +0 -4
- package/dist/ionic/p-45693d7e.entry.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-4a274c89.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4ec778aa.entry.js +0 -4
- package/dist/ionic/p-52d7a191.entry.js +0 -4
- package/dist/ionic/p-5393e8bb.system.entry.js +0 -4
- package/dist/ionic/p-567de071.system.entry.js +0 -4
- package/dist/ionic/p-5823babc.system.entry.js +0 -4
- package/dist/ionic/p-5972efea.system.entry.js +0 -4
- package/dist/ionic/p-5ab1b709.entry.js +0 -4
- package/dist/ionic/p-5b5c1505.system.entry.js +0 -4
- package/dist/ionic/p-5b932840.entry.js +0 -4
- package/dist/ionic/p-5bd39e5e.system.entry.js +0 -4
- package/dist/ionic/p-5c831f49.js +0 -4
- package/dist/ionic/p-5fce0c0b.system.entry.js +0 -4
- package/dist/ionic/p-62af944c.entry.js +0 -4
- package/dist/ionic/p-63b0abde.system.entry.js +0 -4
- package/dist/ionic/p-66640ff7.system.entry.js +0 -4
- package/dist/ionic/p-6734db42.system.entry.js +0 -4
- package/dist/ionic/p-69066a53.js +0 -4
- package/dist/ionic/p-69666e8a.system.entry.js +0 -4
- package/dist/ionic/p-6d32975a.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-7458862e.system.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-797eeea8.system.entry.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b9a2b23.entry.js +0 -4
- package/dist/ionic/p-7ed1657c.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-88e63c7d.js +0 -4
- package/dist/ionic/p-8f05ba3b.system.js +0 -4
- package/dist/ionic/p-908d6080.entry.js +0 -4
- package/dist/ionic/p-937a7e21.entry.js +0 -4
- package/dist/ionic/p-95775830.entry.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-98231c01.system.entry.js +0 -4
- package/dist/ionic/p-985a7e17.system.entry.js +0 -4
- package/dist/ionic/p-98ff6b32.entry.js +0 -4
- package/dist/ionic/p-9910f786.entry.js +0 -4
- package/dist/ionic/p-9df2c6fb.entry.js +0 -4
- package/dist/ionic/p-9ee1e8a6.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-9fa07aec.entry.js +0 -4
- package/dist/ionic/p-a1051806.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a1b9a163.entry.js +0 -4
- package/dist/ionic/p-a34b4d94.entry.js +0 -4
- package/dist/ionic/p-a4565eb5.system.js +0 -4
- package/dist/ionic/p-a49378bb.system.entry.js +0 -4
- package/dist/ionic/p-a61cba41.entry.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-adbc4bdf.entry.js +0 -4
- package/dist/ionic/p-afecb188.entry.js +0 -4
- package/dist/ionic/p-b335ffed.system.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-b82d4cab.js +0 -4
- package/dist/ionic/p-b9d7015f.entry.js +0 -4
- package/dist/ionic/p-bb0db172.entry.js +0 -4
- package/dist/ionic/p-bc36ad98.system.entry.js +0 -4
- package/dist/ionic/p-bdad26e3.entry.js +0 -4
- package/dist/ionic/p-c29f8157.system.entry.js +0 -4
- package/dist/ionic/p-c2b74d92.system.entry.js +0 -4
- package/dist/ionic/p-c41ac815.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-c9f3a539.entry.js +0 -4
- package/dist/ionic/p-ca065903.system.entry.js +0 -4
- package/dist/ionic/p-cac0e0b3.system.entry.js +0 -4
- package/dist/ionic/p-d18ab582.system.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d6841eac.js +0 -4
- package/dist/ionic/p-d7aa6b00.entry.js +0 -4
- package/dist/ionic/p-d7e982e7.system.entry.js +0 -4
- package/dist/ionic/p-da074ff7.entry.js +0 -4
- package/dist/ionic/p-db0c8e7d.entry.js +0 -4
- package/dist/ionic/p-de930745.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e2252ad6.entry.js +0 -4
- package/dist/ionic/p-e4ee80be.system.entry.js +0 -4
- package/dist/ionic/p-e563a35c.entry.js +0 -4
- package/dist/ionic/p-e7ed4a7f.system.js +0 -4
- package/dist/ionic/p-e9a173ed.entry.js +0 -4
- package/dist/ionic/p-eba29931.entry.js +0 -4
- package/dist/ionic/p-ebf042e0.system.entry.js +0 -4
- package/dist/ionic/p-ecceeb90.js +0 -4
- package/dist/ionic/p-ed75fcfb.system.entry.js +0 -4
- package/dist/ionic/p-ee7ba749.entry.js +0 -4
- package/dist/ionic/p-efaffe74.entry.js +0 -4
- package/dist/ionic/p-f10b70a1.entry.js +0 -4
- package/dist/ionic/p-f1acf541.system.entry.js +0 -4
- package/dist/ionic/p-f3102647.system.entry.js +0 -4
- package/dist/ionic/p-fca6ef5f.system.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
package/components/content.js
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, Build, readTask, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes, j as hasLazyBuild, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { a as isPlatform, c as getIonTheme, b as getIonMode } from './ionic-global.js';
|
|
7
7
|
import { i as isRTL } from './dir.js';
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
9
|
+
import { c as config } from './config2.js';
|
|
9
10
|
|
|
10
|
-
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{
|
|
11
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
|
|
11
12
|
const IonContentStyle0 = contentCss;
|
|
12
13
|
|
|
13
14
|
const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLElement {
|
|
@@ -149,9 +150,8 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
149
150
|
this.resize();
|
|
150
151
|
}, 100);
|
|
151
152
|
}
|
|
152
|
-
shouldForceOverscroll() {
|
|
153
|
+
shouldForceOverscroll(mode) {
|
|
153
154
|
const { forceOverscroll } = this;
|
|
154
|
-
const mode = getIonMode(this);
|
|
155
155
|
return forceOverscroll === undefined ? mode === 'ios' && isPlatform('ios') : forceOverscroll;
|
|
156
156
|
}
|
|
157
157
|
resize() {
|
|
@@ -338,24 +338,25 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
338
338
|
render() {
|
|
339
339
|
const { fixedSlotPlacement, inheritedAttributes, isMainContent, scrollX, scrollY, el } = this;
|
|
340
340
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
341
|
-
const
|
|
342
|
-
const
|
|
343
|
-
const
|
|
341
|
+
const theme = getIonTheme(this);
|
|
342
|
+
const mode = getIonMode(this, theme);
|
|
343
|
+
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
344
|
+
const transitionShadow = theme === 'ios';
|
|
344
345
|
this.resize();
|
|
345
|
-
return (h(Host, Object.assign({ key: '
|
|
346
|
-
[
|
|
346
|
+
return (h(Host, Object.assign({ key: 'ee94e34dd128cb2a21ef2b370d35e099a1125447', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
347
|
+
[theme]: true,
|
|
347
348
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
348
349
|
overscroll: forceOverscroll,
|
|
349
350
|
[`content-${rtl}`]: true,
|
|
350
351
|
}), style: {
|
|
351
352
|
'--offset-top': `${this.cTop}px`,
|
|
352
353
|
'--offset-bottom': `${this.cBottom}px`,
|
|
353
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
354
|
+
} }, inheritedAttributes), h("div", { key: '75954692de33cae260441064d0c4034d818b7de6', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '374f5d2da6f15b42df0ad268c2f9a188ac6aedcb', class: {
|
|
354
355
|
'inner-scroll': true,
|
|
355
356
|
'scroll-x': scrollX,
|
|
356
357
|
'scroll-y': scrollY,
|
|
357
358
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
358
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
359
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '625c1dc26f6b6c43ade2de6f61a92ae7a8bcbaa7' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
359
360
|
}
|
|
360
361
|
get el() { return this; }
|
|
361
362
|
static get style() { return IonContentStyle0; }
|
|
@@ -396,7 +397,8 @@ const getPageElement = (el) => {
|
|
|
396
397
|
* between the popover and the edges of the screen. But if the popover contains
|
|
397
398
|
* its own page element, we should use that instead.
|
|
398
399
|
*/
|
|
399
|
-
const
|
|
400
|
+
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
401
|
+
const page = el.closest(`${appRootSelector}, ion-page, .ion-page, page-inner, .popover-content`);
|
|
400
402
|
if (page) {
|
|
401
403
|
return page;
|
|
402
404
|
}
|
package/components/data.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { p as printIonWarning } from './
|
|
4
|
+
import { p as printIonWarning } from './ionic-global.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Returns true if the selected day is equal to the reference day
|
|
@@ -1147,20 +1147,20 @@ const hour23 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
|
|
|
1147
1147
|
// h24 hour system uses 1-24. Midnight starts at 24:00.
|
|
1148
1148
|
const hour24 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0];
|
|
1149
1149
|
/**
|
|
1150
|
-
* Given a locale and a
|
|
1150
|
+
* Given a locale and a theme,
|
|
1151
1151
|
* return an array with formatted days
|
|
1152
1152
|
* of the week. iOS should display days
|
|
1153
1153
|
* such as "Mon" or "Tue".
|
|
1154
1154
|
* MD should display days such as "M"
|
|
1155
1155
|
* or "T".
|
|
1156
1156
|
*/
|
|
1157
|
-
const getDaysOfWeek = (locale,
|
|
1157
|
+
const getDaysOfWeek = (locale, theme, firstDayOfWeek = 0) => {
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Nov 1st, 2020 starts on a Sunday.
|
|
1160
1160
|
* ion-datetime assumes weeks start on Sunday,
|
|
1161
1161
|
* but is configurable via `firstDayOfWeek`.
|
|
1162
1162
|
*/
|
|
1163
|
-
const weekdayFormat =
|
|
1163
|
+
const weekdayFormat = theme === 'ios' ? 'short' : 'narrow';
|
|
1164
1164
|
const intl = new Intl.DateTimeFormat(locale, { weekday: weekdayFormat });
|
|
1165
1165
|
const startDate = new Date('11/01/2020');
|
|
1166
1166
|
const daysOfWeek = [];
|
|
@@ -17,6 +17,13 @@ const FOCUS_KEYS = [
|
|
|
17
17
|
'Home',
|
|
18
18
|
'End',
|
|
19
19
|
];
|
|
20
|
+
let focusVisibleUtility = null;
|
|
21
|
+
const getOrInitFocusVisibleUtility = () => {
|
|
22
|
+
if (!focusVisibleUtility) {
|
|
23
|
+
focusVisibleUtility = startFocusVisible();
|
|
24
|
+
}
|
|
25
|
+
return focusVisibleUtility;
|
|
26
|
+
};
|
|
20
27
|
const startFocusVisible = (rootEl) => {
|
|
21
28
|
let currentFocus = [];
|
|
22
29
|
let keyboardMode = true;
|
|
@@ -72,4 +79,4 @@ const startFocusVisible = (rootEl) => {
|
|
|
72
79
|
};
|
|
73
80
|
};
|
|
74
81
|
|
|
75
|
-
export { startFocusVisible };
|
|
82
|
+
export { getOrInitFocusVisibleUtility, startFocusVisible };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { c as config } from './config2.js';
|
|
4
5
|
import { c as componentOnReady } from './helpers.js';
|
|
5
6
|
|
|
6
7
|
// TODO(FW-2832): types
|
|
@@ -102,7 +103,8 @@ const CoreDelegate = () => {
|
|
|
102
103
|
* Get the root of the app and
|
|
103
104
|
* add the overlay there.
|
|
104
105
|
*/
|
|
105
|
-
const
|
|
106
|
+
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
107
|
+
const app = document.querySelector(appRootSelector) || document.body;
|
|
106
108
|
/**
|
|
107
109
|
* Create a placeholder comment so that
|
|
108
110
|
* we can return this component to where
|
package/components/header.js
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './
|
|
5
|
+
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './index6.js';
|
|
6
6
|
import { k as clamp, i as inheritAriaAttributes } from './helpers.js';
|
|
7
7
|
import { h as hostContext } from './theme.js';
|
|
8
|
-
import {
|
|
8
|
+
import { c as config } from './config2.js';
|
|
9
|
+
import { c as getIonTheme } from './ionic-global.js';
|
|
9
10
|
|
|
10
11
|
const TRANSITION = 'all 0.2s ease-in-out';
|
|
11
12
|
const cloneElement = (tagName) => {
|
|
@@ -183,10 +184,13 @@ const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
|
|
|
183
184
|
});
|
|
184
185
|
};
|
|
185
186
|
|
|
186
|
-
const
|
|
187
|
+
const headerIonicCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}ion-header{-webkit-box-shadow:var(--ion-elevation-2, 0px 1px 5px 0px rgba(0, 0, 0, 0.05), 0px 8px 25px 0px rgba(0, 0, 0, 0.08));box-shadow:var(--ion-elevation-2, 0px 1px 5px 0px rgba(0, 0, 0, 0.05), 0px 8px 25px 0px rgba(0, 0, 0, 0.08));z-index:10}ion-header.header-divider{border-bottom:var(--ion-border-size-025, 1px) var(--ion-border-style-solid, solid) var(--ion-primitives-neutral-300, #cfcfcf)}ion-toolbar+ion-toolbar{--padding-start:var(--ion-space-400, 16px);--padding-end:var(--ion-space-400, 16px)}";
|
|
188
|
+
const IonHeaderIonicStyle0 = headerIonicCss;
|
|
189
|
+
|
|
190
|
+
const headerIosCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}ion-header{z-index:10}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:0.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}";
|
|
187
191
|
const IonHeaderIosStyle0 = headerIosCss;
|
|
188
192
|
|
|
189
|
-
const headerMdCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100
|
|
193
|
+
const headerMdCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}ion-header{z-index:10}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}";
|
|
190
194
|
const IonHeaderMdStyle0 = headerMdCss;
|
|
191
195
|
|
|
192
196
|
const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement {
|
|
@@ -206,6 +210,7 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
206
210
|
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
207
211
|
};
|
|
208
212
|
this.collapse = undefined;
|
|
213
|
+
this.divider = false;
|
|
209
214
|
this.translucent = false;
|
|
210
215
|
}
|
|
211
216
|
componentWillLoad() {
|
|
@@ -221,16 +226,17 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
221
226
|
this.destroyCollapsibleHeader();
|
|
222
227
|
}
|
|
223
228
|
async checkCollapsibleHeader() {
|
|
224
|
-
const
|
|
225
|
-
if (
|
|
229
|
+
const theme = getIonTheme(this);
|
|
230
|
+
if (theme !== 'ios') {
|
|
226
231
|
return;
|
|
227
232
|
}
|
|
228
233
|
const { collapse } = this;
|
|
229
234
|
const hasCondense = collapse === 'condense';
|
|
230
235
|
const hasFade = collapse === 'fade';
|
|
231
236
|
this.destroyCollapsibleHeader();
|
|
237
|
+
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
232
238
|
if (hasCondense) {
|
|
233
|
-
const pageEl = this.el.closest(
|
|
239
|
+
const pageEl = this.el.closest(`${appRootSelector},ion-page,.ion-page,page-inner`);
|
|
234
240
|
const contentEl = pageEl ? findIonContent(pageEl) : null;
|
|
235
241
|
// Cloned elements are always needed in iOS transition
|
|
236
242
|
writeTask(() => {
|
|
@@ -241,7 +247,7 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
241
247
|
await this.setupCondenseHeader(contentEl, pageEl);
|
|
242
248
|
}
|
|
243
249
|
else if (hasFade) {
|
|
244
|
-
const pageEl = this.el.closest(
|
|
250
|
+
const pageEl = this.el.closest(`${appRootSelector},ion-page,.ion-page,page-inner`);
|
|
245
251
|
const contentEl = pageEl ? findIonContent(pageEl) : null;
|
|
246
252
|
if (!contentEl) {
|
|
247
253
|
printIonContentErrorMsg(this.el);
|
|
@@ -316,27 +322,30 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
316
322
|
});
|
|
317
323
|
}
|
|
318
324
|
render() {
|
|
319
|
-
const { translucent, inheritedAttributes } = this;
|
|
320
|
-
const
|
|
325
|
+
const { translucent, inheritedAttributes, divider } = this;
|
|
326
|
+
const theme = getIonTheme(this);
|
|
321
327
|
const collapse = this.collapse || 'none';
|
|
322
328
|
// banner role must be at top level, so remove role if inside a menu
|
|
323
329
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
324
|
-
return (h(Host, Object.assign({ key: '
|
|
325
|
-
[
|
|
330
|
+
return (h(Host, Object.assign({ key: '2b8adbae18480acf564d2b16b2f741066fc18ae5', role: roleType, class: {
|
|
331
|
+
[theme]: true,
|
|
326
332
|
// Used internally for styling
|
|
327
|
-
[`header-${
|
|
333
|
+
[`header-${theme}`]: true,
|
|
328
334
|
[`header-translucent`]: this.translucent,
|
|
329
335
|
[`header-collapse-${collapse}`]: true,
|
|
330
|
-
[`header-translucent-${
|
|
331
|
-
|
|
336
|
+
[`header-translucent-${theme}`]: this.translucent,
|
|
337
|
+
['header-divider']: divider,
|
|
338
|
+
} }, inheritedAttributes), theme === 'ios' && translucent && h("div", { key: 'c42ffce2d92eababd3f8d521c110359a05e0e83f', class: "header-background" }), h("slot", { key: '721bdded45ab3a8478f139f369a08af7cf8cbbf1' })));
|
|
332
339
|
}
|
|
333
340
|
get el() { return this; }
|
|
334
341
|
static get style() { return {
|
|
342
|
+
ionic: IonHeaderIonicStyle0,
|
|
335
343
|
ios: IonHeaderIosStyle0,
|
|
336
344
|
md: IonHeaderMdStyle0
|
|
337
345
|
}; }
|
|
338
346
|
}, [36, "ion-header", {
|
|
339
347
|
"collapse": [1],
|
|
348
|
+
"divider": [4],
|
|
340
349
|
"translucent": [4]
|
|
341
350
|
}]);
|
|
342
351
|
function defineCustomElement() {
|
package/components/helpers.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { c as config } from './config2.js';
|
|
5
|
+
|
|
4
6
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
5
7
|
return new Promise((resolve) => {
|
|
6
8
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -241,7 +243,8 @@ const focusVisibleElement = (el) => {
|
|
|
241
243
|
* which will let us explicitly set the elements to focus.
|
|
242
244
|
*/
|
|
243
245
|
if (el.classList.contains('ion-focusable')) {
|
|
244
|
-
const
|
|
246
|
+
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
247
|
+
const app = el.closest(appRootSelector);
|
|
245
248
|
if (app) {
|
|
246
249
|
app.setFocus([el]);
|
|
247
250
|
}
|
package/components/index2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config } from './
|
|
4
|
+
import { c as config } from './config2.js';
|
|
5
5
|
import { writeTask, Build } from '@stencil/core/internal/client';
|
|
6
|
-
import { p as printIonWarning } from './
|
|
6
|
+
import { p as printIonWarning } from './ionic-global.js';
|
|
7
7
|
import { r as raf } from './helpers.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
package/components/index4.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { d as doc } from './
|
|
5
|
-
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button.js';
|
|
6
|
-
import { p as printIonWarning } from './index6.js';
|
|
4
|
+
import { b as getIonMode, p as printIonWarning, d as doc, M as MENU_BACK_BUTTON_PRIORITY } from './ionic-global.js';
|
|
7
5
|
import { c as componentOnReady } from './helpers.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
6
|
import { c as createAnimation } from './animation.js';
|
|
10
7
|
|
|
11
8
|
/**
|
|
@@ -48,10 +45,10 @@ const menuOverlayAnimation = (menu) => {
|
|
|
48
45
|
}
|
|
49
46
|
menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
|
|
50
47
|
const mode = getIonMode(menu);
|
|
51
|
-
const
|
|
52
|
-
const opacity =
|
|
48
|
+
const isIOS = mode === 'ios';
|
|
49
|
+
const opacity = isIOS ? 0.2 : 0.25;
|
|
53
50
|
backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
|
|
54
|
-
return baseAnimation(
|
|
51
|
+
return baseAnimation(isIOS).addAnimation([menuAnimation, backdropAnimation]);
|
|
55
52
|
};
|
|
56
53
|
|
|
57
54
|
/**
|
|
@@ -64,6 +61,7 @@ const menuPushAnimation = (menu) => {
|
|
|
64
61
|
let menuClosedX;
|
|
65
62
|
const mode = getIonMode(menu);
|
|
66
63
|
const width = menu.width;
|
|
64
|
+
const isIOS = mode === 'ios';
|
|
67
65
|
if (menu.isEndSide) {
|
|
68
66
|
contentOpenedX = -width + 'px';
|
|
69
67
|
menuClosedX = width + 'px';
|
|
@@ -79,7 +77,7 @@ const menuPushAnimation = (menu) => {
|
|
|
79
77
|
.addElement(menu.contentEl)
|
|
80
78
|
.fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
|
|
81
79
|
const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
|
|
82
|
-
return baseAnimation(
|
|
80
|
+
return baseAnimation(isIOS).addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
|
|
83
81
|
};
|
|
84
82
|
|
|
85
83
|
/**
|
|
@@ -89,11 +87,12 @@ const menuPushAnimation = (menu) => {
|
|
|
89
87
|
*/
|
|
90
88
|
const menuRevealAnimation = (menu) => {
|
|
91
89
|
const mode = getIonMode(menu);
|
|
90
|
+
const isIOS = mode === 'ios';
|
|
92
91
|
const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
|
|
93
92
|
const contentOpen = createAnimation()
|
|
94
93
|
.addElement(menu.contentEl) // REVIEW
|
|
95
94
|
.fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
|
|
96
|
-
return baseAnimation(
|
|
95
|
+
return baseAnimation(isIOS).addAnimation(contentOpen);
|
|
97
96
|
};
|
|
98
97
|
|
|
99
98
|
const createMenuController = () => {
|
package/components/index5.js
CHANGED
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
const
|
|
4
|
+
/* Ionicons v7.2.2, ES Modules */
|
|
5
|
+
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
6
|
+
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
7
|
+
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
8
|
+
const caretDownSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>";
|
|
9
|
+
const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>";
|
|
10
|
+
const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
11
|
+
const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
|
|
12
|
+
const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
|
|
13
|
+
const chevronExpand = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>";
|
|
14
|
+
const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
15
|
+
const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
16
|
+
const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
|
|
17
|
+
const closeCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>";
|
|
18
|
+
const closeSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>";
|
|
19
|
+
const ellipseOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
20
|
+
const ellipsisHorizontal = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>";
|
|
21
|
+
const eye = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z'/></svg>";
|
|
22
|
+
const eyeOff = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM248 315.85l-51.79-51.79a2 2 0 00-3.39 1.69 64.11 64.11 0 0053.49 53.49 2 2 0 001.69-3.39zM264 196.15L315.87 248a2 2 0 003.4-1.69 64.13 64.13 0 00-53.55-53.55 2 2 0 00-1.72 3.39z'/><path d='M491 273.36a32.2 32.2 0 00-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 00-71.82 11.79 4 4 0 00-1.56 6.63l47.24 47.24a4 4 0 003.82 1.05 96 96 0 01116 116 4 4 0 001.05 3.81l67.95 68a4 4 0 005.4.24 343.81 343.81 0 0067.24-77.4zM256 352a96 96 0 01-93.3-118.63 4 4 0 00-1.05-3.81l-66.84-66.87a4 4 0 00-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0072.64-11.55 4 4 0 001.61-6.64l-47.47-47.46a4 4 0 00-3.81-1.05A96 96 0 01256 352z'/></svg>";
|
|
23
|
+
const menuOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
24
|
+
const menuSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>";
|
|
25
|
+
const removeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
26
|
+
const reorderThreeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
27
|
+
const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>";
|
|
28
|
+
const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
29
|
+
const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";
|
|
6
30
|
|
|
7
|
-
export {
|
|
31
|
+
export { chevronBack as a, arrowBackSharp as b, chevronDown as c, chevronForwardOutline as d, ellipsisHorizontal as e, chevronForward as f, caretDownSharp as g, caretUpSharp as h, close as i, closeCircle as j, closeSharp as k, eyeOff as l, eye as m, menuOutline as n, menuSharp as o, arrowDown as p, caretBackSharp as q, reorderThreeOutline as r, reorderTwoSharp as s, searchOutline as t, searchSharp as u, chevronExpand as v, removeOutline as w, checkmarkOutline as x, ellipseOutline as y };
|
package/components/index6.js
CHANGED
|
@@ -1,34 +1,128 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { c as componentOnReady } from './helpers.js';
|
|
5
|
+
import { f as printRequiredElementError } from './ionic-global.js';
|
|
6
|
+
|
|
7
|
+
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
|
+
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
9
|
+
const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
|
4
10
|
/**
|
|
5
|
-
*
|
|
6
|
-
* to indicate the library that is warning the developer.
|
|
11
|
+
* Selector used for implementations reliant on `<ion-content>` for scroll event changes.
|
|
7
12
|
*
|
|
8
|
-
*
|
|
13
|
+
* Developers should use the `.ion-content-scroll-host` selector to target the element emitting
|
|
14
|
+
* scroll events. With virtual scroll implementations this will be the host element for
|
|
15
|
+
* the scroll viewport.
|
|
9
16
|
*/
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
*
|
|
15
|
-
* to indicate the library that is warning the developer.
|
|
17
|
+
const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
|
|
18
|
+
const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;
|
|
19
|
+
/**
|
|
20
|
+
* Waits for the element host fully initialize before
|
|
21
|
+
* returning the inner scroll element.
|
|
16
22
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
23
|
+
* For `ion-content` the scroll target will be the result
|
|
24
|
+
* of the `getScrollElement` function.
|
|
25
|
+
*
|
|
26
|
+
* For custom implementations it will be the element host
|
|
27
|
+
* or a selector within the host, if supplied through `scrollTarget`.
|
|
19
28
|
*/
|
|
20
|
-
const
|
|
21
|
-
|
|
29
|
+
const getScrollElement = async (el) => {
|
|
30
|
+
if (isIonContent(el)) {
|
|
31
|
+
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
32
|
+
return el.getScrollElement();
|
|
33
|
+
}
|
|
34
|
+
return el;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Queries the element matching the selector for IonContent.
|
|
38
|
+
* See ION_CONTENT_SELECTOR for the selector used.
|
|
39
|
+
*/
|
|
40
|
+
const findIonContent = (el) => {
|
|
41
|
+
/**
|
|
42
|
+
* First we try to query the custom scroll host selector in cases where
|
|
43
|
+
* the implementation is using an outer `ion-content` with an inner custom
|
|
44
|
+
* scroll container.
|
|
45
|
+
*/
|
|
46
|
+
const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
|
47
|
+
if (customContentHost) {
|
|
48
|
+
return customContentHost;
|
|
49
|
+
}
|
|
50
|
+
return el.querySelector(ION_CONTENT_SELECTOR);
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Queries the closest element matching the selector for IonContent.
|
|
54
|
+
*/
|
|
55
|
+
const findClosestIonContent = (el) => {
|
|
56
|
+
return el.closest(ION_CONTENT_SELECTOR);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
|
60
|
+
* using the public API `scrollToTop` with a duration.
|
|
61
|
+
*/
|
|
62
|
+
const scrollToTop = (el, durationMs) => {
|
|
63
|
+
if (isIonContent(el)) {
|
|
64
|
+
const content = el;
|
|
65
|
+
return content.scrollToTop(durationMs);
|
|
66
|
+
}
|
|
67
|
+
return Promise.resolve(el.scrollTo({
|
|
68
|
+
top: 0,
|
|
69
|
+
left: 0,
|
|
70
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
71
|
+
}));
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
|
|
75
|
+
* using the public API `scrollByPoint` with a duration.
|
|
76
|
+
*/
|
|
77
|
+
const scrollByPoint = (el, x, y, durationMs) => {
|
|
78
|
+
if (isIonContent(el)) {
|
|
79
|
+
const content = el;
|
|
80
|
+
return content.scrollByPoint(x, y, durationMs);
|
|
81
|
+
}
|
|
82
|
+
return Promise.resolve(el.scrollBy({
|
|
83
|
+
top: y,
|
|
84
|
+
left: x,
|
|
85
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
86
|
+
}));
|
|
22
87
|
};
|
|
23
88
|
/**
|
|
24
89
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
25
|
-
* within
|
|
26
|
-
*
|
|
27
|
-
* @param el The web component element this is requiring the element.
|
|
28
|
-
* @param targetSelectors The selector or selectors that were not found.
|
|
90
|
+
* within either the `ion-content` selector or the `.ion-content-scroll-host` class.
|
|
29
91
|
*/
|
|
30
|
-
const
|
|
31
|
-
return
|
|
92
|
+
const printIonContentErrorMsg = (el) => {
|
|
93
|
+
return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Several components in Ionic need to prevent scrolling
|
|
97
|
+
* during a gesture (card modal, range, item sliding, etc).
|
|
98
|
+
* Use this utility to account for ion-content and custom content hosts.
|
|
99
|
+
*/
|
|
100
|
+
const disableContentScrollY = (contentEl) => {
|
|
101
|
+
if (isIonContent(contentEl)) {
|
|
102
|
+
const ionContent = contentEl;
|
|
103
|
+
const initialScrollY = ionContent.scrollY;
|
|
104
|
+
ionContent.scrollY = false;
|
|
105
|
+
/**
|
|
106
|
+
* This should be passed into resetContentScrollY
|
|
107
|
+
* so that we can revert ion-content's scrollY to the
|
|
108
|
+
* correct state. For example, if scrollY = false
|
|
109
|
+
* initially, we do not want to enable scrolling
|
|
110
|
+
* when we call resetContentScrollY.
|
|
111
|
+
*/
|
|
112
|
+
return initialScrollY;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
contentEl.style.setProperty('overflow', 'hidden');
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const resetContentScrollY = (contentEl, initialScrollY) => {
|
|
120
|
+
if (isIonContent(contentEl)) {
|
|
121
|
+
contentEl.scrollY = initialScrollY;
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
contentEl.style.removeProperty('overflow');
|
|
125
|
+
}
|
|
32
126
|
};
|
|
33
127
|
|
|
34
|
-
export {
|
|
128
|
+
export { ION_CONTENT_CLASS_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_ELEMENT_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
|