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
|
@@ -123,7 +123,6 @@ input {
|
|
|
123
123
|
display: flex;
|
|
124
124
|
position: relative;
|
|
125
125
|
flex-grow: 1;
|
|
126
|
-
align-items: center;
|
|
127
126
|
height: inherit;
|
|
128
127
|
transition: background-color 15ms linear;
|
|
129
128
|
cursor: inherit;
|
|
@@ -146,6 +145,15 @@ input {
|
|
|
146
145
|
margin-bottom: 10px;
|
|
147
146
|
}
|
|
148
147
|
|
|
148
|
+
:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper {
|
|
149
|
+
margin-top: 10px;
|
|
150
|
+
margin-bottom: 16px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host(.in-item.toggle-label-placement-stacked) .native-wrapper {
|
|
154
|
+
margin-bottom: 10px;
|
|
155
|
+
}
|
|
156
|
+
|
|
149
157
|
/**
|
|
150
158
|
* If no label text is placed into the slot
|
|
151
159
|
* then the element should be hidden otherwise
|
|
@@ -172,6 +180,14 @@ input {
|
|
|
172
180
|
justify-content: end;
|
|
173
181
|
}
|
|
174
182
|
|
|
183
|
+
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
184
|
+
align-items: start;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
188
|
+
align-items: center;
|
|
189
|
+
}
|
|
190
|
+
|
|
175
191
|
/**
|
|
176
192
|
* Label is on the left of the input in LTR and
|
|
177
193
|
* on the right in RTL.
|
|
@@ -235,6 +251,56 @@ input {
|
|
|
235
251
|
max-width: 200px;
|
|
236
252
|
}
|
|
237
253
|
|
|
254
|
+
/**
|
|
255
|
+
* Label is on top of the toggle.
|
|
256
|
+
*/
|
|
257
|
+
:host(.toggle-label-placement-stacked) .toggle-wrapper {
|
|
258
|
+
flex-direction: column;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
:host(.toggle-label-placement-stacked) .label-text-wrapper {
|
|
262
|
+
transform: scale(0.75);
|
|
263
|
+
/**
|
|
264
|
+
* The margin between the label and
|
|
265
|
+
* the toggle should be on the bottom
|
|
266
|
+
* when the label sits on top.
|
|
267
|
+
*/
|
|
268
|
+
margin-left: 0;
|
|
269
|
+
margin-right: 0;
|
|
270
|
+
margin-bottom: 16px;
|
|
271
|
+
/**
|
|
272
|
+
* Label text should not extend
|
|
273
|
+
* beyond the bounds of the toggle.
|
|
274
|
+
*/
|
|
275
|
+
max-width: calc(100% / 0.75);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper {
|
|
279
|
+
transform-origin: left top;
|
|
280
|
+
}
|
|
281
|
+
:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper, :host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper {
|
|
282
|
+
transform-origin: right top;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
@supports selector(:dir(rtl)) {
|
|
286
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl) {
|
|
287
|
+
transform-origin: right top;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper {
|
|
292
|
+
transform-origin: center top;
|
|
293
|
+
}
|
|
294
|
+
:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper, :host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper {
|
|
295
|
+
transform-origin: calc(100% - center) top;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@supports selector(:dir(rtl)) {
|
|
299
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl) {
|
|
300
|
+
transform-origin: calc(100% - center) top;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
238
304
|
.toggle-icon-wrapper {
|
|
239
305
|
display: flex;
|
|
240
306
|
position: relative;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { Host, h } from
|
|
4
|
+
import { Host, h } from "@stencil/core";
|
|
5
5
|
import { createLegacyFormController } from "../../utils/forms/index";
|
|
6
6
|
import { getAriaLabel, renderHiddenInput, inheritAriaAttributes } from "../../utils/helpers";
|
|
7
7
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
8
|
import { hapticSelection } from "../../utils/native/haptic";
|
|
9
9
|
import { isRTL } from "../../utils/rtl/index";
|
|
10
10
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
11
|
-
import { checkmarkOutline, removeOutline, ellipseOutline } from
|
|
12
|
-
import { config } from
|
|
13
|
-
import { getIonMode } from
|
|
11
|
+
import { checkmarkOutline, removeOutline, ellipseOutline } from "ionicons/icons";
|
|
12
|
+
import { config } from "../../global/config";
|
|
13
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
14
14
|
/**
|
|
15
15
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
16
16
|
*
|
|
@@ -71,6 +71,7 @@ export class Toggle {
|
|
|
71
71
|
this.labelPlacement = 'start';
|
|
72
72
|
this.legacy = undefined;
|
|
73
73
|
this.justify = 'space-between';
|
|
74
|
+
this.alignment = 'center';
|
|
74
75
|
}
|
|
75
76
|
disabledChanged() {
|
|
76
77
|
this.emitStyle();
|
|
@@ -168,7 +169,7 @@ export class Toggle {
|
|
|
168
169
|
return legacyFormController.hasLegacyControl() ? this.renderLegacyToggle() : this.renderToggle();
|
|
169
170
|
}
|
|
170
171
|
renderToggle() {
|
|
171
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name } = this;
|
|
172
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
172
173
|
const mode = getIonMode(this);
|
|
173
174
|
const value = this.getValue();
|
|
174
175
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
@@ -180,6 +181,7 @@ export class Toggle {
|
|
|
180
181
|
'toggle-checked': checked,
|
|
181
182
|
'toggle-disabled': disabled,
|
|
182
183
|
[`toggle-justify-${justify}`]: true,
|
|
184
|
+
[`toggle-alignment-${alignment}`]: true,
|
|
183
185
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
184
186
|
[`toggle-${rtl}`]: true,
|
|
185
187
|
}) }, h("label", { class: "toggle-wrapper" }, h("input", Object.assign({ type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { class: {
|
|
@@ -244,7 +246,8 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
244
246
|
"references": {
|
|
245
247
|
"Color": {
|
|
246
248
|
"location": "import",
|
|
247
|
-
"path": "../../interface"
|
|
249
|
+
"path": "../../interface",
|
|
250
|
+
"id": "src/interface.d.ts::Color"
|
|
248
251
|
}
|
|
249
252
|
}
|
|
250
253
|
},
|
|
@@ -351,15 +354,15 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
351
354
|
"type": "string",
|
|
352
355
|
"mutable": false,
|
|
353
356
|
"complexType": {
|
|
354
|
-
"original": "'start' | 'end' | 'fixed'",
|
|
355
|
-
"resolved": "\"end\" | \"fixed\" | \"start\"",
|
|
357
|
+
"original": "'start' | 'end' | 'fixed' | 'stacked'",
|
|
358
|
+
"resolved": "\"end\" | \"fixed\" | \"stacked\" | \"start\"",
|
|
356
359
|
"references": {}
|
|
357
360
|
},
|
|
358
361
|
"required": false,
|
|
359
362
|
"optional": false,
|
|
360
363
|
"docs": {
|
|
361
364
|
"tags": [],
|
|
362
|
-
"text": "Where to place the label relative to the input.\n`\"start\"`: The label will appear to the left of the toggle in LTR and to the right in RTL.\n`\"end\"`: The label will appear to the right of the toggle in LTR and to the left in RTL.\n`\"fixed\"`: The label has the same behavior as `\"start\"` except it also has a fixed width. Long text will be truncated with ellipses (\"...\")."
|
|
365
|
+
"text": "Where to place the label relative to the input.\n`\"start\"`: The label will appear to the left of the toggle in LTR and to the right in RTL.\n`\"end\"`: The label will appear to the right of the toggle in LTR and to the left in RTL.\n`\"fixed\"`: The label has the same behavior as `\"start\"` except it also has a fixed width. Long text will be truncated with ellipses (\"...\").\n`\"stacked\"`: The label will appear above the toggle regardless of the direction. The alignment of the label can be controlled with the `alignment` property."
|
|
363
366
|
},
|
|
364
367
|
"attribute": "label-placement",
|
|
365
368
|
"reflect": false,
|
|
@@ -399,6 +402,24 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
399
402
|
"attribute": "justify",
|
|
400
403
|
"reflect": false,
|
|
401
404
|
"defaultValue": "'space-between'"
|
|
405
|
+
},
|
|
406
|
+
"alignment": {
|
|
407
|
+
"type": "string",
|
|
408
|
+
"mutable": false,
|
|
409
|
+
"complexType": {
|
|
410
|
+
"original": "'start' | 'center'",
|
|
411
|
+
"resolved": "\"center\" | \"start\"",
|
|
412
|
+
"references": {}
|
|
413
|
+
},
|
|
414
|
+
"required": false,
|
|
415
|
+
"optional": false,
|
|
416
|
+
"docs": {
|
|
417
|
+
"tags": [],
|
|
418
|
+
"text": "How to control the alignment of the toggle and label on the cross axis.\n``\"start\"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL.\n`\"center\"`: The label and control will appear at the center of the cross axis in both LTR and RTL."
|
|
419
|
+
},
|
|
420
|
+
"attribute": "alignment",
|
|
421
|
+
"reflect": false,
|
|
422
|
+
"defaultValue": "'center'"
|
|
402
423
|
}
|
|
403
424
|
};
|
|
404
425
|
}
|
|
@@ -424,7 +445,8 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
424
445
|
"references": {
|
|
425
446
|
"ToggleChangeEventDetail": {
|
|
426
447
|
"location": "import",
|
|
427
|
-
"path": "./toggle-interface"
|
|
448
|
+
"path": "./toggle-interface",
|
|
449
|
+
"id": "src/components/toggle/toggle-interface.ts::ToggleChangeEventDetail"
|
|
428
450
|
}
|
|
429
451
|
}
|
|
430
452
|
}
|
|
@@ -477,7 +499,8 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
477
499
|
"references": {
|
|
478
500
|
"StyleEventDetail": {
|
|
479
501
|
"location": "import",
|
|
480
|
-
"path": "../../interface"
|
|
502
|
+
"path": "../../interface",
|
|
503
|
+
"id": "src/interface.d.ts::StyleEventDetail"
|
|
481
504
|
}
|
|
482
505
|
}
|
|
483
506
|
}
|
|
@@ -123,7 +123,6 @@ input {
|
|
|
123
123
|
display: flex;
|
|
124
124
|
position: relative;
|
|
125
125
|
flex-grow: 1;
|
|
126
|
-
align-items: center;
|
|
127
126
|
height: inherit;
|
|
128
127
|
transition: background-color 15ms linear;
|
|
129
128
|
cursor: inherit;
|
|
@@ -146,6 +145,15 @@ input {
|
|
|
146
145
|
margin-bottom: 10px;
|
|
147
146
|
}
|
|
148
147
|
|
|
148
|
+
:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper {
|
|
149
|
+
margin-top: 10px;
|
|
150
|
+
margin-bottom: 16px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host(.in-item.toggle-label-placement-stacked) .native-wrapper {
|
|
154
|
+
margin-bottom: 10px;
|
|
155
|
+
}
|
|
156
|
+
|
|
149
157
|
/**
|
|
150
158
|
* If no label text is placed into the slot
|
|
151
159
|
* then the element should be hidden otherwise
|
|
@@ -172,6 +180,14 @@ input {
|
|
|
172
180
|
justify-content: end;
|
|
173
181
|
}
|
|
174
182
|
|
|
183
|
+
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
184
|
+
align-items: start;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
188
|
+
align-items: center;
|
|
189
|
+
}
|
|
190
|
+
|
|
175
191
|
/**
|
|
176
192
|
* Label is on the left of the input in LTR and
|
|
177
193
|
* on the right in RTL.
|
|
@@ -235,6 +251,56 @@ input {
|
|
|
235
251
|
max-width: 200px;
|
|
236
252
|
}
|
|
237
253
|
|
|
254
|
+
/**
|
|
255
|
+
* Label is on top of the toggle.
|
|
256
|
+
*/
|
|
257
|
+
:host(.toggle-label-placement-stacked) .toggle-wrapper {
|
|
258
|
+
flex-direction: column;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
:host(.toggle-label-placement-stacked) .label-text-wrapper {
|
|
262
|
+
transform: scale(0.75);
|
|
263
|
+
/**
|
|
264
|
+
* The margin between the label and
|
|
265
|
+
* the toggle should be on the bottom
|
|
266
|
+
* when the label sits on top.
|
|
267
|
+
*/
|
|
268
|
+
margin-left: 0;
|
|
269
|
+
margin-right: 0;
|
|
270
|
+
margin-bottom: 16px;
|
|
271
|
+
/**
|
|
272
|
+
* Label text should not extend
|
|
273
|
+
* beyond the bounds of the toggle.
|
|
274
|
+
*/
|
|
275
|
+
max-width: calc(100% / 0.75);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper {
|
|
279
|
+
transform-origin: left top;
|
|
280
|
+
}
|
|
281
|
+
:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper, :host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper {
|
|
282
|
+
transform-origin: right top;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
@supports selector(:dir(rtl)) {
|
|
286
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl) {
|
|
287
|
+
transform-origin: right top;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper {
|
|
292
|
+
transform-origin: center top;
|
|
293
|
+
}
|
|
294
|
+
:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper, :host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper {
|
|
295
|
+
transform-origin: calc(100% - center) top;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@supports selector(:dir(rtl)) {
|
|
299
|
+
:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl) {
|
|
300
|
+
transform-origin: calc(100% - center) top;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
238
304
|
.toggle-icon-wrapper {
|
|
239
305
|
display: flex;
|
|
240
306
|
position: relative;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { expect } from
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
6
|
configs().forEach(({ title, screenshot, config }) => {
|
|
7
7
|
test.describe(title('toolbar: basic'), () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { expect } from
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
6
|
/**
|
|
7
7
|
* This behavior does not vary across directions.
|
|
@@ -23,13 +23,11 @@
|
|
|
23
23
|
--opacity-scale: 1;
|
|
24
24
|
-moz-osx-font-smoothing: grayscale;
|
|
25
25
|
-webkit-font-smoothing: antialiased;
|
|
26
|
-
-webkit-padding-start: var(--ion-safe-area-left);
|
|
27
|
-
padding-inline-start: var(--ion-safe-area-left);
|
|
28
|
-
-webkit-padding-end: var(--ion-safe-area-right);
|
|
29
|
-
padding-inline-end: var(--ion-safe-area-right);
|
|
30
26
|
display: block;
|
|
31
27
|
position: relative;
|
|
32
28
|
width: 100%;
|
|
29
|
+
padding-right: var(--ion-safe-area-right);
|
|
30
|
+
padding-left: var(--ion-safe-area-left);
|
|
33
31
|
color: var(--color);
|
|
34
32
|
font-family: var(--ion-font-family, inherit);
|
|
35
33
|
contain: content;
|
|
@@ -149,6 +147,16 @@
|
|
|
149
147
|
text-align: end;
|
|
150
148
|
}
|
|
151
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Ensure there is enough spacing between the large
|
|
152
|
+
* title and any potential content in subsequent
|
|
153
|
+
* toolbars. We do not add padding to the title
|
|
154
|
+
* itself because it is absolutely positioned.
|
|
155
|
+
*/
|
|
156
|
+
:host(.toolbar-title-large) {
|
|
157
|
+
padding-bottom: 7px;
|
|
158
|
+
}
|
|
159
|
+
|
|
152
160
|
:host(.toolbar-title-large) .toolbar-container {
|
|
153
161
|
flex-wrap: wrap;
|
|
154
162
|
align-items: flex-start;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { Host, forceUpdate, h } from
|
|
4
|
+
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
5
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
6
|
-
import { getIonMode } from
|
|
6
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
7
7
|
/**
|
|
8
8
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
9
9
|
*
|
|
@@ -92,7 +92,8 @@ export class Toolbar {
|
|
|
92
92
|
"references": {
|
|
93
93
|
"Color": {
|
|
94
94
|
"location": "import",
|
|
95
|
-
"path": "../../interface"
|
|
95
|
+
"path": "../../interface",
|
|
96
|
+
"id": "src/interface.d.ts::Color"
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
},
|
|
@@ -23,13 +23,11 @@
|
|
|
23
23
|
--opacity-scale: 1;
|
|
24
24
|
-moz-osx-font-smoothing: grayscale;
|
|
25
25
|
-webkit-font-smoothing: antialiased;
|
|
26
|
-
-webkit-padding-start: var(--ion-safe-area-left);
|
|
27
|
-
padding-inline-start: var(--ion-safe-area-left);
|
|
28
|
-
-webkit-padding-end: var(--ion-safe-area-right);
|
|
29
|
-
padding-inline-end: var(--ion-safe-area-right);
|
|
30
26
|
display: block;
|
|
31
27
|
position: relative;
|
|
32
28
|
width: 100%;
|
|
29
|
+
padding-right: var(--ion-safe-area-right);
|
|
30
|
+
padding-left: var(--ion-safe-area-left);
|
|
33
31
|
color: var(--color);
|
|
34
32
|
font-family: var(--ion-font-family, inherit);
|
|
35
33
|
contain: content;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { getMode, setMode, setPlatformHelpers } from
|
|
5
|
-
import { isPlatform, setupPlatforms } from
|
|
6
|
-
import { config, configFromSession, configFromURL, saveConfig } from
|
|
4
|
+
import { getMode, setMode, setPlatformHelpers } from "@stencil/core";
|
|
5
|
+
import { isPlatform, setupPlatforms } from "../utils/platform";
|
|
6
|
+
import { config, configFromSession, configFromURL, saveConfig } from "./config";
|
|
7
7
|
// TODO(FW-2832): types
|
|
8
8
|
let defaultMode;
|
|
9
9
|
export const getIonMode = (ref) => {
|
package/dist/collection/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import "ionicons";
|
|
5
5
|
export { createAnimation } from './utils/animation/animation';
|
|
6
|
+
export { getIonPageElement } from './utils/transition';
|
|
6
7
|
export { iosTransitionAnimation } from './utils/transition/ios.transition';
|
|
7
8
|
export { mdTransitionAnimation } from './utils/transition/md.transition';
|
|
8
9
|
export { getTimeGivenProgression } from './utils/animation/cubic-bezier';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { win } from
|
|
5
|
-
import { raf } from
|
|
6
|
-
import { addClassToArray, animationEnd, createKeyframeStylesheet, generateKeyframeName, generateKeyframeRules, processKeyframes, removeStyleProperty, setStyleProperty, } from
|
|
4
|
+
import { win } from "../browser";
|
|
5
|
+
import { raf } from "../helpers";
|
|
6
|
+
import { addClassToArray, animationEnd, createKeyframeStylesheet, generateKeyframeName, generateKeyframeRules, processKeyframes, removeStyleProperty, setStyleProperty, } from "./animation-utils";
|
|
7
7
|
export const createAnimation = (animationId) => {
|
|
8
8
|
let _delay;
|
|
9
9
|
let _duration;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
1
4
|
import { configs, test } from "../../../test/playwright/index";
|
|
2
5
|
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
3
6
|
test.describe(title('animation: animationbuilder'), async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { expect } from
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../test/playwright/index";
|
|
6
6
|
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('animation: display'), async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { expect } from
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../test/playwright/index";
|
|
6
6
|
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('animation: hooks'), async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { expect } from
|
|
4
|
+
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../test/playwright/index";
|
|
6
6
|
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('animation: multiple'), async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { scrollToTop, scrollByPoint, printIonContentErrorMsg, findClosestIonContent, findIonContent, getScrollElement, } from
|
|
4
|
+
import { scrollToTop, scrollByPoint, printIonContentErrorMsg, findClosestIonContent, findIonContent, getScrollElement, } from "./index";
|
|
5
5
|
describe('Content Utils', () => {
|
|
6
6
|
describe('getScrollElement', () => {
|
|
7
7
|
it('should return the scroll element for ion-content', async () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { componentOnReady } from
|
|
5
|
-
import { printRequiredElementError } from
|
|
4
|
+
import { componentOnReady } from "../helpers";
|
|
5
|
+
import { printRequiredElementError } from "../logging";
|
|
6
6
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
7
7
|
export const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
8
8
|
export const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { getDecimalPlaces, roundToMaxDecimalPlaces } from
|
|
4
|
+
import { getDecimalPlaces, roundToMaxDecimalPlaces } from "./index";
|
|
5
5
|
describe('floating point utils', () => {
|
|
6
6
|
describe('getDecimalPlaces', () => {
|
|
7
7
|
it('should calculate decimal places for a float', async () => {
|
|
@@ -133,7 +133,7 @@ export const createNotchController = (el, getNotchSpacerEl, getLabelSlot) => {
|
|
|
133
133
|
* The notch is only visible when the label is scaled,
|
|
134
134
|
* which is why we multiply the width by 0.75 as this is
|
|
135
135
|
* the same amount the label element is scaled by in the host CSS.
|
|
136
|
-
* (
|
|
136
|
+
* (See $form-control-label-stacked-scale in ionic.globals.scss).
|
|
137
137
|
*/
|
|
138
138
|
notchSpacerEl.style.setProperty('width', `${width * 0.75}px`);
|
|
139
139
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { componentOnReady } from
|
|
4
|
+
import { componentOnReady } from "./helpers";
|
|
5
5
|
// TODO(FW-2832): types
|
|
6
6
|
export const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
7
7
|
var _a;
|
|
@@ -38,6 +38,7 @@ export const CoreDelegate = () => {
|
|
|
38
38
|
const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {
|
|
39
39
|
var _a, _b;
|
|
40
40
|
BaseComponent = parentElement;
|
|
41
|
+
let ChildComponent;
|
|
41
42
|
/**
|
|
42
43
|
* If passing in a component via the `component` props
|
|
43
44
|
* we need to append it inside of our overlay component.
|
|
@@ -64,6 +65,7 @@ export const CoreDelegate = () => {
|
|
|
64
65
|
* inside of the overlay component.
|
|
65
66
|
*/
|
|
66
67
|
BaseComponent.appendChild(el);
|
|
68
|
+
ChildComponent = el;
|
|
67
69
|
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
68
70
|
}
|
|
69
71
|
else if (BaseComponent.children.length > 0 &&
|
|
@@ -72,7 +74,7 @@ export const CoreDelegate = () => {
|
|
|
72
74
|
* The delegate host wrapper el is only needed for modals and popovers
|
|
73
75
|
* because they allow the dev to provide custom content to the overlay.
|
|
74
76
|
*/
|
|
75
|
-
const root = BaseComponent.children[0];
|
|
77
|
+
const root = (ChildComponent = BaseComponent.children[0]);
|
|
76
78
|
if (!root.classList.contains('ion-delegate-host')) {
|
|
77
79
|
/**
|
|
78
80
|
* If the root element is not a delegate host, it means
|
|
@@ -87,6 +89,12 @@ export const CoreDelegate = () => {
|
|
|
87
89
|
el.append(...BaseComponent.children);
|
|
88
90
|
// Append the new parent element to the original parent element.
|
|
89
91
|
BaseComponent.appendChild(el);
|
|
92
|
+
/**
|
|
93
|
+
* Update the ChildComponent to be the
|
|
94
|
+
* newly created div in the event that one
|
|
95
|
+
* does not already exist.
|
|
96
|
+
*/
|
|
97
|
+
ChildComponent = el;
|
|
90
98
|
}
|
|
91
99
|
}
|
|
92
100
|
/**
|
|
@@ -102,7 +110,18 @@ export const CoreDelegate = () => {
|
|
|
102
110
|
Reference = document.createComment('ionic teleport');
|
|
103
111
|
BaseComponent.parentNode.insertBefore(Reference, BaseComponent);
|
|
104
112
|
app.appendChild(BaseComponent);
|
|
105
|
-
|
|
113
|
+
/**
|
|
114
|
+
* We return the child component rather than the overlay
|
|
115
|
+
* reference itself since modal and popover will
|
|
116
|
+
* use this to wait for any Ionic components in the child view
|
|
117
|
+
* to be ready (i.e. componentOnReady) when using the
|
|
118
|
+
* lazy loaded component bundle.
|
|
119
|
+
*
|
|
120
|
+
* However, we fall back to returning BaseComponent
|
|
121
|
+
* in the event that a modal or popover is presented
|
|
122
|
+
* with no child content.
|
|
123
|
+
*/
|
|
124
|
+
return ChildComponent !== null && ChildComponent !== void 0 ? ChildComponent : BaseComponent;
|
|
106
125
|
};
|
|
107
126
|
const removeViewFromDom = () => {
|
|
108
127
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { writeTask } from
|
|
5
|
-
import { hapticSelectionChanged, hapticSelectionEnd, hapticSelectionStart } from
|
|
6
|
-
import { createGesture } from
|
|
4
|
+
import { writeTask } from "@stencil/core";
|
|
5
|
+
import { hapticSelectionChanged, hapticSelectionEnd, hapticSelectionStart } from "../native/haptic";
|
|
6
|
+
import { createGesture } from "./index";
|
|
7
7
|
export const createButtonActiveGesture = (el, isButton) => {
|
|
8
8
|
let currentTouchedButton;
|
|
9
9
|
let initialTouchedButton;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { GESTURE_CONTROLLER } from
|
|
5
|
-
import { createPointerEvents } from
|
|
6
|
-
import { createPanRecognizer } from
|
|
4
|
+
import { GESTURE_CONTROLLER } from "./gesture-controller";
|
|
5
|
+
import { createPointerEvents } from "./pointer-events";
|
|
6
|
+
import { createPanRecognizer } from "./recognizers";
|
|
7
7
|
// TODO(FW-2832): types
|
|
8
8
|
export const createGesture = (config) => {
|
|
9
9
|
let hasCapturedPan = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { addEventListener } from
|
|
4
|
+
import { addEventListener } from "./listener";
|
|
5
5
|
const MOUSE_WAIT = 2000;
|
|
6
6
|
// TODO(FW-2832): types
|
|
7
7
|
export const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { clamp } from
|
|
5
|
-
import { isRTL } from
|
|
6
|
-
import { createGesture } from
|
|
4
|
+
import { clamp } from "../helpers";
|
|
5
|
+
import { isRTL } from "../rtl";
|
|
6
|
+
import { createGesture } from "./index";
|
|
7
7
|
export const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => {
|
|
8
8
|
const win = el.ownerDocument.defaultView;
|
|
9
9
|
let rtl = isRTL(el);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { inheritAriaAttributes } from
|
|
4
|
+
import { inheritAriaAttributes } from "./helpers";
|
|
5
5
|
describe('inheritAriaAttributes', () => {
|
|
6
6
|
it('should inherit aria attributes', () => {
|
|
7
7
|
const parent = document.createElement('div');
|