@ionic/core 8.8.20-dev.11788449221.155f9f1e → 8.8.20-dev.11789504012.1a675914
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-gallery-item.js +1 -1
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-0MMiHJhx.js +4 -0
- package/components/{p-Cc3oC60a.js → p-0rXxxCTt.js} +1 -1
- package/components/{p-D6zl6ZA8.js → p-BXXTyrCp.js} +1 -1
- package/components/{p-D2tZEPGv.js → p-BZxBDeEU.js} +1 -1
- package/components/{p-DkfVuzjA.js → p-BcWO94Sl.js} +1 -1
- package/components/{p-BrF4HSay.js → p-Br6q6Rgq.js} +1 -1
- package/components/{p-CaXMr1SL.js → p-C-cw-bM-.js} +1 -1
- package/components/{p-B_a4XnF2.js → p-C2J-Hvv3.js} +1 -1
- package/components/{p-CHB9zWT6.js → p-C5Bnq_Hm.js} +1 -1
- package/components/{p-CxoHM559.js → p-C5JYXyPD.js} +1 -1
- package/components/{p-DNweMi32.js → p-C898H5L0.js} +1 -1
- package/components/{p-B39i6rpY.js → p-C8kcgEG7.js} +1 -1
- package/components/{p-BLP69XoA.js → p-CH8ypgvS.js} +1 -1
- package/components/{p-C1L59jNd.js → p-CMtmHGrE.js} +1 -1
- package/components/{p-C784We0w.js → p-CNlz8OTE.js} +1 -1
- package/components/p-CToV3-ig.js +4 -0
- package/components/p-CV7PNBGr.js +4 -0
- package/components/p-CgbD1udy.js +4 -0
- package/components/p-ClTdIlic.js +4 -0
- package/components/{p-Bs5kME4N.js → p-Dh1f5tAK.js} +1 -1
- package/components/{p-CWqLCAML.js → p-DqkLOArC.js} +1 -1
- package/components/{p-BUePQFRZ.js → p-WeNgVmOy.js} +1 -1
- package/components/p-eRqVSlkn.js +4 -0
- package/components/{p-Ds3yn-R0.js → p-fUXE2zLc.js} +1 -1
- package/components/p-pztWcmzj.js +4 -0
- package/dist/cjs/ion-accordion_2.cjs.entry.js +9 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +10 -11
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +16 -27
- package/dist/cjs/ion-checkbox.cjs.entry.js +22 -14
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +16 -48
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +13 -17
- package/dist/cjs/ion-gallery-item.cjs.entry.js +2 -2
- package/dist/cjs/ion-gallery.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -27
- package/dist/cjs/ion-input.cjs.entry.js +6 -13
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +22 -26
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +13 -15
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +11 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -13
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +8 -34
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +10 -23
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +12 -27
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.js +9 -13
- package/dist/collection/components/back-button/back-button.js +10 -11
- package/dist/collection/components/breadcrumb/breadcrumb.js +16 -26
- package/dist/collection/components/checkbox/checkbox.ionic.css +33 -40
- package/dist/collection/components/checkbox/checkbox.ios.css +30 -24
- package/dist/collection/components/checkbox/checkbox.js +22 -12
- package/dist/collection/components/checkbox/checkbox.md.css +30 -24
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +12 -44
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +9 -13
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/gallery/gallery.js +2 -2
- package/dist/collection/components/gallery-item/gallery-item.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +6 -13
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +18 -26
- package/dist/collection/components/item/item.js +10 -14
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +9 -11
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +10 -4
- package/dist/collection/components/reorder/reorder.js +5 -12
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +8 -32
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +7 -20
- package/dist/collection/components/select-modal/select-modal.js +10 -8
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +12 -25
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +23 -10
- package/dist/esm/{index-B4Kq2YNk.js → index-PnwG0glX.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +10 -14
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +11 -12
- package/dist/esm/ion-breadcrumb_2.entry.js +17 -28
- package/dist/esm/ion-checkbox.entry.js +23 -15
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +17 -49
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +14 -18
- package/dist/esm/ion-gallery-item.entry.js +2 -2
- package/dist/esm/ion-gallery.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +19 -29
- package/dist/esm/ion-input.entry.js +7 -14
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +23 -27
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +14 -16
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +12 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -14
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +9 -35
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +11 -10
- package/dist/esm/ion-select_3.entry.js +11 -24
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +13 -28
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-2e0184c0.entry.js → p-0115c2fa.entry.js} +1 -1
- package/dist/ionic/p-0b2c58e0.entry.js +4 -0
- package/dist/ionic/{p-fc726f4a.entry.js → p-0bfb8d9e.entry.js} +1 -1
- package/dist/ionic/{p-68e453f7.entry.js → p-1147fa06.entry.js} +1 -1
- package/dist/ionic/{p-c4ed1e18.entry.js → p-1e45586e.entry.js} +1 -1
- package/dist/ionic/p-208cecae.entry.js +4 -0
- package/dist/ionic/p-29f69d29.entry.js +4 -0
- package/dist/ionic/{p-d9ac7a0d.entry.js → p-2b5e04c5.entry.js} +1 -1
- package/dist/ionic/{p-31a0c9c2.entry.js → p-311ef139.entry.js} +1 -1
- package/dist/ionic/{p-1ce65194.entry.js → p-3eff3411.entry.js} +1 -1
- package/dist/ionic/p-3f17704b.entry.js +4 -0
- package/dist/ionic/p-46e754ae.entry.js +4 -0
- package/dist/ionic/{p-b4901bce.entry.js → p-4901a10b.entry.js} +1 -1
- package/dist/ionic/{p-1b473bad.entry.js → p-4c8178d8.entry.js} +1 -1
- package/dist/ionic/p-5196bee9.entry.js +4 -0
- package/dist/ionic/{p-c4ebdfd2.entry.js → p-5386b094.entry.js} +1 -1
- package/dist/ionic/{p-2365483a.entry.js → p-54579b68.entry.js} +1 -1
- package/dist/ionic/{p-ff74cf5d.entry.js → p-54baa1af.entry.js} +1 -1
- package/dist/ionic/{p-2bf60b77.entry.js → p-59e59209.entry.js} +1 -1
- package/dist/ionic/p-5ad0c670.entry.js +4 -0
- package/dist/ionic/{p-9db78e5c.entry.js → p-62602fbd.entry.js} +1 -1
- package/dist/ionic/{p-316eed75.entry.js → p-6b86cb62.entry.js} +1 -1
- package/dist/ionic/p-7134537b.entry.js +4 -0
- package/dist/ionic/p-72eacca0.entry.js +4 -0
- package/dist/ionic/{p-296226f1.entry.js → p-7ae06f6f.entry.js} +1 -1
- package/dist/ionic/p-7bde9ee1.entry.js +4 -0
- package/dist/ionic/p-87ab986c.entry.js +4 -0
- package/dist/ionic/{p-8303462c.entry.js → p-9dff6288.entry.js} +1 -1
- package/dist/ionic/p-9e09cb80.entry.js +4 -0
- package/dist/ionic/{p-B4Kq2YNk.js → p-PnwG0glX.js} +1 -1
- package/dist/ionic/p-a320cdb2.entry.js +4 -0
- package/dist/ionic/{p-731d11e1.entry.js → p-a4bed36b.entry.js} +1 -1
- package/dist/ionic/{p-75c7595c.entry.js → p-a7914fe5.entry.js} +1 -1
- package/dist/ionic/p-aa298c58.entry.js +4 -0
- package/dist/ionic/{p-be06def7.entry.js → p-ace3062d.entry.js} +1 -1
- package/dist/ionic/{p-ddc41dbb.entry.js → p-b70775b0.entry.js} +1 -1
- package/dist/ionic/{p-2016c1c0.entry.js → p-b7c75507.entry.js} +1 -1
- package/dist/ionic/p-b920f149.entry.js +4 -0
- package/dist/ionic/p-c39025c0.entry.js +4 -0
- package/dist/ionic/{p-2e1d650a.entry.js → p-c9cda5ce.entry.js} +1 -1
- package/dist/ionic/{p-f6768728.entry.js → p-cc314123.entry.js} +1 -1
- package/dist/ionic/p-d1f42864.entry.js +4 -0
- package/dist/ionic/p-d4506138.entry.js +4 -0
- package/dist/ionic/{p-f0968c91.entry.js → p-dbd06d8d.entry.js} +1 -1
- package/dist/ionic/{p-a9df0ccf.entry.js → p-dda49380.entry.js} +1 -1
- package/dist/ionic/{p-5dedd699.entry.js → p-e95618c4.entry.js} +1 -1
- package/dist/ionic/{p-b25f3aba.entry.js → p-f89fcf62.entry.js} +1 -1
- package/dist/ionic/p-fcce2dda.entry.js +4 -0
- package/dist/ionic/p-fd2a869f.entry.js +4 -0
- package/dist/ionic/{p-bb7bb4fd.entry.js → p-fd95a423.entry.js} +1 -1
- package/dist/ionic/{p-7cbf17f0.entry.js → p-fe14205b.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +6 -0
- package/dist/types/components/back-button/back-button.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/types/components/checkbox/checkbox.d.ts +12 -1
- package/dist/types/components/datetime/datetime.d.ts +4 -4
- package/dist/types/components/fab-button/fab-button.d.ts +6 -0
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +12 -0
- package/dist/types/components/item/item.d.ts +6 -0
- package/dist/types/components/menu-button/menu-button.d.ts +5 -0
- package/dist/types/components/refresher-content/refresher-content.d.ts +6 -0
- package/dist/types/components/reorder/reorder.d.ts +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +5 -0
- package/dist/types/components/toggle/toggle.d.ts +5 -2
- package/dist/types/utils/config.d.ts +19 -0
- package/hydrate/index.js +297 -415
- package/hydrate/index.mjs +297 -415
- package/package.json +1 -2
- package/components/p-BDqjX7Z_.js +0 -4
- package/components/p-BYSs-jZz.js +0 -4
- package/components/p-BnQAsi91.js +0 -4
- package/components/p-C5F5Zw01.js +0 -4
- package/components/p-CA81qANP.js +0 -4
- package/components/p-CJNsztW3.js +0 -4
- package/components/p-CaB0_AG0.js +0 -4
- package/components/p-D1t981Ih.js +0 -4
- package/components/p-Dhi5xtNS.js +0 -4
- package/components/p-VrmyB-Wu.js +0 -4
- package/components/p-fIOYmaqA.js +0 -4
- package/components/p-vUGYs065.js +0 -4
- package/dist/cjs/caret-down-vtVgfXIs.js +0 -8
- package/dist/cjs/caret-left-CxZXLRv5.js +0 -8
- package/dist/cjs/caret-right-CRCgv98E.js +0 -8
- package/dist/cjs/list-a-7GSA6K.js +0 -8
- package/dist/cjs/x-BTF99yFH.js +0 -8
- package/dist/esm/caret-down-D1t981Ih.js +0 -6
- package/dist/esm/caret-left-fIOYmaqA.js +0 -6
- package/dist/esm/caret-right-BYSs-jZz.js +0 -6
- package/dist/esm/list-Dhi5xtNS.js +0 -6
- package/dist/esm/x-BDqjX7Z_.js +0 -6
- package/dist/ionic/p-0166d6e5.entry.js +0 -4
- package/dist/ionic/p-0a0a66e2.entry.js +0 -4
- package/dist/ionic/p-0c636ad3.entry.js +0 -4
- package/dist/ionic/p-126031d2.entry.js +0 -4
- package/dist/ionic/p-1a609156.entry.js +0 -4
- package/dist/ionic/p-1c1c18da.entry.js +0 -4
- package/dist/ionic/p-2a54aec2.entry.js +0 -4
- package/dist/ionic/p-40a21a22.entry.js +0 -4
- package/dist/ionic/p-431bc3ce.entry.js +0 -4
- package/dist/ionic/p-51542c69.entry.js +0 -4
- package/dist/ionic/p-711ba315.entry.js +0 -4
- package/dist/ionic/p-76232f5f.entry.js +0 -4
- package/dist/ionic/p-BDqjX7Z_.js +0 -4
- package/dist/ionic/p-BYSs-jZz.js +0 -4
- package/dist/ionic/p-D1t981Ih.js +0 -4
- package/dist/ionic/p-Dhi5xtNS.js +0 -4
- package/dist/ionic/p-ac3af8af.entry.js +0 -4
- package/dist/ionic/p-b3da2cc7.entry.js +0 -4
- package/dist/ionic/p-b4533070.entry.js +0 -4
- package/dist/ionic/p-c0983eac.entry.js +0 -4
- package/dist/ionic/p-dc8a8505.entry.js +0 -4
- package/dist/ionic/p-df642ef5.entry.js +0 -4
- package/dist/ionic/p-e086f8c3.entry.js +0 -4
- package/dist/ionic/p-edd8f490.entry.js +0 -4
- package/dist/ionic/p-fIOYmaqA.js +0 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import caretRightRegular from "@phosphor-icons/core/assets/regular/caret-right.svg";
|
|
5
4
|
import { Build, Host, forceUpdate, h } from "@stencil/core";
|
|
6
5
|
import { inheritAttributes, raf } from "../../utils/helpers";
|
|
7
6
|
import { createColorClasses, hostContext, openURL } from "../../utils/theme";
|
|
@@ -240,29 +239,26 @@ export class Item {
|
|
|
240
239
|
const controls = this.el.querySelectorAll('ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled]), ion-input:not([disabled]), ion-textarea:not([disabled])');
|
|
241
240
|
return controls[0];
|
|
242
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* Get the icon to use for the detail icon.
|
|
244
|
+
* If an icon is set on the component, use that.
|
|
245
|
+
* Otherwise, use the icon set in the config.
|
|
246
|
+
* If no icon is set in the config, use the default icon.
|
|
247
|
+
*/
|
|
243
248
|
get itemDetailIcon() {
|
|
244
249
|
// Return the icon if it is explicitly set
|
|
245
250
|
if (this.detailIcon != null) {
|
|
246
251
|
return this.detailIcon;
|
|
247
252
|
}
|
|
248
|
-
// Determine the theme and map to default icons
|
|
249
|
-
const theme = getIonTheme(this);
|
|
250
|
-
const defaultIcons = {
|
|
251
|
-
ios: chevronForward,
|
|
252
|
-
ionic: caretRightRegular,
|
|
253
|
-
md: chevronForward,
|
|
254
|
-
};
|
|
255
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
256
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
257
253
|
// Return the configured item detail icon or the default icon
|
|
258
|
-
return config.get('itemDetailIcon',
|
|
254
|
+
return config.get('itemDetailIcon', chevronForward);
|
|
259
255
|
}
|
|
260
256
|
/**
|
|
261
257
|
* The icon should be flipped when the app is RTL and
|
|
262
258
|
* the icon is a variation of chevron.
|
|
263
259
|
*/
|
|
264
260
|
get shouldFlipIcon() {
|
|
265
|
-
return this.itemDetailIcon === chevronForward
|
|
261
|
+
return this.itemDetailIcon === chevronForward;
|
|
266
262
|
}
|
|
267
263
|
render() {
|
|
268
264
|
const { detail, download, labelColorStyles, lines, disabled, href, itemDetailIcon, shouldFlipIcon, rel, target, routerAnimation, routerDirection, inheritedAriaAttributes, multipleInputs, } = this;
|
|
@@ -341,7 +337,7 @@ export class Item {
|
|
|
341
337
|
* multi-input item, and in a clickable item, which is a second tab stop.
|
|
342
338
|
*/
|
|
343
339
|
const slottedIndicatorNeedsRoom = this.hasSlottedIndicatorControl && (multipleInputs || this.isClickable());
|
|
344
|
-
return (h(Host, { key: '
|
|
340
|
+
return (h(Host, { key: 'd1081a8a1d32df06ac0237a370b8105f9b3ad743', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses(this.color, {
|
|
345
341
|
item: true,
|
|
346
342
|
[theme]: true,
|
|
347
343
|
'item-lines-default': lines === undefined,
|
|
@@ -354,7 +350,7 @@ export class Item {
|
|
|
354
350
|
'ion-activatable': canActivate,
|
|
355
351
|
'ion-focusable': this.focusable,
|
|
356
352
|
'item-rtl': document.dir === 'rtl',
|
|
357
|
-
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: '
|
|
353
|
+
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: 'd0cb6daafb0813bdf176094aeef56083a18e766b' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), h("slot", { key: 'abb79ecaaa73863926e2e96b3c860c4686f1a7ac', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), h("div", { key: 'dd13fe3d073c7b88ac4e09c157fc1267480feeba', class: "item-inner", part: "inner" }, h("div", { key: '33e842c9fc188afc7e546a989d3c75cc5393b4a1', class: "input-wrapper", part: "container" }, h("slot", { key: 'cd4fc3687f17807231adf641772c6e8269a75bce', onSlotchange: this.updateInteractivityOnSlotChange })), h("slot", { key: 'bc0b10c2cdf07040d26d543de1fbf9ab5e400079', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (h("ion-icon", { key: '64b285c87a5b000ad5bbd6a3056183ddc6ef988a', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme === 'md' && h("ion-ripple-effect", { key: '1dd429002350661afa8853a58a59276da7283353' }))));
|
|
358
354
|
}
|
|
359
355
|
static get is() { return "ion-item"; }
|
|
360
356
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,11 +28,11 @@ export class ItemDivider {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const theme = getIonTheme(this);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'b41d12b91cf208efda5287f9be3c94fc0e934175', class: createColorClasses(this.color, {
|
|
32
32
|
[theme]: true,
|
|
33
33
|
'item-divider-sticky': this.sticky,
|
|
34
34
|
item: true,
|
|
35
|
-
}) }, h("slot", { key: '
|
|
35
|
+
}) }, h("slot", { key: '490b5ab187a2f8f4c909eb5c0c16d50a7f90f87d', name: "start" }), h("div", { key: '55cc4cdda96d6a33472fe6570a09e725c3a5e091', class: "item-divider-inner", part: "inner" }, h("div", { key: 'fec32822339f1a2197fd576b0949bf12d1b7582b', class: "item-divider-wrapper", part: "container" }, h("slot", { key: '698a1e95a0481c1a7ff20795c479ceb5b00873ae' })), h("slot", { key: 'c5d28d2b06885044bdadaf203018568c8701accc', name: "end" }))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "ion-item-divider"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
10
10
|
export class ItemGroup {
|
|
11
11
|
render() {
|
|
12
12
|
const theme = getIonTheme(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '192876ea9e6fc866519490556a5db863b8731ceb', role: "group", class: {
|
|
14
14
|
[theme]: true,
|
|
15
15
|
// Used internally for styling
|
|
16
16
|
[`item-group-${theme}`]: true,
|
|
@@ -71,14 +71,14 @@ export class ItemOption {
|
|
|
71
71
|
href: this.href,
|
|
72
72
|
target: this.target,
|
|
73
73
|
};
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '4c40464f3ade0f4afaf4a7682177bf54fd411b2f', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
75
75
|
[theme]: true,
|
|
76
76
|
[`item-option-${shape}`]: shape !== undefined,
|
|
77
77
|
[`item-option-${hue}`]: hue !== undefined,
|
|
78
78
|
'item-option-disabled': disabled,
|
|
79
79
|
'item-option-expandable': expandable,
|
|
80
80
|
'ion-activatable': true,
|
|
81
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
81
|
+
}) }, h(TagType, Object.assign({ key: '857af74eab39e9dbe9e72da7b6727c1fb72ba463' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '7838898caaa93215083f3aa378e8d12c7c0da73f', class: "button-inner", part: "inner" }, h("slot", { key: '0cfa9e6c6e55cae4d099eb3c339ae91d69a0899d', name: "top" }), h("div", { key: '5ed0d1b3f462e7a03da1c29f5a76efc186b3881c', class: "horizontal-wrapper", part: "container" }, h("slot", { key: '264076e1e5818e7666d6958c861d43831b4b9227', name: "start" }), h("slot", { key: 'ff6cd961b5d980ce073840f023f2c8ff3d46b4a4', name: "icon-only" }), h("slot", { key: '75f3fd3813e497ab1fc1bef2248a8764c0b5a36f' }), h("slot", { key: '9df80f908c1facc282b5910d1f3199b72dd33b36', name: "end" })), h("slot", { key: 'e82f4c0ea7dd31393dd42496801d8807e57aba2d', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '7730ed91538245a5834989213673dea45b70798d' }))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "ion-item-option"; }
|
|
84
84
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class ItemOptions {
|
|
|
25
25
|
render() {
|
|
26
26
|
const theme = getIonTheme(this);
|
|
27
27
|
const isEnd = isEndSide(this.side);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '3505a534ecca3fe1615b1e686d9ab15bc8967049', class: {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
// Used internally for styling
|
|
31
31
|
[`item-options-${theme}`]: true,
|
|
@@ -773,7 +773,7 @@ export class ItemSliding {
|
|
|
773
773
|
}
|
|
774
774
|
render() {
|
|
775
775
|
const theme = getIonTheme(this);
|
|
776
|
-
return (h(Host, { key: '
|
|
776
|
+
return (h(Host, { key: 'd718bf10e1dfbecc2c1e1b84eee8e79a62751115', class: {
|
|
777
777
|
[theme]: true,
|
|
778
778
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
779
779
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -59,13 +59,13 @@ export class Label {
|
|
|
59
59
|
render() {
|
|
60
60
|
const position = this.position;
|
|
61
61
|
const theme = getIonTheme(this);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '55356d83f3c598b83dccd79ee3769da57d15cf78', class: createColorClasses(this.color, {
|
|
63
63
|
[theme]: true,
|
|
64
64
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
65
65
|
[`label-${position}`]: position !== undefined,
|
|
66
66
|
[`label-no-animate`]: this.noAnimate,
|
|
67
67
|
'label-rtl': document.dir === 'rtl',
|
|
68
|
-
}) }, h("slot", { key: '
|
|
68
|
+
}) }, h("slot", { key: 'fbf99c7868befa8ba8e01c4d086ef238ecc061c8' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-label"; }
|
|
71
71
|
static get encapsulation() { return "scoped"; }
|
|
@@ -46,7 +46,7 @@ export class List {
|
|
|
46
46
|
const theme = getIonTheme(this);
|
|
47
47
|
const shape = this.getShape();
|
|
48
48
|
const { lines, inset } = this;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'c1a9ff4887166dda2da800c15102cd1aed53ab72', role: "list", class: {
|
|
50
50
|
[theme]: true,
|
|
51
51
|
// Used internally for styling
|
|
52
52
|
[`list-${theme}`]: true,
|
|
@@ -14,10 +14,10 @@ export class ListHeader {
|
|
|
14
14
|
render() {
|
|
15
15
|
const { lines } = this;
|
|
16
16
|
const theme = getIonTheme(this);
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '1d1e2a599178710f9243d4d4c87d01f2364e4717', class: createColorClasses(this.color, {
|
|
18
18
|
[theme]: true,
|
|
19
19
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
20
|
-
}) }, h("div", { key: '
|
|
20
|
+
}) }, h("div", { key: '4f29d2a52fad8314d779510c8851a632b68f783d', class: "list-header-inner", part: "inner" }, h("slot", { key: '4b434064755e69b6e5ba4d241159d0590ca6fa47' }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "ion-list-header"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,9 +180,9 @@ export class Loading {
|
|
|
180
180
|
* Otherwise, don't set aria-labelledby.
|
|
181
181
|
*/
|
|
182
182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
183
|
-
return (h(Host, Object.assign({ key: '
|
|
183
|
+
return (h(Host, Object.assign({ key: '46358f5a35005840cf60e7c520d4f60415b5991d', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
184
184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
185
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
185
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'a34cd48d682bc696aa437d22f99fee5427070883', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '6c663be0284e9b81f0b474ae05f3182b76f6ce7f', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'a8b8bbab685e59c80793ed66626a7f90b40960d6', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '016cfe3ac189405620cd4dfc82941b280d84c8a4', class: "loading-spinner" }, h("ion-spinner", { key: '33d580768ab09748c3fa59fa8fed09832abaae7a', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'dedf1658004af3269ec1bb9a8028ce786a24d806', tabindex: "0", "aria-hidden": "true" })));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "ion-loading"; }
|
|
188
188
|
static get encapsulation() { return "scoped"; }
|
|
@@ -661,14 +661,14 @@ export class Menu {
|
|
|
661
661
|
* the ionBackButton listener in the menu controller
|
|
662
662
|
* will handle closing the menu when Escape is pressed.
|
|
663
663
|
*/
|
|
664
|
-
return (h(Host, { key: '
|
|
664
|
+
return (h(Host, { key: '9b37651cda44cc443b9085e13eb2e5b13fa041e0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
665
665
|
[theme]: true,
|
|
666
666
|
[`menu-type-${type}`]: true,
|
|
667
667
|
'menu-enabled': !disabled,
|
|
668
668
|
[`menu-side-${side}`]: true,
|
|
669
669
|
'menu-pane-visible': isPaneVisible,
|
|
670
670
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
671
|
-
} }, h("div", { key: '
|
|
671
|
+
} }, h("div", { key: '27d27929b185907be48e50d4b2bbe1a14e971564', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '38e3385837dff99ee17170798efedc3f58071fac' })), h("ion-backdrop", { key: 'ae11415a8b4c00e6c4a90ce88405cd5b11a92374', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
672
672
|
}
|
|
673
673
|
static get is() { return "ion-menu"; }
|
|
674
674
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import listRegular from "@phosphor-icons/core/assets/regular/list.svg";
|
|
5
4
|
import { Host, h } from "@stencil/core";
|
|
6
5
|
import { inheritAriaAttributes } from "../../utils/helpers";
|
|
7
6
|
import { menuController } from "../../utils/menu-controller/index";
|
|
@@ -46,16 +45,15 @@ export class MenuButton {
|
|
|
46
45
|
async visibilityChanged() {
|
|
47
46
|
this.visible = await updateVisibility(this.menu);
|
|
48
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Get the icon to use for the menu icon.
|
|
50
|
+
* Use the icon set in the config.
|
|
51
|
+
* If no icon is set in the config, use the default icon.
|
|
52
|
+
*/
|
|
49
53
|
get menuIcon() {
|
|
50
|
-
// Determine the theme and map to default
|
|
54
|
+
// Determine the theme and map to the default icon
|
|
51
55
|
const theme = getIonTheme(this);
|
|
52
|
-
const
|
|
53
|
-
ios: menuOutline,
|
|
54
|
-
ionic: listRegular,
|
|
55
|
-
md: menuSharp,
|
|
56
|
-
};
|
|
57
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
58
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
56
|
+
const defaultIcon = theme === 'ios' ? menuOutline : menuSharp;
|
|
59
57
|
// Return the configured menu icon or the default icon
|
|
60
58
|
return config.get('menuIcon', defaultIcon);
|
|
61
59
|
}
|
|
@@ -67,7 +65,7 @@ export class MenuButton {
|
|
|
67
65
|
type: this.type,
|
|
68
66
|
};
|
|
69
67
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
70
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '026e0b8786a0743d93b1410f2c7046857e76d31e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
71
69
|
[theme]: true,
|
|
72
70
|
button: true, // ion-buttons target .button
|
|
73
71
|
'menu-button-hidden': hidden,
|
|
@@ -76,7 +74,7 @@ export class MenuButton {
|
|
|
76
74
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
77
75
|
'ion-activatable': true,
|
|
78
76
|
'ion-focusable': true,
|
|
79
|
-
}) }, h("button", Object.assign({ key: '
|
|
77
|
+
}) }, h("button", Object.assign({ key: '43ae83fb67e6f138c73eceea433d2e1597539347' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: 'f6ddf381a18c716c1826d42e88c4b5a7840bb5fd', class: "button-inner" }, h("slot", { key: 'bb39b67eacc81d30221bfb54dc0a835289cc5380' }, h("ion-icon", { key: '8f8313ed81ad2d59e2bd40d4025dd20dc822d512', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '25ca62a13acd04b0a3df7ead7c6dabff1446bce5', type: "unbounded" }))));
|
|
80
78
|
}
|
|
81
79
|
static get is() { return "ion-menu-button"; }
|
|
82
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,10 +34,10 @@ export class MenuToggle {
|
|
|
34
34
|
render() {
|
|
35
35
|
const theme = getIonTheme(this);
|
|
36
36
|
const hidden = this.autoHide && !this.visible;
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'c97c11d2e8b3efd50302cedd68c2dd95b0355bd4', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
38
38
|
[theme]: true,
|
|
39
39
|
'menu-toggle-hidden': hidden,
|
|
40
|
-
} }, h("slot", { key: '
|
|
40
|
+
} }, h("slot", { key: 'e9987fbbbf9cf7fb8e770502c3c9d5c5779c3926' })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "ion-menu-toggle"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1198,11 +1198,11 @@ export class Modal {
|
|
|
1198
1198
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1199
1199
|
const shape = this.getShape();
|
|
1200
1200
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
1201
|
-
return (h(Host, Object.assign({ key: '
|
|
1201
|
+
return (h(Host, Object.assign({ key: 'a2a8d62a699e1bcd2d6d277dcec3ae0a0cdaa773', "no-router": true,
|
|
1202
1202
|
// Allow the modal to be navigable when the handle is focusable
|
|
1203
1203
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
1204
1204
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1205
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: '
|
|
1205
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: 'ef4dce13e8fa68d118bbb87262cce3d6067f8159', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: 'fffa61a3d9f45b72847a224845758d9f97fb3e79', class: "modal-shadow" }), h("div", Object.assign({ key: '1872b201510124d94f86b42a0b30bdd416280a2a',
|
|
1206
1206
|
/*
|
|
1207
1207
|
role and aria-modal must be used on the
|
|
1208
1208
|
same element. They must also be set inside the
|
|
@@ -1215,9 +1215,9 @@ export class Modal {
|
|
|
1215
1215
|
without the tabindex focus() would be a no-op and screen readers
|
|
1216
1216
|
may not properly announce the dialog and its content when it opens.
|
|
1217
1217
|
*/
|
|
1218
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
1218
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '822983329fce3d8dbf007172448a0f6c7f180190', class: "modal-handle",
|
|
1219
1219
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1220
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '
|
|
1220
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: '182a6e6b3aa92f22035c851eb32bd2392cf941d1', onSlotchange: this.onSlotChange }))));
|
|
1221
1221
|
}
|
|
1222
1222
|
static get is() { return "ion-modal"; }
|
|
1223
1223
|
static get encapsulation() { return "shadow"; }
|
|
@@ -834,7 +834,7 @@ export class Nav {
|
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
render() {
|
|
837
|
-
return h("slot", { key: '
|
|
837
|
+
return h("slot", { key: '2542f3c31517c7238d1c286435c6e6738fafb145' });
|
|
838
838
|
}
|
|
839
839
|
static get is() { return "ion-nav"; }
|
|
840
840
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class NavLink {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h(Host, { key: '
|
|
21
|
+
return h(Host, { key: '892d940265e46ab358af2693c4d63234fe301a85', onClick: this.onClick });
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ion-nav-link"; }
|
|
24
24
|
static get properties() {
|
|
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
|
|
|
11
11
|
export class Note {
|
|
12
12
|
render() {
|
|
13
13
|
const theme = getIonTheme(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '3f882cc4cac96016c332fd42b7a42ee2065284ce', class: createColorClasses(this.color, {
|
|
15
15
|
[theme]: true,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: 'f90b98dcd17b4f3c4e7b85ad4fe01e5478bdc952' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "ion-note"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -452,7 +452,7 @@ export class Picker {
|
|
|
452
452
|
this.emitInputModeChange();
|
|
453
453
|
}
|
|
454
454
|
render() {
|
|
455
|
-
return (h(Host, { key: '
|
|
455
|
+
return (h(Host, { key: '7bd377eae3c0fe70f0bc34820d5f7e66a8c1f280', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: '81e4494104e755f8c05a4dcbceb3ad2edb426bfc', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
456
456
|
var _a;
|
|
457
457
|
/**
|
|
458
458
|
* The "Enter" key represents
|
|
@@ -467,7 +467,7 @@ export class Picker {
|
|
|
467
467
|
if (ev.key === 'Enter') {
|
|
468
468
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
469
469
|
}
|
|
470
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
470
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '64a1ed7261384f8b8880458684140dabb2886bc4', class: "picker-before" }), h("div", { key: 'b1cb9d14bb7171695ffb138b3ad3150264adee95', class: "picker-after" }), h("div", { key: '11db19b2aab0ca2b84171892a6158c612e8e2642', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: '8cbf25b4282541e3d33aa67bc34e59b46541e64f' })));
|
|
471
471
|
}
|
|
472
472
|
static get is() { return "ion-picker"; }
|
|
473
473
|
static get encapsulation() { return "shadow"; }
|
|
@@ -552,14 +552,14 @@ export class PickerColumn {
|
|
|
552
552
|
render() {
|
|
553
553
|
const { color, disabled, isActive, numericInput } = this;
|
|
554
554
|
const theme = getIonTheme(this);
|
|
555
|
-
return (h(Host, { key: '
|
|
555
|
+
return (h(Host, { key: 'f59ee8a7743b67fc1d4ce7481157351eaf74b21e', class: createColorClasses(color, {
|
|
556
556
|
[theme]: true,
|
|
557
557
|
['picker-column-active']: isActive,
|
|
558
558
|
['picker-column-numeric-input']: numericInput,
|
|
559
559
|
['picker-column-disabled']: disabled,
|
|
560
|
-
}) }, h("slot", { key: '
|
|
560
|
+
}) }, h("slot", { key: '1ff45d6f05c6f42e8ed0d453f1e40b37f438b6de', name: "prefix" }), h("div", { key: '6c4fd1ef103fec93a0471d6e21baa75034869d55', class: "picker-opts", ref: (el) => {
|
|
561
561
|
this.scrollEl = el;
|
|
562
|
-
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: '
|
|
562
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: 'f6e9ac294387992f2d5160ec2b45ac9a721b445a', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '6347e7fc94fb632e8718400e7a038d729ca72815', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '742841d456509ca0d56cc5af3c0acd392ae0632d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '0df7a93082ba62f9fe91bef9bf4771ad1c9859bd' }), h("div", { key: 'f9a9f01478e51940c1547b94400b484839f0c6c0', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '01363d1a5a052eb2aceb27339969e8fefaef7531', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'ef60f85fcc83ff6ee43555fdd5c5b27a50cf820b', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: '1cdc5accbe0d0f33849d163f0fdcd67c5e4837ae', name: "suffix" })));
|
|
563
563
|
}
|
|
564
564
|
static get is() { return "ion-picker-column"; }
|
|
565
565
|
static get encapsulation() { return "shadow"; }
|
|
@@ -95,10 +95,10 @@ export class PickerColumnOption {
|
|
|
95
95
|
render() {
|
|
96
96
|
const { color, disabled, ariaLabel } = this;
|
|
97
97
|
const theme = getIonTheme(this);
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: 'ca671f1d55775b5f2f92d0a0a76ee2cc6b0da684', class: createColorClasses(color, {
|
|
99
99
|
[theme]: true,
|
|
100
100
|
['option-disabled']: disabled,
|
|
101
|
-
}) }, h("div", { key: '
|
|
101
|
+
}) }, h("div", { key: 'dc1d02a320e46e11b4cf981f03d240282d38e953', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '0d8eeeafb99d0b27f0a53e8404708ed6f5d09f5a' }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "ion-picker-column-option"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -208,11 +208,11 @@ export class Picker {
|
|
|
208
208
|
render() {
|
|
209
209
|
const { htmlAttributes } = this;
|
|
210
210
|
const theme = getIonTheme(this);
|
|
211
|
-
return (h(Host, Object.assign({ key: '
|
|
211
|
+
return (h(Host, Object.assign({ key: '2933574a887dec034d63c9fb7e72c6f89ba41eee', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
212
212
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
213
213
|
}, class: Object.assign({ [theme]: true,
|
|
214
214
|
// Used internally for styling
|
|
215
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
215
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'da408d6f273dbdee101ee0fecd534122f3adae4b', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'b2c0b56573828c54e6915c7134f8efdf6d3dd447', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '471ececc34bad0850caaaa7bc0617342e631c813', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '5a22a05ee03d39b89a0a40b4d8b1babc72fd0ec3', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '779ff00e285f24b7b3a22a3a1f2bc73f81852301', class: "picker-columns" }, h("div", { key: '317a4efb359487d4f4815696551c98c2ad2c9f6d', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'b38fcc0d168d8f41eac7b90aef48d2c7354e442a', class: "picker-below-highlight" }))), h("div", { key: '05dbb5a72979c720eb1c2810e5023d402a2a16d0', tabindex: "0", "aria-hidden": "true" })));
|
|
216
216
|
}
|
|
217
217
|
static get is() { return "ion-picker-legacy"; }
|
|
218
218
|
static get encapsulation() { return "scoped"; }
|
|
@@ -335,9 +335,9 @@ export class PickerColumnCmp {
|
|
|
335
335
|
render() {
|
|
336
336
|
const col = this.col;
|
|
337
337
|
const theme = getIonTheme(this);
|
|
338
|
-
return (h(Host, { key: '
|
|
338
|
+
return (h(Host, { key: '5b6d8dc5f07aab52638415d5645d7f1b757b0143', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
339
339
|
'max-width': this.col.columnWidth,
|
|
340
|
-
} }, col.prefix && (h("div", { key: '
|
|
340
|
+
} }, col.prefix && (h("div", { key: '38aec7368a95d580870d6b18c5b588e6393e61c4', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'ab861124d971cad93881e04b0240afa0ee5df1ae', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: '4c3bc8f9d46bf4c1501d0980516f698314e4f8be', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
341
341
|
}
|
|
342
342
|
static get is() { return "ion-picker-legacy-column"; }
|
|
343
343
|
static get originalStyleUrls() {
|
|
@@ -468,9 +468,9 @@ export class Popover {
|
|
|
468
468
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
469
469
|
const desktop = isPlatform('desktop');
|
|
470
470
|
const enableArrow = arrow && !parentPopover;
|
|
471
|
-
return (h(Host, Object.assign({ key: '
|
|
471
|
+
return (h(Host, Object.assign({ key: '25b3729884cdc23f02cefe748d5bed47b7a5fa38', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
472
472
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
473
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
473
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '9b96606f71b1d41d737a62fcfd4756022d453405', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'a49a4271e58d966cb9f97ebe0b97f1749f99ba58', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '6386d13c525f9fd2829b13291e2b49afec26d156', class: "popover-arrow", part: "arrow" }), h("div", { key: 'd45512ad6746fcdc0bf8188353943e62b77b18c9', class: "popover-content", part: "content" }, h("slot", { key: '02ffde8e0aa104ab794c0b6fe748f1109c8dd6c7' })))));
|
|
474
474
|
}
|
|
475
475
|
static get is() { return "ion-popover"; }
|
|
476
476
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class ProgressBar {
|
|
|
57
57
|
const shape = this.getShape();
|
|
58
58
|
// If the progress is displayed as a solid bar.
|
|
59
59
|
const progressSolid = buffer === 1;
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'c75842982bb4251237236aaa7c937a9078695c08', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
61
61
|
[theme]: true,
|
|
62
62
|
[`progress-bar-${type}`]: true,
|
|
63
63
|
'progress-paused': paused,
|
|
@@ -145,7 +145,7 @@ export class Radio {
|
|
|
145
145
|
const theme = getIonTheme(this);
|
|
146
146
|
const inItem = hostContext('ion-item', el);
|
|
147
147
|
const inMultipleInputsItem = hostContext('ion-item.item-multiple-inputs', el);
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: '47422f87a0d65a3e603ed8f7f0a7e02aea5a1184', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
149
149
|
[theme]: true,
|
|
150
150
|
'in-item': inItem,
|
|
151
151
|
'radio-checked': checked,
|
|
@@ -158,10 +158,10 @@ export class Radio {
|
|
|
158
158
|
// styling stays suppressed either way.
|
|
159
159
|
'ion-activatable': !inItem,
|
|
160
160
|
'ion-focusable': !inItem || inMultipleInputsItem,
|
|
161
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
161
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '2d52d730ffae0e44ec65d3238e74ddd445c05115', class: "radio-wrapper" }, h("div", { key: 'fc8a01ea68f55d52e5d63814fc14340d40191dff', class: {
|
|
162
162
|
'label-text-wrapper': true,
|
|
163
163
|
'label-text-wrapper-hidden': !hasLabel,
|
|
164
|
-
}, part: "label" }, h("slot", { key: '
|
|
164
|
+
}, part: "label" }, h("slot", { key: '0e6633cebfe68fba23d0a963e48cfa7beceb7606' })), h("div", { key: 'bac442623fd79f800f469a5b9a66932d2335f652', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
165
165
|
}
|
|
166
166
|
static get is() { return "ion-radio"; }
|
|
167
167
|
static get encapsulation() { return "shadow"; }
|
|
@@ -265,10 +265,10 @@ export class RadioGroup {
|
|
|
265
265
|
const { label, labelId, el, name, value } = this;
|
|
266
266
|
const theme = getIonTheme(this);
|
|
267
267
|
renderHiddenInput(true, el, name, value, false);
|
|
268
|
-
return (h(Host, { key: '
|
|
268
|
+
return (h(Host, { key: 'd1e359e05c725ec694bafa71fa595ae0d9dd216a', class: {
|
|
269
269
|
[theme]: true,
|
|
270
270
|
'in-list': hostContext('ion-list', el),
|
|
271
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "data-roving-focus": true, onClick: this.onClick }, this.renderHintText(), h("slot", { key: '
|
|
271
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "data-roving-focus": true, onClick: this.onClick }, this.renderHintText(), h("slot", { key: 'f1a63c2d99e8d05d6fd6e34363b000a5bf189e48' })));
|
|
272
272
|
}
|
|
273
273
|
static get is() { return "ion-radio-group"; }
|
|
274
274
|
static get encapsulation() { return "shadow"; }
|
|
@@ -780,7 +780,7 @@ export class Range {
|
|
|
780
780
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
781
781
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
782
782
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
783
|
-
return (h(Host, { key: '
|
|
783
|
+
return (h(Host, { key: '1ccb19928863f3d692a3b0149d0f649efac6c3a5', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
784
784
|
[theme]: true,
|
|
785
785
|
'in-item': inItem,
|
|
786
786
|
'range-disabled': disabled,
|
|
@@ -794,10 +794,10 @@ export class Range {
|
|
|
794
794
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
795
795
|
'range-value-min': valueAtMin,
|
|
796
796
|
'range-value-max': valueAtMax,
|
|
797
|
-
}) }, h("label", { key: '
|
|
797
|
+
}) }, h("label", { key: '140fa8b7aed65795b8f6a40cbc647205cc5eb8c9', class: "range-wrapper", id: "range-label" }, h("div", { key: '40ac33d0731a7e461dcec459f75b03cfeb7191fa', class: {
|
|
798
798
|
'label-text-wrapper': true,
|
|
799
799
|
'label-text-wrapper-hidden': !hasLabel,
|
|
800
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
800
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '2457ab03898e30bdd07a6eadfd2b900e02d48c32', class: "native-wrapper" }, h("slot", { key: 'ad67e7aa33c6e1611df7b0cb18dd73f3622db95b', name: "start" }), this.renderRangeSlider(), h("slot", { key: '3923f6803f9102836e80ba68a282d799e197edd3', name: "end" })))));
|
|
801
801
|
}
|
|
802
802
|
static get is() { return "ion-range"; }
|
|
803
803
|
static get encapsulation() { return "shadow"; }
|
|
@@ -744,7 +744,7 @@ export class Refresher {
|
|
|
744
744
|
}
|
|
745
745
|
render() {
|
|
746
746
|
const theme = getIonTheme(this);
|
|
747
|
-
return (h(Host, { key: '
|
|
747
|
+
return (h(Host, { key: '5e131046ccb469eddeb76ff64032bb70cbaba68d', slot: "fixed", class: {
|
|
748
748
|
[theme]: true,
|
|
749
749
|
// Used internally for styling
|
|
750
750
|
[`refresher-${theme}`]: true,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import caretLeftFill from "@phosphor-icons/core/assets/fill/caret-left-fill.svg";
|
|
5
4
|
import { Host, h } from "@stencil/core";
|
|
6
5
|
import { ENABLE_HTML_CONTENT_DEFAULT } from "../../utils/config";
|
|
7
6
|
import { sanitizeDOMString } from "../../utils/sanitization/index";
|
|
@@ -34,6 +33,14 @@ export class RefresherContent {
|
|
|
34
33
|
this.refreshingSpinner = config.get('refreshingSpinner', config.get('spinner', theme === 'ios' ? 'lines' : 'circular'));
|
|
35
34
|
}
|
|
36
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Get the icon to use for the arrow icon.
|
|
38
|
+
* Use the icon set in the config.
|
|
39
|
+
* If no icon is set in the config, use the default icon.
|
|
40
|
+
*/
|
|
41
|
+
get refresherArrowIcon() {
|
|
42
|
+
return config.get('refresherArrowIcon', caretBackSharp);
|
|
43
|
+
}
|
|
37
44
|
renderPullingText() {
|
|
38
45
|
const { customHTMLEnabled, pullingText } = this;
|
|
39
46
|
if (customHTMLEnabled) {
|
|
@@ -52,10 +59,9 @@ export class RefresherContent {
|
|
|
52
59
|
const pullingIcon = this.pullingIcon;
|
|
53
60
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
61
|
const theme = getIonTheme(this);
|
|
55
|
-
|
|
56
|
-
return (h(Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
62
|
+
return (h(Host, { key: 'ebbda8efbc9e4aa5524c99909237c19d646a7fb7', class: {
|
|
57
63
|
[theme]: true,
|
|
58
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: '6a021cc599f6a6cd144db10bd4cde6e9848fabc0', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: '87dbb70b24d63ad85c25eff4bb395e6edae0992f', class: "refresher-pulling-icon" }, h("div", { key: '79eb679cc7dbded104e3530d3363249fcb793277', class: "spinner-arrow-container" }, h("ion-spinner", { key: '0c00749f3c3c5e3385625bf5e2d0783f4755a6c4', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (h("div", { key: '261137c24f1503d299c0cb8e8f1e414cd932015a', class: "arrow-container" }, h("ion-icon", { key: 'd7e58abb7c50c1e7aec92173d499890d7169c9ed', icon: this.refresherArrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '2327fe1bc559ab3215cd6421d6d0954fdc7c5a66', class: "refresher-pulling-icon" }, h("ion-icon", { key: '55db851c6a453a5744b5edfb7f74fcb31c3e187c', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '3308f0bed5f8a95b1c3e896aef2d6ce114f5f8f8', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'cffb9ff9170c76ea9289b007f7728cb8906eff21', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'c96f1b252918e7e72ef062cd46abfe02788e592f', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
59
65
|
}
|
|
60
66
|
static get is() { return "ion-refresher-content"; }
|
|
61
67
|
static get originalStyleUrls() {
|