@fusion.dev/helix 0.2.0 → 0.4.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 (270) hide show
  1. package/custom-elements.json +256 -256
  2. package/dist/accordion/item/accordion-item.css.js +0 -1
  3. package/dist/accordion/item/accordion-item.js +0 -29
  4. package/dist/accordion/root/accordion-root.css.js +0 -1
  5. package/dist/accordion/root/accordion-root.js +0 -20
  6. package/dist/announcement/root/announcement-root.css.js +0 -1
  7. package/dist/announcement/root/announcement-root.js +0 -16
  8. package/dist/app-header/root/app-header-root.css.js +0 -1
  9. package/dist/app-header/root/app-header-root.js +0 -45
  10. package/dist/aura/root/aura-axis.js +0 -58
  11. package/dist/aura/root/aura-root.css.js +0 -1
  12. package/dist/aura/root/aura-root.js +0 -520
  13. package/dist/aura/root/aura-shader.js +0 -35
  14. package/dist/avatar/group/avatar-group.css.js +0 -1
  15. package/dist/avatar/group/avatar-group.js +0 -24
  16. package/dist/avatar/root/avatar-root.css.js +0 -1
  17. package/dist/avatar/root/avatar-root.js +0 -23
  18. package/dist/badge/root/badge-root.css.js +0 -1
  19. package/dist/badge/root/badge-root.d.ts +2 -6
  20. package/dist/badge/root/badge-root.js +0 -18
  21. package/dist/bar-chart/root/bar-chart-root.css.js +0 -1
  22. package/dist/bar-chart/root/bar-chart-root.js +0 -50
  23. package/dist/blockquote/root/blockquote-root.css.js +0 -1
  24. package/dist/blockquote/root/blockquote-root.js +0 -17
  25. package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +0 -1
  26. package/dist/breadcrumbs/breadcrumb/breadcrumb.js +0 -28
  27. package/dist/breadcrumbs/root/breadcrumbs-root.css.js +0 -1
  28. package/dist/breadcrumbs/root/breadcrumbs-root.js +0 -19
  29. package/dist/button/root/button-root.css.js +0 -1
  30. package/dist/button/root/button-root.js +0 -38
  31. package/dist/button-group/root/button-group-root.css.js +0 -1
  32. package/dist/button-group/root/button-group-root.js +0 -24
  33. package/dist/callout/root/callout-root.css.js +0 -1
  34. package/dist/callout/root/callout-root.js +0 -26
  35. package/dist/card/root/card-root.css.js +0 -1
  36. package/dist/card/root/card-root.js +0 -45
  37. package/dist/carousel/root/carousel-root.css.js +0 -1
  38. package/dist/carousel/root/carousel-root.js +0 -24
  39. package/dist/chat/composer/chat-composer.css.js +0 -1
  40. package/dist/chat/composer/chat-composer.js +0 -26
  41. package/dist/chat/message/chat-message.css.js +0 -1
  42. package/dist/chat/message/chat-message.js +0 -29
  43. package/dist/chat/root/chat-root.css.js +0 -1
  44. package/dist/chat/root/chat-root.js +0 -38
  45. package/dist/checkbox/root/checkbox-root.css.js +0 -1
  46. package/dist/checkbox/root/checkbox-root.js +0 -26
  47. package/dist/checkbox-group/root/checkbox-group-root.css.js +0 -1
  48. package/dist/checkbox-group/root/checkbox-group-root.js +0 -15
  49. package/dist/code/root/code-root.css.js +0 -1
  50. package/dist/code/root/code-root.js +0 -21
  51. package/dist/code-block/root/code-block-root.css.js +0 -1
  52. package/dist/code-block/root/code-block-root.js +0 -19
  53. package/dist/color-input/root/color-input-root.css.js +0 -1
  54. package/dist/color-input/root/color-input-root.js +0 -42
  55. package/dist/color-picker/root/color-picker-root.css.js +0 -1
  56. package/dist/color-picker/root/color-picker-root.js +0 -42
  57. package/dist/combobox/root/combobox-root.css.js +0 -1
  58. package/dist/combobox/root/combobox-root.js +0 -28
  59. package/dist/command/root/command-root.css.js +0 -1
  60. package/dist/command/root/command-root.js +0 -21
  61. package/dist/copy-button/root/copy-button-root.css.js +0 -1
  62. package/dist/copy-button/root/copy-button-root.js +0 -14
  63. package/dist/data-table/root/data-table-root.css.js +0 -1
  64. package/dist/data-table/root/data-table-root.js +0 -39
  65. package/dist/date-input/root/date-input-root.css.js +0 -1
  66. package/dist/date-input/root/date-input-root.js +0 -38
  67. package/dist/date-picker/root/date-picker-root.css.js +0 -1
  68. package/dist/date-picker/root/date-picker-root.js +0 -28
  69. package/dist/dialog/root/dialog-root.css.js +0 -1
  70. package/dist/dialog/root/dialog-root.js +0 -31
  71. package/dist/divider/root/divider-root.css.js +0 -1
  72. package/dist/divider/root/divider-root.js +0 -24
  73. package/dist/donut-chart/root/donut-chart-root.css.js +0 -1
  74. package/dist/donut-chart/root/donut-chart-root.js +0 -49
  75. package/dist/drawer/root/drawer-root.css.js +0 -1
  76. package/dist/drawer/root/drawer-root.js +0 -38
  77. package/dist/drilldown/item/drilldown-item.css.js +0 -1
  78. package/dist/drilldown/item/drilldown-item.js +0 -15
  79. package/dist/drilldown/root/drilldown-root.css.js +0 -1
  80. package/dist/drilldown/root/drilldown-root.js +0 -23
  81. package/dist/element-events.generated.js +0 -5
  82. package/dist/empty/root/empty-root.css.js +0 -1
  83. package/dist/empty/root/empty-root.js +0 -16
  84. package/dist/file-input/root/file-input-root.css.js +0 -1
  85. package/dist/file-input/root/file-input-root.js +0 -30
  86. package/dist/flex/root/flex-root.css.js +0 -1
  87. package/dist/flex/root/flex-root.js +0 -32
  88. package/dist/format-date/root/format-date-root.css.js +0 -1
  89. package/dist/format-date/root/format-date-root.js +0 -17
  90. package/dist/grid/root/grid-root.css.js +0 -1
  91. package/dist/grid/root/grid-root.js +0 -69
  92. package/dist/heatmap/root/heatmap-root.css.js +0 -1
  93. package/dist/heatmap/root/heatmap-root.d.ts +9 -11
  94. package/dist/heatmap/root/heatmap-root.js +0 -73
  95. package/dist/icon/glyph.css.js +0 -1
  96. package/dist/icon/root/icon-root.css.js +0 -1
  97. package/dist/icon/root/icon-root.js +0 -19
  98. package/dist/icon-button/root/icon-button-root.css.js +0 -1
  99. package/dist/icon-button/root/icon-button-root.js +0 -35
  100. package/dist/image/root/image-root.css.js +0 -1
  101. package/dist/image/root/image-root.js +0 -28
  102. package/dist/index.js +0 -5
  103. package/dist/input/root/input-root.css.js +0 -1
  104. package/dist/input/root/input-root.js +0 -28
  105. package/dist/kbd/root/kbd-root.css.js +0 -1
  106. package/dist/kbd/root/kbd-root.js +0 -20
  107. package/dist/legend/root/legend-root.css.js +0 -1
  108. package/dist/legend/root/legend-root.js +0 -35
  109. package/dist/line-chart/root/line-chart-root.css.js +0 -1
  110. package/dist/line-chart/root/line-chart-root.js +0 -47
  111. package/dist/list/item/list-item.css.js +0 -1
  112. package/dist/list/item/list-item.js +0 -38
  113. package/dist/list/root/list-root.css.js +0 -1
  114. package/dist/list/root/list-root.js +0 -23
  115. package/dist/listbox/root/listbox-root.css.js +0 -1
  116. package/dist/listbox/root/listbox-root.js +0 -22
  117. package/dist/loader/root/loader-root.css.js +0 -1
  118. package/dist/loader/root/loader-root.js +0 -19
  119. package/dist/megamenu/root/megamenu-root.css.js +0 -1
  120. package/dist/megamenu/root/megamenu-root.js +0 -24
  121. package/dist/menu/item/menu-item.css.js +0 -1
  122. package/dist/menu/item/menu-item.js +0 -16
  123. package/dist/menu/root/menu-root.css.js +0 -1
  124. package/dist/menu/root/menu-root.js +0 -26
  125. package/dist/meter/root/meter-root.css.js +0 -1
  126. package/dist/meter/root/meter-root.js +0 -50
  127. package/dist/mixins/mixin-control-surface/mixin-control-surface.js +0 -3
  128. package/dist/navigation/root/navigation-root.css.js +0 -1
  129. package/dist/navigation/root/navigation-root.js +0 -18
  130. package/dist/notifications/notification/notification.css.js +0 -1
  131. package/dist/notifications/notification/notification.js +0 -53
  132. package/dist/notifications/root/notifications-root.css.js +0 -1
  133. package/dist/notifications/root/notifications-root.js +0 -31
  134. package/dist/number-input/root/number-input-root.css.js +0 -1
  135. package/dist/number-input/root/number-input-root.js +0 -31
  136. package/dist/option/group/option-group.css.js +0 -1
  137. package/dist/option/group/option-group.js +0 -13
  138. package/dist/option/root/option-root.css.js +0 -1
  139. package/dist/option/root/option-root.js +0 -20
  140. package/dist/outline/root/outline-root.css.js +0 -1
  141. package/dist/outline/root/outline-root.js +0 -21
  142. package/dist/pagination/root/pagination-root.css.js +0 -1
  143. package/dist/pagination/root/pagination-root.js +0 -49
  144. package/dist/pagination/size/pagination-size.css.js +0 -1
  145. package/dist/pagination/size/pagination-size.js +0 -25
  146. package/dist/pagination/summary/pagination-summary.css.js +0 -1
  147. package/dist/pagination/summary/pagination-summary.js +0 -13
  148. package/dist/pin-input/root/pin-input-root.css.js +0 -1
  149. package/dist/pin-input/root/pin-input-root.js +0 -27
  150. package/dist/popover/root/popover-root.css.js +0 -1
  151. package/dist/popover/root/popover-root.js +0 -30
  152. package/dist/progress/root/progress-root.css.js +0 -1
  153. package/dist/progress/root/progress-root.js +0 -25
  154. package/dist/qr-code/root/qr-code-root.css.js +0 -1
  155. package/dist/qr-code/root/qr-code-root.js +0 -27
  156. package/dist/quote/root/quote-root.css.js +0 -1
  157. package/dist/quote/root/quote-root.js +0 -15
  158. package/dist/radio/group/radio-group.css.js +0 -1
  159. package/dist/radio/group/radio-group.js +0 -16
  160. package/dist/radio/root/radio-root.css.js +0 -1
  161. package/dist/radio/root/radio-root.js +0 -46
  162. package/dist/rating/root/rating-root.css.js +0 -1
  163. package/dist/rating/root/rating-root.js +0 -22
  164. package/dist/sandbox/index.js +0 -14
  165. package/dist/sandbox/preview/sandbox-preview.css.js +0 -1
  166. package/dist/sandbox/preview/sandbox-preview.js +0 -182
  167. package/dist/sandbox/root/sandbox-root.css.js +0 -1
  168. package/dist/sandbox/root/sandbox-root.js +1 -295
  169. package/dist/sandbox/source/sandbox-source.css.js +0 -1
  170. package/dist/sandbox/source/sandbox-source.js +0 -77
  171. package/dist/sandbox/status-bar/sandbox-status-bar.css.js +0 -1
  172. package/dist/sandbox/status-bar/sandbox-status-bar.js +0 -38
  173. package/dist/sandbox/terminal/sandbox-terminal.css.js +0 -1
  174. package/dist/sandbox/terminal/sandbox-terminal.js +0 -54
  175. package/dist/sandbox/toolbar/sandbox-toolbar.css.js +0 -1
  176. package/dist/sandbox/toolbar/sandbox-toolbar.js +0 -29
  177. package/dist/scroll-area/root/scroll-area-root.css.js +0 -1
  178. package/dist/scroll-area/root/scroll-area-root.js +0 -24
  179. package/dist/select/root/select-root.css.js +0 -1
  180. package/dist/select/root/select-root.js +0 -33
  181. package/dist/shared/chart/series.css.js +0 -1
  182. package/dist/shared/chart/terminus.css.js +0 -1
  183. package/dist/shared/field/field-inline.css.js +0 -1
  184. package/dist/shared/field/field-stacked.css.js +0 -1
  185. package/dist/shared/field/field.css.js +0 -1
  186. package/dist/skeleton/root/skeleton-root.css.js +0 -1
  187. package/dist/skeleton/root/skeleton-root.js +0 -18
  188. package/dist/slider/root/slider-root.css.js +0 -1
  189. package/dist/slider/root/slider-root.js +0 -32
  190. package/dist/sparkline/root/sparkline-root.css.js +0 -1
  191. package/dist/sparkline/root/sparkline-root.js +0 -40
  192. package/dist/speed-dial/item/speed-dial-item.css.js +0 -1
  193. package/dist/speed-dial/item/speed-dial-item.js +0 -16
  194. package/dist/speed-dial/root/speed-dial-root.css.js +0 -1
  195. package/dist/speed-dial/root/speed-dial-root.js +0 -16
  196. package/dist/splitter/root/splitter-root.css.js +0 -1
  197. package/dist/splitter/root/splitter-root.js +0 -50
  198. package/dist/stat/group/stat-group.css.js +0 -1
  199. package/dist/stat/group/stat-group.js +0 -19
  200. package/dist/stat/root/stat-root.css.js +0 -1
  201. package/dist/stat/root/stat-root.js +0 -17
  202. package/dist/steps/root/steps-root.css.js +0 -1
  203. package/dist/steps/root/steps-root.js +0 -26
  204. package/dist/steps/step/step.css.js +0 -1
  205. package/dist/steps/step/step.js +0 -12
  206. package/dist/switch/root/switch-root.css.js +0 -1
  207. package/dist/switch/root/switch-root.js +0 -32
  208. package/dist/table/cell/table-cell.css.js +0 -1
  209. package/dist/table/cell/table-cell.js +0 -14
  210. package/dist/table/column/table-column.css.js +0 -1
  211. package/dist/table/column/table-column.js +0 -13
  212. package/dist/table/root/table-root.css.js +0 -1
  213. package/dist/table/root/table-root.js +0 -19
  214. package/dist/table/row/table-row.css.js +0 -1
  215. package/dist/table/row/table-row.js +0 -14
  216. package/dist/tabs/panel/tab-panel.css.js +0 -1
  217. package/dist/tabs/panel/tab-panel.js +0 -16
  218. package/dist/tabs/root/tabs-root.css.js +0 -1
  219. package/dist/tabs/root/tabs-root.js +0 -19
  220. package/dist/tabs/tab/tab.css.js +0 -1
  221. package/dist/tabs/tab/tab.js +0 -16
  222. package/dist/tag/root/tag-root.css.js +0 -1
  223. package/dist/tag/root/tag-root.js +0 -25
  224. package/dist/text/root/text-root.css.js +0 -1
  225. package/dist/text/root/text-root.js +0 -48
  226. package/dist/textarea/root/textarea-root.css.js +0 -1
  227. package/dist/textarea/root/textarea-root.js +0 -17
  228. package/dist/time-input/root/time-input-root.css.js +0 -1
  229. package/dist/time-input/root/time-input-root.js +0 -31
  230. package/dist/time-picker/root/time-picker-root.css.js +0 -1
  231. package/dist/time-picker/root/time-picker-root.js +0 -29
  232. package/dist/timeline/item/timeline-item.css.js +0 -1
  233. package/dist/timeline/item/timeline-item.js +0 -17
  234. package/dist/timeline/root/timeline-root.css.js +0 -1
  235. package/dist/timeline/root/timeline-root.js +0 -15
  236. package/dist/toast/item/toast-item.css.js +0 -1
  237. package/dist/toast/item/toast-item.js +0 -21
  238. package/dist/toast/root/toast-root.css.js +0 -1
  239. package/dist/toast/root/toast-root.js +0 -27
  240. package/dist/toggle/group/toggle-group.css.js +0 -1
  241. package/dist/toggle/group/toggle-group.js +0 -25
  242. package/dist/toggle/root/toggle-root.css.js +0 -1
  243. package/dist/toggle/root/toggle-root.js +0 -18
  244. package/dist/toolbar/root/toolbar-root.css.js +0 -1
  245. package/dist/toolbar/root/toolbar-root.js +0 -19
  246. package/dist/tooltip/root/tooltip-root.css.js +0 -1
  247. package/dist/tooltip/root/tooltip-root.js +0 -22
  248. package/dist/tour/root/tour-root.css.js +0 -1
  249. package/dist/tour/root/tour-root.js +0 -14
  250. package/dist/tour/stop/tour-stop.css.js +0 -1
  251. package/dist/tour/stop/tour-stop.js +0 -22
  252. package/dist/tree/item/tree-item.css.js +0 -1
  253. package/dist/tree/item/tree-item.js +0 -34
  254. package/dist/tree/root/tree-root.css.js +0 -1
  255. package/dist/tree/root/tree-root.js +0 -27
  256. package/dist/trend/root/trend-root.css.js +0 -1
  257. package/dist/trend/root/trend-root.js +0 -34
  258. package/dist/video/root/video-root.css.js +0 -1
  259. package/dist/video/root/video-root.js +0 -37
  260. package/dist/video-playlist/item/video-playlist-item.css.js +0 -1
  261. package/dist/video-playlist/item/video-playlist-item.js +0 -15
  262. package/dist/video-playlist/menu/video-playlist-menu.css.js +0 -1
  263. package/dist/video-playlist/menu/video-playlist-menu.js +0 -36
  264. package/dist/video-playlist/root/video-playlist-root.css.js +0 -1
  265. package/dist/video-playlist/root/video-playlist-root.js +0 -16
  266. package/dist/virtual-list/root/virtual-list-root.css.js +0 -1
  267. package/dist/virtual-list/root/virtual-list-root.js +0 -21
  268. package/jsx.d.ts +1538 -2818
  269. package/package.json +7 -7
  270. package/vue.d.ts +3 -7
