voyager-ionic-core 8.0.0-rc.0 → 8.0.1
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 +3 -3
- package/components/alert.js +2 -2
- package/components/backdrop.js +1 -1
- package/components/button.js +4 -4
- package/components/buttons.js +2 -2
- package/components/checkbox.js +5 -5
- package/components/input-shims.js +5 -5
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +4 -4
- package/components/ion-breadcrumbs.js +2 -2
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-content.js +3 -3
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +12 -3
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +47 -23
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +5 -5
- package/components/ion-toolbar.js +2 -2
- package/components/item.js +1 -1
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +4 -4
- package/components/radio-group.js +1 -1
- package/components/radio.js +5 -5
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/css/core.css +1 -624
- package/css/core.css.map +1 -1
- package/css/display.css +1 -131
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -81
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css +1 -293
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +1 -457
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -127
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css +1 -150
- package/css/normalize.css.map +1 -1
- package/css/padding.css +1 -202
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css +1 -160
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -160
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.css +0 -2
- package/css/palettes/dark.system.css +1 -162
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css +1 -180
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css +1 -180
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.css +0 -2
- package/css/palettes/high-contrast-dark.system.css +1 -182
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css +1 -101
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css +1 -101
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.css +0 -2
- package/css/palettes/high-contrast.system.css +1 -103
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css +1 -152
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +1 -243
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +1 -158
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +1 -157
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1100
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-63aebf89.js → app-globals-542c4d91.js} +1 -1
- package/dist/cjs/{button-active-bd13859e.js → button-active-47528f4c.js} +1 -1
- package/dist/cjs/{hardware-back-button-ad9299b4.js → hardware-back-button-06ae4d9c.js} +2 -2
- package/dist/cjs/index-1437d080.js +11980 -0
- package/dist/cjs/{index-5cf05f94.js → index-57b504ac.js} +2 -2
- package/dist/cjs/{index-ff66cc7c.js → index-c76a1d14.js} +3 -3
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{input-shims-20d639e6.js → input-shims-9e59ef62.js} +5 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +7 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +22 -22
- package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-button_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-card_5.cjs.entry.js +10 -10
- package/dist/cjs/ion-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/ion-chip.cjs.entry.js +4 -4
- package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-fab_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +14 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +15 -15
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
- package/dist/cjs/ion-modal.cjs.entry.js +52 -28
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker.cjs.entry.js +3 -3
- package/dist/cjs/ion-popover.cjs.entry.js +9 -9
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +7 -7
- package/dist/cjs/{ionic-global-1adf9bc4.js → ionic-global-f3622afe.js} +1 -1
- package/dist/cjs/ionic.cjs.js +30 -32
- package/dist/cjs/{ios.transition-06673f18.js → ios.transition-288dfa83.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-4d7bb4b1.js → md.transition-6e5f6a8d.js} +2 -2
- package/dist/cjs/{overlays-6487955a.js → overlays-32cfd236.js} +2 -2
- package/dist/cjs/{status-tap-0be20572.js → status-tap-c47ff5f5.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/action-sheet/action-sheet.js +3 -3
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/app/app.js +1 -1
- 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 +4 -4
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.ios.css +47 -8
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/button.md.css +49 -8
- package/dist/collection/components/buttons/buttons.js +2 -2
- 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/checkbox/checkbox.ios.css +1 -0
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox/checkbox.md.css +1 -0
- 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 +2 -2
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +14 -7
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- 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/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/input/input.js +13 -4
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item/item.js +1 -1
- 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 +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 +2 -2
- 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/gestures/sheet.js +45 -20
- package/dist/collection/components/modal/modal.js +4 -4
- 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/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.ios.css +0 -1
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/popover/popover.md.css +0 -1
- package/dist/collection/components/popover/test/basic/popover.e2e.js +76 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.ios.css +1 -0
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio/radio.md.css +1 -0
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.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/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 +5 -5
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +2 -2
- 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 +2 -2
- 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/textarea.js +2 -2
- 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/toggle/test/enable-on-off-labels/toggle.e2e.js +51 -31
- package/dist/collection/components/toggle/toggle.ios.css +1 -0
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle/toggle.md.css +1 -0
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +133 -5
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +5 -5
- package/dist/collection/utils/test/playwright/page/utils/goto.js +12 -3
- package/dist/docs.json +31 -31
- package/dist/esm/{app-globals-b8e5e7fa.js → app-globals-3cbaf9d9.js} +1 -1
- package/dist/esm/{button-active-a411da52.js → button-active-9e3c1f3b.js} +1 -1
- package/dist/esm/{hardware-back-button-329c81fd.js → hardware-back-button-804f43bb.js} +2 -2
- package/dist/esm/index-5dc2b88e.js +11942 -0
- package/dist/esm/{index-10916999.js → index-8dbae644.js} +2 -2
- package/dist/esm/{index-f1f5de26.js → index-f7fbe1fb.js} +3 -3
- package/dist/esm/index.js +8 -8
- package/dist/esm/{input-shims-4530285e.js → input-shims-0314bbe5.js} +5 -5
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +7 -7
- package/dist/esm/ion-app_8.entry.js +22 -22
- package/dist/esm/ion-avatar_3.entry.js +6 -6
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +8 -8
- package/dist/esm/ion-button_2.entry.js +6 -6
- package/dist/esm/ion-card_5.entry.js +10 -10
- package/dist/esm/ion-checkbox.entry.js +7 -7
- package/dist/esm/ion-chip.entry.js +4 -4
- package/dist/esm/ion-col_3.entry.js +7 -7
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +10 -10
- package/dist/esm/ion-fab_3.entry.js +8 -8
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +14 -5
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +15 -15
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +11 -11
- package/dist/esm/ion-modal.entry.js +52 -28
- package/dist/esm/ion-nav_2.entry.js +5 -5
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +5 -5
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +9 -9
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +8 -8
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +7 -7
- package/dist/esm/ion-select_3.entry.js +8 -8
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +7 -7
- package/dist/esm/{ionic-global-c4e0c089.js → ionic-global-d2d8f882.js} +1 -1
- package/dist/esm/ionic.js +31 -33
- package/dist/esm/{ios.transition-8e181a7e.js → ios.transition-a0041e41.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-f1c3c737.js → md.transition-0c0602d9.js} +2 -2
- package/dist/esm/{overlays-9472c98b.js → overlays-696d25f5.js} +2 -2
- package/dist/esm/{status-tap-39da9160.js → status-tap-37a74d1c.js} +1 -1
- package/dist/esm-es5/app-globals-3cbaf9d9.js +4 -0
- package/dist/esm-es5/{button-active-a411da52.js → button-active-9e3c1f3b.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-329c81fd.js → hardware-back-button-804f43bb.js} +1 -1
- package/dist/esm-es5/index-5dc2b88e.js +18 -0
- package/dist/esm-es5/{index-10916999.js → index-8dbae644.js} +1 -1
- package/dist/esm-es5/{index-f1f5de26.js → index-f7fbe1fb.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- 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-password-toggle.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-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.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-c4e0c089.js → ionic-global-d2d8f882.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-8e181a7e.js → ios.transition-a0041e41.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-0c0602d9.js +4 -0
- package/dist/esm-es5/{overlays-9472c98b.js → overlays-696d25f5.js} +1 -1
- package/dist/esm-es5/{status-tap-39da9160.js → status-tap-37a74d1c.js} +1 -1
- package/dist/html.html-data.json +18 -18
- 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-6a7eac5a.js → p-051d2d23.js} +1 -1
- package/dist/ionic/p-057b5866.entry.js +4 -0
- package/dist/ionic/{p-546433d2.js → p-06d5221c.js} +1 -1
- package/dist/ionic/{p-266fc56e.system.js → p-06fad524.system.js} +1 -1
- package/dist/ionic/p-08c4d048.entry.js +4 -0
- package/dist/ionic/p-0af79ebd.entry.js +4 -0
- package/dist/ionic/{p-04070329.system.entry.js → p-0b12d1ee.system.entry.js} +1 -1
- package/dist/ionic/p-0d56dea9.entry.js +4 -0
- package/dist/ionic/p-0d960144.system.entry.js +4 -0
- package/dist/ionic/{p-4511ba0e.system.entry.js → p-13bfcef4.system.entry.js} +1 -1
- package/dist/ionic/{p-25575222.system.js → p-16016625.system.js} +1 -1
- package/dist/ionic/{p-d98c0112.entry.js → p-1930d8e7.entry.js} +1 -1
- package/dist/ionic/{p-5033128d.system.js → p-1980c728.system.js} +2 -2
- package/dist/ionic/{p-49b6fee0.system.entry.js → p-1a5227b3.system.entry.js} +1 -1
- package/dist/ionic/{p-9d7fc908.system.js → p-1e4d7975.system.js} +1 -1
- package/dist/ionic/{p-75cddcc9.js → p-20304962.js} +1 -1
- package/dist/ionic/p-23e440b6.entry.js +4 -0
- package/dist/ionic/{p-46111310.js → p-2690b1de.js} +1 -1
- package/dist/ionic/{p-58ea73f7.system.entry.js → p-26d33af2.system.entry.js} +1 -1
- package/dist/ionic/{p-2f6cedaf.system.entry.js → p-283fd4e1.system.entry.js} +1 -1
- package/dist/ionic/{p-4429fc97.system.entry.js → p-2a3e98fb.system.entry.js} +1 -1
- package/dist/ionic/{p-07ae133d.system.entry.js → p-2ab5db0d.system.entry.js} +1 -1
- package/dist/ionic/{p-c9c39c98.system.entry.js → p-2b1e669d.system.entry.js} +1 -1
- package/dist/ionic/{p-51b68ec9.system.entry.js → p-2c3c7cb9.system.entry.js} +2 -2
- package/dist/ionic/p-2dfdda15.system.entry.js +4 -0
- package/dist/ionic/{p-1672c4fd.system.entry.js → p-2f308f7f.system.entry.js} +2 -2
- package/dist/ionic/p-2fa34b5c.entry.js +4 -0
- package/dist/ionic/p-32048e4c.system.js +18 -0
- package/dist/ionic/{p-fbd30ec7.entry.js → p-320cfcab.entry.js} +1 -1
- package/dist/ionic/{p-88cff52d.entry.js → p-33d926c3.entry.js} +1 -1
- package/dist/ionic/{p-6994c97a.js → p-34511b1d.js} +1 -1
- package/dist/ionic/{p-75280815.entry.js → p-385964e6.entry.js} +1 -1
- package/dist/ionic/{p-0f2d99a6.entry.js → p-3f5b86b4.entry.js} +1 -1
- package/dist/ionic/{p-fb02eeec.system.entry.js → p-42f00e72.system.entry.js} +1 -1
- package/dist/ionic/{p-7df2c495.entry.js → p-4324e8a4.entry.js} +1 -1
- package/dist/ionic/{p-716ab5f8.system.entry.js → p-45034312.system.entry.js} +1 -1
- package/dist/ionic/{p-d79542bd.system.js → p-45664cb9.system.js} +1 -1
- package/dist/ionic/{p-c04d5a75.entry.js → p-470f73c4.entry.js} +1 -1
- package/dist/ionic/{p-fab4ecad.system.entry.js → p-48888af6.system.entry.js} +2 -2
- package/dist/ionic/p-49cdc4f2.entry.js +4 -0
- package/dist/ionic/p-4ad48ec9.system.entry.js +4 -0
- package/dist/ionic/p-4af0b730.js +8 -0
- package/dist/ionic/{p-3c70b01b.entry.js → p-4c153abb.entry.js} +1 -1
- package/dist/ionic/{p-71215c1d.system.js → p-4e5288de.system.js} +1 -1
- package/dist/ionic/{p-ac4e2a74.system.entry.js → p-4e548bd7.system.entry.js} +1 -1
- package/dist/ionic/p-4fcef939.entry.js +4 -0
- package/dist/ionic/{p-ff2323ba.system.entry.js → p-53a3b33c.system.entry.js} +1 -1
- package/dist/ionic/{p-049fa018.system.entry.js → p-567a21a2.system.entry.js} +1 -1
- package/dist/ionic/{p-100bedc4.system.entry.js → p-576786c0.system.entry.js} +1 -1
- package/dist/ionic/{p-76907c2f.system.entry.js → p-583f8865.system.entry.js} +1 -1
- package/dist/ionic/p-58f89707.js +4 -0
- package/dist/ionic/p-5a3a3373.entry.js +4 -0
- package/dist/ionic/{p-5e7c32e8.system.entry.js → p-5d3a8503.system.entry.js} +1 -1
- package/dist/ionic/p-5d4d89e0.system.entry.js +4 -0
- package/dist/ionic/p-5d80b741.entry.js +4 -0
- package/dist/ionic/{p-510578f3.system.entry.js → p-5fbc2eae.system.entry.js} +1 -1
- package/dist/ionic/{p-71688099.system.entry.js → p-5ff497dc.system.entry.js} +1 -1
- package/dist/ionic/p-63265e00.system.entry.js +4 -0
- package/dist/ionic/{p-cae889f9.entry.js → p-6730a2f1.entry.js} +1 -1
- package/dist/ionic/{p-3e3b34f7.system.entry.js → p-6e9bd6ba.system.entry.js} +1 -1
- package/dist/ionic/p-70181008.entry.js +4 -0
- package/dist/ionic/p-720927ad.entry.js +4 -0
- package/dist/ionic/p-748e6b2b.system.entry.js +4 -0
- package/dist/ionic/{p-ea4be6ac.system.js → p-7536b4b3.system.js} +1 -1
- package/dist/ionic/{p-c222f76a.js → p-77ce6034.js} +1 -1
- package/dist/ionic/{p-b689b8d4.entry.js → p-7ef5bb32.entry.js} +1 -1
- package/dist/ionic/p-7f59064a.entry.js +4 -0
- package/dist/ionic/{p-d2544865.system.js → p-806aad8f.system.js} +1 -1
- package/dist/ionic/{p-a1b4e619.system.entry.js → p-80f85095.system.entry.js} +1 -1
- package/dist/ionic/{p-d8067ea4.system.entry.js → p-819e8479.system.entry.js} +1 -1
- package/dist/ionic/p-8627f783.system.entry.js +4 -0
- package/dist/ionic/{p-df48edd6.entry.js → p-8664c316.entry.js} +1 -1
- package/dist/ionic/{p-7d9eefb3.system.js → p-8c4fc85f.system.js} +1 -1
- package/dist/ionic/{p-fb97326f.system.entry.js → p-8caca06c.system.entry.js} +1 -1
- package/dist/ionic/{p-a88fdfac.entry.js → p-8e031d97.entry.js} +1 -1
- package/dist/ionic/p-8f48c966.system.entry.js +4 -0
- package/dist/ionic/p-9384565a.entry.js +4 -0
- package/dist/ionic/{p-d5f48185.system.entry.js → p-93e43f42.system.entry.js} +1 -1
- package/dist/ionic/{p-e8a0e731.entry.js → p-94180ecc.entry.js} +1 -1
- package/dist/ionic/p-94731a92.system.entry.js +4 -0
- package/dist/ionic/p-9b31ebfa.entry.js +4 -0
- package/dist/ionic/{p-43505ff8.system.entry.js → p-a592f1b8.system.entry.js} +1 -1
- package/dist/ionic/p-a801da4b.system.entry.js +4 -0
- package/dist/ionic/{p-c1d1d004.system.entry.js → p-aa0ed22b.system.entry.js} +1 -1
- package/dist/ionic/{p-a8f02173.system.js → p-aa0f60b2.system.js} +1 -1
- package/dist/ionic/p-adb896a0.entry.js +4 -0
- package/dist/ionic/{p-a7ba2dcc.system.js → p-b0093947.system.js} +1 -1
- package/dist/ionic/{p-99daf8b7.entry.js → p-b571cab1.entry.js} +1 -1
- package/dist/ionic/{p-0bbb6edf.system.entry.js → p-b76bcd9e.system.entry.js} +1 -1
- package/dist/ionic/{p-d8f66669.entry.js → p-b799a007.entry.js} +1 -1
- package/dist/ionic/{p-3d6e882f.system.entry.js → p-bbbe3138.system.entry.js} +1 -1
- package/dist/ionic/p-bd6d9610.entry.js +4 -0
- package/dist/ionic/{p-fda4872f.entry.js → p-bdd3053f.entry.js} +1 -1
- package/dist/ionic/{p-8e9ac22d.entry.js → p-c07e7a5d.entry.js} +1 -1
- package/dist/ionic/{p-5da04d11.entry.js → p-c23627c3.entry.js} +1 -1
- package/dist/ionic/{p-0ebb1fe7.system.entry.js → p-c3ca0292.system.entry.js} +1 -1
- package/dist/ionic/p-c4676693.entry.js +4 -0
- package/dist/ionic/p-c62571da.entry.js +4 -0
- package/dist/ionic/{p-3040730e.js → p-c671b28e.js} +1 -1
- package/dist/ionic/p-c7e0b81a.entry.js +4 -0
- package/dist/ionic/p-c9ba1908.entry.js +4 -0
- package/dist/ionic/{p-4dd82d9d.system.js → p-cb4f96f3.system.js} +1 -1
- package/dist/ionic/p-cc856712.entry.js +4 -0
- package/dist/ionic/{p-f4cb521c.js → p-cd1b9056.js} +1 -1
- package/dist/ionic/{p-ea2c16b5.system.entry.js → p-cdee3a44.system.entry.js} +2 -2
- package/dist/ionic/{p-54f76ced.js → p-d11c336d.js} +1 -1
- package/dist/ionic/{p-83321ee8.entry.js → p-d1a8f599.entry.js} +1 -1
- package/dist/ionic/{p-68a1e274.system.entry.js → p-d6229f05.system.entry.js} +1 -1
- package/dist/ionic/p-d918e7ef.system.entry.js +4 -0
- package/dist/ionic/p-df062892.system.entry.js +4 -0
- package/dist/ionic/p-dfb78785.system.js +4 -0
- package/dist/ionic/{p-105f7d62.system.entry.js → p-e3005be4.system.entry.js} +1 -1
- package/dist/ionic/p-e49099b0.entry.js +4 -0
- package/dist/ionic/p-e885f3c4.entry.js +4 -0
- package/dist/ionic/{p-8bd567ba.system.entry.js → p-e9ef13be.system.entry.js} +1 -1
- package/dist/ionic/p-ebe0aa6d.entry.js +4 -0
- package/dist/ionic/p-ee3bbaf2.entry.js +4 -0
- package/dist/ionic/p-f0be340f.entry.js +4 -0
- package/dist/ionic/p-f5c42f72.entry.js +4 -0
- package/dist/ionic/p-fc94e18f.entry.js +4 -0
- package/dist/ionic/p-fd392e7f.system.entry.js +4 -0
- package/dist/ionic/p-fdf40b09.js +4 -0
- package/dist/types/components/datetime/utils/manipulation.d.ts +7 -7
- package/dist/types/components/datetime/utils/state.d.ts +2 -2
- package/dist/types/components/input/input.utils.d.ts +1 -1
- package/dist/types/components/modal/animations/sheet.d.ts +4 -4
- package/dist/types/components/refresher/refresher.utils.d.ts +2 -2
- package/dist/types/utils/framework-delegate.d.ts +1 -1
- package/dist/types/utils/keyboard/keyboard-controller.d.ts +1 -1
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +13690 -8472
- package/package.json +7 -7
- package/dist/cjs/index-af6d0fbb.js +0 -3300
- package/dist/esm/index-6e4709ff.js +0 -3262
- package/dist/esm-es5/app-globals-b8e5e7fa.js +0 -4
- package/dist/esm-es5/index-6e4709ff.js +0 -5
- package/dist/esm-es5/input-shims-4530285e.js +0 -4
- package/dist/esm-es5/md.transition-f1c3c737.js +0 -4
- package/dist/ionic/p-0aa4682e.entry.js +0 -4
- package/dist/ionic/p-0de546bb.entry.js +0 -4
- package/dist/ionic/p-17978fce.entry.js +0 -4
- package/dist/ionic/p-1b235142.entry.js +0 -4
- package/dist/ionic/p-1cff9cad.entry.js +0 -4
- package/dist/ionic/p-1f9cdee2.entry.js +0 -4
- package/dist/ionic/p-23b89985.entry.js +0 -4
- package/dist/ionic/p-2e12bda2.entry.js +0 -4
- package/dist/ionic/p-3391d9a3.entry.js +0 -4
- package/dist/ionic/p-352f7037.system.entry.js +0 -4
- package/dist/ionic/p-35b9e842.entry.js +0 -4
- package/dist/ionic/p-3f70bfba.entry.js +0 -4
- package/dist/ionic/p-46f407f0.system.js +0 -4
- package/dist/ionic/p-4a615fea.entry.js +0 -4
- package/dist/ionic/p-51ff648c.entry.js +0 -4
- package/dist/ionic/p-56c3b69c.entry.js +0 -4
- package/dist/ionic/p-596e0cf8.system.entry.js +0 -4
- package/dist/ionic/p-5ae49f12.entry.js +0 -4
- package/dist/ionic/p-5b1273f4.system.entry.js +0 -4
- package/dist/ionic/p-5d3f6707.entry.js +0 -4
- package/dist/ionic/p-65d26d94.system.entry.js +0 -4
- package/dist/ionic/p-6744e460.entry.js +0 -4
- package/dist/ionic/p-69bc14fd.entry.js +0 -4
- package/dist/ionic/p-6f4db5ce.system.entry.js +0 -4
- package/dist/ionic/p-74a9cafe.system.js +0 -5
- package/dist/ionic/p-7fc505bf.entry.js +0 -4
- package/dist/ionic/p-896111fa.entry.js +0 -4
- package/dist/ionic/p-9ad82dba.js +0 -5
- package/dist/ionic/p-a1f9f629.system.entry.js +0 -4
- package/dist/ionic/p-aa110ca0.system.entry.js +0 -4
- package/dist/ionic/p-aa4f2703.system.entry.js +0 -4
- package/dist/ionic/p-ab85debb.entry.js +0 -4
- package/dist/ionic/p-ac9f44a8.system.entry.js +0 -4
- package/dist/ionic/p-bb835b4d.system.entry.js +0 -4
- package/dist/ionic/p-c198e1e1.system.entry.js +0 -4
- package/dist/ionic/p-c41af68a.entry.js +0 -4
- package/dist/ionic/p-c80d05c9.js +0 -4
- package/dist/ionic/p-c8510ca2.entry.js +0 -4
- package/dist/ionic/p-c8f2b769.entry.js +0 -4
- package/dist/ionic/p-c99ccdc9.entry.js +0 -4
- package/dist/ionic/p-dc1372e0.entry.js +0 -4
- package/dist/ionic/p-df6fa126.entry.js +0 -4
- package/dist/ionic/p-eb3da535.system.entry.js +0 -4
- package/dist/ionic/p-ec2d3928.system.entry.js +0 -4
- package/dist/ionic/p-f0392d49.entry.js +0 -4
- package/dist/ionic/p-f818b01a.entry.js +0 -4
- package/dist/ionic/p-f94cbfe9.js +0 -4
|
@@ -51,11 +51,11 @@ export class TabBar {
|
|
|
51
51
|
const { color, translucent, keyboardVisible } = this;
|
|
52
52
|
const mode = getIonMode(this);
|
|
53
53
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '77fe8ff42b083bfdb5e01a9873ef45b6f3ce3744', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
55
55
|
[mode]: true,
|
|
56
56
|
'tab-bar-translucent': translucent,
|
|
57
57
|
'tab-bar-hidden': shouldHide,
|
|
58
|
-
}) }, h("slot", { key: '
|
|
58
|
+
}) }, h("slot", { key: 'd479c80ff66f4cfc12ab4a583bd292ef8392895e' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-tab-bar"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +70,7 @@ export class TabButton {
|
|
|
70
70
|
rel,
|
|
71
71
|
target,
|
|
72
72
|
};
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '092250aa4c247411c4717bf3871bdd7a47b7177f', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
74
74
|
[mode]: true,
|
|
75
75
|
'tab-selected': selected,
|
|
76
76
|
'tab-disabled': disabled,
|
|
@@ -82,7 +82,7 @@ export class TabButton {
|
|
|
82
82
|
'ion-activatable': true,
|
|
83
83
|
'ion-selectable': true,
|
|
84
84
|
'ion-focusable': true,
|
|
85
|
-
} }, h("a", Object.assign({ key: '
|
|
85
|
+
} }, h("a", Object.assign({ key: '0414e9284005ce34ad69c4858f1b30aff00beb86' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'df97b6b56fb86507d40e68caa49f888ee29f8da4', class: "button-inner" }, h("slot", { key: '715c209dd0cd61ac37b2813815014c685b7a92bc' })), mode === 'md' && h("ion-ripple-effect", { key: 'e6894153a563f63f4f7d84f2703cef0f7522d435', type: "unbounded" }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-tab-button"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +135,7 @@ export class Tabs {
|
|
|
135
135
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
136
136
|
}
|
|
137
137
|
render() {
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '13d9b30a83eb565b635ec7c547bd99da8c96aaa0', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'd885dbf0134cd5d256f7e3e9fc4844636c2c6cbf', name: "top" }), h("div", { key: '2f48887902d47c0e29afb8da450da22b874b0e76', class: "tabs-inner" }, h("slot", { key: 'bcdb41418edc7d176e570c37bb6a6ba1dc123f7d' })), h("slot", { key: '85101e7c57cf8cda04bd3a125f1207faf85110d2', name: "bottom" })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "ion-tabs"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,9 +13,9 @@ export class Text {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '096d8ca01301500d61d9e92299e0cc78c2ad86e3', class: createColorClasses(this.color, {
|
|
17
17
|
[mode]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: '9399d939ec4f134c24c29bda8857cd348259c666' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-text"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -359,7 +359,7 @@ export class Textarea {
|
|
|
359
359
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
360
360
|
*/
|
|
361
361
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
362
|
-
return (h(Host, { key: '
|
|
362
|
+
return (h(Host, { key: 'b4cf1f37cacdd1775fefb874b87b30ba753fdc3a', class: createColorClasses(this.color, {
|
|
363
363
|
[mode]: true,
|
|
364
364
|
'has-value': hasValue,
|
|
365
365
|
'has-focus': hasFocus,
|
|
@@ -368,7 +368,7 @@ export class Textarea {
|
|
|
368
368
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
369
369
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
370
370
|
'textarea-disabled': disabled,
|
|
371
|
-
}) }, h("label", { key: '
|
|
371
|
+
}) }, h("label", { key: '71673192cf9d61dd072d9c0c3caefad313ed7129', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '6ecfbc046cf6e14f0d58dca1bff7db2093620f01', class: "textarea-wrapper-inner" }, h("div", { key: '7d2410de5dd971f74406ab8a321d87709873fa22', class: "start-slot-wrapper" }, h("slot", { key: '061cc0dd516b2f3a4ad7199790028e5d525a3ab2', name: "start" })), h("div", { key: 'f75309006f7c4e835f346cecf243f104e37bd477', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: 'ba47358352fcd30e659b7ac684ce2e5b83744150', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: 'bebb8b585bc4e7adb9192665679cd7073e23240c', class: "end-slot-wrapper" }, h("slot", { key: '734f40dcc6a57771c00f7528fb19544bb68fc563', name: "end" }))), shouldRenderHighlight && h("div", { key: 'e5a1bbebc2e16cb1b3f2bce312494447a0b36957', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
372
372
|
}
|
|
373
373
|
static get is() { return "ion-textarea"; }
|
|
374
374
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Thumbnail {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '29ed7678be93e55afad58bd37a61db3a289a5d76', class: getIonMode(this) }, h("slot", { key: 'da1eb174d2544b9d452c98076f6e0abcda60099d' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-thumbnail"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class ToolbarTitle {
|
|
|
27
27
|
render() {
|
|
28
28
|
const mode = getIonMode(this);
|
|
29
29
|
const size = this.getSize();
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '5cb49f3642fb3c937cdba729ab7d561213d9bce5', class: createColorClasses(this.color, {
|
|
31
31
|
[mode]: true,
|
|
32
32
|
[`title-${size}`]: true,
|
|
33
33
|
'title-rtl': document.dir === 'rtl',
|
|
34
|
-
}) }, h("div", { key: '
|
|
34
|
+
}) }, h("div", { key: 'f089bf6cff17ab109fec7de8b1bf96bf33bede1f', class: "toolbar-title" }, h("slot", { key: 'ed74c4e77126a309970ff719baa6ebaebb00d2e6' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -388,9 +388,9 @@ export class Toast {
|
|
|
388
388
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
389
389
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
390
390
|
}
|
|
391
|
-
return (h(Host, Object.assign({ key: '
|
|
391
|
+
return (h(Host, Object.assign({ key: 'f3555e5e093ce5dc5114df2e7ed298afa79eee02', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
392
392
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
393
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
393
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '3a98853e3b9c4c015a0e4035ad34f7fe02ec3b1c', class: wrapperClass }, h("div", { key: '3c3447ce2a1fd4aecc3f7da1c1bb0c504fb6fcf7', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '40bb8c55ac8bf7ce283bf2cdeb5902e76ad911ca', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'bfe843cce24b0205cdce48a544b294dcb0946eb4', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
394
394
|
}
|
|
395
395
|
static get is() { return "ion-toast"; }
|
|
396
396
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,39 +3,59 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
configs().forEach(({ title, screenshot, config }) => {
|
|
7
|
-
test.describe(title('toggle:
|
|
8
|
-
test.beforeEach(async ({ page }) => {
|
|
9
|
-
await page.goto(`/src/components/toggle/test/enable-on-off-labels`, config);
|
|
10
|
-
});
|
|
6
|
+
configs({ palettes: ['light', 'dark'] }).forEach(({ title, screenshot, config }) => {
|
|
7
|
+
test.describe(title('toggle: enable-on-off-labels'), () => {
|
|
11
8
|
test('should not have visual regressions', async ({ page }) => {
|
|
12
|
-
await page.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
await page.setContent(`
|
|
10
|
+
<style>
|
|
11
|
+
#container {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: repeat(2, auto);
|
|
14
|
+
justify-content: space-evenly;
|
|
15
|
+
gap: 8px;
|
|
16
|
+
padding: 16px 0;
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
19
|
+
|
|
20
|
+
<div id="container">
|
|
21
|
+
<ion-toggle enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
22
|
+
<ion-toggle enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
23
|
+
</div>
|
|
24
|
+
`, config);
|
|
25
|
+
const container = page.locator('#container');
|
|
26
|
+
await expect(container).toHaveScreenshot(screenshot(`toggle-on-off-labels`));
|
|
24
27
|
});
|
|
25
|
-
test('should not have visual regressions', async ({ page }) => {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
test('should not have visual regressions with color', async ({ page }) => {
|
|
29
|
+
await page.setContent(`
|
|
30
|
+
<style>
|
|
31
|
+
#container {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-columns: repeat(2, auto);
|
|
34
|
+
justify-content: space-evenly;
|
|
35
|
+
gap: 8px;
|
|
36
|
+
padding: 16px 0;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
|
39
|
+
|
|
40
|
+
<div id="container">
|
|
41
|
+
<ion-toggle color="secondary" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
42
|
+
<ion-toggle color="secondary" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
43
|
+
<ion-toggle color="success" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
44
|
+
<ion-toggle color="success" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
45
|
+
<ion-toggle color="danger" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
46
|
+
<ion-toggle color="danger" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
47
|
+
<ion-toggle color="tertiary" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
48
|
+
<ion-toggle color="tertiary" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
49
|
+
<ion-toggle color="light" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
50
|
+
<ion-toggle color="light" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
51
|
+
<ion-toggle color="medium" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
52
|
+
<ion-toggle color="medium" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
53
|
+
<ion-toggle color="dark" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
54
|
+
<ion-toggle color="dark" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
55
|
+
</div>
|
|
56
|
+
`, config);
|
|
57
|
+
const container = page.locator('#container');
|
|
58
|
+
await expect(container).toHaveScreenshot(screenshot(`toggle-on-off-labels-color`));
|
|
39
59
|
});
|
|
40
60
|
});
|
|
41
61
|
});
|
|
@@ -157,7 +157,7 @@ export class Toggle {
|
|
|
157
157
|
const value = this.getValue();
|
|
158
158
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
159
159
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'c945ab955306b2fcb7833f7ff771ac943d73d27d', onClick: this.onClick, class: createColorClasses(color, {
|
|
161
161
|
[mode]: true,
|
|
162
162
|
'in-item': hostContext('ion-item', el),
|
|
163
163
|
'toggle-activated': activated,
|
|
@@ -167,10 +167,10 @@ export class Toggle {
|
|
|
167
167
|
[`toggle-alignment-${alignment}`]: true,
|
|
168
168
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
169
169
|
[`toggle-${rtl}`]: true,
|
|
170
|
-
}) }, h("label", { key: '
|
|
170
|
+
}) }, h("label", { key: '71fb6976e877639ca9f28c2103f6290917cdb6ce', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'ed2495568197928ef1f17fc60470f4d9754a6244', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '953ab9a29c432de4b869aeac296007e703bcdf27', class: {
|
|
171
171
|
'label-text-wrapper': true,
|
|
172
172
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
173
|
-
}, part: "label" }, h("slot", { key: '
|
|
173
|
+
}, part: "label" }, h("slot", { key: '718b24b4d59b979c11edfb1d90fa0270ac248b2f' })), h("div", { key: '293595f9dc291df38a54e23f81797b89428ff2c5', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "ion-toggle"; }
|
|
176
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,13 +3,141 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { expect } from "@playwright/test";
|
|
5
5
|
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
configs().forEach(({ title, screenshot, config }) => {
|
|
6
|
+
configs({ palettes: ['light', 'dark'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
|
+
test.describe(title('toolbar: basic (LTR only)'), () => {
|
|
8
|
+
test('should not have visual regressions with text only', async ({ page }) => {
|
|
9
|
+
await page.setContent(`
|
|
10
|
+
<ion-header>
|
|
11
|
+
<ion-toolbar>
|
|
12
|
+
<ion-title>Toolbar</ion-title>
|
|
13
|
+
</ion-toolbar>
|
|
14
|
+
</ion-header>
|
|
15
|
+
`, config);
|
|
16
|
+
const header = page.locator('ion-header');
|
|
17
|
+
await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-text-only`));
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
configs({ palettes: ['light', 'dark'] }).forEach(({ title, screenshot, config }) => {
|
|
7
22
|
test.describe(title('toolbar: basic'), () => {
|
|
8
|
-
test('should
|
|
9
|
-
await page.
|
|
10
|
-
|
|
23
|
+
test('should truncate long title with ellipsis', async ({ page }) => {
|
|
24
|
+
await page.setContent(`
|
|
25
|
+
<ion-header>
|
|
26
|
+
<ion-toolbar>
|
|
27
|
+
<ion-title>This is the title that never ends. It just goes on and on my friend.</ion-title>
|
|
28
|
+
</ion-toolbar>
|
|
29
|
+
</ion-header>
|
|
30
|
+
`, config);
|
|
31
|
+
const header = page.locator('ion-header');
|
|
32
|
+
await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-long-text`));
|
|
33
|
+
});
|
|
34
|
+
test('should not have visual regressions with icon-only buttons', async ({ page }) => {
|
|
35
|
+
await page.setContent(`
|
|
36
|
+
<ion-header>
|
|
37
|
+
<ion-toolbar>
|
|
38
|
+
<ion-buttons slot="secondary">
|
|
39
|
+
<ion-button>
|
|
40
|
+
<ion-icon slot="icon-only" name="person-circle"></ion-icon>
|
|
41
|
+
</ion-button>
|
|
42
|
+
<ion-button>
|
|
43
|
+
<ion-icon slot="icon-only" name="search"></ion-icon>
|
|
44
|
+
</ion-button>
|
|
45
|
+
</ion-buttons>
|
|
46
|
+
<ion-buttons slot="primary">
|
|
47
|
+
<ion-button color="secondary">
|
|
48
|
+
<ion-icon slot="icon-only" ios="ellipsis-horizontal" md="ellipsis-vertical"></ion-icon>
|
|
49
|
+
</ion-button>
|
|
50
|
+
</ion-buttons>
|
|
51
|
+
<ion-title>Toolbar</ion-title>
|
|
52
|
+
</ion-toolbar>
|
|
53
|
+
<ion-toolbar>
|
|
54
|
+
<ion-buttons slot="secondary">
|
|
55
|
+
<ion-button class="ion-activated">
|
|
56
|
+
<ion-icon slot="icon-only" name="person-circle"></ion-icon>
|
|
57
|
+
</ion-button>
|
|
58
|
+
<ion-button class="ion-activated">
|
|
59
|
+
<ion-icon slot="icon-only" name="search"></ion-icon>
|
|
60
|
+
</ion-button>
|
|
61
|
+
</ion-buttons>
|
|
62
|
+
<ion-buttons slot="primary">
|
|
63
|
+
<ion-button color="secondary" class="ion-activated">
|
|
64
|
+
<ion-icon slot="icon-only" ios="ellipsis-horizontal" md="ellipsis-vertical"></ion-icon>
|
|
65
|
+
</ion-button>
|
|
66
|
+
</ion-buttons>
|
|
67
|
+
<ion-title>Activated Buttons</ion-title>
|
|
68
|
+
</ion-toolbar>
|
|
69
|
+
</ion-header>
|
|
70
|
+
`, config);
|
|
71
|
+
const header = page.locator('ion-header');
|
|
72
|
+
await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-icon-buttons`));
|
|
73
|
+
});
|
|
74
|
+
test('should not have visual regressions with buttons with icons and text', async ({ page }) => {
|
|
75
|
+
await page.setContent(`
|
|
76
|
+
<ion-header>
|
|
77
|
+
<ion-toolbar>
|
|
78
|
+
<ion-buttons slot="secondary">
|
|
79
|
+
<ion-button fill="solid">
|
|
80
|
+
<ion-icon slot="start" name="person-circle"></ion-icon>
|
|
81
|
+
Solid
|
|
82
|
+
</ion-button>
|
|
83
|
+
</ion-buttons>
|
|
84
|
+
<ion-title>Solid</ion-title>
|
|
85
|
+
<ion-buttons slot="primary">
|
|
86
|
+
<ion-button fill="solid" color="secondary">
|
|
87
|
+
Help
|
|
88
|
+
<ion-icon slot="end" name="help-circle"></ion-icon>
|
|
89
|
+
</ion-button>
|
|
90
|
+
</ion-buttons>
|
|
91
|
+
</ion-toolbar>
|
|
92
|
+
<ion-toolbar>
|
|
93
|
+
<ion-buttons slot="secondary">
|
|
94
|
+
<ion-button fill="solid" class="ion-activated">
|
|
95
|
+
<ion-icon slot="start" name="person-circle"></ion-icon>
|
|
96
|
+
Solid
|
|
97
|
+
</ion-button>
|
|
98
|
+
</ion-buttons>
|
|
99
|
+
<ion-title>Solid Activated</ion-title>
|
|
100
|
+
<ion-buttons slot="primary">
|
|
101
|
+
<ion-button fill="solid" color="secondary" class="ion-activated">
|
|
102
|
+
Help
|
|
103
|
+
<ion-icon slot="end" name="help-circle"></ion-icon>
|
|
104
|
+
</ion-button>
|
|
105
|
+
</ion-buttons>
|
|
106
|
+
</ion-toolbar>
|
|
107
|
+
<ion-toolbar>
|
|
108
|
+
<ion-buttons slot="secondary">
|
|
109
|
+
<ion-button fill="outline">
|
|
110
|
+
<ion-icon slot="start" name="star"></ion-icon>
|
|
111
|
+
Star
|
|
112
|
+
</ion-button>
|
|
113
|
+
</ion-buttons>
|
|
114
|
+
<ion-title>Outline</ion-title>
|
|
115
|
+
<ion-buttons slot="primary">
|
|
116
|
+
<ion-button color="secondary" fill="outline">
|
|
117
|
+
Info
|
|
118
|
+
<ion-icon slot="end" name="information-circle"></ion-icon>
|
|
119
|
+
</ion-button>
|
|
120
|
+
</ion-buttons>
|
|
121
|
+
</ion-toolbar>
|
|
122
|
+
<ion-toolbar>
|
|
123
|
+
<ion-buttons slot="secondary">
|
|
124
|
+
<ion-button fill="outline" class="ion-activated">
|
|
125
|
+
<ion-icon slot="start" name="star"></ion-icon>
|
|
126
|
+
Star
|
|
127
|
+
</ion-button>
|
|
128
|
+
</ion-buttons>
|
|
129
|
+
<ion-title>Outline Activated</ion-title>
|
|
130
|
+
<ion-buttons slot="primary">
|
|
131
|
+
<ion-button color="secondary" fill="outline" class="ion-activated">
|
|
132
|
+
Info
|
|
133
|
+
<ion-icon slot="end" name="information-circle"></ion-icon>
|
|
134
|
+
</ion-button>
|
|
135
|
+
</ion-buttons>
|
|
136
|
+
</ion-toolbar>
|
|
137
|
+
</ion-header>
|
|
138
|
+
`, config);
|
|
11
139
|
const header = page.locator('ion-header');
|
|
12
|
-
await expect(header).toHaveScreenshot(screenshot(`toolbar-basic`));
|
|
140
|
+
await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-text-icon-buttons`));
|
|
13
141
|
});
|
|
14
142
|
});
|
|
15
143
|
});
|
|
@@ -62,10 +62,10 @@ export class Toolbar {
|
|
|
62
62
|
this.childrenStyles.forEach((value) => {
|
|
63
63
|
Object.assign(childStyles, value);
|
|
64
64
|
});
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'af016bf9981a2d6182783c6643e2d460245ecc2f', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
66
66
|
[mode]: true,
|
|
67
67
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
68
|
-
})) }, h("div", { key: '
|
|
68
|
+
})) }, h("div", { key: '437debb5b7c561b315d887ae8d47186cba5521ce', class: "toolbar-background" }), h("div", { key: '4c2429fa3e8526fedf456e4658be92d5dce8ca34', class: "toolbar-container" }, h("slot", { key: '4c07db12cfc48b4836b566449b854c24db308e3a', name: "start" }), h("slot", { key: '12855ec04622c09cc404f9b4f07f57a73e5770a0', name: "secondary" }), h("div", { key: '56f37d52c91de2b76910defbc9e5b7c1def3861c', class: "toolbar-content" }, h("slot", { key: 'c10ec3fdbea10a6388f4f510d45188f7fda1a371' })), h("slot", { key: 'c8ed49c6888faf35e71f2a8f4f6bf98fb0c34a25', name: "primary" }), h("slot", { key: '0251f3980082a092304f95cbc002bc8c633c5739', name: "end" }))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-toolbar"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,7 +96,7 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
|
|
|
96
96
|
const focusOut = () => {
|
|
97
97
|
hasKeyboardBeenPresentedForTextField = false;
|
|
98
98
|
win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
99
|
-
componentEl.removeEventListener('focusout', focusOut
|
|
99
|
+
componentEl.removeEventListener('focusout', focusOut);
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
102
|
* When the input is about to receive
|
|
@@ -116,13 +116,13 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
|
|
|
116
116
|
}
|
|
117
117
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
|
|
118
118
|
win === null || win === void 0 ? void 0 : win.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
119
|
-
componentEl.addEventListener('focusout', focusOut
|
|
119
|
+
componentEl.addEventListener('focusout', focusOut);
|
|
120
120
|
};
|
|
121
|
-
componentEl.addEventListener('focusin', focusIn
|
|
121
|
+
componentEl.addEventListener('focusin', focusIn);
|
|
122
122
|
return () => {
|
|
123
|
-
componentEl.removeEventListener('focusin', focusIn
|
|
123
|
+
componentEl.removeEventListener('focusin', focusIn);
|
|
124
124
|
win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
125
|
-
componentEl.removeEventListener('focusout', focusOut
|
|
125
|
+
componentEl.removeEventListener('focusout', focusOut);
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
/**
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* to be hydrated before proceeding with the test.
|
|
10
10
|
*/
|
|
11
11
|
export const goto = async (page, url, testInfo, originalFn, options) => {
|
|
12
|
-
var _a, _b, _c;
|
|
12
|
+
var _a, _b, _c, _d;
|
|
13
13
|
if (options === undefined && testInfo.project.metadata.mode === undefined) {
|
|
14
14
|
throw new Error(`
|
|
15
15
|
A config must be passed to page.goto to use a generator test:
|
|
@@ -22,13 +22,16 @@ configs().forEach(({ config, title }) => {
|
|
|
22
22
|
}
|
|
23
23
|
let mode;
|
|
24
24
|
let direction;
|
|
25
|
+
let palette;
|
|
25
26
|
if (options == undefined) {
|
|
26
27
|
mode = testInfo.project.metadata.mode;
|
|
27
28
|
direction = testInfo.project.metadata.rtl ? 'rtl' : 'ltr';
|
|
29
|
+
palette = testInfo.project.metadata.palette;
|
|
28
30
|
}
|
|
29
31
|
else {
|
|
30
32
|
mode = options.mode;
|
|
31
33
|
direction = options.direction;
|
|
34
|
+
palette = options.palette;
|
|
32
35
|
}
|
|
33
36
|
const rtlString = direction === 'rtl' ? 'true' : undefined;
|
|
34
37
|
const splitUrl = url.split('?');
|
|
@@ -40,12 +43,14 @@ configs().forEach(({ config, title }) => {
|
|
|
40
43
|
const urlToParams = new URLSearchParams(paramsString);
|
|
41
44
|
const formattedMode = (_a = urlToParams.get('ionic:mode')) !== null && _a !== void 0 ? _a : mode;
|
|
42
45
|
const formattedRtl = (_b = urlToParams.get('rtl')) !== null && _b !== void 0 ? _b : rtlString;
|
|
43
|
-
const
|
|
46
|
+
const formattedPalette = (_c = urlToParams.get('palette')) !== null && _c !== void 0 ? _c : palette;
|
|
47
|
+
const ionicTesting = (_d = urlToParams.get('ionic:_testing')) !== null && _d !== void 0 ? _d : true;
|
|
44
48
|
/**
|
|
45
49
|
* Pass through other custom query params
|
|
46
50
|
*/
|
|
47
51
|
urlToParams.delete('ionic:mode');
|
|
48
52
|
urlToParams.delete('rtl');
|
|
53
|
+
urlToParams.delete('palette');
|
|
49
54
|
urlToParams.delete('ionic:_testing');
|
|
50
55
|
/**
|
|
51
56
|
* Convert remaining query params to a string.
|
|
@@ -54,7 +59,7 @@ configs().forEach(({ config, title }) => {
|
|
|
54
59
|
*/
|
|
55
60
|
const remainingQueryParams = decodeURIComponent(urlToParams.toString());
|
|
56
61
|
const remainingQueryParamsString = remainingQueryParams == '' ? '' : `&${remainingQueryParams}`;
|
|
57
|
-
const formattedUrl = `${splitUrl[0]}?ionic:_testing=${ionicTesting}&ionic:mode=${formattedMode}&rtl=${formattedRtl}${remainingQueryParamsString}`;
|
|
62
|
+
const formattedUrl = `${splitUrl[0]}?ionic:_testing=${ionicTesting}&ionic:mode=${formattedMode}&rtl=${formattedRtl}&palette=${formattedPalette}${remainingQueryParamsString}`;
|
|
58
63
|
testInfo.annotations.push({
|
|
59
64
|
type: 'mode',
|
|
60
65
|
description: formattedMode,
|
|
@@ -63,6 +68,10 @@ configs().forEach(({ config, title }) => {
|
|
|
63
68
|
type: 'direction',
|
|
64
69
|
description: formattedRtl === 'true' ? 'rtl' : 'ltr',
|
|
65
70
|
});
|
|
71
|
+
testInfo.annotations.push({
|
|
72
|
+
type: 'palette',
|
|
73
|
+
description: formattedPalette,
|
|
74
|
+
});
|
|
66
75
|
const result = await Promise.all([
|
|
67
76
|
page.waitForFunction(() => window.testAppLoaded === true, { timeout: 4750 }),
|
|
68
77
|
originalFn(formattedUrl, options),
|