@ionic/core 8.0.0-rc.0 → 8.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +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/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 +3 -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-5bfa2d7f.js} +1 -1
- package/dist/cjs/{button-active-bd13859e.js → button-active-564be49f.js} +1 -1
- package/dist/cjs/{hardware-back-button-ad9299b4.js → hardware-back-button-44e7c052.js} +2 -2
- package/dist/cjs/{index-ff66cc7c.js → index-6d6ac424.js} +3 -3
- package/dist/cjs/{index-af6d0fbb.js → index-bbc6c29f.js} +32 -8
- package/dist/cjs/{index-5cf05f94.js → index-defd575f.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -8
- 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 +21 -21
- 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 +5 -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-62487d02.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-06673f18.js → ios.transition-d4f0ca4e.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-4d7bb4b1.js → md.transition-857328f3.js} +2 -2
- package/dist/cjs/{overlays-6487955a.js → overlays-10c452b2.js} +2 -2
- package/dist/cjs/{status-tap-0be20572.js → status-tap-81daddfa.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-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 +4 -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/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/docs.json +31 -31
- package/dist/esm/{app-globals-b8e5e7fa.js → app-globals-49873df1.js} +1 -1
- package/dist/esm/{button-active-a411da52.js → button-active-46df59c1.js} +1 -1
- package/dist/esm/{hardware-back-button-329c81fd.js → hardware-back-button-ba8f64c2.js} +2 -2
- package/dist/esm/{index-10916999.js → index-56d90da9.js} +2 -2
- package/dist/esm/{index-6e4709ff.js → index-bcd8859b.js} +32 -8
- package/dist/esm/{index-f1f5de26.js → index-f0d7371a.js} +3 -3
- package/dist/esm/index.js +8 -8
- 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 +21 -21
- 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 +5 -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-e6c98cd0.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-8e181a7e.js → ios.transition-71bfa932.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-f1c3c737.js → md.transition-86aef3c0.js} +2 -2
- package/dist/esm/{overlays-9472c98b.js → overlays-6fb4a2f2.js} +2 -2
- package/dist/esm/{status-tap-39da9160.js → status-tap-299361cd.js} +1 -1
- package/dist/esm-es5/app-globals-49873df1.js +4 -0
- package/dist/esm-es5/{button-active-a411da52.js → button-active-46df59c1.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-329c81fd.js → hardware-back-button-ba8f64c2.js} +1 -1
- package/dist/esm-es5/{index-10916999.js → index-56d90da9.js} +1 -1
- package/dist/esm-es5/index-bcd8859b.js +5 -0
- package/dist/esm-es5/{index-f1f5de26.js → index-f0d7371a.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-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-e6c98cd0.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-8e181a7e.js → ios.transition-71bfa932.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-86aef3c0.js +4 -0
- package/dist/esm-es5/{overlays-9472c98b.js → overlays-6fb4a2f2.js} +1 -1
- package/dist/esm-es5/{status-tap-39da9160.js → status-tap-299361cd.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-105f7d62.system.entry.js → p-005deca1.system.entry.js} +1 -1
- package/dist/ionic/{p-a8f02173.system.js → p-07584ab4.system.js} +1 -1
- package/dist/ionic/p-0bd47555.js +4 -0
- package/dist/ionic/{p-75cddcc9.js → p-0e713efe.js} +1 -1
- package/dist/ionic/p-13cc6ee6.entry.js +4 -0
- package/dist/ionic/p-1472c130.entry.js +4 -0
- package/dist/ionic/{p-5da04d11.entry.js → p-151e8afd.entry.js} +1 -1
- package/dist/ionic/p-1ba197b6.entry.js +4 -0
- package/dist/ionic/p-1c42ad90.entry.js +4 -0
- package/dist/ionic/{p-ab85debb.entry.js → p-1fa53d02.entry.js} +1 -1
- package/dist/ionic/{p-99daf8b7.entry.js → p-1fe1f512.entry.js} +1 -1
- package/dist/ionic/{p-17978fce.entry.js → p-23fdee0e.entry.js} +1 -1
- package/dist/ionic/{p-4dd82d9d.system.js → p-2613c305.system.js} +1 -1
- package/dist/ionic/{p-a1b4e619.system.entry.js → p-275dd0ba.system.entry.js} +1 -1
- package/dist/ionic/{p-68a1e274.system.entry.js → p-2b86020c.system.entry.js} +1 -1
- package/dist/ionic/{p-3d6e882f.system.entry.js → p-3008ca4e.system.entry.js} +1 -1
- package/dist/ionic/p-32dfbcdc.entry.js +4 -0
- package/dist/ionic/p-332aa81e.entry.js +4 -0
- package/dist/ionic/p-341b3f37.entry.js +4 -0
- package/dist/ionic/{p-4196b2d1.system.entry.js → p-38010e7c.system.entry.js} +1 -1
- package/dist/ionic/{p-51b68ec9.system.entry.js → p-3d977e09.system.entry.js} +2 -2
- package/dist/ionic/{p-d5f48185.system.entry.js → p-3de2aab8.system.entry.js} +1 -1
- package/dist/ionic/p-405fd996.entry.js +4 -0
- package/dist/ionic/{p-c1d1d004.system.entry.js → p-4809ddae.system.entry.js} +1 -1
- package/dist/ionic/{p-83321ee8.entry.js → p-48f60474.entry.js} +1 -1
- package/dist/ionic/p-495ed1c3.entry.js +4 -0
- package/dist/ionic/{p-c04d5a75.entry.js → p-4a01cec0.entry.js} +1 -1
- package/dist/ionic/p-4de53118.js +4 -0
- package/dist/ionic/p-4f6ebc2b.entry.js +4 -0
- package/dist/ionic/p-4f77a080.system.entry.js +4 -0
- package/dist/ionic/{p-88cff52d.entry.js → p-4fadf4b0.entry.js} +1 -1
- package/dist/ionic/{p-8bd567ba.system.entry.js → p-50205ef9.system.entry.js} +1 -1
- package/dist/ionic/{p-266fc56e.system.js → p-510cb8e6.system.js} +1 -1
- package/dist/ionic/p-530207f9.entry.js +4 -0
- package/dist/ionic/p-53d37363.entry.js +4 -0
- package/dist/ionic/{p-49b6fee0.system.entry.js → p-53d69c70.system.entry.js} +1 -1
- package/dist/ionic/{p-c9c39c98.system.entry.js → p-55bc2a11.system.entry.js} +1 -1
- package/dist/ionic/p-582db405.system.entry.js +4 -0
- package/dist/ionic/p-5ad55625.entry.js +4 -0
- package/dist/ionic/p-5c26fed5.system.entry.js +4 -0
- package/dist/ionic/p-5f28cb75.js +4 -0
- package/dist/ionic/{p-c222f76a.js → p-67f5b57a.js} +1 -1
- package/dist/ionic/p-68afa357.system.entry.js +4 -0
- package/dist/ionic/{p-9d7fc908.system.js → p-6ac30fc3.system.js} +1 -1
- package/dist/ionic/p-6c5c1bb5.system.js +4 -0
- package/dist/ionic/{p-04070329.system.entry.js → p-6cf780b6.system.entry.js} +1 -1
- package/dist/ionic/{p-cae889f9.entry.js → p-6e4dac1a.entry.js} +1 -1
- package/dist/ionic/{p-fb02eeec.system.entry.js → p-6ef17d86.system.entry.js} +1 -1
- package/dist/ionic/p-7372cf23.system.entry.js +4 -0
- package/dist/ionic/p-7492572a.entry.js +4 -0
- package/dist/ionic/p-7596e24d.system.js +5 -0
- package/dist/ionic/p-76971b4f.entry.js +4 -0
- package/dist/ionic/{p-d2544865.system.js → p-7a7ff5e3.system.js} +1 -1
- package/dist/ionic/{p-5033128d.system.js → p-7bbcce53.system.js} +2 -2
- package/dist/ionic/{p-fb97326f.system.entry.js → p-7c93f00b.system.entry.js} +1 -1
- package/dist/ionic/{p-43505ff8.system.entry.js → p-7f33a6e2.system.entry.js} +2 -2
- package/dist/ionic/{p-07ae133d.system.entry.js → p-814efd87.system.entry.js} +1 -1
- package/dist/ionic/{p-6994c97a.js → p-83b445c3.js} +1 -1
- package/dist/ionic/p-84ead641.entry.js +4 -0
- package/dist/ionic/{p-f818b01a.entry.js → p-8a5152e5.entry.js} +1 -1
- package/dist/ionic/{p-54f76ced.js → p-8f9e2850.js} +1 -1
- package/dist/ionic/{p-fab4ecad.system.entry.js → p-904df2ee.system.entry.js} +2 -2
- package/dist/ionic/{p-8e9ac22d.entry.js → p-90f8498c.entry.js} +1 -1
- package/dist/ionic/{p-58ea73f7.system.entry.js → p-91b568e2.system.entry.js} +1 -1
- package/dist/ionic/{p-25575222.system.js → p-91dabef7.system.js} +1 -1
- package/dist/ionic/{p-3040730e.js → p-96a561dd.js} +1 -1
- package/dist/ionic/p-987e38ef.system.entry.js +4 -0
- package/dist/ionic/{p-4429fc97.system.entry.js → p-98af538a.system.entry.js} +1 -1
- package/dist/ionic/p-9fa5ff32.system.js +4 -0
- package/dist/ionic/{p-ea2c16b5.system.entry.js → p-9fd3ca09.system.entry.js} +2 -2
- package/dist/ionic/{p-049fa018.system.entry.js → p-a28ea4d8.system.entry.js} +1 -1
- package/dist/ionic/{p-75280815.entry.js → p-a39a73e3.entry.js} +1 -1
- package/dist/ionic/{p-f4cb521c.js → p-a90201f2.js} +1 -1
- package/dist/ionic/{p-1672c4fd.system.entry.js → p-aa79cc0e.system.entry.js} +2 -2
- package/dist/ionic/{p-ac4e2a74.system.entry.js → p-aa8a2f40.system.entry.js} +1 -1
- package/dist/ionic/p-ac045dad.entry.js +4 -0
- package/dist/ionic/{p-3c70b01b.entry.js → p-ad2b9596.entry.js} +1 -1
- package/dist/ionic/p-ae42c907.entry.js +4 -0
- package/dist/ionic/{p-2f6cedaf.system.entry.js → p-aea5f293.system.entry.js} +1 -1
- package/dist/ionic/p-b4a7f856.system.entry.js +4 -0
- package/dist/ionic/p-b6519a42.entry.js +4 -0
- package/dist/ionic/{p-a88fdfac.entry.js → p-ba35f07f.entry.js} +1 -1
- package/dist/ionic/{p-fda4872f.entry.js → p-bc3d649d.entry.js} +1 -1
- package/dist/ionic/p-c1c77386.js +5 -0
- package/dist/ionic/{p-76907c2f.system.entry.js → p-c2762c6a.system.entry.js} +1 -1
- package/dist/ionic/{p-ea4be6ac.system.js → p-c4e495a3.system.js} +1 -1
- package/dist/ionic/{p-d8067ea4.system.entry.js → p-c4eafa12.system.entry.js} +1 -1
- package/dist/ionic/{p-ff2323ba.system.entry.js → p-c54b167f.system.entry.js} +1 -1
- package/dist/ionic/{p-510578f3.system.entry.js → p-c927dbe2.system.entry.js} +1 -1
- package/dist/ionic/{p-716ab5f8.system.entry.js → p-ca5bb110.system.entry.js} +1 -1
- package/dist/ionic/p-ca6decbd.entry.js +4 -0
- package/dist/ionic/p-cbd87df6.entry.js +4 -0
- package/dist/ionic/p-ce5bf737.system.entry.js +4 -0
- package/dist/ionic/p-cf45a5c7.system.entry.js +4 -0
- package/dist/ionic/{p-100bedc4.system.entry.js → p-cf8101a6.system.entry.js} +1 -1
- package/dist/ionic/p-d061515d.system.entry.js +4 -0
- package/dist/ionic/{p-e955bf61.entry.js → p-d277ba16.entry.js} +1 -1
- package/dist/ionic/{p-2e12bda2.entry.js → p-d73f49d0.entry.js} +1 -1
- package/dist/ionic/{p-d8f66669.entry.js → p-dbc3e90c.entry.js} +1 -1
- package/dist/ionic/p-df0d39c7.system.entry.js +4 -0
- package/dist/ionic/{p-fbd30ec7.entry.js → p-e099a6f3.entry.js} +1 -1
- package/dist/ionic/p-e1ad8e76.entry.js +4 -0
- package/dist/ionic/{p-0bbb6edf.system.entry.js → p-e292247e.system.entry.js} +1 -1
- package/dist/ionic/p-e548fedf.system.entry.js +4 -0
- package/dist/ionic/{p-a7ba2dcc.system.js → p-e5a3659f.system.js} +1 -1
- package/dist/ionic/{p-71688099.system.entry.js → p-e6d46b5d.system.entry.js} +1 -1
- package/dist/ionic/p-e781c893.entry.js +4 -0
- package/dist/ionic/{p-3e3b34f7.system.entry.js → p-e81c3ca2.system.entry.js} +1 -1
- package/dist/ionic/p-e832408b.system.entry.js +4 -0
- package/dist/ionic/{p-e8a0e731.entry.js → p-e8a713b5.entry.js} +1 -1
- package/dist/ionic/{p-d98c0112.entry.js → p-e93cd31c.entry.js} +1 -1
- package/dist/ionic/p-ec178f19.entry.js +4 -0
- package/dist/ionic/{p-7df2c495.entry.js → p-eda2459e.entry.js} +1 -1
- package/dist/ionic/{p-5e7c32e8.system.entry.js → p-f13dc6bd.system.entry.js} +1 -1
- package/dist/ionic/p-f6ca4d02.js +4 -0
- package/dist/ionic/{p-df48edd6.entry.js → p-f6fec6a0.entry.js} +1 -1
- package/dist/ionic/{p-0ebb1fe7.system.entry.js → p-f8f8c5a8.system.entry.js} +1 -1
- package/dist/ionic/{p-0f2d99a6.entry.js → p-f956e38a.entry.js} +1 -1
- package/dist/ionic/p-fea11771.entry.js +4 -0
- package/dist/ionic/{p-71215c1d.system.js → p-ffbc80ae.system.js} +1 -1
- 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/utils/framework-delegate.d.ts +1 -1
- package/dist/types/utils/keyboard/keyboard-controller.d.ts +1 -1
- package/hydrate/index.js +245 -199
- package/package.json +6 -6
- package/dist/esm-es5/app-globals-b8e5e7fa.js +0 -4
- package/dist/esm-es5/index-6e4709ff.js +0 -5
- 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-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-3391d9a3.entry.js +0 -4
- package/dist/ionic/p-352f7037.system.entry.js +0 -4
- package/dist/ionic/p-35722bba.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-4a615fea.entry.js +0 -4
- package/dist/ionic/p-51ff648c.entry.js +0 -4
- package/dist/ionic/p-546433d2.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-5fa8587e.system.entry.js +0 -4
- package/dist/ionic/p-69bc14fd.entry.js +0 -4
- package/dist/ionic/p-6a7eac5a.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-7d9eefb3.system.js +0 -4
- package/dist/ionic/p-7fc505bf.entry.js +0 -4
- package/dist/ionic/p-896111fa.entry.js +0 -4
- package/dist/ionic/p-89b59bd7.entry.js +0 -4
- package/dist/ionic/p-9540561f.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-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-c8f2b769.entry.js +0 -4
- package/dist/ionic/p-c99ccdc9.entry.js +0 -4
- package/dist/ionic/p-d79542bd.system.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-f0392d49.entry.js +0 -4
- package/dist/ionic/p-f94cbfe9.js +0 -4
|
@@ -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"; }
|
package/dist/docs.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-
|
|
2
|
+
"timestamp": "2024-04-17T13:21:49",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
6
|
-
"typescriptVersion": "5.4.
|
|
5
|
+
"version": "4.15.0",
|
|
6
|
+
"typescriptVersion": "5.4.4"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
9
9
|
{
|
|
@@ -9763,10 +9763,10 @@
|
|
|
9763
9763
|
},
|
|
9764
9764
|
{
|
|
9765
9765
|
"name": "autocomplete",
|
|
9766
|
-
"type": "\"name\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"
|
|
9766
|
+
"type": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
9767
9767
|
"complexType": {
|
|
9768
9768
|
"original": "AutocompleteTypes",
|
|
9769
|
-
"resolved": "\"name\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"
|
|
9769
|
+
"resolved": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
9770
9770
|
"references": {
|
|
9771
9771
|
"AutocompleteTypes": {
|
|
9772
9772
|
"location": "import",
|
|
@@ -9786,6 +9786,18 @@
|
|
|
9786
9786
|
"value": "name",
|
|
9787
9787
|
"type": "string"
|
|
9788
9788
|
},
|
|
9789
|
+
{
|
|
9790
|
+
"value": "email",
|
|
9791
|
+
"type": "string"
|
|
9792
|
+
},
|
|
9793
|
+
{
|
|
9794
|
+
"value": "tel",
|
|
9795
|
+
"type": "string"
|
|
9796
|
+
},
|
|
9797
|
+
{
|
|
9798
|
+
"value": "url",
|
|
9799
|
+
"type": "string"
|
|
9800
|
+
},
|
|
9789
9801
|
{
|
|
9790
9802
|
"value": "on",
|
|
9791
9803
|
"type": "string"
|
|
@@ -9818,10 +9830,6 @@
|
|
|
9818
9830
|
"value": "nickname",
|
|
9819
9831
|
"type": "string"
|
|
9820
9832
|
},
|
|
9821
|
-
{
|
|
9822
|
-
"value": "email",
|
|
9823
|
-
"type": "string"
|
|
9824
|
-
},
|
|
9825
9833
|
{
|
|
9826
9834
|
"value": "username",
|
|
9827
9835
|
"type": "string"
|
|
@@ -9962,10 +9970,6 @@
|
|
|
9962
9970
|
"value": "sex",
|
|
9963
9971
|
"type": "string"
|
|
9964
9972
|
},
|
|
9965
|
-
{
|
|
9966
|
-
"value": "tel",
|
|
9967
|
-
"type": "string"
|
|
9968
|
-
},
|
|
9969
9973
|
{
|
|
9970
9974
|
"value": "tel-country-code",
|
|
9971
9975
|
"type": "string"
|
|
@@ -9990,10 +9994,6 @@
|
|
|
9990
9994
|
"value": "impp",
|
|
9991
9995
|
"type": "string"
|
|
9992
9996
|
},
|
|
9993
|
-
{
|
|
9994
|
-
"value": "url",
|
|
9995
|
-
"type": "string"
|
|
9996
|
-
},
|
|
9997
9997
|
{
|
|
9998
9998
|
"value": "photo",
|
|
9999
9999
|
"type": "string"
|
|
@@ -22782,10 +22782,10 @@
|
|
|
22782
22782
|
},
|
|
22783
22783
|
{
|
|
22784
22784
|
"name": "autocomplete",
|
|
22785
|
-
"type": "\"name\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"
|
|
22785
|
+
"type": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
22786
22786
|
"complexType": {
|
|
22787
22787
|
"original": "AutocompleteTypes",
|
|
22788
|
-
"resolved": "\"name\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"
|
|
22788
|
+
"resolved": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
22789
22789
|
"references": {
|
|
22790
22790
|
"AutocompleteTypes": {
|
|
22791
22791
|
"location": "import",
|
|
@@ -22805,6 +22805,18 @@
|
|
|
22805
22805
|
"value": "name",
|
|
22806
22806
|
"type": "string"
|
|
22807
22807
|
},
|
|
22808
|
+
{
|
|
22809
|
+
"value": "email",
|
|
22810
|
+
"type": "string"
|
|
22811
|
+
},
|
|
22812
|
+
{
|
|
22813
|
+
"value": "tel",
|
|
22814
|
+
"type": "string"
|
|
22815
|
+
},
|
|
22816
|
+
{
|
|
22817
|
+
"value": "url",
|
|
22818
|
+
"type": "string"
|
|
22819
|
+
},
|
|
22808
22820
|
{
|
|
22809
22821
|
"value": "on",
|
|
22810
22822
|
"type": "string"
|
|
@@ -22837,10 +22849,6 @@
|
|
|
22837
22849
|
"value": "nickname",
|
|
22838
22850
|
"type": "string"
|
|
22839
22851
|
},
|
|
22840
|
-
{
|
|
22841
|
-
"value": "email",
|
|
22842
|
-
"type": "string"
|
|
22843
|
-
},
|
|
22844
22852
|
{
|
|
22845
22853
|
"value": "username",
|
|
22846
22854
|
"type": "string"
|
|
@@ -22981,10 +22989,6 @@
|
|
|
22981
22989
|
"value": "sex",
|
|
22982
22990
|
"type": "string"
|
|
22983
22991
|
},
|
|
22984
|
-
{
|
|
22985
|
-
"value": "tel",
|
|
22986
|
-
"type": "string"
|
|
22987
|
-
},
|
|
22988
22992
|
{
|
|
22989
22993
|
"value": "tel-country-code",
|
|
22990
22994
|
"type": "string"
|
|
@@ -23009,10 +23013,6 @@
|
|
|
23009
23013
|
"value": "impp",
|
|
23010
23014
|
"type": "string"
|
|
23011
23015
|
},
|
|
23012
|
-
{
|
|
23013
|
-
"value": "url",
|
|
23014
|
-
"type": "string"
|
|
23015
|
-
},
|
|
23016
23016
|
{
|
|
23017
23017
|
"value": "photo",
|
|
23018
23018
|
"type": "string"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as writeTask } from './index-
|
|
4
|
+
import { w as writeTask } from './index-bcd8859b.js';
|
|
5
5
|
import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-ac164e4c.js';
|
|
6
6
|
import { createGesture } from './index-39782642.js';
|
|
7
7
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { c as config } from './ionic-global-
|
|
6
|
-
import './index-
|
|
5
|
+
import { c as config } from './ionic-global-e6c98cd0.js';
|
|
6
|
+
import './index-bcd8859b.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* CloseWatcher is a newer API that lets
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-
|
|
5
|
+
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-ba8f64c2.js';
|
|
6
6
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
7
7
|
import { c as componentOnReady } from './helpers-da915de8.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
8
|
+
import { b as getIonMode } from './ionic-global-e6c98cd0.js';
|
|
9
9
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -864,17 +864,35 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
864
864
|
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
865
865
|
{
|
|
866
866
|
// remove attributes no longer present on the vnode by setting them to undefined
|
|
867
|
-
for (memberName
|
|
867
|
+
for (memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
868
868
|
if (!(memberName in newVnodeAttrs)) {
|
|
869
869
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
873
|
// add new & update changed attributes
|
|
874
|
-
for (memberName
|
|
874
|
+
for (memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
875
875
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
+
/**
|
|
879
|
+
* Sort a list of attribute names to ensure that all the attribute names which
|
|
880
|
+
* are _not_ `"ref"` come before `"ref"`. Preserve the order of the non-ref
|
|
881
|
+
* attributes.
|
|
882
|
+
*
|
|
883
|
+
* **Note**: if the supplied attributes do not include `'ref'` then the same
|
|
884
|
+
* (by reference) array will be returned without modification.
|
|
885
|
+
*
|
|
886
|
+
* @param attrNames attribute names to sort
|
|
887
|
+
* @returns a list of attribute names, sorted if they include `"ref"`
|
|
888
|
+
*/
|
|
889
|
+
function sortedAttrNames(attrNames) {
|
|
890
|
+
return attrNames.includes('ref')
|
|
891
|
+
? // we need to sort these to ensure that `'ref'` is the last attr
|
|
892
|
+
[...attrNames.filter((attr) => attr !== 'ref'), 'ref']
|
|
893
|
+
: // no need to sort, return the original array
|
|
894
|
+
attrNames;
|
|
895
|
+
}
|
|
878
896
|
/**
|
|
879
897
|
* Create a DOM Node corresponding to one of the children of a given VNode.
|
|
880
898
|
*
|
|
@@ -1770,6 +1788,11 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1770
1788
|
let refNode = (_b = orgLocationNode['s-nr']) !== null && _b !== void 0 ? _b : null;
|
|
1771
1789
|
if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
|
|
1772
1790
|
refNode = refNode.nextSibling;
|
|
1791
|
+
// If the refNode is the same node to be relocated or another element's slot reference, keep searching to find the
|
|
1792
|
+
// correct relocation target
|
|
1793
|
+
while (refNode === nodeToRelocate || (refNode === null || refNode === void 0 ? void 0 : refNode['s-sr'])) {
|
|
1794
|
+
refNode = refNode === null || refNode === void 0 ? void 0 : refNode.nextSibling;
|
|
1795
|
+
}
|
|
1773
1796
|
if (!refNode || !refNode['s-nr']) {
|
|
1774
1797
|
insertBeforeNode = refNode;
|
|
1775
1798
|
break;
|
|
@@ -2596,7 +2619,7 @@ const patchSlotAppendChild = (HostElementPrototype) => {
|
|
|
2596
2619
|
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
|
2597
2620
|
HostElementPrototype.appendChild = function (newChild) {
|
|
2598
2621
|
const slotName = (newChild['s-sn'] = getSlotName(newChild));
|
|
2599
|
-
const slotNode = getHostSlotNode(this.childNodes, slotName);
|
|
2622
|
+
const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
|
|
2600
2623
|
if (slotNode) {
|
|
2601
2624
|
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
2602
2625
|
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
@@ -2619,7 +2642,7 @@ const patchSlotRemoveChild = (ElementPrototype) => {
|
|
|
2619
2642
|
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
|
2620
2643
|
ElementPrototype.removeChild = function (toRemove) {
|
|
2621
2644
|
if (toRemove && typeof toRemove['s-sn'] !== 'undefined') {
|
|
2622
|
-
const slotNode = getHostSlotNode(this.childNodes, toRemove['s-sn']);
|
|
2645
|
+
const slotNode = getHostSlotNode(this.childNodes, toRemove['s-sn'], this.tagName);
|
|
2623
2646
|
if (slotNode) {
|
|
2624
2647
|
// Get all slot content
|
|
2625
2648
|
const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove['s-sn']);
|
|
@@ -2650,7 +2673,7 @@ const patchSlotPrepend = (HostElementPrototype) => {
|
|
|
2650
2673
|
newChild = this.ownerDocument.createTextNode(newChild);
|
|
2651
2674
|
}
|
|
2652
2675
|
const slotName = (newChild['s-sn'] = getSlotName(newChild));
|
|
2653
|
-
const slotNode = getHostSlotNode(this.childNodes, slotName);
|
|
2676
|
+
const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
|
|
2654
2677
|
if (slotNode) {
|
|
2655
2678
|
const slotPlaceholder = document.createTextNode('');
|
|
2656
2679
|
slotPlaceholder['s-nr'] = newChild;
|
|
@@ -2867,17 +2890,18 @@ const getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAt
|
|
|
2867
2890
|
* Recursively searches a series of child nodes for a slot with the provided name.
|
|
2868
2891
|
* @param childNodes the nodes to search for a slot with a specific name.
|
|
2869
2892
|
* @param slotName the name of the slot to match on.
|
|
2893
|
+
* @param hostName the host name of the slot to match on.
|
|
2870
2894
|
* @returns a reference to the slot node that matches the provided name, `null` otherwise
|
|
2871
2895
|
*/
|
|
2872
|
-
const getHostSlotNode = (childNodes, slotName) => {
|
|
2896
|
+
const getHostSlotNode = (childNodes, slotName, hostName) => {
|
|
2873
2897
|
let i = 0;
|
|
2874
2898
|
let childNode;
|
|
2875
2899
|
for (; i < childNodes.length; i++) {
|
|
2876
2900
|
childNode = childNodes[i];
|
|
2877
|
-
if (childNode['s-sr'] && childNode['s-sn'] === slotName) {
|
|
2901
|
+
if (childNode['s-sr'] && childNode['s-sn'] === slotName && childNode['s-hn'] === hostName) {
|
|
2878
2902
|
return childNode;
|
|
2879
2903
|
}
|
|
2880
|
-
childNode = getHostSlotNode(childNode.childNodes, slotName);
|
|
2904
|
+
childNode = getHostSlotNode(childNode.childNodes, slotName, hostName);
|
|
2881
2905
|
if (childNode) {
|
|
2882
2906
|
return childNode;
|
|
2883
2907
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as writeTask, B as Build } from './index-
|
|
4
|
+
import { w as writeTask, B as Build } from './index-bcd8859b.js';
|
|
5
5
|
import { r as raf } from './helpers-da915de8.js';
|
|
6
6
|
|
|
7
7
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
@@ -10,8 +10,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
|
|
|
10
10
|
const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
|
|
11
11
|
const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
12
12
|
|
|
13
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
14
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
13
|
+
const iosTransitionAnimation = () => import('./ios.transition-71bfa932.js');
|
|
14
|
+
const mdTransitionAnimation = () => import('./md.transition-86aef3c0.js');
|
|
15
15
|
// TODO(FW-2832): types
|
|
16
16
|
const transition = (opts) => {
|
|
17
17
|
return new Promise((resolve, reject) => {
|
package/dist/esm/index.js
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
export { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-f0d7371a.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-71bfa932.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-86aef3c0.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
|
-
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-
|
|
10
|
+
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-e6c98cd0.js';
|
|
11
11
|
export { c as componentOnReady } from './helpers-da915de8.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-56d90da9.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-6fb4a2f2.js';
|
|
16
16
|
import './index-a5d50daf.js';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-bcd8859b.js';
|
|
18
18
|
import './gesture-controller-314a54f6.js';
|
|
19
|
-
import './hardware-back-button-
|
|
19
|
+
import './hardware-back-button-ba8f64c2.js';
|
|
20
20
|
import './index-9b0d46f4.js';
|
|
21
21
|
import './framework-delegate-63d1a679.js';
|
|
22
22
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-bcd8859b.js';
|
|
5
5
|
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-da915de8.js';
|
|
6
6
|
import { l as chevronDown } from './index-e2cf2ceb.js';
|
|
7
|
-
import { c as config, b as getIonMode } from './ionic-global-
|
|
7
|
+
import { c as config, b as getIonMode } from './ionic-global-e6c98cd0.js';
|
|
8
8
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
9
9
|
|
|
10
10
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, e as readTask, h, f as Host, i as getElement } from './index-
|
|
5
|
-
import { c as createButtonActiveGesture } from './button-active-
|
|
4
|
+
import { r as registerInstance, d as createEvent, e as readTask, h, f as Host, i as getElement } from './index-bcd8859b.js';
|
|
5
|
+
import { c as createButtonActiveGesture } from './button-active-46df59c1.js';
|
|
6
6
|
import { r as raf } from './helpers-da915de8.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-6fb4a2f2.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
|
-
import { b as getIonMode } from './ionic-global-
|
|
10
|
+
import { b as getIonMode } from './ionic-global-e6c98cd0.js';
|
|
11
11
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
12
12
|
import './haptic-ac164e4c.js';
|
|
13
13
|
import './capacitor-59395cbd.js';
|
|
14
14
|
import './index-a5d50daf.js';
|
|
15
15
|
import './index-39782642.js';
|
|
16
16
|
import './gesture-controller-314a54f6.js';
|
|
17
|
-
import './hardware-back-button-
|
|
17
|
+
import './hardware-back-button-ba8f64c2.js';
|
|
18
18
|
import './framework-delegate-63d1a679.js';
|
|
19
19
|
import './index-9b0d46f4.js';
|
|
20
20
|
|
|
@@ -293,12 +293,12 @@ const ActionSheet = class {
|
|
|
293
293
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
294
294
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
295
295
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
296
|
-
return (h(Host, Object.assign({ key: '
|
|
296
|
+
return (h(Host, Object.assign({ key: 'b640e9730af4bd9ec569884cf203c63102e0ea59', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
297
297
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
298
|
-
}, 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: '
|
|
298
|
+
}, 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: {
|
|
299
299
|
'action-sheet-title': true,
|
|
300
300
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
301
|
-
} }, 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",
|
|
301
|
+
} }, 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" })));
|
|
302
302
|
}
|
|
303
303
|
get el() { return getElement(this); }
|
|
304
304
|
static get watchers() { return {
|