voyager-ionic-core 8.2.5 → 8.3.1
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/action-sheet.js +7 -4
- package/components/alert.js +6 -3
- package/components/checkbox.js +9 -9
- package/components/ion-content.js +9 -5
- package/components/ion-datetime.js +3 -3
- package/components/ion-loading.js +6 -3
- package/components/ion-modal.js +8 -5
- package/components/ion-picker-legacy.js +6 -3
- package/components/ion-range.js +10 -7
- package/components/ion-select.js +6 -6
- package/components/ion-tabs.js +12 -2
- package/components/ion-toast.js +6 -3
- package/components/ion-toggle.js +9 -9
- package/components/item.js +3 -3
- package/components/popover.js +4 -3
- package/components/radio.js +9 -9
- package/dist/cjs/{app-globals-7dbf2ade.js → app-globals-21afee77.js} +1 -1
- package/dist/cjs/{button-active-cf1c215d.js → button-active-3f2f60b4.js} +1 -1
- package/dist/cjs/{hardware-back-button-ddbc12ea.js → hardware-back-button-9e8a2c4f.js} +2 -2
- package/dist/cjs/{index-480c143c.js → index-73f75efb.js} +47 -29
- package/dist/cjs/{index-a3f97de0.js → index-9cd00dc3.js} +2 -2
- package/dist/cjs/{index-24fe3fe6.js → index-f05acd21.js} +4 -4
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +12 -9
- package/dist/cjs/ion-alert.cjs.entry.js +11 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +14 -10
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +11 -11
- 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 +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +13 -10
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +5 -5
- package/dist/cjs/ion-loading.cjs.entry.js +10 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +13 -10
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +9 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +11 -11
- package/dist/cjs/ion-range.cjs.entry.js +12 -9
- 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 +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +10 -10
- 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 +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -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 +10 -7
- package/dist/cjs/ion-toggle.cjs.entry.js +11 -11
- package/dist/cjs/{ionic-global-c1db87a5.js → ionic-global-d9a8bb5b.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-8419294d.js → ios.transition-cf40433b.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-39852d6b.js → md.transition-ededf99f.js} +3 -3
- package/dist/cjs/{overlays-55d77381.js → overlays-0123d7d4.js} +2 -2
- package/dist/cjs/{status-tap-b68fa888.js → status-tap-37681226.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/action-sheet/action-sheet.js +7 -4
- package/dist/collection/components/alert/alert.js +6 -3
- package/dist/collection/components/checkbox/checkbox.ios.css +11 -1
- package/dist/collection/components/checkbox/checkbox.js +15 -17
- package/dist/collection/components/checkbox/checkbox.md.css +11 -1
- package/dist/collection/components/content/content.js +9 -5
- package/dist/collection/components/datetime/datetime.js +3 -3
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/loading/loading.js +6 -3
- package/dist/collection/components/modal/modal.js +8 -5
- package/dist/collection/components/picker-legacy/picker.js +6 -3
- package/dist/collection/components/popover/popover.js +4 -3
- package/dist/collection/components/radio/radio.ios.css +9 -0
- package/dist/collection/components/radio/radio.js +15 -17
- package/dist/collection/components/radio/radio.md.css +9 -0
- package/dist/collection/components/range/range.js +10 -7
- package/dist/collection/components/select/select.ios.css +1 -0
- package/dist/collection/components/select/select.js +7 -8
- package/dist/collection/components/select/select.md.css +1 -0
- package/dist/collection/components/tabs/tabs.js +12 -2
- package/dist/collection/components/toast/toast.js +6 -3
- package/dist/collection/components/toggle/toggle.ios.css +10 -0
- package/dist/collection/components/toggle/toggle.js +15 -17
- package/dist/collection/components/toggle/toggle.md.css +10 -0
- package/dist/docs.json +51 -37
- package/dist/esm/{app-globals-7f30ce3c.js → app-globals-5dbb61a5.js} +1 -1
- package/dist/esm/{button-active-78f50add.js → button-active-f6503382.js} +1 -1
- package/dist/esm/{hardware-back-button-2e99752e.js → hardware-back-button-06ef3c3e.js} +2 -2
- package/dist/esm/{index-7a952e7a.js → index-28849c61.js} +47 -29
- package/dist/esm/{index-8808daa5.js → index-3ad7f18b.js} +4 -4
- package/dist/esm/{index-4094f808.js → index-fe1782b1.js} +2 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +12 -9
- package/dist/esm/ion-alert.entry.js +11 -8
- package/dist/esm/ion-app_8.entry.js +15 -11
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +11 -11
- 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 +2 -2
- package/dist/esm/ion-datetime_3.entry.js +13 -10
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +5 -5
- package/dist/esm/ion-loading.entry.js +10 -7
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +13 -10
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +9 -8
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +11 -11
- package/dist/esm/ion-range.entry.js +12 -9
- 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 +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +10 -10
- 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 +2 -2
- package/dist/esm/ion-tab_2.entry.js +13 -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 +10 -7
- package/dist/esm/ion-toggle.entry.js +11 -11
- package/dist/esm/{ionic-global-81a1064f.js → ionic-global-c81d82ab.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-0a5004b4.js → ios.transition-4ee1a3af.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-b6135ada.js → md.transition-5106a0d2.js} +3 -3
- package/dist/esm/{overlays-e1bad9cd.js → overlays-9c75ec54.js} +2 -2
- package/dist/esm/{status-tap-17122cea.js → status-tap-f472b09f.js} +1 -1
- package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
- package/dist/esm-es5/{button-active-78f50add.js → button-active-f6503382.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-2e99752e.js → hardware-back-button-06ef3c3e.js} +1 -1
- package/dist/esm-es5/index-28849c61.js +5 -0
- package/dist/esm-es5/{index-8808daa5.js → index-3ad7f18b.js} +1 -1
- package/dist/esm-es5/{index-4094f808.js → index-fe1782b1.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-81a1064f.js → ionic-global-c81d82ab.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-0a5004b4.js → ios.transition-4ee1a3af.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
- package/dist/esm-es5/{overlays-e1bad9cd.js → overlays-9c75ec54.js} +1 -1
- package/dist/esm-es5/{status-tap-17122cea.js → status-tap-f472b09f.js} +1 -1
- package/dist/html.html-data.json +6 -6
- 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-003eecb9.entry.js +4 -0
- package/dist/ionic/{p-15c36478.system.entry.js → p-00b01a55.system.entry.js} +1 -1
- package/dist/ionic/{p-d450f1f9.system.entry.js → p-01503bbd.system.entry.js} +1 -1
- package/dist/ionic/{p-dc4a3358.js → p-0303d0f8.js} +1 -1
- package/dist/ionic/p-0373d924.system.entry.js +4 -0
- package/dist/ionic/{p-972902db.js → p-0574e87e.js} +1 -1
- package/dist/ionic/p-08127172.entry.js +4 -0
- package/dist/ionic/{p-fafa4d9b.entry.js → p-0fa0c92b.entry.js} +1 -1
- package/dist/ionic/p-100b83fd.system.entry.js +4 -0
- package/dist/ionic/{p-6904a62e.system.entry.js → p-16207409.system.entry.js} +1 -1
- package/dist/ionic/p-17474161.system.js +4 -0
- package/dist/ionic/{p-60a6fadb.entry.js → p-176b372f.entry.js} +1 -1
- package/dist/ionic/{p-46cf378f.entry.js → p-21cfd4de.entry.js} +1 -1
- package/dist/ionic/p-21e5e7e4.js +4 -0
- package/dist/ionic/p-2200e26b.entry.js +4 -0
- package/dist/ionic/{p-ed8726ad.system.entry.js → p-22c020db.system.entry.js} +1 -1
- package/dist/ionic/{p-4c68bf47.entry.js → p-233e6c93.entry.js} +1 -1
- package/dist/ionic/p-25180df3.system.js +5 -0
- package/dist/ionic/{p-fd61bdcd.system.entry.js → p-25928b83.system.entry.js} +1 -1
- package/dist/ionic/p-293ed6ac.system.entry.js +4 -0
- package/dist/ionic/p-2b7c93b4.entry.js +4 -0
- package/dist/ionic/{p-5c5e7f5c.entry.js → p-2c4bdd9d.entry.js} +1 -1
- package/dist/ionic/{p-b7b4c08d.system.entry.js → p-2ca6eac2.system.entry.js} +1 -1
- package/dist/ionic/{p-33ce19cf.system.entry.js → p-2ea1ca4f.system.entry.js} +1 -1
- package/dist/ionic/{p-6b14212a.system.entry.js → p-313ccc01.system.entry.js} +1 -1
- package/dist/ionic/{p-767a0d69.system.js → p-322c5fb4.system.js} +1 -1
- package/dist/ionic/{p-3fcfe35c.system.js → p-372ae7f4.system.js} +1 -1
- package/dist/ionic/{p-8df34150.system.js → p-3c8e5c23.system.js} +1 -1
- package/dist/ionic/{p-11c4215a.system.entry.js → p-3c968c7f.system.entry.js} +1 -1
- package/dist/ionic/{p-f8856320.entry.js → p-49bc6544.entry.js} +1 -1
- package/dist/ionic/{p-6fb5e9a7.system.entry.js → p-4a0a4204.system.entry.js} +1 -1
- package/dist/ionic/{p-611bb4d1.system.entry.js → p-4a82bd1c.system.entry.js} +1 -1
- package/dist/ionic/{p-f0899af9.system.entry.js → p-4b0fedb7.system.entry.js} +1 -1
- package/dist/ionic/{p-7dbadc9f.entry.js → p-4c8fceb0.entry.js} +1 -1
- package/dist/ionic/p-521eca2e.entry.js +4 -0
- package/dist/ionic/{p-f81cef9b.entry.js → p-53854390.entry.js} +1 -1
- package/dist/ionic/{p-f7ed7806.entry.js → p-5417b9bb.entry.js} +1 -1
- package/dist/ionic/{p-cfcc1b63.system.js → p-5da94421.system.js} +1 -1
- package/dist/ionic/{p-057c2f6f.entry.js → p-5e66bcf2.entry.js} +1 -1
- package/dist/ionic/{p-0abd2546.entry.js → p-5e842258.entry.js} +1 -1
- package/dist/ionic/{p-6782ffa5.system.entry.js → p-6562e0a9.system.entry.js} +1 -1
- package/dist/ionic/{p-c21ea624.system.entry.js → p-6817cf42.system.entry.js} +1 -1
- package/dist/ionic/{p-cb19fdbf.entry.js → p-68c4df55.entry.js} +1 -1
- package/dist/ionic/p-69066a53.js +4 -0
- package/dist/ionic/{p-98566693.entry.js → p-6b8893dd.entry.js} +1 -1
- package/dist/ionic/{p-7e192c6a.entry.js → p-6e85e450.entry.js} +1 -1
- package/dist/ionic/{p-deb257b7.entry.js → p-7243df6f.entry.js} +1 -1
- package/dist/ionic/{p-3b767add.entry.js → p-7251fed5.entry.js} +1 -1
- package/dist/ionic/p-72ffd137.system.entry.js +4 -0
- package/dist/ionic/{p-ef83f46b.system.entry.js → p-755b27f0.system.entry.js} +1 -1
- package/dist/ionic/{p-a8ed8cd3.system.entry.js → p-75c0dc65.system.entry.js} +1 -1
- package/dist/ionic/{p-4f54d1aa.system.entry.js → p-772dacba.system.entry.js} +1 -1
- package/dist/ionic/{p-271076f2.entry.js → p-773d118d.entry.js} +1 -1
- package/dist/ionic/p-7740e32c.system.js +4 -0
- package/dist/ionic/p-836d39d4.system.entry.js +4 -0
- package/dist/ionic/{p-a69e118f.entry.js → p-854f9b64.entry.js} +1 -1
- package/dist/ionic/p-85f73bdd.system.entry.js +4 -0
- package/dist/ionic/{p-6ef231bc.system.entry.js → p-8836d0eb.system.entry.js} +1 -1
- package/dist/ionic/{p-1974d32f.js → p-88e63c7d.js} +1 -1
- package/dist/ionic/{p-344d6225.entry.js → p-89a0a446.entry.js} +1 -1
- package/dist/ionic/{p-09f64b99.system.entry.js → p-8b6232a6.system.entry.js} +1 -1
- package/dist/ionic/{p-c2438564.entry.js → p-8d44cf1f.entry.js} +1 -1
- package/dist/ionic/{p-6db3f661.system.entry.js → p-8ed31163.system.entry.js} +1 -1
- package/dist/ionic/p-9172535c.entry.js +4 -0
- package/dist/ionic/{p-283c6631.entry.js → p-92d7a3d1.entry.js} +1 -1
- package/dist/ionic/{p-527815e1.system.entry.js → p-93f37ceb.system.entry.js} +1 -1
- package/dist/ionic/{p-0db55ab4.system.entry.js → p-95823c62.system.entry.js} +1 -1
- package/dist/ionic/{p-49c011e3.system.entry.js → p-960803fc.system.entry.js} +1 -1
- package/dist/ionic/{p-aa34fd2f.system.entry.js → p-973f0b15.system.entry.js} +1 -1
- package/dist/ionic/{p-ef57ad27.system.js → p-98871496.system.js} +1 -1
- package/dist/ionic/{p-b7d1659f.system.entry.js → p-9b6c6302.system.entry.js} +1 -1
- package/dist/ionic/{p-7a6e6896.entry.js → p-9c23044d.entry.js} +1 -1
- package/dist/ionic/{p-3b11ab95.system.entry.js → p-9cc3bcc5.system.entry.js} +1 -1
- package/dist/ionic/{p-679744bf.entry.js → p-9ece8dcf.entry.js} +1 -1
- package/dist/ionic/p-9f3008d4.system.js +4 -0
- package/dist/ionic/{p-090c318d.entry.js → p-9fef1364.entry.js} +1 -1
- package/dist/ionic/{p-013621f0.system.entry.js → p-a0c88dc2.system.entry.js} +1 -1
- package/dist/ionic/{p-5303af24.system.entry.js → p-a3711608.system.entry.js} +1 -1
- package/dist/ionic/p-a41699db.entry.js +4 -0
- package/dist/ionic/p-a440397c.js +4 -0
- package/dist/ionic/{p-5c00ca73.system.js → p-a4565eb5.system.js} +1 -1
- package/dist/ionic/{p-b0bd4813.system.js → p-a4d51b8d.system.js} +1 -1
- package/dist/ionic/{p-2a08e244.system.js → p-a69b9fc5.system.js} +1 -1
- package/dist/ionic/{p-c29d39e0.system.entry.js → p-a72fb8a1.system.entry.js} +2 -2
- package/dist/ionic/{p-4de0819c.system.entry.js → p-a879ecb7.system.entry.js} +1 -1
- package/dist/ionic/{p-70e786ea.entry.js → p-ab8a2ff1.entry.js} +1 -1
- package/dist/ionic/{p-a60914c0.entry.js → p-af999a31.entry.js} +1 -1
- package/dist/ionic/{p-d755fc91.system.entry.js → p-b0180ce1.system.entry.js} +1 -1
- package/dist/ionic/p-b4c950f8.entry.js +4 -0
- package/dist/ionic/p-b54fc1ae.entry.js +4 -0
- package/dist/ionic/{p-df4c53fe.entry.js → p-b7657e8d.entry.js} +1 -1
- package/dist/ionic/{p-e8162d35.system.entry.js → p-baffaf8d.system.entry.js} +1 -1
- package/dist/ionic/p-bd25d639.system.entry.js +4 -0
- package/dist/ionic/{p-3961b22e.entry.js → p-bfa2e81c.entry.js} +1 -1
- package/dist/ionic/{p-1c6cd5bc.entry.js → p-c34659b9.entry.js} +1 -1
- package/dist/ionic/{p-fc55e1c2.system.entry.js → p-cdb11938.system.entry.js} +1 -1
- package/dist/ionic/{p-437d3e12.system.entry.js → p-ce705aac.system.entry.js} +1 -1
- package/dist/ionic/{p-4a3d2f75.system.entry.js → p-cff5585e.system.entry.js} +1 -1
- package/dist/ionic/p-d57661a1.entry.js +4 -0
- package/dist/ionic/{p-678beb9e.js → p-d6841eac.js} +1 -1
- package/dist/ionic/{p-274496f1.js → p-d743e981.js} +1 -1
- package/dist/ionic/{p-4c06d890.entry.js → p-d77e12ca.entry.js} +1 -1
- package/dist/ionic/p-d836d43e.js +5 -0
- package/dist/ionic/{p-bbeeadc8.entry.js → p-da263d8e.entry.js} +1 -1
- package/dist/ionic/{p-5d0b285d.system.entry.js → p-df83e308.system.entry.js} +1 -1
- package/dist/ionic/{p-25467ef7.entry.js → p-e3a5da9d.entry.js} +1 -1
- package/dist/ionic/{p-4d96e6a7.entry.js → p-e3e1e3de.entry.js} +1 -1
- package/dist/ionic/p-e3f13b08.js +4 -0
- package/dist/ionic/p-ecb57d24.system.entry.js +4 -0
- package/dist/ionic/{p-9d88dc43.js → p-ecceeb90.js} +1 -1
- package/dist/ionic/{p-fed12de8.system.entry.js → p-ed6962d3.system.entry.js} +1 -1
- package/dist/ionic/{p-2496a357.entry.js → p-efaffe74.entry.js} +1 -1
- package/dist/ionic/{p-cec53b82.system.entry.js → p-f1acf541.system.entry.js} +2 -2
- package/dist/ionic/{p-4a0db73d.system.entry.js → p-f50ae0d5.system.entry.js} +1 -1
- package/dist/ionic/{p-fca84e5b.entry.js → p-f559ac5b.entry.js} +1 -1
- package/dist/ionic/p-f88ebc36.entry.js +4 -0
- package/dist/ionic/{p-c8a847f1.entry.js → p-f8c8b9ba.entry.js} +1 -1
- package/dist/ionic/{p-e72fcc94.system.js → p-f9a53abb.system.js} +1 -1
- package/dist/ionic/{p-ddd3b389.system.entry.js → p-fcd71204.system.entry.js} +1 -1
- package/dist/ionic/p-fd0cb4ef.entry.js +4 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -2
- package/dist/types/components/content/content.d.ts +2 -0
- package/dist/types/components/datetime/utils/format.d.ts +1 -1
- package/dist/types/components/datetime/utils/helpers.d.ts +1 -1
- package/dist/types/components/datetime/utils/manipulation.d.ts +6 -6
- package/dist/types/components/radio/radio.d.ts +4 -2
- package/dist/types/components/router/utils/matching.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +4 -2
- package/dist/types/components.d.ts +19 -19
- package/dist/types/utils/input-shims/input-shims.d.ts +1 -1
- package/dist/types/utils/rtl/dir.d.ts +1 -1
- package/dist/types/utils/test/platform.utils.d.ts +0 -1
- package/dist/types/utils/test/playwright/page/utils/goto.d.ts +1 -5
- package/dist/types/utils/test/playwright/page/utils/locator.d.ts +1 -1
- package/hydrate/index.js +267 -205
- package/hydrate/index.mjs +267 -205
- package/package.json +6 -6
- package/dist/esm-es5/app-globals-7f30ce3c.js +0 -4
- package/dist/esm-es5/index-7a952e7a.js +0 -5
- package/dist/esm-es5/md.transition-b6135ada.js +0 -4
- package/dist/ionic/p-071cb08a.entry.js +0 -4
- package/dist/ionic/p-130ce79e.entry.js +0 -4
- package/dist/ionic/p-14f0f49f.system.js +0 -4
- package/dist/ionic/p-1b2c22ed.entry.js +0 -4
- package/dist/ionic/p-39af4fa4.system.entry.js +0 -4
- package/dist/ionic/p-41e85f07.js +0 -4
- package/dist/ionic/p-4af59128.entry.js +0 -4
- package/dist/ionic/p-54690f26.system.entry.js +0 -4
- package/dist/ionic/p-57c9689a.entry.js +0 -4
- package/dist/ionic/p-5a28559b.js +0 -5
- package/dist/ionic/p-5e687df9.js +0 -4
- package/dist/ionic/p-67bc0359.entry.js +0 -4
- package/dist/ionic/p-6e3e94e2.js +0 -4
- package/dist/ionic/p-6f7eb5d1.system.js +0 -5
- package/dist/ionic/p-7048fe74.entry.js +0 -4
- package/dist/ionic/p-804c9125.system.entry.js +0 -4
- package/dist/ionic/p-88c0ff08.system.entry.js +0 -4
- package/dist/ionic/p-9847b92f.system.entry.js +0 -4
- package/dist/ionic/p-9aae0bf3.entry.js +0 -4
- package/dist/ionic/p-9df171a1.entry.js +0 -4
- package/dist/ionic/p-b2cd7aae.js +0 -4
- package/dist/ionic/p-b59d0fab.system.js +0 -4
- package/dist/ionic/p-d274a7d8.entry.js +0 -4
- package/dist/ionic/p-d950be65.entry.js +0 -4
- package/dist/ionic/p-ec1562e7.system.js +0 -4
- package/dist/ionic/p-eda5abe2.entry.js +0 -4
- package/dist/ionic/p-f66fed32.system.entry.js +0 -4
- package/dist/ionic/p-f8083fd4.system.entry.js +0 -4
- package/dist/ionic/p-fe74ecc0.system.entry.js +0 -4
package/dist/cjs/ionic.cjs.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const appGlobals = require('./app-globals-21afee77.js');
|
|
10
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
Stencil Client Patch Browser v4.
|
|
13
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
14
14
|
*/
|
|
15
15
|
var patchBrowser = () => {
|
|
16
16
|
{
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const animation = require('./animation-b4fdf128.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-f05acd21.js');
|
|
8
8
|
require('./index-c8d52405.js');
|
|
9
|
-
require('./ionic-global-
|
|
10
|
-
require('./index-
|
|
9
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
10
|
+
require('./index-73f75efb.js');
|
|
11
11
|
require('./index-5915f9b3.js');
|
|
12
12
|
require('./helpers-afaa9001.js');
|
|
13
13
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const appGlobals = require('./app-globals-21afee77.js');
|
|
10
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = async (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const animation = require('./animation-b4fdf128.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-f05acd21.js');
|
|
8
8
|
require('./index-c8d52405.js');
|
|
9
|
-
require('./ionic-global-
|
|
10
|
-
require('./index-
|
|
9
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
10
|
+
require('./index-73f75efb.js');
|
|
11
11
|
require('./index-5915f9b3.js');
|
|
12
12
|
require('./helpers-afaa9001.js');
|
|
13
13
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
7
|
const helpers = require('./helpers-afaa9001.js');
|
|
8
|
-
const hardwareBackButton = require('./hardware-back-button-
|
|
9
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
+
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
10
10
|
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
11
11
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
12
|
const index$1 = require('./index-5915f9b3.js');
|
|
@@ -146,7 +146,10 @@ export class ActionSheet {
|
|
|
146
146
|
this.triggerController.removeClickListener();
|
|
147
147
|
}
|
|
148
148
|
componentWillLoad() {
|
|
149
|
-
|
|
149
|
+
var _a;
|
|
150
|
+
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
151
|
+
setOverlayId(this.el);
|
|
152
|
+
}
|
|
150
153
|
}
|
|
151
154
|
componentDidLoad() {
|
|
152
155
|
/**
|
|
@@ -191,12 +194,12 @@ export class ActionSheet {
|
|
|
191
194
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
192
195
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
193
196
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
194
|
-
return (h(Host, Object.assign({ key: '
|
|
197
|
+
return (h(Host, Object.assign({ key: '7bbd202ca9e19727e7514abbe073687d982f80c3', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
195
198
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
196
|
-
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '
|
|
199
|
+
}, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '23344a9221a2e6720d7b9de5249dc37256cafa7b', tappable: this.backdropDismiss }), h("div", { key: 'd46361bb5cdc32a7922dcf76b566f358a6174bfa', tabindex: "0" }), h("div", { key: '136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '6168ea8b2be42020b2edeb8ff3a0f3d1254be37a', class: "action-sheet-container" }, h("div", { key: '29b9e6619dc54574733a704d6bf885839151bd84', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (h("div", { key: '536ce764bfddb3816ea3512d90f4acef2ccb8589', id: headerID, class: {
|
|
197
200
|
'action-sheet-title': true,
|
|
198
201
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
199
|
-
} }, header, this.subHeader && h("div", { key: '
|
|
202
|
+
} }, header, this.subHeader && h("div", { key: '6d888219145824fd36cdfe0d3c8388bbf2769777', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { key: '46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: 'e3c457bced8ad5f692e48de26e65f731fd631b4f' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '4cba6dc559f734ecc852e024959210cd0dd25354', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: '9df64989aad1b4d1e75edf4d37ab208965cfe37f', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", { key: '558089275a29177cefdb2e38eefc9b5c8b62872b' })))))), h("div", { key: 'fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc', tabindex: "0" })));
|
|
200
203
|
}
|
|
201
204
|
static get is() { return "ion-action-sheet"; }
|
|
202
205
|
static get encapsulation() { return "scoped"; }
|
|
@@ -163,7 +163,10 @@ export class Alert {
|
|
|
163
163
|
this.triggerChanged();
|
|
164
164
|
}
|
|
165
165
|
componentWillLoad() {
|
|
166
|
-
|
|
166
|
+
var _a;
|
|
167
|
+
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
168
|
+
setOverlayId(this.el);
|
|
169
|
+
}
|
|
167
170
|
this.inputsChanged();
|
|
168
171
|
this.buttonsChanged();
|
|
169
172
|
}
|
|
@@ -391,9 +394,9 @@ export class Alert {
|
|
|
391
394
|
* If neither is defined, don't set aria-labelledby.
|
|
392
395
|
*/
|
|
393
396
|
const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;
|
|
394
|
-
return (h(Host, Object.assign({ key: '
|
|
397
|
+
return (h(Host, Object.assign({ key: 'c7d53f48b359f2bc3480a2e1ba34948fc9378fb0', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
|
|
395
398
|
zIndex: `${20000 + overlayIndex}`,
|
|
396
|
-
}, 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: '
|
|
399
|
+
}, 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: '18c7e6b5d63435d9a6a82bda951158e7e1af6e92', tappable: this.backdropDismiss }), h("div", { key: 'e35e1a4b81286976c8a6bab570c986f3196b21f4', tabindex: "0" }), h("div", { key: '9089864c80d96ed834bf723f3de863cf1c4a5b97', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: 'dd600f02c84352059c6cdf98821b9c9a831bcdcb', class: "alert-head" }, header && (h("h2", { key: '11afb605e1ccefc889fbdd2533d491bea8fbf183', id: hdrId, class: "alert-title" }, header)), subHeader && (h("h2", { key: 'e53b0613d09d26e5a2cd7c9c6e63ec2535625ce5', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'cef60ec8b34c9aec8bc698f16f55324d1ce67c72', tabindex: "0" })));
|
|
397
400
|
}
|
|
398
401
|
static get is() { return "ion-alert"; }
|
|
399
402
|
static get encapsulation() { return "scoped"; }
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-grow: 1;
|
|
112
112
|
align-items: center;
|
|
113
|
+
justify-content: space-between;
|
|
113
114
|
height: inherit;
|
|
114
115
|
cursor: inherit;
|
|
115
116
|
}
|
|
@@ -120,7 +121,8 @@
|
|
|
120
121
|
overflow: hidden;
|
|
121
122
|
}
|
|
122
123
|
|
|
123
|
-
:host(.in-item) .label-text-wrapper
|
|
124
|
+
:host(.in-item) .label-text-wrapper,
|
|
125
|
+
:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper {
|
|
124
126
|
margin-top: 10px;
|
|
125
127
|
margin-bottom: 10px;
|
|
126
128
|
}
|
|
@@ -207,6 +209,14 @@ input {
|
|
|
207
209
|
align-items: center;
|
|
208
210
|
}
|
|
209
211
|
|
|
212
|
+
:host(.checkbox-justify-space-between),
|
|
213
|
+
:host(.checkbox-justify-start),
|
|
214
|
+
:host(.checkbox-justify-end),
|
|
215
|
+
:host(.checkbox-alignment-start),
|
|
216
|
+
:host(.checkbox-alignment-center) {
|
|
217
|
+
display: block;
|
|
218
|
+
}
|
|
219
|
+
|
|
210
220
|
/**
|
|
211
221
|
* Label is on the left of the checkbox in LTR and
|
|
212
222
|
* on the right in RTL.
|
|
@@ -56,8 +56,8 @@ export class Checkbox {
|
|
|
56
56
|
this.disabled = false;
|
|
57
57
|
this.value = 'on';
|
|
58
58
|
this.labelPlacement = 'start';
|
|
59
|
-
this.justify =
|
|
60
|
-
this.alignment =
|
|
59
|
+
this.justify = undefined;
|
|
60
|
+
this.alignment = undefined;
|
|
61
61
|
}
|
|
62
62
|
componentWillLoad() {
|
|
63
63
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
@@ -72,20 +72,20 @@ export class Checkbox {
|
|
|
72
72
|
const mode = getIonMode(this);
|
|
73
73
|
const path = getSVGPath(mode, indeterminate);
|
|
74
74
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'd7a07fbf130413eaa4622c07786e8a00723113eb', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
|
|
76
76
|
[mode]: true,
|
|
77
77
|
'in-item': hostContext('ion-item', el),
|
|
78
78
|
'checkbox-checked': checked,
|
|
79
79
|
'checkbox-disabled': disabled,
|
|
80
80
|
'checkbox-indeterminate': indeterminate,
|
|
81
81
|
interactive: true,
|
|
82
|
-
[`checkbox-justify-${justify}`]:
|
|
83
|
-
[`checkbox-alignment-${alignment}`]:
|
|
82
|
+
[`checkbox-justify-${justify}`]: justify !== undefined,
|
|
83
|
+
[`checkbox-alignment-${alignment}`]: alignment !== undefined,
|
|
84
84
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
85
|
-
}), onClick: this.onClick }, h("label", { key: '
|
|
85
|
+
}), onClick: this.onClick }, h("label", { key: '99797589ed4ea7cbac53531c85b2d4a2dcd568c4', class: "checkbox-wrapper" }, h("input", Object.assign({ key: 'cc12fe7920ab23c6f21546f7b312b8f1f5671349', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { key: '1b087f061da5abca6129d372503d8882b77e24be', class: {
|
|
86
86
|
'label-text-wrapper': true,
|
|
87
87
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
88
|
-
}, part: "label" }, h("slot", { key: '
|
|
88
|
+
}, part: "label" }, h("slot", { key: 'bc84274c826fa1db1207230aa03bf5790afe2992' })), h("div", { key: '89e9396dc9215804bd8ac42e943a292d050ef8c5', class: "native-wrapper" }, h("svg", { key: '2aafac248c639074faaf17044d8d9204474a9b7b', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
89
89
|
}
|
|
90
90
|
getSVGPath(mode, indeterminate) {
|
|
91
91
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -246,36 +246,34 @@ export class Checkbox {
|
|
|
246
246
|
"mutable": false,
|
|
247
247
|
"complexType": {
|
|
248
248
|
"original": "'start' | 'end' | 'space-between'",
|
|
249
|
-
"resolved": "\"end\" | \"space-between\" | \"start\"",
|
|
249
|
+
"resolved": "\"end\" | \"space-between\" | \"start\" | undefined",
|
|
250
250
|
"references": {}
|
|
251
251
|
},
|
|
252
252
|
"required": false,
|
|
253
|
-
"optional":
|
|
253
|
+
"optional": true,
|
|
254
254
|
"docs": {
|
|
255
255
|
"tags": [],
|
|
256
|
-
"text": "How to pack the label and checkbox within a line.\n`\"start\"`: The label and checkbox will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and checkbox will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and checkbox will appear on opposite\nends of the line with space between the two elements
|
|
256
|
+
"text": "How to pack the label and checkbox within a line.\n`\"start\"`: The label and checkbox will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and checkbox will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and checkbox will appear on opposite\nends of the line with space between the two elements.\nSetting this property will change the checkbox `display` to `block`."
|
|
257
257
|
},
|
|
258
258
|
"attribute": "justify",
|
|
259
|
-
"reflect": false
|
|
260
|
-
"defaultValue": "'space-between'"
|
|
259
|
+
"reflect": false
|
|
261
260
|
},
|
|
262
261
|
"alignment": {
|
|
263
262
|
"type": "string",
|
|
264
263
|
"mutable": false,
|
|
265
264
|
"complexType": {
|
|
266
265
|
"original": "'start' | 'center'",
|
|
267
|
-
"resolved": "\"center\" | \"start\"",
|
|
266
|
+
"resolved": "\"center\" | \"start\" | undefined",
|
|
268
267
|
"references": {}
|
|
269
268
|
},
|
|
270
269
|
"required": false,
|
|
271
|
-
"optional":
|
|
270
|
+
"optional": true,
|
|
272
271
|
"docs": {
|
|
273
272
|
"tags": [],
|
|
274
|
-
"text": "How to control the alignment of the checkbox and label on the cross axis.\n`\"start\"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL.\n`\"center\"`: The label and control will appear at the center of the cross axis in both LTR and RTL
|
|
273
|
+
"text": "How to control the alignment of the checkbox and label on the cross axis.\n`\"start\"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL.\n`\"center\"`: The label and control will appear at the center of the cross axis in both LTR and RTL.\nSetting this property will change the checkbox `display` to `block`."
|
|
275
274
|
},
|
|
276
275
|
"attribute": "alignment",
|
|
277
|
-
"reflect": false
|
|
278
|
-
"defaultValue": "'center'"
|
|
276
|
+
"reflect": false
|
|
279
277
|
}
|
|
280
278
|
};
|
|
281
279
|
}
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-grow: 1;
|
|
112
112
|
align-items: center;
|
|
113
|
+
justify-content: space-between;
|
|
113
114
|
height: inherit;
|
|
114
115
|
cursor: inherit;
|
|
115
116
|
}
|
|
@@ -120,7 +121,8 @@
|
|
|
120
121
|
overflow: hidden;
|
|
121
122
|
}
|
|
122
123
|
|
|
123
|
-
:host(.in-item) .label-text-wrapper
|
|
124
|
+
:host(.in-item) .label-text-wrapper,
|
|
125
|
+
:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper {
|
|
124
126
|
margin-top: 10px;
|
|
125
127
|
margin-bottom: 10px;
|
|
126
128
|
}
|
|
@@ -207,6 +209,14 @@ input {
|
|
|
207
209
|
align-items: center;
|
|
208
210
|
}
|
|
209
211
|
|
|
212
|
+
:host(.checkbox-justify-space-between),
|
|
213
|
+
:host(.checkbox-justify-start),
|
|
214
|
+
:host(.checkbox-justify-end),
|
|
215
|
+
:host(.checkbox-alignment-start),
|
|
216
|
+
:host(.checkbox-alignment-center) {
|
|
217
|
+
display: block;
|
|
218
|
+
}
|
|
219
|
+
|
|
210
220
|
/**
|
|
211
221
|
* Label is on the left of the checkbox in LTR and
|
|
212
222
|
* on the right in RTL.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Build, Host, forceUpdate, h, readTask } from "@stencil/core";
|
|
5
|
-
import { componentOnReady, hasLazyBuild } from "../../utils/helpers";
|
|
5
|
+
import { componentOnReady, hasLazyBuild, inheritAriaAttributes } from "../../utils/helpers";
|
|
6
6
|
import { isPlatform } from "../../utils/platform";
|
|
7
7
|
import { isRTL } from "../../utils/rtl/index";
|
|
8
8
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
@@ -24,6 +24,7 @@ export class Content {
|
|
|
24
24
|
this.cBottom = -1;
|
|
25
25
|
this.isMainContent = true;
|
|
26
26
|
this.resizeTimeout = null;
|
|
27
|
+
this.inheritedAttributes = {};
|
|
27
28
|
this.tabsElement = null;
|
|
28
29
|
// Detail is used in a hot loop in the scroll event, by allocating it here
|
|
29
30
|
// V8 will be able to inline any read/write to it since it's a monomorphic class.
|
|
@@ -54,6 +55,9 @@ export class Content {
|
|
|
54
55
|
this.scrollY = true;
|
|
55
56
|
this.scrollEvents = false;
|
|
56
57
|
}
|
|
58
|
+
componentWillLoad() {
|
|
59
|
+
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
60
|
+
}
|
|
57
61
|
connectedCallback() {
|
|
58
62
|
this.isMainContent = this.el.closest('ion-menu, ion-popover, ion-modal') === null;
|
|
59
63
|
/**
|
|
@@ -330,13 +334,13 @@ export class Content {
|
|
|
330
334
|
}
|
|
331
335
|
}
|
|
332
336
|
render() {
|
|
333
|
-
const { fixedSlotPlacement, isMainContent, scrollX, scrollY, el } = this;
|
|
337
|
+
const { fixedSlotPlacement, inheritedAttributes, isMainContent, scrollX, scrollY, el } = this;
|
|
334
338
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
335
339
|
const mode = getIonMode(this);
|
|
336
340
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
337
341
|
const transitionShadow = mode === 'ios';
|
|
338
342
|
this.resize();
|
|
339
|
-
return (h(Host, { key: '
|
|
343
|
+
return (h(Host, Object.assign({ key: '92a7cbc2e9c812930f4231bd846411933a5dded6', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
340
344
|
[mode]: true,
|
|
341
345
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
342
346
|
overscroll: forceOverscroll,
|
|
@@ -344,12 +348,12 @@ export class Content {
|
|
|
344
348
|
}), style: {
|
|
345
349
|
'--offset-top': `${this.cTop}px`,
|
|
346
350
|
'--offset-bottom': `${this.cBottom}px`,
|
|
347
|
-
} }, h("div", { key: '
|
|
351
|
+
} }, inheritedAttributes), h("div", { key: '52498d8874b9944b8245e448ea9dfc75b3929c2d', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '00e157a53485b285300404178436276afceb63f5', class: {
|
|
348
352
|
'inner-scroll': true,
|
|
349
353
|
'scroll-x': scrollX,
|
|
350
354
|
'scroll-y': scrollY,
|
|
351
355
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
352
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
356
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '8522320514a2e8a63f7dc9ade6c1fb3fb00f454e' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
353
357
|
}
|
|
354
358
|
static get is() { return "ion-content"; }
|
|
355
359
|
static get encapsulation() { return "shadow"; }
|
|
@@ -458,7 +458,7 @@ export class Datetime {
|
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
this.processValue = (value) => {
|
|
461
|
-
const hasValue = value !== null && value !== undefined && (!Array.isArray(value) || value.length > 0);
|
|
461
|
+
const hasValue = value !== null && value !== undefined && value !== '' && (!Array.isArray(value) || value.length > 0);
|
|
462
462
|
const valueToProcess = hasValue ? parseDate(value) : this.defaultParts;
|
|
463
463
|
const { minParts, maxParts, workingParts, el } = this;
|
|
464
464
|
this.warnIfIncorrectValueUsage();
|
|
@@ -1557,7 +1557,7 @@ export class Datetime {
|
|
|
1557
1557
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1558
1558
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1559
1559
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1560
|
-
return (h(Host, { key: '
|
|
1560
|
+
return (h(Host, { key: '2933ce5caaeb21a633b1ec4d936e86b0f0890807', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1561
1561
|
[mode]: true,
|
|
1562
1562
|
['datetime-readonly']: readonly,
|
|
1563
1563
|
['datetime-disabled']: disabled,
|
|
@@ -1567,7 +1567,7 @@ export class Datetime {
|
|
|
1567
1567
|
[`datetime-size-${size}`]: true,
|
|
1568
1568
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1569
1569
|
[`datetime-grid`]: isGridStyle,
|
|
1570
|
-
})) }, h("div", { key: '
|
|
1570
|
+
})) }, h("div", { key: '0efc9ef0aa1a29234412b2eddf5d7ff899b7543f', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1571
1571
|
}
|
|
1572
1572
|
static get is() { return "ion-datetime"; }
|
|
1573
1573
|
static get encapsulation() { return "shadow"; }
|
|
@@ -97,7 +97,7 @@ export class Item {
|
|
|
97
97
|
// input cover on top of those interfering with their clicks
|
|
98
98
|
const inputs = this.el.querySelectorAll('ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle');
|
|
99
99
|
// The following elements should also stay clickable when an input with cover is present
|
|
100
|
-
const clickables = this.el.querySelectorAll('ion-
|
|
100
|
+
const clickables = this.el.querySelectorAll('ion-router-link, ion-button, a, button');
|
|
101
101
|
// Check for multiple inputs to change the position of the input cover to relative
|
|
102
102
|
// for all of the covered inputs above
|
|
103
103
|
this.multipleInputs =
|
|
@@ -202,7 +202,7 @@ export class Item {
|
|
|
202
202
|
* However, other form controls such as checkboxes and radios do.
|
|
203
203
|
*/
|
|
204
204
|
const firstInteractiveNeedsPointerCursor = firstInteractive !== undefined && !['ION-INPUT', 'ION-TEXTAREA'].includes(firstInteractive.tagName);
|
|
205
|
-
return (h(Host, { key: '
|
|
205
|
+
return (h(Host, { key: '02f540d8666146b5f2665ba6b39dfe774c65d5e6', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses(this.color, {
|
|
206
206
|
item: true,
|
|
207
207
|
[mode]: true,
|
|
208
208
|
'item-lines-default': lines === undefined,
|
|
@@ -214,7 +214,7 @@ export class Item {
|
|
|
214
214
|
'ion-activatable': canActivate,
|
|
215
215
|
'ion-focusable': this.focusable,
|
|
216
216
|
'item-rtl': document.dir === 'rtl',
|
|
217
|
-
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: '
|
|
217
|
+
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: '91cf3eedc2d7eca40a45fc3b0aaae5a87d387eb7' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), h("slot", { key: 'ae4c679ca903a78a7c933c1d02f21f5d677b6388', name: "start" }), h("div", { key: 'a61de72dce135b6dce18e6fa19680524958924dd', class: "item-inner" }, h("div", { key: 'd5b09966b6de8d6b4da8e139875edec4eeb1ae27', class: "input-wrapper" }, h("slot", { key: '79077e5708a1783b135fab6f8caff9fb2f6f387a' })), h("slot", { key: 'cdcc71689a87e985d32170ab98538ef25227f384', name: "end" }), showDetail && (h("ion-icon", { key: '1e82f2d0e2d2fc18bd3429a7c72e4e57447cad7a', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && h("ion-ripple-effect", { key: 'ab9842d0d9c64408573f07323e10f9ed29fbe6e2' }))));
|
|
218
218
|
}
|
|
219
219
|
static get is() { return "ion-item"; }
|
|
220
220
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,11 +65,14 @@ export class Loading {
|
|
|
65
65
|
this.triggerChanged();
|
|
66
66
|
}
|
|
67
67
|
componentWillLoad() {
|
|
68
|
+
var _a;
|
|
68
69
|
if (this.spinner === undefined) {
|
|
69
70
|
const mode = getIonMode(this);
|
|
70
71
|
this.spinner = config.get('loadingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
+
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
74
|
+
setOverlayId(this.el);
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
componentDidLoad() {
|
|
75
78
|
/**
|
|
@@ -158,9 +161,9 @@ export class Loading {
|
|
|
158
161
|
* Otherwise, don't set aria-labelledby.
|
|
159
162
|
*/
|
|
160
163
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
161
|
-
return (h(Host, Object.assign({ key: '
|
|
164
|
+
return (h(Host, Object.assign({ key: 'fb3d2cd7cd0539ed6540d8be50e243c7916b3ca2', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
162
165
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
163
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
166
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'c8bd30782f3040b1b80e88aa924861e439d40754', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '4ebfbb67c92e8eb56c27dd7c199b35bf6be1cf63', tabindex: "0" }), h("div", { key: '9492723cd87f1ef75534e449d4bc2b2deb0cb3cc', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: 'd9eb42454e48c82704d974a68b80ceb4de990417', class: "loading-spinner" }, h("ion-spinner", { key: 'cdb046bad89872f4208ae466979315652766bf3a', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '412d1bb537dafa6e6863d07ddc15f5969fe0617d', tabindex: "0" })));
|
|
164
167
|
}
|
|
165
168
|
static get is() { return "ion-loading"; }
|
|
166
169
|
static get encapsulation() { return "scoped"; }
|
|
@@ -132,6 +132,7 @@ export class Modal {
|
|
|
132
132
|
this.triggerController.removeClickListener();
|
|
133
133
|
}
|
|
134
134
|
componentWillLoad() {
|
|
135
|
+
var _a;
|
|
135
136
|
const { breakpoints, initialBreakpoint, el, htmlAttributes } = this;
|
|
136
137
|
const isSheetModal = (this.isSheetModal = breakpoints !== undefined && initialBreakpoint !== undefined);
|
|
137
138
|
const attributesToInherit = ['aria-label', 'role'];
|
|
@@ -173,7 +174,9 @@ export class Modal {
|
|
|
173
174
|
if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
|
|
174
175
|
printIonWarning('Your breakpoints array must include the initialBreakpoint value.');
|
|
175
176
|
}
|
|
176
|
-
|
|
177
|
+
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
178
|
+
setOverlayId(this.el);
|
|
179
|
+
}
|
|
177
180
|
}
|
|
178
181
|
componentDidLoad() {
|
|
179
182
|
/**
|
|
@@ -563,18 +566,18 @@ export class Modal {
|
|
|
563
566
|
const mode = getIonMode(this);
|
|
564
567
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
565
568
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
566
|
-
return (h(Host, Object.assign({ key: '
|
|
569
|
+
return (h(Host, Object.assign({ key: '013ba4864ca4d2c1052c512f6a4b0732b8decff7', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
567
570
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
568
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
571
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '498b1c0a03836d6799dcf3b8e9315805c70f6480', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'ce22e4caf1096e87248926fe2477f0d5a4c8a5cf', class: "modal-shadow" }), h("div", Object.assign({ key: '540e47b15d8290166c39b022c725182114a75682',
|
|
569
572
|
/*
|
|
570
573
|
role and aria-modal must be used on the
|
|
571
574
|
same element. They must also be set inside the
|
|
572
575
|
shadow DOM otherwise ion-button will not be highlighted
|
|
573
576
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
574
577
|
*/
|
|
575
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
578
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: 'f3b352ec9a63a7ec801462aacfd8295b4302d115', class: "modal-handle",
|
|
576
579
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
577
|
-
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: '
|
|
580
|
+
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: '31a3f58f4c733ffdf736523c154200874a96b1d0' }))));
|
|
578
581
|
}
|
|
579
582
|
static get is() { return "ion-modal"; }
|
|
580
583
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,7 +69,10 @@ export class Picker {
|
|
|
69
69
|
this.triggerController.removeClickListener();
|
|
70
70
|
}
|
|
71
71
|
componentWillLoad() {
|
|
72
|
-
|
|
72
|
+
var _a;
|
|
73
|
+
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
74
|
+
setOverlayId(this.el);
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
componentDidLoad() {
|
|
75
78
|
printIonWarning('ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
|
|
@@ -182,11 +185,11 @@ export class Picker {
|
|
|
182
185
|
render() {
|
|
183
186
|
const { htmlAttributes } = this;
|
|
184
187
|
const mode = getIonMode(this);
|
|
185
|
-
return (h(Host, Object.assign({ key: '
|
|
188
|
+
return (h(Host, Object.assign({ key: '3b163ca87354a3a4f302ff016d5affd0dc97bccc', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
186
189
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
187
190
|
}, class: Object.assign({ [mode]: true,
|
|
188
191
|
// Used internally for styling
|
|
189
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
192
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'da4224447bdbcfbadd1bd63ebe7a7bfdb8aa3129', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '211475c859b7acf4d64556905c45993201d92d43', tabindex: "0" }), h("div", { key: 'c3b3674038155809caea84ae6348ff0d66897a64', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'a21757da70dc7864945a5751d9da3ca4bf87897b', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '0220da1854d09ef22d2d9a32eaa3c3b222be5a0a', class: "picker-columns" }, h("div", { key: '55757c165ba9e38e56b4dee76a9b13d3ff8b21e6', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '160092a46a48287bf75e5dfe3502f1755a2d0c70', class: "picker-below-highlight" }))), h("div", { key: 'e212db6cca7d75fc0eda0baf4312dd51b9b7a4ef', tabindex: "0" })));
|
|
190
193
|
}
|
|
191
194
|
static get is() { return "ion-picker-legacy"; }
|
|
192
195
|
static get encapsulation() { return "scoped"; }
|
|
@@ -133,8 +133,9 @@ export class Popover {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
componentWillLoad() {
|
|
136
|
+
var _a, _b;
|
|
136
137
|
const { el } = this;
|
|
137
|
-
const popoverId = setOverlayId(el);
|
|
138
|
+
const popoverId = (_b = (_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : setOverlayId(el);
|
|
138
139
|
this.parentPopover = el.closest(`ion-popover:not(#${popoverId})`);
|
|
139
140
|
if (this.alignment === undefined) {
|
|
140
141
|
this.alignment = getIonMode(this) === 'ios' ? 'center' : 'start';
|
|
@@ -337,9 +338,9 @@ export class Popover {
|
|
|
337
338
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
338
339
|
const desktop = isPlatform('desktop');
|
|
339
340
|
const enableArrow = arrow && !parentPopover;
|
|
340
|
-
return (h(Host, Object.assign({ key: '
|
|
341
|
+
return (h(Host, Object.assign({ key: '3a7c4c39384bab1447c4bd6b9b06d7837a09353b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
341
342
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
342
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
343
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '38a1c4ad29238d1e81cab407f099121fa4947cce', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'f825494c5e3be89d7fcf0229e29b405bccb13edb', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '3acae5a0106389c776c8ffe5bf10f3ff006e0346', class: "popover-arrow", part: "arrow" }), h("div", { key: '2aa73e9f06b1d2ac4c0d36c23186b9164f395079', class: "popover-content", part: "content" }, h("slot", { key: '62f5713414aae47dde6a8aef1f9b69af287534ae' })))));
|
|
343
344
|
}
|
|
344
345
|
static get is() { return "ion-popover"; }
|
|
345
346
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,6 +135,7 @@ input {
|
|
|
135
135
|
position: relative;
|
|
136
136
|
flex-grow: 1;
|
|
137
137
|
align-items: center;
|
|
138
|
+
justify-content: space-between;
|
|
138
139
|
height: inherit;
|
|
139
140
|
min-height: inherit;
|
|
140
141
|
cursor: inherit;
|
|
@@ -194,6 +195,14 @@ input {
|
|
|
194
195
|
align-items: center;
|
|
195
196
|
}
|
|
196
197
|
|
|
198
|
+
:host(.radio-justify-space-between),
|
|
199
|
+
:host(.radio-justify-start),
|
|
200
|
+
:host(.radio-justify-end),
|
|
201
|
+
:host(.radio-alignment-start),
|
|
202
|
+
:host(.radio-alignment-center) {
|
|
203
|
+
display: block;
|
|
204
|
+
}
|
|
205
|
+
|
|
197
206
|
/**
|
|
198
207
|
* Label is on the left of the radio in LTR and
|
|
199
208
|
* on the right in RTL.
|