@f-ewald/components 1.40.3 → 1.42.2

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.
Files changed (100) hide show
  1. package/README.md +14 -4
  2. package/custom-elements.json +2017 -131
  3. package/dist/app-shell.js +1 -1
  4. package/dist/app-shell.js.map +1 -1
  5. package/dist/blink-cursor.d.ts +27 -0
  6. package/dist/blink-cursor.d.ts.map +1 -0
  7. package/dist/blink-cursor.js +78 -0
  8. package/dist/blink-cursor.js.map +1 -0
  9. package/dist/code-diff.d.ts +41 -0
  10. package/dist/code-diff.d.ts.map +1 -0
  11. package/dist/code-diff.js +161 -0
  12. package/dist/code-diff.js.map +1 -0
  13. package/dist/comment-label.d.ts +26 -0
  14. package/dist/comment-label.d.ts.map +1 -0
  15. package/dist/comment-label.js +81 -0
  16. package/dist/comment-label.js.map +1 -0
  17. package/dist/confirm-dialog.d.ts +12 -6
  18. package/dist/confirm-dialog.d.ts.map +1 -1
  19. package/dist/confirm-dialog.js +50 -88
  20. package/dist/confirm-dialog.js.map +1 -1
  21. package/dist/dag-graph.d.ts +161 -0
  22. package/dist/dag-graph.d.ts.map +1 -0
  23. package/dist/dag-graph.js +724 -0
  24. package/dist/dag-graph.js.map +1 -0
  25. package/dist/icons.d.ts +16 -0
  26. package/dist/icons.d.ts.map +1 -1
  27. package/dist/icons.js +16 -0
  28. package/dist/icons.js.map +1 -1
  29. package/dist/index.d.ts +9 -1
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +9 -1
  32. package/dist/index.js.map +1 -1
  33. package/dist/mcp-server.js +1 -1
  34. package/dist/mcp-server.js.map +1 -1
  35. package/dist/modal-dialog.d.ts +16 -13
  36. package/dist/modal-dialog.d.ts.map +1 -1
  37. package/dist/modal-dialog.js +69 -104
  38. package/dist/modal-dialog.js.map +1 -1
  39. package/dist/photo-gallery.js +1 -1
  40. package/dist/photo-gallery.js.map +1 -1
  41. package/dist/price-history-chart.js +1 -1
  42. package/dist/price-history-chart.js.map +1 -1
  43. package/dist/progress-bar.d.ts.map +1 -1
  44. package/dist/progress-bar.js +23 -17
  45. package/dist/progress-bar.js.map +1 -1
  46. package/dist/slide-panel.d.ts +3 -3
  47. package/dist/slide-panel.d.ts.map +1 -1
  48. package/dist/slide-panel.js +38 -22
  49. package/dist/slide-panel.js.map +1 -1
  50. package/dist/stat-strip.d.ts +30 -0
  51. package/dist/stat-strip.d.ts.map +1 -0
  52. package/dist/stat-strip.js +111 -0
  53. package/dist/stat-strip.js.map +1 -0
  54. package/dist/step-ladder.d.ts +46 -0
  55. package/dist/step-ladder.d.ts.map +1 -0
  56. package/dist/step-ladder.js +175 -0
  57. package/dist/step-ladder.js.map +1 -0
  58. package/dist/terminal-block.d.ts +45 -0
  59. package/dist/terminal-block.d.ts.map +1 -0
  60. package/dist/terminal-block.js +113 -0
  61. package/dist/terminal-block.js.map +1 -0
  62. package/dist/toast-notification.d.ts +7 -0
  63. package/dist/toast-notification.d.ts.map +1 -1
  64. package/dist/toast-notification.js +34 -0
  65. package/dist/toast-notification.js.map +1 -1
  66. package/dist/tokens.css +64 -1
  67. package/dist/tokens.d.ts +58 -0
  68. package/dist/tokens.d.ts.map +1 -1
  69. package/dist/tokens.js +145 -0
  70. package/dist/tokens.js.map +1 -1
  71. package/dist/ui-button.js +2 -2
  72. package/dist/ui-button.js.map +1 -1
  73. package/dist/utils/dag-layout.d.ts +60 -0
  74. package/dist/utils/dag-layout.d.ts.map +1 -0
  75. package/dist/utils/dag-layout.js +80 -0
  76. package/dist/utils/dag-layout.js.map +1 -0
  77. package/dist/window-chrome.d.ts +34 -0
  78. package/dist/window-chrome.d.ts.map +1 -0
  79. package/dist/window-chrome.js +141 -0
  80. package/dist/window-chrome.js.map +1 -0
  81. package/docs/app-shell.md +1 -1
  82. package/docs/blink-cursor.md +45 -0
  83. package/docs/code-diff.md +64 -0
  84. package/docs/comment-label.md +49 -0
  85. package/docs/confirm-dialog.md +4 -3
  86. package/docs/dag-graph.md +101 -0
  87. package/docs/design-language.md +43 -21
  88. package/docs/icons.md +8 -0
  89. package/docs/layouts/marketing-landing.md +102 -0
  90. package/docs/modal-dialog.md +9 -9
  91. package/docs/photo-gallery.md +1 -1
  92. package/docs/price-history-chart.md +1 -0
  93. package/docs/slide-panel.md +2 -2
  94. package/docs/stat-strip.md +57 -0
  95. package/docs/step-ladder.md +63 -0
  96. package/docs/terminal-block.md +69 -0
  97. package/docs/ui-button.md +2 -0
  98. package/docs/window-chrome.md +64 -0
  99. package/llms.txt +282 -18
  100. package/package.json +2 -1
@@ -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: overlay + centered card with a slotted body,\nan optional error line, and Cancel/Confirm actions. Instant `display:none`\n→ `display:flex` toggle (no transitions). 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.",
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": "_previousFocus",
5443
+ "name": "_dialog",
5206
5444
  "type": {
5207
- "text": "HTMLElement | null"
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": "_onDocumentFocusIn",
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": "_onWindowKeydown",
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": [
@@ -6329,88 +6559,872 @@
6329
6559
  },
