@ionic/core 8.4.4-dev.11741136034.11909e03 → 8.4.4-dev.11741193800.14916f6f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/alert.js +4 -25
- package/components/helpers.js +0 -28
- package/components/ion-select.js +39 -12
- package/components/ionic-global.js +1 -12
- package/dist/cjs/{app-globals-21afee77.js → app-globals-247c7281.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-43e2b419.js} +1 -1
- package/dist/cjs/{framework-delegate-05579976.js → framework-delegate-2a11ff27.js} +1 -1
- package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-25324112.js} +2 -2
- package/dist/cjs/{helpers-4be3f90d.js → helpers-06f744d7.js} +0 -28
- package/dist/cjs/{index-1ae3f40a.js → index-17772b90.js} +3 -3
- package/dist/cjs/{index-73f75efb.js → index-2e236a04.js} +0 -4
- package/dist/cjs/{index-c441c903.js → index-5235cd7a.js} +1 -1
- package/dist/cjs/{index-4e14a46e.js → index-a9253094.js} +5 -5
- package/dist/cjs/{index-ad7a712e.js → index-d36529a6.js} +1 -1
- package/dist/cjs/index.cjs.js +10 -10
- package/dist/cjs/{input-shims-e748a364.js → input-shims-a1181384.js} +2 -2
- package/dist/cjs/{input.utils-74e4ec28.js → input.utils-693b953e.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +7 -7
- package/dist/cjs/ion-alert.cjs.entry.js +11 -32
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +7 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +45 -18
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-20cee824.js} +1 -12
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-afdec89f.js → ios.transition-c3e3b768.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-9f0d3db5.js → md.transition-91d9b2db.js} +4 -4
- package/dist/cjs/{notch-controller-a0c464d1.js → notch-controller-57bae241.js} +1 -1
- package/dist/cjs/{overlays-76b29cd4.js → overlays-93c1a579.js} +4 -4
- package/dist/cjs/{status-tap-fb807fad.js → status-tap-ede4c3df.js} +3 -3
- package/dist/cjs/{swipe-back-47a52b83.js → swipe-back-2aee5ac9.js} +1 -1
- package/dist/collection/components/alert/alert.js +4 -29
- package/dist/collection/components/select/select.js +38 -11
- package/dist/collection/global/ionic-global.js +1 -12
- package/dist/collection/utils/helpers.js +0 -28
- package/dist/docs.json +1 -5
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-0aadb3a9.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm/{framework-delegate-f683816e.js → framework-delegate-3e745cc0.js} +1 -1
- package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-d58e8ab6.js} +2 -2
- package/dist/esm/{helpers-9b49d7d2.js → helpers-16b36a2b.js} +0 -28
- package/dist/esm/{index-5a0f5fd0.js → index-299c3a24.js} +1 -1
- package/dist/esm/{index-28849c61.js → index-527b9e34.js} +1 -4
- package/dist/esm/{index-8785a9c6.js → index-a94537d9.js} +3 -3
- package/dist/esm/{index-7ec5519a.js → index-ae5421cc.js} +5 -5
- package/dist/esm/{index-33f7e3ff.js → index-d312d755.js} +1 -1
- package/dist/esm/index.js +10 -10
- package/dist/esm/{input-shims-0e65111b.js → input-shims-7761bb89.js} +2 -2
- package/dist/esm/{input.utils-1ad8dafc.js → input.utils-005c974b.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +7 -7
- package/dist/esm/ion-alert.entry.js +11 -32
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime_3.entry.js +6 -6
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -7
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +45 -18
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-33560a0a.js} +1 -12
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-085853ff.js → ios.transition-ee25fba4.js} +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-33826623.js → md.transition-76353fd3.js} +4 -4
- package/dist/esm/{notch-controller-3dc61260.js → notch-controller-b94a6b7b.js} +1 -1
- package/dist/esm/{overlays-e3d0d356.js → overlays-87b6aa7c.js} +4 -4
- package/dist/esm/{status-tap-163e8128.js → status-tap-c5dd83b2.js} +3 -3
- package/dist/esm/{swipe-back-23ee7ab1.js → swipe-back-6e381b00.js} +1 -1
- package/dist/esm-es5/app-globals-0aadb3a9.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm-es5/{framework-delegate-f683816e.js → framework-delegate-3e745cc0.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-d58e8ab6.js} +1 -1
- package/dist/esm-es5/helpers-16b36a2b.js +4 -0
- package/dist/esm-es5/{index-5a0f5fd0.js → index-299c3a24.js} +1 -1
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/{index-8785a9c6.js → index-a94537d9.js} +1 -1
- package/dist/esm-es5/{index-7ec5519a.js → index-ae5421cc.js} +1 -1
- package/dist/esm-es5/{index-33f7e3ff.js → index-d312d755.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-0e65111b.js → input-shims-7761bb89.js} +1 -1
- package/dist/esm-es5/{input.utils-1ad8dafc.js → input.utils-005c974b.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-33560a0a.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-085853ff.js → ios.transition-ee25fba4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-76353fd3.js +4 -0
- package/dist/esm-es5/{notch-controller-3dc61260.js → notch-controller-b94a6b7b.js} +1 -1
- package/dist/esm-es5/{overlays-e3d0d356.js → overlays-87b6aa7c.js} +1 -1
- package/dist/esm-es5/{status-tap-163e8128.js → status-tap-c5dd83b2.js} +1 -1
- package/dist/esm-es5/{swipe-back-23ee7ab1.js → swipe-back-6e381b00.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-030bbd88.entry.js +4 -0
- package/dist/ionic/p-03417f7c.entry.js +4 -0
- package/dist/ionic/p-0612c7c3.entry.js +4 -0
- package/dist/ionic/{p-b91acf8d.system.entry.js → p-06260d68.system.entry.js} +1 -1
- package/dist/ionic/{p-aa63b365.system.js → p-07cf4028.system.js} +1 -1
- package/dist/ionic/{p-0c9b6d3a.system.entry.js → p-08409995.system.entry.js} +2 -2
- package/dist/ionic/{p-9eee4de1.system.js → p-09aa088e.system.js} +1 -1
- package/dist/ionic/p-0a47a1fb.entry.js +4 -0
- package/dist/ionic/{p-e8f34871.entry.js → p-0e2aaf53.entry.js} +1 -1
- package/dist/ionic/p-1110d6ab.entry.js +4 -0
- package/dist/ionic/p-14e6a33e.entry.js +4 -0
- package/dist/ionic/{p-1bbe8665.system.entry.js → p-15ca0b12.system.entry.js} +2 -2
- package/dist/ionic/{p-803f0bc2.entry.js → p-17088ca0.entry.js} +1 -1
- package/dist/ionic/{p-42808996.js → p-1828fde5.js} +1 -1
- package/dist/ionic/{p-162c8d0c.system.entry.js → p-1a2a0488.system.entry.js} +1 -1
- package/dist/ionic/p-1e0ee321.entry.js +4 -0
- package/dist/ionic/{p-e2e19375.system.entry.js → p-1fa70a4d.system.entry.js} +1 -1
- package/dist/ionic/p-1fadb8b9.js +4 -0
- package/dist/ionic/{p-4452a8ac.system.js → p-1fed4470.system.js} +1 -1
- package/dist/ionic/{p-69066a53.js → p-21891ead.js} +1 -1
- package/dist/ionic/p-235edda0.entry.js +4 -0
- package/dist/ionic/p-248ff024.system.js +4 -0
- package/dist/ionic/{p-7458862e.system.entry.js → p-2664778b.system.entry.js} +1 -1
- package/dist/ionic/{p-f2b8c349.system.entry.js → p-2b595f52.system.entry.js} +1 -1
- package/dist/ionic/p-2bc0c8cf.entry.js +4 -0
- package/dist/ionic/{p-77e7b7b6.system.entry.js → p-2be04f09.system.entry.js} +1 -1
- package/dist/ionic/{p-afecb188.entry.js → p-2fa83e88.entry.js} +1 -1
- package/dist/ionic/p-32ab7c59.entry.js +4 -0
- package/dist/ionic/{p-13dc21b0.js → p-37c85d40.js} +1 -1
- package/dist/ionic/p-39f6077e.js +4 -0
- package/dist/ionic/{p-e8232807.system.js → p-3a993e5c.system.js} +1 -1
- package/dist/ionic/{p-2c9eb774.system.js → p-41dc2b36.system.js} +1 -1
- package/dist/ionic/{p-c8d645b3.entry.js → p-48e13c51.entry.js} +1 -1
- package/dist/ionic/{p-92365bc1.system.entry.js → p-4b27d69d.system.entry.js} +1 -1
- package/dist/ionic/{p-61d044b4.entry.js → p-4b4d1f73.entry.js} +1 -1
- package/dist/ionic/{p-881d9e52.system.js → p-4ba8de87.system.js} +1 -1
- package/dist/ionic/{p-3eaf1444.system.entry.js → p-4bcc2581.system.entry.js} +1 -1
- package/dist/ionic/{p-73dc4950.entry.js → p-4cfb0dc8.entry.js} +1 -1
- package/dist/ionic/{p-76446a85.entry.js → p-4ea83104.entry.js} +1 -1
- package/dist/ionic/{p-a9e24ae2.system.entry.js → p-50eb95ba.system.entry.js} +1 -1
- package/dist/ionic/{p-0eb2553a.system.entry.js → p-5216f047.system.entry.js} +1 -1
- package/dist/ionic/{p-25fa1d30.system.entry.js → p-5406a48a.system.entry.js} +1 -1
- package/dist/ionic/p-5430a6da.entry.js +4 -0
- package/dist/ionic/{p-5126cf1e.system.js → p-56358500.system.js} +1 -1
- package/dist/ionic/{p-a2b6dd57.system.js → p-57de65cb.system.js} +1 -1
- package/dist/ionic/p-5b73e74c.js +4 -0
- package/dist/ionic/{p-32e99b0a.entry.js → p-5f8c7f64.entry.js} +1 -1
- package/dist/ionic/p-5faf0879.js +4 -0
- package/dist/ionic/p-60666514.entry.js +4 -0
- package/dist/ionic/{p-8a836849.entry.js → p-61153ec9.entry.js} +1 -1
- package/dist/ionic/{p-6d32975a.entry.js → p-644cfb0d.entry.js} +1 -1
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/{p-4c252070.entry.js → p-6724b6ce.entry.js} +1 -1
- package/dist/ionic/{p-95775830.entry.js → p-6752a057.entry.js} +1 -1
- package/dist/ionic/{p-5fce0c0b.system.entry.js → p-67d24f70.system.entry.js} +1 -1
- package/dist/ionic/{p-3572f86a.system.entry.js → p-68327266.system.entry.js} +1 -1
- package/dist/ionic/{p-da8ef548.system.entry.js → p-685e9613.system.entry.js} +1 -1
- package/dist/ionic/{p-57ceead7.entry.js → p-695c3921.entry.js} +1 -1
- package/dist/ionic/{p-c29f8157.system.entry.js → p-6b0cbcc3.system.entry.js} +1 -1
- package/dist/ionic/p-6d11152f.entry.js +4 -0
- package/dist/ionic/p-6d969696.system.js +4 -0
- package/dist/ionic/p-71062ade.system.js +4 -0
- package/dist/ionic/{p-70ccc275.system.entry.js → p-71235698.system.entry.js} +1 -1
- package/dist/ionic/{p-33a8a71b.entry.js → p-7341f38d.entry.js} +1 -1
- package/dist/ionic/{p-ffc48bc5.system.entry.js → p-734de30f.system.entry.js} +1 -1
- package/dist/ionic/{p-df862603.entry.js → p-73d6a80d.entry.js} +1 -1
- package/dist/ionic/{p-a4575db1.system.entry.js → p-741f94fe.system.entry.js} +1 -1
- package/dist/ionic/p-75098ab5.system.js +4 -0
- package/dist/ionic/{p-340e3f24.system.js → p-7d2357da.system.js} +1 -1
- package/dist/ionic/{p-91f17b25.system.entry.js → p-80a4f5a4.system.entry.js} +2 -2
- package/dist/ionic/{p-fca6ef5f.system.entry.js → p-81a4c94d.system.entry.js} +1 -1
- package/dist/ionic/{p-f78af648.system.entry.js → p-82acef74.system.entry.js} +1 -1
- package/dist/ionic/{p-bdad26e3.entry.js → p-841c4879.entry.js} +1 -1
- package/dist/ionic/{p-2515cb4d.system.entry.js → p-8615796d.system.entry.js} +1 -1
- package/dist/ionic/{p-7b96e5c1.system.entry.js → p-86189afd.system.entry.js} +1 -1
- package/dist/ionic/{p-2ef3c7ee.system.entry.js → p-87570c71.system.entry.js} +1 -1
- package/dist/ionic/{p-c1b51537.system.js → p-89d3401f.system.js} +1 -1
- package/dist/ionic/{p-ecceeb90.js → p-8f6d68b7.js} +1 -1
- package/dist/ionic/{p-56da53ad.system.entry.js → p-8fdfd686.system.entry.js} +1 -1
- package/dist/ionic/p-93ce49e8.entry.js +4 -0
- package/dist/ionic/{p-4ad78edc.entry.js → p-93ee5b02.entry.js} +1 -1
- package/dist/ionic/{p-9a1f985d.system.entry.js → p-99e1fd04.system.entry.js} +1 -1
- package/dist/ionic/{p-af09741c.entry.js → p-9bcc9444.entry.js} +1 -1
- package/dist/ionic/{p-7a1766d6.js → p-9dfcac21.js} +1 -1
- package/dist/ionic/{p-d4ca0475.js → p-9f85d4b1.js} +1 -1
- package/dist/ionic/{p-dc146a2a.system.entry.js → p-a0a5c0db.system.entry.js} +1 -1
- package/dist/ionic/p-a25c4e5d.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-a4866e3e.system.js} +1 -1
- package/dist/ionic/{p-0ee3b5a2.system.js → p-a8a9c283.system.js} +1 -1
- package/dist/ionic/{p-d06601eb.system.entry.js → p-a8ad56a5.system.entry.js} +1 -1
- package/dist/ionic/{p-26194519.entry.js → p-a9740e59.entry.js} +1 -1
- package/dist/ionic/{p-3df889b3.system.entry.js → p-a9de8117.system.entry.js} +1 -1
- package/dist/ionic/{p-e265ae18.system.entry.js → p-ad4cca47.system.entry.js} +1 -1
- package/dist/ionic/{p-d192fdf7.system.entry.js → p-b17b56a9.system.entry.js} +1 -1
- package/dist/ionic/{p-6190d0d6.entry.js → p-b28ea018.entry.js} +1 -1
- package/dist/ionic/{p-83e68c71.entry.js → p-b36d1e39.entry.js} +1 -1
- package/dist/ionic/{p-c32644d7.entry.js → p-b480d2b1.entry.js} +1 -1
- package/dist/ionic/{p-322c5fb4.system.js → p-bd92a627.system.js} +1 -1
- package/dist/ionic/p-be685cdb.entry.js +4 -0
- package/dist/ionic/{p-0397811d.entry.js → p-c172eb14.entry.js} +1 -1
- package/dist/ionic/{p-e97a3f44.entry.js → p-c23b3d05.entry.js} +1 -1
- package/dist/ionic/{p-075a94bd.js → p-c566c4ac.js} +1 -1
- package/dist/ionic/{p-f89cf011.system.entry.js → p-c585a45f.system.entry.js} +1 -1
- package/dist/ionic/p-c89f0db9.entry.js +4 -0
- package/dist/ionic/{p-424eb140.system.entry.js → p-c8c27ae7.system.entry.js} +1 -1
- package/dist/ionic/{p-02e23f26.entry.js → p-c9f32d38.entry.js} +1 -1
- package/dist/ionic/{p-95da3ae2.system.js → p-caafaec4.system.js} +1 -1
- package/dist/ionic/{p-f301a694.system.entry.js → p-ced5d9b6.system.entry.js} +1 -1
- package/dist/ionic/{p-1a790eef.system.js → p-d1410529.system.js} +1 -1
- package/dist/ionic/{p-dd0c9350.system.entry.js → p-d3bd54e1.system.entry.js} +1 -1
- package/dist/ionic/p-d6251c7e.system.entry.js +4 -0
- package/dist/ionic/{p-2abae1cc.system.entry.js → p-d7811e30.system.entry.js} +1 -1
- package/dist/ionic/{p-955c3eb8.entry.js → p-d7e6cd7e.entry.js} +1 -1
- package/dist/ionic/{p-da074ff7.entry.js → p-da231185.entry.js} +1 -1
- package/dist/ionic/{p-5cde8ef3.entry.js → p-dade2313.entry.js} +1 -1
- package/dist/ionic/{p-4346c79d.system.entry.js → p-db8a02a0.system.entry.js} +1 -1
- package/dist/ionic/{p-16799667.system.entry.js → p-dbac4f3e.system.entry.js} +1 -1
- package/dist/ionic/{p-9be5f3ee.system.entry.js → p-e4c8444f.system.entry.js} +2 -2
- package/dist/ionic/{p-e8c3fb87.system.entry.js → p-e4cc4565.system.entry.js} +1 -1
- package/dist/ionic/{p-48a8d9b4.system.entry.js → p-e5a3b38b.system.entry.js} +1 -1
- package/dist/ionic/{p-0a59f4fa.entry.js → p-e6e2ff13.entry.js} +1 -1
- package/dist/ionic/{p-2507278c.system.entry.js → p-e78844bd.system.entry.js} +1 -1
- package/dist/ionic/{p-f5035354.js → p-e9336870.js} +1 -1
- package/dist/ionic/{p-5b932840.entry.js → p-ecc26ede.entry.js} +1 -1
- package/dist/ionic/p-ece761b3.js +4 -0
- package/dist/ionic/{p-1bc65aec.system.entry.js → p-ed1a1717.system.entry.js} +1 -1
- package/dist/ionic/{p-84d08aae.system.entry.js → p-ee7c3605.system.entry.js} +1 -1
- package/dist/ionic/{p-57379000.entry.js → p-f0e14400.entry.js} +1 -1
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/{p-561ddcd4.system.entry.js → p-f4af839e.system.entry.js} +2 -2
- package/dist/ionic/p-f70935ed.js +4 -0
- package/dist/ionic/{p-f3102647.system.entry.js → p-f93eb347.system.entry.js} +1 -1
- package/dist/ionic/{p-3c8e5c23.system.js → p-f99425b1.system.js} +1 -1
- package/dist/ionic/{p-62af944c.entry.js → p-fa8b0bbd.entry.js} +1 -1
- package/dist/ionic/{p-a3c78186.system.entry.js → p-faa24152.system.entry.js} +1 -1
- package/dist/ionic/{p-45de8d2a.entry.js → p-fae7cdef.entry.js} +1 -1
- package/dist/ionic/{p-2bc73fb5.js → p-fb4ae485.js} +1 -1
- package/dist/ionic/{p-14143257.entry.js → p-fbddd225.entry.js} +1 -1
- package/dist/ionic/{p-6b1bd0c1.entry.js → p-fc295a7f.entry.js} +1 -1
- package/dist/ionic/{p-ed75fcfb.system.entry.js → p-fd01cb8a.system.entry.js} +1 -1
- package/dist/ionic/p-fd579866.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-ff861eb0.js} +1 -1
- package/dist/types/utils/config.d.ts +0 -3
- package/hydrate/index.js +42 -64
- package/hydrate/index.mjs +42 -64
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/helpers-9b49d7d2.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
- package/dist/esm-es5/md.transition-33826623.js +0 -4
- package/dist/ionic/p-02e1ebd9.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-0e43be1b.entry.js +0 -4
- package/dist/ionic/p-135e5731.js +0 -4
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-1f405274.js +0 -4
- package/dist/ionic/p-203633d1.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-265939f0.entry.js +0 -4
- package/dist/ionic/p-2c8798d0.entry.js +0 -4
- package/dist/ionic/p-41780810.entry.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-4e131759.entry.js +0 -4
- package/dist/ionic/p-51dec25d.js +0 -4
- package/dist/ionic/p-68dc53a5.js +0 -4
- package/dist/ionic/p-7b98cebe.entry.js +0 -4
- package/dist/ionic/p-82b931e2.entry.js +0 -4
- package/dist/ionic/p-9b3bb24e.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-b3680e2f.system.js +0 -4
- package/dist/ionic/p-b7433d7d.js +0 -4
- package/dist/ionic/p-bb11d9fb.js +0 -4
- package/dist/ionic/p-bb2a6761.entry.js +0 -4
- package/dist/ionic/p-cc700b6b.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-e1bbacb7.entry.js +0 -4
- package/dist/ionic/p-e308de5b.system.js +0 -4
- package/dist/ionic/p-f42743d1.entry.js +0 -4
- package/dist/ionic/p-fca17935.entry.js +0 -4
package/components/alert.js
CHANGED
|
@@ -167,7 +167,6 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
onKeydown(ev) {
|
|
170
|
-
var _a;
|
|
171
170
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
172
171
|
/**
|
|
173
172
|
* Based on keyboard navigation requirements, the
|
|
@@ -177,17 +176,6 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
177
176
|
ev.preventDefault();
|
|
178
177
|
return;
|
|
179
178
|
}
|
|
180
|
-
/**
|
|
181
|
-
* Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
|
|
182
|
-
*/
|
|
183
|
-
if (ev.target.classList.contains('alert-wrapper')) {
|
|
184
|
-
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
185
|
-
ev.preventDefault();
|
|
186
|
-
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
187
|
-
lastChildBtn.focus();
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
179
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
192
180
|
// ignore the keydown event if it is not on a radio button
|
|
193
181
|
if (!inputTypes.has('radio') ||
|
|
@@ -319,16 +307,7 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
319
307
|
async present() {
|
|
320
308
|
const unlock = await this.lockController.lock();
|
|
321
309
|
await this.delegateController.attachViewToDom();
|
|
322
|
-
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation)
|
|
323
|
-
var _a, _b;
|
|
324
|
-
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
325
|
-
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
326
|
-
queryBtn.focus();
|
|
327
|
-
}
|
|
328
|
-
else {
|
|
329
|
-
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
330
|
-
}
|
|
331
|
-
});
|
|
310
|
+
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
|
|
332
311
|
unlock();
|
|
333
312
|
}
|
|
334
313
|
/**
|
|
@@ -502,8 +481,8 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
502
481
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
503
482
|
const mode = getIonMode(this);
|
|
504
483
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
505
|
-
const msgId = `alert-${overlayIndex}-msg`;
|
|
506
484
|
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
485
|
+
const msgId = `alert-${overlayIndex}-msg`;
|
|
507
486
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
508
487
|
/**
|
|
509
488
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -512,9 +491,9 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
512
491
|
* If neither are defined, do not set aria-labelledby.
|
|
513
492
|
*/
|
|
514
493
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
515
|
-
return (h(Host, { key: '
|
|
494
|
+
return (h(Host, Object.assign({ key: 'ad7e14b4f92a09387aa80abfb718a755e4e889d6', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
516
495
|
zIndex: `${20000 + overlayIndex}`,
|
|
517
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '
|
|
496
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '4b4693dca3c910aa9a61c4d90295d785ec6cbe3d', tappable: this.backdropDismiss }), h("div", { key: '64fd19b8f1d8246dcc869053f858bc33506def4b', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'e61ba6f339c3a02cecd37d8b641ee5043018eb29', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '044e00667ffcb74aa2c5e0d0b42669c4004dbb4f', class: "alert-head" }, header && (h("h2", { key: '1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '9c9854dc3b0ad40f1861a49b76d5636afcae9c74', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: '19aaca9912f77cde4ae8079be210eda697ed8de1', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'a85d27c516f7cdbc85b19f40d2f0bd865490b6a7', tabindex: "0", "aria-hidden": "true" })));
|
|
518
497
|
}
|
|
519
498
|
get el() { return this; }
|
|
520
499
|
static get watchers() { return {
|
package/components/helpers.js
CHANGED
|
@@ -169,37 +169,9 @@ const inheritAriaAttributes = (el, ignoreList) => {
|
|
|
169
169
|
return inheritAttributes(el, attributesToInherit);
|
|
170
170
|
};
|
|
171
171
|
const addEventListener = (el, eventName, callback, opts) => {
|
|
172
|
-
var _a;
|
|
173
|
-
if (typeof window !== 'undefined') {
|
|
174
|
-
const win = window;
|
|
175
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
176
|
-
if (config) {
|
|
177
|
-
const ael = config.get('_ael');
|
|
178
|
-
if (ael) {
|
|
179
|
-
return ael(el, eventName, callback, opts);
|
|
180
|
-
}
|
|
181
|
-
else if (config._ael) {
|
|
182
|
-
return config._ael(el, eventName, callback, opts);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
172
|
return el.addEventListener(eventName, callback, opts);
|
|
187
173
|
};
|
|
188
174
|
const removeEventListener = (el, eventName, callback, opts) => {
|
|
189
|
-
var _a;
|
|
190
|
-
if (typeof window !== 'undefined') {
|
|
191
|
-
const win = window;
|
|
192
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
193
|
-
if (config) {
|
|
194
|
-
const rel = config.get('_rel');
|
|
195
|
-
if (rel) {
|
|
196
|
-
return rel(el, eventName, callback, opts);
|
|
197
|
-
}
|
|
198
|
-
else if (config._rel) {
|
|
199
|
-
return config._rel(el, eventName, callback, opts);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
175
|
return el.removeEventListener(eventName, callback, opts);
|
|
204
176
|
};
|
|
205
177
|
/**
|
package/components/ion-select.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createNotchController } from './notch-controller.js';
|
|
6
6
|
import { i as isOptionSelected, c as compareOptions, d as defineCustomElement$8 } from './radio.js';
|
|
7
|
-
import { d as inheritAttributes,
|
|
7
|
+
import { d as inheritAttributes, e as renderHiddenInput, f as focusVisibleElement } from './helpers.js';
|
|
8
8
|
import { c as popoverController, b as actionSheetController, a as alertController, m as modalController } from './overlays.js';
|
|
9
9
|
import { i as isRTL } from './dir.js';
|
|
10
10
|
import { h as hostContext, c as createColorClasses } from './theme.js';
|
|
@@ -177,15 +177,8 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
177
177
|
}
|
|
178
178
|
this.isExpanded = true;
|
|
179
179
|
const overlay = (this.overlay = await this.createOverlay(event));
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
this.isExpanded = false;
|
|
183
|
-
this.ionDismiss.emit();
|
|
184
|
-
this.setFocus();
|
|
185
|
-
});
|
|
186
|
-
await overlay.present();
|
|
187
|
-
// focus selected option for popovers and modals
|
|
188
|
-
if (this.interface === 'popover' || this.interface === 'modal') {
|
|
180
|
+
// Add logic to scroll selected item into view before presenting
|
|
181
|
+
const scrollSelectedIntoView = () => {
|
|
189
182
|
const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
|
|
190
183
|
if (indexOfSelected > -1) {
|
|
191
184
|
const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
|
|
@@ -203,6 +196,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
203
196
|
*/
|
|
204
197
|
const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');
|
|
205
198
|
if (interactiveEl) {
|
|
199
|
+
selectedItem.scrollIntoView({ block: 'nearest' });
|
|
206
200
|
// Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
|
|
207
201
|
// and removing `ion-focused` style
|
|
208
202
|
interactiveEl.setFocus();
|
|
@@ -226,7 +220,40 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
226
220
|
focusVisibleElement(firstEnabledOption.closest('ion-item'));
|
|
227
221
|
}
|
|
228
222
|
}
|
|
223
|
+
};
|
|
224
|
+
// For modals and popovers, we can scroll before they're visible
|
|
225
|
+
if (this.interface === 'modal') {
|
|
226
|
+
overlay.addEventListener('ionModalWillPresent', scrollSelectedIntoView, { once: true });
|
|
227
|
+
}
|
|
228
|
+
else if (this.interface === 'popover') {
|
|
229
|
+
overlay.addEventListener('ionPopoverWillPresent', scrollSelectedIntoView, { once: true });
|
|
229
230
|
}
|
|
231
|
+
else {
|
|
232
|
+
/**
|
|
233
|
+
* For alerts and action sheets, we need to wait a frame after willPresent
|
|
234
|
+
* because these overlays don't have their content in the DOM immediately
|
|
235
|
+
* when willPresent fires. By waiting a frame, we ensure the content is
|
|
236
|
+
* rendered and can be properly scrolled into view.
|
|
237
|
+
*/
|
|
238
|
+
const scrollAfterRender = () => {
|
|
239
|
+
requestAnimationFrame(() => {
|
|
240
|
+
scrollSelectedIntoView();
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
if (this.interface === 'alert') {
|
|
244
|
+
overlay.addEventListener('ionAlertWillPresent', scrollAfterRender, { once: true });
|
|
245
|
+
}
|
|
246
|
+
else if (this.interface === 'action-sheet') {
|
|
247
|
+
overlay.addEventListener('ionActionSheetWillPresent', scrollAfterRender, { once: true });
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
overlay.onDidDismiss().then(() => {
|
|
251
|
+
this.overlay = undefined;
|
|
252
|
+
this.isExpanded = false;
|
|
253
|
+
this.ionDismiss.emit();
|
|
254
|
+
this.setFocus();
|
|
255
|
+
});
|
|
256
|
+
await overlay.present();
|
|
230
257
|
return overlay;
|
|
231
258
|
}
|
|
232
259
|
createOverlay(ev) {
|
|
@@ -638,7 +665,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
638
665
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
639
666
|
*/
|
|
640
667
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
641
|
-
return (h(Host, { key: '
|
|
668
|
+
return (h(Host, { key: 'b2dca9ae25d88e4d9fdb55003041a66be5668fcf', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
642
669
|
[mode]: true,
|
|
643
670
|
'in-item': inItem,
|
|
644
671
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -654,7 +681,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
654
681
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
655
682
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
656
683
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
657
|
-
}) }, h("label", { key: '
|
|
684
|
+
}) }, h("label", { key: 'c22fe9aee8cd448223497ef143e89529fcef8af6', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '601972df4579f4fa6a9c2c12865593e807decb72', class: "select-wrapper-inner" }, h("slot", { key: '5f7b1261862f74b978b26f026533e3fd1cc666ba', name: "start" }), h("div", { key: '39616da89f4b4b78432f6da85116a7de2ca589e7', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1d7b3601b73af7c05b3627cfc8e5147ea379bb03', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'b0344f0ac15003e22fee66d3d7ed03a07da7e8b7', class: "select-highlight" }))));
|
|
658
685
|
}
|
|
659
686
|
get el() { return this; }
|
|
660
687
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { setMode, getMode } from '@stencil/core/internal/client';
|
|
5
5
|
|
|
6
6
|
// TODO(FW-2832): types
|
|
7
7
|
class Config {
|
|
@@ -178,17 +178,6 @@ const initialize = (userConfig = {}) => {
|
|
|
178
178
|
const doc = window.document;
|
|
179
179
|
const win = window;
|
|
180
180
|
const Ionic = (win.Ionic = win.Ionic || {});
|
|
181
|
-
const platformHelpers = {};
|
|
182
|
-
if (userConfig._ael) {
|
|
183
|
-
platformHelpers.ael = userConfig._ael;
|
|
184
|
-
}
|
|
185
|
-
if (userConfig._rel) {
|
|
186
|
-
platformHelpers.rel = userConfig._rel;
|
|
187
|
-
}
|
|
188
|
-
if (userConfig._ce) {
|
|
189
|
-
platformHelpers.ce = userConfig._ce;
|
|
190
|
-
}
|
|
191
|
-
setPlatformHelpers(platformHelpers);
|
|
192
181
|
// create the Ionic.config from raw config object (if it exists)
|
|
193
182
|
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
194
183
|
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
-
require('./index-
|
|
7
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
8
|
+
require('./index-2e236a04.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* CloseWatcher is a newer API that lets
|
|
@@ -171,37 +171,9 @@ const inheritAriaAttributes = (el, ignoreList) => {
|
|
|
171
171
|
return inheritAttributes(el, attributesToInherit);
|
|
172
172
|
};
|
|
173
173
|
const addEventListener = (el, eventName, callback, opts) => {
|
|
174
|
-
var _a;
|
|
175
|
-
if (typeof window !== 'undefined') {
|
|
176
|
-
const win = window;
|
|
177
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
178
|
-
if (config) {
|
|
179
|
-
const ael = config.get('_ael');
|
|
180
|
-
if (ael) {
|
|
181
|
-
return ael(el, eventName, callback, opts);
|
|
182
|
-
}
|
|
183
|
-
else if (config._ael) {
|
|
184
|
-
return config._ael(el, eventName, callback, opts);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
174
|
return el.addEventListener(eventName, callback, opts);
|
|
189
175
|
};
|
|
190
176
|
const removeEventListener = (el, eventName, callback, opts) => {
|
|
191
|
-
var _a;
|
|
192
|
-
if (typeof window !== 'undefined') {
|
|
193
|
-
const win = window;
|
|
194
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
195
|
-
if (config) {
|
|
196
|
-
const rel = config.get('_rel');
|
|
197
|
-
if (rel) {
|
|
198
|
-
return rel(el, eventName, callback, opts);
|
|
199
|
-
}
|
|
200
|
-
else if (config._rel) {
|
|
201
|
-
return config._rel(el, eventName, callback, opts);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
177
|
return el.removeEventListener(eventName, callback, opts);
|
|
206
178
|
};
|
|
207
179
|
/**
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index$1 = require('./index-c8d52405.js');
|
|
7
|
-
const hardwareBackButton = require('./hardware-back-button-
|
|
7
|
+
const hardwareBackButton = require('./hardware-back-button-25324112.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
9
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
10
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
11
11
|
const animation = require('./animation-b4fdf128.js');
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -118,9 +118,6 @@ var plt = {
|
|
|
118
118
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
119
119
|
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
120
120
|
};
|
|
121
|
-
var setPlatformHelpers = (helpers) => {
|
|
122
|
-
Object.assign(plt, helpers);
|
|
123
|
-
};
|
|
124
121
|
var supportsShadow = BUILD.shadowDom;
|
|
125
122
|
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
126
123
|
let supportsListenerOptions2 = false;
|
|
@@ -2322,5 +2319,4 @@ exports.readTask = readTask;
|
|
|
2322
2319
|
exports.registerInstance = registerInstance;
|
|
2323
2320
|
exports.setMode = setMode;
|
|
2324
2321
|
exports.setNonce = setNonce;
|
|
2325
|
-
exports.setPlatformHelpers = setPlatformHelpers;
|
|
2326
2322
|
exports.writeTask = writeTask;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const ionicGlobal = require('./ionic-global-
|
|
7
|
-
const index$1 = require('./index-
|
|
6
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
7
|
+
const index$1 = require('./index-2e236a04.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
10
10
|
|
|
11
11
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
12
12
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -122,8 +122,8 @@ const createFocusController = () => {
|
|
|
122
122
|
};
|
|
123
123
|
const LAST_FOCUS = 'ion-last-focus';
|
|
124
124
|
|
|
125
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
126
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
125
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-c3e3b768.js'); });
|
|
126
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-91d9b2db.js'); });
|
|
127
127
|
const focusController = createFocusController();
|
|
128
128
|
// TODO(FW-2832): types
|
|
129
129
|
const transition = (opts) => {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,23 +6,23 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const animation = require('./animation-b4fdf128.js');
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const index = require('./index-a9253094.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-c3e3b768.js');
|
|
11
|
+
const md_transition = require('./md.transition-91d9b2db.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
const helpers = require('./helpers-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
15
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-17772b90.js');
|
|
19
|
+
const overlays = require('./overlays-93c1a579.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
|
-
require('./index-
|
|
21
|
+
require('./index-2e236a04.js');
|
|
22
22
|
require('./index-5915f9b3.js');
|
|
23
23
|
require('./gesture-controller-9436f482.js');
|
|
24
|
-
require('./hardware-back-button-
|
|
25
|
-
require('./framework-delegate-
|
|
24
|
+
require('./hardware-back-button-25324112.js');
|
|
25
|
+
require('./framework-delegate-2a11ff27.js');
|
|
26
26
|
|
|
27
27
|
const IonicSlides = (opts) => {
|
|
28
28
|
const { swiper, extendParams } = opts;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const helpers = require('./helpers-
|
|
7
|
+
const index$1 = require('./index-5235cd7a.js');
|
|
8
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
9
9
|
const keyboard = require('./keyboard-0272231f.js');
|
|
10
10
|
require('./index-5915f9b3.js');
|
|
11
11
|
require('./capacitor-c04564bf.js');
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const helpers = require('./helpers-
|
|
8
|
+
const index = require('./index-2e236a04.js');
|
|
9
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
10
10
|
const index$1 = require('./index-073c7cdc.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
12
12
|
const index$2 = require('./index-5915f9b3.js');
|
|
13
13
|
|
|
14
14
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const buttonActive = require('./button-active-
|
|
10
|
-
const helpers = require('./helpers-
|
|
8
|
+
const index = require('./index-2e236a04.js');
|
|
9
|
+
const buttonActive = require('./button-active-43e2b419.js');
|
|
10
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-93c1a579.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
15
15
|
const animation = require('./animation-b4fdf128.js');
|
|
16
16
|
require('./haptic-f6b37aa3.js');
|
|
17
17
|
require('./capacitor-c04564bf.js');
|
|
18
18
|
require('./index-c8d52405.js');
|
|
19
19
|
require('./index-ee07ed59.js');
|
|
20
20
|
require('./gesture-controller-9436f482.js');
|
|
21
|
-
require('./hardware-back-button-
|
|
22
|
-
require('./framework-delegate-
|
|
21
|
+
require('./hardware-back-button-25324112.js');
|
|
22
|
+
require('./framework-delegate-2a11ff27.js');
|
|
23
23
|
require('./index-5915f9b3.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-2e236a04.js');
|
|
9
9
|
const config = require('./config-4f60b98a.js');
|
|
10
|
-
const buttonActive = require('./button-active-
|
|
11
|
-
const helpers = require('./helpers-
|
|
10
|
+
const buttonActive = require('./button-active-43e2b419.js');
|
|
11
|
+
const helpers = require('./helpers-06f744d7.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-93c1a579.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
+
const ionicGlobal = require('./ionic-global-20cee824.js');
|
|
16
16
|
const animation = require('./animation-b4fdf128.js');
|
|
17
17
|
require('./haptic-f6b37aa3.js');
|
|
18
18
|
require('./capacitor-c04564bf.js');
|
|
19
19
|
require('./index-c8d52405.js');
|
|
20
20
|
require('./index-ee07ed59.js');
|
|
21
21
|
require('./gesture-controller-9436f482.js');
|
|
22
|
-
require('./hardware-back-button-
|
|
23
|
-
require('./framework-delegate-
|
|
22
|
+
require('./hardware-back-button-25324112.js');
|
|
23
|
+
require('./framework-delegate-2a11ff27.js');
|
|
24
24
|
require('./index-5915f9b3.js');
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -176,7 +176,6 @@ const Alert = class {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
onKeydown(ev) {
|
|
179
|
-
var _a;
|
|
180
179
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
181
180
|
/**
|
|
182
181
|
* Based on keyboard navigation requirements, the
|
|
@@ -186,17 +185,6 @@ const Alert = class {
|
|
|
186
185
|
ev.preventDefault();
|
|
187
186
|
return;
|
|
188
187
|
}
|
|
189
|
-
/**
|
|
190
|
-
* Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
|
|
191
|
-
*/
|
|
192
|
-
if (ev.target.classList.contains('alert-wrapper')) {
|
|
193
|
-
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
194
|
-
ev.preventDefault();
|
|
195
|
-
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
196
|
-
lastChildBtn.focus();
|
|
197
|
-
return;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
188
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
201
189
|
// ignore the keydown event if it is not on a radio button
|
|
202
190
|
if (!inputTypes.has('radio') ||
|
|
@@ -328,16 +316,7 @@ const Alert = class {
|
|
|
328
316
|
async present() {
|
|
329
317
|
const unlock = await this.lockController.lock();
|
|
330
318
|
await this.delegateController.attachViewToDom();
|
|
331
|
-
await overlays.present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation)
|
|
332
|
-
var _a, _b;
|
|
333
|
-
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
334
|
-
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
335
|
-
queryBtn.focus();
|
|
336
|
-
}
|
|
337
|
-
else {
|
|
338
|
-
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
339
|
-
}
|
|
340
|
-
});
|
|
319
|
+
await overlays.present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
|
|
341
320
|
unlock();
|
|
342
321
|
}
|
|
343
322
|
/**
|
|
@@ -511,8 +490,8 @@ const Alert = class {
|
|
|
511
490
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
512
491
|
const mode = ionicGlobal.getIonMode(this);
|
|
513
492
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
514
|
-
const msgId = `alert-${overlayIndex}-msg`;
|
|
515
493
|
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
494
|
+
const msgId = `alert-${overlayIndex}-msg`;
|
|
516
495
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
517
496
|
/**
|
|
518
497
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -521,9 +500,9 @@ const Alert = class {
|
|
|
521
500
|
* If neither are defined, do not set aria-labelledby.
|
|
522
501
|
*/
|
|
523
502
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
524
|
-
return (index.h(index.Host, { key: '
|
|
503
|
+
return (index.h(index.Host, Object.assign({ key: 'ad7e14b4f92a09387aa80abfb718a755e4e889d6', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
525
504
|
zIndex: `${20000 + overlayIndex}`,
|
|
526
|
-
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index.h("ion-backdrop", { key: '
|
|
505
|
+
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), index.h("ion-backdrop", { key: '4b4693dca3c910aa9a61c4d90295d785ec6cbe3d', tappable: this.backdropDismiss }), index.h("div", { key: '64fd19b8f1d8246dcc869053f858bc33506def4b', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: 'e61ba6f339c3a02cecd37d8b641ee5043018eb29', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index.h("div", { key: '044e00667ffcb74aa2c5e0d0b42669c4004dbb4f', class: "alert-head" }, header && (index.h("h2", { key: '1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (index.h("h2", { key: '9c9854dc3b0ad40f1861a49b76d5636afcae9c74', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (index.h("h3", { key: '19aaca9912f77cde4ae8079be210eda697ed8de1', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), index.h("div", { key: 'a85d27c516f7cdbc85b19f40d2f0bd865490b6a7', tabindex: "0", "aria-hidden": "true" })));
|
|
527
506
|
}
|
|
528
507
|
get el() { return index.getElement(this); }
|
|
529
508
|
static get watchers() { return {
|