@fusion.dev/helix 0.146.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.
Files changed (243) hide show
  1. package/custom-elements.json +5556 -539
  2. package/dist/accordion/item/accordion-item.css.js +4 -96
  3. package/dist/accordion/root/accordion-root.css.js +2 -28
  4. package/dist/announcement/root/announcement-root.css.js +10 -154
  5. package/dist/announcement/root/announcement-root.d.ts +3 -0
  6. package/dist/app-header/root/app-header-root.css.js +2 -118
  7. package/dist/area-chart/root/area-chart-root.css.js +4 -94
  8. package/dist/area-chart/root/area-chart-root.d.ts +1 -0
  9. package/dist/aura/root/aura-root.css.js +2 -57
  10. package/dist/avatar/group/avatar-group.css.js +5 -36
  11. package/dist/avatar/group/avatar-group.d.ts +3 -0
  12. package/dist/avatar/root/avatar-root.css.js +1 -53
  13. package/dist/avatar/root/avatar-root.d.ts +2 -0
  14. package/dist/badge/root/badge-root.css.js +12 -207
  15. package/dist/badge/root/badge-root.d.ts +2 -0
  16. package/dist/bar-chart/root/bar-chart-root.css.js +8 -292
  17. package/dist/blockquote/root/blockquote-root.css.js +1 -43
  18. package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +13 -98
  19. package/dist/breadcrumbs/root/breadcrumbs-root.css.js +5 -42
  20. package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +17 -0
  21. package/dist/breadcrumbs/root/breadcrumbs-root.js +4 -0
  22. package/dist/button/root/button-root.css.js +16 -197
  23. package/dist/button/root/button-root.d.ts +1 -0
  24. package/dist/button-group/root/button-group-root.css.js +2 -52
  25. package/dist/callout/root/callout-root.css.js +5 -138
  26. package/dist/callout/root/callout-root.d.ts +4 -2
  27. package/dist/canvas/node/canvas-node.css.js +10 -367
  28. package/dist/canvas/root/canvas-root.css.js +7 -270
  29. package/dist/card/root/card-root.css.js +5 -134
  30. package/dist/carousel/root/carousel-root.css.js +20 -386
  31. package/dist/chat/composer/chat-composer.css.js +4 -105
  32. package/dist/chat/message/chat-message.css.js +5 -239
  33. package/dist/chat/message/chat-message.d.ts +5 -0
  34. package/dist/chat/root/chat-root.css.js +5 -162
  35. package/dist/chat/typing.css.js +9 -46
  36. package/dist/checkbox/root/checkbox-root.css.js +12 -177
  37. package/dist/checkbox-group/root/checkbox-group-root.css.js +1 -27
  38. package/dist/code/root/code-root.css.js +3 -25
  39. package/dist/code-block/root/code-block-root.css.js +9 -274
  40. package/dist/color-input/root/color-input-root.css.js +5 -114
  41. package/dist/color-picker/root/color-picker-root.css.js +39 -337
  42. package/dist/color-picker/root/color-picker-root.d.ts +2 -0
  43. package/dist/combobox/root/combobox-root.css.js +8 -147
  44. package/dist/command/root/command-root.css.js +3 -74
  45. package/dist/copy-button/root/copy-button-root.css.js +3 -43
  46. package/dist/data-table/root/data-table-root.css.js +21 -245
  47. package/dist/data-table/root/data-table-root.d.ts +7 -0
  48. package/dist/date-input/root/date-input-root.css.js +8 -103
  49. package/dist/date-picker/root/date-picker-root.css.js +16 -278
  50. package/dist/date-picker/root/date-picker-root.d.ts +1 -0
  51. package/dist/description-list/item/description-list-item.css.js +1 -41
  52. package/dist/description-list/item/description-list-item.d.ts +7 -0
  53. package/dist/description-list/root/description-list-root.css.js +1 -34
  54. package/dist/description-list/root/description-list-root.d.ts +1 -0
  55. package/dist/dialog/root/dialog-root.css.js +7 -221
  56. package/dist/dialog/root/dialog-root.d.ts +3 -0
  57. package/dist/divider/root/divider-root.css.js +6 -81
  58. package/dist/donut-chart/root/donut-chart-root.css.js +7 -193
  59. package/dist/drawer/root/drawer-root.css.js +11 -237
  60. package/dist/drilldown/item/drilldown-item.css.js +4 -51
  61. package/dist/drilldown/item/drilldown-item.d.ts +1 -0
  62. package/dist/drilldown/root/drilldown-root.css.js +6 -120
  63. package/dist/element-events.generated.js +4 -1
  64. package/dist/empty/root/empty-root.css.js +2 -42
  65. package/dist/file-input/root/file-input-root.css.js +7 -173
  66. package/dist/file-input/root/file-input-root.d.ts +4 -0
  67. package/dist/filter-input/chip/filter-chip.css.js +2 -84
  68. package/dist/filter-input/field/filter-field.css.js +1 -3
  69. package/dist/filter-input/menu/filter-menu.css.js +1 -3
  70. package/dist/filter-input/operator/filter-operator.css.js +1 -3
  71. package/dist/filter-input/root/filter-input-root.css.js +6 -113
  72. package/dist/flex/root/flex-root.css.js +4 -207
  73. package/dist/flex/root/flex-root.d.ts +2 -2
  74. package/dist/format-date/root/format-date-root.css.js +1 -13
  75. package/dist/graph/root/graph-root.css.js +9 -444
  76. package/dist/grid/root/grid-root.css.js +1 -171
  77. package/dist/heatmap/root/heatmap-root.css.js +8 -156
  78. package/dist/heatmap/root/heatmap-root.d.ts +2 -0
  79. package/dist/icon/index.d.ts +1 -1
  80. package/dist/icon/root/icon-root.css.js +1 -18
  81. package/dist/icon/root/index.d.ts +1 -1
  82. package/dist/icon-button/root/icon-button-root.css.js +25 -203
  83. package/dist/icon-button/root/icon-button-root.d.ts +1 -0
  84. package/dist/image/root/image-root.css.js +7 -65
  85. package/dist/image/root/image-root.d.ts +3 -0
  86. package/dist/input/root/input-root.css.js +6 -79
  87. package/dist/kbd/root/kbd-root.css.js +2 -71
  88. package/dist/kbd/root/kbd-root.d.ts +7 -0
  89. package/dist/legend/root/legend-root.css.js +9 -106
  90. package/dist/legend/root/legend-root.d.ts +2 -0
  91. package/dist/lightbox/item/lightbox-item.css.js +1 -37
  92. package/dist/lightbox/root/lightbox-root.css.js +38 -183
  93. package/dist/line-chart/root/line-chart-root.css.js +4 -170
  94. package/dist/line-chart/root/line-chart-root.d.ts +1 -0
  95. package/dist/list/item/list-item.css.js +2 -94
  96. package/dist/list/root/list-root.css.js +4 -88
  97. package/dist/listbox/root/listbox-root.css.js +4 -111
  98. package/dist/loader/root/loader-root.css.js +5 -171
  99. package/dist/map/area/map-area.css.js +1 -23
  100. package/dist/map/buildings/map-buildings.css.js +1 -26
  101. package/dist/map/contours/map-contours.css.js +2 -5
  102. package/dist/map/landcover/map-landcover.css.js +1 -4
  103. package/dist/map/marker/map-marker.css.js +14 -327
  104. package/dist/map/points/map-points.css.js +1 -86
  105. package/dist/map/position/map-position.css.js +8 -227
  106. package/dist/map/raster/map-raster.css.js +1 -3
  107. package/dist/map/root/map-root.css.js +10 -352
  108. package/dist/map/route/map-route.css.js +1 -24
  109. package/dist/map/terrain/map-terrain.css.js +3 -7
  110. package/dist/megamenu/root/megamenu-root.css.js +11 -162
  111. package/dist/megamenu/root/megamenu-root.d.ts +8 -0
  112. package/dist/menu/item/menu-item.css.js +7 -130
  113. package/dist/menu/root/menu-root.css.js +1 -110
  114. package/dist/menu/section/menu-section.css.js +1 -13
  115. package/dist/meter/root/meter-root.css.js +17 -207
  116. package/dist/meter/root/meter-root.d.ts +3 -0
  117. package/dist/navigation/root/navigation-root.css.js +2 -54
  118. package/dist/notifications/group/notification-group.css.js +1 -61
  119. package/dist/notifications/notification/notification.css.js +17 -264
  120. package/dist/notifications/root/notifications-root.css.js +7 -125
  121. package/dist/notifications/root/notifications-root.d.ts +3 -1
  122. package/dist/number-input/root/number-input-root.css.js +10 -103
  123. package/dist/object-inspector/root/object-inspector-root.css.js +11 -162
  124. package/dist/option/group/option-group.css.js +1 -22
  125. package/dist/option/index.d.ts +1 -0
  126. package/dist/option/index.js +1 -0
  127. package/dist/option/root/option-root.css.js +3 -85
  128. package/dist/option/separator/option-separator.css.d.ts +1 -0
  129. package/dist/option/separator/option-separator.css.js +3 -0
  130. package/dist/option/separator/option-separator.d.ts +26 -0
  131. package/dist/option/separator/option-separator.js +16 -0
  132. package/dist/orb/root/orb-root.css.js +1 -41
  133. package/dist/outline/root/outline-root.css.js +24 -122
  134. package/dist/outline/root/outline-root.d.ts +17 -4
  135. package/dist/pagination/root/pagination-root.css.js +9 -105
  136. package/dist/pagination/size/pagination-size.css.js +1 -22
  137. package/dist/pagination/summary/pagination-summary.css.js +1 -7
  138. package/dist/pin-input/root/pin-input-root.css.js +2 -73
  139. package/dist/pin-input/root/pin-input-root.d.ts +9 -3
  140. package/dist/popover/root/popover-root.css.js +6 -127
  141. package/dist/progress/root/progress-root.css.js +7 -230
  142. package/dist/progress/root/progress-root.d.ts +4 -0
  143. package/dist/qr-code/root/qr-code-root.css.js +1 -68
  144. package/dist/quote/root/quote-root.css.js +1 -20
  145. package/dist/radio/group/radio-group.css.js +1 -21
  146. package/dist/radio/root/radio-root.css.js +5 -208
  147. package/dist/rating/root/rating-root.css.js +4 -117
  148. package/dist/sandbox/frame.d.ts +2 -1
  149. package/dist/sandbox/frame.js +1 -1
  150. package/dist/sandbox/index.d.ts +1 -1
  151. package/dist/sandbox/preview/sandbox-preview.css.js +1 -12
  152. package/dist/sandbox/preview/sandbox-preview.d.ts +19 -3
  153. package/dist/sandbox/preview/sandbox-preview.js +17 -11
  154. package/dist/sandbox/root/sandbox-root.css.js +3 -70
  155. package/dist/sandbox/root/sandbox-root.d.ts +16 -4
  156. package/dist/sandbox/root/sandbox-root.js +29 -50
  157. package/dist/sandbox/source/sandbox-source.css.js +3 -95
  158. package/dist/sandbox/source/sandbox-source.d.ts +31 -25
  159. package/dist/sandbox/source/sandbox-source.js +12 -5
  160. package/dist/sandbox/status-bar/sandbox-status-bar.css.js +1 -21
  161. package/dist/sandbox/terminal/sandbox-terminal.css.js +5 -106
  162. package/dist/sandbox/terminal/sandbox-terminal.d.ts +4 -0
  163. package/dist/sandbox/terminal/sandbox-terminal.js +2 -1
  164. package/dist/sandbox/tokens.d.ts +2 -2
  165. package/dist/sandbox/toolbar/sandbox-toolbar.css.js +1 -36
  166. package/dist/scatter-chart/root/scatter-chart-root.css.js +11 -146
  167. package/dist/scatter-chart/root/scatter-chart-root.d.ts +1 -0
  168. package/dist/scroll-area/root/scroll-area-root.css.js +14 -181
  169. package/dist/select/root/select-root.css.js +4 -124
  170. package/dist/shared/chart/series.css.js +1 -36
  171. package/dist/shared/chart/terminus.css.js +1 -47
  172. package/dist/shared/chart/tooltip.css.js +1 -68
  173. package/dist/shared/collection/state.css.js +1 -9
  174. package/dist/shared/field/field-frame.css.js +3 -33
  175. package/dist/shared/field/field-inline.css.js +1 -4
  176. package/dist/shared/field/field-segments.css.js +1 -39
  177. package/dist/shared/field/field-stacked.css.js +1 -5
  178. package/dist/shared/field/field.css.js +3 -57
  179. package/dist/shared/floating/entrance.css.js +3 -34
  180. package/dist/shared/floating/panel.css.js +2 -17
  181. package/dist/shared/glyph/glyph.css.js +1 -5
  182. package/dist/shared/live/live.css.js +1 -8
  183. package/dist/shared/tags/tags.css.js +1 -39
  184. package/dist/shared/viewport/viewport.css.js +8 -135
  185. package/dist/skeleton/root/skeleton-root.css.js +12 -120
  186. package/dist/skip-link/root/skip-link-root.css.js +2 -47
  187. package/dist/slider/root/slider-root.css.js +19 -330
  188. package/dist/slider/root/slider-root.d.ts +2 -0
  189. package/dist/sparkline/root/sparkline-root.css.js +8 -143
  190. package/dist/sparkline/root/sparkline-root.d.ts +2 -0
  191. package/dist/speed-dial/item/speed-dial-item.css.js +4 -73
  192. package/dist/speed-dial/root/speed-dial-root.css.js +3 -149
  193. package/dist/splitter/root/splitter-root.css.js +11 -176
  194. package/dist/stat/group/stat-group.css.js +1 -36
  195. package/dist/stat/root/stat-root.css.js +3 -62
  196. package/dist/steps/root/steps-root.css.js +7 -92
  197. package/dist/steps/step/step.css.js +5 -156
  198. package/dist/switch/root/switch-root.css.js +2 -110
  199. package/dist/table/cell/table-cell.css.js +1 -33
  200. package/dist/table/column/table-column.css.js +7 -105
  201. package/dist/table/root/table-root.css.js +1 -43
  202. package/dist/table/row/table-row.css.js +6 -18
  203. package/dist/table/row/table-row.d.ts +2 -0
  204. package/dist/tabs/panel/tab-panel.css.js +2 -17
  205. package/dist/tabs/root/tabs-root.css.js +6 -177
  206. package/dist/tabs/tab/tab.css.js +6 -54
  207. package/dist/tag/group/tag-group.css.js +1 -11
  208. package/dist/tag/root/tag-root.css.js +1 -166
  209. package/dist/tag/root/tag-root.d.ts +2 -0
  210. package/dist/text/root/text-root.css.js +11 -200
  211. package/dist/textarea/root/textarea-root.css.js +3 -71
  212. package/dist/time-input/root/time-input-root.css.js +7 -118
  213. package/dist/time-picker/root/time-picker-root.css.js +10 -134
  214. package/dist/time-picker/root/time-picker-root.d.ts +1 -0
  215. package/dist/timeline/group/timeline-group.css.js +1 -31
  216. package/dist/timeline/item/timeline-item.css.js +3 -134
  217. package/dist/timeline/root/timeline-root.css.js +1 -66
  218. package/dist/toast/item/toast-item.css.js +8 -250
  219. package/dist/toast/root/toast-root.css.js +1 -85
  220. package/dist/toast/root/toast-root.js +2 -1
  221. package/dist/toggle/group/toggle-group.css.js +7 -126
  222. package/dist/toggle/root/toggle-root.css.js +1 -23
  223. package/dist/toolbar/root/toolbar-root.css.js +1 -36
  224. package/dist/toolbar/root/toolbar-root.d.ts +2 -0
  225. package/dist/tooltip/root/tooltip-root.css.js +5 -101
  226. package/dist/tooltip/root/tooltip-root.d.ts +2 -0
  227. package/dist/tour/root/tour-root.css.js +2 -28
  228. package/dist/tour/stop/tour-stop.css.js +2 -109
  229. package/dist/tree/item/tree-item.css.js +12 -238
  230. package/dist/tree/root/tree-root.css.js +1 -40
  231. package/dist/trend/root/trend-root.css.js +5 -53
  232. package/dist/video/root/video-root.css.js +16 -398
  233. package/dist/video-playlist/item/video-playlist-item.css.js +12 -86
  234. package/dist/video-playlist/item/video-playlist-item.d.ts +12 -0
  235. package/dist/video-playlist/menu/video-playlist-menu.css.js +1 -41
  236. package/dist/video-playlist/root/video-playlist-root.css.js +1 -19
  237. package/dist/video-playlist/root/video-playlist-root.d.ts +2 -0
  238. package/dist/virtual-list/root/virtual-list-root.css.js +3 -40
  239. package/lint.json +1 -1
  240. package/package.json +6 -6
  241. package/types/jsx.d.ts +2804 -619
  242. package/types/svelte.d.ts +1 -0
  243. package/types/vue.d.ts +810 -169
