voyager-ionic-core 7.6.5 → 7.7.2
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 -6
- package/components/alert.js +11 -5
- package/components/backdrop.js +5 -3
- package/components/button.js +6 -4
- package/components/buttons.js +5 -3
- package/components/checkbox.js +4 -2
- package/components/data.js +1 -1
- package/components/hardware-back-button.js +47 -3
- package/components/helpers.js +1 -1
- package/components/icon.js +2 -1
- package/components/ion-accordion-group.js +6 -4
- package/components/ion-accordion.js +9 -5
- package/components/ion-app.js +14 -3
- package/components/ion-avatar.js +5 -3
- package/components/ion-back-button.js +6 -4
- package/components/ion-badge.js +6 -4
- package/components/ion-breadcrumb.js +6 -4
- package/components/ion-breadcrumbs.js +6 -4
- package/components/ion-card-content.js +5 -3
- package/components/ion-card-header.js +6 -4
- package/components/ion-card-subtitle.js +6 -4
- package/components/ion-card-title.js +6 -4
- package/components/ion-card.js +5 -3
- package/components/ion-chip.js +6 -4
- package/components/ion-col.js +4 -3
- package/components/ion-content.js +5 -4
- package/components/ion-datetime-button.js +6 -4
- package/components/ion-datetime.js +40 -19
- package/components/ion-fab-button.js +6 -4
- package/components/ion-fab-list.js +4 -3
- package/components/ion-fab.js +4 -3
- package/components/ion-footer.js +6 -4
- package/components/ion-grid.js +4 -3
- package/components/ion-header.js +6 -4
- package/components/ion-img.js +3 -2
- package/components/ion-infinite-scroll-content.js +6 -4
- package/components/ion-infinite-scroll.js +3 -2
- package/components/ion-input.js +4 -2
- package/components/ion-item-divider.js +6 -4
- package/components/ion-item-group.js +5 -3
- package/components/ion-item-option.js +6 -4
- package/components/ion-item-options.js +5 -3
- package/components/ion-item-sliding.js +3 -2
- package/components/ion-loading.js +10 -4
- package/components/ion-menu-button.js +6 -4
- package/components/ion-menu-toggle.js +4 -3
- package/components/ion-menu.js +13 -5
- package/components/ion-modal.js +13 -10
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +3 -2
- package/components/ion-picker.js +10 -4
- package/components/ion-progress-bar.js +5 -3
- package/components/ion-range.js +4 -2
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +5 -3
- package/components/ion-reorder-group.js +3 -2
- package/components/ion-reorder.js +5 -3
- package/components/ion-router-link.js +4 -3
- package/components/ion-router-outlet.js +3 -2
- package/components/ion-row.js +3 -2
- package/components/ion-searchbar.js +8 -6
- package/components/ion-segment-button.js +7 -5
- package/components/ion-segment.js +13 -4
- package/components/ion-select-option.js +3 -2
- package/components/ion-select.js +24 -3
- package/components/ion-skeleton-text.js +4 -3
- package/components/ion-split-pane.js +15 -14
- package/components/ion-tab-bar.js +6 -4
- package/components/ion-tab-button.js +6 -4
- package/components/ion-tab.js +4 -3
- package/components/ion-tabs.js +3 -2
- package/components/ion-text.js +4 -3
- package/components/ion-textarea.js +4 -2
- package/components/ion-thumbnail.js +3 -2
- package/components/ion-title.js +6 -4
- package/components/ion-toast.js +10 -4
- package/components/ion-toggle.js +4 -2
- package/components/ion-toolbar.js +6 -4
- package/components/item.js +15 -16
- package/components/label.js +5 -3
- package/components/list-header.js +6 -4
- package/components/list.js +5 -3
- package/components/note.js +6 -4
- package/components/overlays.js +83 -19
- package/components/picker-column-internal.js +7 -5
- package/components/picker-column.js +6 -4
- package/components/picker-internal.js +21 -3
- package/components/popover.js +12 -6
- package/components/radio-group.js +1 -1
- package/components/radio.js +4 -2
- package/components/ripple-effect.js +3 -2
- package/components/select-popover.js +7 -5
- package/components/spinner.js +3 -2
- package/css/core.css +28 -0
- 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-9b401d39.js → animation-fdab9de5.js} +1 -1
- package/dist/cjs/{app-globals-07127773.js → app-globals-92ad1b3d.js} +1 -1
- package/dist/cjs/{button-active-85665616.js → button-active-2d6520ec.js} +1 -1
- package/dist/cjs/{form-controller-7d42a722.js → form-controller-7b90d7b7.js} +1 -1
- package/dist/cjs/{framework-delegate-1c29b14a.js → framework-delegate-a3e6d060.js} +1 -1
- package/dist/cjs/{hardware-back-button-76833cac.js → hardware-back-button-2696acaf.js} +48 -2
- package/dist/cjs/{helpers-76bb7efb.js → helpers-2e1028fa.js} +1 -1
- package/dist/cjs/{index-71f41461.js → index-0ffe376d.js} +56 -23
- package/dist/cjs/{index-b4f986cd.js → index-10da82ce.js} +1 -1
- package/dist/cjs/{index-da15e99c.js → index-53d162b2.js} +1 -1
- package/dist/cjs/{index-96a721a7.js → index-a43f7a0f.js} +4 -4
- package/dist/cjs/{index-6bb6b651.js → index-c3580a90.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-a23bb0f4.js → input-shims-6f804705.js} +2 -2
- package/dist/cjs/{input.utils-3d0166a2.js → input.utils-d693d18a.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +18 -12
- package/dist/cjs/ion-action-sheet.cjs.entry.js +20 -14
- package/dist/cjs/ion-alert.cjs.entry.js +19 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +72 -50
- package/dist/cjs/ion-avatar_3.cjs.entry.js +16 -11
- package/dist/cjs/ion-back-button.cjs.entry.js +9 -7
- package/dist/cjs/ion-backdrop.cjs.entry.js +7 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +15 -11
- package/dist/cjs/ion-button_2.cjs.entry.js +11 -8
- package/dist/cjs/ion-card_5.cjs.entry.js +31 -21
- package/dist/cjs/ion-checkbox.cjs.entry.js +8 -6
- package/dist/cjs/ion-chip.cjs.entry.js +8 -6
- package/dist/cjs/ion-col_3.cjs.entry.js +13 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -6
- package/dist/cjs/ion-datetime_3.cjs.entry.js +62 -33
- package/dist/cjs/ion-fab_3.cjs.entry.js +17 -13
- package/dist/cjs/ion-img.cjs.entry.js +6 -5
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +13 -10
- package/dist/cjs/ion-input.cjs.entry.js +10 -8
- package/dist/cjs/ion-item-option_3.cjs.entry.js +18 -13
- package/dist/cjs/ion-item_8.cjs.entry.js +53 -33
- package/dist/cjs/ion-loading.cjs.entry.js +17 -11
- package/dist/cjs/ion-menu_3.cjs.entry.js +29 -19
- package/dist/cjs/ion-modal.cjs.entry.js +21 -18
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -9
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +10 -8
- package/dist/cjs/ion-picker-internal.cjs.entry.js +23 -5
- package/dist/cjs/ion-popover.cjs.entry.js +20 -14
- package/dist/cjs/ion-progress-bar.cjs.entry.js +8 -6
- package/dist/cjs/ion-radio_2.cjs.entry.js +9 -7
- package/dist/cjs/ion-range.cjs.entry.js +9 -7
- package/dist/cjs/ion-refresher_2.cjs.entry.js +11 -9
- package/dist/cjs/ion-reorder_2.cjs.entry.js +12 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -4
- package/dist/cjs/ion-route_4.cjs.entry.js +7 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +11 -9
- package/dist/cjs/ion-segment_2.cjs.entry.js +23 -12
- package/dist/cjs/ion-select_3.cjs.entry.js +42 -18
- package/dist/cjs/ion-spinner.cjs.entry.js +5 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +17 -16
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +15 -11
- package/dist/cjs/ion-tab_2.cjs.entry.js +10 -8
- package/dist/cjs/ion-text.cjs.entry.js +6 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +10 -8
- package/dist/cjs/ion-toast.cjs.entry.js +17 -11
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -6
- package/dist/cjs/{ionic-global-c70c3fb5.js → ionic-global-59a10130.js} +1 -1
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-9624a175.js → ios.transition-c3b11cc3.js} +4 -4
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/{md.transition-786baf9a.js → md.transition-82a8c649.js} +4 -4
- package/dist/cjs/{notch-controller-9735e7ac.js → notch-controller-db0127c4.js} +1 -1
- package/dist/cjs/{overlays-4c97edb0.js → overlays-fb7ca451.js} +85 -22
- package/dist/cjs/{status-tap-66296dcb.js → status-tap-692f6d32.js} +3 -3
- package/dist/cjs/{swipe-back-e37a1a5c.js → swipe-back-7a848bb8.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +5 -3
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +94 -0
- package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +94 -0
- package/dist/collection/components/accordion-group/accordion-group.js +2 -2
- package/dist/collection/components/action-sheet/action-sheet.ios.css +13 -1
- package/dist/collection/components/action-sheet/action-sheet.js +9 -5
- package/dist/collection/components/alert/alert.ios.css +23 -0
- package/dist/collection/components/alert/alert.js +8 -4
- package/dist/collection/components/alert/test/basic/alert.e2e.js +29 -4
- package/dist/collection/components/app/app.js +12 -2
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/backdrop/backdrop.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/test/basic/button.e2e.js +1 -1
- package/dist/collection/components/buttons/buttons.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +35 -16
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +3 -3
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +12 -12
- 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/disabled/datetime.e2e.js +4 -4
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +9 -9
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +3 -3
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +11 -11
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +22 -5
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +32 -32
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +3 -3
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +4 -4
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +4 -4
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +4 -4
- package/dist/collection/components/datetime-button/datetime-button.js +1 -1
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +14 -14
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +2 -2
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +6 -6
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/header/test/condense/header.e2e.js +2 -2
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/item/item.ios.css +2 -39
- package/dist/collection/components/item/item.js +10 -12
- package/dist/collection/components/item/item.md.css +2 -39
- package/dist/collection/components/item/test/item.spec.js +20 -0
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/test/basic/label.e2e.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +8 -4
- package/dist/collection/components/menu/menu.js +8 -8
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +11 -10
- package/dist/collection/components/modal/test/animations/modal.e2e.js +36 -0
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/standalone/modal.e2e.js +1 -1
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/note/test/a11y/note.e2e.js +6 -6
- package/dist/collection/components/picker/picker.js +8 -4
- package/dist/collection/components/picker-column/picker-column.js +2 -2
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +3 -3
- package/dist/collection/components/picker-internal/picker-internal.js +17 -1
- package/dist/collection/components/picker-internal/test/keyboard-entry/picker-internal.e2e.js +32 -0
- package/dist/collection/components/popover/popover.ios.css +8 -1
- package/dist/collection/components/popover/popover.js +8 -4
- package/dist/collection/components/popover/popover.md.css +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +15 -15
- package/dist/collection/components/range/test/label/range.e2e.js +2 -2
- package/dist/collection/components/range/test/range-events.e2e.js +2 -2
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher/test/test.utils.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +2 -2
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +9 -2
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +20 -1
- package/dist/collection/components/select/test/disabled/select.e2e.js +1 -1
- package/dist/collection/components/select/test/select.spec.js +15 -0
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.ios.css +10 -0
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/select-popover/select-popover.md.css +10 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +11 -12
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +4 -4
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/test/toast.spec.js +12 -0
- package/dist/collection/components/toast/toast.js +8 -4
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/hardware-back-button.js +45 -2
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/overlays.js +82 -17
- package/dist/collection/utils/test/hardware-back-button.spec.js +38 -0
- package/dist/collection/utils/test/overlays/overlays.e2e.js +33 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +51 -0
- package/dist/docs.json +26 -31
- package/dist/esm/{animation-dde8cc0d.js → animation-60dbdd13.js} +1 -1
- package/dist/esm/{app-globals-52c78291.js → app-globals-5cf6195b.js} +1 -1
- package/dist/esm/{button-active-b62776db.js → button-active-47ac8092.js} +1 -1
- package/dist/esm/{data-775093f5.js → data-0f3ab200.js} +1 -1
- package/dist/esm/{form-controller-548aa79c.js → form-controller-014aa89f.js} +1 -1
- package/dist/esm/{framework-delegate-bc1fd82a.js → framework-delegate-fed7fe7c.js} +1 -1
- package/dist/esm/{hardware-back-button-b2bc76db.js → hardware-back-button-b410a047.js} +48 -3
- package/dist/esm/{helpers-ae653409.js → helpers-c0b9ca37.js} +1 -1
- package/dist/esm/{index-a97c95a7.js → index-0b4beb69.js} +4 -4
- package/dist/esm/{index-01cb9192.js → index-47b2066d.js} +4 -4
- package/dist/esm/{index-27668d5b.js → index-4c30cddd.js} +56 -23
- package/dist/esm/{index-82eeb47f.js → index-d64f34ea.js} +1 -1
- package/dist/esm/{index-b9e742e5.js → index-eb12ef92.js} +1 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-6539ce13.js → input-shims-b90ca55f.js} +2 -2
- package/dist/esm/{input.utils-a5a2d164.js → input.utils-6e9b0046.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +18 -12
- package/dist/esm/ion-action-sheet.entry.js +20 -14
- package/dist/esm/ion-alert.entry.js +19 -13
- package/dist/esm/ion-app_8.entry.js +62 -40
- package/dist/esm/ion-avatar_3.entry.js +16 -11
- package/dist/esm/ion-back-button.entry.js +9 -7
- package/dist/esm/ion-backdrop.entry.js +7 -5
- package/dist/esm/ion-breadcrumb_2.entry.js +15 -11
- package/dist/esm/ion-button_2.entry.js +11 -8
- package/dist/esm/ion-card_5.entry.js +31 -21
- package/dist/esm/ion-checkbox.entry.js +8 -6
- package/dist/esm/ion-chip.entry.js +8 -6
- package/dist/esm/ion-col_3.entry.js +13 -10
- package/dist/esm/ion-datetime-button.entry.js +9 -7
- package/dist/esm/ion-datetime_3.entry.js +63 -34
- package/dist/esm/ion-fab_3.entry.js +17 -13
- package/dist/esm/ion-img.entry.js +6 -5
- package/dist/esm/ion-infinite-scroll_2.entry.js +13 -10
- package/dist/esm/ion-input.entry.js +10 -8
- package/dist/esm/ion-item-option_3.entry.js +18 -13
- package/dist/esm/ion-item_8.entry.js +53 -33
- package/dist/esm/ion-loading.entry.js +17 -11
- package/dist/esm/ion-menu_3.entry.js +29 -19
- package/dist/esm/ion-modal.entry.js +21 -18
- package/dist/esm/ion-nav_2.entry.js +10 -9
- package/dist/esm/ion-picker-column-internal.entry.js +10 -8
- package/dist/esm/ion-picker-internal.entry.js +23 -5
- package/dist/esm/ion-popover.entry.js +20 -14
- package/dist/esm/ion-progress-bar.entry.js +8 -6
- package/dist/esm/ion-radio_2.entry.js +9 -7
- package/dist/esm/ion-range.entry.js +9 -7
- package/dist/esm/ion-refresher_2.entry.js +11 -9
- package/dist/esm/ion-reorder_2.entry.js +12 -9
- package/dist/esm/ion-ripple-effect.entry.js +5 -4
- package/dist/esm/ion-route_4.entry.js +7 -6
- package/dist/esm/ion-searchbar.entry.js +11 -9
- package/dist/esm/ion-segment_2.entry.js +23 -12
- package/dist/esm/ion-select_3.entry.js +42 -18
- package/dist/esm/ion-spinner.entry.js +5 -4
- package/dist/esm/ion-split-pane.entry.js +17 -16
- package/dist/esm/ion-tab-bar_2.entry.js +15 -11
- package/dist/esm/ion-tab_2.entry.js +10 -8
- package/dist/esm/ion-text.entry.js +6 -5
- package/dist/esm/ion-textarea.entry.js +10 -8
- package/dist/esm/ion-toast.entry.js +17 -11
- package/dist/esm/ion-toggle.entry.js +8 -6
- package/dist/esm/{ionic-global-8fa0f940.js → ionic-global-ad9a1810.js} +1 -1
- package/dist/esm/ionic.js +8 -8
- package/dist/esm/{ios.transition-62fd50ab.js → ios.transition-b76c7020.js} +4 -4
- package/dist/esm/loader.js +7 -7
- package/dist/esm/{md.transition-7e56966a.js → md.transition-564937a7.js} +4 -4
- package/dist/esm/{notch-controller-fea7f9c5.js → notch-controller-15d281a4.js} +1 -1
- package/dist/esm/{overlays-8414359b.js → overlays-04a9a43f.js} +86 -22
- package/dist/esm/{status-tap-129c01cf.js → status-tap-5a95077d.js} +3 -3
- package/dist/esm/{swipe-back-18cb49f7.js → swipe-back-fa0ec5cd.js} +1 -1
- package/dist/esm-es5/{animation-dde8cc0d.js → animation-60dbdd13.js} +1 -1
- package/dist/esm-es5/app-globals-5cf6195b.js +4 -0
- package/dist/esm-es5/{button-active-b62776db.js → button-active-47ac8092.js} +1 -1
- package/dist/esm-es5/{data-775093f5.js → data-0f3ab200.js} +1 -1
- package/dist/esm-es5/{form-controller-548aa79c.js → form-controller-014aa89f.js} +1 -1
- package/dist/esm-es5/{framework-delegate-bc1fd82a.js → framework-delegate-fed7fe7c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-b410a047.js +4 -0
- package/dist/esm-es5/helpers-c0b9ca37.js +4 -0
- package/dist/esm-es5/{index-a97c95a7.js → index-0b4beb69.js} +1 -1
- package/dist/esm-es5/{index-01cb9192.js → index-47b2066d.js} +1 -1
- package/dist/esm-es5/index-4c30cddd.js +5 -0
- package/dist/esm-es5/index-d64f34ea.js +4 -0
- package/dist/esm-es5/{index-b9e742e5.js → index-eb12ef92.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-6539ce13.js → input-shims-b90ca55f.js} +1 -1
- package/dist/esm-es5/{input.utils-a5a2d164.js → input.utils-6e9b0046.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-8fa0f940.js → ionic-global-ad9a1810.js} +1 -1
- package/dist/esm-es5/ionic.js +2 -2
- package/dist/esm-es5/{ios.transition-62fd50ab.js → ios.transition-b76c7020.js} +1 -1
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/md.transition-564937a7.js +4 -0
- package/dist/esm-es5/{notch-controller-fea7f9c5.js → notch-controller-15d281a4.js} +1 -1
- package/dist/esm-es5/overlays-04a9a43f.js +4 -0
- package/dist/esm-es5/{status-tap-129c01cf.js → status-tap-5a95077d.js} +1 -1
- package/dist/esm-es5/{swipe-back-18cb49f7.js → swipe-back-fa0ec5cd.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-027f3674.entry.js +4 -0
- package/dist/ionic/p-0457213c.entry.js +4 -0
- package/dist/ionic/p-05d560ec.entry.js +4 -0
- package/dist/ionic/p-0b34d3a7.system.js +4 -0
- package/dist/ionic/p-0e23c289.system.entry.js +4 -0
- package/dist/ionic/p-1131946f.system.entry.js +4 -0
- package/dist/ionic/{p-25221a73.js → p-123b4809.js} +1 -1
- package/dist/ionic/{p-d2707f9d.system.js → p-1636923f.system.js} +1 -1
- package/dist/ionic/p-16a61810.entry.js +4 -0
- package/dist/ionic/p-18beebdf.system.entry.js +4 -0
- package/dist/ionic/p-1924f2e0.system.entry.js +4 -0
- package/dist/ionic/{p-53ec4f1c.system.js → p-1dfc11b3.system.js} +1 -1
- package/dist/ionic/p-1f16d040.entry.js +4 -0
- package/dist/ionic/p-1f19958f.system.entry.js +4 -0
- package/dist/ionic/p-21ca1f1c.js +4 -0
- package/dist/ionic/p-2327064c.entry.js +4 -0
- package/dist/ionic/{p-7bae84aa.entry.js → p-23c73017.entry.js} +1 -1
- package/dist/ionic/p-275705e5.entry.js +4 -0
- package/dist/ionic/{p-32b8e50d.system.js → p-2e14c533.system.js} +1 -1
- package/dist/ionic/p-2e1f014a.system.entry.js +4 -0
- package/dist/ionic/p-3079950e.entry.js +4 -0
- package/dist/ionic/{p-03e00f90.js → p-30cd5e7b.js} +1 -1
- package/dist/ionic/p-30d77a91.system.js +4 -0
- package/dist/ionic/{p-376a6063.js → p-31c495c2.js} +1 -1
- package/dist/ionic/p-337ac0f5.entry.js +4 -0
- package/dist/ionic/p-3471a7c0.system.entry.js +4 -0
- package/dist/ionic/p-3481d54e.system.entry.js +4 -0
- package/dist/ionic/{p-cabad15b.system.js → p-37c33319.system.js} +1 -1
- package/dist/ionic/p-396083cc.entry.js +4 -0
- package/dist/ionic/{p-e814f9c0.entry.js → p-3a7de59c.entry.js} +1 -1
- package/dist/ionic/{p-d51674c5.system.js → p-3c6f02cf.system.js} +1 -1
- package/dist/ionic/p-3d961d93.entry.js +4 -0
- package/dist/ionic/p-3e9ad72a.system.entry.js +4 -0
- package/dist/ionic/p-42a9f663.system.entry.js +4 -0
- package/dist/ionic/p-43a5edee.entry.js +4 -0
- package/dist/ionic/{p-8aa1d0b7.system.js → p-49543c9c.system.js} +1 -1
- package/dist/ionic/p-49aba878.js +4 -0
- package/dist/ionic/{p-88d5fbd3.js → p-4f777b5e.js} +1 -1
- package/dist/ionic/p-4fda5c35.entry.js +4 -0
- package/dist/ionic/{p-249633a4.entry.js → p-502780e4.entry.js} +1 -1
- package/dist/ionic/{p-436bd99a.entry.js → p-508a4c87.entry.js} +1 -1
- package/dist/ionic/p-5928fac9.system.entry.js +4 -0
- package/dist/ionic/{p-d5216086.entry.js → p-5b40d967.entry.js} +1 -1
- package/dist/ionic/p-5c2ae448.js +4 -0
- package/dist/ionic/p-5c580e89.entry.js +4 -0
- package/dist/ionic/p-5c6a04bd.entry.js +4 -0
- package/dist/ionic/p-5cb5f63d.system.entry.js +4 -0
- package/dist/ionic/{p-fd41bd8a.js → p-5d7e32ce.js} +1 -1
- package/dist/ionic/p-5e23bea8.system.entry.js +4 -0
- package/dist/ionic/{p-ed60d571.entry.js → p-5f169eba.entry.js} +1 -1
- package/dist/ionic/{p-13387c28.entry.js → p-601e17b4.entry.js} +1 -1
- package/dist/ionic/p-61ba2137.system.js +4 -0
- package/dist/ionic/p-64761c90.entry.js +4 -0
- package/dist/ionic/{p-c1c57873.system.entry.js → p-64856c3c.system.entry.js} +1 -1
- package/dist/ionic/p-6486e393.system.entry.js +4 -0
- package/dist/ionic/p-64db1331.entry.js +4 -0
- package/dist/ionic/{p-ef3a6b51.system.js → p-6525a8cd.system.js} +1 -1
- package/dist/ionic/p-657ccdd6.entry.js +4 -0
- package/dist/ionic/p-667e3e2d.entry.js +4 -0
- package/dist/ionic/p-6871553b.system.js +4 -0
- package/dist/ionic/p-68ba8e77.system.entry.js +4 -0
- package/dist/ionic/p-70e34286.system.entry.js +4 -0
- package/dist/ionic/p-7173ba59.system.entry.js +4 -0
- package/dist/ionic/p-717e2526.system.entry.js +4 -0
- package/dist/ionic/p-72fa96bf.system.js +5 -0
- package/dist/ionic/{p-87bb3735.system.js → p-7330c044.system.js} +1 -1
- package/dist/ionic/{p-ae638cb5.system.js → p-74deb358.system.js} +1 -1
- package/dist/ionic/p-7b1ed642.system.entry.js +4 -0
- package/dist/ionic/{p-b6f6f00e.entry.js → p-7ce40e7b.entry.js} +1 -1
- package/dist/ionic/p-86813176.system.entry.js +4 -0
- package/dist/ionic/p-8794fa00.system.entry.js +4 -0
- package/dist/ionic/p-88e9052d.entry.js +4 -0
- package/dist/ionic/{p-3c33dc30.system.js → p-89ca4c4b.system.js} +1 -1
- package/dist/ionic/p-8e651c29.entry.js +4 -0
- package/dist/ionic/p-9056778e.system.entry.js +4 -0
- package/dist/ionic/p-91cb3f9a.entry.js +4 -0
- package/dist/ionic/{p-29d03b3a.js → p-9393a49f.js} +1 -1
- package/dist/ionic/{p-3a75d7fd.js → p-94be3ad7.js} +1 -1
- package/dist/ionic/p-95d5a097.entry.js +4 -0
- package/dist/ionic/p-9cd7ba27.system.js +4 -0
- package/dist/ionic/p-9ec7208d.system.js +4 -0
- package/dist/ionic/p-a022b684.system.entry.js +4 -0
- package/dist/ionic/p-a0b28c69.system.entry.js +4 -0
- package/dist/ionic/p-a3df16b9.system.entry.js +4 -0
- package/dist/ionic/{p-4180a747.js → p-a3f572a7.js} +1 -1
- package/dist/ionic/{p-4a4bbcc5.system.js → p-a5951821.system.js} +2 -2
- package/dist/ionic/p-a6e465f5.entry.js +4 -0
- package/dist/ionic/{p-bb41c476.system.entry.js → p-a85d9047.system.entry.js} +1 -1
- package/dist/ionic/p-a8a56449.entry.js +4 -0
- package/dist/ionic/p-aaaa615c.system.entry.js +4 -0
- package/dist/ionic/p-abcedc15.system.entry.js +4 -0
- package/dist/ionic/{p-0bd51c34.system.js → p-abe101da.system.js} +1 -1
- package/dist/ionic/p-ae35294f.system.entry.js +4 -0
- package/dist/ionic/p-afd6d696.system.entry.js +4 -0
- package/dist/ionic/p-b06ac4a5.system.js +4 -0
- package/dist/ionic/p-b0ff8075.entry.js +4 -0
- package/dist/ionic/{p-66d633fb.js → p-b253ad7f.js} +1 -1
- package/dist/ionic/p-b2595011.system.entry.js +4 -0
- package/dist/ionic/p-b5839dc2.js +4 -0
- package/dist/ionic/p-b6279412.entry.js +4 -0
- package/dist/ionic/p-b8c685a7.system.js +4 -0
- package/dist/ionic/p-ba97a133.system.entry.js +4 -0
- package/dist/ionic/p-bd4787eb.entry.js +4 -0
- package/dist/ionic/p-bdca4784.js +4 -0
- package/dist/ionic/p-bf05cbc7.entry.js +4 -0
- package/dist/ionic/p-c11bab7e.entry.js +4 -0
- package/dist/ionic/p-c1797ec5.system.entry.js +4 -0
- package/dist/ionic/{p-36d187af.js → p-c2289cd1.js} +1 -1
- package/dist/ionic/p-c308f773.entry.js +4 -0
- package/dist/ionic/p-c39cc96d.system.entry.js +4 -0
- package/dist/ionic/p-c747f89b.system.entry.js +4 -0
- package/dist/ionic/{p-7798c78a.system.js → p-c80c7e90.system.js} +1 -1
- package/dist/ionic/{p-013013a3.js → p-c858f685.js} +1 -1
- package/dist/ionic/p-c995da88.system.js +4 -0
- package/dist/ionic/p-cb9e71e0.entry.js +4 -0
- package/dist/ionic/p-cd9a7017.system.entry.js +4 -0
- package/dist/ionic/p-cde3ac34.system.entry.js +4 -0
- package/dist/ionic/p-ceceac26.js +4 -0
- package/dist/ionic/{p-803ad1e3.entry.js → p-d39ab63d.entry.js} +1 -1
- package/dist/ionic/{p-43afd001.system.js → p-d4cadd34.system.js} +1 -1
- package/dist/ionic/p-db30f71b.entry.js +4 -0
- package/dist/ionic/p-dbcba5a2.js +4 -0
- package/dist/ionic/{p-1052ef2b.entry.js → p-dcb5711d.entry.js} +1 -1
- package/dist/ionic/{p-23ce95e8.js → p-de55ec45.js} +1 -1
- package/dist/ionic/p-df504a37.system.js +4 -0
- package/dist/ionic/p-e04b9647.system.entry.js +4 -0
- package/dist/ionic/{p-38f2c6bb.system.js → p-e2bb92ed.system.js} +1 -1
- package/dist/ionic/p-e81bf09e.system.entry.js +4 -0
- package/dist/ionic/p-e9f9388e.system.js +4 -0
- package/dist/ionic/p-ea25b4c8.system.entry.js +4 -0
- package/dist/ionic/p-eb07b88f.entry.js +4 -0
- package/dist/ionic/p-ed7a529f.js +5 -0
- package/dist/ionic/p-edcada2b.system.entry.js +4 -0
- package/dist/ionic/p-f0194418.system.entry.js +4 -0
- package/dist/ionic/p-f460c7ae.entry.js +4 -0
- package/dist/ionic/p-f53d074d.system.entry.js +4 -0
- package/dist/ionic/{p-18cae04f.js → p-f7dce541.js} +1 -1
- package/dist/ionic/p-f840d817.entry.js +4 -0
- package/dist/ionic/p-f8c96502.system.entry.js +4 -0
- package/dist/ionic/p-fb9f8495.system.entry.js +4 -0
- package/dist/ionic/p-fd2aa50c.js +4 -0
- package/dist/ionic/p-fd8ced99.system.js +4 -0
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +2 -2
- package/dist/types/components/action-sheet/action-sheet.d.ts +4 -0
- package/dist/types/components/alert/alert-interface.d.ts +2 -2
- package/dist/types/components/alert/alert.d.ts +4 -0
- package/dist/types/components/item/item.d.ts +1 -0
- package/dist/types/components/loading/loading.d.ts +4 -0
- package/dist/types/components/modal/modal.d.ts +4 -0
- package/dist/types/components/picker/picker.d.ts +4 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/toast/toast-interface.d.ts +2 -2
- package/dist/types/components/toast/toast.d.ts +4 -0
- package/dist/types/components.d.ts +7 -7
- package/dist/types/interface.d.ts +1 -1
- package/dist/types/utils/browser/index.d.ts +22 -1
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/hardware-back-button.d.ts +13 -0
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +794 -373
- package/package.json +9 -9
- package/dist/collection/components/accordion/test/accordion.e2e.js +0 -39
- package/dist/esm-es5/app-globals-52c78291.js +0 -4
- package/dist/esm-es5/hardware-back-button-b2bc76db.js +0 -4
- package/dist/esm-es5/helpers-ae653409.js +0 -4
- package/dist/esm-es5/index-27668d5b.js +0 -5
- package/dist/esm-es5/index-82eeb47f.js +0 -4
- package/dist/esm-es5/md.transition-7e56966a.js +0 -4
- package/dist/esm-es5/overlays-8414359b.js +0 -4
- package/dist/ionic/p-005e0ad0.js +0 -4
- package/dist/ionic/p-01438d78.entry.js +0 -4
- package/dist/ionic/p-02e530f5.system.js +0 -4
- package/dist/ionic/p-0abedd22.entry.js +0 -4
- package/dist/ionic/p-0d2b6901.entry.js +0 -4
- package/dist/ionic/p-127ff448.entry.js +0 -4
- package/dist/ionic/p-1a0bf247.system.entry.js +0 -4
- package/dist/ionic/p-1a5f0313.system.js +0 -4
- package/dist/ionic/p-1cca10d6.system.js +0 -4
- package/dist/ionic/p-1f7fc88d.entry.js +0 -4
- package/dist/ionic/p-1ffb40d0.system.entry.js +0 -4
- package/dist/ionic/p-23a9d086.js +0 -4
- package/dist/ionic/p-25553eba.system.entry.js +0 -4
- package/dist/ionic/p-2a496995.js +0 -4
- package/dist/ionic/p-3197dbf7.entry.js +0 -4
- package/dist/ionic/p-32ad210f.system.js +0 -4
- package/dist/ionic/p-35e1a80f.system.entry.js +0 -4
- package/dist/ionic/p-38c337e7.system.js +0 -4
- package/dist/ionic/p-3b83e483.system.entry.js +0 -4
- package/dist/ionic/p-3bcbbf43.system.entry.js +0 -4
- package/dist/ionic/p-3f0afc6f.entry.js +0 -4
- package/dist/ionic/p-40f68333.system.js +0 -4
- package/dist/ionic/p-41040a92.system.entry.js +0 -4
- package/dist/ionic/p-41aa2662.entry.js +0 -4
- package/dist/ionic/p-48f7e8cc.system.entry.js +0 -4
- package/dist/ionic/p-4b3623da.js +0 -4
- package/dist/ionic/p-4cd6a04c.system.entry.js +0 -4
- package/dist/ionic/p-525b6ac4.system.entry.js +0 -4
- package/dist/ionic/p-54c92c77.entry.js +0 -4
- package/dist/ionic/p-5a85d71d.entry.js +0 -4
- package/dist/ionic/p-5aecd304.system.entry.js +0 -4
- package/dist/ionic/p-5c2da581.system.entry.js +0 -4
- package/dist/ionic/p-619fafe3.system.entry.js +0 -4
- package/dist/ionic/p-61bf9f6f.system.entry.js +0 -4
- package/dist/ionic/p-677cb2f7.js +0 -4
- package/dist/ionic/p-67c3a2a8.system.js +0 -5
- package/dist/ionic/p-688a36c7.entry.js +0 -4
- package/dist/ionic/p-6a257379.entry.js +0 -4
- package/dist/ionic/p-6b9eee40.system.entry.js +0 -4
- package/dist/ionic/p-6ba863b1.system.entry.js +0 -4
- package/dist/ionic/p-6e165986.system.entry.js +0 -4
- package/dist/ionic/p-7510e462.entry.js +0 -4
- package/dist/ionic/p-76b6b42e.system.entry.js +0 -4
- package/dist/ionic/p-770f5b43.system.js +0 -4
- package/dist/ionic/p-7751def0.system.entry.js +0 -4
- package/dist/ionic/p-788942c8.system.entry.js +0 -4
- package/dist/ionic/p-790220fd.system.js +0 -4
- package/dist/ionic/p-7de774dd.entry.js +0 -4
- package/dist/ionic/p-8084e9cb.entry.js +0 -4
- package/dist/ionic/p-80ddd0c1.entry.js +0 -4
- package/dist/ionic/p-85e04029.entry.js +0 -4
- package/dist/ionic/p-87e10168.system.entry.js +0 -4
- package/dist/ionic/p-888db766.system.js +0 -4
- package/dist/ionic/p-88d99112.system.entry.js +0 -4
- package/dist/ionic/p-89c28901.system.entry.js +0 -4
- package/dist/ionic/p-928e945d.system.entry.js +0 -4
- package/dist/ionic/p-978c6799.system.entry.js +0 -4
- package/dist/ionic/p-9a0b9b64.entry.js +0 -4
- package/dist/ionic/p-a2d75455.entry.js +0 -4
- package/dist/ionic/p-a706cf11.system.entry.js +0 -4
- package/dist/ionic/p-a78d17e2.entry.js +0 -4
- package/dist/ionic/p-aca77953.entry.js +0 -4
- package/dist/ionic/p-b09c8228.entry.js +0 -4
- package/dist/ionic/p-b2205a7c.system.entry.js +0 -4
- package/dist/ionic/p-b43cf55f.entry.js +0 -4
- package/dist/ionic/p-bc59962f.system.entry.js +0 -4
- package/dist/ionic/p-be04fcd8.system.entry.js +0 -4
- package/dist/ionic/p-bf595ef8.system.entry.js +0 -4
- package/dist/ionic/p-bf80f9d1.entry.js +0 -4
- package/dist/ionic/p-c0f62b42.system.js +0 -4
- package/dist/ionic/p-c16d9f2c.system.entry.js +0 -4
- package/dist/ionic/p-c48a9ef3.system.entry.js +0 -4
- package/dist/ionic/p-c9219299.entry.js +0 -4
- package/dist/ionic/p-cae77add.system.entry.js +0 -4
- package/dist/ionic/p-cd6bb7f5.system.entry.js +0 -4
- package/dist/ionic/p-cdce5ba3.system.entry.js +0 -4
- package/dist/ionic/p-d6129c6e.js +0 -5
- package/dist/ionic/p-d6beb1c9.system.entry.js +0 -4
- package/dist/ionic/p-db798370.system.entry.js +0 -4
- package/dist/ionic/p-dc1d883c.system.entry.js +0 -4
- package/dist/ionic/p-dd9dff11.entry.js +0 -4
- package/dist/ionic/p-ddbb2d5b.system.js +0 -4
- package/dist/ionic/p-de6f8b28.system.js +0 -4
- package/dist/ionic/p-df62accd.entry.js +0 -4
- package/dist/ionic/p-e1e05489.system.entry.js +0 -4
- package/dist/ionic/p-e3ff3cde.system.entry.js +0 -4
- package/dist/ionic/p-e8294cc1.entry.js +0 -4
- package/dist/ionic/p-e87564bc.entry.js +0 -4
- package/dist/ionic/p-ea7f77e7.entry.js +0 -4
- package/dist/ionic/p-eb210b21.system.entry.js +0 -4
- package/dist/ionic/p-eb80ca40.entry.js +0 -4
- package/dist/ionic/p-eba17ff5.system.entry.js +0 -4
- package/dist/ionic/p-eef72e06.js +0 -4
- package/dist/ionic/p-efcc4b66.entry.js +0 -4
- package/dist/ionic/p-f08d8865.js +0 -4
- package/dist/ionic/p-f3478ed6.system.entry.js +0 -4
- package/dist/ionic/p-f4bf2448.entry.js +0 -4
- package/dist/ionic/p-f4e37ba7.entry.js +0 -4
- package/dist/ionic/p-f56d53bd.entry.js +0 -4
- package/dist/ionic/p-f8564a9b.system.entry.js +0 -4
- package/dist/ionic/p-f865bc9a.entry.js +0 -4
- package/dist/ionic/p-fd1a0431.js +0 -4
|
@@ -21,28 +21,28 @@ configs().forEach(({ title, screenshot, config }) => {
|
|
|
21
21
|
await page.setContent(`
|
|
22
22
|
<ion-datetime size="cover" presentation="date" prefer-wheel="true" value="2019-05-30" max="2022"></ion-datetime>
|
|
23
23
|
`, config);
|
|
24
|
-
await page.
|
|
24
|
+
await page.locator('.datetime-ready').waitFor();
|
|
25
25
|
await expect(page).toHaveScreenshot(screenshot(`datetime-wheel-date-diff`));
|
|
26
26
|
});
|
|
27
27
|
test('should not have visual regressions for date-time wheel', async ({ page }) => {
|
|
28
28
|
await page.setContent(`
|
|
29
29
|
<ion-datetime size="cover" presentation="date-time" prefer-wheel="true" value="2019-05-30T16:30:00" max="2022"></ion-datetime>
|
|
30
30
|
`, config);
|
|
31
|
-
await page.
|
|
31
|
+
await page.locator('.datetime-ready').waitFor();
|
|
32
32
|
await expect(page).toHaveScreenshot(screenshot(`datetime-wheel-date-time-diff`));
|
|
33
33
|
});
|
|
34
34
|
test('should not have visual regressions for time-date wheel', async ({ page }) => {
|
|
35
35
|
await page.setContent(`
|
|
36
36
|
<ion-datetime size="cover" presentation="time-date" prefer-wheel="true" value="2019-05-30T16:30:00" max="2022"></ion-datetime>
|
|
37
37
|
`, config);
|
|
38
|
-
await page.
|
|
38
|
+
await page.locator('.datetime-ready').waitFor();
|
|
39
39
|
await expect(page).toHaveScreenshot(screenshot(`datetime-wheel-time-date-diff`));
|
|
40
40
|
});
|
|
41
41
|
test('should render a condense header when specified', async ({ page }) => {
|
|
42
42
|
await page.setContent(`
|
|
43
43
|
<ion-datetime size="cover" presentation="time-date" prefer-wheel="true" value="2019-05-30T16:30:00" max="2022"><div slot="title">My Custom Title</div></ion-datetime>
|
|
44
44
|
`, config);
|
|
45
|
-
await page.
|
|
45
|
+
await page.locator('.datetime-ready').waitFor();
|
|
46
46
|
const datetime = page.locator('ion-datetime');
|
|
47
47
|
await expect(datetime).toHaveScreenshot(screenshot(`datetime-wheel-header-diff`));
|
|
48
48
|
});
|
|
@@ -59,7 +59,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
59
59
|
await page.setContent(`
|
|
60
60
|
<ion-datetime presentation="date" prefer-wheel="true" min="2019-05-05" max="2023-10-01" value="2019-05-30"></ion-datetime>
|
|
61
61
|
`, config);
|
|
62
|
-
await page.
|
|
62
|
+
await page.locator('.datetime-ready').waitFor();
|
|
63
63
|
const dayValues = page.locator('ion-datetime .day-column .picker-item[data-value]');
|
|
64
64
|
expect(await dayValues.count()).toEqual(27);
|
|
65
65
|
});
|
|
@@ -67,7 +67,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
67
67
|
await page.setContent(`
|
|
68
68
|
<ion-datetime presentation="date" prefer-wheel="true" min="2019-05-05" max="2023-10-01" value="2023-10-01"></ion-datetime>
|
|
69
69
|
`, config);
|
|
70
|
-
await page.
|
|
70
|
+
await page.locator('.datetime-ready').waitFor();
|
|
71
71
|
const dayValues = page.locator('ion-datetime .day-column .picker-item[data-value]');
|
|
72
72
|
expect(await dayValues.count()).toEqual(1);
|
|
73
73
|
});
|
|
@@ -85,7 +85,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
85
85
|
}
|
|
86
86
|
</script>
|
|
87
87
|
`, config);
|
|
88
|
-
await page.
|
|
88
|
+
await page.locator('.datetime-ready').waitFor();
|
|
89
89
|
const disabledMonths = page.locator('.month-column .picker-item[disabled]');
|
|
90
90
|
const disabledYears = page.locator('.year-column .picker-item[disabled]');
|
|
91
91
|
const disabledDays = page.locator('.day-column .picker-item[disabled]');
|
|
@@ -104,7 +104,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
104
104
|
year-values="2022,2020,2019"
|
|
105
105
|
></ion-datetime>
|
|
106
106
|
`, config);
|
|
107
|
-
await page.
|
|
107
|
+
await page.locator('.datetime-ready').waitFor();
|
|
108
108
|
const monthValues = page.locator('.month-column .picker-item:not(.picker-item-empty)');
|
|
109
109
|
const yearValues = page.locator('.year-column .picker-item:not(.picker-item-empty)');
|
|
110
110
|
const dayValues = page.locator('.day-column .picker-item:not(.picker-item-empty)');
|
|
@@ -132,7 +132,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
132
132
|
}
|
|
133
133
|
</script>
|
|
134
134
|
`, config);
|
|
135
|
-
await page.
|
|
135
|
+
await page.locator('.datetime-ready').waitFor();
|
|
136
136
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
137
137
|
const monthValues = page.locator('.month-column .picker-item:not(.picker-item-empty)');
|
|
138
138
|
// Change month value
|
|
@@ -159,7 +159,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
159
159
|
}
|
|
160
160
|
</script>
|
|
161
161
|
`, config);
|
|
162
|
-
await page.
|
|
162
|
+
await page.locator('.datetime-ready').waitFor();
|
|
163
163
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
164
164
|
const dayValues = page.locator('.day-column .picker-item:not(.picker-item-empty)');
|
|
165
165
|
// Change day value
|
|
@@ -173,7 +173,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
173
173
|
prefer-wheel="true"
|
|
174
174
|
></ion-datetime>
|
|
175
175
|
`, config);
|
|
176
|
-
await page.
|
|
176
|
+
await page.locator('.datetime-ready').waitFor();
|
|
177
177
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
178
178
|
const yearValues = page.locator('.year-column .picker-item:not(.picker-item-empty)');
|
|
179
179
|
/**
|
|
@@ -188,7 +188,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
188
188
|
await page.setContent(`
|
|
189
189
|
<ion-datetime presentation="date" prefer-wheel="true" min="2019-05-05" max="2023-10-01" value="2019-05-30"></ion-datetime>
|
|
190
190
|
`, config);
|
|
191
|
-
await page.
|
|
191
|
+
await page.locator('.datetime-ready').waitFor();
|
|
192
192
|
const datetime = page.locator('ion-datetime');
|
|
193
193
|
await datetime.evaluate((el) => (el.value = '2021-05-25T12:40:00.000Z'));
|
|
194
194
|
await page.waitForChanges();
|
|
@@ -212,7 +212,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
212
212
|
value="2022-01-01"
|
|
213
213
|
></ion-datetime>
|
|
214
214
|
`, config);
|
|
215
|
-
await page.
|
|
215
|
+
await page.locator('.datetime-ready').waitFor();
|
|
216
216
|
const monthValues = page.locator('.month-column .picker-item:not(.picker-item-empty)');
|
|
217
217
|
const dayValues = page.locator('.day-column .picker-item:not(.picker-item-empty)');
|
|
218
218
|
await expect(monthValues).toHaveText(['1月', '2月', '3月']);
|
|
@@ -227,7 +227,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
227
227
|
value="2022-01-01"
|
|
228
228
|
></ion-datetime>
|
|
229
229
|
`, config);
|
|
230
|
-
await page.
|
|
230
|
+
await page.locator('.datetime-ready').waitFor();
|
|
231
231
|
const columns = page.locator('ion-picker-column-internal');
|
|
232
232
|
await expect(columns.nth(0)).toHaveClass(/month-column/);
|
|
233
233
|
await expect(columns.nth(1)).toHaveClass(/day-column/);
|
|
@@ -242,7 +242,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
242
242
|
value="2022-01-01"
|
|
243
243
|
></ion-datetime>
|
|
244
244
|
`, config);
|
|
245
|
-
await page.
|
|
245
|
+
await page.locator('.datetime-ready').waitFor();
|
|
246
246
|
const columns = page.locator('ion-picker-column-internal');
|
|
247
247
|
await expect(columns.nth(0)).toHaveClass(/day-column/);
|
|
248
248
|
await expect(columns.nth(1)).toHaveClass(/month-column/);
|
|
@@ -255,7 +255,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
255
255
|
await page.setContent(`
|
|
256
256
|
<ion-datetime presentation="date-time" prefer-wheel="true" min="2019-05-05" value="2019-05-10T16:30:00"></ion-datetime>
|
|
257
257
|
`, config);
|
|
258
|
-
await page.
|
|
258
|
+
await page.locator('.datetime-ready').waitFor();
|
|
259
259
|
const dayValues = page.locator('ion-datetime .date-column .picker-item[data-value]');
|
|
260
260
|
expect(await dayValues.count()).toEqual(57);
|
|
261
261
|
});
|
|
@@ -263,7 +263,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
263
263
|
await page.setContent(`
|
|
264
264
|
<ion-datetime presentation="date-time" prefer-wheel="true" max="2023-06-10" value="2023-06-05T16:30:00"></ion-datetime>
|
|
265
265
|
`, config);
|
|
266
|
-
await page.
|
|
266
|
+
await page.locator('.datetime-ready').waitFor();
|
|
267
267
|
const dayValues = page.locator('ion-datetime .date-column .picker-item[data-value]');
|
|
268
268
|
expect(await dayValues.count()).toEqual(41);
|
|
269
269
|
});
|
|
@@ -281,7 +281,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
281
281
|
}
|
|
282
282
|
</script>
|
|
283
283
|
`, config);
|
|
284
|
-
await page.
|
|
284
|
+
await page.locator('.datetime-ready').waitFor();
|
|
285
285
|
const disabledDates = page.locator('.date-column .picker-item[disabled]');
|
|
286
286
|
expect(await disabledDates.count()).toBe(44);
|
|
287
287
|
});
|
|
@@ -296,7 +296,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
296
296
|
year-values="2022,2020,2019"
|
|
297
297
|
></ion-datetime>
|
|
298
298
|
`, config);
|
|
299
|
-
await page.
|
|
299
|
+
await page.locator('.datetime-ready').waitFor();
|
|
300
300
|
const dateValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
301
301
|
expect(await dateValues.count()).toBe(5);
|
|
302
302
|
});
|
|
@@ -311,7 +311,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
311
311
|
value="2022-02-01"
|
|
312
312
|
></ion-datetime>
|
|
313
313
|
`, config);
|
|
314
|
-
await page.
|
|
314
|
+
await page.locator('.datetime-ready').waitFor();
|
|
315
315
|
const dateValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
316
316
|
await expect(dateValues).toHaveText(['2月1日(火)', '2月2日(水)', '2月3日(木)']);
|
|
317
317
|
});
|
|
@@ -325,7 +325,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
325
325
|
max="2023-01-01"
|
|
326
326
|
></ion-datetime>
|
|
327
327
|
`, config);
|
|
328
|
-
await page.
|
|
328
|
+
await page.locator('.datetime-ready').waitFor();
|
|
329
329
|
const dateColumn = page.locator('.date-column');
|
|
330
330
|
const dateValues = dateColumn.locator('.picker-item:not(.picker-item-empty)');
|
|
331
331
|
expect(await dateValues.count()).toBe(90);
|
|
@@ -347,7 +347,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
347
347
|
min="2010-01-01"
|
|
348
348
|
></ion-datetime>
|
|
349
349
|
`, config);
|
|
350
|
-
await page.
|
|
350
|
+
await page.locator('.datetime-ready').waitFor();
|
|
351
351
|
const dayValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
352
352
|
expect(await dayValues.count()).toBe(92);
|
|
353
353
|
});
|
|
@@ -361,7 +361,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
361
361
|
min="2022-05-01"
|
|
362
362
|
></ion-datetime>
|
|
363
363
|
`, config);
|
|
364
|
-
await page.
|
|
364
|
+
await page.locator('.datetime-ready').waitFor();
|
|
365
365
|
const dayValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
366
366
|
expect(await dayValues.count()).toBe(15);
|
|
367
367
|
});
|
|
@@ -372,7 +372,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
372
372
|
prefer-wheel="true"
|
|
373
373
|
></ion-datetime>
|
|
374
374
|
`, config);
|
|
375
|
-
await page.
|
|
375
|
+
await page.locator('.datetime-ready').waitFor();
|
|
376
376
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
377
377
|
const dayValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
378
378
|
// Change day/month value
|
|
@@ -385,7 +385,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
385
385
|
await page.setContent(`
|
|
386
386
|
<ion-datetime presentation="time-date" prefer-wheel="true" min="2019-05-05" value="2019-05-10T16:30:00"></ion-datetime>
|
|
387
387
|
`, config);
|
|
388
|
-
await page.
|
|
388
|
+
await page.locator('.datetime-ready').waitFor();
|
|
389
389
|
const dayValues = page.locator('ion-datetime .date-column .picker-item[data-value]');
|
|
390
390
|
expect(await dayValues.count()).toEqual(57);
|
|
391
391
|
});
|
|
@@ -393,7 +393,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
393
393
|
await page.setContent(`
|
|
394
394
|
<ion-datetime presentation="time-date" prefer-wheel="true" max="2023-06-10" value="2023-06-05T16:30:00"></ion-datetime>
|
|
395
395
|
`, config);
|
|
396
|
-
await page.
|
|
396
|
+
await page.locator('.datetime-ready').waitFor();
|
|
397
397
|
const dayValues = page.locator('ion-datetime .date-column .picker-item[data-value]');
|
|
398
398
|
expect(await dayValues.count()).toEqual(41);
|
|
399
399
|
});
|
|
@@ -411,7 +411,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
411
411
|
}
|
|
412
412
|
</script>
|
|
413
413
|
`, config);
|
|
414
|
-
await page.
|
|
414
|
+
await page.locator('.datetime-ready').waitFor();
|
|
415
415
|
const disabledDates = page.locator('.date-column .picker-item[disabled]');
|
|
416
416
|
expect(await disabledDates.count()).toBe(44);
|
|
417
417
|
});
|
|
@@ -426,7 +426,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
426
426
|
year-values="2022,2020,2019"
|
|
427
427
|
></ion-datetime>
|
|
428
428
|
`, config);
|
|
429
|
-
await page.
|
|
429
|
+
await page.locator('.datetime-ready').waitFor();
|
|
430
430
|
const dateValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
431
431
|
expect(await dateValues.count()).toBe(5);
|
|
432
432
|
});
|
|
@@ -441,7 +441,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
441
441
|
value="2022-02-01"
|
|
442
442
|
></ion-datetime>
|
|
443
443
|
`, config);
|
|
444
|
-
await page.
|
|
444
|
+
await page.locator('.datetime-ready').waitFor();
|
|
445
445
|
const dateValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
446
446
|
await expect(dateValues).toHaveText(['2月1日(火)', '2月2日(水)', '2月3日(木)']);
|
|
447
447
|
});
|
|
@@ -455,7 +455,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
455
455
|
max="2023-01-01"
|
|
456
456
|
></ion-datetime>
|
|
457
457
|
`, config);
|
|
458
|
-
await page.
|
|
458
|
+
await page.locator('.datetime-ready').waitFor();
|
|
459
459
|
const dateColumn = page.locator('.date-column');
|
|
460
460
|
const dateValues = dateColumn.locator('.picker-item:not(.picker-item-empty)');
|
|
461
461
|
expect(await dateValues.count()).toBe(90);
|
|
@@ -477,7 +477,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
477
477
|
min="2010-01-01"
|
|
478
478
|
></ion-datetime>
|
|
479
479
|
`, config);
|
|
480
|
-
await page.
|
|
480
|
+
await page.locator('.datetime-ready').waitFor();
|
|
481
481
|
const dayValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
482
482
|
expect(await dayValues.count()).toBe(92);
|
|
483
483
|
});
|
|
@@ -491,7 +491,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
491
491
|
min="2022-05-01"
|
|
492
492
|
></ion-datetime>
|
|
493
493
|
`, config);
|
|
494
|
-
await page.
|
|
494
|
+
await page.locator('.datetime-ready').waitFor();
|
|
495
495
|
const dayValues = page.locator('.date-column .picker-item:not(.picker-item-empty)');
|
|
496
496
|
expect(await dayValues.count()).toBe(15);
|
|
497
497
|
});
|
|
@@ -85,7 +85,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
85
85
|
await page.setContent(`
|
|
86
86
|
<ion-datetime presentation="date"></ion-datetime>
|
|
87
87
|
`, config);
|
|
88
|
-
await page.
|
|
88
|
+
await page.locator('.datetime-ready').waitFor();
|
|
89
89
|
const datetime = page.locator('ion-datetime');
|
|
90
90
|
const monthYearButton = page.locator('ion-datetime .calendar-month-year');
|
|
91
91
|
await monthYearButton.click();
|
|
@@ -136,7 +136,7 @@ class DatetimePresentationFixture {
|
|
|
136
136
|
await this.page.setContent(`
|
|
137
137
|
<ion-datetime presentation="${presentation}" value="2010-03-10T13:00:00"></ion-datetime>
|
|
138
138
|
`, config);
|
|
139
|
-
await this.page.
|
|
139
|
+
await this.page.locator('.datetime-ready').waitFor();
|
|
140
140
|
this.datetime = this.page.locator('ion-datetime');
|
|
141
141
|
}
|
|
142
142
|
async screenshot(name, screenshotFn) {
|
|
@@ -151,7 +151,7 @@ class TimePickerFixture {
|
|
|
151
151
|
await this.page.setContent(`
|
|
152
152
|
<ion-datetime presentation="time" value="${value}"></ion-datetime>
|
|
153
153
|
`, config);
|
|
154
|
-
await this.page.
|
|
154
|
+
await this.page.locator('.datetime-ready').waitFor();
|
|
155
155
|
this.timePicker = this.page.locator('ion-datetime');
|
|
156
156
|
}
|
|
157
157
|
async setValue(value) {
|
|
@@ -20,7 +20,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
20
20
|
await page.setContent(`
|
|
21
21
|
<ion-datetime value="2022-02-28" readonly></ion-datetime>
|
|
22
22
|
`, config);
|
|
23
|
-
await page.
|
|
23
|
+
await page.locator('.datetime-ready').waitFor();
|
|
24
24
|
const febFirstButton = page.locator(`.calendar-day[data-day='1'][data-month='2']`);
|
|
25
25
|
await expect(febFirstButton).toBeDisabled();
|
|
26
26
|
});
|
|
@@ -29,7 +29,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
29
29
|
<ion-datetime value="2022-02-22T16:30:00" readonly></ion-datetime>
|
|
30
30
|
`, config);
|
|
31
31
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
32
|
-
await page.
|
|
32
|
+
await page.locator('.datetime-ready').waitFor();
|
|
33
33
|
const calendarMonthYear = page.locator('ion-datetime .calendar-month-year');
|
|
34
34
|
await expect(calendarMonthYear).toHaveText('February 2022');
|
|
35
35
|
await calendarMonthYear.click();
|
|
@@ -44,7 +44,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
44
44
|
<ion-datetime value="2022-02-22T16:30:00" readonly></ion-datetime>
|
|
45
45
|
`, config);
|
|
46
46
|
const tabKey = browserName === 'webkit' ? 'Alt+Tab' : 'Tab';
|
|
47
|
-
await page.
|
|
47
|
+
await page.locator('.datetime-ready').waitFor();
|
|
48
48
|
const calendarMonthYear = page.locator('ion-datetime .calendar-month-year');
|
|
49
49
|
const monthYearButton = page.locator('.calendar-month-year ion-item');
|
|
50
50
|
await expect(calendarMonthYear).toHaveText('February 2022');
|
|
@@ -105,7 +105,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
105
105
|
|
|
106
106
|
<ion-datetime value="2022-02-22T16:30:00" show-default-buttons="true" show-clear-button="true" readonly></ion-datetime>
|
|
107
107
|
`, config);
|
|
108
|
-
await page.
|
|
108
|
+
await page.locator('.datetime-ready').waitFor();
|
|
109
109
|
const clearButton = page.locator('#clear-button button');
|
|
110
110
|
await expect(clearButton).toBeDisabled();
|
|
111
111
|
});
|
|
@@ -7,7 +7,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
7
7
|
test.describe(title('datetime: set-value'), () => {
|
|
8
8
|
test('should update the active date when value is initially set', async ({ page }) => {
|
|
9
9
|
await page.goto('/src/components/datetime/test/set-value', config);
|
|
10
|
-
await page.
|
|
10
|
+
await page.locator('.datetime-ready').waitFor();
|
|
11
11
|
const datetime = page.locator('ion-datetime');
|
|
12
12
|
await datetime.evaluate((el) => (el.value = '2021-11-25T12:40:00.000Z'));
|
|
13
13
|
await page.waitForChanges();
|
|
@@ -16,7 +16,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
16
16
|
});
|
|
17
17
|
test('should update the active time when value is initially set', async ({ page }) => {
|
|
18
18
|
await page.goto('/src/components/datetime/test/set-value', config);
|
|
19
|
-
await page.
|
|
19
|
+
await page.locator('.datetime-ready').waitFor();
|
|
20
20
|
const datetime = page.locator('ion-datetime');
|
|
21
21
|
await datetime.evaluate((el) => (el.value = '2021-11-25T12:40:00.000Z'));
|
|
22
22
|
await page.waitForChanges();
|
|
@@ -27,7 +27,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
27
27
|
await page.setContent(`
|
|
28
28
|
<ion-datetime presentation="date" locale="en-US"></ion-datetime>
|
|
29
29
|
`, config);
|
|
30
|
-
await page.
|
|
30
|
+
await page.locator('.datetime-ready').waitFor();
|
|
31
31
|
const datetime = page.locator('ion-datetime');
|
|
32
32
|
const activeDayButton = page.locator('.calendar-day-active');
|
|
33
33
|
await datetime.evaluate((el) => (el.value = '2021-10-05'));
|
|
@@ -39,7 +39,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
39
39
|
});
|
|
40
40
|
test('should scroll to new month when value is initially set and then updated', async ({ page }) => {
|
|
41
41
|
await page.goto('/src/components/datetime/test/set-value', config);
|
|
42
|
-
await page.
|
|
42
|
+
await page.locator('.datetime-ready').waitFor();
|
|
43
43
|
const datetime = page.locator('ion-datetime');
|
|
44
44
|
await datetime.evaluate((el) => (el.value = '2021-05-25T12:40:00.000Z'));
|
|
45
45
|
await page.waitForChanges();
|
|
@@ -9,7 +9,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
9
9
|
await page.setContent(`
|
|
10
10
|
<ion-datetime></ion-datetime>
|
|
11
11
|
`, config);
|
|
12
|
-
await page.
|
|
12
|
+
await page.locator('.datetime-ready').waitFor();
|
|
13
13
|
const timeLabel = page.locator('ion-datetime .time-header');
|
|
14
14
|
await expect(timeLabel).toHaveText('Time');
|
|
15
15
|
});
|
|
@@ -17,7 +17,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
17
17
|
await page.setContent(`
|
|
18
18
|
<ion-datetime show-default-time-label="false"></ion-datetime>
|
|
19
19
|
`, config);
|
|
20
|
-
await page.
|
|
20
|
+
await page.locator('.datetime-ready').waitFor();
|
|
21
21
|
const timeLabel = page.locator('ion-datetime .time-header');
|
|
22
22
|
await expect(timeLabel).toHaveText('');
|
|
23
23
|
});
|
|
@@ -9,7 +9,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
9
9
|
await page.setContent(`
|
|
10
10
|
<ion-datetime locale="en-US" presentation="date" day-values="1,2,3"></ion-datetime>
|
|
11
11
|
`, config);
|
|
12
|
-
await page.
|
|
12
|
+
await page.locator('.datetime-ready').waitFor();
|
|
13
13
|
const items = page.locator('.calendar-day:not([disabled])');
|
|
14
14
|
/**
|
|
15
15
|
* Datetime calendar grid renders 3 months by default,
|
|
@@ -68,7 +68,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
68
68
|
}
|
|
69
69
|
</script>
|
|
70
70
|
`, config);
|
|
71
|
-
await page.
|
|
71
|
+
await page.locator('.datetime-ready').waitFor();
|
|
72
72
|
const minuteItems = page.locator('ion-picker-column-internal:nth-of-type(2) .picker-item:not(.picker-item-empty)');
|
|
73
73
|
await expect(minuteItems).toHaveText(['00', '15', '30', '45']);
|
|
74
74
|
await expect(minuteItems.nth(1)).toHaveClass(/picker-item-active/);
|
|
@@ -105,7 +105,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
105
105
|
}
|
|
106
106
|
</script>
|
|
107
107
|
`, config);
|
|
108
|
-
await page.
|
|
108
|
+
await page.locator('.datetime-ready').waitFor();
|
|
109
109
|
const monthItems = page.locator('.month-column .picker-item:not(.picker-item-empty)');
|
|
110
110
|
await expect(monthItems).toHaveText(['January']);
|
|
111
111
|
await expect(monthItems.nth(0)).toHaveClass(/picker-item-active/);
|
|
@@ -132,7 +132,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
132
132
|
}
|
|
133
133
|
</script>
|
|
134
134
|
`, config);
|
|
135
|
-
await page.
|
|
135
|
+
await page.locator('.datetime-ready').waitFor();
|
|
136
136
|
const todayButton = page.locator('.calendar-day[data-day="10"][data-month="10"][data-year="2022"]');
|
|
137
137
|
await expect(todayButton).toHaveClass(/calendar-day-today/);
|
|
138
138
|
});
|
|
@@ -336,7 +336,7 @@ export class DatetimeButton {
|
|
|
336
336
|
render() {
|
|
337
337
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
338
338
|
const mode = getIonMode(this);
|
|
339
|
-
return (h(Host, { class: createColorClasses(color, {
|
|
339
|
+
return (h(Host, { key: '36fe34d4225940611d74bdef5b954d54749d2dca', class: createColorClasses(color, {
|
|
340
340
|
[mode]: true,
|
|
341
341
|
[`${selectedButton}-active`]: datetimeActive,
|
|
342
342
|
['datetime-button-disabled']: disabled,
|
|
@@ -14,7 +14,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
14
14
|
<ion-datetime-button datetime="datetime"></ion-datetime-button>
|
|
15
15
|
<ion-datetime id="datetime" presentation="date-time"></ion-datetime>
|
|
16
16
|
`, config);
|
|
17
|
-
await page.
|
|
17
|
+
await page.locator('.datetime-ready').waitFor();
|
|
18
18
|
});
|
|
19
19
|
test('should switch to a date-only view when the date button is clicked', async ({ page }) => {
|
|
20
20
|
const datetime = page.locator('ion-datetime');
|
|
@@ -37,7 +37,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
37
37
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
38
38
|
<ion-datetime id="datetime" value="2022-01-01T06:30:00" presentation="date-time"></ion-datetime>
|
|
39
39
|
`, config);
|
|
40
|
-
await page.
|
|
40
|
+
await page.locator('.datetime-ready').waitFor();
|
|
41
41
|
await expect(page.locator('#date-button')).toContainText('Jan 1, 2022');
|
|
42
42
|
await expect(page.locator('#time-button')).toContainText('6:30 AM');
|
|
43
43
|
});
|
|
@@ -46,7 +46,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
46
46
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
47
47
|
<ion-datetime id="datetime" value="2022-01-01T06:30:00" presentation="month-year"></ion-datetime>
|
|
48
48
|
`, config);
|
|
49
|
-
await page.
|
|
49
|
+
await page.locator('.datetime-ready').waitFor();
|
|
50
50
|
await expect(page.locator('#date-button')).toContainText('January 2022');
|
|
51
51
|
await expect(page.locator('#time-button')).toBeHidden();
|
|
52
52
|
});
|
|
@@ -55,7 +55,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
55
55
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
56
56
|
<ion-datetime id="datetime" value="2022-01-01T06:30:00" presentation="year"></ion-datetime>
|
|
57
57
|
`, config);
|
|
58
|
-
await page.
|
|
58
|
+
await page.locator('.datetime-ready').waitFor();
|
|
59
59
|
await expect(page.locator('#date-button')).toContainText('2022');
|
|
60
60
|
await expect(page.locator('#time-button')).toBeHidden();
|
|
61
61
|
});
|
|
@@ -64,7 +64,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
64
64
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
65
65
|
<ion-datetime id="datetime" value="2022-01-01T06:30:00" presentation="month"></ion-datetime>
|
|
66
66
|
`, config);
|
|
67
|
-
await page.
|
|
67
|
+
await page.locator('.datetime-ready').waitFor();
|
|
68
68
|
await expect(page.locator('#date-button')).toContainText('January');
|
|
69
69
|
await expect(page.locator('#time-button')).toBeHidden();
|
|
70
70
|
});
|
|
@@ -73,7 +73,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
73
73
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
74
74
|
<ion-datetime id="datetime" value="2022-01-01T06:30:00" presentation="time"></ion-datetime>
|
|
75
75
|
`, config);
|
|
76
|
-
await page.
|
|
76
|
+
await page.locator('.datetime-ready').waitFor();
|
|
77
77
|
await expect(page.locator('#time-button')).toContainText('6:30 AM');
|
|
78
78
|
await expect(page.locator('#date-button')).toBeHidden();
|
|
79
79
|
});
|
|
@@ -82,7 +82,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
82
82
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
83
83
|
<ion-datetime id="datetime" value="2022-01-01T06:30:00" presentation="date"></ion-datetime>
|
|
84
84
|
`, config);
|
|
85
|
-
await page.
|
|
85
|
+
await page.locator('.datetime-ready').waitFor();
|
|
86
86
|
const datetime = page.locator('ion-datetime');
|
|
87
87
|
const dateTarget = page.locator('#date-button');
|
|
88
88
|
await expect(dateTarget).toContainText('Jan 1, 2022');
|
|
@@ -99,7 +99,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
99
99
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
100
100
|
<ion-datetime id="datetime" value="2022-01" presentation="month-year"></ion-datetime>
|
|
101
101
|
`, config);
|
|
102
|
-
await page.
|
|
102
|
+
await page.locator('.datetime-ready').waitFor();
|
|
103
103
|
await expect(page.locator('#date-button')).toContainText('January 2022');
|
|
104
104
|
await expect(page.locator('#time-button')).toBeHidden();
|
|
105
105
|
});
|
|
@@ -112,7 +112,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
112
112
|
<ion-datetime-button locale="en-US" datetime="datetime"></ion-datetime-button>
|
|
113
113
|
<ion-datetime id="datetime" value="2022" presentation="year"></ion-datetime>
|
|
114
114
|
`, config);
|
|
115
|
-
await page.
|
|
115
|
+
await page.locator('.datetime-ready').waitFor();
|
|
116
116
|
await expect(page.locator('#date-button')).toContainText('2022');
|
|
117
117
|
await expect(page.locator('#time-button')).toBeHidden();
|
|
118
118
|
});
|
|
@@ -123,7 +123,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
123
123
|
<ion-datetime-button datetime="datetime"></ion-datetime-button>
|
|
124
124
|
<ion-datetime locale="es-ES" id="datetime" value="2022-01-01T06:30:00" presentation="date-time"></ion-datetime>
|
|
125
125
|
`, config);
|
|
126
|
-
await page.
|
|
126
|
+
await page.locator('.datetime-ready').waitFor();
|
|
127
127
|
/**
|
|
128
128
|
* The entire text reads 1 ene 2022, but some browsers will add
|
|
129
129
|
* a period after "ene". Just checking ene allows us to verify the
|
|
@@ -137,7 +137,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
137
137
|
<ion-datetime-button datetime="datetime"></ion-datetime-button>
|
|
138
138
|
<ion-datetime hour-cycle="h23" locale="en-US" id="datetime" value="2022-01-01T16:30:00" presentation="date-time"></ion-datetime>
|
|
139
139
|
`, config);
|
|
140
|
-
await page.
|
|
140
|
+
await page.locator('.datetime-ready').waitFor();
|
|
141
141
|
await expect(page.locator('#time-button')).toContainText('16:30');
|
|
142
142
|
});
|
|
143
143
|
test('should ignore the timezone when selecting a date', async ({ page }) => {
|
|
@@ -145,7 +145,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
145
145
|
<ion-datetime-button datetime="datetime"></ion-datetime-button>
|
|
146
146
|
<ion-datetime locale="en-US" id="datetime" value="2022-01-02T06:30:00" presentation="date-time"></ion-datetime>
|
|
147
147
|
`, config);
|
|
148
|
-
await page.
|
|
148
|
+
await page.locator('.datetime-ready').waitFor();
|
|
149
149
|
const timeTarget = page.locator('#time-button');
|
|
150
150
|
await expect(timeTarget).toContainText('6:30');
|
|
151
151
|
const firstOfMonth = page.locator('ion-datetime .calendar-day[data-month="1"][data-day="1"]');
|
|
@@ -160,7 +160,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
160
160
|
<ion-datetime-button datetime="datetime"></ion-datetime-button>
|
|
161
161
|
<ion-datetime locale="en-US" id="datetime" value="2022-01-01T06:30:00" presentation="date-time" prefer-wheel="true"></ion-datetime>
|
|
162
162
|
`, config);
|
|
163
|
-
await page.
|
|
163
|
+
await page.locator('.datetime-ready').waitFor();
|
|
164
164
|
await expect(page.locator('#date-button')).toContainText('Jan 1, 2022 6:30 AM');
|
|
165
165
|
await expect(page.locator('#time-button')).not.toBeVisible();
|
|
166
166
|
});
|
|
@@ -169,7 +169,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
169
169
|
<ion-datetime-button datetime="datetime"></ion-datetime-button>
|
|
170
170
|
<ion-datetime locale="en-US" id="datetime" value="2022-01-01T06:30:00" presentation="time-date" prefer-wheel="true"></ion-datetime>
|
|
171
171
|
`, config);
|
|
172
|
-
await page.
|
|
172
|
+
await page.locator('.datetime-ready').waitFor();
|
|
173
173
|
await expect(page.locator('#date-button')).toContainText('Jan 1, 2022 6:30 AM');
|
|
174
174
|
await expect(page.locator('#time-button')).not.toBeVisible();
|
|
175
175
|
});
|
|
@@ -10,7 +10,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
|
|
|
10
10
|
<ion-datetime-button datetime="datetime" disabled="true"></ion-datetime-button>
|
|
11
11
|
<ion-datetime id="datetime" presentation="date-time"></ion-datetime>
|
|
12
12
|
`, config);
|
|
13
|
-
await page.
|
|
13
|
+
await page.locator('.datetime-ready').waitFor();
|
|
14
14
|
await expect(page.locator('#date-button')).toBeDisabled();
|
|
15
15
|
await expect(page.locator('#time-button')).toBeDisabled();
|
|
16
16
|
});
|
|
@@ -19,7 +19,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
|
|
|
19
19
|
<ion-datetime-button datetime="datetime" disabled="true"></ion-datetime-button>
|
|
20
20
|
<ion-datetime id="datetime" presentation="date-time" value="2022-01-01T16:30:00"></ion-datetime>
|
|
21
21
|
`, config);
|
|
22
|
-
await page.
|
|
22
|
+
await page.locator('.datetime-ready').waitFor();
|
|
23
23
|
const datetimeButton = page.locator('ion-datetime-button');
|
|
24
24
|
await expect(datetimeButton).toHaveScreenshot(screenshot(`datetime-button-disabled`));
|
|
25
25
|
});
|