@ionic/core 8.0.0-dev.11711734184.18e3ccbf → 8.0.0-dev.11712850753.10c4a960
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/button.js +2 -2
- package/components/ion-content.js +6 -4
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +8 -6
- 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 +8 -4
- 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 +9 -7
- 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 +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +3 -2
- 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 +8 -6
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- 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 -211
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -211
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.css +0 -2
- package/css/palettes/dark.system.css +1 -213
- 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/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +14 -13
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +13 -11
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +7 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +8 -7
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +7 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-6487955a.js → overlays-66fcac49.js} +3 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/button/button.ios.css +47 -8
- package/dist/collection/components/button/button.md.css +49 -8
- package/dist/collection/components/content/content.js +23 -4
- package/dist/collection/components/content/test/content.spec.js +27 -0
- package/dist/collection/components/datetime/datetime.js +8 -6
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
- package/dist/collection/components/datetime-button/datetime-button.js +1 -1
- 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 +25 -5
- package/dist/collection/components/input/test/input.spec.js +13 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- 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 +3 -2
- package/dist/collection/components/modal/modal.js +24 -5
- package/dist/collection/components/modal/test/basic/modal.spec.js +19 -0
- 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 +23 -4
- 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/popover/test/basic/popover.spec.js +19 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- 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.js +3 -3
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +133 -5
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/themes/test/colors/theme.e2e.js +1 -3
- package/dist/collection/utils/overlays.js +2 -1
- package/dist/docs.json +126 -31
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +14 -13
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +13 -11
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +7 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +8 -7
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -6
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment_2.entry.js +5 -5
- package/dist/esm/ion-select_3.entry.js +5 -5
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-9472c98b.js → overlays-634df4be.js} +3 -2
- package/dist/esm-es5/index.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-button_2.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.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{overlays-9472c98b.js → overlays-634df4be.js} +1 -1
- package/dist/html.html-data.json +42 -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-012cc611.system.entry.js +4 -0
- package/dist/ionic/p-07c88a2e.entry.js +4 -0
- package/dist/ionic/p-0d189eaf.entry.js +4 -0
- package/dist/ionic/{p-43505ff8.system.entry.js → p-0fad7a2d.system.entry.js} +1 -1
- package/dist/ionic/{p-3d6e882f.system.entry.js → p-1361399b.system.entry.js} +1 -1
- package/dist/ionic/{p-a1f9f629.system.entry.js → p-14700c11.system.entry.js} +1 -1
- package/dist/ionic/p-159a5b6a.system.entry.js +4 -0
- package/dist/ionic/{p-d8067ea4.system.entry.js → p-17050343.system.entry.js} +1 -1
- package/dist/ionic/p-18057853.entry.js +4 -0
- package/dist/ionic/{p-c9c39c98.system.entry.js → p-18609ea3.system.entry.js} +1 -1
- package/dist/ionic/{p-83321ee8.entry.js → p-1bd294a2.entry.js} +1 -1
- package/dist/ionic/{p-0bbb6edf.system.entry.js → p-23a94a8e.system.entry.js} +1 -1
- package/dist/ionic/{p-d8f66669.entry.js → p-23e0649d.entry.js} +1 -1
- package/dist/ionic/{p-99daf8b7.entry.js → p-240cac05.entry.js} +1 -1
- package/dist/ionic/p-2b106d43.system.entry.js +4 -0
- package/dist/ionic/{p-c04d5a75.entry.js → p-2d5e919f.entry.js} +1 -1
- package/dist/ionic/{p-c41af68a.entry.js → p-3001b2f5.entry.js} +1 -1
- package/dist/ionic/{p-8bd567ba.system.entry.js → p-32950317.system.entry.js} +1 -1
- package/dist/ionic/{p-1f9cdee2.entry.js → p-33444157.entry.js} +1 -1
- package/dist/ionic/{p-49b6fee0.system.entry.js → p-33723893.system.entry.js} +1 -1
- package/dist/ionic/{p-6f4db5ce.system.entry.js → p-34272b1f.system.entry.js} +1 -1
- package/dist/ionic/{p-ea2c16b5.system.entry.js → p-37ed0807.system.entry.js} +2 -2
- package/dist/ionic/{p-7fc505bf.entry.js → p-3d72cae3.entry.js} +1 -1
- package/dist/ionic/{p-4429fc97.system.entry.js → p-414d73bc.system.entry.js} +1 -1
- package/dist/ionic/{p-3e3b34f7.system.entry.js → p-4264f999.system.entry.js} +1 -1
- package/dist/ionic/{p-f0392d49.entry.js → p-4861159f.entry.js} +1 -1
- package/dist/ionic/p-4e6ddce7.entry.js +4 -0
- package/dist/ionic/{p-896111fa.entry.js → p-512cdc37.entry.js} +1 -1
- package/dist/ionic/{p-ff2323ba.system.entry.js → p-5278521a.system.entry.js} +2 -2
- package/dist/ionic/{p-c198e1e1.system.entry.js → p-54f52179.system.entry.js} +1 -1
- package/dist/ionic/{p-aa110ca0.system.entry.js → p-587643a6.system.entry.js} +1 -1
- package/dist/ionic/{p-07ae133d.system.entry.js → p-5cf61334.system.entry.js} +1 -1
- package/dist/ionic/{p-0f2d99a6.entry.js → p-5eafecd8.entry.js} +1 -1
- package/dist/ionic/{p-17978fce.entry.js → p-61aa1ba6.entry.js} +1 -1
- package/dist/ionic/{p-04070329.system.entry.js → p-64714af0.system.entry.js} +1 -1
- package/dist/ionic/{p-1672c4fd.system.entry.js → p-65e0d04e.system.entry.js} +2 -2
- package/dist/ionic/{p-5b1273f4.system.entry.js → p-69c8ec2a.system.entry.js} +1 -1
- package/dist/ionic/{p-35b9e842.entry.js → p-6c3c02d4.entry.js} +1 -1
- package/dist/ionic/{p-352f7037.system.entry.js → p-715d10d2.system.entry.js} +1 -1
- package/dist/ionic/{p-ab85debb.entry.js → p-727255c2.entry.js} +1 -1
- package/dist/ionic/p-73281e75.system.entry.js +4 -0
- package/dist/ionic/{p-fab4ecad.system.entry.js → p-745eb00b.system.entry.js} +1 -1
- package/dist/ionic/{p-0ebb1fe7.system.entry.js → p-7820f3ab.system.entry.js} +1 -1
- package/dist/ionic/{p-fda4872f.entry.js → p-784d54d4.entry.js} +1 -1
- package/dist/ionic/{p-716ab5f8.system.entry.js → p-8337ce33.system.entry.js} +1 -1
- package/dist/ionic/p-8370ef82.entry.js +4 -0
- package/dist/ionic/p-88250ff0.entry.js +4 -0
- package/dist/ionic/{p-51b68ec9.system.entry.js → p-8a6e15fc.system.entry.js} +1 -1
- package/dist/ionic/p-8b19c120.entry.js +4 -0
- package/dist/ionic/{p-e955bf61.entry.js → p-8bbc7271.entry.js} +1 -1
- package/dist/ionic/{p-fbd30ec7.entry.js → p-92210d07.entry.js} +1 -1
- package/dist/ionic/p-9399625f.entry.js +4 -0
- package/dist/ionic/p-95bc0add.system.entry.js +4 -0
- package/dist/ionic/p-9a45140d.system.entry.js +4 -0
- package/dist/ionic/{p-0aa4682e.entry.js → p-9ce13bcc.entry.js} +1 -1
- package/dist/ionic/{p-58ea73f7.system.entry.js → p-9d9f20ce.system.entry.js} +1 -1
- package/dist/ionic/{p-a1b4e619.system.entry.js → p-9e8cf5a2.system.entry.js} +1 -1
- package/dist/ionic/{p-2e12bda2.entry.js → p-a70c90d8.entry.js} +1 -1
- package/dist/ionic/p-ab5db814.js +4 -0
- package/dist/ionic/{p-fb97326f.system.entry.js → p-ac6dd92b.system.entry.js} +1 -1
- package/dist/ionic/{p-51ff648c.entry.js → p-ae21e7ab.entry.js} +1 -1
- package/dist/ionic/{p-dc1372e0.entry.js → p-bcbce3d9.entry.js} +1 -1
- package/dist/ionic/{p-c8f2b769.entry.js → p-bd516c16.entry.js} +1 -1
- package/dist/ionic/{p-a88fdfac.entry.js → p-be9f56eb.entry.js} +1 -1
- package/dist/ionic/{p-4196b2d1.system.entry.js → p-bf4609f9.system.entry.js} +1 -1
- package/dist/ionic/{p-fb02eeec.system.entry.js → p-c373bd37.system.entry.js} +1 -1
- package/dist/ionic/p-c478747f.system.js +4 -0
- package/dist/ionic/{p-d98c0112.entry.js → p-c872fcd2.entry.js} +1 -1
- package/dist/ionic/{p-5da04d11.entry.js → p-c8db6adb.entry.js} +1 -1
- package/dist/ionic/p-cec3bebe.entry.js +4 -0
- package/dist/ionic/p-cfdb1223.entry.js +4 -0
- package/dist/ionic/{p-76907c2f.system.entry.js → p-d104ba38.system.entry.js} +1 -1
- package/dist/ionic/{p-3391d9a3.entry.js → p-d2b175d3.entry.js} +1 -1
- package/dist/ionic/p-d335115d.system.js +4 -0
- package/dist/ionic/{p-100bedc4.system.entry.js → p-d8ebc853.system.entry.js} +1 -1
- package/dist/ionic/{p-8e9ac22d.entry.js → p-db1d7caa.entry.js} +1 -1
- package/dist/ionic/{p-df6fa126.entry.js → p-de3c33f3.entry.js} +1 -1
- package/dist/ionic/p-e350ab4a.entry.js +4 -0
- package/dist/ionic/{p-a8f02173.system.js → p-f24e9676.system.js} +1 -1
- package/dist/ionic/p-f31ef319.system.entry.js +4 -0
- package/dist/ionic/{p-c99ccdc9.entry.js → p-f4f3b780.entry.js} +1 -1
- package/dist/ionic/{p-1cff9cad.entry.js → p-f6f4f694.entry.js} +1 -1
- package/dist/ionic/{p-e8a0e731.entry.js → p-f96f7d38.entry.js} +1 -1
- package/dist/ionic/{p-68a1e274.system.entry.js → p-fb16b850.system.entry.js} +1 -1
- package/dist/ionic/{p-c1d1d004.system.entry.js → p-fb1ee785.system.entry.js} +1 -1
- package/dist/ionic/{p-510578f3.system.entry.js → p-fe246e19.system.entry.js} +1 -1
- package/dist/types/components/content/content.d.ts +8 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +18 -0
- package/dist/types/components/popover/popover-interface.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +18 -0
- package/dist/types/components.d.ts +32 -0
- package/dist/types/utils/overlays.d.ts +1 -0
- package/hydrate/index.js +168 -140
- package/package.json +2 -2
- package/dist/ionic/p-049fa018.system.entry.js +0 -4
- package/dist/ionic/p-0de546bb.entry.js +0 -4
- package/dist/ionic/p-23b89985.entry.js +0 -4
- package/dist/ionic/p-25575222.system.js +0 -4
- package/dist/ionic/p-35722bba.system.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-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-75280815.entry.js +0 -4
- package/dist/ionic/p-7df2c495.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-ac9f44a8.system.entry.js +0 -4
- package/dist/ionic/p-bb835b4d.system.entry.js +0 -4
- package/dist/ionic/p-df48edd6.entry.js +0 -4
- package/dist/ionic/p-ea4be6ac.system.js +0 -4
- package/dist/ionic/p-eb3da535.system.entry.js +0 -4
- package/dist/ionic/p-f4cb521c.js +0 -4
- package/dist/ionic/p-f818b01a.entry.js +0 -4
|
@@ -11,7 +11,7 @@ import { c as chevronBack, o as chevronForward, l as chevronDown, p as caretUpSh
|
|
|
11
11
|
import { b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
12
12
|
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getDaysOfWeek, J as getMonthAndYear, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data-ae11fd43.js';
|
|
13
13
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
14
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
14
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-634df4be.js';
|
|
15
15
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
16
16
|
import { b as hapticSelectionChanged, h as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-ac164e4c.js';
|
|
17
17
|
import './index-a5d50daf.js';
|
|
@@ -287,10 +287,10 @@ const Datetime = class {
|
|
|
287
287
|
const { activeParts } = this;
|
|
288
288
|
return Array.isArray(activeParts) ? activeParts[0] : activeParts;
|
|
289
289
|
};
|
|
290
|
-
this.closeParentOverlay = () => {
|
|
290
|
+
this.closeParentOverlay = (role) => {
|
|
291
291
|
const popoverOrModal = this.el.closest('ion-modal, ion-popover');
|
|
292
292
|
if (popoverOrModal) {
|
|
293
|
-
popoverOrModal.dismiss();
|
|
293
|
+
popoverOrModal.dismiss(undefined, role);
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
this.setWorkingParts = (parts) => {
|
|
@@ -960,7 +960,7 @@ const Datetime = class {
|
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
962
|
if (closeOverlay) {
|
|
963
|
-
this.closeParentOverlay();
|
|
963
|
+
this.closeParentOverlay(CONFIRM_ROLE);
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
/**
|
|
@@ -980,7 +980,7 @@ const Datetime = class {
|
|
|
980
980
|
async cancel(closeOverlay = false) {
|
|
981
981
|
this.ionCancel.emit();
|
|
982
982
|
if (closeOverlay) {
|
|
983
|
-
this.closeParentOverlay();
|
|
983
|
+
this.closeParentOverlay(CANCEL_ROLE);
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
get isCalendarPicker() {
|
|
@@ -1758,7 +1758,7 @@ const Datetime = class {
|
|
|
1758
1758
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1759
1759
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1760
1760
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1761
|
-
return (h(Host, { key: '
|
|
1761
|
+
return (h(Host, { key: '952afba4aff8f172dcdc7986afb56271f0e239aa', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1762
1762
|
[mode]: true,
|
|
1763
1763
|
['datetime-readonly']: readonly,
|
|
1764
1764
|
['datetime-disabled']: disabled,
|
|
@@ -1768,7 +1768,7 @@ const Datetime = class {
|
|
|
1768
1768
|
[`datetime-size-${size}`]: true,
|
|
1769
1769
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1770
1770
|
[`datetime-grid`]: isGridStyle,
|
|
1771
|
-
})) }, h("div", { key: '
|
|
1771
|
+
})) }, h("div", { key: '2de62751e7498f09cef364a401e65a098be4705a', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1772
1772
|
}
|
|
1773
1773
|
get el() { return getElement(this); }
|
|
1774
1774
|
static get watchers() { return {
|
|
@@ -1786,6 +1786,8 @@ const Datetime = class {
|
|
|
1786
1786
|
}; }
|
|
1787
1787
|
};
|
|
1788
1788
|
let datetimeIds = 0;
|
|
1789
|
+
const CANCEL_ROLE = 'datetime-cancel';
|
|
1790
|
+
const CONFIRM_ROLE = 'datetime-confirm';
|
|
1789
1791
|
const WHEEL_ITEM_PART = 'wheel-item';
|
|
1790
1792
|
const WHEEL_ITEM_ACTIVE_PART = `active`;
|
|
1791
1793
|
Datetime.style = {
|
|
@@ -2020,11 +2022,11 @@ const Picker = class {
|
|
|
2020
2022
|
render() {
|
|
2021
2023
|
const { htmlAttributes } = this;
|
|
2022
2024
|
const mode = getIonMode(this);
|
|
2023
|
-
return (h(Host, Object.assign({ key: '
|
|
2025
|
+
return (h(Host, Object.assign({ key: '1cf2f8a25a3eca7ac59eff969803c85540f102fc', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2024
2026
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2025
2027
|
}, class: Object.assign({ [mode]: true,
|
|
2026
2028
|
// Used internally for styling
|
|
2027
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2029
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '3a70c7c6e0457afda2e9ef4619cb253b583b7805', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '4c90cf7dfeb9d2bdb5e947739864dbc2d1e327e0', tabindex: "0" }), h("div", { key: '050098ced341fd86bfcd72595b1f7a52c3b01b46', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'b0d9420fb053d0c71af04c88224a38f804fd99ba', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '82cd2788c394079cb8843c240c17e3629eef0953', class: "picker-columns" }, h("div", { key: '34d2ce59e88b5967e52fe8077ef3a151c6ce38e5', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'b604b101bc0006efc246aea9320d9f44419c531f', class: "picker-below-highlight" }))), h("div", { key: '70437d735b009386b4f5ae250b555c039c366183', tabindex: "0" })));
|
|
2028
2030
|
}
|
|
2029
2031
|
get el() { return getElement(this); }
|
|
2030
2032
|
static get watchers() { return {
|
|
@@ -2381,9 +2383,9 @@ const PickerColumnCmp = class {
|
|
|
2381
2383
|
render() {
|
|
2382
2384
|
const col = this.col;
|
|
2383
2385
|
const mode = getIonMode(this);
|
|
2384
|
-
return (h(Host, { key: '
|
|
2386
|
+
return (h(Host, { key: '0337ac8379be177501b8d61f0ac0f68ecbb8344d', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
2385
2387
|
'max-width': this.col.columnWidth,
|
|
2386
|
-
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '
|
|
2388
|
+
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '013ba8ea1c2fe4fe717386b9cc87484913c234f7', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2387
2389
|
}
|
|
2388
2390
|
get el() { return getElement(this); }
|
|
2389
2391
|
static get watchers() { return {
|
|
@@ -55,12 +55,12 @@ const Fab = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const { horizontal, vertical, edge } = this;
|
|
57
57
|
const mode = getIonMode(this);
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '8d10537e35f518b03a840de9a0fbe7973abc4290', class: {
|
|
59
59
|
[mode]: true,
|
|
60
60
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
61
61
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
62
62
|
'fab-edge': edge,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: '77331bf85f939b20ff14886f0a8b0f13c5ca392a' })));
|
|
64
64
|
}
|
|
65
65
|
get el() { return getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -129,7 +129,7 @@ const FabButton = class {
|
|
|
129
129
|
rel: this.rel,
|
|
130
130
|
target: this.target,
|
|
131
131
|
};
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'bc00fdb39e41787a3b4c53aededfc32485ee9211', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
133
133
|
[mode]: true,
|
|
134
134
|
'fab-button-in-list': inList,
|
|
135
135
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -140,7 +140,7 @@ const FabButton = class {
|
|
|
140
140
|
'ion-activatable': true,
|
|
141
141
|
'ion-focusable': true,
|
|
142
142
|
[`fab-button-${size}`]: size !== undefined,
|
|
143
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
143
|
+
}) }, h(TagType, Object.assign({ key: 'fe13b3e19638177b516e6e530e6ff0b745856481' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '210e4a3cd39e0ff6fc300eeaafa3a9330a9dc73f', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'c6547612ff58a1e46bae2e91302b6b86a49d6429', class: "button-inner" }, h("slot", { key: '48abc7e6a27391f2595eeddf9abd8d16c0a86630' })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
144
144
|
}
|
|
145
145
|
get el() { return getElement(this); }
|
|
146
146
|
};
|
|
@@ -168,11 +168,11 @@ const FabList = class {
|
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
170
|
const mode = getIonMode(this);
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: 'ccce297302fa14d6ce0646d4bb14a74e71d68cb9', class: {
|
|
172
172
|
[mode]: true,
|
|
173
173
|
'fab-list-active': this.activated,
|
|
174
174
|
[`fab-list-side-${this.side}`]: true,
|
|
175
|
-
} }, h("slot", { key: '
|
|
175
|
+
} }, h("slot", { key: '9007d178411ea80db29d2034473e3f9d61157fa1' })));
|
|
176
176
|
}
|
|
177
177
|
get el() { return getElement(this); }
|
|
178
178
|
static get watchers() { return {
|
|
@@ -76,7 +76,7 @@ const Img = class {
|
|
|
76
76
|
render() {
|
|
77
77
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
78
78
|
const { draggable } = inheritedAttributes;
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '167143c9e996a0b2f78841e6c427c57a322189d7', class: getIonMode(this) }, h("img", { key: 'e840d04e5d0a939cd4c2d19f915a3fee394419b5', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
80
80
|
}
|
|
81
81
|
get el() { return getElement(this); }
|
|
82
82
|
static get watchers() { return {
|
|
@@ -176,7 +176,7 @@ const InfiniteScroll = class {
|
|
|
176
176
|
render() {
|
|
177
177
|
const mode = getIonMode(this);
|
|
178
178
|
const disabled = this.disabled;
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '69e7741fd2eb2053ba1d59d00d307d2f662fcf13', class: {
|
|
180
180
|
[mode]: true,
|
|
181
181
|
'infinite-scroll-loading': this.isLoading,
|
|
182
182
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -218,11 +218,11 @@ const InfiniteScrollContent = class {
|
|
|
218
218
|
}
|
|
219
219
|
render() {
|
|
220
220
|
const mode = getIonMode(this);
|
|
221
|
-
return (h(Host, { key: '
|
|
221
|
+
return (h(Host, { key: '7c32cbd526ef8a151df1c870bd3a4f0c9d764154', class: {
|
|
222
222
|
[mode]: true,
|
|
223
223
|
// Used internally for styling
|
|
224
224
|
[`infinite-scroll-content-${mode}`]: true,
|
|
225
|
-
} }, h("div", { key: '
|
|
225
|
+
} }, h("div", { key: '6bd67f2c9f3f23edc2f81b6de16134b853bea716', class: "infinite-loading" }, this.loadingSpinner && (h("div", { class: "infinite-loading-spinner" }, h("ion-spinner", { name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
InfiniteScrollContent.style = {
|
|
@@ -65,16 +65,16 @@ const InputPasswordToggle = class {
|
|
|
65
65
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
66
66
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
67
67
|
const isPasswordVisible = type === 'text';
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '9dd0f6e44824961eb19de2af03ed0237551bc623', class: createColorClasses(color, {
|
|
69
69
|
[mode]: true,
|
|
70
|
-
}) }, h("ion-button", { key: '
|
|
70
|
+
}) }, h("ion-button", { key: '72737f52a8a9767f14bde3851a28368c3420a408', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
71
71
|
/**
|
|
72
72
|
* This prevents mobile browsers from
|
|
73
73
|
* blurring the input when the password toggle
|
|
74
74
|
* button is activated.
|
|
75
75
|
*/
|
|
76
76
|
ev.preventDefault();
|
|
77
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
77
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '17a7d7681e8509aa6feab3d54ce6ca1c87b631b0', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
78
78
|
}
|
|
79
79
|
get el() { return getElement(this); }
|
|
80
80
|
static get watchers() { return {
|
|
@@ -87,6 +87,7 @@ const Input = class {
|
|
|
87
87
|
this.autocorrect = 'off';
|
|
88
88
|
this.autofocus = false;
|
|
89
89
|
this.clearInput = false;
|
|
90
|
+
this.clearInputIcon = undefined;
|
|
90
91
|
this.clearOnEdit = undefined;
|
|
91
92
|
this.counter = false;
|
|
92
93
|
this.counterFormatter = undefined;
|
|
@@ -376,11 +377,13 @@ const Input = class {
|
|
|
376
377
|
return this.renderLabel();
|
|
377
378
|
}
|
|
378
379
|
render() {
|
|
379
|
-
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus } = this;
|
|
380
|
+
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus, clearInputIcon } = this;
|
|
380
381
|
const mode = getIonMode(this);
|
|
381
382
|
const value = this.getValue();
|
|
382
383
|
const inItem = hostContext('ion-item', this.el);
|
|
383
384
|
const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
|
|
385
|
+
const defaultClearIcon = mode === 'ios' ? closeCircle : closeSharp;
|
|
386
|
+
const clearIconData = clearInputIcon !== null && clearInputIcon !== void 0 ? clearInputIcon : defaultClearIcon;
|
|
384
387
|
const hasValue = this.hasValue();
|
|
385
388
|
const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
|
|
386
389
|
/**
|
|
@@ -401,7 +404,7 @@ const Input = class {
|
|
|
401
404
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
402
405
|
*/
|
|
403
406
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
404
|
-
return (h(Host, { key: '
|
|
407
|
+
return (h(Host, { key: '12e9da8ff2d6ecce8e3ce1880ea46e71260c81fc', class: createColorClasses(this.color, {
|
|
405
408
|
[mode]: true,
|
|
406
409
|
'has-value': hasValue,
|
|
407
410
|
'has-focus': hasFocus,
|
|
@@ -412,14 +415,14 @@ const Input = class {
|
|
|
412
415
|
'in-item': inItem,
|
|
413
416
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
414
417
|
'input-disabled': disabled,
|
|
415
|
-
}) }, h("label", { key: '
|
|
418
|
+
}) }, h("label", { key: 'c241838173e639eebad7d8067063999fc609320b', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'c392fcd8367aa3a05fac3a5774dad0525670d4d0', class: "native-wrapper" }, h("slot", { key: '3f6bb21aab004dfc7957ca42d18acac73c240a0e', name: "start" }), h("input", Object.assign({ key: '86720e7d2b4e2f5cfe7dfee4c9947f0998279e17', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
416
419
|
/**
|
|
417
420
|
* This prevents mobile browsers from
|
|
418
421
|
* blurring the input when the clear
|
|
419
422
|
* button is activated.
|
|
420
423
|
*/
|
|
421
424
|
ev.preventDefault();
|
|
422
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { "aria-hidden": "true", icon:
|
|
425
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '55cf54320c1555fd3501374d2c2b4e9c1dce046f', name: "end" })), shouldRenderHighlight && h("div", { class: "input-highlight" })), this.renderBottomContent()));
|
|
423
426
|
}
|
|
424
427
|
get el() { return getElement(this); }
|
|
425
428
|
static get watchers() { return {
|
|
@@ -44,12 +44,12 @@ const ItemOption = class {
|
|
|
44
44
|
href: this.href,
|
|
45
45
|
target: this.target,
|
|
46
46
|
};
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '8cae654786fadc2cfe864e495645715cb53a3e68', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
48
48
|
[mode]: true,
|
|
49
49
|
'item-option-disabled': disabled,
|
|
50
50
|
'item-option-expandable': expandable,
|
|
51
51
|
'ion-activatable': true,
|
|
52
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
52
|
+
}) }, h(TagType, Object.assign({ key: '296e26957428fc701d52695cfbad83d507e02060' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '51b3d2e3ce737c8034678dec4fcda4dfbc1438e6', class: "button-inner" }, h("slot", { key: 'be0fbb128ef61a6deaa52eb1197c0f3481cc4ae3', name: "top" }), h("div", { key: '7ba732ae5b8c94c0448df3c3500d9f6eac71d61c', class: "horizontal-wrapper" }, h("slot", { key: '90bf045e30ae006aa7418fd25c1090de27164980', name: "start" }), h("slot", { key: '6858e4a608a4ac9144de58ada851ae3497ae7f74', name: "icon-only" }), h("slot", { key: 'a35037681327fd5753f6d3d7c9ad37b960885e96' }), h("slot", { key: '834c710c88cead42fe3d9ce7f714b62df8a8a604', name: "end" })), h("slot", { key: 'b574fe0f3655dfd9ef1e668983278b28951269e4', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
53
53
|
}
|
|
54
54
|
get el() { return getElement(this); }
|
|
55
55
|
};
|
|
@@ -79,7 +79,7 @@ const ItemOptions = class {
|
|
|
79
79
|
render() {
|
|
80
80
|
const mode = getIonMode(this);
|
|
81
81
|
const isEnd = isEndSide(this.side);
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '3d1b754bcc184044cd0213eab08fb22224abddfb', class: {
|
|
83
83
|
[mode]: true,
|
|
84
84
|
// Used internally for styling
|
|
85
85
|
[`item-options-${mode}`]: true,
|
|
@@ -487,7 +487,7 @@ const ItemSliding = class {
|
|
|
487
487
|
}
|
|
488
488
|
render() {
|
|
489
489
|
const mode = getIonMode(this);
|
|
490
|
-
return (h(Host, { key: '
|
|
490
|
+
return (h(Host, { key: '1c2d40968e7a306e4d63443571a7581e0511c9c4', class: {
|
|
491
491
|
[mode]: true,
|
|
492
492
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
493
493
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -238,11 +238,11 @@ const ItemDivider = class {
|
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
240
|
const mode = getIonMode(this);
|
|
241
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: '41b2a690aefd50a634401a985600b6eff9a68d2e', class: createColorClasses(this.color, {
|
|
242
242
|
[mode]: true,
|
|
243
243
|
'item-divider-sticky': this.sticky,
|
|
244
244
|
item: true,
|
|
245
|
-
}) }, h("slot", { key: '
|
|
245
|
+
}) }, h("slot", { key: 'b112bb29c21cfee950b6e5efb0dbb0abf0960546', name: "start" }), h("div", { key: '4aa596db07830cd597e08d927a02a033b1d3cc63', class: "item-divider-inner" }, h("div", { key: '23f288847d93c1ef4ad2e619f0eb88440240e9ea', class: "item-divider-wrapper" }, h("slot", { key: '9e9b2cc3baa537e64ff45b373322a46fb3658878' })), h("slot", { key: 'c7269f28307f00fccc47e1efb58984430ae13a5d', name: "end" }))));
|
|
246
246
|
}
|
|
247
247
|
get el() { return getElement(this); }
|
|
248
248
|
};
|
|
@@ -263,7 +263,7 @@ const ItemGroup = class {
|
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
265
|
const mode = getIonMode(this);
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: 'd0ceadd6baf0735aa38607c2207309add77e2162', role: "group", class: {
|
|
267
267
|
[mode]: true,
|
|
268
268
|
// Used internally for styling
|
|
269
269
|
[`item-group-${mode}`]: true,
|
|
@@ -333,13 +333,13 @@ const Label = class {
|
|
|
333
333
|
render() {
|
|
334
334
|
const position = this.position;
|
|
335
335
|
const mode = getIonMode(this);
|
|
336
|
-
return (h(Host, { key: '
|
|
336
|
+
return (h(Host, { key: '567b47008af8b025a043b6e00d4333c3164c5247', class: createColorClasses(this.color, {
|
|
337
337
|
[mode]: true,
|
|
338
338
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
339
339
|
[`label-${position}`]: position !== undefined,
|
|
340
340
|
[`label-no-animate`]: this.noAnimate,
|
|
341
341
|
'label-rtl': document.dir === 'rtl',
|
|
342
|
-
}) }, h("slot", { key: '
|
|
342
|
+
}) }, h("slot", { key: 'a3a8fa43fb1d74355dae8418f827ea13aa897640' })));
|
|
343
343
|
}
|
|
344
344
|
get el() { return getElement(this); }
|
|
345
345
|
static get watchers() { return {
|
|
@@ -380,7 +380,7 @@ const List = class {
|
|
|
380
380
|
render() {
|
|
381
381
|
const mode = getIonMode(this);
|
|
382
382
|
const { lines, inset } = this;
|
|
383
|
-
return (h(Host, { key: '
|
|
383
|
+
return (h(Host, { key: 'dd30ba8fb55bc55b570f6cd8babd4752d995c79b', role: "list", class: {
|
|
384
384
|
[mode]: true,
|
|
385
385
|
// Used internally for styling
|
|
386
386
|
[`list-${mode}`]: true,
|
|
@@ -411,10 +411,10 @@ const ListHeader = class {
|
|
|
411
411
|
render() {
|
|
412
412
|
const { lines } = this;
|
|
413
413
|
const mode = getIonMode(this);
|
|
414
|
-
return (h(Host, { key: '
|
|
414
|
+
return (h(Host, { key: '7b0de2d26ec09f11740ad55bba5e4d2f52623b58', class: createColorClasses(this.color, {
|
|
415
415
|
[mode]: true,
|
|
416
416
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
417
|
-
}) }, h("div", { key: '
|
|
417
|
+
}) }, h("div", { key: '86cbae45e24ce7607b011cd3cd1ae82e741a111c', class: "list-header-inner" }, h("slot", { key: 'a276c0540cd1bdd907b01620d5bfb9c996c08b90' }))));
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
ListHeader.style = {
|
|
@@ -435,9 +435,9 @@ const Note = class {
|
|
|
435
435
|
}
|
|
436
436
|
render() {
|
|
437
437
|
const mode = getIonMode(this);
|
|
438
|
-
return (h(Host, { key: '
|
|
438
|
+
return (h(Host, { key: '83fbede35bbb772419d68f6ad398aab0e00b9f61', class: createColorClasses(this.color, {
|
|
439
439
|
[mode]: true,
|
|
440
|
-
}) }, h("slot", { key: '
|
|
440
|
+
}) }, h("slot", { key: 'c4060ce2439e96a5ac8763843579b7956a90032f' })));
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
443
|
Note.style = {
|
|
@@ -470,11 +470,11 @@ const SkeletonText = class {
|
|
|
470
470
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
471
471
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
472
472
|
const mode = getIonMode(this);
|
|
473
|
-
return (h(Host, { key: '
|
|
473
|
+
return (h(Host, { key: 'e0a84e5017cde072087d5580dd370bbd36106f99', class: {
|
|
474
474
|
[mode]: true,
|
|
475
475
|
'skeleton-text-animated': animated,
|
|
476
476
|
'in-media': inMedia,
|
|
477
|
-
} }, h("span", { key: '
|
|
477
|
+
} }, h("span", { key: '3274a42e3fd4f1b9fb285f4b982416e1f68ac766' }, "\u00A0")));
|
|
478
478
|
}
|
|
479
479
|
get el() { return getElement(this); }
|
|
480
480
|
};
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, d as createEvent, h, f as Host, i as getElement
|
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.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, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-634df4be.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
10
|
import { c as config, b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
11
11
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -258,9 +258,9 @@ const Loading = class {
|
|
|
258
258
|
* Otherwise, don't set aria-labelledby.
|
|
259
259
|
*/
|
|
260
260
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
261
|
-
return (h(Host, Object.assign({ key: '
|
|
261
|
+
return (h(Host, Object.assign({ key: '0b32f7915df1327934877cc71228aea71205266f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
262
262
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
263
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
263
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'ca6c4c48b83457685a17c7a396e67cd7a6b06ab9', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'd76304807d988c02de44fc947124a15179ba2c6c', tabindex: "0" }), h("div", { key: '79ec338787a709a668c8f170d75a271bad3c2488', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { class: "loading-spinner" }, h("ion-spinner", { name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'a8e3e70c79e1b359f821c6769b1f4b4bf90da992', tabindex: "0" })));
|
|
264
264
|
}
|
|
265
265
|
get el() { return getElement(this); }
|
|
266
266
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-6e4709ff.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
6
|
-
import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays-
|
|
6
|
+
import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays-634df4be.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller-314a54f6.js';
|
|
8
8
|
import { shouldUseCloseWatcher } from './hardware-back-button-329c81fd.js';
|
|
9
9
|
import { n as isEndSide, i as inheritAriaAttributes, m as assert, j as clamp } from './helpers-da915de8.js';
|
|
@@ -595,14 +595,14 @@ const Menu = class {
|
|
|
595
595
|
* the ionBackButton listener in the menu controller
|
|
596
596
|
* will handle closing the menu when Escape is pressed.
|
|
597
597
|
*/
|
|
598
|
-
return (h(Host, { key: '
|
|
598
|
+
return (h(Host, { key: 'b1ad113462ad4df94e6cd66d2afb5a8464869909', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
599
599
|
[mode]: true,
|
|
600
600
|
[`menu-type-${type}`]: true,
|
|
601
601
|
'menu-enabled': !disabled,
|
|
602
602
|
[`menu-side-${side}`]: true,
|
|
603
603
|
'menu-pane-visible': isPaneVisible,
|
|
604
604
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
605
|
-
} }, h("div", { key: '
|
|
605
|
+
} }, h("div", { key: '2aeb119aaf00a69b1cc0dedcafd8987286e1c2d1', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '6f732c578b6ffceb06cd08725d056378f4dc5da2' })), h("ion-backdrop", { key: 'f524bd70256beae5c9711eb32762294badb326cc', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
606
606
|
}
|
|
607
607
|
get el() { return getElement(this); }
|
|
608
608
|
static get watchers() { return {
|
|
@@ -675,7 +675,7 @@ const MenuButton = class {
|
|
|
675
675
|
type: this.type,
|
|
676
676
|
};
|
|
677
677
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
678
|
-
return (h(Host, { key: '
|
|
678
|
+
return (h(Host, { key: '3cdbc04925c8c62ac65763fe83efdfffda0a16fa', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
679
679
|
[mode]: true,
|
|
680
680
|
button: true, // ion-buttons target .button
|
|
681
681
|
'menu-button-hidden': hidden,
|
|
@@ -684,7 +684,7 @@ const MenuButton = class {
|
|
|
684
684
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
685
685
|
'ion-activatable': true,
|
|
686
686
|
'ion-focusable': true,
|
|
687
|
-
}) }, h("button", Object.assign({ key: '
|
|
687
|
+
}) }, h("button", Object.assign({ key: '63db22c49359bf77fa344f5a13b733570ff088a4' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '011af3fa930dd888f7f4aca24ba294d23b2ceba7', class: "button-inner" }, h("slot", { key: 'dc75fd2f1f3d42eb30aefd9cd3ef137d6c8a515a' }, h("ion-icon", { key: '55cfdc7df1eab0bdc386e2a5c90be87be56a000a', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
|
|
688
688
|
}
|
|
689
689
|
get el() { return getElement(this); }
|
|
690
690
|
};
|
|
@@ -715,10 +715,10 @@ const MenuToggle = class {
|
|
|
715
715
|
render() {
|
|
716
716
|
const mode = getIonMode(this);
|
|
717
717
|
const hidden = this.autoHide && !this.visible;
|
|
718
|
-
return (h(Host, { key: '
|
|
718
|
+
return (h(Host, { key: 'fa7f54b6264dd2110f4cda34aaa6ea7ec4f5040f', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
719
719
|
[mode]: true,
|
|
720
720
|
'menu-toggle-hidden': hidden,
|
|
721
|
-
} }, h("slot", { key: '
|
|
721
|
+
} }, h("slot", { key: '6e1701d21f439cabd9f83607c500eb6111162447' })));
|
|
722
722
|
}
|
|
723
723
|
};
|
|
724
724
|
MenuToggle.style = IonMenuToggleStyle0;
|
|
@@ -8,7 +8,7 @@ import { g as getElementRoot, j as clamp, r as raf, h as inheritAttributes, k as
|
|
|
8
8
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
9
9
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
10
10
|
import { g as getCapacitor } from './capacitor-59395cbd.js';
|
|
11
|
-
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-
|
|
11
|
+
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-634df4be.js';
|
|
12
12
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
13
13
|
import { e as deepReady, w as waitForMount } from './index-f1f5de26.js';
|
|
14
14
|
import { b as getIonMode, c as config } from './ionic-global-c4e0c089.js';
|
|
@@ -814,7 +814,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
814
814
|
* as inputs should not be focusable outside
|
|
815
815
|
* the sheet.
|
|
816
816
|
*/
|
|
817
|
-
baseEl.classList.remove(
|
|
817
|
+
baseEl.classList.remove(FOCUS_TRAP_DISABLE_CLASS);
|
|
818
818
|
};
|
|
819
819
|
const disableBackdrop = () => {
|
|
820
820
|
baseEl.style.setProperty('pointer-events', 'none');
|
|
@@ -826,7 +826,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
826
826
|
* Adding this class disables focus trapping
|
|
827
827
|
* for the sheet temporarily.
|
|
828
828
|
*/
|
|
829
|
-
baseEl.classList.add(
|
|
829
|
+
baseEl.classList.add(FOCUS_TRAP_DISABLE_CLASS);
|
|
830
830
|
};
|
|
831
831
|
/**
|
|
832
832
|
* After the entering animation completes,
|
|
@@ -1167,6 +1167,7 @@ const Modal = class {
|
|
|
1167
1167
|
this.isOpen = false;
|
|
1168
1168
|
this.trigger = undefined;
|
|
1169
1169
|
this.keepContentsMounted = false;
|
|
1170
|
+
this.focusTrap = true;
|
|
1170
1171
|
this.canDismiss = true;
|
|
1171
1172
|
}
|
|
1172
1173
|
onIsOpenChange(newValue, oldValue) {
|
|
@@ -1623,14 +1624,14 @@ const Modal = class {
|
|
|
1623
1624
|
return true;
|
|
1624
1625
|
}
|
|
1625
1626
|
render() {
|
|
1626
|
-
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes } = this;
|
|
1627
|
+
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap } = this;
|
|
1627
1628
|
const showHandle = handle !== false && isSheetModal;
|
|
1628
1629
|
const mode = getIonMode(this);
|
|
1629
1630
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
1630
1631
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1631
|
-
return (h(Host, Object.assign({ key: '
|
|
1632
|
+
return (h(Host, Object.assign({ key: '1fbeb502325f00153e335c235a038507e35a210e', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1632
1633
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1633
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
1634
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '388aa2b92fa5795d1ef9021c4df9817ac426bcea', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { class: "modal-shadow" }), h("div", Object.assign({ key: '752f4e329a330cc0802476404ef292f73fac257f',
|
|
1634
1635
|
/*
|
|
1635
1636
|
role and aria-modal must be used on the
|
|
1636
1637
|
same element. They must also be set inside the
|
|
@@ -1639,7 +1640,7 @@ const Modal = class {
|
|
|
1639
1640
|
*/
|
|
1640
1641
|
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { class: "modal-handle",
|
|
1641
1642
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1642
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
1643
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '87d1d4a725c463cefed2e96a6a9fee36ba6e8311' }))));
|
|
1643
1644
|
}
|
|
1644
1645
|
get el() { return getElement(this); }
|
|
1645
1646
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const Nav = class {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
render() {
|
|
901
|
-
return h("slot", { key: '
|
|
901
|
+
return h("slot", { key: 'a86e551f86509bd65200393785e4000dbb37154a' });
|
|
902
902
|
}
|
|
903
903
|
get el() { return getElement(this); }
|
|
904
904
|
static get watchers() { return {
|
|
@@ -940,7 +940,7 @@ const NavLink = class {
|
|
|
940
940
|
this.routerAnimation = undefined;
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return h(Host, { key: '
|
|
943
|
+
return h(Host, { key: '7b6b746a0e945a48b308eec2dcd9893daf00bca1', onClick: this.onClick });
|
|
944
944
|
}
|
|
945
945
|
get el() { return getElement(this); }
|
|
946
946
|
};
|
|
@@ -84,10 +84,10 @@ const PickerColumnOption = class {
|
|
|
84
84
|
render() {
|
|
85
85
|
const { color, disabled, ariaLabel } = this;
|
|
86
86
|
const mode = getIonMode(this);
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '1d5358c019c01ca429ddb514b9f9b67a3c89f652', class: createColorClasses(color, {
|
|
88
88
|
[mode]: true,
|
|
89
89
|
['option-disabled']: disabled,
|
|
90
|
-
}) }, h("button", { key: '
|
|
90
|
+
}) }, h("button", { key: 'c86794a15b61062a886c6f5113723ccd98238e9f', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: 'ab7f80cacdd39b5aedf7d2cc8eddc6288093629a' }))));
|
|
91
91
|
}
|
|
92
92
|
get el() { return getElement(this); }
|
|
93
93
|
static get watchers() { return {
|
|
@@ -383,14 +383,14 @@ const PickerColumn = class {
|
|
|
383
383
|
render() {
|
|
384
384
|
const { color, disabled, isActive, numericInput } = this;
|
|
385
385
|
const mode = getIonMode(this);
|
|
386
|
-
return (h(Host, { key: '
|
|
386
|
+
return (h(Host, { key: '36fba9b5a9938eb80facbd39ebf2227c0b8df96b', class: createColorClasses(color, {
|
|
387
387
|
[mode]: true,
|
|
388
388
|
['picker-column-active']: isActive,
|
|
389
389
|
['picker-column-numeric-input']: numericInput,
|
|
390
390
|
['picker-column-disabled']: disabled,
|
|
391
|
-
}) }, h("slot", { key: '
|
|
391
|
+
}) }, h("slot", { key: 'e872bd8ccecb45f2abfae0a17c99bd193c323fb7', name: "prefix" }), h("div", { key: '3b8d9502fb428c99aa18e5396cd4f37a7cac222f', class: "picker-opts", tabindex: disabled ? undefined : 0, ref: (el) => {
|
|
392
392
|
this.scrollEl = el;
|
|
393
|
-
} }, h("div", { key: '
|
|
393
|
+
} }, h("div", { key: 'b5f1bb3f63cc786fb5363b0c4a8e3c7de5336f5e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '9b19a3d7463dc4b0b1f85f29573f5ab09da9cfe4', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '981c7c7171318c5b5bc31ed2de35ffd1a7229760', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '387695afab07d859ec22c3d8b096485c694eff1e' }), h("div", { key: 'dca63e9f8945cf0a2010b552e79cc8c821e7d1ff', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '95e80d163c50f3112fbc36cb66502e07f87b2aa1', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'd29c471d7529b7eebb10b1fe1ac7d93be25aedb1', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'bc3527c0dd2ec7775f3ae16feb06736308a996e5', name: "suffix" })));
|
|
394
394
|
}
|
|
395
395
|
get el() { return getElement(this); }
|
|
396
396
|
static get watchers() { return {
|