@ionic/core 8.5.7-dev.11746044124.147aab6c → 8.5.7-dev.11747180955.1e468923
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/action-sheet.js +37 -23
- package/components/alert.js +42 -26
- package/components/animation.js +2 -2
- package/components/backdrop.js +11 -4
- package/components/button-active.js +1 -1
- package/components/button.js +30 -24
- package/components/buttons.js +14 -4
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +43 -26
- package/components/config.js +1 -1
- package/components/content.js +24 -5
- package/components/data.js +31 -6
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +2 -2
- package/components/header.js +12 -7
- package/components/helpers.js +3 -6
- package/components/icon.js +1 -2
- package/components/index2.js +1 -1
- package/components/index3.js +3 -5
- package/components/index4.js +1 -1
- package/components/index5.js +2 -2
- package/components/index6.js +28 -3
- package/components/index7.js +163 -27
- package/components/index8.js +1 -1
- package/components/index9.js +3 -163
- package/components/input-shims.js +20 -2
- package/components/input.utils.js +2 -2
- package/components/ion-accordion-group.js +20 -7
- package/components/ion-accordion.js +32 -14
- package/components/ion-app.js +4 -5
- package/components/ion-avatar.js +2 -4
- package/components/ion-back-button.js +12 -13
- package/components/ion-badge.js +2 -5
- package/components/ion-breadcrumb.js +22 -20
- package/components/ion-breadcrumbs.js +14 -10
- package/components/ion-card-content.js +2 -4
- package/components/ion-card-header.js +7 -5
- package/components/ion-card-subtitle.js +2 -5
- package/components/ion-card-title.js +2 -5
- package/components/ion-card.js +16 -11
- package/components/ion-chip.js +8 -5
- package/components/ion-col.js +1 -26
- package/components/ion-datetime-button.js +16 -14
- package/components/ion-datetime.js +197 -82
- package/components/ion-fab-button.js +37 -20
- package/components/ion-fab-list.js +7 -2
- package/components/ion-fab.js +10 -4
- package/components/ion-footer.js +13 -8
- package/components/ion-grid.js +4 -2
- package/components/ion-img.js +1 -6
- package/components/ion-infinite-scroll-content.js +2 -6
- package/components/ion-infinite-scroll.js +27 -6
- package/components/ion-input-password-toggle.js +8 -10
- package/components/ion-input.js +80 -63
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +2 -4
- package/components/ion-item-option.js +14 -12
- package/components/ion-item-options.js +6 -4
- package/components/ion-item-sliding.js +5 -3
- package/components/ion-loading.js +36 -19
- package/components/ion-menu-button.js +15 -10
- package/components/ion-menu-toggle.js +9 -5
- package/components/ion-menu.js +26 -10
- package/components/ion-nav-link.js +6 -6
- package/components/ion-nav.js +8 -11
- package/components/ion-note.js +2 -5
- package/components/ion-picker-legacy.js +45 -25
- package/components/ion-progress-bar.js +19 -6
- package/components/ion-range.js +66 -26
- package/components/ion-refresher-content.js +1 -5
- package/components/ion-refresher.js +55 -7
- package/components/ion-reorder-group.js +6 -4
- package/components/ion-reorder.js +3 -5
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +9 -7
- package/components/ion-router-link.js +7 -9
- package/components/ion-router-outlet.js +11 -9
- package/components/ion-router.js +19 -1
- package/components/ion-row.js +1 -2
- package/components/ion-searchbar.js +78 -29
- package/components/ion-segment-button.js +20 -11
- package/components/ion-segment-content.js +1 -2
- package/components/ion-segment-view.js +5 -5
- package/components/ion-segment.js +22 -11
- package/components/ion-select-option.js +4 -3
- package/components/ion-select.js +68 -45
- package/components/ion-skeleton-text.js +4 -2
- package/components/ion-split-pane.js +11 -6
- package/components/ion-tab-bar.js +7 -6
- package/components/ion-tab-button.js +10 -12
- package/components/ion-tab.js +3 -6
- package/components/ion-tabs.js +4 -5
- package/components/ion-text.js +1 -3
- package/components/ion-textarea.js +72 -47
- package/components/ion-thumbnail.js +1 -2
- package/components/ion-toast.js +56 -33
- package/components/ion-toggle.js +55 -31
- package/components/ionic-global.js +1 -1
- package/components/item.js +20 -14
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +134 -69
- package/components/keyboard2.js +69 -134
- package/components/label.js +2 -6
- package/components/list-header.js +2 -6
- package/components/list.js +5 -5
- package/components/modal.js +118 -40
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +3 -3
- package/components/picker-column-option.js +18 -5
- package/components/picker-column.js +25 -10
- package/components/picker-column2.js +5 -8
- package/components/picker.js +2 -4
- package/components/popover.js +130 -38
- package/components/radio-group.js +10 -10
- package/components/radio.js +27 -13
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +10 -2
- package/components/select-modal.js +3 -8
- package/components/select-popover.js +5 -8
- package/components/spinner.js +4 -5
- package/components/swipe-back.js +1 -1
- package/components/title.js +2 -6
- package/components/toolbar.js +2 -5
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/structure.css +1 -1
- package/css/structure.css.map +1 -1
- package/dist/cjs/{animation-ab2d3449.js → animation-CIZtxug4.js} +2 -2
- package/dist/cjs/{app-globals-ddceb1f4.js → app-globals-CWtQHdcK.js} +1 -1
- package/dist/cjs/{button-active-43e2b419.js → button-active-BzpKQ5zN.js} +3 -3
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-DmA66EwP.js} +1 -1
- package/dist/cjs/{config-f6225ae7.js → config-ByqNVsV-.js} +1 -1
- package/dist/cjs/{data-94e8d392.js → data-BOIdk4ZX.js} +30 -5
- package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-BZr8Dger.js} +1 -1
- package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-dtqlP_q4.js} +1 -1
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-ClPPQ_PS.js} +1 -1
- package/dist/cjs/{hardware-back-button-3d2b1004.js → hardware-back-button-BhLS9ov9.js} +2 -2
- package/dist/cjs/{helpers-8a48fdea.js → helpers-BWWnt1yc.js} +2 -5
- package/dist/cjs/{index-1eff7149.js → index-C6GLB0dQ.js} +5 -5
- package/dist/cjs/{index-ee07ed59.js → index-CAvQ7Tka.js} +3 -4
- package/dist/cjs/{index-073c7cdc.js → index-CPbAsnJK.js} +1 -0
- package/dist/cjs/{index-31b07b9c.js → index-CfS4TqIo.js} +3 -3
- package/dist/cjs/{index-a96d31ae.js → index-CrE5792q.js} +9 -9
- package/dist/cjs/{index-dbe01e08.js → index-CrVjA49i.js} +3 -3
- package/dist/cjs/{index-2e236a04.js → index-qOuhvt-6.js} +1395 -671
- package/dist/cjs/index.cjs.js +20 -24
- package/dist/cjs/{input-shims-415be7ee.js → input-shims-BIfSj_O3.js} +24 -6
- package/dist/cjs/{input.utils-a7957fd6.js → input.utils-DQKGaXXm.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +56 -27
- package/dist/cjs/ion-action-sheet.cjs.entry.js +50 -38
- package/dist/cjs/ion-alert.cjs.entry.js +55 -41
- package/dist/cjs/ion-app_8.cjs.entry.js +96 -65
- package/dist/cjs/ion-avatar_3.cjs.entry.js +9 -17
- package/dist/cjs/ion-back-button.cjs.entry.js +16 -19
- package/dist/cjs/ion-backdrop.cjs.entry.js +14 -9
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +39 -35
- package/dist/cjs/ion-button_2.cjs.entry.js +33 -30
- package/dist/cjs/ion-card_5.cjs.entry.js +33 -36
- package/dist/cjs/ion-checkbox.cjs.entry.js +48 -33
- package/dist/cjs/ion-chip.cjs.entry.js +12 -11
- package/dist/cjs/ion-col_3.cjs.entry.js +9 -35
- package/dist/cjs/ion-datetime-button.cjs.entry.js +20 -20
- package/dist/cjs/ion-datetime_3.cjs.entry.js +251 -122
- package/dist/cjs/ion-fab_3.cjs.entry.js +58 -32
- package/dist/cjs/ion-img.cjs.entry.js +5 -12
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +35 -20
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +11 -15
- package/dist/cjs/ion-input.cjs.entry.js +87 -72
- package/dist/cjs/ion-item-option_3.cjs.entry.js +32 -28
- package/dist/cjs/ion-item_8.cjs.entry.js +50 -53
- package/dist/cjs/ion-loading.cjs.entry.js +46 -31
- package/dist/cjs/ion-menu_3.cjs.entry.js +62 -39
- package/dist/cjs/ion-modal.cjs.entry.js +128 -52
- package/dist/cjs/ion-nav_2.cjs.entry.js +17 -22
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +23 -12
- package/dist/cjs/ion-picker-column.cjs.entry.js +31 -18
- package/dist/cjs/ion-picker.cjs.entry.js +5 -9
- package/dist/cjs/ion-popover.cjs.entry.js +137 -47
- package/dist/cjs/ion-progress-bar.cjs.entry.js +23 -12
- package/dist/cjs/ion-radio_2.cjs.entry.js +43 -31
- package/dist/cjs/ion-range.cjs.entry.js +71 -33
- package/dist/cjs/ion-refresher_2.cjs.entry.js +68 -26
- package/dist/cjs/ion-reorder_2.cjs.entry.js +17 -19
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +13 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +35 -21
- package/dist/cjs/ion-searchbar.cjs.entry.js +84 -37
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -5
- package/dist/cjs/ion-segment-view.cjs.entry.js +6 -8
- package/dist/cjs/ion-segment_2.cjs.entry.js +48 -30
- package/dist/cjs/ion-select-modal.cjs.entry.js +13 -20
- package/dist/cjs/ion-select_3.cjs.entry.js +88 -69
- package/dist/cjs/ion-spinner.cjs.entry.js +9 -12
- package/dist/cjs/ion-split-pane.cjs.entry.js +13 -10
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +26 -29
- package/dist/cjs/ion-tab_2.cjs.entry.js +9 -15
- package/dist/cjs/ion-text.cjs.entry.js +5 -9
- package/dist/cjs/ion-textarea.cjs.entry.js +79 -56
- package/dist/cjs/ion-toast.cjs.entry.js +65 -44
- package/dist/cjs/ion-toggle.cjs.entry.js +66 -44
- package/dist/cjs/{ionic-global-6dea5a96.js → ionic-global-BC3ee-Wa.js} +2 -2
- package/dist/cjs/ionic.cjs.js +9 -9
- package/dist/cjs/{ios.transition-a131cd4d.js → ios.transition-C9J4bBGV.js} +6 -6
- package/dist/cjs/{keyboard-0272231f.js → keyboard-UuAS4D_9.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-GXBiBRKS.js} +2 -2
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-hHzlEQpk.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -7
- package/dist/cjs/{md.transition-e018ebe5.js → md.transition-DT8PB4eS.js} +6 -6
- package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-CARhSI1k.js} +2 -2
- package/dist/cjs/{overlays-4c291a05.js → overlays-B4rlyxhY.js} +7 -7
- package/dist/cjs/{status-tap-f1acefac.js → status-tap-B8fjNFjq.js} +4 -4
- package/dist/cjs/{swipe-back-4918e56b.js → swipe-back-N5-bJv4m.js} +5 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +43 -13
- package/dist/collection/components/accordion-group/accordion-group.js +35 -8
- package/dist/collection/components/action-sheet/action-sheet.js +84 -31
- package/dist/collection/components/alert/alert.js +94 -34
- package/dist/collection/components/back-button/back-button.js +30 -14
- package/dist/collection/components/backdrop/backdrop.js +18 -3
- package/dist/collection/components/badge/badge.js +3 -4
- package/dist/collection/components/breadcrumb/breadcrumb.js +57 -26
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +24 -10
- package/dist/collection/components/button/button.js +74 -33
- package/dist/collection/components/buttons/buttons.js +15 -1
- package/dist/collection/components/card/card.js +44 -16
- package/dist/collection/components/card-header/card-header.js +11 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +3 -4
- package/dist/collection/components/card-title/card-title.js +3 -4
- package/dist/collection/components/checkbox/checkbox.js +77 -34
- package/dist/collection/components/chip/chip.js +15 -4
- package/dist/collection/components/col/col.js +72 -50
- package/dist/collection/components/content/content.js +43 -9
- package/dist/collection/components/datetime/datetime.ios.css +7 -2
- package/dist/collection/components/datetime/datetime.js +298 -98
- package/dist/collection/components/datetime/datetime.md.css +9 -3
- package/dist/collection/components/datetime/utils/data.js +29 -4
- package/dist/collection/components/datetime-button/datetime-button.js +21 -11
- package/dist/collection/components/fab/fab.js +21 -6
- package/dist/collection/components/fab-button/fab-button.js +76 -28
- package/dist/collection/components/fab-list/fab-list.js +12 -2
- package/dist/collection/components/footer/footer.js +16 -5
- package/dist/collection/components/grid/grid.js +6 -1
- package/dist/collection/components/header/header.js +15 -4
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +35 -7
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +6 -4
- package/dist/collection/components/input/input.js +179 -91
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +16 -8
- package/dist/collection/components/item/item.js +56 -21
- package/dist/collection/components/item-divider/item-divider.js +13 -3
- package/dist/collection/components/item-option/item-option.js +36 -16
- package/dist/collection/components/item-options/item-options.js +7 -1
- package/dist/collection/components/item-sliding/item-sliding.js +6 -1
- package/dist/collection/components/label/label.js +6 -4
- package/dist/collection/components/list/list.js +9 -3
- package/dist/collection/components/list-header/list-header.js +6 -6
- package/dist/collection/components/loading/loading.js +86 -29
- package/dist/collection/components/menu/menu.js +42 -10
- package/dist/collection/components/menu-button/menu-button.js +27 -10
- package/dist/collection/components/menu-toggle/menu-toggle.js +14 -5
- package/dist/collection/components/modal/modal.js +188 -51
- package/dist/collection/components/nav/nav.js +24 -11
- package/dist/collection/components/nav-link/nav-link.js +18 -8
- package/dist/collection/components/note/note.js +3 -4
- package/dist/collection/components/picker-column/picker-column.js +34 -10
- package/dist/collection/components/picker-column-option/picker-column-option.js +25 -4
- package/dist/collection/components/picker-legacy/picker.js +91 -31
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -2
- package/dist/collection/components/popover/popover.js +208 -55
- package/dist/collection/components/progress-bar/progress-bar.js +31 -6
- package/dist/collection/components/radio/radio.js +46 -16
- package/dist/collection/components/radio-group/radio-group.js +26 -12
- package/dist/collection/components/range/range.js +109 -34
- package/dist/collection/components/refresher/refresher.js +68 -6
- package/dist/collection/components/refresher-content/refresher-content.js +12 -8
- package/dist/collection/components/reorder-group/reorder-group.js +6 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +12 -1
- package/dist/collection/components/route/route.js +24 -9
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +24 -2
- package/dist/collection/components/router-link/router-link.js +24 -12
- package/dist/collection/components/router-outlet/router-outlet.js +24 -8
- package/dist/collection/components/searchbar/searchbar.js +141 -46
- package/dist/collection/components/segment/segment.js +38 -13
- package/dist/collection/components/segment-button/segment-button.js +32 -11
- package/dist/collection/components/segment-view/segment-view.js +6 -2
- package/dist/collection/components/select/select.js +128 -59
- package/dist/collection/components/select-modal/select-modal.js +9 -4
- package/dist/collection/components/select-option/select-option.js +9 -3
- package/dist/collection/components/select-popover/select-popover.js +18 -8
- package/dist/collection/components/skeleton-text/skeleton-text.js +6 -1
- package/dist/collection/components/spinner/spinner.js +15 -7
- package/dist/collection/components/split-pane/split-pane.js +17 -4
- package/dist/collection/components/tab/tab.js +14 -7
- package/dist/collection/components/tab-bar/tab-bar.js +14 -5
- package/dist/collection/components/tab-button/tab-button.js +32 -16
- package/dist/collection/components/tabs/tabs.js +5 -3
- package/dist/collection/components/text/text.js +3 -4
- package/dist/collection/components/textarea/textarea.js +154 -70
- package/dist/collection/components/title/title.js +6 -6
- package/dist/collection/components/toast/toast.js +119 -45
- package/dist/collection/components/toggle/toggle.js +86 -35
- package/dist/collection/components/toolbar/toolbar.js +3 -2
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +18 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +1823 -584
- package/dist/esm/{animation-8b25e105.js → animation-D4bve5rR.js} +2 -2
- package/dist/esm/{app-globals-dbdbb3df.js → app-globals-Ts_E1ch0.js} +1 -1
- package/dist/esm/{button-active-90f1dbc4.js → button-active-BQqkZ_sm.js} +3 -3
- package/dist/esm/{capacitor-59395cbd.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/{config-9898ed97.js → config-DTWRsyX5.js} +1 -1
- package/dist/esm/{data-0d7ea6eb.js → data-Iz8JZ8Jy.js} +31 -6
- package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-BEwxd9AM.js} +1 -1
- package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-BTEOs1at.js} +1 -1
- package/dist/esm/{haptic-ac164e4c.js → haptic-DzAMWJuk.js} +2 -2
- package/dist/esm/{hardware-back-button-a7eb8233.js → hardware-back-button-pnZ0X1YR.js} +2 -2
- package/dist/esm/{helpers-d94bc8ad.js → helpers-CzIihwFO.js} +3 -6
- package/dist/esm/{index-68c0d151.js → index-B83thFnh.js} +5 -5
- package/dist/esm/{index-e2cf2ceb.js → index-BLV6ykCk.js} +2 -1
- package/dist/esm/{index-be190feb.js → index-BjwCqtOY.js} +3 -3
- package/dist/esm/{index-cfd9c1f2.js → index-CEo1SqXS.js} +1 -1
- package/dist/esm/{index-39782642.js → index-CfgBF1SE.js} +4 -6
- package/dist/esm/{index-527b9e34.js → index-EP3pwcdb.js} +1395 -651
- package/dist/esm/{index-9a17db3d.js → index-M5ufqlzF.js} +3 -3
- package/dist/esm/{index-18f31305.js → index-RyWq7qIc.js} +6 -6
- package/dist/esm/index.js +18 -18
- package/dist/esm/{input-shims-279903e2.js → input-shims-BbXgvAcA.js} +24 -6
- package/dist/esm/{input.utils-40504d6d.js → input.utils-CWgOv5Mm.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +54 -23
- package/dist/esm/ion-action-sheet.entry.js +50 -36
- package/dist/esm/ion-alert.entry.js +55 -39
- package/dist/esm/ion-app_8.entry.js +96 -63
- package/dist/esm/ion-avatar_3.entry.js +9 -15
- package/dist/esm/ion-back-button.entry.js +16 -17
- package/dist/esm/ion-backdrop.entry.js +14 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +39 -33
- package/dist/esm/ion-button_2.entry.js +33 -28
- package/dist/esm/ion-card_5.entry.js +33 -34
- package/dist/esm/ion-checkbox.entry.js +48 -31
- package/dist/esm/ion-chip.entry.js +12 -9
- package/dist/esm/ion-col_3.entry.js +9 -33
- package/dist/esm/ion-datetime-button.entry.js +20 -18
- package/dist/esm/ion-datetime_3.entry.js +251 -120
- package/dist/esm/ion-fab_3.entry.js +58 -30
- package/dist/esm/ion-img.entry.js +5 -10
- package/dist/esm/ion-infinite-scroll_2.entry.js +35 -18
- package/dist/esm/ion-input-password-toggle.entry.js +11 -13
- package/dist/esm/ion-input.entry.js +87 -70
- package/dist/esm/ion-item-option_3.entry.js +32 -26
- package/dist/esm/ion-item_8.entry.js +50 -51
- package/dist/esm/ion-loading.entry.js +46 -29
- package/dist/esm/ion-menu_3.entry.js +62 -37
- package/dist/esm/ion-modal.entry.js +128 -50
- package/dist/esm/ion-nav_2.entry.js +17 -20
- package/dist/esm/ion-picker-column-option.entry.js +23 -10
- package/dist/esm/ion-picker-column.entry.js +31 -16
- package/dist/esm/ion-picker.entry.js +5 -7
- package/dist/esm/ion-popover.entry.js +137 -45
- package/dist/esm/ion-progress-bar.entry.js +23 -10
- package/dist/esm/ion-radio_2.entry.js +43 -29
- package/dist/esm/ion-range.entry.js +71 -31
- package/dist/esm/ion-refresher_2.entry.js +68 -24
- package/dist/esm/ion-reorder_2.entry.js +17 -17
- package/dist/esm/ion-ripple-effect.entry.js +13 -5
- package/dist/esm/ion-route_4.entry.js +35 -19
- package/dist/esm/ion-searchbar.entry.js +84 -35
- package/dist/esm/ion-segment-content.entry.js +2 -3
- package/dist/esm/ion-segment-view.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +48 -28
- package/dist/esm/ion-select-modal.entry.js +13 -18
- package/dist/esm/ion-select_3.entry.js +88 -67
- package/dist/esm/ion-spinner.entry.js +9 -10
- package/dist/esm/ion-split-pane.entry.js +13 -8
- package/dist/esm/ion-tab-bar_2.entry.js +26 -27
- package/dist/esm/ion-tab_2.entry.js +9 -13
- package/dist/esm/ion-text.entry.js +5 -7
- package/dist/esm/ion-textarea.entry.js +79 -54
- package/dist/esm/ion-toast.entry.js +65 -42
- package/dist/esm/ion-toggle.entry.js +64 -40
- package/dist/esm/{ionic-global-b26f573e.js → ionic-global-DapnXdYs.js} +2 -2
- package/dist/esm/ionic.js +8 -7
- package/dist/esm/{ios.transition-4047cb68.js → ios.transition-DN6Dy4K4.js} +6 -6
- package/dist/esm/{keyboard-73175e24.js → keyboard-CUw4ekVy.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-BaaVITYt.js} +2 -2
- package/dist/esm/{keyboard-52278bd7.js → keyboard-ywgs5efA.js} +3 -3
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{md.transition-30ce8d1b.js → md.transition-DR8zuFnL.js} +6 -6
- package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-B3wZOqJe.js} +2 -2
- package/dist/esm/{overlays-d99dcb0a.js → overlays-Blhb_0oI.js} +7 -7
- package/dist/esm/{status-tap-42a8af65.js → status-tap-CZEjiztV.js} +4 -4
- package/dist/esm/{swipe-back-0184f6b3.js → swipe-back-DKV4csu9.js} +5 -5
- package/dist/html.html-data.json +216 -0
- package/dist/index.js +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-030daf32.entry.js +4 -0
- package/dist/ionic/p-0434efbb.entry.js +4 -0
- package/dist/ionic/p-07a47eb6.entry.js +4 -0
- package/dist/ionic/p-08232f2d.entry.js +4 -0
- package/dist/ionic/{p-393ffcc2.entry.js → p-0c2a069d.entry.js} +1 -1
- package/dist/ionic/p-112af08b.entry.js +4 -0
- package/dist/ionic/{p-2469240b.entry.js → p-12b44c66.entry.js} +1 -1
- package/dist/ionic/p-1a19090e.entry.js +4 -0
- package/dist/ionic/p-306eab7a.entry.js +4 -0
- package/dist/ionic/p-38598652.entry.js +4 -0
- package/dist/ionic/p-38921e2f.entry.js +4 -0
- package/dist/ionic/p-38dcbd40.entry.js +4 -0
- package/dist/ionic/{p-b445ff65.entry.js → p-3edb2346.entry.js} +1 -1
- package/dist/ionic/p-4119d144.entry.js +4 -0
- package/dist/ionic/p-46a1ce99.entry.js +4 -0
- package/dist/ionic/p-46c15fe2.entry.js +4 -0
- package/dist/ionic/{p-e8245753.entry.js → p-46f82b82.entry.js} +1 -1
- package/dist/ionic/p-484073b5.entry.js +4 -0
- package/dist/ionic/p-49122d48.entry.js +4 -0
- package/dist/ionic/p-4a5cf7ac.entry.js +4 -0
- package/dist/ionic/p-5459e444.entry.js +4 -0
- package/dist/ionic/{p-12914457.entry.js → p-5b8abc2f.entry.js} +1 -1
- package/dist/ionic/p-5fb997f8.entry.js +4 -0
- package/dist/ionic/p-61f52724.entry.js +4 -0
- package/dist/ionic/{p-0f5e6225.js → p-7QgQi64o.js} +1 -1
- package/dist/ionic/p-83fdd9f6.entry.js +4 -0
- package/dist/ionic/p-89e3b3c6.entry.js +4 -0
- package/dist/ionic/p-8dda7cd4.entry.js +4 -0
- package/dist/ionic/p-93996b12.entry.js +4 -0
- package/dist/ionic/p-99c93730.entry.js +4 -0
- package/dist/ionic/p-9a0bde6e.entry.js +4 -0
- package/dist/ionic/p-9eeaBrnk.js +4 -0
- package/dist/ionic/p-B0af2jd_.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-BLV6ykCk.js} +1 -1
- package/dist/ionic/p-BNIA2meb.js +4 -0
- package/dist/ionic/{p-aded71ec.js → p-BSMFLyVh.js} +1 -1
- package/dist/ionic/{p-2bb55ebc.js → p-Bj2C9kIj.js} +1 -1
- package/dist/ionic/{p-b6d324f0.js → p-BoW9sZxI.js} +1 -1
- package/dist/ionic/{p-10a1bddc.js → p-C719rkLH.js} +1 -1
- package/dist/ionic/{p-17e21141.js → p-CEo1SqXS.js} +1 -1
- package/dist/ionic/p-CG4wBMWx.js +4 -0
- package/dist/ionic/p-CGDL9pFJ.js +4 -0
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-CKvCXMs9.js} +1 -1
- package/dist/ionic/{p-8d2d39d0.js → p-CgRZM5_E.js} +1 -1
- package/dist/ionic/{p-ed005d9c.js → p-Ck7uSZOL.js} +1 -1
- package/dist/ionic/p-Cl0B-RWe.js +4 -0
- package/dist/ionic/p-CqNf-A5G.js +4 -0
- package/dist/ionic/p-CtWGkNnJ.js +4 -0
- package/dist/ionic/{p-f08a92cc.js → p-D-bDfEy0.js} +1 -1
- package/dist/ionic/{p-27281edd.js → p-D13Eaw-8.js} +1 -1
- package/dist/ionic/{p-809483ac.js → p-DCstKNei.js} +1 -1
- package/dist/ionic/p-DPhSdjFK.js +4 -0
- package/dist/ionic/p-DWFxQD6t.js +4 -0
- package/dist/ionic/{p-5b67b447.js → p-Dnc554yu.js} +1 -1
- package/dist/ionic/p-EP3pwcdb.js +5 -0
- package/dist/ionic/p-EglNvYQn.js +4 -0
- package/dist/ionic/{p-95001a19.js → p-LpklIrOy.js} +1 -1
- package/dist/ionic/{p-b7b1d91a.js → p-RuOFleJd.js} +1 -1
- package/dist/ionic/p-Uz6zKimy.js +4 -0
- package/dist/ionic/p-a178af33.entry.js +4 -0
- package/dist/ionic/p-a26637b1.entry.js +4 -0
- package/dist/ionic/p-a4bcf305.entry.js +4 -0
- package/dist/ionic/p-a9997b1b.entry.js +4 -0
- package/dist/ionic/p-ade7bda6.entry.js +4 -0
- package/dist/ionic/p-aeb7297a.entry.js +4 -0
- package/dist/ionic/p-b2b0f539.entry.js +4 -0
- package/dist/ionic/p-bc9feb4b.entry.js +4 -0
- package/dist/ionic/p-c19bc276.entry.js +4 -0
- package/dist/ionic/p-c3abde95.entry.js +4 -0
- package/dist/ionic/p-ce26cd7d.entry.js +4 -0
- package/dist/ionic/p-d77d0b41.entry.js +4 -0
- package/dist/ionic/p-d887000e.entry.js +4 -0
- package/dist/ionic/p-d9c08f93.entry.js +4 -0
- package/dist/ionic/p-df87cf2d.entry.js +4 -0
- package/dist/ionic/p-e2e4b1f1.entry.js +4 -0
- package/dist/ionic/p-e426331f.entry.js +4 -0
- package/dist/ionic/p-e471e1e5.entry.js +4 -0
- package/dist/ionic/p-e5e82fa5.entry.js +4 -0
- package/dist/ionic/p-f0c5ea4c.entry.js +4 -0
- package/dist/ionic/{p-481e0885.entry.js → p-ff362ebc.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -5
- package/dist/types/components/datetime/datetime-interface.d.ts +1 -0
- package/dist/types/components/datetime/datetime.d.ts +6 -0
- package/dist/types/components/datetime/utils/data.d.ts +3 -1
- package/dist/types/components/datetime/utils/manipulation.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +0 -5
- package/dist/types/components/select/select.d.ts +0 -5
- package/dist/types/components/textarea/textarea.d.ts +0 -5
- package/dist/types/components/toggle/toggle.d.ts +0 -5
- package/dist/types/components.d.ts +8 -0
- package/dist/types/stencil-public-runtime.d.ts +9 -0
- package/hydrate/index.d.ts +40 -5
- package/hydrate/index.js +4753 -2320
- package/hydrate/index.mjs +4752 -2319
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +1 -2
- package/package.json +2 -2
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm-es5/animation-8b25e105.js +0 -4
- package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
- package/dist/esm-es5/button-active-90f1dbc4.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +0 -4
- package/dist/esm-es5/config-9898ed97.js +0 -4
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +0 -4
- package/dist/esm-es5/data-0d7ea6eb.js +0 -4
- package/dist/esm-es5/dir-babeabeb.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-56b467ad.js +0 -4
- package/dist/esm-es5/gesture-controller-314a54f6.js +0 -4
- package/dist/esm-es5/haptic-ac164e4c.js +0 -4
- package/dist/esm-es5/hardware-back-button-a7eb8233.js +0 -4
- package/dist/esm-es5/helpers-d94bc8ad.js +0 -4
- package/dist/esm-es5/index-18f31305.js +0 -4
- package/dist/esm-es5/index-39782642.js +0 -4
- package/dist/esm-es5/index-527b9e34.js +0 -5
- package/dist/esm-es5/index-68c0d151.js +0 -4
- package/dist/esm-es5/index-9a17db3d.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-be190feb.js +0 -4
- package/dist/esm-es5/index-cfd9c1f2.js +0 -5
- package/dist/esm-es5/index-e2cf2ceb.js +0 -4
- package/dist/esm-es5/index.js +0 -4
- package/dist/esm-es5/input-shims-279903e2.js +0 -4
- package/dist/esm-es5/input.utils-40504d6d.js +0 -4
- package/dist/esm-es5/ion-accordion_2.entry.js +0 -4
- package/dist/esm-es5/ion-action-sheet.entry.js +0 -4
- package/dist/esm-es5/ion-alert.entry.js +0 -4
- package/dist/esm-es5/ion-app_8.entry.js +0 -4
- package/dist/esm-es5/ion-avatar_3.entry.js +0 -4
- package/dist/esm-es5/ion-back-button.entry.js +0 -4
- package/dist/esm-es5/ion-backdrop.entry.js +0 -4
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +0 -4
- package/dist/esm-es5/ion-button_2.entry.js +0 -4
- package/dist/esm-es5/ion-card_5.entry.js +0 -4
- package/dist/esm-es5/ion-checkbox.entry.js +0 -4
- package/dist/esm-es5/ion-chip.entry.js +0 -4
- package/dist/esm-es5/ion-col_3.entry.js +0 -4
- package/dist/esm-es5/ion-datetime-button.entry.js +0 -4
- package/dist/esm-es5/ion-datetime_3.entry.js +0 -4
- package/dist/esm-es5/ion-fab_3.entry.js +0 -4
- package/dist/esm-es5/ion-img.entry.js +0 -4
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +0 -4
- package/dist/esm-es5/ion-input-password-toggle.entry.js +0 -4
- package/dist/esm-es5/ion-input.entry.js +0 -4
- package/dist/esm-es5/ion-item-option_3.entry.js +0 -4
- package/dist/esm-es5/ion-item_8.entry.js +0 -4
- package/dist/esm-es5/ion-loading.entry.js +0 -4
- package/dist/esm-es5/ion-menu_3.entry.js +0 -4
- package/dist/esm-es5/ion-modal.entry.js +0 -4
- package/dist/esm-es5/ion-nav_2.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column.entry.js +0 -4
- package/dist/esm-es5/ion-picker.entry.js +0 -4
- package/dist/esm-es5/ion-popover.entry.js +0 -4
- package/dist/esm-es5/ion-progress-bar.entry.js +0 -4
- package/dist/esm-es5/ion-radio_2.entry.js +0 -4
- package/dist/esm-es5/ion-range.entry.js +0 -4
- package/dist/esm-es5/ion-refresher_2.entry.js +0 -4
- package/dist/esm-es5/ion-reorder_2.entry.js +0 -4
- package/dist/esm-es5/ion-ripple-effect.entry.js +0 -4
- package/dist/esm-es5/ion-route_4.entry.js +0 -4
- package/dist/esm-es5/ion-searchbar.entry.js +0 -4
- package/dist/esm-es5/ion-segment-content.entry.js +0 -4
- package/dist/esm-es5/ion-segment-view.entry.js +0 -4
- package/dist/esm-es5/ion-segment_2.entry.js +0 -4
- package/dist/esm-es5/ion-select-modal.entry.js +0 -4
- package/dist/esm-es5/ion-select_3.entry.js +0 -4
- package/dist/esm-es5/ion-spinner.entry.js +0 -4
- package/dist/esm-es5/ion-split-pane.entry.js +0 -4
- package/dist/esm-es5/ion-tab-bar_2.entry.js +0 -4
- package/dist/esm-es5/ion-tab_2.entry.js +0 -4
- package/dist/esm-es5/ion-text.entry.js +0 -4
- package/dist/esm-es5/ion-textarea.entry.js +0 -4
- package/dist/esm-es5/ion-toast.entry.js +0 -4
- package/dist/esm-es5/ion-toggle.entry.js +0 -4
- package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
- package/dist/esm-es5/ionic.js +0 -4
- package/dist/esm-es5/ios.transition-4047cb68.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-73175e24.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/loader.js +0 -4
- package/dist/esm-es5/lock-controller-316928be.js +0 -4
- package/dist/esm-es5/md.transition-30ce8d1b.js +0 -4
- package/dist/esm-es5/notch-controller-1a1f7183.js +0 -4
- package/dist/esm-es5/overlays-d99dcb0a.js +0 -4
- package/dist/esm-es5/spinner-configs-964f7cf3.js +0 -4
- package/dist/esm-es5/status-tap-42a8af65.js +0 -4
- package/dist/esm-es5/swipe-back-0184f6b3.js +0 -4
- package/dist/esm-es5/theme-01f3f29c.js +0 -4
- package/dist/esm-es5/watch-options-c2911ace.js +0 -4
- package/dist/ionic/ionic.js +0 -127
- package/dist/ionic/p-00023f5a.system.js +0 -4
- package/dist/ionic/p-012c3ceb.system.js +0 -4
- package/dist/ionic/p-019e30a3.system.entry.js +0 -4
- package/dist/ionic/p-03480b95.system.entry.js +0 -4
- package/dist/ionic/p-08cef0b1.entry.js +0 -4
- package/dist/ionic/p-08e01816.system.js +0 -4
- package/dist/ionic/p-105b2e8b.entry.js +0 -4
- package/dist/ionic/p-117d0013.system.entry.js +0 -4
- package/dist/ionic/p-11dca959.entry.js +0 -4
- package/dist/ionic/p-12193821.system.js +0 -4
- package/dist/ionic/p-12830298.system.entry.js +0 -4
- package/dist/ionic/p-14154301.system.entry.js +0 -4
- package/dist/ionic/p-14bdb5aa.entry.js +0 -4
- package/dist/ionic/p-1706b406.system.entry.js +0 -4
- package/dist/ionic/p-171ca87d.system.js +0 -4
- package/dist/ionic/p-19494658.system.entry.js +0 -4
- package/dist/ionic/p-1966a13c.system.js +0 -4
- package/dist/ionic/p-1974d5b2.system.js +0 -4
- package/dist/ionic/p-1a81ac09.system.js +0 -4
- package/dist/ionic/p-1b9c59ab.js +0 -4
- package/dist/ionic/p-1d307396.system.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e955a45.system.js +0 -4
- package/dist/ionic/p-20d469d0.system.js +0 -4
- package/dist/ionic/p-21891ead.js +0 -4
- package/dist/ionic/p-2233344a.system.js +0 -4
- package/dist/ionic/p-24a6c8a3.system.entry.js +0 -4
- package/dist/ionic/p-257fb777.entry.js +0 -4
- package/dist/ionic/p-25b10f81.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2bff0e69.system.entry.js +0 -4
- package/dist/ionic/p-31dc303d.entry.js +0 -4
- package/dist/ionic/p-3535d6b5.entry.js +0 -4
- package/dist/ionic/p-35cdfd77.system.entry.js +0 -4
- package/dist/ionic/p-39fa7dd1.system.entry.js +0 -4
- package/dist/ionic/p-3a30f31b.system.entry.js +0 -4
- package/dist/ionic/p-3e1e14d9.system.js +0 -4
- package/dist/ionic/p-42f08b26.system.entry.js +0 -4
- package/dist/ionic/p-4609d030.system.js +0 -4
- package/dist/ionic/p-4a5be299.system.entry.js +0 -4
- package/dist/ionic/p-4c667fce.js +0 -4
- package/dist/ionic/p-4cf4172e.entry.js +0 -4
- package/dist/ionic/p-4da92dac.entry.js +0 -4
- package/dist/ionic/p-4ed5db19.system.js +0 -4
- package/dist/ionic/p-4f255d5a.system.js +0 -4
- package/dist/ionic/p-50cb2e8b.system.entry.js +0 -4
- package/dist/ionic/p-57957c0f.entry.js +0 -4
- package/dist/ionic/p-57d6e18e.entry.js +0 -4
- package/dist/ionic/p-57e55ecb.system.js +0 -4
- package/dist/ionic/p-5c9feddc.system.entry.js +0 -4
- package/dist/ionic/p-5fac20aa.system.entry.js +0 -4
- package/dist/ionic/p-612096e6.system.entry.js +0 -4
- package/dist/ionic/p-6201c4ba.entry.js +0 -4
- package/dist/ionic/p-625248d0.system.js +0 -4
- package/dist/ionic/p-663413be.system.js +0 -4
- package/dist/ionic/p-6636a436.js +0 -4
- package/dist/ionic/p-66a5d6a8.js +0 -5
- package/dist/ionic/p-66df5468.system.entry.js +0 -4
- package/dist/ionic/p-67077d48.entry.js +0 -4
- package/dist/ionic/p-6835ebdd.system.entry.js +0 -4
- package/dist/ionic/p-6a03fc0f.entry.js +0 -4
- package/dist/ionic/p-6b8530f5.system.entry.js +0 -4
- package/dist/ionic/p-6c474e87.entry.js +0 -4
- package/dist/ionic/p-6dd86ff5.system.entry.js +0 -4
- package/dist/ionic/p-6ec0c94a.entry.js +0 -4
- package/dist/ionic/p-6f832afe.system.entry.js +0 -4
- package/dist/ionic/p-707408c5.system.entry.js +0 -4
- package/dist/ionic/p-712c0131.entry.js +0 -4
- package/dist/ionic/p-721f43f9.entry.js +0 -4
- package/dist/ionic/p-72b3050b.system.entry.js +0 -4
- package/dist/ionic/p-7445a2e5.system.js +0 -4
- package/dist/ionic/p-7611ede3.system.entry.js +0 -4
- package/dist/ionic/p-781e2dbb.system.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b8c12c3.entry.js +0 -4
- package/dist/ionic/p-7c5c7ae1.system.entry.js +0 -4
- package/dist/ionic/p-7e3e6ed2.entry.js +0 -4
- package/dist/ionic/p-7ffedf77.system.entry.js +0 -4
- package/dist/ionic/p-81904a80.entry.js +0 -4
- package/dist/ionic/p-84096b45.system.js +0 -4
- package/dist/ionic/p-8450f761.entry.js +0 -4
- package/dist/ionic/p-8460d95a.entry.js +0 -4
- package/dist/ionic/p-85b01465.js +0 -4
- package/dist/ionic/p-865fe95c.entry.js +0 -4
- package/dist/ionic/p-8674af94.entry.js +0 -4
- package/dist/ionic/p-890a4ee2.entry.js +0 -4
- package/dist/ionic/p-891553d8.entry.js +0 -4
- package/dist/ionic/p-8985cdb6.system.js +0 -4
- package/dist/ionic/p-8ab2f7a4.system.entry.js +0 -4
- package/dist/ionic/p-8b050e84.system.js +0 -4
- package/dist/ionic/p-8dacf4e2.entry.js +0 -4
- package/dist/ionic/p-8ededb41.js +0 -4
- package/dist/ionic/p-94551927.js +0 -4
- package/dist/ionic/p-965287fb.system.entry.js +0 -4
- package/dist/ionic/p-979d4f5c.system.js +0 -4
- package/dist/ionic/p-98fd942b.system.entry.js +0 -4
- package/dist/ionic/p-9df5043e.system.entry.js +0 -4
- package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
- package/dist/ionic/p-a4866e3e.system.js +0 -4
- package/dist/ionic/p-a5dbe0ff.system.entry.js +0 -4
- package/dist/ionic/p-a7a97bf4.system.entry.js +0 -4
- package/dist/ionic/p-a835aca8.entry.js +0 -4
- package/dist/ionic/p-a83e3290.system.js +0 -4
- package/dist/ionic/p-a93873de.system.js +0 -4
- package/dist/ionic/p-aad57e35.entry.js +0 -4
- package/dist/ionic/p-ab7337e1.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-ad592db9.entry.js +0 -4
- package/dist/ionic/p-ae039072.entry.js +0 -4
- package/dist/ionic/p-aebfab05.system.entry.js +0 -4
- package/dist/ionic/p-b06ac4a5.system.js +0 -4
- package/dist/ionic/p-b22ab9f4.js +0 -4
- package/dist/ionic/p-b2e7eda0.system.entry.js +0 -4
- package/dist/ionic/p-b4d17da0.system.entry.js +0 -4
- package/dist/ionic/p-b5432d15.entry.js +0 -4
- package/dist/ionic/p-b8050298.system.entry.js +0 -4
- package/dist/ionic/p-b904cfe2.system.entry.js +0 -4
- package/dist/ionic/p-b9c793d4.entry.js +0 -4
- package/dist/ionic/p-bafc3eae.system.entry.js +0 -4
- package/dist/ionic/p-bf184319.system.entry.js +0 -4
- package/dist/ionic/p-c16443a8.system.js +0 -4
- package/dist/ionic/p-c1b7d311.system.entry.js +0 -4
- package/dist/ionic/p-c2160d8c.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c5b77054.entry.js +0 -4
- package/dist/ionic/p-c5bfa3e9.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-cad82569.entry.js +0 -4
- package/dist/ionic/p-cec902a0.system.entry.js +0 -4
- package/dist/ionic/p-d16fab3f.entry.js +0 -4
- package/dist/ionic/p-d1eb2d7f.entry.js +0 -4
- package/dist/ionic/p-d382f09c.system.js +0 -4
- package/dist/ionic/p-d8d84afa.system.js +0 -4
- package/dist/ionic/p-d984c1ab.system.entry.js +0 -4
- package/dist/ionic/p-dabe3bd4.js +0 -4
- package/dist/ionic/p-df069a0d.entry.js +0 -4
- package/dist/ionic/p-e1678e42.entry.js +0 -4
- package/dist/ionic/p-e673a0a2.system.js +0 -4
- package/dist/ionic/p-e727e32d.system.entry.js +0 -4
- package/dist/ionic/p-e887b6a9.system.js +0 -4
- package/dist/ionic/p-edd2e3c7.entry.js +0 -4
- package/dist/ionic/p-f0c9f8e3.system.entry.js +0 -4
- package/dist/ionic/p-f0ef39ab.entry.js +0 -4
- package/dist/ionic/p-f11a9436.system.js +0 -5
- package/dist/ionic/p-f22490a7.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
- package/dist/ionic/p-f6e7d104.system.js +0 -4
- package/dist/ionic/p-f725bf9e.system.js +0 -4
- package/dist/ionic/p-f9a87db2.system.entry.js +0 -4
- package/dist/ionic/p-fa3f4b96.system.js +0 -4
- package/dist/ionic/p-fe063952.system.entry.js +0 -4
- package/loader/package.json +0 -11
- /package/dist/cjs/{compare-with-utils-df1001d7.js → compare-with-utils-DSicavqM.js} +0 -0
- /package/dist/cjs/{cubic-bezier-f2dccc53.js → cubic-bezier-DAjy1V-e.js} +0 -0
- /package/dist/cjs/{dir-94c21456.js → dir-Cn0z1rJH.js} +0 -0
- /package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-CCvKiLh3.js} +0 -0
- /package/dist/cjs/{index-cc858e97.js → index-CAT7dkq1.js} +0 -0
- /package/dist/cjs/{index-c8d52405.js → index-DkNv4J_i.js} +0 -0
- /package/dist/cjs/{lock-controller-6585a42a.js → lock-controller-aDB9wrEf.js} +0 -0
- /package/dist/cjs/{spinner-configs-282fd50a.js → spinner-configs-DxHKnd3-.js} +0 -0
- /package/dist/cjs/{theme-d1c573d2.js → theme-CeDs6Hcv.js} +0 -0
- /package/dist/cjs/{watch-options-f5f3e158.js → watch-options-CviOsrTS.js} +0 -0
- /package/dist/esm/{compare-with-utils-a96ff2ea.js → compare-with-utils-sObYyvOy.js} +0 -0
- /package/dist/esm/{cubic-bezier-fe2083dc.js → cubic-bezier-hHmYLOfE.js} +0 -0
- /package/dist/esm/{dir-babeabeb.js → dir-C53feagD.js} +0 -0
- /package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-BmVRXR1y.js} +0 -0
- /package/dist/esm/{index-a5d50daf.js → index-ZjP4CjeZ.js} +0 -0
- /package/dist/esm/{lock-controller-316928be.js → lock-controller-B-hirT0v.js} +0 -0
- /package/dist/esm/{spinner-configs-964f7cf3.js → spinner-configs-D4RIp70E.js} +0 -0
- /package/dist/esm/{theme-01f3f29c.js → theme-DiVJyqlX.js} +0 -0
- /package/dist/esm/{watch-options-c2911ace.js → watch-options-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-ccd02320.js → p-B-hirT0v.js} +0 -0
- /package/dist/ionic/{p-9b97df10.js → p-BTEOs1at.js} +0 -0
- /package/dist/ionic/{p-d47265c8.js → p-BmVRXR1y.js} +0 -0
- /package/dist/ionic/{p-fb813dab.js → p-C53feagD.js} +0 -0
- /package/dist/ionic/{p-f0c2a614.js → p-D4RIp70E.js} +0 -0
- /package/dist/ionic/{p-47794def.js → p-DiVJyqlX.js} +0 -0
- /package/dist/ionic/{p-459d13d5.js → p-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-7b30edcc.js → p-ZjP4CjeZ.js} +0 -0
- /package/dist/ionic/{p-2408c236.js → p-hHmYLOfE.js} +0 -0
- /package/dist/ionic/{p-de756e5c.js → p-sObYyvOy.js} +0 -0
package/components/keyboard2.js
CHANGED
|
@@ -1,144 +1,79 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { g as getCapacitor } from './capacitor.js';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
var ExceptionCode;
|
|
7
|
+
(function (ExceptionCode) {
|
|
8
|
+
/**
|
|
9
|
+
* API is not implemented.
|
|
10
|
+
*
|
|
11
|
+
* This usually means the API can't be used because it is not implemented for
|
|
12
|
+
* the current platform.
|
|
13
|
+
*/
|
|
14
|
+
ExceptionCode["Unimplemented"] = "UNIMPLEMENTED";
|
|
15
|
+
/**
|
|
16
|
+
* API is not available.
|
|
17
|
+
*
|
|
18
|
+
* This means the API can't be used right now because:
|
|
19
|
+
* - it is currently missing a prerequisite, such as network connectivity
|
|
20
|
+
* - it requires a particular platform or browser version
|
|
21
|
+
*/
|
|
22
|
+
ExceptionCode["Unavailable"] = "UNAVAILABLE";
|
|
23
|
+
})(ExceptionCode || (ExceptionCode = {}));
|
|
24
|
+
|
|
25
|
+
var KeyboardResize;
|
|
26
|
+
(function (KeyboardResize) {
|
|
27
|
+
/**
|
|
28
|
+
* Only the `body` HTML element will be resized.
|
|
29
|
+
* Relative units are not affected, because the viewport does not change.
|
|
30
|
+
*
|
|
31
|
+
* @since 1.0.0
|
|
32
|
+
*/
|
|
33
|
+
KeyboardResize["Body"] = "body";
|
|
23
34
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* how it resizes such that the Visual Viewport API is not
|
|
29
|
-
* reliable here.
|
|
35
|
+
* Only the `ion-app` HTML element will be resized.
|
|
36
|
+
* Use it only for Ionic Framework apps.
|
|
37
|
+
*
|
|
38
|
+
* @since 1.0.0
|
|
30
39
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
40
|
+
KeyboardResize["Ionic"] = "ionic";
|
|
41
|
+
/**
|
|
42
|
+
* The whole native Web View will be resized when the keyboard shows/hides.
|
|
43
|
+
* This affects the `vh` relative unit.
|
|
44
|
+
*
|
|
45
|
+
* @since 1.0.0
|
|
46
|
+
*/
|
|
47
|
+
KeyboardResize["Native"] = "native";
|
|
48
|
+
/**
|
|
49
|
+
* Neither the app nor the Web View are resized.
|
|
50
|
+
*
|
|
51
|
+
* @since 1.0.0
|
|
52
|
+
*/
|
|
53
|
+
KeyboardResize["None"] = "none";
|
|
54
|
+
})(KeyboardResize || (KeyboardResize = {}));
|
|
55
|
+
const Keyboard = {
|
|
56
|
+
getEngine() {
|
|
57
|
+
const capacitor = getCapacitor();
|
|
58
|
+
if (capacitor === null || capacitor === void 0 ? void 0 : capacitor.isPluginAvailable('Keyboard')) {
|
|
59
|
+
return capacitor.Plugins.Keyboard;
|
|
37
60
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
61
|
+
return undefined;
|
|
62
|
+
},
|
|
63
|
+
getResizeMode() {
|
|
64
|
+
const engine = this.getEngine();
|
|
65
|
+
if (!(engine === null || engine === void 0 ? void 0 : engine.getResizeMode)) {
|
|
66
|
+
return Promise.resolve(undefined);
|
|
67
|
+
}
|
|
68
|
+
return engine.getResizeMode().catch((e) => {
|
|
69
|
+
if (e.code === ExceptionCode.Unimplemented) {
|
|
70
|
+
// If the native implementation is not available
|
|
71
|
+
// we treat it the same as if the plugin is not available.
|
|
72
|
+
return undefined;
|
|
46
73
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Listen for events fired by native keyboard plugin
|
|
52
|
-
* in Capacitor/Cordova so devs only need to listen
|
|
53
|
-
* in one place.
|
|
54
|
-
*/
|
|
55
|
-
const startNativeListeners = (win) => {
|
|
56
|
-
win.addEventListener('keyboardDidShow', (ev) => setKeyboardOpen(win, ev));
|
|
57
|
-
win.addEventListener('keyboardDidHide', () => setKeyboardClose(win));
|
|
58
|
-
};
|
|
59
|
-
const setKeyboardOpen = (win, ev) => {
|
|
60
|
-
fireKeyboardOpenEvent(win, ev);
|
|
61
|
-
keyboardOpen = true;
|
|
62
|
-
};
|
|
63
|
-
const setKeyboardClose = (win) => {
|
|
64
|
-
fireKeyboardCloseEvent(win);
|
|
65
|
-
keyboardOpen = false;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Returns `true` if the `keyboardOpen` flag is not
|
|
69
|
-
* set, the previous visual viewport width equal the current
|
|
70
|
-
* visual viewport width, and if the scaled difference
|
|
71
|
-
* of the previous visual viewport height minus the current
|
|
72
|
-
* visual viewport height is greater than KEYBOARD_THRESHOLD
|
|
73
|
-
*
|
|
74
|
-
* We need to be able to accommodate users who have zooming
|
|
75
|
-
* enabled in their browser (or have zoomed in manually) which
|
|
76
|
-
* is why we take into account the current visual viewport's
|
|
77
|
-
* scale value.
|
|
78
|
-
*/
|
|
79
|
-
const keyboardDidOpen = () => {
|
|
80
|
-
const scaledHeightDifference = (previousVisualViewport.height - currentVisualViewport.height) * currentVisualViewport.scale;
|
|
81
|
-
return (!keyboardOpen &&
|
|
82
|
-
previousVisualViewport.width === currentVisualViewport.width &&
|
|
83
|
-
scaledHeightDifference > KEYBOARD_THRESHOLD);
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Returns `true` if the keyboard is open,
|
|
87
|
-
* but the keyboard did not close
|
|
88
|
-
*/
|
|
89
|
-
const keyboardDidResize = (win) => {
|
|
90
|
-
return keyboardOpen && !keyboardDidClose(win);
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Determine if the keyboard was closed
|
|
94
|
-
* Returns `true` if the `keyboardOpen` flag is set and
|
|
95
|
-
* the current visual viewport height equals the
|
|
96
|
-
* layout viewport height.
|
|
97
|
-
*/
|
|
98
|
-
const keyboardDidClose = (win) => {
|
|
99
|
-
return keyboardOpen && currentVisualViewport.height === win.innerHeight;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Dispatch a keyboard open event
|
|
103
|
-
*/
|
|
104
|
-
const fireKeyboardOpenEvent = (win, nativeEv) => {
|
|
105
|
-
const keyboardHeight = nativeEv ? nativeEv.keyboardHeight : win.innerHeight - currentVisualViewport.height;
|
|
106
|
-
const ev = new CustomEvent(KEYBOARD_DID_OPEN, {
|
|
107
|
-
detail: { keyboardHeight },
|
|
108
|
-
});
|
|
109
|
-
win.dispatchEvent(ev);
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Dispatch a keyboard close event
|
|
113
|
-
*/
|
|
114
|
-
const fireKeyboardCloseEvent = (win) => {
|
|
115
|
-
const ev = new CustomEvent(KEYBOARD_DID_CLOSE);
|
|
116
|
-
win.dispatchEvent(ev);
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Given a window object, create a copy of
|
|
120
|
-
* the current visual and layout viewport states
|
|
121
|
-
* while also preserving the previous visual and
|
|
122
|
-
* layout viewport states
|
|
123
|
-
*/
|
|
124
|
-
const trackViewportChanges = (win) => {
|
|
125
|
-
previousVisualViewport = Object.assign({}, currentVisualViewport);
|
|
126
|
-
currentVisualViewport = copyVisualViewport(win.visualViewport);
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* Creates a deep copy of the visual viewport
|
|
130
|
-
* at a given state
|
|
131
|
-
*/
|
|
132
|
-
const copyVisualViewport = (visualViewport) => {
|
|
133
|
-
return {
|
|
134
|
-
width: Math.round(visualViewport.width),
|
|
135
|
-
height: Math.round(visualViewport.height),
|
|
136
|
-
offsetTop: visualViewport.offsetTop,
|
|
137
|
-
offsetLeft: visualViewport.offsetLeft,
|
|
138
|
-
pageTop: visualViewport.pageTop,
|
|
139
|
-
pageLeft: visualViewport.pageLeft,
|
|
140
|
-
scale: visualViewport.scale,
|
|
141
|
-
};
|
|
74
|
+
throw e;
|
|
75
|
+
});
|
|
76
|
+
},
|
|
142
77
|
};
|
|
143
78
|
|
|
144
|
-
export {
|
|
79
|
+
export { Keyboard as K, KeyboardResize as a };
|
package/components/label.js
CHANGED
|
@@ -6,10 +6,8 @@ import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
|
6
6
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
|
|
8
8
|
const labelIosCss = ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999))}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}";
|
|
9
|
-
const IonLabelIosStyle0 = labelIosCss;
|
|
10
9
|
|
|
11
10
|
const labelMdCss = ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #0054e9)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}";
|
|
12
|
-
const IonLabelMdStyle0 = labelMdCss;
|
|
13
11
|
|
|
14
12
|
const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
|
|
15
13
|
constructor() {
|
|
@@ -18,8 +16,6 @@ const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
|
|
|
18
16
|
this.ionColor = createEvent(this, "ionColor", 7);
|
|
19
17
|
this.ionStyle = createEvent(this, "ionStyle", 7);
|
|
20
18
|
this.inRange = false;
|
|
21
|
-
this.color = undefined;
|
|
22
|
-
this.position = undefined;
|
|
23
19
|
this.noAnimate = false;
|
|
24
20
|
}
|
|
25
21
|
componentWillLoad() {
|
|
@@ -77,8 +73,8 @@ const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
|
|
|
77
73
|
"position": ["positionChanged"]
|
|
78
74
|
}; }
|
|
79
75
|
static get style() { return {
|
|
80
|
-
ios:
|
|
81
|
-
md:
|
|
76
|
+
ios: labelIosCss,
|
|
77
|
+
md: labelMdCss
|
|
82
78
|
}; }
|
|
83
79
|
}, [38, "ion-label", {
|
|
84
80
|
"color": [513],
|
|
@@ -6,18 +6,14 @@ import { c as createColorClasses } from './theme.js';
|
|
|
6
6
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
|
|
8
8
|
const listHeaderIosCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}";
|
|
9
|
-
const IonListHeaderIosStyle0 = listHeaderIosCss;
|
|
10
9
|
|
|
11
10
|
const listHeaderMdCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);min-height:45px;font-size:0.875rem}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}";
|
|
12
|
-
const IonListHeaderMdStyle0 = listHeaderMdCss;
|
|
13
11
|
|
|
14
12
|
const ListHeader = /*@__PURE__*/ proxyCustomElement(class ListHeader extends HTMLElement {
|
|
15
13
|
constructor() {
|
|
16
14
|
super();
|
|
17
15
|
this.__registerHost();
|
|
18
16
|
this.__attachShadow();
|
|
19
|
-
this.color = undefined;
|
|
20
|
-
this.lines = undefined;
|
|
21
17
|
}
|
|
22
18
|
render() {
|
|
23
19
|
const { lines } = this;
|
|
@@ -28,8 +24,8 @@ const ListHeader = /*@__PURE__*/ proxyCustomElement(class ListHeader extends HTM
|
|
|
28
24
|
}) }, h("div", { key: '3065b0a094bc31a90518898a5126a813c8a33816', class: "list-header-inner" }, h("slot", { key: 'fe15c87d7867f3e5d8185645c49c0228496697b8' }))));
|
|
29
25
|
}
|
|
30
26
|
static get style() { return {
|
|
31
|
-
ios:
|
|
32
|
-
md:
|
|
27
|
+
ios: listHeaderIosCss,
|
|
28
|
+
md: listHeaderMdCss
|
|
33
29
|
}; }
|
|
34
30
|
}, [33, "ion-list-header", {
|
|
35
31
|
"color": [513],
|
package/components/list.js
CHANGED
|
@@ -5,16 +5,16 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
5
5
|
import { b as getIonMode } from './ionic-global.js';
|
|
6
6
|
|
|
7
7
|
const listIosCss = "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
8
|
-
const IonListIosStyle0 = listIosCss;
|
|
9
8
|
|
|
10
9
|
const listMdCss = "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{inset-inline-start:0}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
11
|
-
const IonListMdStyle0 = listMdCss;
|
|
12
10
|
|
|
13
11
|
const List = /*@__PURE__*/ proxyCustomElement(class List extends HTMLElement {
|
|
14
12
|
constructor() {
|
|
15
13
|
super();
|
|
16
14
|
this.__registerHost();
|
|
17
|
-
|
|
15
|
+
/**
|
|
16
|
+
* If `true`, the list will have margin around it and rounded corners.
|
|
17
|
+
*/
|
|
18
18
|
this.inset = false;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -44,8 +44,8 @@ const List = /*@__PURE__*/ proxyCustomElement(class List extends HTMLElement {
|
|
|
44
44
|
}
|
|
45
45
|
get el() { return this; }
|
|
46
46
|
static get style() { return {
|
|
47
|
-
ios:
|
|
48
|
-
md:
|
|
47
|
+
ios: listIosCss,
|
|
48
|
+
md: listMdCss
|
|
49
49
|
}; }
|
|
50
50
|
}, [32, "ion-list", {
|
|
51
51
|
"lines": [1],
|
package/components/modal.js
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { a as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
|
|
6
6
|
import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate.js';
|
|
7
|
-
import {
|
|
7
|
+
import { f as clamp, g as getElementRoot, r as raf, d as inheritAttributes, k as hasLazyBuild } from './helpers.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller.js';
|
|
9
|
-
import {
|
|
9
|
+
import { p as printIonWarning, c as config } from './index4.js';
|
|
10
10
|
import { g as getCapacitor } from './capacitor.js';
|
|
11
11
|
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays.js';
|
|
12
12
|
import { g as getClassMap } from './theme.js';
|
|
13
13
|
import { e as deepReady, w as waitForMount } from './index2.js';
|
|
14
14
|
import { b as getIonMode } from './ionic-global.js';
|
|
15
|
-
import { KEYBOARD_DID_OPEN } from './
|
|
15
|
+
import { KEYBOARD_DID_OPEN } from './keyboard.js';
|
|
16
16
|
import { c as createAnimation } from './animation.js';
|
|
17
17
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
18
18
|
import { createGesture } from './index3.js';
|
|
19
|
-
import { w as win } from './
|
|
19
|
+
import { w as win } from './index9.js';
|
|
20
20
|
import { d as defineCustomElement$1 } from './backdrop.js';
|
|
21
21
|
|
|
22
22
|
var Style;
|
|
@@ -439,7 +439,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
439
439
|
* canDismiss is checked.
|
|
440
440
|
*/
|
|
441
441
|
const shouldComplete = !isAttemptingDismissWithCanDismiss && threshold >= DISMISS_THRESHOLD;
|
|
442
|
-
let newStepValue = shouldComplete ? -
|
|
442
|
+
let newStepValue = shouldComplete ? -1e-3 : 0.001;
|
|
443
443
|
if (!shouldComplete) {
|
|
444
444
|
animation.easing('cubic-bezier(1, 0, 0.68, 0.28)');
|
|
445
445
|
newStepValue += getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], clampedStep)[0];
|
|
@@ -1346,10 +1346,8 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1346
1346
|
};
|
|
1347
1347
|
|
|
1348
1348
|
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer ion-toolbar:first-of-type{padding-top:6px}";
|
|
1349
|
-
const IonModalIosStyle0 = modalIosCss;
|
|
1350
1349
|
|
|
1351
1350
|
const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}";
|
|
1352
|
-
const IonModalMdStyle0 = modalMdCss;
|
|
1353
1351
|
|
|
1354
1352
|
const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
1355
1353
|
constructor() {
|
|
@@ -1374,6 +1372,112 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
1374
1372
|
this.inline = false;
|
|
1375
1373
|
// Whether or not modal is being dismissed via gesture
|
|
1376
1374
|
this.gestureAnimationDismissing = false;
|
|
1375
|
+
this.presented = false;
|
|
1376
|
+
/** @internal */
|
|
1377
|
+
this.hasController = false;
|
|
1378
|
+
/**
|
|
1379
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
1380
|
+
*/
|
|
1381
|
+
this.keyboardClose = true;
|
|
1382
|
+
/**
|
|
1383
|
+
* Controls whether scrolling or dragging within the sheet modal expands
|
|
1384
|
+
* it to a larger breakpoint. This only takes effect when `breakpoints`
|
|
1385
|
+
* and `initialBreakpoint` are set.
|
|
1386
|
+
*
|
|
1387
|
+
* If `true`, scrolling or dragging anywhere in the modal will first expand
|
|
1388
|
+
* it to the next breakpoint. Once fully expanded, scrolling will affect the
|
|
1389
|
+
* content.
|
|
1390
|
+
* If `false`, scrolling will always affect the content. The modal will
|
|
1391
|
+
* only expand when dragging the header or handle. The modal will close when
|
|
1392
|
+
* dragging the header or handle. It can also be closed when dragging the
|
|
1393
|
+
* content, but only if the content is scrolled to the top.
|
|
1394
|
+
*/
|
|
1395
|
+
this.expandToScroll = true;
|
|
1396
|
+
/**
|
|
1397
|
+
* A decimal value between 0 and 1 that indicates the
|
|
1398
|
+
* point after which the backdrop will begin to fade in
|
|
1399
|
+
* when using a sheet modal. Prior to this point, the
|
|
1400
|
+
* backdrop will be hidden and the content underneath
|
|
1401
|
+
* the sheet can be interacted with. This value is exclusive
|
|
1402
|
+
* meaning the backdrop will become active after the value
|
|
1403
|
+
* specified.
|
|
1404
|
+
*/
|
|
1405
|
+
this.backdropBreakpoint = 0;
|
|
1406
|
+
/**
|
|
1407
|
+
* The interaction behavior for the sheet modal when the handle is pressed.
|
|
1408
|
+
*
|
|
1409
|
+
* Defaults to `"none"`, which means the modal will not change size or position when the handle is pressed.
|
|
1410
|
+
* Set to `"cycle"` to let the modal cycle between available breakpoints when pressed.
|
|
1411
|
+
*
|
|
1412
|
+
* Handle behavior is unavailable when the `handle` property is set to `false` or
|
|
1413
|
+
* when the `breakpoints` property is not set (using a fullscreen or card modal).
|
|
1414
|
+
*/
|
|
1415
|
+
this.handleBehavior = 'none';
|
|
1416
|
+
/**
|
|
1417
|
+
* If `true`, the modal will be dismissed when the backdrop is clicked.
|
|
1418
|
+
*/
|
|
1419
|
+
this.backdropDismiss = true;
|
|
1420
|
+
/**
|
|
1421
|
+
* If `true`, a backdrop will be displayed behind the modal.
|
|
1422
|
+
* This property controls whether or not the backdrop
|
|
1423
|
+
* darkens the screen when the modal is presented.
|
|
1424
|
+
* It does not control whether or not the backdrop
|
|
1425
|
+
* is active or present in the DOM.
|
|
1426
|
+
*/
|
|
1427
|
+
this.showBackdrop = true;
|
|
1428
|
+
/**
|
|
1429
|
+
* If `true`, the modal will animate.
|
|
1430
|
+
*/
|
|
1431
|
+
this.animated = true;
|
|
1432
|
+
/**
|
|
1433
|
+
* If `true`, the modal will open. If `false`, the modal will close.
|
|
1434
|
+
* Use this if you need finer grained control over presentation, otherwise
|
|
1435
|
+
* just use the modalController or the `trigger` property.
|
|
1436
|
+
* Note: `isOpen` will not automatically be set back to `false` when
|
|
1437
|
+
* the modal dismisses. You will need to do that in your code.
|
|
1438
|
+
*/
|
|
1439
|
+
this.isOpen = false;
|
|
1440
|
+
/**
|
|
1441
|
+
* If `true`, the component passed into `ion-modal` will
|
|
1442
|
+
* automatically be mounted when the modal is created. The
|
|
1443
|
+
* component will remain mounted even when the modal is dismissed.
|
|
1444
|
+
* However, the component will be destroyed when the modal is
|
|
1445
|
+
* destroyed. This property is not reactive and should only be
|
|
1446
|
+
* used when initially creating a modal.
|
|
1447
|
+
*
|
|
1448
|
+
* Note: This feature only applies to inline modals in JavaScript
|
|
1449
|
+
* frameworks such as Angular, React, and Vue.
|
|
1450
|
+
*/
|
|
1451
|
+
this.keepContentsMounted = false;
|
|
1452
|
+
/**
|
|
1453
|
+
* If `true`, focus will not be allowed to move outside of this overlay.
|
|
1454
|
+
* If `false`, focus will be allowed to move outside of the overlay.
|
|
1455
|
+
*
|
|
1456
|
+
* In most scenarios this property should remain set to `true`. Setting
|
|
1457
|
+
* this property to `false` can cause severe accessibility issues as users
|
|
1458
|
+
* relying on assistive technologies may be able to move focus into
|
|
1459
|
+
* a confusing state. We recommend only setting this to `false` when
|
|
1460
|
+
* absolutely necessary.
|
|
1461
|
+
*
|
|
1462
|
+
* Developers may want to consider disabling focus trapping if this
|
|
1463
|
+
* overlay presents a non-Ionic overlay from a 3rd party library.
|
|
1464
|
+
* Developers would disable focus trapping on the Ionic overlay
|
|
1465
|
+
* when presenting the 3rd party overlay and then re-enable
|
|
1466
|
+
* focus trapping when dismissing the 3rd party overlay and moving
|
|
1467
|
+
* focus back to the Ionic overlay.
|
|
1468
|
+
*/
|
|
1469
|
+
this.focusTrap = true;
|
|
1470
|
+
/**
|
|
1471
|
+
* Determines whether or not a modal can dismiss
|
|
1472
|
+
* when calling the `dismiss` method.
|
|
1473
|
+
*
|
|
1474
|
+
* If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.
|
|
1475
|
+
* If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
|
|
1476
|
+
*
|
|
1477
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
1478
|
+
* if you need to access `this` from within the callback.
|
|
1479
|
+
*/
|
|
1480
|
+
this.canDismiss = true;
|
|
1377
1481
|
this.onHandleClick = () => {
|
|
1378
1482
|
const { sheetTransition, handleBehavior } = this;
|
|
1379
1483
|
if (handleBehavior !== 'cycle' || sheetTransition !== undefined) {
|
|
@@ -1411,32 +1515,6 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
1411
1515
|
el.dispatchEvent(ev);
|
|
1412
1516
|
}
|
|
1413
1517
|
};
|
|
1414
|
-
this.presented = false;
|
|
1415
|
-
this.hasController = false;
|
|
1416
|
-
this.overlayIndex = undefined;
|
|
1417
|
-
this.delegate = undefined;
|
|
1418
|
-
this.keyboardClose = true;
|
|
1419
|
-
this.enterAnimation = undefined;
|
|
1420
|
-
this.leaveAnimation = undefined;
|
|
1421
|
-
this.breakpoints = undefined;
|
|
1422
|
-
this.expandToScroll = true;
|
|
1423
|
-
this.initialBreakpoint = undefined;
|
|
1424
|
-
this.backdropBreakpoint = 0;
|
|
1425
|
-
this.handle = undefined;
|
|
1426
|
-
this.handleBehavior = 'none';
|
|
1427
|
-
this.component = undefined;
|
|
1428
|
-
this.componentProps = undefined;
|
|
1429
|
-
this.cssClass = undefined;
|
|
1430
|
-
this.backdropDismiss = true;
|
|
1431
|
-
this.showBackdrop = true;
|
|
1432
|
-
this.animated = true;
|
|
1433
|
-
this.presentingElement = undefined;
|
|
1434
|
-
this.htmlAttributes = undefined;
|
|
1435
|
-
this.isOpen = false;
|
|
1436
|
-
this.trigger = undefined;
|
|
1437
|
-
this.keepContentsMounted = false;
|
|
1438
|
-
this.focusTrap = true;
|
|
1439
|
-
this.canDismiss = true;
|
|
1440
1518
|
}
|
|
1441
1519
|
onIsOpenChange(newValue, oldValue) {
|
|
1442
1520
|
if (newValue === true && oldValue === false) {
|
|
@@ -1925,16 +2003,16 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
1925
2003
|
"trigger": ["triggerChanged"]
|
|
1926
2004
|
}; }
|
|
1927
2005
|
static get style() { return {
|
|
1928
|
-
ios:
|
|
1929
|
-
md:
|
|
2006
|
+
ios: modalIosCss,
|
|
2007
|
+
md: modalMdCss
|
|
1930
2008
|
}; }
|
|
1931
2009
|
}, [33, "ion-modal", {
|
|
1932
2010
|
"hasController": [4, "has-controller"],
|
|
1933
2011
|
"overlayIndex": [2, "overlay-index"],
|
|
1934
2012
|
"delegate": [16],
|
|
1935
2013
|
"keyboardClose": [4, "keyboard-close"],
|
|
1936
|
-
"enterAnimation": [16],
|
|
1937
|
-
"leaveAnimation": [16],
|
|
2014
|
+
"enterAnimation": [16, "enter-animation"],
|
|
2015
|
+
"leaveAnimation": [16, "leave-animation"],
|
|
1938
2016
|
"breakpoints": [16],
|
|
1939
2017
|
"expandToScroll": [4, "expand-to-scroll"],
|
|
1940
2018
|
"initialBreakpoint": [2, "initial-breakpoint"],
|
|
@@ -1942,13 +2020,13 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
1942
2020
|
"handle": [4],
|
|
1943
2021
|
"handleBehavior": [1, "handle-behavior"],
|
|
1944
2022
|
"component": [1],
|
|
1945
|
-
"componentProps": [16],
|
|
2023
|
+
"componentProps": [16, "component-props"],
|
|
1946
2024
|
"cssClass": [1, "css-class"],
|
|
1947
2025
|
"backdropDismiss": [4, "backdrop-dismiss"],
|
|
1948
2026
|
"showBackdrop": [4, "show-backdrop"],
|
|
1949
2027
|
"animated": [4],
|
|
1950
|
-
"presentingElement": [16],
|
|
1951
|
-
"htmlAttributes": [16],
|
|
2028
|
+
"presentingElement": [16, "presenting-element"],
|
|
2029
|
+
"htmlAttributes": [16, "html-attributes"],
|
|
1952
2030
|
"isOpen": [4, "is-open"],
|
|
1953
2031
|
"trigger": [1],
|
|
1954
2032
|
"keepContentsMounted": [4, "keep-contents-mounted"],
|
package/components/overlays.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { d as doc } from './
|
|
5
|
-
import {
|
|
4
|
+
import { d as doc } from './index9.js';
|
|
5
|
+
import { h as focusVisibleElement, c as componentOnReady, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
6
6
|
import { OVERLAY_BACK_BUTTON_PRIORITY, shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
7
|
-
import { c as config,
|
|
7
|
+
import { c as config, a as printIonError, p as printIonWarning } from './index4.js';
|
|
8
8
|
import { b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
9
9
|
import { C as CoreDelegate } from './framework-delegate.js';
|
|
10
10
|
import { B as BACKDROP_NO_SCROLL } from './gesture-controller.js';
|
|
@@ -7,10 +7,8 @@ import { c as createColorClasses } from './theme.js';
|
|
|
7
7
|
import { b as getIonMode } from './ionic-global.js';
|
|
8
8
|
|
|
9
9
|
const pickerColumnOptionIosCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";
|
|
10
|
-
const IonPickerColumnOptionIosStyle0 = pickerColumnOptionIosCss;
|
|
11
10
|
|
|
12
11
|
const pickerColumnOptionMdCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
|
|
13
|
-
const IonPickerColumnOptionMdStyle0 = pickerColumnOptionMdCss;
|
|
14
12
|
|
|
15
13
|
const PickerColumnOption = /*@__PURE__*/ proxyCustomElement(class PickerColumnOption extends HTMLElement {
|
|
16
14
|
constructor() {
|
|
@@ -23,9 +21,24 @@ const PickerColumnOption = /*@__PURE__*/ proxyCustomElement(class PickerColumnOp
|
|
|
23
21
|
* clicking an enable option.
|
|
24
22
|
*/
|
|
25
23
|
this.pickerColumn = null;
|
|
24
|
+
/**
|
|
25
|
+
* The aria-label of the option.
|
|
26
|
+
*
|
|
27
|
+
* If the value changes, then it will trigger a
|
|
28
|
+
* re-render of the picker since it's a @State variable.
|
|
29
|
+
* Otherwise, the `aria-label` attribute cannot be updated
|
|
30
|
+
* after the component is loaded.
|
|
31
|
+
*/
|
|
26
32
|
this.ariaLabel = null;
|
|
33
|
+
/**
|
|
34
|
+
* If `true`, the user cannot interact with the picker column option.
|
|
35
|
+
*/
|
|
27
36
|
this.disabled = false;
|
|
28
|
-
|
|
37
|
+
/**
|
|
38
|
+
* The color to use from your application's color palette.
|
|
39
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
40
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
41
|
+
*/
|
|
29
42
|
this.color = 'primary';
|
|
30
43
|
}
|
|
31
44
|
/**
|
|
@@ -96,8 +109,8 @@ const PickerColumnOption = /*@__PURE__*/ proxyCustomElement(class PickerColumnOp
|
|
|
96
109
|
"aria-label": ["onAriaLabelChange"]
|
|
97
110
|
}; }
|
|
98
111
|
static get style() { return {
|
|
99
|
-
ios:
|
|
100
|
-
md:
|
|
112
|
+
ios: pickerColumnOptionIosCss,
|
|
113
|
+
md: pickerColumnOptionMdCss
|
|
101
114
|
}; }
|
|
102
115
|
}, [33, "ion-picker-column-option", {
|
|
103
116
|
"disabled": [4],
|