@fusion.dev/helix 0.0.0-dev → 0.0.2

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 (227) hide show
  1. package/custom-elements.json +5565 -5519
  2. package/dist/accordion/item/accordion-item.css.js +1 -19
  3. package/dist/accordion/root/accordion-root.css.js +1 -1
  4. package/dist/accordion/root/accordion-root.d.ts +1 -1
  5. package/dist/accordion/root/accordion-root.js +1 -1
  6. package/dist/announcement/root/announcement-root.css.js +1 -7
  7. package/dist/app-header/root/app-header-root.css.js +1 -7
  8. package/dist/app-header/root/app-header-root.d.ts +20 -23
  9. package/dist/app-header/root/app-header-root.js +4 -4
  10. package/dist/aura/root/aura-axis.d.ts +5 -7
  11. package/dist/aura/root/aura-axis.js +5 -7
  12. package/dist/aura/root/aura-root.css.js +1 -1
  13. package/dist/aura/root/aura-root.d.ts +75 -87
  14. package/dist/aura/root/aura-root.js +100 -109
  15. package/dist/aura/root/aura-shader.d.ts +10 -13
  16. package/dist/aura/root/aura-shader.js +165 -238
  17. package/dist/avatar/group/avatar-group.css.js +1 -1
  18. package/dist/avatar/root/avatar-root.css.js +1 -1
  19. package/dist/badge/root/badge-root.css.js +1 -13
  20. package/dist/badge/root/badge-root.d.ts +4 -5
  21. package/dist/bar-chart/root/bar-chart-root.css.js +1 -13
  22. package/dist/bar-chart/root/bar-chart-root.d.ts +51 -60
  23. package/dist/bar-chart/root/bar-chart-root.js +10 -17
  24. package/dist/blockquote/root/blockquote-root.css.js +1 -1
  25. package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +1 -7
  26. package/dist/breadcrumbs/root/breadcrumbs-root.css.js +1 -1
  27. package/dist/button/root/button-root.css.js +1 -7
  28. package/dist/button/root/button-root.d.ts +16 -25
  29. package/dist/button/root/button-root.js +3 -3
  30. package/dist/button-group/root/button-group-root.css.js +1 -1
  31. package/dist/button-group/root/button-group-root.d.ts +5 -7
  32. package/dist/callout/root/callout-root.css.js +1 -1
  33. package/dist/callout/root/callout-root.d.ts +4 -4
  34. package/dist/callout/root/callout-root.js +4 -4
  35. package/dist/card/root/card-root.css.js +2 -2
  36. package/dist/card/root/card-root.d.ts +38 -48
  37. package/dist/card/root/card-root.js +8 -11
  38. package/dist/carousel/root/carousel-root.css.js +1 -11
  39. package/dist/carousel/root/carousel-root.d.ts +39 -43
  40. package/dist/carousel/root/carousel-root.js +7 -7
  41. package/dist/chat/composer/chat-composer.css.js +1 -1
  42. package/dist/chat/message/chat-message.css.js +1 -7
  43. package/dist/chat/message/chat-message.d.ts +8 -13
  44. package/dist/chat/root/chat-root.css.js +1 -1
  45. package/dist/checkbox/root/checkbox-root.css.js +1 -14
  46. package/dist/checkbox-group/root/checkbox-group-root.css.js +1 -1
  47. package/dist/code/root/code-root.css.js +9 -7
  48. package/dist/code/root/code-root.d.ts +4 -0
  49. package/dist/code/root/code-root.js +4 -0
  50. package/dist/code-block/root/code-block-root.css.js +1 -1
  51. package/dist/color-input/root/color-input-root.css.js +2 -2
  52. package/dist/color-input/root/color-input-root.js +3 -3
  53. package/dist/color-picker/root/color-picker-root.css.js +1 -9
  54. package/dist/color-picker/root/color-picker-root.js +3 -3
  55. package/dist/combobox/root/combobox-root.css.js +1 -8
  56. package/dist/combobox/root/combobox-root.js +1 -1
  57. package/dist/command/root/command-root.css.js +1 -1
  58. package/dist/copy-button/root/copy-button-root.css.js +1 -1
  59. package/dist/data-table/root/data-table-root.css.js +9 -3
  60. package/dist/data-table/root/data-table-root.d.ts +4 -1
  61. package/dist/data-table/root/data-table-root.js +4 -1
  62. package/dist/date-input/root/date-input-root.css.js +1 -1
  63. package/dist/date-picker/root/date-picker-root.css.js +1 -7
  64. package/dist/date-picker/root/date-picker-root.d.ts +1 -1
  65. package/dist/date-picker/root/date-picker-root.js +1 -1
  66. package/dist/dialog/root/dialog-root.css.js +1 -1
  67. package/dist/dialog/root/dialog-root.d.ts +15 -20
  68. package/dist/dialog/root/dialog-root.js +2 -2
  69. package/dist/divider/root/divider-root.css.js +1 -1
  70. package/dist/donut-chart/root/donut-chart-root.css.js +2 -20
  71. package/dist/donut-chart/root/donut-chart-root.d.ts +14 -19
  72. package/dist/donut-chart/root/donut-chart-root.js +6 -7
  73. package/dist/drawer/root/drawer-root.css.js +1 -11
  74. package/dist/drawer/root/drawer-root.d.ts +3 -7
  75. package/dist/drilldown/item/drilldown-item.css.js +1 -1
  76. package/dist/drilldown/root/drilldown-root.css.js +1 -1
  77. package/dist/element-events.generated.js +1 -1
  78. package/dist/empty/root/empty-root.css.js +1 -1
  79. package/dist/file-input/root/file-input-root.css.js +1 -1
  80. package/dist/file-input/root/file-input-root.js +1 -2
  81. package/dist/flex/root/flex-root.css.js +1 -1
  82. package/dist/flex/root/flex-root.d.ts +6 -6
  83. package/dist/flex/root/flex-root.js +9 -9
  84. package/dist/format-date/root/format-date-root.css.js +1 -1
  85. package/dist/grid/root/grid-root.css.js +1 -1
  86. package/dist/grid/root/grid-root.d.ts +8 -8
  87. package/dist/grid/root/grid-root.js +8 -9
  88. package/dist/heatmap/root/heatmap-root.css.js +2 -2
  89. package/dist/heatmap/root/heatmap-root.d.ts +11 -12
  90. package/dist/heatmap/root/heatmap-root.js +11 -12
  91. package/dist/icon/glyph.css.js +1 -1
  92. package/dist/icon/root/icon-root.css.js +1 -1
  93. package/dist/icon-button/root/icon-button-root.css.js +1 -7
  94. package/dist/icon-button/root/icon-button-root.d.ts +10 -10
  95. package/dist/icon-button/root/icon-button-root.js +4 -4
  96. package/dist/image/root/image-root.css.js +1 -7
  97. package/dist/input/root/input-root.css.js +1 -9
  98. package/dist/kbd/root/kbd-root.css.js +1 -1
  99. package/dist/legend/root/legend-root.css.js +1 -1
  100. package/dist/legend/root/legend-root.d.ts +34 -37
  101. package/dist/legend/root/legend-root.js +10 -10
  102. package/dist/line-chart/root/line-chart-root.css.js +1 -8
  103. package/dist/line-chart/root/line-chart-root.d.ts +6 -9
  104. package/dist/list/item/list-item.css.js +1 -1
  105. package/dist/list/root/list-root.css.js +1 -1
  106. package/dist/list/root/list-root.d.ts +4 -7
  107. package/dist/listbox/root/listbox-root.css.js +3 -3
  108. package/dist/listbox/root/listbox-root.d.ts +2 -0
  109. package/dist/listbox/root/listbox-root.js +2 -0
  110. package/dist/loader/root/loader-root.css.js +1 -1
  111. package/dist/loader/root/loader-root.d.ts +5 -9
  112. package/dist/loader/root/loader-root.js +2 -2
  113. package/dist/megamenu/root/megamenu-root.css.js +3 -2
  114. package/dist/menu/item/menu-item.css.js +1 -7
  115. package/dist/menu/root/menu-root.css.js +1 -1
  116. package/dist/meter/root/meter-root.css.js +1 -14
  117. package/dist/meter/root/meter-root.d.ts +18 -18
  118. package/dist/meter/root/meter-root.js +6 -8
  119. package/dist/mixins/mixin-control-surface/mixin-control-surface.d.ts +1 -1
  120. package/dist/navigation/root/navigation-root.css.js +1 -7
  121. package/dist/notifications/notification/notification.css.js +1 -7
  122. package/dist/notifications/root/notifications-root.css.js +1 -1
  123. package/dist/number-input/root/number-input-root.css.js +1 -9
  124. package/dist/option/group/option-group.css.js +1 -1
  125. package/dist/option/root/option-root.css.js +1 -1
  126. package/dist/outline/root/outline-root.css.js +1 -14
  127. package/dist/outline/root/outline-root.d.ts +1 -1
  128. package/dist/outline/root/outline-root.js +1 -1
  129. package/dist/pagination/root/pagination-root.css.js +1 -12
  130. package/dist/pagination/size/pagination-size.css.js +1 -1
  131. package/dist/pagination/summary/pagination-summary.css.js +1 -1
  132. package/dist/pin-input/root/pin-input-root.css.js +1 -7
  133. package/dist/popover/root/popover-root.css.js +4 -2
  134. package/dist/progress/root/progress-root.css.js +1 -7
  135. package/dist/progress/root/progress-root.d.ts +10 -9
  136. package/dist/qr-code/root/qr-code-root.css.js +1 -1
  137. package/dist/qr-code/root/qr-code-root.d.ts +1 -1
  138. package/dist/qr-code/root/qr-code-root.js +1 -1
  139. package/dist/quote/root/quote-root.css.js +1 -1
  140. package/dist/radio/group/radio-group.css.js +1 -1
  141. package/dist/radio/root/radio-root.css.js +1 -14
  142. package/dist/radio/root/radio-root.d.ts +20 -18
  143. package/dist/radio/root/radio-root.js +5 -6
  144. package/dist/rating/root/rating-root.css.js +1 -1
  145. package/dist/rating/root/rating-root.d.ts +4 -5
  146. package/dist/sandbox/preview/sandbox-preview.css.js +1 -1
  147. package/dist/sandbox/preview/sandbox-preview.d.ts +48 -44
  148. package/dist/sandbox/preview/sandbox-preview.js +63 -50
  149. package/dist/sandbox/root/sandbox-root.css.js +1 -2
  150. package/dist/sandbox/root/sandbox-root.d.ts +50 -59
  151. package/dist/sandbox/root/sandbox-root.js +75 -91
  152. package/dist/sandbox/source/sandbox-source.css.js +1 -1
  153. package/dist/sandbox/source/sandbox-source.d.ts +21 -29
  154. package/dist/sandbox/source/sandbox-source.js +26 -34
  155. package/dist/sandbox/status-bar/sandbox-status-bar.css.js +1 -1
  156. package/dist/sandbox/terminal/sandbox-terminal.css.js +1 -1
  157. package/dist/sandbox/toolbar/sandbox-toolbar.css.js +1 -1
  158. package/dist/scroll-area/root/scroll-area-root.css.js +5 -5
  159. package/dist/select/root/select-root.css.js +2 -15
  160. package/dist/select/root/select-root.d.ts +4 -4
  161. package/dist/select/root/select-root.js +5 -7
  162. package/dist/shared/chart/series.css.js +1 -1
  163. package/dist/shared/chart/terminus.css.js +1 -1
  164. package/dist/shared/field/field-inline.css.js +1 -1
  165. package/dist/shared/field/field-stacked.css.js +1 -1
  166. package/dist/shared/field/field.css.js +1 -1
  167. package/dist/skeleton/root/skeleton-root.css.js +1 -1
  168. package/dist/slider/root/slider-root.css.js +1 -3
  169. package/dist/sparkline/root/sparkline-root.css.js +1 -1
  170. package/dist/sparkline/root/sparkline-root.d.ts +22 -24
  171. package/dist/sparkline/root/sparkline-root.js +6 -6
  172. package/dist/speed-dial/item/speed-dial-item.css.js +1 -7
  173. package/dist/speed-dial/root/speed-dial-root.css.js +1 -1
  174. package/dist/splitter/root/splitter-root.css.js +1 -14
  175. package/dist/stat/group/stat-group.css.js +1 -1
  176. package/dist/stat/root/stat-root.css.js +1 -1
  177. package/dist/steps/root/steps-root.css.js +1 -1
  178. package/dist/steps/step/step.css.js +1 -8
  179. package/dist/steps/step/step.js +1 -1
  180. package/dist/switch/root/switch-root.css.js +1 -8
  181. package/dist/table/cell/table-cell.css.js +1 -1
  182. package/dist/table/column/table-column.css.js +1 -1
  183. package/dist/table/root/table-root.css.js +1 -1
  184. package/dist/table/row/table-row.css.js +1 -1
  185. package/dist/tabs/panel/tab-panel.css.js +1 -1
  186. package/dist/tabs/root/tabs-root.css.js +1 -7
  187. package/dist/tabs/tab/tab.css.js +2 -8
  188. package/dist/tag/root/tag-root.css.js +1 -1
  189. package/dist/tag/root/tag-root.d.ts +10 -19
  190. package/dist/tag/root/tag-root.js +3 -3
  191. package/dist/text/root/text-root.css.js +1 -1
  192. package/dist/text/root/text-root.d.ts +13 -14
  193. package/dist/text/root/text-root.js +6 -6
  194. package/dist/textarea/root/textarea-root.css.js +1 -7
  195. package/dist/time-input/root/time-input-root.css.js +1 -1
  196. package/dist/time-input/root/time-input-root.js +1 -1
  197. package/dist/time-picker/root/time-picker-root.css.js +1 -7
  198. package/dist/time-picker/root/time-picker-root.js +1 -1
  199. package/dist/timeline/item/timeline-item.css.js +1 -1
  200. package/dist/timeline/root/timeline-root.css.js +1 -1
  201. package/dist/toast/item/toast-item.css.js +1 -1
  202. package/dist/toast/root/toast-root.css.js +1 -1
  203. package/dist/toggle/group/toggle-group.css.js +1 -7
  204. package/dist/toggle/group/toggle-group.d.ts +6 -9
  205. package/dist/toggle/root/toggle-root.css.js +1 -1
  206. package/dist/toolbar/root/toolbar-root.css.js +1 -1
  207. package/dist/tooltip/root/tooltip-root.css.js +1 -1
  208. package/dist/tooltip/root/tooltip-root.d.ts +6 -7
  209. package/dist/tour/root/tour-root.css.js +1 -7
  210. package/dist/tour/stop/tour-stop.css.js +2 -2
  211. package/dist/tree/item/tree-item.css.js +1 -17
  212. package/dist/tree/root/tree-root.css.js +1 -1
  213. package/dist/tree/root/tree-root.d.ts +0 -2
  214. package/dist/trend/root/trend-root.css.js +1 -1
  215. package/dist/trend/root/trend-root.d.ts +4 -7
  216. package/dist/trend/root/trend-root.js +4 -7
  217. package/dist/video/root/video-root.css.js +1 -12
  218. package/dist/video/root/video-root.d.ts +3 -8
  219. package/dist/video-playlist/item/video-playlist-item.css.js +1 -7
  220. package/dist/video-playlist/menu/video-playlist-menu.css.js +1 -1
  221. package/dist/video-playlist/root/video-playlist-root.css.js +1 -1
  222. package/dist/virtual-list/root/virtual-list-root.css.js +1 -1
  223. package/elements.css +4 -5
  224. package/helix.css +31 -0
  225. package/jsx.d.ts +11625 -14561
  226. package/package.json +10 -8
  227. package/vue.d.ts +3594 -4231
