@dowel-ui/registry 0.2.0 → 0.3.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/dist/build.js +106 -50
- package/dist/build.js.map +1 -1
- package/package.json +4 -4
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$63 = 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$59 = defineMeta({
|
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region ../ui/dist/components/activity-feed/meta.js
|
|
25
|
-
const meta$
|
|
25
|
+
const meta$62 = defineMeta({
|
|
26
26
|
name: "activity-feed",
|
|
27
27
|
title: "Activity Feed",
|
|
28
28
|
description: "A chronological list of events, with a connecting timeline rail.",
|
|
@@ -35,7 +35,7 @@ const meta$58 = defineMeta({
|
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region ../ui/dist/components/ai-action-ledger/meta.js
|
|
38
|
-
const meta$
|
|
38
|
+
const meta$61 = defineMeta({
|
|
39
39
|
name: "ai-action-ledger",
|
|
40
40
|
title: "AI Action Ledger",
|
|
41
41
|
description: "What an agent actually did, classified by what can be undone.",
|
|
@@ -47,8 +47,21 @@ const meta$57 = defineMeta({
|
|
|
47
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
48
|
});
|
|
49
49
|
//#endregion
|
|
50
|
+
//#region ../ui/dist/components/ai-agent-plan/meta.js
|
|
51
|
+
const meta$60 = defineMeta({
|
|
52
|
+
name: "ai-agent-plan",
|
|
53
|
+
title: "AI Agent Plan",
|
|
54
|
+
description: "What an agent intends to do — including when it changes its mind mid-run.",
|
|
55
|
+
category: "ai",
|
|
56
|
+
status: "stable",
|
|
57
|
+
dependencies: [],
|
|
58
|
+
registryDependencies: [],
|
|
59
|
+
files: ["ai-agent-plan.tsx"],
|
|
60
|
+
a11y: "An ordered list, because a plan is a sequence and the order carries meaning an unordered list would discard. The running step carries aria-current=\"step\", which marks the reader's place without moving focus and fighting anyone reading ahead. Every status is stated in text as well as drawn, and the markers are aria-hidden so the status is not heard twice per step. The live region reports structural revisions only — announcing every status transition would talk over the reader continuously on a plan of any length."
|
|
61
|
+
});
|
|
62
|
+
//#endregion
|
|
50
63
|
//#region ../ui/dist/components/ai-agent-status/meta.js
|
|
51
|
-
const meta$
|
|
64
|
+
const meta$59 = defineMeta({
|
|
52
65
|
name: "ai-agent-status",
|
|
53
66
|
title: "AI Agent Status",
|
|
54
67
|
description: "A pill showing what an agent is doing, in words as well as colour.",
|
|
@@ -60,8 +73,21 @@ const meta$56 = defineMeta({
|
|
|
60
73
|
a11y: "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."
|
|
61
74
|
});
|
|
62
75
|
//#endregion
|
|
76
|
+
//#region ../ui/dist/components/ai-approval-request/meta.js
|
|
77
|
+
const meta$58 = defineMeta({
|
|
78
|
+
name: "ai-approval-request",
|
|
79
|
+
title: "AI Approval Request",
|
|
80
|
+
description: "Approve a tool call — after correcting the arguments the model got wrong.",
|
|
81
|
+
category: "ai",
|
|
82
|
+
status: "stable",
|
|
83
|
+
dependencies: [],
|
|
84
|
+
registryDependencies: [],
|
|
85
|
+
files: ["ai-approval-request.tsx"],
|
|
86
|
+
a11y: "The proposed arguments are a description list of real labelled form controls, so each value is associated with its name and editable ones are reachable by keyboard. A corrected argument is marked in text rather than by border colour alone, because an audit trail has to distinguish the model's proposal from the human's edit. The request is aria-busy while arguments are still arriving and the decision controls stay disabled until it is whole — rendering nothing until then, as the common implementation does, means nothing is on screen at the moment approval becomes relevant. Irreversibility is stated as a sentence, never as a severity colour."
|
|
87
|
+
});
|
|
88
|
+
//#endregion
|
|
63
89
|
//#region ../ui/dist/components/ai-conversation/meta.js
|
|
64
|
-
const meta$
|
|
90
|
+
const meta$57 = defineMeta({
|
|
65
91
|
name: "ai-conversation",
|
|
66
92
|
title: "AI Conversation",
|
|
67
93
|
description: "The scrolling transcript container, with follow-on-new-content and a status region.",
|
|
@@ -74,7 +100,7 @@ const meta$55 = defineMeta({
|
|
|
74
100
|
});
|
|
75
101
|
//#endregion
|
|
76
102
|
//#region ../ui/dist/components/ai-inline-completion/meta.js
|
|
77
|
-
const meta$
|
|
103
|
+
const meta$56 = defineMeta({
|
|
78
104
|
name: "ai-inline-completion",
|
|
79
105
|
title: "AI Inline Completion",
|
|
80
106
|
description: "Ghost-text suggestion inside a real textarea, accepted with Tab.",
|
|
@@ -87,7 +113,7 @@ const meta$54 = defineMeta({
|
|
|
87
113
|
});
|
|
88
114
|
//#endregion
|
|
89
115
|
//#region ../ui/dist/components/ai-message/meta.js
|
|
90
|
-
const meta$
|
|
116
|
+
const meta$55 = defineMeta({
|
|
91
117
|
name: "ai-message",
|
|
92
118
|
title: "AI Message",
|
|
93
119
|
description: "One turn in a conversation, with role, avatar, actions and footer slots.",
|
|
@@ -100,7 +126,7 @@ const meta$53 = defineMeta({
|
|
|
100
126
|
});
|
|
101
127
|
//#endregion
|
|
102
128
|
//#region ../ui/dist/components/ai-model-selector/meta.js
|
|
103
|
-
const meta$
|
|
129
|
+
const meta$54 = defineMeta({
|
|
104
130
|
name: "ai-model-selector",
|
|
105
131
|
title: "AI Model Selector",
|
|
106
132
|
description: "Picks the model a conversation runs on, with descriptions and availability.",
|
|
@@ -113,7 +139,7 @@ const meta$52 = defineMeta({
|
|
|
113
139
|
});
|
|
114
140
|
//#endregion
|
|
115
141
|
//#region ../ui/dist/components/ai-prompt-input/meta.js
|
|
116
|
-
const meta$
|
|
142
|
+
const meta$53 = defineMeta({
|
|
117
143
|
name: "ai-prompt-input",
|
|
118
144
|
title: "AI Prompt Input",
|
|
119
145
|
description: "The composer: auto-growing textarea, send-on-Enter, and a send/stop control.",
|
|
@@ -126,7 +152,7 @@ const meta$51 = defineMeta({
|
|
|
126
152
|
});
|
|
127
153
|
//#endregion
|
|
128
154
|
//#region ../ui/dist/components/ai-reasoning/meta.js
|
|
129
|
-
const meta$
|
|
155
|
+
const meta$52 = defineMeta({
|
|
130
156
|
name: "ai-reasoning",
|
|
131
157
|
title: "AI Reasoning",
|
|
132
158
|
description: "A collapsible disclosure for the model's reasoning.",
|
|
@@ -139,7 +165,7 @@ const meta$50 = defineMeta({
|
|
|
139
165
|
});
|
|
140
166
|
//#endregion
|
|
141
167
|
//#region ../ui/dist/components/ai-response/meta.js
|
|
142
|
-
const meta$
|
|
168
|
+
const meta$51 = defineMeta({
|
|
143
169
|
name: "ai-response",
|
|
144
170
|
title: "AI Response",
|
|
145
171
|
description: "Assistant response text, with a streaming caret and a thinking indicator.",
|
|
@@ -152,7 +178,7 @@ const meta$49 = defineMeta({
|
|
|
152
178
|
});
|
|
153
179
|
//#endregion
|
|
154
180
|
//#region ../ui/dist/components/ai-sources/meta.js
|
|
155
|
-
const meta$
|
|
181
|
+
const meta$50 = defineMeta({
|
|
156
182
|
name: "ai-sources",
|
|
157
183
|
title: "AI Sources",
|
|
158
184
|
description: "Inline citation markers and the source list they refer to.",
|
|
@@ -165,7 +191,7 @@ const meta$48 = defineMeta({
|
|
|
165
191
|
});
|
|
166
192
|
//#endregion
|
|
167
193
|
//#region ../ui/dist/components/ai-structured-output/meta.js
|
|
168
|
-
const meta$
|
|
194
|
+
const meta$49 = defineMeta({
|
|
169
195
|
name: "ai-structured-output",
|
|
170
196
|
title: "AI Structured Output",
|
|
171
197
|
description: "An object arriving field by field from the model, without the layout jumping.",
|
|
@@ -178,7 +204,7 @@ const meta$47 = defineMeta({
|
|
|
178
204
|
});
|
|
179
205
|
//#endregion
|
|
180
206
|
//#region ../ui/dist/components/ai-token-usage/meta.js
|
|
181
|
-
const meta$
|
|
207
|
+
const meta$48 = defineMeta({
|
|
182
208
|
name: "ai-token-usage",
|
|
183
209
|
title: "AI Token Usage",
|
|
184
210
|
description: "A gauge showing how much of the context window a conversation has used.",
|
|
@@ -191,7 +217,7 @@ const meta$46 = defineMeta({
|
|
|
191
217
|
});
|
|
192
218
|
//#endregion
|
|
193
219
|
//#region ../ui/dist/components/ai-tool/meta.js
|
|
194
|
-
const meta$
|
|
220
|
+
const meta$47 = defineMeta({
|
|
195
221
|
name: "ai-tool",
|
|
196
222
|
title: "AI Tool Call",
|
|
197
223
|
description: "A collapsible record of a tool the model called, its arguments and its result.",
|
|
@@ -204,7 +230,7 @@ const meta$45 = defineMeta({
|
|
|
204
230
|
});
|
|
205
231
|
//#endregion
|
|
206
232
|
//#region ../ui/dist/components/alert/meta.js
|
|
207
|
-
const meta$
|
|
233
|
+
const meta$46 = defineMeta({
|
|
208
234
|
name: "alert",
|
|
209
235
|
title: "Alert",
|
|
210
236
|
description: "A callout that draws attention to an important message.",
|
|
@@ -217,7 +243,7 @@ const meta$44 = defineMeta({
|
|
|
217
243
|
});
|
|
218
244
|
//#endregion
|
|
219
245
|
//#region ../ui/dist/components/avatar/meta.js
|
|
220
|
-
const meta$
|
|
246
|
+
const meta$45 = defineMeta({
|
|
221
247
|
name: "avatar",
|
|
222
248
|
title: "Avatar",
|
|
223
249
|
description: "An image representation of a user or entity with a graceful text fallback.",
|
|
@@ -230,7 +256,7 @@ const meta$43 = defineMeta({
|
|
|
230
256
|
});
|
|
231
257
|
//#endregion
|
|
232
258
|
//#region ../ui/dist/components/badge/meta.js
|
|
233
|
-
const meta$
|
|
259
|
+
const meta$44 = defineMeta({
|
|
234
260
|
name: "badge",
|
|
235
261
|
title: "Badge",
|
|
236
262
|
description: "A compact marker for status, counts and categories.",
|
|
@@ -243,7 +269,7 @@ const meta$42 = defineMeta({
|
|
|
243
269
|
});
|
|
244
270
|
//#endregion
|
|
245
271
|
//#region ../ui/dist/components/button/meta.js
|
|
246
|
-
const meta$
|
|
272
|
+
const meta$43 = defineMeta({
|
|
247
273
|
name: "button",
|
|
248
274
|
title: "Button",
|
|
249
275
|
description: "Triggers an action or event, with variants for every level of emphasis.",
|
|
@@ -256,7 +282,7 @@ const meta$41 = defineMeta({
|
|
|
256
282
|
});
|
|
257
283
|
//#endregion
|
|
258
284
|
//#region ../ui/dist/components/calendar/meta.js
|
|
259
|
-
const meta$
|
|
285
|
+
const meta$42 = defineMeta({
|
|
260
286
|
name: "calendar",
|
|
261
287
|
title: "Calendar",
|
|
262
288
|
description: "A date grid for selecting a day, several days or a range.",
|
|
@@ -269,7 +295,7 @@ const meta$40 = defineMeta({
|
|
|
269
295
|
});
|
|
270
296
|
//#endregion
|
|
271
297
|
//#region ../ui/dist/components/card/meta.js
|
|
272
|
-
const meta$
|
|
298
|
+
const meta$41 = defineMeta({
|
|
273
299
|
name: "card",
|
|
274
300
|
title: "Card",
|
|
275
301
|
description: "A surface that groups related content and actions into a single block.",
|
|
@@ -282,7 +308,7 @@ const meta$39 = defineMeta({
|
|
|
282
308
|
});
|
|
283
309
|
//#endregion
|
|
284
310
|
//#region ../ui/dist/components/checkbox/meta.js
|
|
285
|
-
const meta$
|
|
311
|
+
const meta$40 = defineMeta({
|
|
286
312
|
name: "checkbox",
|
|
287
313
|
title: "Checkbox",
|
|
288
314
|
description: "A control for an on/off choice, with support for an indeterminate state.",
|
|
@@ -295,7 +321,7 @@ const meta$38 = defineMeta({
|
|
|
295
321
|
});
|
|
296
322
|
//#endregion
|
|
297
323
|
//#region ../ui/dist/components/code-block/meta.js
|
|
298
|
-
const meta$
|
|
324
|
+
const meta$39 = defineMeta({
|
|
299
325
|
name: "code-block",
|
|
300
326
|
title: "Code Block",
|
|
301
327
|
description: "A block of code with a copy control, ready for any highlighter.",
|
|
@@ -308,7 +334,7 @@ const meta$37 = defineMeta({
|
|
|
308
334
|
});
|
|
309
335
|
//#endregion
|
|
310
336
|
//#region ../ui/dist/components/combobox/meta.js
|
|
311
|
-
const meta$
|
|
337
|
+
const meta$38 = defineMeta({
|
|
312
338
|
name: "combobox",
|
|
313
339
|
title: "Combobox",
|
|
314
340
|
description: "A searchable single-select built on the ARIA combobox pattern.",
|
|
@@ -321,7 +347,7 @@ const meta$36 = defineMeta({
|
|
|
321
347
|
});
|
|
322
348
|
//#endregion
|
|
323
349
|
//#region ../ui/dist/components/command/meta.js
|
|
324
|
-
const meta$
|
|
350
|
+
const meta$37 = defineMeta({
|
|
325
351
|
name: "command",
|
|
326
352
|
title: "Command",
|
|
327
353
|
description: "A searchable command palette, with groups and a ⌘K dialog variant.",
|
|
@@ -334,7 +360,7 @@ const meta$35 = defineMeta({
|
|
|
334
360
|
});
|
|
335
361
|
//#endregion
|
|
336
362
|
//#region ../ui/dist/components/data-table/meta.js
|
|
337
|
-
const meta$
|
|
363
|
+
const meta$36 = defineMeta({
|
|
338
364
|
name: "data-table",
|
|
339
365
|
title: "Data Table",
|
|
340
366
|
description: "Presentation for a TanStack Table instance: sorting, column visibility and pagination.",
|
|
@@ -352,7 +378,7 @@ const meta$34 = defineMeta({
|
|
|
352
378
|
});
|
|
353
379
|
//#endregion
|
|
354
380
|
//#region ../ui/dist/components/date-picker/meta.js
|
|
355
|
-
const meta$
|
|
381
|
+
const meta$35 = defineMeta({
|
|
356
382
|
name: "date-picker",
|
|
357
383
|
title: "Date Picker",
|
|
358
384
|
description: "A button that opens a calendar to pick a date or a date range.",
|
|
@@ -369,7 +395,7 @@ const meta$33 = defineMeta({
|
|
|
369
395
|
});
|
|
370
396
|
//#endregion
|
|
371
397
|
//#region ../ui/dist/components/dialog/meta.js
|
|
372
|
-
const meta$
|
|
398
|
+
const meta$34 = defineMeta({
|
|
373
399
|
name: "dialog",
|
|
374
400
|
title: "Dialog",
|
|
375
401
|
description: "A modal window that interrupts the user to gather a response.",
|
|
@@ -382,7 +408,7 @@ const meta$32 = defineMeta({
|
|
|
382
408
|
});
|
|
383
409
|
//#endregion
|
|
384
410
|
//#region ../ui/dist/components/drawer/meta.js
|
|
385
|
-
const meta$
|
|
411
|
+
const meta$33 = defineMeta({
|
|
386
412
|
name: "drawer",
|
|
387
413
|
title: "Drawer",
|
|
388
414
|
description: "A bottom sheet that can be dismissed by dragging it down.",
|
|
@@ -395,7 +421,7 @@ const meta$31 = defineMeta({
|
|
|
395
421
|
});
|
|
396
422
|
//#endregion
|
|
397
423
|
//#region ../ui/dist/components/dropdown-menu/meta.js
|
|
398
|
-
const meta$
|
|
424
|
+
const meta$32 = defineMeta({
|
|
399
425
|
name: "dropdown-menu",
|
|
400
426
|
title: "Dropdown Menu",
|
|
401
427
|
description: "A menu of actions revealed from a trigger, with submenus and selectable items.",
|
|
@@ -408,7 +434,7 @@ const meta$30 = defineMeta({
|
|
|
408
434
|
});
|
|
409
435
|
//#endregion
|
|
410
436
|
//#region ../ui/dist/components/empty-state/meta.js
|
|
411
|
-
const meta$
|
|
437
|
+
const meta$31 = defineMeta({
|
|
412
438
|
name: "empty-state",
|
|
413
439
|
title: "Empty State",
|
|
414
440
|
description: "Shown where content would be, explaining why it is empty and what to do next.",
|
|
@@ -420,8 +446,21 @@ const meta$29 = defineMeta({
|
|
|
420
446
|
a11y: "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."
|
|
421
447
|
});
|
|
422
448
|
//#endregion
|
|
449
|
+
//#region ../ui/dist/components/file-upload/meta.js
|
|
450
|
+
const meta$30 = defineMeta({
|
|
451
|
+
name: "file-upload",
|
|
452
|
+
title: "File Upload",
|
|
453
|
+
description: "A dropzone over a real file input, plus the upload queue nobody ships.",
|
|
454
|
+
category: "form",
|
|
455
|
+
status: "stable",
|
|
456
|
+
dependencies: [],
|
|
457
|
+
registryDependencies: [],
|
|
458
|
+
files: ["upload-queue.ts", "file-upload.tsx"],
|
|
459
|
+
a11y: "The APG has no dropzone pattern, and inventing one is the usual failure — a div with role=\"button\", a keydown handler, and a picker keyboard users never reach. The control here is a real input[type=file] with a real label, which is already operable, already announced, and opens the picker on Enter and Space with nothing added. Drag and drop is a pointer convenience layered on top; every drop can also be done from the input. Each uploading file gets a progressbar named after it, status is always stated in words as well as drawn, and one polite live region summarises the whole queue rather than six per-file regions talking over each other."
|
|
460
|
+
});
|
|
461
|
+
//#endregion
|
|
423
462
|
//#region ../ui/dist/components/form/meta.js
|
|
424
|
-
const meta$
|
|
463
|
+
const meta$29 = defineMeta({
|
|
425
464
|
name: "form",
|
|
426
465
|
title: "Form",
|
|
427
466
|
description: "Accessible field wiring that works with any form library, or none.",
|
|
@@ -434,7 +473,7 @@ const meta$28 = defineMeta({
|
|
|
434
473
|
});
|
|
435
474
|
//#endregion
|
|
436
475
|
//#region ../ui/dist/components/input/meta.js
|
|
437
|
-
const meta$
|
|
476
|
+
const meta$28 = defineMeta({
|
|
438
477
|
name: "input",
|
|
439
478
|
title: "Input",
|
|
440
479
|
description: "A single-line text field with size variants and native validation styling.",
|
|
@@ -447,7 +486,7 @@ const meta$27 = defineMeta({
|
|
|
447
486
|
});
|
|
448
487
|
//#endregion
|
|
449
488
|
//#region ../ui/dist/components/label/meta.js
|
|
450
|
-
const meta$
|
|
489
|
+
const meta$27 = defineMeta({
|
|
451
490
|
name: "label",
|
|
452
491
|
title: "Label",
|
|
453
492
|
description: "An accessible caption that associates text with a form control.",
|
|
@@ -460,7 +499,7 @@ const meta$26 = defineMeta({
|
|
|
460
499
|
});
|
|
461
500
|
//#endregion
|
|
462
501
|
//#region ../ui/dist/components/meter/meta.js
|
|
463
|
-
const meta$
|
|
502
|
+
const meta$26 = defineMeta({
|
|
464
503
|
name: "meter",
|
|
465
504
|
title: "Meter",
|
|
466
505
|
description: "A measurement against a capacity — quota, seats, spend — segmented by category.",
|
|
@@ -473,7 +512,7 @@ const meta$25 = defineMeta({
|
|
|
473
512
|
});
|
|
474
513
|
//#endregion
|
|
475
514
|
//#region ../ui/dist/components/metric-delta/meta.js
|
|
476
|
-
const meta$
|
|
515
|
+
const meta$25 = defineMeta({
|
|
477
516
|
name: "metric-delta",
|
|
478
517
|
title: "Metric Delta",
|
|
479
518
|
description: "A headline number with a change indicator that knows which direction is good.",
|
|
@@ -486,7 +525,7 @@ const meta$24 = defineMeta({
|
|
|
486
525
|
});
|
|
487
526
|
//#endregion
|
|
488
527
|
//#region ../ui/dist/components/pagination/meta.js
|
|
489
|
-
const meta$
|
|
528
|
+
const meta$24 = defineMeta({
|
|
490
529
|
name: "pagination",
|
|
491
530
|
title: "Pagination",
|
|
492
531
|
description: "Navigation between pages of a list.",
|
|
@@ -499,7 +538,7 @@ const meta$23 = defineMeta({
|
|
|
499
538
|
});
|
|
500
539
|
//#endregion
|
|
501
540
|
//#region ../ui/dist/components/popover/meta.js
|
|
502
|
-
const meta$
|
|
541
|
+
const meta$23 = defineMeta({
|
|
503
542
|
name: "popover",
|
|
504
543
|
title: "Popover",
|
|
505
544
|
description: "Rich floating content anchored to a trigger.",
|
|
@@ -512,7 +551,7 @@ const meta$22 = defineMeta({
|
|
|
512
551
|
});
|
|
513
552
|
//#endregion
|
|
514
553
|
//#region ../ui/dist/components/progress/meta.js
|
|
515
|
-
const meta$
|
|
554
|
+
const meta$22 = defineMeta({
|
|
516
555
|
name: "progress",
|
|
517
556
|
title: "Progress",
|
|
518
557
|
description: "Shows how far along a task is, or that one is running at all.",
|
|
@@ -525,7 +564,7 @@ const meta$21 = defineMeta({
|
|
|
525
564
|
});
|
|
526
565
|
//#endregion
|
|
527
566
|
//#region ../ui/dist/components/radio-group/meta.js
|
|
528
|
-
const meta$
|
|
567
|
+
const meta$21 = defineMeta({
|
|
529
568
|
name: "radio-group",
|
|
530
569
|
title: "Radio Group",
|
|
531
570
|
description: "A set of mutually exclusive options.",
|
|
@@ -538,7 +577,7 @@ const meta$20 = defineMeta({
|
|
|
538
577
|
});
|
|
539
578
|
//#endregion
|
|
540
579
|
//#region ../ui/dist/components/record-diff/meta.js
|
|
541
|
-
const meta$
|
|
580
|
+
const meta$20 = defineMeta({
|
|
542
581
|
name: "record-diff",
|
|
543
582
|
title: "Record Diff",
|
|
544
583
|
description: "Field-level before and after, for audit entries, settings history and revisions.",
|
|
@@ -551,7 +590,7 @@ const meta$19 = defineMeta({
|
|
|
551
590
|
});
|
|
552
591
|
//#endregion
|
|
553
592
|
//#region ../ui/dist/components/select/meta.js
|
|
554
|
-
const meta$
|
|
593
|
+
const meta$19 = defineMeta({
|
|
555
594
|
name: "select",
|
|
556
595
|
title: "Select",
|
|
557
596
|
description: "Picks one value from a short list of options.",
|
|
@@ -564,7 +603,7 @@ const meta$18 = defineMeta({
|
|
|
564
603
|
});
|
|
565
604
|
//#endregion
|
|
566
605
|
//#region ../ui/dist/components/separator/meta.js
|
|
567
|
-
const meta$
|
|
606
|
+
const meta$18 = defineMeta({
|
|
568
607
|
name: "separator",
|
|
569
608
|
title: "Separator",
|
|
570
609
|
description: "A horizontal or vertical rule that divides content.",
|
|
@@ -577,7 +616,7 @@ const meta$17 = defineMeta({
|
|
|
577
616
|
});
|
|
578
617
|
//#endregion
|
|
579
618
|
//#region ../ui/dist/components/sheet/meta.js
|
|
580
|
-
const meta$
|
|
619
|
+
const meta$17 = defineMeta({
|
|
581
620
|
name: "sheet",
|
|
582
621
|
title: "Sheet",
|
|
583
622
|
description: "A panel that enters from an edge of the viewport for secondary content.",
|
|
@@ -590,7 +629,7 @@ const meta$16 = defineMeta({
|
|
|
590
629
|
});
|
|
591
630
|
//#endregion
|
|
592
631
|
//#region ../ui/dist/components/skeleton/meta.js
|
|
593
|
-
const meta$
|
|
632
|
+
const meta$16 = defineMeta({
|
|
594
633
|
name: "skeleton",
|
|
595
634
|
title: "Skeleton",
|
|
596
635
|
description: "A shaped placeholder that holds layout while content loads.",
|
|
@@ -603,7 +642,7 @@ const meta$15 = defineMeta({
|
|
|
603
642
|
});
|
|
604
643
|
//#endregion
|
|
605
644
|
//#region ../ui/dist/components/slider/meta.js
|
|
606
|
-
const meta$
|
|
645
|
+
const meta$15 = defineMeta({
|
|
607
646
|
name: "slider",
|
|
608
647
|
title: "Slider",
|
|
609
648
|
description: "Selects a value, or a range, from a continuous span.",
|
|
@@ -616,7 +655,7 @@ const meta$14 = defineMeta({
|
|
|
616
655
|
});
|
|
617
656
|
//#endregion
|
|
618
657
|
//#region ../ui/dist/components/spinner/meta.js
|
|
619
|
-
const meta$
|
|
658
|
+
const meta$14 = defineMeta({
|
|
620
659
|
name: "spinner",
|
|
621
660
|
title: "Spinner",
|
|
622
661
|
description: "An indeterminate loading indicator for buttons, panels and inline content.",
|
|
@@ -629,7 +668,7 @@ const meta$13 = defineMeta({
|
|
|
629
668
|
});
|
|
630
669
|
//#endregion
|
|
631
670
|
//#region ../ui/dist/components/switch/meta.js
|
|
632
|
-
const meta$
|
|
671
|
+
const meta$13 = defineMeta({
|
|
633
672
|
name: "switch",
|
|
634
673
|
title: "Switch",
|
|
635
674
|
description: "An immediate on/off toggle for settings that apply straight away.",
|
|
@@ -642,7 +681,7 @@ const meta$12 = defineMeta({
|
|
|
642
681
|
});
|
|
643
682
|
//#endregion
|
|
644
683
|
//#region ../ui/dist/components/table/meta.js
|
|
645
|
-
const meta$
|
|
684
|
+
const meta$12 = defineMeta({
|
|
646
685
|
name: "table",
|
|
647
686
|
title: "Table",
|
|
648
687
|
description: "Semantic table primitives for tabular data.",
|
|
@@ -655,7 +694,7 @@ const meta$11 = defineMeta({
|
|
|
655
694
|
});
|
|
656
695
|
//#endregion
|
|
657
696
|
//#region ../ui/dist/components/tabs/meta.js
|
|
658
|
-
const meta$
|
|
697
|
+
const meta$11 = defineMeta({
|
|
659
698
|
name: "tabs",
|
|
660
699
|
title: "Tabs",
|
|
661
700
|
description: "Switches between panels of related content.",
|
|
@@ -667,6 +706,19 @@ const meta$10 = defineMeta({
|
|
|
667
706
|
a11y: "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."
|
|
668
707
|
});
|
|
669
708
|
//#endregion
|
|
709
|
+
//#region ../ui/dist/components/tags-input/meta.js
|
|
710
|
+
const meta$10 = defineMeta({
|
|
711
|
+
name: "tags-input",
|
|
712
|
+
title: "Tags Input",
|
|
713
|
+
description: "A list of short values, where invalid entries stay visible instead of vanishing.",
|
|
714
|
+
category: "form",
|
|
715
|
+
status: "stable",
|
|
716
|
+
dependencies: [],
|
|
717
|
+
registryDependencies: [],
|
|
718
|
+
files: ["tags-input.tsx"],
|
|
719
|
+
a11y: "No WAI-ARIA pattern covers a token field, and the near misses misdescribe it — these are committed values, not options being chosen, so calling the container a listbox would promise navigation that does not exist. It is a labelled group holding a list, with a remove button per token carrying the tag in its accessible name. An invalid token's reason is inside the token, so it is announced with it rather than as a detached error. Additions, removals and refusals all reach a polite live region, because a refusal that looks like nothing happening is the failure this component exists to prevent. Remove buttons sit in the natural tab order rather than behind a roving tabindex: it costs a tab stop per token, and buys a pattern every assistive technology already understands."
|
|
720
|
+
});
|
|
721
|
+
//#endregion
|
|
670
722
|
//#region ../ui/dist/components/toast/meta.js
|
|
671
723
|
const meta$9 = defineMeta({
|
|
672
724
|
name: "toast",
|
|
@@ -879,6 +931,10 @@ const blockMetas = [
|
|
|
879
931
|
* words — `switch` cannot be a binding name.
|
|
880
932
|
*/
|
|
881
933
|
const componentMetas = [
|
|
934
|
+
meta$63,
|
|
935
|
+
meta$62,
|
|
936
|
+
meta$61,
|
|
937
|
+
meta$60,
|
|
882
938
|
meta$59,
|
|
883
939
|
meta$58,
|
|
884
940
|
meta$57,
|
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","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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ACf,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;;;;;;;;;;;;;;ACuCA,MAAM,iBAAiB;CACtBC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;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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","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","meta$52","meta$53","meta$54","meta$55"],"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-plan/meta.js","../../ui/dist/components/ai-agent-status/meta.js","../../ui/dist/components/ai-approval-request/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/file-upload/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/tags-input/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-plan/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-agent-plan\",\n\ttitle: \"AI Agent Plan\",\n\tdescription: \"What an agent intends to do — including when it changes its mind mid-run.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-agent-plan.tsx\"],\n\ta11y: \"An ordered list, because a plan is a sequence and the order carries meaning an unordered list would discard. The running step carries aria-current=\\\"step\\\", which marks the reader's place without moving focus and fighting anyone reading ahead. Every status is stated in text as well as drawn, and the markers are aria-hidden so the status is not heard twice per step. The live region reports structural revisions only — announcing every status transition would talk over the reader continuously on a plan of any length.\"\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-approval-request/meta.ts\nconst meta = defineMeta({\n\tname: \"ai-approval-request\",\n\ttitle: \"AI Approval Request\",\n\tdescription: \"Approve a tool call — after correcting the arguments the model got wrong.\",\n\tcategory: \"ai\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"ai-approval-request.tsx\"],\n\ta11y: \"The proposed arguments are a description list of real labelled form controls, so each value is associated with its name and editable ones are reachable by keyboard. A corrected argument is marked in text rather than by border colour alone, because an audit trail has to distinguish the model's proposal from the human's edit. The request is aria-busy while arguments are still arriving and the decision controls stay disabled until it is whole — rendering nothing until then, as the common implementation does, means nothing is on screen at the moment approval becomes relevant. Irreversibility is stated as a sentence, never as a severity colour.\"\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/file-upload/meta.ts\nconst meta = defineMeta({\n\tname: \"file-upload\",\n\ttitle: \"File Upload\",\n\tdescription: \"A dropzone over a real file input, plus the upload queue nobody ships.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"upload-queue.ts\", \"file-upload.tsx\"],\n\ta11y: \"The APG has no dropzone pattern, and inventing one is the usual failure — a div with role=\\\"button\\\", a keydown handler, and a picker keyboard users never reach. The control here is a real input[type=file] with a real label, which is already operable, already announced, and opens the picker on Enter and Space with nothing added. Drag and drop is a pointer convenience layered on top; every drop can also be done from the input. Each uploading file gets a progressbar named after it, status is always stated in words as well as drawn, and one polite live region summarises the whole queue rather than six per-file regions talking over each other.\"\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/tags-input/meta.ts\nconst meta = defineMeta({\n\tname: \"tags-input\",\n\ttitle: \"Tags Input\",\n\tdescription: \"A list of short values, where invalid entries stay visible instead of vanishing.\",\n\tcategory: \"form\",\n\tstatus: \"stable\",\n\tdependencies: [],\n\tregistryDependencies: [],\n\tfiles: [\"tags-input.tsx\"],\n\ta11y: \"No WAI-ARIA pattern covers a token field, and the near misses misdescribe it — these are committed values, not options being chosen, so calling the container a listbox would promise navigation that does not exist. It is a labelled group holding a list, with a remove button per token carrying the tag in its accessible name. An invalid token's reason is inside the token, so it is announced with it rather than as a detached error. Additions, removals and refusals all reach a polite live region, because a refusal that looks like nothing happening is the failure this component exists to prevent. Remove buttons sit in the natural tab order rather than behind a roving tabindex: it costs a tab stop per token, and buys a pattern every assistive technology already understands.\"\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-plan/meta.js\";\nimport { meta as meta$4 } from \"../components/ai-agent-status/meta.js\";\nimport { meta as meta$5 } from \"../components/ai-approval-request/meta.js\";\nimport { meta as meta$6 } from \"../components/ai-conversation/meta.js\";\nimport { meta as meta$7 } from \"../components/ai-inline-completion/meta.js\";\nimport { meta as meta$8 } from \"../components/ai-message/meta.js\";\nimport { meta as meta$9 } from \"../components/ai-model-selector/meta.js\";\nimport { meta as meta$10 } from \"../components/ai-prompt-input/meta.js\";\nimport { meta as meta$11 } from \"../components/ai-reasoning/meta.js\";\nimport { meta as meta$12 } from \"../components/ai-response/meta.js\";\nimport { meta as meta$13 } from \"../components/ai-sources/meta.js\";\nimport { meta as meta$14 } from \"../components/ai-structured-output/meta.js\";\nimport { meta as meta$15 } from \"../components/ai-token-usage/meta.js\";\nimport { meta as meta$16 } from \"../components/ai-tool/meta.js\";\nimport { meta as meta$17 } from \"../components/alert/meta.js\";\nimport { meta as meta$18 } from \"../components/avatar/meta.js\";\nimport { meta as meta$19 } from \"../components/badge/meta.js\";\nimport { meta as meta$20 } from \"../components/button/meta.js\";\nimport { meta as meta$21 } from \"../components/calendar/meta.js\";\nimport { meta as meta$22 } from \"../components/card/meta.js\";\nimport { meta as meta$23 } from \"../components/checkbox/meta.js\";\nimport { meta as meta$24 } from \"../components/code-block/meta.js\";\nimport { meta as meta$25 } from \"../components/combobox/meta.js\";\nimport { meta as meta$26 } from \"../components/command/meta.js\";\nimport { meta as meta$27 } from \"../components/data-table/meta.js\";\nimport { meta as meta$28 } from \"../components/date-picker/meta.js\";\nimport { meta as meta$29 } from \"../components/dialog/meta.js\";\nimport { meta as meta$30 } from \"../components/drawer/meta.js\";\nimport { meta as meta$31 } from \"../components/dropdown-menu/meta.js\";\nimport { meta as meta$32 } from \"../components/empty-state/meta.js\";\nimport { meta as meta$33 } from \"../components/file-upload/meta.js\";\nimport { meta as meta$34 } from \"../components/form/meta.js\";\nimport { meta as meta$35 } from \"../components/input/meta.js\";\nimport { meta as meta$36 } from \"../components/label/meta.js\";\nimport { meta as meta$37 } from \"../components/meter/meta.js\";\nimport { meta as meta$38 } from \"../components/metric-delta/meta.js\";\nimport { meta as meta$39 } from \"../components/pagination/meta.js\";\nimport { meta as meta$40 } from \"../components/popover/meta.js\";\nimport { meta as meta$41 } from \"../components/progress/meta.js\";\nimport { meta as meta$42 } from \"../components/radio-group/meta.js\";\nimport { meta as meta$43 } from \"../components/record-diff/meta.js\";\nimport { meta as meta$44 } from \"../components/select/meta.js\";\nimport { meta as meta$45 } from \"../components/separator/meta.js\";\nimport { meta as meta$46 } from \"../components/sheet/meta.js\";\nimport { meta as meta$47 } from \"../components/skeleton/meta.js\";\nimport { meta as meta$48 } from \"../components/slider/meta.js\";\nimport { meta as meta$49 } from \"../components/spinner/meta.js\";\nimport { meta as meta$50 } from \"../components/switch/meta.js\";\nimport { meta as meta$51 } from \"../components/table/meta.js\";\nimport { meta as meta$52 } from \"../components/tabs/meta.js\";\nimport { meta as meta$53 } from \"../components/tags-input/meta.js\";\nimport { meta as meta$54 } from \"../components/toast/meta.js\";\nimport { meta as meta$55 } 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\tmeta$52,\n\tmeta$53,\n\tmeta$54,\n\tmeta$55\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;;;ACVD,MAAMC,UAAO,WAAW;CACvB,MAAM;CACN,OAAO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rB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,OAAO,CAAC,iBAAiB;EACzB,MAAM;CACP,CQHCQ;CPjBY,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;GACA;EACD;EACA,OAAO,CAAC,aAAa;EACrB,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;E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KAAK,EAAE,UAAU,OAAO,OAAO,KAAK,EAAE,QACxF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dowel-ui/registry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Builds the static component registry that the Dowel CLI installs from. For hosting your own registry or a fork.",
|
|
6
6
|
"keywords": [
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"tsx": "4.23.13",
|
|
46
46
|
"typescript": "6.0.3",
|
|
47
47
|
"vitest": "4.1.10",
|
|
48
|
-
"@dowel-ui/
|
|
49
|
-
"@dowel-ui/
|
|
50
|
-
"@dowel-ui/themes": "0.
|
|
48
|
+
"@dowel-ui/config": "0.3.0",
|
|
49
|
+
"@dowel-ui/react": "0.3.0",
|
|
50
|
+
"@dowel-ui/themes": "0.3.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "tsdown && tsx src/build.ts --out r",
|