@fusion.dev/helix 0.204.1 → 0.205.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix",
3
3
  "description": "Styled component tier. Extends the headless tier with token-driven presentation.",
4
- "version": "0.204.1",
4
+ "version": "0.205.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -60,14 +60,14 @@
60
60
  },
61
61
  "bugs": "https://github.com/project-fusion/fusion/issues",
62
62
  "dependencies": {
63
- "@fusion.dev/helix-core": "0.204.1",
64
- "@fusion.dev/helix-headless": "0.204.1",
65
- "@fusion.dev/helix-styles": "0.204.1",
63
+ "@fusion.dev/helix-core": "0.205.0",
64
+ "@fusion.dev/helix-headless": "0.205.0",
65
+ "@fusion.dev/helix-styles": "0.205.0",
66
66
  "tslib": "^2.8.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@fusion.dev/helix-cem": "0.204.1",
70
- "@fusion.dev/helix-testing": "0.204.1",
69
+ "@fusion.dev/helix-cem": "0.205.0",
70
+ "@fusion.dev/helix-testing": "0.205.0",
71
71
  "@fusion.dev/scripts": "0.0.0-dev",
72
72
  "@happy-dom/global-registrator": "^20.14.5",
73
73
  "@lit-labs/ssr": "^4.1.0",
@@ -2,12 +2,12 @@
2
2
  name: helix
3
3
  description: Writes and checks pages built with Helix, the web components in @fusion.dev/helix. Use when building or reviewing any user interface in a project that installs @fusion.dev/helix, and when code has helix- elements, Helix tokens, or the helix command line.
4
4
  metadata:
5
- version: "0.204.1"
5
+ version: "0.205.0"
6
6
  ---
7
7
 
8
8
  # Helix
9
9
 
10
- This guide is for @fusion.dev/helix 0.204.1, the version installed beside it.
10
+ This guide is for @fusion.dev/helix 0.205.0, the version installed beside it.
11
11
 
12
12
  ## Using Helix with an agent
13
13
 
package/types/jsx.d.ts CHANGED
@@ -22518,6 +22518,18 @@ export type HelixLogHelixSelectedElementEvent =
22518
22518
  HelixLogElementEvent<HelixSelectedEvent>;
22519
22519
 
22520
22520
  export type HelixLogProps = {
22521
+ /** How the log is set apart from what is around it.
22522
+
22523
+ - `outlined`, the resting look, is a box with an edge and a fill of its
22524
+ own, which scrolls after `--log-max-block-size`.
22525
+ - `plain` has no edge, no fill, no inset and no height of its own: the
22526
+ lines start where the text around them does and the log grows with
22527
+ them. For a log inside something that already frames it, such as an
22528
+ agent's work in a chat turn's `work` slot.
22529
+
22530
+ Both are writable, so a page can say which it means rather than relying
22531
+ on the absence of an attribute. */
22532
+ separation?: (HelixLog["separation"]) | undefined;
22521
22533
  /** The text shown and announced when there are no rows and none are loading. */
22522
22534
  "empty-text"?: (HelixLog["emptyText"]) | undefined;
22523
22535
  /** The text shown and announced when there are no rows and none are loading. */
@@ -22610,6 +22622,11 @@ true would write the attribute on upgrade. */
22610
22622
  pinned?: (HelixLog["pinned"]) | undefined;
22611
22623
  /** Text a line has to hold to be shown, ignoring case. Empty shows every line. */
22612
22624
  query?: (HelixLog["query"]) | undefined;
22625
+ /** Whether the log says nothing to a screen reader as lines arrive, steps
22626
+ finish, or the run ends. For a log inside something that speaks for it,
22627
+ such as an agent's work in a chat turn, which the turn announces once it
22628
+ settles. */
22629
+ quiet?: (HelixLog["quiet"]) | undefined;
22613
22630
  /** The words on the button that returns to the newest line, where `resume` is empty. */
22614
22631
  "resume-label"?: (HelixLog["resumeLabel"]) | undefined;
22615
22632
  /** The words on the button that returns to the newest line, where `resume` is empty. */
@@ -22666,6 +22683,18 @@ reading the last one. */
22666
22683
  };
22667
22684
 
22668
22685
  export type HelixLogSolidJsProps = {
22686
+ /** How the log is set apart from what is around it.
22687
+
22688
+ - `outlined`, the resting look, is a box with an edge and a fill of its
22689
+ own, which scrolls after `--log-max-block-size`.
22690
+ - `plain` has no edge, no fill, no inset and no height of its own: the
22691
+ lines start where the text around them does and the log grows with
22692
+ them. For a log inside something that already frames it, such as an
22693
+ agent's work in a chat turn's `work` slot.
22694
+
22695
+ Both are writable, so a page can say which it means rather than relying
22696
+ on the absence of an attribute. */
22697
+ "prop:separation"?: (HelixLog["separation"]) | undefined;
22669
22698
  /** The text shown and announced when there are no rows and none are loading. */
22670
22699
  "attr:empty-text"?: (HelixLog["emptyText"]) | undefined;
22671
22700
  /** The text shown and announced when there are no rows and none are loading. */
@@ -22758,6 +22787,11 @@ true would write the attribute on upgrade. */
22758
22787
  "prop:pinned"?: (HelixLog["pinned"]) | undefined;
22759
22788
  /** Text a line has to hold to be shown, ignoring case. Empty shows every line. */
22760
22789
  "prop:query"?: (HelixLog["query"]) | undefined;
22790
+ /** Whether the log says nothing to a screen reader as lines arrive, steps
22791
+ finish, or the run ends. For a log inside something that speaks for it,
22792
+ such as an agent's work in a chat turn, which the turn announces once it
22793
+ settles. */
22794
+ "prop:quiet"?: (HelixLog["quiet"]) | undefined;
22761
22795
  /** The words on the button that returns to the newest line, where `resume` is empty. */
22762
22796
  "attr:resume-label"?: (HelixLog["resumeLabel"]) | undefined;
22763
22797
  /** The words on the button that returns to the newest line, where `resume` is empty. */
@@ -49334,6 +49368,7 @@ export type CustomElements = {
49334
49368
  * - `avatar`: The author's avatar.
49335
49369
  * - `indicator`: The indicator shown before the first token arrives. Replaces the three dots.
49336
49370
  * - `sources`: The turn's sources, such as citations, documents, or a retrieved page.
49371
+ * - `work`: What an agent did to arrive at the turn, such as a `Log` of its steps, above the content. A screen reader hears the turn without it.
49337
49372
  *
49338
49373
  * ## CSS Custom Properties
49339
49374
  *
@@ -49366,6 +49401,7 @@ export type CustomElements = {
49366
49401
  * - `sources`: The turn's sources, under it and outside the bubble.
49367
49402
  * - `state`: The text that names the turn's state, when there is one to show.
49368
49403
  * - `time`: The turn's time.
49404
+ * - `work`: The box around the `work` slot, above the content.
49369
49405
  *
49370
49406
  * ## CSS States
49371
49407
  *
@@ -49577,6 +49613,7 @@ export type CustomElements = {
49577
49613
  * - `message-sources`: The sources of a turn from `turns`.
49578
49614
  * - `message-state`: The state text of a turn from `turns`, when there is one to show.
49579
49615
  * - `message-time`: The time of a turn from `turns`.
49616
+ * - `message-work`: The box around a turn's `work`, for a turn from `turns`, which has none.
49580
49617
  * - `resume`: The control shown while the user is scrolled away from the bottom.
49581
49618
  * - `resume-button`: The button the `resume` region shows when nothing is slotted into it.
49582
49619
  * - `resume-mark`: The arrow on the default `resume-button`.
@@ -59829,6 +59866,7 @@ export type CustomElements = {
59829
59866
  * - `line`: The row the number, the time, and the text sit in.
59830
59867
  * - `line-debug`: The row of a line at `debug`.
59831
59868
  * - `line-error`: The row of a line at `error`.
59869
+ * - `line-grouped`: The row of a line that belongs to a step, which the styled tier insets under the step's heading where there is no number.
59832
59870
  * - `line-marked`: The row of a line `mark-lines` names on the log.
59833
59871
  * - `line-selected`: The row of a line in the log's selection.
59834
59872
  * - `line-warn`: The row of a line at `warn`.
@@ -59872,6 +59910,17 @@ export type CustomElements = {
59872
59910
  *
59873
59911
  * Component attributes and properties that can be applied to the element or by using JavaScript.
59874
59912
  *
59913
+ * - `separation`: How the log is set apart from what is around it.
59914
+ *
59915
+ * - `outlined`, the resting look, is a box with an edge and a fill of its
59916
+ * own, which scrolls after `--log-max-block-size`.
59917
+ * - `plain` has no edge, no fill, no inset and no height of its own: the
59918
+ * lines start where the text around them does and the log grows with
59919
+ * them. For a log inside something that already frames it, such as an
59920
+ * agent's work in a chat turn's `work` slot.
59921
+ *
59922
+ * Both are writable, so a page can say which it means rather than relying
59923
+ * on the absence of an attribute.
59875
59924
  * - `empty-text`/`emptyText`: The text shown and announced when there are no rows and none are loading.
59876
59925
  * - `loading`: Whether the rows are still loading.
59877
59926
  *
@@ -59913,6 +59962,10 @@ export type CustomElements = {
59913
59962
  * reflected, for the reason `Chat` gives at its own `pinned`: a default of
59914
59963
  * true would write the attribute on upgrade.
59915
59964
  * - `query`: Text a line has to hold to be shown, ignoring case. Empty shows every line.
59965
+ * - `quiet`: Whether the log says nothing to a screen reader as lines arrive, steps
59966
+ * finish, or the run ends. For a log inside something that speaks for it,
59967
+ * such as an agent's work in a chat turn, which the turn announces once it
59968
+ * settles.
59916
59969
  * - `resume-label`/`resumeLabel`: The words on the button that returns to the newest line, where `resume` is empty.
59917
59970
  * - `selectable`: Whether pressing a line's number selects the line, and pressing another
59918
59971
  * with Shift selects every line between them. Each number is then a
@@ -60052,6 +60105,7 @@ export type CustomElements = {
60052
60105
  * - `line`: The row of a line drawn from data.
60053
60106
  * - `line-debug`: The row of a line drawn from data at `debug`.
60054
60107
  * - `line-error`: The row of a line drawn from data at `error`.
60108
+ * - `line-grouped`: The row of a line drawn from data that belongs to a step.
60055
60109
  * - `line-marked`: The row of a line drawn from data that `mark-lines` names.
60056
60110
  * - `line-match`: Text in a line drawn from data that matches `query`.
60057
60111
  * - `line-number`: The number of a line drawn from data.
@@ -81357,6 +81411,7 @@ export type CustomElementsSolidJs = {
81357
81411
  * - `avatar`: The author's avatar.
81358
81412
  * - `indicator`: The indicator shown before the first token arrives. Replaces the three dots.
81359
81413
  * - `sources`: The turn's sources, such as citations, documents, or a retrieved page.
81414
+ * - `work`: What an agent did to arrive at the turn, such as a `Log` of its steps, above the content. A screen reader hears the turn without it.
81360
81415
  *
81361
81416
  * ## CSS Custom Properties
81362
81417
  *
@@ -81389,6 +81444,7 @@ export type CustomElementsSolidJs = {
81389
81444
  * - `sources`: The turn's sources, under it and outside the bubble.
81390
81445
  * - `state`: The text that names the turn's state, when there is one to show.
81391
81446
  * - `time`: The turn's time.
81447
+ * - `work`: The box around the `work` slot, above the content.
81392
81448
  *
81393
81449
  * ## CSS States
81394
81450
  *
@@ -81603,6 +81659,7 @@ export type CustomElementsSolidJs = {
81603
81659
  * - `message-sources`: The sources of a turn from `turns`.
81604
81660
  * - `message-state`: The state text of a turn from `turns`, when there is one to show.
81605
81661
  * - `message-time`: The time of a turn from `turns`.
81662
+ * - `message-work`: The box around a turn's `work`, for a turn from `turns`, which has none.
81606
81663
  * - `resume`: The control shown while the user is scrolled away from the bottom.
81607
81664
  * - `resume-button`: The button the `resume` region shows when nothing is slotted into it.
81608
81665
  * - `resume-mark`: The arrow on the default `resume-button`.
@@ -91995,6 +92052,7 @@ export type CustomElementsSolidJs = {
91995
92052
  * - `line`: The row the number, the time, and the text sit in.
91996
92053
  * - `line-debug`: The row of a line at `debug`.
91997
92054
  * - `line-error`: The row of a line at `error`.
92055
+ * - `line-grouped`: The row of a line that belongs to a step, which the styled tier insets under the step's heading where there is no number.
91998
92056
  * - `line-marked`: The row of a line `mark-lines` names on the log.
91999
92057
  * - `line-selected`: The row of a line in the log's selection.
92000
92058
  * - `line-warn`: The row of a line at `warn`.
@@ -92041,6 +92099,17 @@ export type CustomElementsSolidJs = {
92041
92099
  *
92042
92100
  * Component attributes and properties that can be applied to the element or by using JavaScript.
92043
92101
  *
92102
+ * - `separation`: How the log is set apart from what is around it.
92103
+ *
92104
+ * - `outlined`, the resting look, is a box with an edge and a fill of its
92105
+ * own, which scrolls after `--log-max-block-size`.
92106
+ * - `plain` has no edge, no fill, no inset and no height of its own: the
92107
+ * lines start where the text around them does and the log grows with
92108
+ * them. For a log inside something that already frames it, such as an
92109
+ * agent's work in a chat turn's `work` slot.
92110
+ *
92111
+ * Both are writable, so a page can say which it means rather than relying
92112
+ * on the absence of an attribute.
92044
92113
  * - `empty-text`/`emptyText`: The text shown and announced when there are no rows and none are loading.
92045
92114
  * - `loading`: Whether the rows are still loading.
92046
92115
  *
@@ -92082,6 +92151,10 @@ export type CustomElementsSolidJs = {
92082
92151
  * reflected, for the reason `Chat` gives at its own `pinned`: a default of
92083
92152
  * true would write the attribute on upgrade.
92084
92153
  * - `query`: Text a line has to hold to be shown, ignoring case. Empty shows every line.
92154
+ * - `quiet`: Whether the log says nothing to a screen reader as lines arrive, steps
92155
+ * finish, or the run ends. For a log inside something that speaks for it,
92156
+ * such as an agent's work in a chat turn, which the turn announces once it
92157
+ * settles.
92085
92158
  * - `resume-label`/`resumeLabel`: The words on the button that returns to the newest line, where `resume` is empty.
92086
92159
  * - `selectable`: Whether pressing a line's number selects the line, and pressing another
92087
92160
  * with Shift selects every line between them. Each number is then a
@@ -92221,6 +92294,7 @@ export type CustomElementsSolidJs = {
92221
92294
  * - `line`: The row of a line drawn from data.
92222
92295
  * - `line-debug`: The row of a line drawn from data at `debug`.
92223
92296
  * - `line-error`: The row of a line drawn from data at `error`.
92297
+ * - `line-grouped`: The row of a line drawn from data that belongs to a step.
92224
92298
  * - `line-marked`: The row of a line drawn from data that `mark-lines` names.
92225
92299
  * - `line-match`: Text in a line drawn from data that matches `query`.
92226
92300
  * - `line-number`: The number of a line drawn from data.
package/types/vue.d.ts CHANGED
@@ -11540,6 +11540,18 @@ export type HelixLogHelixSelectedElementEvent =
11540
11540
  HelixLogElementEvent<HelixSelectedEvent>;
11541
11541
 
11542
11542
  export type HelixLogVueProps = {
11543
+ /** How the log is set apart from what is around it.
11544
+
11545
+ - `outlined`, the resting look, is a box with an edge and a fill of its
11546
+ own, which scrolls after `--log-max-block-size`.
11547
+ - `plain` has no edge, no fill, no inset and no height of its own: the
11548
+ lines start where the text around them does and the log grows with
11549
+ them. For a log inside something that already frames it, such as an
11550
+ agent's work in a chat turn's `work` slot.
11551
+
11552
+ Both are writable, so a page can say which it means rather than relying
11553
+ on the absence of an attribute. */
11554
+ separation?: (HelixLog["separation"]) | undefined;
11543
11555
  /** The text shown and announced when there are no rows and none are loading. */
11544
11556
  "empty-text"?: (HelixLog["emptyText"]) | undefined;
11545
11557
  /** The text shown and announced when there are no rows and none are loading. */
@@ -11632,6 +11644,11 @@ true would write the attribute on upgrade. */
11632
11644
  pinned?: (HelixLog["pinned"]) | undefined;
11633
11645
  /** Text a line has to hold to be shown, ignoring case. Empty shows every line. */
11634
11646
  query?: (HelixLog["query"]) | undefined;
11647
+ /** Whether the log says nothing to a screen reader as lines arrive, steps
11648
+ finish, or the run ends. For a log inside something that speaks for it,
11649
+ such as an agent's work in a chat turn, which the turn announces once it
11650
+ settles. */
11651
+ quiet?: (HelixLog["quiet"]) | undefined;
11635
11652
  /** The words on the button that returns to the newest line, where `resume` is empty. */
11636
11653
  "resume-label"?: (HelixLog["resumeLabel"]) | undefined;
11637
11654
  /** The words on the button that returns to the newest line, where `resume` is empty. */