6330
6560
  {
6331
6561
  "kind": "javascript-module",
6332
- "path": "src/data-table.ts",
6562
+ "path": "src/dag-graph.ts",
6333
6563
  "declarations": [
6334
6564
  {
6335
6565
  "kind": "class",
6336
- "description": "A generic, presentational table shell: renders a `<thead>` from `columns`\nand one `<tr>` per entry in `rows`, with each cell's content produced by\n`renderCell` (default: plain property lookup on the row object). Knows\nnothing about what a \"row\" means — callers own the data shape entirely.\n\nOptional `rowHref` makes whole rows clickable (navigating via `location.hash`),\nwithout hijacking clicks on nested interactive elements (links/buttons) a\ncell's rendered content might contain.",
6337
- "name": "DataTable",
6566
+ "description": "Interactive layered drawing of a directed graph — dependencies, pipelines, or any node-link data.\n\nNodes are placed in layers (via dagre) so edges flow left to right (or top to bottom with\n`direction=\"TB\"`); cycles are allowed, and the edges closing them are drawn dashed and point backward.\nEach node is a compact card sized to its label, with an optional icon, color, and border style from\n`kinds`. The whole graph is shown when it fits at a readable zoom; otherwise the selected node is centered at\n100%. Drag to pan; pinch or Ctrl/⌘ + wheel to zoom (a plain wheel scrolls the page). With keyboard\nfocus on the graph, arrow keys pan, `+`/`-` zoom, and `0` fits the graph. Clicking a node, or pressing\nEnter/Space on it, selects it. A toolbar in the top-right corner offers the `controls` you enable.\n\nSet `static` to present a fixed picture: the graph is always fitted into view, panning and zooming\nare off, and the toolbar is hidden; nodes can still be selected.\n\nColors can be changed with these custom properties: `--dag-node-background`, `--dag-node-text`,\n`--dag-edge-color`, `--dag-selected-color`, and `--dag-highlight-color`; `--dag-graph-height` sets the\nheight (default `24rem`).",
6567
+ "name": "DagGraph",
6568
+ "slots": [
6569
+ {
6570
+ "description": "Shown when there are no nodes.",
6571
+ "name": "empty"
6572
+ }
6573
+ ],
6338
6574
  "members": [
6339
6575
  {
6340
6576
  "kind": "field",
6341
- "name": "columns",
6577
+ "name": "nodes",
6342
6578
  "type": {
6343
- "text": "DataTableColumn[]"
6579
+ "text": "DagNode[]"
6344
6580
  },
6345
6581
  "default": "[]",
6346
- "description": "Column headers, in display order."
6582
+ "description": "Nodes to draw.",
6583
+ "attribute": "nodes"
6347
6584
  },
6348
6585
  {
6349
6586
  "kind": "field",
6350
- "name": "rows",
6587
+ "name": "edges",
6351
6588
  "type": {
6352
- "text": "unknown[]"
6589
+ "text": "DagEdge[]"
6353
6590
  },
6354
6591
  "default": "[]",
6355
- "description": "Row data; opaque to this component beyond what `renderCell` does with it."
6592
+ "description": "Directed edges between `nodes`; edges with an unknown endpoint or to the node itself are ignored.",
6593
+ "attribute": "edges"
6356
6594
  },
6357
6595
  {
6358
6596
  "kind": "field",
6359
- "name": "rowKey",
6597
+ "name": "kinds",
6360
6598
  "type": {
6361
- "text": "(row: unknown, index: number) => string | number"
6599
+ "text": "Record<string, DagNodeKind>"
6362
6600
  },
6363
- "description": "Stable identity for `rows[i]`, used as the repeat-directive key. Defaults to the row's index."
6601
+ "default": "{}",
6602
+ "description": "Presentation per node `kind`: legend label, color, icon, and border style."
6364
6603
  },
6365
6604
  {
6366
6605
  "kind": "field",
6367
- "name": "renderCell",
6606
+ "name": "selected",
6368
6607
  "type": {
6369
- "text": "(row: unknown, key: string) => unknown"
6608
+ "text": "string | null"
6370
6609
  },
6371
- "description": "Produces a cell's rendered content for `row`/`column.key`. Default: `row[key]`."
6610
+ "default": "null",
6611
+ "description": "Id of the selected node. Selecting a node updates it; when it changes to a node outside the visible area,\nthe view follows.",
6612
+ "attribute": "selected",
6613
+ "reflects": true
6372
6614
  },
6373
6615
  {
6374
6616
  "kind": "field",
6375
- "name": "rowHref",
6617
+ "name": "direction",
6376
6618
  "type": {
6377
- "text": "((row: unknown) => string | null) | null"
6619
+ "text": "DagDirection"
6378
6620
  },
6379
- "default": "null",
6380
- "description": "When set, clicking a row (outside any nested link/button) navigates to this hash."
6621
+ "default": "\"LR\"",
6622
+ "description": "Layer direction: `LR` (left to right) or `TB` (top to bottom).",
6623
+ "attribute": "direction",
6624
+ "reflects": true
6381
6625
  },
6382
6626
  {
6383
6627
  "kind": "field",
6384
- "name": "rowLabel",
6628
+ "name": "label",
6385
6629
  "type": {
6386
- "text": "((row: unknown) => string) | null"
6630
+ "text": "string"
6387
6631
  },
6388
- "default": "null",
6389
- "description": "Accessible label for a row's keyboard link; defaults to primitive cell values."
6632
+ "default": "\"Directed graph\"",
6633
+ "description": "Accessible name of the graph; the node and edge counts are appended.",
6634
+ "attribute": "label"
6390
6635
  },
6391
6636
  {
6392
- "kind": "method",
6393
- "name": "#onRowClick",
6394
- "privacy": "private",
6395
- "return": {
6396
- "type": {
6397
- "text": "void"
6398
- }
6637
+ "kind": "field",
6638
+ "name": "legend",
6639
+ "type": {
6640
+ "text": "boolean"
6399
6641
  },
6400
- "parameters": [
6401
- {
6402
- "name": "row",
6403
- "type": {
6404
- "text": "unknown"
6405
- }
6406
- },
6407
- {
6408
- "name": "e",
6409
- "type": {
6410
- "text": "MouseEvent"
6411
- }
6412
- }
6413
- ]
6642
+ "default": "false",
6643
+ "description": "Shows a legend of `kinds` below the graph.",
6644
+ "attribute": "legend",
6645
+ "reflects": true
6646
+ },
6647
+ {
6648
+ "kind": "field",
6649
+ "name": "controls",
6650
+ "type": {
6651
+ "text": "string"
6652
+ },
6653
+ "default": "\"zoom fit center\"",
6654
+ "description": "Space-separated toolbar controls to show: any of `zoom`, `fit`, `center`, and `direction`, in that\norder. An empty value hides the toolbar.",
6655
+ "attribute": "controls",
6656
+ "reflects": true
6657
+ },
6658
+ {
6659
+ "kind": "field",
6660
+ "name": "isStatic",
6661
+ "type": {
6662
+ "text": "boolean"
6663
+ },
6664
+ "default": "false",
6665
+ "description": "Presents a static picture: always fitted, with panning, zooming, and the toolbar turned off.",
6666
+ "attribute": "static",
6667
+ "reflects": true
6668
+ },
6669
+ {
6670
+ "kind": "field",
6671
+ "name": "_view",
6672
+ "type": {
6673
+ "text": "View"
6674
+ },
6675
+ "privacy": "private",
6676
+ "default": "{ x: 0, y: 0, k: 1 }"
6677
+ },
6678
+ {
6679
+ "kind": "field",
6680
+ "name": "_hovered",
6681
+ "type": {
6682
+ "text": "string | null"
6683
+ },
6684
+ "privacy": "private",
6685
+ "default": "null"
6686
+ },
6687
+ {
6688
+ "kind": "field",
6689
+ "name": "_panning",
6690
+ "type": {
6691
+ "text": "boolean"
6692
+ },
6693
+ "privacy": "private",
6694
+ "default": "false"
6695
+ },
6696
+ {
6697
+ "kind": "field",
6698
+ "name": "_svg",
6699
+ "type": {
6700
+ "text": "SVGSVGElement"
6701
+ },
6702
+ "privacy": "private"
6703
+ },
6704
+ {
6705
+ "kind": "field",
6706
+ "name": "_layout",
6707
+ "type": {
6708
+ "text": "DagLayout"
6709
+ },
6710
+ "privacy": "private",
6711
+ "default": "{ nodes: [], edges: [] }"
6712
+ },
6713
+ {
6714
+ "kind": "field",
6715
+ "name": "_positions",
6716
+ "privacy": "private",
6717
+ "default": "new Map<string, DagLayoutNode>()"
6718
+ },
6719
+ {
6720
+ "kind": "field",
6721
+ "name": "_size",
6722
+ "type": {
6723
+ "text": "object"
6724
+ },
6725
+ "privacy": "private",
6726
+ "default": "{ width: 0, height: 0 }"
6727
+ },
6728
+ {
6729
+ "kind": "field",
6730
+ "name": "_viewReady",
6731
+ "type": {
6732
+ "text": "boolean"
6733
+ },
6734
+ "privacy": "private",
6735
+ "default": "false"
6736
+ },
6737
+ {
6738
+ "kind": "field",
6739
+ "name": "_lastSelected",
6740
+ "type": {
6741
+ "text": "string | null"
6742
+ },
6743
+ "privacy": "private",
6744
+ "default": "null"
6745
+ },
6746
+ {
6747
+ "kind": "field",
6748
+ "name": "_lastDirection",
6749
+ "type": {
6750
+ "text": "DagDirection | null"
6751
+ },
6752
+ "privacy": "private",
6753
+ "default": "null"
6754
+ },
6755
+ {
6756
+ "kind": "field",
6757
+ "name": "_measure",
6758
+ "type": {
6759
+ "text": "MeasureText"
6760
+ },
6761
+ "privacy": "private",
6762
+ "default": "approximateTextWidth"
6763
+ },
6764
+ {
6765
+ "kind": "field",
6766
+ "name": "_measureFont",
6767
+ "type": {
6768
+ "text": "string"
6769
+ },
6770
+ "privacy": "private",
6771
+ "default": "\"\""
6772
+ },
6773
+ {
6774
+ "kind": "field",
6775
+ "name": "_resizeObserver",
6776
+ "type": {
6777
+ "text": "ResizeObserver | null"
6778
+ },
6779
+ "privacy": "private",
6780
+ "default": "null"
6781
+ },
6782
+ {
6783
+ "kind": "field",
6784
+ "name": "_drag",
6785
+ "type": {
6786
+ "text": "{ pointerId: number; x: number; y: number; view: View; moved: boolean } | null"
6787
+ },
6788
+ "privacy": "private",
6789
+ "default": "null"
6790
+ },
6791
+ {
6792
+ "kind": "field",
6793
+ "name": "_suppressClick",
6794
+ "type": {
6795
+ "text": "boolean"
6796
+ },
6797
+ "privacy": "private",
6798
+ "default": "false"
6799
+ },
6800
+ {
6801
+ "kind": "method",
6802
+ "name": "fit",
6803
+ "return": {
6804
+ "type": {
6805
+ "text": "void"
6806
+ }
6807
+ },
6808
+ "description": "Fits the whole graph into view, never enlarging it beyond 100%."
6809
+ },
6810
+ {
6811
+ "kind": "method",
6812
+ "name": "center",
6813
+ "return": {
6814
+ "type": {
6815
+ "text": "void"
6816
+ }
6817
+ },
6818
+ "parameters": [
6819
+ {
6820
+ "name": "id",
6821
+ "default": "this.selected",
6822
+ "type": {
6823
+ "text": "string | null"
6824
+ }
6825
+ }
6826
+ ],
6827
+ "description": "Centers the view on a node (the selected one by default) at 100% zoom."
6828
+ },
6829
+ {
6830
+ "kind": "method",
6831
+ "name": "zoomBy",
6832
+ "return": {
6833
+ "type": {
6834
+ "text": "void"
6835
+ }
6836
+ },
6837
+ "parameters": [
6838
+ {
6839
+ "name": "factor",
6840
+ "type": {
6841
+ "text": "number"
6842
+ }
6843
+ }
6844
+ ],
6845
+ "description": "Zooms by `factor` (e.g. `1.25` or `0.8`) around the center of the view."
6846
+ },
6847
+ {
6848
+ "kind": "field",
6849
+ "name": "_controls",
6850
+ "type": {
6851
+ "text": "DagControl[]"
6852
+ },
6853
+ "privacy": "private",
6854
+ "description": "The enabled `controls`, in their fixed order; none in static mode or without nodes.",
6855
+ "readonly": true
6856
+ },
6857
+ {
6858
+ "kind": "method",
6859
+ "name": "_renderToolbar",
6860
+ "privacy": "private"
6861
+ },
6862
+ {
6863
+ "kind": "method",
6864
+ "name": "_toggleDirection",
6865
+ "privacy": "private",
6866
+ "return": {
6867
+ "type": {
6868
+ "text": "void"
6869
+ }
6870
+ }
6871
+ },
6872
+ {
6873
+ "kind": "method",
6874
+ "name": "_renderEdges",
6875
+ "privacy": "private",
6876
+ "return": {
6877
+ "type": {
6878
+ "text": "SVGTemplateResult[]"
6879
+ }
6880
+ }
6881
+ },
6882
+ {
6883
+ "kind": "method",
6884
+ "name": "_renderNode",
6885
+ "privacy": "private",
6886
+ "return": {
6887
+ "type": {
6888
+ "text": "SVGTemplateResult"
6889
+ }
6890
+ },
6891
+ "parameters": [
6892
+ {
6893
+ "name": "position",
6894
+ "type": {
6895
+ "text": "DagLayoutNode"
6896
+ }
6897
+ }
6898
+ ]
6899
+ },
6900
+ {
6901
+ "kind": "method",
6902
+ "name": "_renderLegend",
6903
+ "privacy": "private"
6904
+ },
6905
+ {
6906
+ "kind": "method",
6907
+ "name": "_edgeKey",
6908
+ "privacy": "private",
6909
+ "return": {
6910
+ "type": {
6911
+ "text": "string"
6912
+ }
6913
+ },
6914
+ "parameters": [
6915
+ {
6916
+ "name": "edge",
6917
+ "type": {
6918
+ "text": "{ source: string; target: string }"
6919
+ }
6920
+ }
6921
+ ]
6922
+ },
6923
+ {
6924
+ "kind": "method",
6925
+ "name": "_layoutChanged",
6926
+ "privacy": "private",
6927
+ "return": {
6928
+ "type": {
6929
+ "text": "boolean"
6930
+ }
6931
+ },
6932
+ "parameters": [
6933
+ {
6934
+ "name": "changed",
6935
+ "type": {
6936
+ "text": "PropertyValues<this>"
6937
+ }
6938
+ }
6939
+ ]
6940
+ },
6941
+ {
6942
+ "kind": "method",
6943
+ "name": "_relayout",
6944
+ "privacy": "private",
6945
+ "return": {
6946
+ "type": {
6947
+ "text": "void"
6948
+ }
6949
+ },
6950
+ "description": "Lays the graph out again, keeping the selected node where it was on screen."
6951
+ },
6952
+ {
6953
+ "kind": "method",
6954
+ "name": "_initView",
6955
+ "privacy": "private",
6956
+ "return": {
6957
+ "type": {
6958
+ "text": "void"
6959
+ }
6960
+ }
6961
+ },
6962
+ {
6963
+ "kind": "method",
6964
+ "name": "_frame",
6965
+ "privacy": "private",
6966
+ "return": {
6967
+ "type": {
6968
+ "text": "void"
6969
+ }
6970
+ },
6971
+ "description": "Shows the whole graph when it fits at a readable zoom (always, when static); otherwise centers the selected\nnode at 100%."
6972
+ },
6973
+ {
6974
+ "kind": "method",
6975
+ "name": "_revealSelected",
6976
+ "privacy": "private",
6977
+ "return": {
6978
+ "type": {
6979
+ "text": "void"
6980
+ }
6981
+ },
6982
+ "description": "Brings the selected node into view if it is outside the visible area."
6983
+ },
6984
+ {
6985
+ "kind": "method",
6986
+ "name": "_updateMeasure",
6987
+ "privacy": "private",
6988
+ "return": {
6989
+ "type": {
6990
+ "text": "void"
6991
+ }
6992
+ },
6993
+ "description": "Measures labels with the host's actual font, so themes with other fonts still size cards correctly."
6994
+ },
6995
+ {
6996
+ "kind": "method",
6997
+ "name": "_resize",
6998
+ "privacy": "private",
6999
+ "return": {
7000
+ "type": {
7001
+ "text": "void"
7002
+ }
7003
+ },
7004
+ "parameters": [
7005
+ {
7006
+ "name": "rect",
7007
+ "type": {
7008
+ "text": "DOMRectReadOnly | undefined"
7009
+ }
7010
+ }
7011
+ ]
7012
+ },
7013
+ {
7014
+ "kind": "method",
7015
+ "name": "_clamp",
7016
+ "privacy": "private",
7017
+ "return": {
7018
+ "type": {
7019
+ "text": "number"
7020
+ }
7021
+ },
7022
+ "parameters": [
7023
+ {
7024
+ "name": "k",
7025
+ "type": {
7026
+ "text": "number"
7027
+ }
7028
+ }
7029
+ ]
7030
+ },
7031
+ {
7032
+ "kind": "method",
7033
+ "name": "_centerOn",
7034
+ "privacy": "private",
7035
+ "return": {
7036
+ "type": {
7037
+ "text": "void"
7038
+ }
7039
+ },
7040
+ "parameters": [
7041
+ {
7042
+ "name": "point",
7043
+ "type": {
7044
+ "text": "DagPoint"
7045
+ }
7046
+ },
7047
+ {
7048
+ "name": "k",
7049
+ "type": {
7050
+ "text": "number"
7051
+ }
7052
+ }
7053
+ ]
7054
+ },
7055
+ {
7056
+ "kind": "method",
7057
+ "name": "_zoomAround",
7058
+ "privacy": "private",
7059
+ "return": {
7060
+ "type": {
7061
+ "text": "void"
7062
+ }
7063
+ },
7064
+ "parameters": [
7065
+ {
7066
+ "name": "screenX",
7067
+ "type": {
7068
+ "text": "number"
7069
+ }
7070
+ },
7071
+ {
7072
+ "name": "screenY",
7073
+ "type": {
7074
+ "text": "number"
7075
+ }
7076
+ },
7077
+ {
7078
+ "name": "factor",
7079
+ "type": {
7080
+ "text": "number"
7081
+ }
7082
+ }
7083
+ ]
7084
+ },
7085
+ {
7086
+ "kind": "method",
7087
+ "name": "_activate",
7088
+ "privacy": "private",
7089
+ "return": {
7090
+ "type": {
7091
+ "text": "void"
7092
+ }
7093
+ },
7094
+ "parameters": [
7095
+ {
7096
+ "name": "id",
7097
+ "type": {
7098
+ "text": "string"
7099
+ }
7100
+ }
7101
+ ]
7102
+ },
7103
+ {
7104
+ "kind": "method",
7105
+ "name": "_onNodeKey",
7106
+ "privacy": "private",
7107
+ "return": {
7108
+ "type": {
7109
+ "text": "void"
7110
+ }
7111
+ },
7112
+ "parameters": [
7113
+ {
7114
+ "name": "event",
7115
+ "type": {
7116
+ "text": "KeyboardEvent"
7117
+ }
7118
+ },
7119
+ {
7120
+ "name": "id",
7121
+ "type": {
7122
+ "text": "string"
7123
+ }
7124
+ }
7125
+ ]
7126
+ },
7127
+ {
7128
+ "kind": "method",
7129
+ "name": "_onPointerDown",
7130
+ "privacy": "private",
7131
+ "return": {
7132
+ "type": {
7133
+ "text": "void"
7134
+ }
7135
+ },
7136
+ "parameters": [
7137
+ {
7138
+ "name": "event",
7139
+ "type": {
7140
+ "text": "PointerEvent"
7141
+ }
7142
+ }
7143
+ ]
7144
+ },
7145
+ {
7146
+ "kind": "method",
7147
+ "name": "_onPointerMove",
7148
+ "privacy": "private",
7149
+ "return": {
7150
+ "type": {
7151
+ "text": "void"
7152
+ }
7153
+ },
7154
+ "parameters": [
7155
+ {
7156
+ "name": "event",
7157
+ "type": {
7158
+ "text": "PointerEvent"
7159
+ }
7160
+ }
7161
+ ]
7162
+ },
7163
+ {
7164
+ "kind": "method",
7165
+ "name": "_onPointerUp",
7166
+ "privacy": "private",
7167
+ "return": {
7168
+ "type": {
7169
+ "text": "void"
7170
+ }
7171
+ },
7172
+ "parameters": [
7173
+ {
7174
+ "name": "event",
7175
+ "type": {
7176
+ "text": "PointerEvent"
7177
+ }
7178
+ }
7179
+ ]
7180
+ },
7181
+ {
7182
+ "kind": "method",
7183
+ "name": "_onWheel",
7184
+ "privacy": "private",
7185
+ "return": {
7186
+ "type": {
7187
+ "text": "void"
7188
+ }
7189
+ },
7190
+ "parameters": [
7191
+ {
7192
+ "name": "event",
7193
+ "type": {
7194
+ "text": "WheelEvent"
7195
+ }
7196
+ }
7197
+ ],
7198
+ "description": "Pinch gestures and Ctrl/⌘ + wheel zoom; a plain wheel is left to the page so it can scroll."
7199
+ },
7200
+ {
7201
+ "kind": "method",
7202
+ "name": "_onKeyDown",
7203
+ "privacy": "private",
7204
+ "return": {
7205
+ "type": {
7206
+ "text": "void"
7207
+ }
7208
+ },
7209
+ "parameters": [
7210
+ {
7211
+ "name": "event",
7212
+ "type": {
7213
+ "text": "KeyboardEvent"
7214
+ }
7215
+ }
7216
+ ]
7217
+ }
7218
+ ],
7219
+ "events": [
7220
+ {
7221
+ "name": "direction-change",
7222
+ "type": {
7223
+ "text": "CustomEvent"
7224
+ },
7225
+ "description": "The toolbar's direction control flipped `direction`; `detail` is `{ direction }`."
7226
+ },
7227
+ {
7228
+ "name": "node-select",
7229
+ "type": {
7230
+ "text": "CustomEvent"
7231
+ },
7232
+ "description": "A node was clicked or activated with the keyboard; `detail` is `{ id }`."
7233
+ }
7234
+ ],
7235
+ "attributes": [
7236
+ {
7237
+ "name": "nodes",
7238
+ "type": {
7239
+ "text": "DagNode[]"
7240
+ },
7241
+ "default": "[]",
7242
+ "description": "Nodes to draw.",
7243
+ "fieldName": "nodes"
7244
+ },
7245
+ {
7246
+ "name": "edges",
7247
+ "type": {
7248
+ "text": "DagEdge[]"
7249
+ },
7250
+ "default": "[]",
7251
+ "description": "Directed edges between `nodes`; edges with an unknown endpoint or to the node itself are ignored.",
7252
+ "fieldName": "edges"
7253
+ },
7254
+ {
7255
+ "name": "selected",
7256
+ "type": {
7257
+ "text": "string | null"
7258
+ },
7259
+ "default": "null",
7260
+ "description": "Id of the selected node. Selecting a node updates it; when it changes to a node outside the visible area,\nthe view follows.",
7261
+ "fieldName": "selected"
7262
+ },
7263
+ {
7264
+ "name": "direction",
7265
+ "type": {
7266
+ "text": "DagDirection"
7267
+ },
7268
+ "default": "\"LR\"",
7269
+ "description": "Layer direction: `LR` (left to right) or `TB` (top to bottom).",
7270
+ "fieldName": "direction"
7271
+ },
7272
+ {
7273
+ "name": "label",
7274
+ "type": {
7275
+ "text": "string"
7276
+ },
7277
+ "default": "\"Directed graph\"",
7278
+ "description": "Accessible name of the graph; the node and edge counts are appended.",
7279
+ "fieldName": "label"
7280
+ },
7281
+ {
7282
+ "name": "legend",
7283
+ "type": {
7284
+ "text": "boolean"
7285
+ },
7286
+ "default": "false",
7287
+ "description": "Shows a legend of `kinds` below the graph.",
7288
+ "fieldName": "legend"
7289
+ },
7290
+ {
7291
+ "name": "controls",
7292
+ "type": {
7293
+ "text": "string"
7294
+ },
7295
+ "default": "\"zoom fit center\"",
7296
+ "description": "Space-separated toolbar controls to show: any of `zoom`, `fit`, `center`, and `direction`, in that\norder. An empty value hides the toolbar.",
7297
+ "fieldName": "controls"
7298
+ },
7299
+ {
7300
+ "name": "static",
7301
+ "type": {
7302
+ "text": "boolean"
7303
+ },
7304
+ "default": "false",
7305
+ "description": "Presents a static picture: always fitted, with panning, zooming, and the toolbar turned off.",
7306
+ "fieldName": "isStatic"
7307
+ }
7308
+ ],
7309
+ "superclass": {
7310
+ "name": "LitElement",
7311
+ "package": "lit"
7312
+ },
7313
+ "tagName": "dag-graph",
7314
+ "customElement": true
7315
+ }
7316
+ ],
7317
+ "exports": [
7318
+ {
7319
+ "kind": "js",
7320
+ "name": "DagDirection",
7321
+ "declaration": {
7322
+ "name": "DagDirection",
7323
+ "module": "./utils/dag-layout.js"
7324
+ }
7325
+ },
7326
+ {
7327
+ "kind": "js",
7328
+ "name": "DagGraph",
7329
+ "declaration": {
7330
+ "name": "DagGraph",
7331
+ "module": "src/dag-graph.ts"
7332
+ }
7333
+ },
7334
+ {
7335
+ "kind": "custom-element-definition",
7336
+ "name": "dag-graph",
7337
+ "declaration": {
7338
+ "name": "DagGraph",
7339
+ "module": "src/dag-graph.ts"
7340
+ }
7341
+ }
7342
+ ]
7343
+ },
7344
+ {
7345
+ "kind": "javascript-module",
7346
+ "path": "src/data-table.ts",
7347
+ "declarations": [
7348
+ {
7349
+ "kind": "class",
7350
+ "description": "A generic, presentational table shell: renders a `<thead>` from `columns`\nand one `<tr>` per entry in `rows`, with each cell's content produced by\n`renderCell` (default: plain property lookup on the row object). Knows\nnothing about what a \"row\" means — callers own the data shape entirely.\n\nOptional `rowHref` makes whole rows clickable (navigating via `location.hash`),\nwithout hijacking clicks on nested interactive elements (links/buttons) a\ncell's rendered content might contain.",
7351
+ "name": "DataTable",
7352
+ "members": [
7353
+ {
7354
+ "kind": "field",
7355
+ "name": "columns",
7356
+ "type": {
7357
+ "text": "DataTableColumn[]"
7358
+ },
7359
+ "default": "[]",
7360
+ "description": "Column headers, in display order."
7361
+ },
7362
+ {
7363
+ "kind": "field",
7364
+ "name": "rows",
7365
+ "type": {
7366
+ "text": "unknown[]"
7367
+ },
7368
+ "default": "[]",
7369
+ "description": "Row data; opaque to this component beyond what `renderCell` does with it."
7370
+ },
7371
+ {
7372
+ "kind": "field",
7373
+ "name": "rowKey",
7374
+ "type": {
7375
+ "text": "(row: unknown, index: number) => string | number"
7376
+ },
7377
+ "description": "Stable identity for `rows[i]`, used as the repeat-directive key. Defaults to the row's index."
7378
+ },
7379
+ {
7380
+ "kind": "field",
7381
+ "name": "renderCell",
7382
+ "type": {
7383
+ "text": "(row: unknown, key: string) => unknown"
7384
+ },
7385
+ "description": "Produces a cell's rendered content for `row`/`column.key`. Default: `row[key]`."
7386
+ },
7387
+ {
7388
+ "kind": "field",
7389
+ "name": "rowHref",
7390
+ "type": {
7391
+ "text": "((row: unknown) => string | null) | null"
7392
+ },
7393
+ "default": "null",
7394
+ "description": "When set, clicking a row (outside any nested link/button) navigates to this hash."
7395
+ },
7396
+ {
7397
+ "kind": "field",
7398
+ "name": "rowLabel",
7399
+ "type": {
7400
+ "text": "((row: unknown) => string) | null"
7401
+ },
7402
+ "default": "null",
7403
+ "description": "Accessible label for a row's keyboard link; defaults to primitive cell values."
7404
+ },
7405
+ {
7406
+ "kind": "method",
7407
+ "name": "#onRowClick",
7408
+ "privacy": "private",
7409
+ "return": {
7410
+ "type": {
7411
+ "text": "void"
7412
+ }
7413
+ },
7414
+ "parameters": [
7415
+ {
7416
+ "name": "row",
7417
+ "type": {
7418
+ "text": "unknown"
7419
+ }
7420
+ },
7421
+ {
7422
+ "name": "e",
7423
+ "type": {
7424
+ "text": "MouseEvent"
7425
+ }
7426
+ }
7427
+ ]
6414
7428
  },
6415
7429
  {
6416
7430
  "kind": "method",
@@ -9185,6 +10199,94 @@
9185
10199
  ],
9186
10200
  "description": "Neutral informational messages, e.g. an info toast or status banner."
9187
10201
  },
10202
+ {
10203
+ "kind": "function",
10204
+ "name": "iconMagnifyingGlassPlus",
10205
+ "parameters": [
10206
+ {
10207
+ "name": "size",
10208
+ "default": "18"
10209
+ }
10210
+ ],
10211
+ "description": "Zoom in, e.g. dag-graph's toolbar."
10212
+ },
10213
+ {
10214
+ "kind": "function",
10215
+ "name": "iconMagnifyingGlassMinus",
10216
+ "parameters": [
10217
+ {
10218
+ "name": "size",
10219
+ "default": "18"
10220
+ }
10221
+ ],
10222
+ "description": "Zoom out, e.g. dag-graph's toolbar."
10223
+ },
10224
+ {
10225
+ "kind": "function",
10226
+ "name": "iconViewfinderCircle",
10227
+ "parameters": [
10228
+ {
10229
+ "name": "size",
10230
+ "default": "18"
10231
+ }
10232
+ ],
10233
+ "description": "Center or focus the view on the current selection, e.g. dag-graph's toolbar."
10234
+ },
10235
+ {
10236
+ "kind": "function",
10237
+ "name": "iconArrowLongRight",
10238
+ "parameters": [
10239
+ {
10240
+ "name": "size",
10241
+ "default": "18"
10242
+ }
10243
+ ],
10244
+ "description": "A left-to-right flow or layout direction."
10245
+ },
10246
+ {
10247
+ "kind": "function",
10248
+ "name": "iconArrowLongDown",
10249
+ "parameters": [
10250
+ {
10251
+ "name": "size",
10252
+ "default": "18"
10253
+ }
10254
+ ],
10255
+ "description": "A top-to-bottom flow or layout direction."
10256
+ },
10257
+ {
10258
+ "kind": "function",
10259
+ "name": "iconBookOpen",
10260
+ "parameters": [
10261
+ {
10262
+ "name": "size",
10263
+ "default": "20"
10264
+ }
10265
+ ],
10266
+ "description": "A library, documentation, or reading content, e.g. a library node in dag-graph."
10267
+ },
10268
+ {
10269
+ "kind": "function",
10270
+ "name": "iconCube",
10271
+ "parameters": [
10272
+ {
10273
+ "name": "size",
10274
+ "default": "20"
10275
+ }
10276
+ ],
10277
+ "description": "A package or self-contained artifact, e.g. an external package node in dag-graph."
10278
+ },
10279
+ {
10280
+ "kind": "function",
10281
+ "name": "iconServer",
10282
+ "parameters": [
10283
+ {
10284
+ "name": "size",
10285
+ "default": "20"
10286
+ }
10287
+ ],
10288
+ "description": "A running service or deployable, e.g. a service node in dag-graph."
10289
+ },
9188
10290
  {
9189
10291
  "kind": "function",
9190
10292
  "name": "iconQuestionMarkCircle",
@@ -9892,6 +10994,70 @@
9892
10994
  "module": "src/icons.ts"
9893
10995
  }
9894
10996
  },
10997
+ {
10998
+ "kind": "js",
10999
+ "name": "iconMagnifyingGlassPlus",
11000
+ "declaration": {
11001
+ "name": "iconMagnifyingGlassPlus",
11002
+ "module": "src/icons.ts"
11003
+ }
11004
+ },
11005
+ {
11006
+ "kind": "js",
11007
+ "name": "iconMagnifyingGlassMinus",
11008
+ "declaration": {
11009
+ "name": "iconMagnifyingGlassMinus",
11010
+ "module": "src/icons.ts"
11011
+ }
11012
+ },
11013
+ {
11014
+ "kind": "js",
11015
+ "name": "iconViewfinderCircle",
11016
+ "declaration": {
11017
+ "name": "iconViewfinderCircle",
11018
+ "module": "src/icons.ts"
11019
+ }
11020
+ },
11021
+ {
11022
+ "kind": "js",
11023
+ "name": "iconArrowLongRight",
11024
+ "declaration": {
11025
+ "name": "iconArrowLongRight",
11026
+ "module": "src/icons.ts"
11027
+ }
11028
+ },
11029
+ {
11030
+ "kind": "js",
11031
+ "name": "iconArrowLongDown",
11032
+ "declaration": {
11033
+ "name": "iconArrowLongDown",
11034
+ "module": "src/icons.ts"
11035
+ }
11036
+ },
11037
+ {
11038
+ "kind": "js",
11039
+ "name": "iconBookOpen",
11040
+ "declaration": {
11041
+ "name": "iconBookOpen",
11042
+ "module": "src/icons.ts"
11043
+ }
11044
+ },
11045
+ {
11046
+ "kind": "js",
11047
+ "name": "iconCube",
11048
+ "declaration": {
11049
+ "name": "iconCube",
11050
+ "module": "src/icons.ts"
11051
+ }
11052
+ },
11053
+ {
11054
+ "kind": "js",
11055
+ "name": "iconServer",
11056
+ "declaration": {
11057
+ "name": "iconServer",
11058
+ "module": "src/icons.ts"
11059
+ }
11060
+ },
9895
11061
  {
9896
11062
  "kind": "js",
9897
11063
  "name": "iconQuestionMarkCircle",
@@ -10691,6 +11857,70 @@
10691
11857
  "module": "./weight-bar-chart.js"
10692
11858
  }
10693
11859
  },
11860
+ {
11861
+ "kind": "js",
11862
+ "name": "DagGraph",
11863
+ "declaration": {
11864
+ "name": "DagGraph",
11865
+ "module": "./dag-graph.js"
11866
+ }
11867
+ },
11868
+ {
11869
+ "kind": "js",
11870
+ "name": "DagControl",
11871
+ "declaration": {
11872
+ "name": "DagControl",
11873
+ "module": "./dag-graph.js"
11874
+ }
11875
+ },
11876
+ {
11877
+ "kind": "js",
11878
+ "name": "DagDirection",
11879
+ "declaration": {
11880
+ "name": "DagDirection",
11881
+ "module": "./dag-graph.js"
11882
+ }
11883
+ },
11884
+ {
11885
+ "kind": "js",
11886
+ "name": "DagDirectionChangeDetail",
11887
+ "declaration": {
11888
+ "name": "DagDirectionChangeDetail",
11889
+ "module": "./dag-graph.js"
11890
+ }
11891
+ },
11892
+ {
11893
+ "kind": "js",
11894
+ "name": "DagEdge",
11895
+ "declaration": {
11896
+ "name": "DagEdge",
11897
+ "module": "./dag-graph.js"
11898
+ }
11899
+ },
11900
+ {
11901
+ "kind": "js",
11902
+ "name": "DagNode",
11903
+ "declaration": {
11904
+ "name": "DagNode",
11905
+ "module": "./dag-graph.js"
11906
+ }
11907
+ },
11908
+ {
11909
+ "kind": "js",
11910
+ "name": "DagNodeKind",
11911
+ "declaration": {
11912
+ "name": "DagNodeKind",
11913
+ "module": "./dag-graph.js"
11914
+ }
11915
+ },
11916
+ {
11917
+ "kind": "js",
11918
+ "name": "DagNodeSelectDetail",
11919
+ "declaration": {
11920
+ "name": "DagNodeSelectDetail",
11921
+ "module": "./dag-graph.js"
11922
+ }
11923
+ },
10694
11924
  {
10695
11925
  "kind": "js",
10696
11926
  "name": "AddressAutocomplete",
@@ -11747,12 +12977,132 @@
11747
12977
  "module": "./tokens.js"
11748
12978
  }
11749
12979
  },
12980
+ {
12981
+ "kind": "js",
12982
+ "name": "developerDarkTokenValues",
12983
+ "declaration": {
12984
+ "name": "developerDarkTokenValues",
12985
+ "module": "./tokens.js"
12986
+ }
12987
+ },
12988
+ {
12989
+ "kind": "js",
12990
+ "name": "developerLightTokenValues",
12991
+ "declaration": {
12992
+ "name": "developerLightTokenValues",
12993
+ "module": "./tokens.js"
12994
+ }
12995
+ },
11750
12996
  {
11751
12997
  "kind": "js",
11752
12998
  "name": "*",
11753
12999
  "declaration": {
11754
- "name": "*",
11755
- "module": "src/icons.js"
13000
+ "name": "*",
13001
+ "module": "src/icons.js"
13002
+ }
13003
+ },
13004
+ {
13005
+ "kind": "js",
13006
+ "name": "BlinkCursor",
13007
+ "declaration": {
13008
+ "name": "BlinkCursor",
13009
+ "module": "./blink-cursor.js"
13010
+ }
13011
+ },
13012
+ {
13013
+ "kind": "js",
13014
+ "name": "CommentLabel",
13015
+ "declaration": {
13016
+ "name": "CommentLabel",
13017
+ "module": "./comment-label.js"
13018
+ }
13019
+ },
13020
+ {
13021
+ "kind": "js",
13022
+ "name": "StatStrip",
13023
+ "declaration": {
13024
+ "name": "StatStrip",
13025
+ "module": "./stat-strip.js"
13026
+ }
13027
+ },
13028
+ {
13029
+ "kind": "js",
13030
+ "name": "StatStripItem",
13031
+ "declaration": {
13032
+ "name": "StatStripItem",
13033
+ "module": "./stat-strip.js"
13034
+ }
13035
+ },
13036
+ {
13037
+ "kind": "js",
13038
+ "name": "StepLadder",
13039
+ "declaration": {
13040
+ "name": "StepLadder",
13041
+ "module": "./step-ladder.js"
13042
+ }
13043
+ },
13044
+ {
13045
+ "kind": "js",
13046
+ "name": "StepLadderItem",
13047
+ "declaration": {
13048
+ "name": "StepLadderItem",
13049
+ "module": "./step-ladder.js"
13050
+ }
13051
+ },
13052
+ {
13053
+ "kind": "js",
13054
+ "name": "TerminalBlock",
13055
+ "declaration": {
13056
+ "name": "TerminalBlock",
13057
+ "module": "./terminal-block.js"
13058
+ }
13059
+ },
13060
+ {
13061
+ "kind": "js",
13062
+ "name": "TerminalLine",
13063
+ "declaration": {
13064
+ "name": "TerminalLine",
13065
+ "module": "./terminal-block.js"
13066
+ }
13067
+ },
13068
+ {
13069
+ "kind": "js",
13070
+ "name": "TerminalLineType",
13071
+ "declaration": {
13072
+ "name": "TerminalLineType",
13073
+ "module": "./terminal-block.js"
13074
+ }
13075
+ },
13076
+ {
13077
+ "kind": "js",
13078
+ "name": "CodeDiff",
13079
+ "declaration": {
13080
+ "name": "CodeDiff",
13081
+ "module": "./code-diff.js"
13082
+ }
13083
+ },
13084
+ {
13085
+ "kind": "js",
13086
+ "name": "CodeDiffLine",
13087
+ "declaration": {
13088
+ "name": "CodeDiffLine",
13089
+ "module": "./code-diff.js"
13090
+ }
13091
+ },
13092
+ {
13093
+ "kind": "js",
13094
+ "name": "CodeDiffLineType",
13095
+ "declaration": {
13096
+ "name": "CodeDiffLineType",
13097
+ "module": "./code-diff.js"
13098
+ }
13099
+ },
13100
+ {
13101
+ "kind": "js",
13102
+ "name": "WindowChrome",
13103
+ "declaration": {
13104
+ "name": "WindowChrome",
13105
+ "module": "./window-chrome.js"
11756
13106
  }
11757
13107
  }
11758
13108
  ]
