@fusion.dev/helix 0.166.0 → 0.167.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 +2583 -477
- package/dist/canvas/root/canvas-root.css.js +1 -1
- package/dist/canvas/root/canvas-root.d.ts +2 -0
- package/dist/canvas/root/canvas-root.js +1 -0
- package/dist/chat/composer/chat-composer.css.js +1 -1
- package/dist/color-picker/root/color-picker-root.css.js +2 -2
- package/dist/combobox/root/combobox-root.d.ts +1 -1
- package/dist/combobox/root/combobox-root.js +1 -1
- package/dist/command/root/command-root.css.js +1 -1
- package/dist/element-events.generated.js +2 -0
- package/dist/file-input/root/file-input-root.d.ts +1 -1
- package/dist/file-input/root/file-input-root.js +1 -1
- package/dist/graph/root/graph-root.css.js +1 -1
- package/dist/listbox/root/listbox-root.css.js +1 -1
- package/dist/object-inspector/root/object-inspector-root.css.js +1 -1
- package/dist/sandbox/source/sandbox-source.css.js +1 -1
- package/dist/sandbox/terminal/sandbox-terminal.css.js +1 -1
- package/dist/shared/field/field-frame.css.js +1 -1
- package/dist/shared/field/field-segments.css.js +1 -1
- package/dist/table/root/table-root.css.js +7 -1
- package/dist/table/root/table-root.d.ts +4 -0
- package/dist/time-picker/root/time-picker-root.css.js +1 -1
- package/dist/time-picker/root/time-picker-root.d.ts +1 -0
- package/dist/virtual-list/root/virtual-list-root.css.js +1 -1
- package/dist/virtual-list/root/virtual-list-root.d.ts +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +383 -63
- package/types/vue.d.ts +89 -2
- package/types/words.d.ts +27 -0
package/types/jsx.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import type {
|
|
|
21
21
|
HelixBeforeMoveEvent,
|
|
22
22
|
HelixBeforeOpenEvent,
|
|
23
23
|
HelixBeforePanelResizeEvent,
|
|
24
|
+
HelixBeforePasteEvent,
|
|
24
25
|
HelixBeforePinEvent,
|
|
25
26
|
HelixBeforeReconnectEvent,
|
|
26
27
|
HelixBeforeRelabelEvent,
|
|
@@ -158,6 +159,7 @@ import type {
|
|
|
158
159
|
HelixPaginationSize,
|
|
159
160
|
HelixPaginationSummary,
|
|
160
161
|
HelixPanelResizeEvent,
|
|
162
|
+
HelixPastedEvent,
|
|
161
163
|
HelixPinEvent,
|
|
162
164
|
HelixPinInput,
|
|
163
165
|
HelixPopover,
|
|
@@ -4309,6 +4311,9 @@ export type HelixCanvasElementEvent<E = Event> = TypedEvent<HelixCanvas, E>;
|
|
|
4309
4311
|
/** `helix-before-move` event type */
|
|
4310
4312
|
export type HelixCanvasHelixBeforeMoveElementEvent =
|
|
4311
4313
|
HelixCanvasElementEvent<HelixBeforeMoveEvent>;
|
|
4314
|
+
/** `helix-before-paste` event type */
|
|
4315
|
+
export type HelixCanvasHelixBeforePasteElementEvent =
|
|
4316
|
+
HelixCanvasElementEvent<HelixBeforePasteEvent>;
|
|
4312
4317
|
/** `helix-before-reconnect` event type */
|
|
4313
4318
|
export type HelixCanvasHelixBeforeReconnectElementEvent =
|
|
4314
4319
|
HelixCanvasElementEvent<HelixBeforeReconnectEvent>;
|
|
@@ -4333,6 +4338,9 @@ export type HelixCanvasHelixConnectElementEvent =
|
|
|
4333
4338
|
/** `helix-move` event type */
|
|
4334
4339
|
export type HelixCanvasHelixMoveElementEvent =
|
|
4335
4340
|
HelixCanvasElementEvent<HelixMoveEvent>;
|
|
4341
|
+
/** `helix-pasted` event type */
|
|
4342
|
+
export type HelixCanvasHelixPastedElementEvent =
|
|
4343
|
+
HelixCanvasElementEvent<HelixPastedEvent>;
|
|
4336
4344
|
/** `helix-reconnect` event type */
|
|
4337
4345
|
export type HelixCanvasHelixReconnectElementEvent =
|
|
4338
4346
|
HelixCanvasElementEvent<HelixReconnectEvent>;
|
|
@@ -4505,6 +4513,10 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
4505
4513
|
/** The hint shown when the board, waiting to be pressed with
|
|
4506
4514
|
`gestures="activate"`, is scrolled or swiped over. */
|
|
4507
4515
|
activateHintLabel?: (HelixCanvas["activateHintLabel"]) | undefined;
|
|
4516
|
+
/** What screen readers hear after `arrange()` moves the cards. */
|
|
4517
|
+
"arranged-label"?: (HelixCanvas["arrangedLabel"]) | undefined;
|
|
4518
|
+
/** What screen readers hear after `arrange()` moves the cards. */
|
|
4519
|
+
arrangedLabel?: (HelixCanvas["arrangedLabel"]) | undefined;
|
|
4508
4520
|
/** The text read with a card to say where its connections come from, with `{cards}`. */
|
|
4509
4521
|
"comes-from-label"?: (HelixCanvas["comesFromLabel"]) | undefined;
|
|
4510
4522
|
/** The text read with a card to say where its connections come from, with `{cards}`. */
|
|
@@ -4603,6 +4615,10 @@ on a board that is a flow is the order its author meant.
|
|
|
4603
4615
|
Absent is spatial, a resting value being an attribute's absence: a default
|
|
4604
4616
|
that reflected would write a choice onto every host that no server sent. */
|
|
4605
4617
|
order?: (HelixCanvas["order"]) | undefined;
|
|
4618
|
+
/** What screen readers hear after a paste, with `{count}` for the cards pasted. */
|
|
4619
|
+
"pasted-label"?: (HelixCanvas["pastedLabel"]) | undefined;
|
|
4620
|
+
/** What screen readers hear after a paste, with `{count}` for the cards pasted. */
|
|
4621
|
+
pastedLabel?: (HelixCanvas["pastedLabel"]) | undefined;
|
|
4606
4622
|
/** The route every connection takes when it sets no `path` of its own:
|
|
4607
4623
|
`straight`, or `step` for right angles.
|
|
4608
4624
|
|
|
@@ -4636,6 +4652,14 @@ walk the cards. */
|
|
|
4636
4652
|
"redone-label"?: (HelixCanvas["redoneLabel"]) | undefined;
|
|
4637
4653
|
/** What screen readers hear after a move or a resize is made again. */
|
|
4638
4654
|
redoneLabel?: (HelixCanvas["redoneLabel"]) | undefined;
|
|
4655
|
+
/** What screen readers hear when Delete asks to remove what is selected, with
|
|
4656
|
+
`{count}` for how many cards and connections, and `{name}` for the one
|
|
4657
|
+
where there is one. */
|
|
4658
|
+
"removed-label"?: (HelixCanvas["removedLabel"]) | undefined;
|
|
4659
|
+
/** What screen readers hear when Delete asks to remove what is selected, with
|
|
4660
|
+
`{count}` for how many cards and connections, and `{name}` for the one
|
|
4661
|
+
where there is one. */
|
|
4662
|
+
removedLabel?: (HelixCanvas["removedLabel"]) | undefined;
|
|
4639
4663
|
/** What screen readers hear after a key resizes a card, with `{name}` for the
|
|
4640
4664
|
card and `{width}` and `{height}` for its new size, in the document's
|
|
4641
4665
|
units. */
|
|
@@ -4779,6 +4803,8 @@ it rather than fitting the board again. */
|
|
|
4779
4803
|
|
|
4780
4804
|
/** Cards are about to move. Cancelable: cancel it to keep the positions in your own state. */
|
|
4781
4805
|
"onhelix-before-move"?: ((e: HelixCanvasHelixBeforeMoveElementEvent) => void) | undefined;
|
|
4806
|
+
/** Cards and connections are about to be pasted. Cancelable: cancel it to add the detail's document to your own state. */
|
|
4807
|
+
"onhelix-before-paste"?: ((e: HelixCanvasHelixBeforePasteElementEvent) => void) | undefined;
|
|
4782
4808
|
/** A connection's end is about to move to another card or side. Cancelable: cancel it to keep connections in your own state. */
|
|
4783
4809
|
"onhelix-before-reconnect"?: ((
|
|
4784
4810
|
e: HelixCanvasHelixBeforeReconnectElementEvent,
|
|
@@ -4799,6 +4825,8 @@ it rather than fitting the board again. */
|
|
|
4799
4825
|
"onhelix-connect"?: ((e: HelixCanvasHelixConnectElementEvent) => void) | undefined;
|
|
4800
4826
|
/** Cards moved and the move is finished: a drag was released, a click put a card down, or a key was pressed. */
|
|
4801
4827
|
"onhelix-move"?: ((e: HelixCanvasHelixMoveElementEvent) => void) | undefined;
|
|
4828
|
+
/** Cards and connections were pasted, and the board holds them. */
|
|
4829
|
+
"onhelix-pasted"?: ((e: HelixCanvasHelixPastedElementEvent) => void) | undefined;
|
|
4802
4830
|
/** A connection's end moved, and the move is finished. */
|
|
4803
4831
|
"onhelix-reconnect"?: ((e: HelixCanvasHelixReconnectElementEvent) => void) | undefined;
|
|
4804
4832
|
/** A connection's label or a group's name changed. */
|
|
@@ -4968,6 +4996,10 @@ at any zoom, and a consumer who wants their own units multiplies by them. */
|
|
|
4968
4996
|
/** The hint shown when the board, waiting to be pressed with
|
|
4969
4997
|
`gestures="activate"`, is scrolled or swiped over. */
|
|
4970
4998
|
"prop:activateHintLabel"?: (HelixCanvas["activateHintLabel"]) | undefined;
|
|
4999
|
+
/** What screen readers hear after `arrange()` moves the cards. */
|
|
5000
|
+
"attr:arranged-label"?: (HelixCanvas["arrangedLabel"]) | undefined;
|
|
5001
|
+
/** What screen readers hear after `arrange()` moves the cards. */
|
|
5002
|
+
"prop:arrangedLabel"?: (HelixCanvas["arrangedLabel"]) | undefined;
|
|
4971
5003
|
/** The text read with a card to say where its connections come from, with `{cards}`. */
|
|
4972
5004
|
"attr:comes-from-label"?: (HelixCanvas["comesFromLabel"]) | undefined;
|
|
4973
5005
|
/** The text read with a card to say where its connections come from, with `{cards}`. */
|
|
@@ -5066,6 +5098,10 @@ on a board that is a flow is the order its author meant.
|
|
|
5066
5098
|
Absent is spatial, a resting value being an attribute's absence: a default
|
|
5067
5099
|
that reflected would write a choice onto every host that no server sent. */
|
|
5068
5100
|
"prop:order"?: (HelixCanvas["order"]) | undefined;
|
|
5101
|
+
/** What screen readers hear after a paste, with `{count}` for the cards pasted. */
|
|
5102
|
+
"attr:pasted-label"?: (HelixCanvas["pastedLabel"]) | undefined;
|
|
5103
|
+
/** What screen readers hear after a paste, with `{count}` for the cards pasted. */
|
|
5104
|
+
"prop:pastedLabel"?: (HelixCanvas["pastedLabel"]) | undefined;
|
|
5069
5105
|
/** The route every connection takes when it sets no `path` of its own:
|
|
5070
5106
|
`straight`, or `step` for right angles.
|
|
5071
5107
|
|
|
@@ -5099,6 +5135,14 @@ walk the cards. */
|
|
|
5099
5135
|
"attr:redone-label"?: (HelixCanvas["redoneLabel"]) | undefined;
|
|
5100
5136
|
/** What screen readers hear after a move or a resize is made again. */
|
|
5101
5137
|
"prop:redoneLabel"?: (HelixCanvas["redoneLabel"]) | undefined;
|
|
5138
|
+
/** What screen readers hear when Delete asks to remove what is selected, with
|
|
5139
|
+
`{count}` for how many cards and connections, and `{name}` for the one
|
|
5140
|
+
where there is one. */
|
|
5141
|
+
"attr:removed-label"?: (HelixCanvas["removedLabel"]) | undefined;
|
|
5142
|
+
/** What screen readers hear when Delete asks to remove what is selected, with
|
|
5143
|
+
`{count}` for how many cards and connections, and `{name}` for the one
|
|
5144
|
+
where there is one. */
|
|
5145
|
+
"prop:removedLabel"?: (HelixCanvas["removedLabel"]) | undefined;
|
|
5102
5146
|
/** What screen readers hear after a key resizes a card, with `{name}` for the
|
|
5103
5147
|
card and `{width}` and `{height}` for its new size, in the document's
|
|
5104
5148
|
units. */
|
|
@@ -5241,6 +5285,10 @@ it rather than fitting the board again. */
|
|
|
5241
5285
|
"prop:view"?: (HelixCanvas["view"]) | undefined;
|
|
5242
5286
|
/** Cards are about to move. Cancelable: cancel it to keep the positions in your own state. */
|
|
5243
5287
|
"on:helix-before-move"?: ((e: HelixCanvasHelixBeforeMoveElementEvent) => void) | undefined;
|
|
5288
|
+
/** Cards and connections are about to be pasted. Cancelable: cancel it to add the detail's document to your own state. */
|
|
5289
|
+
"on:helix-before-paste"?: ((
|
|
5290
|
+
e: HelixCanvasHelixBeforePasteElementEvent,
|
|
5291
|
+
) => void) | undefined;
|
|
5244
5292
|
/** A connection's end is about to move to another card or side. Cancelable: cancel it to keep connections in your own state. */
|
|
5245
5293
|
"on:helix-before-reconnect"?: ((
|
|
5246
5294
|
e: HelixCanvasHelixBeforeReconnectElementEvent,
|
|
@@ -5261,6 +5309,8 @@ it rather than fitting the board again. */
|
|
|
5261
5309
|
"on:helix-connect"?: ((e: HelixCanvasHelixConnectElementEvent) => void) | undefined;
|
|
5262
5310
|
/** Cards moved and the move is finished: a drag was released, a click put a card down, or a key was pressed. */
|
|
5263
5311
|
"on:helix-move"?: ((e: HelixCanvasHelixMoveElementEvent) => void) | undefined;
|
|
5312
|
+
/** Cards and connections were pasted, and the board holds them. */
|
|
5313
|
+
"on:helix-pasted"?: ((e: HelixCanvasHelixPastedElementEvent) => void) | undefined;
|
|
5264
5314
|
/** A connection's end moved, and the move is finished. */
|
|
5265
5315
|
"on:helix-reconnect"?: ((e: HelixCanvasHelixReconnectElementEvent) => void) | undefined;
|
|
5266
5316
|
/** A connection's label or a group's name changed. */
|
|
@@ -16302,7 +16352,8 @@ such as `buddhist` for `th-TH`, and `gregory` for every other, such as
|
|
|
16302
16352
|
`persian` for `fa-IR`, so a date written here reads as the same date a
|
|
16303
16353
|
Date Picker beside it shows. Write `calendar="persian"` for Mehr 14, 1405. */
|
|
16304
16354
|
calendar?: (HelixFormatDate["calendar"]) | undefined;
|
|
16305
|
-
/** The timestamp,
|
|
16355
|
+
/** The timestamp: a `Date`, milliseconds since the epoch, or a string in any
|
|
16356
|
+
format `Date` can parse. The attribute is the string.
|
|
16306
16357
|
|
|
16307
16358
|
An ISO string is what an API sends and what `<time datetime>` takes, so it
|
|
16308
16359
|
is the shape that needs no translation at either end. Left unset this
|
|
@@ -16446,7 +16497,8 @@ such as `buddhist` for `th-TH`, and `gregory` for every other, such as
|
|
|
16446
16497
|
`persian` for `fa-IR`, so a date written here reads as the same date a
|
|
16447
16498
|
Date Picker beside it shows. Write `calendar="persian"` for Mehr 14, 1405. */
|
|
16448
16499
|
"prop:calendar"?: (HelixFormatDate["calendar"]) | undefined;
|
|
16449
|
-
/** The timestamp,
|
|
16500
|
+
/** The timestamp: a `Date`, milliseconds since the epoch, or a string in any
|
|
16501
|
+
format `Date` can parse. The attribute is the string.
|
|
16450
16502
|
|
|
16451
16503
|
An ISO string is what an API sends and what `<time datetime>` takes, so it
|
|
16452
16504
|
is the shape that needs no translation at either end. Left unset this
|
|
@@ -33901,6 +33953,15 @@ order has its whole sentence. `{order}` is the deprecated
|
|
|
33901
33953
|
"unsorted-label"?: (HelixTable["unsortedLabel"]) | undefined;
|
|
33902
33954
|
/** What screen readers hear when the table stops being sorted. */
|
|
33903
33955
|
unsortedLabel?: (HelixTable["unsortedLabel"]) | undefined;
|
|
33956
|
+
/** Draws only the rows in view, with empty space in place of the rest, as
|
|
33957
|
+
Data Table's `windowed` does. The table's box then scrolls, at the
|
|
33958
|
+
height `--table-block-size` gives it in the styled tier, and the
|
|
33959
|
+
headings stick to its top.
|
|
33960
|
+
|
|
33961
|
+
Off by default. Windowing costs a scroll listener, a measurement per row
|
|
33962
|
+
drawn, and a height on the table, and a table of twenty rows should pay
|
|
33963
|
+
none of them. */
|
|
33964
|
+
windowed?: (HelixTable["windowed"]) | undefined;
|
|
33904
33965
|
|
|
33905
33966
|
/** Fired when a row is dropped at a new place, in a `reorderable` table, with every row's key in the new order. Cancelable: cancel it to keep the row where it is. */
|
|
33906
33967
|
"onhelix-before-reorder"?: ((
|
|
@@ -34155,6 +34216,15 @@ order has its whole sentence. `{order}` is the deprecated
|
|
|
34155
34216
|
"attr:unsorted-label"?: (HelixTable["unsortedLabel"]) | undefined;
|
|
34156
34217
|
/** What screen readers hear when the table stops being sorted. */
|
|
34157
34218
|
"prop:unsortedLabel"?: (HelixTable["unsortedLabel"]) | undefined;
|
|
34219
|
+
/** Draws only the rows in view, with empty space in place of the rest, as
|
|
34220
|
+
Data Table's `windowed` does. The table's box then scrolls, at the
|
|
34221
|
+
height `--table-block-size` gives it in the styled tier, and the
|
|
34222
|
+
headings stick to its top.
|
|
34223
|
+
|
|
34224
|
+
Off by default. Windowing costs a scroll listener, a measurement per row
|
|
34225
|
+
drawn, and a height on the table, and a table of twenty rows should pay
|
|
34226
|
+
none of them. */
|
|
34227
|
+
"prop:windowed"?: (HelixTable["windowed"]) | undefined;
|
|
34158
34228
|
/** Fired when a row is dropped at a new place, in a `reorderable` table, with every row's key in the new order. Cancelable: cancel it to keep the row where it is. */
|
|
34159
34229
|
"on:helix-before-reorder"?: ((
|
|
34160
34230
|
e: HelixTableHelixBeforeReorderElementEvent,
|
|
@@ -36491,6 +36561,12 @@ and a wheel has exactly one value by construction. Rather than draw
|
|
|
36491
36561
|
something that cannot say what it holds, `wheels` renders as a list
|
|
36492
36562
|
whenever a mode is set. */
|
|
36493
36563
|
mode?: (HelixTimePicker["mode"]) | undefined;
|
|
36564
|
+
/** The words on the button that chooses the current time, drawn with
|
|
36565
|
+
`show-now`. */
|
|
36566
|
+
"now-label"?: (HelixTimePicker["nowLabel"]) | undefined;
|
|
36567
|
+
/** The words on the button that chooses the current time, drawn with
|
|
36568
|
+
`show-now`. */
|
|
36569
|
+
nowLabel?: (HelixTimePicker["nowLabel"]) | undefined;
|
|
36494
36570
|
/** The validation message for a time after `max`. `{max}` is replaced with
|
|
36495
36571
|
`max`, written in `locale`. */
|
|
36496
36572
|
"range-overflow-message"?: (HelixTimePicker["rangeOverflowMessage"]) | undefined;
|
|
@@ -36547,6 +36623,22 @@ wheels take a column of seconds, and `step` counts seconds, the unit
|
|
|
36547
36623
|
rows, so give `seconds` a `step` and bounds that keep it a list, or use
|
|
36548
36624
|
the wheels. */
|
|
36549
36625
|
seconds?: (HelixTimePicker["seconds"]) | undefined;
|
|
36626
|
+
/** Draws a button under the times that chooses the current time, as
|
|
36627
|
+
`selectNow()` does.
|
|
36628
|
+
|
|
36629
|
+
For a form about something happening now, such as a shift starting or a
|
|
36630
|
+
dose taken, where the reader would otherwise scroll to the time on the
|
|
36631
|
+
clock. The button is a tab stop after the times, and its words are
|
|
36632
|
+
`now-label`. */
|
|
36633
|
+
"show-now"?: (HelixTimePicker["showNow"]) | undefined;
|
|
36634
|
+
/** Draws a button under the times that chooses the current time, as
|
|
36635
|
+
`selectNow()` does.
|
|
36636
|
+
|
|
36637
|
+
For a form about something happening now, such as a shift starting or a
|
|
36638
|
+
dose taken, where the reader would otherwise scroll to the time on the
|
|
36639
|
+
clock. The button is a tab stop after the times, and its words are
|
|
36640
|
+
`now-label`. */
|
|
36641
|
+
showNow?: (HelixTimePicker["showNow"]) | undefined;
|
|
36550
36642
|
/** How far apart the offered times are, in minutes, or in seconds with
|
|
36551
36643
|
`seconds`.
|
|
36552
36644
|
|
|
@@ -36805,6 +36897,12 @@ and a wheel has exactly one value by construction. Rather than draw
|
|
|
36805
36897
|
something that cannot say what it holds, `wheels` renders as a list
|
|
36806
36898
|
whenever a mode is set. */
|
|
36807
36899
|
"prop:mode"?: (HelixTimePicker["mode"]) | undefined;
|
|
36900
|
+
/** The words on the button that chooses the current time, drawn with
|
|
36901
|
+
`show-now`. */
|
|
36902
|
+
"attr:now-label"?: (HelixTimePicker["nowLabel"]) | undefined;
|
|
36903
|
+
/** The words on the button that chooses the current time, drawn with
|
|
36904
|
+
`show-now`. */
|
|
36905
|
+
"prop:nowLabel"?: (HelixTimePicker["nowLabel"]) | undefined;
|
|
36808
36906
|
/** The validation message for a time after `max`. `{max}` is replaced with
|
|
36809
36907
|
`max`, written in `locale`. */
|
|
36810
36908
|
"attr:range-overflow-message"?: (HelixTimePicker["rangeOverflowMessage"]) | undefined;
|
|
@@ -36861,6 +36959,22 @@ wheels take a column of seconds, and `step` counts seconds, the unit
|
|
|
36861
36959
|
rows, so give `seconds` a `step` and bounds that keep it a list, or use
|
|
36862
36960
|
the wheels. */
|
|
36863
36961
|
"prop:seconds"?: (HelixTimePicker["seconds"]) | undefined;
|
|
36962
|
+
/** Draws a button under the times that chooses the current time, as
|
|
36963
|
+
`selectNow()` does.
|
|
36964
|
+
|
|
36965
|
+
For a form about something happening now, such as a shift starting or a
|
|
36966
|
+
dose taken, where the reader would otherwise scroll to the time on the
|
|
36967
|
+
clock. The button is a tab stop after the times, and its words are
|
|
36968
|
+
`now-label`. */
|
|
36969
|
+
"bool:show-now"?: (HelixTimePicker["showNow"]) | undefined;
|
|
36970
|
+
/** Draws a button under the times that chooses the current time, as
|
|
36971
|
+
`selectNow()` does.
|
|
36972
|
+
|
|
36973
|
+
For a form about something happening now, such as a shift starting or a
|
|
36974
|
+
dose taken, where the reader would otherwise scroll to the time on the
|
|
36975
|
+
clock. The button is a tab stop after the times, and its words are
|
|
36976
|
+
`now-label`. */
|
|
36977
|
+
"prop:showNow"?: (HelixTimePicker["showNow"]) | undefined;
|
|
36864
36978
|
/** How far apart the offered times are, in minutes, or in seconds with
|
|
36865
36979
|
`seconds`.
|
|
36866
36980
|
|
|
@@ -40877,6 +40991,23 @@ follows the box as it resizes, which `columns` then does not decide. */
|
|
|
40877
40991
|
out as many columns as fit the box at that width, at least one, and
|
|
40878
40992
|
follows the box as it resizes, which `columns` then does not decide. */
|
|
40879
40993
|
minColumnWidth?: (HelixVirtualList["minColumnWidth"]) | undefined;
|
|
40994
|
+
/** Which way the list runs. `horizontal` lays the items out along a line
|
|
40995
|
+
and scrolls it sideways: Left and Right move between items, the other
|
|
40996
|
+
way round on a right-to-left page, and `estimate` is an item's width. A
|
|
40997
|
+
grid always runs down. */
|
|
40998
|
+
orientation?: (HelixVirtualList["orientation"]) | undefined;
|
|
40999
|
+
/** The field of each item that names its section, as a key or a path of
|
|
41000
|
+
keys. Set, the items are drawn in sections: a header, then the items, in
|
|
41001
|
+
an element with the `group` role that the header names. A section starts
|
|
41002
|
+
wherever the field changes, so give the items in order. A list of one
|
|
41003
|
+
column only. */
|
|
41004
|
+
"section-field"?: (HelixVirtualList["sectionField"]) | undefined;
|
|
41005
|
+
/** The field of each item that names its section, as a key or a path of
|
|
41006
|
+
keys. Set, the items are drawn in sections: a header, then the items, in
|
|
41007
|
+
an element with the `group` role that the header names. A section starts
|
|
41008
|
+
wherever the field changes, so give the items in order. A list of one
|
|
41009
|
+
column only. */
|
|
41010
|
+
sectionField?: (HelixVirtualList["sectionField"]) | undefined;
|
|
40880
41011
|
/** What a press does to the items already chosen: `toggle` adds or takes out
|
|
40881
41012
|
the item, and `replace` selects it alone and lets the arrow keys carry the
|
|
40882
41013
|
selection, with Control or Command adding or taking out one item. */
|
|
@@ -40919,6 +41050,10 @@ It returns what Lit renders: a template from `html`, a string, or a DOM
|
|
|
40919
41050
|
node. The list wraps each result in a `<div>` that carries the row's role
|
|
40920
41051
|
and place in the set. Where it is unset, the row `<template>` is used. */
|
|
40921
41052
|
renderItem?: (HelixVirtualList["renderItem"]) | undefined;
|
|
41053
|
+
/** Draws each section's header, given its name and its place among the
|
|
41054
|
+
sections, for a list given `section-field`. Set it as a property. Where
|
|
41055
|
+
it is unset, the header is the name as text. */
|
|
41056
|
+
renderSection?: (HelixVirtualList["renderSection"]) | undefined;
|
|
40922
41057
|
|
|
40923
41058
|
/** Fired once a press or a key has changed which items are selected, in a list with `selection-mode`. */
|
|
40924
41059
|
onchange?: ((e: HelixVirtualListElementEvent) => void) | undefined;
|
|
@@ -41007,6 +41142,23 @@ follows the box as it resizes, which `columns` then does not decide. */
|
|
|
41007
41142
|
out as many columns as fit the box at that width, at least one, and
|
|
41008
41143
|
follows the box as it resizes, which `columns` then does not decide. */
|
|
41009
41144
|
"prop:minColumnWidth"?: (HelixVirtualList["minColumnWidth"]) | undefined;
|
|
41145
|
+
/** Which way the list runs. `horizontal` lays the items out along a line
|
|
41146
|
+
and scrolls it sideways: Left and Right move between items, the other
|
|
41147
|
+
way round on a right-to-left page, and `estimate` is an item's width. A
|
|
41148
|
+
grid always runs down. */
|
|
41149
|
+
"prop:orientation"?: (HelixVirtualList["orientation"]) | undefined;
|
|
41150
|
+
/** The field of each item that names its section, as a key or a path of
|
|
41151
|
+
keys. Set, the items are drawn in sections: a header, then the items, in
|
|
41152
|
+
an element with the `group` role that the header names. A section starts
|
|
41153
|
+
wherever the field changes, so give the items in order. A list of one
|
|
41154
|
+
column only. */
|
|
41155
|
+
"attr:section-field"?: (HelixVirtualList["sectionField"]) | undefined;
|
|
41156
|
+
/** The field of each item that names its section, as a key or a path of
|
|
41157
|
+
keys. Set, the items are drawn in sections: a header, then the items, in
|
|
41158
|
+
an element with the `group` role that the header names. A section starts
|
|
41159
|
+
wherever the field changes, so give the items in order. A list of one
|
|
41160
|
+
column only. */
|
|
41161
|
+
"prop:sectionField"?: (HelixVirtualList["sectionField"]) | undefined;
|
|
41010
41162
|
/** What a press does to the items already chosen: `toggle` adds or takes out
|
|
41011
41163
|
the item, and `replace` selects it alone and lets the arrow keys carry the
|
|
41012
41164
|
selection, with Control or Command adding or taking out one item. */
|
|
@@ -41049,6 +41201,10 @@ It returns what Lit renders: a template from `html`, a string, or a DOM
|
|
|
41049
41201
|
node. The list wraps each result in a `<div>` that carries the row's role
|
|
41050
41202
|
and place in the set. Where it is unset, the row `<template>` is used. */
|
|
41051
41203
|
"prop:renderItem"?: (HelixVirtualList["renderItem"]) | undefined;
|
|
41204
|
+
/** Draws each section's header, given its name and its place among the
|
|
41205
|
+
sections, for a list given `section-field`. Set it as a property. Where
|
|
41206
|
+
it is unset, the header is the name as text. */
|
|
41207
|
+
"prop:renderSection"?: (HelixVirtualList["renderSection"]) | undefined;
|
|
41052
41208
|
/** Fired once a press or a key has changed which items are selected, in a list with `selection-mode`. */
|
|
41053
41209
|
"on:change"?: ((e: HelixVirtualListElementEvent) => void) | undefined;
|
|
41054
41210
|
/** Fired before a press or a key changes which items are selected, with the `value` it would leave. Cancelable. */
|
|
@@ -43671,7 +43827,7 @@ export type CustomElements = {
|
|
|
43671
43827
|
* forgetting of a reader's past attempt, whose message otherwise showed over
|
|
43672
43828
|
* the emptied control the moment the form was reset.
|
|
43673
43829
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
43674
|
-
* not.
|
|
43830
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
43675
43831
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
43676
43832
|
* and shows the browser's message at the control.
|
|
43677
43833
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -44210,6 +44366,7 @@ export type CustomElements = {
|
|
|
44210
44366
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
44211
44367
|
* - `activate-hint-label`/`activateHintLabel`: The hint shown when the board, waiting to be pressed with
|
|
44212
44368
|
* `gestures="activate"`, is scrolled or swiped over.
|
|
44369
|
+
* - `arranged-label`/`arrangedLabel`: What screen readers hear after `arrange()` moves the cards.
|
|
44213
44370
|
* - `comes-from-label`/`comesFromLabel`: The text read with a card to say where its connections come from, with `{cards}`.
|
|
44214
44371
|
* - `connected-label`/`connectedLabel`: The text announced when a connection is requested, with `{from}` and `{to}`.
|
|
44215
44372
|
* - `connecting-label`/`connectingLabel`: The text announced when a connection is started, with `{from}` filled in.
|
|
@@ -44254,6 +44411,7 @@ export type CustomElements = {
|
|
|
44254
44411
|
*
|
|
44255
44412
|
* Absent is spatial, a resting value being an attribute's absence: a default
|
|
44256
44413
|
* that reflected would write a choice onto every host that no server sent.
|
|
44414
|
+
* - `pasted-label`/`pastedLabel`: What screen readers hear after a paste, with `{count}` for the cards pasted.
|
|
44257
44415
|
* - `path`: The route every connection takes when it sets no `path` of its own:
|
|
44258
44416
|
* `straight`, or `step` for right angles.
|
|
44259
44417
|
*
|
|
@@ -44270,6 +44428,9 @@ export type CustomElements = {
|
|
|
44270
44428
|
* - `reconnecting-label`/`reconnectingLabel`: The text announced when a connection's end is picked up, with `{from}` and
|
|
44271
44429
|
* `{to}`.
|
|
44272
44430
|
* - `redone-label`/`redoneLabel`: What screen readers hear after a move or a resize is made again.
|
|
44431
|
+
* - `removed-label`/`removedLabel`: What screen readers hear when Delete asks to remove what is selected, with
|
|
44432
|
+
* `{count}` for how many cards and connections, and `{name}` for the one
|
|
44433
|
+
* where there is one.
|
|
44273
44434
|
* - `resized-label`/`resizedLabel`: What screen readers hear after a key resizes a card, with `{name}` for the
|
|
44274
44435
|
* card and `{width}` and `{height}` for its new size, in the document's
|
|
44275
44436
|
* units.
|
|
@@ -44375,6 +44536,7 @@ export type CustomElements = {
|
|
|
44375
44536
|
* Events that will be emitted by the component.
|
|
44376
44537
|
*
|
|
44377
44538
|
* - `helix-before-move`: Cards are about to move. Cancelable: cancel it to keep the positions in your own state.
|
|
44539
|
+
* - `helix-before-paste`: Cards and connections are about to be pasted. Cancelable: cancel it to add the detail's document to your own state.
|
|
44378
44540
|
* - `helix-before-reconnect`: A connection's end is about to move to another card or side. Cancelable: cancel it to keep connections in your own state.
|
|
44379
44541
|
* - `helix-before-relabel`: A connection's label or a group's name is about to change. Cancelable: cancel it to keep labels in your own state.
|
|
44380
44542
|
* - `helix-canvas-edit`: A card was double-clicked, or Enter or F2 was pressed on it. Open your own editor for the card.
|
|
@@ -44383,6 +44545,7 @@ export type CustomElements = {
|
|
|
44383
44545
|
* - `helix-canvas-zoom`: The board zoomed one step, from its controls or the keys. A wheel or a pinch sends `helix-canvas-view`.
|
|
44384
44546
|
* - `helix-connect`: Two cards were chosen to be joined. Add a `helix-canvas-edge` to join them.
|
|
44385
44547
|
* - `helix-move`: Cards moved and the move is finished: a drag was released, a click put a card down, or a key was pressed.
|
|
44548
|
+
* - `helix-pasted`: Cards and connections were pasted, and the board holds them.
|
|
44386
44549
|
* - `helix-reconnect`: A connection's end moved, and the move is finished.
|
|
44387
44550
|
* - `helix-relabel`: A connection's label or a group's name changed.
|
|
44388
44551
|
* - `helix-remove`: Cards or connections were chosen for removal. Remove the elements it names.
|
|
@@ -44420,6 +44583,24 @@ export type CustomElements = {
|
|
|
44420
44583
|
* with nothing to undo, or when the request was refused.
|
|
44421
44584
|
* - `redo() => boolean`: Makes the last move or resize `undo` took back again, asking with
|
|
44422
44585
|
* `helix-before-move` first. Returns whether anything moved.
|
|
44586
|
+
* - `paste(document: CanvasDocument | string) => boolean`: Adds the cards and connections of a JSON Canvas document, as a paste does,
|
|
44587
|
+
* and selects the cards. Ids the board already holds are given a count after
|
|
44588
|
+
* them, and the cards move a step down and to the right while they would sit
|
|
44589
|
+
* on cards already there.
|
|
44590
|
+
*
|
|
44591
|
+
* Asks with `helix-before-paste` first: cancel it to add the detail's
|
|
44592
|
+
* document to your own state. Returns whether the board added the cards:
|
|
44593
|
+
* false on a `readonly` board, for text that is not a board, or when the
|
|
44594
|
+
* request was refused.
|
|
44595
|
+
* - `arrange(options: CanvasArrangeOptions = {}) => boolean`: Moves the cards so that none overlaps another: in layers that follow the
|
|
44596
|
+
* connections, or in a grid where there are none. A group moves as one box
|
|
44597
|
+
* with its cards. Each place lands on a multiple of `snap` where it is set.
|
|
44598
|
+
*
|
|
44599
|
+
* Asks with `helix-before-move` first and tells with `helix-move`, as a
|
|
44600
|
+
* move does, so `undo()` puts every card back. The cards glide to their
|
|
44601
|
+
* places for as long as the board's plane takes to glide, and land at once
|
|
44602
|
+
* where it does not, such as under `prefers-reduced-motion`. Returns whether
|
|
44603
|
+
* the cards moved.
|
|
44423
44604
|
* - `toJsonCanvas() => CanvasDocument`: The board as a JSON Canvas document, for saving it.
|
|
44424
44605
|
*
|
|
44425
44606
|
* What each card holds is the consumer's DOM, so a card comes back as a card
|
|
@@ -45162,7 +45343,7 @@ export type CustomElements = {
|
|
|
45162
45343
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
45163
45344
|
* middle of removing.
|
|
45164
45345
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
45165
|
-
* not.
|
|
45346
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
45166
45347
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
45167
45348
|
* and shows the browser's message at the control.
|
|
45168
45349
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -45720,7 +45901,7 @@ export type CustomElements = {
|
|
|
45720
45901
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
45721
45902
|
* middle of removing.
|
|
45722
45903
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
45723
|
-
* not.
|
|
45904
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
45724
45905
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
45725
45906
|
* and shows the browser's message at the control.
|
|
45726
45907
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -46001,7 +46182,7 @@ export type CustomElements = {
|
|
|
46001
46182
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
46002
46183
|
* middle of removing.
|
|
46003
46184
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
46004
|
-
* not.
|
|
46185
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
46005
46186
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
46006
46187
|
* and shows the browser's message at the control.
|
|
46007
46188
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -46644,7 +46825,7 @@ export type CustomElements = {
|
|
|
46644
46825
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
46645
46826
|
* middle of removing.
|
|
46646
46827
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
46647
|
-
* not.
|
|
46828
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
46648
46829
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
46649
46830
|
* and shows the browser's message at the control.
|
|
46650
46831
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -47057,7 +47238,7 @@ export type CustomElements = {
|
|
|
47057
47238
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
47058
47239
|
* middle of removing.
|
|
47059
47240
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
47060
|
-
* not.
|
|
47241
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
47061
47242
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
47062
47243
|
* and shows the browser's message at the control.
|
|
47063
47244
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -47473,7 +47654,7 @@ export type CustomElements = {
|
|
|
47473
47654
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
47474
47655
|
* middle of removing.
|
|
47475
47656
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
47476
|
-
* not.
|
|
47657
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
47477
47658
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
47478
47659
|
* and shows the browser's message at the control.
|
|
47479
47660
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -47925,7 +48106,7 @@ export type CustomElements = {
|
|
|
47925
48106
|
* forgetting of a reader's past attempt, whose message otherwise showed over
|
|
47926
48107
|
* the emptied control the moment the form was reset.
|
|
47927
48108
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
47928
|
-
* not.
|
|
48109
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
47929
48110
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
47930
48111
|
* and shows the browser's message at the control.
|
|
47931
48112
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -48784,7 +48965,7 @@ export type CustomElements = {
|
|
|
48784
48965
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
48785
48966
|
* middle of removing.
|
|
48786
48967
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
48787
|
-
* not.
|
|
48968
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
48788
48969
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
48789
48970
|
* and shows the browser's message at the control.
|
|
48790
48971
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -49193,7 +49374,7 @@ export type CustomElements = {
|
|
|
49193
49374
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
49194
49375
|
* middle of removing.
|
|
49195
49376
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
49196
|
-
* not.
|
|
49377
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
49197
49378
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
49198
49379
|
* and shows the browser's message at the control.
|
|
49199
49380
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -50843,7 +51024,7 @@ export type CustomElements = {
|
|
|
50843
51024
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
50844
51025
|
* middle of removing.
|
|
50845
51026
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
50846
|
-
* not.
|
|
51027
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
50847
51028
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
50848
51029
|
* and shows the browser's message at the control.
|
|
50849
51030
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -51621,7 +51802,7 @@ export type CustomElements = {
|
|
|
51621
51802
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
51622
51803
|
* middle of removing.
|
|
51623
51804
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
51624
|
-
* not.
|
|
51805
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
51625
51806
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
51626
51807
|
* and shows the browser's message at the control.
|
|
51627
51808
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -51817,7 +51998,8 @@ export type CustomElements = {
|
|
|
51817
51998
|
* such as `buddhist` for `th-TH`, and `gregory` for every other, such as
|
|
51818
51999
|
* `persian` for `fa-IR`, so a date written here reads as the same date a
|
|
51819
52000
|
* Date Picker beside it shows. Write `calendar="persian"` for Mehr 14, 1405.
|
|
51820
|
-
* - `date`: The timestamp,
|
|
52001
|
+
* - `date`: The timestamp: a `Date`, milliseconds since the epoch, or a string in any
|
|
52002
|
+
* format `Date` can parse. The attribute is the string.
|
|
51821
52003
|
*
|
|
51822
52004
|
* An ISO string is what an API sends and what `<time datetime>` takes, so it
|
|
51823
52005
|
* is the shape that needs no translation at either end. Left unset this
|
|
@@ -52983,7 +53165,7 @@ export type CustomElements = {
|
|
|
52983
53165
|
* forgetting of a reader's past attempt, whose message otherwise showed over
|
|
52984
53166
|
* the emptied control the moment the form was reset.
|
|
52985
53167
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
52986
|
-
* not.
|
|
53168
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
52987
53169
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
52988
53170
|
* and shows the browser's message at the control.
|
|
52989
53171
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -53579,7 +53761,7 @@ export type CustomElements = {
|
|
|
53579
53761
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
53580
53762
|
* middle of removing.
|
|
53581
53763
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
53582
|
-
* not.
|
|
53764
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
53583
53765
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
53584
53766
|
* and shows the browser's message at the control.
|
|
53585
53767
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -55214,7 +55396,8 @@ export type CustomElements = {
|
|
|
55214
55396
|
* rather than being typed into means. Enter still chooses, because that is
|
|
55215
55397
|
* the caller asking for the answer rather than for a move. Space, Home, End
|
|
55216
55398
|
* and letters are left to the caller's field, where they are typing.
|
|
55217
|
-
* - `reveal() => void`: Scrolls the chosen option to the middle of the list
|
|
55399
|
+
* - `reveal() => void`: Scrolls the chosen option to the middle of the list, or the highlighted one
|
|
55400
|
+
* where nothing is chosen.
|
|
55218
55401
|
*
|
|
55219
55402
|
* A method rather than something this does on its own, because a listbox
|
|
55220
55403
|
* opening on its answer usually wants it merely *visible* and the browser
|
|
@@ -55224,6 +55407,13 @@ export type CustomElements = {
|
|
|
55224
55407
|
*
|
|
55225
55408
|
* Measured by core's `centerInView`, or, for a list of `items`, by the
|
|
55226
55409
|
* arithmetic, since the chosen option may not be drawn.
|
|
55410
|
+
* - `highlightValue(value: string) => void`: Puts the highlight on the option holding `value`, without choosing it, so
|
|
55411
|
+
* the arrow keys move from there. Nothing changes where no option a reader
|
|
55412
|
+
* can reach holds `value`.
|
|
55413
|
+
*
|
|
55414
|
+
* Time Picker calls it for a time between two of its steps, which no option
|
|
55415
|
+
* holds: without it the first arrow moved from the top of the list, so Down
|
|
55416
|
+
* from 14:07 went to midnight.
|
|
55227
55417
|
* - `requestFilter(next: string) => boolean`: Requests a new filter, and returns whether the request went through.
|
|
55228
55418
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
55229
55419
|
*
|
|
@@ -55259,7 +55449,7 @@ export type CustomElements = {
|
|
|
55259
55449
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
55260
55450
|
* middle of removing.
|
|
55261
55451
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
55262
|
-
* not.
|
|
55452
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
55263
55453
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
55264
55454
|
* and shows the browser's message at the control.
|
|
55265
55455
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -58155,7 +58345,7 @@ export type CustomElements = {
|
|
|
58155
58345
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
58156
58346
|
* middle of removing.
|
|
58157
58347
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
58158
|
-
* not.
|
|
58348
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
58159
58349
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
58160
58350
|
* and shows the browser's message at the control.
|
|
58161
58351
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -59374,7 +59564,7 @@ export type CustomElements = {
|
|
|
59374
59564
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
59375
59565
|
* middle of removing.
|
|
59376
59566
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
59377
|
-
* not.
|
|
59567
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
59378
59568
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
59379
59569
|
* and shows the browser's message at the control.
|
|
59380
59570
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -59720,7 +59910,7 @@ export type CustomElements = {
|
|
|
59720
59910
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
59721
59911
|
* middle of removing.
|
|
59722
59912
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
59723
|
-
* not.
|
|
59913
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
59724
59914
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
59725
59915
|
* and shows the browser's message at the control.
|
|
59726
59916
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -60501,7 +60691,7 @@ export type CustomElements = {
|
|
|
60501
60691
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
60502
60692
|
* middle of removing.
|
|
60503
60693
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
60504
|
-
* not.
|
|
60694
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
60505
60695
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
60506
60696
|
* and shows the browser's message at the control.
|
|
60507
60697
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -60997,7 +61187,7 @@ export type CustomElements = {
|
|
|
60997
61187
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
60998
61188
|
* middle of removing.
|
|
60999
61189
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
61000
|
-
* not.
|
|
61190
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
61001
61191
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
61002
61192
|
* and shows the browser's message at the control.
|
|
61003
61193
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -62492,7 +62682,7 @@ export type CustomElements = {
|
|
|
62492
62682
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
62493
62683
|
* middle of removing.
|
|
62494
62684
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
62495
|
-
* not.
|
|
62685
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
62496
62686
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
62497
62687
|
* and shows the browser's message at the control.
|
|
62498
62688
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -62991,7 +63181,7 @@ export type CustomElements = {
|
|
|
62991
63181
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
62992
63182
|
* middle of removing.
|
|
62993
63183
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
62994
|
-
* not.
|
|
63184
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
62995
63185
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
62996
63186
|
* and shows the browser's message at the control.
|
|
62997
63187
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -64669,7 +64859,7 @@ export type CustomElements = {
|
|
|
64669
64859
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
64670
64860
|
* middle of removing.
|
|
64671
64861
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
64672
|
-
* not.
|
|
64862
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
64673
64863
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
64674
64864
|
* and shows the browser's message at the control.
|
|
64675
64865
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -65088,6 +65278,14 @@ export type CustomElements = {
|
|
|
65088
65278
|
* order has its whole sentence. `{order}` is the deprecated
|
|
65089
65279
|
* `ascending-label` or `descending-label`.
|
|
65090
65280
|
* - `unsorted-label`/`unsortedLabel`: What screen readers hear when the table stops being sorted.
|
|
65281
|
+
* - `windowed`: Draws only the rows in view, with empty space in place of the rest, as
|
|
65282
|
+
* Data Table's `windowed` does. The table's box then scrolls, at the
|
|
65283
|
+
* height `--table-block-size` gives it in the styled tier, and the
|
|
65284
|
+
* headings stick to its top.
|
|
65285
|
+
*
|
|
65286
|
+
* Off by default. Windowing costs a scroll listener, a measurement per row
|
|
65287
|
+
* drawn, and a height on the table, and a table of twenty rows should pay
|
|
65288
|
+
* none of them.
|
|
65091
65289
|
* - `tableColumns`: The columns declared as children, in the order they are written. (property only) (readonly)
|
|
65092
65290
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
65093
65291
|
*
|
|
@@ -65146,6 +65344,7 @@ export type CustomElements = {
|
|
|
65146
65344
|
*
|
|
65147
65345
|
* CSS variables available for styling the component.
|
|
65148
65346
|
*
|
|
65347
|
+
* - `--table-block-size`: How tall the table's box is while `windowed`, when it scrolls its rows. 24em by default.
|
|
65149
65348
|
* - `--table-columns`: Track list for the columns. It overrides the track list worked out from the columns.
|
|
65150
65349
|
* - `--table-drag-preview-background-color`: The fill behind the copy of a row a pointer drags.
|
|
65151
65350
|
* - `--table-drag-preview-border-color`: The color of the edge around the copy of a row a pointer drags.
|
|
@@ -65154,6 +65353,7 @@ export type CustomElements = {
|
|
|
65154
65353
|
* - `--table-drag-preview-radius`: The corner radius of the copy of a row a pointer drags.
|
|
65155
65354
|
* - `--table-drag-preview-shadow`: The shadow that raises the copy of a row a pointer drags over the page.
|
|
65156
65355
|
* - `--table-error-color`: The color of the words in the line shown while `error-text` is set.
|
|
65356
|
+
* - `--table-heading-background-color`: The fill behind the headings while `windowed`, which the rows scroll under. The page's background by default.
|
|
65157
65357
|
* - `--table-title-color`: The color of the words in the `heading` slot.
|
|
65158
65358
|
* - `--table-title-gap`: The space between the `heading` slot and the grid.
|
|
65159
65359
|
* - `--table-title-text`: The font size of the words in the `heading` slot.
|
|
@@ -65163,6 +65363,8 @@ export type CustomElements = {
|
|
|
65163
65363
|
*
|
|
65164
65364
|
* Custom selectors for styling elements within the component.
|
|
65165
65365
|
*
|
|
65366
|
+
* - `after`: The space that stands in for the rows below the window. Only while `windowed`.
|
|
65367
|
+
* - `before`: The space that stands in for the rows above the window. Only while `windowed`.
|
|
65166
65368
|
* - `drag-preview`: A copy of the row a pointer drags by its grip, which follows the pointer in the top layer until the row is let go, in a `reorderable` table. Hidden from assistive technology.
|
|
65167
65369
|
* - `live`: A live region that repeats the empty and loading text, and says each step of a move, so screen readers announce it when it changes. Visually hidden in the styled tier.
|
|
65168
65370
|
* - `table`: The grid.
|
|
@@ -66271,7 +66473,7 @@ export type CustomElements = {
|
|
|
66271
66473
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
66272
66474
|
* middle of removing.
|
|
66273
66475
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
66274
|
-
* not.
|
|
66476
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
66275
66477
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
66276
66478
|
* and shows the browser's message at the control.
|
|
66277
66479
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -66630,7 +66832,7 @@ export type CustomElements = {
|
|
|
66630
66832
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
66631
66833
|
* middle of removing.
|
|
66632
66834
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
66633
|
-
* not.
|
|
66835
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
66634
66836
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
66635
66837
|
* and shows the browser's message at the control.
|
|
66636
66838
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -66691,6 +66893,7 @@ export type CustomElements = {
|
|
|
66691
66893
|
* - `picker-list-loading`: The text shown while the options load.
|
|
66692
66894
|
* - `picker-list-search`: The region that holds the filter field.
|
|
66693
66895
|
* - `picker-list-search-field`: The filter field.
|
|
66896
|
+
* - `picker-now`: The picker's button that chooses the current time, which Time Input does not draw.
|
|
66694
66897
|
* - `picker-option`: One time in the picker. Carries `data-between` inside a range.
|
|
66695
66898
|
* - `picker-option-between`: A time inside a chosen range, between its two ends. Set together with `picker-option`.
|
|
66696
66899
|
* - `picker-option-description`: The caption under the label, when there is one.
|
|
@@ -66837,6 +67040,8 @@ export type CustomElements = {
|
|
|
66837
67040
|
* and a wheel has exactly one value by construction. Rather than draw
|
|
66838
67041
|
* something that cannot say what it holds, `wheels` renders as a list
|
|
66839
67042
|
* whenever a mode is set.
|
|
67043
|
+
* - `now-label`/`nowLabel`: The words on the button that chooses the current time, drawn with
|
|
67044
|
+
* `show-now`.
|
|
66840
67045
|
* - `range-overflow-message`/`rangeOverflowMessage`: The validation message for a time after `max`. `{max}` is replaced with
|
|
66841
67046
|
* `max`, written in `locale`.
|
|
66842
67047
|
* - `range-underflow-message`/`rangeUnderflowMessage`: The validation message for a time before `min`. `{min}` is replaced with
|
|
@@ -66864,6 +67069,13 @@ export type CustomElements = {
|
|
|
66864
67069
|
* `<input type="time">` counts in. A list at a step of one second is 86,400
|
|
66865
67070
|
* rows, so give `seconds` a `step` and bounds that keep it a list, or use
|
|
66866
67071
|
* the wheels.
|
|
67072
|
+
* - `show-now`/`showNow`: Draws a button under the times that chooses the current time, as
|
|
67073
|
+
* `selectNow()` does.
|
|
67074
|
+
*
|
|
67075
|
+
* For a form about something happening now, such as a shift starting or a
|
|
67076
|
+
* dose taken, where the reader would otherwise scroll to the time on the
|
|
67077
|
+
* clock. The button is a tab stop after the times, and its words are
|
|
67078
|
+
* `now-label`.
|
|
66867
67079
|
* - `step`: How far apart the offered times are, in minutes, or in seconds with
|
|
66868
67080
|
* `seconds`.
|
|
66869
67081
|
*
|
|
@@ -66994,6 +67206,14 @@ export type CustomElements = {
|
|
|
66994
67206
|
* Falling back to what the markup declared rather than to empty, because
|
|
66995
67207
|
* a restore with no state is a form the browser has nothing recorded for,
|
|
66996
67208
|
* which is the same situation as a fresh one.
|
|
67209
|
+
* - `selectNow() => boolean`: Chooses the current time, as a press on the `show-now` button does, and
|
|
67210
|
+
* returns whether the value changed.
|
|
67211
|
+
*
|
|
67212
|
+
* The time is read off the reader's clock and moved to the nearest time on
|
|
67213
|
+
* offer that is not barred, so it falls on the `step` and inside `min` and
|
|
67214
|
+
* `max`. It is requested as a pick is, so `helix-before-change` can cancel
|
|
67215
|
+
* it. With a `mode` the time joins the times held, and a range that holds
|
|
67216
|
+
* two starts over from it, as a third pick does.
|
|
66997
67217
|
* - `reveal() => void`: Scrolls each wheel to its selected value, and the list to its selected
|
|
66998
67218
|
* time.
|
|
66999
67219
|
*
|
|
@@ -67053,7 +67273,7 @@ export type CustomElements = {
|
|
|
67053
67273
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
67054
67274
|
* middle of removing.
|
|
67055
67275
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
67056
|
-
* not.
|
|
67276
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
67057
67277
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
67058
67278
|
* and shows the browser's message at the control.
|
|
67059
67279
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -67069,6 +67289,7 @@ export type CustomElements = {
|
|
|
67069
67289
|
* - `--time-picker-invalid-color`: The ring around the chosen time, or around the times while nothing is chosen, while the picker is invalid.
|
|
67070
67290
|
* - `--time-picker-list-block-size`: How tall the list is before it scrolls.
|
|
67071
67291
|
* - `--time-picker-mark-radius`: The corners of the mark on a wheel's row.
|
|
67292
|
+
* - `--time-picker-now-color`: The ink of the button that chooses the current time, with `show-now`.
|
|
67072
67293
|
* - `--time-picker-range-color`: Fill behind the times inside a range.
|
|
67073
67294
|
* - `--time-picker-row-size`: Height and minimum width of one row in a wheel.
|
|
67074
67295
|
* - `--time-picker-selected-color`: Fill on the chosen row of a wheel.
|
|
@@ -67110,6 +67331,7 @@ export type CustomElements = {
|
|
|
67110
67331
|
* - `list-loading`: The text shown while the options load.
|
|
67111
67332
|
* - `list-search`: The region that holds the filter field.
|
|
67112
67333
|
* - `list-search-field`: The filter field.
|
|
67334
|
+
* - `now`: The button that chooses the current time, drawn with `show-now`.
|
|
67113
67335
|
* - `option`: One time in the list. It carries `data-between` inside a range, and inside the run to the time under the pointer while a range waits for its second end.
|
|
67114
67336
|
* - `option-between`: A time inside a chosen range, excluding its ends, beside `option`.
|
|
67115
67337
|
* - `option-description`: The caption under the time's label, when there is one.
|
|
@@ -67854,7 +68076,7 @@ export type CustomElements = {
|
|
|
67854
68076
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
67855
68077
|
* middle of removing.
|
|
67856
68078
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
67857
|
-
* not.
|
|
68079
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
67858
68080
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
67859
68081
|
* and shows the browser's message at the control.
|
|
67860
68082
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -70035,6 +70257,15 @@ export type CustomElements = {
|
|
|
70035
70257
|
* - `min-column-width`/`minColumnWidth`: The narrowest a column of a grid may be, in pixels. Set, the list lays
|
|
70036
70258
|
* out as many columns as fit the box at that width, at least one, and
|
|
70037
70259
|
* follows the box as it resizes, which `columns` then does not decide.
|
|
70260
|
+
* - `orientation`: Which way the list runs. `horizontal` lays the items out along a line
|
|
70261
|
+
* and scrolls it sideways: Left and Right move between items, the other
|
|
70262
|
+
* way round on a right-to-left page, and `estimate` is an item's width. A
|
|
70263
|
+
* grid always runs down.
|
|
70264
|
+
* - `section-field`/`sectionField`: The field of each item that names its section, as a key or a path of
|
|
70265
|
+
* keys. Set, the items are drawn in sections: a header, then the items, in
|
|
70266
|
+
* an element with the `group` role that the header names. A section starts
|
|
70267
|
+
* wherever the field changes, so give the items in order. A list of one
|
|
70268
|
+
* column only.
|
|
70038
70269
|
* - `selection-behavior`/`selectionBehavior`: What a press does to the items already chosen: `toggle` adds or takes out
|
|
70039
70270
|
* the item, and `replace` selects it alone and lets the arrow keys carry the
|
|
70040
70271
|
* selection, with Control or Command adding or taking out one item.
|
|
@@ -70058,6 +70289,9 @@ export type CustomElements = {
|
|
|
70058
70289
|
* It returns what Lit renders: a template from `html`, a string, or a DOM
|
|
70059
70290
|
* node. The list wraps each result in a `<div>` that carries the row's role
|
|
70060
70291
|
* and place in the set. Where it is unset, the row `<template>` is used. (property only)
|
|
70292
|
+
* - `renderSection`: Draws each section's header, given its name and its place among the
|
|
70293
|
+
* sections, for a list given `section-field`. Set it as a property. Where
|
|
70294
|
+
* it is unset, the header is the name as text. (property only)
|
|
70061
70295
|
* - `range`: The items on screen, as `items.slice(first, last)` reads them.
|
|
70062
70296
|
*
|
|
70063
70297
|
* Read from the scroll offset when asked. Both are 0 before the list has a
|
|
@@ -70114,7 +70348,7 @@ export type CustomElements = {
|
|
|
70114
70348
|
*
|
|
70115
70349
|
* CSS variables available for styling the component.
|
|
70116
70350
|
*
|
|
70117
|
-
* - `--virtual-list-block-size`: How tall the scrolling box is.
|
|
70351
|
+
* - `--virtual-list-block-size`: How tall the scrolling box is. A list that runs across is as tall as its rows unless you set it.
|
|
70118
70352
|
* - `--virtual-list-disabled-opacity`: How faint a row `disabled-keys` names is drawn.
|
|
70119
70353
|
* - `--virtual-list-empty-color`: The color of the text in the row shown when there are no items.
|
|
70120
70354
|
* - `--virtual-list-empty-padding`: The space around the text in the row shown when there are no items.
|
|
@@ -70141,6 +70375,7 @@ export type CustomElements = {
|
|
|
70141
70375
|
* These can be used to apply styling when a component is in a given state.
|
|
70142
70376
|
*
|
|
70143
70377
|
* - `empty`: While the list has read its items and holds none.
|
|
70378
|
+
* - `horizontal`: While the list runs across, with `orientation="horizontal"`.
|
|
70144
70379
|
* - `loading`: While `loading` is set.
|
|
70145
70380
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
70146
70381
|
*/
|
|
@@ -72795,7 +73030,7 @@ export type CustomElementsSolidJs = {
|
|
|
72795
73030
|
* forgetting of a reader's past attempt, whose message otherwise showed over
|
|
72796
73031
|
* the emptied control the moment the form was reset.
|
|
72797
73032
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
72798
|
-
* not.
|
|
73033
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
72799
73034
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
72800
73035
|
* and shows the browser's message at the control.
|
|
72801
73036
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -73346,6 +73581,7 @@ export type CustomElementsSolidJs = {
|
|
|
73346
73581
|
* - `zoom-out-label`/`zoomOutLabel`: The zoom out button's label.
|
|
73347
73582
|
* - `activate-hint-label`/`activateHintLabel`: The hint shown when the board, waiting to be pressed with
|
|
73348
73583
|
* `gestures="activate"`, is scrolled or swiped over.
|
|
73584
|
+
* - `arranged-label`/`arrangedLabel`: What screen readers hear after `arrange()` moves the cards.
|
|
73349
73585
|
* - `comes-from-label`/`comesFromLabel`: The text read with a card to say where its connections come from, with `{cards}`.
|
|
73350
73586
|
* - `connected-label`/`connectedLabel`: The text announced when a connection is requested, with `{from}` and `{to}`.
|
|
73351
73587
|
* - `connecting-label`/`connectingLabel`: The text announced when a connection is started, with `{from}` filled in.
|
|
@@ -73390,6 +73626,7 @@ export type CustomElementsSolidJs = {
|
|
|
73390
73626
|
*
|
|
73391
73627
|
* Absent is spatial, a resting value being an attribute's absence: a default
|
|
73392
73628
|
* that reflected would write a choice onto every host that no server sent.
|
|
73629
|
+
* - `pasted-label`/`pastedLabel`: What screen readers hear after a paste, with `{count}` for the cards pasted.
|
|
73393
73630
|
* - `path`: The route every connection takes when it sets no `path` of its own:
|
|
73394
73631
|
* `straight`, or `step` for right angles.
|
|
73395
73632
|
*
|
|
@@ -73406,6 +73643,9 @@ export type CustomElementsSolidJs = {
|
|
|
73406
73643
|
* - `reconnecting-label`/`reconnectingLabel`: The text announced when a connection's end is picked up, with `{from}` and
|
|
73407
73644
|
* `{to}`.
|
|
73408
73645
|
* - `redone-label`/`redoneLabel`: What screen readers hear after a move or a resize is made again.
|
|
73646
|
+
* - `removed-label`/`removedLabel`: What screen readers hear when Delete asks to remove what is selected, with
|
|
73647
|
+
* `{count}` for how many cards and connections, and `{name}` for the one
|
|
73648
|
+
* where there is one.
|
|
73409
73649
|
* - `resized-label`/`resizedLabel`: What screen readers hear after a key resizes a card, with `{name}` for the
|
|
73410
73650
|
* card and `{width}` and `{height}` for its new size, in the document's
|
|
73411
73651
|
* units.
|
|
@@ -73511,6 +73751,7 @@ export type CustomElementsSolidJs = {
|
|
|
73511
73751
|
* Events that will be emitted by the component.
|
|
73512
73752
|
*
|
|
73513
73753
|
* - `helix-before-move`: Cards are about to move. Cancelable: cancel it to keep the positions in your own state.
|
|
73754
|
+
* - `helix-before-paste`: Cards and connections are about to be pasted. Cancelable: cancel it to add the detail's document to your own state.
|
|
73514
73755
|
* - `helix-before-reconnect`: A connection's end is about to move to another card or side. Cancelable: cancel it to keep connections in your own state.
|
|
73515
73756
|
* - `helix-before-relabel`: A connection's label or a group's name is about to change. Cancelable: cancel it to keep labels in your own state.
|
|
73516
73757
|
* - `helix-canvas-edit`: A card was double-clicked, or Enter or F2 was pressed on it. Open your own editor for the card.
|
|
@@ -73519,6 +73760,7 @@ export type CustomElementsSolidJs = {
|
|
|
73519
73760
|
* - `helix-canvas-zoom`: The board zoomed one step, from its controls or the keys. A wheel or a pinch sends `helix-canvas-view`.
|
|
73520
73761
|
* - `helix-connect`: Two cards were chosen to be joined. Add a `helix-canvas-edge` to join them.
|
|
73521
73762
|
* - `helix-move`: Cards moved and the move is finished: a drag was released, a click put a card down, or a key was pressed.
|
|
73763
|
+
* - `helix-pasted`: Cards and connections were pasted, and the board holds them.
|
|
73522
73764
|
* - `helix-reconnect`: A connection's end moved, and the move is finished.
|
|
73523
73765
|
* - `helix-relabel`: A connection's label or a group's name changed.
|
|
73524
73766
|
* - `helix-remove`: Cards or connections were chosen for removal. Remove the elements it names.
|
|
@@ -73556,6 +73798,24 @@ export type CustomElementsSolidJs = {
|
|
|
73556
73798
|
* with nothing to undo, or when the request was refused.
|
|
73557
73799
|
* - `redo() => boolean`: Makes the last move or resize `undo` took back again, asking with
|
|
73558
73800
|
* `helix-before-move` first. Returns whether anything moved.
|
|
73801
|
+
* - `paste(document: CanvasDocument | string) => boolean`: Adds the cards and connections of a JSON Canvas document, as a paste does,
|
|
73802
|
+
* and selects the cards. Ids the board already holds are given a count after
|
|
73803
|
+
* them, and the cards move a step down and to the right while they would sit
|
|
73804
|
+
* on cards already there.
|
|
73805
|
+
*
|
|
73806
|
+
* Asks with `helix-before-paste` first: cancel it to add the detail's
|
|
73807
|
+
* document to your own state. Returns whether the board added the cards:
|
|
73808
|
+
* false on a `readonly` board, for text that is not a board, or when the
|
|
73809
|
+
* request was refused.
|
|
73810
|
+
* - `arrange(options: CanvasArrangeOptions = {}) => boolean`: Moves the cards so that none overlaps another: in layers that follow the
|
|
73811
|
+
* connections, or in a grid where there are none. A group moves as one box
|
|
73812
|
+
* with its cards. Each place lands on a multiple of `snap` where it is set.
|
|
73813
|
+
*
|
|
73814
|
+
* Asks with `helix-before-move` first and tells with `helix-move`, as a
|
|
73815
|
+
* move does, so `undo()` puts every card back. The cards glide to their
|
|
73816
|
+
* places for as long as the board's plane takes to glide, and land at once
|
|
73817
|
+
* where it does not, such as under `prefers-reduced-motion`. Returns whether
|
|
73818
|
+
* the cards moved.
|
|
73559
73819
|
* - `toJsonCanvas() => CanvasDocument`: The board as a JSON Canvas document, for saving it.
|
|
73560
73820
|
*
|
|
73561
73821
|
* What each card holds is the consumer's DOM, so a card comes back as a card
|
|
@@ -74306,7 +74566,7 @@ export type CustomElementsSolidJs = {
|
|
|
74306
74566
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
74307
74567
|
* middle of removing.
|
|
74308
74568
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
74309
|
-
* not.
|
|
74569
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
74310
74570
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
74311
74571
|
* and shows the browser's message at the control.
|
|
74312
74572
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -74872,7 +75132,7 @@ export type CustomElementsSolidJs = {
|
|
|
74872
75132
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
74873
75133
|
* middle of removing.
|
|
74874
75134
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
74875
|
-
* not.
|
|
75135
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
74876
75136
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
74877
75137
|
* and shows the browser's message at the control.
|
|
74878
75138
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -75156,7 +75416,7 @@ export type CustomElementsSolidJs = {
|
|
|
75156
75416
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
75157
75417
|
* middle of removing.
|
|
75158
75418
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
75159
|
-
* not.
|
|
75419
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
75160
75420
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
75161
75421
|
* and shows the browser's message at the control.
|
|
75162
75422
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -75807,7 +76067,7 @@ export type CustomElementsSolidJs = {
|
|
|
75807
76067
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
75808
76068
|
* middle of removing.
|
|
75809
76069
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
75810
|
-
* not.
|
|
76070
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
75811
76071
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
75812
76072
|
* and shows the browser's message at the control.
|
|
75813
76073
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -76223,7 +76483,7 @@ export type CustomElementsSolidJs = {
|
|
|
76223
76483
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
76224
76484
|
* middle of removing.
|
|
76225
76485
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
76226
|
-
* not.
|
|
76486
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
76227
76487
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
76228
76488
|
* and shows the browser's message at the control.
|
|
76229
76489
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -76642,7 +76902,7 @@ export type CustomElementsSolidJs = {
|
|
|
76642
76902
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
76643
76903
|
* middle of removing.
|
|
76644
76904
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
76645
|
-
* not.
|
|
76905
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
76646
76906
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
76647
76907
|
* and shows the browser's message at the control.
|
|
76648
76908
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -77100,7 +77360,7 @@ export type CustomElementsSolidJs = {
|
|
|
77100
77360
|
* forgetting of a reader's past attempt, whose message otherwise showed over
|
|
77101
77361
|
* the emptied control the moment the form was reset.
|
|
77102
77362
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
77103
|
-
* not.
|
|
77363
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
77104
77364
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
77105
77365
|
* and shows the browser's message at the control.
|
|
77106
77366
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -77965,7 +78225,7 @@ export type CustomElementsSolidJs = {
|
|
|
77965
78225
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
77966
78226
|
* middle of removing.
|
|
77967
78227
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
77968
|
-
* not.
|
|
78228
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
77969
78229
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
77970
78230
|
* and shows the browser's message at the control.
|
|
77971
78231
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -78377,7 +78637,7 @@ export type CustomElementsSolidJs = {
|
|
|
78377
78637
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
78378
78638
|
* middle of removing.
|
|
78379
78639
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
78380
|
-
* not.
|
|
78640
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
78381
78641
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
78382
78642
|
* and shows the browser's message at the control.
|
|
78383
78643
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -80057,7 +80317,7 @@ export type CustomElementsSolidJs = {
|
|
|
80057
80317
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
80058
80318
|
* middle of removing.
|
|
80059
80319
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
80060
|
-
* not.
|
|
80320
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
80061
80321
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
80062
80322
|
* and shows the browser's message at the control.
|
|
80063
80323
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -80850,7 +81110,7 @@ export type CustomElementsSolidJs = {
|
|
|
80850
81110
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
80851
81111
|
* middle of removing.
|
|
80852
81112
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
80853
|
-
* not.
|
|
81113
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
80854
81114
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
80855
81115
|
* and shows the browser's message at the control.
|
|
80856
81116
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -81051,7 +81311,8 @@ export type CustomElementsSolidJs = {
|
|
|
81051
81311
|
* such as `buddhist` for `th-TH`, and `gregory` for every other, such as
|
|
81052
81312
|
* `persian` for `fa-IR`, so a date written here reads as the same date a
|
|
81053
81313
|
* Date Picker beside it shows. Write `calendar="persian"` for Mehr 14, 1405.
|
|
81054
|
-
* - `date`: The timestamp,
|
|
81314
|
+
* - `date`: The timestamp: a `Date`, milliseconds since the epoch, or a string in any
|
|
81315
|
+
* format `Date` can parse. The attribute is the string.
|
|
81055
81316
|
*
|
|
81056
81317
|
* An ISO string is what an API sends and what `<time datetime>` takes, so it
|
|
81057
81318
|
* is the shape that needs no translation at either end. Left unset this
|
|
@@ -82230,7 +82491,7 @@ export type CustomElementsSolidJs = {
|
|
|
82230
82491
|
* forgetting of a reader's past attempt, whose message otherwise showed over
|
|
82231
82492
|
* the emptied control the moment the form was reset.
|
|
82232
82493
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
82233
|
-
* not.
|
|
82494
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
82234
82495
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
82235
82496
|
* and shows the browser's message at the control.
|
|
82236
82497
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -82836,7 +83097,7 @@ export type CustomElementsSolidJs = {
|
|
|
82836
83097
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
82837
83098
|
* middle of removing.
|
|
82838
83099
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
82839
|
-
* not.
|
|
83100
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
82840
83101
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
82841
83102
|
* and shows the browser's message at the control.
|
|
82842
83103
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -84495,7 +84756,8 @@ export type CustomElementsSolidJs = {
|
|
|
84495
84756
|
* rather than being typed into means. Enter still chooses, because that is
|
|
84496
84757
|
* the caller asking for the answer rather than for a move. Space, Home, End
|
|
84497
84758
|
* and letters are left to the caller's field, where they are typing.
|
|
84498
|
-
* - `reveal() => void`: Scrolls the chosen option to the middle of the list
|
|
84759
|
+
* - `reveal() => void`: Scrolls the chosen option to the middle of the list, or the highlighted one
|
|
84760
|
+
* where nothing is chosen.
|
|
84499
84761
|
*
|
|
84500
84762
|
* A method rather than something this does on its own, because a listbox
|
|
84501
84763
|
* opening on its answer usually wants it merely *visible* and the browser
|
|
@@ -84505,6 +84767,13 @@ export type CustomElementsSolidJs = {
|
|
|
84505
84767
|
*
|
|
84506
84768
|
* Measured by core's `centerInView`, or, for a list of `items`, by the
|
|
84507
84769
|
* arithmetic, since the chosen option may not be drawn.
|
|
84770
|
+
* - `highlightValue(value: string) => void`: Puts the highlight on the option holding `value`, without choosing it, so
|
|
84771
|
+
* the arrow keys move from there. Nothing changes where no option a reader
|
|
84772
|
+
* can reach holds `value`.
|
|
84773
|
+
*
|
|
84774
|
+
* Time Picker calls it for a time between two of its steps, which no option
|
|
84775
|
+
* holds: without it the first arrow moved from the top of the list, so Down
|
|
84776
|
+
* from 14:07 went to midnight.
|
|
84508
84777
|
* - `requestFilter(next: string) => boolean`: Requests a new filter, and returns whether the request went through.
|
|
84509
84778
|
* - `formDisabledCallback(disabled: boolean) => void`: Called by the browser when an ancestor fieldset is disabled or enabled.
|
|
84510
84779
|
*
|
|
@@ -84540,7 +84809,7 @@ export type CustomElementsSolidJs = {
|
|
|
84540
84809
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
84541
84810
|
* middle of removing.
|
|
84542
84811
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
84543
|
-
* not.
|
|
84812
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
84544
84813
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
84545
84814
|
* and shows the browser's message at the control.
|
|
84546
84815
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -87502,7 +87771,7 @@ export type CustomElementsSolidJs = {
|
|
|
87502
87771
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
87503
87772
|
* middle of removing.
|
|
87504
87773
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
87505
|
-
* not.
|
|
87774
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
87506
87775
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
87507
87776
|
* and shows the browser's message at the control.
|
|
87508
87777
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -88744,7 +89013,7 @@ export type CustomElementsSolidJs = {
|
|
|
88744
89013
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
88745
89014
|
* middle of removing.
|
|
88746
89015
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
88747
|
-
* not.
|
|
89016
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
88748
89017
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
88749
89018
|
* and shows the browser's message at the control.
|
|
88750
89019
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -89096,7 +89365,7 @@ export type CustomElementsSolidJs = {
|
|
|
89096
89365
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
89097
89366
|
* middle of removing.
|
|
89098
89367
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
89099
|
-
* not.
|
|
89368
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
89100
89369
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
89101
89370
|
* and shows the browser's message at the control.
|
|
89102
89371
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -89894,7 +90163,7 @@ export type CustomElementsSolidJs = {
|
|
|
89894
90163
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
89895
90164
|
* middle of removing.
|
|
89896
90165
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
89897
|
-
* not.
|
|
90166
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
89898
90167
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
89899
90168
|
* and shows the browser's message at the control.
|
|
89900
90169
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -90398,7 +90667,7 @@ export type CustomElementsSolidJs = {
|
|
|
90398
90667
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
90399
90668
|
* middle of removing.
|
|
90400
90669
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
90401
|
-
* not.
|
|
90670
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
90402
90671
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
90403
90672
|
* and shows the browser's message at the control.
|
|
90404
90673
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -91920,7 +92189,7 @@ export type CustomElementsSolidJs = {
|
|
|
91920
92189
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
91921
92190
|
* middle of removing.
|
|
91922
92191
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
91923
|
-
* not.
|
|
92192
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
91924
92193
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
91925
92194
|
* and shows the browser's message at the control.
|
|
91926
92195
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -92428,7 +92697,7 @@ export type CustomElementsSolidJs = {
|
|
|
92428
92697
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
92429
92698
|
* middle of removing.
|
|
92430
92699
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
92431
|
-
* not.
|
|
92700
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
92432
92701
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
92433
92702
|
* and shows the browser's message at the control.
|
|
92434
92703
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -94142,7 +94411,7 @@ export type CustomElementsSolidJs = {
|
|
|
94142
94411
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
94143
94412
|
* middle of removing.
|
|
94144
94413
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
94145
|
-
* not.
|
|
94414
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
94146
94415
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
94147
94416
|
* and shows the browser's message at the control.
|
|
94148
94417
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -94570,6 +94839,14 @@ export type CustomElementsSolidJs = {
|
|
|
94570
94839
|
* order has its whole sentence. `{order}` is the deprecated
|
|
94571
94840
|
* `ascending-label` or `descending-label`.
|
|
94572
94841
|
* - `unsorted-label`/`unsortedLabel`: What screen readers hear when the table stops being sorted.
|
|
94842
|
+
* - `windowed`: Draws only the rows in view, with empty space in place of the rest, as
|
|
94843
|
+
* Data Table's `windowed` does. The table's box then scrolls, at the
|
|
94844
|
+
* height `--table-block-size` gives it in the styled tier, and the
|
|
94845
|
+
* headings stick to its top.
|
|
94846
|
+
*
|
|
94847
|
+
* Off by default. Windowing costs a scroll listener, a measurement per row
|
|
94848
|
+
* drawn, and a height on the table, and a table of twenty rows should pay
|
|
94849
|
+
* none of them.
|
|
94573
94850
|
* - `tableColumns`: The columns declared as children, in the order they are written. (property only) (readonly)
|
|
94574
94851
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
94575
94852
|
*
|
|
@@ -94628,6 +94905,7 @@ export type CustomElementsSolidJs = {
|
|
|
94628
94905
|
*
|
|
94629
94906
|
* CSS variables available for styling the component.
|
|
94630
94907
|
*
|
|
94908
|
+
* - `--table-block-size`: How tall the table's box is while `windowed`, when it scrolls its rows. 24em by default.
|
|
94631
94909
|
* - `--table-columns`: Track list for the columns. It overrides the track list worked out from the columns.
|
|
94632
94910
|
* - `--table-drag-preview-background-color`: The fill behind the copy of a row a pointer drags.
|
|
94633
94911
|
* - `--table-drag-preview-border-color`: The color of the edge around the copy of a row a pointer drags.
|
|
@@ -94636,6 +94914,7 @@ export type CustomElementsSolidJs = {
|
|
|
94636
94914
|
* - `--table-drag-preview-radius`: The corner radius of the copy of a row a pointer drags.
|
|
94637
94915
|
* - `--table-drag-preview-shadow`: The shadow that raises the copy of a row a pointer drags over the page.
|
|
94638
94916
|
* - `--table-error-color`: The color of the words in the line shown while `error-text` is set.
|
|
94917
|
+
* - `--table-heading-background-color`: The fill behind the headings while `windowed`, which the rows scroll under. The page's background by default.
|
|
94639
94918
|
* - `--table-title-color`: The color of the words in the `heading` slot.
|
|
94640
94919
|
* - `--table-title-gap`: The space between the `heading` slot and the grid.
|
|
94641
94920
|
* - `--table-title-text`: The font size of the words in the `heading` slot.
|
|
@@ -94645,6 +94924,8 @@ export type CustomElementsSolidJs = {
|
|
|
94645
94924
|
*
|
|
94646
94925
|
* Custom selectors for styling elements within the component.
|
|
94647
94926
|
*
|
|
94927
|
+
* - `after`: The space that stands in for the rows below the window. Only while `windowed`.
|
|
94928
|
+
* - `before`: The space that stands in for the rows above the window. Only while `windowed`.
|
|
94648
94929
|
* - `drag-preview`: A copy of the row a pointer drags by its grip, which follows the pointer in the top layer until the row is let go, in a `reorderable` table. Hidden from assistive technology.
|
|
94649
94930
|
* - `live`: A live region that repeats the empty and loading text, and says each step of a move, so screen readers announce it when it changes. Visually hidden in the styled tier.
|
|
94650
94931
|
* - `table`: The grid.
|
|
@@ -95775,7 +96056,7 @@ export type CustomElementsSolidJs = {
|
|
|
95775
96056
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
95776
96057
|
* middle of removing.
|
|
95777
96058
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
95778
|
-
* not.
|
|
96059
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
95779
96060
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
95780
96061
|
* and shows the browser's message at the control.
|
|
95781
96062
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -96137,7 +96418,7 @@ export type CustomElementsSolidJs = {
|
|
|
96137
96418
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
96138
96419
|
* middle of removing.
|
|
96139
96420
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
96140
|
-
* not.
|
|
96421
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
96141
96422
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
96142
96423
|
* and shows the browser's message at the control.
|
|
96143
96424
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -96198,6 +96479,7 @@ export type CustomElementsSolidJs = {
|
|
|
96198
96479
|
* - `picker-list-loading`: The text shown while the options load.
|
|
96199
96480
|
* - `picker-list-search`: The region that holds the filter field.
|
|
96200
96481
|
* - `picker-list-search-field`: The filter field.
|
|
96482
|
+
* - `picker-now`: The picker's button that chooses the current time, which Time Input does not draw.
|
|
96201
96483
|
* - `picker-option`: One time in the picker. Carries `data-between` inside a range.
|
|
96202
96484
|
* - `picker-option-between`: A time inside a chosen range, between its two ends. Set together with `picker-option`.
|
|
96203
96485
|
* - `picker-option-description`: The caption under the label, when there is one.
|
|
@@ -96347,6 +96629,8 @@ export type CustomElementsSolidJs = {
|
|
|
96347
96629
|
* and a wheel has exactly one value by construction. Rather than draw
|
|
96348
96630
|
* something that cannot say what it holds, `wheels` renders as a list
|
|
96349
96631
|
* whenever a mode is set.
|
|
96632
|
+
* - `now-label`/`nowLabel`: The words on the button that chooses the current time, drawn with
|
|
96633
|
+
* `show-now`.
|
|
96350
96634
|
* - `range-overflow-message`/`rangeOverflowMessage`: The validation message for a time after `max`. `{max}` is replaced with
|
|
96351
96635
|
* `max`, written in `locale`.
|
|
96352
96636
|
* - `range-underflow-message`/`rangeUnderflowMessage`: The validation message for a time before `min`. `{min}` is replaced with
|
|
@@ -96374,6 +96658,13 @@ export type CustomElementsSolidJs = {
|
|
|
96374
96658
|
* `<input type="time">` counts in. A list at a step of one second is 86,400
|
|
96375
96659
|
* rows, so give `seconds` a `step` and bounds that keep it a list, or use
|
|
96376
96660
|
* the wheels.
|
|
96661
|
+
* - `show-now`/`showNow`: Draws a button under the times that chooses the current time, as
|
|
96662
|
+
* `selectNow()` does.
|
|
96663
|
+
*
|
|
96664
|
+
* For a form about something happening now, such as a shift starting or a
|
|
96665
|
+
* dose taken, where the reader would otherwise scroll to the time on the
|
|
96666
|
+
* clock. The button is a tab stop after the times, and its words are
|
|
96667
|
+
* `now-label`.
|
|
96377
96668
|
* - `step`: How far apart the offered times are, in minutes, or in seconds with
|
|
96378
96669
|
* `seconds`.
|
|
96379
96670
|
*
|
|
@@ -96504,6 +96795,14 @@ export type CustomElementsSolidJs = {
|
|
|
96504
96795
|
* Falling back to what the markup declared rather than to empty, because
|
|
96505
96796
|
* a restore with no state is a form the browser has nothing recorded for,
|
|
96506
96797
|
* which is the same situation as a fresh one.
|
|
96798
|
+
* - `selectNow() => boolean`: Chooses the current time, as a press on the `show-now` button does, and
|
|
96799
|
+
* returns whether the value changed.
|
|
96800
|
+
*
|
|
96801
|
+
* The time is read off the reader's clock and moved to the nearest time on
|
|
96802
|
+
* offer that is not barred, so it falls on the `step` and inside `min` and
|
|
96803
|
+
* `max`. It is requested as a pick is, so `helix-before-change` can cancel
|
|
96804
|
+
* it. With a `mode` the time joins the times held, and a range that holds
|
|
96805
|
+
* two starts over from it, as a third pick does.
|
|
96507
96806
|
* - `reveal() => void`: Scrolls each wheel to its selected value, and the list to its selected
|
|
96508
96807
|
* time.
|
|
96509
96808
|
*
|
|
@@ -96563,7 +96862,7 @@ export type CustomElementsSolidJs = {
|
|
|
96563
96862
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
96564
96863
|
* middle of removing.
|
|
96565
96864
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
96566
|
-
* not.
|
|
96865
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
96567
96866
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
96568
96867
|
* and shows the browser's message at the control.
|
|
96569
96868
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -96579,6 +96878,7 @@ export type CustomElementsSolidJs = {
|
|
|
96579
96878
|
* - `--time-picker-invalid-color`: The ring around the chosen time, or around the times while nothing is chosen, while the picker is invalid.
|
|
96580
96879
|
* - `--time-picker-list-block-size`: How tall the list is before it scrolls.
|
|
96581
96880
|
* - `--time-picker-mark-radius`: The corners of the mark on a wheel's row.
|
|
96881
|
+
* - `--time-picker-now-color`: The ink of the button that chooses the current time, with `show-now`.
|
|
96582
96882
|
* - `--time-picker-range-color`: Fill behind the times inside a range.
|
|
96583
96883
|
* - `--time-picker-row-size`: Height and minimum width of one row in a wheel.
|
|
96584
96884
|
* - `--time-picker-selected-color`: Fill on the chosen row of a wheel.
|
|
@@ -96620,6 +96920,7 @@ export type CustomElementsSolidJs = {
|
|
|
96620
96920
|
* - `list-loading`: The text shown while the options load.
|
|
96621
96921
|
* - `list-search`: The region that holds the filter field.
|
|
96622
96922
|
* - `list-search-field`: The filter field.
|
|
96923
|
+
* - `now`: The button that chooses the current time, drawn with `show-now`.
|
|
96623
96924
|
* - `option`: One time in the list. It carries `data-between` inside a range, and inside the run to the time under the pointer while a range waits for its second end.
|
|
96624
96925
|
* - `option-between`: A time inside a chosen range, excluding its ends, beside `option`.
|
|
96625
96926
|
* - `option-description`: The caption under the time's label, when there is one.
|
|
@@ -97384,7 +97685,7 @@ export type CustomElementsSolidJs = {
|
|
|
97384
97685
|
* and reading `:disabled` here would answer about the attribute we are in the
|
|
97385
97686
|
* middle of removing.
|
|
97386
97687
|
* - `checkValidity() => boolean`: Returns whether the control is valid, and fires `invalid` on it when it is
|
|
97387
|
-
* not.
|
|
97688
|
+
* not. The control shows no message for it: `reportValidity()` does that.
|
|
97388
97689
|
* - `reportValidity() => boolean`: Returns whether the control is valid, and when it is not, fires `invalid`
|
|
97389
97690
|
* and shows the browser's message at the control.
|
|
97390
97691
|
* - `setCustomValidity(message: string) => void`: Marks the control invalid with `message`, or clears that with an empty
|
|
@@ -99606,6 +99907,15 @@ export type CustomElementsSolidJs = {
|
|
|
99606
99907
|
* - `min-column-width`/`minColumnWidth`: The narrowest a column of a grid may be, in pixels. Set, the list lays
|
|
99607
99908
|
* out as many columns as fit the box at that width, at least one, and
|
|
99608
99909
|
* follows the box as it resizes, which `columns` then does not decide.
|
|
99910
|
+
* - `orientation`: Which way the list runs. `horizontal` lays the items out along a line
|
|
99911
|
+
* and scrolls it sideways: Left and Right move between items, the other
|
|
99912
|
+
* way round on a right-to-left page, and `estimate` is an item's width. A
|
|
99913
|
+
* grid always runs down.
|
|
99914
|
+
* - `section-field`/`sectionField`: The field of each item that names its section, as a key or a path of
|
|
99915
|
+
* keys. Set, the items are drawn in sections: a header, then the items, in
|
|
99916
|
+
* an element with the `group` role that the header names. A section starts
|
|
99917
|
+
* wherever the field changes, so give the items in order. A list of one
|
|
99918
|
+
* column only.
|
|
99609
99919
|
* - `selection-behavior`/`selectionBehavior`: What a press does to the items already chosen: `toggle` adds or takes out
|
|
99610
99920
|
* the item, and `replace` selects it alone and lets the arrow keys carry the
|
|
99611
99921
|
* selection, with Control or Command adding or taking out one item.
|
|
@@ -99629,6 +99939,9 @@ export type CustomElementsSolidJs = {
|
|
|
99629
99939
|
* It returns what Lit renders: a template from `html`, a string, or a DOM
|
|
99630
99940
|
* node. The list wraps each result in a `<div>` that carries the row's role
|
|
99631
99941
|
* and place in the set. Where it is unset, the row `<template>` is used. (property only)
|
|
99942
|
+
* - `renderSection`: Draws each section's header, given its name and its place among the
|
|
99943
|
+
* sections, for a list given `section-field`. Set it as a property. Where
|
|
99944
|
+
* it is unset, the header is the name as text. (property only)
|
|
99632
99945
|
* - `range`: The items on screen, as `items.slice(first, last)` reads them.
|
|
99633
99946
|
*
|
|
99634
99947
|
* Read from the scroll offset when asked. Both are 0 before the list has a
|
|
@@ -99685,7 +99998,7 @@ export type CustomElementsSolidJs = {
|
|
|
99685
99998
|
*
|
|
99686
99999
|
* CSS variables available for styling the component.
|
|
99687
100000
|
*
|
|
99688
|
-
* - `--virtual-list-block-size`: How tall the scrolling box is.
|
|
100001
|
+
* - `--virtual-list-block-size`: How tall the scrolling box is. A list that runs across is as tall as its rows unless you set it.
|
|
99689
100002
|
* - `--virtual-list-disabled-opacity`: How faint a row `disabled-keys` names is drawn.
|
|
99690
100003
|
* - `--virtual-list-empty-color`: The color of the text in the row shown when there are no items.
|
|
99691
100004
|
* - `--virtual-list-empty-padding`: The space around the text in the row shown when there are no items.
|
|
@@ -99712,6 +100025,7 @@ export type CustomElementsSolidJs = {
|
|
|
99712
100025
|
* These can be used to apply styling when a component is in a given state.
|
|
99713
100026
|
*
|
|
99714
100027
|
* - `empty`: While the list has read its items and holds none.
|
|
100028
|
+
* - `horizontal`: While the list runs across, with `orientation="horizontal"`.
|
|
99715
100029
|
* - `loading`: While `loading` is set.
|
|
99716
100030
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
99717
100031
|
*/
|
|
@@ -101748,6 +102062,8 @@ export type CustomCssProperties = {
|
|
|
101748
102062
|
"--switch-thumb-color"?: (string) | undefined;
|
|
101749
102063
|
/** The text alignment of the column above the cell: `start`, `center`, or `end`, and unset when the column sets none. The table writes it, and the stylesheet that draws the cell reads it for `justify-content` and `text-align`, which both follow the writing direction. */
|
|
101750
102064
|
"--table-cell-align"?: (string) | undefined;
|
|
102065
|
+
/** How tall the table's box is while `windowed`, when it scrolls its rows. 24em by default. */
|
|
102066
|
+
"--table-block-size"?: (string) | undefined;
|
|
101751
102067
|
/** Track list for the columns. It overrides the track list worked out from the columns. */
|
|
101752
102068
|
"--table-columns"?: (string) | undefined;
|
|
101753
102069
|
/** The fill behind the copy of a row a pointer drags. */
|
|
@@ -101764,6 +102080,8 @@ export type CustomCssProperties = {
|
|
|
101764
102080
|
"--table-drag-preview-shadow"?: (string) | undefined;
|
|
101765
102081
|
/** The color of the words in the line shown while `error-text` is set. */
|
|
101766
102082
|
"--table-error-color"?: (string) | undefined;
|
|
102083
|
+
/** The fill behind the headings while `windowed`, which the rows scroll under. The page's background by default. */
|
|
102084
|
+
"--table-heading-background-color"?: (string) | undefined;
|
|
101767
102085
|
/** The color of the words in the `heading` slot. */
|
|
101768
102086
|
"--table-title-color"?: (string) | undefined;
|
|
101769
102087
|
/** The space between the `heading` slot and the grid. */
|
|
@@ -101896,6 +102214,8 @@ export type CustomCssProperties = {
|
|
|
101896
102214
|
"--time-picker-list-block-size"?: (string) | undefined;
|
|
101897
102215
|
/** The corners of the mark on a wheel's row. */
|
|
101898
102216
|
"--time-picker-mark-radius"?: (string) | undefined;
|
|
102217
|
+
/** The ink of the button that chooses the current time, with `show-now`. */
|
|
102218
|
+
"--time-picker-now-color"?: (string) | undefined;
|
|
101899
102219
|
/** Fill behind the times inside a range. */
|
|
101900
102220
|
"--time-picker-range-color"?: (string) | undefined;
|
|
101901
102221
|
/** Height and minimum width of one row in a wheel. */
|
|
@@ -102182,7 +102502,7 @@ export type CustomCssProperties = {
|
|
|
102182
102502
|
"--video-level"?: (string) | undefined;
|
|
102183
102503
|
/** How far playback has reached, as a fraction of the duration. */
|
|
102184
102504
|
"--video-progress"?: (string) | undefined;
|
|
102185
|
-
/** How tall the scrolling box is. */
|
|
102505
|
+
/** How tall the scrolling box is. A list that runs across is as tall as its rows unless you set it. */
|
|
102186
102506
|
"--virtual-list-block-size"?: (string) | undefined;
|
|
102187
102507
|
/** How faint a row `disabled-keys` names is drawn. */
|
|
102188
102508
|
"--virtual-list-disabled-opacity"?: (string) | undefined;
|