@@ -10,31 +10,6 @@ import { property } from 'lit/decorators.js';
10
10
  import { styles as fieldStyles } from '../../shared/field/field.css.js';
11
11
  import { styles as fieldStackedStyles } from '../../shared/field/field-stacked.css.js';
12
12
  import { styles } from './toggle-group.css.js';
13
- /**
14
- * @summary A row of options with the selection marked by a moving indicator.
15
- *
16
- * @description
17
- * The indicator travels between items rather than the fill swapping. A fill
18
- * that appears on one item as it disappears from another is two changes at once
19
- * and reads as a flicker; one object moving is something the eye follows, and
20
- * it says where the selection came from as well as where it went.
21
- *
22
- * It animates `translate` and `inline-size`. Width is a layout property and the
23
- * rule is transform and opacity only, but the indicator is out of flow, so
24
- * animating its width reflows nothing else. Scaling instead would distort the
25
- * corner radius, which is worse than the exception.
26
- *
27
- * @since 0.1.0
28
- * @status experimental
29
- * @aliases SegmentedControl, Segmented, Navigation, Switcher
30
- * @documentation https://helix.fusion.dev/components/toggle-group
31
- *
32
- * @slot - The group's items.
33
- *
34
- * @csspart indicator - The moving marker behind the selected item.
35
- *
36
- * @cssproperty --toggle-group-indicator-color - Fill of the moving marker.
37
- */
38
13
  let HelixToggleGroup = class HelixToggleGroup extends HelixHeadlessToggleGroup {
39
14
  static { this.styles = [fieldStyles, fieldStackedStyles, styles]; }
40
15
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/toggle/root/toggle-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  block-size: 100%;
@@ -7,24 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessToggle } from '@fusion.dev/helix-headless/toggle';
9
9
  import { styles } from './toggle-root.css.js';
