@fusion.dev/helix 0.202.0 → 0.204.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.202.0",
4
+ "version": "0.204.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.202.0",
64
- "@fusion.dev/helix-headless": "0.202.0",
65
- "@fusion.dev/helix-styles": "0.202.0",
63
+ "@fusion.dev/helix-core": "0.204.0",
64
+ "@fusion.dev/helix-headless": "0.204.0",
65
+ "@fusion.dev/helix-styles": "0.204.0",
66
66
  "tslib": "^2.8.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@fusion.dev/helix-cem": "0.202.0",
70
- "@fusion.dev/helix-testing": "0.202.0",
69
+ "@fusion.dev/helix-cem": "0.204.0",
70
+ "@fusion.dev/helix-testing": "0.204.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.202.0"
5
+ version: "0.204.0"
6
6
  ---
7
7
 
8
8
  # Helix
9
9
 
10
- This guide is for @fusion.dev/helix 0.202.0, the version installed beside it.
10
+ This guide is for @fusion.dev/helix 0.204.0, the version installed beside it.
11
11
 
12
12
  ## Using Helix with an agent
13
13
 
package/types/jsx.d.ts CHANGED
@@ -1692,7 +1692,8 @@ a timer. */
1692
1692
  `variant`.
1693
1693
 
1694
1694
  Absent is `native`, which is each shape answering in the terms it is made
1695
- of: braid leans, rays are occluded, threads pinch, particles scatter. The
1695
+ of: braid leans, rays are occluded, threads pinch, particles scatter, a
1696
+ constellation gathers. The
1696
1697
  named options are generic, and are a deliberate step down in meaning. A
1697
1698
  response made of the same material as the shape says something about that
1698
1699
  shape; a lamp following the cursor says the same nothing on every one.
@@ -1770,10 +1771,11 @@ that range, because they interpolate: a larger number would extrapolate,
1770
1771
  and a streak whose length passed through zero would be drawn as a bar
1771
1772
  across the whole frame.
1772
1773
 
1773
- Read by six of the eleven shapes, the ones made of many similar things,
1774
+ Read by seven of the twelve shapes, the ones made of many similar things,
1774
1775
  whether those are counted or continuous: `streaks`, whose lanes draw a
1775
- speed, a length, a width, a spacing and a weight apiece; `particles`, whose
1776
- motes draw a size, a brightness and a wander; `rays` and `aurora`, whose
1776
+ speed, a length, a width, a spacing and a weight apiece; `particles` and
1777
+ `constellation`, whose motes and stars draw a size, a brightness and a
1778
+ wander; `rays` and `aurora`, whose
1777
1779
  fan, bundles and folds widen or even out; `caustics`, whose three depths of
1778
1780
  fold close on one scale and one weight while the pool over them flattens to
1779
1781
  an even wash; and `fracture`, whose sites come home to their own cell
@@ -1796,7 +1798,7 @@ property writes the attribute onto every host anybody renders.
1796
1798
 
1797
1799
  **`variant` and not `shape`.** `shape` is an axis about geometry, `circle`
1798
1800
  against `square`, `arc` against `ring`, and it is registered as one.
1799
- Aurora, braid and caustics are not geometries; they are eleven names for a
1801
+ Aurora, braid and caustics are not geometries; they are twelve names for a
1800
1802
  look, which is what `variant` is for by the rule the registry already
1801
1803
  states. */
1802
1804
  variant?: (HelixAura["variant"]) | undefined;
@@ -1829,7 +1831,8 @@ a timer. */
1829
1831
  `variant`.
1830
1832
 
1831
1833
  Absent is `native`, which is each shape answering in the terms it is made
1832
- of: braid leans, rays are occluded, threads pinch, particles scatter. The
1834
+ of: braid leans, rays are occluded, threads pinch, particles scatter, a
1835
+ constellation gathers. The
1833
1836
  named options are generic, and are a deliberate step down in meaning. A
1834
1837
  response made of the same material as the shape says something about that
1835
1838
  shape; a lamp following the cursor says the same nothing on every one.
@@ -1907,10 +1910,11 @@ that range, because they interpolate: a larger number would extrapolate,
1907
1910
  and a streak whose length passed through zero would be drawn as a bar
1908
1911
  across the whole frame.
1909
1912
 
1910
- Read by six of the eleven shapes, the ones made of many similar things,
1913
+ Read by seven of the twelve shapes, the ones made of many similar things,
1911
1914
  whether those are counted or continuous: `streaks`, whose lanes draw a
1912
- speed, a length, a width, a spacing and a weight apiece; `particles`, whose
1913
- motes draw a size, a brightness and a wander; `rays` and `aurora`, whose
1915
+ speed, a length, a width, a spacing and a weight apiece; `particles` and
1916
+ `constellation`, whose motes and stars draw a size, a brightness and a
1917
+ wander; `rays` and `aurora`, whose
1914
1918
  fan, bundles and folds widen or even out; `caustics`, whose three depths of
1915
1919
  fold close on one scale and one weight while the pool over them flattens to
1916
1920
  an even wash; and `fracture`, whose sites come home to their own cell
@@ -1933,7 +1937,7 @@ property writes the attribute onto every host anybody renders.
1933
1937
 
1934
1938
  **`variant` and not `shape`.** `shape` is an axis about geometry, `circle`
