@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
|
@@ -422,7 +422,7 @@ export class Content {
|
|
|
422
422
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
423
423
|
const transitionShadow = theme === 'ios';
|
|
424
424
|
this.resize();
|
|
425
|
-
return (h(Host, Object.assign({ key: '
|
|
425
|
+
return (h(Host, Object.assign({ key: '6be663a1c94186ab306827797e0743d936616b8f', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
426
426
|
[theme]: true,
|
|
427
427
|
'content-fullscreen': this.fullscreen,
|
|
428
428
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
@@ -431,12 +431,12 @@ export class Content {
|
|
|
431
431
|
}), style: {
|
|
432
432
|
'--offset-top': `${this.cTop}px`,
|
|
433
433
|
'--offset-bottom': `${this.cBottom}px`,
|
|
434
|
-
} }, inheritedAttributes), h("div", { key: '
|
|
434
|
+
} }, 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: {
|
|
435
435
|
'inner-scroll': true,
|
|
436
436
|
'scroll-x': scrollX,
|
|
437
437
|
'scroll-y': scrollY,
|
|
438
438
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
439
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
439
|
+
}, 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));
|
|
440
440
|
}
|
|
441
441
|
static get is() { return "ion-content"; }
|
|
442
442
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import caretLeftRegular from "@phosphor-icons/core/assets/regular/caret-left.svg";
|
|
5
|
-
import caretRightRegular from "@phosphor-icons/core/assets/regular/caret-right.svg";
|
|
6
4
|
import { Host, h, writeTask } from "@stencil/core";
|
|
7
5
|
import { startFocusVisible } from "../../utils/focus-visible";
|
|
8
6
|
import { getElementRoot, raf, renderHiddenInput } from "../../utils/helpers";
|
|
@@ -1753,73 +1751,43 @@ export class Datetime {
|
|
|
1753
1751
|
}
|
|
1754
1752
|
/**
|
|
1755
1753
|
* Get the icon to use for the next icon.
|
|
1756
|
-
*
|
|
1754
|
+
* Use the icon set in the config.
|
|
1757
1755
|
* If no icon is set in the config, use the default icon.
|
|
1758
1756
|
*/
|
|
1759
1757
|
get datetimeNextIcon() {
|
|
1760
|
-
// Determine the theme and map to default icons
|
|
1761
|
-
const theme = getIonTheme(this);
|
|
1762
|
-
const defaultIcons = {
|
|
1763
|
-
ios: chevronForward,
|
|
1764
|
-
ionic: caretRightRegular,
|
|
1765
|
-
md: chevronForward,
|
|
1766
|
-
};
|
|
1767
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1768
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1769
1758
|
// Return the configured datetime next icon or the default icon
|
|
1770
|
-
return config.get('datetimeNextIcon',
|
|
1759
|
+
return config.get('datetimeNextIcon', chevronForward);
|
|
1771
1760
|
}
|
|
1772
1761
|
/**
|
|
1773
1762
|
* Get the icon to use for the previous icon.
|
|
1774
|
-
*
|
|
1763
|
+
* Use the icon set in the config.
|
|
1775
1764
|
* If no icon is set in the config, use the default icon.
|
|
1776
1765
|
*/
|
|
1777
1766
|
get datetimePreviousIcon() {
|
|
1778
|
-
// Determine the theme and map to default icons
|
|
1779
|
-
const theme = getIonTheme(this);
|
|
1780
|
-
const defaultIcons = {
|
|
1781
|
-
ios: chevronBack,
|
|
1782
|
-
ionic: caretLeftRegular,
|
|
1783
|
-
md: chevronBack,
|
|
1784
|
-
};
|
|
1785
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1786
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1787
1767
|
// Return the configured datetime previous icon or the default icon
|
|
1788
|
-
return config.get('datetimePreviousIcon',
|
|
1768
|
+
return config.get('datetimePreviousIcon', chevronBack);
|
|
1789
1769
|
}
|
|
1790
1770
|
/**
|
|
1791
1771
|
* Get the icon to use for the show month and year icon.
|
|
1792
|
-
*
|
|
1772
|
+
* Use the icon set in the config.
|
|
1793
1773
|
* If no icon is set in the config, use the default icon.
|
|
1794
1774
|
*/
|
|
1795
1775
|
get datetimeCollapsedIcon() {
|
|
1796
|
-
// Determine the theme and map to default
|
|
1776
|
+
// Determine the theme and map to the default icon
|
|
1797
1777
|
const theme = getIonTheme(this);
|
|
1798
|
-
const
|
|
1799
|
-
ios: chevronForward,
|
|
1800
|
-
ionic: undefined,
|
|
1801
|
-
md: caretDownSharp,
|
|
1802
|
-
};
|
|
1803
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1804
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1778
|
+
const defaultIcon = theme === 'ios' ? chevronForward : caretDownSharp;
|
|
1805
1779
|
// Return the configured datetime show month and year icon or the default icon
|
|
1806
1780
|
return config.get('datetimeCollapsedIcon', defaultIcon);
|
|
1807
1781
|
}
|
|
1808
1782
|
/**
|
|
1809
1783
|
* Get the icon to use for the hide month and year icon.
|
|
1810
|
-
*
|
|
1784
|
+
* Use the icon set in the config.
|
|
1811
1785
|
* If no icon is set in the config, use the default icon.
|
|
1812
1786
|
*/
|
|
1813
1787
|
get datetimeExpandedIcon() {
|
|
1814
|
-
// Determine the theme and map to default
|
|
1788
|
+
// Determine the theme and map to the default icon
|
|
1815
1789
|
const theme = getIonTheme(this);
|
|
1816
|
-
const
|
|
1817
|
-
ios: chevronDown,
|
|
1818
|
-
ionic: undefined,
|
|
1819
|
-
md: caretUpSharp,
|
|
1820
|
-
};
|
|
1821
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1822
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1790
|
+
const defaultIcon = theme === 'ios' ? chevronDown : caretUpSharp;
|
|
1823
1791
|
// Return the configured datetime hide month and year icon or the default icon
|
|
1824
1792
|
return config.get('datetimeExpandedIcon', defaultIcon);
|
|
1825
1793
|
}
|
|
@@ -1832,7 +1800,7 @@ export class Datetime {
|
|
|
1832
1800
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1833
1801
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1834
1802
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1835
|
-
return (h(Host, { key: '
|
|
1803
|
+
return (h(Host, { key: '81d6d431595fc287861af22aff9cad3b94f4ce97', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1836
1804
|
[theme]: true,
|
|
1837
1805
|
['datetime-readonly']: readonly,
|
|
1838
1806
|
['datetime-disabled']: disabled,
|
|
@@ -1842,7 +1810,7 @@ export class Datetime {
|
|
|
1842
1810
|
[`datetime-size-${size}`]: true,
|
|
1843
1811
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1844
1812
|
[`datetime-grid`]: isGridStyle,
|
|
1845
|
-
})) }, h("div", { key: '
|
|
1813
|
+
})) }, h("div", { key: 'a5043ea9c7cabb5333edf82c8563fac2f6488086', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
1846
1814
|
}
|
|
1847
1815
|
static get is() { return "ion-datetime"; }
|
|
1848
1816
|
static get encapsulation() { return "shadow"; }
|
|
@@ -343,11 +343,11 @@ export class DatetimeButton {
|
|
|
343
343
|
render() {
|
|
344
344
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
345
345
|
const theme = getIonTheme(this);
|
|
346
|
-
return (h(Host, { key: '
|
|
346
|
+
return (h(Host, { key: '5324999adc34e2f34aae2825427c28130bc399b4', class: createColorClasses(color, {
|
|
347
347
|
[theme]: true,
|
|
348
348
|
[`${selectedButton}-active`]: datetimeActive,
|
|
349
349
|
['datetime-button-disabled']: disabled,
|
|
350
|
-
}) }, dateText && (h("button", { key: '
|
|
350
|
+
}) }, dateText && (h("button", { key: '565c74efa16fc02a70a6f1ef6b073eb143ab9f07', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { key: 'c487bd5ae42a089ce22a7cb1bb67016910e24bd0', name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", { key: 'c871fee2350e3207efc2338d229b809f8b44dca9' }))), timeText && (h("button", { key: '7acf19c3d1446133107a622851dfff2d6088cb8d', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { key: '6091b9d32d423ce438605005077087fc009fd8e7', name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", { key: 'b71f93aa14aa0b7bdfe9ad4ca9bcb90880d23b0e' })))));
|
|
351
351
|
}
|
|
352
352
|
static get is() { return "ion-datetime-button"; }
|
|
353
353
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,11 +25,11 @@ export class Divider {
|
|
|
25
25
|
render() {
|
|
26
26
|
const { inset, spacing } = this;
|
|
27
27
|
const theme = getIonTheme(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '90772ad228282d0be4f9f18fcd14bc7af0f52e0e', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
31
31
|
[`divider-inset`]: inset,
|
|
32
|
-
} }, h("hr", { key: '
|
|
32
|
+
} }, h("hr", { key: 'e70ea44fa8e6af6156c19a60302f4e9785b74dae' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-divider"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,12 +58,12 @@ export class Fab {
|
|
|
58
58
|
render() {
|
|
59
59
|
const { horizontal, vertical, edge } = this;
|
|
60
60
|
const theme = getIonTheme(this);
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'fde83d0b3abd9f0315405f1212202fcc2ee939c3', class: {
|
|
62
62
|
[theme]: true,
|
|
63
63
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
64
64
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
65
65
|
'fab-edge': edge,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: 'aa393e8a368a4c3aef9ac1f8f38bdfca3b0cbc74' })));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "ion-fab"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import xRegular from "@phosphor-icons/core/assets/regular/x.svg";
|
|
5
4
|
import { Host, h } from "@stencil/core";
|
|
6
5
|
import { inheritAriaAttributes, hasShadowDom } from "../../utils/helpers";
|
|
7
6
|
import { printIonWarning } from "../../utils/logging/index";
|
|
@@ -133,22 +132,19 @@ export class FabButton {
|
|
|
133
132
|
componentWillLoad() {
|
|
134
133
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
135
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Get the icon to use for the close icon.
|
|
137
|
+
* If an icon is set on the component, use that.
|
|
138
|
+
* Otherwise, use the icon set in the config.
|
|
139
|
+
* If no icon is set in the config, use the default icon.
|
|
140
|
+
*/
|
|
136
141
|
get fabButtonCloseIcon() {
|
|
137
142
|
// Return the icon if it is explicitly set
|
|
138
143
|
if (this.closeIcon != null) {
|
|
139
144
|
return this.closeIcon;
|
|
140
145
|
}
|
|
141
|
-
// Determine the theme and map to default icons
|
|
142
|
-
const theme = getIonTheme(this);
|
|
143
|
-
const defaultIcons = {
|
|
144
|
-
ios: close,
|
|
145
|
-
ionic: xRegular,
|
|
146
|
-
md: close,
|
|
147
|
-
};
|
|
148
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
149
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
150
146
|
// Return the configured fab button close icon or the default icon
|
|
151
|
-
return config.get('fabButtonCloseIcon',
|
|
147
|
+
return config.get('fabButtonCloseIcon', close);
|
|
152
148
|
}
|
|
153
149
|
render() {
|
|
154
150
|
const { el, disabled, fabButtonCloseIcon, color, href, activated, show, translucent, size, inheritedAttributes, type, } = this;
|
|
@@ -170,7 +166,7 @@ export class FabButton {
|
|
|
170
166
|
if (type !== 'button') {
|
|
171
167
|
this.renderHiddenButton();
|
|
172
168
|
}
|
|
173
|
-
return (h(Host, { key: '
|
|
169
|
+
return (h(Host, { key: '6cbdca34ede5d2ab6d9453f8453e608e596122f6', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
174
170
|
[theme]: true,
|
|
175
171
|
'fab-button-in-list': inList,
|
|
176
172
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -181,7 +177,7 @@ export class FabButton {
|
|
|
181
177
|
'ion-activatable': true,
|
|
182
178
|
'ion-focusable': true,
|
|
183
179
|
[`fab-button-${size}`]: size !== undefined,
|
|
184
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
180
|
+
}) }, h(TagType, Object.assign({ key: '7e660c3401d3e42ba9b11784cf8c30a6ef3e79ed' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => type === 'button' && openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: 'eb8fedfd907fe3f2fb94382891ac399a34e19510', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '3ed25f178824632c99714c2c406b64ffa4358367', class: "button-inner" }, h("slot", { key: '27084c351359bb5151059091615c559f1d01df93' })), theme === 'md' && h("ion-ripple-effect", { key: '44c780a6554411d89cc213699b14aec8173ec76f' }))));
|
|
185
181
|
}
|
|
186
182
|
static get is() { return "ion-fab-button"; }
|
|
187
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,11 +35,11 @@ export class FabList {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const theme = getIonTheme(this);
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '764dbc440379e7333215c2b69e177d4a7254a899', class: {
|
|
39
39
|
[theme]: true,
|
|
40
40
|
'fab-list-active': this.activated,
|
|
41
41
|
[`fab-list-side-${this.side}`]: true,
|
|
42
|
-
} }, h("slot", { key: '
|
|
42
|
+
} }, h("slot", { key: '9ea03acea78febe1b379904cef8978bbebcb57cd' })));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "ion-fab-list"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,7 +167,7 @@ export class Footer {
|
|
|
167
167
|
const hasFade = effect === 'fade' && !isModeRestricted;
|
|
168
168
|
const tabs = this.el.closest('ion-tabs');
|
|
169
169
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'a968cbaa37aa5f66f852b393d17a5617892d3708', role: "contentinfo", class: {
|
|
171
171
|
[theme]: true,
|
|
172
172
|
// Used internally for styling
|
|
173
173
|
[`footer-${theme}`]: true,
|
|
@@ -176,7 +176,7 @@ export class Footer {
|
|
|
176
176
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
177
177
|
'footer-collapse-fade': hasFade,
|
|
178
178
|
'footer-scroll-effect-hide': hasHide,
|
|
179
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
179
|
+
} }, theme === 'ios' && translucent && h("div", { key: '5116db55a74d2a738a00c177d797dc03146ea129', class: "footer-background" }), h("slot", { key: 'b61dd28630507aa01c047e119bbc367d26c5be93' })));
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "ion-footer"; }
|
|
182
182
|
static get originalStyleUrls() {
|
|
@@ -536,11 +536,11 @@ export class Gallery {
|
|
|
536
536
|
const { layout } = this;
|
|
537
537
|
const order = this.getOrder();
|
|
538
538
|
const theme = getIonTheme(this);
|
|
539
|
-
return (h(Host, { key: '
|
|
539
|
+
return (h(Host, { key: '17e0acf09db810e8635b4965faab99da4e675f31', class: {
|
|
540
540
|
[theme]: true,
|
|
541
541
|
[`gallery-layout-${layout}`]: true,
|
|
542
542
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
543
|
-
} }, h("slot", { key: '
|
|
543
|
+
} }, h("slot", { key: 'e31f2a92f22e8319011c1d2ceed4a47f733dc96b', onSlotchange: this.onSlotChange })));
|
|
544
544
|
}
|
|
545
545
|
static get is() { return "ion-gallery"; }
|
|
546
546
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,10 +49,10 @@ export class GalleryItem {
|
|
|
49
49
|
render() {
|
|
50
50
|
const { galleryLayout } = this;
|
|
51
51
|
const theme = getIonTheme(this);
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'eccce38103a1fca6cd50f7ad1111d0718699a834', class: {
|
|
53
53
|
[theme]: true,
|
|
54
54
|
[`in-gallery-layout-${galleryLayout}`]: galleryLayout != undefined,
|
|
55
|
-
} }, h("slot", { key: '
|
|
55
|
+
} }, h("slot", { key: '4dcc6d4ac94c47b1e5c510e4e365fb1e17e7087f', onSlotchange: this.onSlotChange })));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "ion-gallery-item"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,10 +16,10 @@ export class Grid {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const theme = getIonTheme(this);
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '8211149ce14da893b47d7fb6e1f0bc194dca8490', class: {
|
|
20
20
|
[theme]: true,
|
|
21
21
|
'grid-fixed': this.fixed,
|
|
22
|
-
} }, h("slot", { key: '
|
|
22
|
+
} }, h("slot", { key: '080ef8c22898ddba8b001282778a78ed54f1e36f' })));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ion-grid"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -235,7 +235,7 @@ export class Header {
|
|
|
235
235
|
const isHiddenCondense = effect === 'condense' && !hasCondense;
|
|
236
236
|
// banner role must be at top level, so remove role if inside a menu
|
|
237
237
|
const roleType = isHiddenCondense ? 'none' : getRoleType(hostContext('ion-menu', this.el));
|
|
238
|
-
return (h(Host, Object.assign({ key: '
|
|
238
|
+
return (h(Host, Object.assign({ key: '41cc94124ed8dfb413deecfd3369facbbbd91096', role: roleType, class: {
|
|
239
239
|
[theme]: true,
|
|
240
240
|
// Used internally for styling
|
|
241
241
|
[`header-${theme}`]: true,
|
|
@@ -246,7 +246,7 @@ export class Header {
|
|
|
246
246
|
[`header-translucent-${theme}`]: this.translucent,
|
|
247
247
|
['header-divider']: divider,
|
|
248
248
|
'header-scroll-effect-hide': hasHide,
|
|
249
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: '
|
|
249
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && h("div", { key: 'bbf8d7571a1c1f07ddd03d806218b26a4b32e2c3', class: "header-background" }), h("slot", { key: '84cad2cdebcdc2902b7a19042a83d8c56a19612d' })));
|
|
250
250
|
}
|
|
251
251
|
static get is() { return "ion-header"; }
|
|
252
252
|
static get originalStyleUrls() {
|
|
@@ -80,9 +80,9 @@ export class Img {
|
|
|
80
80
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
81
81
|
const { draggable } = inheritedAttributes;
|
|
82
82
|
const theme = getIonTheme(this);
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: 'f6f8d76f7019338f9b07ce9738fdf9b15b0f3e9f', class: {
|
|
84
84
|
[theme]: true,
|
|
85
|
-
} }, h("img", { key: '
|
|
85
|
+
} }, h("img", { key: '0e571771fdf3008bd83588e1924d4f6a91e0ede8', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-img"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -264,7 +264,7 @@ export class InfiniteScroll {
|
|
|
264
264
|
render() {
|
|
265
265
|
const theme = getIonTheme(this);
|
|
266
266
|
const disabled = this.disabled;
|
|
267
|
-
return (h(Host, { key: '
|
|
267
|
+
return (h(Host, { key: '042d76f3640398a71ff23c84f8df3e25d30536a6', class: {
|
|
268
268
|
[theme]: true,
|
|
269
269
|
'infinite-scroll-loading': this.isLoading,
|
|
270
270
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -29,11 +29,11 @@ export class InfiniteScrollContent {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const theme = getIonTheme(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '16d080c074d3b61ef884e4f7f5bd5f70aec1aeac', class: {
|
|
33
33
|
[theme]: true,
|
|
34
34
|
// Used internally for styling
|
|
35
35
|
[`infinite-scroll-content-${theme}`]: true,
|
|
36
|
-
} }, h("div", { key: '
|
|
36
|
+
} }, h("div", { key: 'dc5fa503c8b90255e4c898ceb4d0ec59467ec5a5', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '091cbc7bfefca20130090a0269a8241a4e0f60a9', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '89e7fa70d0846207a8289a0ada9ea38c6fd6bfbc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ion-infinite-scroll-content"; }
|
|
39
39
|
static get originalStyleUrls() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import xRegular from "@phosphor-icons/core/assets/regular/x.svg";
|
|
5
4
|
import { Build, Host, forceUpdate, h, } from "@stencil/core";
|
|
6
5
|
import { createClearButtonPressController, createNotchController, checkInvalidState } from "../../utils/forms/index";
|
|
7
6
|
import { inheritAriaAttributes, debounceEvent, inheritAttributes, componentOnReady } from "../../utils/helpers";
|
|
@@ -580,15 +579,9 @@ export class Input {
|
|
|
580
579
|
if (this.clearInputIcon != null) {
|
|
581
580
|
return this.clearInputIcon;
|
|
582
581
|
}
|
|
583
|
-
// Determine the theme and map to default
|
|
582
|
+
// Determine the theme and map to the default icon
|
|
584
583
|
const theme = getIonTheme(this);
|
|
585
|
-
const
|
|
586
|
-
ios: closeCircle,
|
|
587
|
-
ionic: xRegular,
|
|
588
|
-
md: closeSharp,
|
|
589
|
-
};
|
|
590
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
591
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
584
|
+
const defaultIcon = theme === 'ios' ? closeCircle : closeSharp;
|
|
592
585
|
// Return the configured input clear icon or the default icon
|
|
593
586
|
return config.get('inputClearIcon', defaultIcon);
|
|
594
587
|
}
|
|
@@ -622,7 +615,7 @@ export class Input {
|
|
|
622
615
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
623
616
|
*/
|
|
624
617
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
625
|
-
return (h(Host, { key: '
|
|
618
|
+
return (h(Host, { key: 'ae0920d7c93498741a5a066a5518f89f0c5b43c2', class: createColorClasses(this.color, {
|
|
626
619
|
[theme]: true,
|
|
627
620
|
'has-value': hasValue,
|
|
628
621
|
'has-focus': hasFocus,
|
|
@@ -635,7 +628,7 @@ export class Input {
|
|
|
635
628
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
636
629
|
'input-disabled': disabled,
|
|
637
630
|
'input-readonly': readonly,
|
|
638
|
-
}) }, h("label", { key: '
|
|
631
|
+
}) }, h("label", { key: 'b9fd3366b0fb429ebacc02a16ae27e29b1b485aa', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'eb02cef1a79a43f9fc8eb55bd7f3dcd4ca2e81d3', class: "native-wrapper", onClick: this.onLabelClick },
|
|
639
632
|
/**
|
|
640
633
|
* For the ionic theme, we render the outline container here
|
|
641
634
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -645,10 +638,10 @@ export class Input {
|
|
|
645
638
|
* <label> element, ensuring that clicking the label text
|
|
646
639
|
* focuses the input.
|
|
647
640
|
*/
|
|
648
|
-
theme === 'ionic' && h("div", { key: '
|
|
641
|
+
theme === 'ionic' && h("div", { key: '1d35432c405e9d6fec8c4d411bf33e2950a02fb5', class: "input-outline" }), h("slot", { key: '627e09591ad9915b8b62b6ad8b8f359f1b010f01', name: "start" }), h("input", Object.assign({ key: '3bd035e03868067ea6dbba5c7a28383474f67ba3', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (h("button", { key: 'dfec9566c3dd743dae34afe0de03aabb180a371e', "aria-label": "reset", type: "button", class: {
|
|
649
642
|
'input-clear-icon': true,
|
|
650
643
|
'input-clear-button-pressed': this.isClearButtonPressed,
|
|
651
|
-
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
644
|
+
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, h("ion-icon", { key: 'c736514c2df8f78196bd6426fd8d80d282c7aeb7', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: 'b6a250b6aaacb7a7ec0e09cc93a8b8dce973bb5b', name: "end" })), shouldRenderHighlight && h("div", { key: '989a73bb9210f3ef8084a265533063cdb4b8142c', class: "input-highlight" })), this.renderBottomContent()));
|
|
652
645
|
}
|
|
653
646
|
static get is() { return "ion-input"; }
|
|
654
647
|
static get encapsulation() { return "scoped"; }
|
|
@@ -680,7 +680,7 @@ export class InputOTP {
|
|
|
680
680
|
const tabbableIndex = this.getTabbableIndex();
|
|
681
681
|
const pattern = this.getPattern();
|
|
682
682
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
683
|
-
return (h(Host, { key: '
|
|
683
|
+
return (h(Host, { key: '67df3d392e0336b65363fff7cb0d093b7c535b3f', class: createColorClasses(color, {
|
|
684
684
|
[mode]: true,
|
|
685
685
|
'has-focus': hasFocus,
|
|
686
686
|
[`input-otp-size-${size}`]: true,
|
|
@@ -688,10 +688,10 @@ export class InputOTP {
|
|
|
688
688
|
[`input-otp-fill-${fill}`]: true,
|
|
689
689
|
'input-otp-disabled': disabled,
|
|
690
690
|
'input-otp-readonly': readonly,
|
|
691
|
-
}) }, h("div", Object.assign({ key: '
|
|
691
|
+
}) }, h("div", Object.assign({ key: 'b68d6bfae96d7f381ce66819d9cff0aa2b1d8a44', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper", part: "container" }, h("input", { class: "native-input", part: "native", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && h("div", { class: "input-otp-separator", part: "separator" }))))), h("div", { key: '346450b2da262c6543e5dc2c0bbac27c541f4e18', class: {
|
|
692
692
|
'input-otp-description': true,
|
|
693
693
|
'input-otp-description-hidden': !hasDescription,
|
|
694
|
-
}, part: "description" }, h("slot", { key: '
|
|
694
|
+
}, part: "description" }, h("slot", { key: '31ad8b75d9b2808b49f488e7ff2f235099e31b30' }))));
|
|
695
695
|
}
|
|
696
696
|
static get is() { return "ion-input-otp"; }
|
|
697
697
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import eyeSlashRegular from "@phosphor-icons/core/assets/regular/eye-slash.svg";
|
|
5
|
-
import eyeRegular from "@phosphor-icons/core/assets/regular/eye.svg";
|
|
6
4
|
import { Host, h } from "@stencil/core";
|
|
7
5
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
6
|
import { createColorClasses } from "../../utils/theme";
|
|
9
7
|
import { eyeOff, eye } from "ionicons/icons";
|
|
10
8
|
import { config } from "../../global/config";
|
|
11
|
-
import { getIonMode
|
|
9
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
12
10
|
/**
|
|
13
11
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
14
12
|
*/
|
|
@@ -56,54 +54,48 @@ export class InputPasswordToggle {
|
|
|
56
54
|
disconnectedCallback() {
|
|
57
55
|
this.inputElRef = null;
|
|
58
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Get the icon to use for the hide icon.
|
|
59
|
+
* If an icon is set on the component, use that.
|
|
60
|
+
* Otherwise, use the icon set in the config.
|
|
61
|
+
* If no icon is set in the config, use the default icon.
|
|
62
|
+
*/
|
|
59
63
|
get inputPasswordHideIcon() {
|
|
60
64
|
// Return the icon if it is explicitly set
|
|
61
65
|
if (this.hideIcon != null) {
|
|
62
66
|
return this.hideIcon;
|
|
63
67
|
}
|
|
64
|
-
// Determine the theme and map to default icons
|
|
65
|
-
const theme = getIonTheme(this);
|
|
66
|
-
const defaultIcons = {
|
|
67
|
-
ios: eyeOff,
|
|
68
|
-
ionic: eyeSlashRegular,
|
|
69
|
-
md: eyeOff,
|
|
70
|
-
};
|
|
71
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
72
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
73
68
|
// Return the configured input password hide icon or the default icon
|
|
74
|
-
return config.get('inputPasswordHideIcon',
|
|
69
|
+
return config.get('inputPasswordHideIcon', eyeOff);
|
|
75
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Get the icon to use for the show icon.
|
|
73
|
+
* If an icon is set on the component, use that.
|
|
74
|
+
* Otherwise, use the icon set in the config.
|
|
75
|
+
* If no icon is set in the config, use the default icon.
|
|
76
|
+
*/
|
|
76
77
|
get inputPasswordShowIcon() {
|
|
77
78
|
// Return the icon if it is explicitly set
|
|
78
79
|
if (this.showIcon != null) {
|
|
79
80
|
return this.showIcon;
|
|
80
81
|
}
|
|
81
|
-
// Determine the theme and map to default icons
|
|
82
|
-
const theme = getIonTheme(this);
|
|
83
|
-
const defaultIcons = {
|
|
84
|
-
ios: eye,
|
|
85
|
-
ionic: eyeRegular,
|
|
86
|
-
md: eye,
|
|
87
|
-
};
|
|
88
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
89
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
90
82
|
// Return the configured input password show icon or the default icon
|
|
91
|
-
return config.get('inputPasswordShowIcon',
|
|
83
|
+
return config.get('inputPasswordShowIcon', eye);
|
|
92
84
|
}
|
|
93
85
|
render() {
|
|
94
86
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
95
87
|
const mode = getIonMode(this);
|
|
96
88
|
const isPasswordVisible = type === 'text';
|
|
97
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '67dff695db35fe17927c62f88eb4d1b8a83cf9c1', class: createColorClasses(color, {
|
|
98
90
|
[mode]: true,
|
|
99
|
-
}) }, h("ion-button", { key: '
|
|
91
|
+
}) }, h("ion-button", { key: '75edb85478a55b76fc1b4b3ecb65d593dee0b3ee', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
100
92
|
/**
|
|
101
93
|
* This prevents mobile browsers from
|
|
102
94
|
* blurring the input when the password toggle
|
|
103
95
|
* button is activated.
|
|
104
96
|
*/
|
|
105
97
|
ev.preventDefault();
|
|
106
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
98
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '811e6f30fdc0e78fb23318823fc2bb2135647ca1', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
107
99
|
}
|
|
108
100
|
static get is() { return "ion-input-password-toggle"; }
|
|
109
101
|
static get encapsulation() { return "shadow"; }
|