@@ -13984,7 +15334,7 @@
13984
15334
  "declarations": [
13985
15335
  {
13986
15336
  "kind": "class",
13987
- "description": "Generic centered modal-dialog shell: overlay + card with header chrome, a\nclose button, and an arbitrary slotted body — the modal sibling to\n`slide-panel` (fixed-edge) and `popover-panel` (anchored). Unlike\n`confirm-dialog`, it has no baked-in actions; the consumer supplies the\nbody content (a form, a read-only viewer, a table) and any footer buttons\nitself. Instant `display:none` → `display:flex` toggle, no transition.\nTraps focus, closes on Escape, and restores focus to the trigger on\nclose, stacking correctly against other open `confirm-dialog`/\n`slide-panel`/`popover-panel`/`modal-dialog` layers.",
15337
+ "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
15338
  "name": "ModalDialog",
13989
15339
  "slots": [
13990
15340
  {
@@ -14039,28 +15389,17 @@
14039
15389
  },
14040
15390
  {
14041
15391
  "kind": "field",
14042
- "name": "_previousFocus",
15392
+ "name": "_dialog",
14043
15393
  "type": {
14044
- "text": "HTMLElement | null"
15394
+ "text": "HTMLDialogElement"
14045
15395
  },
14046
- "privacy": "private",
14047
- "default": "null"
15396
+ "privacy": "private"
14048
15397
  },
14049
15398
  {
14050
15399
  "kind": "method",
14051
15400
  "name": "_close",
14052
15401
  "privacy": "private"
14053
15402
  },
14054
- {
14055
- "kind": "method",
14056
- "name": "_getFocusableElements",
14057
- "privacy": "private",
14058
- "return": {
14059
- "type": {
14060
- "text": "HTMLElement[]"
14061
- }
14062
- }
14063
- },
14064
15403
  {
14065
15404
  "kind": "method",
14066
15405
  "name": "_focusInitial",
@@ -14069,22 +15408,26 @@
14069
15408
  "type": {
14070
15409
  "text": "void"
14071
15410
  }
14072
- }
15411
+ },
15412
+ "description": "Native focus delegation doesn't reliably reach slotted light-DOM content, so focus explicitly."
14073
15413
  },
14074
15414
  {
14075
15415
  "kind": "field",
14076
- "name": "_onDocumentFocusIn",
14077
- "privacy": "private"
15416
+ "name": "_onWindowKeydown",
15417
+ "privacy": "private",
15418
+ "description": "Escape goes to the topmost layer only (a popover opened inside this dialog claims it first)."
14078
15419
  },
14079
15420
  {
14080
15421
  "kind": "field",
14081
- "name": "_onWindowKeydown",
14082
- "privacy": "private"
15422
+ "name": "_onCancel",
15423
+ "privacy": "private",
15424
+ "description": "Native close requests (e.g. a back gesture) are routed through `panel-close`; the consumer owns `open`."
14083
15425
  },
14084
15426
  {
14085
15427
  "kind": "field",
14086
- "name": "_onOverlayClick",
14087
- "privacy": "private"
15428
+ "name": "_onDialogClick",
15429
+ "privacy": "private",
15430
+ "description": "A click that lands on the `<dialog>` itself, outside its box, is a backdrop click."
14088
15431
  }
14089
15432
  ],
