@ionic/core 9.0.12-nightly.20261116 → 9.0.12
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-4z5TSFKN.js +4 -0
- package/components/p-B4e-N-iU.js +4 -0
- package/components/{p-DVa8nma_.js → p-BAId-lif.js} +1 -1
- package/components/{p-CsEqD5L_.js → p-BG2WJ00s.js} +1 -1
- package/components/p-BPHUpiiM.js +4 -0
- package/components/{p-C6Eoe8TE.js → p-BPhmNtm9.js} +1 -1
- package/components/{p-BAAtTHkh.js → p-BVP5mSVm.js} +1 -1
- package/components/p-BW8F7e0i.js +4 -0
- package/components/{p-CHw0oDIX.js → p-BbKlaMtT.js} +1 -1
- package/components/{p-5LnxYgt7.js → p-BeFfed0O.js} +1 -1
- package/components/{p-DVRS13xd.js → p-BiZyTqN_.js} +1 -1
- package/components/p-BjZLJLiN.js +4 -0
- package/components/{p-B89FqNe7.js → p-BmBGUFc2.js} +1 -1
- package/components/{p-D3Kil3Ox.js → p-Bs6l0hmn.js} +1 -1
- package/{dist/ionic/p-Cw2UdaY3.js → components/p-C1FMVh-c.js} +1 -1
- package/components/p-C2VUMtb_.js +4 -0
- package/components/{p-oTJGwohD.js → p-CEQhyzEV.js} +1 -1
- package/components/{p-D7J-iv5T.js → p-CGPlqk2U.js} +1 -1
- package/components/{p-B7yqIgHT.js → p-CIqj2_kr.js} +1 -1
- package/components/{p-Bp-vRdq-.js → p-CK5LoZgF.js} +1 -1
- package/components/p-CjipsCSh.js +4 -0
- package/components/{p-Zt5D5E38.js → p-CkBN8nLu.js} +1 -1
- package/components/{p-DC4wQB6i.js → p-CmuQBpNF.js} +1 -1
- package/components/{p-Dv4a334J.js → p-CnlUj9Gp.js} +1 -1
- package/components/{p-BU1um0go.js → p-CoZdMyjc.js} +1 -1
- package/components/p-Cu22S_Bl.js +4 -0
- package/components/{p-Cjd_foSx.js → p-CvJCRpUX.js} +1 -1
- package/components/{p-BE1iSZxK.js → p-Cw7d5DbA.js} +1 -1
- package/components/p-D-9Kbp9V.js +4 -0
- package/components/{p-BaD2k7-g.js → p-D76C9Iw8.js} +1 -1
- package/components/{p-BEN_dW38.js → p-DJGnlsxd.js} +1 -1
- package/{dist/ionic/p-Ci4965j8.js → components/p-DMViqAgW.js} +1 -1
- package/components/p-DXwlA9fK.js +4 -0
- package/components/p-DZnVmCdW.js +4 -0
- package/components/p-D_mpvgZo.js +4 -0
- package/components/p-DaM57RSp.js +4 -0
- package/components/p-Debuc-PI.js +4 -0
- package/components/p-Dga790ke.js +4 -0
- package/components/{p-DX2WL1Da.js → p-DjCSZZsZ.js} +1 -1
- package/components/{p-By_XQw23.js → p-DjaPZRNp.js} +1 -1
- package/components/{p-CSwBJDKF.js → p-DjkKiJ-Z.js} +1 -1
- package/components/{p-CyOxaozL.js → p-DluP6kjT.js} +1 -1
- package/components/{p-C7PoQnxN.js → p-DmMCzf7n.js} +1 -1
- package/components/{p-DrXp7JFH.js → p-DvVp-N7F.js} +1 -1
- package/components/p-H5MjXgsw.js +4 -0
- package/components/{p-CApfTEZu.js → p-MmeVOM-P.js} +1 -1
- package/{dist/ionic/p-7hQRImkK.js → components/p-QTccyPJk.js} +1 -1
- package/components/{p-2r7QpBW2.js → p-SWkzJ3qv.js} +1 -1
- package/components/p-V0GEPf8E.js +4 -0
- package/components/p-VYhssPGK.js +4 -0
- package/components/{p-BRwclc4v.js → p-XbNDx_fA.js} +1 -1
- package/components/p-d8PmTFON.js +4 -0
- package/components/{p-BPW1yhC5.js → p-oIGmkL03.js} +1 -1
- package/components/{p-Dt1Xl4fS.js → p-ofv0IK1O.js} +1 -1
- package/dist/cjs/{animation-B7oGwLLy.js → animation-DlzccfDd.js} +2 -2
- package/dist/cjs/{app-globals-CIBBAkMv.js → app-globals-BBnfXNGo.js} +1 -1
- package/dist/cjs/{attribute-controller-CWz9nryP.js → attribute-controller-DFB7TQyv.js} +1 -1
- package/dist/cjs/{button-active-B9Tkc4mf.js → button-active-BQ2S4ZWy.js} +2 -2
- package/dist/cjs/{capacitor-MxFQgshb.js → capacitor-C3jqMZUp.js} +1 -1
- package/dist/cjs/{format-CqApCy46.js → format-BYl04xWn.js} +1 -1
- package/dist/cjs/{framework-delegate-DAKg2Azt.js → framework-delegate-DaCOvv4f.js} +1 -1
- package/dist/cjs/{haptic-CRRCyhfL.js → haptic-CoLjHjMM.js} +1 -1
- package/dist/cjs/{helpers-BDvjDsXt.js → helpers-DNBm7IvL.js} +1 -1
- package/dist/cjs/{index-BashZvQB.js → index-B-9fVZ1n.js} +4 -4
- package/dist/cjs/{index-BecWuzkK.js → index-B9cvjLlx.js} +2 -2
- package/dist/cjs/{index-DJX-8rkB.js → index-BVExV68H.js} +1 -1
- package/dist/cjs/{index-D02LHDVd.js → index-BjukzfRx.js} +2 -2
- package/dist/cjs/{index-BUIZTwKD.js → index-COPA2qmr.js} +5 -5
- package/dist/cjs/{index-CKee8md4.js → index-vpLyKa3B.js} +16 -6
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-ClPpap7E.js → input-shims-C55ajY7V.js} +5 -5
- package/dist/cjs/{input.utils-DXw7l7p9.js → input.utils-CBj7zmfe.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -14
- package/dist/cjs/ion-alert.cjs.entry.js +14 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +21 -21
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime.cjs.entry.js +6 -6
- package/dist/cjs/ion-fab_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +18 -8
- package/dist/cjs/ion-item-option_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-item_8.cjs.entry.js +8 -8
- package/dist/cjs/ion-loading.cjs.entry.js +10 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +18 -17
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +12 -11
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +7 -7
- package/dist/cjs/ion-refresher_2.cjs.entry.js +10 -10
- package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +7 -7
- package/dist/cjs/ion-searchbar.cjs.entry.js +17 -7
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +11 -11
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -7
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +9 -9
- package/dist/cjs/{ionic-global-Bt1gOF3y.js → ionic-global-QTK6g1fO.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-CExZyoOI.js → ios.transition-B3ZEimAt.js} +4 -4
- package/dist/cjs/{item-multiple-inputs-DCadv5DD.js → item-multiple-inputs-BCXLvS-7.js} +1 -1
- package/dist/cjs/{keyboard-DcLeJI_8.js → keyboard-D09lu9Ui.js} +4 -4
- package/dist/cjs/{keyboard-controller-BMyz0P1a.js → keyboard-controller-DdjUnixl.js} +2 -2
- package/dist/cjs/{keyboard-OOIuCa13.js → keyboard-m0YvDiQo.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-DaAVTRvs.js → md.transition-C6bsrBL9.js} +4 -4
- package/dist/cjs/overlay-focus-boundary-CSrlxrNh.js +42 -0
- package/dist/cjs/{overlays-D4y6dLkd.js → overlays-CQn_A50_.js} +8 -43
- package/dist/cjs/page-restore-DAn6uyjc.js +51 -0
- package/dist/cjs/{select-option-render-XNNDfPjV.js → select-option-render-DlDqVzKp.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-DPIgf5CF.js → slot-mutation-controller-CefCz349.js} +1 -1
- package/dist/cjs/{status-tap-DsMxsZJD.js → status-tap-kGuqyCj0.js} +3 -3
- package/dist/cjs/{swipe-back-DTBGxsBq.js → swipe-back-qjHVCapG.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/input/input.js +19 -4
- package/dist/collection/components/loading/loading.js +3 -2
- 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/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.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 +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- 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 +1 -1
- package/dist/collection/components/searchbar/searchbar.js +23 -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 +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- 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 +1 -1
- 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/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 +4 -39
- package/dist/docs.json +16 -3
- package/dist/esm/{animation-DC5AcIYI.js → animation-BYD6qYqw.js} +2 -2
- package/dist/esm/{app-globals-BFed4dT0.js → app-globals-CYnbK2w5.js} +1 -1
- package/dist/esm/{attribute-controller-CWhjOrjK.js → attribute-controller-CsxlVqNe.js} +1 -1
- package/dist/esm/{button-active-C2jz6R8a.js → button-active-DPPm_VjM.js} +2 -2
- package/dist/esm/{capacitor-Bt0eJ0hM.js → capacitor-BtVqr-0a.js} +1 -1
- package/dist/esm/{format-C833IXB1.js → format-BgKTubOe.js} +1 -1
- package/dist/esm/{framework-delegate-DnTzYR1W.js → framework-delegate-_-r5Mbs1.js} +1 -1
- package/dist/esm/{haptic-ChR8my2M.js → haptic-DatoB-5Q.js} +1 -1
- package/dist/esm/{helpers-BvbUHGGm.js → helpers-BGy986qP.js} +1 -1
- package/dist/esm/{index-BObCPR8a.js → index-BUron7QJ.js} +2 -2
- package/dist/esm/{index-MGm9Sl6h.js → index-D22yGpGL.js} +4 -4
- package/dist/esm/{index-DFG3GaUN.js → index-DINFvBJj.js} +2 -2
- package/dist/esm/{index-I3r9qsv0.js → index-QObOymXw.js} +1 -1
- package/dist/esm/{index-BGtO2Fhf.js → index-uFStprb5.js} +16 -6
- package/dist/esm/{index-BXaoLxIE.js → index-yy1nOLQ-.js} +5 -5
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-DmHorap3.js → input-shims-DxCUOpoX.js} +5 -5
- package/dist/esm/{input.utils-CBbgDLtb.js → input.utils-BIAhIO4-.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +15 -14
- package/dist/esm/ion-alert.entry.js +14 -13
- package/dist/esm/ion-app_8.entry.js +21 -21
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +4 -4
- package/dist/esm/ion-checkbox.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime.entry.js +6 -6
- package/dist/esm/ion-fab_3.entry.js +4 -4
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +18 -8
- package/dist/esm/ion-item-option_3.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +8 -8
- package/dist/esm/ion-loading.entry.js +10 -9
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +18 -17
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +5 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +12 -11
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +7 -7
- package/dist/esm/ion-refresher_2.entry.js +10 -10
- package/dist/esm/ion-reorder_2.entry.js +8 -8
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +17 -7
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select-modal.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +13 -13
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +11 -11
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +7 -7
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +9 -9
- package/dist/esm/{ionic-global-BDyJ_8I-.js → ionic-global-BUMBTNBh.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-BRRzMHfK.js → ios.transition-BpwDTdvj.js} +4 -4
- package/dist/esm/{item-multiple-inputs-IPlsPhUJ.js → item-multiple-inputs-0UgndTBq.js} +1 -1
- package/dist/esm/{keyboard-BFjnkNMv.js → keyboard-7B2XoG-w.js} +1 -1
- package/dist/esm/{keyboard-DUoJXTRE.js → keyboard-BYoxr1oW.js} +4 -4
- package/dist/esm/{keyboard-controller-BA84p4ML.js → keyboard-controller-YSWkCPGy.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BlNVIP5o.js → md.transition-8JQ5A2YB.js} +4 -4
- package/dist/esm/overlay-focus-boundary-CWQiIajC.js +40 -0
- package/dist/esm/{overlays-DR4E-YYD.js → overlays-CzadOuIw.js} +9 -44
- package/dist/esm/page-restore-CNWCTzxd.js +49 -0
- package/dist/esm/{select-option-render-BUBAvw2_.js → select-option-render-DHHau8BW.js} +2 -2
- package/dist/esm/{slot-mutation-controller-DBmgz_0k.js → slot-mutation-controller-DNxd1bl7.js} +1 -1
- package/dist/esm/{status-tap-z4LuyVUt.js → status-tap-BiQx78ee.js} +3 -3
- package/dist/esm/{swipe-back-C1eBKfiK.js → swipe-back-CZd7IfGd.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-061ba881.entry.js +4 -0
- package/dist/ionic/{p-05a057fb.entry.js → p-10ed267f.entry.js} +1 -1
- package/dist/ionic/p-156cd0c6.entry.js +4 -0
- package/dist/ionic/{p-1a4d6cf3.entry.js → p-16c12ab0.entry.js} +1 -1
- package/dist/ionic/{p-1616c2e3.entry.js → p-29b5c451.entry.js} +1 -1
- package/dist/ionic/{p-cece425e.entry.js → p-38b60d46.entry.js} +1 -1
- package/dist/ionic/{p-ec4dbb45.entry.js → p-39109311.entry.js} +1 -1
- package/dist/ionic/{p-2b7d88a2.entry.js → p-41595411.entry.js} +1 -1
- package/dist/ionic/{p-9e3b3263.entry.js → p-49353ba3.entry.js} +1 -1
- package/dist/ionic/{p-4f02f020.entry.js → p-502b3b55.entry.js} +1 -1
- package/dist/ionic/{p-1fbe7d66.entry.js → p-50e0cf1e.entry.js} +1 -1
- package/dist/ionic/{p-6a746af4.entry.js → p-59440b91.entry.js} +1 -1
- package/dist/ionic/{p-74dda4e5.entry.js → p-5a79d5f5.entry.js} +1 -1
- package/dist/ionic/{p-6e7d46fa.entry.js → p-5d45d791.entry.js} +1 -1
- package/dist/ionic/{p-ac85985b.entry.js → p-63be88eb.entry.js} +1 -1
- package/dist/ionic/{p-66adc5a1.entry.js → p-6f40f52a.entry.js} +1 -1
- package/dist/ionic/p-6fc4784d.entry.js +4 -0
- package/dist/ionic/{p-c1209b84.entry.js → p-725ca555.entry.js} +1 -1
- package/dist/ionic/{p-4ecf0d94.entry.js → p-74d4dcce.entry.js} +1 -1
- package/dist/ionic/p-7b0aef50.entry.js +4 -0
- package/dist/ionic/{p-79e645bd.entry.js → p-7c2e9d9f.entry.js} +1 -1
- package/dist/ionic/{p-6031e8ec.entry.js → p-81f1c2ae.entry.js} +1 -1
- package/dist/ionic/{p-465331aa.entry.js → p-8f9fa3c7.entry.js} +1 -1
- package/dist/ionic/{p-1b7a15d4.entry.js → p-9321f62f.entry.js} +1 -1
- package/dist/ionic/{p-b922806b.entry.js → p-952409d3.entry.js} +1 -1
- package/dist/ionic/{p-C7A9OQcL.js → p-BAqE8tUg.js} +1 -1
- package/dist/ionic/p-BBBnHcNG.js +4 -0
- package/dist/ionic/p-BFtwn6zO.js +4 -0
- package/dist/ionic/{p-de2BC0yO.js → p-BHPNO6ja.js} +1 -1
- package/dist/ionic/p-BRzjwFMi.js +4 -0
- package/dist/ionic/{p-Djxbup9p.js → p-BZf0THeN.js} +1 -1
- package/dist/ionic/p-B_Md9dSU.js +4 -0
- package/dist/ionic/{p-CNyAVKal.js → p-Behw7xh8.js} +1 -1
- package/dist/ionic/{p-ynrl9u5l.js → p-Bp47w0ZS.js} +1 -1
- package/dist/ionic/p-Bs8mucSo.js +4 -0
- package/dist/ionic/{p-DRGrDfWv.js → p-BxHLmLX1.js} +1 -1
- package/dist/ionic/{p-D0_5-Ckh.js → p-CGfIEco6.js} +1 -1
- package/{components/p-DDML-XXM.js → dist/ionic/p-CIlx2LFR.js} +1 -1
- package/dist/ionic/{p-BkcYeWXi.js → p-CJQh8p4r.js} +1 -1
- package/dist/ionic/p-CSH25_Bl.js +4 -0
- package/dist/ionic/{p-C_0lvVN_.js → p-C_a0nr27.js} +1 -1
- package/dist/ionic/{p-DJqMQDf-.js → p-D981kEuI.js} +1 -1
- package/dist/ionic/p-DNevhlPw.js +4 -0
- package/dist/ionic/p-DOAJgEZe.js +4 -0
- package/dist/ionic/p-DQEwYoYk.js +4 -0
- package/{components/p-D2CH_C1y.js → dist/ionic/p-DW5lJnDf.js} +1 -1
- package/dist/ionic/p-DZWBS9J6.js +4 -0
- package/dist/ionic/p-Dnxv8bGO.js +4 -0
- package/dist/ionic/{p-CjUT_VTP.js → p-DtzLTqLT.js} +1 -1
- package/dist/ionic/{p-B9cO-kYV.js → p-Dy5ODIkp.js} +1 -1
- package/dist/ionic/p-TucAhQ7c.js +4 -0
- package/dist/ionic/p-YsbDGprQ.js +4 -0
- package/dist/ionic/{p-d0d4482d.entry.js → p-a63e20ae.entry.js} +1 -1
- package/dist/ionic/p-b2693dfd.entry.js +4 -0
- package/dist/ionic/{p-b872f43e.entry.js → p-b33969da.entry.js} +1 -1
- package/dist/ionic/{p-d4afa00a.entry.js → p-b5d7df34.entry.js} +1 -1
- package/dist/ionic/p-b9dd7fd3.entry.js +4 -0
- package/dist/ionic/{p-53b6ab69.entry.js → p-bd6286d3.entry.js} +1 -1
- package/dist/ionic/{p-10461bd8.entry.js → p-c19b22e4.entry.js} +1 -1
- package/dist/ionic/{p-42602b39.entry.js → p-c1c958b6.entry.js} +1 -1
- package/dist/ionic/{p-17217288.entry.js → p-c328ccd2.entry.js} +1 -1
- package/dist/ionic/{p-03bb02b6.entry.js → p-c391fa2d.entry.js} +1 -1
- package/dist/ionic/p-c6cf173a.entry.js +4 -0
- package/dist/ionic/{p-bf720fd6.entry.js → p-c82b9058.entry.js} +1 -1
- package/dist/ionic/{p-605d5a7e.entry.js → p-c8a48b15.entry.js} +1 -1
- package/dist/ionic/{p-1ae4b282.entry.js → p-ca65a767.entry.js} +1 -1
- package/dist/ionic/{p-df8a4ddd.entry.js → p-cbe648c7.entry.js} +1 -1
- package/dist/ionic/{p-624a5dd0.entry.js → p-d30489e6.entry.js} +1 -1
- package/dist/ionic/{p-4df1b117.entry.js → p-dc6be1a6.entry.js} +1 -1
- package/dist/ionic/{p-2090c9dd.entry.js → p-e17dba82.entry.js} +1 -1
- package/dist/ionic/{p-ca608663.entry.js → p-ea467e6b.entry.js} +1 -1
- package/dist/ionic/p-ecc36a41.entry.js +4 -0
- package/dist/ionic/p-f2500ead.entry.js +4 -0
- package/dist/ionic/{p-1238548e.entry.js → p-f437b1c1.entry.js} +1 -1
- package/dist/ionic/p-f693211b.entry.js +4 -0
- package/dist/ionic/{p-2fab8bf5.entry.js → p-f79b8489.entry.js} +1 -1
- package/dist/ionic/p-fa800994.entry.js +4 -0
- package/dist/ionic/{p-c394744f.entry.js → p-fe2072b9.entry.js} +1 -1
- package/dist/ionic/{p-c7315410.entry.js → p-fe2ddbef.entry.js} +1 -1
- package/dist/ionic/p-l87wJDEi.js +4 -0
- package/dist/ionic/p-u2H7Vgbn.js +4 -0
- package/dist/ionic/p-uFStprb5.js +6 -0
- package/dist/ionic/p-uie7xeDT.js +4 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +4 -0
- 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 +183 -124
- package/hydrate/index.mjs +183 -124
- package/package.json +4 -4
- package/components/p-28_KCxSf.js +0 -4
- package/components/p-B8IkLUt6.js +0 -4
- package/components/p-BKzm8GnQ.js +0 -4
- package/components/p-Bl36leJI.js +0 -4
- package/components/p-BqRR1T5F.js +0 -4
- package/components/p-C6mx0RsH.js +0 -4
- package/components/p-CHtaS-1H.js +0 -4
- package/components/p-CVWleXIL.js +0 -4
- package/components/p-CekDicbC.js +0 -4
- package/components/p-Cs66-da5.js +0 -4
- package/components/p-CxYMGJTr.js +0 -4
- package/components/p-DBdOjgB_.js +0 -4
- package/components/p-DPypH5J1.js +0 -4
- package/components/p-DSGxE4YQ.js +0 -4
- package/components/p-Dhhot0Wu.js +0 -4
- package/components/p-Di_8hcJD.js +0 -4
- package/components/p-dgUknkY4.js +0 -4
- package/components/p-fCziDtBc.js +0 -4
- package/dist/ionic/p-1419107d.entry.js +0 -4
- package/dist/ionic/p-1feuPAQy.js +0 -4
- package/dist/ionic/p-26aa0bea.entry.js +0 -4
- package/dist/ionic/p-2f68b3c0.entry.js +0 -4
- package/dist/ionic/p-46f2c59f.entry.js +0 -4
- package/dist/ionic/p-52186d6b.entry.js +0 -4
- package/dist/ionic/p-88cf20d2.entry.js +0 -4
- package/dist/ionic/p-BGtO2Fhf.js +0 -6
- package/dist/ionic/p-BNupGwtk.js +0 -4
- package/dist/ionic/p-BmeHOspf.js +0 -4
- package/dist/ionic/p-CBq1CZwb.js +0 -4
- package/dist/ionic/p-CRgN46qV.js +0 -4
- package/dist/ionic/p-CYKfkI6i.js +0 -4
- package/dist/ionic/p-D5TRCRie.js +0 -4
- package/dist/ionic/p-DCzujr0Q.js +0 -4
- package/dist/ionic/p-Dqz9qh-H.js +0 -4
- package/dist/ionic/p-RJtRqfIz.js +0 -4
- package/dist/ionic/p-SfKXFiOB.js +0 -4
- package/dist/ionic/p-UUJgswAN.js +0 -4
- package/dist/ionic/p-a4df0e91.entry.js +0 -4
- package/dist/ionic/p-d7749f70.entry.js +0 -4
- package/dist/ionic/p-df9ebba7.entry.js +0 -4
- package/dist/ionic/p-e3355fe5.entry.js +0 -4
- package/dist/ionic/p-eb93c676.entry.js +0 -4
- package/dist/ionic/p-rXvVaOP9.js +0 -4
|
@@ -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";
|
|
@@ -186,14 +187,14 @@ export class Loading {
|
|
|
186
187
|
* Otherwise, don't set aria-labelledby.
|
|
187
188
|
*/
|
|
188
189
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
189
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: '78b2e6736edcc5fe4ad987548be2756c5b61ac0e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
|
|
190
191
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
191
192
|
}, onIonBackdropTap: this.onBackdropTap, class: {
|
|
192
193
|
...getClassMap(this.cssClass),
|
|
193
194
|
[mode]: true,
|
|
194
195
|
'overlay-hidden': true,
|
|
195
196
|
'loading-translucent': this.translucent,
|
|
196
|
-
} }, h("ion-backdrop", { key: '
|
|
197
|
+
} }, h("ion-backdrop", { key: '0917bac1a418490b7ebebd77e7cebb132b01516c', visible: this.showBackdrop, tappable: this.backdropDismiss }), h(OverlayFocusBoundary, { key: 'e9d3262ef4d21f141b85502c171b27aaee1dbb6c', overlay: this.el, edge: "start" }), h("div", { key: 'f1d574342f3a71530540ddd359ce8a902f5b59bd', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '3644f18d56fe0f520be73200bb1c74d6efb57820', class: "loading-spinner" }, h("ion-spinner", { key: 'ab8c6426ac708d9d5830820d8914ff31a901b4fd', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h(OverlayFocusBoundary, { key: '0def8a091d0a09308b0c64fb71240c64d28a671a', overlay: this.el, edge: "end" })));
|
|
197
198
|
}
|
|
198
199
|
static get is() { return "ion-loading"; }
|
|
199
200
|
static get encapsulation() { return "scoped"; }
|
|
@@ -150,6 +150,14 @@ ion-backdrop {
|
|
|
150
150
|
background: transparent;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Removes the focus boundaries from the tab order
|
|
155
|
+
* so focus can leave the modal when the trap is off.
|
|
156
|
+
*/
|
|
157
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
153
161
|
@media only screen and (min-width: 768px) and (min-height: 600px) {
|
|
154
162
|
:host {
|
|
155
163
|
--width: 600px;
|
|
@@ -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";
|
|
@@ -1263,7 +1264,7 @@ export class Modal {
|
|
|
1263
1264
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
1264
1265
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1265
1266
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
1266
|
-
return (h(Host, { key: '
|
|
1267
|
+
return (h(Host, { key: '0f5bf017911db2f82bc69ba85b173b7573a21d6c', "no-router": true,
|
|
1267
1268
|
// Allow the modal to be navigable when the handle is focusable
|
|
1268
1269
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
|
|
1269
1270
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
@@ -1276,7 +1277,7 @@ export class Modal {
|
|
|
1276
1277
|
'overlay-hidden': true,
|
|
1277
1278
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
1278
1279
|
...getClassMap(this.cssClass),
|
|
1279
|
-
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, h("ion-backdrop", { key: '
|
|
1280
|
+
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, h("ion-backdrop", { key: '16ead017af217106e7eceb53a727f9b0b2dcf956', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'e040ccf1fd3757245c9804258e1d0d651a0af622', class: "modal-shadow" }), h(OverlayFocusBoundary, { key: '462e5424d6e04684e68cfd71bf1e526af6446681', overlay: this.el, edge: "start" }), h("div", { key: '98de2956a7dbbb3fd2709b689426ff00debf96d9',
|
|
1280
1281
|
/*
|
|
1281
1282
|
role and aria-modal must be used on the
|
|
1282
1283
|
same element. They must also be set inside the
|
|
@@ -1289,9 +1290,9 @@ export class Modal {
|
|
|
1289
1290
|
without the tabindex focus() would be a no-op and screen readers
|
|
1290
1291
|
may not properly announce the dialog and its content when it opens.
|
|
1291
1292
|
*/
|
|
1292
|
-
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: '
|
|
1293
|
+
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: '33d09f0ec7ad39e64fef18271a15491ae1f48a18', class: "modal-handle",
|
|
1293
1294
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1294
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
1295
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '950bf5bbf3f29ee2888d3a46a5f0dde6566af0e8', onSlotchange: this.onSlotChange })), h(OverlayFocusBoundary, { key: '4d28b0066b3a0c57a315844761acc454055e6339', overlay: this.el, edge: "end" })));
|
|
1295
1296
|
}
|
|
1296
1297
|
static get is() { return "ion-modal"; }
|
|
1297
1298
|
static get encapsulation() { return "shadow"; }
|
|
@@ -150,6 +150,14 @@ ion-backdrop {
|
|
|
150
150
|
background: transparent;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Removes the focus boundaries from the tab order
|
|
155
|
+
* so focus can leave the modal when the trap is off.
|
|
156
|
+
*/
|
|
157
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
153
161
|
@media only screen and (min-width: 768px) and (min-height: 600px) {
|
|
154
162
|
:host {
|
|
155
163
|
--width: 600px;
|
|
@@ -746,7 +746,7 @@ export class Nav {
|
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
render() {
|
|
749
|
-
return h("slot", { key: '
|
|
749
|
+
return h("slot", { key: 'c5cac2d78cd795c13ff99c81fe1aa4b1eb56a26e' });
|
|
750
750
|
}
|
|
751
751
|
static get is() { return "ion-nav"; }
|
|
752
752
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class NavLink {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return h(Host, { key: '
|
|
17
|
+
return h(Host, { key: '02d9f90830b4055a424ce0f8f076361311e5380f', onClick: this.onClick });
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-nav-link"; }
|
|
20
20
|
static get properties() {
|
|
@@ -10,9 +10,9 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
10
10
|
export class Note {
|
|
11
11
|
render() {
|
|
12
12
|
const mode = getIonMode(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '5e8f4fc23d1ddfb65db1ccbfd8c44ad81747b673', class: createColorClasses(this.color, {
|
|
14
14
|
[mode]: true,
|
|
15
|
-
}) }, h("slot", { key: '
|
|
15
|
+
}) }, h("slot", { key: '5d8395bf7b40e02e45eebc17afca608a39a0b7fb' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-note"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,10 +85,10 @@ export class PickerColumnOption {
|
|
|
85
85
|
render() {
|
|
86
86
|
const { color, disabled, ariaLabel } = this;
|
|
87
87
|
const mode = getIonMode(this);
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'd170c932c13716c1b383feb551efda3171de7b37', class: createColorClasses(color, {
|
|
89
89
|
[mode]: true,
|
|
90
90
|
['option-disabled']: disabled,
|
|
91
|
-
}) }, h("div", { key: '
|
|
91
|
+
}) }, h("div", { key: 'e598afe231cefe9cf0cd90d9283093ed06080d20', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'f2d18c46d237d08dd066728c339c960f6ada4c29' }))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "ion-picker-column-option"; }
|
|
94
94
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,6 +118,14 @@
|
|
|
118
118
|
z-index: 10;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
/**
|
|
122
|
+
* Removes the focus boundaries from the tab order
|
|
123
|
+
* so focus can leave the popover when the trap is off.
|
|
124
|
+
*/
|
|
125
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
121
129
|
.popover-content {
|
|
122
130
|
display: flex;
|
|
123
131
|
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";
|
|
@@ -496,7 +497,7 @@ export class Popover {
|
|
|
496
497
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
497
498
|
const desktop = isPlatform('desktop');
|
|
498
499
|
const enableArrow = arrow && !parentPopover;
|
|
499
|
-
return (h(Host, { key: '
|
|
500
|
+
return (h(Host, { key: '1c5f06c725f90f8d907ae69ef9ef0eb0b5721e61', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
|
|
500
501
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
501
502
|
}, class: {
|
|
502
503
|
...getClassMap(this.cssClass),
|
|
@@ -507,7 +508,7 @@ export class Popover {
|
|
|
507
508
|
[`popover-side-${side}`]: true,
|
|
508
509
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
509
510
|
'popover-nested': !!parentPopover,
|
|
510
|
-
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && h("ion-backdrop", { key: '
|
|
511
|
+
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && h("ion-backdrop", { key: '5cd1e9743febb32fa98b74de88bb2592968df69e', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h(OverlayFocusBoundary, { key: '9cad2862e34697abff6c39952b0b5f9dbc8c484e', overlay: this.el, edge: "start" }), h("div", { key: 'e060966e7f2dc7a7bbdc854783ff6472924968fe', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '9f589822f54981a93ba71880b7402d51969e014a', class: "popover-arrow", part: "arrow" }), h("div", { key: '2db9a75ef037c0a80507c2d7d363e28b80d82e0a', class: "popover-content", part: "content" }, h("slot", { key: '0aafd5ff3244ff428ed7f7c94a6a0eaf75faac2f' }))), h(OverlayFocusBoundary, { key: '9e4ea8d4aefb81f0955bf78781e7d95dfda34c94', overlay: this.el, edge: "end" })));
|
|
511
512
|
}
|
|
512
513
|
static get is() { return "ion-popover"; }
|
|
513
514
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,6 +118,14 @@
|
|
|
118
118
|
z-index: 10;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
/**
|
|
122
|
+
* Removes the focus boundaries from the tab order
|
|
123
|
+
* so focus can leave the popover when the trap is off.
|
|
124
|
+
*/
|
|
125
|
+
:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
121
129
|
.popover-content {
|
|
122
130
|
display: flex;
|
|
123
131
|
position: absolute;
|
|
@@ -44,7 +44,7 @@ export class ProgressBar {
|
|
|
44
44
|
const mode = getIonMode(this);
|
|
45
45
|
// If the progress is displayed as a solid bar.
|
|
46
46
|
const progressSolid = buffer === 1;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '0dcbab9010dfe1acb14b1cc36fce4dd3679184c7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
48
48
|
[mode]: true,
|
|
49
49
|
[`progress-bar-${type}`]: true,
|
|
50
50
|
'progress-paused': paused,
|
|
@@ -771,7 +771,7 @@ export class Range {
|
|
|
771
771
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
772
772
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
773
773
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
774
|
-
return (h(Host, { key: '
|
|
774
|
+
return (h(Host, { key: 'f63c0130ab45c80f07f3f3f9c8f1893535b2c2cd', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
775
775
|
[mode]: true,
|
|
776
776
|
'in-item': inItem,
|
|
777
777
|
'range-disabled': disabled,
|
|
@@ -785,10 +785,10 @@ export class Range {
|
|
|
785
785
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
786
786
|
'range-value-min': valueAtMin,
|
|
787
787
|
'range-value-max': valueAtMax,
|
|
788
|
-
}) }, h("label", { key: '
|
|
788
|
+
}) }, h("label", { key: 'd71435fdcbffd880da8923b8225ae24776ff20de', class: "range-wrapper", id: "range-label" }, h("div", { key: 'd9145352c3565ea7dda02f3bee9aac97a8ce4a21', class: {
|
|
789
789
|
'label-text-wrapper': true,
|
|
790
790
|
'label-text-wrapper-hidden': !hasLabel,
|
|
791
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
791
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'e5c316c2235f23b11cf12a735c7a9c480889d914', class: "native-wrapper" }, h("slot", { key: 'a38e4241d08e0eeaf4c796a960108d07e51a9f74', name: "start" }), this.renderRangeSlider(), h("slot", { key: '5c19c866c0505f63fac5fcb60a843f0204451531', name: "end" })))));
|
|
792
792
|
}
|
|
793
793
|
static get is() { return "ion-range"; }
|
|
794
794
|
static get encapsulation() { return "shadow"; }
|
|
@@ -749,7 +749,7 @@ export class Refresher {
|
|
|
749
749
|
}
|
|
750
750
|
render() {
|
|
751
751
|
const mode = getIonMode(this);
|
|
752
|
-
return (h(Host, { key: '
|
|
752
|
+
return (h(Host, { key: '70e690c0e25c011cdff74560ae8437c01081f63b', slot: "fixed", class: {
|
|
753
753
|
[mode]: true,
|
|
754
754
|
// Used internally for styling
|
|
755
755
|
[`refresher-${mode}`]: true,
|
|
@@ -48,7 +48,7 @@ export class RefresherContent {
|
|
|
48
48
|
const pullingIcon = this.pullingIcon;
|
|
49
49
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
50
50
|
const mode = getIonMode(this);
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '1bec5b4da221c69d856f3f5ddf40f2e03ebf2a4c', class: mode }, h("div", { key: '4fcc526c4f1881e9368d9cd16bd7030919bd3841', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'a4e9e2e12c2d7faefc8303ec8c021f999ddf308e', class: "refresher-pulling-icon" }, h("div", { key: '5a2d215feb7fb4b64d540d3a65c0f24b415a2433', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'abef2621d671ac6ff0abac43a702cbd825b7f127', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '30087d672c3780672a05874cd93cd099b2855462', class: "arrow-container" }, h("ion-icon", { key: '5e30333dee469aec0d8efc8c4e6dabb619c6f363', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '48fe72b5ce8ded633c6ee799cebb520b9c8be528', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd8dfd5d42056b1c0a436c5006affb255407816c0', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'c2cbfb94f157c82601ffe7bb815ff82ebc7c0a49', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '17f3ebe6a31768d5e389f45a2c12f68600185db9', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'e8e61f8d7189c9939bba184201c9509d1d5b0fad', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "ion-refresher-content"; }
|
|
54
54
|
static get properties() {
|
|
@@ -20,7 +20,7 @@ export class Reorder {
|
|
|
20
20
|
render() {
|
|
21
21
|
const mode = getIonMode(this);
|
|
22
22
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '663d74e231e3af56b6298ee2539fdac9c8465839', class: mode }, h("slot", { key: 'c7c384ab8c9ca8abdc89cd984a39dfde70e342ca' }, h("ion-icon", { key: 'c8b6052db03d4b9e33a90e600c20861c73ee73ce', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "ion-reorder"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -253,7 +253,7 @@ export class ReorderGroup {
|
|
|
253
253
|
}
|
|
254
254
|
render() {
|
|
255
255
|
const mode = getIonMode(this);
|
|
256
|
-
return (h(Host, { key: '
|
|
256
|
+
return (h(Host, { key: '241ce7193a6a7149480f8ca51ee17f9e42b251be', class: {
|
|
257
257
|
[mode]: true,
|
|
258
258
|
'reorder-enabled': !this.disabled,
|
|
259
259
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -68,7 +68,7 @@ export class RippleEffect {
|
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
70
|
const mode = getIonMode(this);
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '2302f087ab1c6755355736e4ca77309c5fdcf185', role: "presentation", class: {
|
|
72
72
|
[mode]: true,
|
|
73
73
|
unbounded: this.unbounded,
|
|
74
74
|
} }));
|
|
@@ -33,10 +33,10 @@ export class RouterLink {
|
|
|
33
33
|
rel: this.rel,
|
|
34
34
|
target: this.target,
|
|
35
35
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'f9d99a1f2d2518eec86cd27731c765cb129ca032', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
37
37
|
[mode]: true,
|
|
38
38
|
'ion-activatable': true,
|
|
39
|
-
}) }, h("a", { key: '
|
|
39
|
+
}) }, h("a", { key: 'ad6c442b755b96957c311b3866738edccaa40e1b', ...attrs, ...tabindexAttributes }, h("slot", { key: 'ab4aefba564839c658f8e6c5ca4ff1f8cf8b6c27' }))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ion-router-link"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -226,7 +226,7 @@ export class RouterOutlet {
|
|
|
226
226
|
return true;
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
|
-
return h("slot", { key: '
|
|
229
|
+
return h("slot", { key: '4aba1441f005dc7f91408ccb26ac81875a948e67' });
|
|
230
230
|
}
|
|
231
231
|
static get is() { return "ion-router-outlet"; }
|
|
232
232
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Row {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '813c9a7f6782d2cf8eb27f30d3ab28e6f3122868', class: getIonMode(this) }, h("slot", { key: '356bec4d4d408ea63d6b431b06465d5b7bcbff71' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-row"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
|
+
import { syncValueOnPageRestore } from "../../utils/forms/index";
|
|
5
6
|
import { debounceEvent, raf, componentOnReady, inheritAttributes } from "../../utils/helpers";
|
|
6
7
|
import { isRTL } from "../../utils/rtl/index";
|
|
7
8
|
import { createColorClasses } from "../../utils/theme";
|
|
@@ -234,6 +235,15 @@ export class Searchbar {
|
|
|
234
235
|
forceUpdate(this);
|
|
235
236
|
});
|
|
236
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* Safari clears the field when it restores the page from the back/forward cache.
|
|
240
|
+
*/
|
|
241
|
+
onPageShow(ev) {
|
|
242
|
+
syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
|
|
243
|
+
this.value = value;
|
|
244
|
+
this.emitInputChange();
|
|
245
|
+
});
|
|
246
|
+
}
|
|
237
247
|
connectedCallback() {
|
|
238
248
|
this.emitStyle();
|
|
239
249
|
}
|
|
@@ -464,8 +474,8 @@ export class Searchbar {
|
|
|
464
474
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
465
475
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
466
476
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
467
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
468
|
-
return (h(Host, { key: '
|
|
477
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '78299d5cc4c514f5246d67af0a019c730c8d42d4', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '41aa994b725380bba32ce9a9fad45c901570c97d', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
478
|
+
return (h(Host, { key: '31a0d7df3e92608c5369828b373efdff331eb4b0', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
469
479
|
[mode]: true,
|
|
470
480
|
'searchbar-animated': animated,
|
|
471
481
|
'searchbar-disabled': this.disabled,
|
|
@@ -475,14 +485,14 @@ export class Searchbar {
|
|
|
475
485
|
'searchbar-has-focus': this.focused,
|
|
476
486
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
477
487
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
478
|
-
}) }, h("div", { key: '
|
|
488
|
+
}) }, h("div", { key: '69adb8ee092e7ae99a86bdcb6e6bf8665cf6b40d', class: "searchbar-input-container" }, h("input", { key: '980a802a8be601efdbddb8dd033cfd28ca15460e', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect ? 'on' : 'off', spellcheck: this.spellcheck, ...this.inheritedAttributes }), mode === 'md' && cancelButton, h("ion-icon", { key: '1329f5f3ea08f7518028baa5e077b0cce74efc36', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: 'd12ee05b37b208dbaa075092176859622345b8da', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
479
489
|
/**
|
|
480
490
|
* This prevents mobile browsers from
|
|
481
491
|
* blurring the input when the clear
|
|
482
492
|
* button is activated.
|
|
483
493
|
*/
|
|
484
494
|
ev.preventDefault();
|
|
485
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
495
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '856eaa2a5429759a456875f47cb796e51211795d', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
486
496
|
}
|
|
487
497
|
static get is() { return "ion-searchbar"; }
|
|
488
498
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1147,5 +1157,14 @@ export class Searchbar {
|
|
|
1147
1157
|
"methodName": "showCancelButtonChanged"
|
|
1148
1158
|
}];
|
|
1149
1159
|
}
|
|
1160
|
+
static get listeners() {
|
|
1161
|
+
return [{
|
|
1162
|
+
"name": "pageshow",
|
|
1163
|
+
"method": "onPageShow",
|
|
1164
|
+
"target": "window",
|
|
1165
|
+
"capture": false,
|
|
1166
|
+
"passive": false
|
|
1167
|
+
}];
|
|
1168
|
+
}
|
|
1150
1169
|
}
|
|
1151
1170
|
let searchbarIds = 0;
|
|
@@ -545,14 +545,14 @@ export class Segment {
|
|
|
545
545
|
}
|
|
546
546
|
render() {
|
|
547
547
|
const mode = getIonMode(this);
|
|
548
|
-
return (h(Host, { key: '
|
|
548
|
+
return (h(Host, { key: 'dd0139de09445e0b4ec26a4cde807cbf5dce0d15', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
549
549
|
[mode]: true,
|
|
550
550
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
551
551
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
552
552
|
'segment-activated': this.activated,
|
|
553
553
|
'segment-disabled': this.disabled,
|
|
554
554
|
'segment-scrollable': this.scrollable,
|
|
555
|
-
}) }, h("slot", { key: '
|
|
555
|
+
}) }, h("slot", { key: '6ffc9dbdba6de3d69be8324b570e61734f2a3f8b', onSlotchange: this.onSlottedItemsChange })));
|
|
556
556
|
}
|
|
557
557
|
static get is() { return "ion-segment"; }
|
|
558
558
|
static get encapsulation() { return "shadow"; }
|
|
@@ -122,7 +122,7 @@ export class SegmentButton {
|
|
|
122
122
|
const mode = getIonMode(this);
|
|
123
123
|
const tabindexAttributes = this.tabindexController?.attributes ?? {};
|
|
124
124
|
const hasSegmentColor = () => segmentEl?.color !== undefined;
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '56759e465e2e1881a5f34dbd0f5b6f242638a73d', class: {
|
|
126
126
|
[mode]: true,
|
|
127
127
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
128
128
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -138,7 +138,7 @@ export class SegmentButton {
|
|
|
138
138
|
'ion-activatable': true,
|
|
139
139
|
'ion-activatable-instant': true,
|
|
140
140
|
'ion-focusable': true,
|
|
141
|
-
} }, h("button", { key: '
|
|
141
|
+
} }, h("button", { key: '5b1a867b731544a77241d9103b3cc68b60cf7a1a', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled, ...this.inheritedAttributes, ...tabindexAttributes }, h("span", { key: '799a7b61f2c9992fb1aa7f056283810c4a2043ad', class: "button-inner" }, h("slot", { key: '9bc8e13a8e730f01e064cb589ed4b763c7a67cf5' })), mode === 'md' && h("ion-ripple-effect", { key: '6af753b2202a98c8a9daa85b13f5bf94baaf7be1' })), h("div", { key: 'bde801b1ddd6cb64fbb0bb4c5847ae382d85c3a4', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'b32835e2a6866479b8371238e2b063c65df11e6d', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
142
142
|
}
|
|
143
143
|
static get is() { return "ion-segment-button"; }
|
|
144
144
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '59255f57a34e498daf3adc11585018a9d25607d5' }, h("slot", { key: '96b47a077af8434a6debc37330529db1f8b6add8' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,11 +102,11 @@ export class SegmentView {
|
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
104
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '6604975fe6353ec1799502c9d19ea390e84ce3b5', class: {
|
|
106
106
|
'segment-view-disabled': disabled,
|
|
107
107
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
108
108
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
109
|
-
} }, h("slot", { key: '
|
|
109
|
+
} }, h("slot", { key: '4a6a119273bb4de22f3f08a17784520ea10dac66' })));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "ion-segment-view"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -945,7 +945,7 @@ export class Select {
|
|
|
945
945
|
const hasOutlineFill = mode === 'md' && fill === 'outline';
|
|
946
946
|
renderHiddenInput(true, el, name, parseValue(value), disabled);
|
|
947
947
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded));
|
|
948
|
-
return (h(Host, { key: '
|
|
948
|
+
return (h(Host, { key: '1069f654b45cf9ee6e48c585a1f7aab317c3039e', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
949
949
|
[mode]: true,
|
|
950
950
|
'in-item': inItem,
|
|
951
951
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -963,7 +963,7 @@ export class Select {
|
|
|
963
963
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
964
964
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
965
965
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
966
|
-
}) }, h("label", { key: '
|
|
966
|
+
}) }, h("label", { key: 'a934d6833637ed86c714ba4d499929d32aa0d0b3', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, hasOutlineFill && this.renderOutlineContainer(), h("div", { key: '5412ae445dc4b48b5d8f2f94029833139936f347', class: "select-start", part: "start", ref: (el) => (this.startContainerEl = el) }, h("slot", { key: '2c86c99895270978953581f0595b7e783c480f5d', name: "start" })), h("div", { key: '219e6b59685c9f4d9d98f6e90443e6ee07567d11', class: "select-control", part: "control" }, this.renderLabel(), h("div", { key: '226dec9c289cde83927431e6bbd62957232bafe6', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox(), !hasFloatingOrStackedLabel && this.renderSelectIcon())), h("div", { key: '683c9823d4cd1a77aadbfe518e8ac7a74cb96d94', class: "select-end", part: "end", ref: (el) => (this.endContainerEl = el) }, hasFloatingOrStackedLabel && this.renderSelectIcon(), h("slot", { key: 'dab8d5d96031b7729a838c5655651fda303cfb47', name: "end" })), shouldRenderHighlight && h("div", { key: '79efaf73be89fa4cbee9bcdb15c029784ec2fb00', class: "select-highlight" })), this.renderBottomContent()));
|
|
967
967
|
}
|
|
968
968
|
static get is() { return "ion-select"; }
|
|
969
969
|
static get encapsulation() { return "shadow"; }
|
|
@@ -143,7 +143,7 @@ export class SelectModal {
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: '2637fb69c9388122020b9cf628cf16fdd2e2179b', class: getIonMode(this) }, h("ion-header", { key: 'ff9e61a03c09f43c27db940e39db14dd2737e221' }, h("ion-toolbar", { key: '56aa98fa0f06dd65cbc8fe7b383659d1df8d9626' }, this.header !== undefined && h("ion-title", { key: 'c30642e641445d5ed826f2285d7296ea0c71469e' }, this.header), h("ion-buttons", { key: 'e87ec2fc60857219870d2e07d3287695a8d1e668', slot: "end" }, h("ion-button", { key: '33801ad7c3706a89faad34fc557943628444b84a', onClick: () => this.closeModal() }, this.cancelText)))), h("ion-content", { key: '6796d924d0cfd0840c121eb2e703f6fc7b7137cb' }, h("ion-list", { key: '82ebe25cc0854f6edf51a2eae83c880b2772dc3a' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "ion-select-modal"; }
|
|
149
149
|
static get encapsulation() { return "scoped"; }
|
|
@@ -19,7 +19,7 @@ export class SelectOption {
|
|
|
19
19
|
this.disabled = false;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return h(Host, { key: '
|
|
22
|
+
return h(Host, { key: 'b5c1acc133a280ff33e33d3a49a72633ce63c55c', role: "option", id: this.inputId, class: getIonMode(this) });
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ion-select-option"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -164,7 +164,7 @@ export class SelectPopover {
|
|
|
164
164
|
render() {
|
|
165
165
|
const { header, message, options, subHeader } = this;
|
|
166
166
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
167
|
-
return (h(Host, { key: '
|
|
167
|
+
return (h(Host, { key: 'b9c5491322b38601ce83d1ecdee38d144420fe3b', class: getIonMode(this) }, h("ion-list", { key: 'f03f06995c3ecef8115655968bd759a1632f0d96' }, header !== undefined && h("ion-list-header", { key: '095b185cb82109300e797cf8513ab7aa38122fae' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '6b97494064b03727b3ab141e6af42e2a30332d55' }, h("ion-label", { key: 'c44fd7ada4fa081198f197ae57a2f7a2ea831cae', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '96952ab92e728047e71f5e4374e4a91dcd615aae' }, subHeader), message !== undefined && h("p", { key: '2ccb63962c2b635ff188780725f80635d636a3e2' }, message)))), this.renderOptions(options))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "ion-select-popover"; }
|
|
170
170
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,11 +28,11 @@ export class SkeletonText {
|
|
|
28
28
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
29
29
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
30
30
|
const mode = getIonMode(this);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '59a41a7f3ba2de4f44de57b3243c8f803eb88e2c', class: {
|
|
32
32
|
[mode]: true,
|
|
33
33
|
'skeleton-text-animated': animated,
|
|
34
34
|
'in-media': inMedia,
|
|
35
|
-
} }, h("span", { key: '
|
|
35
|
+
} }, h("span", { key: 'a59a5cea5504f523c4d9b1f428f66772103290aa' }, "\u00A0")));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-skeleton-text"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class Spinner {
|
|
|
38
38
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '8cb73346083cb8a17e38c90e3405fee806c55bbf', class: createColorClasses(self.color, {
|
|
42
42
|
[mode]: true,
|
|
43
43
|
[`spinner-${spinnerName}`]: true,
|
|
44
44
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -126,12 +126,12 @@ export class SplitPane {
|
|
|
126
126
|
}
|
|
127
127
|
render() {
|
|
128
128
|
const mode = getIonMode(this);
|
|
129
|
-
return (h(Host, { key: '
|
|
129
|
+
return (h(Host, { key: 'b3147f326f07cb85ae89777fb78aece2bfeaf082', class: {
|
|
130
130
|
[mode]: true,
|
|
131
131
|
// Used internally for styling
|
|
132
132
|
[`split-pane-${mode}`]: true,
|
|
133
133
|
'split-pane-visible': this.visible,
|
|
134
|
-
} }, h("slot", { key: '
|
|
134
|
+
} }, h("slot", { key: '4c02e636cbba62fe77e3bf6522450fddf3db1b12' })));
|
|
135
135
|
}
|
|
136
136
|
static get is() { return "ion-split-pane"; }
|
|
137
137
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,10 +54,10 @@ export class Tab {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const { tab, active, component } = this;
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '8c16ed02c7b4e2839866ee1bacb2ba423df7a0ea', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
58
58
|
'ion-page': component === undefined,
|
|
59
59
|
'tab-hidden': !active,
|
|
60
|
-
} }, h("slot", { key: '
|
|
60
|
+
} }, h("slot", { key: '27cef38176016a1d5eb7de578f131978e78b6e1c' })));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "ion-tab"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|