@ionic/core 8.5.4-dev.11744646756.1244bf71 → 8.5.4-dev.11744657992.1bb14c4f
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 +23 -37
- package/components/alert.js +25 -41
- package/components/animation.js +1 -1
- package/components/backdrop.js +4 -11
- package/components/button-active.js +1 -1
- package/components/button.js +23 -29
- package/components/buttons.js +4 -14
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +16 -40
- package/components/content.js +5 -24
- package/components/data.js +5 -30
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +1 -1
- package/components/header.js +7 -12
- package/components/helpers.js +5 -2
- package/components/icon.js +2 -1
- package/components/index3.js +5 -3
- package/components/index4.js +1 -1
- package/components/index5.js +3 -28
- package/components/index7.js +27 -163
- package/components/index8.js +1 -1
- package/components/index9.js +163 -3
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +6 -19
- package/components/ion-accordion.js +14 -32
- package/components/ion-app.js +4 -3
- package/components/ion-avatar.js +4 -2
- package/components/ion-back-button.js +13 -12
- package/components/ion-badge.js +5 -2
- package/components/ion-breadcrumb.js +20 -22
- package/components/ion-breadcrumbs.js +10 -14
- package/components/ion-card-content.js +4 -2
- package/components/ion-card-header.js +5 -7
- package/components/ion-card-subtitle.js +5 -2
- package/components/ion-card-title.js +5 -2
- package/components/ion-card.js +11 -16
- package/components/ion-chip.js +5 -8
- package/components/ion-col.js +26 -1
- package/components/ion-datetime-button.js +13 -15
- package/components/ion-datetime.js +81 -196
- package/components/ion-fab-button.js +20 -37
- package/components/ion-fab-list.js +2 -7
- package/components/ion-fab.js +4 -10
- package/components/ion-footer.js +8 -13
- package/components/ion-grid.js +2 -4
- package/components/ion-img.js +6 -1
- package/components/ion-infinite-scroll-content.js +6 -2
- package/components/ion-infinite-scroll.js +6 -27
- package/components/ion-input-password-toggle.js +9 -7
- package/components/ion-input.js +44 -72
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +4 -2
- package/components/ion-item-option.js +12 -14
- package/components/ion-item-options.js +4 -6
- package/components/ion-item-sliding.js +2 -4
- package/components/ion-loading.js +19 -36
- package/components/ion-menu-button.js +10 -15
- package/components/ion-menu-toggle.js +5 -9
- package/components/ion-menu.js +9 -25
- package/components/ion-nav-link.js +6 -6
- package/components/ion-nav.js +10 -7
- package/components/ion-note.js +5 -2
- package/components/ion-picker-legacy.js +24 -44
- package/components/ion-progress-bar.js +6 -19
- package/components/ion-range.js +25 -65
- package/components/ion-refresher-content.js +5 -1
- package/components/ion-refresher.js +6 -54
- package/components/ion-reorder-group.js +4 -6
- package/components/ion-reorder.js +5 -3
- package/components/ion-route-redirect.js +2 -0
- package/components/ion-route.js +7 -9
- package/components/ion-router-link.js +9 -7
- package/components/ion-router-outlet.js +8 -10
- package/components/ion-router.js +0 -18
- package/components/ion-row.js +2 -1
- package/components/ion-searchbar.js +29 -78
- package/components/ion-segment-button.js +10 -19
- package/components/ion-segment-content.js +2 -1
- package/components/ion-segment-view.js +5 -5
- package/components/ion-segment.js +11 -22
- package/components/ion-select-option.js +3 -4
- package/components/ion-select.js +41 -61
- package/components/ion-skeleton-text.js +2 -4
- package/components/ion-split-pane.js +5 -10
- package/components/ion-tab-bar.js +6 -7
- package/components/ion-tab-button.js +12 -10
- package/components/ion-tab.js +5 -2
- package/components/ion-tabs.js +4 -3
- package/components/ion-text.js +3 -1
- package/components/ion-textarea.js +36 -64
- package/components/ion-thumbnail.js +2 -1
- package/components/ion-toast.js +32 -55
- package/components/ion-toggle.js +24 -55
- package/components/item.js +14 -20
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +69 -134
- package/components/keyboard2.js +134 -69
- package/components/label.js +6 -2
- package/components/list-header.js +6 -2
- package/components/list.js +5 -5
- package/components/modal.js +39 -117
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +2 -2
- package/components/picker-column-option.js +5 -18
- package/components/picker-column.js +10 -25
- package/components/picker-column2.js +8 -5
- package/components/picker.js +4 -2
- package/components/popover.js +37 -129
- package/components/radio-group.js +10 -10
- package/components/radio.js +13 -27
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +2 -10
- package/components/select-modal.js +8 -3
- package/components/select-popover.js +8 -5
- package/components/spinner.js +5 -4
- package/components/swipe-back.js +1 -1
- package/components/title.js +6 -2
- package/components/toolbar.js +5 -2
- 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-Bz5ImL40.js → animation-b4fdf128.js} +1 -1
- package/dist/cjs/{app-globals-CSpnImi2.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-BzpKQ5zN.js → button-active-43e2b419.js} +3 -3
- package/dist/cjs/{capacitor-DmA66EwP.js → capacitor-c04564bf.js} +1 -1
- package/dist/cjs/{data-BQSLLJwc.js → data-27cc2c9c.js} +5 -30
- package/dist/cjs/{framework-delegate-B0-bTZ_Y.js → framework-delegate-50a86d56.js} +1 -1
- package/dist/cjs/{gesture-controller-dtqlP_q4.js → gesture-controller-9436f482.js} +1 -1
- package/dist/cjs/{haptic-ClPPQ_PS.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/{hardware-back-button-B0yu2YGK.js → hardware-back-button-5a99001f.js} +3 -3
- package/dist/cjs/{helpers-CLmZlPvl.js → helpers-3a248559.js} +4 -1
- package/dist/cjs/{index-CPbAsnJK.js → index-073c7cdc.js} +0 -1
- package/dist/cjs/{index-qOuhvt-6.js → index-2e236a04.js} +668 -1392
- package/dist/cjs/{index-D7kGM2E_.js → index-48b2a28e.js} +1 -1
- package/dist/cjs/{index-BjVGGb_k.js → index-4b70187a.js} +9 -9
- package/dist/cjs/{index-3N0K8CTt.js → index-509ca0d3.js} +3 -3
- package/dist/cjs/{index-B4SdCKIQ.js → index-e36bd277.js} +2 -2
- package/dist/cjs/{index-04WNNW0S.js → index-e630fd95.js} +6 -6
- package/dist/cjs/{index-CAvQ7Tka.js → index-ee07ed59.js} +4 -3
- package/dist/cjs/index.cjs.js +20 -18
- package/dist/cjs/{input-shims-B23RZ_yw.js → input-shims-22a9973f.js} +8 -8
- package/dist/cjs/{input.utils-BvrpMdKU.js → input.utils-e82b8ed0.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +25 -54
- package/dist/cjs/ion-action-sheet.cjs.entry.js +38 -50
- package/dist/cjs/ion-alert.cjs.entry.js +41 -55
- package/dist/cjs/ion-app_8.cjs.entry.js +65 -96
- package/dist/cjs/ion-avatar_3.cjs.entry.js +16 -8
- package/dist/cjs/ion-back-button.cjs.entry.js +18 -15
- package/dist/cjs/ion-backdrop.cjs.entry.js +8 -13
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +34 -38
- package/dist/cjs/ion-button_2.cjs.entry.js +30 -33
- package/dist/cjs/ion-card_5.cjs.entry.js +35 -32
- package/dist/cjs/ion-checkbox.cjs.entry.js +22 -44
- package/dist/cjs/ion-chip.cjs.entry.js +10 -11
- package/dist/cjs/ion-col_3.cjs.entry.js +34 -8
- package/dist/cjs/ion-datetime-button.cjs.entry.js +20 -20
- package/dist/cjs/ion-datetime_3.cjs.entry.js +122 -251
- package/dist/cjs/ion-fab_3.cjs.entry.js +31 -57
- package/dist/cjs/ion-img.cjs.entry.js +11 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +20 -35
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +15 -11
- package/dist/cjs/ion-input.cjs.entry.js +53 -79
- package/dist/cjs/ion-item-option_3.cjs.entry.js +28 -32
- package/dist/cjs/ion-item_8.cjs.entry.js +52 -49
- package/dist/cjs/ion-loading.cjs.entry.js +31 -46
- package/dist/cjs/ion-menu_3.cjs.entry.js +39 -62
- package/dist/cjs/ion-modal.cjs.entry.js +52 -128
- package/dist/cjs/ion-nav_2.cjs.entry.js +22 -17
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +11 -22
- package/dist/cjs/ion-picker-column.cjs.entry.js +17 -30
- package/dist/cjs/ion-picker.cjs.entry.js +8 -4
- package/dist/cjs/ion-popover.cjs.entry.js +47 -137
- package/dist/cjs/ion-progress-bar.cjs.entry.js +11 -22
- package/dist/cjs/ion-radio_2.cjs.entry.js +30 -42
- package/dist/cjs/ion-range.cjs.entry.js +33 -71
- package/dist/cjs/ion-refresher_2.cjs.entry.js +26 -68
- package/dist/cjs/ion-reorder_2.cjs.entry.js +19 -17
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +6 -12
- package/dist/cjs/ion-route_4.cjs.entry.js +20 -34
- package/dist/cjs/ion-searchbar.cjs.entry.js +36 -83
- package/dist/cjs/ion-segment-content.cjs.entry.js +5 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +8 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +29 -47
- package/dist/cjs/ion-select-modal.cjs.entry.js +20 -13
- package/dist/cjs/ion-select_3.cjs.entry.js +65 -82
- package/dist/cjs/ion-spinner.cjs.entry.js +11 -8
- package/dist/cjs/ion-split-pane.cjs.entry.js +9 -12
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -25
- package/dist/cjs/ion-tab_2.cjs.entry.js +14 -8
- package/dist/cjs/ion-text.cjs.entry.js +8 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +45 -71
- package/dist/cjs/ion-toast.cjs.entry.js +44 -65
- package/dist/cjs/ion-toggle.cjs.entry.js +34 -63
- package/dist/cjs/{ionic-global-D0fKFhpt.js → ionic-global-acb665ad.js} +1 -1
- package/dist/cjs/ionic.cjs.js +8 -8
- package/dist/cjs/{ios.transition-Cyrk-CkT.js → ios.transition-ae7afca9.js} +7 -7
- package/dist/cjs/{keyboard-UuAS4D_9.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-hHzlEQpk.js → keyboard-af1bb365.js} +3 -3
- package/dist/cjs/{keyboard-controller-GXBiBRKS.js → keyboard-controller-c05e747a.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -4
- package/dist/cjs/{md.transition-Bh2J94f4.js → md.transition-26003e25.js} +7 -7
- package/dist/cjs/{notch-controller-DNfj7cO6.js → notch-controller-ae03a497.js} +2 -2
- package/dist/cjs/{overlays-hvRku41m.js → overlays-32e1b66b.js} +7 -7
- package/dist/cjs/{status-tap-EJ9Sb5hb.js → status-tap-03023755.js} +5 -5
- package/dist/cjs/{swipe-back-Di-t3rsI.js → swipe-back-cd0d9f77.js} +4 -4
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +13 -43
- package/dist/collection/components/accordion-group/accordion-group.js +8 -35
- package/dist/collection/components/action-sheet/action-sheet.js +31 -84
- package/dist/collection/components/alert/alert.js +34 -94
- package/dist/collection/components/back-button/back-button.js +14 -30
- package/dist/collection/components/backdrop/backdrop.js +3 -18
- package/dist/collection/components/badge/badge.js +4 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js +26 -57
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +10 -24
- package/dist/collection/components/button/button.js +33 -74
- package/dist/collection/components/buttons/buttons.js +1 -15
- package/dist/collection/components/card/card.js +16 -44
- package/dist/collection/components/card-header/card-header.js +3 -11
- package/dist/collection/components/card-subtitle/card-subtitle.js +4 -3
- package/dist/collection/components/card-title/card-title.js +4 -3
- package/dist/collection/components/checkbox/checkbox.js +24 -74
- package/dist/collection/components/chip/chip.js +4 -15
- package/dist/collection/components/col/col.js +50 -72
- package/dist/collection/components/content/content.js +9 -43
- package/dist/collection/components/datetime/datetime.ios.css +2 -7
- package/dist/collection/components/datetime/datetime.js +98 -298
- package/dist/collection/components/datetime/datetime.md.css +3 -9
- package/dist/collection/components/datetime/utils/data.js +4 -29
- package/dist/collection/components/datetime-button/datetime-button.js +11 -21
- package/dist/collection/components/fab/fab.js +6 -21
- package/dist/collection/components/fab-button/fab-button.js +28 -76
- package/dist/collection/components/fab-list/fab-list.js +2 -12
- package/dist/collection/components/footer/footer.js +5 -16
- package/dist/collection/components/grid/grid.js +1 -6
- package/dist/collection/components/header/header.js +4 -15
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +7 -35
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -6
- package/dist/collection/components/input/input.js +72 -171
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +8 -16
- package/dist/collection/components/item/item.js +21 -56
- package/dist/collection/components/item-divider/item-divider.js +3 -13
- package/dist/collection/components/item-option/item-option.js +16 -36
- package/dist/collection/components/item-options/item-options.js +1 -7
- package/dist/collection/components/item-sliding/item-sliding.js +1 -6
- package/dist/collection/components/label/label.js +4 -6
- package/dist/collection/components/list/list.js +3 -9
- package/dist/collection/components/list-header/list-header.js +6 -6
- package/dist/collection/components/loading/loading.js +29 -86
- package/dist/collection/components/menu/menu.js +10 -42
- package/dist/collection/components/menu-button/menu-button.js +10 -27
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -14
- package/dist/collection/components/modal/modal.js +51 -188
- package/dist/collection/components/nav/nav.js +11 -24
- package/dist/collection/components/nav-link/nav-link.js +8 -18
- package/dist/collection/components/note/note.js +4 -3
- package/dist/collection/components/picker-column/picker-column.js +10 -34
- package/dist/collection/components/picker-column-option/picker-column-option.js +4 -25
- package/dist/collection/components/picker-legacy/picker.js +31 -91
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -4
- package/dist/collection/components/popover/popover.js +55 -208
- package/dist/collection/components/progress-bar/progress-bar.js +6 -31
- package/dist/collection/components/radio/radio.js +16 -46
- package/dist/collection/components/radio-group/radio-group.js +12 -26
- package/dist/collection/components/range/range.js +34 -109
- package/dist/collection/components/refresher/refresher.js +6 -68
- package/dist/collection/components/refresher-content/refresher-content.js +8 -12
- package/dist/collection/components/reorder-group/reorder-group.js +1 -6
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -12
- package/dist/collection/components/route/route.js +9 -24
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +2 -24
- package/dist/collection/components/router-link/router-link.js +12 -24
- package/dist/collection/components/router-outlet/router-outlet.js +8 -24
- package/dist/collection/components/searchbar/searchbar.js +46 -141
- package/dist/collection/components/segment/segment.js +13 -38
- package/dist/collection/components/segment-button/segment-button.js +11 -32
- package/dist/collection/components/segment-view/segment-view.js +2 -6
- package/dist/collection/components/select/select.ios.css +5 -3
- package/dist/collection/components/select/select.js +55 -121
- package/dist/collection/components/select/select.md.css +61 -16
- package/dist/collection/components/select-modal/select-modal.js +4 -9
- package/dist/collection/components/select-option/select-option.js +3 -9
- package/dist/collection/components/select-popover/select-popover.js +8 -18
- package/dist/collection/components/skeleton-text/skeleton-text.js +1 -6
- package/dist/collection/components/spinner/spinner.js +7 -15
- package/dist/collection/components/split-pane/split-pane.js +4 -17
- package/dist/collection/components/tab/tab.js +7 -14
- package/dist/collection/components/tab-bar/tab-bar.js +5 -14
- package/dist/collection/components/tab-button/tab-button.js +16 -32
- package/dist/collection/components/tabs/tabs.js +3 -5
- package/dist/collection/components/text/text.js +4 -3
- package/dist/collection/components/textarea/textarea.js +59 -146
- package/dist/collection/components/title/title.js +6 -6
- package/dist/collection/components/toast/toast.js +45 -119
- package/dist/collection/components/toggle/toggle.js +28 -86
- package/dist/collection/components/toolbar/toolbar.js +2 -3
- package/dist/docs.d.ts +0 -8
- package/dist/docs.json +584 -1823
- package/dist/esm/{animation-CCtpQcsN.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-C0a0o4Av.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-BQqkZ_sm.js → button-active-90f1dbc4.js} +3 -3
- package/dist/esm/{capacitor-CFERIeaU.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-omKWOMer.js → data-174ad5e0.js} +6 -31
- package/dist/esm/{framework-delegate-D3CI7y6x.js → framework-delegate-2eea1763.js} +1 -1
- package/dist/esm/{gesture-controller-BTEOs1at.js → gesture-controller-314a54f6.js} +1 -1
- package/dist/esm/{haptic-DzAMWJuk.js → haptic-ac164e4c.js} +2 -2
- package/dist/esm/{hardware-back-button-RMajLSrZ.js → hardware-back-button-864101a3.js} +3 -3
- package/dist/esm/{helpers-Di6ciXLG.js → helpers-78efeec3.js} +5 -2
- package/dist/esm/{index-CfgBF1SE.js → index-39782642.js} +6 -4
- package/dist/esm/{index-B2_fY2up.js → index-40894f4b.js} +2 -2
- package/dist/esm/{index-EP3pwcdb.js → index-527b9e34.js} +648 -1392
- package/dist/esm/{index-DR2njD_q.js → index-738d7504.js} +2 -2
- package/dist/esm/{index-BLV6ykCk.js → index-e2cf2ceb.js} +1 -2
- package/dist/esm/{index-CDohRbVJ.js → index-e919e353.js} +3 -3
- package/dist/esm/{index-BKfOgUuW.js → index-ecb55b8d.js} +6 -6
- package/dist/esm/{index-C7r3mIlB.js → index-f9f5d018.js} +6 -6
- package/dist/esm/index.js +18 -18
- package/dist/esm/{input-shims-Clcc9pEO.js → input-shims-7dc1f6dc.js} +8 -8
- package/dist/esm/{input.utils-BeGXuyDm.js → input.utils-28bf4ef0.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +23 -54
- package/dist/esm/ion-action-sheet.entry.js +36 -50
- package/dist/esm/ion-alert.entry.js +39 -55
- package/dist/esm/ion-app_8.entry.js +63 -96
- package/dist/esm/ion-avatar_3.entry.js +14 -8
- package/dist/esm/ion-back-button.entry.js +16 -15
- package/dist/esm/ion-backdrop.entry.js +6 -13
- package/dist/esm/ion-breadcrumb_2.entry.js +32 -38
- package/dist/esm/ion-button_2.entry.js +28 -33
- package/dist/esm/ion-card_5.entry.js +33 -32
- package/dist/esm/ion-checkbox.entry.js +20 -44
- package/dist/esm/ion-chip.entry.js +8 -11
- package/dist/esm/ion-col_3.entry.js +32 -8
- package/dist/esm/ion-datetime-button.entry.js +18 -20
- package/dist/esm/ion-datetime_3.entry.js +120 -251
- package/dist/esm/ion-fab_3.entry.js +29 -57
- package/dist/esm/ion-img.entry.js +9 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +18 -35
- package/dist/esm/ion-input-password-toggle.entry.js +13 -11
- package/dist/esm/ion-input.entry.js +51 -79
- package/dist/esm/ion-item-option_3.entry.js +26 -32
- package/dist/esm/ion-item_8.entry.js +50 -49
- package/dist/esm/ion-loading.entry.js +29 -46
- package/dist/esm/ion-menu_3.entry.js +37 -62
- package/dist/esm/ion-modal.entry.js +50 -128
- package/dist/esm/ion-nav_2.entry.js +20 -17
- package/dist/esm/ion-picker-column-option.entry.js +9 -22
- package/dist/esm/ion-picker-column.entry.js +15 -30
- package/dist/esm/ion-picker.entry.js +6 -4
- package/dist/esm/ion-popover.entry.js +45 -137
- package/dist/esm/ion-progress-bar.entry.js +9 -22
- package/dist/esm/ion-radio_2.entry.js +28 -42
- package/dist/esm/ion-range.entry.js +31 -71
- package/dist/esm/ion-refresher_2.entry.js +24 -68
- package/dist/esm/ion-reorder_2.entry.js +17 -17
- package/dist/esm/ion-ripple-effect.entry.js +4 -12
- package/dist/esm/ion-route_4.entry.js +18 -34
- package/dist/esm/ion-searchbar.entry.js +34 -83
- package/dist/esm/ion-segment-content.entry.js +3 -2
- package/dist/esm/ion-segment-view.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +27 -47
- package/dist/esm/ion-select-modal.entry.js +18 -13
- package/dist/esm/ion-select_3.entry.js +63 -82
- package/dist/esm/ion-spinner.entry.js +9 -8
- package/dist/esm/ion-split-pane.entry.js +7 -12
- package/dist/esm/ion-tab-bar_2.entry.js +26 -25
- package/dist/esm/ion-tab_2.entry.js +12 -8
- package/dist/esm/ion-text.entry.js +6 -4
- package/dist/esm/ion-textarea.entry.js +43 -71
- package/dist/esm/ion-toast.entry.js +42 -65
- package/dist/esm/ion-toggle.entry.js +32 -63
- package/dist/esm/{ionic-global-CrB2BPUW.js → ionic-global-ca86cf32.js} +1 -1
- package/dist/esm/ionic.js +6 -7
- package/dist/esm/{ios.transition-BObaMu_w.js → ios.transition-7fe5dbea.js} +7 -7
- package/dist/esm/{keyboard-ywgs5efA.js → keyboard-52278bd7.js} +3 -3
- package/dist/esm/{keyboard-CUw4ekVy.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-BaaVITYt.js → keyboard-controller-ec5c2bfa.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BYk9oj5T.js → md.transition-8dc58b46.js} +7 -7
- package/dist/esm/{notch-controller-PoOhjO4o.js → notch-controller-00d92e89.js} +2 -2
- package/dist/esm/{overlays-DUDTB6a2.js → overlays-41a5d51b.js} +7 -7
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/{status-tap-Az5SFsVV.js → status-tap-f6d08e9e.js} +5 -5
- package/dist/esm/{swipe-back-Df75PJ2J.js → swipe-back-07df2095.js} +4 -4
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/button-active-90f1dbc4.js +4 -0
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +4 -0
- package/dist/esm-es5/config-49c88215.js +4 -0
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +4 -0
- package/dist/esm-es5/data-174ad5e0.js +4 -0
- package/dist/esm-es5/dir-babeabeb.js +4 -0
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-2eea1763.js +4 -0
- package/dist/esm-es5/gesture-controller-314a54f6.js +4 -0
- package/dist/esm-es5/haptic-ac164e4c.js +4 -0
- package/dist/esm-es5/hardware-back-button-864101a3.js +4 -0
- package/dist/esm-es5/helpers-78efeec3.js +4 -0
- package/dist/esm-es5/index-39782642.js +4 -0
- package/dist/esm-es5/index-40894f4b.js +4 -0
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/index-738d7504.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index-e2cf2ceb.js +4 -0
- package/dist/esm-es5/index-e919e353.js +4 -0
- package/dist/esm-es5/index-ecb55b8d.js +4 -0
- package/dist/esm-es5/index-f9f5d018.js +4 -0
- package/dist/esm-es5/index.js +4 -0
- package/dist/esm-es5/input-shims-7dc1f6dc.js +4 -0
- package/dist/esm-es5/input.utils-28bf4ef0.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +4 -0
- package/dist/esm-es5/ion-action-sheet.entry.js +4 -0
- package/dist/esm-es5/ion-alert.entry.js +4 -0
- package/dist/esm-es5/ion-app_8.entry.js +4 -0
- package/dist/esm-es5/ion-avatar_3.entry.js +4 -0
- package/dist/esm-es5/ion-back-button.entry.js +4 -0
- package/dist/esm-es5/ion-backdrop.entry.js +4 -0
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +4 -0
- package/dist/esm-es5/ion-button_2.entry.js +4 -0
- package/dist/esm-es5/ion-card_5.entry.js +4 -0
- package/dist/esm-es5/ion-checkbox.entry.js +4 -0
- package/dist/esm-es5/ion-chip.entry.js +4 -0
- package/dist/esm-es5/ion-col_3.entry.js +4 -0
- package/dist/esm-es5/ion-datetime-button.entry.js +4 -0
- package/dist/esm-es5/ion-datetime_3.entry.js +4 -0
- package/dist/esm-es5/ion-fab_3.entry.js +4 -0
- package/dist/esm-es5/ion-img.entry.js +4 -0
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +4 -0
- package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
- package/dist/esm-es5/ion-input.entry.js +4 -0
- package/dist/esm-es5/ion-item-option_3.entry.js +4 -0
- package/dist/esm-es5/ion-item_8.entry.js +4 -0
- package/dist/esm-es5/ion-loading.entry.js +4 -0
- package/dist/esm-es5/ion-menu_3.entry.js +4 -0
- package/dist/esm-es5/ion-modal.entry.js +4 -0
- package/dist/esm-es5/ion-nav_2.entry.js +4 -0
- package/dist/esm-es5/ion-picker-column-option.entry.js +4 -0
- package/dist/esm-es5/ion-picker-column.entry.js +4 -0
- package/dist/esm-es5/ion-picker.entry.js +4 -0
- package/dist/esm-es5/ion-popover.entry.js +4 -0
- package/dist/esm-es5/ion-progress-bar.entry.js +4 -0
- package/dist/esm-es5/ion-radio_2.entry.js +4 -0
- package/dist/esm-es5/ion-range.entry.js +4 -0
- package/dist/esm-es5/ion-refresher_2.entry.js +4 -0
- package/dist/esm-es5/ion-reorder_2.entry.js +4 -0
- package/dist/esm-es5/ion-ripple-effect.entry.js +4 -0
- package/dist/esm-es5/ion-route_4.entry.js +4 -0
- package/dist/esm-es5/ion-searchbar.entry.js +4 -0
- package/dist/esm-es5/ion-segment-content.entry.js +4 -0
- package/dist/esm-es5/ion-segment-view.entry.js +4 -0
- package/dist/esm-es5/ion-segment_2.entry.js +4 -0
- package/dist/esm-es5/ion-select-modal.entry.js +4 -0
- package/dist/esm-es5/ion-select_3.entry.js +4 -0
- package/dist/esm-es5/ion-spinner.entry.js +4 -0
- package/dist/esm-es5/ion-split-pane.entry.js +4 -0
- package/dist/esm-es5/ion-tab-bar_2.entry.js +4 -0
- package/dist/esm-es5/ion-tab_2.entry.js +4 -0
- package/dist/esm-es5/ion-text.entry.js +4 -0
- package/dist/esm-es5/ion-textarea.entry.js +4 -0
- package/dist/esm-es5/ion-toast.entry.js +4 -0
- package/dist/esm-es5/ion-toggle.entry.js +4 -0
- package/dist/esm-es5/ionic-global-ca86cf32.js +4 -0
- package/dist/esm-es5/ionic.js +4 -0
- package/dist/esm-es5/ios.transition-7fe5dbea.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/keyboard-73175e24.js +4 -0
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +4 -0
- package/dist/esm-es5/lock-controller-316928be.js +4 -0
- package/dist/esm-es5/md.transition-8dc58b46.js +4 -0
- package/dist/esm-es5/notch-controller-00d92e89.js +4 -0
- package/dist/esm-es5/overlays-41a5d51b.js +4 -0
- package/dist/esm-es5/spinner-configs-964f7cf3.js +4 -0
- package/dist/esm-es5/status-tap-f6d08e9e.js +4 -0
- package/dist/esm-es5/swipe-back-07df2095.js +4 -0
- package/dist/esm-es5/theme-01f3f29c.js +4 -0
- package/dist/esm-es5/watch-options-c2911ace.js +4 -0
- package/dist/html.html-data.json +0 -216
- 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/ionic.js +127 -0
- package/dist/ionic/p-012c3ceb.system.js +4 -0
- package/dist/ionic/p-027a48f1.entry.js +4 -0
- package/dist/ionic/p-058b7f35.js +4 -0
- package/dist/ionic/p-05b65d7a.entry.js +4 -0
- package/dist/ionic/p-08e01816.system.js +4 -0
- package/dist/ionic/p-09d185ff.system.js +4 -0
- package/dist/ionic/p-0a456b7f.entry.js +4 -0
- package/dist/ionic/p-0adb6909.system.entry.js +4 -0
- package/dist/ionic/p-0bedc891.system.entry.js +4 -0
- package/dist/ionic/p-0c8386d3.entry.js +4 -0
- package/dist/ionic/p-0d1be7c9.system.entry.js +4 -0
- package/dist/ionic/p-0ec5b7cf.system.js +4 -0
- package/dist/ionic/p-14114a59.system.entry.js +4 -0
- package/dist/ionic/p-14e041cd.system.entry.js +4 -0
- package/dist/ionic/p-15bb1dde.system.js +4 -0
- package/dist/ionic/p-180b4f9a.entry.js +4 -0
- package/dist/ionic/p-19c32a76.entry.js +4 -0
- package/dist/ionic/p-1b0b2210.entry.js +4 -0
- package/dist/ionic/p-1bf5ec17.system.js +4 -0
- package/dist/ionic/p-1c1d781d.system.entry.js +4 -0
- package/dist/ionic/p-1c8b3ac9.entry.js +4 -0
- package/dist/ionic/p-1de5dfcd.system.entry.js +4 -0
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/p-20d469d0.system.js +4 -0
- package/dist/ionic/p-21891ead.js +4 -0
- package/dist/ionic/{p-CwbsDRzJ.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-9cac4dc7.entry.js → p-2567237c.entry.js} +1 -1
- package/dist/ionic/{p-D13Eaw-8.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-28c81576.entry.js +4 -0
- package/dist/ionic/p-29a5b4e4.entry.js +4 -0
- package/dist/ionic/p-2a2c6bf4.system.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-33518a04.entry.js +4 -0
- package/dist/ionic/p-35f14792.entry.js +4 -0
- package/dist/ionic/p-383a6058.entry.js +4 -0
- package/dist/ionic/p-3855fef7.system.js +4 -0
- package/dist/ionic/p-38eaf9cf.system.entry.js +4 -0
- package/dist/ionic/p-3ba2a2cd.system.js +4 -0
- package/dist/ionic/p-3e1e14d9.system.js +4 -0
- package/dist/ionic/{p-C-oNjncL.js → p-3f4327f7.js} +1 -1
- package/dist/ionic/p-41e70fa2.entry.js +4 -0
- package/dist/ionic/p-44fde7d5.system.entry.js +4 -0
- package/dist/ionic/{p-uzIBoXdl.js → p-44ff75ea.js} +1 -1
- package/dist/ionic/p-455cd7cc.system.js +4 -0
- package/dist/ionic/p-4609d030.system.js +4 -0
- package/dist/ionic/p-4630688e.system.entry.js +4 -0
- package/dist/ionic/p-4662a25c.system.entry.js +4 -0
- package/dist/ionic/p-49d53551.system.entry.js +4 -0
- package/dist/ionic/p-4b07c60a.system.js +4 -0
- package/dist/ionic/p-4c7e6fec.system.entry.js +4 -0
- package/dist/ionic/p-4d5bce60.system.entry.js +4 -0
- package/dist/ionic/p-4ea4c73a.system.entry.js +4 -0
- package/dist/ionic/p-4eeca839.system.entry.js +4 -0
- package/dist/ionic/p-4f255d5a.system.js +4 -0
- package/dist/ionic/p-50e0ce13.entry.js +4 -0
- package/dist/ionic/p-51479be0.system.entry.js +4 -0
- package/dist/ionic/p-5578033e.system.entry.js +4 -0
- package/dist/ionic/{p-HRylM0tf.js → p-597ff9af.js} +1 -1
- package/dist/ionic/p-5fb1321f.entry.js +4 -0
- package/dist/ionic/p-607aa181.entry.js +4 -0
- package/dist/ionic/p-61373098.js +4 -0
- package/dist/ionic/p-6155027f.system.entry.js +4 -0
- package/dist/ionic/p-61e794fb.entry.js +4 -0
- package/dist/ionic/{p-RyPJq84W.js → p-624ecf03.js} +1 -1
- package/dist/ionic/p-64d8ac48.js +4 -0
- package/dist/ionic/p-657ada6a.entry.js +4 -0
- package/dist/ionic/p-65943bec.system.entry.js +4 -0
- package/dist/ionic/p-65e732b9.entry.js +4 -0
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/p-69a96be9.system.entry.js +4 -0
- package/dist/ionic/p-6c044a1d.system.js +4 -0
- package/dist/ionic/p-7058a5e4.system.entry.js +4 -0
- package/dist/ionic/p-705fda69.system.js +4 -0
- package/dist/ionic/p-707408c5.system.entry.js +4 -0
- package/dist/ionic/p-70abb1f2.system.entry.js +4 -0
- package/dist/ionic/p-747f9517.entry.js +4 -0
- package/dist/ionic/{p-DSMkBmnY.js → p-756e4559.js} +1 -1
- package/dist/ionic/p-772d1657.system.js +4 -0
- package/dist/ionic/p-77aa5fef.system.entry.js +4 -0
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/p-7c9daa6f.entry.js +4 -0
- package/dist/ionic/p-7cc33a9a.system.js +4 -0
- package/dist/ionic/p-7e3b5638.system.entry.js +4 -0
- package/dist/ionic/p-7f49a9c4.entry.js +4 -0
- package/dist/ionic/p-843ac05d.system.entry.js +4 -0
- package/dist/ionic/p-87b0d2c9.entry.js +4 -0
- package/dist/ionic/p-8985cdb6.system.js +4 -0
- package/dist/ionic/{p-CKvCXMs9.js → p-89b61afc.js} +1 -1
- package/dist/ionic/p-8b1c1fd7.entry.js +4 -0
- package/dist/ionic/p-8b22be32.system.entry.js +4 -0
- package/dist/ionic/p-8d98e2bb.entry.js +4 -0
- package/dist/ionic/p-8ededb41.js +4 -0
- package/dist/ionic/p-9146695e.system.js +4 -0
- package/dist/ionic/p-959cf042.system.entry.js +4 -0
- package/dist/ionic/p-96eec056.entry.js +4 -0
- package/dist/ionic/p-978bdf4c.system.js +4 -0
- package/dist/ionic/p-979d4f5c.system.js +4 -0
- package/dist/ionic/p-9870728f.js +4 -0
- package/dist/ionic/p-99803283.entry.js +4 -0
- package/dist/ionic/p-9af7f110.js +4 -0
- package/dist/ionic/{p-7cdee842.entry.js → p-9b069739.entry.js} +1 -1
- package/dist/ionic/p-9e45532a.system.js +4 -0
- package/dist/ionic/p-a26d7667.system.entry.js +4 -0
- package/dist/ionic/p-a3c931ad.system.js +4 -0
- package/dist/ionic/p-a4866e3e.system.js +4 -0
- package/dist/ionic/p-a520973b.entry.js +4 -0
- package/dist/ionic/p-a6625de8.system.js +4 -0
- package/dist/ionic/p-a75a9e5a.system.entry.js +4 -0
- package/dist/ionic/p-a768ae50.entry.js +4 -0
- package/dist/ionic/p-a7830ff8.entry.js +4 -0
- package/dist/ionic/p-a9198501.system.entry.js +4 -0
- package/dist/ionic/p-a93873de.system.js +4 -0
- package/dist/ionic/p-ab7337e1.entry.js +4 -0
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/p-ac09b6e9.system.entry.js +4 -0
- package/dist/ionic/p-ac58d726.system.entry.js +4 -0
- package/dist/ionic/p-b06ac4a5.system.js +4 -0
- package/dist/ionic/p-b1673667.entry.js +4 -0
- package/dist/ionic/p-b1f9fbe8.system.entry.js +4 -0
- package/dist/ionic/p-b2ee0628.system.entry.js +4 -0
- package/dist/ionic/{p-f1f6326a.entry.js → p-b87a9f1d.entry.js} +1 -1
- package/dist/ionic/p-b8a461f5.system.entry.js +4 -0
- package/dist/ionic/{p-mxKP5hf-.js → p-b9fa7882.js} +1 -1
- package/dist/ionic/p-ba29521b.entry.js +4 -0
- package/dist/ionic/p-bf64af90.system.js +4 -0
- package/dist/ionic/{p-189c7fe9.entry.js → p-c005cc37.entry.js} +1 -1
- package/dist/ionic/p-c27c57ea.system.entry.js +4 -0
- package/dist/ionic/p-c3f9d9fe.js +4 -0
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c53c414d.system.entry.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c63d8dc1.js +4 -0
- package/dist/ionic/p-c7e16491.js +4 -0
- package/dist/ionic/p-ccb740ea.entry.js +4 -0
- package/dist/ionic/p-cec54707.system.entry.js +4 -0
- package/dist/ionic/p-cfc08422.entry.js +4 -0
- package/dist/ionic/p-cff4f96c.entry.js +4 -0
- package/dist/ionic/p-d40f2b7a.js +4 -0
- package/dist/ionic/p-d70a9e6d.system.js +4 -0
- package/dist/ionic/p-d882f1e2.system.entry.js +4 -0
- package/dist/ionic/p-d8d84afa.system.js +4 -0
- package/dist/ionic/{p-BLV6ykCk.js → p-da2b833b.js} +1 -1
- package/dist/ionic/p-dcc0d747.entry.js +4 -0
- package/dist/ionic/p-e0b7569c.system.entry.js +4 -0
- package/dist/ionic/p-e11ff516.entry.js +4 -0
- package/dist/ionic/p-e29c5aab.system.entry.js +4 -0
- package/dist/ionic/p-e2ce5f8b.entry.js +4 -0
- package/dist/ionic/p-e3284879.system.entry.js +4 -0
- package/dist/ionic/p-e3e4eed7.entry.js +4 -0
- package/dist/ionic/p-e4683bfd.system.entry.js +4 -0
- package/dist/ionic/p-e4d2c281.entry.js +4 -0
- package/dist/ionic/p-e65b8460.entry.js +4 -0
- package/dist/ionic/p-e673a0a2.system.js +4 -0
- package/dist/ionic/p-e6cdfa96.system.entry.js +4 -0
- package/dist/ionic/{p-46f82b82.entry.js → p-e8245753.entry.js} +1 -1
- package/dist/ionic/p-ece78e7b.js +4 -0
- package/dist/ionic/p-ee86cfff.system.js +4 -0
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/p-f23124c4.system.js +4 -0
- package/dist/ionic/p-f233f1e0.system.js +4 -0
- package/dist/ionic/p-f387b3c6.system.entry.js +4 -0
- package/dist/ionic/{p-D_2UPtUV.js → p-f53ee2e7.js} +1 -1
- package/dist/ionic/p-f5a04e5e.system.entry.js +4 -0
- package/dist/ionic/p-f6bb9be7.system.entry.js +4 -0
- package/dist/ionic/p-f70fc14a.entry.js +4 -0
- package/dist/ionic/{p-Cg19OPuo.js → p-f7ce606e.js} +1 -1
- package/dist/ionic/p-f834322a.entry.js +4 -0
- package/dist/ionic/p-f896194a.system.entry.js +4 -0
- package/dist/ionic/p-fa70eaab.entry.js +4 -0
- package/dist/ionic/p-ffa3ba3c.js +4 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +0 -1
- package/dist/types/components/datetime/datetime.d.ts +0 -6
- package/dist/types/components/datetime/utils/data.d.ts +1 -3
- package/dist/types/components/datetime/utils/manipulation.d.ts +0 -1
- package/dist/types/components/input/input.d.ts +8 -0
- package/dist/types/components/select/select.d.ts +9 -0
- package/dist/types/components/textarea/textarea.d.ts +8 -0
- package/dist/types/components.d.ts +0 -8
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -9
- package/hydrate/index.d.ts +5 -40
- package/hydrate/index.js +2229 -4687
- package/hydrate/index.mjs +2228 -4686
- package/loader/cdn.js +2 -1
- package/loader/index.cjs.js +2 -1
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -1
- package/loader/package.json +11 -0
- package/package.json +2 -2
- package/dist/ionic/p-006975c7.entry.js +0 -4
- package/dist/ionic/p-00acbe36.entry.js +0 -4
- package/dist/ionic/p-03abd858.entry.js +0 -4
- package/dist/ionic/p-141822bc.entry.js +0 -4
- package/dist/ionic/p-17e8ff6b.entry.js +0 -4
- package/dist/ionic/p-18b4709f.entry.js +0 -4
- package/dist/ionic/p-1bea6291.entry.js +0 -4
- package/dist/ionic/p-1f3d9d38.entry.js +0 -4
- package/dist/ionic/p-20b45b04.entry.js +0 -4
- package/dist/ionic/p-2959ef70.entry.js +0 -4
- package/dist/ionic/p-2b9a91c2.entry.js +0 -4
- package/dist/ionic/p-2c58164d.entry.js +0 -4
- package/dist/ionic/p-2d142503.entry.js +0 -4
- package/dist/ionic/p-3129a2c6.entry.js +0 -4
- package/dist/ionic/p-3a5bc7b1.entry.js +0 -4
- package/dist/ionic/p-40e55257.entry.js +0 -4
- package/dist/ionic/p-45f3c7d9.entry.js +0 -4
- package/dist/ionic/p-47ccb59d.entry.js +0 -4
- package/dist/ionic/p-4bd5bd61.entry.js +0 -4
- package/dist/ionic/p-52043361.entry.js +0 -4
- package/dist/ionic/p-527660e0.entry.js +0 -4
- package/dist/ionic/p-601f0d27.entry.js +0 -4
- package/dist/ionic/p-644759cb.entry.js +0 -4
- package/dist/ionic/p-657e9085.entry.js +0 -4
- package/dist/ionic/p-67178c9b.entry.js +0 -4
- package/dist/ionic/p-67b4c53d.entry.js +0 -4
- package/dist/ionic/p-6cab60b7.entry.js +0 -4
- package/dist/ionic/p-6ceef433.entry.js +0 -4
- package/dist/ionic/p-6d8983d1.entry.js +0 -4
- package/dist/ionic/p-79851759.entry.js +0 -4
- package/dist/ionic/p-7d026411.entry.js +0 -4
- package/dist/ionic/p-7d4b2506.entry.js +0 -4
- package/dist/ionic/p-8b6eb546.entry.js +0 -4
- package/dist/ionic/p-8fc1959d.entry.js +0 -4
- package/dist/ionic/p-9092b7fb.entry.js +0 -4
- package/dist/ionic/p-9eeaBrnk.js +0 -4
- package/dist/ionic/p-9fe56809.entry.js +0 -4
- package/dist/ionic/p-BBmUb2In.js +0 -4
- package/dist/ionic/p-C-xl6pej.js +0 -4
- package/dist/ionic/p-C5Aon1Kb.js +0 -4
- package/dist/ionic/p-CIGNaXM1.js +0 -4
- package/dist/ionic/p-Cl0B-RWe.js +0 -4
- package/dist/ionic/p-CtWGkNnJ.js +0 -4
- package/dist/ionic/p-D0SqsSaH.js +0 -4
- package/dist/ionic/p-DCi8BSH3.js +0 -4
- package/dist/ionic/p-DFllLYu2.js +0 -4
- package/dist/ionic/p-DGw3g412.js +0 -4
- package/dist/ionic/p-Di6ciXLG.js +0 -4
- package/dist/ionic/p-DonNC93r.js +0 -4
- package/dist/ionic/p-EP3pwcdb.js +0 -5
- package/dist/ionic/p-Uz6zKimy.js +0 -4
- package/dist/ionic/p-a5570370.entry.js +0 -4
- package/dist/ionic/p-a5ee3eb8.entry.js +0 -4
- package/dist/ionic/p-a92657fc.entry.js +0 -4
- package/dist/ionic/p-a9997b1b.entry.js +0 -4
- package/dist/ionic/p-b1f3c158.entry.js +0 -4
- package/dist/ionic/p-be19e061.entry.js +0 -4
- package/dist/ionic/p-c5157026.entry.js +0 -4
- package/dist/ionic/p-c6e0f544.entry.js +0 -4
- package/dist/ionic/p-e116bb40.entry.js +0 -4
- package/dist/ionic/p-e8526b09.entry.js +0 -4
- package/dist/ionic/p-umtghMQY.js +0 -4
- package/dist/ionic/p-yluxF5qo.js +0 -4
- /package/dist/cjs/{compare-with-utils-DSicavqM.js → compare-with-utils-df1001d7.js} +0 -0
- /package/dist/cjs/{config-BHiHGeHc.js → config-4f60b98a.js} +0 -0
- /package/dist/cjs/{cubic-bezier-DAjy1V-e.js → cubic-bezier-f2dccc53.js} +0 -0
- /package/dist/cjs/{dir-Cn0z1rJH.js → dir-94c21456.js} +0 -0
- /package/dist/cjs/{focus-visible-CCvKiLh3.js → focus-visible-7a0ce04f.js} +0 -0
- /package/dist/cjs/{index-DkNv4J_i.js → index-c8d52405.js} +0 -0
- /package/dist/cjs/{lock-controller-aDB9wrEf.js → lock-controller-6585a42a.js} +0 -0
- /package/dist/cjs/{spinner-configs-DxHKnd3-.js → spinner-configs-282fd50a.js} +0 -0
- /package/dist/cjs/{theme-CeDs6Hcv.js → theme-d1c573d2.js} +0 -0
- /package/dist/cjs/{watch-options-CviOsrTS.js → watch-options-f5f3e158.js} +0 -0
- /package/dist/esm/{compare-with-utils-sObYyvOy.js → compare-with-utils-a96ff2ea.js} +0 -0
- /package/dist/esm/{config-O8NobGs3.js → config-49c88215.js} +0 -0
- /package/dist/esm/{cubic-bezier-hHmYLOfE.js → cubic-bezier-fe2083dc.js} +0 -0
- /package/dist/esm/{dir-C53feagD.js → dir-babeabeb.js} +0 -0
- /package/dist/esm/{focus-visible-BmVRXR1y.js → focus-visible-dd40d69f.js} +0 -0
- /package/dist/esm/{index-ZjP4CjeZ.js → index-a5d50daf.js} +0 -0
- /package/dist/esm/{lock-controller-B-hirT0v.js → lock-controller-316928be.js} +0 -0
- /package/dist/esm/{spinner-configs-D4RIp70E.js → spinner-configs-964f7cf3.js} +0 -0
- /package/dist/esm/{theme-DiVJyqlX.js → theme-01f3f29c.js} +0 -0
- /package/dist/esm/{watch-options-Dtdm8lKC.js → watch-options-c2911ace.js} +0 -0
- /package/dist/ionic/{p-hHmYLOfE.js → p-2408c236.js} +0 -0
- /package/dist/ionic/{p-O8NobGs3.js → p-41d5544e.js} +0 -0
- /package/dist/ionic/{p-Dtdm8lKC.js → p-459d13d5.js} +0 -0
- /package/dist/ionic/{p-DiVJyqlX.js → p-47794def.js} +0 -0
- /package/dist/ionic/{p-ZjP4CjeZ.js → p-7b30edcc.js} +0 -0
- /package/dist/ionic/{p-BTEOs1at.js → p-9b97df10.js} +0 -0
- /package/dist/ionic/{p-B-hirT0v.js → p-ccd02320.js} +0 -0
- /package/dist/ionic/{p-BmVRXR1y.js → p-d47265c8.js} +0 -0
- /package/dist/ionic/{p-sObYyvOy.js → p-de756e5c.js} +0 -0
- /package/dist/ionic/{p-D4RIp70E.js → p-f0c2a614.js} +0 -0
- /package/dist/ionic/{p-C53feagD.js → p-fb813dab.js} +0 -0
|
@@ -9,8 +9,10 @@ import { h as hostContext, c as createColorClasses } from './theme.js';
|
|
|
9
9
|
import { b as getIonMode } from './ionic-global.js';
|
|
10
10
|
|
|
11
11
|
const textareaIosCss = ".sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-ios-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{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;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) \" \";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-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);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.label-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-ios,.end-slot-wrapper.sc-ion-textarea-ios{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-s>[slot=end]{margin-top:0}.sc-ion-textarea-ios-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-ios-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;--highlight-height:0px;font-size:inherit}.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}";
|
|
12
|
+
const IonTextareaIosStyle0 = textareaIosCss;
|
|
12
13
|
|
|
13
14
|
const textareaMdCss = ".sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-md-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{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;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{top:0;bottom:0;position:absolute;pointer-events:none}.cloned-input.sc-ion-textarea-md{inset-inline-start:0}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) \" \";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-md{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-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);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.label-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-md,.end-slot-wrapper.sc-ion-textarea-md{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-s>[slot=end]{margin-top:0}.sc-ion-textarea-md-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-md-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}.label-floating.textarea-fill-solid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:var(--highlight-height);--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:12px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px;-ms-flex-positive:1;flex-grow:1}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--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-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;--highlight-height:2px;font-size:inherit}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}.sc-ion-textarea-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}";
|
|
15
|
+
const IonTextareaMdStyle0 = textareaMdCss;
|
|
14
16
|
|
|
15
17
|
const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLElement {
|
|
16
18
|
constructor() {
|
|
@@ -31,65 +33,6 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
31
33
|
*/
|
|
32
34
|
this.didTextareaClearOnEdit = false;
|
|
33
35
|
this.inheritedAttributes = {};
|
|
34
|
-
this.hasFocus = false;
|
|
35
|
-
/**
|
|
36
|
-
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
37
|
-
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
38
|
-
*/
|
|
39
|
-
this.autocapitalize = 'none';
|
|
40
|
-
/**
|
|
41
|
-
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
|
|
42
|
-
*
|
|
43
|
-
* This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
|
|
44
|
-
*/
|
|
45
|
-
this.autofocus = false;
|
|
46
|
-
/**
|
|
47
|
-
* If `true`, the value will be cleared after focus upon edit.
|
|
48
|
-
*/
|
|
49
|
-
this.clearOnEdit = false;
|
|
50
|
-
/**
|
|
51
|
-
* If `true`, the user cannot interact with the textarea.
|
|
52
|
-
*/
|
|
53
|
-
this.disabled = false;
|
|
54
|
-
/**
|
|
55
|
-
* The name of the control, which is submitted with the form data.
|
|
56
|
-
*/
|
|
57
|
-
this.name = this.inputId;
|
|
58
|
-
/**
|
|
59
|
-
* If `true`, the user cannot modify the value.
|
|
60
|
-
*/
|
|
61
|
-
this.readonly = false;
|
|
62
|
-
/**
|
|
63
|
-
* If `true`, the user must fill in a value before submitting a form.
|
|
64
|
-
*/
|
|
65
|
-
this.required = false;
|
|
66
|
-
/**
|
|
67
|
-
* If `true`, the element will have its spelling and grammar checked.
|
|
68
|
-
*/
|
|
69
|
-
this.spellcheck = false;
|
|
70
|
-
/**
|
|
71
|
-
* If `true`, the textarea container will grow and shrink based
|
|
72
|
-
* on the contents of the textarea.
|
|
73
|
-
*/
|
|
74
|
-
this.autoGrow = false;
|
|
75
|
-
/**
|
|
76
|
-
* The value of the textarea.
|
|
77
|
-
*/
|
|
78
|
-
this.value = '';
|
|
79
|
-
/**
|
|
80
|
-
* If `true`, a character counter will display the ratio of characters used and the total character limit.
|
|
81
|
-
* Developers must also set the `maxlength` property for the counter to be calculated correctly.
|
|
82
|
-
*/
|
|
83
|
-
this.counter = false;
|
|
84
|
-
/**
|
|
85
|
-
* Where to place the label relative to the textarea.
|
|
86
|
-
* `"start"`: The label will appear to the left of the textarea in LTR and to the right in RTL.
|
|
87
|
-
* `"end"`: The label will appear to the right of the textarea in LTR and to the left in RTL.
|
|
88
|
-
* `"floating"`: The label will appear smaller and above the textarea when the textarea is focused or it has a value. Otherwise it will appear on top of the textarea.
|
|
89
|
-
* `"stacked"`: The label will appear smaller and above the textarea regardless even when the textarea is blurred or has no value.
|
|
90
|
-
* `"fixed"`: The label has the same behavior as `"start"` except it also has a fixed width. Long text will be truncated with ellipses ("...").
|
|
91
|
-
*/
|
|
92
|
-
this.labelPlacement = 'start';
|
|
93
36
|
// `Event` type is used instead of `InputEvent`
|
|
94
37
|
// since the types from Stencil are not derived
|
|
95
38
|
// from the element (e.g. textarea and input
|
|
@@ -125,6 +68,35 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
125
68
|
this.onKeyDown = (ev) => {
|
|
126
69
|
this.checkClearOnEdit(ev);
|
|
127
70
|
};
|
|
71
|
+
this.hasFocus = false;
|
|
72
|
+
this.color = undefined;
|
|
73
|
+
this.autocapitalize = 'none';
|
|
74
|
+
this.autofocus = false;
|
|
75
|
+
this.clearOnEdit = false;
|
|
76
|
+
this.debounce = undefined;
|
|
77
|
+
this.disabled = false;
|
|
78
|
+
this.fill = undefined;
|
|
79
|
+
this.inputmode = undefined;
|
|
80
|
+
this.enterkeyhint = undefined;
|
|
81
|
+
this.maxlength = undefined;
|
|
82
|
+
this.minlength = undefined;
|
|
83
|
+
this.name = this.inputId;
|
|
84
|
+
this.placeholder = undefined;
|
|
85
|
+
this.readonly = false;
|
|
86
|
+
this.required = false;
|
|
87
|
+
this.spellcheck = false;
|
|
88
|
+
this.cols = undefined;
|
|
89
|
+
this.rows = undefined;
|
|
90
|
+
this.wrap = undefined;
|
|
91
|
+
this.autoGrow = false;
|
|
92
|
+
this.value = '';
|
|
93
|
+
this.counter = false;
|
|
94
|
+
this.counterFormatter = undefined;
|
|
95
|
+
this.errorText = undefined;
|
|
96
|
+
this.helperText = undefined;
|
|
97
|
+
this.label = undefined;
|
|
98
|
+
this.labelPlacement = 'start';
|
|
99
|
+
this.shape = undefined;
|
|
128
100
|
}
|
|
129
101
|
debounceChanged() {
|
|
130
102
|
const { ionInput, debounce, originalIonInput } = this;
|
|
@@ -418,7 +390,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
418
390
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
419
391
|
*/
|
|
420
392
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
421
|
-
return (h(Host, { key: '
|
|
393
|
+
return (h(Host, { key: '016dd354c8a4cd62646d4a85dbcfa2eacb870d69', class: createColorClasses(this.color, {
|
|
422
394
|
[mode]: true,
|
|
423
395
|
'has-value': hasValue,
|
|
424
396
|
'has-focus': hasFocus,
|
|
@@ -427,7 +399,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
427
399
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
428
400
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
429
401
|
'textarea-disabled': disabled,
|
|
430
|
-
}) }, h("label", { key: '
|
|
402
|
+
}) }, h("label", { key: '7e98f3fc05f678e8567d9977aa7e622ddb90d394', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '7af77dad961ca9f80bbc6be8cd834989542ae27d', class: "textarea-wrapper-inner" }, h("div", { key: 'e311cda4bb52e93ce7775f40b62a0a62a847794b', class: "start-slot-wrapper" }, h("slot", { key: '81248b4cedce3876c1da9da03d36e3bee8442738', name: "start" })), h("div", { key: 'f68ba6e2bb3df4971ecbebbcb316f31ee10f9e75', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '2e896ef782d08b56454a1656301b8ce54564c8b3', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes), value)), h("div", { key: '7eff97dabd340641a666a388fc590caa88128046', class: "end-slot-wrapper" }, h("slot", { key: 'e8f7e6bd5a33afae6add6d920954cca7a3c0612b', name: "end" }))), shouldRenderHighlight && h("div", { key: '4c825874e6ed910e3aa36b16fa1d2927b7f006b1', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
431
403
|
}
|
|
432
404
|
get el() { return this; }
|
|
433
405
|
static get watchers() { return {
|
|
@@ -436,8 +408,8 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
436
408
|
"dir": ["onDirChanged"]
|
|
437
409
|
}; }
|
|
438
410
|
static get style() { return {
|
|
439
|
-
ios:
|
|
440
|
-
md:
|
|
411
|
+
ios: IonTextareaIosStyle0,
|
|
412
|
+
md: IonTextareaMdStyle0
|
|
441
413
|
}; }
|
|
442
414
|
}, [38, "ion-textarea", {
|
|
443
415
|
"color": [513],
|
|
@@ -462,7 +434,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
462
434
|
"autoGrow": [516, "auto-grow"],
|
|
463
435
|
"value": [1025],
|
|
464
436
|
"counter": [4],
|
|
465
|
-
"counterFormatter": [16
|
|
437
|
+
"counterFormatter": [16],
|
|
466
438
|
"errorText": [1, "error-text"],
|
|
467
439
|
"helperText": [1, "helper-text"],
|
|
468
440
|
"label": [1],
|
|
@@ -5,6 +5,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
5
5
|
import { b as getIonMode } from './ionic-global.js';
|
|
6
6
|
|
|
7
7
|
const thumbnailCss = ":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";
|
|
8
|
+
const IonThumbnailStyle0 = thumbnailCss;
|
|
8
9
|
|
|
9
10
|
const Thumbnail = /*@__PURE__*/ proxyCustomElement(class Thumbnail extends HTMLElement {
|
|
10
11
|
constructor() {
|
|
@@ -15,7 +16,7 @@ const Thumbnail = /*@__PURE__*/ proxyCustomElement(class Thumbnail extends HTMLE
|
|
|
15
16
|
render() {
|
|
16
17
|
return (h(Host, { key: '7f5fd6c056da2d82feb2c3c33f3e6dec898787f5', class: getIonMode(this) }, h("slot", { key: 'd15fd2b6cdc03777edc1930be95ad838e1b376c8' })));
|
|
17
18
|
}
|
|
18
|
-
static get style() { return
|
|
19
|
+
static get style() { return IonThumbnailStyle0; }
|
|
19
20
|
}, [1, "ion-thumbnail"]);
|
|
20
21
|
function defineCustomElement$1() {
|
|
21
22
|
if (typeof customElements === "undefined") {
|
package/components/ion-toast.js
CHANGED
|
@@ -10,7 +10,7 @@ import { O as OVERLAY_GESTURE_PRIORITY, d as createDelegateController, e as crea
|
|
|
10
10
|
import { c as createColorClasses, g as getClassMap } from './theme.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
12
12
|
import { c as createAnimation } from './animation.js';
|
|
13
|
-
import { w as win } from './
|
|
13
|
+
import { w as win } from './index5.js';
|
|
14
14
|
import { createGesture } from './index3.js';
|
|
15
15
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
@@ -331,7 +331,7 @@ const createSwipeToDismissGesture = (el, toastPosition, onDismiss) => {
|
|
|
331
331
|
* consider when the threshold is a negative in the event the
|
|
332
332
|
* user drags up (since the deltaY will also be negative).
|
|
333
333
|
*/
|
|
334
|
-
shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -
|
|
334
|
+
shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -DISMISS_THRESHOLD / 2;
|
|
335
335
|
/**
|
|
336
336
|
* Since we are replacing the keyframes
|
|
337
337
|
* below the animation always starts from
|
|
@@ -452,8 +452,10 @@ const createSwipeToDismissGesture = (el, toastPosition, onDismiss) => {
|
|
|
452
452
|
};
|
|
453
453
|
|
|
454
454
|
const toastIosCss = ":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}";
|
|
455
|
+
const IonToastIosStyle0 = toastIosCss;
|
|
455
456
|
|
|
456
457
|
const toastMdCss = ":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6))}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}";
|
|
458
|
+
const IonToastMdStyle0 = toastMdCss;
|
|
457
459
|
|
|
458
460
|
const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
459
461
|
constructor() {
|
|
@@ -473,54 +475,6 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
473
475
|
this.triggerController = createTriggerController();
|
|
474
476
|
this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);
|
|
475
477
|
this.presented = false;
|
|
476
|
-
/**
|
|
477
|
-
* When `true`, content inside of .toast-content
|
|
478
|
-
* will have aria-hidden elements removed causing
|
|
479
|
-
* screen readers to announce the remaining content.
|
|
480
|
-
*/
|
|
481
|
-
this.revealContentToScreenReader = false;
|
|
482
|
-
/** @internal */
|
|
483
|
-
this.hasController = false;
|
|
484
|
-
/**
|
|
485
|
-
* How many milliseconds to wait before hiding the toast. By default, it will show
|
|
486
|
-
* until `dismiss()` is called.
|
|
487
|
-
*/
|
|
488
|
-
this.duration = config.getNumber('toastDuration', 0);
|
|
489
|
-
/**
|
|
490
|
-
* Defines how the message and buttons are laid out in the toast.
|
|
491
|
-
* 'baseline': The message and the buttons will appear on the same line.
|
|
492
|
-
* Message text may wrap within the message container.
|
|
493
|
-
* 'stacked': The buttons containers and message will stack on top
|
|
494
|
-
* of each other. Use this if you have long text in your buttons.
|
|
495
|
-
*/
|
|
496
|
-
this.layout = 'baseline';
|
|
497
|
-
/**
|
|
498
|
-
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
499
|
-
*/
|
|
500
|
-
this.keyboardClose = false;
|
|
501
|
-
/**
|
|
502
|
-
* The starting position of the toast on the screen. Can be tweaked further
|
|
503
|
-
* using the `positionAnchor` property.
|
|
504
|
-
*/
|
|
505
|
-
this.position = 'bottom';
|
|
506
|
-
/**
|
|
507
|
-
* If `true`, the toast will be translucent.
|
|
508
|
-
* Only applies when the mode is `"ios"` and the device supports
|
|
509
|
-
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
510
|
-
*/
|
|
511
|
-
this.translucent = false;
|
|
512
|
-
/**
|
|
513
|
-
* If `true`, the toast will animate.
|
|
514
|
-
*/
|
|
515
|
-
this.animated = true;
|
|
516
|
-
/**
|
|
517
|
-
* If `true`, the toast will open. If `false`, the toast will close.
|
|
518
|
-
* Use this if you need finer grained control over presentation, otherwise
|
|
519
|
-
* just use the toastController or the `trigger` property.
|
|
520
|
-
* Note: `isOpen` will not automatically be set back to `false` when
|
|
521
|
-
* the toast dismisses. You will need to do that in your code.
|
|
522
|
-
*/
|
|
523
|
-
this.isOpen = false;
|
|
524
478
|
this.dispatchCancelHandler = (ev) => {
|
|
525
479
|
const role = ev.detail.role;
|
|
526
480
|
if (isCancel(role)) {
|
|
@@ -563,6 +517,29 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
563
517
|
const { swipeGesture } = this;
|
|
564
518
|
return swipeGesture === 'vertical';
|
|
565
519
|
};
|
|
520
|
+
this.revealContentToScreenReader = false;
|
|
521
|
+
this.overlayIndex = undefined;
|
|
522
|
+
this.delegate = undefined;
|
|
523
|
+
this.hasController = false;
|
|
524
|
+
this.color = undefined;
|
|
525
|
+
this.enterAnimation = undefined;
|
|
526
|
+
this.leaveAnimation = undefined;
|
|
527
|
+
this.cssClass = undefined;
|
|
528
|
+
this.duration = config.getNumber('toastDuration', 0);
|
|
529
|
+
this.header = undefined;
|
|
530
|
+
this.layout = 'baseline';
|
|
531
|
+
this.message = undefined;
|
|
532
|
+
this.keyboardClose = false;
|
|
533
|
+
this.position = 'bottom';
|
|
534
|
+
this.positionAnchor = undefined;
|
|
535
|
+
this.buttons = undefined;
|
|
536
|
+
this.translucent = false;
|
|
537
|
+
this.animated = true;
|
|
538
|
+
this.icon = undefined;
|
|
539
|
+
this.htmlAttributes = undefined;
|
|
540
|
+
this.swipeGesture = undefined;
|
|
541
|
+
this.isOpen = false;
|
|
542
|
+
this.trigger = undefined;
|
|
566
543
|
}
|
|
567
544
|
swipeGestureChanged() {
|
|
568
545
|
/**
|
|
@@ -865,16 +842,16 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
865
842
|
"trigger": ["triggerChanged"]
|
|
866
843
|
}; }
|
|
867
844
|
static get style() { return {
|
|
868
|
-
ios:
|
|
869
|
-
md:
|
|
845
|
+
ios: IonToastIosStyle0,
|
|
846
|
+
md: IonToastMdStyle0
|
|
870
847
|
}; }
|
|
871
848
|
}, [33, "ion-toast", {
|
|
872
849
|
"overlayIndex": [2, "overlay-index"],
|
|
873
850
|
"delegate": [16],
|
|
874
851
|
"hasController": [4, "has-controller"],
|
|
875
852
|
"color": [513],
|
|
876
|
-
"enterAnimation": [16
|
|
877
|
-
"leaveAnimation": [16
|
|
853
|
+
"enterAnimation": [16],
|
|
854
|
+
"leaveAnimation": [16],
|
|
878
855
|
"cssClass": [1, "css-class"],
|
|
879
856
|
"duration": [2],
|
|
880
857
|
"header": [1],
|
|
@@ -887,7 +864,7 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
887
864
|
"translucent": [4],
|
|
888
865
|
"animated": [4],
|
|
889
866
|
"icon": [1],
|
|
890
|
-
"htmlAttributes": [16
|
|
867
|
+
"htmlAttributes": [16],
|
|
891
868
|
"swipeGesture": [1, "swipe-gesture"],
|
|
892
869
|
"isOpen": [4, "is-open"],
|
|
893
870
|
"trigger": [1],
|
package/components/ion-toggle.js
CHANGED
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes, e as renderHiddenInput } from './helpers.js';
|
|
6
6
|
import { d as hapticSelection } from './haptic.js';
|
|
7
|
-
import { c as config, a as isPlatform, b as getIonMode } from './ionic-global.js';
|
|
8
7
|
import { i as isRTL } from './dir.js';
|
|
9
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
10
|
-
import { w as checkmarkOutline, x as removeOutline, y as ellipseOutline } from './
|
|
9
|
+
import { w as checkmarkOutline, x as removeOutline, y as ellipseOutline } from './index7.js';
|
|
10
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
12
12
|
|
|
13
13
|
const toggleIosCss = ":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.toggle-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #0054e9);--border-radius:15.5px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);--handle-height:calc(31px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(31px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}.native-wrapper .toggle-icon{width:51px;height:31px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark, #222428)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}";
|
|
14
|
+
const IonToggleIosStyle0 = toggleIosCss;
|
|
14
15
|
|
|
15
16
|
const toggleMdCss = ":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.toggle-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #0054e9);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}";
|
|
17
|
+
const IonToggleMdStyle0 = toggleMdCss;
|
|
16
18
|
|
|
17
19
|
const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement {
|
|
18
20
|
constructor() {
|
|
@@ -28,45 +30,6 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
28
30
|
this.lastDrag = 0;
|
|
29
31
|
this.inheritedAttributes = {};
|
|
30
32
|
this.didLoad = false;
|
|
31
|
-
this.activated = false;
|
|
32
|
-
/**
|
|
33
|
-
* The name of the control, which is submitted with the form data.
|
|
34
|
-
*/
|
|
35
|
-
this.name = this.inputId;
|
|
36
|
-
/**
|
|
37
|
-
* If `true`, the toggle is selected.
|
|
38
|
-
*/
|
|
39
|
-
this.checked = false;
|
|
40
|
-
/**
|
|
41
|
-
* If `true`, the user cannot interact with the toggle.
|
|
42
|
-
*/
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
/**
|
|
45
|
-
* The value of the toggle does not mean if it's checked or not, use the `checked`
|
|
46
|
-
* property for that.
|
|
47
|
-
*
|
|
48
|
-
* The value of a toggle is analogous to the value of a `<input type="checkbox">`,
|
|
49
|
-
* it's only used when the toggle participates in a native `<form>`.
|
|
50
|
-
*/
|
|
51
|
-
this.value = 'on';
|
|
52
|
-
/**
|
|
53
|
-
* Enables the on/off accessibility switch labels within the toggle.
|
|
54
|
-
*/
|
|
55
|
-
this.enableOnOffLabels = config.get('toggleOnOffLabels');
|
|
56
|
-
/**
|
|
57
|
-
* Where to place the label relative to the input.
|
|
58
|
-
* `"start"`: The label will appear to the left of the toggle in LTR and to the right in RTL.
|
|
59
|
-
* `"end"`: The label will appear to the right of the toggle in LTR and to the left in RTL.
|
|
60
|
-
* `"fixed"`: The label has the same behavior as `"start"` except it also has a fixed width. Long text will be truncated with ellipses ("...").
|
|
61
|
-
* `"stacked"`: The label will appear above the toggle regardless of the direction. The alignment of the label can be controlled with the `alignment` property.
|
|
62
|
-
*/
|
|
63
|
-
this.labelPlacement = 'start';
|
|
64
|
-
/**
|
|
65
|
-
* If true, screen readers will announce it as a required field. This property
|
|
66
|
-
* works only for accessibility purposes, it will not prevent the form from
|
|
67
|
-
* submitting if the value is invalid.
|
|
68
|
-
*/
|
|
69
|
-
this.required = false;
|
|
70
33
|
this.setupGesture = async () => {
|
|
71
34
|
const { toggleTrack } = this;
|
|
72
35
|
if (toggleTrack) {
|
|
@@ -84,19 +47,12 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
84
47
|
}
|
|
85
48
|
};
|
|
86
49
|
this.onClick = (ev) => {
|
|
87
|
-
/**
|
|
88
|
-
* The haptics for the toggle on tap is
|
|
89
|
-
* an iOS-only feature. As such, it should
|
|
90
|
-
* only trigger on iOS.
|
|
91
|
-
*/
|
|
92
|
-
const enableHaptics = isPlatform('ios');
|
|
93
50
|
if (this.disabled) {
|
|
94
51
|
return;
|
|
95
52
|
}
|
|
96
53
|
ev.preventDefault();
|
|
97
54
|
if (this.lastDrag + 300 < Date.now()) {
|
|
98
55
|
this.toggleChecked();
|
|
99
|
-
enableHaptics && hapticSelection();
|
|
100
56
|
}
|
|
101
57
|
};
|
|
102
58
|
this.onFocus = () => {
|
|
@@ -111,6 +67,19 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
111
67
|
}
|
|
112
68
|
return checked ? removeOutline : ellipseOutline;
|
|
113
69
|
};
|
|
70
|
+
this.activated = false;
|
|
71
|
+
this.color = undefined;
|
|
72
|
+
this.name = this.inputId;
|
|
73
|
+
this.checked = false;
|
|
74
|
+
this.disabled = false;
|
|
75
|
+
this.errorText = undefined;
|
|
76
|
+
this.helperText = undefined;
|
|
77
|
+
this.value = 'on';
|
|
78
|
+
this.enableOnOffLabels = config.get('toggleOnOffLabels');
|
|
79
|
+
this.labelPlacement = 'start';
|
|
80
|
+
this.justify = undefined;
|
|
81
|
+
this.alignment = undefined;
|
|
82
|
+
this.required = false;
|
|
114
83
|
}
|
|
115
84
|
disabledChanged() {
|
|
116
85
|
if (this.gesture) {
|
|
@@ -224,7 +193,7 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
224
193
|
const value = this.getValue();
|
|
225
194
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
226
195
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
227
|
-
return (h(Host, { key: '
|
|
196
|
+
return (h(Host, { key: 'c6db7f5bc0b358944c0d79e24aeb4d319793422f', "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: createColorClasses(color, {
|
|
228
197
|
[mode]: true,
|
|
229
198
|
'in-item': hostContext('ion-item', el),
|
|
230
199
|
'toggle-activated': activated,
|
|
@@ -234,18 +203,18 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
234
203
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
235
204
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
236
205
|
[`toggle-${rtl}`]: true,
|
|
237
|
-
}) }, h("label", { key: '
|
|
206
|
+
}) }, h("label", { key: 'f49531391f4513d084061c27ebc4c4eb1dcd02ab', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f4ab2dc29eae053f54613d1304f755e151037f47', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, this.inheritedAttributes)), h("div", { key: '85674bfab5ec1e422c787d025c4f9f5b3aadd4f2', class: {
|
|
238
207
|
'label-text-wrapper': true,
|
|
239
208
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
240
|
-
}, part: "label" }, h("slot", { key: '
|
|
209
|
+
}, part: "label" }, h("slot", { key: '9bdf7e85c95dc7373f18894ebfe6ad022f098107' }), this.renderHintText()), h("div", { key: '33883642b38421a82001e37db3dd5e5c643785b0', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
241
210
|
}
|
|
242
211
|
get el() { return this; }
|
|
243
212
|
static get watchers() { return {
|
|
244
213
|
"disabled": ["disabledChanged"]
|
|
245
214
|
}; }
|
|
246
215
|
static get style() { return {
|
|
247
|
-
ios:
|
|
248
|
-
md:
|
|
216
|
+
ios: IonToggleIosStyle0,
|
|
217
|
+
md: IonToggleMdStyle0
|
|
249
218
|
}; }
|
|
250
219
|
}, [33, "ion-toggle", {
|
|
251
220
|
"color": [513],
|
|
@@ -266,10 +235,10 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
266
235
|
}]);
|
|
267
236
|
const shouldToggle = (rtl, checked, deltaX, margin) => {
|
|
268
237
|
if (checked) {
|
|
269
|
-
return (!rtl && margin > deltaX) || (rtl &&
|
|
238
|
+
return (!rtl && margin > deltaX) || (rtl && -margin < deltaX);
|
|
270
239
|
}
|
|
271
240
|
else {
|
|
272
|
-
return (!rtl &&
|
|
241
|
+
return (!rtl && -margin < deltaX) || (rtl && margin > deltaX);
|
|
273
242
|
}
|
|
274
243
|
};
|
|
275
244
|
let toggleIds = 0;
|