@f-ewald/components 1.38.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.
- package/README.md +48 -0
- package/custom-elements.json +1052 -131
- package/dist/address-autocomplete.js +2 -2
- package/dist/address-autocomplete.js.map +1 -1
- package/dist/app-shell.js +4 -4
- package/dist/app-shell.js.map +1 -1
- package/dist/app-sidebar.js +2 -2
- package/dist/app-sidebar.js.map +1 -1
- package/dist/audio-player.js +1 -1
- package/dist/audio-player.js.map +1 -1
- package/dist/autocomplete-input.js +2 -2
- package/dist/autocomplete-input.js.map +1 -1
- package/dist/breadcrumb-nav.d.ts +69 -0
- package/dist/breadcrumb-nav.d.ts.map +1 -0
- package/dist/breadcrumb-nav.js +235 -0
- package/dist/breadcrumb-nav.js.map +1 -0
- package/dist/button-group.js +2 -2
- package/dist/button-group.js.map +1 -1
- package/dist/calendar-day.js +3 -3
- package/dist/calendar-day.js.map +1 -1
- package/dist/calendar-month.d.ts.map +1 -1
- package/dist/calendar-month.js +4 -1
- package/dist/calendar-month.js.map +1 -1
- package/dist/calendar-week.js +4 -4
- package/dist/calendar-week.js.map +1 -1
- package/dist/chat-message.js +1 -1
- package/dist/chat-message.js.map +1 -1
- package/dist/comment-composer.js +1 -1
- package/dist/comment-composer.js.map +1 -1
- package/dist/confirm-dialog.d.ts.map +1 -1
- package/dist/confirm-dialog.js +5 -2
- package/dist/confirm-dialog.js.map +1 -1
- package/dist/content-divider.js +1 -1
- package/dist/content-divider.js.map +1 -1
- package/dist/cron-schedule.d.ts.map +1 -1
- package/dist/cron-schedule.js +6 -5
- package/dist/cron-schedule.js.map +1 -1
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +3 -2
- package/dist/data-table.js.map +1 -1
- package/dist/dropdown-button.d.ts.map +1 -1
- package/dist/dropdown-button.js +4 -2
- package/dist/dropdown-button.js.map +1 -1
- package/dist/editable-text.js +1 -1
- package/dist/editable-text.js.map +1 -1
- package/dist/empty-state.d.ts +42 -0
- package/dist/empty-state.d.ts.map +1 -0
- package/dist/empty-state.js +172 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/form-field.js +1 -1
- package/dist/form-field.js.map +1 -1
- package/dist/form-select.js +3 -3
- package/dist/form-select.js.map +1 -1
- package/dist/frame-box.js +1 -1
- package/dist/frame-box.js.map +1 -1
- package/dist/fullscreen-button.js +1 -1
- package/dist/fullscreen-button.js.map +1 -1
- package/dist/icons.d.ts +2 -0
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +2 -0
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/kanban-card.js +1 -1
- package/dist/kanban-card.js.map +1 -1
- package/dist/kanban-column.js +3 -3
- package/dist/kanban-column.js.map +1 -1
- package/dist/kbd-hint.d.ts.map +1 -1
- package/dist/kbd-hint.js +2 -1
- package/dist/kbd-hint.js.map +1 -1
- package/dist/link-card.js +1 -1
- package/dist/link-card.js.map +1 -1
- package/dist/markdown-view.js +3 -3
- package/dist/markdown-view.js.map +1 -1
- package/dist/modal-dialog.js +1 -1
- package/dist/modal-dialog.js.map +1 -1
- package/dist/multi-select.js +5 -5
- package/dist/multi-select.js.map +1 -1
- package/dist/pagination-nav.d.ts.map +1 -1
- package/dist/pagination-nav.js +5 -1
- package/dist/pagination-nav.js.map +1 -1
- package/dist/photo-gallery.js +1 -1
- package/dist/photo-gallery.js.map +1 -1
- package/dist/popover-panel.d.ts.map +1 -1
- package/dist/popover-panel.js +4 -2
- package/dist/popover-panel.js.map +1 -1
- package/dist/progress-bar.d.ts.map +1 -1
- package/dist/progress-bar.js +1 -0
- package/dist/progress-bar.js.map +1 -1
- package/dist/radio-cards.js +1 -1
- package/dist/radio-cards.js.map +1 -1
- package/dist/radio-pills.js +1 -1
- package/dist/radio-pills.js.map +1 -1
- package/dist/reveal-button.js +1 -1
- package/dist/reveal-button.js.map +1 -1
- package/dist/scroll-to-bottom.js +1 -1
- package/dist/scroll-to-bottom.js.map +1 -1
- package/dist/scroll-to-top.js +1 -1
- package/dist/scroll-to-top.js.map +1 -1
- package/dist/skip-link.d.ts +30 -0
- package/dist/skip-link.d.ts.map +1 -0
- package/dist/skip-link.js +136 -0
- package/dist/skip-link.js.map +1 -0
- package/dist/slide-panel.js +1 -1
- package/dist/slide-panel.js.map +1 -1
- package/dist/spec-list.d.ts +49 -0
- package/dist/spec-list.d.ts.map +1 -0
- package/dist/spec-list.js +168 -0
- package/dist/spec-list.js.map +1 -0
- package/dist/stat-meter.d.ts.map +1 -1
- package/dist/stat-meter.js +1 -0
- package/dist/stat-meter.js.map +1 -1
- package/dist/tab-bar.js +1 -1
- package/dist/tab-bar.js.map +1 -1
- package/dist/text-area.js +1 -1
- package/dist/text-area.js.map +1 -1
- package/dist/tile-grid.js +1 -1
- package/dist/tile-grid.js.map +1 -1
- package/dist/tokens.css +42 -1
- package/dist/tokens.d.ts +50 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +132 -0
- package/dist/tokens.js.map +1 -1
- package/dist/tree-view.js +2 -2
- package/dist/tree-view.js.map +1 -1
- package/dist/ui-admonition.js +1 -1
- package/dist/ui-admonition.js.map +1 -1
- package/dist/ui-button.js +1 -1
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-checkbox.d.ts +10 -1
- package/dist/ui-checkbox.d.ts.map +1 -1
- package/dist/ui-checkbox.js +11 -2
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/video-player.js +1 -1
- package/dist/video-player.js.map +1 -1
- package/dist/vote-control.d.ts +40 -0
- package/dist/vote-control.d.ts.map +1 -0
- package/dist/vote-control.js +311 -0
- package/dist/vote-control.js.map +1 -0
- package/docs/address-autocomplete.md +1 -0
- package/docs/app-shell.md +1 -0
- package/docs/app-sidebar.md +1 -0
- package/docs/audio-player.md +1 -0
- package/docs/autocomplete-input.md +1 -0
- package/docs/breadcrumb-nav.md +70 -0
- package/docs/button-group.md +1 -0
- package/docs/calendar-day.md +1 -0
- package/docs/calendar-month.md +1 -0
- package/docs/calendar-week.md +1 -0
- package/docs/chat-message.md +1 -0
- package/docs/comment-composer.md +1 -0
- package/docs/confirm-dialog.md +1 -0
- package/docs/content-divider.md +1 -0
- package/docs/cron-schedule.md +2 -0
- package/docs/data-table.md +2 -0
- package/docs/design-language.md +57 -5
- package/docs/dropdown-button.md +1 -0
- package/docs/editable-text.md +1 -0
- package/docs/empty-state.md +55 -0
- package/docs/form-field.md +1 -0
- package/docs/form-select.md +1 -0
- package/docs/frame-box.md +1 -0
- package/docs/fullscreen-button.md +1 -0
- package/docs/icons.md +1 -0
- package/docs/kanban-card.md +1 -0
- package/docs/kanban-column.md +1 -0
- package/docs/kbd-hint.md +1 -0
- package/docs/link-card.md +1 -0
- package/docs/markdown-view.md +1 -0
- package/docs/modal-dialog.md +1 -0
- package/docs/multi-select.md +1 -0
- package/docs/pagination-nav.md +2 -0
- package/docs/photo-gallery.md +1 -0
- package/docs/popover-panel.md +1 -0
- package/docs/progress-bar.md +1 -0
- package/docs/radio-cards.md +1 -0
- package/docs/radio-pills.md +1 -0
- package/docs/reveal-button.md +1 -0
- package/docs/scroll-to-bottom.md +1 -0
- package/docs/scroll-to-top.md +1 -0
- package/docs/skip-link.md +54 -0
- package/docs/slide-panel.md +1 -0
- package/docs/spec-list.md +71 -0
- package/docs/stat-meter.md +1 -0
- package/docs/tab-bar.md +1 -0
- package/docs/text-area.md +1 -0
- package/docs/tile-grid.md +1 -0
- package/docs/tree-view.md +1 -0
- package/docs/ui-admonition.md +1 -0
- package/docs/ui-button.md +1 -0
- package/docs/ui-checkbox.md +13 -2
- package/docs/video-player.md +1 -0
- package/docs/vote-control.md +73 -0
- package/llms.txt +210 -49
- 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
|