@fusion.dev/helix-headless 0.232.0 → 0.234.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/canvas/root/canvas-root.js +1 -0
- package/dist/data-table/root/data-table-root.d.ts +41 -2
- package/dist/data-table/root/data-table-root.js +52 -4
- package/dist/date-input/root/date-input-root.d.ts +7 -5
- package/dist/date-input/root/date-input-root.js +1 -1
- package/dist/filter-input/root/filter-input-root.d.ts +6 -0
- package/dist/filter-input/root/filter-input-root.js +5 -0
- package/dist/number-input/root/number-input-root.d.ts +6 -5
- package/dist/number-input/root/number-input-root.js +1 -1
- package/dist/table/column/table-column.d.ts +19 -0
- package/dist/table/column/table-column.js +8 -1
- package/dist/table/fit.d.ts +26 -0
- package/dist/table/fit.js +23 -0
- package/dist/time-input/root/time-input-root.d.ts +4 -2
- package/dist/time-input/root/time-input-root.js +1 -1
- package/dist/tree/item/tree-item.d.ts +43 -0
- package/dist/tree/item/tree-item.js +85 -2
- package/dist/tree/root/tree-root.d.ts +4 -0
- package/dist/tree/root/tree-root.js +3 -0
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +81 -19
- package/types/vue.d.ts +64 -13
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.234.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.
|
|
61
|
+
"@fusion.dev/helix-core": "0.234.0",
|
|
62
|
+
"@fusion.dev/helix-icons": "0.234.0",
|
|
63
63
|
"tslib": "^2.8.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.234.0",
|
|
68
|
+
"@fusion.dev/helix-testing": "0.234.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
|
@@ -7541,12 +7541,14 @@ export type HelixHeadlessDateInputToggleElementEvent = HelixHeadlessDateInputEle
|
|
|
7541
7541
|
|
|
7542
7542
|
export type HelixHeadlessDateInputProps = {
|
|
7543
7543
|
/** What the browser may autofill here, as one of the platform's own tokens,
|
|
7544
|
-
such as `bday`.
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7544
|
+
such as `bday`. `off` by default: the text a date is typed into is a text
|
|
7545
|
+
field to the browser, and its form history offered unrelated words a
|
|
7546
|
+
reader had typed elsewhere.
|
|
7547
|
+
|
|
7548
|
+
**A default, never a fixed value.** Set a token such as `bday` and the
|
|
7549
|
+
browser fills it, so a birthday can still be filled in for a reader. With
|
|
7550
|
+
`segmented`, a hidden native date input carries the token, since no
|
|
7551
|
+
browser fills the segments. Set it empty to leave the attribute off. */
|
|
7550
7552
|
"autocomplete"?: HelixHeadlessDateInput["autocomplete"] | undefined;
|
|
7551
7553
|
/** The calendar the written date, the segments, and the calendar's days are
|
|
7552
7554
|
in: `gregory`, `buddhist`, `japanese`, `roc`, or `iso8601`, or a calendar
|
|
@@ -7967,7 +7969,7 @@ reader makes in one of these. */
|
|
|
7967
7969
|
};
|
|
7968
7970
|
|
|
7969
7971
|
export type HelixHeadlessDateInputSolidJsProps = {
|
|
7970
|
-
/** What the browser may autofill here, as one of the platform's own tokens, such as `bday`. */
|
|
7972
|
+
/** What the browser may autofill here, as one of the platform's own tokens, such as `bday`. `off` by default: the text a date is typed into is a text field to the browser, and its form history offered unrelated words a reader had typed elsewhere. */
|
|
7971
7973
|
"prop:autocomplete"?: HelixHeadlessDateInput["autocomplete"] | undefined;
|
|
7972
7974
|
/** The calendar the written date, the segments, and the calendar's days are in: `gregory`, `buddhist`, `japanese`, `roc`, or `iso8601`, or a calendar with months of its own that Date Picker's `calendar` names, such as `persian`, `hebrew`, `islamic-umalqura`, `ethiopic`, or `chinese`. */
|
|
7973
7975
|
"prop:calendar"?: HelixHeadlessDateInput["calendar"] | undefined;
|
|
@@ -10523,6 +10525,10 @@ export type HelixHeadlessFilterInputHelixListenElementEvent = HelixHeadlessFilte
|
|
|
10523
10525
|
export type HelixHeadlessFilterInputToggleElementEvent = HelixHeadlessFilterInputElementEvent<ToggleEvent>;
|
|
10524
10526
|
|
|
10525
10527
|
export type HelixHeadlessFilterInputProps = {
|
|
10528
|
+
/** What the browser may autofill in the field, as an HTML `autocomplete`
|
|
10529
|
+
token. `off` by default, since a filter offers its own suggestions and the
|
|
10530
|
+
browser's form history would open a second list over them. */
|
|
10531
|
+
"autocomplete"?: HelixHeadlessFilterInput["autocomplete"] | undefined;
|
|
10526
10532
|
/** Whether the field keeps a `FilterChip` for each filter in its `tags` slot,
|
|
10527
10533
|
from the `helix-facet` events it hears.
|
|
10528
10534
|
|
|
@@ -10779,6 +10785,8 @@ write a function in markup. See the class description. */
|
|
|
10779
10785
|
};
|
|
10780
10786
|
|
|
10781
10787
|
export type HelixHeadlessFilterInputSolidJsProps = {
|
|
10788
|
+
/** What the browser may autofill in the field, as an HTML `autocomplete` token. `off` by default, since a filter offers its own suggestions and the browser's form history would open a second list over them. */
|
|
10789
|
+
"prop:autocomplete"?: HelixHeadlessFilterInput["autocomplete"] | undefined;
|
|
10782
10790
|
/** Whether the field keeps a `FilterChip` for each filter in its `tags` slot, from the `helix-facet` events it hears. */
|
|
10783
10791
|
"prop:chips"?: HelixHeadlessFilterInput["chips"] | undefined;
|
|
10784
10792
|
/** Shows a button that empties the field. */
|
|
@@ -17454,12 +17462,13 @@ export type HelixHeadlessNumberInputElementEvent<E = Event> = TypedEvent<HelixHe
|
|
|
17454
17462
|
export type HelixHeadlessNumberInputHelixBeforeChangeElementEvent = HelixHeadlessNumberInputElementEvent<HelixBeforeChangeEvent>;
|
|
17455
17463
|
|
|
17456
17464
|
export type HelixHeadlessNumberInputProps = {
|
|
17457
|
-
/** What the browser may autofill, as an HTML `autocomplete` token
|
|
17465
|
+
/** What the browser may autofill, as an HTML `autocomplete` token, such as
|
|
17466
|
+
`postal-code`. `off` by default, since a number field's form history is
|
|
17467
|
+
every number ever typed into a field of the same name.
|
|
17458
17468
|
|
|
17459
|
-
|
|
17460
|
-
|
|
17461
|
-
|
|
17462
|
-
consumer to ask for it. */
|
|
17469
|
+
**A default, never a fixed value.** Set a token and the browser fills it,
|
|
17470
|
+
so a postal code or a card's expiry month can still be filled in for a
|
|
17471
|
+
reader. Set it empty to leave the attribute off. */
|
|
17463
17472
|
"autocomplete"?: HelixHeadlessNumberInput["autocomplete"] | undefined;
|
|
17464
17473
|
/** The message the browser shows when the field holds something that is not a
|
|
17465
17474
|
number.
|
|
@@ -17677,7 +17686,7 @@ form would submit it. */
|
|
|
17677
17686
|
};
|
|
17678
17687
|
|
|
17679
17688
|
export type HelixHeadlessNumberInputSolidJsProps = {
|
|
17680
|
-
/** What the browser may autofill, as an HTML `autocomplete` token. */
|
|
17689
|
+
/** What the browser may autofill, as an HTML `autocomplete` token, such as `postal-code`. `off` by default, since a number field's form history is every number ever typed into a field of the same name. */
|
|
17681
17690
|
"prop:autocomplete"?: HelixHeadlessNumberInput["autocomplete"] | undefined;
|
|
17682
17691
|
/** The message the browser shows when the field holds something that is not a number. */
|
|
17683
17692
|
"attr:bad-input-message"?: HelixHeadlessNumberInput["badInputMessage"] | undefined;
|
|
@@ -23544,6 +23553,25 @@ it. */
|
|
|
23544
23553
|
"menu-label"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
|
|
23545
23554
|
/** The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one. */
|
|
23546
23555
|
"menuLabel"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
|
|
23556
|
+
/** The narrowest a `DataTable` can be with this column showing, as a length
|
|
23557
|
+
in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it
|
|
23558
|
+
leaves the column out: its heading, its track and its cells.
|
|
23559
|
+
|
|
23560
|
+
Give the columns a reader can do without the widest minimums, so they go
|
|
23561
|
+
first as the table narrows. The columns that stay keep their widths and
|
|
23562
|
+
their edges, and every row keeps its cells under their headings, as with
|
|
23563
|
+
`hidden`. A column left out is not in the grid at all, so `aria-colcount`
|
|
23564
|
+
counts the columns that show and a screen reader moves among those alone.
|
|
23565
|
+
Widen the table and the column comes back in its place.
|
|
23566
|
+
|
|
23567
|
+
The table measures its own box, so a server draws every column and the
|
|
23568
|
+
page leaves out what does not fit once it runs. A percentage or a
|
|
23569
|
+
viewport unit is no width of the table, and leaves the column in. One
|
|
23570
|
+
column always shows. Left unset, the column shows at any width. A `Table`
|
|
23571
|
+
ignores it, since its cells are markup you wrote. */
|
|
23572
|
+
"min-table-width"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
|
|
23573
|
+
/** The narrowest a `DataTable` can be with this column showing, as a length in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it leaves the column out: its heading, its track and its cells. */
|
|
23574
|
+
"minTableWidth"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
|
|
23547
23575
|
/** The accessible name of the grip that moves the column. `{name}` is the
|
|
23548
23576
|
heading text, and `{named}` is `no` for a column without one, so the
|
|
23549
23577
|
sentence for it can name the column another way.
|
|
@@ -23686,6 +23714,10 @@ export type HelixHeadlessTableColumnSolidJsProps = {
|
|
|
23686
23714
|
"attr:menu-label"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
|
|
23687
23715
|
/** The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one. */
|
|
23688
23716
|
"prop:menuLabel"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
|
|
23717
|
+
/** The narrowest a `DataTable` can be with this column showing, as a length in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it leaves the column out: its heading, its track and its cells. */
|
|
23718
|
+
"attr:min-table-width"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
|
|
23719
|
+
/** The narrowest a `DataTable` can be with this column showing, as a length in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it leaves the column out: its heading, its track and its cells. */
|
|
23720
|
+
"prop:minTableWidth"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
|
|
23689
23721
|
/** The accessible name of the grip that moves the column. `{name}` is the heading text, and `{named}` is `no` for a column without one, so the sentence for it can name the column another way. */
|
|
23690
23722
|
"attr:move-label"?: HelixHeadlessTableColumn["moveLabel"] | undefined;
|
|
23691
23723
|
/** The accessible name of the grip that moves the column. `{name}` is the heading text, and `{named}` is `no` for a column without one, so the sentence for it can name the column another way. */
|
|
@@ -25215,9 +25247,11 @@ export type HelixHeadlessTimeInputToggleElementEvent = HelixHeadlessTimeInputEle
|
|
|
25215
25247
|
|
|
25216
25248
|
export type HelixHeadlessTimeInputProps = {
|
|
25217
25249
|
/** What the browser may autofill here, as one of the platform's own tokens.
|
|
25250
|
+
`off` by default, since a time field's form history is unrelated text a
|
|
25251
|
+
reader typed elsewhere.
|
|
25218
25252
|
|
|
25219
|
-
|
|
25220
|
-
|
|
25253
|
+
A default, never a fixed value: set a token and the browser fills it, or
|
|
25254
|
+
set it empty to leave the attribute off. */
|
|
25221
25255
|
"autocomplete"?: HelixHeadlessTimeInput["autocomplete"] | undefined;
|
|
25222
25256
|
/** Whether the field shows a button that empties it, as Input's `clearable`
|
|
25223
25257
|
does. Shown only while the field holds something to clear and is neither
|
|
@@ -25547,7 +25581,7 @@ a consumer handing over `new Date()` gets the time of day they expected. */
|
|
|
25547
25581
|
};
|
|
25548
25582
|
|
|
25549
25583
|
export type HelixHeadlessTimeInputSolidJsProps = {
|
|
25550
|
-
/** What the browser may autofill here, as one of the platform's own tokens. */
|
|
25584
|
+
/** What the browser may autofill here, as one of the platform's own tokens. `off` by default, since a time field's form history is unrelated text a reader typed elsewhere. */
|
|
25551
25585
|
"prop:autocomplete"?: HelixHeadlessTimeInput["autocomplete"] | undefined;
|
|
25552
25586
|
/** Whether the field shows a button that empties it, as Input's `clearable` does. Shown only while the field holds something to clear and is neither disabled nor read-only. */
|
|
25553
25587
|
"prop:clearable"?: HelixHeadlessTimeInput["clearable"] | undefined;
|
|
@@ -32836,6 +32870,14 @@ interface Tags {
|
|
|
32836
32870
|
* In the grid, Alt+Down on a heading opens its menu, and F2 and Tab reach the
|
|
32837
32871
|
* button.
|
|
32838
32872
|
*
|
|
32873
|
+
* **`min-table-width` on a column drops it from a narrow table.** While the
|
|
32874
|
+
* table is narrower than that length, it leaves out the column's heading,
|
|
32875
|
+
* track and cells, and brings them back when it widens. The other columns
|
|
32876
|
+
* keep their widths and edges, `aria-colcount` counts the columns that show,
|
|
32877
|
+
* and the column keeps its place in `order` and in the sort. One column
|
|
32878
|
+
* always shows. `csv()` still writes every column that is not `hidden`, since
|
|
32879
|
+
* a file has no width.
|
|
32880
|
+
*
|
|
32839
32881
|
* **`reorderable-rows` lets people move rows.** A column of grips leads each
|
|
32840
32882
|
* row, named by `move-row-label`. Drag a grip to move its row, and the table
|
|
32841
32883
|
* scrolls near an edge. Or press Space or Enter on a grip, or click it, to pick
|
|
@@ -33125,7 +33167,7 @@ interface Tags {
|
|
|
33125
33167
|
*
|
|
33126
33168
|
* ## Attributes & Properties
|
|
33127
33169
|
*
|
|
33128
|
-
* - `autocomplete`: What the browser may autofill here, as one of the platform's own tokens, such as `bday`.
|
|
33170
|
+
* - `autocomplete`: What the browser may autofill here, as one of the platform's own tokens, such as `bday`. `off` by default: the text a date is typed into is a text field to the browser, and its form history offered unrelated words a reader had typed elsewhere.
|
|
33129
33171
|
* - `calendar`: The calendar the written date, the segments, and the calendar's days are in: `gregory`, `buddhist`, `japanese`, `roc`, or `iso8601`, or a calendar with months of its own that Date Picker's `calendar` names, such as `persian`, `hebrew`, `islamic-umalqura`, `ethiopic`, or `chinese`.
|
|
33130
33172
|
* - `calendar-label`/`calendarLabel`: The name of the calendar's grid of days, read by screen readers.
|
|
33131
33173
|
* - `clearable`: Whether the field shows a button that empties it, as Input's `clearable` does. Shown only while the field holds something to clear and is neither disabled nor read-only.
|
|
@@ -35222,6 +35264,7 @@ interface Tags {
|
|
|
35222
35264
|
*
|
|
35223
35265
|
* ## Attributes & Properties
|
|
35224
35266
|
*
|
|
35267
|
+
* - `autocomplete`: What the browser may autofill in the field, as an HTML `autocomplete` token. `off` by default, since a filter offers its own suggestions and the browser's form history would open a second list over them.
|
|
35225
35268
|
* - `chips`: Whether the field keeps a `FilterChip` for each filter in its `tags` slot, from the `helix-facet` events it hears.
|
|
35226
35269
|
* - `clearable`: Shows a button that empties the field.
|
|
35227
35270
|
* - `clear-label`/`clearLabel`: The name of the clear button, read by screen readers. The button shows only an icon.
|
|
@@ -39352,7 +39395,7 @@ interface Tags {
|
|
|
39352
39395
|
*
|
|
39353
39396
|
* ## Attributes & Properties
|
|
39354
39397
|
*
|
|
39355
|
-
* - `autocomplete`: What the browser may autofill, as an HTML `autocomplete` token.
|
|
39398
|
+
* - `autocomplete`: What the browser may autofill, as an HTML `autocomplete` token, such as `postal-code`. `off` by default, since a number field's form history is every number ever typed into a field of the same name.
|
|
39356
39399
|
* - `bad-input-message`/`badInputMessage`: The message the browser shows when the field holds something that is not a number.
|
|
39357
39400
|
* - `decrement-label`/`decrementLabel`: The name of the step down button, read by screen readers. The field's label follows it, so a reader hears "Decrease Quantity", as React Aria names its steppers.
|
|
39358
39401
|
* - `format-options`/`formatOptions`: `Intl.NumberFormat` options the number is shown with while the field is not being edited: a currency, a percent, a unit, or a number of decimals. Written as JSON in the attribute.
|
|
@@ -43258,6 +43301,7 @@ interface Tags {
|
|
|
43258
43301
|
* - `field`: The key this column reads out of a row.
|
|
43259
43302
|
* - `menu`: Draws a button in the heading that opens a menu of what you can do with the column, in a `DataTable`.
|
|
43260
43303
|
* - `menu-label`/`menuLabel`: The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one.
|
|
43304
|
+
* - `min-table-width`/`minTableWidth`: The narrowest a `DataTable` can be with this column showing, as a length in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it leaves the column out: its heading, its track and its cells.
|
|
43261
43305
|
* - `move-label`/`moveLabel`: The accessible name of the grip that moves the column. `{name}` is the heading text, and `{named}` is `no` for a column without one, so the sentence for it can name the column another way.
|
|
43262
43306
|
* - `resizable`: Whether the column can be resized.
|
|
43263
43307
|
* - `resize-label`/`resizeLabel`: The accessible name of the separator that resizes the column. `{name}` is the heading text, and `{named}` is `no` for a column without one.
|
|
@@ -44417,7 +44461,7 @@ interface Tags {
|
|
|
44417
44461
|
*
|
|
44418
44462
|
* ## Attributes & Properties
|
|
44419
44463
|
*
|
|
44420
|
-
* - `autocomplete`: What the browser may autofill here, as one of the platform's own tokens.
|
|
44464
|
+
* - `autocomplete`: What the browser may autofill here, as one of the platform's own tokens. `off` by default, since a time field's form history is unrelated text a reader typed elsewhere.
|
|
44421
44465
|
* - `clearable`: Whether the field shows a button that empties it, as Input's `clearable` does. Shown only while the field holds something to clear and is neither disabled nor read-only.
|
|
44422
44466
|
* - `clear-label`/`clearLabel`: The accessible name of the clear button, which shows only an icon.
|
|
44423
44467
|
* - `disable-times`/`disableTimes`: Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
@@ -45736,6 +45780,17 @@ interface Tags {
|
|
|
45736
45780
|
* sends `helix-load`, the row says it is busy, and the children you add appear
|
|
45737
45781
|
* in it. Remove `lazy` once they are in.
|
|
45738
45782
|
*
|
|
45783
|
+
* **The `actions` slot holds the row's own controls**, such as a button that
|
|
45784
|
+
* opens a menu of what you can do with the item. A press, a key or a
|
|
45785
|
+
* right-click there stays with the control: it does not choose, open, follow
|
|
45786
|
+
* or move the row. The actions show while the pointer is over the row, while
|
|
45787
|
+
* the row has focus, and while focus is inside them. Tab moves from the focused
|
|
45788
|
+
* row into its actions and Shift+Tab back. Every other row's actions are
|
|
45789
|
+
* `inert`, so Tab leaves the tree after the focused row's. A row with actions
|
|
45790
|
+
* is named by its label alone, so the controls are not read as part of its
|
|
45791
|
+
* name. On a touch screen the first tap on a row chooses and focuses it, which
|
|
45792
|
+
* shows its actions.
|
|
45793
|
+
*
|
|
45739
45794
|
* **In a `reorderable` tree, the row has a grip** at its far end, which a
|
|
45740
45795
|
* pointer drags to move the item among its siblings. The tree says which item
|
|
45741
45796
|
* is moving and where the drop indicator is, with the `dragging`,
|
|
@@ -45765,6 +45820,7 @@ interface Tags {
|
|
|
45765
45820
|
* ## Slots
|
|
45766
45821
|
*
|
|
45767
45822
|
* - `(default)`: The item's label. A nested item does not go here: give it `slot="children"`. In a development build, an item nested here is reported.
|
|
45823
|
+
* - `actions`: Controls for the row, after `end`, such as a button that opens a menu. Shown while the row is hovered or focused.
|
|
45768
45824
|
* - `chevron`: Replaces the expand and collapse mark of a branch, such as with your own icon.
|
|
45769
45825
|
* - `children`: Nested items, which make this a branch.
|
|
45770
45826
|
* - `end`: Content after the label, at the far side of the row, such as a count or a state.
|
|
@@ -45784,6 +45840,7 @@ interface Tags {
|
|
|
45784
45840
|
*
|
|
45785
45841
|
* ## CSS Parts
|
|
45786
45842
|
*
|
|
45843
|
+
* - `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.
|
|
45787
45844
|
* - `checkbox`: The check mark's box, in a tree with `selection-mode="multiple"`.
|
|
45788
45845
|
* - `checkbox-checked`: The check mark's box while the item is checked.
|
|
45789
45846
|
* - `checkbox-mixed`: The check mark's box while some of a branch's items are checked.
|
|
@@ -45797,6 +45854,7 @@ interface Tags {
|
|
|
45797
45854
|
*
|
|
45798
45855
|
* ## CSS States
|
|
45799
45856
|
*
|
|
45857
|
+
* - `actions-shown`: While the row's actions are shown: the row is hovered or focused, or focus is inside the actions.
|
|
45800
45858
|
* - `checked`: While it is checked, in a tree with `selection-mode="multiple"`.
|
|
45801
45859
|
* - `dragging`: The item is being moved, in a `reorderable` tree.
|
|
45802
45860
|
* - `drop-after`: The item being moved goes after this one when it is dropped.
|
|
@@ -45843,6 +45901,10 @@ interface Tags {
|
|
|
45843
45901
|
* and Control+Shift+Home or End checks every item from the focused one to the
|
|
45844
45902
|
* first or the last, then moves there, as the tree pattern's range keys do.
|
|
45845
45903
|
*
|
|
45904
|
+
* Tab moves from the focused item into its `actions`, and out of the tree
|
|
45905
|
+
* after them. A key pressed there is the control's, so the arrows, Enter,
|
|
45906
|
+
* Space and typed letters move and choose nothing in the tree.
|
|
45907
|
+
*
|
|
45846
45908
|
* A tree with no name of its own is announced as "Tree", which says nothing
|
|
45847
45909
|
* about what it holds, so a development build warns once with the kind
|
|
45848
45910
|
* `missing-name` where neither `label` nor an `aria-label` names it.
|
package/types/vue.d.ts
CHANGED
|
@@ -5013,12 +5013,14 @@ export type HelixHeadlessDateInputToggleElementEvent = HelixHeadlessDateInputEle
|
|
|
5013
5013
|
|
|
5014
5014
|
export type HelixHeadlessDateInputVueProps = {
|
|
5015
5015
|
/** What the browser may autofill here, as one of the platform's own tokens,
|
|
5016
|
-
such as `bday`.
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5016
|
+
such as `bday`. `off` by default: the text a date is typed into is a text
|
|
5017
|
+
field to the browser, and its form history offered unrelated words a
|
|
5018
|
+
reader had typed elsewhere.
|
|
5019
|
+
|
|
5020
|
+
**A default, never a fixed value.** Set a token such as `bday` and the
|
|
5021
|
+
browser fills it, so a birthday can still be filled in for a reader. With
|
|
5022
|
+
`segmented`, a hidden native date input carries the token, since no
|
|
5023
|
+
browser fills the segments. Set it empty to leave the attribute off. */
|
|
5022
5024
|
"autocomplete"?: HelixHeadlessDateInput["autocomplete"] | undefined;
|
|
5023
5025
|
/** The calendar the written date, the segments, and the calendar's days are
|
|
5024
5026
|
in: `gregory`, `buddhist`, `japanese`, `roc`, or `iso8601`, or a calendar
|
|
@@ -7001,6 +7003,10 @@ export type HelixHeadlessFilterInputHelixListenElementEvent = HelixHeadlessFilte
|
|
|
7001
7003
|
export type HelixHeadlessFilterInputToggleElementEvent = HelixHeadlessFilterInputElementEvent<ToggleEvent>;
|
|
7002
7004
|
|
|
7003
7005
|
export type HelixHeadlessFilterInputVueProps = {
|
|
7006
|
+
/** What the browser may autofill in the field, as an HTML `autocomplete`
|
|
7007
|
+
token. `off` by default, since a filter offers its own suggestions and the
|
|
7008
|
+
browser's form history would open a second list over them. */
|
|
7009
|
+
"autocomplete"?: HelixHeadlessFilterInput["autocomplete"] | undefined;
|
|
7004
7010
|
/** Whether the field keeps a `FilterChip` for each filter in its `tags` slot,
|
|
7005
7011
|
from the `helix-facet` events it hears.
|
|
7006
7012
|
|
|
@@ -11595,12 +11601,13 @@ export type HelixHeadlessNumberInputElementEvent<E = Event> = TypedEvent<HelixHe
|
|
|
11595
11601
|
export type HelixHeadlessNumberInputHelixBeforeChangeElementEvent = HelixHeadlessNumberInputElementEvent<HelixBeforeChangeEvent>;
|
|
11596
11602
|
|
|
11597
11603
|
export type HelixHeadlessNumberInputVueProps = {
|
|
11598
|
-
/** What the browser may autofill, as an HTML `autocomplete` token
|
|
11604
|
+
/** What the browser may autofill, as an HTML `autocomplete` token, such as
|
|
11605
|
+
`postal-code`. `off` by default, since a number field's form history is
|
|
11606
|
+
every number ever typed into a field of the same name.
|
|
11599
11607
|
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
consumer to ask for it. */
|
|
11608
|
+
**A default, never a fixed value.** Set a token and the browser fills it,
|
|
11609
|
+
so a postal code or a card's expiry month can still be filled in for a
|
|
11610
|
+
reader. Set it empty to leave the attribute off. */
|
|
11604
11611
|
"autocomplete"?: HelixHeadlessNumberInput["autocomplete"] | undefined;
|
|
11605
11612
|
/** The message the browser shows when the field holds something that is not a
|
|
11606
11613
|
number.
|
|
@@ -15862,6 +15869,25 @@ it. */
|
|
|
15862
15869
|
"menu-label"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
|
|
15863
15870
|
/** The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one. */
|
|
15864
15871
|
"menuLabel"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
|
|
15872
|
+
/** The narrowest a `DataTable` can be with this column showing, as a length
|
|
15873
|
+
in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it
|
|
15874
|
+
leaves the column out: its heading, its track and its cells.
|
|
15875
|
+
|
|
15876
|
+
Give the columns a reader can do without the widest minimums, so they go
|
|
15877
|
+
first as the table narrows. The columns that stay keep their widths and
|
|
15878
|
+
their edges, and every row keeps its cells under their headings, as with
|
|
15879
|
+
`hidden`. A column left out is not in the grid at all, so `aria-colcount`
|
|
15880
|
+
counts the columns that show and a screen reader moves among those alone.
|
|
15881
|
+
Widen the table and the column comes back in its place.
|
|
15882
|
+
|
|
15883
|
+
The table measures its own box, so a server draws every column and the
|
|
15884
|
+
page leaves out what does not fit once it runs. A percentage or a
|
|
15885
|
+
viewport unit is no width of the table, and leaves the column in. One
|
|
15886
|
+
column always shows. Left unset, the column shows at any width. A `Table`
|
|
15887
|
+
ignores it, since its cells are markup you wrote. */
|
|
15888
|
+
"min-table-width"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
|
|
15889
|
+
/** The narrowest a `DataTable` can be with this column showing, as a length in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it leaves the column out: its heading, its track and its cells. */
|
|
15890
|
+
"minTableWidth"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
|
|
15865
15891
|
/** The accessible name of the grip that moves the column. `{name}` is the
|
|
15866
15892
|
heading text, and `{named}` is `no` for a column without one, so the
|
|
15867
15893
|
sentence for it can name the column another way.
|
|
@@ -16945,9 +16971,11 @@ export type HelixHeadlessTimeInputToggleElementEvent = HelixHeadlessTimeInputEle
|
|
|
16945
16971
|
|
|
16946
16972
|
export type HelixHeadlessTimeInputVueProps = {
|
|
16947
16973
|
/** What the browser may autofill here, as one of the platform's own tokens.
|
|
16974
|
+
`off` by default, since a time field's form history is unrelated text a
|
|
16975
|
+
reader typed elsewhere.
|
|
16948
16976
|
|
|
16949
|
-
|
|
16950
|
-
|
|
16977
|
+
A default, never a fixed value: set a token and the browser fills it, or
|
|
16978
|
+
set it empty to leave the attribute off. */
|
|
16951
16979
|
"autocomplete"?: HelixHeadlessTimeInput["autocomplete"] | undefined;
|
|
16952
16980
|
/** Whether the field shows a button that empties it, as Input's `clearable`
|
|
16953
16981
|
does. Shown only while the field holds something to clear and is neither
|
|
@@ -21410,6 +21438,14 @@ export interface HelixVueGlobalComponents {
|
|
|
21410
21438
|
* In the grid, Alt+Down on a heading opens its menu, and F2 and Tab reach the
|
|
21411
21439
|
* button.
|
|
21412
21440
|
*
|
|
21441
|
+
* **`min-table-width` on a column drops it from a narrow table.** While the
|
|
21442
|
+
* table is narrower than that length, it leaves out the column's heading,
|
|
21443
|
+
* track and cells, and brings them back when it widens. The other columns
|
|
21444
|
+
* keep their widths and edges, `aria-colcount` counts the columns that show,
|
|
21445
|
+
* and the column keeps its place in `order` and in the sort. One column
|
|
21446
|
+
* always shows. `csv()` still writes every column that is not `hidden`, since
|
|
21447
|
+
* a file has no width.
|
|
21448
|
+
*
|
|
21413
21449
|
* **`reorderable-rows` lets people move rows.** A column of grips leads each
|
|
21414
21450
|
* row, named by `move-row-label`. Drag a grip to move its row, and the table
|
|
21415
21451
|
* scrolls near an edge. Or press Space or Enter on a grip, or click it, to pick
|
|
@@ -26549,6 +26585,17 @@ export interface HelixVueGlobalComponents {
|
|
|
26549
26585
|
* sends `helix-load`, the row says it is busy, and the children you add appear
|
|
26550
26586
|
* in it. Remove `lazy` once they are in.
|
|
26551
26587
|
*
|
|
26588
|
+
* **The `actions` slot holds the row's own controls**, such as a button that
|
|
26589
|
+
* opens a menu of what you can do with the item. A press, a key or a
|
|
26590
|
+
* right-click there stays with the control: it does not choose, open, follow
|
|
26591
|
+
* or move the row. The actions show while the pointer is over the row, while
|
|
26592
|
+
* the row has focus, and while focus is inside them. Tab moves from the focused
|
|
26593
|
+
* row into its actions and Shift+Tab back. Every other row's actions are
|
|
26594
|
+
* `inert`, so Tab leaves the tree after the focused row's. A row with actions
|
|
26595
|
+
* is named by its label alone, so the controls are not read as part of its
|
|
26596
|
+
* name. On a touch screen the first tap on a row chooses and focuses it, which
|
|
26597
|
+
* shows its actions.
|
|
26598
|
+
*
|
|
26552
26599
|
* **In a `reorderable` tree, the row has a grip** at its far end, which a
|
|
26553
26600
|
* pointer drags to move the item among its siblings. The tree says which item
|
|
26554
26601
|
* is moving and where the drop indicator is, with the `dragging`,
|
|
@@ -26590,6 +26637,10 @@ export interface HelixVueGlobalComponents {
|
|
|
26590
26637
|
* and Control+Shift+Home or End checks every item from the focused one to the
|
|
26591
26638
|
* first or the last, then moves there, as the tree pattern's range keys do.
|
|
26592
26639
|
*
|
|
26640
|
+
* Tab moves from the focused item into its `actions`, and out of the tree
|
|
26641
|
+
* after them. A key pressed there is the control's, so the arrows, Enter,
|
|
26642
|
+
* Space and typed letters move and choose nothing in the tree.
|
|
26643
|
+
*
|
|
26593
26644
|
* A tree with no name of its own is announced as "Tree", which says nothing
|
|
26594
26645
|
* about what it holds, so a development build warns once with the kind
|
|
26595
26646
|
* `missing-name` where neither `label` nor an `aria-label` names it.
|