10
- /**
11
- * @summary One option in a toggle group.
12
- *
13
- * @description
14
- * Carries no background of its own. The selected look comes from the group's
15
- * indicator sitting behind it, which is what lets that marker travel instead of
16
- * one fill appearing as another disappears.
17
- *
18
- * @since 0.1.0
19
- * @status experimental
20
- * @category actions
21
- * @aliases Segment, NavItem, Option
22
- * @documentation https://helix.fusion.dev/components/toggle-group
23
- *
24
- * @slot - The item's label.
25
- *
26
- * @csspart item - The button or anchor.
27
- */
28
10
  let HelixToggle = class HelixToggle extends HelixHeadlessToggle {
29
11
  static { this.styles = styles; }
30
12
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/toolbar/root/toolbar-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
 
@@ -7,25 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessToolbar } from '@fusion.dev/helix-headless/toolbar';
9
9
  import { styles } from './toolbar-root.css.js';
10
- /**
11
- * @summary A group of controls that share one tab stop.
12
- *
13
- * @description
14
- * No chrome of its own: a toolbar is a place controls sit, and a border around
15
- * them would be a second frame inside whatever already frames the bar.
16
- *
17
- * @since 0.1.0
18
- * @status stable
19
- * @category layout
20
- * @aliases Actions, Action bar
21
- * @documentation https://helix.fusion.dev/components/toolbar
22
- *
23
- * @slot - The toolbar's controls.
24
- *
25
- * @csspart toolbar - The toolbar container.
26
- *
27
- * @cssproperty --toolbar-gap - Space between controls.
28
- */
29
10
  let HelixToolbar = class HelixToolbar extends HelixHeadlessToolbar {
30
11
  static { this.styles = styles; }
31
12
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/tooltip/root/tooltip-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: contents;
@@ -8,28 +8,6 @@ import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessTooltip } from '@fusion.dev/helix-headless/tooltip';
9
9
  import { property } from 'lit/decorators.js';