14090
15433
  "events": [
@@ -18216,7 +19559,7 @@
18216
19559
  "declarations": [
18217
19560
  {
18218
19561
  "kind": "class",
18219
- "description": "Generic sliding panel shell. Handles positioning, open/close animation,\nheader 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.",
19562
+ "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
19563
  "name": "SlidePanel",
18221
19564
  "members": [
18222
19565
  {
@@ -18241,12 +19584,11 @@
18241
19584
  },
18242
19585
  {
18243
19586
  "kind": "field",
18244
- "name": "_previousFocus",
19587
+ "name": "_dialog",
18245
19588
  "type": {
18246
- "text": "HTMLElement | null"
19589
+ "text": "HTMLDialogElement"
18247
19590
  },
18248
- "privacy": "private",
18249
- "default": "null"
19591
+ "privacy": "private"
18250
19592
  },
18251
19593
  {
18252
19594
  "kind": "method",
@@ -18696,6 +20038,64 @@
18696
20038
  }
18697
20039
  ]
18698
20040
  },
20041
+ {
20042
+ "kind": "javascript-module",
20043
+ "path": "src/stat-strip.ts",
20044
+ "declarations": [
20045
+ {
20046
+ "kind": "class",
20047
+ "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.",
20048
+ "name": "StatStrip",
20049
+ "members": [
20050
+ {
20051
+ "kind": "field",
20052
+ "name": "items",
20053
+ "type": {
20054
+ "text": "StatStripItem[]"
20055
+ },
20056
+ "default": "[]",
20057
+ "description": "Stats rendered in display order; each item is shown as a large figure with a caption beneath it.",
20058
+ "attribute": "items"
20059
+ }
20060
+ ],
20061
+ "attributes": [
20062
+ {
20063
+ "name": "items",
20064
+ "type": {
20065
+ "text": "StatStripItem[]"
20066
+ },
20067
+ "default": "[]",
20068
+ "description": "Stats rendered in display order; each item is shown as a large figure with a caption beneath it.",
20069
+ "fieldName": "items"
20070
+ }
20071
+ ],
20072
+ "superclass": {
20073
+ "name": "LitElement",
20074
+ "package": "lit"
20075
+ },
20076
+ "tagName": "stat-strip",
20077
+ "customElement": true
20078
+ }
20079
+ ],
20080
+ "exports": [
20081
+ {
20082
+ "kind": "js",
20083
+ "name": "StatStrip",
20084
+ "declaration": {
20085
+ "name": "StatStrip",
20086
+ "module": "src/stat-strip.ts"
20087
+ }
20088
+ },
20089
+ {
20090
+ "kind": "custom-element-definition",
20091
+ "name": "stat-strip",
20092
+ "declaration": {
20093
+ "name": "StatStrip",
20094
+ "module": "src/stat-strip.ts"
20095
+ }
20096
+ }
20097
+ ]
20098
+ },
18699
20099
  {
18700
20100
  "kind": "javascript-module",
18701
20101
  "path": "src/status-banner.ts",
@@ -18870,6 +20270,130 @@
18870
20270
  }
18871
20271
  ]
18872
20272
  },
