@f-ewald/components 1.40.2 → 1.41.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/README.md +11 -3
- package/custom-elements.json +788 -97
- package/dist/app-shell.js +1 -1
- package/dist/app-shell.js.map +1 -1
- package/dist/blink-cursor.d.ts +27 -0
- package/dist/blink-cursor.d.ts.map +1 -0
- package/dist/blink-cursor.js +78 -0
- package/dist/blink-cursor.js.map +1 -0
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.js +3 -0
- package/dist/button-group.js.map +1 -1
- package/dist/calendar-day.d.ts.map +1 -1
- package/dist/calendar-day.js +5 -0
- package/dist/calendar-day.js.map +1 -1
- package/dist/calendar-week.d.ts.map +1 -1
- package/dist/calendar-week.js +5 -0
- package/dist/calendar-week.js.map +1 -1
- package/dist/code-diff.d.ts +41 -0
- package/dist/code-diff.d.ts.map +1 -0
- package/dist/code-diff.js +161 -0
- package/dist/code-diff.js.map +1 -0
- package/dist/comment-label.d.ts +26 -0
- package/dist/comment-label.d.ts.map +1 -0
- package/dist/comment-label.js +81 -0
- package/dist/comment-label.js.map +1 -0
- package/dist/confirm-dialog.d.ts +12 -6
- package/dist/confirm-dialog.d.ts.map +1 -1
- package/dist/confirm-dialog.js +50 -88
- package/dist/confirm-dialog.js.map +1 -1
- package/dist/frame-box.d.ts.map +1 -1
- package/dist/frame-box.js +4 -0
- package/dist/frame-box.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.js +1 -1
- package/dist/mcp-server.js.map +1 -1
- package/dist/modal-dialog.d.ts +16 -13
- package/dist/modal-dialog.d.ts.map +1 -1
- package/dist/modal-dialog.js +69 -104
- package/dist/modal-dialog.js.map +1 -1
- package/dist/photo-gallery.js +1 -1
- package/dist/photo-gallery.js.map +1 -1
- package/dist/price-history-chart.js +1 -1
- package/dist/price-history-chart.js.map +1 -1
- package/dist/progress-bar.d.ts.map +1 -1
- package/dist/progress-bar.js +23 -17
- package/dist/progress-bar.js.map +1 -1
- package/dist/radio-pills.d.ts.map +1 -1
- package/dist/radio-pills.js +3 -0
- package/dist/radio-pills.js.map +1 -1
- package/dist/slide-panel.d.ts +3 -3
- package/dist/slide-panel.d.ts.map +1 -1
- package/dist/slide-panel.js +38 -22
- package/dist/slide-panel.js.map +1 -1
- package/dist/stat-strip.d.ts +30 -0
- package/dist/stat-strip.d.ts.map +1 -0
- package/dist/stat-strip.js +111 -0
- package/dist/stat-strip.js.map +1 -0
- package/dist/step-ladder.d.ts +46 -0
- package/dist/step-ladder.d.ts.map +1 -0
- package/dist/step-ladder.js +175 -0
- package/dist/step-ladder.js.map +1 -0
- package/dist/terminal-block.d.ts +45 -0
- package/dist/terminal-block.d.ts.map +1 -0
- package/dist/terminal-block.js +113 -0
- package/dist/terminal-block.js.map +1 -0
- package/dist/tile-grid.d.ts.map +1 -1
- package/dist/tile-grid.js +3 -0
- package/dist/tile-grid.js.map +1 -1
- package/dist/toast-notification.d.ts +7 -0
- package/dist/toast-notification.d.ts.map +1 -1
- package/dist/toast-notification.js +34 -0
- package/dist/toast-notification.js.map +1 -1
- package/dist/tokens.css +60 -1
- package/dist/tokens.d.ts +58 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +135 -0
- package/dist/tokens.js.map +1 -1
- package/dist/ui-button.js +2 -2
- package/dist/ui-button.js.map +1 -1
- package/dist/window-chrome.d.ts +34 -0
- package/dist/window-chrome.d.ts.map +1 -0
- package/dist/window-chrome.js +141 -0
- package/dist/window-chrome.js.map +1 -0
- package/docs/app-shell.md +1 -1
- package/docs/blink-cursor.md +45 -0
- package/docs/code-diff.md +64 -0
- package/docs/comment-label.md +49 -0
- package/docs/confirm-dialog.md +4 -3
- package/docs/design-language.md +80 -28
- package/docs/layouts/marketing-landing.md +102 -0
- package/docs/modal-dialog.md +9 -9
- package/docs/photo-gallery.md +1 -1
- package/docs/price-history-chart.md +1 -0
- package/docs/radio-pills.md +1 -0
- package/docs/slide-panel.md +2 -2
- package/docs/stat-strip.md +57 -0
- package/docs/step-ladder.md +63 -0
- package/docs/terminal-block.md +69 -0
- package/docs/tile-grid.md +1 -0
- package/docs/ui-button.md +2 -0
- package/docs/window-chrome.md +64 -0
- package/llms.txt +227 -20
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -2554,6 +2554,64 @@
|
|
|
2554
2554
|
}
|
|
2555
2555
|
]
|
|
2556
2556
|
},
|
|
2557
|
+
{
|
|
2558
|
+
"kind": "javascript-module",
|
|
2559
|
+
"path": "src/blink-cursor.ts",
|
|
2560
|
+
"declarations": [
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "class",
|
|
2563
|
+
"description": "A small inline blinking cursor glyph for terminal- or editor-styled\nheadings, prompts, and status lines. It renders its own decorative\ncharacter so consumers can append it directly to adjacent text while\ninheriting the surrounding typography.\n\nThe cursor uses the shared `--ui-primary` accent color so it reads as an\nactive insertion point across themes. Change `char` to swap the glyph (for\nexample `|` or `▋`). Under `prefers-reduced-motion` the blink stops and the\ncursor remains visible.",
|
|
2564
|
+
"name": "BlinkCursor",
|
|
2565
|
+
"members": [
|
|
2566
|
+
{
|
|
2567
|
+
"kind": "field",
|
|
2568
|
+
"name": "char",
|
|
2569
|
+
"type": {
|
|
2570
|
+
"text": "string"
|
|
2571
|
+
},
|
|
2572
|
+
"default": "\"▋\"",
|
|
2573
|
+
"description": "Character shown for the cursor; any single character or short string such as `|` or `▋` works.",
|
|
2574
|
+
"attribute": "char"
|
|
2575
|
+
}
|
|
2576
|
+
],
|
|
2577
|
+
"attributes": [
|
|
2578
|
+
{
|
|
2579
|
+
"name": "char",
|
|
2580
|
+
"type": {
|
|
2581
|
+
"text": "string"
|
|
2582
|
+
},
|
|
2583
|
+
"default": "\"▋\"",
|
|
2584
|
+
"description": "Character shown for the cursor; any single character or short string such as `|` or `▋` works.",
|
|
2585
|
+
"fieldName": "char"
|
|
2586
|
+
}
|
|
2587
|
+
],
|
|
2588
|
+
"superclass": {
|
|
2589
|
+
"name": "LitElement",
|
|
2590
|
+
"package": "lit"
|
|
2591
|
+
},
|
|
2592
|
+
"tagName": "blink-cursor",
|
|
2593
|
+
"customElement": true
|
|
2594
|
+
}
|
|
2595
|
+
],
|
|
2596
|
+
"exports": [
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "js",
|
|
2599
|
+
"name": "BlinkCursor",
|
|
2600
|
+
"declaration": {
|
|
2601
|
+
"name": "BlinkCursor",
|
|
2602
|
+
"module": "src/blink-cursor.ts"
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "custom-element-definition",
|
|
2607
|
+
"name": "blink-cursor",
|
|
2608
|
+
"declaration": {
|
|
2609
|
+
"name": "BlinkCursor",
|
|
2610
|
+
"module": "src/blink-cursor.ts"
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
]
|
|
2614
|
+
},
|
|
2557
2615
|
{
|
|
2558
2616
|
"kind": "javascript-module",
|
|
2559
2617
|
"path": "src/breadcrumb-nav.ts",
|
|
@@ -4821,6 +4879,102 @@
|
|
|
4821
4879
|
}
|
|
4822
4880
|
]
|
|
4823
4881
|
},
|
|
4882
|
+
{
|
|
4883
|
+
"kind": "javascript-module",
|
|
4884
|
+
"path": "src/code-diff.ts",
|
|
4885
|
+
"declarations": [
|
|
4886
|
+
{
|
|
4887
|
+
"kind": "class",
|
|
4888
|
+
"description": "A compact, read-only code diff viewer: a bordered panel with a header bar\nfor `filename` and `stat`, followed by a numbered `<pre>` listing of\n`lines`. Each CodeDiffLine renders as `\"add\"`, `\"del\"`, or\n`\"context\"` with fixed `\"+ \"` / `\"- \"` / `\" \"` prefixes so the diff\nremains understandable even when color is unavailable.\n\nAdded and removed rows reuse `--ui-success` / `--ui-danger` for their text\nand low-alpha background washes, while the shell itself reuses\n`--ui-font-mono`, `--ui-border`, and `--ui-surface`. The caller owns the\ndata shape entirely: `filename` and `stat` are passed through verbatim, and\n`lines` is a flat ordered array of `{ type, text }` objects.",
|
|
4889
|
+
"name": "CodeDiff",
|
|
4890
|
+
"members": [
|
|
4891
|
+
{
|
|
4892
|
+
"kind": "field",
|
|
4893
|
+
"name": "filename",
|
|
4894
|
+
"type": {
|
|
4895
|
+
"text": "string"
|
|
4896
|
+
},
|
|
4897
|
+
"default": "\"\"",
|
|
4898
|
+
"description": "The filename shown in the header bar's left side.",
|
|
4899
|
+
"attribute": "filename"
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
"kind": "field",
|
|
4903
|
+
"name": "stat",
|
|
4904
|
+
"type": {
|
|
4905
|
+
"text": "string"
|
|
4906
|
+
},
|
|
4907
|
+
"default": "\"\"",
|
|
4908
|
+
"description": "The caller-supplied stat summary shown in the header bar's right side.",
|
|
4909
|
+
"attribute": "stat"
|
|
4910
|
+
},
|
|
4911
|
+
{
|
|
4912
|
+
"kind": "field",
|
|
4913
|
+
"name": "lines",
|
|
4914
|
+
"type": {
|
|
4915
|
+
"text": "CodeDiffLine[]"
|
|
4916
|
+
},
|
|
4917
|
+
"default": "[]",
|
|
4918
|
+
"description": "Ordered diff lines, each rendered with its type-driven prefix and styling.",
|
|
4919
|
+
"attribute": "lines"
|
|
4920
|
+
}
|
|
4921
|
+
],
|
|
4922
|
+
"attributes": [
|
|
4923
|
+
{
|
|
4924
|
+
"name": "filename",
|
|
4925
|
+
"type": {
|
|
4926
|
+
"text": "string"
|
|
4927
|
+
},
|
|
4928
|
+
"default": "\"\"",
|
|
4929
|
+
"description": "The filename shown in the header bar's left side.",
|
|
4930
|
+
"fieldName": "filename"
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"name": "stat",
|
|
4934
|
+
"type": {
|
|
4935
|
+
"text": "string"
|
|
4936
|
+
},
|
|
4937
|
+
"default": "\"\"",
|
|
4938
|
+
"description": "The caller-supplied stat summary shown in the header bar's right side.",
|
|
4939
|
+
"fieldName": "stat"
|
|
4940
|
+
},
|
|
4941
|
+
{
|
|
4942
|
+
"name": "lines",
|
|
4943
|
+
"type": {
|
|
4944
|
+
"text": "CodeDiffLine[]"
|
|
4945
|
+
},
|
|
4946
|
+
"default": "[]",
|
|
4947
|
+
"description": "Ordered diff lines, each rendered with its type-driven prefix and styling.",
|
|
4948
|
+
"fieldName": "lines"
|
|
4949
|
+
}
|
|
4950
|
+
],
|
|
4951
|
+
"superclass": {
|
|
4952
|
+
"name": "LitElement",
|
|
4953
|
+
"package": "lit"
|
|
4954
|
+
},
|
|
4955
|
+
"tagName": "code-diff",
|
|
4956
|
+
"customElement": true
|
|
4957
|
+
}
|
|
4958
|
+
],
|
|
4959
|
+
"exports": [
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "js",
|
|
4962
|
+
"name": "CodeDiff",
|
|
4963
|
+
"declaration": {
|
|
4964
|
+
"name": "CodeDiff",
|
|
4965
|
+
"module": "src/code-diff.ts"
|
|
4966
|
+
}
|
|
4967
|
+
},
|
|
4968
|
+
{
|
|
4969
|
+
"kind": "custom-element-definition",
|
|
4970
|
+
"name": "code-diff",
|
|
4971
|
+
"declaration": {
|
|
4972
|
+
"name": "CodeDiff",
|
|
4973
|
+
"module": "src/code-diff.ts"
|
|
4974
|
+
}
|
|
4975
|
+
}
|
|
4976
|
+
]
|
|
4977
|
+
},
|
|
4824
4978
|
{
|
|
4825
4979
|
"kind": "javascript-module",
|
|
4826
4980
|
"path": "src/comment-composer.ts",
|
|
@@ -5120,13 +5274,97 @@
|
|
|
5120
5274
|
}
|
|
5121
5275
|
]
|
|
5122
5276
|
},
|
|
5277
|
+
{
|
|
5278
|
+
"kind": "javascript-module",
|
|
5279
|
+
"path": "src/comment-label.ts",
|
|
5280
|
+
"declarations": [
|
|
5281
|
+
{
|
|
5282
|
+
"kind": "class",
|
|
5283
|
+
"description": "A code-comment-style eyebrow line for section chrome in terminal- or\neditor-themed pages. It renders a colored comment marker (`##` by default)\nbefore muted slotted text, so `<comment-label>the_whole_idea</comment-label>`\nreads like a short section kicker. Set `prefix=\"//\"` and `italic` for a\nclosing or footer quote line that keeps the marker upright while the message\nitself turns italic.",
|
|
5284
|
+
"name": "CommentLabel",
|
|
5285
|
+
"slots": [
|
|
5286
|
+
{
|
|
5287
|
+
"description": "The label text, such as a section eyebrow or a longer closing quote.",
|
|
5288
|
+
"name": ""
|
|
5289
|
+
}
|
|
5290
|
+
],
|
|
5291
|
+
"members": [
|
|
5292
|
+
{
|
|
5293
|
+
"kind": "field",
|
|
5294
|
+
"name": "prefix",
|
|
5295
|
+
"type": {
|
|
5296
|
+
"text": "string"
|
|
5297
|
+
},
|
|
5298
|
+
"default": "\"##\"",
|
|
5299
|
+
"description": "Comment marker rendered before the slotted label text.",
|
|
5300
|
+
"attribute": "prefix"
|
|
5301
|
+
},
|
|
5302
|
+
{
|
|
5303
|
+
"kind": "field",
|
|
5304
|
+
"name": "italic",
|
|
5305
|
+
"type": {
|
|
5306
|
+
"text": "boolean"
|
|
5307
|
+
},
|
|
5308
|
+
"default": "false",
|
|
5309
|
+
"description": "Renders the slotted label text in italics while leaving the prefix upright.",
|
|
5310
|
+
"attribute": "italic",
|
|
5311
|
+
"reflects": true
|
|
5312
|
+
}
|
|
5313
|
+
],
|
|
5314
|
+
"attributes": [
|
|
5315
|
+
{
|
|
5316
|
+
"name": "prefix",
|
|
5317
|
+
"type": {
|
|
5318
|
+
"text": "string"
|
|
5319
|
+
},
|
|
5320
|
+
"default": "\"##\"",
|
|
5321
|
+
"description": "Comment marker rendered before the slotted label text.",
|
|
5322
|
+
"fieldName": "prefix"
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
"name": "italic",
|
|
5326
|
+
"type": {
|
|
5327
|
+
"text": "boolean"
|
|
5328
|
+
},
|
|
5329
|
+
"default": "false",
|
|
5330
|
+
"description": "Renders the slotted label text in italics while leaving the prefix upright.",
|
|
5331
|
+
"fieldName": "italic"
|
|
5332
|
+
}
|
|
5333
|
+
],
|
|
5334
|
+
"superclass": {
|
|
5335
|
+
"name": "LitElement",
|
|
5336
|
+
"package": "lit"
|
|
5337
|
+
},
|
|
5338
|
+
"tagName": "comment-label",
|
|
5339
|
+
"customElement": true
|
|
5340
|
+
}
|
|
5341
|
+
],
|
|
5342
|
+
"exports": [
|
|
5343
|
+
{
|
|
5344
|
+
"kind": "js",
|
|
5345
|
+
"name": "CommentLabel",
|
|
5346
|
+
"declaration": {
|
|
5347
|
+
"name": "CommentLabel",
|
|
5348
|
+
"module": "src/comment-label.ts"
|
|
5349
|
+
}
|
|
5350
|
+
},
|
|
5351
|
+
{
|
|
5352
|
+
"kind": "custom-element-definition",
|
|
5353
|
+
"name": "comment-label",
|
|
5354
|
+
"declaration": {
|
|
5355
|
+
"name": "CommentLabel",
|
|
5356
|
+
"module": "src/comment-label.ts"
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
]
|
|
5360
|
+
},
|
|
5123
5361
|
{
|
|
5124
5362
|
"kind": "javascript-module",
|
|
5125
5363
|
"path": "src/confirm-dialog.ts",
|
|
5126
5364
|
"declarations": [
|
|
5127
5365
|
{
|
|
5128
5366
|
"kind": "class",
|
|
5129
|
-
"description": "Reusable confirmation dialog:
|
|
5367
|
+
"description": "Reusable confirmation dialog: a native modal `<dialog>` (top layer, inert\npage behind it, built-in focus containment) with a slotted body, an\noptional error line, and Cancel/Confirm actions. Instant open/close (no\ntransitions). Fires `confirm`/`cancel`\n(bubbling, composed) instead of owning any deletion logic itself —\ncallers stay in charge of the request. Set `size=\"sm\"` for compact\nactions one step below the default, matching `ui-button`'s `sm` size.",
|
|
5130
5368
|
"name": "ConfirmDialog",
|
|
5131
5369
|
"members": [
|
|
5132
5370
|
{
|
|
@@ -5202,12 +5440,11 @@
|
|
|
5202
5440
|
},
|
|
5203
5441
|
{
|
|
5204
5442
|
"kind": "field",
|
|
5205
|
-
"name": "
|
|
5443
|
+
"name": "_dialog",
|
|
5206
5444
|
"type": {
|
|
5207
|
-
"text": "
|
|
5445
|
+
"text": "HTMLDialogElement"
|
|
5208
5446
|
},
|
|
5209
|
-
"privacy": "private"
|
|
5210
|
-
"default": "null"
|
|
5447
|
+
"privacy": "private"
|
|
5211
5448
|
},
|
|
5212
5449
|
{
|
|
5213
5450
|
"kind": "method",
|
|
@@ -5219,16 +5456,6 @@
|
|
|
5219
5456
|
"name": "_cancel",
|
|
5220
5457
|
"privacy": "private"
|
|
5221
5458
|
},
|
|
5222
|
-
{
|
|
5223
|
-
"kind": "method",
|
|
5224
|
-
"name": "_getFocusableElements",
|
|
5225
|
-
"privacy": "private",
|
|
5226
|
-
"return": {
|
|
5227
|
-
"type": {
|
|
5228
|
-
"text": "HTMLElement[]"
|
|
5229
|
-
}
|
|
5230
|
-
}
|
|
5231
|
-
},
|
|
5232
5459
|
{
|
|
5233
5460
|
"kind": "method",
|
|
5234
5461
|
"name": "_focusInitial",
|
|
@@ -5237,17 +5464,20 @@
|
|
|
5237
5464
|
"type": {
|
|
5238
5465
|
"text": "void"
|
|
5239
5466
|
}
|
|
5240
|
-
}
|
|
5467
|
+
},
|
|
5468
|
+
"description": "Native focus delegation doesn't reliably reach slotted light-DOM content, so focus explicitly."
|
|
5241
5469
|
},
|
|
5242
5470
|
{
|
|
5243
5471
|
"kind": "field",
|
|
5244
|
-
"name": "
|
|
5245
|
-
"privacy": "private"
|
|
5472
|
+
"name": "_onWindowKeydown",
|
|
5473
|
+
"privacy": "private",
|
|
5474
|
+
"description": "Escape goes to the topmost layer only; it's ignored while a request is in flight."
|
|
5246
5475
|
},
|
|
5247
5476
|
{
|
|
5248
5477
|
"kind": "field",
|
|
5249
|
-
"name": "
|
|
5250
|
-
"privacy": "private"
|
|
5478
|
+
"name": "_onNativeCancel",
|
|
5479
|
+
"privacy": "private",
|
|
5480
|
+
"description": "Native close requests (e.g. a back gesture) are routed through `cancel`; the consumer owns `open`.\nNamed `_onNativeCancel` because this component also fires its own bubbling `cancel` CustomEvent."
|
|
5251
5481
|
}
|
|
5252
5482
|
],
|
|
5253
5483
|
"events": [
|
|
@@ -11747,6 +11977,22 @@
|
|
|
11747
11977
|
"module": "./tokens.js"
|
|
11748
11978
|
}
|
|
11749
11979
|
},
|
|
11980
|
+
{
|
|
11981
|
+
"kind": "js",
|
|
11982
|
+
"name": "developerDarkTokenValues",
|
|
11983
|
+
"declaration": {
|
|
11984
|
+
"name": "developerDarkTokenValues",
|
|
11985
|
+
"module": "./tokens.js"
|
|
11986
|
+
}
|
|
11987
|
+
},
|
|
11988
|
+
{
|
|
11989
|
+
"kind": "js",
|
|
11990
|
+
"name": "developerLightTokenValues",
|
|
11991
|
+
"declaration": {
|
|
11992
|
+
"name": "developerLightTokenValues",
|
|
11993
|
+
"module": "./tokens.js"
|
|
11994
|
+
}
|
|
11995
|
+
},
|
|
11750
11996
|
{
|
|
11751
11997
|
"kind": "js",
|
|
11752
11998
|
"name": "*",
|
|
@@ -11754,56 +12000,160 @@
|
|
|
11754
12000
|
"name": "*",
|
|
11755
12001
|
"module": "src/icons.js"
|
|
11756
12002
|
}
|
|
11757
|
-
}
|
|
11758
|
-
]
|
|
11759
|
-
},
|
|
11760
|
-
{
|
|
11761
|
-
"kind": "javascript-module",
|
|
11762
|
-
"path": "src/kanban-board.ts",
|
|
11763
|
-
"declarations": [
|
|
12003
|
+
},
|
|
11764
12004
|
{
|
|
11765
|
-
"kind": "
|
|
11766
|
-
"
|
|
11767
|
-
"
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
12005
|
+
"kind": "js",
|
|
12006
|
+
"name": "BlinkCursor",
|
|
12007
|
+
"declaration": {
|
|
12008
|
+
"name": "BlinkCursor",
|
|
12009
|
+
"module": "./blink-cursor.js"
|
|
12010
|
+
}
|
|
12011
|
+
},
|
|
12012
|
+
{
|
|
12013
|
+
"kind": "js",
|
|
12014
|
+
"name": "CommentLabel",
|
|
12015
|
+
"declaration": {
|
|
12016
|
+
"name": "CommentLabel",
|
|
12017
|
+
"module": "./comment-label.js"
|
|
12018
|
+
}
|
|
12019
|
+
},
|
|
12020
|
+
{
|
|
12021
|
+
"kind": "js",
|
|
12022
|
+
"name": "StatStrip",
|
|
12023
|
+
"declaration": {
|
|
12024
|
+
"name": "StatStrip",
|
|
12025
|
+
"module": "./stat-strip.js"
|
|
12026
|
+
}
|
|
12027
|
+
},
|
|
12028
|
+
{
|
|
12029
|
+
"kind": "js",
|
|
12030
|
+
"name": "StatStripItem",
|
|
12031
|
+
"declaration": {
|
|
12032
|
+
"name": "StatStripItem",
|
|
12033
|
+
"module": "./stat-strip.js"
|
|
12034
|
+
}
|
|
12035
|
+
},
|
|
12036
|
+
{
|
|
12037
|
+
"kind": "js",
|
|
12038
|
+
"name": "StepLadder",
|
|
12039
|
+
"declaration": {
|
|
12040
|
+
"name": "StepLadder",
|
|
12041
|
+
"module": "./step-ladder.js"
|
|
12042
|
+
}
|
|
12043
|
+
},
|
|
12044
|
+
{
|
|
12045
|
+
"kind": "js",
|
|
12046
|
+
"name": "StepLadderItem",
|
|
12047
|
+
"declaration": {
|
|
12048
|
+
"name": "StepLadderItem",
|
|
12049
|
+
"module": "./step-ladder.js"
|
|
12050
|
+
}
|
|
12051
|
+
},
|
|
12052
|
+
{
|
|
12053
|
+
"kind": "js",
|
|
12054
|
+
"name": "TerminalBlock",
|
|
12055
|
+
"declaration": {
|
|
12056
|
+
"name": "TerminalBlock",
|
|
12057
|
+
"module": "./terminal-block.js"
|
|
12058
|
+
}
|
|
12059
|
+
},
|
|
12060
|
+
{
|
|
12061
|
+
"kind": "js",
|
|
12062
|
+
"name": "TerminalLine",
|
|
12063
|
+
"declaration": {
|
|
12064
|
+
"name": "TerminalLine",
|
|
12065
|
+
"module": "./terminal-block.js"
|
|
12066
|
+
}
|
|
12067
|
+
},
|
|
12068
|
+
{
|
|
12069
|
+
"kind": "js",
|
|
12070
|
+
"name": "TerminalLineType",
|
|
12071
|
+
"declaration": {
|
|
12072
|
+
"name": "TerminalLineType",
|
|
12073
|
+
"module": "./terminal-block.js"
|
|
12074
|
+
}
|
|
12075
|
+
},
|
|
12076
|
+
{
|
|
12077
|
+
"kind": "js",
|
|
12078
|
+
"name": "CodeDiff",
|
|
12079
|
+
"declaration": {
|
|
12080
|
+
"name": "CodeDiff",
|
|
12081
|
+
"module": "./code-diff.js"
|
|
12082
|
+
}
|
|
12083
|
+
},
|
|
12084
|
+
{
|
|
12085
|
+
"kind": "js",
|
|
12086
|
+
"name": "CodeDiffLine",
|
|
12087
|
+
"declaration": {
|
|
12088
|
+
"name": "CodeDiffLine",
|
|
12089
|
+
"module": "./code-diff.js"
|
|
12090
|
+
}
|
|
12091
|
+
},
|
|
12092
|
+
{
|
|
12093
|
+
"kind": "js",
|
|
12094
|
+
"name": "CodeDiffLineType",
|
|
12095
|
+
"declaration": {
|
|
12096
|
+
"name": "CodeDiffLineType",
|
|
12097
|
+
"module": "./code-diff.js"
|
|
12098
|
+
}
|
|
12099
|
+
},
|
|
12100
|
+
{
|
|
12101
|
+
"kind": "js",
|
|
12102
|
+
"name": "WindowChrome",
|
|
12103
|
+
"declaration": {
|
|
12104
|
+
"name": "WindowChrome",
|
|
12105
|
+
"module": "./window-chrome.js"
|
|
12106
|
+
}
|
|
12107
|
+
}
|
|
12108
|
+
]
|
|
12109
|
+
},
|
|
12110
|
+
{
|
|
12111
|
+
"kind": "javascript-module",
|
|
12112
|
+
"path": "src/kanban-board.ts",
|
|
12113
|
+
"declarations": [
|
|
12114
|
+
{
|
|
12115
|
+
"kind": "class",
|
|
12116
|
+
"description": "A configurable kanban board: a horizontally scrolling row of columns, each\nholding cards. **A card's column is its state** — moving a card to another\ncolumn (by drag-and-drop, keyboard, or the detail popover's state selector)\nchanges its state, and the board emits a single `card-move` for all three.\n\nData-driven: set the `columns` property to `KanbanColumnData[]`. The board\nkeeps its own working copy and mutates it optimistically on every move, so it\nworks standalone; re-assign `columns` at any time to stay controlled from a\nstore. Cards show only their ticket number and title in the overview; the\nfull detail (description, state, created/updated timestamps) opens in a\nscreen-centered `popover-panel`.\n\nPointer drag-and-drop supports both cross-column moves and within-column\nreordering with a live drop indicator (set `reorderable` false to keep only\ncross-column moves when intra-column order isn't persisted). Keyboard parity:\nfocus a card and press Space to pick it up, arrow keys to move it (left/right\nacross columns, up/down within a column), Space to drop, or Escape to cancel;\nEnter opens the detail. Moves are announced in a polite live region, and the\nmoved card briefly flashes a warm highlight so you can see where it landed.\n\nSet `manual` for a server-authoritative board (API + WebSocket/SSE): every\nmove still emits `card-move`, but the board does NOT apply it locally, so it\nreflects only what you assign to `columns` — e.g. the change echoed back over\nthe socket. The default is optimistic local updates.",
|
|
12117
|
+
"name": "KanbanBoard",
|
|
12118
|
+
"members": [
|
|
12119
|
+
{
|
|
12120
|
+
"kind": "field",
|
|
12121
|
+
"name": "columns",
|
|
12122
|
+
"type": {
|
|
12123
|
+
"text": "KanbanColumnData[]"
|
|
12124
|
+
},
|
|
12125
|
+
"default": "[]",
|
|
12126
|
+
"description": "Columns (with their cards) to render, in display order."
|
|
12127
|
+
},
|
|
12128
|
+
{
|
|
12129
|
+
"kind": "field",
|
|
12130
|
+
"name": "label",
|
|
12131
|
+
"type": {
|
|
12132
|
+
"text": "string"
|
|
12133
|
+
},
|
|
12134
|
+
"default": "\"Board\"",
|
|
12135
|
+
"description": "Accessible label for the board's group role.",
|
|
12136
|
+
"attribute": "label"
|
|
12137
|
+
},
|
|
12138
|
+
{
|
|
12139
|
+
"kind": "field",
|
|
12140
|
+
"name": "manual",
|
|
12141
|
+
"type": {
|
|
12142
|
+
"text": "boolean"
|
|
12143
|
+
},
|
|
12144
|
+
"default": "false",
|
|
12145
|
+
"description": "Server-authoritative mode. When true, moves emit `card-move` but are not\napplied to the board locally; it reflects only what you assign to\n`columns` (e.g. echoed back over WebSocket/SSE), keeping the server as the\nsingle source of truth. Defaults to optimistic local updates.",
|
|
12146
|
+
"attribute": "manual",
|
|
12147
|
+
"reflects": true
|
|
12148
|
+
},
|
|
12149
|
+
{
|
|
12150
|
+
"kind": "field",
|
|
12151
|
+
"name": "reorderable",
|
|
12152
|
+
"type": {
|
|
12153
|
+
"text": "boolean"
|
|
12154
|
+
},
|
|
12155
|
+
"default": "true",
|
|
12156
|
+
"description": "Whether cards can be reordered within a column. Defaults to true. Set false\nwhen intra-column order isn't persisted (no server `rank`): drag and\nkeyboard still move cards *between* columns (appended to the target), but\nreordering inside a column is disabled, so the UI only offers what sticks.",
|
|
11807
12157
|
"attribute": "reorderable",
|
|
11808
12158
|
"reflects": true
|
|
11809
12159
|
},
|
|
@@ -13984,7 +14334,7 @@
|
|
|
13984
14334
|
"declarations": [
|
|
13985
14335
|
{
|
|
13986
14336
|
"kind": "class",
|
|
13987
|
-
"description": "Generic centered modal-dialog shell:
|
|
14337
|
+
"description": "Generic centered modal-dialog shell: a native modal `<dialog>` card with\nheader chrome, a close button, and an arbitrary slotted body — the modal\nsibling to `slide-panel` (fixed-edge) and `popover-panel` (anchored).\nUnlike `confirm-dialog`, it has no baked-in actions; the consumer supplies\nthe body content (a form, a read-only viewer, a table) and any footer\nbuttons itself. Instant open/close, no transition. Because it uses\n`showModal()`, it renders in the browser's top layer, makes the rest of the\npage inert, contains focus, and restores focus to the trigger on close;\nEscape is routed to the topmost layer only (see `utils/layer-stack`).",
|
|
13988
14338
|
"name": "ModalDialog",
|
|
13989
14339
|
"slots": [
|
|
13990
14340
|
{
|
|
@@ -14039,28 +14389,17 @@
|
|
|
14039
14389
|
},
|
|
14040
14390
|
{
|
|
14041
14391
|
"kind": "field",
|
|
14042
|
-
"name": "
|
|
14392
|
+
"name": "_dialog",
|
|
14043
14393
|
"type": {
|
|
14044
|
-
"text": "
|
|
14394
|
+
"text": "HTMLDialogElement"
|
|
14045
14395
|
},
|
|
14046
|
-
"privacy": "private"
|
|
14047
|
-
"default": "null"
|
|
14396
|
+
"privacy": "private"
|
|
14048
14397
|
},
|
|
14049
14398
|
{
|
|
14050
14399
|
"kind": "method",
|
|
14051
14400
|
"name": "_close",
|
|
14052
14401
|
"privacy": "private"
|
|
14053
14402
|
},
|
|
14054
|
-
{
|
|
14055
|
-
"kind": "method",
|
|
14056
|
-
"name": "_getFocusableElements",
|
|
14057
|
-
"privacy": "private",
|
|
14058
|
-
"return": {
|
|
14059
|
-
"type": {
|
|
14060
|
-
"text": "HTMLElement[]"
|
|
14061
|
-
}
|
|
14062
|
-
}
|
|
14063
|
-
},
|
|
14064
14403
|
{
|
|
14065
14404
|
"kind": "method",
|
|
14066
14405
|
"name": "_focusInitial",
|
|
@@ -14069,22 +14408,26 @@
|
|
|
14069
14408
|
"type": {
|
|
14070
14409
|
"text": "void"
|
|
14071
14410
|
}
|
|
14072
|
-
}
|
|
14411
|
+
},
|
|
14412
|
+
"description": "Native focus delegation doesn't reliably reach slotted light-DOM content, so focus explicitly."
|
|
14073
14413
|
},
|
|
14074
14414
|
{
|
|
14075
14415
|
"kind": "field",
|
|
14076
|
-
"name": "
|
|
14077
|
-
"privacy": "private"
|
|
14416
|
+
"name": "_onWindowKeydown",
|
|
14417
|
+
"privacy": "private",
|
|
14418
|
+
"description": "Escape goes to the topmost layer only (a popover opened inside this dialog claims it first)."
|
|
14078
14419
|
},
|
|
14079
14420
|
{
|
|
14080
14421
|
"kind": "field",
|
|
14081
|
-
"name": "
|
|
14082
|
-
"privacy": "private"
|
|
14422
|
+
"name": "_onCancel",
|
|
14423
|
+
"privacy": "private",
|
|
14424
|
+
"description": "Native close requests (e.g. a back gesture) are routed through `panel-close`; the consumer owns `open`."
|
|
14083
14425
|
},
|
|
14084
14426
|
{
|
|
14085
14427
|
"kind": "field",
|
|
14086
|
-
"name": "
|
|
14087
|
-
"privacy": "private"
|
|
14428
|
+
"name": "_onDialogClick",
|
|
14429
|
+
"privacy": "private",
|
|
14430
|
+
"description": "A click that lands on the `<dialog>` itself, outside its box, is a backdrop click."
|
|
14088
14431
|
}
|
|
14089
14432
|
],
|
|
14090
14433
|
"events": [
|
|
@@ -18216,7 +18559,7 @@
|
|
|
18216
18559
|
"declarations": [
|
|
18217
18560
|
{
|
|
18218
18561
|
"kind": "class",
|
|
18219
|
-
"description": "Generic sliding panel shell. Handles
|
|
18562
|
+
"description": "Generic sliding panel shell: a non-modal native `<dialog>` (`show()`). Handles\npositioning, open/close animation, header chrome, and a close button. Body content is provided via the\ndefault slot; the consumer controls its own padding and overflow.\n\nDesktop: fixed right-side panel that slides from the right.\nMobile (≤48rem): bottom-sheet drawer (60vh) — reserved for future use.",
|
|
18220
18563
|
"name": "SlidePanel",
|
|
18221
18564
|
"members": [
|
|
18222
18565
|
{
|
|
@@ -18241,12 +18584,11 @@
|
|
|
18241
18584
|
},
|
|
18242
18585
|
{
|
|
18243
18586
|
"kind": "field",
|
|
18244
|
-
"name": "
|
|
18587
|
+
"name": "_dialog",
|
|
18245
18588
|
"type": {
|
|
18246
|
-
"text": "
|
|
18589
|
+
"text": "HTMLDialogElement"
|
|
18247
18590
|
},
|
|
18248
|
-
"privacy": "private"
|
|
18249
|
-
"default": "null"
|
|
18591
|
+
"privacy": "private"
|
|
18250
18592
|
},
|
|
18251
18593
|
{
|
|
18252
18594
|
"kind": "method",
|
|
@@ -18696,6 +19038,64 @@
|
|
|
18696
19038
|
}
|
|
18697
19039
|
]
|
|
18698
19040
|
},
|
|
19041
|
+
{
|
|
19042
|
+
"kind": "javascript-module",
|
|
19043
|
+
"path": "src/stat-strip.ts",
|
|
19044
|
+
"declarations": [
|
|
19045
|
+
{
|
|
19046
|
+
"kind": "class",
|
|
19047
|
+
"description": "A headless, presentational strip of headline stats — one large figure plus\none muted caption per `items` entry, wrapping across lines on narrow\nviewports. Unlike `stat-meter`, this component does not compute percentages\nor render a fill bar: callers pass preformatted figure strings as-is and\n`stat-strip` only lays them out for marketing, benchmark, or dashboard\nsummary rows.",
|
|
19048
|
+
"name": "StatStrip",
|
|
19049
|
+
"members": [
|
|
19050
|
+
{
|
|
19051
|
+
"kind": "field",
|
|
19052
|
+
"name": "items",
|
|
19053
|
+
"type": {
|
|
19054
|
+
"text": "StatStripItem[]"
|
|
19055
|
+
},
|
|
19056
|
+
"default": "[]",
|
|
19057
|
+
"description": "Stats rendered in display order; each item is shown as a large figure with a caption beneath it.",
|
|
19058
|
+
"attribute": "items"
|
|
19059
|
+
}
|
|
19060
|
+
],
|
|
19061
|
+
"attributes": [
|
|
19062
|
+
{
|
|
19063
|
+
"name": "items",
|
|
19064
|
+
"type": {
|
|
19065
|
+
"text": "StatStripItem[]"
|
|
19066
|
+
},
|
|
19067
|
+
"default": "[]",
|
|
19068
|
+
"description": "Stats rendered in display order; each item is shown as a large figure with a caption beneath it.",
|
|
19069
|
+
"fieldName": "items"
|
|
19070
|
+
}
|
|
19071
|
+
],
|
|
19072
|
+
"superclass": {
|
|
19073
|
+
"name": "LitElement",
|
|
19074
|
+
"package": "lit"
|
|
19075
|
+
},
|
|
19076
|
+
"tagName": "stat-strip",
|
|
19077
|
+
"customElement": true
|
|
19078
|
+
}
|
|
19079
|
+
],
|
|
19080
|
+
"exports": [
|
|
19081
|
+
{
|
|
19082
|
+
"kind": "js",
|
|
19083
|
+
"name": "StatStrip",
|
|
19084
|
+
"declaration": {
|
|
19085
|
+
"name": "StatStrip",
|
|
19086
|
+
"module": "src/stat-strip.ts"
|
|
19087
|
+
}
|
|
19088
|
+
},
|
|
19089
|
+
{
|
|
19090
|
+
"kind": "custom-element-definition",
|
|
19091
|
+
"name": "stat-strip",
|
|
19092
|
+
"declaration": {
|
|
19093
|
+
"name": "StatStrip",
|
|
19094
|
+
"module": "src/stat-strip.ts"
|
|
19095
|
+
}
|
|
19096
|
+
}
|
|
19097
|
+
]
|
|
19098
|
+
},
|
|
18699
19099
|
{
|
|
18700
19100
|
"kind": "javascript-module",
|
|
18701
19101
|
"path": "src/status-banner.ts",
|
|
@@ -18870,6 +19270,130 @@
|
|
|
18870
19270
|
}
|
|
18871
19271
|
]
|
|
18872
19272
|
},
|
|
19273
|
+
{
|
|
19274
|
+
"kind": "javascript-module",
|
|
19275
|
+
"path": "src/step-ladder.ts",
|
|
19276
|
+
"declarations": [
|
|
19277
|
+
{
|
|
19278
|
+
"kind": "class",
|
|
19279
|
+
"description": "A flat ordered ladder of fallback steps — an escalating \"try this first,\nthen move to the next rung only if it does not solve it\" list. Each rung\nshows a zero-padded ordinal, a bold title, and a muted description, with a\nhairline rule between rows.\n\nFeed it the `items` array for the plain data path, where each\nStepLadderItem supplies a `title` and `description`, or slot bare\n`<li>` steps when a rung needs links, emphasis, or other richer markup.\nSlotted content takes precedence over `items`; with neither, nothing is\nrendered. As with `spec-list`, richer wrapper elements are accepted too, but\nthose own their own inner markup.",
|
|
19280
|
+
"name": "StepLadder",
|
|
19281
|
+
"slots": [
|
|
19282
|
+
{
|
|
19283
|
+
"description": "Optional `<li>` rungs or richer step markup; when present, they replace the `items` path.",
|
|
19284
|
+
"name": ""
|
|
19285
|
+
}
|
|
19286
|
+
],
|
|
19287
|
+
"members": [
|
|
19288
|
+
{
|
|
19289
|
+
"kind": "field",
|
|
19290
|
+
"name": "items",
|
|
19291
|
+
"type": {
|
|
19292
|
+
"text": "StepLadderItem[]"
|
|
19293
|
+
},
|
|
19294
|
+
"default": "[]",
|
|
19295
|
+
"description": "The rungs for the data-driven path. Ignored when the default slot has content.",
|
|
19296
|
+
"attribute": "items"
|
|
19297
|
+
},
|
|
19298
|
+
{
|
|
19299
|
+
"kind": "field",
|
|
19300
|
+
"name": "_hasSlotted",
|
|
19301
|
+
"type": {
|
|
19302
|
+
"text": "boolean"
|
|
19303
|
+
},
|
|
19304
|
+
"privacy": "private",
|
|
19305
|
+
"default": "false",
|
|
19306
|
+
"description": "Whether the default slot currently has assigned content."
|
|
19307
|
+
},
|
|
19308
|
+
{
|
|
19309
|
+
"kind": "method",
|
|
19310
|
+
"name": "_isContent",
|
|
19311
|
+
"privacy": "private",
|
|
19312
|
+
"static": true,
|
|
19313
|
+
"return": {
|
|
19314
|
+
"type": {
|
|
19315
|
+
"text": "boolean"
|
|
19316
|
+
}
|
|
19317
|
+
},
|
|
19318
|
+
"parameters": [
|
|
19319
|
+
{
|
|
19320
|
+
"name": "node",
|
|
19321
|
+
"type": {
|
|
19322
|
+
"text": "Node"
|
|
19323
|
+
}
|
|
19324
|
+
}
|
|
19325
|
+
],
|
|
19326
|
+
"description": "Whether a slot node is real content, ignoring the whitespace ordinary indented markup leaves between children."
|
|
19327
|
+
},
|
|
19328
|
+
{
|
|
19329
|
+
"kind": "method",
|
|
19330
|
+
"name": "_onSlotChange",
|
|
19331
|
+
"privacy": "private",
|
|
19332
|
+
"return": {
|
|
19333
|
+
"type": {
|
|
19334
|
+
"text": "void"
|
|
19335
|
+
}
|
|
19336
|
+
},
|
|
19337
|
+
"parameters": [
|
|
19338
|
+
{
|
|
19339
|
+
"name": "event",
|
|
19340
|
+
"type": {
|
|
19341
|
+
"text": "Event"
|
|
19342
|
+
}
|
|
19343
|
+
}
|
|
19344
|
+
],
|
|
19345
|
+
"description": "Tracks whether the default slot has content so slotted markup can take precedence over `items`."
|
|
19346
|
+
},
|
|
19347
|
+
{
|
|
19348
|
+
"kind": "method",
|
|
19349
|
+
"name": "_rows",
|
|
19350
|
+
"privacy": "private",
|
|
19351
|
+
"return": {
|
|
19352
|
+
"type": {
|
|
19353
|
+
"text": "StepLadderItem[]"
|
|
19354
|
+
}
|
|
19355
|
+
},
|
|
19356
|
+
"description": "The rungs, defended against a non-array value assigned at runtime by a JS or HTML consumer."
|
|
19357
|
+
}
|
|
19358
|
+
],
|
|
19359
|
+
"attributes": [
|
|
19360
|
+
{
|
|
19361
|
+
"name": "items",
|
|
19362
|
+
"type": {
|
|
19363
|
+
"text": "StepLadderItem[]"
|
|
19364
|
+
},
|
|
19365
|
+
"default": "[]",
|
|
19366
|
+
"description": "The rungs for the data-driven path. Ignored when the default slot has content.",
|
|
19367
|
+
"fieldName": "items"
|
|
19368
|
+
}
|
|
19369
|
+
],
|
|
19370
|
+
"superclass": {
|
|
19371
|
+
"name": "LitElement",
|
|
19372
|
+
"package": "lit"
|
|
19373
|
+
},
|
|
19374
|
+
"tagName": "step-ladder",
|
|
19375
|
+
"customElement": true
|
|
19376
|
+
}
|
|
19377
|
+
],
|
|
19378
|
+
"exports": [
|
|
19379
|
+
{
|
|
19380
|
+
"kind": "js",
|
|
19381
|
+
"name": "StepLadder",
|
|
19382
|
+
"declaration": {
|
|
19383
|
+
"name": "StepLadder",
|
|
19384
|
+
"module": "src/step-ladder.ts"
|
|
19385
|
+
}
|
|
19386
|
+
},
|
|
19387
|
+
{
|
|
19388
|
+
"kind": "custom-element-definition",
|
|
19389
|
+
"name": "step-ladder",
|
|
19390
|
+
"declaration": {
|
|
19391
|
+
"name": "StepLadder",
|
|
19392
|
+
"module": "src/step-ladder.ts"
|
|
19393
|
+
}
|
|
19394
|
+
}
|
|
19395
|
+
]
|
|
19396
|
+
},
|
|
18873
19397
|
{
|
|
18874
19398
|
"kind": "javascript-module",
|
|
18875
19399
|
"path": "src/tab-bar.ts",
|
|
@@ -19190,6 +19714,64 @@
|
|
|
19190
19714
|
}
|
|
19191
19715
|
]
|
|
19192
19716
|
},
|
|
19717
|
+
{
|
|
19718
|
+
"kind": "javascript-module",
|
|
19719
|
+
"path": "src/terminal-block.ts",
|
|
19720
|
+
"declarations": [
|
|
19721
|
+
{
|
|
19722
|
+
"kind": "class",
|
|
19723
|
+
"description": "A headless, data-driven terminal transcript shell for short install or usage\ninstructions. Callers provide a flat ordered `lines` array of\n`TerminalLine` objects, and the component renders each line exactly in that\norder with a type-driven visual treatment: `\"prompt\"` lines get a fixed\nleading `❯` marker in `--ui-primary`, `\"comment\"` lines render as dim italic\nguidance, and `\"output\"` lines render as plain terminal text.\n\nThe panel deliberately stays dark regardless of the surrounding page theme:\nit reuses `--ui-tooltip` for the surface and `--ui-tooltip-text` for the\nmain foreground (not `--ui-on-accent` — that token means \"text on a solid\n*semantic* fill\" and a theme is free to darken it for a light accent color,\nwhereas `--ui-tooltip`'s own fill stays dark unconditionally), because this\nis meant to read as \"the terminal\" rather than as a normal page card that\nfollows the ambient surface palette.\n\nAn empty `lines` array still renders the bordered, padded shell so consumers\ncan see that an instruction block is present but currently has no transcript\ncontent, rather than having the component silently disappear.",
|
|
19724
|
+
"name": "TerminalBlock",
|
|
19725
|
+
"members": [
|
|
19726
|
+
{
|
|
19727
|
+
"kind": "field",
|
|
19728
|
+
"name": "lines",
|
|
19729
|
+
"type": {
|
|
19730
|
+
"text": "TerminalLine[]"
|
|
19731
|
+
},
|
|
19732
|
+
"default": "[]",
|
|
19733
|
+
"description": "Ordered terminal transcript lines. Each entry is a `{ type, text }`\nobject, and an empty array still renders the visible terminal shell.",
|
|
19734
|
+
"attribute": "lines"
|
|
19735
|
+
}
|
|
19736
|
+
],
|
|
19737
|
+
"attributes": [
|
|
19738
|
+
{
|
|
19739
|
+
"name": "lines",
|
|
19740
|
+
"type": {
|
|
19741
|
+
"text": "TerminalLine[]"
|
|
19742
|
+
},
|
|
19743
|
+
"default": "[]",
|
|
19744
|
+
"description": "Ordered terminal transcript lines. Each entry is a `{ type, text }`\nobject, and an empty array still renders the visible terminal shell.",
|
|
19745
|
+
"fieldName": "lines"
|
|
19746
|
+
}
|
|
19747
|
+
],
|
|
19748
|
+
"superclass": {
|
|
19749
|
+
"name": "LitElement",
|
|
19750
|
+
"package": "lit"
|
|
19751
|
+
},
|
|
19752
|
+
"tagName": "terminal-block",
|
|
19753
|
+
"customElement": true
|
|
19754
|
+
}
|
|
19755
|
+
],
|
|
19756
|
+
"exports": [
|
|
19757
|
+
{
|
|
19758
|
+
"kind": "js",
|
|
19759
|
+
"name": "TerminalBlock",
|
|
19760
|
+
"declaration": {
|
|
19761
|
+
"name": "TerminalBlock",
|
|
19762
|
+
"module": "src/terminal-block.ts"
|
|
19763
|
+
}
|
|
19764
|
+
},
|
|
19765
|
+
{
|
|
19766
|
+
"kind": "custom-element-definition",
|
|
19767
|
+
"name": "terminal-block",
|
|
19768
|
+
"declaration": {
|
|
19769
|
+
"name": "TerminalBlock",
|
|
19770
|
+
"module": "src/terminal-block.ts"
|
|
19771
|
+
}
|
|
19772
|
+
}
|
|
19773
|
+
]
|
|
19774
|
+
},
|
|
19193
19775
|
{
|
|
19194
19776
|
"kind": "javascript-module",
|
|
19195
19777
|
"path": "src/text-area.ts",
|
|
@@ -19962,6 +20544,17 @@
|
|
|
19962
20544
|
],
|
|
19963
20545
|
"description": "Queues a toast for display."
|
|
19964
20546
|
},
|
|
20547
|
+
{
|
|
20548
|
+
"kind": "method",
|
|
20549
|
+
"name": "_promote",
|
|
20550
|
+
"privacy": "private",
|
|
20551
|
+
"return": {
|
|
20552
|
+
"type": {
|
|
20553
|
+
"text": "void"
|
|
20554
|
+
}
|
|
20555
|
+
},
|
|
20556
|
+
"description": "Moves the stack to the top of the browser's top layer, so it renders above any native\nmodal `<dialog>` opened earlier (a `position: fixed; z-index` stack can't). Re-showing\nputs it above layers added since the last toast. No-op without Popover API support."
|
|
20557
|
+
},
|
|
19965
20558
|
{
|
|
19966
20559
|
"kind": "method",
|
|
19967
20560
|
"name": "dismiss",
|
|
@@ -20345,7 +20938,7 @@
|
|
|
20345
20938
|
"type": {
|
|
20346
20939
|
"text": "Record<string, string>"
|
|
20347
20940
|
},
|
|
20348
|
-
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 // Button-specific background/border hooks: default to the flat --ui-primary // / --ui-danger tokens above unchanged, so those stay the single source of // truth for every other component. Overriding just these lets a theme opt // ui-button into a gradient (or any other) background without touching // component markup; --ui-button-border/--ui-button-danger-border default // to transparent (today's look) and are meant to be paired with a shade // darker than the gradient's dark stop when one is set. The `-active` // variants default to whatever `-background` already resolved to (so a // solid override still applies while pressed) — a gradient theme should // set them to the same stops in reverse, for a pressed/\"indented\" look. \"--ui-button-background\": \"var(--ui-primary, #4f46e5)\", \"--ui-button-background-hover\": \"var(--ui-primary-hover, #4338ca)\", \"--ui-button-background-active\": \"var(--ui-button-background, var(--ui-primary, #4f46e5))\", \"--ui-button-border\": \"transparent\", // The bordered, transparent-background secondary variant's equivalents — // shared with confirm-dialog's Cancel button, which is the same visual // pattern. Defaults reproduce today's literal secondary styling exactly // (no background at any state, border colors matching --ui-border / // --ui-text-muted), so a theme only needs to override these to make // secondary/Cancel buttons match a primary/danger gradient theme. \"--ui-button-secondary-background\": \"none\", \"--ui-button-secondary-background-hover\": \"none\", \"--ui-button-secondary-background-active\": \"var(--ui-button-secondary-background, none)\", \"--ui-button-secondary-border\": \"var(--ui-border, #e2e8f0)\", \"--ui-button-secondary-border-hover\": \"var(--ui-text-muted, #64748b)\", // A muted-gray surface used wherever something already paints // --ui-surface-muted as a state indicator in flat mode — button-group's // unchecked-segment hover, pagination-nav's button hover, and // radio-cards/radio-pills' checked background — which is a genuinely // different default than secondary's borderless flat hover, so it can't // reuse --ui-button-secondary-background-hover's \"none\" default. \"--ui-button-secondary-surface-muted\": \"var(--ui-surface-muted, #f8fafc)\", // Shared by both primary/danger — a purely cosmetic gloss/legibility pair, // not color-specific, so one token covers both variants. `-highlight` is a // full box-shadow value (e.g. `inset 0 1px 0 rgb(255 255 255 / 0.35)`) for // a glossy top edge, defaulting to a fully transparent (so invisible) // shadow rather than the keyword `none` — some usages combine it with // another literal shadow in a comma-separated list, where a bare `none` // item is invalid CSS and would zero out the *whole* declaration. // `-text-shadow` is a full text-shadow value for label legibility against // a gradient's lighter stop, always used standalone, so it keeps `none`. \"--ui-button-highlight\": \"0 0 0 0 transparent\", \"--ui-button-text-shadow\": \"none\", // A solid stand-in for the same accent, for spots that can't render a // background gradient at all — a native <input>'s accent-color only // accepts a plain color, and a hard-stop background gradient (e.g. // range-slider's filled track) can't nest another gradient inside its own // color-stop list. Consumers that theme the buttons into a gradient should // set this to the gradient's dark stop, so these non-button accents (radio // selection indicators, the range-slider track/thumb) stay visually // coordinated with it even though they can't literally paint a gradient. \"--ui-button-accent\": \"var(--ui-primary, #4f46e5)\", \"--ui-info\": \"#0ea5e9\", // sky-500 \"--ui-info-hover\": \"#0284c7\", // sky-600 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-button-danger-background\": \"var(--ui-danger, #dc2626)\", \"--ui-button-danger-background-hover\": \"var(--ui-danger-hover, #b91c1c)\", \"--ui-button-danger-background-active\": \"var(--ui-button-danger-background, var(--ui-danger, #dc2626))\", \"--ui-button-danger-border\": \"transparent\", \"--ui-success\": \"#16a34a\", // green-600 \"--ui-warning\": \"#d97706\", // amber-600 \"--ui-warning-hover\": \"#b45309\", // amber-700 // toast-notification's per-variant background hooks: default to the flat // --ui-success/--ui-danger/--ui-info/--ui-warning tokens unchanged, so // those stay the single source of truth for every other component — // the same pattern as --ui-button-background/--ui-button-danger-background // above. `-highlight`/`-text-shadow` are the same glossy-top-edge / // legibility-shadow pair as --ui-button-highlight/--ui-button-text-shadow, // kept as separate tokens so a theme can gloss toasts and buttons // independently. \"--ui-toast-success-background\": \"var(--ui-success, #16a34a)\", \"--ui-toast-error-background\": \"var(--ui-danger, #dc2626)\", \"--ui-toast-info-background\": \"var(--ui-info, #0ea5e9)\", \"--ui-toast-warning-background\": \"var(--ui-warning, #d97706)\", \"--ui-toast-highlight\": \"0 0 0 0 transparent\", \"--ui-toast-text-shadow\": \"none\", // AI accent sweep — the four stops of the animated multi-hue ring // ui-button's `ai` modifier draws around a button (and the only place a // rainbow reads as meaning \"this action is AI-powered\" rather than a // semantic state). Ordered around the color wheel and looping back to // stop 1, so the sweep is seamless; --ui-ai-2 is --ui-primary's own // indigo, anchoring the ring to the rest of the palette. Overriding these // four retunes every AI button at once. \"--ui-ai-1\": \"#38bdf8\", // sky-400 \"--ui-ai-2\": \"#6366f1\", // indigo-500 \"--ui-ai-3\": \"#d946ef\", // fuchsia-500 \"--ui-ai-4\": \"#fbbf24\", // amber-400 \"--ui-on-accent\": \"#ffffff\", \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-highlight\": \"#fde68a\", // amber-200 — transient \"just changed\" flash \"--ui-tooltip\": \"#0f172a\", // slate-900 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded // The width of a themeable surface/control border. Spacing is deliberately // untokenized, but a border is chrome rather than layout: the `blueprint` // theme's whole structure is carried by hairline rules instead of shadows, // and it needs those rules one step heavier than the default. Defaults to // the literal 1px every component used before, so nothing renders // differently until a theme overrides it. Only genuine surface/control // borders read this — forced-colors `CanvasText` borders and purely // decorative literals (a slider thumb's white ring, a tab's 2px underline) // keep their own widths, since those aren't the theme's structural rules. // Anything with a fixed height/width and a themeable border must also set // `box-sizing: border-box`, or a heavier border grows it past the shared // 2rem control target. \"--ui-border-width\": \"1px\", // Deliberate pill/circle shapes — a chip, an avatar, a slider thumb, a dot. // Tokenized rather than hardcoded so a theme that squares the design system // (metro) can reach them too; a literal 9999px/50% silently opts that shape // out of every theme. Use these only where the shape is the point, not as a // heavier --ui-radius. \"--ui-radius-pill\": \"9999px\", \"--ui-radius-circle\": \"50%\", \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-mono\": \"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace\", \"--ui-font-size-lg\": \"1rem\", // text-base \"--ui-font-size\": \"0.875rem\", // text-sm \"--ui-font-size-sm\": \"0.75rem\", // text-xs \"--ui-font-size-xs\": \"0.6875rem\", // Font weights — the only four weights the system uses. \"--ui-font-weight-regular\": \"400\", \"--ui-font-weight-medium\": \"500\", \"--ui-font-weight-semibold\": \"600\", \"--ui-font-weight-bold\": \"700\", // Line heights — glyph (icon/marker box), tight (headings), normal (body). \"--ui-line-height-glyph\": \"1\", \"--ui-line-height-tight\": \"1.25\", \"--ui-line-height-normal\": \"1.5\", // Letter spacing / tracking — default and the single widened step. \"--ui-tracking-normal\": \"0\", \"--ui-tracking-wide\": \"0.04em\", // Casing of chrome micro-labels — the small, wide-tracked labels that name a // region rather than carry content (a `frame-box` legend, an `app-sidebar` // section heading, a `stat-meter` caption). Defaults to `none`, today's // sentence case, so nothing changes until a theme sets it; the `blueprint` // theme sets `uppercase`, where signage-style labels are the point. Never // apply this to user-supplied content — shouting someone's data is not a // theme's decision, and `text-transform` is a presentational lie that // survives copy/paste as the original casing anyway. \"--ui-label-transform\": \"none\", // Numeral rendering for figures that change in place or stack into a column // — a score, a page number, a running clock. Defaults to `normal` // (proportional, as before); `tabular-nums` stops digits from jittering // horizontally as they tick, which the `blueprint` theme's spec-sheet // aesthetic wants everywhere. \"--ui-numeric\": \"normal\", }",
|
|
20941
|
+
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 // Button-specific background/border hooks: default to the flat --ui-primary // / --ui-danger tokens above unchanged, so those stay the single source of // truth for every other component. Overriding just these lets a theme opt // ui-button into a gradient (or any other) background without touching // component markup; --ui-button-border/--ui-button-danger-border default // to transparent (today's look) and are meant to be paired with a shade // darker than the gradient's dark stop when one is set. The `-active` // variants default to whatever `-background` already resolved to (so a // solid override still applies while pressed) — a gradient theme should // set them to the same stops in reverse, for a pressed/\"indented\" look. \"--ui-button-background\": \"var(--ui-primary, #4f46e5)\", \"--ui-button-background-hover\": \"var(--ui-primary-hover, #4338ca)\", \"--ui-button-background-active\": \"var(--ui-button-background, var(--ui-primary, #4f46e5))\", \"--ui-button-border\": \"transparent\", // The primary/danger fill's own text color, split out from --ui-on-accent // (which every button used directly until now): --ui-on-accent means \"text // on any solid semantic fill\" and a theme may need to darken it for a light // accent color (see developerDarkTokenValues), but that darkening should // only reach the button itself if the theme wants it to. Defaults to // --ui-on-accent unchanged, so every existing theme renders identically. \"--ui-button-text\": \"var(--ui-on-accent, #ffffff)\", \"--ui-button-danger-text\": \"var(--ui-on-accent, #ffffff)\", // The bordered, transparent-background secondary variant's equivalents — // shared with confirm-dialog's Cancel button, which is the same visual // pattern. Defaults reproduce today's literal secondary styling exactly // (no background at any state, border colors matching --ui-border / // --ui-text-muted), so a theme only needs to override these to make // secondary/Cancel buttons match a primary/danger gradient theme. \"--ui-button-secondary-background\": \"none\", \"--ui-button-secondary-background-hover\": \"none\", \"--ui-button-secondary-background-active\": \"var(--ui-button-secondary-background, none)\", \"--ui-button-secondary-border\": \"var(--ui-border, #e2e8f0)\", \"--ui-button-secondary-border-hover\": \"var(--ui-text-muted, #64748b)\", // A muted-gray surface used wherever something already paints // --ui-surface-muted as a state indicator in flat mode — button-group's // unchecked-segment hover, pagination-nav's button hover, and // radio-cards/radio-pills' checked background — which is a genuinely // different default than secondary's borderless flat hover, so it can't // reuse --ui-button-secondary-background-hover's \"none\" default. \"--ui-button-secondary-surface-muted\": \"var(--ui-surface-muted, #f8fafc)\", // Shared by both primary/danger — a purely cosmetic gloss/legibility pair, // not color-specific, so one token covers both variants. `-highlight` is a // full box-shadow value (e.g. `inset 0 1px 0 rgb(255 255 255 / 0.35)`) for // a glossy top edge, defaulting to a fully transparent (so invisible) // shadow rather than the keyword `none` — some usages combine it with // another literal shadow in a comma-separated list, where a bare `none` // item is invalid CSS and would zero out the *whole* declaration. // `-text-shadow` is a full text-shadow value for label legibility against // a gradient's lighter stop, always used standalone, so it keeps `none`. \"--ui-button-highlight\": \"0 0 0 0 transparent\", \"--ui-button-text-shadow\": \"none\", // A solid stand-in for the same accent, for spots that can't render a // background gradient at all — a native <input>'s accent-color only // accepts a plain color, and a hard-stop background gradient (e.g. // range-slider's filled track) can't nest another gradient inside its own // color-stop list. Consumers that theme the buttons into a gradient should // set this to the gradient's dark stop, so these non-button accents (radio // selection indicators, the range-slider track/thumb) stay visually // coordinated with it even though they can't literally paint a gradient. \"--ui-button-accent\": \"var(--ui-primary, #4f46e5)\", \"--ui-info\": \"#0ea5e9\", // sky-500 \"--ui-info-hover\": \"#0284c7\", // sky-600 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-button-danger-background\": \"var(--ui-danger, #dc2626)\", \"--ui-button-danger-background-hover\": \"var(--ui-danger-hover, #b91c1c)\", \"--ui-button-danger-background-active\": \"var(--ui-button-danger-background, var(--ui-danger, #dc2626))\", \"--ui-button-danger-border\": \"transparent\", \"--ui-success\": \"#16a34a\", // green-600 \"--ui-warning\": \"#d97706\", // amber-600 \"--ui-warning-hover\": \"#b45309\", // amber-700 // toast-notification's per-variant background hooks: default to the flat // --ui-success/--ui-danger/--ui-info/--ui-warning tokens unchanged, so // those stay the single source of truth for every other component — // the same pattern as --ui-button-background/--ui-button-danger-background // above. `-highlight`/`-text-shadow` are the same glossy-top-edge / // legibility-shadow pair as --ui-button-highlight/--ui-button-text-shadow, // kept as separate tokens so a theme can gloss toasts and buttons // independently. \"--ui-toast-success-background\": \"var(--ui-success, #16a34a)\", \"--ui-toast-error-background\": \"var(--ui-danger, #dc2626)\", \"--ui-toast-info-background\": \"var(--ui-info, #0ea5e9)\", \"--ui-toast-warning-background\": \"var(--ui-warning, #d97706)\", \"--ui-toast-highlight\": \"0 0 0 0 transparent\", \"--ui-toast-text-shadow\": \"none\", // AI accent sweep — the four stops of the animated multi-hue ring // ui-button's `ai` modifier draws around a button (and the only place a // rainbow reads as meaning \"this action is AI-powered\" rather than a // semantic state). Ordered around the color wheel and looping back to // stop 1, so the sweep is seamless; --ui-ai-2 is --ui-primary's own // indigo, anchoring the ring to the rest of the palette. Overriding these // four retunes every AI button at once. \"--ui-ai-1\": \"#38bdf8\", // sky-400 \"--ui-ai-2\": \"#6366f1\", // indigo-500 \"--ui-ai-3\": \"#d946ef\", // fuchsia-500 \"--ui-ai-4\": \"#fbbf24\", // amber-400 \"--ui-on-accent\": \"#ffffff\", \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-highlight\": \"#fde68a\", // amber-200 — transient \"just changed\" flash \"--ui-tooltip\": \"#0f172a\", // slate-900 // The tooltip's own foreground, kept separate from --ui-on-accent: that // token means \"text on a solid *semantic* fill\" (a button, a toast), which // a theme may need to darken if it makes those fills light (see // developerDarkTokenValues). --ui-tooltip's own fill is a dedicated dark // surface in every theme regardless, so its text stays white unconditionally. \"--ui-tooltip-text\": \"#ffffff\", \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Same reasoning as --ui-tooltip-text: a control drawn directly on the // --ui-overlay scrim (photo-gallery's arrow buttons) needs text/icon // contrast against that always-dark backdrop, not against whatever a theme // repoints --ui-on-accent to for its semantic fills. \"--ui-overlay-text\": \"#ffffff\", // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded // The width of a themeable surface/control border. Spacing is deliberately // untokenized, but a border is chrome rather than layout: the `blueprint` // theme's whole structure is carried by hairline rules instead of shadows, // and it needs those rules one step heavier than the default. Defaults to // the literal 1px every component used before, so nothing renders // differently until a theme overrides it. Only genuine surface/control // borders read this — forced-colors `CanvasText` borders and purely // decorative literals (a slider thumb's white ring, a tab's 2px underline) // keep their own widths, since those aren't the theme's structural rules. // Anything with a fixed height/width and a themeable border must also set // `box-sizing: border-box`, or a heavier border grows it past the shared // 2rem control target. \"--ui-border-width\": \"1px\", // Deliberate pill/circle shapes — a chip, an avatar, a slider thumb, a dot. // Tokenized rather than hardcoded so a theme that squares the design system // (metro) can reach them too; a literal 9999px/50% silently opts that shape // out of every theme. Use these only where the shape is the point, not as a // heavier --ui-radius. \"--ui-radius-pill\": \"9999px\", \"--ui-radius-circle\": \"50%\", \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-mono\": \"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace\", \"--ui-font-size-lg\": \"1rem\", // text-base \"--ui-font-size\": \"0.875rem\", // text-sm \"--ui-font-size-sm\": \"0.75rem\", // text-xs \"--ui-font-size-xs\": \"0.6875rem\", // Font weights — the only four weights the system uses. \"--ui-font-weight-regular\": \"400\", \"--ui-font-weight-medium\": \"500\", \"--ui-font-weight-semibold\": \"600\", \"--ui-font-weight-bold\": \"700\", // Line heights — glyph (icon/marker box), tight (headings), normal (body). \"--ui-line-height-glyph\": \"1\", \"--ui-line-height-tight\": \"1.25\", \"--ui-line-height-normal\": \"1.5\", // Letter spacing / tracking — default and the single widened step. \"--ui-tracking-normal\": \"0\", \"--ui-tracking-wide\": \"0.04em\", // Casing of chrome micro-labels — the small, wide-tracked labels that name a // region rather than carry content (a `frame-box` legend, an `app-sidebar` // section heading, a `stat-meter` caption). Defaults to `none`, today's // sentence case, so nothing changes until a theme sets it; the `blueprint` // theme sets `uppercase`, where signage-style labels are the point. Never // apply this to user-supplied content — shouting someone's data is not a // theme's decision, and `text-transform` is a presentational lie that // survives copy/paste as the original casing anyway. \"--ui-label-transform\": \"none\", // Numeral rendering for figures that change in place or stack into a column // — a score, a page number, a running clock. Defaults to `normal` // (proportional, as before); `tabular-nums` stops digits from jittering // horizontally as they tick, which the `blueprint` theme's spec-sheet // aesthetic wants everywhere. \"--ui-numeric\": \"normal\", }",
|
|
20349
20942
|
"description": "Design token values, sourced from Tailwind v4's default theme palette.\nEach entry maps a `--ui-*` custom property name to its default value.\nThese are the same values baked in as `var(--ui-*, <fallback>)` fallbacks\nthroughout component styles, so components render correctly with zero\nexternal CSS. Consumers may override any of these by setting the custom\nproperty on `:root` or an ancestor element (see `tokens.css`)."
|
|
20350
20943
|
},
|
|
20351
20944
|
{
|
|
@@ -20384,6 +20977,24 @@
|
|
|
20384
20977
|
"default": "{ // Ink over paper. --ui-text-muted is the same ink at ~65% over white rather // than a neutral gray, so the quiet text stays in the same warm family // instead of turning blue-gray beside the accent. \"--ui-text\": \"#17160f\", \"--ui-text-muted\": \"#686763\", \"--ui-surface\": \"#ffffff\", \"--ui-surface-muted\": \"#f0f0f0\", // ~55% ink over white. Darker than it looks like it needs to be, because a // border is often the only thing bounding a white-on-white control, and // WCAG 1.4.11 wants 3:1 against both adjacent surfaces for that: this is // 3.55:1 on white and 3.12:1 on the muted surface. The lighter ~40% ink // (#a2a29f) reads better but only reaches 2.56:1, and 1.5px of extra weight // does not buy an exemption. Still short of fully black, which at this width // would turn every bordered surface into a hard box. \"--ui-border\": \"#898883\", \"--ui-tooltip\": \"#17160f\", \"--ui-overlay\": \"rgb(23 22 15 / 0.45)\", // The \"just changed\" flash tints toward the accent instead of amber, which // is the one warm hue this palette has no room for. \"--ui-highlight\": \"#dcdcff\", \"--ui-primary\": \"#0000ff\", \"--ui-primary-hover\": \"#0000cc\", \"--ui-info\": \"#0000ff\", \"--ui-info-hover\": \"#0000cc\", \"--ui-on-accent\": \"#ffffff\", // Solid and crisp at the reference's own 2px, not the default translucent // 3px halo — a blurred ring is the one soft edge this theme has nowhere to // put. \"--ui-focus-ring\": \"0 0 0 2px #0000ff\", // Ink CTA that lights up blue on hover, and inverts its two stops while // pressed. The border is ink at every state so the button keeps a defining // edge even once the fill goes blue. \"--ui-button-background\": \"#17160f\", \"--ui-button-background-hover\": \"#0000ff\", \"--ui-button-background-active\": \"#0000cc\", \"--ui-button-border\": \"#17160f\", \"--ui-button-danger-border\": \"#b91c1c\", // Secondary is the reference's ghost button: no fill, ink border, a paper // wash on hover and an accent border to echo the primary's hover. \"--ui-button-secondary-border\": \"#17160f\", \"--ui-button-secondary-border-hover\": \"#0000ff\", \"--ui-button-secondary-background-hover\": \"#f0f0f0\", \"--ui-button-secondary-surface-muted\": \"#f0f0f0\", // Non-button accents that can only take a plain color (a native input's // accent-color, range-slider's track/thumb) follow --ui-primary, not the // ink button fill — those are selection marks, not calls to action. \"--ui-button-accent\": \"#0000ff\", \"--ui-radius\": \"0\", \"--ui-radius-sm\": \"0\", \"--ui-radius-pill\": \"0\", \"--ui-radius-circle\": \"0\", \"--ui-shadow\": \"0 0 0 1.5px rgb(23 22 15 / 0.24)\", \"--ui-shadow-lg\": \"0 0 0 1.5px #17160f\", \"--ui-border-width\": \"1.5px\", \"--ui-label-transform\": \"uppercase\", \"--ui-numeric\": \"tabular-nums\", \"--ui-font\": '\"Space Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace', }",
|
|
20385
20978
|
"description": "\"Blueprint\" theme overrides, applied via `data-theme=\"blueprint\"` on `<html>`\n(see `generate-tokens-css.mjs`) — forces `color-scheme: light` like every\nother non-dark theme, and restyles the light palette as a technical catalog\n/ spec sheet: warm near-black ink on white paper, one pure-blue accent,\nsquare corners, and structure carried entirely by hairline rules instead of\nshadows.\n\nIt is the widest theme in the system, and the reason three token axes exist\nthat no earlier theme needed:\n\n- `--ui-font` is retargeted to a monospace stack. `darkTokenValues` notes\n that shape and type tokens are theme-independent; `metro` already broke\n that for shape, and this breaks it for the type *family* only. Type\n *metrics* (size, weight, line height) remain unthemed in every theme —\n they encode hierarchy, which is not a stylistic choice. \"Space Mono\"\n leads the stack purely so a consumer who loads that webfont gets the\n reference face automatically; with no external CSS at all it falls\n straight through to the same system mono stack `--ui-font-mono` uses, so\n the theme still renders correctly on its own.\n- `--ui-border-width` goes to `1.5px`. Every border in this theme is doing\n the work a shadow does elsewhere, and at 1px those rules read as a faint\n table rather than as drawn structure.\n- `--ui-label-transform` goes to `uppercase`, which is what makes chrome\n micro-labels read as signage/spec-sheet keys. Only labels that name a\n region or column carry this — never user content.\n- `--ui-numeric` goes to `tabular-nums`, so figures line up in a column and\n do not jitter as they change.\n\nButtons are deliberately NOT the accent color. `--ui-primary` stays pure\nblue because it drives accents everywhere else (active tab underlines,\nselected states, links, the certification-style tints), but the primary\nbutton fill is overridden to ink through the `--ui-button-*` hooks and only\nturns blue on hover — a black-on-white CTA that lights up is the\ncatalog-print look, and a large pure-blue fill next to blue accents would\nflatten the two roles into one. That split is exactly what those hooks\nexist for (see `gradientTokenValues` above for the same technique).\n\nSemantic `danger`/`success`/`warning` keep their default hues: they encode\nmeaning rather than style, and the reference's blue-only restraint is an\neditorial choice a component library cannot make on a consumer's behalf.\n`--ui-info` is the exception — it is \"neutral notice\", which in this theme\nis precisely the accent, and the default sky blue would otherwise sit a few\ndegrees off the pure blue beside it and read as a mistake.\n\nShadows flatten to a hard ink ring rather than to `none`, for the same\nreason `metro` does it: `slide-panel` has no border of its own and would\notherwise lose its edge entirely."
|
|
20386
20979
|
},
|
|
20980
|
+
{
|
|
20981
|
+
"kind": "variable",
|
|
20982
|
+
"name": "developerDarkTokenValues",
|
|
20983
|
+
"type": {
|
|
20984
|
+
"text": "Record<string, string>"
|
|
20985
|
+
},
|
|
20986
|
+
"default": "{ \"--ui-primary\": \"#83c167\", \"--ui-primary-hover\": \"#a3d488\", \"--ui-info\": \"#e08a4a\", \"--ui-info-hover\": \"#e8a06a\", \"--ui-danger\": \"#e0705f\", \"--ui-danger-hover\": \"#e88b7d\", \"--ui-success\": \"#83c167\", \"--ui-warning\": \"#d8a657\", \"--ui-warning-hover\": \"#e0b877\", // Dark ink, not white — the accent itself is light enough (8.3:1 against // it) to carry dark text, and that ink-on-green fill is the reference's own // CTA look. \"--ui-on-accent\": \"#0e0d0b\", \"--ui-text\": \"#d8d3c5\", \"--ui-text-muted\": \"#8b8270\", \"--ui-border\": \"#211f19\", \"--ui-surface\": \"#0e0d0b\", // Lighter than --ui-surface, same direction as darkTokenValues' own // surface-muted (an elevated panel reads lighter, not darker, once the base // is already near-black). \"--ui-surface-muted\": \"#161410\", // A translucent accent wash rather than a hand-picked solid, so the flash // stays legible without depending on exactly which dark literal the surface // ends up at. \"--ui-highlight\": \"rgb(131 193 103 / 0.25)\", \"--ui-tooltip\": \"#050504\", \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.12)\", \"--ui-overlay\": \"rgb(5 4 4 / 0.6)\", \"--ui-focus-ring\": \"0 0 0 3px rgb(131 193 103 / 0.45)\", \"--ui-radius\": \"0.25rem\", \"--ui-radius-sm\": \"0.125rem\", \"--ui-numeric\": \"tabular-nums\", \"--ui-font\": '\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace', }",
|
|
20987
|
+
"description": "\"Developer dark\" theme overrides, applied via `data-theme=\"developer-dark\"`\non `<html>` (see `generate-tokens-css.mjs`) — a true dark palette, not one\nlayered on the light palette, so it is handled like `\"dark\"` itself: its own\nexplicit `:root[data-theme=\"developer-dark\"]` block layered over\n`darkTokenValues` (not the light palette), needing no dark-media-query\nexclusion (see `scripts/tokens-css.mjs`'s `darkThemes` list, which merges\nthis map over `darkTokenValues` before emitting the block). Only tokens\nthat differ from `darkTokenValues` need to be listed here; anything not\nrepeated falls through to the same dark default `\"dark\"` itself uses, which\nis why this list happens to repeat nearly all of `darkTokenValues`'s own\nkeys — a dark theme rarely agrees with the *other* dark theme's colors.\nShape/type tokens not present in `darkTokenValues` either (radius-pill,\nshadow, border-width, label-transform) fall through one level further, to\nthe light palette's defaults, via the ordinary `:root` cascade.\n\nModeled on a real reference (a monospace, editor/terminal-chrome developer\ntool marketing page): near-black warm ink-well background, a warm off-white\nforeground, and one accent green used for links, focus rings, and button\nfills — with dark ink (not white) as the fill's foreground, since the\naccent itself is light enough to carry dark text at high contrast (8.3:1),\nmatching the reference's own \"ink CTA that fills with the accent\" button.\n\nLike `blueprintTokenValues`, this is a \"wide\" theme that also retunes shape\nand type: `--ui-font` retargets to a monospace stack (falls through to the\nsystem mono stack with zero webfont, same technique as blueprint's \"Space\nMono\"), corners are small but not squared (2–4px, not 0 — this theme reads\nas a dark code editor, not blueprint's flattened spec sheet), and\n`--ui-numeric: tabular-nums` keeps the diff/stat figures from jittering.\nUnlike `blueprint`, chrome labels stay sentence-case (`--ui-label-transform`\nis left at its default) — the reference's own section labels are lowercase\n`snake_case`, not shouted."
|
|
20988
|
+
},
|
|
20989
|
+
{
|
|
20990
|
+
"kind": "variable",
|
|
20991
|
+
"name": "developerLightTokenValues",
|
|
20992
|
+
"type": {
|
|
20993
|
+
"text": "Record<string, string>"
|
|
20994
|
+
},
|
|
20995
|
+
"default": "{ \"--ui-text\": \"#1a1813\", \"--ui-text-muted\": \"#6b6255\", \"--ui-surface\": \"#f3eee1\", \"--ui-surface-muted\": \"#e8e1cf\", \"--ui-border\": \"#d9d0ba\", \"--ui-tooltip\": \"#1a1813\", \"--ui-overlay\": \"rgb(26 24 19 / 0.45)\", \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-highlight\": \"#f0dfa0\", \"--ui-primary\": \"#457032\", \"--ui-primary-hover\": \"#3a6329\", \"--ui-info\": \"#8f5124\", \"--ui-info-hover\": \"#7a4420\", \"--ui-danger\": \"#a8402f\", \"--ui-danger-hover\": \"#8c3625\", \"--ui-success\": \"#457032\", \"--ui-warning\": \"#7c5d24\", \"--ui-warning-hover\": \"#5e4419\", \"--ui-focus-ring\": \"0 0 0 3px rgb(69 112 50 / 0.35)\", \"--ui-radius\": \"0.25rem\", \"--ui-radius-sm\": \"0.125rem\", \"--ui-numeric\": \"tabular-nums\", \"--ui-font\": '\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace', }",
|
|
20996
|
+
"description": "\"Developer light\" theme overrides, applied via `data-theme=\"developer-light\"`\non `<html>` (see `generate-tokens-css.mjs`) — the light counterpart to\n`developerDarkTokenValues` above. The reference this pair is modeled on\nnever shipped a light mode (its own light-mode toggle is a running joke\nthat refuses to switch); this theme exists anyway, built from the two\ncolors that joke's own tooltip already uses (a warm cream bubble with near-\nblack ink) — the closest thing the reference gives to \"what its light mode\nwould have looked like.\"\n\nLayered on the light palette like `gradient`/`metro`/`blueprint` (needs the\ndark-media-query exclusion, hence `lightThemes` in `generate-tokens-css.mjs`\nrather than `darkThemes`), so only the differences from `tokenValues` are\nlisted here — same convention as `blueprintTokenValues`.\n\nThe accent green is darkened one step further than `developerDarkTokenValues`'s\nbrighter green — that brighter green fails contrast against a light paper\nboth as plain text (1.85:1) and as a white-on-fill button (2.15:1); this\ndarker step clears both (5.0:1 text, 5.8:1 white-on-fill), so this theme\nkeeps `--ui-on-accent` at its default white rather than reusing the dark\ntheme's ink-on-accent trick, which does not have enough contrast at this\ndarker shade (3.65:1 unbolded)."
|
|
20997
|
+
},
|
|
20387
20998
|
{
|
|
20388
20999
|
"kind": "variable",
|
|
20389
21000
|
"name": "tokens",
|
|
@@ -20432,6 +21043,22 @@
|
|
|
20432
21043
|
"module": "src/tokens.ts"
|
|
20433
21044
|
}
|
|
20434
21045
|
},
|
|
21046
|
+
{
|
|
21047
|
+
"kind": "js",
|
|
21048
|
+
"name": "developerDarkTokenValues",
|
|
21049
|
+
"declaration": {
|
|
21050
|
+
"name": "developerDarkTokenValues",
|
|
21051
|
+
"module": "src/tokens.ts"
|
|
21052
|
+
}
|
|
21053
|
+
},
|
|
21054
|
+
{
|
|
21055
|
+
"kind": "js",
|
|
21056
|
+
"name": "developerLightTokenValues",
|
|
21057
|
+
"declaration": {
|
|
21058
|
+
"name": "developerLightTokenValues",
|
|
21059
|
+
"module": "src/tokens.ts"
|
|
21060
|
+
}
|
|
21061
|
+
},
|
|
20435
21062
|
{
|
|
20436
21063
|
"kind": "js",
|
|
20437
21064
|
"name": "tokens",
|
|
@@ -22086,6 +22713,70 @@
|
|
|
22086
22713
|
}
|
|
22087
22714
|
]
|
|
22088
22715
|
},
|
|
22716
|
+
{
|
|
22717
|
+
"kind": "javascript-module",
|
|
22718
|
+
"path": "src/window-chrome.ts",
|
|
22719
|
+
"declarations": [
|
|
22720
|
+
{
|
|
22721
|
+
"kind": "class",
|
|
22722
|
+
"description": "Sticky editor/terminal-style chrome bar for the top edge of a page or panel:\nthree decorative traffic-light dots, a filename-style label, and a\nright-aligned actions slot for controls such as a theme toggle.\n\nThe text property is named `label` rather than `title`, matching\n`page-header`'s text-property precedent and avoiding confusion with the\nglobal HTML `title` tooltip attribute. The dots are purely decorative, are\nhidden from assistive technology, and reuse the semantic `--ui-danger`,\n`--ui-warning`, and `--ui-success` tokens rather than introducing\nchrome-only colors.\n\nIt sticks with `position: sticky; top: 0`, so callers must place it at the\ntop of the element that actually scrolls. Its `z-index: 1` is a deliberate\nplain literal: just enough to keep the bar above in-flow content as it\nsticks, while staying far below the shared overlay stack (dialogs/popovers\nstart at 100), so it does not participate in `utils/layer-stack.ts`.",
|
|
22723
|
+
"name": "WindowChrome",
|
|
22724
|
+
"slots": [
|
|
22725
|
+
{
|
|
22726
|
+
"description": "Optional right-aligned controls such as theme or view toggles.",
|
|
22727
|
+
"name": "actions"
|
|
22728
|
+
}
|
|
22729
|
+
],
|
|
22730
|
+
"members": [
|
|
22731
|
+
{
|
|
22732
|
+
"kind": "field",
|
|
22733
|
+
"name": "label",
|
|
22734
|
+
"type": {
|
|
22735
|
+
"text": "string"
|
|
22736
|
+
},
|
|
22737
|
+
"default": "\"\"",
|
|
22738
|
+
"description": "Filename-style text shown beside the decorative dots.",
|
|
22739
|
+
"attribute": "label"
|
|
22740
|
+
}
|
|
22741
|
+
],
|
|
22742
|
+
"attributes": [
|
|
22743
|
+
{
|
|
22744
|
+
"name": "label",
|
|
22745
|
+
"type": {
|
|
22746
|
+
"text": "string"
|
|
22747
|
+
},
|
|
22748
|
+
"default": "\"\"",
|
|
22749
|
+
"description": "Filename-style text shown beside the decorative dots.",
|
|
22750
|
+
"fieldName": "label"
|
|
22751
|
+
}
|
|
22752
|
+
],
|
|
22753
|
+
"superclass": {
|
|
22754
|
+
"name": "LitElement",
|
|
22755
|
+
"package": "lit"
|
|
22756
|
+
},
|
|
22757
|
+
"tagName": "window-chrome",
|
|
22758
|
+
"customElement": true
|
|
22759
|
+
}
|
|
22760
|
+
],
|
|
22761
|
+
"exports": [
|
|
22762
|
+
{
|
|
22763
|
+
"kind": "js",
|
|
22764
|
+
"name": "WindowChrome",
|
|
22765
|
+
"declaration": {
|
|
22766
|
+
"name": "WindowChrome",
|
|
22767
|
+
"module": "src/window-chrome.ts"
|
|
22768
|
+
}
|
|
22769
|
+
},
|
|
22770
|
+
{
|
|
22771
|
+
"kind": "custom-element-definition",
|
|
22772
|
+
"name": "window-chrome",
|
|
22773
|
+
"declaration": {
|
|
22774
|
+
"name": "WindowChrome",
|
|
22775
|
+
"module": "src/window-chrome.ts"
|
|
22776
|
+
}
|
|
22777
|
+
}
|
|
22778
|
+
]
|
|
22779
|
+
},
|
|
22089
22780
|
{
|
|
22090
22781
|
"kind": "javascript-module",
|
|
22091
22782
|
"path": "src/utils/calendar.ts",
|