@fusion.dev/helix-headless 0.163.0 → 0.164.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/custom-elements.json +809 -36
- package/dist/callout/root/callout-root.d.ts +43 -4
- package/dist/callout/root/callout-root.js +58 -2
- package/dist/code-block/patch.d.ts +42 -0
- package/dist/code-block/patch.js +118 -0
- package/dist/code-block/root/code-block-root.d.ts +37 -1
- package/dist/code-block/root/code-block-root.js +57 -9
- package/dist/color-picker/root/color-picker-root.d.ts +7 -3
- package/dist/color-picker/root/color-picker-root.js +7 -4
- package/dist/combobox/root/combobox-root.d.ts +1 -0
- package/dist/combobox/root/combobox-root.js +10 -1
- package/dist/data-table/root/data-table-root.d.ts +1 -0
- package/dist/data-table/root/data-table-root.js +1 -0
- package/dist/element-events.generated.js +7 -1
- package/dist/object-inspector/root/object-inspector-root.d.ts +23 -0
- package/dist/object-inspector/root/object-inspector-root.js +19 -1
- package/dist/table/grid-controller.d.ts +7 -0
- package/dist/table/grid-controller.js +15 -1
- package/dist/table/root/table-root.d.ts +10 -0
- package/dist/table/root/table-root.js +18 -1
- package/dist/video/root/video-root.js +2 -1
- package/dist/video-playlist/item/video-playlist-item.d.ts +8 -0
- package/dist/video-playlist/item/video-playlist-item.js +7 -0
- package/dist/video-playlist/root/video-playlist-root.d.ts +60 -0
- package/dist/video-playlist/root/video-playlist-root.js +55 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +340 -16
- package/types/vue.d.ts +86 -7
- package/types/words.d.ts +58 -0
package/types/jsx.d.ts
CHANGED
|
@@ -2926,6 +2926,11 @@ none.
|
|
|
2926
2926
|
takes away, where every button was "Dismiss". A label without `{label}` is
|
|
2927
2927
|
read as written. */
|
|
2928
2928
|
dismissLabel?: (HelixHeadlessCallout["dismissLabel"]) | undefined;
|
|
2929
|
+
/** Whether the callout is showing. A dismissal nobody canceled turns it
|
|
2930
|
+
false and the callout hides itself, and setting it true shows the callout
|
|
2931
|
+
again. Not reflected: open is the resting state, so an `open` attribute
|
|
2932
|
+
would appear on markup a server sent without it. */
|
|
2933
|
+
open?: (HelixHeadlessCallout["open"]) | undefined;
|
|
2929
2934
|
/** What kind of attention the passage needs.
|
|
2930
2935
|
|
|
2931
2936
|
`tone` is the axis for what a thing means, and this is a subset of it: a
|
|
@@ -2960,7 +2965,7 @@ out keeps its English, and `tone-label` wins over both.
|
|
|
2960
2965
|
/** Whether the element shows a control that dismisses it. */
|
|
2961
2966
|
dismissible?: (HelixHeadlessCallout["dismissible"]) | undefined;
|
|
2962
2967
|
|
|
2963
|
-
/** The dismiss button was pressed.
|
|
2968
|
+
/** The dismiss button was pressed. Unless a listener cancels it, the callout hides itself, and a listener may remove it instead. Cancelable: cancel it to keep the callout showing. */
|
|
2964
2969
|
"onhelix-dismiss"?: ((e: HelixHeadlessCalloutHelixDismissElementEvent) => void) | undefined;
|
|
2965
2970
|
};
|
|
2966
2971
|
|
|
@@ -2981,6 +2986,11 @@ none.
|
|
|
2981
2986
|
takes away, where every button was "Dismiss". A label without `{label}` is
|
|
2982
2987
|
read as written. */
|
|
2983
2988
|
"prop:dismissLabel"?: (HelixHeadlessCallout["dismissLabel"]) | undefined;
|
|
2989
|
+
/** Whether the callout is showing. A dismissal nobody canceled turns it
|
|
2990
|
+
false and the callout hides itself, and setting it true shows the callout
|
|
2991
|
+
again. Not reflected: open is the resting state, so an `open` attribute
|
|
2992
|
+
would appear on markup a server sent without it. */
|
|
2993
|
+
"prop:open"?: (HelixHeadlessCallout["open"]) | undefined;
|
|
2984
2994
|
/** What kind of attention the passage needs.
|
|
2985
2995
|
|
|
2986
2996
|
`tone` is the axis for what a thing means, and this is a subset of it: a
|
|
@@ -3014,7 +3024,7 @@ out keeps its English, and `tone-label` wins over both.
|
|
|
3014
3024
|
"prop:toneLabels"?: (HelixHeadlessCallout["toneLabels"]) | undefined;
|
|
3015
3025
|
/** Whether the element shows a control that dismisses it. */
|
|
3016
3026
|
"prop:dismissible"?: (HelixHeadlessCallout["dismissible"]) | undefined;
|
|
3017
|
-
/** The dismiss button was pressed.
|
|
3027
|
+
/** The dismiss button was pressed. Unless a listener cancels it, the callout hides itself, and a listener may remove it instead. Cancelable: cancel it to keep the callout showing. */
|
|
3018
3028
|
"on:helix-dismiss"?: ((
|
|
3019
3029
|
e: HelixHeadlessCalloutHelixDismissElementEvent,
|
|
3020
3030
|
) => void) | undefined;
|
|
@@ -6093,6 +6103,14 @@ app.ts", as `code-name-label` puts it. */
|
|
|
6093
6103
|
"collapse-label"?: (HelixHeadlessCodeBlock["collapseLabel"]) | undefined;
|
|
6094
6104
|
/** The expand button's words while the block shows every line. */
|
|
6095
6105
|
collapseLabel?: (HelixHeadlessCodeBlock["collapseLabel"]) | undefined;
|
|
6106
|
+
/** In a diff, how many unchanged lines to keep beside each change. Each
|
|
6107
|
+
longer run of unchanged lines is folded behind a button that shows it.
|
|
6108
|
+
Unset shows every line the diff holds. */
|
|
6109
|
+
"context-lines"?: (HelixHeadlessCodeBlock["contextLines"] | `${number}`) | undefined;
|
|
6110
|
+
/** In a diff, how many unchanged lines to keep beside each change. Each
|
|
6111
|
+
longer run of unchanged lines is folded behind a button that shows it.
|
|
6112
|
+
Unset shows every line the diff holds. */
|
|
6113
|
+
contextLines?: (HelixHeadlessCodeBlock["contextLines"]) | undefined;
|
|
6096
6114
|
/** The copy button's name and tooltip text after a copy. */
|
|
6097
6115
|
"copied-label"?: (HelixHeadlessCodeBlock["copiedLabel"]) | undefined;
|
|
6098
6116
|
/** The copy button's name and tooltip text after a copy. */
|
|
@@ -6131,6 +6149,14 @@ block lays out. Not for a diff, whose files each scroll on their own. */
|
|
|
6131
6149
|
"expand-label"?: (HelixHeadlessCodeBlock["expandLabel"]) | undefined;
|
|
6132
6150
|
/** The expand button's words while the cap hides lines. */
|
|
6133
6151
|
expandLabel?: (HelixHeadlessCodeBlock["expandLabel"]) | undefined;
|
|
6152
|
+
/** The words of a button that hides a run of unchanged lines it showed, in a
|
|
6153
|
+
diff with `context-lines`. `{count}` is how many, and each language
|
|
6154
|
+
writes the forms it has. */
|
|
6155
|
+
"hide-unchanged-label"?: (HelixHeadlessCodeBlock["hideUnchangedLabel"]) | undefined;
|
|
6156
|
+
/** The words of a button that hides a run of unchanged lines it showed, in a
|
|
6157
|
+
diff with `context-lines`. `{count}` is how many, and each language
|
|
6158
|
+
writes the forms it has. */
|
|
6159
|
+
hideUnchangedLabel?: (HelixHeadlessCodeBlock["hideUnchangedLabel"]) | undefined;
|
|
6134
6160
|
/** The block's name, usually a file name, drawn in the header.
|
|
6135
6161
|
|
|
6136
6162
|
Absent, the block is named by `language` where there is one. In a diff,
|
|
@@ -6206,6 +6232,12 @@ A false boolean reflects as the attribute's absence, so this costs no
|
|
|
6206
6232
|
reflected property taking no default is satisfied by the default being
|
|
6207
6233
|
`false`. */
|
|
6208
6234
|
noCopy?: (HelixHeadlessCodeBlock["noCopy"]) | undefined;
|
|
6235
|
+
/** The words of a button that shows a folded run of unchanged lines, in a
|
|
6236
|
+
diff with `context-lines`. `{count}` is how many. */
|
|
6237
|
+
"show-unchanged-label"?: (HelixHeadlessCodeBlock["showUnchangedLabel"]) | undefined;
|
|
6238
|
+
/** The words of a button that shows a folded run of unchanged lines, in a
|
|
6239
|
+
diff with `context-lines`. `{count}` is how many. */
|
|
6240
|
+
showUnchangedLabel?: (HelixHeadlessCodeBlock["showUnchangedLabel"]) | undefined;
|
|
6209
6241
|
/** How a diff's two versions are arranged. It has no effect without `diff`.
|
|
6210
6242
|
|
|
6211
6243
|
Absent is unified, each removal above its replacement, which fits any
|
|
@@ -6280,6 +6312,14 @@ app.ts", as `code-name-label` puts it. */
|
|
|
6280
6312
|
"attr:collapse-label"?: (HelixHeadlessCodeBlock["collapseLabel"]) | undefined;
|
|
6281
6313
|
/** The expand button's words while the block shows every line. */
|
|
6282
6314
|
"prop:collapseLabel"?: (HelixHeadlessCodeBlock["collapseLabel"]) | undefined;
|
|
6315
|
+
/** In a diff, how many unchanged lines to keep beside each change. Each
|
|
6316
|
+
longer run of unchanged lines is folded behind a button that shows it.
|
|
6317
|
+
Unset shows every line the diff holds. */
|
|
6318
|
+
"attr:context-lines"?: (HelixHeadlessCodeBlock["contextLines"] | `${number}`) | undefined;
|
|
6319
|
+
/** In a diff, how many unchanged lines to keep beside each change. Each
|
|
6320
|
+
longer run of unchanged lines is folded behind a button that shows it.
|
|
6321
|
+
Unset shows every line the diff holds. */
|
|
6322
|
+
"prop:contextLines"?: (HelixHeadlessCodeBlock["contextLines"]) | undefined;
|
|
6283
6323
|
/** The copy button's name and tooltip text after a copy. */
|
|
6284
6324
|
"attr:copied-label"?: (HelixHeadlessCodeBlock["copiedLabel"]) | undefined;
|
|
6285
6325
|
/** The copy button's name and tooltip text after a copy. */
|
|
@@ -6318,6 +6358,14 @@ block lays out. Not for a diff, whose files each scroll on their own. */
|
|
|
6318
6358
|
"attr:expand-label"?: (HelixHeadlessCodeBlock["expandLabel"]) | undefined;
|
|
6319
6359
|
/** The expand button's words while the cap hides lines. */
|
|
6320
6360
|
"prop:expandLabel"?: (HelixHeadlessCodeBlock["expandLabel"]) | undefined;
|
|
6361
|
+
/** The words of a button that hides a run of unchanged lines it showed, in a
|
|
6362
|
+
diff with `context-lines`. `{count}` is how many, and each language
|
|
6363
|
+
writes the forms it has. */
|
|
6364
|
+
"attr:hide-unchanged-label"?: (HelixHeadlessCodeBlock["hideUnchangedLabel"]) | undefined;
|
|
6365
|
+
/** The words of a button that hides a run of unchanged lines it showed, in a
|
|
6366
|
+
diff with `context-lines`. `{count}` is how many, and each language
|
|
6367
|
+
writes the forms it has. */
|
|
6368
|
+
"prop:hideUnchangedLabel"?: (HelixHeadlessCodeBlock["hideUnchangedLabel"]) | undefined;
|
|
6321
6369
|
/** The block's name, usually a file name, drawn in the header.
|
|
6322
6370
|
|
|
6323
6371
|
Absent, the block is named by `language` where there is one. In a diff,
|
|
@@ -6393,6 +6441,12 @@ A false boolean reflects as the attribute's absence, so this costs no
|
|
|
6393
6441
|
reflected property taking no default is satisfied by the default being
|
|
6394
6442
|
`false`. */
|
|
6395
6443
|
"prop:noCopy"?: (HelixHeadlessCodeBlock["noCopy"]) | undefined;
|
|
6444
|
+
/** The words of a button that shows a folded run of unchanged lines, in a
|
|
6445
|
+
diff with `context-lines`. `{count}` is how many. */
|
|
6446
|
+
"attr:show-unchanged-label"?: (HelixHeadlessCodeBlock["showUnchangedLabel"]) | undefined;
|
|
6447
|
+
/** The words of a button that shows a folded run of unchanged lines, in a
|
|
6448
|
+
diff with `context-lines`. `{count}` is how many. */
|
|
6449
|
+
"prop:showUnchangedLabel"?: (HelixHeadlessCodeBlock["showUnchangedLabel"]) | undefined;
|
|
6396
6450
|
/** How a diff's two versions are arranged. It has no effect without `diff`.
|
|
6397
6451
|
|
|
6398
6452
|
Absent is unified, each removal above its replacement, which fits any
|
|
@@ -22493,6 +22547,12 @@ reader sees the shape of the value before its contents. `0` starts with the
|
|
|
22493
22547
|
root closed; a large number opens everything, which on a big value is the
|
|
22494
22548
|
wall of text this exists to avoid. */
|
|
22495
22549
|
defaultDepth?: (HelixHeadlessObjectInspector["defaultDepth"]) | undefined;
|
|
22550
|
+
/** What the tree says while there is no value to show, such as before a
|
|
22551
|
+
fetch answers. The `empty` slot replaces it. */
|
|
22552
|
+
"empty-label"?: (HelixHeadlessObjectInspector["emptyLabel"]) | undefined;
|
|
22553
|
+
/** What the tree says while there is no value to show, such as before a
|
|
22554
|
+
fetch answers. The `empty` slot replaces it. */
|
|
22555
|
+
emptyLabel?: (HelixHeadlessObjectInspector["emptyLabel"]) | undefined;
|
|
22496
22556
|
/** Text the tree is narrowed to: the entries whose key or value holds it,
|
|
22497
22557
|
ignoring case, and the branches that lead to them. Empty shows everything. */
|
|
22498
22558
|
filter?: (HelixHeadlessObjectInspector["filter"]) | undefined;
|
|
@@ -22562,6 +22622,12 @@ who set the property. This button is positioned out of the flow and takes no
|
|
|
22562
22622
|
room, so nothing selects on it, and reflection exists so that a selector can
|
|
22563
22623
|
reach a value. */
|
|
22564
22624
|
noCopy?: (HelixHeadlessObjectInspector["noCopy"]) | undefined;
|
|
22625
|
+
/** What the tree says while a filter matched no entry. The `empty` slot
|
|
22626
|
+
replaces it. */
|
|
22627
|
+
"no-matches-label"?: (HelixHeadlessObjectInspector["noMatchesLabel"]) | undefined;
|
|
22628
|
+
/** What the tree says while a filter matched no entry. The `empty` slot
|
|
22629
|
+
replaces it. */
|
|
22630
|
+
noMatchesLabel?: (HelixHeadlessObjectInspector["noMatchesLabel"]) | undefined;
|
|
22565
22631
|
/** What a screen reader hears when a filter matches one entry, where
|
|
22566
22632
|
`results-label` should not say it. `{count}` is the count. */
|
|
22567
22633
|
"result-label"?: (HelixHeadlessObjectInspector["resultLabel"]) | undefined;
|
|
@@ -22679,6 +22745,12 @@ reader sees the shape of the value before its contents. `0` starts with the
|
|
|
22679
22745
|
root closed; a large number opens everything, which on a big value is the
|
|
22680
22746
|
wall of text this exists to avoid. */
|
|
22681
22747
|
"prop:defaultDepth"?: (HelixHeadlessObjectInspector["defaultDepth"]) | undefined;
|
|
22748
|
+
/** What the tree says while there is no value to show, such as before a
|
|
22749
|
+
fetch answers. The `empty` slot replaces it. */
|
|
22750
|
+
"attr:empty-label"?: (HelixHeadlessObjectInspector["emptyLabel"]) | undefined;
|
|
22751
|
+
/** What the tree says while there is no value to show, such as before a
|
|
22752
|
+
fetch answers. The `empty` slot replaces it. */
|
|
22753
|
+
"prop:emptyLabel"?: (HelixHeadlessObjectInspector["emptyLabel"]) | undefined;
|
|
22682
22754
|
/** Text the tree is narrowed to: the entries whose key or value holds it,
|
|
22683
22755
|
ignoring case, and the branches that lead to them. Empty shows everything. */
|
|
22684
22756
|
"prop:filter"?: (HelixHeadlessObjectInspector["filter"]) | undefined;
|
|
@@ -22748,6 +22820,12 @@ who set the property. This button is positioned out of the flow and takes no
|
|
|
22748
22820
|
room, so nothing selects on it, and reflection exists so that a selector can
|
|
22749
22821
|
reach a value. */
|
|
22750
22822
|
"prop:noCopy"?: (HelixHeadlessObjectInspector["noCopy"]) | undefined;
|
|
22823
|
+
/** What the tree says while a filter matched no entry. The `empty` slot
|
|
22824
|
+
replaces it. */
|
|
22825
|
+
"attr:no-matches-label"?: (HelixHeadlessObjectInspector["noMatchesLabel"]) | undefined;
|
|
22826
|
+
/** What the tree says while a filter matched no entry. The `empty` slot
|
|
22827
|
+
replaces it. */
|
|
22828
|
+
"prop:noMatchesLabel"?: (HelixHeadlessObjectInspector["noMatchesLabel"]) | undefined;
|
|
22751
22829
|
/** What a screen reader hears when a filter matches one entry, where
|
|
22752
22830
|
`results-label` should not say it. `{count}` is the count. */
|
|
22753
22831
|
"attr:result-label"?: (HelixHeadlessObjectInspector["resultLabel"]) | undefined;
|
|
@@ -34613,17 +34691,43 @@ export type HelixHeadlessVideoPlaylistHelixActivateElementEvent =
|
|
|
34613
34691
|
/** `helix-before-activate` event type */
|
|
34614
34692
|
export type HelixHeadlessVideoPlaylistHelixBeforeActivateElementEvent =
|
|
34615
34693
|
HelixHeadlessVideoPlaylistElementEvent<HelixBeforeActivateEvent>;
|
|
34694
|
+
/** `helix-before-reorder` event type */
|
|
34695
|
+
export type HelixHeadlessVideoPlaylistHelixBeforeReorderElementEvent =
|
|
34696
|
+
HelixHeadlessVideoPlaylistElementEvent<HelixBeforeReorderEvent>;
|
|
34616
34697
|
/** `helix-end` event type */
|
|
34617
34698
|
export type HelixHeadlessVideoPlaylistHelixEndElementEvent =
|
|
34618
34699
|
HelixHeadlessVideoPlaylistElementEvent<HelixEndEvent>;
|
|
34700
|
+
/** `helix-reorder` event type */
|
|
34701
|
+
export type HelixHeadlessVideoPlaylistHelixReorderElementEvent =
|
|
34702
|
+
HelixHeadlessVideoPlaylistElementEvent<HelixReorderEvent>;
|
|
34619
34703
|
|
|
34620
34704
|
export type HelixHeadlessVideoPlaylistProps = {
|
|
34705
|
+
/** What screen readers hear when a move is put back, in a `reorderable`
|
|
34706
|
+
playlist. `{name}` is the entry's words. */
|
|
34707
|
+
"canceled-label"?: (HelixHeadlessVideoPlaylist["canceledLabel"]) | undefined;
|
|
34708
|
+
/** What screen readers hear when a move is put back, in a `reorderable`
|
|
34709
|
+
playlist. `{name}` is the entry's words. */
|
|
34710
|
+
canceledLabel?: (HelixHeadlessVideoPlaylist["canceledLabel"]) | undefined;
|
|
34711
|
+
/** What screen readers hear when a moved entry is let go, in a `reorderable`
|
|
34712
|
+
playlist. `{name}` is the entry's words. */
|
|
34713
|
+
"dropped-label"?: (HelixHeadlessVideoPlaylist["droppedLabel"]) | undefined;
|
|
34714
|
+
/** What screen readers hear when a moved entry is let go, in a `reorderable`
|
|
34715
|
+
playlist. `{name}` is the entry's words. */
|
|
34716
|
+
droppedLabel?: (HelixHeadlessVideoPlaylist["droppedLabel"]) | undefined;
|
|
34621
34717
|
/** What the playlist says while it has no entries. The `empty` slot replaces it. */
|
|
34622
34718
|
"empty-label"?: (HelixHeadlessVideoPlaylist["emptyLabel"]) | undefined;
|
|
34623
34719
|
/** What the playlist says while it has no entries. The `empty` slot replaces it. */
|
|
34624
34720
|
emptyLabel?: (HelixHeadlessVideoPlaylist["emptyLabel"]) | undefined;
|
|
34625
34721
|
/** The list's name, read by screen readers. */
|
|
34626
34722
|
label?: (HelixHeadlessVideoPlaylist["label"]) | undefined;
|
|
34723
|
+
/** What screen readers hear each time a key moves an entry, in a
|
|
34724
|
+
`reorderable` playlist. `{name}` is the entry's words, `{position}` its
|
|
34725
|
+
new place, counting from 1, and `{count}` the number of entries. */
|
|
34726
|
+
"moved-label"?: (HelixHeadlessVideoPlaylist["movedLabel"]) | undefined;
|
|
34727
|
+
/** What screen readers hear each time a key moves an entry, in a
|
|
34728
|
+
`reorderable` playlist. `{name}` is the entry's words, `{position}` its
|
|
34729
|
+
new place, counting from 1, and `{count}` the number of entries. */
|
|
34730
|
+
movedLabel?: (HelixHeadlessVideoPlaylist["movedLabel"]) | undefined;
|
|
34627
34731
|
/** Stays on an entry when its clip ends, where the playlist would otherwise
|
|
34628
34732
|
play the next one. The player's controls, a press, and `next()` still
|
|
34629
34733
|
move. `repeat="one"` still plays the entry again. */
|
|
@@ -34632,6 +34736,12 @@ move. `repeat="one"` still plays the entry again. */
|
|
|
34632
34736
|
play the next one. The player's controls, a press, and `next()` still
|
|
34633
34737
|
move. `repeat="one"` still plays the entry again. */
|
|
34634
34738
|
noAdvance?: (HelixHeadlessVideoPlaylist["noAdvance"]) | undefined;
|
|
34739
|
+
/** What screen readers hear when a pointer picks up an entry, in a
|
|
34740
|
+
`reorderable` playlist. `{name}` is the entry's words. */
|
|
34741
|
+
"picked-up-label"?: (HelixHeadlessVideoPlaylist["pickedUpLabel"]) | undefined;
|
|
34742
|
+
/** What screen readers hear when a pointer picks up an entry, in a
|
|
34743
|
+
`reorderable` playlist. `{name}` is the entry's words. */
|
|
34744
|
+
pickedUpLabel?: (HelixHeadlessVideoPlaylist["pickedUpLabel"]) | undefined;
|
|
34635
34745
|
/** What the live region says when the playlist moves to another entry.
|
|
34636
34746
|
`{title}` is the entry's name.
|
|
34637
34747
|
|
|
@@ -34646,6 +34756,10 @@ playlist starts the next one, and the only other trace of that is the
|
|
|
34646
34756
|
playlist starts the next one, and the only other trace of that is the
|
|
34647
34757
|
`aria-current` on a button the reader is not on. */
|
|
34648
34758
|
playingLabel?: (HelixHeadlessVideoPlaylist["playingLabel"]) | undefined;
|
|
34759
|
+
/** Lets a reader move the entries, with Alt and the arrow keys or by
|
|
34760
|
+
dragging one. The playlist moves no entry itself: you move your entries
|
|
34761
|
+
on `helix-reorder`. */
|
|
34762
|
+
reorderable?: (HelixHeadlessVideoPlaylist["reorderable"]) | undefined;
|
|
34649
34763
|
/** What happens when an entry ends with no next one to go to. `one` plays the
|
|
34650
34764
|
same entry again, and `all` goes from the last entry back to the first.
|
|
34651
34765
|
Absent, the playlist stops on the last entry and sends `helix-end`.
|
|
@@ -34684,17 +34798,45 @@ Ignored once `active` is written. */
|
|
|
34684
34798
|
"onhelix-before-activate"?: ((
|
|
34685
34799
|
e: HelixHeadlessVideoPlaylistHelixBeforeActivateElementEvent,
|
|
34686
34800
|
) => void) | undefined;
|
|
34801
|
+
/** An entry was moved to a new place, in a `reorderable` playlist, with every entry's value in the new order in `detail.keys`. Cancelable: cancel it to keep the entry where it is. */
|
|
34802
|
+
"onhelix-before-reorder"?: ((
|
|
34803
|
+
e: HelixHeadlessVideoPlaylistHelixBeforeReorderElementEvent,
|
|
34804
|
+
) => void) | undefined;
|
|
34687
34805
|
/** The last entry finished playing, and the playlist stopped there. Not sent while `repeat` is set. */
|
|
34688
34806
|
"onhelix-end"?: ((e: HelixHeadlessVideoPlaylistHelixEndElementEvent) => void) | undefined;
|
|
34807
|
+
/** Fired after `helix-before-reorder` when nobody canceled it. Move your entries to the order in `keys`. Cancelable: cancel it to say the move did not happen. */
|
|
34808
|
+
"onhelix-reorder"?: ((
|
|
34809
|
+
e: HelixHeadlessVideoPlaylistHelixReorderElementEvent,
|
|
34810
|
+
) => void) | undefined;
|
|
34689
34811
|
};
|
|
34690
34812
|
|
|
34691
34813
|
export type HelixHeadlessVideoPlaylistSolidJsProps = {
|
|
34814
|
+
/** What screen readers hear when a move is put back, in a `reorderable`
|
|
34815
|
+
playlist. `{name}` is the entry's words. */
|
|
34816
|
+
"attr:canceled-label"?: (HelixHeadlessVideoPlaylist["canceledLabel"]) | undefined;
|
|
34817
|
+
/** What screen readers hear when a move is put back, in a `reorderable`
|
|
34818
|
+
playlist. `{name}` is the entry's words. */
|
|
34819
|
+
"prop:canceledLabel"?: (HelixHeadlessVideoPlaylist["canceledLabel"]) | undefined;
|
|
34820
|
+
/** What screen readers hear when a moved entry is let go, in a `reorderable`
|
|
34821
|
+
playlist. `{name}` is the entry's words. */
|
|
34822
|
+
"attr:dropped-label"?: (HelixHeadlessVideoPlaylist["droppedLabel"]) | undefined;
|
|
34823
|
+
/** What screen readers hear when a moved entry is let go, in a `reorderable`
|
|
34824
|
+
playlist. `{name}` is the entry's words. */
|
|
34825
|
+
"prop:droppedLabel"?: (HelixHeadlessVideoPlaylist["droppedLabel"]) | undefined;
|
|
34692
34826
|
/** What the playlist says while it has no entries. The `empty` slot replaces it. */
|
|
34693
34827
|
"attr:empty-label"?: (HelixHeadlessVideoPlaylist["emptyLabel"]) | undefined;
|
|
34694
34828
|
/** What the playlist says while it has no entries. The `empty` slot replaces it. */
|
|
34695
34829
|
"prop:emptyLabel"?: (HelixHeadlessVideoPlaylist["emptyLabel"]) | undefined;
|
|
34696
34830
|
/** The list's name, read by screen readers. */
|
|
34697
34831
|
"prop:label"?: (HelixHeadlessVideoPlaylist["label"]) | undefined;
|
|
34832
|
+
/** What screen readers hear each time a key moves an entry, in a
|
|
34833
|
+
`reorderable` playlist. `{name}` is the entry's words, `{position}` its
|
|
34834
|
+
new place, counting from 1, and `{count}` the number of entries. */
|
|
34835
|
+
"attr:moved-label"?: (HelixHeadlessVideoPlaylist["movedLabel"]) | undefined;
|
|
34836
|
+
/** What screen readers hear each time a key moves an entry, in a
|
|
34837
|
+
`reorderable` playlist. `{name}` is the entry's words, `{position}` its
|
|
34838
|
+
new place, counting from 1, and `{count}` the number of entries. */
|
|
34839
|
+
"prop:movedLabel"?: (HelixHeadlessVideoPlaylist["movedLabel"]) | undefined;
|
|
34698
34840
|
/** Stays on an entry when its clip ends, where the playlist would otherwise
|
|
34699
34841
|
play the next one. The player's controls, a press, and `next()` still
|
|
34700
34842
|
move. `repeat="one"` still plays the entry again. */
|
|
@@ -34703,6 +34845,12 @@ move. `repeat="one"` still plays the entry again. */
|
|
|
34703
34845
|
play the next one. The player's controls, a press, and `next()` still
|
|
34704
34846
|
move. `repeat="one"` still plays the entry again. */
|
|
34705
34847
|
"prop:noAdvance"?: (HelixHeadlessVideoPlaylist["noAdvance"]) | undefined;
|
|
34848
|
+
/** What screen readers hear when a pointer picks up an entry, in a
|
|
34849
|
+
`reorderable` playlist. `{name}` is the entry's words. */
|
|
34850
|
+
"attr:picked-up-label"?: (HelixHeadlessVideoPlaylist["pickedUpLabel"]) | undefined;
|
|
34851
|
+
/** What screen readers hear when a pointer picks up an entry, in a
|
|
34852
|
+
`reorderable` playlist. `{name}` is the entry's words. */
|
|
34853
|
+
"prop:pickedUpLabel"?: (HelixHeadlessVideoPlaylist["pickedUpLabel"]) | undefined;
|
|
34706
34854
|
/** What the live region says when the playlist moves to another entry.
|
|
34707
34855
|
`{title}` is the entry's name.
|
|
34708
34856
|
|
|
@@ -34717,6 +34865,10 @@ playlist starts the next one, and the only other trace of that is the
|
|
|
34717
34865
|
playlist starts the next one, and the only other trace of that is the
|
|
34718
34866
|
`aria-current` on a button the reader is not on. */
|
|
34719
34867
|
"prop:playingLabel"?: (HelixHeadlessVideoPlaylist["playingLabel"]) | undefined;
|
|
34868
|
+
/** Lets a reader move the entries, with Alt and the arrow keys or by
|
|
34869
|
+
dragging one. The playlist moves no entry itself: you move your entries
|
|
34870
|
+
on `helix-reorder`. */
|
|
34871
|
+
"prop:reorderable"?: (HelixHeadlessVideoPlaylist["reorderable"]) | undefined;
|
|
34720
34872
|
/** What happens when an entry ends with no next one to go to. `one` plays the
|
|
34721
34873
|
same entry again, and `all` goes from the last entry back to the first.
|
|
34722
34874
|
Absent, the playlist stops on the last entry and sends `helix-end`.
|
|
@@ -34754,8 +34906,16 @@ Ignored once `active` is written. */
|
|
|
34754
34906
|
"on:helix-before-activate"?: ((
|
|
34755
34907
|
e: HelixHeadlessVideoPlaylistHelixBeforeActivateElementEvent,
|
|
34756
34908
|
) => void) | undefined;
|
|
34909
|
+
/** An entry was moved to a new place, in a `reorderable` playlist, with every entry's value in the new order in `detail.keys`. Cancelable: cancel it to keep the entry where it is. */
|
|
34910
|
+
"on:helix-before-reorder"?: ((
|
|
34911
|
+
e: HelixHeadlessVideoPlaylistHelixBeforeReorderElementEvent,
|
|
34912
|
+
) => void) | undefined;
|
|
34757
34913
|
/** The last entry finished playing, and the playlist stopped there. Not sent while `repeat` is set. */
|
|
34758
34914
|
"on:helix-end"?: ((e: HelixHeadlessVideoPlaylistHelixEndElementEvent) => void) | undefined;
|
|
34915
|
+
/** Fired after `helix-before-reorder` when nobody canceled it. Move your entries to the order in `keys`. Cancelable: cancel it to say the move did not happen. */
|
|
34916
|
+
"on:helix-reorder"?: ((
|
|
34917
|
+
e: HelixHeadlessVideoPlaylistHelixReorderElementEvent,
|
|
34918
|
+
) => void) | undefined;
|
|
34759
34919
|
|
|
34760
34920
|
/** Set the innerHTML of the element */
|
|
34761
34921
|
innerHTML?: (string) | undefined;
|
|
@@ -38390,8 +38550,12 @@ export type CustomElements = {
|
|
|
38390
38550
|
* region around it.
|
|
38391
38551
|
*
|
|
38392
38552
|
* Set `dismissible` for a note a reader may put away, as Shoelace's `closable`
|
|
38393
|
-
* alert does. The button fires `helix-dismiss
|
|
38394
|
-
*
|
|
38553
|
+
* alert does. The button fires `helix-dismiss`, and unless a listener cancels
|
|
38554
|
+
* it the callout hides itself: `open` turns false, `:state(exiting)` holds
|
|
38555
|
+
* while its exit animations run, and then it is `hidden`. Remove it in your
|
|
38556
|
+
* listener to take it out of the page, or set `open` to show it again, which
|
|
38557
|
+
* holds `:state(entering)` while it comes back. Focus on its dismiss button
|
|
38558
|
+
* moves to the next callout's, or to the tab stop beside it, once it hides.
|
|
38395
38559
|
*
|
|
38396
38560
|
* A callout sets a passage apart inside a document and is read where it sits.
|
|
38397
38561
|
* For page-level chrome above the masthead that is a live region and can be
|
|
@@ -38408,6 +38572,10 @@ export type CustomElements = {
|
|
|
38408
38572
|
* "Dismiss Scheduled maintenance" says which of several callouts the button
|
|
38409
38573
|
* takes away, where every button was "Dismiss". A label without `{label}` is
|
|
38410
38574
|
* read as written.
|
|
38575
|
+
* - `open`: Whether the callout is showing. A dismissal nobody canceled turns it
|
|
38576
|
+
* false and the callout hides itself, and setting it true shows the callout
|
|
38577
|
+
* again. Not reflected: open is the resting state, so an `open` attribute
|
|
38578
|
+
* would appear on markup a server sent without it.
|
|
38411
38579
|
* - `tone`: What kind of attention the passage needs.
|
|
38412
38580
|
*
|
|
38413
38581
|
* `tone` is the axis for what a thing means, and this is a subset of it: a
|
|
@@ -38450,7 +38618,7 @@ export type CustomElements = {
|
|
|
38450
38618
|
*
|
|
38451
38619
|
* Events that will be emitted by the component.
|
|
38452
38620
|
*
|
|
38453
|
-
* - `helix-dismiss`: The dismiss button was pressed.
|
|
38621
|
+
* - `helix-dismiss`: The dismiss button was pressed. Unless a listener cancels it, the callout hides itself, and a listener may remove it instead. Cancelable: cancel it to keep the callout showing.
|
|
38454
38622
|
*
|
|
38455
38623
|
* ## Slots
|
|
38456
38624
|
*
|
|
@@ -38465,7 +38633,8 @@ export type CustomElements = {
|
|
|
38465
38633
|
*
|
|
38466
38634
|
* Methods that can be called to access component functionality.
|
|
38467
38635
|
*
|
|
38468
|
-
* - `dismiss() => boolean`:
|
|
38636
|
+
* - `dismiss() => boolean`: Hides the callout once a dismissal stands, unless the page removed it in
|
|
38637
|
+
* its listener, which is the page's answer and leaves `open` as it was.
|
|
38469
38638
|
*
|
|
38470
38639
|
* ## CSS Parts
|
|
38471
38640
|
*
|
|
@@ -38481,6 +38650,11 @@ export type CustomElements = {
|
|
|
38481
38650
|
*
|
|
38482
38651
|
* These can be used to apply styling when a component is in a given state.
|
|
38483
38652
|
*
|
|
38653
|
+
* - `closed`: While `open` is false: the callout was dismissed, and is leaving or hidden.
|
|
38654
|
+
* - `entering`: While a callout shown again by `open` runs its entrance animations.
|
|
38655
|
+
* - `exiting`: While a dismissed callout runs its exit animations, before it is hidden.
|
|
38656
|
+
* - `has-heading`: Something is slotted into `heading`.
|
|
38657
|
+
* - `has-icon`: An icon of your own is slotted into `icon`, in place of the tone's.
|
|
38484
38658
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
38485
38659
|
*/
|
|
38486
38660
|
"helix-headless-callout": Partial<
|
|
@@ -40714,9 +40888,14 @@ export type CustomElements = {
|
|
|
40714
40888
|
* removed. The block never computes a diff itself. Line numbers come from the
|
|
40715
40889
|
* hunk headers and are hidden from the accessibility tree. Changed lines are
|
|
40716
40890
|
* `<ins>` and `<del>` with the `+` and `-` kept as text, so the change does not
|
|
40717
|
-
* depend on color.
|
|
40891
|
+
* depend on color. Where a removed line is paired with the added line that
|
|
40892
|
+
* replaced it, the words each does not share with the other are the `changed`
|
|
40893
|
+
* part, so the eye goes to what changed within the line. Each file in the patch is its own block under its own name,
|
|
40718
40894
|
* and its copy button copies the new version of the file. `variant="split"`
|
|
40719
40895
|
* shows the old version beside the new, each removal opposite its replacement.
|
|
40896
|
+
* `context-lines` folds each long run of unchanged lines, keeping that many
|
|
40897
|
+
* beside each change, behind a button that shows them and hides them again,
|
|
40898
|
+
* as a code host draws a diff written with more context than a reader needs.
|
|
40720
40899
|
*
|
|
40721
40900
|
* **A block that scrolls is a tab stop.** While its lines run past its width or
|
|
40722
40901
|
* its cap, the scroller is a region named for the block, such as "Code,
|
|
@@ -40746,6 +40925,9 @@ export type CustomElements = {
|
|
|
40746
40925
|
* - `code-name-label`/`codeNameLabel`: The name of a block that scrolls, where the block has a name. `{code}` is
|
|
40747
40926
|
* `code-label` and `{name}` the block's name.
|
|
40748
40927
|
* - `collapse-label`/`collapseLabel`: The expand button's words while the block shows every line.
|
|
40928
|
+
* - `context-lines`/`contextLines`: In a diff, how many unchanged lines to keep beside each change. Each
|
|
40929
|
+
* longer run of unchanged lines is folded behind a button that shows it.
|
|
40930
|
+
* Unset shows every line the diff holds.
|
|
40749
40931
|
* - `copied-label`/`copiedLabel`: The copy button's name and tooltip text after a copy.
|
|
40750
40932
|
* - `copy-label`/`copyLabel`: The copy button's name and tooltip text before a copy.
|
|
40751
40933
|
*
|
|
@@ -40765,6 +40947,9 @@ export type CustomElements = {
|
|
|
40765
40947
|
* the button is drawn only while the cap hides something, measured as the
|
|
40766
40948
|
* block lays out. Not for a diff, whose files each scroll on their own.
|
|
40767
40949
|
* - `expand-label`/`expandLabel`: The expand button's words while the cap hides lines.
|
|
40950
|
+
* - `hide-unchanged-label`/`hideUnchangedLabel`: The words of a button that hides a run of unchanged lines it showed, in a
|
|
40951
|
+
* diff with `context-lines`. `{count}` is how many, and each language
|
|
40952
|
+
* writes the forms it has.
|
|
40768
40953
|
* - `label`: The block's name, usually a file name, drawn in the header.
|
|
40769
40954
|
*
|
|
40770
40955
|
* Absent, the block is named by `language` where there is one. In a diff,
|
|
@@ -40804,6 +40989,8 @@ export type CustomElements = {
|
|
|
40804
40989
|
* `no-copy=""` on hosts that never asked for one, and the rule about a
|
|
40805
40990
|
* reflected property taking no default is satisfied by the default being
|
|
40806
40991
|
* `false`.
|
|
40992
|
+
* - `show-unchanged-label`/`showUnchangedLabel`: The words of a button that shows a folded run of unchanged lines, in a
|
|
40993
|
+
* diff with `context-lines`. `{count}` is how many.
|
|
40807
40994
|
* - `variant`: How a diff's two versions are arranged. It has no effect without `diff`.
|
|
40808
40995
|
*
|
|
40809
40996
|
* Absent is unified, each removal above its replacement, which fits any
|
|
@@ -40894,6 +41081,7 @@ export type CustomElements = {
|
|
|
40894
41081
|
* - `actions`: The box in the header that holds the `actions` slot, drawn while something is slotted there.
|
|
40895
41082
|
* - `added`: In a diff, a line only the new version has, an `<ins>`.
|
|
40896
41083
|
* - `block`: The scrolling `<pre>`.
|
|
41084
|
+
* - `changed`: In a diff, the words of a changed line that the line opposite it does not have, inside its `text`.
|
|
40897
41085
|
* - `code`: The `<code>` inside it.
|
|
40898
41086
|
* - `context`: In a diff, a line both versions share.
|
|
40899
41087
|
* - `copy`: The copy button. It sits in the header when there is one, and beside the code otherwise.
|
|
@@ -40915,6 +41103,7 @@ export type CustomElements = {
|
|
|
40915
41103
|
* - `expand`: The button under a capped block that shows every line, and fewer again. Drawn when `expandable` is set and the cap hides something.
|
|
40916
41104
|
* - `file`: In a diff, one file's header and block.
|
|
40917
41105
|
* - `filler`: In a split diff, the empty row opposite a line the other side does not have.
|
|
41106
|
+
* - `fold`: In a diff with `context-lines`, the button that shows a folded run of unchanged lines, and hides it again, saying which with `aria-expanded`.
|
|
40918
41107
|
* - `frame`: The code, and the copy button beside it where there is no header.
|
|
40919
41108
|
* - `gutter`: The line numbers beside the code, shown when `line-numbers` is set.
|
|
40920
41109
|
* - `header`: The bar that holds the name and the copy button, shown when there is a name.
|
|
@@ -41380,8 +41569,10 @@ export type CustomElements = {
|
|
|
41380
41569
|
* gray after you drag to the bottom of the square and back.
|
|
41381
41570
|
*
|
|
41382
41571
|
* The square is one tab stop. In it, the up and down arrows move brightness
|
|
41383
|
-
* and the left and right arrows move saturation,
|
|
41384
|
-
* brightness by ten
|
|
41572
|
+
* and the left and right arrows move saturation, by ten with Shift. PageUp and
|
|
41573
|
+
* PageDown move brightness by ten, and Home and End move saturation by ten,
|
|
41574
|
+
* turned on a right-to-left page as the arrows are, as React Aria's ColorArea
|
|
41575
|
+
* does. The picker sends `input` as the color moves and `change`
|
|
41385
41576
|
* when a drag, a key, a typed value or a preset settles it, as
|
|
41386
41577
|
* `<input type="color">` does.
|
|
41387
41578
|
*
|
|
@@ -41793,6 +41984,7 @@ export type CustomElements = {
|
|
|
41793
41984
|
* | Key | What it does |
|
|
41794
41985
|
* |---|---|
|
|
41795
41986
|
* | Down, Up | On a closed field, opens the list on the chosen option, or the first or the last. In the open list, moves the highlight, round from the last option to the first. |
|
|
41987
|
+
* | Alt with Down, Alt with Up | Opens the list without moving the highlight, and closes it, choosing nothing. |
|
|
41796
41988
|
* | Page Down, Page Up | In the open list, moves the highlight by as many options as the list shows at once. |
|
|
41797
41989
|
* | Enter | Chooses the highlighted option. With nothing left in the list, creates what was typed with `creatable`, or takes it with `allows-custom-value`. On a closed field, submits the form. |
|
|
41798
41990
|
* | Escape | Closes the list and puts the chosen words back. On a closed field, a second Escape clears a single choice. |
|
|
@@ -43143,6 +43335,7 @@ export type CustomElements = {
|
|
|
43143
43335
|
*
|
|
43144
43336
|
* - `empty`: While there are no rows to show and none are loading.
|
|
43145
43337
|
* - `error`: While `error-text` is set.
|
|
43338
|
+
* - `loading`: While `loading` is set, as the rows are on their way.
|
|
43146
43339
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
43147
43340
|
*/
|
|
43148
43341
|
"helix-headless-data-table": Partial<
|
|
@@ -53260,6 +53453,8 @@ export type CustomElements = {
|
|
|
53260
53453
|
* reader sees the shape of the value before its contents. `0` starts with the
|
|
53261
53454
|
* root closed; a large number opens everything, which on a big value is the
|
|
53262
53455
|
* wall of text this exists to avoid.
|
|
53456
|
+
* - `empty-label`/`emptyLabel`: What the tree says while there is no value to show, such as before a
|
|
53457
|
+
* fetch answers. The `empty` slot replaces it.
|
|
53263
53458
|
* - `filter`: Text the tree is narrowed to: the entries whose key or value holds it,
|
|
53264
53459
|
* ignoring case, and the branches that lead to them. Empty shows everything.
|
|
53265
53460
|
* - `filterable`: Whether to show a field that sets `filter`.
|
|
@@ -53291,6 +53486,8 @@ export type CustomElements = {
|
|
|
53291
53486
|
* who set the property. This button is positioned out of the flow and takes no
|
|
53292
53487
|
* room, so nothing selects on it, and reflection exists so that a selector can
|
|
53293
53488
|
* reach a value.
|
|
53489
|
+
* - `no-matches-label`/`noMatchesLabel`: What the tree says while a filter matched no entry. The `empty` slot
|
|
53490
|
+
* replaces it.
|
|
53294
53491
|
* - `result-label`/`resultLabel`: What a screen reader hears when a filter matches one entry, where
|
|
53295
53492
|
* `results-label` should not say it. `{count}` is the count.
|
|
53296
53493
|
* - `results-label`/`resultsLabel`: What a screen reader hears when a filter matches entries. `{count}` is
|
|
@@ -53352,6 +53549,12 @@ export type CustomElements = {
|
|
|
53352
53549
|
* - `helix-filtered`: The filter field changed `filter`, which now holds the text.
|
|
53353
53550
|
* - `toggle`: A reader opened or closed a branch, with `newState` and `oldState`. `expanded` holds every open branch.
|
|
53354
53551
|
*
|
|
53552
|
+
* ## Slots
|
|
53553
|
+
*
|
|
53554
|
+
* Areas where markup can be added to the component.
|
|
53555
|
+
*
|
|
53556
|
+
* - `empty`: Shown in the tree while it has no entries to show. Defaults to `empty-label`, or `no-matches-label` while a filter matched none.
|
|
53557
|
+
*
|
|
53355
53558
|
* ## CSS Custom Properties
|
|
53356
53559
|
*
|
|
53357
53560
|
* CSS variables available for styling the component.
|
|
@@ -53382,6 +53585,7 @@ export type CustomElements = {
|
|
|
53382
53585
|
* - `copy-tooltip-right`: The tooltip while it is right of the copy button. Set alongside `copy-tooltip`.
|
|
53383
53586
|
* - `copy-tooltip-top`: The tooltip while it is above the copy button. Set alongside `copy-tooltip`.
|
|
53384
53587
|
* - `count`: The number of entries a branch holds.
|
|
53588
|
+
* - `empty`: The row shown in the tree while it has no entries to show: no value, or a filter that matched none. It holds the `empty` slot.
|
|
53385
53589
|
* - `frame`: The tree and the copy button beside it.
|
|
53386
53590
|
* - `header`: The bar that holds the label, when there is one.
|
|
53387
53591
|
* - `key`: A property name or an array index.
|
|
@@ -53403,6 +53607,9 @@ export type CustomElements = {
|
|
|
53403
53607
|
*
|
|
53404
53608
|
* These can be used to apply styling when a component is in a given state.
|
|
53405
53609
|
*
|
|
53610
|
+
* - `empty`: While the tree has no entries to show: no value, or a filter that matched none.
|
|
53611
|
+
* - `filtered`: While `filter` holds text.
|
|
53612
|
+
* - `matched`: While `filter` holds text and matched at least one entry.
|
|
53406
53613
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
53407
53614
|
*/
|
|
53408
53615
|
"helix-headless-object-inspector": Partial<
|
|
@@ -59183,6 +59390,8 @@ export type CustomElements = {
|
|
|
59183
59390
|
* | Enter, Space on a sortable heading | Sorts by the column. |
|
|
59184
59391
|
* | Space on a row, Enter or Space on its checkbox cell | Selects the row, in a `selectable` table. |
|
|
59185
59392
|
* | Enter or Space on a disclosure cell | Shows or hides the rows under the row, in a table whose rows nest. |
|
|
59393
|
+
* | Right on a disclosure cell | Shows the rows under a shut row, and otherwise moves one cell along the row. Left does, on a right-to-left page. |
|
|
59394
|
+
* | Left on a disclosure cell | Hides the rows under an open row, and moves to the row this one sits under from any other. |
|
|
59186
59395
|
* | Enter or Space on a grip cell | Picks the row up, or drops it, in a `reorderable` table. Up, Down, Home, and End move a row picked up, and Escape puts it back. |
|
|
59187
59396
|
* | Down, Up, Page Down, Page Up under `selection-behavior="replace"` | Selects the row it moves to alone. Control or Command with the key moves without selecting. |
|
|
59188
59397
|
* | Shift with Down or Up | Selects the rows it moves across, in a `selectable` table. |
|
|
@@ -59419,6 +59628,7 @@ export type CustomElements = {
|
|
|
59419
59628
|
*
|
|
59420
59629
|
* - `empty`: While there are no rows and none are loading.
|
|
59421
59630
|
* - `error`: While `error-text` is set.
|
|
59631
|
+
* - `loading`: While `loading` is set, as the rows are on their way.
|
|
59422
59632
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
59423
59633
|
*/
|
|
59424
59634
|
"helix-headless-table": Partial<
|
|
@@ -63702,6 +63912,9 @@ export type CustomElements = {
|
|
|
63702
63912
|
* These can be used to apply styling when a component is in a given state.
|
|
63703
63913
|
*
|
|
63704
63914
|
* - `current`: The entry that is playing.
|
|
63915
|
+
* - `dragging`: The entry a pointer is dragging, in a `reorderable` playlist.
|
|
63916
|
+
* - `drop-after`: The entry the dragged one would land after, which the drop indicator is drawn under.
|
|
63917
|
+
* - `drop-before`: The entry the dragged one would land before, which the drop indicator is drawn over.
|
|
63705
63918
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
63706
63919
|
*/
|
|
63707
63920
|
"helix-headless-video-playlist-item": Partial<
|
|
@@ -63848,6 +64061,21 @@ export type CustomElements = {
|
|
|
63848
64061
|
* the next or the previous entry. The player's previous and next controls
|
|
63849
64062
|
* move through the entries in the same order the playlist does.
|
|
63850
64063
|
*
|
|
64064
|
+
* **Moving entries.** `reorderable` lets a reader change the order of the
|
|
64065
|
+
* queue:
|
|
64066
|
+
*
|
|
64067
|
+
* - Alt with Up or Down moves the focused entry a place, and Alt with Home or
|
|
64068
|
+
* End moves it to either end, as the APG's rearrangeable listbox does.
|
|
64069
|
+
* Focus stays on it.
|
|
64070
|
+
* - A pointer drags an entry, with a drop indicator, and the page scrolls near
|
|
64071
|
+
* an edge. A press that does not travel still plays the entry.
|
|
64072
|
+
* - A drop sends `helix-before-reorder`, which you can refuse, and then
|
|
64073
|
+
* `helix-reorder`, whose `keys` hold every entry's `value` in the new order.
|
|
64074
|
+
* **You move the entries**: the playlist moves no element of yours, and the
|
|
64075
|
+
* next entry is the one after the current entry in the order you leave.
|
|
64076
|
+
* - Each move is said in the live region, in words you can change:
|
|
64077
|
+
* `moved-label`, `dropped-label`, `canceled-label`, and `picked-up-label`.
|
|
64078
|
+
*
|
|
63851
64079
|
* **What a screen reader hears.** A list named by `label`, with a button for
|
|
63852
64080
|
* each entry. When the playlist moves to another entry, by a press, by the
|
|
63853
64081
|
* player's controls, or at the end of a clip, a live region says
|
|
@@ -63857,17 +64085,29 @@ export type CustomElements = {
|
|
|
63857
64085
|
*
|
|
63858
64086
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
63859
64087
|
*
|
|
64088
|
+
* - `canceled-label`/`canceledLabel`: What screen readers hear when a move is put back, in a `reorderable`
|
|
64089
|
+
* playlist. `{name}` is the entry's words.
|
|
64090
|
+
* - `dropped-label`/`droppedLabel`: What screen readers hear when a moved entry is let go, in a `reorderable`
|
|
64091
|
+
* playlist. `{name}` is the entry's words.
|
|
63860
64092
|
* - `empty-label`/`emptyLabel`: What the playlist says while it has no entries. The `empty` slot replaces it.
|
|
63861
64093
|
* - `label`: The list's name, read by screen readers.
|
|
64094
|
+
* - `moved-label`/`movedLabel`: What screen readers hear each time a key moves an entry, in a
|
|
64095
|
+
* `reorderable` playlist. `{name}` is the entry's words, `{position}` its
|
|
64096
|
+
* new place, counting from 1, and `{count}` the number of entries.
|
|
63862
64097
|
* - `no-advance`/`noAdvance`: Stays on an entry when its clip ends, where the playlist would otherwise
|
|
63863
64098
|
* play the next one. The player's controls, a press, and `next()` still
|
|
63864
64099
|
* move. `repeat="one"` still plays the entry again.
|
|
64100
|
+
* - `picked-up-label`/`pickedUpLabel`: What screen readers hear when a pointer picks up an entry, in a
|
|
64101
|
+
* `reorderable` playlist. `{name}` is the entry's words.
|
|
63865
64102
|
* - `playing-label`/`playingLabel`: What the live region says when the playlist moves to another entry.
|
|
63866
64103
|
* `{title}` is the entry's name.
|
|
63867
64104
|
*
|
|
63868
64105
|
* **A move a reader did not make is said.** At the end of a clip the
|
|
63869
64106
|
* playlist starts the next one, and the only other trace of that is the
|
|
63870
64107
|
* `aria-current` on a button the reader is not on.
|
|
64108
|
+
* - `reorderable`: Lets a reader move the entries, with Alt and the arrow keys or by
|
|
64109
|
+
* dragging one. The playlist moves no entry itself: you move your entries
|
|
64110
|
+
* on `helix-reorder`.
|
|
63871
64111
|
* - `repeat`: What happens when an entry ends with no next one to go to. `one` plays the
|
|
63872
64112
|
* same entry again, and `all` goes from the last entry back to the first.
|
|
63873
64113
|
* Absent, the playlist stops on the last entry and sends `helix-end`.
|
|
@@ -63922,7 +64162,9 @@ export type CustomElements = {
|
|
|
63922
64162
|
*
|
|
63923
64163
|
* - `helix-activate`: The current entry changed. The playlist already holds the new entry when this is sent, and `detail.previous` is the entry it left. `currentEntry` is the entry itself, with its `src`, `poster` and name.
|
|
63924
64164
|
* - `helix-before-activate`: The current entry is about to change, and `detail.cause` says why: `press`, `next`, `previous`, `ended`, or `removed`. Cancelable: cancel it to keep the current entry.
|
|
64165
|
+
* - `helix-before-reorder`: An entry was moved to a new place, in a `reorderable` playlist, with every entry's value in the new order in `detail.keys`. Cancelable: cancel it to keep the entry where it is.
|
|
63925
64166
|
* - `helix-end`: The last entry finished playing, and the playlist stopped there. Not sent while `repeat` is set.
|
|
64167
|
+
* - `helix-reorder`: Fired after `helix-before-reorder` when nobody canceled it. Move your entries to the order in `keys`. Cancelable: cancel it to say the move did not happen.
|
|
63926
64168
|
*
|
|
63927
64169
|
* ## Slots
|
|
63928
64170
|
*
|
|
@@ -67084,8 +67326,12 @@ export type CustomElementsSolidJs = {
|
|
|
67084
67326
|
* region around it.
|
|
67085
67327
|
*
|
|
67086
67328
|
* Set `dismissible` for a note a reader may put away, as Shoelace's `closable`
|
|
67087
|
-
* alert does. The button fires `helix-dismiss
|
|
67088
|
-
*
|
|
67329
|
+
* alert does. The button fires `helix-dismiss`, and unless a listener cancels
|
|
67330
|
+
* it the callout hides itself: `open` turns false, `:state(exiting)` holds
|
|
67331
|
+
* while its exit animations run, and then it is `hidden`. Remove it in your
|
|
67332
|
+
* listener to take it out of the page, or set `open` to show it again, which
|
|
67333
|
+
* holds `:state(entering)` while it comes back. Focus on its dismiss button
|
|
67334
|
+
* moves to the next callout's, or to the tab stop beside it, once it hides.
|
|
67089
67335
|
*
|
|
67090
67336
|
* A callout sets a passage apart inside a document and is read where it sits.
|
|
67091
67337
|
* For page-level chrome above the masthead that is a live region and can be
|
|
@@ -67102,6 +67348,10 @@ export type CustomElementsSolidJs = {
|
|
|
67102
67348
|
* "Dismiss Scheduled maintenance" says which of several callouts the button
|
|
67103
67349
|
* takes away, where every button was "Dismiss". A label without `{label}` is
|
|
67104
67350
|
* read as written.
|
|
67351
|
+
* - `open`: Whether the callout is showing. A dismissal nobody canceled turns it
|
|
67352
|
+
* false and the callout hides itself, and setting it true shows the callout
|
|
67353
|
+
* again. Not reflected: open is the resting state, so an `open` attribute
|
|
67354
|
+
* would appear on markup a server sent without it.
|
|
67105
67355
|
* - `tone`: What kind of attention the passage needs.
|
|
67106
67356
|
*
|
|
67107
67357
|
* `tone` is the axis for what a thing means, and this is a subset of it: a
|
|
@@ -67144,7 +67394,7 @@ export type CustomElementsSolidJs = {
|
|
|
67144
67394
|
*
|
|
67145
67395
|
* Events that will be emitted by the component.
|
|
67146
67396
|
*
|
|
67147
|
-
* - `helix-dismiss`: The dismiss button was pressed.
|
|
67397
|
+
* - `helix-dismiss`: The dismiss button was pressed. Unless a listener cancels it, the callout hides itself, and a listener may remove it instead. Cancelable: cancel it to keep the callout showing.
|
|
67148
67398
|
*
|
|
67149
67399
|
* ## Slots
|
|
67150
67400
|
*
|
|
@@ -67159,7 +67409,8 @@ export type CustomElementsSolidJs = {
|
|
|
67159
67409
|
*
|
|
67160
67410
|
* Methods that can be called to access component functionality.
|
|
67161
67411
|
*
|
|
67162
|
-
* - `dismiss() => boolean`:
|
|
67412
|
+
* - `dismiss() => boolean`: Hides the callout once a dismissal stands, unless the page removed it in
|
|
67413
|
+
* its listener, which is the page's answer and leaves `open` as it was.
|
|
67163
67414
|
*
|
|
67164
67415
|
* ## CSS Parts
|
|
67165
67416
|
*
|
|
@@ -67175,6 +67426,11 @@ export type CustomElementsSolidJs = {
|
|
|
67175
67426
|
*
|
|
67176
67427
|
* These can be used to apply styling when a component is in a given state.
|
|
67177
67428
|
*
|
|
67429
|
+
* - `closed`: While `open` is false: the callout was dismissed, and is leaving or hidden.
|
|
67430
|
+
* - `entering`: While a callout shown again by `open` runs its entrance animations.
|
|
67431
|
+
* - `exiting`: While a dismissed callout runs its exit animations, before it is hidden.
|
|
67432
|
+
* - `has-heading`: Something is slotted into `heading`.
|
|
67433
|
+
* - `has-icon`: An icon of your own is slotted into `icon`, in place of the tone's.
|
|
67178
67434
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
67179
67435
|
*/
|
|
67180
67436
|
"helix-headless-callout": Partial<
|
|
@@ -69431,9 +69687,14 @@ export type CustomElementsSolidJs = {
|
|
|
69431
69687
|
* removed. The block never computes a diff itself. Line numbers come from the
|
|
69432
69688
|
* hunk headers and are hidden from the accessibility tree. Changed lines are
|
|
69433
69689
|
* `<ins>` and `<del>` with the `+` and `-` kept as text, so the change does not
|
|
69434
|
-
* depend on color.
|
|
69690
|
+
* depend on color. Where a removed line is paired with the added line that
|
|
69691
|
+
* replaced it, the words each does not share with the other are the `changed`
|
|
69692
|
+
* part, so the eye goes to what changed within the line. Each file in the patch is its own block under its own name,
|
|
69435
69693
|
* and its copy button copies the new version of the file. `variant="split"`
|
|
69436
69694
|
* shows the old version beside the new, each removal opposite its replacement.
|
|
69695
|
+
* `context-lines` folds each long run of unchanged lines, keeping that many
|
|
69696
|
+
* beside each change, behind a button that shows them and hides them again,
|
|
69697
|
+
* as a code host draws a diff written with more context than a reader needs.
|
|
69437
69698
|
*
|
|
69438
69699
|
* **A block that scrolls is a tab stop.** While its lines run past its width or
|
|
69439
69700
|
* its cap, the scroller is a region named for the block, such as "Code,
|
|
@@ -69463,6 +69724,9 @@ export type CustomElementsSolidJs = {
|
|
|
69463
69724
|
* - `code-name-label`/`codeNameLabel`: The name of a block that scrolls, where the block has a name. `{code}` is
|
|
69464
69725
|
* `code-label` and `{name}` the block's name.
|
|
69465
69726
|
* - `collapse-label`/`collapseLabel`: The expand button's words while the block shows every line.
|
|
69727
|
+
* - `context-lines`/`contextLines`: In a diff, how many unchanged lines to keep beside each change. Each
|
|
69728
|
+
* longer run of unchanged lines is folded behind a button that shows it.
|
|
69729
|
+
* Unset shows every line the diff holds.
|
|
69466
69730
|
* - `copied-label`/`copiedLabel`: The copy button's name and tooltip text after a copy.
|
|
69467
69731
|
* - `copy-label`/`copyLabel`: The copy button's name and tooltip text before a copy.
|
|
69468
69732
|
*
|
|
@@ -69482,6 +69746,9 @@ export type CustomElementsSolidJs = {
|
|
|
69482
69746
|
* the button is drawn only while the cap hides something, measured as the
|
|
69483
69747
|
* block lays out. Not for a diff, whose files each scroll on their own.
|
|
69484
69748
|
* - `expand-label`/`expandLabel`: The expand button's words while the cap hides lines.
|
|
69749
|
+
* - `hide-unchanged-label`/`hideUnchangedLabel`: The words of a button that hides a run of unchanged lines it showed, in a
|
|
69750
|
+
* diff with `context-lines`. `{count}` is how many, and each language
|
|
69751
|
+
* writes the forms it has.
|
|
69485
69752
|
* - `label`: The block's name, usually a file name, drawn in the header.
|
|
69486
69753
|
*
|
|
69487
69754
|
* Absent, the block is named by `language` where there is one. In a diff,
|
|
@@ -69521,6 +69788,8 @@ export type CustomElementsSolidJs = {
|
|
|
69521
69788
|
* `no-copy=""` on hosts that never asked for one, and the rule about a
|
|
69522
69789
|
* reflected property taking no default is satisfied by the default being
|
|
69523
69790
|
* `false`.
|
|
69791
|
+
* - `show-unchanged-label`/`showUnchangedLabel`: The words of a button that shows a folded run of unchanged lines, in a
|
|
69792
|
+
* diff with `context-lines`. `{count}` is how many.
|
|
69524
69793
|
* - `variant`: How a diff's two versions are arranged. It has no effect without `diff`.
|
|
69525
69794
|
*
|
|
69526
69795
|
* Absent is unified, each removal above its replacement, which fits any
|
|
@@ -69611,6 +69880,7 @@ export type CustomElementsSolidJs = {
|
|
|
69611
69880
|
* - `actions`: The box in the header that holds the `actions` slot, drawn while something is slotted there.
|
|
69612
69881
|
* - `added`: In a diff, a line only the new version has, an `<ins>`.
|
|
69613
69882
|
* - `block`: The scrolling `<pre>`.
|
|
69883
|
+
* - `changed`: In a diff, the words of a changed line that the line opposite it does not have, inside its `text`.
|
|
69614
69884
|
* - `code`: The `<code>` inside it.
|
|
69615
69885
|
* - `context`: In a diff, a line both versions share.
|
|
69616
69886
|
* - `copy`: The copy button. It sits in the header when there is one, and beside the code otherwise.
|
|
@@ -69632,6 +69902,7 @@ export type CustomElementsSolidJs = {
|
|
|
69632
69902
|
* - `expand`: The button under a capped block that shows every line, and fewer again. Drawn when `expandable` is set and the cap hides something.
|
|
69633
69903
|
* - `file`: In a diff, one file's header and block.
|
|
69634
69904
|
* - `filler`: In a split diff, the empty row opposite a line the other side does not have.
|
|
69905
|
+
* - `fold`: In a diff with `context-lines`, the button that shows a folded run of unchanged lines, and hides it again, saying which with `aria-expanded`.
|
|
69635
69906
|
* - `frame`: The code, and the copy button beside it where there is no header.
|
|
69636
69907
|
* - `gutter`: The line numbers beside the code, shown when `line-numbers` is set.
|
|
69637
69908
|
* - `header`: The bar that holds the name and the copy button, shown when there is a name.
|
|
@@ -70104,8 +70375,10 @@ export type CustomElementsSolidJs = {
|
|
|
70104
70375
|
* gray after you drag to the bottom of the square and back.
|
|
70105
70376
|
*
|
|
70106
70377
|
* The square is one tab stop. In it, the up and down arrows move brightness
|
|
70107
|
-
* and the left and right arrows move saturation,
|
|
70108
|
-
* brightness by ten
|
|
70378
|
+
* and the left and right arrows move saturation, by ten with Shift. PageUp and
|
|
70379
|
+
* PageDown move brightness by ten, and Home and End move saturation by ten,
|
|
70380
|
+
* turned on a right-to-left page as the arrows are, as React Aria's ColorArea
|
|
70381
|
+
* does. The picker sends `input` as the color moves and `change`
|
|
70109
70382
|
* when a drag, a key, a typed value or a preset settles it, as
|
|
70110
70383
|
* `<input type="color">` does.
|
|
70111
70384
|
*
|
|
@@ -70518,6 +70791,7 @@ export type CustomElementsSolidJs = {
|
|
|
70518
70791
|
* | Key | What it does |
|
|
70519
70792
|
* |---|---|
|
|
70520
70793
|
* | Down, Up | On a closed field, opens the list on the chosen option, or the first or the last. In the open list, moves the highlight, round from the last option to the first. |
|
|
70794
|
+
* | Alt with Down, Alt with Up | Opens the list without moving the highlight, and closes it, choosing nothing. |
|
|
70521
70795
|
* | Page Down, Page Up | In the open list, moves the highlight by as many options as the list shows at once. |
|
|
70522
70796
|
* | Enter | Chooses the highlighted option. With nothing left in the list, creates what was typed with `creatable`, or takes it with `allows-custom-value`. On a closed field, submits the form. |
|
|
70523
70797
|
* | Escape | Closes the list and puts the chosen words back. On a closed field, a second Escape clears a single choice. |
|
|
@@ -71875,6 +72149,7 @@ export type CustomElementsSolidJs = {
|
|
|
71875
72149
|
*
|
|
71876
72150
|
* - `empty`: While there are no rows to show and none are loading.
|
|
71877
72151
|
* - `error`: While `error-text` is set.
|
|
72152
|
+
* - `loading`: While `loading` is set, as the rows are on their way.
|
|
71878
72153
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
71879
72154
|
*/
|
|
71880
72155
|
"helix-headless-data-table": Partial<
|
|
@@ -82109,6 +82384,8 @@ export type CustomElementsSolidJs = {
|
|
|
82109
82384
|
* reader sees the shape of the value before its contents. `0` starts with the
|
|
82110
82385
|
* root closed; a large number opens everything, which on a big value is the
|
|
82111
82386
|
* wall of text this exists to avoid.
|
|
82387
|
+
* - `empty-label`/`emptyLabel`: What the tree says while there is no value to show, such as before a
|
|
82388
|
+
* fetch answers. The `empty` slot replaces it.
|
|
82112
82389
|
* - `filter`: Text the tree is narrowed to: the entries whose key or value holds it,
|
|
82113
82390
|
* ignoring case, and the branches that lead to them. Empty shows everything.
|
|
82114
82391
|
* - `filterable`: Whether to show a field that sets `filter`.
|
|
@@ -82140,6 +82417,8 @@ export type CustomElementsSolidJs = {
|
|
|
82140
82417
|
* who set the property. This button is positioned out of the flow and takes no
|
|
82141
82418
|
* room, so nothing selects on it, and reflection exists so that a selector can
|
|
82142
82419
|
* reach a value.
|
|
82420
|
+
* - `no-matches-label`/`noMatchesLabel`: What the tree says while a filter matched no entry. The `empty` slot
|
|
82421
|
+
* replaces it.
|
|
82143
82422
|
* - `result-label`/`resultLabel`: What a screen reader hears when a filter matches one entry, where
|
|
82144
82423
|
* `results-label` should not say it. `{count}` is the count.
|
|
82145
82424
|
* - `results-label`/`resultsLabel`: What a screen reader hears when a filter matches entries. `{count}` is
|
|
@@ -82201,6 +82480,12 @@ export type CustomElementsSolidJs = {
|
|
|
82201
82480
|
* - `helix-filtered`: The filter field changed `filter`, which now holds the text.
|
|
82202
82481
|
* - `toggle`: A reader opened or closed a branch, with `newState` and `oldState`. `expanded` holds every open branch.
|
|
82203
82482
|
*
|
|
82483
|
+
* ## Slots
|
|
82484
|
+
*
|
|
82485
|
+
* Areas where markup can be added to the component.
|
|
82486
|
+
*
|
|
82487
|
+
* - `empty`: Shown in the tree while it has no entries to show. Defaults to `empty-label`, or `no-matches-label` while a filter matched none.
|
|
82488
|
+
*
|
|
82204
82489
|
* ## CSS Custom Properties
|
|
82205
82490
|
*
|
|
82206
82491
|
* CSS variables available for styling the component.
|
|
@@ -82231,6 +82516,7 @@ export type CustomElementsSolidJs = {
|
|
|
82231
82516
|
* - `copy-tooltip-right`: The tooltip while it is right of the copy button. Set alongside `copy-tooltip`.
|
|
82232
82517
|
* - `copy-tooltip-top`: The tooltip while it is above the copy button. Set alongside `copy-tooltip`.
|
|
82233
82518
|
* - `count`: The number of entries a branch holds.
|
|
82519
|
+
* - `empty`: The row shown in the tree while it has no entries to show: no value, or a filter that matched none. It holds the `empty` slot.
|
|
82234
82520
|
* - `frame`: The tree and the copy button beside it.
|
|
82235
82521
|
* - `header`: The bar that holds the label, when there is one.
|
|
82236
82522
|
* - `key`: A property name or an array index.
|
|
@@ -82252,6 +82538,9 @@ export type CustomElementsSolidJs = {
|
|
|
82252
82538
|
*
|
|
82253
82539
|
* These can be used to apply styling when a component is in a given state.
|
|
82254
82540
|
*
|
|
82541
|
+
* - `empty`: While the tree has no entries to show: no value, or a filter that matched none.
|
|
82542
|
+
* - `filtered`: While `filter` holds text.
|
|
82543
|
+
* - `matched`: While `filter` holds text and matched at least one entry.
|
|
82255
82544
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
82256
82545
|
*/
|
|
82257
82546
|
"helix-headless-object-inspector": Partial<
|
|
@@ -88110,6 +88399,8 @@ export type CustomElementsSolidJs = {
|
|
|
88110
88399
|
* | Enter, Space on a sortable heading | Sorts by the column. |
|
|
88111
88400
|
* | Space on a row, Enter or Space on its checkbox cell | Selects the row, in a `selectable` table. |
|
|
88112
88401
|
* | Enter or Space on a disclosure cell | Shows or hides the rows under the row, in a table whose rows nest. |
|
|
88402
|
+
* | Right on a disclosure cell | Shows the rows under a shut row, and otherwise moves one cell along the row. Left does, on a right-to-left page. |
|
|
88403
|
+
* | Left on a disclosure cell | Hides the rows under an open row, and moves to the row this one sits under from any other. |
|
|
88113
88404
|
* | Enter or Space on a grip cell | Picks the row up, or drops it, in a `reorderable` table. Up, Down, Home, and End move a row picked up, and Escape puts it back. |
|
|
88114
88405
|
* | Down, Up, Page Down, Page Up under `selection-behavior="replace"` | Selects the row it moves to alone. Control or Command with the key moves without selecting. |
|
|
88115
88406
|
* | Shift with Down or Up | Selects the rows it moves across, in a `selectable` table. |
|
|
@@ -88346,6 +88637,7 @@ export type CustomElementsSolidJs = {
|
|
|
88346
88637
|
*
|
|
88347
88638
|
* - `empty`: While there are no rows and none are loading.
|
|
88348
88639
|
* - `error`: While `error-text` is set.
|
|
88640
|
+
* - `loading`: While `loading` is set, as the rows are on their way.
|
|
88349
88641
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
88350
88642
|
*/
|
|
88351
88643
|
"helix-headless-table": Partial<
|
|
@@ -92693,6 +92985,9 @@ export type CustomElementsSolidJs = {
|
|
|
92693
92985
|
* These can be used to apply styling when a component is in a given state.
|
|
92694
92986
|
*
|
|
92695
92987
|
* - `current`: The entry that is playing.
|
|
92988
|
+
* - `dragging`: The entry a pointer is dragging, in a `reorderable` playlist.
|
|
92989
|
+
* - `drop-after`: The entry the dragged one would land after, which the drop indicator is drawn under.
|
|
92990
|
+
* - `drop-before`: The entry the dragged one would land before, which the drop indicator is drawn over.
|
|
92696
92991
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
92697
92992
|
*/
|
|
92698
92993
|
"helix-headless-video-playlist-item": Partial<
|
|
@@ -92841,6 +93136,21 @@ export type CustomElementsSolidJs = {
|
|
|
92841
93136
|
* the next or the previous entry. The player's previous and next controls
|
|
92842
93137
|
* move through the entries in the same order the playlist does.
|
|
92843
93138
|
*
|
|
93139
|
+
* **Moving entries.** `reorderable` lets a reader change the order of the
|
|
93140
|
+
* queue:
|
|
93141
|
+
*
|
|
93142
|
+
* - Alt with Up or Down moves the focused entry a place, and Alt with Home or
|
|
93143
|
+
* End moves it to either end, as the APG's rearrangeable listbox does.
|
|
93144
|
+
* Focus stays on it.
|
|
93145
|
+
* - A pointer drags an entry, with a drop indicator, and the page scrolls near
|
|
93146
|
+
* an edge. A press that does not travel still plays the entry.
|
|
93147
|
+
* - A drop sends `helix-before-reorder`, which you can refuse, and then
|
|
93148
|
+
* `helix-reorder`, whose `keys` hold every entry's `value` in the new order.
|
|
93149
|
+
* **You move the entries**: the playlist moves no element of yours, and the
|
|
93150
|
+
* next entry is the one after the current entry in the order you leave.
|
|
93151
|
+
* - Each move is said in the live region, in words you can change:
|
|
93152
|
+
* `moved-label`, `dropped-label`, `canceled-label`, and `picked-up-label`.
|
|
93153
|
+
*
|
|
92844
93154
|
* **What a screen reader hears.** A list named by `label`, with a button for
|
|
92845
93155
|
* each entry. When the playlist moves to another entry, by a press, by the
|
|
92846
93156
|
* player's controls, or at the end of a clip, a live region says
|
|
@@ -92850,17 +93160,29 @@ export type CustomElementsSolidJs = {
|
|
|
92850
93160
|
*
|
|
92851
93161
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
92852
93162
|
*
|
|
93163
|
+
* - `canceled-label`/`canceledLabel`: What screen readers hear when a move is put back, in a `reorderable`
|
|
93164
|
+
* playlist. `{name}` is the entry's words.
|
|
93165
|
+
* - `dropped-label`/`droppedLabel`: What screen readers hear when a moved entry is let go, in a `reorderable`
|
|
93166
|
+
* playlist. `{name}` is the entry's words.
|
|
92853
93167
|
* - `empty-label`/`emptyLabel`: What the playlist says while it has no entries. The `empty` slot replaces it.
|
|
92854
93168
|
* - `label`: The list's name, read by screen readers.
|
|
93169
|
+
* - `moved-label`/`movedLabel`: What screen readers hear each time a key moves an entry, in a
|
|
93170
|
+
* `reorderable` playlist. `{name}` is the entry's words, `{position}` its
|
|
93171
|
+
* new place, counting from 1, and `{count}` the number of entries.
|
|
92855
93172
|
* - `no-advance`/`noAdvance`: Stays on an entry when its clip ends, where the playlist would otherwise
|
|
92856
93173
|
* play the next one. The player's controls, a press, and `next()` still
|
|
92857
93174
|
* move. `repeat="one"` still plays the entry again.
|
|
93175
|
+
* - `picked-up-label`/`pickedUpLabel`: What screen readers hear when a pointer picks up an entry, in a
|
|
93176
|
+
* `reorderable` playlist. `{name}` is the entry's words.
|
|
92858
93177
|
* - `playing-label`/`playingLabel`: What the live region says when the playlist moves to another entry.
|
|
92859
93178
|
* `{title}` is the entry's name.
|
|
92860
93179
|
*
|
|
92861
93180
|
* **A move a reader did not make is said.** At the end of a clip the
|
|
92862
93181
|
* playlist starts the next one, and the only other trace of that is the
|
|
92863
93182
|
* `aria-current` on a button the reader is not on.
|
|
93183
|
+
* - `reorderable`: Lets a reader move the entries, with Alt and the arrow keys or by
|
|
93184
|
+
* dragging one. The playlist moves no entry itself: you move your entries
|
|
93185
|
+
* on `helix-reorder`.
|
|
92864
93186
|
* - `repeat`: What happens when an entry ends with no next one to go to. `one` plays the
|
|
92865
93187
|
* same entry again, and `all` goes from the last entry back to the first.
|
|
92866
93188
|
* Absent, the playlist stops on the last entry and sends `helix-end`.
|
|
@@ -92915,7 +93237,9 @@ export type CustomElementsSolidJs = {
|
|
|
92915
93237
|
*
|
|
92916
93238
|
* - `helix-activate`: The current entry changed. The playlist already holds the new entry when this is sent, and `detail.previous` is the entry it left. `currentEntry` is the entry itself, with its `src`, `poster` and name.
|
|
92917
93239
|
* - `helix-before-activate`: The current entry is about to change, and `detail.cause` says why: `press`, `next`, `previous`, `ended`, or `removed`. Cancelable: cancel it to keep the current entry.
|
|
93240
|
+
* - `helix-before-reorder`: An entry was moved to a new place, in a `reorderable` playlist, with every entry's value in the new order in `detail.keys`. Cancelable: cancel it to keep the entry where it is.
|
|
92918
93241
|
* - `helix-end`: The last entry finished playing, and the playlist stopped there. Not sent while `repeat` is set.
|
|
93242
|
+
* - `helix-reorder`: Fired after `helix-before-reorder` when nobody canceled it. Move your entries to the order in `keys`. Cancelable: cancel it to say the move did not happen.
|
|
92919
93243
|
*
|
|
92920
93244
|
* ## Slots
|
|
92921
93245
|
*
|