20273
+ {
20274
+ "kind": "javascript-module",
20275
+ "path": "src/step-ladder.ts",
20276
+ "declarations": [
20277
+ {
20278
+ "kind": "class",
20279
+ "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.",
20280
+ "name": "StepLadder",
20281
+ "slots": [
20282
+ {
20283
+ "description": "Optional `<li>` rungs or richer step markup; when present, they replace the `items` path.",
20284
+ "name": ""
20285
+ }
20286
+ ],
20287
+ "members": [
20288
+ {
20289
+ "kind": "field",
20290
+ "name": "items",
20291
+ "type": {
20292
+ "text": "StepLadderItem[]"
20293
+ },
20294
+ "default": "[]",
20295
+ "description": "The rungs for the data-driven path. Ignored when the default slot has content.",
20296
+ "attribute": "items"
20297
+ },
20298
+ {
20299
+ "kind": "field",
20300
+ "name": "_hasSlotted",
20301
+ "type": {
20302
+ "text": "boolean"
20303
+ },
20304
+ "privacy": "private",
20305
+ "default": "false",
20306
+ "description": "Whether the default slot currently has assigned content."
20307
+ },
20308
+ {
20309
+ "kind": "method",
20310
+ "name": "_isContent",
20311
+ "privacy": "private",
20312
+ "static": true,
20313
+ "return": {
20314
+ "type": {
20315
+ "text": "boolean"
20316
+ }
20317
+ },
20318
+ "parameters": [
20319
+ {
20320
+ "name": "node",
20321
+ "type": {
20322
+ "text": "Node"
20323
+ }
20324
+ }
20325
+ ],
20326
+ "description": "Whether a slot node is real content, ignoring the whitespace ordinary indented markup leaves between children."
20327
+ },
20328
+ {
20329
+ "kind": "method",
20330
+ "name": "_onSlotChange",
20331
+ "privacy": "private",
20332
+ "return": {
20333
+ "type": {
20334
+ "text": "void"
20335
+ }
20336
+ },
20337
+ "parameters": [
20338
+ {
20339
+ "name": "event",
20340
+ "type": {
20341
+ "text": "Event"
20342
+ }
20343
+ }
20344
+ ],
20345
+ "description": "Tracks whether the default slot has content so slotted markup can take precedence over `items`."
20346
+ },
20347
+ {
20348
+ "kind": "method",
20349
+ "name": "_rows",
20350
+ "privacy": "private",
20351
+ "return": {
20352
+ "type": {
20353
+ "text": "StepLadderItem[]"
20354
+ }
20355
+ },
20356
+ "description": "The rungs, defended against a non-array value assigned at runtime by a JS or HTML consumer."
20357
+ }
20358
+ ],
20359
+ "attributes": [
20360
+ {
20361
+ "name": "items",
20362
+ "type": {
20363
+ "text": "StepLadderItem[]"
20364
+ },
20365
+ "default": "[]",
20366
+ "description": "The rungs for the data-driven path. Ignored when the default slot has content.",
20367
+ "fieldName": "items"
20368
+ }
20369
+ ],
20370
+ "superclass": {
20371
+ "name": "LitElement",
20372
+ "package": "lit"
20373
+ },
20374
+ "tagName": "step-ladder",
20375
+ "customElement": true
20376
+ }
20377
+ ],
20378
+ "exports": [
20379
+ {
20380
+ "kind": "js",
20381
+ "name": "StepLadder",
20382
+ "declaration": {
20383
+ "name": "StepLadder",
20384
+ "module": "src/step-ladder.ts"
20385
+ }
20386
+ },
20387
+ {
20388
+ "kind": "custom-element-definition",
20389
+ "name": "step-ladder",
20390
+ "declaration": {
20391
+ "name": "StepLadder",
20392
+ "module": "src/step-ladder.ts"
20393
+ }
20394
+ }
20395
+ ]
20396
+ },
18873
20397
  {
18874
20398
  "kind": "javascript-module",
18875
20399
  "path": "src/tab-bar.ts",
@@ -19124,68 +20648,126 @@
19124
20648
  },
