@fusion.dev/helix 0.160.0 → 0.161.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 +2416 -247
- package/dist/chat/message/chat-message.css.js +1 -1
- package/dist/chat/root/chat-root.css.js +6 -1
- package/dist/code-block/root/code-block-root.css.js +10 -3
- package/dist/code-block/root/code-block-root.d.ts +4 -10
- package/dist/code-block/root/code-block-root.js +0 -8
- package/dist/element-events.generated.js +4 -0
- package/dist/table/root/table-root.css.js +2 -1
- package/dist/table/row/table-row.css.js +8 -2
- package/dist/table/row/table-row.d.ts +2 -0
- package/dist/timeline/item/timeline-item.css.js +5 -1
- package/dist/video-playlist/root/video-playlist-root.css.js +1 -1
- package/dist/video-playlist/root/video-playlist-root.d.ts +2 -0
- package/dist/virtual-list/root/virtual-list-root.css.js +1 -1
- package/dist/virtual-list/root/virtual-list-root.d.ts +1 -0
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +710 -66
- package/types/vue.d.ts +233 -12
- package/types/words.d.ts +79 -0
package/custom-elements.json
CHANGED
|
@@ -21035,6 +21035,23 @@
|
|
|
21035
21035
|
"module": "src/canvas/root/canvas-root.ts"
|
|
21036
21036
|
}
|
|
21037
21037
|
},
|
|
21038
|
+
{
|
|
21039
|
+
"kind": "field",
|
|
21040
|
+
"name": "copiedLabel",
|
|
21041
|
+
"type": {
|
|
21042
|
+
"text": "string"
|
|
21043
|
+
},
|
|
21044
|
+
"default": "'{count, plural, one {# card copied} other {# cards copied}}'",
|
|
21045
|
+
"description": "What screen readers hear after a copy, with `{count}` for the cards copied.",
|
|
21046
|
+
"attribute": "copied-label",
|
|
21047
|
+
"helix": {
|
|
21048
|
+
"words": true
|
|
21049
|
+
},
|
|
21050
|
+
"inheritedFrom": {
|
|
21051
|
+
"name": "HelixHeadlessCanvas",
|
|
21052
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
21053
|
+
}
|
|
21054
|
+
},
|
|
21038
21055
|
{
|
|
21039
21056
|
"kind": "field",
|
|
21040
21057
|
"name": "fallbackLabel",
|
|
@@ -21194,6 +21211,23 @@
|
|
|
21194
21211
|
"module": "src/canvas/root/canvas-root.ts"
|
|
21195
21212
|
}
|
|
21196
21213
|
},
|
|
21214
|
+
{
|
|
21215
|
+
"kind": "field",
|
|
21216
|
+
"name": "redoneLabel",
|
|
21217
|
+
"type": {
|
|
21218
|
+
"text": "string"
|
|
21219
|
+
},
|
|
21220
|
+
"default": "'Move made again'",
|
|
21221
|
+
"description": "What screen readers hear after a move or a resize is made again.",
|
|
21222
|
+
"attribute": "redone-label",
|
|
21223
|
+
"helix": {
|
|
21224
|
+
"words": true
|
|
21225
|
+
},
|
|
21226
|
+
"inheritedFrom": {
|
|
21227
|
+
"name": "HelixHeadlessCanvas",
|
|
21228
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
21229
|
+
}
|
|
21230
|
+
},
|
|
21197
21231
|
{
|
|
21198
21232
|
"kind": "field",
|
|
21199
21233
|
"name": "resizedLabel",
|
|
@@ -21291,12 +21325,16 @@
|
|
|
21291
21325
|
},
|
|
21292
21326
|
{
|
|
21293
21327
|
"kind": "field",
|
|
21294
|
-
"name": "
|
|
21328
|
+
"name": "stoppedLabel",
|
|
21295
21329
|
"type": {
|
|
21296
|
-
"text": "
|
|
21330
|
+
"text": "string"
|
|
21331
|
+
},
|
|
21332
|
+
"default": "'Stopped connecting.'",
|
|
21333
|
+
"description": "The text announced when a connection is stopped before it is requested.",
|
|
21334
|
+
"attribute": "stopped-label",
|
|
21335
|
+
"helix": {
|
|
21336
|
+
"words": true
|
|
21297
21337
|
},
|
|
21298
|
-
"privacy": "private",
|
|
21299
|
-
"description": "A label being edited in place: whose, and what it said before.",
|
|
21300
21338
|
"inheritedFrom": {
|
|
21301
21339
|
"name": "HelixHeadlessCanvas",
|
|
21302
21340
|
"module": "src/canvas/root/canvas-root.ts"
|
|
@@ -21304,16 +21342,12 @@
|
|
|
21304
21342
|
},
|
|
21305
21343
|
{
|
|
21306
21344
|
"kind": "field",
|
|
21307
|
-
"name": "
|
|
21345
|
+
"name": "editing",
|
|
21308
21346
|
"type": {
|
|
21309
|
-
"text": "string"
|
|
21310
|
-
},
|
|
21311
|
-
"default": "'Stopped connecting.'",
|
|
21312
|
-
"description": "The text announced when a connection is stopped before it is requested.",
|
|
21313
|
-
"attribute": "stopped-label",
|
|
21314
|
-
"helix": {
|
|
21315
|
-
"words": true
|
|
21347
|
+
"text": "{ target: 'edge' | 'group'; key: string; was: string } | undefined"
|
|
21316
21348
|
},
|
|
21349
|
+
"privacy": "private",
|
|
21350
|
+
"description": "A label being edited in place: whose, and what it said before.",
|
|
21317
21351
|
"inheritedFrom": {
|
|
21318
21352
|
"name": "HelixHeadlessCanvas",
|
|
21319
21353
|
"module": "src/canvas/root/canvas-root.ts"
|
|
@@ -21333,6 +21367,23 @@
|
|
|
21333
21367
|
"module": "src/canvas/root/canvas-root.ts"
|
|
21334
21368
|
}
|
|
21335
21369
|
},
|
|
21370
|
+
{
|
|
21371
|
+
"kind": "field",
|
|
21372
|
+
"name": "undoneLabel",
|
|
21373
|
+
"type": {
|
|
21374
|
+
"text": "string"
|
|
21375
|
+
},
|
|
21376
|
+
"default": "'Move undone'",
|
|
21377
|
+
"description": "What screen readers hear after a move or a resize is undone.",
|
|
21378
|
+
"attribute": "undone-label",
|
|
21379
|
+
"helix": {
|
|
21380
|
+
"words": true
|
|
21381
|
+
},
|
|
21382
|
+
"inheritedFrom": {
|
|
21383
|
+
"name": "HelixHeadlessCanvas",
|
|
21384
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
21385
|
+
}
|
|
21386
|
+
},
|
|
21336
21387
|
{
|
|
21337
21388
|
"kind": "field",
|
|
21338
21389
|
"name": "zoomedLabel",
|
|
@@ -22757,6 +22808,181 @@
|
|
|
22757
22808
|
"module": "src/canvas/root/canvas-root.ts"
|
|
22758
22809
|
}
|
|
22759
22810
|
},
|
|
22811
|
+
{
|
|
22812
|
+
"kind": "field",
|
|
22813
|
+
"name": "undoable",
|
|
22814
|
+
"type": {
|
|
22815
|
+
"text": "Array<{ after: MoveDetail; before: MoveDetail }>"
|
|
22816
|
+
},
|
|
22817
|
+
"privacy": "private",
|
|
22818
|
+
"default": "[]",
|
|
22819
|
+
"description": "The moves and resizes the board made, oldest first, each as where its\ncards stood before and after, for `undo` to take back. At most 100.",
|
|
22820
|
+
"inheritedFrom": {
|
|
22821
|
+
"name": "HelixHeadlessCanvas",
|
|
22822
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22823
|
+
}
|
|
22824
|
+
},
|
|
22825
|
+
{
|
|
22826
|
+
"kind": "field",
|
|
22827
|
+
"name": "redoable",
|
|
22828
|
+
"type": {
|
|
22829
|
+
"text": "Array<{ after: MoveDetail; before: MoveDetail }>"
|
|
22830
|
+
},
|
|
22831
|
+
"privacy": "private",
|
|
22832
|
+
"default": "[]",
|
|
22833
|
+
"description": "The moves undone, most recent last, for `redo` to make again.",
|
|
22834
|
+
"inheritedFrom": {
|
|
22835
|
+
"name": "HelixHeadlessCanvas",
|
|
22836
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22837
|
+
}
|
|
22838
|
+
},
|
|
22839
|
+
{
|
|
22840
|
+
"kind": "field",
|
|
22841
|
+
"name": "moving",
|
|
22842
|
+
"type": {
|
|
22843
|
+
"text": "Map<string, { height: number; width: number; x: number; y: number }> | undefined"
|
|
22844
|
+
},
|
|
22845
|
+
"privacy": "private",
|
|
22846
|
+
"description": "Where the cards of the gesture in progress stood before its first step.",
|
|
22847
|
+
"inheritedFrom": {
|
|
22848
|
+
"name": "HelixHeadlessCanvas",
|
|
22849
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22850
|
+
}
|
|
22851
|
+
},
|
|
22852
|
+
{
|
|
22853
|
+
"kind": "field",
|
|
22854
|
+
"name": "replaying",
|
|
22855
|
+
"type": {
|
|
22856
|
+
"text": "boolean"
|
|
22857
|
+
},
|
|
22858
|
+
"privacy": "private",
|
|
22859
|
+
"default": "false",
|
|
22860
|
+
"description": "Whether a move is an undo or a redo, which history does not record again.",
|
|
22861
|
+
"inheritedFrom": {
|
|
22862
|
+
"name": "HelixHeadlessCanvas",
|
|
22863
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22864
|
+
}
|
|
22865
|
+
},
|
|
22866
|
+
{
|
|
22867
|
+
"kind": "method",
|
|
22868
|
+
"name": "finishMove",
|
|
22869
|
+
"privacy": "private",
|
|
22870
|
+
"return": {
|
|
22871
|
+
"type": {
|
|
22872
|
+
"text": "void"
|
|
22873
|
+
}
|
|
22874
|
+
},
|
|
22875
|
+
"parameters": [
|
|
22876
|
+
{
|
|
22877
|
+
"name": "detail",
|
|
22878
|
+
"type": {
|
|
22879
|
+
"text": "MoveDetail"
|
|
22880
|
+
}
|
|
22881
|
+
}
|
|
22882
|
+
],
|
|
22883
|
+
"description": "Says a move is finished, and keeps it for `undo`: where its cards stood\nbefore the gesture, and where they stand now.",
|
|
22884
|
+
"inheritedFrom": {
|
|
22885
|
+
"name": "HelixHeadlessCanvas",
|
|
22886
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22887
|
+
}
|
|
22888
|
+
},
|
|
22889
|
+
{
|
|
22890
|
+
"kind": "method",
|
|
22891
|
+
"name": "undo",
|
|
22892
|
+
"return": {
|
|
22893
|
+
"type": {
|
|
22894
|
+
"text": "boolean"
|
|
22895
|
+
}
|
|
22896
|
+
},
|
|
22897
|
+
"description": "Puts the cards of the last move or resize back where they stood, asking\nwith `helix-before-move` first. Returns whether anything moved: false\nwith nothing to undo, or when the request was refused.",
|
|
22898
|
+
"type": {
|
|
22899
|
+
"text": "undo() => boolean"
|
|
22900
|
+
},
|
|
22901
|
+
"inheritedFrom": {
|
|
22902
|
+
"name": "HelixHeadlessCanvas",
|
|
22903
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22904
|
+
}
|
|
22905
|
+
},
|
|
22906
|
+
{
|
|
22907
|
+
"kind": "method",
|
|
22908
|
+
"name": "redo",
|
|
22909
|
+
"return": {
|
|
22910
|
+
"type": {
|
|
22911
|
+
"text": "boolean"
|
|
22912
|
+
}
|
|
22913
|
+
},
|
|
22914
|
+
"description": "Makes the last move or resize `undo` took back again, asking with\n`helix-before-move` first. Returns whether anything moved.",
|
|
22915
|
+
"type": {
|
|
22916
|
+
"text": "redo() => boolean"
|
|
22917
|
+
},
|
|
22918
|
+
"inheritedFrom": {
|
|
22919
|
+
"name": "HelixHeadlessCanvas",
|
|
22920
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22921
|
+
}
|
|
22922
|
+
},
|
|
22923
|
+
{
|
|
22924
|
+
"kind": "method",
|
|
22925
|
+
"name": "replay",
|
|
22926
|
+
"privacy": "private",
|
|
22927
|
+
"return": {
|
|
22928
|
+
"type": {
|
|
22929
|
+
"text": "boolean"
|
|
22930
|
+
}
|
|
22931
|
+
},
|
|
22932
|
+
"parameters": [
|
|
22933
|
+
{
|
|
22934
|
+
"name": "from",
|
|
22935
|
+
"type": {
|
|
22936
|
+
"text": "Array<{ after: MoveDetail; before: MoveDetail }>"
|
|
22937
|
+
}
|
|
22938
|
+
},
|
|
22939
|
+
{
|
|
22940
|
+
"name": "to",
|
|
22941
|
+
"type": {
|
|
22942
|
+
"text": "Array<{ after: MoveDetail; before: MoveDetail }>"
|
|
22943
|
+
}
|
|
22944
|
+
},
|
|
22945
|
+
{
|
|
22946
|
+
"name": "side",
|
|
22947
|
+
"type": {
|
|
22948
|
+
"text": "'after' | 'before'"
|
|
22949
|
+
}
|
|
22950
|
+
},
|
|
22951
|
+
{
|
|
22952
|
+
"name": "words",
|
|
22953
|
+
"type": {
|
|
22954
|
+
"text": "string"
|
|
22955
|
+
}
|
|
22956
|
+
}
|
|
22957
|
+
],
|
|
22958
|
+
"description": "Moves the cards of the last entry of `from` to its `side`, and files it in `to`.",
|
|
22959
|
+
"inheritedFrom": {
|
|
22960
|
+
"name": "HelixHeadlessCanvas",
|
|
22961
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22962
|
+
}
|
|
22963
|
+
},
|
|
22964
|
+
{
|
|
22965
|
+
"kind": "field",
|
|
22966
|
+
"name": "handleCopy",
|
|
22967
|
+
"privacy": "private",
|
|
22968
|
+
"readonly": true,
|
|
22969
|
+
"description": "A copy on the board with cards selected writes them, and the connections\nbetween them, as a JSON Canvas document in text. Not from a field a card\nholds, nor over text a reader selected, which are the platform's to copy.",
|
|
22970
|
+
"inheritedFrom": {
|
|
22971
|
+
"name": "HelixHeadlessCanvas",
|
|
22972
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22973
|
+
}
|
|
22974
|
+
},
|
|
22975
|
+
{
|
|
22976
|
+
"kind": "field",
|
|
22977
|
+
"name": "handleHistoryKey",
|
|
22978
|
+
"privacy": "private",
|
|
22979
|
+
"readonly": true,
|
|
22980
|
+
"description": "Control or Command with Z undoes, and with Shift, or Control with Y,\nredoes, from anywhere on the board but a field a card holds, where the\nkeys are the field's.",
|
|
22981
|
+
"inheritedFrom": {
|
|
22982
|
+
"name": "HelixHeadlessCanvas",
|
|
22983
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
22984
|
+
}
|
|
22985
|
+
},
|
|
22760
22986
|
{
|
|
22761
22987
|
"kind": "field",
|
|
22762
22988
|
"name": "edgePan",
|
|
@@ -24394,6 +24620,19 @@
|
|
|
24394
24620
|
"module": "src/canvas/root/canvas-root.ts"
|
|
24395
24621
|
}
|
|
24396
24622
|
},
|
|
24623
|
+
{
|
|
24624
|
+
"name": "copied-label",
|
|
24625
|
+
"type": {
|
|
24626
|
+
"text": "string"
|
|
24627
|
+
},
|
|
24628
|
+
"default": "'{count, plural, one {# card copied} other {# cards copied}}'",
|
|
24629
|
+
"description": "What screen readers hear after a copy, with `{count}` for the cards copied.",
|
|
24630
|
+
"fieldName": "copiedLabel",
|
|
24631
|
+
"inheritedFrom": {
|
|
24632
|
+
"name": "HelixHeadlessCanvas",
|
|
24633
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
24634
|
+
}
|
|
24635
|
+
},
|
|
24397
24636
|
{
|
|
24398
24637
|
"name": "fallback-label",
|
|
24399
24638
|
"type": {
|
|
@@ -24522,6 +24761,19 @@
|
|
|
24522
24761
|
"module": "src/canvas/root/canvas-root.ts"
|
|
24523
24762
|
}
|
|
24524
24763
|
},
|
|
24764
|
+
{
|
|
24765
|
+
"name": "redone-label",
|
|
24766
|
+
"type": {
|
|
24767
|
+
"text": "string"
|
|
24768
|
+
},
|
|
24769
|
+
"default": "'Move made again'",
|
|
24770
|
+
"description": "What screen readers hear after a move or a resize is made again.",
|
|
24771
|
+
"fieldName": "redoneLabel",
|
|
24772
|
+
"inheritedFrom": {
|
|
24773
|
+
"name": "HelixHeadlessCanvas",
|
|
24774
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
24775
|
+
}
|
|
24776
|
+
},
|
|
24525
24777
|
{
|
|
24526
24778
|
"name": "resized-label",
|
|
24527
24779
|
"type": {
|
|
@@ -24638,6 +24890,19 @@
|
|
|
24638
24890
|
"module": "src/canvas/root/canvas-root.ts"
|
|
24639
24891
|
}
|
|
24640
24892
|
},
|
|
24893
|
+
{
|
|
24894
|
+
"name": "undone-label",
|
|
24895
|
+
"type": {
|
|
24896
|
+
"text": "string"
|
|
24897
|
+
},
|
|
24898
|
+
"default": "'Move undone'",
|
|
24899
|
+
"description": "What screen readers hear after a move or a resize is undone.",
|
|
24900
|
+
"fieldName": "undoneLabel",
|
|
24901
|
+
"inheritedFrom": {
|
|
24902
|
+
"name": "HelixHeadlessCanvas",
|
|
24903
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
24904
|
+
}
|
|
24905
|
+
},
|
|
24641
24906
|
{
|
|
24642
24907
|
"name": "using-label",
|
|
24643
24908
|
"type": {
|
|
@@ -31333,6 +31598,22 @@
|
|
|
31333
31598
|
"module": "src/chat/root/chat-root.ts"
|
|
31334
31599
|
}
|
|
31335
31600
|
},
|
|
31601
|
+
{
|
|
31602
|
+
"description": "The button the `resume` region shows when nothing is slotted into it.",
|
|
31603
|
+
"name": "resume-button",
|
|
31604
|
+
"inheritedFrom": {
|
|
31605
|
+
"name": "HelixHeadlessChat",
|
|
31606
|
+
"module": "src/chat/root/chat-root.ts"
|
|
31607
|
+
}
|
|
31608
|
+
},
|
|
31609
|
+
{
|
|
31610
|
+
"description": "The arrow on the default `resume-button`.",
|
|
31611
|
+
"name": "resume-mark",
|
|
31612
|
+
"inheritedFrom": {
|
|
31613
|
+
"name": "HelixHeadlessChat",
|
|
31614
|
+
"module": "src/chat/root/chat-root.ts"
|
|
31615
|
+
}
|
|
31616
|
+
},
|
|
31336
31617
|
{
|
|
31337
31618
|
"description": "The status region, outside the log.",
|
|
31338
31619
|
"name": "status",
|
|
@@ -31877,6 +32158,23 @@
|
|
|
31877
32158
|
"module": "src/chat/root/chat-root.ts"
|
|
31878
32159
|
}
|
|
31879
32160
|
},
|
|
32161
|
+
{
|
|
32162
|
+
"kind": "field",
|
|
32163
|
+
"name": "resumeLabel",
|
|
32164
|
+
"type": {
|
|
32165
|
+
"text": "string"
|
|
32166
|
+
},
|
|
32167
|
+
"default": "'Jump to latest'",
|
|
32168
|
+
"description": "The words on the button that returns to the newest turn, where `resume` is empty.",
|
|
32169
|
+
"attribute": "resume-label",
|
|
32170
|
+
"helix": {
|
|
32171
|
+
"words": true
|
|
32172
|
+
},
|
|
32173
|
+
"inheritedFrom": {
|
|
32174
|
+
"name": "HelixHeadlessChat",
|
|
32175
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32176
|
+
}
|
|
32177
|
+
},
|
|
31880
32178
|
{
|
|
31881
32179
|
"kind": "field",
|
|
31882
32180
|
"name": "threshold",
|
|
@@ -32600,6 +32898,101 @@
|
|
|
32600
32898
|
"module": "src/chat/root/chat-root.ts"
|
|
32601
32899
|
}
|
|
32602
32900
|
},
|
|
32901
|
+
{
|
|
32902
|
+
"kind": "method",
|
|
32903
|
+
"name": "turnFrom",
|
|
32904
|
+
"privacy": "private",
|
|
32905
|
+
"return": {
|
|
32906
|
+
"type": {
|
|
32907
|
+
"text": "number | undefined"
|
|
32908
|
+
}
|
|
32909
|
+
},
|
|
32910
|
+
"parameters": [
|
|
32911
|
+
{
|
|
32912
|
+
"name": "path",
|
|
32913
|
+
"type": {
|
|
32914
|
+
"text": "readonly EventTarget[]"
|
|
32915
|
+
}
|
|
32916
|
+
}
|
|
32917
|
+
],
|
|
32918
|
+
"description": "Which turn an event came from, by its place, `-1` for the transcript\nitself, or `undefined` for anywhere else.",
|
|
32919
|
+
"inheritedFrom": {
|
|
32920
|
+
"name": "HelixHeadlessChat",
|
|
32921
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32922
|
+
}
|
|
32923
|
+
},
|
|
32924
|
+
{
|
|
32925
|
+
"kind": "method",
|
|
32926
|
+
"name": "topTurn",
|
|
32927
|
+
"privacy": "private",
|
|
32928
|
+
"return": {
|
|
32929
|
+
"type": {
|
|
32930
|
+
"text": "number"
|
|
32931
|
+
}
|
|
32932
|
+
},
|
|
32933
|
+
"description": "The place of the turn at the top of the view, or the first turn.",
|
|
32934
|
+
"inheritedFrom": {
|
|
32935
|
+
"name": "HelixHeadlessChat",
|
|
32936
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32937
|
+
}
|
|
32938
|
+
},
|
|
32939
|
+
{
|
|
32940
|
+
"kind": "method",
|
|
32941
|
+
"name": "focusTurn",
|
|
32942
|
+
"privacy": "private",
|
|
32943
|
+
"return": {
|
|
32944
|
+
"type": {
|
|
32945
|
+
"text": "Promise<void>"
|
|
32946
|
+
}
|
|
32947
|
+
},
|
|
32948
|
+
"parameters": [
|
|
32949
|
+
{
|
|
32950
|
+
"name": "at",
|
|
32951
|
+
"type": {
|
|
32952
|
+
"text": "number"
|
|
32953
|
+
}
|
|
32954
|
+
}
|
|
32955
|
+
],
|
|
32956
|
+
"description": "Moves focus to turn `at`, drawing it first where the transcript is\nwindowed and it is not drawn.\n\n**A turn takes focus only once a reader moves to it**, so the\n`tabindex=\"-1\"` a turn written as a child needs is written then, long\nafter any server's markup has hydrated, and never on a turn nobody moved\nto.",
|
|
32957
|
+
"inheritedFrom": {
|
|
32958
|
+
"name": "HelixHeadlessChat",
|
|
32959
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32960
|
+
}
|
|
32961
|
+
},
|
|
32962
|
+
{
|
|
32963
|
+
"kind": "method",
|
|
32964
|
+
"name": "firstControlIn",
|
|
32965
|
+
"privacy": "private",
|
|
32966
|
+
"return": {
|
|
32967
|
+
"type": {
|
|
32968
|
+
"text": "HTMLElement | undefined"
|
|
32969
|
+
}
|
|
32970
|
+
},
|
|
32971
|
+
"parameters": [
|
|
32972
|
+
{
|
|
32973
|
+
"name": "names",
|
|
32974
|
+
"type": {
|
|
32975
|
+
"text": "readonly string[]"
|
|
32976
|
+
}
|
|
32977
|
+
}
|
|
32978
|
+
],
|
|
32979
|
+
"description": "The first control in the regions `names` holds, in their order.",
|
|
32980
|
+
"inheritedFrom": {
|
|
32981
|
+
"name": "HelixHeadlessChat",
|
|
32982
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32983
|
+
}
|
|
32984
|
+
},
|
|
32985
|
+
{
|
|
32986
|
+
"kind": "field",
|
|
32987
|
+
"name": "handleKeydown",
|
|
32988
|
+
"privacy": "private",
|
|
32989
|
+
"readonly": true,
|
|
32990
|
+
"description": "Page Down and Page Up move between turns, and Control with End or Home\nleaves the transcript, the keys the APG's feed answers.",
|
|
32991
|
+
"inheritedFrom": {
|
|
32992
|
+
"name": "HelixHeadlessChat",
|
|
32993
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32994
|
+
}
|
|
32995
|
+
},
|
|
32603
32996
|
{
|
|
32604
32997
|
"kind": "field",
|
|
32605
32998
|
"name": "handleSlotChange",
|
|
@@ -32646,6 +33039,21 @@
|
|
|
32646
33039
|
"module": "src/chat/root/chat-root.ts"
|
|
32647
33040
|
}
|
|
32648
33041
|
},
|
|
33042
|
+
{
|
|
33043
|
+
"kind": "method",
|
|
33044
|
+
"name": "renderResume",
|
|
33045
|
+
"privacy": "protected",
|
|
33046
|
+
"return": {
|
|
33047
|
+
"type": {
|
|
33048
|
+
"text": "TemplateResult"
|
|
33049
|
+
}
|
|
33050
|
+
},
|
|
33051
|
+
"description": "The `resume` slot, with the way back drawn where nothing is slotted, behind a seam:\nthe slot answers a page, and this answers the tier above.",
|
|
33052
|
+
"inheritedFrom": {
|
|
33053
|
+
"name": "HelixHeadlessChat",
|
|
33054
|
+
"module": "src/chat/root/chat-root.ts"
|
|
33055
|
+
}
|
|
33056
|
+
},
|
|
32649
33057
|
{
|
|
32650
33058
|
"kind": "method",
|
|
32651
33059
|
"name": "tag",
|
|
@@ -33268,6 +33676,19 @@
|
|
|
33268
33676
|
"module": "src/chat/root/chat-root.ts"
|
|
33269
33677
|
}
|
|
33270
33678
|
},
|
|
33679
|
+
{
|
|
33680
|
+
"name": "resume-label",
|
|
33681
|
+
"type": {
|
|
33682
|
+
"text": "string"
|
|
33683
|
+
},
|
|
33684
|
+
"default": "'Jump to latest'",
|
|
33685
|
+
"description": "The words on the button that returns to the newest turn, where `resume` is empty.",
|
|
33686
|
+
"fieldName": "resumeLabel",
|
|
33687
|
+
"inheritedFrom": {
|
|
33688
|
+
"name": "HelixHeadlessChat",
|
|
33689
|
+
"module": "src/chat/root/chat-root.ts"
|
|
33690
|
+
}
|
|
33691
|
+
},
|
|
33271
33692
|
{
|
|
33272
33693
|
"name": "threshold",
|
|
33273
33694
|
"type": {
|
|
@@ -37522,7 +37943,7 @@
|
|
|
37522
37943
|
"declarations": [
|
|
37523
37944
|
{
|
|
37524
37945
|
"kind": "class",
|
|
37525
|
-
"description": "The header sits above the code with the copy button at its end, so the button\nnever covers the first line. A block with no name has no header. The button\nthen sits beside the code in space the block keeps clear: an end gutter for\ncode, and a band above the first hunk for a diff.\n\nA diff draws one block per file in the same frame. Each changed line is\ntinted in its tone at Tag's resting strength, with its `+` or `-` in the\ntone's ink color, so you can see the change without comparing two pale\nbackgrounds. A split diff stacks its two versions when the file is narrower\nthan about 40rem.\n\nLong lines scroll by default. Set `wrap` to wrap them instead, for prose-like\ncode such as a long command, and set `--code-block-max-block-size` to cap the\nheight of a long file, which then scrolls.",
|
|
37946
|
+
"description": "The header sits above the code with the copy button at its end, so the button\nnever covers the first line. A block with no name has no header. The button\nthen sits beside the code in space the block keeps clear: an end gutter for\ncode, and a band above the first hunk for a diff.\n\nA diff draws one block per file in the same frame. Each changed line is\ntinted in its tone at Tag's resting strength, with its `+` or `-` in the\ntone's ink color, so you can see the change without comparing two pale\nbackgrounds. A split diff stacks its two versions when the file is narrower\nthan about 40rem.\n\nLong lines scroll by default. Set `wrap` to wrap them instead, for prose-like\ncode such as a long command, and set `--code-block-max-block-size` to cap the\nheight of a long file, which then scrolls. A line `mark-lines` names takes a\nband in the primary color, with an edge at its start.",
|
|
37526
37947
|
"name": "HelixCodeBlock",
|
|
37527
37948
|
"cssProperties": [
|
|
37528
37949
|
{
|
|
@@ -37573,6 +37994,14 @@
|
|
|
37573
37994
|
"description": "The line height of the code and its line numbers, as a number or a length.",
|
|
37574
37995
|
"name": "--code-block-line-height"
|
|
37575
37996
|
},
|
|
37997
|
+
{
|
|
37998
|
+
"description": "The band behind the lines `mark-lines` names. The primary color at a wash by default.",
|
|
37999
|
+
"name": "--code-block-mark-color"
|
|
38000
|
+
},
|
|
38001
|
+
{
|
|
38002
|
+
"description": "The edge at the start of a band behind marked lines. The primary color by default.",
|
|
38003
|
+
"name": "--code-block-mark-edge-color"
|
|
38004
|
+
},
|
|
37576
38005
|
{
|
|
37577
38006
|
"description": "The tallest the code grows before it scrolls, or until `expandable`'s button shows every line. The default is no limit.",
|
|
37578
38007
|
"name": "--code-block-max-block-size"
|
|
@@ -37584,6 +38013,38 @@
|
|
|
37584
38013
|
{
|
|
37585
38014
|
"description": "The color a diff's removed lines are tinted in and their `-` is drawn in. The danger color by default.",
|
|
37586
38015
|
"name": "--code-block-removed-color"
|
|
38016
|
+
},
|
|
38017
|
+
{
|
|
38018
|
+
"description": "Written by the block on each `number` in a `wrap` block with `line-numbers`: how tall the line it numbers is laid out. Do not set it.",
|
|
38019
|
+
"name": "--code-block-line-size",
|
|
38020
|
+
"inheritedFrom": {
|
|
38021
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38022
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38023
|
+
}
|
|
38024
|
+
},
|
|
38025
|
+
{
|
|
38026
|
+
"description": "Written by the block on each `mark`: how wide the code is, scrolled part included. Do not set it.",
|
|
38027
|
+
"name": "--code-block-mark-inline-size",
|
|
38028
|
+
"inheritedFrom": {
|
|
38029
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38030
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38031
|
+
}
|
|
38032
|
+
},
|
|
38033
|
+
{
|
|
38034
|
+
"description": "Written by the block on each `mark`: how tall its run of lines is. Do not set it.",
|
|
38035
|
+
"name": "--code-block-mark-size",
|
|
38036
|
+
"inheritedFrom": {
|
|
38037
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38038
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38039
|
+
}
|
|
38040
|
+
},
|
|
38041
|
+
{
|
|
38042
|
+
"description": "Written by the block on each `mark`: how far down the code its run of lines starts. Do not set it.",
|
|
38043
|
+
"name": "--code-block-mark-start",
|
|
38044
|
+
"inheritedFrom": {
|
|
38045
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38046
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38047
|
+
}
|
|
37587
38048
|
}
|
|
37588
38049
|
],
|
|
37589
38050
|
"members": [
|
|
@@ -37601,17 +38062,6 @@
|
|
|
37601
38062
|
"module": "src/helix-element/helix-element.ts"
|
|
37602
38063
|
}
|
|
37603
38064
|
},
|
|
37604
|
-
{
|
|
37605
|
-
"kind": "field",
|
|
37606
|
-
"name": "wrap",
|
|
37607
|
-
"type": {
|
|
37608
|
-
"text": "boolean"
|
|
37609
|
-
},
|
|
37610
|
-
"default": "false",
|
|
37611
|
-
"description": "Whether long lines wrap.\n\nOff by default, so long lines scroll, because a line break can be\nsignificant in code and a wrapped line reads as two. For prose-like code, such as a long command or\na log line, a wrap reads better than a scroll. Line numbers keep the lines\nunwrapped, since a wrapped line would take one number and several rows.",
|
|
37612
|
-
"attribute": "wrap",
|
|
37613
|
-
"reflects": true
|
|
37614
|
-
},
|
|
37615
38065
|
{
|
|
37616
38066
|
"kind": "field",
|
|
37617
38067
|
"name": "words",
|
|
@@ -37829,6 +38279,20 @@
|
|
|
37829
38279
|
"module": "src/code-block/root/code-block-root.ts"
|
|
37830
38280
|
}
|
|
37831
38281
|
},
|
|
38282
|
+
{
|
|
38283
|
+
"kind": "field",
|
|
38284
|
+
"name": "markLines",
|
|
38285
|
+
"type": {
|
|
38286
|
+
"text": "string"
|
|
38287
|
+
},
|
|
38288
|
+
"default": "''",
|
|
38289
|
+
"description": "The lines to mark, as numbers and ranges counted from 1, such as `2, 4-6`.\nEach run is drawn as a band behind its lines. Not for a diff, which marks\nits own changes.",
|
|
38290
|
+
"attribute": "mark-lines",
|
|
38291
|
+
"inheritedFrom": {
|
|
38292
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38293
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38294
|
+
}
|
|
38295
|
+
},
|
|
37832
38296
|
{
|
|
37833
38297
|
"kind": "field",
|
|
37834
38298
|
"name": "noCopy",
|
|
@@ -37858,6 +38322,67 @@
|
|
|
37858
38322
|
"module": "src/code-block/root/code-block-root.ts"
|
|
37859
38323
|
}
|
|
37860
38324
|
},
|
|
38325
|
+
{
|
|
38326
|
+
"kind": "field",
|
|
38327
|
+
"name": "wrap",
|
|
38328
|
+
"type": {
|
|
38329
|
+
"text": "boolean"
|
|
38330
|
+
},
|
|
38331
|
+
"default": "false",
|
|
38332
|
+
"description": "Whether long lines wrap. Without it they scroll.\n\nOff by default, so long lines scroll, because a line break can be\nsignificant in code and a wrapped line reads as two. For prose-like code,\nsuch as a long command or a log line, a wrap reads better than a scroll.\nWith `line-numbers`, each number stands beside the line it numbers\nhowever many rows that line takes. Reflected, because the stylesheet\nwraps the lines.",
|
|
38333
|
+
"attribute": "wrap",
|
|
38334
|
+
"reflects": true,
|
|
38335
|
+
"inheritedFrom": {
|
|
38336
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38337
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38338
|
+
}
|
|
38339
|
+
},
|
|
38340
|
+
{
|
|
38341
|
+
"kind": "field",
|
|
38342
|
+
"name": "wrapLabel",
|
|
38343
|
+
"type": {
|
|
38344
|
+
"text": "string"
|
|
38345
|
+
},
|
|
38346
|
+
"default": "'Wrap lines'",
|
|
38347
|
+
"description": "The wrap button's name, which it keeps whether it is pressed or not.",
|
|
38348
|
+
"attribute": "wrap-label",
|
|
38349
|
+
"helix": {
|
|
38350
|
+
"words": true
|
|
38351
|
+
},
|
|
38352
|
+
"inheritedFrom": {
|
|
38353
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38354
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38355
|
+
}
|
|
38356
|
+
},
|
|
38357
|
+
{
|
|
38358
|
+
"kind": "field",
|
|
38359
|
+
"name": "wrappable",
|
|
38360
|
+
"type": {
|
|
38361
|
+
"text": "boolean"
|
|
38362
|
+
},
|
|
38363
|
+
"default": "false",
|
|
38364
|
+
"description": "Whether the header has a button that wraps the lines and unwraps them. The\nblock draws a header for it even with no name.",
|
|
38365
|
+
"attribute": "wrappable",
|
|
38366
|
+
"inheritedFrom": {
|
|
38367
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38368
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38369
|
+
}
|
|
38370
|
+
},
|
|
38371
|
+
{
|
|
38372
|
+
"kind": "method",
|
|
38373
|
+
"name": "toggleWrap",
|
|
38374
|
+
"privacy": "private",
|
|
38375
|
+
"return": {
|
|
38376
|
+
"type": {
|
|
38377
|
+
"text": "void"
|
|
38378
|
+
}
|
|
38379
|
+
},
|
|
38380
|
+
"description": "Asks to wrap or unwrap the lines, and says so once it has.",
|
|
38381
|
+
"inheritedFrom": {
|
|
38382
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38383
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38384
|
+
}
|
|
38385
|
+
},
|
|
37861
38386
|
{
|
|
37862
38387
|
"kind": "field",
|
|
37863
38388
|
"name": "parsed",
|
|
@@ -37980,6 +38505,44 @@
|
|
|
37980
38505
|
"module": "src/code-block/root/code-block-root.ts"
|
|
37981
38506
|
}
|
|
37982
38507
|
},
|
|
38508
|
+
{
|
|
38509
|
+
"kind": "method",
|
|
38510
|
+
"name": "lineBoxes",
|
|
38511
|
+
"privacy": "private",
|
|
38512
|
+
"return": {
|
|
38513
|
+
"type": {
|
|
38514
|
+
"text": "Array<{ bottom: number; top: number }>"
|
|
38515
|
+
}
|
|
38516
|
+
},
|
|
38517
|
+
"parameters": [
|
|
38518
|
+
{
|
|
38519
|
+
"name": "code",
|
|
38520
|
+
"type": {
|
|
38521
|
+
"text": "HTMLElement"
|
|
38522
|
+
}
|
|
38523
|
+
}
|
|
38524
|
+
],
|
|
38525
|
+
"description": "Where each line of the code is laid out in the `<code>`, from the top of\nits content, as the browser placed the text: one row, or several where it\nwraps.",
|
|
38526
|
+
"inheritedFrom": {
|
|
38527
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38528
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38529
|
+
}
|
|
38530
|
+
},
|
|
38531
|
+
{
|
|
38532
|
+
"kind": "method",
|
|
38533
|
+
"name": "placeLines",
|
|
38534
|
+
"privacy": "private",
|
|
38535
|
+
"return": {
|
|
38536
|
+
"type": {
|
|
38537
|
+
"text": "void"
|
|
38538
|
+
}
|
|
38539
|
+
},
|
|
38540
|
+
"description": "Places each mark behind its run of lines, and makes each number in a\nwrapping gutter as tall as its line, from where the lines are laid out.\n\n**Written onto the elements as custom properties**, which are facts the\nblock computed and CSS cannot, and no render follows from them.",
|
|
38541
|
+
"inheritedFrom": {
|
|
38542
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38543
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38544
|
+
}
|
|
38545
|
+
},
|
|
37983
38546
|
{
|
|
37984
38547
|
"kind": "method",
|
|
37985
38548
|
"name": "renderExpand",
|
|
@@ -37995,6 +38558,29 @@
|
|
|
37995
38558
|
"module": "src/code-block/root/code-block-root.ts"
|
|
37996
38559
|
}
|
|
37997
38560
|
},
|
|
38561
|
+
{
|
|
38562
|
+
"kind": "method",
|
|
38563
|
+
"name": "headed",
|
|
38564
|
+
"privacy": "private",
|
|
38565
|
+
"return": {
|
|
38566
|
+
"type": {
|
|
38567
|
+
"text": "boolean"
|
|
38568
|
+
}
|
|
38569
|
+
},
|
|
38570
|
+
"parameters": [
|
|
38571
|
+
{
|
|
38572
|
+
"name": "name",
|
|
38573
|
+
"type": {
|
|
38574
|
+
"text": "string"
|
|
38575
|
+
}
|
|
38576
|
+
}
|
|
38577
|
+
],
|
|
38578
|
+
"description": "Whether the block draws a header: it has a name, a wrap button, or a control in `actions`.",
|
|
38579
|
+
"inheritedFrom": {
|
|
38580
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38581
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38582
|
+
}
|
|
38583
|
+
},
|
|
37998
38584
|
{
|
|
37999
38585
|
"kind": "method",
|
|
38000
38586
|
"name": "renderHeader",
|
|
@@ -38019,7 +38605,45 @@
|
|
|
38019
38605
|
}
|
|
38020
38606
|
}
|
|
38021
38607
|
],
|
|
38022
|
-
"description": "The name with the copy button beside it, or nothing when there is no name.\n\n**The button is in the header wherever there is one**, because beside the\ncode it stands over the block and the block has to make room for it. A\ndiff cannot: its washes run to the edge, so the button stood on the hunk\nline and the line under it. In the header it is over nothing.\n\n**No name draws no header**,
|
|
38608
|
+
"description": "The name with the copy button beside it, or nothing when there is no name.\n\n**The button is in the header wherever there is one**, because beside the\ncode it stands over the block and the block has to make room for it. A\ndiff cannot: its washes run to the edge, so the button stood on the hunk\nline and the line under it. In the header it is over nothing.\n\n**No name draws no header**, unless the page put a control in `actions`\nor asked for the wrap button. A bar holding the copy button alone turned a\n`Usage` section of one-line imports into a run of empty strips. The button\nthen stands beside the code, in room the block keeps for it.",
|
|
38609
|
+
"inheritedFrom": {
|
|
38610
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38611
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38612
|
+
}
|
|
38613
|
+
},
|
|
38614
|
+
{
|
|
38615
|
+
"kind": "method",
|
|
38616
|
+
"name": "renderWrapToggle",
|
|
38617
|
+
"privacy": "private",
|
|
38618
|
+
"return": {
|
|
38619
|
+
"type": {
|
|
38620
|
+
"text": "TemplateResult | typeof nothing"
|
|
38621
|
+
}
|
|
38622
|
+
},
|
|
38623
|
+
"description": "The button that wraps the lines and unwraps them, where `wrappable` asks for one. Not for a diff.",
|
|
38624
|
+
"inheritedFrom": {
|
|
38625
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38626
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38627
|
+
}
|
|
38628
|
+
},
|
|
38629
|
+
{
|
|
38630
|
+
"kind": "method",
|
|
38631
|
+
"name": "slotted",
|
|
38632
|
+
"privacy": "private",
|
|
38633
|
+
"return": {
|
|
38634
|
+
"type": {
|
|
38635
|
+
"text": "boolean"
|
|
38636
|
+
}
|
|
38637
|
+
},
|
|
38638
|
+
"parameters": [
|
|
38639
|
+
{
|
|
38640
|
+
"name": "name",
|
|
38641
|
+
"type": {
|
|
38642
|
+
"text": "string"
|
|
38643
|
+
}
|
|
38644
|
+
}
|
|
38645
|
+
],
|
|
38646
|
+
"description": "Whether the page slotted something into `name`. Not known on a server or\nwhile hydrating what one sent, which render as though nothing were.",
|
|
38023
38647
|
"inheritedFrom": {
|
|
38024
38648
|
"name": "HelixHeadlessCodeBlock",
|
|
38025
38649
|
"module": "src/code-block/root/code-block-root.ts"
|
|
@@ -38085,6 +38709,21 @@
|
|
|
38085
38709
|
"module": "src/code-block/root/code-block-root.ts"
|
|
38086
38710
|
}
|
|
38087
38711
|
},
|
|
38712
|
+
{
|
|
38713
|
+
"kind": "method",
|
|
38714
|
+
"name": "renderCopyIcons",
|
|
38715
|
+
"privacy": "private",
|
|
38716
|
+
"return": {
|
|
38717
|
+
"type": {
|
|
38718
|
+
"text": "TemplateResult"
|
|
38719
|
+
}
|
|
38720
|
+
},
|
|
38721
|
+
"description": "The page's own icons for the copy button, passed on through slots of the\nblock's, where the page slotted them. A slot passed on with nothing in it\nwould stand in for the button's own icon and draw nothing, so it is drawn\nonly for an icon the page gave. In a diff, the first file's button takes\nthem, a slotted element going to one slot.",
|
|
38722
|
+
"inheritedFrom": {
|
|
38723
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38724
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38725
|
+
}
|
|
38726
|
+
},
|
|
38088
38727
|
{
|
|
38089
38728
|
"kind": "method",
|
|
38090
38729
|
"name": "renderNumber",
|
|
@@ -38553,198 +39192,6 @@
|
|
|
38553
39192
|
}
|
|
38554
39193
|
}
|
|
38555
39194
|
],
|
|
38556
|
-
"attributes": [
|
|
38557
|
-
{
|
|
38558
|
-
"name": "wrap",
|
|
38559
|
-
"type": {
|
|
38560
|
-
"text": "boolean"
|
|
38561
|
-
},
|
|
38562
|
-
"default": "false",
|
|
38563
|
-
"description": "Whether long lines wrap.\n\nOff by default, so long lines scroll, because a line break can be\nsignificant in code and a wrapped line reads as two. For prose-like code, such as a long command or\na log line, a wrap reads better than a scroll. Line numbers keep the lines\nunwrapped, since a wrapped line would take one number and several rows.",
|
|
38564
|
-
"fieldName": "wrap"
|
|
38565
|
-
},
|
|
38566
|
-
{
|
|
38567
|
-
"name": "code-label",
|
|
38568
|
-
"type": {
|
|
38569
|
-
"text": "string"
|
|
38570
|
-
},
|
|
38571
|
-
"default": "'Code'",
|
|
38572
|
-
"description": "The name of a block that scrolls, which is a tab stop while it does.\n\nWhere the block has a name, the scroller says it too, such as \"Code,\napp.ts\", as `code-name-label` puts it.",
|
|
38573
|
-
"fieldName": "codeLabel",
|
|
38574
|
-
"inheritedFrom": {
|
|
38575
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38576
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38577
|
-
}
|
|
38578
|
-
},
|
|
38579
|
-
{
|
|
38580
|
-
"name": "code-name-label",
|
|
38581
|
-
"type": {
|
|
38582
|
-
"text": "string"
|
|
38583
|
-
},
|
|
38584
|
-
"default": "'{code}, {name}'",
|
|
38585
|
-
"description": "The name of a block that scrolls, where the block has a name. `{code}` is\n`code-label` and `{name}` the block's name.",
|
|
38586
|
-
"fieldName": "codeNameLabel",
|
|
38587
|
-
"inheritedFrom": {
|
|
38588
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38589
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38590
|
-
}
|
|
38591
|
-
},
|
|
38592
|
-
{
|
|
38593
|
-
"name": "collapse-label",
|
|
38594
|
-
"type": {
|
|
38595
|
-
"text": "string"
|
|
38596
|
-
},
|
|
38597
|
-
"default": "'Show fewer lines'",
|
|
38598
|
-
"description": "The expand button's words while the block shows every line.",
|
|
38599
|
-
"fieldName": "collapseLabel",
|
|
38600
|
-
"inheritedFrom": {
|
|
38601
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38602
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38603
|
-
}
|
|
38604
|
-
},
|
|
38605
|
-
{
|
|
38606
|
-
"name": "copied-label",
|
|
38607
|
-
"type": {
|
|
38608
|
-
"text": "string"
|
|
38609
|
-
},
|
|
38610
|
-
"default": "'Copied'",
|
|
38611
|
-
"description": "The copy button's name and tooltip text after a copy.",
|
|
38612
|
-
"fieldName": "copiedLabel",
|
|
38613
|
-
"inheritedFrom": {
|
|
38614
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38615
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38616
|
-
}
|
|
38617
|
-
},
|
|
38618
|
-
{
|
|
38619
|
-
"name": "copy-label",
|
|
38620
|
-
"type": {
|
|
38621
|
-
"text": "string"
|
|
38622
|
-
},
|
|
38623
|
-
"default": "'Copy code'",
|
|
38624
|
-
"description": "The copy button's name and tooltip text before a copy.\n\nWhere the block has a name, the button says it too, such as \"Copy code,\napp.ts\", as `copy-name-label` puts it, so each copy button on a page with\nseveral blocks is told apart. In a diff, that is each file's own name.",
|
|
38625
|
-
"fieldName": "copyLabel",
|
|
38626
|
-
"inheritedFrom": {
|
|
38627
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38628
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38629
|
-
}
|
|
38630
|
-
},
|
|
38631
|
-
{
|
|
38632
|
-
"name": "copy-name-label",
|
|
38633
|
-
"type": {
|
|
38634
|
-
"text": "string"
|
|
38635
|
-
},
|
|
38636
|
-
"default": "'{copy}, {name}'",
|
|
38637
|
-
"description": "The copy button's name and tooltip text before a copy, where the block\nhas a name. `{copy}` is `copy-label` and `{name}` the block's name.",
|
|
38638
|
-
"fieldName": "copyNameLabel",
|
|
38639
|
-
"inheritedFrom": {
|
|
38640
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38641
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38642
|
-
}
|
|
38643
|
-
},
|
|
38644
|
-
{
|
|
38645
|
-
"name": "diff",
|
|
38646
|
-
"type": {
|
|
38647
|
-
"text": "boolean"
|
|
38648
|
-
},
|
|
38649
|
-
"default": "false",
|
|
38650
|
-
"description": "Whether the content is a unified diff, drawn as the lines it changed.\n\nReflected, because the stylesheet paints a diff differently from code, and\n`false` reflects as no attribute at all.",
|
|
38651
|
-
"fieldName": "diff",
|
|
38652
|
-
"inheritedFrom": {
|
|
38653
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38654
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38655
|
-
}
|
|
38656
|
-
},
|
|
38657
|
-
{
|
|
38658
|
-
"name": "expandable",
|
|
38659
|
-
"type": {
|
|
38660
|
-
"text": "boolean"
|
|
38661
|
-
},
|
|
38662
|
-
"default": "false",
|
|
38663
|
-
"description": "Whether a block whose height is capped takes a button that shows every\nline, and fewer again.\n\nThe cap is the page's, `--code-block-max-block-size` on the styled tier;\nthe button is drawn only while the cap hides something, measured as the\nblock lays out. Not for a diff, whose files each scroll on their own.",
|
|
38664
|
-
"fieldName": "expandable",
|
|
38665
|
-
"inheritedFrom": {
|
|
38666
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38667
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38668
|
-
}
|
|
38669
|
-
},
|
|
38670
|
-
{
|
|
38671
|
-
"name": "expand-label",
|
|
38672
|
-
"type": {
|
|
38673
|
-
"text": "string"
|
|
38674
|
-
},
|
|
38675
|
-
"default": "'Show all lines'",
|
|
38676
|
-
"description": "The expand button's words while the cap hides lines.",
|
|
38677
|
-
"fieldName": "expandLabel",
|
|
38678
|
-
"inheritedFrom": {
|
|
38679
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38680
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38681
|
-
}
|
|
38682
|
-
},
|
|
38683
|
-
{
|
|
38684
|
-
"name": "label",
|
|
38685
|
-
"type": {
|
|
38686
|
-
"text": "string"
|
|
38687
|
-
},
|
|
38688
|
-
"default": "''",
|
|
38689
|
-
"description": "The block's name, usually a file name, drawn in the header.\n\nAbsent, the block is named by `language` where there is one. In a diff,\neach file is named from the patch, and this names a patch that carries no\nname of its own.",
|
|
38690
|
-
"fieldName": "label",
|
|
38691
|
-
"inheritedFrom": {
|
|
38692
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38693
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38694
|
-
}
|
|
38695
|
-
},
|
|
38696
|
-
{
|
|
38697
|
-
"name": "language",
|
|
38698
|
-
"type": {
|
|
38699
|
-
"text": "string"
|
|
38700
|
-
},
|
|
38701
|
-
"default": "''",
|
|
38702
|
-
"description": "The language the code is written in, such as `ts` or `css`, handed to\n`highlight` as its second argument.\n\nA block with no `label` is named by it, in the header and on the copy\nbutton, as a docs site names a snippet by its language. Absent hands\n`highlight` an empty string and names nothing.",
|
|
38703
|
-
"fieldName": "language",
|
|
38704
|
-
"inheritedFrom": {
|
|
38705
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38706
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38707
|
-
}
|
|
38708
|
-
},
|
|
38709
|
-
{
|
|
38710
|
-
"name": "line-numbers",
|
|
38711
|
-
"type": {
|
|
38712
|
-
"text": "boolean"
|
|
38713
|
-
},
|
|
38714
|
-
"default": "false",
|
|
38715
|
-
"description": "Whether the lines are numbered in a gutter beside the code.\n\nThe numbers are hidden from the accessibility tree and are not part of a\ncopy, which takes the code alone. Reflected, because the stylesheet lays\nthe gutter out beside the code. A diff numbers its lines from its hunks\nwhether or not this is set.",
|
|
38716
|
-
"fieldName": "lineNumbers",
|
|
38717
|
-
"inheritedFrom": {
|
|
38718
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38719
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38720
|
-
}
|
|
38721
|
-
},
|
|
38722
|
-
{
|
|
38723
|
-
"name": "no-copy",
|
|
38724
|
-
"type": {
|
|
38725
|
-
"text": "boolean"
|
|
38726
|
-
},
|
|
38727
|
-
"default": "false",
|
|
38728
|
-
"description": "Whether to leave the copy button off.\n\nNegative, which is not a style choice. A boolean attribute is true whenever\nit is *present*, so a `copyable` defaulting to true could never be turned\noff from markup: `copyable=\"false\"` is the string \"false\", which is\npresent, which is true. Measured, and it is why this is named the other way\nround. The platform already writes booleans like this for the same reason,\n`novalidate` and `nomodule` and `noreferrer` among them.\n\n**Reflected, because the gutter is a stylesheet rule.** A sheet reserves\nthe copy button's width with `:host(:not([no-copy]))`, so the attribute is\nwhat decides whether the block pays for a control. Unreflected, setting it\nfrom script takes the button away (`render` reads the property) and leaves\nthe 40px it stood in reserved.\n\nA false boolean reflects as the attribute's absence, so this costs no\n`no-copy=\"\"` on hosts that never asked for one, and the rule about a\nreflected property taking no default is satisfied by the default being\n`false`.",
|
|
38729
|
-
"fieldName": "noCopy",
|
|
38730
|
-
"inheritedFrom": {
|
|
38731
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38732
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38733
|
-
}
|
|
38734
|
-
},
|
|
38735
|
-
{
|
|
38736
|
-
"name": "variant",
|
|
38737
|
-
"type": {
|
|
38738
|
-
"text": "'split' | undefined"
|
|
38739
|
-
},
|
|
38740
|
-
"description": "How a diff's two versions are arranged. It has no effect without `diff`.\n\nAbsent is unified, each removal above its replacement, which fits any\nwidth. `split` sets the old version beside the new one. Optional rather\nthan defaulted, so the host carries no attribute the consumer did not write.",
|
|
38741
|
-
"fieldName": "variant",
|
|
38742
|
-
"inheritedFrom": {
|
|
38743
|
-
"name": "HelixHeadlessCodeBlock",
|
|
38744
|
-
"module": "src/code-block/root/code-block-root.ts"
|
|
38745
|
-
}
|
|
38746
|
-
}
|
|
38747
|
-
],
|
|
38748
39195
|
"superclass": {
|
|
38749
39196
|
"name": "HelixHeadlessCodeBlock",
|
|
38750
39197
|
"package": "@fusion.dev/helix-headless/code-block"
|
|
@@ -38805,9 +39252,41 @@
|
|
|
38805
39252
|
"name": "HelixHeadlessCodeBlock",
|
|
38806
39253
|
"module": "src/code-block/root/code-block-root.ts"
|
|
38807
39254
|
}
|
|
39255
|
+
},
|
|
39256
|
+
{
|
|
39257
|
+
"description": "Controls for the block, in the header before the copy button.",
|
|
39258
|
+
"name": "actions",
|
|
39259
|
+
"inheritedFrom": {
|
|
39260
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39261
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39262
|
+
}
|
|
39263
|
+
},
|
|
39264
|
+
{
|
|
39265
|
+
"description": "The copy button's icon after a copy. Defaults to a check mark.",
|
|
39266
|
+
"name": "copied-icon",
|
|
39267
|
+
"inheritedFrom": {
|
|
39268
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39269
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39270
|
+
}
|
|
39271
|
+
},
|
|
39272
|
+
{
|
|
39273
|
+
"description": "The copy button's icon before a copy. Defaults to a clipboard.",
|
|
39274
|
+
"name": "copy-icon",
|
|
39275
|
+
"inheritedFrom": {
|
|
39276
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39277
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39278
|
+
}
|
|
38808
39279
|
}
|
|
38809
39280
|
],
|
|
38810
39281
|
"cssParts": [
|
|
39282
|
+
{
|
|
39283
|
+
"description": "The box in the header that holds the `actions` slot, drawn while something is slotted there.",
|
|
39284
|
+
"name": "actions",
|
|
39285
|
+
"inheritedFrom": {
|
|
39286
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39287
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39288
|
+
}
|
|
39289
|
+
},
|
|
38811
39290
|
{
|
|
38812
39291
|
"description": "In a diff, a line only the new version has, an `<ins>`.",
|
|
38813
39292
|
"name": "added",
|
|
@@ -39032,6 +39511,14 @@
|
|
|
39032
39511
|
"module": "src/code-block/root/code-block-root.ts"
|
|
39033
39512
|
}
|
|
39034
39513
|
},
|
|
39514
|
+
{
|
|
39515
|
+
"description": "The band behind a run of lines `mark-lines` names. The block writes where the run is laid out into `--code-block-mark-start`, `--code-block-mark-size`, and `--code-block-mark-inline-size` on it. Hidden from the accessibility tree.",
|
|
39516
|
+
"name": "mark",
|
|
39517
|
+
"inheritedFrom": {
|
|
39518
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39519
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39520
|
+
}
|
|
39521
|
+
},
|
|
39035
39522
|
{
|
|
39036
39523
|
"description": "In a diff, the `+`, `-`, or space that starts a line.",
|
|
39037
39524
|
"name": "marker",
|
|
@@ -39049,7 +39536,7 @@
|
|
|
39049
39536
|
}
|
|
39050
39537
|
},
|
|
39051
39538
|
{
|
|
39052
|
-
"description": "In a diff, a line number.",
|
|
39539
|
+
"description": "In a diff, a line number. In a `wrap` block with `line-numbers`, one line's number in the gutter, which the block makes as tall as the line it numbers through `--code-block-line-size`.",
|
|
39053
39540
|
"name": "number",
|
|
39054
39541
|
"inheritedFrom": {
|
|
39055
39542
|
"name": "HelixHeadlessCodeBlock",
|
|
@@ -39087,6 +39574,275 @@
|
|
|
39087
39574
|
"name": "HelixHeadlessCodeBlock",
|
|
39088
39575
|
"module": "src/code-block/root/code-block-root.ts"
|
|
39089
39576
|
}
|
|
39577
|
+
},
|
|
39578
|
+
{
|
|
39579
|
+
"description": "The button in the header that wraps the lines and unwraps them, drawn when `wrappable` is set.",
|
|
39580
|
+
"name": "wrap-toggle",
|
|
39581
|
+
"inheritedFrom": {
|
|
39582
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39583
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39584
|
+
}
|
|
39585
|
+
}
|
|
39586
|
+
],
|
|
39587
|
+
"attributes": [
|
|
39588
|
+
{
|
|
39589
|
+
"name": "code-label",
|
|
39590
|
+
"type": {
|
|
39591
|
+
"text": "string"
|
|
39592
|
+
},
|
|
39593
|
+
"default": "'Code'",
|
|
39594
|
+
"description": "The name of a block that scrolls, which is a tab stop while it does.\n\nWhere the block has a name, the scroller says it too, such as \"Code,\napp.ts\", as `code-name-label` puts it.",
|
|
39595
|
+
"fieldName": "codeLabel",
|
|
39596
|
+
"inheritedFrom": {
|
|
39597
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39598
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39599
|
+
}
|
|
39600
|
+
},
|
|
39601
|
+
{
|
|
39602
|
+
"name": "code-name-label",
|
|
39603
|
+
"type": {
|
|
39604
|
+
"text": "string"
|
|
39605
|
+
},
|
|
39606
|
+
"default": "'{code}, {name}'",
|
|
39607
|
+
"description": "The name of a block that scrolls, where the block has a name. `{code}` is\n`code-label` and `{name}` the block's name.",
|
|
39608
|
+
"fieldName": "codeNameLabel",
|
|
39609
|
+
"inheritedFrom": {
|
|
39610
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39611
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39612
|
+
}
|
|
39613
|
+
},
|
|
39614
|
+
{
|
|
39615
|
+
"name": "collapse-label",
|
|
39616
|
+
"type": {
|
|
39617
|
+
"text": "string"
|
|
39618
|
+
},
|
|
39619
|
+
"default": "'Show fewer lines'",
|
|
39620
|
+
"description": "The expand button's words while the block shows every line.",
|
|
39621
|
+
"fieldName": "collapseLabel",
|
|
39622
|
+
"inheritedFrom": {
|
|
39623
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39624
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39625
|
+
}
|
|
39626
|
+
},
|
|
39627
|
+
{
|
|
39628
|
+
"name": "copied-label",
|
|
39629
|
+
"type": {
|
|
39630
|
+
"text": "string"
|
|
39631
|
+
},
|
|
39632
|
+
"default": "'Copied'",
|
|
39633
|
+
"description": "The copy button's name and tooltip text after a copy.",
|
|
39634
|
+
"fieldName": "copiedLabel",
|
|
39635
|
+
"inheritedFrom": {
|
|
39636
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39637
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39638
|
+
}
|
|
39639
|
+
},
|
|
39640
|
+
{
|
|
39641
|
+
"name": "copy-label",
|
|
39642
|
+
"type": {
|
|
39643
|
+
"text": "string"
|
|
39644
|
+
},
|
|
39645
|
+
"default": "'Copy code'",
|
|
39646
|
+
"description": "The copy button's name and tooltip text before a copy.\n\nWhere the block has a name, the button says it too, such as \"Copy code,\napp.ts\", as `copy-name-label` puts it, so each copy button on a page with\nseveral blocks is told apart. In a diff, that is each file's own name.",
|
|
39647
|
+
"fieldName": "copyLabel",
|
|
39648
|
+
"inheritedFrom": {
|
|
39649
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39650
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39651
|
+
}
|
|
39652
|
+
},
|
|
39653
|
+
{
|
|
39654
|
+
"name": "copy-name-label",
|
|
39655
|
+
"type": {
|
|
39656
|
+
"text": "string"
|
|
39657
|
+
},
|
|
39658
|
+
"default": "'{copy}, {name}'",
|
|
39659
|
+
"description": "The copy button's name and tooltip text before a copy, where the block\nhas a name. `{copy}` is `copy-label` and `{name}` the block's name.",
|
|
39660
|
+
"fieldName": "copyNameLabel",
|
|
39661
|
+
"inheritedFrom": {
|
|
39662
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39663
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39664
|
+
}
|
|
39665
|
+
},
|
|
39666
|
+
{
|
|
39667
|
+
"name": "diff",
|
|
39668
|
+
"type": {
|
|
39669
|
+
"text": "boolean"
|
|
39670
|
+
},
|
|
39671
|
+
"default": "false",
|
|
39672
|
+
"description": "Whether the content is a unified diff, drawn as the lines it changed.\n\nReflected, because the stylesheet paints a diff differently from code, and\n`false` reflects as no attribute at all.",
|
|
39673
|
+
"fieldName": "diff",
|
|
39674
|
+
"inheritedFrom": {
|
|
39675
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39676
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39677
|
+
}
|
|
39678
|
+
},
|
|
39679
|
+
{
|
|
39680
|
+
"name": "expandable",
|
|
39681
|
+
"type": {
|
|
39682
|
+
"text": "boolean"
|
|
39683
|
+
},
|
|
39684
|
+
"default": "false",
|
|
39685
|
+
"description": "Whether a block whose height is capped takes a button that shows every\nline, and fewer again.\n\nThe cap is the page's, `--code-block-max-block-size` on the styled tier;\nthe button is drawn only while the cap hides something, measured as the\nblock lays out. Not for a diff, whose files each scroll on their own.",
|
|
39686
|
+
"fieldName": "expandable",
|
|
39687
|
+
"inheritedFrom": {
|
|
39688
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39689
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39690
|
+
}
|
|
39691
|
+
},
|
|
39692
|
+
{
|
|
39693
|
+
"name": "expand-label",
|
|
39694
|
+
"type": {
|
|
39695
|
+
"text": "string"
|
|
39696
|
+
},
|
|
39697
|
+
"default": "'Show all lines'",
|
|
39698
|
+
"description": "The expand button's words while the cap hides lines.",
|
|
39699
|
+
"fieldName": "expandLabel",
|
|
39700
|
+
"inheritedFrom": {
|
|
39701
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39702
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39703
|
+
}
|
|
39704
|
+
},
|
|
39705
|
+
{
|
|
39706
|
+
"name": "label",
|
|
39707
|
+
"type": {
|
|
39708
|
+
"text": "string"
|
|
39709
|
+
},
|
|
39710
|
+
"default": "''",
|
|
39711
|
+
"description": "The block's name, usually a file name, drawn in the header.\n\nAbsent, the block is named by `language` where there is one. In a diff,\neach file is named from the patch, and this names a patch that carries no\nname of its own.",
|
|
39712
|
+
"fieldName": "label",
|
|
39713
|
+
"inheritedFrom": {
|
|
39714
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39715
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39716
|
+
}
|
|
39717
|
+
},
|
|
39718
|
+
{
|
|
39719
|
+
"name": "language",
|
|
39720
|
+
"type": {
|
|
39721
|
+
"text": "string"
|
|
39722
|
+
},
|
|
39723
|
+
"default": "''",
|
|
39724
|
+
"description": "The language the code is written in, such as `ts` or `css`, handed to\n`highlight` as its second argument.\n\nA block with no `label` is named by it, in the header and on the copy\nbutton, as a docs site names a snippet by its language. Absent hands\n`highlight` an empty string and names nothing.",
|
|
39725
|
+
"fieldName": "language",
|
|
39726
|
+
"inheritedFrom": {
|
|
39727
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39728
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39729
|
+
}
|
|
39730
|
+
},
|
|
39731
|
+
{
|
|
39732
|
+
"name": "line-numbers",
|
|
39733
|
+
"type": {
|
|
39734
|
+
"text": "boolean"
|
|
39735
|
+
},
|
|
39736
|
+
"default": "false",
|
|
39737
|
+
"description": "Whether the lines are numbered in a gutter beside the code.\n\nThe numbers are hidden from the accessibility tree and are not part of a\ncopy, which takes the code alone. Reflected, because the stylesheet lays\nthe gutter out beside the code. A diff numbers its lines from its hunks\nwhether or not this is set.",
|
|
39738
|
+
"fieldName": "lineNumbers",
|
|
39739
|
+
"inheritedFrom": {
|
|
39740
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39741
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39742
|
+
}
|
|
39743
|
+
},
|
|
39744
|
+
{
|
|
39745
|
+
"name": "mark-lines",
|
|
39746
|
+
"type": {
|
|
39747
|
+
"text": "string"
|
|
39748
|
+
},
|
|
39749
|
+
"default": "''",
|
|
39750
|
+
"description": "The lines to mark, as numbers and ranges counted from 1, such as `2, 4-6`.\nEach run is drawn as a band behind its lines. Not for a diff, which marks\nits own changes.",
|
|
39751
|
+
"fieldName": "markLines",
|
|
39752
|
+
"inheritedFrom": {
|
|
39753
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39754
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39755
|
+
}
|
|
39756
|
+
},
|
|
39757
|
+
{
|
|
39758
|
+
"name": "no-copy",
|
|
39759
|
+
"type": {
|
|
39760
|
+
"text": "boolean"
|
|
39761
|
+
},
|
|
39762
|
+
"default": "false",
|
|
39763
|
+
"description": "Whether to leave the copy button off.\n\nNegative, which is not a style choice. A boolean attribute is true whenever\nit is *present*, so a `copyable` defaulting to true could never be turned\noff from markup: `copyable=\"false\"` is the string \"false\", which is\npresent, which is true. Measured, and it is why this is named the other way\nround. The platform already writes booleans like this for the same reason,\n`novalidate` and `nomodule` and `noreferrer` among them.\n\n**Reflected, because the gutter is a stylesheet rule.** A sheet reserves\nthe copy button's width with `:host(:not([no-copy]))`, so the attribute is\nwhat decides whether the block pays for a control. Unreflected, setting it\nfrom script takes the button away (`render` reads the property) and leaves\nthe 40px it stood in reserved.\n\nA false boolean reflects as the attribute's absence, so this costs no\n`no-copy=\"\"` on hosts that never asked for one, and the rule about a\nreflected property taking no default is satisfied by the default being\n`false`.",
|
|
39764
|
+
"fieldName": "noCopy",
|
|
39765
|
+
"inheritedFrom": {
|
|
39766
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39767
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39768
|
+
}
|
|
39769
|
+
},
|
|
39770
|
+
{
|
|
39771
|
+
"name": "variant",
|
|
39772
|
+
"type": {
|
|
39773
|
+
"text": "'split' | undefined"
|
|
39774
|
+
},
|
|
39775
|
+
"description": "How a diff's two versions are arranged. It has no effect without `diff`.\n\nAbsent is unified, each removal above its replacement, which fits any\nwidth. `split` sets the old version beside the new one. Optional rather\nthan defaulted, so the host carries no attribute the consumer did not write.",
|
|
39776
|
+
"fieldName": "variant",
|
|
39777
|
+
"inheritedFrom": {
|
|
39778
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39779
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39780
|
+
}
|
|
39781
|
+
},
|
|
39782
|
+
{
|
|
39783
|
+
"name": "wrap",
|
|
39784
|
+
"type": {
|
|
39785
|
+
"text": "boolean"
|
|
39786
|
+
},
|
|
39787
|
+
"default": "false",
|
|
39788
|
+
"description": "Whether long lines wrap. Without it they scroll.\n\nOff by default, so long lines scroll, because a line break can be\nsignificant in code and a wrapped line reads as two. For prose-like code,\nsuch as a long command or a log line, a wrap reads better than a scroll.\nWith `line-numbers`, each number stands beside the line it numbers\nhowever many rows that line takes. Reflected, because the stylesheet\nwraps the lines.",
|
|
39789
|
+
"fieldName": "wrap",
|
|
39790
|
+
"inheritedFrom": {
|
|
39791
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39792
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39793
|
+
}
|
|
39794
|
+
},
|
|
39795
|
+
{
|
|
39796
|
+
"name": "wrap-label",
|
|
39797
|
+
"type": {
|
|
39798
|
+
"text": "string"
|
|
39799
|
+
},
|
|
39800
|
+
"default": "'Wrap lines'",
|
|
39801
|
+
"description": "The wrap button's name, which it keeps whether it is pressed or not.",
|
|
39802
|
+
"fieldName": "wrapLabel",
|
|
39803
|
+
"inheritedFrom": {
|
|
39804
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39805
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39806
|
+
}
|
|
39807
|
+
},
|
|
39808
|
+
{
|
|
39809
|
+
"name": "wrappable",
|
|
39810
|
+
"type": {
|
|
39811
|
+
"text": "boolean"
|
|
39812
|
+
},
|
|
39813
|
+
"default": "false",
|
|
39814
|
+
"description": "Whether the header has a button that wraps the lines and unwraps them. The\nblock draws a header for it even with no name.",
|
|
39815
|
+
"fieldName": "wrappable",
|
|
39816
|
+
"inheritedFrom": {
|
|
39817
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39818
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39819
|
+
}
|
|
39820
|
+
}
|
|
39821
|
+
],
|
|
39822
|
+
"events": [
|
|
39823
|
+
{
|
|
39824
|
+
"type": {
|
|
39825
|
+
"text": "HelixBeforeToggleEvent"
|
|
39826
|
+
},
|
|
39827
|
+
"description": "The wrap button was pressed, with the `wrap` it asks for in `detail.checked`. Cancelable: cancel it to keep the lines as they are.",
|
|
39828
|
+
"name": "helix-before-toggle",
|
|
39829
|
+
"reactProp": "onhelix-before-toggle",
|
|
39830
|
+
"inheritedFrom": {
|
|
39831
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39832
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39833
|
+
}
|
|
39834
|
+
},
|
|
39835
|
+
{
|
|
39836
|
+
"type": {
|
|
39837
|
+
"text": "HelixToggleEvent"
|
|
39838
|
+
},
|
|
39839
|
+
"description": "Fired after the wrap button changed `wrap`, with the new value in `detail.checked`.",
|
|
39840
|
+
"name": "helix-toggle",
|
|
39841
|
+
"reactProp": "onhelix-toggle",
|
|
39842
|
+
"inheritedFrom": {
|
|
39843
|
+
"name": "HelixHeadlessCodeBlock",
|
|
39844
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
39845
|
+
}
|
|
39090
39846
|
}
|
|
39091
39847
|
],
|
|
39092
39848
|
"cssStates": [
|
|
@@ -89316,15 +90072,22 @@
|
|
|
89316
90072
|
"type": {
|
|
89317
90073
|
"text": "string"
|
|
89318
90074
|
}
|
|
90075
|
+
},
|
|
90076
|
+
{
|
|
90077
|
+
"name": "cause",
|
|
90078
|
+
"optional": true,
|
|
90079
|
+
"type": {
|
|
90080
|
+
"text": "string"
|
|
90081
|
+
}
|
|
89319
90082
|
}
|
|
89320
90083
|
],
|
|
89321
|
-
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction.",
|
|
90084
|
+
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction. `cause` says why, where the family names its\ncauses, and reaches the event as `detail.cause`.",
|
|
89322
90085
|
"inheritedFrom": {
|
|
89323
90086
|
"name": "MixinControllerActive",
|
|
89324
90087
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
89325
90088
|
},
|
|
89326
90089
|
"type": {
|
|
89327
|
-
"text": "requestActive(next: string) => boolean"
|
|
90090
|
+
"text": "requestActive(next: string, cause?: string) => boolean"
|
|
89328
90091
|
}
|
|
89329
90092
|
},
|
|
89330
90093
|
{
|
|
@@ -104684,15 +105447,22 @@
|
|
|
104684
105447
|
"type": {
|
|
104685
105448
|
"text": "string"
|
|
104686
105449
|
}
|
|
105450
|
+
},
|
|
105451
|
+
{
|
|
105452
|
+
"name": "cause",
|
|
105453
|
+
"optional": true,
|
|
105454
|
+
"type": {
|
|
105455
|
+
"text": "string"
|
|
105456
|
+
}
|
|
104687
105457
|
}
|
|
104688
105458
|
],
|
|
104689
|
-
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction.",
|
|
105459
|
+
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction. `cause` says why, where the family names its\ncauses, and reaches the event as `detail.cause`.",
|
|
104690
105460
|
"inheritedFrom": {
|
|
104691
105461
|
"name": "MixinControllerActive",
|
|
104692
105462
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
104693
105463
|
},
|
|
104694
105464
|
"type": {
|
|
104695
|
-
"text": "requestActive(next: string) => boolean"
|
|
105465
|
+
"text": "requestActive(next: string, cause?: string) => boolean"
|
|
104696
105466
|
}
|
|
104697
105467
|
},
|
|
104698
105468
|
{
|
|
@@ -183097,6 +183867,23 @@
|
|
|
183097
183867
|
"module": "src/splitter/root/splitter-root.ts"
|
|
183098
183868
|
}
|
|
183099
183869
|
},
|
|
183870
|
+
{
|
|
183871
|
+
"kind": "field",
|
|
183872
|
+
"name": "cornerValueLabel",
|
|
183873
|
+
"type": {
|
|
183874
|
+
"text": "string"
|
|
183875
|
+
},
|
|
183876
|
+
"default": "'{across} across, {down} down'",
|
|
183877
|
+
"description": "What the handle where two dividers cross says it is set to, both dividers\nat once: `{across}` is where the divider that runs down stands, and\n`{down}` where the one that runs across stands, each a percentage.\n\n**Both, because the handle moves both**, and a number names one: the\nhandle's `aria-valuenow` is the divider its `aria-orientation` names, and\nthese words are the whole of where it is.",
|
|
183878
|
+
"attribute": "corner-value-label",
|
|
183879
|
+
"helix": {
|
|
183880
|
+
"words": true
|
|
183881
|
+
},
|
|
183882
|
+
"inheritedFrom": {
|
|
183883
|
+
"name": "HelixHeadlessSplitter",
|
|
183884
|
+
"module": "src/splitter/root/splitter-root.ts"
|
|
183885
|
+
}
|
|
183886
|
+
},
|
|
183100
183887
|
{
|
|
183101
183888
|
"kind": "field",
|
|
183102
183889
|
"name": "defaultCollapsed",
|
|
@@ -183766,6 +184553,35 @@
|
|
|
183766
184553
|
"module": "src/splitter/root/splitter-root.ts"
|
|
183767
184554
|
}
|
|
183768
184555
|
},
|
|
184556
|
+
{
|
|
184557
|
+
"kind": "method",
|
|
184558
|
+
"name": "cornerWords",
|
|
184559
|
+
"privacy": "private",
|
|
184560
|
+
"return": {
|
|
184561
|
+
"type": {
|
|
184562
|
+
"text": "string"
|
|
184563
|
+
}
|
|
184564
|
+
},
|
|
184565
|
+
"parameters": [
|
|
184566
|
+
{
|
|
184567
|
+
"name": "own",
|
|
184568
|
+
"type": {
|
|
184569
|
+
"text": "number"
|
|
184570
|
+
}
|
|
184571
|
+
},
|
|
184572
|
+
{
|
|
184573
|
+
"name": "theirs",
|
|
184574
|
+
"type": {
|
|
184575
|
+
"text": "number"
|
|
184576
|
+
}
|
|
184577
|
+
}
|
|
184578
|
+
],
|
|
184579
|
+
"description": "Where a crossing stands in words: this splitter's divider at `own` and the\nnested one's at `theirs`, as `corner-value-label` puts them.",
|
|
184580
|
+
"inheritedFrom": {
|
|
184581
|
+
"name": "HelixHeadlessSplitter",
|
|
184582
|
+
"module": "src/splitter/root/splitter-root.ts"
|
|
184583
|
+
}
|
|
184584
|
+
},
|
|
183769
184585
|
{
|
|
183770
184586
|
"kind": "field",
|
|
183771
184587
|
"name": "vertical",
|
|
@@ -184449,6 +185265,19 @@
|
|
|
184449
185265
|
"module": "src/splitter/root/splitter-root.ts"
|
|
184450
185266
|
}
|
|
184451
185267
|
},
|
|
185268
|
+
{
|
|
185269
|
+
"name": "corner-value-label",
|
|
185270
|
+
"type": {
|
|
185271
|
+
"text": "string"
|
|
185272
|
+
},
|
|
185273
|
+
"default": "'{across} across, {down} down'",
|
|
185274
|
+
"description": "What the handle where two dividers cross says it is set to, both dividers\nat once: `{across}` is where the divider that runs down stands, and\n`{down}` where the one that runs across stands, each a percentage.\n\n**Both, because the handle moves both**, and a number names one: the\nhandle's `aria-valuenow` is the divider its `aria-orientation` names, and\nthese words are the whole of where it is.",
|
|
185275
|
+
"fieldName": "cornerValueLabel",
|
|
185276
|
+
"inheritedFrom": {
|
|
185277
|
+
"name": "HelixHeadlessSplitter",
|
|
185278
|
+
"module": "src/splitter/root/splitter-root.ts"
|
|
185279
|
+
}
|
|
185280
|
+
},
|
|
184452
185281
|
{
|
|
184453
185282
|
"name": "default-collapsed",
|
|
184454
185283
|
"type": {
|
|
@@ -186221,15 +187050,22 @@
|
|
|
186221
187050
|
"type": {
|
|
186222
187051
|
"text": "string"
|
|
186223
187052
|
}
|
|
187053
|
+
},
|
|
187054
|
+
{
|
|
187055
|
+
"name": "cause",
|
|
187056
|
+
"optional": true,
|
|
187057
|
+
"type": {
|
|
187058
|
+
"text": "string"
|
|
187059
|
+
}
|
|
186224
187060
|
}
|
|
186225
187061
|
],
|
|
186226
|
-
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction.",
|
|
187062
|
+
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction. `cause` says why, where the family names its\ncauses, and reaches the event as `detail.cause`.",
|
|
186227
187063
|
"inheritedFrom": {
|
|
186228
187064
|
"name": "MixinControllerActive",
|
|
186229
187065
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
186230
187066
|
},
|
|
186231
187067
|
"type": {
|
|
186232
|
-
"text": "requestActive(next: string) => boolean"
|
|
187068
|
+
"text": "requestActive(next: string, cause?: string) => boolean"
|
|
186233
187069
|
}
|
|
186234
187070
|
},
|
|
186235
187071
|
{
|
|
@@ -191871,6 +192707,14 @@
|
|
|
191871
192707
|
"module": "src/table/root/table-root.ts"
|
|
191872
192708
|
}
|
|
191873
192709
|
},
|
|
192710
|
+
{
|
|
192711
|
+
"description": "The heading over the disclosure buttons, in a table whose rows nest.",
|
|
192712
|
+
"name": "expand-head",
|
|
192713
|
+
"inheritedFrom": {
|
|
192714
|
+
"name": "HelixHeadlessTable",
|
|
192715
|
+
"module": "src/table/root/table-root.ts"
|
|
192716
|
+
}
|
|
192717
|
+
},
|
|
191874
192718
|
{
|
|
191875
192719
|
"description": "An empty box after the rows, in a `grid` table. Tab focuses it on its way out of the table, so the key leaves from the end.",
|
|
191876
192720
|
"name": "grid-end",
|
|
@@ -192247,6 +193091,20 @@
|
|
|
192247
193091
|
"module": "src/table/root/table-root.ts"
|
|
192248
193092
|
}
|
|
192249
193093
|
},
|
|
193094
|
+
{
|
|
193095
|
+
"kind": "field",
|
|
193096
|
+
"name": "defaultExpanded",
|
|
193097
|
+
"type": {
|
|
193098
|
+
"text": "string"
|
|
193099
|
+
},
|
|
193100
|
+
"default": "''",
|
|
193101
|
+
"description": "The keys of the rows whose rows are shown at the start, separated by\ncommas. Used until `expanded` is set.",
|
|
193102
|
+
"attribute": "default-expanded",
|
|
193103
|
+
"inheritedFrom": {
|
|
193104
|
+
"name": "HelixHeadlessTable",
|
|
193105
|
+
"module": "src/table/root/table-root.ts"
|
|
193106
|
+
}
|
|
193107
|
+
},
|
|
192250
193108
|
{
|
|
192251
193109
|
"kind": "field",
|
|
192252
193110
|
"name": "defaultSelected",
|
|
@@ -192323,6 +193181,53 @@
|
|
|
192323
193181
|
"module": "src/table/root/table-root.ts"
|
|
192324
193182
|
}
|
|
192325
193183
|
},
|
|
193184
|
+
{
|
|
193185
|
+
"kind": "field",
|
|
193186
|
+
"name": "expandColumnLabel",
|
|
193187
|
+
"type": {
|
|
193188
|
+
"text": "string"
|
|
193189
|
+
},
|
|
193190
|
+
"default": "'Expand'",
|
|
193191
|
+
"description": "The name of the heading over the disclosure buttons.",
|
|
193192
|
+
"attribute": "expand-column-label",
|
|
193193
|
+
"helix": {
|
|
193194
|
+
"words": true
|
|
193195
|
+
},
|
|
193196
|
+
"inheritedFrom": {
|
|
193197
|
+
"name": "HelixHeadlessTable",
|
|
193198
|
+
"module": "src/table/root/table-root.ts"
|
|
193199
|
+
}
|
|
193200
|
+
},
|
|
193201
|
+
{
|
|
193202
|
+
"kind": "field",
|
|
193203
|
+
"name": "expanded",
|
|
193204
|
+
"type": {
|
|
193205
|
+
"text": "string"
|
|
193206
|
+
},
|
|
193207
|
+
"description": "The keys of the rows whose rows are shown, separated by commas, in a table\nwhose rows nest. A press on a row's disclosure button asks first, and\n`default-expanded` seeds what this element then owns.",
|
|
193208
|
+
"attribute": "expanded",
|
|
193209
|
+
"inheritedFrom": {
|
|
193210
|
+
"name": "HelixHeadlessTable",
|
|
193211
|
+
"module": "src/table/root/table-root.ts"
|
|
193212
|
+
}
|
|
193213
|
+
},
|
|
193214
|
+
{
|
|
193215
|
+
"kind": "field",
|
|
193216
|
+
"name": "expandRowLabel",
|
|
193217
|
+
"type": {
|
|
193218
|
+
"text": "string"
|
|
193219
|
+
},
|
|
193220
|
+
"default": "'Expand {row}'",
|
|
193221
|
+
"description": "The name of a row's disclosure button. `{row}` is the words of the row's first cell.",
|
|
193222
|
+
"attribute": "expand-row-label",
|
|
193223
|
+
"helix": {
|
|
193224
|
+
"words": true
|
|
193225
|
+
},
|
|
193226
|
+
"inheritedFrom": {
|
|
193227
|
+
"name": "HelixHeadlessTable",
|
|
193228
|
+
"module": "src/table/root/table-root.ts"
|
|
193229
|
+
}
|
|
193230
|
+
},
|
|
192326
193231
|
{
|
|
192327
193232
|
"kind": "field",
|
|
192328
193233
|
"name": "fallbackLabel",
|
|
@@ -192368,6 +193273,20 @@
|
|
|
192368
193273
|
"module": "src/table/root/table-root.ts"
|
|
192369
193274
|
}
|
|
192370
193275
|
},
|
|
193276
|
+
{
|
|
193277
|
+
"kind": "field",
|
|
193278
|
+
"name": "loadMore",
|
|
193279
|
+
"type": {
|
|
193280
|
+
"text": "boolean"
|
|
193281
|
+
},
|
|
193282
|
+
"default": "false",
|
|
193283
|
+
"description": "Sends `helix-load-more` once the end of the table comes within a screen\nof view, so you can add the next rows as a reader nears them.",
|
|
193284
|
+
"attribute": "load-more",
|
|
193285
|
+
"inheritedFrom": {
|
|
193286
|
+
"name": "HelixHeadlessTable",
|
|
193287
|
+
"module": "src/table/root/table-root.ts"
|
|
193288
|
+
}
|
|
193289
|
+
},
|
|
192371
193290
|
{
|
|
192372
193291
|
"kind": "field",
|
|
192373
193292
|
"name": "movedLabel",
|
|
@@ -192481,6 +193400,23 @@
|
|
|
192481
193400
|
"module": "src/table/root/table-root.ts"
|
|
192482
193401
|
}
|
|
192483
193402
|
},
|
|
193403
|
+
{
|
|
193404
|
+
"kind": "field",
|
|
193405
|
+
"name": "selectColumnLabel",
|
|
193406
|
+
"type": {
|
|
193407
|
+
"text": "string"
|
|
193408
|
+
},
|
|
193409
|
+
"default": "'Select'",
|
|
193410
|
+
"description": "The name of the heading over the checkboxes under\n`selection-mode=\"single\"`, where it holds no checkbox of its own.",
|
|
193411
|
+
"attribute": "select-column-label",
|
|
193412
|
+
"helix": {
|
|
193413
|
+
"words": true
|
|
193414
|
+
},
|
|
193415
|
+
"inheritedFrom": {
|
|
193416
|
+
"name": "HelixHeadlessTable",
|
|
193417
|
+
"module": "src/table/root/table-root.ts"
|
|
193418
|
+
}
|
|
193419
|
+
},
|
|
192484
193420
|
{
|
|
192485
193421
|
"kind": "field",
|
|
192486
193422
|
"name": "selected",
|
|
@@ -192511,6 +193447,33 @@
|
|
|
192511
193447
|
"module": "src/table/root/table-root.ts"
|
|
192512
193448
|
}
|
|
192513
193449
|
},
|
|
193450
|
+
{
|
|
193451
|
+
"kind": "field",
|
|
193452
|
+
"name": "selectionBehavior",
|
|
193453
|
+
"type": {
|
|
193454
|
+
"text": "'replace' | 'toggle'"
|
|
193455
|
+
},
|
|
193456
|
+
"default": "'toggle'",
|
|
193457
|
+
"description": "What a press on a row, or in a `grid` table a key that moves to one, does\nto the rows already selected: `toggle`, the default, leaves them to the\ncheckboxes, and `replace` selects the row alone.",
|
|
193458
|
+
"attribute": "selection-behavior",
|
|
193459
|
+
"inheritedFrom": {
|
|
193460
|
+
"name": "HelixHeadlessTable",
|
|
193461
|
+
"module": "src/table/root/table-root.ts"
|
|
193462
|
+
}
|
|
193463
|
+
},
|
|
193464
|
+
{
|
|
193465
|
+
"kind": "field",
|
|
193466
|
+
"name": "selectionMode",
|
|
193467
|
+
"type": {
|
|
193468
|
+
"text": "'multiple' | 'single' | undefined"
|
|
193469
|
+
},
|
|
193470
|
+
"description": "How many rows a `selectable` table selects: `multiple`, the default, or\n`single`, one at a time.",
|
|
193471
|
+
"attribute": "selection-mode",
|
|
193472
|
+
"inheritedFrom": {
|
|
193473
|
+
"name": "HelixHeadlessTable",
|
|
193474
|
+
"module": "src/table/root/table-root.ts"
|
|
193475
|
+
}
|
|
193476
|
+
},
|
|
192514
193477
|
{
|
|
192515
193478
|
"kind": "field",
|
|
192516
193479
|
"name": "selectRowLabel",
|
|
@@ -192601,6 +193564,70 @@
|
|
|
192601
193564
|
"module": "src/table/root/table-root.ts"
|
|
192602
193565
|
}
|
|
192603
193566
|
},
|
|
193567
|
+
{
|
|
193568
|
+
"kind": "field",
|
|
193569
|
+
"name": "expandedState",
|
|
193570
|
+
"type": {
|
|
193571
|
+
"text": "string | undefined"
|
|
193572
|
+
},
|
|
193573
|
+
"privacy": "private",
|
|
193574
|
+
"default": "undefined",
|
|
193575
|
+
"inheritedFrom": {
|
|
193576
|
+
"name": "HelixHeadlessTable",
|
|
193577
|
+
"module": "src/table/root/table-root.ts"
|
|
193578
|
+
}
|
|
193579
|
+
},
|
|
193580
|
+
{
|
|
193581
|
+
"kind": "field",
|
|
193582
|
+
"name": "nests",
|
|
193583
|
+
"type": {
|
|
193584
|
+
"text": "boolean"
|
|
193585
|
+
},
|
|
193586
|
+
"privacy": "private",
|
|
193587
|
+
"description": "Whether any row sits under another, which makes the table a tree.",
|
|
193588
|
+
"readonly": true,
|
|
193589
|
+
"inheritedFrom": {
|
|
193590
|
+
"name": "HelixHeadlessTable",
|
|
193591
|
+
"module": "src/table/root/table-root.ts"
|
|
193592
|
+
}
|
|
193593
|
+
},
|
|
193594
|
+
{
|
|
193595
|
+
"kind": "field",
|
|
193596
|
+
"name": "open",
|
|
193597
|
+
"type": {
|
|
193598
|
+
"text": "Set<string>"
|
|
193599
|
+
},
|
|
193600
|
+
"privacy": "private",
|
|
193601
|
+
"description": "The keys of the rows whose rows are shown.",
|
|
193602
|
+
"readonly": true,
|
|
193603
|
+
"inheritedFrom": {
|
|
193604
|
+
"name": "HelixHeadlessTable",
|
|
193605
|
+
"module": "src/table/root/table-root.ts"
|
|
193606
|
+
}
|
|
193607
|
+
},
|
|
193608
|
+
{
|
|
193609
|
+
"kind": "method",
|
|
193610
|
+
"name": "toggleRow",
|
|
193611
|
+
"privacy": "private",
|
|
193612
|
+
"return": {
|
|
193613
|
+
"type": {
|
|
193614
|
+
"text": "void"
|
|
193615
|
+
}
|
|
193616
|
+
},
|
|
193617
|
+
"parameters": [
|
|
193618
|
+
{
|
|
193619
|
+
"name": "key",
|
|
193620
|
+
"type": {
|
|
193621
|
+
"text": "string"
|
|
193622
|
+
}
|
|
193623
|
+
}
|
|
193624
|
+
],
|
|
193625
|
+
"description": "Shows or hides the rows under the row of `key`, asking first from the row,\nand saying so from it once it stands.",
|
|
193626
|
+
"inheritedFrom": {
|
|
193627
|
+
"name": "HelixHeadlessTable",
|
|
193628
|
+
"module": "src/table/root/table-root.ts"
|
|
193629
|
+
}
|
|
193630
|
+
},
|
|
192604
193631
|
{
|
|
192605
193632
|
"kind": "field",
|
|
192606
193633
|
"name": "headed",
|
|
@@ -192632,7 +193659,7 @@
|
|
|
192632
193659
|
"name": "gridKeys",
|
|
192633
193660
|
"privacy": "private",
|
|
192634
193661
|
"readonly": true,
|
|
192635
|
-
"default": "new TableGridController(this, { activate: (place, event) => this.activate(place, event), columns: () => this.tableColumns.filter((column) => column.shown), lead: () => this.lead, on: () => this.grid, part: (name) => this.partNamed(name), rows: () => (this.childrenKnown ? this.arrangedRows : []), rowWords: () => this.arrangedRows.map((row) => textOf(row.children[0])), selectAll: () => this.selectable && this.requestSelected(new Set([...this.chosen, ...this.enabledKeys])), selectRange: (to, from) => this.selectRange(to, from), })",
|
|
193662
|
+
"default": "new TableGridController(this, { activate: (place, event) => this.activate(place, event), arrive: (to, control) => { if (this.replaces && !control) { this.chooseOnly(to) } }, columns: () => this.tableColumns.filter((column) => column.shown), lead: () => this.lead, on: () => this.grid, part: (name) => this.partNamed(name), rows: () => (this.childrenKnown ? this.arrangedRows : []), rowWords: () => this.arrangedRows.map((row) => textOf(row.children[0])), selectAll: () => this.selectable && !this.single && this.requestSelected(new Set([...this.chosen, ...this.enabledKeys])), selectRange: (to, from) => this.selectRange(to, from), })",
|
|
192636
193663
|
"description": "The keyboard of a `grid` table, in `grid-controller.ts`.",
|
|
192637
193664
|
"inheritedFrom": {
|
|
192638
193665
|
"name": "HelixHeadlessTable",
|
|
@@ -192773,6 +193800,44 @@
|
|
|
192773
193800
|
"module": "src/table/root/table-root.ts"
|
|
192774
193801
|
}
|
|
192775
193802
|
},
|
|
193803
|
+
{
|
|
193804
|
+
"kind": "method",
|
|
193805
|
+
"name": "nested",
|
|
193806
|
+
"privacy": "private",
|
|
193807
|
+
"return": {
|
|
193808
|
+
"type": {
|
|
193809
|
+
"text": "Element[]"
|
|
193810
|
+
}
|
|
193811
|
+
},
|
|
193812
|
+
"parameters": [
|
|
193813
|
+
{
|
|
193814
|
+
"name": "rows",
|
|
193815
|
+
"type": {
|
|
193816
|
+
"text": "Element[]"
|
|
193817
|
+
}
|
|
193818
|
+
}
|
|
193819
|
+
],
|
|
193820
|
+
"description": "The rows of a tree in the order they are drawn: each row followed by the\nrows under it while it is open, at every depth, keeping the order `rows`\nis in among the rows under one row. A row under a key no row has is drawn\nat the top.",
|
|
193821
|
+
"inheritedFrom": {
|
|
193822
|
+
"name": "HelixHeadlessTable",
|
|
193823
|
+
"module": "src/table/root/table-root.ts"
|
|
193824
|
+
}
|
|
193825
|
+
},
|
|
193826
|
+
{
|
|
193827
|
+
"kind": "method",
|
|
193828
|
+
"name": "shape",
|
|
193829
|
+
"privacy": "private",
|
|
193830
|
+
"return": {
|
|
193831
|
+
"type": {
|
|
193832
|
+
"text": "Map<string, { branch: boolean; level: number }>"
|
|
193833
|
+
}
|
|
193834
|
+
},
|
|
193835
|
+
"description": "How deep each row sits, from 1, and whether rows sit under it, by key.",
|
|
193836
|
+
"inheritedFrom": {
|
|
193837
|
+
"name": "HelixHeadlessTable",
|
|
193838
|
+
"module": "src/table/root/table-root.ts"
|
|
193839
|
+
}
|
|
193840
|
+
},
|
|
192776
193841
|
{
|
|
192777
193842
|
"kind": "field",
|
|
192778
193843
|
"name": "heardSort",
|
|
@@ -192987,6 +194052,68 @@
|
|
|
192987
194052
|
"module": "src/table/root/table-root.ts"
|
|
192988
194053
|
}
|
|
192989
194054
|
},
|
|
194055
|
+
{
|
|
194056
|
+
"kind": "field",
|
|
194057
|
+
"name": "single",
|
|
194058
|
+
"type": {
|
|
194059
|
+
"text": "boolean"
|
|
194060
|
+
},
|
|
194061
|
+
"privacy": "private",
|
|
194062
|
+
"description": "Whether the table selects one row at a time.",
|
|
194063
|
+
"readonly": true,
|
|
194064
|
+
"inheritedFrom": {
|
|
194065
|
+
"name": "HelixHeadlessTable",
|
|
194066
|
+
"module": "src/table/root/table-root.ts"
|
|
194067
|
+
}
|
|
194068
|
+
},
|
|
194069
|
+
{
|
|
194070
|
+
"kind": "field",
|
|
194071
|
+
"name": "replaces",
|
|
194072
|
+
"type": {
|
|
194073
|
+
"text": "boolean"
|
|
194074
|
+
},
|
|
194075
|
+
"privacy": "private",
|
|
194076
|
+
"description": "Whether a press or a move on a row selects it alone.",
|
|
194077
|
+
"readonly": true,
|
|
194078
|
+
"inheritedFrom": {
|
|
194079
|
+
"name": "HelixHeadlessTable",
|
|
194080
|
+
"module": "src/table/root/table-root.ts"
|
|
194081
|
+
}
|
|
194082
|
+
},
|
|
194083
|
+
{
|
|
194084
|
+
"kind": "method",
|
|
194085
|
+
"name": "chooseOnly",
|
|
194086
|
+
"privacy": "private",
|
|
194087
|
+
"return": {
|
|
194088
|
+
"type": {
|
|
194089
|
+
"text": "void"
|
|
194090
|
+
}
|
|
194091
|
+
},
|
|
194092
|
+
"parameters": [
|
|
194093
|
+
{
|
|
194094
|
+
"name": "at",
|
|
194095
|
+
"type": {
|
|
194096
|
+
"text": "number"
|
|
194097
|
+
}
|
|
194098
|
+
}
|
|
194099
|
+
],
|
|
194100
|
+
"description": "Selects the drawn row `at` alone, and makes it where a range runs from.\nAsks nothing where it is already the only one selected.",
|
|
194101
|
+
"inheritedFrom": {
|
|
194102
|
+
"name": "HelixHeadlessTable",
|
|
194103
|
+
"module": "src/table/root/table-root.ts"
|
|
194104
|
+
}
|
|
194105
|
+
},
|
|
194106
|
+
{
|
|
194107
|
+
"kind": "field",
|
|
194108
|
+
"name": "handleRowClick",
|
|
194109
|
+
"privacy": "private",
|
|
194110
|
+
"readonly": true,
|
|
194111
|
+
"description": "A press on a row under `selection-behavior=\"replace\"`: it selects the row\nalone, Control or Command adds or takes out the row, and Shift takes in\nthe rows from the one last chosen. A press on the row's own controls, its\ncheckbox or its grip is theirs.",
|
|
194112
|
+
"inheritedFrom": {
|
|
194113
|
+
"name": "HelixHeadlessTable",
|
|
194114
|
+
"module": "src/table/root/table-root.ts"
|
|
194115
|
+
}
|
|
194116
|
+
},
|
|
192990
194117
|
{
|
|
192991
194118
|
"kind": "field",
|
|
192992
194119
|
"name": "anchorKey",
|
|
@@ -193323,6 +194450,89 @@
|
|
|
193323
194450
|
"module": "src/table/root/table-root.ts"
|
|
193324
194451
|
}
|
|
193325
194452
|
},
|
|
194453
|
+
{
|
|
194454
|
+
"kind": "field",
|
|
194455
|
+
"name": "endWatcher",
|
|
194456
|
+
"type": {
|
|
194457
|
+
"text": "IntersectionObserver | undefined"
|
|
194458
|
+
},
|
|
194459
|
+
"privacy": "private",
|
|
194460
|
+
"description": "Watches the end of a `load-more` table coming near the box that scrolls it.",
|
|
194461
|
+
"inheritedFrom": {
|
|
194462
|
+
"name": "HelixHeadlessTable",
|
|
194463
|
+
"module": "src/table/root/table-root.ts"
|
|
194464
|
+
}
|
|
194465
|
+
},
|
|
194466
|
+
{
|
|
194467
|
+
"kind": "field",
|
|
194468
|
+
"name": "watchedEnd",
|
|
194469
|
+
"type": {
|
|
194470
|
+
"text": "Element | undefined"
|
|
194471
|
+
},
|
|
194472
|
+
"privacy": "private",
|
|
194473
|
+
"description": "The end being watched, so a new one is watched again.",
|
|
194474
|
+
"inheritedFrom": {
|
|
194475
|
+
"name": "HelixHeadlessTable",
|
|
194476
|
+
"module": "src/table/root/table-root.ts"
|
|
194477
|
+
}
|
|
194478
|
+
},
|
|
194479
|
+
{
|
|
194480
|
+
"kind": "field",
|
|
194481
|
+
"name": "askedAt",
|
|
194482
|
+
"type": {
|
|
194483
|
+
"text": "number | undefined"
|
|
194484
|
+
},
|
|
194485
|
+
"privacy": "private",
|
|
194486
|
+
"description": "The number of rows `helix-load-more` was last sent for.",
|
|
194487
|
+
"inheritedFrom": {
|
|
194488
|
+
"name": "HelixHeadlessTable",
|
|
194489
|
+
"module": "src/table/root/table-root.ts"
|
|
194490
|
+
}
|
|
194491
|
+
},
|
|
194492
|
+
{
|
|
194493
|
+
"kind": "method",
|
|
194494
|
+
"name": "watchEnd",
|
|
194495
|
+
"privacy": "private",
|
|
194496
|
+
"return": {
|
|
194497
|
+
"type": {
|
|
194498
|
+
"text": "void"
|
|
194499
|
+
}
|
|
194500
|
+
},
|
|
194501
|
+
"description": "Starts or stops watching the end of the table, against the box that\nscrolls it, or the page, with a screen of room below it, so the next rows\nare asked for before a reader reaches the last. List does the same.",
|
|
194502
|
+
"inheritedFrom": {
|
|
194503
|
+
"name": "HelixHeadlessTable",
|
|
194504
|
+
"module": "src/table/root/table-root.ts"
|
|
194505
|
+
}
|
|
194506
|
+
},
|
|
194507
|
+
{
|
|
194508
|
+
"kind": "field",
|
|
194509
|
+
"name": "endInView",
|
|
194510
|
+
"type": {
|
|
194511
|
+
"text": "boolean"
|
|
194512
|
+
},
|
|
194513
|
+
"privacy": "private",
|
|
194514
|
+
"default": "false",
|
|
194515
|
+
"description": "Whether the end of the table was in reach when last measured.",
|
|
194516
|
+
"inheritedFrom": {
|
|
194517
|
+
"name": "HelixHeadlessTable",
|
|
194518
|
+
"module": "src/table/root/table-root.ts"
|
|
194519
|
+
}
|
|
194520
|
+
},
|
|
194521
|
+
{
|
|
194522
|
+
"kind": "method",
|
|
194523
|
+
"name": "askForMore",
|
|
194524
|
+
"privacy": "private",
|
|
194525
|
+
"return": {
|
|
194526
|
+
"type": {
|
|
194527
|
+
"text": "void"
|
|
194528
|
+
}
|
|
194529
|
+
},
|
|
194530
|
+
"description": "Sends `helix-load-more`, once for each number of rows, and never while loading.",
|
|
194531
|
+
"inheritedFrom": {
|
|
194532
|
+
"name": "HelixHeadlessTable",
|
|
194533
|
+
"module": "src/table/root/table-root.ts"
|
|
194534
|
+
}
|
|
194535
|
+
},
|
|
193326
194536
|
{
|
|
193327
194537
|
"kind": "method",
|
|
193328
194538
|
"name": "renderGripHead",
|
|
@@ -193338,6 +194548,21 @@
|
|
|
193338
194548
|
"module": "src/table/root/table-root.ts"
|
|
193339
194549
|
}
|
|
193340
194550
|
},
|
|
194551
|
+
{
|
|
194552
|
+
"kind": "method",
|
|
194553
|
+
"name": "renderExpandHead",
|
|
194554
|
+
"privacy": "private",
|
|
194555
|
+
"return": {
|
|
194556
|
+
"type": {
|
|
194557
|
+
"text": "TemplateResult | typeof nothing"
|
|
194558
|
+
}
|
|
194559
|
+
},
|
|
194560
|
+
"description": "The heading over the disclosure buttons, in a table whose rows nest.",
|
|
194561
|
+
"inheritedFrom": {
|
|
194562
|
+
"name": "HelixHeadlessTable",
|
|
194563
|
+
"module": "src/table/root/table-root.ts"
|
|
194564
|
+
}
|
|
194565
|
+
},
|
|
193341
194566
|
{
|
|
193342
194567
|
"kind": "method",
|
|
193343
194568
|
"name": "renderSelectAll",
|
|
@@ -193797,6 +195022,19 @@
|
|
|
193797
195022
|
"module": "src/table/root/table-root.ts"
|
|
193798
195023
|
}
|
|
193799
195024
|
},
|
|
195025
|
+
{
|
|
195026
|
+
"name": "default-expanded",
|
|
195027
|
+
"type": {
|
|
195028
|
+
"text": "string"
|
|
195029
|
+
},
|
|
195030
|
+
"default": "''",
|
|
195031
|
+
"description": "The keys of the rows whose rows are shown at the start, separated by\ncommas. Used until `expanded` is set.",
|
|
195032
|
+
"fieldName": "defaultExpanded",
|
|
195033
|
+
"inheritedFrom": {
|
|
195034
|
+
"name": "HelixHeadlessTable",
|
|
195035
|
+
"module": "src/table/root/table-root.ts"
|
|
195036
|
+
}
|
|
195037
|
+
},
|
|
193800
195038
|
{
|
|
193801
195039
|
"name": "default-selected",
|
|
193802
195040
|
"type": {
|
|
@@ -193862,6 +195100,44 @@
|
|
|
193862
195100
|
"module": "src/table/root/table-root.ts"
|
|
193863
195101
|
}
|
|
193864
195102
|
},
|
|
195103
|
+
{
|
|
195104
|
+
"name": "expand-column-label",
|
|
195105
|
+
"type": {
|
|
195106
|
+
"text": "string"
|
|
195107
|
+
},
|
|
195108
|
+
"default": "'Expand'",
|
|
195109
|
+
"description": "The name of the heading over the disclosure buttons.",
|
|
195110
|
+
"fieldName": "expandColumnLabel",
|
|
195111
|
+
"inheritedFrom": {
|
|
195112
|
+
"name": "HelixHeadlessTable",
|
|
195113
|
+
"module": "src/table/root/table-root.ts"
|
|
195114
|
+
}
|
|
195115
|
+
},
|
|
195116
|
+
{
|
|
195117
|
+
"name": "expanded",
|
|
195118
|
+
"type": {
|
|
195119
|
+
"text": "string"
|
|
195120
|
+
},
|
|
195121
|
+
"description": "The keys of the rows whose rows are shown, separated by commas, in a table\nwhose rows nest. A press on a row's disclosure button asks first, and\n`default-expanded` seeds what this element then owns.",
|
|
195122
|
+
"fieldName": "expanded",
|
|
195123
|
+
"inheritedFrom": {
|
|
195124
|
+
"name": "HelixHeadlessTable",
|
|
195125
|
+
"module": "src/table/root/table-root.ts"
|
|
195126
|
+
}
|
|
195127
|
+
},
|
|
195128
|
+
{
|
|
195129
|
+
"name": "expand-row-label",
|
|
195130
|
+
"type": {
|
|
195131
|
+
"text": "string"
|
|
195132
|
+
},
|
|
195133
|
+
"default": "'Expand {row}'",
|
|
195134
|
+
"description": "The name of a row's disclosure button. `{row}` is the words of the row's first cell.",
|
|
195135
|
+
"fieldName": "expandRowLabel",
|
|
195136
|
+
"inheritedFrom": {
|
|
195137
|
+
"name": "HelixHeadlessTable",
|
|
195138
|
+
"module": "src/table/root/table-root.ts"
|
|
195139
|
+
}
|
|
195140
|
+
},
|
|
193865
195141
|
{
|
|
193866
195142
|
"name": "fallback-label",
|
|
193867
195143
|
"type": {
|
|
@@ -193901,6 +195177,19 @@
|
|
|
193901
195177
|
"module": "src/table/root/table-root.ts"
|
|
193902
195178
|
}
|
|
193903
195179
|
},
|
|
195180
|
+
{
|
|
195181
|
+
"name": "load-more",
|
|
195182
|
+
"type": {
|
|
195183
|
+
"text": "boolean"
|
|
195184
|
+
},
|
|
195185
|
+
"default": "false",
|
|
195186
|
+
"description": "Sends `helix-load-more` once the end of the table comes within a screen\nof view, so you can add the next rows as a reader nears them.",
|
|
195187
|
+
"fieldName": "loadMore",
|
|
195188
|
+
"inheritedFrom": {
|
|
195189
|
+
"name": "HelixHeadlessTable",
|
|
195190
|
+
"module": "src/table/root/table-root.ts"
|
|
195191
|
+
}
|
|
195192
|
+
},
|
|
193904
195193
|
{
|
|
193905
195194
|
"name": "moved-label",
|
|
193906
195195
|
"type": {
|
|
@@ -193992,6 +195281,19 @@
|
|
|
193992
195281
|
"module": "src/table/root/table-root.ts"
|
|
193993
195282
|
}
|
|
193994
195283
|
},
|
|
195284
|
+
{
|
|
195285
|
+
"name": "select-column-label",
|
|
195286
|
+
"type": {
|
|
195287
|
+
"text": "string"
|
|
195288
|
+
},
|
|
195289
|
+
"default": "'Select'",
|
|
195290
|
+
"description": "The name of the heading over the checkboxes under\n`selection-mode=\"single\"`, where it holds no checkbox of its own.",
|
|
195291
|
+
"fieldName": "selectColumnLabel",
|
|
195292
|
+
"inheritedFrom": {
|
|
195293
|
+
"name": "HelixHeadlessTable",
|
|
195294
|
+
"module": "src/table/root/table-root.ts"
|
|
195295
|
+
}
|
|
195296
|
+
},
|
|
193995
195297
|
{
|
|
193996
195298
|
"name": "selected",
|
|
193997
195299
|
"type": {
|
|
@@ -194017,6 +195319,31 @@
|
|
|
194017
195319
|
"module": "src/table/root/table-root.ts"
|
|
194018
195320
|
}
|
|
194019
195321
|
},
|
|
195322
|
+
{
|
|
195323
|
+
"name": "selection-behavior",
|
|
195324
|
+
"type": {
|
|
195325
|
+
"text": "'replace' | 'toggle'"
|
|
195326
|
+
},
|
|
195327
|
+
"default": "'toggle'",
|
|
195328
|
+
"description": "What a press on a row, or in a `grid` table a key that moves to one, does\nto the rows already selected: `toggle`, the default, leaves them to the\ncheckboxes, and `replace` selects the row alone.",
|
|
195329
|
+
"fieldName": "selectionBehavior",
|
|
195330
|
+
"inheritedFrom": {
|
|
195331
|
+
"name": "HelixHeadlessTable",
|
|
195332
|
+
"module": "src/table/root/table-root.ts"
|
|
195333
|
+
}
|
|
195334
|
+
},
|
|
195335
|
+
{
|
|
195336
|
+
"name": "selection-mode",
|
|
195337
|
+
"type": {
|
|
195338
|
+
"text": "'multiple' | 'single' | undefined"
|
|
195339
|
+
},
|
|
195340
|
+
"description": "How many rows a `selectable` table selects: `multiple`, the default, or\n`single`, one at a time.",
|
|
195341
|
+
"fieldName": "selectionMode",
|
|
195342
|
+
"inheritedFrom": {
|
|
195343
|
+
"name": "HelixHeadlessTable",
|
|
195344
|
+
"module": "src/table/root/table-root.ts"
|
|
195345
|
+
}
|
|
195346
|
+
},
|
|
194020
195347
|
{
|
|
194021
195348
|
"name": "select-row-label",
|
|
194022
195349
|
"type": {
|
|
@@ -194082,6 +195409,30 @@
|
|
|
194082
195409
|
"module": "src/table/root/table-root.ts"
|
|
194083
195410
|
}
|
|
194084
195411
|
},
|
|
195412
|
+
{
|
|
195413
|
+
"type": {
|
|
195414
|
+
"text": "HelixBeforeToggleEvent"
|
|
195415
|
+
},
|
|
195416
|
+
"description": "Fired from a row when its disclosure button is pressed, with whether it would be open in `detail.checked`. Cancelable: cancel it to keep the row as it is.",
|
|
195417
|
+
"name": "helix-before-toggle",
|
|
195418
|
+
"reactProp": "onhelix-before-toggle",
|
|
195419
|
+
"inheritedFrom": {
|
|
195420
|
+
"name": "HelixHeadlessTable",
|
|
195421
|
+
"module": "src/table/root/table-root.ts"
|
|
195422
|
+
}
|
|
195423
|
+
},
|
|
195424
|
+
{
|
|
195425
|
+
"type": {
|
|
195426
|
+
"text": "HelixLoadMoreEvent"
|
|
195427
|
+
},
|
|
195428
|
+
"description": "Fired, in a table with `load-more`, when the end of the table comes within a screen of view, once for each number of rows.",
|
|
195429
|
+
"name": "helix-load-more",
|
|
195430
|
+
"reactProp": "onhelix-load-more",
|
|
195431
|
+
"inheritedFrom": {
|
|
195432
|
+
"name": "HelixHeadlessTable",
|
|
195433
|
+
"module": "src/table/root/table-root.ts"
|
|
195434
|
+
}
|
|
195435
|
+
},
|
|
194085
195436
|
{
|
|
194086
195437
|
"type": {
|
|
194087
195438
|
"text": "HelixReorderEvent"
|
|
@@ -194141,6 +195492,18 @@
|
|
|
194141
195492
|
"name": "HelixHeadlessTable",
|
|
194142
195493
|
"module": "src/table/root/table-root.ts"
|
|
194143
195494
|
}
|
|
195495
|
+
},
|
|
195496
|
+
{
|
|
195497
|
+
"type": {
|
|
195498
|
+
"text": "HelixToggleEvent"
|
|
195499
|
+
},
|
|
195500
|
+
"description": "Fired from a row once the rows under it are shown or hidden, with whether it is open in `detail.checked`.",
|
|
195501
|
+
"name": "helix-toggle",
|
|
195502
|
+
"reactProp": "onhelix-toggle",
|
|
195503
|
+
"inheritedFrom": {
|
|
195504
|
+
"name": "HelixHeadlessTable",
|
|
195505
|
+
"module": "src/table/root/table-root.ts"
|
|
195506
|
+
}
|
|
194144
195507
|
}
|
|
194145
195508
|
],
|
|
194146
195509
|
"cssStates": [
|
|
@@ -194233,6 +195596,10 @@
|
|
|
194233
195596
|
"description": "The thickness of the line where a moved row would land.",
|
|
194234
195597
|
"name": "--table-drop-indicator-size"
|
|
194235
195598
|
},
|
|
195599
|
+
{
|
|
195600
|
+
"description": "The color of a row's disclosure button, in a table whose rows nest.",
|
|
195601
|
+
"name": "--table-expand-color"
|
|
195602
|
+
},
|
|
194236
195603
|
{
|
|
194237
195604
|
"description": "The color of a row's grip, in a `reorderable` table.",
|
|
194238
195605
|
"name": "--table-grip-color"
|
|
@@ -194241,6 +195608,10 @@
|
|
|
194241
195608
|
"description": "The opacity of a row's grip while a sort decides the order.",
|
|
194242
195609
|
"name": "--table-grip-disabled-opacity"
|
|
194243
195610
|
},
|
|
195611
|
+
{
|
|
195612
|
+
"description": "How far each step of depth sets a nested row's disclosure cell in.",
|
|
195613
|
+
"name": "--table-indent"
|
|
195614
|
+
},
|
|
194244
195615
|
{
|
|
194245
195616
|
"description": "The opacity of the cells of a `disabled` row.",
|
|
194246
195617
|
"name": "--table-row-disabled-opacity"
|
|
@@ -194248,6 +195619,14 @@
|
|
|
194248
195619
|
{
|
|
194249
195620
|
"description": "The wash across the cells of a row with `href` under the pointer.",
|
|
194250
195621
|
"name": "--table-row-hover-background-color"
|
|
195622
|
+
},
|
|
195623
|
+
{
|
|
195624
|
+
"description": "Written by the row on its `expand` cell: how deep the row sits, from 1. Do not set it.",
|
|
195625
|
+
"name": "--table-row-level",
|
|
195626
|
+
"inheritedFrom": {
|
|
195627
|
+
"name": "HelixHeadlessTableRow",
|
|
195628
|
+
"module": "src/table/row/table-row.ts"
|
|
195629
|
+
}
|
|
194251
195630
|
}
|
|
194252
195631
|
],
|
|
194253
195632
|
"slots": [
|
|
@@ -194304,6 +195683,20 @@
|
|
|
194304
195683
|
"module": "src/table/row/table-row.ts"
|
|
194305
195684
|
}
|
|
194306
195685
|
},
|
|
195686
|
+
{
|
|
195687
|
+
"kind": "field",
|
|
195688
|
+
"name": "parent",
|
|
195689
|
+
"type": {
|
|
195690
|
+
"text": "string"
|
|
195691
|
+
},
|
|
195692
|
+
"default": "''",
|
|
195693
|
+
"description": "The key of the row this one sits under, in a table whose rows nest: that\nrow's `value`, or its place among the rows where it has none. Empty, the\ndefault, is a row at the top.",
|
|
195694
|
+
"attribute": "parent",
|
|
195695
|
+
"inheritedFrom": {
|
|
195696
|
+
"name": "HelixHeadlessTableRow",
|
|
195697
|
+
"module": "src/table/row/table-row.ts"
|
|
195698
|
+
}
|
|
195699
|
+
},
|
|
194307
195700
|
{
|
|
194308
195701
|
"kind": "field",
|
|
194309
195702
|
"name": "rel",
|
|
@@ -194412,6 +195805,21 @@
|
|
|
194412
195805
|
"module": "src/table/row/table-row.ts"
|
|
194413
195806
|
}
|
|
194414
195807
|
},
|
|
195808
|
+
{
|
|
195809
|
+
"kind": "method",
|
|
195810
|
+
"name": "renderExpand",
|
|
195811
|
+
"privacy": "protected",
|
|
195812
|
+
"return": {
|
|
195813
|
+
"type": {
|
|
195814
|
+
"text": "TemplateResult | typeof nothing"
|
|
195815
|
+
}
|
|
195816
|
+
},
|
|
195817
|
+
"description": "The disclosure cell, in a table whose rows nest: a button where rows sit\nunder this one, and an empty cell where none do, so the columns stay in\nline. In a grid the cell takes focus and Space or Enter on it presses the\nbutton, which leaves the tab order.",
|
|
195818
|
+
"inheritedFrom": {
|
|
195819
|
+
"name": "HelixHeadlessTableRow",
|
|
195820
|
+
"module": "src/table/row/table-row.ts"
|
|
195821
|
+
}
|
|
195822
|
+
},
|
|
194415
195823
|
{
|
|
194416
195824
|
"kind": "method",
|
|
194417
195825
|
"name": "tag",
|
|
@@ -194842,6 +196250,30 @@
|
|
|
194842
196250
|
"module": "src/table/row/table-row.ts"
|
|
194843
196251
|
}
|
|
194844
196252
|
},
|
|
196253
|
+
{
|
|
196254
|
+
"description": "The cell that holds the row's disclosure button, in a table whose rows nest. It carries `--table-row-level`, the row's depth from 1.",
|
|
196255
|
+
"name": "expand",
|
|
196256
|
+
"inheritedFrom": {
|
|
196257
|
+
"name": "HelixHeadlessTableRow",
|
|
196258
|
+
"module": "src/table/row/table-row.ts"
|
|
196259
|
+
}
|
|
196260
|
+
},
|
|
196261
|
+
{
|
|
196262
|
+
"description": "The button that shows and hides the rows under this one.",
|
|
196263
|
+
"name": "expand-button",
|
|
196264
|
+
"inheritedFrom": {
|
|
196265
|
+
"name": "HelixHeadlessTableRow",
|
|
196266
|
+
"module": "src/table/row/table-row.ts"
|
|
196267
|
+
}
|
|
196268
|
+
},
|
|
196269
|
+
{
|
|
196270
|
+
"description": "The caret on the disclosure button, which points along the line, turned down by the styled tier while the row is open.",
|
|
196271
|
+
"name": "expand-mark",
|
|
196272
|
+
"inheritedFrom": {
|
|
196273
|
+
"name": "HelixHeadlessTableRow",
|
|
196274
|
+
"module": "src/table/row/table-row.ts"
|
|
196275
|
+
}
|
|
196276
|
+
},
|
|
194845
196277
|
{
|
|
194846
196278
|
"description": "The cell that holds the row's grip, in a `reorderable` table.",
|
|
194847
196279
|
"name": "grip",
|
|
@@ -194910,6 +196342,19 @@
|
|
|
194910
196342
|
"module": "src/table/row/table-row.ts"
|
|
194911
196343
|
}
|
|
194912
196344
|
},
|
|
196345
|
+
{
|
|
196346
|
+
"name": "parent",
|
|
196347
|
+
"type": {
|
|
196348
|
+
"text": "string"
|
|
196349
|
+
},
|
|
196350
|
+
"default": "''",
|
|
196351
|
+
"description": "The key of the row this one sits under, in a table whose rows nest: that\nrow's `value`, or its place among the rows where it has none. Empty, the\ndefault, is a row at the top.",
|
|
196352
|
+
"fieldName": "parent",
|
|
196353
|
+
"inheritedFrom": {
|
|
196354
|
+
"name": "HelixHeadlessTableRow",
|
|
196355
|
+
"module": "src/table/row/table-row.ts"
|
|
196356
|
+
}
|
|
196357
|
+
},
|
|
194913
196358
|
{
|
|
194914
196359
|
"name": "rel",
|
|
194915
196360
|
"type": {
|
|
@@ -194975,6 +196420,14 @@
|
|
|
194975
196420
|
"module": "src/table/row/table-row.ts"
|
|
194976
196421
|
}
|
|
194977
196422
|
},
|
|
196423
|
+
{
|
|
196424
|
+
"description": "While the rows under this one are shown.",
|
|
196425
|
+
"name": "expanded",
|
|
196426
|
+
"inheritedFrom": {
|
|
196427
|
+
"name": "HelixHeadlessTableRow",
|
|
196428
|
+
"module": "src/table/row/table-row.ts"
|
|
196429
|
+
}
|
|
196430
|
+
},
|
|
194978
196431
|
{
|
|
194979
196432
|
"description": "While the row has `href` and is not `disabled`, so a press on it follows the link.",
|
|
194980
196433
|
"name": "link",
|
|
@@ -195901,15 +197354,22 @@
|
|
|
195901
197354
|
"type": {
|
|
195902
197355
|
"text": "string"
|
|
195903
197356
|
}
|
|
197357
|
+
},
|
|
197358
|
+
{
|
|
197359
|
+
"name": "cause",
|
|
197360
|
+
"optional": true,
|
|
197361
|
+
"type": {
|
|
197362
|
+
"text": "string"
|
|
197363
|
+
}
|
|
195904
197364
|
}
|
|
195905
197365
|
],
|
|
195906
|
-
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction.",
|
|
197366
|
+
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction. `cause` says why, where the family names its\ncauses, and reaches the event as `detail.cause`.",
|
|
195907
197367
|
"inheritedFrom": {
|
|
195908
197368
|
"name": "MixinControllerActive",
|
|
195909
197369
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
195910
197370
|
},
|
|
195911
197371
|
"type": {
|
|
195912
|
-
"text": "requestActive(next: string) => boolean"
|
|
197372
|
+
"text": "requestActive(next: string, cause?: string) => boolean"
|
|
195913
197373
|
}
|
|
195914
197374
|
},
|
|
195915
197375
|
{
|
|
@@ -211531,6 +212991,20 @@
|
|
|
211531
212991
|
}
|
|
211532
212992
|
],
|
|
211533
212993
|
"members": [
|
|
212994
|
+
{
|
|
212995
|
+
"kind": "field",
|
|
212996
|
+
"name": "words",
|
|
212997
|
+
"type": {
|
|
212998
|
+
"text": "string"
|
|
212999
|
+
},
|
|
213000
|
+
"static": true,
|
|
213001
|
+
"default": "'helix-timeline-item'",
|
|
213002
|
+
"description": "The key this part's words are registered under, its styled tag:\n`registerWords('de', { 'helix-timeline-item': { toneLabels: { danger: 'Fehler' } } })`.",
|
|
213003
|
+
"inheritedFrom": {
|
|
213004
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213005
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213006
|
+
}
|
|
213007
|
+
},
|
|
211534
213008
|
{
|
|
211535
213009
|
"kind": "field",
|
|
211536
213010
|
"name": "datetime",
|
|
@@ -211547,12 +213021,14 @@
|
|
|
211547
213021
|
},
|
|
211548
213022
|
{
|
|
211549
213023
|
"kind": "field",
|
|
211550
|
-
"name": "
|
|
213024
|
+
"name": "pending",
|
|
211551
213025
|
"type": {
|
|
211552
|
-
"text": "
|
|
213026
|
+
"text": "boolean"
|
|
211553
213027
|
},
|
|
211554
|
-
"
|
|
211555
|
-
"
|
|
213028
|
+
"default": "false",
|
|
213029
|
+
"description": "Marks an event that has not happened yet, such as one that is scheduled.\nThe mark is the open circle, and a screen reader hears `pending-label`.",
|
|
213030
|
+
"attribute": "pending",
|
|
213031
|
+
"reflects": true,
|
|
211556
213032
|
"inheritedFrom": {
|
|
211557
213033
|
"name": "HelixHeadlessTimelineItem",
|
|
211558
213034
|
"module": "src/timeline/item/timeline-item.ts"
|
|
@@ -211627,13 +213103,43 @@
|
|
|
211627
213103
|
"module": "src/timeline/item/timeline-item.ts"
|
|
211628
213104
|
}
|
|
211629
213105
|
},
|
|
213106
|
+
{
|
|
213107
|
+
"kind": "field",
|
|
213108
|
+
"name": "pendingLabel",
|
|
213109
|
+
"type": {
|
|
213110
|
+
"text": "string"
|
|
213111
|
+
},
|
|
213112
|
+
"default": "'Scheduled'",
|
|
213113
|
+
"description": "What a screen reader hears for an entry that is `pending`.",
|
|
213114
|
+
"attribute": "pending-label",
|
|
213115
|
+
"helix": {
|
|
213116
|
+
"words": true
|
|
213117
|
+
},
|
|
213118
|
+
"inheritedFrom": {
|
|
213119
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213120
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213121
|
+
}
|
|
213122
|
+
},
|
|
213123
|
+
{
|
|
213124
|
+
"kind": "field",
|
|
213125
|
+
"name": "relative",
|
|
213126
|
+
"type": {
|
|
213127
|
+
"text": "'long' | 'narrow' | 'short' | undefined"
|
|
213128
|
+
},
|
|
213129
|
+
"description": "Writes the time as how long ago it was, or how long until it, from\n`datetime`, where the `time` slot is empty: `long` (\"3 hours ago\"),\n`short` (\"3 hr. ago\") or `narrow` (\"3h ago\"). Set with no value, it is\n`long`. The words move on as they go stale.",
|
|
213130
|
+
"attribute": "relative",
|
|
213131
|
+
"inheritedFrom": {
|
|
213132
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213133
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213134
|
+
}
|
|
213135
|
+
},
|
|
211630
213136
|
{
|
|
211631
213137
|
"kind": "field",
|
|
211632
213138
|
"name": "tone",
|
|
211633
213139
|
"type": {
|
|
211634
213140
|
"text": "'danger' | 'info' | 'neutral' | 'primary' | 'success' | 'warning' | undefined"
|
|
211635
213141
|
},
|
|
211636
|
-
"description": "The kind of event. It sets the color of the mark and
|
|
213142
|
+
"description": "The kind of event. It sets the color of the mark, and a screen reader\nhears it as the word `tone-labels` gives it.",
|
|
211637
213143
|
"attribute": "tone",
|
|
211638
213144
|
"reflects": true,
|
|
211639
213145
|
"inheritedFrom": {
|
|
@@ -211641,6 +213147,51 @@
|
|
|
211641
213147
|
"module": "src/timeline/item/timeline-item.ts"
|
|
211642
213148
|
}
|
|
211643
213149
|
},
|
|
213150
|
+
{
|
|
213151
|
+
"kind": "field",
|
|
213152
|
+
"name": "toneLabel",
|
|
213153
|
+
"type": {
|
|
213154
|
+
"text": "string"
|
|
213155
|
+
},
|
|
213156
|
+
"default": "''",
|
|
213157
|
+
"description": "What a screen reader is told this entry's tone is, such as \"Failed\".\nAbsent is the tone's word in `tone-labels`.",
|
|
213158
|
+
"attribute": "tone-label",
|
|
213159
|
+
"inheritedFrom": {
|
|
213160
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213161
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213162
|
+
}
|
|
213163
|
+
},
|
|
213164
|
+
{
|
|
213165
|
+
"kind": "field",
|
|
213166
|
+
"name": "toneLabels",
|
|
213167
|
+
"type": {
|
|
213168
|
+
"text": "Partial<Record<TimelineTone, string>>"
|
|
213169
|
+
},
|
|
213170
|
+
"default": "{ danger: 'Error', info: 'Information', success: 'Success', warning: 'Warning', }",
|
|
213171
|
+
"description": "What a screen reader is told each tone is, by the tone's name, written as\nJSON in the attribute: `tone-labels='{\"danger\":\"Failed\"}'`. A tone with no\nword is not read, which is `neutral` and `primary` in English.",
|
|
213172
|
+
"attribute": "tone-labels",
|
|
213173
|
+
"helix": {
|
|
213174
|
+
"words": true
|
|
213175
|
+
},
|
|
213176
|
+
"inheritedFrom": {
|
|
213177
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213178
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213179
|
+
}
|
|
213180
|
+
},
|
|
213181
|
+
{
|
|
213182
|
+
"kind": "field",
|
|
213183
|
+
"name": "markName",
|
|
213184
|
+
"type": {
|
|
213185
|
+
"text": "string"
|
|
213186
|
+
},
|
|
213187
|
+
"privacy": "private",
|
|
213188
|
+
"description": "What the mark says: the tone's word and the pending word, where either applies.",
|
|
213189
|
+
"readonly": true,
|
|
213190
|
+
"inheritedFrom": {
|
|
213191
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213192
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213193
|
+
}
|
|
213194
|
+
},
|
|
211644
213195
|
{
|
|
211645
213196
|
"kind": "method",
|
|
211646
213197
|
"name": "renderMarker",
|
|
@@ -211650,7 +213201,7 @@
|
|
|
211650
213201
|
"text": "TemplateResult"
|
|
211651
213202
|
}
|
|
211652
213203
|
},
|
|
211653
|
-
"description": "The mark for an entry that slotted none, which the tone decides.\n\n**A seam is a `protected render…()` and never a getter.** A slot's fallback\nanswers a consumer and a seam answers the tier above, and a getter answers\nneither. The check tests for parentheses, `${this.x}` being permitted\nbecause a property is not markup a tier would redraw, so a getter returning\na template reads as a bare reference and is let through.\n\nToned entries are reporting something, so they take the circle with a\ncenter, which is `Steps` drawing the stage a reader is standing on. Untoned\nones are just things that happened and take the open circle, which is\n`Steps` drawing a stage nobody has reached. The same two glyphs in both\ncomponents rather than two that resemble each other: a shape drawn twice\ndrifts, and these are already the marks a reader has learned one page over.",
|
|
213204
|
+
"description": "The mark for an entry that slotted none, which the tone decides.\n\n**A seam is a `protected render…()` and never a getter.** A slot's fallback\nanswers a consumer and a seam answers the tier above, and a getter answers\nneither. The check tests for parentheses, `${this.x}` being permitted\nbecause a property is not markup a tier would redraw, so a getter returning\na template reads as a bare reference and is let through.\n\nToned entries are reporting something, so they take the circle with a\ncenter, which is `Steps` drawing the stage a reader is standing on. Untoned\nones are just things that happened and take the open circle, which is\n`Steps` drawing a stage nobody has reached, and so does a `pending`\nentry, which nobody has reached yet either. The same two glyphs in both\ncomponents rather than two that resemble each other: a shape drawn twice\ndrifts, and these are already the marks a reader has learned one page over.",
|
|
211654
213205
|
"inheritedFrom": {
|
|
211655
213206
|
"name": "HelixHeadlessTimelineItem",
|
|
211656
213207
|
"module": "src/timeline/item/timeline-item.ts"
|
|
@@ -212027,7 +213578,7 @@
|
|
|
212027
213578
|
}
|
|
212028
213579
|
},
|
|
212029
213580
|
{
|
|
212030
|
-
"description": "The mark on the line. Defaults to a dot, which is the slot's fallback content.",
|
|
213581
|
+
"description": "The mark on the line. Defaults to a dot, which is the slot's fallback content. A mark you slot is read as the tone's word, where the entry has one.",
|
|
212031
213582
|
"name": "marker",
|
|
212032
213583
|
"inheritedFrom": {
|
|
212033
213584
|
"name": "HelixHeadlessTimelineItem",
|
|
@@ -212061,7 +213612,7 @@
|
|
|
212061
213612
|
}
|
|
212062
213613
|
},
|
|
212063
213614
|
{
|
|
212064
|
-
"description": "The mark on the line.",
|
|
213615
|
+
"description": "The mark on the line. An image named by the tone's word, and by `pending-label`, where either applies.",
|
|
212065
213616
|
"name": "marker",
|
|
212066
213617
|
"inheritedFrom": {
|
|
212067
213618
|
"name": "HelixHeadlessTimelineItem",
|
|
@@ -212099,6 +213650,32 @@
|
|
|
212099
213650
|
"module": "src/timeline/item/timeline-item.ts"
|
|
212100
213651
|
}
|
|
212101
213652
|
},
|
|
213653
|
+
{
|
|
213654
|
+
"name": "pending",
|
|
213655
|
+
"type": {
|
|
213656
|
+
"text": "boolean"
|
|
213657
|
+
},
|
|
213658
|
+
"default": "false",
|
|
213659
|
+
"description": "Marks an event that has not happened yet, such as one that is scheduled.\nThe mark is the open circle, and a screen reader hears `pending-label`.",
|
|
213660
|
+
"fieldName": "pending",
|
|
213661
|
+
"inheritedFrom": {
|
|
213662
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213663
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213664
|
+
}
|
|
213665
|
+
},
|
|
213666
|
+
{
|
|
213667
|
+
"name": "pending-label",
|
|
213668
|
+
"type": {
|
|
213669
|
+
"text": "string"
|
|
213670
|
+
},
|
|
213671
|
+
"default": "'Scheduled'",
|
|
213672
|
+
"description": "What a screen reader hears for an entry that is `pending`.",
|
|
213673
|
+
"fieldName": "pendingLabel",
|
|
213674
|
+
"inheritedFrom": {
|
|
213675
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213676
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213677
|
+
}
|
|
213678
|
+
},
|
|
212102
213679
|
{
|
|
212103
213680
|
"name": "relative",
|
|
212104
213681
|
"type": {
|
|
@@ -212116,12 +213693,38 @@
|
|
|
212116
213693
|
"type": {
|
|
212117
213694
|
"text": "'danger' | 'info' | 'neutral' | 'primary' | 'success' | 'warning' | undefined"
|
|
212118
213695
|
},
|
|
212119
|
-
"description": "The kind of event. It sets the color of the mark and
|
|
213696
|
+
"description": "The kind of event. It sets the color of the mark, and a screen reader\nhears it as the word `tone-labels` gives it.",
|
|
212120
213697
|
"fieldName": "tone",
|
|
212121
213698
|
"inheritedFrom": {
|
|
212122
213699
|
"name": "HelixHeadlessTimelineItem",
|
|
212123
213700
|
"module": "src/timeline/item/timeline-item.ts"
|
|
212124
213701
|
}
|
|
213702
|
+
},
|
|
213703
|
+
{
|
|
213704
|
+
"name": "tone-label",
|
|
213705
|
+
"type": {
|
|
213706
|
+
"text": "string"
|
|
213707
|
+
},
|
|
213708
|
+
"default": "''",
|
|
213709
|
+
"description": "What a screen reader is told this entry's tone is, such as \"Failed\".\nAbsent is the tone's word in `tone-labels`.",
|
|
213710
|
+
"fieldName": "toneLabel",
|
|
213711
|
+
"inheritedFrom": {
|
|
213712
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213713
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213714
|
+
}
|
|
213715
|
+
},
|
|
213716
|
+
{
|
|
213717
|
+
"name": "tone-labels",
|
|
213718
|
+
"type": {
|
|
213719
|
+
"text": "Partial<Record<TimelineTone, string>>"
|
|
213720
|
+
},
|
|
213721
|
+
"default": "{ danger: 'Error', info: 'Information', success: 'Success', warning: 'Warning', }",
|
|
213722
|
+
"description": "What a screen reader is told each tone is, by the tone's name, written as\nJSON in the attribute: `tone-labels='{\"danger\":\"Failed\"}'`. A tone with no\nword is not read, which is `neutral` and `primary` in English.",
|
|
213723
|
+
"fieldName": "toneLabels",
|
|
213724
|
+
"inheritedFrom": {
|
|
213725
|
+
"name": "HelixHeadlessTimelineItem",
|
|
213726
|
+
"module": "src/timeline/item/timeline-item.ts"
|
|
213727
|
+
}
|
|
212125
213728
|
}
|
|
212126
213729
|
],
|
|
212127
213730
|
"cssStates": [
|
|
@@ -225098,15 +226701,22 @@
|
|
|
225098
226701
|
"type": {
|
|
225099
226702
|
"text": "string"
|
|
225100
226703
|
}
|
|
226704
|
+
},
|
|
226705
|
+
{
|
|
226706
|
+
"name": "cause",
|
|
226707
|
+
"optional": true,
|
|
226708
|
+
"type": {
|
|
226709
|
+
"text": "string"
|
|
226710
|
+
}
|
|
225101
226711
|
}
|
|
225102
226712
|
],
|
|
225103
|
-
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction.",
|
|
226713
|
+
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction. `cause` says why, where the family names its\ncauses, and reaches the event as `detail.cause`.",
|
|
225104
226714
|
"inheritedFrom": {
|
|
225105
226715
|
"name": "MixinControllerActive",
|
|
225106
226716
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
225107
226717
|
},
|
|
225108
226718
|
"type": {
|
|
225109
|
-
"text": "requestActive(next: string) => boolean"
|
|
226719
|
+
"text": "requestActive(next: string, cause?: string) => boolean"
|
|
225110
226720
|
}
|
|
225111
226721
|
},
|
|
225112
226722
|
{
|
|
@@ -227721,6 +229331,18 @@
|
|
|
227721
229331
|
"module": "src/video-playlist/item/video-playlist-item.ts"
|
|
227722
229332
|
}
|
|
227723
229333
|
},
|
|
229334
|
+
{
|
|
229335
|
+
"kind": "field",
|
|
229336
|
+
"name": "focusable",
|
|
229337
|
+
"type": {
|
|
229338
|
+
"text": "boolean | undefined"
|
|
229339
|
+
},
|
|
229340
|
+
"description": "Whether the entry holds the playlist's tab stop. Unset, every entry is in\nthe tab order, which is what a server renders.\n\n**Written by the playlist, with no attribute, and it reaches the button.**\nThe playlist gives the stop to the entry a reader last focused, or to the\ncurrent one, and the arrow keys reach the rest.",
|
|
229341
|
+
"inheritedFrom": {
|
|
229342
|
+
"name": "HelixHeadlessVideoPlaylistItem",
|
|
229343
|
+
"module": "src/video-playlist/item/video-playlist-item.ts"
|
|
229344
|
+
}
|
|
229345
|
+
},
|
|
227724
229346
|
{
|
|
227725
229347
|
"kind": "field",
|
|
227726
229348
|
"name": "poster",
|
|
@@ -228192,6 +229814,14 @@
|
|
|
228192
229814
|
"module": "src/video-playlist/item/video-playlist-item.ts"
|
|
228193
229815
|
}
|
|
228194
229816
|
},
|
|
229817
|
+
{
|
|
229818
|
+
"description": "A mark shown on the entry that is playing, such as an equalizer icon. Rendered only while the entry is current.",
|
|
229819
|
+
"name": "indicator",
|
|
229820
|
+
"inheritedFrom": {
|
|
229821
|
+
"name": "HelixHeadlessVideoPlaylistItem",
|
|
229822
|
+
"module": "src/video-playlist/item/video-playlist-item.ts"
|
|
229823
|
+
}
|
|
229824
|
+
},
|
|
228195
229825
|
{
|
|
228196
229826
|
"description": "A thumbnail. Defaults to an image of `poster`.",
|
|
228197
229827
|
"name": "media",
|
|
@@ -228218,6 +229848,14 @@
|
|
|
228218
229848
|
"module": "src/video-playlist/item/video-playlist-item.ts"
|
|
228219
229849
|
}
|
|
228220
229850
|
},
|
|
229851
|
+
{
|
|
229852
|
+
"description": "The `indicator` slot, at the end of the row, rendered only while the entry is playing. It draws no box until you give it one.",
|
|
229853
|
+
"name": "indicator",
|
|
229854
|
+
"inheritedFrom": {
|
|
229855
|
+
"name": "HelixHeadlessVideoPlaylistItem",
|
|
229856
|
+
"module": "src/video-playlist/item/video-playlist-item.ts"
|
|
229857
|
+
}
|
|
229858
|
+
},
|
|
228221
229859
|
{
|
|
228222
229860
|
"description": "The row, which is a button.",
|
|
228223
229861
|
"name": "item",
|
|
@@ -228495,6 +230133,29 @@
|
|
|
228495
230133
|
"module": "src/video-playlist/menu/video-playlist-menu.ts"
|
|
228496
230134
|
}
|
|
228497
230135
|
},
|
|
230136
|
+
{
|
|
230137
|
+
"kind": "method",
|
|
230138
|
+
"name": "focusPlaying",
|
|
230139
|
+
"privacy": "private",
|
|
230140
|
+
"return": {
|
|
230141
|
+
"type": {
|
|
230142
|
+
"text": "void"
|
|
230143
|
+
}
|
|
230144
|
+
},
|
|
230145
|
+
"parameters": [
|
|
230146
|
+
{
|
|
230147
|
+
"name": "menu",
|
|
230148
|
+
"type": {
|
|
230149
|
+
"text": "HTMLElement & { updateComplete?: Promise<unknown> }"
|
|
230150
|
+
}
|
|
230151
|
+
}
|
|
230152
|
+
],
|
|
230153
|
+
"description": "Puts focus on the entry playing once the menu has opened, as a list of\nchoices opens on the one chosen. The menu focuses its first row as it\nopens, so this follows that.",
|
|
230154
|
+
"inheritedFrom": {
|
|
230155
|
+
"name": "HelixHeadlessVideoPlaylistMenu",
|
|
230156
|
+
"module": "src/video-playlist/menu/video-playlist-menu.ts"
|
|
230157
|
+
}
|
|
230158
|
+
},
|
|
228498
230159
|
{
|
|
228499
230160
|
"kind": "field",
|
|
228500
230161
|
"name": "observer",
|
|
@@ -229239,6 +230900,14 @@
|
|
|
229239
230900
|
"description": "Styles the layout of the two regions and the scroller that holds the entries.\nThe base class tracks which clip is current.",
|
|
229240
230901
|
"name": "HelixVideoPlaylist",
|
|
229241
230902
|
"cssProperties": [
|
|
230903
|
+
{
|
|
230904
|
+
"description": "The color of the words shown while there are no entries.",
|
|
230905
|
+
"name": "--video-playlist-empty-color"
|
|
230906
|
+
},
|
|
230907
|
+
{
|
|
230908
|
+
"description": "The space around the words shown while there are no entries.",
|
|
230909
|
+
"name": "--video-playlist-empty-padding"
|
|
230910
|
+
},
|
|
229242
230911
|
{
|
|
229243
230912
|
"description": "The space between the player and the list.",
|
|
229244
230913
|
"name": "--video-playlist-gap"
|
|
@@ -229312,15 +230981,22 @@
|
|
|
229312
230981
|
"type": {
|
|
229313
230982
|
"text": "string"
|
|
229314
230983
|
}
|
|
230984
|
+
},
|
|
230985
|
+
{
|
|
230986
|
+
"name": "cause",
|
|
230987
|
+
"optional": true,
|
|
230988
|
+
"type": {
|
|
230989
|
+
"text": "string"
|
|
230990
|
+
}
|
|
229315
230991
|
}
|
|
229316
230992
|
],
|
|
229317
|
-
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction.",
|
|
230993
|
+
"description": "Requests a new current item, and returns whether the change was applied.\n\nAnnounces before it acts, so `preventDefault()` on the `helix-before-activate` is\na refusal and nothing moves. Unlike a native control, nothing has moved\nby the time this runs, so refusing is simply not writing: there is\nnothing to put back. Nobody refusing means the set updates itself,\nwhether or not a consumer declared `active`, a declared property being a\nseed and a correction. `cause` says why, where the family names its\ncauses, and reaches the event as `detail.cause`.",
|
|
229318
230994
|
"inheritedFrom": {
|
|
229319
230995
|
"name": "MixinControllerActive",
|
|
229320
230996
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
229321
230997
|
},
|
|
229322
230998
|
"type": {
|
|
229323
|
-
"text": "requestActive(next: string) => boolean"
|
|
230999
|
+
"text": "requestActive(next: string, cause?: string) => boolean"
|
|
229324
231000
|
}
|
|
229325
231001
|
},
|
|
229326
231002
|
{
|
|
@@ -229389,6 +231065,23 @@
|
|
|
229389
231065
|
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
229390
231066
|
}
|
|
229391
231067
|
},
|
|
231068
|
+
{
|
|
231069
|
+
"kind": "field",
|
|
231070
|
+
"name": "emptyLabel",
|
|
231071
|
+
"type": {
|
|
231072
|
+
"text": "string"
|
|
231073
|
+
},
|
|
231074
|
+
"default": "'No videos'",
|
|
231075
|
+
"description": "What the playlist says while it has no entries. The `empty` slot replaces it.",
|
|
231076
|
+
"attribute": "empty-label",
|
|
231077
|
+
"helix": {
|
|
231078
|
+
"words": true
|
|
231079
|
+
},
|
|
231080
|
+
"inheritedFrom": {
|
|
231081
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231082
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231083
|
+
}
|
|
231084
|
+
},
|
|
229392
231085
|
{
|
|
229393
231086
|
"kind": "field",
|
|
229394
231087
|
"name": "label",
|
|
@@ -229406,6 +231099,20 @@
|
|
|
229406
231099
|
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
229407
231100
|
}
|
|
229408
231101
|
},
|
|
231102
|
+
{
|
|
231103
|
+
"kind": "field",
|
|
231104
|
+
"name": "noAdvance",
|
|
231105
|
+
"type": {
|
|
231106
|
+
"text": "boolean"
|
|
231107
|
+
},
|
|
231108
|
+
"default": "false",
|
|
231109
|
+
"description": "Stays on an entry when its clip ends, where the playlist would otherwise\nplay the next one. The player's controls, a press, and `next()` still\nmove. `repeat=\"one\"` still plays the entry again.",
|
|
231110
|
+
"attribute": "no-advance",
|
|
231111
|
+
"inheritedFrom": {
|
|
231112
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231113
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231114
|
+
}
|
|
231115
|
+
},
|
|
229409
231116
|
{
|
|
229410
231117
|
"kind": "field",
|
|
229411
231118
|
"name": "playingLabel",
|
|
@@ -229503,6 +231210,59 @@
|
|
|
229503
231210
|
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
229504
231211
|
}
|
|
229505
231212
|
},
|
|
231213
|
+
{
|
|
231214
|
+
"kind": "field",
|
|
231215
|
+
"name": "known",
|
|
231216
|
+
"type": {
|
|
231217
|
+
"text": "{ current: string | undefined; values: string[] }"
|
|
231218
|
+
},
|
|
231219
|
+
"privacy": "private",
|
|
231220
|
+
"default": "{ current: undefined, values: [], }",
|
|
231221
|
+
"description": "The entries' values in the order of the last update, and the one that was\ncurrent then. Read when entries leave, to find the neighbor of a current\nentry that has gone.",
|
|
231222
|
+
"inheritedFrom": {
|
|
231223
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231224
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231225
|
+
}
|
|
231226
|
+
},
|
|
231227
|
+
{
|
|
231228
|
+
"kind": "field",
|
|
231229
|
+
"name": "stop",
|
|
231230
|
+
"type": {
|
|
231231
|
+
"text": "string | undefined"
|
|
231232
|
+
},
|
|
231233
|
+
"privacy": "private",
|
|
231234
|
+
"description": "The entry that holds the list's tab stop: the one a reader last focused.\nBefore they focus one, the current entry holds it.",
|
|
231235
|
+
"inheritedFrom": {
|
|
231236
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231237
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231238
|
+
}
|
|
231239
|
+
},
|
|
231240
|
+
{
|
|
231241
|
+
"kind": "field",
|
|
231242
|
+
"name": "pointed",
|
|
231243
|
+
"type": {
|
|
231244
|
+
"text": "HelixHeadlessVideoPlaylistItem | undefined"
|
|
231245
|
+
},
|
|
231246
|
+
"privacy": "private",
|
|
231247
|
+
"description": "The entry the player was last pointed at.",
|
|
231248
|
+
"inheritedFrom": {
|
|
231249
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231250
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231251
|
+
}
|
|
231252
|
+
},
|
|
231253
|
+
{
|
|
231254
|
+
"kind": "field",
|
|
231255
|
+
"name": "watcher",
|
|
231256
|
+
"type": {
|
|
231257
|
+
"text": "MutationObserver | undefined"
|
|
231258
|
+
},
|
|
231259
|
+
"privacy": "private",
|
|
231260
|
+
"description": "Hears entries arrive and leave, which change no property here.",
|
|
231261
|
+
"inheritedFrom": {
|
|
231262
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231263
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231264
|
+
}
|
|
231265
|
+
},
|
|
229506
231266
|
{
|
|
229507
231267
|
"kind": "field",
|
|
229508
231268
|
"name": "player",
|
|
@@ -229555,6 +231315,12 @@
|
|
|
229555
231315
|
"type": {
|
|
229556
231316
|
"text": "number"
|
|
229557
231317
|
}
|
|
231318
|
+
},
|
|
231319
|
+
{
|
|
231320
|
+
"name": "cause",
|
|
231321
|
+
"type": {
|
|
231322
|
+
"text": "'ended' | 'next' | 'previous'"
|
|
231323
|
+
}
|
|
229558
231324
|
}
|
|
229559
231325
|
],
|
|
229560
231326
|
"description": "Moves by one in the playing order and plays what it lands on. At an end it\nstays, unless `repeat` is `all`.\n\nA move a consumer refuses with `helix-before-activate` plays nothing, and\nleaves nothing behind to play on a later change.",
|
|
@@ -229635,6 +231401,51 @@
|
|
|
229635
231401
|
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
229636
231402
|
}
|
|
229637
231403
|
},
|
|
231404
|
+
{
|
|
231405
|
+
"kind": "field",
|
|
231406
|
+
"name": "handleFocusIn",
|
|
231407
|
+
"privacy": "private",
|
|
231408
|
+
"readonly": true,
|
|
231409
|
+
"description": "An entry that takes focus takes the tab stop with it.",
|
|
231410
|
+
"inheritedFrom": {
|
|
231411
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231412
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231413
|
+
}
|
|
231414
|
+
},
|
|
231415
|
+
{
|
|
231416
|
+
"kind": "field",
|
|
231417
|
+
"name": "handleEntries",
|
|
231418
|
+
"privacy": "private",
|
|
231419
|
+
"readonly": true,
|
|
231420
|
+
"description": "Entries arrived or left. Where the current entry left, the playlist moves\nto the entry after it, or to the one before it when it was the last, and\nkeeps playing where it was playing.",
|
|
231421
|
+
"inheritedFrom": {
|
|
231422
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231423
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231424
|
+
}
|
|
231425
|
+
},
|
|
231426
|
+
{
|
|
231427
|
+
"kind": "method",
|
|
231428
|
+
"name": "placeStop",
|
|
231429
|
+
"privacy": "private",
|
|
231430
|
+
"return": {
|
|
231431
|
+
"type": {
|
|
231432
|
+
"text": "void"
|
|
231433
|
+
}
|
|
231434
|
+
},
|
|
231435
|
+
"parameters": [
|
|
231436
|
+
{
|
|
231437
|
+
"name": "items",
|
|
231438
|
+
"type": {
|
|
231439
|
+
"text": "HelixHeadlessVideoPlaylistItem[]"
|
|
231440
|
+
}
|
|
231441
|
+
}
|
|
231442
|
+
],
|
|
231443
|
+
"description": "Gives one entry the tab stop and takes it from the rest: the entry last\nfocused, then the current entry, then the first that can be chosen.",
|
|
231444
|
+
"inheritedFrom": {
|
|
231445
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231446
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231447
|
+
}
|
|
231448
|
+
},
|
|
229638
231449
|
{
|
|
229639
231450
|
"kind": "field",
|
|
229640
231451
|
"name": "handleKeydown",
|
|
@@ -230129,6 +231940,19 @@
|
|
|
230129
231940
|
"module": "src/mixins/mixin-controller-active/mixin-controller-active.ts"
|
|
230130
231941
|
}
|
|
230131
231942
|
},
|
|
231943
|
+
{
|
|
231944
|
+
"name": "empty-label",
|
|
231945
|
+
"type": {
|
|
231946
|
+
"text": "string"
|
|
231947
|
+
},
|
|
231948
|
+
"default": "'No videos'",
|
|
231949
|
+
"description": "What the playlist says while it has no entries. The `empty` slot replaces it.",
|
|
231950
|
+
"fieldName": "emptyLabel",
|
|
231951
|
+
"inheritedFrom": {
|
|
231952
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231953
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231954
|
+
}
|
|
231955
|
+
},
|
|
230132
231956
|
{
|
|
230133
231957
|
"name": "label",
|
|
230134
231958
|
"type": {
|
|
@@ -230142,6 +231966,19 @@
|
|
|
230142
231966
|
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
230143
231967
|
}
|
|
230144
231968
|
},
|
|
231969
|
+
{
|
|
231970
|
+
"name": "no-advance",
|
|
231971
|
+
"type": {
|
|
231972
|
+
"text": "boolean"
|
|
231973
|
+
},
|
|
231974
|
+
"default": "false",
|
|
231975
|
+
"description": "Stays on an entry when its clip ends, where the playlist would otherwise\nplay the next one. The player's controls, a press, and `next()` still\nmove. `repeat=\"one\"` still plays the entry again.",
|
|
231976
|
+
"fieldName": "noAdvance",
|
|
231977
|
+
"inheritedFrom": {
|
|
231978
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
231979
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
231980
|
+
}
|
|
231981
|
+
},
|
|
230145
231982
|
{
|
|
230146
231983
|
"name": "playing-label",
|
|
230147
231984
|
"type": {
|
|
@@ -230198,7 +232035,7 @@
|
|
|
230198
232035
|
"type": {
|
|
230199
232036
|
"text": "HelixBeforeActivateEvent"
|
|
230200
232037
|
},
|
|
230201
|
-
"description": "The current entry is about to change. Cancelable: cancel it to keep the current entry.",
|
|
232038
|
+
"description": "The current entry is about to change, and `detail.cause` says why: `press`, `next`, `previous`, `ended`, or `removed`. Cancelable: cancel it to keep the current entry.",
|
|
230202
232039
|
"name": "helix-before-activate",
|
|
230203
232040
|
"reactProp": "onhelix-before-activate",
|
|
230204
232041
|
"inheritedFrom": {
|
|
@@ -230228,6 +232065,14 @@
|
|
|
230228
232065
|
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
230229
232066
|
}
|
|
230230
232067
|
},
|
|
232068
|
+
{
|
|
232069
|
+
"description": "Shown while the playlist has no entries. Defaults to `empty-label`.",
|
|
232070
|
+
"name": "empty",
|
|
232071
|
+
"inheritedFrom": {
|
|
232072
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
232073
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
232074
|
+
}
|
|
232075
|
+
},
|
|
230231
232076
|
{
|
|
230232
232077
|
"description": "The player that plays the entries.",
|
|
230233
232078
|
"name": "player",
|
|
@@ -230238,6 +232083,14 @@
|
|
|
230238
232083
|
}
|
|
230239
232084
|
],
|
|
230240
232085
|
"cssParts": [
|
|
232086
|
+
{
|
|
232087
|
+
"description": "The box that holds the `empty` slot, drawn while there are no entries.",
|
|
232088
|
+
"name": "empty",
|
|
232089
|
+
"inheritedFrom": {
|
|
232090
|
+
"name": "HelixHeadlessVideoPlaylist",
|
|
232091
|
+
"module": "src/video-playlist/root/video-playlist-root.ts"
|
|
232092
|
+
}
|
|
232093
|
+
},
|
|
230241
232094
|
{
|
|
230242
232095
|
"description": "The list of entries.",
|
|
230243
232096
|
"name": "items",
|
|
@@ -234455,6 +236308,10 @@
|
|
|
234455
236308
|
"description": "How tall the scrolling box is.",
|
|
234456
236309
|
"name": "--virtual-list-block-size"
|
|
234457
236310
|
},
|
|
236311
|
+
{
|
|
236312
|
+
"description": "How faint a row `disabled-keys` names is drawn.",
|
|
236313
|
+
"name": "--virtual-list-disabled-opacity"
|
|
236314
|
+
},
|
|
234458
236315
|
{
|
|
234459
236316
|
"description": "The color of the text in the row shown when there are no items.",
|
|
234460
236317
|
"name": "--virtual-list-empty-color"
|
|
@@ -234563,6 +236420,20 @@
|
|
|
234563
236420
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234564
236421
|
}
|
|
234565
236422
|
},
|
|
236423
|
+
{
|
|
236424
|
+
"kind": "field",
|
|
236425
|
+
"name": "disabledKeys",
|
|
236426
|
+
"type": {
|
|
236427
|
+
"text": "string"
|
|
236428
|
+
},
|
|
236429
|
+
"default": "''",
|
|
236430
|
+
"description": "The keys of the items a reader cannot choose or move to, separated by\ncommas, as `value` writes keys. Their rows carry `aria-disabled`.",
|
|
236431
|
+
"attribute": "disabled-keys",
|
|
236432
|
+
"inheritedFrom": {
|
|
236433
|
+
"name": "HelixHeadlessVirtualList",
|
|
236434
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236435
|
+
}
|
|
236436
|
+
},
|
|
234566
236437
|
{
|
|
234567
236438
|
"kind": "field",
|
|
234568
236439
|
"name": "emptyLabel",
|
|
@@ -234605,6 +236476,20 @@
|
|
|
234605
236476
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234606
236477
|
}
|
|
234607
236478
|
},
|
|
236479
|
+
{
|
|
236480
|
+
"kind": "field",
|
|
236481
|
+
"name": "gap",
|
|
236482
|
+
"type": {
|
|
236483
|
+
"text": "number"
|
|
236484
|
+
},
|
|
236485
|
+
"default": "0",
|
|
236486
|
+
"description": "The space between two rows, and between two columns in a grid, in\npixels. The list counts it in each row's place, so a gap does not walk\nthe rows away from the scroll position the way a margin on each row\nwould.",
|
|
236487
|
+
"attribute": "gap",
|
|
236488
|
+
"inheritedFrom": {
|
|
236489
|
+
"name": "HelixHeadlessVirtualList",
|
|
236490
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236491
|
+
}
|
|
236492
|
+
},
|
|
234608
236493
|
{
|
|
234609
236494
|
"kind": "field",
|
|
234610
236495
|
"name": "items",
|
|
@@ -234690,11 +236575,25 @@
|
|
|
234690
236575
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234691
236576
|
}
|
|
234692
236577
|
},
|
|
236578
|
+
{
|
|
236579
|
+
"kind": "field",
|
|
236580
|
+
"name": "minColumnWidth",
|
|
236581
|
+
"type": {
|
|
236582
|
+
"text": "number"
|
|
236583
|
+
},
|
|
236584
|
+
"default": "0",
|
|
236585
|
+
"description": "The narrowest a column of a grid may be, in pixels. Set, the list lays\nout as many columns as fit the box at that width, at least one, and\nfollows the box as it resizes, which `columns` then does not decide.",
|
|
236586
|
+
"attribute": "min-column-width",
|
|
236587
|
+
"inheritedFrom": {
|
|
236588
|
+
"name": "HelixHeadlessVirtualList",
|
|
236589
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236590
|
+
}
|
|
236591
|
+
},
|
|
234693
236592
|
{
|
|
234694
236593
|
"kind": "field",
|
|
234695
236594
|
"name": "renderItem",
|
|
234696
236595
|
"type": {
|
|
234697
|
-
"text": "VirtualListRenderer | undefined"
|
|
236596
|
+
"text": "VirtualListRenderer<any> | undefined"
|
|
234698
236597
|
},
|
|
234699
236598
|
"description": "Draws one item into its row, given the item and its index. Set it as a\nproperty.\n\nIt returns what Lit renders: a template from `html`, a string, or a DOM\nnode. The list wraps each result in a `<div>` that carries the row's role\nand place in the set. Where it is unset, the row `<template>` is used.",
|
|
234700
236599
|
"inheritedFrom": {
|
|
@@ -234702,6 +236601,20 @@
|
|
|
234702
236601
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234703
236602
|
}
|
|
234704
236603
|
},
|
|
236604
|
+
{
|
|
236605
|
+
"kind": "field",
|
|
236606
|
+
"name": "selectionBehavior",
|
|
236607
|
+
"type": {
|
|
236608
|
+
"text": "'replace' | 'toggle'"
|
|
236609
|
+
},
|
|
236610
|
+
"default": "'toggle'",
|
|
236611
|
+
"description": "What a press does to the items already chosen: `toggle` adds or takes out\nthe item, and `replace` selects it alone and lets the arrow keys carry the\nselection, with Control or Command adding or taking out one item.",
|
|
236612
|
+
"attribute": "selection-behavior",
|
|
236613
|
+
"inheritedFrom": {
|
|
236614
|
+
"name": "HelixHeadlessVirtualList",
|
|
236615
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236616
|
+
}
|
|
236617
|
+
},
|
|
234705
236618
|
{
|
|
234706
236619
|
"kind": "field",
|
|
234707
236620
|
"name": "selectionMode",
|
|
@@ -234787,7 +236700,7 @@
|
|
|
234787
236700
|
"kind": "field",
|
|
234788
236701
|
"name": "filledBy",
|
|
234789
236702
|
"type": {
|
|
234790
|
-
"text": "VirtualListRenderer | undefined"
|
|
236703
|
+
"text": "VirtualListRenderer<any> | undefined"
|
|
234791
236704
|
},
|
|
234792
236705
|
"privacy": "private",
|
|
234793
236706
|
"description": "The function the drawn rows were filled by, so a new one draws them again.",
|
|
@@ -234889,6 +236802,32 @@
|
|
|
234889
236802
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234890
236803
|
}
|
|
234891
236804
|
},
|
|
236805
|
+
{
|
|
236806
|
+
"kind": "field",
|
|
236807
|
+
"name": "sizes",
|
|
236808
|
+
"type": {
|
|
236809
|
+
"text": "ResizeObserver | undefined"
|
|
236810
|
+
},
|
|
236811
|
+
"privacy": "private",
|
|
236812
|
+
"description": "Watches the drawn rows for a change of size after they were drawn: an\nimage that loads, a row that opens, text a page edits in place.\n\n**Measured once, a row that grew later kept its old height**, so the\nwindow and the spacers placed every row after it by the old one. React\nAria's virtualizer observes its items for the same reason. A frame later,\nso a size the next render changes is not asked of the browser's pass over\nthe observers a second time.",
|
|
236813
|
+
"inheritedFrom": {
|
|
236814
|
+
"name": "HelixHeadlessVirtualList",
|
|
236815
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236816
|
+
}
|
|
236817
|
+
},
|
|
236818
|
+
{
|
|
236819
|
+
"kind": "field",
|
|
236820
|
+
"name": "resized",
|
|
236821
|
+
"type": {
|
|
236822
|
+
"text": "number | undefined"
|
|
236823
|
+
},
|
|
236824
|
+
"privacy": "private",
|
|
236825
|
+
"description": "The frame the next measure of resized rows waits for.",
|
|
236826
|
+
"inheritedFrom": {
|
|
236827
|
+
"name": "HelixHeadlessVirtualList",
|
|
236828
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236829
|
+
}
|
|
236830
|
+
},
|
|
234892
236831
|
{
|
|
234893
236832
|
"kind": "field",
|
|
234894
236833
|
"name": "aria",
|
|
@@ -234906,7 +236845,7 @@
|
|
|
234906
236845
|
"name": "virtualize",
|
|
234907
236846
|
"privacy": "private",
|
|
234908
236847
|
"readonly": true,
|
|
234909
|
-
"default": "new VirtualizeController(this, { container: () => this.partNamed('viewport'), count: () => Math.ceil(this.data.length / this.across), estimate: () => this.estimate, measured: () => this.measured, rows: () => this.lines(), })",
|
|
236848
|
+
"default": "new VirtualizeController(this, { container: () => this.partNamed('viewport'), count: () => Math.ceil(this.data.length / this.across), estimate: () => this.estimate, gap: () => this.space, measured: () => this.measured, rows: () => this.lines(), })",
|
|
234910
236849
|
"inheritedFrom": {
|
|
234911
236850
|
"name": "HelixHeadlessVirtualList",
|
|
234912
236851
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
@@ -234925,6 +236864,20 @@
|
|
|
234925
236864
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234926
236865
|
}
|
|
234927
236866
|
},
|
|
236867
|
+
{
|
|
236868
|
+
"kind": "field",
|
|
236869
|
+
"name": "space",
|
|
236870
|
+
"type": {
|
|
236871
|
+
"text": "number"
|
|
236872
|
+
},
|
|
236873
|
+
"privacy": "private",
|
|
236874
|
+
"description": "The gap in pixels, none where it is not a positive number.",
|
|
236875
|
+
"readonly": true,
|
|
236876
|
+
"inheritedFrom": {
|
|
236877
|
+
"name": "HelixHeadlessVirtualList",
|
|
236878
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236879
|
+
}
|
|
236880
|
+
},
|
|
234928
236881
|
{
|
|
234929
236882
|
"kind": "field",
|
|
234930
236883
|
"name": "across",
|
|
@@ -234932,13 +236885,69 @@
|
|
|
234932
236885
|
"text": "number"
|
|
234933
236886
|
},
|
|
234934
236887
|
"privacy": "private",
|
|
234935
|
-
"description": "How many items a line holds: `columns
|
|
236888
|
+
"description": "How many items a line holds: as many as fit at `min-column-width` where\nit is set and the box has a width, and `columns` otherwise, at least one.",
|
|
234936
236889
|
"readonly": true,
|
|
234937
236890
|
"inheritedFrom": {
|
|
234938
236891
|
"name": "HelixHeadlessVirtualList",
|
|
234939
236892
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
234940
236893
|
}
|
|
234941
236894
|
},
|
|
236895
|
+
{
|
|
236896
|
+
"kind": "field",
|
|
236897
|
+
"name": "boxWidth",
|
|
236898
|
+
"type": {
|
|
236899
|
+
"text": "number"
|
|
236900
|
+
},
|
|
236901
|
+
"privacy": "private",
|
|
236902
|
+
"default": "0",
|
|
236903
|
+
"description": "How wide the box is, read for `min-column-width`.",
|
|
236904
|
+
"inheritedFrom": {
|
|
236905
|
+
"name": "HelixHeadlessVirtualList",
|
|
236906
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236907
|
+
}
|
|
236908
|
+
},
|
|
236909
|
+
{
|
|
236910
|
+
"kind": "field",
|
|
236911
|
+
"name": "widthWatch",
|
|
236912
|
+
"type": {
|
|
236913
|
+
"text": "ResizeObserver | undefined"
|
|
236914
|
+
},
|
|
236915
|
+
"privacy": "private",
|
|
236916
|
+
"description": "Watches the box's width, for `min-column-width`.",
|
|
236917
|
+
"inheritedFrom": {
|
|
236918
|
+
"name": "HelixHeadlessVirtualList",
|
|
236919
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236920
|
+
}
|
|
236921
|
+
},
|
|
236922
|
+
{
|
|
236923
|
+
"kind": "field",
|
|
236924
|
+
"name": "measuredAcross",
|
|
236925
|
+
"type": {
|
|
236926
|
+
"text": "number"
|
|
236927
|
+
},
|
|
236928
|
+
"privacy": "private",
|
|
236929
|
+
"default": "1",
|
|
236930
|
+
"description": "The items to a line the measurements were taken at.",
|
|
236931
|
+
"inheritedFrom": {
|
|
236932
|
+
"name": "HelixHeadlessVirtualList",
|
|
236933
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236934
|
+
}
|
|
236935
|
+
},
|
|
236936
|
+
{
|
|
236937
|
+
"kind": "method",
|
|
236938
|
+
"name": "watchWidth",
|
|
236939
|
+
"privacy": "private",
|
|
236940
|
+
"return": {
|
|
236941
|
+
"type": {
|
|
236942
|
+
"text": "void"
|
|
236943
|
+
}
|
|
236944
|
+
},
|
|
236945
|
+
"description": "Watches the box for its width while `min-column-width` asks for it.",
|
|
236946
|
+
"inheritedFrom": {
|
|
236947
|
+
"name": "HelixHeadlessVirtualList",
|
|
236948
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236949
|
+
}
|
|
236950
|
+
},
|
|
234942
236951
|
{
|
|
234943
236952
|
"kind": "method",
|
|
234944
236953
|
"name": "itemsOn",
|
|
@@ -235038,6 +237047,52 @@
|
|
|
235038
237047
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
235039
237048
|
}
|
|
235040
237049
|
},
|
|
237050
|
+
{
|
|
237051
|
+
"kind": "method",
|
|
237052
|
+
"name": "keepPlace",
|
|
237053
|
+
"privacy": "private",
|
|
237054
|
+
"return": {
|
|
237055
|
+
"type": {
|
|
237056
|
+
"text": "void"
|
|
237057
|
+
}
|
|
237058
|
+
},
|
|
237059
|
+
"parameters": [
|
|
237060
|
+
{
|
|
237061
|
+
"name": "was",
|
|
237062
|
+
"type": {
|
|
237063
|
+
"text": "readonly unknown[] | undefined"
|
|
237064
|
+
}
|
|
237065
|
+
}
|
|
237066
|
+
],
|
|
237067
|
+
"description": "Keeps the reader on the item they were reading when items arrive before\nit, as a feed loading newer posts above does.\n\n**Every index moves by what arrived**, so the drawn rows are renumbered,\nthe tab stop moves with its item, and the controller is told, which moves\nthe scroll offset by the room the new items take. Recognized where the\nnew array ends with the old one: the same items, or the same keys under\n`key-field`.",
|
|
237068
|
+
"inheritedFrom": {
|
|
237069
|
+
"name": "HelixHeadlessVirtualList",
|
|
237070
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
237071
|
+
}
|
|
237072
|
+
},
|
|
237073
|
+
{
|
|
237074
|
+
"kind": "method",
|
|
237075
|
+
"name": "watchSize",
|
|
237076
|
+
"privacy": "private",
|
|
237077
|
+
"return": {
|
|
237078
|
+
"type": {
|
|
237079
|
+
"text": "void"
|
|
237080
|
+
}
|
|
237081
|
+
},
|
|
237082
|
+
"parameters": [
|
|
237083
|
+
{
|
|
237084
|
+
"name": "elements",
|
|
237085
|
+
"type": {
|
|
237086
|
+
"text": "Element[]"
|
|
237087
|
+
}
|
|
237088
|
+
}
|
|
237089
|
+
],
|
|
237090
|
+
"description": "Watches a row drawn on this pass for a change of size.",
|
|
237091
|
+
"inheritedFrom": {
|
|
237092
|
+
"name": "HelixHeadlessVirtualList",
|
|
237093
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
237094
|
+
}
|
|
237095
|
+
},
|
|
235041
237096
|
{
|
|
235042
237097
|
"kind": "method",
|
|
235043
237098
|
"name": "handleMutations",
|
|
@@ -235105,6 +237160,43 @@
|
|
|
235105
237160
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
235106
237161
|
}
|
|
235107
237162
|
},
|
|
237163
|
+
{
|
|
237164
|
+
"kind": "field",
|
|
237165
|
+
"name": "disabled",
|
|
237166
|
+
"type": {
|
|
237167
|
+
"text": "Set<string>"
|
|
237168
|
+
},
|
|
237169
|
+
"privacy": "private",
|
|
237170
|
+
"description": "The keys `disabled-keys` names.",
|
|
237171
|
+
"readonly": true,
|
|
237172
|
+
"inheritedFrom": {
|
|
237173
|
+
"name": "HelixHeadlessVirtualList",
|
|
237174
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
237175
|
+
}
|
|
237176
|
+
},
|
|
237177
|
+
{
|
|
237178
|
+
"kind": "method",
|
|
237179
|
+
"name": "isDisabled",
|
|
237180
|
+
"privacy": "private",
|
|
237181
|
+
"return": {
|
|
237182
|
+
"type": {
|
|
237183
|
+
"text": "boolean"
|
|
237184
|
+
}
|
|
237185
|
+
},
|
|
237186
|
+
"parameters": [
|
|
237187
|
+
{
|
|
237188
|
+
"name": "at",
|
|
237189
|
+
"type": {
|
|
237190
|
+
"text": "number"
|
|
237191
|
+
}
|
|
237192
|
+
}
|
|
237193
|
+
],
|
|
237194
|
+
"description": "Whether item `at` is one a reader cannot choose or move to.",
|
|
237195
|
+
"inheritedFrom": {
|
|
237196
|
+
"name": "HelixHeadlessVirtualList",
|
|
237197
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
237198
|
+
}
|
|
237199
|
+
},
|
|
235108
237200
|
{
|
|
235109
237201
|
"kind": "method",
|
|
235110
237202
|
"name": "indexOf",
|
|
@@ -235233,6 +237325,10 @@
|
|
|
235233
237325
|
{
|
|
235234
237326
|
"name": "extend",
|
|
235235
237327
|
"default": "false"
|
|
237328
|
+
},
|
|
237329
|
+
{
|
|
237330
|
+
"name": "toggle",
|
|
237331
|
+
"default": "false"
|
|
235236
237332
|
}
|
|
235237
237333
|
],
|
|
235238
237334
|
"description": "Selects item `at`, or lets it go, asking first. With `extend`, in\n`multiple`, the items from the anchor to it are taken in, as Data Table\nand List take in a range. Otherwise the item is where the next range runs\nfrom.",
|
|
@@ -235413,9 +237509,15 @@
|
|
|
235413
237509
|
"type": {
|
|
235414
237510
|
"text": "ReadonlySet<string>"
|
|
235415
237511
|
}
|
|
237512
|
+
},
|
|
237513
|
+
{
|
|
237514
|
+
"name": "off",
|
|
237515
|
+
"type": {
|
|
237516
|
+
"text": "ReadonlySet<string>"
|
|
237517
|
+
}
|
|
235416
237518
|
}
|
|
235417
237519
|
],
|
|
235418
|
-
"description": "Writes a row's role, and whether it is chosen in a list that selects:\n`option` with `aria-selected` there, and `listitem` otherwise. Every pass,\nsince a choice changes no row's content.",
|
|
237520
|
+
"description": "Writes a row's role, and whether it is chosen in a list that selects:\n`option` with `aria-selected` there, and `listitem` otherwise, and\n`aria-disabled` on an item `disabled-keys` names. Every pass,\nsince a choice changes no row's content.",
|
|
235419
237521
|
"inheritedFrom": {
|
|
235420
237522
|
"name": "HelixHeadlessVirtualList",
|
|
235421
237523
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
@@ -235523,6 +237625,21 @@
|
|
|
235523
237625
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
235524
237626
|
}
|
|
235525
237627
|
},
|
|
237628
|
+
{
|
|
237629
|
+
"kind": "method",
|
|
237630
|
+
"name": "spacerSizes",
|
|
237631
|
+
"privacy": "private",
|
|
237632
|
+
"return": {
|
|
237633
|
+
"type": {
|
|
237634
|
+
"text": "{ after: number; before: number }"
|
|
237635
|
+
}
|
|
237636
|
+
},
|
|
237637
|
+
"description": "The spacers' heights: the window's, with the line kept for focus taking its own room.",
|
|
237638
|
+
"inheritedFrom": {
|
|
237639
|
+
"name": "HelixHeadlessVirtualList",
|
|
237640
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
237641
|
+
}
|
|
237642
|
+
},
|
|
235526
237643
|
{
|
|
235527
237644
|
"kind": "field",
|
|
235528
237645
|
"name": "tier",
|
|
@@ -235938,6 +238055,19 @@
|
|
|
235938
238055
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
235939
238056
|
}
|
|
235940
238057
|
},
|
|
238058
|
+
{
|
|
238059
|
+
"name": "disabled-keys",
|
|
238060
|
+
"type": {
|
|
238061
|
+
"text": "string"
|
|
238062
|
+
},
|
|
238063
|
+
"default": "''",
|
|
238064
|
+
"description": "The keys of the items a reader cannot choose or move to, separated by\ncommas, as `value` writes keys. Their rows carry `aria-disabled`.",
|
|
238065
|
+
"fieldName": "disabledKeys",
|
|
238066
|
+
"inheritedFrom": {
|
|
238067
|
+
"name": "HelixHeadlessVirtualList",
|
|
238068
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
238069
|
+
}
|
|
238070
|
+
},
|
|
235941
238071
|
{
|
|
235942
238072
|
"name": "empty-label",
|
|
235943
238073
|
"type": {
|
|
@@ -235977,6 +238107,19 @@
|
|
|
235977
238107
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
235978
238108
|
}
|
|
235979
238109
|
},
|
|
238110
|
+
{
|
|
238111
|
+
"name": "gap",
|
|
238112
|
+
"type": {
|
|
238113
|
+
"text": "number"
|
|
238114
|
+
},
|
|
238115
|
+
"default": "0",
|
|
238116
|
+
"description": "The space between two rows, and between two columns in a grid, in\npixels. The list counts it in each row's place, so a gap does not walk\nthe rows away from the scroll position the way a margin on each row\nwould.",
|
|
238117
|
+
"fieldName": "gap",
|
|
238118
|
+
"inheritedFrom": {
|
|
238119
|
+
"name": "HelixHeadlessVirtualList",
|
|
238120
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
238121
|
+
}
|
|
238122
|
+
},
|
|
235980
238123
|
{
|
|
235981
238124
|
"name": "key-field",
|
|
235982
238125
|
"type": {
|
|
@@ -236042,6 +238185,32 @@
|
|
|
236042
238185
|
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
236043
238186
|
}
|
|
236044
238187
|
},
|
|
238188
|
+
{
|
|
238189
|
+
"name": "min-column-width",
|
|
238190
|
+
"type": {
|
|
238191
|
+
"text": "number"
|
|
238192
|
+
},
|
|
238193
|
+
"default": "0",
|
|
238194
|
+
"description": "The narrowest a column of a grid may be, in pixels. Set, the list lays\nout as many columns as fit the box at that width, at least one, and\nfollows the box as it resizes, which `columns` then does not decide.",
|
|
238195
|
+
"fieldName": "minColumnWidth",
|
|
238196
|
+
"inheritedFrom": {
|
|
238197
|
+
"name": "HelixHeadlessVirtualList",
|
|
238198
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
238199
|
+
}
|
|
238200
|
+
},
|
|
238201
|
+
{
|
|
238202
|
+
"name": "selection-behavior",
|
|
238203
|
+
"type": {
|
|
238204
|
+
"text": "'replace' | 'toggle'"
|
|
238205
|
+
},
|
|
238206
|
+
"default": "'toggle'",
|
|
238207
|
+
"description": "What a press does to the items already chosen: `toggle` adds or takes out\nthe item, and `replace` selects it alone and lets the arrow keys carry the\nselection, with Control or Command adding or taking out one item.",
|
|
238208
|
+
"fieldName": "selectionBehavior",
|
|
238209
|
+
"inheritedFrom": {
|
|
238210
|
+
"name": "HelixHeadlessVirtualList",
|
|
238211
|
+
"module": "src/virtual-list/root/virtual-list-root.ts"
|
|
238212
|
+
}
|
|
238213
|
+
},
|
|
236045
238214
|
{
|
|
236046
238215
|
"name": "selection-mode",
|
|
236047
238216
|
"type": {
|
|
@@ -236183,6 +238352,6 @@
|
|
|
236183
238352
|
],
|
|
236184
238353
|
"helix": {
|
|
236185
238354
|
"package": "@fusion.dev/helix",
|
|
236186
|
-
"version": "0.
|
|
238355
|
+
"version": "0.161.0"
|
|
236187
238356
|
}
|
|
236188
238357
|
}
|