@fusion.dev/helix-headless 0.233.0 → 0.235.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.233.0",
4
+ "version": "0.235.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.233.0",
62
- "@fusion.dev/helix-icons": "0.233.0",
61
+ "@fusion.dev/helix-core": "0.235.0",
62
+ "@fusion.dev/helix-icons": "0.235.0",
63
63
  "tslib": "^2.8.1",
64
64
  "uqr": "^0.1.3"
65
65
  },
66
66
  "devDependencies": {
67
- "@fusion.dev/helix-cem": "0.233.0",
68
- "@fusion.dev/helix-testing": "0.233.0",
67
+ "@fusion.dev/helix-cem": "0.235.0",
68
+ "@fusion.dev/helix-testing": "0.235.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
- Empty leaves the attribute off, which is the browser's default and is what
7547
- lets autofill work at all: hardcoding `off` here means a birthday or a
7548
- postal code can never be filled in for a reader. With `segmented`, a
7549
- hidden native date input carries it, since no browser fills the segments. */
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. */
@@ -14241,7 +14249,10 @@ The columns are the stylesheet's: the styled tier draws them at
14241
14249
  `--listbox-column-min-inline-size` or wider, and a headless list lays out
14242
14250
  `::part(items)` as it likes, since the keys read where each option is
14243
14251
  drawn. A list of `items` stays a stack. Left out, the list is a stack,
14244
- and the host carries no attribute for it. */
14252
+ and the host carries no attribute for it.
14253
+
14254
+ An option with an image in its `media` slot is drawn as a tile, the image
14255
+ above the label, for a picker of photos or products. */
14245
14256
  "layout"?: HelixHeadlessListbox["layout"] | undefined;
14246
14257
  /** The old name of `error-text`, read only where a page sets it. */
14247
14258
  "load-error"?: HelixHeadlessListbox["loadError"] | undefined;
@@ -17454,12 +17465,13 @@ export type HelixHeadlessNumberInputElementEvent<E = Event> = TypedEvent<HelixHe
17454
17465
  export type HelixHeadlessNumberInputHelixBeforeChangeElementEvent = HelixHeadlessNumberInputElementEvent<HelixBeforeChangeEvent>;
17455
17466
 
17456
17467
  export type HelixHeadlessNumberInputProps = {
17457
- /** What the browser may autofill, as an HTML `autocomplete` token.
17468
+ /** What the browser may autofill, as an HTML `autocomplete` token, such as
17469
+ `postal-code`. `off` by default, since a number field's form history is
17470
+ every number ever typed into a field of the same name.
17458
17471
 
17459
- Empty leaves the attribute off, which is the browser's default and is what
17460
- lets autofill work at all. Hardcoding `off` here is what stops a reader
17461
- having a birthday or a postal code filled in for them, with no way for a
17462
- consumer to ask for it. */
17472
+ **A default, never a fixed value.** Set a token and the browser fills it,
17473
+ so a postal code or a card's expiry month can still be filled in for a
17474
+ reader. Set it empty to leave the attribute off. */
17463
17475
  "autocomplete"?: HelixHeadlessNumberInput["autocomplete"] | undefined;
17464
17476
  /** The message the browser shows when the field holds something that is not a
17465
17477
  number.
@@ -17677,7 +17689,7 @@ form would submit it. */
17677
17689
  };
17678
17690
 
17679
17691
  export type HelixHeadlessNumberInputSolidJsProps = {
17680
- /** What the browser may autofill, as an HTML `autocomplete` token. */
17692
+ /** 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
17693
  "prop:autocomplete"?: HelixHeadlessNumberInput["autocomplete"] | undefined;
17682
17694
  /** The message the browser shows when the field holds something that is not a number. */
17683
17695
  "attr:bad-input-message"?: HelixHeadlessNumberInput["badInputMessage"] | undefined;
@@ -23544,6 +23556,25 @@ it. */
23544
23556
  "menu-label"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
23545
23557
  /** The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one. */
23546
23558
  "menuLabel"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
23559
+ /** The narrowest a `DataTable` can be with this column showing, as a length
23560
+ in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it
23561
+ leaves the column out: its heading, its track and its cells.
23562
+
23563
+ Give the columns a reader can do without the widest minimums, so they go
23564
+ first as the table narrows. The columns that stay keep their widths and
23565
+ their edges, and every row keeps its cells under their headings, as with
23566
+ `hidden`. A column left out is not in the grid at all, so `aria-colcount`
23567
+ counts the columns that show and a screen reader moves among those alone.
23568
+ Widen the table and the column comes back in its place.
23569
+
23570
+ The table measures its own box, so a server draws every column and the
23571
+ page leaves out what does not fit once it runs. A percentage or a
23572
+ viewport unit is no width of the table, and leaves the column in. One
23573
+ column always shows. Left unset, the column shows at any width. A `Table`
23574
+ ignores it, since its cells are markup you wrote. */
23575
+ "min-table-width"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
23576
+ /** 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. */
23577
+ "minTableWidth"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
23547
23578
  /** The accessible name of the grip that moves the column. `{name}` is the
23548
23579
  heading text, and `{named}` is `no` for a column without one, so the
23549
23580
  sentence for it can name the column another way.
@@ -23686,6 +23717,10 @@ export type HelixHeadlessTableColumnSolidJsProps = {
23686
23717
  "attr:menu-label"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
23687
23718
  /** The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one. */
23688
23719
  "prop:menuLabel"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
23720
+ /** 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. */
23721
+ "attr:min-table-width"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
23722
+ /** 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. */
23723
+ "prop:minTableWidth"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
23689
23724
  /** 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
23725
  "attr:move-label"?: HelixHeadlessTableColumn["moveLabel"] | undefined;
23691
23726
  /** 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 +25250,11 @@ export type HelixHeadlessTimeInputToggleElementEvent = HelixHeadlessTimeInputEle
25215
25250
 
25216
25251
  export type HelixHeadlessTimeInputProps = {
25217
25252
  /** What the browser may autofill here, as one of the platform's own tokens.
25253
+ `off` by default, since a time field's form history is unrelated text a
25254
+ reader typed elsewhere.
25218
25255
 
25219
- Empty leaves the attribute off, which is the browser's default and is what
25220
- lets autofill work at all. */
25256
+ A default, never a fixed value: set a token and the browser fills it, or
25257
+ set it empty to leave the attribute off. */
25221
25258
  "autocomplete"?: HelixHeadlessTimeInput["autocomplete"] | undefined;
25222
25259
  /** Whether the field shows a button that empties it, as Input's `clearable`
25223
25260
  does. Shown only while the field holds something to clear and is neither
@@ -25547,7 +25584,7 @@ a consumer handing over `new Date()` gets the time of day they expected. */
25547
25584
  };
25548
25585
 
25549
25586
  export type HelixHeadlessTimeInputSolidJsProps = {
25550
- /** What the browser may autofill here, as one of the platform's own tokens. */
25587
+ /** 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
25588
  "prop:autocomplete"?: HelixHeadlessTimeInput["autocomplete"] | undefined;
25552
25589
  /** 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
25590
  "prop:clearable"?: HelixHeadlessTimeInput["clearable"] | undefined;
@@ -32836,6 +32873,14 @@ interface Tags {
32836
32873
  * In the grid, Alt+Down on a heading opens its menu, and F2 and Tab reach the
32837
32874
  * button.
32838
32875
  *
32876
+ * **`min-table-width` on a column drops it from a narrow table.** While the
32877
+ * table is narrower than that length, it leaves out the column's heading,
32878
+ * track and cells, and brings them back when it widens. The other columns
32879
+ * keep their widths and edges, `aria-colcount` counts the columns that show,
32880
+ * and the column keeps its place in `order` and in the sort. One column
32881
+ * always shows. `csv()` still writes every column that is not `hidden`, since
32882
+ * a file has no width.
32883
+ *
32839
32884
  * **`reorderable-rows` lets people move rows.** A column of grips leads each
32840
32885
  * row, named by `move-row-label`. Drag a grip to move its row, and the table
32841
32886
  * scrolls near an edge. Or press Space or Enter on a grip, or click it, to pick
@@ -33125,7 +33170,7 @@ interface Tags {
33125
33170
  *
33126
33171
  * ## Attributes & Properties
33127
33172
  *
33128
- * - `autocomplete`: What the browser may autofill here, as one of the platform's own tokens, such as `bday`.
33173
+ * - `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
33174
  * - `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
33175
  * - `calendar-label`/`calendarLabel`: The name of the calendar's grid of days, read by screen readers.
33131
33176
  * - `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 +35267,7 @@ interface Tags {
35222
35267
  *
35223
35268
  * ## Attributes & Properties
35224
35269
  *
35270
+ * - `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
35271
  * - `chips`: Whether the field keeps a `FilterChip` for each filter in its `tags` slot, from the `helix-facet` events it hears.
35226
35272
  * - `clearable`: Shows a button that empties the field.
35227
35273
  * - `clear-label`/`clearLabel`: The name of the clear button, read by screen readers. The button shows only an icon.
@@ -38558,7 +38604,7 @@ interface Tags {
38558
38604
  * - `description`: A line under the label that describes the row. It describes the row to a screen reader and is not part of its name.
38559
38605
  * - `end`: Words after the label, such as a count or a detail, beside any `shortcut`. They describe the row and are not part of its name.
38560
38606
  * - `start`: Content before the label, such as an icon.
38561
- * - `submenu`: The rows of a submenu that this row opens.
38607
+ * - `submenu`: The rows of a submenu that this row opens, each a menu item placed directly in the slot.
38562
38608
  *
38563
38609
  * ## Methods
38564
38610
  *
@@ -38626,6 +38672,14 @@ interface Tags {
38626
38672
  * its heading. Between runs of rows, a `<helix-divider>` is a separator a
38627
38673
  * screen reader announces.
38628
38674
  *
38675
+ * **A row goes directly in the menu, in a `Menu.Section`, or in another row's
38676
+ * `submenu` slot.** The menu reads rows in those places only. A row inside an
38677
+ * element of your own, such as a `<div>` or a component's host element, is
38678
+ * skipped by the arrow keys, and a drilled page hides that element with the
38679
+ * rest of the top page, so the row's submenu shows none of its rows. A
38680
+ * development build warns about it as `wrapped-row`. In a framework, render a
38681
+ * component's rows without a wrapper element, such as with a fragment.
38682
+ *
38629
38683
  * Keys: Enter, Space or Down Arrow on the trigger opens the menu on its first
38630
38684
  * row, and Up Arrow on its last. In the menu, Up and Down Arrow move between
38631
38685
  * rows, Home and End go to the first and the last, a typed letter moves to
@@ -39352,7 +39406,7 @@ interface Tags {
39352
39406
  *
39353
39407
  * ## Attributes & Properties
39354
39408
  *
39355
- * - `autocomplete`: What the browser may autofill, as an HTML `autocomplete` token.
39409
+ * - `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
39410
  * - `bad-input-message`/`badInputMessage`: The message the browser shows when the field holds something that is not a number.
39357
39411
  * - `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
39412
  * - `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.
@@ -39648,11 +39702,17 @@ interface Tags {
39648
39702
  * nothing, as an entry in a command palette that goes to a page does.
39649
39703
  *
39650
39704
  * The option's name is its label alone, as React Aria's `slot="label"` makes
39651
- * it: what is in `start` and `end`, an avatar's initials or a shortcut, is
39652
- * drawn and not read as part of the name. The description is read as the
39705
+ * it: what is in `start`, `end` and `media`, an avatar's initials, a shortcut
39706
+ * or a photo, is drawn and not read as part of the name. The description is read as the
39653
39707
  * option's description. A name you give with `aria-label` or
39654
39708
  * `aria-labelledby` wins over both.
39655
39709
  *
39710
+ * **An image goes in `media`, above the label**, for an option drawn as a
39711
+ * tile, such as a photo or a product in a listbox with `layout="grid"`. The
39712
+ * row is still the option: choosing, the arrow keys and the highlight work as
39713
+ * they do on a row with no image, and the label stays its name, so give the
39714
+ * image an empty `alt`.
39715
+ *
39656
39716
  * ## Attributes & Properties
39657
39717
  *
39658
39718
  * - `data-active`
@@ -39681,6 +39741,7 @@ interface Tags {
39681
39741
  * - `description`: A second line under the label, for content richer than the `description` text.
39682
39742
  * - `end`: Content after the label, such as a shortcut or a count.
39683
39743
  * - `indicator`: An icon shown while the option is chosen, in place of the check the styled option draws.
39744
+ * - `media`: An image above the label, for an option drawn as a tile.
39684
39745
  * - `start`: Content before the label, such as an icon or an avatar.
39685
39746
  *
39686
39747
  * ## Methods
@@ -39701,6 +39762,7 @@ interface Tags {
39701
39762
  * - `active`: While the keyboard is on the option, which is the option `aria-activedescendant` names.
39702
39763
  * - `disabled`: While the option cannot be chosen.
39703
39764
  * - `has-indicator`: An icon is slotted into `indicator`.
39765
+ * - `has-media`: Something is slotted into `media`.
39704
39766
  * - `hovered`: While a mouse or a pen is over the option. A touch sets no hover, as React Aria's `data-hovered` does not.
39705
39767
  * - `pressing`: While a pointer presses the option, from the press to the release.
39706
39768
  * - `selected`: While the option is chosen.
@@ -43258,6 +43320,7 @@ interface Tags {
43258
43320
  * - `field`: The key this column reads out of a row.
43259
43321
  * - `menu`: Draws a button in the heading that opens a menu of what you can do with the column, in a `DataTable`.
43260
43322
  * - `menu-label`/`menuLabel`: The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one.
43323
+ * - `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
43324
  * - `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
43325
  * - `resizable`: Whether the column can be resized.
43263
43326
  * - `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 +44480,7 @@ interface Tags {
44417
44480
  *
44418
44481
  * ## Attributes & Properties
44419
44482
  *
44420
- * - `autocomplete`: What the browser may autofill here, as one of the platform's own tokens.
44483
+ * - `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
44484
  * - `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
44485
  * - `clear-label`/`clearLabel`: The accessible name of the clear button, which shows only an icon.
44423
44486
  * - `disable-times`/`disableTimes`: Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
@@ -45736,6 +45799,17 @@ interface Tags {
45736
45799
  * sends `helix-load`, the row says it is busy, and the children you add appear
45737
45800
  * in it. Remove `lazy` once they are in.
45738
45801
  *
45802
+ * **The `actions` slot holds the row's own controls**, such as a button that
45803
+ * opens a menu of what you can do with the item. A press, a key or a
45804
+ * right-click there stays with the control: it does not choose, open, follow
45805
+ * or move the row. The actions show while the pointer is over the row, while
45806
+ * the row has focus, and while focus is inside them. Tab moves from the focused
45807
+ * row into its actions and Shift+Tab back. Every other row's actions are
45808
+ * `inert`, so Tab leaves the tree after the focused row's. A row with actions
45809
+ * is named by its label alone, so the controls are not read as part of its
45810
+ * name. On a touch screen the first tap on a row chooses and focuses it, which
45811
+ * shows its actions.
45812
+ *
45739
45813
  * **In a `reorderable` tree, the row has a grip** at its far end, which a
45740
45814
  * pointer drags to move the item among its siblings. The tree says which item
45741
45815
  * is moving and where the drop indicator is, with the `dragging`,
@@ -45765,6 +45839,7 @@ interface Tags {
45765
45839
  * ## Slots
45766
45840
  *
45767
45841
  * - `(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.
45842
+ * - `actions`: Controls for the row, after `end`, such as a button that opens a menu. Shown while the row is hovered or focused.
45768
45843
  * - `chevron`: Replaces the expand and collapse mark of a branch, such as with your own icon.
45769
45844
  * - `children`: Nested items, which make this a branch.
45770
45845
  * - `end`: Content after the label, at the far side of the row, such as a count or a state.
@@ -45784,6 +45859,7 @@ interface Tags {
45784
45859
  *
45785
45860
  * ## CSS Parts
45786
45861
  *
45862
+ * - `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
45863
  * - `checkbox`: The check mark's box, in a tree with `selection-mode="multiple"`.
45788
45864
  * - `checkbox-checked`: The check mark's box while the item is checked.
45789
45865
  * - `checkbox-mixed`: The check mark's box while some of a branch's items are checked.
@@ -45797,6 +45873,7 @@ interface Tags {
45797
45873
  *
45798
45874
  * ## CSS States
45799
45875
  *
45876
+ * - `actions-shown`: While the row's actions are shown: the row is hovered or focused, or focus is inside the actions.
45800
45877
  * - `checked`: While it is checked, in a tree with `selection-mode="multiple"`.
45801
45878
  * - `dragging`: The item is being moved, in a `reorderable` tree.
45802
45879
  * - `drop-after`: The item being moved goes after this one when it is dropped.
@@ -45843,6 +45920,10 @@ interface Tags {
45843
45920
  * and Control+Shift+Home or End checks every item from the focused one to the
45844
45921
  * first or the last, then moves there, as the tree pattern's range keys do.
45845
45922
  *
45923
+ * Tab moves from the focused item into its `actions`, and out of the tree
45924
+ * after them. A key pressed there is the control's, so the arrows, Enter,
45925
+ * Space and typed letters move and choose nothing in the tree.
45926
+ *
45846
45927
  * A tree with no name of its own is announced as "Tree", which says nothing
45847
45928
  * about what it holds, so a development build warns once with the kind
45848
45929
  * `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
- Empty leaves the attribute off, which is the browser's default and is what
5019
- lets autofill work at all: hardcoding `off` here means a birthday or a
5020
- postal code can never be filled in for a reader. With `segmented`, a
5021
- hidden native date input carries it, since no browser fills the segments. */
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
 
@@ -9528,7 +9534,10 @@ The columns are the stylesheet's: the styled tier draws them at
9528
9534
  `--listbox-column-min-inline-size` or wider, and a headless list lays out
9529
9535
  `::part(items)` as it likes, since the keys read where each option is
9530
9536
  drawn. A list of `items` stays a stack. Left out, the list is a stack,
9531
- and the host carries no attribute for it. */
9537
+ and the host carries no attribute for it.
9538
+
9539
+ An option with an image in its `media` slot is drawn as a tile, the image
9540
+ above the label, for a picker of photos or products. */
9532
9541
  "layout"?: HelixHeadlessListbox["layout"] | undefined;
9533
9542
  /** The old name of `error-text`, read only where a page sets it. */
9534
9543
  "load-error"?: HelixHeadlessListbox["loadError"] | undefined;
@@ -11595,12 +11604,13 @@ export type HelixHeadlessNumberInputElementEvent<E = Event> = TypedEvent<HelixHe
11595
11604
  export type HelixHeadlessNumberInputHelixBeforeChangeElementEvent = HelixHeadlessNumberInputElementEvent<HelixBeforeChangeEvent>;
11596
11605
 
11597
11606
  export type HelixHeadlessNumberInputVueProps = {
11598
- /** What the browser may autofill, as an HTML `autocomplete` token.
11607
+ /** What the browser may autofill, as an HTML `autocomplete` token, such as
11608
+ `postal-code`. `off` by default, since a number field's form history is
11609
+ every number ever typed into a field of the same name.
11599
11610
 
11600
- Empty leaves the attribute off, which is the browser's default and is what
11601
- lets autofill work at all. Hardcoding `off` here is what stops a reader
11602
- having a birthday or a postal code filled in for them, with no way for a
11603
- consumer to ask for it. */
11611
+ **A default, never a fixed value.** Set a token and the browser fills it,
11612
+ so a postal code or a card's expiry month can still be filled in for a
11613
+ reader. Set it empty to leave the attribute off. */
11604
11614
  "autocomplete"?: HelixHeadlessNumberInput["autocomplete"] | undefined;
11605
11615
  /** The message the browser shows when the field holds something that is not a
11606
11616
  number.
@@ -15862,6 +15872,25 @@ it. */
15862
15872
  "menu-label"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
15863
15873
  /** The accessible name of the menu button. `{name}` is the heading text, and `{named}` is `no` for a column without one. */
15864
15874
  "menuLabel"?: HelixHeadlessTableColumn["menuLabel"] | undefined;
15875
+ /** The narrowest a `DataTable` can be with this column showing, as a length
15876
+ in `px`, `rem` or `em`, such as `40rem`. While the table is narrower, it
15877
+ leaves the column out: its heading, its track and its cells.
15878
+
15879
+ Give the columns a reader can do without the widest minimums, so they go
15880
+ first as the table narrows. The columns that stay keep their widths and
15881
+ their edges, and every row keeps its cells under their headings, as with
15882
+ `hidden`. A column left out is not in the grid at all, so `aria-colcount`
15883
+ counts the columns that show and a screen reader moves among those alone.
15884
+ Widen the table and the column comes back in its place.
15885
+
15886
+ The table measures its own box, so a server draws every column and the
15887
+ page leaves out what does not fit once it runs. A percentage or a
15888
+ viewport unit is no width of the table, and leaves the column in. One
15889
+ column always shows. Left unset, the column shows at any width. A `Table`
15890
+ ignores it, since its cells are markup you wrote. */
15891
+ "min-table-width"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
15892
+ /** 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. */
15893
+ "minTableWidth"?: HelixHeadlessTableColumn["minTableWidth"] | undefined;
15865
15894
  /** The accessible name of the grip that moves the column. `{name}` is the
15866
15895
  heading text, and `{named}` is `no` for a column without one, so the
15867
15896
  sentence for it can name the column another way.
@@ -16945,9 +16974,11 @@ export type HelixHeadlessTimeInputToggleElementEvent = HelixHeadlessTimeInputEle
16945
16974
 
16946
16975
  export type HelixHeadlessTimeInputVueProps = {
16947
16976
  /** What the browser may autofill here, as one of the platform's own tokens.
16977
+ `off` by default, since a time field's form history is unrelated text a
16978
+ reader typed elsewhere.
16948
16979
 
16949
- Empty leaves the attribute off, which is the browser's default and is what
16950
- lets autofill work at all. */
16980
+ A default, never a fixed value: set a token and the browser fills it, or
16981
+ set it empty to leave the attribute off. */
16951
16982
  "autocomplete"?: HelixHeadlessTimeInput["autocomplete"] | undefined;
16952
16983
  /** Whether the field shows a button that empties it, as Input's `clearable`
16953
16984
  does. Shown only while the field holds something to clear and is neither
@@ -21410,6 +21441,14 @@ export interface HelixVueGlobalComponents {
21410
21441
  * In the grid, Alt+Down on a heading opens its menu, and F2 and Tab reach the
21411
21442
  * button.
21412
21443
  *
21444
+ * **`min-table-width` on a column drops it from a narrow table.** While the
21445
+ * table is narrower than that length, it leaves out the column's heading,
21446
+ * track and cells, and brings them back when it widens. The other columns
21447
+ * keep their widths and edges, `aria-colcount` counts the columns that show,
21448
+ * and the column keeps its place in `order` and in the sort. One column
21449
+ * always shows. `csv()` still writes every column that is not `hidden`, since
21450
+ * a file has no width.
21451
+ *
21413
21452
  * **`reorderable-rows` lets people move rows.** A column of grips leads each
21414
21453
  * row, named by `move-row-label`. Drag a grip to move its row, and the table
21415
21454
  * scrolls near an edge. Or press Space or Enter on a grip, or click it, to pick
@@ -23586,6 +23625,14 @@ export interface HelixVueGlobalComponents {
23586
23625
  * its heading. Between runs of rows, a `<helix-divider>` is a separator a
23587
23626
  * screen reader announces.
23588
23627
  *
23628
+ * **A row goes directly in the menu, in a `Menu.Section`, or in another row's
23629
+ * `submenu` slot.** The menu reads rows in those places only. A row inside an
23630
+ * element of your own, such as a `<div>` or a component's host element, is
23631
+ * skipped by the arrow keys, and a drilled page hides that element with the
23632
+ * rest of the top page, so the row's submenu shows none of its rows. A
23633
+ * development build warns about it as `wrapped-row`. In a framework, render a
23634
+ * component's rows without a wrapper element, such as with a fragment.
23635
+ *
23589
23636
  * Keys: Enter, Space or Down Arrow on the trigger opens the menu on its first
23590
23637
  * row, and Up Arrow on its last. In the menu, Up and Down Arrow move between
23591
23638
  * rows, Home and End go to the first and the last, a typed letter moves to
@@ -24020,10 +24067,16 @@ export interface HelixVueGlobalComponents {
24020
24067
  * nothing, as an entry in a command palette that goes to a page does.
24021
24068
  *
24022
24069
  * The option's name is its label alone, as React Aria's `slot="label"` makes
24023
- * it: what is in `start` and `end`, an avatar's initials or a shortcut, is
24024
- * drawn and not read as part of the name. The description is read as the
24070
+ * it: what is in `start`, `end` and `media`, an avatar's initials, a shortcut
24071
+ * or a photo, is drawn and not read as part of the name. The description is read as the
24025
24072
  * option's description. A name you give with `aria-label` or
24026
24073
  * `aria-labelledby` wins over both.
24074
+ *
24075
+ * **An image goes in `media`, above the label**, for an option drawn as a
24076
+ * tile, such as a photo or a product in a listbox with `layout="grid"`. The
24077
+ * row is still the option: choosing, the arrow keys and the highlight work as
24078
+ * they do on a row with no image, and the label stays its name, so give the
24079
+ * image an empty `alt`.
24027
24080
  */
24028
24081
  "helix-headless-option": DefineCustomElement<HelixHeadlessOption, HelixHeadlessOptionVueProps, HelixHeadlessOptionVueEvents>;
24029
24082
  /**
@@ -26549,6 +26602,17 @@ export interface HelixVueGlobalComponents {
26549
26602
  * sends `helix-load`, the row says it is busy, and the children you add appear
26550
26603
  * in it. Remove `lazy` once they are in.
26551
26604
  *
26605
+ * **The `actions` slot holds the row's own controls**, such as a button that
26606
+ * opens a menu of what you can do with the item. A press, a key or a
26607
+ * right-click there stays with the control: it does not choose, open, follow
26608
+ * or move the row. The actions show while the pointer is over the row, while
26609
+ * the row has focus, and while focus is inside them. Tab moves from the focused
26610
+ * row into its actions and Shift+Tab back. Every other row's actions are
26611
+ * `inert`, so Tab leaves the tree after the focused row's. A row with actions
26612
+ * is named by its label alone, so the controls are not read as part of its
26613
+ * name. On a touch screen the first tap on a row chooses and focuses it, which
26614
+ * shows its actions.
26615
+ *
26552
26616
  * **In a `reorderable` tree, the row has a grip** at its far end, which a
26553
26617
  * pointer drags to move the item among its siblings. The tree says which item
26554
26618
  * is moving and where the drop indicator is, with the `dragging`,
@@ -26590,6 +26654,10 @@ export interface HelixVueGlobalComponents {
26590
26654
  * and Control+Shift+Home or End checks every item from the focused one to the
26591
26655
  * first or the last, then moves there, as the tree pattern's range keys do.
26592
26656
  *
26657
+ * Tab moves from the focused item into its `actions`, and out of the tree
26658
+ * after them. A key pressed there is the control's, so the arrows, Enter,
26659
+ * Space and typed letters move and choose nothing in the tree.
26660
+ *
26593
26661
  * A tree with no name of its own is announced as "Tree", which says nothing
26594
26662
  * about what it holds, so a development build warns once with the kind
26595
26663
  * `missing-name` where neither `label` nor an `aria-label` names it.