@ionic/core 8.3.3-dev.11729209105.1294f665 → 8.3.3-dev.11729276019.194c165c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +5 -11
- package/components/alert.js +2 -2
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +2 -2
- package/components/checkbox.js +3 -3
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +4 -4
- package/components/ion-breadcrumbs.js +2 -2
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-content.js +3 -3
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +3 -3
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +4 -4
- 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 +32 -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 +2 -2
- 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/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -12
- package/dist/cjs/ion-alert.cjs.entry.js +3 -3
- package/dist/cjs/ion-app_8.cjs.entry.js +15 -15
- package/dist/cjs/ion-avatar_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +8 -8
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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/{overlays-0123d7d4.js → overlays-0967e6f7.js} +32 -2
- package/dist/collection/components/action-sheet/action-sheet.ios.css +3 -33
- package/dist/collection/components/action-sheet/action-sheet.js +3 -9
- package/dist/collection/components/action-sheet/action-sheet.md.css +2 -32
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/app/app.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/backdrop/backdrop.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +2 -2
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +3 -3
- 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/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- 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 +4 -4
- 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/toolbar.js +2 -2
- package/dist/collection/utils/overlays.js +32 -2
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +6 -12
- package/dist/esm/ion-alert.entry.js +3 -3
- package/dist/esm/ion-app_8.entry.js +15 -15
- package/dist/esm/ion-avatar_3.entry.js +4 -4
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +6 -6
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +8 -8
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +5 -5
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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/{overlays-9c75ec54.js → overlays-b03e05f3.js} +32 -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-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/overlays-b03e05f3.js +4 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-d04481d7.entry.js → p-003eecb9.entry.js} +1 -1
- package/dist/ionic/{p-63b0abde.system.entry.js → p-00b01a55.system.entry.js} +1 -1
- package/dist/ionic/{p-f3102647.system.entry.js → p-01503bbd.system.entry.js} +1 -1
- package/dist/ionic/{p-42eee9d3.system.entry.js → p-0373d924.system.entry.js} +1 -1
- package/dist/ionic/{p-eba29931.entry.js → p-05beda73.entry.js} +1 -1
- package/dist/ionic/{p-cfab4f20.entry.js → p-0850e9e8.entry.js} +1 -1
- package/dist/ionic/{p-99de2ad2.entry.js → p-1661b2a8.entry.js} +1 -1
- package/dist/ionic/{p-c41ac815.entry.js → p-176b372f.entry.js} +1 -1
- package/dist/ionic/{p-90df71aa.system.entry.js → p-1dd61d52.system.entry.js} +1 -1
- package/dist/ionic/{p-da074ff7.entry.js → p-21cfd4de.entry.js} +1 -1
- package/dist/ionic/{p-5ad5dd4e.entry.js → p-2200e26b.entry.js} +1 -1
- package/dist/ionic/{p-9644984a.entry.js → p-233e6c93.entry.js} +1 -1
- package/dist/ionic/{p-985a7e17.system.entry.js → p-25928b83.system.entry.js} +1 -1
- package/dist/ionic/p-27831b77.system.js +4 -0
- package/dist/ionic/{p-53b77274.system.entry.js → p-293ed6ac.system.entry.js} +1 -1
- package/dist/ionic/{p-78feb35d.entry.js → p-2c4bdd9d.entry.js} +1 -1
- package/dist/ionic/{p-cac0e0b3.system.entry.js → p-2ca6eac2.system.entry.js} +1 -1
- package/dist/ionic/{p-ca065903.system.entry.js → p-2ea1ca4f.system.entry.js} +1 -1
- package/dist/ionic/{p-01186920.system.entry.js → p-313ccc01.system.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-61e494dc.system.entry.js → p-387844ba.system.entry.js} +1 -1
- package/dist/ionic/p-3900b510.js +4 -0
- package/dist/ionic/{p-d18ab582.system.entry.js → p-3c968c7f.system.entry.js} +2 -2
- package/dist/ionic/{p-adcb6def.system.entry.js → p-44d1539c.system.entry.js} +1 -1
- package/dist/ionic/{p-afecb188.entry.js → p-49bc6544.entry.js} +1 -1
- package/dist/ionic/{p-2507278c.system.entry.js → p-4a0a4204.system.entry.js} +1 -1
- package/dist/ionic/{p-cc1fff11.system.entry.js → p-4a1e94c5.system.entry.js} +1 -1
- package/dist/ionic/{p-2e46590d.system.entry.js → p-4a82bd1c.system.entry.js} +1 -1
- package/dist/ionic/{p-2eba228d.system.entry.js → p-4b0fedb7.system.entry.js} +1 -1
- package/dist/ionic/{p-850a3c12.entry.js → p-4c8fceb0.entry.js} +1 -1
- package/dist/ionic/{p-d1db10ed.system.entry.js → p-511d20b7.system.entry.js} +1 -1
- package/dist/ionic/{p-1136a842.entry.js → p-521eca2e.entry.js} +1 -1
- package/dist/ionic/p-53854390.entry.js +4 -0
- package/dist/ionic/{p-c9f3a539.entry.js → p-5417b9bb.entry.js} +1 -1
- package/dist/ionic/{p-2097482f.entry.js → p-5b488563.entry.js} +1 -1
- package/dist/ionic/{p-6d32975a.entry.js → p-5e842258.entry.js} +1 -1
- package/dist/ionic/p-635751c3.system.entry.js +4 -0
- package/dist/ionic/{p-87a5f97a.system.entry.js → p-6562e0a9.system.entry.js} +1 -1
- package/dist/ionic/{p-802b4ce7.entry.js → p-661ce4a8.entry.js} +1 -1
- package/dist/ionic/p-6632f5fe.entry.js +4 -0
- package/dist/ionic/{p-7ed1657c.system.entry.js → p-6817cf42.system.entry.js} +1 -1
- package/dist/ionic/{p-b9d7015f.entry.js → p-68c4df55.entry.js} +1 -1
- package/dist/ionic/{p-a61cba41.entry.js → p-6b8893dd.entry.js} +1 -1
- package/dist/ionic/{p-9df2c6fb.entry.js → p-6e85e450.entry.js} +1 -1
- package/dist/ionic/{p-bb0db172.entry.js → p-7243df6f.entry.js} +1 -1
- package/dist/ionic/{p-9ee1e8a6.entry.js → p-7251fed5.entry.js} +1 -1
- package/dist/ionic/{p-92a96c69.system.entry.js → p-72ffd137.system.entry.js} +1 -1
- package/dist/ionic/{p-5988556c.system.entry.js → p-755b27f0.system.entry.js} +1 -1
- package/dist/ionic/{p-2799c6d3.system.entry.js → p-75c0dc65.system.entry.js} +1 -1
- package/dist/ionic/{p-5fce0c0b.system.entry.js → p-772dacba.system.entry.js} +1 -1
- package/dist/ionic/{p-bdad26e3.entry.js → p-773d118d.entry.js} +1 -1
- package/dist/ionic/{p-41b6ad85.system.entry.js → p-7c6dc1d4.system.entry.js} +2 -2
- package/dist/ionic/p-7cb373ca.entry.js +4 -0
- package/dist/ionic/{p-3254d107.entry.js → p-82ab7ccb.entry.js} +1 -1
- package/dist/ionic/{p-c0b0a426.system.entry.js → p-836d39d4.system.entry.js} +2 -2
- package/dist/ionic/{p-a49378bb.system.entry.js → p-8836d0eb.system.entry.js} +1 -1
- package/dist/ionic/{p-de930745.entry.js → p-89a0a446.entry.js} +1 -1
- package/dist/ionic/{p-1e010627.system.entry.js → p-8b6232a6.system.entry.js} +2 -2
- package/dist/ionic/{p-68642392.entry.js → p-8d44cf1f.entry.js} +1 -1
- package/dist/ionic/{p-b398aa77.entry.js → p-9172535c.entry.js} +1 -1
- package/dist/ionic/{p-d7aa6b00.entry.js → p-92d7a3d1.entry.js} +1 -1
- package/dist/ionic/p-93f37ceb.system.entry.js +4 -0
- package/dist/ionic/{p-5823babc.system.entry.js → p-95823c62.system.entry.js} +2 -2
- package/dist/ionic/{p-e4ee80be.system.entry.js → p-960803fc.system.entry.js} +1 -1
- package/dist/ionic/{p-98231c01.system.entry.js → p-973f0b15.system.entry.js} +1 -1
- package/dist/ionic/{p-06e07c7b.system.entry.js → p-9b6c6302.system.entry.js} +1 -1
- package/dist/ionic/{p-a6d7bc6c.entry.js → p-9c2ce2a3.entry.js} +1 -1
- package/dist/ionic/{p-c7b03316.entry.js → p-9dd5e2f7.entry.js} +1 -1
- package/dist/ionic/{p-52d7a191.entry.js → p-9ece8dcf.entry.js} +1 -1
- package/dist/ionic/p-a0c88dc2.system.entry.js +4 -0
- package/dist/ionic/{p-e2fb0d06.system.entry.js → p-a3711608.system.entry.js} +1 -1
- package/dist/ionic/{p-bfceff7f.system.entry.js → p-a879ecb7.system.entry.js} +1 -1
- package/dist/ionic/{p-66640ff7.system.entry.js → p-a90e2708.system.entry.js} +1 -1
- package/dist/ionic/p-ab8a2ff1.entry.js +4 -0
- package/dist/ionic/{p-8ebd3f36.system.entry.js → p-acb09788.system.entry.js} +1 -1
- package/dist/ionic/{p-937a7e21.entry.js → p-af999a31.entry.js} +1 -1
- package/dist/ionic/{p-98e71235.system.entry.js → p-b3b00780.system.entry.js} +1 -1
- package/dist/ionic/{p-19ec4f42.entry.js → p-b54fc1ae.entry.js} +1 -1
- package/dist/ionic/{p-4439fc2a.entry.js → p-b7657e8d.entry.js} +1 -1
- package/dist/ionic/{p-58d5df0c.system.entry.js → p-baffaf8d.system.entry.js} +1 -1
- package/dist/ionic/{p-a4d51b8d.system.js → p-bc76a6c7.system.js} +1 -1
- package/dist/ionic/{p-927f180c.system.entry.js → p-bd25d639.system.entry.js} +1 -1
- package/dist/ionic/{p-5f9b0722.entry.js → p-bfa2e81c.entry.js} +1 -1
- package/dist/ionic/{p-45693d7e.entry.js → p-c34659b9.entry.js} +1 -1
- package/dist/ionic/{p-3cd3704c.entry.js → p-cd10a213.entry.js} +1 -1
- package/dist/ionic/{p-1e67b266.system.entry.js → p-cdb11938.system.entry.js} +1 -1
- package/dist/ionic/{p-567de071.system.entry.js → p-ce705aac.system.entry.js} +1 -1
- package/dist/ionic/{p-adceb282.system.entry.js → p-d0d9e48e.system.entry.js} +1 -1
- package/dist/ionic/{p-9fa07aec.entry.js → p-da263d8e.entry.js} +1 -1
- package/dist/ionic/{p-bc36ad98.system.entry.js → p-df83e308.system.entry.js} +1 -1
- package/dist/ionic/{p-9f18a6cf.entry.js → p-e3a5da9d.entry.js} +1 -1
- package/dist/ionic/{p-081a4ce4.entry.js → p-e3e1e3de.entry.js} +1 -1
- package/dist/ionic/{p-eba81f15.entry.js → p-f88938a4.entry.js} +1 -1
- package/dist/ionic/p-f88ebc36.entry.js +4 -0
- package/dist/ionic/{p-7b9a2b23.entry.js → p-f8c8b9ba.entry.js} +1 -1
- package/dist/ionic/{p-7458862e.system.entry.js → p-fcd71204.system.entry.js} +1 -1
- package/dist/ionic/p-fd0cb4ef.entry.js +4 -0
- package/dist/ionic/{p-b14210d4.system.entry.js → p-ffb17177.system.entry.js} +1 -1
- package/hydrate/index.js +197 -173
- package/hydrate/index.mjs +197 -173
- package/package.json +1 -1
- package/dist/esm-es5/overlays-9c75ec54.js +0 -4
- package/dist/ionic/p-15e76dd1.entry.js +0 -4
- package/dist/ionic/p-162b4114.system.entry.js +0 -4
- package/dist/ionic/p-33a8a71b.entry.js +0 -4
- package/dist/ionic/p-3b323c61.entry.js +0 -4
- package/dist/ionic/p-449ec9f0.system.entry.js +0 -4
- package/dist/ionic/p-5a6d132d.entry.js +0 -4
- package/dist/ionic/p-98871496.system.js +0 -4
- package/dist/ionic/p-9c901780.entry.js +0 -4
- package/dist/ionic/p-a440397c.js +0 -4
- package/dist/ionic/p-c29f8157.system.entry.js +0 -4
- package/dist/ionic/p-f96d8a75.entry.js +0 -4
|
@@ -123,7 +123,7 @@ const Radio = class {
|
|
|
123
123
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
124
124
|
const mode = ionicGlobal.getIonMode(this);
|
|
125
125
|
const inItem = theme.hostContext('ion-item', el);
|
|
126
|
-
return (index.h(index.Host, { key: '
|
|
126
|
+
return (index.h(index.Host, { key: 'd6d9525eea9dadc3ea7060eb9b8cbb919e1d7091', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
127
127
|
[mode]: true,
|
|
128
128
|
'in-item': inItem,
|
|
129
129
|
'radio-checked': checked,
|
|
@@ -134,10 +134,10 @@ const Radio = class {
|
|
|
134
134
|
// Focus and active styling should not apply when the radio is in an item
|
|
135
135
|
'ion-activatable': !inItem,
|
|
136
136
|
'ion-focusable': !inItem,
|
|
137
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '
|
|
137
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '3ec73512bac8feb651c66e544899c6a4330d504c', class: "radio-wrapper" }, index.h("div", { key: '9ae7ecb19c7bafe0ce3d0f717af0338251964ebf', class: {
|
|
138
138
|
'label-text-wrapper': true,
|
|
139
139
|
'label-text-wrapper-hidden': !hasLabel,
|
|
140
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
140
|
+
}, part: "label" }, index.h("slot", { key: '2950f1579a22d4a06f9c903fd462c2b46f43bfd7' })), index.h("div", { key: '8b19ce30b39066744108a6de2da42a7ce8ffdbec', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
141
141
|
}
|
|
142
142
|
get el() { return index.getElement(this); }
|
|
143
143
|
static get watchers() { return {
|
|
@@ -302,7 +302,7 @@ const RadioGroup = class {
|
|
|
302
302
|
const { label, labelId, el, name, value } = this;
|
|
303
303
|
const mode = ionicGlobal.getIonMode(this);
|
|
304
304
|
helpers.renderHiddenInput(true, el, name, value, false);
|
|
305
|
-
return index.h(index.Host, { key: '
|
|
305
|
+
return index.h(index.Host, { key: '7a8ad7eb6a05c6f96a348dcf30fd0c610a95688c', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
|
|
306
306
|
}
|
|
307
307
|
get el() { return index.getElement(this); }
|
|
308
308
|
static get watchers() { return {
|
|
@@ -607,7 +607,7 @@ const Range = class {
|
|
|
607
607
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
608
608
|
const mode = ionicGlobal.getIonMode(this);
|
|
609
609
|
helpers.renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
610
|
-
return (index.h(index.Host, { key: '
|
|
610
|
+
return (index.h(index.Host, { key: '877c9f15e62fadb184f9da82dc19898227521e07', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: theme.createColorClasses(this.color, {
|
|
611
611
|
[mode]: true,
|
|
612
612
|
'in-item': inItem,
|
|
613
613
|
'range-disabled': disabled,
|
|
@@ -616,10 +616,10 @@ const Range = class {
|
|
|
616
616
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
617
617
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
618
618
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
619
|
-
}) }, index.h("label", { key: '
|
|
619
|
+
}) }, index.h("label", { key: '2ae9088349a65e09b0e33c53442190ef563b2345', class: "range-wrapper", id: "range-label" }, index.h("div", { key: 'c3d0ca96ceb1e57fbd383e9c7e4da14d931771b8', class: {
|
|
620
620
|
'label-text-wrapper': true,
|
|
621
621
|
'label-text-wrapper-hidden': !hasLabel,
|
|
622
|
-
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '
|
|
622
|
+
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '25d20fd5e015931f60a8ecc5374a1c84d167af9c', class: "native-wrapper" }, index.h("slot", { key: 'ae9f9fd92eed35b81ca97a81caa56332d8b6b2b2', name: "start" }), this.renderRangeSlider(), index.h("slot", { key: '74b7dede566a959c9b05a6de68426c7e339d18c8', name: "end" })))));
|
|
623
623
|
}
|
|
624
624
|
get el() { return index.getElement(this); }
|
|
625
625
|
static get watchers() { return {
|
|
@@ -827,7 +827,7 @@ const Refresher = class {
|
|
|
827
827
|
}
|
|
828
828
|
render() {
|
|
829
829
|
const mode = ionicGlobal.getIonMode(this);
|
|
830
|
-
return (index.h(index.Host, { key: '
|
|
830
|
+
return (index.h(index.Host, { key: '3270f181a5141e7d886ec554a3e892974446b90e', slot: "fixed", class: {
|
|
831
831
|
[mode]: true,
|
|
832
832
|
// Used internally for styling
|
|
833
833
|
[`refresher-${mode}`]: true,
|
|
@@ -894,7 +894,7 @@ const RefresherContent = class {
|
|
|
894
894
|
const pullingIcon = this.pullingIcon;
|
|
895
895
|
const hasSpinner = pullingIcon != null && spinnerConfigs.SPINNERS[pullingIcon] !== undefined;
|
|
896
896
|
const mode = ionicGlobal.getIonMode(this);
|
|
897
|
-
return (index.h(index.Host, { key: '
|
|
897
|
+
return (index.h(index.Host, { key: '1bec5b4da221c69d856f3f5ddf40f2e03ebf2a4c', class: mode }, index.h("div", { key: '4fcc526c4f1881e9368d9cd16bd7030919bd3841', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (index.h("div", { key: 'a4e9e2e12c2d7faefc8303ec8c021f999ddf308e', class: "refresher-pulling-icon" }, index.h("div", { key: '5a2d215feb7fb4b64d540d3a65c0f24b415a2433', class: "spinner-arrow-container" }, index.h("ion-spinner", { key: 'abef2621d671ac6ff0abac43a702cbd825b7f127', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (index.h("div", { key: '30087d672c3780672a05874cd93cd099b2855462', class: "arrow-container" }, index.h("ion-icon", { key: '5e30333dee469aec0d8efc8c4e6dabb619c6f363', icon: index$2.caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (index.h("div", { key: '48fe72b5ce8ded633c6ee799cebb520b9c8be528', class: "refresher-pulling-icon" }, index.h("ion-icon", { key: 'd8dfd5d42056b1c0a436c5006affb255407816c0', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), index.h("div", { key: 'c2cbfb94f157c82601ffe7bb815ff82ebc7c0a49', class: "refresher-refreshing" }, this.refreshingSpinner && (index.h("div", { key: '17f3ebe6a31768d5e389f45a2c12f68600185db9', class: "refresher-refreshing-icon" }, index.h("ion-spinner", { key: 'e8e61f8d7189c9939bba184201c9509d1d5b0fad', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
898
898
|
}
|
|
899
899
|
get el() { return index.getElement(this); }
|
|
900
900
|
};
|
|
@@ -37,7 +37,7 @@ const Reorder = class {
|
|
|
37
37
|
render() {
|
|
38
38
|
const mode = ionicGlobal.getIonMode(this);
|
|
39
39
|
const reorderIcon = mode === 'ios' ? index$1.reorderThreeOutline : index$1.reorderTwoSharp;
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
40
|
+
return (index.h(index.Host, { key: '663d74e231e3af56b6298ee2539fdac9c8465839', class: mode }, index.h("slot", { key: 'c7c384ab8c9ca8abdc89cd984a39dfde70e342ca' }, index.h("ion-icon", { key: 'c8b6052db03d4b9e33a90e600c20861c73ee73ce', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
41
41
|
}
|
|
42
42
|
get el() { return index.getElement(this); }
|
|
43
43
|
};
|
|
@@ -283,7 +283,7 @@ const ReorderGroup = class {
|
|
|
283
283
|
}
|
|
284
284
|
render() {
|
|
285
285
|
const mode = ionicGlobal.getIonMode(this);
|
|
286
|
-
return (index.h(index.Host, { key: '
|
|
286
|
+
return (index.h(index.Host, { key: '491f3e5843cf728ff4589e58bd86b8ce6709b293', class: {
|
|
287
287
|
[mode]: true,
|
|
288
288
|
'reorder-enabled': !this.disabled,
|
|
289
289
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -68,7 +68,7 @@ const RippleEffect = class {
|
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
70
|
const mode = ionicGlobal.getIonMode(this);
|
|
71
|
-
return (index.h(index.Host, { key: '
|
|
71
|
+
return (index.h(index.Host, { key: '2302f087ab1c6755355736e4ca77309c5fdcf185', role: "presentation", class: {
|
|
72
72
|
[mode]: true,
|
|
73
73
|
unbounded: this.unbounded,
|
|
74
74
|
} }));
|
|
@@ -882,10 +882,10 @@ const RouterLink = class {
|
|
|
882
882
|
rel: this.rel,
|
|
883
883
|
target: this.target,
|
|
884
884
|
};
|
|
885
|
-
return (index.h(index.Host, { key: '
|
|
885
|
+
return (index.h(index.Host, { key: 'f876442cab5b14b7e83c6d6ad2c2d878a9c57439', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
886
886
|
[mode]: true,
|
|
887
887
|
'ion-activatable': true,
|
|
888
|
-
}) }, index.h("a", Object.assign({ key: '
|
|
888
|
+
}) }, index.h("a", Object.assign({ key: 'c44b78ec1fd10a40c23bfe548860ac2b346646a8' }, attrs), index.h("slot", { key: 'd32180a567613f79f89885135bd0d776ffc1eb8e' }))));
|
|
889
889
|
}
|
|
890
890
|
};
|
|
891
891
|
RouterLink.style = IonRouterLinkStyle0;
|
|
@@ -393,8 +393,8 @@ const Searchbar = class {
|
|
|
393
393
|
const clearIcon = this.clearIcon || (mode === 'ios' ? index$1.closeCircle : index$1.closeSharp);
|
|
394
394
|
const searchIcon = this.searchIcon || (mode === 'ios' ? index$1.searchOutline : index$1.searchSharp);
|
|
395
395
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
396
|
-
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '
|
|
397
|
-
return (index.h(index.Host, { key: '
|
|
396
|
+
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '20b2d0f2e3425eede725dbe3323c7c29cdb66f4e', "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" }, index.h("div", { key: '3a516c3fdd35256eb79639fd340afcdd92cfd7aa', "aria-hidden": "true" }, mode === 'md' ? (index.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
397
|
+
return (index.h(index.Host, { key: '34878db21f63a9bdffca0446d8ad5619ff04cac3', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
398
398
|
[mode]: true,
|
|
399
399
|
'searchbar-animated': animated,
|
|
400
400
|
'searchbar-disabled': this.disabled,
|
|
@@ -404,14 +404,14 @@ const Searchbar = class {
|
|
|
404
404
|
'searchbar-has-focus': this.focused,
|
|
405
405
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
406
406
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
407
|
-
}) }, index.h("div", { key: '
|
|
407
|
+
}) }, index.h("div", { key: 'faa7b011206a8359b1963368c65988e506b260cb', class: "searchbar-input-container" }, index.h("input", Object.assign({ key: '732d3e5a2b258da6f136a14472ac872816a9853b', "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, index.h("ion-icon", { key: '767dca971849f221dde220deae728b41bf764b98', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), index.h("button", { key: '9941b5de1ed9ebcf3e81de8e0731c09dea5a89d9', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
408
408
|
/**
|
|
409
409
|
* This prevents mobile browsers from
|
|
410
410
|
* blurring the input when the clear
|
|
411
411
|
* button is activated.
|
|
412
412
|
*/
|
|
413
413
|
ev.preventDefault();
|
|
414
|
-
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: '
|
|
414
|
+
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: 'cb2b543d286373a84e2c6c2a959f92b045bbd7dd', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
415
415
|
}
|
|
416
416
|
get el() { return index.getElement(this); }
|
|
417
417
|
static get watchers() { return {
|
|
@@ -444,14 +444,14 @@ const Segment = class {
|
|
|
444
444
|
}
|
|
445
445
|
render() {
|
|
446
446
|
const mode = ionicGlobal.getIonMode(this);
|
|
447
|
-
return (index.h(index.Host, { key: '
|
|
447
|
+
return (index.h(index.Host, { key: 'f1f7103b4c298e037df850ac809a1a7c6e9987a7', role: "tablist", onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
448
448
|
[mode]: true,
|
|
449
449
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
450
450
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
451
451
|
'segment-activated': this.activated,
|
|
452
452
|
'segment-disabled': this.disabled,
|
|
453
453
|
'segment-scrollable': this.scrollable,
|
|
454
|
-
}) }, index.h("slot", { key: '
|
|
454
|
+
}) }, index.h("slot", { key: '6efdb318b13da8d21687084aa0761728fdf12579', onSlotchange: this.onSlottedItemsChange })));
|
|
455
455
|
}
|
|
456
456
|
get el() { return index.getElement(this); }
|
|
457
457
|
static get watchers() { return {
|
|
@@ -539,7 +539,7 @@ const SegmentButton = class {
|
|
|
539
539
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
540
540
|
const mode = ionicGlobal.getIonMode(this);
|
|
541
541
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
542
|
-
return (index.h(index.Host, { key: '
|
|
542
|
+
return (index.h(index.Host, { key: '70cf5c7a3ae2620222c5250c644faf3cfc3b3e4e', class: {
|
|
543
543
|
[mode]: true,
|
|
544
544
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
545
545
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
@@ -555,10 +555,10 @@ const SegmentButton = class {
|
|
|
555
555
|
'ion-activatable': true,
|
|
556
556
|
'ion-activatable-instant': true,
|
|
557
557
|
'ion-focusable': true,
|
|
558
|
-
} }, index.h("button", Object.assign({ key: '
|
|
558
|
+
} }, index.h("button", Object.assign({ key: 'a53c9f1e360934e8d2e90476642ba4507fc38ebd', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), index.h("span", { key: '7d8feda840d389941cc693f500b5eba0b39b41da', class: "button-inner" }, index.h("slot", { key: 'd9ae1eec45db253cbf573d29cd545658dd595d87' })), mode === 'md' && index.h("ion-ripple-effect", { key: '49e6a16968709dc9b3fc77bc9fb99acb42fda88c' })), index.h("div", { key: '4e3ea0989ed5205dbb03586e4facb439b05a92de', part: "indicator", class: {
|
|
559
559
|
'segment-button-indicator': true,
|
|
560
560
|
'segment-button-indicator-animated': true,
|
|
561
|
-
} }, index.h("div", { key: '
|
|
561
|
+
} }, index.h("div", { key: '65c72a151080998c1e548c87d4d4ebd5c7dda72f', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
562
562
|
}
|
|
563
563
|
get el() { return index.getElement(this); }
|
|
564
564
|
static get watchers() { return {
|
|
@@ -9,7 +9,7 @@ const index = require('./index-73f75efb.js');
|
|
|
9
9
|
const notchController = require('./notch-controller-d69150f5.js');
|
|
10
10
|
const compareWithUtils = require('./compare-with-utils-df1001d7.js');
|
|
11
11
|
const helpers = require('./helpers-afaa9001.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-0967e6f7.js');
|
|
13
13
|
const dir = require('./dir-94c21456.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
15
|
const watchOptions = require('./watch-options-f5f3e158.js');
|
|
@@ -599,7 +599,7 @@ const Select = class {
|
|
|
599
599
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
600
600
|
*/
|
|
601
601
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
602
|
-
return (index.h(index.Host, { key: '
|
|
602
|
+
return (index.h(index.Host, { key: '73c571c1f8468e1c3f4fe02fbbb33ba9cbc8e989', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
603
603
|
[mode]: true,
|
|
604
604
|
'in-item': inItem,
|
|
605
605
|
'in-item-color': theme.hostContext('ion-item.ion-color', el),
|
|
@@ -615,7 +615,7 @@ const Select = class {
|
|
|
615
615
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
616
616
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
617
617
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
618
|
-
}) }, index.h("label", { key: '
|
|
618
|
+
}) }, index.h("label", { key: '2b08538cba0b9f747541d57ac18fb6a1ea658878', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), index.h("div", { key: '33f54373bcb02c72a9d0af2efffebc27ee2c69fe', class: "select-wrapper-inner" }, index.h("slot", { key: 'd1c93aec99dc1cd6410f93309cef615fe04b541b', name: "start" }), index.h("div", { key: '493d1a3cad9565516f855bef75685b020785ffd3', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), index.h("slot", { key: '353a3ee5635f8a8f3be411efd6caef6c2ad74a89', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && index.h("div", { key: 'fd5f85555db02affe954f9f4f2876ac8fe676234', class: "select-highlight" }))));
|
|
619
619
|
}
|
|
620
620
|
get el() { return index.getElement(this); }
|
|
621
621
|
static get watchers() { return {
|
|
@@ -676,7 +676,7 @@ const SelectOption = class {
|
|
|
676
676
|
this.value = undefined;
|
|
677
677
|
}
|
|
678
678
|
render() {
|
|
679
|
-
return index.h(index.Host, { key: '
|
|
679
|
+
return index.h(index.Host, { key: 'ba5a9c695c53fe0802af11a49f4305a9b8f71773', role: "option", id: this.inputId, class: ionicGlobal.getIonMode(this) });
|
|
680
680
|
}
|
|
681
681
|
get el() { return index.getElement(this); }
|
|
682
682
|
};
|
|
@@ -784,7 +784,7 @@ const SelectPopover = class {
|
|
|
784
784
|
render() {
|
|
785
785
|
const { header, message, options, subHeader } = this;
|
|
786
786
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
787
|
-
return (index.h(index.Host, { key: '
|
|
787
|
+
return (index.h(index.Host, { key: '302553a2eec4d1442751b8af28b7c9bd3487fd5d', class: ionicGlobal.getIonMode(this) }, index.h("ion-list", { key: '39ae8579e6fe3bae2c7504147268ad5c82fd27e6' }, header !== undefined && index.h("ion-list-header", { key: 'e0e6686380d188f46c593e1bb25287dcf08c75c2' }, header), hasSubHeaderOrMessage && (index.h("ion-item", { key: '8a2d8652db269593c0ba7d767277e12c2b06144d' }, index.h("ion-label", { key: 'a30cc0ecf95d5bdd6421ee1683922c1b853e98ea', class: "ion-text-wrap" }, subHeader !== undefined && index.h("h3", { key: 'c298459ca450123808a08d65660825b2c26d00e5' }, subHeader), message !== undefined && index.h("p", { key: 'ed895fbaec020e809021138401341b6fd7675035' }, message)))), this.renderOptions(options))));
|
|
788
788
|
}
|
|
789
789
|
get el() { return index.getElement(this); }
|
|
790
790
|
};
|
|
@@ -47,7 +47,7 @@ const Spinner = class {
|
|
|
47
47
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
return (index.h(index.Host, { key: '
|
|
50
|
+
return (index.h(index.Host, { key: '50cbaed55eeab15292447d106a80b93db4cb40de', class: theme.createColorClasses(self.color, {
|
|
51
51
|
[mode]: true,
|
|
52
52
|
[`spinner-${spinnerName}`]: true,
|
|
53
53
|
'spinner-paused': self.paused || ionicGlobal.config.getBoolean('_testing'),
|
|
@@ -125,12 +125,12 @@ const SplitPane = class {
|
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
127
|
const mode = ionicGlobal.getIonMode(this);
|
|
128
|
-
return (index.h(index.Host, { key: '
|
|
128
|
+
return (index.h(index.Host, { key: 'd54c356cd4bff7e55325160882dea8249f47f388', class: {
|
|
129
129
|
[mode]: true,
|
|
130
130
|
// Used internally for styling
|
|
131
131
|
[`split-pane-${mode}`]: true,
|
|
132
132
|
'split-pane-visible': this.visible,
|
|
133
|
-
} }, index.h("slot", { key: '
|
|
133
|
+
} }, index.h("slot", { key: 'af62690d0fd686cfbd29d888c79eda9001f13e2f' })));
|
|
134
134
|
}
|
|
135
135
|
get el() { return index.getElement(this); }
|
|
136
136
|
static get watchers() { return {
|
|
@@ -66,11 +66,11 @@ const TabBar = class {
|
|
|
66
66
|
const { color, translucent, keyboardVisible } = this;
|
|
67
67
|
const mode = ionicGlobal.getIonMode(this);
|
|
68
68
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
69
|
+
return (index.h(index.Host, { key: '3a8595dd83f89e8319471a7a7f9f64b2565b384c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: theme.createColorClasses(color, {
|
|
70
70
|
[mode]: true,
|
|
71
71
|
'tab-bar-translucent': translucent,
|
|
72
72
|
'tab-bar-hidden': shouldHide,
|
|
73
|
-
}) }, index.h("slot", { key: '
|
|
73
|
+
}) }, index.h("slot", { key: '8b65eceb922f6abfa15f41046261586fb94b981f' })));
|
|
74
74
|
}
|
|
75
75
|
get el() { return index.getElement(this); }
|
|
76
76
|
static get watchers() { return {
|
|
@@ -150,7 +150,7 @@ const TabButton = class {
|
|
|
150
150
|
rel,
|
|
151
151
|
target,
|
|
152
152
|
};
|
|
153
|
-
return (index.h(index.Host, { key: '
|
|
153
|
+
return (index.h(index.Host, { key: '4b528ce31f67e10ad849e0c99bd034bba675c227', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
154
154
|
[mode]: true,
|
|
155
155
|
'tab-selected': selected,
|
|
156
156
|
'tab-disabled': disabled,
|
|
@@ -162,7 +162,7 @@ const TabButton = class {
|
|
|
162
162
|
'ion-activatable': true,
|
|
163
163
|
'ion-selectable': true,
|
|
164
164
|
'ion-focusable': true,
|
|
165
|
-
} }, index.h("a", Object.assign({ key: '
|
|
165
|
+
} }, index.h("a", Object.assign({ key: '0da8784b1b243ffaaaf04dd7adb55d6881ed0c08' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), index.h("span", { key: '2c628e8f1ebc129f84876c01530468cb97d8bf3a', class: "button-inner" }, index.h("slot", { key: '8052a171d197a7de1a7eb12b091c35f73ae1ee21' })), mode === 'md' && index.h("ion-ripple-effect", { key: '4186bdb5ed045ec16f495a14fa30ac864c576227', type: "unbounded" }))));
|
|
166
166
|
}
|
|
167
167
|
get el() { return index.getElement(this); }
|
|
168
168
|
};
|
|
@@ -50,10 +50,10 @@ const Tab = class {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const { tab, active, component } = this;
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: '46d5498418f5379861c3d7465e8021dec45f1200', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
54
54
|
'ion-page': component === undefined,
|
|
55
55
|
'tab-hidden': !active,
|
|
56
|
-
} }, index.h("slot", { key: '
|
|
56
|
+
} }, index.h("slot", { key: 'b45045dccb87dfe75e3f5a5a474bb48b6c98e922' })));
|
|
57
57
|
}
|
|
58
58
|
get el() { return index.getElement(this); }
|
|
59
59
|
static get watchers() { return {
|
|
@@ -207,7 +207,7 @@ const Tabs = class {
|
|
|
207
207
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
|
-
return (index.h(index.Host, { key: '
|
|
210
|
+
return (index.h(index.Host, { key: 'eb094c9bd15b7777c53bd0bd6d225784fa472849', onIonTabButtonClick: this.onTabClicked }, index.h("slot", { key: 'a516ca6915bf26e77eeeb0ff684c4fcc7d4420a7', name: "top" }), index.h("div", { key: 'dd2a32a072d77afe216abc4958c1d686405fb780', class: "tabs-inner" }, index.h("slot", { key: '222c20ba862068f5c78e7bbef4fa213499fb2fa5' })), index.h("slot", { key: '3e76dcb1b21873aa137d095c56131514054ead3a', name: "bottom" })));
|
|
211
211
|
}
|
|
212
212
|
get el() { return index.getElement(this); }
|
|
213
213
|
};
|
|
@@ -19,9 +19,9 @@ const Text = class {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const mode = ionicGlobal.getIonMode(this);
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: '4b76333b1ea5cab134b9dc1f5670c0d5a253fc32', class: theme.createColorClasses(this.color, {
|
|
23
23
|
[mode]: true,
|
|
24
|
-
}) }, index.h("slot", { key: '
|
|
24
|
+
}) }, index.h("slot", { key: '3dee5f16bc58b3d92547d910bd4f441a00ce2039' })));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
Text.style = IonTextStyle0;
|
|
@@ -369,7 +369,7 @@ const Textarea = class {
|
|
|
369
369
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
370
370
|
*/
|
|
371
371
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
372
|
-
return (index.h(index.Host, { key: '
|
|
372
|
+
return (index.h(index.Host, { key: '37595a18d77dea1a337ac1c672e5f08a4128111d', class: theme.createColorClasses(this.color, {
|
|
373
373
|
[mode]: true,
|
|
374
374
|
'has-value': hasValue,
|
|
375
375
|
'has-focus': hasFocus,
|
|
@@ -378,7 +378,7 @@ const Textarea = class {
|
|
|
378
378
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
379
379
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
380
380
|
'textarea-disabled': disabled,
|
|
381
|
-
}) }, index.h("label", { key: '
|
|
381
|
+
}) }, index.h("label", { key: '67342758743e5a40448a32ff695876d39778621f', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), index.h("div", { key: 'a994be8264bf5652811cf816d79a04178954e83f', class: "textarea-wrapper-inner" }, index.h("div", { key: 'e09c93ebcd5b3d227d51e682ca23dfc7fd7027ad', class: "start-slot-wrapper" }, index.h("slot", { key: 'd39758f21f19ae70aea21e9a9a7b7c20991fe593', name: "start" })), index.h("div", { key: '6a4e10e53de4bb235ee30def4c9ae5bdee888816', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, index.h("textarea", Object.assign({ key: '9e254e551f124d972e9bc6b09ef0f2bb55890be5', 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)), index.h("div", { key: 'a66aa2d2bc4778a0bec56a8b9ec9052a832eb3b2', class: "end-slot-wrapper" }, index.h("slot", { key: '8e6a90b4475de32e23afc593da4108610dcca663', name: "end" }))), shouldRenderHighlight && index.h("div", { key: '6da03205a8daff45581b20f0af3938634a9d5f8c', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
382
382
|
}
|
|
383
383
|
get el() { return index.getElement(this); }
|
|
384
384
|
static get watchers() { return {
|
|
@@ -10,7 +10,7 @@ const config = require('./config-4f60b98a.js');
|
|
|
10
10
|
const helpers = require('./helpers-afaa9001.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
12
|
const index$1 = require('./index-5915f9b3.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-0967e6f7.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
16
16
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -832,9 +832,9 @@ const Toast = class {
|
|
|
832
832
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
833
833
|
index$1.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);
|
|
834
834
|
}
|
|
835
|
-
return (index$3.h(index$3.Host, Object.assign({ key: '
|
|
835
|
+
return (index$3.h(index$3.Host, Object.assign({ key: '68c336f80af04ba484ca9899bae8f40c0d9b7691', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
836
836
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
837
|
-
}, class: theme.createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), index$3.h("div", { key: '
|
|
837
|
+
}, class: theme.createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), index$3.h("div", { key: '3483b188f14b700964a123997a60a43a2023a1b6', class: wrapperClass }, index$3.h("div", { key: '1b88544a9b87253b364cbec6285625388979b560', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (index$3.h("ion-icon", { key: 'bd1c42e3b14af66b880dfe283e3ae910075c0f70', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), index$3.h("div", { key: 'a5ef6cdabc1f7c70d11a5f2a0abf8737fe7550e8', 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')))));
|
|
838
838
|
}
|
|
839
839
|
get el() { return index$3.getElement(this); }
|
|
840
840
|
static get watchers() { return {
|
|
@@ -164,7 +164,7 @@ const Toggle = class {
|
|
|
164
164
|
const value = this.getValue();
|
|
165
165
|
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
166
166
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
167
|
-
return (index.h(index.Host, { key: '
|
|
167
|
+
return (index.h(index.Host, { key: '8f024fb0fbc2d4442be0574b03450426e8e4fc9e', onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
168
168
|
[mode]: true,
|
|
169
169
|
'in-item': theme.hostContext('ion-item', el),
|
|
170
170
|
'toggle-activated': activated,
|
|
@@ -174,10 +174,10 @@ const Toggle = class {
|
|
|
174
174
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
175
175
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
176
176
|
[`toggle-${rtl}`]: true,
|
|
177
|
-
}) }, index.h("label", { key: '
|
|
177
|
+
}) }, index.h("label", { key: '0492f009cd89755adf41f60925028002df0e67b1', class: "toggle-wrapper" }, index.h("input", Object.assign({ key: 'fd98b23e8adfa2630878eddc30607a0b1bf9e798', 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)), index.h("div", { key: 'bcbde055ad9450319ae41e8956a1e8cc0a7796a4', class: {
|
|
178
178
|
'label-text-wrapper': true,
|
|
179
179
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
180
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
180
|
+
}, part: "label" }, index.h("slot", { key: '7a6ea9515d454d80615f0622f361c5f91b41345c' })), index.h("div", { key: '6d3670b81b8f809092c98b3f3b8e483ddf6a7cac', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
181
181
|
}
|
|
182
182
|
get el() { return index.getElement(this); }
|
|
183
183
|
static get watchers() { return {
|
|
@@ -504,7 +504,8 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
504
504
|
}
|
|
505
505
|
setRootAriaHidden(true);
|
|
506
506
|
document.body.classList.add(gestureController.BACKDROP_NO_SCROLL);
|
|
507
|
-
|
|
507
|
+
hideUnderlyingOverlaysFromScreenReaders(overlay.el);
|
|
508
|
+
hideAnimatingOverlayFromScreenReaders(overlay.el);
|
|
508
509
|
overlay.presented = true;
|
|
509
510
|
overlay.willPresent.emit();
|
|
510
511
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -544,6 +545,11 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
544
545
|
* it would still have aria-hidden on being presented again.
|
|
545
546
|
* Removing it here ensures the overlay is visible to screen
|
|
546
547
|
* readers.
|
|
548
|
+
*
|
|
549
|
+
* If this overlay was being presented, then it was hidden
|
|
550
|
+
* from screen readers during the animation. Now that the
|
|
551
|
+
* animation is complete, we can reveal the overlay to
|
|
552
|
+
* screen readers.
|
|
547
553
|
*/
|
|
548
554
|
overlay.el.removeAttribute('aria-hidden');
|
|
549
555
|
};
|
|
@@ -612,6 +618,12 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
612
618
|
}
|
|
613
619
|
overlay.presented = false;
|
|
614
620
|
try {
|
|
621
|
+
/**
|
|
622
|
+
* There is no need to show the overlay to screen readers during
|
|
623
|
+
* the dismiss animation. This is because the overlay will be removed
|
|
624
|
+
* from the DOM after the animation is complete.
|
|
625
|
+
*/
|
|
626
|
+
hideAnimatingOverlayFromScreenReaders(overlay.el);
|
|
615
627
|
// Overlay contents should not be clickable during dismiss
|
|
616
628
|
overlay.el.style.setProperty('pointer-events', 'none');
|
|
617
629
|
overlay.willDismiss.emit({ data, role });
|
|
@@ -846,6 +858,24 @@ const createTriggerController = () => {
|
|
|
846
858
|
removeClickListener,
|
|
847
859
|
};
|
|
848
860
|
};
|
|
861
|
+
/**
|
|
862
|
+
* The overlay that is being animated also needs to hide from screen
|
|
863
|
+
* readers during its animation. This ensures that assistive technologies
|
|
864
|
+
* like TalkBack do not announce or interact with the content until the
|
|
865
|
+
* animation is complete, avoiding confusion for users.
|
|
866
|
+
*
|
|
867
|
+
* If the overlay is being presented, it prevents focus rings from appearing
|
|
868
|
+
* in incorrect positions due to the transition (specifically `transform`
|
|
869
|
+
* styles), ensuring that when aria-hidden is removed, the focus rings are
|
|
870
|
+
* correctly displayed in the final location of the elements.
|
|
871
|
+
*
|
|
872
|
+
* @param overlay - The overlay that is being animated.
|
|
873
|
+
*/
|
|
874
|
+
const hideAnimatingOverlayFromScreenReaders = (overlay) => {
|
|
875
|
+
if (index.doc === undefined)
|
|
876
|
+
return;
|
|
877
|
+
overlay.setAttribute('aria-hidden', 'true');
|
|
878
|
+
};
|
|
849
879
|
/**
|
|
850
880
|
* Ensure that underlying overlays have aria-hidden if necessary so that screen readers
|
|
851
881
|
* cannot move focus to these elements. Note that we cannot rely on focus/focusin/focusout
|
|
@@ -856,7 +886,7 @@ const createTriggerController = () => {
|
|
|
856
886
|
* @param newTopMostOverlay - The overlay that is being presented. Since the overlay has not been
|
|
857
887
|
* fully presented yet at the time this function is called it will not be included in the getPresentedOverlays result.
|
|
858
888
|
*/
|
|
859
|
-
const
|
|
889
|
+
const hideUnderlyingOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
860
890
|
var _a;
|
|
861
891
|
if (index.doc === undefined)
|
|
862
892
|
return;
|
|
@@ -132,33 +132,6 @@
|
|
|
132
132
|
pointer-events: none;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.action-sheet-title,
|
|
136
|
-
.action-sheet-sub-title {
|
|
137
|
-
font-weight: normal;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.action-sheet-title {
|
|
141
|
-
margin-left: 0;
|
|
142
|
-
margin-right: 0;
|
|
143
|
-
margin-top: 0;
|
|
144
|
-
margin-bottom: 0;
|
|
145
|
-
padding-left: 0;
|
|
146
|
-
padding-right: 0;
|
|
147
|
-
padding-top: 0;
|
|
148
|
-
padding-bottom: 0;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.action-sheet-sub-title {
|
|
152
|
-
margin-left: 0;
|
|
153
|
-
margin-right: 0;
|
|
154
|
-
margin-top: 0;
|
|
155
|
-
margin-bottom: 0;
|
|
156
|
-
padding-left: 0;
|
|
157
|
-
padding-right: 0;
|
|
158
|
-
padding-top: 0;
|
|
159
|
-
padding-bottom: 0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
135
|
.action-sheet-button {
|
|
163
136
|
display: block;
|
|
164
137
|
position: relative;
|
|
@@ -412,11 +385,11 @@
|
|
|
412
385
|
background: var(--button-background-selected);
|
|
413
386
|
}
|
|
414
387
|
}
|
|
415
|
-
.action-sheet-
|
|
388
|
+
.action-sheet-title {
|
|
416
389
|
background: linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;
|
|
417
390
|
}
|
|
418
391
|
|
|
419
|
-
.action-sheet-
|
|
392
|
+
.action-sheet-title {
|
|
420
393
|
-webkit-padding-start: 10px;
|
|
421
394
|
padding-inline-start: 10px;
|
|
422
395
|
-webkit-padding-end: 10px;
|
|
@@ -424,12 +397,9 @@
|
|
|
424
397
|
padding-top: 14px;
|
|
425
398
|
padding-bottom: 13px;
|
|
426
399
|
color: var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));
|
|
427
|
-
text-align: center;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
.action-sheet-title {
|
|
431
400
|
font-size: max(13px, 0.8125rem);
|
|
432
401
|
font-weight: 400;
|
|
402
|
+
text-align: center;
|
|
433
403
|
}
|
|
434
404
|
|
|
435
405
|
.action-sheet-title.action-sheet-has-sub-title {
|
|
@@ -67,14 +67,8 @@ export class ActionSheet {
|
|
|
67
67
|
*/
|
|
68
68
|
async present() {
|
|
69
69
|
const unlock = await this.lockController.lock();
|
|
70
|
-
// hide from screen readers before animating
|
|
71
|
-
// this is to avoid reading the action sheet content
|
|
72
|
-
// before it's fully visible
|
|
73
|
-
this.el.setAttribute('aria-hidden', 'true');
|
|
74
70
|
await this.delegateController.attachViewToDom();
|
|
75
71
|
await present(this, 'actionSheetEnter', iosEnterAnimation, mdEnterAnimation);
|
|
76
|
-
// show to screen readers after animation
|
|
77
|
-
this.el.removeAttribute('aria-hidden');
|
|
78
72
|
unlock();
|
|
79
73
|
}
|
|
80
74
|
/**
|
|
@@ -200,12 +194,12 @@ export class ActionSheet {
|
|
|
200
194
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
201
195
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
202
196
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
203
|
-
return (h(Host, Object.assign({ key: '
|
|
197
|
+
return (h(Host, Object.assign({ key: '7bbd202ca9e19727e7514abbe073687d982f80c3', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
204
198
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
205
|
-
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '
|
|
199
|
+
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '23344a9221a2e6720d7b9de5249dc37256cafa7b', tappable: this.backdropDismiss }), h("div", { key: 'd46361bb5cdc32a7922dcf76b566f358a6174bfa', tabindex: "0" }), h("div", { key: '136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '6168ea8b2be42020b2edeb8ff3a0f3d1254be37a', class: "action-sheet-container" }, h("div", { key: '29b9e6619dc54574733a704d6bf885839151bd84', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (h("div", { key: '536ce764bfddb3816ea3512d90f4acef2ccb8589', id: headerID, class: {
|
|
206
200
|
'action-sheet-title': true,
|
|
207
201
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
208
|
-
} }, header
|
|
202
|
+
} }, header, this.subHeader && h("div", { key: '6d888219145824fd36cdfe0d3c8388bbf2769777', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { key: '46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: 'e3c457bced8ad5f692e48de26e65f731fd631b4f' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '4cba6dc559f734ecc852e024959210cd0dd25354', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: '9df64989aad1b4d1e75edf4d37ab208965cfe37f', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", { key: '558089275a29177cefdb2e38eefc9b5c8b62872b' })))))), h("div", { key: 'fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc', tabindex: "0" })));
|
|
209
203
|
}
|
|
210
204
|
static get is() { return "ion-action-sheet"; }
|
|
211
205
|
static get encapsulation() { return "scoped"; }
|