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
|
@@ -191,12 +191,12 @@ export class ActionSheet {
|
|
|
191
191
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
192
192
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
193
193
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
194
|
-
return (h(Host, Object.assign({ key: '
|
|
194
|
+
return (h(Host, Object.assign({ key: 'b640e9730af4bd9ec569884cf203c63102e0ea59', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
195
195
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
196
|
-
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '
|
|
196
|
+
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: 'bcfa5b7ffb5c265ef54caa114e697ada11f20c12', tappable: this.backdropDismiss }), h("div", { key: '207ae95b5365ce1d76170a05bdf8c83c3ba5de42', tabindex: "0" }), h("div", { key: 'bf2b4e8d57c822a4ea2bbe6c34b1b2f2067e4c02', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '9c4841eb03ca1378c5abc1e3aafbbcfaaa43c345', class: "action-sheet-container" }, h("div", { key: 'fa438b8663f5d30852e5967da0471489efa783b2', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (h("div", { key: '2c600f1cd8314d65137fb1bfa180312b4791121a', id: headerID, class: {
|
|
197
197
|
'action-sheet-title': true,
|
|
198
198
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
199
|
-
} }, header, this.subHeader && h("div", { class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({}, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect",
|
|
199
|
+
} }, header, this.subHeader && h("div", { key: 'a98d6a3f7948733de22a07432e56255f11243b7b', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { key: '5c5abd0e0b3d486ba2bfe437e28a23b2c7c4c955', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: '520a23bbbe6c7436f5bc58bad162d7894b870e54' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '28c90f66786ee82316adc6cfd68d322d2038357d', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: 'fd49fcea260c7addc9b07718eeb02d4fa6e4d900', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", { key: 'c83f636e171fe77635a4fce2b97161447e10546a' })))))), h("div", { key: 'd304920fc7cb006b87542183a3224a7e460abd3d', tabindex: "0" })));
|
|
200
200
|
}
|
|
201
201
|
static get is() { return "ion-action-sheet"; }
|
|
202
202
|
static get encapsulation() { return "scoped"; }
|
|
@@ -391,9 +391,9 @@ export class Alert {
|
|
|
391
391
|
* If neither is defined, don't set aria-labelledby.
|
|
392
392
|
*/
|
|
393
393
|
const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;
|
|
394
|
-
return (h(Host, Object.assign({ key: '
|
|
394
|
+
return (h(Host, Object.assign({ key: 'b1875ea565c40a25915e26e61864f8c61d840ccc', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
395
395
|
zIndex: `${20000 + overlayIndex}`,
|
|
396
|
-
}, 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: '
|
|
396
|
+
}, 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: '37d9d7d1a47bfa23c3bb8d8d9805f52a5bbedf61', tappable: this.backdropDismiss }), h("div", { key: '0134cc90b7f02dcdd13dfdc39a72f2259182de90', tabindex: "0" }), h("div", { key: 'ed054b063ec2d1847b3234d5bdf3e66054784ed7', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: 'fb81befae081424f03c64b434ffdd79bb1b00d0c', class: "alert-head" }, header && (h("h2", { key: '92596dfdd92c4f63c82ed86b4a2473b3110daae3', id: hdrId, class: "alert-title" }, header)), subHeader && (h("h2", { key: 'ba7a0734cf818224f453604ec638770ca61bfef6', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: '41a2619836a4af5d158216ef14b49985c7941b78', tabindex: "0" })));
|
|
397
397
|
}
|
|
398
398
|
static get is() { return "ion-alert"; }
|
|
399
399
|
static get encapsulation() { return "scoped"; }
|
|
@@ -65,7 +65,7 @@ export class App {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
const mode = getIonMode(this);
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'a562850f242d9d45573e35efdd4bd178254677ef', class: {
|
|
69
69
|
[mode]: true,
|
|
70
70
|
'ion-page': true,
|
|
71
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, { key: '
|
|
8
|
+
return (h(Host, { key: 'dc1e3cd535e419eebe5599574fd2393ebfde8bbc', class: getIonMode(this) }, h("slot", { key: 'edb8441c063ea592b41345ea97d88ecd90cb3052' })));
|
|
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, { key: '
|
|
75
|
+
return (h(Host, { key: '8351c93a1812c94c979fb115f07a9ad7b3152188', 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", { key: '
|
|
85
|
+
}) }, h("button", { key: '991b8baa784dbfbdf8d3581cbbf6a858ac1f1e6e', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '929fcd83a4fdb00cf97ca803f234719171602a5e', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: '0c10d412ae8342d96f221e626b421c9abadac748', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '96f505880a80f36ee8b8c78268b450f3629ee613', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), mode === 'md' && h("ion-ripple-effect", { key: '0aecf5d415c608069eb1a10043530bd0929b6383', type: this.rippleType }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-back-button"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class Backdrop {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const mode = getIonMode(this);
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'c803b4302c8e722064feb03dafe3cb6e190b4f2b', tabindex: "-1", "aria-hidden": "true", class: {
|
|
27
27
|
[mode]: true,
|
|
28
28
|
'backdrop-hide': !this.visible,
|
|
29
29
|
'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, { key: '
|
|
16
|
+
return (h(Host, { key: '1253618692342bcf9487188402dc3d49ae0de480', class: createColorClasses(this.color, {
|
|
17
17
|
[mode]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: '71d65e203965ea37b94504a8a0a96beb52d4e356' })));
|
|
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, { key: '
|
|
67
|
+
return (h(Host, { key: 'dfe55ad57f23e5da5f2e2c51fea99964812472e3', 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,15 +74,15 @@ 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({ key: '
|
|
77
|
+
}) }, h(TagType, Object.assign({ key: 'e361b1f0e7de6dd5c5dd4f6deae72c2c8210466d' }, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("slot", { key: '9daeb45a8a28c89f3ad5751f71b8412197846371', name: "start" }), h("slot", { key: '4849e63cdffd6c712292745138b68730442c8b0d' }), h("slot", { key: '6edf9bac5aec06ccec2844efac2d9afa1d24cf57', name: "end" })), showCollapsedIndicator && (h("button", { key: 'de7f5faea75b44011b289d259265e2435a65874f', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
|
|
78
78
|
'breadcrumbs-collapsed-indicator': true,
|
|
79
|
-
} }, h("ion-icon", { "aria-hidden": "true", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (
|
|
79
|
+
} }, h("ion-icon", { key: '957d8851af9c99dda263f34eff0b35a0fc212c32', "aria-hidden": "true", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (
|
|
80
80
|
/**
|
|
81
81
|
* Separators should not be announced by narrators.
|
|
82
82
|
* We add aria-hidden on the span so that this applies
|
|
83
83
|
* to any custom separators too.
|
|
84
84
|
*/
|
|
85
|
-
h("span", { class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { name: "separator" }, mode === 'ios' ? (h("ion-icon", { icon: chevronForwardOutline, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
|
|
85
|
+
h("span", { key: '97d646c37c4c41ad6b12c3a543d1146fde06fc9a', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: '0429f671a986f2d7be1b1b69fc879e80806d2916', name: "separator" }, mode === 'ios' ? (h("ion-icon", { icon: chevronForwardOutline, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-breadcrumb"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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, { key: '
|
|
108
|
+
return (h(Host, { key: '18ffba1642f10cc2bc31440e84f23aa6f042e501', 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", { key: '
|
|
113
|
+
}) }, h("slot", { key: '3db6d31590e3047889ce554d57d155c8ea2e1455', onSlotchange: this.slotChanged })));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "ion-breadcrumbs"; }
|
|
116
116
|
static get encapsulation() { return "shadow"; }
|
|
@@ -326,11 +326,6 @@ ion-ripple-effect {
|
|
|
326
326
|
color: var(--ion-toolbar-background, var(--color));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
|
|
330
|
-
background: var(--ion-toolbar-color, var(--color));
|
|
331
|
-
color: var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff));
|
|
332
|
-
}
|
|
333
|
-
|
|
334
329
|
/**
|
|
335
330
|
* Convert a font size to a dynamic font size.
|
|
336
331
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -547,7 +542,20 @@ ion-ripple-effect {
|
|
|
547
542
|
}
|
|
548
543
|
|
|
549
544
|
::slotted(ion-icon[slot=icon-only]) {
|
|
550
|
-
|
|
545
|
+
/**
|
|
546
|
+
* The values were provided through a native iOS app.
|
|
547
|
+
* min font size: 15px, default font size: 18px, max font size: 43px
|
|
548
|
+
*
|
|
549
|
+
* Since the `ion-button` uses `rem` for the font size, we can't
|
|
550
|
+
* just pass the desired icon font size in `em` to the `
|
|
551
|
+
* dynamic-font-clamp`. Instead, we need to adjust the base size
|
|
552
|
+
* to account for the ion-button` font size.
|
|
553
|
+
*
|
|
554
|
+
* For example, if the default font size of `ion-button` is 16px
|
|
555
|
+
* (derived from rem), then the base size can use the default font
|
|
556
|
+
* size of the icon.
|
|
557
|
+
*/
|
|
558
|
+
font-size: clamp(15.12px, 1.125em, 43.02px);
|
|
551
559
|
}
|
|
552
560
|
|
|
553
561
|
:host(.button-small.button-has-icon-only) {
|
|
@@ -556,7 +564,20 @@ ion-ripple-effect {
|
|
|
556
564
|
}
|
|
557
565
|
|
|
558
566
|
:host(.button-small) ::slotted(ion-icon[slot=icon-only]) {
|
|
559
|
-
|
|
567
|
+
/**
|
|
568
|
+
* The values were provided through a native iOS app.
|
|
569
|
+
* min font size: 12px, default font size: 17px, max font size: 40px
|
|
570
|
+
*
|
|
571
|
+
* Since the `ion-button` uses `rem` for the font size, we can't
|
|
572
|
+
* just pass the desired icon font size in `em` to the `
|
|
573
|
+
* dynamic-font-clamp`. Instead, we need to adjust the base size
|
|
574
|
+
* to account for the ion-button` font size.
|
|
575
|
+
*
|
|
576
|
+
* For example, if the default font size of `ion-button` is 13px
|
|
577
|
+
* (derived from rem) and the default font size of the icon is
|
|
578
|
+
* 17px, then the base size would need to be increased.
|
|
579
|
+
*/
|
|
580
|
+
font-size: clamp(12.1394px, 1.308125em, 40.1856px);
|
|
560
581
|
}
|
|
561
582
|
|
|
562
583
|
:host(.button-large.button-has-icon-only) {
|
|
@@ -565,7 +586,20 @@ ion-ripple-effect {
|
|
|
565
586
|
}
|
|
566
587
|
|
|
567
588
|
:host(.button-large) ::slotted(ion-icon[slot=icon-only]) {
|
|
568
|
-
|
|
589
|
+
/**
|
|
590
|
+
* The values were provided through a native iOS app.
|
|
591
|
+
* min font size: 15px, default font size: 18px, max font size: 43px
|
|
592
|
+
*
|
|
593
|
+
* Since the `ion-button` uses `rem` for the font size, we can't
|
|
594
|
+
* just pass the desired icon font size in `em` to the `
|
|
595
|
+
* dynamic-font-clamp`. Instead, we need to adjust the base size
|
|
596
|
+
* to account for the ion-button` font size.
|
|
597
|
+
*
|
|
598
|
+
* For example, if the default font size of `ion-button` is 20px
|
|
599
|
+
* (derived from rem) and the default font size of the icon is
|
|
600
|
+
* 18px, then the base size would need to be decreased.
|
|
601
|
+
*/
|
|
602
|
+
font-size: clamp(15.12px, 0.9em, 43.056px);
|
|
569
603
|
}
|
|
570
604
|
|
|
571
605
|
:host(.button-outline.ion-focused.ion-color) .button-native,
|
|
@@ -615,4 +649,9 @@ ion-ripple-effect {
|
|
|
615
649
|
|
|
616
650
|
:host(.button-solid.ion-color.ion-activated) .button-native::after {
|
|
617
651
|
background: var(--ion-color-shade);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
|
|
655
|
+
background: var(--ion-toolbar-color, var(--color));
|
|
656
|
+
color: var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff));
|
|
618
657
|
}
|
|
@@ -211,7 +211,7 @@ export class Button {
|
|
|
211
211
|
{
|
|
212
212
|
type !== 'button' && this.renderHiddenButton();
|
|
213
213
|
}
|
|
214
|
-
return (h(Host, { key: '
|
|
214
|
+
return (h(Host, { key: '8f3a0363d46ef888d22b0b0812c70cb4f79e6efa', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
215
215
|
[mode]: true,
|
|
216
216
|
[buttonType]: true,
|
|
217
217
|
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
@@ -226,7 +226,7 @@ export class Button {
|
|
|
226
226
|
'button-disabled': disabled,
|
|
227
227
|
'ion-activatable': true,
|
|
228
228
|
'ion-focusable': true,
|
|
229
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
229
|
+
}) }, h(TagType, Object.assign({ key: 'a517c7d06aab15ad4c2a51b8ec224c1aeb4ed565' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { key: '127c26dd97c0bf5097433df77df7313d59784899', class: "button-inner" }, h("slot", { key: '39d9a9cad8e1addbe63406062e555e05c2cb541b', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: 'cfdebdd89155c6c21eb80e51e06456a3a6d877e0', name: "start" }), h("slot", { key: 'eac497e0f97ab55baa834ae23155d89b0f7069c6' }), h("slot", { key: 'c99f7900f8856b32a0b4ac11092d461f5e9a1109', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: 'c681edb0480879fbd801575f2233f6e118898638', type: this.rippleType }))));
|
|
230
230
|
}
|
|
231
231
|
static get is() { return "ion-button"; }
|
|
232
232
|
static get encapsulation() { return "shadow"; }
|
|
@@ -326,11 +326,6 @@ ion-ripple-effect {
|
|
|
326
326
|
color: var(--ion-toolbar-background, var(--color));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
|
|
330
|
-
background: var(--ion-toolbar-color, var(--color));
|
|
331
|
-
color: var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff));
|
|
332
|
-
}
|
|
333
|
-
|
|
334
329
|
/**
|
|
335
330
|
* Convert a font size to a dynamic font size.
|
|
336
331
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -487,7 +482,21 @@ ion-ripple-effect {
|
|
|
487
482
|
}
|
|
488
483
|
|
|
489
484
|
::slotted(ion-icon[slot=icon-only]) {
|
|
490
|
-
|
|
485
|
+
/**
|
|
486
|
+
* The values were provided through MD design,
|
|
487
|
+
* large and small are based on the iOS sizes.
|
|
488
|
+
* min font size: 15px, default font size: 22.4px, max font size: 43px
|
|
489
|
+
*
|
|
490
|
+
* Since the `ion-button` uses `rem` for the font size, we can't
|
|
491
|
+
* just pass the desired icon font size in `em` to the `
|
|
492
|
+
* dynamic-font-clamp`. Instead, we need to adjust the base size
|
|
493
|
+
* to account for the ion-button` font size.
|
|
494
|
+
*
|
|
495
|
+
* For example, if the default font size of `ion-button` is 14px
|
|
496
|
+
* (derived from rem) and the default font size of the icon is
|
|
497
|
+
* 22.4px, then the base size would need to be increased.
|
|
498
|
+
*/
|
|
499
|
+
font-size: clamp(15.104px, 1.6em, 43.008px);
|
|
491
500
|
}
|
|
492
501
|
|
|
493
502
|
:host(.button-small.button-has-icon-only) {
|
|
@@ -496,7 +505,21 @@ ion-ripple-effect {
|
|
|
496
505
|
}
|
|
497
506
|
|
|
498
507
|
:host(.button-small) ::slotted(ion-icon[slot=icon-only]) {
|
|
499
|
-
|
|
508
|
+
/**
|
|
509
|
+
* The values were provided through MD design,
|
|
510
|
+
* large and small are based on the iOS sizes.
|
|
511
|
+
* min font size: 12px, default font size: 16px, max font size: 40px
|
|
512
|
+
*
|
|
513
|
+
* Since the `ion-button` uses `rem` for the font size, we can't
|
|
514
|
+
* just pass the desired icon font size in `em` to the `
|
|
515
|
+
* dynamic-font-clamp`. Instead, we need to adjust the base size
|
|
516
|
+
* to account for the ion-button` font size.
|
|
517
|
+
*
|
|
518
|
+
* For example, if the default font size of `ion-button` is 13px
|
|
519
|
+
* (derived from rem) and the default font size of the icon is
|
|
520
|
+
* 16px, then the base size would need to be increased.
|
|
521
|
+
*/
|
|
522
|
+
font-size: clamp(13.002px, 1.23125em, 40.385px);
|
|
500
523
|
}
|
|
501
524
|
|
|
502
525
|
:host(.button-large.button-has-icon-only) {
|
|
@@ -505,7 +528,21 @@ ion-ripple-effect {
|
|
|
505
528
|
}
|
|
506
529
|
|
|
507
530
|
:host(.button-large) ::slotted(ion-icon[slot=icon-only]) {
|
|
508
|
-
|
|
531
|
+
/**
|
|
532
|
+
* The values were provided through MD design,
|
|
533
|
+
* large and small are based on the iOS sizes.
|
|
534
|
+
* min font size: 15px, default font size: 28px, max font size: 43px
|
|
535
|
+
*
|
|
536
|
+
* Since the `ion-button` uses `rem` for the font size, we can't
|
|
537
|
+
* just pass the desired icon font size in `em` to the `
|
|
538
|
+
* dynamic-font-clamp`. Instead, we need to adjust the base size
|
|
539
|
+
* to account for the ion-button` font size.
|
|
540
|
+
*
|
|
541
|
+
* For example, if the default font size of `ion-button` is 20px
|
|
542
|
+
* (derived from rem) and the default font size of the icon is
|
|
543
|
+
* 28px, then the base size would need to be increased.
|
|
544
|
+
*/
|
|
545
|
+
font-size: clamp(15.008px, 1.4em, 43.008px);
|
|
509
546
|
}
|
|
510
547
|
|
|
511
548
|
/**
|
|
@@ -530,4 +567,8 @@ ion-ripple-effect {
|
|
|
530
567
|
:host(.button-outline.ion-color:hover) .button-native::after {
|
|
531
568
|
background: var(--ion-color-base);
|
|
532
569
|
}
|
|
570
|
+
}
|
|
571
|
+
:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
|
|
572
|
+
background: var(--ion-toolbar-background, var(--color));
|
|
573
|
+
color: var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff));
|
|
533
574
|
}
|
|
@@ -9,10 +9,10 @@ export class Buttons {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const mode = getIonMode(this);
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '4e5ce9abb3f56e8c91e3eb58c2819300e61eba24', class: {
|
|
13
13
|
[mode]: true,
|
|
14
14
|
['buttons-collapse']: this.collapse,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'f2f360ec888b6e946b512fed07431fab47c61482' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-buttons"; }
|
|
18
18
|
static get encapsulation() { return "scoped"; }
|
|
@@ -49,7 +49,7 @@ export class Card {
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
const mode = getIonMode(this);
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '8584300522f382ee8891c039d71da82533dfa36a', 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, { key: '
|
|
12
|
+
return (h(Host, { key: '2a2d0b48aad4b83990a1748fce60e772514eb223', 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, { key: '
|
|
17
|
+
return (h(Host, { key: '18d12507ec6e650a72d721e9d0f4128b5e86df1d', class: createColorClasses(this.color, {
|
|
18
18
|
'card-header-translucent': this.translucent,
|
|
19
19
|
'ion-inherit-color': true,
|
|
20
20
|
[mode]: true,
|
|
21
|
-
}) }, h("slot", { key: '
|
|
21
|
+
}) }, h("slot", { key: '3374c087d8c3f014082787e255432e7a335ef44f' })));
|
|
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, { key: '
|
|
16
|
+
return (h(Host, { key: 'cbcb01bd01cf6de64a0b04fb626e42b07ceb8f53', role: "heading", "aria-level": "3", class: createColorClasses(this.color, {
|
|
17
17
|
'ion-inherit-color': true,
|
|
18
18
|
[mode]: true,
|
|
19
|
-
}) }, h("slot", { key: '
|
|
19
|
+
}) }, h("slot", { key: 'cbcaa73aa5799882c48d6c0aabfb13651bcc91c0' })));
|
|
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, { key: '
|
|
16
|
+
return (h(Host, { key: 'f904a0ca6489f147d03c9c5f9f2c5549cdb38d1a', role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
|
|
17
17
|
'ion-inherit-color': true,
|
|
18
18
|
[mode]: true,
|
|
19
|
-
}) }, h("slot", { key: '
|
|
19
|
+
}) }, h("slot", { key: 'effb921de4ad8dfbbe318b3f692f4005812da7b1' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "ion-card-title"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,7 +72,7 @@ export class Checkbox {
|
|
|
72
72
|
const mode = getIonMode(this);
|
|
73
73
|
const path = getSVGPath(mode, indeterminate);
|
|
74
74
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '52064869f18f6762802a783ba9ee37433d2a2981', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
|
|
76
76
|
[mode]: true,
|
|
77
77
|
'in-item': hostContext('ion-item', el),
|
|
78
78
|
'checkbox-checked': checked,
|
|
@@ -82,10 +82,10 @@ export class Checkbox {
|
|
|
82
82
|
[`checkbox-justify-${justify}`]: true,
|
|
83
83
|
[`checkbox-alignment-${alignment}`]: true,
|
|
84
84
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
85
|
-
}), onClick: this.onClick }, h("label", { key: '
|
|
85
|
+
}), onClick: this.onClick }, h("label", { key: '800b3521fe809423b9eee7ab9d220255cc6ffdff', class: "checkbox-wrapper" }, h("input", Object.assign({ key: '3e254b29bb1fc3951691a255a20cfd65360be510', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { key: '19ff4b1115c3bc9c2ceed045fbc4e970f77d9e0d', class: {
|
|
86
86
|
'label-text-wrapper': true,
|
|
87
87
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
88
|
-
}, part: "label" }, h("slot", { key: '
|
|
88
|
+
}, part: "label" }, h("slot", { key: 'e4f07b55826fb1b3a80e0428873fbdf06bf92978' })), h("div", { key: '5134cf088c93f36b00d3848b573a148f2d9fb806', class: "native-wrapper" }, h("svg", { key: 'd00733f071d6da47e1a6e5c89cb6aab1a7b0ef74', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
89
89
|
}
|
|
90
90
|
getSVGPath(mode, indeterminate) {
|
|
91
91
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -15,12 +15,12 @@ export class Chip {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const mode = getIonMode(this);
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '7dd923c1b28d1eb1efa348f66f49cec067645af9', "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", { key: '
|
|
23
|
+
}) }, h("slot", { key: '7ede838bf109dc27a898ee2dcdeabc3f439c8e6f' }), mode === 'md' && h("ion-ripple-effect", { key: '5acb073029544e73fcc0db4cc4e661ec1df4d231' })));
|
|
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, { key: '
|
|
114
|
+
return (h(Host, { key: 'c37fa4c4c993385ccbb6f4e89b2f390b140507a0', 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", { key: '
|
|
116
|
+
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: '6a5296ff0b9dee6600c2dafe7363a065d053bac2' })));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "ion-col"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -335,7 +335,7 @@ export class Content {
|
|
|
335
335
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
336
336
|
const transitionShadow = mode === 'ios';
|
|
337
337
|
this.resize();
|
|
338
|
-
return (h(Host, { key: '
|
|
338
|
+
return (h(Host, { key: '98e9658e69c0bbe0113e4c1b89dd7b240334c039', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
339
339
|
[mode]: true,
|
|
340
340
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
341
341
|
overscroll: forceOverscroll,
|
|
@@ -343,12 +343,12 @@ export class Content {
|
|
|
343
343
|
}), style: {
|
|
344
344
|
'--offset-top': `${this.cTop}px`,
|
|
345
345
|
'--offset-bottom': `${this.cBottom}px`,
|
|
346
|
-
} }, h("div", { key: '
|
|
346
|
+
} }, h("div", { key: 'e89aa6ea09625846db52d63bdbf06c3c279a5ba4', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), h("div", { key: '37925cf9d898ede58d5ac7b5a650c648033602a3', class: {
|
|
347
347
|
'inner-scroll': true,
|
|
348
348
|
'scroll-x': scrollX,
|
|
349
349
|
'scroll-y': scrollY,
|
|
350
350
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
351
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
351
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: 'a40f964cacf0c2e2bdcf962791aaadb386d44323' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, h("slot", { key: 'd21886cff0bc417e1f5e3a436dddc079e967579b', name: "fixed" })));
|
|
352
352
|
}
|
|
353
353
|
static get is() { return "ion-content"; }
|
|
354
354
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1556,7 +1556,7 @@ export class Datetime {
|
|
|
1556
1556
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1557
1557
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1558
1558
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1559
|
-
return (h(Host, { key: '
|
|
1559
|
+
return (h(Host, { key: 'f1f8ca52cdd9cfc8394b0365c89c0d30cd7316e7', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1560
1560
|
[mode]: true,
|
|
1561
1561
|
['datetime-readonly']: readonly,
|
|
1562
1562
|
['datetime-disabled']: disabled,
|
|
@@ -1566,7 +1566,7 @@ export class Datetime {
|
|
|
1566
1566
|
[`datetime-size-${size}`]: true,
|
|
1567
1567
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1568
1568
|
[`datetime-grid`]: isGridStyle,
|
|
1569
|
-
})) }, h("div", { key: '
|
|
1569
|
+
})) }, h("div", { key: '480068aa8072b60ac521646dfa82480c5f6ce6ef', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1570
1570
|
}
|
|
1571
1571
|
static get is() { return "ion-datetime"; }
|
|
1572
1572
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,15 +6,22 @@ import { configs, test } from "../../../../utils/test/playwright/index";
|
|
|
6
6
|
/**
|
|
7
7
|
* This behavior does not vary across directions
|
|
8
8
|
*/
|
|
9
|
-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
9
|
+
configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ title, screenshot, config }) => {
|
|
10
10
|
test.describe(title('datetime: color'), () => {
|
|
11
11
|
test('should not have visual regressions', async ({ page }) => {
|
|
12
|
-
await page.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
await page.setContent(`
|
|
13
|
+
<div id="container" style="width: 250px;">
|
|
14
|
+
<ion-datetime
|
|
15
|
+
color="danger"
|
|
16
|
+
value="2022-05-03"
|
|
17
|
+
show-default-title="true"
|
|
18
|
+
show-default-buttons="true"
|
|
19
|
+
></ion-datetime>
|
|
20
|
+
</div>
|
|
21
|
+
`, config);
|
|
22
|
+
const container = page.locator('#container');
|
|
23
|
+
await page.locator('.datetime-ready').waitFor();
|
|
24
|
+
await expect(container).toHaveScreenshot(screenshot(`datetime-color`));
|
|
18
25
|
});
|
|
19
26
|
});
|
|
20
27
|
});
|
|
@@ -337,11 +337,11 @@ export class DatetimeButton {
|
|
|
337
337
|
render() {
|
|
338
338
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
339
339
|
const mode = getIonMode(this);
|
|
340
|
-
return (h(Host, { key: '
|
|
340
|
+
return (h(Host, { key: '26e606af6f067a5774db37ed41387ffebb941777', class: createColorClasses(color, {
|
|
341
341
|
[mode]: true,
|
|
342
342
|
[`${selectedButton}-active`]: datetimeActive,
|
|
343
343
|
['datetime-button-disabled']: disabled,
|
|
344
|
-
}) }, dateText && (h("button", { class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { name: "date-target" }, dateText), mode === 'md' && h("ion-ripple-effect",
|
|
344
|
+
}) }, dateText && (h("button", { key: '6b7aa66a15b4a6d89d411e40586de28a2ac9f343', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { key: 'd42f34fd167be34386319e7ea788c2ab03c90b87', name: "date-target" }, dateText), mode === 'md' && h("ion-ripple-effect", { key: '47dd34f3c2799064cac7a5fe25440ecc043950f0' }))), timeText && (h("button", { key: 'd77424a20fae320654774c7bfc8a8e2369d3afe3', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { key: 'ac088a78141bb53f2efd48dd7745f8954c92378b', name: "time-target" }, timeText), mode === 'md' && h("ion-ripple-effect", { key: 'b3a58ddfd28b9396e2518ffd62a045ec13d8b9d0' })))));
|
|
345
345
|
}
|
|
346
346
|
static get is() { return "ion-datetime-button"; }
|
|
347
347
|
static get encapsulation() { return "shadow"; }
|