@ionic/core 8.8.18-dev.11786399582.1d58c37d → 8.8.18-dev.11786663039.1d61e2fe
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-0tt0PTAe.js +4 -0
- package/components/p-3dKnMgX5.js +4 -0
- package/components/p-6e_5igwn.js +4 -0
- package/components/{p--JUspHvy.js → p-AqD_wmvU.js} +1 -1
- package/components/p-B-FxiyeI.js +4 -0
- package/components/p-B4COLbAV.js +4 -0
- package/components/p-B9zzUBwR.js +4 -0
- package/components/p-BFU7kgcj.js +4 -0
- package/components/p-BMPN55of.js +4 -0
- package/components/p-BPbRjpb2.js +4 -0
- package/components/p-BSQPZ79H.js +4 -0
- package/{dist/ionic/p-KjNvRoEp.js → components/p-BXQ7upSC.js} +1 -1
- package/components/p-BhamHSw3.js +4 -0
- package/components/p-BrXE0XUu.js +4 -0
- package/components/p-Bv7Rqz3Z.js +4 -0
- package/components/p-Bw7MMRH7.js +4 -0
- package/components/p-C-X5vb8f.js +4 -0
- package/components/p-C117Majq.js +4 -0
- package/components/{p-ChIZKXUu.js → p-C6JOi8wS.js} +1 -1
- package/components/p-CCVPk59A.js +4 -0
- package/components/p-CEW4RXZO.js +4 -0
- package/components/p-CKMc290p.js +4 -0
- package/components/{p-BkKAANMJ.js → p-CO5nI-BZ.js} +1 -1
- package/components/p-COQ_7Wwc.js +4 -0
- package/components/p-CQbh6Be_.js +4 -0
- package/components/p-CQtcj8t7.js +4 -0
- package/components/p-Cap9bvqr.js +4 -0
- package/components/p-CdP7ze2J.js +4 -0
- package/components/p-CfyJ_Ogc.js +4 -0
- package/components/p-ChWC4-vA.js +4 -0
- package/components/p-CmKf4pgI.js +4 -0
- package/components/p-CqYSqB9_.js +4 -0
- package/{dist/ionic/p-DC3RagnA.js → components/p-Cwsd9bue.js} +1 -1
- package/components/{p-D3xo7hqU.js → p-D0pL_HuH.js} +1 -1
- package/components/p-D0xd6h3Q.js +4 -0
- package/components/p-D28LaDuR.js +4 -0
- package/components/p-D7-vHX0A.js +4 -0
- package/components/p-D9KqizZs.js +4 -0
- package/components/p-DIZE3CVV.js +4 -0
- package/components/p-DL8rd5jo.js +4 -0
- package/components/p-DRcApg6F.js +4 -0
- package/components/p-DTTnwMiS.js +4 -0
- package/components/p-DWCzVL3Y.js +4 -0
- package/components/p-DYmrV1HT.js +4 -0
- package/components/{p-DqLB8yFQ.js → p-Dcu-SAJG.js} +1 -1
- package/components/p-DnINLmwC.js +4 -0
- package/components/p-DsNz6_gM.js +4 -0
- package/components/p-DtiuiOTk.js +4 -0
- package/components/p-DunYzubP.js +4 -0
- package/components/p-DwcSJ9u1.js +4 -0
- package/components/p-QCPSB1bo.js +4 -0
- package/components/p-RvtofbHn.js +4 -0
- package/components/p-TXPDHL13.js +4 -0
- package/components/p-WOFp6fXj.js +4 -0
- package/components/p-byZM6qHV.js +4 -0
- package/components/{p-C_hpsif8.js → p-ltNYIRmI.js} +1 -1
- package/components/p-miSGCTAU.js +4 -0
- package/components/p-mpdX3emm.js +4 -0
- package/components/p-nvqVLrWC.js +4 -0
- package/components/p-qiWM96Sz.js +4 -0
- package/components/p-vlF0Bcfd.js +4 -0
- package/dist/cjs/{animation-Ch16T-Nb.js → animation-D5WDBRvT.js} +4 -4
- package/dist/cjs/{app-globals-Dd89e0MR.js → app-globals-C2s3Cbal.js} +1 -1
- package/dist/cjs/{button-active-COnxOe4X.js → button-active-CXI2TseG.js} +3 -3
- package/dist/cjs/config-CjUbvdPW.js +36 -0
- package/dist/cjs/{dir-Cn0z1rJH.js → dir-Brx7VkvP.js} +1 -1
- package/dist/cjs/{format-BUFWn4Bn.js → format-ZfKtcdit.js} +40 -30
- package/dist/cjs/{framework-delegate-BgU6U9Ez.js → framework-delegate-Bdvk3JQO.js} +5 -7
- package/dist/cjs/{gesture-controller-dtqlP_q4.js → gesture-controller-BDUH7687.js} +15 -8
- package/dist/cjs/{haptic-ClPPQ_PS.js → haptic-Ch-X4gRx.js} +2 -3
- package/dist/cjs/{hardware-back-button-CXmUnTJC.js → hardware-back-button-zr8zeYaH.js} +4 -4
- package/dist/cjs/{helpers-gntk8bfm.js → helpers-DURh1XdY.js} +3 -3
- package/dist/cjs/{index-ooS8B4p9.js → index-B7sCu6vN.js} +6 -7
- package/dist/cjs/{index-BiRrzGDi.js → index-BnhnwL1o.js} +2 -34
- package/dist/cjs/{index-BhhuJ1Yx.js → index-Btdix80K.js} +2 -2
- package/dist/cjs/{index-BfaXsATC.js → index-CAThePqm.js} +6 -243
- package/dist/cjs/index-DhSx3VvD.js +429 -0
- package/dist/cjs/{index-BS2uhvhT.js → index-DsoHs7Ly.js} +5 -5
- package/dist/cjs/{index-CAvQ7Tka.js → index-P1nQxrpZ.js} +10 -4
- package/dist/cjs/{index-DqmRDbxg.js → index-wOmugbdg.js} +1 -1
- package/dist/cjs/index.cjs.js +18 -18
- package/dist/cjs/{input-shims-Bn1cXfCM.js → input-shims-CPbWb84M.js} +9 -11
- package/dist/cjs/{input.utils-BwhxZooW.js → input.utils-CkASW3mE.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +368 -340
- package/dist/cjs/ion-action-sheet.cjs.entry.js +187 -76
- package/dist/cjs/ion-alert.cjs.entry.js +273 -111
- package/dist/cjs/ion-app_8.cjs.entry.js +307 -241
- package/dist/cjs/ion-avatar_3.cjs.entry.js +10 -4
- package/dist/cjs/ion-back-button.cjs.entry.js +47 -23
- package/dist/cjs/ion-backdrop.cjs.entry.js +18 -14
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +199 -121
- package/dist/cjs/ion-button_2.cjs.entry.js +138 -66
- package/dist/cjs/ion-card_5.cjs.entry.js +82 -30
- package/dist/cjs/ion-checkbox.cjs.entry.js +152 -101
- package/dist/cjs/ion-chip.cjs.entry.js +17 -11
- package/dist/cjs/ion-col_3.cjs.entry.js +134 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +253 -241
- package/dist/cjs/ion-datetime.cjs.entry.js +2767 -0
- package/dist/cjs/ion-fab_3.cjs.entry.js +139 -81
- package/dist/cjs/ion-img.cjs.entry.js +34 -12
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +100 -72
- package/dist/cjs/ion-input-otp.cjs.entry.js +433 -370
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +33 -19
- package/dist/cjs/ion-input.cjs.entry.js +314 -168
- package/dist/cjs/ion-item-option_3.cjs.entry.js +91 -51
- package/dist/cjs/ion-item_8.cjs.entry.js +181 -82
- package/dist/cjs/ion-loading.cjs.entry.js +146 -60
- package/dist/cjs/ion-menu_3.cjs.entry.js +163 -101
- package/dist/cjs/ion-modal.cjs.entry.js +491 -354
- package/dist/cjs/ion-nav_2.cjs.entry.js +100 -157
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +37 -33
- package/dist/cjs/ion-picker-column.cjs.entry.js +417 -405
- package/dist/cjs/ion-picker.cjs.entry.js +401 -392
- package/dist/cjs/ion-popover.cjs.entry.js +319 -205
- package/dist/cjs/ion-progress-bar.cjs.entry.js +31 -25
- package/dist/cjs/ion-radio_2.cjs.entry.js +206 -133
- package/dist/cjs/ion-range.cjs.entry.js +302 -237
- package/dist/cjs/ion-refresher_2.cjs.entry.js +166 -94
- package/dist/cjs/ion-reorder_2.cjs.entry.js +53 -23
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +14 -14
- package/dist/cjs/ion-route_4.cjs.entry.js +175 -71
- package/dist/cjs/ion-searchbar.cjs.entry.js +291 -200
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +28 -17
- package/dist/cjs/ion-segment_2.cjs.entry.js +169 -126
- package/dist/cjs/ion-select-modal.cjs.entry.js +104 -48
- package/dist/cjs/ion-select_3.cjs.entry.js +759 -214
- package/dist/cjs/ion-spinner.cjs.entry.js +24 -10
- package/dist/cjs/ion-split-pane.cjs.entry.js +29 -16
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +100 -41
- package/dist/cjs/ion-tab_2.cjs.entry.js +53 -27
- package/dist/cjs/ion-text.cjs.entry.js +11 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +263 -144
- package/dist/cjs/ion-toast.cjs.entry.js +236 -117
- package/dist/cjs/ion-toggle.cjs.entry.js +175 -122
- package/dist/cjs/{ionic-global-BerQGEpE.js → ionic-global-dMut1Czp.js} +13 -8
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-IMJRwn29.js → ios.transition-CeaFa0y2.js} +13 -17
- package/dist/cjs/{item-multiple-inputs-jOJZE_I0.js → item-multiple-inputs-HQO5Iy9I.js} +1 -1
- package/dist/cjs/{keyboard-hHzlEQpk.js → keyboard-Cix5TVkD.js} +2 -2
- package/dist/cjs/{keyboard-UuAS4D_9.js → keyboard-cHxZlTyz.js} +2 -2
- package/dist/cjs/{keyboard-controller-GXBiBRKS.js → keyboard-controller-PtZoN2GS.js} +6 -6
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-CgQZxcoT.js → md.transition-D4Q5jny7.js} +7 -8
- package/dist/cjs/{notch-controller-_SwR025y.js → notch-controller-fMfidI-7.js} +1 -1
- package/dist/cjs/overlay-control-label-D2sdL2O8.js +50 -0
- package/dist/cjs/{overlays-DuSEMhIW.js → overlays-C2qrqpHm.js} +48 -33
- package/dist/cjs/select-option-render-Dh16lTnA.js +123 -0
- package/dist/cjs/{status-tap-CSvBT7FV.js → status-tap-CgjQ-6jq.js} +3 -3
- package/dist/cjs/{swipe-back-CuIiziaa.js → swipe-back-CmfRYdWQ.js} +5 -5
- package/dist/cjs/{theme-CeDs6Hcv.js → theme-Bw0rpaNN.js} +6 -1
- package/dist/collection/collection-manifest.json +6 -10
- package/dist/collection/components/accordion/accordion.js +315 -312
- package/dist/collection/components/accordion-group/accordion-group.js +48 -25
- package/dist/collection/components/action-sheet/action-sheet.ios.css +228 -2
- package/dist/collection/components/action-sheet/action-sheet.js +173 -64
- package/dist/collection/components/action-sheet/action-sheet.md.css +174 -2
- package/dist/collection/components/action-sheet/test/basic/fixture.js +3 -0
- package/dist/collection/components/alert/alert.ios.css +279 -10
- package/dist/collection/components/alert/alert.js +257 -97
- package/dist/collection/components/alert/alert.md.css +268 -20
- package/dist/collection/components/app/app.js +3 -0
- package/dist/collection/components/back-button/back-button.js +42 -19
- package/dist/collection/components/backdrop/backdrop.js +16 -14
- package/dist/collection/components/badge/badge.js +6 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +91 -30
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +103 -88
- package/dist/collection/components/button/button.js +132 -61
- package/dist/collection/components/buttons/buttons.js +13 -15
- package/dist/collection/components/card/card.js +54 -21
- package/dist/collection/components/card-header/card-header.js +12 -8
- package/dist/collection/components/card-subtitle/card-subtitle.js +6 -0
- package/dist/collection/components/card-title/card-title.js +6 -0
- package/dist/collection/components/checkbox/checkbox.js +147 -97
- package/dist/collection/components/chip/chip.js +14 -10
- package/dist/collection/components/col/col.js +127 -3
- package/dist/collection/components/content/content.js +94 -117
- package/dist/collection/components/datetime/datetime.ios.css +42 -2
- package/dist/collection/components/datetime/datetime.js +1040 -808
- package/dist/collection/components/datetime/datetime.md.css +42 -1
- package/dist/collection/components/datetime/utils/data.js +13 -14
- package/dist/collection/components/datetime/utils/format.js +21 -11
- package/dist/collection/components/datetime/utils/manipulation.js +8 -8
- package/dist/collection/components/datetime/utils/parse.js +10 -10
- package/dist/collection/components/datetime/utils/state.js +8 -2
- package/dist/collection/components/datetime/utils/validate.js +4 -5
- package/dist/collection/components/datetime-button/datetime-button.ios.css +5 -0
- package/dist/collection/components/datetime-button/datetime-button.js +247 -237
- package/dist/collection/components/datetime-button/datetime-button.md.css +5 -0
- package/dist/collection/components/fab/fab.js +20 -13
- package/dist/collection/components/fab-button/fab-button.js +104 -55
- package/dist/collection/components/fab-list/fab-list.js +10 -11
- package/dist/collection/components/footer/footer.js +50 -44
- package/dist/collection/components/grid/grid.js +4 -6
- package/dist/collection/components/header/header.js +35 -25
- package/dist/collection/components/img/img.js +34 -10
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +73 -66
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +20 -3
- package/dist/collection/components/input/input.ios.css +1 -2
- package/dist/collection/components/input/input.js +309 -164
- package/dist/collection/components/input/input.md.css +1 -2
- package/dist/collection/components/input-otp/input-otp.js +428 -366
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +29 -16
- package/dist/collection/components/item/item.js +99 -53
- package/dist/collection/components/item-divider/item-divider.js +15 -10
- package/dist/collection/components/item-option/item-option.js +49 -21
- package/dist/collection/components/item-options/item-options.js +10 -7
- package/dist/collection/components/item-sliding/item-sliding.js +26 -20
- package/dist/collection/components/label/label.js +24 -4
- package/dist/collection/components/list/list.js +10 -7
- package/dist/collection/components/list-header/list-header.js +10 -0
- package/dist/collection/components/loading/loading.js +135 -51
- package/dist/collection/components/menu/menu.js +101 -59
- package/dist/collection/components/menu-button/menu-button.js +29 -20
- package/dist/collection/components/menu-toggle/menu-toggle.js +20 -13
- package/dist/collection/components/modal/animations/ios.enter.js +1 -1
- package/dist/collection/components/modal/animations/md.enter.js +1 -1
- package/dist/collection/components/modal/gestures/sheet.js +32 -29
- package/dist/collection/components/modal/gestures/swipe-to-close.js +33 -5
- package/dist/collection/components/modal/gestures/utils.js +0 -17
- package/dist/collection/components/modal/modal.js +400 -244
- package/dist/collection/components/modal/safe-area-utils.js +4 -40
- package/dist/collection/components/modal/test/fixtures.js +3 -0
- package/dist/collection/components/nav/nav.js +69 -247
- package/dist/collection/components/nav/view-controller.js +7 -1
- package/dist/collection/components/nav-link/nav-link.js +20 -9
- package/dist/collection/components/note/note.js +6 -0
- package/dist/collection/components/picker/picker.js +398 -390
- package/dist/collection/components/picker-column/picker-column.css +3 -0
- package/dist/collection/components/picker-column/picker-column.js +414 -404
- package/dist/collection/components/picker-column-option/picker-column-option.js +33 -31
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -1
- package/dist/collection/components/popover/animations/ios.enter.js +1 -2
- package/dist/collection/components/popover/animations/md.enter.js +1 -2
- package/dist/collection/components/popover/popover.ios.css +15 -0
- package/dist/collection/components/popover/popover.js +302 -185
- package/dist/collection/components/popover/popover.md.css +15 -0
- package/dist/collection/components/popover/test/fixture.js +1 -0
- package/dist/collection/components/popover/utils.js +4 -6
- package/dist/collection/components/progress-bar/progress-bar.js +27 -23
- package/dist/collection/components/radio/radio.js +102 -66
- package/dist/collection/components/radio-group/radio-group.js +100 -65
- package/dist/collection/components/radio-group/test/fixtures.js +2 -0
- package/dist/collection/components/range/range.js +296 -232
- package/dist/collection/components/refresher/refresher.js +112 -80
- package/dist/collection/components/refresher-content/refresher-content.js +41 -4
- package/dist/collection/components/reorder/reorder.js +2 -1
- package/dist/collection/components/reorder-group/reorder-group.js +44 -15
- package/dist/collection/components/ripple-effect/ripple-effect.js +12 -13
- package/dist/collection/components/route/route.js +39 -10
- package/dist/collection/components/route-redirect/route-redirect.js +31 -0
- package/dist/collection/components/router/router.js +37 -33
- package/dist/collection/components/router/utils/dom.js +25 -7
- package/dist/collection/components/router/utils/matching.js +7 -9
- package/dist/collection/components/router/utils/parser.js +1 -1
- package/dist/collection/components/router/utils/path.js +0 -1
- package/dist/collection/components/router-link/router-link.js +37 -12
- package/dist/collection/components/router-outlet/router-outlet.js +82 -21
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +289 -199
- package/dist/collection/components/segment/segment.js +120 -85
- package/dist/collection/components/segment-button/segment-button.js +43 -37
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +26 -16
- package/dist/collection/components/select/select.ios.css +33 -0
- package/dist/collection/components/select/select.js +597 -166
- package/dist/collection/components/select/select.md.css +33 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +218 -0
- package/dist/collection/components/select-modal/select-modal.js +92 -38
- package/dist/collection/components/select-modal/select-modal.md.css +164 -0
- package/dist/collection/components/select-modal/test/fixtures.js +8 -1
- package/dist/collection/components/select-option/select-option.js +110 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +218 -0
- package/dist/collection/components/select-popover/select-popover.js +103 -36
- package/dist/collection/components/select-popover/select-popover.md.css +164 -0
- package/dist/collection/components/select-popover/test/fixtures.js +8 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +12 -8
- package/dist/collection/components/spinner/spinner.js +21 -9
- package/dist/collection/components/split-pane/split-pane.js +27 -15
- package/dist/collection/components/tab/tab.js +17 -6
- package/dist/collection/components/tab-bar/tab-bar.js +32 -14
- package/dist/collection/components/tab-button/tab-button.js +62 -23
- package/dist/collection/components/tabs/tabs.js +33 -20
- package/dist/collection/components/text/text.js +8 -2
- package/dist/collection/components/textarea/textarea.js +257 -139
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +18 -2
- package/dist/collection/components/toast/toast.js +223 -106
- package/dist/collection/components/toggle/toggle.js +167 -115
- package/dist/collection/components/toolbar/toolbar.js +15 -7
- package/dist/collection/global/config.js +4 -6
- package/dist/collection/global/ionic-global.js +8 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/animation/animation.js +3 -3
- package/dist/collection/utils/config.js +5 -4
- package/dist/collection/utils/content/index.js +0 -30
- package/dist/collection/utils/focus-controller/index.js +1 -1
- package/dist/collection/utils/focus-trap.js +3 -3
- package/dist/collection/utils/framework-delegate.js +4 -6
- package/dist/collection/utils/gesture/gesture-controller.js +15 -8
- package/dist/collection/utils/gesture/index.js +10 -2
- package/dist/collection/utils/gesture/listener.js +1 -1
- package/dist/collection/utils/hardware-back-button.js +3 -3
- package/dist/collection/utils/helpers.js +2 -2
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +4 -5
- package/dist/collection/utils/input-shims/hacks/scroll-data.js +1 -2
- package/dist/collection/utils/keyboard/keyboard-controller.js +5 -5
- package/dist/collection/utils/keyboard/keyboard.js +1 -1
- package/dist/collection/utils/menu-controller/index.js +1 -2
- package/dist/collection/utils/native/haptic.js +2 -3
- package/dist/collection/utils/native/keyboard.js +2 -2
- package/dist/collection/utils/native/status-bar.js +1 -1
- package/dist/collection/utils/overlay-control-label.js +45 -0
- package/dist/collection/utils/overlays.js +38 -23
- package/dist/collection/utils/platform.js +4 -5
- package/dist/collection/utils/rtl/dir.js +1 -1
- package/dist/collection/utils/sanitization/index.js +276 -20
- package/dist/collection/utils/select-option-render.js +118 -0
- package/dist/collection/utils/slot-mutation-controller.js +1 -2
- package/dist/collection/utils/test/playwright/apply-keyboard-focus.js +1 -1
- package/dist/collection/utils/test/playwright/drag-element.js +2 -3
- package/dist/collection/utils/test/playwright/generator.js +3 -4
- package/dist/collection/utils/test/playwright/page/event-spy.js +11 -12
- package/dist/collection/utils/test/playwright/page/utils/goto.js +4 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -1
- package/dist/collection/utils/test/playwright/page/utils/set-ion-viewport.js +2 -3
- package/dist/collection/utils/test/press-keys.js +10 -17
- package/dist/collection/utils/theme.js +6 -1
- package/dist/collection/utils/transition/ios.transition.js +9 -13
- package/dist/collection/utils/transition/md.transition.js +3 -4
- package/dist/docs.json +557 -1273
- package/dist/esm/{animation-DLJpuoEz.js → animation-CVK55yMY.js} +4 -4
- package/dist/esm/{app-globals-D0C5S4hU.js → app-globals-Bk1_t4sH.js} +1 -1
- package/dist/esm/{button-active-BSpTQmS9.js → button-active-CdCqmeT0.js} +3 -3
- package/dist/esm/config-DWCzVL3Y.js +32 -0
- package/dist/esm/{dir-C53feagD.js → dir-B-FxiyeI.js} +1 -1
- package/dist/esm/{format-CAmvpAez.js → format-sMi4BZ_l.js} +41 -31
- package/dist/esm/{framework-delegate-FnPGymXL.js → framework-delegate-BfAlKlW5.js} +5 -7
- package/dist/esm/{gesture-controller-BTEOs1at.js → gesture-controller-TXPDHL13.js} +15 -8
- package/dist/esm/{haptic-DzAMWJuk.js → haptic-Cq4UAeka.js} +2 -3
- package/dist/esm/{hardware-back-button-B93Gru0Y.js → hardware-back-button-DcHMMB9j.js} +4 -4
- package/dist/esm/{helpers-HEqiOzXb.js → helpers-BPcITY5s.js} +3 -3
- package/dist/esm/{index-BRHzoo00.js → index-B9GsUd2c.js} +2 -2
- package/dist/esm/{index-DV3sJJW8.js → index-BvabGprD.js} +2 -2
- package/dist/esm/{index-tcQvqkiX.js → index-D1CQtpUN.js} +6 -225
- package/dist/esm/index-DDa8edAS.js +424 -0
- package/dist/esm/{index-Dw-wN0Ja.js → index-DcUt1pPn.js} +3 -33
- package/dist/esm/{index-CfgBF1SE.js → index-DppOcPFQ.js} +10 -4
- package/dist/esm/{index-B_dQk_WE.js → index-DqVqy_Cy.js} +5 -5
- package/dist/esm/{index-Q6UPU0Ay.js → index-ks-BjikL.js} +6 -7
- package/dist/esm/index.js +16 -15
- package/dist/esm/{input-shims-LXhI7LEx.js → input-shims-C1dCKVMO.js} +9 -11
- package/dist/esm/{input.utils-Y6NgW8bw.js → input.utils-Dd5xwlP6.js} +3 -4
- package/dist/esm/ion-accordion_2.entry.js +368 -340
- package/dist/esm/ion-action-sheet.entry.js +187 -76
- package/dist/esm/ion-alert.entry.js +272 -110
- package/dist/esm/ion-app_8.entry.js +307 -241
- package/dist/esm/ion-avatar_3.entry.js +10 -4
- package/dist/esm/ion-back-button.entry.js +47 -23
- package/dist/esm/ion-backdrop.entry.js +18 -14
- package/dist/esm/ion-breadcrumb_2.entry.js +199 -121
- package/dist/esm/ion-button_2.entry.js +138 -66
- package/dist/esm/ion-card_5.entry.js +82 -30
- package/dist/esm/ion-checkbox.entry.js +152 -101
- package/dist/esm/ion-chip.entry.js +17 -11
- package/dist/esm/ion-col_3.entry.js +134 -10
- package/dist/esm/ion-datetime-button.entry.js +253 -241
- package/dist/esm/ion-datetime.entry.js +2765 -0
- package/dist/esm/ion-fab_3.entry.js +139 -81
- package/dist/esm/ion-img.entry.js +34 -12
- package/dist/esm/ion-infinite-scroll_2.entry.js +99 -71
- package/dist/esm/ion-input-otp.entry.js +433 -370
- package/dist/esm/ion-input-password-toggle.entry.js +33 -19
- package/dist/esm/ion-input.entry.js +314 -168
- package/dist/esm/ion-item-option_3.entry.js +91 -51
- package/dist/esm/ion-item_8.entry.js +181 -82
- package/dist/esm/ion-loading.entry.js +145 -59
- package/dist/esm/ion-menu_3.entry.js +163 -101
- package/dist/esm/ion-modal.entry.js +479 -342
- package/dist/esm/ion-nav_2.entry.js +100 -157
- package/dist/esm/ion-picker-column-option.entry.js +37 -33
- package/dist/esm/ion-picker-column.entry.js +417 -405
- package/dist/esm/ion-picker.entry.js +401 -392
- package/dist/esm/ion-popover.entry.js +319 -205
- package/dist/esm/ion-progress-bar.entry.js +31 -25
- package/dist/esm/ion-radio_2.entry.js +206 -133
- package/dist/esm/ion-range.entry.js +302 -237
- package/dist/esm/ion-refresher_2.entry.js +164 -92
- package/dist/esm/ion-reorder_2.entry.js +53 -23
- package/dist/esm/ion-ripple-effect.entry.js +14 -14
- package/dist/esm/ion-route_4.entry.js +175 -71
- package/dist/esm/ion-searchbar.entry.js +291 -200
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +28 -17
- package/dist/esm/ion-segment_2.entry.js +169 -126
- package/dist/esm/ion-select-modal.entry.js +104 -48
- package/dist/esm/ion-select_3.entry.js +760 -215
- package/dist/esm/ion-spinner.entry.js +24 -10
- package/dist/esm/ion-split-pane.entry.js +29 -16
- package/dist/esm/ion-tab-bar_2.entry.js +100 -41
- package/dist/esm/ion-tab_2.entry.js +53 -27
- package/dist/esm/ion-text.entry.js +11 -5
- package/dist/esm/ion-textarea.entry.js +263 -144
- package/dist/esm/ion-toast.entry.js +235 -116
- package/dist/esm/ion-toggle.entry.js +175 -122
- package/dist/esm/{ionic-global-Cp_eT4sZ.js → ionic-global-5bZ91kOL.js} +13 -8
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-ClFrsIrS.js → ios.transition-OcwIGkv9.js} +13 -17
- package/dist/esm/{item-multiple-inputs-DlNuqNJm.js → item-multiple-inputs-ifd3ZrqY.js} +1 -1
- package/dist/esm/{keyboard-ywgs5efA.js → keyboard-Cj8mLJeq.js} +2 -2
- package/dist/esm/{keyboard-CUw4ekVy.js → keyboard-DAF8GNJ9.js} +2 -2
- package/dist/esm/{keyboard-controller-BaaVITYt.js → keyboard-controller-DEwoa1ev.js} +6 -6
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-D0msQmzI.js → md.transition-BetdF0bc.js} +7 -8
- package/dist/esm/{notch-controller-DKDjU_O7.js → notch-controller-DBSn-Uat.js} +1 -1
- package/dist/esm/overlay-control-label-BSQPZ79H.js +47 -0
- package/dist/esm/{overlays-Dg0q2_tJ.js → overlays-DUzb9CQf.js} +48 -33
- package/dist/esm/select-option-render-DsW8svRr.js +121 -0
- package/dist/esm/{status-tap-vO-6s4Yp.js → status-tap-C-wNhea0.js} +3 -3
- package/dist/esm/{swipe-back-DQ1q5MgD.js → swipe-back-D6YSgAn7.js} +5 -5
- package/dist/esm/{theme-DiVJyqlX.js → theme-byZM6qHV.js} +6 -1
- package/dist/html.html-data.json +53 -81
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-01eaee58.entry.js +4 -0
- package/dist/ionic/p-0c567140.entry.js +4 -0
- package/dist/ionic/p-105bb794.entry.js +4 -0
- package/dist/ionic/p-10d55bb6.entry.js +4 -0
- package/dist/ionic/p-173a87d8.entry.js +4 -0
- package/dist/ionic/p-178da672.entry.js +4 -0
- package/dist/ionic/p-1ead2857.entry.js +4 -0
- package/dist/ionic/p-224e2464.entry.js +4 -0
- package/dist/ionic/p-2268e718.entry.js +4 -0
- package/dist/ionic/p-2b5283f3.entry.js +4 -0
- package/dist/ionic/p-2b6decac.entry.js +4 -0
- package/dist/ionic/p-2da5d9c6.entry.js +4 -0
- package/dist/ionic/p-31890acd.entry.js +4 -0
- package/dist/ionic/p-34ef7425.entry.js +4 -0
- package/dist/ionic/p-34f7c1d8.entry.js +4 -0
- package/dist/ionic/p-3b1e6fa4.entry.js +4 -0
- package/dist/ionic/p-42fefd2c.entry.js +4 -0
- package/dist/ionic/p-440cd489.entry.js +4 -0
- package/dist/ionic/{p-aaeedb6b.entry.js → p-460da491.entry.js} +1 -1
- package/dist/ionic/p-53f680e8.entry.js +4 -0
- package/dist/ionic/p-57ba508f.entry.js +4 -0
- package/dist/ionic/p-599e5a75.entry.js +4 -0
- package/dist/ionic/p-5f670a9e.entry.js +4 -0
- package/dist/ionic/p-63502088.entry.js +4 -0
- package/dist/ionic/p-6e6bf45d.entry.js +4 -0
- package/dist/ionic/p-6f0b6a48.entry.js +4 -0
- package/dist/ionic/p-7438c462.entry.js +4 -0
- package/dist/ionic/p-747716e7.entry.js +4 -0
- package/dist/ionic/p-7759fcaf.entry.js +4 -0
- package/dist/ionic/p-7a8338e2.entry.js +4 -0
- package/dist/ionic/p-80f9f1dc.entry.js +4 -0
- package/dist/ionic/p-83ff4dcb.entry.js +4 -0
- package/dist/ionic/p-86f03895.entry.js +4 -0
- package/dist/ionic/p-87b8d70e.entry.js +4 -0
- package/dist/ionic/p-888236bf.entry.js +4 -0
- package/dist/ionic/p-8a92ca23.entry.js +4 -0
- package/dist/ionic/p-8c9af4ad.entry.js +4 -0
- package/dist/ionic/p-9669f546.entry.js +4 -0
- package/dist/ionic/p-9bcd8b74.entry.js +4 -0
- package/dist/ionic/p-B-FxiyeI.js +4 -0
- package/dist/ionic/p-B2trYd8K.js +4 -0
- package/dist/ionic/p-BMPN55of.js +4 -0
- package/dist/ionic/{p-DIuEbVLu.js → p-BNKr91bi.js} +1 -1
- package/dist/ionic/p-BSQPZ79H.js +4 -0
- package/dist/ionic/p-BSzG1VcX.js +4 -0
- package/dist/ionic/p-BVgBHS96.js +4 -0
- package/dist/ionic/p-BX2IOAqC.js +4 -0
- package/dist/ionic/p-BhamHSw3.js +4 -0
- package/dist/ionic/p-BufXJ_A8.js +4 -0
- package/dist/ionic/{p-DV3sJJW8.js → p-BvabGprD.js} +1 -1
- package/dist/ionic/p-C73UOs4m.js +4 -0
- package/{components/p-B-JJgYSG.js → dist/ionic/p-CHpEzg-o.js} +1 -1
- package/dist/ionic/p-CUSwMljM.js +4 -0
- package/dist/ionic/p-CeOSrSdu.js +4 -0
- package/dist/ionic/p-CfkB7_FV.js +4 -0
- package/dist/ionic/p-CmKf4pgI.js +4 -0
- package/dist/ionic/p-CnM-CMw7.js +4 -0
- package/dist/ionic/p-D1CQtpUN.js +5 -0
- package/dist/ionic/p-D5t_-oMk.js +4 -0
- package/dist/ionic/p-DVYb1IVZ.js +4 -0
- package/dist/ionic/p-DWCzVL3Y.js +4 -0
- package/dist/ionic/p-DfJ-SVJf.js +4 -0
- package/dist/ionic/p-DmXrLsoD.js +4 -0
- package/dist/ionic/p-DtLHAMFW.js +4 -0
- package/dist/ionic/p-Dtlob2JL.js +4 -0
- package/dist/ionic/p-F7ipfyOA.js +4 -0
- package/dist/ionic/{p-DoJvtrbw.js → p-I9ETXg5W.js} +1 -1
- package/dist/ionic/p-IaXd5VMv.js +4 -0
- package/dist/ionic/p-T71k3C35.js +4 -0
- package/dist/ionic/p-TXPDHL13.js +4 -0
- package/dist/ionic/p-aL0G45tD.js +4 -0
- package/dist/ionic/p-acbb97c3.entry.js +4 -0
- package/dist/ionic/p-aeb85531.entry.js +4 -0
- package/dist/ionic/p-b157f80d.entry.js +4 -0
- package/dist/ionic/p-b158de5d.entry.js +4 -0
- package/dist/ionic/{p-c6e49f3f.entry.js → p-b40c9715.entry.js} +1 -1
- package/dist/ionic/p-b852101e.entry.js +4 -0
- package/dist/ionic/p-byZM6qHV.js +4 -0
- package/dist/ionic/p-c0d81bee.entry.js +4 -0
- package/dist/ionic/p-c8a327fb.entry.js +4 -0
- package/dist/ionic/p-d42ae99f.entry.js +4 -0
- package/dist/ionic/p-d47ff529.entry.js +4 -0
- package/dist/ionic/p-eHi73fGE.js +4 -0
- package/dist/ionic/p-eeabce92.entry.js +4 -0
- package/dist/ionic/p-efc66d77.entry.js +4 -0
- package/dist/ionic/p-f6d203dc.entry.js +4 -0
- package/dist/ionic/p-u2a770LZ.js +4 -0
- package/dist/types/components/content/content.d.ts +0 -12
- package/dist/types/components/datetime/datetime.d.ts +1 -5
- package/dist/types/components/img/img.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/modal/gestures/sheet.d.ts +0 -1
- package/dist/types/components/modal/gestures/utils.d.ts +0 -11
- package/dist/types/components/modal/modal.d.ts +14 -10
- package/dist/types/components/modal/safe-area-utils.d.ts +0 -6
- package/dist/types/components/nav/nav-interface.d.ts +0 -1
- package/dist/types/components/nav/nav.d.ts +2 -22
- package/dist/types/components/route/route.d.ts +1 -1
- package/dist/types/components/router-outlet/router-outlet.d.ts +7 -0
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components/select/select-interface.d.ts +31 -0
- package/dist/types/components/select/select.d.ts +18 -0
- package/dist/types/components/select-option/select-option.d.ts +42 -1
- package/dist/types/components.d.ts +76 -313
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/utils/config.d.ts +0 -8
- package/dist/types/utils/content/index.d.ts +0 -12
- package/dist/types/utils/overlay-control-label.d.ts +32 -0
- package/dist/types/utils/overlays.d.ts +11 -9
- package/dist/types/utils/sanitization/index.d.ts +58 -2
- package/dist/types/utils/select-option-render.d.ts +53 -0
- package/dist/types/utils/test/playwright/playwright-page.d.ts +1 -1
- package/dist/types/utils/test/playwright/testExpect.d.ts +1 -1
- package/hydrate/index.js +10342 -7212
- package/hydrate/index.mjs +10342 -7212
- package/package.json +55 -13
- package/components/ion-picker-legacy-column.d.ts +0 -11
- package/components/ion-picker-legacy-column.js +0 -4
- package/components/ion-picker-legacy.d.ts +0 -11
- package/components/ion-picker-legacy.js +0 -4
- package/components/p-A3O24YmY.js +0 -4
- package/components/p-ABkNVeU9.js +0 -4
- package/components/p-B9jFTlwE.js +0 -4
- package/components/p-BLmJ0zRm.js +0 -4
- package/components/p-BMI53wYL.js +0 -4
- package/components/p-BSEgsdFI.js +0 -4
- package/components/p-BTEOs1at.js +0 -4
- package/components/p-BlIAuGv2.js +0 -4
- package/components/p-Bnsn6KaP.js +0 -4
- package/components/p-BsBCoGa-.js +0 -4
- package/components/p-Bz0dSlXZ.js +0 -4
- package/components/p-C53feagD.js +0 -4
- package/components/p-CHqRYvYm.js +0 -4
- package/components/p-CQGnMY3n.js +0 -4
- package/components/p-CSZf8_j0.js +0 -4
- package/components/p-C_xFdyXe.js +0 -4
- package/components/p-Cf2jSDS8.js +0 -4
- package/components/p-Cfx4M1Bn.js +0 -4
- package/components/p-CkMSOsFF.js +0 -4
- package/components/p-Cl0B-RWe.js +0 -4
- package/components/p-CmR5uXej.js +0 -4
- package/components/p-Cp4GRDqq.js +0 -4
- package/components/p-CsNJ1ULL.js +0 -4
- package/components/p-CtWGkNnJ.js +0 -4
- package/components/p-CzCbeKys.js +0 -4
- package/components/p-D-aHdMxW.js +0 -4
- package/components/p-D0d8qTwj.js +0 -4
- package/components/p-D13Eaw-8.js +0 -4
- package/components/p-D6Ynv7Xh.js +0 -4
- package/components/p-D7uN07a3.js +0 -4
- package/components/p-DCnGU1fF.js +0 -4
- package/components/p-DGvrK8dD.js +0 -4
- package/components/p-DOFCbuQR.js +0 -4
- package/components/p-DRxvM2Ic.js +0 -4
- package/components/p-DV5mPYQS.js +0 -4
- package/components/p-DWkAgceV.js +0 -4
- package/components/p-DiVJyqlX.js +0 -4
- package/components/p-DqZAXv2t.js +0 -4
- package/components/p-Osve4qkc.js +0 -4
- package/components/p-R8zmRi4c.js +0 -4
- package/components/p-SLS1rDZM.js +0 -4
- package/components/p-aJ6PBUvj.js +0 -4
- package/components/p-cyNmxje6.js +0 -4
- package/components/p-gAg0kXZp.js +0 -4
- package/components/p-gYiraiT_.js +0 -4
- package/components/p-j5IxBIan.js +0 -4
- package/components/p-k_E4tX5Z.js +0 -4
- package/components/p-oD4kcBRX.js +0 -4
- package/components/p-rCa2eL0j.js +0 -4
- package/components/p-vRBNsYbs.js +0 -4
- package/components/p-yEQxMl70.js +0 -4
- package/components/p-yzCsOZE2.js +0 -4
- package/dist/cjs/config-D6C-KlA9.js +0 -201
- package/dist/cjs/ion-datetime_3.cjs.entry.js +0 -3167
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
- package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
- package/dist/collection/components/picker-legacy/picker.ios.css +0 -300
- package/dist/collection/components/picker-legacy/picker.js +0 -890
- package/dist/collection/components/picker-legacy/picker.md.css +0 -287
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -231
- package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -222
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
- package/dist/esm/config-DQCONYYp.js +0 -195
- package/dist/esm/ion-datetime_3.entry.js +0 -3163
- package/dist/ionic/p-01f81ea5.entry.js +0 -4
- package/dist/ionic/p-06c232a4.entry.js +0 -4
- package/dist/ionic/p-0caa922c.entry.js +0 -4
- package/dist/ionic/p-0dc33652.entry.js +0 -4
- package/dist/ionic/p-0fa9c382.entry.js +0 -4
- package/dist/ionic/p-10e833ef.entry.js +0 -4
- package/dist/ionic/p-21eb76d5.entry.js +0 -4
- package/dist/ionic/p-27d30585.entry.js +0 -4
- package/dist/ionic/p-2a05aa64.entry.js +0 -4
- package/dist/ionic/p-2b204c59.entry.js +0 -4
- package/dist/ionic/p-2bb2cb18.entry.js +0 -4
- package/dist/ionic/p-2fa58e80.entry.js +0 -4
- package/dist/ionic/p-3353c229.entry.js +0 -4
- package/dist/ionic/p-34586ead.entry.js +0 -4
- package/dist/ionic/p-37e720da.entry.js +0 -4
- package/dist/ionic/p-390ca786.entry.js +0 -4
- package/dist/ionic/p-3ae5f277.entry.js +0 -4
- package/dist/ionic/p-4654ae1c.entry.js +0 -4
- package/dist/ionic/p-4745f534.entry.js +0 -4
- package/dist/ionic/p-4858af1f.entry.js +0 -4
- package/dist/ionic/p-4baa5b82.entry.js +0 -4
- package/dist/ionic/p-4e92a11f.entry.js +0 -4
- package/dist/ionic/p-50e1194a.entry.js +0 -4
- package/dist/ionic/p-5334df12.entry.js +0 -4
- package/dist/ionic/p-5d1da0a2.entry.js +0 -4
- package/dist/ionic/p-5e2f73ee.entry.js +0 -4
- package/dist/ionic/p-5eb8e86d.entry.js +0 -4
- package/dist/ionic/p-65ebdf1b.entry.js +0 -4
- package/dist/ionic/p-746fa988.entry.js +0 -4
- package/dist/ionic/p-75dc25ba.entry.js +0 -4
- package/dist/ionic/p-7c319341.entry.js +0 -4
- package/dist/ionic/p-829367ed.entry.js +0 -4
- package/dist/ionic/p-84d5ce05.entry.js +0 -4
- package/dist/ionic/p-874b4bd8.entry.js +0 -4
- package/dist/ionic/p-8eb8ee76.entry.js +0 -4
- package/dist/ionic/p-9eeaBrnk.js +0 -4
- package/dist/ionic/p-9f9db3a2.entry.js +0 -4
- package/dist/ionic/p-9fa3c405.entry.js +0 -4
- package/dist/ionic/p-BGqMS-oh.js +0 -4
- package/dist/ionic/p-BTEOs1at.js +0 -4
- package/dist/ionic/p-BUFIpxKM.js +0 -4
- package/dist/ionic/p-C0eMdTCW.js +0 -4
- package/dist/ionic/p-C53feagD.js +0 -4
- package/dist/ionic/p-CFlfIb2g.js +0 -4
- package/dist/ionic/p-CKvCXMs9.js +0 -4
- package/dist/ionic/p-Cl0B-RWe.js +0 -4
- package/dist/ionic/p-CmcFnK-B.js +0 -4
- package/dist/ionic/p-CtWGkNnJ.js +0 -4
- package/dist/ionic/p-Cx3IXROA.js +0 -4
- package/dist/ionic/p-D-3ycHmd.js +0 -4
- package/dist/ionic/p-D13Eaw-8.js +0 -4
- package/dist/ionic/p-D4uTWt4-.js +0 -4
- package/dist/ionic/p-DiVJyqlX.js +0 -4
- package/dist/ionic/p-DqN5EA2O.js +0 -4
- package/dist/ionic/p-DzWaWHGc.js +0 -4
- package/dist/ionic/p-Nqf6uvGh.js +0 -4
- package/dist/ionic/p-SNAkTDfm.js +0 -4
- package/dist/ionic/p-VAemlbDS.js +0 -4
- package/dist/ionic/p-a3bdcae6.entry.js +0 -4
- package/dist/ionic/p-af55a72f.entry.js +0 -4
- package/dist/ionic/p-b2020591.entry.js +0 -4
- package/dist/ionic/p-b9fadbfe.entry.js +0 -4
- package/dist/ionic/p-biz8zWmJ.js +0 -4
- package/dist/ionic/p-c0fb8edd.entry.js +0 -4
- package/dist/ionic/p-c38b648e.entry.js +0 -4
- package/dist/ionic/p-c4d8641b.entry.js +0 -4
- package/dist/ionic/p-ca2ab74d.entry.js +0 -4
- package/dist/ionic/p-d889ff6d.entry.js +0 -4
- package/dist/ionic/p-dfa8d673.entry.js +0 -4
- package/dist/ionic/p-ea56626d.entry.js +0 -4
- package/dist/ionic/p-ef4c3bee.entry.js +0 -4
- package/dist/ionic/p-f386f6ae.entry.js +0 -4
- package/dist/ionic/p-mjKAFv89.js +0 -4
- package/dist/ionic/p-tcQvqkiX.js +0 -5
- package/dist/ionic/p-uWtqTrG8.js +0 -4
- package/dist/ionic/p-viFHDgRs.js +0 -4
- package/dist/ionic/p-xWb6fgfq.js +0 -4
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
- package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
- package/dist/types/components/picker-legacy/picker.d.ts +0 -158
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
- /package/components/{p-CO7fmmxt.js → p-LpMHEu3v.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, e as config, f as printIonWarning, h, d as Host,
|
|
5
|
-
import { shouldUseCloseWatcher } from './hardware-back-button-
|
|
6
|
-
import { a as isPlatform, b as getIonMode } from './ionic-global-
|
|
7
|
-
import { i as inheritAriaAttributes, h as hasLazyBuild, c as componentOnReady, e as clamp, s as shallowEqualStringMap } from './helpers-
|
|
8
|
-
import { i as isRTL } from './dir-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { c as createKeyboardController } from './keyboard-controller-
|
|
4
|
+
import { r as registerInstance, g as getElement, e as config, f as printIonWarning, h, d as Host, c as createEvent, a as readTask, i as forceUpdate, w as writeTask, j as printIonError } from './index-D1CQtpUN.js';
|
|
5
|
+
import { shouldUseCloseWatcher } from './hardware-back-button-DcHMMB9j.js';
|
|
6
|
+
import { a as isPlatform, b as getIonMode } from './ionic-global-5bZ91kOL.js';
|
|
7
|
+
import { i as inheritAriaAttributes, h as hasLazyBuild, c as componentOnReady, e as clamp, s as shallowEqualStringMap } from './helpers-BPcITY5s.js';
|
|
8
|
+
import { i as isRTL } from './dir-B-FxiyeI.js';
|
|
9
|
+
import { c as createColorClasses, h as hostContext } from './theme-byZM6qHV.js';
|
|
10
|
+
import { a as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-DcUt1pPn.js';
|
|
11
|
+
import { c as createKeyboardController } from './keyboard-controller-DEwoa1ev.js';
|
|
12
12
|
import { g as getTimeGivenProgression } from './cubic-bezier-hHmYLOfE.js';
|
|
13
|
-
import { a as attachComponent, d as detachComponent } from './framework-delegate-
|
|
13
|
+
import { a as attachComponent, d as detachComponent } from './framework-delegate-BfAlKlW5.js';
|
|
14
14
|
import { c as createLockController } from './lock-controller-B-hirT0v.js';
|
|
15
|
-
import { t as transition } from './index-
|
|
15
|
+
import { t as transition } from './index-DqVqy_Cy.js';
|
|
16
16
|
import './index-ZjP4CjeZ.js';
|
|
17
|
-
import './keyboard-
|
|
17
|
+
import './keyboard-DAF8GNJ9.js';
|
|
18
18
|
import './capacitor-CFERIeaU.js';
|
|
19
19
|
|
|
20
20
|
const appCss = () => `html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}`;
|
|
@@ -23,15 +23,18 @@ const App = class {
|
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
registerInstance(this, hostRef);
|
|
25
25
|
}
|
|
26
|
+
focusVisible;
|
|
27
|
+
loadTimeout;
|
|
28
|
+
get el() { return getElement(this); }
|
|
26
29
|
componentDidLoad() {
|
|
27
30
|
{
|
|
28
31
|
this.rIC(async () => {
|
|
29
32
|
const isHybrid = isPlatform(window, 'hybrid');
|
|
30
33
|
if (!config.getBoolean('_testing')) {
|
|
31
|
-
import('./index-
|
|
34
|
+
import('./index-B9GsUd2c.js').then((module) => module.startTapClick(config));
|
|
32
35
|
}
|
|
33
36
|
if (config.getBoolean('statusTap', isHybrid)) {
|
|
34
|
-
import('./status-tap-
|
|
37
|
+
import('./status-tap-C-wNhea0.js').then((module) => module.startStatusTap());
|
|
35
38
|
}
|
|
36
39
|
if (config.getBoolean('inputShims', needInputShims())) {
|
|
37
40
|
/**
|
|
@@ -39,9 +42,9 @@ const App = class {
|
|
|
39
42
|
* platforms proceed into this block.
|
|
40
43
|
*/
|
|
41
44
|
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
42
|
-
import('./input-shims-
|
|
45
|
+
import('./input-shims-C1dCKVMO.js').then((module) => module.startInputShims(config, platform));
|
|
43
46
|
}
|
|
44
|
-
const hardwareBackButtonModule = await import('./hardware-back-button-
|
|
47
|
+
const hardwareBackButtonModule = await import('./hardware-back-button-DcHMMB9j.js');
|
|
45
48
|
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
46
49
|
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
47
50
|
hardwareBackButtonModule.startHardwareBackButton();
|
|
@@ -57,7 +60,7 @@ const App = class {
|
|
|
57
60
|
hardwareBackButtonModule.blockHardwareBackButton();
|
|
58
61
|
}
|
|
59
62
|
if (typeof window !== 'undefined') {
|
|
60
|
-
import('./keyboard-
|
|
63
|
+
import('./keyboard-Cj8mLJeq.js').then((module) => module.startKeyboardAssist(window));
|
|
61
64
|
}
|
|
62
65
|
import('./focus-visible-BmVRXR1y.js').then((module) => (this.focusVisible = module.startFocusVisible()));
|
|
63
66
|
});
|
|
@@ -100,7 +103,6 @@ const App = class {
|
|
|
100
103
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
101
104
|
} }));
|
|
102
105
|
}
|
|
103
|
-
get el() { return getElement(this); }
|
|
104
106
|
};
|
|
105
107
|
const needInputShims = () => {
|
|
106
108
|
/**
|
|
@@ -130,20 +132,20 @@ const buttonsMdCss = () => `.sc-ion-buttons-md-h{display:-ms-flexbox;display:fle
|
|
|
130
132
|
const Buttons = class {
|
|
131
133
|
constructor(hostRef) {
|
|
132
134
|
registerInstance(this, hostRef);
|
|
133
|
-
/**
|
|
134
|
-
* If true, buttons will disappear when its
|
|
135
|
-
* parent toolbar has fully collapsed if the toolbar
|
|
136
|
-
* is not the first toolbar. If the toolbar is the
|
|
137
|
-
* first toolbar, the buttons will be hidden and will
|
|
138
|
-
* only be shown once all toolbars have fully collapsed.
|
|
139
|
-
*
|
|
140
|
-
* Only applies in `ios` mode with `collapse` set to
|
|
141
|
-
* `true` on `ion-header`.
|
|
142
|
-
*
|
|
143
|
-
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
144
|
-
*/
|
|
145
|
-
this.collapse = false;
|
|
146
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* If true, buttons will disappear when its
|
|
138
|
+
* parent toolbar has fully collapsed if the toolbar
|
|
139
|
+
* is not the first toolbar. If the toolbar is the
|
|
140
|
+
* first toolbar, the buttons will be hidden and will
|
|
141
|
+
* only be shown once all toolbars have fully collapsed.
|
|
142
|
+
*
|
|
143
|
+
* Only applies in `ios` mode with `collapse` set to
|
|
144
|
+
* `true` on `ion-header`.
|
|
145
|
+
*
|
|
146
|
+
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
147
|
+
*/
|
|
148
|
+
collapse = false;
|
|
147
149
|
render() {
|
|
148
150
|
const mode = getIonMode(this);
|
|
149
151
|
return (h(Host, { key: '58c1fc5eb867d0731c63549b1ccb3ec3bbbe6e1b', class: {
|
|
@@ -165,68 +167,96 @@ const Content = class {
|
|
|
165
167
|
this.ionScrollStart = createEvent(this, "ionScrollStart", 7);
|
|
166
168
|
this.ionScroll = createEvent(this, "ionScroll", 7);
|
|
167
169
|
this.ionScrollEnd = createEvent(this, "ionScrollEnd", 7);
|
|
168
|
-
this.watchDog = null;
|
|
169
|
-
this.isScrolling = false;
|
|
170
|
-
this.lastScroll = 0;
|
|
171
|
-
this.queued = false;
|
|
172
|
-
this.cTop = -1;
|
|
173
|
-
this.cBottom = -1;
|
|
174
|
-
this.isMainContent = true;
|
|
175
|
-
this.resizeTimeout = null;
|
|
176
|
-
this.inheritedAttributes = {};
|
|
177
|
-
this.tabsElement = null;
|
|
178
|
-
// Detail is used in a hot loop in the scroll event, by allocating it here
|
|
179
|
-
// V8 will be able to inline any read/write to it since it's a monomorphic class.
|
|
180
|
-
// https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html
|
|
181
|
-
this.detail = {
|
|
182
|
-
scrollTop: 0,
|
|
183
|
-
scrollLeft: 0,
|
|
184
|
-
type: 'scroll',
|
|
185
|
-
event: undefined,
|
|
186
|
-
startX: 0,
|
|
187
|
-
startY: 0,
|
|
188
|
-
startTime: 0,
|
|
189
|
-
currentX: 0,
|
|
190
|
-
currentY: 0,
|
|
191
|
-
velocityX: 0,
|
|
192
|
-
velocityY: 0,
|
|
193
|
-
deltaX: 0,
|
|
194
|
-
deltaY: 0,
|
|
195
|
-
currentTime: 0,
|
|
196
|
-
data: undefined,
|
|
197
|
-
isScrolling: true,
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* If `true`, the content will scroll behind the headers
|
|
201
|
-
* and footers. This effect can easily be seen by setting the toolbar
|
|
202
|
-
* to transparent.
|
|
203
|
-
*/
|
|
204
|
-
this.fullscreen = false;
|
|
205
|
-
/**
|
|
206
|
-
* Controls where the fixed content is placed relative to the main content
|
|
207
|
-
* in the DOM. This can be used to control the order in which fixed elements
|
|
208
|
-
* receive keyboard focus.
|
|
209
|
-
* For example, if a FAB in the fixed slot should receive keyboard focus before
|
|
210
|
-
* the main page content, set this property to `'before'`.
|
|
211
|
-
*/
|
|
212
|
-
this.fixedSlotPlacement = 'after';
|
|
213
|
-
/**
|
|
214
|
-
* If you want to enable the content scrolling in the X axis, set this property to `true`.
|
|
215
|
-
*/
|
|
216
|
-
this.scrollX = false;
|
|
217
|
-
/**
|
|
218
|
-
* If you want to disable the content scrolling in the Y axis, set this property to `false`.
|
|
219
|
-
*/
|
|
220
|
-
this.scrollY = true;
|
|
221
|
-
/**
|
|
222
|
-
* Because of performance reasons, ionScroll events are disabled by default, in order to enable them
|
|
223
|
-
* and start listening from (ionScroll), set this property to `true`.
|
|
224
|
-
*/
|
|
225
|
-
this.scrollEvents = false;
|
|
226
|
-
}
|
|
227
|
-
fullscreenChanged() {
|
|
228
|
-
this.setupFullscreenResizeObserver();
|
|
229
170
|
}
|
|
171
|
+
watchDog = null;
|
|
172
|
+
isScrolling = false;
|
|
173
|
+
lastScroll = 0;
|
|
174
|
+
queued = false;
|
|
175
|
+
cTop = -1;
|
|
176
|
+
cBottom = -1;
|
|
177
|
+
scrollEl;
|
|
178
|
+
backgroundContentEl;
|
|
179
|
+
isMainContent = true;
|
|
180
|
+
resizeTimeout = null;
|
|
181
|
+
inheritedAttributes = {};
|
|
182
|
+
tabsElement = null;
|
|
183
|
+
tabsLoadCallback;
|
|
184
|
+
// Detail is used in a hot loop in the scroll event, by allocating it here
|
|
185
|
+
// V8 will be able to inline any read/write to it since it's a monomorphic class.
|
|
186
|
+
// https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html
|
|
187
|
+
detail = {
|
|
188
|
+
scrollTop: 0,
|
|
189
|
+
scrollLeft: 0,
|
|
190
|
+
type: 'scroll',
|
|
191
|
+
event: undefined,
|
|
192
|
+
startX: 0,
|
|
193
|
+
startY: 0,
|
|
194
|
+
startTime: 0,
|
|
195
|
+
currentX: 0,
|
|
196
|
+
currentY: 0,
|
|
197
|
+
velocityX: 0,
|
|
198
|
+
velocityY: 0,
|
|
199
|
+
deltaX: 0,
|
|
200
|
+
deltaY: 0,
|
|
201
|
+
currentTime: 0,
|
|
202
|
+
data: undefined,
|
|
203
|
+
isScrolling: true,
|
|
204
|
+
};
|
|
205
|
+
get el() { return getElement(this); }
|
|
206
|
+
/**
|
|
207
|
+
* The color to use from your application's color palette.
|
|
208
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
209
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
210
|
+
*/
|
|
211
|
+
color;
|
|
212
|
+
/**
|
|
213
|
+
* If `true`, the content will scroll behind the headers
|
|
214
|
+
* and footers. This effect can easily be seen by setting the toolbar
|
|
215
|
+
* to transparent.
|
|
216
|
+
*/
|
|
217
|
+
fullscreen = false;
|
|
218
|
+
/**
|
|
219
|
+
* Controls where the fixed content is placed relative to the main content
|
|
220
|
+
* in the DOM. This can be used to control the order in which fixed elements
|
|
221
|
+
* receive keyboard focus.
|
|
222
|
+
* For example, if a FAB in the fixed slot should receive keyboard focus before
|
|
223
|
+
* the main page content, set this property to `'before'`.
|
|
224
|
+
*/
|
|
225
|
+
fixedSlotPlacement = 'after';
|
|
226
|
+
/**
|
|
227
|
+
* If `true` and the content does not cause an overflow scroll, the scroll interaction will cause a bounce.
|
|
228
|
+
* If the content exceeds the bounds of ionContent, nothing will change.
|
|
229
|
+
* Note, this does not disable the system bounce on iOS. That is an OS level setting.
|
|
230
|
+
*/
|
|
231
|
+
forceOverscroll;
|
|
232
|
+
/**
|
|
233
|
+
* If you want to enable the content scrolling in the X axis, set this property to `true`.
|
|
234
|
+
*/
|
|
235
|
+
scrollX = false;
|
|
236
|
+
/**
|
|
237
|
+
* If you want to disable the content scrolling in the Y axis, set this property to `false`.
|
|
238
|
+
*/
|
|
239
|
+
scrollY = true;
|
|
240
|
+
/**
|
|
241
|
+
* Because of performance reasons, ionScroll events are disabled by default, in order to enable them
|
|
242
|
+
* and start listening from (ionScroll), set this property to `true`.
|
|
243
|
+
*/
|
|
244
|
+
scrollEvents = false;
|
|
245
|
+
/**
|
|
246
|
+
* Emitted when the scroll has started. This event is disabled by default.
|
|
247
|
+
* Set `scrollEvents` to `true` to enable.
|
|
248
|
+
*/
|
|
249
|
+
ionScrollStart;
|
|
250
|
+
/**
|
|
251
|
+
* Emitted while scrolling. This event is disabled by default.
|
|
252
|
+
* Set `scrollEvents` to `true` to enable.
|
|
253
|
+
*/
|
|
254
|
+
ionScroll;
|
|
255
|
+
/**
|
|
256
|
+
* Emitted when the scroll has ended. This event is disabled by default.
|
|
257
|
+
* Set `scrollEvents` to `true` to enable.
|
|
258
|
+
*/
|
|
259
|
+
ionScrollEnd;
|
|
230
260
|
componentWillLoad() {
|
|
231
261
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
232
262
|
}
|
|
@@ -266,12 +296,6 @@ const Content = class {
|
|
|
266
296
|
closestTabs.addEventListener('ionTabBarLoaded', this.tabsLoadCallback);
|
|
267
297
|
}
|
|
268
298
|
}
|
|
269
|
-
// Re-observe on reattach, since componentDidLoad only fires once.
|
|
270
|
-
this.setupFullscreenResizeObserver();
|
|
271
|
-
}
|
|
272
|
-
componentDidLoad() {
|
|
273
|
-
// The custom elements build assigns fullscreen after connectedCallback.
|
|
274
|
-
this.setupFullscreenResizeObserver();
|
|
275
299
|
}
|
|
276
300
|
disconnectedCallback() {
|
|
277
301
|
this.onScrollEnd();
|
|
@@ -293,42 +317,6 @@ const Content = class {
|
|
|
293
317
|
clearTimeout(this.resizeTimeout);
|
|
294
318
|
this.resizeTimeout = null;
|
|
295
319
|
}
|
|
296
|
-
this.destroyFullscreenResizeObserver();
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Header and footer sizes can change after load without a window resize
|
|
300
|
-
* firing, so the `resize` listener alone misses those changes.
|
|
301
|
-
*
|
|
302
|
-
* Popover content is excluded because `contain: none` lets its offsets drive
|
|
303
|
-
* the host's own height, which would feed back into the observer.
|
|
304
|
-
*/
|
|
305
|
-
setupFullscreenResizeObserver() {
|
|
306
|
-
if (typeof ResizeObserver === 'undefined') {
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
if (!this.fullscreen || hostContext('ion-popover', this.el)) {
|
|
310
|
-
this.destroyFullscreenResizeObserver();
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
if (this.fullscreenResizeObserver !== undefined) {
|
|
314
|
-
return;
|
|
315
|
-
}
|
|
316
|
-
this.fullscreenResizeObserver = new ResizeObserver(() => {
|
|
317
|
-
// A hidden page reports a 0x0 box, which would zero the offsets. Same
|
|
318
|
-
// reasoning as the guard in onResize, minus its debounce so the
|
|
319
|
-
// correction lands in the next frame instead of 100ms later.
|
|
320
|
-
if (this.el.offsetParent === null) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
this.resize();
|
|
324
|
-
});
|
|
325
|
-
this.fullscreenResizeObserver.observe(this.el);
|
|
326
|
-
}
|
|
327
|
-
destroyFullscreenResizeObserver() {
|
|
328
|
-
if (this.fullscreenResizeObserver !== undefined) {
|
|
329
|
-
this.fullscreenResizeObserver.disconnect();
|
|
330
|
-
this.fullscreenResizeObserver = undefined;
|
|
331
|
-
}
|
|
332
320
|
}
|
|
333
321
|
/**
|
|
334
322
|
* Rotating certain devices can update
|
|
@@ -567,7 +555,7 @@ const Content = class {
|
|
|
567
555
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
568
556
|
const transitionShadow = mode === 'ios';
|
|
569
557
|
this.resize();
|
|
570
|
-
return (h(Host,
|
|
558
|
+
return (h(Host, { key: '8c1bc4a4df8698d3884741eb38512dc059210c50', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
571
559
|
[mode]: true,
|
|
572
560
|
'content-fullscreen': this.fullscreen,
|
|
573
561
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
@@ -576,27 +564,20 @@ const Content = class {
|
|
|
576
564
|
}), style: {
|
|
577
565
|
'--offset-top': `${this.cTop}px`,
|
|
578
566
|
'--offset-bottom': `${this.cBottom}px`,
|
|
579
|
-
}
|
|
567
|
+
}, ...inheritedAttributes }, h("div", { key: '5e7412549b51ef7543d9378ecab9aac6bc461588', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '33f6fbf7e1e027c7cbd2dda95b487f18dc648cef', class: {
|
|
580
568
|
'inner-scroll': true,
|
|
581
569
|
'scroll-x': scrollX,
|
|
582
570
|
'scroll-y': scrollY,
|
|
583
571
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
584
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
572
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '00c8fe7b9e73533c702273c9457d274195d54e98' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
585
573
|
}
|
|
586
|
-
get el() { return getElement(this); }
|
|
587
|
-
static get watchers() { return {
|
|
588
|
-
"fullscreen": [{
|
|
589
|
-
"fullscreenChanged": 0
|
|
590
|
-
}]
|
|
591
|
-
}; }
|
|
592
574
|
};
|
|
593
575
|
const getParentElement = (el) => {
|
|
594
|
-
var _a;
|
|
595
576
|
if (el.parentElement) {
|
|
596
577
|
// normal element with a parent element
|
|
597
578
|
return el.parentElement;
|
|
598
579
|
}
|
|
599
|
-
if (
|
|
580
|
+
if (el.parentNode?.host) {
|
|
600
581
|
// shadow dom's document fragment
|
|
601
582
|
return el.parentNode.host;
|
|
602
583
|
}
|
|
@@ -683,48 +664,27 @@ const footerMdCss = () => `ion-footer{display:block;position:relative;-ms-flex-o
|
|
|
683
664
|
const Footer = class {
|
|
684
665
|
constructor(hostRef) {
|
|
685
666
|
registerInstance(this, hostRef);
|
|
686
|
-
this.keyboardCtrl = null;
|
|
687
|
-
this.keyboardCtrlPromise = null;
|
|
688
|
-
this.keyboardVisible = false;
|
|
689
|
-
/**
|
|
690
|
-
* If `true`, the footer will be translucent.
|
|
691
|
-
* Only applies when the mode is `"ios"` and the device supports
|
|
692
|
-
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
693
|
-
*
|
|
694
|
-
* Note: In order to scroll content behind the footer, the `fullscreen`
|
|
695
|
-
* attribute needs to be set on the content.
|
|
696
|
-
*/
|
|
697
|
-
this.translucent = false;
|
|
698
|
-
this.checkCollapsibleFooter = () => {
|
|
699
|
-
const mode = getIonMode(this);
|
|
700
|
-
if (mode !== 'ios') {
|
|
701
|
-
return;
|
|
702
|
-
}
|
|
703
|
-
const { collapse } = this;
|
|
704
|
-
const hasFade = collapse === 'fade';
|
|
705
|
-
this.destroyCollapsibleFooter();
|
|
706
|
-
if (hasFade) {
|
|
707
|
-
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
708
|
-
const contentEl = pageEl ? findIonContent(pageEl) : null;
|
|
709
|
-
if (!contentEl) {
|
|
710
|
-
printIonContentErrorMsg(this.el);
|
|
711
|
-
return;
|
|
712
|
-
}
|
|
713
|
-
this.setupFadeFooter(contentEl);
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
this.setupFadeFooter = async (contentEl) => {
|
|
717
|
-
const scrollEl = (this.scrollEl = await getScrollElement(contentEl));
|
|
718
|
-
/**
|
|
719
|
-
* Handle fading of toolbars on scroll
|
|
720
|
-
*/
|
|
721
|
-
this.contentScrollCallback = () => {
|
|
722
|
-
handleFooterFade(scrollEl, this.el);
|
|
723
|
-
};
|
|
724
|
-
scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
725
|
-
handleFooterFade(scrollEl, this.el);
|
|
726
|
-
};
|
|
727
667
|
}
|
|
668
|
+
scrollEl;
|
|
669
|
+
contentScrollCallback;
|
|
670
|
+
keyboardCtrl = null;
|
|
671
|
+
keyboardCtrlPromise = null;
|
|
672
|
+
keyboardVisible = false;
|
|
673
|
+
get el() { return getElement(this); }
|
|
674
|
+
/**
|
|
675
|
+
* Describes the scroll effect that will be applied to the footer.
|
|
676
|
+
* Only applies in iOS mode.
|
|
677
|
+
*/
|
|
678
|
+
collapse;
|
|
679
|
+
/**
|
|
680
|
+
* If `true`, the footer will be translucent.
|
|
681
|
+
* Only applies when the mode is `"ios"` and the device supports
|
|
682
|
+
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
683
|
+
*
|
|
684
|
+
* Note: In order to scroll content behind the footer, the `fullscreen`
|
|
685
|
+
* attribute needs to be set on the content.
|
|
686
|
+
*/
|
|
687
|
+
translucent = false;
|
|
728
688
|
componentDidLoad() {
|
|
729
689
|
this.checkCollapsibleFooter();
|
|
730
690
|
}
|
|
@@ -768,6 +728,35 @@ const Footer = class {
|
|
|
768
728
|
this.keyboardCtrl = null;
|
|
769
729
|
}
|
|
770
730
|
}
|
|
731
|
+
checkCollapsibleFooter = () => {
|
|
732
|
+
const mode = getIonMode(this);
|
|
733
|
+
if (mode !== 'ios') {
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
const { collapse } = this;
|
|
737
|
+
const hasFade = collapse === 'fade';
|
|
738
|
+
this.destroyCollapsibleFooter();
|
|
739
|
+
if (hasFade) {
|
|
740
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
741
|
+
const contentEl = pageEl ? findIonContent(pageEl) : null;
|
|
742
|
+
if (!contentEl) {
|
|
743
|
+
printIonContentErrorMsg(this.el);
|
|
744
|
+
return;
|
|
745
|
+
}
|
|
746
|
+
this.setupFadeFooter(contentEl);
|
|
747
|
+
}
|
|
748
|
+
};
|
|
749
|
+
setupFadeFooter = async (contentEl) => {
|
|
750
|
+
const scrollEl = (this.scrollEl = await getScrollElement(contentEl));
|
|
751
|
+
/**
|
|
752
|
+
* Handle fading of toolbars on scroll
|
|
753
|
+
*/
|
|
754
|
+
this.contentScrollCallback = () => {
|
|
755
|
+
handleFooterFade(scrollEl, this.el);
|
|
756
|
+
};
|
|
757
|
+
scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
758
|
+
handleFooterFade(scrollEl, this.el);
|
|
759
|
+
};
|
|
771
760
|
destroyCollapsibleFooter() {
|
|
772
761
|
if (this.scrollEl && this.contentScrollCallback) {
|
|
773
762
|
this.scrollEl.removeEventListener('scroll', this.contentScrollCallback);
|
|
@@ -778,7 +767,7 @@ const Footer = class {
|
|
|
778
767
|
const { translucent, collapse } = this;
|
|
779
768
|
const mode = getIonMode(this);
|
|
780
769
|
const tabs = this.el.closest('ion-tabs');
|
|
781
|
-
const tabBar = tabs
|
|
770
|
+
const tabBar = tabs?.querySelector(':scope > ion-tab-bar');
|
|
782
771
|
return (h(Host, { key: '71939c4bbaef5062532a99ee2e33574102a9abad', role: "contentinfo", class: {
|
|
783
772
|
[mode]: true,
|
|
784
773
|
// Used internally for styling
|
|
@@ -789,7 +778,6 @@ const Footer = class {
|
|
|
789
778
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
790
779
|
} }, mode === 'ios' && translucent && h("div", { key: '2fa14f61661c47c661cecd696176728d6eafa74f', class: "footer-background" }), h("slot", { key: '8e63696e7c528d5c38201e546bf08135290d0945' })));
|
|
791
780
|
}
|
|
792
|
-
get el() { return getElement(this); }
|
|
793
781
|
};
|
|
794
782
|
Footer.style = {
|
|
795
783
|
ios: footerIosCss(),
|
|
@@ -1035,28 +1023,29 @@ const headerMdCss = () => `ion-header{display:block;position:relative;-ms-flex-o
|
|
|
1035
1023
|
const Header = class {
|
|
1036
1024
|
constructor(hostRef) {
|
|
1037
1025
|
registerInstance(this, hostRef);
|
|
1038
|
-
this.inheritedAttributes = {};
|
|
1039
|
-
/**
|
|
1040
|
-
* If `true`, the header will be translucent.
|
|
1041
|
-
* Only applies when the mode is `"ios"` and the device supports
|
|
1042
|
-
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
1043
|
-
*
|
|
1044
|
-
* Note: In order to scroll content behind the header, the `fullscreen`
|
|
1045
|
-
* attribute needs to be set on the content.
|
|
1046
|
-
*/
|
|
1047
|
-
this.translucent = false;
|
|
1048
|
-
this.setupFadeHeader = async (contentEl, condenseHeader) => {
|
|
1049
|
-
const scrollEl = (this.scrollEl = await getScrollElement(contentEl));
|
|
1050
|
-
/**
|
|
1051
|
-
* Handle fading of toolbars on scroll
|
|
1052
|
-
*/
|
|
1053
|
-
this.contentScrollCallback = () => {
|
|
1054
|
-
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
1055
|
-
};
|
|
1056
|
-
scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
1057
|
-
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
1058
|
-
};
|
|
1059
1026
|
}
|
|
1027
|
+
scrollEl;
|
|
1028
|
+
contentScrollCallback;
|
|
1029
|
+
intersectionObserver;
|
|
1030
|
+
collapsibleMainHeader;
|
|
1031
|
+
inheritedAttributes = {};
|
|
1032
|
+
get el() { return getElement(this); }
|
|
1033
|
+
/**
|
|
1034
|
+
* Describes the scroll effect that will be applied to the header.
|
|
1035
|
+
* Only applies in iOS mode.
|
|
1036
|
+
*
|
|
1037
|
+
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
1038
|
+
*/
|
|
1039
|
+
collapse;
|
|
1040
|
+
/**
|
|
1041
|
+
* If `true`, the header will be translucent.
|
|
1042
|
+
* Only applies when the mode is `"ios"` and the device supports
|
|
1043
|
+
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
1044
|
+
*
|
|
1045
|
+
* Note: In order to scroll content behind the header, the `fullscreen`
|
|
1046
|
+
* attribute needs to be set on the content.
|
|
1047
|
+
*/
|
|
1048
|
+
translucent = false;
|
|
1060
1049
|
componentWillLoad() {
|
|
1061
1050
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
1062
1051
|
}
|
|
@@ -1100,6 +1089,17 @@ const Header = class {
|
|
|
1100
1089
|
await this.setupFadeHeader(contentEl, condenseHeader);
|
|
1101
1090
|
}
|
|
1102
1091
|
}
|
|
1092
|
+
setupFadeHeader = async (contentEl, condenseHeader) => {
|
|
1093
|
+
const scrollEl = (this.scrollEl = await getScrollElement(contentEl));
|
|
1094
|
+
/**
|
|
1095
|
+
* Handle fading of toolbars on scroll
|
|
1096
|
+
*/
|
|
1097
|
+
this.contentScrollCallback = () => {
|
|
1098
|
+
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
1099
|
+
};
|
|
1100
|
+
scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
1101
|
+
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
1102
|
+
};
|
|
1103
1103
|
destroyCollapsibleHeader() {
|
|
1104
1104
|
if (this.intersectionObserver) {
|
|
1105
1105
|
this.intersectionObserver.disconnect();
|
|
@@ -1171,16 +1171,15 @@ const Header = class {
|
|
|
1171
1171
|
const isCondensed = collapse === 'condense';
|
|
1172
1172
|
// banner role must be at top level, so remove role if inside a menu
|
|
1173
1173
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, mode);
|
|
1174
|
-
return (h(Host,
|
|
1174
|
+
return (h(Host, { key: '863c4568cd7b8c0ec55109f193bbbaed68a1346e', role: roleType, class: {
|
|
1175
1175
|
[mode]: true,
|
|
1176
1176
|
// Used internally for styling
|
|
1177
1177
|
[`header-${mode}`]: true,
|
|
1178
1178
|
[`header-translucent`]: this.translucent,
|
|
1179
1179
|
[`header-collapse-${collapse}`]: true,
|
|
1180
1180
|
[`header-translucent-${mode}`]: this.translucent,
|
|
1181
|
-
}
|
|
1181
|
+
}, ...inheritedAttributes }, mode === 'ios' && translucent && h("div", { key: '25c3bdce328b0b35607d154c8b8374679313d881', class: "header-background" }), h("slot", { key: 'b44fab0a9be7920b9650da26117c783e751e1702' })));
|
|
1182
1182
|
}
|
|
1183
|
-
get el() { return getElement(this); }
|
|
1184
1183
|
};
|
|
1185
1184
|
Header.style = {
|
|
1186
1185
|
ios: headerIosCss(),
|
|
@@ -1195,22 +1194,47 @@ const RouterOutlet = class {
|
|
|
1195
1194
|
this.ionNavWillLoad = createEvent(this, "ionNavWillLoad", 7);
|
|
1196
1195
|
this.ionNavWillChange = createEvent(this, "ionNavWillChange", 3);
|
|
1197
1196
|
this.ionNavDidChange = createEvent(this, "ionNavDidChange", 3);
|
|
1198
|
-
this.lockController = createLockController();
|
|
1199
|
-
this.gestureOrAnimationInProgress = false;
|
|
1200
|
-
/**
|
|
1201
|
-
* The mode determines which platform styles to use.
|
|
1202
|
-
*/
|
|
1203
|
-
this.mode = getIonMode(this);
|
|
1204
|
-
/**
|
|
1205
|
-
* If `true`, the router-outlet should animate the transition of components.
|
|
1206
|
-
*/
|
|
1207
|
-
this.animated = true;
|
|
1208
1197
|
}
|
|
1198
|
+
lockController = createLockController();
|
|
1199
|
+
activeEl;
|
|
1200
|
+
// TODO(FW-2832): types
|
|
1201
|
+
activeComponent;
|
|
1202
|
+
activeParams;
|
|
1203
|
+
gesture;
|
|
1204
|
+
ani;
|
|
1205
|
+
gestureOrAnimationInProgress = false;
|
|
1206
|
+
get el() { return getElement(this); }
|
|
1207
|
+
/**
|
|
1208
|
+
* The mode determines which platform styles to use.
|
|
1209
|
+
*/
|
|
1210
|
+
mode = getIonMode(this);
|
|
1211
|
+
/** @internal */
|
|
1212
|
+
delegate;
|
|
1213
|
+
/**
|
|
1214
|
+
* If `true`, the router-outlet should animate the transition of components.
|
|
1215
|
+
*/
|
|
1216
|
+
animated = true;
|
|
1217
|
+
/** This property allows to create custom transition using AnimationBuilder functions. */
|
|
1218
|
+
animation;
|
|
1219
|
+
/**
|
|
1220
|
+
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture.
|
|
1221
|
+
* Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
1222
|
+
*/
|
|
1223
|
+
swipeGesture;
|
|
1224
|
+
swipeGestureChanged() {
|
|
1225
|
+
this.updateGestureEnabled();
|
|
1226
|
+
}
|
|
1227
|
+
/** @internal */
|
|
1228
|
+
swipeHandler;
|
|
1209
1229
|
swipeHandlerChanged() {
|
|
1210
|
-
|
|
1211
|
-
this.gesture.enable(this.swipeHandler !== undefined);
|
|
1212
|
-
}
|
|
1230
|
+
this.updateGestureEnabled();
|
|
1213
1231
|
}
|
|
1232
|
+
/** @internal */
|
|
1233
|
+
ionNavWillLoad;
|
|
1234
|
+
/** @internal */
|
|
1235
|
+
ionNavWillChange;
|
|
1236
|
+
/** @internal */
|
|
1237
|
+
ionNavDidChange;
|
|
1214
1238
|
async connectedCallback() {
|
|
1215
1239
|
const onStart = () => {
|
|
1216
1240
|
this.gestureOrAnimationInProgress = true;
|
|
@@ -1218,7 +1242,7 @@ const RouterOutlet = class {
|
|
|
1218
1242
|
this.swipeHandler.onStart();
|
|
1219
1243
|
}
|
|
1220
1244
|
};
|
|
1221
|
-
this.gesture = (await import('./swipe-back-
|
|
1245
|
+
this.gesture = (await import('./swipe-back-D6YSgAn7.js')).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => this.ani?.progressStep(step), (shouldComplete, step, dur) => {
|
|
1222
1246
|
if (this.ani) {
|
|
1223
1247
|
this.ani.onFinish(() => {
|
|
1224
1248
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -1249,11 +1273,21 @@ const RouterOutlet = class {
|
|
|
1249
1273
|
this.gestureOrAnimationInProgress = false;
|
|
1250
1274
|
}
|
|
1251
1275
|
});
|
|
1252
|
-
this.
|
|
1276
|
+
if (this.swipeGesture === undefined) {
|
|
1277
|
+
this.swipeGesture = config.getBoolean('swipeBackEnabled', this.mode === 'ios');
|
|
1278
|
+
}
|
|
1279
|
+
else {
|
|
1280
|
+
this.updateGestureEnabled();
|
|
1281
|
+
}
|
|
1253
1282
|
}
|
|
1254
1283
|
componentWillLoad() {
|
|
1255
1284
|
this.ionNavWillLoad.emit();
|
|
1256
1285
|
}
|
|
1286
|
+
updateGestureEnabled() {
|
|
1287
|
+
if (this.gesture) {
|
|
1288
|
+
this.gesture.enable(this.swipeHandler !== undefined && this.swipeGesture === true);
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1257
1291
|
disconnectedCallback() {
|
|
1258
1292
|
if (this.gesture) {
|
|
1259
1293
|
this.gesture.destroy();
|
|
@@ -1320,16 +1354,19 @@ const RouterOutlet = class {
|
|
|
1320
1354
|
const { el, mode } = this;
|
|
1321
1355
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
1322
1356
|
const animationBuilder = opts.animationBuilder || this.animation || config.get('navAnimation');
|
|
1323
|
-
await transition(
|
|
1357
|
+
await transition({
|
|
1358
|
+
mode,
|
|
1324
1359
|
animated,
|
|
1325
1360
|
enteringEl,
|
|
1326
|
-
leavingEl,
|
|
1361
|
+
leavingEl,
|
|
1362
|
+
baseEl: el,
|
|
1327
1363
|
/**
|
|
1328
1364
|
* We need to wait for all Stencil components
|
|
1329
1365
|
* to be ready only when using the lazy
|
|
1330
1366
|
* loaded bundle.
|
|
1331
1367
|
*/
|
|
1332
|
-
deepWait: hasLazyBuild(el),
|
|
1368
|
+
deepWait: hasLazyBuild(el),
|
|
1369
|
+
progressCallback: opts.progressAnimation
|
|
1333
1370
|
? (ani) => {
|
|
1334
1371
|
/**
|
|
1335
1372
|
* Because this progress callback is called asynchronously
|
|
@@ -1358,16 +1395,21 @@ const RouterOutlet = class {
|
|
|
1358
1395
|
this.ani = ani;
|
|
1359
1396
|
}
|
|
1360
1397
|
}
|
|
1361
|
-
: undefined
|
|
1398
|
+
: undefined,
|
|
1399
|
+
...opts,
|
|
1400
|
+
animationBuilder,
|
|
1401
|
+
});
|
|
1362
1402
|
// emit nav changed event
|
|
1363
1403
|
this.ionNavDidChange.emit();
|
|
1364
1404
|
return true;
|
|
1365
1405
|
}
|
|
1366
1406
|
render() {
|
|
1367
|
-
return h("slot", { key: '
|
|
1407
|
+
return h("slot", { key: 'ce09e6fbba7b0a2276cdde5245bb37c9a162c1c7' });
|
|
1368
1408
|
}
|
|
1369
|
-
get el() { return getElement(this); }
|
|
1370
1409
|
static get watchers() { return {
|
|
1410
|
+
"swipeGesture": [{
|
|
1411
|
+
"swipeGestureChanged": 0
|
|
1412
|
+
}],
|
|
1371
1413
|
"swipeHandler": [{
|
|
1372
1414
|
"swipeHandlerChanged": 0
|
|
1373
1415
|
}]
|
|
@@ -1384,6 +1426,22 @@ const ToolbarTitle = class {
|
|
|
1384
1426
|
registerInstance(this, hostRef);
|
|
1385
1427
|
this.ionStyle = createEvent(this, "ionStyle", 7);
|
|
1386
1428
|
}
|
|
1429
|
+
get el() { return getElement(this); }
|
|
1430
|
+
/**
|
|
1431
|
+
* The color to use from your application's color palette.
|
|
1432
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
1433
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
1434
|
+
*/
|
|
1435
|
+
color;
|
|
1436
|
+
/**
|
|
1437
|
+
* The size of the toolbar title.
|
|
1438
|
+
*/
|
|
1439
|
+
size;
|
|
1440
|
+
/**
|
|
1441
|
+
* Emitted when the styles change.
|
|
1442
|
+
* @internal
|
|
1443
|
+
*/
|
|
1444
|
+
ionStyle;
|
|
1387
1445
|
sizeChanged() {
|
|
1388
1446
|
this.emitStyle();
|
|
1389
1447
|
}
|
|
@@ -1402,13 +1460,12 @@ const ToolbarTitle = class {
|
|
|
1402
1460
|
render() {
|
|
1403
1461
|
const mode = getIonMode(this);
|
|
1404
1462
|
const size = this.getSize();
|
|
1405
|
-
return (h(Host, { key: '
|
|
1463
|
+
return (h(Host, { key: 'd9317e8e66cb6112717f5a9c252658777efbd873', class: createColorClasses(this.color, {
|
|
1406
1464
|
[mode]: true,
|
|
1407
1465
|
[`title-${size}`]: true,
|
|
1408
1466
|
'title-rtl': document.dir === 'rtl',
|
|
1409
|
-
}) }, h("div", { key: '
|
|
1467
|
+
}) }, h("div", { key: 'a4d011d6d409bf006d8efe33667002edb109820a', class: "toolbar-title" }, h("slot", { key: '4ca3303b957a0e5387f1e9058e5adb4c6275afcc' }))));
|
|
1410
1468
|
}
|
|
1411
|
-
get el() { return getElement(this); }
|
|
1412
1469
|
static get watchers() { return {
|
|
1413
1470
|
"size": [{
|
|
1414
1471
|
"sizeChanged": 0
|
|
@@ -1427,8 +1484,15 @@ const toolbarMdCss = () => `:host{--border-width:0;--border-style:solid;--opacit
|
|
|
1427
1484
|
const Toolbar = class {
|
|
1428
1485
|
constructor(hostRef) {
|
|
1429
1486
|
registerInstance(this, hostRef);
|
|
1430
|
-
this.childrenStyles = new Map();
|
|
1431
1487
|
}
|
|
1488
|
+
childrenStyles = new Map();
|
|
1489
|
+
get el() { return getElement(this); }
|
|
1490
|
+
/**
|
|
1491
|
+
* The color to use from your application's color palette.
|
|
1492
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
1493
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
1494
|
+
*/
|
|
1495
|
+
color;
|
|
1432
1496
|
componentWillLoad() {
|
|
1433
1497
|
const buttons = Array.from(this.el.querySelectorAll('ion-buttons'));
|
|
1434
1498
|
const firstButtons = buttons.find((button) => {
|
|
@@ -1473,12 +1537,14 @@ const Toolbar = class {
|
|
|
1473
1537
|
this.childrenStyles.forEach((value) => {
|
|
1474
1538
|
Object.assign(childStyles, value);
|
|
1475
1539
|
});
|
|
1476
|
-
return (h(Host, { key: '
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1540
|
+
return (h(Host, { key: '40bad6fa7e94262438da4bbe037dcf8a5fa2df22', class: {
|
|
1541
|
+
...childStyles,
|
|
1542
|
+
...createColorClasses(this.color, {
|
|
1543
|
+
[mode]: true,
|
|
1544
|
+
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1545
|
+
}),
|
|
1546
|
+
} }, h("div", { key: 'df44c9f0fe3958116ab860b0dad79c53b89f6c59', class: "toolbar-background", part: "background" }), h("div", { key: '2169ffa576875b8d5624211cc0b4bf86191562bc', class: "toolbar-container", part: "container" }, h("slot", { key: 'c8910dcf1ce98ab427fd89c3396a67c2a75bdd07', name: "start" }), h("slot", { key: '05da24d5ef96b9eebd83b534ce02c1f7bcd06680', name: "secondary" }), h("div", { key: '090fea1541e7e2b6ad74a6ded4eadffdb471ccce', class: "toolbar-content", part: "content" }, h("slot", { key: '507e143f92f6fa59ff23d94026411fa2c74f2f8e' })), h("slot", { key: 'f79fdee472e657e26a910cb89d7551943e40e440', name: "primary" }), h("slot", { key: 'dd40fe9ed490cf4346c642e195fdb524dc6cc4f5', name: "end" }))));
|
|
1480
1547
|
}
|
|
1481
|
-
get el() { return getElement(this); }
|
|
1482
1548
|
};
|
|
1483
1549
|
Toolbar.style = {
|
|
1484
1550
|
ios: toolbarIosCss(),
|