@@ -29,15 +29,12 @@ export declare class HelixToggleGroup extends HelixHeadlessToggleGroup {
29
29
  /**
30
30
  * How the group separates itself from the page.
31
31
  *
32
- * **Classified by what it does rather than by what its values were called.**
33
- * These were `filled` and `plain` under `appearance`, and `filled` reads like
34
- * a fill weight, which is how it came to be listed as emphasis when the axes
35
- * were first sorted. The stylesheet settles it: what `plain` drops is the
36
- * background *and* the border, so this is where the group ends, not how much
37
- * ink it claims. `outlined` because the frame is a border over the group's
38
- * own ground, exactly as a Card's is; the track's sunken fill stays either
39
- * way, being a groove for the thumb to sit in rather than a way of being
40
- * seen.
32
+ * Separation rather than emphasis, because what `plain` drops is the
33
+ * background *and* the border: the question is where the group ends, not how
34
+ * much ink it claims. `outlined` because the frame is a border over the
35
+ * group's own ground, exactly as a Card's is; the track's sunken fill stays
36
+ * either way, being a groove for the thumb to sit in rather than a way of
37
+ * being seen.
41
38
  */
42
39
  separation?: 'outlined' | 'plain';
43
40
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- // Generated from src/toggle/root/toggle-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/toggle/root/toggle-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  block-size: 100%;
@@ -1,4 +1,4 @@
1
- // Generated from src/toolbar/root/toolbar-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/toolbar/root/toolbar-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated from src/tooltip/root/tooltip-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/tooltip/root/tooltip-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: contents;
@@ -35,9 +35,9 @@ export declare class HelixTooltip extends HelixHeadlessTooltip {
35
35
  * has to do.** A card is already the page's surface, so glass swaps one ground
36
36
  * for another; this one starts inverse, and `--helix-material-translucent` is
37
37
  * the page's ground, so taking it without the foreground would put light ink on
38
- * a light bubble. An inverse bubble is told from the page by being its
39
- * opposite and a glass one has to be told from what is behind it, which is why
40
- * the border arrives with the material rather than being there all along.
38
+ * a light bubble. The border arrives with the material rather than being there
39
+ * all along, because a glass bubble has to be told from what is behind it while
40
+ * an inverse one is told from the page by being its opposite.
41
41
  *
42
42
  * The strength is the theme's: `--helix-material-translucent` and
43
43
  * `--helix-material-backdrop` are what the policy moves.
@@ -47,10 +47,9 @@ export declare class HelixTooltip extends HelixHeadlessTooltip {
47
47
  * it ends, which is `separation`, and a bubble in the top layer with a point on
48
48
  * it has one answer to that. A quiet tooltip is a tooltip that is not shown.
49
49
  *
50
- * **`transparent` is where this one stops, and that is the statement 270
51
- * asks for rather than an omission.** A panel that floats over arbitrary page
52
- * content is only readable because it has a ground; dropping it does not make
53
- * a lighter tooltip, it makes an unreadable one. `frosted` and `glass` are the
50
+ * **No `transparent`, deliberately.** A bubble floating over arbitrary page
51
+ * content is only readable because it has a ground; dropping it makes an
52
+ * unreadable tooltip rather than a lighter one. `frosted` and `glass` are the
54
53
  * two honest points here.
55
54
  */
56
55
  material?: 'frosted' | 'glass';
@@ -1,4 +1,4 @@
1
- // Generated from src/tour/root/tour-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/tour/root/tour-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: contents;
@@ -17,12 +17,6 @@ inline-size var(--helix-duration-normal) var(--helix-easing-standard);
17
17
  z-index: var(--helix-layer-overlay);
18
18
  }
19
19
 
20
- @media (prefers-reduced-motion: reduce) {
21
- [part="spotlight"] {
22
- transition: none;
23
- }
24
- }
25
-
26
20
  @media print {
27
21
  :host {
28
22
  display: none;
@@ -1,4 +1,4 @@
1
- // Generated from src/tour/stop/tour-stop.css by `bun run styles`. Do not edit.
1
+ // Generated from src/tour/stop/tour-stop.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: contents;
@@ -7,7 +7,7 @@ display: contents;
7
7
  [part="bubble"] {
8
8
  background-color: var(--tour-surface-color, var(--helix-color-surface-raised));
9
9
  border: var(--tour-border-width, var(--helix-border-thin)) solid var(--helix-color-border);
10
- border-radius: var(--helix-radii-md);
10
+ border-radius: var(--helix-radii-sm);
11
11
  box-shadow: var(--tour-shadow, var(--helix-shadow-floating));
12
12
  box-sizing: border-box;
13
13
  color: var(--helix-color-foreground);
@@ -1,4 +1,4 @@
1
- // Generated from src/tree/item/tree-item.css by `bun run styles`. Do not edit.
1
+ // Generated from src/tree/item/tree-item.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
 
@@ -153,22 +153,6 @@ grid-template-rows: 0fr;
153
153
  }
154
154
  }
155
155
 
156
- @media (prefers-reduced-motion: reduce) {
157
- [part="group"] {
158
- transition: none;
159
- }
160
- }
161
-
162
- @media (prefers-reduced-motion: reduce) {
163
- [part="row"] {
164
- transition: none;
165
- }
166
-
167
- [part="toggle"] {
168
- transition: none;
169
- }
170
- }
171
-
172
156
  [part="toggle"] {
173
157
 
174
158
  align-self: center;
@@ -1,4 +1,4 @@
1
- // Generated from src/tree/root/tree-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/tree/root/tree-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: block;
@@ -33,8 +33,6 @@ export declare class HelixTree extends HelixHeadlessTree {
33
33
  *
34
34
  * Styled tier, because it is presentation and nothing else: it moves paint
35
35
  * and leaves the markup, the ARIA and the reading order exactly as they were.
36
- * It was written on the base class first, which the tier rule forbids for
37
- * precisely this kind of property.
38
36
  *
39
37
  * On the tree rather than on the item, because it is a fact about the list. A
40
38
  * navigation puts every chevron on the same side, and a per-item version
@@ -1,4 +1,4 @@
1
- // Generated from src/trend/root/trend-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/trend/root/trend-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  align-items: center;
@@ -14,13 +14,10 @@ import '../../icon/index.js';
14
14
  * reads and the judgment is a gloss on it.
15
15
  *
16
16
  * **No visual axis applies here, and that is the answer rather than a gap.**
17
- * This family carries `@groups charts`, so `check:axes` reports it beside eight
18
- * that do declare one. Each of the three was asked and each refuses for a reason
19
- * about what this is rather than about the axis. `emphasis` is how much ink a
20
- * mark claims, and there is no mark: an arrow glyph and two runs of text, whose
21
- * weight is `Text`'s business and whose size is the region's. `material` is what
22
- * reads through a surface, and a 13px glyph has nothing behind it. `wash` is a
23
- * gradient across an area, and there is no area.
17
+ * `emphasis` is how much ink a mark claims, and there is no mark: an arrow glyph
18
+ * and two runs of text, whose weight is `Text`'s business and whose size is the
19
+ * region's. `material` is what reads through a surface, and a 13px glyph has
20
+ * nothing behind it. `wash` is a gradient across an area, and there is no area.
24
21
  *
25
22
  * The meaning axis is here and is *derived*, which is the more interesting half:
26
23
  * `direction` and `good` together resolve to success, danger or muted, so a
@@ -22,13 +22,10 @@ import { styles } from './trend-root.css.js';
22
22
  * reads and the judgment is a gloss on it.
23
23
  *
24
24
  * **No visual axis applies here, and that is the answer rather than a gap.**
25
- * This family carries `@groups charts`, so `check:axes` reports it beside eight
26
- * that do declare one. Each of the three was asked and each refuses for a reason
27
- * about what this is rather than about the axis. `emphasis` is how much ink a
28
- * mark claims, and there is no mark: an arrow glyph and two runs of text, whose
29
- * weight is `Text`'s business and whose size is the region's. `material` is what
30
- * reads through a surface, and a 13px glyph has nothing behind it. `wash` is a
31
- * gradient across an area, and there is no area.
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.
32
29
  *
33
30
  * The meaning axis is here and is *derived*, which is the more interesting half:
34
31
  * `direction` and `good` together resolve to success, danger or muted, so a
@@ -1,4 +1,4 @@
1
- // Generated from src/video/root/video-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/video/root/video-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  color-scheme: dark;
@@ -169,7 +169,6 @@ transparent calc(var(--_video-at, 1) * 100%)
169
169
 
170
170
  block-size: 4px;
171
171
  bottom: var(--_video-level-lift);
172
-
173
172
  direction: rtl;
174
173
  inline-size: var(--_video-level-size);
175
174
 
@@ -322,16 +321,6 @@ inline-size: 100%;
322
321
  object-fit: contain;
323
322
  }
324
323
 
325
- @media (prefers-reduced-motion: reduce) {
326
- [part="controls"],
327
- [part="cue"],
328
- [part="stage"]::before,
329
- [part="start"],
330
- [part="volume"] {
331
- transition: none;
332
- }
333
- }
334
-
335
324
  [part="speed"] {
336
325
  font-family: var(--helix-font-sans);
337
326
  font-size: var(--helix-text-xs);
@@ -43,19 +43,14 @@ export declare class HelixVideo extends HelixHeadlessVideo {
43
43
  /**
44
44
  * How the control bar sits on the picture.
45
45
  *
46
- * **Classified by what it does rather than by what its values were called.**
47
- * These were `solid` and `plain` under `appearance`, and `solid` reads like a
48
- * fill weight, which is how this came to be listed as emphasis when the axes
49
- * were first sorted. It is not: all three states say what the bar sits on,
50
- * which is where it separates from the picture.
46
+ * `separation` and not `emphasis`: all three states say what the bar sits on,
47
+ * which is where it separates from the picture, rather than how loud it is.
51
48
  *
52
49
  * Absent is the default and is what a player looks like, and what the
53
50
  * platform's own controls do: they float on a gradient that fades up into the
54
51
  * picture, dark enough to read them against a bright frame and gone entirely
55
52
  * a little higher up. The picture runs edge to edge behind them. It has no
56
- * name because it is the resting treatment, and `shadow` was never a declared
57
- * value even while an example wrote it: the attribute matched no selector and
58
- * fell through to this rule, which is why it appeared to work.
53
+ * name because it is the resting treatment.
59
54
  *
60
55
  * `filled` gives the controls a bar of their own, which is what a video
61
56
  * embedded in a document usually wants, where the player is a component on a
@@ -1,4 +1,4 @@
1
- // Generated from src/video-playlist/item/video-playlist-item.css by `bun run styles`. Do not edit.
1
+ // Generated from src/video-playlist/item/video-playlist-item.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: block;
@@ -86,10 +86,4 @@ min-inline-size: 0;
86
86
  color: var(--helix-color-foreground-subtle);
87
87
  font-size: var(--helix-text-xs);
88
88
  font-weight: var(--helix-weight-regular);
89
- }
90
-
91
- @media (prefers-reduced-motion: reduce) {
92
- [part="item"] {
93
- transition: none;
94
- }
95
89
  }`);
@@ -1,4 +1,4 @@
1
- // Generated from src/video-playlist/menu/video-playlist-menu.css by `bun run styles`. Do not edit.
1
+ // Generated from src/video-playlist/menu/video-playlist-menu.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- // Generated from src/video-playlist/root/video-playlist-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/video-playlist/root/video-playlist-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: grid;
@@ -1,4 +1,4 @@
1
- // Generated from src/virtual-list/root/virtual-list-root.css by `bun run styles`. Do not edit.
1
+ // Generated from src/virtual-list/root/virtual-list-root.css by `turbo run styles`. Do not edit.
2
2
  import { createSheet } from '@fusion.dev/helix-core';
3
3
  export const styles = createSheet(`:host {
4
4
  display: block;
package/elements.css CHANGED
@@ -1,4 +1,4 @@
1
- /* Generated by tooling/scripts/build-elements-css.mjs. Do not edit.
1
+ /* Generated by fusion/scripts/build-elements-css.mjs. Do not edit.
2
2
  *
3
3
  * Import once, beside the base layer, in any app that uses Helix elements:
4
4
  *
@@ -147,10 +147,9 @@ helix-virtual-list:not(:defined) {
147
147
  * well: every `<helix-flex align="center">` was centering its text, which is a
148
148
  * thing nobody asked for and nothing in the component could be blamed for.
149
149
  *
150
- * Neutralised here rather than in each component, which is where it was. Flex
151
- * and Grid both remembered and both were right, and nothing would have told the
152
- * next one. Enumerated for the same reason the rule above is: CSS cannot select
153
- * "any custom element".
150
+ * Neutralized here rather than in each component, so the next component with an
151
+ * `align` property does not have to remember. Enumerated for the same reason
152
+ * the rule above is: CSS cannot select "any custom element".
154
153
  *
155
154
  * `:where()` keeps this at zero specificity, so a consumer setting
156
155
  * `text-align` on the same element still wins.
package/helix.css ADDED
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Every layer Helix needs, in one import.
3
+ *
4
+ * **Four files in a required order is a list somebody writes three of**, and
5
+ * `primitives.css` is the one left out: `tokens.css` refers to a primitive 235
6
+ * times, so a consumer who lists the other three gets all 177 semantic tokens
7
+ * declared and every one resolving to `rgba(0, 0, 0, 0)`, and no theming at
8
+ * all, every public `--helix-seed-*` being read in that file and nowhere else.
9
+ *
10
+ * The order is the whole content of this file, and it cannot be got wrong from
11
+ * outside it.
12
+ *
13
+ * **It reaches into `@fusion.dev/helix-styles`, and that is a declared dependency
14
+ * rather than a hopeful specifier.** This package depends on it, so the
15
+ * resolution is guaranteed by the manifest rather than by what happens to be
16
+ * installed. Verified through this repository's own toolchain in development
17
+ * and in a production build: the primitives, the tokens, the base layer and
18
+ * `elements.css` all arrive.
19
+ *
20
+ * **What it cannot do is be a `<link>`.** A bare specifier in an `@import` is
21
+ * resolved by a bundler and never by a browser, so this is for the consumers
22
+ * the documentation describes, who import from JavaScript. Anyone serving CSS
23
+ * directly takes the four files by path.
24
+ *
25
+ * The individual files keep their exports. `@fusion.dev/helix-styles/all.css` is the
26
+ * three that package owns, for a page that wants Helix's type and color
27
+ * without any custom elements; the four singles are there for anyone
28
+ * substituting a layer.
29
+ */
30
+ @import "@fusion.dev/helix-styles/all.css";
31
+ @import "./elements.css";