@f-ewald/components 1.39.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/README.md +48 -0
  2. package/custom-elements.json +1046 -131
  3. package/dist/address-autocomplete.js +2 -2
  4. package/dist/address-autocomplete.js.map +1 -1
  5. package/dist/app-shell.js +4 -4
  6. package/dist/app-shell.js.map +1 -1
  7. package/dist/app-sidebar.js +2 -2
  8. package/dist/app-sidebar.js.map +1 -1
  9. package/dist/audio-player.js +1 -1
  10. package/dist/audio-player.js.map +1 -1
  11. package/dist/autocomplete-input.js +2 -2
  12. package/dist/autocomplete-input.js.map +1 -1
  13. package/dist/breadcrumb-nav.d.ts +69 -0
  14. package/dist/breadcrumb-nav.d.ts.map +1 -0
  15. package/dist/breadcrumb-nav.js +235 -0
  16. package/dist/breadcrumb-nav.js.map +1 -0
  17. package/dist/button-group.js +2 -2
  18. package/dist/button-group.js.map +1 -1
  19. package/dist/calendar-day.js +3 -3
  20. package/dist/calendar-day.js.map +1 -1
  21. package/dist/calendar-month.d.ts.map +1 -1
  22. package/dist/calendar-month.js +4 -1
  23. package/dist/calendar-month.js.map +1 -1
  24. package/dist/calendar-week.js +4 -4
  25. package/dist/calendar-week.js.map +1 -1
  26. package/dist/chat-message.js +1 -1
  27. package/dist/chat-message.js.map +1 -1
  28. package/dist/comment-composer.js +1 -1
  29. package/dist/comment-composer.js.map +1 -1
  30. package/dist/confirm-dialog.d.ts.map +1 -1
  31. package/dist/confirm-dialog.js +5 -2
  32. package/dist/confirm-dialog.js.map +1 -1
  33. package/dist/content-divider.js +1 -1
  34. package/dist/content-divider.js.map +1 -1
  35. package/dist/cron-schedule.d.ts.map +1 -1
  36. package/dist/cron-schedule.js +6 -5
  37. package/dist/cron-schedule.js.map +1 -1
  38. package/dist/data-table.d.ts.map +1 -1
  39. package/dist/data-table.js +3 -2
  40. package/dist/data-table.js.map +1 -1
  41. package/dist/dropdown-button.d.ts.map +1 -1
  42. package/dist/dropdown-button.js +4 -2
  43. package/dist/dropdown-button.js.map +1 -1
  44. package/dist/editable-text.js +1 -1
  45. package/dist/editable-text.js.map +1 -1
  46. package/dist/empty-state.d.ts +42 -0
  47. package/dist/empty-state.d.ts.map +1 -0
  48. package/dist/empty-state.js +172 -0
  49. package/dist/empty-state.js.map +1 -0
  50. package/dist/form-field.js +1 -1
  51. package/dist/form-field.js.map +1 -1
  52. package/dist/form-select.js +3 -3
  53. package/dist/form-select.js.map +1 -1
  54. package/dist/frame-box.js +1 -1
  55. package/dist/frame-box.js.map +1 -1
  56. package/dist/fullscreen-button.js +1 -1
  57. package/dist/fullscreen-button.js.map +1 -1
  58. package/dist/icons.d.ts +2 -0
  59. package/dist/icons.d.ts.map +1 -1
  60. package/dist/icons.js +2 -0
  61. package/dist/icons.js.map +1 -1
  62. package/dist/index.d.ts +6 -1
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +6 -1
  65. package/dist/index.js.map +1 -1
  66. package/dist/kanban-card.js +1 -1
  67. package/dist/kanban-card.js.map +1 -1
  68. package/dist/kanban-column.js +3 -3
  69. package/dist/kanban-column.js.map +1 -1
  70. package/dist/kbd-hint.d.ts.map +1 -1
  71. package/dist/kbd-hint.js +2 -1
  72. package/dist/kbd-hint.js.map +1 -1
  73. package/dist/link-card.js +1 -1
  74. package/dist/link-card.js.map +1 -1
  75. package/dist/markdown-view.js +3 -3
  76. package/dist/markdown-view.js.map +1 -1
  77. package/dist/modal-dialog.js +1 -1
  78. package/dist/modal-dialog.js.map +1 -1
  79. package/dist/multi-select.js +5 -5
  80. package/dist/multi-select.js.map +1 -1
  81. package/dist/pagination-nav.d.ts.map +1 -1
  82. package/dist/pagination-nav.js +5 -1
  83. package/dist/pagination-nav.js.map +1 -1
  84. package/dist/photo-gallery.js +1 -1
  85. package/dist/photo-gallery.js.map +1 -1
  86. package/dist/popover-panel.d.ts.map +1 -1
  87. package/dist/popover-panel.js +4 -2
  88. package/dist/popover-panel.js.map +1 -1
  89. package/dist/progress-bar.d.ts.map +1 -1
  90. package/dist/progress-bar.js +1 -0
  91. package/dist/progress-bar.js.map +1 -1
  92. package/dist/radio-cards.js +1 -1
  93. package/dist/radio-cards.js.map +1 -1
  94. package/dist/radio-pills.js +1 -1
  95. package/dist/radio-pills.js.map +1 -1
  96. package/dist/reveal-button.js +1 -1
  97. package/dist/reveal-button.js.map +1 -1
  98. package/dist/scroll-to-bottom.js +1 -1
  99. package/dist/scroll-to-bottom.js.map +1 -1
  100. package/dist/scroll-to-top.js +1 -1
  101. package/dist/scroll-to-top.js.map +1 -1
  102. package/dist/skip-link.d.ts +30 -0
  103. package/dist/skip-link.d.ts.map +1 -0
  104. package/dist/skip-link.js +136 -0
  105. package/dist/skip-link.js.map +1 -0
  106. package/dist/slide-panel.js +1 -1
  107. package/dist/slide-panel.js.map +1 -1
  108. package/dist/spec-list.d.ts +49 -0
  109. package/dist/spec-list.d.ts.map +1 -0
  110. package/dist/spec-list.js +168 -0
  111. package/dist/spec-list.js.map +1 -0
  112. package/dist/stat-meter.d.ts.map +1 -1
  113. package/dist/stat-meter.js +1 -0
  114. package/dist/stat-meter.js.map +1 -1
  115. package/dist/tab-bar.js +1 -1
  116. package/dist/tab-bar.js.map +1 -1
  117. package/dist/text-area.js +1 -1
  118. package/dist/text-area.js.map +1 -1
  119. package/dist/tile-grid.js +1 -1
  120. package/dist/tile-grid.js.map +1 -1
  121. package/dist/tokens.css +42 -1
  122. package/dist/tokens.d.ts +50 -0
  123. package/dist/tokens.d.ts.map +1 -1
  124. package/dist/tokens.js +132 -0
  125. package/dist/tokens.js.map +1 -1
  126. package/dist/tree-view.js +2 -2
  127. package/dist/tree-view.js.map +1 -1
  128. package/dist/ui-admonition.js +1 -1
  129. package/dist/ui-admonition.js.map +1 -1
  130. package/dist/ui-button.js +1 -1
  131. package/dist/ui-button.js.map +1 -1
  132. package/dist/video-player.js +1 -1
  133. package/dist/video-player.js.map +1 -1
  134. package/dist/vote-control.d.ts +40 -0
  135. package/dist/vote-control.d.ts.map +1 -0
  136. package/dist/vote-control.js +311 -0
  137. package/dist/vote-control.js.map +1 -0
  138. package/docs/address-autocomplete.md +1 -0
  139. package/docs/app-shell.md +1 -0
  140. package/docs/app-sidebar.md +1 -0
  141. package/docs/audio-player.md +1 -0
  142. package/docs/autocomplete-input.md +1 -0
  143. package/docs/breadcrumb-nav.md +70 -0
  144. package/docs/button-group.md +1 -0
  145. package/docs/calendar-day.md +1 -0
  146. package/docs/calendar-month.md +1 -0
  147. package/docs/calendar-week.md +1 -0
  148. package/docs/chat-message.md +1 -0
  149. package/docs/comment-composer.md +1 -0
  150. package/docs/confirm-dialog.md +1 -0
  151. package/docs/content-divider.md +1 -0
  152. package/docs/cron-schedule.md +2 -0
  153. package/docs/data-table.md +2 -0
  154. package/docs/design-language.md +57 -5
  155. package/docs/dropdown-button.md +1 -0
  156. package/docs/editable-text.md +1 -0
  157. package/docs/empty-state.md +55 -0
  158. package/docs/form-field.md +1 -0
  159. package/docs/form-select.md +1 -0
  160. package/docs/frame-box.md +1 -0
  161. package/docs/fullscreen-button.md +1 -0
  162. package/docs/icons.md +1 -0
  163. package/docs/kanban-card.md +1 -0
  164. package/docs/kanban-column.md +1 -0
  165. package/docs/kbd-hint.md +1 -0
  166. package/docs/link-card.md +1 -0
  167. package/docs/markdown-view.md +1 -0
  168. package/docs/modal-dialog.md +1 -0
  169. package/docs/multi-select.md +1 -0
  170. package/docs/pagination-nav.md +2 -0
  171. package/docs/photo-gallery.md +1 -0
  172. package/docs/popover-panel.md +1 -0
  173. package/docs/progress-bar.md +1 -0
  174. package/docs/radio-cards.md +1 -0
  175. package/docs/radio-pills.md +1 -0
  176. package/docs/reveal-button.md +1 -0
  177. package/docs/scroll-to-bottom.md +1 -0
  178. package/docs/scroll-to-top.md +1 -0
  179. package/docs/skip-link.md +54 -0
  180. package/docs/slide-panel.md +1 -0
  181. package/docs/spec-list.md +71 -0
  182. package/docs/stat-meter.md +1 -0
  183. package/docs/tab-bar.md +1 -0
  184. package/docs/text-area.md +1 -0
  185. package/docs/tile-grid.md +1 -0
  186. package/docs/tree-view.md +1 -0
  187. package/docs/ui-admonition.md +1 -0
  188. package/docs/ui-button.md +1 -0
  189. package/docs/video-player.md +1 -0
  190. package/docs/vote-control.md +73 -0
  191. package/llms.txt +201 -49
  192. package/package.json +1 -1
