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
|
@@ -59,8 +59,8 @@ export class Radio {
|
|
|
59
59
|
this.disabled = false;
|
|
60
60
|
this.value = undefined;
|
|
61
61
|
this.labelPlacement = 'start';
|
|
62
|
-
this.justify =
|
|
63
|
-
this.alignment =
|
|
62
|
+
this.justify = undefined;
|
|
63
|
+
this.alignment = undefined;
|
|
64
64
|
}
|
|
65
65
|
valueChanged() {
|
|
66
66
|
/**
|
|
@@ -118,21 +118,21 @@ export class Radio {
|
|
|
118
118
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
119
119
|
const mode = getIonMode(this);
|
|
120
120
|
const inItem = hostContext('ion-item', el);
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'd6d9525eea9dadc3ea7060eb9b8cbb919e1d7091', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
122
122
|
[mode]: true,
|
|
123
123
|
'in-item': inItem,
|
|
124
124
|
'radio-checked': checked,
|
|
125
125
|
'radio-disabled': disabled,
|
|
126
|
-
[`radio-justify-${justify}`]:
|
|
127
|
-
[`radio-alignment-${alignment}`]:
|
|
126
|
+
[`radio-justify-${justify}`]: justify !== undefined,
|
|
127
|
+
[`radio-alignment-${alignment}`]: alignment !== undefined,
|
|
128
128
|
[`radio-label-placement-${labelPlacement}`]: true,
|
|
129
129
|
// Focus and active styling should not apply when the radio is in an item
|
|
130
130
|
'ion-activatable': !inItem,
|
|
131
131
|
'ion-focusable': !inItem,
|
|
132
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
132
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '3ec73512bac8feb651c66e544899c6a4330d504c', class: "radio-wrapper" }, h("div", { key: '9ae7ecb19c7bafe0ce3d0f717af0338251964ebf', class: {
|
|
133
133
|
'label-text-wrapper': true,
|
|
134
134
|
'label-text-wrapper-hidden': !hasLabel,
|
|
135
|
-
}, part: "label" }, h("slot", { key: '
|
|
135
|
+
}, part: "label" }, h("slot", { key: '2950f1579a22d4a06f9c903fd462c2b46f43bfd7' })), h("div", { key: '8b19ce30b39066744108a6de2da42a7ce8ffdbec', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "ion-radio"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -249,36 +249,34 @@ export class Radio {
|
|
|
249
249
|
"mutable": false,
|
|
250
250
|
"complexType": {
|
|
251
251
|
"original": "'start' | 'end' | 'space-between'",
|
|
252
|
-
"resolved": "\"end\" | \"space-between\" | \"start\"",
|
|
252
|
+
"resolved": "\"end\" | \"space-between\" | \"start\" | undefined",
|
|
253
253
|
"references": {}
|
|
254
254
|
},
|
|
255
255
|
"required": false,
|
|
256
|
-
"optional":
|
|
256
|
+
"optional": true,
|
|
257
257
|
"docs": {
|
|
258
258
|
"tags": [],
|
|
259
|
-
"text": "How to pack the label and radio within a line.\n`\"start\"`: The label and radio will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and radio will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and radio will appear on opposite\nends of the line with space between the two elements
|
|
259
|
+
"text": "How to pack the label and radio within a line.\n`\"start\"`: The label and radio will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and radio will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and radio will appear on opposite\nends of the line with space between the two elements.\nSetting this property will change the radio `display` to `block`."
|
|
260
260
|
},
|
|
261
261
|
"attribute": "justify",
|
|
262
|
-
"reflect": false
|
|
263
|
-
"defaultValue": "'space-between'"
|
|
262
|
+
"reflect": false
|
|
264
263
|
},
|
|
265
264
|
"alignment": {
|
|
266
265
|
"type": "string",
|
|
267
266
|
"mutable": false,
|
|
268
267
|
"complexType": {
|
|
269
268
|
"original": "'start' | 'center'",
|
|
270
|
-
"resolved": "\"center\" | \"start\"",
|
|
269
|
+
"resolved": "\"center\" | \"start\" | undefined",
|
|
271
270
|
"references": {}
|
|
272
271
|
},
|
|
273
272
|
"required": false,
|
|
274
|
-
"optional":
|
|
273
|
+
"optional": true,
|
|
275
274
|
"docs": {
|
|
276
275
|
"tags": [],
|
|
277
|
-
"text": "How to control the alignment of the radio 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
|
|
276
|
+
"text": "How to control the alignment of the radio 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 radio `display` to `block`."
|
|
278
277
|
},
|
|
279
278
|
"attribute": "alignment",
|
|
280
|
-
"reflect": false
|
|
281
|
-
"defaultValue": "'center'"
|
|
279
|
+
"reflect": false
|
|
282
280
|
}
|
|
283
281
|
};
|
|
284
282
|
}
|
|
@@ -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.
|
|
@@ -178,6 +178,7 @@ export class Range {
|
|
|
178
178
|
this.didLoad = true;
|
|
179
179
|
}
|
|
180
180
|
connectedCallback() {
|
|
181
|
+
var _a;
|
|
181
182
|
this.updateRatio();
|
|
182
183
|
this.debounceChanged();
|
|
183
184
|
this.disabledChanged();
|
|
@@ -191,7 +192,8 @@ export class Range {
|
|
|
191
192
|
if (this.didLoad) {
|
|
192
193
|
this.setupGesture();
|
|
193
194
|
}
|
|
194
|
-
|
|
195
|
+
const ionContent = findClosestIonContent(this.el);
|
|
196
|
+
this.contentEl = (_a = ionContent === null || ionContent === void 0 ? void 0 : ionContent.querySelector('.ion-content-scroll-host')) !== null && _a !== void 0 ? _a : ionContent;
|
|
195
197
|
}
|
|
196
198
|
disconnectedCallback() {
|
|
197
199
|
if (this.gesture) {
|
|
@@ -260,7 +262,7 @@ export class Range {
|
|
|
260
262
|
*
|
|
261
263
|
* This only needs to be done once.
|
|
262
264
|
*/
|
|
263
|
-
if (contentEl && this.
|
|
265
|
+
if (contentEl && this.pressedKnob === undefined) {
|
|
264
266
|
this.initialContentScrollY = disableContentScrollY(contentEl);
|
|
265
267
|
}
|
|
266
268
|
/**
|
|
@@ -287,8 +289,9 @@ export class Range {
|
|
|
287
289
|
* @param detail The details of the gesture or mouse event.
|
|
288
290
|
*/
|
|
289
291
|
onEnd(detail) {
|
|
292
|
+
var _a;
|
|
290
293
|
const { contentEl, initialContentScrollY } = this;
|
|
291
|
-
const currentX = detail.currentX
|
|
294
|
+
const currentX = (_a = detail.currentX) !== null && _a !== void 0 ? _a : detail.clientX;
|
|
292
295
|
/**
|
|
293
296
|
* The `pressedKnob` can be undefined if the user never
|
|
294
297
|
* dragged the knob. They just tapped on the bar.
|
|
@@ -306,7 +309,7 @@ export class Range {
|
|
|
306
309
|
*
|
|
307
310
|
* The user can now scroll on the view in the next gesture event.
|
|
308
311
|
*/
|
|
309
|
-
if (contentEl &&
|
|
312
|
+
if (contentEl && this.pressedKnob !== undefined) {
|
|
310
313
|
resetContentScrollY(contentEl, initialContentScrollY);
|
|
311
314
|
}
|
|
312
315
|
// update the active knob's position
|
|
@@ -561,7 +564,7 @@ export class Range {
|
|
|
561
564
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
562
565
|
const mode = getIonMode(this);
|
|
563
566
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
564
|
-
return (h(Host, { key: '
|
|
567
|
+
return (h(Host, { key: '877c9f15e62fadb184f9da82dc19898227521e07', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
565
568
|
[mode]: true,
|
|
566
569
|
'in-item': inItem,
|
|
567
570
|
'range-disabled': disabled,
|
|
@@ -570,10 +573,10 @@ export class Range {
|
|
|
570
573
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
571
574
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
572
575
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
573
|
-
}) }, h("label", { key: '
|
|
576
|
+
}) }, h("label", { key: '2ae9088349a65e09b0e33c53442190ef563b2345', class: "range-wrapper", id: "range-label" }, h("div", { key: 'c3d0ca96ceb1e57fbd383e9c7e4da14d931771b8', class: {
|
|
574
577
|
'label-text-wrapper': true,
|
|
575
578
|
'label-text-wrapper-hidden': !hasLabel,
|
|
576
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
579
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '25d20fd5e015931f60a8ecc5374a1c84d167af9c', class: "native-wrapper" }, h("slot", { key: 'ae9f9fd92eed35b81ca97a81caa56332d8b6b2b2', name: "start" }), this.renderRangeSlider(), h("slot", { key: '74b7dede566a959c9b05a6de68426c7e339d18c8', name: "end" })))));
|
|
577
580
|
}
|
|
578
581
|
static get is() { return "ion-range"; }
|
|
579
582
|
static get encapsulation() { return "shadow"; }
|
|
@@ -79,7 +79,7 @@ export class Select {
|
|
|
79
79
|
this.fill = undefined;
|
|
80
80
|
this.interface = 'alert';
|
|
81
81
|
this.interfaceOptions = {};
|
|
82
|
-
this.justify =
|
|
82
|
+
this.justify = undefined;
|
|
83
83
|
this.label = undefined;
|
|
84
84
|
this.labelPlacement = 'start';
|
|
85
85
|
this.multiple = false;
|
|
@@ -598,7 +598,7 @@ export class Select {
|
|
|
598
598
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
599
599
|
const mode = getIonMode(this);
|
|
600
600
|
const hasFloatingOrStackedLabel = labelPlacement === 'floating' || labelPlacement === 'stacked';
|
|
601
|
-
const justifyEnabled = !hasFloatingOrStackedLabel;
|
|
601
|
+
const justifyEnabled = !hasFloatingOrStackedLabel && justify !== undefined;
|
|
602
602
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
603
603
|
const inItem = hostContext('ion-item', this.el);
|
|
604
604
|
const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
|
|
@@ -623,7 +623,7 @@ export class Select {
|
|
|
623
623
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
624
624
|
*/
|
|
625
625
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
626
|
-
return (h(Host, { key: '
|
|
626
|
+
return (h(Host, { key: '73c571c1f8468e1c3f4fe02fbbb33ba9cbc8e989', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
627
627
|
[mode]: true,
|
|
628
628
|
'in-item': inItem,
|
|
629
629
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -639,7 +639,7 @@ export class Select {
|
|
|
639
639
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
640
640
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
641
641
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
642
|
-
}) }, h("label", { key: '
|
|
642
|
+
}) }, h("label", { key: '2b08538cba0b9f747541d57ac18fb6a1ea658878', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '33f54373bcb02c72a9d0af2efffebc27ee2c69fe', class: "select-wrapper-inner" }, h("slot", { key: 'd1c93aec99dc1cd6410f93309cef615fe04b541b', name: "start" }), h("div", { key: '493d1a3cad9565516f855bef75685b020785ffd3', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '353a3ee5635f8a8f3be411efd6caef6c2ad74a89', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'fd5f85555db02affe954f9f4f2876ac8fe676234', class: "select-highlight" }))));
|
|
643
643
|
}
|
|
644
644
|
static get is() { return "ion-select"; }
|
|
645
645
|
static get encapsulation() { return "shadow"; }
|
|
@@ -803,18 +803,17 @@ export class Select {
|
|
|
803
803
|
"mutable": false,
|
|
804
804
|
"complexType": {
|
|
805
805
|
"original": "'start' | 'end' | 'space-between'",
|
|
806
|
-
"resolved": "\"end\" | \"space-between\" | \"start\"",
|
|
806
|
+
"resolved": "\"end\" | \"space-between\" | \"start\" | undefined",
|
|
807
807
|
"references": {}
|
|
808
808
|
},
|
|
809
809
|
"required": false,
|
|
810
|
-
"optional":
|
|
810
|
+
"optional": true,
|
|
811
811
|
"docs": {
|
|
812
812
|
"tags": [],
|
|
813
813
|
"text": "How to pack the label and select within a line.\n`justify` does not apply when the label and select\nare on different lines when `labelPlacement` is set to\n`\"floating\"` or `\"stacked\"`.\n`\"start\"`: The label and select will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and select will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and select will appear on opposite\nends of the line with space between the two elements."
|
|
814
814
|
},
|
|
815
815
|
"attribute": "justify",
|
|
816
|
-
"reflect": false
|
|
817
|
-
"defaultValue": "'space-between'"
|
|
816
|
+
"reflect": false
|
|
818
817
|
},
|
|
819
818
|
"label": {
|
|
820
819
|
"type": "string",
|
|
@@ -27,7 +27,17 @@ export class Tabs {
|
|
|
27
27
|
}
|
|
28
28
|
async componentWillLoad() {
|
|
29
29
|
if (!this.useRouter) {
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* JavaScript and StencilJS use `ion-router`, while
|
|
32
|
+
* the other frameworks use `ion-router-outlet`.
|
|
33
|
+
*
|
|
34
|
+
* If either component is present then tabs will not use
|
|
35
|
+
* a basic tab-based navigation. It will use the history
|
|
36
|
+
* stack or URL updates associated with the router.
|
|
37
|
+
*/
|
|
38
|
+
this.useRouter =
|
|
39
|
+
(!!this.el.querySelector('ion-router-outlet') || !!document.querySelector('ion-router')) &&
|
|
40
|
+
!this.el.closest('[no-router]');
|
|
31
41
|
}
|
|
32
42
|
if (!this.useRouter) {
|
|
33
43
|
const tabs = this.tabs;
|
|
@@ -135,7 +145,7 @@ export class Tabs {
|
|
|
135
145
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
136
146
|
}
|
|
137
147
|
render() {
|
|
138
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: 'eb094c9bd15b7777c53bd0bd6d225784fa472849', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'a516ca6915bf26e77eeeb0ff684c4fcc7d4420a7', name: "top" }), h("div", { key: 'dd2a32a072d77afe216abc4958c1d686405fb780', class: "tabs-inner" }, h("slot", { key: '222c20ba862068f5c78e7bbef4fa213499fb2fa5' })), h("slot", { key: '3e76dcb1b21873aa137d095c56131514054ead3a', name: "bottom" })));
|
|
139
149
|
}
|
|
140
150
|
static get is() { return "ion-tabs"; }
|
|
141
151
|
static get encapsulation() { return "shadow"; }
|
|
@@ -150,7 +150,10 @@ export class Toast {
|
|
|
150
150
|
this.triggerController.removeClickListener();
|
|
151
151
|
}
|
|
152
152
|
componentWillLoad() {
|
|
153
|
-
|
|
153
|
+
var _a;
|
|
154
|
+
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
155
|
+
setOverlayId(this.el);
|
|
156
|
+
}
|
|
154
157
|
}
|
|
155
158
|
componentDidLoad() {
|
|
156
159
|
/**
|
|
@@ -388,9 +391,9 @@ export class Toast {
|
|
|
388
391
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
389
392
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
390
393
|
}
|
|
391
|
-
return (h(Host, Object.assign({ key: '
|
|
394
|
+
return (h(Host, Object.assign({ key: '68c336f80af04ba484ca9899bae8f40c0d9b7691', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
392
395
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
393
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
396
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '3483b188f14b700964a123997a60a43a2023a1b6', class: wrapperClass }, h("div", { key: '1b88544a9b87253b364cbec6285625388979b560', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'bd1c42e3b14af66b880dfe283e3ae910075c0f70', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'a5ef6cdabc1f7c70d11a5f2a0abf8737fe7550e8', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
394
397
|
}
|
|
395
398
|
static get is() { return "ion-toast"; }
|
|
396
399
|
static get encapsulation() { return "shadow"; }
|
|
@@ -130,6 +130,8 @@ input {
|
|
|
130
130
|
display: flex;
|
|
131
131
|
position: relative;
|
|
132
132
|
flex-grow: 1;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: space-between;
|
|
133
135
|
height: inherit;
|
|
134
136
|
transition: background-color 15ms linear;
|
|
135
137
|
cursor: inherit;
|
|
@@ -189,6 +191,14 @@ input {
|
|
|
189
191
|
align-items: center;
|
|
190
192
|
}
|
|
191
193
|
|
|
194
|
+
:host(.toggle-justify-space-between),
|
|
195
|
+
:host(.toggle-justify-start),
|
|
196
|
+
:host(.toggle-justify-end),
|
|
197
|
+
:host(.toggle-alignment-start),
|
|
198
|
+
:host(.toggle-alignment-center) {
|
|
199
|
+
display: block;
|
|
200
|
+
}
|
|
201
|
+
|
|
192
202
|
/**
|
|
193
203
|
* Label is on the left of the input in LTR and
|
|
194
204
|
* on the right in RTL.
|
|
@@ -69,8 +69,8 @@ export class Toggle {
|
|
|
69
69
|
this.value = 'on';
|
|
70
70
|
this.enableOnOffLabels = config.get('toggleOnOffLabels');
|
|
71
71
|
this.labelPlacement = 'start';
|
|
72
|
-
this.justify =
|
|
73
|
-
this.alignment =
|
|
72
|
+
this.justify = undefined;
|
|
73
|
+
this.alignment = undefined;
|
|
74
74
|
}
|
|
75
75
|
disabledChanged() {
|
|
76
76
|
if (this.gesture) {
|
|
@@ -157,20 +157,20 @@ export class Toggle {
|
|
|
157
157
|
const value = this.getValue();
|
|
158
158
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
159
159
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: '8f024fb0fbc2d4442be0574b03450426e8e4fc9e', onClick: this.onClick, class: createColorClasses(color, {
|
|
161
161
|
[mode]: true,
|
|
162
162
|
'in-item': hostContext('ion-item', el),
|
|
163
163
|
'toggle-activated': activated,
|
|
164
164
|
'toggle-checked': checked,
|
|
165
165
|
'toggle-disabled': disabled,
|
|
166
|
-
[`toggle-justify-${justify}`]:
|
|
167
|
-
[`toggle-alignment-${alignment}`]:
|
|
166
|
+
[`toggle-justify-${justify}`]: justify !== undefined,
|
|
167
|
+
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
168
168
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
169
169
|
[`toggle-${rtl}`]: true,
|
|
170
|
-
}) }, h("label", { key: '
|
|
170
|
+
}) }, h("label", { key: '0492f009cd89755adf41f60925028002df0e67b1', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'fd98b23e8adfa2630878eddc30607a0b1bf9e798', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: 'bcbde055ad9450319ae41e8956a1e8cc0a7796a4', class: {
|
|
171
171
|
'label-text-wrapper': true,
|
|
172
172
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
173
|
-
}, part: "label" }, h("slot", { key: '
|
|
173
|
+
}, part: "label" }, h("slot", { key: '7a6ea9515d454d80615f0622f361c5f91b41345c' })), h("div", { key: '6d3670b81b8f809092c98b3f3b8e483ddf6a7cac', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "ion-toggle"; }
|
|
176
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -324,36 +324,34 @@ export class Toggle {
|
|
|
324
324
|
"mutable": false,
|
|
325
325
|
"complexType": {
|
|
326
326
|
"original": "'start' | 'end' | 'space-between'",
|
|
327
|
-
"resolved": "\"end\" | \"space-between\" | \"start\"",
|
|
327
|
+
"resolved": "\"end\" | \"space-between\" | \"start\" | undefined",
|
|
328
328
|
"references": {}
|
|
329
329
|
},
|
|
330
330
|
"required": false,
|
|
331
|
-
"optional":
|
|
331
|
+
"optional": true,
|
|
332
332
|
"docs": {
|
|
333
333
|
"tags": [],
|
|
334
|
-
"text": "How to pack the label and toggle within a line.\n`\"start\"`: The label and toggle will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and toggle will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and toggle will appear on opposite\nends of the line with space between the two elements
|
|
334
|
+
"text": "How to pack the label and toggle within a line.\n`\"start\"`: The label and toggle will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and toggle will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and toggle will appear on opposite\nends of the line with space between the two elements.\nSetting this property will change the toggle `display` to `block`."
|
|
335
335
|
},
|
|
336
336
|
"attribute": "justify",
|
|
337
|
-
"reflect": false
|
|
338
|
-
"defaultValue": "'space-between'"
|
|
337
|
+
"reflect": false
|
|
339
338
|
},
|
|
340
339
|
"alignment": {
|
|
341
340
|
"type": "string",
|
|
342
341
|
"mutable": false,
|
|
343
342
|
"complexType": {
|
|
344
343
|
"original": "'start' | 'center'",
|
|
345
|
-
"resolved": "\"center\" | \"start\"",
|
|
344
|
+
"resolved": "\"center\" | \"start\" | undefined",
|
|
346
345
|
"references": {}
|
|
347
346
|
},
|
|
348
347
|
"required": false,
|
|
349
|
-
"optional":
|
|
348
|
+
"optional": true,
|
|
350
349
|
"docs": {
|
|
351
350
|
"tags": [],
|
|
352
|
-
"text": "How to control the alignment of the toggle 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
|
|
351
|
+
"text": "How to control the alignment of the toggle 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 toggle `display` to `block`."
|
|
353
352
|
},
|
|
354
353
|
"attribute": "alignment",
|
|
355
|
-
"reflect": false
|
|
356
|
-
"defaultValue": "'center'"
|
|
354
|
+
"reflect": false
|
|
357
355
|
}
|
|
358
356
|
};
|
|
359
357
|
}
|
|
@@ -130,6 +130,8 @@ input {
|
|
|
130
130
|
display: flex;
|
|
131
131
|
position: relative;
|
|
132
132
|
flex-grow: 1;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: space-between;
|
|
133
135
|
height: inherit;
|
|
134
136
|
transition: background-color 15ms linear;
|
|
135
137
|
cursor: inherit;
|
|
@@ -189,6 +191,14 @@ input {
|
|
|
189
191
|
align-items: center;
|
|
190
192
|
}
|
|
191
193
|
|
|
194
|
+
:host(.toggle-justify-space-between),
|
|
195
|
+
:host(.toggle-justify-start),
|
|
196
|
+
:host(.toggle-justify-end),
|
|
197
|
+
:host(.toggle-alignment-start),
|
|
198
|
+
:host(.toggle-alignment-center) {
|
|
199
|
+
display: block;
|
|
200
|
+
}
|
|
201
|
+
|
|
192
202
|
/**
|
|
193
203
|
* Label is on the left of the input in LTR and
|
|
194
204
|
* on the right in RTL.
|