@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
package/components/ion-modal.js
CHANGED
|
@@ -8,7 +8,7 @@ import { g as getElementRoot, k as clamp, r as raf, d as inheritAttributes, j as
|
|
|
8
8
|
import { c as createLockController } from './lock-controller.js';
|
|
9
9
|
import { p as printIonWarning } from './index6.js';
|
|
10
10
|
import { g as getCapacitor } from './capacitor.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.js';
|
|
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.js';
|
|
12
12
|
import { g as getClassMap } from './theme.js';
|
|
13
13
|
import { e as deepReady, w as waitForMount } from './index2.js';
|
|
14
14
|
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
@@ -812,7 +812,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
812
812
|
* as inputs should not be focusable outside
|
|
813
813
|
* the sheet.
|
|
814
814
|
*/
|
|
815
|
-
baseEl.classList.remove(
|
|
815
|
+
baseEl.classList.remove(FOCUS_TRAP_DISABLE_CLASS);
|
|
816
816
|
};
|
|
817
817
|
const disableBackdrop = () => {
|
|
818
818
|
baseEl.style.setProperty('pointer-events', 'none');
|
|
@@ -824,7 +824,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
824
824
|
* Adding this class disables focus trapping
|
|
825
825
|
* for the sheet temporarily.
|
|
826
826
|
*/
|
|
827
|
-
baseEl.classList.add(
|
|
827
|
+
baseEl.classList.add(FOCUS_TRAP_DISABLE_CLASS);
|
|
828
828
|
};
|
|
829
829
|
/**
|
|
830
830
|
* After the entering animation completes,
|
|
@@ -1167,6 +1167,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
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 = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
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 = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
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 this; }
|
|
1645
1646
|
static get watchers() { return {
|
|
@@ -1673,6 +1674,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
1673
1674
|
"isOpen": [4, "is-open"],
|
|
1674
1675
|
"trigger": [1],
|
|
1675
1676
|
"keepContentsMounted": [4, "keep-contents-mounted"],
|
|
1677
|
+
"focusTrap": [4, "focus-trap"],
|
|
1676
1678
|
"canDismiss": [4, "can-dismiss"],
|
|
1677
1679
|
"presented": [32],
|
|
1678
1680
|
"present": [64],
|
|
@@ -36,7 +36,7 @@ const NavLink = /*@__PURE__*/ proxyCustomElement(class NavLink extends HTMLEleme
|
|
|
36
36
|
this.routerAnimation = undefined;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return h(Host, { key: '
|
|
39
|
+
return h(Host, { key: '7b6b746a0e945a48b308eec2dcd9893daf00bca1', onClick: this.onClick });
|
|
40
40
|
}
|
|
41
41
|
get el() { return this; }
|
|
42
42
|
}, [0, "ion-nav-link", {
|
package/components/ion-nav.js
CHANGED
|
@@ -905,7 +905,7 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
render() {
|
|
908
|
-
return h("slot", { key: '
|
|
908
|
+
return h("slot", { key: 'a86e551f86509bd65200393785e4000dbb37154a' });
|
|
909
909
|
}
|
|
910
910
|
get el() { return this; }
|
|
911
911
|
static get watchers() { return {
|
package/components/ion-note.js
CHANGED
|
@@ -20,9 +20,9 @@ const Note = /*@__PURE__*/ proxyCustomElement(class Note extends HTMLElement {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const mode = getIonMode(this);
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '83fbede35bbb772419d68f6ad398aab0e00b9f61', class: createColorClasses(this.color, {
|
|
24
24
|
[mode]: true,
|
|
25
|
-
}) }, h("slot", { key: '
|
|
25
|
+
}) }, h("slot", { key: 'c4060ce2439e96a5ac8763843579b7956a90032f' })));
|
|
26
26
|
}
|
|
27
27
|
static get style() { return {
|
|
28
28
|
ios: IonNoteIosStyle0,
|
|
@@ -240,11 +240,11 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
240
240
|
render() {
|
|
241
241
|
const { htmlAttributes } = this;
|
|
242
242
|
const mode = getIonMode(this);
|
|
243
|
-
return (h(Host, Object.assign({ key: '
|
|
243
|
+
return (h(Host, Object.assign({ key: '1cf2f8a25a3eca7ac59eff969803c85540f102fc', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
244
244
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
245
245
|
}, class: Object.assign({ [mode]: true,
|
|
246
246
|
// Used internally for styling
|
|
247
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
247
|
+
[`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" })));
|
|
248
248
|
}
|
|
249
249
|
get el() { return this; }
|
|
250
250
|
static get watchers() { return {
|
|
@@ -29,7 +29,7 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
|
|
|
29
29
|
const mode = getIonMode(this);
|
|
30
30
|
// If the progress is displayed as a solid bar.
|
|
31
31
|
const progressSolid = buffer === 1;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '78a32304c7164cb78145a91be7bb9b86ecd11b66', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
33
33
|
[mode]: true,
|
|
34
34
|
[`progress-bar-${type}`]: true,
|
|
35
35
|
'progress-paused': paused,
|
package/components/ion-range.js
CHANGED
|
@@ -602,7 +602,7 @@ const Range = /*@__PURE__*/ proxyCustomElement(class Range extends HTMLElement {
|
|
|
602
602
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
603
603
|
const mode = getIonMode(this);
|
|
604
604
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
605
|
-
return (h(Host, { key: '
|
|
605
|
+
return (h(Host, { key: '4dfc3e08ccd8f39b1de8a977171c196334840717', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
606
606
|
[mode]: true,
|
|
607
607
|
'in-item': inItem,
|
|
608
608
|
'range-disabled': disabled,
|
|
@@ -611,10 +611,10 @@ const Range = /*@__PURE__*/ proxyCustomElement(class Range extends HTMLElement {
|
|
|
611
611
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
612
612
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
613
613
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
614
|
-
}) }, h("label", { key: '
|
|
614
|
+
}) }, h("label", { key: '3d85cca6ea4add6e338a91c1736d493363c15dc9', class: "range-wrapper", id: "range-label" }, h("div", { key: '0bfabf13ea0b8c1ddd1ad3933f8ba3b60e0f14f9', class: {
|
|
615
615
|
'label-text-wrapper': true,
|
|
616
616
|
'label-text-wrapper-hidden': !hasLabel,
|
|
617
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
617
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'e916e52fe78eed340ce9102de19e53069271bf8f', class: "native-wrapper" }, h("slot", { key: 'de52a20642a3df5e19a8888069a1460dbcf28e0c', name: "start" }), this.renderRangeSlider(), h("slot", { key: '2791d30423b44a6c65bd151559bcba5402ed3835', name: "end" })))));
|
|
618
618
|
}
|
|
619
619
|
get el() { return this; }
|
|
620
620
|
static get watchers() { return {
|
|
@@ -54,7 +54,7 @@ const RefresherContent = /*@__PURE__*/ proxyCustomElement(class RefresherContent
|
|
|
54
54
|
const pullingIcon = this.pullingIcon;
|
|
55
55
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
56
56
|
const mode = getIonMode(this);
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'bd4122ec149c1ea6c43d5b6dfd7932569bfd8d7e', class: mode }, h("div", { key: '492113883e1ed465fd6b35a8e700b29a8bbb2baf', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '402b0e02cfee42358c4fd690b60c8eb39386569f', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
58
58
|
}
|
|
59
59
|
get el() { return this; }
|
|
60
60
|
}, [0, "ion-refresher-content", {
|
|
@@ -603,7 +603,7 @@ const Refresher = /*@__PURE__*/ proxyCustomElement(class Refresher extends HTMLE
|
|
|
603
603
|
}
|
|
604
604
|
render() {
|
|
605
605
|
const mode = getIonMode(this);
|
|
606
|
-
return (h(Host, { key: '
|
|
606
|
+
return (h(Host, { key: '460d903daa65f5549f4f75de63d185d82b9df1bc', slot: "fixed", class: {
|
|
607
607
|
[mode]: true,
|
|
608
608
|
// Used internally for styling
|
|
609
609
|
[`refresher-${mode}`]: true,
|
|
@@ -245,7 +245,7 @@ const ReorderGroup = /*@__PURE__*/ proxyCustomElement(class ReorderGroup extends
|
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
const mode = getIonMode(this);
|
|
248
|
-
return (h(Host, { key: '
|
|
248
|
+
return (h(Host, { key: '3131c13e939242f1a4e10b4fcee028440b1a04c3', class: {
|
|
249
249
|
[mode]: true,
|
|
250
250
|
'reorder-enabled': !this.disabled,
|
|
251
251
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30,7 +30,7 @@ const Reorder = /*@__PURE__*/ proxyCustomElement(class Reorder extends HTMLEleme
|
|
|
30
30
|
render() {
|
|
31
31
|
const mode = getIonMode(this);
|
|
32
32
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '268c3575bdc5ca591e11442a744119028f17ae85', class: mode }, h("slot", { key: '4767aef1d57921060541cd38b0a62ef2d8b3267b' }, h("ion-icon", { key: 'ad5f972dc2449cdd7aba92b06e7f0d2539e9a202', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
34
34
|
}
|
|
35
35
|
get el() { return this; }
|
|
36
36
|
static get style() { return {
|
|
@@ -30,10 +30,10 @@ const RouterLink = /*@__PURE__*/ proxyCustomElement(class RouterLink extends HTM
|
|
|
30
30
|
rel: this.rel,
|
|
31
31
|
target: this.target,
|
|
32
32
|
};
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '64a8781a0e92ddc14e03a60ac3da7f21dd59a2af', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
34
34
|
[mode]: true,
|
|
35
35
|
'ion-activatable': true,
|
|
36
|
-
}) }, h("a", Object.assign({ key: '
|
|
36
|
+
}) }, h("a", Object.assign({ key: 'e2da87e62410c9ada5810f95ab1b9d6c489703a0' }, attrs), h("slot", { key: '201854747f5c867c8f6fadea20ef29b1d221f9db' }))));
|
|
37
37
|
}
|
|
38
38
|
static get style() { return IonRouterLinkStyle0; }
|
|
39
39
|
}, [1, "ion-router-link", {
|
|
@@ -186,7 +186,7 @@ const RouterOutlet = /*@__PURE__*/ proxyCustomElement(class RouterOutlet extends
|
|
|
186
186
|
return true;
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
|
-
return h("slot", { key: '
|
|
189
|
+
return h("slot", { key: 'b90c776f7924a88b1b36befe7e6f8943fc20dfe3' });
|
|
190
190
|
}
|
|
191
191
|
get el() { return this; }
|
|
192
192
|
static get watchers() { return {
|
package/components/ion-row.js
CHANGED
|
@@ -14,7 +14,7 @@ const Row = /*@__PURE__*/ proxyCustomElement(class Row extends HTMLElement {
|
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'e52c499804f7bebc1c4ab8fb69ef1b452eae58c1', class: getIonMode(this) }, h("slot", { key: '7808e8156601912e0192fe0b74bdedda2c359e1c' })));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return IonRowStyle0; }
|
|
20
20
|
}, [1, "ion-row"]);
|
|
@@ -391,8 +391,8 @@ const Searchbar = /*@__PURE__*/ proxyCustomElement(class Searchbar extends HTMLE
|
|
|
391
391
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
392
392
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
393
393
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
394
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
395
|
-
return (h(Host, { key: '
|
|
394
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '13b8d57952cbd2841d2355c378731f4dd043b226', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '4af4c84a95912ea4933fb335010c0c25f9d11312', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
395
|
+
return (h(Host, { key: 'f652dd69ed63b5482b2e82de21301812742f295f', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
396
396
|
[mode]: true,
|
|
397
397
|
'searchbar-animated': animated,
|
|
398
398
|
'searchbar-disabled': this.disabled,
|
|
@@ -402,14 +402,14 @@ const Searchbar = /*@__PURE__*/ proxyCustomElement(class Searchbar extends HTMLE
|
|
|
402
402
|
'searchbar-has-focus': this.focused,
|
|
403
403
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
404
404
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
405
|
-
}) }, h("div", { key: '
|
|
405
|
+
}) }, h("div", { key: 'd377f99e2dc60f97dee8bc5523a30f763102456c', class: "searchbar-input-container" }, h("input", Object.assign({ key: '2a4c4f4cc6225f24c236c6c8767d6ab444023b8f', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '1475bac6d41f92697a25b56b02bde397009803ee', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: 'cbc0a72871bd243f44395eb3f580c3b713718565', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
406
406
|
/**
|
|
407
407
|
* This prevents mobile browsers from
|
|
408
408
|
* blurring the input when the clear
|
|
409
409
|
* button is activated.
|
|
410
410
|
*/
|
|
411
411
|
ev.preventDefault();
|
|
412
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
412
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '1b9765deba3adf1da731e0f5075fa393b6945f76', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
413
413
|
}
|
|
414
414
|
get el() { return this; }
|
|
415
415
|
static get watchers() { return {
|
|
@@ -82,7 +82,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
82
82
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
83
83
|
const mode = getIonMode(this);
|
|
84
84
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: 'fc2262b4b1cb0c3e38b3de672910543211779b98', class: {
|
|
86
86
|
[mode]: true,
|
|
87
87
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
88
88
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -98,10 +98,10 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
98
98
|
'ion-activatable': true,
|
|
99
99
|
'ion-activatable-instant': true,
|
|
100
100
|
'ion-focusable': true,
|
|
101
|
-
} }, h("button", Object.assign({ key: '
|
|
101
|
+
} }, h("button", Object.assign({ key: 'd73ffb0e52b86e41fff7aafac8bd77073b494b28', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: 'a3d76c3191a508f47782f17602d814920dc26694', class: "button-inner" }, h("slot", { key: 'ae6479c5eec1e0f4077066a6b0ca06c13af0847f' })), mode === 'md' && h("ion-ripple-effect", null)), h("div", { key: '593a4ec0d186520485073dc2fcdf23899924399b', part: "indicator", class: {
|
|
102
102
|
'segment-button-indicator': true,
|
|
103
103
|
'segment-button-indicator-animated': true,
|
|
104
|
-
} }, h("div", { key: '
|
|
104
|
+
} }, h("div", { key: 'cfbd0d89a928cce0130da46b2be406c03ab3cddb', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
105
105
|
}
|
|
106
106
|
get el() { return this; }
|
|
107
107
|
static get watchers() { return {
|
|
@@ -428,14 +428,14 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends HTMLEleme
|
|
|
428
428
|
}
|
|
429
429
|
render() {
|
|
430
430
|
const mode = getIonMode(this);
|
|
431
|
-
return (h(Host, { key: '
|
|
431
|
+
return (h(Host, { key: 'a0b1480e0f95ed9647871c749dbd93ef7ce5b28e', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
432
432
|
[mode]: true,
|
|
433
433
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
434
434
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
435
435
|
'segment-activated': this.activated,
|
|
436
436
|
'segment-disabled': this.disabled,
|
|
437
437
|
'segment-scrollable': this.scrollable,
|
|
438
|
-
}) }, h("slot", { key: '
|
|
438
|
+
}) }, h("slot", { key: '01b9559e574b1b194e6010295cd9bea4b6aeab1b' })));
|
|
439
439
|
}
|
|
440
440
|
get el() { return this; }
|
|
441
441
|
static get watchers() { return {
|
|
@@ -17,7 +17,7 @@ const SelectOption = /*@__PURE__*/ proxyCustomElement(class SelectOption extends
|
|
|
17
17
|
this.value = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h(Host, { key: '
|
|
20
|
+
return h(Host, { key: 'e46b062b71c143792bb74527ba4980e02edc14b3', role: "option", id: this.inputId, class: getIonMode(this) });
|
|
21
21
|
}
|
|
22
22
|
get el() { return this; }
|
|
23
23
|
static get style() { return IonSelectOptionStyle0; }
|
package/components/ion-select.js
CHANGED
|
@@ -592,7 +592,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
592
592
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
593
593
|
*/
|
|
594
594
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
595
|
-
return (h(Host, { key: '
|
|
595
|
+
return (h(Host, { key: 'a8819204f43c4ccce5016eae63287cd55d65076d', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
596
596
|
[mode]: true,
|
|
597
597
|
'in-item': inItem,
|
|
598
598
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -608,7 +608,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
608
608
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
609
609
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
610
610
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
611
|
-
}) }, h("label", { key: '
|
|
611
|
+
}) }, h("label", { key: 'd4e8d6ccf78ae7ce75c4bd2359e1539525f00271', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '42c7bfe9587f82f62301a637eb19574218993b1f', class: "select-wrapper-inner" }, h("slot", { key: '8eb09a67c455ebfad19028927426204adcb24fb5', name: "start" }), h("div", { key: '85c1800dbf58436b9ae1574ee927911c9ee3a56e', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'aca7ddd389716406b04825ba324e17a5a965d795', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { class: "select-highlight" }))));
|
|
612
612
|
}
|
|
613
613
|
get el() { return this; }
|
|
614
614
|
static get watchers() { return {
|
|
@@ -32,11 +32,11 @@ const SkeletonText = /*@__PURE__*/ proxyCustomElement(class SkeletonText extends
|
|
|
32
32
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
33
33
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34
34
|
const mode = getIonMode(this);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'e0a84e5017cde072087d5580dd370bbd36106f99', class: {
|
|
36
36
|
[mode]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '3274a42e3fd4f1b9fb285f4b982416e1f68ac766' }, "\u00A0")));
|
|
40
40
|
}
|
|
41
41
|
get el() { return this; }
|
|
42
42
|
static get style() { return IonSkeletonTextStyle0; }
|
|
@@ -129,12 +129,12 @@ const SplitPane = /*@__PURE__*/ proxyCustomElement(class SplitPane extends HTMLE
|
|
|
129
129
|
}
|
|
130
130
|
render() {
|
|
131
131
|
const mode = getIonMode(this);
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'ea58eb10f1e0040f8b193684085dcf0b6fb70736', class: {
|
|
133
133
|
[mode]: true,
|
|
134
134
|
// Used internally for styling
|
|
135
135
|
[`split-pane-${mode}`]: true,
|
|
136
136
|
'split-pane-visible': this.visible,
|
|
137
|
-
} }, h("slot", { key: '
|
|
137
|
+
} }, h("slot", { key: '568992064ae695fb4de01aef59d6f6e3359e1e0f' })));
|
|
138
138
|
}
|
|
139
139
|
get el() { return this; }
|
|
140
140
|
static get watchers() { return {
|
|
@@ -60,11 +60,11 @@ const TabBar = /*@__PURE__*/ proxyCustomElement(class TabBar extends HTMLElement
|
|
|
60
60
|
const { color, translucent, keyboardVisible } = this;
|
|
61
61
|
const mode = getIonMode(this);
|
|
62
62
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '2d30e75e19d86a1eb65cff8ddab0cb059f59b224', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
64
64
|
[mode]: true,
|
|
65
65
|
'tab-bar-translucent': translucent,
|
|
66
66
|
'tab-bar-hidden': shouldHide,
|
|
67
|
-
}) }, h("slot", { key: '
|
|
67
|
+
}) }, h("slot", { key: '5b739f1bbe21c887b7810383edd2f67143ac086e' })));
|
|
68
68
|
}
|
|
69
69
|
get el() { return this; }
|
|
70
70
|
static get watchers() { return {
|
|
@@ -76,7 +76,7 @@ const TabButton = /*@__PURE__*/ proxyCustomElement(class TabButton extends HTMLE
|
|
|
76
76
|
rel,
|
|
77
77
|
target,
|
|
78
78
|
};
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'b37743b20b93c27ffb0094b35545292533f9d30f', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
80
80
|
[mode]: true,
|
|
81
81
|
'tab-selected': selected,
|
|
82
82
|
'tab-disabled': disabled,
|
|
@@ -88,7 +88,7 @@ const TabButton = /*@__PURE__*/ proxyCustomElement(class TabButton extends HTMLE
|
|
|
88
88
|
'ion-activatable': true,
|
|
89
89
|
'ion-selectable': true,
|
|
90
90
|
'ion-focusable': true,
|
|
91
|
-
} }, h("a", Object.assign({ key: '
|
|
91
|
+
} }, h("a", Object.assign({ key: '7dd2b3aaa96f64a8b7411730ed8b201466a97162' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'cb328541793b6aa469d5d3bff662d2efa56dc977', class: "button-inner" }, h("slot", { key: '904a1b063f481ac86d5bea967a375addc9c96471' })), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
|
|
92
92
|
}
|
|
93
93
|
get el() { return this; }
|
|
94
94
|
static get style() { return {
|
package/components/ion-tab.js
CHANGED
|
@@ -55,10 +55,10 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class Tab extends HTMLElement {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const { tab, active, component } = this;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'e67484767fa4aab6bc90db390a90eb5e24e51f14', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
59
59
|
'ion-page': component === undefined,
|
|
60
60
|
'tab-hidden': !active,
|
|
61
|
-
} }, h("slot", { key: '
|
|
61
|
+
} }, h("slot", { key: 'ad6523d5a128d457d09e88739f8218cdf16152de' })));
|
|
62
62
|
}
|
|
63
63
|
get el() { return this; }
|
|
64
64
|
static get watchers() { return {
|
package/components/ion-tabs.js
CHANGED
|
@@ -140,7 +140,7 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class Tabs extends HTMLElement {
|
|
|
140
140
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
return (h(Host, { key: '
|
|
143
|
+
return (h(Host, { key: 'e2cac6a2e54514f31cfe65692e34e88d530b204f', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '53bc64f37aebb9a68c6e2db2c89ec6d39cd64bbd', name: "top" }), h("div", { key: '72f4f0ae53518631d6c1b6276da3f63147c28cfc', class: "tabs-inner" }, h("slot", { key: '79f1eece652cf00a3dd8359b68e68059816ff704' })), h("slot", { key: '3fbaf52447720ee14c7db06f2bf71a92093847f4', name: "bottom" })));
|
|
144
144
|
}
|
|
145
145
|
get el() { return this; }
|
|
146
146
|
static get style() { return IonTabsStyle0; }
|
package/components/ion-text.js
CHANGED
|
@@ -17,9 +17,9 @@ const Text = /*@__PURE__*/ proxyCustomElement(class Text extends HTMLElement {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const mode = getIonMode(this);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '9b5decc6dfca4fbaf0fe42696a9833ffee269a7d', class: createColorClasses(this.color, {
|
|
21
21
|
[mode]: true,
|
|
22
|
-
}) }, h("slot", { key: '
|
|
22
|
+
}) }, h("slot", { key: '5b822dcc0f6255819cec7626d0c0f7f9873aaab9' })));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return IonTextStyle0; }
|
|
25
25
|
}, [1, "ion-text", {
|
|
@@ -364,7 +364,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
364
364
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
365
365
|
*/
|
|
366
366
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
367
|
-
return (h(Host, { key: '
|
|
367
|
+
return (h(Host, { key: '25c93a03ddc64c24ce09f329a4dac89c3778dfbc', class: createColorClasses(this.color, {
|
|
368
368
|
[mode]: true,
|
|
369
369
|
'has-value': hasValue,
|
|
370
370
|
'has-focus': hasFocus,
|
|
@@ -373,7 +373,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
373
373
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
374
374
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
375
375
|
'textarea-disabled': disabled,
|
|
376
|
-
}) }, h("label", { key: '
|
|
376
|
+
}) }, h("label", { key: 'e04e24784f1da17eaf7b8777729ad8afe28ec420', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '8298c4d29ae35bc55ff122e634546cfde9ba7230', class: "textarea-wrapper-inner" }, h("div", { key: '37700dcb609fa7c1d90546a0213e21fb40eecc1c', class: "start-slot-wrapper" }, h("slot", { key: '76fef32fa9d0951edcb5c6298937ac1222cc3509', name: "start" })), h("div", { key: '7525a144ae19f64a19e6ff9727ca5db27c2a87e9', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '4dbcc754f428921859d0a0528525c4417a216e4e', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: '65845f7b39b4821786024938550e6597c8fa5de2', class: "end-slot-wrapper" }, h("slot", { key: 'ba63b2e34630c7485d7cc6ba3a2275b2dcbcd4de', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
|
|
377
377
|
}
|
|
378
378
|
get el() { return this; }
|
|
379
379
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const Thumbnail = /*@__PURE__*/ proxyCustomElement(class Thumbnail extends HTMLE
|
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '68bac4e80f5d27131690fd20dfabff2618743206', class: getIonMode(this) }, h("slot", { key: '89f46a686288428391cdfaef3384824751ae3d05' })));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return IonThumbnailStyle0; }
|
|
20
20
|
}, [1, "ion-thumbnail"]);
|
package/components/ion-title.js
CHANGED
|
@@ -38,11 +38,11 @@ const ToolbarTitle = /*@__PURE__*/ proxyCustomElement(class ToolbarTitle extends
|
|
|
38
38
|
render() {
|
|
39
39
|
const mode = getIonMode(this);
|
|
40
40
|
const size = this.getSize();
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'af95e7123b3d39110425c16cb4f7f8efb1ee1536', class: createColorClasses(this.color, {
|
|
42
42
|
[mode]: true,
|
|
43
43
|
[`title-${size}`]: true,
|
|
44
44
|
'title-rtl': document.dir === 'rtl',
|
|
45
|
-
}) }, h("div", { key: '
|
|
45
|
+
}) }, h("div", { key: '54efce3d5769fb3de297a6d534dc87d57f365004', class: "toolbar-title" }, h("slot", { key: 'f7ed25c6b178cad1840e35e81e3eeeca3aacea3f' }))));
|
|
46
46
|
}
|
|
47
47
|
get el() { return this; }
|
|
48
48
|
static get watchers() { return {
|
package/components/ion-toast.js
CHANGED
|
@@ -828,9 +828,9 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
828
828
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
829
829
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
830
830
|
}
|
|
831
|
-
return (h(Host, Object.assign({ key: '
|
|
831
|
+
return (h(Host, Object.assign({ key: '45b52c210cc3e9ac130f695f29b03d771959f64f', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
832
832
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
833
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
833
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '10f25e094028f4855828ba2e04e71445b05198eb', class: wrapperClass }, h("div", { key: 'a1312a8878dd8a02798de0a1f136d03c287a34a8', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '0f19c24f130c04ff41a3098bf6d9b17e2c8a2d12', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
834
834
|
}
|
|
835
835
|
get el() { return this; }
|
|
836
836
|
static get watchers() { return {
|
package/components/ion-toggle.js
CHANGED
|
@@ -161,7 +161,7 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
161
161
|
const value = this.getValue();
|
|
162
162
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
163
163
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
164
|
-
return (h(Host, { key: '
|
|
164
|
+
return (h(Host, { key: 'f90c95348f1251c077187f0d30f6f4a5198cde68', onClick: this.onClick, class: createColorClasses(color, {
|
|
165
165
|
[mode]: true,
|
|
166
166
|
'in-item': hostContext('ion-item', el),
|
|
167
167
|
'toggle-activated': activated,
|
|
@@ -171,10 +171,10 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
171
171
|
[`toggle-alignment-${alignment}`]: true,
|
|
172
172
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
173
173
|
[`toggle-${rtl}`]: true,
|
|
174
|
-
}) }, h("label", { key: '
|
|
174
|
+
}) }, h("label", { key: '3b86ca8cc4a19b6bc17784cd01fcb7697c58d108', class: "toggle-wrapper" }, h("input", Object.assign({ key: '3773acdfdfe5263517980f19a698bdbb572a68eb', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: 'bb10a95f701d5f9c343c7d46a5bb690ee42eaa1d', class: {
|
|
175
175
|
'label-text-wrapper': true,
|
|
176
176
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
177
|
-
}, part: "label" }, h("slot", { key: '
|
|
177
|
+
}, part: "label" }, h("slot", { key: '7ff69b1184f0abbefdb9642400885baf3b2abd38' })), h("div", { key: '3df2f297d9c0b53e7997841b822845af7ad6a058', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return this; }
|
|
180
180
|
static get watchers() { return {
|
|
@@ -63,10 +63,10 @@ const Toolbar = /*@__PURE__*/ proxyCustomElement(class Toolbar extends HTMLEleme
|
|
|
63
63
|
this.childrenStyles.forEach((value) => {
|
|
64
64
|
Object.assign(childStyles, value);
|
|
65
65
|
});
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'f72d6a7ed20c88ba15d64050acfc20f320569862', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
67
67
|
[mode]: true,
|
|
68
68
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
69
|
-
})) }, h("div", { key: '
|
|
69
|
+
})) }, h("div", { key: 'ccf18eea9756ca56ca828b05bd3f86cf8a32e24c', class: "toolbar-background" }), h("div", { key: '1fa699d8e17f57b42a52d47a1bdb793f2cbbfe5d', class: "toolbar-container" }, h("slot", { key: 'ef4d877bad0918eefdc67fa7aa258024a58d26ef', name: "start" }), h("slot", { key: '41858db7a8d58c9165952c9336731d621ec3c2b8', name: "secondary" }), h("div", { key: '577770b9346b48a0fa1412cbdbd9393d553d2286', class: "toolbar-content" }, h("slot", { key: 'ae47b29e1f7d2c3dde7a170c9737b48f075139c2' })), h("slot", { key: 'cfbf7879daf1a38fee434335abff936d8f3690e0', name: "primary" }), h("slot", { key: 'ed3a66248f43e0749f6aef9fb78ea4f5034c0774', name: "end" }))));
|
|
70
70
|
}
|
|
71
71
|
get el() { return this; }
|
|
72
72
|
static get style() { return {
|