@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.
Files changed (291) hide show
  1. package/custom-elements.json +13218 -3717
  2. package/dist/accordion/item/accordion-item.css.js +4 -92
  3. package/dist/accordion/item/accordion-item.d.ts +8 -0
  4. package/dist/accordion/root/accordion-root.css.js +2 -28
  5. package/dist/announcement/root/announcement-root.css.js +10 -154
  6. package/dist/announcement/root/announcement-root.d.ts +3 -0
  7. package/dist/app-header/root/app-header-root.css.js +2 -118
  8. package/dist/area-chart/root/area-chart-root.css.js +4 -94
  9. package/dist/area-chart/root/area-chart-root.d.ts +1 -0
  10. package/dist/aura/root/aura-root.css.js +2 -54
  11. package/dist/aura/root/aura-root.d.ts +21 -9
  12. package/dist/aura/root/aura-root.js +23 -12
  13. package/dist/avatar/group/avatar-group.css.js +5 -36
  14. package/dist/avatar/group/avatar-group.d.ts +3 -0
  15. package/dist/avatar/root/avatar-root.css.js +1 -53
  16. package/dist/avatar/root/avatar-root.d.ts +2 -0
  17. package/dist/badge/root/badge-root.css.js +17 -142
  18. package/dist/badge/root/badge-root.d.ts +20 -0
  19. package/dist/badge/root/badge-root.js +6 -0
  20. package/dist/bar-chart/root/bar-chart-root.css.js +8 -292
  21. package/dist/blockquote/root/blockquote-root.css.js +1 -43
  22. package/dist/blockquote/root/blockquote-root.d.ts +2 -0
  23. package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +13 -98
  24. package/dist/breadcrumbs/root/breadcrumbs-root.css.js +7 -21
  25. package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +18 -0
  26. package/dist/breadcrumbs/root/breadcrumbs-root.js +4 -0
  27. package/dist/button/root/button-root.css.js +16 -196
  28. package/dist/button/root/button-root.d.ts +3 -0
  29. package/dist/button-group/root/button-group-root.css.js +2 -52
  30. package/dist/callout/root/callout-root.css.js +5 -137
  31. package/dist/callout/root/callout-root.d.ts +8 -2
  32. package/dist/canvas/node/canvas-node.css.js +10 -367
  33. package/dist/canvas/root/canvas-root.css.js +7 -270
  34. package/dist/card/root/card-root.css.js +5 -134
  35. package/dist/card/root/card-root.d.ts +6 -0
  36. package/dist/carousel/root/carousel-root.css.js +20 -386
  37. package/dist/chat/composer/chat-composer.css.js +4 -105
  38. package/dist/chat/message/chat-message.css.js +5 -301
  39. package/dist/chat/message/chat-message.d.ts +5 -0
  40. package/dist/chat/message/chat-message.js +2 -1
  41. package/dist/chat/root/chat-root.css.js +5 -155
  42. package/dist/chat/root/chat-root.d.ts +2 -0
  43. package/dist/chat/root/chat-root.js +2 -1
  44. package/dist/chat/typing.css.d.ts +1 -0
  45. package/dist/chat/typing.css.js +25 -0
  46. package/dist/checkbox/root/checkbox-root.css.js +12 -162
  47. package/dist/checkbox/root/checkbox-root.d.ts +2 -1
  48. package/dist/checkbox-group/root/checkbox-group-root.css.js +1 -27
  49. package/dist/code/root/code-root.css.js +3 -25
  50. package/dist/code/root/code-root.d.ts +2 -0
  51. package/dist/code-block/root/code-block-root.css.js +9 -250
  52. package/dist/code-block/root/code-block-root.d.ts +2 -1
  53. package/dist/color-input/root/color-input-root.css.js +5 -104
  54. package/dist/color-picker/root/color-picker-root.css.js +39 -329
  55. package/dist/color-picker/root/color-picker-root.d.ts +3 -0
  56. package/dist/combobox/root/combobox-root.css.js +8 -147
  57. package/dist/command/root/command-root.css.js +3 -74
  58. package/dist/copy-button/root/copy-button-root.css.js +5 -36
  59. package/dist/copy-button/root/copy-button-root.d.ts +7 -0
  60. package/dist/data-table/root/data-table-root.css.js +24 -241
  61. package/dist/data-table/root/data-table-root.d.ts +12 -0
  62. package/dist/date-input/root/date-input-root.css.js +8 -93
  63. package/dist/date-picker/root/date-picker-root.css.js +16 -278
  64. package/dist/date-picker/root/date-picker-root.d.ts +1 -0
  65. package/dist/description-list/item/description-list-item.css.js +1 -41
  66. package/dist/description-list/item/description-list-item.d.ts +7 -0
  67. package/dist/description-list/root/description-list-root.css.js +1 -34
  68. package/dist/description-list/root/description-list-root.d.ts +1 -0
  69. package/dist/dialog/root/dialog-root.css.js +7 -221
  70. package/dist/dialog/root/dialog-root.d.ts +3 -0
  71. package/dist/divider/root/divider-root.css.js +6 -81
  72. package/dist/donut-chart/root/donut-chart-root.css.js +7 -174
  73. package/dist/donut-chart/root/donut-chart-root.d.ts +3 -0
  74. package/dist/drawer/root/drawer-root.css.js +14 -193
  75. package/dist/drawer/root/drawer-root.d.ts +5 -0
  76. package/dist/drilldown/item/drilldown-item.css.js +4 -51
  77. package/dist/drilldown/item/drilldown-item.d.ts +7 -0
  78. package/dist/drilldown/root/drilldown-root.css.js +8 -109
  79. package/dist/drilldown/root/drilldown-root.d.ts +10 -0
  80. package/dist/element-events.generated.js +19 -6
  81. package/dist/empty/root/empty-root.css.js +2 -42
  82. package/dist/file-input/root/file-input-root.css.js +7 -172
  83. package/dist/file-input/root/file-input-root.d.ts +15 -0
  84. package/dist/filter-input/chip/filter-chip.css.js +2 -84
  85. package/dist/filter-input/field/filter-field.css.js +1 -3
  86. package/dist/filter-input/menu/filter-menu.css.js +1 -3
  87. package/dist/filter-input/operator/filter-operator.css.js +1 -3
  88. package/dist/filter-input/root/filter-input-root.css.js +6 -112
  89. package/dist/filter-input/root/filter-input-root.d.ts +5 -0
  90. package/dist/flex/root/flex-root.css.js +4 -198
  91. package/dist/flex/root/flex-root.d.ts +19 -8
  92. package/dist/format-date/root/format-date-root.css.js +1 -13
  93. package/dist/graph/root/graph-root.css.js +12 -444
  94. package/dist/graph/root/graph-root.d.ts +8 -0
  95. package/dist/grid/root/grid-root.css.js +1 -171
  96. package/dist/grid/root/grid-root.d.ts +4 -1
  97. package/dist/heatmap/root/heatmap-root.css.js +8 -155
  98. package/dist/heatmap/root/heatmap-root.d.ts +2 -0
  99. package/dist/icon/index.d.ts +1 -1
  100. package/dist/icon/root/icon-root.css.js +1 -18
  101. package/dist/icon/root/index.d.ts +1 -1
  102. package/dist/icon-button/root/icon-button-root.css.js +63 -186
  103. package/dist/icon-button/root/icon-button-root.d.ts +5 -0
  104. package/dist/image/root/image-root.css.js +7 -65
  105. package/dist/image/root/image-root.d.ts +3 -0
  106. package/dist/input/root/input-root.css.js +6 -79
  107. package/dist/kbd/root/kbd-root.css.js +2 -44
  108. package/dist/kbd/root/kbd-root.d.ts +9 -0
  109. package/dist/legend/root/legend-root.css.js +9 -106
  110. package/dist/legend/root/legend-root.d.ts +2 -0
  111. package/dist/lightbox/item/lightbox-item.css.js +1 -33
  112. package/dist/lightbox/root/lightbox-root.css.js +40 -144
  113. package/dist/line-chart/root/line-chart-root.css.js +4 -154
  114. package/dist/line-chart/root/line-chart-root.d.ts +3 -0
  115. package/dist/list/item/list-item.css.js +2 -94
  116. package/dist/list/root/list-root.css.js +4 -88
  117. package/dist/listbox/root/listbox-root.css.js +4 -102
  118. package/dist/listbox/root/listbox-root.d.ts +1 -0
  119. package/dist/loader/root/loader-root.css.js +5 -171
  120. package/dist/loader/root/loader-root.d.ts +2 -0
  121. package/dist/map/area/map-area.css.js +1 -23
  122. package/dist/map/buildings/map-buildings.css.js +1 -26
  123. package/dist/map/contours/map-contours.css.js +2 -5
  124. package/dist/map/landcover/map-landcover.css.js +1 -4
  125. package/dist/map/marker/map-marker.css.js +14 -327
  126. package/dist/map/points/map-points.css.js +1 -86
  127. package/dist/map/position/map-position.css.js +8 -227
  128. package/dist/map/raster/map-raster.css.js +1 -3
  129. package/dist/map/root/map-root.css.js +10 -352
  130. package/dist/map/route/map-route.css.js +1 -24
  131. package/dist/map/terrain/map-terrain.css.js +3 -7
  132. package/dist/megamenu/root/megamenu-root.css.js +15 -163
  133. package/dist/megamenu/root/megamenu-root.d.ts +19 -0
  134. package/dist/menu/item/menu-item.css.js +9 -111
  135. package/dist/menu/item/menu-item.d.ts +1 -0
  136. package/dist/menu/root/menu-root.css.js +1 -110
  137. package/dist/menu/section/menu-section.css.js +1 -13
  138. package/dist/meter/root/meter-root.css.js +20 -207
  139. package/dist/meter/root/meter-root.d.ts +4 -0
  140. package/dist/navigation/root/navigation-root.css.js +2 -54
  141. package/dist/navigation/root/navigation-root.d.ts +7 -0
  142. package/dist/notifications/group/notification-group.css.js +1 -61
  143. package/dist/notifications/notification/notification.css.js +17 -264
  144. package/dist/notifications/root/notifications-root.css.js +7 -119
  145. package/dist/notifications/root/notifications-root.d.ts +3 -1
  146. package/dist/number-input/root/number-input-root.css.js +10 -100
  147. package/dist/number-input/root/number-input-root.d.ts +8 -0
  148. package/dist/object-inspector/root/object-inspector-root.css.js +11 -166
  149. package/dist/option/group/option-group.css.js +1 -22
  150. package/dist/option/index.d.ts +1 -0
  151. package/dist/option/index.js +1 -0
  152. package/dist/option/root/option-root.css.js +3 -85
  153. package/dist/option/separator/option-separator.css.d.ts +1 -0
  154. package/dist/option/separator/option-separator.css.js +3 -0
  155. package/dist/option/separator/option-separator.d.ts +26 -0
  156. package/dist/option/separator/option-separator.js +16 -0
  157. package/dist/orb/root/orb-root.css.js +1 -41
  158. package/dist/orb/root/orb-root.d.ts +14 -6
  159. package/dist/orb/root/orb-root.js +16 -27
  160. package/dist/outline/root/outline-root.css.js +24 -122
  161. package/dist/outline/root/outline-root.d.ts +17 -4
  162. package/dist/pagination/root/pagination-root.css.js +9 -105
  163. package/dist/pagination/size/pagination-size.css.js +1 -22
  164. package/dist/pagination/summary/pagination-summary.css.js +1 -7
  165. package/dist/pin-input/root/pin-input-root.css.js +2 -73
  166. package/dist/pin-input/root/pin-input-root.d.ts +12 -2
  167. package/dist/popover/root/popover-root.css.js +6 -127
  168. package/dist/progress/root/progress-root.css.js +7 -228
  169. package/dist/progress/root/progress-root.d.ts +5 -0
  170. package/dist/qr-code/root/qr-code-root.css.js +1 -57
  171. package/dist/quote/root/quote-root.css.js +1 -17
  172. package/dist/quote/root/quote-root.d.ts +2 -0
  173. package/dist/radio/group/radio-group.css.js +1 -21
  174. package/dist/radio/root/radio-root.css.js +5 -192
  175. package/dist/radio/root/radio-root.d.ts +2 -1
  176. package/dist/rating/root/rating-root.css.js +4 -117
  177. package/dist/sandbox/frame.d.ts +5 -3
  178. package/dist/sandbox/frame.js +20 -6
  179. package/dist/sandbox/index.d.ts +1 -0
  180. package/dist/sandbox/preview/sandbox-preview.css.js +1 -12
  181. package/dist/sandbox/preview/sandbox-preview.d.ts +19 -3
  182. package/dist/sandbox/preview/sandbox-preview.js +17 -11
  183. package/dist/sandbox/root/sandbox-root.css.js +3 -70
  184. package/dist/sandbox/root/sandbox-root.d.ts +16 -4
  185. package/dist/sandbox/root/sandbox-root.js +29 -50
  186. package/dist/sandbox/source/sandbox-source.css.js +3 -25
  187. package/dist/sandbox/source/sandbox-source.d.ts +40 -0
  188. package/dist/sandbox/source/sandbox-source.js +22 -0
  189. package/dist/sandbox/status-bar/sandbox-status-bar.css.js +1 -21
  190. package/dist/sandbox/terminal/sandbox-terminal.css.js +5 -106
  191. package/dist/sandbox/terminal/sandbox-terminal.d.ts +14 -2
  192. package/dist/sandbox/terminal/sandbox-terminal.js +20 -6
  193. package/dist/sandbox/tokens.d.ts +39 -0
  194. package/dist/sandbox/tokens.js +9 -0
  195. package/dist/sandbox/toolbar/sandbox-toolbar.css.js +1 -36
  196. package/dist/scatter-chart/root/scatter-chart-root.css.js +11 -137
  197. package/dist/scatter-chart/root/scatter-chart-root.d.ts +3 -0
  198. package/dist/scroll-area/root/scroll-area-root.css.js +14 -181
  199. package/dist/select/root/select-root.css.js +4 -124
  200. package/dist/shared/chart/series.css.js +1 -36
  201. package/dist/shared/chart/terminus.css.js +1 -47
  202. package/dist/shared/chart/tooltip.css.js +1 -68
  203. package/dist/shared/collection/state.css.js +1 -9
  204. package/dist/shared/field/field-frame.css.js +3 -33
  205. package/dist/shared/field/field-inline.css.js +1 -4
  206. package/dist/shared/field/field-segments.css.js +1 -39
  207. package/dist/shared/field/field-stacked.css.js +1 -5
  208. package/dist/shared/field/field.css.js +3 -57
  209. package/dist/shared/floating/entrance.css.js +3 -34
  210. package/dist/shared/floating/panel.css.js +2 -17
  211. package/dist/shared/glyph/glyph.css.js +1 -5
  212. package/dist/shared/live/live.css.js +1 -8
  213. package/dist/shared/tags/tags.css.js +1 -39
  214. package/dist/shared/viewport/viewport.css.js +8 -135
  215. package/dist/skeleton/root/skeleton-root.css.js +12 -120
  216. package/dist/skeleton/root/skeleton-root.d.ts +1 -0
  217. package/dist/skip-link/root/skip-link-root.css.js +2 -35
  218. package/dist/skip-link/root/skip-link-root.d.ts +3 -3
  219. package/dist/slider/root/slider-root.css.js +35 -320
  220. package/dist/slider/root/slider-root.d.ts +2 -0
  221. package/dist/sparkline/root/sparkline-root.css.js +10 -96
  222. package/dist/sparkline/root/sparkline-root.d.ts +8 -0
  223. package/dist/sparkline/root/sparkline-root.js +2 -1
  224. package/dist/speed-dial/item/speed-dial-item.css.js +6 -74
  225. package/dist/speed-dial/item/speed-dial-item.d.ts +3 -0
  226. package/dist/speed-dial/root/speed-dial-root.css.js +3 -144
  227. package/dist/speed-dial/root/speed-dial-root.d.ts +7 -1
  228. package/dist/speed-dial/root/speed-dial-root.js +0 -1
  229. package/dist/splitter/root/splitter-root.css.js +11 -176
  230. package/dist/stat/group/stat-group.css.js +1 -36
  231. package/dist/stat/root/stat-root.css.js +3 -58
  232. package/dist/steps/root/steps-root.css.js +13 -70
  233. package/dist/steps/root/steps-root.d.ts +5 -0
  234. package/dist/steps/step/step.css.js +5 -156
  235. package/dist/switch/root/switch-root.css.js +2 -110
  236. package/dist/table/cell/table-cell.css.js +1 -33
  237. package/dist/table/column/table-column.css.js +7 -105
  238. package/dist/table/root/table-root.css.js +1 -43
  239. package/dist/table/row/table-row.css.js +6 -18
  240. package/dist/table/row/table-row.d.ts +2 -0
  241. package/dist/tabs/panel/tab-panel.css.js +2 -17
  242. package/dist/tabs/root/tabs-root.css.js +6 -177
  243. package/dist/tabs/root/tabs-root.d.ts +4 -0
  244. package/dist/tabs/tab/tab.css.js +10 -51
  245. package/dist/tabs/tab/tab.d.ts +7 -0
  246. package/dist/tag/group/tag-group.css.js +1 -5
  247. package/dist/tag/root/tag-root.css.js +1 -166
  248. package/dist/tag/root/tag-root.d.ts +2 -0
  249. package/dist/text/clamp.d.ts +5 -2
  250. package/dist/text/clamp.js +3 -1
  251. package/dist/text/root/text-root.css.js +11 -206
  252. package/dist/text/root/text-root.d.ts +2 -1
  253. package/dist/textarea/root/textarea-root.css.js +3 -44
  254. package/dist/time-input/root/time-input-root.css.js +7 -106
  255. package/dist/time-picker/root/time-picker-root.css.js +10 -134
  256. package/dist/time-picker/root/time-picker-root.d.ts +1 -0
  257. package/dist/timeline/group/timeline-group.css.js +1 -31
  258. package/dist/timeline/item/timeline-item.css.js +3 -134
  259. package/dist/timeline/root/timeline-root.css.js +1 -66
  260. package/dist/toast/item/toast-item.css.js +8 -240
  261. package/dist/toast/root/toast-root.css.js +1 -85
  262. package/dist/toast/root/toast-root.d.ts +1 -0
  263. package/dist/toast/root/toast-root.js +3 -1
  264. package/dist/toggle/group/toggle-group.css.js +9 -125
  265. package/dist/toggle/group/toggle-group.d.ts +6 -1
  266. package/dist/toggle/root/toggle-root.css.js +1 -23
  267. package/dist/toggle/root/toggle-root.d.ts +6 -0
  268. package/dist/toolbar/root/toolbar-root.css.js +1 -35
  269. package/dist/toolbar/root/toolbar-root.d.ts +4 -0
  270. package/dist/tooltip/root/tooltip-root.css.js +5 -101
  271. package/dist/tooltip/root/tooltip-root.d.ts +6 -0
  272. package/dist/tour/root/tour-root.css.js +2 -28
  273. package/dist/tour/stop/tour-stop.css.js +2 -109
  274. package/dist/tree/item/tree-item.css.js +14 -230
  275. package/dist/tree/item/tree-item.d.ts +9 -0
  276. package/dist/tree/root/tree-root.css.js +1 -40
  277. package/dist/trend/root/trend-root.css.js +5 -55
  278. package/dist/trend/root/trend-root.d.ts +2 -2
  279. package/dist/video/root/video-root.css.js +16 -398
  280. package/dist/video-playlist/item/video-playlist-item.css.js +12 -86
  281. package/dist/video-playlist/item/video-playlist-item.d.ts +12 -0
  282. package/dist/video-playlist/menu/video-playlist-menu.css.js +1 -41
  283. package/dist/video-playlist/root/video-playlist-root.css.js +1 -19
  284. package/dist/video-playlist/root/video-playlist-root.d.ts +2 -0
  285. package/dist/virtual-list/root/virtual-list-root.css.js +5 -28
  286. package/dist/virtual-list/root/virtual-list-root.d.ts +7 -1
  287. package/lint.json +1 -1
  288. package/package.json +9 -9
  289. package/types/jsx.d.ts +6997 -1154
  290. package/types/svelte.d.ts +1 -0
  291. package/types/vue.d.ts +2081 -271
