@fusion.dev/helix 0.145.0 → 0.147.0
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/custom-elements.json +13218 -3717
- package/dist/accordion/item/accordion-item.css.js +4 -92
- package/dist/accordion/item/accordion-item.d.ts +8 -0
- package/dist/accordion/root/accordion-root.css.js +2 -28
- package/dist/announcement/root/announcement-root.css.js +10 -154
- package/dist/announcement/root/announcement-root.d.ts +3 -0
- package/dist/app-header/root/app-header-root.css.js +2 -118
- package/dist/area-chart/root/area-chart-root.css.js +4 -94
- package/dist/area-chart/root/area-chart-root.d.ts +1 -0
- package/dist/aura/root/aura-root.css.js +2 -54
- package/dist/aura/root/aura-root.d.ts +21 -9
- package/dist/aura/root/aura-root.js +23 -12
- package/dist/avatar/group/avatar-group.css.js +5 -36
- package/dist/avatar/group/avatar-group.d.ts +3 -0
- package/dist/avatar/root/avatar-root.css.js +1 -53
- package/dist/avatar/root/avatar-root.d.ts +2 -0
- package/dist/badge/root/badge-root.css.js +17 -142
- package/dist/badge/root/badge-root.d.ts +20 -0
- package/dist/badge/root/badge-root.js +6 -0
- package/dist/bar-chart/root/bar-chart-root.css.js +8 -292
- package/dist/blockquote/root/blockquote-root.css.js +1 -43
- package/dist/blockquote/root/blockquote-root.d.ts +2 -0
- package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +13 -98
- package/dist/breadcrumbs/root/breadcrumbs-root.css.js +7 -21
- package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +18 -0
- package/dist/breadcrumbs/root/breadcrumbs-root.js +4 -0
- package/dist/button/root/button-root.css.js +16 -196
- package/dist/button/root/button-root.d.ts +3 -0
- package/dist/button-group/root/button-group-root.css.js +2 -52
- package/dist/callout/root/callout-root.css.js +5 -137
- package/dist/callout/root/callout-root.d.ts +8 -2
- package/dist/canvas/node/canvas-node.css.js +10 -367
- package/dist/canvas/root/canvas-root.css.js +7 -270
- package/dist/card/root/card-root.css.js +5 -134
- package/dist/card/root/card-root.d.ts +6 -0
- package/dist/carousel/root/carousel-root.css.js +20 -386
- package/dist/chat/composer/chat-composer.css.js +4 -105
- package/dist/chat/message/chat-message.css.js +5 -301
- package/dist/chat/message/chat-message.d.ts +5 -0
- package/dist/chat/message/chat-message.js +2 -1
- package/dist/chat/root/chat-root.css.js +5 -155
- package/dist/chat/root/chat-root.d.ts +2 -0
- package/dist/chat/root/chat-root.js +2 -1
- package/dist/chat/typing.css.d.ts +1 -0
- package/dist/chat/typing.css.js +25 -0
- package/dist/checkbox/root/checkbox-root.css.js +12 -162
- package/dist/checkbox/root/checkbox-root.d.ts +2 -1
- package/dist/checkbox-group/root/checkbox-group-root.css.js +1 -27
- package/dist/code/root/code-root.css.js +3 -25
- package/dist/code/root/code-root.d.ts +2 -0
- package/dist/code-block/root/code-block-root.css.js +9 -250
- package/dist/code-block/root/code-block-root.d.ts +2 -1
- package/dist/color-input/root/color-input-root.css.js +5 -104
- package/dist/color-picker/root/color-picker-root.css.js +39 -329
- package/dist/color-picker/root/color-picker-root.d.ts +3 -0
- package/dist/combobox/root/combobox-root.css.js +8 -147
- package/dist/command/root/command-root.css.js +3 -74
- package/dist/copy-button/root/copy-button-root.css.js +5 -36
- package/dist/copy-button/root/copy-button-root.d.ts +7 -0
- package/dist/data-table/root/data-table-root.css.js +24 -241
- package/dist/data-table/root/data-table-root.d.ts +12 -0
- package/dist/date-input/root/date-input-root.css.js +8 -93
- package/dist/date-picker/root/date-picker-root.css.js +16 -278
- package/dist/date-picker/root/date-picker-root.d.ts +1 -0
- package/dist/description-list/item/description-list-item.css.js +1 -41
- package/dist/description-list/item/description-list-item.d.ts +7 -0
- package/dist/description-list/root/description-list-root.css.js +1 -34
- package/dist/description-list/root/description-list-root.d.ts +1 -0
- package/dist/dialog/root/dialog-root.css.js +7 -221
- package/dist/dialog/root/dialog-root.d.ts +3 -0
- package/dist/divider/root/divider-root.css.js +6 -81
- package/dist/donut-chart/root/donut-chart-root.css.js +7 -174
- package/dist/donut-chart/root/donut-chart-root.d.ts +3 -0
- package/dist/drawer/root/drawer-root.css.js +14 -193
- package/dist/drawer/root/drawer-root.d.ts +5 -0
- package/dist/drilldown/item/drilldown-item.css.js +4 -51
- package/dist/drilldown/item/drilldown-item.d.ts +7 -0
- package/dist/drilldown/root/drilldown-root.css.js +8 -109
- package/dist/drilldown/root/drilldown-root.d.ts +10 -0
- package/dist/element-events.generated.js +19 -6
- package/dist/empty/root/empty-root.css.js +2 -42
- package/dist/file-input/root/file-input-root.css.js +7 -172
- package/dist/file-input/root/file-input-root.d.ts +15 -0
- package/dist/filter-input/chip/filter-chip.css.js +2 -84
- package/dist/filter-input/field/filter-field.css.js +1 -3
- package/dist/filter-input/menu/filter-menu.css.js +1 -3
- package/dist/filter-input/operator/filter-operator.css.js +1 -3
- package/dist/filter-input/root/filter-input-root.css.js +6 -112
- package/dist/filter-input/root/filter-input-root.d.ts +5 -0
- package/dist/flex/root/flex-root.css.js +4 -198
- package/dist/flex/root/flex-root.d.ts +19 -8
- package/dist/format-date/root/format-date-root.css.js +1 -13
- package/dist/graph/root/graph-root.css.js +12 -444
- package/dist/graph/root/graph-root.d.ts +8 -0
- package/dist/grid/root/grid-root.css.js +1 -171
- package/dist/grid/root/grid-root.d.ts +4 -1
- package/dist/heatmap/root/heatmap-root.css.js +8 -155
- package/dist/heatmap/root/heatmap-root.d.ts +2 -0
- package/dist/icon/index.d.ts +1 -1
- package/dist/icon/root/icon-root.css.js +1 -18
- package/dist/icon/root/index.d.ts +1 -1
- package/dist/icon-button/root/icon-button-root.css.js +63 -186
- package/dist/icon-button/root/icon-button-root.d.ts +5 -0
- package/dist/image/root/image-root.css.js +7 -65
- package/dist/image/root/image-root.d.ts +3 -0
- package/dist/input/root/input-root.css.js +6 -79
- package/dist/kbd/root/kbd-root.css.js +2 -44
- package/dist/kbd/root/kbd-root.d.ts +9 -0
- package/dist/legend/root/legend-root.css.js +9 -106
- package/dist/legend/root/legend-root.d.ts +2 -0
- package/dist/lightbox/item/lightbox-item.css.js +1 -33
- package/dist/lightbox/root/lightbox-root.css.js +40 -144
- package/dist/line-chart/root/line-chart-root.css.js +4 -154
- package/dist/line-chart/root/line-chart-root.d.ts +3 -0
- package/dist/list/item/list-item.css.js +2 -94
- package/dist/list/root/list-root.css.js +4 -88
- package/dist/listbox/root/listbox-root.css.js +4 -102
- package/dist/listbox/root/listbox-root.d.ts +1 -0
- package/dist/loader/root/loader-root.css.js +5 -171
- package/dist/loader/root/loader-root.d.ts +2 -0
- package/dist/map/area/map-area.css.js +1 -23
- package/dist/map/buildings/map-buildings.css.js +1 -26
- package/dist/map/contours/map-contours.css.js +2 -5
- package/dist/map/landcover/map-landcover.css.js +1 -4
- package/dist/map/marker/map-marker.css.js +14 -327
- package/dist/map/points/map-points.css.js +1 -86
- package/dist/map/position/map-position.css.js +8 -227
- package/dist/map/raster/map-raster.css.js +1 -3
- package/dist/map/root/map-root.css.js +10 -352
- package/dist/map/route/map-route.css.js +1 -24
- package/dist/map/terrain/map-terrain.css.js +3 -7
- package/dist/megamenu/root/megamenu-root.css.js +15 -163
- package/dist/megamenu/root/megamenu-root.d.ts +19 -0
- package/dist/menu/item/menu-item.css.js +9 -111
- package/dist/menu/item/menu-item.d.ts +1 -0
- package/dist/menu/root/menu-root.css.js +1 -110
- package/dist/menu/section/menu-section.css.js +1 -13
- package/dist/meter/root/meter-root.css.js +20 -207
- package/dist/meter/root/meter-root.d.ts +4 -0
- package/dist/navigation/root/navigation-root.css.js +2 -54
- package/dist/navigation/root/navigation-root.d.ts +7 -0
- package/dist/notifications/group/notification-group.css.js +1 -61
- package/dist/notifications/notification/notification.css.js +17 -264
- package/dist/notifications/root/notifications-root.css.js +7 -119
- package/dist/notifications/root/notifications-root.d.ts +3 -1
- package/dist/number-input/root/number-input-root.css.js +10 -100
- package/dist/number-input/root/number-input-root.d.ts +8 -0
- package/dist/object-inspector/root/object-inspector-root.css.js +11 -166
- package/dist/option/group/option-group.css.js +1 -22
- package/dist/option/index.d.ts +1 -0
- package/dist/option/index.js +1 -0
- package/dist/option/root/option-root.css.js +3 -85
- package/dist/option/separator/option-separator.css.d.ts +1 -0
- package/dist/option/separator/option-separator.css.js +3 -0
- package/dist/option/separator/option-separator.d.ts +26 -0
- package/dist/option/separator/option-separator.js +16 -0
- package/dist/orb/root/orb-root.css.js +1 -41
- package/dist/orb/root/orb-root.d.ts +14 -6
- package/dist/orb/root/orb-root.js +16 -27
- package/dist/outline/root/outline-root.css.js +24 -122
- package/dist/outline/root/outline-root.d.ts +17 -4
- package/dist/pagination/root/pagination-root.css.js +9 -105
- package/dist/pagination/size/pagination-size.css.js +1 -22
- package/dist/pagination/summary/pagination-summary.css.js +1 -7
- package/dist/pin-input/root/pin-input-root.css.js +2 -73
- package/dist/pin-input/root/pin-input-root.d.ts +12 -2
- package/dist/popover/root/popover-root.css.js +6 -127
- package/dist/progress/root/progress-root.css.js +7 -228
- package/dist/progress/root/progress-root.d.ts +5 -0
- package/dist/qr-code/root/qr-code-root.css.js +1 -57
- package/dist/quote/root/quote-root.css.js +1 -17
- package/dist/quote/root/quote-root.d.ts +2 -0
- package/dist/radio/group/radio-group.css.js +1 -21
- package/dist/radio/root/radio-root.css.js +5 -192
- package/dist/radio/root/radio-root.d.ts +2 -1
- package/dist/rating/root/rating-root.css.js +4 -117
- package/dist/sandbox/frame.d.ts +5 -3
- package/dist/sandbox/frame.js +20 -6
- package/dist/sandbox/index.d.ts +1 -0
- package/dist/sandbox/preview/sandbox-preview.css.js +1 -12
- package/dist/sandbox/preview/sandbox-preview.d.ts +19 -3
- package/dist/sandbox/preview/sandbox-preview.js +17 -11
- package/dist/sandbox/root/sandbox-root.css.js +3 -70
- package/dist/sandbox/root/sandbox-root.d.ts +16 -4
- package/dist/sandbox/root/sandbox-root.js +29 -50
- package/dist/sandbox/source/sandbox-source.css.js +3 -25
- package/dist/sandbox/source/sandbox-source.d.ts +40 -0
- package/dist/sandbox/source/sandbox-source.js +22 -0
- package/dist/sandbox/status-bar/sandbox-status-bar.css.js +1 -21
- package/dist/sandbox/terminal/sandbox-terminal.css.js +5 -106
- package/dist/sandbox/terminal/sandbox-terminal.d.ts +14 -2
- package/dist/sandbox/terminal/sandbox-terminal.js +20 -6
- package/dist/sandbox/tokens.d.ts +39 -0
- package/dist/sandbox/tokens.js +9 -0
- package/dist/sandbox/toolbar/sandbox-toolbar.css.js +1 -36
- package/dist/scatter-chart/root/scatter-chart-root.css.js +11 -137
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +3 -0
- package/dist/scroll-area/root/scroll-area-root.css.js +14 -181
- package/dist/select/root/select-root.css.js +4 -124
- package/dist/shared/chart/series.css.js +1 -36
- package/dist/shared/chart/terminus.css.js +1 -47
- package/dist/shared/chart/tooltip.css.js +1 -68
- package/dist/shared/collection/state.css.js +1 -9
- package/dist/shared/field/field-frame.css.js +3 -33
- package/dist/shared/field/field-inline.css.js +1 -4
- package/dist/shared/field/field-segments.css.js +1 -39
- package/dist/shared/field/field-stacked.css.js +1 -5
- package/dist/shared/field/field.css.js +3 -57
- package/dist/shared/floating/entrance.css.js +3 -34
- package/dist/shared/floating/panel.css.js +2 -17
- package/dist/shared/glyph/glyph.css.js +1 -5
- package/dist/shared/live/live.css.js +1 -8
- package/dist/shared/tags/tags.css.js +1 -39
- package/dist/shared/viewport/viewport.css.js +8 -135
- package/dist/skeleton/root/skeleton-root.css.js +12 -120
- package/dist/skeleton/root/skeleton-root.d.ts +1 -0
- package/dist/skip-link/root/skip-link-root.css.js +2 -35
- package/dist/skip-link/root/skip-link-root.d.ts +3 -3
- package/dist/slider/root/slider-root.css.js +35 -320
- package/dist/slider/root/slider-root.d.ts +2 -0
- package/dist/sparkline/root/sparkline-root.css.js +10 -96
- package/dist/sparkline/root/sparkline-root.d.ts +8 -0
- package/dist/sparkline/root/sparkline-root.js +2 -1
- package/dist/speed-dial/item/speed-dial-item.css.js +6 -74
- package/dist/speed-dial/item/speed-dial-item.d.ts +3 -0
- package/dist/speed-dial/root/speed-dial-root.css.js +3 -144
- package/dist/speed-dial/root/speed-dial-root.d.ts +7 -1
- package/dist/speed-dial/root/speed-dial-root.js +0 -1
- package/dist/splitter/root/splitter-root.css.js +11 -176
- package/dist/stat/group/stat-group.css.js +1 -36
- package/dist/stat/root/stat-root.css.js +3 -58
- package/dist/steps/root/steps-root.css.js +13 -70
- package/dist/steps/root/steps-root.d.ts +5 -0
- package/dist/steps/step/step.css.js +5 -156
- package/dist/switch/root/switch-root.css.js +2 -110
- package/dist/table/cell/table-cell.css.js +1 -33
- package/dist/table/column/table-column.css.js +7 -105
- package/dist/table/root/table-root.css.js +1 -43
- package/dist/table/row/table-row.css.js +6 -18
- package/dist/table/row/table-row.d.ts +2 -0
- package/dist/tabs/panel/tab-panel.css.js +2 -17
- package/dist/tabs/root/tabs-root.css.js +6 -177
- package/dist/tabs/root/tabs-root.d.ts +4 -0
- package/dist/tabs/tab/tab.css.js +10 -51
- package/dist/tabs/tab/tab.d.ts +7 -0
- package/dist/tag/group/tag-group.css.js +1 -5
- package/dist/tag/root/tag-root.css.js +1 -166
- package/dist/tag/root/tag-root.d.ts +2 -0
- package/dist/text/clamp.d.ts +5 -2
- package/dist/text/clamp.js +3 -1
- package/dist/text/root/text-root.css.js +11 -206
- package/dist/text/root/text-root.d.ts +2 -1
- package/dist/textarea/root/textarea-root.css.js +3 -44
- package/dist/time-input/root/time-input-root.css.js +7 -106
- package/dist/time-picker/root/time-picker-root.css.js +10 -134
- package/dist/time-picker/root/time-picker-root.d.ts +1 -0
- package/dist/timeline/group/timeline-group.css.js +1 -31
- package/dist/timeline/item/timeline-item.css.js +3 -134
- package/dist/timeline/root/timeline-root.css.js +1 -66
- package/dist/toast/item/toast-item.css.js +8 -240
- package/dist/toast/root/toast-root.css.js +1 -85
- package/dist/toast/root/toast-root.d.ts +1 -0
- package/dist/toast/root/toast-root.js +3 -1
- package/dist/toggle/group/toggle-group.css.js +9 -125
- package/dist/toggle/group/toggle-group.d.ts +6 -1
- package/dist/toggle/root/toggle-root.css.js +1 -23
- package/dist/toggle/root/toggle-root.d.ts +6 -0
- package/dist/toolbar/root/toolbar-root.css.js +1 -35
- package/dist/toolbar/root/toolbar-root.d.ts +4 -0
- package/dist/tooltip/root/tooltip-root.css.js +5 -101
- package/dist/tooltip/root/tooltip-root.d.ts +6 -0
- package/dist/tour/root/tour-root.css.js +2 -28
- package/dist/tour/stop/tour-stop.css.js +2 -109
- package/dist/tree/item/tree-item.css.js +14 -230
- package/dist/tree/item/tree-item.d.ts +9 -0
- package/dist/tree/root/tree-root.css.js +1 -40
- package/dist/trend/root/trend-root.css.js +5 -55
- package/dist/trend/root/trend-root.d.ts +2 -2
- package/dist/video/root/video-root.css.js +16 -398
- package/dist/video-playlist/item/video-playlist-item.css.js +12 -86
- package/dist/video-playlist/item/video-playlist-item.d.ts +12 -0
- package/dist/video-playlist/menu/video-playlist-menu.css.js +1 -41
- package/dist/video-playlist/root/video-playlist-root.css.js +1 -19
- package/dist/video-playlist/root/video-playlist-root.d.ts +2 -0
- package/dist/virtual-list/root/virtual-list-root.css.js +5 -28
- package/dist/virtual-list/root/virtual-list-root.d.ts +7 -1
- package/lint.json +1 -1
- package/package.json +9 -9
- package/types/jsx.d.ts +6997 -1154
- package/types/svelte.d.ts +1 -0
- package/types/vue.d.ts +2081 -271
|
@@ -1,89 +1,5 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host([divided]) ::slotted(*:not(:first-child)) {
|
|
9
|
-
border-block-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
:host([kind="ordered"]),
|
|
13
|
-
:host([kind="unordered"]) {
|
|
14
|
-
|
|
15
|
-
contain: style;
|
|
16
|
-
|
|
17
|
-
padding-inline-start: var(--list-marker-gutter, var(--helix-space-md));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:host([kind="ordered"]) ::slotted(*),
|
|
21
|
-
:host([kind="unordered"]) ::slotted(*) {
|
|
22
|
-
display: list-item;
|
|
23
|
-
list-style-position: outside;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
:host([kind="ordered"]) ::slotted(*) {
|
|
27
|
-
list-style-type: decimal;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
:host([kind="ordered"][type="a"]) ::slotted(*) {
|
|
31
|
-
list-style-type: lower-alpha;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:host([kind="ordered"][type="A"]) ::slotted(*) {
|
|
35
|
-
list-style-type: upper-alpha;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([kind="ordered"][type="i"]) ::slotted(*) {
|
|
39
|
-
list-style-type: lower-roman;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:host([kind="ordered"][type="I"]) ::slotted(*) {
|
|
43
|
-
list-style-type: upper-roman;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:host([kind="unordered"]) ::slotted(*) {
|
|
47
|
-
list-style-type: disc;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
:host([kind="ordered"]) ::slotted(*) {
|
|
51
|
-
counter-increment: list-item var(--list-step, 1);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
:host([kind="ordered"]) ::slotted(:first-child) {
|
|
55
|
-
counter-set: list-item var(--list-first);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
:host([marker="rail"]) {
|
|
59
|
-
counter-reset: list-rail;
|
|
60
|
-
|
|
61
|
-
padding-inline-start: var(--helix-space-none);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
:host([marker="rail"]) ::slotted(*) {
|
|
65
|
-
--list-item-rail-content: counter(list-rail, var(--list-rail-style, decimal-leading-zero));
|
|
66
|
-
|
|
67
|
-
--list-item-rail-display: block;
|
|
68
|
-
counter-increment: list-rail var(--list-step, 1);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:host([marker="rail"]) ::slotted(:first-child) {
|
|
72
|
-
counter-set: list-rail var(--list-first);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host([kind="ordered"][marker="rail"]) ::slotted(*),
|
|
76
|
-
:host([kind="unordered"][marker="rail"]) ::slotted(*) {
|
|
77
|
-
display: block;
|
|
78
|
-
list-style: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
:host([kind="description"]) ::slotted(*) {
|
|
82
|
-
--list-item-term-weight: var(--helix-weight-semibold);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@media print {
|
|
86
|
-
:host {
|
|
87
|
-
print-color-adjust: economy;
|
|
88
|
-
}
|
|
89
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {display: flex;flex-direction: column;gap: var(--list-gap, var(--helix-space-none));}:host([divided]) ::slotted(*:not(:first-child)) {border-block-start: var(--helix-border-thin) solid var(--helix-color-border);}:host([kind="ordered"]),
|
|
3
|
+
:host([kind="unordered"]) {contain: style;padding-inline-start: var(--list-marker-gutter, var(--helix-space-md));}:host([kind="ordered"]) ::slotted(*),
|
|
4
|
+
:host([kind="unordered"]) ::slotted(*) {display: list-item;list-style-position: outside;}:host([kind="ordered"]) ::slotted(*) {list-style-type: decimal;}:host([kind="ordered"][type="a"]) ::slotted(*) {list-style-type: lower-alpha;}:host([kind="ordered"][type="A"]) ::slotted(*) {list-style-type: upper-alpha;}:host([kind="ordered"][type="i"]) ::slotted(*) {list-style-type: lower-roman;}:host([kind="ordered"][type="I"]) ::slotted(*) {list-style-type: upper-roman;}:host([kind="unordered"]) ::slotted(*) {list-style-type: disc;}:host([kind="ordered"]) ::slotted(*) {counter-increment: list-item var(--list-step, 1);}:host([kind="ordered"]) ::slotted(:first-child) {counter-set: list-item var(--list-first);}:host([marker="rail"]) {counter-reset: list-rail;padding-inline-start: var(--helix-space-none);}:host([marker="rail"]) ::slotted(*) {--list-item-rail-content: counter(list-rail, var(--list-rail-style, decimal-leading-zero));--list-item-rail-display: block;counter-increment: list-rail var(--list-step, 1);}:host([marker="rail"]) ::slotted(:first-child) {counter-set: list-rail var(--list-first);}:host([kind="ordered"][marker="rail"]) ::slotted(*),
|
|
5
|
+
:host([kind="unordered"][marker="rail"]) ::slotted(*) {display: block;list-style: none;}:host([kind="description"]) ::slotted(*) {--list-item-term-weight: var(--helix-weight-semibold);}@media print {:host {print-color-adjust: economy;}}`);
|
|
@@ -1,103 +1,5 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
gap: var(--helix-space-2xs);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
[part="items"] {
|
|
9
|
-
|
|
10
|
-
--option-radius: var(--helix-radii-none);
|
|
11
|
-
|
|
12
|
-
background-color: var(--listbox-background-color, var(--helix-color-surface));
|
|
13
|
-
border: var(--listbox-border, var(--helix-border-thin) solid var(--helix-color-border));
|
|
14
|
-
border-radius: var(--helix-radii-sm);
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
gap: var(--helix-space-none);
|
|
18
|
-
max-block-size: var(--listbox-max-block-size, 14rem);
|
|
19
|
-
overflow-y: auto;
|
|
20
|
-
|
|
21
|
-
padding-block: var(--helix-space-2xs);
|
|
22
|
-
padding-inline: var(--helix-space-none);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[part="items"]:focus-visible {
|
|
26
|
-
border-color: var(--helix-color-primary);
|
|
27
|
-
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
28
|
-
outline-offset: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:host(:state(invalid)) [part="items"],
|
|
32
|
-
:host(:state(invalid)) [part="items"]:focus-visible {
|
|
33
|
-
border-color: var(--helix-color-danger);
|
|
34
|
-
outline-color: var(--helix-color-danger);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:host(:disabled) {
|
|
38
|
-
opacity: 0.5;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
:host(:disabled) [part="items"] {
|
|
42
|
-
cursor: not-allowed;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
[part="empty"],
|
|
46
|
-
[part="loading"] {
|
|
47
|
-
--_collection-inset-block: var(--helix-space-xs);
|
|
48
|
-
--_collection-inset-inline: var(--helix-space-xs);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
[part="filter-icon"] {
|
|
52
|
-
align-items: center;
|
|
53
|
-
color: var(--helix-color-foreground-subtle);
|
|
54
|
-
display: inline-flex;
|
|
55
|
-
flex: 0 0 auto;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
[part="filter-icon"] svg,
|
|
59
|
-
slot[name="filter-icon"]::slotted(*) {
|
|
60
|
-
--icon-size: var(--helix-size-icon-tight);
|
|
61
|
-
|
|
62
|
-
block-size: var(--helix-size-icon-tight);
|
|
63
|
-
inline-size: var(--helix-size-icon-tight);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[part="search"] {
|
|
67
|
-
align-items: center;
|
|
68
|
-
border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
69
|
-
display: flex;
|
|
70
|
-
gap: var(--helix-space-2xs);
|
|
71
|
-
padding: var(--helix-space-2xs);
|
|
72
|
-
padding-inline-start: var(--helix-space-xs);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
[part="search-field"] {
|
|
76
|
-
appearance: none;
|
|
77
|
-
flex: 1 1 auto;
|
|
78
|
-
min-inline-size: 0;
|
|
79
|
-
background-color: transparent;
|
|
80
|
-
block-size: var(--helix-size-control-tight);
|
|
81
|
-
border: none;
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
color: var(--helix-color-foreground);
|
|
84
|
-
font-family: var(--helix-font-sans);
|
|
85
|
-
font-size: var(--helix-text-sm);
|
|
86
|
-
font-weight: var(--helix-weight-medium);
|
|
87
|
-
inline-size: 100%;
|
|
88
|
-
padding-inline: var(--helix-space-xs);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
[part="search-field"]:focus-visible {
|
|
92
|
-
outline: none;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
:host([loading]) [part="items"] {
|
|
96
|
-
opacity: 0.5;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@media print {
|
|
100
|
-
:host {
|
|
101
|
-
print-color-adjust: exact;
|
|
102
|
-
}
|
|
103
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {display: flex;flex-direction: column;gap: var(--helix-space-2xs);}[part="items"] {--option-radius: var(--helix-radii-none);background-color: var(--listbox-background-color, var(--helix-color-surface));border: var(--listbox-border, var(--helix-border-thin) solid var(--helix-color-border));border-radius: var(--helix-radii-sm);display: flex;flex-direction: column;gap: var(--helix-space-none);max-block-size: var(--listbox-max-block-size, 14rem);overflow-y: auto;padding-block: var(--helix-space-2xs);padding-inline: var(--helix-space-none);}[part="items"]:focus-visible {border-color: var(--helix-color-primary);outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: 0;}:host(:state(invalid)) [part="items"],
|
|
3
|
+
:host(:state(invalid)) [part="items"]:focus-visible {border-color: var(--helix-color-danger);outline-color: var(--helix-color-danger);}:host(:disabled) {opacity: 0.5;}:host(:disabled) [part="items"] {cursor: not-allowed;}[part="empty"],
|
|
4
|
+
[part="loading"] {--_collection-inset-block: var(--helix-space-xs);--_collection-inset-inline: var(--helix-space-xs);}[part="error"] {color: var(--listbox-error-color, var(--helix-color-danger));font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);padding: var(--helix-space-xs);text-align: center;}[part="filter-icon"] {align-items: center;color: var(--helix-color-foreground-subtle);display: inline-flex;flex: 0 0 auto;}[part="filter-icon"] svg,
|
|
5
|
+
slot[name="filter-icon"]::slotted(*) {--icon-size: var(--helix-size-icon-tight);block-size: var(--helix-size-icon-tight);inline-size: var(--helix-size-icon-tight);}[part="search"] {align-items: center;border-block-end: var(--helix-border-thin) solid var(--helix-color-border);display: flex;gap: var(--helix-space-2xs);padding: var(--helix-space-2xs);padding-inline-start: var(--helix-space-xs);}[part="search-field"] {appearance: none;flex: 1 1 auto;min-inline-size: 0;background-color: transparent;block-size: var(--helix-size-control-tight);border: none;box-sizing: border-box;color: var(--helix-color-foreground);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);font-weight: var(--helix-weight-medium);inline-size: 100%;padding-inline: var(--helix-space-xs);}[part="search-field"]:focus-visible {outline: none;}:host([loading]) [part="items"] {opacity: 0.5;}@media print {:host {print-color-adjust: exact;}}`);
|
|
@@ -19,6 +19,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
19
19
|
*
|
|
20
20
|
* @cssproperty --listbox-background-color - The panel's fill. Set it to `transparent` when the list is already inside a panel.
|
|
21
21
|
* @cssproperty --listbox-border - The panel's border, as a shorthand. Set it to `none` when the list is already inside a panel.
|
|
22
|
+
* @cssproperty --listbox-error-color - The color of the line shown while `load-error` is set.
|
|
22
23
|
* @cssproperty --listbox-max-block-size - Maximum height of the list before it scrolls.
|
|
23
24
|
*/
|
|
24
25
|
export declare class HelixListbox extends HelixHeadlessListbox {
|
|
@@ -1,172 +1,6 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
|
|
4
|
-
--
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
--_loader-stroke: 2;
|
|
8
|
-
--_loader-turn: 0.8s;
|
|
9
|
-
color: inherit;
|
|
10
|
-
|
|
11
|
-
display: inline-grid;
|
|
12
|
-
flex-shrink: 0;
|
|
13
|
-
place-items: center;
|
|
14
|
-
vertical-align: middle;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:host([size="sm"]) {
|
|
18
|
-
--_loader-size: var(--helix-size-loader-sm);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:host([size="lg"]) {
|
|
22
|
-
--_loader-size: var(--helix-size-loader-lg);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[part="svg"] {
|
|
26
|
-
animation: helix-loader-turn var(--_loader-turn) linear infinite;
|
|
27
|
-
grid-area: 1 / 1;
|
|
28
|
-
block-size: var(--loader-size, var(--_loader-size));
|
|
29
|
-
inline-size: var(--loader-size, var(--_loader-size));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
[part="track"] {
|
|
33
|
-
animation: helix-loader-breathe var(--_loader-breathe) ease-in-out infinite;
|
|
34
|
-
opacity: 0.18;
|
|
35
|
-
stroke: var(--loader-track-color, currentColor);
|
|
36
|
-
stroke-width: var(--_loader-stroke);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
[part="mark"] {
|
|
40
|
-
animation: helix-loader-breathe-mark var(--_loader-breathe) ease-in-out infinite;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@keyframes helix-loader-breathe {
|
|
44
|
-
0%,
|
|
45
|
-
100% {
|
|
46
|
-
opacity: 0.12;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
50% {
|
|
50
|
-
opacity: 0.24;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@keyframes helix-loader-breathe-mark {
|
|
55
|
-
0%,
|
|
56
|
-
100% {
|
|
57
|
-
opacity: 0.45;
|
|
58
|
-
scale: 0.82;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
50% {
|
|
62
|
-
opacity: 1;
|
|
63
|
-
scale: 1;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
[part="indicator"] {
|
|
68
|
-
stroke: var(--loader-color, currentColor);
|
|
69
|
-
stroke-dasharray: 50, 100;
|
|
70
|
-
stroke-linecap: round;
|
|
71
|
-
stroke-width: var(--_loader-stroke);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@keyframes helix-loader-turn {
|
|
75
|
-
to {
|
|
76
|
-
transform: rotate(1turn);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@media (prefers-reduced-motion: reduce) {
|
|
81
|
-
[part="track"],
|
|
82
|
-
[part="mark"] {
|
|
83
|
-
animation: none;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@media (prefers-reduced-motion: reduce) {
|
|
88
|
-
[part="svg"] {
|
|
89
|
-
animation-duration: calc(var(--helix-duration-slow) * 12);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
[part="mark"] {
|
|
94
|
-
|
|
95
|
-
--_mark-size: calc(var(--loader-size, var(--_loader-size)) * 0.4);
|
|
96
|
-
--icon-size: var(--_mark-size);
|
|
97
|
-
|
|
98
|
-
align-items: center;
|
|
99
|
-
block-size: var(--_mark-size);
|
|
100
|
-
display: flex;
|
|
101
|
-
grid-area: 1 / 1;
|
|
102
|
-
inline-size: var(--_mark-size);
|
|
103
|
-
justify-content: center;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
[part="mark"] ::slotted(*) {
|
|
107
|
-
block-size: 100%;
|
|
108
|
-
inline-size: 100%;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
:host([variant="pulse"]) [part="indicator"] {
|
|
112
|
-
display: none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
:host([variant="pulse"]) [part="svg"] {
|
|
116
|
-
animation: none;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:host([variant="pulse"]) {
|
|
120
|
-
--_loader-size: calc(var(--helix-size-loader-lg) * 2);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
:host([variant="pulse"][size="sm"]) {
|
|
124
|
-
--_loader-size: var(--helix-size-loader-lg);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
:host([variant="pulse"][size="lg"]) {
|
|
128
|
-
--_loader-size: calc(var(--helix-size-loader-lg) * 3);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
:host([variant="pulse"]) [part="track"] {
|
|
132
|
-
display: none;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
:host([variant="pulse"]) [part="mark"] {
|
|
136
|
-
animation-name: helix-loader-pulse-mark;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@keyframes helix-loader-pulse-mark {
|
|
140
|
-
0%,
|
|
141
|
-
100% {
|
|
142
|
-
opacity: 0.35;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
50% {
|
|
146
|
-
opacity: 1;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@media (prefers-reduced-motion: reduce) {
|
|
151
|
-
|
|
152
|
-
:host([variant="pulse"]) [part="mark"] {
|
|
153
|
-
animation: none;
|
|
154
|
-
opacity: 1;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
[part="svg"][hidden] {
|
|
159
|
-
display: inline;
|
|
160
|
-
visibility: hidden;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
[part="mark"][hidden] {
|
|
164
|
-
display: flex;
|
|
165
|
-
visibility: hidden;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
@media print {
|
|
169
|
-
:host {
|
|
170
|
-
display: none;
|
|
171
|
-
}
|
|
172
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {--_loader-size: var(--helix-size-loader-md);--_loader-breathe: 2.4s;--_loader-stroke: 2;--_loader-turn: 0.8s;color: inherit;display: inline-grid;flex-shrink: 0;place-items: center;vertical-align: middle;}:host([size="sm"]) {--_loader-size: var(--helix-size-loader-sm);}:host([size="lg"]) {--_loader-size: var(--helix-size-loader-lg);}[part="svg"] {animation: helix-loader-turn var(--loader-duration, var(--_loader-turn)) linear infinite;grid-area: 1 / 1;block-size: var(--loader-size, var(--_loader-size));inline-size: var(--loader-size, var(--_loader-size));}[part="track"] {animation: helix-loader-breathe var(--_loader-breathe) ease-in-out infinite;opacity: 0.18;stroke: var(--loader-track-color, currentColor);stroke-width: var(--loader-track-width, var(--_loader-stroke));}[part="mark"] {animation: helix-loader-breathe-mark var(--_loader-breathe) ease-in-out infinite;}@keyframes helix-loader-breathe {0%,
|
|
3
|
+
100% {opacity: 0.12;}50% {opacity: 0.24;}}@keyframes helix-loader-breathe-mark {0%,
|
|
4
|
+
100% {opacity: 0.45;scale: 0.82;}50% {opacity: 1;scale: 1;}}[part="indicator"] {stroke: var(--loader-color, currentColor);stroke-dasharray: 50, 100;stroke-linecap: round;stroke-width: var(--loader-track-width, var(--_loader-stroke));}@keyframes helix-loader-turn {to {transform: rotate(1turn);}}@media (prefers-reduced-motion: reduce) {[part="track"],
|
|
5
|
+
[part="mark"] {animation: none;}}@media (prefers-reduced-motion: reduce) {[part="svg"] {animation-duration: calc(var(--helix-duration-slow) * 12);}}[part="mark"] {--_mark-size: calc(var(--loader-size, var(--_loader-size)) * 0.4);--icon-size: var(--_mark-size);align-items: center;block-size: var(--_mark-size);display: flex;grid-area: 1 / 1;inline-size: var(--_mark-size);justify-content: center;}[part="mark"] ::slotted(*) {block-size: 100%;inline-size: 100%;}:host([variant="pulse"]) [part="indicator"] {display: none;}:host([variant="pulse"]) [part="svg"] {animation: none;}:host([variant="pulse"]) {--_loader-size: calc(var(--helix-size-loader-lg) * 2);}:host([variant="pulse"][size="sm"]) {--_loader-size: var(--helix-size-loader-lg);}:host([variant="pulse"][size="lg"]) {--_loader-size: calc(var(--helix-size-loader-lg) * 3);}:host([variant="pulse"]) [part="track"] {display: none;}:host([variant="pulse"]) [part="mark"] {animation-name: helix-loader-pulse-mark;}@keyframes helix-loader-pulse-mark {0%,
|
|
6
|
+
100% {opacity: 0.35;}50% {opacity: 1;}}@media (prefers-reduced-motion: reduce) {:host([variant="pulse"]) [part="mark"] {animation: none;opacity: 1;}}[part="svg"][hidden] {display: inline;visibility: hidden;}[part="mark"][hidden] {display: flex;visibility: hidden;}@media print {:host {display: none;}}`);
|
|
@@ -20,8 +20,10 @@ import type { CSSResultGroup } from 'lit';
|
|
|
20
20
|
* @documentation https://fusion.dev/helix/components/loader
|
|
21
21
|
*
|
|
22
22
|
* @cssproperty --loader-color - Color of the moving arc.
|
|
23
|
+
* @cssproperty --loader-duration - How long one turn of the arc takes, 0.8s by default. With motion reduced the turn slows to a crawl whatever this says.
|
|
23
24
|
* @cssproperty --loader-size - Diameter. Defaults to the size token that `size` picks, which is 1.5rem at the default density.
|
|
24
25
|
* @cssproperty --loader-track-color - Color of the circle behind the arc.
|
|
26
|
+
* @cssproperty --loader-track-width - Width of the arc and the circle behind it, in units of a 24-unit drawing. Defaults to 2.
|
|
25
27
|
*/
|
|
26
28
|
export declare class HelixLoader extends HelixHeadlessLoader {
|
|
27
29
|
/**
|
|
@@ -1,24 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
color: var(--map-area-color, var(--helix-color-primary));
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:host([tone="accent"]) {
|
|
8
|
-
color: var(--helix-color-accent);
|
|
9
|
-
}
|
|
10
|
-
:host([tone="danger"]) {
|
|
11
|
-
color: var(--helix-color-danger);
|
|
12
|
-
}
|
|
13
|
-
:host([tone="info"]) {
|
|
14
|
-
color: var(--helix-color-info);
|
|
15
|
-
}
|
|
16
|
-
:host([tone="neutral"]) {
|
|
17
|
-
color: var(--helix-color-foreground-muted);
|
|
18
|
-
}
|
|
19
|
-
:host([tone="success"]) {
|
|
20
|
-
color: var(--helix-color-success);
|
|
21
|
-
}
|
|
22
|
-
:host([tone="warning"]) {
|
|
23
|
-
color: var(--helix-color-warning);
|
|
24
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {color: var(--map-area-color, var(--helix-color-primary));display: none;}:host([tone="accent"]) {color: var(--helix-color-accent);}:host([tone="danger"]) {color: var(--helix-color-danger);}:host([tone="info"]) {color: var(--helix-color-info);}:host([tone="neutral"]) {color: var(--helix-color-foreground-muted);}:host([tone="success"]) {color: var(--helix-color-success);}:host([tone="warning"]) {color: var(--helix-color-warning);}`);
|
|
@@ -1,27 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
color: var(--map-buildings-color, var(--helix-color-surface-raised));
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:host([tone="accent"]) {
|
|
8
|
-
color: var(--helix-color-accent);
|
|
9
|
-
}
|
|
10
|
-
:host([tone="danger"]) {
|
|
11
|
-
color: var(--helix-color-danger);
|
|
12
|
-
}
|
|
13
|
-
:host([tone="info"]) {
|
|
14
|
-
color: var(--helix-color-info);
|
|
15
|
-
}
|
|
16
|
-
:host([tone="neutral"]) {
|
|
17
|
-
color: var(--helix-color-foreground-muted);
|
|
18
|
-
}
|
|
19
|
-
:host([tone="primary"]) {
|
|
20
|
-
color: var(--helix-color-primary);
|
|
21
|
-
}
|
|
22
|
-
:host([tone="success"]) {
|
|
23
|
-
color: var(--helix-color-success);
|
|
24
|
-
}
|
|
25
|
-
:host([tone="warning"]) {
|
|
26
|
-
color: var(--helix-color-warning);
|
|
27
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {color: var(--map-buildings-color, var(--helix-color-surface-raised));display: none;}:host([tone="accent"]) {color: var(--helix-color-accent);}:host([tone="danger"]) {color: var(--helix-color-danger);}:host([tone="info"]) {color: var(--helix-color-info);}:host([tone="neutral"]) {color: var(--helix-color-foreground-muted);}:host([tone="primary"]) {color: var(--helix-color-primary);}:host([tone="success"]) {color: var(--helix-color-success);}:host([tone="warning"]) {color: var(--helix-color-warning);}`);
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
color: var(
|
|
2
|
+
export const styles = createSheet(`:host {color: var(
|
|
4
3
|
--map-contours-color,
|
|
5
4
|
color-mix(in oklab, oklch(0.55 0.08 60) 55%, var(--helix-color-foreground))
|
|
6
|
-
);
|
|
7
|
-
display: none;
|
|
8
|
-
}`);
|
|
5
|
+
);display: none;}`);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
color: var(--map-landcover-ground, var(--helix-color-surface));
|
|
4
|
-
display: none;
|
|
5
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {color: var(--map-landcover-ground, var(--helix-color-surface));display: none;}`);
|