19125
20649
  {
19126
20650
  "kind": "field",
19127
- "name": "selected",
20651
+ "name": "selected",
20652
+ "type": {
20653
+ "text": "boolean"
20654
+ },
20655
+ "default": "false",
20656
+ "description": "Whether this panel is the active one; `tab-bar` owns this.",
20657
+ "attribute": "selected",
20658
+ "reflects": true
20659
+ }
20660
+ ],
20661
+ "attributes": [
20662
+ {
20663
+ "name": "label",
20664
+ "type": {
20665
+ "text": "string"
20666
+ },
20667
+ "default": "\"\"",
20668
+ "description": "Text shown in the tab-bar's tab button for this panel.",
20669
+ "fieldName": "label"
20670
+ },
20671
+ {
20672
+ "name": "value",
20673
+ "type": {
20674
+ "text": "string"
20675
+ },
20676
+ "default": "\"\"",
20677
+ "description": "Stable identifier reported in `tab-bar`'s `change` event; defaults to `label`.",
20678
+ "fieldName": "value"
20679
+ },
20680
+ {
20681
+ "name": "selected",
20682
+ "type": {
20683
+ "text": "boolean"
20684
+ },
20685
+ "default": "false",
20686
+ "description": "Whether this panel is the active one; `tab-bar` owns this.",
20687
+ "fieldName": "selected"
20688
+ }
20689
+ ],
20690
+ "superclass": {
20691
+ "name": "LitElement",
20692
+ "package": "lit"
20693
+ },
20694
+ "tagName": "tab-item",
20695
+ "customElement": true
20696
+ }
20697
+ ],
20698
+ "exports": [
20699
+ {
20700
+ "kind": "js",
20701
+ "name": "TabItem",
20702
+ "declaration": {
20703
+ "name": "TabItem",
20704
+ "module": "src/tab-item.ts"
20705
+ }
20706
+ },
20707
+ {
20708
+ "kind": "custom-element-definition",
20709
+ "name": "tab-item",
20710
+ "declaration": {
20711
+ "name": "TabItem",
20712
+ "module": "src/tab-item.ts"
20713
+ }
20714
+ }
20715
+ ]
20716
+ },
20717
+ {
20718
+ "kind": "javascript-module",
20719
+ "path": "src/terminal-block.ts",
20720
+ "declarations": [
20721
+ {
20722
+ "kind": "class",
20723
+ "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.",
20724
+ "name": "TerminalBlock",
20725
+ "members": [
20726
+ {
20727
+ "kind": "field",
20728
+ "name": "lines",
19128
20729
  "type": {
19129
- "text": "boolean"
20730
+ "text": "TerminalLine[]"
19130
20731
  },
19131
- "default": "false",
19132
- "description": "Whether this panel is the active one; `tab-bar` owns this.",
19133
- "attribute": "selected",
19134
- "reflects": true
20732
+ "default": "[]",
20733
+ "description": "Ordered terminal transcript lines. Each entry is a `{ type, text }`\nobject, and an empty array still renders the visible terminal shell.",
20734
+ "attribute": "lines"
19135
20735
  }
19136
20736
  ],
19137
20737
  "attributes": [
19138
20738
  {
19139
- "name": "label",
19140
- "type": {
19141
- "text": "string"
19142
- },
19143
- "default": "\"\"",
19144
- "description": "Text shown in the tab-bar's tab button for this panel.",
19145
- "fieldName": "label"
19146
- },
19147
- {
19148
- "name": "value",
19149
- "type": {
19150
- "text": "string"
19151
- },
19152
- "default": "\"\"",
19153
- "description": "Stable identifier reported in `tab-bar`'s `change` event; defaults to `label`.",
19154
- "fieldName": "value"
19155
- },
19156
- {
19157
- "name": "selected",
20739
+ "name": "lines",
19158
20740
  "type": {
19159
- "text": "boolean"
20741
+ "text": "TerminalLine[]"
19160
20742
  },
19161
- "default": "false",
19162
- "description": "Whether this panel is the active one; `tab-bar` owns this.",
19163
- "fieldName": "selected"
20743
+ "default": "[]",
20744
+ "description": "Ordered terminal transcript lines. Each entry is a `{ type, text }`\nobject, and an empty array still renders the visible terminal shell.",
20745
+ "fieldName": "lines"
19164
20746
  }
19165
20747
  ],
19166
20748
  "superclass": {
19167
20749
  "name": "LitElement",
19168
20750
  "package": "lit"
19169
20751
  },
19170
- "tagName": "tab-item",
20752
+ "tagName": "terminal-block",
19171
20753
  "customElement": true
19172
20754
  }
19173
20755
  ],
19174
20756
  "exports": [
19175
20757
  {
19176
20758
  "kind": "js",
19177
- "name": "TabItem",
20759
+ "name": "TerminalBlock",
19178
20760
  "declaration": {
19179
- "name": "TabItem",
19180
- "module": "src/tab-item.ts"
20761
+ "name": "TerminalBlock",
20762
+ "module": "src/terminal-block.ts"
19181
20763
  }
19182
20764
  },
19183
20765
  {
19184
20766
  "kind": "custom-element-definition",
19185
- "name": "tab-item",
20767
+ "name": "terminal-block",
19186
20768
  "declaration": {
19187
- "name": "TabItem",
19188
- "module": "src/tab-item.ts"
20769
+ "name": "TerminalBlock",
20770
+ "module": "src/terminal-block.ts"
19189
20771
  }
19190
20772
  }
19191
20773
  ]
@@ -19962,6 +21544,17 @@
19962
21544
  ],
