@grayscale-dev/dragon 0.1.4 → 0.1.5

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.
@@ -0,0 +1,996 @@
1
+ import { z } from 'zod';
2
+ export declare const AttributeMetaSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ description: z.ZodString;
5
+ type: z.ZodString;
6
+ required: z.ZodOptional<z.ZodBoolean>;
7
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8
+ control: z.ZodOptional<z.ZodEnum<["text", "number", "boolean", "select", "color"]>>;
9
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ value: z.ZodString;
11
+ label: z.ZodOptional<z.ZodString>;
12
+ description: z.ZodOptional<z.ZodString>;
13
+ }, "strict", z.ZodTypeAny, {
14
+ value: string;
15
+ label?: string | undefined;
16
+ description?: string | undefined;
17
+ }, {
18
+ value: string;
19
+ label?: string | undefined;
20
+ description?: string | undefined;
21
+ }>, "many">>;
22
+ }, "strict", z.ZodTypeAny, {
23
+ type: string;
24
+ name: string;
25
+ description: string;
26
+ required?: boolean | undefined;
27
+ options?: {
28
+ value: string;
29
+ label?: string | undefined;
30
+ description?: string | undefined;
31
+ }[] | undefined;
32
+ default?: string | number | boolean | undefined;
33
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
34
+ }, {
35
+ type: string;
36
+ name: string;
37
+ description: string;
38
+ required?: boolean | undefined;
39
+ options?: {
40
+ value: string;
41
+ label?: string | undefined;
42
+ description?: string | undefined;
43
+ }[] | undefined;
44
+ default?: string | number | boolean | undefined;
45
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
46
+ }>;
47
+ export declare const PropertyMetaSchema: z.ZodObject<{
48
+ name: z.ZodString;
49
+ description: z.ZodString;
50
+ type: z.ZodString;
51
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
52
+ readonly: z.ZodOptional<z.ZodBoolean>;
53
+ }, "strict", z.ZodTypeAny, {
54
+ type: string;
55
+ name: string;
56
+ description: string;
57
+ default?: string | number | boolean | undefined;
58
+ readonly?: boolean | undefined;
59
+ }, {
60
+ type: string;
61
+ name: string;
62
+ description: string;
63
+ default?: string | number | boolean | undefined;
64
+ readonly?: boolean | undefined;
65
+ }>;
66
+ export declare const EventMetaSchema: z.ZodObject<{
67
+ name: z.ZodString;
68
+ description: z.ZodString;
69
+ bubbles: z.ZodOptional<z.ZodBoolean>;
70
+ composed: z.ZodOptional<z.ZodBoolean>;
71
+ }, "strict", z.ZodTypeAny, {
72
+ name: string;
73
+ description: string;
74
+ bubbles?: boolean | undefined;
75
+ composed?: boolean | undefined;
76
+ }, {
77
+ name: string;
78
+ description: string;
79
+ bubbles?: boolean | undefined;
80
+ composed?: boolean | undefined;
81
+ }>;
82
+ export declare const PartMetaSchema: z.ZodObject<{
83
+ name: z.ZodString;
84
+ description: z.ZodString;
85
+ }, "strict", z.ZodTypeAny, {
86
+ name: string;
87
+ description: string;
88
+ }, {
89
+ name: string;
90
+ description: string;
91
+ }>;
92
+ export declare const CssTokenMetaSchema: z.ZodObject<{
93
+ name: z.ZodString;
94
+ group: z.ZodString;
95
+ description: z.ZodString;
96
+ default: z.ZodString;
97
+ control: z.ZodEnum<["text", "color", "number", "border", "shadow"]>;
98
+ placeholder: z.ZodOptional<z.ZodString>;
99
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
100
+ }, "strict", z.ZodTypeAny, {
101
+ name: string;
102
+ description: string;
103
+ default: string;
104
+ control: "number" | "text" | "color" | "border" | "shadow";
105
+ group: string;
106
+ placeholder?: string | undefined;
107
+ examples?: string[] | undefined;
108
+ }, {
109
+ name: string;
110
+ description: string;
111
+ default: string;
112
+ control: "number" | "text" | "color" | "border" | "shadow";
113
+ group: string;
114
+ placeholder?: string | undefined;
115
+ examples?: string[] | undefined;
116
+ }>;
117
+ declare const BuilderControlSchema: z.ZodObject<{
118
+ id: z.ZodString;
119
+ kind: z.ZodEnum<["cssToken", "attribute"]>;
120
+ ref: z.ZodString;
121
+ group: z.ZodString;
122
+ label: z.ZodString;
123
+ description: z.ZodOptional<z.ZodString>;
124
+ order: z.ZodNumber;
125
+ }, "strict", z.ZodTypeAny, {
126
+ label: string;
127
+ id: string;
128
+ group: string;
129
+ order: number;
130
+ kind: "attribute" | "cssToken";
131
+ ref: string;
132
+ description?: string | undefined;
133
+ }, {
134
+ label: string;
135
+ id: string;
136
+ group: string;
137
+ order: number;
138
+ kind: "attribute" | "cssToken";
139
+ ref: string;
140
+ description?: string | undefined;
141
+ }>;
142
+ export declare const BuilderMetaSchema: z.ZodObject<{
143
+ groups: z.ZodArray<z.ZodObject<{
144
+ id: z.ZodString;
145
+ label: z.ZodString;
146
+ description: z.ZodOptional<z.ZodString>;
147
+ order: z.ZodNumber;
148
+ }, "strict", z.ZodTypeAny, {
149
+ label: string;
150
+ id: string;
151
+ order: number;
152
+ description?: string | undefined;
153
+ }, {
154
+ label: string;
155
+ id: string;
156
+ order: number;
157
+ description?: string | undefined;
158
+ }>, "many">;
159
+ controls: z.ZodArray<z.ZodObject<{
160
+ id: z.ZodString;
161
+ kind: z.ZodEnum<["cssToken", "attribute"]>;
162
+ ref: z.ZodString;
163
+ group: z.ZodString;
164
+ label: z.ZodString;
165
+ description: z.ZodOptional<z.ZodString>;
166
+ order: z.ZodNumber;
167
+ }, "strict", z.ZodTypeAny, {
168
+ label: string;
169
+ id: string;
170
+ group: string;
171
+ order: number;
172
+ kind: "attribute" | "cssToken";
173
+ ref: string;
174
+ description?: string | undefined;
175
+ }, {
176
+ label: string;
177
+ id: string;
178
+ group: string;
179
+ order: number;
180
+ kind: "attribute" | "cssToken";
181
+ ref: string;
182
+ description?: string | undefined;
183
+ }>, "many">;
184
+ }, "strict", z.ZodTypeAny, {
185
+ groups: {
186
+ label: string;
187
+ id: string;
188
+ order: number;
189
+ description?: string | undefined;
190
+ }[];
191
+ controls: {
192
+ label: string;
193
+ id: string;
194
+ group: string;
195
+ order: number;
196
+ kind: "attribute" | "cssToken";
197
+ ref: string;
198
+ description?: string | undefined;
199
+ }[];
200
+ }, {
201
+ groups: {
202
+ label: string;
203
+ id: string;
204
+ order: number;
205
+ description?: string | undefined;
206
+ }[];
207
+ controls: {
208
+ label: string;
209
+ id: string;
210
+ group: string;
211
+ order: number;
212
+ kind: "attribute" | "cssToken";
213
+ ref: string;
214
+ description?: string | undefined;
215
+ }[];
216
+ }>;
217
+ export declare const ComponentManifestSchema: z.ZodObject<{
218
+ tag: z.ZodString;
219
+ title: z.ZodString;
220
+ description: z.ZodString;
221
+ status: z.ZodOptional<z.ZodEnum<["stable", "beta", "experimental"]>>;
222
+ attributes: z.ZodArray<z.ZodObject<{
223
+ name: z.ZodString;
224
+ description: z.ZodString;
225
+ type: z.ZodString;
226
+ required: z.ZodOptional<z.ZodBoolean>;
227
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
228
+ control: z.ZodOptional<z.ZodEnum<["text", "number", "boolean", "select", "color"]>>;
229
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
230
+ value: z.ZodString;
231
+ label: z.ZodOptional<z.ZodString>;
232
+ description: z.ZodOptional<z.ZodString>;
233
+ }, "strict", z.ZodTypeAny, {
234
+ value: string;
235
+ label?: string | undefined;
236
+ description?: string | undefined;
237
+ }, {
238
+ value: string;
239
+ label?: string | undefined;
240
+ description?: string | undefined;
241
+ }>, "many">>;
242
+ }, "strict", z.ZodTypeAny, {
243
+ type: string;
244
+ name: string;
245
+ description: string;
246
+ required?: boolean | undefined;
247
+ options?: {
248
+ value: string;
249
+ label?: string | undefined;
250
+ description?: string | undefined;
251
+ }[] | undefined;
252
+ default?: string | number | boolean | undefined;
253
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
254
+ }, {
255
+ type: string;
256
+ name: string;
257
+ description: string;
258
+ required?: boolean | undefined;
259
+ options?: {
260
+ value: string;
261
+ label?: string | undefined;
262
+ description?: string | undefined;
263
+ }[] | undefined;
264
+ default?: string | number | boolean | undefined;
265
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
266
+ }>, "many">;
267
+ properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
+ name: z.ZodString;
269
+ description: z.ZodString;
270
+ type: z.ZodString;
271
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
272
+ readonly: z.ZodOptional<z.ZodBoolean>;
273
+ }, "strict", z.ZodTypeAny, {
274
+ type: string;
275
+ name: string;
276
+ description: string;
277
+ default?: string | number | boolean | undefined;
278
+ readonly?: boolean | undefined;
279
+ }, {
280
+ type: string;
281
+ name: string;
282
+ description: string;
283
+ default?: string | number | boolean | undefined;
284
+ readonly?: boolean | undefined;
285
+ }>, "many">>;
286
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
287
+ name: z.ZodString;
288
+ description: z.ZodString;
289
+ bubbles: z.ZodOptional<z.ZodBoolean>;
290
+ composed: z.ZodOptional<z.ZodBoolean>;
291
+ }, "strict", z.ZodTypeAny, {
292
+ name: string;
293
+ description: string;
294
+ bubbles?: boolean | undefined;
295
+ composed?: boolean | undefined;
296
+ }, {
297
+ name: string;
298
+ description: string;
299
+ bubbles?: boolean | undefined;
300
+ composed?: boolean | undefined;
301
+ }>, "many">>;
302
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
303
+ name: z.ZodString;
304
+ description: z.ZodString;
305
+ }, "strict", z.ZodTypeAny, {
306
+ name: string;
307
+ description: string;
308
+ }, {
309
+ name: string;
310
+ description: string;
311
+ }>, "many">>;
312
+ cssTokens: z.ZodArray<z.ZodObject<{
313
+ name: z.ZodString;
314
+ group: z.ZodString;
315
+ description: z.ZodString;
316
+ default: z.ZodString;
317
+ control: z.ZodEnum<["text", "color", "number", "border", "shadow"]>;
318
+ placeholder: z.ZodOptional<z.ZodString>;
319
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
320
+ }, "strict", z.ZodTypeAny, {
321
+ name: string;
322
+ description: string;
323
+ default: string;
324
+ control: "number" | "text" | "color" | "border" | "shadow";
325
+ group: string;
326
+ placeholder?: string | undefined;
327
+ examples?: string[] | undefined;
328
+ }, {
329
+ name: string;
330
+ description: string;
331
+ default: string;
332
+ control: "number" | "text" | "color" | "border" | "shadow";
333
+ group: string;
334
+ placeholder?: string | undefined;
335
+ examples?: string[] | undefined;
336
+ }>, "many">;
337
+ builder: z.ZodObject<{
338
+ groups: z.ZodArray<z.ZodObject<{
339
+ id: z.ZodString;
340
+ label: z.ZodString;
341
+ description: z.ZodOptional<z.ZodString>;
342
+ order: z.ZodNumber;
343
+ }, "strict", z.ZodTypeAny, {
344
+ label: string;
345
+ id: string;
346
+ order: number;
347
+ description?: string | undefined;
348
+ }, {
349
+ label: string;
350
+ id: string;
351
+ order: number;
352
+ description?: string | undefined;
353
+ }>, "many">;
354
+ controls: z.ZodArray<z.ZodObject<{
355
+ id: z.ZodString;
356
+ kind: z.ZodEnum<["cssToken", "attribute"]>;
357
+ ref: z.ZodString;
358
+ group: z.ZodString;
359
+ label: z.ZodString;
360
+ description: z.ZodOptional<z.ZodString>;
361
+ order: z.ZodNumber;
362
+ }, "strict", z.ZodTypeAny, {
363
+ label: string;
364
+ id: string;
365
+ group: string;
366
+ order: number;
367
+ kind: "attribute" | "cssToken";
368
+ ref: string;
369
+ description?: string | undefined;
370
+ }, {
371
+ label: string;
372
+ id: string;
373
+ group: string;
374
+ order: number;
375
+ kind: "attribute" | "cssToken";
376
+ ref: string;
377
+ description?: string | undefined;
378
+ }>, "many">;
379
+ }, "strict", z.ZodTypeAny, {
380
+ groups: {
381
+ label: string;
382
+ id: string;
383
+ order: number;
384
+ description?: string | undefined;
385
+ }[];
386
+ controls: {
387
+ label: string;
388
+ id: string;
389
+ group: string;
390
+ order: number;
391
+ kind: "attribute" | "cssToken";
392
+ ref: string;
393
+ description?: string | undefined;
394
+ }[];
395
+ }, {
396
+ groups: {
397
+ label: string;
398
+ id: string;
399
+ order: number;
400
+ description?: string | undefined;
401
+ }[];
402
+ controls: {
403
+ label: string;
404
+ id: string;
405
+ group: string;
406
+ order: number;
407
+ kind: "attribute" | "cssToken";
408
+ ref: string;
409
+ description?: string | undefined;
410
+ }[];
411
+ }>;
412
+ }, "strict", z.ZodTypeAny, {
413
+ title: string;
414
+ attributes: {
415
+ type: string;
416
+ name: string;
417
+ description: string;
418
+ required?: boolean | undefined;
419
+ options?: {
420
+ value: string;
421
+ label?: string | undefined;
422
+ description?: string | undefined;
423
+ }[] | undefined;
424
+ default?: string | number | boolean | undefined;
425
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
426
+ }[];
427
+ description: string;
428
+ tag: string;
429
+ cssTokens: {
430
+ name: string;
431
+ description: string;
432
+ default: string;
433
+ control: "number" | "text" | "color" | "border" | "shadow";
434
+ group: string;
435
+ placeholder?: string | undefined;
436
+ examples?: string[] | undefined;
437
+ }[];
438
+ builder: {
439
+ groups: {
440
+ label: string;
441
+ id: string;
442
+ order: number;
443
+ description?: string | undefined;
444
+ }[];
445
+ controls: {
446
+ label: string;
447
+ id: string;
448
+ group: string;
449
+ order: number;
450
+ kind: "attribute" | "cssToken";
451
+ ref: string;
452
+ description?: string | undefined;
453
+ }[];
454
+ };
455
+ status?: "stable" | "beta" | "experimental" | undefined;
456
+ properties?: {
457
+ type: string;
458
+ name: string;
459
+ description: string;
460
+ default?: string | number | boolean | undefined;
461
+ readonly?: boolean | undefined;
462
+ }[] | undefined;
463
+ events?: {
464
+ name: string;
465
+ description: string;
466
+ bubbles?: boolean | undefined;
467
+ composed?: boolean | undefined;
468
+ }[] | undefined;
469
+ parts?: {
470
+ name: string;
471
+ description: string;
472
+ }[] | undefined;
473
+ }, {
474
+ title: string;
475
+ attributes: {
476
+ type: string;
477
+ name: string;
478
+ description: string;
479
+ required?: boolean | undefined;
480
+ options?: {
481
+ value: string;
482
+ label?: string | undefined;
483
+ description?: string | undefined;
484
+ }[] | undefined;
485
+ default?: string | number | boolean | undefined;
486
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
487
+ }[];
488
+ description: string;
489
+ tag: string;
490
+ cssTokens: {
491
+ name: string;
492
+ description: string;
493
+ default: string;
494
+ control: "number" | "text" | "color" | "border" | "shadow";
495
+ group: string;
496
+ placeholder?: string | undefined;
497
+ examples?: string[] | undefined;
498
+ }[];
499
+ builder: {
500
+ groups: {
501
+ label: string;
502
+ id: string;
503
+ order: number;
504
+ description?: string | undefined;
505
+ }[];
506
+ controls: {
507
+ label: string;
508
+ id: string;
509
+ group: string;
510
+ order: number;
511
+ kind: "attribute" | "cssToken";
512
+ ref: string;
513
+ description?: string | undefined;
514
+ }[];
515
+ };
516
+ status?: "stable" | "beta" | "experimental" | undefined;
517
+ properties?: {
518
+ type: string;
519
+ name: string;
520
+ description: string;
521
+ default?: string | number | boolean | undefined;
522
+ readonly?: boolean | undefined;
523
+ }[] | undefined;
524
+ events?: {
525
+ name: string;
526
+ description: string;
527
+ bubbles?: boolean | undefined;
528
+ composed?: boolean | undefined;
529
+ }[] | undefined;
530
+ parts?: {
531
+ name: string;
532
+ description: string;
533
+ }[] | undefined;
534
+ }>;
535
+ export declare const ManifestSchema: z.ZodObject<{
536
+ version: z.ZodLiteral<1>;
537
+ package: z.ZodString;
538
+ components: z.ZodArray<z.ZodObject<{
539
+ tag: z.ZodString;
540
+ title: z.ZodString;
541
+ description: z.ZodString;
542
+ status: z.ZodOptional<z.ZodEnum<["stable", "beta", "experimental"]>>;
543
+ attributes: z.ZodArray<z.ZodObject<{
544
+ name: z.ZodString;
545
+ description: z.ZodString;
546
+ type: z.ZodString;
547
+ required: z.ZodOptional<z.ZodBoolean>;
548
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
549
+ control: z.ZodOptional<z.ZodEnum<["text", "number", "boolean", "select", "color"]>>;
550
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
551
+ value: z.ZodString;
552
+ label: z.ZodOptional<z.ZodString>;
553
+ description: z.ZodOptional<z.ZodString>;
554
+ }, "strict", z.ZodTypeAny, {
555
+ value: string;
556
+ label?: string | undefined;
557
+ description?: string | undefined;
558
+ }, {
559
+ value: string;
560
+ label?: string | undefined;
561
+ description?: string | undefined;
562
+ }>, "many">>;
563
+ }, "strict", z.ZodTypeAny, {
564
+ type: string;
565
+ name: string;
566
+ description: string;
567
+ required?: boolean | undefined;
568
+ options?: {
569
+ value: string;
570
+ label?: string | undefined;
571
+ description?: string | undefined;
572
+ }[] | undefined;
573
+ default?: string | number | boolean | undefined;
574
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
575
+ }, {
576
+ type: string;
577
+ name: string;
578
+ description: string;
579
+ required?: boolean | undefined;
580
+ options?: {
581
+ value: string;
582
+ label?: string | undefined;
583
+ description?: string | undefined;
584
+ }[] | undefined;
585
+ default?: string | number | boolean | undefined;
586
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
587
+ }>, "many">;
588
+ properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
589
+ name: z.ZodString;
590
+ description: z.ZodString;
591
+ type: z.ZodString;
592
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
593
+ readonly: z.ZodOptional<z.ZodBoolean>;
594
+ }, "strict", z.ZodTypeAny, {
595
+ type: string;
596
+ name: string;
597
+ description: string;
598
+ default?: string | number | boolean | undefined;
599
+ readonly?: boolean | undefined;
600
+ }, {
601
+ type: string;
602
+ name: string;
603
+ description: string;
604
+ default?: string | number | boolean | undefined;
605
+ readonly?: boolean | undefined;
606
+ }>, "many">>;
607
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
608
+ name: z.ZodString;
609
+ description: z.ZodString;
610
+ bubbles: z.ZodOptional<z.ZodBoolean>;
611
+ composed: z.ZodOptional<z.ZodBoolean>;
612
+ }, "strict", z.ZodTypeAny, {
613
+ name: string;
614
+ description: string;
615
+ bubbles?: boolean | undefined;
616
+ composed?: boolean | undefined;
617
+ }, {
618
+ name: string;
619
+ description: string;
620
+ bubbles?: boolean | undefined;
621
+ composed?: boolean | undefined;
622
+ }>, "many">>;
623
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
624
+ name: z.ZodString;
625
+ description: z.ZodString;
626
+ }, "strict", z.ZodTypeAny, {
627
+ name: string;
628
+ description: string;
629
+ }, {
630
+ name: string;
631
+ description: string;
632
+ }>, "many">>;
633
+ cssTokens: z.ZodArray<z.ZodObject<{
634
+ name: z.ZodString;
635
+ group: z.ZodString;
636
+ description: z.ZodString;
637
+ default: z.ZodString;
638
+ control: z.ZodEnum<["text", "color", "number", "border", "shadow"]>;
639
+ placeholder: z.ZodOptional<z.ZodString>;
640
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
641
+ }, "strict", z.ZodTypeAny, {
642
+ name: string;
643
+ description: string;
644
+ default: string;
645
+ control: "number" | "text" | "color" | "border" | "shadow";
646
+ group: string;
647
+ placeholder?: string | undefined;
648
+ examples?: string[] | undefined;
649
+ }, {
650
+ name: string;
651
+ description: string;
652
+ default: string;
653
+ control: "number" | "text" | "color" | "border" | "shadow";
654
+ group: string;
655
+ placeholder?: string | undefined;
656
+ examples?: string[] | undefined;
657
+ }>, "many">;
658
+ builder: z.ZodObject<{
659
+ groups: z.ZodArray<z.ZodObject<{
660
+ id: z.ZodString;
661
+ label: z.ZodString;
662
+ description: z.ZodOptional<z.ZodString>;
663
+ order: z.ZodNumber;
664
+ }, "strict", z.ZodTypeAny, {
665
+ label: string;
666
+ id: string;
667
+ order: number;
668
+ description?: string | undefined;
669
+ }, {
670
+ label: string;
671
+ id: string;
672
+ order: number;
673
+ description?: string | undefined;
674
+ }>, "many">;
675
+ controls: z.ZodArray<z.ZodObject<{
676
+ id: z.ZodString;
677
+ kind: z.ZodEnum<["cssToken", "attribute"]>;
678
+ ref: z.ZodString;
679
+ group: z.ZodString;
680
+ label: z.ZodString;
681
+ description: z.ZodOptional<z.ZodString>;
682
+ order: z.ZodNumber;
683
+ }, "strict", z.ZodTypeAny, {
684
+ label: string;
685
+ id: string;
686
+ group: string;
687
+ order: number;
688
+ kind: "attribute" | "cssToken";
689
+ ref: string;
690
+ description?: string | undefined;
691
+ }, {
692
+ label: string;
693
+ id: string;
694
+ group: string;
695
+ order: number;
696
+ kind: "attribute" | "cssToken";
697
+ ref: string;
698
+ description?: string | undefined;
699
+ }>, "many">;
700
+ }, "strict", z.ZodTypeAny, {
701
+ groups: {
702
+ label: string;
703
+ id: string;
704
+ order: number;
705
+ description?: string | undefined;
706
+ }[];
707
+ controls: {
708
+ label: string;
709
+ id: string;
710
+ group: string;
711
+ order: number;
712
+ kind: "attribute" | "cssToken";
713
+ ref: string;
714
+ description?: string | undefined;
715
+ }[];
716
+ }, {
717
+ groups: {
718
+ label: string;
719
+ id: string;
720
+ order: number;
721
+ description?: string | undefined;
722
+ }[];
723
+ controls: {
724
+ label: string;
725
+ id: string;
726
+ group: string;
727
+ order: number;
728
+ kind: "attribute" | "cssToken";
729
+ ref: string;
730
+ description?: string | undefined;
731
+ }[];
732
+ }>;
733
+ }, "strict", z.ZodTypeAny, {
734
+ title: string;
735
+ attributes: {
736
+ type: string;
737
+ name: string;
738
+ description: string;
739
+ required?: boolean | undefined;
740
+ options?: {
741
+ value: string;
742
+ label?: string | undefined;
743
+ description?: string | undefined;
744
+ }[] | undefined;
745
+ default?: string | number | boolean | undefined;
746
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
747
+ }[];
748
+ description: string;
749
+ tag: string;
750
+ cssTokens: {
751
+ name: string;
752
+ description: string;
753
+ default: string;
754
+ control: "number" | "text" | "color" | "border" | "shadow";
755
+ group: string;
756
+ placeholder?: string | undefined;
757
+ examples?: string[] | undefined;
758
+ }[];
759
+ builder: {
760
+ groups: {
761
+ label: string;
762
+ id: string;
763
+ order: number;
764
+ description?: string | undefined;
765
+ }[];
766
+ controls: {
767
+ label: string;
768
+ id: string;
769
+ group: string;
770
+ order: number;
771
+ kind: "attribute" | "cssToken";
772
+ ref: string;
773
+ description?: string | undefined;
774
+ }[];
775
+ };
776
+ status?: "stable" | "beta" | "experimental" | undefined;
777
+ properties?: {
778
+ type: string;
779
+ name: string;
780
+ description: string;
781
+ default?: string | number | boolean | undefined;
782
+ readonly?: boolean | undefined;
783
+ }[] | undefined;
784
+ events?: {
785
+ name: string;
786
+ description: string;
787
+ bubbles?: boolean | undefined;
788
+ composed?: boolean | undefined;
789
+ }[] | undefined;
790
+ parts?: {
791
+ name: string;
792
+ description: string;
793
+ }[] | undefined;
794
+ }, {
795
+ title: string;
796
+ attributes: {
797
+ type: string;
798
+ name: string;
799
+ description: string;
800
+ required?: boolean | undefined;
801
+ options?: {
802
+ value: string;
803
+ label?: string | undefined;
804
+ description?: string | undefined;
805
+ }[] | undefined;
806
+ default?: string | number | boolean | undefined;
807
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
808
+ }[];
809
+ description: string;
810
+ tag: string;
811
+ cssTokens: {
812
+ name: string;
813
+ description: string;
814
+ default: string;
815
+ control: "number" | "text" | "color" | "border" | "shadow";
816
+ group: string;
817
+ placeholder?: string | undefined;
818
+ examples?: string[] | undefined;
819
+ }[];
820
+ builder: {
821
+ groups: {
822
+ label: string;
823
+ id: string;
824
+ order: number;
825
+ description?: string | undefined;
826
+ }[];
827
+ controls: {
828
+ label: string;
829
+ id: string;
830
+ group: string;
831
+ order: number;
832
+ kind: "attribute" | "cssToken";
833
+ ref: string;
834
+ description?: string | undefined;
835
+ }[];
836
+ };
837
+ status?: "stable" | "beta" | "experimental" | undefined;
838
+ properties?: {
839
+ type: string;
840
+ name: string;
841
+ description: string;
842
+ default?: string | number | boolean | undefined;
843
+ readonly?: boolean | undefined;
844
+ }[] | undefined;
845
+ events?: {
846
+ name: string;
847
+ description: string;
848
+ bubbles?: boolean | undefined;
849
+ composed?: boolean | undefined;
850
+ }[] | undefined;
851
+ parts?: {
852
+ name: string;
853
+ description: string;
854
+ }[] | undefined;
855
+ }>, "many">;
856
+ }, "strict", z.ZodTypeAny, {
857
+ version: 1;
858
+ package: string;
859
+ components: {
860
+ title: string;
861
+ attributes: {
862
+ type: string;
863
+ name: string;
864
+ description: string;
865
+ required?: boolean | undefined;
866
+ options?: {
867
+ value: string;
868
+ label?: string | undefined;
869
+ description?: string | undefined;
870
+ }[] | undefined;
871
+ default?: string | number | boolean | undefined;
872
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
873
+ }[];
874
+ description: string;
875
+ tag: string;
876
+ cssTokens: {
877
+ name: string;
878
+ description: string;
879
+ default: string;
880
+ control: "number" | "text" | "color" | "border" | "shadow";
881
+ group: string;
882
+ placeholder?: string | undefined;
883
+ examples?: string[] | undefined;
884
+ }[];
885
+ builder: {
886
+ groups: {
887
+ label: string;
888
+ id: string;
889
+ order: number;
890
+ description?: string | undefined;
891
+ }[];
892
+ controls: {
893
+ label: string;
894
+ id: string;
895
+ group: string;
896
+ order: number;
897
+ kind: "attribute" | "cssToken";
898
+ ref: string;
899
+ description?: string | undefined;
900
+ }[];
901
+ };
902
+ status?: "stable" | "beta" | "experimental" | undefined;
903
+ properties?: {
904
+ type: string;
905
+ name: string;
906
+ description: string;
907
+ default?: string | number | boolean | undefined;
908
+ readonly?: boolean | undefined;
909
+ }[] | undefined;
910
+ events?: {
911
+ name: string;
912
+ description: string;
913
+ bubbles?: boolean | undefined;
914
+ composed?: boolean | undefined;
915
+ }[] | undefined;
916
+ parts?: {
917
+ name: string;
918
+ description: string;
919
+ }[] | undefined;
920
+ }[];
921
+ }, {
922
+ version: 1;
923
+ package: string;
924
+ components: {
925
+ title: string;
926
+ attributes: {
927
+ type: string;
928
+ name: string;
929
+ description: string;
930
+ required?: boolean | undefined;
931
+ options?: {
932
+ value: string;
933
+ label?: string | undefined;
934
+ description?: string | undefined;
935
+ }[] | undefined;
936
+ default?: string | number | boolean | undefined;
937
+ control?: "number" | "boolean" | "text" | "select" | "color" | undefined;
938
+ }[];
939
+ description: string;
940
+ tag: string;
941
+ cssTokens: {
942
+ name: string;
943
+ description: string;
944
+ default: string;
945
+ control: "number" | "text" | "color" | "border" | "shadow";
946
+ group: string;
947
+ placeholder?: string | undefined;
948
+ examples?: string[] | undefined;
949
+ }[];
950
+ builder: {
951
+ groups: {
952
+ label: string;
953
+ id: string;
954
+ order: number;
955
+ description?: string | undefined;
956
+ }[];
957
+ controls: {
958
+ label: string;
959
+ id: string;
960
+ group: string;
961
+ order: number;
962
+ kind: "attribute" | "cssToken";
963
+ ref: string;
964
+ description?: string | undefined;
965
+ }[];
966
+ };
967
+ status?: "stable" | "beta" | "experimental" | undefined;
968
+ properties?: {
969
+ type: string;
970
+ name: string;
971
+ description: string;
972
+ default?: string | number | boolean | undefined;
973
+ readonly?: boolean | undefined;
974
+ }[] | undefined;
975
+ events?: {
976
+ name: string;
977
+ description: string;
978
+ bubbles?: boolean | undefined;
979
+ composed?: boolean | undefined;
980
+ }[] | undefined;
981
+ parts?: {
982
+ name: string;
983
+ description: string;
984
+ }[] | undefined;
985
+ }[];
986
+ }>;
987
+ export type AttributeMeta = z.infer<typeof AttributeMetaSchema>;
988
+ export type PropertyMeta = z.infer<typeof PropertyMetaSchema>;
989
+ export type EventMeta = z.infer<typeof EventMetaSchema>;
990
+ export type PartMeta = z.infer<typeof PartMetaSchema>;
991
+ export type CssTokenMeta = z.infer<typeof CssTokenMetaSchema>;
992
+ export type BuilderMeta = z.infer<typeof BuilderMetaSchema>;
993
+ export type BuilderControl = z.infer<typeof BuilderControlSchema>;
994
+ export type ComponentManifest = z.infer<typeof ComponentManifestSchema>;
995
+ export type DragonManifest = z.infer<typeof ManifestSchema>;
996
+ export {};