@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,8 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import checkRegular from "@phosphor-icons/core/assets/regular/check.svg";
|
|
5
|
-
import minusRegular from "@phosphor-icons/core/assets/regular/minus.svg";
|
|
6
4
|
import { Build, Host, forceUpdate, h } from "@stencil/core";
|
|
7
5
|
import { checkInvalidState, createItemMultipleInputsObserver } from "../../utils/forms/index";
|
|
8
6
|
import { renderHiddenInput, inheritAriaAttributes } from "../../utils/helpers";
|
|
@@ -247,22 +245,17 @@ export class Toggle {
|
|
|
247
245
|
setFocus() {
|
|
248
246
|
this.el.focus();
|
|
249
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Get the default icon to use for the checked icon based on the theme.
|
|
250
|
+
*/
|
|
250
251
|
get toggleDefaultCheckedIcon() {
|
|
251
|
-
// Determine the theme and map to default
|
|
252
|
+
// Determine the theme and map to the default icon
|
|
252
253
|
const theme = getIonTheme(this);
|
|
253
|
-
|
|
254
|
-
ios: removeOutline,
|
|
255
|
-
ionic: checkRegular,
|
|
256
|
-
md: checkmarkOutline,
|
|
257
|
-
};
|
|
258
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
259
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
260
|
-
// Return the default icon
|
|
261
|
-
return defaultIcon;
|
|
254
|
+
return theme === 'ios' ? removeOutline : checkmarkOutline;
|
|
262
255
|
}
|
|
263
256
|
/**
|
|
264
257
|
* Get the icon to use for the checked icon.
|
|
265
|
-
*
|
|
258
|
+
* Use the icon set in the config.
|
|
266
259
|
* If no icon is set in the config, use the default icon.
|
|
267
260
|
*/
|
|
268
261
|
get toggleCheckedIcon() {
|
|
@@ -270,19 +263,13 @@ export class Toggle {
|
|
|
270
263
|
}
|
|
271
264
|
/**
|
|
272
265
|
* Get the icon to use for the unchecked icon.
|
|
273
|
-
*
|
|
266
|
+
* Use the icon set in the config.
|
|
274
267
|
* If no icon is set in the config, use the default icon.
|
|
275
268
|
*/
|
|
276
269
|
get toggleUncheckedIcon() {
|
|
277
|
-
// Determine the theme and map to default
|
|
270
|
+
// Determine the theme and map to the default icon
|
|
278
271
|
const theme = getIonTheme(this);
|
|
279
|
-
const
|
|
280
|
-
ios: ellipseOutline,
|
|
281
|
-
ionic: minusRegular,
|
|
282
|
-
md: removeOutline,
|
|
283
|
-
};
|
|
284
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
285
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
272
|
+
const defaultIcon = theme === 'ios' ? ellipseOutline : removeOutline;
|
|
286
273
|
// Return the configured toggle unchecked icon or the default icon
|
|
287
274
|
return config.get('toggleUncheckedIcon', defaultIcon);
|
|
288
275
|
}
|
|
@@ -352,7 +339,7 @@ export class Toggle {
|
|
|
352
339
|
// The attributes are matched too because the class needs the item to render.
|
|
353
340
|
const inClickableItem = hostContext('ion-item.ion-activatable, ion-item[button], ion-item[href]', el);
|
|
354
341
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
355
|
-
return (h(Host, { key: '
|
|
342
|
+
return (h(Host, { key: 'eed0ae9f024ad9e4160b73465cad2723470c5d33', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses(color, {
|
|
356
343
|
[theme]: true,
|
|
357
344
|
'in-item': inItem,
|
|
358
345
|
// `ion-focusable` has to stay on because it is what makes the item focusable.
|
|
@@ -367,10 +354,10 @@ export class Toggle {
|
|
|
367
354
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
368
355
|
[`toggle-${rtl}`]: true,
|
|
369
356
|
'ion-activatable': isIonicTheme,
|
|
370
|
-
}) }, h("label", { key: '
|
|
357
|
+
}) }, h("label", { key: '63c4c5d2770b547e14daf482e9eea1ad5b27a88a', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '15b5cf7825f1f2511e07c9d2af5681abc83731f1', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: 'f579e6cfcd7ef68b6c213a3435e5ff14687e9678', class: {
|
|
371
358
|
'label-text-wrapper': true,
|
|
372
359
|
'label-text-wrapper-hidden': !hasLabel,
|
|
373
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '
|
|
360
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: 'e47cef085d9486c529f932df0ec5ae0620075ebc' }), this.renderHintText()), h("div", { key: '6c9b697a652d2f0329fc02f84ee81898c8ee39d3', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
374
361
|
}
|
|
375
362
|
static get is() { return "ion-toggle"; }
|
|
376
363
|
static get encapsulation() { return "shadow"; }
|
|
@@ -242,11 +242,11 @@ export class Toolbar {
|
|
|
242
242
|
Object.assign(childStyles, style);
|
|
243
243
|
});
|
|
244
244
|
const titlePlacement = this.getTitlePlacement();
|
|
245
|
-
return (h(Host, { key: '
|
|
245
|
+
return (h(Host, { key: 'bbb8d7cd786d5b91b0f65b97335294d9701d4cdc', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
246
246
|
[theme]: true,
|
|
247
247
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
248
248
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
249
|
-
})), childStyles) }, h("div", { key: '
|
|
249
|
+
})), childStyles) }, h("div", { key: 'c5ea1b921e87f6f1615f1fa98959a985881bf9f1', class: "toolbar-background", part: "background" }), h("div", { key: 'fa9da58a2be236daa05e26ddd4046dff41d33fcb', class: "toolbar-container", part: "container" }, h("slot", { key: '45f76c8833843bc27c79121bec16d65433277c12', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '3d1a7f34bc361ae87e361e05c5c6a3b2a7423f1d', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'ad7d5133a105c9b9398a0c6458c5ff3f9b0f6253', class: "toolbar-content", part: "content" }, h("slot", { key: '783fe390e4bca1b7a245961e750a50bb009173b6' })), h("slot", { key: 'a555b3bef40a9bab3a1f1b39a02cbc8b28122c4a', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '635a84fff3818e4648ea46bd80f5ef0808a9ff0e', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
250
250
|
}
|
|
251
251
|
static get is() { return "ion-toolbar"; }
|
|
252
252
|
static get encapsulation() { return "shadow"; }
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-09-
|
|
2
|
+
"timestamp": "2026-09-15T20:29:12",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.43.5",
|
|
@@ -7807,7 +7807,11 @@
|
|
|
7807
7807
|
},
|
|
7808
7808
|
{
|
|
7809
7809
|
"name": "part",
|
|
7810
|
-
"text": "
|
|
7810
|
+
"text": "icon - The icon that displays the checkmark."
|
|
7811
|
+
},
|
|
7812
|
+
{
|
|
7813
|
+
"name": "part",
|
|
7814
|
+
"text": "mark - The checkmark used to indicate the checked state. Only applies when no icon is set in the config."
|
|
7811
7815
|
},
|
|
7812
7816
|
{
|
|
7813
7817
|
"name": "part",
|
|
@@ -8530,12 +8534,6 @@
|
|
|
8530
8534
|
"docs": "Color of the checkbox checkmark when checked",
|
|
8531
8535
|
"mode": "md"
|
|
8532
8536
|
},
|
|
8533
|
-
{
|
|
8534
|
-
"name": "--checkmark-height",
|
|
8535
|
-
"annotation": "prop",
|
|
8536
|
-
"docs": "Stroke height of the checkbox checkmark",
|
|
8537
|
-
"mode": "ionic"
|
|
8538
|
-
},
|
|
8539
8537
|
{
|
|
8540
8538
|
"name": "--checkmark-width",
|
|
8541
8539
|
"annotation": "prop",
|
|
@@ -8628,13 +8626,17 @@
|
|
|
8628
8626
|
"name": "helper-text",
|
|
8629
8627
|
"docs": "Supporting text displayed beneath the checkbox label when the checkbox is valid."
|
|
8630
8628
|
},
|
|
8629
|
+
{
|
|
8630
|
+
"name": "icon",
|
|
8631
|
+
"docs": "The icon that displays the checkmark."
|
|
8632
|
+
},
|
|
8631
8633
|
{
|
|
8632
8634
|
"name": "label",
|
|
8633
8635
|
"docs": "The label text describing the checkbox."
|
|
8634
8636
|
},
|
|
8635
8637
|
{
|
|
8636
8638
|
"name": "mark",
|
|
8637
|
-
"docs": "The checkmark used to indicate the checked state."
|
|
8639
|
+
"docs": "The checkmark used to indicate the checked state. Only applies when no icon is set in the config."
|
|
8638
8640
|
},
|
|
8639
8641
|
{
|
|
8640
8642
|
"name": "supporting-text",
|
|
@@ -8646,8 +8648,13 @@
|
|
|
8646
8648
|
"ion-select-modal",
|
|
8647
8649
|
"ion-select-popover"
|
|
8648
8650
|
],
|
|
8649
|
-
"dependencies": [
|
|
8651
|
+
"dependencies": [
|
|
8652
|
+
"ion-icon"
|
|
8653
|
+
],
|
|
8650
8654
|
"dependencyGraph": {
|
|
8655
|
+
"ion-checkbox": [
|
|
8656
|
+
"ion-icon"
|
|
8657
|
+
],
|
|
8651
8658
|
"ion-select-modal": [
|
|
8652
8659
|
"ion-checkbox"
|
|
8653
8660
|
],
|
|
@@ -39580,6 +39587,9 @@
|
|
|
39580
39587
|
"ion-icon",
|
|
39581
39588
|
"ion-ripple-effect"
|
|
39582
39589
|
],
|
|
39590
|
+
"ion-checkbox": [
|
|
39591
|
+
"ion-icon"
|
|
39592
|
+
],
|
|
39583
39593
|
"ion-popover": [
|
|
39584
39594
|
"ion-backdrop"
|
|
39585
39595
|
],
|
|
@@ -39811,6 +39821,9 @@
|
|
|
39811
39821
|
"ion-icon",
|
|
39812
39822
|
"ion-ripple-effect"
|
|
39813
39823
|
],
|
|
39824
|
+
"ion-checkbox": [
|
|
39825
|
+
"ion-icon"
|
|
39826
|
+
],
|
|
39814
39827
|
"ion-button": [
|
|
39815
39828
|
"ion-ripple-effect"
|
|
39816
39829
|
],
|
|
@@ -30,4 +30,4 @@ const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2
|
|
|
30
30
|
const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M338.29 338.29 448 448' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
31
31
|
const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M464 428 339.92 303.9a160.48 160.48 0 0 0 30.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0 0 94.58-30.72L428 464ZM209.32 319.69a110.38 110.38 0 1 1 110.37-110.37 110.5 110.5 0 0 1-110.37 110.37'/></svg>";
|
|
32
32
|
|
|
33
|
-
export { arrowBackSharp as a,
|
|
33
|
+
export { arrowBackSharp as a, closeCircle as b, chevronBack as c, closeSharp as d, searchSharp as e, checkmarkOutline as f, ellipseOutline as g, arrowDown as h, caretBackSharp as i, reorderThreeOutline as j, reorderTwoSharp as k, chevronDown as l, ellipsisHorizontal as m, chevronForwardOutline as n, chevronForward as o, caretDownSharp as p, caretUpSharp as q, removeOutline as r, searchOutline as s, close as t, menuOutline as u, menuSharp as v, chevronExpand as w, eyeOff as x, eye as y, closeOutline as z };
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, e as config, h, d as Host, g as getElement, c as createEvent, f as printIonWarning } from './index-C0EQceqV.js';
|
|
5
|
-
import { c as caretDownSvg } from './caret-down-D1t981Ih.js';
|
|
6
5
|
import { g as getElementRoot, r as raf, f as addEventListener, m as removeEventListener, t as transitionEndAsync } from './helpers-ChPZH7zh.js';
|
|
7
6
|
import { h as hostContext } from './theme-DaJxRxSQ.js';
|
|
8
|
-
import { l as chevronDown } from './index-
|
|
7
|
+
import { l as chevronDown } from './index-PnwG0glX.js';
|
|
9
8
|
import { c as getIonTheme } from './ionic-global-BJDU78B6.js';
|
|
10
9
|
import './focus-visible-vXpMhGrs.js';
|
|
11
10
|
import './dir-o8OKV5aD.js';
|
|
@@ -360,22 +359,19 @@ const Accordion = class {
|
|
|
360
359
|
this.setAria(expanded);
|
|
361
360
|
});
|
|
362
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* Get the icon to use for the toggle icon.
|
|
364
|
+
* If an icon is set on the component, use that.
|
|
365
|
+
* Otherwise, use the icon set in the config.
|
|
366
|
+
* If no icon is set in the config, use the default icon.
|
|
367
|
+
*/
|
|
363
368
|
get accordionToggleIcon() {
|
|
364
369
|
// Return the icon if it is explicitly set
|
|
365
370
|
if (this.toggleIcon != null) {
|
|
366
371
|
return this.toggleIcon;
|
|
367
372
|
}
|
|
368
|
-
// Determine the theme and map to default icons
|
|
369
|
-
const theme = getIonTheme(this);
|
|
370
|
-
const defaultIcons = {
|
|
371
|
-
ios: chevronDown,
|
|
372
|
-
ionic: caretDownSvg,
|
|
373
|
-
md: chevronDown,
|
|
374
|
-
};
|
|
375
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
376
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
377
373
|
// Return the configured accordion toggle icon or the default icon
|
|
378
|
-
return config.get('accordionToggleIcon',
|
|
374
|
+
return config.get('accordionToggleIcon', chevronDown);
|
|
379
375
|
}
|
|
380
376
|
toggleExpanded() {
|
|
381
377
|
const { accordionGroupEl, disabled, readonly, value, state } = this;
|
|
@@ -406,7 +402,7 @@ const Accordion = class {
|
|
|
406
402
|
const headerPart = expanded ? 'header expanded' : 'header';
|
|
407
403
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
408
404
|
this.setAria(expanded);
|
|
409
|
-
return (h(Host, { key: '
|
|
405
|
+
return (h(Host, { key: '2e516386263715b2843c0af02e7ac928df1da007', class: {
|
|
410
406
|
[theme]: true,
|
|
411
407
|
'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,
|
|
412
408
|
'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,
|
|
@@ -419,7 +415,7 @@ const Accordion = class {
|
|
|
419
415
|
'accordion-readonly': readonly,
|
|
420
416
|
'accordion-animated': this.shouldAnimate(),
|
|
421
417
|
'in-accordion-group-expand-inset': hostContext('.accordion-group-expand-inset', this.el),
|
|
422
|
-
}, tabindex: disabled ? '-1' : undefined }, h("div", { key: '
|
|
418
|
+
}, tabindex: disabled ? '-1' : undefined }, h("div", { key: 'd865a68388a1a7e6d594258a277a0b72a2565043', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, h("slot", { key: '1a5b7987a7e2b4903bdf5575c10f2995bcbc7a64', name: "header" })), h("div", { key: 'dbba2ad70c192a08e73e490876ad57f35499c551', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, h("div", { key: '0183fb76b3a8356b0d1d3f5cd53dd77e1bc196f4', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: 'fa38df103feb66a412d7998e664f3c4818b20f75', name: "content" })))));
|
|
423
419
|
}
|
|
424
420
|
static get delegatesFocus() { return true; }
|
|
425
421
|
get el() { return getElement(this); }
|
|
@@ -499,7 +499,7 @@ const Content = class {
|
|
|
499
499
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
500
500
|
const transitionShadow = theme === 'ios';
|
|
501
501
|
this.resize();
|
|
502
|
-
return (h(Host, Object.assign({ key: '
|
|
502
|
+
return (h(Host, Object.assign({ key: '6be663a1c94186ab306827797e0743d936616b8f', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
503
503
|
[theme]: true,
|
|
504
504
|
'content-fullscreen': this.fullscreen,
|
|
505
505
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
@@ -508,12 +508,12 @@ const Content = class {
|
|
|
508
508
|
}), style: {
|
|
509
509
|
'--offset-top': `${this.cTop}px`,
|
|
510
510
|
'--offset-bottom': `${this.cBottom}px`,
|
|
511
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
511
|
+
} }, inheritedAttributes), h("div", { key: '237014db6e83ca2651eed9968b2d909af3658d14', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: 'cafc39be73fc71223f57d283b46c94ddb5605ab3', class: {
|
|
512
512
|
'inner-scroll': true,
|
|
513
513
|
'scroll-x': scrollX,
|
|
514
514
|
'scroll-y': scrollY,
|
|
515
515
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
516
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
516
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: 'b93929f7d6d8512a042892532f58b5fbbafec449' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
517
517
|
}
|
|
518
518
|
get el() { return getElement(this); }
|
|
519
519
|
static get watchers() { return {
|
|
@@ -770,7 +770,7 @@ const Footer = class {
|
|
|
770
770
|
const hasFade = effect === 'fade' && !isModeRestricted;
|
|
771
771
|
const tabs = this.el.closest('ion-tabs');
|
|
772
772
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
773
|
-
return (h(Host, { key: '
|
|
773
|
+
return (h(Host, { key: 'a968cbaa37aa5f66f852b393d17a5617892d3708', role: "contentinfo", class: {
|
|
774
774
|
[theme]: true,
|
|
775
775
|
// Used internally for styling
|
|
776
776
|
[`footer-${theme}`]: true,
|
|
@@ -779,7 +779,7 @@ const Footer = class {
|
|
|
779
779
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
780
780
|
'footer-collapse-fade': hasFade,
|
|
781
781
|
'footer-scroll-effect-hide': hasHide,
|
|
782
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
782
|
+
} }, theme === 'ios' && translucent && h("div", { key: '5116db55a74d2a738a00c177d797dc03146ea129', class: "footer-background" }), h("slot", { key: 'b61dd28630507aa01c047e119bbc367d26c5be93' })));
|
|
783
783
|
}
|
|
784
784
|
get el() { return getElement(this); }
|
|
785
785
|
};
|
|
@@ -1242,7 +1242,7 @@ const Header = class {
|
|
|
1242
1242
|
const isHiddenCondense = effect === 'condense' && !hasCondense;
|
|
1243
1243
|
// banner role must be at top level, so remove role if inside a menu
|
|
1244
1244
|
const roleType = isHiddenCondense ? 'none' : getRoleType(hostContext('ion-menu', this.el));
|
|
1245
|
-
return (h(Host, Object.assign({ key: '
|
|
1245
|
+
return (h(Host, Object.assign({ key: '41cc94124ed8dfb413deecfd3369facbbbd91096', role: roleType, class: {
|
|
1246
1246
|
[theme]: true,
|
|
1247
1247
|
// Used internally for styling
|
|
1248
1248
|
[`header-${theme}`]: true,
|
|
@@ -1253,7 +1253,7 @@ const Header = class {
|
|
|
1253
1253
|
[`header-translucent-${theme}`]: this.translucent,
|
|
1254
1254
|
['header-divider']: divider,
|
|
1255
1255
|
'header-scroll-effect-hide': hasHide,
|
|
1256
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
1256
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: 'bbf8d7571a1c1f07ddd03d806218b26a4b32e2c3', class: "header-background" }), h("slot", { key: '84cad2cdebcdc2902b7a19042a83d8c56a19612d' })));
|
|
1257
1257
|
}
|
|
1258
1258
|
get el() { return getElement(this); }
|
|
1259
1259
|
};
|
|
@@ -1440,7 +1440,7 @@ const RouterOutlet = class {
|
|
|
1440
1440
|
return true;
|
|
1441
1441
|
}
|
|
1442
1442
|
render() {
|
|
1443
|
-
return h("slot", { key: '
|
|
1443
|
+
return h("slot", { key: 'ad5a4dfb30e9b6942131580c6f1b09cf562a1d8e' });
|
|
1444
1444
|
}
|
|
1445
1445
|
get el() { return getElement(this); }
|
|
1446
1446
|
static get watchers() { return {
|
|
@@ -1480,11 +1480,11 @@ const ToolbarTitle = class {
|
|
|
1480
1480
|
render() {
|
|
1481
1481
|
const theme = getIonTheme(this);
|
|
1482
1482
|
const size = this.getSize();
|
|
1483
|
-
return (h(Host, { key: '
|
|
1483
|
+
return (h(Host, { key: 'ee32202b0a04aa63b4369e5d4862759cb8ec24c0', class: createColorClasses(this.color, {
|
|
1484
1484
|
[theme]: true,
|
|
1485
1485
|
[`title-${size}`]: true,
|
|
1486
1486
|
'title-rtl': document.dir === 'rtl',
|
|
1487
|
-
}) }, h("div", { key: '
|
|
1487
|
+
}) }, h("div", { key: 'bfe124a72b10e9f4375ca0aa7caf46b8ef1e5ae8', class: "toolbar-title" }, h("slot", { key: 'b55441661bacb883ddf9895616cfc72792f3508a' }))));
|
|
1488
1488
|
}
|
|
1489
1489
|
get el() { return getElement(this); }
|
|
1490
1490
|
static get watchers() { return {
|
|
@@ -1730,11 +1730,11 @@ const Toolbar = class {
|
|
|
1730
1730
|
Object.assign(childStyles, style);
|
|
1731
1731
|
});
|
|
1732
1732
|
const titlePlacement = this.getTitlePlacement();
|
|
1733
|
-
return (h(Host, { key: '
|
|
1733
|
+
return (h(Host, { key: 'bbb8d7cd786d5b91b0f65b97335294d9701d4cdc', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
|
|
1734
1734
|
[theme]: true,
|
|
1735
1735
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1736
1736
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
1737
|
-
})), childStyles) }, h("div", { key: '
|
|
1737
|
+
})), childStyles) }, h("div", { key: 'c5ea1b921e87f6f1615f1fa98959a985881bf9f1', class: "toolbar-background", part: "background" }), h("div", { key: 'fa9da58a2be236daa05e26ddd4046dff41d33fcb', class: "toolbar-container", part: "container" }, h("slot", { key: '45f76c8833843bc27c79121bec16d65433277c12', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '3d1a7f34bc361ae87e361e05c5c6a3b2a7423f1d', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'ad7d5133a105c9b9398a0c6458c5ff3f9b0f6253', class: "toolbar-content", part: "content" }, h("slot", { key: '783fe390e4bca1b7a245961e750a50bb009173b6' })), h("slot", { key: 'a555b3bef40a9bab3a1f1b39a02cbc8b28122c4a', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '635a84fff3818e4648ea46bd80f5ef0808a9ff0e', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
1738
1738
|
}
|
|
1739
1739
|
get el() { return getElement(this); }
|
|
1740
1740
|
static get watchers() { return {
|
|
@@ -159,9 +159,9 @@ const Thumbnail = class {
|
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
161
|
const theme = getIonTheme(this);
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '15fc2ed6061718490f5bccc3f3e32fe4dc221952', class: {
|
|
163
163
|
[theme]: true,
|
|
164
|
-
} }, h("slot", { key: '
|
|
164
|
+
} }, h("slot", { key: '7a602964f62da3e651c50663b4761130e3897bda' })));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
Thumbnail.style = thumbnailCss();
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, e as config, h, d as Host, g as getElement } from './index-C0EQceqV.js';
|
|
5
|
-
import { c as caretLeftSvg } from './caret-left-fIOYmaqA.js';
|
|
6
5
|
import { i as inheritAriaAttributes } from './helpers-ChPZH7zh.js';
|
|
7
6
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme-DaJxRxSQ.js';
|
|
8
|
-
import {
|
|
7
|
+
import { c as chevronBack, a as arrowBackSharp } from './index-PnwG0glX.js';
|
|
9
8
|
import { c as getIonTheme } from './ionic-global-BJDU78B6.js';
|
|
10
9
|
import './focus-visible-vXpMhGrs.js';
|
|
11
10
|
import './dir-o8OKV5aD.js';
|
|
@@ -43,20 +42,20 @@ const BackButton = class {
|
|
|
43
42
|
this.defaultHref = config.get('backButtonDefaultHref');
|
|
44
43
|
}
|
|
45
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Get the icon to use for the back button icon.
|
|
47
|
+
* If an icon is set on the component, use that.
|
|
48
|
+
* Otherwise, use the icon set in the config.
|
|
49
|
+
* If no icon is set in the config, use the default icon.
|
|
50
|
+
*/
|
|
46
51
|
get backButtonIcon() {
|
|
47
52
|
// Return the icon if it is explicitly set
|
|
48
53
|
if (this.icon != null) {
|
|
49
54
|
return this.icon;
|
|
50
55
|
}
|
|
51
|
-
// Determine the theme and map to default
|
|
56
|
+
// Determine the theme and map to the default icon
|
|
52
57
|
const theme = getIonTheme(this);
|
|
53
|
-
const
|
|
54
|
-
ios: chevronBack,
|
|
55
|
-
ionic: caretLeftSvg,
|
|
56
|
-
md: arrowBackSharp,
|
|
57
|
-
};
|
|
58
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
59
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
58
|
+
const defaultIcon = theme === 'ios' ? chevronBack : arrowBackSharp;
|
|
60
59
|
// Return the configured back button icon or the default icon
|
|
61
60
|
return config.get('backButtonIcon', defaultIcon);
|
|
62
61
|
}
|
|
@@ -80,7 +79,7 @@ const BackButton = class {
|
|
|
80
79
|
const showBackButton = defaultHref !== undefined;
|
|
81
80
|
const theme = getIonTheme(this);
|
|
82
81
|
const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
|
|
83
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '3ca97664cddb7582c8344b79143b81a9fb7f167a', onClick: this.onClick, class: createColorClasses(color, {
|
|
84
83
|
[theme]: true,
|
|
85
84
|
button: true, // ion-buttons target .button
|
|
86
85
|
'back-button-disabled': disabled,
|
|
@@ -90,7 +89,7 @@ const BackButton = class {
|
|
|
90
89
|
'ion-activatable': true,
|
|
91
90
|
'ion-focusable': true,
|
|
92
91
|
'show-back-button': showBackButton,
|
|
93
|
-
}) }, h("button", { key: '
|
|
92
|
+
}) }, h("button", { key: '49ec4655d6fbec75fd2b6f70973f98896d9accfe', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '8d701f9933253edab3627adf1b4dae681993e901', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: 'd5064dc4e5a327335fd45f21567fc1188cfcb635', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '9c6611126bc7df058cb4c5669ec35c2456568717', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && h("ion-ripple-effect", { key: '2a88e395bc178ff2d1d14fcb8def5d679cb2e527', type: this.rippleType }))));
|
|
94
93
|
}
|
|
95
94
|
get el() { return getElement(this); }
|
|
96
95
|
};
|
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, e as config, h, d as Host, g as getElement } from './index-C0EQceqV.js';
|
|
5
|
-
import { c as caretRightSvg } from './caret-right-BYSs-jZz.js';
|
|
6
5
|
import { i as inheritAriaAttributes } from './helpers-ChPZH7zh.js';
|
|
7
6
|
import { c as createColorClasses, o as openURL, h as hostContext } from './theme-DaJxRxSQ.js';
|
|
8
|
-
import { m as ellipsisHorizontal, n as chevronForwardOutline } from './index-
|
|
7
|
+
import { m as ellipsisHorizontal, n as chevronForwardOutline } from './index-PnwG0glX.js';
|
|
9
8
|
import { c as getIonTheme } from './ionic-global-BJDU78B6.js';
|
|
10
9
|
import './focus-visible-vXpMhGrs.js';
|
|
11
10
|
import './dir-o8OKV5aD.js';
|
|
12
11
|
|
|
13
|
-
const dotsThreeSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0xNDAsMTI4YTEyLDEyLDAsMSwxLTEyLTEyQTEyLDEyLDAsMCwxLDE0MCwxMjhabTU2LTEyYTEyLDEyLDAsMSwwLDEyLDEyQTEyLDEyLDAsMCwwLDE5NiwxMTZaTTYwLDExNmExMiwxMiwwLDEsMCwxMiwxMkExMiwxMiwwLDAsMCw2MCwxMTZaIi8+PC9zdmc+';
|
|
14
|
-
|
|
15
12
|
const ionicBreadcrumbMdCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #677483));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, var(--ion-text-color-step-200, #35404e));--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, #fff))}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-550, var(--ion-text-color-step-450, #7d8894));font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #222d3a))}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #eef1f3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #dfe5e8))}`;
|
|
16
13
|
|
|
17
14
|
const breadcrumbIosCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #2d4665));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}`;
|
|
@@ -55,31 +52,23 @@ const Breadcrumb = class {
|
|
|
55
52
|
componentWillLoad() {
|
|
56
53
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
57
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Get the icon to use for the collapsed icon.
|
|
57
|
+
* Use the icon set in the config.
|
|
58
|
+
* If no icon is set in the config, use the default icon.
|
|
59
|
+
*/
|
|
58
60
|
get breadcrumbCollapsedIcon() {
|
|
59
|
-
// Determine the theme and map to default icons
|
|
60
|
-
const theme = getIonTheme(this);
|
|
61
|
-
const defaultIcons = {
|
|
62
|
-
ios: ellipsisHorizontal,
|
|
63
|
-
ionic: dotsThreeSvg,
|
|
64
|
-
md: ellipsisHorizontal,
|
|
65
|
-
};
|
|
66
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
67
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
68
61
|
// Return the configured breadcrumb collapsed icon or the default icon
|
|
69
|
-
return config.get('breadcrumbCollapsedIcon',
|
|
62
|
+
return config.get('breadcrumbCollapsedIcon', ellipsisHorizontal);
|
|
70
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Get the icon to use for the separator icon.
|
|
66
|
+
* Use the icon set in the config.
|
|
67
|
+
* If no icon is set in the config, use the default icon.
|
|
68
|
+
*/
|
|
71
69
|
get breadcrumbSeparatorIcon() {
|
|
72
|
-
// Determine the theme and map to default icons
|
|
73
|
-
const theme = getIonTheme(this);
|
|
74
|
-
const defaultIcons = {
|
|
75
|
-
ios: chevronForwardOutline,
|
|
76
|
-
ionic: caretRightSvg,
|
|
77
|
-
md: chevronForwardOutline,
|
|
78
|
-
};
|
|
79
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
80
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
81
70
|
// Return the configured breadcrumb separator icon or the default icon
|
|
82
|
-
return config.get('breadcrumbSeparatorIcon',
|
|
71
|
+
return config.get('breadcrumbSeparatorIcon', chevronForwardOutline);
|
|
83
72
|
}
|
|
84
73
|
isClickable() {
|
|
85
74
|
return this.href !== undefined;
|
|
@@ -103,7 +92,7 @@ const Breadcrumb = class {
|
|
|
103
92
|
// to show the separator as long as it isn't also the last breadcrumb
|
|
104
93
|
// otherwise if not collapsed use the value in separator
|
|
105
94
|
const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;
|
|
106
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: '6b586bce50f2956edf0acd8506381b2cb14875f7', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
107
96
|
[theme]: true,
|
|
108
97
|
'breadcrumb-active': active,
|
|
109
98
|
'breadcrumb-collapsed': collapsed,
|
|
@@ -113,15 +102,15 @@ const Breadcrumb = class {
|
|
|
113
102
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
114
103
|
'ion-activatable': clickable,
|
|
115
104
|
'ion-focusable': clickable,
|
|
116
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
105
|
+
}) }, h(TagType, Object.assign({ key: '5125505691163148ed2289355d5a2be93db7639d' }, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("slot", { key: 'c11682664ec3ad64f3e59a47f06cf5273b09fa5a', name: "start" }), h("slot", { key: 'eecb817103602a7c5d58f42dd4a1562333b0eabd' }), h("slot", { key: 'b9e050d01d0ba8491d64a670c151a2444be4c6b0', name: "end" })), showCollapsedIndicator && (h("button", { key: '72e49a761f43645987cf0adabd0698c724e87ce1', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
|
|
117
106
|
'breadcrumbs-collapsed-indicator': true,
|
|
118
|
-
} }, h("ion-icon", { key: '
|
|
107
|
+
} }, h("ion-icon", { key: '8efee3f1675165e1bc92c57aef93aa74b53374cc', "aria-hidden": "true", icon: breadcrumbCollapsedIcon, lazy: false }))), showSeparator && (
|
|
119
108
|
/**
|
|
120
109
|
* Separators should not be announced by narrators.
|
|
121
110
|
* We add aria-hidden on the span so that this applies
|
|
122
111
|
* to any custom separators too.
|
|
123
112
|
*/
|
|
124
|
-
h("span", { key: '
|
|
113
|
+
h("span", { key: '17bf73869ccb702646afdc3498ef180aa3713b19', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: '13ac39a16f7fe90aaa65165b274ade80e01180b4', name: "separator" }, theme === 'ios' || theme === 'ionic' ? (h("ion-icon", { icon: breadcrumbSeparatorIcon, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
|
|
125
114
|
}
|
|
126
115
|
get el() { return getElement(this); }
|
|
127
116
|
};
|