@ionic/core 8.8.9-dev.11781024903.1e4268e5 → 8.8.9-dev.11781201980.1b6e8398
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/index.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-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- 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-legacy-column.js +1 -1
- package/components/ion-picker-legacy.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-BFZBl0TS.js +4 -0
- package/components/{p-pvh0bjpw.js → p-BVi3gqm6.js} +1 -1
- package/components/{p-D6g8ud1e.js → p-BVk7LVs0.js} +1 -1
- package/components/{p-B9MABkWm.js → p-BdUtZxku.js} +1 -1
- package/components/{p-CzC_ZSgb.js → p-Be8tHurp.js} +1 -1
- package/components/p-C0U8YqYW.js +4 -0
- package/components/{p-C8kBejTT.js → p-CG3ZV6ON.js} +1 -1
- package/components/{p-CBS0sBAa.js → p-CaqTORfV.js} +1 -1
- package/components/{p-D2mReIu8.js → p-CkA0SI9d.js} +1 -1
- package/components/p-Cmql_g3_.js +4 -0
- package/components/p-CsakePQg.js +4 -0
- package/components/{p-CgSn4J7d.js → p-D1gEOh9B.js} +1 -1
- package/components/p-D3qBmaqi.js +4 -0
- package/components/{p-Do7NMUwR.js → p-DGn-jQpr.js} +1 -1
- package/components/p-DH4JHV73.js +4 -0
- package/components/p-DYK0qX7x.js +4 -0
- package/components/{p-Dp2x0MpA.js → p-DfV7pOtM.js} +1 -1
- package/components/{p-BhkGOA7t.js → p-F3N54OKJ.js} +1 -1
- package/components/{p-CgZLVOCc.js → p-MPREydZp.js} +1 -1
- package/components/{p-kKYBfhbe.js → p-OFfrVDLw.js} +1 -1
- package/components/p-iZO3WzZT.js +4 -0
- package/components/{p-LB-QPk3e.js → p-qclL-gNR.js} +1 -1
- package/dist/cjs/index-BJlwOs11.js +171 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +9 -25
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +60 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +91 -13
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +16 -15
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- 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-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 +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- 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 +4 -4
- 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 +10 -30
- package/dist/cjs/ion-select_3.cjs.entry.js +43 -102
- 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 +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/select-option-render-C7klBX2H.js +81 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/action-sheet/action-sheet.ionic.css +506 -163
- package/dist/collection/components/action-sheet/action-sheet.ios.css +27 -288
- package/dist/collection/components/action-sheet/action-sheet.md.css +27 -228
- package/dist/collection/components/alert/alert.ionic.css +797 -416
- package/dist/collection/components/alert/alert.ios.css +40 -402
- package/dist/collection/components/alert/alert.js +4 -20
- package/dist/collection/components/alert/alert.md.css +50 -385
- package/dist/collection/components/gallery/gallery.css +1 -86
- package/dist/collection/components/gallery/gallery.js +92 -13
- package/dist/collection/components/gallery/test/utils.js +16 -16
- package/dist/collection/components/gallery-item/gallery-item.css +88 -0
- package/dist/collection/components/gallery-item/gallery-item.js +100 -0
- 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 +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item/item.ionic.css +17 -5
- package/dist/collection/components/item/item.js +3 -2
- 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 +2 -2
- 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-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 +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- 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 +4 -4
- 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 +32 -72
- package/dist/collection/components/select-modal/select-modal.ionic.css +29 -139
- package/dist/collection/components/select-modal/select-modal.ios.css +7 -379
- package/dist/collection/components/select-modal/select-modal.js +5 -25
- package/dist/collection/components/select-modal/select-modal.md.css +7 -319
- package/dist/collection/components/select-option/select-option.js +1 -39
- package/dist/collection/components/select-popover/select-popover.ionic.css +376 -129
- package/dist/collection/components/select-popover/select-popover.ios.css +69 -252
- package/dist/collection/components/select-popover/select-popover.js +6 -25
- package/dist/collection/components/select-popover/select-popover.md.css +27 -273
- 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 +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/sanitization/index.js +14 -255
- package/dist/collection/utils/select-option-render.js +24 -59
- package/dist/docs.json +87 -69
- package/dist/esm/index-D4ugF_sT.js +168 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +9 -25
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-gallery-item.entry.js +58 -0
- package/dist/esm/ion-gallery.entry.js +91 -13
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +16 -15
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +6 -6
- 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-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 +4 -4
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- 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 +4 -4
- 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 +10 -30
- package/dist/esm/ion-select_3.entry.js +43 -102
- 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 +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/select-option-render-B2qc5ZP7.js +79 -0
- package/dist/html.html-data.json +42 -27
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f52856cb.entry.js → p-0592c549.entry.js} +1 -1
- package/dist/ionic/{p-67c2d349.entry.js → p-0aa510cd.entry.js} +1 -1
- package/dist/ionic/{p-9ccfb733.entry.js → p-0cd5fd9d.entry.js} +1 -1
- package/dist/ionic/p-0e9d4e11.entry.js +4 -0
- package/dist/ionic/{p-497f6391.entry.js → p-11a38333.entry.js} +1 -1
- package/dist/ionic/{p-0030507d.entry.js → p-1a009a51.entry.js} +1 -1
- package/dist/ionic/{p-7186786e.entry.js → p-23e524f8.entry.js} +1 -1
- package/dist/ionic/{p-1439fecb.entry.js → p-2826761a.entry.js} +1 -1
- package/dist/ionic/{p-93315d96.entry.js → p-2c4170d8.entry.js} +1 -1
- package/dist/ionic/p-2d5a2511.entry.js +4 -0
- package/dist/ionic/{p-7f294078.entry.js → p-3706ea52.entry.js} +1 -1
- package/dist/ionic/{p-b69add0e.entry.js → p-3e376501.entry.js} +1 -1
- package/dist/ionic/{p-c684a3b6.entry.js → p-44597202.entry.js} +1 -1
- package/dist/ionic/{p-8458f1b6.entry.js → p-4a27a79a.entry.js} +1 -1
- package/dist/ionic/{p-b7235e85.entry.js → p-4f07113d.entry.js} +1 -1
- package/dist/ionic/{p-88e7f52a.entry.js → p-52b85650.entry.js} +1 -1
- package/dist/ionic/{p-199bffb3.entry.js → p-5a6e0ae1.entry.js} +1 -1
- package/dist/ionic/p-6906dca7.entry.js +4 -0
- package/dist/ionic/p-75a1ca50.entry.js +4 -0
- package/dist/ionic/{p-19a1ff9a.entry.js → p-7b09c19d.entry.js} +1 -1
- package/dist/ionic/{p-76c70824.entry.js → p-7b886782.entry.js} +1 -1
- package/dist/ionic/p-7da8b262.entry.js +4 -0
- package/dist/ionic/{p-89eab395.entry.js → p-82c05be2.entry.js} +1 -1
- package/dist/ionic/{p-b653f4c2.entry.js → p-83c0eb9b.entry.js} +1 -1
- package/dist/ionic/{p-b4fd91b8.entry.js → p-85ff1314.entry.js} +1 -1
- package/dist/ionic/p-88048796.entry.js +4 -0
- package/dist/ionic/{p-3f18dfe9.entry.js → p-8eca5ba1.entry.js} +1 -1
- package/dist/ionic/p-96f52444.entry.js +4 -0
- package/dist/ionic/p-CFjI63GE.js +4 -0
- package/dist/ionic/p-CWJdc8f_.js +4 -0
- package/dist/ionic/{p-f2f740aa.entry.js → p-a3b047e0.entry.js} +1 -1
- package/dist/ionic/{p-40d9e029.entry.js → p-a73caa5e.entry.js} +1 -1
- package/dist/ionic/{p-1ad16c09.entry.js → p-b0dfd018.entry.js} +1 -1
- package/dist/ionic/{p-a3f9be52.entry.js → p-b6130fe4.entry.js} +1 -1
- package/dist/ionic/p-c0558552.entry.js +4 -0
- package/dist/ionic/{p-084c2623.entry.js → p-c5f745b4.entry.js} +1 -1
- package/dist/ionic/{p-bc3d68ff.entry.js → p-c781241c.entry.js} +1 -1
- package/dist/ionic/p-cb154afe.entry.js +4 -0
- package/dist/ionic/{p-b847907d.entry.js → p-cde69f38.entry.js} +1 -1
- package/dist/ionic/{p-70ee89c9.entry.js → p-d6f0a698.entry.js} +1 -1
- package/dist/ionic/{p-dd2981d0.entry.js → p-d9804d04.entry.js} +1 -1
- package/dist/ionic/{p-7054a1b9.entry.js → p-e342b205.entry.js} +1 -1
- package/dist/ionic/{p-9dfbe98d.entry.js → p-e8916b04.entry.js} +1 -1
- package/dist/ionic/{p-dac1d4de.entry.js → p-f10f8f95.entry.js} +1 -1
- package/dist/types/components/gallery/gallery.d.ts +41 -8
- package/dist/types/components/gallery/test/utils.d.ts +2 -1
- package/dist/types/components/gallery-item/gallery-item.d.ts +33 -0
- package/dist/types/components/select/select-interface.d.ts +0 -8
- package/dist/types/components/select-option/select-option.d.ts +0 -32
- package/dist/types/components.d.ts +33 -18
- package/dist/types/utils/sanitization/index.d.ts +2 -54
- package/dist/types/utils/select-option-render.d.ts +0 -31
- package/hydrate/index.js +380 -645
- package/hydrate/index.mjs +380 -645
- package/package.json +1 -1
- package/components/p-BP_TU_4l.js +0 -4
- package/components/p-BqTwa6uT.js +0 -4
- package/components/p-Bxiu1dAN.js +0 -4
- package/components/p-C91NnY87.js +0 -4
- package/components/p-CODBQrPj.js +0 -4
- package/components/p-GElQZ38c.js +0 -4
- package/components/p-WdrzoonY.js +0 -4
- package/components/p-h64_gZrH.js +0 -4
- package/components/p-sehKq5RI.js +0 -4
- package/dist/cjs/index-Dm4Dm7Vg.js +0 -414
- package/dist/cjs/overlay-control-label-DnRLQR1t.js +0 -52
- package/dist/cjs/select-option-render-DQyZnlF5.js +0 -116
- package/dist/collection/utils/overlay-control-label.js +0 -47
- package/dist/esm/index-Bmyj8b0z.js +0 -409
- package/dist/esm/overlay-control-label-CODBQrPj.js +0 -49
- package/dist/esm/select-option-render-QGJ9tZHa.js +0 -114
- package/dist/ionic/p-18ed37e3.entry.js +0 -4
- package/dist/ionic/p-2049aa81.entry.js +0 -4
- package/dist/ionic/p-290778c1.entry.js +0 -4
- package/dist/ionic/p-2aa7567e.entry.js +0 -4
- package/dist/ionic/p-2e7e3da1.entry.js +0 -4
- package/dist/ionic/p-CODBQrPj.js +0 -4
- package/dist/ionic/p-CxRK9GyE.js +0 -4
- package/dist/ionic/p-NqPMS7BP.js +0 -4
- package/dist/ionic/p-c94fbdab.entry.js +0 -4
- package/dist/ionic/p-e89848b2.entry.js +0 -4
- package/dist/ionic/p-ff09d2a5.entry.js +0 -4
- package/dist/types/utils/overlay-control-label.d.ts +0 -34
|
@@ -1,64 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Convert a pixels given value into rem
|
|
3
|
-
*
|
|
4
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
-
* @param context (optional) - Baseline value
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Convert a font size to a dynamic font size.
|
|
9
|
-
* Fonts that participate in Dynamic Type should use
|
|
10
|
-
* dynamic font sizes.
|
|
11
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
12
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
13
|
-
* convert to a unit other than $baselineUnit.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Convert a font size to a dynamic font size but impose
|
|
17
|
-
* a maximum font size.
|
|
18
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
19
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
20
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
21
|
-
* convert to a unit other than $baselineUnit.
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* Convert a font size to a dynamic font size but impose
|
|
25
|
-
* a minimum font size.
|
|
26
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
27
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
28
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
29
|
-
* convert to a unit other than $baselineUnit.
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* Convert a font size to a dynamic font size but impose
|
|
33
|
-
* maximum and minimum font sizes.
|
|
34
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
35
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
36
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
37
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
38
|
-
* convert to a unit other than $baselineUnit.
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* A heuristic that applies CSS to tablet
|
|
42
|
-
* viewports.
|
|
43
|
-
*
|
|
44
|
-
* Usage:
|
|
45
|
-
* @include tablet-viewport() {
|
|
46
|
-
* :host {
|
|
47
|
-
* background-color: green;
|
|
48
|
-
* }
|
|
49
|
-
* }
|
|
50
|
-
*/
|
|
51
|
-
/**
|
|
52
|
-
* A heuristic that applies CSS to mobile
|
|
53
|
-
* viewports (i.e. phones, not tablets).
|
|
54
|
-
*
|
|
55
|
-
* Usage:
|
|
56
|
-
* @include mobile-viewport() {
|
|
57
|
-
* :host {
|
|
58
|
-
* background-color: blue;
|
|
59
|
-
* }
|
|
60
|
-
* }
|
|
61
|
-
*/
|
|
62
1
|
/**
|
|
63
2
|
* A heuristic that applies CSS to tablet
|
|
64
3
|
* viewports.
|
|
@@ -114,34 +53,6 @@
|
|
|
114
53
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
115
54
|
* convert to a unit other than $baselineUnit.
|
|
116
55
|
*/
|
|
117
|
-
.action-sheet-button-label-has-rich-content,
|
|
118
|
-
.alert-radio-label-has-rich-content,
|
|
119
|
-
.alert-checkbox-label-has-rich-content,
|
|
120
|
-
.select-option-label-has-rich-content {
|
|
121
|
-
gap: 16px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.action-sheet-button-label-text,
|
|
125
|
-
.alert-checkbox-label-text,
|
|
126
|
-
.alert-radio-label-text,
|
|
127
|
-
.select-option-label-text {
|
|
128
|
-
gap: 12px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.select-option-start,
|
|
132
|
-
.select-option-end {
|
|
133
|
-
gap: 8px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.select-option-description {
|
|
137
|
-
padding-left: 0;
|
|
138
|
-
padding-right: 0;
|
|
139
|
-
padding-top: 5px;
|
|
140
|
-
padding-bottom: 0;
|
|
141
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
142
|
-
font-size: 0.75rem;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
56
|
/**
|
|
146
57
|
* Convert a pixels given value into rem
|
|
147
58
|
*
|
|
@@ -203,250 +114,6 @@
|
|
|
203
114
|
* }
|
|
204
115
|
* }
|
|
205
116
|
*/
|
|
206
|
-
/**
|
|
207
|
-
* Cap slotted children so they can't stretch the option
|
|
208
|
-
* row out of proportion, keeping rows visually uniform
|
|
209
|
-
* regardless of the content.
|
|
210
|
-
*/
|
|
211
|
-
.select-option-start > ion-avatar,
|
|
212
|
-
.select-option-start > ion-img,
|
|
213
|
-
.select-option-start > ion-thumbnail,
|
|
214
|
-
.select-option-start > img,
|
|
215
|
-
.select-option-start > svg,
|
|
216
|
-
.select-option-end > ion-avatar,
|
|
217
|
-
.select-option-end > ion-img,
|
|
218
|
-
.select-option-end > ion-thumbnail,
|
|
219
|
-
.select-option-end > img,
|
|
220
|
-
.select-option-end > svg {
|
|
221
|
-
width: 44px;
|
|
222
|
-
height: 44px;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.select-option-start > ion-icon,
|
|
226
|
-
.select-option-end > ion-icon {
|
|
227
|
-
width: 28px;
|
|
228
|
-
height: 28px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.action-sheet-button-label-text {
|
|
232
|
-
justify-content: center;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.select-option-has-rich-content {
|
|
236
|
-
-webkit-padding-end: 16px;
|
|
237
|
-
padding-inline-end: 16px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Convert a pixels given value into rem
|
|
242
|
-
*
|
|
243
|
-
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
244
|
-
* @param context (optional) - Baseline value
|
|
245
|
-
*/
|
|
246
|
-
/**
|
|
247
|
-
* Convert a font size to a dynamic font size.
|
|
248
|
-
* Fonts that participate in Dynamic Type should use
|
|
249
|
-
* dynamic font sizes.
|
|
250
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
251
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
252
|
-
* convert to a unit other than $baselineUnit.
|
|
253
|
-
*/
|
|
254
|
-
/**
|
|
255
|
-
* Convert a font size to a dynamic font size but impose
|
|
256
|
-
* a maximum font size.
|
|
257
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
258
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
259
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
260
|
-
* convert to a unit other than $baselineUnit.
|
|
261
|
-
*/
|
|
262
|
-
/**
|
|
263
|
-
* Convert a font size to a dynamic font size but impose
|
|
264
|
-
* a minimum font size.
|
|
265
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
266
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
267
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
268
|
-
* convert to a unit other than $baselineUnit.
|
|
269
|
-
*/
|
|
270
|
-
/**
|
|
271
|
-
* Convert a font size to a dynamic font size but impose
|
|
272
|
-
* maximum and minimum font sizes.
|
|
273
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
274
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
275
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
276
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
277
|
-
* convert to a unit other than $baselineUnit.
|
|
278
|
-
*/
|
|
279
|
-
/**
|
|
280
|
-
* A heuristic that applies CSS to tablet
|
|
281
|
-
* viewports.
|
|
282
|
-
*
|
|
283
|
-
* Usage:
|
|
284
|
-
* @include tablet-viewport() {
|
|
285
|
-
* :host {
|
|
286
|
-
* background-color: green;
|
|
287
|
-
* }
|
|
288
|
-
* }
|
|
289
|
-
*/
|
|
290
|
-
/**
|
|
291
|
-
* A heuristic that applies CSS to mobile
|
|
292
|
-
* viewports (i.e. phones, not tablets).
|
|
293
|
-
*
|
|
294
|
-
* Usage:
|
|
295
|
-
* @include mobile-viewport() {
|
|
296
|
-
* :host {
|
|
297
|
-
* background-color: blue;
|
|
298
|
-
* }
|
|
299
|
-
* }
|
|
300
|
-
*/
|
|
301
|
-
/**
|
|
302
|
-
* A heuristic that applies CSS to tablet
|
|
303
|
-
* viewports.
|
|
304
|
-
*
|
|
305
|
-
* Usage:
|
|
306
|
-
* @include tablet-viewport() {
|
|
307
|
-
* :host {
|
|
308
|
-
* background-color: green;
|
|
309
|
-
* }
|
|
310
|
-
* }
|
|
311
|
-
*/
|
|
312
|
-
/**
|
|
313
|
-
* A heuristic that applies CSS to mobile
|
|
314
|
-
* viewports (i.e. phones, not tablets).
|
|
315
|
-
*
|
|
316
|
-
* Usage:
|
|
317
|
-
* @include mobile-viewport() {
|
|
318
|
-
* :host {
|
|
319
|
-
* background-color: blue;
|
|
320
|
-
* }
|
|
321
|
-
* }
|
|
322
|
-
*/
|
|
323
|
-
/**
|
|
324
|
-
* Convert a font size to a dynamic font size.
|
|
325
|
-
* Fonts that participate in Dynamic Type should use
|
|
326
|
-
* dynamic font sizes.
|
|
327
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
328
|
-
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
329
|
-
* convert to a unit other than $baselineUnit.
|
|
330
|
-
*/
|
|
331
|
-
/**
|
|
332
|
-
* Convert a font size to a dynamic font size but impose
|
|
333
|
-
* a maximum font size.
|
|
334
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
335
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
336
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
337
|
-
* convert to a unit other than $baselineUnit.
|
|
338
|
-
*/
|
|
339
|
-
/**
|
|
340
|
-
* Convert a font size to a dynamic font size but impose
|
|
341
|
-
* a minimum font size.
|
|
342
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
343
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
344
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
345
|
-
* convert to a unit other than $baselineUnit.
|
|
346
|
-
*/
|
|
347
|
-
/**
|
|
348
|
-
* Convert a font size to a dynamic font size but impose
|
|
349
|
-
* maximum and minimum font sizes.
|
|
350
|
-
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
351
|
-
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
352
|
-
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
353
|
-
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
354
|
-
* convert to a unit other than $baselineUnit.
|
|
355
|
-
*/
|
|
356
|
-
.action-sheet-button-label-has-rich-content,
|
|
357
|
-
.alert-radio-label-has-rich-content,
|
|
358
|
-
.alert-checkbox-label-has-rich-content,
|
|
359
|
-
.select-option-label-has-rich-content {
|
|
360
|
-
gap: 16px;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.action-sheet-button-label-text,
|
|
364
|
-
.alert-checkbox-label-text,
|
|
365
|
-
.alert-radio-label-text,
|
|
366
|
-
.select-option-label-text {
|
|
367
|
-
gap: 12px;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.select-option-start,
|
|
371
|
-
.select-option-end {
|
|
372
|
-
gap: 8px;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.select-option-description {
|
|
376
|
-
padding-left: 0;
|
|
377
|
-
padding-right: 0;
|
|
378
|
-
padding-top: 5px;
|
|
379
|
-
padding-bottom: 0;
|
|
380
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
381
|
-
font-size: 0.75rem;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.action-sheet-button-label-has-rich-content,
|
|
385
|
-
.alert-radio-label-has-rich-content,
|
|
386
|
-
.alert-checkbox-label-has-rich-content,
|
|
387
|
-
.select-option-label-has-rich-content {
|
|
388
|
-
display: flex;
|
|
389
|
-
align-items: center;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Outer label container has rich content
|
|
394
|
-
* (start, content, description, end) that needs the
|
|
395
|
-
* label to span the available row width.
|
|
396
|
-
*/
|
|
397
|
-
.action-sheet-button-label-has-rich-content,
|
|
398
|
-
.alert-radio-label-has-rich-content,
|
|
399
|
-
.alert-checkbox-label-has-rich-content,
|
|
400
|
-
.select-option-content {
|
|
401
|
-
flex: 1;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.action-sheet-button-label-text,
|
|
405
|
-
.alert-checkbox-label-text,
|
|
406
|
-
.alert-radio-label-text,
|
|
407
|
-
.select-option-label-text {
|
|
408
|
-
display: flex;
|
|
409
|
-
align-items: center;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.select-option-start,
|
|
413
|
-
.select-option-end {
|
|
414
|
-
display: flex;
|
|
415
|
-
align-items: center;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.select-option-description {
|
|
419
|
-
display: block;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* Non-rich labels are plain text and should ellipsize when they
|
|
424
|
-
* overflow the row. Rich-content labels switch to flex so the
|
|
425
|
-
* start / content / end pieces can lay out side-by-side and wrap.
|
|
426
|
-
*/
|
|
427
|
-
.select-option-label:not(.select-option-label-has-rich-content) {
|
|
428
|
-
text-overflow: ellipsis;
|
|
429
|
-
white-space: nowrap;
|
|
430
|
-
overflow: hidden;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.select-option-label-has-rich-content {
|
|
434
|
-
display: flex;
|
|
435
|
-
align-items: center;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
ion-radio.select-option-has-rich-content::part(label),
|
|
439
|
-
ion-checkbox.select-option-has-rich-content::part(label),
|
|
440
|
-
.select-option-content {
|
|
441
|
-
flex: 1;
|
|
442
|
-
/**
|
|
443
|
-
* Let rich content wrap instead of inheriting the label part's
|
|
444
|
-
* single-line truncation, so arbitrary slotted elements render
|
|
445
|
-
* without clipping.
|
|
446
|
-
*/
|
|
447
|
-
white-space: normal;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
117
|
:host {
|
|
451
118
|
/**
|
|
452
119
|
* @prop --background: Background of the alert
|
|
@@ -477,9 +144,11 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
477
144
|
align-items: center;
|
|
478
145
|
justify-content: center;
|
|
479
146
|
outline: none;
|
|
147
|
+
font-family: var(--ion-font-family, inherit);
|
|
480
148
|
contain: strict;
|
|
481
149
|
touch-action: none;
|
|
482
150
|
user-select: none;
|
|
151
|
+
z-index: 1001;
|
|
483
152
|
}
|
|
484
153
|
|
|
485
154
|
:host(.overlay-hidden) {
|
|
@@ -503,6 +172,7 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
503
172
|
background: var(--background);
|
|
504
173
|
contain: content;
|
|
505
174
|
opacity: 0;
|
|
175
|
+
z-index: 10;
|
|
506
176
|
}
|
|
507
177
|
|
|
508
178
|
.alert-title {
|
|
@@ -617,6 +287,11 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
617
287
|
z-index: 0;
|
|
618
288
|
}
|
|
619
289
|
|
|
290
|
+
.alert-button.ion-focused,
|
|
291
|
+
.alert-tappable.ion-focused {
|
|
292
|
+
background: var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));
|
|
293
|
+
}
|
|
294
|
+
|
|
620
295
|
.alert-button-inner {
|
|
621
296
|
display: flex;
|
|
622
297
|
flex-flow: row nowrap;
|
|
@@ -628,39 +303,6 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
628
303
|
min-height: inherit;
|
|
629
304
|
}
|
|
630
305
|
|
|
631
|
-
/**
|
|
632
|
-
* Label is on the right of the radio in LTR and
|
|
633
|
-
* on the left in RTL.
|
|
634
|
-
*/
|
|
635
|
-
.radio-label-placement-start,
|
|
636
|
-
.checkbox-label-placement-start {
|
|
637
|
-
flex-direction: row-reverse;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Label is on the left of the radio in LTR and
|
|
642
|
-
* on the right in RTL.
|
|
643
|
-
*/
|
|
644
|
-
.radio-label-placement-end,
|
|
645
|
-
.checkbox-label-placement-end {
|
|
646
|
-
flex-direction: row;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.radio-justify-start,
|
|
650
|
-
.checkbox-justify-start {
|
|
651
|
-
justify-content: start;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.radio-justify-end,
|
|
655
|
-
.checkbox-justify-end {
|
|
656
|
-
justify-content: end;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.radio-justify-space-between,
|
|
660
|
-
.checkbox-justify-space-between {
|
|
661
|
-
justify-content: space-between;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
306
|
.alert-input-disabled,
|
|
665
307
|
.alert-checkbox-button-disabled .alert-button-inner,
|
|
666
308
|
.alert-radio-button-disabled .alert-button-inner {
|
|
@@ -707,18 +349,32 @@ textarea.alert-input {
|
|
|
707
349
|
resize: none;
|
|
708
350
|
}
|
|
709
351
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
352
|
+
.alert-radio-label,
|
|
353
|
+
.alert-checkbox-label {
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
713
356
|
}
|
|
714
357
|
|
|
715
|
-
.
|
|
716
|
-
|
|
358
|
+
.select-option-content {
|
|
359
|
+
flex: 1;
|
|
717
360
|
}
|
|
718
361
|
|
|
719
|
-
.
|
|
720
|
-
|
|
721
|
-
|
|
362
|
+
.select-option-description {
|
|
363
|
+
display: block;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.alert-radio-label,
|
|
367
|
+
.alert-checkbox-label {
|
|
368
|
+
gap: 12px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.select-option-description {
|
|
372
|
+
padding-left: 0;
|
|
373
|
+
padding-right: 0;
|
|
374
|
+
padding-top: 5px;
|
|
375
|
+
padding-bottom: 0;
|
|
376
|
+
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
377
|
+
font-size: 0.75rem;
|
|
722
378
|
}
|
|
723
379
|
|
|
724
380
|
/**
|
|
@@ -974,6 +630,8 @@ textarea.alert-input {
|
|
|
974
630
|
padding-inline-end: 13px;
|
|
975
631
|
padding-top: 13px;
|
|
976
632
|
padding-bottom: 13px;
|
|
633
|
+
flex: 1;
|
|
634
|
+
order: 0;
|
|
977
635
|
color: var(--ion-text-color, #000);
|
|
978
636
|
}
|
|
979
637
|
|
|
@@ -983,7 +641,7 @@ textarea.alert-input {
|
|
|
983
641
|
|
|
984
642
|
.alert-radio-icon {
|
|
985
643
|
position: relative;
|
|
986
|
-
|
|
644
|
+
order: 1;
|
|
987
645
|
min-width: 30px;
|
|
988
646
|
}
|
|
989
647
|
|
|
@@ -999,12 +657,7 @@ textarea.alert-input {
|
|
|
999
657
|
border-style: solid;
|
|
1000
658
|
border-color: var(--ion-color-primary, #0054e9);
|
|
1001
659
|
}
|
|
1002
|
-
|
|
1003
|
-
[aria-checked=true] .radio-label-placement-end .alert-radio-inner {
|
|
1004
|
-
inset-inline-end: 7px;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
[aria-checked=true] .radio-label-placement-start .alert-radio-inner {
|
|
660
|
+
[aria-checked=true] .alert-radio-inner {
|
|
1008
661
|
inset-inline-start: 7px;
|
|
1009
662
|
}
|
|
1010
663
|
|
|
@@ -1015,15 +668,19 @@ textarea.alert-input {
|
|
|
1015
668
|
padding-inline-end: 13px;
|
|
1016
669
|
padding-top: 13px;
|
|
1017
670
|
padding-bottom: 13px;
|
|
671
|
+
flex: 1;
|
|
1018
672
|
color: var(--ion-text-color, #000);
|
|
1019
673
|
}
|
|
1020
674
|
|
|
1021
675
|
.alert-checkbox-icon {
|
|
1022
676
|
border-radius: 50%;
|
|
677
|
+
-webkit-margin-start: 16px;
|
|
678
|
+
margin-inline-start: 16px;
|
|
679
|
+
-webkit-margin-end: 6px;
|
|
680
|
+
margin-inline-end: 6px;
|
|
1023
681
|
margin-top: 10px;
|
|
1024
682
|
margin-bottom: 10px;
|
|
1025
683
|
position: relative;
|
|
1026
|
-
flex-shrink: 0;
|
|
1027
684
|
width: min(1.375rem, 55.836px);
|
|
1028
685
|
height: min(1.375rem, 55.836px);
|
|
1029
686
|
border-width: 0.125rem;
|
|
@@ -1033,20 +690,6 @@ textarea.alert-input {
|
|
|
1033
690
|
contain: strict;
|
|
1034
691
|
}
|
|
1035
692
|
|
|
1036
|
-
.checkbox-label-placement-end .alert-checkbox-icon {
|
|
1037
|
-
-webkit-margin-start: 16px;
|
|
1038
|
-
margin-inline-start: 16px;
|
|
1039
|
-
-webkit-margin-end: 6px;
|
|
1040
|
-
margin-inline-end: 6px;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.checkbox-label-placement-start .alert-checkbox-icon {
|
|
1044
|
-
-webkit-margin-start: 6px;
|
|
1045
|
-
margin-inline-start: 6px;
|
|
1046
|
-
-webkit-margin-end: 16px;
|
|
1047
|
-
margin-inline-end: 16px;
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
693
|
[aria-checked=true] .alert-checkbox-icon {
|
|
1051
694
|
border-color: var(--ion-color-primary, #0054e9);
|
|
1052
695
|
background-color: var(--ion-color-primary, #0054e9);
|
|
@@ -1064,15 +707,10 @@ textarea.alert-input {
|
|
|
1064
707
|
border-style: solid;
|
|
1065
708
|
border-color: var(--ion-background-color, #fff);
|
|
1066
709
|
}
|
|
1067
|
-
|
|
1068
|
-
[aria-checked=true] .checkbox-label-placement-end .alert-checkbox-inner {
|
|
710
|
+
[aria-checked=true] .alert-checkbox-inner {
|
|
1069
711
|
inset-inline-start: calc(min(1.375rem, 55.836px) / 3);
|
|
1070
712
|
}
|
|
1071
713
|
|
|
1072
|
-
[aria-checked=true] .checkbox-label-placement-start .alert-checkbox-inner {
|
|
1073
|
-
inset-inline-end: calc(min(1.375rem, 55.836px) / 3);
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
714
|
.alert-button-group {
|
|
1077
715
|
-webkit-margin-end: -0.55px;
|
|
1078
716
|
margin-inline-end: -0.55px;
|
|
@@ -7,7 +7,6 @@ import { createButtonActiveGesture } from "../../utils/gesture/button-active";
|
|
|
7
7
|
import { raf } from "../../utils/helpers";
|
|
8
8
|
import { createLockController } from "../../utils/lock-controller";
|
|
9
9
|
import { printIonWarning } from "../../utils/logging/index";
|
|
10
|
-
import { getOverlayLabelJustify, getOverlayLabelPlacement } from "../../utils/overlay-control-label";
|
|
11
10
|
import { createDelegateController, createTriggerController, BACKDROP, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall, setOverlayId, } from "../../utils/overlays";
|
|
12
11
|
import { sanitizeDOMString } from "../../utils/sanitization/index";
|
|
13
12
|
import { renderOptionLabel } from "../../utils/select-option-render";
|
|
@@ -381,7 +380,6 @@ export class Alert {
|
|
|
381
380
|
return null;
|
|
382
381
|
}
|
|
383
382
|
return (h("div", { class: "alert-checkbox-group" }, inputs.map((i) => {
|
|
384
|
-
var _a, _b;
|
|
385
383
|
/**
|
|
386
384
|
* Cast to `SelectAlertInput` to access rich content
|
|
387
385
|
* fields (`startContent`, `endContent`, `description`)
|
|
@@ -396,23 +394,15 @@ export class Alert {
|
|
|
396
394
|
endContent: richInput.endContent,
|
|
397
395
|
description: richInput.description,
|
|
398
396
|
};
|
|
399
|
-
|
|
400
|
-
const defaultJustify = getOverlayLabelJustify(theme, 'checkbox');
|
|
401
|
-
return (h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': !i.disabled, 'ion-activatable': !i.disabled, 'alert-checkbox-button-disabled': i.disabled || false }) }, h("div", { class: {
|
|
402
|
-
'alert-button-inner': true,
|
|
403
|
-
[`checkbox-label-placement-${(_a = richInput.labelPlacement) !== null && _a !== void 0 ? _a : defaultLabelPlacement}`]: true,
|
|
404
|
-
[`checkbox-justify-${(_b = richInput.justify) !== null && _b !== void 0 ? _b : defaultJustify}`]: true,
|
|
405
|
-
} }, h("div", { class: "alert-checkbox-icon" }, theme === 'ionic' ? (h("svg", { class: "alert-checkbox-inner", viewBox: "0 0 256 256", "aria-hidden": "true" }, h("path", { d: "M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z" }))) : (h("div", { class: "alert-checkbox-inner" }))), renderOptionLabel(optionLabelOptions, 'alert-checkbox-label')), theme === 'md' && h("ion-ripple-effect", null)));
|
|
397
|
+
return (h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, h("div", { class: "alert-button-inner" }, h("div", { class: "alert-checkbox-icon" }, h("div", { class: "alert-checkbox-inner" })), renderOptionLabel(optionLabelOptions, 'alert-checkbox-label')), theme === 'md' && h("ion-ripple-effect", null)));
|
|
406
398
|
})));
|
|
407
399
|
}
|
|
408
400
|
renderRadio() {
|
|
409
401
|
const inputs = this.processedInputs;
|
|
410
|
-
const theme = getIonTheme(this);
|
|
411
402
|
if (inputs.length === 0) {
|
|
412
403
|
return null;
|
|
413
404
|
}
|
|
414
405
|
return (h("div", { class: "alert-radio-group", role: "radiogroup", "aria-activedescendant": this.activeId }, inputs.map((i) => {
|
|
415
|
-
var _a, _b;
|
|
416
406
|
/**
|
|
417
407
|
* Cast to `SelectAlertInput` to access rich content
|
|
418
408
|
* fields (`startContent`, `endContent`, `description`)
|
|
@@ -427,13 +417,7 @@ export class Alert {
|
|
|
427
417
|
endContent: richInput.endContent,
|
|
428
418
|
description: richInput.description,
|
|
429
419
|
};
|
|
430
|
-
|
|
431
|
-
const defaultJustify = getOverlayLabelJustify(theme, 'radio');
|
|
432
|
-
return (h("button", { type: "button", onClick: () => this.rbClick(i), "aria-checked": `${i.checked}`, disabled: i.disabled, id: i.id, tabIndex: i.tabindex, class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-radio-button': true, 'alert-tappable': true, 'alert-radio': true, 'ion-focusable': !i.disabled, 'ion-activatable': !i.disabled, 'alert-radio-button-disabled': i.disabled || false }), role: "radio" }, h("div", { class: {
|
|
433
|
-
'alert-button-inner': true,
|
|
434
|
-
[`radio-label-placement-${(_a = richInput.labelPlacement) !== null && _a !== void 0 ? _a : defaultLabelPlacement}`]: true,
|
|
435
|
-
[`radio-justify-${(_b = richInput.justify) !== null && _b !== void 0 ? _b : defaultJustify}`]: true,
|
|
436
|
-
} }, h("div", { class: "alert-radio-icon" }, h("div", { class: "alert-radio-inner" })), renderOptionLabel(optionLabelOptions, 'alert-radio-label'))));
|
|
420
|
+
return (h("button", { type: "button", onClick: () => this.rbClick(i), "aria-checked": `${i.checked}`, disabled: i.disabled, id: i.id, tabIndex: i.tabindex, class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-radio-button': true, 'alert-tappable': true, 'alert-radio': true, 'ion-focusable': true, 'alert-radio-button-disabled': i.disabled || false }), role: "radio" }, h("div", { class: "alert-button-inner" }, h("div", { class: "alert-radio-icon" }, h("div", { class: "alert-radio-inner" })), renderOptionLabel(optionLabelOptions, 'alert-radio-label'))));
|
|
437
421
|
})));
|
|
438
422
|
}
|
|
439
423
|
renderInput() {
|
|
@@ -537,9 +521,9 @@ export class Alert {
|
|
|
537
521
|
* If neither are defined, do not set aria-labelledby.
|
|
538
522
|
*/
|
|
539
523
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
540
|
-
return (h(Host, { key: '
|
|
524
|
+
return (h(Host, { key: '2989941c96a6cf912a138dfa4a5b2f498732f9ce', tabindex: "-1", style: {
|
|
541
525
|
zIndex: `${20000 + overlayIndex}`,
|
|
542
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '
|
|
526
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '9bd0b98932ef02b49bc3c158593bbd335d5572e7', tappable: this.backdropDismiss }), h("div", { key: 'b73aac37b66bd452d2af71e8af93f7cb203b1e6f', tabindex: "0", "aria-hidden": "true" }), h("div", Object.assign({ key: '3800988e5748bea78838aa2056de5294964b4123', class: "alert-wrapper ion-overlay-wrapper", role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "0", ref: (el) => (this.wrapperEl = el) }, htmlAttributes), h("div", { key: '64d55d99033424bcf6f6e1d8e98cf4cffa4327cd', class: "alert-head" }, header && (h("h2", { key: '25249605494fe90975a242b41085bf1561eab9f9', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '7cff7a2286199593b34ae21b47efd8b1402c8b59', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: 'aad62db41db68ed4b7f643be92b4c025027835a3', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'f39c5f551d76bffcff96f0dec8cd0e54c442c116', tabindex: "0", "aria-hidden": "true" })));
|
|
543
527
|
}
|
|
544
528
|
static get is() { return "ion-alert"; }
|
|
545
529
|
static get encapsulation() { return "scoped"; }
|