@ionic/core 8.0.0-dev.11712850753.10c4a960 → 8.0.0-dev.11713809015.1aabd368
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 +2 -2
- package/components/ion-content.js +4 -6
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +13 -15
- 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 +4 -8
- 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 +7 -9
- 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 +5 -5
- 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 +2 -3
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +134 -14
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +4 -6
- package/components/radio-group.js +1 -1
- package/components/radio.js +5 -5
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +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/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +13 -14
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +18 -20
- 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 +4 -7
- 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 +7 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +132 -14
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +4 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-66fcac49.js → overlays-6487955a.js} +1 -3
- package/dist/collection/components/checkbox/checkbox.ios.css +1 -0
- package/dist/collection/components/checkbox/checkbox.md.css +1 -0
- package/dist/collection/components/content/content.js +4 -23
- package/dist/collection/components/datetime/datetime.js +13 -15
- package/dist/collection/components/datetime-button/datetime-button.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -24
- package/dist/collection/components/input/test/input.spec.js +0 -13
- 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 +2 -3
- package/dist/collection/components/modal/modal.js +5 -24
- package/dist/collection/components/modal/test/basic/modal.spec.js +0 -19
- 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 +136 -13
- package/dist/collection/components/picker-column/test/picker-column.spec.js +103 -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 +4 -23
- package/dist/collection/components/popover/test/basic/popover.spec.js +0 -19
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.ios.css +1 -0
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio/radio.md.css +1 -0
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.ios.css +1 -0
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle/toggle.md.css +1 -0
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/overlays.js +1 -2
- package/dist/docs.json +1 -96
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +13 -14
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +18 -20
- 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 +4 -7
- 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 +7 -8
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +132 -14
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +4 -5
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment_2.entry.js +5 -5
- package/dist/esm/ion-select_3.entry.js +5 -5
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-634df4be.js → overlays-9472c98b.js} +2 -3
- 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-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{overlays-634df4be.js → overlays-9472c98b.js} +1 -1
- package/dist/html.html-data.json +0 -24
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0307a5ce.entry.js +4 -0
- package/dist/ionic/{p-64714af0.system.entry.js → p-04070329.system.entry.js} +1 -1
- package/dist/ionic/{p-5cf61334.system.entry.js → p-07ae133d.system.entry.js} +1 -1
- package/dist/ionic/{p-9ce13bcc.entry.js → p-0aa4682e.entry.js} +1 -1
- package/dist/ionic/{p-23a94a8e.system.entry.js → p-0bbb6edf.system.entry.js} +1 -1
- package/dist/ionic/{p-7820f3ab.system.entry.js → p-0ebb1fe7.system.entry.js} +1 -1
- package/dist/ionic/{p-5eafecd8.entry.js → p-0f2d99a6.entry.js} +1 -1
- package/dist/ionic/{p-d8ebc853.system.entry.js → p-100bedc4.system.entry.js} +1 -1
- package/dist/ionic/p-155f1939.entry.js +4 -0
- package/dist/ionic/{p-65e0d04e.system.entry.js → p-1672c4fd.system.entry.js} +2 -2
- package/dist/ionic/{p-61aa1ba6.entry.js → p-17978fce.entry.js} +1 -1
- package/dist/ionic/p-1c451f69.entry.js +4 -0
- package/dist/ionic/{p-f6f4f694.entry.js → p-1cff9cad.entry.js} +1 -1
- package/dist/ionic/{p-33444157.entry.js → p-1f9cdee2.entry.js} +1 -1
- package/dist/ionic/p-25575222.system.js +4 -0
- package/dist/ionic/{p-a70c90d8.entry.js → p-2e12bda2.entry.js} +1 -1
- package/dist/ionic/{p-715d10d2.system.entry.js → p-352f7037.system.entry.js} +1 -1
- package/dist/ionic/p-35722bba.system.entry.js +4 -0
- package/dist/ionic/{p-6c3c02d4.entry.js → p-35b9e842.entry.js} +1 -1
- package/dist/ionic/p-37a63e79.system.entry.js +4 -0
- package/dist/ionic/{p-1361399b.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
- package/dist/ionic/{p-4264f999.system.entry.js → p-3e3b34f7.system.entry.js} +1 -1
- package/dist/ionic/{p-bf4609f9.system.entry.js → p-4196b2d1.system.entry.js} +1 -1
- package/dist/ionic/{p-0fad7a2d.system.entry.js → p-43505ff8.system.entry.js} +1 -1
- package/dist/ionic/{p-414d73bc.system.entry.js → p-4429fc97.system.entry.js} +1 -1
- package/dist/ionic/{p-33723893.system.entry.js → p-49b6fee0.system.entry.js} +1 -1
- package/dist/ionic/{p-fe246e19.system.entry.js → p-510578f3.system.entry.js} +1 -1
- package/dist/ionic/{p-8a6e15fc.system.entry.js → p-51b68ec9.system.entry.js} +1 -1
- package/dist/ionic/{p-ae21e7ab.entry.js → p-51ff648c.entry.js} +1 -1
- package/dist/ionic/p-5270f8e8.entry.js +4 -0
- package/dist/ionic/{p-9d9f20ce.system.entry.js → p-58ea73f7.system.entry.js} +1 -1
- package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
- package/dist/ionic/p-5ae49f12.entry.js +4 -0
- package/dist/ionic/{p-69c8ec2a.system.entry.js → p-5b1273f4.system.entry.js} +1 -1
- package/dist/ionic/p-5d3f6707.entry.js +4 -0
- package/dist/ionic/{p-c8db6adb.entry.js → p-5da04d11.entry.js} +1 -1
- package/dist/ionic/p-5fa8587e.system.entry.js +4 -0
- package/dist/ionic/p-6771c0a9.system.entry.js +4 -0
- package/dist/ionic/{p-fb16b850.system.entry.js → p-68a1e274.system.entry.js} +1 -1
- package/dist/ionic/p-69bc14fd.entry.js +4 -0
- package/dist/ionic/{p-34272b1f.system.entry.js → p-6f4db5ce.system.entry.js} +1 -1
- package/dist/ionic/{p-8337ce33.system.entry.js → p-716ab5f8.system.entry.js} +1 -1
- package/dist/ionic/{p-3d72cae3.entry.js → p-7fc505bf.entry.js} +1 -1
- package/dist/ionic/{p-1bd294a2.entry.js → p-83321ee8.entry.js} +1 -1
- package/dist/ionic/p-83b070b7.entry.js +4 -0
- package/dist/ionic/{p-512cdc37.entry.js → p-896111fa.entry.js} +1 -1
- package/dist/ionic/p-89b59bd7.entry.js +4 -0
- package/dist/ionic/{p-32950317.system.entry.js → p-8bd567ba.system.entry.js} +1 -1
- package/dist/ionic/{p-db1d7caa.entry.js → p-8e9ac22d.entry.js} +1 -1
- package/dist/ionic/p-9540561f.entry.js +4 -0
- package/dist/ionic/p-9958874b.system.entry.js +4 -0
- package/dist/ionic/{p-240cac05.entry.js → p-99daf8b7.entry.js} +1 -1
- package/dist/ionic/{p-9e8cf5a2.system.entry.js → p-a1b4e619.system.entry.js} +1 -1
- package/dist/ionic/{p-f24e9676.system.js → p-a8f02173.system.js} +1 -1
- package/dist/ionic/{p-587643a6.system.entry.js → p-aa110ca0.system.entry.js} +1 -1
- package/dist/ionic/p-aa682cb9.system.entry.js +4 -0
- package/dist/ionic/{p-727255c2.entry.js → p-ab85debb.entry.js} +1 -1
- package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
- package/dist/ionic/p-bae993f0.entry.js +4 -0
- package/dist/ionic/{p-2d5e919f.entry.js → p-c04d5a75.entry.js} +1 -1
- package/dist/ionic/{p-fb1ee785.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
- package/dist/ionic/{p-3001b2f5.entry.js → p-c41af68a.entry.js} +1 -1
- package/dist/ionic/p-c478747f.system.js +2 -2
- package/dist/ionic/{p-bd516c16.entry.js → p-c8f2b769.entry.js} +1 -1
- package/dist/ionic/{p-f4f3b780.entry.js → p-c99ccdc9.entry.js} +1 -1
- package/dist/ionic/{p-18609ea3.system.entry.js → p-c9c39c98.system.entry.js} +1 -1
- package/dist/ionic/p-d45c59a6.system.entry.js +4 -0
- package/dist/ionic/{p-17050343.system.entry.js → p-d8067ea4.system.entry.js} +1 -1
- package/dist/ionic/{p-23e0649d.entry.js → p-d8f66669.entry.js} +1 -1
- package/dist/ionic/{p-c872fcd2.entry.js → p-d98c0112.entry.js} +1 -1
- package/dist/ionic/{p-bcbce3d9.entry.js → p-dc1372e0.entry.js} +1 -1
- package/dist/ionic/p-df48edd6.entry.js +4 -0
- package/dist/ionic/{p-de3c33f3.entry.js → p-df6fa126.entry.js} +1 -1
- package/dist/ionic/{p-f96f7d38.entry.js → p-e8a0e731.entry.js} +1 -1
- package/dist/ionic/p-e8c7fa1b.system.entry.js +4 -0
- package/dist/ionic/{p-8bbc7271.entry.js → p-e955bf61.entry.js} +1 -1
- package/dist/ionic/{p-37ed0807.system.entry.js → p-ea2c16b5.system.entry.js} +2 -2
- package/dist/ionic/{p-4861159f.entry.js → p-f0392d49.entry.js} +1 -1
- package/dist/ionic/p-f4cb521c.js +4 -0
- package/dist/ionic/p-f818b01a.entry.js +4 -0
- package/dist/ionic/{p-745eb00b.system.entry.js → p-fab4ecad.system.entry.js} +1 -1
- package/dist/ionic/{p-c373bd37.system.entry.js → p-fb02eeec.system.entry.js} +1 -1
- package/dist/ionic/{p-ac6dd92b.system.entry.js → p-fb97326f.system.entry.js} +1 -1
- package/dist/ionic/{p-92210d07.entry.js → p-fbd30ec7.entry.js} +1 -1
- package/dist/ionic/{p-784d54d4.entry.js → p-fda4872f.entry.js} +1 -1
- package/dist/ionic/{p-5278521a.system.entry.js → p-ff2323ba.system.entry.js} +2 -2
- package/dist/types/components/content/content.d.ts +0 -8
- package/dist/types/components/input/input.d.ts +0 -4
- package/dist/types/components/modal/modal-interface.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -18
- package/dist/types/components/picker-column/picker-column.d.ts +33 -1
- package/dist/types/components/popover/popover-interface.d.ts +0 -1
- package/dist/types/components/popover/popover.d.ts +0 -18
- package/dist/types/components.d.ts +0 -32
- package/dist/types/utils/overlays.d.ts +0 -1
- package/hydrate/index.js +278 -172
- package/package.json +1 -1
- package/dist/collection/components/content/test/content.spec.js +0 -27
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
- package/dist/ionic/p-07c88a2e.entry.js +0 -4
- package/dist/ionic/p-0d189eaf.entry.js +0 -4
- package/dist/ionic/p-14700c11.system.entry.js +0 -4
- package/dist/ionic/p-159a5b6a.system.entry.js +0 -4
- package/dist/ionic/p-1b235142.entry.js +0 -4
- package/dist/ionic/p-2b106d43.system.entry.js +0 -4
- package/dist/ionic/p-4e6ddce7.entry.js +0 -4
- package/dist/ionic/p-54f52179.system.entry.js +0 -4
- package/dist/ionic/p-73281e75.system.entry.js +0 -4
- package/dist/ionic/p-8370ef82.entry.js +0 -4
- package/dist/ionic/p-88250ff0.entry.js +0 -4
- package/dist/ionic/p-8b19c120.entry.js +0 -4
- package/dist/ionic/p-9399625f.entry.js +0 -4
- package/dist/ionic/p-95bc0add.system.entry.js +0 -4
- package/dist/ionic/p-9a45140d.system.entry.js +0 -4
- package/dist/ionic/p-aa4f2703.system.entry.js +0 -4
- package/dist/ionic/p-ab5db814.js +0 -4
- package/dist/ionic/p-be9f56eb.entry.js +0 -4
- package/dist/ionic/p-cec3bebe.entry.js +0 -4
- package/dist/ionic/p-cfdb1223.entry.js +0 -4
- package/dist/ionic/p-d104ba38.system.entry.js +0 -4
- package/dist/ionic/p-d2b175d3.entry.js +0 -4
- package/dist/ionic/p-d335115d.system.js +0 -4
- package/dist/ionic/p-e350ab4a.entry.js +0 -4
- package/dist/ionic/p-f31ef319.system.entry.js +0 -4
|
@@ -238,11 +238,11 @@ const ItemDivider = class {
|
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
240
|
const mode = getIonMode(this);
|
|
241
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: '18d1b78568247bfbf0b0274971b752ace7531f58', class: createColorClasses(this.color, {
|
|
242
242
|
[mode]: true,
|
|
243
243
|
'item-divider-sticky': this.sticky,
|
|
244
244
|
item: true,
|
|
245
|
-
}) }, h("slot", { key: '
|
|
245
|
+
}) }, h("slot", { key: 'cbf5fe1a9f4233a303d2366d1fc032d7c445f5c7', name: "start" }), h("div", { key: 'ca2608689325a350b23eb026053dd588ea3004e9', class: "item-divider-inner" }, h("div", { key: '00af1d58d5fc7995754a5266534cdf989a3294eb', class: "item-divider-wrapper" }, h("slot", { key: 'bfa2547fe8de49dcfbfccaeb46736182e514ffbc' })), h("slot", { key: '650dd1153d211eb992e69ff7e98c381cf0555e25', name: "end" }))));
|
|
246
246
|
}
|
|
247
247
|
get el() { return getElement(this); }
|
|
248
248
|
};
|
|
@@ -263,7 +263,7 @@ const ItemGroup = class {
|
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
265
|
const mode = getIonMode(this);
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: '2443d9e64c1867a9582a2965ed9ac78263965d70', role: "group", class: {
|
|
267
267
|
[mode]: true,
|
|
268
268
|
// Used internally for styling
|
|
269
269
|
[`item-group-${mode}`]: true,
|
|
@@ -333,13 +333,13 @@ const Label = class {
|
|
|
333
333
|
render() {
|
|
334
334
|
const position = this.position;
|
|
335
335
|
const mode = getIonMode(this);
|
|
336
|
-
return (h(Host, { key: '
|
|
336
|
+
return (h(Host, { key: '6820fe45a0aa73dca665a43f588f952e94c194c7', class: createColorClasses(this.color, {
|
|
337
337
|
[mode]: true,
|
|
338
338
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
339
339
|
[`label-${position}`]: position !== undefined,
|
|
340
340
|
[`label-no-animate`]: this.noAnimate,
|
|
341
341
|
'label-rtl': document.dir === 'rtl',
|
|
342
|
-
}) }, h("slot", { key: '
|
|
342
|
+
}) }, h("slot", { key: '79815d03fbfc141573f69eb037592837ca3428ce' })));
|
|
343
343
|
}
|
|
344
344
|
get el() { return getElement(this); }
|
|
345
345
|
static get watchers() { return {
|
|
@@ -380,7 +380,7 @@ const List = class {
|
|
|
380
380
|
render() {
|
|
381
381
|
const mode = getIonMode(this);
|
|
382
382
|
const { lines, inset } = this;
|
|
383
|
-
return (h(Host, { key: '
|
|
383
|
+
return (h(Host, { key: '9a0eab31e53ae22dbfa7aa58d779d3976797ea08', role: "list", class: {
|
|
384
384
|
[mode]: true,
|
|
385
385
|
// Used internally for styling
|
|
386
386
|
[`list-${mode}`]: true,
|
|
@@ -411,10 +411,10 @@ const ListHeader = class {
|
|
|
411
411
|
render() {
|
|
412
412
|
const { lines } = this;
|
|
413
413
|
const mode = getIonMode(this);
|
|
414
|
-
return (h(Host, { key: '
|
|
414
|
+
return (h(Host, { key: '8788351ca44861f264661da2412d6ce7906126bd', class: createColorClasses(this.color, {
|
|
415
415
|
[mode]: true,
|
|
416
416
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
417
|
-
}) }, h("div", { key: '
|
|
417
|
+
}) }, h("div", { key: '8801cb2fdddb2dab0c649aef1ffbac8f0ba9fbe0', class: "list-header-inner" }, h("slot", { key: '7fc87318333b7ee0c3eee91abc64a9275ad43a26' }))));
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
ListHeader.style = {
|
|
@@ -435,9 +435,9 @@ const Note = class {
|
|
|
435
435
|
}
|
|
436
436
|
render() {
|
|
437
437
|
const mode = getIonMode(this);
|
|
438
|
-
return (h(Host, { key: '
|
|
438
|
+
return (h(Host, { key: '4064be8c5aceec02a25b8933338596b1720e19d9', class: createColorClasses(this.color, {
|
|
439
439
|
[mode]: true,
|
|
440
|
-
}) }, h("slot", { key: '
|
|
440
|
+
}) }, h("slot", { key: '9b4265b01387096a8a6aba34a1d8217733bb6f1f' })));
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
443
|
Note.style = {
|
|
@@ -470,11 +470,11 @@ const SkeletonText = class {
|
|
|
470
470
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
471
471
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
472
472
|
const mode = getIonMode(this);
|
|
473
|
-
return (h(Host, { key: '
|
|
473
|
+
return (h(Host, { key: 'a093b75e3cac98eed870a682f55a6a305d6ba0ba', class: {
|
|
474
474
|
[mode]: true,
|
|
475
475
|
'skeleton-text-animated': animated,
|
|
476
476
|
'in-media': inMedia,
|
|
477
|
-
} }, h("span", { key: '
|
|
477
|
+
} }, h("span", { key: 'e73bb72ba6e57b4e5ddbe03acdb844b0ba63a0b9' }, "\u00A0")));
|
|
478
478
|
}
|
|
479
479
|
get el() { return getElement(this); }
|
|
480
480
|
};
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, d as createEvent, h, f as Host, i as getElement
|
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
6
6
|
import { r as raf } from './helpers-da915de8.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-9472c98b.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
10
|
import { c as config, b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
11
11
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -258,9 +258,9 @@ const Loading = class {
|
|
|
258
258
|
* Otherwise, don't set aria-labelledby.
|
|
259
259
|
*/
|
|
260
260
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
261
|
-
return (h(Host, Object.assign({ key: '
|
|
261
|
+
return (h(Host, Object.assign({ key: '255c2d52a0788769ca8ac027eababc903f525d0e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
262
262
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
263
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
263
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'd3a70d4e67a6578b01a82f97cb54f79342e7fd62', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '9641470dc2f759e674cd176662c12161bf22e078', tabindex: "0" }), h("div", { key: 'a1b986633eff28e8da49eec08dfb27acab63a88e', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { class: "loading-spinner" }, h("ion-spinner", { name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'ab8a43e8d71756be287f92961ebdc0bbe2d1882b', tabindex: "0" })));
|
|
264
264
|
}
|
|
265
265
|
get el() { return getElement(this); }
|
|
266
266
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-6e4709ff.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
6
|
-
import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays-
|
|
6
|
+
import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays-9472c98b.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller-314a54f6.js';
|
|
8
8
|
import { shouldUseCloseWatcher } from './hardware-back-button-329c81fd.js';
|
|
9
9
|
import { n as isEndSide, i as inheritAriaAttributes, m as assert, j as clamp } from './helpers-da915de8.js';
|
|
@@ -595,14 +595,14 @@ const Menu = class {
|
|
|
595
595
|
* the ionBackButton listener in the menu controller
|
|
596
596
|
* will handle closing the menu when Escape is pressed.
|
|
597
597
|
*/
|
|
598
|
-
return (h(Host, { key: '
|
|
598
|
+
return (h(Host, { key: 'f5f151ca5bf4963c0300656327bb9c38bc7869fb', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
599
599
|
[mode]: true,
|
|
600
600
|
[`menu-type-${type}`]: true,
|
|
601
601
|
'menu-enabled': !disabled,
|
|
602
602
|
[`menu-side-${side}`]: true,
|
|
603
603
|
'menu-pane-visible': isPaneVisible,
|
|
604
604
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
605
|
-
} }, h("div", { key: '
|
|
605
|
+
} }, h("div", { key: '39ddd64f884cc667e45f99a2922077d87f209205', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '1ccce2c24ec0dfc81a34580c8be60c69c68d2d2d' })), h("ion-backdrop", { key: 'cf2bdf7f4171a4ada3cb55dd15f6b921b626a347', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
606
606
|
}
|
|
607
607
|
get el() { return getElement(this); }
|
|
608
608
|
static get watchers() { return {
|
|
@@ -675,7 +675,7 @@ const MenuButton = class {
|
|
|
675
675
|
type: this.type,
|
|
676
676
|
};
|
|
677
677
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
678
|
-
return (h(Host, { key: '
|
|
678
|
+
return (h(Host, { key: '1588897aeaefa91e13ed15927f2eeaebc01e8f18', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
679
679
|
[mode]: true,
|
|
680
680
|
button: true, // ion-buttons target .button
|
|
681
681
|
'menu-button-hidden': hidden,
|
|
@@ -684,7 +684,7 @@ const MenuButton = class {
|
|
|
684
684
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
685
685
|
'ion-activatable': true,
|
|
686
686
|
'ion-focusable': true,
|
|
687
|
-
}) }, h("button", Object.assign({ key: '
|
|
687
|
+
}) }, h("button", Object.assign({ key: 'cb4e5b3d2095e15a53fa24ac65209162ec635476' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '1c2f499b40e8b9b18e3cb0ed28bbcca01e6d777f', class: "button-inner" }, h("slot", { key: 'df2f969098b5779f54c2d51b4816c7b78b45c860' }, h("ion-icon", { key: 'd093d7377c7f1a5a47b3cc319b36e5087421cf4c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
|
|
688
688
|
}
|
|
689
689
|
get el() { return getElement(this); }
|
|
690
690
|
};
|
|
@@ -715,10 +715,10 @@ const MenuToggle = class {
|
|
|
715
715
|
render() {
|
|
716
716
|
const mode = getIonMode(this);
|
|
717
717
|
const hidden = this.autoHide && !this.visible;
|
|
718
|
-
return (h(Host, { key: '
|
|
718
|
+
return (h(Host, { key: '63bcdda9e9917133893d92284b9a91dfe38596a9', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
719
719
|
[mode]: true,
|
|
720
720
|
'menu-toggle-hidden': hidden,
|
|
721
|
-
} }, h("slot", { key: '
|
|
721
|
+
} }, h("slot", { key: 'a3ecc57b11c04b2f9911e5703ea0c6f66515b2f2' })));
|
|
722
722
|
}
|
|
723
723
|
};
|
|
724
724
|
MenuToggle.style = IonMenuToggleStyle0;
|
|
@@ -8,7 +8,7 @@ import { g as getElementRoot, j as clamp, r as raf, h as inheritAttributes, k as
|
|
|
8
8
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
9
9
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
10
10
|
import { g as getCapacitor } from './capacitor-59395cbd.js';
|
|
11
|
-
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY,
|
|
11
|
+
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-9472c98b.js';
|
|
12
12
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
13
13
|
import { e as deepReady, w as waitForMount } from './index-f1f5de26.js';
|
|
14
14
|
import { b as getIonMode, c as config } from './ionic-global-c4e0c089.js';
|
|
@@ -814,7 +814,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
814
814
|
* as inputs should not be focusable outside
|
|
815
815
|
* the sheet.
|
|
816
816
|
*/
|
|
817
|
-
baseEl.classList.remove(
|
|
817
|
+
baseEl.classList.remove('ion-disable-focus-trap');
|
|
818
818
|
};
|
|
819
819
|
const disableBackdrop = () => {
|
|
820
820
|
baseEl.style.setProperty('pointer-events', 'none');
|
|
@@ -826,7 +826,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
826
826
|
* Adding this class disables focus trapping
|
|
827
827
|
* for the sheet temporarily.
|
|
828
828
|
*/
|
|
829
|
-
baseEl.classList.add(
|
|
829
|
+
baseEl.classList.add('ion-disable-focus-trap');
|
|
830
830
|
};
|
|
831
831
|
/**
|
|
832
832
|
* After the entering animation completes,
|
|
@@ -1167,7 +1167,6 @@ const Modal = class {
|
|
|
1167
1167
|
this.isOpen = false;
|
|
1168
1168
|
this.trigger = undefined;
|
|
1169
1169
|
this.keepContentsMounted = false;
|
|
1170
|
-
this.focusTrap = true;
|
|
1171
1170
|
this.canDismiss = true;
|
|
1172
1171
|
}
|
|
1173
1172
|
onIsOpenChange(newValue, oldValue) {
|
|
@@ -1624,14 +1623,14 @@ const Modal = class {
|
|
|
1624
1623
|
return true;
|
|
1625
1624
|
}
|
|
1626
1625
|
render() {
|
|
1627
|
-
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes
|
|
1626
|
+
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes } = this;
|
|
1628
1627
|
const showHandle = handle !== false && isSheetModal;
|
|
1629
1628
|
const mode = getIonMode(this);
|
|
1630
1629
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
1631
1630
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1632
|
-
return (h(Host, Object.assign({ key: '
|
|
1631
|
+
return (h(Host, Object.assign({ key: '18053756559601f785776196d9dd269f8250c813', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1633
1632
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1634
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true
|
|
1633
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: 'c080204fb09a67046d1986db28ccb7a1c8f0704d', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { class: "modal-shadow" }), h("div", Object.assign({ key: '1988ad86ef92108ad4c980ee6d98f280e368dee4',
|
|
1635
1634
|
/*
|
|
1636
1635
|
role and aria-modal must be used on the
|
|
1637
1636
|
same element. They must also be set inside the
|
|
@@ -1640,7 +1639,7 @@ const Modal = class {
|
|
|
1640
1639
|
*/
|
|
1641
1640
|
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { class: "modal-handle",
|
|
1642
1641
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1643
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
1642
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '321e79f29eba3faab323d17ae575300e25fc0c51' }))));
|
|
1644
1643
|
}
|
|
1645
1644
|
get el() { return getElement(this); }
|
|
1646
1645
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const Nav = class {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
render() {
|
|
901
|
-
return h("slot", { key: '
|
|
901
|
+
return h("slot", { key: '2cb1a430d8d29b0f54b1ec80f98e4b82b6c8cc0a' });
|
|
902
902
|
}
|
|
903
903
|
get el() { return getElement(this); }
|
|
904
904
|
static get watchers() { return {
|
|
@@ -940,7 +940,7 @@ const NavLink = class {
|
|
|
940
940
|
this.routerAnimation = undefined;
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return h(Host, { key: '
|
|
943
|
+
return h(Host, { key: 'e4aebea5eb131852acea407afb84597df71be4a4', onClick: this.onClick });
|
|
944
944
|
}
|
|
945
945
|
get el() { return getElement(this); }
|
|
946
946
|
};
|
|
@@ -84,10 +84,10 @@ const PickerColumnOption = class {
|
|
|
84
84
|
render() {
|
|
85
85
|
const { color, disabled, ariaLabel } = this;
|
|
86
86
|
const mode = getIonMode(this);
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '9333d9ac8e9990fc840f31e00391177d9cd563b3', class: createColorClasses(color, {
|
|
88
88
|
[mode]: true,
|
|
89
89
|
['option-disabled']: disabled,
|
|
90
|
-
}) }, h("button", { key: '
|
|
90
|
+
}) }, h("button", { key: '6ca92bc584587230135982106eab542589fc4c9d', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: 'd9a68906017f77143a0691b9bbc59ae2142da6aa' }))));
|
|
91
91
|
}
|
|
92
92
|
get el() { return getElement(this); }
|
|
93
93
|
static get watchers() { return {
|
|
@@ -9,7 +9,7 @@ import { a as isPlatform, b as getIonMode } from './ionic-global-c4e0c089.js';
|
|
|
9
9
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
10
10
|
import './capacitor-59395cbd.js';
|
|
11
11
|
|
|
12
|
-
const pickerColumnCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{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%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
|
|
12
|
+
const pickerColumnCss = ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{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%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
|
|
13
13
|
const IonPickerColumnStyle0 = pickerColumnCss;
|
|
14
14
|
|
|
15
15
|
const PickerColumn = class {
|
|
@@ -102,7 +102,7 @@ const PickerColumn = class {
|
|
|
102
102
|
const enableHaptics = isPlatform('ios');
|
|
103
103
|
const { el, scrollEl } = this;
|
|
104
104
|
let timeout;
|
|
105
|
-
let activeEl = this.activeItem;
|
|
105
|
+
let { activeItem: activeEl } = this.activeItem;
|
|
106
106
|
const scrollCallback = () => {
|
|
107
107
|
raf(() => {
|
|
108
108
|
if (!scrollEl)
|
|
@@ -245,12 +245,119 @@ const PickerColumn = class {
|
|
|
245
245
|
*/
|
|
246
246
|
this.el.classList.remove('picker-column-active');
|
|
247
247
|
};
|
|
248
|
+
/**
|
|
249
|
+
* Find the next enabled option after the active option.
|
|
250
|
+
* @param stride - How many options to "jump" over in order to select the next option.
|
|
251
|
+
* This can be used to implement PageUp/PageDown behaviors where pressing these keys
|
|
252
|
+
* scrolls the picker by more than 1 option. For example, a stride of 5 means select
|
|
253
|
+
* the enabled option 5 options after the active one. Note that the actual option selected
|
|
254
|
+
* may be past the stride if the option at the stride is disabled.
|
|
255
|
+
*/
|
|
256
|
+
this.findNextOption = (stride = 1) => {
|
|
257
|
+
const { activeItem } = this.activeItem;
|
|
258
|
+
if (!activeItem)
|
|
259
|
+
return null;
|
|
260
|
+
let prevNode = activeItem;
|
|
261
|
+
let node = activeItem.nextElementSibling;
|
|
262
|
+
while (node != null) {
|
|
263
|
+
if (stride > 0) {
|
|
264
|
+
stride--;
|
|
265
|
+
}
|
|
266
|
+
if (node.tagName === 'ION-PICKER-COLUMN-OPTION' && !node.disabled && stride === 0) {
|
|
267
|
+
return node;
|
|
268
|
+
}
|
|
269
|
+
prevNode = node;
|
|
270
|
+
// Use nextElementSibling instead of nextSibling to avoid text/comment nodes
|
|
271
|
+
node = node.nextElementSibling;
|
|
272
|
+
}
|
|
273
|
+
return prevNode;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Find the next enabled option after the active option.
|
|
277
|
+
* @param stride - How many options to "jump" over in order to select the next option.
|
|
278
|
+
* This can be used to implement PageUp/PageDown behaviors where pressing these keys
|
|
279
|
+
* scrolls the picker by more than 1 option. For example, a stride of 5 means select
|
|
280
|
+
* the enabled option 5 options before the active one. Note that the actual option selected
|
|
281
|
+
* may be past the stride if the option at the stride is disabled.
|
|
282
|
+
*/
|
|
283
|
+
this.findPreviousOption = (stride = 1) => {
|
|
284
|
+
const { activeItem } = this.activeItem;
|
|
285
|
+
if (!activeItem)
|
|
286
|
+
return null;
|
|
287
|
+
let nextNode = activeItem;
|
|
288
|
+
let node = activeItem.previousElementSibling;
|
|
289
|
+
while (node != null) {
|
|
290
|
+
if (stride > 0) {
|
|
291
|
+
stride--;
|
|
292
|
+
}
|
|
293
|
+
if (node.tagName === 'ION-PICKER-COLUMN-OPTION' && !node.disabled && stride === 0) {
|
|
294
|
+
return node;
|
|
295
|
+
}
|
|
296
|
+
nextNode = node;
|
|
297
|
+
// Use previousElementSibling instead of previousSibling to avoid text/comment nodes
|
|
298
|
+
node = node.previousElementSibling;
|
|
299
|
+
}
|
|
300
|
+
return nextNode;
|
|
301
|
+
};
|
|
302
|
+
this.onKeyDown = (ev) => {
|
|
303
|
+
let newOption = null;
|
|
304
|
+
switch (ev.key) {
|
|
305
|
+
case 'ArrowDown':
|
|
306
|
+
newOption = this.findNextOption();
|
|
307
|
+
break;
|
|
308
|
+
case 'ArrowUp':
|
|
309
|
+
newOption = this.findPreviousOption();
|
|
310
|
+
break;
|
|
311
|
+
case 'PageUp':
|
|
312
|
+
newOption = this.findPreviousOption(5);
|
|
313
|
+
break;
|
|
314
|
+
case 'PageDown':
|
|
315
|
+
newOption = this.findNextOption(5);
|
|
316
|
+
break;
|
|
317
|
+
case 'Home':
|
|
318
|
+
/**
|
|
319
|
+
* There is no guarantee that the first child will be an ion-picker-column-option,
|
|
320
|
+
* so we do not use firstElementChild.
|
|
321
|
+
*/
|
|
322
|
+
newOption = this.el.querySelector('ion-picker-column-option:first-of-type');
|
|
323
|
+
break;
|
|
324
|
+
case 'End':
|
|
325
|
+
/**
|
|
326
|
+
* There is no guarantee that the last child will be an ion-picker-column-option,
|
|
327
|
+
* so we do not use lastElementChild.
|
|
328
|
+
*/
|
|
329
|
+
newOption = this.el.querySelector('ion-picker-column-option:last-of-type');
|
|
330
|
+
break;
|
|
331
|
+
}
|
|
332
|
+
if (newOption !== null) {
|
|
333
|
+
this.value = newOption.value;
|
|
334
|
+
// This stops any default browser behavior such as scrolling
|
|
335
|
+
ev.preventDefault();
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Render an element that overlays the column. This element is for assistive
|
|
340
|
+
* tech to allow users to navigate the column up/down. This element should receive
|
|
341
|
+
* focus as it listens for synthesized keyboard events as required by the
|
|
342
|
+
* slider role: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/slider_role
|
|
343
|
+
*/
|
|
344
|
+
this.renderAssistiveFocusable = () => {
|
|
345
|
+
var _a;
|
|
346
|
+
const { activeItem, activeItemIndex } = this.activeItem;
|
|
347
|
+
const { el } = this;
|
|
348
|
+
const valueText = activeItem ? (_a = activeItem.getAttribute('aria-label')) !== null && _a !== void 0 ? _a : activeItem.innerText : '';
|
|
349
|
+
return (h("div", { class: "assistive-focusable", role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": el.childElementCount - 1, "aria-valuenow": activeItemIndex >= 0 ? activeItemIndex : 0, "aria-valuetext": valueText, "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }));
|
|
350
|
+
};
|
|
351
|
+
this.ariaLabel = null;
|
|
248
352
|
this.isActive = false;
|
|
249
353
|
this.disabled = false;
|
|
250
354
|
this.value = undefined;
|
|
251
355
|
this.color = 'primary';
|
|
252
356
|
this.numericInput = false;
|
|
253
357
|
}
|
|
358
|
+
ariaLabelChanged(newValue) {
|
|
359
|
+
this.ariaLabel = newValue;
|
|
360
|
+
}
|
|
254
361
|
valueChange() {
|
|
255
362
|
if (this.isColumnVisible) {
|
|
256
363
|
/**
|
|
@@ -281,7 +388,8 @@ const PickerColumn = class {
|
|
|
281
388
|
*/
|
|
282
389
|
const ev = entries[entries.length - 1];
|
|
283
390
|
if (ev.isIntersecting) {
|
|
284
|
-
const { activeItem
|
|
391
|
+
const { activeItem } = this.activeItem;
|
|
392
|
+
const { el } = this;
|
|
285
393
|
this.isColumnVisible = true;
|
|
286
394
|
/**
|
|
287
395
|
* Because this initial call to scrollActiveItemIntoView has to fire before
|
|
@@ -321,7 +429,8 @@ const PickerColumn = class {
|
|
|
321
429
|
}
|
|
322
430
|
}
|
|
323
431
|
componentDidRender() {
|
|
324
|
-
const {
|
|
432
|
+
const { activeItem } = this.activeItem;
|
|
433
|
+
const { el, isColumnVisible, value } = this;
|
|
325
434
|
if (isColumnVisible && !activeItem) {
|
|
326
435
|
const firstOption = el.querySelector('ion-picker-column-option');
|
|
327
436
|
/**
|
|
@@ -338,7 +447,7 @@ const PickerColumn = class {
|
|
|
338
447
|
}
|
|
339
448
|
/** @internal */
|
|
340
449
|
async scrollActiveItemIntoView(smooth = false) {
|
|
341
|
-
const activeEl = this.activeItem;
|
|
450
|
+
const { activeItem: activeEl } = this.activeItem;
|
|
342
451
|
if (activeEl) {
|
|
343
452
|
this.centerPickerItemInView(activeEl, smooth, false);
|
|
344
453
|
}
|
|
@@ -366,34 +475,43 @@ const PickerColumn = class {
|
|
|
366
475
|
this.scrollEl.focus();
|
|
367
476
|
}
|
|
368
477
|
}
|
|
478
|
+
connectedCallback() {
|
|
479
|
+
var _a;
|
|
480
|
+
this.ariaLabel = (_a = this.el.getAttribute('aria-label')) !== null && _a !== void 0 ? _a : 'Select a value';
|
|
481
|
+
}
|
|
369
482
|
get activeItem() {
|
|
370
483
|
const { value } = this;
|
|
371
|
-
const options =
|
|
372
|
-
|
|
484
|
+
const options = this.el.querySelectorAll('ion-picker-column-option');
|
|
485
|
+
for (let i = 0; i <= options.length - 1; i++) {
|
|
486
|
+
const option = options[i];
|
|
373
487
|
/**
|
|
374
488
|
* If the whole picker column is disabled, the current value should appear active
|
|
375
489
|
* If the current value item is specifically disabled, it should not appear active
|
|
376
490
|
*/
|
|
377
|
-
if (
|
|
378
|
-
return
|
|
491
|
+
if (option.value === value && !option.disabled) {
|
|
492
|
+
return {
|
|
493
|
+
activeItem: option,
|
|
494
|
+
activeItemIndex: i,
|
|
495
|
+
};
|
|
379
496
|
}
|
|
380
|
-
|
|
381
|
-
}
|
|
497
|
+
}
|
|
498
|
+
return { activeItem: undefined, activeItemIndex: -1 };
|
|
382
499
|
}
|
|
383
500
|
render() {
|
|
384
501
|
const { color, disabled, isActive, numericInput } = this;
|
|
385
502
|
const mode = getIonMode(this);
|
|
386
|
-
return (h(Host, { key: '
|
|
503
|
+
return (h(Host, { key: '87534568ba47096dca1be00fee184052767087f5', class: createColorClasses(color, {
|
|
387
504
|
[mode]: true,
|
|
388
505
|
['picker-column-active']: isActive,
|
|
389
506
|
['picker-column-numeric-input']: numericInput,
|
|
390
507
|
['picker-column-disabled']: disabled,
|
|
391
|
-
}) }, h("slot", { key: '
|
|
508
|
+
}) }, this.renderAssistiveFocusable(), h("slot", { key: '8dedc4f294f1a6658a12151a765f6fa790f4d854', name: "prefix" }), h("div", { key: 'c82975dc3996d3ddb8dee12ad381ee733466a069', "aria-hidden": "true", class: "picker-opts", ref: (el) => {
|
|
392
509
|
this.scrollEl = el;
|
|
393
|
-
} }, h("div", { key: '
|
|
510
|
+
} }, h("div", { key: '2de49979f9339f4a9a384e115ea5a073b6467e50', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '304e0bcc506f4c4d35d053e95c85de9c9bdc303c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '3da0eb1d7e1d8b196112f7d695447b40716eef1d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '43668a05c3eb39749bde1137e33872e1b406cba9' }), h("div", { key: '95d4ae922ad45aa541a70b08958b08a2d3c79fbe', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '412aca51c2d3b4cc1bcc1fffca68922db64f7745', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '2319fa61c7649dec3efa2ec2e7b93d5e9a775708', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: '010cee6ffdbe1a6d5331cb4e185b1aa0b6effd2d', name: "suffix" })));
|
|
394
511
|
}
|
|
395
512
|
get el() { return getElement(this); }
|
|
396
513
|
static get watchers() { return {
|
|
514
|
+
"aria-label": ["ariaLabelChanged"],
|
|
397
515
|
"value": ["valueChange"]
|
|
398
516
|
}; }
|
|
399
517
|
};
|
|
@@ -480,7 +480,7 @@ const Picker = class {
|
|
|
480
480
|
this.emitInputModeChange();
|
|
481
481
|
}
|
|
482
482
|
render() {
|
|
483
|
-
return (h(Host, { key: '
|
|
483
|
+
return (h(Host, { key: '16c8d2d72dcbd64e2b2fb77200ead6a2107d24a6', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: 'f7f4c77bde934813a18f221308277580c45715e3', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
484
484
|
var _a;
|
|
485
485
|
/**
|
|
486
486
|
* The "Enter" key represents
|
|
@@ -495,7 +495,7 @@ const Picker = class {
|
|
|
495
495
|
if (ev.key === 'Enter') {
|
|
496
496
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
497
497
|
}
|
|
498
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
498
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '0eead52707acfa004c83fe0acfd4f9162b19f09b', class: "picker-before" }), h("div", { key: '5b4b531e3ed4fd35f1380156cf5332a455433a19', class: "picker-after" }), h("div", { key: '2b478202ac99703e4f72b30906915c7058ca9b9f', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: '4a93ca36194ea1d2cec8bef8a0f402c14ee74576' })));
|
|
499
499
|
}
|
|
500
500
|
get el() { return getElement(this); }
|
|
501
501
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-6e4709ff.js';
|
|
5
|
-
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as focusFirstDescendant, g as dismiss, h as eventMethod
|
|
5
|
+
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as focusFirstDescendant, g as dismiss, h as eventMethod } from './overlays-9472c98b.js';
|
|
6
6
|
import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate-63d1a679.js';
|
|
7
7
|
import { r as raf, g as getElementRoot, a as addEventListener, k as hasLazyBuild } from './helpers-da915de8.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
@@ -1063,7 +1063,6 @@ const Popover = class {
|
|
|
1063
1063
|
this.arrow = true;
|
|
1064
1064
|
this.isOpen = false;
|
|
1065
1065
|
this.keyboardEvents = false;
|
|
1066
|
-
this.focusTrap = true;
|
|
1067
1066
|
this.keepContentsMounted = false;
|
|
1068
1067
|
}
|
|
1069
1068
|
onTriggerChange() {
|
|
@@ -1290,12 +1289,12 @@ const Popover = class {
|
|
|
1290
1289
|
}
|
|
1291
1290
|
render() {
|
|
1292
1291
|
const mode = getIonMode(this);
|
|
1293
|
-
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes
|
|
1292
|
+
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes } = this;
|
|
1294
1293
|
const desktop = isPlatform('desktop');
|
|
1295
1294
|
const enableArrow = arrow && !parentPopover;
|
|
1296
|
-
return (h(Host, Object.assign({ key: '
|
|
1295
|
+
return (h(Host, Object.assign({ key: '8e3ff2681dbd4d2a659633ba2d5419abb2646858', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1297
1296
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1298
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true,
|
|
1297
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '9bdb7b263b7ecaee62fd091dbc55ea3b8cf02b45', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { class: "popover-arrow", part: "arrow" }), h("div", { key: '03bf042a104e8d019bd815ce0cc63a1b503cd644', class: "popover-content", part: "content" }, h("slot", { key: 'dd9e35e0af13da7b98d094cc1d5b1161afaf267b' })))));
|
|
1299
1298
|
}
|
|
1300
1299
|
get el() { return getElement(this); }
|
|
1301
1300
|
static get watchers() { return {
|
|
@@ -27,7 +27,7 @@ const ProgressBar = class {
|
|
|
27
27
|
const mode = getIonMode(this);
|
|
28
28
|
// If the progress is displayed as a solid bar.
|
|
29
29
|
const progressSolid = buffer === 1;
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '63b306c91da12d1fa18d6f6c4726871ef727c9f3', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
31
31
|
[mode]: true,
|
|
32
32
|
[`progress-bar-${type}`]: true,
|
|
33
33
|
'progress-paused': paused,
|