@ionic/core 8.8.20-dev.11788449221.155f9f1e → 8.8.20-dev.11789504012.1a675914
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/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-gallery-item.js +1 -1
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-0MMiHJhx.js +4 -0
- package/components/{p-Cc3oC60a.js → p-0rXxxCTt.js} +1 -1
- package/components/{p-D6zl6ZA8.js → p-BXXTyrCp.js} +1 -1
- package/components/{p-D2tZEPGv.js → p-BZxBDeEU.js} +1 -1
- package/components/{p-DkfVuzjA.js → p-BcWO94Sl.js} +1 -1
- package/components/{p-BrF4HSay.js → p-Br6q6Rgq.js} +1 -1
- package/components/{p-CaXMr1SL.js → p-C-cw-bM-.js} +1 -1
- package/components/{p-B_a4XnF2.js → p-C2J-Hvv3.js} +1 -1
- package/components/{p-CHB9zWT6.js → p-C5Bnq_Hm.js} +1 -1
- package/components/{p-CxoHM559.js → p-C5JYXyPD.js} +1 -1
- package/components/{p-DNweMi32.js → p-C898H5L0.js} +1 -1
- package/components/{p-B39i6rpY.js → p-C8kcgEG7.js} +1 -1
- package/components/{p-BLP69XoA.js → p-CH8ypgvS.js} +1 -1
- package/components/{p-C1L59jNd.js → p-CMtmHGrE.js} +1 -1
- package/components/{p-C784We0w.js → p-CNlz8OTE.js} +1 -1
- package/components/p-CToV3-ig.js +4 -0
- package/components/p-CV7PNBGr.js +4 -0
- package/components/p-CgbD1udy.js +4 -0
- package/components/p-ClTdIlic.js +4 -0
- package/components/{p-Bs5kME4N.js → p-Dh1f5tAK.js} +1 -1
- package/components/{p-CWqLCAML.js → p-DqkLOArC.js} +1 -1
- package/components/{p-BUePQFRZ.js → p-WeNgVmOy.js} +1 -1
- package/components/p-eRqVSlkn.js +4 -0
- package/components/{p-Ds3yn-R0.js → p-fUXE2zLc.js} +1 -1
- package/components/p-pztWcmzj.js +4 -0
- package/dist/cjs/ion-accordion_2.cjs.entry.js +9 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +10 -11
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +16 -27
- package/dist/cjs/ion-checkbox.cjs.entry.js +22 -14
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +16 -48
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +13 -17
- package/dist/cjs/ion-gallery-item.cjs.entry.js +2 -2
- package/dist/cjs/ion-gallery.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 +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -27
- package/dist/cjs/ion-input.cjs.entry.js +6 -13
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +22 -26
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +13 -15
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +11 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -13
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +8 -34
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +10 -23
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +12 -27
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.js +9 -13
- package/dist/collection/components/back-button/back-button.js +10 -11
- package/dist/collection/components/breadcrumb/breadcrumb.js +16 -26
- package/dist/collection/components/checkbox/checkbox.ionic.css +33 -40
- package/dist/collection/components/checkbox/checkbox.ios.css +30 -24
- package/dist/collection/components/checkbox/checkbox.js +22 -12
- package/dist/collection/components/checkbox/checkbox.md.css +30 -24
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +12 -44
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +9 -13
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/gallery/gallery.js +2 -2
- package/dist/collection/components/gallery-item/gallery-item.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +6 -13
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +18 -26
- package/dist/collection/components/item/item.js +10 -14
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +9 -11
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +10 -4
- package/dist/collection/components/reorder/reorder.js +5 -12
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +8 -32
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +7 -20
- package/dist/collection/components/select-modal/select-modal.js +10 -8
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +12 -25
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +23 -10
- package/dist/esm/{index-B4Kq2YNk.js → index-PnwG0glX.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +10 -14
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +11 -12
- package/dist/esm/ion-breadcrumb_2.entry.js +17 -28
- package/dist/esm/ion-checkbox.entry.js +23 -15
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +17 -49
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +14 -18
- package/dist/esm/ion-gallery-item.entry.js +2 -2
- package/dist/esm/ion-gallery.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +19 -29
- package/dist/esm/ion-input.entry.js +7 -14
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +23 -27
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +14 -16
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +12 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -14
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +9 -35
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +11 -10
- package/dist/esm/ion-select_3.entry.js +11 -24
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +13 -28
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-2e0184c0.entry.js → p-0115c2fa.entry.js} +1 -1
- package/dist/ionic/p-0b2c58e0.entry.js +4 -0
- package/dist/ionic/{p-fc726f4a.entry.js → p-0bfb8d9e.entry.js} +1 -1
- package/dist/ionic/{p-68e453f7.entry.js → p-1147fa06.entry.js} +1 -1
- package/dist/ionic/{p-c4ed1e18.entry.js → p-1e45586e.entry.js} +1 -1
- package/dist/ionic/p-208cecae.entry.js +4 -0
- package/dist/ionic/p-29f69d29.entry.js +4 -0
- package/dist/ionic/{p-d9ac7a0d.entry.js → p-2b5e04c5.entry.js} +1 -1
- package/dist/ionic/{p-31a0c9c2.entry.js → p-311ef139.entry.js} +1 -1
- package/dist/ionic/{p-1ce65194.entry.js → p-3eff3411.entry.js} +1 -1
- package/dist/ionic/p-3f17704b.entry.js +4 -0
- package/dist/ionic/p-46e754ae.entry.js +4 -0
- package/dist/ionic/{p-b4901bce.entry.js → p-4901a10b.entry.js} +1 -1
- package/dist/ionic/{p-1b473bad.entry.js → p-4c8178d8.entry.js} +1 -1
- package/dist/ionic/p-5196bee9.entry.js +4 -0
- package/dist/ionic/{p-c4ebdfd2.entry.js → p-5386b094.entry.js} +1 -1
- package/dist/ionic/{p-2365483a.entry.js → p-54579b68.entry.js} +1 -1
- package/dist/ionic/{p-ff74cf5d.entry.js → p-54baa1af.entry.js} +1 -1
- package/dist/ionic/{p-2bf60b77.entry.js → p-59e59209.entry.js} +1 -1
- package/dist/ionic/p-5ad0c670.entry.js +4 -0
- package/dist/ionic/{p-9db78e5c.entry.js → p-62602fbd.entry.js} +1 -1
- package/dist/ionic/{p-316eed75.entry.js → p-6b86cb62.entry.js} +1 -1
- package/dist/ionic/p-7134537b.entry.js +4 -0
- package/dist/ionic/p-72eacca0.entry.js +4 -0
- package/dist/ionic/{p-296226f1.entry.js → p-7ae06f6f.entry.js} +1 -1
- package/dist/ionic/p-7bde9ee1.entry.js +4 -0
- package/dist/ionic/p-87ab986c.entry.js +4 -0
- package/dist/ionic/{p-8303462c.entry.js → p-9dff6288.entry.js} +1 -1
- package/dist/ionic/p-9e09cb80.entry.js +4 -0
- package/dist/ionic/{p-B4Kq2YNk.js → p-PnwG0glX.js} +1 -1
- package/dist/ionic/p-a320cdb2.entry.js +4 -0
- package/dist/ionic/{p-731d11e1.entry.js → p-a4bed36b.entry.js} +1 -1
- package/dist/ionic/{p-75c7595c.entry.js → p-a7914fe5.entry.js} +1 -1
- package/dist/ionic/p-aa298c58.entry.js +4 -0
- package/dist/ionic/{p-be06def7.entry.js → p-ace3062d.entry.js} +1 -1
- package/dist/ionic/{p-ddc41dbb.entry.js → p-b70775b0.entry.js} +1 -1
- package/dist/ionic/{p-2016c1c0.entry.js → p-b7c75507.entry.js} +1 -1
- package/dist/ionic/p-b920f149.entry.js +4 -0
- package/dist/ionic/p-c39025c0.entry.js +4 -0
- package/dist/ionic/{p-2e1d650a.entry.js → p-c9cda5ce.entry.js} +1 -1
- package/dist/ionic/{p-f6768728.entry.js → p-cc314123.entry.js} +1 -1
- package/dist/ionic/p-d1f42864.entry.js +4 -0
- package/dist/ionic/p-d4506138.entry.js +4 -0
- package/dist/ionic/{p-f0968c91.entry.js → p-dbd06d8d.entry.js} +1 -1
- package/dist/ionic/{p-a9df0ccf.entry.js → p-dda49380.entry.js} +1 -1
- package/dist/ionic/{p-5dedd699.entry.js → p-e95618c4.entry.js} +1 -1
- package/dist/ionic/{p-b25f3aba.entry.js → p-f89fcf62.entry.js} +1 -1
- package/dist/ionic/p-fcce2dda.entry.js +4 -0
- package/dist/ionic/p-fd2a869f.entry.js +4 -0
- package/dist/ionic/{p-bb7bb4fd.entry.js → p-fd95a423.entry.js} +1 -1
- package/dist/ionic/{p-7cbf17f0.entry.js → p-fe14205b.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +6 -0
- package/dist/types/components/back-button/back-button.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/types/components/checkbox/checkbox.d.ts +12 -1
- package/dist/types/components/datetime/datetime.d.ts +4 -4
- package/dist/types/components/fab-button/fab-button.d.ts +6 -0
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +12 -0
- package/dist/types/components/item/item.d.ts +6 -0
- package/dist/types/components/menu-button/menu-button.d.ts +5 -0
- package/dist/types/components/refresher-content/refresher-content.d.ts +6 -0
- package/dist/types/components/reorder/reorder.d.ts +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +5 -0
- package/dist/types/components/toggle/toggle.d.ts +5 -2
- package/dist/types/utils/config.d.ts +19 -0
- package/hydrate/index.js +297 -415
- package/hydrate/index.mjs +297 -415
- package/package.json +1 -2
- package/components/p-BDqjX7Z_.js +0 -4
- package/components/p-BYSs-jZz.js +0 -4
- package/components/p-BnQAsi91.js +0 -4
- package/components/p-C5F5Zw01.js +0 -4
- package/components/p-CA81qANP.js +0 -4
- package/components/p-CJNsztW3.js +0 -4
- package/components/p-CaB0_AG0.js +0 -4
- package/components/p-D1t981Ih.js +0 -4
- package/components/p-Dhi5xtNS.js +0 -4
- package/components/p-VrmyB-Wu.js +0 -4
- package/components/p-fIOYmaqA.js +0 -4
- package/components/p-vUGYs065.js +0 -4
- package/dist/cjs/caret-down-vtVgfXIs.js +0 -8
- package/dist/cjs/caret-left-CxZXLRv5.js +0 -8
- package/dist/cjs/caret-right-CRCgv98E.js +0 -8
- package/dist/cjs/list-a-7GSA6K.js +0 -8
- package/dist/cjs/x-BTF99yFH.js +0 -8
- package/dist/esm/caret-down-D1t981Ih.js +0 -6
- package/dist/esm/caret-left-fIOYmaqA.js +0 -6
- package/dist/esm/caret-right-BYSs-jZz.js +0 -6
- package/dist/esm/list-Dhi5xtNS.js +0 -6
- package/dist/esm/x-BDqjX7Z_.js +0 -6
- package/dist/ionic/p-0166d6e5.entry.js +0 -4
- package/dist/ionic/p-0a0a66e2.entry.js +0 -4
- package/dist/ionic/p-0c636ad3.entry.js +0 -4
- package/dist/ionic/p-126031d2.entry.js +0 -4
- package/dist/ionic/p-1a609156.entry.js +0 -4
- package/dist/ionic/p-1c1c18da.entry.js +0 -4
- package/dist/ionic/p-2a54aec2.entry.js +0 -4
- package/dist/ionic/p-40a21a22.entry.js +0 -4
- package/dist/ionic/p-431bc3ce.entry.js +0 -4
- package/dist/ionic/p-51542c69.entry.js +0 -4
- package/dist/ionic/p-711ba315.entry.js +0 -4
- package/dist/ionic/p-76232f5f.entry.js +0 -4
- package/dist/ionic/p-BDqjX7Z_.js +0 -4
- package/dist/ionic/p-BYSs-jZz.js +0 -4
- package/dist/ionic/p-D1t981Ih.js +0 -4
- package/dist/ionic/p-Dhi5xtNS.js +0 -4
- package/dist/ionic/p-ac3af8af.entry.js +0 -4
- package/dist/ionic/p-b3da2cc7.entry.js +0 -4
- package/dist/ionic/p-b4533070.entry.js +0 -4
- package/dist/ionic/p-c0983eac.entry.js +0 -4
- package/dist/ionic/p-dc8a8505.entry.js +0 -4
- package/dist/ionic/p-df642ef5.entry.js +0 -4
- package/dist/ionic/p-e086f8c3.entry.js +0 -4
- package/dist/ionic/p-edd8f490.entry.js +0 -4
- package/dist/ionic/p-fIOYmaqA.js +0 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import listRegular from "@phosphor-icons/core/assets/regular/list.svg";
|
|
5
4
|
import { Host, h } from "@stencil/core";
|
|
6
5
|
import { reorderThreeOutline, reorderTwoSharp } from "ionicons/icons";
|
|
7
6
|
import { config } from "../../global/config";
|
|
@@ -24,28 +23,22 @@ export class Reorder {
|
|
|
24
23
|
}
|
|
25
24
|
/**
|
|
26
25
|
* Get the icon to use for the handle icon.
|
|
27
|
-
*
|
|
26
|
+
* Use the icon set in the config.
|
|
28
27
|
* If no icon is set in the config, use the default icon.
|
|
29
28
|
*/
|
|
30
29
|
get reorderHandleIcon() {
|
|
31
|
-
// Determine the theme and map to default
|
|
30
|
+
// Determine the theme and map to the default icon
|
|
32
31
|
const theme = getIonTheme(this);
|
|
33
|
-
const
|
|
34
|
-
ios: reorderThreeOutline,
|
|
35
|
-
ionic: listRegular,
|
|
36
|
-
md: reorderTwoSharp,
|
|
37
|
-
};
|
|
38
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
39
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
32
|
+
const defaultIcon = theme === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
40
33
|
// Return the configured reorder handle icon or the default icon
|
|
41
34
|
return config.get('reorderHandleIcon', defaultIcon);
|
|
42
35
|
}
|
|
43
36
|
render() {
|
|
44
37
|
const { reorderHandleIcon } = this;
|
|
45
38
|
const theme = getIonTheme(this);
|
|
46
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '39735fa6f82677712606ddea0a5c5b120c448971', class: {
|
|
47
40
|
[theme]: true,
|
|
48
|
-
} }, h("slot", { key: '
|
|
41
|
+
} }, h("slot", { key: '74386ffc2e03773891344cc391656d47e1d4ea05' }, h("ion-icon", { key: '4e0b629cbeb9b6374547e67ecfe75177e0fcfaba', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
49
42
|
}
|
|
50
43
|
static get is() { return "ion-reorder"; }
|
|
51
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,7 +257,7 @@ export class ReorderGroup {
|
|
|
257
257
|
}
|
|
258
258
|
render() {
|
|
259
259
|
const theme = getIonTheme(this);
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: 'a8ccffc0c43e57ceee4da7715a0ebb27ab6cff7e', class: {
|
|
261
261
|
[theme]: true,
|
|
262
262
|
'reorder-enabled': !this.disabled,
|
|
263
263
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -72,7 +72,7 @@ export class RippleEffect {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const theme = getIonTheme(this);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '4c2a62db69e38712857f896dcc786081dcf5fa69', role: "presentation", class: {
|
|
76
76
|
[theme]: true,
|
|
77
77
|
unbounded: this.unbounded,
|
|
78
78
|
} }));
|
|
@@ -26,10 +26,10 @@ export class RouterLink {
|
|
|
26
26
|
rel: this.rel,
|
|
27
27
|
target: this.target,
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'f2705887002b0483ec237a211a5b167b79791334', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
30
30
|
[theme]: true,
|
|
31
31
|
'ion-activatable': true,
|
|
32
|
-
}) }, h("a", Object.assign({ key: '
|
|
32
|
+
}) }, h("a", Object.assign({ key: 'a08726ba3bcbc96531791d9cef48e7f29bcb26c8' }, attrs), h("slot", { key: '58b8c8151ee0b16cad43f1f2930c39bac1ab2396' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-router-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,7 +184,7 @@ export class RouterOutlet {
|
|
|
184
184
|
return true;
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return h("slot", { key: '
|
|
187
|
+
return h("slot", { key: 'ad5a4dfb30e9b6942131580c6f1b09cf562a1d8e' });
|
|
188
188
|
}
|
|
189
189
|
static get is() { return "ion-router-outlet"; }
|
|
190
190
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Row {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '5b29da33f0c81c893d28dcd7a5709f990955f184', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: 'ca96c5069a1c7f757c68730717083db2e1348dd4' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-row"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import arrowLeftRegular from "@phosphor-icons/core/assets/regular/arrow-left.svg";
|
|
5
|
-
import magnifyingGlassRegular from "@phosphor-icons/core/assets/regular/magnifying-glass.svg";
|
|
6
|
-
import xRegular from "@phosphor-icons/core/assets/regular/x.svg";
|
|
7
4
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
8
5
|
import { createClearButtonPressController } from "../../utils/forms/index";
|
|
9
6
|
import { debounceEvent, raf, componentOnReady, inheritAttributes } from "../../utils/helpers";
|
|
@@ -505,15 +502,9 @@ export class Searchbar {
|
|
|
505
502
|
if (this.clearIcon != null) {
|
|
506
503
|
return this.clearIcon;
|
|
507
504
|
}
|
|
508
|
-
// Determine the theme and map to default
|
|
505
|
+
// Determine the theme and map to the default icon
|
|
509
506
|
const theme = getIonTheme(this);
|
|
510
|
-
const
|
|
511
|
-
ios: closeCircle,
|
|
512
|
-
ionic: xRegular,
|
|
513
|
-
md: closeSharp,
|
|
514
|
-
};
|
|
515
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
516
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
507
|
+
const defaultIcon = theme === 'ios' ? closeCircle : closeSharp;
|
|
517
508
|
// Return the configured searchbar clear icon or the default icon
|
|
518
509
|
return config.get('searchbarClearIcon', defaultIcon);
|
|
519
510
|
}
|
|
@@ -529,15 +520,9 @@ export class Searchbar {
|
|
|
529
520
|
if (this.searchIcon != null && this.searchIcon !== 'true' && typeof this.searchIcon !== 'boolean') {
|
|
530
521
|
return this.searchIcon;
|
|
531
522
|
}
|
|
532
|
-
// Determine the theme and map to default
|
|
523
|
+
// Determine the theme and map to the default icon
|
|
533
524
|
const theme = getIonTheme(this);
|
|
534
|
-
const
|
|
535
|
-
ios: searchOutline,
|
|
536
|
-
ionic: magnifyingGlassRegular,
|
|
537
|
-
md: searchSharp,
|
|
538
|
-
};
|
|
539
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
540
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
525
|
+
const defaultIcon = theme === 'ios' ? searchOutline : searchSharp;
|
|
541
526
|
// Return the configured searchbar search icon or the default icon
|
|
542
527
|
return config.get('searchbarSearchIcon', defaultIcon);
|
|
543
528
|
}
|
|
@@ -552,17 +537,8 @@ export class Searchbar {
|
|
|
552
537
|
if (this.cancelButtonIcon != null) {
|
|
553
538
|
return this.cancelButtonIcon;
|
|
554
539
|
}
|
|
555
|
-
// Determine the theme and map to default icons
|
|
556
|
-
const theme = getIonTheme(this);
|
|
557
|
-
const defaultIcons = {
|
|
558
|
-
ios: arrowBackSharp,
|
|
559
|
-
ionic: arrowLeftRegular,
|
|
560
|
-
md: arrowBackSharp,
|
|
561
|
-
};
|
|
562
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
563
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
564
540
|
// Return the configured searchbar cancel icon, the back button icon or the default icon
|
|
565
|
-
return config.get('searchbarCancelIcon', config.get('backButtonIcon',
|
|
541
|
+
return config.get('searchbarCancelIcon', config.get('backButtonIcon', arrowBackSharp));
|
|
566
542
|
}
|
|
567
543
|
render() {
|
|
568
544
|
const { cancelButtonText, autocapitalize, searchbarCancelIcon, searchbarClearIcon, searchbarSearchIcon } = this;
|
|
@@ -571,8 +547,8 @@ export class Searchbar {
|
|
|
571
547
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
572
548
|
const shape = this.getShape();
|
|
573
549
|
const size = this.getSize();
|
|
574
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
575
|
-
return (h(Host, { key: '
|
|
550
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0096e98ef31b167640a8168ffac68c70826c91b6', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'cf7c7c798dfaced7256db4b0143bf9f277c1c556', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
551
|
+
return (h(Host, { key: 'e0ccf5cb212922eca551d6e264c5e388ed1b8491', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
576
552
|
[theme]: true,
|
|
577
553
|
'searchbar-animated': animated,
|
|
578
554
|
'searchbar-disabled': this.disabled,
|
|
@@ -586,7 +562,7 @@ export class Searchbar {
|
|
|
586
562
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
587
563
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
588
564
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
589
|
-
}) }, h("div", { key: '
|
|
565
|
+
}) }, h("div", { key: '523e4b3e95eabc18ea89fe53d89e9de3fb4d4136', class: "searchbar-input-container" }, h("input", Object.assign({ key: '4a725ef40344a1f3b39a79a29792e74fd071160c', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (h("ion-icon", { key: '98279385e1beefdfe509d567fa8fd000a06cedc3', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (h("button", { key: 'd8253933563466f0d99cbb30100169e5e196d4d1', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'c8aafd99ecdd1655094cc09e8774706e8830ea2f', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
590
566
|
}
|
|
591
567
|
static get is() { return "ion-searchbar"; }
|
|
592
568
|
static get encapsulation() { return "scoped"; }
|
|
@@ -548,14 +548,14 @@ export class Segment {
|
|
|
548
548
|
}
|
|
549
549
|
render() {
|
|
550
550
|
const theme = getIonTheme(this);
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '7ae948ff723fb57e50debf40948d0edc1f5e9d76', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
552
552
|
[theme]: true,
|
|
553
553
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
554
554
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
555
555
|
'segment-activated': this.activated,
|
|
556
556
|
'segment-disabled': this.disabled,
|
|
557
557
|
'segment-scrollable': this.scrollable,
|
|
558
|
-
}) }, h("slot", { key: '
|
|
558
|
+
}) }, h("slot", { key: '55983a51e2a1c9f62b995252548a97403117a2f5', onSlotchange: this.onSlottedItemsChange })));
|
|
559
559
|
}
|
|
560
560
|
static get is() { return "ion-segment"; }
|
|
561
561
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,7 +112,7 @@ export class SegmentButton {
|
|
|
112
112
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
113
113
|
const theme = getIonTheme(this);
|
|
114
114
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '0a564101d83274d08686d19b1eaca6c3e9a99368', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
118
118
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -128,7 +128,7 @@ export class SegmentButton {
|
|
|
128
128
|
'ion-activatable': true,
|
|
129
129
|
'ion-activatable-instant': true,
|
|
130
130
|
'ion-focusable': true,
|
|
131
|
-
} }, h("button", Object.assign({ key: '
|
|
131
|
+
} }, h("button", Object.assign({ key: '2a6c05a667bb8128e93b25b003e34f18168859b7', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: 'f93336993c28dbbf36d2ff01f9e345f02a0b52ac', class: "button-inner" }, h("slot", { key: '2e95f534c396a21024a295a7552b463dfdb6699d' })), theme === 'md' && h("ion-ripple-effect", { key: '85f8aa148ea43d2949bff1b85e1a81f9ce468ada' })), h("div", { key: '6024828b92a5baa3d9c4f69277ccff07e8a9959a', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'a048be6255e4a4b85c904f094e2c988800b9cb02', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "ion-segment-button"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'f5673115c4aac5f83689db7956b323ffc653bb04' }, h("slot", { key: '69b498d09af1ea3a1aef5a7337cc1fa1b1371dfb' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -110,11 +110,11 @@ export class SegmentView {
|
|
|
110
110
|
}
|
|
111
111
|
render() {
|
|
112
112
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: 'd22a21956658722c282d7426645bc35acb27a5ea', class: {
|
|
114
114
|
'segment-view-disabled': disabled,
|
|
115
115
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
116
116
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
117
|
-
} }, h("slot", { key: '
|
|
117
|
+
} }, h("slot", { key: '45a9eb6ebedf465805d5a9f0f2854da046e141b5' })));
|
|
118
118
|
}
|
|
119
119
|
static get is() { return "ion-segment-view"; }
|
|
120
120
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import caretDownRegular from "@phosphor-icons/core/assets/regular/caret-down.svg";
|
|
5
4
|
import { Build, Host, h, forceUpdate } from "@stencil/core";
|
|
6
5
|
import { ENABLE_HTML_CONTENT_DEFAULT } from "../../utils/config";
|
|
7
6
|
import { compareOptions, createNotchController, isOptionSelected, checkInvalidState } from "../../utils/forms/index";
|
|
@@ -913,15 +912,9 @@ export class Select {
|
|
|
913
912
|
else if (this.toggleIcon != null) {
|
|
914
913
|
return this.toggleIcon;
|
|
915
914
|
}
|
|
916
|
-
// Determine the theme and map to default
|
|
915
|
+
// Determine the theme and map to the default icon
|
|
917
916
|
const theme = getIonTheme(this);
|
|
918
|
-
const
|
|
919
|
-
ios: chevronExpand,
|
|
920
|
-
ionic: caretDownRegular,
|
|
921
|
-
md: caretDownSharp,
|
|
922
|
-
};
|
|
923
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
924
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
917
|
+
const defaultIcon = theme === 'ios' ? chevronExpand : caretDownSharp;
|
|
925
918
|
// Return the configured select expanded icon or the default icon
|
|
926
919
|
return config.get('selectExpandedIcon', defaultIcon);
|
|
927
920
|
}
|
|
@@ -936,15 +929,9 @@ export class Select {
|
|
|
936
929
|
if (this.toggleIcon) {
|
|
937
930
|
return this.toggleIcon;
|
|
938
931
|
}
|
|
939
|
-
// Determine the theme and map to default
|
|
932
|
+
// Determine the theme and map to the default icon
|
|
940
933
|
const theme = getIonTheme(this);
|
|
941
|
-
const
|
|
942
|
-
ios: chevronExpand,
|
|
943
|
-
ionic: caretDownRegular,
|
|
944
|
-
md: caretDownSharp,
|
|
945
|
-
};
|
|
946
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
947
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
934
|
+
const defaultIcon = theme === 'ios' ? chevronExpand : caretDownSharp;
|
|
948
935
|
return config.get('selectCollapsedIcon', defaultIcon);
|
|
949
936
|
}
|
|
950
937
|
getHintTextId() {
|
|
@@ -1017,7 +1004,7 @@ export class Select {
|
|
|
1017
1004
|
*/
|
|
1018
1005
|
const labelShouldFloat = labelPlacement === 'stacked' ||
|
|
1019
1006
|
(labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded || hasStartEndSlots));
|
|
1020
|
-
return (h(Host, { key: '
|
|
1007
|
+
return (h(Host, { key: '421ff485c68f19ae1a0002360fb844d64e26341b', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
1021
1008
|
[theme]: true,
|
|
1022
1009
|
'in-item': inItem,
|
|
1023
1010
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -1036,7 +1023,7 @@ export class Select {
|
|
|
1036
1023
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
1037
1024
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
1038
1025
|
[`select-size-${size}`]: size !== undefined,
|
|
1039
|
-
}) }, h("label", { key: '
|
|
1026
|
+
}) }, h("label", { key: '3a3fa4c1cdac0bf4d8e1751df28d84cb98125db3', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: 'f4b74cf2fb4c844570c9c6a4856e4dae9fa08546', class: "select-wrapper-inner", part: "inner" },
|
|
1040
1027
|
/**
|
|
1041
1028
|
* For the ionic theme, we render the outline container here
|
|
1042
1029
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -1046,7 +1033,7 @@ export class Select {
|
|
|
1046
1033
|
* <label> element, ensuring that clicking the label text
|
|
1047
1034
|
* focuses the select.
|
|
1048
1035
|
*/
|
|
1049
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
1036
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '79f6cf63866b2cc95b3404db5b7146215876a9ef', class: "select-outline" }), h("slot", { key: '9effed7b9be2ff2efc195365ba076a51aefdff12', name: "start" }), h("div", { key: 'd46086c58ab4a036d90a040754658de96a7b954a', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '444888068450fc299780e48c8f9208cb0918ca81', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'e005924ae26585279f58fce726f6f14b3076d255', class: "select-highlight" })), this.renderBottomContent()));
|
|
1050
1037
|
}
|
|
1051
1038
|
static get is() { return "ion-select"; }
|
|
1052
1039
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { config } from "../../global/config";
|
|
4
5
|
import { getIonMode, getIonTheme } from "../../global/ionic-global";
|
|
5
|
-
import xRegular from "@phosphor-icons/core/assets/regular/x.svg";
|
|
6
6
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
7
7
|
import { getOverlayLabelJustify, getOverlayLabelPlacement } from "../../utils/overlay-control-label";
|
|
8
8
|
import { safeCall } from "../../utils/overlays";
|
|
@@ -65,14 +65,16 @@ export class SelectModal {
|
|
|
65
65
|
option.checked = ev.detail.checked;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Get the icon to use for the cancel icon.
|
|
70
|
+
* Use the icon set in the config.
|
|
71
|
+
* If no icon is set in the config, use the default icon.
|
|
72
|
+
*/
|
|
68
73
|
get cancelButtonIcon() {
|
|
74
|
+
// Determine the theme and map to the default icon
|
|
69
75
|
const theme = getIonTheme(this);
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
md: closeSharp,
|
|
73
|
-
ionic: xRegular,
|
|
74
|
-
};
|
|
75
|
-
return icons[theme];
|
|
76
|
+
const defaultIcon = theme === 'ios' ? closeOutline : closeSharp;
|
|
77
|
+
return config.get('selectModalCancelIcon', defaultIcon);
|
|
76
78
|
}
|
|
77
79
|
getModalContextClasses() {
|
|
78
80
|
const el = this.el;
|
|
@@ -166,7 +168,7 @@ export class SelectModal {
|
|
|
166
168
|
});
|
|
167
169
|
}
|
|
168
170
|
render() {
|
|
169
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '8b5baa6cfec77592fbcc301def4d495b8caac190', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: '30c099ae1098549160b6d7167d6d07f0b98f77bc' }, h("ion-toolbar", { key: '93d993554d963120f41039b1236fbc1165f51905' }, this.header !== undefined && h("ion-title", { key: '2a2f9d093f8868d1c5d26412a8df4c87fe5a33cf' }, this.header), h("ion-buttons", { key: '39402227c2e023f840d47facc445cfaeff42588d', slot: "end" }, h("ion-button", { key: 'f72b9d6d23e6a659350779285acfbc322f20a39a', "aria-label": this.cancelIcon ? this.cancelText : undefined, "data-focus-order": "2", onClick: () => this.closeModal() }, this.cancelIcon ? (h("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: this.cancelButtonIcon })) : (this.cancelText))))), h("ion-content", { key: '4882a7d0789ed29f994fc048e4ea875a99422a9d' }, h("ion-list", { key: '8f4520f5aa5ea802c21137913559af9557a21aa8' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
170
172
|
}
|
|
171
173
|
static get is() { return "ion-select-modal"; }
|
|
172
174
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SelectOption {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const theme = getIonTheme(this);
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '68921c28b739be849fc204bb9c45316acad6e652', class: {
|
|
25
25
|
[theme]: true,
|
|
26
26
|
}, role: "option", id: this.inputId }));
|
|
27
27
|
}
|
|
@@ -168,9 +168,9 @@ export class SelectPopover {
|
|
|
168
168
|
const { header, message, options, subHeader } = this;
|
|
169
169
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
170
170
|
const theme = getIonTheme(this);
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '00e306f7d68005c0b17e598bec54471f5e38c991', class: {
|
|
172
172
|
[theme]: true,
|
|
173
|
-
} }, h("ion-list", { key: '
|
|
173
|
+
} }, h("ion-list", { key: '1357288064dc139a0ef4904744f945bf1dc39b3c' }, header !== undefined && h("ion-list-header", { key: '4e918516f5666e90f3218edc3a08734822b76075' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '170900f83842d73f6d9adbb7b9e4bc332dfa495d' }, h("ion-label", { key: 'a76efe58ad6066e601edc1794782e3928556423f', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'c88680bbbfc228a65c51f010c42158995d8a6507' }, subHeader), message !== undefined && h("p", { key: '91e49d1477b2b9d903da8a385da07b6e7de37f73' }, message)))), this.renderOptions(options))));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "ion-select-popover"; }
|
|
176
176
|
static get encapsulation() { return "scoped"; }
|
|
@@ -32,11 +32,11 @@ export class SkeletonText {
|
|
|
32
32
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
33
33
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34
34
|
const theme = getIonTheme(this);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '7a27c2f32338a0770951ab814095dd0bf091966c', class: {
|
|
36
36
|
[theme]: true,
|
|
37
37
|
'skeleton-text-animated': animated,
|
|
38
38
|
'in-media': inMedia,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: 'f21c7f76ea9095a6c2fe39714d2415abc0b5366b' }, "\u00A0")));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ion-skeleton-text"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class Spinner {
|
|
|
56
56
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'b79be740dda143c26a7eba82cc9e293817c36f9c', class: createColorClasses(self.color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`spinner-${spinnerName}`]: true,
|
|
62
62
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -131,12 +131,12 @@ export class SplitPane {
|
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
133
|
const theme = getIonTheme(this);
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '99c50cd64e68d1c6b0bc96dd0b26536e0e4b4abd', class: {
|
|
135
135
|
[theme]: true,
|
|
136
136
|
// Used internally for styling
|
|
137
137
|
[`split-pane-${theme}`]: true,
|
|
138
138
|
'split-pane-visible': this.visible,
|
|
139
|
-
} }, h("slot", { key: '
|
|
139
|
+
} }, h("slot", { key: '5cfb890a39fbe765df1880d1ecce78e90d997218' })));
|
|
140
140
|
}
|
|
141
141
|
static get is() { return "ion-split-pane"; }
|
|
142
142
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,10 +58,10 @@ export class Tab {
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
const { tab, active, component } = this;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'fad6d6f10e09fa268c978b3edc5fd2fa2353289b', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
62
62
|
'ion-page': component === undefined,
|
|
63
63
|
'tab-hidden': !active,
|
|
64
|
-
} }, h("slot", { key: '
|
|
64
|
+
} }, h("slot", { key: 'ff3bfedc122f2641d4d742ab7f635941931939e9' })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "ion-tab"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -178,14 +178,14 @@ export class TabBar {
|
|
|
178
178
|
const theme = getIonTheme(this);
|
|
179
179
|
const shape = this.getShape();
|
|
180
180
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
181
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: 'a3feb835e4c8227dd0da680574580b236805ab01', role: "tablist", class: createColorClasses(color, {
|
|
182
182
|
[theme]: true,
|
|
183
183
|
'tab-bar-translucent': translucent,
|
|
184
184
|
'tab-bar-hidden': shouldHide,
|
|
185
185
|
'tab-bar-scroll-effect-hide': scrollEffect === 'hide',
|
|
186
186
|
[`tab-bar-${expand}`]: true,
|
|
187
187
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
188
|
-
}) }, h("slot", { key: '
|
|
188
|
+
}) }, h("slot", { key: '6d1f785f9e781b1850bc2d69960c8bc8871bcde6' })));
|
|
189
189
|
}
|
|
190
190
|
static get is() { return "ion-tab-bar"; }
|
|
191
191
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,7 +93,7 @@ export class TabButton {
|
|
|
93
93
|
rel,
|
|
94
94
|
target,
|
|
95
95
|
};
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: 'ea2434faf0ba75131fb578f8f3bc1ea6e6729bff', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
97
97
|
[theme]: true,
|
|
98
98
|
'tab-selected': selected,
|
|
99
99
|
'tab-disabled': disabled,
|
|
@@ -106,7 +106,7 @@ export class TabButton {
|
|
|
106
106
|
'ion-selectable': true,
|
|
107
107
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
108
108
|
'ion-focusable': true,
|
|
109
|
-
} }, h("a", Object.assign({ key: '
|
|
109
|
+
} }, h("a", Object.assign({ key: '049dcedfa561ff54175fd9bfa4405788e0fddf22' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '25670e1072e9e1889262483736aed7d45f5fd05f', class: "button-inner" }, h("slot", { key: 'fb8df1a587a22db676492bbb14d8473aab4cc0fe' })), theme === 'md' && h("ion-ripple-effect", { key: '49a8bbfe9dc4d41707afcf9f872db5d1c8bb8287', type: "unbounded" }))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "ion-tab-button"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,7 +165,7 @@ export class Tabs {
|
|
|
165
165
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '9d666c6fd4e18fda8db4403a0c5e759704b15740', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '453d78ddd05f0097a33a8a794b709a1ddc165606', name: "top" }), h("div", { key: 'da5c93579ebfa17c4d685b2f62f35668026b5754', class: "tabs-inner" }, h("slot", { key: 'af019d0c0b9b8a63984b11b570924e8acf18f84c' })), h("slot", { key: '620be553e6b2b44ff67776ebacc0b6c40375703f', name: "bottom" })));
|
|
169
169
|
}
|
|
170
170
|
static get is() { return "ion-tabs"; }
|
|
171
171
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Text {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd3306513b05f65be6ead42865765773af89d3a78', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: '0781d7e76e15d07dc727bf539cb42ca379393eae' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-text"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -565,7 +565,7 @@ export class Textarea {
|
|
|
565
565
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
566
566
|
*/
|
|
567
567
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
568
|
-
return (h(Host, { key: '
|
|
568
|
+
return (h(Host, { key: 'b613bb449100c5d7a982ffb0a39ea6324e8eb6ea', class: createColorClasses(this.color, {
|
|
569
569
|
[theme]: true,
|
|
570
570
|
'has-value': hasValue,
|
|
571
571
|
'has-focus': hasFocus,
|
|
@@ -577,7 +577,7 @@ export class Textarea {
|
|
|
577
577
|
'in-item': inItem,
|
|
578
578
|
'textarea-disabled': disabled,
|
|
579
579
|
'textarea-readonly': readonly,
|
|
580
|
-
}) }, h("label", { key: '
|
|
580
|
+
}) }, h("label", { key: '08a603a3fa102701d756d36d4d5d2d5e01f2895f', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: '076362fb04fa45e89c2ecb46b51937ab80026e34', class: "textarea-wrapper-inner" },
|
|
581
581
|
/**
|
|
582
582
|
* For the ionic theme, we render the outline container here
|
|
583
583
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -587,7 +587,7 @@ export class Textarea {
|
|
|
587
587
|
* <label> element, ensuring that clicking the label text
|
|
588
588
|
* focuses the textarea.
|
|
589
589
|
*/
|
|
590
|
-
theme === 'ionic' && fill === 'outline' && h("div", { key: '
|
|
590
|
+
theme === 'ionic' && fill === 'outline' && h("div", { key: '2baacd12528f1da1e8442cf73367e985831d30fa', class: "textarea-outline" }), h("div", { key: '2cbb11940c93eefa3c8aee37a4abec1287600cdc', class: "start-slot-wrapper" }, h("slot", { key: 'a5036f96342252e34440e1c69147179f433b65cf', name: "start" })), h("div", { key: '7fe6ef38994528bda8f60ef05ce63172220a19f3', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, h("textarea", Object.assign({ key: '3b34140264bda8dea770c26b6918c837028e249f', class: "native-textarea", part: "native", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), h("div", { key: 'fdc551f7e180ca3b8a147453710a330cd28ca60f', class: "end-slot-wrapper" }, h("slot", { key: '135cef89f5341fd1cbbe5e54540cc29308338335', name: "end" }))), shouldRenderHighlight && h("div", { key: '8ffde39c6795139dd50100e09acdccd993a85ed8', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
591
591
|
}
|
|
592
592
|
static get is() { return "ion-textarea"; }
|
|
593
593
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class Thumbnail {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '15fc2ed6061718490f5bccc3f3e32fe4dc221952', class: {
|
|
14
14
|
[theme]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '7a602964f62da3e651c50663b4761130e3897bda' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-thumbnail"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class ToolbarTitle {
|
|
|
27
27
|
render() {
|
|
28
28
|
const theme = getIonTheme(this);
|
|
29
29
|
const size = this.getSize();
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'ee32202b0a04aa63b4369e5d4862759cb8ec24c0', class: createColorClasses(this.color, {
|
|
31
31
|
[theme]: true,
|
|
32
32
|
[`title-${size}`]: true,
|
|
33
33
|
'title-rtl': document.dir === 'rtl',
|
|
34
|
-
}) }, h("div", { key: '
|
|
34
|
+
}) }, h("div", { key: 'bfe124a72b10e9f4375ca0aa7caf46b8ef1e5ae8', class: "toolbar-title" }, h("slot", { key: 'b55441661bacb883ddf9895616cfc72792f3508a' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -439,9 +439,9 @@ export class Toast {
|
|
|
439
439
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
440
440
|
printIonWarning('[ion-toast] - 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);
|
|
441
441
|
}
|
|
442
|
-
return (h(Host, Object.assign({ key: '
|
|
442
|
+
return (h(Host, Object.assign({ key: 'e1329d64ec1f9a77fbd507a7c91e8c76c6769577', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
443
443
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
444
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
444
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '5ba5af3fc1f143a0b27c5ae26c4cd5ae039eff27', class: wrapperClass, part: "wrapper" }, h("div", { key: '407fe3b6ea1ed8de232e76b0d24a21d018386ab3', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: 'e35c3ff1bfed97dab0309488a6ac0b898ebdc9f0', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '7b753256e7b44c4bbe816bcb244178991bf01e45', class: "toast-content", part: "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')))));
|
|
445
445
|
}
|
|
446
446
|
static get is() { return "ion-toast"; }
|
|
447
447
|
static get encapsulation() { return "shadow"; }
|