10
10
  import { styles } from './tooltip-root.css.js';
11
- /**
12
- * @summary A short description that appears beside what it describes.
13
- *
14
- * @description
15
- * The bubble is in the top layer, so it needs no `z-index` and cannot be
16
- * clipped by whatever it sits inside.
17
- *
18
- * The arrow is positioned by the same pass that positions the bubble, so it
19
- * still points at the trigger after the bubble has slid along to stay in view.
20
- *
21
- * @since 0.1.0
22
- * @status experimental
23
- * @category overlays
24
- * @groups charts
25
- * @aliases Hint, Popup label
26
- * @documentation https://helix.fusion.dev/components/tooltip
27
- *
28
- * @cssproperty --tooltip-arrow-size - Size of the point at the bubble's edge.
29
- * @cssproperty --tooltip-backdrop - Blur behind a `glass` bubble.
30
- * @cssproperty --tooltip-background-color - Fill of the bubble.
31
- * @cssproperty --tooltip-max-inline-size - Widest the bubble grows before wrapping.
32
- */
33
11
  let HelixTooltip = class HelixTooltip extends HelixHeadlessTooltip {
34
12
  static { this.styles = styles; }
35
13
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/tour/root/tour-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: contents;
@@ -7,20 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessTour } from '@fusion.dev/helix-headless/tour';
9
9
  import { styles } from './tour-root.css.js';