1935
1939
  against `square`, `arc` against `ring`, and it is registered as one.
1936
- Aurora, braid and caustics are not geometries; they are eleven names for a
1940
+ Aurora, braid and caustics are not geometries; they are twelve names for a
1937
1941
  look, which is what `variant` is for by the rule the registry already
1938
1942
  states. */
1939
1943
  "prop:variant"?: (HelixAura["variant"]) | undefined;
@@ -22506,6 +22510,12 @@ export type HelixLogHelixExpandElementEvent =
22506
22510
  HelixLogElementEvent<HelixExpandEvent>;
22507
22511
  /** `helix-pin` event type */
22508
22512
  export type HelixLogHelixPinElementEvent = HelixLogElementEvent<HelixPinEvent>;
22513
+ /** `helix-select` event type */
22514
+ export type HelixLogHelixSelectElementEvent =
22515
+ HelixLogElementEvent<HelixSelectEvent>;
22516
+ /** `helix-selected` event type */
22517
+ export type HelixLogHelixSelectedElementEvent =
22518
+ HelixLogElementEvent<HelixSelectedEvent>;
22509
22519
 
22510
22520
  export type HelixLogProps = {
22511
22521
  /** The text shown and announced when there are no rows and none are loading. */
@@ -22551,6 +22561,11 @@ many arrived together and `{text}` is the first of them. */
22551
22561
  "fallback-label"?: (HelixLog["fallbackLabel"]) | undefined;
22552
22562
  /** The log's name, read by screen readers, where `label` is empty. */
22553
22563
  fallbackLabel?: (HelixLog["fallbackLabel"]) | undefined;
22564
+ /** The format written text is in, read with a parser Helix ships:
22565
+ `github-actions` reads a GitHub Actions log's workflow commands into steps
22566
+ and levels, and `vercel` a Vercel build log's phases and warnings. Absent
22567
+ reads none. `parse` wins over it. */
22568
+ format?: (HelixLog["format"]) | undefined;
22554
22569
  /** What a screen reader hears when a step finishes or fails. `{heading}` is
22555
22570
  the step's heading and `{status}` is `done` or `failed`. */
22556
22571
  "group-label"?: (HelixLog["groupLabel"]) | undefined;
@@ -22599,6 +22614,16 @@ true would write the attribute on upgrade. */
22599
22614
  "resume-label"?: (HelixLog["resumeLabel"]) | undefined;
22600
22615
  /** The words on the button that returns to the newest line, where `resume` is empty. */
22601
22616
  resumeLabel?: (HelixLog["resumeLabel"]) | undefined;
22617
+ /** Whether pressing a line's number selects the line, and pressing another
22618
+ with Shift selects every line between them. Each number is then a
22619
+ button, or a link with `line-href`, and the arrow keys move between them. */
22620
+ selectable?: (HelixLog["selectable"]) | undefined;
22621
+ /** The lines selected, as a number or a range such as `12-20`. Empty selects
22622
+ none. A reader's press asks first: `helix-select` is cancelable. */
22623
+ "selected-lines"?: (HelixLog["selectedLines"]) | undefined;
22624
+ /** The lines selected, as a number or a range such as `12-20`. Empty selects
22625
+ none. A reader's press asks first: `helix-select` is cancelable. */
22626
+ selectedLines?: (HelixLog["selectedLines"]) | undefined;
22602
22627
  /** How near the newest line still counts as being at it, in pixels. */
22603
22628
  threshold?: (HelixLog["threshold"]) | undefined;
22604
22629
  /** How each line shows its `at`: `absolute` on the clock, `relative` as the
@@ -22619,8 +22644,8 @@ Replaced rather than mutated: setting it starts the log over with these
22619
22644
  lines, and `write` adds to them. Set it or write children, not both. */
22620
22645
  lines?: (HelixLog["lines"]) | undefined;
22621
22646
  /** Reads each finished line of written text: return the fields to set, such
22622
- as `level` or `group`, or `null` to drop the line. Lines in `lines` are
22623
- taken as they are. */
22647
+ as `level`, `open` or `close` to start or end a step, or `null` to drop
22648
+ the line. Lines in `lines` are taken as they are. Wins over `format`. */
22624
22649
  parse?: (HelixLog["parse"]) | undefined;
22625
22650
  /** Text to read as it arrives, to the end: a `ReadableStream` of text or
22626
22651
  bytes, such as a `fetch` response's body, or an async iterable. Bytes are
@@ -22630,10 +22655,14 @@ reading the last one. */
22630
22655
 
22631
22656
  /** Fired when the reader leaves the newest line by scrolling, or comes back to it. Cancelable. */
22632
22657
  "onhelix-before-pin"?: ((e: HelixLogHelixBeforePinElementEvent) => void) | undefined;
22633
- /** Fired after a reader opens or closes a group drawn from `groups`, with the `id` of every open group in `detail.value`, separated by commas. */
22658
+ /** Fired after a reader opens or closes a step drawn from `groups` or opened by a parser, with the `id` of every open group in `detail.value`, separated by commas. */
22634
22659
  "onhelix-expand"?: ((e: HelixLogHelixExpandElementEvent) => void) | undefined;
22635
22660
  /** Fired after the log follows the newest line or lets go of it, with `true` or `false` in `detail.value`. */
22636
22661
  "onhelix-pin"?: ((e: HelixLogHelixPinElementEvent) => void) | undefined;
22662
+ /** Fired when a reader presses a number to change the selection, with the lines asked for in `detail.value`. Cancelable. */
22663
+ "onhelix-select"?: ((e: HelixLogHelixSelectElementEvent) => void) | undefined;
22664
+ /** Fired after the selection changes, with the lines now selected in `detail.value`, such as `12-20`. */
22665
+ "onhelix-selected"?: ((e: HelixLogHelixSelectedElementEvent) => void) | undefined;
22637
22666
  };
