@ionic/core 8.0.2 → 8.1.1-dev.11714676345.1df5b5f8
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/index2.js +119 -1
- package/components/ion-content.js +6 -4
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +15 -13
- 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 +10 -9
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +8 -5
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +3 -2
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +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 +1 -1
- package/components/spinner.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{index-6047957b.js → index-c0b7f8f4.js} +124 -6
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +15 -14
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +20 -18
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +7 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +10 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +154 -4
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +6 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment_2.cjs.entry.js +13 -12
- package/dist/cjs/ion-select_3.cjs.entry.js +11 -8
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-59b0e1d9.js → ios.transition-5ddf92f1.js} +3 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-0cc7c831.js → md.transition-047c18c5.js} +3 -1
- package/dist/cjs/{overlays-2feabb85.js → overlays-cb04d075.js} +3 -1
- 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 +15 -13
- 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 +24 -4
- package/dist/collection/components/input/test/input.spec.js +13 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/gestures/sheet.js +3 -2
- package/dist/collection/components/modal/modal.js +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 +158 -3
- 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 +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +10 -9
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +8 -5
- 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/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/docs.json +96 -1
- package/dist/esm/{index-f4460246.js → index-8e6b6a24.js} +121 -3
- package/dist/esm/index.js +5 -5
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +15 -14
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +20 -18
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +7 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +10 -9
- package/dist/esm/ion-nav_2.entry.js +4 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +154 -4
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +6 -5
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment_2.entry.js +13 -12
- package/dist/esm/ion-select_3.entry.js +11 -8
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-72f59adb.js → ios.transition-e35d0940.js} +3 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-ef0437fe.js → md.transition-4b90a1f0.js} +3 -1
- package/dist/esm/{overlays-56045efc.js → overlays-df2c06b2.js} +3 -2
- package/dist/esm-es5/index-8e6b6a24.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/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-56045efc.js → overlays-df2c06b2.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/{p-e58a04ae.system.entry.js → p-01a27023.system.entry.js} +1 -1
- package/dist/ionic/p-0395be73.entry.js +4 -0
- package/dist/ionic/p-049d43bd.entry.js +4 -0
- package/dist/ionic/p-0536574e.entry.js +4 -0
- package/dist/ionic/{p-4f17f03d.entry.js → p-09538818.entry.js} +1 -1
- package/dist/ionic/p-0978924b.system.entry.js +4 -0
- package/dist/ionic/{p-9c5b6727.entry.js → p-09b4e9ec.entry.js} +1 -1
- package/dist/ionic/{p-22ef5198.system.entry.js → p-0a6d801e.system.entry.js} +1 -1
- package/dist/ionic/{p-dc242acb.system.entry.js → p-0b007acc.system.entry.js} +1 -1
- package/dist/ionic/{p-100d079f.system.entry.js → p-10feef7e.system.entry.js} +1 -1
- package/dist/ionic/p-15d1ddba.js +4 -0
- package/dist/ionic/{p-2bd9b326.system.entry.js → p-199f826f.system.entry.js} +1 -1
- package/dist/ionic/p-1b435d20.entry.js +4 -0
- package/dist/ionic/{p-7cf7ef9f.entry.js → p-1eb63fa4.entry.js} +1 -1
- package/dist/ionic/{p-672b53f3.entry.js → p-207e11dc.entry.js} +1 -1
- package/dist/ionic/{p-7f512c4d.system.entry.js → p-23fa696f.system.entry.js} +1 -1
- package/dist/ionic/{p-32df9442.entry.js → p-29de09dd.entry.js} +1 -1
- package/dist/ionic/p-30baae57.system.js +1 -1
- package/dist/ionic/p-33e10509.system.js +4 -0
- package/dist/ionic/{p-eed23392.system.entry.js → p-380efbfa.system.entry.js} +1 -1
- package/dist/ionic/p-3c27be4a.entry.js +4 -0
- package/dist/ionic/{p-022bc8ff.entry.js → p-3f53a0b1.entry.js} +1 -1
- package/dist/ionic/{p-0ae12601.entry.js → p-433157a4.entry.js} +1 -1
- package/dist/ionic/p-498eb648.system.entry.js +4 -0
- package/dist/ionic/{p-eaac2522.system.entry.js → p-4d8f408d.system.entry.js} +1 -1
- package/dist/ionic/{p-44edbb29.system.entry.js → p-509620b8.system.entry.js} +1 -1
- package/dist/ionic/{p-797fc793.entry.js → p-5109a566.entry.js} +1 -1
- package/dist/ionic/{p-af6c2b39.entry.js → p-52ce473d.entry.js} +1 -1
- package/dist/ionic/{p-4ba654fa.system.entry.js → p-57bc32e2.system.entry.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-0300cf19.system.entry.js → p-62e44e4a.system.entry.js} +1 -1
- package/dist/ionic/p-66ed603b.js +4 -0
- package/dist/ionic/p-68bb9870.system.entry.js +4 -0
- package/dist/ionic/{p-2912d62c.system.entry.js → p-6a2cf398.system.entry.js} +1 -1
- package/dist/ionic/{p-5d723a0a.entry.js → p-6ec88301.entry.js} +1 -1
- package/dist/ionic/p-6f008ad2.js +4 -0
- package/dist/ionic/{p-86a7576c.system.entry.js → p-700567ab.system.entry.js} +1 -1
- package/dist/ionic/p-712d54ae.js +4 -0
- package/dist/ionic/{p-508d5d0d.entry.js → p-7349de07.entry.js} +1 -1
- package/dist/ionic/{p-3098a7cb.entry.js → p-78405458.entry.js} +1 -1
- package/dist/ionic/{p-637e85a2.entry.js → p-80265a58.entry.js} +1 -1
- package/dist/ionic/{p-f8b4ac1f.system.entry.js → p-83d748f8.system.entry.js} +2 -2
- package/dist/ionic/{p-3b974a28.entry.js → p-8a03fbee.entry.js} +1 -1
- package/dist/ionic/{p-a23a7b64.system.entry.js → p-8cb80f83.system.entry.js} +1 -1
- package/dist/ionic/{p-bae97f84.system.entry.js → p-8d14ee8c.system.entry.js} +2 -2
- package/dist/ionic/{p-61d8c43c.system.entry.js → p-9213681c.system.entry.js} +1 -1
- package/dist/ionic/p-92d7e99d.system.js +4 -0
- package/dist/ionic/{p-e1f7425b.system.entry.js → p-9664a1a2.system.entry.js} +1 -1
- package/dist/ionic/{p-762156c0.entry.js → p-9797f6eb.entry.js} +1 -1
- package/dist/ionic/{p-dba28cb1.system.entry.js → p-9848d7be.system.entry.js} +1 -1
- package/dist/ionic/{p-5b183a1c.entry.js → p-99884813.entry.js} +1 -1
- package/dist/ionic/{p-a87cdd33.system.entry.js → p-99ca9787.system.entry.js} +1 -1
- package/dist/ionic/{p-a51b22fb.system.entry.js → p-9bfd7cda.system.entry.js} +1 -1
- package/dist/ionic/p-9c6dcf78.system.entry.js +4 -0
- package/dist/ionic/{p-1ae3a136.system.entry.js → p-a2e94ade.system.entry.js} +1 -1
- package/dist/ionic/p-a488b7ab.system.js +4 -0
- package/dist/ionic/{p-18470679.entry.js → p-a4ab7449.entry.js} +1 -1
- package/dist/ionic/{p-5d26afde.system.entry.js → p-a50f23bf.system.entry.js} +2 -2
- package/dist/ionic/p-a6a8b478.system.entry.js +4 -0
- package/dist/ionic/{p-3a3d5a1a.entry.js → p-aaaaaea1.entry.js} +1 -1
- package/dist/ionic/{p-cfbf4588.entry.js → p-b02eda30.entry.js} +1 -1
- package/dist/ionic/{p-8162bcf4.entry.js → p-b04c27d8.entry.js} +1 -1
- package/dist/ionic/{p-a822c02f.system.entry.js → p-b07affd5.system.entry.js} +1 -1
- package/dist/ionic/{p-15daa308.system.entry.js → p-b28d3ccb.system.entry.js} +2 -2
- package/dist/ionic/{p-3fefc7cd.entry.js → p-b563b6ac.entry.js} +1 -1
- package/dist/ionic/{p-27206537.system.entry.js → p-b9181033.system.entry.js} +1 -1
- package/dist/ionic/{p-6143e16a.entry.js → p-ba70039f.entry.js} +1 -1
- package/dist/ionic/{p-74806c03.entry.js → p-bbbe869e.entry.js} +1 -1
- package/dist/ionic/p-bd1173d3.entry.js +4 -0
- package/dist/ionic/p-c0e9ba51.entry.js +4 -0
- package/dist/ionic/p-c5dd0892.system.entry.js +4 -0
- package/dist/ionic/p-cec8589b.system.js +4 -0
- package/dist/ionic/{p-939dbcc6.system.entry.js → p-d69b26d9.system.entry.js} +1 -1
- package/dist/ionic/p-d9f3d68a.entry.js +4 -0
- package/dist/ionic/{p-fb088c7d.system.entry.js → p-dc0d9ff5.system.entry.js} +2 -2
- package/dist/ionic/{p-53c46dd1.entry.js → p-dc1e363a.entry.js} +1 -1
- package/dist/ionic/{p-4c103f8d.system.entry.js → p-e0a8ffd0.system.entry.js} +1 -1
- package/dist/ionic/{p-091697a4.system.entry.js → p-e6e197f5.system.entry.js} +1 -1
- package/dist/ionic/{p-2d641da7.entry.js → p-e6e88ab9.entry.js} +1 -1
- package/dist/ionic/{p-f14daa66.system.js → p-eb3023c9.system.js} +1 -1
- package/dist/ionic/p-ecbdbf25.system.entry.js +4 -0
- package/dist/ionic/{p-3dd57c9c.system.entry.js → p-ed5aebaa.system.entry.js} +1 -1
- package/dist/ionic/p-f0e81ddb.entry.js +4 -0
- package/dist/ionic/{p-d979153a.entry.js → p-f357707e.entry.js} +1 -1
- package/dist/ionic/{p-430a7e95.entry.js → p-f53bcebd.entry.js} +1 -1
- package/dist/ionic/p-f9baf25c.entry.js +4 -0
- package/dist/ionic/{p-05a8a97d.system.entry.js → p-fb21fd1c.system.entry.js} +1 -1
- package/dist/ionic/{p-23610251.entry.js → p-fcecca8f.entry.js} +1 -1
- package/dist/ionic/p-ffbf54f0.entry.js +4 -0
- package/dist/types/components/content/content.d.ts +8 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +18 -0
- package/dist/types/components/picker-column/picker-column.d.ts +35 -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/segment/segment.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +2 -1
- package/dist/types/components.d.ts +32 -0
- 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 +440 -156
- package/package.json +1 -1
- package/dist/esm-es5/index-f4460246.js +0 -4
- package/dist/esm-es5/ios.transition-72f59adb.js +0 -4
- package/dist/esm-es5/md.transition-ef0437fe.js +0 -4
- package/dist/ionic/p-00d9d02d.js +0 -4
- package/dist/ionic/p-0df52fbc.entry.js +0 -4
- package/dist/ionic/p-16b35bc9.system.entry.js +0 -4
- package/dist/ionic/p-19d50867.system.entry.js +0 -4
- package/dist/ionic/p-307c6b05.entry.js +0 -4
- package/dist/ionic/p-3b185894.system.js +0 -4
- package/dist/ionic/p-3bece4aa.entry.js +0 -4
- package/dist/ionic/p-3ce83c9b.entry.js +0 -4
- package/dist/ionic/p-439b8b3c.system.entry.js +0 -4
- package/dist/ionic/p-47212f88.system.entry.js +0 -4
- package/dist/ionic/p-657157d7.entry.js +0 -4
- package/dist/ionic/p-6636ef29.js +0 -4
- package/dist/ionic/p-6a5fe8b0.js +0 -4
- package/dist/ionic/p-6c64aef2.entry.js +0 -4
- package/dist/ionic/p-7f189103.system.entry.js +0 -4
- package/dist/ionic/p-99c42ae3.entry.js +0 -4
- package/dist/ionic/p-aa71aee7.js +0 -4
- package/dist/ionic/p-b4a034c8.system.js +0 -4
- package/dist/ionic/p-b6d4e78d.system.entry.js +0 -4
- package/dist/ionic/p-b9c741b6.entry.js +0 -4
- package/dist/ionic/p-cab332d1.system.js +0 -4
- package/dist/ionic/p-cac9bd5d.entry.js +0 -4
- package/dist/ionic/p-cc3fc234.entry.js +0 -4
- package/dist/ionic/p-d0d2827d.system.entry.js +0 -4
- package/dist/ionic/p-d78ce4cc.system.entry.js +0 -4
- package/dist/ionic/p-e95ac94c.entry.js +0 -4
- package/dist/ionic/p-f2026596.system.js +0 -4
- package/dist/ionic/p-f350f4c2.entry.js +0 -4
|
@@ -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;
|
|
@@ -157,10 +157,10 @@ const Grid = class {
|
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
159
|
const mode = ionicGlobal.getIonMode(this);
|
|
160
|
-
return (index.h(index.Host, { key: '
|
|
160
|
+
return (index.h(index.Host, { key: '930ce78b02f8360fbca08a35d364d2c09128c6c8', class: {
|
|
161
161
|
[mode]: true,
|
|
162
162
|
'grid-fixed': this.fixed,
|
|
163
|
-
} }, index.h("slot", { key: '
|
|
163
|
+
} }, index.h("slot", { key: 'c47bf7ef2197f5ebc42d3e2c55044276fb0db393' })));
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
166
|
Grid.style = IonGridStyle0;
|
|
@@ -173,7 +173,7 @@ const Row = class {
|
|
|
173
173
|
index.registerInstance(this, hostRef);
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (index.h(index.Host, { key: '
|
|
176
|
+
return (index.h(index.Host, { key: '813c9a7f6782d2cf8eb27f30d3ab28e6f3122868', class: ionicGlobal.getIonMode(this) }, index.h("slot", { key: '356bec4d4d408ea63d6b431b06465d5b7bcbff71' })));
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
Row.style = IonRowStyle0;
|
|
@@ -338,11 +338,11 @@ const DatetimeButton = class {
|
|
|
338
338
|
render() {
|
|
339
339
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
340
340
|
const mode = ionicGlobal.getIonMode(this);
|
|
341
|
-
return (index.h(index.Host, { key: '
|
|
341
|
+
return (index.h(index.Host, { key: '0be955404133adbb31ae16a6599014bb29765f19', class: theme.createColorClasses(color, {
|
|
342
342
|
[mode]: true,
|
|
343
343
|
[`${selectedButton}-active`]: datetimeActive,
|
|
344
344
|
['datetime-button-disabled']: disabled,
|
|
345
|
-
}) }, dateText && (index.h("button", { key: '
|
|
345
|
+
}) }, dateText && (index.h("button", { key: '812dcb50b17768cc13a5cfa0bcce8b113cee0f09', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, index.h("slot", { key: '46930c740a32a78502df9e651f9bd5914d6a9fea', name: "date-target" }, dateText), mode === 'md' && index.h("ion-ripple-effect", { key: '0602999cc8435dc37aa22da7f5531bc8cb71e1b4' }))), timeText && (index.h("button", { key: 'ecdd21da5181ecbdce03209f9f6673b7dcbc1f78', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, index.h("slot", { key: 'b5b093b5166d12d11e27360788edaac916d44390', name: "time-target" }, timeText), mode === 'md' && index.h("ion-ripple-effect", { key: '70bb3a04f4748d13233eeb257503968dbd1161a9' })))));
|
|
346
346
|
}
|
|
347
347
|
get el() { return index.getElement(this); }
|
|
348
348
|
};
|
|
@@ -15,7 +15,7 @@ const index$2 = require('./index-073c7cdc.js');
|
|
|
15
15
|
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
16
16
|
const data = require('./data-21dc0f81.js');
|
|
17
17
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-cb04d075.js');
|
|
19
19
|
const animation = require('./animation-b4fdf128.js');
|
|
20
20
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
@@ -291,10 +291,10 @@ const Datetime = class {
|
|
|
291
291
|
const { activeParts } = this;
|
|
292
292
|
return Array.isArray(activeParts) ? activeParts[0] : activeParts;
|
|
293
293
|
};
|
|
294
|
-
this.closeParentOverlay = () => {
|
|
294
|
+
this.closeParentOverlay = (role) => {
|
|
295
295
|
const popoverOrModal = this.el.closest('ion-modal, ion-popover');
|
|
296
296
|
if (popoverOrModal) {
|
|
297
|
-
popoverOrModal.dismiss();
|
|
297
|
+
popoverOrModal.dismiss(undefined, role);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
this.setWorkingParts = (parts) => {
|
|
@@ -965,7 +965,7 @@ const Datetime = class {
|
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
if (closeOverlay) {
|
|
968
|
-
this.closeParentOverlay();
|
|
968
|
+
this.closeParentOverlay(CONFIRM_ROLE);
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
971
|
/**
|
|
@@ -985,7 +985,7 @@ const Datetime = class {
|
|
|
985
985
|
async cancel(closeOverlay = false) {
|
|
986
986
|
this.ionCancel.emit();
|
|
987
987
|
if (closeOverlay) {
|
|
988
|
-
this.closeParentOverlay();
|
|
988
|
+
this.closeParentOverlay(CANCEL_ROLE);
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
get isCalendarPicker() {
|
|
@@ -1297,7 +1297,7 @@ const Datetime = class {
|
|
|
1297
1297
|
const todayString = workingParts.day !== null
|
|
1298
1298
|
? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
|
|
1299
1299
|
: `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
|
|
1300
|
-
return (index$1.h("ion-picker-column", { class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1300
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1301
1301
|
const { value } = ev.detail;
|
|
1302
1302
|
const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
|
|
1303
1303
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
|
|
@@ -1372,7 +1372,7 @@ const Datetime = class {
|
|
|
1372
1372
|
const { disabled, workingParts } = this;
|
|
1373
1373
|
const activePart = this.getActivePartsWithFallback();
|
|
1374
1374
|
const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
|
|
1375
|
-
return (index$1.h("ion-picker-column", { class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1375
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1376
1376
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
|
|
1377
1377
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
|
|
1378
1378
|
ev.stopPropagation();
|
|
@@ -1384,7 +1384,7 @@ const Datetime = class {
|
|
|
1384
1384
|
}
|
|
1385
1385
|
const { disabled, workingParts } = this;
|
|
1386
1386
|
const activePart = this.getActivePartsWithFallback();
|
|
1387
|
-
return (index$1.h("ion-picker-column", { class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1387
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1388
1388
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
|
|
1389
1389
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
|
|
1390
1390
|
ev.stopPropagation();
|
|
@@ -1396,7 +1396,7 @@ const Datetime = class {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
const { disabled, workingParts } = this;
|
|
1398
1398
|
const activePart = this.getActivePartsWithFallback();
|
|
1399
|
-
return (index$1.h("ion-picker-column", { class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1399
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1400
1400
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
|
|
1401
1401
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
|
|
1402
1402
|
ev.stopPropagation();
|
|
@@ -1429,7 +1429,7 @@ const Datetime = class {
|
|
|
1429
1429
|
if (hoursData.length === 0)
|
|
1430
1430
|
return [];
|
|
1431
1431
|
const activePart = this.getActivePartsWithFallback();
|
|
1432
|
-
return (index$1.h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1432
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1433
1433
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1434
1434
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1435
1435
|
ev.stopPropagation();
|
|
@@ -1440,7 +1440,7 @@ const Datetime = class {
|
|
|
1440
1440
|
if (minutesData.length === 0)
|
|
1441
1441
|
return [];
|
|
1442
1442
|
const activePart = this.getActivePartsWithFallback();
|
|
1443
|
-
return (index$1.h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1443
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1444
1444
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1445
1445
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1446
1446
|
ev.stopPropagation();
|
|
@@ -1453,7 +1453,7 @@ const Datetime = class {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
const activePart = this.getActivePartsWithFallback();
|
|
1455
1455
|
const isDayPeriodRTL = data.isLocaleDayPeriodRTL(this.locale);
|
|
1456
|
-
return (index$1.h("ion-picker-column", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1456
|
+
return (index$1.h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1457
1457
|
const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1458
1458
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1459
1459
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
@@ -1763,7 +1763,7 @@ const Datetime = class {
|
|
|
1763
1763
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1764
1764
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1765
1765
|
helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
|
|
1766
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1766
|
+
return (index$1.h(index$1.Host, { key: '48313af4ec8e2a2666cd8c89932c5131dfa7b556', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
|
|
1767
1767
|
[mode]: true,
|
|
1768
1768
|
['datetime-readonly']: readonly,
|
|
1769
1769
|
['datetime-disabled']: disabled,
|
|
@@ -1773,7 +1773,7 @@ const Datetime = class {
|
|
|
1773
1773
|
[`datetime-size-${size}`]: true,
|
|
1774
1774
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1775
1775
|
[`datetime-grid`]: isGridStyle,
|
|
1776
|
-
})) }, index$1.h("div", { key: '
|
|
1776
|
+
})) }, index$1.h("div", { key: 'b72570048236415aed915488305046d987d51dcf', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1777
1777
|
}
|
|
1778
1778
|
get el() { return index$1.getElement(this); }
|
|
1779
1779
|
static get watchers() { return {
|
|
@@ -1791,6 +1791,8 @@ const Datetime = class {
|
|
|
1791
1791
|
}; }
|
|
1792
1792
|
};
|
|
1793
1793
|
let datetimeIds = 0;
|
|
1794
|
+
const CANCEL_ROLE = 'datetime-cancel';
|
|
1795
|
+
const CONFIRM_ROLE = 'datetime-confirm';
|
|
1794
1796
|
const WHEEL_ITEM_PART = 'wheel-item';
|
|
1795
1797
|
const WHEEL_ITEM_ACTIVE_PART = `active`;
|
|
1796
1798
|
Datetime.style = {
|
|
@@ -2025,11 +2027,11 @@ const Picker = class {
|
|
|
2025
2027
|
render() {
|
|
2026
2028
|
const { htmlAttributes } = this;
|
|
2027
2029
|
const mode = ionicGlobal.getIonMode(this);
|
|
2028
|
-
return (index$1.h(index$1.Host, Object.assign({ key: '
|
|
2030
|
+
return (index$1.h(index$1.Host, Object.assign({ key: '26e3144adcdf01605271d01e468bb4a75ce854b1', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2029
2031
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2030
2032
|
}, class: Object.assign({ [mode]: true,
|
|
2031
2033
|
// Used internally for styling
|
|
2032
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index$1.h("ion-backdrop", { key: '
|
|
2034
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index$1.h("ion-backdrop", { key: 'fa212d21406606186cd95f8c7a4f119696ac8d4a', visible: this.showBackdrop, tappable: this.backdropDismiss }), index$1.h("div", { key: '19ea889f65cb6a68a9db26cf9f83c6587cfcf07e', tabindex: "0" }), index$1.h("div", { key: '5fc0f5d26915ba353b9f0335946f94b6fda95e1e', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index$1.h("div", { key: '3fa5bff4ac0013ef31845482a27a14caebbdcd2f', class: "picker-toolbar" }, this.buttons.map((b) => (index$1.h("div", { class: buttonWrapperClass(b) }, index$1.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index$1.h("div", { key: '2ff6376956d01dcd9ec01b8d6972dd4b37ffb1a1', class: "picker-columns" }, index$1.h("div", { key: '4adcef77429f10a3faa50b41d1eaf3404387997c', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index$1.h("ion-picker-legacy-column", { col: c })), index$1.h("div", { key: 'e0f37d3e9896eb2bc0f0aef4762a897130851963', class: "picker-below-highlight" }))), index$1.h("div", { key: '671bb7d0f487b0d7c7fa70388f8fa1de77448b9f', tabindex: "0" })));
|
|
2033
2035
|
}
|
|
2034
2036
|
get el() { return index$1.getElement(this); }
|
|
2035
2037
|
static get watchers() { return {
|
|
@@ -2386,9 +2388,9 @@ const PickerColumnCmp = class {
|
|
|
2386
2388
|
render() {
|
|
2387
2389
|
const col = this.col;
|
|
2388
2390
|
const mode = ionicGlobal.getIonMode(this);
|
|
2389
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2391
|
+
return (index$1.h(index$1.Host, { key: '56289a294e5c580f3e7fe5fc12777aa7f80ad19b', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2390
2392
|
'max-width': this.col.columnWidth,
|
|
2391
|
-
} }, col.prefix && (index$1.h("div", { key: '
|
|
2393
|
+
} }, col.prefix && (index$1.h("div", { key: 'd21f44667b5df567d6879723fe643ea7c2c60bef', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index$1.h("div", { key: 'bb427e5f24fd832703926e0e847ad05567597262', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (index$1.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (index$1.h("div", { key: '0413f7c074b6534b8967387ecb9957a79a267aff', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2392
2394
|
}
|
|
2393
2395
|
get el() { return index$1.getElement(this); }
|
|
2394
2396
|
static get watchers() { return {
|
|
@@ -59,12 +59,12 @@ const Fab = class {
|
|
|
59
59
|
render() {
|
|
60
60
|
const { horizontal, vertical, edge } = this;
|
|
61
61
|
const mode = ionicGlobal.getIonMode(this);
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: 'cb44cf6486b0a6439b99da87c065b0b52e2514f4', class: {
|
|
63
63
|
[mode]: true,
|
|
64
64
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
65
65
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
66
66
|
'fab-edge': edge,
|
|
67
|
-
} }, index.h("slot", { key: '
|
|
67
|
+
} }, index.h("slot", { key: '1ed484c7ecb10cd81fbca9a4f5c4049bf82f9f8a' })));
|
|
68
68
|
}
|
|
69
69
|
get el() { return index.getElement(this); }
|
|
70
70
|
static get watchers() { return {
|
|
@@ -133,7 +133,7 @@ const FabButton = class {
|
|
|
133
133
|
rel: this.rel,
|
|
134
134
|
target: this.target,
|
|
135
135
|
};
|
|
136
|
-
return (index.h(index.Host, { key: '
|
|
136
|
+
return (index.h(index.Host, { key: 'eb347f7d6749c40637540d84778eb8d1b667a947', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: theme.createColorClasses(color, {
|
|
137
137
|
[mode]: true,
|
|
138
138
|
'fab-button-in-list': inList,
|
|
139
139
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -144,7 +144,7 @@ const FabButton = class {
|
|
|
144
144
|
'ion-activatable': true,
|
|
145
145
|
'ion-focusable': true,
|
|
146
146
|
[`fab-button-${size}`]: size !== undefined,
|
|
147
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
147
|
+
}) }, index.h(TagType, Object.assign({ key: '83e853c8815f41543c848eb2e05ec2bb1716110a' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => theme.openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), index.h("ion-icon", { key: '798deede94de658e4345acf7c2aafe2ab2567b0b', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), index.h("span", { key: '99252fde6de1aca73fc240a6da7e29acac9acb18', class: "button-inner" }, index.h("slot", { key: 'dc73e9b41bf1f0e385e5784f975dfb81e37c8dfb' })), mode === 'md' && index.h("ion-ripple-effect", { key: '8413e162f44a0350f54dff06cff7aad101de3549' }))));
|
|
148
148
|
}
|
|
149
149
|
get el() { return index.getElement(this); }
|
|
150
150
|
};
|
|
@@ -172,11 +172,11 @@ const FabList = class {
|
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
174
|
const mode = ionicGlobal.getIonMode(this);
|
|
175
|
-
return (index.h(index.Host, { key: '
|
|
175
|
+
return (index.h(index.Host, { key: 'fa1d195b9950654ba0e984bf61d981c977d05275', class: {
|
|
176
176
|
[mode]: true,
|
|
177
177
|
'fab-list-active': this.activated,
|
|
178
178
|
[`fab-list-side-${this.side}`]: true,
|
|
179
|
-
} }, index.h("slot", { key: '
|
|
179
|
+
} }, index.h("slot", { key: '2ec738c66c05112e1e2521155d6adfc36d2fd1db' })));
|
|
180
180
|
}
|
|
181
181
|
get el() { return index.getElement(this); }
|
|
182
182
|
static get watchers() { return {
|
|
@@ -80,7 +80,7 @@ const Img = class {
|
|
|
80
80
|
render() {
|
|
81
81
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
82
82
|
const { draggable } = inheritedAttributes;
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: '14d24d65ec8e5522192ca58035264971b1ab883b', class: ionicGlobal.getIonMode(this) }, index.h("img", { key: '345ba155a5fdce5e66c397a599b7333d37d9cb1d', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
84
84
|
}
|
|
85
85
|
get el() { return index.getElement(this); }
|
|
86
86
|
static get watchers() { return {
|
|
@@ -180,7 +180,7 @@ const InfiniteScroll = class {
|
|
|
180
180
|
render() {
|
|
181
181
|
const mode = ionicGlobal.getIonMode(this);
|
|
182
182
|
const disabled = this.disabled;
|
|
183
|
-
return (index.h(index.Host, { key: '
|
|
183
|
+
return (index.h(index.Host, { key: '1444429a86950c449953cbf578436cc8cabf40ec', class: {
|
|
184
184
|
[mode]: true,
|
|
185
185
|
'infinite-scroll-loading': this.isLoading,
|
|
186
186
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -222,11 +222,11 @@ const InfiniteScrollContent = class {
|
|
|
222
222
|
}
|
|
223
223
|
render() {
|
|
224
224
|
const mode = ionicGlobal.getIonMode(this);
|
|
225
|
-
return (index.h(index.Host, { key: '
|
|
225
|
+
return (index.h(index.Host, { key: '060278bf9cb0321e182352f9613be4ebbb028259', class: {
|
|
226
226
|
[mode]: true,
|
|
227
227
|
// Used internally for styling
|
|
228
228
|
[`infinite-scroll-content-${mode}`]: true,
|
|
229
|
-
} }, index.h("div", { key: '
|
|
229
|
+
} }, index.h("div", { key: '07d3cada920145f979ad315bd187fb878e0c3da3', class: "infinite-loading" }, this.loadingSpinner && (index.h("div", { key: '6254f175d7543d09f3dd47cd0589a2809182cd8c', class: "infinite-loading-spinner" }, index.h("ion-spinner", { key: 'a6a816d1c65b60b786333b209b63492aa716a283', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
232
|
InfiniteScrollContent.style = {
|
|
@@ -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: 'ed1c29726ce0c91548f0e2ada61e3f8b5c813d2d', class: theme.createColorClasses(color, {
|
|
73
73
|
[mode]: true,
|
|
74
|
-
}) }, index.h("ion-button", { key: '
|
|
74
|
+
}) }, index.h("ion-button", { key: '9698eccdaedb86cf12d20acc53660371b3af3c55', 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: '1f2119c30b56c800d9af44e6499445a0ebb466cf', 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 {
|
|
@@ -91,6 +91,7 @@ const Input = class {
|
|
|
91
91
|
this.autocorrect = 'off';
|
|
92
92
|
this.autofocus = false;
|
|
93
93
|
this.clearInput = false;
|
|
94
|
+
this.clearInputIcon = undefined;
|
|
94
95
|
this.clearOnEdit = undefined;
|
|
95
96
|
this.counter = false;
|
|
96
97
|
this.counterFormatter = undefined;
|
|
@@ -381,11 +382,13 @@ const Input = class {
|
|
|
381
382
|
return this.renderLabel();
|
|
382
383
|
}
|
|
383
384
|
render() {
|
|
384
|
-
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus } = this;
|
|
385
|
+
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus, clearInputIcon } = this;
|
|
385
386
|
const mode = ionicGlobal.getIonMode(this);
|
|
386
387
|
const value = this.getValue();
|
|
387
388
|
const inItem = theme.hostContext('ion-item', this.el);
|
|
388
389
|
const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
|
|
390
|
+
const defaultClearIcon = mode === 'ios' ? index$1.closeCircle : index$1.closeSharp;
|
|
391
|
+
const clearIconData = clearInputIcon !== null && clearInputIcon !== void 0 ? clearInputIcon : defaultClearIcon;
|
|
389
392
|
const hasValue = this.hasValue();
|
|
390
393
|
const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
|
|
391
394
|
/**
|
|
@@ -406,7 +409,7 @@ const Input = class {
|
|
|
406
409
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
407
410
|
*/
|
|
408
411
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
409
|
-
return (index.h(index.Host, { key: '
|
|
412
|
+
return (index.h(index.Host, { key: '907ce98a82b5cfae5a08504cd79e00a2330b7444', class: theme.createColorClasses(this.color, {
|
|
410
413
|
[mode]: true,
|
|
411
414
|
'has-value': hasValue,
|
|
412
415
|
'has-focus': hasFocus,
|
|
@@ -417,7 +420,7 @@ const Input = class {
|
|
|
417
420
|
'in-item': inItem,
|
|
418
421
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
419
422
|
'input-disabled': disabled,
|
|
420
|
-
}) }, index.h("label", { key: '
|
|
423
|
+
}) }, index.h("label", { key: '59d5bb45d2a5b828bba0ed8687a632a551e2f4d8', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), index.h("div", { key: 'f93f129d08246d0e9a601c100d718534d6403853', class: "native-wrapper" }, index.h("slot", { key: '54eeb1a6bace662b7eb0d7e27180ea3d7e3a3729', name: "start" }), index.h("input", Object.assign({ key: 'b3e0be55bc1a4a539ae3b0fdcf7fc078723cca16', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (index.h("button", { key: '5f6373504a6d0d074bfbf875c794d45ea2748175', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
421
424
|
/**
|
|
422
425
|
* This prevents mobile browsers from
|
|
423
426
|
* blurring the input when the clear
|
|
@@ -432,7 +435,7 @@ const Input = class {
|
|
|
432
435
|
* for screen readers as it means users would be unable to swipe past the clear button.
|
|
433
436
|
*/
|
|
434
437
|
ev.stopPropagation();
|
|
435
|
-
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '
|
|
438
|
+
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '230d77973aa83458ceb32bf52e3abe9bc322cfe6', "aria-hidden": "true", icon: clearIconData }))), index.h("slot", { key: '9d69ac6e8a3c4b2b303dba2478f82695d5755ed2', name: "end" })), shouldRenderHighlight && index.h("div", { key: 'ac61f16237ce731e0745ab72d0fc3f066252464a', class: "input-highlight" })), this.renderBottomContent()));
|
|
436
439
|
}
|
|
437
440
|
get el() { return index.getElement(this); }
|
|
438
441
|
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: '1900e015f593fefd710478a2088e052399c957eb', 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: '5db2bb9bc72b7b00c324e4189cd1b5f862680ebb' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: '6927e812ad001c5e7bd17f440d82c3830c58957b', class: "button-inner" }, index.h("slot", { key: '0fde4333def94c55d1318868c2bc71e780d5876a', name: "top" }), index.h("div", { key: '7ecc9ae8ddf66d7ed5d9f30becc9faf820e1c62e', class: "horizontal-wrapper" }, index.h("slot", { key: 'a15567fd4bd91080e9fbb6bb0c9b0e67d8a67051', name: "start" }), index.h("slot", { key: '7f86cdd28063e23f9d78997623333c5037c4f364', name: "icon-only" }), index.h("slot", { key: '4abb69ce3ad6c4917dd87b7b1eb0fa1c69917d73' }), index.h("slot", { key: '8b35a29f48722040465f182679ac17209937578d', name: "end" })), index.h("slot", { key: 'fa15a00891b41d66a4ccb51575dec54b72d0059e', name: "bottom" })), mode === 'md' && index.h("ion-ripple-effect", { key: '0c071910c90fafca8026f59d78f4d9d5224d150a' }))));
|
|
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: 'e28cd6a236323b5cc203c9b96782aa81024da924', 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: '99f87c8bd794ae69830b407ba55013ac44793c26', 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: '60fda1dab7dbc0038ec7ff68a661896430f7d5c5', 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: '6ce072dfc2adfa699a2c34ffe25ed221c74d9eea', name: "start" }), index.h("div", { key: '9a441be204ee2f0b567432722407c75e3cbbe942', class: "item-divider-inner" }, index.h("div", { key: 'fd6f2969b345dba51400a290473e594d2d019dc5', class: "item-divider-wrapper" }, index.h("slot", { key: 'ebf5601b21c4cf199c01bf142865b8da0c1ba4a6' })), index.h("slot", { key: '249af8f30113f2c986976d518126661f65531121', 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: '24ff047b7c45f963f0dad072c65d38a230c2bc97', 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: 'c2c0f388dab910d294efb9fbb409ee4ef829c1ed', 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: '4de6b69950f417873a13c851018ec31ea2686f0a' })));
|
|
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: '8bde220025a7eeca6da075379c6487c4c9bdddc1', 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: '7e2e050f13722f2b870a2415d99a9e631e9ca267', 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: '6117bebc45800d874e9b75355476fbced5cc8398', class: "list-header-inner" }, index.h("slot", { key: '9165fb274cd2c45a5a65c271d8b1f30e8a00c890' }))));
|
|
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: '90ec2fe8c9487608ed8c0bdc32c2e80a6a0890b3', class: theme.createColorClasses(this.color, {
|
|
443
443
|
[mode]: true,
|
|
444
|
-
}) }, index.h("slot", { key: '
|
|
444
|
+
}) }, index.h("slot", { key: '115ee3f79e6c526b0644443aad468e99385d0eda' })));
|
|
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: '1a3e78e9a6f740d609d1f0b7a16cb6eff4a2d617', 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: 'be3eabe196ec6e8ec19857375ba30f4c8aa58e7f' }, "\u00A0")));
|
|
482
482
|
}
|
|
483
483
|
get el() { return index.getElement(this); }
|
|
484
484
|
};
|
|
@@ -9,7 +9,7 @@ const index = require('./index-8709af32.js');
|
|
|
9
9
|
const config = require('./config-4f60b98a.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
14
|
const ionicGlobal = require('./ionic-global-35b86a09.js');
|
|
15
15
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -262,9 +262,9 @@ const Loading = class {
|
|
|
262
262
|
* Otherwise, don't set aria-labelledby.
|
|
263
263
|
*/
|
|
264
264
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
265
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
265
|
+
return (index.h(index.Host, Object.assign({ key: '4610b316b10a4df3416d0e83062935f3079baff2', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
266
266
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
267
|
-
}, 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: '
|
|
267
|
+
}, 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: 'd07d0759ed13093c4c4fe06be442dde4bd9c2c31', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'ed3ec8b48f049b592fbea9767cc3d448dc037938', tabindex: "0" }), index.h("div", { key: 'c515f3badf149d83c1d67374ef3507415fe51422', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '265d1673c2deb751aeca285f5a18863bb629ca5e', class: "loading-spinner" }, index.h("ion-spinner", { key: '155bf7c92f6d7afd8edbb39f2b47ad05b7d503f1', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'b0e21df5cf54f9b48a218a03543d8c86f5406522', tabindex: "0" })));
|
|
268
268
|
}
|
|
269
269
|
get el() { return index.getElement(this); }
|
|
270
270
|
static get watchers() { return {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-8709af32.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
10
|
-
const overlays = require('./overlays-
|
|
10
|
+
const overlays = require('./overlays-cb04d075.js');
|
|
11
11
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
12
|
const hardwareBackButton = require('./hardware-back-button-ed931127.js');
|
|
13
13
|
const helpers = require('./helpers-afaa9001.js');
|
|
@@ -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: '30c0c9bfb8973e4a6feb658f8c4ee8e362f464ed', 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: '34b0e5840906862cf1bc27207e089004b0402c56', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, index.h("slot", { key: '2cd7e61a8c0987ca4b3f1f8b33cba7152f1275fe' })), index.h("ion-backdrop", { key: 'd190b1f9b66c76e276f27bfe074d3aab796180fb', 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: '95a8b9f09c7fae9713a8dc003ed277f6f31403da', 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: '39f3ce20c400d2fac4890a042e8e44426709fca5' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), index.h("span", { key: '310978dc1cdef668de6720cde2a2304253679176', class: "button-inner" }, index.h("slot", { key: '2a2b9de524c1fc3c526fe9559cb077b976852725' }, index.h("ion-icon", { key: '9c22d7ea9fc3d76c32ec1c1b4b13d982c60b8c2d', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && index.h("ion-ripple-effect", { key: 'c58c9e29c763070383472f65a9d322a684bcb564', 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: '90e621f09792383f1badcc1b402b1ac7d08c5f98', 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: 'c0abdd1d91e9d80ee3704e3e374ebe1f29078460' })));
|
|
726
726
|
}
|
|
727
727
|
};
|
|
728
728
|
MenuToggle.style = IonMenuToggleStyle0;
|