magick-ui 0.2.1 → 0.2.3
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/index.cjs +1967 -258
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2026 -312
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1957 -76
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +5144 -8
- package/dist/schema.d.ts +5144 -8
- package/dist/schema.js +1869 -75
- package/dist/schema.js.map +1 -1
- package/dist/ui/index.cjs +337 -248
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +28 -3
- package/dist/ui/index.d.ts +28 -3
- package/dist/ui/index.js +337 -243
- package/dist/ui/index.js.map +1 -1
- package/package.json +3 -2
- package/schema/component-schema.json +672 -0
package/dist/schema.cjs
CHANGED
|
@@ -20,8 +20,95 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/schema.ts
|
|
21
21
|
var schema_exports = {};
|
|
22
22
|
__export(schema_exports, {
|
|
23
|
+
accordionContentSchema: () => accordionContentSchema,
|
|
24
|
+
accordionItemSchema: () => accordionItemSchema,
|
|
25
|
+
accordionSchema: () => accordionSchema,
|
|
26
|
+
accordionTriggerSchema: () => accordionTriggerSchema,
|
|
27
|
+
alertSchema: () => alertSchema,
|
|
28
|
+
avatarListItemSchema: () => avatarListItemSchema,
|
|
29
|
+
avatarSchema: () => avatarSchema,
|
|
30
|
+
badgeSchema: () => badgeSchema,
|
|
31
|
+
breadcrumbSchema: () => breadcrumbSchema,
|
|
32
|
+
buttonLinkSchema: () => buttonLinkSchema,
|
|
33
|
+
buttonSchema: () => buttonSchema,
|
|
34
|
+
buttonWithTooltipSchema: () => buttonWithTooltipSchema,
|
|
35
|
+
calendarSchema: () => calendarSchema,
|
|
36
|
+
cardActionSchema: () => cardActionSchema,
|
|
37
|
+
cardContentSchema: () => cardContentSchema,
|
|
38
|
+
cardDescriptionSchema: () => cardDescriptionSchema,
|
|
39
|
+
cardFooterSchema: () => cardFooterSchema,
|
|
40
|
+
cardHeaderSchema: () => cardHeaderSchema,
|
|
41
|
+
cardSchema: () => cardSchema,
|
|
42
|
+
cardTitleSchema: () => cardTitleSchema,
|
|
43
|
+
carouselContentSchema: () => carouselContentSchema,
|
|
44
|
+
carouselItemSchema: () => carouselItemSchema,
|
|
45
|
+
carouselSchema: () => carouselSchema,
|
|
46
|
+
checkboxFieldSchema: () => checkboxFieldSchema,
|
|
47
|
+
chipSchema: () => chipSchema,
|
|
48
|
+
comboboxFieldSchema: () => comboboxFieldSchema,
|
|
23
49
|
componentSchema: () => componentSchema,
|
|
24
|
-
|
|
50
|
+
componentSchemas: () => componentSchemas,
|
|
51
|
+
contextMenuContentSchema: () => contextMenuContentSchema,
|
|
52
|
+
contextMenuItemSchema: () => contextMenuItemSchema,
|
|
53
|
+
contextMenuSchema: () => contextMenuSchema,
|
|
54
|
+
contextMenuSeparatorSchema: () => contextMenuSeparatorSchema,
|
|
55
|
+
contextMenuTriggerSchema: () => contextMenuTriggerSchema,
|
|
56
|
+
dateFieldSchema: () => dateFieldSchema,
|
|
57
|
+
dropdownMenuContentSchema: () => dropdownMenuContentSchema,
|
|
58
|
+
dropdownMenuItemSchema: () => dropdownMenuItemSchema,
|
|
59
|
+
dropdownMenuLabelSchema: () => dropdownMenuLabelSchema,
|
|
60
|
+
dropdownMenuSchema: () => dropdownMenuSchema,
|
|
61
|
+
dropdownMenuSeparatorSchema: () => dropdownMenuSeparatorSchema,
|
|
62
|
+
dropdownMenuTriggerSchema: () => dropdownMenuTriggerSchema,
|
|
63
|
+
fileInputSchema: () => fileInputSchema,
|
|
64
|
+
fileUploadFieldSchema: () => fileUploadFieldSchema,
|
|
65
|
+
formSchema: () => formSchema,
|
|
66
|
+
getComponentSchemas: () => getComponentSchemas,
|
|
67
|
+
googleMapSchema: () => googleMapSchema,
|
|
68
|
+
gradientContainerSchema: () => gradientContainerSchema,
|
|
69
|
+
gridSchema: () => gridSchema,
|
|
70
|
+
iconButtonSchema: () => iconButtonSchema,
|
|
71
|
+
iconContainerSchema: () => iconContainerSchema,
|
|
72
|
+
iconProfileSchema: () => iconProfileSchema,
|
|
73
|
+
inputFieldSchema: () => inputFieldSchema,
|
|
74
|
+
labelSchema: () => labelSchema,
|
|
75
|
+
linkButtonSchema: () => linkButtonSchema,
|
|
76
|
+
mediaSchema: () => mediaSchema,
|
|
77
|
+
multiSelectFieldSchema: () => multiSelectFieldSchema,
|
|
78
|
+
otpFieldSchema: () => otpFieldSchema,
|
|
79
|
+
passwordFieldSchema: () => passwordFieldSchema,
|
|
80
|
+
popoverContentSchema: () => popoverContentSchema,
|
|
81
|
+
popoverSchema: () => popoverSchema,
|
|
82
|
+
popoverTriggerSchema: () => popoverTriggerSchema,
|
|
83
|
+
progressIndicatorSchema: () => progressIndicatorSchema,
|
|
84
|
+
radioFieldSchema: () => radioFieldSchema,
|
|
85
|
+
searchInputSchema: () => searchInputSchema,
|
|
86
|
+
selectFieldSchema: () => selectFieldSchema,
|
|
87
|
+
selectHoverSchema: () => selectHoverSchema,
|
|
88
|
+
sheetContentSchema: () => sheetContentSchema,
|
|
89
|
+
sheetDescriptionSchema: () => sheetDescriptionSchema,
|
|
90
|
+
sheetFooterSchema: () => sheetFooterSchema,
|
|
91
|
+
sheetHeaderSchema: () => sheetHeaderSchema,
|
|
92
|
+
sheetSchema: () => sheetSchema,
|
|
93
|
+
sheetTitleSchema: () => sheetTitleSchema,
|
|
94
|
+
sheetTriggerSchema: () => sheetTriggerSchema,
|
|
95
|
+
skeletonSchema: () => skeletonSchema,
|
|
96
|
+
sliderSchema: () => sliderSchema,
|
|
97
|
+
switchFieldSchema: () => switchFieldSchema,
|
|
98
|
+
tableSchema: () => tableSchema,
|
|
99
|
+
tabsSchema: () => tabsSchema,
|
|
100
|
+
tagSchema: () => tagSchema,
|
|
101
|
+
textSchema: () => textSchema,
|
|
102
|
+
textareaFieldSchema: () => textareaFieldSchema,
|
|
103
|
+
timeFieldSchema: () => timeFieldSchema,
|
|
104
|
+
titleSchema: () => titleSchema,
|
|
105
|
+
toggleDropdownButtonSchema: () => toggleDropdownButtonSchema,
|
|
106
|
+
toggleSchema: () => toggleSchema,
|
|
107
|
+
toolButtonSchema: () => toolButtonSchema,
|
|
108
|
+
toolToggleSchema: () => toolToggleSchema,
|
|
109
|
+
tooltipSchema: () => tooltipSchema,
|
|
110
|
+
uiNodeSchema: () => uiNodeSchema,
|
|
111
|
+
wrapperCardSchema: () => wrapperCardSchema
|
|
25
112
|
});
|
|
26
113
|
module.exports = __toCommonJS(schema_exports);
|
|
27
114
|
|
|
@@ -112,6 +199,88 @@ var component_schema_default = {
|
|
|
112
199
|
},
|
|
113
200
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
114
201
|
},
|
|
202
|
+
"tool-button": {
|
|
203
|
+
$ref: "#/definitions/tool-button",
|
|
204
|
+
definitions: {
|
|
205
|
+
"tool-button": {
|
|
206
|
+
type: "object",
|
|
207
|
+
properties: {
|
|
208
|
+
type: {
|
|
209
|
+
type: "string",
|
|
210
|
+
const: "tool-button"
|
|
211
|
+
},
|
|
212
|
+
props: {
|
|
213
|
+
type: "object",
|
|
214
|
+
properties: {
|
|
215
|
+
variant: {
|
|
216
|
+
type: "string",
|
|
217
|
+
enum: [
|
|
218
|
+
"primary",
|
|
219
|
+
"outline",
|
|
220
|
+
"destructive"
|
|
221
|
+
],
|
|
222
|
+
description: "Button style. Defaults to 'primary'"
|
|
223
|
+
},
|
|
224
|
+
size: {
|
|
225
|
+
type: "string",
|
|
226
|
+
enum: [
|
|
227
|
+
"md",
|
|
228
|
+
"lg"
|
|
229
|
+
],
|
|
230
|
+
description: "Button size. Defaults to 'md'"
|
|
231
|
+
},
|
|
232
|
+
state: {
|
|
233
|
+
type: "string",
|
|
234
|
+
enum: [
|
|
235
|
+
"loading",
|
|
236
|
+
"default"
|
|
237
|
+
],
|
|
238
|
+
description: "Button state. Defaults to 'default'"
|
|
239
|
+
},
|
|
240
|
+
onlyIcon: {
|
|
241
|
+
type: "boolean",
|
|
242
|
+
description: "Icon-only mode with square padding"
|
|
243
|
+
},
|
|
244
|
+
disabled: {
|
|
245
|
+
type: "boolean"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
additionalProperties: false
|
|
249
|
+
},
|
|
250
|
+
children: {
|
|
251
|
+
type: "array",
|
|
252
|
+
items: {
|
|
253
|
+
type: "object",
|
|
254
|
+
properties: {
|
|
255
|
+
type: {
|
|
256
|
+
type: "string"
|
|
257
|
+
},
|
|
258
|
+
props: {
|
|
259
|
+
type: "object",
|
|
260
|
+
additionalProperties: {}
|
|
261
|
+
},
|
|
262
|
+
children: {
|
|
263
|
+
type: "array",
|
|
264
|
+
items: {}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
required: [
|
|
268
|
+
"type"
|
|
269
|
+
],
|
|
270
|
+
additionalProperties: false
|
|
271
|
+
},
|
|
272
|
+
description: "Button content"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
required: [
|
|
276
|
+
"type"
|
|
277
|
+
],
|
|
278
|
+
additionalProperties: false,
|
|
279
|
+
description: "A toolbar action button with loading state"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
283
|
+
},
|
|
115
284
|
card: {
|
|
116
285
|
$ref: "#/definitions/card",
|
|
117
286
|
definitions: {
|
|
@@ -414,6 +583,55 @@ var component_schema_default = {
|
|
|
414
583
|
},
|
|
415
584
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
416
585
|
},
|
|
586
|
+
"card-action": {
|
|
587
|
+
$ref: "#/definitions/card-action",
|
|
588
|
+
definitions: {
|
|
589
|
+
"card-action": {
|
|
590
|
+
type: "object",
|
|
591
|
+
properties: {
|
|
592
|
+
type: {
|
|
593
|
+
type: "string",
|
|
594
|
+
const: "card-action"
|
|
595
|
+
},
|
|
596
|
+
props: {
|
|
597
|
+
type: "object",
|
|
598
|
+
properties: {},
|
|
599
|
+
additionalProperties: false
|
|
600
|
+
},
|
|
601
|
+
children: {
|
|
602
|
+
type: "array",
|
|
603
|
+
items: {
|
|
604
|
+
type: "object",
|
|
605
|
+
properties: {
|
|
606
|
+
type: {
|
|
607
|
+
type: "string"
|
|
608
|
+
},
|
|
609
|
+
props: {
|
|
610
|
+
type: "object",
|
|
611
|
+
additionalProperties: {}
|
|
612
|
+
},
|
|
613
|
+
children: {
|
|
614
|
+
type: "array",
|
|
615
|
+
items: {}
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
required: [
|
|
619
|
+
"type"
|
|
620
|
+
],
|
|
621
|
+
additionalProperties: false
|
|
622
|
+
},
|
|
623
|
+
description: "Action elements (buttons, links) placed at the top-right of a card header"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
required: [
|
|
627
|
+
"type"
|
|
628
|
+
],
|
|
629
|
+
additionalProperties: false,
|
|
630
|
+
description: "An action area positioned at the top-right of a card"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
634
|
+
},
|
|
417
635
|
form: {
|
|
418
636
|
$ref: "#/definitions/form",
|
|
419
637
|
definitions: {
|
|
@@ -3117,134 +3335,675 @@ var component_schema_default = {
|
|
|
3117
3335
|
},
|
|
3118
3336
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3119
3337
|
},
|
|
3120
|
-
|
|
3121
|
-
$ref: "#/definitions/
|
|
3338
|
+
"google-map": {
|
|
3339
|
+
$ref: "#/definitions/google-map",
|
|
3122
3340
|
definitions: {
|
|
3123
|
-
|
|
3341
|
+
"google-map": {
|
|
3124
3342
|
type: "object",
|
|
3125
3343
|
properties: {
|
|
3126
3344
|
type: {
|
|
3127
3345
|
type: "string",
|
|
3128
|
-
const: "
|
|
3346
|
+
const: "google-map"
|
|
3129
3347
|
},
|
|
3130
3348
|
props: {
|
|
3131
3349
|
type: "object",
|
|
3132
|
-
properties: {
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3350
|
+
properties: {
|
|
3351
|
+
center: {
|
|
3352
|
+
type: "object",
|
|
3353
|
+
properties: {
|
|
3354
|
+
lat: {
|
|
3355
|
+
type: "number",
|
|
3356
|
+
description: "Center latitude"
|
|
3357
|
+
},
|
|
3358
|
+
lng: {
|
|
3359
|
+
type: "number",
|
|
3360
|
+
description: "Center longitude"
|
|
3361
|
+
}
|
|
3142
3362
|
},
|
|
3143
|
-
|
|
3363
|
+
required: [
|
|
3364
|
+
"lat",
|
|
3365
|
+
"lng"
|
|
3366
|
+
],
|
|
3367
|
+
additionalProperties: false,
|
|
3368
|
+
description: "Map center coordinates"
|
|
3369
|
+
},
|
|
3370
|
+
zoom: {
|
|
3371
|
+
type: "number",
|
|
3372
|
+
description: "Zoom level (1-20). Defaults to 12"
|
|
3373
|
+
},
|
|
3374
|
+
markers: {
|
|
3375
|
+
type: "array",
|
|
3376
|
+
items: {
|
|
3144
3377
|
type: "object",
|
|
3145
|
-
|
|
3378
|
+
properties: {
|
|
3379
|
+
lat: {
|
|
3380
|
+
type: "number",
|
|
3381
|
+
description: "Latitude"
|
|
3382
|
+
},
|
|
3383
|
+
lng: {
|
|
3384
|
+
type: "number",
|
|
3385
|
+
description: "Longitude"
|
|
3386
|
+
},
|
|
3387
|
+
title: {
|
|
3388
|
+
type: "string",
|
|
3389
|
+
description: "Marker title shown in info window"
|
|
3390
|
+
},
|
|
3391
|
+
description: {
|
|
3392
|
+
type: "string",
|
|
3393
|
+
description: "Marker description shown in info window"
|
|
3394
|
+
},
|
|
3395
|
+
color: {
|
|
3396
|
+
type: "string",
|
|
3397
|
+
description: "Marker pin color (hex or CSS color)"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
required: [
|
|
3401
|
+
"lat",
|
|
3402
|
+
"lng"
|
|
3403
|
+
],
|
|
3404
|
+
additionalProperties: false
|
|
3146
3405
|
},
|
|
3147
|
-
|
|
3148
|
-
type: "array",
|
|
3149
|
-
items: {}
|
|
3150
|
-
}
|
|
3406
|
+
description: "Array of map markers with lat/lng and optional info"
|
|
3151
3407
|
},
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3408
|
+
height: {
|
|
3409
|
+
type: "string",
|
|
3410
|
+
description: "Map height CSS value. Defaults to '400px'"
|
|
3411
|
+
},
|
|
3412
|
+
width: {
|
|
3413
|
+
type: "string",
|
|
3414
|
+
description: "Map width CSS value. Defaults to '100%'"
|
|
3415
|
+
},
|
|
3416
|
+
gestureHandling: {
|
|
3417
|
+
type: "string",
|
|
3418
|
+
enum: [
|
|
3419
|
+
"cooperative",
|
|
3420
|
+
"greedy",
|
|
3421
|
+
"none",
|
|
3422
|
+
"auto"
|
|
3423
|
+
],
|
|
3424
|
+
description: "How the map handles touch/scroll gestures. Defaults to 'cooperative'"
|
|
3425
|
+
},
|
|
3426
|
+
disableDefaultUI: {
|
|
3427
|
+
type: "boolean",
|
|
3428
|
+
description: "Hide default map controls"
|
|
3429
|
+
}
|
|
3156
3430
|
},
|
|
3157
|
-
|
|
3431
|
+
additionalProperties: false
|
|
3158
3432
|
}
|
|
3159
3433
|
},
|
|
3160
3434
|
required: [
|
|
3161
|
-
"type"
|
|
3435
|
+
"type",
|
|
3436
|
+
"props"
|
|
3162
3437
|
],
|
|
3163
3438
|
additionalProperties: false,
|
|
3164
|
-
description: "
|
|
3439
|
+
description: "An interactive Google Map with optional markers and info windows"
|
|
3165
3440
|
}
|
|
3166
3441
|
},
|
|
3167
3442
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3168
3443
|
},
|
|
3169
|
-
|
|
3170
|
-
$ref: "#/definitions/
|
|
3444
|
+
calendar: {
|
|
3445
|
+
$ref: "#/definitions/calendar",
|
|
3171
3446
|
definitions: {
|
|
3172
|
-
|
|
3447
|
+
calendar: {
|
|
3173
3448
|
type: "object",
|
|
3174
3449
|
properties: {
|
|
3175
3450
|
type: {
|
|
3176
3451
|
type: "string",
|
|
3177
|
-
const: "
|
|
3452
|
+
const: "calendar"
|
|
3178
3453
|
},
|
|
3179
3454
|
props: {
|
|
3180
3455
|
type: "object",
|
|
3181
|
-
properties: {
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
type: "array",
|
|
3186
|
-
items: {
|
|
3187
|
-
type: "object",
|
|
3188
|
-
properties: {
|
|
3189
|
-
type: {
|
|
3190
|
-
type: "string"
|
|
3191
|
-
},
|
|
3192
|
-
props: {
|
|
3193
|
-
type: "object",
|
|
3194
|
-
additionalProperties: {}
|
|
3195
|
-
},
|
|
3196
|
-
children: {
|
|
3197
|
-
type: "array",
|
|
3198
|
-
items: {}
|
|
3199
|
-
}
|
|
3456
|
+
properties: {
|
|
3457
|
+
showOutsideDays: {
|
|
3458
|
+
type: "boolean",
|
|
3459
|
+
description: "Show days from adjacent months. Defaults to true"
|
|
3200
3460
|
},
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3461
|
+
captionLayout: {
|
|
3462
|
+
type: "string",
|
|
3463
|
+
enum: [
|
|
3464
|
+
"label",
|
|
3465
|
+
"dropdown",
|
|
3466
|
+
"dropdown-months",
|
|
3467
|
+
"dropdown-years"
|
|
3468
|
+
],
|
|
3469
|
+
description: "Caption display mode. Defaults to 'label'"
|
|
3470
|
+
},
|
|
3471
|
+
buttonVariant: {
|
|
3472
|
+
type: "string",
|
|
3473
|
+
enum: [
|
|
3474
|
+
"primary",
|
|
3475
|
+
"secondary",
|
|
3476
|
+
"outline",
|
|
3477
|
+
"destructive",
|
|
3478
|
+
"ghost",
|
|
3479
|
+
"soft"
|
|
3480
|
+
],
|
|
3481
|
+
description: "Navigation button style. Defaults to 'ghost'"
|
|
3482
|
+
},
|
|
3483
|
+
mode: {
|
|
3484
|
+
type: "string",
|
|
3485
|
+
enum: [
|
|
3486
|
+
"single",
|
|
3487
|
+
"multiple",
|
|
3488
|
+
"range"
|
|
3489
|
+
],
|
|
3490
|
+
description: "Selection mode"
|
|
3491
|
+
},
|
|
3492
|
+
numberOfMonths: {
|
|
3493
|
+
type: "number",
|
|
3494
|
+
description: "Number of months to display"
|
|
3495
|
+
},
|
|
3496
|
+
disabled: {
|
|
3497
|
+
type: "boolean"
|
|
3498
|
+
}
|
|
3205
3499
|
},
|
|
3206
|
-
|
|
3500
|
+
additionalProperties: false
|
|
3207
3501
|
}
|
|
3208
3502
|
},
|
|
3209
3503
|
required: [
|
|
3210
3504
|
"type"
|
|
3211
3505
|
],
|
|
3212
3506
|
additionalProperties: false,
|
|
3213
|
-
description: "
|
|
3507
|
+
description: "A date calendar for picking dates or date ranges"
|
|
3214
3508
|
}
|
|
3215
3509
|
},
|
|
3216
3510
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3217
3511
|
},
|
|
3218
|
-
"
|
|
3219
|
-
$ref: "#/definitions/
|
|
3512
|
+
"file-input": {
|
|
3513
|
+
$ref: "#/definitions/file-input",
|
|
3220
3514
|
definitions: {
|
|
3221
|
-
"
|
|
3515
|
+
"file-input": {
|
|
3222
3516
|
type: "object",
|
|
3223
3517
|
properties: {
|
|
3224
3518
|
type: {
|
|
3225
3519
|
type: "string",
|
|
3226
|
-
const: "
|
|
3520
|
+
const: "file-input"
|
|
3227
3521
|
},
|
|
3228
3522
|
props: {
|
|
3229
3523
|
type: "object",
|
|
3230
3524
|
properties: {
|
|
3231
|
-
|
|
3525
|
+
label: {
|
|
3232
3526
|
type: "string",
|
|
3233
|
-
|
|
3234
|
-
"top",
|
|
3235
|
-
"right",
|
|
3236
|
-
"bottom",
|
|
3237
|
-
"left"
|
|
3238
|
-
],
|
|
3239
|
-
description: "Slide-in direction. Defaults to 'right'"
|
|
3527
|
+
description: "Label text above the input"
|
|
3240
3528
|
},
|
|
3241
|
-
|
|
3529
|
+
helperText: {
|
|
3530
|
+
type: "string",
|
|
3531
|
+
description: "Helper text below the input"
|
|
3532
|
+
},
|
|
3533
|
+
error: {
|
|
3242
3534
|
type: "boolean",
|
|
3243
|
-
description: "Show
|
|
3244
|
-
}
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3535
|
+
description: "Show error styling. Defaults to false"
|
|
3536
|
+
},
|
|
3537
|
+
accept: {
|
|
3538
|
+
type: "string",
|
|
3539
|
+
description: "Accepted file types, e.g. 'image/*,.pdf'"
|
|
3540
|
+
},
|
|
3541
|
+
multiple: {
|
|
3542
|
+
type: "boolean",
|
|
3543
|
+
description: "Allow multiple files. Defaults to false"
|
|
3544
|
+
},
|
|
3545
|
+
disabled: {
|
|
3546
|
+
type: "boolean"
|
|
3547
|
+
}
|
|
3548
|
+
},
|
|
3549
|
+
additionalProperties: false
|
|
3550
|
+
}
|
|
3551
|
+
},
|
|
3552
|
+
required: [
|
|
3553
|
+
"type"
|
|
3554
|
+
],
|
|
3555
|
+
additionalProperties: false,
|
|
3556
|
+
description: "A file input with choose-file button and upload progress"
|
|
3557
|
+
}
|
|
3558
|
+
},
|
|
3559
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3560
|
+
},
|
|
3561
|
+
"tool-toggle": {
|
|
3562
|
+
$ref: "#/definitions/tool-toggle",
|
|
3563
|
+
definitions: {
|
|
3564
|
+
"tool-toggle": {
|
|
3565
|
+
type: "object",
|
|
3566
|
+
properties: {
|
|
3567
|
+
type: {
|
|
3568
|
+
type: "string",
|
|
3569
|
+
const: "tool-toggle"
|
|
3570
|
+
},
|
|
3571
|
+
props: {
|
|
3572
|
+
type: "object",
|
|
3573
|
+
properties: {
|
|
3574
|
+
icon: {
|
|
3575
|
+
type: "string",
|
|
3576
|
+
description: "Icon name (resolved by the renderer)"
|
|
3577
|
+
},
|
|
3578
|
+
dropdown: {
|
|
3579
|
+
type: "boolean",
|
|
3580
|
+
description: "Show dropdown chevron"
|
|
3581
|
+
}
|
|
3582
|
+
},
|
|
3583
|
+
additionalProperties: false
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3586
|
+
required: [
|
|
3587
|
+
"type"
|
|
3588
|
+
],
|
|
3589
|
+
additionalProperties: false,
|
|
3590
|
+
description: "A round toggle button used in toolbars, optionally with a dropdown"
|
|
3591
|
+
}
|
|
3592
|
+
},
|
|
3593
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3594
|
+
},
|
|
3595
|
+
"toggle-dropdown-button": {
|
|
3596
|
+
$ref: "#/definitions/toggle-dropdown-button",
|
|
3597
|
+
definitions: {
|
|
3598
|
+
"toggle-dropdown-button": {
|
|
3599
|
+
type: "object",
|
|
3600
|
+
properties: {
|
|
3601
|
+
type: {
|
|
3602
|
+
type: "string",
|
|
3603
|
+
const: "toggle-dropdown-button"
|
|
3604
|
+
},
|
|
3605
|
+
props: {
|
|
3606
|
+
type: "object",
|
|
3607
|
+
properties: {
|
|
3608
|
+
type: {
|
|
3609
|
+
type: "string",
|
|
3610
|
+
enum: [
|
|
3611
|
+
"text",
|
|
3612
|
+
"icon"
|
|
3613
|
+
],
|
|
3614
|
+
description: "Button content type"
|
|
3615
|
+
},
|
|
3616
|
+
selected: {
|
|
3617
|
+
type: "boolean",
|
|
3618
|
+
description: "Whether the button is selected"
|
|
3619
|
+
},
|
|
3620
|
+
variant: {
|
|
3621
|
+
type: "string",
|
|
3622
|
+
enum: [
|
|
3623
|
+
"primary",
|
|
3624
|
+
"secondary",
|
|
3625
|
+
"destructive"
|
|
3626
|
+
],
|
|
3627
|
+
description: "Button color variant"
|
|
3628
|
+
}
|
|
3629
|
+
},
|
|
3630
|
+
required: [
|
|
3631
|
+
"type",
|
|
3632
|
+
"selected",
|
|
3633
|
+
"variant"
|
|
3634
|
+
],
|
|
3635
|
+
additionalProperties: false
|
|
3636
|
+
}
|
|
3637
|
+
},
|
|
3638
|
+
required: [
|
|
3639
|
+
"type",
|
|
3640
|
+
"props"
|
|
3641
|
+
],
|
|
3642
|
+
additionalProperties: false,
|
|
3643
|
+
description: "A split toggle button with an attached dropdown trigger"
|
|
3644
|
+
}
|
|
3645
|
+
},
|
|
3646
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3647
|
+
},
|
|
3648
|
+
"icon-container": {
|
|
3649
|
+
$ref: "#/definitions/icon-container",
|
|
3650
|
+
definitions: {
|
|
3651
|
+
"icon-container": {
|
|
3652
|
+
type: "object",
|
|
3653
|
+
properties: {
|
|
3654
|
+
type: {
|
|
3655
|
+
type: "string",
|
|
3656
|
+
const: "icon-container"
|
|
3657
|
+
},
|
|
3658
|
+
props: {
|
|
3659
|
+
type: "object",
|
|
3660
|
+
properties: {
|
|
3661
|
+
icon: {
|
|
3662
|
+
type: "string",
|
|
3663
|
+
description: "Icon name (resolved by the renderer)"
|
|
3664
|
+
},
|
|
3665
|
+
size: {
|
|
3666
|
+
type: "string",
|
|
3667
|
+
enum: [
|
|
3668
|
+
"xs",
|
|
3669
|
+
"sm",
|
|
3670
|
+
"md",
|
|
3671
|
+
"lg",
|
|
3672
|
+
"xl",
|
|
3673
|
+
"2xl",
|
|
3674
|
+
"3xl",
|
|
3675
|
+
"4xl",
|
|
3676
|
+
"5xl",
|
|
3677
|
+
"6xl",
|
|
3678
|
+
"auto"
|
|
3679
|
+
],
|
|
3680
|
+
description: "Icon size. Defaults to 'sm'"
|
|
3681
|
+
},
|
|
3682
|
+
colorInFill: {
|
|
3683
|
+
type: "boolean",
|
|
3684
|
+
description: "Apply fill colors to SVG paths. Defaults to true"
|
|
3685
|
+
},
|
|
3686
|
+
disableTheme: {
|
|
3687
|
+
type: "boolean",
|
|
3688
|
+
description: "Disable theme-aware coloring. Defaults to false"
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
additionalProperties: false
|
|
3692
|
+
},
|
|
3693
|
+
children: {
|
|
3694
|
+
type: "array",
|
|
3695
|
+
items: {
|
|
3696
|
+
type: "object",
|
|
3697
|
+
properties: {
|
|
3698
|
+
type: {
|
|
3699
|
+
type: "string"
|
|
3700
|
+
},
|
|
3701
|
+
props: {
|
|
3702
|
+
type: "object",
|
|
3703
|
+
additionalProperties: {}
|
|
3704
|
+
},
|
|
3705
|
+
children: {
|
|
3706
|
+
type: "array",
|
|
3707
|
+
items: {}
|
|
3708
|
+
}
|
|
3709
|
+
},
|
|
3710
|
+
required: [
|
|
3711
|
+
"type"
|
|
3712
|
+
],
|
|
3713
|
+
additionalProperties: false
|
|
3714
|
+
},
|
|
3715
|
+
description: "Icon element"
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3718
|
+
required: [
|
|
3719
|
+
"type"
|
|
3720
|
+
],
|
|
3721
|
+
additionalProperties: false,
|
|
3722
|
+
description: "A sized container for static icons with theme-aware coloring"
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3726
|
+
},
|
|
3727
|
+
"icon-profile": {
|
|
3728
|
+
$ref: "#/definitions/icon-profile",
|
|
3729
|
+
definitions: {
|
|
3730
|
+
"icon-profile": {
|
|
3731
|
+
type: "object",
|
|
3732
|
+
properties: {
|
|
3733
|
+
type: {
|
|
3734
|
+
type: "string",
|
|
3735
|
+
const: "icon-profile"
|
|
3736
|
+
},
|
|
3737
|
+
props: {
|
|
3738
|
+
type: "object",
|
|
3739
|
+
properties: {
|
|
3740
|
+
icon: {
|
|
3741
|
+
type: "string",
|
|
3742
|
+
description: "Icon name (resolved by the renderer)"
|
|
3743
|
+
},
|
|
3744
|
+
color: {
|
|
3745
|
+
type: "string",
|
|
3746
|
+
enum: [
|
|
3747
|
+
"red",
|
|
3748
|
+
"orange",
|
|
3749
|
+
"amber",
|
|
3750
|
+
"yellow",
|
|
3751
|
+
"lime",
|
|
3752
|
+
"green",
|
|
3753
|
+
"emerald",
|
|
3754
|
+
"teal",
|
|
3755
|
+
"cyan",
|
|
3756
|
+
"sky",
|
|
3757
|
+
"blue",
|
|
3758
|
+
"indigo",
|
|
3759
|
+
"violet",
|
|
3760
|
+
"purple",
|
|
3761
|
+
"fuchsia",
|
|
3762
|
+
"pink",
|
|
3763
|
+
"rose",
|
|
3764
|
+
"slate"
|
|
3765
|
+
],
|
|
3766
|
+
description: "Background glow and icon color. Defaults to 'red'"
|
|
3767
|
+
},
|
|
3768
|
+
size: {
|
|
3769
|
+
type: "string",
|
|
3770
|
+
enum: [
|
|
3771
|
+
"26",
|
|
3772
|
+
"32",
|
|
3773
|
+
"40",
|
|
3774
|
+
"48",
|
|
3775
|
+
"56",
|
|
3776
|
+
"64"
|
|
3777
|
+
],
|
|
3778
|
+
description: "Size in pixels. Defaults to '64'"
|
|
3779
|
+
},
|
|
3780
|
+
externalIcon: {
|
|
3781
|
+
type: "boolean",
|
|
3782
|
+
description: "Whether the icon is external"
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
required: [
|
|
3786
|
+
"icon"
|
|
3787
|
+
],
|
|
3788
|
+
additionalProperties: false
|
|
3789
|
+
}
|
|
3790
|
+
},
|
|
3791
|
+
required: [
|
|
3792
|
+
"type",
|
|
3793
|
+
"props"
|
|
3794
|
+
],
|
|
3795
|
+
additionalProperties: false,
|
|
3796
|
+
description: "An icon with a colored radial glow background"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3800
|
+
},
|
|
3801
|
+
"button-with-tooltip": {
|
|
3802
|
+
$ref: "#/definitions/button-with-tooltip",
|
|
3803
|
+
definitions: {
|
|
3804
|
+
"button-with-tooltip": {
|
|
3805
|
+
type: "object",
|
|
3806
|
+
properties: {
|
|
3807
|
+
type: {
|
|
3808
|
+
type: "string",
|
|
3809
|
+
const: "button-with-tooltip"
|
|
3810
|
+
},
|
|
3811
|
+
props: {
|
|
3812
|
+
type: "object",
|
|
3813
|
+
properties: {
|
|
3814
|
+
content: {
|
|
3815
|
+
type: "string",
|
|
3816
|
+
description: "Tooltip text"
|
|
3817
|
+
},
|
|
3818
|
+
position: {
|
|
3819
|
+
type: "string",
|
|
3820
|
+
enum: [
|
|
3821
|
+
"top",
|
|
3822
|
+
"top-center",
|
|
3823
|
+
"top-left",
|
|
3824
|
+
"top-right",
|
|
3825
|
+
"bottom",
|
|
3826
|
+
"bottom-left",
|
|
3827
|
+
"bottom-center",
|
|
3828
|
+
"bottom-right",
|
|
3829
|
+
"left",
|
|
3830
|
+
"right"
|
|
3831
|
+
],
|
|
3832
|
+
description: "Tooltip placement"
|
|
3833
|
+
},
|
|
3834
|
+
withArrow: {
|
|
3835
|
+
type: "boolean",
|
|
3836
|
+
description: "Show an arrow pointer"
|
|
3837
|
+
}
|
|
3838
|
+
},
|
|
3839
|
+
required: [
|
|
3840
|
+
"content"
|
|
3841
|
+
],
|
|
3842
|
+
additionalProperties: false
|
|
3843
|
+
},
|
|
3844
|
+
children: {
|
|
3845
|
+
type: "array",
|
|
3846
|
+
items: {
|
|
3847
|
+
type: "object",
|
|
3848
|
+
properties: {
|
|
3849
|
+
type: {
|
|
3850
|
+
type: "string"
|
|
3851
|
+
},
|
|
3852
|
+
props: {
|
|
3853
|
+
type: "object",
|
|
3854
|
+
additionalProperties: {}
|
|
3855
|
+
},
|
|
3856
|
+
children: {
|
|
3857
|
+
type: "array",
|
|
3858
|
+
items: {}
|
|
3859
|
+
}
|
|
3860
|
+
},
|
|
3861
|
+
required: [
|
|
3862
|
+
"type"
|
|
3863
|
+
],
|
|
3864
|
+
additionalProperties: false
|
|
3865
|
+
},
|
|
3866
|
+
description: "The button element to wrap with a tooltip"
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3869
|
+
required: [
|
|
3870
|
+
"type",
|
|
3871
|
+
"props"
|
|
3872
|
+
],
|
|
3873
|
+
additionalProperties: false,
|
|
3874
|
+
description: "A button wrapped with a tooltip that appears on hover"
|
|
3875
|
+
}
|
|
3876
|
+
},
|
|
3877
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3878
|
+
},
|
|
3879
|
+
sheet: {
|
|
3880
|
+
$ref: "#/definitions/sheet",
|
|
3881
|
+
definitions: {
|
|
3882
|
+
sheet: {
|
|
3883
|
+
type: "object",
|
|
3884
|
+
properties: {
|
|
3885
|
+
type: {
|
|
3886
|
+
type: "string",
|
|
3887
|
+
const: "sheet"
|
|
3888
|
+
},
|
|
3889
|
+
props: {
|
|
3890
|
+
type: "object",
|
|
3891
|
+
properties: {},
|
|
3892
|
+
additionalProperties: false
|
|
3893
|
+
},
|
|
3894
|
+
children: {
|
|
3895
|
+
type: "array",
|
|
3896
|
+
items: {
|
|
3897
|
+
type: "object",
|
|
3898
|
+
properties: {
|
|
3899
|
+
type: {
|
|
3900
|
+
type: "string"
|
|
3901
|
+
},
|
|
3902
|
+
props: {
|
|
3903
|
+
type: "object",
|
|
3904
|
+
additionalProperties: {}
|
|
3905
|
+
},
|
|
3906
|
+
children: {
|
|
3907
|
+
type: "array",
|
|
3908
|
+
items: {}
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
required: [
|
|
3912
|
+
"type"
|
|
3913
|
+
],
|
|
3914
|
+
additionalProperties: false
|
|
3915
|
+
},
|
|
3916
|
+
description: "Compose with sheet-trigger and sheet-content"
|
|
3917
|
+
}
|
|
3918
|
+
},
|
|
3919
|
+
required: [
|
|
3920
|
+
"type"
|
|
3921
|
+
],
|
|
3922
|
+
additionalProperties: false,
|
|
3923
|
+
description: "A slide-out panel overlay"
|
|
3924
|
+
}
|
|
3925
|
+
},
|
|
3926
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3927
|
+
},
|
|
3928
|
+
"sheet-trigger": {
|
|
3929
|
+
$ref: "#/definitions/sheet-trigger",
|
|
3930
|
+
definitions: {
|
|
3931
|
+
"sheet-trigger": {
|
|
3932
|
+
type: "object",
|
|
3933
|
+
properties: {
|
|
3934
|
+
type: {
|
|
3935
|
+
type: "string",
|
|
3936
|
+
const: "sheet-trigger"
|
|
3937
|
+
},
|
|
3938
|
+
props: {
|
|
3939
|
+
type: "object",
|
|
3940
|
+
properties: {},
|
|
3941
|
+
additionalProperties: false
|
|
3942
|
+
},
|
|
3943
|
+
children: {
|
|
3944
|
+
type: "array",
|
|
3945
|
+
items: {
|
|
3946
|
+
type: "object",
|
|
3947
|
+
properties: {
|
|
3948
|
+
type: {
|
|
3949
|
+
type: "string"
|
|
3950
|
+
},
|
|
3951
|
+
props: {
|
|
3952
|
+
type: "object",
|
|
3953
|
+
additionalProperties: {}
|
|
3954
|
+
},
|
|
3955
|
+
children: {
|
|
3956
|
+
type: "array",
|
|
3957
|
+
items: {}
|
|
3958
|
+
}
|
|
3959
|
+
},
|
|
3960
|
+
required: [
|
|
3961
|
+
"type"
|
|
3962
|
+
],
|
|
3963
|
+
additionalProperties: false
|
|
3964
|
+
},
|
|
3965
|
+
description: "The element that opens the sheet"
|
|
3966
|
+
}
|
|
3967
|
+
},
|
|
3968
|
+
required: [
|
|
3969
|
+
"type"
|
|
3970
|
+
],
|
|
3971
|
+
additionalProperties: false,
|
|
3972
|
+
description: "Trigger element that opens a sheet"
|
|
3973
|
+
}
|
|
3974
|
+
},
|
|
3975
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
3976
|
+
},
|
|
3977
|
+
"sheet-content": {
|
|
3978
|
+
$ref: "#/definitions/sheet-content",
|
|
3979
|
+
definitions: {
|
|
3980
|
+
"sheet-content": {
|
|
3981
|
+
type: "object",
|
|
3982
|
+
properties: {
|
|
3983
|
+
type: {
|
|
3984
|
+
type: "string",
|
|
3985
|
+
const: "sheet-content"
|
|
3986
|
+
},
|
|
3987
|
+
props: {
|
|
3988
|
+
type: "object",
|
|
3989
|
+
properties: {
|
|
3990
|
+
side: {
|
|
3991
|
+
type: "string",
|
|
3992
|
+
enum: [
|
|
3993
|
+
"top",
|
|
3994
|
+
"right",
|
|
3995
|
+
"bottom",
|
|
3996
|
+
"left"
|
|
3997
|
+
],
|
|
3998
|
+
description: "Slide-in direction. Defaults to 'right'"
|
|
3999
|
+
},
|
|
4000
|
+
showCloseButton: {
|
|
4001
|
+
type: "boolean",
|
|
4002
|
+
description: "Show close button. Defaults to true"
|
|
4003
|
+
}
|
|
4004
|
+
},
|
|
4005
|
+
additionalProperties: false
|
|
4006
|
+
},
|
|
3248
4007
|
children: {
|
|
3249
4008
|
type: "array",
|
|
3250
4009
|
items: {
|
|
@@ -4188,14 +4947,1136 @@ var component_schema_default = {
|
|
|
4188
4947
|
}
|
|
4189
4948
|
};
|
|
4190
4949
|
|
|
4950
|
+
// src/types.ts
|
|
4951
|
+
var import_zod = require("zod");
|
|
4952
|
+
var uiNodeSchema = import_zod.z.lazy(
|
|
4953
|
+
() => import_zod.z.object({
|
|
4954
|
+
type: import_zod.z.string(),
|
|
4955
|
+
props: import_zod.z.record(import_zod.z.unknown()).optional(),
|
|
4956
|
+
children: import_zod.z.array(uiNodeSchema).optional()
|
|
4957
|
+
})
|
|
4958
|
+
);
|
|
4959
|
+
|
|
4960
|
+
// src/ui/Button/schema.ts
|
|
4961
|
+
var import_zod2 = require("zod");
|
|
4962
|
+
var buttonSchema = import_zod2.z.object({
|
|
4963
|
+
type: import_zod2.z.literal("button"),
|
|
4964
|
+
props: import_zod2.z.object({
|
|
4965
|
+
label: import_zod2.z.string().optional().describe("Button text"),
|
|
4966
|
+
variant: import_zod2.z.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Button style. Defaults to 'primary'"),
|
|
4967
|
+
size: import_zod2.z.enum(["sm", "md", "lg"]).optional().describe("Button size. Defaults to 'md'"),
|
|
4968
|
+
url: import_zod2.z.string().optional().describe("URL to open when clicked"),
|
|
4969
|
+
disabled: import_zod2.z.boolean().optional().describe("Whether the button is disabled")
|
|
4970
|
+
}).optional(),
|
|
4971
|
+
children: import_zod2.z.array(uiNodeSchema).optional()
|
|
4972
|
+
}).describe("An action button");
|
|
4973
|
+
var toolButtonSchema = import_zod2.z.object({
|
|
4974
|
+
type: import_zod2.z.literal("tool-button"),
|
|
4975
|
+
props: import_zod2.z.object({
|
|
4976
|
+
variant: import_zod2.z.enum(["primary", "outline", "destructive"]).optional().describe("Button style. Defaults to 'primary'"),
|
|
4977
|
+
size: import_zod2.z.enum(["md", "lg"]).optional().describe("Button size. Defaults to 'md'"),
|
|
4978
|
+
state: import_zod2.z.enum(["loading", "default"]).optional().describe("Button state. Defaults to 'default'"),
|
|
4979
|
+
onlyIcon: import_zod2.z.boolean().optional().describe("Icon-only mode with square padding"),
|
|
4980
|
+
disabled: import_zod2.z.boolean().optional()
|
|
4981
|
+
}).optional(),
|
|
4982
|
+
children: import_zod2.z.array(uiNodeSchema).optional().describe("Button content")
|
|
4983
|
+
}).describe("A toolbar action button with loading state");
|
|
4984
|
+
|
|
4985
|
+
// src/ui/Card/schema.ts
|
|
4986
|
+
var import_zod3 = require("zod");
|
|
4987
|
+
var cardSchema = import_zod3.z.object({
|
|
4988
|
+
type: import_zod3.z.literal("card"),
|
|
4989
|
+
props: import_zod3.z.object({}).optional(),
|
|
4990
|
+
children: import_zod3.z.array(uiNodeSchema).optional().describe("Compose with card-header, card-content, card-footer")
|
|
4991
|
+
}).describe("Container card");
|
|
4992
|
+
var cardHeaderSchema = import_zod3.z.object({
|
|
4993
|
+
type: import_zod3.z.literal("card-header"),
|
|
4994
|
+
props: import_zod3.z.object({}).optional(),
|
|
4995
|
+
children: import_zod3.z.array(uiNodeSchema).optional().describe("Place card-title and card-description inside")
|
|
4996
|
+
}).describe("Header section of a card");
|
|
4997
|
+
var cardTitleSchema = import_zod3.z.object({
|
|
4998
|
+
type: import_zod3.z.literal("card-title"),
|
|
4999
|
+
props: import_zod3.z.object({
|
|
5000
|
+
children: import_zod3.z.string().optional().describe("Title text")
|
|
5001
|
+
}).optional(),
|
|
5002
|
+
children: import_zod3.z.array(uiNodeSchema).optional()
|
|
5003
|
+
}).describe("Title inside a card-header");
|
|
5004
|
+
var cardDescriptionSchema = import_zod3.z.object({
|
|
5005
|
+
type: import_zod3.z.literal("card-description"),
|
|
5006
|
+
props: import_zod3.z.object({
|
|
5007
|
+
children: import_zod3.z.string().optional().describe("Description text")
|
|
5008
|
+
}).optional(),
|
|
5009
|
+
children: import_zod3.z.array(uiNodeSchema).optional()
|
|
5010
|
+
}).describe("Description text inside a card-header");
|
|
5011
|
+
var cardContentSchema = import_zod3.z.object({
|
|
5012
|
+
type: import_zod3.z.literal("card-content"),
|
|
5013
|
+
props: import_zod3.z.object({}).optional(),
|
|
5014
|
+
children: import_zod3.z.array(uiNodeSchema).optional().describe("Main content area")
|
|
5015
|
+
}).describe("Main content area of a card");
|
|
5016
|
+
var cardFooterSchema = import_zod3.z.object({
|
|
5017
|
+
type: import_zod3.z.literal("card-footer"),
|
|
5018
|
+
props: import_zod3.z.object({}).optional(),
|
|
5019
|
+
children: import_zod3.z.array(uiNodeSchema).optional().describe("Footer area, typically for actions")
|
|
5020
|
+
}).describe("Footer section of a card");
|
|
5021
|
+
var cardActionSchema = import_zod3.z.object({
|
|
5022
|
+
type: import_zod3.z.literal("card-action"),
|
|
5023
|
+
props: import_zod3.z.object({}).optional(),
|
|
5024
|
+
children: import_zod3.z.array(uiNodeSchema).optional().describe("Action elements (buttons, links) placed at the top-right of a card header")
|
|
5025
|
+
}).describe("An action area positioned at the top-right of a card");
|
|
5026
|
+
|
|
5027
|
+
// src/ui/form/schema.ts
|
|
5028
|
+
var import_zod4 = require("zod");
|
|
5029
|
+
var formSchema = import_zod4.z.object({
|
|
5030
|
+
type: import_zod4.z.literal("form"),
|
|
5031
|
+
props: import_zod4.z.object({
|
|
5032
|
+
id: import_zod4.z.string().describe("Unique form ID")
|
|
5033
|
+
}),
|
|
5034
|
+
children: import_zod4.z.array(uiNodeSchema).optional().describe("Form field components")
|
|
5035
|
+
}).describe("A form container. Wrap form fields inside.");
|
|
5036
|
+
|
|
5037
|
+
// src/ui/Input/schema.ts
|
|
5038
|
+
var import_zod5 = require("zod");
|
|
5039
|
+
var inputFieldSchema = import_zod5.z.object({
|
|
5040
|
+
type: import_zod5.z.literal("input-field"),
|
|
5041
|
+
props: import_zod5.z.object({
|
|
5042
|
+
name: import_zod5.z.string().describe("Field name (maps to form data key)"),
|
|
5043
|
+
label: import_zod5.z.string().optional().describe("Label text above the input"),
|
|
5044
|
+
placeholder: import_zod5.z.string().optional().describe("Placeholder text"),
|
|
5045
|
+
type: import_zod5.z.enum(["text", "email", "number", "url", "search", "tel"]).optional().describe("Input type. Defaults to 'text'"),
|
|
5046
|
+
required: import_zod5.z.boolean().optional().describe("Whether the field is required"),
|
|
5047
|
+
disabled: import_zod5.z.boolean().optional()
|
|
5048
|
+
})
|
|
5049
|
+
}).describe("A text input field inside a form");
|
|
5050
|
+
|
|
5051
|
+
// src/ui/PasswordInput/schema.ts
|
|
5052
|
+
var import_zod6 = require("zod");
|
|
5053
|
+
var passwordFieldSchema = import_zod6.z.object({
|
|
5054
|
+
type: import_zod6.z.literal("password-field"),
|
|
5055
|
+
props: import_zod6.z.object({
|
|
5056
|
+
name: import_zod6.z.string().describe("Field name"),
|
|
5057
|
+
label: import_zod6.z.string().optional().describe("Label text"),
|
|
5058
|
+
placeholder: import_zod6.z.string().optional()
|
|
5059
|
+
})
|
|
5060
|
+
}).describe("A password input field with show/hide toggle");
|
|
5061
|
+
|
|
5062
|
+
// src/ui/TextAreaInput/schema.ts
|
|
5063
|
+
var import_zod7 = require("zod");
|
|
5064
|
+
var textareaFieldSchema = import_zod7.z.object({
|
|
5065
|
+
type: import_zod7.z.literal("textarea-field"),
|
|
5066
|
+
props: import_zod7.z.object({
|
|
5067
|
+
name: import_zod7.z.string().describe("Field name"),
|
|
5068
|
+
label: import_zod7.z.string().optional().describe("Label text"),
|
|
5069
|
+
placeholder: import_zod7.z.string().optional(),
|
|
5070
|
+
rows: import_zod7.z.number().optional().describe("Number of visible rows")
|
|
5071
|
+
})
|
|
5072
|
+
}).describe("A multi-line text input field");
|
|
5073
|
+
|
|
5074
|
+
// src/ui/SelectInput/schema.ts
|
|
5075
|
+
var import_zod8 = require("zod");
|
|
5076
|
+
var selectFieldSchema = import_zod8.z.object({
|
|
5077
|
+
type: import_zod8.z.literal("select-field"),
|
|
5078
|
+
props: import_zod8.z.object({
|
|
5079
|
+
name: import_zod8.z.string().describe("Field name"),
|
|
5080
|
+
label: import_zod8.z.string().optional().describe("Label text"),
|
|
5081
|
+
placeholder: import_zod8.z.string().optional(),
|
|
5082
|
+
options: import_zod8.z.array(import_zod8.z.object({
|
|
5083
|
+
label: import_zod8.z.string().describe("Display text"),
|
|
5084
|
+
value: import_zod8.z.string().describe("Option value")
|
|
5085
|
+
})).describe("Array of selectable options"),
|
|
5086
|
+
required: import_zod8.z.boolean().optional()
|
|
5087
|
+
})
|
|
5088
|
+
}).describe("A dropdown select field");
|
|
5089
|
+
|
|
5090
|
+
// src/ui/Checkbox/schema.ts
|
|
5091
|
+
var import_zod9 = require("zod");
|
|
5092
|
+
var checkboxFieldSchema = import_zod9.z.object({
|
|
5093
|
+
type: import_zod9.z.literal("checkbox-field"),
|
|
5094
|
+
props: import_zod9.z.object({
|
|
5095
|
+
name: import_zod9.z.string().describe("Field name"),
|
|
5096
|
+
label: import_zod9.z.string().optional().describe("Checkbox label text")
|
|
5097
|
+
})
|
|
5098
|
+
}).describe("A checkbox field");
|
|
5099
|
+
|
|
5100
|
+
// src/ui/Radio/schema.ts
|
|
5101
|
+
var import_zod10 = require("zod");
|
|
5102
|
+
var radioFieldSchema = import_zod10.z.object({
|
|
5103
|
+
type: import_zod10.z.literal("radio-field"),
|
|
5104
|
+
props: import_zod10.z.object({
|
|
5105
|
+
name: import_zod10.z.string().describe("Field name"),
|
|
5106
|
+
label: import_zod10.z.string().optional().describe("Group label"),
|
|
5107
|
+
options: import_zod10.z.array(import_zod10.z.object({
|
|
5108
|
+
label: import_zod10.z.string().describe("Option label"),
|
|
5109
|
+
value: import_zod10.z.string().describe("Option value")
|
|
5110
|
+
})).describe("Array of radio options")
|
|
5111
|
+
})
|
|
5112
|
+
}).describe("A radio button group field");
|
|
5113
|
+
|
|
5114
|
+
// src/ui/Switch/schema.ts
|
|
5115
|
+
var import_zod11 = require("zod");
|
|
5116
|
+
var switchFieldSchema = import_zod11.z.object({
|
|
5117
|
+
type: import_zod11.z.literal("switch-field"),
|
|
5118
|
+
props: import_zod11.z.object({
|
|
5119
|
+
name: import_zod11.z.string().describe("Field name"),
|
|
5120
|
+
label: import_zod11.z.string().optional().describe("Switch label")
|
|
5121
|
+
})
|
|
5122
|
+
}).describe("A toggle switch field");
|
|
5123
|
+
|
|
5124
|
+
// src/ui/DatePickerInput/schema.ts
|
|
5125
|
+
var import_zod12 = require("zod");
|
|
5126
|
+
var dateFieldSchema = import_zod12.z.object({
|
|
5127
|
+
type: import_zod12.z.literal("date-field"),
|
|
5128
|
+
props: import_zod12.z.object({
|
|
5129
|
+
name: import_zod12.z.string().describe("Field name"),
|
|
5130
|
+
label: import_zod12.z.string().optional().describe("Label text"),
|
|
5131
|
+
placeholder: import_zod12.z.string().optional(),
|
|
5132
|
+
disablePast: import_zod12.z.boolean().optional().describe("Disable past dates"),
|
|
5133
|
+
required: import_zod12.z.boolean().optional()
|
|
5134
|
+
})
|
|
5135
|
+
}).describe("A date picker field");
|
|
5136
|
+
|
|
5137
|
+
// src/ui/TimePicker/schema.ts
|
|
5138
|
+
var import_zod13 = require("zod");
|
|
5139
|
+
var timeFieldSchema = import_zod13.z.object({
|
|
5140
|
+
type: import_zod13.z.literal("time-field"),
|
|
5141
|
+
props: import_zod13.z.object({
|
|
5142
|
+
name: import_zod13.z.string().describe("Field name"),
|
|
5143
|
+
label: import_zod13.z.string().optional().describe("Label text")
|
|
5144
|
+
})
|
|
5145
|
+
}).describe("A time picker field");
|
|
5146
|
+
|
|
5147
|
+
// src/ui/Combobox/schema.ts
|
|
5148
|
+
var import_zod14 = require("zod");
|
|
5149
|
+
var comboboxFieldSchema = import_zod14.z.object({
|
|
5150
|
+
type: import_zod14.z.literal("combobox-field"),
|
|
5151
|
+
props: import_zod14.z.object({
|
|
5152
|
+
name: import_zod14.z.string().describe("Field name"),
|
|
5153
|
+
label: import_zod14.z.string().optional().describe("Label text"),
|
|
5154
|
+
placeholder: import_zod14.z.string().optional(),
|
|
5155
|
+
options: import_zod14.z.array(import_zod14.z.object({
|
|
5156
|
+
label: import_zod14.z.string().describe("Display text"),
|
|
5157
|
+
value: import_zod14.z.string().describe("Option value")
|
|
5158
|
+
})).describe("Array of searchable options")
|
|
5159
|
+
})
|
|
5160
|
+
}).describe("A searchable combobox/autocomplete field");
|
|
5161
|
+
|
|
5162
|
+
// src/ui/MultiSelect/schema.ts
|
|
5163
|
+
var import_zod15 = require("zod");
|
|
5164
|
+
var multiSelectFieldSchema = import_zod15.z.object({
|
|
5165
|
+
type: import_zod15.z.literal("multi-select-field"),
|
|
5166
|
+
props: import_zod15.z.object({
|
|
5167
|
+
name: import_zod15.z.string().describe("Field name"),
|
|
5168
|
+
label: import_zod15.z.string().optional().describe("Label text"),
|
|
5169
|
+
placeholder: import_zod15.z.string().optional(),
|
|
5170
|
+
options: import_zod15.z.array(import_zod15.z.object({
|
|
5171
|
+
label: import_zod15.z.string().describe("Display text"),
|
|
5172
|
+
value: import_zod15.z.string().describe("Option value")
|
|
5173
|
+
})).describe("Array of options for multi-selection")
|
|
5174
|
+
})
|
|
5175
|
+
}).describe("A multi-select dropdown field");
|
|
5176
|
+
|
|
5177
|
+
// src/ui/OTPInput/schema.ts
|
|
5178
|
+
var import_zod16 = require("zod");
|
|
5179
|
+
var otpFieldSchema = import_zod16.z.object({
|
|
5180
|
+
type: import_zod16.z.literal("otp-field"),
|
|
5181
|
+
props: import_zod16.z.object({
|
|
5182
|
+
name: import_zod16.z.string().describe("Field name"),
|
|
5183
|
+
maxLength: import_zod16.z.number().optional().describe("Number of OTP digits. Defaults to 6")
|
|
5184
|
+
})
|
|
5185
|
+
}).describe("An OTP (one-time password) input field");
|
|
5186
|
+
|
|
5187
|
+
// src/ui/FileUpload/schema.ts
|
|
5188
|
+
var import_zod17 = require("zod");
|
|
5189
|
+
var fileUploadFieldSchema = import_zod17.z.object({
|
|
5190
|
+
type: import_zod17.z.literal("file-upload-field"),
|
|
5191
|
+
props: import_zod17.z.object({
|
|
5192
|
+
name: import_zod17.z.string().describe("Field name"),
|
|
5193
|
+
label: import_zod17.z.string().optional().describe("Label text"),
|
|
5194
|
+
isMultiple: import_zod17.z.boolean().optional().describe("Allow multiple files"),
|
|
5195
|
+
maxFiles: import_zod17.z.number().optional().describe("Maximum number of files")
|
|
5196
|
+
})
|
|
5197
|
+
}).describe("A file upload field with drag-and-drop");
|
|
5198
|
+
|
|
5199
|
+
// src/ui/Text/schema.ts
|
|
5200
|
+
var import_zod18 = require("zod");
|
|
5201
|
+
var textSchema = import_zod18.z.object({
|
|
5202
|
+
type: import_zod18.z.literal("text"),
|
|
5203
|
+
props: import_zod18.z.object({
|
|
5204
|
+
children: import_zod18.z.string().optional().describe("Text content")
|
|
5205
|
+
}).optional(),
|
|
5206
|
+
children: import_zod18.z.array(uiNodeSchema).optional()
|
|
5207
|
+
}).describe("A paragraph of text");
|
|
5208
|
+
|
|
5209
|
+
// src/ui/Title/schema.ts
|
|
5210
|
+
var import_zod19 = require("zod");
|
|
5211
|
+
var titleSchema = import_zod19.z.object({
|
|
5212
|
+
type: import_zod19.z.literal("title"),
|
|
5213
|
+
props: import_zod19.z.object({
|
|
5214
|
+
children: import_zod19.z.string().optional().describe("Heading text")
|
|
5215
|
+
}).optional(),
|
|
5216
|
+
children: import_zod19.z.array(uiNodeSchema).optional()
|
|
5217
|
+
}).describe("A heading / title element");
|
|
5218
|
+
|
|
5219
|
+
// src/ui/Label/schema.ts
|
|
5220
|
+
var import_zod20 = require("zod");
|
|
5221
|
+
var labelSchema = import_zod20.z.object({
|
|
5222
|
+
type: import_zod20.z.literal("label"),
|
|
5223
|
+
props: import_zod20.z.object({
|
|
5224
|
+
children: import_zod20.z.string().optional().describe("Label text"),
|
|
5225
|
+
htmlFor: import_zod20.z.string().optional().describe("ID of the form element this label is for")
|
|
5226
|
+
}).optional(),
|
|
5227
|
+
children: import_zod20.z.array(uiNodeSchema).optional()
|
|
5228
|
+
}).describe("A form label element");
|
|
5229
|
+
|
|
5230
|
+
// src/ui/Badge/schema.ts
|
|
5231
|
+
var import_zod21 = require("zod");
|
|
5232
|
+
var badgeSchema = import_zod21.z.object({
|
|
5233
|
+
type: import_zod21.z.literal("badge"),
|
|
5234
|
+
props: import_zod21.z.object({
|
|
5235
|
+
children: import_zod21.z.string().optional().describe("Badge text"),
|
|
5236
|
+
type: import_zod21.z.enum([
|
|
5237
|
+
"primary-hard",
|
|
5238
|
+
"primary-soft",
|
|
5239
|
+
"destructive-hard",
|
|
5240
|
+
"destructive-soft",
|
|
5241
|
+
"secondary-hard",
|
|
5242
|
+
"secondary-soft"
|
|
5243
|
+
]).optional().describe("Badge style. Defaults to 'primary-hard'"),
|
|
5244
|
+
size: import_zod21.z.enum(["sm", "md"]).optional().describe("Badge size. Defaults to 'sm'"),
|
|
5245
|
+
rounded: import_zod21.z.boolean().optional().describe("Fully rounded pill shape")
|
|
5246
|
+
}).optional(),
|
|
5247
|
+
children: import_zod21.z.array(uiNodeSchema).optional()
|
|
5248
|
+
}).describe("A small status badge / label");
|
|
5249
|
+
|
|
5250
|
+
// src/ui/Tag/schema.ts
|
|
5251
|
+
var import_zod22 = require("zod");
|
|
5252
|
+
var tagSchema = import_zod22.z.object({
|
|
5253
|
+
type: import_zod22.z.literal("tag"),
|
|
5254
|
+
props: import_zod22.z.object({
|
|
5255
|
+
label: import_zod22.z.string().describe("Tag text"),
|
|
5256
|
+
variant: import_zod22.z.enum(["primary", "secondary", "destructive"]).optional().describe("Tag color variant. Defaults to 'primary'")
|
|
5257
|
+
})
|
|
5258
|
+
}).describe("A colored tag / pill");
|
|
5259
|
+
|
|
5260
|
+
// src/ui/Chip/schema.ts
|
|
5261
|
+
var import_zod23 = require("zod");
|
|
5262
|
+
var chipSchema = import_zod23.z.object({
|
|
5263
|
+
type: import_zod23.z.literal("chip"),
|
|
5264
|
+
props: import_zod23.z.object({
|
|
5265
|
+
label: import_zod23.z.string().describe("Chip text"),
|
|
5266
|
+
type: import_zod23.z.enum(["rounded", "rectangle"]).optional().describe("Chip shape. Defaults to 'rounded'"),
|
|
5267
|
+
color: import_zod23.z.enum([
|
|
5268
|
+
"slate",
|
|
5269
|
+
"red",
|
|
5270
|
+
"orange",
|
|
5271
|
+
"amber",
|
|
5272
|
+
"yellow",
|
|
5273
|
+
"lime",
|
|
5274
|
+
"green",
|
|
5275
|
+
"emerald",
|
|
5276
|
+
"teal",
|
|
5277
|
+
"cyan",
|
|
5278
|
+
"sky",
|
|
5279
|
+
"blue",
|
|
5280
|
+
"indigo",
|
|
5281
|
+
"violet",
|
|
5282
|
+
"purple",
|
|
5283
|
+
"fuchsia",
|
|
5284
|
+
"pink",
|
|
5285
|
+
"rose"
|
|
5286
|
+
]).optional().describe("Chip color. Defaults to 'slate'"),
|
|
5287
|
+
dot: import_zod23.z.boolean().optional().describe("Show a colored dot indicator"),
|
|
5288
|
+
avatar: import_zod23.z.string().optional().describe("Avatar image URL shown inside the chip")
|
|
5289
|
+
})
|
|
5290
|
+
}).describe("A compact chip element with optional color dot or avatar");
|
|
5291
|
+
|
|
5292
|
+
// src/ui/Alert/schema.ts
|
|
5293
|
+
var import_zod24 = require("zod");
|
|
5294
|
+
var alertSchema = import_zod24.z.object({
|
|
5295
|
+
type: import_zod24.z.literal("alert"),
|
|
5296
|
+
props: import_zod24.z.object({
|
|
5297
|
+
variant: import_zod24.z.enum(["default", "secondary", "destructive"]).optional().describe("Alert style. Defaults to 'default'"),
|
|
5298
|
+
title: import_zod24.z.string().optional().describe("Alert heading"),
|
|
5299
|
+
description: import_zod24.z.string().optional().describe("Alert body text")
|
|
5300
|
+
}).optional(),
|
|
5301
|
+
children: import_zod24.z.array(uiNodeSchema).optional()
|
|
5302
|
+
}).describe("An alert / notice banner");
|
|
5303
|
+
|
|
5304
|
+
// src/ui/Skeleton/schema.ts
|
|
5305
|
+
var import_zod25 = require("zod");
|
|
5306
|
+
var skeletonSchema = import_zod25.z.object({
|
|
5307
|
+
type: import_zod25.z.literal("skeleton"),
|
|
5308
|
+
props: import_zod25.z.object({
|
|
5309
|
+
className: import_zod25.z.string().optional().describe("Tailwind classes to control width/height, e.g. 'h-4 w-[250px]'")
|
|
5310
|
+
}).optional()
|
|
5311
|
+
}).describe("A loading placeholder skeleton");
|
|
5312
|
+
|
|
5313
|
+
// src/ui/ProgressIndicator/schema.ts
|
|
5314
|
+
var import_zod26 = require("zod");
|
|
5315
|
+
var progressIndicatorSchema = import_zod26.z.object({
|
|
5316
|
+
type: import_zod26.z.literal("progress-indicator"),
|
|
5317
|
+
props: import_zod26.z.object({
|
|
5318
|
+
value: import_zod26.z.number().describe("Current progress value"),
|
|
5319
|
+
max: import_zod26.z.number().optional().describe("Maximum value. Defaults to 100"),
|
|
5320
|
+
showPercentage: import_zod26.z.boolean().optional().describe("Show percentage text. Defaults to true"),
|
|
5321
|
+
variant: import_zod26.z.enum(["bar", "circle"]).optional().describe("Display style. Defaults to 'bar'")
|
|
5322
|
+
})
|
|
5323
|
+
}).describe("A progress bar or circular progress indicator");
|
|
5324
|
+
|
|
5325
|
+
// src/ui/Avatar/schema.ts
|
|
5326
|
+
var import_zod27 = require("zod");
|
|
5327
|
+
var avatarSchema = import_zod27.z.object({
|
|
5328
|
+
type: import_zod27.z.literal("avatar"),
|
|
5329
|
+
props: import_zod27.z.object({
|
|
5330
|
+
variant: import_zod27.z.enum(["image", "text", "placeholder"]).describe("Avatar display mode"),
|
|
5331
|
+
fallback: import_zod27.z.string().describe("Fallback text (initials) when image is unavailable"),
|
|
5332
|
+
imgsrc: import_zod27.z.string().optional().describe("Image URL (required when variant is 'image')"),
|
|
5333
|
+
size: import_zod27.z.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl"]).optional().describe("Avatar size. Defaults to 'md'"),
|
|
5334
|
+
status: import_zod27.z.enum(["active", "inactive"]).optional().describe("Online status indicator")
|
|
5335
|
+
})
|
|
5336
|
+
}).describe("A user avatar displaying an image, initials, or placeholder");
|
|
5337
|
+
|
|
5338
|
+
// src/ui/AvatarListItem/schema.ts
|
|
5339
|
+
var import_zod28 = require("zod");
|
|
5340
|
+
var avatarListItemSchema = import_zod28.z.object({
|
|
5341
|
+
type: import_zod28.z.literal("avatar-list-item"),
|
|
5342
|
+
props: import_zod28.z.object({
|
|
5343
|
+
avatar: import_zod28.z.string().describe("Avatar image URL"),
|
|
5344
|
+
name: import_zod28.z.string().describe("Display name"),
|
|
5345
|
+
email: import_zod28.z.string().describe("Email address"),
|
|
5346
|
+
isMe: import_zod28.z.boolean().optional().describe("Highlight as current user")
|
|
5347
|
+
})
|
|
5348
|
+
}).describe("An avatar with name and email, typically used in lists");
|
|
5349
|
+
|
|
5350
|
+
// src/ui/Media/schema.ts
|
|
5351
|
+
var import_zod29 = require("zod");
|
|
5352
|
+
var mediaSchema = import_zod29.z.object({
|
|
5353
|
+
type: import_zod29.z.literal("media"),
|
|
5354
|
+
props: import_zod29.z.object({
|
|
5355
|
+
src: import_zod29.z.string().describe("Media source URL"),
|
|
5356
|
+
alt: import_zod29.z.string().optional().describe("Alt text for images"),
|
|
5357
|
+
type: import_zod29.z.enum(["image", "video"]).optional().describe("Media type. Defaults to 'image'"),
|
|
5358
|
+
aspectRatio: import_zod29.z.enum(["1:1", "16:9", "9:16", "4:3", "3:4"]).optional().describe("Fixed aspect ratio"),
|
|
5359
|
+
objectFit: import_zod29.z.enum(["cover", "contain", "fill", "scale-down", "none"]).optional().describe("How the media fills its container. Defaults to 'cover'"),
|
|
5360
|
+
rounded: import_zod29.z.enum(["none", "sm", "md", "lg", "xl", "2xl", "full"]).optional().describe("Border radius"),
|
|
5361
|
+
loading: import_zod29.z.enum(["lazy", "eager"]).optional().describe("Loading strategy. Defaults to 'lazy'")
|
|
5362
|
+
})
|
|
5363
|
+
}).describe("An image or video media element");
|
|
5364
|
+
|
|
5365
|
+
// src/ui/Grid/schema.ts
|
|
5366
|
+
var import_zod30 = require("zod");
|
|
5367
|
+
var gridSchema = import_zod30.z.object({
|
|
5368
|
+
type: import_zod30.z.literal("grid"),
|
|
5369
|
+
props: import_zod30.z.object({
|
|
5370
|
+
className: import_zod30.z.string().optional().describe("Tailwind grid classes, e.g. 'grid-cols-2 gap-4'")
|
|
5371
|
+
}).optional(),
|
|
5372
|
+
children: import_zod30.z.array(uiNodeSchema).optional().describe("Grid items")
|
|
5373
|
+
}).describe("A CSS grid layout container");
|
|
5374
|
+
|
|
5375
|
+
// src/ui/Accordion/schema.ts
|
|
5376
|
+
var import_zod31 = require("zod");
|
|
5377
|
+
var accordionSchema = import_zod31.z.object({
|
|
5378
|
+
type: import_zod31.z.literal("accordion"),
|
|
5379
|
+
props: import_zod31.z.object({
|
|
5380
|
+
type: import_zod31.z.enum(["single", "multiple"]).optional().describe("Allow one or multiple items open. Defaults to 'single'"),
|
|
5381
|
+
collapsible: import_zod31.z.boolean().optional().describe("Allow collapsing all items"),
|
|
5382
|
+
defaultValue: import_zod31.z.union([import_zod31.z.string(), import_zod31.z.array(import_zod31.z.string())]).optional().describe("Initially open item value(s)")
|
|
5383
|
+
}).optional(),
|
|
5384
|
+
children: import_zod31.z.array(uiNodeSchema).optional().describe("Compose with accordion-item children")
|
|
5385
|
+
}).describe("A collapsible accordion container");
|
|
5386
|
+
var accordionItemSchema = import_zod31.z.object({
|
|
5387
|
+
type: import_zod31.z.literal("accordion-item"),
|
|
5388
|
+
props: import_zod31.z.object({
|
|
5389
|
+
value: import_zod31.z.string().describe("Unique item identifier")
|
|
5390
|
+
}),
|
|
5391
|
+
children: import_zod31.z.array(uiNodeSchema).optional().describe("Place accordion-trigger and accordion-content inside")
|
|
5392
|
+
}).describe("A single accordion section");
|
|
5393
|
+
var accordionTriggerSchema = import_zod31.z.object({
|
|
5394
|
+
type: import_zod31.z.literal("accordion-trigger"),
|
|
5395
|
+
props: import_zod31.z.object({
|
|
5396
|
+
children: import_zod31.z.string().optional().describe("Trigger label text")
|
|
5397
|
+
}).optional(),
|
|
5398
|
+
children: import_zod31.z.array(uiNodeSchema).optional()
|
|
5399
|
+
}).describe("Clickable header that toggles an accordion-item");
|
|
5400
|
+
var accordionContentSchema = import_zod31.z.object({
|
|
5401
|
+
type: import_zod31.z.literal("accordion-content"),
|
|
5402
|
+
props: import_zod31.z.object({}).optional(),
|
|
5403
|
+
children: import_zod31.z.array(uiNodeSchema).optional().describe("Content revealed when the item is open")
|
|
5404
|
+
}).describe("Collapsible content area of an accordion-item");
|
|
5405
|
+
|
|
5406
|
+
// src/ui/Tabs/schema.ts
|
|
5407
|
+
var import_zod32 = require("zod");
|
|
5408
|
+
var tabsSchema = import_zod32.z.object({
|
|
5409
|
+
type: import_zod32.z.literal("tabs"),
|
|
5410
|
+
props: import_zod32.z.object({
|
|
5411
|
+
defaultActiveTab: import_zod32.z.string().describe("Value of the initially active tab"),
|
|
5412
|
+
tabs: import_zod32.z.array(
|
|
5413
|
+
import_zod32.z.object({
|
|
5414
|
+
value: import_zod32.z.string().describe("Unique tab identifier"),
|
|
5415
|
+
label: import_zod32.z.string().describe("Tab label text"),
|
|
5416
|
+
count: import_zod32.z.number().optional().describe("Badge count on the tab"),
|
|
5417
|
+
notification: import_zod32.z.boolean().optional().describe("Show notification dot")
|
|
5418
|
+
})
|
|
5419
|
+
).describe("Tab definitions"),
|
|
5420
|
+
tabSmall: import_zod32.z.boolean().optional().describe("Use compact tab styling"),
|
|
5421
|
+
showContent: import_zod32.z.boolean().optional().describe("Show tab content panels. Defaults to true")
|
|
5422
|
+
}),
|
|
5423
|
+
children: import_zod32.z.array(uiNodeSchema).optional().describe("Tab content panels (one per tab, in order)")
|
|
5424
|
+
}).describe("A tabbed interface with switchable content panels");
|
|
5425
|
+
|
|
5426
|
+
// src/ui/WrapperCard/schema.ts
|
|
5427
|
+
var import_zod33 = require("zod");
|
|
5428
|
+
var wrapperCardSchema = import_zod33.z.object({
|
|
5429
|
+
type: import_zod33.z.literal("wrapper-card"),
|
|
5430
|
+
props: import_zod33.z.object({}).optional(),
|
|
5431
|
+
children: import_zod33.z.array(uiNodeSchema).optional().describe("Card body content")
|
|
5432
|
+
}).describe("A simple card wrapper with default padding and border");
|
|
5433
|
+
|
|
5434
|
+
// src/ui/GradientContainer/schema.ts
|
|
5435
|
+
var import_zod34 = require("zod");
|
|
5436
|
+
var gradientContainerSchema = import_zod34.z.object({
|
|
5437
|
+
type: import_zod34.z.literal("gradient-container"),
|
|
5438
|
+
props: import_zod34.z.object({}).optional(),
|
|
5439
|
+
children: import_zod34.z.array(uiNodeSchema).optional().describe("Content inside the gradient container")
|
|
5440
|
+
}).describe("A container with a gradient background");
|
|
5441
|
+
|
|
5442
|
+
// src/ui/Carousel/schema.ts
|
|
5443
|
+
var import_zod35 = require("zod");
|
|
5444
|
+
var carouselSchema = import_zod35.z.object({
|
|
5445
|
+
type: import_zod35.z.literal("carousel"),
|
|
5446
|
+
props: import_zod35.z.object({
|
|
5447
|
+
orientation: import_zod35.z.enum(["horizontal", "vertical"]).optional().describe("Scroll direction. Defaults to 'horizontal'")
|
|
5448
|
+
}).optional(),
|
|
5449
|
+
children: import_zod35.z.array(uiNodeSchema).optional().describe("Place a carousel-content inside")
|
|
5450
|
+
}).describe("A scrollable carousel container");
|
|
5451
|
+
var carouselContentSchema = import_zod35.z.object({
|
|
5452
|
+
type: import_zod35.z.literal("carousel-content"),
|
|
5453
|
+
props: import_zod35.z.object({}).optional(),
|
|
5454
|
+
children: import_zod35.z.array(uiNodeSchema).optional().describe("Compose with carousel-item children")
|
|
5455
|
+
}).describe("Content track of a carousel");
|
|
5456
|
+
var carouselItemSchema = import_zod35.z.object({
|
|
5457
|
+
type: import_zod35.z.literal("carousel-item"),
|
|
5458
|
+
props: import_zod35.z.object({}).optional(),
|
|
5459
|
+
children: import_zod35.z.array(uiNodeSchema).optional().describe("Content for this slide")
|
|
5460
|
+
}).describe("A single slide inside a carousel");
|
|
5461
|
+
|
|
5462
|
+
// src/ui/Toggle/schema.ts
|
|
5463
|
+
var import_zod36 = require("zod");
|
|
5464
|
+
var toggleSchema = import_zod36.z.object({
|
|
5465
|
+
type: import_zod36.z.literal("toggle"),
|
|
5466
|
+
props: import_zod36.z.object({
|
|
5467
|
+
active: import_zod36.z.boolean().optional().describe("Whether the toggle is pressed"),
|
|
5468
|
+
shape: import_zod36.z.enum(["rectangle", "rounded"]).optional().describe("Toggle shape. Defaults to 'rectangle'"),
|
|
5469
|
+
style: import_zod36.z.enum(["ghost", "outline", "soft"]).optional().describe("Visual style. Defaults to 'soft'"),
|
|
5470
|
+
size: import_zod36.z.enum(["sm", "md", "lg"]).optional().describe("Toggle size. Defaults to 'sm'"),
|
|
5471
|
+
disabled: import_zod36.z.boolean().optional()
|
|
5472
|
+
}).optional(),
|
|
5473
|
+
children: import_zod36.z.array(uiNodeSchema).optional().describe("Toggle label / content")
|
|
5474
|
+
}).describe("A pressable toggle button");
|
|
5475
|
+
|
|
5476
|
+
// src/ui/Slider/schema.ts
|
|
5477
|
+
var import_zod37 = require("zod");
|
|
5478
|
+
var sliderSchema = import_zod37.z.object({
|
|
5479
|
+
type: import_zod37.z.literal("slider"),
|
|
5480
|
+
props: import_zod37.z.object({
|
|
5481
|
+
defaultValue: import_zod37.z.union([import_zod37.z.number(), import_zod37.z.array(import_zod37.z.number())]).optional().describe("Initial value or range [min, max]"),
|
|
5482
|
+
min: import_zod37.z.number().optional().describe("Minimum value. Defaults to 0"),
|
|
5483
|
+
max: import_zod37.z.number().optional().describe("Maximum value. Defaults to 100"),
|
|
5484
|
+
step: import_zod37.z.number().optional().describe("Step increment"),
|
|
5485
|
+
disabled: import_zod37.z.boolean().optional()
|
|
5486
|
+
}).optional()
|
|
5487
|
+
}).describe("A range slider input");
|
|
5488
|
+
|
|
5489
|
+
// src/ui/SearchInput/schema.ts
|
|
5490
|
+
var import_zod38 = require("zod");
|
|
5491
|
+
var searchInputSchema = import_zod38.z.object({
|
|
5492
|
+
type: import_zod38.z.literal("search-input"),
|
|
5493
|
+
props: import_zod38.z.object({
|
|
5494
|
+
searchKey: import_zod38.z.string().describe("URL query param key for the search value"),
|
|
5495
|
+
placeholder: import_zod38.z.string().optional().describe("Placeholder text. Defaults to 'Search by...'"),
|
|
5496
|
+
debounceDelay: import_zod38.z.number().optional().describe("Debounce delay in ms. Defaults to 500"),
|
|
5497
|
+
variant: import_zod38.z.enum(["ghost", "outline"]).optional().describe("Input style variant"),
|
|
5498
|
+
disabled: import_zod38.z.boolean().optional()
|
|
5499
|
+
})
|
|
5500
|
+
}).describe("A search input with debounced query param binding");
|
|
5501
|
+
|
|
5502
|
+
// src/ui/IconButton/schema.ts
|
|
5503
|
+
var import_zod39 = require("zod");
|
|
5504
|
+
var iconButtonSchema = import_zod39.z.object({
|
|
5505
|
+
type: import_zod39.z.literal("icon-button"),
|
|
5506
|
+
props: import_zod39.z.object({
|
|
5507
|
+
icon: import_zod39.z.string().describe("Icon name (resolved by the renderer)"),
|
|
5508
|
+
variant: import_zod39.z.enum([
|
|
5509
|
+
"primary",
|
|
5510
|
+
"secondary",
|
|
5511
|
+
"destructive",
|
|
5512
|
+
"outline",
|
|
5513
|
+
"ghost",
|
|
5514
|
+
"soft",
|
|
5515
|
+
"ai-filled",
|
|
5516
|
+
"ai-outline",
|
|
5517
|
+
"glass"
|
|
5518
|
+
]).optional().describe("Button style. Defaults to 'primary'"),
|
|
5519
|
+
size: import_zod39.z.enum(["xs", "sm", "md", "lg"]).optional().describe("Button size. Defaults to 'sm'"),
|
|
5520
|
+
active: import_zod39.z.boolean().optional().describe("Active / pressed state"),
|
|
5521
|
+
rounded: import_zod39.z.boolean().optional().describe("Fully round button"),
|
|
5522
|
+
disabled: import_zod39.z.boolean().optional()
|
|
5523
|
+
})
|
|
5524
|
+
}).describe("An icon-only action button");
|
|
5525
|
+
|
|
5526
|
+
// src/ui/LinkButton/schema.ts
|
|
5527
|
+
var import_zod40 = require("zod");
|
|
5528
|
+
var linkButtonSchema = import_zod40.z.object({
|
|
5529
|
+
type: import_zod40.z.literal("link-button"),
|
|
5530
|
+
props: import_zod40.z.object({
|
|
5531
|
+
href: import_zod40.z.string().describe("Link URL"),
|
|
5532
|
+
children: import_zod40.z.string().optional().describe("Link text")
|
|
5533
|
+
}),
|
|
5534
|
+
children: import_zod40.z.array(uiNodeSchema).optional()
|
|
5535
|
+
}).describe("A button styled as a navigation link");
|
|
5536
|
+
|
|
5537
|
+
// src/ui/ButtonLink/schema.ts
|
|
5538
|
+
var import_zod41 = require("zod");
|
|
5539
|
+
var buttonLinkSchema = import_zod41.z.object({
|
|
5540
|
+
type: import_zod41.z.literal("button-link"),
|
|
5541
|
+
props: import_zod41.z.object({
|
|
5542
|
+
children: import_zod41.z.string().optional().describe("Link text"),
|
|
5543
|
+
variant: import_zod41.z.enum(["link", "text-link", "error"]).optional().describe("Link style. Defaults to 'link'"),
|
|
5544
|
+
href: import_zod41.z.string().optional().describe("Link URL"),
|
|
5545
|
+
disabled: import_zod41.z.boolean().optional()
|
|
5546
|
+
}).optional(),
|
|
5547
|
+
children: import_zod41.z.array(uiNodeSchema).optional()
|
|
5548
|
+
}).describe("An inline text link styled as a button");
|
|
5549
|
+
|
|
5550
|
+
// src/ui/SelectHover/schema.ts
|
|
5551
|
+
var import_zod42 = require("zod");
|
|
5552
|
+
var selectHoverSchema = import_zod42.z.object({
|
|
5553
|
+
type: import_zod42.z.literal("select-hover"),
|
|
5554
|
+
props: import_zod42.z.object({
|
|
5555
|
+
options: import_zod42.z.array(
|
|
5556
|
+
import_zod42.z.object({
|
|
5557
|
+
label: import_zod42.z.string().describe("Display text"),
|
|
5558
|
+
value: import_zod42.z.string().describe("Option value")
|
|
5559
|
+
})
|
|
5560
|
+
).describe("Array of selectable options"),
|
|
5561
|
+
placeholder: import_zod42.z.string().optional().describe("Placeholder text. Defaults to 'Select an option'"),
|
|
5562
|
+
value: import_zod42.z.string().optional().describe("Currently selected value")
|
|
5563
|
+
})
|
|
5564
|
+
}).describe("A hover-activated select dropdown");
|
|
5565
|
+
|
|
5566
|
+
// src/ui/Breadcrumb/schema.ts
|
|
5567
|
+
var import_zod43 = require("zod");
|
|
5568
|
+
var breadcrumbSchema = import_zod43.z.object({
|
|
5569
|
+
type: import_zod43.z.literal("breadcrumb"),
|
|
5570
|
+
props: import_zod43.z.object({
|
|
5571
|
+
items: import_zod43.z.array(
|
|
5572
|
+
import_zod43.z.object({
|
|
5573
|
+
label: import_zod43.z.string().describe("Breadcrumb text"),
|
|
5574
|
+
href: import_zod43.z.string().optional().describe("Navigation URL"),
|
|
5575
|
+
disabled: import_zod43.z.boolean().optional()
|
|
5576
|
+
})
|
|
5577
|
+
).describe("Ordered list of breadcrumb segments")
|
|
5578
|
+
})
|
|
5579
|
+
}).describe("A breadcrumb navigation trail");
|
|
5580
|
+
|
|
5581
|
+
// src/ui/Tooltip/schema.ts
|
|
5582
|
+
var import_zod44 = require("zod");
|
|
5583
|
+
var tooltipSchema = import_zod44.z.object({
|
|
5584
|
+
type: import_zod44.z.literal("tooltip"),
|
|
5585
|
+
props: import_zod44.z.object({
|
|
5586
|
+
content: import_zod44.z.string().describe("Tooltip text"),
|
|
5587
|
+
position: import_zod44.z.enum([
|
|
5588
|
+
"top",
|
|
5589
|
+
"top-center",
|
|
5590
|
+
"top-left",
|
|
5591
|
+
"top-right",
|
|
5592
|
+
"bottom",
|
|
5593
|
+
"bottom-left",
|
|
5594
|
+
"bottom-center",
|
|
5595
|
+
"bottom-right",
|
|
5596
|
+
"left",
|
|
5597
|
+
"right"
|
|
5598
|
+
]).optional().describe("Tooltip placement"),
|
|
5599
|
+
withArrow: import_zod44.z.boolean().optional().describe("Show an arrow pointer")
|
|
5600
|
+
}),
|
|
5601
|
+
children: import_zod44.z.array(uiNodeSchema).optional().describe("The trigger element the tooltip wraps")
|
|
5602
|
+
}).describe("A tooltip that appears on hover over its child element");
|
|
5603
|
+
|
|
5604
|
+
// src/ui/Table/schema.ts
|
|
5605
|
+
var import_zod45 = require("zod");
|
|
5606
|
+
var tableSchema = import_zod45.z.object({
|
|
5607
|
+
type: import_zod45.z.literal("table"),
|
|
5608
|
+
props: import_zod45.z.object({
|
|
5609
|
+
columns: import_zod45.z.array(
|
|
5610
|
+
import_zod45.z.object({
|
|
5611
|
+
accessorKey: import_zod45.z.string().describe("Key in the row data object"),
|
|
5612
|
+
header: import_zod45.z.string().describe("Column header text")
|
|
5613
|
+
})
|
|
5614
|
+
).describe("Column definitions"),
|
|
5615
|
+
tableData: import_zod45.z.array(import_zod45.z.record(import_zod45.z.unknown())).describe("Array of row data objects")
|
|
5616
|
+
})
|
|
5617
|
+
}).describe("A data table with columns and rows");
|
|
5618
|
+
|
|
5619
|
+
// src/ui/Map/schema.ts
|
|
5620
|
+
var import_zod46 = require("zod");
|
|
5621
|
+
var mapMarkerSchema = import_zod46.z.object({
|
|
5622
|
+
lat: import_zod46.z.number().describe("Latitude"),
|
|
5623
|
+
lng: import_zod46.z.number().describe("Longitude"),
|
|
5624
|
+
title: import_zod46.z.string().optional().describe("Marker title shown in info window"),
|
|
5625
|
+
description: import_zod46.z.string().optional().describe("Marker description shown in info window"),
|
|
5626
|
+
color: import_zod46.z.string().optional().describe("Marker pin color (hex or CSS color)")
|
|
5627
|
+
});
|
|
5628
|
+
var googleMapSchema = import_zod46.z.object({
|
|
5629
|
+
type: import_zod46.z.literal("google-map"),
|
|
5630
|
+
props: import_zod46.z.object({
|
|
5631
|
+
center: import_zod46.z.object({
|
|
5632
|
+
lat: import_zod46.z.number().describe("Center latitude"),
|
|
5633
|
+
lng: import_zod46.z.number().describe("Center longitude")
|
|
5634
|
+
}).optional().describe("Map center coordinates"),
|
|
5635
|
+
zoom: import_zod46.z.number().optional().describe("Zoom level (1-20). Defaults to 12"),
|
|
5636
|
+
markers: import_zod46.z.array(mapMarkerSchema).optional().describe("Array of map markers with lat/lng and optional info"),
|
|
5637
|
+
height: import_zod46.z.string().optional().describe("Map height CSS value. Defaults to '400px'"),
|
|
5638
|
+
width: import_zod46.z.string().optional().describe("Map width CSS value. Defaults to '100%'"),
|
|
5639
|
+
gestureHandling: import_zod46.z.enum(["cooperative", "greedy", "none", "auto"]).optional().describe("How the map handles touch/scroll gestures. Defaults to 'cooperative'"),
|
|
5640
|
+
disableDefaultUI: import_zod46.z.boolean().optional().describe("Hide default map controls")
|
|
5641
|
+
})
|
|
5642
|
+
}).describe("An interactive Google Map with optional markers and info windows");
|
|
5643
|
+
|
|
5644
|
+
// src/ui/Calendar/schema.ts
|
|
5645
|
+
var import_zod47 = require("zod");
|
|
5646
|
+
var calendarSchema = import_zod47.z.object({
|
|
5647
|
+
type: import_zod47.z.literal("calendar"),
|
|
5648
|
+
props: import_zod47.z.object({
|
|
5649
|
+
showOutsideDays: import_zod47.z.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
|
|
5650
|
+
captionLayout: import_zod47.z.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
|
|
5651
|
+
buttonVariant: import_zod47.z.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
|
|
5652
|
+
mode: import_zod47.z.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
|
|
5653
|
+
numberOfMonths: import_zod47.z.number().optional().describe("Number of months to display"),
|
|
5654
|
+
disabled: import_zod47.z.boolean().optional()
|
|
5655
|
+
}).optional()
|
|
5656
|
+
}).describe("A date calendar for picking dates or date ranges");
|
|
5657
|
+
|
|
5658
|
+
// src/ui/FileInput/schema.ts
|
|
5659
|
+
var import_zod48 = require("zod");
|
|
5660
|
+
var fileInputSchema = import_zod48.z.object({
|
|
5661
|
+
type: import_zod48.z.literal("file-input"),
|
|
5662
|
+
props: import_zod48.z.object({
|
|
5663
|
+
label: import_zod48.z.string().optional().describe("Label text above the input"),
|
|
5664
|
+
helperText: import_zod48.z.string().optional().describe("Helper text below the input"),
|
|
5665
|
+
error: import_zod48.z.boolean().optional().describe("Show error styling. Defaults to false"),
|
|
5666
|
+
accept: import_zod48.z.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
|
|
5667
|
+
multiple: import_zod48.z.boolean().optional().describe("Allow multiple files. Defaults to false"),
|
|
5668
|
+
disabled: import_zod48.z.boolean().optional()
|
|
5669
|
+
}).optional()
|
|
5670
|
+
}).describe("A file input with choose-file button and upload progress");
|
|
5671
|
+
|
|
5672
|
+
// src/ui/ToolToggle/schema.ts
|
|
5673
|
+
var import_zod49 = require("zod");
|
|
5674
|
+
var toolToggleSchema = import_zod49.z.object({
|
|
5675
|
+
type: import_zod49.z.literal("tool-toggle"),
|
|
5676
|
+
props: import_zod49.z.object({
|
|
5677
|
+
icon: import_zod49.z.string().optional().describe("Icon name (resolved by the renderer)"),
|
|
5678
|
+
dropdown: import_zod49.z.boolean().optional().describe("Show dropdown chevron")
|
|
5679
|
+
}).optional()
|
|
5680
|
+
}).describe("A round toggle button used in toolbars, optionally with a dropdown");
|
|
5681
|
+
|
|
5682
|
+
// src/ui/ToggleDropdownButton/schema.ts
|
|
5683
|
+
var import_zod50 = require("zod");
|
|
5684
|
+
var toggleDropdownButtonSchema = import_zod50.z.object({
|
|
5685
|
+
type: import_zod50.z.literal("toggle-dropdown-button"),
|
|
5686
|
+
props: import_zod50.z.object({
|
|
5687
|
+
type: import_zod50.z.enum(["text", "icon"]).describe("Button content type"),
|
|
5688
|
+
selected: import_zod50.z.boolean().describe("Whether the button is selected"),
|
|
5689
|
+
variant: import_zod50.z.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
|
|
5690
|
+
})
|
|
5691
|
+
}).describe("A split toggle button with an attached dropdown trigger");
|
|
5692
|
+
|
|
5693
|
+
// src/ui/IconContainer/schema.ts
|
|
5694
|
+
var import_zod51 = require("zod");
|
|
5695
|
+
var iconContainerSchema = import_zod51.z.object({
|
|
5696
|
+
type: import_zod51.z.literal("icon-container"),
|
|
5697
|
+
props: import_zod51.z.object({
|
|
5698
|
+
icon: import_zod51.z.string().optional().describe("Icon name (resolved by the renderer)"),
|
|
5699
|
+
size: import_zod51.z.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
|
|
5700
|
+
colorInFill: import_zod51.z.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
|
|
5701
|
+
disableTheme: import_zod51.z.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
|
|
5702
|
+
}).optional(),
|
|
5703
|
+
children: import_zod51.z.array(uiNodeSchema).optional().describe("Icon element")
|
|
5704
|
+
}).describe("A sized container for static icons with theme-aware coloring");
|
|
5705
|
+
|
|
5706
|
+
// src/ui/IconProfile/schema.ts
|
|
5707
|
+
var import_zod52 = require("zod");
|
|
5708
|
+
var iconProfileSchema = import_zod52.z.object({
|
|
5709
|
+
type: import_zod52.z.literal("icon-profile"),
|
|
5710
|
+
props: import_zod52.z.object({
|
|
5711
|
+
icon: import_zod52.z.string().describe("Icon name (resolved by the renderer)"),
|
|
5712
|
+
color: import_zod52.z.enum([
|
|
5713
|
+
"red",
|
|
5714
|
+
"orange",
|
|
5715
|
+
"amber",
|
|
5716
|
+
"yellow",
|
|
5717
|
+
"lime",
|
|
5718
|
+
"green",
|
|
5719
|
+
"emerald",
|
|
5720
|
+
"teal",
|
|
5721
|
+
"cyan",
|
|
5722
|
+
"sky",
|
|
5723
|
+
"blue",
|
|
5724
|
+
"indigo",
|
|
5725
|
+
"violet",
|
|
5726
|
+
"purple",
|
|
5727
|
+
"fuchsia",
|
|
5728
|
+
"pink",
|
|
5729
|
+
"rose",
|
|
5730
|
+
"slate"
|
|
5731
|
+
]).optional().describe("Background glow and icon color. Defaults to 'red'"),
|
|
5732
|
+
size: import_zod52.z.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
|
|
5733
|
+
externalIcon: import_zod52.z.boolean().optional().describe("Whether the icon is external")
|
|
5734
|
+
})
|
|
5735
|
+
}).describe("An icon with a colored radial glow background");
|
|
5736
|
+
|
|
5737
|
+
// src/ui/ButtonWithTooltip/schema.ts
|
|
5738
|
+
var import_zod53 = require("zod");
|
|
5739
|
+
var buttonWithTooltipSchema = import_zod53.z.object({
|
|
5740
|
+
type: import_zod53.z.literal("button-with-tooltip"),
|
|
5741
|
+
props: import_zod53.z.object({
|
|
5742
|
+
content: import_zod53.z.string().describe("Tooltip text"),
|
|
5743
|
+
position: import_zod53.z.enum([
|
|
5744
|
+
"top",
|
|
5745
|
+
"top-center",
|
|
5746
|
+
"top-left",
|
|
5747
|
+
"top-right",
|
|
5748
|
+
"bottom",
|
|
5749
|
+
"bottom-left",
|
|
5750
|
+
"bottom-center",
|
|
5751
|
+
"bottom-right",
|
|
5752
|
+
"left",
|
|
5753
|
+
"right"
|
|
5754
|
+
]).optional().describe("Tooltip placement"),
|
|
5755
|
+
withArrow: import_zod53.z.boolean().optional().describe("Show an arrow pointer")
|
|
5756
|
+
}),
|
|
5757
|
+
children: import_zod53.z.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
|
|
5758
|
+
}).describe("A button wrapped with a tooltip that appears on hover");
|
|
5759
|
+
|
|
5760
|
+
// src/ui/Sheet/schema.ts
|
|
5761
|
+
var import_zod54 = require("zod");
|
|
5762
|
+
var sheetSchema = import_zod54.z.object({
|
|
5763
|
+
type: import_zod54.z.literal("sheet"),
|
|
5764
|
+
props: import_zod54.z.object({}).optional(),
|
|
5765
|
+
children: import_zod54.z.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
|
|
5766
|
+
}).describe("A slide-out panel overlay");
|
|
5767
|
+
var sheetTriggerSchema = import_zod54.z.object({
|
|
5768
|
+
type: import_zod54.z.literal("sheet-trigger"),
|
|
5769
|
+
props: import_zod54.z.object({}).optional(),
|
|
5770
|
+
children: import_zod54.z.array(uiNodeSchema).optional().describe("The element that opens the sheet")
|
|
5771
|
+
}).describe("Trigger element that opens a sheet");
|
|
5772
|
+
var sheetContentSchema = import_zod54.z.object({
|
|
5773
|
+
type: import_zod54.z.literal("sheet-content"),
|
|
5774
|
+
props: import_zod54.z.object({
|
|
5775
|
+
side: import_zod54.z.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
|
|
5776
|
+
showCloseButton: import_zod54.z.boolean().optional().describe("Show close button. Defaults to true")
|
|
5777
|
+
}).optional(),
|
|
5778
|
+
children: import_zod54.z.array(uiNodeSchema).optional().describe("Sheet body content")
|
|
5779
|
+
}).describe("Content panel of a sheet");
|
|
5780
|
+
var sheetHeaderSchema = import_zod54.z.object({
|
|
5781
|
+
type: import_zod54.z.literal("sheet-header"),
|
|
5782
|
+
props: import_zod54.z.object({}).optional(),
|
|
5783
|
+
children: import_zod54.z.array(uiNodeSchema).optional()
|
|
5784
|
+
}).describe("Header section of a sheet");
|
|
5785
|
+
var sheetFooterSchema = import_zod54.z.object({
|
|
5786
|
+
type: import_zod54.z.literal("sheet-footer"),
|
|
5787
|
+
props: import_zod54.z.object({}).optional(),
|
|
5788
|
+
children: import_zod54.z.array(uiNodeSchema).optional()
|
|
5789
|
+
}).describe("Footer section of a sheet");
|
|
5790
|
+
var sheetTitleSchema = import_zod54.z.object({
|
|
5791
|
+
type: import_zod54.z.literal("sheet-title"),
|
|
5792
|
+
props: import_zod54.z.object({
|
|
5793
|
+
children: import_zod54.z.string().optional().describe("Title text")
|
|
5794
|
+
}).optional(),
|
|
5795
|
+
children: import_zod54.z.array(uiNodeSchema).optional()
|
|
5796
|
+
}).describe("Title inside a sheet-header");
|
|
5797
|
+
var sheetDescriptionSchema = import_zod54.z.object({
|
|
5798
|
+
type: import_zod54.z.literal("sheet-description"),
|
|
5799
|
+
props: import_zod54.z.object({
|
|
5800
|
+
children: import_zod54.z.string().optional().describe("Description text")
|
|
5801
|
+
}).optional(),
|
|
5802
|
+
children: import_zod54.z.array(uiNodeSchema).optional()
|
|
5803
|
+
}).describe("Description text inside a sheet-header");
|
|
5804
|
+
|
|
5805
|
+
// src/ui/Dropdown/schema.ts
|
|
5806
|
+
var import_zod55 = require("zod");
|
|
5807
|
+
var dropdownMenuSchema = import_zod55.z.object({
|
|
5808
|
+
type: import_zod55.z.literal("dropdown-menu"),
|
|
5809
|
+
props: import_zod55.z.object({}).optional(),
|
|
5810
|
+
children: import_zod55.z.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
|
|
5811
|
+
}).describe("A dropdown menu container");
|
|
5812
|
+
var dropdownMenuTriggerSchema = import_zod55.z.object({
|
|
5813
|
+
type: import_zod55.z.literal("dropdown-menu-trigger"),
|
|
5814
|
+
props: import_zod55.z.object({}).optional(),
|
|
5815
|
+
children: import_zod55.z.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
|
|
5816
|
+
}).describe("Trigger element that opens a dropdown menu");
|
|
5817
|
+
var dropdownMenuContentSchema = import_zod55.z.object({
|
|
5818
|
+
type: import_zod55.z.literal("dropdown-menu-content"),
|
|
5819
|
+
props: import_zod55.z.object({
|
|
5820
|
+
side: import_zod55.z.enum(["top", "right", "bottom", "left"]).optional(),
|
|
5821
|
+
align: import_zod55.z.enum(["start", "center", "end"]).optional()
|
|
5822
|
+
}).optional(),
|
|
5823
|
+
children: import_zod55.z.array(uiNodeSchema).optional().describe("Menu items")
|
|
5824
|
+
}).describe("Content panel of a dropdown menu");
|
|
5825
|
+
var dropdownMenuItemSchema = import_zod55.z.object({
|
|
5826
|
+
type: import_zod55.z.literal("dropdown-menu-item"),
|
|
5827
|
+
props: import_zod55.z.object({
|
|
5828
|
+
children: import_zod55.z.string().optional().describe("Menu item text"),
|
|
5829
|
+
variant: import_zod55.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
|
|
5830
|
+
disabled: import_zod55.z.boolean().optional()
|
|
5831
|
+
}).optional(),
|
|
5832
|
+
children: import_zod55.z.array(uiNodeSchema).optional()
|
|
5833
|
+
}).describe("A single item inside a dropdown menu");
|
|
5834
|
+
var dropdownMenuSeparatorSchema = import_zod55.z.object({
|
|
5835
|
+
type: import_zod55.z.literal("dropdown-menu-separator"),
|
|
5836
|
+
props: import_zod55.z.object({}).optional()
|
|
5837
|
+
}).describe("A visual separator between dropdown menu items");
|
|
5838
|
+
var dropdownMenuLabelSchema = import_zod55.z.object({
|
|
5839
|
+
type: import_zod55.z.literal("dropdown-menu-label"),
|
|
5840
|
+
props: import_zod55.z.object({
|
|
5841
|
+
children: import_zod55.z.string().optional().describe("Label text")
|
|
5842
|
+
}).optional(),
|
|
5843
|
+
children: import_zod55.z.array(uiNodeSchema).optional()
|
|
5844
|
+
}).describe("A non-interactive label inside a dropdown menu");
|
|
5845
|
+
|
|
5846
|
+
// src/ui/Popover/schema.ts
|
|
5847
|
+
var import_zod56 = require("zod");
|
|
5848
|
+
var popoverSchema = import_zod56.z.object({
|
|
5849
|
+
type: import_zod56.z.literal("popover"),
|
|
5850
|
+
props: import_zod56.z.object({}).optional(),
|
|
5851
|
+
children: import_zod56.z.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
|
|
5852
|
+
}).describe("A popover overlay container");
|
|
5853
|
+
var popoverTriggerSchema = import_zod56.z.object({
|
|
5854
|
+
type: import_zod56.z.literal("popover-trigger"),
|
|
5855
|
+
props: import_zod56.z.object({}).optional(),
|
|
5856
|
+
children: import_zod56.z.array(uiNodeSchema).optional().describe("The element that opens the popover")
|
|
5857
|
+
}).describe("Trigger element that opens a popover");
|
|
5858
|
+
var popoverContentSchema = import_zod56.z.object({
|
|
5859
|
+
type: import_zod56.z.literal("popover-content"),
|
|
5860
|
+
props: import_zod56.z.object({
|
|
5861
|
+
align: import_zod56.z.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
|
|
5862
|
+
sideOffset: import_zod56.z.number().optional().describe("Offset from trigger in px. Defaults to 4")
|
|
5863
|
+
}).optional(),
|
|
5864
|
+
children: import_zod56.z.array(uiNodeSchema).optional().describe("Popover body content")
|
|
5865
|
+
}).describe("Content panel of a popover");
|
|
5866
|
+
|
|
5867
|
+
// src/ui/ContextMenu/schema.ts
|
|
5868
|
+
var import_zod57 = require("zod");
|
|
5869
|
+
var contextMenuSchema = import_zod57.z.object({
|
|
5870
|
+
type: import_zod57.z.literal("context-menu"),
|
|
5871
|
+
props: import_zod57.z.object({}).optional(),
|
|
5872
|
+
children: import_zod57.z.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
|
|
5873
|
+
}).describe("A right-click context menu container");
|
|
5874
|
+
var contextMenuTriggerSchema = import_zod57.z.object({
|
|
5875
|
+
type: import_zod57.z.literal("context-menu-trigger"),
|
|
5876
|
+
props: import_zod57.z.object({}).optional(),
|
|
5877
|
+
children: import_zod57.z.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
|
|
5878
|
+
}).describe("Trigger area for a context menu");
|
|
5879
|
+
var contextMenuContentSchema = import_zod57.z.object({
|
|
5880
|
+
type: import_zod57.z.literal("context-menu-content"),
|
|
5881
|
+
props: import_zod57.z.object({}).optional(),
|
|
5882
|
+
children: import_zod57.z.array(uiNodeSchema).optional().describe("Menu items")
|
|
5883
|
+
}).describe("Content panel of a context menu");
|
|
5884
|
+
var contextMenuItemSchema = import_zod57.z.object({
|
|
5885
|
+
type: import_zod57.z.literal("context-menu-item"),
|
|
5886
|
+
props: import_zod57.z.object({
|
|
5887
|
+
children: import_zod57.z.string().optional().describe("Menu item text"),
|
|
5888
|
+
variant: import_zod57.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
|
|
5889
|
+
disabled: import_zod57.z.boolean().optional()
|
|
5890
|
+
}).optional(),
|
|
5891
|
+
children: import_zod57.z.array(uiNodeSchema).optional()
|
|
5892
|
+
}).describe("A single item inside a context menu");
|
|
5893
|
+
var contextMenuSeparatorSchema = import_zod57.z.object({
|
|
5894
|
+
type: import_zod57.z.literal("context-menu-separator"),
|
|
5895
|
+
props: import_zod57.z.object({}).optional()
|
|
5896
|
+
}).describe("A visual separator between context menu items");
|
|
5897
|
+
|
|
4191
5898
|
// src/schema.ts
|
|
4192
5899
|
var componentSchema = component_schema_default;
|
|
4193
5900
|
function getComponentSchemas() {
|
|
4194
5901
|
return componentSchema.components;
|
|
4195
5902
|
}
|
|
5903
|
+
var componentSchemas = {
|
|
5904
|
+
button: buttonSchema,
|
|
5905
|
+
"tool-button": toolButtonSchema,
|
|
5906
|
+
card: cardSchema,
|
|
5907
|
+
"card-header": cardHeaderSchema,
|
|
5908
|
+
"card-title": cardTitleSchema,
|
|
5909
|
+
"card-description": cardDescriptionSchema,
|
|
5910
|
+
"card-content": cardContentSchema,
|
|
5911
|
+
"card-footer": cardFooterSchema,
|
|
5912
|
+
"card-action": cardActionSchema,
|
|
5913
|
+
form: formSchema,
|
|
5914
|
+
"input-field": inputFieldSchema,
|
|
5915
|
+
"password-field": passwordFieldSchema,
|
|
5916
|
+
"textarea-field": textareaFieldSchema,
|
|
5917
|
+
"select-field": selectFieldSchema,
|
|
5918
|
+
"checkbox-field": checkboxFieldSchema,
|
|
5919
|
+
"radio-field": radioFieldSchema,
|
|
5920
|
+
"switch-field": switchFieldSchema,
|
|
5921
|
+
"date-field": dateFieldSchema,
|
|
5922
|
+
"time-field": timeFieldSchema,
|
|
5923
|
+
"combobox-field": comboboxFieldSchema,
|
|
5924
|
+
"multi-select-field": multiSelectFieldSchema,
|
|
5925
|
+
"otp-field": otpFieldSchema,
|
|
5926
|
+
"file-upload-field": fileUploadFieldSchema,
|
|
5927
|
+
text: textSchema,
|
|
5928
|
+
title: titleSchema,
|
|
5929
|
+
label: labelSchema,
|
|
5930
|
+
badge: badgeSchema,
|
|
5931
|
+
tag: tagSchema,
|
|
5932
|
+
chip: chipSchema,
|
|
5933
|
+
alert: alertSchema,
|
|
5934
|
+
skeleton: skeletonSchema,
|
|
5935
|
+
"progress-indicator": progressIndicatorSchema,
|
|
5936
|
+
avatar: avatarSchema,
|
|
5937
|
+
"avatar-list-item": avatarListItemSchema,
|
|
5938
|
+
media: mediaSchema,
|
|
5939
|
+
grid: gridSchema,
|
|
5940
|
+
accordion: accordionSchema,
|
|
5941
|
+
"accordion-item": accordionItemSchema,
|
|
5942
|
+
"accordion-trigger": accordionTriggerSchema,
|
|
5943
|
+
"accordion-content": accordionContentSchema,
|
|
5944
|
+
tabs: tabsSchema,
|
|
5945
|
+
"wrapper-card": wrapperCardSchema,
|
|
5946
|
+
"gradient-container": gradientContainerSchema,
|
|
5947
|
+
carousel: carouselSchema,
|
|
5948
|
+
"carousel-content": carouselContentSchema,
|
|
5949
|
+
"carousel-item": carouselItemSchema,
|
|
5950
|
+
toggle: toggleSchema,
|
|
5951
|
+
slider: sliderSchema,
|
|
5952
|
+
"search-input": searchInputSchema,
|
|
5953
|
+
"icon-button": iconButtonSchema,
|
|
5954
|
+
"link-button": linkButtonSchema,
|
|
5955
|
+
"button-link": buttonLinkSchema,
|
|
5956
|
+
"select-hover": selectHoverSchema,
|
|
5957
|
+
breadcrumb: breadcrumbSchema,
|
|
5958
|
+
tooltip: tooltipSchema,
|
|
5959
|
+
table: tableSchema,
|
|
5960
|
+
"google-map": googleMapSchema,
|
|
5961
|
+
calendar: calendarSchema,
|
|
5962
|
+
"file-input": fileInputSchema,
|
|
5963
|
+
"tool-toggle": toolToggleSchema,
|
|
5964
|
+
"toggle-dropdown-button": toggleDropdownButtonSchema,
|
|
5965
|
+
"icon-container": iconContainerSchema,
|
|
5966
|
+
"icon-profile": iconProfileSchema,
|
|
5967
|
+
"button-with-tooltip": buttonWithTooltipSchema,
|
|
5968
|
+
sheet: sheetSchema,
|
|
5969
|
+
"sheet-trigger": sheetTriggerSchema,
|
|
5970
|
+
"sheet-content": sheetContentSchema,
|
|
5971
|
+
"sheet-header": sheetHeaderSchema,
|
|
5972
|
+
"sheet-footer": sheetFooterSchema,
|
|
5973
|
+
"sheet-title": sheetTitleSchema,
|
|
5974
|
+
"sheet-description": sheetDescriptionSchema,
|
|
5975
|
+
"dropdown-menu": dropdownMenuSchema,
|
|
5976
|
+
"dropdown-menu-trigger": dropdownMenuTriggerSchema,
|
|
5977
|
+
"dropdown-menu-content": dropdownMenuContentSchema,
|
|
5978
|
+
"dropdown-menu-item": dropdownMenuItemSchema,
|
|
5979
|
+
"dropdown-menu-separator": dropdownMenuSeparatorSchema,
|
|
5980
|
+
"dropdown-menu-label": dropdownMenuLabelSchema,
|
|
5981
|
+
popover: popoverSchema,
|
|
5982
|
+
"popover-trigger": popoverTriggerSchema,
|
|
5983
|
+
"popover-content": popoverContentSchema,
|
|
5984
|
+
"context-menu": contextMenuSchema,
|
|
5985
|
+
"context-menu-trigger": contextMenuTriggerSchema,
|
|
5986
|
+
"context-menu-content": contextMenuContentSchema,
|
|
5987
|
+
"context-menu-item": contextMenuItemSchema,
|
|
5988
|
+
"context-menu-separator": contextMenuSeparatorSchema
|
|
5989
|
+
};
|
|
4196
5990
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4197
5991
|
0 && (module.exports = {
|
|
5992
|
+
accordionContentSchema,
|
|
5993
|
+
accordionItemSchema,
|
|
5994
|
+
accordionSchema,
|
|
5995
|
+
accordionTriggerSchema,
|
|
5996
|
+
alertSchema,
|
|
5997
|
+
avatarListItemSchema,
|
|
5998
|
+
avatarSchema,
|
|
5999
|
+
badgeSchema,
|
|
6000
|
+
breadcrumbSchema,
|
|
6001
|
+
buttonLinkSchema,
|
|
6002
|
+
buttonSchema,
|
|
6003
|
+
buttonWithTooltipSchema,
|
|
6004
|
+
calendarSchema,
|
|
6005
|
+
cardActionSchema,
|
|
6006
|
+
cardContentSchema,
|
|
6007
|
+
cardDescriptionSchema,
|
|
6008
|
+
cardFooterSchema,
|
|
6009
|
+
cardHeaderSchema,
|
|
6010
|
+
cardSchema,
|
|
6011
|
+
cardTitleSchema,
|
|
6012
|
+
carouselContentSchema,
|
|
6013
|
+
carouselItemSchema,
|
|
6014
|
+
carouselSchema,
|
|
6015
|
+
checkboxFieldSchema,
|
|
6016
|
+
chipSchema,
|
|
6017
|
+
comboboxFieldSchema,
|
|
4198
6018
|
componentSchema,
|
|
4199
|
-
|
|
6019
|
+
componentSchemas,
|
|
6020
|
+
contextMenuContentSchema,
|
|
6021
|
+
contextMenuItemSchema,
|
|
6022
|
+
contextMenuSchema,
|
|
6023
|
+
contextMenuSeparatorSchema,
|
|
6024
|
+
contextMenuTriggerSchema,
|
|
6025
|
+
dateFieldSchema,
|
|
6026
|
+
dropdownMenuContentSchema,
|
|
6027
|
+
dropdownMenuItemSchema,
|
|
6028
|
+
dropdownMenuLabelSchema,
|
|
6029
|
+
dropdownMenuSchema,
|
|
6030
|
+
dropdownMenuSeparatorSchema,
|
|
6031
|
+
dropdownMenuTriggerSchema,
|
|
6032
|
+
fileInputSchema,
|
|
6033
|
+
fileUploadFieldSchema,
|
|
6034
|
+
formSchema,
|
|
6035
|
+
getComponentSchemas,
|
|
6036
|
+
googleMapSchema,
|
|
6037
|
+
gradientContainerSchema,
|
|
6038
|
+
gridSchema,
|
|
6039
|
+
iconButtonSchema,
|
|
6040
|
+
iconContainerSchema,
|
|
6041
|
+
iconProfileSchema,
|
|
6042
|
+
inputFieldSchema,
|
|
6043
|
+
labelSchema,
|
|
6044
|
+
linkButtonSchema,
|
|
6045
|
+
mediaSchema,
|
|
6046
|
+
multiSelectFieldSchema,
|
|
6047
|
+
otpFieldSchema,
|
|
6048
|
+
passwordFieldSchema,
|
|
6049
|
+
popoverContentSchema,
|
|
6050
|
+
popoverSchema,
|
|
6051
|
+
popoverTriggerSchema,
|
|
6052
|
+
progressIndicatorSchema,
|
|
6053
|
+
radioFieldSchema,
|
|
6054
|
+
searchInputSchema,
|
|
6055
|
+
selectFieldSchema,
|
|
6056
|
+
selectHoverSchema,
|
|
6057
|
+
sheetContentSchema,
|
|
6058
|
+
sheetDescriptionSchema,
|
|
6059
|
+
sheetFooterSchema,
|
|
6060
|
+
sheetHeaderSchema,
|
|
6061
|
+
sheetSchema,
|
|
6062
|
+
sheetTitleSchema,
|
|
6063
|
+
sheetTriggerSchema,
|
|
6064
|
+
skeletonSchema,
|
|
6065
|
+
sliderSchema,
|
|
6066
|
+
switchFieldSchema,
|
|
6067
|
+
tableSchema,
|
|
6068
|
+
tabsSchema,
|
|
6069
|
+
tagSchema,
|
|
6070
|
+
textSchema,
|
|
6071
|
+
textareaFieldSchema,
|
|
6072
|
+
timeFieldSchema,
|
|
6073
|
+
titleSchema,
|
|
6074
|
+
toggleDropdownButtonSchema,
|
|
6075
|
+
toggleSchema,
|
|
6076
|
+
toolButtonSchema,
|
|
6077
|
+
toolToggleSchema,
|
|
6078
|
+
tooltipSchema,
|
|
6079
|
+
uiNodeSchema,
|
|
6080
|
+
wrapperCardSchema
|
|
4200
6081
|
});
|
|
4201
6082
|
//# sourceMappingURL=schema.cjs.map
|