22638
22667
 
22639
22668
  export type HelixLogSolidJsProps = {
@@ -22680,6 +22709,11 @@ many arrived together and `{text}` is the first of them. */
22680
22709
  "attr:fallback-label"?: (HelixLog["fallbackLabel"]) | undefined;
22681
22710
  /** The log's name, read by screen readers, where `label` is empty. */
22682
22711
  "prop:fallbackLabel"?: (HelixLog["fallbackLabel"]) | undefined;
22712
+ /** The format written text is in, read with a parser Helix ships:
22713
+ `github-actions` reads a GitHub Actions log's workflow commands into steps
22714
+ and levels, and `vercel` a Vercel build log's phases and warnings. Absent
22715
+ reads none. `parse` wins over it. */
22716
+ "prop:format"?: (HelixLog["format"]) | undefined;
22683
22717
  /** What a screen reader hears when a step finishes or fails. `{heading}` is
22684
22718
  the step's heading and `{status}` is `done` or `failed`. */
22685
22719
  "attr:group-label"?: (HelixLog["groupLabel"]) | undefined;
@@ -22728,6 +22762,16 @@ true would write the attribute on upgrade. */
22728
22762
  "attr:resume-label"?: (HelixLog["resumeLabel"]) | undefined;
22729
22763
  /** The words on the button that returns to the newest line, where `resume` is empty. */
22730
22764
  "prop:resumeLabel"?: (HelixLog["resumeLabel"]) | undefined;
22765
+ /** Whether pressing a line's number selects the line, and pressing another
22766
+ with Shift selects every line between them. Each number is then a
22767
+ button, or a link with `line-href`, and the arrow keys move between them. */
22768
+ "prop:selectable"?: (HelixLog["selectable"]) | undefined;
22769
+ /** The lines selected, as a number or a range such as `12-20`. Empty selects
22770
+ none. A reader's press asks first: `helix-select` is cancelable. */
22771
+ "attr:selected-lines"?: (HelixLog["selectedLines"]) | undefined;
22772
+ /** The lines selected, as a number or a range such as `12-20`. Empty selects
22773
+ none. A reader's press asks first: `helix-select` is cancelable. */
22774
+ "prop:selectedLines"?: (HelixLog["selectedLines"]) | undefined;
22731
22775
  /** How near the newest line still counts as being at it, in pixels. */
22732
22776
  "prop:threshold"?: (HelixLog["threshold"]) | undefined;
22733
22777
  /** How each line shows its `at`: `absolute` on the clock, `relative` as the
@@ -22748,8 +22792,8 @@ Replaced rather than mutated: setting it starts the log over with these
22748
22792
  lines, and `write` adds to them. Set it or write children, not both. */
22749
22793
  "prop:lines"?: (HelixLog["lines"]) | undefined;
22750
22794
  /** Reads each finished line of written text: return the fields to set, such
22751
- as `level` or `group`, or `null` to drop the line. Lines in `lines` are
22752
- taken as they are. */
22795
+ as `level`, `open` or `close` to start or end a step, or `null` to drop
22796
+ the line. Lines in `lines` are taken as they are. Wins over `format`. */
22753
22797
  "prop:parse"?: (HelixLog["parse"]) | undefined;
22754
22798
  /** Text to read as it arrives, to the end: a `ReadableStream` of text or
22755
22799
  bytes, such as a `fetch` response's body, or an async iterable. Bytes are
@@ -22758,10 +22802,14 @@ reading the last one. */
22758
22802
  "prop:source"?: (HelixLog["source"]) | undefined;
22759
22803
  /** Fired when the reader leaves the newest line by scrolling, or comes back to it. Cancelable. */
22760
22804
  "on:helix-before-pin"?: ((e: HelixLogHelixBeforePinElementEvent) => void) | undefined;
22761
- /** Fired after a reader opens or closes a group drawn from `groups`, with the `id` of every open group in `detail.value`, separated by commas. */
22805
+ /** Fired after a reader opens or closes a step drawn from `groups` or opened by a parser, with the `id` of every open group in `detail.value`, separated by commas. */
22762
22806
  "on:helix-expand"?: ((e: HelixLogHelixExpandElementEvent) => void) | undefined;
22763
22807
  /** Fired after the log follows the newest line or lets go of it, with `true` or `false` in `detail.value`. */
22764
22808
  "on:helix-pin"?: ((e: HelixLogHelixPinElementEvent) => void) | undefined;
22809
+ /** Fired when a reader presses a number to change the selection, with the lines asked for in `detail.value`. Cancelable. */
22810
+ "on:helix-select"?: ((e: HelixLogHelixSelectElementEvent) => void) | undefined;
22811
+ /** Fired after the selection changes, with the lines now selected in `detail.value`, such as `12-20`. */
22812
+ "on:helix-selected"?: ((e: HelixLogHelixSelectedElementEvent) => void) | undefined;
22765
22813
 
22766
22814
  /** Set the innerHTML of the element */
22767
22815
  innerHTML?: (string) | undefined;
@@ -45947,7 +45995,8 @@ export type CustomElements = {
45947
45995
  * `variant`.
45948
45996
  *
45949
45997
  * Absent is `native`, which is each shape answering in the terms it is made
45950
- * of: braid leans, rays are occluded, threads pinch, particles scatter. The
45998
+ * of: braid leans, rays are occluded, threads pinch, particles scatter, a
45999
+ * constellation gathers. The
45951
46000
  * named options are generic, and are a deliberate step down in meaning. A
45952
46001
  * response made of the same material as the shape says something about that
45953
46002
  * shape; a lamp following the cursor says the same nothing on every one.
@@ -46007,10 +46056,11 @@ export type CustomElements = {
46007
46056
  * and a streak whose length passed through zero would be drawn as a bar
46008
46057
  * across the whole frame.
46009
46058
  *
46010
- * Read by six of the eleven shapes, the ones made of many similar things,
46059
+ * Read by seven of the twelve shapes, the ones made of many similar things,
46011
46060
  * whether those are counted or continuous: `streaks`, whose lanes draw a
46012
- * speed, a length, a width, a spacing and a weight apiece; `particles`, whose
46013
- * motes draw a size, a brightness and a wander; `rays` and `aurora`, whose
46061
+ * speed, a length, a width, a spacing and a weight apiece; `particles` and
46062
+ * `constellation`, whose motes and stars draw a size, a brightness and a
46063
+ * wander; `rays` and `aurora`, whose
46014
46064
  * fan, bundles and folds widen or even out; `caustics`, whose three depths of
46015
46065
  * fold close on one scale and one weight while the pool over them flattens to
46016
46066
  * an even wash; and `fracture`, whose sites come home to their own cell
@@ -46032,7 +46082,7 @@ export type CustomElements = {
46032
46082
  *
46033
46083
  * **`variant` and not `shape`.** `shape` is an axis about geometry, `circle`
46034
46084
  * against `square`, `arc` against `ring`, and it is registered as one.
46035
- * Aurora, braid and caustics are not geometries; they are eleven names for a
46085
+ * Aurora, braid and caustics are not geometries; they are twelve names for a
46036
46086
  * look, which is what `variant` is for by the rule the registry already
46037
46087
  * states.
46038
46088
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
@@ -59767,6 +59817,7 @@ export type CustomElements = {
59767
59817
  * - `--log-error-color`: The color of a line at `error`, and of the band behind it. Defaults to the danger color.
59768
59818
  * - `--log-mark-background-color`: The band behind a line `mark-lines` names.
59769
59819
  * - `--log-match-background-color`: The fill behind text that matches the log's `query`.
59820
+ * - `--log-selected-background-color`: The band behind a selected line, on a `selectable` log.
59770
59821
  * - `--log-warn-color`: The color of a line at `warn`, and of the band behind it. Defaults to the warning color.
59771
59822
  * - `--log-run-background-color`: Written on a `run` with a background, in the same form as `--log-run-color`.
59772
59823
  * - `--log-run-color`: Written on a `run` with a text color: one of the sixteen `--log-ansi-*` colors the log publishes, or the color itself.
@@ -59779,9 +59830,10 @@ export type CustomElements = {
59779
59830
  * - `line-debug`: The row of a line at `debug`.
59780
59831
  * - `line-error`: The row of a line at `error`.
59781
59832
  * - `line-marked`: The row of a line `mark-lines` names on the log.
59833
+ * - `line-selected`: The row of a line in the log's selection.
59782
59834
  * - `line-warn`: The row of a line at `warn`.
59783
59835
  * - `match`: Text that matches the log's `query`, in a line the log draws from data.
59784
- * - `number`: The line's number, shown with `line-numbers`, and a link with `line-href`.
59836
+ * - `number`: The line's number, shown with `line-numbers`: a link with `line-href`, and a button on a `selectable` log.
59785
59837
  * - `run`: A stretch of text drawn in an ANSI style, in a line the log draws from data. Its color is `--log-run-color` and its background `--log-run-background-color`.
59786
59838
  * - `run-bold`: A run drawn bold.
59787
59839
  * - `run-dim`: A run drawn faint.
@@ -59838,6 +59890,10 @@ export type CustomElements = {
59838
59890
  * - `error-label`/`errorLabel`: What a screen reader hears when lines at `error` arrive. `{count}` is how
59839
59891
  * many arrived together and `{text}` is the first of them.
59840
59892
  * - `fallback-label`/`fallbackLabel`: The log's name, read by screen readers, where `label` is empty.
59893
+ * - `format`: The format written text is in, read with a parser Helix ships:
59894
+ * `github-actions` reads a GitHub Actions log's workflow commands into steps
59895
+ * and levels, and `vercel` a Vercel build log's phases and warnings. Absent
59896
+ * reads none. `parse` wins over it.
59841
59897
  * - `group-label`/`groupLabel`: What a screen reader hears when a step finishes or fails. `{heading}` is
59842
59898
  * the step's heading and `{status}` is `done` or `failed`.
59843
59899
  * - `label`: The log's name, read by screen readers.
@@ -59858,6 +59914,11 @@ export type CustomElements = {
59858
59914
  * true would write the attribute on upgrade.
59859
59915
  * - `query`: Text a line has to hold to be shown, ignoring case. Empty shows every line.
59860
59916
  * - `resume-label`/`resumeLabel`: The words on the button that returns to the newest line, where `resume` is empty.
59917
+ * - `selectable`: Whether pressing a line's number selects the line, and pressing another
59918
+ * with Shift selects every line between them. Each number is then a
59919
+ * button, or a link with `line-href`, and the arrow keys move between them.
59920
+ * - `selected-lines`/`selectedLines`: The lines selected, as a number or a range such as `12-20`. Empty selects
59921
+ * none. A reader's press asks first: `helix-select` is cancelable.
59861
59922
  * - `threshold`: How near the newest line still counts as being at it, in pixels.
59862
59923
  * - `timestamps`: How each line shows its `at`: `absolute` on the clock, `relative` as the
59863
59924
  * time since the first line. Absent shows no time.
@@ -59873,8 +59934,8 @@ export type CustomElements = {
59873
59934
  * Replaced rather than mutated: setting it starts the log over with these
59874
59935
  * lines, and `write` adds to them. Set it or write children, not both. (property only)
59875
59936
  * - `parse`: Reads each finished line of written text: return the fields to set, such
59876
- * as `level` or `group`, or `null` to drop the line. Lines in `lines` are
59877
- * taken as they are. (property only)
59937
+ * as `level`, `open` or `close` to start or end a step, or `null` to drop
59938
+ * the line. Lines in `lines` are taken as they are. Wins over `format`. (property only)
59878
59939
  * - `source`: Text to read as it arrives, to the end: a `ReadableStream` of text or
59879
59940
  * bytes, such as a `fetch` response's body, or an async iterable. Bytes are
59880
59941
  * read as UTF-8. The log sets `done` when it ends, and a new source stops
@@ -59907,8 +59968,10 @@ export type CustomElements = {
59907
59968
  * Events that will be emitted by the component.
59908
59969
  *
59909
59970
  * - `helix-before-pin`: Fired when the reader leaves the newest line by scrolling, or comes back to it. Cancelable.
59910
- * - `helix-expand`: Fired after a reader opens or closes a group drawn from `groups`, with the `id` of every open group in `detail.value`, separated by commas.
59971
+ * - `helix-expand`: Fired after a reader opens or closes a step drawn from `groups` or opened by a parser, with the `id` of every open group in `detail.value`, separated by commas.
59911
59972
  * - `helix-pin`: Fired after the log follows the newest line or lets go of it, with `true` or `false` in `detail.value`.
59973
+ * - `helix-select`: Fired when a reader presses a number to change the selection, with the lines asked for in `detail.value`. Cancelable.
59974
+ * - `helix-selected`: Fired after the selection changes, with the lines now selected in `detail.value`, such as `12-20`.
59912
59975
  *
59913
59976
  * ## Slots
59914
59977
  *
@@ -59998,6 +60061,7 @@ export type CustomElements = {
59998
60061
  * - `line-run-italic`: A run drawn italic.
59999
60062
  * - `line-run-strike`: A run drawn struck through.
60000
60063
  * - `line-run-underline`: A run drawn underlined.
60064
+ * - `line-selected`: The row of a line drawn from data that is selected.
60001
60065
  * - `line-text`: The text of a line drawn from data.
60002
60066
  * - `line-time`: The time of a line drawn from data.
60003
60067
  * - `line-warn`: The row of a line drawn from data at `warn`.
@@ -77903,7 +77967,8 @@ export type CustomElementsSolidJs = {
77903
77967
  * `variant`.
77904
77968
  *
77905
77969
  * Absent is `native`, which is each shape answering in the terms it is made
77906
- * of: braid leans, rays are occluded, threads pinch, particles scatter. The
77970
+ * of: braid leans, rays are occluded, threads pinch, particles scatter, a
77971
+ * constellation gathers. The
77907
77972
  * named options are generic, and are a deliberate step down in meaning. A
77908
77973
  * response made of the same material as the shape says something about that
77909
77974
  * shape; a lamp following the cursor says the same nothing on every one.
@@ -77963,10 +78028,11 @@ export type CustomElementsSolidJs = {
77963
78028
  * and a streak whose length passed through zero would be drawn as a bar
77964
78029
  * across the whole frame.
77965
78030
  *
77966
- * Read by six of the eleven shapes, the ones made of many similar things,
78031
+ * Read by seven of the twelve shapes, the ones made of many similar things,
77967
78032
  * whether those are counted or continuous: `streaks`, whose lanes draw a
77968
- * speed, a length, a width, a spacing and a weight apiece; `particles`, whose
77969
- * motes draw a size, a brightness and a wander; `rays` and `aurora`, whose
78033
+ * speed, a length, a width, a spacing and a weight apiece; `particles` and
78034
+ * `constellation`, whose motes and stars draw a size, a brightness and a
78035
+ * wander; `rays` and `aurora`, whose
77970
78036
  * fan, bundles and folds widen or even out; `caustics`, whose three depths of
77971
78037
  * fold close on one scale and one weight while the pool over them flattens to
77972
78038
  * an even wash; and `fracture`, whose sites come home to their own cell
@@ -77988,7 +78054,7 @@ export type CustomElementsSolidJs = {
77988
78054
  *
77989
78055
  * **`variant` and not `shape`.** `shape` is an axis about geometry, `circle`
77990
78056
  * against `square`, `arc` against `ring`, and it is registered as one.
77991
- * Aurora, braid and caustics are not geometries; they are eleven names for a
78057
+ * Aurora, braid and caustics are not geometries; they are twelve names for a
77992
78058
  * look, which is what `variant` is for by the rule the registry already
77993
78059
  * states.
77994
78060
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
@@ -91917,6 +91983,7 @@ export type CustomElementsSolidJs = {
91917
91983
  * - `--log-error-color`: The color of a line at `error`, and of the band behind it. Defaults to the danger color.
91918
91984
  * - `--log-mark-background-color`: The band behind a line `mark-lines` names.
91919
91985
  * - `--log-match-background-color`: The fill behind text that matches the log's `query`.
91986
+ * - `--log-selected-background-color`: The band behind a selected line, on a `selectable` log.
91920
91987
  * - `--log-warn-color`: The color of a line at `warn`, and of the band behind it. Defaults to the warning color.
91921
91988
  * - `--log-run-background-color`: Written on a `run` with a background, in the same form as `--log-run-color`.
91922
91989
  * - `--log-run-color`: Written on a `run` with a text color: one of the sixteen `--log-ansi-*` colors the log publishes, or the color itself.
@@ -91929,9 +91996,10 @@ export type CustomElementsSolidJs = {
91929
91996
  * - `line-debug`: The row of a line at `debug`.
91930
91997
  * - `line-error`: The row of a line at `error`.
91931
91998
  * - `line-marked`: The row of a line `mark-lines` names on the log.
91999
+ * - `line-selected`: The row of a line in the log's selection.
91932
92000
  * - `line-warn`: The row of a line at `warn`.
91933
92001
  * - `match`: Text that matches the log's `query`, in a line the log draws from data.
91934
- * - `number`: The line's number, shown with `line-numbers`, and a link with `line-href`.
92002
+ * - `number`: The line's number, shown with `line-numbers`: a link with `line-href`, and a button on a `selectable` log.
91935
92003
  * - `run`: A stretch of text drawn in an ANSI style, in a line the log draws from data. Its color is `--log-run-color` and its background `--log-run-background-color`.
91936
92004
  * - `run-bold`: A run drawn bold.
91937
92005
  * - `run-dim`: A run drawn faint.
@@ -91991,6 +92059,10 @@ export type CustomElementsSolidJs = {
91991
92059
  * - `error-label`/`errorLabel`: What a screen reader hears when lines at `error` arrive. `{count}` is how
91992
92060
  * many arrived together and `{text}` is the first of them.
91993
92061
  * - `fallback-label`/`fallbackLabel`: The log's name, read by screen readers, where `label` is empty.
92062
+ * - `format`: The format written text is in, read with a parser Helix ships:
92063
+ * `github-actions` reads a GitHub Actions log's workflow commands into steps
92064
+ * and levels, and `vercel` a Vercel build log's phases and warnings. Absent
92065
+ * reads none. `parse` wins over it.
91994
92066
  * - `group-label`/`groupLabel`: What a screen reader hears when a step finishes or fails. `{heading}` is
91995
92067
  * the step's heading and `{status}` is `done` or `failed`.
91996
92068
  * - `label`: The log's name, read by screen readers.
@@ -92011,6 +92083,11 @@ export type CustomElementsSolidJs = {
92011
92083
  * true would write the attribute on upgrade.
92012
92084
  * - `query`: Text a line has to hold to be shown, ignoring case. Empty shows every line.
92013
92085
  * - `resume-label`/`resumeLabel`: The words on the button that returns to the newest line, where `resume` is empty.
92086
+ * - `selectable`: Whether pressing a line's number selects the line, and pressing another
92087
+ * with Shift selects every line between them. Each number is then a
92088
+ * button, or a link with `line-href`, and the arrow keys move between them.
92089
+ * - `selected-lines`/`selectedLines`: The lines selected, as a number or a range such as `12-20`. Empty selects
92090
+ * none. A reader's press asks first: `helix-select` is cancelable.
92014
92091
  * - `threshold`: How near the newest line still counts as being at it, in pixels.
92015
92092
  * - `timestamps`: How each line shows its `at`: `absolute` on the clock, `relative` as the
92016
92093
  * time since the first line. Absent shows no time.
@@ -92026,8 +92103,8 @@ export type CustomElementsSolidJs = {
92026
92103
  * Replaced rather than mutated: setting it starts the log over with these
92027
92104
  * lines, and `write` adds to them. Set it or write children, not both. (property only)
92028
92105
  * - `parse`: Reads each finished line of written text: return the fields to set, such
92029
- * as `level` or `group`, or `null` to drop the line. Lines in `lines` are
92030
- * taken as they are. (property only)
92106
+ * as `level`, `open` or `close` to start or end a step, or `null` to drop
92107
+ * the line. Lines in `lines` are taken as they are. Wins over `format`. (property only)
92031
92108
  * - `source`: Text to read as it arrives, to the end: a `ReadableStream` of text or
92032
92109
  * bytes, such as a `fetch` response's body, or an async iterable. Bytes are
92033
92110
  * read as UTF-8. The log sets `done` when it ends, and a new source stops
@@ -92060,8 +92137,10 @@ export type CustomElementsSolidJs = {
92060
92137
  * Events that will be emitted by the component.
92061
92138
  *
92062
92139
  * - `helix-before-pin`: Fired when the reader leaves the newest line by scrolling, or comes back to it. Cancelable.
92063
- * - `helix-expand`: Fired after a reader opens or closes a group drawn from `groups`, with the `id` of every open group in `detail.value`, separated by commas.
92140
+ * - `helix-expand`: Fired after a reader opens or closes a step drawn from `groups` or opened by a parser, with the `id` of every open group in `detail.value`, separated by commas.
92064
92141
  * - `helix-pin`: Fired after the log follows the newest line or lets go of it, with `true` or `false` in `detail.value`.
92142
+ * - `helix-select`: Fired when a reader presses a number to change the selection, with the lines asked for in `detail.value`. Cancelable.
92143
+ * - `helix-selected`: Fired after the selection changes, with the lines now selected in `detail.value`, such as `12-20`.
92065
92144
  *
92066
92145
  * ## Slots
92067
92146
  *
@@ -92151,6 +92230,7 @@ export type CustomElementsSolidJs = {
92151
92230
  * - `line-run-italic`: A run drawn italic.
92152
92231
  * - `line-run-strike`: A run drawn struck through.
92153
92232
  * - `line-run-underline`: A run drawn underlined.
92233
+ * - `line-selected`: The row of a line drawn from data that is selected.
92154
92234
  * - `line-text`: The text of a line drawn from data.
92155
92235
  * - `line-time`: The time of a line drawn from data.
92156
92236
  * - `line-warn`: The row of a line drawn from data at `warn`.
@@ -110619,6 +110699,8 @@ export type CustomCssProperties = {
110619
110699
  "--log-mark-background-color"?: (string) | undefined;
110620
110700
  /** The fill behind text that matches the log's `query`. */
110621
110701
  "--log-match-background-color"?: (string) | undefined;
110702
+ /** The band behind a selected line, on a `selectable` log. */
110703
+ "--log-selected-background-color"?: (string) | undefined;
110622
110704
  /** The color of a line at `warn`, and of the band behind it. Defaults to the warning color. */
110623
110705
  "--log-warn-color"?: (string) | undefined;
110624
110706
  /** Written on a `run` with a background, in the same form as `--log-run-color`. */
package/types/vue.d.ts CHANGED
@@ -926,7 +926,8 @@ a timer. */
926
926
  `variant`.
927
927
 
928
928
  Absent is `native`, which is each shape answering in the terms it is made
929
- of: braid leans, rays are occluded, threads pinch, particles scatter. The
929
+ of: braid leans, rays are occluded, threads pinch, particles scatter, a
930
+ constellation gathers. The
930
931
  named options are generic, and are a deliberate step down in meaning. A
931
932
  response made of the same material as the shape says something about that
932
933
  shape; a lamp following the cursor says the same nothing on every one.
@@ -1004,10 +1005,11 @@ that range, because they interpolate: a larger number would extrapolate,
1004
1005
  and a streak whose length passed through zero would be drawn as a bar
1005
1006
  across the whole frame.
1006
1007
 
1007
- Read by six of the eleven shapes, the ones made of many similar things,
1008
+ Read by seven of the twelve shapes, the ones made of many similar things,
1008
1009
  whether those are counted or continuous: `streaks`, whose lanes draw a
1009
- speed, a length, a width, a spacing and a weight apiece; `particles`, whose
1010
- motes draw a size, a brightness and a wander; `rays` and `aurora`, whose
1010
+ speed, a length, a width, a spacing and a weight apiece; `particles` and
1011
+ `constellation`, whose motes and stars draw a size, a brightness and a
1012
+ wander; `rays` and `aurora`, whose
1011
1013
  fan, bundles and folds widen or even out; `caustics`, whose three depths of
1012
1014
  fold close on one scale and one weight while the pool over them flattens to
1013
1015
  an even wash; and `fracture`, whose sites come home to their own cell
@@ -1030,7 +1032,7 @@ property writes the attribute onto every host anybody renders.
1030
1032
 
1031
1033
  **`variant` and not `shape`.** `shape` is an axis about geometry, `circle`
1032
1034
  against `square`, `arc` against `ring`, and it is registered as one.
1033
- Aurora, braid and caustics are not geometries; they are eleven names for a
1035
+ Aurora, braid and caustics are not geometries; they are twelve names for a
1034
1036
  look, which is what `variant` is for by the rule the registry already
1035
1037
  states. */
1036
1038
  variant?: (HelixAura["variant"]) | undefined;
@@ -11530,6 +11532,12 @@ export type HelixLogHelixExpandElementEvent =
11530
11532
  HelixLogElementEvent<HelixExpandEvent>;
11531
11533
  /** `helix-pin` event type */
11532
11534
  export type HelixLogHelixPinElementEvent = HelixLogElementEvent<HelixPinEvent>;
11535
+ /** `helix-select` event type */
11536
+ export type HelixLogHelixSelectElementEvent =
11537
+ HelixLogElementEvent<HelixSelectEvent>;
11538
+ /** `helix-selected` event type */
11539
+ export type HelixLogHelixSelectedElementEvent =
11540
+ HelixLogElementEvent<HelixSelectedEvent>;
11533
11541
 
11534
11542
  export type HelixLogVueProps = {
11535
11543
  /** The text shown and announced when there are no rows and none are loading. */
@@ -11575,6 +11583,11 @@ many arrived together and `{text}` is the first of them. */
11575
11583
  "fallback-label"?: (HelixLog["fallbackLabel"]) | undefined;
11576
11584
  /** The log's name, read by screen readers, where `label` is empty. */
11577
11585
  fallbackLabel?: (HelixLog["fallbackLabel"]) | undefined;
11586
+ /** The format written text is in, read with a parser Helix ships:
11587
+ `github-actions` reads a GitHub Actions log's workflow commands into steps
11588
+ and levels, and `vercel` a Vercel build log's phases and warnings. Absent
11589
+ reads none. `parse` wins over it. */
11590
+ format?: (HelixLog["format"]) | undefined;
11578
11591
  /** What a screen reader hears when a step finishes or fails. `{heading}` is
11579
11592
  the step's heading and `{status}` is `done` or `failed`. */
11580
11593
  "group-label"?: (HelixLog["groupLabel"]) | undefined;
@@ -11623,6 +11636,16 @@ true would write the attribute on upgrade. */
11623
11636
  "resume-label"?: (HelixLog["resumeLabel"]) | undefined;
11624
11637
  /** The words on the button that returns to the newest line, where `resume` is empty. */
11625
11638
  resumeLabel?: (HelixLog["resumeLabel"]) | undefined;
11639
+ /** Whether pressing a line's number selects the line, and pressing another
11640
+ with Shift selects every line between them. Each number is then a
11641
+ button, or a link with `line-href`, and the arrow keys move between them. */
11642
+ selectable?: (HelixLog["selectable"]) | undefined;
11643
+ /** The lines selected, as a number or a range such as `12-20`. Empty selects
11644
+ none. A reader's press asks first: `helix-select` is cancelable. */
11645
+ "selected-lines"?: (HelixLog["selectedLines"]) | undefined;
11646
+ /** The lines selected, as a number or a range such as `12-20`. Empty selects
11647
+ none. A reader's press asks first: `helix-select` is cancelable. */
11648
+ selectedLines?: (HelixLog["selectedLines"]) | undefined;
11626
11649
  /** How near the newest line still counts as being at it, in pixels. */
11627
11650
  threshold?: (HelixLog["threshold"]) | undefined;
11628
11651
  /** How each line shows its `at`: `absolute` on the clock, `relative` as the
@@ -11643,8 +11666,8 @@ Replaced rather than mutated: setting it starts the log over with these
11643
11666
  lines, and `write` adds to them. Set it or write children, not both. */
11644
11667
  lines?: (HelixLog["lines"]) | undefined;
11645
11668
  /** Reads each finished line of written text: return the fields to set, such
11646
- as `level` or `group`, or `null` to drop the line. Lines in `lines` are
11647
- taken as they are. */
11669
+ as `level`, `open` or `close` to start or end a step, or `null` to drop
11670
+ the line. Lines in `lines` are taken as they are. Wins over `format`. */
11648
11671
  parse?: (HelixLog["parse"]) | undefined;
11649
11672
  /** Text to read as it arrives, to the end: a `ReadableStream` of text or
11650
11673
  bytes, such as a `fetch` response's body, or an async iterable. Bytes are
@@ -11656,10 +11679,14 @@ reading the last one. */
11656
11679
  export type HelixLogVueEvents = {
11657
11680
  /** Fired when the reader leaves the newest line by scrolling, or comes back to it. Cancelable. */
11658
11681
  "helix-before-pin": HelixLogHelixBeforePinElementEvent;
11659
- /** Fired after a reader opens or closes a group drawn from `groups`, with the `id` of every open group in `detail.value`, separated by commas. */
11682
+ /** Fired after a reader opens or closes a step drawn from `groups` or opened by a parser, with the `id` of every open group in `detail.value`, separated by commas. */
11660
11683
  "helix-expand": HelixLogHelixExpandElementEvent;
11661
11684
  /** Fired after the log follows the newest line or lets go of it, with `true` or `false` in `detail.value`. */
11662
11685
  "helix-pin": HelixLogHelixPinElementEvent;
11686
+ /** Fired when a reader presses a number to change the selection, with the lines asked for in `detail.value`. Cancelable. */
11687
+ "helix-select": HelixLogHelixSelectElementEvent;
11688
+ /** Fired after the selection changes, with the lines now selected in `detail.value`, such as `12-20`. */
11689
+ "helix-selected": HelixLogHelixSelectedElementEvent;
11663
11690
  };
11664
11691
 
11665
11692
  /** `HelixMapArea` component event */
@@ -24279,6 +24306,8 @@ export type CustomCssProperties = {
24279
24306
  "--log-mark-background-color"?: (string) | undefined;
24280
24307
  /** The fill behind text that matches the log's `query`. */
24281
24308
  "--log-match-background-color"?: (string) | undefined;
24309
+ /** The band behind a selected line, on a `selectable` log. */
24310
+ "--log-selected-background-color"?: (string) | undefined;
24282
24311
  /** The color of a line at `warn`, and of the band behind it. Defaults to the warning color. */
24283
24312
  "--log-warn-color"?: (string) | undefined;
24284
24313
  /** Written on a `run` with a background, in the same form as `--log-run-color`. */