@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,172 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
|
|
4
|
-
--_grid-column-gap: var(--_grid-gap);
|
|
5
|
-
|
|
6
|
-
--_grid-gap: var(--helix-space-none);
|
|
7
|
-
--_grid-row-gap: var(--_grid-gap);
|
|
8
|
-
|
|
9
|
-
column-gap: var(--_grid-column-gap);
|
|
10
|
-
display: grid;
|
|
11
|
-
grid-template-areas: var(--grid-areas, none);
|
|
12
|
-
grid-template-columns: var(--grid-columns, var(--_grid-template, minmax(0, 1fr)));
|
|
13
|
-
grid-template-rows: var(--grid-rows, none);
|
|
14
|
-
row-gap: var(--_grid-row-gap);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:host([columns="2"]) {
|
|
18
|
-
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(2, minmax(0, 1fr))));
|
|
19
|
-
}
|
|
20
|
-
:host([columns="3"]) {
|
|
21
|
-
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(3, minmax(0, 1fr))));
|
|
22
|
-
}
|
|
23
|
-
:host([columns="4"]) {
|
|
24
|
-
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(4, minmax(0, 1fr))));
|
|
25
|
-
}
|
|
26
|
-
:host([columns="5"]) {
|
|
27
|
-
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(5, minmax(0, 1fr))));
|
|
28
|
-
}
|
|
29
|
-
:host([columns="6"]) {
|
|
30
|
-
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(6, minmax(0, 1fr))));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([gap="none"]) {
|
|
34
|
-
--_grid-gap: var(--helix-space-none);
|
|
35
|
-
}
|
|
36
|
-
:host([gap="2xs"]) {
|
|
37
|
-
--_grid-gap: var(--helix-space-2xs);
|
|
38
|
-
}
|
|
39
|
-
:host([gap="xs"]) {
|
|
40
|
-
--_grid-gap: var(--helix-space-xs);
|
|
41
|
-
}
|
|
42
|
-
:host([gap="sm"]) {
|
|
43
|
-
--_grid-gap: var(--helix-space-sm);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:host([gap="md"]) {
|
|
47
|
-
--_grid-gap: var(--helix-space-md);
|
|
48
|
-
}
|
|
49
|
-
:host([gap="lg"]) {
|
|
50
|
-
--_grid-gap: var(--helix-space-lg);
|
|
51
|
-
}
|
|
52
|
-
:host([gap="xl"]) {
|
|
53
|
-
--_grid-gap: var(--helix-space-xl);
|
|
54
|
-
}
|
|
55
|
-
:host([gap="2xl"]) {
|
|
56
|
-
--_grid-gap: var(--helix-space-2xl);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host([gap="3xl"]) {
|
|
60
|
-
--_grid-gap: var(--helix-space-3xl);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:host([row-gap="none"]) {
|
|
64
|
-
--_grid-row-gap: var(--helix-space-none);
|
|
65
|
-
}
|
|
66
|
-
:host([row-gap="2xs"]) {
|
|
67
|
-
--_grid-row-gap: var(--helix-space-2xs);
|
|
68
|
-
}
|
|
69
|
-
:host([row-gap="xs"]) {
|
|
70
|
-
--_grid-row-gap: var(--helix-space-xs);
|
|
71
|
-
}
|
|
72
|
-
:host([row-gap="sm"]) {
|
|
73
|
-
--_grid-row-gap: var(--helix-space-sm);
|
|
74
|
-
}
|
|
75
|
-
:host([row-gap="md"]) {
|
|
76
|
-
--_grid-row-gap: var(--helix-space-md);
|
|
77
|
-
}
|
|
78
|
-
:host([row-gap="lg"]) {
|
|
79
|
-
--_grid-row-gap: var(--helix-space-lg);
|
|
80
|
-
}
|
|
81
|
-
:host([row-gap="xl"]) {
|
|
82
|
-
--_grid-row-gap: var(--helix-space-xl);
|
|
83
|
-
}
|
|
84
|
-
:host([row-gap="2xl"]) {
|
|
85
|
-
--_grid-row-gap: var(--helix-space-2xl);
|
|
86
|
-
}
|
|
87
|
-
:host([row-gap="3xl"]) {
|
|
88
|
-
--_grid-row-gap: var(--helix-space-3xl);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
:host([column-gap="none"]) {
|
|
92
|
-
--_grid-column-gap: var(--helix-space-none);
|
|
93
|
-
}
|
|
94
|
-
:host([column-gap="2xs"]) {
|
|
95
|
-
--_grid-column-gap: var(--helix-space-2xs);
|
|
96
|
-
}
|
|
97
|
-
:host([column-gap="xs"]) {
|
|
98
|
-
--_grid-column-gap: var(--helix-space-xs);
|
|
99
|
-
}
|
|
100
|
-
:host([column-gap="sm"]) {
|
|
101
|
-
--_grid-column-gap: var(--helix-space-sm);
|
|
102
|
-
}
|
|
103
|
-
:host([column-gap="md"]) {
|
|
104
|
-
--_grid-column-gap: var(--helix-space-md);
|
|
105
|
-
}
|
|
106
|
-
:host([column-gap="lg"]) {
|
|
107
|
-
--_grid-column-gap: var(--helix-space-lg);
|
|
108
|
-
}
|
|
109
|
-
:host([column-gap="xl"]) {
|
|
110
|
-
--_grid-column-gap: var(--helix-space-xl);
|
|
111
|
-
}
|
|
112
|
-
:host([column-gap="2xl"]) {
|
|
113
|
-
--_grid-column-gap: var(--helix-space-2xl);
|
|
114
|
-
}
|
|
115
|
-
:host([column-gap="3xl"]) {
|
|
116
|
-
--_grid-column-gap: var(--helix-space-3xl);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:host([align-items="start"]) {
|
|
120
|
-
align-items: start;
|
|
121
|
-
}
|
|
122
|
-
:host([align-items="center"]) {
|
|
123
|
-
align-items: center;
|
|
124
|
-
}
|
|
125
|
-
:host([align-items="end"]) {
|
|
126
|
-
align-items: end;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
:host([justify-items="start"]) {
|
|
130
|
-
justify-items: start;
|
|
131
|
-
}
|
|
132
|
-
:host([justify-items="center"]) {
|
|
133
|
-
justify-items: center;
|
|
134
|
-
}
|
|
135
|
-
:host([justify-items="end"]) {
|
|
136
|
-
justify-items: end;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
:host([auto-flow="column"]) {
|
|
140
|
-
grid-auto-flow: column;
|
|
141
|
-
}
|
|
142
|
-
:host([auto-flow="dense"]) {
|
|
143
|
-
grid-auto-flow: dense;
|
|
144
|
-
}
|
|
145
|
-
:host([auto-flow="column-dense"]) {
|
|
146
|
-
grid-auto-flow: column dense;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
::slotted([data-grid-span="full"]) {
|
|
150
|
-
grid-column: 1 / -1;
|
|
151
|
-
}
|
|
152
|
-
::slotted([data-grid-span="2"]) {
|
|
153
|
-
grid-column: span 2;
|
|
154
|
-
}
|
|
155
|
-
::slotted([data-grid-span="3"]) {
|
|
156
|
-
grid-column: span 3;
|
|
157
|
-
}
|
|
158
|
-
::slotted([data-grid-span="4"]) {
|
|
159
|
-
grid-column: span 4;
|
|
160
|
-
}
|
|
161
|
-
::slotted([data-grid-span="5"]) {
|
|
162
|
-
grid-column: span 5;
|
|
163
|
-
}
|
|
164
|
-
::slotted([data-grid-span="6"]) {
|
|
165
|
-
grid-column: span 6;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
@media print {
|
|
169
|
-
:host {
|
|
170
|
-
print-color-adjust: economy;
|
|
171
|
-
}
|
|
172
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {--_grid-column-gap: var(--_grid-gap);--_grid-gap: var(--helix-space-none);--_grid-row-gap: var(--_grid-gap);column-gap: var(--_grid-column-gap);display: grid;grid-template-areas: var(--grid-areas, none);grid-template-columns: var(--grid-columns, var(--_grid-template, minmax(0, 1fr)));grid-template-rows: var(--grid-rows, none);row-gap: var(--_grid-row-gap);}:host([columns="2"]) {grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(2, minmax(0, 1fr))));}:host([columns="3"]) {grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(3, minmax(0, 1fr))));}:host([columns="4"]) {grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(4, minmax(0, 1fr))));}:host([columns="5"]) {grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(5, minmax(0, 1fr))));}:host([columns="6"]) {grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(6, minmax(0, 1fr))));}:host([gap="none"]) {--_grid-gap: var(--helix-space-none);}:host([gap="2xs"]) {--_grid-gap: var(--helix-space-2xs);}:host([gap="xs"]) {--_grid-gap: var(--helix-space-xs);}:host([gap="sm"]) {--_grid-gap: var(--helix-space-sm);}:host([gap="md"]) {--_grid-gap: var(--helix-space-md);}:host([gap="lg"]) {--_grid-gap: var(--helix-space-lg);}:host([gap="xl"]) {--_grid-gap: var(--helix-space-xl);}:host([gap="2xl"]) {--_grid-gap: var(--helix-space-2xl);}:host([gap="3xl"]) {--_grid-gap: var(--helix-space-3xl);}:host([row-gap="none"]) {--_grid-row-gap: var(--helix-space-none);}:host([row-gap="2xs"]) {--_grid-row-gap: var(--helix-space-2xs);}:host([row-gap="xs"]) {--_grid-row-gap: var(--helix-space-xs);}:host([row-gap="sm"]) {--_grid-row-gap: var(--helix-space-sm);}:host([row-gap="md"]) {--_grid-row-gap: var(--helix-space-md);}:host([row-gap="lg"]) {--_grid-row-gap: var(--helix-space-lg);}:host([row-gap="xl"]) {--_grid-row-gap: var(--helix-space-xl);}:host([row-gap="2xl"]) {--_grid-row-gap: var(--helix-space-2xl);}:host([row-gap="3xl"]) {--_grid-row-gap: var(--helix-space-3xl);}:host([column-gap="none"]) {--_grid-column-gap: var(--helix-space-none);}:host([column-gap="2xs"]) {--_grid-column-gap: var(--helix-space-2xs);}:host([column-gap="xs"]) {--_grid-column-gap: var(--helix-space-xs);}:host([column-gap="sm"]) {--_grid-column-gap: var(--helix-space-sm);}:host([column-gap="md"]) {--_grid-column-gap: var(--helix-space-md);}:host([column-gap="lg"]) {--_grid-column-gap: var(--helix-space-lg);}:host([column-gap="xl"]) {--_grid-column-gap: var(--helix-space-xl);}:host([column-gap="2xl"]) {--_grid-column-gap: var(--helix-space-2xl);}:host([column-gap="3xl"]) {--_grid-column-gap: var(--helix-space-3xl);}:host([align-items="start"]) {align-items: start;}:host([align-items="center"]) {align-items: center;}:host([align-items="end"]) {align-items: end;}:host([justify-items="start"]) {justify-items: start;}:host([justify-items="center"]) {justify-items: center;}:host([justify-items="end"]) {justify-items: end;}:host([auto-flow="column"]) {grid-auto-flow: column;}:host([auto-flow="dense"]) {grid-auto-flow: dense;}:host([auto-flow="column-dense"]) {grid-auto-flow: column dense;}::slotted([data-grid-span="full"]) {grid-column: 1 / -1;}::slotted([data-grid-span="2"]) {grid-column: span 2;}::slotted([data-grid-span="3"]) {grid-column: span 3;}::slotted([data-grid-span="4"]) {grid-column: span 4;}::slotted([data-grid-span="5"]) {grid-column: span 5;}::slotted([data-grid-span="6"]) {grid-column: span 6;}@media print {:host {print-color-adjust: economy;}}`);
|
|
@@ -19,7 +19,10 @@ import type { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
|
19
19
|
*
|
|
20
20
|
* **A child can span columns with `data-grid-span`.** `data-grid-span="full"`
|
|
21
21
|
* runs from the first column to the last, such as a heading across a set of
|
|
22
|
-
* cards, and a number from `2` to `6` spans that many columns.
|
|
22
|
+
* cards, and a number from `2` to `6` spans that many columns. A number wider
|
|
23
|
+
* than the grid adds columns of no width beside the real ones, as CSS does,
|
|
24
|
+
* so in a `min` grid, whose count changes with its width, use `full` for a
|
|
25
|
+
* child that must span them all.
|
|
23
26
|
*
|
|
24
27
|
* @since 0.1.0
|
|
25
28
|
* @status stable
|
|
@@ -1,168 +1,21 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
|
|
4
|
-
--_heatmap-cell-width: var(--heatmap-cell-inline-size, var(--heatmap-cell-size, 0.75rem));
|
|
5
|
-
--_heatmap-cell-height: var(--heatmap-cell-height, var(--heatmap-cell-size, 0.75rem));
|
|
6
|
-
|
|
7
|
-
--heatmap-tone-accent: var(--helix-color-accent);
|
|
8
|
-
--heatmap-tone-danger: var(--helix-color-danger);
|
|
9
|
-
--heatmap-tone-info: var(--helix-color-info);
|
|
10
|
-
--heatmap-tone-muted: var(--helix-color-surface-sunken);
|
|
11
|
-
--heatmap-tone-primary: var(--helix-color-primary);
|
|
12
|
-
--heatmap-tone-success: var(--helix-color-success);
|
|
13
|
-
--heatmap-tone-warning: var(--helix-color-warning);
|
|
14
|
-
|
|
15
|
-
--heatmap-tone-1: color-mix(
|
|
2
|
+
export const styles = createSheet(`:host {--_heatmap-cell-width: var(--heatmap-cell-inline-size, var(--heatmap-cell-size, 0.75rem));--_heatmap-cell-height: var(--heatmap-cell-height, var(--heatmap-cell-size, 0.75rem));--heatmap-tone-accent: var(--helix-color-accent);--heatmap-tone-danger: var(--helix-color-danger);--heatmap-tone-info: var(--helix-color-info);--heatmap-tone-muted: var(--helix-color-surface-sunken);--heatmap-tone-primary: var(--helix-color-primary);--heatmap-tone-success: var(--helix-color-success);--heatmap-tone-warning: var(--helix-color-warning);--heatmap-tone-1: color-mix(
|
|
16
3
|
in oklab,
|
|
17
4
|
var(--helix-color-primary-active) 20%,
|
|
18
5
|
var(--helix-color-surface-sunken)
|
|
19
|
-
)
|
|
20
|
-
--heatmap-tone-2: color-mix(
|
|
6
|
+
);--heatmap-tone-2: color-mix(
|
|
21
7
|
in oklab,
|
|
22
8
|
var(--helix-color-primary-active) 40%,
|
|
23
9
|
var(--helix-color-surface-sunken)
|
|
24
|
-
)
|
|
25
|
-
--heatmap-tone-3: color-mix(
|
|
10
|
+
);--heatmap-tone-3: color-mix(
|
|
26
11
|
in oklab,
|
|
27
12
|
var(--helix-color-primary-active) 60%,
|
|
28
13
|
var(--helix-color-surface-sunken)
|
|
29
|
-
)
|
|
30
|
-
--heatmap-tone-4: color-mix(
|
|
14
|
+
);--heatmap-tone-4: color-mix(
|
|
31
15
|
in oklab,
|
|
32
16
|
var(--helix-color-primary-active) 80%,
|
|
33
17
|
var(--helix-color-surface-sunken)
|
|
34
|
-
);
|
|
35
|
-
--heatmap-
|
|
36
|
-
|
|
37
|
-
display: grid;
|
|
38
|
-
grid-template-columns: minmax(0, max-content);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
[part="strip"] {
|
|
42
|
-
display: grid;
|
|
43
|
-
gap: var(--heatmap-gap, var(--helix-space-2xs));
|
|
44
|
-
grid-auto-columns: var(--_heatmap-cell-width);
|
|
45
|
-
grid-auto-flow: column;
|
|
46
|
-
grid-template-rows: repeat(var(--heatmap-rows, 1), var(--_heatmap-cell-height));
|
|
47
|
-
justify-content: start;
|
|
48
|
-
|
|
49
|
-
position: relative;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
[part~="cell"] {
|
|
53
|
-
background-color: var(--heatmap-tone, var(--helix-color-surface-sunken));
|
|
54
|
-
border-radius: var(--heatmap-cell-radius, calc(var(--helix-radii-sm) * 0.5));
|
|
55
|
-
inline-size: var(--_heatmap-cell-width);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
[part="mark"] {
|
|
59
|
-
block-size: 1px;
|
|
60
|
-
inline-size: 1px;
|
|
61
|
-
pointer-events: none;
|
|
62
|
-
position: absolute;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
[part="tooltip-anchor"] {
|
|
66
|
-
inset: 0;
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
position: absolute;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
[part="tooltip-label"] {
|
|
72
|
-
display: block;
|
|
73
|
-
font-weight: var(--helix-weight-medium);
|
|
74
|
-
opacity: 0.72;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
[part~="tooltip-cell"] {
|
|
78
|
-
align-items: baseline;
|
|
79
|
-
display: flex;
|
|
80
|
-
gap: var(--helix-space-sm);
|
|
81
|
-
justify-content: space-between;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
[part="tooltip-name"] {
|
|
85
|
-
opacity: 0.72;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
[part="tooltip-value"] {
|
|
89
|
-
font-variant-numeric: tabular-nums;
|
|
90
|
-
font-weight: var(--helix-weight-medium);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@media (hover: hover) {
|
|
94
|
-
[part~="cell"]:hover {
|
|
95
|
-
outline: var(--helix-border-thin) solid var(--helix-color-foreground);
|
|
96
|
-
outline-offset: var(--helix-border-thin);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
[part="strip"]:not([data-spaced]) [part~="cell"]:hover {
|
|
100
|
-
outline-offset: calc(var(--helix-border-thin) * -1);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
[part~="cell-active"] {
|
|
105
|
-
outline: var(--helix-border-thin) solid var(--helix-color-foreground);
|
|
106
|
-
outline-offset: var(--helix-border-thin);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
[part="strip"]:not([data-spaced]) [part~="cell-active"] {
|
|
110
|
-
outline-offset: calc(var(--helix-border-thin) * -1);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
[part="strip"]:focus-visible {
|
|
114
|
-
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
115
|
-
outline-offset: var(--helix-size-focus-offset);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
[part~="tooltip-cell-current"] {
|
|
119
|
-
font-weight: var(--helix-weight-medium);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
[part="live"] {
|
|
123
|
-
block-size: 1px;
|
|
124
|
-
clip-path: inset(50%);
|
|
125
|
-
inline-size: 1px;
|
|
126
|
-
margin: var(--helix-space-none);
|
|
127
|
-
overflow: hidden;
|
|
128
|
-
position: absolute;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
[part="footer"] {
|
|
133
|
-
align-items: baseline;
|
|
134
|
-
color: var(--helix-color-foreground-subtle);
|
|
135
|
-
display: grid;
|
|
136
|
-
font-family: var(--helix-font-sans);
|
|
137
|
-
font-size: var(--helix-text-xs);
|
|
138
|
-
gap: var(--helix-space-xs);
|
|
139
|
-
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
140
|
-
padding-block-start: var(--helix-space-xs);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
[part="summary"] {
|
|
144
|
-
text-align: center;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
[part="end"] {
|
|
148
|
-
text-align: end;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
[part="footer"][data-empty] {
|
|
152
|
-
display: none;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
[part="empty"] {
|
|
156
|
-
color: var(--helix-color-foreground-subtle);
|
|
157
|
-
font-family: var(--helix-font-sans);
|
|
158
|
-
font-size: var(--helix-text-sm);
|
|
159
|
-
margin: var(--helix-space-none);
|
|
160
|
-
text-align: center;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@media print {
|
|
164
|
-
[part~="cell"] {
|
|
165
|
-
outline: var(--helix-border-thin) solid var(--helix-color-border);
|
|
166
|
-
outline-offset: calc(var(--helix-border-thin) * -1);
|
|
167
|
-
}
|
|
168
|
-
}`);
|
|
18
|
+
);--heatmap-tone-5: var(--helix-color-primary-active);display: grid;grid-template-columns: minmax(0, max-content);}[part="strip"] {display: grid;gap: var(--heatmap-gap, var(--helix-space-2xs));grid-auto-columns: var(--_heatmap-cell-width);grid-auto-flow: column;grid-template-rows: repeat(var(--heatmap-rows, 1), var(--_heatmap-cell-height));justify-content: start;position: relative;}[part~="cell"] {background-color: var(--heatmap-tone, var(--helix-color-surface-sunken));border-radius: var(--heatmap-cell-radius, calc(var(--helix-radii-sm) * 0.5));inline-size: var(--_heatmap-cell-width);}[part="mark"] {block-size: 1px;inline-size: 1px;pointer-events: none;position: absolute;}[part="tooltip-anchor"] {inset: 0;pointer-events: none;position: absolute;}[part="tooltip-label"] {display: block;font-weight: var(--helix-weight-medium);opacity: 0.72;}[part~="tooltip-cell"] {align-items: baseline;display: flex;gap: var(--helix-space-sm);justify-content: space-between;}[part="tooltip-name"] {opacity: 0.72;}[part="tooltip-value"] {font-variant-numeric: tabular-nums;font-weight: var(--helix-weight-medium);}@media (hover: hover) {[part~="cell"]:hover {outline: var(--helix-border-thin) solid var(--helix-color-foreground);outline-offset: var(--helix-border-thin);}[part="strip"]:not([data-spaced]) [part~="cell"]:hover {outline-offset: calc(var(--helix-border-thin) * -1);}}[part~="cell-active"] {outline: var(--helix-border-thin) solid var(--helix-color-foreground);outline-offset: var(--helix-border-thin);}[part="strip"]:not([data-spaced]) [part~="cell-active"] {outline-offset: calc(var(--helix-border-thin) * -1);}[part~="cell-selected"] {box-shadow: inset 0 0 0 var(--heatmap-selected-width, var(--helix-border-thick))
|
|
19
|
+
var(--heatmap-selected-color, var(--helix-color-primary));}[part="strip"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset);}[part~="tooltip-cell-current"] {font-weight: var(--helix-weight-medium);}[part="live"],
|
|
20
|
+
[part="overview"],
|
|
21
|
+
[part="selection"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap;}[part="footer"] {align-items: baseline;color: var(--helix-color-foreground-subtle);display: grid;font-family: var(--helix-font-sans);font-size: var(--helix-text-xs);gap: var(--helix-space-xs);grid-template-columns: auto minmax(0, 1fr) auto;padding-block-start: var(--helix-space-xs);}[part="summary"] {text-align: center;}[part="end"] {text-align: end;}[part="footer"][data-empty] {display: none;}[part="empty"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center;}@media print {[part~="cell"] {outline: var(--helix-border-thin) solid var(--helix-color-border);outline-offset: calc(var(--helix-border-thin) * -1);}}`);
|
|
@@ -53,6 +53,8 @@ import '../../tooltip/index.js';
|
|
|
53
53
|
* @cssproperty --heatmap-cell-radius - How far a cell's corners are rounded.
|
|
54
54
|
* @cssproperty --heatmap-cell-size - The size of a cell on both axes, used where neither axis has its own size set.
|
|
55
55
|
* @cssproperty --heatmap-gap - Space between cells. Zero draws one continuous field.
|
|
56
|
+
* @cssproperty --heatmap-selected-color - The color of the ring on a selected cell, under `selection-mode`.
|
|
57
|
+
* @cssproperty --heatmap-selected-width - How thick the ring on a selected cell is.
|
|
56
58
|
* @cssproperty --heatmap-tone-1 - The weakest step of the magnitude ramp, used by `tones="1 …"`.
|
|
57
59
|
* @cssproperty --heatmap-tone-2 - The second step of the magnitude ramp.
|
|
58
60
|
* @cssproperty --heatmap-tone-3 - The third step of the magnitude ramp.
|
package/dist/icon/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type IconResolver, registerIconLibrary, registerIcons, resolveIcon, } from '@fusion.dev/helix-headless/icon';
|
|
1
|
+
export { type IconLibraryOptions, type IconResolver, registerIconLibrary, registerIcons, resolveIcon, } from '@fusion.dev/helix-headless/icon';
|
|
2
2
|
export * from './root/icon-root.js';
|
|
@@ -1,19 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {
|
|
3
|
-
block-size: var(--icon-size, var(--helix-size-icon));
|
|
4
|
-
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
flex: 0 0 auto;
|
|
7
|
-
inline-size: var(--icon-size, var(--helix-size-icon));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
[part="svg"] {
|
|
11
|
-
block-size: 100%;
|
|
12
|
-
inline-size: 100%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media print {
|
|
16
|
-
:host {
|
|
17
|
-
print-color-adjust: economy;
|
|
18
|
-
}
|
|
19
|
-
}`);
|
|
2
|
+
export const styles = createSheet(`:host {block-size: var(--icon-size, var(--helix-size-icon));display: inline-flex;flex: 0 0 auto;inline-size: var(--icon-size, var(--helix-size-icon));}[part="svg"] {block-size: 100%;inline-size: 100%;}@media print {:host {print-color-adjust: economy;}}`);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type IconResolver, registerIconLibrary, registerIcons, resolveIcon, } from '@fusion.dev/helix-headless/icon/root';
|
|
1
|
+
export { type IconLibraryOptions, type IconResolver, registerIconLibrary, registerIcons, resolveIcon, } from '@fusion.dev/helix-headless/icon/root';
|
|
2
2
|
export * from './icon-root.js';
|