10
- /**
11
- * @summary A guided run through an interface, one stop at a time.
12
- *
13
- * @description
14
- * The styled tier of `BaseTour`. It draws the light and nothing else.
15
- *
16
- * @since 0.1.0
17
- * @status experimental
18
- * @category overlays
19
- * @documentation https://helix.fusion.dev/components/tour
20
- *
21
- * @cssproperty --tour-scrim-color - The darkness outside the lit box.
22
- * @cssproperty --tour-spotlight-radius - Corner radius of the lit box.
23
- */
24
10
  let HelixTour = class HelixTour extends HelixHeadlessTour {
25
11
  static { this.styles = styles; }
26
12
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/tour/stop/tour-stop.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: contents;
@@ -8,28 +8,6 @@ import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessTourStop } from '@fusion.dev/helix-headless/tour';
9
9
  import { styles } from './tour-stop.css.js';
10
10
  import '../../button/index.js';
11
- /**
12
- * @summary One stop on a tour: what it points at, and a panel to say it in.
13
- *
14
- * @description
15
- * The styled tier of `BaseTourStop`. The panel is `Popover`'s panel by another
16
- * name, on purpose.
17
- *
18
- * @since 0.1.0
19
- * @status experimental
20
- * @category overlays
21
- * @documentation https://helix.fusion.dev/components/tour
22
- *
23
- * @cssproperty --tour-arrow-size - The point's box, before it is rotated.
24
- * @cssproperty --tour-border-width - Width of the panel's edge. Follows
25
- * `--helix-border-floating`, which is `0`, so the panel is told apart by its lift unless a
26
- * theme says otherwise.
27
- * @cssproperty --tour-bubble-size - How wide the panel may grow.
28
- * @cssproperty --tour-padding - Inset inside the panel.
29
- * @cssproperty --tour-shadow - Lift under the panel. Follows `--helix-shadow-floating`: a
30
- * floating surface sits over content nobody can predict, so it keeps a lift by default.
31
- * @cssproperty --tour-surface-color - The panel's own surface.
32
- */
33
11
  let HelixTourStop = class HelixTourStop extends HelixHeadlessTourStop {
34
12
  static { this.tier = 'helix-'; }
35
13
  static { this.styles = styles; }
@@ -1,4 +1,3 @@
1
- // Generated from src/tree/item/tree-item.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
 
@@ -7,40 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessTreeItem } from '@fusion.dev/helix-headless/tree';
9
9
  import { styles } from './tree-item.css.js';
