@fusion.dev/helix 0.203.0 → 0.204.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.json +1 -1
- package/custom-elements.json +476 -6
- package/dist/element-events.generated.js +1 -1
- package/dist/log/line/log-line.css.js +1 -1
- package/dist/log/line/log-line.d.ts +1 -0
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/skills/helix/SKILL.md +2 -2
- package/types/jsx.d.ts +88 -14
- package/types/vue.d.ts +30 -3
package/custom-elements.json
CHANGED
|
@@ -123850,6 +123850,10 @@
|
|
|
123850
123850
|
"description": "The fill behind text that matches the log's `query`.",
|
|
123851
123851
|
"name": "--log-match-background-color"
|
|
123852
123852
|
},
|
|
123853
|
+
{
|
|
123854
|
+
"description": "The band behind a selected line, on a `selectable` log.",
|
|
123855
|
+
"name": "--log-selected-background-color"
|
|
123856
|
+
},
|
|
123853
123857
|
{
|
|
123854
123858
|
"description": "The color of a line at `warn`, and of the band behind it. Defaults to the warning color.",
|
|
123855
123859
|
"name": "--log-warn-color"
|
|
@@ -123954,7 +123958,7 @@
|
|
|
123954
123958
|
"text": "TemplateResult | typeof nothing"
|
|
123955
123959
|
}
|
|
123956
123960
|
},
|
|
123957
|
-
"description": "The number
|
|
123961
|
+
"description": "The number: a link where the log gave `line-href`, a button where the log\nis `selectable`, and otherwise text a screen reader skips.\n\n**One number in the log is a tab stop, and the rest are reached with the\narrow keys**, so a log of a thousand lines is one stop on the way through\nthe page. The log says which, with `logStop`.",
|
|
123958
123962
|
"inheritedFrom": {
|
|
123959
123963
|
"name": "HelixHeadlessLogLine",
|
|
123960
123964
|
"module": "src/log/line/log-line.ts"
|
|
@@ -124404,6 +124408,14 @@
|
|
|
124404
124408
|
"module": "src/log/line/log-line.ts"
|
|
124405
124409
|
}
|
|
124406
124410
|
},
|
|
124411
|
+
{
|
|
124412
|
+
"description": "The row of a line in the log's selection.",
|
|
124413
|
+
"name": "line-selected",
|
|
124414
|
+
"inheritedFrom": {
|
|
124415
|
+
"name": "HelixHeadlessLogLine",
|
|
124416
|
+
"module": "src/log/line/log-line.ts"
|
|
124417
|
+
}
|
|
124418
|
+
},
|
|
124407
124419
|
{
|
|
124408
124420
|
"description": "The row of a line at `warn`.",
|
|
124409
124421
|
"name": "line-warn",
|
|
@@ -124421,7 +124433,7 @@
|
|
|
124421
124433
|
}
|
|
124422
124434
|
},
|
|
124423
124435
|
{
|
|
124424
|
-
"description": "The line's number, shown with `line-numbers
|
|
124436
|
+
"description": "The line's number, shown with `line-numbers`: a link with `line-href`, and a button on a `selectable` log.",
|
|
124425
124437
|
"name": "number",
|
|
124426
124438
|
"inheritedFrom": {
|
|
124427
124439
|
"name": "HelixHeadlessLogLine",
|
|
@@ -125162,6 +125174,19 @@
|
|
|
125162
125174
|
"module": "src/log/root/log-root.ts"
|
|
125163
125175
|
}
|
|
125164
125176
|
},
|
|
125177
|
+
{
|
|
125178
|
+
"kind": "field",
|
|
125179
|
+
"name": "format",
|
|
125180
|
+
"type": {
|
|
125181
|
+
"text": "'github-actions' | 'vercel' | undefined"
|
|
125182
|
+
},
|
|
125183
|
+
"description": "The format written text is in, read with a parser Helix ships:\n`github-actions` reads a GitHub Actions log's workflow commands into steps\nand levels, and `vercel` a Vercel build log's phases and warnings. Absent\nreads none. `parse` wins over it.",
|
|
125184
|
+
"attribute": "format",
|
|
125185
|
+
"inheritedFrom": {
|
|
125186
|
+
"name": "HelixHeadlessLog",
|
|
125187
|
+
"module": "src/log/root/log-root.ts"
|
|
125188
|
+
}
|
|
125189
|
+
},
|
|
125165
125190
|
{
|
|
125166
125191
|
"kind": "field",
|
|
125167
125192
|
"name": "groupLabel",
|
|
@@ -125314,7 +125339,7 @@
|
|
|
125314
125339
|
"type": {
|
|
125315
125340
|
"text": "LogParser | undefined"
|
|
125316
125341
|
},
|
|
125317
|
-
"description": "Reads each finished line of written text: return the fields to set, such\nas `level` or `
|
|
125342
|
+
"description": "Reads each finished line of written text: return the fields to set, such\nas `level`, `open` or `close` to start or end a step, or `null` to drop\nthe line. Lines in `lines` are taken as they are. Wins over `format`.",
|
|
125318
125343
|
"inheritedFrom": {
|
|
125319
125344
|
"name": "HelixHeadlessLog",
|
|
125320
125345
|
"module": "src/log/root/log-root.ts"
|
|
@@ -125364,6 +125389,34 @@
|
|
|
125364
125389
|
"module": "src/log/root/log-root.ts"
|
|
125365
125390
|
}
|
|
125366
125391
|
},
|
|
125392
|
+
{
|
|
125393
|
+
"kind": "field",
|
|
125394
|
+
"name": "selectable",
|
|
125395
|
+
"type": {
|
|
125396
|
+
"text": "boolean"
|
|
125397
|
+
},
|
|
125398
|
+
"default": "false",
|
|
125399
|
+
"description": "Whether pressing a line's number selects the line, and pressing another\nwith Shift selects every line between them. Each number is then a\nbutton, or a link with `line-href`, and the arrow keys move between them.",
|
|
125400
|
+
"attribute": "selectable",
|
|
125401
|
+
"inheritedFrom": {
|
|
125402
|
+
"name": "HelixHeadlessLog",
|
|
125403
|
+
"module": "src/log/root/log-root.ts"
|
|
125404
|
+
}
|
|
125405
|
+
},
|
|
125406
|
+
{
|
|
125407
|
+
"kind": "field",
|
|
125408
|
+
"name": "selectedLines",
|
|
125409
|
+
"type": {
|
|
125410
|
+
"text": "string"
|
|
125411
|
+
},
|
|
125412
|
+
"default": "''",
|
|
125413
|
+
"description": "The lines selected, as a number or a range such as `12-20`. Empty selects\nnone. A reader's press asks first: `helix-select` is cancelable.",
|
|
125414
|
+
"attribute": "selected-lines",
|
|
125415
|
+
"inheritedFrom": {
|
|
125416
|
+
"name": "HelixHeadlessLog",
|
|
125417
|
+
"module": "src/log/root/log-root.ts"
|
|
125418
|
+
}
|
|
125419
|
+
},
|
|
125367
125420
|
{
|
|
125368
125421
|
"kind": "field",
|
|
125369
125422
|
"name": "source",
|
|
@@ -125431,6 +125484,74 @@
|
|
|
125431
125484
|
"module": "src/log/root/log-root.ts"
|
|
125432
125485
|
}
|
|
125433
125486
|
},
|
|
125487
|
+
{
|
|
125488
|
+
"kind": "field",
|
|
125489
|
+
"name": "formatValue",
|
|
125490
|
+
"type": {
|
|
125491
|
+
"text": "'github-actions' | 'vercel' | undefined"
|
|
125492
|
+
},
|
|
125493
|
+
"privacy": "private",
|
|
125494
|
+
"default": "undefined",
|
|
125495
|
+
"inheritedFrom": {
|
|
125496
|
+
"name": "HelixHeadlessLog",
|
|
125497
|
+
"module": "src/log/root/log-root.ts"
|
|
125498
|
+
}
|
|
125499
|
+
},
|
|
125500
|
+
{
|
|
125501
|
+
"kind": "field",
|
|
125502
|
+
"name": "parseValue",
|
|
125503
|
+
"type": {
|
|
125504
|
+
"text": "LogParser | undefined"
|
|
125505
|
+
},
|
|
125506
|
+
"privacy": "private",
|
|
125507
|
+
"default": "undefined",
|
|
125508
|
+
"inheritedFrom": {
|
|
125509
|
+
"name": "HelixHeadlessLog",
|
|
125510
|
+
"module": "src/log/root/log-root.ts"
|
|
125511
|
+
}
|
|
125512
|
+
},
|
|
125513
|
+
{
|
|
125514
|
+
"kind": "field",
|
|
125515
|
+
"name": "stop",
|
|
125516
|
+
"type": {
|
|
125517
|
+
"text": "number"
|
|
125518
|
+
},
|
|
125519
|
+
"privacy": "private",
|
|
125520
|
+
"default": "0",
|
|
125521
|
+
"description": "The number that is the log's one tab stop among its numbers, or 0 before anyone moved.",
|
|
125522
|
+
"inheritedFrom": {
|
|
125523
|
+
"name": "HelixHeadlessLog",
|
|
125524
|
+
"module": "src/log/root/log-root.ts"
|
|
125525
|
+
}
|
|
125526
|
+
},
|
|
125527
|
+
{
|
|
125528
|
+
"kind": "field",
|
|
125529
|
+
"name": "selectionAnchor",
|
|
125530
|
+
"type": {
|
|
125531
|
+
"text": "number | undefined"
|
|
125532
|
+
},
|
|
125533
|
+
"privacy": "private",
|
|
125534
|
+
"default": "undefined",
|
|
125535
|
+
"description": "The line a Shift press measures a range from.",
|
|
125536
|
+
"inheritedFrom": {
|
|
125537
|
+
"name": "HelixHeadlessLog",
|
|
125538
|
+
"module": "src/log/root/log-root.ts"
|
|
125539
|
+
}
|
|
125540
|
+
},
|
|
125541
|
+
{
|
|
125542
|
+
"kind": "field",
|
|
125543
|
+
"name": "lastGroups",
|
|
125544
|
+
"type": {
|
|
125545
|
+
"text": "readonly LogGroup[]"
|
|
125546
|
+
},
|
|
125547
|
+
"privacy": "private",
|
|
125548
|
+
"default": "[]",
|
|
125549
|
+
"description": "The steps the last update saw, which a page's `open` is compared with.",
|
|
125550
|
+
"inheritedFrom": {
|
|
125551
|
+
"name": "HelixHeadlessLog",
|
|
125552
|
+
"module": "src/log/root/log-root.ts"
|
|
125553
|
+
}
|
|
125554
|
+
},
|
|
125434
125555
|
{
|
|
125435
125556
|
"kind": "field",
|
|
125436
125557
|
"name": "doneState",
|
|
@@ -125729,6 +125850,85 @@
|
|
|
125729
125850
|
"module": "src/log/root/log-root.ts"
|
|
125730
125851
|
}
|
|
125731
125852
|
},
|
|
125853
|
+
{
|
|
125854
|
+
"kind": "field",
|
|
125855
|
+
"name": "formatParser",
|
|
125856
|
+
"type": {
|
|
125857
|
+
"text": "LogParser | undefined"
|
|
125858
|
+
},
|
|
125859
|
+
"privacy": "private",
|
|
125860
|
+
"description": "The parser `format` names.",
|
|
125861
|
+
"readonly": true,
|
|
125862
|
+
"inheritedFrom": {
|
|
125863
|
+
"name": "HelixHeadlessLog",
|
|
125864
|
+
"module": "src/log/root/log-root.ts"
|
|
125865
|
+
}
|
|
125866
|
+
},
|
|
125867
|
+
{
|
|
125868
|
+
"kind": "field",
|
|
125869
|
+
"name": "allGroups",
|
|
125870
|
+
"type": {
|
|
125871
|
+
"text": "readonly LogGroup[]"
|
|
125872
|
+
},
|
|
125873
|
+
"privacy": "private",
|
|
125874
|
+
"description": "The steps from `groups`, then the steps a parser opened.",
|
|
125875
|
+
"readonly": true,
|
|
125876
|
+
"inheritedFrom": {
|
|
125877
|
+
"name": "HelixHeadlessLog",
|
|
125878
|
+
"module": "src/log/root/log-root.ts"
|
|
125879
|
+
}
|
|
125880
|
+
},
|
|
125881
|
+
{
|
|
125882
|
+
"kind": "field",
|
|
125883
|
+
"name": "interactive",
|
|
125884
|
+
"type": {
|
|
125885
|
+
"text": "boolean"
|
|
125886
|
+
},
|
|
125887
|
+
"privacy": "private",
|
|
125888
|
+
"description": "Whether the numbers take focus: links with `line-href`, or buttons when `selectable`.",
|
|
125889
|
+
"readonly": true,
|
|
125890
|
+
"inheritedFrom": {
|
|
125891
|
+
"name": "HelixHeadlessLog",
|
|
125892
|
+
"module": "src/log/root/log-root.ts"
|
|
125893
|
+
}
|
|
125894
|
+
},
|
|
125895
|
+
{
|
|
125896
|
+
"kind": "field",
|
|
125897
|
+
"name": "selection",
|
|
125898
|
+
"type": {
|
|
125899
|
+
"text": "[number, number] | undefined"
|
|
125900
|
+
},
|
|
125901
|
+
"privacy": "private",
|
|
125902
|
+
"description": "The selection as its first and last line, or undefined where there is none.",
|
|
125903
|
+
"readonly": true,
|
|
125904
|
+
"inheritedFrom": {
|
|
125905
|
+
"name": "HelixHeadlessLog",
|
|
125906
|
+
"module": "src/log/root/log-root.ts"
|
|
125907
|
+
}
|
|
125908
|
+
},
|
|
125909
|
+
{
|
|
125910
|
+
"kind": "method",
|
|
125911
|
+
"name": "selected",
|
|
125912
|
+
"privacy": "private",
|
|
125913
|
+
"return": {
|
|
125914
|
+
"type": {
|
|
125915
|
+
"text": "boolean"
|
|
125916
|
+
}
|
|
125917
|
+
},
|
|
125918
|
+
"parameters": [
|
|
125919
|
+
{
|
|
125920
|
+
"name": "number",
|
|
125921
|
+
"type": {
|
|
125922
|
+
"text": "number"
|
|
125923
|
+
}
|
|
125924
|
+
}
|
|
125925
|
+
],
|
|
125926
|
+
"description": "Whether line `number` is selected.",
|
|
125927
|
+
"inheritedFrom": {
|
|
125928
|
+
"name": "HelixHeadlessLog",
|
|
125929
|
+
"module": "src/log/root/log-root.ts"
|
|
125930
|
+
}
|
|
125931
|
+
},
|
|
125732
125932
|
{
|
|
125733
125933
|
"kind": "field",
|
|
125734
125934
|
"name": "log",
|
|
@@ -125847,6 +126047,192 @@
|
|
|
125847
126047
|
"module": "src/log/root/log-root.ts"
|
|
125848
126048
|
}
|
|
125849
126049
|
},
|
|
126050
|
+
{
|
|
126051
|
+
"kind": "method",
|
|
126052
|
+
"name": "requestSelect",
|
|
126053
|
+
"privacy": "private",
|
|
126054
|
+
"return": {
|
|
126055
|
+
"type": {
|
|
126056
|
+
"text": "void"
|
|
126057
|
+
}
|
|
126058
|
+
},
|
|
126059
|
+
"parameters": [
|
|
126060
|
+
{
|
|
126061
|
+
"name": "value",
|
|
126062
|
+
"type": {
|
|
126063
|
+
"text": "string"
|
|
126064
|
+
}
|
|
126065
|
+
}
|
|
126066
|
+
],
|
|
126067
|
+
"description": "Asks to select `value`, a line or a range, and applies it unless refused,\nthen says so and, with a `line-href` that is a fragment such as `#L{n}`,\nputs the selection in the address.",
|
|
126068
|
+
"inheritedFrom": {
|
|
126069
|
+
"name": "HelixHeadlessLog",
|
|
126070
|
+
"module": "src/log/root/log-root.ts"
|
|
126071
|
+
}
|
|
126072
|
+
},
|
|
126073
|
+
{
|
|
126074
|
+
"kind": "method",
|
|
126075
|
+
"name": "address",
|
|
126076
|
+
"privacy": "private",
|
|
126077
|
+
"return": {
|
|
126078
|
+
"type": {
|
|
126079
|
+
"text": "string | undefined"
|
|
126080
|
+
}
|
|
126081
|
+
},
|
|
126082
|
+
"parameters": [
|
|
126083
|
+
{
|
|
126084
|
+
"name": "value",
|
|
126085
|
+
"type": {
|
|
126086
|
+
"text": "string"
|
|
126087
|
+
}
|
|
126088
|
+
}
|
|
126089
|
+
],
|
|
126090
|
+
"description": "What the address holds for a selection, as `line-href` spells a line:\n`#L12`, and `#L12-L20` for a range. Undefined where `line-href` is not a\nfragment, since a link elsewhere is the page's to follow.",
|
|
126091
|
+
"inheritedFrom": {
|
|
126092
|
+
"name": "HelixHeadlessLog",
|
|
126093
|
+
"module": "src/log/root/log-root.ts"
|
|
126094
|
+
}
|
|
126095
|
+
},
|
|
126096
|
+
{
|
|
126097
|
+
"kind": "method",
|
|
126098
|
+
"name": "writeAddress",
|
|
126099
|
+
"privacy": "private",
|
|
126100
|
+
"return": {
|
|
126101
|
+
"type": {
|
|
126102
|
+
"text": "void"
|
|
126103
|
+
}
|
|
126104
|
+
},
|
|
126105
|
+
"parameters": [
|
|
126106
|
+
{
|
|
126107
|
+
"name": "value",
|
|
126108
|
+
"type": {
|
|
126109
|
+
"text": "string"
|
|
126110
|
+
}
|
|
126111
|
+
}
|
|
126112
|
+
],
|
|
126113
|
+
"description": "Puts a selection in the address without a new history entry, so the back\nbutton leaves the page rather than walking through every line pressed.",
|
|
126114
|
+
"inheritedFrom": {
|
|
126115
|
+
"name": "HelixHeadlessLog",
|
|
126116
|
+
"module": "src/log/root/log-root.ts"
|
|
126117
|
+
}
|
|
126118
|
+
},
|
|
126119
|
+
{
|
|
126120
|
+
"kind": "field",
|
|
126121
|
+
"name": "readAddress",
|
|
126122
|
+
"privacy": "private",
|
|
126123
|
+
"readonly": true,
|
|
126124
|
+
"description": "Reads a line or a range out of the address, as `line-href` spells one,\nselects it where the log is `selectable`, and scrolls to it.",
|
|
126125
|
+
"inheritedFrom": {
|
|
126126
|
+
"name": "HelixHeadlessLog",
|
|
126127
|
+
"module": "src/log/root/log-root.ts"
|
|
126128
|
+
}
|
|
126129
|
+
},
|
|
126130
|
+
{
|
|
126131
|
+
"kind": "method",
|
|
126132
|
+
"name": "reachable",
|
|
126133
|
+
"privacy": "private",
|
|
126134
|
+
"return": {
|
|
126135
|
+
"type": {
|
|
126136
|
+
"text": "number[]"
|
|
126137
|
+
}
|
|
126138
|
+
},
|
|
126139
|
+
"description": "The numbers of the lines a reader can move between, in order: what is\ndrawn from data, or the lines written as children that no query hides\nand no shut group folds away.",
|
|
126140
|
+
"inheritedFrom": {
|
|
126141
|
+
"name": "HelixHeadlessLog",
|
|
126142
|
+
"module": "src/log/root/log-root.ts"
|
|
126143
|
+
}
|
|
126144
|
+
},
|
|
126145
|
+
{
|
|
126146
|
+
"kind": "method",
|
|
126147
|
+
"name": "stopAmong",
|
|
126148
|
+
"privacy": "private",
|
|
126149
|
+
"return": {
|
|
126150
|
+
"type": {
|
|
126151
|
+
"text": "number"
|
|
126152
|
+
}
|
|
126153
|
+
},
|
|
126154
|
+
"parameters": [
|
|
126155
|
+
{
|
|
126156
|
+
"name": "numbers",
|
|
126157
|
+
"type": {
|
|
126158
|
+
"text": "readonly number[]"
|
|
126159
|
+
}
|
|
126160
|
+
}
|
|
126161
|
+
],
|
|
126162
|
+
"description": "The number that is the tab stop among `numbers`: the one a reader last\nmoved to, else the first selected, else the first.",
|
|
126163
|
+
"inheritedFrom": {
|
|
126164
|
+
"name": "HelixHeadlessLog",
|
|
126165
|
+
"module": "src/log/root/log-root.ts"
|
|
126166
|
+
}
|
|
126167
|
+
},
|
|
126168
|
+
{
|
|
126169
|
+
"kind": "method",
|
|
126170
|
+
"name": "focusLine",
|
|
126171
|
+
"privacy": "private",
|
|
126172
|
+
"return": {
|
|
126173
|
+
"type": {
|
|
126174
|
+
"text": "Promise<void>"
|
|
126175
|
+
}
|
|
126176
|
+
},
|
|
126177
|
+
"parameters": [
|
|
126178
|
+
{
|
|
126179
|
+
"name": "number",
|
|
126180
|
+
"type": {
|
|
126181
|
+
"text": "number"
|
|
126182
|
+
}
|
|
126183
|
+
}
|
|
126184
|
+
],
|
|
126185
|
+
"description": "Moves focus to line `number`'s number, drawing it first where it is windowed.",
|
|
126186
|
+
"inheritedFrom": {
|
|
126187
|
+
"name": "HelixHeadlessLog",
|
|
126188
|
+
"module": "src/log/root/log-root.ts"
|
|
126189
|
+
}
|
|
126190
|
+
},
|
|
126191
|
+
{
|
|
126192
|
+
"kind": "method",
|
|
126193
|
+
"name": "numberFrom",
|
|
126194
|
+
"privacy": "private",
|
|
126195
|
+
"return": {
|
|
126196
|
+
"type": {
|
|
126197
|
+
"text": "number | undefined"
|
|
126198
|
+
}
|
|
126199
|
+
},
|
|
126200
|
+
"parameters": [
|
|
126201
|
+
{
|
|
126202
|
+
"name": "path",
|
|
126203
|
+
"type": {
|
|
126204
|
+
"text": "readonly EventTarget[]"
|
|
126205
|
+
}
|
|
126206
|
+
}
|
|
126207
|
+
],
|
|
126208
|
+
"description": "The line a number belongs to, out of an event's path, and its number.",
|
|
126209
|
+
"inheritedFrom": {
|
|
126210
|
+
"name": "HelixHeadlessLog",
|
|
126211
|
+
"module": "src/log/root/log-root.ts"
|
|
126212
|
+
}
|
|
126213
|
+
},
|
|
126214
|
+
{
|
|
126215
|
+
"kind": "field",
|
|
126216
|
+
"name": "handleClick",
|
|
126217
|
+
"privacy": "private",
|
|
126218
|
+
"readonly": true,
|
|
126219
|
+
"description": "A press on a number selects its line, or with Shift every line from the\nlast one pressed. A link's own navigation is held back while it selects,\nsince the selection writes the address itself.",
|
|
126220
|
+
"inheritedFrom": {
|
|
126221
|
+
"name": "HelixHeadlessLog",
|
|
126222
|
+
"module": "src/log/root/log-root.ts"
|
|
126223
|
+
}
|
|
126224
|
+
},
|
|
126225
|
+
{
|
|
126226
|
+
"kind": "field",
|
|
126227
|
+
"name": "handleNumberKey",
|
|
126228
|
+
"privacy": "private",
|
|
126229
|
+
"readonly": true,
|
|
126230
|
+
"description": "The arrow keys move between numbers, and Home and End go to the first and\nthe last, from a number with focus. With Shift on a `selectable` log, the\nselection follows.",
|
|
126231
|
+
"inheritedFrom": {
|
|
126232
|
+
"name": "HelixHeadlessLog",
|
|
126233
|
+
"module": "src/log/root/log-root.ts"
|
|
126234
|
+
}
|
|
126235
|
+
},
|
|
125850
126236
|
{
|
|
125851
126237
|
"kind": "method",
|
|
125852
126238
|
"name": "isOpen",
|
|
@@ -126138,6 +126524,12 @@
|
|
|
126138
126524
|
"type": {
|
|
126139
126525
|
"text": "number | undefined"
|
|
126140
126526
|
}
|
|
126527
|
+
},
|
|
126528
|
+
{
|
|
126529
|
+
"name": "stop",
|
|
126530
|
+
"type": {
|
|
126531
|
+
"text": "number"
|
|
126532
|
+
}
|
|
126141
126533
|
}
|
|
126142
126534
|
],
|
|
126143
126535
|
"description": "One row drawn from data: a line, or a group's heading.",
|
|
@@ -126552,12 +126944,20 @@
|
|
|
126552
126944
|
"description": "A search field in the toolbar that shows only the lines holding what you type, and marks each match.",
|
|
126553
126945
|
"slug": "search"
|
|
126554
126946
|
},
|
|
126947
|
+
{
|
|
126948
|
+
"description": "Lines selected by pressing their numbers, a range with Shift, with the address following the selection.",
|
|
126949
|
+
"slug": "selecting"
|
|
126950
|
+
},
|
|
126555
126951
|
{
|
|
126556
126952
|
"description": "Each line's time into the run, numbers that link to their line, and two lines marked.",
|
|
126557
126953
|
"slug": "timestamps"
|
|
126558
126954
|
},
|
|
126559
126955
|
{
|
|
126560
|
-
"description": "A
|
|
126956
|
+
"description": "A Vercel build log read with its own format: each phase a step, timed from its lines, with its warnings drawn apart.",
|
|
126957
|
+
"slug": "vercel"
|
|
126958
|
+
},
|
|
126959
|
+
{
|
|
126960
|
+
"description": "A CI run written to the log as it arrives, with its colors, a progress bar that stays one line, and its steps read off GitHub's markers.",
|
|
126561
126961
|
"slug": "written"
|
|
126562
126962
|
}
|
|
126563
126963
|
],
|
|
@@ -126682,6 +127082,18 @@
|
|
|
126682
127082
|
"module": "src/log/root/log-root.ts"
|
|
126683
127083
|
}
|
|
126684
127084
|
},
|
|
127085
|
+
{
|
|
127086
|
+
"name": "format",
|
|
127087
|
+
"type": {
|
|
127088
|
+
"text": "'github-actions' | 'vercel' | undefined"
|
|
127089
|
+
},
|
|
127090
|
+
"description": "The format written text is in, read with a parser Helix ships:\n`github-actions` reads a GitHub Actions log's workflow commands into steps\nand levels, and `vercel` a Vercel build log's phases and warnings. Absent\nreads none. `parse` wins over it.",
|
|
127091
|
+
"fieldName": "format",
|
|
127092
|
+
"inheritedFrom": {
|
|
127093
|
+
"name": "HelixHeadlessLog",
|
|
127094
|
+
"module": "src/log/root/log-root.ts"
|
|
127095
|
+
}
|
|
127096
|
+
},
|
|
126685
127097
|
{
|
|
126686
127098
|
"name": "group-label",
|
|
126687
127099
|
"type": {
|
|
@@ -126824,6 +127236,32 @@
|
|
|
126824
127236
|
"module": "src/log/root/log-root.ts"
|
|
126825
127237
|
}
|
|
126826
127238
|
},
|
|
127239
|
+
{
|
|
127240
|
+
"name": "selectable",
|
|
127241
|
+
"type": {
|
|
127242
|
+
"text": "boolean"
|
|
127243
|
+
},
|
|
127244
|
+
"default": "false",
|
|
127245
|
+
"description": "Whether pressing a line's number selects the line, and pressing another\nwith Shift selects every line between them. Each number is then a\nbutton, or a link with `line-href`, and the arrow keys move between them.",
|
|
127246
|
+
"fieldName": "selectable",
|
|
127247
|
+
"inheritedFrom": {
|
|
127248
|
+
"name": "HelixHeadlessLog",
|
|
127249
|
+
"module": "src/log/root/log-root.ts"
|
|
127250
|
+
}
|
|
127251
|
+
},
|
|
127252
|
+
{
|
|
127253
|
+
"name": "selected-lines",
|
|
127254
|
+
"type": {
|
|
127255
|
+
"text": "string"
|
|
127256
|
+
},
|
|
127257
|
+
"default": "''",
|
|
127258
|
+
"description": "The lines selected, as a number or a range such as `12-20`. Empty selects\nnone. A reader's press asks first: `helix-select` is cancelable.",
|
|
127259
|
+
"fieldName": "selectedLines",
|
|
127260
|
+
"inheritedFrom": {
|
|
127261
|
+
"name": "HelixHeadlessLog",
|
|
127262
|
+
"module": "src/log/root/log-root.ts"
|
|
127263
|
+
}
|
|
127264
|
+
},
|
|
126827
127265
|
{
|
|
126828
127266
|
"name": "threshold",
|
|
126829
127267
|
"type": {
|
|
@@ -127106,6 +127544,14 @@
|
|
|
127106
127544
|
"module": "src/log/root/log-root.ts"
|
|
127107
127545
|
}
|
|
127108
127546
|
},
|
|
127547
|
+
{
|
|
127548
|
+
"description": "The row of a line drawn from data that is selected.",
|
|
127549
|
+
"name": "line-selected",
|
|
127550
|
+
"inheritedFrom": {
|
|
127551
|
+
"name": "HelixHeadlessLog",
|
|
127552
|
+
"module": "src/log/root/log-root.ts"
|
|
127553
|
+
}
|
|
127554
|
+
},
|
|
127109
127555
|
{
|
|
127110
127556
|
"description": "The text of a line drawn from data.",
|
|
127111
127557
|
"name": "line-text",
|
|
@@ -127212,7 +127658,7 @@
|
|
|
127212
127658
|
"type": {
|
|
127213
127659
|
"text": "HelixExpandEvent"
|
|
127214
127660
|
},
|
|
127215
|
-
"description": "Fired after a reader opens or closes a
|
|
127661
|
+
"description": "Fired after a reader opens or closes a step drawn from `groups` or opened by a parser, with the `id` of every open group in `detail.value`, separated by commas.",
|
|
127216
127662
|
"name": "helix-expand",
|
|
127217
127663
|
"reactProp": "onhelix-expand",
|
|
127218
127664
|
"inheritedFrom": {
|
|
@@ -127231,6 +127677,30 @@
|
|
|
127231
127677
|
"name": "HelixHeadlessLog",
|
|
127232
127678
|
"module": "src/log/root/log-root.ts"
|
|
127233
127679
|
}
|
|
127680
|
+
},
|
|
127681
|
+
{
|
|
127682
|
+
"type": {
|
|
127683
|
+
"text": "HelixSelectEvent"
|
|
127684
|
+
},
|
|
127685
|
+
"description": "Fired when a reader presses a number to change the selection, with the lines asked for in `detail.value`. Cancelable.",
|
|
127686
|
+
"name": "helix-select",
|
|
127687
|
+
"reactProp": "onhelix-select",
|
|
127688
|
+
"inheritedFrom": {
|
|
127689
|
+
"name": "HelixHeadlessLog",
|
|
127690
|
+
"module": "src/log/root/log-root.ts"
|
|
127691
|
+
}
|
|
127692
|
+
},
|
|
127693
|
+
{
|
|
127694
|
+
"type": {
|
|
127695
|
+
"text": "HelixSelectedEvent"
|
|
127696
|
+
},
|
|
127697
|
+
"description": "Fired after the selection changes, with the lines now selected in `detail.value`, such as `12-20`.",
|
|
127698
|
+
"name": "helix-selected",
|
|
127699
|
+
"reactProp": "onhelix-selected",
|
|
127700
|
+
"inheritedFrom": {
|
|
127701
|
+
"name": "HelixHeadlessLog",
|
|
127702
|
+
"module": "src/log/root/log-root.ts"
|
|
127703
|
+
}
|
|
127234
127704
|
}
|
|
127235
127705
|
],
|
|
127236
127706
|
"cssStates": [
|
|
@@ -272334,6 +272804,6 @@
|
|
|
272334
272804
|
],
|
|
272335
272805
|
"helix": {
|
|
272336
272806
|
"package": "@fusion.dev/helix",
|
|
272337
|
-
"version": "0.
|
|
272807
|
+
"version": "0.204.0"
|
|
272338
272808
|
}
|
|
272339
272809
|
}
|
|
@@ -173,7 +173,7 @@ registerElementEvents({
|
|
|
173
173
|
'helix-reorder',
|
|
174
174
|
'input',
|
|
175
175
|
],
|
|
176
|
-
'helix-log': ['helix-before-pin', 'helix-expand', 'helix-pin'],
|
|
176
|
+
'helix-log': ['helix-before-pin', 'helix-expand', 'helix-pin', 'helix-select', 'helix-selected'],
|
|
177
177
|
'helix-log-group': ['helix-before-close', 'helix-before-open', 'toggle'],
|
|
178
178
|
'helix-map': [
|
|
179
179
|
'change',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {display: block}[part~="line"] {column-gap: var(--helix-space-md);display: flex;inline-size: var(--_log-line-size, max-content);min-inline-size: 100%;padding-inline: var(--log-padding-inline, var(--helix-space-md))}[part~="line"]:hover {background-color: color-mix(in oklab, var(--helix-color-foreground) 4%, transparent)}[part="number"] {color: var(--helix-color-foreground-muted);flex: none;font-variant-numeric: tabular-nums;min-inline-size: max(var(--helix-size-icon-sm), calc(var(--log-digits, 2) * 1ch));text-align: end;text-decoration: none;user-select: none}a[part="number"]:hover {color: var(--helix-color-foreground);text-decoration: underline}a[part="number"]:focus-visible {border-radius: var(--helix-radii-sm);outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: calc(var(--helix-size-focus-offset) * -1)}[part="time"] {color: var(--helix-color-foreground-muted);flex: none;font-variant-numeric: tabular-nums;user-select: none}[part="text"] {flex: 1 1 auto;min-inline-size: 0;overflow-wrap: anywhere;white-space: var(--_log-white-space, pre)}[part~="line-debug"] {color: var(--helix-color-foreground-subtle)}[part~="line-warn"] {background-color: color-mix(in oklab, var(--log-warn-color, var(--helix-color-warning)) 10%, transparent);color: var(--log-warn-color, var(--helix-color-warning))}[part~="line-error"] {background-color: color-mix(in oklab, var(--log-error-color, var(--helix-color-danger)) 10%, transparent);color: var(--log-error-color, var(--helix-color-danger))}[part~="line-marked"] {background-color: var(--log-mark-background-color, color-mix(in oklab, var(--helix-color-primary) 12%, transparent))}[part~="run"] {background-color: var(--log-run-background-color, transparent);color: var(--log-run-color, inherit)}[part~="run-bold"] {font-weight: var(--helix-weight-semibold)}[part~="run-dim"] {opacity: 0.7}[part~="run-italic"] {font-style: italic}[part~="run-underline"] {text-decoration-line: underline}[part~="run-strike"] {text-decoration-line: line-through}[part~="run-underline"][part~="run-strike"] {text-decoration-line: underline line-through}[part="match"] {background-color: var(--log-match-background-color, var(--helix-color-warning-surface));border-radius: var(--helix-radii-sm);color: inherit}@media print {[part~="line"] {print-color-adjust: exact}}`);
|
|
2
|
+
export const styles = createSheet(`:host {display: block}[part~="line"] {column-gap: var(--helix-space-md);display: flex;inline-size: var(--_log-line-size, max-content);min-inline-size: 100%;padding-inline: var(--log-padding-inline, var(--helix-space-md))}[part~="line"]:hover {background-color: color-mix(in oklab, var(--helix-color-foreground) 4%, transparent)}:where(button[part="number"]) {all: unset;box-sizing: border-box}[part="number"] {color: var(--helix-color-foreground-muted);flex: none;font-variant-numeric: tabular-nums;min-inline-size: max(var(--helix-size-icon-sm), calc(var(--log-digits, 2) * 1ch));text-align: end;text-decoration: none;user-select: none}a[part="number"]:hover, button[part="number"]:hover {color: var(--helix-color-foreground);cursor: pointer}a[part="number"]:hover {text-decoration: underline}a[part="number"]:focus-visible, button[part="number"]:focus-visible {border-radius: var(--helix-radii-sm);outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: calc(var(--helix-size-focus-offset) * -1)}[part="time"] {color: var(--helix-color-foreground-muted);flex: none;font-variant-numeric: tabular-nums;user-select: none}[part="text"] {flex: 1 1 auto;min-inline-size: 0;overflow-wrap: anywhere;white-space: var(--_log-white-space, pre)}[part~="line-debug"] {color: var(--helix-color-foreground-subtle)}[part~="line-warn"] {background-color: color-mix(in oklab, var(--log-warn-color, var(--helix-color-warning)) 10%, transparent);color: var(--log-warn-color, var(--helix-color-warning))}[part~="line-error"] {background-color: color-mix(in oklab, var(--log-error-color, var(--helix-color-danger)) 10%, transparent);color: var(--log-error-color, var(--helix-color-danger))}[part~="line-marked"] {background-color: var(--log-mark-background-color, color-mix(in oklab, var(--helix-color-primary) 12%, transparent))}[part~="line-selected"] {background-color: var(--log-selected-background-color, color-mix(in oklab, var(--helix-color-info) 14%, transparent))}[part~="line-selected"] > [part="number"] {color: var(--helix-color-foreground)}[part~="run"] {background-color: var(--log-run-background-color, transparent);color: var(--log-run-color, inherit)}[part~="run-bold"] {font-weight: var(--helix-weight-semibold)}[part~="run-dim"] {opacity: 0.7}[part~="run-italic"] {font-style: italic}[part~="run-underline"] {text-decoration-line: underline}[part~="run-strike"] {text-decoration-line: line-through}[part~="run-underline"][part~="run-strike"] {text-decoration-line: underline line-through}[part="match"] {background-color: var(--log-match-background-color, var(--helix-color-warning-surface));border-radius: var(--helix-radii-sm);color: inherit}@media print {[part~="line"] {print-color-adjust: exact}}`);
|
|
@@ -15,6 +15,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
15
15
|
* @cssproperty --log-error-color - The color of a line at `error`, and of the band behind it. Defaults to the danger color.
|
|
16
16
|
* @cssproperty --log-mark-background-color - The band behind a line `mark-lines` names.
|
|
17
17
|
* @cssproperty --log-match-background-color - The fill behind text that matches the log's `query`.
|
|
18
|
+
* @cssproperty --log-selected-background-color - The band behind a selected line, on a `selectable` log.
|
|
18
19
|
* @cssproperty --log-warn-color - The color of a line at `warn`, and of the band behind it. Defaults to the warning color.
|
|
19
20
|
*/
|
|
20
21
|
export declare class HelixLogLine extends HelixHeadlessLogLine {
|