@ionic/core 8.8.7-dev.11779467048.1641d05e → 8.8.7-dev.11779921691.1777274a
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/index.js +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.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-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- 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 +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-route-redirect.js +1 -1
- package/components/ion-route.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -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 +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-0sJvNkUu.js +4 -0
- package/components/{p-BcbmT6b3.js → p-7nmSk-Eb.js} +1 -1
- package/components/p-B1O3xdmF.js +4 -0
- package/components/p-BBB8g5Ql.js +4 -0
- package/components/p-BF7rwwG7.js +4 -0
- package/components/p-BHffbls9.js +4 -0
- package/components/p-BKBdJW0R.js +4 -0
- package/components/p-BKGLpdvY.js +4 -0
- package/components/p-BRrh2GWk.js +4 -0
- package/components/{p-BFCM_1oE.js → p-BTWFHAhB.js} +1 -1
- package/components/p-BVOTx9Tr.js +4 -0
- package/components/p-BVbPiSCE.js +4 -0
- package/components/p-BVgmZpV7.js +4 -0
- package/components/{p-CIoAIKEr.js → p-B_4LVR66.js} +1 -1
- package/components/p-BbwW7nXw.js +4 -0
- package/components/p-BePFSJjb.js +4 -0
- package/components/{p-zWP0sUV_.js → p-BilWM2xi.js} +1 -1
- package/components/p-Bnkcvm0_.js +4 -0
- package/components/p-Bp4m7lZT.js +4 -0
- package/components/p-BuQDh8MN.js +4 -0
- package/components/p-C4Uuc-Js.js +4 -0
- package/components/p-CF0UKsA-.js +4 -0
- package/components/p-CMETcSJz.js +4 -0
- package/components/p-CTDfzuym.js +4 -0
- package/components/p-CZwQlWO7.js +4 -0
- package/components/p-CkS5LcG3.js +4 -0
- package/components/p-CrC3J6IY.js +4 -0
- package/components/p-D9SzdDbV.js +4 -0
- package/components/p-DCoLfY48.js +4 -0
- package/components/p-DGHsHldT.js +4 -0
- package/components/p-DK2cppki.js +4 -0
- package/components/p-DMwGijtW.js +4 -0
- package/components/p-DPLIhs_Y.js +4 -0
- package/components/p-DRj_omR8.js +4 -0
- package/components/p-DWBdx_rf.js +4 -0
- package/{dist/ionic/p-CbkICFBN.js → components/p-DXBx6hf_.js} +1 -1
- package/components/p-DZwp0os_.js +4 -0
- package/components/{p-BErKjY03.js → p-DbQt4Kex.js} +1 -1
- package/components/p-DbrEqORq.js +4 -0
- package/{dist/ionic/p-C8IHbcuP.js → components/p-Dh41Mgrr.js} +1 -1
- package/components/p-Dh8YROlw.js +4 -0
- package/components/{p-lIOqnNXn.js → p-Dmd-3R4x.js} +1 -1
- package/components/p-DqL8Jl6C.js +4 -0
- package/components/p-DuOk1CH-.js +4 -0
- package/components/p-Op_wuLsj.js +4 -0
- package/components/p-SikZM1Bp.js +4 -0
- package/components/p-f1voQRQ1.js +4 -0
- package/components/p-fkeHL2Sd.js +4 -0
- package/components/p-gKV0T98m.js +4 -0
- package/components/{p-C8ktKu9j.js → p-jgONJj5a.js} +1 -1
- package/components/p-k6-su0sW.js +4 -0
- package/components/p-l7FroJh2.js +4 -0
- package/components/p-nFFDLHOE.js +4 -0
- package/components/p-pdE-O9G9.js +4 -0
- package/{dist/ionic/p-CWJdc8f_.js → components/p-u-SCu4et.js} +1 -1
- 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 +1 -1
- package/css/global.bundle.css.map +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/css/ionic/global.bundle.ionic.css +1 -1
- package/css/ionic/global.bundle.ionic.css.map +1 -1
- package/css/ionic/link.ionic.css.map +1 -1
- package/css/ionic/structure.ionic.css.map +1 -1
- package/css/ionic/typography.ionic.css +1 -1
- package/css/ionic/typography.ionic.css.map +1 -1
- package/css/ionic/utils.bundle.ionic.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css +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 +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-DknMeJ3x.js → animation-CoqRs93a.js} +3 -3
- package/dist/cjs/{app-globals-DtAeky3x.js → app-globals-CzPyigGz.js} +1 -1
- package/dist/cjs/badge-position-DFPHXWP9.js +176 -0
- package/dist/cjs/{button-active-JoIWyYri.js → button-active-lwEZiey1.js} +4 -4
- package/dist/cjs/{capacitor-BnRBm_ys.js → capacitor-F7SUc7Ly.js} +1 -1
- package/dist/cjs/{data-DuOuKG7I.js → data-BsQBKyvn.js} +3 -3
- package/dist/cjs/{framework-delegate-Dx9FrqAC.js → framework-delegate-C1LqXDzY.js} +4 -5
- package/dist/cjs/{haptic-D3Ay9mmg.js → haptic-CBZc4WH_.js} +1 -1
- package/dist/cjs/{index-CzcLEdQ5.js → index-BDthk8R7.js} +1885 -0
- package/dist/cjs/{index-BJlwOs11.js → index-BbhXd9Zs.js} +2 -2
- package/dist/cjs/{index-DMJjUhXH.js → index-Cbme57mm.js} +3 -5
- package/dist/cjs/{index-BJrpF9T3.js → index-DhXmkpe3.js} +3 -4
- package/dist/cjs/{index-Cer2Qy4I.js → index-HkS255C9.js} +6 -7
- package/dist/cjs/{index-D_mPAIqF.js → index-cV9SaEZV.js} +11 -12
- package/dist/cjs/index.cjs.js +15 -18
- package/dist/cjs/{input-shims-Dn33gFln.js → input-shims-eCRI_jn9.js} +15 -17
- package/dist/cjs/{input.utils-DnVnhWEF.js → input.utils-CvLAucXh.js} +4 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +31 -34
- package/dist/cjs/ion-action-sheet.cjs.entry.js +34 -37
- package/dist/cjs/ion-alert.cjs.entry.js +44 -47
- package/dist/cjs/ion-app_8.cjs.entry.js +115 -116
- package/dist/cjs/ion-avatar_3.cjs.entry.js +66 -86
- package/dist/cjs/ion-back-button.cjs.entry.js +19 -22
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +36 -39
- package/dist/cjs/ion-button_2.cjs.entry.js +54 -34
- package/dist/cjs/ion-card_5.cjs.entry.js +36 -39
- package/dist/cjs/ion-checkbox.cjs.entry.js +23 -26
- package/dist/cjs/ion-chip.cjs.entry.js +51 -51
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -16
- package/dist/cjs/ion-datetime-button.cjs.entry.js +19 -22
- package/dist/cjs/ion-datetime_3.cjs.entry.js +123 -126
- package/dist/cjs/ion-divider.cjs.entry.js +5 -5
- package/dist/cjs/ion-fab_3.cjs.entry.js +27 -30
- package/dist/cjs/ion-img.cjs.entry.js +10 -12
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +25 -27
- package/dist/cjs/ion-input-otp.cjs.entry.js +19 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +16 -17
- package/dist/cjs/ion-input.cjs.entry.js +42 -45
- package/dist/cjs/ion-item-option_3.cjs.entry.js +66 -319
- package/dist/cjs/ion-item_8.cjs.entry.js +71 -83
- package/dist/cjs/ion-loading.cjs.entry.js +27 -30
- package/dist/cjs/ion-menu_3.cjs.entry.js +55 -58
- package/dist/cjs/ion-modal.cjs.entry.js +71 -74
- package/dist/cjs/ion-nav_2.cjs.entry.js +41 -43
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -12
- package/dist/cjs/ion-picker-column.cjs.entry.js +14 -17
- package/dist/cjs/ion-picker.cjs.entry.js +9 -11
- package/dist/cjs/ion-popover.cjs.entry.js +36 -39
- package/dist/cjs/ion-progress-bar.cjs.entry.js +28 -41
- package/dist/cjs/ion-radio_2.cjs.entry.js +31 -34
- package/dist/cjs/ion-range.cjs.entry.js +50 -53
- package/dist/cjs/ion-refresher_2.cjs.entry.js +65 -67
- package/dist/cjs/ion-reorder_2.cjs.entry.js +23 -25
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +36 -39
- package/dist/cjs/ion-searchbar.cjs.entry.js +38 -41
- package/dist/cjs/ion-segment-content.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-view.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +35 -38
- package/dist/cjs/ion-select-modal.cjs.entry.js +26 -29
- package/dist/cjs/ion-select_3.cjs.entry.js +74 -77
- package/dist/cjs/ion-spinner.cjs.entry.js +26 -41
- package/dist/cjs/ion-split-pane.cjs.entry.js +12 -13
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +90 -34
- package/dist/cjs/ion-tab_2.cjs.entry.js +27 -27
- package/dist/cjs/ion-text.cjs.entry.js +7 -8
- package/dist/cjs/ion-textarea.cjs.entry.js +35 -38
- package/dist/cjs/ion-toast.cjs.entry.js +41 -44
- package/dist/cjs/ion-toggle.cjs.entry.js +33 -36
- package/dist/cjs/{ionic-global-CSEbHD_F.js → ionic-global-DMWqcBn0.js} +240 -108
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-UCjoxA3D.js → ios.transition-DcJ6Bw2k.js} +4 -6
- package/dist/cjs/{keyboard-Bhav6x-R.js → keyboard-BCj7bSvQ.js} +4 -4
- package/dist/cjs/{keyboard-Dsczf-iT.js → keyboard-Jy7okGc5.js} +1 -1
- package/dist/cjs/{keyboard-controller-tqGDP9SU.js → keyboard-controller-CPJ4vSr0.js} +4 -4
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-CNwlchQn.js → md.transition-DAjf1hlJ.js} +4 -6
- package/dist/cjs/{notch-controller-CgtkBzy0.js → notch-controller-gGuWI1C7.js} +3 -3
- package/dist/cjs/{overlays-C54DhaTC.js → overlays-H4z8xPi9.js} +28 -206
- package/dist/cjs/{select-option-render-C7klBX2H.js → select-option-render-CZtiyFs7.js} +8 -8
- package/dist/cjs/{status-tap-CTY2dMsZ.js → status-tap-CPZvSRKr.js} +7 -9
- package/dist/cjs/{swipe-back-jJFi5KCB.js → swipe-back-CMubrxt-.js} +2 -4
- package/dist/collection/collection-manifest.json +0 -6
- package/dist/collection/components/action-sheet/action-sheet.ionic.css +2 -4
- package/dist/collection/components/action-sheet/action-sheet.ios.css +9 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +2 -3
- package/dist/collection/components/alert/alert.ionic.css +20 -22
- package/dist/collection/components/alert/alert.ios.css +13 -15
- package/dist/collection/components/alert/alert.md.css +19 -20
- package/dist/collection/components/avatar/avatar.ionic.css +0 -94
- package/dist/collection/components/avatar/avatar.js +22 -7
- package/dist/collection/components/avatar/avatar.md.css +0 -16
- package/dist/collection/components/back-button/back-button.ios.css +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/badge/badge.css +256 -0
- package/dist/collection/components/badge/badge.interfaces.js +7 -0
- package/dist/collection/components/badge/badge.js +72 -76
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +9 -9
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +9 -9
- package/dist/collection/components/button/button.ionic.css +18 -68
- package/dist/collection/components/button/button.ios.css +17 -32
- package/dist/collection/components/button/button.js +27 -5
- package/dist/collection/components/button/button.md.css +16 -31
- package/dist/collection/components/card/card.ios.css +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/card.md.css +1 -1
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +1 -1
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +1 -1
- package/dist/collection/components/card-title/card-title.md.css +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +5 -5
- package/dist/collection/components/checkbox/checkbox.md.css +5 -5
- package/dist/collection/components/chip/chip.css +406 -0
- package/dist/collection/components/chip/chip.js +111 -57
- package/dist/collection/components/col/col.js +2 -3
- package/dist/collection/components/content/content.css +66 -126
- package/dist/collection/components/content/content.js +25 -24
- package/dist/collection/components/datetime/datetime.ios.css +8 -8
- package/dist/collection/components/datetime/datetime.md.css +7 -7
- package/dist/collection/components/datetime-button/datetime-button.ios.css +2 -2
- package/dist/collection/components/datetime-button/datetime-button.md.css +1 -1
- package/dist/collection/components/fab-button/fab-button.ios.css +17 -17
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-button/fab-button.md.css +6 -6
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +3 -3
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +3 -3
- package/dist/collection/components/input/input.ios.css +7 -7
- package/dist/collection/components/input/input.js +6 -6
- package/dist/collection/components/input/input.md.css +15 -15
- package/dist/collection/components/input-otp/input-otp.ionic.css +2 -2
- package/dist/collection/components/input-otp/input-otp.ios.css +16 -16
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-otp/input-otp.md.css +16 -16
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item/item.ios.css +1 -1
- package/dist/collection/components/item/item.js +2 -2
- package/dist/collection/components/item/item.md.css +2 -2
- package/dist/collection/components/item-divider/item-divider.css +351 -0
- package/dist/collection/components/item-divider/item-divider.js +6 -13
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.ionic.css +8 -8
- package/dist/collection/components/item-option/item-option.ios.css +3 -3
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-option/item-option.md.css +2 -2
- package/dist/collection/components/item-options/item-options.ios.css +1 -1
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-options/item-options.md.css +1 -1
- package/dist/collection/components/item-sliding/{item-sliding.native.css → item-sliding.css} +9 -78
- package/dist/collection/components/item-sliding/item-sliding.js +38 -284
- package/dist/collection/components/label/label.ios.css +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/label.md.css +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.ios.css +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/list-header/list-header.md.css +1 -1
- package/dist/collection/components/loading/loading.ios.css +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/loading/loading.md.css +3 -3
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.ios.css +1 -1
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.ios.css +1 -1
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/modal/modal.md.css +1 -1
- package/dist/collection/components/nav/nav.js +3 -3
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.ios.css +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/note/note.md.css +1 -1
- package/dist/collection/components/picker/picker.ios.css +1 -1
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.ios.css +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy/picker.md.css +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +1 -1
- package/dist/collection/components/popover/popover.ios.css +1 -1
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +281 -0
- package/dist/collection/components/progress-bar/progress-bar.interfaces.js +4 -0
- package/dist/collection/components/progress-bar/progress-bar.js +30 -30
- package/dist/collection/components/radio/radio.ios.css +2 -2
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio/radio.md.css +2 -2
- package/dist/collection/components/radio-group/radio-group.ios.css +2 -2
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/radio-group/radio-group.md.css +2 -2
- package/dist/collection/components/range/range.ionic.css +1 -1
- package/dist/collection/components/range/range.ios.css +3 -3
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/range/range.md.css +6 -6
- package/dist/collection/components/refresher/refresher.ios.css +1 -1
- package/dist/collection/components/refresher/refresher.js +3 -3
- package/dist/collection/components/refresher/refresher.md.css +4 -4
- package/dist/collection/components/refresher/refresher.utils.js +2 -2
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router/router.js +2 -2
- package/dist/collection/components/router/utils/dom.js +2 -2
- package/dist/collection/components/router-link/router-link.css +1 -1
- package/dist/collection/components/router-link/router-link.js +4 -3
- package/dist/collection/components/router-outlet/router-outlet.js +2 -2
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.ios.css +3 -3
- package/dist/collection/components/searchbar/searchbar.js +6 -6
- package/dist/collection/components/searchbar/searchbar.md.css +3 -3
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.ios.css +3 -3
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-button/segment-button.md.css +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.ios.css +6 -6
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select/select.md.css +14 -14
- package/dist/collection/components/select-modal/select-modal.ionic.css +3 -3
- package/dist/collection/components/select-modal/select-modal.ios.css +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-modal/select-modal.md.css +5 -5
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.ionic.css +5 -5
- package/dist/collection/components/select-popover/select-popover.ios.css +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/select-popover/select-popover.md.css +5 -5
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.css +248 -0
- package/dist/collection/components/spinner/spinner.js +27 -31
- package/dist/collection/components/split-pane/split-pane.ios.css +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -3
- package/dist/collection/components/split-pane/split-pane.md.css +1 -1
- package/dist/collection/components/tab/tab.js +3 -3
- package/dist/collection/components/tab-bar/tab-bar.ios.css +4 -4
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.md.css +3 -3
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -61
- package/dist/collection/components/tab-button/tab-button.ios.css +0 -105
- package/dist/collection/components/tab-button/tab-button.js +62 -3
- package/dist/collection/components/tab-button/tab-button.md.css +0 -88
- package/dist/collection/components/tabs/tabs.css +0 -39
- package/dist/collection/components/tabs/tabs.interfaces.js +1 -0
- package/dist/collection/components/tabs/tabs.js +14 -14
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.ionic.css +1 -1
- package/dist/collection/components/textarea/textarea.ios.css +6 -6
- package/dist/collection/components/textarea/textarea.js +5 -5
- package/dist/collection/components/textarea/textarea.md.css +14 -14
- package/dist/collection/components/thumbnail/thumbnail.css +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.ios.css +3 -3
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toast/toast.md.css +5 -5
- package/dist/collection/components/toggle/toggle.ionic.css +1 -1
- package/dist/collection/components/toggle/toggle.ios.css +4 -4
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle/toggle.md.css +4 -4
- package/dist/collection/components/toolbar/toolbar.ios.css +2 -2
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/components/toolbar/toolbar.md.css +1 -1
- package/dist/collection/global/config.js +27 -0
- package/dist/collection/global/ionic-global.js +59 -76
- package/dist/collection/index.js +1 -2
- package/dist/collection/themes/base/dark.tokens.js +218 -0
- package/dist/collection/themes/base/default.tokens.js +157 -0
- package/dist/collection/themes/base/high-contrast-dark.tokens.js +210 -0
- package/dist/collection/themes/base/high-contrast.tokens.js +169 -0
- package/dist/collection/themes/base/light.tokens.js +163 -0
- package/dist/collection/themes/base/shared.tokens.js +15 -0
- package/dist/collection/themes/ionic/dark.tokens.js +5 -0
- package/dist/collection/themes/ionic/default.tokens.js +700 -0
- package/dist/collection/themes/ionic/light.tokens.js +25 -0
- package/dist/collection/themes/ionic/shared.tokens.js +122 -0
- package/dist/collection/themes/ios/dark.tokens.js +18 -0
- package/dist/collection/themes/ios/default.tokens.js +711 -0
- package/dist/collection/themes/ios/high-contrast-dark.tokens.js +6 -0
- package/dist/collection/themes/ios/high-contrast.tokens.js +5 -0
- package/dist/collection/themes/ios/light.tokens.js +4 -0
- package/dist/collection/themes/ios/shared.tokens.js +63 -0
- package/dist/collection/themes/md/dark.tokens.js +23 -0
- package/dist/collection/themes/md/default.tokens.js +819 -0
- package/dist/collection/themes/md/high-contrast-dark.tokens.js +10 -0
- package/dist/collection/themes/md/high-contrast.tokens.js +5 -0
- package/dist/collection/themes/md/light.tokens.js +4 -0
- package/dist/collection/themes/md/shared.tokens.js +127 -0
- package/dist/collection/themes/themes.interfaces.js +1 -0
- package/dist/collection/utils/badge-position.js +171 -0
- package/dist/collection/utils/content/index.js +2 -2
- package/dist/collection/utils/framework-delegate.js +3 -3
- package/dist/collection/utils/helpers.js +40 -0
- package/dist/collection/utils/input-shims/hacks/scroll-padding.js +2 -2
- package/dist/collection/utils/input-shims/input-shims.js +2 -2
- package/dist/collection/utils/media.js +0 -1
- package/dist/collection/utils/menu-controller/index.js +2 -2
- package/dist/collection/utils/overlays.js +12 -189
- package/dist/collection/utils/status-tap.js +2 -2
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +36 -2
- package/dist/collection/utils/theme.js +611 -9
- package/dist/docs.json +1501 -858
- package/dist/esm/{animation-Cqe2x-Pt.js → animation-pTY9wqHp.js} +2 -2
- package/dist/esm/{app-globals-Dk1rB3aE.js → app-globals-BDyWBDAh.js} +1 -1
- package/dist/esm/badge-position-C1Q3qPZy.js +174 -0
- package/dist/esm/{button-active-g6ZnZzDZ.js → button-active-Ca3reU6j.js} +2 -2
- package/dist/esm/{capacitor-C4lYa1nV.js → capacitor-isspMXyk.js} +1 -1
- package/dist/esm/{data-BNKYavC3.js → data-CAYLUmgh.js} +1 -1
- package/dist/esm/{framework-delegate-CjVwn_KZ.js → framework-delegate-reUSF3oT.js} +3 -4
- package/dist/esm/{haptic-_88k1V5U.js → haptic-FwCam9_Q.js} +1 -1
- package/dist/esm/{index-BmkLokUL.js → index-6QFmgmEW.js} +2 -3
- package/dist/esm/{index-Omi_TcwW.js → index-BrrkdT9L.js} +1851 -1
- package/dist/esm/{index-hpH08p5s.js → index-CEhdLZKQ.js} +4 -5
- package/dist/esm/{index-C5t9-ciC.js → index-CQnGY3Fp.js} +2 -4
- package/dist/esm/{index-CGthURny.js → index-DUAoXzCH.js} +3 -4
- package/dist/esm/{index-D4ugF_sT.js → index-V2HKYEdd.js} +1 -1
- package/dist/esm/index.js +10 -13
- package/dist/esm/{input-shims-vDjCsx95.js → input-shims-Cuw1QMqP.js} +8 -10
- package/dist/esm/{input.utils-B9Q5xHp6.js → input.utils-BiYknr4n.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +2 -5
- package/dist/esm/ion-action-sheet.entry.js +13 -16
- package/dist/esm/ion-alert.entry.js +13 -16
- package/dist/esm/ion-app_8.entry.js +36 -37
- package/dist/esm/ion-avatar_3.entry.js +60 -80
- package/dist/esm/ion-back-button.entry.js +3 -6
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +5 -8
- package/dist/esm/ion-button_2.entry.js +31 -11
- package/dist/esm/ion-card_5.entry.js +8 -11
- package/dist/esm/ion-checkbox.entry.js +4 -7
- package/dist/esm/ion-chip.entry.js +50 -50
- package/dist/esm/ion-col_3.entry.js +8 -10
- package/dist/esm/ion-datetime-button.entry.js +6 -9
- package/dist/esm/ion-datetime_3.entry.js +17 -20
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +5 -8
- package/dist/esm/ion-img.entry.js +4 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +10 -12
- package/dist/esm/ion-input-otp.entry.js +8 -11
- package/dist/esm/ion-input-password-toggle.entry.js +5 -6
- package/dist/esm/ion-input.entry.js +11 -14
- package/dist/esm/ion-item-option_3.entry.js +49 -302
- package/dist/esm/ion-item_8.entry.js +28 -40
- package/dist/esm/ion-loading.entry.js +11 -14
- package/dist/esm/ion-menu_3.entry.js +13 -16
- package/dist/esm/ion-modal.entry.js +16 -19
- package/dist/esm/ion-nav_2.entry.js +8 -10
- package/dist/esm/ion-picker-column-option.entry.js +4 -7
- package/dist/esm/ion-picker-column.entry.js +4 -7
- package/dist/esm/ion-picker.entry.js +2 -4
- package/dist/esm/ion-popover.entry.js +9 -12
- package/dist/esm/ion-progress-bar.entry.js +21 -34
- package/dist/esm/ion-radio_2.entry.js +11 -14
- package/dist/esm/ion-range.entry.js +9 -12
- package/dist/esm/ion-refresher_2.entry.js +16 -18
- package/dist/esm/ion-reorder_2.entry.js +8 -10
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +6 -9
- package/dist/esm/ion-searchbar.entry.js +9 -12
- 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 +8 -11
- package/dist/esm/ion-select-modal.entry.js +10 -13
- package/dist/esm/ion-select_3.entry.js +18 -21
- package/dist/esm/ion-spinner.entry.js +18 -33
- package/dist/esm/ion-split-pane.entry.js +7 -8
- package/dist/esm/ion-tab-bar_2.entry.js +75 -19
- package/dist/esm/ion-tab_2.entry.js +19 -19
- package/dist/esm/ion-text.entry.js +4 -5
- package/dist/esm/ion-textarea.entry.js +11 -14
- package/dist/esm/ion-toast.entry.js +10 -13
- package/dist/esm/ion-toggle.entry.js +10 -13
- package/dist/esm/{ionic-global-CAZb-5i-.js → ionic-global-CYPOXYV9.js} +214 -82
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-CzSncKQg.js → ios.transition-Udz14cFX.js} +4 -6
- package/dist/esm/{keyboard-Cpw6xVLJ.js → keyboard-BJeLQuaz.js} +1 -1
- package/dist/esm/{keyboard-controller-CAc33ylR.js → keyboard-controller-DtjExoRO.js} +3 -3
- package/dist/esm/{keyboard-DJpS2IGK.js → keyboard-uAtaO52Q.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-DIsWqYBZ.js → md.transition-BjHXd0f9.js} +4 -6
- package/dist/esm/{notch-controller-DiBq57w8.js → notch-controller-oUerJ6nV.js} +2 -2
- package/dist/esm/{overlays-ttYCMKRp.js → overlays-CSQv-GZq.js} +14 -192
- package/dist/esm/{select-option-render-B2qc5ZP7.js → select-option-render-DmisODWi.js} +2 -2
- package/dist/esm/{status-tap-fYFdZg6z.js → status-tap-DRMNWPiL.js} +3 -5
- package/dist/esm/{swipe-back-BzGqTrrq.js → swipe-back-D8jSdnGS.js} +1 -3
- package/dist/html.html-data.json +29 -202
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-01aa6153.entry.js +4 -0
- package/dist/ionic/p-07a3d959.entry.js +4 -0
- package/dist/ionic/p-0b68c8a9.entry.js +4 -0
- package/dist/ionic/p-0d50e1d3.entry.js +4 -0
- package/dist/ionic/p-124bb083.entry.js +4 -0
- package/dist/ionic/p-1f8298b3.entry.js +4 -0
- package/dist/ionic/p-1yGxS_yC.js +4 -0
- package/dist/ionic/p-29273c47.entry.js +4 -0
- package/dist/ionic/p-340449bb.entry.js +4 -0
- package/dist/ionic/p-39a55f1c.entry.js +4 -0
- package/dist/ionic/p-3a362e49.entry.js +4 -0
- package/dist/ionic/p-3a85e733.entry.js +4 -0
- package/dist/ionic/p-3b3dee19.entry.js +4 -0
- package/dist/ionic/p-485c13f3.entry.js +4 -0
- package/dist/ionic/p-4a63756e.entry.js +4 -0
- package/dist/ionic/p-4a6c21f5.entry.js +4 -0
- package/dist/ionic/p-4e8b3cd6.entry.js +4 -0
- package/dist/ionic/p-4f332976.entry.js +4 -0
- package/dist/ionic/{p-9d789053.entry.js → p-576b4ff1.entry.js} +1 -1
- package/dist/ionic/p-62a1e227.entry.js +4 -0
- package/dist/ionic/p-64877060.entry.js +4 -0
- package/dist/ionic/p-678f1511.entry.js +4 -0
- package/dist/ionic/p-6a0b6306.entry.js +4 -0
- package/dist/ionic/p-6c9228d4.entry.js +4 -0
- package/dist/ionic/p-70ab2edf.entry.js +4 -0
- package/dist/ionic/p-74d05699.entry.js +4 -0
- package/dist/ionic/p-77aa1e90.entry.js +4 -0
- package/dist/ionic/p-79be145b.entry.js +4 -0
- package/dist/ionic/p-7ba7526a.entry.js +4 -0
- package/dist/ionic/p-7cffb312.entry.js +4 -0
- package/dist/ionic/p-7e44a4c5.entry.js +4 -0
- package/dist/ionic/{p-45825c2c.entry.js → p-88717a4c.entry.js} +1 -1
- package/dist/ionic/p-918cf662.entry.js +4 -0
- package/dist/ionic/p-9476775d.entry.js +4 -0
- package/dist/ionic/p-9b05cd45.entry.js +4 -0
- package/dist/ionic/p-9b75925d.entry.js +4 -0
- package/dist/ionic/p-9c849562.entry.js +4 -0
- package/dist/ionic/p-9e74defe.entry.js +4 -0
- package/{components/p-oF-CwZ0b.js → dist/ionic/p-B7D6IyeU.js} +1 -1
- package/dist/ionic/p-BQZlX_QW.js +4 -0
- package/dist/ionic/p-BiY-3g9k.js +4 -0
- package/dist/ionic/p-BrrkdT9L.js +5 -0
- package/dist/ionic/p-BzLJp2YK.js +4 -0
- package/dist/ionic/{p-ZqkJDyhe.js → p-CAUIo7pE.js} +1 -1
- package/dist/ionic/p-CQA3_fVT.js +4 -0
- package/dist/ionic/{p-SJmaFQ0H.js → p-CTDx2dNQ.js} +1 -1
- package/dist/ionic/p-CWcwW_B7.js +4 -0
- package/dist/ionic/p-CYLLjyEJ.js +4 -0
- package/dist/ionic/p-Cd5dRcMd.js +4 -0
- package/dist/ionic/p-CeizwFUQ.js +4 -0
- package/{components/p-Cmql_g3_.js → dist/ionic/p-Chp7Hiov.js} +1 -1
- package/{components/p-sK-FK9CT.js → dist/ionic/p-Ckv4csSE.js} +1 -1
- package/dist/ionic/p-CnLgxV__.js +4 -0
- package/dist/ionic/p-CrC3J6IY.js +4 -0
- package/dist/ionic/p-D6sRRFCv.js +4 -0
- package/dist/ionic/p-DBv6epu_.js +4 -0
- package/dist/ionic/p-Dl7gXMai.js +4 -0
- package/dist/ionic/p-Dxq4Ulb1.js +4 -0
- package/dist/ionic/p-YuNpC3uG.js +4 -0
- package/{components/p-BLysWQA1.js → dist/ionic/p-ZdzrkYIV.js} +1 -1
- package/dist/ionic/p-a6c90dec.entry.js +4 -0
- package/dist/ionic/{p-8537b2fb.entry.js → p-a71389be.entry.js} +1 -1
- package/dist/ionic/p-a714ca93.entry.js +4 -0
- package/dist/ionic/p-bcaba3e0.entry.js +4 -0
- package/dist/ionic/p-bd44b49f.entry.js +4 -0
- package/dist/ionic/{p-7d267dc6.entry.js → p-c636b0d3.entry.js} +1 -1
- package/dist/ionic/p-cdc18886.entry.js +4 -0
- package/dist/ionic/p-ce6acd14.entry.js +4 -0
- package/dist/ionic/p-d7b2d59f.entry.js +4 -0
- package/dist/ionic/p-dc2812ee.entry.js +4 -0
- package/dist/ionic/p-de74cc27.entry.js +4 -0
- package/dist/ionic/p-ef1330ac.entry.js +4 -0
- package/dist/ionic/p-f57fea97.entry.js +4 -0
- package/dist/ionic/p-f840d58e.entry.js +4 -0
- package/dist/ionic/p-fK-AnPaq.js +4 -0
- package/dist/ionic/p-fce34e31.entry.js +4 -0
- package/dist/ionic/p-fd014d35.entry.js +4 -0
- package/dist/ionic/p-gBNkhCZy.js +4 -0
- package/dist/ionic/p-gYuHMhs-.js +4 -0
- package/dist/ionic/p-nMHpWRBR.js +4 -0
- package/dist/types/components/avatar/avatar.d.ts +6 -0
- package/dist/types/components/badge/badge.d.ts +30 -17
- package/dist/types/components/badge/badge.interfaces.d.ts +73 -0
- package/dist/types/components/button/button.d.ts +7 -1
- package/dist/types/components/chip/chip.d.ts +45 -14
- package/dist/types/components/chip/chip.interfaces.d.ts +97 -0
- package/dist/types/components/content/content.d.ts +1 -2
- package/dist/types/components/content/{content-interface.d.ts → content.interfaces.d.ts} +18 -0
- package/dist/types/components/item-divider/item-divider.d.ts +0 -1
- package/dist/types/components/item-divider/item-divider.interfaces.d.ts +132 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +2 -17
- package/dist/types/components/progress-bar/progress-bar.d.ts +9 -4
- package/dist/types/components/progress-bar/progress-bar.interfaces.d.ts +90 -0
- package/dist/types/components/spinner/spinner-configs.d.ts +2 -2
- package/dist/types/components/spinner/spinner.d.ts +8 -4
- package/dist/types/components/spinner/spinner.interfaces.d.ts +72 -0
- package/dist/types/components/tab/tab.d.ts +0 -1
- package/dist/types/components/tab-button/tab-button.d.ts +7 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -1
- package/dist/types/components.d.ts +64 -186
- package/dist/types/global/config.d.ts +9 -1
- package/dist/types/global/ionic-global.d.ts +3 -10
- package/dist/types/index.d.ts +1 -2
- package/dist/types/interface.d.ts +2 -2
- package/dist/types/themes/base/dark.tokens.d.ts +2 -0
- package/dist/types/themes/base/default.tokens.d.ts +2 -0
- package/dist/types/themes/base/high-contrast-dark.tokens.d.ts +2 -0
- package/dist/types/themes/base/high-contrast.tokens.d.ts +2 -0
- package/dist/types/themes/base/light.tokens.d.ts +2 -0
- package/dist/types/themes/base/shared.tokens.d.ts +11 -0
- package/dist/types/themes/ionic/dark.tokens.d.ts +2 -0
- package/dist/types/themes/ionic/default.tokens.d.ts +2 -0
- package/dist/types/themes/ionic/light.tokens.d.ts +2 -0
- package/dist/types/themes/ionic/shared.tokens.d.ts +112 -0
- package/dist/types/themes/ios/dark.tokens.d.ts +2 -0
- package/dist/types/themes/ios/default.tokens.d.ts +2 -0
- package/dist/types/themes/ios/high-contrast-dark.tokens.d.ts +2 -0
- package/dist/types/themes/ios/high-contrast.tokens.d.ts +2 -0
- package/dist/types/themes/ios/light.tokens.d.ts +2 -0
- package/dist/types/themes/ios/shared.tokens.d.ts +56 -0
- package/dist/types/themes/md/dark.tokens.d.ts +2 -0
- package/dist/types/themes/md/default.tokens.d.ts +2 -0
- package/dist/types/themes/md/high-contrast-dark.tokens.d.ts +2 -0
- package/dist/types/themes/md/high-contrast.tokens.d.ts +2 -0
- package/dist/types/themes/md/light.tokens.d.ts +2 -0
- package/dist/types/themes/md/shared.tokens.d.ts +117 -0
- package/dist/types/themes/themes.interfaces.d.ts +278 -0
- package/dist/types/utils/badge-position.d.ts +106 -0
- package/dist/types/utils/config.d.ts +6 -0
- package/dist/types/utils/helpers.d.ts +16 -0
- package/dist/types/utils/platform.d.ts +2 -2
- package/dist/types/utils/theme.d.ts +198 -3
- package/hydrate/index.js +7551 -6874
- package/hydrate/index.mjs +7551 -6874
- package/package.json +6 -4
- package/components/ion-gallery.d.ts +0 -11
- package/components/ion-gallery.js +0 -4
- package/components/p-0sa2JgYA.js +0 -4
- package/components/p-3Ni1Z654.js +0 -4
- package/components/p-9gxM3tAr.js +0 -4
- package/components/p-B636tzQ7.js +0 -4
- package/components/p-B8Oa6a_k.js +0 -4
- package/components/p-BCDEEm9n.js +0 -4
- package/components/p-BDndEqui.js +0 -4
- package/components/p-BFbsici0.js +0 -4
- package/components/p-BLCuPAtN.js +0 -4
- package/components/p-BO4aickU.js +0 -4
- package/components/p-BRWWcnBq.js +0 -4
- package/components/p-BXcCGjEc.js +0 -4
- package/components/p-BbQGmZyu.js +0 -4
- package/components/p-BeVlsaLA.js +0 -4
- package/components/p-Bp__mr16.js +0 -4
- package/components/p-BqDiJgC_.js +0 -4
- package/components/p-BqImG3uk.js +0 -4
- package/components/p-C00Y_WJv.js +0 -4
- package/components/p-C0U8YqYW.js +0 -4
- package/components/p-C38HUpU5.js +0 -4
- package/components/p-C4G6C9fP.js +0 -4
- package/components/p-CKfNwyAb.js +0 -4
- package/components/p-CN-WzkJE.js +0 -4
- package/components/p-CVBkx7m1.js +0 -4
- package/components/p-CVRxImH6.js +0 -4
- package/components/p-Cb9imMZh.js +0 -4
- package/components/p-Cf9-xP7P.js +0 -4
- package/components/p-CjSx8W-k.js +0 -4
- package/components/p-CoFDGTFO.js +0 -4
- package/components/p-CoFqDNc5.js +0 -4
- package/components/p-CykCvfXQ.js +0 -4
- package/components/p-DDw-NYxz.js +0 -4
- package/components/p-DHTe6lDL.js +0 -4
- package/components/p-DH_9VCbD.js +0 -4
- package/components/p-DTtRWhIZ.js +0 -4
- package/components/p-DVcs-2q3.js +0 -4
- package/components/p-DXUyXgVL.js +0 -4
- package/components/p-DaJxRxSQ.js +0 -4
- package/components/p-IMXp2Inn.js +0 -4
- package/components/p-TR4ubkPu.js +0 -4
- package/components/p-XegQjlzJ.js +0 -4
- package/components/p-qZr7hBPz.js +0 -4
- package/components/p-t98_NeNv.js +0 -4
- package/components/p-vCpF32Z7.js +0 -4
- package/components/p-vXpMhGrs.js +0 -4
- package/components/p-wCDzv5Q8.js +0 -4
- package/dist/cjs/focus-visible-BIj-I3-C.js +0 -101
- package/dist/cjs/helpers-DJYxKN5U.js +0 -413
- package/dist/cjs/ion-gallery.cjs.entry.js +0 -510
- package/dist/cjs/theme-IlOsGAz7.js +0 -72
- package/dist/collection/components/badge/badge.ionic.css +0 -275
- package/dist/collection/components/badge/badge.ios.css +0 -295
- package/dist/collection/components/badge/badge.md.css +0 -275
- package/dist/collection/components/chip/chip.ionic.css +0 -217
- package/dist/collection/components/chip/chip.ios.css +0 -265
- package/dist/collection/components/chip/chip.md.css +0 -260
- package/dist/collection/components/gallery/gallery-constants.js +0 -12
- package/dist/collection/components/gallery/gallery.css +0 -100
- package/dist/collection/components/gallery/gallery.js +0 -595
- package/dist/collection/components/gallery/test/utils.js +0 -100
- package/dist/collection/components/item-divider/item-divider.ios.css +0 -369
- package/dist/collection/components/item-divider/item-divider.md.css +0 -425
- package/dist/collection/components/item-sliding/item-sliding.ionic.css +0 -211
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +0 -287
- package/dist/collection/components/progress-bar/progress-bar.ios.css +0 -298
- package/dist/collection/components/progress-bar/progress-bar.md.css +0 -290
- package/dist/collection/components/spinner/spinner.ionic.css +0 -300
- package/dist/collection/components/spinner/spinner.native.css +0 -199
- package/dist/collection/utils/css-value-validation.js +0 -25
- package/dist/esm/focus-visible-vXpMhGrs.js +0 -97
- package/dist/esm/helpers-Do7zwvM1.js +0 -392
- package/dist/esm/ion-gallery.entry.js +0 -508
- package/dist/esm/theme-DaJxRxSQ.js +0 -67
- package/dist/ionic/p-00c0bd38.entry.js +0 -4
- package/dist/ionic/p-06bd033b.entry.js +0 -4
- package/dist/ionic/p-07d3388f.entry.js +0 -4
- package/dist/ionic/p-11nqcMM3.js +0 -4
- package/dist/ionic/p-139d02eb.entry.js +0 -4
- package/dist/ionic/p-1709b0aa.entry.js +0 -4
- package/dist/ionic/p-1c2c1869.entry.js +0 -4
- package/dist/ionic/p-1c4de46b.entry.js +0 -4
- package/dist/ionic/p-1e1c8d61.entry.js +0 -4
- package/dist/ionic/p-1f74b8d4.entry.js +0 -4
- package/dist/ionic/p-2311e660.entry.js +0 -4
- package/dist/ionic/p-2aa7567e.entry.js +0 -4
- package/dist/ionic/p-2ad79c23.entry.js +0 -4
- package/dist/ionic/p-2f8aa0ac.entry.js +0 -4
- package/dist/ionic/p-3331cfa9.entry.js +0 -4
- package/dist/ionic/p-33c34361.entry.js +0 -4
- package/dist/ionic/p-37ccbee4.entry.js +0 -4
- package/dist/ionic/p-3aba19e2.entry.js +0 -4
- package/dist/ionic/p-3f79f594.entry.js +0 -4
- package/dist/ionic/p-48026d15.entry.js +0 -4
- package/dist/ionic/p-488992b6.entry.js +0 -4
- package/dist/ionic/p-5061a8d4.entry.js +0 -4
- package/dist/ionic/p-50b61fab.entry.js +0 -4
- package/dist/ionic/p-50cd2d57.entry.js +0 -4
- package/dist/ionic/p-5274f999.entry.js +0 -4
- package/dist/ionic/p-586d4270.entry.js +0 -4
- package/dist/ionic/p-68c21b2a.entry.js +0 -4
- package/dist/ionic/p-6fbead83.entry.js +0 -4
- package/dist/ionic/p-7054a1b9.entry.js +0 -4
- package/dist/ionic/p-7194f6fa.entry.js +0 -4
- package/dist/ionic/p-72491468.entry.js +0 -4
- package/dist/ionic/p-76307d10.entry.js +0 -4
- package/dist/ionic/p-7d5057c4.entry.js +0 -4
- package/dist/ionic/p-83c693c4.entry.js +0 -4
- package/dist/ionic/p-8f04bd89.entry.js +0 -4
- package/dist/ionic/p-8uDL7fql.js +0 -4
- package/dist/ionic/p-90e653e3.entry.js +0 -4
- package/dist/ionic/p-967576f8.entry.js +0 -4
- package/dist/ionic/p-BsfuYVMP.js +0 -4
- package/dist/ionic/p-Bx0bt2Ar.js +0 -4
- package/dist/ionic/p-C2mpVKI1.js +0 -4
- package/dist/ionic/p-C5zxLmJ_.js +0 -4
- package/dist/ionic/p-CBV-BGvD.js +0 -4
- package/dist/ionic/p-CDn0uNJA.js +0 -4
- package/dist/ionic/p-CFjI63GE.js +0 -4
- package/dist/ionic/p-CHE1xWbg.js +0 -4
- package/dist/ionic/p-CIk5QtPm.js +0 -4
- package/dist/ionic/p-CQKe4n56.js +0 -4
- package/dist/ionic/p-CVp2D--1.js +0 -4
- package/dist/ionic/p-CXqdKf1K.js +0 -4
- package/dist/ionic/p-Cb-0O4h8.js +0 -4
- package/dist/ionic/p-DKWXAwlR.js +0 -4
- package/dist/ionic/p-DaJxRxSQ.js +0 -4
- package/dist/ionic/p-DdyNaGpi.js +0 -4
- package/dist/ionic/p-DoyDJ2X5.js +0 -4
- package/dist/ionic/p-FvDKM4Ax.js +0 -4
- package/dist/ionic/p-Omi_TcwW.js +0 -5
- package/dist/ionic/p-SOASChNu.js +0 -4
- package/dist/ionic/p-acdc21a6.entry.js +0 -4
- package/dist/ionic/p-ae667493.entry.js +0 -4
- package/dist/ionic/p-b2fe6c1c.entry.js +0 -4
- package/dist/ionic/p-b3c9f19c.entry.js +0 -4
- package/dist/ionic/p-b653f4c2.entry.js +0 -4
- package/dist/ionic/p-bb898d47.entry.js +0 -4
- package/dist/ionic/p-bd71a4a7.entry.js +0 -4
- package/dist/ionic/p-d4ed5710.entry.js +0 -4
- package/dist/ionic/p-d6299c37.entry.js +0 -4
- package/dist/ionic/p-dea52cb3.entry.js +0 -4
- package/dist/ionic/p-e18d3fdb.entry.js +0 -4
- package/dist/ionic/p-f02ba305.entry.js +0 -4
- package/dist/ionic/p-fad05840.entry.js +0 -4
- package/dist/ionic/p-fc796d48.entry.js +0 -4
- package/dist/ionic/p-qETiT38a.js +0 -4
- package/dist/ionic/p-vXpMhGrs.js +0 -4
- package/dist/types/components/gallery/gallery-constants.d.ts +0 -9
- package/dist/types/components/gallery/gallery-interface.d.ts +0 -10
- package/dist/types/components/gallery/gallery.d.ts +0 -183
- package/dist/types/components/gallery/test/utils.d.ts +0 -2
- package/dist/types/components/spinner/spinner-interface.d.ts +0 -22
- package/dist/types/utils/css-value-validation.d.ts +0 -12
- /package/dist/collection/components/{content/content-interface.js → chip/chip.interfaces.js} +0 -0
- /package/dist/collection/components/{gallery/gallery-interface.js → content/content.interfaces.js} +0 -0
- /package/dist/collection/components/{spinner/spinner-interface.js → item-divider/item-divider.interfaces.js} +0 -0
- /package/dist/collection/components/{tabs/tabs-interface.js → spinner/spinner.interfaces.js} +0 -0
- /package/dist/types/components/tabs/{tabs-interface.d.ts → tabs.interfaces.d.ts} +0 -0
|
@@ -3,26 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var ionicGlobal = require('./ionic-global-CSEbHD_F.js');
|
|
9
|
-
var helpers = require('./helpers-DJYxKN5U.js');
|
|
6
|
+
var focusVisible = require('./index-BDthk8R7.js');
|
|
7
|
+
var ionicGlobal = require('./ionic-global-DMWqcBn0.js');
|
|
10
8
|
var dir = require('./dir-Cn0z1rJH.js');
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var keyboardController = require('./keyboard-controller-tqGDP9SU.js');
|
|
9
|
+
var index = require('./index-DhXmkpe3.js');
|
|
10
|
+
var keyboardController = require('./keyboard-controller-CPJ4vSr0.js');
|
|
14
11
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
15
|
-
var frameworkDelegate = require('./framework-delegate-
|
|
12
|
+
var frameworkDelegate = require('./framework-delegate-C1LqXDzY.js');
|
|
16
13
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
17
|
-
var index$
|
|
18
|
-
require('./keyboard-
|
|
19
|
-
require('./capacitor-
|
|
14
|
+
var index$1 = require('./index-cV9SaEZV.js');
|
|
15
|
+
require('./keyboard-Jy7okGc5.js');
|
|
16
|
+
require('./capacitor-F7SUc7Ly.js');
|
|
20
17
|
|
|
21
18
|
const appCss = () => `html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}`;
|
|
22
19
|
|
|
23
20
|
const App = class {
|
|
24
21
|
constructor(hostRef) {
|
|
25
|
-
|
|
22
|
+
focusVisible.registerInstance(this, hostRef);
|
|
26
23
|
}
|
|
27
24
|
/**
|
|
28
25
|
* Used to set focus on an element that uses `ion-focusable`.
|
|
@@ -44,13 +41,13 @@ const App = class {
|
|
|
44
41
|
}
|
|
45
42
|
render() {
|
|
46
43
|
const theme = ionicGlobal.getIonTheme(this);
|
|
47
|
-
return (
|
|
44
|
+
return (focusVisible.h(focusVisible.Host, { key: '3b7e84c7c4187287123413f90838cda89136b2a4', class: {
|
|
48
45
|
[theme]: true,
|
|
49
46
|
'ion-page': true,
|
|
50
|
-
'force-statusbar-padding':
|
|
47
|
+
'force-statusbar-padding': focusVisible.config.getBoolean('_forceStatusbarPadding'),
|
|
51
48
|
} }));
|
|
52
49
|
}
|
|
53
|
-
get el() { return
|
|
50
|
+
get el() { return focusVisible.getElement(this); }
|
|
54
51
|
};
|
|
55
52
|
App.style = appCss();
|
|
56
53
|
|
|
@@ -62,7 +59,7 @@ const buttonsMdCss = () => `.sc-ion-buttons-md-h{display:-ms-flexbox;display:fle
|
|
|
62
59
|
|
|
63
60
|
const Buttons = class {
|
|
64
61
|
constructor(hostRef) {
|
|
65
|
-
|
|
62
|
+
focusVisible.registerInstance(this, hostRef);
|
|
66
63
|
/**
|
|
67
64
|
* If true, buttons will disappear when its
|
|
68
65
|
* parent toolbar has fully collapsed if the toolbar
|
|
@@ -79,10 +76,10 @@ const Buttons = class {
|
|
|
79
76
|
}
|
|
80
77
|
render() {
|
|
81
78
|
const theme = ionicGlobal.getIonTheme(this);
|
|
82
|
-
return (
|
|
79
|
+
return (focusVisible.h(focusVisible.Host, { key: '95c107ba7871c801a5ef14c636dc8e2fe69debf3', class: {
|
|
83
80
|
[theme]: true,
|
|
84
81
|
['buttons-collapse']: this.collapse,
|
|
85
|
-
} },
|
|
82
|
+
} }, focusVisible.h("slot", { key: '58669abfce458e1344b84286d4200e305017b958' })));
|
|
86
83
|
}
|
|
87
84
|
};
|
|
88
85
|
Buttons.style = {
|
|
@@ -91,14 +88,14 @@ Buttons.style = {
|
|
|
91
88
|
md: buttonsMdCss()
|
|
92
89
|
};
|
|
93
90
|
|
|
94
|
-
const contentCss = () => `:host{--
|
|
91
|
+
const contentCss = () => `:host{--internal-keyboard-offset:0px;--internal-offset-top:0px;--internal-offset-bottom:0px;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-content-font-family, inherit);contain:size style}.inner-scroll{right:0px;left:0px;top:calc(var(--internal-offset-top) * -1);bottom:calc(var(--internal-offset-bottom) * -1);-webkit-padding-start:var(--padding-start, var(--ion-content-padding-start, 0px));padding-inline-start:var(--padding-start, var(--ion-content-padding-start, 0px));-webkit-padding-end:var(--padding-end, var(--ion-content-padding-end, 0px));padding-inline-end:var(--padding-end, var(--ion-content-padding-end, 0px));padding-top:calc(var(--padding-top, var(--ion-content-padding-top, 0px)) + var(--internal-offset-top));padding-bottom:calc( var(--padding-bottom, var(--ion-content-padding-bottom, 0px)) + var(--internal-keyboard-offset) + var(--internal-offset-bottom) + var(--ion-content-safe-area-padding-bottom, 0px) );position:absolute;color:var(--ion-content-default-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}:host(.ion-color) .inner-scroll{background:var(--ion-content-semantic-default-background);color:var(--ion-content-semantic-default-color)}.scroll-y,.scroll-x{z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--ion-content-overflow, auto);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--ion-content-overflow, auto);overscroll-behavior-x:contain}#background-content{right:0px;left:0px;top:calc(var(--internal-offset-top) * -1);bottom:calc(var(--internal-offset-bottom) * -1);position:absolute;background:var(--ion-content-default-background)}.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(--internal-offset-top) * -1);margin-bottom:calc(var(--internal-offset-bottom) * -1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}.transition-effect{inset-inline-start:-100%}.transition-cover{position:absolute;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)}.transition-shadow{inset-inline-end:0}:host(.content-rtl) .transition-shadow{-webkit-transform:scaleX(-1);transform:scaleX(-1)}`;
|
|
95
92
|
|
|
96
93
|
const Content = class {
|
|
97
94
|
constructor(hostRef) {
|
|
98
|
-
|
|
99
|
-
this.ionScrollStart =
|
|
100
|
-
this.ionScroll =
|
|
101
|
-
this.ionScrollEnd =
|
|
95
|
+
focusVisible.registerInstance(this, hostRef);
|
|
96
|
+
this.ionScrollStart = focusVisible.createEvent(this, "ionScrollStart", 7);
|
|
97
|
+
this.ionScroll = focusVisible.createEvent(this, "ionScroll", 7);
|
|
98
|
+
this.ionScrollEnd = focusVisible.createEvent(this, "ionScrollEnd", 7);
|
|
102
99
|
this.watchDog = null;
|
|
103
100
|
this.isScrolling = false;
|
|
104
101
|
this.lastScroll = 0;
|
|
@@ -159,7 +156,7 @@ const Content = class {
|
|
|
159
156
|
this.scrollEvents = false;
|
|
160
157
|
}
|
|
161
158
|
componentWillLoad() {
|
|
162
|
-
this.inheritedAttributes =
|
|
159
|
+
this.inheritedAttributes = focusVisible.inheritAriaAttributes(this.el);
|
|
163
160
|
}
|
|
164
161
|
connectedCallback() {
|
|
165
162
|
this.isMainContent = this.el.closest('ion-menu, ion-popover, ion-modal') === null;
|
|
@@ -171,7 +168,7 @@ const Content = class {
|
|
|
171
168
|
* event to fire. This does not impact dist-custom-elements
|
|
172
169
|
* because there is no hydration there.
|
|
173
170
|
*/
|
|
174
|
-
if (
|
|
171
|
+
if (focusVisible.hasLazyBuild(this.el)) {
|
|
175
172
|
/**
|
|
176
173
|
* We need to cache the reference to the tabs.
|
|
177
174
|
* If just the content is unmounted then we won't
|
|
@@ -200,7 +197,7 @@ const Content = class {
|
|
|
200
197
|
}
|
|
201
198
|
disconnectedCallback() {
|
|
202
199
|
this.onScrollEnd();
|
|
203
|
-
if (
|
|
200
|
+
if (focusVisible.hasLazyBuild(this.el)) {
|
|
204
201
|
/**
|
|
205
202
|
* The event listener and tabs caches need to
|
|
206
203
|
* be cleared otherwise this will create a memory
|
|
@@ -265,15 +262,15 @@ const Content = class {
|
|
|
265
262
|
* The `hydrateDocument` function in `@stencil/core` will render the `ion-content`, but
|
|
266
263
|
* `forceUpdate` will trigger another render, locking up the server.
|
|
267
264
|
*
|
|
268
|
-
* TODO: Remove if
|
|
265
|
+
* TODO(STENCIL-834): Remove if Stencil will account for this.
|
|
269
266
|
*/
|
|
270
267
|
{
|
|
271
268
|
if (this.fullscreen) {
|
|
272
|
-
|
|
269
|
+
focusVisible.readTask(() => this.readDimensions());
|
|
273
270
|
}
|
|
274
271
|
else if (this.cTop !== 0 || this.cBottom !== 0) {
|
|
275
272
|
this.cTop = this.cBottom = 0;
|
|
276
|
-
|
|
273
|
+
focusVisible.forceUpdate(this);
|
|
277
274
|
}
|
|
278
275
|
}
|
|
279
276
|
}
|
|
@@ -284,7 +281,7 @@ const Content = class {
|
|
|
284
281
|
* @internal
|
|
285
282
|
*/
|
|
286
283
|
async recalculateDimensions() {
|
|
287
|
-
|
|
284
|
+
focusVisible.readTask(() => this.readDimensions());
|
|
288
285
|
}
|
|
289
286
|
readDimensions() {
|
|
290
287
|
const page = getPageElement(this.el);
|
|
@@ -294,7 +291,7 @@ const Content = class {
|
|
|
294
291
|
if (dirty) {
|
|
295
292
|
this.cTop = top;
|
|
296
293
|
this.cBottom = bottom;
|
|
297
|
-
|
|
294
|
+
focusVisible.forceUpdate(this);
|
|
298
295
|
}
|
|
299
296
|
}
|
|
300
297
|
onScroll(ev) {
|
|
@@ -306,7 +303,7 @@ const Content = class {
|
|
|
306
303
|
}
|
|
307
304
|
if (!this.queued && this.scrollEvents) {
|
|
308
305
|
this.queued = true;
|
|
309
|
-
|
|
306
|
+
focusVisible.readTask((ts) => {
|
|
310
307
|
this.queued = false;
|
|
311
308
|
this.detail.event = ev;
|
|
312
309
|
updateScrollDetail(this.detail, this.scrollEl, ts, shouldStart);
|
|
@@ -328,9 +325,9 @@ const Content = class {
|
|
|
328
325
|
* scrollEl won't be defined yet with the custom elements build, so wait for it to load in.
|
|
329
326
|
*/
|
|
330
327
|
if (!this.scrollEl) {
|
|
331
|
-
await
|
|
328
|
+
await focusVisible.waitForComponentReady(this.el);
|
|
332
329
|
}
|
|
333
|
-
return
|
|
330
|
+
return this.scrollEl;
|
|
334
331
|
}
|
|
335
332
|
/**
|
|
336
333
|
* Returns the background content element.
|
|
@@ -338,9 +335,9 @@ const Content = class {
|
|
|
338
335
|
*/
|
|
339
336
|
async getBackgroundElement() {
|
|
340
337
|
if (!this.backgroundContentEl) {
|
|
341
|
-
await
|
|
338
|
+
await focusVisible.waitForComponentReady(this.el);
|
|
342
339
|
}
|
|
343
|
-
return
|
|
340
|
+
return this.backgroundContentEl;
|
|
344
341
|
}
|
|
345
342
|
/**
|
|
346
343
|
* Scroll to the top of the component.
|
|
@@ -451,28 +448,30 @@ const Content = class {
|
|
|
451
448
|
render() {
|
|
452
449
|
const { fixedSlotPlacement, inheritedAttributes, isMainContent, scrollX, scrollY, el } = this;
|
|
453
450
|
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
454
|
-
const
|
|
455
|
-
const mode = ionicGlobal.getIonMode(this, theme$1);
|
|
451
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
456
452
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
457
|
-
|
|
453
|
+
/**
|
|
454
|
+
* The transition shadow effect is only animated by the iOS transition
|
|
455
|
+
* builder, so these elements are only rendered in iOS mode.
|
|
456
|
+
*/
|
|
457
|
+
const transitionShadow = mode === 'ios';
|
|
458
458
|
this.resize();
|
|
459
|
-
return (
|
|
460
|
-
[theme$1]: true,
|
|
459
|
+
return (focusVisible.h(focusVisible.Host, Object.assign({ key: '17824a110a0ca47f8bbc6614100c8409f447c75d', role: isMainContent ? 'main' : undefined, class: focusVisible.createColorClasses(this.color, {
|
|
461
460
|
'content-fullscreen': this.fullscreen,
|
|
462
|
-
'content-sizing':
|
|
463
|
-
overscroll: forceOverscroll,
|
|
461
|
+
'content-sizing': focusVisible.hostContext('ion-popover', this.el),
|
|
464
462
|
[`content-${rtl}`]: true,
|
|
463
|
+
overscroll: forceOverscroll,
|
|
465
464
|
}), style: {
|
|
466
|
-
'--offset-top': `${this.cTop}px`,
|
|
467
|
-
'--offset-bottom': `${this.cBottom}px`,
|
|
468
|
-
} }, inheritedAttributes),
|
|
465
|
+
'--internal-offset-top': `${this.cTop}px`,
|
|
466
|
+
'--internal-offset-bottom': `${this.cBottom}px`,
|
|
467
|
+
} }, inheritedAttributes), focusVisible.h("div", { key: '41f32530395575c8dd8e18ed141c723b9fcf2ff1', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? focusVisible.h("slot", { name: "fixed" }) : null, focusVisible.h("div", { key: 'c4ff0449c4e5a1168d1edbcd8c0379ae508d97b9', class: {
|
|
469
468
|
'inner-scroll': true,
|
|
470
469
|
'scroll-x': scrollX,
|
|
471
470
|
'scroll-y': scrollY,
|
|
472
471
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
473
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" },
|
|
472
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, focusVisible.h("slot", { key: '90325c23154a4a35cf6827337bb49edbd7bc3f20' })), transitionShadow ? (focusVisible.h("div", { class: "transition-effect" }, focusVisible.h("div", { class: "transition-cover" }), focusVisible.h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? focusVisible.h("slot", { name: "fixed" }) : null));
|
|
474
473
|
}
|
|
475
|
-
get el() { return
|
|
474
|
+
get el() { return focusVisible.getElement(this); }
|
|
476
475
|
};
|
|
477
476
|
const getParentElement = (el) => {
|
|
478
477
|
var _a;
|
|
@@ -496,7 +495,7 @@ const getPageElement = (el) => {
|
|
|
496
495
|
* between the popover and the edges of the screen. But if the popover contains
|
|
497
496
|
* its own page element, we should use that instead.
|
|
498
497
|
*/
|
|
499
|
-
const appRootSelector =
|
|
498
|
+
const appRootSelector = focusVisible.config.get('appRootSelector', 'ion-app');
|
|
500
499
|
const page = el.closest(`${appRootSelector}, ion-page, .ion-page, page-inner, .popover-content`);
|
|
501
500
|
if (page) {
|
|
502
501
|
return page;
|
|
@@ -533,7 +532,7 @@ const updateScrollDetail = (detail, el, timestamp, shouldStart) => {
|
|
|
533
532
|
Content.style = contentCss();
|
|
534
533
|
|
|
535
534
|
const handleFooterFade = (scrollEl, baseEl) => {
|
|
536
|
-
|
|
535
|
+
focusVisible.readTask(() => {
|
|
537
536
|
const scrollTop = scrollEl.scrollTop;
|
|
538
537
|
const maxScroll = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
539
538
|
/**
|
|
@@ -554,8 +553,8 @@ const handleFooterFade = (scrollEl, baseEl) => {
|
|
|
554
553
|
*/
|
|
555
554
|
const fadeStart = maxScroll - fadeDuration;
|
|
556
555
|
const distanceToStart = scrollTop - fadeStart;
|
|
557
|
-
const scale =
|
|
558
|
-
|
|
556
|
+
const scale = focusVisible.clamp(0, 1 - distanceToStart / fadeDuration, 1);
|
|
557
|
+
focusVisible.writeTask(() => {
|
|
559
558
|
baseEl.style.setProperty('--opacity-scale', scale.toString());
|
|
560
559
|
});
|
|
561
560
|
});
|
|
@@ -569,7 +568,7 @@ const footerMdCss = () => `ion-footer{display:block;position:relative;-ms-flex-o
|
|
|
569
568
|
|
|
570
569
|
const Footer = class {
|
|
571
570
|
constructor(hostRef) {
|
|
572
|
-
|
|
571
|
+
focusVisible.registerInstance(this, hostRef);
|
|
573
572
|
this.keyboardCtrl = null;
|
|
574
573
|
this.keyboardCtrlPromise = null;
|
|
575
574
|
this.keyboardVisible = false;
|
|
@@ -591,18 +590,18 @@ const Footer = class {
|
|
|
591
590
|
const hasFade = collapse === 'fade';
|
|
592
591
|
this.destroyCollapsibleFooter();
|
|
593
592
|
if (hasFade) {
|
|
594
|
-
const appRootSelector =
|
|
593
|
+
const appRootSelector = focusVisible.config.get('appRootSelector', 'ion-app');
|
|
595
594
|
const pageEl = this.el.closest(`${appRootSelector},ion-page,.ion-page,page-inner`);
|
|
596
|
-
const contentEl = pageEl ? index
|
|
595
|
+
const contentEl = pageEl ? index.findIonContent(pageEl) : null;
|
|
597
596
|
if (!contentEl) {
|
|
598
|
-
index
|
|
597
|
+
index.printIonContentErrorMsg(this.el);
|
|
599
598
|
return;
|
|
600
599
|
}
|
|
601
600
|
this.setupFadeFooter(contentEl);
|
|
602
601
|
}
|
|
603
602
|
};
|
|
604
603
|
this.setupFadeFooter = async (contentEl) => {
|
|
605
|
-
const scrollEl = (this.scrollEl = await index
|
|
604
|
+
const scrollEl = (this.scrollEl = await index.getScrollElement(contentEl));
|
|
606
605
|
/**
|
|
607
606
|
* Handle fading of toolbars on scroll
|
|
608
607
|
*/
|
|
@@ -667,7 +666,7 @@ const Footer = class {
|
|
|
667
666
|
const theme = ionicGlobal.getIonTheme(this);
|
|
668
667
|
const tabs = this.el.closest('ion-tabs');
|
|
669
668
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
670
|
-
return (
|
|
669
|
+
return (focusVisible.h(focusVisible.Host, { key: '4a2989a177b47ee26ffa23e2c9f5418773584796', role: "contentinfo", class: {
|
|
671
670
|
[theme]: true,
|
|
672
671
|
// Used internally for styling
|
|
673
672
|
[`footer-${theme}`]: true,
|
|
@@ -675,9 +674,9 @@ const Footer = class {
|
|
|
675
674
|
[`footer-translucent-${theme}`]: translucent,
|
|
676
675
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
677
676
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
678
|
-
} }, theme === 'ios' && translucent &&
|
|
677
|
+
} }, theme === 'ios' && translucent && focusVisible.h("div", { key: 'c644963db3e06254014e398ea02189d6127ccf61', class: "footer-background" }), focusVisible.h("slot", { key: '839e33c6c30f5c1c703239a19458ff10da9a5e76' })));
|
|
679
678
|
}
|
|
680
|
-
get el() { return
|
|
679
|
+
get el() { return focusVisible.getElement(this); }
|
|
681
680
|
};
|
|
682
681
|
Footer.style = {
|
|
683
682
|
ionic: ionicFooterMdCss(),
|
|
@@ -719,13 +718,13 @@ const createHeaderIndex = (headerEl) => {
|
|
|
719
718
|
};
|
|
720
719
|
};
|
|
721
720
|
const handleContentScroll = (scrollEl, scrollHeaderIndex, contentEl) => {
|
|
722
|
-
|
|
721
|
+
focusVisible.readTask(() => {
|
|
723
722
|
const scrollTop = scrollEl.scrollTop;
|
|
724
|
-
const scale =
|
|
723
|
+
const scale = focusVisible.clamp(1, 1 + -scrollTop / 500, 1.1);
|
|
725
724
|
// Native refresher should not cause titles to scale
|
|
726
725
|
const nativeRefresher = contentEl.querySelector('ion-refresher.refresher-native');
|
|
727
726
|
if (nativeRefresher === null) {
|
|
728
|
-
|
|
727
|
+
focusVisible.writeTask(() => {
|
|
729
728
|
scaleLargeTitles(scrollHeaderIndex.toolbars, scale);
|
|
730
729
|
});
|
|
731
730
|
}
|
|
@@ -773,7 +772,7 @@ const handleToolbarBorderIntersection = (ev, mainHeaderIndex, scrollTop) => {
|
|
|
773
772
|
*/
|
|
774
773
|
const handleToolbarIntersection = (ev, // TODO(FW-2832): type (IntersectionObserverEntry[] triggers errors which should be sorted)
|
|
775
774
|
mainHeaderIndex, scrollHeaderIndex, scrollEl) => {
|
|
776
|
-
|
|
775
|
+
focusVisible.writeTask(() => {
|
|
777
776
|
const scrollTop = scrollEl.scrollTop;
|
|
778
777
|
handleToolbarBorderIntersection(ev, mainHeaderIndex, scrollTop);
|
|
779
778
|
const event = ev[0];
|
|
@@ -862,7 +861,7 @@ const scaleLargeTitles = (toolbars = [], scale = 1, transition = false) => {
|
|
|
862
861
|
});
|
|
863
862
|
};
|
|
864
863
|
const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
|
|
865
|
-
|
|
864
|
+
focusVisible.readTask(() => {
|
|
866
865
|
const scrollTop = scrollEl.scrollTop;
|
|
867
866
|
const baseElHeight = baseEl.clientHeight;
|
|
868
867
|
const fadeStart = condenseHeader ? condenseHeader.clientHeight : 0;
|
|
@@ -885,8 +884,8 @@ const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
|
|
|
885
884
|
}
|
|
886
885
|
const distanceToStart = scrollTop - fadeStart;
|
|
887
886
|
const fadeDuration = 10;
|
|
888
|
-
const scale =
|
|
889
|
-
|
|
887
|
+
const scale = focusVisible.clamp(0, distanceToStart / fadeDuration, 1);
|
|
888
|
+
focusVisible.writeTask(() => {
|
|
890
889
|
scrollEl.style.removeProperty('clip-path');
|
|
891
890
|
baseEl.style.setProperty('--opacity-scale', scale.toString());
|
|
892
891
|
});
|
|
@@ -925,7 +924,7 @@ const headerMdCss = () => `ion-header{display:block;position:relative;-ms-flex-o
|
|
|
925
924
|
|
|
926
925
|
const Header = class {
|
|
927
926
|
constructor(hostRef) {
|
|
928
|
-
|
|
927
|
+
focusVisible.registerInstance(this, hostRef);
|
|
929
928
|
this.inheritedAttributes = {};
|
|
930
929
|
/**
|
|
931
930
|
* If `true`, the header will have a line at the bottom.
|
|
@@ -942,7 +941,7 @@ const Header = class {
|
|
|
942
941
|
*/
|
|
943
942
|
this.translucent = false;
|
|
944
943
|
this.setupFadeHeader = async (contentEl, condenseHeader) => {
|
|
945
|
-
const scrollEl = (this.scrollEl = await index
|
|
944
|
+
const scrollEl = (this.scrollEl = await index.getScrollElement(contentEl));
|
|
946
945
|
/**
|
|
947
946
|
* Handle fading of toolbars on scroll
|
|
948
947
|
*/
|
|
@@ -954,7 +953,7 @@ const Header = class {
|
|
|
954
953
|
};
|
|
955
954
|
}
|
|
956
955
|
componentWillLoad() {
|
|
957
|
-
this.inheritedAttributes =
|
|
956
|
+
this.inheritedAttributes = focusVisible.inheritAriaAttributes(this.el);
|
|
958
957
|
}
|
|
959
958
|
componentDidLoad() {
|
|
960
959
|
this.checkCollapsibleHeader();
|
|
@@ -974,12 +973,12 @@ const Header = class {
|
|
|
974
973
|
const hasCondense = collapse === 'condense';
|
|
975
974
|
const hasFade = collapse === 'fade';
|
|
976
975
|
this.destroyCollapsibleHeader();
|
|
977
|
-
const appRootSelector =
|
|
976
|
+
const appRootSelector = focusVisible.config.get('appRootSelector', 'ion-app');
|
|
978
977
|
if (hasCondense) {
|
|
979
978
|
const pageEl = this.el.closest(`${appRootSelector},ion-page,.ion-page,page-inner`);
|
|
980
|
-
const contentEl = pageEl ? index
|
|
979
|
+
const contentEl = pageEl ? index.findIonContent(pageEl) : null;
|
|
981
980
|
// Cloned elements are always needed in iOS transition
|
|
982
|
-
|
|
981
|
+
focusVisible.writeTask(() => {
|
|
983
982
|
const title = cloneElement('ion-title');
|
|
984
983
|
title.size = 'large';
|
|
985
984
|
cloneElement('ion-back-button');
|
|
@@ -988,9 +987,9 @@ const Header = class {
|
|
|
988
987
|
}
|
|
989
988
|
else if (hasFade) {
|
|
990
989
|
const pageEl = this.el.closest(`${appRootSelector},ion-page,.ion-page,page-inner`);
|
|
991
|
-
const contentEl = pageEl ? index
|
|
990
|
+
const contentEl = pageEl ? index.findIonContent(pageEl) : null;
|
|
992
991
|
if (!contentEl) {
|
|
993
|
-
index
|
|
992
|
+
index.printIonContentErrorMsg(this.el);
|
|
994
993
|
return;
|
|
995
994
|
}
|
|
996
995
|
const condenseHeader = contentEl.querySelector('ion-header[collapse="condense"]');
|
|
@@ -1013,13 +1012,13 @@ const Header = class {
|
|
|
1013
1012
|
}
|
|
1014
1013
|
async setupCondenseHeader(contentEl, pageEl) {
|
|
1015
1014
|
if (!contentEl || !pageEl) {
|
|
1016
|
-
index
|
|
1015
|
+
index.printIonContentErrorMsg(this.el);
|
|
1017
1016
|
return;
|
|
1018
1017
|
}
|
|
1019
1018
|
if (typeof IntersectionObserver === 'undefined') {
|
|
1020
1019
|
return;
|
|
1021
1020
|
}
|
|
1022
|
-
this.scrollEl = await index
|
|
1021
|
+
this.scrollEl = await index.getScrollElement(contentEl);
|
|
1023
1022
|
const headers = pageEl.querySelectorAll('ion-header');
|
|
1024
1023
|
this.collapsibleMainHeader = Array.from(headers).find((header) => header.collapse !== 'condense');
|
|
1025
1024
|
if (!this.collapsibleMainHeader) {
|
|
@@ -1055,7 +1054,7 @@ const Header = class {
|
|
|
1055
1054
|
handleContentScroll(this.scrollEl, scrollHeaderIndex, contentEl);
|
|
1056
1055
|
};
|
|
1057
1056
|
this.scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
1058
|
-
|
|
1057
|
+
focusVisible.writeTask(() => {
|
|
1059
1058
|
if (this.collapsibleMainHeader !== undefined) {
|
|
1060
1059
|
this.collapsibleMainHeader.classList.add('header-collapse-main');
|
|
1061
1060
|
}
|
|
@@ -1063,22 +1062,22 @@ const Header = class {
|
|
|
1063
1062
|
}
|
|
1064
1063
|
render() {
|
|
1065
1064
|
const { translucent, inheritedAttributes, divider } = this;
|
|
1066
|
-
const theme
|
|
1065
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1067
1066
|
const collapse = this.collapse || 'none';
|
|
1068
1067
|
const isCondensed = collapse === 'condense';
|
|
1069
1068
|
// banner role must be at top level, so remove role if inside a menu
|
|
1070
|
-
const roleType = getRoleType(
|
|
1071
|
-
return (
|
|
1072
|
-
[theme
|
|
1069
|
+
const roleType = getRoleType(focusVisible.hostContext('ion-menu', this.el), isCondensed, theme);
|
|
1070
|
+
return (focusVisible.h(focusVisible.Host, Object.assign({ key: '658d5746920c349cc9fe85666c7215f2edc3c794', role: roleType, class: {
|
|
1071
|
+
[theme]: true,
|
|
1073
1072
|
// Used internally for styling
|
|
1074
|
-
[`header-${theme
|
|
1073
|
+
[`header-${theme}`]: true,
|
|
1075
1074
|
[`header-translucent`]: this.translucent,
|
|
1076
1075
|
[`header-collapse-${collapse}`]: true,
|
|
1077
|
-
[`header-translucent-${theme
|
|
1076
|
+
[`header-translucent-${theme}`]: this.translucent,
|
|
1078
1077
|
['header-divider']: divider,
|
|
1079
|
-
} }, inheritedAttributes), theme
|
|
1078
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && focusVisible.h("div", { key: '4a1470d86e1aac6f8d545fe01e75b4dce665fb70', class: "header-background" }), focusVisible.h("slot", { key: '3b02661242bda5834c4e13e4eb61bf79b53ba33e' })));
|
|
1080
1079
|
}
|
|
1081
|
-
get el() { return
|
|
1080
|
+
get el() { return focusVisible.getElement(this); }
|
|
1082
1081
|
};
|
|
1083
1082
|
Header.style = {
|
|
1084
1083
|
ionic: headerIonicCss(),
|
|
@@ -1090,10 +1089,10 @@ const routerOutletCss = () => `:host{right:0;left:0;top:0;bottom:0;position:abso
|
|
|
1090
1089
|
|
|
1091
1090
|
const RouterOutlet = class {
|
|
1092
1091
|
constructor(hostRef) {
|
|
1093
|
-
|
|
1094
|
-
this.ionNavWillLoad =
|
|
1095
|
-
this.ionNavWillChange =
|
|
1096
|
-
this.ionNavDidChange =
|
|
1092
|
+
focusVisible.registerInstance(this, hostRef);
|
|
1093
|
+
this.ionNavWillLoad = focusVisible.createEvent(this, "ionNavWillLoad", 7);
|
|
1094
|
+
this.ionNavWillChange = focusVisible.createEvent(this, "ionNavWillChange", 3);
|
|
1095
|
+
this.ionNavDidChange = focusVisible.createEvent(this, "ionNavDidChange", 3);
|
|
1097
1096
|
this.lockController = lockController.createLockController();
|
|
1098
1097
|
this.gestureOrAnimationInProgress = false;
|
|
1099
1098
|
/**
|
|
@@ -1117,7 +1116,7 @@ const RouterOutlet = class {
|
|
|
1117
1116
|
this.swipeHandler.onStart();
|
|
1118
1117
|
}
|
|
1119
1118
|
};
|
|
1120
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1119
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-CMubrxt-.js'); })).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {
|
|
1121
1120
|
if (this.ani) {
|
|
1122
1121
|
this.ani.onFinish(() => {
|
|
1123
1122
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -1167,7 +1166,7 @@ const RouterOutlet = class {
|
|
|
1167
1166
|
changed = await this.transition(enteringEl, leavingEl, opts);
|
|
1168
1167
|
}
|
|
1169
1168
|
catch (e) {
|
|
1170
|
-
|
|
1169
|
+
focusVisible.printIonError('[ion-router-outlet] - Exception in commit:', e);
|
|
1171
1170
|
}
|
|
1172
1171
|
unlock();
|
|
1173
1172
|
return changed;
|
|
@@ -1196,7 +1195,7 @@ const RouterOutlet = class {
|
|
|
1196
1195
|
: undefined;
|
|
1197
1196
|
}
|
|
1198
1197
|
async setRoot(component, params, opts) {
|
|
1199
|
-
if (this.activeComponent === component &&
|
|
1198
|
+
if (this.activeComponent === component && focusVisible.shallowEqualStringMap(params, this.activeParams)) {
|
|
1200
1199
|
return false;
|
|
1201
1200
|
}
|
|
1202
1201
|
// attach entering view to DOM
|
|
@@ -1217,9 +1216,9 @@ const RouterOutlet = class {
|
|
|
1217
1216
|
// emit nav will change event
|
|
1218
1217
|
this.ionNavWillChange.emit();
|
|
1219
1218
|
const { el, mode } = this;
|
|
1220
|
-
const animated = this.animated &&
|
|
1221
|
-
const animationBuilder = opts.animationBuilder || this.animation ||
|
|
1222
|
-
await index$
|
|
1219
|
+
const animated = this.animated && focusVisible.config.getBoolean('animated', true);
|
|
1220
|
+
const animationBuilder = opts.animationBuilder || this.animation || focusVisible.config.get('navAnimation');
|
|
1221
|
+
await index$1.transition(Object.assign(Object.assign({ mode,
|
|
1223
1222
|
animated,
|
|
1224
1223
|
enteringEl,
|
|
1225
1224
|
leavingEl, baseEl: el,
|
|
@@ -1228,7 +1227,7 @@ const RouterOutlet = class {
|
|
|
1228
1227
|
* to be ready only when using the lazy
|
|
1229
1228
|
* loaded bundle.
|
|
1230
1229
|
*/
|
|
1231
|
-
deepWait:
|
|
1230
|
+
deepWait: focusVisible.hasLazyBuild(el), progressCallback: opts.progressAnimation
|
|
1232
1231
|
? (ani) => {
|
|
1233
1232
|
/**
|
|
1234
1233
|
* Because this progress callback is called asynchronously
|
|
@@ -1263,9 +1262,9 @@ const RouterOutlet = class {
|
|
|
1263
1262
|
return true;
|
|
1264
1263
|
}
|
|
1265
1264
|
render() {
|
|
1266
|
-
return
|
|
1265
|
+
return focusVisible.h("slot", { key: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
1267
1266
|
}
|
|
1268
|
-
get el() { return
|
|
1267
|
+
get el() { return focusVisible.getElement(this); }
|
|
1269
1268
|
static get watchers() { return {
|
|
1270
1269
|
"swipeHandler": [{
|
|
1271
1270
|
"swipeHandlerChanged": 0
|
|
@@ -1282,8 +1281,8 @@ const titleMdCss = () => `:host{--color:initial;display:-ms-flexbox;display:flex
|
|
|
1282
1281
|
|
|
1283
1282
|
const ToolbarTitle = class {
|
|
1284
1283
|
constructor(hostRef) {
|
|
1285
|
-
|
|
1286
|
-
this.ionStyle =
|
|
1284
|
+
focusVisible.registerInstance(this, hostRef);
|
|
1285
|
+
this.ionStyle = focusVisible.createEvent(this, "ionStyle", 7);
|
|
1287
1286
|
}
|
|
1288
1287
|
sizeChanged() {
|
|
1289
1288
|
this.emitStyle();
|
|
@@ -1301,15 +1300,15 @@ const ToolbarTitle = class {
|
|
|
1301
1300
|
return this.size !== undefined ? this.size : 'default';
|
|
1302
1301
|
}
|
|
1303
1302
|
render() {
|
|
1304
|
-
const theme
|
|
1303
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1305
1304
|
const size = this.getSize();
|
|
1306
|
-
return (
|
|
1307
|
-
[theme
|
|
1305
|
+
return (focusVisible.h(focusVisible.Host, { key: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', class: focusVisible.createColorClasses(this.color, {
|
|
1306
|
+
[theme]: true,
|
|
1308
1307
|
[`title-${size}`]: true,
|
|
1309
1308
|
'title-rtl': document.dir === 'rtl',
|
|
1310
|
-
}) },
|
|
1309
|
+
}) }, focusVisible.h("div", { key: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, focusVisible.h("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
|
|
1311
1310
|
}
|
|
1312
|
-
get el() { return
|
|
1311
|
+
get el() { return focusVisible.getElement(this); }
|
|
1313
1312
|
static get watchers() { return {
|
|
1314
1313
|
"size": [{
|
|
1315
1314
|
"sizeChanged": 0
|
|
@@ -1324,13 +1323,13 @@ ToolbarTitle.style = {
|
|
|
1324
1323
|
|
|
1325
1324
|
const toolbarIonicCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);contain:content;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-container{-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:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));pointer-events:none}::slotted(ion-progress-bar){right:0;left:0;bottom:0;position:absolute}:host{--background:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424));--border-color:currentColor;--padding-top:var(--token-space-200, var(--token-scale-200, 8px));--padding-bottom:var(--token-space-200, var(--token-scale-200, 8px));--padding-start:var(--token-space-200, var(--token-scale-200, 8px));--padding-end:var(--token-space-200, var(--token-scale-200, 8px));--min-height:var(--token-scale-1400, 56px)}.toolbar-container{gap:var(--token-space-400, var(--token-scale-400, 16px));z-index:10}.toolbar-background{z-index:-1}.toolbar-content{-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}:host(.toolbar-searchbar) ::slotted(ion-searchbar){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}::slotted(ion-buttons){gap:var(--token-space-200, var(--token-scale-200, 8px))}::slotted(ion-title){-webkit-padding-start:var(--token-space-200, var(--token-scale-200, 8px));padding-inline-start:var(--token-space-200, var(--token-scale-200, 8px));-webkit-padding-end:var(--token-space-200, var(--token-scale-200, 8px));padding-inline-end:var(--token-space-200, var(--token-scale-200, 8px))}:host(.toolbar-title-large) ::slotted(ion-title){-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}:host(.has-end-content) slot[name=end],:host(.show-end) slot[name=end]{display:-ms-flexbox;display:flex;-ms-flex:0 0 var(--start-end-size, 0);flex:0 0 var(--start-end-size, 0);-ms-flex-pack:end;justify-content:flex-end;text-align:end}:host(.has-start-content) slot[name=start],:host(.show-start) slot[name=start]{display:-ms-flexbox;display:flex;-ms-flex:0 0 var(--start-end-size, 0);flex:0 0 var(--start-end-size, 0)}:host(.has-primary-content) slot[name=primary],:host(.show-primary) slot[name=primary]{display:-ms-flexbox;display:flex;-ms-flex:0 0 var(--primary-secondary-size, 0);flex:0 0 var(--primary-secondary-size, 0);-ms-flex-pack:end;justify-content:flex-end;text-align:end}:host(.has-secondary-content) slot[name=secondary],:host(.show-secondary) slot[name=secondary]{display:-ms-flexbox;display:flex;-ms-flex:0 0 var(--primary-secondary-size, 0);flex:0 0 var(--primary-secondary-size, 0)}:host(.toolbar-title-placement-start) ::slotted(ion-title){text-align:start}:host(.toolbar-title-placement-center) ::slotted(ion-title){text-align:center}:host(.toolbar-title-placement-end) ::slotted(ion-title){text-align:end}`;
|
|
1326
1325
|
|
|
1327
|
-
const toolbarIosCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);contain:content;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-container{-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:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));pointer-events:none}::slotted(ion-progress-bar){right:0;left:0;bottom:0;position:absolute}:host{font-family:var(--ion-font-family, inherit);z-index:10}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{z-index:10}.toolbar-background{z-index:-1}:host{--background:var(--ion-toolbar-background, var(--ion-
|
|
1326
|
+
const toolbarIosCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);contain:content;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-container{-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:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));pointer-events:none}::slotted(ion-progress-bar){right:0;left:0;bottom:0;position:absolute}:host{font-family:var(--ion-font-family, inherit);z-index:10}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{z-index:10}.toolbar-background{z-index:-1}:host{--background:var(--ion-toolbar-background, var(--ion-background-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}`;
|
|
1328
1327
|
|
|
1329
|
-
const toolbarMdCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);contain:content;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-container{-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:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));pointer-events:none}::slotted(ion-progress-bar){right:0;left:0;bottom:0;position:absolute}:host{font-family:var(--ion-font-family, inherit);z-index:10}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{z-index:10}.toolbar-background{z-index:-1}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-
|
|
1328
|
+
const toolbarMdCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);contain:content;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-container{-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:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));pointer-events:none}::slotted(ion-progress-bar){right:0;left:0;bottom:0;position:absolute}:host{font-family:var(--ion-font-family, inherit);z-index:10}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{z-index:10}.toolbar-background{z-index:-1}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-background-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}`;
|
|
1330
1329
|
|
|
1331
1330
|
const Toolbar = class {
|
|
1332
1331
|
constructor(hostRef) {
|
|
1333
|
-
|
|
1332
|
+
focusVisible.registerInstance(this, hostRef);
|
|
1334
1333
|
this.childrenStyles = new Map();
|
|
1335
1334
|
this.slotClasses = [
|
|
1336
1335
|
'has-start-content',
|
|
@@ -1543,23 +1542,23 @@ const Toolbar = class {
|
|
|
1543
1542
|
});
|
|
1544
1543
|
if (hasStyleChange) {
|
|
1545
1544
|
this.childrenStyles.set(tagName, newStyles);
|
|
1546
|
-
|
|
1545
|
+
focusVisible.forceUpdate(this);
|
|
1547
1546
|
}
|
|
1548
1547
|
}
|
|
1549
1548
|
render() {
|
|
1550
|
-
const theme
|
|
1549
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1551
1550
|
const childStyles = {};
|
|
1552
1551
|
this.childrenStyles.forEach((style) => {
|
|
1553
1552
|
Object.assign(childStyles, style);
|
|
1554
1553
|
});
|
|
1555
1554
|
const titlePlacement = this.getTitlePlacement();
|
|
1556
|
-
return (
|
|
1557
|
-
[theme
|
|
1558
|
-
'in-toolbar':
|
|
1555
|
+
return (focusVisible.h(focusVisible.Host, { key: 'a2103857ffb26f517b4190bb01a8fa170a042e45', class: Object.assign(Object.assign({}, focusVisible.createColorClasses(this.color, {
|
|
1556
|
+
[theme]: true,
|
|
1557
|
+
'in-toolbar': focusVisible.hostContext('ion-toolbar', this.el),
|
|
1559
1558
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
1560
|
-
})), childStyles) },
|
|
1559
|
+
})), childStyles) }, focusVisible.h("div", { key: '288b74048d260c9279d6e60c8733e26105ee0098', class: "toolbar-background", part: "background" }), focusVisible.h("div", { key: 'fa4b8cfb32f3bfb84f451cf3a2420b37fc75533c', class: "toolbar-container", part: "container" }, focusVisible.h("slot", { key: 'fe9414ab3fa2ca84d424a400ba91ec8239d700ff', name: "start", onSlotchange: () => this.updateSlotClasses }), focusVisible.h("slot", { key: 'c633cd1b6eef87adbfccfa61857518dcf62ac550', name: "secondary", onSlotchange: () => this.updateSlotClasses }), focusVisible.h("div", { key: 'aff3a3d8acbc480e9daec864aeb85d168ab2c447', class: "toolbar-content", part: "content" }, focusVisible.h("slot", { key: '52b45c5abbfe695e862c857163e7aa00c1c2af9a' })), focusVisible.h("slot", { key: '3157c16fcfe428230998f218c6233d114b550a6f', name: "primary", onSlotchange: () => this.updateSlotClasses }), focusVisible.h("slot", { key: '4b74dff5b832ea0f3030efa319c63c876c3e90e2', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
1561
1560
|
}
|
|
1562
|
-
get el() { return
|
|
1561
|
+
get el() { return focusVisible.getElement(this); }
|
|
1563
1562
|
static get watchers() { return {
|
|
1564
1563
|
"titlePlacement": [{
|
|
1565
1564
|
"titlePlacementChanged": 0
|