@@ -1,456 +1,21 @@
1
1
  import { createSheet } from '@fusion.dev/helix-core';
2
- export const styles = createSheet(`:host {
3
- display: contents;
4
- }
5
-
6
- [part="region"] {
7
- background-color: var(--graph-background-color, var(--helix-color-surface-sunken));
8
- block-size: var(--graph-block-size, 32rem);
9
- border: var(--helix-border-thin) solid var(--graph-border-color, var(--helix-color-border));
10
- border-radius: var(--helix-radii-sm);
11
- box-sizing: border-box;
12
- container-type: inline-size;
13
- display: grid;
14
- grid-template-rows: auto minmax(0, 1fr) auto;
15
- overflow: hidden;
16
- position: relative;
17
- }
18
-
19
- [part="body"] {
20
- display: grid;
21
- grid-template-columns: minmax(0, 1fr) var(--graph-panel-size, 18rem);
22
- min-block-size: 0;
23
- }
24
-
25
- [part="stage"] {
26
- isolation: isolate;
27
- min-block-size: 0;
28
- overflow: hidden;
29
- position: relative;
30
- }
31
-
32
- [part="viewport"] {
33
- inset: 0;
34
- position: absolute;
35
- }
36
-
37
- [part="viewport"] ::slotted(*) {
38
- block-size: 100%;
39
- inline-size: 100%;
40
- }
41
-
42
- [part="panel"] {
43
- background-color: var(--graph-panel-background-color, var(--helix-color-surface));
44
- border-inline-start: var(--helix-border-thin) solid var(--helix-color-border);
45
- color: var(--graph-panel-color, var(--helix-color-foreground));
46
- display: grid;
47
-
48
- grid-template-columns: minmax(0, 1fr);
49
- grid-template-rows: auto minmax(0, 1fr);
50
- min-block-size: 0;
51
- }
52
-
53
- @container (inline-size < 40rem) {
54
- [part="body"] {
55
- grid-template-columns: minmax(0, 1fr);
56
- grid-template-rows: minmax(0, 3fr) minmax(0, 2fr);
57
- }
58
-
59
- [part="panel"] {
60
- border-block-start: var(--helix-border-thin) solid var(--helix-color-border);
61
- border-inline-start: none;
62
- }
63
- }
64
-
65
- :host([no-panel]) [part="body"] {
66
- grid-template-columns: minmax(0, 1fr);
67
- grid-template-rows: minmax(0, 1fr);
68
- position: relative;
69
- }
70
-
71
- :host([no-panel]) [part="panel"] {
72
- border: var(--helix-border-floating) solid var(--helix-color-border);
73
- border-radius: var(--helix-radii-sm);
74
- box-shadow: var(--helix-shadow-floating);
75
- inline-size: min(var(--graph-panel-size, 18rem), calc(100% - var(--helix-space-sm) * 2));
76
- inset-block: var(--helix-space-sm);
77
- inset-inline-end: var(--helix-space-sm);
78
- overflow: hidden;
79
- position: absolute;
80
- z-index: 1;
81
- }
82
-
83
- :host([no-panel]) [part="panel"][hidden] {
84
- display: none;
85
- }
86
-
87
- :host([no-panel]) [part="body"]:has([part="panel"]:not([hidden])) [part="controls"] {
88
- inset-inline-end: calc(min(var(--graph-panel-size, 18rem), 100%) + var(--helix-space-sm) * 2);
89
- }
90
-
91
- [part="notes-toggle"] {
92
- grid-area: notes;
93
- }
94
-
95
- [part="notes-toggle"] svg {
96
- block-size: 1em;
97
- inline-size: 1em;
98
- }
99
-
100
- [part="controls"]:has([part="notes-toggle"]):not(:has([part="pan-up"])) {
101
- grid-template-areas:
2
+ export const styles = createSheet(`:host {display: contents;}[part="region"] {background-color: var(--graph-background-color, var(--helix-color-surface-sunken));block-size: var(--graph-block-size, 32rem);border: var(--helix-border-thin) solid var(--graph-border-color, var(--helix-color-border));border-radius: var(--helix-radii-sm);box-sizing: border-box;container-type: inline-size;display: grid;grid-template-rows: auto minmax(0, 1fr) auto;overflow: hidden;position: relative;}[part="body"] {display: grid;grid-template-columns: minmax(0, 1fr) var(--graph-panel-size, 18rem);min-block-size: 0;}[part="stage"] {isolation: isolate;min-block-size: 0;overflow: hidden;position: relative;}[part="viewport"] {inset: 0;position: absolute;}[part="viewport"] ::slotted(*) {block-size: 100%;inline-size: 100%;}[part="panel"] {background-color: var(--graph-panel-background-color, var(--helix-color-surface));border-inline-start: var(--helix-border-thin) solid var(--helix-color-border);color: var(--graph-panel-color, var(--helix-color-foreground));display: grid;grid-template-columns: minmax(0, 1fr);grid-template-rows: auto minmax(0, 1fr);min-block-size: 0;}@container (inline-size < 40rem) {[part="body"] {grid-template-columns: minmax(0, 1fr);grid-template-rows: minmax(0, 3fr) minmax(0, 2fr);}[part="panel"] {border-block-start: var(--helix-border-thin) solid var(--helix-color-border);border-inline-start: none;}}:host([no-panel]) [part="body"] {grid-template-columns: minmax(0, 1fr);grid-template-rows: minmax(0, 1fr);position: relative;}:host([no-panel]) [part="panel"] {border: var(--helix-border-floating) solid var(--helix-color-border);border-radius: var(--helix-radii-sm);box-shadow: var(--helix-shadow-floating);inline-size: min(var(--graph-panel-size, 18rem), calc(100% - var(--helix-space-sm) * 2));inset-block: var(--helix-space-sm);inset-inline-end: var(--helix-space-sm);overflow: hidden;position: absolute;z-index: 1;}:host([no-panel]) [part="panel"][hidden] {display: none;}:host([no-panel]) [part="body"]:has([part="panel"]:not([hidden])) [part="controls"] {inset-inline-end: calc(min(var(--graph-panel-size, 18rem), 100%) + var(--helix-space-sm) * 2);}[part="notes-toggle"] {grid-area: notes;}[part="notes-toggle"] svg {block-size: 1em;inline-size: 1em;}[part="controls"]:has([part="notes-toggle"]):not(:has([part="pan-up"])) {grid-template-areas:
102
3
  "zoomin"
103
4
  "zoomout"
104
5
  "notes"
105
- "full";
106
- }
107
-
108
- [part="controls"]:has([part="notes-toggle"]):has([part="pan-up"]) {
109
- grid-template-areas:
6
+ "full";}[part="controls"]:has([part="notes-toggle"]):has([part="pan-up"]) {grid-template-areas:
110
7
  ". up . zoomin"
111
8
  "start . end zoomout"
112
9
  ". down . notes"
113
- ". . . full";
114
- }
115
-
116
- [part="legend"] {
117
- display: flex;
118
- flex-wrap: wrap;
119
- gap: var(--helix-space-2xs);
120
- inset-block-end: var(--helix-space-sm);
121
- inset-inline-start: var(--helix-space-sm);
122
- max-inline-size: calc(100% - var(--helix-space-sm) * 3 - var(--helix-size-control-sm));
123
- position: absolute;
124
- }
125
-
126
- :host([controls-placement="bottom-start"]) [part="legend"] {
127
- inset-inline: auto var(--helix-space-sm);
128
- }
129
-
130
- @container (inline-size < 40rem) {
131
- [part="legend"] {
132
- flex-wrap: nowrap;
133
- inset-block-end: calc(var(--helix-space-sm) - var(--helix-space-2xs));
134
- inset-inline-start: calc(var(--helix-space-sm) - var(--helix-space-2xs));
135
- overflow-x: auto;
136
- padding: var(--helix-space-2xs);
137
- scrollbar-width: none;
138
- }
139
- }
140
-
141
- [part~="legend-item"] {
142
- align-items: center;
143
- background-color: var(--viewport-control-background-color, var(--helix-color-surface-overlay));
144
- block-size: var(--helix-size-control-tight);
145
- border: var(--helix-border-floating) solid var(--helix-color-border);
146
- border-radius: var(--helix-radii-sm);
147
- box-shadow: var(--helix-shadow-floating);
148
- color: var(--helix-color-foreground);
149
- cursor: pointer;
150
- display: inline-flex;
151
- font-family: var(--helix-font-sans);
152
- font-size: var(--helix-text-xs);
153
- font-weight: var(--helix-weight-medium);
154
- gap: var(--helix-space-2xs);
155
- padding-inline: var(--helix-space-xs);
156
- white-space: nowrap;
157
- }
158
-
159
- [part~="legend-item"]:focus-visible {
160
- outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
161
- outline-offset: var(--helix-size-focus-offset);
162
- }
163
-
164
- [part~="legend-item"]:nth-child(24n + 1) {
165
- --_graph-swatch: var(--helix-color-series-1);
166
- }
167
-
168
- [part~="legend-item"]:nth-child(24n + 2) {
169
- --_graph-swatch: var(--helix-color-series-2);
170
- }
171
-
172
- [part~="legend-item"]:nth-child(24n + 3) {
173
- --_graph-swatch: var(--helix-color-series-3);
174
- }
175
-
176
- [part~="legend-item"]:nth-child(24n + 4) {
177
- --_graph-swatch: var(--helix-color-series-4);
178
- }
179
-
180
- [part~="legend-item"]:nth-child(24n + 5) {
181
- --_graph-swatch: var(--helix-color-series-5);
182
- }
183
-
184
- [part~="legend-item"]:nth-child(24n + 6) {
185
- --_graph-swatch: var(--helix-color-series-6);
186
- }
187
-
188
- [part~="legend-item"]:nth-child(24n + 7) {
189
- --_graph-swatch: var(--helix-color-series-7);
190
- }
191
-
192
- [part~="legend-item"]:nth-child(24n + 8) {
193
- --_graph-swatch: var(--helix-color-series-8);
194
- }
195
-
196
- [part~="legend-item"]:nth-child(24n + 9) {
197
- --_graph-swatch: var(--helix-color-series-9);
198
- }
199
-
200
- [part~="legend-item"]:nth-child(24n + 10) {
201
- --_graph-swatch: var(--helix-color-series-10);
202
- }
203
-
204
- [part~="legend-item"]:nth-child(24n + 11) {
205
- --_graph-swatch: var(--helix-color-series-11);
206
- }
207
-
208
- [part~="legend-item"]:nth-child(24n + 12) {
209
- --_graph-swatch: var(--helix-color-series-12);
210
- }
211
-
212
- [part~="legend-item"]:nth-child(24n + 13) {
213
- --_graph-swatch: var(--helix-color-series-13);
214
- }
215
-
216
- [part~="legend-item"]:nth-child(24n + 14) {
217
- --_graph-swatch: var(--helix-color-series-14);
218
- }
219
-
220
- [part~="legend-item"]:nth-child(24n + 15) {
221
- --_graph-swatch: var(--helix-color-series-15);
222
- }
223
-
224
- [part~="legend-item"]:nth-child(24n + 16) {
225
- --_graph-swatch: var(--helix-color-series-16);
226
- }
227
-
228
- [part~="legend-item"]:nth-child(24n + 17) {
229
- --_graph-swatch: var(--helix-color-series-17);
230
- }
231
-
232
- [part~="legend-item"]:nth-child(24n + 18) {
233
- --_graph-swatch: var(--helix-color-series-18);
234
- }
235
-
236
- [part~="legend-item"]:nth-child(24n + 19) {
237
- --_graph-swatch: var(--helix-color-series-19);
238
- }
239
-
240
- [part~="legend-item"]:nth-child(24n + 20) {
241
- --_graph-swatch: var(--helix-color-series-20);
242
- }
243
-
244
- [part~="legend-item"]:nth-child(24n + 21) {
245
- --_graph-swatch: var(--helix-color-series-21);
246
- }
247
-
248
- [part~="legend-item"]:nth-child(24n + 22) {
249
- --_graph-swatch: var(--helix-color-series-22);
250
- }
251
-
252
- [part~="legend-item"]:nth-child(24n + 23) {
253
- --_graph-swatch: var(--helix-color-series-23);
254
- }
255
-
256
- [part~="legend-item"]:nth-child(24n + 24) {
257
- --_graph-swatch: var(--helix-color-series-24);
258
- }
259
-
260
- [part~="legend-item"][data-tone="accent"] {
261
- --_graph-swatch: var(--helix-color-accent);
262
- }
263
-
264
- [part~="legend-item"][data-tone="danger"] {
265
- --_graph-swatch: var(--helix-color-danger);
266
- }
267
-
268
- [part~="legend-item"][data-tone="info"] {
269
- --_graph-swatch: var(--helix-color-info);
270
- }
271
-
272
- [part~="legend-item"][data-tone="neutral"] {
273
- --_graph-swatch: var(--helix-color-foreground-muted);
274
- }
275
-
276
- [part~="legend-item"][data-tone="primary"] {
277
- --_graph-swatch: var(--helix-color-primary);
278
- }
279
-
280
- [part~="legend-item"][data-tone="success"] {
281
- --_graph-swatch: var(--helix-color-success);
282
- }
283
-
284
- [part~="legend-item"][data-tone="warning"] {
285
- --_graph-swatch: var(--helix-color-warning);
286
- }
287
-
288
- [part="legend-swatch"] {
289
- block-size: var(--helix-space-xs);
290
- border: var(--helix-border-thin) solid var(--_graph-swatch, var(--helix-color-foreground-muted));
291
- border-radius: var(--helix-radii-full);
292
- box-sizing: border-box;
293
- background-color: var(--_graph-swatch, var(--helix-color-foreground-muted));
294
- flex: 0 0 auto;
295
- inline-size: var(--helix-space-xs);
296
- }
297
-
298
- [part~="legend-item-hidden"] {
299
- color: var(--helix-color-foreground-subtle);
300
- }
301
-
302
- [part~="legend-item-hidden"] [part="legend-swatch"] {
303
- background-color: transparent;
304
- }
305
-
306
- [part="search"] {
307
- align-items: center;
308
- border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
309
- display: flex;
310
- gap: var(--helix-space-2xs);
311
- padding: var(--helix-space-2xs);
312
- padding-inline-start: var(--helix-space-xs);
313
- }
314
-
315
- [part="filter-icon"] {
316
- align-items: center;
317
- color: var(--helix-color-foreground-subtle);
318
- display: inline-flex;
319
- flex: 0 0 auto;
320
- }
321
-
322
- [part="filter-icon"] svg,
323
- slot[name="filter-icon"]::slotted(*) {
324
- --icon-size: var(--helix-size-icon-tight);
325
-
326
- block-size: var(--helix-size-icon-tight);
327
- inline-size: var(--helix-size-icon-tight);
328
- }
329
-
330
- [part="search-field"] {
331
- appearance: none;
332
- background-color: transparent;
333
- block-size: var(--helix-size-control-tight);
334
- border: none;
335
- box-sizing: border-box;
336
- color: var(--helix-color-foreground);
337
- flex: 1 1 auto;
338
- font-family: var(--helix-font-sans);
339
- font-size: var(--helix-text-sm);
340
- font-weight: var(--helix-weight-medium);
341
- min-inline-size: 0;
342
- padding-inline: var(--helix-space-2xs);
343
- }
344
-
345
- [part="search-field"]::placeholder {
346
- color: var(--helix-color-foreground-subtle);
347
- }
348
-
349
- [part="search-field"]:focus-visible {
350
- outline: none;
351
- }
352
-
353
- [part="search"]:has([part="search-field"]:focus-visible),
354
- [part="list"]:focus-visible {
355
- outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
356
- outline-offset: calc(var(--helix-size-focus-offset) * -1);
357
- }
358
-
359
- [part="count"] {
360
- color: var(--helix-color-foreground-muted);
361
- flex: 0 0 auto;
362
- font-size: var(--helix-text-xs);
363
- font-variant-numeric: tabular-nums;
364
-
365
- padding-inline-end: calc(var(--helix-space-xs) - var(--helix-space-2xs));
366
- }
367
-
368
- [part="list"] {
369
- min-block-size: 0;
370
- overflow-y: auto;
371
- overscroll-behavior: contain;
372
- padding-block: var(--helix-space-2xs);
373
- }
374
-
375
- [part~="note"] {
376
- align-items: center;
377
- box-sizing: border-box;
378
- cursor: pointer;
379
- display: flex;
380
- font-size: var(--graph-note-text, var(--helix-text-sm));
381
- gap: var(--helix-space-sm);
382
- min-block-size: var(--helix-size-control-tight);
383
- padding-block: var(--helix-space-2xs);
384
- padding-inline: var(--graph-note-padding-inline, var(--helix-space-xs));
385
- user-select: none;
386
- }
387
-
388
- [part~="note"]:hover,
389
- [part="list"]:focus-visible [part~="note-cursor"] {
390
- --_graph-wash: var(
10
+ ". . . full";}[part="legend"] {display: flex;flex-wrap: wrap;gap: var(--helix-space-2xs);inset-block-end: var(--helix-space-sm);inset-inline-start: var(--helix-space-sm);max-inline-size: calc(100% - var(--helix-space-sm) * 3 - var(--helix-size-control-sm));position: absolute;}:host([controls-placement="bottom-start"]) [part="legend"] {inset-inline: auto var(--helix-space-sm);}@container (inline-size < 40rem) {[part="legend"] {flex-wrap: nowrap;inset-block-end: calc(var(--helix-space-sm) - var(--helix-space-2xs));inset-inline-start: calc(var(--helix-space-sm) - var(--helix-space-2xs));overflow-x: auto;padding: var(--helix-space-2xs);scrollbar-width: none;}}[part~="legend-item"] {align-items: center;background-color: var(--viewport-control-background-color, var(--helix-color-surface-overlay));block-size: var(--helix-size-control-tight);border: var(--helix-border-floating) solid var(--helix-color-border);border-radius: var(--helix-radii-sm);box-shadow: var(--helix-shadow-floating);color: var(--helix-color-foreground);cursor: pointer;display: inline-flex;font-family: var(--helix-font-sans);font-size: var(--helix-text-xs);font-weight: var(--helix-weight-medium);gap: var(--helix-space-2xs);padding-inline: var(--helix-space-xs);white-space: nowrap;}[part~="legend-item"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset);}[part~="legend-item"]:nth-child(24n + 1) {--_graph-swatch: var(--helix-color-series-1);}[part~="legend-item"]:nth-child(24n + 2) {--_graph-swatch: var(--helix-color-series-2);}[part~="legend-item"]:nth-child(24n + 3) {--_graph-swatch: var(--helix-color-series-3);}[part~="legend-item"]:nth-child(24n + 4) {--_graph-swatch: var(--helix-color-series-4);}[part~="legend-item"]:nth-child(24n + 5) {--_graph-swatch: var(--helix-color-series-5);}[part~="legend-item"]:nth-child(24n + 6) {--_graph-swatch: var(--helix-color-series-6);}[part~="legend-item"]:nth-child(24n + 7) {--_graph-swatch: var(--helix-color-series-7);}[part~="legend-item"]:nth-child(24n + 8) {--_graph-swatch: var(--helix-color-series-8);}[part~="legend-item"]:nth-child(24n + 9) {--_graph-swatch: var(--helix-color-series-9);}[part~="legend-item"]:nth-child(24n + 10) {--_graph-swatch: var(--helix-color-series-10);}[part~="legend-item"]:nth-child(24n + 11) {--_graph-swatch: var(--helix-color-series-11);}[part~="legend-item"]:nth-child(24n + 12) {--_graph-swatch: var(--helix-color-series-12);}[part~="legend-item"]:nth-child(24n + 13) {--_graph-swatch: var(--helix-color-series-13);}[part~="legend-item"]:nth-child(24n + 14) {--_graph-swatch: var(--helix-color-series-14);}[part~="legend-item"]:nth-child(24n + 15) {--_graph-swatch: var(--helix-color-series-15);}[part~="legend-item"]:nth-child(24n + 16) {--_graph-swatch: var(--helix-color-series-16);}[part~="legend-item"]:nth-child(24n + 17) {--_graph-swatch: var(--helix-color-series-17);}[part~="legend-item"]:nth-child(24n + 18) {--_graph-swatch: var(--helix-color-series-18);}[part~="legend-item"]:nth-child(24n + 19) {--_graph-swatch: var(--helix-color-series-19);}[part~="legend-item"]:nth-child(24n + 20) {--_graph-swatch: var(--helix-color-series-20);}[part~="legend-item"]:nth-child(24n + 21) {--_graph-swatch: var(--helix-color-series-21);}[part~="legend-item"]:nth-child(24n + 22) {--_graph-swatch: var(--helix-color-series-22);}[part~="legend-item"]:nth-child(24n + 23) {--_graph-swatch: var(--helix-color-series-23);}[part~="legend-item"]:nth-child(24n + 24) {--_graph-swatch: var(--helix-color-series-24);}[part~="legend-item"][data-tone="accent"] {--_graph-swatch: var(--helix-color-accent);}[part~="legend-item"][data-tone="danger"] {--_graph-swatch: var(--helix-color-danger);}[part~="legend-item"][data-tone="info"] {--_graph-swatch: var(--helix-color-info);}[part~="legend-item"][data-tone="neutral"] {--_graph-swatch: var(--helix-color-foreground-muted);}[part~="legend-item"][data-tone="primary"] {--_graph-swatch: var(--helix-color-primary);}[part~="legend-item"][data-tone="success"] {--_graph-swatch: var(--helix-color-success);}[part~="legend-item"][data-tone="warning"] {--_graph-swatch: var(--helix-color-warning);}[part="legend-swatch"] {block-size: var(--helix-space-xs);border: var(--helix-border-thin) solid var(--_graph-swatch, var(--helix-color-foreground-muted));border-radius: var(--helix-radii-full);box-sizing: border-box;background-color: var(--_graph-swatch, var(--helix-color-foreground-muted));flex: 0 0 auto;inline-size: var(--helix-space-xs);}[part~="legend-item-hidden"] {color: var(--helix-color-foreground-subtle);}[part~="legend-item-hidden"] [part="legend-swatch"] {background-color: transparent;}[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="filter-icon"] {align-items: center;color: var(--helix-color-foreground-subtle);display: inline-flex;flex: 0 0 auto;}[part="filter-icon"] svg,
11
+ 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-field"] {appearance: none;background-color: transparent;block-size: var(--helix-size-control-tight);border: none;box-sizing: border-box;color: var(--helix-color-foreground);flex: 1 1 auto;font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);font-weight: var(--helix-weight-medium);min-inline-size: 0;padding-inline: var(--helix-space-2xs);}[part="search-field"]::placeholder {color: var(--helix-color-foreground-subtle);}[part="search-field"]:focus-visible {outline: none;}[part="search"]:has([part="search-field"]:focus-visible),
12
+ [part="list"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: calc(var(--helix-size-focus-offset) * -1);}[part="count"] {color: var(--helix-color-foreground-muted);flex: 0 0 auto;font-size: var(--helix-text-xs);font-variant-numeric: tabular-nums;padding-inline-end: calc(var(--helix-space-xs) - var(--helix-space-2xs));}[part="list"] {min-block-size: 0;overflow-y: auto;overscroll-behavior: contain;padding-block: var(--helix-space-2xs);}[part~="note"] {align-items: center;box-sizing: border-box;cursor: pointer;display: flex;font-size: var(--graph-note-text, var(--helix-text-sm));gap: var(--helix-space-sm);min-block-size: var(--helix-size-control-tight);padding-block: var(--helix-space-2xs);padding-inline: var(--graph-note-padding-inline, var(--helix-space-xs));user-select: none;}[part~="note"]:hover,
13
+ [part="list"]:focus-visible [part~="note-cursor"] {--_graph-wash: var(
391
14
  --graph-note-hover-color,
392
15
  light-dark(
393
16
  color-mix(in oklab, var(--helix-color-foreground) 8%, transparent),
394
17
  color-mix(in oklab, var(--helix-color-foreground) 12%, transparent)
395
18
  )
396
- );
397
-
398
- background-image: linear-gradient(var(--_graph-wash), var(--_graph-wash));
399
- }
400
-
401
- [part="note-name"] {
402
- flex: 0 1 auto;
403
- max-inline-size: 70%;
404
- min-inline-size: 0;
405
- overflow: hidden;
406
- text-overflow: ellipsis;
407
- white-space: nowrap;
408
- }
409
-
410
- [part="note-relation"] {
411
- color: var(--graph-note-relation-color, var(--helix-color-foreground-muted));
412
- flex: 1 1 0;
413
- font-size: var(--helix-text-xs);
414
- min-inline-size: 0;
415
- overflow: hidden;
416
- text-align: end;
417
- text-overflow: ellipsis;
418
- white-space: nowrap;
419
- }
420
-
421
- [part~="note-selected"] {
422
- background-color: var(--graph-note-selected-background-color, var(--helix-color-surface-sunken));
423
- }
424
-
425
- [part~="note-selected"] [part="note-name"] {
426
- font-weight: var(--graph-note-selected-weight, var(--helix-weight-semibold));
427
- }
428
-
429
- [part="header"],
430
- [part="footer"] {
431
- min-inline-size: 0;
432
- }
433
-
434
- @media (forced-colors: active) {
435
- [part~="legend-item-hidden"] {
436
- color: GrayText;
437
- }
438
-
439
- [part="list"]:focus-visible [part~="note-cursor"] {
440
- outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
441
- outline-offset: calc(var(--helix-size-focus-offset) * -1);
442
- }
443
-
444
- [part~="note-selected"],
445
- [part~="note-selected"] [part="note-relation"] {
446
- background-color: Highlight;
447
- color: HighlightText;
448
- forced-color-adjust: none;
449
- }
450
- }
451
-
452
- @media print {
453
- :host {
454
- print-color-adjust: economy;
455
- }
456
- }`);
19
+ );background-image: linear-gradient(var(--_graph-wash), var(--_graph-wash));}[part="note-name"] {flex: 0 1 auto;max-inline-size: 70%;min-inline-size: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}[part="note-relation"] {color: var(--graph-note-relation-color, var(--helix-color-foreground-muted));flex: 1 1 0;font-size: var(--helix-text-xs);min-inline-size: 0;overflow: hidden;text-align: end;text-overflow: ellipsis;white-space: nowrap;}[part~="note-selected"] {background-color: var(--graph-note-selected-background-color, var(--helix-color-surface-sunken));}[part~="note-selected"] [part="note-name"] {font-weight: var(--graph-note-selected-weight, var(--helix-weight-semibold));}[part="header"],
20
+ [part="footer"] {min-inline-size: 0;}@media (forced-colors: active) {[part~="legend-item-hidden"] {color: GrayText;}[part="list"]:focus-visible [part~="note-cursor"] {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: calc(var(--helix-size-focus-offset) * -1);}[part~="note-selected"],
21
+ [part~="note-selected"] [part="note-relation"] {background-color: Highlight;color: HighlightText;forced-color-adjust: none;}}@media print {:host {print-color-adjust: economy;}}`);
@@ -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;}}`);