@@ -1,345 +1,32 @@
1
1
  import { createSheet } from '@fusion.dev/helix-core';
2
- export const styles = createSheet(`:host {
3
- --_map-marker-color: var(--map-marker-color, var(--helix-color-primary));
4
-
5
- --_map-marker-fill: var(--map-marker-color, var(--helix-color-primary-surface));
6
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-primary));
7
-
8
- --_map-marker-edge: var(--helix-color-surface);
9
- --_map-marker-lift: 0px;
10
- --_map-marker-shadow: var(--helix-shadow-sm);
11
- --_map-marker-size: var(--map-marker-size, 0.875rem);
12
-
13
- --_map-marker-leg: 0px;
14
- --_map-marker-leg-angle: 0rad;
15
- --_map-marker-x: 0px;
16
- --_map-marker-y: 0px;
17
- block-size: 0;
18
- display: block;
19
- inline-size: 0;
20
- inset-block-start: var(--_map-marker-y);
21
- left: var(--_map-marker-x);
22
- position: absolute;
23
- }
24
-
25
- :host(:hover),
26
- :host(:focus-within) {
27
- z-index: calc(var(--helix-layer-raised) + 1);
28
- }
29
-
30
- :host(:not(:state(placed))) {
31
- visibility: hidden;
32
- }
33
-
34
- :host(:state(behind)) {
35
- opacity: 0;
36
- pointer-events: none;
37
- }
38
-
39
- [part="marker"] {
40
- align-items: center;
41
- cursor: pointer;
42
- display: flex;
43
- gap: var(--helix-space-xs);
44
- left: 0;
45
- outline: none;
46
-
47
- pointer-events: none;
48
- position: absolute;
49
- top: 0;
50
- transform: translate(calc(var(--_map-marker-size) / -2), calc(-50% - var(--_map-marker-lift)));
51
- }
52
-
53
- :host(:dir(rtl)) [part="marker"],
54
- :host(:state(start)) [part="marker"] {
55
- transform: translate(
2
+ export const styles = createSheet(`:host {--_map-marker-color: var(--map-marker-color, var(--helix-color-primary));--_map-marker-fill: var(--map-marker-color, var(--helix-color-primary-surface));--_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-primary));--_map-marker-edge: var(--helix-color-surface);--_map-marker-lift: 0px;--_map-marker-shadow: var(--helix-shadow-sm);--_map-marker-size: var(--map-marker-size, 0.875rem);--_map-marker-leg: 0px;--_map-marker-leg-angle: 0rad;--_map-marker-x: 0px;--_map-marker-y: 0px;block-size: 0;display: block;inline-size: 0;inset-block-start: var(--_map-marker-y);left: var(--_map-marker-x);position: absolute;}:host(:hover),
3
+ :host(:focus-within) {z-index: calc(var(--helix-layer-raised) + 1);}:host(:not(:state(placed))) {visibility: hidden;}:host(:state(behind)) {opacity: 0;pointer-events: none;}[part="marker"] {align-items: center;cursor: pointer;display: flex;gap: var(--helix-space-xs);left: 0;outline: none;pointer-events: none;position: absolute;top: 0;transform: translate(calc(var(--_map-marker-size) / -2), calc(-50% - var(--_map-marker-lift)));}:host(:dir(rtl)) [part="marker"],
4
+ :host(:state(start)) [part="marker"] {transform: translate(
56
5
  calc(-100% + var(--_map-marker-size) / 2),
57
6
  calc(-50% - var(--_map-marker-lift))
58
- );
59
- }
60
-
61
- :host(:dir(rtl):state(start)) [part="marker"] {
62
- transform: translate(calc(var(--_map-marker-size) / -2), calc(-50% - var(--_map-marker-lift)));
63
- }
64
-
65
- :host(:state(start)) [part="marker"] {
66
- flex-direction: row-reverse;
67
- }
68
-
69
- [part="point"] {
70
- align-items: center;
71
- background: var(--_map-marker-color);
72
- block-size: var(--_map-marker-size);
73
- border: var(--helix-border-thick) solid var(--_map-marker-edge);
74
- border-radius: var(--helix-radii-full);
75
- box-shadow: var(--_map-marker-shadow);
76
- box-sizing: border-box;
77
- color: var(--_map-marker-ink);
78
- display: grid;
79
- flex: none;
80
- font-family: var(--helix-font-sans);
81
- font-size: calc(var(--_map-marker-size) * 0.5);
82
- font-weight: var(--helix-weight-semibold);
83
- inline-size: var(--_map-marker-size);
84
- isolation: isolate;
85
- justify-items: center;
86
- line-height: 1;
87
- pointer-events: auto;
88
- position: relative;
89
- transition: transform var(--helix-duration-fast) var(--helix-easing-standard);
90
- }
91
-
92
- :host(:state(icon)) {
93
- --_map-marker-size: var(--map-marker-size, 1.375rem);
94
- }
95
-
96
- :host(:state(icon)) [part="point"] {
97
- background: var(--_map-marker-fill);
98
- }
99
-
100
- :host([shape="rounded"]) [part="point"] {
101
- border-radius: var(--helix-radii-md);
102
- }
103
-
104
- :host([shape="square"]) [part="point"] {
105
- border-radius: var(--helix-radii-none);
106
- }
107
-
108
- :host([shape="diamond"]) [part="point"] {
109
- border-radius: var(--helix-radii-none);
110
- rotate: 45deg;
111
- scale: 0.85;
112
- }
113
-
114
- :host([shape="diamond"]) ::slotted(*) {
115
- rotate: -45deg;
116
- }
117
-
118
- :host([shape="ring"]) [part="point"] {
119
- background: var(--helix-color-surface);
120
- border-color: var(--_map-marker-color);
121
- border-width: calc(var(--_map-marker-size) * 0.18);
122
- color: var(--_map-marker-color);
123
- }
124
-
125
- :host([shape="pin"]) {
126
- --_map-marker-lift: calc(var(--_map-marker-size) * 0.72);
127
- --_map-marker-size: var(--map-marker-size, 1.625rem);
128
- }
129
-
130
- :host([shape="pin"]) [part="point"] {
131
- background: var(--_map-marker-fill);
132
- border: 0;
133
- border-radius: var(--helix-radii-full);
134
- box-shadow: none;
135
- }
136
-
137
- :host([shape="pin"]) [part="point"]::before {
138
- background: var(--_map-marker-fill);
139
- border: var(--helix-border-thick) solid var(--_map-marker-edge);
140
- border-radius: var(--helix-radii-full) var(--helix-radii-full) var(--helix-radii-full)
141
- var(--helix-radii-none);
142
- box-shadow: var(--_map-marker-shadow);
143
- box-sizing: border-box;
144
- content: "";
145
- inset: 0;
146
- position: absolute;
147
- rotate: -45deg;
148
- z-index: var(--helix-layer-beneath);
149
- }
150
-
151
- :host([shape="pin"]) [part="point"]::after {
152
- background: var(--_map-marker-fill);
153
- block-size: calc(var(--_map-marker-size) * 0.26);
154
- border: var(--helix-border-thin) solid var(--_map-marker-edge);
155
- border-radius: var(--helix-radii-full);
156
- box-sizing: border-box;
157
- content: "";
158
- inline-size: calc(var(--_map-marker-size) * 0.26);
159
- left: 50%;
160
- position: absolute;
161
- top: calc(50% + var(--_map-marker-lift));
162
- translate: -50% -50%;
163
- z-index: calc(var(--helix-layer-beneath) - 1);
164
- }
165
-
166
- :host(:state(cluster)) {
167
- --_map-marker-lift: 0px;
168
- --_map-marker-size: var(--map-marker-cluster-size, 1.75rem);
169
- }
170
-
171
- :host(:state(cluster)) [part="point"] {
172
- background: var(--map-marker-cluster-color, var(--helix-color-primary-surface));
173
- border: var(--helix-border-thick) solid var(--_map-marker-edge);
174
- border-radius: var(--helix-radii-full);
175
- box-shadow:
7
+ );}:host(:dir(rtl):state(start)) [part="marker"] {transform: translate(calc(var(--_map-marker-size) / -2), calc(-50% - var(--_map-marker-lift)));}:host(:state(start)) [part="marker"] {flex-direction: row-reverse;}[part="point"] {align-items: center;background: var(--_map-marker-color);block-size: var(--_map-marker-size);border: var(--helix-border-thick) solid var(--_map-marker-edge);border-radius: var(--helix-radii-full);box-shadow: var(--_map-marker-shadow);box-sizing: border-box;color: var(--_map-marker-ink);display: grid;flex: none;font-family: var(--helix-font-sans);font-size: calc(var(--_map-marker-size) * 0.5);font-weight: var(--helix-weight-semibold);inline-size: var(--_map-marker-size);isolation: isolate;justify-items: center;line-height: 1;pointer-events: auto;position: relative;transition: transform var(--helix-duration-fast) var(--helix-easing-standard);}:host(:state(icon)) {--_map-marker-size: var(--map-marker-size, 1.375rem);}:host(:state(icon)) [part="point"] {background: var(--_map-marker-fill);}:host([shape="rounded"]) [part="point"] {border-radius: var(--helix-radii-md);}:host([shape="square"]) [part="point"] {border-radius: var(--helix-radii-none);}:host([shape="diamond"]) [part="point"] {border-radius: var(--helix-radii-none);rotate: 45deg;scale: 0.85;}:host([shape="diamond"]) ::slotted(*) {rotate: -45deg;}:host([shape="ring"]) [part="point"] {background: var(--helix-color-surface);border-color: var(--_map-marker-color);border-width: calc(var(--_map-marker-size) * 0.18);color: var(--_map-marker-color);}:host([shape="pin"]) {--_map-marker-lift: calc(var(--_map-marker-size) * 0.72);--_map-marker-size: var(--map-marker-size, 1.625rem);}:host([shape="pin"]) [part="point"] {background: var(--_map-marker-fill);border: 0;border-radius: var(--helix-radii-full);box-shadow: none;}:host([shape="pin"]) [part="point"]::before {background: var(--_map-marker-fill);border: var(--helix-border-thick) solid var(--_map-marker-edge);border-radius: var(--helix-radii-full) var(--helix-radii-full) var(--helix-radii-full)
8
+ var(--helix-radii-none);box-shadow: var(--_map-marker-shadow);box-sizing: border-box;content: "";inset: 0;position: absolute;rotate: -45deg;z-index: var(--helix-layer-beneath);}:host([shape="pin"]) [part="point"]::after {background: var(--_map-marker-fill);block-size: calc(var(--_map-marker-size) * 0.26);border: var(--helix-border-thin) solid var(--_map-marker-edge);border-radius: var(--helix-radii-full);box-sizing: border-box;content: "";inline-size: calc(var(--_map-marker-size) * 0.26);left: 50%;position: absolute;top: calc(50% + var(--_map-marker-lift));translate: -50% -50%;z-index: calc(var(--helix-layer-beneath) - 1);}:host(:state(cluster)) {--_map-marker-lift: 0px;--_map-marker-size: var(--map-marker-cluster-size, 1.75rem);}:host(:state(cluster)) [part="point"] {background: var(--map-marker-cluster-color, var(--helix-color-primary-surface));border: var(--helix-border-thick) solid var(--_map-marker-edge);border-radius: var(--helix-radii-full);box-shadow:
176
9
  0 0 0 calc(var(--_map-marker-size) * 0.18)
177
10
  color-mix(
178
11
  in oklab,
179
12
  var(--map-marker-cluster-color, var(--helix-color-primary-surface)) 28%,
180
13
  transparent
181
14
  ),
182
- var(--_map-marker-shadow);
183
- color: var(--helix-color-foreground-on-primary);
184
- font-size: calc(var(--_map-marker-size) * 0.42);
185
- font-variant-numeric: tabular-nums;
186
- rotate: none;
187
- scale: none;
188
- }
189
-
190
- :host(:state(cluster)) [part="point"]::before,
191
- :host(:state(cluster)) [part="point"]::after {
192
- content: none;
193
- }
194
-
195
- :host(:state(fanned))::before {
196
- --_map-marker-leg-ink: color-mix(
15
+ var(--_map-marker-shadow);color: var(--helix-color-foreground-on-primary);font-size: calc(var(--_map-marker-size) * 0.42);font-variant-numeric: tabular-nums;rotate: none;scale: none;}:host(:state(cluster)) [part="point"]::before,
16
+ :host(:state(cluster)) [part="point"]::after {content: none;}:host(:state(fanned))::before {--_map-marker-leg-ink: color-mix(
197
17
  in oklab,
198
18
  var(--helix-color-foreground) 55%,
199
19
  var(--helix-color-surface)
200
- );
201
- --_map-marker-leg-dot: calc(var(--helix-border-thick) * 1.75);
202
-
203
- background:
20
+ );--_map-marker-leg-dot: calc(var(--helix-border-thick) * 1.75);background:
204
21
  radial-gradient(
205
22
  circle at calc(100% - var(--_map-marker-leg-dot)) 50%,
206
23
  var(--_map-marker-leg-ink) var(--_map-marker-leg-dot),
207
24
  transparent calc(var(--_map-marker-leg-dot) + var(--helix-border-thin))
208
25
  ),
209
26
  linear-gradient(var(--_map-marker-leg-ink), var(--_map-marker-leg-ink)) 0 50% / 100%
210
- var(--helix-border-thick) no-repeat;
211
-
212
- block-size: calc((var(--_map-marker-leg-dot) + var(--helix-border-thin)) * 2);
213
- content: "";
214
- inline-size: calc(var(--_map-marker-leg) + var(--_map-marker-leg-dot));
215
- left: 0;
216
- position: absolute;
217
- rotate: var(--_map-marker-leg-angle);
218
- top: 0;
219
- transform-origin: 0 50%;
220
- translate: 0 -50%;
221
- }
222
-
223
- :host(:state(clustered)) {
224
- display: none;
225
- }
226
-
227
- :host([separation="outlined"]) {
228
- --_map-marker-shadow: none;
229
- }
230
-
231
- :host([separation="elevated"]) {
232
- --_map-marker-shadow: var(--helix-shadow-md);
233
- }
234
-
235
- :host([separation="filled"]) {
236
- --_map-marker-edge: transparent;
237
- --_map-marker-shadow: 0 0 0 calc(var(--_map-marker-size) * 0.3)
238
- color-mix(in oklab, var(--_map-marker-color) 22%, transparent);
239
- }
240
-
241
- :host([separation="plain"]) {
242
- --_map-marker-edge: transparent;
243
- --_map-marker-shadow: none;
244
- }
245
-
246
- [part="label"] {
247
-
248
- background: var(--helix-color-surface-overlay);
249
- border: var(--map-marker-label-border-width, var(--helix-border-floating)) solid
250
- var(--helix-color-border);
251
- border-radius: var(--helix-radii-sm);
252
- box-shadow: var(--map-marker-label-shadow, var(--helix-shadow-floating));
253
- color: var(--helix-color-foreground);
254
- font-family: var(--helix-font-sans);
255
- font-size: var(--helix-text-sm);
256
- font-weight: var(--helix-weight-medium);
257
- opacity: 0;
258
- padding: var(--helix-space-2xs) var(--helix-space-xs);
259
- pointer-events: none;
260
- transition: opacity var(--helix-duration-fast) var(--helix-easing-standard);
261
- white-space: nowrap;
262
- }
263
-
264
- :host(:state(cluster)) [part="label"] {
265
-
266
- inline-size: max-content;
267
- max-inline-size: 16rem;
268
- white-space: normal;
269
- }
270
-
271
- :host([material="glass"]) [part="label"] {
272
- backdrop-filter: var(--helix-material-backdrop);
273
- background: var(--helix-material-translucent);
274
- }
275
-
276
- :host([material="frosted"]) [part="label"] {
277
- backdrop-filter: blur(var(--helix-material-blur-lg));
278
- background: var(--helix-material-translucent-strong);
279
- }
280
-
281
- :host([material="transparent"]) [part="label"] {
282
- backdrop-filter: none;
283
- background: transparent;
284
- }
285
-
286
- :host(:hover) [part="label"],
287
- [part="marker"]:focus-visible [part="label"] {
288
- opacity: 1;
289
- }
290
-
291
- :host(:hover) [part="point"],
292
- [part="marker"]:focus-visible [part="point"] {
293
- transform: scale(1.25);
294
- }
295
-
296
- [part="marker"]:focus-visible [part="point"] {
297
- outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
298
- outline-offset: var(--helix-size-focus-offset);
299
- }
300
-
301
- :host([tone="accent"]) {
302
- --_map-marker-color: var(--helix-color-accent);
303
- --_map-marker-fill: var(--helix-color-accent-surface);
304
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-accent));
305
- }
306
- :host([tone="danger"]) {
307
- --_map-marker-color: var(--helix-color-danger);
308
- --_map-marker-fill: var(--helix-color-danger-surface);
309
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));
310
- }
311
- :host([tone="info"]) {
312
- --_map-marker-color: var(--helix-color-info);
313
- --_map-marker-fill: var(--helix-color-info-surface);
314
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));
315
- }
316
-
317
- :host([tone="neutral"]) {
318
- --_map-marker-color: var(--helix-color-foreground-muted);
319
- --_map-marker-fill: var(--helix-color-foreground-muted);
320
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-surface));
321
- }
322
- :host([tone="success"]) {
323
- --_map-marker-color: var(--helix-color-success);
324
- --_map-marker-fill: var(--helix-color-success-surface);
325
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));
326
- }
327
- :host([tone="warning"]) {
328
- --_map-marker-color: var(--helix-color-warning);
329
- --_map-marker-fill: var(--helix-color-warning-surface);
330
- --_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));
331
- }
332
-
333
- :host(:state(passed)) {
334
- --_map-marker-color: var(--helix-color-foreground-muted);
335
- --_map-marker-fill: var(--helix-color-foreground-muted);
336
- --_map-marker-ink: var(--helix-color-surface);
337
- --_map-marker-shadow: none;
338
- }
339
-
340
- @media (prefers-reduced-motion: reduce) {
341
- [part="label"],
342
- [part="point"] {
343
- transition: none;
344
- }
345
- }`);
27
+ var(--helix-border-thick) no-repeat;block-size: calc((var(--_map-marker-leg-dot) + var(--helix-border-thin)) * 2);content: "";inline-size: calc(var(--_map-marker-leg) + var(--_map-marker-leg-dot));left: 0;position: absolute;rotate: var(--_map-marker-leg-angle);top: 0;transform-origin: 0 50%;translate: 0 -50%;}:host(:state(clustered)) {display: none;}:host([separation="outlined"]) {--_map-marker-shadow: none;}:host([separation="elevated"]) {--_map-marker-shadow: var(--helix-shadow-md);}:host([separation="filled"]) {--_map-marker-edge: transparent;--_map-marker-shadow: 0 0 0 calc(var(--_map-marker-size) * 0.3)
28
+ color-mix(in oklab, var(--_map-marker-color) 22%, transparent);}:host([separation="plain"]) {--_map-marker-edge: transparent;--_map-marker-shadow: none;}[part="label"] {background: var(--helix-color-surface-overlay);border: var(--map-marker-label-border-width, var(--helix-border-floating)) solid
29
+ var(--helix-color-border);border-radius: var(--helix-radii-sm);box-shadow: var(--map-marker-label-shadow, var(--helix-shadow-floating));color: var(--helix-color-foreground);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);font-weight: var(--helix-weight-medium);opacity: 0;padding: var(--helix-space-2xs) var(--helix-space-xs);pointer-events: none;transition: opacity var(--helix-duration-fast) var(--helix-easing-standard);white-space: nowrap;}:host(:state(cluster)) [part="label"] {inline-size: max-content;max-inline-size: 16rem;white-space: normal;}:host([material="glass"]) [part="label"] {backdrop-filter: var(--helix-material-backdrop);background: var(--helix-material-translucent);}:host([material="frosted"]) [part="label"] {backdrop-filter: blur(var(--helix-material-blur-lg));background: var(--helix-material-translucent-strong);}:host([material="transparent"]) [part="label"] {backdrop-filter: none;background: transparent;}:host(:hover) [part="label"],
30
+ [part="marker"]:focus-visible [part="label"] {opacity: 1;}:host(:hover) [part="point"],
31
+ [part="marker"]:focus-visible [part="point"] {transform: scale(1.25);}[part="marker"]:focus-visible [part="point"] {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset);}:host([tone="accent"]) {--_map-marker-color: var(--helix-color-accent);--_map-marker-fill: var(--helix-color-accent-surface);--_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-accent));}:host([tone="danger"]) {--_map-marker-color: var(--helix-color-danger);--_map-marker-fill: var(--helix-color-danger-surface);--_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));}:host([tone="info"]) {--_map-marker-color: var(--helix-color-info);--_map-marker-fill: var(--helix-color-info-surface);--_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));}:host([tone="neutral"]) {--_map-marker-color: var(--helix-color-foreground-muted);--_map-marker-fill: var(--helix-color-foreground-muted);--_map-marker-ink: var(--map-marker-ink, var(--helix-color-surface));}:host([tone="success"]) {--_map-marker-color: var(--helix-color-success);--_map-marker-fill: var(--helix-color-success-surface);--_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));}:host([tone="warning"]) {--_map-marker-color: var(--helix-color-warning);--_map-marker-fill: var(--helix-color-warning-surface);--_map-marker-ink: var(--map-marker-ink, var(--helix-color-foreground-on-status));}:host(:state(passed)) {--_map-marker-color: var(--helix-color-foreground-muted);--_map-marker-fill: var(--helix-color-foreground-muted);--_map-marker-ink: var(--helix-color-surface);--_map-marker-shadow: none;}@media (prefers-reduced-motion: reduce) {[part="label"],
32
+ [part="point"] {transition: none;}}`);
@@ -1,87 +1,2 @@
1
1
  import { createSheet } from '@fusion.dev/helix-core';