10
- /**
11
- * @summary One node in a tree.
12
- *
13
- * @description
14
- * Indent comes from the `level` the tree sets, as a multiple of one hook, so a
15
- * node moved to another depth re-indents without any nested selector. Nesting
16
- * selectors by depth is the usual approach and stops working at whatever depth
17
- * nobody wrote a rule for.
18
- *
19
- * The twisty rotates rather than swapping glyphs, so opening a branch is a
20
- * short movement instead of a substitution. Motion carries the state change;
21
- * the row itself stays flat.
22
- *
23
- * @since 0.1.0
24
- * @status experimental
25
- * @aliases TreeNode, Branch, Leaf
26
- * @documentation https://helix.fusion.dev/components/tree
27
- *
28
- * @slot - The item's label.
29
- * @slot children - Nested items, which make this a branch.
30
- *
31
- * @event {HelixSelectEvent} helix-select - Fired when the item is chosen. Cancelable: refusing it takes the decision and nothing moves.
32
- *
33
- * @csspart group - The container for nested items.
34
- * @csspart item - The node, and the focus target.
35
- * @csspart label - The label text.
36
- * @csspart row - The clickable label row.
37
- * @csspart toggle - The expand and collapse control.
38
- *
39
- * @cssproperty --tree-chevron-size - Size of the chevron, and the gutter a leaf reserves.
40
- * @cssproperty --tree-gap - Space between rows.
41
- * @cssproperty --tree-indent - Indent added per level.
42
- * @cssproperty --tree-row-size - Least height of a row, so rows with and without an icon match.
43
- */
44
10
  let HelixTreeItem = class HelixTreeItem extends HelixHeadlessTreeItem {
45
11
  static { this.styles = styles; }
46
12
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/tree/root/tree-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: block;
@@ -8,33 +8,6 @@ import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessTree } from '@fusion.dev/helix-headless/tree';
9
9
  import { property } from 'lit/decorators.js';
10
10
  import { styles } from './tree-root.css.js';