19963
21545
  "description": "Queues a toast for display."
19964
21546
  },
21547
+ {
21548
+ "kind": "method",
21549
+ "name": "_promote",
21550
+ "privacy": "private",
21551
+ "return": {
21552
+ "type": {
21553
+ "text": "void"
21554
+ }
21555
+ },
21556
+ "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."
21557
+ },
19965
21558
  {
19966
21559
  "kind": "method",
19967
21560
  "name": "dismiss",
@@ -20345,7 +21938,7 @@
20345
21938
  "type": {
20346
21939
  "text": "Record<string, string>"
20347
21940
  },
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\", }",
21941
+ "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)\", // The secondary gloss as two plain stop colors, for SVG surfaces that act // as secondary buttons (dag-graph's nodes): SVG fills can't paint a CSS // linear-gradient, so they build an SVG gradient from these stops instead. // Both default to the flat --ui-surface, i.e. a solid fill; a gradient // theme sets them to its secondary background's stops. \"--ui-button-secondary-gloss-start\": \"var(--ui-surface, #ffffff)\", \"--ui-button-secondary-gloss-end\": \"var(--ui-surface, #ffffff)\", // 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
21942
  "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
21943
  },
20351
21944
  {
@@ -20363,7 +21956,7 @@
20363
21956
  "type": {
20364
21957
  "text": "Record<string, string>"
20365
21958
  },
20366
- "default": "{ \"--ui-button-background\": \"linear-gradient(180deg, #6366f1 0%, #4f46e5 100%)\", // indigo-500 -> 600 \"--ui-button-background-hover\": \"linear-gradient(180deg, #818cf8 0%, #6366f1 100%)\", // indigo-400 -> 500 \"--ui-button-background-active\": \"linear-gradient(180deg, #4f46e5 0%, #6366f1 100%)\", // reversed 600 -> 500 \"--ui-button-border\": \"#4338ca\", // indigo-700 \"--ui-button-danger-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-button-danger-background-hover\": \"linear-gradient(180deg, #f87171 0%, #ef4444 100%)\", // red-400 -> 500 \"--ui-button-danger-background-active\": \"linear-gradient(180deg, #dc2626 0%, #ef4444 100%)\", // reversed 600 -> 500 \"--ui-button-danger-border\": \"#b91c1c\", // red-700 // Secondary stays neutral gray rather than a saturated hue, matching its // flat \"not the primary action\" role, but one shade darker than the // original white -> slate-50 pairing: at a small button size, that pair // read as flat white with no visible gradient at all. slate-50 -> 100 // keeps enough contrast to actually look like a gradient while still // being clearly lighter/quieter than primary/danger. Border stays // slate-300 (a step past the flat slate-200) so its edge still reads // against the fill. \"--ui-button-secondary-background\": \"linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%)\", // slate-50 -> 100 \"--ui-button-secondary-background-hover\": \"linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%)\", // slate-100 -> 200 \"--ui-button-secondary-background-active\": \"linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%)\", // reversed 100 -> 50 \"--ui-button-secondary-border\": \"#cbd5e1\", // slate-300 \"--ui-button-secondary-border-hover\": \"#94a3b8\", // slate-400 // button-group's unchecked segments, pagination-nav's prev/next buttons, and // radio-cards/radio-pills' checked background read this rather than // --ui-button-secondary-background (see tokens above). Left flat they were // the one \"secondary\" surface that stayed matte while every actual secondary // button turned glossy, so it tracks the hover gradient rather than a // separate literal that could drift out of step with it. \"--ui-button-secondary-surface-muted\": \"var(--ui-button-secondary-background-hover)\", \"--ui-button-highlight\": \"inset 0 1px 0 rgb(255 255 255 / 0.35)\", // glossy top edge \"--ui-button-text-shadow\": \"0 1px 1px rgb(0 0 0 / 0.25)\", // legibility on primary/danger \"--ui-button-accent\": \"#4338ca\", // indigo-700, matches --ui-button-border // toast-notification: same light-to-dark, one-shade-step gradient // convention as the button variants above; the bottom stop always matches // the flat --ui-success/--ui-danger/--ui-info/--ui-warning value exactly. \"--ui-toast-success-background\": \"linear-gradient(180deg, #22c55e 0%, #16a34a 100%)\", // green-500 -> 600 \"--ui-toast-error-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-toast-info-background\": \"linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%)\", // sky-400 -> 500 \"--ui-toast-warning-background\": \"linear-gradient(180deg, #f59e0b 0%, #d97706 100%)\", // amber-500 -> 600 \"--ui-toast-highlight\": \"inset 0 1px 0 rgb(255 255 255 / 0.35)\", // glossy top edge, same as --ui-button-highlight \"--ui-toast-text-shadow\": \"0 1px 1px rgb(0 0 0 / 0.25)\", // legibility, same as --ui-button-text-shadow }",
21959
+ "default": "{ \"--ui-button-background\": \"linear-gradient(180deg, #6366f1 0%, #4f46e5 100%)\", // indigo-500 -> 600 \"--ui-button-background-hover\": \"linear-gradient(180deg, #818cf8 0%, #6366f1 100%)\", // indigo-400 -> 500 \"--ui-button-background-active\": \"linear-gradient(180deg, #4f46e5 0%, #6366f1 100%)\", // reversed 600 -> 500 \"--ui-button-border\": \"#4338ca\", // indigo-700 \"--ui-button-danger-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-button-danger-background-hover\": \"linear-gradient(180deg, #f87171 0%, #ef4444 100%)\", // red-400 -> 500 \"--ui-button-danger-background-active\": \"linear-gradient(180deg, #dc2626 0%, #ef4444 100%)\", // reversed 600 -> 500 \"--ui-button-danger-border\": \"#b91c1c\", // red-700 // Secondary stays neutral gray rather than a saturated hue, matching its // flat \"not the primary action\" role, but one shade darker than the // original white -> slate-50 pairing: at a small button size, that pair // read as flat white with no visible gradient at all. slate-50 -> 100 // keeps enough contrast to actually look like a gradient while still // being clearly lighter/quieter than primary/danger. Border stays // slate-300 (a step past the flat slate-200) so its edge still reads // against the fill. \"--ui-button-secondary-background\": \"linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%)\", // slate-50 -> 100 \"--ui-button-secondary-background-hover\": \"linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%)\", // slate-100 -> 200 \"--ui-button-secondary-background-active\": \"linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%)\", // reversed 100 -> 50 \"--ui-button-secondary-border\": \"#cbd5e1\", // slate-300 \"--ui-button-secondary-border-hover\": \"#94a3b8\", // slate-400 // button-group's unchecked segments, pagination-nav's prev/next buttons, and // radio-cards/radio-pills' checked background read this rather than // --ui-button-secondary-background (see tokens above). Left flat they were // the one \"secondary\" surface that stayed matte while every actual secondary // button turned glossy, so it tracks the hover gradient rather than a // separate literal that could drift out of step with it. \"--ui-button-secondary-surface-muted\": \"var(--ui-button-secondary-background-hover)\", // Stops of --ui-button-secondary-background above, for SVG surfaces. \"--ui-button-secondary-gloss-start\": \"#f8fafc\", // slate-50 \"--ui-button-secondary-gloss-end\": \"#f1f5f9\", // slate-100 \"--ui-button-highlight\": \"inset 0 1px 0 rgb(255 255 255 / 0.35)\", // glossy top edge \"--ui-button-text-shadow\": \"0 1px 1px rgb(0 0 0 / 0.25)\", // legibility on primary/danger \"--ui-button-accent\": \"#4338ca\", // indigo-700, matches --ui-button-border // toast-notification: same light-to-dark, one-shade-step gradient // convention as the button variants above; the bottom stop always matches // the flat --ui-success/--ui-danger/--ui-info/--ui-warning value exactly. \"--ui-toast-success-background\": \"linear-gradient(180deg, #22c55e 0%, #16a34a 100%)\", // green-500 -> 600 \"--ui-toast-error-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-toast-info-background\": \"linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%)\", // sky-400 -> 500 \"--ui-toast-warning-background\": \"linear-gradient(180deg, #f59e0b 0%, #d97706 100%)\", // amber-500 -> 600 \"--ui-toast-highlight\": \"inset 0 1px 0 rgb(255 255 255 / 0.35)\", // glossy top edge, same as --ui-button-highlight \"--ui-toast-text-shadow\": \"0 1px 1px rgb(0 0 0 / 0.25)\", // legibility, same as --ui-button-text-shadow }",
20367
21960
  "description": "\"Gradient\" theme overrides, applied via `data-theme=\"gradient\"` on `<html>`\n(see `generate-tokens-css.mjs`) — forces `color-scheme: light` like the\n`\"light\"` override and layers a glossy gradient look on top of the flat\nlight palette, using exactly the `--ui-button-*`/`--ui-button-danger-*`/\n`--ui-button-secondary-*` hooks `ui-button.ts` already reads (see that\nfile's doc comment), plus the `--ui-toast-*` hooks `toast-notification.ts`\nreads (see its doc comment). Every other token (`--ui-text`, `--ui-surface`,\n…) is left at its light-mode default — this theme only glosses buttons and\ntoasts by design. Each variant's gradient runs light-to-dark top-to-bottom\n(`180deg`) across one Tailwind shade step lighter/darker than the flat\ntoken so it still reads as \"the same color, glossy\" rather than a\ndifferent hue; `-hover` shifts the whole pair one shade lighter, `-active`\nreverses the two stops for a pressed/\"indented\" look, and `-border` is a\nshade darker than the gradient's dark stop for a defining edge."
20368
21961
  },
