@ionic/core 9.0.13-dev.11795137446.17ffb6e9 → 9.0.13-dev.11795209321.12c3c69e
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/{dist/ionic/p-FygeMLmO.js → components/p-4z5TSFKN.js} +1 -1
- package/components/p-B4e-N-iU.js +4 -0
- package/components/{p-8bQyQ-A-.js → p-BAId-lif.js} +1 -1
- package/components/p-BG2WJ00s.js +4 -0
- package/components/p-BPHUpiiM.js +4 -0
- package/components/p-BSQPZ79H.js +4 -0
- package/components/p-BVP5mSVm.js +4 -0
- package/components/p-BW8F7e0i.js +4 -0
- package/components/p-BbKlaMtT.js +4 -0
- package/components/p-BcXWZK_S.js +4 -0
- package/components/p-BeFfed0O.js +4 -0
- package/components/p-BhamHSw3.js +4 -0
- package/components/p-BiZyTqN_.js +4 -0
- package/components/p-BjZLJLiN.js +4 -0
- package/components/p-BmBGUFc2.js +4 -0
- package/components/p-BmVRXR1y.js +4 -0
- package/components/p-Bs6l0hmn.js +4 -0
- package/components/{p-DVDuYWYf.js → p-C1FMVh-c.js} +1 -1
- package/components/p-C2VUMtb_.js +4 -0
- package/components/p-CEQhyzEV.js +4 -0
- package/components/p-CGPlqk2U.js +4 -0
- package/components/p-CIqj2_kr.js +4 -0
- package/components/{p-CajBjgLi.js → p-CJXZp1_l.js} +1 -1
- package/components/p-CK5LoZgF.js +4 -0
- package/components/p-CbkYCbcD.js +4 -0
- package/components/p-CiOQnWkW.js +4 -0
- package/components/p-CjipsCSh.js +4 -0
- package/components/p-CkBN8nLu.js +4 -0
- package/components/p-CmuQBpNF.js +4 -0
- package/components/p-CnlUj9Gp.js +4 -0
- package/components/{p-BpPHtMLg.js → p-CoZdMyjc.js} +1 -1
- package/components/p-Cu22S_Bl.js +4 -0
- package/components/{p-D6f0xBGY.js → p-CvJCRpUX.js} +1 -1
- package/components/p-Cw7d5DbA.js +4 -0
- package/components/{p-zEYXdQGH.js → p-D-9Kbp9V.js} +1 -1
- package/components/p-D76C9Iw8.js +4 -0
- package/components/p-D7tIM1xI.js +4 -0
- package/components/p-DI-hVUPw.js +4 -0
- package/components/{p-DmlpWO08.js → p-DJGnlsxd.js} +1 -1
- package/components/p-DJztqcrH.js +4 -0
- package/components/p-DXwlA9fK.js +4 -0
- package/components/p-DZnVmCdW.js +4 -0
- package/components/{p-BTu2WI4z.js → p-DaM57RSp.js} +1 -1
- package/components/{p-BjjY6jOq.js → p-Dga790ke.js} +1 -1
- package/components/p-DjCSZZsZ.js +4 -0
- package/components/p-DjaPZRNp.js +4 -0
- package/components/p-DjkKiJ-Z.js +4 -0
- package/components/p-DluP6kjT.js +4 -0
- package/components/p-DmMCzf7n.js +4 -0
- package/components/p-DvVp-N7F.js +4 -0
- package/components/p-H5MjXgsw.js +4 -0
- package/components/p-LpMHEu3v.js +4 -0
- package/components/p-MmeVOM-P.js +4 -0
- package/components/{p-Dqy0AJBg.js → p-QTccyPJk.js} +1 -1
- package/components/p-SWkzJ3qv.js +4 -0
- package/components/p-VYhssPGK.js +4 -0
- package/components/p-XbNDx_fA.js +4 -0
- package/components/p-byZM6qHV.js +4 -0
- package/components/p-d8PmTFON.js +4 -0
- package/components/{p-BGbQbTAV.js → p-oIGmkL03.js} +1 -1
- package/components/p-ofv0IK1O.js +4 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-CeH2W-qd.js → animation-DlzccfDd.js} +3 -3
- package/dist/cjs/{app-globals-f7eomsHa.js → app-globals-BBnfXNGo.js} +1 -1
- package/dist/cjs/{attribute-controller-mEO_Z0Wr.js → attribute-controller-DFB7TQyv.js} +2 -3
- package/dist/cjs/{button-active-PwgL_R0V.js → button-active-D6tCKxs2.js} +2 -2
- package/dist/cjs/{capacitor-DmA66EwP.js → capacitor-C3jqMZUp.js} +3 -3
- package/dist/cjs/focus-visible-CCvKiLh3.js +77 -0
- package/dist/cjs/{format-PsbNYAbf.js → format-DTPuiUzt.js} +13 -4
- package/dist/cjs/{framework-delegate-D-XPcdY0.js → framework-delegate-DaCOvv4f.js} +2 -4
- package/dist/cjs/{haptic-Ch-X4gRx.js → haptic-DBRWRDGz.js} +7 -3
- package/dist/cjs/{helpers-jmlMCGoQ.js → helpers-DNBm7IvL.js} +10 -88
- package/dist/cjs/{index-Cco7L1eB.js → index-B-9fVZ1n.js} +4 -4
- package/dist/cjs/{index-B5yv8_lH.js → index-B9cvjLlx.js} +7 -9
- package/dist/cjs/{index-DRLvcDji.js → index-BVExV68H.js} +1 -1
- package/dist/cjs/{index-CHRTOQP9.js → index-BjukzfRx.js} +2 -2
- package/dist/cjs/{index-R2zOwQVz.js → index-COPA2qmr.js} +15 -17
- package/dist/cjs/{index-Cn0FjjMN.js → index-vpLyKa3B.js} +5 -55
- package/dist/cjs/{index-CxDnX7hd.js → index-wOmugbdg.js} +0 -2
- package/dist/cjs/index.cjs.js +18 -20
- package/dist/cjs/{input-shims-obkB-KvI.js → input-shims-C55ajY7V.js} +16 -18
- package/dist/cjs/{input.utils-B_HfgEQx.js → input.utils-CBj7zmfe.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +29 -57
- package/dist/cjs/ion-action-sheet.cjs.entry.js +38 -43
- package/dist/cjs/ion-alert.cjs.entry.js +46 -51
- package/dist/cjs/ion-app_8.cjs.entry.js +196 -521
- package/dist/cjs/ion-avatar_3.cjs.entry.js +13 -124
- package/dist/cjs/ion-back-button.cjs.entry.js +24 -32
- package/dist/cjs/ion-backdrop.cjs.entry.js +7 -11
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +20 -43
- package/dist/cjs/ion-button_2.cjs.entry.js +23 -61
- package/dist/cjs/ion-card_5.cjs.entry.js +34 -57
- package/dist/cjs/ion-checkbox.cjs.entry.js +17 -43
- package/dist/cjs/ion-chip.cjs.entry.js +9 -51
- package/dist/cjs/ion-col_3.cjs.entry.js +63 -56
- package/dist/cjs/ion-datetime-button.cjs.entry.js +13 -45
- package/dist/cjs/ion-datetime.cjs.entry.js +77 -467
- package/dist/cjs/ion-fab_3.cjs.entry.js +36 -41
- package/dist/cjs/ion-img.cjs.entry.js +4 -9
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +16 -91
- package/dist/cjs/ion-input-otp.cjs.entry.js +137 -78
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +14 -42
- package/dist/cjs/ion-input.cjs.entry.js +39 -147
- package/dist/cjs/ion-item-option_3.cjs.entry.js +54 -467
- package/dist/cjs/ion-item_8.cjs.entry.js +59 -126
- package/dist/cjs/ion-loading.cjs.entry.js +29 -34
- package/dist/cjs/ion-menu_3.cjs.entry.js +37 -55
- package/dist/cjs/ion-modal.cjs.entry.js +158 -314
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -14
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +8 -13
- package/dist/cjs/ion-picker-column.cjs.entry.js +15 -17
- package/dist/cjs/ion-picker.cjs.entry.js +6 -11
- package/dist/cjs/ion-popover.cjs.entry.js +29 -34
- package/dist/cjs/ion-progress-bar.cjs.entry.js +9 -28
- package/dist/cjs/ion-radio_2.cjs.entry.js +18 -37
- package/dist/cjs/ion-range.cjs.entry.js +43 -79
- package/dist/cjs/ion-refresher_2.cjs.entry.js +21 -46
- package/dist/cjs/ion-reorder_2.cjs.entry.js +13 -31
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -16
- package/dist/cjs/ion-route_4.cjs.entry.js +132 -29
- package/dist/cjs/ion-searchbar.cjs.entry.js +33 -118
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -13
- package/dist/cjs/ion-segment_2.cjs.entry.js +17 -25
- package/dist/cjs/ion-select-modal.cjs.entry.js +25 -54
- package/dist/cjs/ion-select_3.cjs.entry.js +82 -204
- package/dist/cjs/ion-spinner.cjs.entry.js +8 -31
- package/dist/cjs/ion-split-pane.cjs.entry.js +9 -14
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -151
- package/dist/cjs/ion-tab_2.cjs.entry.js +7 -9
- package/dist/cjs/ion-text.cjs.entry.js +7 -8
- package/dist/cjs/ion-textarea.cjs.entry.js +41 -178
- package/dist/cjs/ion-toast.cjs.entry.js +57 -86
- package/dist/cjs/ion-toggle.cjs.entry.js +33 -67
- package/dist/cjs/ionic-global-QTK6g1fO.js +156 -0
- package/dist/cjs/ionic.cjs.js +4 -5
- package/dist/cjs/{ios.transition-Chk7LwO2.js → ios.transition-B3ZEimAt.js} +4 -7
- package/dist/cjs/{item-multiple-inputs-DRBi1Q76.js → item-multiple-inputs-BCXLvS-7.js} +1 -1
- package/dist/cjs/{keyboard-Cix5TVkD.js → keyboard-D09lu9Ui.js} +5 -3
- package/dist/cjs/keyboard-controller-DdjUnixl.js +167 -0
- package/dist/cjs/{keyboard-cHxZlTyz.js → keyboard-m0YvDiQo.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/{md.transition-D-k4hn-o.js → md.transition-C6bsrBL9.js} +4 -6
- package/dist/cjs/{overlay-control-label-DnRLQR1t.js → overlay-control-label-D2sdL2O8.js} +11 -13
- package/dist/cjs/{overlay-focus-boundary-DCv6Y3fL.js → overlay-focus-boundary-CSrlxrNh.js} +4 -4
- package/dist/cjs/{overlays-DMW90-Kg.js → overlays-CQn_A50_.js} +176 -320
- package/dist/cjs/{page-restore-Dq2Pkln0.js → page-restore-DAn6uyjc.js} +1 -40
- package/dist/cjs/{select-option-render-nr0lBnYb.js → select-option-render-DlDqVzKp.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-DKkmhOKO.js → slot-mutation-controller-CefCz349.js} +13 -100
- package/dist/cjs/{status-tap-oCDuuJng.js → status-tap-kGuqyCj0.js} +3 -5
- package/dist/cjs/{swipe-back-DZZ4EcCX.js → swipe-back-qjHVCapG.js} +2 -4
- package/dist/cjs/{theme-Cy4joHPt.js → theme-Bw0rpaNN.js} +1 -25
- package/dist/cjs/validity-BpS37YFM.js +19 -0
- package/dist/collection/collection-manifest.json +0 -8
- package/dist/collection/components/accordion/accordion.ios.css +58 -73
- package/dist/collection/components/accordion/accordion.js +27 -36
- package/dist/collection/components/accordion/accordion.md.css +59 -67
- package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -16
- package/dist/collection/components/accordion-group/accordion-group.js +8 -44
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -22
- package/dist/collection/components/action-sheet/action-sheet.ios.css +54 -184
- package/dist/collection/components/action-sheet/action-sheet.js +13 -16
- package/dist/collection/components/action-sheet/action-sheet.md.css +55 -179
- package/dist/collection/components/alert/alert.ios.css +63 -259
- package/dist/collection/components/alert/alert.js +19 -22
- package/dist/collection/components/alert/alert.md.css +56 -243
- package/dist/collection/components/app/app.js +83 -15
- package/dist/collection/components/avatar/avatar.ios.css +33 -7
- package/dist/collection/components/avatar/avatar.js +4 -120
- package/dist/collection/components/avatar/avatar.md.css +0 -51
- package/dist/collection/components/back-button/back-button.ios.css +48 -60
- package/dist/collection/components/back-button/back-button.js +20 -26
- package/dist/collection/components/back-button/back-button.md.css +48 -60
- package/dist/collection/components/backdrop/backdrop.ios.css +19 -56
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +19 -56
- package/dist/collection/components/badge/badge.ios.css +12 -137
- package/dist/collection/components/badge/badge.js +9 -143
- package/dist/collection/components/badge/badge.md.css +12 -122
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
- package/dist/collection/components/breadcrumb/breadcrumb.js +12 -31
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +46 -154
- package/dist/collection/components/button/button.js +27 -63
- package/dist/collection/components/button/button.md.css +50 -150
- package/dist/collection/components/buttons/buttons.ios.css +7 -59
- package/dist/collection/components/buttons/buttons.js +9 -15
- package/dist/collection/components/buttons/buttons.md.css +3 -55
- package/dist/collection/components/card/card.ios.css +14 -65
- package/dist/collection/components/card/card.js +10 -41
- package/dist/collection/components/card/card.md.css +14 -65
- package/dist/collection/components/card-content/card-content.ios.css +35 -20
- package/dist/collection/components/card-content/card-content.js +10 -12
- package/dist/collection/components/card-content/card-content.md.css +35 -20
- package/dist/collection/components/card-header/card-header.ios.css +15 -27
- package/dist/collection/components/card-header/card-header.js +10 -13
- package/dist/collection/components/card-header/card-header.md.css +15 -27
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
- package/dist/collection/components/card-title/card-title.ios.css +0 -73
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -73
- package/dist/collection/components/checkbox/checkbox.ios.css +121 -252
- package/dist/collection/components/checkbox/checkbox.js +15 -80
- package/dist/collection/components/checkbox/checkbox.md.css +122 -253
- package/dist/collection/components/chip/chip.ios.css +14 -67
- package/dist/collection/components/chip/chip.js +8 -108
- package/dist/collection/components/chip/chip.md.css +14 -67
- package/dist/collection/components/col/col.css +4 -192
- package/dist/collection/components/col/col.js +67 -210
- package/dist/collection/components/content/{content.ios.css → content.css} +37 -106
- package/dist/collection/components/content/content.js +13 -22
- package/dist/collection/components/datetime/datetime.ios.css +114 -444
- package/dist/collection/components/datetime/datetime.js +59 -509
- package/dist/collection/components/datetime/datetime.md.css +103 -422
- package/dist/collection/components/datetime/utils/data.js +12 -7
- package/dist/collection/components/datetime/utils/manipulation.js +12 -3
- package/dist/collection/components/datetime/utils/state.js +1 -18
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +12 -43
- package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
- package/dist/collection/components/fab/fab.css +9 -35
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +38 -24
- package/dist/collection/components/fab-button/fab-button.js +49 -30
- package/dist/collection/components/fab-button/fab-button.md.css +32 -25
- package/dist/collection/components/fab-list/fab-list.css +0 -12
- package/dist/collection/components/fab-list/fab-list.js +5 -9
- package/dist/collection/components/footer/footer.ios.css +6 -33
- package/dist/collection/components/footer/footer.js +25 -117
- package/dist/collection/components/footer/footer.md.css +0 -40
- package/dist/collection/components/grid/grid.css +0 -12
- package/dist/collection/components/grid/grid.js +5 -9
- package/dist/collection/components/header/header.ios.css +133 -178
- package/dist/collection/components/header/header.js +39 -180
- package/dist/collection/components/header/header.md.css +9 -199
- package/dist/collection/components/header/header.utils.js +13 -5
- package/dist/collection/components/img/img.js +2 -7
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +5 -99
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +163 -258
- package/dist/collection/components/input/input.js +44 -172
- package/dist/collection/components/input/input.md.css +238 -232
- package/dist/collection/components/input-otp/input-otp.ios.css +86 -106
- package/dist/collection/components/input-otp/input-otp.js +201 -80
- package/dist/collection/components/input-otp/input-otp.md.css +86 -106
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +10 -37
- package/dist/collection/components/item/item.ios.css +88 -166
- package/dist/collection/components/item/item.js +21 -51
- package/dist/collection/components/item/item.md.css +91 -180
- package/dist/collection/components/item-divider/item-divider.ios.css +8 -28
- package/dist/collection/components/item-divider/item-divider.js +8 -11
- package/dist/collection/components/item-divider/item-divider.md.css +8 -28
- package/dist/collection/components/item-group/item-group.ios.css +0 -12
- package/dist/collection/components/item-group/item-group.js +7 -13
- package/dist/collection/components/item-group/item-group.md.css +0 -12
- package/dist/collection/components/item-option/item-option.ios.css +29 -136
- package/dist/collection/components/item-option/item-option.js +10 -73
- package/dist/collection/components/item-option/item-option.md.css +29 -136
- package/dist/collection/components/item-options/item-options.ios.css +51 -97
- package/dist/collection/components/item-options/item-options.js +7 -13
- package/dist/collection/components/item-options/item-options.md.css +51 -97
- package/dist/collection/components/{segment/segment.ionic.css → item-sliding/item-sliding.css} +56 -50
- package/dist/collection/components/item-sliding/item-sliding.js +35 -419
- package/dist/collection/components/item-sliding/test/test.utils.js +0 -13
- package/dist/collection/components/label/label.ios.css +75 -89
- package/dist/collection/components/label/label.js +14 -16
- package/dist/collection/components/label/label.md.css +85 -159
- package/dist/collection/components/list/list.ios.css +14 -54
- package/dist/collection/components/list/list.js +9 -48
- package/dist/collection/components/list/list.md.css +16 -56
- package/dist/collection/components/list-header/list-header.ios.css +42 -87
- package/dist/collection/components/list-header/list-header.js +8 -11
- package/dist/collection/components/list-header/list-header.md.css +42 -87
- package/dist/collection/components/loading/loading.ios.css +1 -13
- package/dist/collection/components/loading/loading.js +12 -15
- package/dist/collection/components/loading/loading.md.css +1 -13
- package/dist/collection/components/menu/menu.ios.css +39 -53
- package/dist/collection/components/menu/menu.js +7 -12
- package/dist/collection/components/menu/menu.md.css +39 -53
- package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
- package/dist/collection/components/menu-button/menu-button.js +10 -23
- package/dist/collection/components/menu-button/menu-button.md.css +15 -49
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/animations/sheet.js +2 -8
- package/dist/collection/components/modal/gestures/sheet.js +8 -96
- package/dist/collection/components/modal/modal.ios.css +70 -178
- package/dist/collection/components/modal/modal.js +13 -52
- package/dist/collection/components/modal/modal.md.css +70 -178
- package/dist/collection/components/modal/safe-area-utils.js +2 -9
- package/dist/collection/components/nav/nav.css +1 -7
- package/dist/collection/components/nav/nav.js +4 -10
- package/dist/collection/components/nav-link/nav-link.js +1 -5
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +8 -11
- package/dist/collection/components/note/note.md.css +0 -12
- package/dist/collection/components/picker/picker.ios.css +3 -15
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +3 -15
- package/dist/collection/components/picker-column/picker-column.css +2 -9
- package/dist/collection/components/picker-column/picker-column.js +7 -8
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
- package/dist/collection/components/popover/popover.ios.css +13 -29
- package/dist/collection/components/popover/popover.js +16 -19
- package/dist/collection/components/popover/popover.md.css +10 -25
- package/dist/collection/components/progress-bar/progress-bar.ios.css +17 -48
- package/dist/collection/components/progress-bar/progress-bar.js +7 -43
- package/dist/collection/components/progress-bar/progress-bar.md.css +17 -48
- package/dist/collection/components/radio/radio.ios.css +102 -209
- package/dist/collection/components/radio/radio.js +9 -14
- package/dist/collection/components/radio/radio.md.css +102 -209
- package/dist/collection/components/radio-group/radio-group.ios.css +19 -43
- package/dist/collection/components/radio-group/radio-group.js +7 -48
- package/dist/collection/components/radio-group/radio-group.md.css +19 -43
- package/dist/collection/components/range/range.ios.css +97 -144
- package/dist/collection/components/range/range.js +40 -74
- package/dist/collection/components/range/range.md.css +101 -149
- package/dist/collection/components/refresher/refresher.ios.css +4 -18
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +5 -19
- package/dist/collection/components/refresher-content/refresher-content.js +7 -34
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -25
- package/dist/collection/components/reorder/reorder.md.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.js +4 -8
- package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
- package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
- package/dist/collection/components/route/route.js +9 -6
- package/dist/collection/components/route-redirect/route-redirect.js +1 -2
- package/dist/collection/components/router/router.js +0 -4
- package/dist/collection/components/router/utils/constants.js +2 -0
- package/dist/collection/components/router/utils/matching.js +97 -14
- package/dist/collection/components/router/utils/path.js +17 -3
- package/dist/collection/components/router-link/router-link.css +2 -8
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +1 -7
- package/dist/collection/components/router-outlet/router-outlet.js +3 -6
- package/dist/collection/components/row/row.css +0 -16
- package/dist/collection/components/row/row.js +2 -9
- package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
- package/dist/collection/components/searchbar/searchbar.js +43 -164
- package/dist/collection/components/searchbar/searchbar.md.css +21 -60
- package/dist/collection/components/segment/segment.ios.css +2 -45
- package/dist/collection/components/segment/segment.js +8 -11
- package/dist/collection/components/segment/segment.md.css +2 -45
- package/dist/collection/components/segment-button/segment-button.ios.css +105 -146
- package/dist/collection/components/segment-button/segment-button.js +8 -11
- package/dist/collection/components/segment-button/segment-button.md.css +107 -148
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +0 -6
- package/dist/collection/components/segment-view/segment-view.js +4 -13
- package/dist/collection/components/segment-view/segment-view.md.css +0 -6
- package/dist/collection/components/select/select.ios.css +148 -304
- package/dist/collection/components/select/select.js +82 -232
- package/dist/collection/components/select/select.md.css +150 -320
- package/dist/collection/components/select-modal/select-modal.ios.css +45 -293
- package/dist/collection/components/select-modal/select-modal.js +15 -63
- package/dist/collection/components/select-modal/select-modal.md.css +43 -273
- package/dist/collection/components/select-option/select-option.js +4 -8
- package/dist/collection/components/select-popover/select-popover.ios.css +124 -188
- package/dist/collection/components/select-popover/select-popover.js +9 -17
- package/dist/collection/components/select-popover/select-popover.md.css +47 -228
- package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
- package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +13 -82
- package/dist/collection/components/spinner/spinner.js +6 -47
- package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
- package/dist/collection/components/split-pane/split-pane.js +8 -15
- package/dist/collection/components/split-pane/split-pane.md.css +2 -20
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -86
- package/dist/collection/components/tab-bar/tab-bar.js +15 -178
- package/dist/collection/components/tab-bar/tab-bar.md.css +43 -86
- package/dist/collection/components/tab-button/tab-button.ios.css +95 -171
- package/dist/collection/components/tab-button/tab-button.js +9 -54
- package/dist/collection/components/tab-button/tab-button.md.css +96 -141
- package/dist/collection/components/tabs/tabs.css +1 -7
- package/dist/collection/components/tabs/tabs.js +1 -4
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +6 -7
- package/dist/collection/components/textarea/textarea.ios.css +177 -326
- package/dist/collection/components/textarea/textarea.js +43 -205
- package/dist/collection/components/textarea/textarea.md.css +182 -347
- package/dist/collection/components/thumbnail/thumbnail.css +0 -6
- package/dist/collection/components/thumbnail/thumbnail.js +2 -9
- package/dist/collection/components/title/title.ios.css +7 -36
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +4 -39
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +45 -84
- package/dist/collection/components/toast/toast.js +13 -79
- package/dist/collection/components/toast/toast.md.css +45 -84
- package/dist/collection/components/toggle/toggle.ios.css +138 -250
- package/dist/collection/components/toggle/toggle.js +64 -58
- package/dist/collection/components/toggle/toggle.md.css +127 -247
- package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
- package/dist/collection/components/toolbar/toolbar.js +14 -271
- package/dist/collection/components/toolbar/toolbar.md.css +47 -90
- package/dist/collection/global/ionic-global.js +13 -239
- package/dist/collection/utils/focus-trap.js +4 -15
- package/dist/collection/utils/focus-visible.js +2 -73
- package/dist/collection/utils/forms/click-controller.js +9 -95
- package/dist/collection/utils/forms/index.js +0 -1
- package/dist/collection/utils/forms/validity.js +0 -31
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/hardware-back-button.js +0 -15
- package/dist/collection/utils/helpers.js +3 -84
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
- package/dist/collection/utils/media.js +0 -1
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +1 -2
- package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
- package/dist/collection/utils/native/haptic.js +6 -2
- package/dist/collection/utils/overlay-control-label.js +11 -13
- package/dist/collection/utils/overlays.js +10 -295
- package/dist/collection/utils/test/playwright/drag-element.js +9 -32
- package/dist/collection/utils/test/playwright/generator.js +23 -48
- package/dist/collection/utils/test/playwright/index.js +0 -1
- package/dist/collection/utils/test/playwright/page/utils/goto.js +1 -10
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +3 -26
- package/dist/collection/utils/theme.js +1 -25
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +476 -9161
- package/dist/esm/{animation-Cev2GhGs.js → animation-BYD6qYqw.js} +2 -2
- package/dist/esm/{app-globals-BocmgK6F.js → app-globals-CYnbK2w5.js} +1 -1
- package/dist/esm/{attribute-controller-418FdXxR.js → attribute-controller-CsxlVqNe.js} +1 -2
- package/dist/esm/{button-active-BhjMt-gU.js → button-active-D7r17H04.js} +2 -2
- package/dist/esm/{capacitor-CFERIeaU.js → capacitor-BtVqr-0a.js} +1 -1
- package/dist/esm/focus-visible-BmVRXR1y.js +75 -0
- package/dist/esm/{format-t9SOC1s5.js → format-CTfjCjd7.js} +14 -5
- package/dist/esm/{framework-delegate-DOV97IRE.js → framework-delegate-_-r5Mbs1.js} +2 -4
- package/dist/esm/{haptic-Cq4UAeka.js → haptic-DvTZAyxh.js} +7 -3
- package/dist/esm/{helpers-Bhcp6jft.js → helpers-BGy986qP.js} +8 -86
- package/dist/esm/{index-Dr_h9K1q.js → index-BUron7QJ.js} +2 -2
- package/dist/esm/{index-BkJpfpXI.js → index-BvabGprD.js} +1 -2
- package/dist/esm/{index-CSvgU7bD.js → index-D22yGpGL.js} +4 -4
- package/dist/esm/{index-M3ncuMMO.js → index-DINFvBJj.js} +2 -4
- package/dist/esm/{index-DU_8Y0hH.js → index-QObOymXw.js} +1 -1
- package/dist/esm/{index-Bas44FS4.js → index-uFStprb5.js} +5 -55
- package/dist/esm/{index-BxqNQDQb.js → index-yy1nOLQ-.js} +10 -12
- package/dist/esm/index.js +12 -14
- package/dist/esm/{input-shims-Q8eQDhGy.js → input-shims-DxCUOpoX.js} +5 -7
- package/dist/esm/{input.utils-Ca-6biEE.js → input.utils-BIAhIO4-.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +29 -57
- package/dist/esm/ion-action-sheet.entry.js +23 -28
- package/dist/esm/ion-alert.entry.js +30 -35
- package/dist/esm/ion-app_8.entry.js +194 -519
- package/dist/esm/ion-avatar_3.entry.js +13 -124
- package/dist/esm/ion-back-button.entry.js +24 -32
- package/dist/esm/ion-backdrop.entry.js +7 -11
- package/dist/esm/ion-breadcrumb_2.entry.js +20 -43
- package/dist/esm/ion-button_2.entry.js +23 -61
- package/dist/esm/ion-card_5.entry.js +34 -57
- package/dist/esm/ion-checkbox.entry.js +17 -43
- package/dist/esm/ion-chip.entry.js +9 -51
- package/dist/esm/ion-col_3.entry.js +63 -56
- package/dist/esm/ion-datetime-button.entry.js +13 -45
- package/dist/esm/ion-datetime.entry.js +76 -466
- package/dist/esm/ion-fab_3.entry.js +36 -41
- package/dist/esm/ion-img.entry.js +4 -9
- package/dist/esm/ion-infinite-scroll_2.entry.js +16 -91
- package/dist/esm/ion-input-otp.entry.js +137 -78
- package/dist/esm/ion-input-password-toggle.entry.js +14 -42
- package/dist/esm/ion-input.entry.js +39 -147
- package/dist/esm/ion-item-option_3.entry.js +54 -467
- package/dist/esm/ion-item_8.entry.js +59 -126
- package/dist/esm/ion-loading.entry.js +18 -23
- package/dist/esm/ion-menu_3.entry.js +28 -46
- package/dist/esm/ion-modal.entry.js +91 -247
- package/dist/esm/ion-nav_2.entry.js +10 -14
- package/dist/esm/ion-picker-column-option.entry.js +8 -13
- package/dist/esm/ion-picker-column.entry.js +12 -14
- package/dist/esm/ion-picker.entry.js +6 -11
- package/dist/esm/ion-popover.entry.js +19 -24
- package/dist/esm/ion-progress-bar.entry.js +9 -28
- package/dist/esm/ion-radio_2.entry.js +18 -37
- package/dist/esm/ion-range.entry.js +43 -79
- package/dist/esm/ion-refresher_2.entry.js +21 -46
- package/dist/esm/ion-reorder_2.entry.js +13 -31
- package/dist/esm/ion-ripple-effect.entry.js +7 -16
- package/dist/esm/ion-route_4.entry.js +132 -29
- package/dist/esm/ion-searchbar.entry.js +33 -118
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -13
- package/dist/esm/ion-segment_2.entry.js +17 -25
- package/dist/esm/ion-select-modal.entry.js +24 -53
- package/dist/esm/ion-select_3.entry.js +77 -199
- package/dist/esm/ion-spinner.entry.js +8 -31
- package/dist/esm/ion-split-pane.entry.js +9 -14
- package/dist/esm/ion-tab-bar_2.entry.js +27 -150
- package/dist/esm/ion-tab_2.entry.js +7 -9
- package/dist/esm/ion-text.entry.js +7 -8
- package/dist/esm/ion-textarea.entry.js +41 -178
- package/dist/esm/ion-toast.entry.js +19 -48
- package/dist/esm/ion-toggle.entry.js +33 -67
- package/dist/esm/ionic-global-BUMBTNBh.js +151 -0
- package/dist/esm/ionic.js +5 -6
- package/dist/esm/{ios.transition-MTIekCSs.js → ios.transition-BpwDTdvj.js} +4 -7
- package/dist/esm/{item-multiple-inputs-BrSomT3h.js → item-multiple-inputs-0UgndTBq.js} +1 -1
- package/dist/esm/{keyboard-DAF8GNJ9.js → keyboard-7B2XoG-w.js} +1 -1
- package/dist/esm/{keyboard-Cj8mLJeq.js → keyboard-BYoxr1oW.js} +5 -3
- package/dist/esm/keyboard-controller-YSWkCPGy.js +165 -0
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{md.transition-CYPyM3Wr.js → md.transition-8JQ5A2YB.js} +4 -6
- package/dist/esm/{overlay-control-label-CODBQrPj.js → overlay-control-label-BSQPZ79H.js} +11 -13
- package/dist/esm/{overlay-focus-boundary-DrYovbKL.js → overlay-focus-boundary-CWQiIajC.js} +2 -2
- package/dist/esm/{overlays-D4jQ_MJ6.js → overlays-CzadOuIw.js} +164 -313
- package/dist/esm/{page-restore-9RlWwejf.js → page-restore-CNWCTzxd.js} +2 -40
- package/dist/esm/{select-option-render-szX_tjoT.js → select-option-render-DHHau8BW.js} +2 -2
- package/dist/esm/{slot-mutation-controller-Du2BZesv.js → slot-mutation-controller-DNxd1bl7.js} +10 -97
- package/dist/esm/{status-tap-CxG8iM45.js → status-tap-BiQx78ee.js} +3 -5
- package/dist/esm/{swipe-back-CyMa6zSX.js → swipe-back-CZd7IfGd.js} +2 -4
- package/dist/esm/{theme-BUF_V-Kg.js → theme-byZM6qHV.js} +1 -25
- package/dist/esm/validity-DJztqcrH.js +17 -0
- package/dist/html.html-data.json +174 -2655
- 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-0dc3a342.entry.js +4 -0
- package/dist/ionic/p-0e303197.entry.js +4 -0
- package/dist/ionic/p-10ed267f.entry.js +4 -0
- package/dist/ionic/p-1303cb74.entry.js +4 -0
- package/dist/ionic/p-156cd0c6.entry.js +4 -0
- package/dist/ionic/p-29b5c451.entry.js +4 -0
- package/dist/ionic/p-34d42e5b.entry.js +4 -0
- package/dist/ionic/p-38b60d46.entry.js +4 -0
- package/dist/ionic/p-39109311.entry.js +4 -0
- package/dist/ionic/p-3a779c33.entry.js +4 -0
- package/dist/ionic/p-49353ba3.entry.js +4 -0
- package/dist/ionic/p-502b3b55.entry.js +4 -0
- package/dist/ionic/p-5803bfe6.entry.js +4 -0
- package/dist/ionic/p-59440b91.entry.js +4 -0
- package/dist/ionic/p-63be88eb.entry.js +4 -0
- package/dist/ionic/p-6f22ad0f.entry.js +4 -0
- package/dist/ionic/p-6f40f52a.entry.js +4 -0
- package/dist/ionic/p-725ca555.entry.js +4 -0
- package/dist/ionic/p-74d4dcce.entry.js +4 -0
- package/dist/ionic/p-769a690b.entry.js +4 -0
- package/dist/ionic/p-79f4588a.entry.js +4 -0
- package/dist/ionic/p-7b0aef50.entry.js +4 -0
- package/dist/ionic/p-7c2e9d9f.entry.js +4 -0
- package/dist/ionic/p-81f1c2ae.entry.js +4 -0
- package/dist/ionic/p-89be9431.entry.js +4 -0
- package/dist/ionic/p-92af8eef.entry.js +4 -0
- package/dist/ionic/p-9321f62f.entry.js +4 -0
- package/dist/ionic/p-952409d3.entry.js +4 -0
- package/dist/ionic/p-98c3f769.entry.js +4 -0
- package/dist/ionic/p-B1rKXB2s.js +4 -0
- package/dist/ionic/{p-BMPN55of.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-BHPNO6ja.js +4 -0
- package/dist/ionic/p-BRzjwFMi.js +4 -0
- package/dist/ionic/p-BSQPZ79H.js +4 -0
- package/dist/ionic/p-BZf0THeN.js +4 -0
- package/dist/ionic/p-B_Md9dSU.js +4 -0
- package/dist/ionic/{p-BYTjG6HG.js → p-Behw7xh8.js} +1 -1
- package/dist/ionic/p-BmVRXR1y.js +4 -0
- package/dist/ionic/{p-BSenjX6U.js → p-Bp47w0ZS.js} +1 -1
- package/dist/ionic/p-Bs8mucSo.js +4 -0
- package/dist/ionic/p-BvabGprD.js +4 -0
- package/dist/ionic/p-BxHLmLX1.js +4 -0
- package/dist/ionic/p-CGfIEco6.js +4 -0
- package/dist/ionic/p-CJQh8p4r.js +4 -0
- package/dist/ionic/p-D981kEuI.js +4 -0
- package/dist/ionic/{p-XZiK70aS.js → p-DBO7n-Av.js} +1 -1
- package/dist/ionic/p-DJztqcrH.js +4 -0
- 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-f2BL1rLD.js → dist/ionic/p-DT_rHZi6.js} +1 -1
- package/dist/ionic/{p-BQhyhNHy.js → 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-DtzLTqLT.js +4 -0
- package/dist/ionic/p-Dy5ODIkp.js +4 -0
- package/dist/ionic/p-TucAhQ7c.js +4 -0
- package/dist/ionic/p-YsbDGprQ.js +4 -0
- package/dist/ionic/p-b2693dfd.entry.js +4 -0
- package/dist/ionic/p-b33969da.entry.js +4 -0
- package/dist/ionic/p-b5d7df34.entry.js +4 -0
- package/dist/ionic/p-b64e6810.entry.js +4 -0
- package/dist/ionic/p-b7aa58d1.entry.js +4 -0
- package/dist/ionic/p-bd6286d3.entry.js +4 -0
- package/dist/ionic/p-byZM6qHV.js +4 -0
- package/dist/ionic/p-c19b22e4.entry.js +4 -0
- package/dist/ionic/p-c1c958b6.entry.js +4 -0
- package/dist/ionic/p-c328ccd2.entry.js +4 -0
- package/dist/ionic/p-c391fa2d.entry.js +4 -0
- package/dist/ionic/p-c82b9058.entry.js +4 -0
- package/dist/ionic/p-c8a48b15.entry.js +4 -0
- package/dist/ionic/p-cbe648c7.entry.js +4 -0
- package/dist/ionic/p-d30489e6.entry.js +4 -0
- package/dist/ionic/p-e5324976.entry.js +4 -0
- package/dist/ionic/p-ea467e6b.entry.js +4 -0
- package/dist/ionic/p-ecc36a41.entry.js +4 -0
- package/dist/ionic/p-f2500ead.entry.js +4 -0
- package/dist/ionic/p-f437b1c1.entry.js +4 -0
- package/dist/ionic/p-f693211b.entry.js +4 -0
- package/dist/ionic/p-fa800994.entry.js +4 -0
- package/dist/ionic/{p-ac4b2212.entry.js → p-fe2072b9.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/accordion/accordion.d.ts +3 -12
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -12
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
- package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
- package/dist/types/components/alert/alert-interface.d.ts +7 -3
- package/dist/types/components/alert/alert.d.ts +2 -3
- package/dist/types/components/app/app.d.ts +5 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -32
- package/dist/types/components/back-button/back-button.d.ts +3 -10
- package/dist/types/components/backdrop/backdrop.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +1 -34
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -14
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +8 -23
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -8
- package/dist/types/components/card-content/card-content.d.ts +1 -2
- package/dist/types/components/card-header/card-header.d.ts +2 -3
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
- package/dist/types/components/card-title/card-title.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +5 -26
- package/dist/types/components/chip/chip.d.ts +1 -26
- package/dist/types/components/col/col.d.ts +6 -52
- package/dist/types/components/content/content.d.ts +0 -3
- package/dist/types/components/datetime/datetime-interface.d.ts +0 -4
- package/dist/types/components/datetime/datetime.d.ts +7 -98
- package/dist/types/components/datetime/utils/data.d.ts +5 -5
- package/dist/types/components/datetime/utils/state.d.ts +2 -5
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +9 -11
- package/dist/types/components/fab-list/fab-list.d.ts +0 -4
- package/dist/types/components/footer/footer.d.ts +3 -20
- package/dist/types/components/grid/grid.d.ts +0 -4
- package/dist/types/components/header/header.d.ts +3 -26
- package/dist/types/components/header/header.utils.d.ts +5 -4
- package/dist/types/components/img/img.d.ts +0 -2
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -21
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
- package/dist/types/components/input/input.d.ts +5 -45
- package/dist/types/components/input-otp/input-otp-interface.d.ts +1 -0
- package/dist/types/components/input-otp/input-otp.d.ts +38 -37
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -14
- package/dist/types/components/item/item.d.ts +4 -17
- package/dist/types/components/item-divider/item-divider.d.ts +1 -2
- package/dist/types/components/item-group/item-group.d.ts +0 -4
- package/dist/types/components/item-option/item-option.d.ts +1 -18
- package/dist/types/components/item-options/item-options.d.ts +0 -4
- package/dist/types/components/item-sliding/item-sliding.d.ts +1 -47
- package/dist/types/components/item-sliding/test/test.utils.d.ts +0 -13
- package/dist/types/components/label/label.d.ts +1 -2
- package/dist/types/components/list/list.d.ts +1 -15
- package/dist/types/components/list-header/list-header.d.ts +1 -2
- package/dist/types/components/loading/loading-interface.d.ts +7 -2
- package/dist/types/components/loading/loading.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +0 -3
- package/dist/types/components/menu-button/menu-button.d.ts +1 -8
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +7 -4
- package/dist/types/components/modal/modal.d.ts +1 -11
- package/dist/types/components/modal/safe-area-utils.d.ts +1 -2
- package/dist/types/components/nav/nav-interface.d.ts +1 -9
- package/dist/types/components/nav/nav.d.ts +1 -5
- package/dist/types/components/nav-link/nav-link.d.ts +0 -4
- package/dist/types/components/note/note.d.ts +1 -2
- package/dist/types/components/picker/picker.d.ts +1 -2
- package/dist/types/components/picker-column/picker-column.d.ts +1 -2
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
- package/dist/types/components/popover/popover-interface.d.ts +6 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -10
- package/dist/types/components/radio/radio.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -12
- package/dist/types/components/range/range-interface.d.ts +30 -2
- package/dist/types/components/range/range.d.ts +6 -14
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -10
- package/dist/types/components/reorder/reorder.d.ts +0 -9
- package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
- package/dist/types/components/route/route.d.ts +8 -4
- package/dist/types/components/route-redirect/route-redirect.d.ts +3 -1
- package/dist/types/components/router/router.d.ts +0 -4
- package/dist/types/components/router/utils/constants.d.ts +2 -0
- package/dist/types/components/router/utils/matching.d.ts +10 -0
- package/dist/types/components/router/utils/path.d.ts +5 -1
- package/dist/types/components/router-link/router-link.d.ts +0 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
- package/dist/types/components/row/row.d.ts +0 -4
- package/dist/types/components/searchbar/searchbar.d.ts +10 -56
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +15 -59
- package/dist/types/components/select-modal/select-modal.d.ts +0 -13
- package/dist/types/components/select-option/select-option.d.ts +4 -7
- package/dist/types/components/select-popover/select-popover.d.ts +0 -3
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
- package/dist/types/components/spinner/spinner.d.ts +0 -15
- package/dist/types/components/split-pane/split-pane.d.ts +0 -4
- package/dist/types/components/tab/tab.d.ts +0 -4
- package/dist/types/components/tab-bar/tab-bar-interface.d.ts +0 -1
- package/dist/types/components/tab-bar/tab-bar.d.ts +3 -41
- package/dist/types/components/tab-button/tab-button.d.ts +1 -12
- package/dist/types/components/tabs/tabs.d.ts +0 -3
- package/dist/types/components/text/text.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +17 -75
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
- package/dist/types/components/title/title.d.ts +0 -4
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +7 -3
- package/dist/types/components/toast/toast.d.ts +2 -19
- package/dist/types/components/toggle/toggle.d.ts +17 -19
- package/dist/types/components/toolbar/toolbar.d.ts +3 -65
- package/dist/types/components.d.ts +273 -1879
- package/dist/types/global/ionic-global.d.ts +2 -28
- package/dist/types/interface.d.ts +8 -4
- package/dist/types/utils/config.d.ts +20 -128
- package/dist/types/utils/focus-trap.d.ts +1 -1
- package/dist/types/utils/focus-visible.d.ts +0 -33
- package/dist/types/utils/forms/click-controller.d.ts +5 -16
- package/dist/types/utils/forms/index.d.ts +0 -1
- package/dist/types/utils/forms/validity.d.ts +0 -7
- package/dist/types/utils/helpers.d.ts +0 -29
- package/dist/types/utils/native/haptic.d.ts +2 -2
- package/dist/types/utils/overlay-control-label.d.ts +9 -11
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/overlays.d.ts +1 -1
- package/dist/types/utils/test/playwright/drag-element.d.ts +3 -16
- package/dist/types/utils/test/playwright/generator.d.ts +2 -31
- package/dist/types/utils/test/playwright/index.d.ts +0 -1
- package/dist/types/utils/theme.d.ts +0 -9
- package/hydrate/index.js +1613 -6073
- package/hydrate/index.mjs +1613 -6073
- package/package.json +4 -7
- package/components/ion-divider.d.ts +0 -11
- package/components/ion-divider.js +0 -4
- package/components/ion-gallery-item.d.ts +0 -11
- package/components/ion-gallery-item.js +0 -4
- package/components/ion-gallery.d.ts +0 -11
- package/components/ion-gallery.js +0 -4
- package/components/p-0rXxxCTt.js +0 -4
- package/components/p-2sLD_xu6.js +0 -4
- package/components/p-9SIQ7h0a.js +0 -4
- package/components/p-B5xGjUrw.js +0 -4
- package/components/p-BIe4HWHT.js +0 -4
- package/components/p-BPVr2bEi.js +0 -4
- package/components/p-BRLifC9t.js +0 -4
- package/components/p-BUF_V-Kg.js +0 -4
- package/components/p-BX622giM.js +0 -4
- package/components/p-BXM-paQi.js +0 -4
- package/components/p-BYk20Mf5.js +0 -4
- package/components/p-Ba0pOoA8.js +0 -4
- package/components/p-BrfOWAVf.js +0 -4
- package/components/p-BsCaQNrX.js +0 -4
- package/components/p-BzAhIYXH.js +0 -4
- package/components/p-CDyvJnTO.js +0 -4
- package/components/p-CEW4RXZO.js +0 -4
- package/components/p-CJawym4B.js +0 -4
- package/components/p-CODBQrPj.js +0 -4
- package/components/p-CZtEtGGD.js +0 -4
- package/components/p-CdHuHArh.js +0 -4
- package/components/p-CgQ7_O5k.js +0 -4
- package/components/p-Cq-9cyXX.js +0 -4
- package/components/p-D1m8Yjhz.js +0 -4
- package/components/p-DAWK42bz.js +0 -4
- package/components/p-DCRjYLov.js +0 -4
- package/components/p-DDKsXI3n.js +0 -4
- package/components/p-DFHZOMhQ.js +0 -4
- package/components/p-DIyhmuo-.js +0 -4
- package/components/p-DL3uscQR.js +0 -4
- package/components/p-DNAlvIsW.js +0 -4
- package/components/p-DO17TLK9.js +0 -4
- package/components/p-DSEHMF7Y.js +0 -4
- package/components/p-DSxRYE_f.js +0 -4
- package/components/p-DVoIsLVC.js +0 -4
- package/components/p-DXn1957M.js +0 -4
- package/components/p-DZaKOMM7.js +0 -4
- package/components/p-DgL3phdm.js +0 -4
- package/components/p-Dq9hq9j2.js +0 -4
- package/components/p-EPCb6-n7.js +0 -4
- package/components/p-H6H02QKs.js +0 -4
- package/components/p-JGQZIl_3.js +0 -4
- package/components/p-K0l20Iqs.js +0 -4
- package/components/p-NcQUGze-.js +0 -4
- package/components/p-V4Qnwbju.js +0 -4
- package/components/p-YAbVl27R.js +0 -4
- package/components/p-lm02RhiY.js +0 -4
- package/components/p-mNz8l7Bc.js +0 -4
- package/components/p-vLIxxolw.js +0 -4
- package/css/ionic/bundle.ionic.css +0 -1
- package/css/ionic/bundle.ionic.css.map +0 -1
- package/css/ionic/core.ionic.css +0 -1
- package/css/ionic/core.ionic.css.map +0 -1
- package/css/ionic/global.bundle.ionic.css +0 -1
- package/css/ionic/global.bundle.ionic.css.map +0 -1
- package/css/ionic/ionic-swiper.ionic.css +0 -1
- package/css/ionic/ionic-swiper.ionic.css.map +0 -1
- package/css/ionic/link.ionic.css +0 -1
- package/css/ionic/link.ionic.css.map +0 -1
- package/css/ionic/structure.ionic.css +0 -1
- package/css/ionic/structure.ionic.css.map +0 -1
- package/css/ionic/typography.ionic.css +0 -1
- package/css/ionic/typography.ionic.css.map +0 -1
- package/css/ionic/utils.bundle.ionic.css +0 -1
- package/css/ionic/utils.bundle.ionic.css.map +0 -1
- package/dist/cjs/focus-visible-DGPRKkcx.js +0 -151
- package/dist/cjs/index-DkNv4J_i.js +0 -10
- package/dist/cjs/ion-divider.cjs.entry.js +0 -53
- package/dist/cjs/ion-gallery-item.cjs.entry.js +0 -60
- package/dist/cjs/ion-gallery.cjs.entry.js +0 -609
- package/dist/cjs/ionic-global-BsjzbnZk.js +0 -551
- package/dist/cjs/scroll-hide-controller-GvReYiKK.js +0 -345
- package/dist/cjs/validity-CoPMWggj.js +0 -51
- package/dist/collection/components/accordion/accordion.ionic.css +0 -186
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +0 -93
- package/dist/collection/components/action-sheet/action-sheet.ionic.css +0 -490
- package/dist/collection/components/alert/alert.ionic.css +0 -779
- package/dist/collection/components/avatar/avatar.ionic.css +0 -379
- package/dist/collection/components/backdrop/backdrop.ionic.css +0 -109
- package/dist/collection/components/badge/badge.ionic.css +0 -269
- package/dist/collection/components/button/button.ionic.css +0 -640
- package/dist/collection/components/buttons/buttons.ionic.css +0 -97
- package/dist/collection/components/card/card.ionic.css +0 -145
- package/dist/collection/components/card-content/card-content.ionic.css +0 -88
- package/dist/collection/components/card-header/card-header.ionic.css +0 -85
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -143
- package/dist/collection/components/checkbox/checkbox.ionic.css +0 -537
- package/dist/collection/components/chip/chip.ionic.css +0 -216
- package/dist/collection/components/content/content.ionic.css +0 -352
- package/dist/collection/components/content/content.md.css +0 -347
- package/dist/collection/components/datetime/datetime.ionic.css +0 -878
- package/dist/collection/components/divider/divider.ionic.css +0 -148
- package/dist/collection/components/divider/divider.ios.css +0 -87
- package/dist/collection/components/divider/divider.js +0 -94
- package/dist/collection/components/divider/divider.md.css +0 -87
- package/dist/collection/components/footer/footer-interface.js +0 -1
- package/dist/collection/components/gallery/gallery-constants.js +0 -12
- package/dist/collection/components/gallery/gallery-interface.js +0 -1
- package/dist/collection/components/gallery/gallery.css +0 -15
- package/dist/collection/components/gallery/gallery.js +0 -678
- package/dist/collection/components/gallery/test/utils.js +0 -100
- package/dist/collection/components/gallery-item/gallery-item.css +0 -49
- package/dist/collection/components/gallery-item/gallery-item.js +0 -98
- package/dist/collection/components/header/header-interface.js +0 -1
- package/dist/collection/components/header/header.ionic.css +0 -286
- package/dist/collection/components/input/input.ionic.css +0 -963
- package/dist/collection/components/input-otp/input-otp.ionic.css +0 -369
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -78
- package/dist/collection/components/input-password-toggle/input-password-toggle.native.css +0 -61
- package/dist/collection/components/item/item.ionic.css +0 -531
- package/dist/collection/components/item-option/item-option.ionic.css +0 -276
- package/dist/collection/components/item-options/item-options.ionic.css +0 -224
- package/dist/collection/components/item-sliding/item-sliding.ionic.css +0 -214
- package/dist/collection/components/item-sliding/item-sliding.native.css +0 -198
- package/dist/collection/components/list/list.ionic.css +0 -212
- package/dist/collection/components/list-header/list-header.ionic.css +0 -190
- package/dist/collection/components/menu-button/menu-button.ionic.css +0 -236
- package/dist/collection/components/modal/animations/ionic.enter.js +0 -40
- package/dist/collection/components/modal/animations/ionic.leave.js +0 -28
- package/dist/collection/components/modal/modal.ionic.css +0 -274
- package/dist/collection/components/popover/popover.ionic.css +0 -301
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +0 -287
- package/dist/collection/components/radio/radio.ionic.css +0 -423
- package/dist/collection/components/radio-group/radio-group.ionic.css +0 -119
- package/dist/collection/components/range/range.ionic.css +0 -570
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -215
- package/dist/collection/components/searchbar/searchbar.ionic.css +0 -621
- package/dist/collection/components/segment-button/segment-button.ionic.css +0 -351
- package/dist/collection/components/select/select.ionic.css +0 -976
- package/dist/collection/components/select-modal/select-modal.ionic.css +0 -254
- package/dist/collection/components/select-popover/select-popover.ionic.css +0 -253
- package/dist/collection/components/spinner/spinner.native.css +0 -200
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -249
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -372
- package/dist/collection/components/textarea/textarea.ionic.css +0 -990
- package/dist/collection/components/title/title.ionic.css +0 -125
- package/dist/collection/components/toast/toast.ionic.css +0 -391
- package/dist/collection/components/toggle/toggle.ionic.css +0 -510
- package/dist/collection/components/toolbar/test/image.svg +0 -1
- package/dist/collection/components/toolbar/toolbar.ionic.css +0 -249
- package/dist/collection/utils/css-value-validation.js +0 -39
- package/dist/collection/utils/forms/clear-button-press-controller.js +0 -40
- package/dist/collection/utils/scroll-hide-controller.js +0 -178
- package/dist/collection/utils/test/playwright/field-geometry.js +0 -34
- package/dist/esm/focus-visible-BYk20Mf5.js +0 -146
- package/dist/esm/index-ZjP4CjeZ.js +0 -7
- package/dist/esm/ion-divider.entry.js +0 -51
- package/dist/esm/ion-gallery-item.entry.js +0 -58
- package/dist/esm/ion-gallery.entry.js +0 -607
- package/dist/esm/ionic-global-BYy_ionO.js +0 -540
- package/dist/esm/scroll-hide-controller-Db79zIPS.js +0 -342
- package/dist/esm/validity-NcQUGze-.js +0 -48
- package/dist/ionic/p-0a3b23f0.entry.js +0 -4
- package/dist/ionic/p-0c87430e.entry.js +0 -4
- package/dist/ionic/p-0eadd747.entry.js +0 -4
- package/dist/ionic/p-108c617e.entry.js +0 -4
- package/dist/ionic/p-1336380f.entry.js +0 -4
- package/dist/ionic/p-16d7a09e.entry.js +0 -4
- package/dist/ionic/p-1847d994.entry.js +0 -4
- package/dist/ionic/p-1b542120.entry.js +0 -4
- package/dist/ionic/p-1d8fc165.entry.js +0 -4
- package/dist/ionic/p-20e49521.entry.js +0 -4
- package/dist/ionic/p-2c232526.entry.js +0 -4
- package/dist/ionic/p-38580367.entry.js +0 -4
- package/dist/ionic/p-3b6a9e1f.entry.js +0 -4
- package/dist/ionic/p-3fbcf247.entry.js +0 -4
- package/dist/ionic/p-4c0d2ea4.entry.js +0 -4
- package/dist/ionic/p-4f1773eb.entry.js +0 -4
- package/dist/ionic/p-527fa477.entry.js +0 -4
- package/dist/ionic/p-544ba9be.entry.js +0 -4
- package/dist/ionic/p-5a5408f6.entry.js +0 -4
- package/dist/ionic/p-5pKYh0QR.js +0 -4
- package/dist/ionic/p-61d17ff8.entry.js +0 -4
- package/dist/ionic/p-636b14fb.entry.js +0 -4
- package/dist/ionic/p-6806aefe.entry.js +0 -4
- package/dist/ionic/p-68650478.entry.js +0 -4
- package/dist/ionic/p-6874fc1e.entry.js +0 -4
- package/dist/ionic/p-70f777b3.entry.js +0 -4
- package/dist/ionic/p-71a9c711.entry.js +0 -4
- package/dist/ionic/p-747d4da3.entry.js +0 -4
- package/dist/ionic/p-78ee18fb.entry.js +0 -4
- package/dist/ionic/p-86103379.entry.js +0 -4
- package/dist/ionic/p-9276359b.entry.js +0 -4
- package/dist/ionic/p-9984d163.entry.js +0 -4
- package/dist/ionic/p-9b71b044.entry.js +0 -4
- package/dist/ionic/p-9d765c69.entry.js +0 -4
- package/dist/ionic/p-9ohDxdgz.js +0 -4
- package/dist/ionic/p-BSkpb2fc.js +0 -4
- package/dist/ionic/p-BUF_V-Kg.js +0 -4
- package/dist/ionic/p-BYk20Mf5.js +0 -4
- package/dist/ionic/p-Bas44FS4.js +0 -6
- package/dist/ionic/p-BawJ4_R2.js +0 -4
- package/dist/ionic/p-BiYkrpCo.js +0 -4
- package/dist/ionic/p-BjBJlURk.js +0 -4
- package/dist/ionic/p-BkJpfpXI.js +0 -4
- package/dist/ionic/p-CAdpShMB.js +0 -4
- package/dist/ionic/p-CFV2lqKP.js +0 -4
- package/dist/ionic/p-CIGNaXM1.js +0 -4
- package/dist/ionic/p-CODBQrPj.js +0 -4
- package/dist/ionic/p-CWRBQbEt.js +0 -4
- package/dist/ionic/p-C_Z39n1a.js +0 -4
- package/dist/ionic/p-D4o1HBsS.js +0 -4
- package/dist/ionic/p-D5t_-oMk.js +0 -4
- package/dist/ionic/p-D7kZMPgY.js +0 -4
- package/dist/ionic/p-DLK90YxR.js +0 -4
- package/dist/ionic/p-DOFFsd_b.js +0 -4
- package/dist/ionic/p-Dbpdrswb.js +0 -4
- package/dist/ionic/p-DrOc_uDR.js +0 -4
- package/dist/ionic/p-NcQUGze-.js +0 -4
- package/dist/ionic/p-T71k3C35.js +0 -4
- package/dist/ionic/p-ZjP4CjeZ.js +0 -4
- package/dist/ionic/p-a21edb48.entry.js +0 -4
- package/dist/ionic/p-a8aaf7e8.entry.js +0 -4
- package/dist/ionic/p-afa43e97.entry.js +0 -4
- package/dist/ionic/p-b2e17a18.entry.js +0 -4
- package/dist/ionic/p-b7d0d844.entry.js +0 -4
- package/dist/ionic/p-b98e482e.entry.js +0 -4
- package/dist/ionic/p-bD2UA_Oq.js +0 -4
- package/dist/ionic/p-bfE6ImVy.js +0 -4
- package/dist/ionic/p-cc724d97.entry.js +0 -4
- package/dist/ionic/p-d59d0a72.entry.js +0 -4
- package/dist/ionic/p-d61c5038.entry.js +0 -4
- package/dist/ionic/p-d7d87adb.entry.js +0 -4
- package/dist/ionic/p-dd40211d.entry.js +0 -4
- package/dist/ionic/p-dde3fe0f.entry.js +0 -4
- package/dist/ionic/p-de6ccf04.entry.js +0 -4
- package/dist/ionic/p-df337118.entry.js +0 -4
- package/dist/ionic/p-e3d754ae.entry.js +0 -4
- package/dist/ionic/p-e6a6a075.entry.js +0 -4
- package/dist/ionic/p-e7f841d7.entry.js +0 -4
- package/dist/ionic/p-eSGmNpTU.js +0 -4
- package/dist/ionic/p-ee15d08d.entry.js +0 -4
- package/dist/ionic/p-f41ef4cc.entry.js +0 -4
- package/dist/ionic/p-f6bd7ca3.entry.js +0 -4
- package/dist/ionic/p-fd3ccd0d.entry.js +0 -4
- package/dist/ionic/p-rmK71y9P.js +0 -4
- package/dist/ionic/p-sQjitIqc.js +0 -4
- package/dist/types/components/divider/divider.d.ts +0 -20
- package/dist/types/components/footer/footer-interface.d.ts +0 -1
- package/dist/types/components/gallery/gallery-constants.d.ts +0 -9
- package/dist/types/components/gallery/gallery-interface.d.ts +0 -10
- package/dist/types/components/gallery/gallery.d.ts +0 -218
- package/dist/types/components/gallery/test/utils.d.ts +0 -3
- package/dist/types/components/gallery-item/gallery-item.d.ts +0 -33
- package/dist/types/components/header/header-interface.d.ts +0 -1
- package/dist/types/components/modal/animations/ionic.enter.d.ts +0 -6
- package/dist/types/components/modal/animations/ionic.leave.d.ts +0 -6
- package/dist/types/utils/css-value-validation.d.ts +0 -21
- package/dist/types/utils/forms/clear-button-press-controller.d.ts +0 -20
- package/dist/types/utils/scroll-hide-controller.d.ts +0 -56
- package/dist/types/utils/test/playwright/field-geometry.d.ts +0 -13
- /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
|
@@ -3,23 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var
|
|
8
|
-
var ionicGlobal = require('./ionic-global-
|
|
9
|
-
var helpers = require('./helpers-
|
|
10
|
-
var overlays = require('./overlays-DMW90-Kg.js');
|
|
6
|
+
var index = require('./index-vpLyKa3B.js');
|
|
7
|
+
var hardwareBackButton = require('./overlays-CQn_A50_.js');
|
|
8
|
+
var ionicGlobal = require('./ionic-global-QTK6g1fO.js');
|
|
9
|
+
var helpers = require('./helpers-DNBm7IvL.js');
|
|
11
10
|
var dir = require('./dir-Bma_9Lqh.js');
|
|
12
|
-
var theme = require('./theme-
|
|
13
|
-
var index$1 = require('./index-
|
|
14
|
-
var
|
|
11
|
+
var theme = require('./theme-Bw0rpaNN.js');
|
|
12
|
+
var index$1 = require('./index-BjukzfRx.js');
|
|
13
|
+
var keyboardController = require('./keyboard-controller-DdjUnixl.js');
|
|
15
14
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
16
|
-
var frameworkDelegate = require('./framework-delegate-
|
|
15
|
+
var frameworkDelegate = require('./framework-delegate-DaCOvv4f.js');
|
|
17
16
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
18
|
-
var index$2 = require('./index-
|
|
19
|
-
require('./index-DkNv4J_i.js');
|
|
17
|
+
var index$2 = require('./index-B-9fVZ1n.js');
|
|
20
18
|
require('./gesture-controller-CeJslptU.js');
|
|
21
|
-
require('./keyboard-
|
|
22
|
-
require('./capacitor-
|
|
19
|
+
require('./keyboard-m0YvDiQo.js');
|
|
20
|
+
require('./capacitor-C3jqMZUp.js');
|
|
23
21
|
|
|
24
22
|
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}`;
|
|
25
23
|
|
|
@@ -28,6 +26,51 @@ const App = class {
|
|
|
28
26
|
if (new.target === App)
|
|
29
27
|
index.registerInstance(this, hostRef);
|
|
30
28
|
}
|
|
29
|
+
componentDidLoad() {
|
|
30
|
+
{
|
|
31
|
+
this.rIC(async () => {
|
|
32
|
+
const isHybrid = ionicGlobal.isPlatform(window, 'hybrid');
|
|
33
|
+
if (!index.config.getBoolean('_testing')) {
|
|
34
|
+
Promise.resolve().then(function () { return require('./index-B9cvjLlx.js'); }).then((module) => module.startTapClick(index.config));
|
|
35
|
+
}
|
|
36
|
+
if (index.config.getBoolean('statusTap', isHybrid)) {
|
|
37
|
+
Promise.resolve().then(function () { return require('./status-tap-kGuqyCj0.js'); }).then((module) => module.startStatusTap());
|
|
38
|
+
}
|
|
39
|
+
if (index.config.getBoolean('inputShims', needInputShims())) {
|
|
40
|
+
/**
|
|
41
|
+
* needInputShims() ensures that only iOS and Android
|
|
42
|
+
* platforms proceed into this block.
|
|
43
|
+
*/
|
|
44
|
+
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
45
|
+
Promise.resolve().then(function () { return require('./input-shims-C55ajY7V.js'); }).then((module) => module.startInputShims(index.config, platform));
|
|
46
|
+
}
|
|
47
|
+
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./overlays-CQn_A50_.js'); }).then(function (n) { return n.hardwareBackButton; });
|
|
48
|
+
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shouldUseCloseWatcher();
|
|
49
|
+
if (index.config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
50
|
+
hardwareBackButtonModule.startHardwareBackButton();
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
/**
|
|
54
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
55
|
+
* then the close watcher will not be used.
|
|
56
|
+
*/
|
|
57
|
+
if (hardwareBackButton.shouldUseCloseWatcher()) {
|
|
58
|
+
index.printIonWarning('[ion-app] - experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.');
|
|
59
|
+
}
|
|
60
|
+
hardwareBackButtonModule.blockHardwareBackButton();
|
|
61
|
+
}
|
|
62
|
+
if (typeof window !== 'undefined') {
|
|
63
|
+
Promise.resolve().then(function () { return require('./keyboard-D09lu9Ui.js'); }).then((module) => module.startKeyboardAssist(window));
|
|
64
|
+
}
|
|
65
|
+
Promise.resolve().then(function () { return require('./focus-visible-CCvKiLh3.js'); }).then((module) => (this.focusVisible = module.startFocusVisible()));
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
disconnectedCallback() {
|
|
70
|
+
if (this.loadTimeout) {
|
|
71
|
+
clearTimeout(this.loadTimeout);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
31
74
|
/**
|
|
32
75
|
* Used to set focus on an element that uses `ion-focusable`.
|
|
33
76
|
* Do not use this if focusing the element as a result of a keyboard
|
|
@@ -40,29 +83,52 @@ const App = class {
|
|
|
40
83
|
* @param elements An array of HTML elements to set focus on.
|
|
41
84
|
*/
|
|
42
85
|
async setFocus(elements) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
86
|
+
if (this.focusVisible) {
|
|
87
|
+
this.focusVisible.setFocus(elements);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
rIC(callback) {
|
|
91
|
+
if ('requestIdleCallback' in window) {
|
|
92
|
+
window.requestIdleCallback(callback);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
this.loadTimeout = setTimeout(callback, 32);
|
|
96
|
+
}
|
|
48
97
|
}
|
|
49
98
|
render() {
|
|
50
|
-
const
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
52
|
-
[
|
|
99
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
100
|
+
return (index.h(index.Host, { key: '77a7459d3e42b3715a5a7e1cf468e2ebc99e54bb', class: {
|
|
101
|
+
[mode]: true,
|
|
53
102
|
'ion-page': true,
|
|
54
103
|
'force-statusbar-padding': index.config.getBoolean('_forceStatusbarPadding'),
|
|
55
104
|
} }));
|
|
56
105
|
}
|
|
57
106
|
get el() { return index.getElement(this); }
|
|
58
107
|
};
|
|
108
|
+
const needInputShims = () => {
|
|
109
|
+
/**
|
|
110
|
+
* iOS always needs input shims
|
|
111
|
+
*/
|
|
112
|
+
const needsShimsIOS = ionicGlobal.isPlatform(window, 'ios') && ionicGlobal.isPlatform(window, 'mobile');
|
|
113
|
+
if (needsShimsIOS) {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Android only needs input shims when running
|
|
118
|
+
* in the browser and only if the browser is using the
|
|
119
|
+
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
120
|
+
*/
|
|
121
|
+
const isAndroidMobileWeb = ionicGlobal.isPlatform(window, 'android') && ionicGlobal.isPlatform(window, 'mobileweb');
|
|
122
|
+
if (isAndroidMobileWeb) {
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
return false;
|
|
126
|
+
};
|
|
59
127
|
App.style = appCss();
|
|
60
128
|
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
const buttonsIosCss = () => `.sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-h{z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:0.12;--background-activated:#000;--background-activated-opacity:0.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:0.12;--background-activated:#000;--background-activated-opacity:0.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}`;
|
|
129
|
+
const buttonsIosCss = () => `.sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}`;
|
|
64
130
|
|
|
65
|
-
const buttonsMdCss = () => `.sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0)
|
|
131
|
+
const buttonsMdCss = () => `.sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}`;
|
|
66
132
|
|
|
67
133
|
const Buttons = class {
|
|
68
134
|
constructor(hostRef) {
|
|
@@ -75,7 +141,7 @@ const Buttons = class {
|
|
|
75
141
|
* first toolbar, the buttons will be hidden and will
|
|
76
142
|
* only be shown once all toolbars have fully collapsed.
|
|
77
143
|
*
|
|
78
|
-
* Only applies in
|
|
144
|
+
* Only applies in `ios` mode with `collapse` set to
|
|
79
145
|
* `true` on `ion-header`.
|
|
80
146
|
*
|
|
81
147
|
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
@@ -83,24 +149,19 @@ const Buttons = class {
|
|
|
83
149
|
this.collapse = false;
|
|
84
150
|
}
|
|
85
151
|
render() {
|
|
86
|
-
const
|
|
87
|
-
return (index.h(index.Host, { key: '
|
|
88
|
-
[
|
|
152
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
153
|
+
return (index.h(index.Host, { key: '58c1fc5eb867d0731c63549b1ccb3ec3bbbe6e1b', class: {
|
|
154
|
+
[mode]: true,
|
|
89
155
|
['buttons-collapse']: this.collapse,
|
|
90
|
-
} }, index.h("slot", { key: '
|
|
156
|
+
} }, index.h("slot", { key: '0c8f95b9840c8fa0c4e50be84c5159620a3eb5c8' })));
|
|
91
157
|
}
|
|
92
158
|
};
|
|
93
159
|
Buttons.style = {
|
|
94
|
-
ionic: buttonsIonicCss(),
|
|
95
160
|
ios: buttonsIosCss(),
|
|
96
161
|
md: buttonsMdCss()
|
|
97
162
|
};
|
|
98
163
|
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
const contentIosCss = () => `:host{--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}:host(.content-header-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll{-webkit-transition:height 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:height 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), height 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), height 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1)}:host(.content-header-hide-scroll-partner:not(.content-fullscreen).content-header-hide-scroll-hidden) .inner-scroll{height:calc(100% + var(--internal-header-hide-height, 0px));-webkit-transform:translateY(calc(-1 * var(--internal-header-hide-height, 0px)));transform:translateY(calc(-1 * var(--internal-header-hide-height, 0px)));-webkit-transition:height 200ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:height 200ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), height 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), height 200ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1)}:host(.content-footer-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll{-webkit-transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1)}:host(.content-footer-hide-scroll-partner:not(.content-fullscreen).content-footer-hide-scroll-hidden) .inner-scroll{height:calc(100% + var(--internal-footer-hide-height, 0px));-webkit-transition:height 350ms cubic-bezier(0.4, 0, 1, 1);transition:height 350ms cubic-bezier(0.4, 0, 1, 1)}:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll{-webkit-transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1)}:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen).content-tab-bar-hide-scroll-hidden) .inner-scroll{height:calc(100% + var(--internal-tab-bar-hide-height, 0px));-webkit-transition:height 350ms cubic-bezier(0.4, 0, 1, 1);transition:height 350ms cubic-bezier(0.4, 0, 1, 1)}@media (prefers-reduced-motion: reduce){:host(.content-header-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll,:host(.content-header-hide-scroll-partner:not(.content-fullscreen).content-header-hide-scroll-hidden) .inner-scroll,:host(.content-footer-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll,:host(.content-footer-hide-scroll-partner:not(.content-fullscreen).content-footer-hide-scroll-hidden) .inner-scroll,:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll,:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen).content-tab-bar-hide-scroll-hidden) .inner-scroll{-webkit-transition:none;transition:none}}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000)}`;
|
|
102
|
-
|
|
103
|
-
const contentMdCss = () => `:host{--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}:host(.content-header-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll{-webkit-transition:height 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:height 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), height 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), height 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1)}:host(.content-header-hide-scroll-partner:not(.content-fullscreen).content-header-hide-scroll-hidden) .inner-scroll{height:calc(100% + var(--internal-header-hide-height, 0px));-webkit-transform:translateY(calc(-1 * var(--internal-header-hide-height, 0px)));transform:translateY(calc(-1 * var(--internal-header-hide-height, 0px)));-webkit-transition:height 200ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:height 200ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), height 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), height 200ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1)}:host(.content-footer-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll{-webkit-transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1)}:host(.content-footer-hide-scroll-partner:not(.content-fullscreen).content-footer-hide-scroll-hidden) .inner-scroll{height:calc(100% + var(--internal-footer-hide-height, 0px));-webkit-transition:height 350ms cubic-bezier(0.4, 0, 1, 1);transition:height 350ms cubic-bezier(0.4, 0, 1, 1)}:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll{-webkit-transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:height 200ms cubic-bezier(0.16, 1, 0.3, 1)}:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen).content-tab-bar-hide-scroll-hidden) .inner-scroll{height:calc(100% + var(--internal-tab-bar-hide-height, 0px));-webkit-transition:height 350ms cubic-bezier(0.4, 0, 1, 1);transition:height 350ms cubic-bezier(0.4, 0, 1, 1)}@media (prefers-reduced-motion: reduce){:host(.content-header-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll,:host(.content-header-hide-scroll-partner:not(.content-fullscreen).content-header-hide-scroll-hidden) .inner-scroll,:host(.content-footer-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll,:host(.content-footer-hide-scroll-partner:not(.content-fullscreen).content-footer-hide-scroll-hidden) .inner-scroll,:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen)) .inner-scroll,:host(.content-tab-bar-hide-scroll-partner:not(.content-fullscreen).content-tab-bar-hide-scroll-hidden) .inner-scroll{-webkit-transition:none;transition:none}}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000)}`;
|
|
164
|
+
const contentCss = () => `:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}`;
|
|
104
165
|
|
|
105
166
|
const Content = class {
|
|
106
167
|
constructor(hostRef) {
|
|
@@ -325,8 +386,9 @@ const Content = class {
|
|
|
325
386
|
this.resize();
|
|
326
387
|
}, 100);
|
|
327
388
|
}
|
|
328
|
-
shouldForceOverscroll(
|
|
389
|
+
shouldForceOverscroll() {
|
|
329
390
|
const { forceOverscroll } = this;
|
|
391
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
330
392
|
return forceOverscroll === undefined ? mode === 'ios' && ionicGlobal.isPlatform('ios') : forceOverscroll;
|
|
331
393
|
}
|
|
332
394
|
/**
|
|
@@ -351,7 +413,7 @@ const Content = class {
|
|
|
351
413
|
return false;
|
|
352
414
|
}
|
|
353
415
|
const height = getComputedStyle(modal).getPropertyValue('--height');
|
|
354
|
-
return
|
|
416
|
+
return hardwareBackButton.getOverlaySizeType(height) === 'content';
|
|
355
417
|
}
|
|
356
418
|
resize() {
|
|
357
419
|
/**
|
|
@@ -554,13 +616,12 @@ const Content = class {
|
|
|
554
616
|
render() {
|
|
555
617
|
const { fixedSlotPlacement, inheritedAttributes, isMainContent, scrollX, scrollY, el } = this;
|
|
556
618
|
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
557
|
-
const
|
|
558
|
-
const
|
|
559
|
-
const
|
|
560
|
-
const transitionShadow = theme$1 === 'ios';
|
|
619
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
620
|
+
const forceOverscroll = this.shouldForceOverscroll();
|
|
621
|
+
const transitionShadow = mode === 'ios';
|
|
561
622
|
this.resize();
|
|
562
|
-
return (index.h(index.Host, { key: '
|
|
563
|
-
[
|
|
623
|
+
return (index.h(index.Host, { key: 'e1013621096729354ef92915af52dd823e69fdff', role: isMainContent ? 'main' : undefined, class: theme.createColorClasses(this.color, {
|
|
624
|
+
[mode]: true,
|
|
564
625
|
'content-fullscreen': this.fullscreen,
|
|
565
626
|
'content-sizing': this.sizeToContent,
|
|
566
627
|
overscroll: forceOverscroll,
|
|
@@ -568,12 +629,12 @@ const Content = class {
|
|
|
568
629
|
}), style: {
|
|
569
630
|
'--offset-top': `${this.cTop}px`,
|
|
570
631
|
'--offset-bottom': `${this.cBottom}px`,
|
|
571
|
-
}, ...inheritedAttributes }, index.h("div", { key: '
|
|
632
|
+
}, ...inheritedAttributes }, index.h("div", { key: '3d8649b164d6324beaa1bc50e1d204ad06c2ec1a', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? index.h("slot", { name: "fixed" }) : null, index.h("div", { key: 'dd2d3bed8690b4f5027a43f5ec60e7e7df18106d', class: {
|
|
572
633
|
'inner-scroll': true,
|
|
573
634
|
'scroll-x': scrollX,
|
|
574
635
|
'scroll-y': scrollY,
|
|
575
636
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
576
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, index.h("slot", { key: '
|
|
637
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, index.h("slot", { key: 'dc3d4584d9e9afd43699525a619b8e873078fbbf' })), transitionShadow ? (index.h("div", { class: "transition-effect" }, index.h("div", { class: "transition-cover" }), index.h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? index.h("slot", { name: "fixed" }) : null));
|
|
577
638
|
}
|
|
578
639
|
get el() { return index.getElement(this); }
|
|
579
640
|
static get watchers() { return {
|
|
@@ -603,8 +664,7 @@ const getPageElement = (el) => {
|
|
|
603
664
|
* between the popover and the edges of the screen. But if the popover contains
|
|
604
665
|
* its own page element, we should use that instead.
|
|
605
666
|
*/
|
|
606
|
-
const
|
|
607
|
-
const page = el.closest(`${appRootSelector}, ion-page, .ion-page, page-inner, .popover-content`);
|
|
667
|
+
const page = el.closest('ion-app, ion-page, .ion-page, page-inner, .popover-content');
|
|
608
668
|
if (page) {
|
|
609
669
|
return page;
|
|
610
670
|
}
|
|
@@ -637,11 +697,7 @@ const updateScrollDetail = (detail, el, timestamp, shouldStart) => {
|
|
|
637
697
|
detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;
|
|
638
698
|
}
|
|
639
699
|
};
|
|
640
|
-
Content.style =
|
|
641
|
-
ionic: contentIonicCss(),
|
|
642
|
-
ios: contentIosCss(),
|
|
643
|
-
md: contentMdCss()
|
|
644
|
-
};
|
|
700
|
+
Content.style = contentCss();
|
|
645
701
|
|
|
646
702
|
const handleFooterFade = (scrollEl, baseEl) => {
|
|
647
703
|
index.readTask(() => {
|
|
@@ -678,11 +734,9 @@ const handleFooterFade = (scrollEl, baseEl) => {
|
|
|
678
734
|
});
|
|
679
735
|
};
|
|
680
736
|
|
|
681
|
-
const
|
|
737
|
+
const footerIosCss = () => `ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}`;
|
|
682
738
|
|
|
683
|
-
const
|
|
684
|
-
|
|
685
|
-
const footerMdCss = () => `ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}ion-footer.footer-scroll-effect-hide{-webkit-transition:-webkit-transform 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:-webkit-transform 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:transform 200ms cubic-bezier(0.16, 1, 0.3, 1);transition:transform 200ms cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 200ms cubic-bezier(0.16, 1, 0.3, 1)}ion-footer.footer-scroll-effect-hide.footer-scroll-hidden{-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform 350ms cubic-bezier(0.4, 0, 1, 1);transition:-webkit-transform 350ms cubic-bezier(0.4, 0, 1, 1);transition:transform 350ms cubic-bezier(0.4, 0, 1, 1);transition:transform 350ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 350ms cubic-bezier(0.4, 0, 1, 1)}@media (prefers-reduced-motion: reduce){ion-footer.footer-scroll-effect-hide,ion-footer.footer-scroll-effect-hide.footer-scroll-hidden{-webkit-transition:none;transition:none}}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.footer-collapse-fade{-webkit-box-shadow:none;box-shadow:none}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}`;
|
|
739
|
+
const footerMdCss = () => `ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}`;
|
|
686
740
|
|
|
687
741
|
const Footer = class {
|
|
688
742
|
constructor(hostRef) {
|
|
@@ -690,79 +744,36 @@ const Footer = class {
|
|
|
690
744
|
index.registerInstance(this, hostRef);
|
|
691
745
|
this.keyboardCtrl = null;
|
|
692
746
|
this.keyboardCtrlPromise = null;
|
|
693
|
-
this.scrollHideCtrlPromise = null;
|
|
694
|
-
this.hasWarnedCollapse = false;
|
|
695
|
-
this.fadeSetupId = 0;
|
|
696
747
|
this.keyboardVisible = false;
|
|
697
748
|
/**
|
|
698
749
|
* If `true`, the footer will be translucent.
|
|
699
|
-
* Only applies when the
|
|
750
|
+
* Only applies when the mode is `"ios"` and the device supports
|
|
700
751
|
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
701
752
|
*
|
|
702
753
|
* Note: In order to scroll content behind the footer, the `fullscreen`
|
|
703
754
|
* attribute needs to be set on the content.
|
|
704
755
|
*/
|
|
705
756
|
this.translucent = false;
|
|
706
|
-
this.checkCollapsibleFooter =
|
|
707
|
-
const
|
|
708
|
-
if (
|
|
709
|
-
this.hasWarnedCollapse = true;
|
|
710
|
-
index.printIonWarning(`[ion-footer] - The \`collapse\` property is deprecated. Use \`scrollEffect\` instead.\nExample: <ion-footer scroll-effect="${collapse}">`, this.el);
|
|
711
|
-
}
|
|
712
|
-
const effect = scrollEffect ?? collapse;
|
|
713
|
-
// Skip teardown/rebuild if the effect hasn't changed.
|
|
714
|
-
// This prevents keyboard toggles (which trigger re-renders via
|
|
715
|
-
// @State keyboardVisible) from destroying the scroll controller
|
|
716
|
-
// and resetting isHidden.
|
|
717
|
-
if (effect === this.activeEffect) {
|
|
757
|
+
this.checkCollapsibleFooter = () => {
|
|
758
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
759
|
+
if (mode !== 'ios') {
|
|
718
760
|
return;
|
|
719
761
|
}
|
|
720
|
-
const
|
|
721
|
-
const hasFade =
|
|
762
|
+
const { collapse } = this;
|
|
763
|
+
const hasFade = collapse === 'fade';
|
|
722
764
|
this.destroyCollapsibleFooter();
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
if (hasHide && contentEl) {
|
|
727
|
-
this.activeEffect = effect;
|
|
728
|
-
await this.setupScrollEffectHide(contentEl);
|
|
729
|
-
return;
|
|
730
|
-
}
|
|
731
|
-
// fade via the deprecated `collapse` prop is iOS-only.
|
|
732
|
-
// fade via the new `scrollEffect` prop works in all themes.
|
|
733
|
-
const isModeRestricted = scrollEffect === undefined && ionicGlobal.getIonTheme(this) !== 'ios';
|
|
734
|
-
if (hasFade && !isModeRestricted) {
|
|
765
|
+
if (hasFade) {
|
|
766
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
767
|
+
const contentEl = pageEl ? index$1.findIonContent(pageEl) : null;
|
|
735
768
|
if (!contentEl) {
|
|
736
769
|
index$1.printIonContentErrorMsg(this.el);
|
|
737
770
|
return;
|
|
738
771
|
}
|
|
739
772
|
this.setupFadeFooter(contentEl);
|
|
740
|
-
this.activeEffect = effect;
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
this.setupScrollEffectHide = async (contentEl) => {
|
|
744
|
-
const setupPromise = scrollHideController.createScrollHideController(contentEl, {
|
|
745
|
-
el: this.el,
|
|
746
|
-
cssVar: '--internal-footer-hide-height',
|
|
747
|
-
hiddenClass: 'footer-scroll-hidden',
|
|
748
|
-
contentPartnerClass: 'content-footer-hide-scroll-partner',
|
|
749
|
-
contentHiddenClass: 'content-footer-hide-scroll-hidden',
|
|
750
|
-
});
|
|
751
|
-
this.scrollHideCtrlPromise = setupPromise;
|
|
752
|
-
const controller = await setupPromise;
|
|
753
|
-
if (this.scrollHideCtrlPromise === setupPromise) {
|
|
754
|
-
this.scrollHideCtrlPromise = null;
|
|
755
|
-
controller.init();
|
|
756
|
-
this.scrollHideCtrl = controller;
|
|
757
773
|
}
|
|
758
774
|
};
|
|
759
775
|
this.setupFadeFooter = async (contentEl) => {
|
|
760
|
-
const
|
|
761
|
-
const scrollEl = await index$1.getScrollElement(contentEl);
|
|
762
|
-
if (this.fadeSetupId !== setupId) {
|
|
763
|
-
return;
|
|
764
|
-
}
|
|
765
|
-
this.scrollEl = scrollEl;
|
|
776
|
+
const scrollEl = (this.scrollEl = await index$1.getScrollElement(contentEl));
|
|
766
777
|
/**
|
|
767
778
|
* Handle fading of toolbars on scroll
|
|
768
779
|
*/
|
|
@@ -780,7 +791,7 @@ const Footer = class {
|
|
|
780
791
|
this.checkCollapsibleFooter();
|
|
781
792
|
}
|
|
782
793
|
async connectedCallback() {
|
|
783
|
-
const promise =
|
|
794
|
+
const promise = keyboardController.createKeyboardController(async (keyboardOpen, waitForResize) => {
|
|
784
795
|
/**
|
|
785
796
|
* If the keyboard is hiding, then we need to wait
|
|
786
797
|
* for the webview to resize. Otherwise, the footer
|
|
@@ -807,7 +818,6 @@ const Footer = class {
|
|
|
807
818
|
}
|
|
808
819
|
}
|
|
809
820
|
disconnectedCallback() {
|
|
810
|
-
this.destroyCollapsibleFooter();
|
|
811
821
|
if (this.keyboardCtrlPromise) {
|
|
812
822
|
this.keyboardCtrlPromise.then((ctrl) => ctrl.destroy());
|
|
813
823
|
this.keyboardCtrlPromise = null;
|
|
@@ -818,43 +828,29 @@ const Footer = class {
|
|
|
818
828
|
}
|
|
819
829
|
}
|
|
820
830
|
destroyCollapsibleFooter() {
|
|
821
|
-
this.activeEffect = undefined;
|
|
822
|
-
this.fadeSetupId++;
|
|
823
|
-
this.scrollHideCtrlPromise = null;
|
|
824
|
-
if (this.scrollHideCtrl) {
|
|
825
|
-
this.scrollHideCtrl.destroy();
|
|
826
|
-
this.scrollHideCtrl = undefined;
|
|
827
|
-
}
|
|
828
831
|
if (this.scrollEl && this.contentScrollCallback) {
|
|
829
832
|
this.scrollEl.removeEventListener('scroll', this.contentScrollCallback);
|
|
830
833
|
this.contentScrollCallback = undefined;
|
|
831
834
|
}
|
|
832
835
|
}
|
|
833
836
|
render() {
|
|
834
|
-
const { translucent,
|
|
835
|
-
const
|
|
836
|
-
const effect = scrollEffect ?? collapse;
|
|
837
|
-
// fade via the deprecated `collapse` prop is iOS-only.
|
|
838
|
-
const isModeRestricted = scrollEffect === undefined && theme !== 'ios';
|
|
839
|
-
const hasHide = effect === 'hide';
|
|
840
|
-
const hasFade = effect === 'fade' && !isModeRestricted;
|
|
837
|
+
const { translucent, collapse } = this;
|
|
838
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
841
839
|
const tabs = this.el.closest('ion-tabs');
|
|
842
840
|
const tabBar = tabs?.querySelector(':scope > ion-tab-bar');
|
|
843
|
-
return (index.h(index.Host, { key: '
|
|
844
|
-
[
|
|
841
|
+
return (index.h(index.Host, { key: '71939c4bbaef5062532a99ee2e33574102a9abad', role: "contentinfo", class: {
|
|
842
|
+
[mode]: true,
|
|
845
843
|
// Used internally for styling
|
|
846
|
-
[`footer-${
|
|
844
|
+
[`footer-${mode}`]: true,
|
|
847
845
|
[`footer-translucent`]: translucent,
|
|
848
|
-
[`footer-translucent-${
|
|
846
|
+
[`footer-translucent-${mode}`]: translucent,
|
|
849
847
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
} }, theme === 'ios' && translucent && index.h("div", { key: 'd78b46870cbf11c95b066d649c04ec398b66e614', class: "footer-background" }), index.h("slot", { key: '9dc34787cd29597fe1b1198db317602014ac1483' })));
|
|
848
|
+
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
849
|
+
} }, mode === 'ios' && translucent && index.h("div", { key: '2fa14f61661c47c661cecd696176728d6eafa74f', class: "footer-background" }), index.h("slot", { key: '8e63696e7c528d5c38201e546bf08135290d0945' })));
|
|
853
850
|
}
|
|
854
851
|
get el() { return index.getElement(this); }
|
|
855
852
|
};
|
|
856
853
|
Footer.style = {
|
|
857
|
-
ionic: ionicFooterMdCss(),
|
|
858
854
|
ios: footerIosCss(),
|
|
859
855
|
md: footerMdCss()
|
|
860
856
|
};
|
|
@@ -912,7 +908,7 @@ const setToolbarBackgroundOpacity = (headerEl, opacity) => {
|
|
|
912
908
|
* has collapsed, so it is handled
|
|
913
909
|
* by handleHeaderFade()
|
|
914
910
|
*/
|
|
915
|
-
if (
|
|
911
|
+
if (headerEl.collapse === 'fade') {
|
|
916
912
|
return;
|
|
917
913
|
}
|
|
918
914
|
if (opacity === undefined) {
|
|
@@ -1070,70 +1066,47 @@ const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
|
|
|
1070
1066
|
* Get the role type for the ion-header.
|
|
1071
1067
|
*
|
|
1072
1068
|
* @param isInsideMenu If ion-header is inside ion-menu.
|
|
1073
|
-
* @
|
|
1074
|
-
*
|
|
1075
|
-
*
|
|
1069
|
+
* @param isCondensed If ion-header has collapse="condense".
|
|
1070
|
+
* @param mode The current mode.
|
|
1071
|
+
* @returns 'none' if inside ion-menu or if condensed in md
|
|
1072
|
+
* mode, otherwise 'banner'.
|
|
1076
1073
|
*/
|
|
1077
|
-
const getRoleType = (isInsideMenu) => {
|
|
1074
|
+
const getRoleType = (isInsideMenu, isCondensed, mode) => {
|
|
1078
1075
|
// If the header is inside a menu, it should not have the banner role.
|
|
1079
1076
|
if (isInsideMenu) {
|
|
1080
1077
|
return ROLE_NONE;
|
|
1081
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Only apply role="none" to `md` mode condensed headers
|
|
1081
|
+
* since the large header is never shown.
|
|
1082
|
+
*/
|
|
1083
|
+
if (isCondensed && mode === 'md') {
|
|
1084
|
+
return ROLE_NONE;
|
|
1085
|
+
}
|
|
1082
1086
|
// Default to banner role.
|
|
1083
1087
|
return ROLE_BANNER;
|
|
1084
1088
|
};
|
|
1085
1089
|
|
|
1086
|
-
const
|
|
1090
|
+
const headerIosCss = () => `ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}`;
|
|
1087
1091
|
|
|
1088
|
-
const
|
|
1089
|
-
|
|
1090
|
-
const headerMdCss = () => `ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header.header-collapse-condense){opacity:0}.header-collapse-condense-hidden{display:none}ion-header.header-scroll-effect-hide{-webkit-transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1);transition:transform 300ms cubic-bezier(0, 0, 0.2, 1), opacity 300ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 300ms cubic-bezier(0, 0, 0.2, 1)}ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1);transition:transform 200ms cubic-bezier(0.4, 0, 1, 1), opacity 300ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 1, 1);opacity:0}@media (prefers-reduced-motion: reduce){ion-header.header-scroll-effect-hide,ion-header.header-scroll-effect-hide.header-scroll-hidden{-webkit-transition:none;transition:none}}ion-header{z-index:10}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-md.header-collapse-condense{-webkit-box-shadow:none;box-shadow:none}.header-md.header-collapse-condense-inactive:not(.header-collapse-condense){-webkit-box-shadow:none;box-shadow:none}.header-md.header-collapse-fade{-webkit-box-shadow:none;box-shadow:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}`;
|
|
1092
|
+
const headerMdCss = () => `ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-md.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}`;
|
|
1091
1093
|
|
|
1092
1094
|
const Header = class {
|
|
1093
1095
|
constructor(hostRef) {
|
|
1094
1096
|
if (new.target === Header)
|
|
1095
1097
|
index.registerInstance(this, hostRef);
|
|
1096
1098
|
this.inheritedAttributes = {};
|
|
1097
|
-
this.scrollHideCtrlPromise = null;
|
|
1098
|
-
this.hasWarnedCollapse = false;
|
|
1099
|
-
this.fadeCondenseSetupId = 0;
|
|
1100
|
-
/**
|
|
1101
|
-
* If `true`, the header will have a line at the bottom.
|
|
1102
|
-
* TODO(ROU-10855): add support for this prop on ios/md themes
|
|
1103
|
-
*/
|
|
1104
|
-
this.divider = false;
|
|
1105
1099
|
/**
|
|
1106
1100
|
* If `true`, the header will be translucent.
|
|
1107
|
-
* Only applies when the
|
|
1101
|
+
* Only applies when the mode is `"ios"` and the device supports
|
|
1108
1102
|
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
1109
1103
|
*
|
|
1110
1104
|
* Note: In order to scroll content behind the header, the `fullscreen`
|
|
1111
1105
|
* attribute needs to be set on the content.
|
|
1112
1106
|
*/
|
|
1113
1107
|
this.translucent = false;
|
|
1114
|
-
this.setupScrollEffectHide = async (contentEl) => {
|
|
1115
|
-
const setupPromise = scrollHideController.createScrollHideController(contentEl, {
|
|
1116
|
-
el: this.el,
|
|
1117
|
-
cssVar: '--internal-header-hide-height',
|
|
1118
|
-
hiddenClass: 'header-scroll-hidden',
|
|
1119
|
-
contentPartnerClass: 'content-header-hide-scroll-partner',
|
|
1120
|
-
contentHiddenClass: 'content-header-hide-scroll-hidden',
|
|
1121
|
-
});
|
|
1122
|
-
this.scrollHideCtrlPromise = setupPromise;
|
|
1123
|
-
const controller = await setupPromise;
|
|
1124
|
-
if (this.scrollHideCtrlPromise === setupPromise) {
|
|
1125
|
-
this.scrollHideCtrlPromise = null;
|
|
1126
|
-
controller.init();
|
|
1127
|
-
this.scrollHideCtrl = controller;
|
|
1128
|
-
}
|
|
1129
|
-
};
|
|
1130
1108
|
this.setupFadeHeader = async (contentEl, condenseHeader) => {
|
|
1131
|
-
const
|
|
1132
|
-
const scrollEl = await index$1.getScrollElement(contentEl);
|
|
1133
|
-
if (this.fadeCondenseSetupId !== setupId) {
|
|
1134
|
-
return;
|
|
1135
|
-
}
|
|
1136
|
-
this.scrollEl = scrollEl;
|
|
1109
|
+
const scrollEl = (this.scrollEl = await index$1.getScrollElement(contentEl));
|
|
1137
1110
|
/**
|
|
1138
1111
|
* Handle fading of toolbars on scroll
|
|
1139
1112
|
*/
|
|
@@ -1157,63 +1130,37 @@ const Header = class {
|
|
|
1157
1130
|
this.destroyCollapsibleHeader();
|
|
1158
1131
|
}
|
|
1159
1132
|
async checkCollapsibleHeader() {
|
|
1160
|
-
const
|
|
1161
|
-
if (
|
|
1162
|
-
this.hasWarnedCollapse = true;
|
|
1163
|
-
index.printIonWarning(`[ion-header] - The \`collapse\` property is deprecated. Use \`scrollEffect\` instead.\nExample: <ion-header scroll-effect="${collapse}">`, this.el);
|
|
1164
|
-
}
|
|
1165
|
-
const effect = scrollEffect ?? collapse;
|
|
1166
|
-
// Skip teardown/rebuild if the effect hasn't changed.
|
|
1167
|
-
// This prevents re-renders from destroying the scroll controller
|
|
1168
|
-
// and resetting isHidden.
|
|
1169
|
-
if (effect === this.activeEffect) {
|
|
1133
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1134
|
+
if (mode !== 'ios') {
|
|
1170
1135
|
return;
|
|
1171
1136
|
}
|
|
1172
|
-
const
|
|
1173
|
-
const hasCondense =
|
|
1174
|
-
const hasFade =
|
|
1137
|
+
const { collapse } = this;
|
|
1138
|
+
const hasCondense = collapse === 'condense';
|
|
1139
|
+
const hasFade = collapse === 'fade';
|
|
1175
1140
|
this.destroyCollapsibleHeader();
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
if (hasHide && contentEl) {
|
|
1180
|
-
this.activeEffect = effect;
|
|
1181
|
-
await this.setupScrollEffectHide(contentEl);
|
|
1182
|
-
return;
|
|
1183
|
-
}
|
|
1184
|
-
// condense/fade via the deprecated `collapse` prop are iOS-only.
|
|
1185
|
-
// condense/fade via the new `scrollEffect` prop work in all themes.
|
|
1186
|
-
const isModeRestricted = scrollEffect === undefined && ionicGlobal.getIonTheme(this) !== 'ios';
|
|
1187
|
-
if (hasCondense && !isModeRestricted) {
|
|
1141
|
+
if (hasCondense) {
|
|
1142
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
1143
|
+
const contentEl = pageEl ? index$1.findIonContent(pageEl) : null;
|
|
1188
1144
|
// Cloned elements are always needed in iOS transition
|
|
1189
1145
|
index.writeTask(() => {
|
|
1190
1146
|
const title = cloneElement('ion-title');
|
|
1191
1147
|
title.size = 'large';
|
|
1192
1148
|
cloneElement('ion-back-button');
|
|
1193
1149
|
});
|
|
1194
|
-
|
|
1195
|
-
if (didSetup) {
|
|
1196
|
-
this.activeEffect = effect;
|
|
1197
|
-
}
|
|
1150
|
+
await this.setupCondenseHeader(contentEl, pageEl);
|
|
1198
1151
|
}
|
|
1199
|
-
else if (hasFade
|
|
1152
|
+
else if (hasFade) {
|
|
1153
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
1154
|
+
const contentEl = pageEl ? index$1.findIonContent(pageEl) : null;
|
|
1200
1155
|
if (!contentEl) {
|
|
1201
1156
|
index$1.printIonContentErrorMsg(this.el);
|
|
1202
1157
|
return;
|
|
1203
1158
|
}
|
|
1204
|
-
const condenseHeader = contentEl.querySelector('ion-header[collapse="condense"]
|
|
1205
|
-
this.activeEffect = effect;
|
|
1159
|
+
const condenseHeader = contentEl.querySelector('ion-header[collapse="condense"]');
|
|
1206
1160
|
await this.setupFadeHeader(contentEl, condenseHeader);
|
|
1207
1161
|
}
|
|
1208
1162
|
}
|
|
1209
1163
|
destroyCollapsibleHeader() {
|
|
1210
|
-
this.activeEffect = undefined;
|
|
1211
|
-
this.fadeCondenseSetupId++;
|
|
1212
|
-
this.scrollHideCtrlPromise = null;
|
|
1213
|
-
if (this.scrollHideCtrl) {
|
|
1214
|
-
this.scrollHideCtrl.destroy();
|
|
1215
|
-
this.scrollHideCtrl = undefined;
|
|
1216
|
-
}
|
|
1217
1164
|
if (this.intersectionObserver) {
|
|
1218
1165
|
this.intersectionObserver.disconnect();
|
|
1219
1166
|
this.intersectionObserver = undefined;
|
|
@@ -1230,39 +1177,21 @@ const Header = class {
|
|
|
1230
1177
|
async setupCondenseHeader(contentEl, pageEl) {
|
|
1231
1178
|
if (!contentEl || !pageEl) {
|
|
1232
1179
|
index$1.printIonContentErrorMsg(this.el);
|
|
1233
|
-
return
|
|
1180
|
+
return;
|
|
1234
1181
|
}
|
|
1235
1182
|
if (typeof IntersectionObserver === 'undefined') {
|
|
1236
|
-
return
|
|
1237
|
-
}
|
|
1238
|
-
const setupId = ++this.fadeCondenseSetupId;
|
|
1239
|
-
const scrollEl = await index$1.getScrollElement(contentEl);
|
|
1240
|
-
if (this.fadeCondenseSetupId !== setupId) {
|
|
1241
|
-
return false;
|
|
1242
|
-
}
|
|
1243
|
-
this.scrollEl = scrollEl;
|
|
1244
|
-
/**
|
|
1245
|
-
* The condense effect requires an ion-title with size="large"
|
|
1246
|
-
* in the condense header. Without it, there is nothing to
|
|
1247
|
-
* collapse into the main header toolbar.
|
|
1248
|
-
*/
|
|
1249
|
-
const hasLargeTitle = this.el.querySelector('ion-title[size="large"]') !== null;
|
|
1250
|
-
if (!hasLargeTitle) {
|
|
1251
|
-
index.printIonWarning('[ion-header] - The condense scroll effect requires an <ion-title size="large"> in the condense header.', this.el);
|
|
1252
|
-
return false;
|
|
1183
|
+
return;
|
|
1253
1184
|
}
|
|
1185
|
+
this.scrollEl = await index$1.getScrollElement(contentEl);
|
|
1254
1186
|
const headers = pageEl.querySelectorAll('ion-header');
|
|
1255
|
-
this.collapsibleMainHeader = Array.from(headers).find((header) =>
|
|
1256
|
-
const effect = header.scrollEffect ?? header.collapse;
|
|
1257
|
-
return effect !== 'condense';
|
|
1258
|
-
});
|
|
1187
|
+
this.collapsibleMainHeader = Array.from(headers).find((header) => header.collapse !== 'condense');
|
|
1259
1188
|
if (!this.collapsibleMainHeader) {
|
|
1260
|
-
return
|
|
1189
|
+
return;
|
|
1261
1190
|
}
|
|
1262
1191
|
const mainHeaderIndex = createHeaderIndex(this.collapsibleMainHeader);
|
|
1263
1192
|
const scrollHeaderIndex = createHeaderIndex(this.el);
|
|
1264
1193
|
if (!mainHeaderIndex || !scrollHeaderIndex) {
|
|
1265
|
-
return
|
|
1194
|
+
return;
|
|
1266
1195
|
}
|
|
1267
1196
|
setHeaderActive(mainHeaderIndex, false);
|
|
1268
1197
|
setToolbarBackgroundOpacity(mainHeaderIndex.el, 0);
|
|
@@ -1294,45 +1223,31 @@ const Header = class {
|
|
|
1294
1223
|
this.collapsibleMainHeader.classList.add('header-collapse-main');
|
|
1295
1224
|
}
|
|
1296
1225
|
});
|
|
1297
|
-
return true;
|
|
1298
1226
|
}
|
|
1299
1227
|
render() {
|
|
1300
|
-
const { translucent, inheritedAttributes
|
|
1301
|
-
const
|
|
1302
|
-
const
|
|
1303
|
-
|
|
1304
|
-
const isModeRestricted = scrollEffect === undefined && theme$1 !== 'ios';
|
|
1305
|
-
const hasHide = effect === 'hide';
|
|
1306
|
-
const hasCondense = effect === 'condense' && !isModeRestricted && this.el.querySelector('ion-title[size="large"]') !== null;
|
|
1307
|
-
const hasFade = effect === 'fade' && !isModeRestricted;
|
|
1308
|
-
// The condense header should be hidden when
|
|
1309
|
-
// - deprecated collapse prop is used on non-iOS (mode restricted), or
|
|
1310
|
-
// - scrollEffect="condense" is set but no ion-title[size="large"] is present
|
|
1311
|
-
const isHiddenCondense = effect === 'condense' && !hasCondense;
|
|
1228
|
+
const { translucent, inheritedAttributes } = this;
|
|
1229
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1230
|
+
const collapse = this.collapse || 'none';
|
|
1231
|
+
const isCondensed = collapse === 'condense';
|
|
1312
1232
|
// banner role must be at top level, so remove role if inside a menu
|
|
1313
|
-
const roleType =
|
|
1314
|
-
return (index.h(index.Host, { key: '
|
|
1315
|
-
[
|
|
1233
|
+
const roleType = getRoleType(theme.hostContext('ion-menu', this.el), isCondensed, mode);
|
|
1234
|
+
return (index.h(index.Host, { key: '863c4568cd7b8c0ec55109f193bbbaed68a1346e', role: roleType, class: {
|
|
1235
|
+
[mode]: true,
|
|
1316
1236
|
// Used internally for styling
|
|
1317
|
-
[`header-${
|
|
1237
|
+
[`header-${mode}`]: true,
|
|
1318
1238
|
[`header-translucent`]: this.translucent,
|
|
1319
|
-
[
|
|
1320
|
-
[
|
|
1321
|
-
|
|
1322
|
-
[`header-translucent-${theme$1}`]: this.translucent,
|
|
1323
|
-
['header-divider']: divider,
|
|
1324
|
-
'header-scroll-effect-hide': hasHide,
|
|
1325
|
-
}, ...inheritedAttributes }, theme$1 !== 'md' && translucent && (index.h("div", { key: '5179b806abb6f04ed294dc50166c4f014028a4e3', class: "header-background" }, theme$1 === 'ionic' && (index.h("div", { key: '4c9d23456672b5bd4ce55280ec6f3e6c39f162cc', class: "header-background-blur", "aria-hidden": "true" }, index.h("div", { key: '9b9da46049e24390491b2b97ab20863f6fefc079', class: "header-background-blur-layer" }), index.h("div", { key: 'fc2899267eea7fdd415cc4f394fb469188bfae50', class: "header-background-blur-layer" }), index.h("div", { key: '8a9747c21d2bd92670deeec8022a37409fd349c4', class: "header-background-blur-layer" }), index.h("div", { key: '03abc8d5e1e8554963a7f652349ab65430d14db9', class: "header-background-blur-layer" }), index.h("div", { key: '6a481b7894c44b37d8e3569784a3b6a1191fba09', class: "header-background-blur-layer" }), index.h("div", { key: '8e4cf985b7c58a836316baa47c35dbaac765f658', class: "header-background-blur-layer" }), index.h("div", { key: '4ce7402a8ea8aa8253fc2e69e614c50c22ae2c9d', class: "header-background-blur-layer" }))))), index.h("slot", { key: '1e5ae6dddd080197c7801ed58fb22b9f237b6099' })));
|
|
1239
|
+
[`header-collapse-${collapse}`]: true,
|
|
1240
|
+
[`header-translucent-${mode}`]: this.translucent,
|
|
1241
|
+
}, ...inheritedAttributes }, mode === 'ios' && translucent && index.h("div", { key: '25c3bdce328b0b35607d154c8b8374679313d881', class: "header-background" }), index.h("slot", { key: 'b44fab0a9be7920b9650da26117c783e751e1702' })));
|
|
1326
1242
|
}
|
|
1327
1243
|
get el() { return index.getElement(this); }
|
|
1328
1244
|
};
|
|
1329
1245
|
Header.style = {
|
|
1330
|
-
ionic: headerIonicCss(),
|
|
1331
1246
|
ios: headerIosCss(),
|
|
1332
1247
|
md: headerMdCss()
|
|
1333
1248
|
};
|
|
1334
1249
|
|
|
1335
|
-
const routerOutletCss = () => `:host{
|
|
1250
|
+
const routerOutletCss = () => `:host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}`;
|
|
1336
1251
|
|
|
1337
1252
|
const RouterOutlet = class {
|
|
1338
1253
|
constructor(hostRef) {
|
|
@@ -1344,7 +1259,7 @@ const RouterOutlet = class {
|
|
|
1344
1259
|
this.lockController = lockController.createLockController();
|
|
1345
1260
|
this.gestureOrAnimationInProgress = false;
|
|
1346
1261
|
/**
|
|
1347
|
-
* The mode determines
|
|
1262
|
+
* The mode determines which platform styles to use.
|
|
1348
1263
|
*/
|
|
1349
1264
|
this.mode = ionicGlobal.getIonMode(this);
|
|
1350
1265
|
/**
|
|
@@ -1373,7 +1288,7 @@ const RouterOutlet = class {
|
|
|
1373
1288
|
this.swipeHandler.onStart();
|
|
1374
1289
|
}
|
|
1375
1290
|
};
|
|
1376
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1291
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-qjHVCapG.js'); })).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => this.ani?.progressStep(step), (shouldComplete, step, dur) => {
|
|
1377
1292
|
if (this.ani) {
|
|
1378
1293
|
this.ani.onFinish(() => {
|
|
1379
1294
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -1555,7 +1470,7 @@ const RouterOutlet = class {
|
|
|
1555
1470
|
return true;
|
|
1556
1471
|
}
|
|
1557
1472
|
render() {
|
|
1558
|
-
return index.h("slot", { key: '
|
|
1473
|
+
return index.h("slot", { key: '4aba1441f005dc7f91408ccb26ac81875a948e67' });
|
|
1559
1474
|
}
|
|
1560
1475
|
get el() { return index.getElement(this); }
|
|
1561
1476
|
static get watchers() { return {
|
|
@@ -1569,11 +1484,9 @@ const RouterOutlet = class {
|
|
|
1569
1484
|
};
|
|
1570
1485
|
RouterOutlet.style = routerOutletCss();
|
|
1571
1486
|
|
|
1572
|
-
const
|
|
1573
|
-
|
|
1574
|
-
const titleIosCss = () => `:host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host(.ion-color){color:var(--ion-color-base)}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host{inset-inline-start:0}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}`;
|
|
1487
|
+
const titleIosCss = () => `:host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host{inset-inline-start:0}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}`;
|
|
1575
1488
|
|
|
1576
|
-
const titleMdCss = () => `:host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host
|
|
1489
|
+
const titleMdCss = () => `:host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}`;
|
|
1577
1490
|
|
|
1578
1491
|
const ToolbarTitle = class {
|
|
1579
1492
|
constructor(hostRef) {
|
|
@@ -1597,13 +1510,13 @@ const ToolbarTitle = class {
|
|
|
1597
1510
|
return this.size !== undefined ? this.size : 'default';
|
|
1598
1511
|
}
|
|
1599
1512
|
render() {
|
|
1600
|
-
const
|
|
1513
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1601
1514
|
const size = this.getSize();
|
|
1602
|
-
return (index.h(index.Host, { key: '
|
|
1603
|
-
[
|
|
1515
|
+
return (index.h(index.Host, { key: '6cf9ee05e06ee7d455ea6ac862b3ad1585b972d7', class: theme.createColorClasses(this.color, {
|
|
1516
|
+
[mode]: true,
|
|
1604
1517
|
[`title-${size}`]: true,
|
|
1605
1518
|
'title-rtl': dir.isRTL(this.el),
|
|
1606
|
-
}) }, index.h("div", { key: '
|
|
1519
|
+
}) }, index.h("div", { key: '82c876274616c3466c18bff2a6bf4303285146a8', class: "toolbar-title" }, index.h("slot", { key: '1006ef94f2694ff5d16f049ddaacd8e69ba4de12' }))));
|
|
1607
1520
|
}
|
|
1608
1521
|
get el() { return index.getElement(this); }
|
|
1609
1522
|
static get watchers() { return {
|
|
@@ -1613,32 +1526,19 @@ const ToolbarTitle = class {
|
|
|
1613
1526
|
}; }
|
|
1614
1527
|
};
|
|
1615
1528
|
ToolbarTitle.style = {
|
|
1616
|
-
ionic: titleIonicCss(),
|
|
1617
1529
|
ios: titleIosCss(),
|
|
1618
1530
|
md: titleMdCss()
|
|
1619
1531
|
};
|
|
1620
1532
|
|
|
1621
|
-
const
|
|
1533
|
+
const toolbarIosCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}`;
|
|
1622
1534
|
|
|
1623
|
-
const
|
|
1624
|
-
|
|
1625
|
-
const toolbarMdCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);contain:content;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{right:0;left:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));pointer-events:none}::slotted(ion-progress-bar){right:0;left:0;bottom:0;position:absolute}:host{font-family:var(--ion-font-family, inherit);z-index:10}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{z-index:10}.toolbar-background{z-index:-1}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, #c1c4cd))));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}`;
|
|
1535
|
+
const toolbarMdCss = () => `:host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, #c1c4cd))));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}`;
|
|
1626
1536
|
|
|
1627
1537
|
const Toolbar = class {
|
|
1628
1538
|
constructor(hostRef) {
|
|
1629
1539
|
if (new.target === Toolbar)
|
|
1630
1540
|
index.registerInstance(this, hostRef);
|
|
1631
1541
|
this.childrenStyles = new Map();
|
|
1632
|
-
this.slotNames = ['start', 'end', 'primary', 'secondary'];
|
|
1633
|
-
this.slotClasses = [
|
|
1634
|
-
'has-start-content',
|
|
1635
|
-
'has-end-content',
|
|
1636
|
-
'has-primary-content',
|
|
1637
|
-
'has-secondary-content',
|
|
1638
|
-
];
|
|
1639
|
-
this.showClasses = ['show-start', 'show-end', 'show-primary', 'show-secondary'];
|
|
1640
|
-
this.slotSizeVars = ['--start-end-size', '--primary-secondary-size'];
|
|
1641
|
-
this.didLoad = false;
|
|
1642
1542
|
}
|
|
1643
1543
|
componentWillLoad() {
|
|
1644
1544
|
const buttons = Array.from(this.el.querySelectorAll('ion-buttons'));
|
|
@@ -1655,223 +1555,6 @@ const Toolbar = class {
|
|
|
1655
1555
|
if (lastButtons) {
|
|
1656
1556
|
lastButtons.classList.add('buttons-last-slot');
|
|
1657
1557
|
}
|
|
1658
|
-
this.updateSlotClasses();
|
|
1659
|
-
}
|
|
1660
|
-
connectedCallback() {
|
|
1661
|
-
/**
|
|
1662
|
-
* The resize observer is stopped when the toolbar is removed from the DOM.
|
|
1663
|
-
* If the toolbar is added back (for example, when it is moved), start it again.
|
|
1664
|
-
* On the first connection the toolbar has not rendered yet, so this is left
|
|
1665
|
-
* to componentDidLoad.
|
|
1666
|
-
*/
|
|
1667
|
-
if (this.didLoad) {
|
|
1668
|
-
this.updateSlotClasses();
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
componentDidLoad() {
|
|
1672
|
-
this.didLoad = true;
|
|
1673
|
-
this.updateSlotClasses();
|
|
1674
|
-
}
|
|
1675
|
-
disconnectedCallback() {
|
|
1676
|
-
this.stopObservingSlotSizes();
|
|
1677
|
-
}
|
|
1678
|
-
titlePlacementChanged() {
|
|
1679
|
-
this.updateSlotClasses();
|
|
1680
|
-
}
|
|
1681
|
-
/**
|
|
1682
|
-
* Gets the title placement.
|
|
1683
|
-
* Returns the title placement if it is set, otherwise returns `"center"`
|
|
1684
|
-
* for `ionic` and `ios`, and `"start"` for `md`.
|
|
1685
|
-
*/
|
|
1686
|
-
getTitlePlacement() {
|
|
1687
|
-
if (this.titlePlacement !== undefined) {
|
|
1688
|
-
return this.titlePlacement;
|
|
1689
|
-
}
|
|
1690
|
-
return ionicGlobal.getIonTheme(this) === 'ionic' || ionicGlobal.getIonTheme(this) === 'ios' ? 'center' : 'start';
|
|
1691
|
-
}
|
|
1692
|
-
/**
|
|
1693
|
-
* Updates the CSS custom properties for slot widths
|
|
1694
|
-
* This ensures that slots shown by their met conditions
|
|
1695
|
-
* have a minimum width matching their required slot
|
|
1696
|
-
*
|
|
1697
|
-
* The slotted content is watched with a ResizeObserver, which runs
|
|
1698
|
-
* before paint and again whenever the content changes size, so the
|
|
1699
|
-
* title is centered on first paint and stays centered.
|
|
1700
|
-
*/
|
|
1701
|
-
updateSlotWidths() {
|
|
1702
|
-
// Stop watching the previous content before watching the current one.
|
|
1703
|
-
this.stopObservingSlotSizes();
|
|
1704
|
-
// Browsers without ResizeObserver can only measure once.
|
|
1705
|
-
if (typeof ResizeObserver === 'undefined') {
|
|
1706
|
-
this.measureAndUpdateSlots();
|
|
1707
|
-
return;
|
|
1708
|
-
}
|
|
1709
|
-
const elementsToObserve = [];
|
|
1710
|
-
this.slotNames.forEach((slot) => {
|
|
1711
|
-
if (this.el.classList.contains(`has-${slot}-content`)) {
|
|
1712
|
-
elementsToObserve.push(...this.getSlottedElements(slot));
|
|
1713
|
-
}
|
|
1714
|
-
});
|
|
1715
|
-
if (elementsToObserve.length === 0) {
|
|
1716
|
-
return;
|
|
1717
|
-
}
|
|
1718
|
-
/**
|
|
1719
|
-
* The observer also calls the callback once right after observing
|
|
1720
|
-
* an element, which takes care of the first measurement.
|
|
1721
|
-
*/
|
|
1722
|
-
const observer = new ResizeObserver(() => this.measureAndUpdateSlots());
|
|
1723
|
-
elementsToObserve.forEach((element) => observer.observe(element));
|
|
1724
|
-
this.slotResizeObserver = observer;
|
|
1725
|
-
}
|
|
1726
|
-
/**
|
|
1727
|
-
* Stops watching the slotted content for size changes.
|
|
1728
|
-
*/
|
|
1729
|
-
stopObservingSlotSizes() {
|
|
1730
|
-
if (this.slotResizeObserver) {
|
|
1731
|
-
this.slotResizeObserver.disconnect();
|
|
1732
|
-
this.slotResizeObserver = undefined;
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
/**
|
|
1736
|
-
* Returns the elements assigned to the given slot of the toolbar.
|
|
1737
|
-
*/
|
|
1738
|
-
getSlottedElements(slotName) {
|
|
1739
|
-
const slotElement = this.getSlotElement(slotName);
|
|
1740
|
-
if (!slotElement) {
|
|
1741
|
-
return [];
|
|
1742
|
-
}
|
|
1743
|
-
return slotElement.assignedElements({ flatten: true });
|
|
1744
|
-
}
|
|
1745
|
-
/**
|
|
1746
|
-
* Measure the widths of the slots and update the CSS custom properties
|
|
1747
|
-
* for the minimum width of each pair of slots based on the largest width in each pair.
|
|
1748
|
-
* Slots that measure 0 (for example, in a hidden toolbar) are skipped. The
|
|
1749
|
-
* ResizeObserver measures them again when their content changes size.
|
|
1750
|
-
*/
|
|
1751
|
-
measureAndUpdateSlots() {
|
|
1752
|
-
// Define the relationship between slots based on the conditions array
|
|
1753
|
-
// Group slots that should have the same width
|
|
1754
|
-
const slotPairs = [
|
|
1755
|
-
{ name: 'start-end', slots: ['start', 'end'] },
|
|
1756
|
-
{ name: 'primary-secondary', slots: ['primary', 'secondary'] },
|
|
1757
|
-
];
|
|
1758
|
-
/**
|
|
1759
|
-
* Once a size property is set, the slots cannot be narrower than it.
|
|
1760
|
-
* Remove the properties first so each slot is measured at the width of
|
|
1761
|
-
* its content, which lets the slots shrink when their content does.
|
|
1762
|
-
* This runs before paint, so the slots are never painted without a size.
|
|
1763
|
-
*/
|
|
1764
|
-
this.slotSizeVars.forEach((cssVar) => this.el.style.removeProperty(cssVar));
|
|
1765
|
-
// First, measure all slot widths
|
|
1766
|
-
const slotWidths = new Map();
|
|
1767
|
-
// Measure all slots with content
|
|
1768
|
-
this.slotNames.forEach((slot) => {
|
|
1769
|
-
if (this.el.classList.contains(`has-${slot}-content`)) {
|
|
1770
|
-
const slotElement = this.getSlotElement(slot);
|
|
1771
|
-
if (slotElement) {
|
|
1772
|
-
// Check if the slot contains an img or ion-img
|
|
1773
|
-
const assignedElements = slotElement.assignedElements({ flatten: true });
|
|
1774
|
-
const hasImg = assignedElements.some((el) => {
|
|
1775
|
-
if (el.tagName === 'IMG' || el.tagName === 'ION-IMG') {
|
|
1776
|
-
return true;
|
|
1777
|
-
}
|
|
1778
|
-
// Check for nested images
|
|
1779
|
-
return el.querySelector('img, ion-img') !== null;
|
|
1780
|
-
});
|
|
1781
|
-
// Temporarily allow slot to size to content by setting flex-basis
|
|
1782
|
-
// to 'auto'. This ensures that slotted images can render at their
|
|
1783
|
-
// intrinsic width for measurement.
|
|
1784
|
-
if (hasImg) {
|
|
1785
|
-
const { name } = slotPairs.find((pair) => pair.slots.includes(slot));
|
|
1786
|
-
this.el.style.setProperty(`--${name}-size`, 'auto');
|
|
1787
|
-
}
|
|
1788
|
-
const width = slotElement.offsetWidth;
|
|
1789
|
-
if (width > 0) {
|
|
1790
|
-
slotWidths.set(slot, width);
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1794
|
-
});
|
|
1795
|
-
// Then set the CSS custom properties based on the largest width in each pair
|
|
1796
|
-
slotPairs.forEach(({ name, slots }) => {
|
|
1797
|
-
// Find the maximum width among the slots in this pair
|
|
1798
|
-
let maxWidth = 0;
|
|
1799
|
-
let hasAnyContent = false;
|
|
1800
|
-
slots.forEach((slot) => {
|
|
1801
|
-
if (slotWidths.has(slot)) {
|
|
1802
|
-
hasAnyContent = true;
|
|
1803
|
-
maxWidth = Math.max(maxWidth, slotWidths.get(slot) ?? 0);
|
|
1804
|
-
}
|
|
1805
|
-
});
|
|
1806
|
-
// If at least one slot in the pair has content, set the min-width for the pair
|
|
1807
|
-
if (hasAnyContent && maxWidth > 0) {
|
|
1808
|
-
// Set a single CSS variable for the pair
|
|
1809
|
-
this.el.style.setProperty(`--${name}-size`, `${maxWidth}px`);
|
|
1810
|
-
}
|
|
1811
|
-
});
|
|
1812
|
-
}
|
|
1813
|
-
/**
|
|
1814
|
-
* Removes all slot visibility classes and slot width CSS variables.
|
|
1815
|
-
*/
|
|
1816
|
-
removeSlotClasses() {
|
|
1817
|
-
// The slot widths are no longer used, so there is nothing to watch.
|
|
1818
|
-
this.stopObservingSlotSizes();
|
|
1819
|
-
this.el.classList.remove(...this.slotClasses, ...this.showClasses);
|
|
1820
|
-
this.slotSizeVars.forEach((cssVar) => this.el.style.removeProperty(cssVar));
|
|
1821
|
-
}
|
|
1822
|
-
updateSlotClasses() {
|
|
1823
|
-
const titlePlacement = this.getTitlePlacement();
|
|
1824
|
-
if (titlePlacement !== 'center') {
|
|
1825
|
-
this.removeSlotClasses();
|
|
1826
|
-
return;
|
|
1827
|
-
}
|
|
1828
|
-
// Check if slots have content
|
|
1829
|
-
const classesToAdd = [];
|
|
1830
|
-
const classesToRemove = [];
|
|
1831
|
-
this.slotNames.forEach((slot) => {
|
|
1832
|
-
const slotHasContent = this.hasSlotContent(slot);
|
|
1833
|
-
const slotClass = `has-${slot}-content`;
|
|
1834
|
-
if (slotHasContent) {
|
|
1835
|
-
classesToAdd.push(slotClass);
|
|
1836
|
-
}
|
|
1837
|
-
else {
|
|
1838
|
-
classesToRemove.push(slotClass);
|
|
1839
|
-
}
|
|
1840
|
-
});
|
|
1841
|
-
// Force visibilities in certain conditions. This works by adding a class to the toolbar
|
|
1842
|
-
// named `show-{slot}`. This class will be added if the toolbar has the required slots
|
|
1843
|
-
// and does not have any of the excluded slots, otherwise it will be removed.
|
|
1844
|
-
// This is useful to enforce centering of the toolbar content when there are different amounts
|
|
1845
|
-
// of slots on either side of the toolbar.
|
|
1846
|
-
const conditions = [
|
|
1847
|
-
{ name: 'end', requiredSlots: ['start'], excludeSlots: ['end', 'primary'] },
|
|
1848
|
-
{ name: 'start', requiredSlots: ['end'], excludeSlots: ['start', 'secondary'] },
|
|
1849
|
-
{ name: 'secondary', requiredSlots: ['primary'], excludeSlots: ['secondary', 'start'] },
|
|
1850
|
-
{ name: 'primary', requiredSlots: ['secondary'], excludeSlots: ['primary', 'end'] },
|
|
1851
|
-
];
|
|
1852
|
-
conditions.forEach((condition) => {
|
|
1853
|
-
const hasRequiredSlots = condition.requiredSlots.every((slot) => classesToAdd.includes(`has-${slot}-content`));
|
|
1854
|
-
const hasExcludedSlots = condition.excludeSlots.some((slot) => classesToAdd.includes(`has-${slot}-content`));
|
|
1855
|
-
const className = `show-${condition.name}`;
|
|
1856
|
-
if (hasRequiredSlots && !hasExcludedSlots) {
|
|
1857
|
-
classesToAdd.push(className);
|
|
1858
|
-
}
|
|
1859
|
-
else {
|
|
1860
|
-
classesToRemove.push(className);
|
|
1861
|
-
}
|
|
1862
|
-
});
|
|
1863
|
-
// Add classes to the toolbar element
|
|
1864
|
-
this.el.classList.add(...classesToAdd);
|
|
1865
|
-
this.el.classList.remove(...classesToRemove);
|
|
1866
|
-
// Update slot widths after classes have been updated
|
|
1867
|
-
this.updateSlotWidths();
|
|
1868
|
-
}
|
|
1869
|
-
hasSlotContent(slotName) {
|
|
1870
|
-
const slotNode = this.getSlotElement(slotName);
|
|
1871
|
-
return !!slotNode && slotNode.assignedNodes().length > 0;
|
|
1872
|
-
}
|
|
1873
|
-
getSlotElement(slotName) {
|
|
1874
|
-
return this.el.shadowRoot?.querySelector(`slot[name="${slotName}"]`) ?? null;
|
|
1875
1558
|
}
|
|
1876
1559
|
childrenStyle(ev) {
|
|
1877
1560
|
ev.stopPropagation();
|
|
@@ -1896,30 +1579,22 @@ const Toolbar = class {
|
|
|
1896
1579
|
}
|
|
1897
1580
|
}
|
|
1898
1581
|
render() {
|
|
1899
|
-
const
|
|
1582
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1900
1583
|
const childStyles = {};
|
|
1901
|
-
this.childrenStyles.forEach((
|
|
1902
|
-
Object.assign(childStyles,
|
|
1584
|
+
this.childrenStyles.forEach((value) => {
|
|
1585
|
+
Object.assign(childStyles, value);
|
|
1903
1586
|
});
|
|
1904
|
-
|
|
1905
|
-
|
|
1587
|
+
return (index.h(index.Host, { key: 'e4d089de5c5b16f34fda10f3fe00054aa38bbc7f', class: {
|
|
1588
|
+
...childStyles,
|
|
1906
1589
|
...theme.createColorClasses(this.color, {
|
|
1907
|
-
[
|
|
1590
|
+
[mode]: true,
|
|
1908
1591
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1909
|
-
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
1910
1592
|
}),
|
|
1911
|
-
|
|
1912
|
-
} }, index.h("div", { key: 'd6bea29b2fe38ff95c9b8c251d551fb3609aca71', class: "toolbar-background", part: "background" }), index.h("div", { key: 'e416703fe3a9b0bd994ddf7033a2b96fbed1f92f', class: "toolbar-container", part: "container" }, index.h("slot", { key: 'abea8b36c5566ee63a62673769c99f663cc3a8c0', name: "start", onSlotchange: () => this.updateSlotClasses() }), index.h("slot", { key: '4c4abf28bb723b2559ebb47cf6f99e8237d390e5', name: "secondary", onSlotchange: () => this.updateSlotClasses() }), index.h("div", { key: '63846794c93ec437cbae8f276906ea30dc966eec', class: "toolbar-content", part: "content" }, index.h("slot", { key: '9736ea37c79608ea9278c0520df154fd65835576' })), index.h("slot", { key: '7c3bdd204b1ff7f8a9e27f63618cd89d9cabd3d7', name: "primary", onSlotchange: () => this.updateSlotClasses() }), index.h("slot", { key: 'e5b8e802487438abd0c3d34153e1fe8b52d72464', name: "end", onSlotchange: () => this.updateSlotClasses() }))));
|
|
1593
|
+
} }, index.h("div", { key: '6463fdec00f2c50fa8691ceed3213157b275f398', class: "toolbar-background", part: "background" }), index.h("div", { key: 'ffcd3cf5ba187dfff98cb01101cb1dae93d0e057', class: "toolbar-container", part: "container" }, index.h("slot", { key: '899f1b18a87a1c873f0e4c3d7b9b3dfe20fdb1e5', name: "start" }), index.h("slot", { key: 'bf2fc384b24742e5f441f9193d173635d5d45dc7', name: "secondary" }), index.h("div", { key: '21cebe9074ad0858567edaa106571aab5895ef1d', class: "toolbar-content", part: "content" }, index.h("slot", { key: 'ac05301746a1e6bfb3f6c533d2fe1c770d066419' })), index.h("slot", { key: '1dbd07d1c7d31b16a612c05672c2d559d85e83bb', name: "primary" }), index.h("slot", { key: '617e1daa50d7f168d290f751005d79ce777f0793', name: "end" }))));
|
|
1913
1594
|
}
|
|
1914
1595
|
get el() { return index.getElement(this); }
|
|
1915
|
-
static get watchers() { return {
|
|
1916
|
-
"titlePlacement": [{
|
|
1917
|
-
"titlePlacementChanged": 0
|
|
1918
|
-
}]
|
|
1919
|
-
}; }
|
|
1920
1596
|
};
|
|
1921
1597
|
Toolbar.style = {
|
|
1922
|
-
ionic: toolbarIonicCss(),
|
|
1923
1598
|
ios: toolbarIosCss(),
|
|
1924
1599
|
md: toolbarMdCss()
|
|
1925
1600
|
};
|