@dowel-ui/registry 0.1.0 → 0.2.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/LICENSE +1 -1
- package/README.md +46 -0
- package/dist/build.js +119 -35
- package/dist/build.js.map +1 -1
- package/package.json +26 -6
- package/src/build.test.ts +0 -131
package/LICENSE
CHANGED
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# @dowel-ui/registry
|
|
4
|
+
|
|
5
|
+
### Builds the component registry the CLI reads
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@dowel-ui/registry)
|
|
8
|
+
[](https://github.com/aqkprogrammer/dowel-ui/blob/main/LICENSE)
|
|
9
|
+
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Build tooling for [Dowel](https://dowel-eight.vercel.app). It turns component
|
|
15
|
+
source and metadata into the static JSON that
|
|
16
|
+
[`@dowel-ui/cli`](https://www.npmjs.com/package/@dowel-ui/cli) installs from.
|
|
17
|
+
|
|
18
|
+
**Most people do not need this package.** Reach for it if you are hosting your
|
|
19
|
+
own registry — a private company one, or a fork with your own components.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx @dowel-ui/registry --out ./public/r
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## What it emits
|
|
26
|
+
|
|
27
|
+
An `index.json` listing every entry, plus one JSON file per component carrying
|
|
28
|
+
its source, its npm dependencies, and the other registry entries it needs.
|
|
29
|
+
|
|
30
|
+
Every file is content-hashed with `sha256:`, which is what lets the CLI tell an
|
|
31
|
+
untouched file from one you have edited.
|
|
32
|
+
|
|
33
|
+
The build is **deterministic** — no timestamps, no ordering by filesystem
|
|
34
|
+
iteration. Running it twice produces byte-identical output, so a publish that
|
|
35
|
+
changes nothing shows up as changing nothing. CI verifies that by building
|
|
36
|
+
twice and diffing.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
<div align="center">
|
|
41
|
+
|
|
42
|
+
[**Read the docs →**](https://dowel-eight.vercel.app)
|
|
43
|
+
|
|
44
|
+
MIT licensed
|
|
45
|
+
|
|
46
|
+
</div>
|
package/dist/build.js
CHANGED
|
@@ -9,7 +9,7 @@ function defineMeta(meta) {
|
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../ui/dist/components/accordion/meta.js
|
|
12
|
-
const meta$
|
|
12
|
+
const meta$59 = defineMeta({
|
|
13
13
|
name: "accordion",
|
|
14
14
|
title: "Accordion",
|
|
15
15
|
description: "Vertically stacked sections that expand to reveal their content.",
|
|
@@ -22,7 +22,7 @@ const meta$53 = defineMeta({
|
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region ../ui/dist/components/activity-feed/meta.js
|
|
25
|
-
const meta$
|
|
25
|
+
const meta$58 = defineMeta({
|
|
26
26
|
name: "activity-feed",
|
|
27
27
|
title: "Activity Feed",
|
|
28
28
|
description: "A chronological list of events, with a connecting timeline rail.",
|
|
@@ -34,8 +34,21 @@ const meta$52 = defineMeta({
|
|
|
34
34
|
a11y: "An ordered list, so position and count are announced — the order is the meaning here. The rail and the indicators are decorative; the item text has to say what happened. ActivityTime requires a machine-readable dateTime, because a relative label like \"2 hours ago\" is ambiguous outside the moment it was rendered."
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
|
+
//#region ../ui/dist/components/ai-action-ledger/meta.js
|
|
38
|
+
const meta$57 = defineMeta({
|
|
39
|
+
name: "ai-action-ledger",
|
|
40
|
+
title: "AI Action Ledger",
|
|
41
|
+
description: "What an agent actually did, classified by what can be undone.",
|
|
42
|
+
category: "ai",
|
|
43
|
+
status: "stable",
|
|
44
|
+
dependencies: ["class-variance-authority", "radix-ui"],
|
|
45
|
+
registryDependencies: [],
|
|
46
|
+
files: ["ai-action-ledger.tsx"],
|
|
47
|
+
a11y: "Reversibility is stated in words on every entry, never by colour or icon alone — it decides whether the undo control means anything, so it cannot be decoration. Selection uses native checkboxes with real labels, and the revert button carries the count in its accessible name so it says what pressing it will do. The selection summary is an aria-live region because the wording changes as the choice changes, and warns before the click when something can only be offset rather than undone."
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
37
50
|
//#region ../ui/dist/components/ai-agent-status/meta.js
|
|
38
|
-
const meta$
|
|
51
|
+
const meta$56 = defineMeta({
|
|
39
52
|
name: "ai-agent-status",
|
|
40
53
|
title: "AI Agent Status",
|
|
41
54
|
description: "A pill showing what an agent is doing, in words as well as colour.",
|
|
@@ -48,7 +61,7 @@ const meta$51 = defineMeta({
|
|
|
48
61
|
});
|
|
49
62
|
//#endregion
|
|
50
63
|
//#region ../ui/dist/components/ai-conversation/meta.js
|
|
51
|
-
const meta$
|
|
64
|
+
const meta$55 = defineMeta({
|
|
52
65
|
name: "ai-conversation",
|
|
53
66
|
title: "AI Conversation",
|
|
54
67
|
description: "The scrolling transcript container, with follow-on-new-content and a status region.",
|
|
@@ -60,8 +73,21 @@ const meta$50 = defineMeta({
|
|
|
60
73
|
a11y: "The transcript is an ordered list, NOT a live region. A live region that updates on every streamed token is unusable with a screen reader, and is the most common accessibility failure in chat interfaces. Announce state — \"generating\", \"response complete\" — through ConversationStatus instead, and let the reader navigate the transcript at their own pace. Auto-scroll stops the moment the reader scrolls up, and ConversationScrollButton is the explicit way back."
|
|
61
74
|
});
|
|
62
75
|
//#endregion
|
|
76
|
+
//#region ../ui/dist/components/ai-inline-completion/meta.js
|
|
77
|
+
const meta$54 = defineMeta({
|
|
78
|
+
name: "ai-inline-completion",
|
|
79
|
+
title: "AI Inline Completion",
|
|
80
|
+
description: "Ghost-text suggestion inside a real textarea, accepted with Tab.",
|
|
81
|
+
category: "ai",
|
|
82
|
+
status: "beta",
|
|
83
|
+
dependencies: [],
|
|
84
|
+
registryDependencies: [],
|
|
85
|
+
files: ["ai-inline-completion.tsx"],
|
|
86
|
+
a11y: "No WAI-ARIA pattern covers generative ghost text — combobox is the nearest and does not fit, because the suggestion is not one of a known set of options and a listbox would misdescribe it. So the suggestion is announced through a polite live description that names the keys, since a gesture nobody knows about is not an affordance, and the grey text itself is aria-hidden. Escape always dismisses and restores plain Tab, so the keyboard is never trapped in the field. The ghost hides during IME composition and whenever the caret is not at the end, rather than rendering somewhere it does not belong."
|
|
87
|
+
});
|
|
88
|
+
//#endregion
|
|
63
89
|
//#region ../ui/dist/components/ai-message/meta.js
|
|
64
|
-
const meta$
|
|
90
|
+
const meta$53 = defineMeta({
|
|
65
91
|
name: "ai-message",
|
|
66
92
|
title: "AI Message",
|
|
67
93
|
description: "One turn in a conversation, with role, avatar, actions and footer slots.",
|
|
@@ -74,7 +100,7 @@ const meta$49 = defineMeta({
|
|
|
74
100
|
});
|
|
75
101
|
//#endregion
|
|
76
102
|
//#region ../ui/dist/components/ai-model-selector/meta.js
|
|
77
|
-
const meta$
|
|
103
|
+
const meta$52 = defineMeta({
|
|
78
104
|
name: "ai-model-selector",
|
|
79
105
|
title: "AI Model Selector",
|
|
80
106
|
description: "Picks the model a conversation runs on, with descriptions and availability.",
|
|
@@ -87,7 +113,7 @@ const meta$48 = defineMeta({
|
|
|
87
113
|
});
|
|
88
114
|
//#endregion
|
|
89
115
|
//#region ../ui/dist/components/ai-prompt-input/meta.js
|
|
90
|
-
const meta$
|
|
116
|
+
const meta$51 = defineMeta({
|
|
91
117
|
name: "ai-prompt-input",
|
|
92
118
|
title: "AI Prompt Input",
|
|
93
119
|
description: "The composer: auto-growing textarea, send-on-Enter, and a send/stop control.",
|
|
@@ -100,7 +126,7 @@ const meta$47 = defineMeta({
|
|
|
100
126
|
});
|
|
101
127
|
//#endregion
|
|
102
128
|
//#region ../ui/dist/components/ai-reasoning/meta.js
|
|
103
|
-
const meta$
|
|
129
|
+
const meta$50 = defineMeta({
|
|
104
130
|
name: "ai-reasoning",
|
|
105
131
|
title: "AI Reasoning",
|
|
106
132
|
description: "A collapsible disclosure for the model's reasoning.",
|
|
@@ -113,7 +139,7 @@ const meta$46 = defineMeta({
|
|
|
113
139
|
});
|
|
114
140
|
//#endregion
|
|
115
141
|
//#region ../ui/dist/components/ai-response/meta.js
|
|
116
|
-
const meta$
|
|
142
|
+
const meta$49 = defineMeta({
|
|
117
143
|
name: "ai-response",
|
|
118
144
|
title: "AI Response",
|
|
119
145
|
description: "Assistant response text, with a streaming caret and a thinking indicator.",
|
|
@@ -126,7 +152,7 @@ const meta$45 = defineMeta({
|
|
|
126
152
|
});
|
|
127
153
|
//#endregion
|
|
128
154
|
//#region ../ui/dist/components/ai-sources/meta.js
|
|
129
|
-
const meta$
|
|
155
|
+
const meta$48 = defineMeta({
|
|
130
156
|
name: "ai-sources",
|
|
131
157
|
title: "AI Sources",
|
|
132
158
|
description: "Inline citation markers and the source list they refer to.",
|
|
@@ -138,8 +164,21 @@ const meta$44 = defineMeta({
|
|
|
138
164
|
a11y: "An inline marker shows a bare number, which conveys nothing on its own, so the source title is carried in its accessible name. A marker with no href renders as text rather than as a link that goes nowhere. The source list is ordered, because the marker numbers refer to positions in it."
|
|
139
165
|
});
|
|
140
166
|
//#endregion
|
|
167
|
+
//#region ../ui/dist/components/ai-structured-output/meta.js
|
|
168
|
+
const meta$47 = defineMeta({
|
|
169
|
+
name: "ai-structured-output",
|
|
170
|
+
title: "AI Structured Output",
|
|
171
|
+
description: "An object arriving field by field from the model, without the layout jumping.",
|
|
172
|
+
category: "ai",
|
|
173
|
+
status: "stable",
|
|
174
|
+
dependencies: [],
|
|
175
|
+
registryDependencies: [],
|
|
176
|
+
files: ["ai-structured-output.tsx"],
|
|
177
|
+
a11y: "A description list, so each value is associated with its label rather than floating beside it. The region is aria-live=\"polite\" with aria-busy while streaming, so fields are announced as they settle instead of re-reading the whole object on every token. Height is reserved from the declared field list, which keeps focus and reading position stable as values arrive. Confidence is stated as a number in words, never as a colour alone."
|
|
178
|
+
});
|
|
179
|
+
//#endregion
|
|
141
180
|
//#region ../ui/dist/components/ai-token-usage/meta.js
|
|
142
|
-
const meta$
|
|
181
|
+
const meta$46 = defineMeta({
|
|
143
182
|
name: "ai-token-usage",
|
|
144
183
|
title: "AI Token Usage",
|
|
145
184
|
description: "A gauge showing how much of the context window a conversation has used.",
|
|
@@ -152,7 +191,7 @@ const meta$43 = defineMeta({
|
|
|
152
191
|
});
|
|
153
192
|
//#endregion
|
|
154
193
|
//#region ../ui/dist/components/ai-tool/meta.js
|
|
155
|
-
const meta$
|
|
194
|
+
const meta$45 = defineMeta({
|
|
156
195
|
name: "ai-tool",
|
|
157
196
|
title: "AI Tool Call",
|
|
158
197
|
description: "A collapsible record of a tool the model called, its arguments and its result.",
|
|
@@ -165,7 +204,7 @@ const meta$42 = defineMeta({
|
|
|
165
204
|
});
|
|
166
205
|
//#endregion
|
|
167
206
|
//#region ../ui/dist/components/alert/meta.js
|
|
168
|
-
const meta$
|
|
207
|
+
const meta$44 = defineMeta({
|
|
169
208
|
name: "alert",
|
|
170
209
|
title: "Alert",
|
|
171
210
|
description: "A callout that draws attention to an important message.",
|
|
@@ -178,7 +217,7 @@ const meta$41 = defineMeta({
|
|
|
178
217
|
});
|
|
179
218
|
//#endregion
|
|
180
219
|
//#region ../ui/dist/components/avatar/meta.js
|
|
181
|
-
const meta$
|
|
220
|
+
const meta$43 = defineMeta({
|
|
182
221
|
name: "avatar",
|
|
183
222
|
title: "Avatar",
|
|
184
223
|
description: "An image representation of a user or entity with a graceful text fallback.",
|
|
@@ -191,7 +230,7 @@ const meta$40 = defineMeta({
|
|
|
191
230
|
});
|
|
192
231
|
//#endregion
|
|
193
232
|
//#region ../ui/dist/components/badge/meta.js
|
|
194
|
-
const meta$
|
|
233
|
+
const meta$42 = defineMeta({
|
|
195
234
|
name: "badge",
|
|
196
235
|
title: "Badge",
|
|
197
236
|
description: "A compact marker for status, counts and categories.",
|
|
@@ -204,7 +243,7 @@ const meta$39 = defineMeta({
|
|
|
204
243
|
});
|
|
205
244
|
//#endregion
|
|
206
245
|
//#region ../ui/dist/components/button/meta.js
|
|
207
|
-
const meta$
|
|
246
|
+
const meta$41 = defineMeta({
|
|
208
247
|
name: "button",
|
|
209
248
|
title: "Button",
|
|
210
249
|
description: "Triggers an action or event, with variants for every level of emphasis.",
|
|
@@ -217,7 +256,7 @@ const meta$38 = defineMeta({
|
|
|
217
256
|
});
|
|
218
257
|
//#endregion
|
|
219
258
|
//#region ../ui/dist/components/calendar/meta.js
|
|
220
|
-
const meta$
|
|
259
|
+
const meta$40 = defineMeta({
|
|
221
260
|
name: "calendar",
|
|
222
261
|
title: "Calendar",
|
|
223
262
|
description: "A date grid for selecting a day, several days or a range.",
|
|
@@ -230,7 +269,7 @@ const meta$37 = defineMeta({
|
|
|
230
269
|
});
|
|
231
270
|
//#endregion
|
|
232
271
|
//#region ../ui/dist/components/card/meta.js
|
|
233
|
-
const meta$
|
|
272
|
+
const meta$39 = defineMeta({
|
|
234
273
|
name: "card",
|
|
235
274
|
title: "Card",
|
|
236
275
|
description: "A surface that groups related content and actions into a single block.",
|
|
@@ -243,7 +282,7 @@ const meta$36 = defineMeta({
|
|
|
243
282
|
});
|
|
244
283
|
//#endregion
|
|
245
284
|
//#region ../ui/dist/components/checkbox/meta.js
|
|
246
|
-
const meta$
|
|
285
|
+
const meta$38 = defineMeta({
|
|
247
286
|
name: "checkbox",
|
|
248
287
|
title: "Checkbox",
|
|
249
288
|
description: "A control for an on/off choice, with support for an indeterminate state.",
|
|
@@ -256,7 +295,7 @@ const meta$35 = defineMeta({
|
|
|
256
295
|
});
|
|
257
296
|
//#endregion
|
|
258
297
|
//#region ../ui/dist/components/code-block/meta.js
|
|
259
|
-
const meta$
|
|
298
|
+
const meta$37 = defineMeta({
|
|
260
299
|
name: "code-block",
|
|
261
300
|
title: "Code Block",
|
|
262
301
|
description: "A block of code with a copy control, ready for any highlighter.",
|
|
@@ -269,7 +308,7 @@ const meta$34 = defineMeta({
|
|
|
269
308
|
});
|
|
270
309
|
//#endregion
|
|
271
310
|
//#region ../ui/dist/components/combobox/meta.js
|
|
272
|
-
const meta$
|
|
311
|
+
const meta$36 = defineMeta({
|
|
273
312
|
name: "combobox",
|
|
274
313
|
title: "Combobox",
|
|
275
314
|
description: "A searchable single-select built on the ARIA combobox pattern.",
|
|
@@ -282,7 +321,7 @@ const meta$33 = defineMeta({
|
|
|
282
321
|
});
|
|
283
322
|
//#endregion
|
|
284
323
|
//#region ../ui/dist/components/command/meta.js
|
|
285
|
-
const meta$
|
|
324
|
+
const meta$35 = defineMeta({
|
|
286
325
|
name: "command",
|
|
287
326
|
title: "Command",
|
|
288
327
|
description: "A searchable command palette, with groups and a ⌘K dialog variant.",
|
|
@@ -295,7 +334,7 @@ const meta$32 = defineMeta({
|
|
|
295
334
|
});
|
|
296
335
|
//#endregion
|
|
297
336
|
//#region ../ui/dist/components/data-table/meta.js
|
|
298
|
-
const meta$
|
|
337
|
+
const meta$34 = defineMeta({
|
|
299
338
|
name: "data-table",
|
|
300
339
|
title: "Data Table",
|
|
301
340
|
description: "Presentation for a TanStack Table instance: sorting, column visibility and pagination.",
|
|
@@ -313,7 +352,7 @@ const meta$31 = defineMeta({
|
|
|
313
352
|
});
|
|
314
353
|
//#endregion
|
|
315
354
|
//#region ../ui/dist/components/date-picker/meta.js
|
|
316
|
-
const meta$
|
|
355
|
+
const meta$33 = defineMeta({
|
|
317
356
|
name: "date-picker",
|
|
318
357
|
title: "Date Picker",
|
|
319
358
|
description: "A button that opens a calendar to pick a date or a date range.",
|
|
@@ -330,7 +369,7 @@ const meta$30 = defineMeta({
|
|
|
330
369
|
});
|
|
331
370
|
//#endregion
|
|
332
371
|
//#region ../ui/dist/components/dialog/meta.js
|
|
333
|
-
const meta$
|
|
372
|
+
const meta$32 = defineMeta({
|
|
334
373
|
name: "dialog",
|
|
335
374
|
title: "Dialog",
|
|
336
375
|
description: "A modal window that interrupts the user to gather a response.",
|
|
@@ -343,7 +382,7 @@ const meta$29 = defineMeta({
|
|
|
343
382
|
});
|
|
344
383
|
//#endregion
|
|
345
384
|
//#region ../ui/dist/components/drawer/meta.js
|
|
346
|
-
const meta$
|
|
385
|
+
const meta$31 = defineMeta({
|
|
347
386
|
name: "drawer",
|
|
348
387
|
title: "Drawer",
|
|
349
388
|
description: "A bottom sheet that can be dismissed by dragging it down.",
|
|
@@ -356,7 +395,7 @@ const meta$28 = defineMeta({
|
|
|
356
395
|
});
|
|
357
396
|
//#endregion
|
|
358
397
|
//#region ../ui/dist/components/dropdown-menu/meta.js
|
|
359
|
-
const meta$
|
|
398
|
+
const meta$30 = defineMeta({
|
|
360
399
|
name: "dropdown-menu",
|
|
361
400
|
title: "Dropdown Menu",
|
|
362
401
|
description: "A menu of actions revealed from a trigger, with submenus and selectable items.",
|
|
@@ -369,7 +408,7 @@ const meta$27 = defineMeta({
|
|
|
369
408
|
});
|
|
370
409
|
//#endregion
|
|
371
410
|
//#region ../ui/dist/components/empty-state/meta.js
|
|
372
|
-
const meta$
|
|
411
|
+
const meta$29 = defineMeta({
|
|
373
412
|
name: "empty-state",
|
|
374
413
|
title: "Empty State",
|
|
375
414
|
description: "Shown where content would be, explaining why it is empty and what to do next.",
|
|
@@ -382,7 +421,7 @@ const meta$26 = defineMeta({
|
|
|
382
421
|
});
|
|
383
422
|
//#endregion
|
|
384
423
|
//#region ../ui/dist/components/form/meta.js
|
|
385
|
-
const meta$
|
|
424
|
+
const meta$28 = defineMeta({
|
|
386
425
|
name: "form",
|
|
387
426
|
title: "Form",
|
|
388
427
|
description: "Accessible field wiring that works with any form library, or none.",
|
|
@@ -395,7 +434,7 @@ const meta$25 = defineMeta({
|
|
|
395
434
|
});
|
|
396
435
|
//#endregion
|
|
397
436
|
//#region ../ui/dist/components/input/meta.js
|
|
398
|
-
const meta$
|
|
437
|
+
const meta$27 = defineMeta({
|
|
399
438
|
name: "input",
|
|
400
439
|
title: "Input",
|
|
401
440
|
description: "A single-line text field with size variants and native validation styling.",
|
|
@@ -408,7 +447,7 @@ const meta$24 = defineMeta({
|
|
|
408
447
|
});
|
|
409
448
|
//#endregion
|
|
410
449
|
//#region ../ui/dist/components/label/meta.js
|
|
411
|
-
const meta$
|
|
450
|
+
const meta$26 = defineMeta({
|
|
412
451
|
name: "label",
|
|
413
452
|
title: "Label",
|
|
414
453
|
description: "An accessible caption that associates text with a form control.",
|
|
@@ -420,8 +459,34 @@ const meta$23 = defineMeta({
|
|
|
420
459
|
a11y: "Set htmlFor to the id of the control it labels. Clicking the label moves focus to that control, including composite widgets that are not native inputs."
|
|
421
460
|
});
|
|
422
461
|
//#endregion
|
|
462
|
+
//#region ../ui/dist/components/meter/meta.js
|
|
463
|
+
const meta$25 = defineMeta({
|
|
464
|
+
name: "meter",
|
|
465
|
+
title: "Meter",
|
|
466
|
+
description: "A measurement against a capacity — quota, seats, spend — segmented by category.",
|
|
467
|
+
category: "feedback",
|
|
468
|
+
status: "stable",
|
|
469
|
+
dependencies: [],
|
|
470
|
+
registryDependencies: [],
|
|
471
|
+
files: ["meter.tsx"],
|
|
472
|
+
a11y: "Uses role=\"meter\", not role=\"progressbar\": a meter reports a level with no expectation of reaching the end, and screen readers phrase the two differently. The bar is one meter and the segments inside it are decoration — making each its own widget would put several unlabelled meters in the tab order to describe one quantity. aria-valuetext carries the unit and the capacity, because a bare \"4\" says nothing about 4 of what. Per-segment detail lives in MeterLegend as text, where it can be read."
|
|
473
|
+
});
|
|
474
|
+
//#endregion
|
|
475
|
+
//#region ../ui/dist/components/metric-delta/meta.js
|
|
476
|
+
const meta$24 = defineMeta({
|
|
477
|
+
name: "metric-delta",
|
|
478
|
+
title: "Metric Delta",
|
|
479
|
+
description: "A headline number with a change indicator that knows which direction is good.",
|
|
480
|
+
category: "data",
|
|
481
|
+
status: "stable",
|
|
482
|
+
dependencies: ["class-variance-authority"],
|
|
483
|
+
registryDependencies: [],
|
|
484
|
+
files: ["metric-delta.tsx"],
|
|
485
|
+
a11y: "The meaning is never carried by colour and an arrow alone, which fails WCAG 1.4.1 — the direction and the comparison are always stated in text. The tile reads as one sentence rather than three fragments: the visible number and delta are aria-hidden and a single screen-reader description carries value, direction, comparison and, where given, sample size. A zero baseline is announced as having no percentage rather than as an infinite one."
|
|
486
|
+
});
|
|
487
|
+
//#endregion
|
|
423
488
|
//#region ../ui/dist/components/pagination/meta.js
|
|
424
|
-
const meta$
|
|
489
|
+
const meta$23 = defineMeta({
|
|
425
490
|
name: "pagination",
|
|
426
491
|
title: "Pagination",
|
|
427
492
|
description: "Navigation between pages of a list.",
|
|
@@ -434,7 +499,7 @@ const meta$22 = defineMeta({
|
|
|
434
499
|
});
|
|
435
500
|
//#endregion
|
|
436
501
|
//#region ../ui/dist/components/popover/meta.js
|
|
437
|
-
const meta$
|
|
502
|
+
const meta$22 = defineMeta({
|
|
438
503
|
name: "popover",
|
|
439
504
|
title: "Popover",
|
|
440
505
|
description: "Rich floating content anchored to a trigger.",
|
|
@@ -447,7 +512,7 @@ const meta$21 = defineMeta({
|
|
|
447
512
|
});
|
|
448
513
|
//#endregion
|
|
449
514
|
//#region ../ui/dist/components/progress/meta.js
|
|
450
|
-
const meta$
|
|
515
|
+
const meta$21 = defineMeta({
|
|
451
516
|
name: "progress",
|
|
452
517
|
title: "Progress",
|
|
453
518
|
description: "Shows how far along a task is, or that one is running at all.",
|
|
@@ -460,7 +525,7 @@ const meta$20 = defineMeta({
|
|
|
460
525
|
});
|
|
461
526
|
//#endregion
|
|
462
527
|
//#region ../ui/dist/components/radio-group/meta.js
|
|
463
|
-
const meta$
|
|
528
|
+
const meta$20 = defineMeta({
|
|
464
529
|
name: "radio-group",
|
|
465
530
|
title: "Radio Group",
|
|
466
531
|
description: "A set of mutually exclusive options.",
|
|
@@ -472,6 +537,19 @@ const meta$19 = defineMeta({
|
|
|
472
537
|
a11y: "Arrow keys move between options and select as they go, and the group is a single tab stop — the standard radio model. Give the group an accessible name with aria-labelledby, and each item a Label tied by htmlFor/id."
|
|
473
538
|
});
|
|
474
539
|
//#endregion
|
|
540
|
+
//#region ../ui/dist/components/record-diff/meta.js
|
|
541
|
+
const meta$19 = defineMeta({
|
|
542
|
+
name: "record-diff",
|
|
543
|
+
title: "Record Diff",
|
|
544
|
+
description: "Field-level before and after, for audit entries, settings history and revisions.",
|
|
545
|
+
category: "data",
|
|
546
|
+
status: "stable",
|
|
547
|
+
dependencies: [],
|
|
548
|
+
registryDependencies: [],
|
|
549
|
+
files: ["record-diff.tsx"],
|
|
550
|
+
a11y: "A real table, not a grid of divs. Each field name is a th with scope=\"row\", so a value is announced with the field it belongs to rather than as a loose cell. The kind of change is never carried by row colour alone — every row states added, removed or changed in text for screen readers, satisfying WCAG 1.4.1. The unchanged-field toggle is a real button with aria-expanded. Redacted values never reach the DOM at all."
|
|
551
|
+
});
|
|
552
|
+
//#endregion
|
|
475
553
|
//#region ../ui/dist/components/select/meta.js
|
|
476
554
|
const meta$18 = defineMeta({
|
|
477
555
|
name: "select",
|
|
@@ -801,6 +879,12 @@ const blockMetas = [
|
|
|
801
879
|
* words — `switch` cannot be a binding name.
|
|
802
880
|
*/
|
|
803
881
|
const componentMetas = [
|
|
882
|
+
meta$59,
|
|
883
|
+
meta$58,
|
|
884
|
+
meta$57,
|
|
885
|
+
meta$56,
|
|
886
|
+
meta$55,
|
|
887
|
+
meta$54,
|
|
804
888
|
meta$53,
|
|
805
889
|
meta$52,
|
|
806
890
|
meta$51,
|
package/dist/build.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","names":["meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta$1","meta$2","meta$3","meta$4","meta$5","meta$6","meta$7","meta","meta$1","meta$2","meta$3","meta$4","meta$5","meta$6","meta$7","meta$8","meta$9","meta$10","meta$11","meta$12","meta$13","meta$14","meta$15","meta$16","meta$17","meta$18","meta$19","meta$20","meta$21","meta$22","meta$23","meta$24","meta$25","meta$26","meta$27","meta$28","meta$29","meta$30","meta$31","meta$32","meta$33","meta$34","meta$35","meta$36","meta$37","meta$38","meta$39","meta$40","meta$41","meta$42","meta$43","meta$44","meta$45"],"sources":["../../ui/dist/registry/schema.js","../../ui/dist/components/accordion/meta.js","../../ui/dist/components/activity-feed/meta.js","../../ui/dist/components/ai-agent-status/meta.js","../../ui/dist/components/ai-conversation/meta.js","../../ui/dist/components/ai-message/meta.js","../../ui/dist/components/ai-model-selector/meta.js","../../ui/dist/components/ai-prompt-input/meta.js","../../ui/dist/components/ai-reasoning/meta.js","../../ui/dist/components/ai-response/meta.js","../../ui/dist/components/ai-sources/meta.js","../../ui/dist/components/ai-token-usage/meta.js","../../ui/dist/components/ai-tool/meta.js","../../ui/dist/components/alert/meta.js","../../ui/dist/components/avatar/meta.js","../../ui/dist/components/badge/meta.js","../../ui/dist/components/button/meta.js","../../ui/dist/components/calendar/meta.js","../../ui/dist/components/card/meta.js","../../ui/dist/components/checkbox/meta.js","../../ui/dist/components/code-block/meta.js","../../ui/dist/components/combobox/meta.js","../../ui/dist/components/command/meta.js","../../ui/dist/components/data-table/meta.js","../../ui/dist/components/date-picker/meta.js","../../ui/dist/components/dialog/meta.js","../../ui/dist/components/drawer/meta.js","../../ui/dist/components/dropdown-menu/meta.js","../../ui/dist/components/empty-state/meta.js","../../ui/dist/components/form/meta.js","../../ui/dist/components/input/meta.js","../../ui/dist/components/label/meta.js","../../ui/dist/components/pagination/meta.js","../../ui/dist/components/popover/meta.js","../../ui/dist/components/progress/meta.js","../../ui/dist/components/radio-group/meta.js","../../ui/dist/components/select/meta.js","../../ui/dist/components/separator/meta.js","../../ui/dist/components/sheet/meta.js","../../ui/dist/components/skeleton/meta.js","../../ui/dist/components/slider/meta.js","../../ui/dist/components/spinner/meta.js","../../ui/dist/components/switch/meta.js","../../ui/dist/components/table/meta.js","../../ui/dist/components/tabs/meta.js","../../ui/dist/components/toast/meta.js","../../ui/dist/components/tooltip/meta.js","../../ui/dist/blocks/admin-users/meta.js","../../ui/dist/blocks/ai-chat/meta.js","../../ui/dist/blocks/dashboard/meta.js","../../ui/dist/blocks/forgot-password/meta.js","../../ui/dist/blocks/login/meta.js","../../ui/dist/blocks/pricing/meta.js","../../ui/dist/blocks/settings/meta.js","../../ui/dist/blocks/signup/meta.js","../../ui/dist/registry/blocks.js","../../ui/dist/registry/components.js","../src/build.ts"],"sourcesContent":["//#region src/registry/schema.ts\n/**\n* Registry metadata contract.\n*\n* Every component ships a `meta.ts` describing what the CLI must install\n* alongside it. This file defines the *type* only; `meta.test.ts` validates\n* every declaration against the source's real imports, so metadata cannot drift\n* from the code it describes. See docs/architecture/0003-registry-metadata.md.\n*/\nconst COMPONENT_CATEGORIES = [\n\t\"foundation\",\n\t\"display\",\n\t\"navigation\",\n\t\"overlay\",\n\t\"layout\",\n\t\"form\",\n\t\"feedback\",\n\t\"data\",\n\t\"ai\"\n];\nconst COMPONENT_STATUSES = [\n\t\"stable\",\n\t\"beta\",\n\t\"experimental\"\n];\n/** Identity helper that gives editors autocomplete inside `meta.ts`. */\nfunction defineMeta(meta) {\n\treturn meta;\n}\n//#endregion\nexport { COMPONENT_CATEGORIES, COMPONENT_STATUSES, defineMeta };\n\n//# sourceMappingURL=schema.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/accordion/meta.ts\nconst meta = defineMeta({\n\tname: \"accordion\",\n\ttitle: \"Accordion\",\n\tdescription: \"Vertically stacked sections that expand to reveal their content.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"accordion.tsx\"],\n\ta11y: \"Each trigger is a button inside a heading, so screen reader users can navigate the sections by heading. aria-expanded and aria-controls tie the trigger to its panel, and arrow keys move between triggers.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/activity-feed/meta.ts\nconst meta = defineMeta({\n\tname: \"activity-feed\",\n\ttitle: \"Activity Feed\",\n\tdescription: \"A chronological list of events, with a connecting timeline rail.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"activity-feed.tsx\"],\n\ta11y: \"An ordered list, so position and count are announced — the order is the meaning here. The rail and the indicators are decorative; the item text has to say what happened. ActivityTime requires a machine-readable dateTime, because a relative label like \\\"2 hours ago\\\" is ambiguous outside the moment it was rendered.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-agent-status/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-agent-status\",\n\ttitle: \"AI Agent Status\",\n\tdescription: \"A pill showing what an agent is doing, in words as well as colour.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-agent-status.tsx\"],\n\ta11y: \"The state is always text. Agent states matter most when something has failed, which is exactly when a colour-only signal fails the people who most need to see it. Live announcements are off by default — several agents each announcing their transitions turns a dashboard into noise; enable it for the one agent being watched.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-conversation/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-conversation\",\n\ttitle: \"AI Conversation\",\n\tdescription: \"The scrolling transcript container, with follow-on-new-content and a status region.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-conversation.tsx\"],\n\ta11y: \"The transcript is an ordered list, NOT a live region. A live region that updates on every streamed token is unusable with a screen reader, and is the most common accessibility failure in chat interfaces. Announce state — \\\"generating\\\", \\\"response complete\\\" — through ConversationStatus instead, and let the reader navigate the transcript at their own pace. Auto-scroll stops the moment the reader scrolls up, and ConversationScrollButton is the explicit way back.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-message/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-message\",\n\ttitle: \"AI Message\",\n\tdescription: \"One turn in a conversation, with role, avatar, actions and footer slots.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-message.tsx\"],\n\ta11y: \"Every message carries a visually hidden label naming the speaker. Alignment and colour tell a sighted reader who is talking and tell a screen reader user nothing, so the role is always in text. Message actions fade in on hover but stay in the DOM and in the tab order — a control that only exists on hover is unreachable by keyboard and invisible on touch.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-model-selector/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-model-selector\",\n\ttitle: \"AI Model Selector\",\n\tdescription: \"Picks the model a conversation runs on, with descriptions and availability.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\"select\"],\n\tfiles: [\"ai-model-selector.tsx\"],\n\ta11y: \"Inherits Select's listbox keyboard model. Each option sets textValue to the model name so typeahead matches the name rather than the description. A disabled model shows and announces why it is unavailable — a disabled option with no reason reads as a broken interface.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-prompt-input/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-prompt-input\",\n\ttitle: \"AI Prompt Input\",\n\tdescription: \"The composer: auto-growing textarea, send-on-Enter, and a send/stop control.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-prompt-input.tsx\"],\n\ta11y: \"Enter sends and Shift+Enter inserts a newline, but never while an IME composition is active — for Japanese, Chinese and Korean input Enter confirms a candidate, and sending there truncates the sentence mid-word. The submit control renames itself to \\\"Stop generating\\\" while busy, so its accessible name always matches what it does. The character counter stays silent until it nears the limit; announcing every keystroke would be unusable.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-reasoning/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-reasoning\",\n\ttitle: \"AI Reasoning\",\n\tdescription: \"A collapsible disclosure for the model's reasoning.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-reasoning.tsx\"],\n\ta11y: \"A standard disclosure with aria-expanded on the trigger. Collapsed by default because reasoning is supporting material — giving it the same weight as the answer buries the answer. The trigger's label changes while reasoning streams, so its accessible name matches what is happening.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-response/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-response\",\n\ttitle: \"AI Response\",\n\tdescription: \"Assistant response text, with a streaming caret and a thinking indicator.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-response.tsx\"],\n\ta11y: \"Deliberately not a live region: announcing streamed text as it arrives interrupts a screen reader user on every token. Announce state through ConversationStatus and let them read the response when it settles. The caret is decorative; ThinkingIndicator carries a label because it is the only thing on screen while waiting for the first token.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-sources/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-sources\",\n\ttitle: \"AI Sources\",\n\tdescription: \"Inline citation markers and the source list they refer to.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-sources.tsx\"],\n\ta11y: \"An inline marker shows a bare number, which conveys nothing on its own, so the source title is carried in its accessible name. A marker with no href renders as text rather than as a link that goes nowhere. The source list is ordered, because the marker numbers refer to positions in it.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-token-usage/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-token-usage\",\n\ttitle: \"AI Token Usage\",\n\tdescription: \"A gauge showing how much of the context window a conversation has used.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-token-usage.tsx\"],\n\ta11y: \"The numbers are the content and the bar only summarises them, so the bar is aria-hidden rather than a second progressbar to read past. Counts are formatted for the locale. Warning and over-limit states change the wording's colour but never remove the figures.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-tool/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-tool\",\n\ttitle: \"AI Tool Call\",\n\tdescription: \"A collapsible record of a tool the model called, its arguments and its result.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-tool.tsx\"],\n\ta11y: \"A disclosure: the trigger exposes aria-expanded and controls the panel. Status is stated in words, not by a coloured dot — colour alone is unavailable to a screen reader and to anyone who cannot distinguish it. Payload blocks are focusable named regions, since JSON scrolls and an unfocusable scroll box is unreachable by keyboard.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/alert/meta.ts\nconst meta = defineMeta({\n\tname: \"alert\",\n\ttitle: \"Alert\",\n\tdescription: \"A callout that draws attention to an important message.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"alert.tsx\"],\n\ta11y: \"Not a live region by default. Pass live=\\\"polite\\\" for alerts that appear in response to a user action, or live=\\\"assertive\\\" for errors that must interrupt. Variant colour is never the only signal — the title carries the meaning.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/avatar/meta.ts\nconst meta = defineMeta({\n\tname: \"avatar\",\n\ttitle: \"Avatar\",\n\tdescription: \"An image representation of a user or entity with a graceful text fallback.\",\n\tcategory: \"display\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"avatar.tsx\"],\n\ta11y: \"Give AvatarImage a meaningful alt, or alt=\\\"\\\" when the adjacent text already names the person. Fallback initials are decorative and are not announced separately.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/badge/meta.ts\nconst meta = defineMeta({\n\tname: \"badge\",\n\ttitle: \"Badge\",\n\tdescription: \"A compact marker for status, counts and categories.\",\n\tcategory: \"display\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"badge.tsx\"],\n\ta11y: \"The badge label must convey the meaning on its own; variant colour is decoration. Use asChild to render an interactive badge as a link or button rather than adding handlers.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/button/meta.ts\nconst meta = defineMeta({\n\tname: \"button\",\n\ttitle: \"Button\",\n\tdescription: \"Triggers an action or event, with variants for every level of emphasis.\",\n\tcategory: \"foundation\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [\"spinner\"],\n\tfiles: [\"button.tsx\"],\n\ta11y: \"Keyboard activatable via Enter and Space. The loading state uses aria-disabled and aria-busy rather than the disabled attribute, so focus is never stranded mid-action. Use `size=\\\"icon\\\"` only with an accessible name from aria-label or visually hidden text.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/calendar/meta.ts\nconst meta = defineMeta({\n\tname: \"calendar\",\n\ttitle: \"Calendar\",\n\tdescription: \"A date grid for selecting a day, several days or a range.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"react-day-picker\"],\n\tregistryDependencies: [\"button\"],\n\tfiles: [\"calendar.tsx\"],\n\ta11y: \"A real grid with roving focus: arrows move by day, Page Up/Down by month, Home/End to the ends of a week. Selection is announced through aria-selected, and the month caption is a live region so moving between months is announced. Give the calendar an accessible name when more than one is on the page.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/card/meta.ts\nconst meta = defineMeta({\n\tname: \"card\",\n\ttitle: \"Card\",\n\tdescription: \"A surface that groups related content and actions into a single block.\",\n\tcategory: \"display\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"card.tsx\"],\n\ta11y: \"Card renders a plain div with no implicit landmark. CardTitle is an h3 by default — use asChild to set the level the page actually needs, since heading levels must increase by one, or to render something that is not a heading at all.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/checkbox/meta.ts\nconst meta = defineMeta({\n\tname: \"checkbox\",\n\ttitle: \"Checkbox\",\n\tdescription: \"A control for an on/off choice, with support for an indeterminate state.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"checkbox.tsx\"],\n\ta11y: \"Toggles with Space, matching the native control. Always pair with a Label via htmlFor/id — the box alone has no accessible name. Indeterminate is announced as \\\"mixed\\\" and is a state the application sets, not one the user can reach by clicking.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/code-block/meta.ts\nconst meta = defineMeta({\n\tname: \"code-block\",\n\ttitle: \"Code Block\",\n\tdescription: \"A block of code with a copy control, ready for any highlighter.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"code-block.tsx\"],\n\ta11y: \"The pre is a focusable named region, since code overflows horizontally and an unfocusable scroll box is unreachable by keyboard. Copying is announced through a polite live region as well as shown, and a refused clipboard write reports failure rather than looking like success.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/combobox/meta.ts\nconst meta = defineMeta({\n\tname: \"combobox\",\n\ttitle: \"Combobox\",\n\tdescription: \"A searchable single-select built on the ARIA combobox pattern.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"combobox.tsx\"],\n\ta11y: \"The input owns role=\\\"combobox\\\" with aria-expanded, aria-controls and aria-autocomplete; the list owns role=\\\"listbox\\\" and each option role=\\\"option\\\" with aria-selected. Focus stays in the input while arrow keys move aria-activedescendant, so typing is never interrupted. Arrow navigation wraps, Home/End jump, Enter selects the active option and Escape closes.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/command/meta.ts\nconst meta = defineMeta({\n\tname: \"command\",\n\ttitle: \"Command\",\n\tdescription: \"A searchable command palette, with groups and a ⌘K dialog variant.\",\n\tcategory: \"navigation\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\"dialog\"],\n\tfiles: [\"command.tsx\"],\n\ta11y: \"The input owns role=\\\"combobox\\\" and the list role=\\\"listbox\\\"; focus stays in the input while arrow keys move aria-activedescendant, so typing is never interrupted. Enter runs the active item through the same path as a click. A group whose items are all filtered out hides its heading rather than labelling nothing. CommandDialog always renders a title and description, visually hidden, so the dialog is never unnamed.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/data-table/meta.ts\nconst meta = defineMeta({\n\tname: \"data-table\",\n\ttitle: \"Data Table\",\n\tdescription: \"Presentation for a TanStack Table instance: sorting, column visibility and pagination.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"@tanstack/react-table\"],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"dropdown-menu\",\n\t\t\"select\",\n\t\t\"table\"\n\t],\n\tfiles: [\"data-table.tsx\"],\n\ta11y: \"Sortable headers carry aria-sort, so the current sort is announced rather than being conveyed by an arrow icon alone, and each sort button has visually hidden text stating the column and its direction. The pagination status is a polite live region, because paging swaps the rows in place with no other signal. A column that cannot be sorted renders as text, not as a button that does nothing.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/date-picker/meta.ts\nconst meta = defineMeta({\n\tname: \"date-picker\",\n\ttitle: \"Date Picker\",\n\tdescription: \"A button that opens a calendar to pick a date or a date range.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"react-day-picker\"],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"calendar\",\n\t\t\"popover\"\n\t],\n\tfiles: [\"date-picker.tsx\"],\n\ta11y: \"The trigger states the selected date, formatted for the locale, so its accessible name changes with the value. The popover is named because it carries role=\\\"dialog\\\". Selecting a single date closes the popover and returns focus to the trigger; a range stays open, since one click is only half an answer. Offer a typed input alongside it for dates the user already knows.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/dialog/meta.ts\nconst meta = defineMeta({\n\tname: \"dialog\",\n\ttitle: \"Dialog\",\n\tdescription: \"A modal window that interrupts the user to gather a response.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"dialog.tsx\"],\n\ta11y: \"Focus is trapped while open and restored to the trigger on close; Escape and an overlay click dismiss. Always render a DialogTitle — it names the dialog for screen readers. Use DialogDescription, or aria-describedby, to explain consequential actions.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/drawer/meta.ts\nconst meta = defineMeta({\n\tname: \"drawer\",\n\ttitle: \"Drawer\",\n\tdescription: \"A bottom sheet that can be dismissed by dragging it down.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"drawer.tsx\"],\n\ta11y: \"Drag is pointer-only and never the sole way out: Escape, the overlay and DrawerCancel all dismiss. The grab handle is aria-hidden because it duplicates those affordances. Always render a DrawerTitle.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/dropdown-menu/meta.ts\nconst meta = defineMeta({\n\tname: \"dropdown-menu\",\n\ttitle: \"Dropdown Menu\",\n\tdescription: \"A menu of actions revealed from a trigger, with submenus and selectable items.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"dropdown-menu.tsx\"],\n\ta11y: \"Full menu keyboard model: arrows move, Home/End jump, typeahead searches, Escape closes and restores focus, Right/Left open and close submenus. Highlight is driven by data-highlighted so pointer and keyboard focus never diverge. Use it for actions — links belong in a nav, and value selection belongs in Select.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/empty-state/meta.ts\nconst meta = defineMeta({\n\tname: \"empty-state\",\n\ttitle: \"Empty State\",\n\tdescription: \"Shown where content would be, explaining why it is empty and what to do next.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"empty-state.tsx\"],\n\ta11y: \"A plain container with no implicit landmark or live region. When it replaces content after a search, put aria-live on the results region so the change is announced. The icon is decorative — the title has to carry the message on its own.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/form/meta.ts\nconst meta = defineMeta({\n\tname: \"form\",\n\ttitle: \"Form\",\n\tdescription: \"Accessible field wiring that works with any form library, or none.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"form.tsx\"],\n\ta11y: \"FormField generates the id, points the Label at the control, and assembles aria-describedby from whichever of the description and error are actually present — a dangling reference announces nothing and is flagged by axe. aria-invalid follows the error. FormMessage is a polite live region, so a late validation message is announced without interrupting.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/input/meta.ts\nconst meta = defineMeta({\n\tname: \"input\",\n\ttitle: \"Input\",\n\tdescription: \"A single-line text field with size variants and native validation styling.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"input.tsx\"],\n\ta11y: \"Always pair with a Label via htmlFor/id. Error state is driven by aria-invalid so assistive technology and styling stay in sync; describe the error with aria-describedby.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/label/meta.ts\nconst meta = defineMeta({\n\tname: \"label\",\n\ttitle: \"Label\",\n\tdescription: \"An accessible caption that associates text with a form control.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"label.tsx\"],\n\ta11y: \"Set htmlFor to the id of the control it labels. Clicking the label moves focus to that control, including composite widgets that are not native inputs.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/pagination/meta.ts\nconst meta = defineMeta({\n\tname: \"pagination\",\n\ttitle: \"Pagination\",\n\tdescription: \"Navigation between pages of a list.\",\n\tcategory: \"navigation\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [\"button\"],\n\tfiles: [\"pagination.tsx\"],\n\ta11y: \"A named nav landmark. The current page carries aria-current=\\\"page\\\" — styling it differently conveys nothing on its own. Links by default, since a page of results is a place worth sharing; use asChild for your router's link, or render buttons when paging only changes client state.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/popover/meta.ts\nconst meta = defineMeta({\n\tname: \"popover\",\n\ttitle: \"Popover\",\n\tdescription: \"Rich floating content anchored to a trigger.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"popover.tsx\"],\n\ta11y: \"The content has role=\\\"dialog\\\" and therefore REQUIRES an accessible name — pass aria-label, or aria-labelledby pointing at a heading inside it. A development-only warning fires if neither is present. The trigger exposes aria-expanded and aria-controls; Escape closes and returns focus to it. Non-modal by default, so the rest of the page stays reachable; pass `modal` only when the content is a task the user must finish or abandon.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/progress/meta.ts\nconst meta = defineMeta({\n\tname: \"progress\",\n\ttitle: \"Progress\",\n\tdescription: \"Shows how far along a task is, or that one is running at all.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"progress.tsx\"],\n\ta11y: \"Exposed as role=\\\"progressbar\\\" with aria-valuenow, and give it a name with aria-label or aria-labelledby. Omitting `value` marks it indeterminate, which is announced differently from zero. Show the percentage in text as well — the bar alone is not readable at a glance for everyone.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/radio-group/meta.ts\nconst meta = defineMeta({\n\tname: \"radio-group\",\n\ttitle: \"Radio Group\",\n\tdescription: \"A set of mutually exclusive options.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"radio-group.tsx\"],\n\ta11y: \"Arrow keys move between options and select as they go, and the group is a single tab stop — the standard radio model. Give the group an accessible name with aria-labelledby, and each item a Label tied by htmlFor/id.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/select/meta.ts\nconst meta = defineMeta({\n\tname: \"select\",\n\ttitle: \"Select\",\n\tdescription: \"Picks one value from a short list of options.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"select.tsx\"],\n\ta11y: \"Full listbox keyboard model: arrows move, typeahead jumps, Enter selects, Escape closes and restores focus. Give the trigger a name with aria-labelledby or a Label. Past about a dozen options prefer Combobox — scrolling a long listbox by keyboard is slow.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/separator/meta.ts\nconst meta = defineMeta({\n\tname: \"separator\",\n\ttitle: \"Separator\",\n\tdescription: \"A horizontal or vertical rule that divides content.\",\n\tcategory: \"layout\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"separator.tsx\"],\n\ta11y: \"Decorative by default and hidden from assistive technology. Set decorative={false} to expose it as a semantic separator when it divides meaningfully distinct groups.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/sheet/meta.ts\nconst meta = defineMeta({\n\tname: \"sheet\",\n\ttitle: \"Sheet\",\n\tdescription: \"A panel that enters from an edge of the viewport for secondary content.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"sheet.tsx\"],\n\ta11y: \"Modal, with the same focus trapping and restoration as Dialog. Always render a SheetTitle. For a side navigation sheet, put a nav landmark inside rather than relying on placement to convey the role.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/skeleton/meta.ts\nconst meta = defineMeta({\n\tname: \"skeleton\",\n\ttitle: \"Skeleton\",\n\tdescription: \"A shaped placeholder that holds layout while content loads.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"skeleton.tsx\"],\n\ta11y: \"Hidden from assistive technology. Put aria-busy on the container that owns the loading data so the state is announced once instead of once per placeholder.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/slider/meta.ts\nconst meta = defineMeta({\n\tname: \"slider\",\n\ttitle: \"Slider\",\n\tdescription: \"Selects a value, or a range, from a continuous span.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"slider.tsx\"],\n\ta11y: \"Each thumb is a role=\\\"slider\\\" with arrow keys, Home/End and Page Up/Down. The name is forwarded onto the thumbs, since the root has no role — a range slider should name each thumb separately with thumbLabels. A development-only warning fires if a thumb would be unnamed. Pass aria-valuetext when the raw number is not meaningful on its own (a price, a duration). Show the current value on screen too — a slider is imprecise, so pair it with a numeric input when exactness matters.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/spinner/meta.ts\nconst meta = defineMeta({\n\tname: \"spinner\",\n\ttitle: \"Spinner\",\n\tdescription: \"An indeterminate loading indicator for buttons, panels and inline content.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"spinner.tsx\"],\n\ta11y: \"Renders aria-hidden by default so it does not announce inside controls that already expose a busy state. Pass `label` to announce it standalone via role=\\\"status\\\".\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/switch/meta.ts\nconst meta = defineMeta({\n\tname: \"switch\",\n\ttitle: \"Switch\",\n\tdescription: \"An immediate on/off toggle for settings that apply straight away.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"switch.tsx\"],\n\ta11y: \"Exposed as role=\\\"switch\\\" and toggled with Space or Enter. Needs a visible label tied with htmlFor/id. Do not rely on colour alone to show state — position and the label carry it too.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/table/meta.ts\nconst meta = defineMeta({\n\tname: \"table\",\n\ttitle: \"Table\",\n\tdescription: \"Semantic table primitives for tabular data.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"table.tsx\"],\n\ta11y: \"A native table, so row and column position, header association and dimensions are all announced without ARIA. Give it a name with TableCaption or aria-label. The scrolling wrapper is focusable so an overflowing table can be scrolled by keyboard — without that, columns past the edge are unreachable. Use scope=\\\"row\\\" on th elements inside tbody.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/tabs/meta.ts\nconst meta = defineMeta({\n\tname: \"tabs\",\n\ttitle: \"Tabs\",\n\tdescription: \"Switches between panels of related content.\",\n\tcategory: \"navigation\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"tabs.tsx\"],\n\ta11y: \"Implements the ARIA tabs pattern: arrows move between tabs, Home/End jump to the ends, and only the active tab is in the tab sequence. Panels are focusable so keyboard users reach their content directly. Use activationMode=\\\"manual\\\" when showing a panel is expensive, so arrowing past it does not load it.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/toast/meta.ts\nconst meta = defineMeta({\n\tname: \"toast\",\n\ttitle: \"Toast\",\n\tdescription: \"Brief, non-blocking messages with an imperative API callable from anywhere.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"toast-store.ts\", \"toast.tsx\"],\n\ta11y: \"Toasts are announced through a live region: destructive and warning variants interrupt (foreground), the rest wait for a pause (background). Auto-dismiss timers pause on hover, focus and window blur, and F8 moves focus into the toast list from anywhere. An action must carry altText describing how to do the same thing without the toast, since it may be gone before a screen reader user reaches it.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/tooltip/meta.ts\nconst meta = defineMeta({\n\tname: \"tooltip\",\n\ttitle: \"Tooltip\",\n\tdescription: \"A short label revealed on hover or keyboard focus.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"tooltip.tsx\"],\n\ta11y: \"Opens on focus as well as hover, and Escape dismisses it. Never put essential or interactive content in a tooltip: it is unreachable on touch and vanishes on blur. For an icon-only button, prefer aria-label for the name and use the tooltip only to repeat it visually.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/admin-users/meta.ts\nconst meta = defineMeta({\n\tname: \"admin-users\",\n\tkind: \"block\",\n\ttitle: \"Admin — users\",\n\tdescription: \"A team administration table with filtering, sorting and per-row actions.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"@tanstack/react-table\"],\n\tregistryDependencies: [\n\t\t\"avatar\",\n\t\t\"badge\",\n\t\t\"button\",\n\t\t\"data-table\",\n\t\t\"dropdown-menu\",\n\t\t\"empty-state\",\n\t\t\"input\",\n\t\t\"label\"\n\t],\n\tfiles: [\"admin-users.tsx\"],\n\ta11y: \"Filtering changes the results without the user asking, so the matching count is announced politely. The filter has a real label rather than only a placeholder, which disappears the moment anyone types. Each row's action button is named after its row — four identical \\\"Actions\\\" buttons say nothing about which row you are on.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/ai-chat/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-chat\",\n\tkind: \"block\",\n\ttitle: \"AI Chat\",\n\tdescription: \"A complete chat surface: transcript, reasoning, tool calls, sources and composer.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"ai-conversation\",\n\t\t\"ai-message\",\n\t\t\"ai-model-selector\",\n\t\t\"ai-prompt-input\",\n\t\t\"ai-reasoning\",\n\t\t\"ai-response\",\n\t\t\"ai-sources\",\n\t\t\"ai-token-usage\",\n\t\t\"ai-tool\",\n\t\t\"button\",\n\t\t\"empty-state\"\n\t],\n\tfiles: [\"ai-chat.tsx\"],\n\ta11y: \"Assembled from the AI components rather than reimplementing them, so their decisions still hold: the transcript is a list and not a live region, state is announced separately through ConversationStatus, and the composer will not send while an IME composition is active. Tool payloads are named per tool, so two open tool calls do not present two regions called \\\"Result\\\".\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/dashboard/meta.ts\nconst meta = defineMeta({\n\tname: \"dashboard\",\n\tkind: \"block\",\n\ttitle: \"Dashboard\",\n\tdescription: \"An overview page with headline metrics and a recent activity feed.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"activity-feed\",\n\t\t\"badge\",\n\t\t\"card\",\n\t\t\"skeleton\"\n\t],\n\tfiles: [\"dashboard.tsx\"],\n\ta11y: \"Each metric states its change in words — \\\"up 12.4%\\\" — rather than by a coloured arrow, which is unreadable to a screen reader and ambiguous to anyone who cannot distinguish the colours. Whether a rise is good is configurable, since churn going up is not. The metrics sit in a named region so they can be jumped to.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/forgot-password/meta.ts\nconst meta = defineMeta({\n\tname: \"forgot-password\",\n\tkind: \"block\",\n\ttitle: \"Forgot password\",\n\tdescription: \"A password reset request, with a confirmation that does not leak account existence.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"empty-state\",\n\t\t\"form\",\n\t\t\"input\"\n\t],\n\tfiles: [\"forgot-password.tsx\"],\n\ta11y: \"The confirmation replaces the form, so it is a polite live region — otherwise a screen reader user submits and hears nothing. The wording is deliberately neutral about whether the address exists: confirming it would turn this form into an account enumeration oracle.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/login/meta.ts\nconst meta = defineMeta({\n\tname: \"login\",\n\tkind: \"block\",\n\ttitle: \"Login\",\n\tdescription: \"A sign-in form with validation, social providers and a busy state.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"checkbox\",\n\t\t\"form\",\n\t\t\"input\",\n\t\t\"label\",\n\t\t\"separator\"\n\t],\n\tfiles: [\"login.tsx\"],\n\ta11y: \"Email and password fields carry the right type and autocomplete, so password managers and mobile keyboards behave. Field errors are tied to their inputs through the Form wiring; a server error is an assertive alert, because it arrived after the user acted and explains why nothing happened. The submit button reports its own busy state rather than going quiet.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/pricing/meta.ts\nconst meta = defineMeta({\n\tname: \"pricing\",\n\tkind: \"block\",\n\ttitle: \"Pricing\",\n\tdescription: \"A pricing section with plan cards and a monthly/yearly toggle.\",\n\tcategory: \"layout\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"badge\",\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"label\",\n\t\t\"switch\"\n\t],\n\tfiles: [\"pricing.tsx\"],\n\ta11y: \"Switching the billing period rewrites every price on the page, so the change is announced politely rather than happening silently. Each plan's call to action names the plan — three buttons all reading \\\"Choose\\\" are indistinguishable out of context. Feature ticks are decorative; the feature text carries the meaning.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/settings/meta.ts\nconst meta = defineMeta({\n\tname: \"settings\",\n\tkind: \"block\",\n\ttitle: \"Settings\",\n\tdescription: \"A settings page with a profile form, immediate toggles and a danger zone.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"avatar\",\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"dialog\",\n\t\t\"form\",\n\t\t\"input\",\n\t\t\"label\",\n\t\t\"separator\",\n\t\t\"switch\",\n\t\t\"tabs\"\n\t],\n\tfiles: [\"settings.tsx\"],\n\ta11y: \"Switches apply immediately and have no Save button — a switch that needs saving is a broken promise, so staged changes live in the form instead. The delete confirmation names what will be destroyed and requires typing the account's email, so the destructive button cannot be reached by muscle memory.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/signup/meta.ts\nconst meta = defineMeta({\n\tname: \"signup\",\n\tkind: \"block\",\n\ttitle: \"Sign up\",\n\tdescription: \"An account creation form with a password strength hint and terms acceptance.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"checkbox\",\n\t\t\"form\",\n\t\t\"input\",\n\t\t\"progress\"\n\t],\n\tfiles: [\"signup.tsx\"],\n\ta11y: \"The strength label is text and the bar beside it is aria-hidden, so the estimate is not announced twice. autoComplete=\\\"new-password\\\" tells password managers to offer a generated password rather than an existing one. Strength is a hint, never a gate: the form is validated on length alone.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { meta } from \"../blocks/admin-users/meta.js\";\nimport { meta as meta$1 } from \"../blocks/ai-chat/meta.js\";\nimport { meta as meta$2 } from \"../blocks/dashboard/meta.js\";\nimport { meta as meta$3 } from \"../blocks/forgot-password/meta.js\";\nimport { meta as meta$4 } from \"../blocks/login/meta.js\";\nimport { meta as meta$5 } from \"../blocks/pricing/meta.js\";\nimport { meta as meta$6 } from \"../blocks/settings/meta.js\";\nimport { meta as meta$7 } from \"../blocks/signup/meta.js\";\n//#region src/registry/blocks.ts\n/**\n* Every block in the registry.\n*\n* Kept separate from `componentMetas` for the same reason blocks install into a\n* different directory: they are whole page sections, browsed and used\n* differently from the components they are assembled out of.\n*\n* `meta.test.ts` fails if a block directory exists that is missing from here.\n*/\nconst blockMetas = [\n\tmeta,\n\tmeta$1,\n\tmeta$2,\n\tmeta$3,\n\tmeta$4,\n\tmeta$5,\n\tmeta$6,\n\tmeta$7\n];\n//#endregion\nexport { blockMetas };\n\n//# sourceMappingURL=blocks.js.map","import { COMPONENT_CATEGORIES, COMPONENT_STATUSES } from \"./schema.js\";\nimport { meta } from \"../components/accordion/meta.js\";\nimport { meta as meta$1 } from \"../components/activity-feed/meta.js\";\nimport { meta as meta$2 } from \"../components/ai-agent-status/meta.js\";\nimport { meta as meta$3 } from \"../components/ai-conversation/meta.js\";\nimport { meta as meta$4 } from \"../components/ai-message/meta.js\";\nimport { meta as meta$5 } from \"../components/ai-model-selector/meta.js\";\nimport { meta as meta$6 } from \"../components/ai-prompt-input/meta.js\";\nimport { meta as meta$7 } from \"../components/ai-reasoning/meta.js\";\nimport { meta as meta$8 } from \"../components/ai-response/meta.js\";\nimport { meta as meta$9 } from \"../components/ai-sources/meta.js\";\nimport { meta as meta$10 } from \"../components/ai-token-usage/meta.js\";\nimport { meta as meta$11 } from \"../components/ai-tool/meta.js\";\nimport { meta as meta$12 } from \"../components/alert/meta.js\";\nimport { meta as meta$13 } from \"../components/avatar/meta.js\";\nimport { meta as meta$14 } from \"../components/badge/meta.js\";\nimport { meta as meta$15 } from \"../components/button/meta.js\";\nimport { meta as meta$16 } from \"../components/calendar/meta.js\";\nimport { meta as meta$17 } from \"../components/card/meta.js\";\nimport { meta as meta$18 } from \"../components/checkbox/meta.js\";\nimport { meta as meta$19 } from \"../components/code-block/meta.js\";\nimport { meta as meta$20 } from \"../components/combobox/meta.js\";\nimport { meta as meta$21 } from \"../components/command/meta.js\";\nimport { meta as meta$22 } from \"../components/data-table/meta.js\";\nimport { meta as meta$23 } from \"../components/date-picker/meta.js\";\nimport { meta as meta$24 } from \"../components/dialog/meta.js\";\nimport { meta as meta$25 } from \"../components/drawer/meta.js\";\nimport { meta as meta$26 } from \"../components/dropdown-menu/meta.js\";\nimport { meta as meta$27 } from \"../components/empty-state/meta.js\";\nimport { meta as meta$28 } from \"../components/form/meta.js\";\nimport { meta as meta$29 } from \"../components/input/meta.js\";\nimport { meta as meta$30 } from \"../components/label/meta.js\";\nimport { meta as meta$31 } from \"../components/pagination/meta.js\";\nimport { meta as meta$32 } from \"../components/popover/meta.js\";\nimport { meta as meta$33 } from \"../components/progress/meta.js\";\nimport { meta as meta$34 } from \"../components/radio-group/meta.js\";\nimport { meta as meta$35 } from \"../components/select/meta.js\";\nimport { meta as meta$36 } from \"../components/separator/meta.js\";\nimport { meta as meta$37 } from \"../components/sheet/meta.js\";\nimport { meta as meta$38 } from \"../components/skeleton/meta.js\";\nimport { meta as meta$39 } from \"../components/slider/meta.js\";\nimport { meta as meta$40 } from \"../components/spinner/meta.js\";\nimport { meta as meta$41 } from \"../components/switch/meta.js\";\nimport { meta as meta$42 } from \"../components/table/meta.js\";\nimport { meta as meta$43 } from \"../components/tabs/meta.js\";\nimport { meta as meta$44 } from \"../components/toast/meta.js\";\nimport { meta as meta$45 } from \"../components/tooltip/meta.js\";\nimport { blockMetas } from \"./blocks.js\";\n//#region src/registry/components.ts\n/**\n* Every component in the registry.\n*\n* An explicit list rather than a glob: the registry build runs in plain Node,\n* where bundler-only globbing is unavailable, and a static list is also what\n* lets the bundle tree-shake. `meta.test.ts` fails if a component directory\n* exists that is missing from here, so it cannot silently fall out of date.\n*\n* Identifiers carry a `Meta` suffix because component names include reserved\n* words — `switch` cannot be a binding name.\n*/\nconst componentMetas = [\n\tmeta,\n\tmeta$1,\n\tmeta$2,\n\tmeta$3,\n\tmeta$4,\n\tmeta$5,\n\tmeta$6,\n\tmeta$7,\n\tmeta$8,\n\tmeta$9,\n\tmeta$10,\n\tmeta$11,\n\tmeta$12,\n\tmeta$13,\n\tmeta$14,\n\tmeta$15,\n\tmeta$16,\n\tmeta$17,\n\tmeta$18,\n\tmeta$19,\n\tmeta$20,\n\tmeta$21,\n\tmeta$22,\n\tmeta$23,\n\tmeta$24,\n\tmeta$25,\n\tmeta$26,\n\tmeta$27,\n\tmeta$28,\n\tmeta$29,\n\tmeta$30,\n\tmeta$31,\n\tmeta$32,\n\tmeta$33,\n\tmeta$34,\n\tmeta$35,\n\tmeta$36,\n\tmeta$37,\n\tmeta$38,\n\tmeta$39,\n\tmeta$40,\n\tmeta$41,\n\tmeta$42,\n\tmeta$43,\n\tmeta$44,\n\tmeta$45\n];\n//#endregion\nexport { COMPONENT_CATEGORIES, COMPONENT_STATUSES, blockMetas, componentMetas };\n\n//# sourceMappingURL=components.js.map","import { readFileSync, mkdirSync, writeFileSync, rmSync } from \"node:fs\";\nimport { dirname, join } from \"node:path\";\nimport { fileURLToPath, pathToFileURL } from \"node:url\";\n\nimport { blockMetas, componentMetas, type ComponentMeta } from \"@dowel-ui/react/registry\";\n\nimport { hashContent } from \"./hash\";\nimport {\n REGISTRY_VERSION,\n registryIndexSchema,\n registryItemSchema,\n type RegistryFile,\n type RegistryIndexEntry,\n type RegistryItem,\n} from \"./schema\";\n\n/**\n * Emits the public registry.\n *\n * Everything the CLI installs originates here, from the same source files the\n * library itself builds and tests. There is no second copy of a component to\n * drift out of sync.\n */\n\nconst here = dirname(fileURLToPath(import.meta.url));\nconst uiSrc = join(here, \"..\", \"..\", \"ui\", \"src\");\nconst themesSrc = join(here, \"..\", \"..\", \"themes\", \"src\");\nconst uiPackageJson = JSON.parse(\n readFileSync(join(here, \"..\", \"..\", \"ui\", \"package.json\"), \"utf8\"),\n) as { name: string; version: string };\n\nfunction read(path: string): string {\n return readFileSync(path, \"utf8\");\n}\n\n/**\n * Turns a meta into a registry item.\n *\n * Components and blocks differ only in where their source lives and where it is\n * installed, so one function covers both rather than two that drift.\n */\nfunction buildSourceItem(meta: ComponentMeta): RegistryItem {\n const isBlock = meta.kind === \"block\";\n const sourceDir = join(uiSrc, isBlock ? \"blocks\" : \"components\", meta.name);\n const group = isBlock ? \"blocks\" : \"ui\";\n const fileType = isBlock ? \"registry:block\" : \"registry:ui\";\n\n const files: RegistryFile[] = meta.files.map((file) => {\n const content = read(join(sourceDir, file));\n return {\n path: `${group}/${file}`,\n type: fileType,\n content,\n hash: hashContent(content),\n };\n });\n\n return registryItemSchema.parse({\n $schema: \"./schema/registry-item.json\",\n registryVersion: REGISTRY_VERSION,\n name: meta.name,\n type: fileType,\n title: meta.title,\n description: meta.description,\n category: meta.category,\n status: meta.status,\n dependencies: meta.dependencies,\n registryDependencies: meta.registryDependencies,\n files,\n a11y: meta.a11y,\n });\n}\n\n/**\n * The utilities every component imports.\n *\n * Written by `init` rather than by `add`, because a project needs them before\n * the first component and every component assumes they are present.\n */\nfunction buildUtilsItem(): RegistryItem {\n const files: RegistryFile[] = ([\"utils.ts\", \"styles.ts\"] as const).map((file) => {\n const content = read(join(uiSrc, \"lib\", file));\n return {\n path: `lib/${file}`,\n type: \"registry:lib\",\n content,\n hash: hashContent(content),\n };\n });\n\n return registryItemSchema.parse({\n registryVersion: REGISTRY_VERSION,\n name: \"utils\",\n type: \"registry:lib\",\n title: \"Utilities\",\n description:\n \"The cn() class merger and the shared interaction-state fragments every component uses.\",\n category: \"foundation\",\n status: \"stable\",\n dependencies: [\"clsx\", \"tailwind-merge\"],\n registryDependencies: [],\n files,\n });\n}\n\n/**\n * The design tokens, as CSS to append to the project stylesheet.\n *\n * Appended rather than imported from a package: a consumer who cannot edit the\n * tokens does not really own their design system, which is the whole premise.\n */\nfunction buildThemeItem(): RegistryItem {\n const content = [\n \"/* Design tokens. Safe to edit — this is your copy. */\",\n read(join(themesSrc, \"tokens.css\")),\n read(join(themesSrc, \"base.css\")),\n ].join(\"\\n\\n\");\n\n return registryItemSchema.parse({\n registryVersion: REGISTRY_VERSION,\n name: \"theme\",\n type: \"registry:theme\",\n title: \"Theme\",\n description:\n \"Design tokens: colour, radius, typography, elevation and motion, in light and dark.\",\n category: \"foundation\",\n status: \"stable\",\n dependencies: [],\n registryDependencies: [],\n files: [\n {\n path: \"theme.css\",\n type: \"registry:style\",\n content,\n hash: hashContent(content),\n },\n ],\n });\n}\n\nexport function buildRegistry(): RegistryItem[] {\n return [\n buildUtilsItem(),\n buildThemeItem(),\n ...componentMetas.map(buildSourceItem),\n ...blockMetas.map(buildSourceItem),\n ];\n}\n\nexport function buildIndex(items: RegistryItem[]) {\n const entries: RegistryIndexEntry[] = items.map((item) => ({\n name: item.name,\n type: item.type,\n title: item.title,\n description: item.description,\n category: item.category,\n status: item.status,\n dependencies: item.dependencies,\n registryDependencies: item.registryDependencies,\n fileCount: item.files.length,\n }));\n\n return registryIndexSchema.parse({\n $schema: \"./schema/registry-index.json\",\n registryVersion: REGISTRY_VERSION,\n // The package version, not a timestamp: the same source must always produce\n // byte-identical output, or every build shows as a change.\n generatedFrom: `${uiPackageJson.name}@${uiPackageJson.version}`,\n items: entries,\n });\n}\n\nexport function writeRegistry(outDir: string): { items: number; files: number } {\n const items = buildRegistry();\n const index = buildIndex(items);\n\n rmSync(outDir, { recursive: true, force: true });\n mkdirSync(outDir, { recursive: true });\n\n writeFileSync(join(outDir, \"index.json\"), `${JSON.stringify(index, null, 2)}\\n`);\n for (const item of items) {\n writeFileSync(join(outDir, `${item.name}.json`), `${JSON.stringify(item, null, 2)}\\n`);\n }\n\n return {\n items: items.length,\n files: items.reduce((total, item) => total + item.files.length, 0),\n };\n}\n\n// Run directly: `tsx src/build.ts [--out <dir>]`\nconst invokedDirectly =\n process.argv[1] !== undefined && import.meta.url === pathToFileURL(process.argv[1]).href;\n\nif (invokedDirectly) {\n const outIndex = process.argv.indexOf(\"--out\");\n const outDir =\n outIndex === -1\n ? join(here, \"..\", \"r\")\n : (process.argv[outIndex + 1] ?? join(here, \"..\", \"r\"));\n\n const result = writeRegistry(outDir);\n console.log(\n `Registry written to ${outDir}: ${String(result.items)} items, ${String(result.files)} files.`,\n );\n}\n"],"mappings":";;;;;;AA0BA,SAAS,WAAW,MAAM;CACzB,OAAO;AACR;;;AC1BA,MAAMA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MAAM;CACP,COLCC;CNlBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,eAAe;EACvB,MAAM;CACP,CMGCC;CLnBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,qBAAqB;EAC7B,MAAM;CACP,CKGCC;CJpBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,WAAW;EACnB,MAAM;CACP,CIECC;CHrBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,aAAa;EACrB,MAAM;CACP,CGKCC;CFtBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,cAAc;EACtB,MAAM;CACP,CECCC;CDvBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,YAAY;EACpB,MAAM;CACP,CCMCC;AACD;;;;;;;;;;;;;;ACiCA,MAAM,iBAAiB;CACtBC;CACAC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AAc;EACtD,OAAO;CACT,CAAC;AACH;AAEA,SAAgB,cAAc,QAAkD;CAC9E,MAAM,QAAQ,cAAc;CAC5B,MAAM,QAAQ,WAAW,KAAK;CAE9B,OAAO,QAAQ;EAAE,WAAW;EAAM,OAAO;CAAK,CAAC;CAC/C,UAAU,QAAQ,EAAE,WAAW,KAAK,CAAC;CAErC,cAAc,KAAK,QAAQ,YAAY,GAAG,GAAG,KAAK,UAAU,OAAO,MAAM,CAAC,EAAE,GAAG;CAC/E,KAAK,MAAM,QAAQ,OACjB,cAAc,KAAK,QAAQ,GAAG,KAAK,KAAK,MAAM,GAAG,GAAG,KAAK,UAAU,MAAM,MAAM,CAAC,EAAE,GAAG;CAGvF,OAAO;EACL,OAAO,MAAM;EACb,OAAO,MAAM,QAAQ,OAAO,SAAS,QAAQ,KAAK,MAAM,QAAQ,CAAC;CACnE;AACF;AAMA,IAFE,QAAQ,KAAK,OAAO,KAAA,KAAa,YAAY,QAAQ,cAAc,QAAQ,KAAK,EAAE,CAAC,CAAC,MAEjE;CACnB,MAAM,WAAW,QAAQ,KAAK,QAAQ,OAAO;CAC7C,MAAM,SACJ,aAAa,KACT,KAAK,MAAM,MAAM,GAAG,IACnB,QAAQ,KAAK,WAAW,MAAM,KAAK,MAAM,MAAM,GAAG;CAEzD,MAAM,SAAS,cAAc,MAAM;CACnC,QAAQ,IACN,uBAAuB,OAAO,IAAI,OAAO,OAAO,KAAK,EAAE,UAAU,OAAO,OAAO,KAAK,EAAE,QACxF;AACF"}
|
|
1
|
+
{"version":3,"file":"build.js","names":["meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta","meta$1","meta$2","meta$3","meta$4","meta$5","meta$6","meta$7","meta","meta$1","meta$2","meta$3","meta$4","meta$5","meta$6","meta$7","meta$8","meta$9","meta$10","meta$11","meta$12","meta$13","meta$14","meta$15","meta$16","meta$17","meta$18","meta$19","meta$20","meta$21","meta$22","meta$23","meta$24","meta$25","meta$26","meta$27","meta$28","meta$29","meta$30","meta$31","meta$32","meta$33","meta$34","meta$35","meta$36","meta$37","meta$38","meta$39","meta$40","meta$41","meta$42","meta$43","meta$44","meta$45","meta$46","meta$47","meta$48","meta$49","meta$50","meta$51"],"sources":["../../ui/dist/registry/schema.js","../../ui/dist/components/accordion/meta.js","../../ui/dist/components/activity-feed/meta.js","../../ui/dist/components/ai-action-ledger/meta.js","../../ui/dist/components/ai-agent-status/meta.js","../../ui/dist/components/ai-conversation/meta.js","../../ui/dist/components/ai-inline-completion/meta.js","../../ui/dist/components/ai-message/meta.js","../../ui/dist/components/ai-model-selector/meta.js","../../ui/dist/components/ai-prompt-input/meta.js","../../ui/dist/components/ai-reasoning/meta.js","../../ui/dist/components/ai-response/meta.js","../../ui/dist/components/ai-sources/meta.js","../../ui/dist/components/ai-structured-output/meta.js","../../ui/dist/components/ai-token-usage/meta.js","../../ui/dist/components/ai-tool/meta.js","../../ui/dist/components/alert/meta.js","../../ui/dist/components/avatar/meta.js","../../ui/dist/components/badge/meta.js","../../ui/dist/components/button/meta.js","../../ui/dist/components/calendar/meta.js","../../ui/dist/components/card/meta.js","../../ui/dist/components/checkbox/meta.js","../../ui/dist/components/code-block/meta.js","../../ui/dist/components/combobox/meta.js","../../ui/dist/components/command/meta.js","../../ui/dist/components/data-table/meta.js","../../ui/dist/components/date-picker/meta.js","../../ui/dist/components/dialog/meta.js","../../ui/dist/components/drawer/meta.js","../../ui/dist/components/dropdown-menu/meta.js","../../ui/dist/components/empty-state/meta.js","../../ui/dist/components/form/meta.js","../../ui/dist/components/input/meta.js","../../ui/dist/components/label/meta.js","../../ui/dist/components/meter/meta.js","../../ui/dist/components/metric-delta/meta.js","../../ui/dist/components/pagination/meta.js","../../ui/dist/components/popover/meta.js","../../ui/dist/components/progress/meta.js","../../ui/dist/components/radio-group/meta.js","../../ui/dist/components/record-diff/meta.js","../../ui/dist/components/select/meta.js","../../ui/dist/components/separator/meta.js","../../ui/dist/components/sheet/meta.js","../../ui/dist/components/skeleton/meta.js","../../ui/dist/components/slider/meta.js","../../ui/dist/components/spinner/meta.js","../../ui/dist/components/switch/meta.js","../../ui/dist/components/table/meta.js","../../ui/dist/components/tabs/meta.js","../../ui/dist/components/toast/meta.js","../../ui/dist/components/tooltip/meta.js","../../ui/dist/blocks/admin-users/meta.js","../../ui/dist/blocks/ai-chat/meta.js","../../ui/dist/blocks/dashboard/meta.js","../../ui/dist/blocks/forgot-password/meta.js","../../ui/dist/blocks/login/meta.js","../../ui/dist/blocks/pricing/meta.js","../../ui/dist/blocks/settings/meta.js","../../ui/dist/blocks/signup/meta.js","../../ui/dist/registry/blocks.js","../../ui/dist/registry/components.js","../src/build.ts"],"sourcesContent":["//#region src/registry/schema.ts\n/**\n* Registry metadata contract.\n*\n* Every component ships a `meta.ts` describing what the CLI must install\n* alongside it. This file defines the *type* only; `meta.test.ts` validates\n* every declaration against the source's real imports, so metadata cannot drift\n* from the code it describes. See docs/architecture/0003-registry-metadata.md.\n*/\nconst COMPONENT_CATEGORIES = [\n\t\"foundation\",\n\t\"display\",\n\t\"navigation\",\n\t\"overlay\",\n\t\"layout\",\n\t\"form\",\n\t\"feedback\",\n\t\"data\",\n\t\"ai\"\n];\nconst COMPONENT_STATUSES = [\n\t\"stable\",\n\t\"beta\",\n\t\"experimental\"\n];\n/** Identity helper that gives editors autocomplete inside `meta.ts`. */\nfunction defineMeta(meta) {\n\treturn meta;\n}\n//#endregion\nexport { COMPONENT_CATEGORIES, COMPONENT_STATUSES, defineMeta };\n\n//# sourceMappingURL=schema.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/accordion/meta.ts\nconst meta = defineMeta({\n\tname: \"accordion\",\n\ttitle: \"Accordion\",\n\tdescription: \"Vertically stacked sections that expand to reveal their content.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"accordion.tsx\"],\n\ta11y: \"Each trigger is a button inside a heading, so screen reader users can navigate the sections by heading. aria-expanded and aria-controls tie the trigger to its panel, and arrow keys move between triggers.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/activity-feed/meta.ts\nconst meta = defineMeta({\n\tname: \"activity-feed\",\n\ttitle: \"Activity Feed\",\n\tdescription: \"A chronological list of events, with a connecting timeline rail.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"activity-feed.tsx\"],\n\ta11y: \"An ordered list, so position and count are announced — the order is the meaning here. The rail and the indicators are decorative; the item text has to say what happened. ActivityTime requires a machine-readable dateTime, because a relative label like \\\"2 hours ago\\\" is ambiguous outside the moment it was rendered.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-action-ledger/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-action-ledger\",\n\ttitle: \"AI Action Ledger\",\n\tdescription: \"What an agent actually did, classified by what can be undone.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-action-ledger.tsx\"],\n\ta11y: \"Reversibility is stated in words on every entry, never by colour or icon alone — it decides whether the undo control means anything, so it cannot be decoration. Selection uses native checkboxes with real labels, and the revert button carries the count in its accessible name so it says what pressing it will do. The selection summary is an aria-live region because the wording changes as the choice changes, and warns before the click when something can only be offset rather than undone.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-agent-status/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-agent-status\",\n\ttitle: \"AI Agent Status\",\n\tdescription: \"A pill showing what an agent is doing, in words as well as colour.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-agent-status.tsx\"],\n\ta11y: \"The state is always text. Agent states matter most when something has failed, which is exactly when a colour-only signal fails the people who most need to see it. Live announcements are off by default — several agents each announcing their transitions turns a dashboard into noise; enable it for the one agent being watched.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-conversation/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-conversation\",\n\ttitle: \"AI Conversation\",\n\tdescription: \"The scrolling transcript container, with follow-on-new-content and a status region.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-conversation.tsx\"],\n\ta11y: \"The transcript is an ordered list, NOT a live region. A live region that updates on every streamed token is unusable with a screen reader, and is the most common accessibility failure in chat interfaces. Announce state — \\\"generating\\\", \\\"response complete\\\" — through ConversationStatus instead, and let the reader navigate the transcript at their own pace. Auto-scroll stops the moment the reader scrolls up, and ConversationScrollButton is the explicit way back.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-inline-completion/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-inline-completion\",\n\ttitle: \"AI Inline Completion\",\n\tdescription: \"Ghost-text suggestion inside a real textarea, accepted with Tab.\",\n\tcategory: \"ai\",\n\tstatus: \"beta\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-inline-completion.tsx\"],\n\ta11y: \"No WAI-ARIA pattern covers generative ghost text — combobox is the nearest and does not fit, because the suggestion is not one of a known set of options and a listbox would misdescribe it. So the suggestion is announced through a polite live description that names the keys, since a gesture nobody knows about is not an affordance, and the grey text itself is aria-hidden. Escape always dismisses and restores plain Tab, so the keyboard is never trapped in the field. The ghost hides during IME composition and whenever the caret is not at the end, rather than rendering somewhere it does not belong.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-message/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-message\",\n\ttitle: \"AI Message\",\n\tdescription: \"One turn in a conversation, with role, avatar, actions and footer slots.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-message.tsx\"],\n\ta11y: \"Every message carries a visually hidden label naming the speaker. Alignment and colour tell a sighted reader who is talking and tell a screen reader user nothing, so the role is always in text. Message actions fade in on hover but stay in the DOM and in the tab order — a control that only exists on hover is unreachable by keyboard and invisible on touch.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-model-selector/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-model-selector\",\n\ttitle: \"AI Model Selector\",\n\tdescription: \"Picks the model a conversation runs on, with descriptions and availability.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\"select\"],\n\tfiles: [\"ai-model-selector.tsx\"],\n\ta11y: \"Inherits Select's listbox keyboard model. Each option sets textValue to the model name so typeahead matches the name rather than the description. A disabled model shows and announces why it is unavailable — a disabled option with no reason reads as a broken interface.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-prompt-input/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-prompt-input\",\n\ttitle: \"AI Prompt Input\",\n\tdescription: \"The composer: auto-growing textarea, send-on-Enter, and a send/stop control.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-prompt-input.tsx\"],\n\ta11y: \"Enter sends and Shift+Enter inserts a newline, but never while an IME composition is active — for Japanese, Chinese and Korean input Enter confirms a candidate, and sending there truncates the sentence mid-word. The submit control renames itself to \\\"Stop generating\\\" while busy, so its accessible name always matches what it does. The character counter stays silent until it nears the limit; announcing every keystroke would be unusable.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-reasoning/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-reasoning\",\n\ttitle: \"AI Reasoning\",\n\tdescription: \"A collapsible disclosure for the model's reasoning.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-reasoning.tsx\"],\n\ta11y: \"A standard disclosure with aria-expanded on the trigger. Collapsed by default because reasoning is supporting material — giving it the same weight as the answer buries the answer. The trigger's label changes while reasoning streams, so its accessible name matches what is happening.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-response/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-response\",\n\ttitle: \"AI Response\",\n\tdescription: \"Assistant response text, with a streaming caret and a thinking indicator.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-response.tsx\"],\n\ta11y: \"Deliberately not a live region: announcing streamed text as it arrives interrupts a screen reader user on every token. Announce state through ConversationStatus and let them read the response when it settles. The caret is decorative; ThinkingIndicator carries a label because it is the only thing on screen while waiting for the first token.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-sources/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-sources\",\n\ttitle: \"AI Sources\",\n\tdescription: \"Inline citation markers and the source list they refer to.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-sources.tsx\"],\n\ta11y: \"An inline marker shows a bare number, which conveys nothing on its own, so the source title is carried in its accessible name. A marker with no href renders as text rather than as a link that goes nowhere. The source list is ordered, because the marker numbers refer to positions in it.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-structured-output/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-structured-output\",\n\ttitle: \"AI Structured Output\",\n\tdescription: \"An object arriving field by field from the model, without the layout jumping.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-structured-output.tsx\"],\n\ta11y: \"A description list, so each value is associated with its label rather than floating beside it. The region is aria-live=\\\"polite\\\" with aria-busy while streaming, so fields are announced as they settle instead of re-reading the whole object on every token. Height is reserved from the declared field list, which keeps focus and reading position stable as values arrive. Confidence is stated as a number in words, never as a colour alone.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-token-usage/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-token-usage\",\n\ttitle: \"AI Token Usage\",\n\tdescription: \"A gauge showing how much of the context window a conversation has used.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-token-usage.tsx\"],\n\ta11y: \"The numbers are the content and the bar only summarises them, so the bar is aria-hidden rather than a second progressbar to read past. Counts are formatted for the locale. Warning and over-limit states change the wording's colour but never remove the figures.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/ai-tool/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-tool\",\n\ttitle: \"AI Tool Call\",\n\tdescription: \"A collapsible record of a tool the model called, its arguments and its result.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"ai-tool.tsx\"],\n\ta11y: \"A disclosure: the trigger exposes aria-expanded and controls the panel. Status is stated in words, not by a coloured dot — colour alone is unavailable to a screen reader and to anyone who cannot distinguish it. Payload blocks are focusable named regions, since JSON scrolls and an unfocusable scroll box is unreachable by keyboard.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/alert/meta.ts\nconst meta = defineMeta({\n\tname: \"alert\",\n\ttitle: \"Alert\",\n\tdescription: \"A callout that draws attention to an important message.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"alert.tsx\"],\n\ta11y: \"Not a live region by default. Pass live=\\\"polite\\\" for alerts that appear in response to a user action, or live=\\\"assertive\\\" for errors that must interrupt. Variant colour is never the only signal — the title carries the meaning.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/avatar/meta.ts\nconst meta = defineMeta({\n\tname: \"avatar\",\n\ttitle: \"Avatar\",\n\tdescription: \"An image representation of a user or entity with a graceful text fallback.\",\n\tcategory: \"display\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"avatar.tsx\"],\n\ta11y: \"Give AvatarImage a meaningful alt, or alt=\\\"\\\" when the adjacent text already names the person. Fallback initials are decorative and are not announced separately.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/badge/meta.ts\nconst meta = defineMeta({\n\tname: \"badge\",\n\ttitle: \"Badge\",\n\tdescription: \"A compact marker for status, counts and categories.\",\n\tcategory: \"display\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"badge.tsx\"],\n\ta11y: \"The badge label must convey the meaning on its own; variant colour is decoration. Use asChild to render an interactive badge as a link or button rather than adding handlers.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/button/meta.ts\nconst meta = defineMeta({\n\tname: \"button\",\n\ttitle: \"Button\",\n\tdescription: \"Triggers an action or event, with variants for every level of emphasis.\",\n\tcategory: \"foundation\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [\"spinner\"],\n\tfiles: [\"button.tsx\"],\n\ta11y: \"Keyboard activatable via Enter and Space. The loading state uses aria-disabled and aria-busy rather than the disabled attribute, so focus is never stranded mid-action. Use `size=\\\"icon\\\"` only with an accessible name from aria-label or visually hidden text.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/calendar/meta.ts\nconst meta = defineMeta({\n\tname: \"calendar\",\n\ttitle: \"Calendar\",\n\tdescription: \"A date grid for selecting a day, several days or a range.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"react-day-picker\"],\n\tregistryDependencies: [\"button\"],\n\tfiles: [\"calendar.tsx\"],\n\ta11y: \"A real grid with roving focus: arrows move by day, Page Up/Down by month, Home/End to the ends of a week. Selection is announced through aria-selected, and the month caption is a live region so moving between months is announced. Give the calendar an accessible name when more than one is on the page.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/card/meta.ts\nconst meta = defineMeta({\n\tname: \"card\",\n\ttitle: \"Card\",\n\tdescription: \"A surface that groups related content and actions into a single block.\",\n\tcategory: \"display\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"card.tsx\"],\n\ta11y: \"Card renders a plain div with no implicit landmark. CardTitle is an h3 by default — use asChild to set the level the page actually needs, since heading levels must increase by one, or to render something that is not a heading at all.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/checkbox/meta.ts\nconst meta = defineMeta({\n\tname: \"checkbox\",\n\ttitle: \"Checkbox\",\n\tdescription: \"A control for an on/off choice, with support for an indeterminate state.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"checkbox.tsx\"],\n\ta11y: \"Toggles with Space, matching the native control. Always pair with a Label via htmlFor/id — the box alone has no accessible name. Indeterminate is announced as \\\"mixed\\\" and is a state the application sets, not one the user can reach by clicking.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/code-block/meta.ts\nconst meta = defineMeta({\n\tname: \"code-block\",\n\ttitle: \"Code Block\",\n\tdescription: \"A block of code with a copy control, ready for any highlighter.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"code-block.tsx\"],\n\ta11y: \"The pre is a focusable named region, since code overflows horizontally and an unfocusable scroll box is unreachable by keyboard. Copying is announced through a polite live region as well as shown, and a refused clipboard write reports failure rather than looking like success.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/combobox/meta.ts\nconst meta = defineMeta({\n\tname: \"combobox\",\n\ttitle: \"Combobox\",\n\tdescription: \"A searchable single-select built on the ARIA combobox pattern.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"combobox.tsx\"],\n\ta11y: \"The input owns role=\\\"combobox\\\" with aria-expanded, aria-controls and aria-autocomplete; the list owns role=\\\"listbox\\\" and each option role=\\\"option\\\" with aria-selected. Focus stays in the input while arrow keys move aria-activedescendant, so typing is never interrupted. Arrow navigation wraps, Home/End jump, Enter selects the active option and Escape closes.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/command/meta.ts\nconst meta = defineMeta({\n\tname: \"command\",\n\ttitle: \"Command\",\n\tdescription: \"A searchable command palette, with groups and a ⌘K dialog variant.\",\n\tcategory: \"navigation\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\"dialog\"],\n\tfiles: [\"command.tsx\"],\n\ta11y: \"The input owns role=\\\"combobox\\\" and the list role=\\\"listbox\\\"; focus stays in the input while arrow keys move aria-activedescendant, so typing is never interrupted. Enter runs the active item through the same path as a click. A group whose items are all filtered out hides its heading rather than labelling nothing. CommandDialog always renders a title and description, visually hidden, so the dialog is never unnamed.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/data-table/meta.ts\nconst meta = defineMeta({\n\tname: \"data-table\",\n\ttitle: \"Data Table\",\n\tdescription: \"Presentation for a TanStack Table instance: sorting, column visibility and pagination.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"@tanstack/react-table\"],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"dropdown-menu\",\n\t\t\"select\",\n\t\t\"table\"\n\t],\n\tfiles: [\"data-table.tsx\"],\n\ta11y: \"Sortable headers carry aria-sort, so the current sort is announced rather than being conveyed by an arrow icon alone, and each sort button has visually hidden text stating the column and its direction. The pagination status is a polite live region, because paging swaps the rows in place with no other signal. A column that cannot be sorted renders as text, not as a button that does nothing.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/date-picker/meta.ts\nconst meta = defineMeta({\n\tname: \"date-picker\",\n\ttitle: \"Date Picker\",\n\tdescription: \"A button that opens a calendar to pick a date or a date range.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"react-day-picker\"],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"calendar\",\n\t\t\"popover\"\n\t],\n\tfiles: [\"date-picker.tsx\"],\n\ta11y: \"The trigger states the selected date, formatted for the locale, so its accessible name changes with the value. The popover is named because it carries role=\\\"dialog\\\". Selecting a single date closes the popover and returns focus to the trigger; a range stays open, since one click is only half an answer. Offer a typed input alongside it for dates the user already knows.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/dialog/meta.ts\nconst meta = defineMeta({\n\tname: \"dialog\",\n\ttitle: \"Dialog\",\n\tdescription: \"A modal window that interrupts the user to gather a response.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"dialog.tsx\"],\n\ta11y: \"Focus is trapped while open and restored to the trigger on close; Escape and an overlay click dismiss. Always render a DialogTitle — it names the dialog for screen readers. Use DialogDescription, or aria-describedby, to explain consequential actions.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/drawer/meta.ts\nconst meta = defineMeta({\n\tname: \"drawer\",\n\ttitle: \"Drawer\",\n\tdescription: \"A bottom sheet that can be dismissed by dragging it down.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"drawer.tsx\"],\n\ta11y: \"Drag is pointer-only and never the sole way out: Escape, the overlay and DrawerCancel all dismiss. The grab handle is aria-hidden because it duplicates those affordances. Always render a DrawerTitle.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/dropdown-menu/meta.ts\nconst meta = defineMeta({\n\tname: \"dropdown-menu\",\n\ttitle: \"Dropdown Menu\",\n\tdescription: \"A menu of actions revealed from a trigger, with submenus and selectable items.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"dropdown-menu.tsx\"],\n\ta11y: \"Full menu keyboard model: arrows move, Home/End jump, typeahead searches, Escape closes and restores focus, Right/Left open and close submenus. Highlight is driven by data-highlighted so pointer and keyboard focus never diverge. Use it for actions — links belong in a nav, and value selection belongs in Select.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/empty-state/meta.ts\nconst meta = defineMeta({\n\tname: \"empty-state\",\n\ttitle: \"Empty State\",\n\tdescription: \"Shown where content would be, explaining why it is empty and what to do next.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"empty-state.tsx\"],\n\ta11y: \"A plain container with no implicit landmark or live region. When it replaces content after a search, put aria-live on the results region so the change is announced. The icon is decorative — the title has to carry the message on its own.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/form/meta.ts\nconst meta = defineMeta({\n\tname: \"form\",\n\ttitle: \"Form\",\n\tdescription: \"Accessible field wiring that works with any form library, or none.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"form.tsx\"],\n\ta11y: \"FormField generates the id, points the Label at the control, and assembles aria-describedby from whichever of the description and error are actually present — a dangling reference announces nothing and is flagged by axe. aria-invalid follows the error. FormMessage is a polite live region, so a late validation message is announced without interrupting.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/input/meta.ts\nconst meta = defineMeta({\n\tname: \"input\",\n\ttitle: \"Input\",\n\tdescription: \"A single-line text field with size variants and native validation styling.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"input.tsx\"],\n\ta11y: \"Always pair with a Label via htmlFor/id. Error state is driven by aria-invalid so assistive technology and styling stay in sync; describe the error with aria-describedby.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/label/meta.ts\nconst meta = defineMeta({\n\tname: \"label\",\n\ttitle: \"Label\",\n\tdescription: \"An accessible caption that associates text with a form control.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"label.tsx\"],\n\ta11y: \"Set htmlFor to the id of the control it labels. Clicking the label moves focus to that control, including composite widgets that are not native inputs.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/meter/meta.ts\nconst meta = defineMeta({\n\tname: \"meter\",\n\ttitle: \"Meter\",\n\tdescription: \"A measurement against a capacity — quota, seats, spend — segmented by category.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"meter.tsx\"],\n\ta11y: \"Uses role=\\\"meter\\\", not role=\\\"progressbar\\\": a meter reports a level with no expectation of reaching the end, and screen readers phrase the two differently. The bar is one meter and the segments inside it are decoration — making each its own widget would put several unlabelled meters in the tab order to describe one quantity. aria-valuetext carries the unit and the capacity, because a bare \\\"4\\\" says nothing about 4 of what. Per-segment detail lives in MeterLegend as text, where it can be read.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/metric-delta/meta.ts\nconst meta = defineMeta({\n\tname: \"metric-delta\",\n\ttitle: \"Metric Delta\",\n\tdescription: \"A headline number with a change indicator that knows which direction is good.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"metric-delta.tsx\"],\n\ta11y: \"The meaning is never carried by colour and an arrow alone, which fails WCAG 1.4.1 — the direction and the comparison are always stated in text. The tile reads as one sentence rather than three fragments: the visible number and delta are aria-hidden and a single screen-reader description carries value, direction, comparison and, where given, sample size. A zero baseline is announced as having no percentage rather than as an infinite one.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/pagination/meta.ts\nconst meta = defineMeta({\n\tname: \"pagination\",\n\ttitle: \"Pagination\",\n\tdescription: \"Navigation between pages of a list.\",\n\tcategory: \"navigation\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [\"button\"],\n\tfiles: [\"pagination.tsx\"],\n\ta11y: \"A named nav landmark. The current page carries aria-current=\\\"page\\\" — styling it differently conveys nothing on its own. Links by default, since a page of results is a place worth sharing; use asChild for your router's link, or render buttons when paging only changes client state.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/popover/meta.ts\nconst meta = defineMeta({\n\tname: \"popover\",\n\ttitle: \"Popover\",\n\tdescription: \"Rich floating content anchored to a trigger.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"popover.tsx\"],\n\ta11y: \"The content has role=\\\"dialog\\\" and therefore REQUIRES an accessible name — pass aria-label, or aria-labelledby pointing at a heading inside it. A development-only warning fires if neither is present. The trigger exposes aria-expanded and aria-controls; Escape closes and returns focus to it. Non-modal by default, so the rest of the page stays reachable; pass `modal` only when the content is a task the user must finish or abandon.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/progress/meta.ts\nconst meta = defineMeta({\n\tname: \"progress\",\n\ttitle: \"Progress\",\n\tdescription: \"Shows how far along a task is, or that one is running at all.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"progress.tsx\"],\n\ta11y: \"Exposed as role=\\\"progressbar\\\" with aria-valuenow, and give it a name with aria-label or aria-labelledby. Omitting `value` marks it indeterminate, which is announced differently from zero. Show the percentage in text as well — the bar alone is not readable at a glance for everyone.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/radio-group/meta.ts\nconst meta = defineMeta({\n\tname: \"radio-group\",\n\ttitle: \"Radio Group\",\n\tdescription: \"A set of mutually exclusive options.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"radio-group.tsx\"],\n\ta11y: \"Arrow keys move between options and select as they go, and the group is a single tab stop — the standard radio model. Give the group an accessible name with aria-labelledby, and each item a Label tied by htmlFor/id.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/record-diff/meta.ts\nconst meta = defineMeta({\n\tname: \"record-diff\",\n\ttitle: \"Record Diff\",\n\tdescription: \"Field-level before and after, for audit entries, settings history and revisions.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"record-diff.tsx\"],\n\ta11y: \"A real table, not a grid of divs. Each field name is a th with scope=\\\"row\\\", so a value is announced with the field it belongs to rather than as a loose cell. The kind of change is never carried by row colour alone — every row states added, removed or changed in text for screen readers, satisfying WCAG 1.4.1. The unchanged-field toggle is a real button with aria-expanded. Redacted values never reach the DOM at all.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/select/meta.ts\nconst meta = defineMeta({\n\tname: \"select\",\n\ttitle: \"Select\",\n\tdescription: \"Picks one value from a short list of options.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"select.tsx\"],\n\ta11y: \"Full listbox keyboard model: arrows move, typeahead jumps, Enter selects, Escape closes and restores focus. Give the trigger a name with aria-labelledby or a Label. Past about a dozen options prefer Combobox — scrolling a long listbox by keyboard is slow.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/separator/meta.ts\nconst meta = defineMeta({\n\tname: \"separator\",\n\ttitle: \"Separator\",\n\tdescription: \"A horizontal or vertical rule that divides content.\",\n\tcategory: \"layout\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"separator.tsx\"],\n\ta11y: \"Decorative by default and hidden from assistive technology. Set decorative={false} to expose it as a semantic separator when it divides meaningfully distinct groups.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/sheet/meta.ts\nconst meta = defineMeta({\n\tname: \"sheet\",\n\ttitle: \"Sheet\",\n\tdescription: \"A panel that enters from an edge of the viewport for secondary content.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"sheet.tsx\"],\n\ta11y: \"Modal, with the same focus trapping and restoration as Dialog. Always render a SheetTitle. For a side navigation sheet, put a nav landmark inside rather than relying on placement to convey the role.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/skeleton/meta.ts\nconst meta = defineMeta({\n\tname: \"skeleton\",\n\ttitle: \"Skeleton\",\n\tdescription: \"A shaped placeholder that holds layout while content loads.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"skeleton.tsx\"],\n\ta11y: \"Hidden from assistive technology. Put aria-busy on the container that owns the loading data so the state is announced once instead of once per placeholder.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/slider/meta.ts\nconst meta = defineMeta({\n\tname: \"slider\",\n\ttitle: \"Slider\",\n\tdescription: \"Selects a value, or a range, from a continuous span.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"slider.tsx\"],\n\ta11y: \"Each thumb is a role=\\\"slider\\\" with arrow keys, Home/End and Page Up/Down. The name is forwarded onto the thumbs, since the root has no role — a range slider should name each thumb separately with thumbLabels. A development-only warning fires if a thumb would be unnamed. Pass aria-valuetext when the raw number is not meaningful on its own (a price, a duration). Show the current value on screen too — a slider is imprecise, so pair it with a numeric input when exactness matters.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/spinner/meta.ts\nconst meta = defineMeta({\n\tname: \"spinner\",\n\ttitle: \"Spinner\",\n\tdescription: \"An indeterminate loading indicator for buttons, panels and inline content.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\"],\n\tregistryDependencies: [],\n\tfiles: [\"spinner.tsx\"],\n\ta11y: \"Renders aria-hidden by default so it does not announce inside controls that already expose a busy state. Pass `label` to announce it standalone via role=\\\"status\\\".\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/switch/meta.ts\nconst meta = defineMeta({\n\tname: \"switch\",\n\ttitle: \"Switch\",\n\tdescription: \"An immediate on/off toggle for settings that apply straight away.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"switch.tsx\"],\n\ta11y: \"Exposed as role=\\\"switch\\\" and toggled with Space or Enter. Needs a visible label tied with htmlFor/id. Do not rely on colour alone to show state — position and the label carry it too.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/table/meta.ts\nconst meta = defineMeta({\n\tname: \"table\",\n\ttitle: \"Table\",\n\tdescription: \"Semantic table primitives for tabular data.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"table.tsx\"],\n\ta11y: \"A native table, so row and column position, header association and dimensions are all announced without ARIA. Give it a name with TableCaption or aria-label. The scrolling wrapper is focusable so an overflowing table can be scrolled by keyboard — without that, columns past the edge are unreachable. Use scope=\\\"row\\\" on th elements inside tbody.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/tabs/meta.ts\nconst meta = defineMeta({\n\tname: \"tabs\",\n\ttitle: \"Tabs\",\n\tdescription: \"Switches between panels of related content.\",\n\tcategory: \"navigation\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"tabs.tsx\"],\n\ta11y: \"Implements the ARIA tabs pattern: arrows move between tabs, Home/End jump to the ends, and only the active tab is in the tab sequence. Panels are focusable so keyboard users reach their content directly. Use activationMode=\\\"manual\\\" when showing a panel is expensive, so arrowing past it does not load it.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/toast/meta.ts\nconst meta = defineMeta({\n\tname: \"toast\",\n\ttitle: \"Toast\",\n\tdescription: \"Brief, non-blocking messages with an imperative API callable from anywhere.\",\n\tcategory: \"feedback\",\n\tstatus: \"stable\",\n\tdependencies: [\"class-variance-authority\", \"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"toast-store.ts\", \"toast.tsx\"],\n\ta11y: \"Toasts are announced through a live region: destructive and warning variants interrupt (foreground), the rest wait for a pause (background). Auto-dismiss timers pause on hover, focus and window blur, and F8 moves focus into the toast list from anywhere. An action must carry altText describing how to do the same thing without the toast, since it may be gone before a screen reader user reaches it.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/components/tooltip/meta.ts\nconst meta = defineMeta({\n\tname: \"tooltip\",\n\ttitle: \"Tooltip\",\n\tdescription: \"A short label revealed on hover or keyboard focus.\",\n\tcategory: \"overlay\",\n\tstatus: \"stable\",\n\tdependencies: [\"radix-ui\"],\n\tregistryDependencies: [],\n\tfiles: [\"tooltip.tsx\"],\n\ta11y: \"Opens on focus as well as hover, and Escape dismisses it. Never put essential or interactive content in a tooltip: it is unreachable on touch and vanishes on blur. For an icon-only button, prefer aria-label for the name and use the tooltip only to repeat it visually.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/admin-users/meta.ts\nconst meta = defineMeta({\n\tname: \"admin-users\",\n\tkind: \"block\",\n\ttitle: \"Admin — users\",\n\tdescription: \"A team administration table with filtering, sorting and per-row actions.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [\"@tanstack/react-table\"],\n\tregistryDependencies: [\n\t\t\"avatar\",\n\t\t\"badge\",\n\t\t\"button\",\n\t\t\"data-table\",\n\t\t\"dropdown-menu\",\n\t\t\"empty-state\",\n\t\t\"input\",\n\t\t\"label\"\n\t],\n\tfiles: [\"admin-users.tsx\"],\n\ta11y: \"Filtering changes the results without the user asking, so the matching count is announced politely. The filter has a real label rather than only a placeholder, which disappears the moment anyone types. Each row's action button is named after its row — four identical \\\"Actions\\\" buttons say nothing about which row you are on.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/ai-chat/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-chat\",\n\tkind: \"block\",\n\ttitle: \"AI Chat\",\n\tdescription: \"A complete chat surface: transcript, reasoning, tool calls, sources and composer.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"ai-conversation\",\n\t\t\"ai-message\",\n\t\t\"ai-model-selector\",\n\t\t\"ai-prompt-input\",\n\t\t\"ai-reasoning\",\n\t\t\"ai-response\",\n\t\t\"ai-sources\",\n\t\t\"ai-token-usage\",\n\t\t\"ai-tool\",\n\t\t\"button\",\n\t\t\"empty-state\"\n\t],\n\tfiles: [\"ai-chat.tsx\"],\n\ta11y: \"Assembled from the AI components rather than reimplementing them, so their decisions still hold: the transcript is a list and not a live region, state is announced separately through ConversationStatus, and the composer will not send while an IME composition is active. Tool payloads are named per tool, so two open tool calls do not present two regions called \\\"Result\\\".\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/dashboard/meta.ts\nconst meta = defineMeta({\n\tname: \"dashboard\",\n\tkind: \"block\",\n\ttitle: \"Dashboard\",\n\tdescription: \"An overview page with headline metrics and a recent activity feed.\",\n\tcategory: \"data\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"activity-feed\",\n\t\t\"badge\",\n\t\t\"card\",\n\t\t\"skeleton\"\n\t],\n\tfiles: [\"dashboard.tsx\"],\n\ta11y: \"Each metric states its change in words — \\\"up 12.4%\\\" — rather than by a coloured arrow, which is unreadable to a screen reader and ambiguous to anyone who cannot distinguish the colours. Whether a rise is good is configurable, since churn going up is not. The metrics sit in a named region so they can be jumped to.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/forgot-password/meta.ts\nconst meta = defineMeta({\n\tname: \"forgot-password\",\n\tkind: \"block\",\n\ttitle: \"Forgot password\",\n\tdescription: \"A password reset request, with a confirmation that does not leak account existence.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"empty-state\",\n\t\t\"form\",\n\t\t\"input\"\n\t],\n\tfiles: [\"forgot-password.tsx\"],\n\ta11y: \"The confirmation replaces the form, so it is a polite live region — otherwise a screen reader user submits and hears nothing. The wording is deliberately neutral about whether the address exists: confirming it would turn this form into an account enumeration oracle.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/login/meta.ts\nconst meta = defineMeta({\n\tname: \"login\",\n\tkind: \"block\",\n\ttitle: \"Login\",\n\tdescription: \"A sign-in form with validation, social providers and a busy state.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"checkbox\",\n\t\t\"form\",\n\t\t\"input\",\n\t\t\"label\",\n\t\t\"separator\"\n\t],\n\tfiles: [\"login.tsx\"],\n\ta11y: \"Email and password fields carry the right type and autocomplete, so password managers and mobile keyboards behave. Field errors are tied to their inputs through the Form wiring; a server error is an assertive alert, because it arrived after the user acted and explains why nothing happened. The submit button reports its own busy state rather than going quiet.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/pricing/meta.ts\nconst meta = defineMeta({\n\tname: \"pricing\",\n\tkind: \"block\",\n\ttitle: \"Pricing\",\n\tdescription: \"A pricing section with plan cards and a monthly/yearly toggle.\",\n\tcategory: \"layout\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"badge\",\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"label\",\n\t\t\"switch\"\n\t],\n\tfiles: [\"pricing.tsx\"],\n\ta11y: \"Switching the billing period rewrites every price on the page, so the change is announced politely rather than happening silently. Each plan's call to action names the plan — three buttons all reading \\\"Choose\\\" are indistinguishable out of context. Feature ticks are decorative; the feature text carries the meaning.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/settings/meta.ts\nconst meta = defineMeta({\n\tname: \"settings\",\n\tkind: \"block\",\n\ttitle: \"Settings\",\n\tdescription: \"A settings page with a profile form, immediate toggles and a danger zone.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"avatar\",\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"dialog\",\n\t\t\"form\",\n\t\t\"input\",\n\t\t\"label\",\n\t\t\"separator\",\n\t\t\"switch\",\n\t\t\"tabs\"\n\t],\n\tfiles: [\"settings.tsx\"],\n\ta11y: \"Switches apply immediately and have no Save button — a switch that needs saving is a broken promise, so staged changes live in the form instead. The delete confirmation names what will be destroyed and requires typing the account's email, so the destructive button cannot be reached by muscle memory.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { defineMeta } from \"../../registry/schema.js\";\n//#region src/blocks/signup/meta.ts\nconst meta = defineMeta({\n\tname: \"signup\",\n\tkind: \"block\",\n\ttitle: \"Sign up\",\n\tdescription: \"An account creation form with a password strength hint and terms acceptance.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [\n\t\t\"button\",\n\t\t\"card\",\n\t\t\"checkbox\",\n\t\t\"form\",\n\t\t\"input\",\n\t\t\"progress\"\n\t],\n\tfiles: [\"signup.tsx\"],\n\ta11y: \"The strength label is text and the bar beside it is aria-hidden, so the estimate is not announced twice. autoComplete=\\\"new-password\\\" tells password managers to offer a generated password rather than an existing one. Strength is a hint, never a gate: the form is validated on length alone.\"\n});\n//#endregion\nexport { meta };\n\n//# sourceMappingURL=meta.js.map","import { meta } from \"../blocks/admin-users/meta.js\";\nimport { meta as meta$1 } from \"../blocks/ai-chat/meta.js\";\nimport { meta as meta$2 } from \"../blocks/dashboard/meta.js\";\nimport { meta as meta$3 } from \"../blocks/forgot-password/meta.js\";\nimport { meta as meta$4 } from \"../blocks/login/meta.js\";\nimport { meta as meta$5 } from \"../blocks/pricing/meta.js\";\nimport { meta as meta$6 } from \"../blocks/settings/meta.js\";\nimport { meta as meta$7 } from \"../blocks/signup/meta.js\";\n//#region src/registry/blocks.ts\n/**\n* Every block in the registry.\n*\n* Kept separate from `componentMetas` for the same reason blocks install into a\n* different directory: they are whole page sections, browsed and used\n* differently from the components they are assembled out of.\n*\n* `meta.test.ts` fails if a block directory exists that is missing from here.\n*/\nconst blockMetas = [\n\tmeta,\n\tmeta$1,\n\tmeta$2,\n\tmeta$3,\n\tmeta$4,\n\tmeta$5,\n\tmeta$6,\n\tmeta$7\n];\n//#endregion\nexport { blockMetas };\n\n//# sourceMappingURL=blocks.js.map","import { COMPONENT_CATEGORIES, COMPONENT_STATUSES } from \"./schema.js\";\nimport { meta } from \"../components/accordion/meta.js\";\nimport { meta as meta$1 } from \"../components/activity-feed/meta.js\";\nimport { meta as meta$2 } from \"../components/ai-action-ledger/meta.js\";\nimport { meta as meta$3 } from \"../components/ai-agent-status/meta.js\";\nimport { meta as meta$4 } from \"../components/ai-conversation/meta.js\";\nimport { meta as meta$5 } from \"../components/ai-inline-completion/meta.js\";\nimport { meta as meta$6 } from \"../components/ai-message/meta.js\";\nimport { meta as meta$7 } from \"../components/ai-model-selector/meta.js\";\nimport { meta as meta$8 } from \"../components/ai-prompt-input/meta.js\";\nimport { meta as meta$9 } from \"../components/ai-reasoning/meta.js\";\nimport { meta as meta$10 } from \"../components/ai-response/meta.js\";\nimport { meta as meta$11 } from \"../components/ai-sources/meta.js\";\nimport { meta as meta$12 } from \"../components/ai-structured-output/meta.js\";\nimport { meta as meta$13 } from \"../components/ai-token-usage/meta.js\";\nimport { meta as meta$14 } from \"../components/ai-tool/meta.js\";\nimport { meta as meta$15 } from \"../components/alert/meta.js\";\nimport { meta as meta$16 } from \"../components/avatar/meta.js\";\nimport { meta as meta$17 } from \"../components/badge/meta.js\";\nimport { meta as meta$18 } from \"../components/button/meta.js\";\nimport { meta as meta$19 } from \"../components/calendar/meta.js\";\nimport { meta as meta$20 } from \"../components/card/meta.js\";\nimport { meta as meta$21 } from \"../components/checkbox/meta.js\";\nimport { meta as meta$22 } from \"../components/code-block/meta.js\";\nimport { meta as meta$23 } from \"../components/combobox/meta.js\";\nimport { meta as meta$24 } from \"../components/command/meta.js\";\nimport { meta as meta$25 } from \"../components/data-table/meta.js\";\nimport { meta as meta$26 } from \"../components/date-picker/meta.js\";\nimport { meta as meta$27 } from \"../components/dialog/meta.js\";\nimport { meta as meta$28 } from \"../components/drawer/meta.js\";\nimport { meta as meta$29 } from \"../components/dropdown-menu/meta.js\";\nimport { meta as meta$30 } from \"../components/empty-state/meta.js\";\nimport { meta as meta$31 } from \"../components/form/meta.js\";\nimport { meta as meta$32 } from \"../components/input/meta.js\";\nimport { meta as meta$33 } from \"../components/label/meta.js\";\nimport { meta as meta$34 } from \"../components/meter/meta.js\";\nimport { meta as meta$35 } from \"../components/metric-delta/meta.js\";\nimport { meta as meta$36 } from \"../components/pagination/meta.js\";\nimport { meta as meta$37 } from \"../components/popover/meta.js\";\nimport { meta as meta$38 } from \"../components/progress/meta.js\";\nimport { meta as meta$39 } from \"../components/radio-group/meta.js\";\nimport { meta as meta$40 } from \"../components/record-diff/meta.js\";\nimport { meta as meta$41 } from \"../components/select/meta.js\";\nimport { meta as meta$42 } from \"../components/separator/meta.js\";\nimport { meta as meta$43 } from \"../components/sheet/meta.js\";\nimport { meta as meta$44 } from \"../components/skeleton/meta.js\";\nimport { meta as meta$45 } from \"../components/slider/meta.js\";\nimport { meta as meta$46 } from \"../components/spinner/meta.js\";\nimport { meta as meta$47 } from \"../components/switch/meta.js\";\nimport { meta as meta$48 } from \"../components/table/meta.js\";\nimport { meta as meta$49 } from \"../components/tabs/meta.js\";\nimport { meta as meta$50 } from \"../components/toast/meta.js\";\nimport { meta as meta$51 } from \"../components/tooltip/meta.js\";\nimport { blockMetas } from \"./blocks.js\";\n//#region src/registry/components.ts\n/**\n* Every component in the registry.\n*\n* An explicit list rather than a glob: the registry build runs in plain Node,\n* where bundler-only globbing is unavailable, and a static list is also what\n* lets the bundle tree-shake. `meta.test.ts` fails if a component directory\n* exists that is missing from here, so it cannot silently fall out of date.\n*\n* Identifiers carry a `Meta` suffix because component names include reserved\n* words — `switch` cannot be a binding name.\n*/\nconst componentMetas = [\n\tmeta,\n\tmeta$1,\n\tmeta$2,\n\tmeta$3,\n\tmeta$4,\n\tmeta$5,\n\tmeta$6,\n\tmeta$7,\n\tmeta$8,\n\tmeta$9,\n\tmeta$10,\n\tmeta$11,\n\tmeta$12,\n\tmeta$13,\n\tmeta$14,\n\tmeta$15,\n\tmeta$16,\n\tmeta$17,\n\tmeta$18,\n\tmeta$19,\n\tmeta$20,\n\tmeta$21,\n\tmeta$22,\n\tmeta$23,\n\tmeta$24,\n\tmeta$25,\n\tmeta$26,\n\tmeta$27,\n\tmeta$28,\n\tmeta$29,\n\tmeta$30,\n\tmeta$31,\n\tmeta$32,\n\tmeta$33,\n\tmeta$34,\n\tmeta$35,\n\tmeta$36,\n\tmeta$37,\n\tmeta$38,\n\tmeta$39,\n\tmeta$40,\n\tmeta$41,\n\tmeta$42,\n\tmeta$43,\n\tmeta$44,\n\tmeta$45,\n\tmeta$46,\n\tmeta$47,\n\tmeta$48,\n\tmeta$49,\n\tmeta$50,\n\tmeta$51\n];\n//#endregion\nexport { COMPONENT_CATEGORIES, COMPONENT_STATUSES, blockMetas, componentMetas };\n\n//# sourceMappingURL=components.js.map","import { readFileSync, mkdirSync, writeFileSync, rmSync } from \"node:fs\";\nimport { dirname, join } from \"node:path\";\nimport { fileURLToPath, pathToFileURL } from \"node:url\";\n\nimport { blockMetas, componentMetas, type ComponentMeta } from \"@dowel-ui/react/registry\";\n\nimport { hashContent } from \"./hash\";\nimport {\n REGISTRY_VERSION,\n registryIndexSchema,\n registryItemSchema,\n type RegistryFile,\n type RegistryIndexEntry,\n type RegistryItem,\n} from \"./schema\";\n\n/**\n * Emits the public registry.\n *\n * Everything the CLI installs originates here, from the same source files the\n * library itself builds and tests. There is no second copy of a component to\n * drift out of sync.\n */\n\nconst here = dirname(fileURLToPath(import.meta.url));\nconst uiSrc = join(here, \"..\", \"..\", \"ui\", \"src\");\nconst themesSrc = join(here, \"..\", \"..\", \"themes\", \"src\");\nconst uiPackageJson = JSON.parse(\n readFileSync(join(here, \"..\", \"..\", \"ui\", \"package.json\"), \"utf8\"),\n) as { name: string; version: string };\n\nfunction read(path: string): string {\n return readFileSync(path, \"utf8\");\n}\n\n/**\n * Turns a meta into a registry item.\n *\n * Components and blocks differ only in where their source lives and where it is\n * installed, so one function covers both rather than two that drift.\n */\nfunction buildSourceItem(meta: ComponentMeta): RegistryItem {\n const isBlock = meta.kind === \"block\";\n const sourceDir = join(uiSrc, isBlock ? \"blocks\" : \"components\", meta.name);\n const group = isBlock ? \"blocks\" : \"ui\";\n const fileType = isBlock ? \"registry:block\" : \"registry:ui\";\n\n const files: RegistryFile[] = meta.files.map((file) => {\n const content = read(join(sourceDir, file));\n return {\n path: `${group}/${file}`,\n type: fileType,\n content,\n hash: hashContent(content),\n };\n });\n\n return registryItemSchema.parse({\n $schema: \"./schema/registry-item.json\",\n registryVersion: REGISTRY_VERSION,\n name: meta.name,\n type: fileType,\n title: meta.title,\n description: meta.description,\n category: meta.category,\n status: meta.status,\n dependencies: meta.dependencies,\n registryDependencies: meta.registryDependencies,\n files,\n a11y: meta.a11y,\n });\n}\n\n/**\n * The utilities every component imports.\n *\n * Written by `init` rather than by `add`, because a project needs them before\n * the first component and every component assumes they are present.\n */\nfunction buildUtilsItem(): RegistryItem {\n const files: RegistryFile[] = ([\"utils.ts\", \"styles.ts\"] as const).map((file) => {\n const content = read(join(uiSrc, \"lib\", file));\n return {\n path: `lib/${file}`,\n type: \"registry:lib\",\n content,\n hash: hashContent(content),\n };\n });\n\n return registryItemSchema.parse({\n registryVersion: REGISTRY_VERSION,\n name: \"utils\",\n type: \"registry:lib\",\n title: \"Utilities\",\n description:\n \"The cn() class merger and the shared interaction-state fragments every component uses.\",\n category: \"foundation\",\n status: \"stable\",\n dependencies: [\"clsx\", \"tailwind-merge\"],\n registryDependencies: [],\n files,\n });\n}\n\n/**\n * The design tokens, as CSS to append to the project stylesheet.\n *\n * Appended rather than imported from a package: a consumer who cannot edit the\n * tokens does not really own their design system, which is the whole premise.\n */\nfunction buildThemeItem(): RegistryItem {\n const content = [\n \"/* Design tokens. Safe to edit — this is your copy. */\",\n read(join(themesSrc, \"tokens.css\")),\n read(join(themesSrc, \"base.css\")),\n ].join(\"\\n\\n\");\n\n return registryItemSchema.parse({\n registryVersion: REGISTRY_VERSION,\n name: \"theme\",\n type: \"registry:theme\",\n title: \"Theme\",\n description:\n \"Design tokens: colour, radius, typography, elevation and motion, in light and dark.\",\n category: \"foundation\",\n status: \"stable\",\n dependencies: [],\n registryDependencies: [],\n files: [\n {\n path: \"theme.css\",\n type: \"registry:style\",\n content,\n hash: hashContent(content),\n },\n ],\n });\n}\n\nexport function buildRegistry(): RegistryItem[] {\n return [\n buildUtilsItem(),\n buildThemeItem(),\n ...componentMetas.map(buildSourceItem),\n ...blockMetas.map(buildSourceItem),\n ];\n}\n\nexport function buildIndex(items: RegistryItem[]) {\n const entries: RegistryIndexEntry[] = items.map((item) => ({\n name: item.name,\n type: item.type,\n title: item.title,\n description: item.description,\n category: item.category,\n status: item.status,\n dependencies: item.dependencies,\n registryDependencies: item.registryDependencies,\n fileCount: item.files.length,\n }));\n\n return registryIndexSchema.parse({\n $schema: \"./schema/registry-index.json\",\n registryVersion: REGISTRY_VERSION,\n // The package version, not a timestamp: the same source must always produce\n // byte-identical output, or every build shows as a change.\n generatedFrom: `${uiPackageJson.name}@${uiPackageJson.version}`,\n items: entries,\n });\n}\n\nexport function writeRegistry(outDir: string): { items: number; files: number } {\n const items = buildRegistry();\n const index = buildIndex(items);\n\n rmSync(outDir, { recursive: true, force: true });\n mkdirSync(outDir, { recursive: true });\n\n writeFileSync(join(outDir, \"index.json\"), `${JSON.stringify(index, null, 2)}\\n`);\n for (const item of items) {\n writeFileSync(join(outDir, `${item.name}.json`), `${JSON.stringify(item, null, 2)}\\n`);\n }\n\n return {\n items: items.length,\n files: items.reduce((total, item) => total + item.files.length, 0),\n };\n}\n\n// Run directly: `tsx src/build.ts [--out <dir>]`\nconst invokedDirectly =\n process.argv[1] !== undefined && import.meta.url === pathToFileURL(process.argv[1]).href;\n\nif (invokedDirectly) {\n const outIndex = process.argv.indexOf(\"--out\");\n const outDir =\n outIndex === -1\n ? join(here, \"..\", \"r\")\n : (process.argv[outIndex + 1] ?? join(here, \"..\", \"r\"));\n\n const result = writeRegistry(outDir);\n console.log(\n `Registry written to ${outDir}: ${String(result.items)} items, ${String(result.files)} files.`,\n );\n}\n"],"mappings":";;;;;;AA0BA,SAAS,WAAW,MAAM;CACzB,OAAO;AACR;;;AC1BA,MAAMA,UAAO,WAAW;CACvB,MAAM;CACN,OAAO;CACP,aAAa;CACb,UAAU;CACV,QAAQ;CACR,cAAc,CAAC,UAAU;CACzB,sBAAsB,CAAC;CACvB,OAAO,CAAC,eAAe;CACvB,MAAM;AACP,CAAC;;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,CAAC,qBAAqB;EAC7B,MAAM;CACP,CKGCC;CJpBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,WAAW;EACnB,MAAM;CACP,CIECC;CHrBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,aAAa;EACrB,MAAM;CACP,CGKCC;CFtBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,cAAc;EACtB,MAAM;CACP,CECCC;CDvBY,WAAW;EACvB,MAAM;EACN,MAAM;EACN,OAAO;EACP,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc,CAAC;EACf,sBAAsB;GACrB;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,YAAY;EACpB,MAAM;CACP,CCMCC;AACD;;;;;;;;;;;;;;ACuCA,MAAM,iBAAiB;CACtBC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;AACD;;;;;;;;;;AC/FA,MAAM,OAAO,QAAQ,cAAc,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AK,MAAM,QAAQ,OACjB,cAAc,KAAK,QAAQ,GAAG,KAAK,KAAK,MAAM,GAAG,GAAG,KAAK,UAAU,MAAM,MAAM,CAAC,EAAE,GAAG;CAGvF,OAAO;EACL,OAAO,MAAM;EACb,OAAO,MAAM,QAAQ,OAAO,SAAS,QAAQ,KAAK,MAAM,QAAQ,CAAC;CACnE;AACF;AAMA,IAFE,QAAQ,KAAK,OAAO,KAAA,KAAa,YAAY,QAAQ,cAAc,QAAQ,KAAK,EAAE,CAAC,CAAC,MAEjE;CACnB,MAAM,WAAW,QAAQ,KAAK,QAAQ,OAAO;CAC7C,MAAM,SACJ,aAAa,KACT,KAAK,MAAM,MAAM,GAAG,IACnB,QAAQ,KAAK,WAAW,MAAM,KAAK,MAAM,MAAM,GAAG;CAEzD,MAAM,SAAS,cAAc,MAAM;CACnC,QAAQ,IACN,uBAAuB,OAAO,IAAI,OAAO,OAAO,KAAK,EAAE,UAAU,OAAO,OAAO,KAAK,EAAE,QACxF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dowel-ui/registry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Builds the static component registry that the Dowel CLI installs from. For hosting your own registry or a fork.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"registry",
|
|
8
|
+
"build-tool",
|
|
9
|
+
"component-registry",
|
|
10
|
+
"react",
|
|
11
|
+
"design-system",
|
|
12
|
+
"tooling",
|
|
13
|
+
"dowel"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"homepage": "https://dowel-eight.vercel.app",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/aqkprogrammer/dowel-ui.git",
|
|
20
|
+
"directory": "packages/registry"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/aqkprogrammer/dowel-ui/issues"
|
|
24
|
+
},
|
|
6
25
|
"files": [
|
|
7
26
|
"dist",
|
|
8
|
-
"src"
|
|
27
|
+
"src",
|
|
28
|
+
"!src/**/*.test.ts"
|
|
9
29
|
],
|
|
10
30
|
"exports": {
|
|
11
31
|
".": {
|
|
@@ -25,9 +45,9 @@
|
|
|
25
45
|
"tsx": "4.23.13",
|
|
26
46
|
"typescript": "6.0.3",
|
|
27
47
|
"vitest": "4.1.10",
|
|
28
|
-
"@dowel-ui/
|
|
29
|
-
"@dowel-ui/config": "0.
|
|
30
|
-
"@dowel-ui/
|
|
48
|
+
"@dowel-ui/react": "0.2.0",
|
|
49
|
+
"@dowel-ui/config": "0.2.0",
|
|
50
|
+
"@dowel-ui/themes": "0.2.0"
|
|
31
51
|
},
|
|
32
52
|
"scripts": {
|
|
33
53
|
"build": "tsdown && tsx src/build.ts --out r",
|
package/src/build.test.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
|
|
3
|
-
import { buildIndex, buildRegistry } from "./build";
|
|
4
|
-
import { hashContent } from "./hash";
|
|
5
|
-
import { registryIndexSchema, registryItemSchema } from "./schema";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* The registry is the boundary with every consumer's project, so these tests
|
|
9
|
-
* check the shape and the invariants the CLI relies on — not the contents of
|
|
10
|
-
* any particular component.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
const items = buildRegistry();
|
|
14
|
-
|
|
15
|
-
describe("hashContent", () => {
|
|
16
|
-
it("produces a stable prefixed sha256", () => {
|
|
17
|
-
expect(hashContent("hello")).toMatch(/^sha256:[0-9a-f]{64}$/);
|
|
18
|
-
expect(hashContent("hello")).toBe(hashContent("hello"));
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
it("distinguishes different content", () => {
|
|
22
|
-
expect(hashContent("a")).not.toBe(hashContent("b"));
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it("ignores line endings, so a Windows checkout is not all modified", () => {
|
|
26
|
-
expect(hashContent("a\r\nb")).toBe(hashContent("a\nb"));
|
|
27
|
-
});
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
describe("buildRegistry", () => {
|
|
31
|
-
it("emits every item in the published shape", () => {
|
|
32
|
-
for (const item of items) {
|
|
33
|
-
expect(() => registryItemSchema.parse(item)).not.toThrow();
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
it("includes the two items init depends on", () => {
|
|
38
|
-
const names = items.map((item) => item.name);
|
|
39
|
-
expect(names).toContain("utils");
|
|
40
|
-
expect(names).toContain("theme");
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
it("ships the components as registry:ui items", () => {
|
|
44
|
-
const button = items.find((item) => item.name === "button");
|
|
45
|
-
expect(button?.type).toBe("registry:ui");
|
|
46
|
-
expect(button?.files[0]?.path).toBe("ui/button.tsx");
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
it("ships the tokens as a style item, not a file to write", () => {
|
|
50
|
-
const theme = items.find((item) => item.name === "theme");
|
|
51
|
-
expect(theme?.files[0]?.type).toBe("registry:style");
|
|
52
|
-
expect(theme?.files[0]?.content).toContain("@theme");
|
|
53
|
-
expect(theme?.files[0]?.content).toContain("--radius-scale");
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
it("hashes match the content actually published", () => {
|
|
57
|
-
for (const item of items) {
|
|
58
|
-
for (const file of item.files) {
|
|
59
|
-
expect(file.hash).toBe(hashContent(file.content));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
it("names every registry dependency that exists", () => {
|
|
65
|
-
const names = new Set(items.map((item) => item.name));
|
|
66
|
-
for (const item of items) {
|
|
67
|
-
for (const dependency of item.registryDependencies) {
|
|
68
|
-
expect(names.has(dependency), `${item.name} depends on missing "${dependency}"`).toBe(
|
|
69
|
-
true,
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
it("has no dependency cycles", () => {
|
|
76
|
-
const graph = new Map(items.map((item) => [item.name, item.registryDependencies]));
|
|
77
|
-
const state = new Map<string, "visiting" | "done">();
|
|
78
|
-
|
|
79
|
-
function visit(name: string, trail: string[]): void {
|
|
80
|
-
const current = state.get(name);
|
|
81
|
-
if (current === "done") return;
|
|
82
|
-
expect(current, `cycle: ${[...trail, name].join(" → ")}`).not.toBe("visiting");
|
|
83
|
-
|
|
84
|
-
state.set(name, "visiting");
|
|
85
|
-
for (const dependency of graph.get(name) ?? []) visit(dependency, [...trail, name]);
|
|
86
|
-
state.set(name, "done");
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
for (const name of graph.keys()) visit(name, []);
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
it("preserves directives that must stay on the first line", () => {
|
|
93
|
-
const dialog = items.find((item) => item.name === "dialog");
|
|
94
|
-
expect(dialog?.files[0]?.content.startsWith('"use client"')).toBe(true);
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
it("does not ship tests or stories", () => {
|
|
98
|
-
for (const item of items) {
|
|
99
|
-
for (const file of item.files) {
|
|
100
|
-
expect(file.path).not.toMatch(/\.(test|stories)\./);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
it("is deterministic — the same source produces identical output", () => {
|
|
106
|
-
expect(JSON.stringify(buildRegistry())).toBe(JSON.stringify(items));
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
describe("buildIndex", () => {
|
|
111
|
-
const index = buildIndex(items);
|
|
112
|
-
|
|
113
|
-
it("matches the published shape", () => {
|
|
114
|
-
expect(() => registryIndexSchema.parse(index)).not.toThrow();
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
it("lists every item", () => {
|
|
118
|
-
expect(index.items).toHaveLength(items.length);
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
it("records where it was generated from, not when", () => {
|
|
122
|
-
// A timestamp would make every build a diff even when nothing changed.
|
|
123
|
-
// Scope and package name are branding, so only the shape is asserted here.
|
|
124
|
-
expect(index.generatedFrom).toMatch(/^@[\w-]+\/[\w-]+@\d+\.\d+\.\d+$/);
|
|
125
|
-
expect(JSON.stringify(index)).not.toMatch(/\d{4}-\d{2}-\d{2}T/);
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
it("omits file contents, so the index stays small", () => {
|
|
129
|
-
expect(JSON.stringify(index)).not.toContain("export function");
|
|
130
|
-
});
|
|
131
|
-
});
|