voyager-ionic-core 7.2.3-tweak.1 → 7.4.3
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 +12 -17
- package/components/alert.js +17 -20
- package/components/button-active.js +1 -1
- package/components/button.js +18 -0
- package/components/checkbox.js +15 -7
- package/components/data.js +47 -9
- package/components/framework-delegate.js +21 -2
- package/components/icon.js +6 -0
- package/components/index.d.ts +6 -0
- package/components/index.js +3 -3
- package/components/index2.js +203 -429
- package/components/index3.js +429 -203
- package/components/input-shims.js +88 -7
- package/components/ion-accordion-group.js +5 -1
- package/components/ion-accordion.js +2 -0
- package/components/ion-breadcrumbs.js +5 -1
- package/components/ion-content.js +51 -5
- package/components/ion-datetime-button.js +3 -0
- package/components/ion-datetime.js +142 -92
- package/components/ion-fab-list.js +3 -1
- package/components/ion-fab.js +3 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +2 -0
- package/components/ion-infinite-scroll.js +3 -0
- package/components/ion-input.js +6 -1
- package/components/ion-item-sliding.js +3 -1
- package/components/ion-loading.js +11 -16
- package/components/ion-menu.js +25 -7
- package/components/ion-modal.js +46 -42
- package/components/ion-nav.js +5 -2
- package/components/ion-picker.js +11 -16
- package/components/ion-range.js +41 -6
- package/components/ion-refresher.js +5 -3
- package/components/ion-reorder-group.js +3 -1
- package/components/ion-route-redirect.js +3 -0
- package/components/ion-route.js +4 -0
- package/components/ion-router-outlet.js +8 -13
- package/components/ion-searchbar.js +4 -0
- package/components/ion-segment-button.js +2 -0
- package/components/ion-segment.js +42 -25
- package/components/ion-select.js +5 -0
- package/components/ion-split-pane.js +4 -0
- package/components/ion-tab-bar.js +6 -0
- package/components/ion-tab.js +2 -0
- package/components/ion-textarea.js +8 -4
- package/components/ion-title.js +3 -1
- package/components/ion-toast.js +15 -17
- package/components/ion-toggle.js +9 -4
- package/components/ion-toolbar.js +2 -2
- package/components/ios.transition.js +1 -1
- package/components/item.js +48 -10
- package/components/label.js +5 -2
- package/components/lock-controller.js +38 -0
- package/components/md.transition.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +30 -10
- package/components/picker-column-internal.js +2 -0
- package/components/picker-column.js +3 -1
- package/components/popover.js +20 -30
- package/components/radio-group.js +3 -1
- package/components/radio.js +11 -3
- package/components/swipe-back.js +1 -1
- package/css/core.css +0 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{animation-c68ec4cb.js → animation-2bb33618.js} +2 -2
- package/dist/cjs/{app-globals-3ba8ddad.js → app-globals-84b6a756.js} +1 -1
- package/dist/cjs/{button-active-7578c6c2.js → button-active-c358e83c.js} +3 -3
- package/dist/cjs/{capacitor-a77e977e.js → capacitor-2ffba62a.js} +1 -1
- package/dist/cjs/{data-3a7f5c1a.js → data-db832785.js} +48 -10
- package/dist/cjs/{form-controller-d42b8c05.js → form-controller-5e223b54.js} +1 -1
- package/dist/cjs/{framework-delegate-d2bbe945.js → framework-delegate-c0873a6f.js} +22 -3
- package/dist/cjs/{haptic-89b33156.js → haptic-c5f6b4d5.js} +1 -1
- package/dist/cjs/{index-def9efb5.js → index-0ee995e4.js} +1 -1
- package/dist/cjs/{index-dc56ac38.js → index-10873539.js} +2 -2
- package/dist/cjs/{index-b358eb23.js → index-14a4821e.js} +188 -45
- package/dist/cjs/{index-1901dd17.js → index-97a3eade.js} +4 -4
- package/dist/cjs/{index-404c1016.js → index-9f379eaa.js} +2 -2
- package/dist/cjs/{index-4e642409.js → index-acf6bdf0.js} +4 -4
- package/dist/cjs/index.cjs.js +24 -23
- package/dist/cjs/{input-shims-9b42b3fe.js → input-shims-da7dc0de.js} +96 -16
- package/dist/cjs/{input.utils-7e077818.js → input.utils-0fe3097c.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +24 -32
- package/dist/cjs/ion-alert.cjs.entry.js +27 -35
- package/dist/cjs/ion-app_8.cjs.entry.js +79 -40
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-button_2.cjs.entry.js +21 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox.cjs.entry.js +17 -13
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +9 -6
- package/dist/cjs/ion-datetime_3.cjs.entry.js +156 -125
- package/dist/cjs/ion-fab_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-input.cjs.entry.js +11 -11
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +43 -16
- package/dist/cjs/ion-loading.cjs.entry.js +19 -27
- package/dist/cjs/ion-menu_3.cjs.entry.js +32 -19
- package/dist/cjs/ion-modal.cjs.entry.js +59 -58
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +26 -40
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +11 -9
- package/dist/cjs/ion-range.cjs.entry.js +42 -14
- package/dist/cjs/ion-refresher_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -10
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +40 -29
- package/dist/cjs/ion-select_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-spinner.cjs.entry.js +4 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +12 -8
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +3 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +12 -12
- package/dist/cjs/ion-toast.cjs.entry.js +23 -28
- package/dist/cjs/ion-toggle.cjs.entry.js +17 -15
- package/dist/cjs/{ionic-global-5e671da5.js → ionic-global-a71608df.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -8
- package/dist/cjs/{ios.transition-0b0d2e7f.js → ios.transition-e31445c2.js} +5 -5
- package/dist/cjs/{keyboard-2eabd73b.js → keyboard-38f2bb7b.js} +3 -3
- package/dist/cjs/{keyboard-controller-4aa8c1d6.js → keyboard-controller-50beb83a.js} +2 -2
- package/dist/cjs/{keyboard-f35d0b9d.js → keyboard-fd7db491.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -14
- package/dist/cjs/lock-controller-4ae2eb59.js +40 -0
- package/dist/cjs/{md.transition-481e9b5f.js → md.transition-fb13ac79.js} +5 -5
- package/dist/cjs/{notch-controller-159c65d4.js → notch-controller-f4f6af5d.js} +3 -3
- package/dist/cjs/{overlays-d17b3668.js → overlays-efc9d511.js} +36 -16
- package/dist/cjs/{status-tap-6061aa3f.js → status-tap-8c22e017.js} +4 -4
- package/dist/cjs/{swipe-back-7e99fa89.js → swipe-back-d97c74d1.js} +4 -4
- package/dist/collection/collection-manifest.json +94 -94
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +2 -2
- package/dist/collection/components/accordion-group/accordion-group.js +12 -7
- package/dist/collection/components/action-sheet/action-sheet.js +47 -39
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +19 -4
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +1 -1
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +2 -2
- package/dist/collection/components/action-sheet/test/basic/fixture.js +1 -1
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +1 -1
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +1 -1
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +1 -1
- package/dist/collection/components/alert/alert.ios.css +3 -8
- package/dist/collection/components/alert/alert.js +52 -42
- package/dist/collection/components/alert/alert.md.css +3 -9
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +11 -2
- package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +1 -1
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +1 -1
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +1 -1
- package/dist/collection/components/app/app.js +7 -5
- package/dist/collection/components/app/test/safe-area/app.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +2 -2
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +1 -1
- package/dist/collection/components/back-button/back-button.js +8 -6
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +1 -1
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +1 -1
- package/dist/collection/components/backdrop/backdrop.js +2 -2
- package/dist/collection/components/badge/badge.js +4 -3
- package/dist/collection/components/badge/test/basic/badge.e2e.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +11 -7
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -4
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +2 -2
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +1 -1
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +1 -1
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +1 -1
- package/dist/collection/components/button/button.js +26 -6
- package/dist/collection/components/button/test/basic/button.e2e.js +1 -1
- package/dist/collection/components/button/test/clear/button.e2e.js +1 -1
- package/dist/collection/components/button/test/expand/button.e2e.js +1 -1
- package/dist/collection/components/button/test/form-reference/button.e2e.js +1 -1
- package/dist/collection/components/button/test/icon/button.e2e.js +1 -1
- package/dist/collection/components/button/test/outline/button.e2e.js +1 -1
- package/dist/collection/components/button/test/round/button.e2e.js +1 -1
- package/dist/collection/components/button/test/size/button.e2e.js +1 -1
- package/dist/collection/components/button/test/strong/button.e2e.js +1 -1
- package/dist/collection/components/button/test/wrap/button.e2e.js +1 -1
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +8 -5
- package/dist/collection/components/card/test/basic/card.e2e.js +1 -1
- package/dist/collection/components/card-content/card-content.js +2 -2
- package/dist/collection/components/card-header/card-header.js +4 -3
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +1 -1
- 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.ios.css +67 -0
- package/dist/collection/components/checkbox/checkbox.js +38 -13
- package/dist/collection/components/checkbox/checkbox.md.css +67 -0
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +2 -2
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +18 -1
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +3 -3
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +18 -5
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +38 -11
- package/dist/collection/components/checkbox/test/legacy/basic/checkbox.e2e.js +19 -2
- package/dist/collection/components/checkbox/test/legacy/indeterminate/checkbox.e2e.js +2 -2
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +5 -5
- package/dist/collection/components/chip/chip.js +4 -3
- package/dist/collection/components/chip/test/basic/chip.e2e.js +1 -1
- package/dist/collection/components/chip/test/states/chip.e2e.js +1 -1
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +76 -24
- package/dist/collection/components/content/test/basic/content.e2e.js +1 -1
- package/dist/collection/components/content/test/fixed/content.e2e.js +1 -1
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +1 -1
- package/dist/collection/components/content/test/standalone/content.e2e.js +1 -1
- package/dist/collection/components/datetime/datetime.ios.css +32 -29
- package/dist/collection/components/datetime/datetime.js +169 -114
- package/dist/collection/components/datetime/datetime.md.css +20 -28
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +26 -1
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +28 -9
- package/dist/collection/components/datetime/test/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +16 -1
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +49 -18
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +10 -13
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/utils/data.js +18 -10
- package/dist/collection/components/datetime/utils/format.js +1 -1
- package/dist/collection/components/datetime/utils/manipulation.js +3 -3
- package/dist/collection/components/datetime/utils/parse.js +36 -5
- package/dist/collection/components/datetime/utils/state.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.js +11 -7
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +1 -1
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +1 -1
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +1 -1
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +1 -1
- package/dist/collection/components/fab/fab.css +88 -28
- package/dist/collection/components/fab/fab.js +6 -4
- package/dist/collection/components/fab/test/basic/fab.e2e.js +1 -1
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +17 -0
- package/dist/collection/components/fab/test/states/fab.e2e.js +1 -1
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +1 -1
- package/dist/collection/components/fab-button/fab-button.js +9 -6
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
- package/dist/collection/components/fab-list/fab-list.css +17 -10
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/footer/footer.utils.js +1 -1
- package/dist/collection/components/footer/test/basic/footer.e2e.js +1 -1
- package/dist/collection/components/footer/test/fade/footer.e2e.js +1 -1
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +1 -1
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +1 -1
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/grid/test/basic/grid.e2e.js +1 -1
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +1 -1
- package/dist/collection/components/grid/test/padding/grid.e2e.js +1 -1
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +1 -1
- package/dist/collection/components/header/header.ios.css +26 -1
- package/dist/collection/components/header/header.js +3 -3
- package/dist/collection/components/header/header.utils.js +1 -1
- package/dist/collection/components/header/test/a11y/header.e2e.js +2 -2
- package/dist/collection/components/header/test/basic/header.e2e.js +1 -1
- package/dist/collection/components/header/test/condense/header.e2e.js +1 -1
- package/dist/collection/components/header/test/fade/header.e2e.js +1 -1
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +1 -1
- package/dist/collection/components/icon/test/basic/icon.e2e.js +1 -1
- package/dist/collection/components/icon/test/dir/icon.e2e.js +1 -1
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/img/test/basic/img.e2e.js +1 -1
- package/dist/collection/components/img/test/draggable/img.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -3
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +7 -5
- package/dist/collection/components/input/input.js +27 -16
- package/dist/collection/components/input/test/a11y/input.e2e.js +2 -2
- package/dist/collection/components/input/test/basic/input.e2e.js +1 -1
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +8 -8
- package/dist/collection/components/input/test/card/input.e2e.js +2 -2
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +33 -0
- package/dist/collection/components/input/test/color/input.e2e.js +16 -16
- package/dist/collection/components/input/test/fill/input.e2e.js +11 -11
- package/dist/collection/components/input/test/highlight/input.e2e.js +10 -10
- package/dist/collection/components/input/test/input.e2e.js +1 -1
- package/dist/collection/components/input/test/item/input.e2e.js +3 -3
- package/dist/collection/components/input/test/label-placement/input.e2e.js +17 -17
- package/dist/collection/components/input/test/legacy/a11y/input.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/basic/input.e2e.js +11 -11
- package/dist/collection/components/input/test/legacy/clear-on-edit/input.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/input-events.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/masking/input.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/spec/input.e2e.js +1 -1
- package/dist/collection/components/input/test/states/input.e2e.js +3 -3
- package/dist/collection/components/item/item.ios.css +8 -4
- package/dist/collection/components/item/item.js +57 -14
- package/dist/collection/components/item/item.md.css +8 -4
- package/dist/collection/components/item/test/a11y/item.e2e.js +2 -2
- package/dist/collection/components/item/test/alignment/item.e2e.js +1 -1
- package/dist/collection/components/item/test/basic/item.e2e.js +1 -1
- package/dist/collection/components/item/test/buttons/item.e2e.js +1 -1
- package/dist/collection/components/item/test/colors/item.e2e.js +1 -1
- package/dist/collection/components/item/test/counter/item.e2e.js +1 -1
- package/dist/collection/components/item/test/css-variables/item.e2e.js +1 -1
- package/dist/collection/components/item/test/disabled/item.e2e.js +1 -1
- package/dist/collection/components/item/test/dividers/item.e2e.js +1 -1
- package/dist/collection/components/item/test/groups/item.e2e.js +1 -1
- package/dist/collection/components/item/test/highlight/item.e2e.js +1 -1
- package/dist/collection/components/item/test/icons/item.e2e.js +1 -1
- package/dist/collection/components/item/test/images/item.e2e.js +1 -1
- package/dist/collection/components/item/test/inputs/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/alignment/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/fill/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/form/item.e2e.js +1 -1
- package/dist/collection/components/item/test/lines/item.e2e.js +1 -1
- package/dist/collection/components/item/test/media/item.e2e.js +1 -1
- package/dist/collection/components/item/test/reorder/item.e2e.js +1 -1
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +1 -1
- package/dist/collection/components/item/test/states/item.e2e.js +1 -1
- package/dist/collection/components/item/test/text/item.e2e.js +1 -1
- package/dist/collection/components/item-divider/item-divider.js +4 -3
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +1 -1
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +1 -1
- package/dist/collection/components/item-group/item-group.js +2 -2
- package/dist/collection/components/item-option/item-option.js +4 -3
- package/dist/collection/components/item-options/item-options.js +6 -4
- package/dist/collection/components/item-sliding/item-sliding.js +14 -8
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +1 -1
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +39 -13
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +22 -7
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +4 -10
- package/dist/collection/components/item-sliding/test/test.utils.js +9 -1
- package/dist/collection/components/label/label.ios.css +2 -4
- package/dist/collection/components/label/label.js +8 -5
- package/dist/collection/components/label/label.md.css +2 -4
- package/dist/collection/components/label/test/basic/label.e2e.js +1 -1
- package/dist/collection/components/label/test/color/label.e2e.js +1 -1
- package/dist/collection/components/label/test/headings/label.e2e.js +1 -1
- package/dist/collection/components/list/list.js +4 -3
- package/dist/collection/components/list/test/a11y/list.e2e.js +2 -2
- package/dist/collection/components/list/test/basic/list.e2e.js +1 -1
- package/dist/collection/components/list/test/inset/list.e2e.js +1 -1
- package/dist/collection/components/list/test/lines/list.e2e.js +1 -1
- package/dist/collection/components/list-header/list-header.js +4 -3
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +1 -1
- package/dist/collection/components/loading/loading.js +49 -40
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +2 -2
- package/dist/collection/components/loading/test/basic/loading.e2e.js +1 -1
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +1 -1
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +1 -1
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +1 -1
- package/dist/collection/components/menu/menu.ios.css +102 -0
- package/dist/collection/components/menu/menu.js +35 -14
- package/dist/collection/components/menu/menu.md.css +102 -0
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +2 -2
- package/dist/collection/components/menu/test/basic/menu.e2e.js +1 -1
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +1 -1
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +87 -0
- package/dist/collection/components/menu-button/menu-button.js +7 -6
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +2 -2
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +23 -0
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +1 -1
- package/dist/collection/components/menu-toggle/menu-toggle.js +3 -3
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +1 -1
- package/dist/collection/components/modal/animations/ios.enter.js +2 -2
- package/dist/collection/components/modal/animations/ios.leave.js +2 -2
- package/dist/collection/components/modal/animations/md.enter.js +1 -1
- package/dist/collection/components/modal/animations/md.leave.js +1 -1
- package/dist/collection/components/modal/animations/sheet.js +1 -1
- package/dist/collection/components/modal/gestures/sheet.js +2 -2
- package/dist/collection/components/modal/gestures/swipe-to-close.js +2 -2
- package/dist/collection/components/modal/modal.js +102 -76
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/basic/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +1 -1
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +2 -2
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +2 -2
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +6 -6
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +5 -6
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/custom/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +1 -1
- package/dist/collection/components/modal/test/fixtures.js +1 -1
- package/dist/collection/components/modal/test/inline/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +1 -1
- package/dist/collection/components/modal/utils.spec.js +1 -1
- package/dist/collection/components/nav/nav.css +0 -1
- package/dist/collection/components/nav/nav.js +129 -67
- package/dist/collection/components/nav/test/basic/nav.e2e.js +1 -1
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +1 -1
- package/dist/collection/components/nav/test/nested/nav.e2e.js +1 -1
- package/dist/collection/components/nav/test/routing/nav.e2e.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +10 -6
- package/dist/collection/components/note/note.js +4 -3
- package/dist/collection/components/note/test/basic/note.e2e.js +1 -1
- package/dist/collection/components/picker/picker.js +50 -39
- package/dist/collection/components/picker/test/basic/picker.e2e.js +1 -1
- package/dist/collection/components/picker/test/is-open/picker.e2e.js +1 -1
- package/dist/collection/components/picker/test/trigger/picker.e2e.js +1 -1
- package/dist/collection/components/picker-column/picker-column.js +6 -4
- package/dist/collection/components/picker-column/test/standalone/picker-column.e2e.js +1 -1
- package/dist/collection/components/picker-column/test/test.utils.js +2 -2
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +12 -7
- package/dist/collection/components/picker-column-internal/test/basic/picker-column-internal.e2e.js +1 -1
- package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +1 -1
- package/dist/collection/components/picker-internal/picker-internal.js +5 -3
- package/dist/collection/components/picker-internal/test/a11y/picker-internal.e2e.js +2 -2
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +1 -1
- package/dist/collection/components/picker-internal/test/keyboard-entry/picker-internal.e2e.js +1 -1
- package/dist/collection/components/popover/animations/ios.enter.js +1 -1
- package/dist/collection/components/popover/animations/md.enter.js +1 -1
- package/dist/collection/components/popover/popover.js +84 -67
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
- package/dist/collection/components/popover/test/basic/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/fixture.js +1 -1
- package/dist/collection/components/popover/test/inline/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/nested/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/position/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/reference/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/size/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/test.utils.js +1 -1
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +5 -4
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +1 -1
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +20 -0
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +20 -0
- package/dist/collection/components/radio/radio.ios.css +67 -0
- package/dist/collection/components/radio/radio.js +34 -10
- package/dist/collection/components/radio/radio.md.css +67 -0
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +2 -2
- package/dist/collection/components/radio/test/color/radio.e2e.js +3 -3
- package/dist/collection/components/radio/test/item/radio.e2e.js +42 -4
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +41 -10
- package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +5 -3
- package/dist/collection/components/radio/test/legacy/basic/radio.e2e.js +1 -1
- package/dist/collection/components/radio/test/states/radio.e2e.js +5 -5
- package/dist/collection/components/radio-group/radio-group.js +6 -4
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +2 -2
- package/dist/collection/components/radio-group/test/fixtures.js +1 -1
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/legacy/basic/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/legacy/form/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/legacy/search/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +2 -2
- package/dist/collection/components/range/range.ios.css +80 -1
- package/dist/collection/components/range/range.js +53 -17
- package/dist/collection/components/range/range.md.css +80 -1
- package/dist/collection/components/range/test/a11y/range.e2e.js +2 -2
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +1 -1
- package/dist/collection/components/range/test/basic/range.e2e.js +1 -1
- package/dist/collection/components/range/test/color/range.e2e.js +2 -2
- package/dist/collection/components/range/test/custom/range.e2e.js +2 -2
- package/dist/collection/components/range/test/item/range.e2e.js +30 -4
- package/dist/collection/components/range/test/label/range.e2e.js +72 -13
- package/dist/collection/components/range/test/legacy/a11y/range.e2e.js +4 -4
- package/dist/collection/components/range/test/legacy/active-bar-start/range.e2e.js +2 -2
- package/dist/collection/components/range/test/legacy/basic/range.e2e.js +3 -8
- package/dist/collection/components/range/test/legacy/range-events.e2e.js +1 -1
- package/dist/collection/components/range/test/legacy/scroll-target/range.e2e.js +1 -1
- package/dist/collection/components/range/test/range-events.e2e.js +17 -18
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +1 -1
- package/dist/collection/components/range/test/states/range.e2e.js +5 -5
- package/dist/collection/components/refresher/refresher.js +11 -7
- package/dist/collection/components/refresher/refresher.utils.js +1 -1
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +3 -4
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +5 -6
- package/dist/collection/components/refresher/test/test.utils.js +4 -1
- package/dist/collection/components/refresher-content/refresher-content.js +13 -9
- package/dist/collection/components/reorder/reorder.js +3 -3
- package/dist/collection/components/reorder-group/reorder-group.js +6 -4
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +1 -1
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +3 -5
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +3 -5
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +3 -5
- package/dist/collection/components/ripple-effect/ripple-effect.js +4 -3
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +1 -1
- package/dist/collection/components/route/route.js +4 -2
- package/dist/collection/components/router/router.js +26 -16
- package/dist/collection/components/router/test/basic/router.e2e.js +1 -1
- package/dist/collection/components/router/test/guards/href/router.e2e.js +2 -2
- package/dist/collection/components/router/test/guards/link/router.e2e.js +2 -2
- package/dist/collection/components/router/test/guards/push/router.e2e.js +2 -2
- package/dist/collection/components/router/test/guards/router.e2e.js +1 -1
- package/dist/collection/components/router/utils/debug.js +1 -1
- package/dist/collection/components/router/utils/dom.js +1 -1
- package/dist/collection/components/router/utils/parser.js +1 -1
- package/dist/collection/components/router/utils/path.js +1 -1
- package/dist/collection/components/router-link/router-link.js +8 -5
- package/dist/collection/components/router-outlet/{route-outlet.css → router-outlet.css} +0 -1
- package/dist/collection/components/router-outlet/{route-outlet.js → router-outlet.js} +40 -29
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +20 -12
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +1 -1
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +1 -1
- package/dist/collection/components/segment/segment.js +47 -30
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +2 -2
- package/dist/collection/components/segment/test/basic/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/custom/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/icon/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/modes/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +41 -2
- package/dist/collection/components/segment/test/segment-events.e2e.js +1 -1
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +1 -1
- package/dist/collection/components/segment-button/segment-button.js +8 -5
- package/dist/collection/components/select/select.js +19 -11
- package/dist/collection/components/select/test/a11y/select.e2e.js +2 -2
- package/dist/collection/components/select/test/async/select.e2e.js +1 -1
- package/dist/collection/components/select/test/basic/select.e2e.js +22 -1
- package/dist/collection/components/select/test/card/select.e2e.js +2 -2
- package/dist/collection/components/select/test/color/select.e2e.js +4 -4
- package/dist/collection/components/select/test/compare-with/select.e2e.js +1 -1
- package/dist/collection/components/select/test/custom/select.e2e.js +1 -1
- package/dist/collection/components/select/test/fill/select.e2e.js +11 -11
- package/dist/collection/components/select/test/highlight/select.e2e.js +4 -4
- package/dist/collection/components/select/test/item/select.e2e.js +3 -3
- package/dist/collection/components/select/test/label/select.e2e.js +21 -21
- package/dist/collection/components/select/test/legacy/async/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/basic/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/compare-with/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/custom/custom.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/single-value/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/spec/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
- package/dist/collection/components/select/test/popover-size/select.e2e.js +1 -1
- package/dist/collection/components/select/test/states/select.e2e.js +5 -5
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +1 -1
- package/dist/collection/components/select/test/wrapping/select.e2e.js +1 -1
- package/dist/collection/components/select-option/select-option.js +2 -2
- package/dist/collection/components/select-popover/select-popover.js +4 -3
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +2 -2
- package/dist/collection/components/select-popover/test/fixtures.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +3 -3
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +1 -1
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +1 -1
- package/dist/collection/components/spinner/spinner.js +8 -6
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +1 -1
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +1 -1
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +7 -4
- package/dist/collection/components/tab-bar/tab-bar.js +27 -4
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +1 -1
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +31 -1
- package/dist/collection/components/tab-button/tab-button.js +7 -5
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +2 -2
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +1 -1
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +1 -1
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +19 -10
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +1 -1
- package/dist/collection/components/text/test/basic/text.e2e.js +1 -1
- package/dist/collection/components/text/text.js +4 -3
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +2 -2
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +7 -7
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +2 -2
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +25 -0
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +16 -16
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +37 -0
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +11 -11
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +10 -10
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +3 -3
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +22 -22
- package/dist/collection/components/textarea/test/legacy/a11y/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +6 -6
- package/dist/collection/components/textarea/test/legacy/basic/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/legacy/clear-on-edit/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +3 -3
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +1 -1
- package/dist/collection/components/textarea/textarea.ios.css +16 -0
- package/dist/collection/components/textarea/textarea.js +23 -14
- package/dist/collection/components/textarea/textarea.md.css +16 -0
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +1 -1
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/test/basic/title.e2e.js +16 -1
- package/dist/collection/components/title/title.ios.css +1 -1
- package/dist/collection/components/title/title.js +6 -4
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +14 -6
- package/dist/collection/components/toast/test/basic/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/layout/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +1 -1
- package/dist/collection/components/toast/toast.js +64 -46
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +2 -2
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +3 -3
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +48 -5
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +37 -10
- package/dist/collection/components/toggle/test/legacy/basic/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/test/legacy/enable-on-off-labels/toggle.e2e.js +3 -3
- package/dist/collection/components/toggle/test/legacy/sizes/toggle.e2e.js +2 -2
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +4 -4
- package/dist/collection/components/toggle/toggle.ios.css +67 -1
- package/dist/collection/components/toggle/toggle.js +34 -11
- package/dist/collection/components/toggle/toggle.md.css +67 -1
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +1 -1
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +1 -1
- package/dist/collection/components/toolbar/toolbar.ios.css +12 -4
- package/dist/collection/components/toolbar/toolbar.js +4 -3
- package/dist/collection/components/toolbar/toolbar.md.css +2 -4
- package/dist/collection/global/ionic-global.js +3 -3
- package/dist/collection/index.js +2 -1
- package/dist/collection/utils/animation/animation.js +3 -3
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +3 -0
- package/dist/collection/utils/animation/test/display/animation.e2e.js +1 -1
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +1 -1
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +1 -1
- package/dist/collection/utils/content/content.utils.spec.js +1 -1
- package/dist/collection/utils/content/index.js +2 -2
- package/dist/collection/utils/floating-point/floating-point.spec.js +1 -1
- package/dist/collection/utils/forms/notch-controller.js +1 -1
- package/dist/collection/utils/framework-delegate.js +22 -3
- package/dist/collection/utils/gesture/button-active.js +3 -3
- package/dist/collection/utils/gesture/index.js +3 -3
- package/dist/collection/utils/gesture/pointer-events.js +1 -1
- package/dist/collection/utils/gesture/swipe-back.js +3 -3
- package/dist/collection/utils/helpers.spec.js +1 -1
- package/dist/collection/utils/input-shims/hacks/hide-caret.js +2 -2
- package/dist/collection/utils/input-shims/hacks/input-blurring.js +1 -1
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +92 -10
- package/dist/collection/utils/input-shims/hacks/scroll-data.js +3 -4
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +1 -1
- package/dist/collection/utils/input-shims/input-shims.js +6 -6
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
- package/dist/collection/utils/keyboard/keyboard.js +1 -1
- package/dist/collection/utils/lock-controller.js +36 -0
- package/dist/collection/utils/menu-controller/animations/base.js +1 -1
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +3 -3
- package/dist/collection/utils/menu-controller/animations/reveal.js +3 -3
- package/dist/collection/utils/menu-controller/index.js +5 -5
- package/dist/collection/utils/native/haptic.js +1 -1
- package/dist/collection/utils/native/keyboard.js +2 -2
- package/dist/collection/utils/native/status-bar.js +1 -1
- package/dist/collection/utils/overlays.js +35 -15
- package/dist/collection/utils/platform.js +1 -1
- package/dist/collection/utils/rtl/dir.spec.js +1 -1
- package/dist/collection/utils/status-tap.js +3 -3
- package/dist/collection/utils/tap-click/index.js +1 -1
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +1 -1
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +1 -1
- package/dist/collection/utils/test/overlays/overlays.e2e.js +1 -1
- package/dist/collection/utils/test/playwright/drag-element.js +67 -8
- package/dist/collection/utils/test/playwright/matchers/index.js +3 -3
- package/dist/collection/utils/test/playwright/matchers/toHaveReceivedEventDetail.js +2 -2
- package/dist/collection/utils/test/playwright/page/utils/goto.js +3 -0
- package/dist/collection/utils/test/playwright/page/utils/index.js +0 -1
- package/dist/collection/utils/test/playwright/page/utils/locator.js +1 -1
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +3 -0
- package/dist/collection/utils/test/playwright/page/utils/spy-on-event.js +1 -1
- package/dist/collection/utils/test/playwright/playwright-page.js +4 -5
- package/dist/collection/utils/test/playwright/viewports/index.js +4 -0
- package/dist/collection/utils/transition/index.js +3 -3
- package/dist/collection/utils/transition/ios.transition.js +2 -2
- package/dist/collection/utils/transition/md.transition.js +2 -2
- package/dist/docs.d.ts +361 -88
- package/dist/docs.json +7176 -117
- package/dist/esm/{animation-258fd22b.js → animation-a1d9e088.js} +2 -2
- package/dist/esm/{app-globals-70454efb.js → app-globals-df292a32.js} +1 -1
- package/dist/esm/{button-active-aef107f0.js → button-active-7180a130.js} +3 -3
- package/dist/esm/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
- package/dist/esm/{data-605c040f.js → data-009dbf15.js} +48 -10
- package/dist/esm/{form-controller-6cd7ebd1.js → form-controller-ed77647a.js} +1 -1
- package/dist/esm/{framework-delegate-6a45ed30.js → framework-delegate-aa433dea.js} +22 -3
- package/dist/esm/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
- package/dist/esm/{index-afea2bcf.js → index-32c6828b.js} +4 -4
- package/dist/esm/{index-6e89f340.js → index-3d6aefa2.js} +4 -4
- package/dist/esm/{index-7373924f.js → index-746a238e.js} +2 -2
- package/dist/esm/{index-36a5fd75.js → index-cb894020.js} +188 -45
- package/dist/esm/{index-2d0c7c77.js → index-f0cc4e14.js} +2 -2
- package/dist/esm/{index-422b6e83.js → index-ff313b19.js} +2 -2
- package/dist/esm/index.js +17 -17
- package/dist/esm/{input-shims-5b912f6d.js → input-shims-d78a3c77.js} +93 -13
- package/dist/esm/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +5 -5
- package/dist/esm/ion-action-sheet.entry.js +24 -32
- package/dist/esm/ion-alert.entry.js +27 -35
- package/dist/esm/ion-app_8.entry.js +79 -40
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +5 -5
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +5 -5
- package/dist/esm/ion-button_2.entry.js +21 -5
- package/dist/esm/ion-card_5.entry.js +4 -4
- package/dist/esm/ion-checkbox.entry.js +17 -13
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +9 -6
- package/dist/esm/ion-datetime_3.entry.js +156 -125
- package/dist/esm/ion-fab_3.entry.js +7 -7
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +6 -6
- package/dist/esm/ion-input.entry.js +11 -11
- package/dist/esm/ion-item-option_3.entry.js +8 -8
- package/dist/esm/ion-item_8.entry.js +43 -16
- package/dist/esm/ion-loading.entry.js +19 -27
- package/dist/esm/ion-menu_3.entry.js +32 -19
- package/dist/esm/ion-modal.entry.js +59 -58
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-internal.entry.js +7 -7
- package/dist/esm/ion-picker-internal.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +26 -40
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +11 -9
- package/dist/esm/ion-range.entry.js +42 -14
- package/dist/esm/ion-refresher_2.entry.js +16 -16
- package/dist/esm/ion-reorder_2.entry.js +10 -10
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +40 -29
- package/dist/esm/ion-select_3.entry.js +14 -14
- package/dist/esm/ion-spinner.entry.js +4 -4
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +12 -8
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +3 -3
- package/dist/esm/ion-textarea.entry.js +12 -12
- package/dist/esm/ion-toast.entry.js +23 -28
- package/dist/esm/ion-toggle.entry.js +17 -15
- package/dist/esm/{ionic-global-a9abd569.js → ionic-global-63a8d8c9.js} +1 -1
- package/dist/esm/ionic.js +6 -9
- package/dist/esm/{ios.transition-6a838b0c.js → ios.transition-d8223b18.js} +5 -5
- package/dist/esm/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
- package/dist/esm/{keyboard-a818f780.js → keyboard-b551279d.js} +3 -3
- package/dist/esm/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +2 -2
- package/dist/esm/loader.js +6 -15
- package/dist/esm/lock-controller-e8c6c051.js +38 -0
- package/dist/esm/{md.transition-b7d7b475.js → md.transition-caed184e.js} +5 -5
- package/dist/esm/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +3 -3
- package/dist/esm/{overlays-4801a327.js → overlays-84621c0a.js} +35 -15
- package/dist/esm/{status-tap-211f1ad8.js → status-tap-73e982b6.js} +4 -4
- package/dist/esm/{swipe-back-2f9f0102.js → swipe-back-6e8158bc.js} +4 -4
- package/dist/esm-es5/{animation-258fd22b.js → animation-a1d9e088.js} +1 -1
- package/dist/esm-es5/app-globals-df292a32.js +4 -0
- package/dist/esm-es5/{button-active-aef107f0.js → button-active-7180a130.js} +1 -1
- package/dist/esm-es5/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
- package/dist/esm-es5/data-009dbf15.js +4 -0
- package/dist/esm-es5/form-controller-ed77647a.js +4 -0
- package/dist/esm-es5/framework-delegate-aa433dea.js +4 -0
- package/dist/esm-es5/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
- package/dist/esm-es5/{index-afea2bcf.js → index-32c6828b.js} +1 -1
- package/dist/esm-es5/{index-6e89f340.js → index-3d6aefa2.js} +1 -1
- package/dist/esm-es5/{index-7373924f.js → index-746a238e.js} +1 -1
- package/dist/esm-es5/index-cb894020.js +5 -0
- package/dist/esm-es5/{index-2d0c7c77.js → index-f0cc4e14.js} +1 -1
- package/dist/esm-es5/{index-422b6e83.js → index-ff313b19.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-d78a3c77.js +4 -0
- package/dist/esm-es5/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-a9abd569.js → ionic-global-63a8d8c9.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-6a838b0c.js → ios.transition-d8223b18.js} +1 -1
- package/dist/esm-es5/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
- package/dist/esm-es5/{keyboard-a818f780.js → keyboard-b551279d.js} +1 -1
- package/dist/esm-es5/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/lock-controller-e8c6c051.js +4 -0
- package/dist/esm-es5/md.transition-caed184e.js +4 -0
- package/dist/esm-es5/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +1 -1
- package/dist/esm-es5/overlays-84621c0a.js +4 -0
- package/dist/esm-es5/{status-tap-211f1ad8.js → status-tap-73e982b6.js} +1 -1
- package/dist/esm-es5/{swipe-back-2f9f0102.js → swipe-back-6e8158bc.js} +1 -1
- package/dist/html.html-data.json +139 -91
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +2 -6
- package/dist/ionic/{p-d267077c.system.entry.js → p-007168b8.system.entry.js} +1 -1
- package/dist/ionic/p-00cf2d6c.js +4 -0
- package/dist/ionic/p-018ad59f.entry.js +4 -0
- package/dist/ionic/p-037e2738.system.entry.js +4 -0
- package/dist/ionic/p-043e8328.system.js +4 -0
- package/dist/ionic/{p-138fcf0f.entry.js → p-0793ebfd.entry.js} +1 -1
- package/dist/ionic/{p-66bd7d60.entry.js → p-0e070fbe.entry.js} +1 -1
- package/dist/ionic/p-0e9a055c.js +4 -0
- package/dist/ionic/{p-e3f387af.system.js → p-14d7b7e2.system.js} +1 -1
- package/dist/ionic/{p-b159246b.entry.js → p-15278928.entry.js} +1 -1
- package/dist/ionic/p-1c59608c.system.entry.js +4 -0
- package/dist/ionic/p-1caf1ec6.entry.js +4 -0
- package/dist/ionic/p-1d2d1ab5.system.entry.js +4 -0
- package/dist/ionic/p-21085f64.system.entry.js +4 -0
- package/dist/ionic/p-23e76249.entry.js +4 -0
- package/dist/ionic/p-26fbffd4.system.js +5 -0
- package/dist/ionic/{p-8a95273c.js → p-276afddd.js} +1 -1
- package/dist/ionic/{p-43060640.system.entry.js → p-28678af4.system.entry.js} +1 -1
- package/dist/ionic/p-2992f2a8.entry.js +4 -0
- package/dist/ionic/{p-40f778e6.js → p-30b04d8d.js} +1 -1
- package/dist/ionic/{p-f3116c14.system.js → p-3632220b.system.js} +1 -1
- package/dist/ionic/{p-cd582fdb.system.entry.js → p-37fc0d22.system.entry.js} +1 -1
- package/dist/ionic/p-3bad5c1a.js +4 -0
- package/dist/ionic/{p-1699be8e.entry.js → p-3bf7c0dc.entry.js} +1 -1
- package/dist/ionic/{p-aa7b8135.system.js → p-3d726a67.system.js} +1 -1
- package/dist/ionic/{p-5d6123f1.entry.js → p-3db27dec.entry.js} +1 -1
- package/dist/ionic/{p-a780a377.entry.js → p-3dce88bf.entry.js} +1 -1
- package/dist/ionic/{p-9dcf76ff.system.entry.js → p-3e6b0330.system.entry.js} +1 -1
- package/dist/ionic/{p-59a47aff.system.js → p-41477ad9.system.js} +1 -1
- package/dist/ionic/{p-d7fd994b.js → p-419eb426.js} +1 -1
- package/dist/ionic/p-44ef7224.system.js +4 -0
- package/dist/ionic/p-469d6a98.entry.js +4 -0
- package/dist/ionic/p-4af11953.entry.js +4 -0
- package/dist/ionic/p-4b23f472.entry.js +4 -0
- package/dist/ionic/{p-a2e57f27.entry.js → p-4c20879c.entry.js} +1 -1
- package/dist/ionic/p-4e76e29a.system.entry.js +4 -0
- package/dist/ionic/p-50d83224.entry.js +4 -0
- package/dist/ionic/{p-c75da7cf.system.js → p-534a1cbc.system.js} +1 -1
- package/dist/ionic/p-53b2a46f.js +4 -0
- package/dist/ionic/{p-ed70dec7.entry.js → p-57743e20.entry.js} +1 -1
- package/dist/ionic/{p-d7e0a42b.system.js → p-57c5eca2.system.js} +2 -2
- package/dist/ionic/p-58565369.system.entry.js +4 -0
- package/dist/ionic/{p-505d3b57.system.js → p-5c24c115.system.js} +1 -1
- package/dist/ionic/{p-7c63a67f.system.entry.js → p-5fd0a13e.system.entry.js} +1 -1
- package/dist/ionic/{p-084b2140.system.js → p-613d4042.system.js} +1 -1
- package/dist/ionic/{p-6ff7a5e5.entry.js → p-63f39d2f.entry.js} +1 -1
- package/dist/ionic/{p-4c9a0825.system.js → p-64475ab5.system.js} +2 -2
- package/dist/ionic/p-6641d7fa.js +4 -0
- package/dist/ionic/{p-fc431180.entry.js → p-67e21699.entry.js} +1 -1
- package/dist/ionic/p-68a3da51.js +4 -0
- package/dist/ionic/p-68b405cc.entry.js +4 -0
- package/dist/ionic/{p-565d288e.system.js → p-6b2641f6.system.js} +1 -1
- package/dist/ionic/{p-9cfa25d2.system.entry.js → p-6c7d61b9.system.entry.js} +1 -1
- package/dist/ionic/{p-ab692eeb.entry.js → p-6ce891b2.entry.js} +1 -1
- package/dist/ionic/{p-8a9d2a85.system.entry.js → p-6db9035a.system.entry.js} +1 -1
- package/dist/ionic/{p-9edd7119.system.entry.js → p-6f3099b6.system.entry.js} +1 -1
- package/dist/ionic/p-73eba881.system.js +4 -0
- package/dist/ionic/p-772f6c84.system.js +4 -0
- package/dist/ionic/{p-9a7f5ed5.entry.js → p-7887ac7a.entry.js} +1 -1
- package/dist/ionic/{p-c1f5d275.js → p-7a590a28.js} +1 -1
- package/dist/ionic/p-7b15d413.entry.js +4 -0
- package/dist/ionic/{p-0b761768.system.js → p-7c901810.system.js} +1 -1
- package/dist/ionic/p-7cad90ed.entry.js +4 -0
- package/dist/ionic/p-7cfd253c.js +4 -0
- package/dist/ionic/p-7d6f2bbb.system.entry.js +4 -0
- package/dist/ionic/{p-c05662ba.system.entry.js → p-7fd0f045.system.entry.js} +1 -1
- package/dist/ionic/p-81c818e7.js +4 -0
- package/dist/ionic/{p-fc2c5521.system.entry.js → p-84549737.system.entry.js} +1 -1
- package/dist/ionic/p-8957b1de.system.entry.js +4 -0
- package/dist/ionic/{p-e4146230.system.entry.js → p-89e3d112.system.entry.js} +1 -1
- package/dist/ionic/{p-609ac308.js → p-8a289322.js} +1 -1
- package/dist/ionic/{p-46956a85.js → p-8b1be026.js} +1 -1
- package/dist/ionic/p-8c17d825.js +4 -0
- package/dist/ionic/{p-0c92638a.js → p-8cf94fc1.js} +1 -1
- package/dist/ionic/p-8f36cde3.system.entry.js +4 -0
- package/dist/ionic/p-903c36fe.js +5 -0
- package/dist/ionic/p-90ebbca0.entry.js +4 -0
- package/dist/ionic/{p-ee5049fd.entry.js → p-9201a4d3.entry.js} +1 -1
- package/dist/ionic/{p-477f7813.entry.js → p-92d72ad8.entry.js} +1 -1
- package/dist/ionic/{p-52540082.js → p-94a4ce40.js} +1 -1
- package/dist/ionic/p-95e44641.system.entry.js +4 -0
- package/dist/ionic/{p-ee9863ad.js → p-9649c54e.js} +1 -1
- package/dist/ionic/p-96ad49f1.entry.js +4 -0
- package/dist/ionic/{p-e8b9a6b2.system.entry.js → p-9a6f6789.system.entry.js} +1 -1
- package/dist/ionic/{p-86e57430.system.js → p-9ab6f3e6.system.js} +1 -1
- package/dist/ionic/{p-49ead5cb.system.js → p-9d0916cb.system.js} +1 -1
- package/dist/ionic/p-9e727d1d.entry.js +4 -0
- package/dist/ionic/{p-dd54d07b.system.entry.js → p-9e91c83f.system.entry.js} +1 -1
- package/dist/ionic/p-9f2e0db9.js +4 -0
- package/dist/ionic/{p-f9f3ef7c.system.js → p-9f9efb31.system.js} +1 -1
- package/dist/ionic/p-a0e2f6d8.entry.js +4 -0
- package/dist/ionic/{p-30ae30f8.entry.js → p-a1d7f4ef.entry.js} +1 -1
- package/dist/ionic/{p-f6f393ee.system.entry.js → p-a4e95028.system.entry.js} +1 -1
- package/dist/ionic/p-a51f5932.entry.js +4 -0
- package/dist/ionic/p-a6c52452.entry.js +4 -0
- package/dist/ionic/{p-40ed5852.system.js → p-a732cfec.system.js} +1 -1
- package/dist/ionic/{p-fa98c2a6.system.js → p-a760fd9a.system.js} +1 -1
- package/dist/ionic/{p-7cc4d08a.system.entry.js → p-a8403bed.system.entry.js} +1 -1
- package/dist/ionic/{p-94d4b708.system.entry.js → p-a9b13f18.system.entry.js} +1 -1
- package/dist/ionic/{p-2d55f2bd.system.js → p-ab4cff27.system.js} +1 -1
- package/dist/ionic/p-ab7edc16.system.entry.js +4 -0
- package/dist/ionic/{p-465e0121.system.entry.js → p-abfd1f2e.system.entry.js} +1 -1
- package/dist/ionic/p-ac32f6ce.entry.js +4 -0
- package/dist/ionic/p-b132c2c0.system.js +4 -0
- package/dist/ionic/{p-6f59ad61.entry.js → p-b2397f35.entry.js} +1 -1
- package/dist/ionic/p-b24aa895.js +4 -0
- package/dist/ionic/{p-a7016aef.entry.js → p-b27772bf.entry.js} +1 -1
- package/dist/ionic/p-b287ab05.js +4 -0
- package/dist/ionic/p-b370d1b4.js +4 -0
- package/dist/ionic/p-b3bcef34.system.entry.js +4 -0
- package/dist/ionic/p-b4c0e9ee.entry.js +4 -0
- package/dist/ionic/{p-b46c09ac.system.entry.js → p-b4daca17.system.entry.js} +1 -1
- package/dist/ionic/p-b79eb3cd.entry.js +4 -0
- package/dist/ionic/{p-322237d0.entry.js → p-b9e2aede.entry.js} +1 -1
- package/dist/ionic/{p-28342e96.js → p-bb6f38ed.js} +1 -1
- package/dist/ionic/{p-c3325038.system.js → p-bba2ce59.system.js} +1 -1
- package/dist/ionic/{p-088a58a8.system.entry.js → p-c09e1da9.system.entry.js} +1 -1
- package/dist/ionic/{p-f7515628.entry.js → p-c2d6b2fb.entry.js} +1 -1
- package/dist/ionic/p-c381a9a9.system.entry.js +4 -0
- package/dist/ionic/p-c8ec0d79.system.js +4 -0
- package/dist/ionic/p-ca5cf574.js +4 -0
- package/dist/ionic/{p-0dd11651.entry.js → p-ca655a7c.entry.js} +1 -1
- package/dist/ionic/p-cc196b34.js +4 -0
- package/dist/ionic/{p-0fba861a.system.js → p-ccdcb022.system.js} +1 -1
- package/dist/ionic/{p-9912d985.js → p-d1de1188.js} +1 -1
- package/dist/ionic/{p-54ada505.entry.js → p-d2a278b1.entry.js} +1 -1
- package/dist/ionic/{p-355aae8e.system.entry.js → p-d511de89.system.entry.js} +1 -1
- package/dist/ionic/p-d580cbb7.system.entry.js +4 -0
- package/dist/ionic/{p-13cb1942.system.entry.js → p-d90f0779.system.entry.js} +1 -1
- package/dist/ionic/p-da024961.entry.js +4 -0
- package/dist/ionic/p-dd0c00ed.entry.js +4 -0
- package/dist/ionic/p-e263255c.system.entry.js +4 -0
- package/dist/ionic/p-e3272ed8.entry.js +4 -0
- package/dist/ionic/{p-f67dfe83.system.entry.js → p-e40b2cb4.system.entry.js} +1 -1
- package/dist/ionic/p-e6d2cca2.system.entry.js +4 -0
- package/dist/ionic/p-e88ed929.system.entry.js +4 -0
- package/dist/ionic/p-eacb02b2.system.js +4 -0
- package/dist/ionic/{p-54d3d2b6.entry.js → p-ec29338e.entry.js} +1 -1
- package/dist/ionic/p-ec451ef7.system.entry.js +4 -0
- package/dist/ionic/{p-ec8a20f7.system.entry.js → p-f1c2678b.system.entry.js} +1 -1
- package/dist/ionic/{p-46cac66d.system.entry.js → p-f37d6823.system.entry.js} +1 -1
- package/dist/ionic/p-f4267847.system.entry.js +4 -0
- package/dist/ionic/p-f6f4d4bb.system.entry.js +4 -0
- package/dist/ionic/{p-c056132d.entry.js → p-fa06c407.entry.js} +1 -1
- package/dist/ionic/{p-c3da26fd.system.js → p-fa8d4788.system.js} +1 -1
- package/dist/ionic/p-fb18f74b.system.entry.js +4 -0
- package/dist/ionic/{p-163145e8.system.entry.js → p-fbc7995a.system.entry.js} +1 -1
- package/dist/ionic/{p-3ca87455.system.js → p-ff5a10f9.system.js} +1 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -0
- package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
- package/dist/types/components/alert/alert-interface.d.ts +3 -0
- package/dist/types/components/alert/alert.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/checkbox/checkbox.d.ts +9 -1
- package/dist/types/components/content/content.d.ts +2 -1
- package/dist/types/components/datetime/datetime.d.ts +23 -10
- package/dist/types/components/datetime/utils/data.d.ts +1 -1
- package/dist/types/components/datetime/utils/parse.d.ts +5 -5
- package/dist/types/components/item/item.d.ts +2 -0
- package/dist/types/components/item-sliding/test/test.utils.d.ts +5 -0
- package/dist/types/components/loading/loading.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +2 -0
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/picker/picker-interface.d.ts +3 -0
- package/dist/types/components/picker/picker.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +8 -1
- package/dist/types/components/range/range.d.ts +10 -1
- package/dist/types/components/router-outlet/{route-outlet.d.ts → router-outlet.d.ts} +1 -2
- package/dist/types/components/segment/segment.d.ts +1 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +8 -0
- package/dist/types/components/toast/toast-interface.d.ts +6 -0
- package/dist/types/components/toast/toast.d.ts +2 -1
- package/dist/types/components/toggle/toggle.d.ts +8 -1
- package/dist/types/components.d.ts +42 -16
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +17 -5
- package/dist/types/utils/browser/index.d.ts +16 -1
- package/dist/types/utils/input-shims/hacks/scroll-data.d.ts +1 -1
- package/dist/types/utils/lock-controller.d.ts +10 -0
- package/dist/types/utils/overlays.d.ts +5 -2
- package/dist/types/utils/test/playwright/drag-element.d.ts +8 -1
- package/dist/types/utils/test/playwright/page/utils/index.d.ts +0 -1
- package/dist/types/utils/test/playwright/playwright-declarations.d.ts +0 -5
- package/dist/types/utils/test/playwright/viewports/index.d.ts +4 -0
- package/hydrate/index.d.ts +6 -6
- package/hydrate/index.js +731 -478
- package/loader/index.d.ts +1 -1
- package/package.json +7 -6
- package/dist/collection/utils/test/playwright/page/utils/get-snapshot-settings.js +0 -32
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/app-globals-70454efb.js +0 -4
- package/dist/esm-es5/data-605c040f.js +0 -4
- package/dist/esm-es5/form-controller-6cd7ebd1.js +0 -4
- package/dist/esm-es5/framework-delegate-6a45ed30.js +0 -4
- package/dist/esm-es5/index-36a5fd75.js +0 -5
- package/dist/esm-es5/input-shims-5b912f6d.js +0 -4
- package/dist/esm-es5/md.transition-b7d7b475.js +0 -4
- package/dist/esm-es5/overlays-4801a327.js +0 -4
- package/dist/ionic/p-004db8b3.entry.js +0 -4
- package/dist/ionic/p-026e6f00.system.entry.js +0 -4
- package/dist/ionic/p-05111967.entry.js +0 -4
- package/dist/ionic/p-0768899f.system.entry.js +0 -4
- package/dist/ionic/p-0e51ceb7.system.entry.js +0 -4
- package/dist/ionic/p-138715e1.system.js +0 -4
- package/dist/ionic/p-164b025e.system.js +0 -4
- package/dist/ionic/p-1ce8e1ca.system.entry.js +0 -4
- package/dist/ionic/p-1f05aa2b.system.entry.js +0 -4
- package/dist/ionic/p-21e3627d.entry.js +0 -4
- package/dist/ionic/p-2e5dc115.entry.js +0 -4
- package/dist/ionic/p-335e3cfe.js +0 -4
- package/dist/ionic/p-34f66fef.entry.js +0 -4
- package/dist/ionic/p-37184fe8.js +0 -4
- package/dist/ionic/p-39a30df1.entry.js +0 -4
- package/dist/ionic/p-3bf5cd2e.system.entry.js +0 -4
- package/dist/ionic/p-3f9dbcfc.system.entry.js +0 -4
- package/dist/ionic/p-4108c24e.entry.js +0 -4
- package/dist/ionic/p-451cbc39.js +0 -4
- package/dist/ionic/p-4ab679fd.system.js +0 -4
- package/dist/ionic/p-4f7973ad.entry.js +0 -4
- package/dist/ionic/p-5a3ee051.system.js +0 -4
- package/dist/ionic/p-5c30baea.system.entry.js +0 -4
- package/dist/ionic/p-5db06d92.system.entry.js +0 -4
- package/dist/ionic/p-5dc1aee9.entry.js +0 -4
- package/dist/ionic/p-5de3c520.js +0 -4
- package/dist/ionic/p-627e74b4.js +0 -4
- package/dist/ionic/p-68ff1f90.entry.js +0 -4
- package/dist/ionic/p-69a66969.js +0 -4
- package/dist/ionic/p-6a0edd6d.system.js +0 -5
- package/dist/ionic/p-6eeeee8b.system.entry.js +0 -4
- package/dist/ionic/p-72969d37.entry.js +0 -4
- package/dist/ionic/p-74a23266.system.entry.js +0 -4
- package/dist/ionic/p-8711de04.entry.js +0 -4
- package/dist/ionic/p-871802fe.entry.js +0 -4
- package/dist/ionic/p-897e142d.entry.js +0 -4
- package/dist/ionic/p-8da248f0.system.entry.js +0 -4
- package/dist/ionic/p-9131f2ce.system.entry.js +0 -4
- package/dist/ionic/p-921d49a0.entry.js +0 -4
- package/dist/ionic/p-94bb8e22.entry.js +0 -4
- package/dist/ionic/p-954ce757.system.entry.js +0 -4
- package/dist/ionic/p-99eac672.system.js +0 -4
- package/dist/ionic/p-9c935c1f.system.entry.js +0 -4
- package/dist/ionic/p-a18e77cb.system.entry.js +0 -4
- package/dist/ionic/p-a4ef5b36.js +0 -4
- package/dist/ionic/p-a5808f22.entry.js +0 -4
- package/dist/ionic/p-acd4af3a.entry.js +0 -4
- package/dist/ionic/p-b096113b.js +0 -4
- package/dist/ionic/p-b6098fdf.entry.js +0 -4
- package/dist/ionic/p-b6519389.system.entry.js +0 -4
- package/dist/ionic/p-c60bc054.system.entry.js +0 -4
- package/dist/ionic/p-c7d59299.js +0 -4
- package/dist/ionic/p-c9b94b63.system.entry.js +0 -4
- package/dist/ionic/p-cc6e5174.js +0 -4
- package/dist/ionic/p-cd83e6cc.system.entry.js +0 -4
- package/dist/ionic/p-d0dedc45.entry.js +0 -4
- package/dist/ionic/p-d34c3e77.js +0 -4
- package/dist/ionic/p-d834e36b.entry.js +0 -4
- package/dist/ionic/p-d9bc4210.js +0 -5
- package/dist/ionic/p-e171bd9c.system.js +0 -4
- package/dist/ionic/p-f16ea33b.entry.js +0 -4
- package/dist/ionic/p-f321535c.js +0 -4
- package/dist/ionic/p-f3c381f2.entry.js +0 -4
- package/dist/ionic/p-f484f0e1.system.entry.js +0 -4
- package/dist/ionic/p-f810e0d3.js +0 -4
- package/dist/ionic/p-ffe2c670.js +0 -4
- package/dist/types/utils/test/playwright/page/utils/get-snapshot-settings.d.ts +0 -8
- /package/dist/cjs/{config-172736e4.js → config-d5882735.js} +0 -0
- /package/dist/cjs/{cubic-bezier-0e51923d.js → cubic-bezier-6b9222ad.js} +0 -0
- /package/dist/cjs/{dir-186d3a4d.js → dir-f1e0ca26.js} +0 -0
- /package/dist/cjs/{focus-visible-6163be3a.js → focus-visible-a7545600.js} +0 -0
- /package/dist/cjs/{gesture-controller-e2865472.js → gesture-controller-b46721be.js} +0 -0
- /package/dist/cjs/{hardware-back-button-bae6e13a.js → hardware-back-button-b67c8e75.js} +0 -0
- /package/dist/cjs/{helpers-77560954.js → helpers-ea4ccbcb.js} +0 -0
- /package/dist/cjs/{index-f0d7c9cc.js → index-306a7476.js} +0 -0
- /package/dist/cjs/{index-79605113.js → index-cc7dfb7c.js} +0 -0
- /package/dist/cjs/{index-b0e73ba0.js → index-d8d1fc0b.js} +0 -0
- /package/dist/cjs/{spinner-configs-7d30ff6f.js → spinner-configs-f7b5105b.js} +0 -0
- /package/dist/cjs/{theme-e6fec71e.js → theme-fbc56b3b.js} +0 -0
- /package/dist/cjs/{watch-options-4d182698.js → watch-options-f3f77e54.js} +0 -0
- /package/dist/esm/{config-80c044f2.js → config-96c9ace3.js} +0 -0
- /package/dist/esm/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
- /package/dist/esm/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
- /package/dist/esm/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
- /package/dist/esm/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
- /package/dist/esm/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
- /package/dist/esm/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
- /package/dist/esm/{index-e86f0117.js → index-595d62c9.js} +0 -0
- /package/dist/esm/{index-b32cad98.js → index-7a14ecec.js} +0 -0
- /package/dist/esm/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
- /package/dist/esm/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
- /package/dist/esm/{theme-7670341c.js → theme-17531cdf.js} +0 -0
- /package/dist/esm/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
- /package/dist/esm-es5/{config-80c044f2.js → config-96c9ace3.js} +0 -0
- /package/dist/esm-es5/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
- /package/dist/esm-es5/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
- /package/dist/esm-es5/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
- /package/dist/esm-es5/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
- /package/dist/esm-es5/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
- /package/dist/esm-es5/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
- /package/dist/esm-es5/{index-e86f0117.js → index-595d62c9.js} +0 -0
- /package/dist/esm-es5/{index-b32cad98.js → index-7a14ecec.js} +0 -0
- /package/dist/esm-es5/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
- /package/dist/esm-es5/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
- /package/dist/esm-es5/{theme-7670341c.js → theme-17531cdf.js} +0 -0
- /package/dist/esm-es5/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
- /package/dist/ionic/{p-35d01c78.js → p-0a87858b.js} +0 -0
- /package/dist/ionic/{p-3b753651.system.js → p-0e94957a.system.js} +0 -0
- /package/dist/ionic/{p-6561b0e5.js → p-185e427e.js} +0 -0
- /package/dist/ionic/{p-e1bc9a81.js → p-1b8e1d03.js} +0 -0
- /package/dist/ionic/{p-fe01417c.js → p-1d072d3d.js} +0 -0
- /package/dist/ionic/{p-5503807a.system.js → p-2b89ea1b.system.js} +0 -0
- /package/dist/ionic/{p-1ef14636.system.js → p-44bc8b45.system.js} +0 -0
- /package/dist/ionic/{p-97891b6b.system.js → p-479cdbf8.system.js} +0 -0
- /package/dist/ionic/{p-09292468.system.js → p-56dc022e.system.js} +0 -0
- /package/dist/ionic/{p-c099b4c9.js → p-5bf16a18.js} +0 -0
- /package/dist/ionic/{p-38bc7b29.js → p-63eb0acd.js} +0 -0
- /package/dist/ionic/{p-bb5b0f18.js → p-6dbfe5d4.js} +0 -0
- /package/dist/ionic/{p-d2405689.js → p-76fce40e.js} +0 -0
- /package/dist/ionic/{p-7ec7dc35.js → p-7b021525.js} +0 -0
- /package/dist/ionic/{p-bb38e011.js → p-7c2bac85.js} +0 -0
- /package/dist/ionic/{p-86d4b2bf.system.js → p-815c2fba.system.js} +0 -0
- /package/dist/ionic/{p-c2257c28.system.js → p-819ff3b9.system.js} +0 -0
- /package/dist/ionic/{p-56929710.system.js → p-87411e39.system.js} +0 -0
- /package/dist/ionic/{p-dc3c3a0a.system.js → p-8985b268.system.js} +0 -0
- /package/dist/ionic/{p-04f1268e.system.js → p-8c15eda7.system.js} +0 -0
- /package/dist/ionic/{p-72dbfdd4.system.js → p-9e852ff1.system.js} +0 -0
- /package/dist/ionic/{p-3c349187.js → p-b347cfd1.js} +0 -0
- /package/dist/ionic/{p-896b72c9.js → p-c18d6eac.js} +0 -0
- /package/dist/ionic/{p-eb54056c.system.js → p-c4f2dce7.system.js} +0 -0
- /package/dist/ionic/{p-4a212c9c.system.js → p-c87827ca.system.js} +0 -0
- /package/dist/ionic/{p-e1c318e0.js → p-e0b06b65.js} +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, readTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createButtonActiveGesture } from './button-active.js';
|
|
6
6
|
import { r as raf } from './helpers.js';
|
|
7
|
+
import { c as createLockController } from './lock-controller.js';
|
|
7
8
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays.js';
|
|
8
9
|
import { g as getClassMap } from './theme.js';
|
|
9
10
|
import { b as getIonMode } from './ionic-global.js';
|
|
@@ -113,6 +114,7 @@ const ActionSheet = /*@__PURE__*/ proxyCustomElement(class ActionSheet extends H
|
|
|
113
114
|
this.willDismissShorthand = createEvent(this, "willDismiss", 7);
|
|
114
115
|
this.didDismissShorthand = createEvent(this, "didDismiss", 7);
|
|
115
116
|
this.delegateController = createDelegateController(this);
|
|
117
|
+
this.lockController = createLockController();
|
|
116
118
|
this.triggerController = createTriggerController();
|
|
117
119
|
this.presented = false;
|
|
118
120
|
this.onBackdropTap = () => {
|
|
@@ -160,21 +162,10 @@ const ActionSheet = /*@__PURE__*/ proxyCustomElement(class ActionSheet extends H
|
|
|
160
162
|
* Present the action sheet overlay after it has been created.
|
|
161
163
|
*/
|
|
162
164
|
async present() {
|
|
163
|
-
|
|
164
|
-
* When using an inline action sheet
|
|
165
|
-
* and dismissing a action sheet it is possible to
|
|
166
|
-
* quickly present the action sheet while it is
|
|
167
|
-
* dismissing. We need to await any current
|
|
168
|
-
* transition to allow the dismiss to finish
|
|
169
|
-
* before presenting again.
|
|
170
|
-
*/
|
|
171
|
-
if (this.currentTransition !== undefined) {
|
|
172
|
-
await this.currentTransition;
|
|
173
|
-
}
|
|
165
|
+
const unlock = await this.lockController.lock();
|
|
174
166
|
await this.delegateController.attachViewToDom();
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
this.currentTransition = undefined;
|
|
167
|
+
await present(this, 'actionSheetEnter', iosEnterAnimation, mdEnterAnimation);
|
|
168
|
+
unlock();
|
|
178
169
|
}
|
|
179
170
|
/**
|
|
180
171
|
* Dismiss the action sheet overlay after it has been presented.
|
|
@@ -186,11 +177,12 @@ const ActionSheet = /*@__PURE__*/ proxyCustomElement(class ActionSheet extends H
|
|
|
186
177
|
* Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
|
187
178
|
*/
|
|
188
179
|
async dismiss(data, role) {
|
|
189
|
-
|
|
190
|
-
const dismissed = await this
|
|
180
|
+
const unlock = await this.lockController.lock();
|
|
181
|
+
const dismissed = await dismiss(this, data, role, 'actionSheetLeave', iosLeaveAnimation, mdLeaveAnimation);
|
|
191
182
|
if (dismissed) {
|
|
192
183
|
this.delegateController.removeViewFromDom();
|
|
193
184
|
}
|
|
185
|
+
unlock();
|
|
194
186
|
return dismissed;
|
|
195
187
|
}
|
|
196
188
|
/**
|
|
@@ -286,7 +278,7 @@ const ActionSheet = /*@__PURE__*/ proxyCustomElement(class ActionSheet extends H
|
|
|
286
278
|
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { class: "action-sheet-container" }, h("div", { class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (h("div", { id: headerID, class: {
|
|
287
279
|
'action-sheet-title': true,
|
|
288
280
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
289
|
-
} }, header, this.subHeader && h("div", { class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b) }, h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { class: "action-sheet-group action-sheet-group-cancel" }, h("button", { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }, h("span", { class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", null)))))), h("div", { tabindex: "0" })));
|
|
281
|
+
} }, header, this.subHeader && h("div", { class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b) }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({}, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", null)))))), h("div", { tabindex: "0" })));
|
|
290
282
|
}
|
|
291
283
|
get el() { return this; }
|
|
292
284
|
static get watchers() { return {
|
|
@@ -318,6 +310,9 @@ const ActionSheet = /*@__PURE__*/ proxyCustomElement(class ActionSheet extends H
|
|
|
318
310
|
"dismiss": [64],
|
|
319
311
|
"onDidDismiss": [64],
|
|
320
312
|
"onWillDismiss": [64]
|
|
313
|
+
}, undefined, {
|
|
314
|
+
"isOpen": ["onIsOpenChange"],
|
|
315
|
+
"trigger": ["triggerChanged"]
|
|
321
316
|
}]);
|
|
322
317
|
const buttonClass = (button) => {
|
|
323
318
|
return Object.assign({ 'action-sheet-button': true, 'ion-activatable': true, 'ion-focusable': true, [`action-sheet-${button.role}`]: button.role !== undefined }, getClassMap(button.cssClass));
|
package/components/alert.js
CHANGED
|
@@ -5,6 +5,7 @@ import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } fr
|
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config.js';
|
|
6
6
|
import { c as createButtonActiveGesture } from './button-active.js';
|
|
7
7
|
import { r as raf } from './helpers.js';
|
|
8
|
+
import { c as createLockController } from './lock-controller.js';
|
|
8
9
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays.js';
|
|
9
10
|
import { g as getClassMap } from './theme.js';
|
|
10
11
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
@@ -97,9 +98,9 @@ const mdLeaveAnimation = (baseEl) => {
|
|
|
97
98
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
98
99
|
};
|
|
99
100
|
|
|
100
|
-
const alertIosCss = ".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;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);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-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}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-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:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:strict}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:9px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:9px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:9px}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}";
|
|
101
|
+
const alertIosCss = ".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;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);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-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}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-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:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:9px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:9px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:9px}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}";
|
|
101
102
|
|
|
102
|
-
const alertMdCss = ".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;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);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-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}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-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:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:strict}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{max-height:266px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;height:48px;overflow:hidden}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}";
|
|
103
|
+
const alertMdCss = ".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;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);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-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}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-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:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{max-height:266px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}";
|
|
103
104
|
|
|
104
105
|
const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
105
106
|
constructor() {
|
|
@@ -114,6 +115,7 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
114
115
|
this.willDismissShorthand = createEvent(this, "willDismiss", 7);
|
|
115
116
|
this.didDismissShorthand = createEvent(this, "didDismiss", 7);
|
|
116
117
|
this.delegateController = createDelegateController(this);
|
|
118
|
+
this.lockController = createLockController();
|
|
117
119
|
this.triggerController = createTriggerController();
|
|
118
120
|
this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);
|
|
119
121
|
this.processedInputs = [];
|
|
@@ -280,21 +282,10 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
280
282
|
* Present the alert overlay after it has been created.
|
|
281
283
|
*/
|
|
282
284
|
async present() {
|
|
283
|
-
|
|
284
|
-
* When using an inline alert
|
|
285
|
-
* and dismissing an alert it is possible to
|
|
286
|
-
* quickly present the alert while it is
|
|
287
|
-
* dismissing. We need to await any current
|
|
288
|
-
* transition to allow the dismiss to finish
|
|
289
|
-
* before presenting again.
|
|
290
|
-
*/
|
|
291
|
-
if (this.currentTransition !== undefined) {
|
|
292
|
-
await this.currentTransition;
|
|
293
|
-
}
|
|
285
|
+
const unlock = await this.lockController.lock();
|
|
294
286
|
await this.delegateController.attachViewToDom();
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
this.currentTransition = undefined;
|
|
287
|
+
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
|
|
288
|
+
unlock();
|
|
298
289
|
}
|
|
299
290
|
/**
|
|
300
291
|
* Dismiss the alert overlay after it has been presented.
|
|
@@ -306,11 +297,12 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
306
297
|
* Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
|
307
298
|
*/
|
|
308
299
|
async dismiss(data, role) {
|
|
309
|
-
|
|
310
|
-
const dismissed = await this
|
|
300
|
+
const unlock = await this.lockController.lock();
|
|
301
|
+
const dismissed = await dismiss(this, data, role, 'alertLeave', iosLeaveAnimation, mdLeaveAnimation);
|
|
311
302
|
if (dismissed) {
|
|
312
303
|
this.delegateController.removeViewFromDom();
|
|
313
304
|
}
|
|
305
|
+
unlock();
|
|
314
306
|
return dismissed;
|
|
315
307
|
}
|
|
316
308
|
/**
|
|
@@ -449,7 +441,7 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
449
441
|
'alert-button-group': true,
|
|
450
442
|
'alert-button-group-vertical': buttons.length > 2,
|
|
451
443
|
};
|
|
452
|
-
return (h("div", { class: alertButtonGroupClass }, buttons.map((button) => (h("button", { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }, h("span", { class: "alert-button-inner" }, button.text), mode === 'md' && h("ion-ripple-effect", null))))));
|
|
444
|
+
return (h("div", { class: alertButtonGroupClass }, buttons.map((button) => (h("button", Object.assign({}, button.htmlAttributes, { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }), h("span", { class: "alert-button-inner" }, button.text), mode === 'md' && h("ion-ripple-effect", null))))));
|
|
453
445
|
}
|
|
454
446
|
renderAlertMessage(msgId) {
|
|
455
447
|
const { customHTMLEnabled, message } = this;
|
|
@@ -508,7 +500,12 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
508
500
|
"dismiss": [64],
|
|
509
501
|
"onDidDismiss": [64],
|
|
510
502
|
"onWillDismiss": [64]
|
|
511
|
-
}, [[4, "keydown", "onKeydown"]]
|
|
503
|
+
}, [[4, "keydown", "onKeydown"]], {
|
|
504
|
+
"isOpen": ["onIsOpenChange"],
|
|
505
|
+
"trigger": ["triggerChanged"],
|
|
506
|
+
"buttons": ["buttonsChanged"],
|
|
507
|
+
"inputs": ["inputsChanged"]
|
|
508
|
+
}]);
|
|
512
509
|
const inputClass = (input) => {
|
|
513
510
|
var _a, _b, _c;
|
|
514
511
|
return Object.assign(Object.assign({ 'alert-input': true, 'alert-input-disabled': ((_b = (_a = input.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : input.disabled) || false }, getClassMap(input.cssClass)), getClassMap(input.attributes ? (_c = input.attributes.class) === null || _c === void 0 ? void 0 : _c.toString() : ''));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { writeTask } from '@stencil/core/internal/client';
|
|
5
5
|
import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic.js';
|
|
6
|
-
import { createGesture } from './
|
|
6
|
+
import { createGesture } from './index3.js';
|
|
7
7
|
|
|
8
8
|
const createButtonActiveGesture = (el, isButton) => {
|
|
9
9
|
let currentTouchedButton;
|
package/components/button.js
CHANGED
|
@@ -63,6 +63,15 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
63
63
|
this.formButtonEl.disabled = disabled;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* This is responsible for rendering a hidden native
|
|
68
|
+
* button element inside the associated form. This allows
|
|
69
|
+
* users to submit a form by pressing "Enter" when a text
|
|
70
|
+
* field inside of the form is focused. The native button
|
|
71
|
+
* rendered inside of `ion-button` is in the Shadow DOM
|
|
72
|
+
* and therefore does not participate in form submission
|
|
73
|
+
* which is why the following code is necessary.
|
|
74
|
+
*/
|
|
66
75
|
renderHiddenButton() {
|
|
67
76
|
const formEl = (this.formEl = this.findForm());
|
|
68
77
|
if (formEl) {
|
|
@@ -181,6 +190,13 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
181
190
|
if (fill == null) {
|
|
182
191
|
fill = this.inToolbar || this.inListHeader ? 'clear' : 'solid';
|
|
183
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* We call renderHiddenButton in the render function to account
|
|
195
|
+
* for any properties being set async. For example, changing the
|
|
196
|
+
* "type" prop from "button" to "submit" after the component has
|
|
197
|
+
* loaded would warrant the hidden button being added to the
|
|
198
|
+
* associated form.
|
|
199
|
+
*/
|
|
184
200
|
{
|
|
185
201
|
type !== 'button' && this.renderHiddenButton();
|
|
186
202
|
}
|
|
@@ -226,6 +242,8 @@ const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement
|
|
|
226
242
|
"target": [1],
|
|
227
243
|
"type": [1],
|
|
228
244
|
"form": [1]
|
|
245
|
+
}, undefined, {
|
|
246
|
+
"disabled": ["disabledChanged"]
|
|
229
247
|
}]);
|
|
230
248
|
function defineCustomElement() {
|
|
231
249
|
if (typeof customElements === "undefined") {
|
package/components/checkbox.js
CHANGED
|
@@ -8,9 +8,9 @@ import { p as printIonWarning } from './index6.js';
|
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
9
9
|
import { b as getIonMode } from './ionic-global.js';
|
|
10
10
|
|
|
11
|
-
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display: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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}";
|
|
11
|
+
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display: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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-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(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}";
|
|
12
12
|
|
|
13
|
-
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display: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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}";
|
|
13
|
+
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display: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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-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(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}";
|
|
14
14
|
|
|
15
15
|
const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -51,6 +51,9 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
51
51
|
this.onBlur = () => {
|
|
52
52
|
this.ionBlur.emit();
|
|
53
53
|
};
|
|
54
|
+
this.onClick = (ev) => {
|
|
55
|
+
this.toggleChecked(ev);
|
|
56
|
+
};
|
|
54
57
|
this.color = undefined;
|
|
55
58
|
this.name = this.inputId;
|
|
56
59
|
this.checked = false;
|
|
@@ -59,11 +62,11 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
59
62
|
this.value = 'on';
|
|
60
63
|
this.labelPlacement = 'start';
|
|
61
64
|
this.justify = 'space-between';
|
|
65
|
+
this.alignment = 'center';
|
|
62
66
|
this.legacy = undefined;
|
|
63
67
|
}
|
|
64
|
-
// TODO(FW-3100): remove this
|
|
65
68
|
connectedCallback() {
|
|
66
|
-
this.legacyFormController = createLegacyFormController(this.el);
|
|
69
|
+
this.legacyFormController = createLegacyFormController(this.el); // TODO(FW-3100): remove this
|
|
67
70
|
}
|
|
68
71
|
componentWillLoad() {
|
|
69
72
|
this.emitStyle();
|
|
@@ -96,7 +99,7 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
96
99
|
return legacyFormController.hasLegacyControl() ? this.renderLegacyCheckbox() : this.renderCheckbox();
|
|
97
100
|
}
|
|
98
101
|
renderCheckbox() {
|
|
99
|
-
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, } = this;
|
|
102
|
+
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
|
|
100
103
|
const mode = getIonMode(this);
|
|
101
104
|
const path = getSVGPath(mode, indeterminate);
|
|
102
105
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
@@ -108,8 +111,9 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
108
111
|
'checkbox-indeterminate': indeterminate,
|
|
109
112
|
interactive: true,
|
|
110
113
|
[`checkbox-justify-${justify}`]: true,
|
|
114
|
+
[`checkbox-alignment-${alignment}`]: true,
|
|
111
115
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
112
|
-
}) }, h("label", { class: "checkbox-wrapper" }, h("input", Object.assign({ type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { class: {
|
|
116
|
+
}), onClick: this.onClick }, h("label", { class: "checkbox-wrapper" }, h("input", Object.assign({ type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { class: {
|
|
113
117
|
'label-text-wrapper': true,
|
|
114
118
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
115
119
|
} }, h("slot", null)), h("div", { class: "native-wrapper" }, h("svg", { class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
@@ -142,7 +146,7 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
142
146
|
'checkbox-indeterminate': indeterminate,
|
|
143
147
|
'legacy-checkbox': true,
|
|
144
148
|
interactive: true,
|
|
145
|
-
}) }, h("svg", { class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path), h("label", { htmlFor: inputId }, labelText), h("input", { type: "checkbox", "aria-checked": `${checked}`, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) })));
|
|
149
|
+
}), onClick: this.onClick }, h("svg", { class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path), h("label", { htmlFor: inputId }, labelText), h("input", { type: "checkbox", "aria-checked": `${checked}`, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) })));
|
|
146
150
|
}
|
|
147
151
|
getSVGPath(mode, indeterminate) {
|
|
148
152
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -169,7 +173,11 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
169
173
|
"value": [8],
|
|
170
174
|
"labelPlacement": [1, "label-placement"],
|
|
171
175
|
"justify": [1],
|
|
176
|
+
"alignment": [1],
|
|
172
177
|
"legacy": [4]
|
|
178
|
+
}, undefined, {
|
|
179
|
+
"checked": ["styleChanged"],
|
|
180
|
+
"disabled": ["styleChanged"]
|
|
173
181
|
}]);
|
|
174
182
|
let checkboxIds = 0;
|
|
175
183
|
function defineCustomElement() {
|
package/components/data.js
CHANGED
|
@@ -185,7 +185,22 @@ const getPartsFromCalendarDay = (el) => {
|
|
|
185
185
|
};
|
|
186
186
|
function parseDate(val) {
|
|
187
187
|
if (Array.isArray(val)) {
|
|
188
|
-
|
|
188
|
+
const parsedArray = [];
|
|
189
|
+
for (const valStr of val) {
|
|
190
|
+
const parsedVal = parseDate(valStr);
|
|
191
|
+
/**
|
|
192
|
+
* If any of the values weren't parsed correctly, consider
|
|
193
|
+
* the entire batch incorrect. This simplifies the type
|
|
194
|
+
* signatures by having "undefined" be a general error case
|
|
195
|
+
* instead of returning (Datetime | undefined)[], which is
|
|
196
|
+
* harder for TS to perform type narrowing on.
|
|
197
|
+
*/
|
|
198
|
+
if (!parsedVal) {
|
|
199
|
+
return undefined;
|
|
200
|
+
}
|
|
201
|
+
parsedArray.push(parsedVal);
|
|
202
|
+
}
|
|
203
|
+
return parsedArray;
|
|
189
204
|
}
|
|
190
205
|
// manually parse IS0 cuz Date.parse cannot be trusted
|
|
191
206
|
// ISO 8601 format: 1994-12-15T13:47:20Z
|
|
@@ -205,6 +220,7 @@ function parseDate(val) {
|
|
|
205
220
|
}
|
|
206
221
|
if (parse === null) {
|
|
207
222
|
// wasn't able to parse the ISO datetime
|
|
223
|
+
printIonWarning(`Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
|
|
208
224
|
return undefined;
|
|
209
225
|
}
|
|
210
226
|
// ensure all the parse values exist with at least 0
|
|
@@ -245,7 +261,14 @@ const parseAmPm = (hour) => {
|
|
|
245
261
|
* month, day, hour, and minute information.
|
|
246
262
|
*/
|
|
247
263
|
const parseMaxParts = (max, todayParts) => {
|
|
248
|
-
const
|
|
264
|
+
const result = parseDate(max);
|
|
265
|
+
/**
|
|
266
|
+
* If min was not a valid date then return undefined.
|
|
267
|
+
*/
|
|
268
|
+
if (result === undefined) {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
const { month, day, year, hour, minute } = result;
|
|
249
272
|
/**
|
|
250
273
|
* When passing in `max` or `min`, developers
|
|
251
274
|
* can pass in any ISO-8601 string. This means
|
|
@@ -278,7 +301,14 @@ const parseMaxParts = (max, todayParts) => {
|
|
|
278
301
|
* month, day, hour, and minute information.
|
|
279
302
|
*/
|
|
280
303
|
const parseMinParts = (min, todayParts) => {
|
|
281
|
-
const
|
|
304
|
+
const result = parseDate(min);
|
|
305
|
+
/**
|
|
306
|
+
* If min was not a valid date then return undefined.
|
|
307
|
+
*/
|
|
308
|
+
if (result === undefined) {
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
const { month, day, year, hour, minute } = result;
|
|
282
312
|
/**
|
|
283
313
|
* When passing in `max` or `min`, developers
|
|
284
314
|
* can pass in any ISO-8601 string. This means
|
|
@@ -1211,12 +1241,20 @@ const generateTime = (refParts, hourCycle = 'h12', minParts, maxParts, hourValue
|
|
|
1211
1241
|
* Given DatetimeParts, generate the previous,
|
|
1212
1242
|
* current, and and next months.
|
|
1213
1243
|
*/
|
|
1214
|
-
const generateMonths = (refParts) => {
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1244
|
+
const generateMonths = (refParts, forcedDate) => {
|
|
1245
|
+
const current = { month: refParts.month, year: refParts.year, day: refParts.day };
|
|
1246
|
+
/**
|
|
1247
|
+
* If we're forcing a month to appear, and it's different from the current month,
|
|
1248
|
+
* ensure it appears by replacing the next or previous month as appropriate.
|
|
1249
|
+
*/
|
|
1250
|
+
if (forcedDate !== undefined && (refParts.month !== forcedDate.month || refParts.year !== forcedDate.year)) {
|
|
1251
|
+
const forced = { month: forcedDate.month, year: forcedDate.year, day: forcedDate.day };
|
|
1252
|
+
const forcedMonthIsBefore = isBefore(forced, current);
|
|
1253
|
+
return forcedMonthIsBefore
|
|
1254
|
+
? [forced, current, getNextMonth(refParts)]
|
|
1255
|
+
: [getPreviousMonth(refParts), current, forced];
|
|
1256
|
+
}
|
|
1257
|
+
return [getPreviousMonth(refParts), current, getNextMonth(refParts)];
|
|
1220
1258
|
};
|
|
1221
1259
|
const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, formatOptions = {
|
|
1222
1260
|
month: 'long',
|
|
@@ -39,6 +39,7 @@ const CoreDelegate = () => {
|
|
|
39
39
|
const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {
|
|
40
40
|
var _a, _b;
|
|
41
41
|
BaseComponent = parentElement;
|
|
42
|
+
let ChildComponent;
|
|
42
43
|
/**
|
|
43
44
|
* If passing in a component via the `component` props
|
|
44
45
|
* we need to append it inside of our overlay component.
|
|
@@ -65,6 +66,7 @@ const CoreDelegate = () => {
|
|
|
65
66
|
* inside of the overlay component.
|
|
66
67
|
*/
|
|
67
68
|
BaseComponent.appendChild(el);
|
|
69
|
+
ChildComponent = el;
|
|
68
70
|
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
69
71
|
}
|
|
70
72
|
else if (BaseComponent.children.length > 0 &&
|
|
@@ -73,7 +75,7 @@ const CoreDelegate = () => {
|
|
|
73
75
|
* The delegate host wrapper el is only needed for modals and popovers
|
|
74
76
|
* because they allow the dev to provide custom content to the overlay.
|
|
75
77
|
*/
|
|
76
|
-
const root = BaseComponent.children[0];
|
|
78
|
+
const root = (ChildComponent = BaseComponent.children[0]);
|
|
77
79
|
if (!root.classList.contains('ion-delegate-host')) {
|
|
78
80
|
/**
|
|
79
81
|
* If the root element is not a delegate host, it means
|
|
@@ -88,6 +90,12 @@ const CoreDelegate = () => {
|
|
|
88
90
|
el.append(...BaseComponent.children);
|
|
89
91
|
// Append the new parent element to the original parent element.
|
|
90
92
|
BaseComponent.appendChild(el);
|
|
93
|
+
/**
|
|
94
|
+
* Update the ChildComponent to be the
|
|
95
|
+
* newly created div in the event that one
|
|
96
|
+
* does not already exist.
|
|
97
|
+
*/
|
|
98
|
+
ChildComponent = el;
|
|
91
99
|
}
|
|
92
100
|
}
|
|
93
101
|
/**
|
|
@@ -103,7 +111,18 @@ const CoreDelegate = () => {
|
|
|
103
111
|
Reference = document.createComment('ionic teleport');
|
|
104
112
|
BaseComponent.parentNode.insertBefore(Reference, BaseComponent);
|
|
105
113
|
app.appendChild(BaseComponent);
|
|
106
|
-
|
|
114
|
+
/**
|
|
115
|
+
* We return the child component rather than the overlay
|
|
116
|
+
* reference itself since modal and popover will
|
|
117
|
+
* use this to wait for any Ionic components in the child view
|
|
118
|
+
* to be ready (i.e. componentOnReady) when using the
|
|
119
|
+
* lazy loaded component bundle.
|
|
120
|
+
*
|
|
121
|
+
* However, we fall back to returning BaseComponent
|
|
122
|
+
* in the event that a modal or popover is presented
|
|
123
|
+
* with no child content.
|
|
124
|
+
*/
|
|
125
|
+
return ChildComponent !== null && ChildComponent !== void 0 ? ChildComponent : BaseComponent;
|
|
107
126
|
};
|
|
108
127
|
const removeViewFromDom = () => {
|
|
109
128
|
/**
|
package/components/icon.js
CHANGED
|
@@ -330,6 +330,12 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
330
330
|
"sanitize": [4],
|
|
331
331
|
"svgContent": [32],
|
|
332
332
|
"isVisible": [32]
|
|
333
|
+
}, undefined, {
|
|
334
|
+
"name": ["loadIcon"],
|
|
335
|
+
"src": ["loadIcon"],
|
|
336
|
+
"icon": ["loadIcon"],
|
|
337
|
+
"ios": ["loadIcon"],
|
|
338
|
+
"md": ["loadIcon"]
|
|
333
339
|
}]);
|
|
334
340
|
const getIonMode = () => (Build.isBrowser && typeof document !== 'undefined' && document.documentElement.getAttribute('mode')) || 'md';
|
|
335
341
|
const createColorClasses = (color) => {
|
package/components/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the base path to where the assets can be found. Use "setAssetPath(path)"
|
|
3
|
+
* if the path needs to be customized.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getAssetPath: (path: string) => string;
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
8
|
* Used to manually set the base path where assets can be found.
|
|
3
9
|
* If the script is used as "module", it's recommended to use "import.meta.url",
|