@fusion.dev/helix-headless 0.240.5 → 0.241.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-headless",
3
3
  "description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
4
- "version": "0.240.5",
4
+ "version": "0.241.0",
5
5
  "license": "MIT",
6
6
  "author": "Fusion Development Group",
7
7
  "repository": {
@@ -58,14 +58,14 @@
58
58
  },
59
59
  "bugs": "https://github.com/project-fusion/fusion/issues",
60
60
  "dependencies": {
61
- "@fusion.dev/helix-core": "0.240.5",
62
- "@fusion.dev/helix-icons": "0.240.5",
61
+ "@fusion.dev/helix-core": "0.241.0",
62
+ "@fusion.dev/helix-icons": "0.241.0",
63
63
  "tslib": "^2.9.1",
64
64
  "uqr": "^0.1.3"
65
65
  },
66
66
  "devDependencies": {
67
- "@fusion.dev/helix-cem": "0.240.5",
68
- "@fusion.dev/helix-testing": "0.240.5",
67
+ "@fusion.dev/helix-cem": "0.241.0",
68
+ "@fusion.dev/helix-testing": "0.241.0",
69
69
  "@fusion.dev/scripts": "0.0.0-dev",
70
70
  "@happy-dom/global-registrator": "^21.0.4",
71
71
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -23684,9 +23684,10 @@ these words are the whole of where it is. */
23684
23684
  "default-collapsed"?: HelixHeadlessSplitter["defaultCollapsed"] | undefined;
23685
23685
  /** Which pane starts shut, when `collapsed` is not set. */
23686
23686
  "defaultCollapsed"?: HelixHeadlessSplitter["defaultCollapsed"] | undefined;
23687
- /** Where the divider starts, when `position` is not set. */
23688
- "default-position"?: HelixHeadlessSplitter["defaultPosition"] | `${number}` | undefined;
23689
- /** Where the divider starts, when `position` is not set. */
23687
+ /** Where the divider starts, when `position` is not set: a percentage, or a
23688
+ length such as `280px`, as `position` takes. */
23689
+ "default-position"?: HelixHeadlessSplitter["defaultPosition"] | undefined;
23690
+ /** Where the divider starts, when `position` is not set: a percentage, or a length such as `280px`, as `position` takes. */
23690
23691
  "defaultPosition"?: HelixHeadlessSplitter["defaultPosition"] | undefined;
23691
23692
  /** The least the end pane keeps, in the units `min` takes: a percentage, or
23692
23693
  a CSS length such as `16rem` resolved against the splitter's box. The
@@ -23755,7 +23756,20 @@ has an honest answer. */
23755
23756
 
23756
23757
  Reading gives where it is; writing declares it the consumer's, and
23757
23758
  `default-position` seeds one this element owns. The same accessor pair
23758
- `Pagination.page` and the calendar's `month` carry. */
23759
+ `Pagination.page` and the calendar's `month` carry.
23760
+
23761
+ **Written as a length, such as `280px` or `16rem`, it is the start pane's
23762
+ size**, which the stylesheet lays out as written, between `min` and `max`.
23763
+ Nothing is measured to place it, so it is where it belongs on the first
23764
+ paint and in the server's markup, and it keeps its size as the splitter's
23765
+ own size changes. A percentage is drawn only once the splitter knows its
23766
+ box, so a sidebar of a fixed width written as one is drawn at some other
23767
+ width first and corrected, which a browser counts as a layout shift.
23768
+
23769
+ Reading always gives a percentage, measured against the box, and 50 where
23770
+ there is no box yet. A drag, a key or a double click settles on a
23771
+ percentage, and `helix-resized` carries one: a consumer keeping a length
23772
+ converts it and writes the length back. */
23759
23773
  "position"?: HelixHeadlessSplitter["position"] | undefined;
23760
23774
  /** The pane that keeps its size when the splitter's own size changes. The
23761
23775
  other pane takes all of the change. Unset, both keep their share. */
@@ -23808,9 +23822,9 @@ export type HelixHeadlessSplitterSolidJsProps = {
23808
23822
  "attr:default-collapsed"?: HelixHeadlessSplitter["defaultCollapsed"] | undefined;
23809
23823
  /** Which pane starts shut, when `collapsed` is not set. */
23810
23824
  "prop:defaultCollapsed"?: HelixHeadlessSplitter["defaultCollapsed"] | undefined;
23811
- /** Where the divider starts, when `position` is not set. */
23812
- "attr:default-position"?: HelixHeadlessSplitter["defaultPosition"] | `${number}` | undefined;
23813
- /** Where the divider starts, when `position` is not set. */
23825
+ /** Where the divider starts, when `position` is not set: a percentage, or a length such as `280px`, as `position` takes. */
23826
+ "attr:default-position"?: HelixHeadlessSplitter["defaultPosition"] | undefined;
23827
+ /** Where the divider starts, when `position` is not set: a percentage, or a length such as `280px`, as `position` takes. */
23814
23828
  "prop:defaultPosition"?: HelixHeadlessSplitter["defaultPosition"] | undefined;
23815
23829
  /** The least the end pane keeps, in the units `min` takes: a percentage, or a CSS length such as `16rem` resolved against the splitter's box. The divider stops that far from the end, whatever `max` allows, so `min` and `end-min` hold a minimum for each pane, as Zag's panels each take `minSize`. */
23816
23830
  "attr:end-min"?: HelixHeadlessSplitter["endMin"] | undefined;
@@ -32132,6 +32146,14 @@ interface Tags {
32132
32146
  * set or older turns load, the log carries `aria-busy`, as the APG asks of a
32133
32147
  * feed.
32134
32148
  *
32149
+ * **A conversation opening with nothing in it yet draws turns in outline.**
32150
+ * While `loading` is set and there are no turns, the log holds two placeholder
32151
+ * turns, one from `me` and a reply, drawn in a skeleton's fill where a
32152
+ * message's bubble would be, so the transcript has the shape a conversation
32153
+ * takes rather than a line of text that the first turns push away. They are
32154
+ * hidden from screen readers, which hear `loading-text`. A server, which
32155
+ * cannot know whether children will arrive, draws the line alone.
32156
+ *
32135
32157
  * The log is `aria-live="off"`. A separate status region announces each new
32136
32158
  * turn once, when it has finished arriving. It skips the user's own turns
32137
32159
  * unless they failed to send, turns loaded as history, and the turns already
@@ -32287,6 +32309,9 @@ interface Tags {
32287
32309
  * - `message-state`: The state text of a turn from `turns`, when there is one to show.
32288
32310
  * - `message-time`: The time of a turn from `turns`.
32289
32311
  * - `message-work`: The box around a turn's `work`, for a turn from `turns`, which has none.
32312
+ * - `placeholder`: The turns drawn in outline while `loading` is set and there are none. Hidden from screen readers.
32313
+ * - `placeholder-line`: One line of text in a placeholder turn.
32314
+ * - `placeholder-turn`: One placeholder turn. The one from `me` carries `data-author="me"`.
32290
32315
  * - `resume`: The control shown while the user is scrolled away from the bottom.
32291
32316
  * - `resume-button`: The button the `resume` region shows when nothing is slotted into it.
32292
32317
  * - `resume-mark`: The arrow on the default `resume-button`.
@@ -44470,6 +44495,11 @@ interface Tags {
44470
44495
  * `min` is the least the start pane keeps and `end-min` the least the end pane
44471
44496
  * keeps, each a percentage or a CSS length such as `16rem`.
44472
44497
  *
44498
+ * `position` and `default-position` take a length as well as a percentage,
44499
+ * such as `280px`, which is the start pane's size. The stylesheet places it
44500
+ * with nothing measured, so the divider is where it belongs from the first
44501
+ * paint, and the start pane keeps that size as the splitter's own size changes.
44502
+ *
44473
44503
  * Set `primary` to the pane that keeps its size when the splitter's own size
44474
44504
  * changes, such as a sidebar beside a window being resized. The other pane
44475
44505
  * takes all of the change, as Web Awesome's split panel does. Without it,
@@ -44501,7 +44531,7 @@ interface Tags {
44501
44531
  * - `corner-label`/`cornerLabel`: The name of the handle where two dividers cross, read by screen readers.
44502
44532
  * - `corner-value-label`/`cornerValueLabel`: What the handle where two dividers cross says it is set to, both dividers at once: `{across}` is where the divider that runs down stands, and `{down}` where the one that runs across stands, each a percentage.
44503
44533
  * - `default-collapsed`/`defaultCollapsed`: Which pane starts shut, when `collapsed` is not set.
44504
- * - `default-position`/`defaultPosition`: Where the divider starts, when `position` is not set.
44534
+ * - `default-position`/`defaultPosition`: Where the divider starts, when `position` is not set: a percentage, or a length such as `280px`, as `position` takes.
44505
44535
  * - `end-min`/`endMin`: The least the end pane keeps, in the units `min` takes: a percentage, or a CSS length such as `16rem` resolved against the splitter's box. The divider stops that far from the end, whatever `max` allows, so `min` and `end-min` hold a minimum for each pane, as Zag's panels each take `minSize`.
44506
44536
  * - `fallback-label`/`fallbackLabel`: The name the element gives itself where `label` is empty.
44507
44537
  * - `label`: The divider's name, read by screen readers.
@@ -44535,7 +44565,7 @@ interface Tags {
44535
44565
  * ## CSS Custom Properties
44536
44566
  *
44537
44567
  * - `--splitter-corner-at`: Where a nested splitter crosses this one, as a percentage.
44538
- * - `--splitter-position`: Where the divider sits, as a percentage of the box.
44568
+ * - `--splitter-position`: Where the divider sits: a percentage of the box, or, for a position written as a length, that length held between `min` and `max`.
44539
44569
  *
44540
44570
  * ## CSS Parts
44541
44571
  *
@@ -48984,7 +49014,7 @@ export type CustomCssProperties = {
48984
49014
  "--spatial-treemap-shade"?: string | undefined;
48985
49015
  /** Where a nested splitter crosses this one, as a percentage. */
48986
49016
  "--splitter-corner-at"?: string | undefined;
48987
- /** Where the divider sits, as a percentage of the box. */
49017
+ /** Where the divider sits: a percentage of the box, or, for a position written as a length, that length held between `min` and `max`. */
48988
49018
  "--splitter-position"?: string | undefined;
48989
49019
  /** How far through the sequence is, as a percentage, written on the `progress` part. */
48990
49020
  "--steps-progress"?: string | undefined;
package/types/vue.d.ts CHANGED
@@ -15932,10 +15932,11 @@ these words are the whole of where it is. */
15932
15932
  "default-collapsed"?: HelixHeadlessSplitter["defaultCollapsed"] | undefined;
15933
15933
  /** Which pane starts shut, when `collapsed` is not set. */
15934
15934
  "defaultCollapsed"?: HelixHeadlessSplitter["defaultCollapsed"] | undefined;
15935
- /** Where the divider starts, when `position` is not set. */
15936
- "default-position"?: HelixHeadlessSplitter["defaultPosition"] | `${number}` | undefined;
15937
- /** Where the divider starts, when `position` is not set. */
15938
- "defaultPosition"?: HelixHeadlessSplitter["defaultPosition"] | `${number}` | undefined;
15935
+ /** Where the divider starts, when `position` is not set: a percentage, or a
15936
+ length such as `280px`, as `position` takes. */
15937
+ "default-position"?: HelixHeadlessSplitter["defaultPosition"] | undefined;
15938
+ /** Where the divider starts, when `position` is not set: a percentage, or a length such as `280px`, as `position` takes. */
15939
+ "defaultPosition"?: HelixHeadlessSplitter["defaultPosition"] | undefined;
15939
15940
  /** The least the end pane keeps, in the units `min` takes: a percentage, or
15940
15941
  a CSS length such as `16rem` resolved against the splitter's box. The
15941
15942
  divider stops that far from the end, whatever `max` allows, so `min` and
@@ -16003,7 +16004,20 @@ has an honest answer. */
16003
16004
 
16004
16005
  Reading gives where it is; writing declares it the consumer's, and
16005
16006
  `default-position` seeds one this element owns. The same accessor pair
16006
- `Pagination.page` and the calendar's `month` carry. */
16007
+ `Pagination.page` and the calendar's `month` carry.
16008
+
16009
+ **Written as a length, such as `280px` or `16rem`, it is the start pane's
16010
+ size**, which the stylesheet lays out as written, between `min` and `max`.
16011
+ Nothing is measured to place it, so it is where it belongs on the first
16012
+ paint and in the server's markup, and it keeps its size as the splitter's
16013
+ own size changes. A percentage is drawn only once the splitter knows its
16014
+ box, so a sidebar of a fixed width written as one is drawn at some other
16015
+ width first and corrected, which a browser counts as a layout shift.
16016
+
16017
+ Reading always gives a percentage, measured against the box, and 50 where
16018
+ there is no box yet. A drag, a key or a double click settles on a
16019
+ percentage, and `helix-resized` carries one: a consumer keeping a length
16020
+ converts it and writes the length back. */
16007
16021
  "position"?: HelixHeadlessSplitter["position"] | undefined;
16008
16022
  /** The pane that keeps its size when the splitter's own size changes. The
16009
16023
  other pane takes all of the change. Unset, both keep their share. */
@@ -20396,7 +20410,7 @@ export type CustomCssProperties = {
20396
20410
  "--spatial-treemap-shade"?: string | undefined;
20397
20411
  /** Where a nested splitter crosses this one, as a percentage. */
20398
20412
  "--splitter-corner-at"?: string | undefined;
20399
- /** Where the divider sits, as a percentage of the box. */
20413
+ /** Where the divider sits: a percentage of the box, or, for a position written as a length, that length held between `min` and `max`. */
20400
20414
  "--splitter-position"?: string | undefined;
20401
20415
  /** How far through the sequence is, as a percentage, written on the `progress` part. */
20402
20416
  "--steps-progress"?: string | undefined;
@@ -21463,6 +21477,14 @@ export interface HelixVueGlobalComponents {
21463
21477
  * set or older turns load, the log carries `aria-busy`, as the APG asks of a
21464
21478
  * feed.
21465
21479
  *
21480
+ * **A conversation opening with nothing in it yet draws turns in outline.**
21481
+ * While `loading` is set and there are no turns, the log holds two placeholder
21482
+ * turns, one from `me` and a reply, drawn in a skeleton's fill where a
21483
+ * message's bubble would be, so the transcript has the shape a conversation
21484
+ * takes rather than a line of text that the first turns push away. They are
21485
+ * hidden from screen readers, which hear `loading-text`. A server, which
21486
+ * cannot know whether children will arrive, draws the line alone.
21487
+ *
21466
21488
  * The log is `aria-live="off"`. A separate status region announces each new
21467
21489
  * turn once, when it has finished arriving. It skips the user's own turns
21468
21490
  * unless they failed to send, turns loaded as history, and the turns already
@@ -26239,6 +26261,11 @@ export interface HelixVueGlobalComponents {
26239
26261
  * `min` is the least the start pane keeps and `end-min` the least the end pane
26240
26262
  * keeps, each a percentage or a CSS length such as `16rem`.
26241
26263
  *
26264
+ * `position` and `default-position` take a length as well as a percentage,
26265
+ * such as `280px`, which is the start pane's size. The stylesheet places it
26266
+ * with nothing measured, so the divider is where it belongs from the first
26267
+ * paint, and the start pane keeps that size as the splitter's own size changes.
26268
+ *
26242
26269
  * Set `primary` to the pane that keeps its size when the splitter's own size
26243
26270
  * changes, such as a sidebar beside a window being resized. The other pane
26244
26271
  * takes all of the change, as Web Awesome's split panel does. Without it,