@ionic/core 9.0.12-dev.11794863026.1771891a → 9.0.12-dev.11794938426.180bdfeb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-gallery-item.js +1 -1
- package/components/ion-gallery.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-CE7N7-7s.js → p-2sLD_xu6.js} +1 -1
- package/components/{p-DFjX2uxL.js → p-8bQyQ-A-.js} +1 -1
- package/components/p-9SIQ7h0a.js +4 -0
- package/{dist/ionic/p-BPA4-c6T.js → components/p-B5xGjUrw.js} +1 -1
- package/components/{p-cm7z1a2E.js → p-BGbQbTAV.js} +1 -1
- package/components/p-BIe4HWHT.js +4 -0
- package/components/p-BPVr2bEi.js +4 -0
- package/components/{p-BYyhRtNC.js → p-BRLifC9t.js} +1 -1
- package/components/{p-CyvtM0H1.js → p-BTu2WI4z.js} +1 -1
- package/components/p-BX622giM.js +4 -0
- package/components/{p-CiEBXUnh.js → p-BXM-paQi.js} +1 -1
- package/components/p-Ba0pOoA8.js +4 -0
- package/components/p-BjjY6jOq.js +4 -0
- package/components/{p-B8TMb1l1.js → p-BpPHtMLg.js} +1 -1
- package/components/{p-LoXpKVmq.js → p-BrfOWAVf.js} +1 -1
- package/components/p-BsCaQNrX.js +4 -0
- package/components/p-BzAhIYXH.js +4 -0
- package/components/p-CDyvJnTO.js +4 -0
- package/components/p-CJawym4B.js +4 -0
- package/components/{p-DbKRl9BQ.js → p-CZtEtGGD.js} +1 -1
- package/components/{p-Dce65ayP.js → p-CajBjgLi.js} +1 -1
- package/components/{p-7-zF1amS.js → p-CdHuHArh.js} +1 -1
- package/components/{p-Ce7LvQXN.js → p-CgQ7_O5k.js} +1 -1
- package/components/{p-aC2BXYlR.js → p-Cq-9cyXX.js} +1 -1
- package/components/p-D1m8Yjhz.js +4 -0
- package/components/{p-CvxND1-3.js → p-D6f0xBGY.js} +1 -1
- package/components/{p-BHiggB_l.js → p-DAWK42bz.js} +1 -1
- package/{dist/ionic/p-DRbid4Vh.js → components/p-DCRjYLov.js} +1 -1
- package/components/{p-65JoU6_J.js → p-DDKsXI3n.js} +1 -1
- package/components/{p-Fvw018Ly.js → p-DFHZOMhQ.js} +1 -1
- package/components/{p-B7ExaLVL.js → p-DIyhmuo-.js} +1 -1
- package/components/{p-CehdCO1m.js → p-DL3uscQR.js} +1 -1
- package/components/{p-C2UFZTSU.js → p-DNAlvIsW.js} +1 -1
- package/components/{p-3Qs1sQxU.js → p-DO17TLK9.js} +1 -1
- package/components/{p-B_o50gvn.js → p-DSEHMF7Y.js} +1 -1
- package/components/{p-Bslbwrtt.js → p-DSxRYE_f.js} +1 -1
- package/{dist/ionic/p-B7XMQegr.js → components/p-DVDuYWYf.js} +1 -1
- package/components/{p-iNIvlAGo.js → p-DVoIsLVC.js} +1 -1
- package/components/{p-DggDKmuZ.js → p-DXn1957M.js} +1 -1
- package/components/p-DZaKOMM7.js +4 -0
- package/components/p-DgL3phdm.js +4 -0
- package/components/p-DmlpWO08.js +4 -0
- package/components/{p-DRIPgese.js → p-Dq9hq9j2.js} +1 -1
- package/{dist/ionic/p-2gcJ-f11.js → components/p-Dqy0AJBg.js} +1 -1
- package/components/{p-3SVb97od.js → p-EPCb6-n7.js} +1 -1
- package/components/{p-Da8LCPwo.js → p-H6H02QKs.js} +1 -1
- package/components/{p-CAekGbOf.js → p-JGQZIl_3.js} +1 -1
- package/components/{p-HbJahPGd.js → p-K0l20Iqs.js} +1 -1
- package/components/p-V4Qnwbju.js +4 -0
- package/components/p-YAbVl27R.js +4 -0
- package/components/{p-YAWKbhjV.js → p-f2BL1rLD.js} +1 -1
- package/components/{p-DmhWSY74.js → p-lm02RhiY.js} +1 -1
- package/components/p-mNz8l7Bc.js +4 -0
- package/components/{p-CzDkZh7h.js → p-vLIxxolw.js} +1 -1
- package/components/{p-CXzJ234J.js → p-zEYXdQGH.js} +1 -1
- package/dist/cjs/{animation-zKIdNEmG.js → animation-CeH2W-qd.js} +1 -1
- package/dist/cjs/{app-globals-BDrxn8eR.js → app-globals-f7eomsHa.js} +1 -1
- package/dist/cjs/{attribute-controller-23GLe3Vk.js → attribute-controller-mEO_Z0Wr.js} +102 -35
- package/dist/cjs/{button-active-CY7cZvH5.js → button-active-PwgL_R0V.js} +1 -1
- package/dist/cjs/{format-C6r4Asi4.js → format-PsbNYAbf.js} +1 -1
- package/dist/cjs/{framework-delegate-CAdDEnFS.js → framework-delegate-D-XPcdY0.js} +2 -2
- package/dist/cjs/{helpers-DHNLF4fD.js → helpers-jmlMCGoQ.js} +1 -1
- package/dist/cjs/{index-C6QFfpm5.js → index-B5yv8_lH.js} +2 -2
- package/dist/cjs/{index-DhGCo_n8.js → index-CHRTOQP9.js} +2 -2
- package/dist/cjs/{index-lD5wTj_b.js → index-Cco7L1eB.js} +4 -4
- package/dist/cjs/{index-CB1PuDlX.js → index-Cn0FjjMN.js} +86 -40
- package/dist/cjs/{index-B3s1jjBU.js → index-DRLvcDji.js} +1 -1
- package/dist/cjs/{index-C3pmpKlo.js → index-R2zOwQVz.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-CjkWx7ae.js → input-shims-obkB-KvI.js} +3 -3
- package/dist/cjs/{input.utils-CD4DNiim.js → input.utils-B_HfgEQx.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -13
- package/dist/cjs/ion-alert.cjs.entry.js +14 -12
- package/dist/cjs/ion-app_8.cjs.entry.js +30 -22
- package/dist/cjs/ion-avatar_3.cjs.entry.js +10 -7
- package/dist/cjs/ion-back-button.cjs.entry.js +6 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +8 -6
- package/dist/cjs/ion-button_2.cjs.entry.js +12 -12
- package/dist/cjs/ion-card_5.cjs.entry.js +21 -16
- 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 +10 -7
- package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -5
- package/dist/cjs/ion-datetime.cjs.entry.js +19 -28
- package/dist/cjs/ion-divider.cjs.entry.js +4 -3
- package/dist/cjs/ion-fab_3.cjs.entry.js +10 -7
- package/dist/cjs/ion-gallery-item.cjs.entry.js +4 -3
- package/dist/cjs/ion-gallery.cjs.entry.js +5 -4
- 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 +20 -10
- package/dist/cjs/ion-item-option_3.cjs.entry.js +11 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +34 -25
- package/dist/cjs/ion-loading.cjs.entry.js +12 -10
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -11
- package/dist/cjs/ion-modal.cjs.entry.js +27 -18
- package/dist/cjs/ion-nav_2.cjs.entry.js +12 -10
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -6
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -4
- package/dist/cjs/ion-picker.cjs.entry.js +4 -3
- package/dist/cjs/ion-popover.cjs.entry.js +15 -13
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -5
- package/dist/cjs/ion-radio_2.cjs.entry.js +8 -6
- package/dist/cjs/ion-range.cjs.entry.js +9 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +13 -11
- package/dist/cjs/ion-reorder_2.cjs.entry.js +11 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -4
- package/dist/cjs/ion-route_4.cjs.entry.js +15 -11
- package/dist/cjs/ion-searchbar.cjs.entry.js +19 -9
- package/dist/cjs/ion-segment-content.cjs.entry.js +4 -3
- package/dist/cjs/ion-segment-view.cjs.entry.js +5 -4
- package/dist/cjs/ion-segment_2.cjs.entry.js +12 -10
- package/dist/cjs/ion-select-modal.cjs.entry.js +11 -10
- package/dist/cjs/ion-select_3.cjs.entry.js +20 -17
- package/dist/cjs/ion-spinner.cjs.entry.js +5 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +6 -5
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +14 -12
- package/dist/cjs/ion-tab_2.cjs.entry.js +10 -8
- package/dist/cjs/ion-text.cjs.entry.js +6 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +9 -8
- package/dist/cjs/ion-toast.cjs.entry.js +11 -10
- package/dist/cjs/ion-toggle.cjs.entry.js +9 -8
- package/dist/cjs/{ionic-global-CZX42KL4.js → ionic-global-BsjzbnZk.js} +4 -4
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-BjOYqzH0.js → ios.transition-Chk7LwO2.js} +4 -4
- package/dist/cjs/{item-multiple-inputs-D0lzjl68.js → item-multiple-inputs-DRBi1Q76.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-C4i7l6ui.js → md.transition-D-k4hn-o.js} +4 -4
- package/dist/cjs/overlay-focus-boundary-DCv6Y3fL.js +42 -0
- package/dist/cjs/{overlays-DziOxcCT.js → overlays-DMW90-Kg.js} +16 -45
- package/dist/cjs/page-restore-Dq2Pkln0.js +90 -0
- package/dist/cjs/{scroll-hide-controller-BSVBCkbw.js → scroll-hide-controller-GvReYiKK.js} +2 -2
- package/dist/cjs/{select-option-render-X_iZ-xeh.js → select-option-render-nr0lBnYb.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-BS-L1szN.js → slot-mutation-controller-DKkmhOKO.js} +1 -1
- package/dist/cjs/{status-tap-D5yiKwdj.js → status-tap-oCDuuJng.js} +3 -3
- package/dist/cjs/{swipe-back-xM_5R5s-.js → swipe-back-DZZ4EcCX.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-sheet/action-sheet.js +4 -3
- package/dist/collection/components/alert/alert.js +3 -2
- package/dist/collection/components/button/button.js +4 -6
- package/dist/collection/components/card/card.js +7 -7
- package/dist/collection/components/datetime/datetime.ionic.css +0 -20
- package/dist/collection/components/datetime/datetime.ios.css +0 -10
- package/dist/collection/components/datetime/datetime.js +8 -18
- package/dist/collection/components/datetime/datetime.md.css +0 -10
- package/dist/collection/components/input/input.js +18 -3
- package/dist/collection/components/item/item.js +10 -9
- package/dist/collection/components/loading/loading.js +3 -2
- package/dist/collection/components/modal/modal.ionic.css +8 -0
- package/dist/collection/components/modal/modal.ios.css +8 -0
- package/dist/collection/components/modal/modal.js +5 -4
- package/dist/collection/components/modal/modal.md.css +8 -0
- package/dist/collection/components/modal/safe-area-utils.js +9 -2
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/popover/popover.ionic.css +8 -0
- package/dist/collection/components/popover/popover.ios.css +8 -0
- package/dist/collection/components/popover/popover.js +3 -2
- package/dist/collection/components/popover/popover.md.css +8 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +22 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +2 -2
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/attribute-controller.js +101 -34
- package/dist/collection/utils/forms/index.js +1 -0
- package/dist/collection/utils/forms/page-restore.js +46 -0
- package/dist/collection/utils/overlay-focus-boundary.js +37 -0
- package/dist/collection/utils/overlays.js +12 -41
- package/dist/docs.json +16 -3
- package/dist/esm/{animation-GasMiLY0.js → animation-Cev2GhGs.js} +1 -1
- package/dist/esm/{app-globals-DbCTe1Vv.js → app-globals-BocmgK6F.js} +1 -1
- package/dist/esm/{attribute-controller-CB-n8m6j.js → attribute-controller-418FdXxR.js} +102 -35
- package/dist/esm/{button-active-DLOYzeXl.js → button-active-BhjMt-gU.js} +1 -1
- package/dist/esm/{format-DUHrIiJq.js → format-t9SOC1s5.js} +1 -1
- package/dist/esm/{framework-delegate-99Ms_INy.js → framework-delegate-DOV97IRE.js} +2 -2
- package/dist/esm/{helpers-B_F2b1gy.js → helpers-Bhcp6jft.js} +1 -1
- package/dist/esm/{index-hR6kxzTq.js → index-Bas44FS4.js} +86 -40
- package/dist/esm/{index-D86Q8ZLS.js → index-BxqNQDQb.js} +4 -4
- package/dist/esm/{index-D5lNz-tr.js → index-CSvgU7bD.js} +4 -4
- package/dist/esm/{index-BRYliuA-.js → index-DU_8Y0hH.js} +1 -1
- package/dist/esm/{index-BeR_5uou.js → index-Dr_h9K1q.js} +2 -2
- package/dist/esm/{index-BoEdvSPU.js → index-M3ncuMMO.js} +2 -2
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-CJVi9djP.js → input-shims-Q8eQDhGy.js} +3 -3
- package/dist/esm/{input.utils-gPgFKve4.js → input.utils-Ca-6biEE.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +7 -5
- package/dist/esm/ion-action-sheet.entry.js +15 -13
- package/dist/esm/ion-alert.entry.js +14 -12
- package/dist/esm/ion-app_8.entry.js +30 -22
- package/dist/esm/ion-avatar_3.entry.js +10 -7
- package/dist/esm/ion-back-button.entry.js +6 -5
- package/dist/esm/ion-backdrop.entry.js +4 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +8 -6
- package/dist/esm/ion-button_2.entry.js +12 -12
- package/dist/esm/ion-card_5.entry.js +21 -16
- 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 +10 -7
- package/dist/esm/ion-datetime-button.entry.js +6 -5
- package/dist/esm/ion-datetime.entry.js +19 -28
- package/dist/esm/ion-divider.entry.js +4 -3
- package/dist/esm/ion-fab_3.entry.js +10 -7
- package/dist/esm/ion-gallery-item.entry.js +4 -3
- package/dist/esm/ion-gallery.entry.js +5 -4
- 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 +19 -9
- package/dist/esm/ion-item-option_3.entry.js +11 -8
- package/dist/esm/ion-item_8.entry.js +34 -25
- package/dist/esm/ion-loading.entry.js +12 -10
- package/dist/esm/ion-menu_3.entry.js +14 -11
- package/dist/esm/ion-modal.entry.js +27 -18
- package/dist/esm/ion-nav_2.entry.js +12 -10
- package/dist/esm/ion-picker-column-option.entry.js +7 -6
- package/dist/esm/ion-picker-column.entry.js +5 -4
- package/dist/esm/ion-picker.entry.js +4 -3
- package/dist/esm/ion-popover.entry.js +15 -13
- package/dist/esm/ion-progress-bar.entry.js +6 -5
- package/dist/esm/ion-radio_2.entry.js +8 -6
- package/dist/esm/ion-range.entry.js +9 -8
- package/dist/esm/ion-refresher_2.entry.js +13 -11
- package/dist/esm/ion-reorder_2.entry.js +11 -9
- package/dist/esm/ion-ripple-effect.entry.js +5 -4
- package/dist/esm/ion-route_4.entry.js +15 -11
- package/dist/esm/ion-searchbar.entry.js +18 -8
- package/dist/esm/ion-segment-content.entry.js +4 -3
- package/dist/esm/ion-segment-view.entry.js +5 -4
- package/dist/esm/ion-segment_2.entry.js +12 -10
- package/dist/esm/ion-select-modal.entry.js +11 -10
- package/dist/esm/ion-select_3.entry.js +20 -17
- package/dist/esm/ion-spinner.entry.js +5 -4
- package/dist/esm/ion-split-pane.entry.js +6 -5
- package/dist/esm/ion-tab-bar_2.entry.js +14 -12
- package/dist/esm/ion-tab_2.entry.js +10 -8
- package/dist/esm/ion-text.entry.js +6 -5
- package/dist/esm/ion-textarea.entry.js +9 -8
- package/dist/esm/ion-toast.entry.js +11 -10
- package/dist/esm/ion-toggle.entry.js +9 -8
- package/dist/esm/{ionic-global-DSbFWXp3.js → ionic-global-BYy_ionO.js} +4 -4
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-C9thfQYf.js → ios.transition-MTIekCSs.js} +4 -4
- package/dist/esm/{item-multiple-inputs-CSJsB7-I.js → item-multiple-inputs-BrSomT3h.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BEhPsy_z.js → md.transition-CYPyM3Wr.js} +4 -4
- package/dist/esm/overlay-focus-boundary-DrYovbKL.js +40 -0
- package/dist/esm/{overlays-C8sf7PId.js → overlays-D4jQ_MJ6.js} +17 -46
- package/dist/esm/page-restore-9RlWwejf.js +87 -0
- package/dist/esm/{scroll-hide-controller-Chts2wJU.js → scroll-hide-controller-Db79zIPS.js} +2 -2
- package/dist/esm/{select-option-render-D5kt0cO9.js → select-option-render-szX_tjoT.js} +2 -2
- package/dist/esm/{slot-mutation-controller-DanfZTCH.js → slot-mutation-controller-Du2BZesv.js} +1 -1
- package/dist/esm/{status-tap-B8UQS38n.js → status-tap-CxG8iM45.js} +3 -3
- package/dist/esm/{swipe-back-Bgftkxen.js → swipe-back-CyMa6zSX.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0a3b23f0.entry.js +4 -0
- package/dist/ionic/p-0c87430e.entry.js +4 -0
- package/dist/ionic/p-0eadd747.entry.js +4 -0
- package/dist/ionic/p-108c617e.entry.js +4 -0
- package/dist/ionic/p-1336380f.entry.js +4 -0
- package/dist/ionic/p-16d7a09e.entry.js +4 -0
- package/dist/ionic/p-1847d994.entry.js +4 -0
- package/dist/ionic/p-1b542120.entry.js +4 -0
- package/dist/ionic/p-1d8fc165.entry.js +4 -0
- package/dist/ionic/p-20e49521.entry.js +4 -0
- package/dist/ionic/p-2c232526.entry.js +4 -0
- package/dist/ionic/p-38580367.entry.js +4 -0
- package/dist/ionic/p-3b6a9e1f.entry.js +4 -0
- package/dist/ionic/p-3fbcf247.entry.js +4 -0
- package/dist/ionic/p-404f56fb.entry.js +4 -0
- package/dist/ionic/p-4c0d2ea4.entry.js +4 -0
- package/dist/ionic/p-4f1773eb.entry.js +4 -0
- package/dist/ionic/p-527fa477.entry.js +4 -0
- package/dist/ionic/p-544ba9be.entry.js +4 -0
- package/dist/ionic/p-5a5408f6.entry.js +4 -0
- package/dist/ionic/{p-DOdxt_P_.js → p-5pKYh0QR.js} +1 -1
- package/dist/ionic/p-61d17ff8.entry.js +4 -0
- package/dist/ionic/p-636b14fb.entry.js +4 -0
- package/dist/ionic/p-6806aefe.entry.js +4 -0
- package/dist/ionic/p-68650478.entry.js +4 -0
- package/dist/ionic/p-6874fc1e.entry.js +4 -0
- package/dist/ionic/p-70f777b3.entry.js +4 -0
- package/dist/ionic/p-71a9c711.entry.js +4 -0
- package/dist/ionic/p-747d4da3.entry.js +4 -0
- package/dist/ionic/p-78ee18fb.entry.js +4 -0
- package/dist/ionic/p-86103379.entry.js +4 -0
- package/dist/ionic/p-9984d163.entry.js +4 -0
- package/dist/ionic/p-9b71b044.entry.js +4 -0
- package/dist/ionic/p-9d765c69.entry.js +4 -0
- package/dist/ionic/p-9e3d4614.entry.js +4 -0
- package/dist/ionic/p-9ohDxdgz.js +4 -0
- package/{components/p-o89R3aqe.js → dist/ionic/p-BQhyhNHy.js} +1 -1
- package/dist/ionic/{p-Bjt84heL.js → p-BSenjX6U.js} +1 -1
- package/dist/ionic/p-BSkpb2fc.js +4 -0
- package/dist/ionic/{p-CeHcVwSj.js → p-BYTjG6HG.js} +1 -1
- package/dist/ionic/p-Bas44FS4.js +6 -0
- package/{components/p-DLXAGW46.js → dist/ionic/p-BawJ4_R2.js} +1 -1
- package/{components/p-BmfO2-NE.js → dist/ionic/p-BiYkrpCo.js} +1 -1
- package/dist/ionic/p-BjBJlURk.js +4 -0
- package/dist/ionic/{p-DsBidY1y.js → p-CAdpShMB.js} +1 -1
- package/dist/ionic/{p-B36ii-hs.js → p-CFV2lqKP.js} +1 -1
- package/dist/ionic/p-CWRBQbEt.js +4 -0
- package/dist/ionic/p-C_Z39n1a.js +4 -0
- package/dist/ionic/p-D4o1HBsS.js +4 -0
- package/dist/ionic/p-D7kZMPgY.js +4 -0
- package/dist/ionic/{p-DuxayXEj.js → p-DLK90YxR.js} +1 -1
- package/dist/ionic/p-DOFFsd_b.js +4 -0
- package/dist/ionic/p-Dbpdrswb.js +4 -0
- package/dist/ionic/p-DrOc_uDR.js +4 -0
- package/dist/ionic/{p-rwBGNQHN.js → p-FygeMLmO.js} +1 -1
- package/dist/ionic/{p-CaOPF8Xt.js → p-XZiK70aS.js} +1 -1
- package/dist/ionic/p-a21edb48.entry.js +4 -0
- package/dist/ionic/p-a8aaf7e8.entry.js +4 -0
- package/dist/ionic/p-ac4b2212.entry.js +4 -0
- package/dist/ionic/p-afa43e97.entry.js +4 -0
- package/dist/ionic/p-b2e17a18.entry.js +4 -0
- package/dist/ionic/p-b7d0d844.entry.js +4 -0
- package/dist/ionic/p-b98e482e.entry.js +4 -0
- package/dist/ionic/p-bD2UA_Oq.js +4 -0
- package/dist/ionic/{p-Co3ilg7B.js → p-bfE6ImVy.js} +1 -1
- package/dist/ionic/p-cc724d97.entry.js +4 -0
- package/dist/ionic/p-d61c5038.entry.js +4 -0
- package/dist/ionic/p-d7d87adb.entry.js +4 -0
- package/dist/ionic/p-dd40211d.entry.js +4 -0
- package/dist/ionic/p-dde3fe0f.entry.js +4 -0
- package/dist/ionic/p-de6ccf04.entry.js +4 -0
- package/dist/ionic/p-df337118.entry.js +4 -0
- package/dist/ionic/p-e3d754ae.entry.js +4 -0
- package/dist/ionic/p-e6a6a075.entry.js +4 -0
- package/dist/ionic/p-e7f841d7.entry.js +4 -0
- package/dist/ionic/p-eSGmNpTU.js +4 -0
- package/dist/ionic/p-ee15d08d.entry.js +4 -0
- package/dist/ionic/p-f41ef4cc.entry.js +4 -0
- package/dist/ionic/p-f6bd7ca3.entry.js +4 -0
- package/dist/ionic/p-fd3ccd0d.entry.js +4 -0
- package/dist/ionic/p-rmK71y9P.js +4 -0
- package/dist/ionic/p-sQjitIqc.js +4 -0
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/datetime/datetime.d.ts +4 -2
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/item/item.d.ts +2 -2
- package/dist/types/components/modal/safe-area-utils.d.ts +2 -1
- package/dist/types/components/searchbar/searchbar.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/attribute-controller.d.ts +18 -13
- package/dist/types/utils/forms/index.d.ts +1 -0
- package/dist/types/utils/forms/page-restore.d.ts +21 -0
- package/dist/types/utils/overlay-focus-boundary.d.ts +15 -0
- package/hydrate/index.js +558 -324
- package/hydrate/index.mjs +558 -324
- package/package.json +2 -2
- package/components/p-2KnciUsT.js +0 -4
- package/components/p-BNBa8_Ls.js +0 -4
- package/components/p-BfDzKnZ-.js +0 -4
- package/components/p-BmnPbSf3.js +0 -4
- package/components/p-C0H1LYQ5.js +0 -4
- package/components/p-C93i7QCU.js +0 -4
- package/components/p-C9qQ2zBV.js +0 -4
- package/components/p-CSSj6cqb.js +0 -4
- package/components/p-DDloHP2b.js +0 -4
- package/components/p-DFBWAYvo.js +0 -4
- package/components/p-DTIqfsbw.js +0 -4
- package/components/p-DibGn4gb.js +0 -4
- package/components/p-DmdTkb5k.js +0 -4
- package/components/p-DtZimz8H.js +0 -4
- package/components/p-ET0FZop5.js +0 -4
- package/components/p-lhYnLiXU.js +0 -4
- package/components/p-pSZXoJUW.js +0 -4
- package/dist/cjs/clear-button-press-controller-C6PTS3jC.js +0 -45
- package/dist/esm/clear-button-press-controller-6ph4kKYn.js +0 -43
- package/dist/ionic/p-038465e3.entry.js +0 -4
- package/dist/ionic/p-136cdbde.entry.js +0 -4
- package/dist/ionic/p-188a2e35.entry.js +0 -4
- package/dist/ionic/p-1b045882.entry.js +0 -4
- package/dist/ionic/p-2717e0fc.entry.js +0 -4
- package/dist/ionic/p-29c1176f.entry.js +0 -4
- package/dist/ionic/p-2b1e9500.entry.js +0 -4
- package/dist/ionic/p-308f9b89.entry.js +0 -4
- package/dist/ionic/p-338cb1e7.entry.js +0 -4
- package/dist/ionic/p-344072c8.entry.js +0 -4
- package/dist/ionic/p-39303a6a.entry.js +0 -4
- package/dist/ionic/p-39bf5990.entry.js +0 -4
- package/dist/ionic/p-3b47fdc7.entry.js +0 -4
- package/dist/ionic/p-3be131ed.entry.js +0 -4
- package/dist/ionic/p-3f15086f.entry.js +0 -4
- package/dist/ionic/p-49edfb46.entry.js +0 -4
- package/dist/ionic/p-522663a4.entry.js +0 -4
- package/dist/ionic/p-561cfcc1.entry.js +0 -4
- package/dist/ionic/p-65ad8502.entry.js +0 -4
- package/dist/ionic/p-6a3ff87c.entry.js +0 -4
- package/dist/ionic/p-6fb60223.entry.js +0 -4
- package/dist/ionic/p-764f4282.entry.js +0 -4
- package/dist/ionic/p-7de26931.entry.js +0 -4
- package/dist/ionic/p-8183df6b.entry.js +0 -4
- package/dist/ionic/p-81b5d87c.entry.js +0 -4
- package/dist/ionic/p-85cbc8c5.entry.js +0 -4
- package/dist/ionic/p-86bf24f4.entry.js +0 -4
- package/dist/ionic/p-8ecb459a.entry.js +0 -4
- package/dist/ionic/p-8ff4bf6c.entry.js +0 -4
- package/dist/ionic/p-905c8b38.entry.js +0 -4
- package/dist/ionic/p-9613f2c3.entry.js +0 -4
- package/dist/ionic/p-9c9a8e34.entry.js +0 -4
- package/dist/ionic/p-9d6e569d.entry.js +0 -4
- package/dist/ionic/p-BXRdzJMJ.js +0 -4
- package/dist/ionic/p-BfDzKnZ-.js +0 -4
- package/dist/ionic/p-BfUzA1cP.js +0 -4
- package/dist/ionic/p-C3TLUO-J.js +0 -4
- package/dist/ionic/p-C4WiowQL.js +0 -4
- package/dist/ionic/p-CXkgZKSx.js +0 -4
- package/dist/ionic/p-D7LiFzrm.js +0 -4
- package/dist/ionic/p-D_vm5I9h.js +0 -4
- package/dist/ionic/p-DxPRC9Jk.js +0 -4
- package/dist/ionic/p-Hb0L-KUN.js +0 -4
- package/dist/ionic/p-WdouEyt8.js +0 -4
- package/dist/ionic/p-a1555032.entry.js +0 -4
- package/dist/ionic/p-a6315f72.entry.js +0 -4
- package/dist/ionic/p-a8e51e17.entry.js +0 -4
- package/dist/ionic/p-a932c26f.entry.js +0 -4
- package/dist/ionic/p-aab54de4.entry.js +0 -4
- package/dist/ionic/p-aaf3f84e.entry.js +0 -4
- package/dist/ionic/p-b076511a.entry.js +0 -4
- package/dist/ionic/p-b1b397cf.entry.js +0 -4
- package/dist/ionic/p-b3e2281c.entry.js +0 -4
- package/dist/ionic/p-b4de840a.entry.js +0 -4
- package/dist/ionic/p-c1fc48c7.entry.js +0 -4
- package/dist/ionic/p-c3dc0187.entry.js +0 -4
- package/dist/ionic/p-ca2c0598.entry.js +0 -4
- package/dist/ionic/p-ce443df7.entry.js +0 -4
- package/dist/ionic/p-ce8bea16.entry.js +0 -4
- package/dist/ionic/p-ceca04fb.entry.js +0 -4
- package/dist/ionic/p-d6cd46ab.entry.js +0 -4
- package/dist/ionic/p-db20f98a.entry.js +0 -4
- package/dist/ionic/p-dbf53341.entry.js +0 -4
- package/dist/ionic/p-de0de6a6.entry.js +0 -4
- package/dist/ionic/p-f3057b31.entry.js +0 -4
- package/dist/ionic/p-fa74dd94.entry.js +0 -4
- package/dist/ionic/p-hR6kxzTq.js +0 -6
- package/dist/ionic/p-pVSZ4TVa.js +0 -4
|
@@ -126,11 +126,9 @@ export class Button {
|
|
|
126
126
|
* The ARIA state has to stay live, since `ion-input-password-toggle` rewrites
|
|
127
127
|
* `aria-label` and `aria-pressed` on its `ion-button` on every toggle. We keep
|
|
128
128
|
* `aria-disabled` out of the watch because the `<Host>` below renders it from the
|
|
129
|
-
* `disabled` prop and those writes would clobber a developer's value
|
|
130
|
-
* because a post-load write stays on the host too, which would put the same role on
|
|
131
|
-
* two elements in the accessibility tree.
|
|
129
|
+
* `disabled` prop and those writes would clobber a developer's value.
|
|
132
130
|
*/
|
|
133
|
-
this.ariaController = createAriaAttributeController(this.el, () => forceUpdate(this), ['aria-disabled'
|
|
131
|
+
this.ariaController = createAriaAttributeController(this.el, () => forceUpdate(this), ['aria-disabled']);
|
|
134
132
|
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
|
|
135
133
|
}
|
|
136
134
|
connectedCallback() {
|
|
@@ -272,7 +270,7 @@ export class Button {
|
|
|
272
270
|
{
|
|
273
271
|
type !== 'button' && this.renderHiddenButton();
|
|
274
272
|
}
|
|
275
|
-
return (h(Host, { key: '
|
|
273
|
+
return (h(Host, { key: '7b6f8b7fb418d69d7f984191fcc9b7b52a59379b', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
276
274
|
[theme]: true,
|
|
277
275
|
[buttonType]: true,
|
|
278
276
|
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
@@ -289,7 +287,7 @@ export class Button {
|
|
|
289
287
|
'button-disabled': disabled,
|
|
290
288
|
'ion-activatable': true,
|
|
291
289
|
'ion-focusable': true,
|
|
292
|
-
}) }, h(TagType, { key: '
|
|
290
|
+
}) }, h(TagType, { key: '15646e0d19540ff90478184e6d96ac9994e6192a', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("span", { key: 'f2e26bf30b3925d5fbe1f4d0d7a43c0ec6b09a21', class: "button-inner" }, h("slot", { key: '69a60de3d81a139248fb126c147d3b722b91f5f4', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: '15e51a0657d4de592f23a1555fe34252b01a6005', name: "start" }), h("slot", { key: '44cd7f343c22b6adf0df36bda7fe874bbe36bc31' }), h("slot", { key: 'd0b75c290f8f0c35f15fdb979103f4af68e738af', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: '738c0f358b4abeb331fa336fdcb2749a09d5f334', type: this.rippleType }))));
|
|
293
291
|
}
|
|
294
292
|
static get is() { return "ion-button"; }
|
|
295
293
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,19 +39,19 @@ export class Card {
|
|
|
39
39
|
}
|
|
40
40
|
componentWillLoad() {
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* after load
|
|
44
|
-
* the card host renders no role of its own, so nothing reads the leftover copy.
|
|
42
|
+
* A non-clickable card renders no native element to apply the copy to, so an
|
|
43
|
+
* `aria-label` written after load has to stay on the host.
|
|
45
44
|
*/
|
|
46
|
-
this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
|
|
45
|
+
this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this), [], undefined, () => !this.isClickable());
|
|
47
46
|
// A card that isn't clickable has no native button or link, so `tabindex` stays on the host.
|
|
48
47
|
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
|
|
49
48
|
}
|
|
50
49
|
/**
|
|
51
|
-
* Changing `href` or `button` adds or removes the native element, so `tabindex`
|
|
52
|
-
* move with it.
|
|
50
|
+
* Changing `href` or `button` adds or removes the native element, so `tabindex` and a
|
|
51
|
+
* label written after load have to move with it.
|
|
53
52
|
*/
|
|
54
53
|
clickableChanged() {
|
|
54
|
+
this.ariaController?.refresh();
|
|
55
55
|
this.tabindexController?.refresh();
|
|
56
56
|
}
|
|
57
57
|
connectedCallback() {
|
|
@@ -87,7 +87,7 @@ export class Card {
|
|
|
87
87
|
render() {
|
|
88
88
|
const { shape } = this;
|
|
89
89
|
const theme = getIonTheme(this);
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: '085a1c0b5c773d690b95779375ff42bdaad2f34e', class: createColorClasses(this.color, {
|
|
91
91
|
[theme]: true,
|
|
92
92
|
[`card-${shape}`]: shape !== undefined,
|
|
93
93
|
'card-disabled': this.disabled,
|
|
@@ -368,16 +368,6 @@
|
|
|
368
368
|
z-index: 1;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
/**
|
|
372
|
-
* Range start and end circles can overflow their grid row.
|
|
373
|
-
* Lift them above adjacent in-range wrappers so the next
|
|
374
|
-
* row's range track does not paint over the circle.
|
|
375
|
-
*/
|
|
376
|
-
:host .calendar-day-wrapper-range-start,
|
|
377
|
-
:host .calendar-day-wrapper-range-end {
|
|
378
|
-
z-index: 1;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
371
|
/**
|
|
382
372
|
* Keep the range announcement available to screen readers
|
|
383
373
|
* without showing it or covering the calendar.
|
|
@@ -774,19 +764,9 @@
|
|
|
774
764
|
color: var(--token-text-default, var(--token-primitives-neutral-1200, #242528));
|
|
775
765
|
}
|
|
776
766
|
|
|
777
|
-
:host .calendar-body .calendar-month .calendar-month-grid {
|
|
778
|
-
-webkit-padding-start: var(--token-space-200, var(--token-scale-200, 8px));
|
|
779
|
-
padding-inline-start: var(--token-space-200, var(--token-scale-200, 8px));
|
|
780
|
-
-webkit-padding-end: var(--token-space-200, var(--token-scale-200, 8px));
|
|
781
|
-
padding-inline-end: var(--token-space-200, var(--token-scale-200, 8px));
|
|
782
|
-
padding-top: 0;
|
|
783
|
-
padding-bottom: 0;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
767
|
:host {
|
|
787
768
|
--range-background: var(--token-bg-primary-subtle-default, var(--token-semantics-primary-100, var(--token-primitives-blue-100, #f0f2ff)));
|
|
788
769
|
--range-track-height: var(--token-scale-1200, 48px);
|
|
789
|
-
--range-track-edge-overflow: var(--token-space-200, var(--token-scale-200, 8px));
|
|
790
770
|
}
|
|
791
771
|
|
|
792
772
|
:host .calendar-day.calendar-day-range-start,
|
|
@@ -371,16 +371,6 @@
|
|
|
371
371
|
z-index: 1;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
/**
|
|
375
|
-
* Range start and end circles can overflow their grid row.
|
|
376
|
-
* Lift them above adjacent in-range wrappers so the next
|
|
377
|
-
* row's range track does not paint over the circle.
|
|
378
|
-
*/
|
|
379
|
-
:host .calendar-day-wrapper-range-start,
|
|
380
|
-
:host .calendar-day-wrapper-range-end {
|
|
381
|
-
z-index: 1;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
374
|
/**
|
|
385
375
|
* Keep the range announcement available to screen readers
|
|
386
376
|
* without showing it or covering the calendar.
|
|
@@ -338,13 +338,15 @@ export class Datetime {
|
|
|
338
338
|
* Handles range selection logic when a day is clicked.
|
|
339
339
|
*
|
|
340
340
|
* Creating a new range: first click sets start, second sets end.
|
|
341
|
-
*
|
|
342
|
-
*
|
|
341
|
+
* Modifying an existing range:
|
|
342
|
+
* - Before range → new start
|
|
343
|
+
* - Within range → new end
|
|
344
|
+
* - After range → new end
|
|
343
345
|
* If the resulting span contains a disabled date, start a new range instead.
|
|
344
346
|
*/
|
|
345
347
|
this.setActivePartsRange = (parts) => {
|
|
346
348
|
const current = this.rangeParts;
|
|
347
|
-
if (!current || current.
|
|
349
|
+
if (!current || isBefore(parts, current.start) || this.rangeContainsDisabledDate(current.start, parts)) {
|
|
348
350
|
this.activeParts = { start: parts };
|
|
349
351
|
}
|
|
350
352
|
else {
|
|
@@ -786,19 +788,7 @@ export class Datetime {
|
|
|
786
788
|
startParts = endParts;
|
|
787
789
|
endParts = temp;
|
|
788
790
|
}
|
|
789
|
-
|
|
790
|
-
// If the entire range falls outside min/max, clear the selection.
|
|
791
|
-
const clampedStart = clampDate(startParts, minParts, maxParts);
|
|
792
|
-
const clampedEnd = endParts ? clampDate(endParts, minParts, maxParts) : undefined;
|
|
793
|
-
const rangeFullyOutOfBounds = clampedEnd && endParts && isSameDay(clampedStart, clampedEnd) && !isSameDay(startParts, endParts);
|
|
794
|
-
if (rangeFullyOutOfBounds) {
|
|
795
|
-
this.activeParts = [];
|
|
796
|
-
}
|
|
797
|
-
else {
|
|
798
|
-
startParts = clampedStart;
|
|
799
|
-
endParts = clampedEnd;
|
|
800
|
-
this.activeParts = endParts ? { start: startParts, end: endParts } : { start: startParts };
|
|
801
|
-
}
|
|
791
|
+
this.activeParts = endParts ? { start: startParts, end: endParts } : { start: startParts };
|
|
802
792
|
/**
|
|
803
793
|
* Stay on the end date's month when it is already showing, such as
|
|
804
794
|
* right after the user picks it, instead of jumping back to the start.
|
|
@@ -2212,7 +2202,7 @@ export class Datetime {
|
|
|
2212
2202
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
2213
2203
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
2214
2204
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
2215
|
-
return (h(Host, { key: '
|
|
2205
|
+
return (h(Host, { key: '2510c26c29afd1a34d6ee71a9ffa00b4a7dd716e', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: {
|
|
2216
2206
|
...createColorClasses(color, {
|
|
2217
2207
|
[theme]: true,
|
|
2218
2208
|
['datetime-readonly']: readonly,
|
|
@@ -2225,7 +2215,7 @@ export class Datetime {
|
|
|
2225
2215
|
[`datetime-grid`]: isGridStyle,
|
|
2226
2216
|
[`datetime-range`]: this.isRangeMode,
|
|
2227
2217
|
}),
|
|
2228
|
-
} }, h("div", { key: '
|
|
2218
|
+
} }, h("div", { key: 'b245de6585c7dc5ccfa6f0f8be8474206380acfe', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
2229
2219
|
}
|
|
2230
2220
|
static get is() { return "ion-datetime"; }
|
|
2231
2221
|
static get encapsulation() { return "shadow"; }
|
|
@@ -371,16 +371,6 @@
|
|
|
371
371
|
z-index: 1;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
/**
|
|
375
|
-
* Range start and end circles can overflow their grid row.
|
|
376
|
-
* Lift them above adjacent in-range wrappers so the next
|
|
377
|
-
* row's range track does not paint over the circle.
|
|
378
|
-
*/
|
|
379
|
-
:host .calendar-day-wrapper-range-start,
|
|
380
|
-
:host .calendar-day-wrapper-range-end {
|
|
381
|
-
z-index: 1;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
374
|
/**
|
|
385
375
|
* Keep the range announcement available to screen readers
|
|
386
376
|
* without showing it or covering the calendar.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Build, Host, forceUpdate, h, } from "@stencil/core";
|
|
5
|
-
import { createClearButtonPressController, createClickController, createNotchController, createStartEndContainerController, checkInvalidState, } from "../../utils/forms/index";
|
|
5
|
+
import { createClearButtonPressController, createClickController, createNotchController, createStartEndContainerController, checkInvalidState, syncValueOnPageRestore, } from "../../utils/forms/index";
|
|
6
6
|
import { inheritAriaAttributes, debounceEvent, inheritAttributes, componentOnReady } from "../../utils/helpers";
|
|
7
7
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
8
|
import { createSlotMutationController } from "../../utils/slot-mutation-controller";
|
|
@@ -232,6 +232,15 @@ export class Input {
|
|
|
232
232
|
onClickCapture(ev) {
|
|
233
233
|
this.clickController?.handleClickCapture(ev);
|
|
234
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* Safari clears the field when it restores the page from the back/forward cache.
|
|
237
|
+
*/
|
|
238
|
+
onPageShow(ev) {
|
|
239
|
+
syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
|
|
240
|
+
this.value = value;
|
|
241
|
+
this.emitInputChange();
|
|
242
|
+
});
|
|
243
|
+
}
|
|
235
244
|
componentWillLoad() {
|
|
236
245
|
this.inheritedAttributes = {
|
|
237
246
|
...inheritAriaAttributes(this.el),
|
|
@@ -634,7 +643,7 @@ export class Input {
|
|
|
634
643
|
* the input has a value or is focused.
|
|
635
644
|
*/
|
|
636
645
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
|
|
637
|
-
return (h(Host, { key: '
|
|
646
|
+
return (h(Host, { key: '2792536365fe763b06650c3a1fb1bd4b64af40d2', class: createColorClasses(this.color, {
|
|
638
647
|
[theme]: true,
|
|
639
648
|
'has-value': hasValue,
|
|
640
649
|
'has-focus': hasFocus,
|
|
@@ -647,7 +656,7 @@ export class Input {
|
|
|
647
656
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
648
657
|
'input-disabled': disabled,
|
|
649
658
|
'input-readonly': readonly,
|
|
650
|
-
}) }, h("label", { key: '
|
|
659
|
+
}) }, h("label", { key: '413db7526cd69ee1b187fa5a2d296f27255db118', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderField(), shouldRenderHighlight && h("div", { key: '643b9b2a4d13f53b57c4af3c745b656e44c8a36a', class: "input-highlight" })), this.renderBottomContent()));
|
|
651
660
|
}
|
|
652
661
|
static get is() { return "ion-input"; }
|
|
653
662
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1526,6 +1535,12 @@ export class Input {
|
|
|
1526
1535
|
"target": undefined,
|
|
1527
1536
|
"capture": true,
|
|
1528
1537
|
"passive": false
|
|
1538
|
+
}, {
|
|
1539
|
+
"name": "pageshow",
|
|
1540
|
+
"method": "onPageShow",
|
|
1541
|
+
"target": "window",
|
|
1542
|
+
"capture": false,
|
|
1543
|
+
"passive": false
|
|
1529
1544
|
}];
|
|
1530
1545
|
}
|
|
1531
1546
|
}
|
|
@@ -59,13 +59,15 @@ export class Item {
|
|
|
59
59
|
buttonChanged() {
|
|
60
60
|
// Update the focusable option when the button option is changed
|
|
61
61
|
this.focusable = this.isFocusable();
|
|
62
|
+
this.ariaController?.refresh();
|
|
62
63
|
this.tabindexController?.refresh();
|
|
63
64
|
}
|
|
64
65
|
/**
|
|
65
|
-
* Adding or removing `href` adds or removes the native element, so `tabindex`
|
|
66
|
-
* with it. The same goes for `button` in `buttonChanged`.
|
|
66
|
+
* Adding or removing `href` adds or removes the native element, so `tabindex` and a label
|
|
67
|
+
* written after load have to move with it. The same goes for `button` in `buttonChanged`.
|
|
67
68
|
*/
|
|
68
69
|
hrefChanged() {
|
|
70
|
+
this.ariaController?.refresh();
|
|
69
71
|
this.tabindexController?.refresh();
|
|
70
72
|
}
|
|
71
73
|
labelColorChanged(ev) {
|
|
@@ -116,12 +118,11 @@ export class Item {
|
|
|
116
118
|
}
|
|
117
119
|
componentWillLoad() {
|
|
118
120
|
/**
|
|
119
|
-
*
|
|
120
|
-
* after load
|
|
121
|
-
* the item is in an `ion-list`.
|
|
122
|
-
* reads it twice.
|
|
121
|
+
* A non-clickable item renders a `div`, which ARIA doesn't allow a name on, so an
|
|
122
|
+
* `aria-label` written after load also stays on the Host, which is a `listitem`
|
|
123
|
+
* when the item is in an `ion-list`.
|
|
123
124
|
*/
|
|
124
|
-
this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
|
|
125
|
+
this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this), [], undefined, () => !this.isClickable());
|
|
125
126
|
// An item that isn't clickable has no native button or link, so `tabindex` stays on the host.
|
|
126
127
|
this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
|
|
127
128
|
}
|
|
@@ -358,7 +359,7 @@ export class Item {
|
|
|
358
359
|
* multi-input item, and in a clickable item, which is a second tab stop.
|
|
359
360
|
*/
|
|
360
361
|
const slottedIndicatorNeedsRoom = this.hasSlottedIndicatorControl && (multipleInputs || this.isClickable());
|
|
361
|
-
return (h(Host, { key: '
|
|
362
|
+
return (h(Host, { key: 'd061f93463e9745ad581d4ecab550ff8ccd511a9', "aria-disabled": ariaDisabled, class: {
|
|
362
363
|
...childStyles,
|
|
363
364
|
...labelColorStyles,
|
|
364
365
|
...createColorClasses(this.color, {
|
|
@@ -375,7 +376,7 @@ export class Item {
|
|
|
375
376
|
'ion-focusable': this.focusable,
|
|
376
377
|
'item-rtl': isRTL(el),
|
|
377
378
|
}),
|
|
378
|
-
}, role: inList ? 'listitem' : null }, h(TagType, { key: '
|
|
379
|
+
}, role: inList ? 'listitem' : null }, h(TagType, { key: '4e4c0982c26cf2d6ab40bede7b8fadf3bfe2ead4', ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, h("slot", { key: 'df9c532cf3cd1474b60a4f5d12dae5a895ce2ee9', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), h("div", { key: 'bd501bf6aac4cd402db009bb760022830dac4192', class: "item-inner", part: "inner" }, h("div", { key: '27d307c0180d5a7365ad8408a515509c37944d76', class: "input-wrapper", part: "container" }, h("slot", { key: '11a99619fff888acbe9a81641e62d1d6af7b23c8', onSlotchange: this.updateInteractivityOnSlotChange })), h("slot", { key: '7f4403adfcaa75d50eb75355c595ee079fa09cc3', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (h("ion-icon", { key: '1125905813ba10513e0eb019b23901fb22114155', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme === 'md' && h("ion-ripple-effect", { key: 'd53f59912defccfb7bae0c97781e2089a1676693' }))));
|
|
379
380
|
}
|
|
380
381
|
static get is() { return "ion-item"; }
|
|
381
382
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,6 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { ENABLE_HTML_CONTENT_DEFAULT } from "../../utils/config";
|
|
6
6
|
import { raf } from "../../utils/helpers";
|
|
7
7
|
import { createLockController } from "../../utils/lock-controller";
|
|
8
|
+
import { OverlayFocusBoundary } from "../../utils/overlay-focus-boundary";
|
|
8
9
|
import { BACKDROP, cleanupRootFocusTrapAccessibility, createDelegateController, createTriggerController, dismiss, eventMethod, prepareOverlay, present, restoreRootFocusTrapAccessibility, setOverlayId, } from "../../utils/overlays";
|
|
9
10
|
import { sanitizeDOMString } from "../../utils/sanitization/index";
|
|
10
11
|
import { getClassMap } from "../../utils/theme";
|
|
@@ -187,14 +188,14 @@ export class Loading {
|
|
|
187
188
|
* Otherwise, don't set aria-labelledby.
|
|
188
189
|
*/
|
|
189
190
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
190
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: '6bb4757eb4f4105847cbe7330a1952a98f05429e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
|
|
191
192
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
192
193
|
}, onIonBackdropTap: this.onBackdropTap, class: {
|
|
193
194
|
...getClassMap(this.cssClass),
|
|
194
195
|
[theme]: true,
|
|
195
196
|
'overlay-hidden': true,
|
|
196
197
|
'loading-translucent': this.translucent,
|
|
197
|
-
} }, h("ion-backdrop", { key: '
|
|
198
|
+
} }, h("ion-backdrop", { key: '328f7f50519bd81fa1b1358dbdb0e678623a64e7', visible: this.showBackdrop, tappable: this.backdropDismiss }), h(OverlayFocusBoundary, { key: '5e48890d9e805b5a37347c6c4539a3124e412860', overlay: this.el, edge: "start" }), h("div", { key: 'a95bfdaad1483ad7f78a9aeb8384dac00eac635f', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '5d1b43ab0f291c8d5cd35082f7bb4a7160cca30d', class: "loading-spinner" }, h("ion-spinner", { key: 'c0adb20c7d748d7a6adaba81d9e5159f19e9f480', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h(OverlayFocusBoundary, { key: '46b5a0dceb337a8baa2ae9a4be50c46e06218cdc', overlay: this.el, edge: "end" })));
|
|
198
199
|
}
|
|
199
200
|
static get is() { return "ion-loading"; }
|
|
200
201
|
static get encapsulation() { return "scoped"; }
|
|
@@ -174,6 +174,14 @@ ion-backdrop {
|
|
|
174
174
|
background: transparent;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Removes the focus boundaries from the tab order
|
|
179
|
+
* so focus can leave the modal when the trap is off.
|
|
180
|
+
*/
|
|
181
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
182
|
+
display: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
177
185
|
.modal-handle {
|
|
178
186
|
-webkit-margin-start: auto;
|
|
179
187
|
margin-inline-start: auto;
|
|
@@ -113,6 +113,14 @@ ion-backdrop {
|
|
|
113
113
|
background: transparent;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Removes the focus boundaries from the tab order
|
|
118
|
+
* so focus can leave the modal when the trap is off.
|
|
119
|
+
*/
|
|
120
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
121
|
+
display: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
116
124
|
.modal-handle {
|
|
117
125
|
-webkit-margin-start: auto;
|
|
118
126
|
margin-inline-start: auto;
|
|
@@ -8,6 +8,7 @@ import { raf, inheritAttributes, hasLazyBuild, getElementRoot } from "../../util
|
|
|
8
8
|
import { createLockController } from "../../utils/lock-controller";
|
|
9
9
|
import { printIonWarning } from "../../utils/logging/index";
|
|
10
10
|
import { Style as StatusBarStyle, StatusBar } from "../../utils/native/status-bar";
|
|
11
|
+
import { OverlayFocusBoundary } from "../../utils/overlay-focus-boundary";
|
|
11
12
|
import { BACKDROP, cleanupRootFocusTrapAccessibility, createTriggerController, dismiss, eventMethod, FOCUS_TRAP_DISABLE_CLASS, GESTURE, prepareOverlay, present, restoreRootFocusTrapAccessibility, setOverlayId, } from "../../utils/overlays";
|
|
12
13
|
import { getClassMap } from "../../utils/theme";
|
|
13
14
|
import { deepReady, waitForMount } from "../../utils/transition/index";
|
|
@@ -1280,7 +1281,7 @@ export class Modal {
|
|
|
1280
1281
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1281
1282
|
const shape = this.getShape();
|
|
1282
1283
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
1283
|
-
return (h(Host, { key: '
|
|
1284
|
+
return (h(Host, { key: 'd751a17872485c686c1e281bf21bf09b08a5615a', "no-router": true,
|
|
1284
1285
|
// Allow the modal to be navigable when the handle is focusable
|
|
1285
1286
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
|
|
1286
1287
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
@@ -1294,7 +1295,7 @@ export class Modal {
|
|
|
1294
1295
|
'overlay-hidden': true,
|
|
1295
1296
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
1296
1297
|
...getClassMap(this.cssClass),
|
|
1297
|
-
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, h("ion-backdrop", { key: '
|
|
1298
|
+
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, h("ion-backdrop", { key: '40d6ab312a1f9496a87f642e310252329804d791', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: 'b5e6088f5674862fedc1427b6013455833378c1f', class: "modal-shadow" }), h(OverlayFocusBoundary, { key: 'aae591a0895594c855c7a1ac026fd2c872bc3037', overlay: this.el, edge: "start" }), h("div", { key: '7be6c1f17b03a45b60df3ae8514c49e3e97d746c',
|
|
1298
1299
|
/*
|
|
1299
1300
|
role and aria-modal must be used on the
|
|
1300
1301
|
same element. They must also be set inside the
|
|
@@ -1307,9 +1308,9 @@ export class Modal {
|
|
|
1307
1308
|
without the tabindex focus() would be a no-op and screen readers
|
|
1308
1309
|
may not properly announce the dialog and its content when it opens.
|
|
1309
1310
|
*/
|
|
1310
|
-
role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (h("button", { key: '
|
|
1311
|
+
role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (h("button", { key: '0e3c796f6bcd2d7903203ee5d6d338aa8c950eb7', class: "modal-handle",
|
|
1311
1312
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1312
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
1313
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: 'a789eb2fe3fc98979ce6284b87b6f7ca156892d0', onSlotchange: this.onSlotChange })), h(OverlayFocusBoundary, { key: '318a8ad3719d37f858e165f3c2c759dbbdb2955e', overlay: this.el, edge: "end" })));
|
|
1313
1314
|
}
|
|
1314
1315
|
static get is() { return "ion-modal"; }
|
|
1315
1316
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,6 +113,14 @@ ion-backdrop {
|
|
|
113
113
|
background: transparent;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Removes the focus boundaries from the tab order
|
|
118
|
+
* so focus can leave the modal when the trap is off.
|
|
119
|
+
*/
|
|
120
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
121
|
+
display: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
116
124
|
.modal-handle {
|
|
117
125
|
-webkit-margin-start: auto;
|
|
118
126
|
margin-inline-start: auto;
|
|
@@ -58,7 +58,8 @@ export const onRootSafeAreaTopChange = (callback) => {
|
|
|
58
58
|
* corresponding safe-area insets. A modal that does not span an axis reaches
|
|
59
59
|
* neither edge on that axis.
|
|
60
60
|
*
|
|
61
|
-
* When both `--width` and `--height` are `fullscreen
|
|
61
|
+
* When both `--width` and `--height` are `fullscreen` and neither
|
|
62
|
+
* `--max-width` nor `--max-height` is a definite size, coverage can be
|
|
62
63
|
* determined directly. Otherwise, coverage is based on the rendered wrapper,
|
|
63
64
|
* including cases where content sizing or `--max-height` causes the modal
|
|
64
65
|
* to reach the viewport.
|
|
@@ -67,7 +68,13 @@ export const getModalCoveredAxes = (hostEl) => {
|
|
|
67
68
|
const styles = getComputedStyle(hostEl);
|
|
68
69
|
const width = getOverlaySizeType(styles.getPropertyValue('--width'));
|
|
69
70
|
const height = getOverlaySizeType(styles.getPropertyValue('--height'));
|
|
70
|
-
|
|
71
|
+
// --max-width/--max-height (e.g. the select modal in the Ionic theme
|
|
72
|
+
// sets --max-height: 45%). When clamped, the modal may not reach the
|
|
73
|
+
// viewport edges, so we fall through to measure the wrapper instead.
|
|
74
|
+
const maxWidth = getOverlaySizeType(styles.getPropertyValue('--max-width'));
|
|
75
|
+
const maxHeight = getOverlaySizeType(styles.getPropertyValue('--max-height'));
|
|
76
|
+
const isClamped = maxWidth === 'definite' || maxHeight === 'definite';
|
|
77
|
+
if (width === 'fullscreen' && height === 'fullscreen' && !isClamped) {
|
|
71
78
|
return { vertical: true, horizontal: true };
|
|
72
79
|
}
|
|
73
80
|
return measureCoveredAxes(hostEl);
|
|
@@ -752,7 +752,7 @@ export class Nav {
|
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
754
|
render() {
|
|
755
|
-
return h("slot", { key: '
|
|
755
|
+
return h("slot", { key: '034043c38e28e876fc656e2e54f67ee4d5ce85e3' });
|
|
756
756
|
}
|
|
757
757
|
static get is() { return "ion-nav"; }
|
|
758
758
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class NavLink {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: '10d9404e91c656e008d8c14f48311c3d0c0234fc', onClick: this.onClick });
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-nav-link"; }
|
|
24
24
|
static get properties() {
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Note {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '683f5da066f10c3899f97d18f97857431538ac85', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'b3fd619eeda60a03ba60b7202646a2f46f7a26f5' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-note"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,10 +89,10 @@ export class PickerColumnOption {
|
|
|
89
89
|
render() {
|
|
90
90
|
const { color, disabled, ariaLabel } = this;
|
|
91
91
|
const theme = getIonTheme(this);
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '4ff52114c63c48798c9f254b1fcd941d6fc6359a', class: createColorClasses(color, {
|
|
93
93
|
[theme]: true,
|
|
94
94
|
['option-disabled']: disabled,
|
|
95
|
-
}) }, h("div", { key: '
|
|
95
|
+
}) }, h("div", { key: 'f443e4817e73363248f02fc0a566646990824eef', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '11b01b7dd45225672dd27c87c0f203147cf76d78' }))));
|
|
96
96
|
}
|
|
97
97
|
static get is() { return "ion-picker-column-option"; }
|
|
98
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -185,6 +185,14 @@
|
|
|
185
185
|
z-index: 10;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Removes the focus boundaries from the tab order
|
|
190
|
+
* so focus can leave the popover when the trap is off.
|
|
191
|
+
*/
|
|
192
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
193
|
+
display: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
188
196
|
.popover-content {
|
|
189
197
|
display: flex;
|
|
190
198
|
position: absolute;
|
|
@@ -124,6 +124,14 @@
|
|
|
124
124
|
z-index: 10;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
/**
|
|
128
|
+
* Removes the focus boundaries from the tab order
|
|
129
|
+
* so focus can leave the popover when the trap is off.
|
|
130
|
+
*/
|
|
131
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
127
135
|
.popover-content {
|
|
128
136
|
display: flex;
|
|
129
137
|
position: absolute;
|
|
@@ -7,6 +7,7 @@ import { CoreDelegate, attachComponent, detachComponent } from "../../utils/fram
|
|
|
7
7
|
import { addEventListener, raf, hasLazyBuild } from "../../utils/helpers";
|
|
8
8
|
import { createLockController } from "../../utils/lock-controller";
|
|
9
9
|
import { printIonWarning } from "../../utils/logging/index";
|
|
10
|
+
import { OverlayFocusBoundary } from "../../utils/overlay-focus-boundary";
|
|
10
11
|
import { BACKDROP, cleanupRootFocusTrapAccessibility, dismiss, eventMethod, FOCUS_TRAP_DISABLE_CLASS, prepareOverlay, present, restoreRootFocusTrapAccessibility, setOverlayId, } from "../../utils/overlays";
|
|
11
12
|
import { isPlatform } from "../../utils/platform";
|
|
12
13
|
import { isRTL } from "../../utils/rtl/index";
|
|
@@ -497,7 +498,7 @@ export class Popover {
|
|
|
497
498
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
498
499
|
const desktop = isPlatform('desktop');
|
|
499
500
|
const enableArrow = arrow && !parentPopover;
|
|
500
|
-
return (h(Host, { key: '
|
|
501
|
+
return (h(Host, { key: '622296253a543188de2c0f63d26351b595490e87', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
|
|
501
502
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
502
503
|
}, class: {
|
|
503
504
|
...getClassMap(this.cssClass),
|
|
@@ -508,7 +509,7 @@ export class Popover {
|
|
|
508
509
|
[`popover-side-${side}`]: true,
|
|
509
510
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
510
511
|
'popover-nested': !!parentPopover,
|
|
511
|
-
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && h("ion-backdrop", { key: '
|
|
512
|
+
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && h("ion-backdrop", { key: '60f19bfc53c06bd131b24384ca1b6f1b298d41bf', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h(OverlayFocusBoundary, { key: 'bea9b6f64fff5d473450e8ddd7016ede06fceaa7', overlay: this.el, edge: "start" }), h("div", { key: 'd81f9c032c831a9f0c6a18c692aa5c1474dd0a8c', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '43d7fdcf96e994d4bac89d01d6c82f46e6e242fe', class: "popover-arrow", part: "arrow" }), h("div", { key: 'abae7723be6283c79d250830cb4ac3a082e71cc5', class: "popover-content", part: "content" }, h("slot", { key: '557ea2f2e2aa5c7fd80a799959d4ba1c4adf02ac' }))), h(OverlayFocusBoundary, { key: 'eb82c4a705f12d53e23d2255972c1839cb4bb182', overlay: this.el, edge: "end" })));
|
|
512
513
|
}
|
|
513
514
|
static get is() { return "ion-popover"; }
|
|
514
515
|
static get encapsulation() { return "shadow"; }
|
|
@@ -124,6 +124,14 @@
|
|
|
124
124
|
z-index: 10;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
/**
|
|
128
|
+
* Removes the focus boundaries from the tab order
|
|
129
|
+
* so focus can leave the popover when the trap is off.
|
|
130
|
+
*/
|
|
131
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
127
135
|
.popover-content {
|
|
128
136
|
display: flex;
|
|
129
137
|
position: absolute;
|
|
@@ -58,7 +58,7 @@ export class ProgressBar {
|
|
|
58
58
|
const shape = this.getShape();
|
|
59
59
|
// If the progress is displayed as a solid bar.
|
|
60
60
|
const progressSolid = buffer === 1;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '070dd50f87f88ac405686fbdf804e12780783498', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
62
62
|
[theme]: true,
|
|
63
63
|
[`progress-bar-${type}`]: true,
|
|
64
64
|
'progress-paused': paused,
|
|
@@ -775,7 +775,7 @@ export class Range {
|
|
|
775
775
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
776
776
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
777
777
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
778
|
-
return (h(Host, { key: '
|
|
778
|
+
return (h(Host, { key: '454a2ebded7c6372134a374121d42308f0fd00c6', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
779
779
|
[theme]: true,
|
|
780
780
|
'in-item': inItem,
|
|
781
781
|
'range-disabled': disabled,
|
|
@@ -789,10 +789,10 @@ export class Range {
|
|
|
789
789
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
790
790
|
'range-value-min': valueAtMin,
|
|
791
791
|
'range-value-max': valueAtMax,
|
|
792
|
-
}) }, h("label", { key: '
|
|
792
|
+
}) }, h("label", { key: '487647cdcd054245f03a251e36973eafbae24682', class: "range-wrapper", id: "range-label" }, h("div", { key: 'fefabb9245ab7595629c66dfb351035e535e24a5', class: {
|
|
793
793
|
'label-text-wrapper': true,
|
|
794
794
|
'label-text-wrapper-hidden': !hasLabel,
|
|
795
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
795
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '16e95ea3159662160230cf55838b9d3c60144d00', class: "native-wrapper" }, h("slot", { key: 'd5226b753ce7489899afdd394fd2bb579d9e702a', name: "start" }), this.renderRangeSlider(), h("slot", { key: '8cfaa7b7c03f70db81a1a7b15e8cb5e99fe69d30', name: "end" })))));
|
|
796
796
|
}
|
|
797
797
|
static get is() { return "ion-range"; }
|
|
798
798
|
static get encapsulation() { return "shadow"; }
|