voyager-ionic-core 8.3.4 → 8.4.0
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/alert.js +7 -5
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +2 -2
- package/components/checkbox.js +7 -5
- package/components/content.js +446 -0
- package/components/header.js +356 -0
- package/components/index4.js +2 -2
- 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 +1 -441
- 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 +1 -351
- 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 +19 -19
- package/components/ion-modal.js +1 -1737
- 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 +24 -5
- package/components/ion-segment-content.d.ts +11 -0
- package/components/ion-segment-content.js +37 -0
- package/components/ion-segment-view.d.ts +11 -0
- package/components/ion-segment-view.js +140 -0
- package/components/ion-segment.js +110 -15
- package/components/ion-select-modal.d.ts +11 -0
- package/components/ion-select-modal.js +9 -0
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +114 -41
- 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 +1 -70
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/ion-toolbar.js +1 -88
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +1742 -0
- 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 +5 -3
- package/components/radio.js +7 -5
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +197 -0
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +75 -0
- package/components/toolbar.js +93 -0
- package/dist/cjs/{index-9cd00dc3.js → index-8e789962.js} +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +7 -5
- 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 +5 -4
- 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 +6 -6
- 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 +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +23 -23
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +12 -8
- 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-content.cjs.entry.js +23 -0
- package/dist/cjs/ion-segment-view.cjs.entry.js +122 -0
- package/dist/cjs/ion-segment_2.cjs.entry.js +132 -19
- package/dist/cjs/ion-select-modal.cjs.entry.js +111 -0
- package/dist/cjs/ion-select_3.cjs.entry.js +39 -14
- 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 +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/alert/alert.js +7 -5
- 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 +29 -4
- 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 +47 -27
- 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 +9 -7
- package/dist/collection/components/radio-group/radio-group.js +5 -3
- 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 +115 -14
- package/dist/collection/components/segment-button/segment-button.js +40 -5
- package/dist/collection/components/segment-content/segment-content.css +6 -0
- package/dist/collection/components/segment-content/segment-content.js +21 -0
- package/dist/collection/components/segment-view/segment-view-interface.js +1 -0
- package/dist/collection/components/segment-view/segment-view.ios.css +83 -0
- package/dist/collection/components/segment-view/segment-view.js +227 -0
- package/dist/collection/components/segment-view/segment-view.md.css +83 -0
- package/dist/collection/components/select/select.js +61 -16
- package/dist/collection/components/select-modal/select-modal-interface.js +1 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +3 -0
- package/dist/collection/components/select-modal/select-modal.js +159 -0
- package/dist/collection/components/select-modal/select-modal.md.css +110 -0
- package/dist/collection/components/select-modal/test/fixtures.js +48 -0
- 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/menu-controller/index.js +2 -2
- package/dist/docs.json +426 -29
- package/dist/esm/{index-fe1782b1.js → index-24b48b06.js} +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-alert.entry.js +7 -5
- 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 +5 -4
- 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 +6 -6
- 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 +2 -2
- package/dist/esm/ion-menu_3.entry.js +24 -24
- package/dist/esm/ion-modal.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +12 -8
- 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-content.entry.js +19 -0
- package/dist/esm/ion-segment-view.entry.js +118 -0
- package/dist/esm/ion-segment_2.entry.js +132 -19
- package/dist/esm/ion-select-modal.entry.js +107 -0
- package/dist/esm/ion-select_3.entry.js +40 -15
- 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 +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/{index-fe1782b1.js → index-24b48b06.js} +1 -1
- package/dist/esm-es5/index.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 +2 -2
- 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-content.entry.js +4 -0
- package/dist/esm-es5/ion-segment-view.entry.js +4 -0
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +4 -0
- 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/html.html-data.json +65 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-313ccc01.system.entry.js → p-01186920.system.entry.js} +1 -1
- package/dist/ionic/{p-0790b342.system.entry.js → p-0161caf9.system.entry.js} +1 -1
- package/dist/ionic/p-0437ace4.system.entry.js +4 -0
- package/dist/ionic/{p-e3e1e3de.entry.js → p-081a4ce4.entry.js} +1 -1
- package/dist/ionic/p-09cf2394.entry.js +4 -0
- package/dist/ionic/p-14be4015.entry.js +4 -0
- package/dist/ionic/p-15e76dd1.entry.js +4 -0
- package/dist/ionic/{p-003eecb9.entry.js → p-16188af7.entry.js} +1 -1
- package/dist/ionic/p-16799667.system.entry.js +4 -0
- package/dist/ionic/p-16bfb979.system.entry.js +4 -0
- package/dist/ionic/{p-b54fc1ae.entry.js → p-19ec4f42.entry.js} +1 -1
- package/dist/ionic/p-1b7605a7.system.entry.js +4 -0
- package/dist/ionic/p-1c1b8e1f.entry.js +4 -0
- package/dist/ionic/{p-8b6232a6.system.entry.js → p-1e010627.system.entry.js} +2 -2
- package/dist/ionic/{p-d754c709.system.entry.js → p-1e41f2aa.system.entry.js} +1 -1
- package/dist/ionic/{p-cdb11938.system.entry.js → p-1e67b266.system.entry.js} +1 -1
- package/dist/ionic/{p-bd25d639.system.entry.js → p-1ebd1e27.system.entry.js} +1 -1
- package/dist/ionic/{p-836d39d4.system.entry.js → p-2172893e.system.entry.js} +1 -1
- package/dist/ionic/{p-4a0a4204.system.entry.js → p-2507278c.system.entry.js} +1 -1
- package/dist/ionic/{p-75c0dc65.system.entry.js → p-2799c6d3.system.entry.js} +1 -1
- package/dist/ionic/{p-a879ecb7.system.entry.js → p-2abae1cc.system.entry.js} +1 -1
- package/dist/ionic/{p-293ed6ac.system.entry.js → p-2b838f86.system.entry.js} +1 -1
- package/dist/ionic/{p-4a82bd1c.system.entry.js → p-2e46590d.system.entry.js} +1 -1
- package/dist/ionic/{p-148b8abb.entry.js → p-2fc0dafe.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +2 -2
- package/dist/ionic/{p-60cc7986.entry.js → p-33a8a71b.entry.js} +1 -1
- package/dist/ionic/{p-18105026.system.entry.js → p-37cb43bd.system.entry.js} +1 -1
- package/dist/ionic/{p-ad9b5007.system.entry.js → p-3b419d79.system.entry.js} +1 -1
- package/dist/ionic/p-424eb140.system.entry.js +4 -0
- package/dist/ionic/{p-b7657e8d.entry.js → p-4439fc2a.entry.js} +1 -1
- package/dist/ionic/{p-be71fe0f.system.entry.js → p-4561cd09.system.entry.js} +1 -1
- package/dist/ionic/{p-c34659b9.entry.js → p-45693d7e.entry.js} +1 -1
- package/dist/ionic/p-49a0e74c.entry.js +4 -0
- package/dist/ionic/{p-6d50faff.entry.js → p-4a274c89.entry.js} +1 -1
- package/dist/ionic/{p-41c89b8d.entry.js → p-4b000207.entry.js} +1 -1
- package/dist/ionic/{p-fd0cb4ef.entry.js → p-4ec778aa.entry.js} +1 -1
- package/dist/ionic/{p-f559ac5b.entry.js → p-51796b2d.entry.js} +1 -1
- package/dist/ionic/{p-9ece8dcf.entry.js → p-52d7a191.entry.js} +1 -1
- package/dist/ionic/{p-79e7be3a.system.entry.js → p-5393e8bb.system.entry.js} +1 -1
- package/dist/ionic/{p-ce705aac.system.entry.js → p-567de071.system.entry.js} +1 -1
- package/dist/ionic/{p-95823c62.system.entry.js → p-5823babc.system.entry.js} +2 -2
- package/dist/ionic/{p-baffaf8d.system.entry.js → p-58d5df0c.system.entry.js} +1 -1
- package/dist/ionic/{p-521eca2e.entry.js → p-5ab1b709.entry.js} +1 -1
- package/dist/ionic/{p-c71f301f.system.entry.js → p-5b5c1505.system.entry.js} +1 -1
- package/dist/ionic/{p-8d44cf1f.entry.js → p-5b932840.entry.js} +1 -1
- package/dist/ionic/{p-f0ab13a8.system.entry.js → p-5bd39e5e.system.entry.js} +2 -2
- package/dist/ionic/{p-5800e441.entry.js → p-5f79d8c5.entry.js} +1 -1
- package/dist/ionic/{p-53add985.system.entry.js → p-5fce0c0b.system.entry.js} +1 -1
- package/dist/ionic/{p-233e6c93.entry.js → p-62af944c.entry.js} +1 -1
- package/dist/ionic/{p-00b01a55.system.entry.js → p-63b0abde.system.entry.js} +1 -1
- package/dist/ionic/p-6734db42.system.entry.js +4 -0
- package/dist/ionic/p-69666e8a.system.entry.js +4 -0
- package/dist/ionic/{p-5e842258.entry.js → p-6d32975a.entry.js} +1 -1
- package/dist/ionic/p-73dc4950.entry.js +4 -0
- package/dist/ionic/{p-fcd71204.system.entry.js → p-7458862e.system.entry.js} +1 -1
- package/dist/ionic/{p-a3711608.system.entry.js → p-797eeea8.system.entry.js} +1 -1
- package/dist/ionic/{p-f8c8b9ba.entry.js → p-7b9a2b23.entry.js} +1 -1
- package/dist/ionic/{p-6817cf42.system.entry.js → p-7ed1657c.system.entry.js} +1 -1
- package/dist/ionic/{p-79b12fda.system.js → p-8f05ba3b.system.js} +1 -1
- package/dist/ionic/p-908d6080.entry.js +4 -0
- package/dist/ionic/{p-af999a31.entry.js → p-937a7e21.entry.js} +1 -1
- package/dist/ionic/{p-4c8fceb0.entry.js → p-95775830.entry.js} +1 -1
- package/dist/ionic/{p-973f0b15.system.entry.js → p-98231c01.system.entry.js} +1 -1
- package/dist/ionic/{p-25928b83.system.entry.js → p-985a7e17.system.entry.js} +1 -1
- package/dist/ionic/{p-e3a5da9d.entry.js → p-98ff6b32.entry.js} +1 -1
- package/dist/ionic/{p-6e85e450.entry.js → p-9df2c6fb.entry.js} +1 -1
- package/dist/ionic/{p-7251fed5.entry.js → p-9ee1e8a6.entry.js} +1 -1
- package/dist/ionic/{p-da263d8e.entry.js → p-9fa07aec.entry.js} +1 -1
- package/dist/ionic/{p-d58f21d2.entry.js → p-a1051806.entry.js} +1 -1
- package/dist/ionic/{p-6ceb04b5.entry.js → p-a1b9a163.entry.js} +1 -1
- package/dist/ionic/p-a34b4d94.entry.js +4 -0
- package/dist/ionic/{p-8836d0eb.system.entry.js → p-a49378bb.system.entry.js} +1 -1
- package/dist/ionic/{p-6b8893dd.entry.js → p-a61cba41.entry.js} +1 -1
- package/dist/ionic/p-adbc4bdf.entry.js +4 -0
- package/dist/ionic/{p-49bc6544.entry.js → p-afecb188.entry.js} +1 -1
- package/dist/ionic/{p-be715dd3.system.entry.js → p-b335ffed.system.entry.js} +1 -1
- package/dist/ionic/{p-e3f13b08.js → p-b82d4cab.js} +1 -1
- package/dist/ionic/{p-68c4df55.entry.js → p-b9d7015f.entry.js} +1 -1
- package/dist/ionic/{p-7243df6f.entry.js → p-bb0db172.entry.js} +1 -1
- package/dist/ionic/{p-df83e308.system.entry.js → p-bc36ad98.system.entry.js} +1 -1
- package/dist/ionic/{p-773d118d.entry.js → p-bdad26e3.entry.js} +1 -1
- package/dist/ionic/p-c29f8157.system.entry.js +4 -0
- package/dist/ionic/p-c2b74d92.system.entry.js +4 -0
- package/dist/ionic/{p-176b372f.entry.js → p-c41ac815.entry.js} +1 -1
- package/dist/ionic/{p-5417b9bb.entry.js → p-c9f3a539.entry.js} +1 -1
- package/dist/ionic/{p-2ea1ca4f.system.entry.js → p-ca065903.system.entry.js} +1 -1
- package/dist/ionic/{p-2ca6eac2.system.entry.js → p-cac0e0b3.system.entry.js} +1 -1
- package/dist/ionic/{p-3c968c7f.system.entry.js → p-d18ab582.system.entry.js} +2 -2
- package/dist/ionic/{p-92d7a3d1.entry.js → p-d7aa6b00.entry.js} +1 -1
- package/dist/ionic/{p-21cfd4de.entry.js → p-da074ff7.entry.js} +1 -1
- package/dist/ionic/{p-9e208825.entry.js → p-db0c8e7d.entry.js} +1 -1
- package/dist/ionic/{p-89a0a446.entry.js → p-de930745.entry.js} +1 -1
- package/dist/ionic/p-e2252ad6.entry.js +4 -0
- package/dist/ionic/{p-960803fc.system.entry.js → p-e4ee80be.system.entry.js} +1 -1
- package/dist/ionic/{p-dda5c73d.entry.js → p-e563a35c.entry.js} +1 -1
- package/dist/ionic/{p-7740e32c.system.js → p-e7ed4a7f.system.js} +1 -1
- package/dist/ionic/{p-0373d924.system.entry.js → p-ebf042e0.system.entry.js} +1 -1
- package/dist/ionic/{p-9b6c6302.system.entry.js → p-ed75fcfb.system.entry.js} +1 -1
- package/dist/ionic/p-f10b70a1.entry.js +4 -0
- package/dist/ionic/{p-01503bbd.system.entry.js → p-f3102647.system.entry.js} +1 -1
- package/dist/ionic/{p-6562e0a9.system.entry.js → p-fca6ef5f.system.entry.js} +1 -1
- package/dist/ionic/{p-b0180ce1.system.entry.js → p-ffd131f9.system.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -1
- package/dist/types/components/menu/menu-interface.d.ts +5 -2
- package/dist/types/components/menu/menu.d.ts +6 -6
- package/dist/types/components/radio/radio.d.ts +1 -1
- package/dist/types/components/segment/segment.d.ts +21 -1
- package/dist/types/components/segment-button/segment-button.d.ts +4 -0
- package/dist/types/components/segment-content/segment-content.d.ts +4 -0
- package/dist/types/components/segment-view/segment-view-interface.d.ts +4 -0
- package/dist/types/components/segment-view/segment-view.d.ts +55 -0
- package/dist/types/components/select/select-interface.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +5 -4
- package/dist/types/components/select-modal/select-modal-interface.d.ts +10 -0
- package/dist/types/components/select-modal/select-modal.d.ts +16 -0
- package/dist/types/components/select-modal/test/fixtures.d.ts +16 -0
- package/dist/types/components.d.ts +103 -13
- package/dist/types/utils/overlays-interface.d.ts +1 -1
- package/hydrate/index.js +610 -212
- package/hydrate/index.mjs +610 -212
- package/package.json +1 -1
- package/dist/ionic/p-110e03be.system.entry.js +0 -4
- package/dist/ionic/p-2200e26b.entry.js +0 -4
- package/dist/ionic/p-44d1539c.system.entry.js +0 -4
- package/dist/ionic/p-53854390.entry.js +0 -4
- package/dist/ionic/p-63d65dbc.system.entry.js +0 -4
- package/dist/ionic/p-72ffd137.system.entry.js +0 -4
- package/dist/ionic/p-82ab7ccb.entry.js +0 -4
- package/dist/ionic/p-87a4407b.entry.js +0 -4
- package/dist/ionic/p-9172535c.entry.js +0 -4
- package/dist/ionic/p-93f37ceb.system.entry.js +0 -4
- package/dist/ionic/p-9895e7f3.entry.js +0 -4
- package/dist/ionic/p-a0c88dc2.system.entry.js +0 -4
- package/dist/ionic/p-a89dac49.entry.js +0 -4
- package/dist/ionic/p-f88ebc36.entry.js +0 -4
|
@@ -69,16 +69,16 @@ const InputPasswordToggle = class {
|
|
|
69
69
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : index$2.eye;
|
|
70
70
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : index$2.eyeOff;
|
|
71
71
|
const isPasswordVisible = type === 'text';
|
|
72
|
-
return (index.h(index.Host, { key: '
|
|
72
|
+
return (index.h(index.Host, { key: 'd9811e25bfeb2aa197352bb9be852e9e420739d5', class: theme.createColorClasses(color, {
|
|
73
73
|
[mode]: true,
|
|
74
|
-
}) }, index.h("ion-button", { key: '
|
|
74
|
+
}) }, index.h("ion-button", { key: '1eaea1442b248fb2b8d61538b27274e647a07804', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
75
75
|
/**
|
|
76
76
|
* This prevents mobile browsers from
|
|
77
77
|
* blurring the input when the password toggle
|
|
78
78
|
* button is activated.
|
|
79
79
|
*/
|
|
80
80
|
ev.preventDefault();
|
|
81
|
-
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: '
|
|
81
|
+
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: '9c88de8f4631d9bde222ce2edf6950d639e04773', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
82
82
|
}
|
|
83
83
|
get el() { return index.getElement(this); }
|
|
84
84
|
static get watchers() { return {
|
|
@@ -424,7 +424,7 @@ const Input = class {
|
|
|
424
424
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
425
425
|
*/
|
|
426
426
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
427
|
-
return (index.h(index.Host, { key: '
|
|
427
|
+
return (index.h(index.Host, { key: '54b5662d9a7f011a85e4119650c92b9af275bf96', class: theme.createColorClasses(this.color, {
|
|
428
428
|
[mode]: true,
|
|
429
429
|
'has-value': hasValue,
|
|
430
430
|
'has-focus': hasFocus,
|
|
@@ -435,7 +435,7 @@ const Input = class {
|
|
|
435
435
|
'in-item': inItem,
|
|
436
436
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
437
437
|
'input-disabled': disabled,
|
|
438
|
-
}) }, index.h("label", { key: '
|
|
438
|
+
}) }, index.h("label", { key: '551cf8a932af3275689ecf32988b84355404e8f1', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), index.h("div", { key: 'b3601dca7e0f23517748f6e7feb899c953355bc4', class: "native-wrapper" }, index.h("slot", { key: 'd687a9bb4c5778cfee35ce1b8d6d16ddc8eca768', name: "start" }), index.h("input", Object.assign({ key: 'ab927e84e43bedf8b7827bb743888a1778292deb', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (index.h("button", { key: '0d2ee3f7e69cee75f071f37b2e9bc174572c5a01', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
439
439
|
/**
|
|
440
440
|
* This prevents mobile browsers from
|
|
441
441
|
* blurring the input when the clear
|
|
@@ -450,7 +450,7 @@ const Input = class {
|
|
|
450
450
|
* for screen readers as it means users would be unable to swipe past the clear button.
|
|
451
451
|
*/
|
|
452
452
|
ev.stopPropagation();
|
|
453
|
-
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '
|
|
453
|
+
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: 'c7715111897f43839c10d38662616edb662cd49b', "aria-hidden": "true", icon: clearIconData }))), index.h("slot", { key: 'afc44cbe1ad50f17942d5297a12509abecbd6ecd', name: "end" })), shouldRenderHighlight && index.h("div", { key: 'ee3af32cd9003d497f33e352e56313d43295f3a9', class: "input-highlight" })), this.renderBottomContent()));
|
|
454
454
|
}
|
|
455
455
|
get el() { return index.getElement(this); }
|
|
456
456
|
static get watchers() { return {
|
|
@@ -48,12 +48,12 @@ const ItemOption = class {
|
|
|
48
48
|
href: this.href,
|
|
49
49
|
target: this.target,
|
|
50
50
|
};
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: '89310624997821858c1abde60c0ffb142ca466e0', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
52
52
|
[mode]: true,
|
|
53
53
|
'item-option-disabled': disabled,
|
|
54
54
|
'item-option-expandable': expandable,
|
|
55
55
|
'ion-activatable': true,
|
|
56
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
56
|
+
}) }, index.h(TagType, Object.assign({ key: 'e4dfbb3048eed03a7f7e84c6f75545e0ca9b45fb' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: 'dffcf437fbdc15f2e7a19e60a015e90c73c8377d', class: "button-inner" }, index.h("slot", { key: '48a23512e0601e062118d8b2c46c8bb96f25509f', name: "top" }), index.h("div", { key: '952a9a9aa3a476aa1f4408d7e208bf9e916b8c30', class: "horizontal-wrapper" }, index.h("slot", { key: 'f8d18a61c1ecec4a22a55443cf72bbc51383b64f', name: "start" }), index.h("slot", { key: '1f9f219e6f879d2e0bf6d80cf0d3f518eb14ce0e', name: "icon-only" }), index.h("slot", { key: 'a55adcdbe68131e5b1855c2dd45dd9454ab544fb' }), index.h("slot", { key: '3c4c85a4fbb7efc797d8bc5adf6d238da022ff9f', name: "end" })), index.h("slot", { key: '503c7e4b306745c523f57f24399ea06ba9b1e21d', name: "bottom" })), mode === 'md' && index.h("ion-ripple-effect", { key: 'b0e270b0c4f3ff9f9b6d74bad12a9278d7633226' }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return index.getElement(this); }
|
|
59
59
|
};
|
|
@@ -83,7 +83,7 @@ const ItemOptions = class {
|
|
|
83
83
|
render() {
|
|
84
84
|
const mode = ionicGlobal.getIonMode(this);
|
|
85
85
|
const isEnd = helpers.isEndSide(this.side);
|
|
86
|
-
return (index.h(index.Host, { key: '
|
|
86
|
+
return (index.h(index.Host, { key: '6d91399d2aaaa81d514d0bbc8dffe53eeec25d36', class: {
|
|
87
87
|
[mode]: true,
|
|
88
88
|
// Used internally for styling
|
|
89
89
|
[`item-options-${mode}`]: true,
|
|
@@ -491,7 +491,7 @@ const ItemSliding = class {
|
|
|
491
491
|
}
|
|
492
492
|
render() {
|
|
493
493
|
const mode = ionicGlobal.getIonMode(this);
|
|
494
|
-
return (index.h(index.Host, { key: '
|
|
494
|
+
return (index.h(index.Host, { key: '47a3edd2ef2080ed9cfc2784277dea09785c7dc4', class: {
|
|
495
495
|
[mode]: true,
|
|
496
496
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
497
497
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -242,11 +242,11 @@ const ItemDivider = class {
|
|
|
242
242
|
}
|
|
243
243
|
render() {
|
|
244
244
|
const mode = ionicGlobal.getIonMode(this);
|
|
245
|
-
return (index.h(index.Host, { key: '
|
|
245
|
+
return (index.h(index.Host, { key: '6cff318230a9b2a9db529df154285d3dd9822efe', class: theme.createColorClasses(this.color, {
|
|
246
246
|
[mode]: true,
|
|
247
247
|
'item-divider-sticky': this.sticky,
|
|
248
248
|
item: true,
|
|
249
|
-
}) }, index.h("slot", { key: '
|
|
249
|
+
}) }, index.h("slot", { key: 'eb50dfab74ab0fd13697db17ecd60e8fa0bf1750', name: "start" }), index.h("div", { key: '2806efd89d086f4fb844a479d9c095e1e0775713', class: "item-divider-inner" }, index.h("div", { key: '77b7d5fa987e5f1c26d8023cd1f974a8a263a3de', class: "item-divider-wrapper" }, index.h("slot", { key: 'dbafb0deb140a19a2a9748fd5b48760c39c6fd2e' })), index.h("slot", { key: 'ef9a848fe21e84ef21cd273b8a4d9f95f558175b', name: "end" }))));
|
|
250
250
|
}
|
|
251
251
|
get el() { return index.getElement(this); }
|
|
252
252
|
};
|
|
@@ -267,7 +267,7 @@ const ItemGroup = class {
|
|
|
267
267
|
}
|
|
268
268
|
render() {
|
|
269
269
|
const mode = ionicGlobal.getIonMode(this);
|
|
270
|
-
return (index.h(index.Host, { key: '
|
|
270
|
+
return (index.h(index.Host, { key: 'f9ffe0290d3fa546494fe55f952d8554f2a8abf8', role: "group", class: {
|
|
271
271
|
[mode]: true,
|
|
272
272
|
// Used internally for styling
|
|
273
273
|
[`item-group-${mode}`]: true,
|
|
@@ -337,13 +337,13 @@ const Label = class {
|
|
|
337
337
|
render() {
|
|
338
338
|
const position = this.position;
|
|
339
339
|
const mode = ionicGlobal.getIonMode(this);
|
|
340
|
-
return (index.h(index.Host, { key: '
|
|
340
|
+
return (index.h(index.Host, { key: '6353a70565ef6fbbbf4042b000e536c61bcf99a9', class: theme.createColorClasses(this.color, {
|
|
341
341
|
[mode]: true,
|
|
342
342
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
343
343
|
[`label-${position}`]: position !== undefined,
|
|
344
344
|
[`label-no-animate`]: this.noAnimate,
|
|
345
345
|
'label-rtl': document.dir === 'rtl',
|
|
346
|
-
}) }, index.h("slot", { key: '
|
|
346
|
+
}) }, index.h("slot", { key: '6ef9c2758c0168442aa84941af0a6cec1ef1ec21' })));
|
|
347
347
|
}
|
|
348
348
|
get el() { return index.getElement(this); }
|
|
349
349
|
static get watchers() { return {
|
|
@@ -384,7 +384,7 @@ const List = class {
|
|
|
384
384
|
render() {
|
|
385
385
|
const mode = ionicGlobal.getIonMode(this);
|
|
386
386
|
const { lines, inset } = this;
|
|
387
|
-
return (index.h(index.Host, { key: '
|
|
387
|
+
return (index.h(index.Host, { key: '5ff2b0b3989cc99ce17abb8bcd7ec1847940d1ec', role: "list", class: {
|
|
388
388
|
[mode]: true,
|
|
389
389
|
// Used internally for styling
|
|
390
390
|
[`list-${mode}`]: true,
|
|
@@ -415,10 +415,10 @@ const ListHeader = class {
|
|
|
415
415
|
render() {
|
|
416
416
|
const { lines } = this;
|
|
417
417
|
const mode = ionicGlobal.getIonMode(this);
|
|
418
|
-
return (index.h(index.Host, { key: '
|
|
418
|
+
return (index.h(index.Host, { key: 'fb78bd8601cbd7b90ec84a96e0c8325be1132b1e', class: theme.createColorClasses(this.color, {
|
|
419
419
|
[mode]: true,
|
|
420
420
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
421
|
-
}) }, index.h("div", { key: '
|
|
421
|
+
}) }, index.h("div", { key: '2580ad49f3a54973e15f14d645a1e55a6fa066ac', class: "list-header-inner" }, index.h("slot", { key: '677b2e2ec8eeb3ae6ad329e86c76451cf3ae6c2f' }))));
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
ListHeader.style = {
|
|
@@ -439,9 +439,9 @@ const Note = class {
|
|
|
439
439
|
}
|
|
440
440
|
render() {
|
|
441
441
|
const mode = ionicGlobal.getIonMode(this);
|
|
442
|
-
return (index.h(index.Host, { key: '
|
|
442
|
+
return (index.h(index.Host, { key: '10a3495bc21166176986441479f8f7539029d161', class: theme.createColorClasses(this.color, {
|
|
443
443
|
[mode]: true,
|
|
444
|
-
}) }, index.h("slot", { key: '
|
|
444
|
+
}) }, index.h("slot", { key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873' })));
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
Note.style = {
|
|
@@ -474,11 +474,11 @@ const SkeletonText = class {
|
|
|
474
474
|
const animated = this.animated && ionicGlobal.config.getBoolean('animated', true);
|
|
475
475
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
476
476
|
const mode = ionicGlobal.getIonMode(this);
|
|
477
|
-
return (index.h(index.Host, { key: '
|
|
477
|
+
return (index.h(index.Host, { key: 'fdfabf9364caf507450239b62be24f08873bd650', class: {
|
|
478
478
|
[mode]: true,
|
|
479
479
|
'skeleton-text-animated': animated,
|
|
480
480
|
'in-media': inMedia,
|
|
481
|
-
} }, index.h("span", { key: '
|
|
481
|
+
} }, index.h("span", { key: '3482c88dcc177547185ce87972afa064a542367d' }, "\u00A0")));
|
|
482
482
|
}
|
|
483
483
|
get el() { return index.getElement(this); }
|
|
484
484
|
};
|
|
@@ -265,9 +265,9 @@ const Loading = class {
|
|
|
265
265
|
* Otherwise, don't set aria-labelledby.
|
|
266
266
|
*/
|
|
267
267
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
268
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
268
|
+
return (index.h(index.Host, Object.assign({ key: 'd97f536b7f443ea19a2bbf2dcbc7f546b8e0a092', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
269
269
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
270
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '
|
|
270
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '6cd39bd7912fd080ab59d041644054c96d238ea9', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'c14ca5a9308844f11bcb010257e15208a75b39bc', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '118bceefa8e1cf8b225a858f224e6d919cf03c26', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '490d6e8ae4433835fe273162d7b90deab944fb39', class: "loading-spinner" }, index.h("ion-spinner", { key: 'c5cf6549c43df4cb23814b3e62ec4d9e7ea2b64f', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: '2b888362122d3b66b0492d53b0c21bd6a2a97501', tabindex: "0", "aria-hidden": "true" })));
|
|
271
271
|
}
|
|
272
272
|
get el() { return index.getElement(this); }
|
|
273
273
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ const overlays = require('./overlays-ba0f6986.js');
|
|
|
11
11
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
12
|
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
13
13
|
const helpers = require('./helpers-afaa9001.js');
|
|
14
|
-
const index$1 = require('./index-
|
|
14
|
+
const index$1 = require('./index-8e789962.js');
|
|
15
15
|
const theme = require('./theme-d1c573d2.js');
|
|
16
16
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
17
17
|
const index$2 = require('./index-073c7cdc.js');
|
|
@@ -214,13 +214,13 @@ const Menu = class {
|
|
|
214
214
|
if (shouldClose) {
|
|
215
215
|
ev.preventDefault();
|
|
216
216
|
ev.stopPropagation();
|
|
217
|
-
this.close();
|
|
217
|
+
this.close(undefined, overlays.BACKDROP);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
onKeydown(ev) {
|
|
222
222
|
if (ev.key === 'Escape') {
|
|
223
|
-
this.close();
|
|
223
|
+
this.close(undefined, overlays.BACKDROP);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
@@ -249,8 +249,8 @@ const Menu = class {
|
|
|
249
249
|
* Closes the menu. If the menu is already closed or it can't be closed,
|
|
250
250
|
* it returns `false`.
|
|
251
251
|
*/
|
|
252
|
-
close(animated = true) {
|
|
253
|
-
return this.setOpen(false, animated);
|
|
252
|
+
close(animated = true, role) {
|
|
253
|
+
return this.setOpen(false, animated, role);
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
* Toggles the menu. If the menu is already open, it will try to close, otherwise it will try to open it.
|
|
@@ -263,8 +263,8 @@ const Menu = class {
|
|
|
263
263
|
* Opens or closes the button.
|
|
264
264
|
* If the operation can't be completed successfully, it returns `false`.
|
|
265
265
|
*/
|
|
266
|
-
setOpen(shouldOpen, animated = true) {
|
|
267
|
-
return index$1.menuController._setOpen(this, shouldOpen, animated);
|
|
266
|
+
setOpen(shouldOpen, animated = true, role) {
|
|
267
|
+
return index$1.menuController._setOpen(this, shouldOpen, animated, role);
|
|
268
268
|
}
|
|
269
269
|
trapKeyboardFocus(ev, doc) {
|
|
270
270
|
const target = ev.target;
|
|
@@ -302,12 +302,12 @@ const Menu = class {
|
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
async _setOpen(shouldOpen, animated = true) {
|
|
305
|
+
async _setOpen(shouldOpen, animated = true, role) {
|
|
306
306
|
// If the menu is disabled or it is currently being animated, let's do nothing
|
|
307
307
|
if (!this._isActive() || this.isAnimating || shouldOpen === this._isOpen) {
|
|
308
308
|
return false;
|
|
309
309
|
}
|
|
310
|
-
this.beforeAnimation(shouldOpen);
|
|
310
|
+
this.beforeAnimation(shouldOpen, role);
|
|
311
311
|
await this.loadAnimation();
|
|
312
312
|
await this.startAnimation(shouldOpen, animated);
|
|
313
313
|
/**
|
|
@@ -319,7 +319,7 @@ const Menu = class {
|
|
|
319
319
|
this.operationCancelled = false;
|
|
320
320
|
return false;
|
|
321
321
|
}
|
|
322
|
-
this.afterAnimation(shouldOpen);
|
|
322
|
+
this.afterAnimation(shouldOpen, role);
|
|
323
323
|
return true;
|
|
324
324
|
}
|
|
325
325
|
async loadAnimation() {
|
|
@@ -394,7 +394,7 @@ const Menu = class {
|
|
|
394
394
|
return checkEdgeSide(window, detail.currentX, this.isEndSide, this.maxEdgeStart);
|
|
395
395
|
}
|
|
396
396
|
onWillStart() {
|
|
397
|
-
this.beforeAnimation(!this._isOpen);
|
|
397
|
+
this.beforeAnimation(!this._isOpen, overlays.GESTURE);
|
|
398
398
|
return this.loadAnimation();
|
|
399
399
|
}
|
|
400
400
|
onStart() {
|
|
@@ -461,10 +461,10 @@ const Menu = class {
|
|
|
461
461
|
const playTo = this._isOpen ? !shouldComplete : shouldComplete;
|
|
462
462
|
this.animation
|
|
463
463
|
.easing('cubic-bezier(0.4, 0.0, 0.6, 1)')
|
|
464
|
-
.onFinish(() => this.afterAnimation(shouldOpen), { oneTimeCallback: true })
|
|
464
|
+
.onFinish(() => this.afterAnimation(shouldOpen, overlays.GESTURE), { oneTimeCallback: true })
|
|
465
465
|
.progressEnd(playTo ? 1 : 0, this._isOpen ? 1 - newStepValue : newStepValue, 300);
|
|
466
466
|
}
|
|
467
|
-
beforeAnimation(shouldOpen) {
|
|
467
|
+
beforeAnimation(shouldOpen, role) {
|
|
468
468
|
helpers.assert(!this.isAnimating, '_before() should not be called while animating');
|
|
469
469
|
// this places the menu into the correct location before it animates in
|
|
470
470
|
// this css class doesn't actually kick off any animations
|
|
@@ -503,10 +503,10 @@ const Menu = class {
|
|
|
503
503
|
this.ionWillOpen.emit();
|
|
504
504
|
}
|
|
505
505
|
else {
|
|
506
|
-
this.ionWillClose.emit();
|
|
506
|
+
this.ionWillClose.emit({ role });
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
afterAnimation(isOpen) {
|
|
509
|
+
afterAnimation(isOpen, role) {
|
|
510
510
|
var _a;
|
|
511
511
|
// keep opening/closing the menu disabled for a touch more yet
|
|
512
512
|
// only add listeners/css if it's enabled and isOpen
|
|
@@ -556,7 +556,7 @@ const Menu = class {
|
|
|
556
556
|
this.animation.stop();
|
|
557
557
|
}
|
|
558
558
|
// emit close event
|
|
559
|
-
this.ionDidClose.emit();
|
|
559
|
+
this.ionDidClose.emit({ role });
|
|
560
560
|
// undo focus trapping so multiple menus don't collide
|
|
561
561
|
document.removeEventListener('focus', this.handleFocus, true);
|
|
562
562
|
}
|
|
@@ -588,7 +588,7 @@ const Menu = class {
|
|
|
588
588
|
* If the menu is disabled then we should
|
|
589
589
|
* forcibly close the menu even if it is open.
|
|
590
590
|
*/
|
|
591
|
-
this.afterAnimation(false);
|
|
591
|
+
this.afterAnimation(false, overlays.GESTURE);
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
render() {
|
|
@@ -599,14 +599,14 @@ const Menu = class {
|
|
|
599
599
|
* the ionBackButton listener in the menu controller
|
|
600
600
|
* will handle closing the menu when Escape is pressed.
|
|
601
601
|
*/
|
|
602
|
-
return (index.h(index.Host, { key: '
|
|
602
|
+
return (index.h(index.Host, { key: '5aaea91873d0885b97304372223b2a6ed16ca28b', onKeyDown: hardwareBackButton.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
603
603
|
[mode]: true,
|
|
604
604
|
[`menu-type-${type}`]: true,
|
|
605
605
|
'menu-enabled': !disabled,
|
|
606
606
|
[`menu-side-${side}`]: true,
|
|
607
607
|
'menu-pane-visible': isPaneVisible,
|
|
608
608
|
'split-pane-side': theme.hostContext('ion-split-pane', el),
|
|
609
|
-
} }, index.h("div", { key: '
|
|
609
|
+
} }, index.h("div", { key: '3ba822411ad11eff52c518fecf1b2a5b47e0b678', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, index.h("slot", { key: 'd28a78e98493b21d43ea8b19e96b21547adf1916' })), index.h("ion-backdrop", { key: '0468c15d111737f5cb646918dcfacedadf907a8f', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
610
610
|
}
|
|
611
611
|
get el() { return index.getElement(this); }
|
|
612
612
|
static get watchers() { return {
|
|
@@ -679,7 +679,7 @@ const MenuButton = class {
|
|
|
679
679
|
type: this.type,
|
|
680
680
|
};
|
|
681
681
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
682
|
-
return (index.h(index.Host, { key: '
|
|
682
|
+
return (index.h(index.Host, { key: '7ec29715ce7926b7c2b08f3d9cac8aaa16b3dc28', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: theme.createColorClasses(color, {
|
|
683
683
|
[mode]: true,
|
|
684
684
|
button: true, // ion-buttons target .button
|
|
685
685
|
'menu-button-hidden': hidden,
|
|
@@ -688,7 +688,7 @@ const MenuButton = class {
|
|
|
688
688
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
689
689
|
'ion-activatable': true,
|
|
690
690
|
'ion-focusable': true,
|
|
691
|
-
}) }, index.h("button", Object.assign({ key: '
|
|
691
|
+
}) }, index.h("button", Object.assign({ key: 'd4c5929264af3ba0328118bcc27d2ab7ef5d3809' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), index.h("span", { key: '7bfa6e9a93105486623d044861e879ec79ff64f1', class: "button-inner" }, index.h("slot", { key: '071ab58e285832fc188706166f5547d45d501ac5' }, index.h("ion-icon", { key: '918ec5d791921de9821c347af4f65f97dd94aabf', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && index.h("ion-ripple-effect", { key: '00ffdd53f635e706c1dbd01b8e7944498650fe81', type: "unbounded" }))));
|
|
692
692
|
}
|
|
693
693
|
get el() { return index.getElement(this); }
|
|
694
694
|
};
|
|
@@ -719,10 +719,10 @@ const MenuToggle = class {
|
|
|
719
719
|
render() {
|
|
720
720
|
const mode = ionicGlobal.getIonMode(this);
|
|
721
721
|
const hidden = this.autoHide && !this.visible;
|
|
722
|
-
return (index.h(index.Host, { key: '
|
|
722
|
+
return (index.h(index.Host, { key: '7c27ea5b0795676bf5cb33e1f83aa142c197f64e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
723
723
|
[mode]: true,
|
|
724
724
|
'menu-toggle-hidden': hidden,
|
|
725
|
-
} }, index.h("slot", { key: '
|
|
725
|
+
} }, index.h("slot", { key: '69f187becedc0fe34603d41d279f043cf0fdf776' })));
|
|
726
726
|
}
|
|
727
727
|
};
|
|
728
728
|
MenuToggle.style = IonMenuToggleStyle0;
|
|
@@ -1660,18 +1660,18 @@ const Modal = class {
|
|
|
1660
1660
|
const mode = ionicGlobal.getIonMode(this);
|
|
1661
1661
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
1662
1662
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1663
|
-
return (index$3.h(index$3.Host, Object.assign({ key: '
|
|
1663
|
+
return (index$3.h(index$3.Host, Object.assign({ key: 'b4da5111fe4719fa450c39b2d4bd884a302a7924', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1664
1664
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1665
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$3.h("ion-backdrop", { key: '
|
|
1665
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$3.h("ion-backdrop", { key: 'c12dbf747e0eb914eaf1331798548ffc7e147763', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$3.h("div", { key: 'da546ee80c6576b5acc66e959fd5009e0b9a8160', class: "modal-shadow" }), index$3.h("div", Object.assign({ key: '306ebe6427440ad5f7ed36d590e562d15a503b75',
|
|
1666
1666
|
/*
|
|
1667
1667
|
role and aria-modal must be used on the
|
|
1668
1668
|
same element. They must also be set inside the
|
|
1669
1669
|
shadow DOM otherwise ion-button will not be highlighted
|
|
1670
1670
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
1671
1671
|
*/
|
|
1672
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$3.h("button", { key: '
|
|
1672
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$3.h("button", { key: 'c5d17e346fe255a7c0cacbbf15c0083f2d09c488', class: "modal-handle",
|
|
1673
1673
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1674
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$3.h("slot", { key: '
|
|
1674
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$3.h("slot", { key: '5cc714170a00b67f3eda0cd1d6f37c1489a99c83' }))));
|
|
1675
1675
|
}
|
|
1676
1676
|
get el() { return index$3.getElement(this); }
|
|
1677
1677
|
static get watchers() { return {
|
|
@@ -903,7 +903,7 @@ const Nav = class {
|
|
|
903
903
|
}
|
|
904
904
|
}
|
|
905
905
|
render() {
|
|
906
|
-
return index.h("slot", { key: '
|
|
906
|
+
return index.h("slot", { key: 'dfe98cb6604a2015a49f41beffebdd2da957dfff' });
|
|
907
907
|
}
|
|
908
908
|
get el() { return index.getElement(this); }
|
|
909
909
|
static get watchers() { return {
|
|
@@ -945,7 +945,7 @@ const NavLink = class {
|
|
|
945
945
|
this.routerAnimation = undefined;
|
|
946
946
|
}
|
|
947
947
|
render() {
|
|
948
|
-
return index.h(index.Host, { key: '
|
|
948
|
+
return index.h(index.Host, { key: 'd2f8545b4fbd5aa25ef36eb01dffbc5d35ccfbb9', onClick: this.onClick });
|
|
949
949
|
}
|
|
950
950
|
get el() { return index.getElement(this); }
|
|
951
951
|
};
|
|
@@ -88,10 +88,10 @@ const PickerColumnOption = class {
|
|
|
88
88
|
render() {
|
|
89
89
|
const { color, disabled, ariaLabel } = this;
|
|
90
90
|
const mode = ionicGlobal.getIonMode(this);
|
|
91
|
-
return (index.h(index.Host, { key: '
|
|
91
|
+
return (index.h(index.Host, { key: 'c743c6ef44bb9f765cc15b3b5d2864de6520203a', class: theme.createColorClasses(color, {
|
|
92
92
|
[mode]: true,
|
|
93
93
|
['option-disabled']: disabled,
|
|
94
|
-
}) }, index.h("button", { key: '
|
|
94
|
+
}) }, index.h("button", { key: '4c3d9eb245c52b2c007f727e145cfb55759bd7a9', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, index.h("slot", { key: '4c907d2187cbe9d5941e27f2b12578e2b7271461' }))));
|
|
95
95
|
}
|
|
96
96
|
get el() { return index.getElement(this); }
|
|
97
97
|
static get watchers() { return {
|
|
@@ -536,12 +536,12 @@ const PickerColumn = class {
|
|
|
536
536
|
render() {
|
|
537
537
|
const { color, disabled, isActive, numericInput } = this;
|
|
538
538
|
const mode = ionicGlobal.getIonMode(this);
|
|
539
|
-
return (index.h(index.Host, { key: '
|
|
539
|
+
return (index.h(index.Host, { key: 'a221dc10f1eb7c41637a16d2c7167c16939822fd', class: theme.createColorClasses(color, {
|
|
540
540
|
[mode]: true,
|
|
541
541
|
['picker-column-active']: isActive,
|
|
542
542
|
['picker-column-numeric-input']: numericInput,
|
|
543
543
|
['picker-column-disabled']: disabled,
|
|
544
|
-
}) }, this.renderAssistiveFocusable(), index.h("slot", { key: '
|
|
544
|
+
}) }, this.renderAssistiveFocusable(), index.h("slot", { key: '81b0656f606856f3dc0a657bf167d81a5011405e', name: "prefix" }), index.h("div", { key: '71b9de67c04150255dd66592601c9d926db0c31c', "aria-hidden": "true", class: "picker-opts", ref: (el) => {
|
|
545
545
|
this.scrollEl = el;
|
|
546
546
|
},
|
|
547
547
|
/**
|
|
@@ -562,7 +562,7 @@ const PickerColumn = class {
|
|
|
562
562
|
* To prevent this, we set the tabIndex to -1. This
|
|
563
563
|
* will match the behavior of the other browsers.
|
|
564
564
|
*/
|
|
565
|
-
tabIndex: -1 }, index.h("div", { key: '
|
|
565
|
+
tabIndex: -1 }, index.h("div", { key: 'ebdc2f08c83db0cf17b4be29f28fcb00f529601e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '04ab56fcb8e6a7d6af00204c4560feb99ff34a56', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '6cf8f538903faf0fe1e4130f3eaf7b4e2e17cb52', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("slot", { key: '1cc392307b70c576be5b81b5226ceba735957f0f' }), index.h("div", { key: '23e3f28e2a99b9aa8b7c8f68ad9583e3ca63e9e2', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '8a0563f09780c3116af0caebe4f40587ec1f041f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '13207e248fc0009f37e0c90a3ee2bac2f130b856', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), index.h("slot", { key: '55ecf2ab5f214f936c2468cbdb7952daf89416b8', name: "suffix" })));
|
|
566
566
|
}
|
|
567
567
|
get el() { return index.getElement(this); }
|
|
568
568
|
static get watchers() { return {
|
|
@@ -484,7 +484,7 @@ const Picker = class {
|
|
|
484
484
|
this.emitInputModeChange();
|
|
485
485
|
}
|
|
486
486
|
render() {
|
|
487
|
-
return (index.h(index.Host, { key: '
|
|
487
|
+
return (index.h(index.Host, { key: 'f92214a09dc85b65873676f40fde2b802960e704', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, index.h("input", { key: '6da37f75aca4ea1c9cb3bc733ebda2116279f313', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
488
488
|
var _a;
|
|
489
489
|
/**
|
|
490
490
|
* The "Enter" key represents
|
|
@@ -499,7 +499,7 @@ const Picker = class {
|
|
|
499
499
|
if (ev.key === 'Enter') {
|
|
500
500
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
501
501
|
}
|
|
502
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), index.h("div", { key: '
|
|
502
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), index.h("div", { key: '298e99d83dd3f5bf2798150bab0bb4024af472fa', class: "picker-before" }), index.h("div", { key: 'ea578f04eb562a4dc6d6cc92de133dcb9fb7f42a', class: "picker-after" }), index.h("div", { key: '84567824956dfe967992a629904836ba8b75b3ec', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), index.h("slot", { key: 'df81f8fb90e1f649b608328034528f5c31c70c3b' })));
|
|
503
503
|
}
|
|
504
504
|
get el() { return index.getElement(this); }
|
|
505
505
|
};
|
|
@@ -1298,9 +1298,9 @@ const Popover = class {
|
|
|
1298
1298
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1299
1299
|
const desktop = ionicGlobal.isPlatform('desktop');
|
|
1300
1300
|
const enableArrow = arrow && !parentPopover;
|
|
1301
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
1301
|
+
return (index.h(index.Host, Object.assign({ key: 'ffe8b37c9ffb5cac210a7307e6cdfcf78712905b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1302
1302
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1303
|
-
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index.h("ion-backdrop", { key: '
|
|
1303
|
+
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index.h("ion-backdrop", { key: '12b3ffa3928b4d56a4f09c3d2f5d493d47b45255', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), index.h("div", { key: '2c2862d5c7e75b637973c712b4982bf4978c0cdf', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && index.h("div", { key: '0cfacc52afaa7abc28c1b7742889d7a1c23a37ad', class: "popover-arrow", part: "arrow" }), index.h("div", { key: '3ef570c44d4fe7f063dd419008c92c8c40d3cd22', class: "popover-content", part: "content" }, index.h("slot", { key: '6fc5dfdce20fee1642bc1f05d41b5bf7d1034457' })))));
|
|
1304
1304
|
}
|
|
1305
1305
|
get el() { return index.getElement(this); }
|
|
1306
1306
|
static get watchers() { return {
|
|
@@ -31,7 +31,7 @@ const ProgressBar = class {
|
|
|
31
31
|
const mode = ionicGlobal.getIonMode(this);
|
|
32
32
|
// If the progress is displayed as a solid bar.
|
|
33
33
|
const progressSolid = buffer === 1;
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '8d8ddf0b26fe33803d3a6168cbedd523d1a888e7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: theme.createColorClasses(color, {
|
|
35
35
|
[mode]: true,
|
|
36
36
|
[`progress-bar-${type}`]: true,
|
|
37
37
|
'progress-paused': paused,
|
|
@@ -88,8 +88,10 @@ const Radio = class {
|
|
|
88
88
|
}
|
|
89
89
|
/** @internal */
|
|
90
90
|
async setFocus(ev) {
|
|
91
|
-
ev
|
|
92
|
-
|
|
91
|
+
if (ev !== undefined) {
|
|
92
|
+
ev.stopPropagation();
|
|
93
|
+
ev.preventDefault();
|
|
94
|
+
}
|
|
93
95
|
this.el.focus();
|
|
94
96
|
}
|
|
95
97
|
/** @internal */
|
|
@@ -123,7 +125,7 @@ const Radio = class {
|
|
|
123
125
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
124
126
|
const mode = ionicGlobal.getIonMode(this);
|
|
125
127
|
const inItem = theme.hostContext('ion-item', el);
|
|
126
|
-
return (index.h(index.Host, { key: '
|
|
128
|
+
return (index.h(index.Host, { key: '5a0adab55ad009305de4856fa1b9f93f2279a734', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
127
129
|
[mode]: true,
|
|
128
130
|
'in-item': inItem,
|
|
129
131
|
'radio-checked': checked,
|
|
@@ -134,10 +136,10 @@ const Radio = class {
|
|
|
134
136
|
// Focus and active styling should not apply when the radio is in an item
|
|
135
137
|
'ion-activatable': !inItem,
|
|
136
138
|
'ion-focusable': !inItem,
|
|
137
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '
|
|
139
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: 'f5673a798e6d87868339f046445f707e1d93b7b6', class: "radio-wrapper" }, index.h("div", { key: 'e9190c06f75a171cab63e3f74ccf771c3ed87005', class: {
|
|
138
140
|
'label-text-wrapper': true,
|
|
139
141
|
'label-text-wrapper-hidden': !hasLabel,
|
|
140
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
142
|
+
}, part: "label" }, index.h("slot", { key: '6cedf4e7b3bd03e4a635727dd7b6094bab64af64' })), index.h("div", { key: '26dd48d9d2848b7f100b732abdc4a3171adde483', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
141
143
|
}
|
|
142
144
|
get el() { return index.getElement(this); }
|
|
143
145
|
static get watchers() { return {
|
|
@@ -249,7 +251,9 @@ const RadioGroup = class {
|
|
|
249
251
|
this.ionChange.emit({ value, event });
|
|
250
252
|
}
|
|
251
253
|
onKeydown(ev) {
|
|
252
|
-
|
|
254
|
+
// We don't want the value to automatically change/emit when the radio group is part of a select interface
|
|
255
|
+
// as this will cause the interface to close when navigating through the radio group options
|
|
256
|
+
const inSelectInterface = !!this.el.closest('ion-select-popover') || !!this.el.closest('ion-select-modal');
|
|
253
257
|
if (ev.target && !this.el.contains(ev.target)) {
|
|
254
258
|
return;
|
|
255
259
|
}
|
|
@@ -273,7 +277,7 @@ const RadioGroup = class {
|
|
|
273
277
|
}
|
|
274
278
|
if (next && radios.includes(next)) {
|
|
275
279
|
next.setFocus(ev);
|
|
276
|
-
if (!
|
|
280
|
+
if (!inSelectInterface) {
|
|
277
281
|
this.value = next.value;
|
|
278
282
|
this.emitValueChange(ev);
|
|
279
283
|
}
|
|
@@ -302,7 +306,7 @@ const RadioGroup = class {
|
|
|
302
306
|
const { label, labelId, el, name, value } = this;
|
|
303
307
|
const mode = ionicGlobal.getIonMode(this);
|
|
304
308
|
helpers.renderHiddenInput(true, el, name, value, false);
|
|
305
|
-
return index.h(index.Host, { key: '
|
|
309
|
+
return index.h(index.Host, { key: '99f543b9caa8e2d30a80e7ea7ecf6b6fdacc76eb', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
|
|
306
310
|
}
|
|
307
311
|
get el() { return index.getElement(this); }
|
|
308
312
|
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: '05c699caaead7cc74deaae2a958c4632191473a8', 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: '959837bcc48c4bda33ae1f62b66ef444329a2961', class: "range-wrapper", id: "range-label" }, index.h("div", { key: 'a434c6b5c26f57f52b3af98d881e7e6a179c89fc', 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: '87df1037b6b3337bd1fab05d33a26bf658c57914', class: "native-wrapper" }, index.h("slot", { key: '2cb88f101da49b70aeae29b0bf5445fac241bb2f', name: "start" }), this.renderRangeSlider(), index.h("slot", { key: '17b835cfb2bd9b8e1957afd425543ff02b913d83', name: "end" })))));
|
|
623
623
|
}
|
|
624
624
|
get el() { return index.getElement(this); }
|
|
625
625
|
static get watchers() { return {
|