2
- export const styles = createSheet(`:host {
3
- border-color: var(--map-points-casing-color, var(--helix-color-surface));
4
- color: var(--map-points-color, var(--helix-color-primary-surface));
5
-
6
- block-size: 0;
7
- display: block;
8
- inline-size: 0;
9
- inset-block-start: 0;
10
- left: 0;
11
- outline-color: var(--map-points-ink, var(--helix-color-foreground-on-primary));
12
- pointer-events: none;
13
- position: absolute;
14
- }
15
-
16
- [part~="place"] {
17
- block-size: var(--helix-size-control-sm);
18
- border-radius: var(--helix-radii-full);
19
- inline-size: var(--helix-size-control-sm);
20
- left: var(--_map-place-x);
21
- outline: none;
22
- position: absolute;
23
- top: var(--_map-place-y);
24
- translate: -50% -50%;
25
- }
26
-
27
- [part~="count"] {
28
- block-size: var(--helix-size-control-lg);
29
- inline-size: var(--helix-size-control-lg);
30
- }
31
-
32
- [part~="place"]:focus-visible {
33
- outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
34
- outline-offset: var(--helix-size-focus-offset);
35
- }
36
-
37
- [part="label"] {
38
- background: var(--helix-color-surface-overlay);
39
- border: var(--helix-border-floating) solid var(--helix-color-border);
40
- border-radius: var(--helix-radii-sm);
41
- box-shadow: var(--helix-shadow-floating);
42
- color: var(--helix-color-foreground);
43
- font-family: var(--helix-font-sans);
44
- font-size: var(--helix-text-sm);
45
- font-weight: var(--helix-weight-medium);
46
- inset-inline-start: calc(100% + var(--helix-space-sm));
47
- opacity: 0;
48
- padding: var(--helix-space-2xs) var(--helix-space-xs);
49
- position: absolute;
50
- top: 50%;
51
- translate: 0 -50%;
52
- white-space: nowrap;
53
- }
54
-
55
- [part~="place"]:focus-visible [part="label"] {
56
- opacity: 1;
57
- }
58
-
59
- :host([tone="accent"]) {
60
- color: var(--helix-color-accent-surface);
61
- outline-color: var(--map-points-ink, var(--helix-color-foreground-on-accent));
62
- }
63
-
64
- :host([tone="danger"]) {
65
- color: var(--helix-color-danger-surface);
66
- outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));
67
- }
68
-
69
- :host([tone="info"]) {
70
- color: var(--helix-color-info-surface);
71
- outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));
72
- }
73
-
74
- :host([tone="neutral"]) {
75
- color: var(--helix-color-foreground-muted);
76
- outline-color: var(--map-points-ink, var(--helix-color-surface));
77
- }
78
-
79
- :host([tone="success"]) {
80
- color: var(--helix-color-success-surface);
81
- outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));
82
- }
83
-
84
- :host([tone="warning"]) {
85
- color: var(--helix-color-warning-surface);
86
- outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));
87
- }`);
2
+ export const styles = createSheet(`:host {border-color: var(--map-points-casing-color, var(--helix-color-surface));color: var(--map-points-color, var(--helix-color-primary-surface));block-size: 0;display: block;inline-size: 0;inset-block-start: 0;left: 0;outline-color: var(--map-points-ink, var(--helix-color-foreground-on-primary));pointer-events: none;position: absolute;}[part~="place"] {block-size: var(--helix-size-control-sm);border-radius: var(--helix-radii-full);inline-size: var(--helix-size-control-sm);left: var(--_map-place-x);outline: none;position: absolute;top: var(--_map-place-y);translate: -50% -50%;}[part~="count"] {block-size: var(--helix-size-control-lg);inline-size: var(--helix-size-control-lg);}[part~="place"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset);}[part="label"] {background: var(--helix-color-surface-overlay);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);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);font-weight: var(--helix-weight-medium);inset-inline-start: calc(100% + var(--helix-space-sm));opacity: 0;padding: var(--helix-space-2xs) var(--helix-space-xs);position: absolute;top: 50%;translate: 0 -50%;white-space: nowrap;}[part~="place"]:focus-visible [part="label"] {opacity: 1;}:host([tone="accent"]) {color: var(--helix-color-accent-surface);outline-color: var(--map-points-ink, var(--helix-color-foreground-on-accent));}:host([tone="danger"]) {color: var(--helix-color-danger-surface);outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));}:host([tone="info"]) {color: var(--helix-color-info-surface);outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));}:host([tone="neutral"]) {color: var(--helix-color-foreground-muted);outline-color: var(--map-points-ink, var(--helix-color-surface));}:host([tone="success"]) {color: var(--helix-color-success-surface);outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));}:host([tone="warning"]) {color: var(--helix-color-warning-surface);outline-color: var(--map-points-ink, var(--helix-color-foreground-on-status));}`);