@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
|
@@ -59,129 +59,389 @@
|
|
|
59
59
|
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
60
60
|
* convert to a unit other than $baselineUnit.
|
|
61
61
|
*/
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Convert a pixels given value into rem
|
|
64
|
+
*
|
|
65
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
66
|
+
* @param context (optional) - Baseline value
|
|
67
|
+
*/
|
|
68
|
+
/**
|
|
69
|
+
* Convert a font size to a dynamic font size.
|
|
70
|
+
* Fonts that participate in Dynamic Type should use
|
|
71
|
+
* dynamic font sizes.
|
|
72
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
73
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
74
|
+
* convert to a unit other than $baselineUnit.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Convert a font size to a dynamic font size but impose
|
|
78
|
+
* a maximum font size.
|
|
79
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
80
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
81
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
82
|
+
* convert to a unit other than $baselineUnit.
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* Convert a font size to a dynamic font size but impose
|
|
86
|
+
* a minimum font size.
|
|
87
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
88
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
89
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
90
|
+
* convert to a unit other than $baselineUnit.
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* Convert a font size to a dynamic font size but impose
|
|
94
|
+
* maximum and minimum font sizes.
|
|
95
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
96
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
97
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
98
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
99
|
+
* convert to a unit other than $baselineUnit.
|
|
100
|
+
*/
|
|
101
|
+
/**
|
|
102
|
+
* A heuristic that applies CSS to tablet
|
|
103
|
+
* viewports.
|
|
104
|
+
*
|
|
105
|
+
* Usage:
|
|
106
|
+
* @include tablet-viewport() {
|
|
107
|
+
* :host {
|
|
108
|
+
* background-color: green;
|
|
109
|
+
* }
|
|
110
|
+
* }
|
|
111
|
+
*/
|
|
112
|
+
/**
|
|
113
|
+
* A heuristic that applies CSS to mobile
|
|
114
|
+
* viewports (i.e. phones, not tablets).
|
|
115
|
+
*
|
|
116
|
+
* Usage:
|
|
117
|
+
* @include mobile-viewport() {
|
|
118
|
+
* :host {
|
|
119
|
+
* background-color: blue;
|
|
120
|
+
* }
|
|
121
|
+
* }
|
|
122
|
+
*/
|
|
123
|
+
:host {
|
|
124
|
+
/**
|
|
125
|
+
* @prop --background: Background of the action sheet group
|
|
126
|
+
* @prop --color: Color of the action sheet text
|
|
127
|
+
*
|
|
128
|
+
* @prop --min-width: Minimum width of the action sheet
|
|
129
|
+
* @prop --width: Width of the action sheet
|
|
130
|
+
* @prop --max-width: Maximum width of the action sheet
|
|
131
|
+
*
|
|
132
|
+
* @prop --min-height: Minimum height of the action sheet
|
|
133
|
+
* @prop --height: height of the action sheet
|
|
134
|
+
* @prop --max-height: Maximum height of the action sheet
|
|
135
|
+
*
|
|
136
|
+
* @prop --backdrop-opacity: Opacity of the backdrop
|
|
137
|
+
*
|
|
138
|
+
* @prop --button-background: Background of the action sheet button
|
|
139
|
+
* @prop --button-background-activated: Background of the action sheet button when pressed. Note: setting this will interfere with the Material Design ripple.
|
|
140
|
+
* @prop --button-background-activated-opacity: Opacity of the action sheet button background when pressed
|
|
141
|
+
* @prop --button-background-hover: Background of the action sheet button on hover
|
|
142
|
+
* @prop --button-background-hover-opacity: Opacity of the action sheet button background on hover
|
|
143
|
+
* @prop --button-background-focused: Background of the action sheet button when tabbed to
|
|
144
|
+
* @prop --button-background-focused-opacity: Opacity of the action sheet button background when tabbed to
|
|
145
|
+
* @prop --button-background-selected: Background of the selected action sheet button
|
|
146
|
+
* @prop --button-background-selected-opacity: Opacity of the selected action sheet button background
|
|
147
|
+
*
|
|
148
|
+
* @prop --button-color: Color of the action sheet button
|
|
149
|
+
* @prop --button-color-activated: Color of the action sheet button when pressed
|
|
150
|
+
* @prop --button-color-hover: Color of the action sheet button on hover
|
|
151
|
+
* @prop --button-color-focused: Color of the action sheet button when tabbed to
|
|
152
|
+
* @prop --button-color-selected: Color of the selected action sheet button
|
|
153
|
+
* @prop --button-color-disabled: Color of the selected action sheet button when disabled
|
|
154
|
+
*/
|
|
155
|
+
--color: initial;
|
|
156
|
+
--button-color-activated: var(--button-color);
|
|
157
|
+
--button-color-focused: var(--button-color);
|
|
158
|
+
--button-color-hover: var(--button-color);
|
|
159
|
+
--button-color-selected: var(--button-color);
|
|
160
|
+
--min-width: auto;
|
|
161
|
+
--width: 100%;
|
|
162
|
+
--max-width: 500px;
|
|
163
|
+
--min-height: auto;
|
|
164
|
+
--height: auto;
|
|
165
|
+
--max-height: calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));
|
|
166
|
+
-moz-osx-font-smoothing: grayscale;
|
|
167
|
+
-webkit-font-smoothing: antialiased;
|
|
168
|
+
right: 0;
|
|
169
|
+
left: 0;
|
|
170
|
+
top: 0;
|
|
171
|
+
bottom: 0;
|
|
172
|
+
display: block;
|
|
173
|
+
position: fixed;
|
|
174
|
+
outline: none;
|
|
175
|
+
font-family: var(--ion-font-family, inherit);
|
|
176
|
+
touch-action: none;
|
|
177
|
+
user-select: none;
|
|
178
|
+
z-index: 1001;
|
|
67
179
|
}
|
|
68
180
|
|
|
69
|
-
.
|
|
70
|
-
|
|
71
|
-
.alert-radio-label-text,
|
|
72
|
-
.select-option-label-text {
|
|
73
|
-
gap: var(--token-space-300, var(--token-scale-300, 12px));
|
|
181
|
+
:host(.overlay-hidden) {
|
|
182
|
+
display: none;
|
|
74
183
|
}
|
|
75
184
|
|
|
76
|
-
.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
185
|
+
.action-sheet-wrapper {
|
|
186
|
+
right: 0;
|
|
187
|
+
left: 0;
|
|
188
|
+
bottom: 0;
|
|
189
|
+
transform: translate3d(0, 100%, 0);
|
|
190
|
+
display: block;
|
|
191
|
+
position: absolute;
|
|
192
|
+
width: var(--width);
|
|
193
|
+
min-width: var(--min-width);
|
|
194
|
+
max-width: var(--max-width);
|
|
195
|
+
height: var(--height);
|
|
196
|
+
min-height: var(--min-height);
|
|
197
|
+
max-height: var(--max-height);
|
|
198
|
+
z-index: 10;
|
|
199
|
+
pointer-events: none;
|
|
91
200
|
}
|
|
92
201
|
|
|
93
|
-
.
|
|
94
|
-
|
|
95
|
-
|
|
202
|
+
.action-sheet-button {
|
|
203
|
+
display: block;
|
|
204
|
+
position: relative;
|
|
205
|
+
width: 100%;
|
|
206
|
+
border: 0;
|
|
207
|
+
outline: none;
|
|
208
|
+
background: var(--button-background);
|
|
209
|
+
color: var(--button-color);
|
|
210
|
+
font-family: inherit;
|
|
211
|
+
overflow: hidden;
|
|
96
212
|
}
|
|
97
213
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
* regardless of the content.
|
|
102
|
-
*/
|
|
103
|
-
.select-option-start > ion-avatar,
|
|
104
|
-
.select-option-start > ion-img,
|
|
105
|
-
.select-option-start > ion-thumbnail,
|
|
106
|
-
.select-option-start > ion-icon,
|
|
107
|
-
.select-option-start > img,
|
|
108
|
-
.select-option-start > svg,
|
|
109
|
-
.select-option-end > ion-avatar,
|
|
110
|
-
.select-option-end > ion-img,
|
|
111
|
-
.select-option-end > ion-thumbnail,
|
|
112
|
-
.select-option-end > ion-icon,
|
|
113
|
-
.select-option-end > img,
|
|
114
|
-
.select-option-end > svg {
|
|
115
|
-
width: var(--token-scale-1200, 48px);
|
|
116
|
-
height: var(--token-scale-1200, 48px);
|
|
214
|
+
.action-sheet-button:disabled {
|
|
215
|
+
color: var(--button-color-disabled);
|
|
216
|
+
opacity: 0.4;
|
|
117
217
|
}
|
|
118
218
|
|
|
119
|
-
.action-sheet-button-
|
|
120
|
-
.alert-radio-label-has-rich-content,
|
|
121
|
-
.alert-checkbox-label-has-rich-content,
|
|
122
|
-
.select-option-label-has-rich-content {
|
|
219
|
+
.action-sheet-button-inner {
|
|
123
220
|
display: flex;
|
|
221
|
+
position: relative;
|
|
222
|
+
flex-flow: row nowrap;
|
|
223
|
+
flex-shrink: 0;
|
|
124
224
|
align-items: center;
|
|
225
|
+
justify-content: center;
|
|
226
|
+
pointer-events: none;
|
|
227
|
+
width: 100%;
|
|
228
|
+
height: 100%;
|
|
229
|
+
z-index: 1;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.action-sheet-container {
|
|
233
|
+
display: flex;
|
|
234
|
+
flex-flow: column;
|
|
235
|
+
justify-content: flex-end;
|
|
236
|
+
height: 100%;
|
|
237
|
+
/* Fallback for browsers that do not support dvh */
|
|
238
|
+
max-height: calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));
|
|
239
|
+
max-height: calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.action-sheet-group {
|
|
243
|
+
flex-shrink: 2;
|
|
244
|
+
overscroll-behavior-y: contain;
|
|
245
|
+
overflow-y: auto;
|
|
246
|
+
-webkit-overflow-scrolling: touch;
|
|
247
|
+
pointer-events: all;
|
|
248
|
+
background: var(--background);
|
|
125
249
|
}
|
|
126
250
|
|
|
127
251
|
/**
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
.
|
|
133
|
-
.
|
|
134
|
-
|
|
135
|
-
.
|
|
136
|
-
|
|
252
|
+
* Scrollbars on mobile devices will be hidden.
|
|
253
|
+
* Users can still scroll the content by swiping.
|
|
254
|
+
* If a user has a fine pointing device, such as a
|
|
255
|
+
* mouse or trackpad, then scrollbars will be
|
|
256
|
+
* visible. This allows users to scroll the
|
|
257
|
+
* content with their pointing device.
|
|
258
|
+
* Otherwise, the user would have to use the
|
|
259
|
+
* keyboard to navigate through the options.
|
|
260
|
+
* This may not be intuitive for users who
|
|
261
|
+
* are not familiar with keyboard navigation.
|
|
262
|
+
*/
|
|
263
|
+
@media (any-pointer: coarse) {
|
|
264
|
+
.action-sheet-group::-webkit-scrollbar {
|
|
265
|
+
display: none;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.action-sheet-group-cancel {
|
|
269
|
+
flex-shrink: 0;
|
|
270
|
+
overflow: hidden;
|
|
137
271
|
}
|
|
138
272
|
|
|
139
|
-
.action-sheet-button
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
273
|
+
.action-sheet-button::after {
|
|
274
|
+
right: 0;
|
|
275
|
+
left: 0;
|
|
276
|
+
top: 0;
|
|
277
|
+
bottom: 0;
|
|
278
|
+
position: absolute;
|
|
279
|
+
content: "";
|
|
280
|
+
opacity: 0;
|
|
145
281
|
}
|
|
146
282
|
|
|
147
|
-
.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
283
|
+
.action-sheet-selected {
|
|
284
|
+
color: var(--button-color-selected);
|
|
285
|
+
}
|
|
286
|
+
.action-sheet-selected::after {
|
|
287
|
+
background: var(--button-background-selected);
|
|
288
|
+
opacity: var(--button-background-selected-opacity);
|
|
151
289
|
}
|
|
152
290
|
|
|
153
|
-
.
|
|
154
|
-
|
|
291
|
+
.action-sheet-button.ion-activated {
|
|
292
|
+
color: var(--button-color-activated);
|
|
293
|
+
}
|
|
294
|
+
.action-sheet-button.ion-activated::after {
|
|
295
|
+
background: var(--button-background-activated);
|
|
296
|
+
opacity: var(--button-background-activated-opacity);
|
|
155
297
|
}
|
|
156
298
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
text-overflow: ellipsis;
|
|
164
|
-
white-space: nowrap;
|
|
165
|
-
overflow: hidden;
|
|
299
|
+
.action-sheet-button.ion-focused {
|
|
300
|
+
color: var(--button-color-focused);
|
|
301
|
+
}
|
|
302
|
+
.action-sheet-button.ion-focused::after {
|
|
303
|
+
background: var(--button-background-focused);
|
|
304
|
+
opacity: var(--button-background-focused-opacity);
|
|
166
305
|
}
|
|
167
306
|
|
|
168
|
-
|
|
307
|
+
@media (any-hover: hover) {
|
|
308
|
+
.action-sheet-button:not(:disabled):hover {
|
|
309
|
+
color: var(--button-color-hover);
|
|
310
|
+
}
|
|
311
|
+
.action-sheet-button:not(:disabled):hover::after {
|
|
312
|
+
background: var(--button-background-hover);
|
|
313
|
+
opacity: var(--button-background-hover-opacity);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
.action-sheet-button-label {
|
|
169
317
|
display: flex;
|
|
170
318
|
align-items: center;
|
|
171
319
|
}
|
|
172
320
|
|
|
173
|
-
ion-radio.select-option-has-rich-content::part(label),
|
|
174
|
-
ion-checkbox.select-option-has-rich-content::part(label),
|
|
175
321
|
.select-option-content {
|
|
176
322
|
flex: 1;
|
|
177
|
-
/**
|
|
178
|
-
* Let rich content wrap instead of inheriting the label part's
|
|
179
|
-
* single-line truncation, so arbitrary slotted elements render
|
|
180
|
-
* without clipping.
|
|
181
|
-
*/
|
|
182
|
-
white-space: normal;
|
|
183
323
|
}
|
|
184
324
|
|
|
325
|
+
.select-option-description {
|
|
326
|
+
display: block;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* A heuristic that applies CSS to tablet
|
|
331
|
+
* viewports.
|
|
332
|
+
*
|
|
333
|
+
* Usage:
|
|
334
|
+
* @include tablet-viewport() {
|
|
335
|
+
* :host {
|
|
336
|
+
* background-color: green;
|
|
337
|
+
* }
|
|
338
|
+
* }
|
|
339
|
+
*/
|
|
340
|
+
/**
|
|
341
|
+
* A heuristic that applies CSS to mobile
|
|
342
|
+
* viewports (i.e. phones, not tablets).
|
|
343
|
+
*
|
|
344
|
+
* Usage:
|
|
345
|
+
* @include mobile-viewport() {
|
|
346
|
+
* :host {
|
|
347
|
+
* background-color: blue;
|
|
348
|
+
* }
|
|
349
|
+
* }
|
|
350
|
+
*/
|
|
351
|
+
/**
|
|
352
|
+
* Convert a font size to a dynamic font size.
|
|
353
|
+
* Fonts that participate in Dynamic Type should use
|
|
354
|
+
* dynamic font sizes.
|
|
355
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
356
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
357
|
+
* convert to a unit other than $baselineUnit.
|
|
358
|
+
*/
|
|
359
|
+
/**
|
|
360
|
+
* Convert a font size to a dynamic font size but impose
|
|
361
|
+
* a maximum font size.
|
|
362
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
363
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
364
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
365
|
+
* convert to a unit other than $baselineUnit.
|
|
366
|
+
*/
|
|
367
|
+
/**
|
|
368
|
+
* Convert a font size to a dynamic font size but impose
|
|
369
|
+
* a minimum font size.
|
|
370
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
371
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
372
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
373
|
+
* convert to a unit other than $baselineUnit.
|
|
374
|
+
*/
|
|
375
|
+
/**
|
|
376
|
+
* Convert a font size to a dynamic font size but impose
|
|
377
|
+
* maximum and minimum font sizes.
|
|
378
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
379
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
380
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
381
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
382
|
+
* convert to a unit other than $baselineUnit.
|
|
383
|
+
*/
|
|
384
|
+
/**
|
|
385
|
+
* Convert a pixels given value into rem
|
|
386
|
+
*
|
|
387
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
388
|
+
* @param context (optional) - Baseline value
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* Convert a font size to a dynamic font size.
|
|
392
|
+
* Fonts that participate in Dynamic Type should use
|
|
393
|
+
* dynamic font sizes.
|
|
394
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
395
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
396
|
+
* convert to a unit other than $baselineUnit.
|
|
397
|
+
*/
|
|
398
|
+
/**
|
|
399
|
+
* Convert a font size to a dynamic font size but impose
|
|
400
|
+
* a maximum font size.
|
|
401
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
402
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
403
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
404
|
+
* convert to a unit other than $baselineUnit.
|
|
405
|
+
*/
|
|
406
|
+
/**
|
|
407
|
+
* Convert a font size to a dynamic font size but impose
|
|
408
|
+
* a minimum font size.
|
|
409
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
410
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
411
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
412
|
+
* convert to a unit other than $baselineUnit.
|
|
413
|
+
*/
|
|
414
|
+
/**
|
|
415
|
+
* Convert a font size to a dynamic font size but impose
|
|
416
|
+
* maximum and minimum font sizes.
|
|
417
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
418
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
419
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
420
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
421
|
+
* convert to a unit other than $baselineUnit.
|
|
422
|
+
*/
|
|
423
|
+
/**
|
|
424
|
+
* A heuristic that applies CSS to tablet
|
|
425
|
+
* viewports.
|
|
426
|
+
*
|
|
427
|
+
* Usage:
|
|
428
|
+
* @include tablet-viewport() {
|
|
429
|
+
* :host {
|
|
430
|
+
* background-color: green;
|
|
431
|
+
* }
|
|
432
|
+
* }
|
|
433
|
+
*/
|
|
434
|
+
/**
|
|
435
|
+
* A heuristic that applies CSS to mobile
|
|
436
|
+
* viewports (i.e. phones, not tablets).
|
|
437
|
+
*
|
|
438
|
+
* Usage:
|
|
439
|
+
* @include mobile-viewport() {
|
|
440
|
+
* :host {
|
|
441
|
+
* background-color: blue;
|
|
442
|
+
* }
|
|
443
|
+
* }
|
|
444
|
+
*/
|
|
185
445
|
:host {
|
|
186
446
|
/**
|
|
187
447
|
* @prop --background: Background of the action sheet group
|
|
@@ -234,8 +494,10 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
234
494
|
display: block;
|
|
235
495
|
position: fixed;
|
|
236
496
|
outline: none;
|
|
497
|
+
font-family: var(--ion-font-family, inherit);
|
|
237
498
|
touch-action: none;
|
|
238
499
|
user-select: none;
|
|
500
|
+
z-index: 1001;
|
|
239
501
|
}
|
|
240
502
|
|
|
241
503
|
:host(.overlay-hidden) {
|
|
@@ -255,6 +517,7 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
255
517
|
height: var(--height);
|
|
256
518
|
min-height: var(--min-height);
|
|
257
519
|
max-height: var(--max-height);
|
|
520
|
+
z-index: 10;
|
|
258
521
|
pointer-events: none;
|
|
259
522
|
}
|
|
260
523
|
|
|
@@ -275,10 +538,6 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
275
538
|
opacity: 0.4;
|
|
276
539
|
}
|
|
277
540
|
|
|
278
|
-
.action-sheet-button:disabled ion-icon {
|
|
279
|
-
color: currentColor;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
541
|
.action-sheet-button-inner {
|
|
283
542
|
display: flex;
|
|
284
543
|
position: relative;
|
|
@@ -346,6 +605,7 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
346
605
|
.action-sheet-selected {
|
|
347
606
|
color: var(--button-color-selected);
|
|
348
607
|
}
|
|
608
|
+
|
|
349
609
|
.action-sheet-selected::after {
|
|
350
610
|
background: var(--button-background-selected);
|
|
351
611
|
opacity: var(--button-background-selected-opacity);
|
|
@@ -354,22 +614,20 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
354
614
|
.action-sheet-button.ion-activated {
|
|
355
615
|
color: var(--button-color-activated);
|
|
356
616
|
}
|
|
617
|
+
|
|
357
618
|
.action-sheet-button.ion-activated::after {
|
|
358
619
|
background: var(--button-background-activated);
|
|
359
620
|
opacity: var(--button-background-activated-opacity);
|
|
360
621
|
}
|
|
361
622
|
|
|
362
|
-
.action-sheet-button.ion-focused
|
|
623
|
+
.action-sheet-button.ion-focused {
|
|
363
624
|
color: var(--button-color-focused);
|
|
364
625
|
}
|
|
365
|
-
|
|
626
|
+
|
|
627
|
+
.action-sheet-button.ion-focused::after {
|
|
366
628
|
background: var(--button-background-focused);
|
|
367
629
|
opacity: var(--button-background-focused-opacity);
|
|
368
630
|
}
|
|
369
|
-
.action-sheet-button.ion-focused:not(.ion-activated).action-sheet-selected::after {
|
|
370
|
-
background: var(--button-background-focused, var(--button-background-selected));
|
|
371
|
-
opacity: var(--button-background-focused-opacity, var(--button-background-selected-opacity));
|
|
372
|
-
}
|
|
373
631
|
|
|
374
632
|
@media (any-hover: hover) {
|
|
375
633
|
.action-sheet-button:not(:disabled):hover {
|
|
@@ -380,30 +638,108 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
380
638
|
opacity: var(--button-background-hover-opacity);
|
|
381
639
|
}
|
|
382
640
|
}
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
--button-background: transparent;
|
|
387
|
-
--button-background-selected: var(--token-bg-primary-subtle-default, var(--token-semantics-primary-100, var(--token-primitives-blue-100, #e9ecfc)));
|
|
388
|
-
--button-background-selected-opacity: 1;
|
|
389
|
-
--button-background-activated: var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #eae9e9));
|
|
390
|
-
--button-background-activated-opacity: 1;
|
|
391
|
-
--button-background-hover: var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #eae9e9));
|
|
392
|
-
--button-background-hover-opacity: 1;
|
|
393
|
-
--button-color: var(--token-text-default, var(--token-primitives-neutral-1200, #242424));
|
|
394
|
-
--button-color-disabled: var(--token-text-disabled, var(--token-primitives-neutral-500, #a2a2a2));
|
|
395
|
-
--color: var(--token-text-default, var(--token-primitives-neutral-1200, #242424));
|
|
396
|
-
z-index: 1001;
|
|
641
|
+
.action-sheet-button-label {
|
|
642
|
+
display: flex;
|
|
643
|
+
align-items: center;
|
|
397
644
|
}
|
|
398
645
|
|
|
399
|
-
.
|
|
400
|
-
|
|
646
|
+
.select-option-content {
|
|
647
|
+
flex: 1;
|
|
401
648
|
}
|
|
402
649
|
|
|
403
|
-
.
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
650
|
+
.select-option-description {
|
|
651
|
+
display: block;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.action-sheet-button-label {
|
|
655
|
+
gap: 12px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.select-option-description {
|
|
659
|
+
padding-left: 0;
|
|
660
|
+
padding-right: 0;
|
|
661
|
+
padding-top: 5px;
|
|
662
|
+
padding-bottom: 0;
|
|
663
|
+
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
664
|
+
font-size: 0.75rem;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Convert a pixels given value into rem
|
|
669
|
+
*
|
|
670
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
671
|
+
* @param context (optional) - Baseline value
|
|
672
|
+
*/
|
|
673
|
+
/**
|
|
674
|
+
* Convert a font size to a dynamic font size.
|
|
675
|
+
* Fonts that participate in Dynamic Type should use
|
|
676
|
+
* dynamic font sizes.
|
|
677
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
678
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
679
|
+
* convert to a unit other than $baselineUnit.
|
|
680
|
+
*/
|
|
681
|
+
/**
|
|
682
|
+
* Convert a font size to a dynamic font size but impose
|
|
683
|
+
* a maximum font size.
|
|
684
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
685
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
686
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
687
|
+
* convert to a unit other than $baselineUnit.
|
|
688
|
+
*/
|
|
689
|
+
/**
|
|
690
|
+
* Convert a font size to a dynamic font size but impose
|
|
691
|
+
* a minimum font size.
|
|
692
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
693
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
694
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
695
|
+
* convert to a unit other than $baselineUnit.
|
|
696
|
+
*/
|
|
697
|
+
/**
|
|
698
|
+
* Convert a font size to a dynamic font size but impose
|
|
699
|
+
* maximum and minimum font sizes.
|
|
700
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
701
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
702
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
703
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
704
|
+
* convert to a unit other than $baselineUnit.
|
|
705
|
+
*/
|
|
706
|
+
/**
|
|
707
|
+
* A heuristic that applies CSS to tablet
|
|
708
|
+
* viewports.
|
|
709
|
+
*
|
|
710
|
+
* Usage:
|
|
711
|
+
* @include tablet-viewport() {
|
|
712
|
+
* :host {
|
|
713
|
+
* background-color: green;
|
|
714
|
+
* }
|
|
715
|
+
* }
|
|
716
|
+
*/
|
|
717
|
+
/**
|
|
718
|
+
* A heuristic that applies CSS to mobile
|
|
719
|
+
* viewports (i.e. phones, not tablets).
|
|
720
|
+
*
|
|
721
|
+
* Usage:
|
|
722
|
+
* @include mobile-viewport() {
|
|
723
|
+
* :host {
|
|
724
|
+
* background-color: blue;
|
|
725
|
+
* }
|
|
726
|
+
* }
|
|
727
|
+
*/
|
|
728
|
+
:host {
|
|
729
|
+
--background: var(--ion-overlay-background-color, var(--ion-background-color, #fff));
|
|
730
|
+
--backdrop-opacity: var(--ion-backdrop-opacity, 0.32);
|
|
731
|
+
--button-background: transparent;
|
|
732
|
+
--button-background-selected: currentColor;
|
|
733
|
+
--button-background-selected-opacity: 0;
|
|
734
|
+
--button-background-activated: transparent;
|
|
735
|
+
--button-background-activated-opacity: 0;
|
|
736
|
+
--button-background-hover: currentColor;
|
|
737
|
+
--button-background-hover-opacity: 0.04;
|
|
738
|
+
--button-background-focused: currentColor;
|
|
739
|
+
--button-background-focused-opacity: 0.12;
|
|
740
|
+
--button-color: var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));
|
|
741
|
+
--button-color-disabled: var(--button-color);
|
|
742
|
+
--color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);
|
|
407
743
|
}
|
|
408
744
|
|
|
409
745
|
.action-sheet-wrapper {
|
|
@@ -416,70 +752,58 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
416
752
|
}
|
|
417
753
|
|
|
418
754
|
.action-sheet-title {
|
|
419
|
-
-webkit-padding-start:
|
|
420
|
-
padding-inline-start:
|
|
421
|
-
-webkit-padding-end:
|
|
422
|
-
padding-inline-end:
|
|
423
|
-
padding-top:
|
|
424
|
-
padding-bottom:
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
line-height: var(--token-font-line-height-700, var(--token-scale-700, 28px));
|
|
429
|
-
text-decoration: none;
|
|
430
|
-
text-transform: none;
|
|
431
|
-
color: var(--color);
|
|
755
|
+
-webkit-padding-start: 16px;
|
|
756
|
+
padding-inline-start: 16px;
|
|
757
|
+
-webkit-padding-end: 16px;
|
|
758
|
+
padding-inline-end: 16px;
|
|
759
|
+
padding-top: 20px;
|
|
760
|
+
padding-bottom: 17px;
|
|
761
|
+
min-height: 60px;
|
|
762
|
+
color: var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));
|
|
763
|
+
font-size: 1rem;
|
|
432
764
|
text-align: start;
|
|
433
765
|
}
|
|
434
766
|
|
|
435
767
|
.action-sheet-sub-title {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
text-transform: none;
|
|
442
|
-
color: var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262));
|
|
768
|
+
padding-left: 0;
|
|
769
|
+
padding-right: 0;
|
|
770
|
+
padding-top: 16px;
|
|
771
|
+
padding-bottom: 0;
|
|
772
|
+
font-size: 0.875rem;
|
|
443
773
|
}
|
|
444
774
|
|
|
445
775
|
.action-sheet-group:first-child {
|
|
446
|
-
padding-top:
|
|
776
|
+
padding-top: 0;
|
|
447
777
|
}
|
|
448
778
|
|
|
449
779
|
.action-sheet-group:last-child {
|
|
450
|
-
padding-bottom: var(--
|
|
780
|
+
padding-bottom: var(--ion-safe-area-bottom);
|
|
451
781
|
}
|
|
452
782
|
|
|
453
783
|
.action-sheet-button {
|
|
454
|
-
-webkit-padding-start:
|
|
455
|
-
padding-inline-start:
|
|
456
|
-
-webkit-padding-end:
|
|
457
|
-
padding-inline-end:
|
|
458
|
-
padding-top:
|
|
459
|
-
padding-bottom:
|
|
460
|
-
font-size: var(--token-font-size-350, 0.875rem);
|
|
461
|
-
font-weight: var(--token-font-weight-regular, 400);
|
|
462
|
-
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
463
|
-
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
464
|
-
text-decoration: none;
|
|
465
|
-
text-transform: none;
|
|
784
|
+
-webkit-padding-start: 16px;
|
|
785
|
+
padding-inline-start: 16px;
|
|
786
|
+
-webkit-padding-end: 16px;
|
|
787
|
+
padding-inline-end: 16px;
|
|
788
|
+
padding-top: 12px;
|
|
789
|
+
padding-bottom: 12px;
|
|
466
790
|
position: relative;
|
|
467
791
|
min-height: 52px;
|
|
792
|
+
font-size: 1rem;
|
|
468
793
|
text-align: start;
|
|
469
794
|
contain: content;
|
|
470
795
|
overflow: hidden;
|
|
471
796
|
}
|
|
472
797
|
|
|
473
798
|
.action-sheet-icon {
|
|
474
|
-
-webkit-margin-start:
|
|
475
|
-
margin-inline-start:
|
|
476
|
-
-webkit-margin-end:
|
|
477
|
-
margin-inline-end:
|
|
478
|
-
margin-top:
|
|
479
|
-
margin-bottom:
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
color: var(--color, var(--token-text-default, var(--token-primitives-neutral-1200, #242424)));
|
|
799
|
+
-webkit-margin-start: 0;
|
|
800
|
+
margin-inline-start: 0;
|
|
801
|
+
-webkit-margin-end: 32px;
|
|
802
|
+
margin-inline-end: 32px;
|
|
803
|
+
margin-top: 0;
|
|
804
|
+
margin-bottom: 0;
|
|
805
|
+
color: var(--color);
|
|
806
|
+
font-size: 1.5rem;
|
|
483
807
|
}
|
|
484
808
|
|
|
485
809
|
.action-sheet-button-inner {
|
|
@@ -488,4 +812,23 @@ ion-checkbox.select-option-has-rich-content::part(label),
|
|
|
488
812
|
|
|
489
813
|
.action-sheet-selected {
|
|
490
814
|
font-weight: bold;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.action-sheet-button-label {
|
|
818
|
+
gap: var(--token-space-300, var(--token-scale-300, 12px));
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.select-option-description {
|
|
822
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
823
|
+
font-weight: var(--token-font-weight-regular, 400);
|
|
824
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
825
|
+
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
826
|
+
text-decoration: none;
|
|
827
|
+
text-transform: none;
|
|
828
|
+
padding-left: 0;
|
|
829
|
+
padding-right: 0;
|
|
830
|
+
padding-top: 0;
|
|
831
|
+
padding-bottom: 0;
|
|
832
|
+
color: var(--token-text-subtle, var(--token-primitives-neutral-1000, #3b3b3b));
|
|
833
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
491
834
|
}
|