voyager-ionic-core 7.6.5 → 7.7.0
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 +7 -5
- package/components/alert.js +7 -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 +6 -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 +8 -7
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +3 -2
- package/components/ion-picker.js +6 -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 +6 -4
- package/components/ion-toggle.js +4 -2
- package/components/ion-toolbar.js +6 -4
- package/components/item.js +14 -6
- 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 +29 -10
- 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 +8 -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 +5 -3
- 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-5a17c5e1.js} +1 -1
- package/dist/cjs/{button-active-85665616.js → button-active-b8c3f603.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-d23873bb.js} +48 -2
- package/dist/cjs/{helpers-76bb7efb.js → helpers-2e1028fa.js} +1 -1
- 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-71f41461.js → index-5a471146.js} +32 -2
- package/dist/cjs/{index-6bb6b651.js → index-84351d21.js} +4 -4
- package/dist/cjs/{index-96a721a7.js → index-8c679cbf.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 +15 -13
- package/dist/cjs/ion-alert.cjs.entry.js +15 -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 +58 -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 +13 -11
- package/dist/cjs/ion-menu_3.cjs.entry.js +29 -19
- package/dist/cjs/ion-modal.cjs.entry.js +17 -16
- 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 +16 -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 +40 -16
- 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 +13 -11
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -6
- package/dist/cjs/{ionic-global-c70c3fb5.js → ionic-global-7358c23e.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-9624a175.js → ios.transition-8e40c54e.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-786baf9a.js → md.transition-597a2479.js} +4 -4
- package/dist/cjs/{notch-controller-9735e7ac.js → notch-controller-db0127c4.js} +1 -1
- package/dist/cjs/{overlays-4c97edb0.js → overlays-eaf2075f.js} +32 -13
- package/dist/cjs/{status-tap-66296dcb.js → status-tap-b0bfea34.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.js +3 -3
- package/dist/collection/components/alert/alert.ios.css +23 -0
- package/dist/collection/components/alert/alert.js +2 -2
- 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 +9 -2
- 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 +2 -2
- 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 +4 -5
- 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 +2 -2
- 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 +1 -1
- package/dist/collection/components/popover/popover.js +2 -2
- 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.js +1 -1
- 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/toast.js +2 -2
- 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 +29 -9
- package/dist/collection/utils/test/hardware-back-button.spec.js +38 -0
- package/dist/docs.json +5 -10
- package/dist/esm/{animation-dde8cc0d.js → animation-60dbdd13.js} +1 -1
- package/dist/esm/{app-globals-52c78291.js → app-globals-47226a12.js} +1 -1
- package/dist/esm/{button-active-b62776db.js → button-active-4bee452c.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-f42b9c80.js} +48 -3
- package/dist/esm/{helpers-ae653409.js → helpers-c0b9ca37.js} +1 -1
- package/dist/esm/{index-01cb9192.js → index-48209844.js} +4 -4
- package/dist/esm/{index-a97c95a7.js → index-4b98143d.js} +4 -4
- package/dist/esm/{index-27668d5b.js → index-73881b51.js} +32 -2
- 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 +15 -13
- package/dist/esm/ion-alert.entry.js +15 -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 +59 -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 +13 -11
- package/dist/esm/ion-menu_3.entry.js +29 -19
- package/dist/esm/ion-modal.entry.js +17 -16
- 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 +16 -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 +40 -16
- 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 +13 -11
- package/dist/esm/ion-toggle.entry.js +8 -6
- package/dist/esm/{ionic-global-8fa0f940.js → ionic-global-778b7863.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-62fd50ab.js → ios.transition-7ff7381d.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-7e56966a.js → md.transition-28a9a26b.js} +4 -4
- package/dist/esm/{notch-controller-fea7f9c5.js → notch-controller-15d281a4.js} +1 -1
- package/dist/esm/{overlays-8414359b.js → overlays-fad5fe01.js} +32 -13
- package/dist/esm/{status-tap-129c01cf.js → status-tap-2b335fb7.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-47226a12.js +4 -0
- package/dist/esm-es5/{button-active-b62776db.js → button-active-4bee452c.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-f42b9c80.js +4 -0
- package/dist/esm-es5/helpers-c0b9ca37.js +4 -0
- package/dist/esm-es5/{index-01cb9192.js → index-48209844.js} +1 -1
- package/dist/esm-es5/{index-a97c95a7.js → index-4b98143d.js} +1 -1
- package/dist/esm-es5/{index-27668d5b.js → index-73881b51.js} +2 -2
- 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-778b7863.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-62fd50ab.js → ios.transition-7ff7381d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-28a9a26b.js +4 -0
- package/dist/esm-es5/{notch-controller-fea7f9c5.js → notch-controller-15d281a4.js} +1 -1
- package/dist/esm-es5/overlays-fad5fe01.js +4 -0
- package/dist/esm-es5/{status-tap-129c01cf.js → status-tap-2b335fb7.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-001010b6.system.js +4 -0
- package/dist/ionic/p-044ad008.system.entry.js +4 -0
- package/dist/ionic/p-078fd095.system.entry.js +4 -0
- package/dist/ionic/p-0ae25399.system.entry.js +4 -0
- package/dist/ionic/p-0b955124.system.js +4 -0
- package/dist/ionic/p-0e29919c.system.entry.js +4 -0
- package/dist/ionic/p-0eef8b34.system.entry.js +4 -0
- package/dist/ionic/p-0fd295ef.system.entry.js +4 -0
- package/dist/ionic/{p-436bd99a.entry.js → p-108f730a.entry.js} +1 -1
- package/dist/ionic/p-1375f21f.js +4 -0
- package/dist/ionic/{p-fd41bd8a.js → p-1aa7c019.js} +1 -1
- package/dist/ionic/{p-13387c28.entry.js → p-1c531ca2.entry.js} +1 -1
- package/dist/ionic/p-1d8c2cfc.system.entry.js +4 -0
- package/dist/ionic/{p-53ec4f1c.system.js → p-1dfc11b3.system.js} +1 -1
- package/dist/ionic/p-1f6cdf2c.system.entry.js +4 -0
- package/dist/ionic/p-20a6513f.system.entry.js +4 -0
- package/dist/ionic/p-20f7a91e.system.entry.js +4 -0
- package/dist/ionic/{p-ae638cb5.system.js → p-25b08bc4.system.js} +1 -1
- package/dist/ionic/p-2da0a76c.entry.js +4 -0
- package/dist/ionic/p-2f66e177.system.entry.js +4 -0
- package/dist/ionic/p-30c9e049.system.entry.js +4 -0
- package/dist/ionic/p-30d77a91.system.js +4 -0
- package/dist/ionic/{p-376a6063.js → p-31c495c2.js} +1 -1
- package/dist/ionic/p-333f06ed.entry.js +4 -0
- package/dist/ionic/{p-23ce95e8.js → p-341b4519.js} +1 -1
- package/dist/ionic/p-34947dff.system.entry.js +4 -0
- package/dist/ionic/{p-cabad15b.system.js → p-37c33319.system.js} +1 -1
- package/dist/ionic/p-38a6fee7.entry.js +4 -0
- package/dist/ionic/p-396c1a55.entry.js +4 -0
- package/dist/ionic/p-3a54c070.system.entry.js +4 -0
- package/dist/ionic/p-3a98f8db.entry.js +4 -0
- package/dist/ionic/{p-d51674c5.system.js → p-3c6f02cf.system.js} +1 -1
- package/dist/ionic/{p-249633a4.entry.js → p-3cdbaa49.entry.js} +1 -1
- package/dist/ionic/p-3eb2da31.js +4 -0
- package/dist/ionic/{p-ef3a6b51.system.js → p-3f028207.system.js} +1 -1
- package/dist/ionic/p-400574bf.entry.js +4 -0
- package/dist/ionic/p-41fde260.entry.js +4 -0
- package/dist/ionic/{p-8aa1d0b7.system.js → p-49543c9c.system.js} +1 -1
- package/dist/ionic/p-4b2d5b9c.js +4 -0
- package/dist/ionic/{p-88d5fbd3.js → p-4f777b5e.js} +1 -1
- package/dist/ionic/p-4fc40349.system.entry.js +4 -0
- package/dist/ionic/p-51f08a9f.entry.js +4 -0
- package/dist/ionic/p-52e02877.entry.js +4 -0
- package/dist/ionic/{p-43afd001.system.js → p-55d5cd00.system.js} +1 -1
- package/dist/ionic/p-5615cf3f.system.entry.js +4 -0
- package/dist/ionic/p-58e3ae88.system.entry.js +4 -0
- package/dist/ionic/p-594ead2f.entry.js +4 -0
- package/dist/ionic/{p-7bae84aa.entry.js → p-5a0c301f.entry.js} +1 -1
- package/dist/ionic/p-5e60dbc8.entry.js +4 -0
- package/dist/ionic/{p-d2707f9d.system.js → p-5eea8b4c.system.js} +1 -1
- package/dist/ionic/p-5f456b3c.system.entry.js +4 -0
- package/dist/ionic/p-61ba2137.system.js +4 -0
- package/dist/ionic/{p-be04fcd8.system.entry.js → p-62067818.system.entry.js} +1 -1
- package/dist/ionic/{p-4a4bbcc5.system.js → p-62a3c609.system.js} +2 -2
- package/dist/ionic/p-680f96e8.system.entry.js +4 -0
- package/dist/ionic/p-6871553b.system.js +4 -0
- package/dist/ionic/p-6b02edd6.js +4 -0
- package/dist/ionic/p-6f38d0c5.system.entry.js +4 -0
- package/dist/ionic/p-70026e8f.system.entry.js +4 -0
- package/dist/ionic/{p-87bb3735.system.js → p-7330c044.system.js} +1 -1
- package/dist/ionic/p-76893257.system.js +5 -0
- package/dist/ionic/p-78edc0cd.system.entry.js +4 -0
- package/dist/ionic/p-7c32fb95.system.entry.js +4 -0
- package/dist/ionic/p-84879f61.system.entry.js +4 -0
- package/dist/ionic/p-84f589e1.entry.js +4 -0
- package/dist/ionic/p-8569d759.system.entry.js +4 -0
- package/dist/ionic/p-86670b91.system.js +4 -0
- package/dist/ionic/p-88ca4854.entry.js +4 -0
- package/dist/ionic/{p-803ad1e3.entry.js → p-89b5aff2.entry.js} +1 -1
- package/dist/ionic/p-8a671f16.entry.js +4 -0
- package/dist/ionic/{p-25221a73.js → p-8ddc00f7.js} +1 -1
- package/dist/ionic/{p-005e0ad0.js → p-8f1ce253.js} +1 -1
- package/dist/ionic/p-92c2178e.system.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-95c44e02.system.js +4 -0
- package/dist/ionic/p-97eca294.entry.js +4 -0
- package/dist/ionic/{p-bb41c476.system.entry.js → p-9a6ab80a.system.entry.js} +1 -1
- package/dist/ionic/p-9db1e4c5.entry.js +4 -0
- package/dist/ionic/p-9eb4ea47.system.entry.js +4 -0
- package/dist/ionic/p-9f5b40c0.system.entry.js +4 -0
- package/dist/ionic/p-9f6397ce.entry.js +4 -0
- package/dist/ionic/p-a02b2d75.entry.js +4 -0
- package/dist/ionic/p-a051c371.entry.js +4 -0
- package/dist/ionic/{p-ed60d571.entry.js → p-a114530c.entry.js} +1 -1
- package/dist/ionic/p-a19f5ae1.entry.js +4 -0
- package/dist/ionic/p-a1bfaa5c.system.entry.js +4 -0
- package/dist/ionic/p-a2ad515b.entry.js +4 -0
- package/dist/ionic/{p-4180a747.js → p-a3f572a7.js} +1 -1
- package/dist/ionic/p-aa7ae6aa.entry.js +4 -0
- package/dist/ionic/{p-0bd51c34.system.js → p-abe101da.system.js} +1 -1
- package/dist/ionic/p-ac20160b.system.entry.js +4 -0
- package/dist/ionic/p-b06ac4a5.system.js +4 -0
- package/dist/ionic/p-b1f0c48e.system.entry.js +4 -0
- package/dist/ionic/{p-66d633fb.js → p-b253ad7f.js} +1 -1
- package/dist/ionic/p-b4a95b80.system.entry.js +4 -0
- package/dist/ionic/{p-03e00f90.js → p-b4d8fe47.js} +1 -1
- package/dist/ionic/p-b5839dc2.js +4 -0
- package/dist/ionic/p-b8c4df21.entry.js +4 -0
- package/dist/ionic/p-b8c685a7.system.js +4 -0
- package/dist/ionic/{p-3c33dc30.system.js → p-b94882a9.system.js} +1 -1
- package/dist/ionic/{p-c1c57873.system.entry.js → p-bc2c03d7.system.entry.js} +1 -1
- package/dist/ionic/{p-36d187af.js → p-c2289cd1.js} +1 -1
- package/dist/ionic/p-c3d041af.entry.js +4 -0
- package/dist/ionic/p-c569d1c8.entry.js +4 -0
- package/dist/ionic/p-c5c3710c.js +4 -0
- package/dist/ionic/{p-32b8e50d.system.js → p-c6fef62b.system.js} +1 -1
- 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-cd055d60.system.entry.js +4 -0
- package/dist/ionic/p-ce2eabd5.entry.js +4 -0
- package/dist/ionic/p-d181166c.system.entry.js +4 -0
- package/dist/ionic/p-d7260b87.entry.js +4 -0
- package/dist/ionic/p-d74ca358.entry.js +4 -0
- package/dist/ionic/p-d8607ede.entry.js +4 -0
- package/dist/ionic/p-d95c8e90.entry.js +4 -0
- package/dist/ionic/p-dbb4c012.entry.js +4 -0
- package/dist/ionic/p-dce9bc53.entry.js +4 -0
- package/dist/ionic/p-dd60faa5.system.entry.js +4 -0
- package/dist/ionic/p-df281664.system.entry.js +4 -0
- package/dist/ionic/p-df468a8f.entry.js +4 -0
- package/dist/ionic/{p-d6129c6e.js → p-e1271366.js} +1 -1
- package/dist/ionic/{p-38f2c6bb.system.js → p-e2bb92ed.system.js} +1 -1
- package/dist/ionic/p-e68980ff.system.entry.js +4 -0
- package/dist/ionic/p-e6aaff14.system.entry.js +4 -0
- package/dist/ionic/p-e6cfaa07.system.entry.js +4 -0
- package/dist/ionic/{p-1052ef2b.entry.js → p-ea8fbf09.entry.js} +1 -1
- package/dist/ionic/p-eb1fdf9f.system.entry.js +4 -0
- package/dist/ionic/p-eda7a1db.system.entry.js +4 -0
- package/dist/ionic/p-ef441122.entry.js +4 -0
- package/dist/ionic/p-efe9180b.entry.js +4 -0
- package/dist/ionic/p-f46775e4.entry.js +4 -0
- package/dist/ionic/p-f7b43141.system.entry.js +4 -0
- package/dist/ionic/{p-18cae04f.js → p-f7dce541.js} +1 -1
- package/dist/ionic/{p-e814f9c0.entry.js → p-f88dd429.entry.js} +1 -1
- package/dist/ionic/p-f97b9cdd.system.entry.js +4 -0
- package/dist/ionic/p-fd2aa50c.js +4 -0
- package/dist/ionic/p-fd36799d.system.js +4 -0
- package/dist/ionic/{p-b6f6f00e.entry.js → p-fd3f475f.entry.js} +1 -1
- package/dist/ionic/p-fd8ced99.system.js +4 -0
- package/dist/ionic/p-fe92da17.entry.js +4 -0
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +2 -2
- package/dist/types/components/alert/alert-interface.d.ts +2 -2
- package/dist/types/components/item/item.d.ts +1 -0
- package/dist/types/components/toast/toast-interface.d.ts +2 -2
- 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 +592 -349
- package/package.json +6 -6
- 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-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-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-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-d5216086.entry.js +0 -4
- 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
|
@@ -387,9 +387,9 @@ export class Alert {
|
|
|
387
387
|
* If neither is defined, don't set aria-labelledby.
|
|
388
388
|
*/
|
|
389
389
|
const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;
|
|
390
|
-
return (h(Host, Object.assign({ role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
390
|
+
return (h(Host, Object.assign({ key: '8327e1aef6c404c2021d43aaa542d86e839817f5', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
391
391
|
zIndex: `${20000 + overlayIndex}`,
|
|
392
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { class: "alert-head" }, header && (h("h2", { id: hdrId, class: "alert-title" }, header)), subHeader && (h("h2", { id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { tabindex: "0" })));
|
|
392
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '814a4e1b4f7560026b089b762c68401b6277355e', tappable: this.backdropDismiss }), h("div", { key: 'b31ce08019e7223a098d18cb857f72eddc245e98', tabindex: "0" }), h("div", { key: '77efa4b9f7062f55ba0998a09a24550ec0b9b4f5', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '648e0768610ee57f9e5c84b8955da497ec9b0b82', class: "alert-head" }, header && (h("h2", { id: hdrId, class: "alert-title" }, header)), subHeader && (h("h2", { id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'f3d752cce77ca021dc959611ad5078b94b7f3cec', tabindex: "0" })));
|
|
393
393
|
}
|
|
394
394
|
static get is() { return "ion-alert"; }
|
|
395
395
|
static get encapsulation() { return "scoped"; }
|
|
@@ -55,10 +55,6 @@ configs().forEach(({ config, screenshot, title }) => {
|
|
|
55
55
|
await alertFixture.open('#longMessage');
|
|
56
56
|
await alertFixture.screenshot('longMessage');
|
|
57
57
|
});
|
|
58
|
-
test('more than two buttons', async () => {
|
|
59
|
-
await alertFixture.open('#multipleButtons');
|
|
60
|
-
await alertFixture.screenshot('multipleButtons');
|
|
61
|
-
});
|
|
62
58
|
test('no message', async () => {
|
|
63
59
|
await alertFixture.open('#noMessage');
|
|
64
60
|
await alertFixture.screenshot('noMessage');
|
|
@@ -81,6 +77,35 @@ configs().forEach(({ config, screenshot, title }) => {
|
|
|
81
77
|
});
|
|
82
78
|
});
|
|
83
79
|
});
|
|
80
|
+
configs({ themes: ['light', 'dark'] }).forEach(({ config, screenshot, title }) => {
|
|
81
|
+
test.describe(title('should not have visual regressions'), () => {
|
|
82
|
+
test('more than two buttons', async ({ page }) => {
|
|
83
|
+
await page.setContent(`
|
|
84
|
+
<ion-alert
|
|
85
|
+
header="Alert"
|
|
86
|
+
sub-header="Subtitle"
|
|
87
|
+
message="This is an alert message."
|
|
88
|
+
is-open="true"
|
|
89
|
+
></ion-alert>
|
|
90
|
+
|
|
91
|
+
<script>
|
|
92
|
+
const alert = document.querySelector('ion-alert');
|
|
93
|
+
alert.buttons = [
|
|
94
|
+
'Open Modal',
|
|
95
|
+
{
|
|
96
|
+
text: 'Delete',
|
|
97
|
+
id: 'delete-button',
|
|
98
|
+
role: 'destructive',
|
|
99
|
+
},
|
|
100
|
+
'Cancel'
|
|
101
|
+
];
|
|
102
|
+
</script>
|
|
103
|
+
`, config);
|
|
104
|
+
const alert = page.locator('ion-alert');
|
|
105
|
+
await expect(alert).toHaveScreenshot(screenshot(`alert-multipleButtons`));
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
});
|
|
84
109
|
class AlertFixture {
|
|
85
110
|
constructor(page, screenshot) {
|
|
86
111
|
this.page = page;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Build, Host, h } from "@stencil/core";
|
|
5
|
+
import { shoudUseCloseWatcher } from "../../utils/hardware-back-button";
|
|
6
|
+
import { printIonWarning } from "../../utils/logging/index";
|
|
5
7
|
import { isPlatform } from "../../utils/platform";
|
|
6
8
|
import { config } from "../../global/config";
|
|
7
9
|
import { getIonMode } from "../../global/ionic-global";
|
|
@@ -25,10 +27,18 @@ export class App {
|
|
|
25
27
|
import('../../utils/input-shims/input-shims').then((module) => module.startInputShims(config, platform));
|
|
26
28
|
}
|
|
27
29
|
const hardwareBackButtonModule = await import('../../utils/hardware-back-button');
|
|
28
|
-
|
|
30
|
+
const supportsHardwareBackButtonEvents = isHybrid || shoudUseCloseWatcher();
|
|
31
|
+
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
29
32
|
hardwareBackButtonModule.startHardwareBackButton();
|
|
30
33
|
}
|
|
31
34
|
else {
|
|
35
|
+
/**
|
|
36
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
37
|
+
* then the close watcher will not be used.
|
|
38
|
+
*/
|
|
39
|
+
if (shoudUseCloseWatcher()) {
|
|
40
|
+
printIonWarning('experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.');
|
|
41
|
+
}
|
|
32
42
|
hardwareBackButtonModule.blockHardwareBackButton();
|
|
33
43
|
}
|
|
34
44
|
if (typeof window !== 'undefined') {
|
|
@@ -55,7 +65,7 @@ export class App {
|
|
|
55
65
|
}
|
|
56
66
|
render() {
|
|
57
67
|
const mode = getIonMode(this);
|
|
58
|
-
return (h(Host, { class: {
|
|
68
|
+
return (h(Host, { key: '3535eb5c0dab78a78011e552524a98599b2b650f', class: {
|
|
59
69
|
[mode]: true,
|
|
60
70
|
'ion-page': true,
|
|
61
71
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Avatar {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { class: getIonMode(this) }, h("slot",
|
|
8
|
+
return (h(Host, { key: '95d7ca334f9b66e0983cbc1b782ded0b9a54eaa9', class: getIonMode(this) }, h("slot", { key: '011d20189acdb03bee328aa4fa0511826a0b3a36' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-avatar"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,7 +72,7 @@ export class BackButton {
|
|
|
72
72
|
const showBackButton = defaultHref !== undefined;
|
|
73
73
|
const mode = getIonMode(this);
|
|
74
74
|
const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
|
|
75
|
-
return (h(Host, { onClick: this.onClick, class: createColorClasses(color, {
|
|
75
|
+
return (h(Host, { key: '175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4', onClick: this.onClick, class: createColorClasses(color, {
|
|
76
76
|
[mode]: true,
|
|
77
77
|
button: true, // ion-buttons target .button
|
|
78
78
|
'back-button-disabled': disabled,
|
|
@@ -82,7 +82,7 @@ export class BackButton {
|
|
|
82
82
|
'ion-activatable': true,
|
|
83
83
|
'ion-focusable': true,
|
|
84
84
|
'show-back-button': showBackButton,
|
|
85
|
-
}) }, h("button", { type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { class: "button-inner" }, backButtonIcon && (h("ion-icon", { part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), mode === 'md' && h("ion-ripple-effect", { type: this.rippleType }))));
|
|
85
|
+
}) }, h("button", { key: '59fe30c167ea82e2431e45d46060a01bcb2aea77', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '3d704fb7ef001446361e7a09d43763a771b242b9', class: "button-inner" }, backButtonIcon && (h("ion-icon", { part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), mode === 'md' && h("ion-ripple-effect", { type: this.rippleType }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-back-button"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class Backdrop {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const mode = getIonMode(this);
|
|
38
|
-
return (h(Host, { tabindex: "-1", "aria-hidden": "true", class: {
|
|
38
|
+
return (h(Host, { key: 'b2adb9dabef01fa49388d67d9e8a4a370931f633', tabindex: "-1", "aria-hidden": "true", class: {
|
|
39
39
|
[mode]: true,
|
|
40
40
|
'backdrop-hide': !this.visible,
|
|
41
41
|
'backdrop-no-tappable': !this.tappable,
|
|
@@ -13,9 +13,9 @@ export class Badge {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { class: createColorClasses(this.color, {
|
|
16
|
+
return (h(Host, { key: '043eea016721e53f0af1cbf1371bc08694281204', class: createColorClasses(this.color, {
|
|
17
17
|
[mode]: true,
|
|
18
|
-
}) }, h("slot",
|
|
18
|
+
}) }, h("slot", { key: 'bd510450d6b60f2794491244e68a83049a5ef6dd' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-badge"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,7 +64,7 @@ export class Breadcrumb {
|
|
|
64
64
|
// to show the separator as long as it isn't also the last breadcrumb
|
|
65
65
|
// otherwise if not collapsed use the value in separator
|
|
66
66
|
const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;
|
|
67
|
-
return (h(Host, { onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
67
|
+
return (h(Host, { key: '632efa1bc6dc446e81efe8cd7763cb9b16466563', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
68
68
|
[mode]: true,
|
|
69
69
|
'breadcrumb-active': active,
|
|
70
70
|
'breadcrumb-collapsed': collapsed,
|
|
@@ -74,7 +74,7 @@ export class Breadcrumb {
|
|
|
74
74
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
75
75
|
'ion-activatable': clickable,
|
|
76
76
|
'ion-focusable': clickable,
|
|
77
|
-
}) }, h(TagType, Object.assign({}, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("slot", { name: "start" }), h("slot",
|
|
77
|
+
}) }, h(TagType, Object.assign({ key: '6f232cfc590b2e2a23a2e1ee40d6658e7d8b4953' }, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("slot", { key: 'fec56c6f92c147fbd6273d3efb82b1a6c944699c', name: "start" }), h("slot", { key: '80aa33cdcaab810f544803c6105b489172542846' }), h("slot", { key: '6e1d3f332ae35f5061204bece9756a9bac4aaf4a', name: "end" })), showCollapsedIndicator && (h("button", { part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
|
|
78
78
|
'breadcrumbs-collapsed-indicator': true,
|
|
79
79
|
} }, h("ion-icon", { "aria-hidden": "true", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (
|
|
80
80
|
/**
|
|
@@ -105,12 +105,12 @@ export class Breadcrumbs {
|
|
|
105
105
|
render() {
|
|
106
106
|
const { color, collapsed } = this;
|
|
107
107
|
const mode = getIonMode(this);
|
|
108
|
-
return (h(Host, { class: createColorClasses(color, {
|
|
108
|
+
return (h(Host, { key: '35f8a2bffdd85ba6dc31834ebef69602a5a7cca1', class: createColorClasses(color, {
|
|
109
109
|
[mode]: true,
|
|
110
110
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
111
111
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
112
112
|
'breadcrumbs-collapsed': collapsed,
|
|
113
|
-
}) }, h("slot", { onSlotchange: this.slotChanged })));
|
|
113
|
+
}) }, h("slot", { key: 'ada062b5d17380d311861d1cf1a22dd62bac5497', onSlotchange: this.slotChanged })));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "ion-breadcrumbs"; }
|
|
116
116
|
static get encapsulation() { return "shadow"; }
|
|
@@ -199,7 +199,7 @@ export class Button {
|
|
|
199
199
|
{
|
|
200
200
|
type !== 'button' && this.renderHiddenButton();
|
|
201
201
|
}
|
|
202
|
-
return (h(Host, { onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
202
|
+
return (h(Host, { key: '8533314504b286ec10e26722f93376d86a7ca1c9', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
203
203
|
[mode]: true,
|
|
204
204
|
[buttonType]: true,
|
|
205
205
|
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
@@ -214,7 +214,7 @@ export class Button {
|
|
|
214
214
|
'button-disabled': disabled,
|
|
215
215
|
'ion-activatable': true,
|
|
216
216
|
'ion-focusable': true,
|
|
217
|
-
}) }, h(TagType, Object.assign({}, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { class: "button-inner" }, h("slot", { name: "icon-only" }), h("slot", { name: "start" }), h("slot",
|
|
217
|
+
}) }, h(TagType, Object.assign({ key: '79bf020fdac0c2ceb2b05547b3e5a9a11e60abb4' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { key: '109481ba86102647023b746b054b2718d3c9d92a', class: "button-inner" }, h("slot", { key: 'f824ddd9f988b9bd33136555b16aa790d9291b49', name: "icon-only" }), h("slot", { key: 'd614f4e430792c5f93be4b3a8c57a826d74b9cfd', name: "start" }), h("slot", { key: '95d00c8a980c31cc7f84732f51a17a0cd285a7cb' }), h("slot", { key: 'a228ff52cbe04dc9d2e22bb66611ecc96d130e6f', name: "end" })), mode === 'md' && h("ion-ripple-effect", { type: this.rippleType }))));
|
|
218
218
|
}
|
|
219
219
|
static get is() { return "ion-button"; }
|
|
220
220
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ configs({ modes: ['md'] }).forEach(({ config, screenshot, title }) => {
|
|
|
44
44
|
await page.mouse.move(boundingBox.x + boundingBox.width / 2, boundingBox.y + boundingBox.height / 2);
|
|
45
45
|
await page.mouse.down();
|
|
46
46
|
}
|
|
47
|
-
await page.
|
|
47
|
+
await page.locator('#default.ion-activated').waitFor();
|
|
48
48
|
await expect(button).toHaveScreenshot(screenshot(`button-ripple-effect`));
|
|
49
49
|
});
|
|
50
50
|
});
|
|
@@ -49,7 +49,7 @@ export class Card {
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
const mode = getIonMode(this);
|
|
52
|
-
return (h(Host, { class: createColorClasses(this.color, {
|
|
52
|
+
return (h(Host, { key: '9e35c114ce466623024b94dd6797118ad027417d', class: createColorClasses(this.color, {
|
|
53
53
|
[mode]: true,
|
|
54
54
|
'card-disabled': this.disabled,
|
|
55
55
|
'ion-activatable': this.isClickable(),
|
|
@@ -9,7 +9,7 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
9
9
|
export class CardContent {
|
|
10
10
|
render() {
|
|
11
11
|
const mode = getIonMode(this);
|
|
12
|
-
return (h(Host, { class: {
|
|
12
|
+
return (h(Host, { key: 'd4da147bb0b0b14684b54d37d04ba5a8f7a7d71d', class: {
|
|
13
13
|
[mode]: true,
|
|
14
14
|
// Used internally for styling
|
|
15
15
|
[`card-content-${mode}`]: true,
|
|
@@ -14,11 +14,11 @@ export class CardHeader {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const mode = getIonMode(this);
|
|
17
|
-
return (h(Host, { class: createColorClasses(this.color, {
|
|
17
|
+
return (h(Host, { key: '070294064c4b17c941961c9cccf1ae6592b385b6', class: createColorClasses(this.color, {
|
|
18
18
|
'card-header-translucent': this.translucent,
|
|
19
19
|
'ion-inherit-color': true,
|
|
20
20
|
[mode]: true,
|
|
21
|
-
}) }, h("slot",
|
|
21
|
+
}) }, h("slot", { key: 'adac918d5e93bf69b07c5bda329ebf8c719bd623' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-card-header"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,10 +13,10 @@ export class CardSubtitle {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { role: "heading", "aria-level": "3", class: createColorClasses(this.color, {
|
|
16
|
+
return (h(Host, { key: 'ae115cf349cd13f88d20b1fbab6b8a813a87b925', role: "heading", "aria-level": "3", class: createColorClasses(this.color, {
|
|
17
17
|
'ion-inherit-color': true,
|
|
18
18
|
[mode]: true,
|
|
19
|
-
}) }, h("slot",
|
|
19
|
+
}) }, h("slot", { key: 'f5dd779b34b5c5c541cbbe56cc8a877e50513252' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "ion-card-subtitle"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,10 +13,10 @@ export class CardTitle {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
|
|
16
|
+
return (h(Host, { key: '432d7bf971fda63c30c748986143ec2a8be9e4af', role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
|
|
17
17
|
'ion-inherit-color': true,
|
|
18
18
|
[mode]: true,
|
|
19
|
-
}) }, h("slot",
|
|
19
|
+
}) }, h("slot", { key: '3c5dcf6ac1bf981c6c0488f0027765269c80db5a' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "ion-card-title"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,12 +15,12 @@ export class Chip {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const mode = getIonMode(this);
|
|
18
|
-
return (h(Host, { "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
18
|
+
return (h(Host, { key: 'eca7cc616c0c9dd2ab28efd41e203fa094880e9e', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
19
19
|
[mode]: true,
|
|
20
20
|
'chip-outline': this.outline,
|
|
21
21
|
'chip-disabled': this.disabled,
|
|
22
22
|
'ion-activatable': true,
|
|
23
|
-
}) }, h("slot",
|
|
23
|
+
}) }, h("slot", { key: 'b64c9067132791f73a8434c37d5a335fb2d96f74' }), mode === 'md' && h("ion-ripple-effect", null)));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "ion-chip"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -111,9 +111,9 @@ export class Col {
|
|
|
111
111
|
render() {
|
|
112
112
|
const isRTL = document.dir === 'rtl';
|
|
113
113
|
const mode = getIonMode(this);
|
|
114
|
-
return (h(Host, { class: {
|
|
114
|
+
return (h(Host, { key: 'c186972dd12d10a4600975c326f20666fed96abf', class: {
|
|
115
115
|
[mode]: true,
|
|
116
|
-
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot",
|
|
116
|
+
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: '54cc8bd92f94cfd30d9f3e8e59e0f0dc38abfd63' })));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "ion-col"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -336,7 +336,7 @@ export class Content {
|
|
|
336
336
|
const transitionShadow = mode === 'ios';
|
|
337
337
|
const TagType = isMainContent ? 'main' : 'div';
|
|
338
338
|
this.resize();
|
|
339
|
-
return (h(Host, { class: createColorClasses(this.color, {
|
|
339
|
+
return (h(Host, { key: '65d85e1f7f85876a76eec79addc4bd9f697a5d84', class: createColorClasses(this.color, {
|
|
340
340
|
[mode]: true,
|
|
341
341
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
342
342
|
overscroll: forceOverscroll,
|
|
@@ -344,12 +344,12 @@ export class Content {
|
|
|
344
344
|
}), style: {
|
|
345
345
|
'--offset-top': `${this.cTop}px`,
|
|
346
346
|
'--offset-bottom': `${this.cBottom}px`,
|
|
347
|
-
} }, h("div", { ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), h(TagType, { class: {
|
|
347
|
+
} }, h("div", { key: 'e2ac474a62cbc864772c497469100436f41289ff', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), h(TagType, { key: '567a4bc2bcb13adfd987b088f95ac4b20b789f2c', class: {
|
|
348
348
|
'inner-scroll': true,
|
|
349
349
|
'scroll-x': scrollX,
|
|
350
350
|
'scroll-y': scrollY,
|
|
351
351
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
352
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot",
|
|
352
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '13909f87dd9f49bf1664ad95038499da376b9480' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, h("slot", { key: '05b56c139e203cfd1e3dd08054e99328e97e9243', name: "fixed" })));
|
|
353
353
|
}
|
|
354
354
|
static get is() { return "ion-content"; }
|
|
355
355
|
static get encapsulation() { return "shadow"; }
|
|
@@ -526,22 +526,41 @@ export class Datetime {
|
|
|
526
526
|
const didChangeMonth = (month !== undefined && month !== workingParts.month) || (year !== undefined && year !== workingParts.year);
|
|
527
527
|
const bodyIsVisible = el.classList.contains('datetime-ready');
|
|
528
528
|
const { isGridStyle, showMonthAndYear } = this;
|
|
529
|
-
|
|
530
|
-
|
|
529
|
+
let areAllSelectedDatesInSameMonth = true;
|
|
530
|
+
if (Array.isArray(valueToProcess)) {
|
|
531
|
+
const firstMonth = valueToProcess[0].month;
|
|
532
|
+
for (const date of valueToProcess) {
|
|
533
|
+
if (date.month !== firstMonth) {
|
|
534
|
+
areAllSelectedDatesInSameMonth = false;
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
531
538
|
}
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
539
|
+
/**
|
|
540
|
+
* If there is more than one date selected
|
|
541
|
+
* and the dates aren't all in the same month,
|
|
542
|
+
* then we should neither animate to the date
|
|
543
|
+
* nor update the working parts because we do
|
|
544
|
+
* not know which date the user wants to view.
|
|
545
|
+
*/
|
|
546
|
+
if (areAllSelectedDatesInSameMonth) {
|
|
547
|
+
if (isGridStyle && didChangeMonth && bodyIsVisible && !showMonthAndYear) {
|
|
548
|
+
this.animateToDate(targetValue);
|
|
549
|
+
}
|
|
550
|
+
else {
|
|
551
|
+
/**
|
|
552
|
+
* We only need to do this if we didn't just animate to a new month,
|
|
553
|
+
* since that calls prevMonth/nextMonth which calls setWorkingParts for us.
|
|
554
|
+
*/
|
|
555
|
+
this.setWorkingParts({
|
|
556
|
+
month,
|
|
557
|
+
day,
|
|
558
|
+
year,
|
|
559
|
+
hour,
|
|
560
|
+
minute,
|
|
561
|
+
ampm,
|
|
562
|
+
});
|
|
563
|
+
}
|
|
545
564
|
}
|
|
546
565
|
};
|
|
547
566
|
this.animateToDate = async (targetValue) => {
|
|
@@ -1574,7 +1593,7 @@ export class Datetime {
|
|
|
1574
1593
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1575
1594
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1576
1595
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1577
|
-
return (h(Host, { "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1596
|
+
return (h(Host, { key: 'b00545b7bbba3ccf35d53c1eec4f1614fb830c11', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1578
1597
|
[mode]: true,
|
|
1579
1598
|
['datetime-readonly']: readonly,
|
|
1580
1599
|
['datetime-disabled']: disabled,
|
|
@@ -21,7 +21,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
21
21
|
</div>
|
|
22
22
|
`, config);
|
|
23
23
|
const container = page.locator('#container');
|
|
24
|
-
await page.
|
|
24
|
+
await page.locator('.datetime-ready').waitFor();
|
|
25
25
|
await expect(container).toHaveScreenshot(screenshot(`datetime-scale`));
|
|
26
26
|
});
|
|
27
27
|
});
|
|
@@ -64,7 +64,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
64
64
|
|
|
65
65
|
<ion-datetime value="2022-02-22T16:30:00" show-default-buttons="true" show-clear-button="true"></ion-datetime>
|
|
66
66
|
`, config);
|
|
67
|
-
await page.
|
|
67
|
+
await page.locator('.datetime-ready').waitFor();
|
|
68
68
|
const clearButton = page.locator('#clear-button button');
|
|
69
69
|
const selectedDay = page.locator('.calendar-day-active');
|
|
70
70
|
await expect(selectedDay).toHaveText('22');
|
|
@@ -80,7 +80,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
80
80
|
|
|
81
81
|
<ion-datetime value="2022-02-28"></ion-datetime>
|
|
82
82
|
`, config);
|
|
83
|
-
await page.
|
|
83
|
+
await page.locator('.datetime-ready').waitFor();
|
|
84
84
|
const calendarMonthYear = page.locator('ion-datetime .calendar-month-year');
|
|
85
85
|
const calendarBody = page.locator('.calendar-body');
|
|
86
86
|
await expect(calendarMonthYear).toHaveText('February 2022');
|
|
@@ -82,7 +82,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
82
82
|
}
|
|
83
83
|
</script>
|
|
84
84
|
`, config);
|
|
85
|
-
await page.
|
|
85
|
+
await page.locator('.datetime-ready').waitFor();
|
|
86
86
|
const datetime = page.locator('ion-datetime');
|
|
87
87
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
88
88
|
// Oct 1, 2022
|
|
@@ -188,7 +188,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
188
188
|
await page.setContent(`
|
|
189
189
|
<ion-datetime value="2022-05-03"></ion-datetime>
|
|
190
190
|
`, config);
|
|
191
|
-
await page.
|
|
191
|
+
await page.locator('.datetime-ready').waitFor();
|
|
192
192
|
const calendarBody = page.locator('ion-datetime .calendar-body');
|
|
193
193
|
const calendarHeader = page.locator('ion-datetime .calendar-month-year');
|
|
194
194
|
await expect(calendarHeader).toHaveText(/May 2022/);
|
|
@@ -200,7 +200,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
200
200
|
await page.setContent(`
|
|
201
201
|
<ion-datetime value="2022-05-03"></ion-datetime>
|
|
202
202
|
`, config);
|
|
203
|
-
await page.
|
|
203
|
+
await page.locator('.datetime-ready').waitFor();
|
|
204
204
|
const calendarBody = page.locator('ion-datetime .calendar-body');
|
|
205
205
|
const calendarHeader = page.locator('ion-datetime .calendar-month-year');
|
|
206
206
|
await expect(calendarHeader).toHaveText(/May 2022/);
|
|
@@ -213,7 +213,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
213
213
|
await page.setContent(`
|
|
214
214
|
<ion-datetime value="2022-05-03"></ion-datetime>
|
|
215
215
|
`, config);
|
|
216
|
-
await page.
|
|
216
|
+
await page.locator('.datetime-ready').waitFor();
|
|
217
217
|
const calendarBody = page.locator('ion-datetime .calendar-body');
|
|
218
218
|
const calendarHeader = page.locator('ion-datetime .calendar-month-year');
|
|
219
219
|
await expect(calendarHeader).toHaveText(/May 2022/);
|
|
@@ -237,7 +237,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
237
237
|
await page.setContent(`
|
|
238
238
|
<ion-datetime></ion-datetime>
|
|
239
239
|
`, config);
|
|
240
|
-
await page.
|
|
240
|
+
await page.locator('.datetime-ready').waitFor();
|
|
241
241
|
const monthYearButton = page.locator('ion-datetime .calendar-month-year');
|
|
242
242
|
const monthYearInterface = page.locator('ion-datetime .datetime-year');
|
|
243
243
|
const datetime = page.locator('ion-datetime');
|
|
@@ -249,7 +249,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
249
249
|
await expect(datetime).not.toHaveClass(/datetime-ready/);
|
|
250
250
|
await datetime.evaluate((el) => el.style.removeProperty('display'));
|
|
251
251
|
await expect(datetime).toBeVisible();
|
|
252
|
-
await page.
|
|
252
|
+
await page.locator('.datetime-ready').waitFor();
|
|
253
253
|
// month/year interface should be reset
|
|
254
254
|
await expect(monthYearInterface).toBeHidden();
|
|
255
255
|
});
|
|
@@ -287,7 +287,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
|
|
287
287
|
await page.setContent(`
|
|
288
288
|
<ion-datetime value="2022-11-10" show-clear-button="true"></ion-datetime>
|
|
289
289
|
`, config);
|
|
290
|
-
await page.
|
|
290
|
+
await page.locator('.datetime-ready').waitFor();
|
|
291
291
|
const selectedDay = page.locator('ion-datetime .calendar-day-active');
|
|
292
292
|
await expect(selectedDay).toHaveText('10');
|
|
293
293
|
await page.click('ion-datetime #clear-button');
|
|
@@ -306,7 +306,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
306
306
|
await page.setContent(`
|
|
307
307
|
<ion-datetime presentation="date" value="2022-01-02"></ion-datetime>
|
|
308
308
|
`, config);
|
|
309
|
-
await page.
|
|
309
|
+
await page.locator('.datetime-ready').waitFor();
|
|
310
310
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
311
311
|
const calendarButtons = page.locator('.calendar-day:not([disabled])');
|
|
312
312
|
await calendarButtons.nth(0).click();
|
|
@@ -317,7 +317,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
317
317
|
await page.setContent(`
|
|
318
318
|
<ion-datetime presentation="date" value="2022-01-02"></ion-datetime>
|
|
319
319
|
`, config);
|
|
320
|
-
await page.
|
|
320
|
+
await page.locator('.datetime-ready').waitFor();
|
|
321
321
|
const ionChange = await page.spyOnEvent('ionChange');
|
|
322
322
|
const datetime = page.locator('ion-datetime');
|
|
323
323
|
await datetime.evaluate((el) => (el.value = '2022-01-01'));
|
|
@@ -349,7 +349,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
349
349
|
</script>
|
|
350
350
|
`, config);
|
|
351
351
|
const datetime = page.locator('ion-datetime');
|
|
352
|
-
await page.
|
|
352
|
+
await page.locator('.datetime-ready').waitFor();
|
|
353
353
|
await expect(datetime.locator('.calendar-day-today')).toHaveScreenshot(screenshot(`datetime-today-calendar-button`));
|
|
354
354
|
});
|
|
355
355
|
});
|
|
@@ -369,7 +369,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
|
|
|
369
369
|
<ion-datetime value="2021-01-01"></ion-datetime>
|
|
370
370
|
`, config);
|
|
371
371
|
const datetime = page.locator('ion-datetime');
|
|
372
|
-
await page.
|
|
372
|
+
await page.locator('.datetime-ready').waitFor();
|
|
373
373
|
await expect(datetime).toHaveScreenshot(screenshot(`date-highlight-start-of-month`));
|
|
374
374
|
await datetime.evaluate((el) => (el.value = '2021-01-31'));
|
|
375
375
|
await page.waitForChanges();
|
|
@@ -387,7 +387,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
387
387
|
await page.setContent(`
|
|
388
388
|
<ion-datetime value="2023-08-01"></ion-datetime>
|
|
389
389
|
`, config);
|
|
390
|
-
await page.
|
|
390
|
+
await page.locator('.datetime-ready').waitFor();
|
|
391
391
|
const datetime = page.locator('ion-datetime');
|
|
392
392
|
const day = datetime.locator(`.calendar-day[data-day='1'][data-month='8']`);
|
|
393
393
|
await day.focus();
|
|
@@ -9,7 +9,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
|
9
9
|
await page.setContent(`
|
|
10
10
|
<ion-datetime locale="en-US" presentation="date" value="2022-01-31"></ion-datetime>
|
|
11
11
|
`, config);
|
|
12
|
-
await page.
|
|
12
|
+
await page.locator('.datetime-ready').waitFor();
|
|
13
13
|
});
|
|
14
14
|
test('should switch the calendar header when moving to a month with a different number of days', async ({ page, }) => {
|
|
15
15
|
const monthYearToggle = page.locator('ion-datetime .calendar-month-year');
|
|
@@ -99,7 +99,7 @@ configs({ directions: ['ltr'], modes: ['ios'] }).forEach(({ title, config }) =>
|
|
|
99
99
|
test.describe('check example usages', () => {
|
|
100
100
|
test.beforeEach(async ({ page }) => {
|
|
101
101
|
await page.goto('/src/components/datetime/test/disable-dates', config);
|
|
102
|
-
await page.
|
|
102
|
+
await page.locator('.datetime-ready').first().waitFor();
|
|
103
103
|
});
|
|
104
104
|
test('should disable a specific date', async ({ page }) => {
|
|
105
105
|
const disabledDay = queryAllDisabledDays(page, '#specificDate');
|
|
@@ -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" disabled></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
|
});
|
|
@@ -28,7 +28,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
28
28
|
await page.setContent(`
|
|
29
29
|
<ion-datetime value="2022-02-28" disabled></ion-datetime>
|
|
30
30
|
`, config);
|
|
31
|
-
await page.
|
|
31
|
+
await page.locator('.datetime-ready').waitFor();
|
|
32
32
|
const calendarMonthYear = page.locator('ion-datetime .calendar-month-year');
|
|
33
33
|
await expect(calendarMonthYear.locator('button')).toBeDisabled();
|
|
34
34
|
});
|
|
@@ -46,7 +46,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
46
46
|
|
|
47
47
|
<ion-datetime value="2022-02-22T16:30:00" show-default-buttons="true" show-clear-button="true" disabled></ion-datetime>
|
|
48
48
|
`, config);
|
|
49
|
-
await page.
|
|
49
|
+
await page.locator('.datetime-ready').waitFor();
|
|
50
50
|
const clearButton = page.locator('#clear-button button');
|
|
51
51
|
await expect(clearButton).toBeDisabled();
|
|
52
52
|
});
|
|
@@ -54,7 +54,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config, scree
|
|
|
54
54
|
await page.setContent(`
|
|
55
55
|
<ion-datetime value="2022-02-28" disabled></ion-datetime>
|
|
56
56
|
`, config);
|
|
57
|
-
await page.
|
|
57
|
+
await page.locator('.datetime-ready').waitFor();
|
|
58
58
|
const calendarMonthYear = page.locator('ion-datetime .calendar-month-year');
|
|
59
59
|
const calendarBody = page.locator('.calendar-body');
|
|
60
60
|
await expect(calendarMonthYear).toHaveText('February 2022');
|