@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
package/README.md CHANGED
@@ -26,7 +26,8 @@ import "@f-ewald/components";
26
26
  ```
27
27
 
28
28
  ...or import components individually — this tree-shakes everything else,
29
- including the `d3` dependency used only by the chart components:
29
+ including the `d3` dependency used only by the chart components and the `@dagrejs/dagre` layout
30
+ used only by `dag-graph`:
30
31
 
31
32
  ```js
32
33
  import "@f-ewald/components/confirm-dialog.js";
@@ -52,6 +53,7 @@ import "@f-ewald/components/roman-numeral.js";
52
53
  | `<audio-player>` | [API reference](https://f-ewald.github.io/components/docs/audio-player.html) |
53
54
  | `<auto-scroll>` | [API reference](https://f-ewald.github.io/components/docs/auto-scroll.html) |
54
55
  | `<autocomplete-input>` | [API reference](https://f-ewald.github.io/components/docs/autocomplete-input.html) |
56
+ | `<blink-cursor>` | [API reference](https://f-ewald.github.io/components/docs/blink-cursor.html) |
55
57
  | `<breadcrumb-nav>` | [API reference](https://f-ewald.github.io/components/docs/breadcrumb-nav.html) |
56
58
  | `<button-group>` | [API reference](https://f-ewald.github.io/components/docs/button-group.html) |
57
59
  | `<calendar-day>` | [API reference](https://f-ewald.github.io/components/docs/calendar-day.html) |
@@ -62,12 +64,15 @@ import "@f-ewald/components/roman-numeral.js";
62
64
  | `<card-grid>` | [API reference](https://f-ewald.github.io/components/docs/card-grid.html) |
63
65
  | `<chat-message>` | [API reference](https://f-ewald.github.io/components/docs/chat-message.html) |
64
66
  | `<chevron-panel>` | [API reference](https://f-ewald.github.io/components/docs/chevron-panel.html) |
67
+ | `<code-diff>` | [API reference](https://f-ewald.github.io/components/docs/code-diff.html) |
65
68
  | `<comment-composer>` | [API reference](https://f-ewald.github.io/components/docs/comment-composer.html) |
69
+ | `<comment-label>` | [API reference](https://f-ewald.github.io/components/docs/comment-label.html) |
66
70
  | `<confirm-dialog>` | [API reference](https://f-ewald.github.io/components/docs/confirm-dialog.html) |
67
71
  | `<content-divider>` | [API reference](https://f-ewald.github.io/components/docs/content-divider.html) |
68
72
  | `<copy-link-button>` | [API reference](https://f-ewald.github.io/components/docs/copy-link-button.html) |
69
73
  | `<countdown-timer>` | [API reference](https://f-ewald.github.io/components/docs/countdown-timer.html) |
70
74
  | `<cron-schedule>` | [API reference](https://f-ewald.github.io/components/docs/cron-schedule.html) |
75
+ | `<dag-graph>` | [API reference](https://f-ewald.github.io/components/docs/dag-graph.html) |
71
76
  | `<data-table>` | [API reference](https://f-ewald.github.io/components/docs/data-table.html) |
72
77
  | `<distance-value>` | [API reference](https://f-ewald.github.io/components/docs/distance-value.html) |
73
78
  | `<distribution-chart>` | [API reference](https://f-ewald.github.io/components/docs/distribution-chart.html) |
@@ -118,10 +123,13 @@ import "@f-ewald/components/roman-numeral.js";
118
123
  | `<spec-list>` | [API reference](https://f-ewald.github.io/components/docs/spec-list.html) |
119
124
  | `<split-hero>` | [API reference](https://f-ewald.github.io/components/docs/split-hero.html) |
120
125
  | `<stat-meter>` | [API reference](https://f-ewald.github.io/components/docs/stat-meter.html) |
126
+ | `<stat-strip>` | [API reference](https://f-ewald.github.io/components/docs/stat-strip.html) |
121
127
  | `<status-banner>` | [API reference](https://f-ewald.github.io/components/docs/status-banner.html) |
122
128
  | `<status-pill>` | [API reference](https://f-ewald.github.io/components/docs/status-pill.html) |
129
+ | `<step-ladder>` | [API reference](https://f-ewald.github.io/components/docs/step-ladder.html) |
123
130
  | `<tab-bar>` | [API reference](https://f-ewald.github.io/components/docs/tab-bar.html) |
124
131
  | `<tab-item>` | [API reference](https://f-ewald.github.io/components/docs/tab-item.html) |
132
+ | `<terminal-block>` | [API reference](https://f-ewald.github.io/components/docs/terminal-block.html) |
125
133
  | `<text-area>` | [API reference](https://f-ewald.github.io/components/docs/text-area.html) |
126
134
  | `<tile-grid>` | [API reference](https://f-ewald.github.io/components/docs/tile-grid.html) |
127
135
  | `<timeline-container>` | [API reference](https://f-ewald.github.io/components/docs/timeline-container.html) |
@@ -135,6 +143,7 @@ import "@f-ewald/components/roman-numeral.js";
135
143
  | `<video-player>` | [API reference](https://f-ewald.github.io/components/docs/video-player.html) |
136
144
  | `<vote-control>` | [API reference](https://f-ewald.github.io/components/docs/vote-control.html) |
137
145
  | `<weight-bar-chart>` | [API reference](https://f-ewald.github.io/components/docs/weight-bar-chart.html) |
146
+ | `<window-chrome>` | [API reference](https://f-ewald.github.io/components/docs/window-chrome.html) |
138
147
 
139
148
  Each doc lists the component's attributes/properties, events, slots, and the
140
149
  `--ui-*` CSS custom properties it consumes. For a machine-readable summary of
@@ -272,10 +281,11 @@ catalog to AI coding assistants, with five tools:
272
281
  - `get_component_docs(tag)` — the full generated Markdown doc for one tag
273
282
  (install snippet, usage example, attributes/properties, events, slots,
274
283
  CSS custom properties).
275
- - `list_layouts` — every dashboard page template (layout recipe) + a one-line
276
- summary.
284
+ - `list_layouts` — every page template (layout recipe) + a one-line summary.
277
285
  - `get_layout(name)` — the full recipe for one page template (which components
278
- fill which `app-shell` slots, markup, and notes).
286
+ fill which `app-shell` slots and how, plus markup and notes — or, for a
287
+ shell-less page like a marketing landing page, the section-by-section
288
+ component composition instead).
279
289
  - `list_icons` — every icon in `icons.js`, its default size, and its intended
280
290
  use case (e.g. delete vs. edit vs. close), for consistent icon choices
281
291
  across apps. See [`docs/icons.md`](./docs/icons.md) for the same catalog.