@ionic/core 9.0.11-nightly.20261111 → 9.0.12-dev.11794435138.1d5cadc3
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-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker.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-D8FyR2IB.js → p-28_KCxSf.js} +1 -1
- package/components/{p-PkD1iLNN.js → p-2r7QpBW2.js} +1 -1
- package/components/{p-CW84OFQa.js → p-5LnxYgt7.js} +1 -1
- package/components/{p-CvyvLbPe.js → p-B89FqNe7.js} +1 -1
- package/components/p-BAAtTHkh.js +4 -0
- package/components/{p-CjPRDxby.js → p-BE1iSZxK.js} +1 -1
- package/components/p-BEN_dW38.js +4 -0
- package/components/{p-Dy7x-KDF.js → p-BFhqMUFJ.js} +1 -1
- package/components/{p-DRm4t-by.js → p-BKzm8GnQ.js} +1 -1
- package/components/{p-DHo45oj7.js → p-BPW1yhC5.js} +1 -1
- package/components/{p-HthJZjZ6.js → p-BRwclc4v.js} +1 -1
- package/components/{p-ChkSQqfP.js → p-BU1um0go.js} +1 -1
- package/components/{p-DaW9OZ6S.js → p-BaD2k7-g.js} +1 -1
- package/components/{p-RhI78AKb.js → p-Bl36leJI.js} +1 -1
- package/components/{p-B3dSuofL.js → p-Bp-vRdq-.js} +1 -1
- package/components/{p-DnBabjgY.js → p-BqRR1T5F.js} +1 -1
- package/components/{p-BT2InaHz.js → p-By_XQw23.js} +1 -1
- package/components/{p-07wRJfkt.js → p-C6Eoe8TE.js} +1 -1
- package/components/p-C6mx0RsH.js +4 -0
- package/components/{p-7KepMw9O.js → p-C7PoQnxN.js} +1 -1
- package/components/{p-C8BAigo3.js → p-CApfTEZu.js} +1 -1
- package/components/{p-D5_mEbGJ.js → p-CHtaS-1H.js} +1 -1
- package/components/{p-D_U0pDe5.js → p-CHw0oDIX.js} +1 -1
- package/components/p-CVWleXIL.js +4 -0
- package/components/p-CeRIYiar.js +4 -0
- package/components/{p-BBsseItU.js → p-CekDicbC.js} +1 -1
- package/components/p-Cjd_foSx.js +4 -0
- package/components/{p-z-EWo6r-.js → p-Cs66-da5.js} +1 -1
- package/components/{p-DTGCMApY.js → p-CsEqD5L_.js} +1 -1
- package/components/p-CxYMGJTr.js +4 -0
- package/components/{p-hLu-eIbb.js → p-CyOxaozL.js} +1 -1
- package/{dist/ionic/p-CJmyfI8x.js → components/p-D2CH_C1y.js} +1 -1
- package/components/{p-BrrMFd9K.js → p-D3Kil3Ox.js} +1 -1
- package/components/{p-BWbz71uB.js → p-D7J-iv5T.js} +1 -1
- package/{dist/ionic/p-e1haAYzm.js → components/p-DBdOjgB_.js} +1 -1
- package/{dist/ionic/p-BO10QT9r.js → components/p-DDML-XXM.js} +1 -1
- package/components/{p-ChsJlFCQ.js → p-DPypH5J1.js} +1 -1
- package/components/{p-CqvARtmt.js → p-DSGxE4YQ.js} +1 -1
- package/components/{p-KbMCbGRA.js → p-DVRS13xd.js} +1 -1
- package/components/p-DVa8nma_.js +4 -0
- package/components/{p-7NbIvzb4.js → p-DX2WL1Da.js} +1 -1
- package/components/p-Dhhot0Wu.js +4 -0
- package/components/{p-Dbi3KqKm.js → p-Di_8hcJD.js} +1 -1
- package/components/{p-C-SO5kIs.js → p-Dkw9q24a.js} +1 -1
- package/components/{p-BMHdI-wb.js → p-DrXp7JFH.js} +1 -1
- package/components/{p-3avHDbEF.js → p-Dt1Xl4fS.js} +1 -1
- package/components/p-DuG_CBXq.js +4 -0
- package/components/p-HIqLOae3.js +4 -0
- package/components/{p-BZ1k9WL7.js → p-Zt5D5E38.js} +1 -1
- package/components/p-dgUknkY4.js +4 -0
- package/components/{p-DwTzX8Vi.js → p-fCziDtBc.js} +1 -1
- package/components/{p-CUQjkOdi.js → p-oTJGwohD.js} +1 -1
- package/dist/cjs/{animation-UiXhXV49.js → animation-B7oGwLLy.js} +2 -2
- package/dist/cjs/{app-globals-BoFCZq0K.js → app-globals-CIBBAkMv.js} +1 -1
- package/dist/cjs/attribute-controller-bNeK5E15.js +219 -0
- package/dist/cjs/{button-active-DzN1aPt-.js → button-active-B9Tkc4mf.js} +2 -2
- package/dist/cjs/{capacitor-BTjfXFlK.js → capacitor-MxFQgshb.js} +1 -1
- package/dist/cjs/{format-CVjpvAl1.js → format-CqApCy46.js} +1 -1
- package/dist/cjs/{framework-delegate-hNMKEiQC.js → framework-delegate-DAKg2Azt.js} +1 -1
- package/dist/cjs/{haptic-BD5qPgy8.js → haptic-CRRCyhfL.js} +1 -1
- package/dist/cjs/{helpers-BrETKUUX.js → helpers-BDvjDsXt.js} +1 -1
- package/dist/cjs/{index-BTc0Jnhx.js → index-BUIZTwKD.js} +5 -5
- package/dist/cjs/{index-DNBYnlrc.js → index-BashZvQB.js} +4 -4
- package/dist/cjs/{index-bwclzjks.js → index-BecWuzkK.js} +2 -2
- package/dist/cjs/{index-BiQyIvoc.js → index-CKee8md4.js} +71 -35
- package/dist/cjs/{index-DMz2Eyis.js → index-D02LHDVd.js} +2 -2
- package/dist/cjs/{index-B4ONUQRp.js → index-DJX-8rkB.js} +1 -1
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-CRmdShL9.js → input-shims-ClPpap7E.js} +5 -5
- package/dist/cjs/{input.utils-Becpo0ax.js → input.utils-DXw7l7p9.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +13 -12
- package/dist/cjs/ion-alert.cjs.entry.js +13 -12
- package/dist/cjs/ion-app_8.cjs.entry.js +32 -24
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -5
- package/dist/cjs/ion-back-button.cjs.entry.js +16 -6
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +33 -9
- package/dist/cjs/ion-button_2.cjs.entry.js +17 -9
- package/dist/cjs/ion-card_5.cjs.entry.js +36 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -5
- package/dist/cjs/ion-chip.cjs.entry.js +4 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +8 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -5
- package/dist/cjs/ion-datetime.cjs.entry.js +8 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +18 -8
- package/dist/cjs/ion-img.cjs.entry.js +5 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +9 -7
- package/dist/cjs/ion-input-otp.cjs.entry.js +5 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +4 -3
- package/dist/cjs/ion-input.cjs.entry.js +7 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +23 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +38 -14
- package/dist/cjs/ion-loading.cjs.entry.js +9 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +24 -12
- package/dist/cjs/ion-modal.cjs.entry.js +13 -12
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -6
- package/dist/cjs/ion-picker.cjs.entry.js +4 -3
- package/dist/cjs/ion-popover.cjs.entry.js +9 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +8 -6
- package/dist/cjs/ion-range.cjs.entry.js +6 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +12 -10
- package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +4 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +26 -10
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +3 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +14 -7
- package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +22 -14
- package/dist/cjs/ion-spinner.cjs.entry.js +4 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -3
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +21 -10
- package/dist/cjs/ion-tab_2.cjs.entry.js +7 -5
- package/dist/cjs/ion-text.cjs.entry.js +4 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -6
- package/dist/cjs/ion-toast.cjs.entry.js +9 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -7
- package/dist/cjs/{ionic-global-48ceLiJ6.js → ionic-global-Bt1gOF3y.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-CN092Fh6.js → ios.transition-CExZyoOI.js} +4 -4
- package/dist/cjs/{item-multiple-inputs-C-hz7xrh.js → item-multiple-inputs-DCadv5DD.js} +1 -1
- package/dist/cjs/{keyboard-4OBzkjOG.js → keyboard-DcLeJI_8.js} +4 -4
- package/dist/cjs/{keyboard-BMpscicm.js → keyboard-OOIuCa13.js} +1 -1
- package/dist/cjs/{keyboard-controller-DZE97OtR.js → keyboard-controller-BMyz0P1a.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-B6961Ny9.js → md.transition-DaAVTRvs.js} +4 -4
- package/dist/cjs/{overlays-BbVQG3UT.js → overlays-D4y6dLkd.js} +4 -4
- package/dist/cjs/{select-option-render-CzyhrkOu.js → select-option-render-XNNDfPjV.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-CRa_cKOh.js → slot-mutation-controller-DPIgf5CF.js} +1 -1
- package/dist/cjs/{status-tap-hRIvObiJ.js → status-tap-DsMxsZJD.js} +3 -3
- package/dist/cjs/{swipe-back-C-aigThB.js → swipe-back-DTBGxsBq.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/back-button/back-button.js +12 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js +28 -5
- package/dist/collection/components/button/button.js +10 -4
- package/dist/collection/components/card/card.js +24 -3
- package/dist/collection/components/fab-button/fab-button.js +10 -3
- package/dist/collection/components/item/item.js +19 -3
- package/dist/collection/components/item-option/item-option.js +14 -3
- package/dist/collection/components/menu-button/menu-button.js +12 -3
- package/dist/collection/components/router-link/router-link.js +15 -3
- package/dist/collection/components/segment-button/segment-button.js +7 -2
- package/dist/collection/components/select/select.js +8 -3
- package/dist/collection/components/tab-button/tab-button.js +12 -3
- package/dist/collection/utils/attribute-controller.js +107 -20
- package/dist/docs.json +2 -2
- package/dist/esm/{animation-C_V9lXzL.js → animation-DC5AcIYI.js} +2 -2
- package/dist/esm/{app-globals-CNfpAPW6.js → app-globals-BFed4dT0.js} +1 -1
- package/dist/esm/attribute-controller-ClTQeZiJ.js +215 -0
- package/dist/esm/{button-active-rB-Ct9KZ.js → button-active-C2jz6R8a.js} +2 -2
- package/dist/esm/{capacitor-BY7l8HgR.js → capacitor-Bt0eJ0hM.js} +1 -1
- package/dist/esm/{format-Ck1cw5z7.js → format-C833IXB1.js} +1 -1
- package/dist/esm/{framework-delegate-CW5_kWfc.js → framework-delegate-DnTzYR1W.js} +1 -1
- package/dist/esm/{haptic-ES_sSPLn.js → haptic-ChR8my2M.js} +1 -1
- package/dist/esm/{helpers-p94IkmEA.js → helpers-BvbUHGGm.js} +1 -1
- package/dist/esm/{index-BpRUsN_W.js → index-BGtO2Fhf.js} +71 -35
- package/dist/esm/{index-CBkVO5D0.js → index-BObCPR8a.js} +2 -2
- package/dist/esm/{index-txcXIB3P.js → index-BXaoLxIE.js} +5 -5
- package/dist/esm/{index-DLDbwWW7.js → index-DFG3GaUN.js} +2 -2
- package/dist/esm/{index-CK8uF0iB.js → index-I3r9qsv0.js} +1 -1
- package/dist/esm/{index-vgPixHgF.js → index-MGm9Sl6h.js} +4 -4
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-KNXj3DAv.js → input-shims-DmHorap3.js} +5 -5
- package/dist/esm/{input.utils-DZY_K8Po.js → input.utils-CBbgDLtb.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +7 -5
- package/dist/esm/ion-action-sheet.entry.js +13 -12
- package/dist/esm/ion-alert.entry.js +13 -12
- package/dist/esm/ion-app_8.entry.js +32 -24
- package/dist/esm/ion-avatar_3.entry.js +8 -5
- package/dist/esm/ion-back-button.entry.js +16 -6
- package/dist/esm/ion-backdrop.entry.js +4 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +33 -9
- package/dist/esm/ion-button_2.entry.js +17 -9
- package/dist/esm/ion-card_5.entry.js +36 -11
- package/dist/esm/ion-checkbox.entry.js +6 -5
- package/dist/esm/ion-chip.entry.js +4 -3
- package/dist/esm/ion-col_3.entry.js +8 -5
- package/dist/esm/ion-datetime-button.entry.js +6 -5
- package/dist/esm/ion-datetime.entry.js +8 -7
- package/dist/esm/ion-fab_3.entry.js +18 -8
- package/dist/esm/ion-img.entry.js +5 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +9 -7
- package/dist/esm/ion-input-otp.entry.js +5 -4
- package/dist/esm/ion-input-password-toggle.entry.js +4 -3
- package/dist/esm/ion-input.entry.js +7 -6
- package/dist/esm/ion-item-option_3.entry.js +23 -9
- package/dist/esm/ion-item_8.entry.js +38 -14
- package/dist/esm/ion-loading.entry.js +9 -8
- package/dist/esm/ion-menu_3.entry.js +24 -12
- package/dist/esm/ion-modal.entry.js +13 -12
- package/dist/esm/ion-nav_2.entry.js +10 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -4
- package/dist/esm/ion-picker-column.entry.js +7 -6
- package/dist/esm/ion-picker.entry.js +4 -3
- package/dist/esm/ion-popover.entry.js +9 -8
- package/dist/esm/ion-progress-bar.entry.js +5 -4
- package/dist/esm/ion-radio_2.entry.js +8 -6
- package/dist/esm/ion-range.entry.js +6 -5
- package/dist/esm/ion-refresher_2.entry.js +12 -10
- package/dist/esm/ion-reorder_2.entry.js +10 -8
- package/dist/esm/ion-ripple-effect.entry.js +4 -3
- package/dist/esm/ion-route_4.entry.js +26 -10
- package/dist/esm/ion-searchbar.entry.js +5 -4
- package/dist/esm/ion-segment-content.entry.js +3 -2
- package/dist/esm/ion-segment-view.entry.js +3 -2
- package/dist/esm/ion-segment_2.entry.js +14 -7
- package/dist/esm/ion-select-modal.entry.js +9 -8
- package/dist/esm/ion-select_3.entry.js +22 -14
- package/dist/esm/ion-spinner.entry.js +4 -3
- package/dist/esm/ion-split-pane.entry.js +4 -3
- package/dist/esm/ion-tab-bar_2.entry.js +21 -10
- package/dist/esm/ion-tab_2.entry.js +7 -5
- package/dist/esm/ion-text.entry.js +4 -3
- package/dist/esm/ion-textarea.entry.js +7 -6
- package/dist/esm/ion-toast.entry.js +9 -8
- package/dist/esm/ion-toggle.entry.js +8 -7
- package/dist/esm/{ionic-global-Cep6oYzK.js → ionic-global-BDyJ_8I-.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-CW92wRDL.js → ios.transition-BRRzMHfK.js} +4 -4
- package/dist/esm/{item-multiple-inputs-Bd2LO7qK.js → item-multiple-inputs-IPlsPhUJ.js} +1 -1
- package/dist/esm/{keyboard-CutS8BPd.js → keyboard-BFjnkNMv.js} +1 -1
- package/dist/esm/{keyboard-BumguZrM.js → keyboard-DUoJXTRE.js} +4 -4
- package/dist/esm/{keyboard-controller-DqohyEsZ.js → keyboard-controller-BA84p4ML.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-yhfkYX1P.js → md.transition-BlNVIP5o.js} +4 -4
- package/dist/esm/{overlays-BBgMM61s.js → overlays-DR4E-YYD.js} +4 -4
- package/dist/esm/{select-option-render-BSDT9oSA.js → select-option-render-BUBAvw2_.js} +2 -2
- package/dist/esm/{slot-mutation-controller-uKdPbY9K.js → slot-mutation-controller-DBmgz_0k.js} +1 -1
- package/dist/esm/{status-tap-BskkGI4e.js → status-tap-z4LuyVUt.js} +3 -3
- package/dist/esm/{swipe-back-BZdyM2Q-.js → swipe-back-C1eBKfiK.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-03bb02b6.entry.js +4 -0
- package/dist/ionic/p-05a057fb.entry.js +4 -0
- package/dist/ionic/p-1238548e.entry.js +4 -0
- package/dist/ionic/p-1274e8e0.entry.js +4 -0
- package/dist/ionic/p-1419107d.entry.js +4 -0
- package/dist/ionic/p-1616c2e3.entry.js +4 -0
- package/dist/ionic/p-1a4d6cf3.entry.js +4 -0
- package/dist/ionic/p-1ae4b282.entry.js +4 -0
- package/dist/ionic/p-1b7a15d4.entry.js +4 -0
- package/dist/ionic/{p-BWKtcudz.js → p-1feuPAQy.js} +1 -1
- package/dist/ionic/p-2090c9dd.entry.js +4 -0
- package/dist/ionic/p-26aa0bea.entry.js +4 -0
- package/dist/ionic/p-2f68b3c0.entry.js +4 -0
- package/dist/ionic/p-2fab8bf5.entry.js +4 -0
- package/dist/ionic/p-333b8225.entry.js +4 -0
- package/dist/ionic/p-33c41604.entry.js +4 -0
- package/dist/ionic/p-46f2c59f.entry.js +4 -0
- package/dist/ionic/p-4ecf0d94.entry.js +4 -0
- package/dist/ionic/p-4f02f020.entry.js +4 -0
- package/dist/ionic/p-52186d6b.entry.js +4 -0
- package/dist/ionic/p-53b6ab69.entry.js +4 -0
- package/dist/ionic/p-605d5a7e.entry.js +4 -0
- package/dist/ionic/p-66adc5a1.entry.js +4 -0
- package/dist/ionic/p-6a746af4.entry.js +4 -0
- package/dist/ionic/p-6e7d46fa.entry.js +4 -0
- package/dist/ionic/p-736344e9.entry.js +4 -0
- package/dist/ionic/p-74dda4e5.entry.js +4 -0
- package/dist/ionic/p-79e645bd.entry.js +4 -0
- package/dist/ionic/p-7hQRImkK.js +4 -0
- package/dist/ionic/p-88cf20d2.entry.js +4 -0
- package/dist/ionic/p-98d3a2be.entry.js +4 -0
- package/dist/ionic/p-9e3b3263.entry.js +4 -0
- package/dist/ionic/{p-8B39TMv-.js → p-B9cO-kYV.js} +1 -1
- package/dist/ionic/p-BGtO2Fhf.js +6 -0
- package/dist/ionic/{p-C4SpVvhx.js → p-BNupGwtk.js} +1 -1
- package/dist/ionic/{p-DArnNWiu.js → p-BkcYeWXi.js} +1 -1
- package/dist/ionic/p-Bl_jKJLv.js +4 -0
- package/dist/ionic/p-BmeHOspf.js +4 -0
- package/dist/ionic/{p-5a3UxQAh.js → p-C7A9OQcL.js} +1 -1
- package/{components/p-R4UxBukQ.js → dist/ionic/p-CBq1CZwb.js} +1 -1
- package/dist/ionic/{p-DxftXYZp.js → p-CNyAVKal.js} +1 -1
- package/dist/ionic/p-CRgN46qV.js +4 -0
- package/dist/ionic/p-CYKfkI6i.js +4 -0
- package/dist/ionic/{p-BBZQUbCq.js → p-C_0lvVN_.js} +1 -1
- package/{components/p-CdrNHfZl.js → dist/ionic/p-Ci4965j8.js} +1 -1
- package/dist/ionic/{p-SEecsUh7.js → p-CjUT_VTP.js} +1 -1
- package/{components/p-LkEGRiq0.js → dist/ionic/p-Cw2UdaY3.js} +1 -1
- package/dist/ionic/{p-DFPZa_No.js → p-D0_5-Ckh.js} +1 -1
- package/dist/ionic/p-D5TRCRie.js +4 -0
- package/dist/ionic/p-DCzujr0Q.js +4 -0
- package/dist/ionic/{p-B2JD8_LP.js → p-DJqMQDf-.js} +1 -1
- package/dist/ionic/{p-CfccUand.js → p-DRGrDfWv.js} +1 -1
- package/dist/ionic/p-Dqz9qh-H.js +4 -0
- package/dist/ionic/{p-Cf6KtUnA.js → p-RJtRqfIz.js} +1 -1
- package/dist/ionic/p-SfKXFiOB.js +4 -0
- package/dist/ionic/{p-CNdt1FPc.js → p-UUJgswAN.js} +1 -1
- package/dist/ionic/p-a4df0e91.entry.js +4 -0
- package/dist/ionic/p-a992a35b.entry.js +4 -0
- package/dist/ionic/p-b5e6edf6.entry.js +4 -0
- package/dist/ionic/p-b872f43e.entry.js +4 -0
- package/dist/ionic/p-b922806b.entry.js +4 -0
- package/dist/ionic/p-bf720fd6.entry.js +4 -0
- package/dist/ionic/p-c1209b84.entry.js +4 -0
- package/dist/ionic/p-c394744f.entry.js +4 -0
- package/dist/ionic/p-c7315410.entry.js +4 -0
- package/dist/ionic/p-ca4a06e6.entry.js +4 -0
- package/dist/ionic/p-ca608663.entry.js +4 -0
- package/dist/ionic/p-d0d4482d.entry.js +4 -0
- package/dist/ionic/p-d4afa00a.entry.js +4 -0
- package/dist/ionic/p-d7749f70.entry.js +4 -0
- package/dist/ionic/p-db93830d.entry.js +4 -0
- package/dist/ionic/p-dd3d4a4f.entry.js +4 -0
- package/dist/ionic/{p-B2y1T0dN.js → p-de2BC0yO.js} +1 -1
- package/dist/ionic/p-df8a4ddd.entry.js +4 -0
- package/dist/ionic/p-df9ebba7.entry.js +4 -0
- package/dist/ionic/p-eb93c676.entry.js +4 -0
- package/dist/ionic/p-ec4dbb45.entry.js +4 -0
- package/dist/ionic/p-f0206bd7.entry.js +4 -0
- package/dist/ionic/{p-96d040b0.entry.js → p-fcc5b886.entry.js} +1 -1
- package/dist/ionic/p-rXvVaOP9.js +4 -0
- package/dist/ionic/{p-DCmOKz8e.js → p-ynrl9u5l.js} +1 -1
- package/dist/types/components/back-button/back-button.d.ts +3 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +8 -0
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/card/card.d.ts +6 -0
- package/dist/types/components/fab-button/fab-button.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +6 -0
- package/dist/types/components/item-option/item-option.d.ts +4 -0
- package/dist/types/components/menu-button/menu-button.d.ts +3 -0
- package/dist/types/components/router-link/router-link.d.ts +5 -0
- package/dist/types/components/segment-button/segment-button.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/tab-button/tab-button.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/attribute-controller.d.ts +28 -6
- package/hydrate/index.js +574 -262
- package/hydrate/index.mjs +574 -262
- package/package.json +2 -2
- package/components/p-C0TdbIVo.js +0 -4
- package/components/p-C6Y0cCH_.js +0 -4
- package/components/p-CCFj0kgH.js +0 -4
- package/components/p-CRb2xRCz.js +0 -4
- package/components/p-CohRJRIu.js +0 -4
- package/components/p-Ct2aBEue.js +0 -4
- package/components/p-CwEis84J.js +0 -4
- package/components/p-DLEJ61lJ.js +0 -4
- package/components/p-Dah8BCNg.js +0 -4
- package/components/p-DaojW_d_.js +0 -4
- package/components/p-Ds5vN3iu.js +0 -4
- package/components/p-kKGBuIkf.js +0 -4
- package/dist/cjs/attribute-controller-0-lwbVEj.js +0 -131
- package/dist/esm/attribute-controller-ItNOXNp9.js +0 -128
- package/dist/ionic/p-00cd107d.entry.js +0 -4
- package/dist/ionic/p-013b9aba.entry.js +0 -4
- package/dist/ionic/p-014c3633.entry.js +0 -4
- package/dist/ionic/p-0562139b.entry.js +0 -4
- package/dist/ionic/p-0a789930.entry.js +0 -4
- package/dist/ionic/p-0f1613f2.entry.js +0 -4
- package/dist/ionic/p-1252621e.entry.js +0 -4
- package/dist/ionic/p-129f7b95.entry.js +0 -4
- package/dist/ionic/p-16de8fd9.entry.js +0 -4
- package/dist/ionic/p-1bb1be7e.entry.js +0 -4
- package/dist/ionic/p-1f342c2d.entry.js +0 -4
- package/dist/ionic/p-1ffa5577.entry.js +0 -4
- package/dist/ionic/p-210f906e.entry.js +0 -4
- package/dist/ionic/p-27960f65.entry.js +0 -4
- package/dist/ionic/p-3c6fc2e8.entry.js +0 -4
- package/dist/ionic/p-436d4ac8.entry.js +0 -4
- package/dist/ionic/p-43729675.entry.js +0 -4
- package/dist/ionic/p-4468e439.entry.js +0 -4
- package/dist/ionic/p-4e4e5919.entry.js +0 -4
- package/dist/ionic/p-51af4728.entry.js +0 -4
- package/dist/ionic/p-59e4b521.entry.js +0 -4
- package/dist/ionic/p-5b47b8d5.entry.js +0 -4
- package/dist/ionic/p-5dcddfd5.entry.js +0 -4
- package/dist/ionic/p-694f3e78.entry.js +0 -4
- package/dist/ionic/p-76c189e7.entry.js +0 -4
- package/dist/ionic/p-77252596.entry.js +0 -4
- package/dist/ionic/p-77540bcb.entry.js +0 -4
- package/dist/ionic/p-77e7b612.entry.js +0 -4
- package/dist/ionic/p-7868eb92.entry.js +0 -4
- package/dist/ionic/p-800ce1e0.entry.js +0 -4
- package/dist/ionic/p-84470714.entry.js +0 -4
- package/dist/ionic/p-87fb6d59.entry.js +0 -4
- package/dist/ionic/p-8af85fa8.entry.js +0 -4
- package/dist/ionic/p-8c85e250.entry.js +0 -4
- package/dist/ionic/p-8dQB1sG_.js +0 -4
- package/dist/ionic/p-9515f840.entry.js +0 -4
- package/dist/ionic/p-9d7e5a0b.entry.js +0 -4
- package/dist/ionic/p-B0afqOUt.js +0 -4
- package/dist/ionic/p-BHBb21Hp.js +0 -4
- package/dist/ionic/p-BexAj0yw.js +0 -4
- package/dist/ionic/p-BgkRGRO3.js +0 -4
- package/dist/ionic/p-BpRUsN_W.js +0 -6
- package/dist/ionic/p-DBFcFCH5.js +0 -4
- package/dist/ionic/p-DYKDWM2f.js +0 -4
- package/dist/ionic/p-DfvWlTdB.js +0 -4
- package/dist/ionic/p-DriE1ZAo.js +0 -4
- package/dist/ionic/p-DzQk7Lu8.js +0 -4
- package/dist/ionic/p-a45caa30.entry.js +0 -4
- package/dist/ionic/p-af15fc5d.entry.js +0 -4
- package/dist/ionic/p-af4b4719.entry.js +0 -4
- package/dist/ionic/p-b0faaae2.entry.js +0 -4
- package/dist/ionic/p-b3aadfe8.entry.js +0 -4
- package/dist/ionic/p-b5bcbbc1.entry.js +0 -4
- package/dist/ionic/p-c293f854.entry.js +0 -4
- package/dist/ionic/p-c56c23b6.entry.js +0 -4
- package/dist/ionic/p-c7ea2647.entry.js +0 -4
- package/dist/ionic/p-c8c77f7b.entry.js +0 -4
- package/dist/ionic/p-cbc73380.entry.js +0 -4
- package/dist/ionic/p-d58e9da3.entry.js +0 -4
- package/dist/ionic/p-ec08a7e6.entry.js +0 -4
- package/dist/ionic/p-f37e6ed2.entry.js +0 -4
- package/dist/ionic/p-f6a1ab48.entry.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, f as Host } from './index-
|
|
5
|
-
import { b as getIonMode } from './ionic-global-
|
|
4
|
+
import { r as registerInstance, h, f as Host } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
6
6
|
import { c as createColorClasses } from './theme-byZM6qHV.js';
|
|
7
7
|
|
|
8
8
|
const avatarIosCss = () => `:host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}`;
|
|
@@ -11,7 +11,8 @@ const avatarMdCss = () => `:host{border-radius:var(--border-radius);display:bloc
|
|
|
11
11
|
|
|
12
12
|
const Avatar = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
|
-
|
|
14
|
+
if (new.target === Avatar)
|
|
15
|
+
registerInstance(this, hostRef);
|
|
15
16
|
}
|
|
16
17
|
render() {
|
|
17
18
|
return (h(Host, { key: '998217066084f966bf5d356fed85bcbd451f675a', class: getIonMode(this) }, h("slot", { key: '1a6f7c9d4dc6a875f86b5b3cda6d59cb39587f22' })));
|
|
@@ -28,7 +29,8 @@ const badgeMdCss = () => `:host{--background:var(--ion-color-primary, #0054e9);-
|
|
|
28
29
|
|
|
29
30
|
const Badge = class {
|
|
30
31
|
constructor(hostRef) {
|
|
31
|
-
|
|
32
|
+
if (new.target === Badge)
|
|
33
|
+
registerInstance(this, hostRef);
|
|
32
34
|
}
|
|
33
35
|
render() {
|
|
34
36
|
const mode = getIonMode(this);
|
|
@@ -46,7 +48,8 @@ const thumbnailCss = () => `:host{--size:48px;--border-radius:0;border-radius:va
|
|
|
46
48
|
|
|
47
49
|
const Thumbnail = class {
|
|
48
50
|
constructor(hostRef) {
|
|
49
|
-
|
|
51
|
+
if (new.target === Thumbnail)
|
|
52
|
+
registerInstance(this, hostRef);
|
|
50
53
|
}
|
|
51
54
|
render() {
|
|
52
55
|
return (h(Host, { key: 'ff9d2a4886b1c90a316c761f1160111f0e997f5d', class: getIonMode(this) }, h("slot", { key: '9a0f0d69e3713831e88c8770a60b28ff1a03abb6' })));
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, i as config, h, f as Host, g as getElement } from './index-
|
|
5
|
-
import {
|
|
4
|
+
import { r as registerInstance, i as config, h, f as Host, g as getElement, j as forceUpdate } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { c as createTabindexController } from './attribute-controller-ClTQeZiJ.js';
|
|
6
|
+
import { i as inheritAriaAttributes } from './helpers-BvbUHGGm.js';
|
|
6
7
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme-byZM6qHV.js';
|
|
7
8
|
import { c as chevronBack, a as arrowBackSharp } from './index-BvabGprD.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
9
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
9
10
|
import './dir-Dj4J3LkD.js';
|
|
10
11
|
|
|
11
12
|
const backButtonIosCss = () => `:host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{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;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}`;
|
|
@@ -14,7 +15,8 @@ const backButtonMdCss = () => `:host{--background:transparent;--color-focused:cu
|
|
|
14
15
|
|
|
15
16
|
const BackButton = class {
|
|
16
17
|
constructor(hostRef) {
|
|
17
|
-
|
|
18
|
+
if (new.target === BackButton)
|
|
19
|
+
registerInstance(this, hostRef);
|
|
18
20
|
this.inheritedAttributes = {};
|
|
19
21
|
/**
|
|
20
22
|
* If `true`, the user cannot interact with the button.
|
|
@@ -35,10 +37,17 @@ const BackButton = class {
|
|
|
35
37
|
}
|
|
36
38
|
componentWillLoad() {
|
|
37
39
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
40
|
+
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
|
|
38
41
|
if (this.defaultHref === undefined) {
|
|
39
42
|
this.defaultHref = config.get('backButtonDefaultHref');
|
|
40
43
|
}
|
|
41
44
|
}
|
|
45
|
+
connectedCallback() {
|
|
46
|
+
this.tabindexController?.init();
|
|
47
|
+
}
|
|
48
|
+
disconnectedCallback() {
|
|
49
|
+
this.tabindexController?.destroy();
|
|
50
|
+
}
|
|
42
51
|
get backButtonIcon() {
|
|
43
52
|
const icon = this.icon;
|
|
44
53
|
if (icon != null) {
|
|
@@ -72,7 +81,8 @@ const BackButton = class {
|
|
|
72
81
|
const showBackButton = defaultHref !== undefined;
|
|
73
82
|
const mode = getIonMode(this);
|
|
74
83
|
const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
|
|
75
|
-
|
|
84
|
+
const tabindexAttributes = this.tabindexController?.attributes ?? {};
|
|
85
|
+
return (h(Host, { key: '0b7d30b4421e69c01041819a242bb4d57ee08cdd', onClick: this.onClick, class: createColorClasses(color, {
|
|
76
86
|
[mode]: true,
|
|
77
87
|
button: true, // ion-buttons target .button
|
|
78
88
|
'back-button-disabled': disabled,
|
|
@@ -82,7 +92,7 @@ const BackButton = class {
|
|
|
82
92
|
'ion-activatable': true,
|
|
83
93
|
'ion-focusable': true,
|
|
84
94
|
'show-back-button': showBackButton,
|
|
85
|
-
}) }, h("button", { key: '
|
|
95
|
+
}) }, h("button", { key: '20bf90c1b19af213eb7db6fb105423b1d5552cc7', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel, ...tabindexAttributes }, h("span", { key: '1472b6bac0ae85a040f8de0a505cc6479e96b672', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: '223376e1501ca203b9f6d004707dd1d18b5fc076', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '0e94d0b6c930193ed3762946731cf9f4ae626b72', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), mode === 'md' && h("ion-ripple-effect", { key: '7ef5b94fbbca517f333d1ae55198b373d843fec4', type: this.rippleType }))));
|
|
86
96
|
}
|
|
87
97
|
get el() { return getElement(this); }
|
|
88
98
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, h, f as Host } from './index-
|
|
5
|
-
import { b as getIonMode } from './ionic-global-
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
6
6
|
|
|
7
7
|
const backdropIosCss = () => `:host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}`;
|
|
8
8
|
|
|
@@ -10,7 +10,8 @@ const backdropMdCss = () => `:host{left:0;right:0;top:0;bottom:0;display:block;p
|
|
|
10
10
|
|
|
11
11
|
const Backdrop = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
|
-
|
|
13
|
+
if (new.target === Backdrop)
|
|
14
|
+
registerInstance(this, hostRef);
|
|
14
15
|
this.ionBackdropTap = createEvent(this, "ionBackdropTap", 7);
|
|
15
16
|
/**
|
|
16
17
|
* If `true`, the backdrop will be visible.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, h, f as Host, g as getElement } from './index-
|
|
5
|
-
import {
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, g as getElement, j as forceUpdate } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { c as createTabindexController } from './attribute-controller-ClTQeZiJ.js';
|
|
6
|
+
import { i as inheritAriaAttributes } from './helpers-BvbUHGGm.js';
|
|
6
7
|
import { c as createColorClasses, o as openURL, h as hostContext } from './theme-byZM6qHV.js';
|
|
7
8
|
import { p as chevronForwardOutline, q as ellipsisHorizontal } from './index-BvabGprD.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
9
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
9
10
|
import './dir-Dj4J3LkD.js';
|
|
10
11
|
|
|
11
12
|
const breadcrumbIosCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #2d4665));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}`;
|
|
@@ -14,7 +15,8 @@ const breadcrumbMdCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex:0
|
|
|
14
15
|
|
|
15
16
|
const Breadcrumb = class {
|
|
16
17
|
constructor(hostRef) {
|
|
17
|
-
|
|
18
|
+
if (new.target === Breadcrumb)
|
|
19
|
+
registerInstance(this, hostRef);
|
|
18
20
|
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
19
21
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
20
22
|
this.collapsedClick = createEvent(this, "collapsedClick", 7);
|
|
@@ -48,6 +50,21 @@ const Breadcrumb = class {
|
|
|
48
50
|
}
|
|
49
51
|
componentWillLoad() {
|
|
50
52
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
53
|
+
// A breadcrumb without an `href` has no native link, so `tabindex` stays on the host.
|
|
54
|
+
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Adding or removing `href` adds or removes the native link, so `tabindex` has to move
|
|
58
|
+
* with it.
|
|
59
|
+
*/
|
|
60
|
+
hrefChanged() {
|
|
61
|
+
this.tabindexController?.refresh();
|
|
62
|
+
}
|
|
63
|
+
connectedCallback() {
|
|
64
|
+
this.tabindexController?.init();
|
|
65
|
+
}
|
|
66
|
+
disconnectedCallback() {
|
|
67
|
+
this.tabindexController?.destroy();
|
|
51
68
|
}
|
|
52
69
|
isClickable() {
|
|
53
70
|
return this.href !== undefined;
|
|
@@ -55,6 +72,7 @@ const Breadcrumb = class {
|
|
|
55
72
|
render() {
|
|
56
73
|
const { color, active, collapsed, disabled, download, el, inheritedAttributes, last, routerAnimation, routerDirection, separator, showCollapsedIndicator, target, } = this;
|
|
57
74
|
const clickable = this.isClickable();
|
|
75
|
+
const tabindexAttributes = this.tabindexController?.attributes ?? {};
|
|
58
76
|
const TagType = this.href === undefined ? 'span' : 'a';
|
|
59
77
|
// Links can still be tabbed to when set to disabled if they have an href
|
|
60
78
|
// in order to truly disable them we can keep it as an anchor but remove the href
|
|
@@ -71,7 +89,7 @@ const Breadcrumb = class {
|
|
|
71
89
|
// to show the separator as long as it isn't also the last breadcrumb
|
|
72
90
|
// otherwise if not collapsed use the value in separator
|
|
73
91
|
const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;
|
|
74
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '6f50e8b42045b81771ffd123a3cb708c603c1541', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
75
93
|
[mode]: true,
|
|
76
94
|
'breadcrumb-active': active,
|
|
77
95
|
'breadcrumb-collapsed': collapsed,
|
|
@@ -81,17 +99,22 @@ const Breadcrumb = class {
|
|
|
81
99
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
82
100
|
'ion-activatable': clickable,
|
|
83
101
|
'ion-focusable': clickable,
|
|
84
|
-
}) }, h(TagType, { key: '
|
|
102
|
+
}) }, h(TagType, { key: '4ac14d323e1d35e987862aa9b875d30be2310a71', ...attrs, class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes, ...tabindexAttributes }, h("slot", { key: 'a3598ed5bc506acc4f5bef525cd2404b00228620', name: "start" }), h("slot", { key: '0696a0ffd1513c1d93deb269fdf600e9ef434f17' }), h("slot", { key: 'bf315bd49788604c27b8ba354796250b56f2fcb0', name: "end" })), showCollapsedIndicator && (h("button", { key: 'b130482d7ed16e3c452fa779b0696d1f8687e379', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
|
|
85
103
|
'breadcrumbs-collapsed-indicator': true,
|
|
86
|
-
} }, h("ion-icon", { key: '
|
|
104
|
+
} }, h("ion-icon", { key: 'd5094d69a6477b390afaa230f76011bef97f386f', "aria-hidden": "true", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (
|
|
87
105
|
/**
|
|
88
106
|
* Separators should not be announced by narrators.
|
|
89
107
|
* We add aria-hidden on the span so that this applies
|
|
90
108
|
* to any custom separators too.
|
|
91
109
|
*/
|
|
92
|
-
h("span", { key: '
|
|
110
|
+
h("span", { key: '98421acb32aa73507ea1ab078555c20f4bdef6cd', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: '8b37779f2003554631a923a8d7ce2436238d1b05', name: "separator" }, mode === 'ios' ? (h("ion-icon", { icon: chevronForwardOutline, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
|
|
93
111
|
}
|
|
94
112
|
get el() { return getElement(this); }
|
|
113
|
+
static get watchers() { return {
|
|
114
|
+
"href": [{
|
|
115
|
+
"hrefChanged": 0
|
|
116
|
+
}]
|
|
117
|
+
}; }
|
|
95
118
|
};
|
|
96
119
|
Breadcrumb.style = {
|
|
97
120
|
ios: breadcrumbIosCss(),
|
|
@@ -104,7 +127,8 @@ const breadcrumbsMdCss = () => `:host{-moz-osx-font-smoothing:grayscale;-webkit-
|
|
|
104
127
|
|
|
105
128
|
const Breadcrumbs = class {
|
|
106
129
|
constructor(hostRef) {
|
|
107
|
-
|
|
130
|
+
if (new.target === Breadcrumbs)
|
|
131
|
+
registerInstance(this, hostRef);
|
|
108
132
|
this.ionCollapsedClick = createEvent(this, "ionCollapsedClick", 7);
|
|
109
133
|
/**
|
|
110
134
|
* The number of breadcrumbs to show before the collapsed indicator.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, a as printIonWarning, h, f as Host, g as getElement, j as forceUpdate, k as getAssetPath } from './index-
|
|
5
|
-
import {
|
|
6
|
-
import { k as hasShadowDom } from './helpers-
|
|
4
|
+
import { r as registerInstance, d as createEvent, a as printIonWarning, h, f as Host, g as getElement, j as forceUpdate, k as getAssetPath } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { a as createAriaAttributeController, c as createTabindexController } from './attribute-controller-ClTQeZiJ.js';
|
|
6
|
+
import { k as hasShadowDom } from './helpers-BvbUHGGm.js';
|
|
7
7
|
import { o as openURL, c as createColorClasses$1, h as hostContext } from './theme-byZM6qHV.js';
|
|
8
|
-
import { b as getIonMode$1 } from './ionic-global-
|
|
8
|
+
import { b as getIonMode$1 } from './ionic-global-BDyJ_8I-.js';
|
|
9
9
|
import './dir-Dj4J3LkD.js';
|
|
10
10
|
|
|
11
11
|
const buttonIosCss = () => `:host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{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;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}`;
|
|
@@ -14,7 +14,8 @@ const buttonMdCss = () => `:host{--overflow:hidden;--ripple-color:currentColor;-
|
|
|
14
14
|
|
|
15
15
|
const Button = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
|
-
|
|
17
|
+
if (new.target === Button)
|
|
18
|
+
registerInstance(this, hostRef);
|
|
18
19
|
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
19
20
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
20
21
|
this.inItem = false;
|
|
@@ -126,12 +127,15 @@ const Button = class {
|
|
|
126
127
|
* two elements in the accessibility tree.
|
|
127
128
|
*/
|
|
128
129
|
this.ariaController = createAriaAttributeController(this.el, () => forceUpdate(this), ['aria-disabled', 'role']);
|
|
130
|
+
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
|
|
129
131
|
}
|
|
130
132
|
connectedCallback() {
|
|
131
133
|
this.ariaController?.init();
|
|
134
|
+
this.tabindexController?.init();
|
|
132
135
|
}
|
|
133
136
|
disconnectedCallback() {
|
|
134
137
|
this.ariaController?.destroy();
|
|
138
|
+
this.tabindexController?.destroy();
|
|
135
139
|
}
|
|
136
140
|
get hasIconOnly() {
|
|
137
141
|
return !!this.el.querySelector('[slot="icon-only"]');
|
|
@@ -207,7 +211,10 @@ const Button = class {
|
|
|
207
211
|
render() {
|
|
208
212
|
const mode = getIonMode$1(this);
|
|
209
213
|
const { buttonType, type, disabled, rel, target, size, href, color, expand, hasIconOnly, shape, strong } = this;
|
|
210
|
-
const inheritedAttributes =
|
|
214
|
+
const inheritedAttributes = {
|
|
215
|
+
...this.ariaController?.attributes,
|
|
216
|
+
...this.tabindexController?.attributes,
|
|
217
|
+
};
|
|
211
218
|
const finalSize = size === undefined && this.inItem ? 'small' : size;
|
|
212
219
|
const TagType = href === undefined ? 'button' : 'a';
|
|
213
220
|
const attrs = TagType === 'button'
|
|
@@ -232,7 +239,7 @@ const Button = class {
|
|
|
232
239
|
{
|
|
233
240
|
type !== 'button' && this.renderHiddenButton();
|
|
234
241
|
}
|
|
235
|
-
return (h(Host, { key: '
|
|
242
|
+
return (h(Host, { key: '9676cd8eb88ff0ff0582eeaa8b87ed4525a4dbee', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
236
243
|
[mode]: true,
|
|
237
244
|
[buttonType]: true,
|
|
238
245
|
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
@@ -247,7 +254,7 @@ const Button = class {
|
|
|
247
254
|
'button-disabled': disabled,
|
|
248
255
|
'ion-activatable': true,
|
|
249
256
|
'ion-focusable': true,
|
|
250
|
-
}) }, h(TagType, { key: '
|
|
257
|
+
}) }, h(TagType, { key: '42609eab7e854c1e1ddf678c7dc83c7ec81e560e', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("span", { key: 'a212acc720c9312b3ac35345333df7a7175ace92', class: "button-inner" }, h("slot", { key: '05986b525272c768a37c274748f15aeb2fce313e', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: '4b6951f7b201c19714e97e2075f517f88642a169', name: "start" }), h("slot", { key: 'fa2d5ca4551a14ebfafe5399683e239566571398' }), h("slot", { key: 'ca8edc225165824f535177b99bb39adc1fea5fd2', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: '01c38cc6c230bb35861bbcc1472f4a2f18522e93', type: this.rippleType }))));
|
|
251
258
|
}
|
|
252
259
|
get el() { return getElement(this); }
|
|
253
260
|
static get watchers() { return {
|
|
@@ -521,7 +528,8 @@ const iconCss = () => `:host{display:inline-block;width:1em;height:1em;font-size
|
|
|
521
528
|
|
|
522
529
|
const Icon = class {
|
|
523
530
|
constructor(hostRef) {
|
|
524
|
-
|
|
531
|
+
if (new.target === Icon)
|
|
532
|
+
registerInstance(this, hostRef);
|
|
525
533
|
this.iconName = null;
|
|
526
534
|
this.inheritedAttributes = {};
|
|
527
535
|
this.didLoadIcon = false;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, f as Host, g as getElement, j as forceUpdate } from './index-
|
|
5
|
-
import {
|
|
4
|
+
import { r as registerInstance, h, f as Host, g as getElement, j as forceUpdate } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { b as createAttributeController, c as createTabindexController } from './attribute-controller-ClTQeZiJ.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses } from './theme-byZM6qHV.js';
|
|
7
|
-
import { b as getIonMode } from './ionic-global-
|
|
8
|
-
import './helpers-
|
|
7
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
8
|
+
import './helpers-BvbUHGGm.js';
|
|
9
9
|
import './dir-Dj4J3LkD.js';
|
|
10
10
|
|
|
11
11
|
const cardIosCss = () => `:host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}`;
|
|
@@ -14,7 +14,8 @@ const cardMdCss = () => `:host{--ion-safe-area-left:0px;--ion-safe-area-right:0p
|
|
|
14
14
|
|
|
15
15
|
const Card = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
|
-
|
|
17
|
+
if (new.target === Card)
|
|
18
|
+
registerInstance(this, hostRef);
|
|
18
19
|
/**
|
|
19
20
|
* If `true`, a button tag will be rendered and the card will be tappable.
|
|
20
21
|
*/
|
|
@@ -40,12 +41,23 @@ const Card = class {
|
|
|
40
41
|
* the card host renders no role of its own, so nothing reads the leftover copy.
|
|
41
42
|
*/
|
|
42
43
|
this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
|
|
44
|
+
// A card that isn't clickable has no native button or link, so `tabindex` stays on the host.
|
|
45
|
+
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Changing `href` or `button` adds or removes the native element, so `tabindex` has to
|
|
49
|
+
* move with it.
|
|
50
|
+
*/
|
|
51
|
+
clickableChanged() {
|
|
52
|
+
this.tabindexController?.refresh();
|
|
43
53
|
}
|
|
44
54
|
connectedCallback() {
|
|
45
55
|
this.ariaController?.init();
|
|
56
|
+
this.tabindexController?.init();
|
|
46
57
|
}
|
|
47
58
|
disconnectedCallback() {
|
|
48
59
|
this.ariaController?.destroy();
|
|
60
|
+
this.tabindexController?.destroy();
|
|
49
61
|
}
|
|
50
62
|
isClickable() {
|
|
51
63
|
return this.href !== undefined || this.button;
|
|
@@ -57,6 +69,7 @@ const Card = class {
|
|
|
57
69
|
}
|
|
58
70
|
const { href, routerAnimation, routerDirection } = this;
|
|
59
71
|
const inheritedAriaAttributes = this.ariaController?.attributes ?? {};
|
|
72
|
+
const tabindexAttributes = this.tabindexController?.attributes ?? {};
|
|
60
73
|
const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
|
|
61
74
|
const attrs = TagType === 'button'
|
|
62
75
|
? { type: this.type }
|
|
@@ -66,17 +79,25 @@ const Card = class {
|
|
|
66
79
|
rel: this.rel,
|
|
67
80
|
target: this.target,
|
|
68
81
|
};
|
|
69
|
-
return (h(TagType, { ...attrs, ...inheritedAriaAttributes, class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }, h("slot", null), clickable && mode === 'md' && h("ion-ripple-effect", null)));
|
|
82
|
+
return (h(TagType, { ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }, h("slot", null), clickable && mode === 'md' && h("ion-ripple-effect", null)));
|
|
70
83
|
}
|
|
71
84
|
render() {
|
|
72
85
|
const mode = getIonMode(this);
|
|
73
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: 'a50cd4e11f563acefeadc4c8f67536276593384a', class: createColorClasses(this.color, {
|
|
74
87
|
[mode]: true,
|
|
75
88
|
'card-disabled': this.disabled,
|
|
76
89
|
'ion-activatable': this.isClickable(),
|
|
77
90
|
}) }, this.renderCard(mode)));
|
|
78
91
|
}
|
|
79
92
|
get el() { return getElement(this); }
|
|
93
|
+
static get watchers() { return {
|
|
94
|
+
"href": [{
|
|
95
|
+
"clickableChanged": 0
|
|
96
|
+
}],
|
|
97
|
+
"button": [{
|
|
98
|
+
"clickableChanged": 0
|
|
99
|
+
}]
|
|
100
|
+
}; }
|
|
80
101
|
};
|
|
81
102
|
Card.style = {
|
|
82
103
|
ios: cardIosCss(),
|
|
@@ -89,7 +110,8 @@ const cardContentMdCss = () => `ion-card-content{display:block;position:relative
|
|
|
89
110
|
|
|
90
111
|
const CardContent = class {
|
|
91
112
|
constructor(hostRef) {
|
|
92
|
-
|
|
113
|
+
if (new.target === CardContent)
|
|
114
|
+
registerInstance(this, hostRef);
|
|
93
115
|
}
|
|
94
116
|
render() {
|
|
95
117
|
const mode = getIonMode(this);
|
|
@@ -111,7 +133,8 @@ const cardHeaderMdCss = () => `:host{--background:transparent;--color:inherit;di
|
|
|
111
133
|
|
|
112
134
|
const CardHeader = class {
|
|
113
135
|
constructor(hostRef) {
|
|
114
|
-
|
|
136
|
+
if (new.target === CardHeader)
|
|
137
|
+
registerInstance(this, hostRef);
|
|
115
138
|
/**
|
|
116
139
|
* If `true`, the card header will be translucent.
|
|
117
140
|
* Only applies when the mode is `"ios"` and the device supports
|
|
@@ -139,7 +162,8 @@ const cardSubtitleMdCss = () => `:host{display:block;position:relative;color:var
|
|
|
139
162
|
|
|
140
163
|
const CardSubtitle = class {
|
|
141
164
|
constructor(hostRef) {
|
|
142
|
-
|
|
165
|
+
if (new.target === CardSubtitle)
|
|
166
|
+
registerInstance(this, hostRef);
|
|
143
167
|
}
|
|
144
168
|
render() {
|
|
145
169
|
const mode = getIonMode(this);
|
|
@@ -160,7 +184,8 @@ const cardTitleMdCss = () => `:host{display:block;position:relative;color:var(--
|
|
|
160
184
|
|
|
161
185
|
const CardTitle = class {
|
|
162
186
|
constructor(hostRef) {
|
|
163
|
-
|
|
187
|
+
if (new.target === CardTitle)
|
|
188
|
+
registerInstance(this, hostRef);
|
|
164
189
|
}
|
|
165
190
|
render() {
|
|
166
191
|
const mode = getIonMode(this);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, h, f as Host, g as getElement, j as forceUpdate } from './index-
|
|
5
|
-
import { i as inheritAriaAttributes, a as renderHiddenInput } from './helpers-
|
|
6
|
-
import { c as createItemMultipleInputsObserver } from './item-multiple-inputs-
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, g as getElement, j as forceUpdate } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { i as inheritAriaAttributes, a as renderHiddenInput } from './helpers-BvbUHGGm.js';
|
|
6
|
+
import { c as createItemMultipleInputsObserver } from './item-multiple-inputs-IPlsPhUJ.js';
|
|
7
7
|
import { c as checkInvalidState } from './validity-DJztqcrH.js';
|
|
8
8
|
import { h as hostContext, c as createColorClasses } from './theme-byZM6qHV.js';
|
|
9
|
-
import { b as getIonMode } from './ionic-global-
|
|
9
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
10
10
|
import './dir-Dj4J3LkD.js';
|
|
11
11
|
|
|
12
12
|
const checkboxIosCss = () => `:host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{display:none}:host(:focus){outline:none}.native-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.ion-focused) .native-wrapper::after{border-radius:50%;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2;inset-block-start:calc(50% - 36px / 2);inset-inline-start:calc(50% - 36px / 2)}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}`;
|
|
@@ -15,7 +15,8 @@ const checkboxMdCss = () => `:host{--checkbox-background-checked:var(--ion-color
|
|
|
15
15
|
|
|
16
16
|
const Checkbox = class {
|
|
17
17
|
constructor(hostRef) {
|
|
18
|
-
|
|
18
|
+
if (new.target === Checkbox)
|
|
19
|
+
registerInstance(this, hostRef);
|
|
19
20
|
this.ionChange = createEvent(this, "ionChange", 7);
|
|
20
21
|
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
21
22
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, f as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, f as Host } from './index-BGtO2Fhf.js';
|
|
5
5
|
import { c as createColorClasses } from './theme-byZM6qHV.js';
|
|
6
|
-
import { b as getIonMode } from './ionic-global-
|
|
6
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
7
7
|
|
|
8
8
|
const chipIosCss = () => `:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}`;
|
|
9
9
|
|
|
@@ -11,7 +11,8 @@ const chipMdCss = () => `:host{--background:rgba(var(--ion-text-color-rgb, 0, 0,
|
|
|
11
11
|
|
|
12
12
|
const Chip = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
|
-
|
|
14
|
+
if (new.target === Chip)
|
|
15
|
+
registerInstance(this, hostRef);
|
|
15
16
|
/**
|
|
16
17
|
* Display an outline style button.
|
|
17
18
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, j as forceUpdate, h, f as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, j as forceUpdate, h, f as Host, g as getElement } from './index-BGtO2Fhf.js';
|
|
5
5
|
import { i as isRTL } from './dir-Dj4J3LkD.js';
|
|
6
|
-
import { b as getIonMode } from './ionic-global-
|
|
6
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
7
7
|
|
|
8
8
|
const SIZE_TO_MEDIA = {
|
|
9
9
|
xs: '(min-width: 0px)',
|
|
@@ -33,7 +33,8 @@ const SUPPORTS_VARS = win && !!(win.CSS && win.CSS.supports && win.CSS.supports(
|
|
|
33
33
|
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
|
|
34
34
|
const Col = class {
|
|
35
35
|
constructor(hostRef) {
|
|
36
|
-
|
|
36
|
+
if (new.target === Col)
|
|
37
|
+
registerInstance(this, hostRef);
|
|
37
38
|
}
|
|
38
39
|
onResize() {
|
|
39
40
|
forceUpdate(this);
|
|
@@ -128,7 +129,8 @@ const gridCss = () => `:host{-webkit-padding-start:var(--ion-grid-padding-xs, va
|
|
|
128
129
|
|
|
129
130
|
const Grid = class {
|
|
130
131
|
constructor(hostRef) {
|
|
131
|
-
|
|
132
|
+
if (new.target === Grid)
|
|
133
|
+
registerInstance(this, hostRef);
|
|
132
134
|
/**
|
|
133
135
|
* If `true`, the grid will have a fixed width based on the screen size.
|
|
134
136
|
*/
|
|
@@ -148,7 +150,8 @@ const rowCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;
|
|
|
148
150
|
|
|
149
151
|
const Row = class {
|
|
150
152
|
constructor(hostRef) {
|
|
151
|
-
|
|
153
|
+
if (new.target === Row)
|
|
154
|
+
registerInstance(this, hostRef);
|
|
152
155
|
}
|
|
153
156
|
render() {
|
|
154
157
|
return (h(Host, { key: '12b7419dd67ff18dd00e1bf5093299bd94c75503', class: getIonMode(this) }, h("slot", { key: '43fc76a289ecaf398a77a90034ee576003a826fd' })));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as printIonError, h, f as Host, g as getElement } from './index-
|
|
5
|
-
import { f as addEventListener, c as componentOnReady } from './helpers-
|
|
4
|
+
import { r as registerInstance, c as printIonError, h, f as Host, g as getElement } from './index-BGtO2Fhf.js';
|
|
5
|
+
import { f as addEventListener, c as componentOnReady } from './helpers-BvbUHGGm.js';
|
|
6
6
|
import { c as createColorClasses } from './theme-byZM6qHV.js';
|
|
7
|
-
import { b as getIonMode } from './ionic-global-
|
|
8
|
-
import { D as parseDate, d as getHourCycle, P as getLocalizedDateTime, O as getLocalizedTime } from './format-
|
|
7
|
+
import { b as getIonMode } from './ionic-global-BDyJ_8I-.js';
|
|
8
|
+
import { D as parseDate, d as getHourCycle, P as getLocalizedDateTime, O as getLocalizedTime } from './format-C833IXB1.js';
|
|
9
9
|
import './dir-Dj4J3LkD.js';
|
|
10
10
|
|
|
11
11
|
const datetimeButtonIosCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-primary, #0054e9)}:host(.ion-color.time-active) #time-button,:host(.ion-color.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}`;
|
|
@@ -14,7 +14,8 @@ const datetimeButtonMdCss = () => `:host{display:-ms-flexbox;display:flex;-ms-fl
|
|
|
14
14
|
|
|
15
15
|
const DatetimeButton = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
|
-
|
|
17
|
+
if (new.target === DatetimeButton)
|
|
18
|
+
registerInstance(this, hostRef);
|
|
18
19
|
this.datetimeEl = null;
|
|
19
20
|
this.overlayEl = null;
|
|
20
21
|
this.datetimePresentation = 'date-time';
|