@ccrpc/webmapgl 0.18.6 → 0.18.8
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/dist/cjs/app-globals-62694daf.js.map +1 -1
- package/dist/cjs/gl-address-search_52.cjs.entry.js +31 -30
- package/dist/cjs/gl-address-search_52.cjs.entry.js.map +1 -1
- package/dist/cjs/gl-draw-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gl-draw-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gl-facet_5.cjs.entry.js +1 -1
- package/dist/cjs/gl-facet_5.cjs.entry.js.map +1 -1
- package/dist/cjs/gl-like-button.cjs.entry.js +5 -5
- package/dist/cjs/gl-like-button.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +11 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/collection/components/address-search/address-search.js +4 -4
- package/dist/collection/components/address-search/address-search.js.map +1 -1
- package/dist/collection/components/app/app.js +1 -1
- package/dist/collection/components/app/app.js.map +1 -1
- package/dist/collection/components/attribute-values/attribute-values.js +1 -1
- package/dist/collection/components/basemaps/basemaps.js +2 -2
- package/dist/collection/components/basemaps/basemaps.js.map +1 -1
- package/dist/collection/components/download-button/download-button.js +3 -3
- package/dist/collection/components/download-button/download-button.js.map +1 -1
- package/dist/collection/components/download-list/download-list.js +2 -1
- package/dist/collection/components/download-list/download-list.js.map +1 -1
- package/dist/collection/components/draw-toolbar/draw-toolbar.js +4 -4
- package/dist/collection/components/draw-toolbar/draw-toolbar.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +4 -4
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer-toggle/drawer-toggle.js +1 -1
- package/dist/collection/components/drawer-toggle/drawer-toggle.js.map +1 -1
- package/dist/collection/components/feature-list/feature-list.js +1 -1
- package/dist/collection/components/form-page/form-page.js +2 -2
- package/dist/collection/components/form-page/form-page.js.map +1 -1
- package/dist/collection/components/fullscreen/fullscreen.js +1 -1
- package/dist/collection/components/fullscreen/fullscreen.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +2 -2
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/like-button/like-button.js +6 -6
- package/dist/collection/components/like-button/like-button.js.map +1 -1
- package/dist/collection/components/share/share.js +3 -3
- package/dist/collection/components/share/share.js.map +1 -1
- package/dist/collection/components/share-button/share-button.js +2 -2
- package/dist/collection/components/share-button/share-button.js.map +1 -1
- package/dist/collection/components/story-button/story-button.js +4 -4
- package/dist/collection/components/story-button/story-button.js.map +1 -1
- package/dist/collection/components/style/style.js +3 -3
- package/dist/collection/components/table-column-visibility/table-column-visibility.js +1 -1
- package/dist/collection/components/table-column-visibility/table-column-visibility.js.map +1 -1
- package/dist/collection/components/table-column-visibility-button/table-column-visibility-button.js +3 -3
- package/dist/collection/components/table-column-visibility-button/table-column-visibility-button.js.map +1 -1
- package/dist/collection/components/table-export-button/table-export-button.js +1 -1
- package/dist/collection/components/table-export-button/table-export-button.js.map +1 -1
- package/dist/collection/global/webmapgl.js +1 -0
- package/dist/collection/global/webmapgl.js.map +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/esm/app-globals-755c21e9.js.map +1 -1
- package/dist/esm/gl-address-search_52.entry.js +32 -31
- package/dist/esm/gl-address-search_52.entry.js.map +1 -1
- package/dist/esm/gl-draw-controller.entry.js +1 -1
- package/dist/esm/gl-draw-toolbar.entry.js +3 -3
- package/dist/esm/gl-draw-toolbar.entry.js.map +1 -1
- package/dist/esm/gl-facet_5.entry.js +2 -2
- package/dist/esm/gl-facet_5.entry.js.map +1 -1
- package/dist/esm/gl-feature-list.entry.js +1 -1
- package/dist/esm/gl-like-button.entry.js +6 -6
- package/dist/esm/gl-like-button.entry.js.map +1 -1
- package/dist/esm/gl-table-export-controller.entry.js +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{utils-0af5fee1.js → utils-e86257fd.js} +2 -2
- package/dist/esm/{utils-0af5fee1.js.map → utils-e86257fd.js.map} +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +83 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +80 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +64 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +319 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +259 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +503 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +531 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +246 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +269 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +50 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +205 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +200 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +25 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +431 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +408 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +114 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +134 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +93 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +55 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +31 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +310 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +326 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.css +149 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +68 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +227 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +589 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +561 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +44 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +98 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +312 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +283 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +36 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +103 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +106 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +23 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +46 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +46 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +635 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +1077 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +646 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +908 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +166 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +232 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +142 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +136 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +121 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +118 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +66 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +164 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +251 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +63 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +104 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +107 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +95 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +86 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +163 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +170 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +247 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +162 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +257 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +244 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +145 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +136 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +75 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +78 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +152 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +148 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +250 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +157 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +331 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +354 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +469 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +614 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +211 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +34 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +354 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +339 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +59 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +49 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +410 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +396 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +552 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +1025 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +14 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +92 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +92 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +87 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +74 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +367 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +391 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +693 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +1142 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +119 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +47 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +284 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +305 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +455 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +400 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +161 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +136 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
- package/dist/types/global/webmapgl.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/webmapgl/index.esm.js +1 -1
- package/dist/webmapgl/{p-29a0ba94.entry.js → p-10ecfbc1.entry.js} +3 -3
- package/dist/webmapgl/p-10ecfbc1.entry.js.map +1 -0
- package/dist/webmapgl/{p-d8674de4.js → p-1109414b.js} +2 -2
- package/dist/webmapgl/p-41aed25d.entry.js +8 -0
- package/dist/webmapgl/p-41aed25d.entry.js.map +1 -0
- package/dist/webmapgl/{p-9a52a393.entry.js → p-4bdbedef.entry.js} +2 -2
- package/dist/webmapgl/{p-43063806.entry.js → p-60c4d25c.entry.js} +2 -2
- package/dist/webmapgl/{p-47516d22.entry.js → p-725281ca.entry.js} +2 -2
- package/dist/webmapgl/{p-8d22e12f.entry.js → p-8e93527b.entry.js} +2 -2
- package/dist/webmapgl/p-8e93527b.entry.js.map +1 -0
- package/dist/webmapgl/p-b3dc2acc.js.map +1 -1
- package/dist/webmapgl/{p-96e77bf2.entry.js → p-c61eaf23.entry.js} +2 -2
- package/dist/webmapgl/p-c61eaf23.entry.js.map +1 -0
- package/dist/webmapgl/webmapgl.css +1 -1
- package/dist/webmapgl/webmapgl.esm.js +1 -1
- package/package.json +4 -3
- package/CHANGELOG.md +0 -234
- package/dist/webmapgl/p-29a0ba94.entry.js.map +0 -1
- package/dist/webmapgl/p-8d22e12f.entry.js.map +0 -1
- package/dist/webmapgl/p-96e77bf2.entry.js.map +0 -1
- package/dist/webmapgl/p-99a83939.entry.js +0 -8
- package/dist/webmapgl/p-99a83939.entry.js.map +0 -1
- /package/dist/webmapgl/{p-d8674de4.js.map → p-1109414b.js.map} +0 -0
- /package/dist/webmapgl/{p-9a52a393.entry.js.map → p-4bdbedef.entry.js.map} +0 -0
- /package/dist/webmapgl/{p-43063806.entry.js.map → p-60c4d25c.entry.js.map} +0 -0
- /package/dist/webmapgl/{p-47516d22.entry.js.map → p-725281ca.entry.js.map} +0 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/**
|
|
3
|
+
* @prop --track-background: Background of the toggle track
|
|
4
|
+
* @prop --track-background-checked: Background of the toggle track when checked
|
|
5
|
+
* @prop --border-radius: Border radius of the toggle track
|
|
6
|
+
*
|
|
7
|
+
* @prop --handle-background: Background of the toggle handle
|
|
8
|
+
* @prop --handle-background-checked: Background of the toggle handle when checked
|
|
9
|
+
*
|
|
10
|
+
* @prop --handle-border-radius: Border radius of the toggle handle
|
|
11
|
+
* @prop --handle-box-shadow: Box shadow of the toggle handle
|
|
12
|
+
* @prop --handle-height: Height of the toggle handle
|
|
13
|
+
* @prop --handle-max-height: Maximum height of the toggle handle
|
|
14
|
+
* @prop --handle-width: Width of the toggle handle
|
|
15
|
+
* @prop --handle-spacing: Horizontal spacing around the toggle handle
|
|
16
|
+
* @prop --handle-transition: Transition of the toggle handle
|
|
17
|
+
*/
|
|
18
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
19
|
+
box-sizing: content-box !important;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
position: relative;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
outline: none;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
user-select: none;
|
|
26
|
+
z-index: 2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host(.in-item:not(.legacy-toggle)) {
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Toggle can be slotted
|
|
36
|
+
* in components such as item and
|
|
37
|
+
* toolbar which is why we do not
|
|
38
|
+
* limit the below behavior to just ion-item.
|
|
39
|
+
*/
|
|
40
|
+
:host([slot=start]:not(.legacy-toggle)),
|
|
41
|
+
:host([slot=end]:not(.legacy-toggle)) {
|
|
42
|
+
width: auto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host(.legacy-toggle) {
|
|
46
|
+
contain: content;
|
|
47
|
+
touch-action: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host(.ion-focused) input {
|
|
51
|
+
border: 2px solid #5e9ed6;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host(.toggle-disabled) {
|
|
55
|
+
pointer-events: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host(.legacy-toggle) label {
|
|
59
|
+
top: 0;
|
|
60
|
+
margin-left: 0;
|
|
61
|
+
margin-right: 0;
|
|
62
|
+
margin-top: 0;
|
|
63
|
+
margin-bottom: 0;
|
|
64
|
+
position: absolute;
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
border: 0;
|
|
68
|
+
background: transparent;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
appearance: none;
|
|
71
|
+
outline: none;
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
opacity: 0;
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
}
|
|
77
|
+
@supports (inset-inline-start: 0) {
|
|
78
|
+
:host(.legacy-toggle) label {
|
|
79
|
+
inset-inline-start: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@supports not (inset-inline-start: 0) {
|
|
83
|
+
:host(.legacy-toggle) label {
|
|
84
|
+
left: 0;
|
|
85
|
+
}
|
|
86
|
+
:host-context([dir=rtl]):host(.legacy-toggle) label, :host-context([dir=rtl]).legacy-toggle label {
|
|
87
|
+
left: unset;
|
|
88
|
+
right: unset;
|
|
89
|
+
right: 0;
|
|
90
|
+
}
|
|
91
|
+
@supports selector(:dir(rtl)) {
|
|
92
|
+
:host(.legacy-toggle) label:dir(rtl) {
|
|
93
|
+
left: unset;
|
|
94
|
+
right: unset;
|
|
95
|
+
right: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
:host(.legacy-toggle) label::-moz-focus-inner {
|
|
100
|
+
border: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
input {
|
|
104
|
+
position: absolute;
|
|
105
|
+
top: 0;
|
|
106
|
+
left: 0;
|
|
107
|
+
right: 0;
|
|
108
|
+
bottom: 0;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
111
|
+
margin: 0;
|
|
112
|
+
padding: 0;
|
|
113
|
+
border: 0;
|
|
114
|
+
outline: 0;
|
|
115
|
+
clip: rect(0 0 0 0);
|
|
116
|
+
opacity: 0;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
-webkit-appearance: none;
|
|
119
|
+
-moz-appearance: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.toggle-wrapper {
|
|
123
|
+
display: flex;
|
|
124
|
+
position: relative;
|
|
125
|
+
flex-grow: 1;
|
|
126
|
+
align-items: center;
|
|
127
|
+
height: inherit;
|
|
128
|
+
transition: background-color 15ms linear;
|
|
129
|
+
cursor: inherit;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.label-text-wrapper {
|
|
133
|
+
/**
|
|
134
|
+
* This ensures that double tapping this text
|
|
135
|
+
* clicks the <label> and focuses the input
|
|
136
|
+
* when a screen reader is enabled.
|
|
137
|
+
*/
|
|
138
|
+
pointer-events: none;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
white-space: nowrap;
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
:host(.in-item:not(.legacy-toggle)) .label-text-wrapper {
|
|
145
|
+
margin-top: 10px;
|
|
146
|
+
margin-bottom: 10px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* If no label text is placed into the slot
|
|
151
|
+
* then the element should be hidden otherwise
|
|
152
|
+
* there will be additional margins added.
|
|
153
|
+
*/
|
|
154
|
+
.label-text-wrapper-hidden {
|
|
155
|
+
display: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.native-wrapper {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
164
|
+
justify-content: space-between;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host(.toggle-justify-start) .toggle-wrapper {
|
|
168
|
+
justify-content: start;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
:host(.toggle-justify-end) .toggle-wrapper {
|
|
172
|
+
justify-content: end;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Label is on the left of the input in LTR and
|
|
177
|
+
* on the right in RTL.
|
|
178
|
+
*/
|
|
179
|
+
:host(.toggle-label-placement-start) .toggle-wrapper {
|
|
180
|
+
flex-direction: row;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
:host(.toggle-label-placement-start) .label-text-wrapper {
|
|
184
|
+
/**
|
|
185
|
+
* The margin between the label and
|
|
186
|
+
* the input should be on the end
|
|
187
|
+
* when the label sits at the start.
|
|
188
|
+
*/
|
|
189
|
+
-webkit-margin-start: 0;
|
|
190
|
+
margin-inline-start: 0;
|
|
191
|
+
-webkit-margin-end: 16px;
|
|
192
|
+
margin-inline-end: 16px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Label is on the right of the input in LTR and
|
|
197
|
+
* on the left in RTL.
|
|
198
|
+
*/
|
|
199
|
+
:host(.toggle-label-placement-end) .toggle-wrapper {
|
|
200
|
+
flex-direction: row-reverse;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* The margin between the label and
|
|
205
|
+
* the input should be on the start
|
|
206
|
+
* when the label sits at the end.
|
|
207
|
+
*/
|
|
208
|
+
:host(.toggle-label-placement-end) .label-text-wrapper {
|
|
209
|
+
-webkit-margin-start: 16px;
|
|
210
|
+
margin-inline-start: 16px;
|
|
211
|
+
-webkit-margin-end: 0;
|
|
212
|
+
margin-inline-end: 0;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
:host(.toggle-label-placement-fixed) .label-text-wrapper {
|
|
216
|
+
/**
|
|
217
|
+
* The margin between the label and
|
|
218
|
+
* the input should be on the end
|
|
219
|
+
* when the label sits at the start.
|
|
220
|
+
*/
|
|
221
|
+
-webkit-margin-start: 0;
|
|
222
|
+
margin-inline-start: 0;
|
|
223
|
+
-webkit-margin-end: 16px;
|
|
224
|
+
margin-inline-end: 16px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Label is on the left of the input in LTR and
|
|
229
|
+
* on the right in RTL. Label also has a fixed width.
|
|
230
|
+
*/
|
|
231
|
+
:host(.toggle-label-placement-fixed) .label-text-wrapper {
|
|
232
|
+
flex: 0 0 100px;
|
|
233
|
+
width: 100px;
|
|
234
|
+
min-width: 100px;
|
|
235
|
+
max-width: 200px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.toggle-icon-wrapper {
|
|
239
|
+
display: flex;
|
|
240
|
+
position: relative;
|
|
241
|
+
align-items: center;
|
|
242
|
+
width: 100%;
|
|
243
|
+
height: 100%;
|
|
244
|
+
transition: var(--handle-transition);
|
|
245
|
+
will-change: transform;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.toggle-icon {
|
|
249
|
+
border-radius: var(--border-radius);
|
|
250
|
+
display: block;
|
|
251
|
+
position: relative;
|
|
252
|
+
width: 100%;
|
|
253
|
+
height: 100%;
|
|
254
|
+
background: var(--track-background);
|
|
255
|
+
overflow: inherit;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
:host(.toggle-checked) .toggle-icon {
|
|
259
|
+
background: var(--track-background-checked);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.toggle-inner {
|
|
263
|
+
border-radius: var(--handle-border-radius);
|
|
264
|
+
position: absolute;
|
|
265
|
+
left: var(--handle-spacing);
|
|
266
|
+
width: var(--handle-width);
|
|
267
|
+
height: var(--handle-height);
|
|
268
|
+
max-height: var(--handle-max-height);
|
|
269
|
+
transition: var(--handle-transition);
|
|
270
|
+
background: var(--handle-background);
|
|
271
|
+
box-shadow: var(--handle-box-shadow);
|
|
272
|
+
contain: strict;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* We do not use the @ltr and @rtl mixins
|
|
277
|
+
* here because ion-toggle uses the Shadow DOM
|
|
278
|
+
* and WebKit does not support :host-context.
|
|
279
|
+
*/
|
|
280
|
+
:host(.toggle-ltr) .toggle-inner {
|
|
281
|
+
left: var(--handle-spacing);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
:host(.toggle-rtl) .toggle-inner {
|
|
285
|
+
right: var(--handle-spacing);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper {
|
|
289
|
+
transform: translate3d(calc(100% - var(--handle-width)), 0, 0);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper {
|
|
293
|
+
transform: translate3d(calc(-100% + var(--handle-width)), 0, 0);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:host(.toggle-checked) .toggle-inner {
|
|
297
|
+
background: var(--handle-background-checked);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
:host(.toggle-ltr.toggle-checked) .toggle-inner {
|
|
301
|
+
transform: translate3d(calc(var(--handle-spacing) * -2), 0, 0);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
:host(.toggle-rtl.toggle-checked) .toggle-inner {
|
|
305
|
+
transform: translate3d(calc(var(--handle-spacing) * 2), 0, 0);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:host {
|
|
309
|
+
--track-background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);
|
|
310
|
+
--track-background-checked: rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);
|
|
311
|
+
--border-radius: 14px;
|
|
312
|
+
--handle-background: #ffffff;
|
|
313
|
+
--handle-background-checked: var(--ion-color-primary, #3880ff);
|
|
314
|
+
--handle-border-radius: 50%;
|
|
315
|
+
--handle-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
316
|
+
--handle-width: 20px;
|
|
317
|
+
--handle-height: 20px;
|
|
318
|
+
--handle-max-height: calc(100% + 6px);
|
|
319
|
+
--handle-spacing: 0;
|
|
320
|
+
--handle-transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
:host(.legacy-toggle) {
|
|
324
|
+
-webkit-padding-start: 12px;
|
|
325
|
+
padding-inline-start: 12px;
|
|
326
|
+
-webkit-padding-end: 12px;
|
|
327
|
+
padding-inline-end: 12px;
|
|
328
|
+
padding-top: 12px;
|
|
329
|
+
padding-bottom: 12px;
|
|
330
|
+
width: 36px;
|
|
331
|
+
height: 14px;
|
|
332
|
+
contain: strict;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.native-wrapper .toggle-icon {
|
|
336
|
+
width: 36px;
|
|
337
|
+
height: 14px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
:host(.ion-color.toggle-checked) .toggle-icon {
|
|
341
|
+
background: rgba(var(--ion-color-base-rgb), 0.5);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
:host(.ion-color.toggle-checked) .toggle-inner {
|
|
345
|
+
background: var(--ion-color-base);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
:host(.toggle-checked) .toggle-inner {
|
|
349
|
+
color: var(--ion-color-contrast, #fff);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.toggle-icon {
|
|
353
|
+
transition: background-color 160ms;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.toggle-inner {
|
|
357
|
+
will-change: background-color, transform;
|
|
358
|
+
display: flex;
|
|
359
|
+
align-items: center;
|
|
360
|
+
justify-content: center;
|
|
361
|
+
color: #000;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.toggle-inner .toggle-switch-icon {
|
|
365
|
+
-webkit-padding-start: 1px;
|
|
366
|
+
padding-inline-start: 1px;
|
|
367
|
+
-webkit-padding-end: 1px;
|
|
368
|
+
padding-inline-end: 1px;
|
|
369
|
+
padding-top: 1px;
|
|
370
|
+
padding-bottom: 1px;
|
|
371
|
+
width: 100%;
|
|
372
|
+
height: 100%;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
:host(.toggle-disabled) {
|
|
376
|
+
opacity: 0.38;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
:host(.in-item.legacy-toggle) {
|
|
380
|
+
margin-left: 0;
|
|
381
|
+
margin-right: 0;
|
|
382
|
+
margin-top: 0;
|
|
383
|
+
margin-bottom: 0;
|
|
384
|
+
-webkit-padding-start: 16px;
|
|
385
|
+
padding-inline-start: 16px;
|
|
386
|
+
-webkit-padding-end: 0;
|
|
387
|
+
padding-inline-end: 0;
|
|
388
|
+
padding-top: 12px;
|
|
389
|
+
padding-bottom: 12px;
|
|
390
|
+
cursor: pointer;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
:host(.in-item.legacy-toggle[slot=start]) {
|
|
394
|
+
-webkit-padding-start: 2px;
|
|
395
|
+
padding-inline-start: 2px;
|
|
396
|
+
-webkit-padding-end: 18px;
|
|
397
|
+
padding-inline-end: 18px;
|
|
398
|
+
padding-top: 12px;
|
|
399
|
+
padding-bottom: 12px;
|
|
400
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/**
|
|
3
|
+
* @prop --background: Background of the toolbar
|
|
4
|
+
*
|
|
5
|
+
* @prop --border-color: Color of the toolbar border
|
|
6
|
+
* @prop --border-style: Style of the toolbar border
|
|
7
|
+
* @prop --border-width: Width of the toolbar border
|
|
8
|
+
*
|
|
9
|
+
* @prop --color: Color of the toolbar text
|
|
10
|
+
*
|
|
11
|
+
* @prop --min-height: Minimum height of the toolbar
|
|
12
|
+
*
|
|
13
|
+
* @prop --opacity: Opacity of the toolbar background
|
|
14
|
+
*
|
|
15
|
+
* @prop --padding-top: Top padding of the toolbar
|
|
16
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the toolbar
|
|
17
|
+
* @prop --padding-bottom: Bottom padding of the toolbar
|
|
18
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the toolbar
|
|
19
|
+
*/
|
|
20
|
+
--border-width: 0;
|
|
21
|
+
--border-style: solid;
|
|
22
|
+
--opacity: 1;
|
|
23
|
+
--opacity-scale: 1;
|
|
24
|
+
-moz-osx-font-smoothing: grayscale;
|
|
25
|
+
-webkit-font-smoothing: antialiased;
|
|
26
|
+
-webkit-padding-start: var(--ion-safe-area-left);
|
|
27
|
+
padding-inline-start: var(--ion-safe-area-left);
|
|
28
|
+
-webkit-padding-end: var(--ion-safe-area-right);
|
|
29
|
+
padding-inline-end: var(--ion-safe-area-right);
|
|
30
|
+
display: block;
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
color: var(--color);
|
|
34
|
+
font-family: var(--ion-font-family, inherit);
|
|
35
|
+
contain: content;
|
|
36
|
+
z-index: 10;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host(.ion-color) {
|
|
41
|
+
color: var(--ion-color-contrast);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host(.ion-color) .toolbar-background {
|
|
45
|
+
background: var(--ion-color-base);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.toolbar-container {
|
|
49
|
+
-webkit-padding-start: var(--padding-start);
|
|
50
|
+
padding-inline-start: var(--padding-start);
|
|
51
|
+
-webkit-padding-end: var(--padding-end);
|
|
52
|
+
padding-inline-end: var(--padding-end);
|
|
53
|
+
padding-top: var(--padding-top);
|
|
54
|
+
padding-bottom: var(--padding-bottom);
|
|
55
|
+
display: flex;
|
|
56
|
+
position: relative;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
width: 100%;
|
|
61
|
+
min-height: var(--min-height);
|
|
62
|
+
contain: content;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
z-index: 10;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.toolbar-background {
|
|
69
|
+
left: 0;
|
|
70
|
+
right: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
bottom: 0;
|
|
73
|
+
position: absolute;
|
|
74
|
+
transform: translateZ(0);
|
|
75
|
+
border-width: var(--border-width);
|
|
76
|
+
border-style: var(--border-style);
|
|
77
|
+
border-color: var(--border-color);
|
|
78
|
+
background: var(--background);
|
|
79
|
+
contain: strict;
|
|
80
|
+
opacity: calc(var(--opacity) * var(--opacity-scale));
|
|
81
|
+
z-index: -1;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
::slotted(ion-progress-bar) {
|
|
86
|
+
left: 0;
|
|
87
|
+
right: 0;
|
|
88
|
+
bottom: 0;
|
|
89
|
+
position: absolute;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host {
|
|
93
|
+
--background: var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));
|
|
94
|
+
--color: var(--ion-toolbar-color, var(--ion-text-color, #000));
|
|
95
|
+
--border-color: var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));
|
|
96
|
+
--padding-top: 3px;
|
|
97
|
+
--padding-bottom: 3px;
|
|
98
|
+
--padding-start: 4px;
|
|
99
|
+
--padding-end: 4px;
|
|
100
|
+
--min-height: 44px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.toolbar-content {
|
|
104
|
+
flex: 1;
|
|
105
|
+
order: 4;
|
|
106
|
+
min-width: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:host(.toolbar-segment) .toolbar-content {
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host(.toolbar-searchbar) .toolbar-container {
|
|
114
|
+
padding-top: 0;
|
|
115
|
+
padding-bottom: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host(.toolbar-searchbar) ::slotted(*) {
|
|
119
|
+
align-self: start;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host(.toolbar-searchbar) ::slotted(ion-chip) {
|
|
123
|
+
margin-top: 3px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host(.toolbar-searchbar) ::slotted(ion-back-button) {
|
|
127
|
+
height: 38px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
::slotted(ion-buttons) {
|
|
131
|
+
min-height: 38px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
::slotted([slot=start]) {
|
|
135
|
+
order: 2;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
::slotted([slot=secondary]) {
|
|
139
|
+
order: 3;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
::slotted([slot=primary]) {
|
|
143
|
+
order: 5;
|
|
144
|
+
text-align: end;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
::slotted([slot=end]) {
|
|
148
|
+
order: 6;
|
|
149
|
+
text-align: end;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
:host(.toolbar-title-large) .toolbar-container {
|
|
153
|
+
flex-wrap: wrap;
|
|
154
|
+
align-items: flex-start;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:host(.toolbar-title-large) .toolbar-content ion-title {
|
|
158
|
+
flex: 1;
|
|
159
|
+
order: 8;
|
|
160
|
+
min-width: 100%;
|
|
161
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/**
|
|
3
|
+
* @prop --background: Background of the toolbar
|
|
4
|
+
*
|
|
5
|
+
* @prop --border-color: Color of the toolbar border
|
|
6
|
+
* @prop --border-style: Style of the toolbar border
|
|
7
|
+
* @prop --border-width: Width of the toolbar border
|
|
8
|
+
*
|
|
9
|
+
* @prop --color: Color of the toolbar text
|
|
10
|
+
*
|
|
11
|
+
* @prop --min-height: Minimum height of the toolbar
|
|
12
|
+
*
|
|
13
|
+
* @prop --opacity: Opacity of the toolbar background
|
|
14
|
+
*
|
|
15
|
+
* @prop --padding-top: Top padding of the toolbar
|
|
16
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the toolbar
|
|
17
|
+
* @prop --padding-bottom: Bottom padding of the toolbar
|
|
18
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the toolbar
|
|
19
|
+
*/
|
|
20
|
+
--border-width: 0;
|
|
21
|
+
--border-style: solid;
|
|
22
|
+
--opacity: 1;
|
|
23
|
+
--opacity-scale: 1;
|
|
24
|
+
-moz-osx-font-smoothing: grayscale;
|
|
25
|
+
-webkit-font-smoothing: antialiased;
|
|
26
|
+
-webkit-padding-start: var(--ion-safe-area-left);
|
|
27
|
+
padding-inline-start: var(--ion-safe-area-left);
|
|
28
|
+
-webkit-padding-end: var(--ion-safe-area-right);
|
|
29
|
+
padding-inline-end: var(--ion-safe-area-right);
|
|
30
|
+
display: block;
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
color: var(--color);
|
|
34
|
+
font-family: var(--ion-font-family, inherit);
|
|
35
|
+
contain: content;
|
|
36
|
+
z-index: 10;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host(.ion-color) {
|
|
41
|
+
color: var(--ion-color-contrast);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host(.ion-color) .toolbar-background {
|
|
45
|
+
background: var(--ion-color-base);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.toolbar-container {
|
|
49
|
+
-webkit-padding-start: var(--padding-start);
|
|
50
|
+
padding-inline-start: var(--padding-start);
|
|
51
|
+
-webkit-padding-end: var(--padding-end);
|
|
52
|
+
padding-inline-end: var(--padding-end);
|
|
53
|
+
padding-top: var(--padding-top);
|
|
54
|
+
padding-bottom: var(--padding-bottom);
|
|
55
|
+
display: flex;
|
|
56
|
+
position: relative;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
width: 100%;
|
|
61
|
+
min-height: var(--min-height);
|
|
62
|
+
contain: content;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
z-index: 10;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.toolbar-background {
|
|
69
|
+
left: 0;
|
|
70
|
+
right: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
bottom: 0;
|
|
73
|
+
position: absolute;
|
|
74
|
+
transform: translateZ(0);
|
|
75
|
+
border-width: var(--border-width);
|
|
76
|
+
border-style: var(--border-style);
|
|
77
|
+
border-color: var(--border-color);
|
|
78
|
+
background: var(--background);
|
|
79
|
+
contain: strict;
|
|
80
|
+
opacity: calc(var(--opacity) * var(--opacity-scale));
|
|
81
|
+
z-index: -1;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
::slotted(ion-progress-bar) {
|
|
86
|
+
left: 0;
|
|
87
|
+
right: 0;
|
|
88
|
+
bottom: 0;
|
|
89
|
+
position: absolute;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host {
|
|
93
|
+
--background: var(--ion-toolbar-background, var(--ion-background-color, #fff));
|
|
94
|
+
--color: var(--ion-toolbar-color, var(--ion-text-color, #424242));
|
|
95
|
+
--border-color: var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));
|
|
96
|
+
--padding-top: 0;
|
|
97
|
+
--padding-bottom: 0;
|
|
98
|
+
--padding-start: 0;
|
|
99
|
+
--padding-end: 0;
|
|
100
|
+
--min-height: 56px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.toolbar-content {
|
|
104
|
+
flex: 1;
|
|
105
|
+
order: 3;
|
|
106
|
+
min-width: 0;
|
|
107
|
+
max-width: 100%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
::slotted(.buttons-first-slot) {
|
|
111
|
+
-webkit-margin-start: 4px;
|
|
112
|
+
margin-inline-start: 4px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
::slotted(.buttons-last-slot) {
|
|
116
|
+
-webkit-margin-end: 4px;
|
|
117
|
+
margin-inline-end: 4px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
::slotted([slot=start]) {
|
|
121
|
+
order: 2;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
::slotted([slot=secondary]) {
|
|
125
|
+
order: 4;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
::slotted([slot=primary]) {
|
|
129
|
+
order: 5;
|
|
130
|
+
text-align: end;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
::slotted([slot=end]) {
|
|
134
|
+
order: 6;
|
|
135
|
+
text-align: end;
|
|
136
|
+
}
|