@json-render/shadcn 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +198 -0
- package/dist/catalog.d.mts +501 -0
- package/dist/catalog.d.ts +501 -0
- package/dist/catalog.js +428 -0
- package/dist/catalog.js.map +1 -0
- package/dist/catalog.mjs +7 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/chunk-VZQBPEYT.mjs +404 -0
- package/dist/chunk-VZQBPEYT.mjs.map +1 -0
- package/dist/index.d.mts +65 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.js +2946 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2520 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +80 -0
package/dist/catalog.js
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/catalog.ts
|
|
21
|
+
var catalog_exports = {};
|
|
22
|
+
__export(catalog_exports, {
|
|
23
|
+
shadcnComponentDefinitions: () => shadcnComponentDefinitions
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(catalog_exports);
|
|
26
|
+
var import_zod = require("zod");
|
|
27
|
+
var shadcnComponentDefinitions = {
|
|
28
|
+
// ==========================================================================
|
|
29
|
+
// Layout Components
|
|
30
|
+
// ==========================================================================
|
|
31
|
+
Card: {
|
|
32
|
+
props: import_zod.z.object({
|
|
33
|
+
title: import_zod.z.string().nullable(),
|
|
34
|
+
description: import_zod.z.string().nullable(),
|
|
35
|
+
maxWidth: import_zod.z.enum(["sm", "md", "lg", "full"]).nullable(),
|
|
36
|
+
centered: import_zod.z.boolean().nullable()
|
|
37
|
+
}),
|
|
38
|
+
slots: ["default"],
|
|
39
|
+
description: "Container card for content sections. Use for forms/content boxes, NOT for page headers.",
|
|
40
|
+
example: { title: "Overview", description: "Your account summary" }
|
|
41
|
+
},
|
|
42
|
+
Stack: {
|
|
43
|
+
props: import_zod.z.object({
|
|
44
|
+
direction: import_zod.z.enum(["horizontal", "vertical"]).nullable(),
|
|
45
|
+
gap: import_zod.z.enum(["none", "sm", "md", "lg"]).nullable(),
|
|
46
|
+
align: import_zod.z.enum(["start", "center", "end", "stretch"]).nullable(),
|
|
47
|
+
justify: import_zod.z.enum(["start", "center", "end", "between", "around"]).nullable()
|
|
48
|
+
}),
|
|
49
|
+
slots: ["default"],
|
|
50
|
+
description: "Flex container for layouts",
|
|
51
|
+
example: { direction: "vertical", gap: "md" }
|
|
52
|
+
},
|
|
53
|
+
Grid: {
|
|
54
|
+
props: import_zod.z.object({
|
|
55
|
+
columns: import_zod.z.number().nullable(),
|
|
56
|
+
gap: import_zod.z.enum(["sm", "md", "lg"]).nullable()
|
|
57
|
+
}),
|
|
58
|
+
slots: ["default"],
|
|
59
|
+
description: "Grid layout (1-6 columns)",
|
|
60
|
+
example: { columns: 3, gap: "md" }
|
|
61
|
+
},
|
|
62
|
+
Separator: {
|
|
63
|
+
props: import_zod.z.object({
|
|
64
|
+
orientation: import_zod.z.enum(["horizontal", "vertical"]).nullable()
|
|
65
|
+
}),
|
|
66
|
+
description: "Visual separator line"
|
|
67
|
+
},
|
|
68
|
+
Tabs: {
|
|
69
|
+
props: import_zod.z.object({
|
|
70
|
+
tabs: import_zod.z.array(
|
|
71
|
+
import_zod.z.object({
|
|
72
|
+
label: import_zod.z.string(),
|
|
73
|
+
value: import_zod.z.string()
|
|
74
|
+
})
|
|
75
|
+
),
|
|
76
|
+
defaultValue: import_zod.z.string().nullable(),
|
|
77
|
+
value: import_zod.z.string().nullable()
|
|
78
|
+
}),
|
|
79
|
+
slots: ["default"],
|
|
80
|
+
events: ["change"],
|
|
81
|
+
description: "Tab navigation. Use { $bindState } on value for active tab binding."
|
|
82
|
+
},
|
|
83
|
+
Accordion: {
|
|
84
|
+
props: import_zod.z.object({
|
|
85
|
+
items: import_zod.z.array(
|
|
86
|
+
import_zod.z.object({
|
|
87
|
+
title: import_zod.z.string(),
|
|
88
|
+
content: import_zod.z.string()
|
|
89
|
+
})
|
|
90
|
+
),
|
|
91
|
+
type: import_zod.z.enum(["single", "multiple"]).nullable()
|
|
92
|
+
}),
|
|
93
|
+
description: "Collapsible sections. Items as [{title, content}]. Type 'single' (default) or 'multiple'."
|
|
94
|
+
},
|
|
95
|
+
Collapsible: {
|
|
96
|
+
props: import_zod.z.object({
|
|
97
|
+
title: import_zod.z.string(),
|
|
98
|
+
defaultOpen: import_zod.z.boolean().nullable()
|
|
99
|
+
}),
|
|
100
|
+
slots: ["default"],
|
|
101
|
+
description: "Collapsible section with trigger. Children render inside."
|
|
102
|
+
},
|
|
103
|
+
Dialog: {
|
|
104
|
+
props: import_zod.z.object({
|
|
105
|
+
title: import_zod.z.string(),
|
|
106
|
+
description: import_zod.z.string().nullable(),
|
|
107
|
+
openPath: import_zod.z.string()
|
|
108
|
+
}),
|
|
109
|
+
slots: ["default"],
|
|
110
|
+
description: "Modal dialog. Set openPath to a boolean state path. Use setState to toggle."
|
|
111
|
+
},
|
|
112
|
+
Drawer: {
|
|
113
|
+
props: import_zod.z.object({
|
|
114
|
+
title: import_zod.z.string(),
|
|
115
|
+
description: import_zod.z.string().nullable(),
|
|
116
|
+
openPath: import_zod.z.string()
|
|
117
|
+
}),
|
|
118
|
+
slots: ["default"],
|
|
119
|
+
description: "Bottom sheet drawer. Set openPath to a boolean state path. Use setState to toggle."
|
|
120
|
+
},
|
|
121
|
+
Carousel: {
|
|
122
|
+
props: import_zod.z.object({
|
|
123
|
+
items: import_zod.z.array(
|
|
124
|
+
import_zod.z.object({
|
|
125
|
+
title: import_zod.z.string().nullable(),
|
|
126
|
+
description: import_zod.z.string().nullable()
|
|
127
|
+
})
|
|
128
|
+
)
|
|
129
|
+
}),
|
|
130
|
+
description: "Horizontally scrollable carousel of cards."
|
|
131
|
+
},
|
|
132
|
+
// ==========================================================================
|
|
133
|
+
// Data Display Components
|
|
134
|
+
// ==========================================================================
|
|
135
|
+
Table: {
|
|
136
|
+
props: import_zod.z.object({
|
|
137
|
+
columns: import_zod.z.array(import_zod.z.string()),
|
|
138
|
+
rows: import_zod.z.array(import_zod.z.array(import_zod.z.string())),
|
|
139
|
+
caption: import_zod.z.string().nullable()
|
|
140
|
+
}),
|
|
141
|
+
description: 'Data table. columns: header labels. rows: 2D array of cell strings, e.g. [["Alice","admin"],["Bob","user"]].',
|
|
142
|
+
example: {
|
|
143
|
+
columns: ["Name", "Role"],
|
|
144
|
+
rows: [
|
|
145
|
+
["Alice", "Admin"],
|
|
146
|
+
["Bob", "User"]
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
Heading: {
|
|
151
|
+
props: import_zod.z.object({
|
|
152
|
+
text: import_zod.z.string(),
|
|
153
|
+
level: import_zod.z.enum(["h1", "h2", "h3", "h4"]).nullable()
|
|
154
|
+
}),
|
|
155
|
+
description: "Heading text (h1-h4)",
|
|
156
|
+
example: { text: "Welcome", level: "h1" }
|
|
157
|
+
},
|
|
158
|
+
Text: {
|
|
159
|
+
props: import_zod.z.object({
|
|
160
|
+
text: import_zod.z.string(),
|
|
161
|
+
variant: import_zod.z.enum(["body", "caption", "muted", "lead", "code"]).nullable()
|
|
162
|
+
}),
|
|
163
|
+
description: "Paragraph text",
|
|
164
|
+
example: { text: "Hello, world!" }
|
|
165
|
+
},
|
|
166
|
+
Image: {
|
|
167
|
+
props: import_zod.z.object({
|
|
168
|
+
src: import_zod.z.string().nullable(),
|
|
169
|
+
alt: import_zod.z.string(),
|
|
170
|
+
width: import_zod.z.number().nullable(),
|
|
171
|
+
height: import_zod.z.number().nullable()
|
|
172
|
+
}),
|
|
173
|
+
description: "Image component. Renders an img tag when src is provided, otherwise a placeholder."
|
|
174
|
+
},
|
|
175
|
+
Avatar: {
|
|
176
|
+
props: import_zod.z.object({
|
|
177
|
+
src: import_zod.z.string().nullable(),
|
|
178
|
+
name: import_zod.z.string(),
|
|
179
|
+
size: import_zod.z.enum(["sm", "md", "lg"]).nullable()
|
|
180
|
+
}),
|
|
181
|
+
description: "User avatar with fallback initials",
|
|
182
|
+
example: { name: "Jane Doe", size: "md" }
|
|
183
|
+
},
|
|
184
|
+
Badge: {
|
|
185
|
+
props: import_zod.z.object({
|
|
186
|
+
text: import_zod.z.string(),
|
|
187
|
+
variant: import_zod.z.enum(["default", "secondary", "destructive", "outline"]).nullable()
|
|
188
|
+
}),
|
|
189
|
+
description: "Status badge",
|
|
190
|
+
example: { text: "Active", variant: "default" }
|
|
191
|
+
},
|
|
192
|
+
Alert: {
|
|
193
|
+
props: import_zod.z.object({
|
|
194
|
+
title: import_zod.z.string(),
|
|
195
|
+
message: import_zod.z.string().nullable(),
|
|
196
|
+
type: import_zod.z.enum(["info", "success", "warning", "error"]).nullable()
|
|
197
|
+
}),
|
|
198
|
+
description: "Alert banner",
|
|
199
|
+
example: {
|
|
200
|
+
title: "Note",
|
|
201
|
+
message: "Your changes have been saved.",
|
|
202
|
+
type: "success"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
Progress: {
|
|
206
|
+
props: import_zod.z.object({
|
|
207
|
+
value: import_zod.z.number(),
|
|
208
|
+
max: import_zod.z.number().nullable(),
|
|
209
|
+
label: import_zod.z.string().nullable()
|
|
210
|
+
}),
|
|
211
|
+
description: "Progress bar (value 0-100)",
|
|
212
|
+
example: { value: 65, max: 100, label: "Upload progress" }
|
|
213
|
+
},
|
|
214
|
+
Skeleton: {
|
|
215
|
+
props: import_zod.z.object({
|
|
216
|
+
width: import_zod.z.string().nullable(),
|
|
217
|
+
height: import_zod.z.string().nullable(),
|
|
218
|
+
rounded: import_zod.z.boolean().nullable()
|
|
219
|
+
}),
|
|
220
|
+
description: "Loading placeholder skeleton"
|
|
221
|
+
},
|
|
222
|
+
Spinner: {
|
|
223
|
+
props: import_zod.z.object({
|
|
224
|
+
size: import_zod.z.enum(["sm", "md", "lg"]).nullable(),
|
|
225
|
+
label: import_zod.z.string().nullable()
|
|
226
|
+
}),
|
|
227
|
+
description: "Loading spinner indicator"
|
|
228
|
+
},
|
|
229
|
+
Tooltip: {
|
|
230
|
+
props: import_zod.z.object({
|
|
231
|
+
content: import_zod.z.string(),
|
|
232
|
+
text: import_zod.z.string()
|
|
233
|
+
}),
|
|
234
|
+
description: "Hover tooltip. Shows content on hover over text."
|
|
235
|
+
},
|
|
236
|
+
Popover: {
|
|
237
|
+
props: import_zod.z.object({
|
|
238
|
+
trigger: import_zod.z.string(),
|
|
239
|
+
content: import_zod.z.string()
|
|
240
|
+
}),
|
|
241
|
+
description: "Popover that appears on click of trigger."
|
|
242
|
+
},
|
|
243
|
+
// ==========================================================================
|
|
244
|
+
// Form Input Components
|
|
245
|
+
// ==========================================================================
|
|
246
|
+
Input: {
|
|
247
|
+
props: import_zod.z.object({
|
|
248
|
+
label: import_zod.z.string(),
|
|
249
|
+
name: import_zod.z.string(),
|
|
250
|
+
type: import_zod.z.enum(["text", "email", "password", "number"]).nullable(),
|
|
251
|
+
placeholder: import_zod.z.string().nullable(),
|
|
252
|
+
value: import_zod.z.string().nullable(),
|
|
253
|
+
checks: import_zod.z.array(
|
|
254
|
+
import_zod.z.object({
|
|
255
|
+
type: import_zod.z.string(),
|
|
256
|
+
message: import_zod.z.string(),
|
|
257
|
+
args: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional()
|
|
258
|
+
})
|
|
259
|
+
).nullable()
|
|
260
|
+
}),
|
|
261
|
+
events: ["submit", "focus", "blur"],
|
|
262
|
+
description: "Text input field. Use { $bindState } on value for two-way binding. Use checks for validation (e.g. required, email, minLength).",
|
|
263
|
+
example: {
|
|
264
|
+
label: "Email",
|
|
265
|
+
name: "email",
|
|
266
|
+
type: "email",
|
|
267
|
+
placeholder: "you@example.com"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
Textarea: {
|
|
271
|
+
props: import_zod.z.object({
|
|
272
|
+
label: import_zod.z.string(),
|
|
273
|
+
name: import_zod.z.string(),
|
|
274
|
+
placeholder: import_zod.z.string().nullable(),
|
|
275
|
+
rows: import_zod.z.number().nullable(),
|
|
276
|
+
value: import_zod.z.string().nullable(),
|
|
277
|
+
checks: import_zod.z.array(
|
|
278
|
+
import_zod.z.object({
|
|
279
|
+
type: import_zod.z.string(),
|
|
280
|
+
message: import_zod.z.string(),
|
|
281
|
+
args: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional()
|
|
282
|
+
})
|
|
283
|
+
).nullable()
|
|
284
|
+
}),
|
|
285
|
+
description: "Multi-line text input. Use { $bindState } on value for binding. Use checks for validation."
|
|
286
|
+
},
|
|
287
|
+
Select: {
|
|
288
|
+
props: import_zod.z.object({
|
|
289
|
+
label: import_zod.z.string(),
|
|
290
|
+
name: import_zod.z.string(),
|
|
291
|
+
options: import_zod.z.array(import_zod.z.string()),
|
|
292
|
+
placeholder: import_zod.z.string().nullable(),
|
|
293
|
+
value: import_zod.z.string().nullable(),
|
|
294
|
+
checks: import_zod.z.array(
|
|
295
|
+
import_zod.z.object({
|
|
296
|
+
type: import_zod.z.string(),
|
|
297
|
+
message: import_zod.z.string(),
|
|
298
|
+
args: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional()
|
|
299
|
+
})
|
|
300
|
+
).nullable()
|
|
301
|
+
}),
|
|
302
|
+
events: ["change"],
|
|
303
|
+
description: "Dropdown select input. Use { $bindState } on value for binding. Use checks for validation."
|
|
304
|
+
},
|
|
305
|
+
Checkbox: {
|
|
306
|
+
props: import_zod.z.object({
|
|
307
|
+
label: import_zod.z.string(),
|
|
308
|
+
name: import_zod.z.string(),
|
|
309
|
+
checked: import_zod.z.boolean().nullable()
|
|
310
|
+
}),
|
|
311
|
+
events: ["change"],
|
|
312
|
+
description: "Checkbox input. Use { $bindState } on checked for binding."
|
|
313
|
+
},
|
|
314
|
+
Radio: {
|
|
315
|
+
props: import_zod.z.object({
|
|
316
|
+
label: import_zod.z.string(),
|
|
317
|
+
name: import_zod.z.string(),
|
|
318
|
+
options: import_zod.z.array(import_zod.z.string()),
|
|
319
|
+
value: import_zod.z.string().nullable()
|
|
320
|
+
}),
|
|
321
|
+
events: ["change"],
|
|
322
|
+
description: "Radio button group. Use { $bindState } on value for binding."
|
|
323
|
+
},
|
|
324
|
+
Switch: {
|
|
325
|
+
props: import_zod.z.object({
|
|
326
|
+
label: import_zod.z.string(),
|
|
327
|
+
name: import_zod.z.string(),
|
|
328
|
+
checked: import_zod.z.boolean().nullable()
|
|
329
|
+
}),
|
|
330
|
+
events: ["change"],
|
|
331
|
+
description: "Toggle switch. Use { $bindState } on checked for binding."
|
|
332
|
+
},
|
|
333
|
+
Slider: {
|
|
334
|
+
props: import_zod.z.object({
|
|
335
|
+
label: import_zod.z.string().nullable(),
|
|
336
|
+
min: import_zod.z.number().nullable(),
|
|
337
|
+
max: import_zod.z.number().nullable(),
|
|
338
|
+
step: import_zod.z.number().nullable(),
|
|
339
|
+
value: import_zod.z.number().nullable()
|
|
340
|
+
}),
|
|
341
|
+
events: ["change"],
|
|
342
|
+
description: "Range slider input. Use { $bindState } on value for binding."
|
|
343
|
+
},
|
|
344
|
+
// ==========================================================================
|
|
345
|
+
// Action Components
|
|
346
|
+
// ==========================================================================
|
|
347
|
+
Button: {
|
|
348
|
+
props: import_zod.z.object({
|
|
349
|
+
label: import_zod.z.string(),
|
|
350
|
+
variant: import_zod.z.enum(["primary", "secondary", "danger"]).nullable(),
|
|
351
|
+
disabled: import_zod.z.boolean().nullable()
|
|
352
|
+
}),
|
|
353
|
+
events: ["press"],
|
|
354
|
+
description: "Clickable button. Bind on.press for handler.",
|
|
355
|
+
example: { label: "Submit", variant: "primary" }
|
|
356
|
+
},
|
|
357
|
+
Link: {
|
|
358
|
+
props: import_zod.z.object({
|
|
359
|
+
label: import_zod.z.string(),
|
|
360
|
+
href: import_zod.z.string()
|
|
361
|
+
}),
|
|
362
|
+
events: ["press"],
|
|
363
|
+
description: "Anchor link. Bind on.press for click handler."
|
|
364
|
+
},
|
|
365
|
+
DropdownMenu: {
|
|
366
|
+
props: import_zod.z.object({
|
|
367
|
+
label: import_zod.z.string(),
|
|
368
|
+
items: import_zod.z.array(
|
|
369
|
+
import_zod.z.object({
|
|
370
|
+
label: import_zod.z.string(),
|
|
371
|
+
value: import_zod.z.string()
|
|
372
|
+
})
|
|
373
|
+
),
|
|
374
|
+
value: import_zod.z.string().nullable()
|
|
375
|
+
}),
|
|
376
|
+
events: ["select"],
|
|
377
|
+
description: "Dropdown menu with trigger button and selectable items. Use { $bindState } on value for selected item binding."
|
|
378
|
+
},
|
|
379
|
+
Toggle: {
|
|
380
|
+
props: import_zod.z.object({
|
|
381
|
+
label: import_zod.z.string(),
|
|
382
|
+
pressed: import_zod.z.boolean().nullable(),
|
|
383
|
+
variant: import_zod.z.enum(["default", "outline"]).nullable()
|
|
384
|
+
}),
|
|
385
|
+
events: ["change"],
|
|
386
|
+
description: "Toggle button. Use { $bindState } on pressed for state binding."
|
|
387
|
+
},
|
|
388
|
+
ToggleGroup: {
|
|
389
|
+
props: import_zod.z.object({
|
|
390
|
+
items: import_zod.z.array(
|
|
391
|
+
import_zod.z.object({
|
|
392
|
+
label: import_zod.z.string(),
|
|
393
|
+
value: import_zod.z.string()
|
|
394
|
+
})
|
|
395
|
+
),
|
|
396
|
+
type: import_zod.z.enum(["single", "multiple"]).nullable(),
|
|
397
|
+
value: import_zod.z.string().nullable()
|
|
398
|
+
}),
|
|
399
|
+
events: ["change"],
|
|
400
|
+
description: "Group of toggle buttons. Type 'single' (default) or 'multiple'. Use { $bindState } on value."
|
|
401
|
+
},
|
|
402
|
+
ButtonGroup: {
|
|
403
|
+
props: import_zod.z.object({
|
|
404
|
+
buttons: import_zod.z.array(
|
|
405
|
+
import_zod.z.object({
|
|
406
|
+
label: import_zod.z.string(),
|
|
407
|
+
value: import_zod.z.string()
|
|
408
|
+
})
|
|
409
|
+
),
|
|
410
|
+
selected: import_zod.z.string().nullable()
|
|
411
|
+
}),
|
|
412
|
+
events: ["change"],
|
|
413
|
+
description: "Segmented button group. Use { $bindState } on selected for selected value."
|
|
414
|
+
},
|
|
415
|
+
Pagination: {
|
|
416
|
+
props: import_zod.z.object({
|
|
417
|
+
totalPages: import_zod.z.number(),
|
|
418
|
+
page: import_zod.z.number().nullable()
|
|
419
|
+
}),
|
|
420
|
+
events: ["change"],
|
|
421
|
+
description: "Page navigation. Use { $bindState } on page for current page number."
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
425
|
+
0 && (module.exports = {
|
|
426
|
+
shadcnComponentDefinitions
|
|
427
|
+
});
|
|
428
|
+
//# sourceMappingURL=catalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\n// =============================================================================\n// shadcn/ui Component Definitions\n// =============================================================================\n\n/**\n * shadcn/ui component definitions for json-render catalogs.\n *\n * These can be used directly or extended with custom components.\n * All components are built using Radix UI primitives + Tailwind CSS.\n */\nexport const shadcnComponentDefinitions = {\n // ==========================================================================\n // Layout Components\n // ==========================================================================\n\n Card: {\n props: z.object({\n title: z.string().nullable(),\n description: z.string().nullable(),\n maxWidth: z.enum([\"sm\", \"md\", \"lg\", \"full\"]).nullable(),\n centered: z.boolean().nullable(),\n }),\n slots: [\"default\"],\n description:\n \"Container card for content sections. Use for forms/content boxes, NOT for page headers.\",\n example: { title: \"Overview\", description: \"Your account summary\" },\n },\n\n Stack: {\n props: z.object({\n direction: z.enum([\"horizontal\", \"vertical\"]).nullable(),\n gap: z.enum([\"none\", \"sm\", \"md\", \"lg\"]).nullable(),\n align: z.enum([\"start\", \"center\", \"end\", \"stretch\"]).nullable(),\n justify: z\n .enum([\"start\", \"center\", \"end\", \"between\", \"around\"])\n .nullable(),\n }),\n slots: [\"default\"],\n description: \"Flex container for layouts\",\n example: { direction: \"vertical\", gap: \"md\" },\n },\n\n Grid: {\n props: z.object({\n columns: z.number().nullable(),\n gap: z.enum([\"sm\", \"md\", \"lg\"]).nullable(),\n }),\n slots: [\"default\"],\n description: \"Grid layout (1-6 columns)\",\n example: { columns: 3, gap: \"md\" },\n },\n\n Separator: {\n props: z.object({\n orientation: z.enum([\"horizontal\", \"vertical\"]).nullable(),\n }),\n description: \"Visual separator line\",\n },\n\n Tabs: {\n props: z.object({\n tabs: z.array(\n z.object({\n label: z.string(),\n value: z.string(),\n }),\n ),\n defaultValue: z.string().nullable(),\n value: z.string().nullable(),\n }),\n slots: [\"default\"],\n events: [\"change\"],\n description:\n \"Tab navigation. Use { $bindState } on value for active tab binding.\",\n },\n\n Accordion: {\n props: z.object({\n items: z.array(\n z.object({\n title: z.string(),\n content: z.string(),\n }),\n ),\n type: z.enum([\"single\", \"multiple\"]).nullable(),\n }),\n description:\n \"Collapsible sections. Items as [{title, content}]. Type 'single' (default) or 'multiple'.\",\n },\n\n Collapsible: {\n props: z.object({\n title: z.string(),\n defaultOpen: z.boolean().nullable(),\n }),\n slots: [\"default\"],\n description: \"Collapsible section with trigger. Children render inside.\",\n },\n\n Dialog: {\n props: z.object({\n title: z.string(),\n description: z.string().nullable(),\n openPath: z.string(),\n }),\n slots: [\"default\"],\n description:\n \"Modal dialog. Set openPath to a boolean state path. Use setState to toggle.\",\n },\n\n Drawer: {\n props: z.object({\n title: z.string(),\n description: z.string().nullable(),\n openPath: z.string(),\n }),\n slots: [\"default\"],\n description:\n \"Bottom sheet drawer. Set openPath to a boolean state path. Use setState to toggle.\",\n },\n\n Carousel: {\n props: z.object({\n items: z.array(\n z.object({\n title: z.string().nullable(),\n description: z.string().nullable(),\n }),\n ),\n }),\n description: \"Horizontally scrollable carousel of cards.\",\n },\n\n // ==========================================================================\n // Data Display Components\n // ==========================================================================\n\n Table: {\n props: z.object({\n columns: z.array(z.string()),\n rows: z.array(z.array(z.string())),\n caption: z.string().nullable(),\n }),\n description:\n 'Data table. columns: header labels. rows: 2D array of cell strings, e.g. [[\"Alice\",\"admin\"],[\"Bob\",\"user\"]].',\n example: {\n columns: [\"Name\", \"Role\"],\n rows: [\n [\"Alice\", \"Admin\"],\n [\"Bob\", \"User\"],\n ],\n },\n },\n\n Heading: {\n props: z.object({\n text: z.string(),\n level: z.enum([\"h1\", \"h2\", \"h3\", \"h4\"]).nullable(),\n }),\n description: \"Heading text (h1-h4)\",\n example: { text: \"Welcome\", level: \"h1\" },\n },\n\n Text: {\n props: z.object({\n text: z.string(),\n variant: z.enum([\"body\", \"caption\", \"muted\", \"lead\", \"code\"]).nullable(),\n }),\n description: \"Paragraph text\",\n example: { text: \"Hello, world!\" },\n },\n\n Image: {\n props: z.object({\n src: z.string().nullable(),\n alt: z.string(),\n width: z.number().nullable(),\n height: z.number().nullable(),\n }),\n description:\n \"Image component. Renders an img tag when src is provided, otherwise a placeholder.\",\n },\n\n Avatar: {\n props: z.object({\n src: z.string().nullable(),\n name: z.string(),\n size: z.enum([\"sm\", \"md\", \"lg\"]).nullable(),\n }),\n description: \"User avatar with fallback initials\",\n example: { name: \"Jane Doe\", size: \"md\" },\n },\n\n Badge: {\n props: z.object({\n text: z.string(),\n variant: z\n .enum([\"default\", \"secondary\", \"destructive\", \"outline\"])\n .nullable(),\n }),\n description: \"Status badge\",\n example: { text: \"Active\", variant: \"default\" },\n },\n\n Alert: {\n props: z.object({\n title: z.string(),\n message: z.string().nullable(),\n type: z.enum([\"info\", \"success\", \"warning\", \"error\"]).nullable(),\n }),\n description: \"Alert banner\",\n example: {\n title: \"Note\",\n message: \"Your changes have been saved.\",\n type: \"success\",\n },\n },\n\n Progress: {\n props: z.object({\n value: z.number(),\n max: z.number().nullable(),\n label: z.string().nullable(),\n }),\n description: \"Progress bar (value 0-100)\",\n example: { value: 65, max: 100, label: \"Upload progress\" },\n },\n\n Skeleton: {\n props: z.object({\n width: z.string().nullable(),\n height: z.string().nullable(),\n rounded: z.boolean().nullable(),\n }),\n description: \"Loading placeholder skeleton\",\n },\n\n Spinner: {\n props: z.object({\n size: z.enum([\"sm\", \"md\", \"lg\"]).nullable(),\n label: z.string().nullable(),\n }),\n description: \"Loading spinner indicator\",\n },\n\n Tooltip: {\n props: z.object({\n content: z.string(),\n text: z.string(),\n }),\n description: \"Hover tooltip. Shows content on hover over text.\",\n },\n\n Popover: {\n props: z.object({\n trigger: z.string(),\n content: z.string(),\n }),\n description: \"Popover that appears on click of trigger.\",\n },\n\n // ==========================================================================\n // Form Input Components\n // ==========================================================================\n\n Input: {\n props: z.object({\n label: z.string(),\n name: z.string(),\n type: z.enum([\"text\", \"email\", \"password\", \"number\"]).nullable(),\n placeholder: z.string().nullable(),\n value: z.string().nullable(),\n checks: z\n .array(\n z.object({\n type: z.string(),\n message: z.string(),\n args: z.record(z.string(), z.unknown()).optional(),\n }),\n )\n .nullable(),\n }),\n events: [\"submit\", \"focus\", \"blur\"],\n description:\n \"Text input field. Use { $bindState } on value for two-way binding. Use checks for validation (e.g. required, email, minLength).\",\n example: {\n label: \"Email\",\n name: \"email\",\n type: \"email\",\n placeholder: \"you@example.com\",\n },\n },\n\n Textarea: {\n props: z.object({\n label: z.string(),\n name: z.string(),\n placeholder: z.string().nullable(),\n rows: z.number().nullable(),\n value: z.string().nullable(),\n checks: z\n .array(\n z.object({\n type: z.string(),\n message: z.string(),\n args: z.record(z.string(), z.unknown()).optional(),\n }),\n )\n .nullable(),\n }),\n description:\n \"Multi-line text input. Use { $bindState } on value for binding. Use checks for validation.\",\n },\n\n Select: {\n props: z.object({\n label: z.string(),\n name: z.string(),\n options: z.array(z.string()),\n placeholder: z.string().nullable(),\n value: z.string().nullable(),\n checks: z\n .array(\n z.object({\n type: z.string(),\n message: z.string(),\n args: z.record(z.string(), z.unknown()).optional(),\n }),\n )\n .nullable(),\n }),\n events: [\"change\"],\n description:\n \"Dropdown select input. Use { $bindState } on value for binding. Use checks for validation.\",\n },\n\n Checkbox: {\n props: z.object({\n label: z.string(),\n name: z.string(),\n checked: z.boolean().nullable(),\n }),\n events: [\"change\"],\n description: \"Checkbox input. Use { $bindState } on checked for binding.\",\n },\n\n Radio: {\n props: z.object({\n label: z.string(),\n name: z.string(),\n options: z.array(z.string()),\n value: z.string().nullable(),\n }),\n events: [\"change\"],\n description: \"Radio button group. Use { $bindState } on value for binding.\",\n },\n\n Switch: {\n props: z.object({\n label: z.string(),\n name: z.string(),\n checked: z.boolean().nullable(),\n }),\n events: [\"change\"],\n description: \"Toggle switch. Use { $bindState } on checked for binding.\",\n },\n\n Slider: {\n props: z.object({\n label: z.string().nullable(),\n min: z.number().nullable(),\n max: z.number().nullable(),\n step: z.number().nullable(),\n value: z.number().nullable(),\n }),\n events: [\"change\"],\n description: \"Range slider input. Use { $bindState } on value for binding.\",\n },\n\n // ==========================================================================\n // Action Components\n // ==========================================================================\n\n Button: {\n props: z.object({\n label: z.string(),\n variant: z.enum([\"primary\", \"secondary\", \"danger\"]).nullable(),\n disabled: z.boolean().nullable(),\n }),\n events: [\"press\"],\n description: \"Clickable button. Bind on.press for handler.\",\n example: { label: \"Submit\", variant: \"primary\" },\n },\n\n Link: {\n props: z.object({\n label: z.string(),\n href: z.string(),\n }),\n events: [\"press\"],\n description: \"Anchor link. Bind on.press for click handler.\",\n },\n\n DropdownMenu: {\n props: z.object({\n label: z.string(),\n items: z.array(\n z.object({\n label: z.string(),\n value: z.string(),\n }),\n ),\n value: z.string().nullable(),\n }),\n events: [\"select\"],\n description:\n \"Dropdown menu with trigger button and selectable items. Use { $bindState } on value for selected item binding.\",\n },\n\n Toggle: {\n props: z.object({\n label: z.string(),\n pressed: z.boolean().nullable(),\n variant: z.enum([\"default\", \"outline\"]).nullable(),\n }),\n events: [\"change\"],\n description:\n \"Toggle button. Use { $bindState } on pressed for state binding.\",\n },\n\n ToggleGroup: {\n props: z.object({\n items: z.array(\n z.object({\n label: z.string(),\n value: z.string(),\n }),\n ),\n type: z.enum([\"single\", \"multiple\"]).nullable(),\n value: z.string().nullable(),\n }),\n events: [\"change\"],\n description:\n \"Group of toggle buttons. Type 'single' (default) or 'multiple'. Use { $bindState } on value.\",\n },\n\n ButtonGroup: {\n props: z.object({\n buttons: z.array(\n z.object({\n label: z.string(),\n value: z.string(),\n }),\n ),\n selected: z.string().nullable(),\n }),\n events: [\"change\"],\n description:\n \"Segmented button group. Use { $bindState } on selected for selected value.\",\n },\n\n Pagination: {\n props: z.object({\n totalPages: z.number(),\n page: z.number().nullable(),\n }),\n events: [\"change\"],\n description:\n \"Page navigation. Use { $bindState } on page for current page number.\",\n },\n};\n\n// =============================================================================\n// Types\n// =============================================================================\n\n/**\n * Type for a component definition\n */\nexport type ComponentDefinition = {\n props: z.ZodType;\n slots?: string[];\n events?: string[];\n description: string;\n example?: Record<string, unknown>;\n};\n\n/**\n * Infer the props type for a shadcn component by name.\n * Derives the TypeScript type directly from the Zod schema,\n * so component implementations stay in sync with catalog definitions.\n *\n * @example\n * ```ts\n * type CardProps = ShadcnProps<\"Card\">;\n * // { title: string | null; description: string | null; ... }\n * ```\n */\nexport type ShadcnProps<K extends keyof typeof shadcnComponentDefinitions> =\n z.output<(typeof shadcnComponentDefinitions)[K][\"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