@ionic/core 8.3.2-dev.11729014526.1ab61c12 → 8.3.2-dev.11729166111.115d6104
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 +1 -1
- package/components/alert.js +2 -1
- package/components/animation.js +1 -1
- package/components/backdrop.js +1 -1
- package/components/button.js +1 -1
- package/components/buttons.js +1 -1
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +1 -1
- package/components/config2.js +79 -0
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -1
- package/components/index4.js +1 -3
- package/components/index5.js +27 -3
- package/components/index6.js +124 -27
- package/components/index7.js +150 -111
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +5 -5
- package/components/ion-accordion.js +11 -14
- package/components/ion-app.js +7 -74
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +3 -2
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +3 -2
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +7 -5
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +3 -2
- package/components/ion-fab-button.js +3 -2
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +7 -5
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +8 -6
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -1
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +3 -2
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +2 -2
- package/components/ion-loading.js +2 -1
- package/components/ion-menu-button.js +3 -2
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- package/components/ion-nav.js +2 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +2 -1
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +3 -2
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +3 -2
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +2 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -2
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -2
- package/components/ion-skeleton-text.js +2 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +2 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -2
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +189 -76
- package/components/item.js +6 -5
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +1 -1
- package/components/list-header.js +1 -1
- package/components/list.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -4
- package/components/picker-column-option.js +1 -1
- package/components/picker-column.js +1 -2
- package/components/picker-column2.js +1 -1
- package/components/popover.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +1 -1
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +2 -1
- package/components/status-tap.js +1 -1
- package/css/ionic/bundle.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.css.map +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-232e0c8f.js} +2 -2
- package/dist/cjs/{app-globals-38bbc401.js → app-globals-0189a70c.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-41228dbf.js} +4 -4
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-806e7fee.js} +3 -3
- package/dist/cjs/{index-73f75efb.js → config-1349d5b4.js} +79 -0
- package/dist/cjs/{data-b3a1a686.js → data-cad5d489.js} +1 -1
- package/dist/{esm/focus-visible-dd40d69f.js → cjs/focus-visible-9aa87fa3.js} +11 -1
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-cf116b1d.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-f0cad9a6.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-e75eb909.js} +4 -1
- package/dist/cjs/{index-2fa32189.js → index-1d02518d.js} +2 -2
- package/dist/cjs/{index-9509ecad.js → index-2c8b42cd.js} +8 -7
- package/dist/cjs/{index-694a3808.js → index-3ac79a1b.js} +10 -10
- package/dist/cjs/{index-ed0f67a3.js → index-71085796.js} +5 -7
- package/dist/cjs/index.cjs.js +10 -12
- package/dist/cjs/{input-shims-ab680ecf.js → input-shims-2958dcc9.js} +17 -18
- package/dist/cjs/{input.utils-44ff82f0.js → input.utils-ed749ecb.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +28 -32
- package/dist/cjs/ion-action-sheet.cjs.entry.js +23 -25
- package/dist/cjs/ion-alert.cjs.entry.js +33 -35
- package/dist/cjs/ion-app_8.cjs.entry.js +84 -150
- package/dist/cjs/ion-avatar_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-back-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +24 -24
- package/dist/cjs/ion-button_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -19
- package/dist/cjs/ion-checkbox.cjs.entry.js +15 -15
- package/dist/cjs/ion-chip.cjs.entry.js +5 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +89 -91
- package/dist/cjs/ion-fab_3.cjs.entry.js +21 -21
- package/dist/cjs/ion-img.cjs.entry.js +10 -10
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +22 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +14 -14
- package/dist/cjs/ion-input.cjs.entry.js +27 -28
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +43 -43
- package/dist/cjs/ion-loading.cjs.entry.js +23 -25
- package/dist/cjs/ion-menu_3.cjs.entry.js +37 -39
- package/dist/cjs/ion-modal.cjs.entry.js +48 -50
- package/dist/cjs/ion-nav_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column.cjs.entry.js +13 -14
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +22 -24
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -10
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-range.cjs.entry.js +23 -23
- package/dist/cjs/ion-refresher_2.cjs.entry.js +46 -47
- package/dist/cjs/ion-reorder_2.cjs.entry.js +20 -21
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +14 -14
- package/dist/cjs/ion-searchbar.cjs.entry.js +30 -30
- package/dist/cjs/ion-segment_2.cjs.entry.js +17 -17
- package/dist/cjs/ion-select_3.cjs.entry.js +43 -45
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -12
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +18 -19
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +23 -24
- package/dist/cjs/ion-toast.cjs.entry.js +29 -31
- package/dist/cjs/ion-toggle.cjs.entry.js +24 -25
- package/dist/cjs/{ionic-global-5df85d73.js → ionic-global-3647b9f5.js} +205 -89
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-7574ba71.js → ios.transition-4411892c.js} +5 -6
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-020444ad.js} +11 -9
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-e0062bfc.js} +4 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-ed6e1327.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-d9d90911.js → md.transition-261f9f67.js} +5 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-70ad2323.js} +4 -4
- package/dist/cjs/{overlays-faf6f843.js → overlays-22320753.js} +17 -17
- package/dist/cjs/{status-tap-28780caa.js → status-tap-cfc7f9a5.js} +8 -8
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-ecdf1cf5.js} +2 -1
- package/dist/collection/components/accordion/accordion.ionic.css +203 -0
- package/dist/collection/components/accordion/accordion.ios.css +61 -58
- package/dist/collection/components/accordion/accordion.js +6 -10
- package/dist/collection/components/accordion/accordion.md.css +61 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +83 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -4
- package/dist/collection/components/accordion-group/accordion-group.js +4 -4
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -4
- package/dist/collection/components/app/app.js +5 -75
- package/dist/collection/components/content/content.js +6 -4
- package/dist/collection/components/footer/footer.js +5 -3
- package/dist/collection/components/header/header.js +6 -4
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/item/item.ionic.css +2 -0
- package/dist/collection/components/item/item.ios.css +1 -0
- package/dist/collection/components/item/item.md.css +1 -0
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/global/ionic-global.js +69 -1
- 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/overlays.js +2 -1
- package/dist/docs.json +107 -107
- package/dist/esm/{animation-eab5a4ca.js → animation-16546c84.js} +1 -1
- package/dist/esm/{app-globals-c45950ba.js → app-globals-35381e66.js} +1 -1
- package/dist/esm/{button-active-873732e5.js → button-active-c768aceb.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-0897b83c.js} +1 -1
- package/dist/esm/{index-723c0e5d.js → config-0b6b1b3d.js} +76 -1
- package/dist/esm/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/{cjs/focus-visible-7a0ce04f.js → esm/focus-visible-501aff19.js} +8 -3
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-56698eb0.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-d57f52c8.js} +4 -1
- package/{components/index8.js → dist/esm/index-7f65e865.js} +3 -2
- package/dist/esm/{index-2d8b49ae.js → index-82405a4a.js} +3 -5
- package/dist/esm/{index-29be96b3.js → index-edf94b3b.js} +5 -5
- package/dist/esm/{index-56cab0d6.js → index-f8ad386a.js} +2 -2
- package/dist/esm/index.js +10 -12
- package/dist/esm/{input-shims-59f93016.js → input-shims-0f3cc1c3.js} +6 -7
- package/dist/esm/{input.utils-8755322f.js → input.utils-ef4d8197.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +15 -19
- package/dist/esm/ion-action-sheet.entry.js +9 -11
- package/dist/esm/ion-alert.entry.js +9 -11
- package/dist/esm/ion-app_8.entry.js +28 -94
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +10 -12
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +5 -6
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +6 -6
- package/dist/esm/ion-loading.entry.js +6 -8
- package/dist/esm/ion-menu_3.entry.js +7 -9
- package/dist/esm/ion-modal.entry.js +11 -13
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +5 -6
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -9
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +7 -8
- package/dist/esm/ion-reorder_2.entry.js +6 -7
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +6 -8
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -7
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +5 -6
- package/dist/esm/ion-toast.entry.js +6 -8
- package/dist/esm/ion-toggle.entry.js +5 -6
- package/dist/esm/{ionic-global-a8cbb8b0.js → ionic-global-d7017fd9.js} +184 -72
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4706aa28.js → ios.transition-4b9fe79e.js} +5 -6
- package/dist/esm/{keyboard-52278bd7.js → keyboard-584d2e6f.js} +4 -3
- package/dist/esm/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-9c9c2301.js} +5 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-20ad6960.js → md.transition-a71dc418.js} +5 -6
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-4d9a7b28.js} +2 -2
- package/dist/esm/{overlays-40e86f77.js → overlays-9da9aef5.js} +6 -6
- package/dist/esm/{status-tap-0433b6a6.js → status-tap-82f51b25.js} +4 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-c5709ce5.js} +2 -1
- package/dist/esm-es5/animation-16546c84.js +4 -0
- package/dist/esm-es5/app-globals-35381e66.js +4 -0
- package/dist/esm-es5/button-active-c768aceb.js +4 -0
- package/dist/esm-es5/capacitor-0897b83c.js +4 -0
- package/dist/esm-es5/{index-723c0e5d.js → config-0b6b1b3d.js} +2 -2
- package/dist/esm-es5/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-56698eb0.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm-es5/helpers-d57f52c8.js +4 -0
- package/dist/esm-es5/index-7f65e865.js +4 -0
- package/dist/esm-es5/index-82405a4a.js +4 -0
- package/dist/esm-es5/index-edf94b3b.js +4 -0
- package/dist/esm-es5/{index-56cab0d6.js → index-f8ad386a.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0f3cc1c3.js +4 -0
- package/dist/esm-es5/input.utils-ef4d8197.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_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-d7017fd9.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4b9fe79e.js +4 -0
- package/dist/esm-es5/keyboard-584d2e6f.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-a71dc418.js +4 -0
- package/dist/esm-es5/notch-controller-4d9a7b28.js +4 -0
- package/dist/esm-es5/overlays-9da9aef5.js +4 -0
- package/dist/esm-es5/status-tap-82f51b25.js +4 -0
- package/dist/esm-es5/swipe-back-c5709ce5.js +4 -0
- package/dist/html.html-data.json +102 -102
- 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-027d729e.entry.js +4 -0
- package/dist/ionic/p-036e1c5b.entry.js +4 -0
- package/dist/ionic/{p-8285d686.system.entry.js → p-0695a0af.system.entry.js} +1 -1
- package/dist/ionic/p-08df90cf.system.js +4 -0
- package/dist/ionic/p-08f1ef0c.entry.js +4 -0
- package/dist/ionic/{p-eef611dc.system.entry.js → p-093de343.system.entry.js} +1 -1
- package/dist/ionic/{p-d3fd2c98.entry.js → p-0a701833.entry.js} +1 -1
- package/dist/ionic/{p-0b120b1d.js → p-0a820472.js} +1 -1
- package/dist/ionic/p-0ade0499.system.entry.js +4 -0
- package/dist/ionic/p-1037b7dd.js +4 -0
- package/dist/ionic/{p-26313905.system.entry.js → p-11915ee9.system.entry.js} +1 -1
- package/dist/ionic/p-12e3e308.entry.js +4 -0
- package/dist/ionic/p-14719a77.entry.js +4 -0
- package/dist/ionic/p-15d51b10.js +4 -0
- package/dist/ionic/p-221e5078.system.js +4 -0
- package/dist/ionic/p-25e2c98f.system.js +4 -0
- package/dist/ionic/p-26f7c080.system.js +4 -0
- package/dist/ionic/p-28d04212.system.js +4 -0
- package/dist/ionic/{p-cde755fc.system.entry.js → p-291dc0b3.system.entry.js} +1 -1
- package/dist/ionic/p-29d6d1fc.system.entry.js +4 -0
- package/dist/ionic/p-2a559ac6.js +4 -0
- package/dist/ionic/p-2a79e451.entry.js +4 -0
- package/dist/ionic/p-2b428cf6.entry.js +4 -0
- package/dist/ionic/{p-d878447e.entry.js → p-2c368e32.entry.js} +1 -1
- package/dist/ionic/{p-a4519424.system.js → p-2c5d7d84.system.js} +1 -1
- package/dist/ionic/p-2d621d56.system.entry.js +4 -0
- package/dist/ionic/{p-6b6ee9ca.system.entry.js → p-2da8c20c.system.entry.js} +1 -1
- package/dist/ionic/p-334c09da.entry.js +4 -0
- package/dist/ionic/p-33a1d951.system.entry.js +4 -0
- package/dist/ionic/p-36bdcfc4.js +4 -0
- package/dist/ionic/p-388ac217.js +4 -0
- package/dist/ionic/{p-727aa804.system.entry.js → p-39c02066.system.entry.js} +1 -1
- package/dist/ionic/{p-c4ae4d32.system.js → p-3a11234f.system.js} +1 -1
- package/dist/ionic/{p-4ccbf702.system.js → p-3bfe43bc.system.js} +1 -1
- package/dist/ionic/p-3c24f9f2.entry.js +4 -0
- package/dist/ionic/p-3ca5196c.js +4 -0
- package/dist/ionic/{p-35b66bbc.system.entry.js → p-3d9cad0b.system.entry.js} +1 -1
- package/dist/ionic/{p-5a583b1a.entry.js → p-413a936c.entry.js} +1 -1
- package/dist/ionic/p-419fac38.entry.js +4 -0
- package/dist/ionic/p-434c7348.system.entry.js +4 -0
- package/dist/ionic/p-45e150eb.js +4 -0
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-46cc2492.system.js +4 -0
- package/dist/ionic/{p-77c3fe69.entry.js → p-49a3fc76.entry.js} +1 -1
- package/dist/ionic/{p-e5333f3f.entry.js → p-49d80815.entry.js} +1 -1
- package/dist/ionic/{p-854b1e11.system.entry.js → p-4a9b61ed.system.entry.js} +1 -1
- package/dist/ionic/{p-b6d72f12.entry.js → p-4b153a9f.entry.js} +1 -1
- package/dist/ionic/p-4c251d59.entry.js +4 -0
- package/dist/ionic/{p-10dacd80.entry.js → p-4d000ec5.entry.js} +1 -1
- package/dist/ionic/p-4e202665.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-4ed7dfdb.js} +1 -1
- package/dist/ionic/p-4feea938.entry.js +4 -0
- package/dist/ionic/p-501ae197.system.entry.js +4 -0
- package/dist/ionic/p-50feac01.system.entry.js +4 -0
- package/dist/ionic/p-521ef3a2.entry.js +4 -0
- package/dist/ionic/p-5430a9da.system.entry.js +4 -0
- package/dist/ionic/{p-4de02483.entry.js → p-5468bfbf.entry.js} +1 -1
- package/dist/ionic/p-5655419d.system.entry.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-61a51379.system.js} +1 -1
- package/dist/ionic/p-643e2eb8.js +4 -0
- package/dist/ionic/{p-12299223.system.entry.js → p-64a3567c.system.entry.js} +1 -1
- package/dist/ionic/p-660f3b98.entry.js +4 -0
- package/dist/ionic/{p-d05aabdf.system.entry.js → p-68f3fa48.system.entry.js} +2 -2
- package/dist/ionic/{p-bd7fb7b4.js → p-69e54172.js} +1 -1
- package/dist/ionic/p-6ad6d594.js +4 -0
- package/dist/ionic/p-6d240f1a.entry.js +4 -0
- package/dist/ionic/{p-82028c01.system.entry.js → p-6d9e1887.system.entry.js} +1 -1
- package/dist/ionic/{p-f3cfb48a.entry.js → p-6ecebfc6.entry.js} +1 -1
- package/dist/ionic/{p-c32229bb.system.entry.js → p-6f8c2e62.system.entry.js} +1 -1
- package/dist/ionic/p-70c6cd75.system.js +4 -0
- package/dist/ionic/{p-5cc80c49.system.js → p-71e8ffdd.system.js} +1 -1
- package/dist/ionic/{p-6c555957.system.entry.js → p-726b9197.system.entry.js} +1 -1
- package/dist/ionic/{p-ce5c2902.system.js → p-73e32456.system.js} +1 -1
- package/dist/ionic/{p-9146695e.system.js → p-747e9c9a.system.js} +1 -1
- package/dist/ionic/p-7cdc6bce.entry.js +4 -0
- package/dist/ionic/p-7ebc381e.entry.js +4 -0
- package/dist/ionic/{p-e34e037d.system.entry.js → p-80342c88.system.entry.js} +1 -1
- package/dist/ionic/p-8421aedf.js +4 -0
- package/dist/ionic/{p-927b5898.entry.js → p-846dd10a.entry.js} +1 -1
- package/dist/ionic/p-90089868.system.entry.js +4 -0
- package/dist/ionic/{p-19c89aeb.system.entry.js → p-9152f6a3.system.entry.js} +1 -1
- package/dist/ionic/{p-48cd1ced.entry.js → p-92b48263.entry.js} +1 -1
- package/dist/ionic/p-931dc464.entry.js +4 -0
- package/dist/ionic/p-95e22fa9.entry.js +4 -0
- package/dist/ionic/{p-e259208f.entry.js → p-9a9eb866.entry.js} +1 -1
- package/dist/ionic/p-9c526519.entry.js +4 -0
- package/dist/ionic/p-9e4ede77.system.entry.js +4 -0
- package/dist/ionic/p-9e8e25e4.system.js +4 -0
- package/dist/ionic/p-9e9bff83.system.js +4 -0
- package/dist/ionic/p-9f51595b.entry.js +4 -0
- package/dist/ionic/{p-3efc5d47.system.entry.js → p-a65fe34d.system.entry.js} +1 -1
- package/dist/ionic/p-a6aaef61.system.entry.js +4 -0
- package/dist/ionic/p-a856dbc6.entry.js +4 -0
- package/dist/ionic/{p-83948e48.js → p-a9fd9d48.js} +2 -2
- package/dist/ionic/p-aacc6ddd.system.js +5 -0
- package/dist/ionic/{p-bcfa9bb5.system.entry.js → p-ab6e0f02.system.entry.js} +1 -1
- package/dist/ionic/{p-bef12497.entry.js → p-ac64cba5.entry.js} +1 -1
- package/dist/ionic/p-adaa7af1.entry.js +4 -0
- package/dist/ionic/p-adec897a.system.entry.js +4 -0
- package/dist/ionic/p-b0e10591.entry.js +4 -0
- package/dist/ionic/{p-46f790b3.entry.js → p-b14c601a.entry.js} +1 -1
- package/dist/ionic/p-b19a9aa9.system.js +4 -0
- package/dist/ionic/p-b297c7b5.system.js +4 -0
- package/dist/ionic/{p-d6eda1bb.system.entry.js → p-b6fc8ee2.system.entry.js} +1 -1
- package/dist/ionic/{p-89b61afc.js → p-b9b36d56.js} +1 -1
- package/dist/ionic/p-ba3ddec4.js +4 -0
- package/dist/ionic/{p-9c8e5275.system.entry.js → p-bd50f24e.system.entry.js} +1 -1
- package/dist/ionic/{p-db63907a.system.entry.js → p-c2a4c5c5.system.entry.js} +1 -1
- package/dist/ionic/p-c6191942.js +4 -0
- package/dist/ionic/p-c6e47379.entry.js +4 -0
- package/dist/ionic/p-c7e967c0.system.entry.js +4 -0
- package/dist/ionic/p-c8097757.system.entry.js +4 -0
- package/dist/ionic/p-c8a54d29.system.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-c9ef0ca7.system.js} +1 -1
- package/dist/ionic/p-cb131dda.system.entry.js +4 -0
- package/dist/ionic/{p-ca3bf740.system.entry.js → p-cb8800fe.system.entry.js} +1 -1
- package/dist/ionic/p-cf2f1ede.entry.js +4 -0
- package/dist/ionic/p-d0259f44.system.js +4 -0
- package/dist/ionic/{p-bf673222.system.entry.js → p-d085c881.system.entry.js} +1 -1
- package/dist/ionic/p-d0953ec9.system.entry.js +4 -0
- package/dist/ionic/{p-cb3dc48f.entry.js → p-d0b7fe70.entry.js} +1 -1
- package/dist/ionic/p-d10313a6.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-d1e991c3.js} +1 -1
- package/dist/ionic/p-d2a55f0a.system.entry.js +4 -0
- package/dist/ionic/p-d2ef848a.entry.js +4 -0
- package/dist/ionic/{p-f4ad1cf6.system.entry.js → p-d346c889.system.entry.js} +1 -1
- package/dist/ionic/{p-f7712c17.system.js → p-d8339079.system.js} +1 -1
- package/dist/ionic/{p-1fd1d157.system.js → p-d9e1c48c.system.js} +1 -1
- package/dist/ionic/{p-44c281df.entry.js → p-da968066.entry.js} +1 -1
- package/dist/ionic/p-db8aeb40.system.js +4 -0
- package/dist/ionic/{p-5771eacd.js → p-dbfc5db6.js} +1 -1
- package/dist/ionic/p-dd50ef12.js +4 -0
- package/dist/ionic/p-e270862e.js +4 -0
- package/dist/ionic/{p-dfd995cc.system.entry.js → p-e5239905.system.entry.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-e61e3bb4.system.js} +1 -1
- package/dist/ionic/p-e7546060.entry.js +4 -0
- package/dist/ionic/p-e9f8aa95.entry.js +4 -0
- package/dist/ionic/p-eb376af4.entry.js +4 -0
- package/dist/ionic/{p-dde3a646.entry.js → p-eeb60a8f.entry.js} +1 -1
- package/dist/ionic/p-f065578f.js +4 -0
- package/dist/ionic/{p-614d974e.system.entry.js → p-f41914c0.system.entry.js} +1 -1
- package/dist/ionic/p-f4ae533b.js +4 -0
- package/dist/ionic/p-f61ce679.js +4 -0
- package/dist/ionic/p-f63f81aa.system.entry.js +4 -0
- package/dist/ionic/{p-7986665a.system.entry.js → p-f670192b.system.entry.js} +1 -1
- package/dist/ionic/{p-a93873de.system.js → p-f8e329da.system.js} +1 -1
- package/dist/ionic/{p-6ca5f4da.system.entry.js → p-fac985b6.system.entry.js} +1 -1
- package/dist/ionic/{p-e61c9280.entry.js → p-fbcb3139.entry.js} +1 -1
- package/dist/ionic/{p-0328213e.system.entry.js → p-fbcf9790.system.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/app/app.d.ts +0 -2
- package/dist/types/global/ionic-global.d.ts +2 -0
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.js +207 -201
- package/hydrate/index.mjs +207 -201
- package/package.json +1 -1
- package/components/hardware-back-button.js +0 -115
- package/dist/cjs/hardware-back-button-d37054f2.js +0 -122
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/esm/hardware-back-button-2bb5194f.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-c45950ba.js +0 -4
- package/dist/esm-es5/button-active-873732e5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.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-2bb5194f.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-29be96b3.js +0 -4
- package/dist/esm-es5/index-2d8b49ae.js +0 -4
- package/dist/esm-es5/index-79b30591.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/input-shims-59f93016.js +0 -4
- package/dist/esm-es5/input.utils-8755322f.js +0 -4
- package/dist/esm-es5/ionic-global-a8cbb8b0.js +0 -4
- package/dist/esm-es5/ios.transition-4706aa28.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-20ad6960.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-40e86f77.js +0 -4
- package/dist/esm-es5/status-tap-0433b6a6.js +0 -4
- package/dist/esm-es5/swipe-back-e5394307.js +0 -4
- package/dist/ionic/p-00093fc0.entry.js +0 -4
- package/dist/ionic/p-0bfbe380.js +0 -4
- package/dist/ionic/p-0c9a7872.system.entry.js +0 -4
- package/dist/ionic/p-0cd67533.js +0 -4
- package/dist/ionic/p-0d86eb56.system.entry.js +0 -4
- package/dist/ionic/p-0d945ebd.entry.js +0 -4
- package/dist/ionic/p-0fa218e9.system.js +0 -5
- package/dist/ionic/p-0fd7a8cb.system.entry.js +0 -4
- package/dist/ionic/p-175821bc.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1f6507e4.entry.js +0 -4
- package/dist/ionic/p-1f7b26cc.entry.js +0 -4
- package/dist/ionic/p-2282c878.system.entry.js +0 -4
- package/dist/ionic/p-27bb59a9.system.entry.js +0 -4
- package/dist/ionic/p-28be0cf9.js +0 -4
- package/dist/ionic/p-2a844e7c.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b98e44b.system.entry.js +0 -4
- package/dist/ionic/p-2fd3e890.system.entry.js +0 -4
- package/dist/ionic/p-30c8168f.system.entry.js +0 -4
- package/dist/ionic/p-3281aaeb.entry.js +0 -4
- package/dist/ionic/p-32f4a0b9.entry.js +0 -4
- package/dist/ionic/p-34b11c24.js +0 -4
- package/dist/ionic/p-36db29d9.system.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3c1b93db.system.entry.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-3dfa54e6.js +0 -4
- package/dist/ionic/p-432e6521.system.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4c38fcdd.system.js +0 -4
- package/dist/ionic/p-4e6c9480.system.entry.js +0 -4
- package/dist/ionic/p-4e7c68a5.entry.js +0 -4
- package/dist/ionic/p-5c766439.entry.js +0 -4
- package/dist/ionic/p-5c8fa89d.system.js +0 -4
- package/dist/ionic/p-614c3822.system.js +0 -4
- package/dist/ionic/p-62836b01.js +0 -4
- package/dist/ionic/p-63fe75bc.js +0 -4
- package/dist/ionic/p-664480c8.system.entry.js +0 -4
- package/dist/ionic/p-6d7c455f.js +0 -4
- package/dist/ionic/p-6f418011.system.entry.js +0 -4
- package/dist/ionic/p-713374f2.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-737d64f9.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b341352.js +0 -4
- package/dist/ionic/p-7c9d5354.entry.js +0 -4
- package/dist/ionic/p-7ccf7f29.entry.js +0 -4
- package/dist/ionic/p-7dfa7ebc.entry.js +0 -4
- package/dist/ionic/p-80ff4e55.entry.js +0 -4
- package/dist/ionic/p-82d80c8f.entry.js +0 -4
- package/dist/ionic/p-83e4478f.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-87365857.system.entry.js +0 -4
- package/dist/ionic/p-87a81a63.system.entry.js +0 -4
- package/dist/ionic/p-916f6c1d.entry.js +0 -4
- package/dist/ionic/p-93cf45ec.system.entry.js +0 -4
- package/dist/ionic/p-9493acfe.entry.js +0 -4
- package/dist/ionic/p-9805b25a.system.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a1b80dd6.system.js +0 -4
- package/dist/ionic/p-a8a04757.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-b24c259e.entry.js +0 -4
- package/dist/ionic/p-b33b643b.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-ba45ad7d.entry.js +0 -4
- package/dist/ionic/p-bc8e48de.entry.js +0 -4
- package/dist/ionic/p-bcf5573f.entry.js +0 -4
- package/dist/ionic/p-bdd4e026.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-c628bdcb.system.js +0 -4
- package/dist/ionic/p-c6f1b434.js +0 -4
- package/dist/ionic/p-cd40baea.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d53e0b4b.entry.js +0 -4
- package/dist/ionic/p-d79ed7b3.system.js +0 -4
- package/dist/ionic/p-dbb02a23.system.entry.js +0 -4
- package/dist/ionic/p-dd79c031.js +0 -4
- package/dist/ionic/p-e050dad9.system.js +0 -4
- package/dist/ionic/p-e2bd011e.js +0 -4
- package/dist/ionic/p-ea16a842.entry.js +0 -4
- package/dist/ionic/p-eafeb1ff.system.js +0 -4
- package/dist/ionic/p-ed419a44.entry.js +0 -4
- package/dist/ionic/p-f9782d44.system.entry.js +0 -4
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
7
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
8
|
+
const config = require('./config-1349d5b4.js');
|
|
9
|
+
const frameworkDelegate = require('./framework-delegate-cf116b1d.js');
|
|
11
10
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
11
|
|
|
13
12
|
/**
|
|
@@ -389,7 +388,7 @@ const connectListeners = (doc) => {
|
|
|
389
388
|
doc.addEventListener('ionBackButton', (ev) => {
|
|
390
389
|
const lastOverlay = getPresentedOverlay(doc);
|
|
391
390
|
if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
|
|
392
|
-
ev.detail.register(
|
|
391
|
+
ev.detail.register(ionicGlobal.OVERLAY_BACK_BUTTON_PRIORITY, () => {
|
|
393
392
|
/**
|
|
394
393
|
* Do not return this promise otherwise
|
|
395
394
|
* the hardware back button utility will
|
|
@@ -412,7 +411,7 @@ const connectListeners = (doc) => {
|
|
|
412
411
|
* this behavior will be handled via the ionBackButton
|
|
413
412
|
* event.
|
|
414
413
|
*/
|
|
415
|
-
if (!
|
|
414
|
+
if (!ionicGlobal.shouldUseCloseWatcher()) {
|
|
416
415
|
doc.addEventListener('keydown', (ev) => {
|
|
417
416
|
if (ev.key === 'Escape') {
|
|
418
417
|
const lastOverlay = getPresentedOverlay(doc);
|
|
@@ -511,7 +510,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
511
510
|
// get the user's animation fn if one was provided
|
|
512
511
|
const animationBuilder = overlay.enterAnimation
|
|
513
512
|
? overlay.enterAnimation
|
|
514
|
-
:
|
|
513
|
+
: config.config.get(name, mode === 'ios' ? iosEnterAnimation : mdEnterAnimation);
|
|
515
514
|
const completed = await overlayAnimation(overlay, animationBuilder, overlay.el, opts);
|
|
516
515
|
if (completed) {
|
|
517
516
|
overlay.didPresent.emit();
|
|
@@ -600,7 +599,7 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
600
599
|
if (!overlay.presented) {
|
|
601
600
|
return false;
|
|
602
601
|
}
|
|
603
|
-
const lastOverlay =
|
|
602
|
+
const lastOverlay = ionicGlobal.doc !== undefined && getPresentedOverlays(ionicGlobal.doc).length === 1;
|
|
604
603
|
/**
|
|
605
604
|
* If this is the last visible overlay then
|
|
606
605
|
* we want to re-add the root to the accessibility tree.
|
|
@@ -618,7 +617,7 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
618
617
|
const mode = ionicGlobal.getIonMode(overlay);
|
|
619
618
|
const animationBuilder = overlay.leaveAnimation
|
|
620
619
|
? overlay.leaveAnimation
|
|
621
|
-
:
|
|
620
|
+
: config.config.get(name, mode === 'ios' ? iosLeaveAnimation : mdLeaveAnimation);
|
|
622
621
|
// If dismissed via gesture, no need to play leaving animation again
|
|
623
622
|
if (role !== GESTURE) {
|
|
624
623
|
await overlayAnimation(overlay, animationBuilder, overlay.el, opts);
|
|
@@ -653,14 +652,15 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
653
652
|
return true;
|
|
654
653
|
};
|
|
655
654
|
const getAppRoot = (doc) => {
|
|
656
|
-
|
|
655
|
+
const appRootSelector = config.config.get('appRootSelector', 'ion-app');
|
|
656
|
+
return doc.querySelector(appRootSelector) || doc.body;
|
|
657
657
|
};
|
|
658
658
|
const overlayAnimation = async (overlay, animationBuilder, baseEl, opts) => {
|
|
659
659
|
// Make overlay visible in case it's hidden
|
|
660
660
|
baseEl.classList.remove('overlay-hidden');
|
|
661
661
|
const aniRoot = overlay.el;
|
|
662
662
|
const animation = animationBuilder(aniRoot, opts);
|
|
663
|
-
if (!overlay.animated || !
|
|
663
|
+
if (!overlay.animated || !config.config.getBoolean('animated', true)) {
|
|
664
664
|
animation.duration(0);
|
|
665
665
|
}
|
|
666
666
|
if (overlay.keyboardClose) {
|
|
@@ -704,7 +704,7 @@ const defaultGate = (h) => h();
|
|
|
704
704
|
*/
|
|
705
705
|
const safeCall = (handler, arg) => {
|
|
706
706
|
if (typeof handler === 'function') {
|
|
707
|
-
const jmp =
|
|
707
|
+
const jmp = config.config.get('_zoneGate', defaultGate);
|
|
708
708
|
return jmp(() => {
|
|
709
709
|
try {
|
|
710
710
|
return handler(arg);
|
|
@@ -857,9 +857,9 @@ const createTriggerController = () => {
|
|
|
857
857
|
*/
|
|
858
858
|
const hideOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
859
859
|
var _a;
|
|
860
|
-
if (
|
|
860
|
+
if (ionicGlobal.doc === undefined)
|
|
861
861
|
return;
|
|
862
|
-
const overlays = getPresentedOverlays(
|
|
862
|
+
const overlays = getPresentedOverlays(ionicGlobal.doc);
|
|
863
863
|
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
864
864
|
const presentedOverlay = overlays[i];
|
|
865
865
|
const nextPresentedOverlay = (_a = overlays[i + 1]) !== null && _a !== void 0 ? _a : newTopMostOverlay;
|
|
@@ -879,9 +879,9 @@ const hideOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
|
879
879
|
* focus is never automatically moved to the Toast.
|
|
880
880
|
*/
|
|
881
881
|
const revealOverlaysToScreenReaders = () => {
|
|
882
|
-
if (
|
|
882
|
+
if (ionicGlobal.doc === undefined)
|
|
883
883
|
return;
|
|
884
|
-
const overlays = getPresentedOverlays(
|
|
884
|
+
const overlays = getPresentedOverlays(ionicGlobal.doc);
|
|
885
885
|
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
886
886
|
const currentOverlay = overlays[i];
|
|
887
887
|
/**
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const index
|
|
8
|
-
const helpers = require('./helpers-
|
|
9
|
-
require('./ionic-global-
|
|
6
|
+
const config = require('./config-1349d5b4.js');
|
|
7
|
+
const index = require('./index-1d02518d.js');
|
|
8
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
9
|
+
require('./ionic-global-3647b9f5.js');
|
|
10
10
|
|
|
11
11
|
const startStatusTap = () => {
|
|
12
12
|
const win = window;
|
|
13
13
|
win.addEventListener('statusTap', () => {
|
|
14
|
-
|
|
14
|
+
config.readTask(() => {
|
|
15
15
|
const width = win.innerWidth;
|
|
16
16
|
const height = win.innerHeight;
|
|
17
17
|
const el = document.elementFromPoint(width / 2, height / 2);
|
|
18
18
|
if (!el) {
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
|
-
const contentEl = index
|
|
21
|
+
const contentEl = index.findClosestIonContent(el);
|
|
22
22
|
if (contentEl) {
|
|
23
23
|
new Promise((resolve) => helpers.componentOnReady(contentEl, resolve)).then(() => {
|
|
24
|
-
|
|
24
|
+
config.writeTask(async () => {
|
|
25
25
|
/**
|
|
26
26
|
* If scrolling and user taps status bar,
|
|
27
27
|
* only calling scrollToTop is not enough
|
|
@@ -30,7 +30,7 @@ const startStatusTap = () => {
|
|
|
30
30
|
* any in-progress momentum scrolling.
|
|
31
31
|
*/
|
|
32
32
|
contentEl.style.setProperty('--overflow', 'hidden');
|
|
33
|
-
await index
|
|
33
|
+
await index.scrollToTop(contentEl, 300);
|
|
34
34
|
contentEl.style.removeProperty('--overflow');
|
|
35
35
|
});
|
|
36
36
|
});
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const helpers = require('./helpers-
|
|
6
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
7
7
|
const dir = require('./dir-94c21456.js');
|
|
8
8
|
const index = require('./index-ee07ed59.js');
|
|
9
|
+
require('./config-1349d5b4.js');
|
|
9
10
|
require('./gesture-controller-9436f482.js');
|
|
10
11
|
|
|
11
12
|
const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => {
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* This is an auto-generated file, please do not change it directly.
|
|
9
|
+
* Ionic Design System
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* A heuristic that applies CSS to tablet
|
|
13
|
+
* viewports.
|
|
14
|
+
*
|
|
15
|
+
* Usage:
|
|
16
|
+
* @include tablet-viewport() {
|
|
17
|
+
* :host {
|
|
18
|
+
* background-color: green;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* A heuristic that applies CSS to mobile
|
|
24
|
+
* viewports (i.e. phones, not tablets).
|
|
25
|
+
*
|
|
26
|
+
* Usage:
|
|
27
|
+
* @include mobile-viewport() {
|
|
28
|
+
* :host {
|
|
29
|
+
* background-color: blue;
|
|
30
|
+
* }
|
|
31
|
+
* }
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Convert a font size to a dynamic font size.
|
|
35
|
+
* Fonts that participate in Dynamic Type should use
|
|
36
|
+
* dynamic font sizes.
|
|
37
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
38
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
39
|
+
* convert to a unit other than $baselineUnit.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* Convert a font size to a dynamic font size but impose
|
|
43
|
+
* a maximum font size.
|
|
44
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
45
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
46
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
47
|
+
* convert to a unit other than $baselineUnit.
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Convert a font size to a dynamic font size but impose
|
|
51
|
+
* a minimum font size.
|
|
52
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
53
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
54
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
55
|
+
* convert to a unit other than $baselineUnit.
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Convert a font size to a dynamic font size but impose
|
|
59
|
+
* maximum and minimum font sizes.
|
|
60
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
61
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
62
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
63
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
64
|
+
* convert to a unit other than $baselineUnit.
|
|
65
|
+
*/
|
|
66
|
+
:host {
|
|
67
|
+
display: block;
|
|
68
|
+
position: relative;
|
|
69
|
+
width: 100%;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
/**
|
|
72
|
+
* This is required to force WebKit
|
|
73
|
+
* to create a new stacking context
|
|
74
|
+
* otherwise the border radius is
|
|
75
|
+
* temporarily lost when hovering over
|
|
76
|
+
* the ion-item or expanding/collapsing
|
|
77
|
+
* the accordion.
|
|
78
|
+
*/
|
|
79
|
+
z-index: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host(.accordion-expanding) ::slotted(ion-item[slot=header]),
|
|
83
|
+
:host(.accordion-expanded) ::slotted(ion-item[slot=header]) {
|
|
84
|
+
--border-width: 0px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#content {
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
will-change: max-height;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host(.accordion-collapsing) #content {
|
|
93
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
94
|
+
max-height: 0 !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:host(.accordion-collapsed) #content {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host(.accordion-expanding) #content {
|
|
102
|
+
max-height: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Prevent margins of content-wrapper
|
|
107
|
+
* from collapsing, breaking the animation.
|
|
108
|
+
*/
|
|
109
|
+
:host(.accordion-expanding) #content-wrapper {
|
|
110
|
+
overflow: auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host(.accordion-disabled) #header,
|
|
114
|
+
:host(.accordion-readonly) #header,
|
|
115
|
+
:host(.accordion-disabled) #content,
|
|
116
|
+
:host(.accordion-readonly) #content {
|
|
117
|
+
pointer-events: none;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@media (prefers-reduced-motion: reduce) {
|
|
121
|
+
:host,
|
|
122
|
+
#content {
|
|
123
|
+
/* stylelint-disable declaration-no-important */
|
|
124
|
+
transition: none !important;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
:host {
|
|
128
|
+
position: relative;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:host::after {
|
|
132
|
+
-webkit-margin-start: var(--ionic-space-400, 16px);
|
|
133
|
+
margin-inline-start: var(--ionic-space-400, 16px);
|
|
134
|
+
-webkit-margin-end: var(--ionic-space-400, 16px);
|
|
135
|
+
margin-inline-end: var(--ionic-space-400, 16px);
|
|
136
|
+
right: 0;
|
|
137
|
+
left: 0;
|
|
138
|
+
bottom: 0;
|
|
139
|
+
display: block;
|
|
140
|
+
position: absolute;
|
|
141
|
+
height: var(--ionic-border-size-025, 1px);
|
|
142
|
+
background-color: var(--ionic-color-neutral-300, #cfcfcf);
|
|
143
|
+
content: "";
|
|
144
|
+
z-index: 3;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
:host(.accordion-animated) {
|
|
148
|
+
transition: all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
:host(.accordion-animated) #content {
|
|
152
|
+
transition: max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
::slotted(ion-item[slot=header]) {
|
|
156
|
+
--border-radius: var(--ionic-border-radius-0, 0px);
|
|
157
|
+
--color: var(--ionic-color-neutral-1200, #242424);
|
|
158
|
+
--border-width: 0;
|
|
159
|
+
--inner-border-width: 0;
|
|
160
|
+
--min-height: var(--ionic-scale-700, 28px);
|
|
161
|
+
--padding-top: var(--ionic-space-300, 12px);
|
|
162
|
+
--padding-end: var(--ionic-space-400, 16px);
|
|
163
|
+
--padding-bottom: var(--ionic-space-300, 12px);
|
|
164
|
+
--padding-start: var(--ionic-space-400, 16px);
|
|
165
|
+
font-size: var(--ionic-font-size-450, 1.125rem);
|
|
166
|
+
font-weight: var(--ionic-font-weight-medium, 500);
|
|
167
|
+
letter-spacing: var(--ionic-letter-spacing-0, 0);
|
|
168
|
+
line-height: var(--ionic-line-height-700, 28px);
|
|
169
|
+
text-decoration: none;
|
|
170
|
+
text-transform: none;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
:host(.in-accordion-group-expand-inset) ::slotted(ion-item[slot=header]) {
|
|
174
|
+
--border-radius: var(--ionic-border-radius-400, 16px);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
#content {
|
|
178
|
+
-webkit-padding-start: var(--ionic-space-400, 16px);
|
|
179
|
+
padding-inline-start: var(--ionic-space-400, 16px);
|
|
180
|
+
-webkit-padding-end: var(--ionic-space-400, 16px);
|
|
181
|
+
padding-inline-end: var(--ionic-space-400, 16px);
|
|
182
|
+
padding-bottom: var(--ionic-space-300, 12px);
|
|
183
|
+
font-size: var(--ionic-font-size-350, 0.875rem);
|
|
184
|
+
font-weight: var(--ionic-font-weight-regular, 400);
|
|
185
|
+
letter-spacing: var(--ionic-letter-spacing-0, 0);
|
|
186
|
+
line-height: var(--ionic-line-height-600, 24px);
|
|
187
|
+
text-decoration: none;
|
|
188
|
+
text-transform: none;
|
|
189
|
+
color: var(--ionic-color-neutral-1000, #3b3b3b);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host(.accordion-disabled)::before {
|
|
193
|
+
border-radius: inherit;
|
|
194
|
+
right: 0;
|
|
195
|
+
left: 0;
|
|
196
|
+
top: 0;
|
|
197
|
+
bottom: 0;
|
|
198
|
+
position: absolute;
|
|
199
|
+
background-color: var(--ionic-state-disabled, rgba(255, 255, 255, 0.6));
|
|
200
|
+
content: "";
|
|
201
|
+
pointer-events: none;
|
|
202
|
+
z-index: 2;
|
|
203
|
+
}
|
|
@@ -1,3 +1,64 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
position: relative;
|
|
4
|
+
width: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
/**
|
|
7
|
+
* This is required to force WebKit
|
|
8
|
+
* to create a new stacking context
|
|
9
|
+
* otherwise the border radius is
|
|
10
|
+
* temporarily lost when hovering over
|
|
11
|
+
* the ion-item or expanding/collapsing
|
|
12
|
+
* the accordion.
|
|
13
|
+
*/
|
|
14
|
+
z-index: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host(.accordion-expanding) ::slotted(ion-item[slot=header]),
|
|
18
|
+
:host(.accordion-expanded) ::slotted(ion-item[slot=header]) {
|
|
19
|
+
--border-width: 0px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
#content {
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
will-change: max-height;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host(.accordion-collapsing) #content {
|
|
28
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
29
|
+
max-height: 0 !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host(.accordion-collapsed) #content {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host(.accordion-expanding) #content {
|
|
37
|
+
max-height: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Prevent margins of content-wrapper
|
|
42
|
+
* from collapsing, breaking the animation.
|
|
43
|
+
*/
|
|
44
|
+
:host(.accordion-expanding) #content-wrapper {
|
|
45
|
+
overflow: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host(.accordion-disabled) #header,
|
|
49
|
+
:host(.accordion-readonly) #header,
|
|
50
|
+
:host(.accordion-disabled) #content,
|
|
51
|
+
:host(.accordion-readonly) #content {
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media (prefers-reduced-motion: reduce) {
|
|
56
|
+
:host,
|
|
57
|
+
#content {
|
|
58
|
+
/* stylelint-disable declaration-no-important */
|
|
59
|
+
transition: none !important;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
1
62
|
/**
|
|
2
63
|
* Convert a pixels given value into rem
|
|
3
64
|
*
|
|
@@ -60,25 +121,7 @@
|
|
|
60
121
|
* }
|
|
61
122
|
*/
|
|
62
123
|
:host {
|
|
63
|
-
display: block;
|
|
64
|
-
position: relative;
|
|
65
|
-
width: 100%;
|
|
66
124
|
background-color: var(--ion-background-color, #ffffff);
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
/**
|
|
69
|
-
* This is required to force WebKit
|
|
70
|
-
* to create a new stacking context
|
|
71
|
-
* otherwise the border radius is
|
|
72
|
-
* temporarily lost when hovering over
|
|
73
|
-
* the ion-item or expanding/collapsing
|
|
74
|
-
* the accordion.
|
|
75
|
-
*/
|
|
76
|
-
z-index: 0;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
:host(.accordion-expanding) ::slotted(ion-item[slot=header]),
|
|
80
|
-
:host(.accordion-expanded) ::slotted(ion-item[slot=header]) {
|
|
81
|
-
--border-width: 0px;
|
|
82
125
|
}
|
|
83
126
|
|
|
84
127
|
:host(.accordion-animated) {
|
|
@@ -89,39 +132,6 @@
|
|
|
89
132
|
transition: max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
90
133
|
}
|
|
91
134
|
|
|
92
|
-
#content {
|
|
93
|
-
overflow: hidden;
|
|
94
|
-
will-change: max-height;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
:host(.accordion-collapsing) #content {
|
|
98
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
99
|
-
max-height: 0 !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
:host(.accordion-collapsed) #content {
|
|
103
|
-
display: none;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
:host(.accordion-expanding) #content {
|
|
107
|
-
max-height: 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Prevent margins of content-wrapper
|
|
112
|
-
* from collapsing, breaking the animation.
|
|
113
|
-
*/
|
|
114
|
-
:host(.accordion-expanding) #content-wrapper {
|
|
115
|
-
overflow: auto;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
:host(.accordion-disabled) #header,
|
|
119
|
-
:host(.accordion-readonly) #header,
|
|
120
|
-
:host(.accordion-disabled) #content,
|
|
121
|
-
:host(.accordion-readonly) #content {
|
|
122
|
-
pointer-events: none;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
135
|
/**
|
|
126
136
|
* We do not set the opacity on the
|
|
127
137
|
* host otherwise you would see the
|
|
@@ -132,13 +142,6 @@
|
|
|
132
142
|
opacity: 0.4;
|
|
133
143
|
}
|
|
134
144
|
|
|
135
|
-
@media (prefers-reduced-motion: reduce) {
|
|
136
|
-
:host,
|
|
137
|
-
#content {
|
|
138
|
-
/* stylelint-disable declaration-no-important */
|
|
139
|
-
transition: none !important;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
145
|
/**
|
|
143
146
|
* Convert a pixels given value into rem
|
|
144
147
|
*
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import caretDownRegular from "@phosphor-icons/core/assets/regular/caret-down.svg";
|
|
5
5
|
import { Host, h } from "@stencil/core";
|
|
6
6
|
import { addEventListener, getElementRoot, raf, removeEventListener, transitionEndAsync } from "../../utils/helpers";
|
|
7
|
+
import { hostContext } from "../../utils/theme";
|
|
7
8
|
import { chevronDown } from "ionicons/icons";
|
|
8
9
|
import { config } from "../../global/config";
|
|
9
10
|
import { getIonTheme } from "../../global/ionic-global";
|
|
@@ -219,9 +220,6 @@ export class Accordion {
|
|
|
219
220
|
}
|
|
220
221
|
};
|
|
221
222
|
this.getNextSibling = () => {
|
|
222
|
-
if (!this.el) {
|
|
223
|
-
return;
|
|
224
|
-
}
|
|
225
223
|
const nextSibling = this.el.nextElementSibling;
|
|
226
224
|
if ((nextSibling === null || nextSibling === void 0 ? void 0 : nextSibling.tagName) !== 'ION-ACCORDION') {
|
|
227
225
|
return;
|
|
@@ -229,9 +227,6 @@ export class Accordion {
|
|
|
229
227
|
return nextSibling;
|
|
230
228
|
};
|
|
231
229
|
this.getPreviousSibling = () => {
|
|
232
|
-
if (!this.el) {
|
|
233
|
-
return;
|
|
234
|
-
}
|
|
235
230
|
const previousSibling = this.el.previousElementSibling;
|
|
236
231
|
if ((previousSibling === null || previousSibling === void 0 ? void 0 : previousSibling.tagName) !== 'ION-ACCORDION') {
|
|
237
232
|
return;
|
|
@@ -322,7 +317,7 @@ export class Accordion {
|
|
|
322
317
|
const headerPart = expanded ? 'header expanded' : 'header';
|
|
323
318
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
324
319
|
this.setAria(expanded);
|
|
325
|
-
return (h(Host, { key: '
|
|
320
|
+
return (h(Host, { key: 'fa0868a83fe0858d01eb2926790bcfc7635a647d', class: {
|
|
326
321
|
[theme]: true,
|
|
327
322
|
'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,
|
|
328
323
|
'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,
|
|
@@ -333,7 +328,8 @@ export class Accordion {
|
|
|
333
328
|
'accordion-disabled': disabled,
|
|
334
329
|
'accordion-readonly': readonly,
|
|
335
330
|
'accordion-animated': this.shouldAnimate(),
|
|
336
|
-
|
|
331
|
+
'in-accordion-group-expand-inset': hostContext('.accordion-group-expand-inset', this.el),
|
|
332
|
+
} }, h("div", { key: '386fcbc4f5cd8a5b04d2e8b3adcfc8b692c75c48', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, h("slot", { key: '831deb179fdaada595982566e08ec380a17cf058', name: "header" })), h("div", { key: 'c4d51f29c3797705392119b2369d941f752e50f2', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, h("div", { key: 'fc45f0b7b7057f5f99d4ff99950ab95b5e137045', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: 'f59d8e00a6d6fa7fe5291217c4b649499d759349', name: "content" })))));
|
|
337
333
|
}
|
|
338
334
|
static get is() { return "ion-accordion"; }
|
|
339
335
|
static get encapsulation() { return "shadow"; }
|
|
@@ -342,14 +338,14 @@ export class Accordion {
|
|
|
342
338
|
return {
|
|
343
339
|
"ios": ["accordion.ios.scss"],
|
|
344
340
|
"md": ["accordion.md.scss"],
|
|
345
|
-
"ionic": ["accordion.
|
|
341
|
+
"ionic": ["accordion.ionic.scss"]
|
|
346
342
|
};
|
|
347
343
|
}
|
|
348
344
|
static get styleUrls() {
|
|
349
345
|
return {
|
|
350
346
|
"ios": ["accordion.ios.css"],
|
|
351
347
|
"md": ["accordion.md.css"],
|
|
352
|
-
"ionic": ["accordion.
|
|
348
|
+
"ionic": ["accordion.ionic.css"]
|
|
353
349
|
};
|
|
354
350
|
}
|
|
355
351
|
static get properties() {
|