package/README.md CHANGED
@@ -52,6 +52,7 @@ import "@f-ewald/components/roman-numeral.js";
52
52
  | `<audio-player>` | [API reference](https://f-ewald.github.io/components/docs/audio-player.html) |
53
53
  | `<auto-scroll>` | [API reference](https://f-ewald.github.io/components/docs/auto-scroll.html) |
54
54
  | `<autocomplete-input>` | [API reference](https://f-ewald.github.io/components/docs/autocomplete-input.html) |
55
+ | `<breadcrumb-nav>` | [API reference](https://f-ewald.github.io/components/docs/breadcrumb-nav.html) |
55
56
  | `<button-group>` | [API reference](https://f-ewald.github.io/components/docs/button-group.html) |
56
57
  | `<calendar-day>` | [API reference](https://f-ewald.github.io/components/docs/calendar-day.html) |
57
58
  | `<calendar-entry>` | [API reference](https://f-ewald.github.io/components/docs/calendar-entry.html) |
@@ -72,6 +73,7 @@ import "@f-ewald/components/roman-numeral.js";
72
73
  | `<distribution-chart>` | [API reference](https://f-ewald.github.io/components/docs/distribution-chart.html) |
73
74
  | `<dropdown-button>` | [API reference](https://f-ewald.github.io/components/docs/dropdown-button.html) |
74
75
  | `<editable-text>` | [API reference](https://f-ewald.github.io/components/docs/editable-text.html) |
76
+ | `<empty-state>` | [API reference](https://f-ewald.github.io/components/docs/empty-state.html) |
75
77
  | `<form-actions>` | [API reference](https://f-ewald.github.io/components/docs/form-actions.html) |
76
78
  | `<form-field>` | [API reference](https://f-ewald.github.io/components/docs/form-field.html) |
77
79
  | `<form-select>` | [API reference](https://f-ewald.github.io/components/docs/form-select.html) |
@@ -111,7 +113,9 @@ import "@f-ewald/components/roman-numeral.js";
111
113
  | `<scroll-dots>` | [API reference](https://f-ewald.github.io/components/docs/scroll-dots.html) |
112
114
  | `<scroll-to-bottom>` | [API reference](https://f-ewald.github.io/components/docs/scroll-to-bottom.html) |
113
115
  | `<scroll-to-top>` | [API reference](https://f-ewald.github.io/components/docs/scroll-to-top.html) |
116
+ | `<skip-link>` | [API reference](https://f-ewald.github.io/components/docs/skip-link.html) |
114
117
  | `<slide-panel>` | [API reference](https://f-ewald.github.io/components/docs/slide-panel.html) |
118
+ | `<spec-list>` | [API reference](https://f-ewald.github.io/components/docs/spec-list.html) |
115
119
  | `<split-hero>` | [API reference](https://f-ewald.github.io/components/docs/split-hero.html) |
116
120
  | `<stat-meter>` | [API reference](https://f-ewald.github.io/components/docs/stat-meter.html) |
117
121
  | `<status-banner>` | [API reference](https://f-ewald.github.io/components/docs/status-banner.html) |
@@ -129,6 +133,7 @@ import "@f-ewald/components/roman-numeral.js";
129
133
  | `<ui-checkbox>` | [API reference](https://f-ewald.github.io/components/docs/ui-checkbox.html) |
130
134
  | `<user-avatar>` | [API reference](https://f-ewald.github.io/components/docs/user-avatar.html) |
131
135
  | `<video-player>` | [API reference](https://f-ewald.github.io/components/docs/video-player.html) |
136
+ | `<vote-control>` | [API reference](https://f-ewald.github.io/components/docs/vote-control.html) |
132
137
  | `<weight-bar-chart>` | [API reference](https://f-ewald.github.io/components/docs/weight-bar-chart.html) |
133
138
 
134
139
  Each doc lists the component's attributes/properties, events, slots, and the
@@ -208,6 +213,49 @@ circle shapes — chips, avatars, dots, slider thumbs — which read
208
213
  Removing them outright would leave `slide-panel` — the only overlay with no
209
214
  border of its own — as an invisible white-on-white edge.
210
215
 
216
+ ### Blueprint theme
217
+
218
+ Setting `data-theme="blueprint"` on `<html>` restyles the light palette as a
219
+ technical catalog / spec sheet: warm near-black ink on white paper, one pure
220
+ blue accent, square corners, monospace type, and structure carried entirely by
221
+ 1.5px hairline rules instead of shadows — see `blueprintTokenValues` in
222
+ [`src/tokens.ts`](./src/tokens.ts). Like `gradient` and `metro`, it is built on
223
+ the light palette and so takes precedence over the OS dark preference.
224
+
225
+ It is the widest theme in the system, and the only one to reach three axes
226
+ beyond color and shape:
227
+
228
+ - `--ui-border-width` goes to `1.5px`. Every border here does the work a shadow
229
+ does elsewhere, and at 1px those rules read as a faint table rather than as
230
+ drawn structure.
231
+ - `--ui-label-transform` goes to `uppercase`, so chrome micro-labels — spec
232
+ keys, table headers, group labels — read as signage. It never applies to
233
+ user content.
234
+ - `--ui-numeric` goes to `tabular-nums`, so figures line up in a column.
235
+ - `--ui-font` is retargeted to a monospace stack led by `"Space Mono"`. Load
236
+ that webfont yourself for the exact reference face; with no external CSS at
237
+ all it falls through to the same system mono stack `--ui-font-mono` uses, so
238
+ the theme still renders correctly on its own.
239
+
240
+ Type *metrics* — size, weight, line height, tracking — are not themed here or
241
+ anywhere else; they encode hierarchy rather than style.
242
+
243
+ Two deliberate departures from the look it is modelled on:
244
+
245
+ - Primary buttons are **ink**, not the accent, and only turn blue on hover.
246
+ `--ui-primary` stays pure blue because it drives accents everywhere else
247
+ (active tab underlines, selected states, links); a large blue button beside
248
+ blue accents would flatten the two roles into one.
249
+ - `danger`/`success`/`warning` keep their usual red/green/amber. They encode
250
+ meaning rather than style, and a blue-only palette is an editorial choice a
251
+ component library cannot make on your behalf. `--ui-info` is the exception —
252
+ "neutral notice" *is* the accent in this theme.
253
+
254
+ The faint dot grid and film grain in the playground are page-level backdrops,
255
+ not part of the theme: a component library has no business painting outside its
256
+ own shadow roots. Copy the two rules from
257
+ [`demo/demo.css`](./demo/demo.css) if you want them.
258
+
211
259
  The full token set is defined in [`src/tokens.ts`](./src/tokens.ts).
212
260
  Typography, spacing, control, icon, radius, panel, chart, and accessibility
213
261
  measurements follow the canonical