voyager-ionic-core 8.0.1 → 8.1.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/checkbox.js +3 -3
- package/components/index2.js +119 -1
- package/components/ion-accordion-group.js +2 -2
- package/components/ion-content.js +6 -4
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +17 -14
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +8 -4
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +10 -8
- 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/ios.transition.js +94 -67
- package/components/label.js +3 -3
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +3 -2
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +156 -4
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +6 -4
- 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 +2 -2
- package/components/spinner.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/palettes/dark.always.css +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/dist/cjs/{app-globals-542c4d91.js → app-globals-66b7dc06.js} +1 -1
- package/dist/cjs/{button-active-47528f4c.js → button-active-9135c809.js} +1 -1
- package/dist/cjs/{hardware-back-button-06ae4d9c.js → hardware-back-button-ed931127.js} +2 -2
- package/dist/cjs/index-8709af32.js +2234 -0
- package/dist/cjs/{index-c76a1d14.js → index-c0b7f8f4.js} +124 -6
- package/dist/cjs/{index-57b504ac.js → index-c54654c6.js} +2 -2
- package/dist/cjs/index.cjs.js +9 -9
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +20 -19
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +5 -5
- 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 +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +25 -22
- package/dist/cjs/ion-fab_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +9 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +15 -15
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
- package/dist/cjs/ion-modal.cjs.entry.js +13 -12
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +156 -6
- package/dist/cjs/ion-picker.cjs.entry.js +3 -3
- package/dist/cjs/ion-popover.cjs.entry.js +9 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-f3622afe.js → ionic-global-35b86a09.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-288dfa83.js → ios.transition-5ddf92f1.js} +98 -69
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-6e5f6a8d.js → md.transition-047c18c5.js} +4 -2
- package/dist/cjs/{overlays-32cfd236.js → overlays-cb04d075.js} +5 -3
- package/dist/cjs/{status-tap-c47ff5f5.js → status-tap-5b2775cd.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion-group/accordion-group.js +3 -3
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/content/content.js +23 -4
- package/dist/collection/components/content/test/content.spec.js +27 -0
- package/dist/collection/components/datetime/datetime.js +18 -15
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
- 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 +25 -5
- package/dist/collection/components/input/test/input.spec.js +13 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item/test/a11y/item.e2e.js +24 -4
- 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.ios.css +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/gestures/sheet.js +3 -2
- package/dist/collection/components/modal/modal.js +25 -6
- package/dist/collection/components/modal/test/basic/modal.spec.js +19 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.css +19 -0
- package/dist/collection/components/picker-column/picker-column.js +159 -4
- package/dist/collection/components/picker-column/test/picker-column.spec.js +83 -0
- 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 +23 -4
- package/dist/collection/components/popover/test/basic/popover.spec.js +19 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +4 -4
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +5 -5
- package/dist/collection/components/segment/segment.js +3 -3
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select/test/fill/select.e2e.js +25 -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/select-popover/select-popover.md.css +8 -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 +3 -3
- 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 +4 -4
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/focus-controller/index.js +112 -0
- package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +52 -0
- package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +52 -0
- package/dist/collection/utils/overlays.js +2 -1
- package/dist/collection/utils/transition/index.js +11 -1
- package/dist/collection/utils/transition/ios.transition.js +94 -67
- package/dist/docs.json +109 -14
- package/dist/esm/{app-globals-3cbaf9d9.js → app-globals-b99e6d29.js} +1 -1
- package/dist/esm/{button-active-9e3c1f3b.js → button-active-920addb8.js} +1 -1
- package/dist/esm/{hardware-back-button-804f43bb.js → hardware-back-button-2d9760b6.js} +2 -2
- package/dist/esm/{index-8dbae644.js → index-7ae7186a.js} +2 -2
- package/dist/esm/{index-f7fbe1fb.js → index-8e6b6a24.js} +122 -4
- package/dist/esm/index-9aab3bcf.js +2196 -0
- package/dist/esm/index.js +9 -9
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +20 -19
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +5 -5
- 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 +4 -4
- package/dist/esm/ion-datetime_3.entry.js +25 -22
- package/dist/esm/ion-fab_3.entry.js +8 -8
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +9 -6
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +15 -15
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +11 -11
- package/dist/esm/ion-modal.entry.js +13 -12
- package/dist/esm/ion-nav_2.entry.js +6 -5
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +156 -6
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +9 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +7 -7
- package/dist/esm/ion-select_3.entry.js +9 -9
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-d2d8f882.js → ionic-global-4528d288.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-a0041e41.js → ios.transition-e35d0940.js} +98 -69
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-0c0602d9.js → md.transition-4b90a1f0.js} +4 -2
- package/dist/esm/{overlays-696d25f5.js → overlays-df2c06b2.js} +5 -4
- package/dist/esm/{status-tap-37a74d1c.js → status-tap-12c27922.js} +1 -1
- package/dist/esm-es5/app-globals-b99e6d29.js +4 -0
- package/dist/esm-es5/{button-active-9e3c1f3b.js → button-active-920addb8.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-804f43bb.js → hardware-back-button-2d9760b6.js} +1 -1
- package/dist/esm-es5/{index-8dbae644.js → index-7ae7186a.js} +1 -1
- package/dist/esm-es5/index-8e6b6a24.js +4 -0
- package/dist/esm-es5/index-9aab3bcf.js +5 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-d2d8f882.js → ionic-global-4528d288.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-e35d0940.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-4b90a1f0.js +4 -0
- package/dist/esm-es5/{overlays-696d25f5.js → overlays-df2c06b2.js} +1 -1
- package/dist/esm-es5/{status-tap-37a74d1c.js → status-tap-12c27922.js} +1 -1
- package/dist/html.html-data.json +24 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-94731a92.system.entry.js → p-01a27023.system.entry.js} +1 -1
- package/dist/ionic/p-0395be73.entry.js +4 -0
- package/dist/ionic/p-03b86a5e.js +4 -0
- package/dist/ionic/{p-057b5866.entry.js → p-049d43bd.entry.js} +1 -1
- package/dist/ionic/p-0536574e.entry.js +4 -0
- package/dist/ionic/{p-e3005be4.system.entry.js → p-08ea3402.system.entry.js} +1 -1
- package/dist/ionic/{p-3f5b86b4.entry.js → p-09538818.entry.js} +1 -1
- package/dist/ionic/{p-470f73c4.entry.js → p-09b4e9ec.entry.js} +1 -1
- package/dist/ionic/{p-aa0ed22b.system.entry.js → p-0a6d801e.system.entry.js} +1 -1
- package/dist/ionic/{p-53a3b33c.system.entry.js → p-0b007acc.system.entry.js} +1 -1
- package/dist/ionic/{p-b76bcd9e.system.entry.js → p-10feef7e.system.entry.js} +1 -1
- package/dist/ionic/p-130299c9.entry.js +4 -0
- package/dist/ionic/p-15d1ddba.js +4 -0
- package/dist/ionic/{p-c3ca0292.system.entry.js → p-199f826f.system.entry.js} +1 -1
- package/dist/ionic/p-1b435d20.entry.js +4 -0
- package/dist/ionic/{p-c671b28e.js → p-1cc0b31f.js} +1 -1
- package/dist/ionic/{p-c4676693.entry.js → p-1eb63fa4.entry.js} +1 -1
- package/dist/ionic/{p-9b31ebfa.entry.js → p-207e11dc.entry.js} +1 -1
- package/dist/ionic/p-26bb6bb8.entry.js +4 -0
- package/dist/ionic/{p-5d3a8503.system.entry.js → p-279f3bac.system.entry.js} +1 -1
- package/dist/ionic/{p-e49099b0.entry.js → p-29de09dd.entry.js} +1 -1
- package/dist/ionic/{p-6730a2f1.entry.js → p-2c588aa2.entry.js} +1 -1
- package/dist/ionic/p-2ff0e0aa.system.js +4 -0
- package/dist/ionic/p-30baae57.system.js +4 -0
- package/dist/ionic/{p-806aad8f.system.js → p-31d27232.system.js} +1 -1
- package/dist/ionic/p-33e10509.system.js +4 -0
- package/dist/ionic/{p-a592f1b8.system.entry.js → p-380efbfa.system.entry.js} +1 -1
- package/dist/ionic/p-3c27be4a.entry.js +4 -0
- package/dist/ionic/p-3d015cdb.system.js +5 -0
- package/dist/ionic/{p-70181008.entry.js → p-3f53a0b1.entry.js} +1 -1
- package/dist/ionic/p-433157a4.entry.js +4 -0
- package/dist/ionic/{p-fc94e18f.entry.js → p-4824398b.entry.js} +1 -1
- package/dist/ionic/p-498eb648.system.entry.js +4 -0
- package/dist/ionic/{p-8caca06c.system.entry.js → p-4d8f408d.system.entry.js} +1 -1
- package/dist/ionic/{p-4c153abb.entry.js → p-5091f63c.entry.js} +1 -1
- package/dist/ionic/{p-42f00e72.system.entry.js → p-509620b8.system.entry.js} +1 -1
- package/dist/ionic/{p-d1a8f599.entry.js → p-5109a566.entry.js} +1 -1
- package/dist/ionic/{p-7f59064a.entry.js → p-52ce473d.entry.js} +1 -1
- package/dist/ionic/{p-33d926c3.entry.js → p-52f53904.entry.js} +1 -1
- package/dist/ionic/{p-4e548bd7.system.entry.js → p-55f99a39.system.entry.js} +1 -1
- package/dist/ionic/{p-1e4d7975.system.js → p-5734ac17.system.js} +1 -1
- package/dist/ionic/{p-2b1e669d.system.entry.js → p-57bc32e2.system.entry.js} +1 -1
- package/dist/ionic/{p-d11c336d.js → p-5cc6dcf5.js} +1 -1
- package/dist/ionic/p-5dc9f99a.entry.js +4 -0
- package/dist/ionic/p-5ec3bb70.system.entry.js +4 -0
- package/dist/ionic/{p-ebe0aa6d.entry.js → p-606f069c.entry.js} +1 -1
- package/dist/ionic/{p-93e43f42.system.entry.js → p-628967e3.system.entry.js} +1 -1
- package/dist/ionic/{p-5fbc2eae.system.entry.js → p-62e44e4a.system.entry.js} +1 -1
- package/dist/ionic/p-66ed603b.js +4 -0
- package/dist/ionic/{p-a801da4b.system.entry.js → p-670c9f57.system.entry.js} +1 -1
- package/dist/ionic/{p-fd392e7f.system.entry.js → p-6a2cf398.system.entry.js} +1 -1
- package/dist/ionic/{p-5a3a3373.entry.js → p-6c3666d5.entry.js} +1 -1
- package/dist/ionic/{p-1a5227b3.system.entry.js → p-6df12af0.system.entry.js} +1 -1
- package/dist/ionic/{p-bd6d9610.entry.js → p-6ec88301.entry.js} +1 -1
- package/dist/ionic/p-6f008ad2.js +4 -0
- package/dist/ionic/{p-2ab5db0d.system.entry.js → p-700567ab.system.entry.js} +1 -1
- package/dist/ionic/p-712d54ae.js +4 -0
- package/dist/ionic/{p-94180ecc.entry.js → p-7349de07.entry.js} +1 -1
- package/dist/ionic/p-7402fcdf.entry.js +4 -0
- package/dist/ionic/{p-5ff497dc.system.entry.js → p-77731f19.system.entry.js} +1 -1
- package/dist/ionic/{p-c07e7a5d.entry.js → p-78405458.entry.js} +1 -1
- package/dist/ionic/{p-748e6b2b.system.entry.js → p-7d6fd45f.system.entry.js} +1 -1
- package/dist/ionic/{p-720927ad.entry.js → p-7eb47906.entry.js} +1 -1
- package/dist/ionic/p-80265a58.entry.js +4 -0
- package/dist/ionic/{p-8627f783.system.entry.js → p-83d748f8.system.entry.js} +2 -2
- package/dist/ionic/p-842c9fca.system.js +4 -0
- package/dist/ionic/{p-c7e0b81a.entry.js → p-8a03fbee.entry.js} +1 -1
- package/dist/ionic/{p-576786c0.system.entry.js → p-8cb80f83.system.entry.js} +1 -1
- package/dist/ionic/{p-cdee3a44.system.entry.js → p-8d14ee8c.system.entry.js} +2 -2
- package/dist/ionic/p-90dfc454.system.entry.js +4 -0
- package/dist/ionic/{p-819e8479.system.entry.js → p-9213681c.system.entry.js} +1 -1
- package/dist/ionic/p-92d7e99d.system.js +4 -0
- package/dist/ionic/{p-d6229f05.system.entry.js → p-9664a1a2.system.entry.js} +1 -1
- package/dist/ionic/{p-b799a007.entry.js → p-9797f6eb.entry.js} +1 -1
- package/dist/ionic/{p-5d4d89e0.system.entry.js → p-9848d7be.system.entry.js} +1 -1
- package/dist/ionic/{p-9384565a.entry.js → p-98f6116f.entry.js} +1 -1
- package/dist/ionic/{p-c62571da.entry.js → p-99884813.entry.js} +1 -1
- package/dist/ionic/{p-48888af6.system.entry.js → p-99ca9787.system.entry.js} +1 -1
- package/dist/ionic/{p-45034312.system.entry.js → p-9bfd7cda.system.entry.js} +1 -1
- package/dist/ionic/p-9c6dcf78.system.entry.js +4 -0
- package/dist/ionic/{p-051d2d23.js → p-9da86308.js} +1 -1
- package/dist/ionic/{p-34511b1d.js → p-9ec42be0.js} +1 -1
- package/dist/ionic/{p-0d960144.system.entry.js → p-a2e94ade.system.entry.js} +1 -1
- package/dist/ionic/{p-1980c728.system.js → p-a39d3482.system.js} +1 -1
- package/dist/ionic/p-a488b7ab.system.js +4 -0
- package/dist/ionic/{p-5d80b741.entry.js → p-a4ab7449.entry.js} +1 -1
- package/dist/ionic/{p-2c3c7cb9.system.entry.js → p-a50f23bf.system.entry.js} +2 -2
- package/dist/ionic/{p-80f85095.system.entry.js → p-a76ab3ea.system.entry.js} +1 -1
- package/dist/ionic/{p-77ce6034.js → p-a953ef66.js} +1 -1
- package/dist/ionic/{p-08c4d048.entry.js → p-aaaaaea1.entry.js} +1 -1
- package/dist/ionic/{p-c23627c3.entry.js → p-b02eda30.entry.js} +1 -1
- package/dist/ionic/{p-49cdc4f2.entry.js → p-b04c27d8.entry.js} +1 -1
- package/dist/ionic/{p-0b12d1ee.system.entry.js → p-b07affd5.system.entry.js} +1 -1
- package/dist/ionic/{p-2f308f7f.system.entry.js → p-b28d3ccb.system.entry.js} +2 -2
- package/dist/ionic/{p-320cfcab.entry.js → p-b563b6ac.entry.js} +1 -1
- package/dist/ionic/p-b62ae60a.system.entry.js +4 -0
- package/dist/ionic/p-b9181033.system.entry.js +4 -0
- package/dist/ionic/{p-1930d8e7.entry.js → p-ba70039f.entry.js} +1 -1
- package/dist/ionic/{p-b571cab1.entry.js → p-bbbe869e.entry.js} +1 -1
- package/dist/ionic/{p-283fd4e1.system.entry.js → p-c41435e6.system.entry.js} +1 -1
- package/dist/ionic/p-cec8589b.system.js +4 -0
- package/dist/ionic/{p-bbbe3138.system.entry.js → p-d69b26d9.system.entry.js} +1 -1
- package/dist/ionic/p-d73a16e6.system.entry.js +4 -0
- package/dist/ionic/p-dba5cb84.js +5 -0
- package/dist/ionic/{p-63265e00.system.entry.js → p-dc0d9ff5.system.entry.js} +2 -2
- package/dist/ionic/{p-f5c42f72.entry.js → p-dc1e363a.entry.js} +1 -1
- package/dist/ionic/{p-c9ba1908.entry.js → p-df517d1f.entry.js} +1 -1
- package/dist/ionic/{p-2a3e98fb.system.entry.js → p-e0a8ffd0.system.entry.js} +1 -1
- package/dist/ionic/{p-e9ef13be.system.entry.js → p-e6e197f5.system.entry.js} +1 -1
- package/dist/ionic/{p-0af79ebd.entry.js → p-e6e88ab9.entry.js} +1 -1
- package/dist/ionic/{p-4e5288de.system.js → p-e81f22e3.system.js} +1 -1
- package/dist/ionic/{p-aa0f60b2.system.js → p-eb3023c9.system.js} +1 -1
- package/dist/ionic/p-ecbdbf25.system.entry.js +4 -0
- package/dist/ionic/{p-26d33af2.system.entry.js → p-ed5aebaa.system.entry.js} +1 -1
- package/dist/ionic/{p-23e440b6.entry.js → p-f357707e.entry.js} +1 -1
- package/dist/ionic/{p-e885f3c4.entry.js → p-f53bcebd.entry.js} +1 -1
- package/dist/ionic/p-f9baf25c.entry.js +4 -0
- package/dist/ionic/{p-ee3bbaf2.entry.js → p-fa8f2e62.entry.js} +1 -1
- package/dist/ionic/{p-6e9bd6ba.system.entry.js → p-fb21fd1c.system.entry.js} +1 -1
- package/dist/ionic/{p-bdd3053f.entry.js → p-fcecca8f.entry.js} +1 -1
- package/dist/types/components/accordion-group/accordion-group.d.ts +3 -4
- package/dist/types/components/checkbox/checkbox.d.ts +3 -4
- package/dist/types/components/content/content.d.ts +8 -0
- package/dist/types/components/datetime/datetime.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +6 -0
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +18 -0
- package/dist/types/components/picker-column/picker-column.d.ts +37 -0
- package/dist/types/components/popover/popover-interface.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +18 -0
- package/dist/types/components/radio-group/radio-group.d.ts +2 -0
- package/dist/types/components/range/range.d.ts +1 -1
- package/dist/types/components/searchbar/searchbar.d.ts +2 -0
- package/dist/types/components/segment/segment.d.ts +3 -2
- package/dist/types/components/select/select.d.ts +2 -0
- package/dist/types/components/textarea/textarea.d.ts +2 -0
- package/dist/types/components/toggle/toggle.d.ts +3 -2
- package/dist/types/components.d.ts +44 -12
- package/dist/types/utils/config.d.ts +9 -0
- package/dist/types/utils/focus-controller/index.d.ts +13 -0
- package/dist/types/utils/overlays.d.ts +1 -0
- package/hydrate/index.js +43566 -39256
- package/package.json +6 -6
- package/dist/cjs/index-1437d080.js +0 -11980
- package/dist/esm/index-5dc2b88e.js +0 -11942
- package/dist/esm-es5/app-globals-3cbaf9d9.js +0 -4
- package/dist/esm-es5/index-5dc2b88e.js +0 -18
- package/dist/esm-es5/index-f7fbe1fb.js +0 -4
- package/dist/esm-es5/ios.transition-a0041e41.js +0 -4
- package/dist/esm-es5/md.transition-0c0602d9.js +0 -4
- package/dist/ionic/p-06d5221c.js +0 -4
- package/dist/ionic/p-06fad524.system.js +0 -4
- package/dist/ionic/p-0d56dea9.entry.js +0 -4
- package/dist/ionic/p-13bfcef4.system.entry.js +0 -4
- package/dist/ionic/p-16016625.system.js +0 -4
- package/dist/ionic/p-20304962.js +0 -4
- package/dist/ionic/p-2dfdda15.system.entry.js +0 -4
- package/dist/ionic/p-2fa34b5c.entry.js +0 -4
- package/dist/ionic/p-32048e4c.system.js +0 -18
- package/dist/ionic/p-385964e6.entry.js +0 -4
- package/dist/ionic/p-4324e8a4.entry.js +0 -4
- package/dist/ionic/p-45664cb9.system.js +0 -4
- package/dist/ionic/p-4ad48ec9.system.entry.js +0 -4
- package/dist/ionic/p-4af0b730.js +0 -8
- package/dist/ionic/p-4fcef939.entry.js +0 -4
- package/dist/ionic/p-567a21a2.system.entry.js +0 -4
- package/dist/ionic/p-583f8865.system.entry.js +0 -4
- package/dist/ionic/p-58f89707.js +0 -4
- package/dist/ionic/p-7536b4b3.system.js +0 -4
- package/dist/ionic/p-7ef5bb32.entry.js +0 -4
- package/dist/ionic/p-8664c316.entry.js +0 -4
- package/dist/ionic/p-8c4fc85f.system.js +0 -4
- package/dist/ionic/p-8e031d97.entry.js +0 -4
- package/dist/ionic/p-8f48c966.system.entry.js +0 -4
- package/dist/ionic/p-adb896a0.entry.js +0 -4
- package/dist/ionic/p-b0093947.system.js +0 -4
- package/dist/ionic/p-cb4f96f3.system.js +0 -4
- package/dist/ionic/p-cc856712.entry.js +0 -4
- package/dist/ionic/p-cd1b9056.js +0 -4
- package/dist/ionic/p-d918e7ef.system.entry.js +0 -4
- package/dist/ionic/p-df062892.system.entry.js +0 -4
- package/dist/ionic/p-f0be340f.entry.js +0 -4
- package/dist/ionic/p-fdf40b09.js +0 -4
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
7
|
+
const index$1 = require('./index-8709af32.js');
|
|
8
|
+
const index = require('./index-5915f9b3.js');
|
|
7
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
8
10
|
|
|
9
11
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
@@ -12,12 +14,121 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
|
|
|
12
14
|
const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
|
|
13
15
|
const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Moves focus to a specified element. Note that we do not remove the tabindex
|
|
19
|
+
* because that can result in an unintentional blur. Non-focusables can't be
|
|
20
|
+
* focused, so the body will get focused again.
|
|
21
|
+
*/
|
|
22
|
+
const moveFocus = (el) => {
|
|
23
|
+
el.tabIndex = -1;
|
|
24
|
+
el.focus();
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Elements that are hidden using `display: none` should not be focused even if
|
|
28
|
+
* they are present in the DOM.
|
|
29
|
+
*/
|
|
30
|
+
const isVisible = (el) => {
|
|
31
|
+
return el.offsetParent !== null;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* The focus controller allows us to manage focus within a view so assistive
|
|
35
|
+
* technologies can inform users of changes to the navigation state. Traditional
|
|
36
|
+
* native apps have a way of informing assistive technology about a navigation
|
|
37
|
+
* state change. Mobile browsers have this too, but only when doing a full page
|
|
38
|
+
* load. In a single page app we do not do that, so we need to build this
|
|
39
|
+
* integration ourselves.
|
|
40
|
+
*/
|
|
41
|
+
const createFocusController = () => {
|
|
42
|
+
const saveViewFocus = (referenceEl) => {
|
|
43
|
+
const focusManagerEnabled = ionicGlobal.config.get('focusManagerPriority', false);
|
|
44
|
+
/**
|
|
45
|
+
* When going back to a previously visited page focus should typically be moved
|
|
46
|
+
* back to the element that was last focused when the user was on this view.
|
|
47
|
+
*/
|
|
48
|
+
if (focusManagerEnabled) {
|
|
49
|
+
const activeEl = document.activeElement;
|
|
50
|
+
if (activeEl !== null && (referenceEl === null || referenceEl === void 0 ? void 0 : referenceEl.contains(activeEl))) {
|
|
51
|
+
activeEl.setAttribute(LAST_FOCUS, 'true');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
const setViewFocus = (referenceEl) => {
|
|
56
|
+
const focusManagerPriorities = ionicGlobal.config.get('focusManagerPriority', false);
|
|
57
|
+
/**
|
|
58
|
+
* If the focused element is a descendant of the referenceEl then it's possible
|
|
59
|
+
* that the app developer manually moved focus, so we do not want to override that.
|
|
60
|
+
* This can happen with inputs the are focused when a view transitions in.
|
|
61
|
+
*/
|
|
62
|
+
if (Array.isArray(focusManagerPriorities) && !referenceEl.contains(document.activeElement)) {
|
|
63
|
+
/**
|
|
64
|
+
* When going back to a previously visited view focus should always be moved back
|
|
65
|
+
* to the element that the user was last focused on when they were on this view.
|
|
66
|
+
*/
|
|
67
|
+
const lastFocus = referenceEl.querySelector(`[${LAST_FOCUS}]`);
|
|
68
|
+
if (lastFocus && isVisible(lastFocus)) {
|
|
69
|
+
moveFocus(lastFocus);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
for (const priority of focusManagerPriorities) {
|
|
73
|
+
/**
|
|
74
|
+
* For each recognized case (excluding the default case) make sure to return
|
|
75
|
+
* so that the fallback focus behavior does not run.
|
|
76
|
+
*
|
|
77
|
+
* We intentionally query for specific roles/semantic elements so that the
|
|
78
|
+
* transition manager can work with both Ionic and non-Ionic UI components.
|
|
79
|
+
*
|
|
80
|
+
* If new selectors are added, be sure to remove the outline ring by adding
|
|
81
|
+
* new selectors to rule in core.scss.
|
|
82
|
+
*/
|
|
83
|
+
switch (priority) {
|
|
84
|
+
case 'content':
|
|
85
|
+
const content = referenceEl.querySelector('main, [role="main"]');
|
|
86
|
+
if (content && isVisible(content)) {
|
|
87
|
+
moveFocus(content);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
break;
|
|
91
|
+
case 'heading':
|
|
92
|
+
const headingOne = referenceEl.querySelector('h1, [role="heading"][aria-level="1"]');
|
|
93
|
+
if (headingOne && isVisible(headingOne)) {
|
|
94
|
+
moveFocus(headingOne);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
break;
|
|
98
|
+
case 'banner':
|
|
99
|
+
const header = referenceEl.querySelector('header, [role="banner"]');
|
|
100
|
+
if (header && isVisible(header)) {
|
|
101
|
+
moveFocus(header);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
index.printIonWarning(`Unrecognized focus manager priority value ${priority}`);
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* If there is nothing to focus then focus the page so focus at least moves to
|
|
112
|
+
* the correct view. The browser will then determine where within the page to
|
|
113
|
+
* move focus to.
|
|
114
|
+
*/
|
|
115
|
+
moveFocus(referenceEl);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
return {
|
|
119
|
+
saveViewFocus,
|
|
120
|
+
setViewFocus,
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
const LAST_FOCUS = 'ion-last-focus';
|
|
124
|
+
|
|
125
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-5ddf92f1.js'); });
|
|
126
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-047c18c5.js'); });
|
|
127
|
+
const focusController = createFocusController();
|
|
17
128
|
// TODO(FW-2832): types
|
|
18
129
|
const transition = (opts) => {
|
|
19
130
|
return new Promise((resolve, reject) => {
|
|
20
|
-
index.writeTask(() => {
|
|
131
|
+
index$1.writeTask(() => {
|
|
21
132
|
beforeTransition(opts);
|
|
22
133
|
runTransition(opts).then((result) => {
|
|
23
134
|
if (result.animation) {
|
|
@@ -35,6 +146,7 @@ const transition = (opts) => {
|
|
|
35
146
|
const beforeTransition = (opts) => {
|
|
36
147
|
const enteringEl = opts.enteringEl;
|
|
37
148
|
const leavingEl = opts.leavingEl;
|
|
149
|
+
focusController.saveViewFocus(leavingEl);
|
|
38
150
|
setZIndex(enteringEl, leavingEl, opts.direction);
|
|
39
151
|
if (opts.showGoBack) {
|
|
40
152
|
enteringEl.classList.add('can-go-back');
|
|
@@ -57,7 +169,7 @@ const beforeTransition = (opts) => {
|
|
|
57
169
|
};
|
|
58
170
|
const runTransition = async (opts) => {
|
|
59
171
|
const animationBuilder = await getAnimationBuilder(opts);
|
|
60
|
-
const ani = animationBuilder && index.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
|
|
172
|
+
const ani = animationBuilder && index$1.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
|
|
61
173
|
return ani;
|
|
62
174
|
};
|
|
63
175
|
const afterTransition = (opts) => {
|
|
@@ -69,6 +181,7 @@ const afterTransition = (opts) => {
|
|
|
69
181
|
leavingEl.classList.remove('ion-page-invisible');
|
|
70
182
|
leavingEl.style.removeProperty('pointer-events');
|
|
71
183
|
}
|
|
184
|
+
focusController.setViewFocus(enteringEl);
|
|
72
185
|
};
|
|
73
186
|
const getAnimationBuilder = async (opts) => {
|
|
74
187
|
if (!opts.leavingEl || !opts.animated || opts.duration === 0) {
|
|
@@ -101,7 +214,12 @@ const animation = async (animationBuilder, opts) => {
|
|
|
101
214
|
const noAnimation = async (opts) => {
|
|
102
215
|
const enteringEl = opts.enteringEl;
|
|
103
216
|
const leavingEl = opts.leavingEl;
|
|
104
|
-
|
|
217
|
+
const focusManagerEnabled = ionicGlobal.config.get('focusManagerPriority', false);
|
|
218
|
+
/**
|
|
219
|
+
* If the focus manager is enabled then we need to wait for Ionic components to be
|
|
220
|
+
* rendered otherwise the component to focus may not be focused because it is hidden.
|
|
221
|
+
*/
|
|
222
|
+
await waitForReady(opts, focusManagerEnabled);
|
|
105
223
|
fireWillEvents(enteringEl, leavingEl);
|
|
106
224
|
fireDidEvents(enteringEl, leavingEl);
|
|
107
225
|
return {
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index$1 = require('./index-c8d52405.js');
|
|
7
|
-
const hardwareBackButton = require('./hardware-back-button-
|
|
7
|
+
const hardwareBackButton = require('./hardware-back-button-ed931127.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
11
11
|
const animation = require('./animation-b4fdf128.js');
|
|
12
12
|
|
|
13
13
|
/**
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const animation = require('./animation-b4fdf128.js');
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const index = require('./index-c0b7f8f4.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-5ddf92f1.js');
|
|
11
|
+
const md_transition = require('./md.transition-047c18c5.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
15
15
|
const helpers = require('./helpers-afaa9001.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-c54654c6.js');
|
|
19
|
+
const overlays = require('./overlays-cb04d075.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
|
-
require('./index-
|
|
22
|
-
require('./gesture-controller-9436f482.js');
|
|
23
|
-
require('./hardware-back-button-06ae4d9c.js');
|
|
21
|
+
require('./index-8709af32.js');
|
|
24
22
|
require('./index-5915f9b3.js');
|
|
23
|
+
require('./gesture-controller-9436f482.js');
|
|
24
|
+
require('./hardware-back-button-ed931127.js');
|
|
25
25
|
require('./framework-delegate-55f5683a.js');
|
|
26
26
|
|
|
27
27
|
const IonicSlides = (opts) => {
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const index$1 = require('./index-073c7cdc.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
12
12
|
const index$2 = require('./index-5915f9b3.js');
|
|
13
13
|
|
|
14
14
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
@@ -526,12 +526,12 @@ const AccordionGroup = class {
|
|
|
526
526
|
render() {
|
|
527
527
|
const { disabled, readonly, expand } = this;
|
|
528
528
|
const mode = ionicGlobal.getIonMode(this);
|
|
529
|
-
return (index.h(index.Host, { key: '
|
|
529
|
+
return (index.h(index.Host, { key: '82f3e77066fabb4736638ee4c487ad56efd39c63', class: {
|
|
530
530
|
[mode]: true,
|
|
531
531
|
'accordion-group-disabled': disabled,
|
|
532
532
|
'accordion-group-readonly': readonly,
|
|
533
533
|
[`accordion-group-expand-${expand}`]: true,
|
|
534
|
-
}, role: "presentation" }, index.h("slot", { key: '
|
|
534
|
+
}, role: "presentation" }, index.h("slot", { key: 'a3c791ea887fc640b512f81d429be465ae902b3d' })));
|
|
535
535
|
}
|
|
536
536
|
get el() { return index.getElement(this); }
|
|
537
537
|
static get watchers() { return {
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const buttonActive = require('./button-active-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
|
+
const buttonActive = require('./button-active-9135c809.js');
|
|
10
10
|
const helpers = require('./helpers-afaa9001.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-cb04d075.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
15
15
|
const animation = require('./animation-b4fdf128.js');
|
|
16
16
|
require('./haptic-f6b37aa3.js');
|
|
17
17
|
require('./capacitor-c04564bf.js');
|
|
18
18
|
require('./index-c8d52405.js');
|
|
19
19
|
require('./index-ee07ed59.js');
|
|
20
20
|
require('./gesture-controller-9436f482.js');
|
|
21
|
-
require('./hardware-back-button-
|
|
21
|
+
require('./hardware-back-button-ed931127.js');
|
|
22
22
|
require('./framework-delegate-55f5683a.js');
|
|
23
23
|
require('./index-5915f9b3.js');
|
|
24
24
|
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const config = require('./config-4f60b98a.js');
|
|
10
|
-
const buttonActive = require('./button-active-
|
|
10
|
+
const buttonActive = require('./button-active-9135c809.js');
|
|
11
11
|
const helpers = require('./helpers-afaa9001.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-cb04d075.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
16
16
|
const animation = require('./animation-b4fdf128.js');
|
|
17
17
|
require('./haptic-f6b37aa3.js');
|
|
18
18
|
require('./capacitor-c04564bf.js');
|
|
19
19
|
require('./index-c8d52405.js');
|
|
20
20
|
require('./index-ee07ed59.js');
|
|
21
21
|
require('./gesture-controller-9436f482.js');
|
|
22
|
-
require('./hardware-back-button-
|
|
22
|
+
require('./hardware-back-button-ed931127.js');
|
|
23
23
|
require('./framework-delegate-55f5683a.js');
|
|
24
24
|
require('./index-5915f9b3.js');
|
|
25
25
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const hardwareBackButton = require('./hardware-back-button-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
|
+
const hardwareBackButton = require('./hardware-back-button-ed931127.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
12
12
|
const helpers = require('./helpers-afaa9001.js');
|
|
13
13
|
const dir = require('./dir-94c21456.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
@@ -17,7 +17,7 @@ const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
|
17
17
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
18
18
|
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
19
19
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
20
|
-
const index$3 = require('./index-
|
|
20
|
+
const index$3 = require('./index-c0b7f8f4.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./keyboard-0272231f.js');
|
|
23
23
|
require('./capacitor-c04564bf.js');
|
|
@@ -37,7 +37,7 @@ const App = class {
|
|
|
37
37
|
Promise.resolve().then(function () { return require('./index-9509ecad.js'); }).then((module) => module.startTapClick(ionicGlobal.config));
|
|
38
38
|
}
|
|
39
39
|
if (ionicGlobal.config.getBoolean('statusTap', isHybrid)) {
|
|
40
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
40
|
+
Promise.resolve().then(function () { return require('./status-tap-5b2775cd.js'); }).then((module) => module.startStatusTap());
|
|
41
41
|
}
|
|
42
42
|
if (ionicGlobal.config.getBoolean('inputShims', needInputShims())) {
|
|
43
43
|
/**
|
|
@@ -47,7 +47,7 @@ const App = class {
|
|
|
47
47
|
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
48
48
|
Promise.resolve().then(function () { return require('./input-shims-9e59ef62.js'); }).then((module) => module.startInputShims(ionicGlobal.config, platform));
|
|
49
49
|
}
|
|
50
|
-
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-
|
|
50
|
+
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-ed931127.js'); });
|
|
51
51
|
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shouldUseCloseWatcher();
|
|
52
52
|
if (ionicGlobal.config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
53
53
|
hardwareBackButtonModule.startHardwareBackButton();
|
|
@@ -188,6 +188,7 @@ const Content = class {
|
|
|
188
188
|
};
|
|
189
189
|
this.color = undefined;
|
|
190
190
|
this.fullscreen = false;
|
|
191
|
+
this.fixedSlotPlacement = 'after';
|
|
191
192
|
this.forceOverscroll = undefined;
|
|
192
193
|
this.scrollX = false;
|
|
193
194
|
this.scrollY = true;
|
|
@@ -469,13 +470,13 @@ const Content = class {
|
|
|
469
470
|
}
|
|
470
471
|
}
|
|
471
472
|
render() {
|
|
472
|
-
const { isMainContent, scrollX, scrollY, el } = this;
|
|
473
|
+
const { fixedSlotPlacement, isMainContent, scrollX, scrollY, el } = this;
|
|
473
474
|
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
474
475
|
const mode = ionicGlobal.getIonMode(this);
|
|
475
476
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
476
477
|
const transitionShadow = mode === 'ios';
|
|
477
478
|
this.resize();
|
|
478
|
-
return (index.h(index.Host, { key: '
|
|
479
|
+
return (index.h(index.Host, { key: 'f599a7da14969df38c20a6f650179d2a319fb58b', role: isMainContent ? 'main' : undefined, class: theme.createColorClasses(this.color, {
|
|
479
480
|
[mode]: true,
|
|
480
481
|
'content-sizing': theme.hostContext('ion-popover', this.el),
|
|
481
482
|
overscroll: forceOverscroll,
|
|
@@ -483,12 +484,12 @@ const Content = class {
|
|
|
483
484
|
}), style: {
|
|
484
485
|
'--offset-top': `${this.cTop}px`,
|
|
485
486
|
'--offset-bottom': `${this.cBottom}px`,
|
|
486
|
-
} }, index.h("div", { key: '
|
|
487
|
+
} }, index.h("div", { key: '7c545c3c95ea05abd036d0462936ac153d2a8fc6', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? index.h("slot", { name: "fixed" }) : null, index.h("div", { key: 'a67ab7438466c99f74b7ba59964802c3ba86ac5b', class: {
|
|
487
488
|
'inner-scroll': true,
|
|
488
489
|
'scroll-x': scrollX,
|
|
489
490
|
'scroll-y': scrollY,
|
|
490
491
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
491
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, index.h("slot", { key: '
|
|
492
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, index.h("slot", { key: '6d10fcac2e40b4dd6c20d91a8957ac07251d2fa7' })), transitionShadow ? (index.h("div", { class: "transition-effect" }, index.h("div", { class: "transition-cover" }), index.h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? index.h("slot", { name: "fixed" }) : null));
|
|
492
493
|
}
|
|
493
494
|
get el() { return index.getElement(this); }
|
|
494
495
|
};
|
|
@@ -656,7 +657,7 @@ const Footer = class {
|
|
|
656
657
|
const mode = ionicGlobal.getIonMode(this);
|
|
657
658
|
const tabs = this.el.closest('ion-tabs');
|
|
658
659
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
659
|
-
return (index.h(index.Host, { key: '
|
|
660
|
+
return (index.h(index.Host, { key: '5da19dc38ba73e1ddfd1bef3ebd485105d77c751', role: "contentinfo", class: {
|
|
660
661
|
[mode]: true,
|
|
661
662
|
// Used internally for styling
|
|
662
663
|
[`footer-${mode}`]: true,
|
|
@@ -664,7 +665,7 @@ const Footer = class {
|
|
|
664
665
|
[`footer-translucent-${mode}`]: translucent,
|
|
665
666
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
666
667
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
667
|
-
} }, mode === 'ios' && translucent && index.h("div", { key: '
|
|
668
|
+
} }, mode === 'ios' && translucent && index.h("div", { key: 'fafad08090a33d8c4e8a5b63d61929dcb89aab47', class: "footer-background" }), index.h("slot", { key: 'e0a443d346afa55e4317c0bc1263fdbe3c619559' })));
|
|
668
669
|
}
|
|
669
670
|
get el() { return index.getElement(this); }
|
|
670
671
|
};
|
|
@@ -986,14 +987,14 @@ const Header = class {
|
|
|
986
987
|
const collapse = this.collapse || 'none';
|
|
987
988
|
// banner role must be at top level, so remove role if inside a menu
|
|
988
989
|
const roleType = theme.hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
989
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
990
|
+
return (index.h(index.Host, Object.assign({ key: 'c687314ef290793a9d633ad20cfc5eeb47621e31', role: roleType, class: {
|
|
990
991
|
[mode]: true,
|
|
991
992
|
// Used internally for styling
|
|
992
993
|
[`header-${mode}`]: true,
|
|
993
994
|
[`header-translucent`]: this.translucent,
|
|
994
995
|
[`header-collapse-${collapse}`]: true,
|
|
995
996
|
[`header-translucent-${mode}`]: this.translucent,
|
|
996
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && index.h("div", { key: '
|
|
997
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && index.h("div", { key: 'b429996046082405a91e7c23f95516db0b736f12', class: "header-background" }), index.h("slot", { key: 'e17a8965f8d3a33c1bfcb056c153d8242e5229fa' })));
|
|
997
998
|
}
|
|
998
999
|
get el() { return index.getElement(this); }
|
|
999
1000
|
};
|
|
@@ -1178,7 +1179,7 @@ const RouterOutlet = class {
|
|
|
1178
1179
|
return true;
|
|
1179
1180
|
}
|
|
1180
1181
|
render() {
|
|
1181
|
-
return index.h("slot", { key: '
|
|
1182
|
+
return index.h("slot", { key: 'dac9120f5ffa628b16c04e5fdd44ea8e560c97e6' });
|
|
1182
1183
|
}
|
|
1183
1184
|
get el() { return index.getElement(this); }
|
|
1184
1185
|
static get watchers() { return {
|
|
@@ -1218,11 +1219,11 @@ const ToolbarTitle = class {
|
|
|
1218
1219
|
render() {
|
|
1219
1220
|
const mode = ionicGlobal.getIonMode(this);
|
|
1220
1221
|
const size = this.getSize();
|
|
1221
|
-
return (index.h(index.Host, { key: '
|
|
1222
|
+
return (index.h(index.Host, { key: '5a58dc437a6f4257244bbdd7e9a682a17d8c9a6b', class: theme.createColorClasses(this.color, {
|
|
1222
1223
|
[mode]: true,
|
|
1223
1224
|
[`title-${size}`]: true,
|
|
1224
1225
|
'title-rtl': document.dir === 'rtl',
|
|
1225
|
-
}) }, index.h("div", { key: '
|
|
1226
|
+
}) }, index.h("div", { key: '58682ea7b8f47a08adfad419b5c76b34784c6501', class: "toolbar-title" }, index.h("slot", { key: '8a9248534e4c3076f5e2dfda38ef86069796851c' }))));
|
|
1226
1227
|
}
|
|
1227
1228
|
get el() { return index.getElement(this); }
|
|
1228
1229
|
static get watchers() { return {
|
|
@@ -1290,10 +1291,10 @@ const Toolbar = class {
|
|
|
1290
1291
|
this.childrenStyles.forEach((value) => {
|
|
1291
1292
|
Object.assign(childStyles, value);
|
|
1292
1293
|
});
|
|
1293
|
-
return (index.h(index.Host, { key: '
|
|
1294
|
+
return (index.h(index.Host, { key: '4bb3a55001408a3bdf033af76b9196cb96c07c09', class: Object.assign(Object.assign({}, childStyles), theme.createColorClasses(this.color, {
|
|
1294
1295
|
[mode]: true,
|
|
1295
1296
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1296
|
-
})) }, index.h("div", { key: '
|
|
1297
|
+
})) }, index.h("div", { key: '0891db157d6e028c6d03696f13fb510ea91b0296', class: "toolbar-background" }), index.h("div", { key: '95fbc870d808f74af4bb18cd8f8ec8c7828a9e0b', class: "toolbar-container" }, index.h("slot", { key: '84d4a9644660fe00ca085055ca8d12f3647531ad', name: "start" }), index.h("slot", { key: 'fd361dc9c9979f59aed2fedcf94629506fae62b0', name: "secondary" }), index.h("div", { key: '54d2b28616a4627c55766f66dc453707752758a6', class: "toolbar-content" }, index.h("slot", { key: '8f65e0830cce7135640b90eb694e282cb7e5efd2' })), index.h("slot", { key: 'c78be11a207c8674f222543646398636956087e6', name: "primary" }), index.h("slot", { key: 'ab25e1601ccaa8cb0d81921b849bcb7402aa7826', name: "end" }))));
|
|
1297
1298
|
}
|
|
1298
1299
|
get el() { return index.getElement(this); }
|
|
1299
1300
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
|
|
12
12
|
const avatarIosCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";
|
|
@@ -59,7 +59,7 @@ const Thumbnail = class {
|
|
|
59
59
|
index.registerInstance(this, hostRef);
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: 'ea55000055f941b0c79561e8934be6242ec8e114', class: ionicGlobal.getIonMode(this) }, index.h("slot", { key: 'a4f934f442797f5c66a77e0ef8920fdd07c204f2' })));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
Thumbnail.style = IonThumbnailStyle0;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-073c7cdc.js');
|
|
12
|
-
const ionicGlobal = require('./ionic-global-
|
|
12
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
13
13
|
|
|
14
14
|
const backButtonIosCss = ":host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}";
|
|
15
15
|
const IonBackButtonIosStyle0 = backButtonIosCss;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
10
10
|
|
|
11
11
|
const backdropIosCss = ":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}";
|
|
12
12
|
const IonBackdropIosStyle0 = backdropIosCss;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-073c7cdc.js');
|
|
12
|
-
const ionicGlobal = require('./ionic-global-
|
|
12
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
13
13
|
|
|
14
14
|
const breadcrumbIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #2d4665));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}";
|
|
15
15
|
const IonBreadcrumbIosStyle0 = breadcrumbIosCss;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
|
-
const ionicGlobal = require('./ionic-global-
|
|
12
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
13
13
|
|
|
14
14
|
let CACHED_MAP;
|
|
15
15
|
const getIconMap = () => {
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
12
12
|
|
|
13
13
|
const cardIosCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}";
|
|
14
14
|
const IonCardIosStyle0 = cardIosCss;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8709af32.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
+
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
12
12
|
|
|
13
13
|
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
|
|
14
14
|
const IonCheckboxIosStyle0 = checkboxIosCss;
|
|
@@ -78,7 +78,7 @@ const Checkbox = class {
|
|
|
78
78
|
const mode = ionicGlobal.getIonMode(this);
|
|
79
79
|
const path = getSVGPath(mode, indeterminate);
|
|
80
80
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
81
|
+
return (index.h(index.Host, { key: '0ac95890562c7f035704c40959c69f8c8ca4bc9f', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: theme.createColorClasses(color, {
|
|
82
82
|
[mode]: true,
|
|
83
83
|
'in-item': theme.hostContext('ion-item', el),
|
|
84
84
|
'checkbox-checked': checked,
|
|
@@ -88,10 +88,10 @@ const Checkbox = class {
|
|
|
88
88
|
[`checkbox-justify-${justify}`]: true,
|
|
89
89
|
[`checkbox-alignment-${alignment}`]: true,
|
|
90
90
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
91
|
-
}), onClick: this.onClick }, index.h("label", { key: '
|
|
91
|
+
}), onClick: this.onClick }, index.h("label", { key: '3f9f7c8383dded8f7997086b25399d052df76b5c', class: "checkbox-wrapper" }, index.h("input", Object.assign({ key: '6fb11d06c424c289357d5d7c1a4d1b967be231d0', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), index.h("div", { key: 'f577a272e5e3f9f1852fc95e40466c80b76309c7', class: {
|
|
92
92
|
'label-text-wrapper': true,
|
|
93
93
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
94
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
94
|
+
}, part: "label" }, index.h("slot", { key: '7c9b0b4513e797a1acdf55a5f286563e5f397e9c' })), index.h("div", { key: 'e47c50a078b8d761ddc5efcb9a9635281b5818f6', class: "native-wrapper" }, index.h("svg", { key: '4dca47179ae15e9094e01c799ef4ed25fbb0d840', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
95
95
|
}
|
|
96
96
|
getSVGPath(mode, indeterminate) {
|
|
97
97
|
let path = indeterminate ? (index.h("path", { d: "M6 12L18 12", part: "mark" })) : (index.h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|