20369
21962
  {
@@ -20384,6 +21977,24 @@
20384
21977
  "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
21978
  "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
21979
  },
21980
+ {
21981
+ "kind": "variable",
21982
+ "name": "developerDarkTokenValues",
21983
+ "type": {
21984
+ "text": "Record<string, string>"
21985
+ },
21986
+ "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', }",
21987
+ "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."
21988
+ },
21989
+ {
21990
+ "kind": "variable",
21991
+ "name": "developerLightTokenValues",
21992
+ "type": {
21993
+ "text": "Record<string, string>"
21994
+ },
21995
+ "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', }",
21996
+ "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)."
21997
+ },
20387
21998
  {
20388
21999
  "kind": "variable",
20389
22000
  "name": "tokens",
@@ -20432,6 +22043,22 @@
20432
22043
  "module": "src/tokens.ts"
20433
22044
  }
20434
22045
  },
22046
+ {
22047
+ "kind": "js",
22048
+ "name": "developerDarkTokenValues",
22049
+ "declaration": {
22050
+ "name": "developerDarkTokenValues",
22051
+ "module": "src/tokens.ts"
22052
+ }
22053
+ },
22054
+ {
22055
+ "kind": "js",
22056
+ "name": "developerLightTokenValues",
22057
+ "declaration": {
22058
+ "name": "developerLightTokenValues",
22059
+ "module": "src/tokens.ts"
22060
+ }
22061
+ },
20435
22062
  {
20436
22063
  "kind": "js",
20437
22064
  "name": "tokens",
@@ -22086,6 +23713,70 @@
22086
23713
  }
22087
23714
  ]
22088
23715
  },
23716
+ {
23717
+ "kind": "javascript-module",
23718
+ "path": "src/window-chrome.ts",
23719
+ "declarations": [
23720
+ {
23721
+ "kind": "class",
23722
+ "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`.",
23723
+ "name": "WindowChrome",
23724
+ "slots": [
23725
+ {
23726
+ "description": "Optional right-aligned controls such as theme or view toggles.",
23727
+ "name": "actions"
23728
+ }
23729
+ ],
23730
+ "members": [
23731
+ {
23732
+ "kind": "field",
23733
+ "name": "label",
23734
+ "type": {
23735
+ "text": "string"
23736
+ },
23737
+ "default": "\"\"",
23738
+ "description": "Filename-style text shown beside the decorative dots.",
23739
+ "attribute": "label"
23740
+ }
23741
+ ],
23742
+ "attributes": [
23743
+ {
23744
+ "name": "label",
23745
+ "type": {
23746
+ "text": "string"
23747
+ },
23748
+ "default": "\"\"",
23749
+ "description": "Filename-style text shown beside the decorative dots.",
23750
+ "fieldName": "label"
23751
+ }
23752
+ ],
23753
+ "superclass": {
23754
+ "name": "LitElement",
23755
+ "package": "lit"
23756
+ },
23757
+ "tagName": "window-chrome",
23758
+ "customElement": true
23759
+ }
23760
+ ],
23761
+ "exports": [
23762
+ {
23763
+ "kind": "js",
23764
+ "name": "WindowChrome",
23765
+ "declaration": {
23766
+ "name": "WindowChrome",
23767
+ "module": "src/window-chrome.ts"
23768
+ }
23769
+ },
23770
+ {
23771
+ "kind": "custom-element-definition",
23772
+ "name": "window-chrome",
23773
+ "declaration": {
23774
+ "name": "WindowChrome",
23775
+ "module": "src/window-chrome.ts"
23776
+ }
23777
+ }
23778
+ ]
23779
+ },
22089
23780
  {
22090
23781
  "kind": "javascript-module",
22091
23782
  "path": "src/utils/calendar.ts",
@@ -22920,6 +24611,201 @@
22920
24611
  }
22921
24612
  ]
22922
24613
  },
24614
+ {
24615
+ "kind": "javascript-module",
24616
+ "path": "src/utils/dag-layout.ts",
24617
+ "declarations": [
24618
+ {
24619
+ "kind": "variable",
24620
+ "name": "DAG_NODE_HEIGHT",
24621
+ "type": {
24622
+ "text": "number"
24623
+ },
24624
+ "default": "24",
24625
+ "description": "Height of every node card, in pixels."
24626
+ },
24627
+ {
24628
+ "kind": "variable",
24629
+ "name": "DAG_LABEL_OFFSET",
24630
+ "type": {
24631
+ "text": "number"
24632
+ },
24633
+ "default": "26",
24634
+ "description": "Space before a node's label: left padding, 14px icon, and gap."
24635
+ },
24636
+ {
24637
+ "kind": "variable",
24638
+ "name": "DAG_LABEL_OFFSET_PLAIN",
24639
+ "type": {
24640
+ "text": "number"
24641
+ },
24642
+ "default": "8",
24643
+ "description": "Space before a node's label when it has no icon."
24644
+ },
24645
+ {
24646
+ "kind": "variable",
24647
+ "name": "DAG_MIN_NODE_WIDTH",
24648
+ "type": {
24649
+ "text": "number"
24650
+ },
24651
+ "default": "48",
24652
+ "description": "Narrowest node card, in pixels."
24653
+ },
24654
+ {
24655
+ "kind": "variable",
24656
+ "name": "DAG_MAX_NODE_WIDTH",
24657
+ "type": {
24658
+ "text": "number"
24659
+ },
24660
+ "default": "200",
24661
+ "description": "Widest node card, in pixels; longer labels are shortened with an ellipsis."
24662
+ },
24663
+ {
24664
+ "kind": "function",
24665
+ "name": "approximateTextWidth",
24666
+ "parameters": [
24667
+ {
24668
+ "name": "text"
24669
+ }
24670
+ ],
24671
+ "description": "Width estimate used when the browser cannot measure text (no 2D canvas)."
24672
+ },
24673
+ {
24674
+ "kind": "function",
24675
+ "name": "fitLabel",
24676
+ "return": {
24677
+ "type": {
24678
+ "text": "string"
24679
+ }
24680
+ },
24681
+ "parameters": [
24682
+ {
24683
+ "name": "text",
24684
+ "type": {
24685
+ "text": "string"
24686
+ }
24687
+ },
24688
+ {
24689
+ "name": "maxWidth",
24690
+ "type": {
24691
+ "text": "number"
24692
+ }
24693
+ },
24694
+ {
24695
+ "name": "measure",
24696
+ "type": {
24697
+ "text": "MeasureText"
24698
+ }
24699
+ }
24700
+ ],
24701
+ "description": "Shortens `text` with an ellipsis until it fits `maxWidth`."
24702
+ },
24703
+ {
24704
+ "kind": "function",
24705
+ "name": "layoutDag",
24706
+ "return": {
24707
+ "type": {
24708
+ "text": "DagLayout"
24709
+ }
24710
+ },
24711
+ "parameters": [
24712
+ {
24713
+ "name": "nodes",
24714
+ "type": {
24715
+ "text": "DagLayoutInput[]"
24716
+ }
24717
+ },
24718
+ {
24719
+ "name": "edges",
24720
+ "type": {
24721
+ "text": "Array<{ source: string; target: string }>"
24722
+ }
24723
+ },
24724
+ {
24725
+ "name": "direction",
24726
+ "default": "\"LR\"",
24727
+ "type": {
24728
+ "text": "DagDirection"
24729
+ }
24730
+ },
24731
+ {
24732
+ "name": "measure",
24733
+ "default": "approximateTextWidth",
24734
+ "type": {
24735
+ "text": "MeasureText"
24736
+ }
24737
+ }
24738
+ ],
24739
+ "description": "Lays out a directed graph in layers (Sugiyama-style, via dagre) so every edge points along `direction`.\n\nCycles are broken only to assign layers: every edge is returned, and the ones that close a cycle are marked\n`backward`. Edges whose endpoints are not both in `nodes`, self-edges, and duplicates are ignored. The result\ndoes not depend on input order."
24740
+ }
24741
+ ],
24742
+ "exports": [
24743
+ {
24744
+ "kind": "js",
24745
+ "name": "DAG_NODE_HEIGHT",
24746
+ "declaration": {
24747
+ "name": "DAG_NODE_HEIGHT",
24748
+ "module": "src/utils/dag-layout.ts"
24749
+ }
24750
+ },
24751
+ {
24752
+ "kind": "js",
24753
+ "name": "DAG_LABEL_OFFSET",
24754
+ "declaration": {
24755
+ "name": "DAG_LABEL_OFFSET",
24756
+ "module": "src/utils/dag-layout.ts"
24757
+ }
24758
+ },
24759
+ {
24760
+ "kind": "js",
24761
+ "name": "DAG_LABEL_OFFSET_PLAIN",
24762
+ "declaration": {
24763
+ "name": "DAG_LABEL_OFFSET_PLAIN",
24764
+ "module": "src/utils/dag-layout.ts"
24765
+ }
24766
+ },
24767
+ {
24768
+ "kind": "js",
24769
+ "name": "DAG_MIN_NODE_WIDTH",
24770
+ "declaration": {
24771
+ "name": "DAG_MIN_NODE_WIDTH",
24772
+ "module": "src/utils/dag-layout.ts"
24773
+ }
24774
+ },
24775
+ {
24776
+ "kind": "js",
24777
+ "name": "DAG_MAX_NODE_WIDTH",
24778
+ "declaration": {
24779
+ "name": "DAG_MAX_NODE_WIDTH",
24780
+ "module": "src/utils/dag-layout.ts"
24781
+ }
24782
+ },
24783
+ {
24784
+ "kind": "js",
24785
+ "name": "approximateTextWidth",
24786
+ "declaration": {
24787
+ "name": "approximateTextWidth",
24788
+ "module": "src/utils/dag-layout.ts"
24789
+ }
24790
+ },
24791
+ {
24792
+ "kind": "js",
24793
+ "name": "fitLabel",
24794
+ "declaration": {
24795
+ "name": "fitLabel",
24796
+ "module": "src/utils/dag-layout.ts"
24797
+ }
24798
+ },
24799
+ {
24800
+ "kind": "js",
24801
+ "name": "layoutDag",
24802
+ "declaration": {
24803
+ "name": "layoutDag",
24804
+ "module": "src/utils/dag-layout.ts"
24805
+ }
24806
+ }
24807
+ ]
24808
+ },
22923
24809
  {
22924
24810
  "kind": "javascript-module",
22925
24811
  "path": "src/utils/distance.ts",