voyager-ionic-core 7.2.3 → 7.4.4
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/animation.js +60 -1
- package/components/button-active.js +1 -1
- package/components/button.js +18 -0
- package/components/checkbox.js +18 -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 +76 -26
- 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 +10 -14
- 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 +36 -17
- 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 +12 -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 +4 -2
- package/components/radio.js +15 -4
- package/components/swipe-back.js +8 -4
- 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-c8bdd3c7.js} +62 -3
- package/dist/cjs/{app-globals-3ba8ddad.js → app-globals-fe1ad535.js} +1 -1
- package/dist/cjs/{button-active-7578c6c2.js → button-active-0932cee9.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-305a23dc.js} +283 -96
- package/dist/cjs/{index-404c1016.js → index-9f379eaa.js} +2 -2
- package/dist/cjs/{index-4e642409.js → index-d3568232.js} +4 -4
- package/dist/cjs/{index-1901dd17.js → index-f94cbab1.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 +81 -41
- 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 +20 -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 +83 -38
- 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 +16 -11
- 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 +45 -31
- 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 +20 -15
- package/dist/cjs/{ionic-global-5e671da5.js → ionic-global-fb752503.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -8
- package/dist/cjs/{ios.transition-0b0d2e7f.js → ios.transition-7d688757.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-d77d3c2e.js} +5 -5
- package/dist/cjs/{notch-controller-159c65d4.js → notch-controller-f4f6af5d.js} +3 -3
- package/dist/cjs/{overlays-d17b3668.js → overlays-7e1a08fa.js} +36 -16
- package/dist/cjs/{status-tap-6061aa3f.js → status-tap-778e8054.js} +4 -4
- package/dist/cjs/{swipe-back-75dad2d4.js → swipe-back-7e843e77.js} +11 -7
- 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 +41 -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 +86 -33
- 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/disable/menu.e2e.js +55 -0
- 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 +38 -11
- 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 +7 -5
- 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} +42 -30
- 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 +50 -28
- 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/disabled/select.e2e.js +30 -0
- 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 +37 -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 +63 -4
- 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 +10 -6
- 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-92066c62.js} +62 -3
- package/dist/esm/{app-globals-70454efb.js → app-globals-ec816a70.js} +1 -1
- package/dist/esm/{button-active-aef107f0.js → button-active-5136c12d.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-641aeeed.js} +4 -4
- package/dist/esm/{index-7373924f.js → index-746a238e.js} +2 -2
- package/dist/esm/{index-36a5fd75.js → index-b49b173c.js} +283 -96
- package/dist/esm/{index-6e89f340.js → index-d78b533e.js} +4 -4
- 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 +81 -41
- 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 +20 -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 +83 -38
- 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 +16 -11
- 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 +45 -31
- 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 +20 -15
- package/dist/esm/{ionic-global-a9abd569.js → ionic-global-246ca78f.js} +1 -1
- package/dist/esm/ionic.js +6 -9
- package/dist/esm/{ios.transition-6a838b0c.js → ios.transition-04c9a97a.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-67a8aabd.js} +5 -5
- package/dist/esm/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +3 -3
- package/dist/esm/{overlays-4801a327.js → overlays-2fa52617.js} +35 -15
- package/dist/esm/{status-tap-211f1ad8.js → status-tap-9aeeaca5.js} +4 -4
- package/dist/esm/{swipe-back-1bb66ed2.js → swipe-back-cd4295f3.js} +11 -7
- package/dist/esm-es5/animation-92066c62.js +4 -0
- package/dist/esm-es5/app-globals-ec816a70.js +4 -0
- package/dist/esm-es5/{button-active-aef107f0.js → button-active-5136c12d.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-641aeeed.js} +1 -1
- package/dist/esm-es5/{index-7373924f.js → index-746a238e.js} +1 -1
- package/dist/esm-es5/index-b49b173c.js +5 -0
- package/dist/esm-es5/{index-6e89f340.js → index-d78b533e.js} +1 -1
- 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-246ca78f.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-6a838b0c.js → ios.transition-04c9a97a.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-67a8aabd.js +4 -0
- package/dist/esm-es5/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +1 -1
- package/dist/esm-es5/overlays-2fa52617.js +4 -0
- package/dist/esm-es5/{status-tap-211f1ad8.js → status-tap-9aeeaca5.js} +1 -1
- package/dist/esm-es5/swipe-back-cd4295f3.js +4 -0
- 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-015187e5.system.js +4 -0
- package/dist/ionic/{p-40f778e6.js → p-02a4e81a.js} +1 -1
- package/dist/ionic/{p-e4146230.system.entry.js → p-03c381ec.system.entry.js} +1 -1
- package/dist/ionic/p-048f1ebe.entry.js +4 -0
- package/dist/ionic/{p-54d3d2b6.entry.js → p-04e7c8fd.entry.js} +1 -1
- package/dist/ionic/p-05ae600a.system.js +4 -0
- package/dist/ionic/p-06ac429a.js +5 -0
- package/dist/ionic/p-0c37546b.system.entry.js +4 -0
- package/dist/ionic/{p-9a7f5ed5.entry.js → p-108f9d49.entry.js} +1 -1
- package/dist/ionic/{p-f67dfe83.system.entry.js → p-117cd69f.system.entry.js} +1 -1
- package/dist/ionic/p-1289b3b5.system.entry.js +4 -0
- package/dist/ionic/p-13d6e57a.js +4 -0
- package/dist/ionic/{p-e3f387af.system.js → p-14d7b7e2.system.js} +1 -1
- package/dist/ionic/p-164b0e76.entry.js +4 -0
- package/dist/ionic/p-170e9de0.system.entry.js +4 -0
- package/dist/ionic/{p-609ac308.js → p-181b7c2a.js} +1 -1
- package/dist/ionic/p-19384b9e.entry.js +4 -0
- package/dist/ionic/p-1c82e9ff.js +4 -0
- package/dist/ionic/{p-f6f393ee.system.entry.js → p-1d0aa82f.system.entry.js} +1 -1
- package/dist/ionic/{p-ee5049fd.entry.js → p-1ecba429.entry.js} +1 -1
- package/dist/ionic/{p-5d6123f1.entry.js → p-1f81b5be.entry.js} +1 -1
- package/dist/ionic/{p-8a9d2a85.system.entry.js → p-238f0ac5.system.entry.js} +1 -1
- package/dist/ionic/{p-8a95273c.js → p-276afddd.js} +1 -1
- package/dist/ionic/{p-cd582fdb.system.entry.js → p-2784263e.system.entry.js} +1 -1
- package/dist/ionic/p-29073efe.system.entry.js +4 -0
- package/dist/ionic/p-29e3a9bb.entry.js +4 -0
- package/dist/ionic/{p-dcf7bf1d.entry.js → p-2a7c0093.entry.js} +1 -1
- package/dist/ionic/p-32083c2d.js +4 -0
- package/dist/ionic/{p-d267077c.system.entry.js → p-32717950.system.entry.js} +1 -1
- package/dist/ionic/p-32d364f0.entry.js +4 -0
- package/dist/ionic/{p-088a58a8.system.entry.js → p-33a8349a.system.entry.js} +1 -1
- package/dist/ionic/p-35818410.entry.js +4 -0
- package/dist/ionic/{p-f3116c14.system.js → p-3632220b.system.js} +1 -1
- package/dist/ionic/p-37448ac1.entry.js +4 -0
- package/dist/ionic/{p-9dcf76ff.system.entry.js → p-38ccfd71.system.entry.js} +1 -1
- package/dist/ionic/{p-9edd7119.system.entry.js → p-3a58e3a4.system.entry.js} +1 -1
- package/dist/ionic/p-3bad5c1a.js +4 -0
- package/dist/ionic/{p-f7515628.entry.js → p-3c2c6fce.entry.js} +1 -1
- package/dist/ionic/{p-aa7b8135.system.js → p-3d726a67.system.js} +1 -1
- package/dist/ionic/{p-e8b9a6b2.system.entry.js → p-3f3da911.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-446230d7.js +4 -0
- package/dist/ionic/p-44ef7224.system.js +4 -0
- package/dist/ionic/{p-355aae8e.system.entry.js → p-45f5c8ba.system.entry.js} +1 -1
- package/dist/ionic/p-47db15c6.entry.js +4 -0
- package/dist/ionic/p-4811e4af.system.entry.js +4 -0
- package/dist/ionic/p-4b8db805.entry.js +4 -0
- package/dist/ionic/p-4bb26b01.system.entry.js +4 -0
- package/dist/ionic/{p-43060640.system.entry.js → p-4d6ac0fe.system.entry.js} +1 -1
- package/dist/ionic/p-4dd96c8d.entry.js +4 -0
- package/dist/ionic/{p-138fcf0f.entry.js → p-4e6e43c1.entry.js} +1 -1
- package/dist/ionic/{p-fa98c2a6.system.js → p-51269f3b.system.js} +1 -1
- package/dist/ionic/p-53b2a46f.js +4 -0
- package/dist/ionic/{p-465e0121.system.entry.js → p-54f6cd27.system.entry.js} +1 -1
- package/dist/ionic/{p-a7016aef.entry.js → p-55d3a9b2.entry.js} +1 -1
- package/dist/ionic/p-576e6d0f.system.entry.js +4 -0
- package/dist/ionic/{p-ab692eeb.entry.js → p-5b32b053.entry.js} +1 -1
- package/dist/ionic/p-5b976d70.entry.js +4 -0
- package/dist/ionic/p-5bc5008c.entry.js +4 -0
- package/dist/ionic/p-5c3e72a8.system.js +4 -0
- package/dist/ionic/p-5c651aab.system.entry.js +4 -0
- package/dist/ionic/p-5cd791b3.system.entry.js +4 -0
- package/dist/ionic/{p-0b761768.system.js → p-5ece7025.system.js} +1 -1
- package/dist/ionic/p-5efb899f.entry.js +4 -0
- package/dist/ionic/{p-9cfa25d2.system.entry.js → p-6129af0a.system.entry.js} +1 -1
- package/dist/ionic/{p-084b2140.system.js → p-613d4042.system.js} +1 -1
- package/dist/ionic/p-629aa3fd.system.js +5 -0
- package/dist/ionic/p-63505fbb.js +4 -0
- package/dist/ionic/{p-4c9a0825.system.js → p-64475ab5.system.js} +2 -2
- package/dist/ionic/{p-fc431180.entry.js → p-64e20cd9.entry.js} +1 -1
- package/dist/ionic/p-65a5761f.js +4 -0
- package/dist/ionic/p-6ac3e877.system.entry.js +4 -0
- package/dist/ionic/p-6ba7fad7.system.js +4 -0
- package/dist/ionic/{p-477f7813.entry.js → p-6ea2e653.entry.js} +1 -1
- package/dist/ionic/{p-94d4b708.system.entry.js → p-6f8a95a3.system.entry.js} +1 -1
- package/dist/ionic/p-6fb80ef3.system.entry.js +4 -0
- package/dist/ionic/p-706a0391.entry.js +4 -0
- package/dist/ionic/{p-c05662ba.system.entry.js → p-72aea40e.system.entry.js} +1 -1
- package/dist/ionic/p-73ed9a91.js +4 -0
- package/dist/ionic/{p-c1f5d275.js → p-76378400.js} +1 -1
- package/dist/ionic/p-772f6c84.system.js +4 -0
- package/dist/ionic/p-7cfd253c.js +4 -0
- package/dist/ionic/{p-a780a377.entry.js → p-818b2e75.entry.js} +1 -1
- package/dist/ionic/p-81c818e7.js +4 -0
- package/dist/ionic/p-8297652e.entry.js +4 -0
- package/dist/ionic/{p-322237d0.entry.js → p-839276d4.entry.js} +1 -1
- package/dist/ionic/{p-b46c09ac.system.entry.js → p-8a2801f1.system.entry.js} +1 -1
- package/dist/ionic/{p-46956a85.js → p-8b1be026.js} +1 -1
- package/dist/ionic/{p-0c92638a.js → p-8cf94fc1.js} +1 -1
- package/dist/ionic/p-8e24ebbc.js +4 -0
- package/dist/ionic/p-8ee012cb.system.entry.js +4 -0
- package/dist/ionic/{p-ec8a20f7.system.entry.js → p-908720f3.system.entry.js} +1 -1
- package/dist/ionic/p-914ac0fc.entry.js +4 -0
- package/dist/ionic/{p-f9f3ef7c.system.js → p-939e0fa1.system.js} +1 -1
- package/dist/ionic/p-95b14c73.system.entry.js +4 -0
- package/dist/ionic/{p-0dd11651.entry.js → p-96ba8eac.entry.js} +1 -1
- package/dist/ionic/{p-7c63a67f.system.entry.js → p-99dfa53f.system.entry.js} +1 -1
- package/dist/ionic/{p-86e57430.system.js → p-9ab6f3e6.system.js} +1 -1
- package/dist/ionic/{p-7cc4d08a.system.entry.js → p-9b4a77fc.system.entry.js} +1 -1
- package/dist/ionic/p-9f2e0db9.js +4 -0
- package/dist/ionic/p-a04bfada.entry.js +4 -0
- package/dist/ionic/p-a18ec02b.entry.js +4 -0
- package/dist/ionic/{p-2d55f2bd.system.js → p-ab4cff27.system.js} +1 -1
- package/dist/ionic/p-b109a3d7.system.entry.js +4 -0
- package/dist/ionic/p-b132c2c0.system.js +4 -0
- package/dist/ionic/p-b24aa895.js +4 -0
- package/dist/ionic/p-b287ab05.js +4 -0
- package/dist/ionic/{p-163145e8.system.entry.js → p-b3690814.system.entry.js} +1 -1
- package/dist/ionic/{p-c75da7cf.system.js → p-b3c68723.system.js} +1 -1
- package/dist/ionic/p-b61a2fa0.system.entry.js +4 -0
- package/dist/ionic/p-b912e055.system.js +4 -0
- 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-46cac66d.system.entry.js → p-beb864e4.system.entry.js} +1 -1
- package/dist/ionic/{p-40ed5852.system.js → p-c3efbcf5.system.js} +1 -1
- package/dist/ionic/p-c48fc95d.system.entry.js +4 -0
- package/dist/ionic/{p-505d3b57.system.js → p-c49672d8.system.js} +1 -1
- package/dist/ionic/{p-ed70dec7.entry.js → p-c4a5de01.entry.js} +1 -1
- package/dist/ionic/p-c7428627.system.entry.js +4 -0
- package/dist/ionic/p-ca5cf574.js +4 -0
- 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-fc2c5521.system.entry.js → p-cf0c93e3.system.entry.js} +1 -1
- package/dist/ionic/p-d0ad0430.system.entry.js +4 -0
- package/dist/ionic/{p-9912d985.js → p-d1de1188.js} +1 -1
- package/dist/ionic/p-d35217be.entry.js +4 -0
- package/dist/ionic/p-d55c9f92.system.entry.js +4 -0
- package/dist/ionic/{p-6f59ad61.entry.js → p-d7b8d224.entry.js} +1 -1
- package/dist/ionic/{p-66bd7d60.entry.js → p-d89d0de0.entry.js} +1 -1
- package/dist/ionic/{p-c056132d.entry.js → p-db1a1e00.entry.js} +1 -1
- package/dist/ionic/p-deb6ddad.entry.js +4 -0
- package/dist/ionic/{p-49ead5cb.system.js → p-df5fe0be.system.js} +1 -1
- package/dist/ionic/{p-13cb1942.system.entry.js → p-e0f52215.system.entry.js} +1 -1
- package/dist/ionic/p-e1ac688a.entry.js +4 -0
- package/dist/ionic/{p-54ada505.entry.js → p-e2fd0895.entry.js} +1 -1
- package/dist/ionic/{p-dd54d07b.system.entry.js → p-eab10949.system.entry.js} +1 -1
- package/dist/ionic/p-eac263dd.entry.js +4 -0
- package/dist/ionic/{p-30ae30f8.entry.js → p-ec9052a4.entry.js} +1 -1
- package/dist/ionic/p-f588e951.entry.js +4 -0
- package/dist/ionic/p-f623aa6d.entry.js +4 -0
- package/dist/ionic/p-f960fd84.system.entry.js +4 -0
- package/dist/ionic/{p-c3da26fd.system.js → p-fa8d4788.system.js} +1 -1
- package/dist/ionic/{p-d7e0a42b.system.js → p-fbcb157b.system.js} +2 -2
- package/dist/ionic/{p-a2e57f27.entry.js → p-fccfe602.entry.js} +1 -1
- package/dist/ionic/{p-1699be8e.entry.js → p-fcf47f80.entry.js} +1 -1
- package/dist/ionic/p-ff555f6f.system.entry.js +4 -0
- 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 +10 -1
- 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 +931 -552
- package/hydrate/package.json +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +8 -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/animation-258fd22b.js +0 -4
- 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/esm-es5/swipe-back-1bb66ed2.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-0e51ceb7.system.entry.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-52540082.js +0 -4
- package/dist/ionic/p-565d288e.system.js +0 -4
- package/dist/ionic/p-5a3ee051.system.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-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-90bfa7eb.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-9ee9d00e.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-b04873a4.system.js +0 -4
- package/dist/ionic/p-b096113b.js +0 -4
- package/dist/ionic/p-b159246b.entry.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-b94d3454.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-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-e614b5ba.system.entry.js +0 -4
- package/dist/ionic/p-ee9863ad.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
|
@@ -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 differ across
|
|
@@ -348,3 +348,28 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
|
|
|
348
348
|
});
|
|
349
349
|
});
|
|
350
350
|
});
|
|
351
|
+
/**
|
|
352
|
+
* This behavior does not differ across
|
|
353
|
+
* directions.
|
|
354
|
+
*/
|
|
355
|
+
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
356
|
+
test.describe(title('datetime: focus'), () => {
|
|
357
|
+
test('should focus the selected day and then the day after', async ({ page }) => {
|
|
358
|
+
await page.setContent(`
|
|
359
|
+
<ion-datetime value="2023-08-01"></ion-datetime>
|
|
360
|
+
`, config);
|
|
361
|
+
await page.waitForSelector('.datetime-ready');
|
|
362
|
+
const datetime = page.locator('ion-datetime');
|
|
363
|
+
const day = datetime.locator(`.calendar-day[data-day='1'][data-month='8']`);
|
|
364
|
+
await day.focus();
|
|
365
|
+
await page.waitForChanges();
|
|
366
|
+
await expect(day).toBeFocused();
|
|
367
|
+
await expect(datetime).toHaveScreenshot(screenshot(`datetime-focus-selected-calendar-day`));
|
|
368
|
+
await page.keyboard.press('ArrowRight');
|
|
369
|
+
await page.waitForChanges();
|
|
370
|
+
const nextDay = datetime.locator(`.calendar-day[data-day='2'][data-month='8']`);
|
|
371
|
+
await expect(nextDay).toBeFocused();
|
|
372
|
+
await expect(datetime).toHaveScreenshot(screenshot(`datetime-focus-calendar-day`));
|
|
373
|
+
});
|
|
374
|
+
});
|
|
375
|
+
});
|
|
@@ -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
|
|
@@ -10,7 +10,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
10
10
|
test.describe(title('datetime: color'), () => {
|
|
11
11
|
test('should not have visual regressions', async ({ page }) => {
|
|
12
12
|
await page.goto('/src/components/datetime/test/color', config);
|
|
13
|
-
const datetime = page.locator('
|
|
13
|
+
const datetime = page.locator('#color-datetime');
|
|
14
14
|
await expect(datetime).toHaveScreenshot(screenshot(`datetime-color`));
|
|
15
15
|
await page.evaluate(() => document.body.classList.toggle('dark'));
|
|
16
16
|
await page.waitForChanges();
|
|
@@ -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({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
7
|
test.describe(title('datetime: custom'), () => {
|
|
@@ -12,15 +12,8 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
12
12
|
const datetime = page.locator('#custom-wheel');
|
|
13
13
|
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-wheel`));
|
|
14
14
|
});
|
|
15
|
-
test('should allow styling month/year picker in grid style datetimes', async ({ page }) => {
|
|
16
|
-
const datetime = page.locator('#custom-grid');
|
|
17
|
-
const monthYearToggle = datetime.locator('.calendar-month-year');
|
|
18
|
-
await monthYearToggle.click();
|
|
19
|
-
await page.waitForChanges();
|
|
20
|
-
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-month-year`));
|
|
21
|
-
});
|
|
22
15
|
test('should allow styling time picker in grid style datetimes', async ({ page }) => {
|
|
23
|
-
const timeButton = page.locator('
|
|
16
|
+
const timeButton = page.locator('#custom-grid .time-body');
|
|
24
17
|
const popover = page.locator('.popover-viewport');
|
|
25
18
|
const ionPopoverDidPresent = await page.spyOnEvent('ionPopoverDidPresent');
|
|
26
19
|
await expect(timeButton).toHaveScreenshot(screenshot(`datetime-custom-time-button`));
|
|
@@ -29,5 +22,31 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
29
22
|
await expect(popover).toHaveScreenshot(screenshot(`datetime-custom-time-picker`));
|
|
30
23
|
await expect(timeButton).toHaveScreenshot(screenshot(`datetime-custom-time-button-active`));
|
|
31
24
|
});
|
|
25
|
+
test('should allow styling calendar days in grid style datetimes', async ({ page }) => {
|
|
26
|
+
const datetime = page.locator('#custom-calendar-days');
|
|
27
|
+
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-calendar-days`));
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
/**
|
|
32
|
+
* This behavior does not differ across
|
|
33
|
+
* directions.
|
|
34
|
+
*/
|
|
35
|
+
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
36
|
+
test.describe(title('datetime: custom focus'), () => {
|
|
37
|
+
test('should focus the selected day and then the day after', async ({ page }) => {
|
|
38
|
+
await page.goto(`/src/components/datetime/test/custom`, config);
|
|
39
|
+
const datetime = page.locator('#custom-calendar-days');
|
|
40
|
+
const day = datetime.locator(`.calendar-day[data-day='15'][data-month='6']`);
|
|
41
|
+
await day.focus();
|
|
42
|
+
await page.waitForChanges();
|
|
43
|
+
await expect(day).toBeFocused();
|
|
44
|
+
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-focus-selected-calendar-day`));
|
|
45
|
+
await page.keyboard.press('ArrowRight');
|
|
46
|
+
await page.waitForChanges();
|
|
47
|
+
const nextDay = datetime.locator(`.calendar-day[data-day='16'][data-month='6']`);
|
|
48
|
+
await expect(nextDay).toBeFocused();
|
|
49
|
+
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-focus-calendar-day`));
|
|
50
|
+
});
|
|
32
51
|
});
|
|
33
52
|
});
|
|
@@ -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({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('datetime: switching months with different number of days'), () => {
|
|
@@ -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
|
const DISABLED_CALENDAR_DAY_SELECTOR = '.calendar-day[disabled]:not(.calendar-day-padding)';
|
|
7
7
|
const queryAllDisabledDays = (page, datetimeSelector = 'ion-datetime') => {
|
|
@@ -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
|
|
@@ -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('datetime: first day of the week'), () => {
|
|
@@ -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({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
7
|
test.describe(title('datetime: highlightedDates'), () => {
|
|
@@ -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({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('datetime: hour cycle'), () => {
|
|
@@ -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 is testing text content of the
|
|
@@ -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 is the same across
|
|
@@ -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 is testing element rendering which
|
|
@@ -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
|
const SINGLE_DATE = '2022-06-01';
|
|
7
7
|
const MULTIPLE_DATES = ['2022-06-01', '2022-06-02', '2022-06-03'];
|
|
@@ -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('datetime: position'), () => {
|
|
@@ -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
|
/**
|
|
@@ -184,6 +184,21 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
184
184
|
await yearValues.nth(10).click();
|
|
185
185
|
await ionChange.next();
|
|
186
186
|
});
|
|
187
|
+
test('should jump to selected date when programmatically updating value', async ({ page }) => {
|
|
188
|
+
await page.setContent(`
|
|
189
|
+
<ion-datetime presentation="date" prefer-wheel="true" min="2019-05-05" max="2023-10-01" value="2019-05-30"></ion-datetime>
|
|
190
|
+
`, config);
|
|
191
|
+
await page.waitForSelector('.datetime-ready');
|
|
192
|
+
const datetime = page.locator('ion-datetime');
|
|
193
|
+
await datetime.evaluate((el) => (el.value = '2021-05-25T12:40:00.000Z'));
|
|
194
|
+
await page.waitForChanges();
|
|
195
|
+
const selectedMonth = datetime.locator('.month-column .picker-item-active');
|
|
196
|
+
const selectedDay = datetime.locator('.day-column .picker-item-active');
|
|
197
|
+
const selectedYear = datetime.locator('.year-column .picker-item-active');
|
|
198
|
+
await expect(selectedMonth).toHaveText(/May/);
|
|
199
|
+
await expect(selectedDay).toHaveText(/25/);
|
|
200
|
+
await expect(selectedYear).toHaveText(/2021/);
|
|
201
|
+
});
|
|
187
202
|
test.describe('datetime: date wheel localization', () => {
|
|
188
203
|
test('should correctly localize the date data', async ({ page }) => {
|
|
189
204
|
await page.setContent(`
|
|
@@ -1,26 +1,42 @@
|
|
|
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
|
-
test(title('
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
await
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
await
|
|
23
|
-
}
|
|
7
|
+
test.describe(title('datetime: presentation rendering'), () => {
|
|
8
|
+
let presentationFixture;
|
|
9
|
+
test.beforeEach(({ page }) => {
|
|
10
|
+
presentationFixture = new DatetimePresentationFixture(page);
|
|
11
|
+
});
|
|
12
|
+
test('should not have visual regressions with date-time presentation', async () => {
|
|
13
|
+
await presentationFixture.goto('date-time', config);
|
|
14
|
+
await presentationFixture.screenshot('datetime-presentation-date-time-diff', screenshot);
|
|
15
|
+
});
|
|
16
|
+
test('should not have visual regressions with time-date presentation', async () => {
|
|
17
|
+
await presentationFixture.goto('time-date', config);
|
|
18
|
+
await presentationFixture.screenshot('datetime-presentation-time-date-diff', screenshot);
|
|
19
|
+
});
|
|
20
|
+
test('should not have visual regressions with time presentation', async () => {
|
|
21
|
+
await presentationFixture.goto('time', config);
|
|
22
|
+
await presentationFixture.screenshot('datetime-presentation-time-diff', screenshot);
|
|
23
|
+
});
|
|
24
|
+
test('should not have visual regressions with date presentation', async () => {
|
|
25
|
+
await presentationFixture.goto('date', config);
|
|
26
|
+
await presentationFixture.screenshot('datetime-presentation-date-diff', screenshot);
|
|
27
|
+
});
|
|
28
|
+
test('should not have visual regressions with month-year presentation', async () => {
|
|
29
|
+
await presentationFixture.goto('month-year', config);
|
|
30
|
+
await presentationFixture.screenshot('datetime-presentation-month-year-diff', screenshot);
|
|
31
|
+
});
|
|
32
|
+
test('should not have visual regressions with month presentation', async () => {
|
|
33
|
+
await presentationFixture.goto('month', config);
|
|
34
|
+
await presentationFixture.screenshot('datetime-presentation-month-diff', screenshot);
|
|
35
|
+
});
|
|
36
|
+
test('should not have visual regressions with year presentation', async () => {
|
|
37
|
+
await presentationFixture.goto('year', config);
|
|
38
|
+
await presentationFixture.screenshot('datetime-presentation-year-diff', screenshot);
|
|
39
|
+
});
|
|
24
40
|
});
|
|
25
41
|
});
|
|
26
42
|
/**
|
|
@@ -112,6 +128,21 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
112
128
|
});
|
|
113
129
|
});
|
|
114
130
|
});
|
|
131
|
+
class DatetimePresentationFixture {
|
|
132
|
+
constructor(page) {
|
|
133
|
+
this.page = page;
|
|
134
|
+
}
|
|
135
|
+
async goto(presentation, config) {
|
|
136
|
+
await this.page.setContent(`
|
|
137
|
+
<ion-datetime presentation="${presentation}" value="2010-03-10T13:00:00"></ion-datetime>
|
|
138
|
+
`, config);
|
|
139
|
+
await this.page.waitForSelector('.datetime-ready');
|
|
140
|
+
this.datetime = this.page.locator('ion-datetime');
|
|
141
|
+
}
|
|
142
|
+
async screenshot(name, screenshotFn) {
|
|
143
|
+
await expect(this.datetime).toHaveScreenshot(screenshotFn(name));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
115
146
|
class TimePickerFixture {
|
|
116
147
|
constructor(page) {
|
|
117
148
|
this.page = page;
|
|
@@ -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({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('datetime: set-value'), () => {
|
|
@@ -30,24 +30,21 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
30
30
|
await page.waitForSelector('.datetime-ready');
|
|
31
31
|
const datetime = page.locator('ion-datetime');
|
|
32
32
|
const activeDayButton = page.locator('.calendar-day-active');
|
|
33
|
-
const monthYearButton = page.locator('.calendar-month-year');
|
|
34
|
-
const monthColumn = page.locator('.month-column');
|
|
35
|
-
const ionChange = await page.spyOnEvent('ionChange');
|
|
36
33
|
await datetime.evaluate((el) => (el.value = '2021-10-05'));
|
|
37
|
-
// Open month/year picker
|
|
38
|
-
await monthYearButton.click();
|
|
39
|
-
await page.waitForChanges();
|
|
40
|
-
// Select October 2021
|
|
41
|
-
// The year will automatically switch to 2021 when selecting 10
|
|
42
|
-
await monthColumn.locator('.picker-item[data-value="10"]').click();
|
|
43
|
-
await ionChange.next();
|
|
44
|
-
// Close month/year picker
|
|
45
|
-
await monthYearButton.click();
|
|
46
34
|
await page.waitForChanges();
|
|
47
35
|
// Check that correct day is highlighted
|
|
48
36
|
await expect(activeDayButton).toHaveAttribute('data-day', '5');
|
|
49
37
|
await expect(activeDayButton).toHaveAttribute('data-month', '10');
|
|
50
38
|
await expect(activeDayButton).toHaveAttribute('data-year', '2021');
|
|
51
39
|
});
|
|
40
|
+
test('should scroll to new month when value is initially set and then updated', async ({ page }) => {
|
|
41
|
+
await page.goto('/src/components/datetime/test/set-value', config);
|
|
42
|
+
await page.waitForSelector('.datetime-ready');
|
|
43
|
+
const datetime = page.locator('ion-datetime');
|
|
44
|
+
await datetime.evaluate((el) => (el.value = '2021-05-25T12:40:00.000Z'));
|
|
45
|
+
await page.waitForChanges();
|
|
46
|
+
const calendarHeader = datetime.locator('.calendar-month-year');
|
|
47
|
+
await expect(calendarHeader).toHaveText(/May 2021/);
|
|
48
|
+
});
|
|
52
49
|
});
|
|
53
50
|
});
|
|
@@ -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({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('datetime: time label'), () => {
|
|
@@ -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({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
7
|
test.describe(title('datetime: values'), () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { isAfter, isBefore, isSameDay } from
|
|
5
|
-
import { getLocalizedDayPeriod, removeDateTzOffset, getFormattedHour, addTimePadding, getTodayLabel, getYear, } from
|
|
6
|
-
import { getNumDaysInMonth, is24Hour } from
|
|
7
|
-
import { getNextMonth, getPreviousMonth, getInternalHourValue } from
|
|
4
|
+
import { isAfter, isBefore, isSameDay } from "./comparison";
|
|
5
|
+
import { getLocalizedDayPeriod, removeDateTzOffset, getFormattedHour, addTimePadding, getTodayLabel, getYear, } from "./format";
|
|
6
|
+
import { getNumDaysInMonth, is24Hour } from "./helpers";
|
|
7
|
+
import { getNextMonth, getPreviousMonth, getInternalHourValue } from "./manipulation";
|
|
8
8
|
/**
|
|
9
9
|
* Returns the current date as
|
|
10
10
|
* an ISO string in the user's
|
|
@@ -220,12 +220,20 @@ export const generateTime = (refParts, hourCycle = 'h12', minParts, maxParts, ho
|
|
|
220
220
|
* Given DatetimeParts, generate the previous,
|
|
221
221
|
* current, and and next months.
|
|
222
222
|
*/
|
|
223
|
-
export const generateMonths = (refParts) => {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
223
|
+
export const generateMonths = (refParts, forcedDate) => {
|
|
224
|
+
const current = { month: refParts.month, year: refParts.year, day: refParts.day };
|
|
225
|
+
/**
|
|
226
|
+
* If we're forcing a month to appear, and it's different from the current month,
|
|
227
|
+
* ensure it appears by replacing the next or previous month as appropriate.
|
|
228
|
+
*/
|
|
229
|
+
if (forcedDate !== undefined && (refParts.month !== forcedDate.month || refParts.year !== forcedDate.year)) {
|
|
230
|
+
const forced = { month: forcedDate.month, year: forcedDate.year, day: forcedDate.day };
|
|
231
|
+
const forcedMonthIsBefore = isBefore(forced, current);
|
|
232
|
+
return forcedMonthIsBefore
|
|
233
|
+
? [forced, current, getNextMonth(refParts)]
|
|
234
|
+
: [getPreviousMonth(refParts), current, forced];
|
|
235
|
+
}
|
|
236
|
+
return [getPreviousMonth(refParts), current, getNextMonth(refParts)];
|
|
229
237
|
};
|
|
230
238
|
export const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, formatOptions = {
|
|
231
239
|
month: 'long',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { isSameDay } from
|
|
5
|
-
import { getNumDaysInMonth } from
|
|
6
|
-
import { clampDate, parseAmPm } from
|
|
4
|
+
import { isSameDay } from "./comparison";
|
|
5
|
+
import { getNumDaysInMonth } from "./helpers";
|
|
6
|
+
import { clampDate, parseAmPm } from "./parse";
|
|
7
7
|
const twoDigit = (val) => {
|
|
8
8
|
return ('0' + (val !== undefined ? Math.abs(val) : '0')).slice(-2);
|
|
9
9
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { printIonWarning } from "../../../utils/logging/index";
|
|
5
|
+
import { isAfter, isBefore } from "./comparison";
|
|
6
|
+
import { getNumDaysInMonth } from "./helpers";
|
|
6
7
|
const ISO_8601_REGEXP =
|
|
7
8
|
// eslint-disable-next-line no-useless-escape
|
|
8
9
|
/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
|
|
@@ -47,7 +48,22 @@ export const getPartsFromCalendarDay = (el) => {
|
|
|
47
48
|
};
|
|
48
49
|
export function parseDate(val) {
|
|
49
50
|
if (Array.isArray(val)) {
|
|
50
|
-
|
|
51
|
+
const parsedArray = [];
|
|
52
|
+
for (const valStr of val) {
|
|
53
|
+
const parsedVal = parseDate(valStr);
|
|
54
|
+
/**
|
|
55
|
+
* If any of the values weren't parsed correctly, consider
|
|
56
|
+
* the entire batch incorrect. This simplifies the type
|
|
57
|
+
* signatures by having "undefined" be a general error case
|
|
58
|
+
* instead of returning (Datetime | undefined)[], which is
|
|
59
|
+
* harder for TS to perform type narrowing on.
|
|
60
|
+
*/
|
|
61
|
+
if (!parsedVal) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
parsedArray.push(parsedVal);
|
|
65
|
+
}
|
|
66
|
+
return parsedArray;
|
|
51
67
|
}
|
|
52
68
|
// manually parse IS0 cuz Date.parse cannot be trusted
|
|
53
69
|
// ISO 8601 format: 1994-12-15T13:47:20Z
|
|
@@ -67,6 +83,7 @@ export function parseDate(val) {
|
|
|
67
83
|
}
|
|
68
84
|
if (parse === null) {
|
|
69
85
|
// wasn't able to parse the ISO datetime
|
|
86
|
+
printIonWarning(`Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
|
|
70
87
|
return undefined;
|
|
71
88
|
}
|
|
72
89
|
// ensure all the parse values exist with at least 0
|
|
@@ -107,7 +124,14 @@ export const parseAmPm = (hour) => {
|
|
|
107
124
|
* month, day, hour, and minute information.
|
|
108
125
|
*/
|
|
109
126
|
export const parseMaxParts = (max, todayParts) => {
|
|
110
|
-
const
|
|
127
|
+
const result = parseDate(max);
|
|
128
|
+
/**
|
|
129
|
+
* If min was not a valid date then return undefined.
|
|
130
|
+
*/
|
|
131
|
+
if (result === undefined) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
const { month, day, year, hour, minute } = result;
|
|
111
135
|
/**
|
|
112
136
|
* When passing in `max` or `min`, developers
|
|
113
137
|
* can pass in any ISO-8601 string. This means
|
|
@@ -140,7 +164,14 @@ export const parseMaxParts = (max, todayParts) => {
|
|
|
140
164
|
* month, day, hour, and minute information.
|
|
141
165
|
*/
|
|
142
166
|
export const parseMinParts = (min, todayParts) => {
|
|
143
|
-
const
|
|
167
|
+
const result = parseDate(min);
|
|
168
|
+
/**
|
|
169
|
+
* If min was not a valid date then return undefined.
|
|
170
|
+
*/
|
|
171
|
+
if (result === undefined) {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
const { month, day, year, hour, minute } = result;
|
|
144
175
|
/**
|
|
145
176
|
* When passing in `max` or `min`, developers
|
|
146
177
|
* can pass in any ISO-8601 string. This means
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { printIonError } from "../../../utils/logging/index";
|
|
5
|
-
import { isAfter, isBefore, isSameDay } from
|
|
6
|
-
import { generateDayAriaLabel, getDay } from
|
|
7
|
-
import { getNextMonth, getPreviousMonth } from
|
|
5
|
+
import { isAfter, isBefore, isSameDay } from "./comparison";
|
|
6
|
+
import { generateDayAriaLabel, getDay } from "./format";
|
|
7
|
+
import { getNextMonth, getPreviousMonth } from "./manipulation";
|
|
8
8
|
export const isYearDisabled = (refYear, minParts, maxParts) => {
|
|
9
9
|
if (minParts && minParts.year > refYear) {
|
|
10
10
|
return true;
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { componentOnReady, addEventListener } from "../../utils/helpers";
|
|
6
6
|
import { printIonError } from "../../utils/logging/index";
|
|
7
7
|
import { createColorClasses } from "../../utils/theme";
|
|
8
|
-
import { getIonMode } from
|
|
9
|
-
import { getToday } from
|
|
10
|
-
import { getMonthAndYear, getMonthDayAndYear, getLocalizedDateTime, getLocalizedTime } from
|
|
11
|
-
import { is24Hour } from
|
|
12
|
-
import { parseDate } from
|
|
8
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
9
|
+
import { getToday } from "../datetime/utils/data";
|
|
10
|
+
import { getMonthAndYear, getMonthDayAndYear, getLocalizedDateTime, getLocalizedTime } from "../datetime/utils/format";
|
|
11
|
+
import { is24Hour } from "../datetime/utils/helpers";
|
|
12
|
+
import { parseDate } from "../datetime/utils/parse";
|
|
13
13
|
/**
|
|
14
14
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
15
15
|
*
|
|
@@ -54,6 +54,9 @@ export class DatetimeButton {
|
|
|
54
54
|
* to today's date and time if no value is set.
|
|
55
55
|
*/
|
|
56
56
|
const parsedDatetimes = parseDate(parsedValues.length > 0 ? parsedValues : [getToday()]);
|
|
57
|
+
if (!parsedDatetimes) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
57
60
|
/**
|
|
58
61
|
* If developers incorrectly use multiple="true"
|
|
59
62
|
* with non "date" datetimes, then just select
|
|
@@ -364,7 +367,8 @@ export class DatetimeButton {
|
|
|
364
367
|
"references": {
|
|
365
368
|
"Color": {
|
|
366
369
|
"location": "import",
|
|
367
|
-
"path": "../../interface"
|
|
370
|
+
"path": "../../interface",
|
|
371
|
+
"id": "src/interface.d.ts::Color"
|
|
368
372
|
}
|
|
369
373
|
}
|
|
370
374
|
},
|
|
@@ -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
|
* The tested behavior does not
|
|
@@ -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({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
7
|
test.describe(title('datetime-button: disabled buttons'), () => {
|
|
@@ -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
|
* The tested behavior does not
|