@ionic/core 9.0.12-dev.11794435138.1d5cadc3 → 9.0.12-dev.11794527713.1ebd1ea1
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.d.ts +11 -0
- package/components/ion-divider.js +4 -0
- 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-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- package/components/ion-gallery.d.ts +11 -0
- package/components/ion-gallery.js +4 -0
- 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.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-0rXxxCTt.js +4 -0
- package/components/p-2KnciUsT.js +4 -0
- package/components/p-3Qs1sQxU.js +4 -0
- package/components/p-3SVb97od.js +4 -0
- package/components/p-65JoU6_J.js +4 -0
- package/components/p-7-zF1amS.js +4 -0
- package/components/p-B7ExaLVL.js +4 -0
- package/components/{p-BU1um0go.js → p-B8TMb1l1.js} +1 -1
- package/components/p-BHiggB_l.js +4 -0
- package/components/p-BNBa8_Ls.js +4 -0
- package/components/p-BUF_V-Kg.js +4 -0
- package/components/p-BYk20Mf5.js +4 -0
- package/components/p-BYyhRtNC.js +4 -0
- package/components/p-B_o50gvn.js +4 -0
- package/components/p-BfDzKnZ-.js +4 -0
- package/{dist/ionic/p-1feuPAQy.js → components/p-BmfO2-NE.js} +1 -1
- package/components/{p-D7J-iv5T.js → p-BmnPbSf3.js} +1 -1
- package/components/p-Bslbwrtt.js +4 -0
- package/components/p-C0H1LYQ5.js +4 -0
- package/components/p-C2UFZTSU.js +4 -0
- package/components/p-C93i7QCU.js +4 -0
- package/components/p-C9qQ2zBV.js +4 -0
- package/components/p-CAekGbOf.js +4 -0
- package/components/p-CE7N7-7s.js +4 -0
- package/components/p-CODBQrPj.js +4 -0
- package/{dist/ionic/p-7hQRImkK.js → components/p-CSSj6cqb.js} +1 -1
- package/components/p-CXzJ234J.js +4 -0
- package/components/p-Ce7LvQXN.js +4 -0
- package/components/p-CehdCO1m.js +4 -0
- package/components/{p-DBdOjgB_.js → p-CiEBXUnh.js} +1 -1
- package/components/{p-Cjd_foSx.js → p-CvxND1-3.js} +1 -1
- package/components/p-CyvtM0H1.js +4 -0
- package/components/p-CzDkZh7h.js +4 -0
- package/components/p-DDloHP2b.js +4 -0
- package/components/p-DFBWAYvo.js +4 -0
- package/components/{p-DVa8nma_.js → p-DFjX2uxL.js} +1 -1
- package/components/p-DLXAGW46.js +4 -0
- package/components/p-DRIPgese.js +4 -0
- package/components/p-DTIqfsbw.js +4 -0
- package/components/p-Da8LCPwo.js +4 -0
- package/components/p-DbKRl9BQ.js +4 -0
- package/components/{p-C6Eoe8TE.js → p-Dce65ayP.js} +1 -1
- package/components/p-DggDKmuZ.js +4 -0
- package/components/p-DibGn4gb.js +4 -0
- package/components/p-DmdTkb5k.js +4 -0
- package/components/p-DmhWSY74.js +4 -0
- package/components/p-DtZimz8H.js +4 -0
- package/components/p-ET0FZop5.js +4 -0
- package/components/p-Fvw018Ly.js +4 -0
- package/components/p-HbJahPGd.js +4 -0
- package/components/p-LoXpKVmq.js +4 -0
- package/components/p-NcQUGze-.js +4 -0
- package/components/{p-DSGxE4YQ.js → p-YAWKbhjV.js} +1 -1
- package/components/p-aC2BXYlR.js +4 -0
- package/components/{p-BPW1yhC5.js → p-cm7z1a2E.js} +1 -1
- package/components/p-iNIvlAGo.js +4 -0
- package/components/p-lhYnLiXU.js +4 -0
- package/components/{p-D2CH_C1y.js → p-o89R3aqe.js} +1 -1
- package/components/p-pSZXoJUW.js +4 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +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 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-B7oGwLLy.js → animation-zKIdNEmG.js} +3 -3
- package/dist/cjs/{app-globals-CIBBAkMv.js → app-globals-BDrxn8eR.js} +1 -1
- package/dist/cjs/{attribute-controller-bNeK5E15.js → attribute-controller-23GLe3Vk.js} +3 -2
- package/dist/cjs/{button-active-B9Tkc4mf.js → button-active-CY7cZvH5.js} +2 -2
- package/dist/cjs/{capacitor-MxFQgshb.js → capacitor-DmA66EwP.js} +3 -3
- package/dist/cjs/clear-button-press-controller-C6PTS3jC.js +45 -0
- package/dist/cjs/focus-visible-DGPRKkcx.js +151 -0
- package/dist/cjs/{format-CqApCy46.js → format-C6r4Asi4.js} +1 -1
- package/dist/cjs/{framework-delegate-DAKg2Azt.js → framework-delegate-CAdDEnFS.js} +4 -2
- package/dist/cjs/{haptic-CRRCyhfL.js → haptic-Ch-X4gRx.js} +1 -1
- package/dist/cjs/{helpers-BDvjDsXt.js → helpers-DHNLF4fD.js} +88 -10
- package/dist/cjs/{index-DJX-8rkB.js → index-B3s1jjBU.js} +1 -1
- package/dist/cjs/{index-BUIZTwKD.js → index-C3pmpKlo.js} +17 -15
- package/dist/cjs/{index-BecWuzkK.js → index-C6QFfpm5.js} +9 -7
- package/dist/cjs/{index-CKee8md4.js → index-CB1PuDlX.js} +90 -76
- package/dist/cjs/{index-wOmugbdg.js → index-CxDnX7hd.js} +2 -0
- package/dist/cjs/{index-D02LHDVd.js → index-DhGCo_n8.js} +2 -2
- package/dist/cjs/index-DkNv4J_i.js +10 -0
- package/dist/cjs/{index-BashZvQB.js → index-lD5wTj_b.js} +4 -4
- package/dist/cjs/index.cjs.js +20 -18
- package/dist/cjs/{input-shims-ClPpap7E.js → input-shims-CjkWx7ae.js} +18 -16
- package/dist/cjs/{input.utils-DXw7l7p9.js → input.utils-CD4DNiim.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +59 -33
- package/dist/cjs/ion-action-sheet.cjs.entry.js +43 -39
- package/dist/cjs/ion-alert.cjs.entry.js +51 -47
- package/dist/cjs/ion-app_8.cjs.entry.js +529 -212
- package/dist/cjs/ion-avatar_3.cjs.entry.js +127 -19
- package/dist/cjs/ion-back-button.cjs.entry.js +33 -26
- package/dist/cjs/ion-backdrop.cjs.entry.js +12 -9
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +45 -23
- package/dist/cjs/ion-button_2.cjs.entry.js +63 -27
- package/dist/cjs/ion-card_5.cjs.entry.js +62 -44
- package/dist/cjs/ion-checkbox.cjs.entry.js +44 -19
- package/dist/cjs/ion-chip.cjs.entry.js +52 -11
- package/dist/cjs/ion-col_3.cjs.entry.js +59 -69
- package/dist/cjs/ion-datetime-button.cjs.entry.js +46 -15
- package/dist/cjs/ion-datetime.cjs.entry.js +408 -65
- package/dist/cjs/ion-divider.cjs.entry.js +52 -0
- package/dist/cjs/ion-fab_3.cjs.entry.js +44 -35
- package/dist/cjs/ion-gallery-item.cjs.entry.js +59 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +608 -0
- package/dist/cjs/ion-img.cjs.entry.js +10 -6
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +93 -20
- package/dist/cjs/ion-input-otp.cjs.entry.js +76 -12
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +43 -16
- package/dist/cjs/ion-input.cjs.entry.js +148 -40
- package/dist/cjs/ion-item-option_3.cjs.entry.js +470 -59
- package/dist/cjs/ion-item_8.cjs.entry.js +134 -75
- package/dist/cjs/ion-loading.cjs.entry.js +34 -30
- package/dist/cjs/ion-menu_3.cjs.entry.js +58 -43
- package/dist/cjs/ion-modal.cjs.entry.js +304 -156
- package/dist/cjs/ion-nav_2.cjs.entry.js +16 -14
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +14 -10
- package/dist/cjs/ion-picker-column.cjs.entry.js +18 -17
- package/dist/cjs/ion-picker.cjs.entry.js +12 -8
- package/dist/cjs/ion-popover.cjs.entry.js +34 -30
- package/dist/cjs/ion-progress-bar.cjs.entry.js +29 -11
- package/dist/cjs/ion-radio_2.cjs.entry.js +39 -22
- package/dist/cjs/ion-range.cjs.entry.js +22 -15
- package/dist/cjs/ion-refresher_2.cjs.entry.js +48 -25
- package/dist/cjs/ion-reorder_2.cjs.entry.js +33 -17
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +17 -9
- package/dist/cjs/ion-route_4.cjs.entry.js +17 -19
- package/dist/cjs/ion-searchbar.cjs.entry.js +119 -34
- package/dist/cjs/ion-segment-content.cjs.entry.js +3 -4
- package/dist/cjs/ion-segment-view.cjs.entry.js +14 -5
- package/dist/cjs/ion-segment_2.cjs.entry.js +27 -21
- package/dist/cjs/ion-select-modal.cjs.entry.js +55 -27
- package/dist/cjs/ion-select_3.cjs.entry.js +207 -88
- package/dist/cjs/ion-spinner.cjs.entry.js +32 -10
- package/dist/cjs/ion-split-pane.cjs.entry.js +15 -11
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +153 -32
- package/dist/cjs/ion-tab_2.cjs.entry.js +11 -11
- package/dist/cjs/ion-text.cjs.entry.js +9 -9
- package/dist/cjs/ion-textarea.cjs.entry.js +179 -43
- package/dist/cjs/ion-toast.cjs.entry.js +86 -58
- package/dist/cjs/ion-toggle.cjs.entry.js +68 -27
- package/dist/cjs/ionic-global-CZX42KL4.js +551 -0
- package/dist/cjs/ionic.cjs.js +6 -5
- package/dist/cjs/{ios.transition-CExZyoOI.js → ios.transition-BjOYqzH0.js} +7 -4
- package/dist/cjs/{item-multiple-inputs-DCadv5DD.js → item-multiple-inputs-D0lzjl68.js} +1 -1
- package/dist/cjs/{keyboard-DcLeJI_8.js → keyboard-Cix5TVkD.js} +3 -5
- package/dist/cjs/{keyboard-OOIuCa13.js → keyboard-cHxZlTyz.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{md.transition-DaAVTRvs.js → md.transition-C4i7l6ui.js} +6 -4
- package/dist/cjs/{overlay-control-label-D2sdL2O8.js → overlay-control-label-DnRLQR1t.js} +13 -11
- package/dist/cjs/{overlays-D4y6dLkd.js → overlays-DziOxcCT.js} +314 -176
- package/dist/cjs/scroll-hide-controller-BSVBCkbw.js +345 -0
- package/dist/cjs/{select-option-render-XNNDfPjV.js → select-option-render-X_iZ-xeh.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-DPIgf5CF.js → slot-mutation-controller-BS-L1szN.js} +100 -13
- package/dist/cjs/{status-tap-DsMxsZJD.js → status-tap-D5yiKwdj.js} +5 -3
- package/dist/cjs/{swipe-back-DTBGxsBq.js → swipe-back-xM_5R5s-.js} +4 -2
- package/dist/cjs/{theme-Bw0rpaNN.js → theme-Cy4joHPt.js} +25 -1
- package/dist/cjs/validity-CoPMWggj.js +51 -0
- package/dist/collection/collection-manifest.json +9 -1
- package/dist/collection/components/accordion/accordion.ionic.css +186 -0
- package/dist/collection/components/accordion/accordion.ios.css +73 -58
- package/dist/collection/components/accordion/accordion.js +36 -27
- package/dist/collection/components/accordion/accordion.md.css +67 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +93 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +16 -4
- package/dist/collection/components/accordion-group/accordion-group.js +44 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +22 -4
- package/dist/collection/components/action-sheet/action-sheet.ionic.css +490 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +184 -54
- package/dist/collection/components/action-sheet/action-sheet.js +16 -13
- package/dist/collection/components/action-sheet/action-sheet.md.css +179 -55
- package/dist/collection/components/alert/alert.ionic.css +779 -0
- package/dist/collection/components/alert/alert.ios.css +259 -63
- package/dist/collection/components/alert/alert.js +22 -19
- package/dist/collection/components/alert/alert.md.css +243 -56
- package/dist/collection/components/app/app.js +15 -83
- package/dist/collection/components/avatar/avatar.ionic.css +379 -0
- package/dist/collection/components/avatar/avatar.ios.css +7 -33
- package/dist/collection/components/avatar/avatar.js +120 -4
- package/dist/collection/components/avatar/avatar.md.css +51 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +26 -20
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ionic.css +109 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +56 -19
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +56 -19
- package/dist/collection/components/badge/badge.ionic.css +269 -0
- package/dist/collection/components/badge/badge.ios.css +137 -12
- package/dist/collection/components/badge/badge.js +143 -9
- package/dist/collection/components/badge/badge.md.css +122 -12
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +31 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +640 -0
- package/dist/collection/components/button/button.ios.css +154 -46
- package/dist/collection/components/button/button.js +63 -27
- package/dist/collection/components/button/button.md.css +150 -50
- package/dist/collection/components/buttons/buttons.ionic.css +97 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +15 -9
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/card/card.ionic.css +145 -0
- package/dist/collection/components/card/card.ios.css +65 -14
- package/dist/collection/components/card/card.js +41 -10
- package/dist/collection/components/card/card.md.css +65 -14
- package/dist/collection/components/card-content/card-content.ionic.css +88 -0
- package/dist/collection/components/card-content/card-content.ios.css +20 -35
- package/dist/collection/components/card-content/card-content.js +12 -10
- package/dist/collection/components/card-content/card-content.md.css +20 -35
- package/dist/collection/components/card-header/card-header.ionic.css +85 -0
- package/dist/collection/components/card-header/card-header.ios.css +27 -15
- package/dist/collection/components/card-header/card-header.js +13 -10
- package/dist/collection/components/card-header/card-header.md.css +27 -15
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +143 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +73 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +73 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +537 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +252 -121
- package/dist/collection/components/checkbox/checkbox.js +80 -15
- package/dist/collection/components/checkbox/checkbox.md.css +253 -122
- package/dist/collection/components/chip/chip.ionic.css +216 -0
- package/dist/collection/components/chip/chip.ios.css +67 -14
- package/dist/collection/components/chip/chip.js +108 -8
- package/dist/collection/components/chip/chip.md.css +67 -14
- package/dist/collection/components/col/col.css +192 -4
- package/dist/collection/components/col/col.js +210 -67
- package/dist/collection/components/content/content.ionic.css +352 -0
- package/dist/collection/components/content/{content.css → content.ios.css} +106 -37
- package/dist/collection/components/content/content.js +22 -13
- package/dist/collection/components/content/content.md.css +347 -0
- package/dist/collection/components/datetime/datetime.ionic.css +903 -0
- package/dist/collection/components/datetime/datetime.ios.css +469 -114
- package/dist/collection/components/datetime/datetime.js +451 -52
- package/dist/collection/components/datetime/datetime.md.css +447 -103
- package/dist/collection/components/datetime/utils/data.js +5 -5
- package/dist/collection/components/datetime/utils/state.js +18 -1
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +43 -12
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/divider/divider.ionic.css +148 -0
- package/dist/collection/components/divider/divider.ios.css +87 -0
- package/dist/collection/components/divider/divider.js +94 -0
- package/dist/collection/components/divider/divider.md.css +87 -0
- package/dist/collection/components/fab/fab.css +35 -9
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +31 -21
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer-interface.js +1 -0
- package/dist/collection/components/footer/footer.ios.css +33 -6
- package/dist/collection/components/footer/footer.js +117 -25
- package/dist/collection/components/footer/footer.md.css +40 -0
- package/dist/collection/components/gallery/gallery-constants.js +12 -0
- package/dist/collection/components/gallery/gallery-interface.js +1 -0
- package/dist/collection/components/gallery/gallery.css +15 -0
- package/dist/collection/components/gallery/gallery.js +678 -0
- package/dist/collection/components/gallery/test/utils.js +100 -0
- package/dist/collection/components/gallery-item/gallery-item.css +49 -0
- package/dist/collection/components/gallery-item/gallery-item.js +98 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header-interface.js +1 -0
- package/dist/collection/components/header/header.ionic.css +286 -0
- package/dist/collection/components/header/header.ios.css +178 -133
- package/dist/collection/components/header/header.js +180 -39
- package/dist/collection/components/header/header.md.css +199 -9
- package/dist/collection/components/header/header.utils.js +5 -13
- package/dist/collection/components/img/img.js +7 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +99 -5
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ionic.css +963 -0
- package/dist/collection/components/input/input.ios.css +258 -163
- package/dist/collection/components/input/input.js +172 -44
- package/dist/collection/components/input/input.md.css +232 -238
- package/dist/collection/components/input-otp/input-otp.ionic.css +369 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +105 -60
- package/dist/collection/components/input-otp/input-otp.js +74 -8
- package/dist/collection/components/input-otp/input-otp.md.css +105 -60
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +78 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +37 -10
- package/dist/collection/components/input-password-toggle/input-password-toggle.native.css +61 -0
- package/dist/collection/components/item/item.ionic.css +531 -0
- package/dist/collection/components/item/item.ios.css +166 -88
- package/dist/collection/components/item/item.js +51 -21
- package/dist/collection/components/item/item.md.css +180 -91
- package/dist/collection/components/item-divider/item-divider.ios.css +28 -8
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +28 -8
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ionic.css +276 -0
- package/dist/collection/components/item-option/item-option.ios.css +136 -29
- package/dist/collection/components/item-option/item-option.js +73 -9
- package/dist/collection/components/item-option/item-option.md.css +136 -29
- package/dist/collection/components/item-options/item-options.ionic.css +224 -0
- package/dist/collection/components/item-options/item-options.ios.css +97 -51
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +97 -51
- package/dist/collection/components/item-sliding/item-sliding.ionic.css +214 -0
- package/dist/collection/components/item-sliding/item-sliding.js +419 -35
- package/dist/collection/components/item-sliding/item-sliding.native.css +198 -0
- package/dist/collection/components/item-sliding/test/test.utils.js +13 -0
- package/dist/collection/components/label/label.ios.css +89 -75
- package/dist/collection/components/label/label.js +16 -14
- package/dist/collection/components/label/label.md.css +159 -85
- package/dist/collection/components/list/list.ionic.css +212 -0
- package/dist/collection/components/list/list.ios.css +54 -14
- package/dist/collection/components/list/list.js +48 -9
- package/dist/collection/components/list/list.md.css +56 -16
- package/dist/collection/components/list-header/list-header.ionic.css +190 -0
- package/dist/collection/components/list-header/list-header.ios.css +87 -42
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +87 -42
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +15 -12
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +53 -39
- package/dist/collection/components/menu/menu.js +12 -7
- package/dist/collection/components/menu/menu.md.css +53 -39
- package/dist/collection/components/menu-button/menu-button.ionic.css +236 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +23 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/animations/ionic.enter.js +40 -0
- package/dist/collection/components/modal/animations/ionic.leave.js +28 -0
- package/dist/collection/components/modal/animations/sheet.js +8 -2
- package/dist/collection/components/modal/gestures/sheet.js +96 -8
- package/dist/collection/components/modal/modal.ionic.css +266 -0
- package/dist/collection/components/modal/modal.ios.css +178 -70
- package/dist/collection/components/modal/modal.js +52 -13
- package/dist/collection/components/modal/modal.md.css +178 -70
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +10 -4
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/popover/popover.ionic.css +293 -0
- package/dist/collection/components/popover/popover.ios.css +29 -13
- package/dist/collection/components/popover/popover.js +19 -16
- package/dist/collection/components/popover/popover.md.css +25 -10
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +287 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +48 -17
- package/dist/collection/components/progress-bar/progress-bar.js +43 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +48 -17
- package/dist/collection/components/radio/radio.ionic.css +423 -0
- package/dist/collection/components/radio/radio.ios.css +209 -102
- package/dist/collection/components/radio/radio.js +14 -9
- package/dist/collection/components/radio/radio.md.css +209 -102
- package/dist/collection/components/radio-group/radio-group.ionic.css +119 -0
- package/dist/collection/components/radio-group/radio-group.ios.css +43 -19
- package/dist/collection/components/radio-group/radio-group.js +48 -7
- package/dist/collection/components/radio-group/radio-group.md.css +43 -19
- package/dist/collection/components/range/range.ionic.css +570 -0
- package/dist/collection/components/range/range.ios.css +144 -97
- package/dist/collection/components/range/range.js +16 -10
- package/dist/collection/components/range/range.md.css +149 -101
- package/dist/collection/components/refresher/refresher.ios.css +18 -4
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +19 -5
- package/dist/collection/components/refresher-content/refresher-content.js +34 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +25 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +215 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +4 -0
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +6 -3
- package/dist/collection/components/row/row.css +16 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +621 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +164 -42
- package/dist/collection/components/searchbar/searchbar.md.css +60 -21
- package/dist/collection/components/{item-sliding/item-sliding.css → segment/segment.ionic.css} +50 -56
- package/dist/collection/components/segment/segment.ios.css +45 -2
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +45 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +351 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
- package/dist/collection/components/segment-button/segment-button.js +11 -8
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +6 -0
- package/dist/collection/components/segment-view/segment-view.js +13 -4
- package/dist/collection/components/segment-view/segment-view.md.css +6 -0
- package/dist/collection/components/select/select.ionic.css +976 -0
- package/dist/collection/components/select/select.ios.css +304 -148
- package/dist/collection/components/select/select.js +232 -82
- package/dist/collection/components/select/select.md.css +320 -150
- package/dist/collection/components/select-modal/select-modal.ionic.css +254 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +293 -45
- package/dist/collection/components/select-modal/select-modal.js +63 -15
- package/dist/collection/components/select-modal/select-modal.md.css +273 -43
- package/dist/collection/components/select-option/select-option.js +8 -4
- package/dist/collection/components/select-popover/select-popover.ionic.css +253 -0
- package/dist/collection/components/select-popover/select-popover.ios.css +188 -124
- package/dist/collection/components/select-popover/select-popover.js +17 -9
- package/dist/collection/components/select-popover/select-popover.md.css +228 -47
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +82 -13
- package/dist/collection/components/spinner/spinner.js +47 -6
- package/dist/collection/components/spinner/spinner.native.css +200 -0
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +15 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +249 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +86 -43
- package/dist/collection/components/tab-bar/tab-bar.js +178 -15
- package/dist/collection/components/tab-bar/tab-bar.md.css +86 -43
- package/dist/collection/components/tab-button/tab-button.ionic.css +372 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +171 -95
- package/dist/collection/components/tab-button/tab-button.js +54 -9
- package/dist/collection/components/tab-button/tab-button.md.css +141 -96
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ionic.css +990 -0
- package/dist/collection/components/textarea/textarea.ios.css +326 -177
- package/dist/collection/components/textarea/textarea.js +205 -43
- package/dist/collection/components/textarea/textarea.md.css +347 -182
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ionic.css +125 -0
- package/dist/collection/components/title/title.ios.css +36 -7
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +39 -4
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +391 -0
- package/dist/collection/components/toast/toast.ios.css +84 -45
- package/dist/collection/components/toast/toast.js +79 -13
- package/dist/collection/components/toast/toast.md.css +84 -45
- package/dist/collection/components/toggle/toggle.ionic.css +510 -0
- package/dist/collection/components/toggle/toggle.ios.css +249 -127
- package/dist/collection/components/toggle/toggle.js +58 -18
- package/dist/collection/components/toggle/toggle.md.css +247 -127
- package/dist/collection/components/toolbar/test/image.svg +1 -0
- package/dist/collection/components/toolbar/toolbar.ionic.css +249 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +271 -14
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/global/ionic-global.js +239 -13
- package/dist/collection/utils/css-value-validation.js +39 -0
- package/dist/collection/utils/focus-trap.js +15 -4
- package/dist/collection/utils/focus-visible.js +73 -2
- package/dist/collection/utils/forms/clear-button-press-controller.js +40 -0
- package/dist/collection/utils/forms/click-controller.js +95 -9
- package/dist/collection/utils/forms/index.js +1 -0
- package/dist/collection/utils/forms/validity.js +31 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/hardware-back-button.js +15 -0
- package/dist/collection/utils/helpers.js +84 -3
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/media.js +1 -0
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/overlay-control-label.js +13 -11
- package/dist/collection/utils/overlays.js +289 -10
- package/dist/collection/utils/scroll-hide-controller.js +178 -0
- package/dist/collection/utils/test/playwright/drag-element.js +32 -9
- package/dist/collection/utils/test/playwright/field-geometry.js +34 -0
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/index.js +1 -0
- package/dist/collection/utils/test/playwright/page/utils/goto.js +10 -1
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +26 -3
- package/dist/collection/utils/theme.js +25 -1
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +9169 -306
- package/dist/esm/{animation-DC5AcIYI.js → animation-GasMiLY0.js} +2 -2
- package/dist/esm/{app-globals-BFed4dT0.js → app-globals-DbCTe1Vv.js} +1 -1
- package/dist/esm/{attribute-controller-ClTQeZiJ.js → attribute-controller-CB-n8m6j.js} +2 -1
- package/dist/esm/{button-active-C2jz6R8a.js → button-active-DLOYzeXl.js} +2 -2
- package/dist/esm/{capacitor-Bt0eJ0hM.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/clear-button-press-controller-6ph4kKYn.js +43 -0
- package/dist/esm/focus-visible-BYk20Mf5.js +146 -0
- package/dist/esm/{format-C833IXB1.js → format-DUHrIiJq.js} +2 -2
- package/dist/esm/{framework-delegate-DnTzYR1W.js → framework-delegate-99Ms_INy.js} +4 -2
- package/dist/esm/{haptic-ChR8my2M.js → haptic-Cq4UAeka.js} +1 -1
- package/dist/esm/{helpers-BvbUHGGm.js → helpers-B_F2b1gy.js} +86 -8
- package/dist/esm/{index-I3r9qsv0.js → index-BRYliuA-.js} +1 -1
- package/dist/esm/{index-BObCPR8a.js → index-BeR_5uou.js} +2 -2
- package/dist/esm/{index-BvabGprD.js → index-BkJpfpXI.js} +2 -1
- package/dist/esm/{index-DFG3GaUN.js → index-BoEdvSPU.js} +4 -2
- package/dist/esm/{index-MGm9Sl6h.js → index-D5lNz-tr.js} +4 -4
- package/dist/esm/{index-BXaoLxIE.js → index-D86Q8ZLS.js} +12 -10
- package/dist/esm/index-ZjP4CjeZ.js +7 -0
- package/dist/esm/{index-BGtO2Fhf.js → index-hR6kxzTq.js} +90 -76
- package/dist/esm/index.js +14 -12
- package/dist/esm/{input-shims-DmHorap3.js → input-shims-CJVi9djP.js} +7 -5
- package/dist/esm/{input.utils-CBbgDLtb.js → input.utils-gPgFKve4.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +59 -33
- package/dist/esm/ion-action-sheet.entry.js +28 -24
- package/dist/esm/ion-alert.entry.js +35 -31
- package/dist/esm/ion-app_8.entry.js +527 -210
- package/dist/esm/ion-avatar_3.entry.js +127 -19
- package/dist/esm/ion-back-button.entry.js +33 -26
- package/dist/esm/ion-backdrop.entry.js +12 -9
- package/dist/esm/ion-breadcrumb_2.entry.js +45 -23
- package/dist/esm/ion-button_2.entry.js +63 -27
- package/dist/esm/ion-card_5.entry.js +62 -44
- package/dist/esm/ion-checkbox.entry.js +44 -19
- package/dist/esm/ion-chip.entry.js +52 -11
- package/dist/esm/ion-col_3.entry.js +59 -69
- package/dist/esm/ion-datetime-button.entry.js +46 -15
- package/dist/esm/ion-datetime.entry.js +407 -64
- package/dist/esm/ion-divider.entry.js +50 -0
- package/dist/esm/ion-fab_3.entry.js +44 -35
- package/dist/esm/ion-gallery-item.entry.js +57 -0
- package/dist/esm/ion-gallery.entry.js +606 -0
- package/dist/esm/ion-img.entry.js +10 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +93 -20
- package/dist/esm/ion-input-otp.entry.js +76 -12
- package/dist/esm/ion-input-password-toggle.entry.js +43 -16
- package/dist/esm/ion-input.entry.js +148 -40
- package/dist/esm/ion-item-option_3.entry.js +470 -59
- package/dist/esm/ion-item_8.entry.js +134 -75
- package/dist/esm/ion-loading.entry.js +23 -19
- package/dist/esm/ion-menu_3.entry.js +49 -34
- package/dist/esm/ion-modal.entry.js +238 -90
- package/dist/esm/ion-nav_2.entry.js +16 -14
- package/dist/esm/ion-picker-column-option.entry.js +14 -10
- package/dist/esm/ion-picker-column.entry.js +15 -14
- package/dist/esm/ion-picker.entry.js +12 -8
- package/dist/esm/ion-popover.entry.js +24 -20
- package/dist/esm/ion-progress-bar.entry.js +29 -11
- package/dist/esm/ion-radio_2.entry.js +39 -22
- package/dist/esm/ion-range.entry.js +22 -15
- package/dist/esm/ion-refresher_2.entry.js +48 -25
- package/dist/esm/ion-reorder_2.entry.js +33 -17
- package/dist/esm/ion-ripple-effect.entry.js +17 -9
- package/dist/esm/ion-route_4.entry.js +17 -19
- package/dist/esm/ion-searchbar.entry.js +119 -34
- package/dist/esm/ion-segment-content.entry.js +3 -4
- package/dist/esm/ion-segment-view.entry.js +14 -5
- package/dist/esm/ion-segment_2.entry.js +27 -21
- package/dist/esm/ion-select-modal.entry.js +54 -26
- package/dist/esm/ion-select_3.entry.js +202 -83
- package/dist/esm/ion-spinner.entry.js +32 -10
- package/dist/esm/ion-split-pane.entry.js +15 -11
- package/dist/esm/ion-tab-bar_2.entry.js +152 -31
- package/dist/esm/ion-tab_2.entry.js +11 -11
- package/dist/esm/ion-text.entry.js +9 -9
- package/dist/esm/ion-textarea.entry.js +179 -43
- package/dist/esm/ion-toast.entry.js +49 -21
- package/dist/esm/ion-toggle.entry.js +68 -27
- package/dist/esm/ionic-global-DSbFWXp3.js +540 -0
- package/dist/esm/ionic.js +7 -6
- package/dist/esm/{ios.transition-BRRzMHfK.js → ios.transition-C9thfQYf.js} +7 -4
- package/dist/esm/{item-multiple-inputs-IPlsPhUJ.js → item-multiple-inputs-CSJsB7-I.js} +1 -1
- package/dist/esm/{keyboard-DUoJXTRE.js → keyboard-Cj8mLJeq.js} +3 -5
- package/dist/esm/{keyboard-BFjnkNMv.js → keyboard-DAF8GNJ9.js} +1 -1
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{md.transition-BlNVIP5o.js → md.transition-BEhPsy_z.js} +6 -4
- package/dist/esm/{overlay-control-label-BSQPZ79H.js → overlay-control-label-CODBQrPj.js} +13 -11
- package/dist/esm/{overlays-DR4E-YYD.js → overlays-C8sf7PId.js} +307 -164
- package/dist/esm/scroll-hide-controller-Chts2wJU.js +342 -0
- package/dist/esm/{select-option-render-BUBAvw2_.js → select-option-render-D5kt0cO9.js} +2 -2
- package/dist/esm/{slot-mutation-controller-DBmgz_0k.js → slot-mutation-controller-DanfZTCH.js} +97 -10
- package/dist/esm/{status-tap-z4LuyVUt.js → status-tap-B8UQS38n.js} +5 -3
- package/dist/esm/{swipe-back-C1eBKfiK.js → swipe-back-Bgftkxen.js} +4 -2
- package/dist/esm/{theme-byZM6qHV.js → theme-BUF_V-Kg.js} +25 -1
- package/dist/esm/validity-NcQUGze-.js +48 -0
- package/dist/html.html-data.json +2652 -151
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-038465e3.entry.js +4 -0
- package/dist/ionic/p-136cdbde.entry.js +4 -0
- package/dist/ionic/p-188a2e35.entry.js +4 -0
- package/dist/ionic/p-1b045882.entry.js +4 -0
- package/dist/ionic/p-2717e0fc.entry.js +4 -0
- package/dist/ionic/p-29c1176f.entry.js +4 -0
- package/dist/ionic/p-2b1e9500.entry.js +4 -0
- package/{components/p-Di_8hcJD.js → dist/ionic/p-2gcJ-f11.js} +1 -1
- package/dist/ionic/p-308f9b89.entry.js +4 -0
- package/dist/ionic/p-338cb1e7.entry.js +4 -0
- package/dist/ionic/p-344072c8.entry.js +4 -0
- package/dist/ionic/p-39303a6a.entry.js +4 -0
- package/dist/ionic/p-39bf5990.entry.js +4 -0
- package/dist/ionic/p-3b47fdc7.entry.js +4 -0
- package/dist/ionic/p-3be131ed.entry.js +4 -0
- package/dist/ionic/p-3f15086f.entry.js +4 -0
- package/dist/ionic/p-49edfb46.entry.js +4 -0
- package/dist/ionic/p-522663a4.entry.js +4 -0
- package/dist/ionic/p-561cfcc1.entry.js +4 -0
- package/dist/ionic/p-65ad8502.entry.js +4 -0
- package/dist/ionic/p-6a3ff87c.entry.js +4 -0
- package/dist/ionic/p-6fb60223.entry.js +4 -0
- package/dist/ionic/p-764f4282.entry.js +4 -0
- package/dist/ionic/p-7de26931.entry.js +4 -0
- package/dist/ionic/p-8183df6b.entry.js +4 -0
- package/dist/ionic/p-81b5d87c.entry.js +4 -0
- package/dist/ionic/p-85cbc8c5.entry.js +4 -0
- package/dist/ionic/p-86bf24f4.entry.js +4 -0
- package/dist/ionic/p-8ecb459a.entry.js +4 -0
- package/dist/ionic/p-8ff4bf6c.entry.js +4 -0
- package/dist/ionic/p-905c8b38.entry.js +4 -0
- package/dist/ionic/p-9613f2c3.entry.js +4 -0
- package/dist/ionic/p-9c9a8e34.entry.js +4 -0
- package/dist/ionic/p-9d6e569d.entry.js +4 -0
- package/dist/ionic/p-B36ii-hs.js +4 -0
- package/dist/ionic/p-B7XMQegr.js +4 -0
- package/dist/ionic/{p-C7A9OQcL.js → p-BMPN55of.js} +1 -1
- package/{components/p-CHtaS-1H.js → dist/ionic/p-BPA4-c6T.js} +1 -1
- package/dist/ionic/p-BUF_V-Kg.js +4 -0
- package/dist/ionic/p-BXRdzJMJ.js +4 -0
- package/dist/ionic/p-BYk20Mf5.js +4 -0
- package/dist/ionic/p-BfDzKnZ-.js +4 -0
- package/dist/ionic/p-BfUzA1cP.js +4 -0
- package/dist/ionic/{p-ynrl9u5l.js → p-Bjt84heL.js} +1 -1
- package/dist/ionic/p-BkJpfpXI.js +4 -0
- package/dist/ionic/p-C3TLUO-J.js +4 -0
- package/dist/ionic/p-C4WiowQL.js +4 -0
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/p-CODBQrPj.js +4 -0
- package/dist/ionic/p-CXkgZKSx.js +4 -0
- package/dist/ionic/{p-Ci4965j8.js → p-CaOPF8Xt.js} +1 -1
- package/dist/ionic/{p-CNyAVKal.js → p-CeHcVwSj.js} +1 -1
- package/dist/ionic/p-Co3ilg7B.js +4 -0
- package/dist/ionic/p-D5t_-oMk.js +4 -0
- package/dist/ionic/p-D7LiFzrm.js +4 -0
- package/dist/ionic/p-DOdxt_P_.js +4 -0
- package/dist/ionic/p-DRbid4Vh.js +4 -0
- package/dist/ionic/p-D_vm5I9h.js +4 -0
- package/dist/ionic/p-DsBidY1y.js +4 -0
- package/dist/ionic/{p-RJtRqfIz.js → p-DuxayXEj.js} +1 -1
- package/dist/ionic/p-DxPRC9Jk.js +4 -0
- package/dist/ionic/p-Hb0L-KUN.js +4 -0
- package/dist/ionic/p-NcQUGze-.js +4 -0
- package/dist/ionic/{p-C_0lvVN_.js → p-T71k3C35.js} +1 -1
- package/dist/ionic/p-WdouEyt8.js +4 -0
- package/dist/ionic/p-ZjP4CjeZ.js +4 -0
- package/dist/ionic/p-a1555032.entry.js +4 -0
- package/dist/ionic/p-a6315f72.entry.js +4 -0
- package/dist/ionic/p-a8e51e17.entry.js +4 -0
- package/dist/ionic/p-a932c26f.entry.js +4 -0
- package/dist/ionic/p-aab54de4.entry.js +4 -0
- package/dist/ionic/p-b076511a.entry.js +4 -0
- package/dist/ionic/p-b1b397cf.entry.js +4 -0
- package/dist/ionic/p-b3e2281c.entry.js +4 -0
- package/dist/ionic/p-b4de840a.entry.js +4 -0
- package/dist/ionic/p-c1fc48c7.entry.js +4 -0
- package/dist/ionic/p-c3dc0187.entry.js +4 -0
- package/dist/ionic/p-ca2c0598.entry.js +4 -0
- package/dist/ionic/p-ce443df7.entry.js +4 -0
- package/dist/ionic/p-ce8bea16.entry.js +4 -0
- package/dist/ionic/p-ceca04fb.entry.js +4 -0
- package/dist/ionic/p-d6cd46ab.entry.js +4 -0
- package/dist/ionic/p-db20f98a.entry.js +4 -0
- package/dist/ionic/p-dbf53341.entry.js +4 -0
- package/dist/ionic/p-de0de6a6.entry.js +4 -0
- package/dist/ionic/p-ec99dc1f.entry.js +4 -0
- package/dist/ionic/p-f3057b31.entry.js +4 -0
- package/dist/ionic/p-fa74dd94.entry.js +4 -0
- package/dist/ionic/p-hR6kxzTq.js +6 -0
- package/dist/ionic/p-pVSZ4TVa.js +4 -0
- package/dist/ionic/p-rwBGNQHN.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +12 -3
- package/dist/types/components/accordion-group/accordion-group.d.ts +12 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +4 -5
- package/dist/types/components/avatar/avatar.d.ts +32 -0
- package/dist/types/components/back-button/back-button.d.ts +10 -3
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +34 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +14 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +23 -8
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +26 -5
- package/dist/types/components/chip/chip.d.ts +26 -1
- package/dist/types/components/col/col.d.ts +52 -6
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +4 -0
- package/dist/types/components/datetime/datetime.d.ts +99 -7
- package/dist/types/components/datetime/utils/data.d.ts +5 -5
- package/dist/types/components/datetime/utils/state.d.ts +5 -2
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/divider/divider.d.ts +20 -0
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +11 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer-interface.d.ts +1 -0
- package/dist/types/components/footer/footer.d.ts +20 -3
- package/dist/types/components/gallery/gallery-constants.d.ts +9 -0
- package/dist/types/components/gallery/gallery-interface.d.ts +10 -0
- package/dist/types/components/gallery/gallery.d.ts +218 -0
- package/dist/types/components/gallery/test/utils.d.ts +3 -0
- package/dist/types/components/gallery-item/gallery-item.d.ts +33 -0
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header-interface.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +26 -3
- package/dist/types/components/header/header.utils.d.ts +4 -5
- package/dist/types/components/img/img.d.ts +2 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +21 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +45 -5
- package/dist/types/components/input-otp/input-otp.d.ts +37 -0
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +14 -0
- package/dist/types/components/item/item.d.ts +17 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +18 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +47 -1
- package/dist/types/components/item-sliding/test/test.utils.d.ts +13 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +15 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +8 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/animations/ionic.enter.d.ts +6 -0
- package/dist/types/components/modal/animations/ionic.leave.d.ts +6 -0
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +4 -7
- package/dist/types/components/modal/modal.d.ts +11 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +10 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +12 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +10 -0
- package/dist/types/components/reorder/reorder.d.ts +9 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +56 -10
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +59 -15
- package/dist/types/components/select-modal/select-modal.d.ts +13 -0
- package/dist/types/components/select-option/select-option.d.ts +7 -4
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +15 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar-interface.d.ts +1 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +41 -3
- package/dist/types/components/tab-button/tab-button.d.ts +12 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +75 -17
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +19 -2
- package/dist/types/components/toggle/toggle.d.ts +18 -1
- package/dist/types/components/toolbar/toolbar.d.ts +65 -3
- package/dist/types/components.d.ts +1874 -213
- package/dist/types/global/ionic-global.d.ts +28 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/config.d.ts +128 -4
- package/dist/types/utils/css-value-validation.d.ts +21 -0
- package/dist/types/utils/focus-trap.d.ts +1 -1
- package/dist/types/utils/focus-visible.d.ts +33 -0
- package/dist/types/utils/forms/clear-button-press-controller.d.ts +20 -0
- package/dist/types/utils/forms/click-controller.d.ts +16 -5
- package/dist/types/utils/forms/index.d.ts +1 -0
- package/dist/types/utils/forms/validity.d.ts +7 -0
- package/dist/types/utils/helpers.d.ts +29 -0
- package/dist/types/utils/overlay-control-label.d.ts +11 -9
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/overlays.d.ts +1 -1
- package/dist/types/utils/scroll-hide-controller.d.ts +56 -0
- package/dist/types/utils/test/playwright/drag-element.d.ts +16 -3
- package/dist/types/utils/test/playwright/field-geometry.d.ts +13 -0
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/dist/types/utils/test/playwright/index.d.ts +1 -0
- package/dist/types/utils/theme.d.ts +9 -0
- package/hydrate/index.js +6023 -1509
- package/hydrate/index.mjs +6023 -1509
- package/package.json +8 -5
- package/components/p-28_KCxSf.js +0 -4
- package/components/p-2r7QpBW2.js +0 -4
- package/components/p-5LnxYgt7.js +0 -4
- package/components/p-B89FqNe7.js +0 -4
- package/components/p-BAAtTHkh.js +0 -4
- package/components/p-BE1iSZxK.js +0 -4
- package/components/p-BEN_dW38.js +0 -4
- package/components/p-BFhqMUFJ.js +0 -4
- package/components/p-BKzm8GnQ.js +0 -4
- package/components/p-BRwclc4v.js +0 -4
- package/components/p-BSQPZ79H.js +0 -4
- package/components/p-BaD2k7-g.js +0 -4
- package/components/p-BhamHSw3.js +0 -4
- package/components/p-Bl36leJI.js +0 -4
- package/components/p-BmVRXR1y.js +0 -4
- package/components/p-Bp-vRdq-.js +0 -4
- package/components/p-BqRR1T5F.js +0 -4
- package/components/p-By_XQw23.js +0 -4
- package/components/p-C6mx0RsH.js +0 -4
- package/components/p-C7PoQnxN.js +0 -4
- package/components/p-CApfTEZu.js +0 -4
- package/components/p-CHw0oDIX.js +0 -4
- package/components/p-CVWleXIL.js +0 -4
- package/components/p-CeRIYiar.js +0 -4
- package/components/p-CekDicbC.js +0 -4
- package/components/p-Cs66-da5.js +0 -4
- package/components/p-CsEqD5L_.js +0 -4
- package/components/p-CxYMGJTr.js +0 -4
- package/components/p-CyOxaozL.js +0 -4
- package/components/p-D3Kil3Ox.js +0 -4
- package/components/p-DDML-XXM.js +0 -4
- package/components/p-DJztqcrH.js +0 -4
- package/components/p-DPypH5J1.js +0 -4
- package/components/p-DVRS13xd.js +0 -4
- package/components/p-DX2WL1Da.js +0 -4
- package/components/p-Dhhot0Wu.js +0 -4
- package/components/p-Dkw9q24a.js +0 -4
- package/components/p-DrXp7JFH.js +0 -4
- package/components/p-Dt1Xl4fS.js +0 -4
- package/components/p-DuG_CBXq.js +0 -4
- package/components/p-HIqLOae3.js +0 -4
- package/components/p-LpMHEu3v.js +0 -4
- package/components/p-Zt5D5E38.js +0 -4
- package/components/p-byZM6qHV.js +0 -4
- package/components/p-dgUknkY4.js +0 -4
- package/components/p-fCziDtBc.js +0 -4
- package/components/p-oTJGwohD.js +0 -4
- package/dist/cjs/focus-visible-CCvKiLh3.js +0 -77
- package/dist/cjs/ionic-global-Bt1gOF3y.js +0 -156
- package/dist/cjs/keyboard-controller-BMyz0P1a.js +0 -167
- package/dist/cjs/validity-BpS37YFM.js +0 -19
- package/dist/esm/focus-visible-BmVRXR1y.js +0 -75
- package/dist/esm/ionic-global-BDyJ_8I-.js +0 -151
- package/dist/esm/keyboard-controller-BA84p4ML.js +0 -165
- package/dist/esm/validity-DJztqcrH.js +0 -17
- package/dist/ionic/p-03bb02b6.entry.js +0 -4
- package/dist/ionic/p-05a057fb.entry.js +0 -4
- package/dist/ionic/p-1238548e.entry.js +0 -4
- package/dist/ionic/p-1274e8e0.entry.js +0 -4
- package/dist/ionic/p-1419107d.entry.js +0 -4
- package/dist/ionic/p-1616c2e3.entry.js +0 -4
- package/dist/ionic/p-1a4d6cf3.entry.js +0 -4
- package/dist/ionic/p-1ae4b282.entry.js +0 -4
- package/dist/ionic/p-1b7a15d4.entry.js +0 -4
- package/dist/ionic/p-2090c9dd.entry.js +0 -4
- package/dist/ionic/p-26aa0bea.entry.js +0 -4
- package/dist/ionic/p-2f68b3c0.entry.js +0 -4
- package/dist/ionic/p-2fab8bf5.entry.js +0 -4
- package/dist/ionic/p-333b8225.entry.js +0 -4
- package/dist/ionic/p-33c41604.entry.js +0 -4
- package/dist/ionic/p-46f2c59f.entry.js +0 -4
- package/dist/ionic/p-4ecf0d94.entry.js +0 -4
- package/dist/ionic/p-4f02f020.entry.js +0 -4
- package/dist/ionic/p-52186d6b.entry.js +0 -4
- package/dist/ionic/p-53b6ab69.entry.js +0 -4
- package/dist/ionic/p-605d5a7e.entry.js +0 -4
- package/dist/ionic/p-66adc5a1.entry.js +0 -4
- package/dist/ionic/p-6a746af4.entry.js +0 -4
- package/dist/ionic/p-6e7d46fa.entry.js +0 -4
- package/dist/ionic/p-736344e9.entry.js +0 -4
- package/dist/ionic/p-74dda4e5.entry.js +0 -4
- package/dist/ionic/p-79e645bd.entry.js +0 -4
- package/dist/ionic/p-88cf20d2.entry.js +0 -4
- package/dist/ionic/p-98d3a2be.entry.js +0 -4
- package/dist/ionic/p-9e3b3263.entry.js +0 -4
- package/dist/ionic/p-B9cO-kYV.js +0 -4
- package/dist/ionic/p-BGtO2Fhf.js +0 -6
- package/dist/ionic/p-BNupGwtk.js +0 -4
- package/dist/ionic/p-BSQPZ79H.js +0 -4
- package/dist/ionic/p-BkcYeWXi.js +0 -4
- package/dist/ionic/p-Bl_jKJLv.js +0 -4
- package/dist/ionic/p-BmVRXR1y.js +0 -4
- package/dist/ionic/p-BmeHOspf.js +0 -4
- package/dist/ionic/p-BvabGprD.js +0 -4
- package/dist/ionic/p-CBq1CZwb.js +0 -4
- package/dist/ionic/p-CRgN46qV.js +0 -4
- package/dist/ionic/p-CYKfkI6i.js +0 -4
- package/dist/ionic/p-CjUT_VTP.js +0 -4
- package/dist/ionic/p-Cw2UdaY3.js +0 -4
- package/dist/ionic/p-D0_5-Ckh.js +0 -4
- package/dist/ionic/p-D5TRCRie.js +0 -4
- package/dist/ionic/p-DCzujr0Q.js +0 -4
- package/dist/ionic/p-DJqMQDf-.js +0 -4
- package/dist/ionic/p-DJztqcrH.js +0 -4
- package/dist/ionic/p-DRGrDfWv.js +0 -4
- package/dist/ionic/p-Dqz9qh-H.js +0 -4
- package/dist/ionic/p-SfKXFiOB.js +0 -4
- package/dist/ionic/p-UUJgswAN.js +0 -4
- package/dist/ionic/p-a4df0e91.entry.js +0 -4
- package/dist/ionic/p-a992a35b.entry.js +0 -4
- package/dist/ionic/p-b5e6edf6.entry.js +0 -4
- package/dist/ionic/p-b872f43e.entry.js +0 -4
- package/dist/ionic/p-b922806b.entry.js +0 -4
- package/dist/ionic/p-bf720fd6.entry.js +0 -4
- package/dist/ionic/p-byZM6qHV.js +0 -4
- package/dist/ionic/p-c1209b84.entry.js +0 -4
- package/dist/ionic/p-c394744f.entry.js +0 -4
- package/dist/ionic/p-c7315410.entry.js +0 -4
- package/dist/ionic/p-ca4a06e6.entry.js +0 -4
- package/dist/ionic/p-ca608663.entry.js +0 -4
- package/dist/ionic/p-d0d4482d.entry.js +0 -4
- package/dist/ionic/p-d4afa00a.entry.js +0 -4
- package/dist/ionic/p-d7749f70.entry.js +0 -4
- package/dist/ionic/p-db93830d.entry.js +0 -4
- package/dist/ionic/p-dd3d4a4f.entry.js +0 -4
- package/dist/ionic/p-de2BC0yO.js +0 -4
- package/dist/ionic/p-df8a4ddd.entry.js +0 -4
- package/dist/ionic/p-df9ebba7.entry.js +0 -4
- package/dist/ionic/p-eb93c676.entry.js +0 -4
- package/dist/ionic/p-ec4dbb45.entry.js +0 -4
- package/dist/ionic/p-f0206bd7.entry.js +0 -4
- package/dist/ionic/p-fcc5b886.entry.js +0 -4
- package/dist/ionic/p-rXvVaOP9.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
|
@@ -3,20 +3,24 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
var index = require('./index-CB1PuDlX.js');
|
|
7
|
+
var helpers = require('./helpers-DHNLF4fD.js');
|
|
8
|
+
var theme = require('./theme-Cy4joHPt.js');
|
|
9
|
+
var index$1 = require('./index-CxDnX7hd.js');
|
|
10
|
+
var ionicGlobal = require('./ionic-global-CZX42KL4.js');
|
|
11
|
+
require('./index-DkNv4J_i.js');
|
|
12
|
+
require('./focus-visible-DGPRKkcx.js');
|
|
10
13
|
require('./dir-Bma_9Lqh.js');
|
|
11
14
|
|
|
12
|
-
const
|
|
15
|
+
const accordionIonicCss = () => `:host{display:block;position:relative;width:100%;overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host{position:relative}:host::after{-webkit-margin-start:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-margin-end:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-end:var(--token-space-400, var(--token-scale-400, 16px));right:0;left:0;bottom:0;display:block;position:absolute;height:var(--token-border-size-025, var(--token-scale-025, 1px));background-color:var(--token-border-default, var(--token-primitives-neutral-400, #d0d7df));content:"";z-index:3}:host(.accordion-last)::after{display:none}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}::slotted(ion-item[slot=header]){--border-radius:inherit;--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));--border-width:var(--token-border-size-0, var(--token-scale-0, 0px));--inner-border-width:var(--token-scale-0, 0px);--min-height:var(--token-scale-700, 28px);--padding-top:var(--token-space-300, var(--token-scale-300, 12px));--padding-end:var(--token-space-400, var(--token-scale-400, 16px));--padding-bottom:var(--token-space-300, var(--token-scale-300, 12px));--padding-start:var(--token-space-400, var(--token-scale-400, 16px));--background-activated:var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #ebeef2));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.555556}#content-wrapper{-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));padding-top:var(--token-space-300, var(--token-scale-300, 12px));padding-bottom:var(--token-space-300, var(--token-scale-300, 12px));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528))}`;
|
|
13
16
|
|
|
14
|
-
const
|
|
17
|
+
const accordionIosCss = () => `:host{display:block;position:relative;width:100%;overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host{background-color:var(--ion-background-color, #ffffff)}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}`;
|
|
18
|
+
|
|
19
|
+
const accordionMdCss = () => `:host{display:block;position:relative;width:100%;overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host{background-color:var(--ion-background-color, #ffffff)}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}`;
|
|
15
20
|
|
|
16
21
|
const Accordion = class {
|
|
17
22
|
constructor(hostRef) {
|
|
18
|
-
|
|
19
|
-
index.registerInstance(this, hostRef);
|
|
23
|
+
index.registerInstance(this, hostRef);
|
|
20
24
|
this.accordionGroupUpdateHandler = () => {
|
|
21
25
|
/**
|
|
22
26
|
* Determine if this update will cause an actual state change.
|
|
@@ -51,6 +55,7 @@ const Accordion = class {
|
|
|
51
55
|
this.state = 1 /* AccordionState.Collapsed */;
|
|
52
56
|
this.isNext = false;
|
|
53
57
|
this.isPrevious = false;
|
|
58
|
+
this.isLast = false;
|
|
54
59
|
/**
|
|
55
60
|
* Tracks whether a user-initiated interaction has occurred.
|
|
56
61
|
* Animations are disabled until the first interaction happens.
|
|
@@ -82,12 +87,6 @@ const Accordion = class {
|
|
|
82
87
|
* but does not alter the opacity.
|
|
83
88
|
*/
|
|
84
89
|
this.readonly = false;
|
|
85
|
-
/**
|
|
86
|
-
* The toggle icon to use. This icon will be
|
|
87
|
-
* rotated when the accordion is expanded
|
|
88
|
-
* or collapsed.
|
|
89
|
-
*/
|
|
90
|
-
this.toggleIcon = index$1.chevronDown;
|
|
91
90
|
/**
|
|
92
91
|
* The slot inside of `ion-item` to
|
|
93
92
|
* place the toggle icon. Defaults to `"end"`.
|
|
@@ -155,7 +154,7 @@ const Accordion = class {
|
|
|
155
154
|
if (!ionItem) {
|
|
156
155
|
return;
|
|
157
156
|
}
|
|
158
|
-
const {
|
|
157
|
+
const { accordionToggleIcon, toggleIconSlot } = this;
|
|
159
158
|
/**
|
|
160
159
|
* Check if there already is a toggle icon.
|
|
161
160
|
* If so, do not add another one.
|
|
@@ -168,7 +167,7 @@ const Accordion = class {
|
|
|
168
167
|
iconEl.slot = toggleIconSlot;
|
|
169
168
|
iconEl.lazy = false;
|
|
170
169
|
iconEl.classList.add('ion-accordion-toggle-icon');
|
|
171
|
-
iconEl.icon =
|
|
170
|
+
iconEl.icon = accordionToggleIcon;
|
|
172
171
|
iconEl.setAttribute('aria-hidden', 'true');
|
|
173
172
|
ionItem.appendChild(iconEl);
|
|
174
173
|
};
|
|
@@ -288,6 +287,8 @@ const Accordion = class {
|
|
|
288
287
|
}
|
|
289
288
|
const value = accordionGroup.value;
|
|
290
289
|
const shouldExpand = Array.isArray(value) ? value.includes(accordionValue) : value === accordionValue;
|
|
290
|
+
const nextAccordion = this.getNextSibling();
|
|
291
|
+
this.isLast = nextAccordion === undefined;
|
|
291
292
|
if (shouldExpand) {
|
|
292
293
|
this.expandAccordion();
|
|
293
294
|
this.isNext = this.isPrevious = false;
|
|
@@ -301,7 +302,6 @@ const Accordion = class {
|
|
|
301
302
|
* applied. Check to see if the
|
|
302
303
|
* next or previous accordion is selected.
|
|
303
304
|
*/
|
|
304
|
-
const nextAccordion = this.getNextSibling();
|
|
305
305
|
const nextAccordionValue = nextAccordion?.value;
|
|
306
306
|
if (nextAccordionValue !== undefined) {
|
|
307
307
|
this.isPrevious = Array.isArray(value) ? value.includes(nextAccordionValue) : value === nextAccordionValue;
|
|
@@ -314,9 +314,6 @@ const Accordion = class {
|
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
this.getNextSibling = () => {
|
|
317
|
-
if (!this.el) {
|
|
318
|
-
return;
|
|
319
|
-
}
|
|
320
317
|
const nextSibling = this.el.nextElementSibling;
|
|
321
318
|
if (nextSibling?.tagName !== 'ION-ACCORDION') {
|
|
322
319
|
return;
|
|
@@ -324,9 +321,6 @@ const Accordion = class {
|
|
|
324
321
|
return nextSibling;
|
|
325
322
|
};
|
|
326
323
|
this.getPreviousSibling = () => {
|
|
327
|
-
if (!this.el) {
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
324
|
const previousSibling = this.el.previousElementSibling;
|
|
331
325
|
if (previousSibling?.tagName !== 'ION-ACCORDION') {
|
|
332
326
|
return;
|
|
@@ -367,6 +361,19 @@ const Accordion = class {
|
|
|
367
361
|
this.setAria(expanded);
|
|
368
362
|
});
|
|
369
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* Get the icon to use for the toggle icon.
|
|
366
|
+
* If an icon is set on the component, use that.
|
|
367
|
+
* Otherwise, use the icon set in the config.
|
|
368
|
+
* If no icon is set in the config, use the default icon.
|
|
369
|
+
*/
|
|
370
|
+
get accordionToggleIcon() {
|
|
371
|
+
// Return the icon if it is explicitly set
|
|
372
|
+
if (this.toggleIcon != null) {
|
|
373
|
+
return this.toggleIcon;
|
|
374
|
+
}
|
|
375
|
+
return index.config.get('accordionToggleIcon', index$1.chevronDown);
|
|
376
|
+
}
|
|
370
377
|
toggleExpanded() {
|
|
371
378
|
const { accordionGroupEl, disabled, readonly, value, state } = this;
|
|
372
379
|
if (disabled || readonly)
|
|
@@ -391,23 +398,25 @@ const Accordion = class {
|
|
|
391
398
|
}
|
|
392
399
|
render() {
|
|
393
400
|
const { disabled, readonly } = this;
|
|
394
|
-
const
|
|
401
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
395
402
|
const expanded = this.state === 4 /* AccordionState.Expanded */ || this.state === 8 /* AccordionState.Expanding */;
|
|
396
403
|
const headerPart = expanded ? 'header expanded' : 'header';
|
|
397
404
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
398
405
|
this.setAria(expanded);
|
|
399
|
-
return (index.h(index.Host, { key: '
|
|
400
|
-
[
|
|
406
|
+
return (index.h(index.Host, { key: '815dda5c42051851dfb17312fee6eb60421b680b', class: {
|
|
407
|
+
[theme$1]: true,
|
|
401
408
|
'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,
|
|
402
409
|
'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,
|
|
403
410
|
'accordion-collapsing': this.state === 2 /* AccordionState.Collapsing */,
|
|
404
411
|
'accordion-collapsed': this.state === 1 /* AccordionState.Collapsed */,
|
|
405
412
|
'accordion-next': this.isNext,
|
|
406
413
|
'accordion-previous': this.isPrevious,
|
|
414
|
+
'accordion-last': this.isLast,
|
|
407
415
|
'accordion-disabled': disabled,
|
|
408
416
|
'accordion-readonly': readonly,
|
|
409
417
|
'accordion-animated': this.shouldAnimate(),
|
|
410
|
-
|
|
418
|
+
'in-accordion-group-expand-inset': theme.hostContext('.accordion-group-expand-inset', this.el),
|
|
419
|
+
}, tabindex: disabled ? '-1' : undefined }, index.h("div", { key: '0361184ad0b1a2dbb8879292313fc6ea4d6915aa', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, index.h("slot", { key: '1176aed8aebd66a17d365f2ecab4a40165a14a17', name: "header" })), index.h("div", { key: 'ebe6eabeedaee6a9fdcf8c989e706f5f42af54c2', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, index.h("div", { key: '5c9ebc847e8f161c8fcaf6f4af9ad42ce22217ac', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, index.h("slot", { key: 'a45d5a106dc635d4a8790cdd4fdf04c1b8e25987', name: "content" })))));
|
|
411
420
|
}
|
|
412
421
|
static get delegatesFocus() { return true; }
|
|
413
422
|
get el() { return index.getElement(this); }
|
|
@@ -419,18 +428,20 @@ const Accordion = class {
|
|
|
419
428
|
};
|
|
420
429
|
let accordionIds = 0;
|
|
421
430
|
Accordion.style = {
|
|
431
|
+
ionic: accordionIonicCss(),
|
|
422
432
|
ios: accordionIosCss(),
|
|
423
433
|
md: accordionMdCss()
|
|
424
434
|
};
|
|
425
435
|
|
|
436
|
+
const accordionGroupIonicCss = () => `:host{display:block}:host{min-width:calc(var(--token-scale-6200, 248px) + var(--token-space-600, var(--token-scale-600, 24px)));background-color:var(--token-bg-neutral-subtlest-default, var(--token-primitives-base-white, #ffffff))}:host(.accordion-group-expand-inset){-webkit-padding-start:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-start:var(--token-space-100, var(--token-scale-100, 4px));-webkit-padding-end:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-end:var(--token-space-100, var(--token-scale-100, 4px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px))}:host(.accordion-group-expand-inset.accordion-group-shape-round){--border-radius:var(--token-shape-round-xl, 16px);border-radius:var(--token-shape-round-xl, 16px)}:host(.accordion-group-expand-inset.accordion-group-shape-soft){--border-radius:var(--token-shape-soft-xl, 12px);border-radius:var(--token-shape-soft-xl, 12px)}:host(.accordion-group-expand-inset.accordion-group-shape-rectangular){--border-radius:var(--token-shape-rectangular-xl, 0px);border-radius:var(--token-shape-rectangular-xl, 0px)}`;
|
|
437
|
+
|
|
426
438
|
const accordionGroupIosCss = () => `:host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}`;
|
|
427
439
|
|
|
428
440
|
const accordionGroupMdCss = () => `:host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}`;
|
|
429
441
|
|
|
430
442
|
const AccordionGroup = class {
|
|
431
443
|
constructor(hostRef) {
|
|
432
|
-
|
|
433
|
-
index.registerInstance(this, hostRef);
|
|
444
|
+
index.registerInstance(this, hostRef);
|
|
434
445
|
this.ionChange = index.createEvent(this, "ionChange", 7);
|
|
435
446
|
this.ionValueChange = index.createEvent(this, "ionValueChange", 7);
|
|
436
447
|
/**
|
|
@@ -633,15 +644,29 @@ const AccordionGroup = class {
|
|
|
633
644
|
async getAccordions() {
|
|
634
645
|
return Array.from(this.el.querySelectorAll(':scope > ion-accordion'));
|
|
635
646
|
}
|
|
647
|
+
getShape() {
|
|
648
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
649
|
+
const { shape } = this;
|
|
650
|
+
// TODO(ROU-11328): Remove theme check when shapes are defined for all themes.
|
|
651
|
+
if (theme !== 'ionic') {
|
|
652
|
+
return undefined;
|
|
653
|
+
}
|
|
654
|
+
if (shape === undefined) {
|
|
655
|
+
return 'round';
|
|
656
|
+
}
|
|
657
|
+
return shape;
|
|
658
|
+
}
|
|
636
659
|
render() {
|
|
637
660
|
const { disabled, readonly, expand } = this;
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
|
|
661
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
662
|
+
const shape = this.getShape();
|
|
663
|
+
return (index.h(index.Host, { key: '3ff9248922382f2fe2eb9eb2fd895bb9aa91ef2f', class: {
|
|
664
|
+
[theme]: true,
|
|
641
665
|
'accordion-group-disabled': disabled,
|
|
642
666
|
'accordion-group-readonly': readonly,
|
|
643
667
|
[`accordion-group-expand-${expand}`]: true,
|
|
644
|
-
|
|
668
|
+
[`accordion-group-shape-${shape}`]: shape !== undefined,
|
|
669
|
+
}, role: "presentation" }, index.h("slot", { key: 'aaa96bfa504bb020c7897e44ac1502b12bb81faf' })));
|
|
645
670
|
}
|
|
646
671
|
get el() { return index.getElement(this); }
|
|
647
672
|
static get watchers() { return {
|
|
@@ -657,6 +682,7 @@ const AccordionGroup = class {
|
|
|
657
682
|
}; }
|
|
658
683
|
};
|
|
659
684
|
AccordionGroup.style = {
|
|
685
|
+
ionic: accordionGroupIonicCss(),
|
|
660
686
|
ios: accordionGroupIosCss(),
|
|
661
687
|
md: accordionGroupMdCss()
|
|
662
688
|
};
|
|
@@ -3,22 +3,24 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buttonActive = require('./button-active-
|
|
8
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-CB1PuDlX.js');
|
|
7
|
+
var buttonActive = require('./button-active-CY7cZvH5.js');
|
|
8
|
+
var helpers = require('./helpers-DHNLF4fD.js');
|
|
9
9
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
10
|
-
var
|
|
11
|
-
var selectOptionRender = require('./select-option-render-
|
|
12
|
-
var theme = require('./theme-
|
|
13
|
-
var ionicGlobal = require('./ionic-global-
|
|
14
|
-
var animation = require('./animation-
|
|
15
|
-
require('./haptic-
|
|
16
|
-
require('./capacitor-
|
|
10
|
+
var overlays = require('./overlays-DziOxcCT.js');
|
|
11
|
+
var selectOptionRender = require('./select-option-render-X_iZ-xeh.js');
|
|
12
|
+
var theme = require('./theme-Cy4joHPt.js');
|
|
13
|
+
var ionicGlobal = require('./ionic-global-CZX42KL4.js');
|
|
14
|
+
var animation = require('./animation-zKIdNEmG.js');
|
|
15
|
+
require('./haptic-Ch-X4gRx.js');
|
|
16
|
+
require('./capacitor-DmA66EwP.js');
|
|
17
|
+
require('./index-DkNv4J_i.js');
|
|
17
18
|
require('./index-DRPqwSvU.js');
|
|
18
19
|
require('./gesture-controller-CeJslptU.js');
|
|
20
|
+
require('./focus-visible-DGPRKkcx.js');
|
|
19
21
|
require('./dir-Bma_9Lqh.js');
|
|
20
|
-
require('./framework-delegate-
|
|
21
|
-
require('./index-
|
|
22
|
+
require('./framework-delegate-CAdDEnFS.js');
|
|
23
|
+
require('./index-B3s1jjBU.js');
|
|
22
24
|
|
|
23
25
|
/**
|
|
24
26
|
* iOS Action Sheet Enter Animation
|
|
@@ -104,14 +106,15 @@ const mdLeaveAnimation = (baseEl) => {
|
|
|
104
106
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
105
107
|
};
|
|
106
108
|
|
|
107
|
-
const actionSheetIosCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-action-sheet-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios{width:44px;height:44px}.select-option-start.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-action-sheet-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-action-sheet-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ios:disabled ion-icon.sc-ion-action-sheet-ios{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}`;
|
|
109
|
+
const actionSheetIonicCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ionic,.select-option-label-has-rich-content.sc-ion-action-sheet-ionic{gap:var(--token-space-300, var(--token-scale-300, 12px))}.action-sheet-button-label-text.sc-ion-action-sheet-ionic,.alert-checkbox-label-text.sc-ion-action-sheet-ionic,.alert-radio-label-text.sc-ion-action-sheet-ionic,.select-option-label-text.sc-ion-action-sheet-ionic{gap:var(--token-space-300, var(--token-scale-300, 12px))}.select-option-description.sc-ion-action-sheet-ionic{font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;-webkit-padding-start:var(--token-space-0, var(--token-scale-0, 0px));padding-inline-start:var(--token-space-0, var(--token-scale-0, 0px));-webkit-padding-end:var(--token-space-0, var(--token-scale-0, 0px));padding-inline-end:var(--token-space-0, var(--token-scale-0, 0px));padding-top:var(--token-space-0, var(--token-scale-0, 0px));padding-bottom:var(--token-space-0, var(--token-scale-0, 0px));color:var(--token-text-subtle, var(--token-primitives-neutral-1000, #383e45));font-size:var(--token-font-size-350, 0.875rem)}.select-option-start.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic{gap:var(--token-space-200, var(--token-scale-200, 8px))}.select-option-start.sc-ion-action-sheet-ionic>ion-avatar.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>ion-img.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>ion-thumbnail.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>img.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>svg.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-avatar.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-img.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-thumbnail.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>img.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>svg.sc-ion-action-sheet-ionic{width:var(--token-scale-1200, 48px);height:var(--token-scale-1200, 48px)}.select-option-start.sc-ion-action-sheet-ionic>ion-icon.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-icon.sc-ion-action-sheet-ionic{font-size:var(--token-scale-1200, 48px)}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ionic,.select-option-label-has-rich-content.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ionic,.select-option-content.sc-ion-action-sheet-ionic{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ionic,.alert-checkbox-label-text.sc-ion-action-sheet-ionic,.alert-radio-label-text.sc-ion-action-sheet-ionic,.select-option-label-text.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-start.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-action-sheet-ionic{display:block}.select-option-label.sc-ion-action-sheet-ionic:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ionic::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ionic [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ionic::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ionic [part~="label"],.select-option-content.sc-ion-action-sheet-ionic{-ms-flex:1;flex:1;white-space:normal}.sc-ion-action-sheet-ionic-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;right:0;left:0;top:0;bottom:0;display:block;position:fixed;outline:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.overlay-hidden.sc-ion-action-sheet-ionic-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ionic{right:0;left:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ionic{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ionic:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ionic:disabled ion-icon.sc-ion-action-sheet-ionic{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ionic{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ionic::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ionic{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ionic::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ionic{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ionic::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ionic{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ionic::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ionic:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ionic:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ionic-h{--background:var(--token-bg-surface-elevation-3, var(--token-primitives-base-white, #ffffff));--backdrop-opacity:0.7;--button-background:transparent;--button-background-selected:var(--token-bg-primary-subtle-default, var(--token-semantics-primary-100, var(--token-primitives-blue-100, #f0f2ff)));--button-background-selected-opacity:1;--button-background-activated:var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #ebeef2));--button-background-activated-opacity:1;--button-background-hover:var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #ebeef2));--button-background-hover-opacity:1;--button-color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));--button-color-disabled:var(--token-text-disabled, var(--token-primitives-neutral-500, #9fa5ad));--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));z-index:1001}.action-sheet-wrapper.sc-ion-action-sheet-ionic{z-index:10}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic::after{outline-offset:var(--token-border-size-050, var(--token-scale-050, 2px));outline:var(--token-border-size-050, var(--token-scale-050, 2px)) solid var(--token-border-focus-default, var(--token-semantics-primary-400, var(--token-primitives-blue-400, #b5c0f7)));outline-offset:calc(var(--token-border-size-050, var(--token-scale-050, 2px)) * -1)}.action-sheet-wrapper.sc-ion-action-sheet-ionic{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-ionic{-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));padding-top:var(--token-space-400, var(--token-scale-400, 16px));padding-bottom:var(--token-space-400, var(--token-scale-400, 16px));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.555556;color:var(--color);text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-ionic{font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #6c727a))}.action-sheet-group.sc-ion-action-sheet-ionic:first-child{padding-top:var(--token-space-400, var(--token-scale-400, 16px))}.action-sheet-group.sc-ion-action-sheet-ionic:last-child{padding-bottom:var(--token-space-400, var(--token-scale-400, 16px))}.action-sheet-button.sc-ion-action-sheet-ionic{-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));padding-top:var(--token-space-200, var(--token-scale-200, 8px));padding-bottom:var(--token-space-200, var(--token-scale-200, 8px));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;position:relative;min-height:52px;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-ionic{-webkit-margin-start:var(--token-space-0, var(--token-scale-0, 0px));margin-inline-start:var(--token-space-0, var(--token-scale-0, 0px));-webkit-margin-end:var(--token-space-600, var(--token-scale-600, 24px));margin-inline-end:var(--token-space-600, var(--token-scale-600, 24px));margin-top:var(--token-space-0, var(--token-scale-0, 0px));margin-bottom:var(--token-space-0, var(--token-scale-0, 0px));width:var(--token-scale-600, 24px);height:var(--token-scale-600, 24px);color:var(--color, var(--token-text-default, var(--token-primitives-neutral-1200, #242528)))}.action-sheet-button-inner.sc-ion-action-sheet-ionic{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-ionic{font-weight:bold}`;
|
|
108
110
|
|
|
109
|
-
const actionSheetMdCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-action-sheet-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md{width:40px;height:40px}.select-option-start.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md{font-size:24px}.select-option-start.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md{width:56px;height:56px}.select-option-start.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md{width:114px;height:56px}.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-md:disabled ion-icon.sc-ion-action-sheet-md{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}`;
|
|
111
|
+
const actionSheetIosCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{gap:16px}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{gap:12px}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{gap:8px}.select-option-description.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-start.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios{width:44px;height:44px}.select-option-start.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-action-sheet-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-action-sheet-ios{-webkit-padding-end:16px;padding-inline-end:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-action-sheet-ios{display:block}.select-option-label.sc-ion-action-sheet-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1;white-space:normal}.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;right:0;left:0;top:0;bottom:0;display:block;position:fixed;outline:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{right:0;left:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ios:disabled ion-icon.sc-ion-action-sheet-ios{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{font-family:var(--ion-font-family, inherit);z-index:1001}.action-sheet-wrapper.sc-ion-action-sheet-ios{z-index:10}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:0.08;--button-background-hover:currentColor;--button-background-hover-opacity:0.04;--button-background-focused:currentColor;--button-background-focused-opacity:0.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}`;
|
|
112
|
+
|
|
113
|
+
const actionSheetMdCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{gap:16px}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{gap:12px}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{gap:8px}.select-option-description.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-start.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md{width:40px;height:40px}.select-option-start.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md{font-size:24px}.select-option-start.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md{width:56px;height:56px}.select-option-start.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md{width:114px;height:56px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-action-sheet-md{display:block}.select-option-label.sc-ion-action-sheet-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1;white-space:normal}.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;right:0;left:0;top:0;bottom:0;display:block;position:fixed;outline:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{right:0;left:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-md:disabled ion-icon.sc-ion-action-sheet-md{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{font-family:var(--ion-font-family, inherit);z-index:1001}.action-sheet-wrapper.sc-ion-action-sheet-md{z-index:10}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:0.04;--button-background-focused:currentColor;--button-background-focused-opacity:0.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}`;
|
|
110
114
|
|
|
111
115
|
const ActionSheet = class {
|
|
112
116
|
constructor(hostRef) {
|
|
113
|
-
|
|
114
|
-
index.registerInstance(this, hostRef);
|
|
117
|
+
index.registerInstance(this, hostRef);
|
|
115
118
|
this.didPresent = index.createEvent(this, "ionActionSheetDidPresent", 7);
|
|
116
119
|
this.willPresent = index.createEvent(this, "ionActionSheetWillPresent", 7);
|
|
117
120
|
this.willDismiss = index.createEvent(this, "ionActionSheetWillDismiss", 7);
|
|
@@ -120,9 +123,9 @@ const ActionSheet = class {
|
|
|
120
123
|
this.willPresentShorthand = index.createEvent(this, "willPresent", 7);
|
|
121
124
|
this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
|
|
122
125
|
this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
|
|
123
|
-
this.delegateController =
|
|
126
|
+
this.delegateController = overlays.createDelegateController(this);
|
|
124
127
|
this.lockController = lockController.createLockController();
|
|
125
|
-
this.triggerController =
|
|
128
|
+
this.triggerController = overlays.createTriggerController();
|
|
126
129
|
this.hasRadioButtons = false;
|
|
127
130
|
this.presented = false;
|
|
128
131
|
/** @internal */
|
|
@@ -141,7 +144,7 @@ const ActionSheet = class {
|
|
|
141
144
|
this.backdropDismiss = true;
|
|
142
145
|
/**
|
|
143
146
|
* If `true`, the action sheet will be translucent.
|
|
144
|
-
* Only applies when the
|
|
147
|
+
* Only applies when the theme is `"ios"` and the device supports
|
|
145
148
|
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
146
149
|
*/
|
|
147
150
|
this.translucent = false;
|
|
@@ -158,11 +161,11 @@ const ActionSheet = class {
|
|
|
158
161
|
*/
|
|
159
162
|
this.isOpen = false;
|
|
160
163
|
this.onBackdropTap = () => {
|
|
161
|
-
this.dismiss(undefined,
|
|
164
|
+
this.dismiss(undefined, overlays.BACKDROP);
|
|
162
165
|
};
|
|
163
166
|
this.dispatchCancelHandler = (ev) => {
|
|
164
167
|
const role = ev.detail.role;
|
|
165
|
-
if (
|
|
168
|
+
if (overlays.isCancel(role)) {
|
|
166
169
|
const cancelButton = this.getButtons().find((b) => b.role === 'cancel');
|
|
167
170
|
this.callButtonHandler(cancelButton);
|
|
168
171
|
}
|
|
@@ -201,7 +204,7 @@ const ActionSheet = class {
|
|
|
201
204
|
async present() {
|
|
202
205
|
const unlock = await this.lockController.lock();
|
|
203
206
|
await this.delegateController.attachViewToDom();
|
|
204
|
-
await
|
|
207
|
+
await overlays.present(this, 'actionSheetEnter', iosEnterAnimation, mdEnterAnimation);
|
|
205
208
|
unlock();
|
|
206
209
|
}
|
|
207
210
|
/**
|
|
@@ -218,7 +221,7 @@ const ActionSheet = class {
|
|
|
218
221
|
*/
|
|
219
222
|
async dismiss(data, role) {
|
|
220
223
|
const unlock = await this.lockController.lock();
|
|
221
|
-
const dismissed = await
|
|
224
|
+
const dismissed = await overlays.dismiss(this, data, role, 'actionSheetLeave', iosLeaveAnimation, mdLeaveAnimation);
|
|
222
225
|
if (dismissed) {
|
|
223
226
|
this.delegateController.removeViewFromDom();
|
|
224
227
|
}
|
|
@@ -229,18 +232,18 @@ const ActionSheet = class {
|
|
|
229
232
|
* Returns a promise that resolves when the action sheet did dismiss.
|
|
230
233
|
*/
|
|
231
234
|
onDidDismiss() {
|
|
232
|
-
return
|
|
235
|
+
return overlays.eventMethod(this.el, 'ionActionSheetDidDismiss');
|
|
233
236
|
}
|
|
234
237
|
/**
|
|
235
238
|
* Returns a promise that resolves when the action sheet will dismiss.
|
|
236
239
|
*
|
|
237
240
|
*/
|
|
238
241
|
onWillDismiss() {
|
|
239
|
-
return
|
|
242
|
+
return overlays.eventMethod(this.el, 'ionActionSheetWillDismiss');
|
|
240
243
|
}
|
|
241
244
|
async buttonClick(button) {
|
|
242
245
|
const role = button.role;
|
|
243
|
-
if (
|
|
246
|
+
if (overlays.isCancel(role)) {
|
|
244
247
|
return this.dismiss(button.data, role);
|
|
245
248
|
}
|
|
246
249
|
const shouldDismiss = await this.callButtonHandler(button);
|
|
@@ -253,7 +256,7 @@ const ActionSheet = class {
|
|
|
253
256
|
if (button) {
|
|
254
257
|
// a handler has been provided, execute it
|
|
255
258
|
// pass the handler the values from the inputs
|
|
256
|
-
const rtn = await
|
|
259
|
+
const rtn = await overlays.safeCall(button.handler);
|
|
257
260
|
if (rtn === false) {
|
|
258
261
|
// if the return value of the handler is false then do not dismiss
|
|
259
262
|
return false;
|
|
@@ -275,7 +278,7 @@ const ActionSheet = class {
|
|
|
275
278
|
getRadioButtons() {
|
|
276
279
|
return this.getButtons().filter((b) => {
|
|
277
280
|
const role = b.htmlAttributes?.role;
|
|
278
|
-
return role === 'radio' && !
|
|
281
|
+
return role === 'radio' && !overlays.isCancel(role);
|
|
279
282
|
});
|
|
280
283
|
}
|
|
281
284
|
/**
|
|
@@ -377,14 +380,14 @@ const ActionSheet = class {
|
|
|
377
380
|
}
|
|
378
381
|
}
|
|
379
382
|
connectedCallback() {
|
|
380
|
-
|
|
383
|
+
overlays.prepareOverlay(this.el);
|
|
381
384
|
this.triggerChanged();
|
|
382
385
|
// `componentDidLoad` only fires once per instance, so a reconnect has to
|
|
383
386
|
// rebuild the gesture its disconnect destroyed.
|
|
384
387
|
this.setupButtonActiveGesture();
|
|
385
388
|
// Re-apply the root lock if moved without dismiss() being called
|
|
386
389
|
if (this.presented) {
|
|
387
|
-
|
|
390
|
+
overlays.restoreRootFocusTrapAccessibility(this.el);
|
|
388
391
|
}
|
|
389
392
|
}
|
|
390
393
|
disconnectedCallback() {
|
|
@@ -395,12 +398,12 @@ const ActionSheet = class {
|
|
|
395
398
|
this.triggerController.removeClickListener();
|
|
396
399
|
// Clean up aria-hidden if removed without dismiss() being called
|
|
397
400
|
if (this.presented) {
|
|
398
|
-
|
|
401
|
+
overlays.cleanupRootFocusTrapAccessibility();
|
|
399
402
|
}
|
|
400
403
|
}
|
|
401
404
|
componentWillLoad() {
|
|
402
405
|
if (!this.htmlAttributes?.id) {
|
|
403
|
-
|
|
406
|
+
overlays.setOverlayId(this.el);
|
|
404
407
|
}
|
|
405
408
|
// Initialize activeRadioId for radio buttons
|
|
406
409
|
this.buttonsChanged();
|
|
@@ -451,7 +454,7 @@ const ActionSheet = class {
|
|
|
451
454
|
this.triggerChanged();
|
|
452
455
|
}
|
|
453
456
|
renderActionSheetButtons(filteredButtons) {
|
|
454
|
-
const
|
|
457
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
455
458
|
const { activeRadioId } = this;
|
|
456
459
|
return filteredButtons.map((b, index$1) => {
|
|
457
460
|
const isRadio = b.htmlAttributes?.role === 'radio';
|
|
@@ -514,27 +517,27 @@ const ActionSheet = class {
|
|
|
514
517
|
this.selectRadioButton(b);
|
|
515
518
|
}
|
|
516
519
|
this.buttonClick(b);
|
|
517
|
-
}, disabled: b.disabled, tabIndex: tabIndex }, index.h("span", { class: "action-sheet-button-inner" }, b.icon && index.h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), selectOptionRender.renderOptionLabel(optionLabelOptions, 'action-sheet-button-label', true)),
|
|
520
|
+
}, disabled: b.disabled, tabIndex: tabIndex }, index.h("span", { class: "action-sheet-button-inner" }, b.icon && index.h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), selectOptionRender.renderOptionLabel(optionLabelOptions, 'action-sheet-button-label', true)), theme === 'md' && index.h("ion-ripple-effect", null)));
|
|
518
521
|
});
|
|
519
522
|
}
|
|
520
523
|
render() {
|
|
521
524
|
const { header, htmlAttributes, overlayIndex, hasRadioButtons } = this;
|
|
522
|
-
const
|
|
525
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
523
526
|
const allButtons = this.getButtons();
|
|
524
527
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
525
528
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
526
529
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
527
|
-
return (index.h(index.Host, { key: '
|
|
530
|
+
return (index.h(index.Host, { key: 'bc48c9983f6f9b87d4addce02d82274d5599bae0', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1", ...htmlAttributes, style: {
|
|
528
531
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
529
532
|
}, class: {
|
|
530
|
-
[
|
|
533
|
+
[theme$1]: true,
|
|
531
534
|
...theme.getClassMap(this.cssClass),
|
|
532
535
|
'overlay-hidden': true,
|
|
533
536
|
'action-sheet-translucent': this.translucent,
|
|
534
|
-
}, onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index.h("ion-backdrop", { key: '
|
|
537
|
+
}, onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index.h("ion-backdrop", { key: '76be86cb9b2fdde1e66cf4c0f03b90683f2ee4cd', tappable: this.backdropDismiss }), index.h("div", { key: 'c6523b8164cff7e4666c9af5298c9bf308025013', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '312a0b62a6f532b9dee00dfb211d3b97bb74c789', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index.h("div", { key: 'feb8555c00e9877611ce82bf4c81f0d5efc61b14', class: "action-sheet-container" }, index.h("div", { key: '75d086bf210048ceda477a7377163e5ad45bc6d1', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined, "data-roving-focus": hasRadioButtons ? true : undefined }, header !== undefined && (index.h("div", { key: '6e7c42b8bdcf73a2b66f13f3224083bb0d37df35', id: headerID, class: {
|
|
535
538
|
'action-sheet-title': true,
|
|
536
539
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
537
|
-
} }, header, this.subHeader && index.h("div", { key: '
|
|
540
|
+
} }, header, this.subHeader && index.h("div", { key: '111488ced63fc037f894294be91db6a66471ea85', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (index.h("div", { key: '314e2a1915940b756bcd8bb720b60efcbf56ad10', class: "action-sheet-group action-sheet-group-cancel" }, index.h("button", { key: 'a48e39e72a559ff69fa870f276a248a6087f6c47', ...cancelButton.htmlAttributes, type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }, index.h("span", { key: '018844992da6bf5217e52d6a942601bbe9a1ab4f', class: "action-sheet-button-inner" }, cancelButton.icon && (index.h("ion-icon", { key: '93e73400695e3aee48e54382cea0e7618ce76abc', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '8332a0a6a7e4e321b176843c491f4be8a833b9bc' })))))), index.h("div", { key: '525d6407cd943430aa57070de9ab078ad433a124', tabindex: "0", "aria-hidden": "true" })));
|
|
538
541
|
}
|
|
539
542
|
get el() { return index.getElement(this); }
|
|
540
543
|
static get watchers() { return {
|
|
@@ -559,6 +562,7 @@ const buttonClass = (button) => {
|
|
|
559
562
|
};
|
|
560
563
|
};
|
|
561
564
|
ActionSheet.style = {
|
|
565
|
+
ionic: actionSheetIonicCss(),
|
|
562
566
|
ios: actionSheetIosCss(),
|
|
563
567
|
md: actionSheetMdCss()
|
|
564
568
|
};
|