@fusion.dev/helix-headless 0.240.4 → 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/api.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/chat/root/chat-root.d.ts +23 -0
- package/dist/chat/root/chat-root.js +10 -1
- package/dist/column-manager/root/column-manager-root.d.ts +12 -1
- package/dist/column-manager/root/column-manager-root.js +18 -10
- package/dist/markdown/root/markdown-root.d.ts +1 -0
- package/dist/markdown/root/markdown-root.js +6 -1
- package/dist/markdown/tree.d.ts +4 -2
- package/dist/markdown/tree.js +7 -4
- package/dist/splitter/root/splitter-root.d.ts +44 -6
- package/dist/splitter/root/splitter-root.js +54 -10
- package/dist/table-export/root/table-export-root.d.ts +28 -11
- package/dist/table-export/root/table-export-root.js +49 -29
- package/dist/tree/item/tree-item.d.ts +30 -4
- package/dist/tree/item/tree-item.js +15 -6
- package/dist/view-panel/root/view-panel-root.d.ts +11 -3
- package/dist/view-panel/root/view-panel-root.js +18 -13
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +99 -25
- package/types/vue.d.ts +33 -6
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.
|
|
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.
|
|
62
|
-
"@fusion.dev/helix-icons": "0.
|
|
63
|
-
"tslib": "^2.
|
|
61
|
+
"@fusion.dev/helix-core": "0.241.0",
|
|
62
|
+
"@fusion.dev/helix-icons": "0.241.0",
|
|
63
|
+
"tslib": "^2.9.1",
|
|
64
64
|
"uqr": "^0.1.3"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@fusion.dev/helix-cem": "0.
|
|
68
|
-
"@fusion.dev/helix-testing": "0.
|
|
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
|
-
|
|
23689
|
-
|
|
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"] |
|
|
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`.
|
|
@@ -33445,7 +33470,17 @@ interface Tags {
|
|
|
33445
33470
|
*
|
|
33446
33471
|
* ## CSS Parts
|
|
33447
33472
|
*
|
|
33448
|
-
* - `checkbox`: The
|
|
33473
|
+
* - `checkbox`: The `Checkbox` that shows or hides a column.
|
|
33474
|
+
* - `checkbox-box`: The box drawn for a row's checkbox.
|
|
33475
|
+
* - `checkbox-control`: The native input inside a row's checkbox.
|
|
33476
|
+
* - `checkbox-feedback`: Forwarded from the checkbox. Not shown, since a column's box is never wrong.
|
|
33477
|
+
* - `checkbox-field`: The row inside a checkbox that holds its box and the column's name.
|
|
33478
|
+
* - `checkbox-hint`: Forwarded from the checkbox. Not shown, since a column's box has no help.
|
|
33479
|
+
* - `checkbox-label`: The label beside a row's box, which holds `name`.
|
|
33480
|
+
* - `checkbox-mark`: The check mark on a row's box.
|
|
33481
|
+
* - `checkbox-mark-checked`: Added to `checkbox-mark` while the column shows.
|
|
33482
|
+
* - `checkbox-mark-dash`: Forwarded from the checkbox. Not shown, since a column is shown or hidden.
|
|
33483
|
+
* - `checkbox-mark-indeterminate`: Forwarded from the checkbox. Not shown, since a column is shown or hidden.
|
|
33449
33484
|
* - `grip`: The button that moves a column.
|
|
33450
33485
|
* - `grip-mark`: The icon on the grip.
|
|
33451
33486
|
* - `header`: The row above the list that holds the title and the reset button.
|
|
@@ -44460,6 +44495,11 @@ interface Tags {
|
|
|
44460
44495
|
* `min` is the least the start pane keeps and `end-min` the least the end pane
|
|
44461
44496
|
* keeps, each a percentage or a CSS length such as `16rem`.
|
|
44462
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
|
+
*
|
|
44463
44503
|
* Set `primary` to the pane that keeps its size when the splitter's own size
|
|
44464
44504
|
* changes, such as a sidebar beside a window being resized. The other pane
|
|
44465
44505
|
* takes all of the change, as Web Awesome's split panel does. Without it,
|
|
@@ -44491,7 +44531,7 @@ interface Tags {
|
|
|
44491
44531
|
* - `corner-label`/`cornerLabel`: The name of the handle where two dividers cross, read by screen readers.
|
|
44492
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.
|
|
44493
44533
|
* - `default-collapsed`/`defaultCollapsed`: Which pane starts shut, when `collapsed` is not set.
|
|
44494
|
-
* - `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.
|
|
44495
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`.
|
|
44496
44536
|
* - `fallback-label`/`fallbackLabel`: The name the element gives itself where `label` is empty.
|
|
44497
44537
|
* - `label`: The divider's name, read by screen readers.
|
|
@@ -44525,7 +44565,7 @@ interface Tags {
|
|
|
44525
44565
|
* ## CSS Custom Properties
|
|
44526
44566
|
*
|
|
44527
44567
|
* - `--splitter-corner-at`: Where a nested splitter crosses this one, as a percentage.
|
|
44528
|
-
* - `--splitter-position`: Where the divider sits
|
|
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`.
|
|
44529
44569
|
*
|
|
44530
44570
|
* ## CSS Parts
|
|
44531
44571
|
*
|
|
@@ -44946,10 +44986,16 @@ interface Tags {
|
|
|
44946
44986
|
* ## CSS Parts
|
|
44947
44987
|
*
|
|
44948
44988
|
* - `actions`: The row that holds Copy and Export.
|
|
44949
|
-
* - `choice`: One choice
|
|
44989
|
+
* - `choice`: One choice, a `Radio`.
|
|
44990
|
+
* - `choice-box`: The circle of a choice's `Radio`.
|
|
44950
44991
|
* - `choice-checked`: Added to `choice` while it is chosen.
|
|
44951
|
-
* - `choice-
|
|
44952
|
-
* - `
|
|
44992
|
+
* - `choice-item`: The button of a choice's `Radio`, which covers it.
|
|
44993
|
+
* - `choice-label`: The words of a choice's `Radio`.
|
|
44994
|
+
* - `columns`: The `Radio Group` that chooses the columns.
|
|
44995
|
+
* - `columns-feedback`: Forwarded from the radio group. Not shown, since a choice of columns is never wrong.
|
|
44996
|
+
* - `columns-hint`: Forwarded from the radio group. Not shown, since the columns have no help.
|
|
44997
|
+
* - `columns-items`: The column choices inside `columns`.
|
|
44998
|
+
* - `columns-label`: The name of `columns`.
|
|
44953
44999
|
* - `copy`: The button that copies the rows.
|
|
44954
45000
|
* - `copy-button`: Forwarded from the button: the button inside `copy`.
|
|
44955
45001
|
* - `copy-live`: Forwarded from the button. Not shown in the panel, whose buttons do not load.
|
|
@@ -44960,12 +45006,22 @@ interface Tags {
|
|
|
44960
45006
|
* - `export-live`: Forwarded from the button. Not shown in the panel, whose buttons do not load.
|
|
44961
45007
|
* - `export-spinner`: Forwarded from the button. Not shown in the panel, whose buttons do not load.
|
|
44962
45008
|
* - `export-text`: Forwarded from the button: the words inside `export`.
|
|
44963
|
-
* - `format`: The
|
|
44964
|
-
* - `
|
|
45009
|
+
* - `format`: The `Radio Group` that chooses the format.
|
|
45010
|
+
* - `format-feedback`: Forwarded from the radio group. Not shown, since a choice of format is never wrong.
|
|
45011
|
+
* - `format-hint`: Forwarded from the radio group. Not shown, since the format has no help.
|
|
45012
|
+
* - `format-items`: The format choices inside `format`.
|
|
45013
|
+
* - `format-label`: The name of `format`.
|
|
44965
45014
|
* - `live`: The region that says the rows were copied. Visually hidden in the styled tier.
|
|
44966
|
-
* - `
|
|
44967
|
-
* - `rows`:
|
|
44968
|
-
* - `
|
|
45015
|
+
* - `rows`: The `Radio Group` that chooses the rows.
|
|
45016
|
+
* - `rows-feedback`: Forwarded from the radio group. Not shown, since a choice of rows is never wrong.
|
|
45017
|
+
* - `rows-hint`: Forwarded from the radio group. Not shown, since the rows have no help.
|
|
45018
|
+
* - `rows-items`: The row choices inside `rows`.
|
|
45019
|
+
* - `rows-label`: The name of `rows`.
|
|
45020
|
+
* - `values`: The `Radio Group` that chooses the values.
|
|
45021
|
+
* - `values-feedback`: Forwarded from the radio group. Not shown, since a choice of values is never wrong.
|
|
45022
|
+
* - `values-hint`: Forwarded from the radio group. Not shown, since the values have no help.
|
|
45023
|
+
* - `values-items`: The value choices inside `values`.
|
|
45024
|
+
* - `values-label`: The name of `values`.
|
|
44969
45025
|
*
|
|
44970
45026
|
* ## CSS States
|
|
44971
45027
|
*
|
|
@@ -47637,9 +47693,20 @@ interface Tags {
|
|
|
47637
47693
|
* ## CSS Parts
|
|
47638
47694
|
*
|
|
47639
47695
|
* - `actions`: The `actions` slot, which draws no box of its own. `inert` while the actions are not shown, which takes what it holds off the tab order and out of reach of the pointer.
|
|
47640
|
-
* - `
|
|
47641
|
-
* - `
|
|
47642
|
-
* - `
|
|
47696
|
+
* - `check`: The inert `Checkbox` that draws the check mark, inside `checkbox`.
|
|
47697
|
+
* - `check-box`: Forwarded from the checkbox: the box drawn for its input.
|
|
47698
|
+
* - `check-control`: Forwarded from the checkbox: its native input, inert.
|
|
47699
|
+
* - `check-feedback`: Forwarded from the checkbox. Not shown, since a check mark is never wrong.
|
|
47700
|
+
* - `check-field`: Forwarded from the checkbox: the row that holds its box.
|
|
47701
|
+
* - `check-hint`: Forwarded from the checkbox. Not shown, since a check mark has no help.
|
|
47702
|
+
* - `check-label`: Forwarded from the checkbox. Not shown, since the item's own label names it.
|
|
47703
|
+
* - `check-mark`: Forwarded from the checkbox: the tick, or the dash while some of a branch's items are checked.
|
|
47704
|
+
* - `check-mark-checked`: Forwarded from the checkbox: added to `check-mark` while the item is checked.
|
|
47705
|
+
* - `check-mark-dash`: Forwarded from the checkbox: added to `check-mark` while it is the dash.
|
|
47706
|
+
* - `check-mark-indeterminate`: Forwarded from the checkbox: added to `check-mark` while some of a branch's items are checked.
|
|
47707
|
+
* - `checkbox`: What holds the check mark, in a tree with `selection-mode="multiple"`. A press on it checks the item.
|
|
47708
|
+
* - `checkbox-checked`: Added to `checkbox` while the item is checked.
|
|
47709
|
+
* - `checkbox-mixed`: Added to `checkbox` while some of a branch's items are checked.
|
|
47643
47710
|
* - `grip`: The handle a pointer drags to move the item, in a `reorderable` tree. Hidden from screen readers, which move the item with Alt and an arrow.
|
|
47644
47711
|
* - `grip-mark`: The icon on the grip.
|
|
47645
47712
|
* - `group`: The container for nested items.
|
|
@@ -48387,8 +48454,11 @@ interface Tags {
|
|
|
48387
48454
|
* ## CSS Parts
|
|
48388
48455
|
*
|
|
48389
48456
|
* - `back`: The button that returns from a section to the list.
|
|
48390
|
-
* - `choice`: One sort order,
|
|
48391
|
-
* - `choice-
|
|
48457
|
+
* - `choice`: One sort order, a `Radio`.
|
|
48458
|
+
* - `choice-box`: The circle of a sort order's `Radio`.
|
|
48459
|
+
* - `choice-checked`: Added to `choice` while it is the table's sort.
|
|
48460
|
+
* - `choice-item`: The button of a sort order's `Radio`, which covers its row.
|
|
48461
|
+
* - `choice-label`: The words of a sort order's `Radio`.
|
|
48392
48462
|
* - `header`: The row that holds the title, or Back, and Reset.
|
|
48393
48463
|
* - `page`: The open section.
|
|
48394
48464
|
* - `reset`: The button that clears the search, the filters, and the sort.
|
|
@@ -48401,7 +48471,11 @@ interface Tags {
|
|
|
48401
48471
|
* - `show-live`: Forwarded from the button. Not shown in the panel, whose button does not load.
|
|
48402
48472
|
* - `show-spinner`: Forwarded from the button. Not shown in the panel, whose button does not load.
|
|
48403
48473
|
* - `show-text`: Forwarded from the button: the words inside `show`.
|
|
48404
|
-
* - `sort`: The sort orders the panel draws
|
|
48474
|
+
* - `sort`: The `Radio Group` of sort orders the panel draws, named by its `aria-label`.
|
|
48475
|
+
* - `sort-feedback`: Forwarded from the radio group. Not shown, since a sort is never wrong.
|
|
48476
|
+
* - `sort-hint`: Forwarded from the radio group. Not shown, since the sort has no help.
|
|
48477
|
+
* - `sort-items`: The sort orders inside `sort`.
|
|
48478
|
+
* - `sort-label`: The name of `sort`, clipped, since the panel's heading already says it.
|
|
48405
48479
|
* - `summary`: What a section holds now.
|
|
48406
48480
|
* - `title`: The panel's heading.
|
|
48407
48481
|
*
|
|
@@ -48940,7 +49014,7 @@ export type CustomCssProperties = {
|
|
|
48940
49014
|
"--spatial-treemap-shade"?: string | undefined;
|
|
48941
49015
|
/** Where a nested splitter crosses this one, as a percentage. */
|
|
48942
49016
|
"--splitter-corner-at"?: string | undefined;
|
|
48943
|
-
/** Where the divider sits
|
|
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`. */
|
|
48944
49018
|
"--splitter-position"?: string | undefined;
|
|
48945
49019
|
/** How far through the sequence is, as a percentage, written on the `progress` part. */
|
|
48946
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
|
-
|
|
15937
|
-
|
|
15938
|
-
|
|
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
|
|
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,
|