11
- /**
12
- * @summary A tree of items, navigable entirely from the keyboard.
13
- *
14
- * @description
15
- * Quiet by default: no rules between rows and no fill except on the selected
16
- * item. A navigation tree is read by scanning, and every line of chrome added
17
- * to it is one more thing between the reader and the label.
18
- *
19
- * @since 0.1.0
20
- * @status experimental
21
- * @category navigation
22
- * @aliases FileTree, Navigation tree
23
- * @documentation https://helix.fusion.dev/components/tree
24
- *
25
- * @slot - The tree's items.
26
- *
27
- * @event {HelixSelectEvent} helix-select - Fired when an item is chosen. Dispatched by the item and listened for here, because the tree is what a consumer holds a reference to. Cancelable: refusing it takes the decision and nothing moves.
28
- *
29
- * @csspart tree - The tree container.
30
- *
31
- * @cssproperty --tree-chevron-gap - Set from `chevron-placement`; the space before the chevron.
32
- * @cssproperty --tree-chevron-order - Set from `chevron-placement`; read by each item.
33
- * @cssproperty --tree-chevron-size - Size of the chevron, and the gutter a leaf reserves.
34
- * @cssproperty --tree-gap - Space between rows.
35
- * @cssproperty --tree-indent - Indent added per level.
36
- * @cssproperty --tree-row-size - Least height of a row, so rows with and without an icon match.
37
- */
38
11
  let HelixTree = class HelixTree extends HelixHeadlessTree {
39
12
  static { this.styles = styles; }
40
13
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/trend/root/trend-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  align-items: center;
@@ -9,40 +9,6 @@ import { HelixHeadlessTrend } from '@fusion.dev/helix-headless/trend';
9
9
  import '../../icon/index.js';
10
10
  import { styles as glyphStyles } from '../../icon/glyph.css.js';
11
11
  import { styles } from './trend-root.css.js';
12
- /**
13
- * @summary Which way a measurement moved, and whether that is good news.
14
- *
15
- * @description
16
- * The arrow takes the judgment color and the number does not, which is the
17
- * opposite of the dashboard convention and is measured rather than preferred:
18
- * in light mode the success token is 3.8:1 on the surface, enough for a glyph
19
- * and short of what 13px text needs, and there is no darker green in the ramp.
20
- * The number therefore keeps the page's own foreground and stays the most
21
- * legible thing here, which is right anyway, since the number is what a reader
22
- * reads and the judgment is a gloss on it.
23
- *
24
- * **No visual axis applies here, and that is the answer rather than a gap.**
25
- * `emphasis` is how much ink a mark claims, and there is no mark: an arrow glyph
26
- * and two runs of text, whose weight is `Text`'s business and whose size is the
27
- * region's. `material` is what reads through a surface, and a 13px glyph has
28
- * nothing behind it. `wash` is a gradient across an area, and there is no area.
29
- *
30
- * The meaning axis is here and is *derived*, which is the more interesting half:
31
- * `direction` and `good` together resolve to success, danger or muted, so a
32
- * consumer states the metric's polarity once rather than picking a color. A
33
- * declared `tone` would let the color disagree with the arrow, which is the one
34
- * thing this component exists to stop.
35
- *
36
- * @since 0.1.0
37
- * @status stable
38
- * @category charts
39
- * @groups charts
40
- * @aliases Delta, Change, Movement
41
- * @documentation https://helix.fusion.dev/components/trend
42
- *
43
- * @cssproperty --trend-color - Color of the arrow, overriding the judgment.
44
- * @cssproperty --trend-icon-size - Size of the arrow.
45
- */
46
12
  let HelixTrend = class HelixTrend extends HelixHeadlessTrend {
47
13
  static { this.styles = [glyphStyles, styles]; }
48
14
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/video/root/video-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  color-scheme: dark;
@@ -11,43 +11,6 @@ import '../../icon/index.js';
11
11
  import '../../menu/index.js';
12
12
  import { styles as glyphStyles } from '../../icon/glyph.css.js';
13
13
  import { styles } from './video-root.css.js';
14
- /**
15
- * @summary Plays a video, with controls this library draws rather than the
16
- * browser's.
17
- *
18
- * @description
19
- * The player is the headless tier's. What this adds is the bar: where it sits, when
20
- * it is there, and what the two ranges look like, which is the whole reason to
21
- * replace a control set that cannot be styled.
22
- *
23
- * **The bar is over the picture, not under it.** A bar in the layout would move
24
- * everything below the video by its own height and would leave a strip of page
25
- * color under a picture that is meant to be the whole of it. Over it, the
26
- * video is the component's size and the controls belong to it.
27
- *
28
- * **It goes when nobody is using it, and comes back for the keyboard.** Hidden
29
- * once a playing video has gone `idle-delay` without being touched, shown again
30
- * the moment the pointer moves, and shown whenever anything inside it has
31
- * focus, which is what keeps it reachable without a pointer. A paused video
32
- * keeps its bar, because a reader who stopped it is deciding what to do next.
33
- *
34
- * @since 0.1.0
35
- * @status experimental
36
- * @category media
37
- * @documentation https://helix.fusion.dev/components/video
38
- *
39
- * @cssproperty --video-accent-color - The played part of the scrubber.
40
- * @cssproperty --video-aspect-ratio - The shape of the box. Defaults to the
41
- * video's own once known, and `16 / 9` until then.
42
- * @cssproperty --video-controls-color - The ink on the bar.
43
- * @cssproperty --video-radius - The corner it is cut to.
44
- * @cssproperty --video-speed-size - How wide the playback speed control is
45
- * held, so the row does not move when the number changes.
46
- * @cssproperty --video-start-size - Width of the mark that starts it.
47
- * @cssproperty --video-well-color - Behind the picture, and in the letterbox bars.
48
- *
49
- * @property separation - Whether the bar floats on the picture or sits on its own ground.
50
- */
51
14
  let HelixVideo = class HelixVideo extends HelixHeadlessVideo {
52
15
  static { this.tier = 'helix-'; }
53
16
  static { this.styles = [glyphStyles, styles]; }
@@ -1,4 +1,3 @@
1
- // Generated from src/video-playlist/item/video-playlist-item.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: block;
@@ -7,21 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessVideoPlaylistItem } from '@fusion.dev/helix-headless/video-playlist';
9
9
  import { styles } from './video-playlist-item.css.js';
10
- /**
11
- * @summary One entry in a video playlist.
12
- *
13
- * @description
14
- * Presentation only: the row, its thumbnail column, and the mark on the one
15
- * playing. The base class holds what the entry is and what it announces.
16
- *
17
- * @since 0.1.0
18
- * @status experimental
19
- * @category media
20
- * @documentation https://helix.fusion.dev/components/video-playlist
21
- *
22
- * @cssproperty --video-playlist-item-background-color - Fill behind a row.
23
- * @cssproperty --video-playlist-media-size - Width of the thumbnail column.
24
- */
25
10
  let HelixVideoPlaylistItem = class HelixVideoPlaylistItem extends HelixHeadlessVideoPlaylistItem {
26
11
  static { this.styles = styles; }
27
12
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/video-playlist/menu/video-playlist-menu.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: flex;
@@ -10,43 +10,7 @@ import { styles as glyphStyles } from '../../icon/glyph.css.js';
10
10
  import { styles } from './video-playlist-menu.css.js';
11
11
  import '../../icon/index.js';
12
12
  import '../../menu/index.js';
13
- /**
14
- * @summary The playlist's entries, as a menu inside the player's control bar.
15
- *
16
- * @description
17
- * Presentation only: a control-bar button drawn like the ones beside it, and a
18
- * menu that opens over the picture rather than under it. The base class holds
19
- * where the playlist is, what the entries are, and what choosing announces.
20
- *
21
- * The trigger's declarations are `Video`'s control rule written out a second
22
- * time, which is not duplication that could be avoided. That rule is
23
- * `[part="controls"] :where(a, button)` inside `Video`'s shadow root, and this
24
- * element sits in its light DOM: a shadow rule reaches an assigned node only
25
- * through `::slotted()` and never reaches into the node's own shadow root at
26
- * all. So the button here is two boundaries away from the rule that styles
27
- * every button beside it, and the same tokens are what make the two agree.
28
- *
29
- * Color is inherited rather than named, so the bar's own color arrives on
30
- * its own. `--video-playlist-menu-color` is there for the case where it should
31
- * not.
32
- *
33
- * @since 0.1.0
34
- * @status experimental
35
- * @category media
36
- * @aliases Episode Menu, Queue Menu, Up Next
37
- * @documentation https://helix.fusion.dev/components/video-playlist
38
- *
39
- * @cssproperty --video-playlist-menu-color - Color of the trigger, defaulting to the control bar's.
40
- * @cssproperty --video-playlist-menu-poster - Width of an entry's still.
41
- * @cssproperty --video-playlist-menu-size - Size of the trigger's glyph.
42
- */
43
13
  let HelixVideoPlaylistMenu = class HelixVideoPlaylistMenu extends HelixHeadlessVideoPlaylistMenu {
44
- /* `glyphStyles` first, and it is not optional. `drawIcon` renders a bare
45
- `<svg data-glyph>` with no size of its own, and the only rule that sizes
46
- one lives in the icon family's sheet. Without it the glyph came out 24x24
47
- inside a 24x24 button, filling it edge to edge beside a 16x16 fullscreen
48
- icon: right color, right button, right position, and half again too big.
49
- Nothing failed, because a missing rule is not an error. */
50
14
  static { this.tier = 'helix-'; }
51
15
  static { this.styles = [glyphStyles, styles]; }
52
16
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/video-playlist/root/video-playlist-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: grid;
@@ -7,22 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessVideoPlaylist } from '@fusion.dev/helix-headless/video-playlist';
9
9
  import { styles } from './video-playlist-root.css.js';
10
- /**
11
- * @summary A set of clips and the one player they take turns in.
12
- *
13
- * @description
14
- * Presentation only: the arrangement of the two regions and the scroller the
15
- * entries sit in. Everything about which clip is current is the base class.
16
- *
17
- * @since 0.1.0
18
- * @status experimental
19
- * @category media
20
- * @aliases Playlist, Queue, Up next
21
- * @documentation https://helix.fusion.dev/components/video-playlist
22
- *
23
- * @cssproperty --video-playlist-layout - Columns for the player and the list.
24
- * @cssproperty --video-playlist-size - How tall the list gets before it scrolls.
25
- */
26
10
  let HelixVideoPlaylist = class HelixVideoPlaylist extends HelixHeadlessVideoPlaylist {
27
11
  static { this.styles = styles; }
28
12
  };
@@ -1,4 +1,3 @@
1
- // Generated from src/virtual-list/root/virtual-list-root.css by `turbo run styles`. Do not edit.
2
1
  import { createSheet } from '@fusion.dev/helix-core';
3
2
  export const styles = createSheet(`:host {
4
3
  display: block;
@@ -7,27 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { customElement } from '@fusion.dev/helix-core';
8
8
  import { HelixHeadlessVirtualList } from '@fusion.dev/helix-headless/virtual-list';
9
9
  import { styles } from './virtual-list-root.css.js';
10
- /**
11
- * @summary Renders the rows of a long set that are on screen, and no others.
12
- *
13
- * @description
14
- * The styled tier adds the scrolling box's own treatment and nothing else. Rows
15
- * are the consumer's markup in the light DOM, so they are styled by the
16
- * consumer's stylesheet the way any other content is, and this must not reach
17
- * into them: a rule here for a row would be a design system styling markup it
18
- * did not write.
19
- *
20
- * @category layout
21
- * @since 0.1.0
22
- * @status experimental
23
- * @documentation https://helix.fusion.dev/components/virtual-list
24
- *
25
- * @csspart after - The space standing in for rows below the window.
26
- * @csspart before - The space standing in for rows above the window.
27
- * @csspart viewport - The scrolling box.
28
- *
29
- * @cssproperty --virtual-list-block-size - How tall the scrolling box is.
30
- */
31
10
  let HelixVirtualList = class HelixVirtualList extends HelixHeadlessVirtualList {
32
11
  static { this.styles = styles; }
33
12
  };