@webstudio-is/sdk 0.196.0 → 0.198.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2121 @@
1
+ import { z } from "zod";
2
+ import type { HtmlTags } from "html-tags";
3
+ import { EmbedTemplateStyleDecl } from "./embed-template";
4
+ export type PresetStyle<Tag extends HtmlTags = HtmlTags> = Partial<Record<Tag, EmbedTemplateStyleDecl[]>>;
5
+ declare const WsComponentPropsMeta: z.ZodObject<{
6
+ props: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
7
+ control: z.ZodLiteral<"number">;
8
+ type: z.ZodLiteral<"number">;
9
+ defaultValue: z.ZodOptional<z.ZodNumber>;
10
+ label: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ required: z.ZodBoolean;
13
+ }, "strip", z.ZodTypeAny, {
14
+ type: "number";
15
+ required: boolean;
16
+ control: "number";
17
+ defaultValue?: number | undefined;
18
+ label?: string | undefined;
19
+ description?: string | undefined;
20
+ }, {
21
+ type: "number";
22
+ required: boolean;
23
+ control: "number";
24
+ defaultValue?: number | undefined;
25
+ label?: string | undefined;
26
+ description?: string | undefined;
27
+ }>, z.ZodObject<{
28
+ control: z.ZodLiteral<"range">;
29
+ type: z.ZodLiteral<"number">;
30
+ defaultValue: z.ZodOptional<z.ZodNumber>;
31
+ label: z.ZodOptional<z.ZodString>;
32
+ description: z.ZodOptional<z.ZodString>;
33
+ required: z.ZodBoolean;
34
+ }, "strip", z.ZodTypeAny, {
35
+ type: "number";
36
+ required: boolean;
37
+ control: "range";
38
+ defaultValue?: number | undefined;
39
+ label?: string | undefined;
40
+ description?: string | undefined;
41
+ }, {
42
+ type: "number";
43
+ required: boolean;
44
+ control: "range";
45
+ defaultValue?: number | undefined;
46
+ label?: string | undefined;
47
+ description?: string | undefined;
48
+ }>, z.ZodObject<{
49
+ control: z.ZodLiteral<"text">;
50
+ type: z.ZodLiteral<"string">;
51
+ defaultValue: z.ZodOptional<z.ZodString>;
52
+ rows: z.ZodOptional<z.ZodNumber>;
53
+ label: z.ZodOptional<z.ZodString>;
54
+ description: z.ZodOptional<z.ZodString>;
55
+ required: z.ZodBoolean;
56
+ }, "strip", z.ZodTypeAny, {
57
+ type: "string";
58
+ required: boolean;
59
+ control: "text";
60
+ defaultValue?: string | undefined;
61
+ rows?: number | undefined;
62
+ label?: string | undefined;
63
+ description?: string | undefined;
64
+ }, {
65
+ type: "string";
66
+ required: boolean;
67
+ control: "text";
68
+ defaultValue?: string | undefined;
69
+ rows?: number | undefined;
70
+ label?: string | undefined;
71
+ description?: string | undefined;
72
+ }>, z.ZodObject<{
73
+ control: z.ZodLiteral<"code">;
74
+ type: z.ZodLiteral<"string">;
75
+ language: z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
76
+ defaultValue: z.ZodOptional<z.ZodString>;
77
+ label: z.ZodOptional<z.ZodString>;
78
+ description: z.ZodOptional<z.ZodString>;
79
+ required: z.ZodBoolean;
80
+ }, "strip", z.ZodTypeAny, {
81
+ type: "string";
82
+ required: boolean;
83
+ language: "html" | "markdown";
84
+ control: "code";
85
+ defaultValue?: string | undefined;
86
+ label?: string | undefined;
87
+ description?: string | undefined;
88
+ }, {
89
+ type: "string";
90
+ required: boolean;
91
+ language: "html" | "markdown";
92
+ control: "code";
93
+ defaultValue?: string | undefined;
94
+ label?: string | undefined;
95
+ description?: string | undefined;
96
+ }>, z.ZodObject<{
97
+ control: z.ZodLiteral<"codetext">;
98
+ type: z.ZodLiteral<"string">;
99
+ defaultValue: z.ZodOptional<z.ZodString>;
100
+ label: z.ZodOptional<z.ZodString>;
101
+ description: z.ZodOptional<z.ZodString>;
102
+ required: z.ZodBoolean;
103
+ }, "strip", z.ZodTypeAny, {
104
+ type: "string";
105
+ required: boolean;
106
+ control: "codetext";
107
+ defaultValue?: string | undefined;
108
+ label?: string | undefined;
109
+ description?: string | undefined;
110
+ }, {
111
+ type: "string";
112
+ required: boolean;
113
+ control: "codetext";
114
+ defaultValue?: string | undefined;
115
+ label?: string | undefined;
116
+ description?: string | undefined;
117
+ }>, z.ZodObject<{
118
+ control: z.ZodLiteral<"color">;
119
+ type: z.ZodLiteral<"string">;
120
+ defaultValue: z.ZodOptional<z.ZodString>;
121
+ label: z.ZodOptional<z.ZodString>;
122
+ description: z.ZodOptional<z.ZodString>;
123
+ required: z.ZodBoolean;
124
+ }, "strip", z.ZodTypeAny, {
125
+ type: "string";
126
+ required: boolean;
127
+ control: "color";
128
+ defaultValue?: string | undefined;
129
+ label?: string | undefined;
130
+ description?: string | undefined;
131
+ }, {
132
+ type: "string";
133
+ required: boolean;
134
+ control: "color";
135
+ defaultValue?: string | undefined;
136
+ label?: string | undefined;
137
+ description?: string | undefined;
138
+ }>, z.ZodObject<{
139
+ control: z.ZodLiteral<"boolean">;
140
+ type: z.ZodLiteral<"boolean">;
141
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
142
+ label: z.ZodOptional<z.ZodString>;
143
+ description: z.ZodOptional<z.ZodString>;
144
+ required: z.ZodBoolean;
145
+ }, "strip", z.ZodTypeAny, {
146
+ type: "boolean";
147
+ required: boolean;
148
+ control: "boolean";
149
+ defaultValue?: boolean | undefined;
150
+ label?: string | undefined;
151
+ description?: string | undefined;
152
+ }, {
153
+ type: "boolean";
154
+ required: boolean;
155
+ control: "boolean";
156
+ defaultValue?: boolean | undefined;
157
+ label?: string | undefined;
158
+ description?: string | undefined;
159
+ }>, z.ZodObject<{
160
+ control: z.ZodLiteral<"radio">;
161
+ type: z.ZodLiteral<"string">;
162
+ defaultValue: z.ZodOptional<z.ZodString>;
163
+ options: z.ZodArray<z.ZodString, "many">;
164
+ label: z.ZodOptional<z.ZodString>;
165
+ description: z.ZodOptional<z.ZodString>;
166
+ required: z.ZodBoolean;
167
+ }, "strip", z.ZodTypeAny, {
168
+ options: string[];
169
+ type: "string";
170
+ required: boolean;
171
+ control: "radio";
172
+ defaultValue?: string | undefined;
173
+ label?: string | undefined;
174
+ description?: string | undefined;
175
+ }, {
176
+ options: string[];
177
+ type: "string";
178
+ required: boolean;
179
+ control: "radio";
180
+ defaultValue?: string | undefined;
181
+ label?: string | undefined;
182
+ description?: string | undefined;
183
+ }>, z.ZodObject<{
184
+ control: z.ZodLiteral<"inline-radio">;
185
+ type: z.ZodLiteral<"string">;
186
+ defaultValue: z.ZodOptional<z.ZodString>;
187
+ options: z.ZodArray<z.ZodString, "many">;
188
+ label: z.ZodOptional<z.ZodString>;
189
+ description: z.ZodOptional<z.ZodString>;
190
+ required: z.ZodBoolean;
191
+ }, "strip", z.ZodTypeAny, {
192
+ options: string[];
193
+ type: "string";
194
+ required: boolean;
195
+ control: "inline-radio";
196
+ defaultValue?: string | undefined;
197
+ label?: string | undefined;
198
+ description?: string | undefined;
199
+ }, {
200
+ options: string[];
201
+ type: "string";
202
+ required: boolean;
203
+ control: "inline-radio";
204
+ defaultValue?: string | undefined;
205
+ label?: string | undefined;
206
+ description?: string | undefined;
207
+ }>, z.ZodObject<{
208
+ control: z.ZodLiteral<"select">;
209
+ type: z.ZodLiteral<"string">;
210
+ defaultValue: z.ZodOptional<z.ZodString>;
211
+ options: z.ZodArray<z.ZodString, "many">;
212
+ label: z.ZodOptional<z.ZodString>;
213
+ description: z.ZodOptional<z.ZodString>;
214
+ required: z.ZodBoolean;
215
+ }, "strip", z.ZodTypeAny, {
216
+ options: string[];
217
+ type: "string";
218
+ required: boolean;
219
+ control: "select";
220
+ defaultValue?: string | undefined;
221
+ label?: string | undefined;
222
+ description?: string | undefined;
223
+ }, {
224
+ options: string[];
225
+ type: "string";
226
+ required: boolean;
227
+ control: "select";
228
+ defaultValue?: string | undefined;
229
+ label?: string | undefined;
230
+ description?: string | undefined;
231
+ }>, z.ZodObject<{
232
+ control: z.ZodLiteral<"multi-select">;
233
+ type: z.ZodLiteral<"string[]">;
234
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
235
+ options: z.ZodArray<z.ZodString, "many">;
236
+ label: z.ZodOptional<z.ZodString>;
237
+ description: z.ZodOptional<z.ZodString>;
238
+ required: z.ZodBoolean;
239
+ }, "strip", z.ZodTypeAny, {
240
+ options: string[];
241
+ type: "string[]";
242
+ required: boolean;
243
+ control: "multi-select";
244
+ defaultValue?: string[] | undefined;
245
+ label?: string | undefined;
246
+ description?: string | undefined;
247
+ }, {
248
+ options: string[];
249
+ type: "string[]";
250
+ required: boolean;
251
+ control: "multi-select";
252
+ defaultValue?: string[] | undefined;
253
+ label?: string | undefined;
254
+ description?: string | undefined;
255
+ }>, z.ZodObject<{
256
+ control: z.ZodLiteral<"check">;
257
+ type: z.ZodLiteral<"string[]">;
258
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
259
+ options: z.ZodArray<z.ZodString, "many">;
260
+ label: z.ZodOptional<z.ZodString>;
261
+ description: z.ZodOptional<z.ZodString>;
262
+ required: z.ZodBoolean;
263
+ }, "strip", z.ZodTypeAny, {
264
+ options: string[];
265
+ type: "string[]";
266
+ required: boolean;
267
+ control: "check";
268
+ defaultValue?: string[] | undefined;
269
+ label?: string | undefined;
270
+ description?: string | undefined;
271
+ }, {
272
+ options: string[];
273
+ type: "string[]";
274
+ required: boolean;
275
+ control: "check";
276
+ defaultValue?: string[] | undefined;
277
+ label?: string | undefined;
278
+ description?: string | undefined;
279
+ }>, z.ZodObject<{
280
+ control: z.ZodLiteral<"inline-check">;
281
+ type: z.ZodLiteral<"string[]">;
282
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
283
+ options: z.ZodArray<z.ZodString, "many">;
284
+ label: z.ZodOptional<z.ZodString>;
285
+ description: z.ZodOptional<z.ZodString>;
286
+ required: z.ZodBoolean;
287
+ }, "strip", z.ZodTypeAny, {
288
+ options: string[];
289
+ type: "string[]";
290
+ required: boolean;
291
+ control: "inline-check";
292
+ defaultValue?: string[] | undefined;
293
+ label?: string | undefined;
294
+ description?: string | undefined;
295
+ }, {
296
+ options: string[];
297
+ type: "string[]";
298
+ required: boolean;
299
+ control: "inline-check";
300
+ defaultValue?: string[] | undefined;
301
+ label?: string | undefined;
302
+ description?: string | undefined;
303
+ }>, z.ZodObject<{
304
+ control: z.ZodLiteral<"file">;
305
+ type: z.ZodLiteral<"string">;
306
+ defaultValue: z.ZodOptional<z.ZodString>;
307
+ accept: z.ZodOptional<z.ZodString>;
308
+ label: z.ZodOptional<z.ZodString>;
309
+ description: z.ZodOptional<z.ZodString>;
310
+ required: z.ZodBoolean;
311
+ }, "strip", z.ZodTypeAny, {
312
+ type: "string";
313
+ required: boolean;
314
+ control: "file";
315
+ defaultValue?: string | undefined;
316
+ accept?: string | undefined;
317
+ label?: string | undefined;
318
+ description?: string | undefined;
319
+ }, {
320
+ type: "string";
321
+ required: boolean;
322
+ control: "file";
323
+ defaultValue?: string | undefined;
324
+ accept?: string | undefined;
325
+ label?: string | undefined;
326
+ description?: string | undefined;
327
+ }>, z.ZodObject<{
328
+ control: z.ZodLiteral<"url">;
329
+ type: z.ZodLiteral<"string">;
330
+ defaultValue: z.ZodOptional<z.ZodString>;
331
+ label: z.ZodOptional<z.ZodString>;
332
+ description: z.ZodOptional<z.ZodString>;
333
+ required: z.ZodBoolean;
334
+ }, "strip", z.ZodTypeAny, {
335
+ type: "string";
336
+ required: boolean;
337
+ control: "url";
338
+ defaultValue?: string | undefined;
339
+ label?: string | undefined;
340
+ description?: string | undefined;
341
+ }, {
342
+ type: "string";
343
+ required: boolean;
344
+ control: "url";
345
+ defaultValue?: string | undefined;
346
+ label?: string | undefined;
347
+ description?: string | undefined;
348
+ }>, z.ZodObject<{
349
+ control: z.ZodLiteral<"json">;
350
+ type: z.ZodLiteral<"json">;
351
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
352
+ label: z.ZodOptional<z.ZodString>;
353
+ description: z.ZodOptional<z.ZodString>;
354
+ required: z.ZodBoolean;
355
+ }, "strip", z.ZodTypeAny, {
356
+ type: "json";
357
+ required: boolean;
358
+ control: "json";
359
+ defaultValue?: unknown;
360
+ label?: string | undefined;
361
+ description?: string | undefined;
362
+ }, {
363
+ type: "json";
364
+ required: boolean;
365
+ control: "json";
366
+ defaultValue?: unknown;
367
+ label?: string | undefined;
368
+ description?: string | undefined;
369
+ }>, z.ZodObject<{
370
+ control: z.ZodLiteral<"date">;
371
+ type: z.ZodLiteral<"string">;
372
+ defaultValue: z.ZodOptional<z.ZodString>;
373
+ label: z.ZodOptional<z.ZodString>;
374
+ description: z.ZodOptional<z.ZodString>;
375
+ required: z.ZodBoolean;
376
+ }, "strip", z.ZodTypeAny, {
377
+ type: "string";
378
+ required: boolean;
379
+ control: "date";
380
+ defaultValue?: string | undefined;
381
+ label?: string | undefined;
382
+ description?: string | undefined;
383
+ }, {
384
+ type: "string";
385
+ required: boolean;
386
+ control: "date";
387
+ defaultValue?: string | undefined;
388
+ label?: string | undefined;
389
+ description?: string | undefined;
390
+ }>, z.ZodObject<{
391
+ control: z.ZodLiteral<"action">;
392
+ type: z.ZodLiteral<"action">;
393
+ defaultValue: z.ZodOptional<z.ZodUndefined>;
394
+ label: z.ZodOptional<z.ZodString>;
395
+ description: z.ZodOptional<z.ZodString>;
396
+ required: z.ZodBoolean;
397
+ }, "strip", z.ZodTypeAny, {
398
+ type: "action";
399
+ required: boolean;
400
+ control: "action";
401
+ defaultValue?: undefined;
402
+ label?: string | undefined;
403
+ description?: string | undefined;
404
+ }, {
405
+ type: "action";
406
+ required: boolean;
407
+ control: "action";
408
+ defaultValue?: undefined;
409
+ label?: string | undefined;
410
+ description?: string | undefined;
411
+ }>, z.ZodObject<{
412
+ control: z.ZodLiteral<"textContent">;
413
+ type: z.ZodLiteral<"string">;
414
+ defaultValue: z.ZodOptional<z.ZodString>;
415
+ label: z.ZodOptional<z.ZodString>;
416
+ description: z.ZodOptional<z.ZodString>;
417
+ required: z.ZodBoolean;
418
+ }, "strip", z.ZodTypeAny, {
419
+ type: "string";
420
+ required: boolean;
421
+ control: "textContent";
422
+ defaultValue?: string | undefined;
423
+ label?: string | undefined;
424
+ description?: string | undefined;
425
+ }, {
426
+ type: "string";
427
+ required: boolean;
428
+ control: "textContent";
429
+ defaultValue?: string | undefined;
430
+ label?: string | undefined;
431
+ description?: string | undefined;
432
+ }>]>>;
433
+ initialProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ props: Record<string, {
436
+ type: "number";
437
+ required: boolean;
438
+ control: "number";
439
+ defaultValue?: number | undefined;
440
+ label?: string | undefined;
441
+ description?: string | undefined;
442
+ } | {
443
+ type: "number";
444
+ required: boolean;
445
+ control: "range";
446
+ defaultValue?: number | undefined;
447
+ label?: string | undefined;
448
+ description?: string | undefined;
449
+ } | {
450
+ type: "string";
451
+ required: boolean;
452
+ control: "text";
453
+ defaultValue?: string | undefined;
454
+ rows?: number | undefined;
455
+ label?: string | undefined;
456
+ description?: string | undefined;
457
+ } | {
458
+ type: "string";
459
+ required: boolean;
460
+ language: "html" | "markdown";
461
+ control: "code";
462
+ defaultValue?: string | undefined;
463
+ label?: string | undefined;
464
+ description?: string | undefined;
465
+ } | {
466
+ type: "string";
467
+ required: boolean;
468
+ control: "codetext";
469
+ defaultValue?: string | undefined;
470
+ label?: string | undefined;
471
+ description?: string | undefined;
472
+ } | {
473
+ type: "string";
474
+ required: boolean;
475
+ control: "color";
476
+ defaultValue?: string | undefined;
477
+ label?: string | undefined;
478
+ description?: string | undefined;
479
+ } | {
480
+ type: "boolean";
481
+ required: boolean;
482
+ control: "boolean";
483
+ defaultValue?: boolean | undefined;
484
+ label?: string | undefined;
485
+ description?: string | undefined;
486
+ } | {
487
+ options: string[];
488
+ type: "string";
489
+ required: boolean;
490
+ control: "radio";
491
+ defaultValue?: string | undefined;
492
+ label?: string | undefined;
493
+ description?: string | undefined;
494
+ } | {
495
+ options: string[];
496
+ type: "string";
497
+ required: boolean;
498
+ control: "inline-radio";
499
+ defaultValue?: string | undefined;
500
+ label?: string | undefined;
501
+ description?: string | undefined;
502
+ } | {
503
+ options: string[];
504
+ type: "string";
505
+ required: boolean;
506
+ control: "select";
507
+ defaultValue?: string | undefined;
508
+ label?: string | undefined;
509
+ description?: string | undefined;
510
+ } | {
511
+ options: string[];
512
+ type: "string[]";
513
+ required: boolean;
514
+ control: "check";
515
+ defaultValue?: string[] | undefined;
516
+ label?: string | undefined;
517
+ description?: string | undefined;
518
+ } | {
519
+ options: string[];
520
+ type: "string[]";
521
+ required: boolean;
522
+ control: "inline-check";
523
+ defaultValue?: string[] | undefined;
524
+ label?: string | undefined;
525
+ description?: string | undefined;
526
+ } | {
527
+ options: string[];
528
+ type: "string[]";
529
+ required: boolean;
530
+ control: "multi-select";
531
+ defaultValue?: string[] | undefined;
532
+ label?: string | undefined;
533
+ description?: string | undefined;
534
+ } | {
535
+ type: "string";
536
+ required: boolean;
537
+ control: "file";
538
+ defaultValue?: string | undefined;
539
+ accept?: string | undefined;
540
+ label?: string | undefined;
541
+ description?: string | undefined;
542
+ } | {
543
+ type: "string";
544
+ required: boolean;
545
+ control: "url";
546
+ defaultValue?: string | undefined;
547
+ label?: string | undefined;
548
+ description?: string | undefined;
549
+ } | {
550
+ type: "json";
551
+ required: boolean;
552
+ control: "json";
553
+ defaultValue?: unknown;
554
+ label?: string | undefined;
555
+ description?: string | undefined;
556
+ } | {
557
+ type: "string";
558
+ required: boolean;
559
+ control: "date";
560
+ defaultValue?: string | undefined;
561
+ label?: string | undefined;
562
+ description?: string | undefined;
563
+ } | {
564
+ type: "action";
565
+ required: boolean;
566
+ control: "action";
567
+ defaultValue?: undefined;
568
+ label?: string | undefined;
569
+ description?: string | undefined;
570
+ } | {
571
+ type: "string";
572
+ required: boolean;
573
+ control: "textContent";
574
+ defaultValue?: string | undefined;
575
+ label?: string | undefined;
576
+ description?: string | undefined;
577
+ }>;
578
+ initialProps?: string[] | undefined;
579
+ }, {
580
+ props: Record<string, {
581
+ type: "number";
582
+ required: boolean;
583
+ control: "number";
584
+ defaultValue?: number | undefined;
585
+ label?: string | undefined;
586
+ description?: string | undefined;
587
+ } | {
588
+ type: "number";
589
+ required: boolean;
590
+ control: "range";
591
+ defaultValue?: number | undefined;
592
+ label?: string | undefined;
593
+ description?: string | undefined;
594
+ } | {
595
+ type: "string";
596
+ required: boolean;
597
+ control: "text";
598
+ defaultValue?: string | undefined;
599
+ rows?: number | undefined;
600
+ label?: string | undefined;
601
+ description?: string | undefined;
602
+ } | {
603
+ type: "string";
604
+ required: boolean;
605
+ language: "html" | "markdown";
606
+ control: "code";
607
+ defaultValue?: string | undefined;
608
+ label?: string | undefined;
609
+ description?: string | undefined;
610
+ } | {
611
+ type: "string";
612
+ required: boolean;
613
+ control: "codetext";
614
+ defaultValue?: string | undefined;
615
+ label?: string | undefined;
616
+ description?: string | undefined;
617
+ } | {
618
+ type: "string";
619
+ required: boolean;
620
+ control: "color";
621
+ defaultValue?: string | undefined;
622
+ label?: string | undefined;
623
+ description?: string | undefined;
624
+ } | {
625
+ type: "boolean";
626
+ required: boolean;
627
+ control: "boolean";
628
+ defaultValue?: boolean | undefined;
629
+ label?: string | undefined;
630
+ description?: string | undefined;
631
+ } | {
632
+ options: string[];
633
+ type: "string";
634
+ required: boolean;
635
+ control: "radio";
636
+ defaultValue?: string | undefined;
637
+ label?: string | undefined;
638
+ description?: string | undefined;
639
+ } | {
640
+ options: string[];
641
+ type: "string";
642
+ required: boolean;
643
+ control: "inline-radio";
644
+ defaultValue?: string | undefined;
645
+ label?: string | undefined;
646
+ description?: string | undefined;
647
+ } | {
648
+ options: string[];
649
+ type: "string";
650
+ required: boolean;
651
+ control: "select";
652
+ defaultValue?: string | undefined;
653
+ label?: string | undefined;
654
+ description?: string | undefined;
655
+ } | {
656
+ options: string[];
657
+ type: "string[]";
658
+ required: boolean;
659
+ control: "check";
660
+ defaultValue?: string[] | undefined;
661
+ label?: string | undefined;
662
+ description?: string | undefined;
663
+ } | {
664
+ options: string[];
665
+ type: "string[]";
666
+ required: boolean;
667
+ control: "inline-check";
668
+ defaultValue?: string[] | undefined;
669
+ label?: string | undefined;
670
+ description?: string | undefined;
671
+ } | {
672
+ options: string[];
673
+ type: "string[]";
674
+ required: boolean;
675
+ control: "multi-select";
676
+ defaultValue?: string[] | undefined;
677
+ label?: string | undefined;
678
+ description?: string | undefined;
679
+ } | {
680
+ type: "string";
681
+ required: boolean;
682
+ control: "file";
683
+ defaultValue?: string | undefined;
684
+ accept?: string | undefined;
685
+ label?: string | undefined;
686
+ description?: string | undefined;
687
+ } | {
688
+ type: "string";
689
+ required: boolean;
690
+ control: "url";
691
+ defaultValue?: string | undefined;
692
+ label?: string | undefined;
693
+ description?: string | undefined;
694
+ } | {
695
+ type: "json";
696
+ required: boolean;
697
+ control: "json";
698
+ defaultValue?: unknown;
699
+ label?: string | undefined;
700
+ description?: string | undefined;
701
+ } | {
702
+ type: "string";
703
+ required: boolean;
704
+ control: "date";
705
+ defaultValue?: string | undefined;
706
+ label?: string | undefined;
707
+ description?: string | undefined;
708
+ } | {
709
+ type: "action";
710
+ required: boolean;
711
+ control: "action";
712
+ defaultValue?: undefined;
713
+ label?: string | undefined;
714
+ description?: string | undefined;
715
+ } | {
716
+ type: "string";
717
+ required: boolean;
718
+ control: "textContent";
719
+ defaultValue?: string | undefined;
720
+ label?: string | undefined;
721
+ description?: string | undefined;
722
+ }>;
723
+ initialProps?: string[] | undefined;
724
+ }>;
725
+ export type WsComponentPropsMeta = z.infer<typeof WsComponentPropsMeta>;
726
+ export declare const componentCategories: readonly ["general", "typography", "media", "data", "forms", "localization", "radix", "xml", "hidden", "internal"];
727
+ export declare const stateCategories: readonly ["states", "component-states"];
728
+ export declare const ComponentState: z.ZodObject<{
729
+ category: z.ZodOptional<z.ZodEnum<["states", "component-states"]>>;
730
+ selector: z.ZodString;
731
+ label: z.ZodString;
732
+ }, "strip", z.ZodTypeAny, {
733
+ label: string;
734
+ selector: string;
735
+ category?: "states" | "component-states" | undefined;
736
+ }, {
737
+ label: string;
738
+ selector: string;
739
+ category?: "states" | "component-states" | undefined;
740
+ }>;
741
+ export type ComponentState = z.infer<typeof ComponentState>;
742
+ export declare const defaultStates: ComponentState[];
743
+ export declare const WsComponentMeta: z.ZodObject<{
744
+ category: z.ZodOptional<z.ZodEnum<["general", "typography", "media", "data", "forms", "localization", "radix", "xml", "hidden", "internal"]>>;
745
+ type: z.ZodEnum<["container", "control", "embed", "rich-text-child"]>;
746
+ constraints: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
747
+ relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
748
+ component: z.ZodOptional<z.ZodObject<{
749
+ $eq: z.ZodOptional<z.ZodString>;
750
+ $neq: z.ZodOptional<z.ZodString>;
751
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
752
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
753
+ }, "strip", z.ZodTypeAny, {
754
+ $eq?: string | undefined;
755
+ $neq?: string | undefined;
756
+ $in?: string[] | undefined;
757
+ $nin?: string[] | undefined;
758
+ }, {
759
+ $eq?: string | undefined;
760
+ $neq?: string | undefined;
761
+ $in?: string[] | undefined;
762
+ $nin?: string[] | undefined;
763
+ }>>;
764
+ tag: z.ZodOptional<z.ZodObject<{
765
+ $eq: z.ZodOptional<z.ZodString>;
766
+ $neq: z.ZodOptional<z.ZodString>;
767
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ $eq?: string | undefined;
771
+ $neq?: string | undefined;
772
+ $in?: string[] | undefined;
773
+ $nin?: string[] | undefined;
774
+ }, {
775
+ $eq?: string | undefined;
776
+ $neq?: string | undefined;
777
+ $in?: string[] | undefined;
778
+ $nin?: string[] | undefined;
779
+ }>>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
782
+ component?: {
783
+ $eq?: string | undefined;
784
+ $neq?: string | undefined;
785
+ $in?: string[] | undefined;
786
+ $nin?: string[] | undefined;
787
+ } | undefined;
788
+ tag?: {
789
+ $eq?: string | undefined;
790
+ $neq?: string | undefined;
791
+ $in?: string[] | undefined;
792
+ $nin?: string[] | undefined;
793
+ } | undefined;
794
+ }, {
795
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
796
+ component?: {
797
+ $eq?: string | undefined;
798
+ $neq?: string | undefined;
799
+ $in?: string[] | undefined;
800
+ $nin?: string[] | undefined;
801
+ } | undefined;
802
+ tag?: {
803
+ $eq?: string | undefined;
804
+ $neq?: string | undefined;
805
+ $in?: string[] | undefined;
806
+ $nin?: string[] | undefined;
807
+ } | undefined;
808
+ }>, z.ZodArray<z.ZodObject<{
809
+ relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
810
+ component: z.ZodOptional<z.ZodObject<{
811
+ $eq: z.ZodOptional<z.ZodString>;
812
+ $neq: z.ZodOptional<z.ZodString>;
813
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
814
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ $eq?: string | undefined;
817
+ $neq?: string | undefined;
818
+ $in?: string[] | undefined;
819
+ $nin?: string[] | undefined;
820
+ }, {
821
+ $eq?: string | undefined;
822
+ $neq?: string | undefined;
823
+ $in?: string[] | undefined;
824
+ $nin?: string[] | undefined;
825
+ }>>;
826
+ tag: z.ZodOptional<z.ZodObject<{
827
+ $eq: z.ZodOptional<z.ZodString>;
828
+ $neq: z.ZodOptional<z.ZodString>;
829
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
830
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ $eq?: string | undefined;
833
+ $neq?: string | undefined;
834
+ $in?: string[] | undefined;
835
+ $nin?: string[] | undefined;
836
+ }, {
837
+ $eq?: string | undefined;
838
+ $neq?: string | undefined;
839
+ $in?: string[] | undefined;
840
+ $nin?: string[] | undefined;
841
+ }>>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
844
+ component?: {
845
+ $eq?: string | undefined;
846
+ $neq?: string | undefined;
847
+ $in?: string[] | undefined;
848
+ $nin?: string[] | undefined;
849
+ } | undefined;
850
+ tag?: {
851
+ $eq?: string | undefined;
852
+ $neq?: string | undefined;
853
+ $in?: string[] | undefined;
854
+ $nin?: string[] | undefined;
855
+ } | undefined;
856
+ }, {
857
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
858
+ component?: {
859
+ $eq?: string | undefined;
860
+ $neq?: string | undefined;
861
+ $in?: string[] | undefined;
862
+ $nin?: string[] | undefined;
863
+ } | undefined;
864
+ tag?: {
865
+ $eq?: string | undefined;
866
+ $neq?: string | undefined;
867
+ $in?: string[] | undefined;
868
+ $nin?: string[] | undefined;
869
+ } | undefined;
870
+ }>, "many">]>>;
871
+ indexWithinAncestor: z.ZodOptional<z.ZodString>;
872
+ stylable: z.ZodOptional<z.ZodBoolean>;
873
+ label: z.ZodOptional<z.ZodString>;
874
+ description: z.ZodOptional<z.ZodString>;
875
+ icon: z.ZodString;
876
+ presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<{
877
+ value: {
878
+ value: {
879
+ value: string;
880
+ type: "asset";
881
+ } | {
882
+ type: "url";
883
+ url: string;
884
+ };
885
+ type: "image";
886
+ hidden?: boolean | undefined;
887
+ } | {
888
+ value: number;
889
+ type: "unit";
890
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
891
+ hidden?: boolean | undefined;
892
+ } | {
893
+ value: string;
894
+ type: "keyword";
895
+ hidden?: boolean | undefined;
896
+ } | {
897
+ value: string;
898
+ type: "unparsed";
899
+ hidden?: boolean | undefined;
900
+ } | {
901
+ type: "rgb";
902
+ b: number;
903
+ r: number;
904
+ g: number;
905
+ alpha: number;
906
+ hidden?: boolean | undefined;
907
+ } | {
908
+ type: "function";
909
+ name: string;
910
+ args: import("@webstudio-is/css-engine").StyleValue;
911
+ hidden?: boolean;
912
+ } | {
913
+ value: string;
914
+ type: "var";
915
+ fallback?: {
916
+ value: number;
917
+ type: "unit";
918
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
919
+ hidden?: boolean | undefined;
920
+ } | {
921
+ value: string;
922
+ type: "keyword";
923
+ hidden?: boolean | undefined;
924
+ } | {
925
+ value: string;
926
+ type: "unparsed";
927
+ hidden?: boolean | undefined;
928
+ } | {
929
+ type: "rgb";
930
+ b: number;
931
+ r: number;
932
+ g: number;
933
+ alpha: number;
934
+ hidden?: boolean | undefined;
935
+ } | undefined;
936
+ hidden?: boolean | undefined;
937
+ } | {
938
+ value: ({
939
+ value: {
940
+ value: string;
941
+ type: "asset";
942
+ } | {
943
+ type: "url";
944
+ url: string;
945
+ };
946
+ type: "image";
947
+ hidden?: boolean | undefined;
948
+ } | {
949
+ value: number;
950
+ type: "unit";
951
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
952
+ hidden?: boolean | undefined;
953
+ } | {
954
+ value: string;
955
+ type: "keyword";
956
+ hidden?: boolean | undefined;
957
+ } | {
958
+ value: string;
959
+ type: "unparsed";
960
+ hidden?: boolean | undefined;
961
+ } | {
962
+ type: "rgb";
963
+ b: number;
964
+ r: number;
965
+ g: number;
966
+ alpha: number;
967
+ hidden?: boolean | undefined;
968
+ } | {
969
+ type: "function";
970
+ name: string;
971
+ args: import("@webstudio-is/css-engine").StyleValue;
972
+ hidden?: boolean;
973
+ } | {
974
+ value: string;
975
+ type: "var";
976
+ fallback?: {
977
+ value: number;
978
+ type: "unit";
979
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
980
+ hidden?: boolean | undefined;
981
+ } | {
982
+ value: string;
983
+ type: "keyword";
984
+ hidden?: boolean | undefined;
985
+ } | {
986
+ value: string;
987
+ type: "unparsed";
988
+ hidden?: boolean | undefined;
989
+ } | {
990
+ type: "rgb";
991
+ b: number;
992
+ r: number;
993
+ g: number;
994
+ alpha: number;
995
+ hidden?: boolean | undefined;
996
+ } | undefined;
997
+ hidden?: boolean | undefined;
998
+ })[];
999
+ type: "tuple";
1000
+ hidden?: boolean | undefined;
1001
+ } | {
1002
+ value: string;
1003
+ type: "invalid";
1004
+ hidden?: boolean | undefined;
1005
+ } | {
1006
+ value: ({
1007
+ value: {
1008
+ value: string;
1009
+ type: "asset";
1010
+ } | {
1011
+ type: "url";
1012
+ url: string;
1013
+ };
1014
+ type: "image";
1015
+ hidden?: boolean | undefined;
1016
+ } | {
1017
+ value: number;
1018
+ type: "unit";
1019
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1020
+ hidden?: boolean | undefined;
1021
+ } | {
1022
+ value: string;
1023
+ type: "keyword";
1024
+ hidden?: boolean | undefined;
1025
+ } | {
1026
+ value: string;
1027
+ type: "unparsed";
1028
+ hidden?: boolean | undefined;
1029
+ } | {
1030
+ type: "rgb";
1031
+ b: number;
1032
+ r: number;
1033
+ g: number;
1034
+ alpha: number;
1035
+ hidden?: boolean | undefined;
1036
+ } | {
1037
+ type: "function";
1038
+ name: string;
1039
+ args: import("@webstudio-is/css-engine").StyleValue;
1040
+ hidden?: boolean;
1041
+ } | {
1042
+ value: string;
1043
+ type: "var";
1044
+ fallback?: {
1045
+ value: number;
1046
+ type: "unit";
1047
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1048
+ hidden?: boolean | undefined;
1049
+ } | {
1050
+ value: string;
1051
+ type: "keyword";
1052
+ hidden?: boolean | undefined;
1053
+ } | {
1054
+ value: string;
1055
+ type: "unparsed";
1056
+ hidden?: boolean | undefined;
1057
+ } | {
1058
+ type: "rgb";
1059
+ b: number;
1060
+ r: number;
1061
+ g: number;
1062
+ alpha: number;
1063
+ hidden?: boolean | undefined;
1064
+ } | undefined;
1065
+ hidden?: boolean | undefined;
1066
+ } | {
1067
+ value: ({
1068
+ value: {
1069
+ value: string;
1070
+ type: "asset";
1071
+ } | {
1072
+ type: "url";
1073
+ url: string;
1074
+ };
1075
+ type: "image";
1076
+ hidden?: boolean | undefined;
1077
+ } | {
1078
+ value: number;
1079
+ type: "unit";
1080
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1081
+ hidden?: boolean | undefined;
1082
+ } | {
1083
+ value: string;
1084
+ type: "keyword";
1085
+ hidden?: boolean | undefined;
1086
+ } | {
1087
+ value: string;
1088
+ type: "unparsed";
1089
+ hidden?: boolean | undefined;
1090
+ } | {
1091
+ type: "rgb";
1092
+ b: number;
1093
+ r: number;
1094
+ g: number;
1095
+ alpha: number;
1096
+ hidden?: boolean | undefined;
1097
+ } | {
1098
+ type: "function";
1099
+ name: string;
1100
+ args: import("@webstudio-is/css-engine").StyleValue;
1101
+ hidden?: boolean;
1102
+ } | {
1103
+ value: string;
1104
+ type: "var";
1105
+ fallback?: {
1106
+ value: number;
1107
+ type: "unit";
1108
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1109
+ hidden?: boolean | undefined;
1110
+ } | {
1111
+ value: string;
1112
+ type: "keyword";
1113
+ hidden?: boolean | undefined;
1114
+ } | {
1115
+ value: string;
1116
+ type: "unparsed";
1117
+ hidden?: boolean | undefined;
1118
+ } | {
1119
+ type: "rgb";
1120
+ b: number;
1121
+ r: number;
1122
+ g: number;
1123
+ alpha: number;
1124
+ hidden?: boolean | undefined;
1125
+ } | undefined;
1126
+ hidden?: boolean | undefined;
1127
+ })[];
1128
+ type: "tuple";
1129
+ hidden?: boolean | undefined;
1130
+ } | {
1131
+ value: string;
1132
+ type: "invalid";
1133
+ hidden?: boolean | undefined;
1134
+ })[];
1135
+ type: "layers";
1136
+ hidden?: boolean | undefined;
1137
+ } | {
1138
+ value: string[];
1139
+ type: "fontFamily";
1140
+ hidden?: boolean | undefined;
1141
+ } | {
1142
+ type: "guaranteedInvalid";
1143
+ hidden?: boolean | undefined;
1144
+ } | {
1145
+ value: "";
1146
+ type: "unset";
1147
+ hidden?: boolean | undefined;
1148
+ };
1149
+ state?: string | undefined;
1150
+ property: import("@webstudio-is/css-engine").StyleProperty;
1151
+ }, z.ZodTypeDef, {
1152
+ value: {
1153
+ value: {
1154
+ value: string;
1155
+ type: "asset";
1156
+ } | {
1157
+ type: "url";
1158
+ url: string;
1159
+ };
1160
+ type: "image";
1161
+ hidden?: boolean | undefined;
1162
+ } | {
1163
+ value: number;
1164
+ type: "unit";
1165
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1166
+ hidden?: boolean | undefined;
1167
+ } | {
1168
+ value: string;
1169
+ type: "keyword";
1170
+ hidden?: boolean | undefined;
1171
+ } | {
1172
+ value: string;
1173
+ type: "unparsed";
1174
+ hidden?: boolean | undefined;
1175
+ } | {
1176
+ type: "rgb";
1177
+ b: number;
1178
+ r: number;
1179
+ g: number;
1180
+ alpha: number;
1181
+ hidden?: boolean | undefined;
1182
+ } | {
1183
+ type: "function";
1184
+ name: string;
1185
+ args: import("@webstudio-is/css-engine").StyleValue;
1186
+ hidden?: boolean;
1187
+ } | {
1188
+ value: string;
1189
+ type: "var";
1190
+ fallback?: {
1191
+ value: number;
1192
+ type: "unit";
1193
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1194
+ hidden?: boolean | undefined;
1195
+ } | {
1196
+ value: string;
1197
+ type: "keyword";
1198
+ hidden?: boolean | undefined;
1199
+ } | {
1200
+ value: string;
1201
+ type: "unparsed";
1202
+ hidden?: boolean | undefined;
1203
+ } | {
1204
+ type: "rgb";
1205
+ b: number;
1206
+ r: number;
1207
+ g: number;
1208
+ alpha: number;
1209
+ hidden?: boolean | undefined;
1210
+ } | undefined;
1211
+ hidden?: boolean | undefined;
1212
+ } | {
1213
+ value: ({
1214
+ value: {
1215
+ value: string;
1216
+ type: "asset";
1217
+ } | {
1218
+ type: "url";
1219
+ url: string;
1220
+ };
1221
+ type: "image";
1222
+ hidden?: boolean | undefined;
1223
+ } | {
1224
+ value: number;
1225
+ type: "unit";
1226
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1227
+ hidden?: boolean | undefined;
1228
+ } | {
1229
+ value: string;
1230
+ type: "keyword";
1231
+ hidden?: boolean | undefined;
1232
+ } | {
1233
+ value: string;
1234
+ type: "unparsed";
1235
+ hidden?: boolean | undefined;
1236
+ } | {
1237
+ type: "rgb";
1238
+ b: number;
1239
+ r: number;
1240
+ g: number;
1241
+ alpha: number;
1242
+ hidden?: boolean | undefined;
1243
+ } | {
1244
+ type: "function";
1245
+ name: string;
1246
+ args: import("@webstudio-is/css-engine").StyleValue;
1247
+ hidden?: boolean;
1248
+ } | {
1249
+ value: string;
1250
+ type: "var";
1251
+ fallback?: {
1252
+ value: number;
1253
+ type: "unit";
1254
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1255
+ hidden?: boolean | undefined;
1256
+ } | {
1257
+ value: string;
1258
+ type: "keyword";
1259
+ hidden?: boolean | undefined;
1260
+ } | {
1261
+ value: string;
1262
+ type: "unparsed";
1263
+ hidden?: boolean | undefined;
1264
+ } | {
1265
+ type: "rgb";
1266
+ b: number;
1267
+ r: number;
1268
+ g: number;
1269
+ alpha: number;
1270
+ hidden?: boolean | undefined;
1271
+ } | undefined;
1272
+ hidden?: boolean | undefined;
1273
+ })[];
1274
+ type: "tuple";
1275
+ hidden?: boolean | undefined;
1276
+ } | {
1277
+ value: string;
1278
+ type: "invalid";
1279
+ hidden?: boolean | undefined;
1280
+ } | {
1281
+ value: ({
1282
+ value: {
1283
+ value: string;
1284
+ type: "asset";
1285
+ } | {
1286
+ type: "url";
1287
+ url: string;
1288
+ };
1289
+ type: "image";
1290
+ hidden?: boolean | undefined;
1291
+ } | {
1292
+ value: number;
1293
+ type: "unit";
1294
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1295
+ hidden?: boolean | undefined;
1296
+ } | {
1297
+ value: string;
1298
+ type: "keyword";
1299
+ hidden?: boolean | undefined;
1300
+ } | {
1301
+ value: string;
1302
+ type: "unparsed";
1303
+ hidden?: boolean | undefined;
1304
+ } | {
1305
+ type: "rgb";
1306
+ b: number;
1307
+ r: number;
1308
+ g: number;
1309
+ alpha: number;
1310
+ hidden?: boolean | undefined;
1311
+ } | {
1312
+ type: "function";
1313
+ name: string;
1314
+ args: import("@webstudio-is/css-engine").StyleValue;
1315
+ hidden?: boolean;
1316
+ } | {
1317
+ value: string;
1318
+ type: "var";
1319
+ fallback?: {
1320
+ value: number;
1321
+ type: "unit";
1322
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1323
+ hidden?: boolean | undefined;
1324
+ } | {
1325
+ value: string;
1326
+ type: "keyword";
1327
+ hidden?: boolean | undefined;
1328
+ } | {
1329
+ value: string;
1330
+ type: "unparsed";
1331
+ hidden?: boolean | undefined;
1332
+ } | {
1333
+ type: "rgb";
1334
+ b: number;
1335
+ r: number;
1336
+ g: number;
1337
+ alpha: number;
1338
+ hidden?: boolean | undefined;
1339
+ } | undefined;
1340
+ hidden?: boolean | undefined;
1341
+ } | {
1342
+ value: ({
1343
+ value: {
1344
+ value: string;
1345
+ type: "asset";
1346
+ } | {
1347
+ type: "url";
1348
+ url: string;
1349
+ };
1350
+ type: "image";
1351
+ hidden?: boolean | undefined;
1352
+ } | {
1353
+ value: number;
1354
+ type: "unit";
1355
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1356
+ hidden?: boolean | undefined;
1357
+ } | {
1358
+ value: string;
1359
+ type: "keyword";
1360
+ hidden?: boolean | undefined;
1361
+ } | {
1362
+ value: string;
1363
+ type: "unparsed";
1364
+ hidden?: boolean | undefined;
1365
+ } | {
1366
+ type: "rgb";
1367
+ b: number;
1368
+ r: number;
1369
+ g: number;
1370
+ alpha: number;
1371
+ hidden?: boolean | undefined;
1372
+ } | {
1373
+ type: "function";
1374
+ name: string;
1375
+ args: import("@webstudio-is/css-engine").StyleValue;
1376
+ hidden?: boolean;
1377
+ } | {
1378
+ value: string;
1379
+ type: "var";
1380
+ fallback?: {
1381
+ value: number;
1382
+ type: "unit";
1383
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1384
+ hidden?: boolean | undefined;
1385
+ } | {
1386
+ value: string;
1387
+ type: "keyword";
1388
+ hidden?: boolean | undefined;
1389
+ } | {
1390
+ value: string;
1391
+ type: "unparsed";
1392
+ hidden?: boolean | undefined;
1393
+ } | {
1394
+ type: "rgb";
1395
+ b: number;
1396
+ r: number;
1397
+ g: number;
1398
+ alpha: number;
1399
+ hidden?: boolean | undefined;
1400
+ } | undefined;
1401
+ hidden?: boolean | undefined;
1402
+ })[];
1403
+ type: "tuple";
1404
+ hidden?: boolean | undefined;
1405
+ } | {
1406
+ value: string;
1407
+ type: "invalid";
1408
+ hidden?: boolean | undefined;
1409
+ })[];
1410
+ type: "layers";
1411
+ hidden?: boolean | undefined;
1412
+ } | {
1413
+ value: string[];
1414
+ type: "fontFamily";
1415
+ hidden?: boolean | undefined;
1416
+ } | {
1417
+ type: "guaranteedInvalid";
1418
+ hidden?: boolean | undefined;
1419
+ } | {
1420
+ value: "";
1421
+ type: "unset";
1422
+ hidden?: boolean | undefined;
1423
+ };
1424
+ state?: string | undefined;
1425
+ property: import("@webstudio-is/css-engine").StyleProperty;
1426
+ }>, "many">>>;
1427
+ states: z.ZodOptional<z.ZodArray<z.ZodObject<{
1428
+ category: z.ZodOptional<z.ZodEnum<["states", "component-states"]>>;
1429
+ selector: z.ZodString;
1430
+ label: z.ZodString;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ label: string;
1433
+ selector: string;
1434
+ category?: "states" | "component-states" | undefined;
1435
+ }, {
1436
+ label: string;
1437
+ selector: string;
1438
+ category?: "states" | "component-states" | undefined;
1439
+ }>, "many">>;
1440
+ template: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodUnion<[z.ZodType<import("./embed-template").EmbedTemplateInstance, z.ZodTypeDef, import("./embed-template").EmbedTemplateInstance>, z.ZodObject<{
1441
+ type: z.ZodLiteral<"text">;
1442
+ value: z.ZodString;
1443
+ placeholder: z.ZodOptional<z.ZodBoolean>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ value: string;
1446
+ type: "text";
1447
+ placeholder?: boolean | undefined;
1448
+ }, {
1449
+ value: string;
1450
+ type: "text";
1451
+ placeholder?: boolean | undefined;
1452
+ }>, z.ZodObject<{
1453
+ type: z.ZodLiteral<"expression">;
1454
+ value: z.ZodString;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ value: string;
1457
+ type: "expression";
1458
+ }, {
1459
+ value: string;
1460
+ type: "expression";
1461
+ }>]>, "many">>>;
1462
+ order: z.ZodOptional<z.ZodNumber>;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ type: "control" | "embed" | "container" | "rich-text-child";
1465
+ icon: string;
1466
+ category?: "data" | "xml" | "hidden" | "media" | "general" | "typography" | "forms" | "localization" | "radix" | "internal" | undefined;
1467
+ constraints?: {
1468
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
1469
+ component?: {
1470
+ $eq?: string | undefined;
1471
+ $neq?: string | undefined;
1472
+ $in?: string[] | undefined;
1473
+ $nin?: string[] | undefined;
1474
+ } | undefined;
1475
+ tag?: {
1476
+ $eq?: string | undefined;
1477
+ $neq?: string | undefined;
1478
+ $in?: string[] | undefined;
1479
+ $nin?: string[] | undefined;
1480
+ } | undefined;
1481
+ } | {
1482
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
1483
+ component?: {
1484
+ $eq?: string | undefined;
1485
+ $neq?: string | undefined;
1486
+ $in?: string[] | undefined;
1487
+ $nin?: string[] | undefined;
1488
+ } | undefined;
1489
+ tag?: {
1490
+ $eq?: string | undefined;
1491
+ $neq?: string | undefined;
1492
+ $in?: string[] | undefined;
1493
+ $nin?: string[] | undefined;
1494
+ } | undefined;
1495
+ }[] | undefined;
1496
+ indexWithinAncestor?: string | undefined;
1497
+ stylable?: boolean | undefined;
1498
+ label?: string | undefined;
1499
+ description?: string | undefined;
1500
+ presetStyle?: Record<string, {
1501
+ value: {
1502
+ value: {
1503
+ value: string;
1504
+ type: "asset";
1505
+ } | {
1506
+ type: "url";
1507
+ url: string;
1508
+ };
1509
+ type: "image";
1510
+ hidden?: boolean | undefined;
1511
+ } | {
1512
+ value: number;
1513
+ type: "unit";
1514
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1515
+ hidden?: boolean | undefined;
1516
+ } | {
1517
+ value: string;
1518
+ type: "keyword";
1519
+ hidden?: boolean | undefined;
1520
+ } | {
1521
+ value: string;
1522
+ type: "unparsed";
1523
+ hidden?: boolean | undefined;
1524
+ } | {
1525
+ type: "rgb";
1526
+ b: number;
1527
+ r: number;
1528
+ g: number;
1529
+ alpha: number;
1530
+ hidden?: boolean | undefined;
1531
+ } | {
1532
+ type: "function";
1533
+ name: string;
1534
+ args: import("@webstudio-is/css-engine").StyleValue;
1535
+ hidden?: boolean;
1536
+ } | {
1537
+ value: string;
1538
+ type: "var";
1539
+ fallback?: {
1540
+ value: number;
1541
+ type: "unit";
1542
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1543
+ hidden?: boolean | undefined;
1544
+ } | {
1545
+ value: string;
1546
+ type: "keyword";
1547
+ hidden?: boolean | undefined;
1548
+ } | {
1549
+ value: string;
1550
+ type: "unparsed";
1551
+ hidden?: boolean | undefined;
1552
+ } | {
1553
+ type: "rgb";
1554
+ b: number;
1555
+ r: number;
1556
+ g: number;
1557
+ alpha: number;
1558
+ hidden?: boolean | undefined;
1559
+ } | undefined;
1560
+ hidden?: boolean | undefined;
1561
+ } | {
1562
+ value: ({
1563
+ value: {
1564
+ value: string;
1565
+ type: "asset";
1566
+ } | {
1567
+ type: "url";
1568
+ url: string;
1569
+ };
1570
+ type: "image";
1571
+ hidden?: boolean | undefined;
1572
+ } | {
1573
+ value: number;
1574
+ type: "unit";
1575
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1576
+ hidden?: boolean | undefined;
1577
+ } | {
1578
+ value: string;
1579
+ type: "keyword";
1580
+ hidden?: boolean | undefined;
1581
+ } | {
1582
+ value: string;
1583
+ type: "unparsed";
1584
+ hidden?: boolean | undefined;
1585
+ } | {
1586
+ type: "rgb";
1587
+ b: number;
1588
+ r: number;
1589
+ g: number;
1590
+ alpha: number;
1591
+ hidden?: boolean | undefined;
1592
+ } | {
1593
+ type: "function";
1594
+ name: string;
1595
+ args: import("@webstudio-is/css-engine").StyleValue;
1596
+ hidden?: boolean;
1597
+ } | {
1598
+ value: string;
1599
+ type: "var";
1600
+ fallback?: {
1601
+ value: number;
1602
+ type: "unit";
1603
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1604
+ hidden?: boolean | undefined;
1605
+ } | {
1606
+ value: string;
1607
+ type: "keyword";
1608
+ hidden?: boolean | undefined;
1609
+ } | {
1610
+ value: string;
1611
+ type: "unparsed";
1612
+ hidden?: boolean | undefined;
1613
+ } | {
1614
+ type: "rgb";
1615
+ b: number;
1616
+ r: number;
1617
+ g: number;
1618
+ alpha: number;
1619
+ hidden?: boolean | undefined;
1620
+ } | undefined;
1621
+ hidden?: boolean | undefined;
1622
+ })[];
1623
+ type: "tuple";
1624
+ hidden?: boolean | undefined;
1625
+ } | {
1626
+ value: string;
1627
+ type: "invalid";
1628
+ hidden?: boolean | undefined;
1629
+ } | {
1630
+ value: ({
1631
+ value: {
1632
+ value: string;
1633
+ type: "asset";
1634
+ } | {
1635
+ type: "url";
1636
+ url: string;
1637
+ };
1638
+ type: "image";
1639
+ hidden?: boolean | undefined;
1640
+ } | {
1641
+ value: number;
1642
+ type: "unit";
1643
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1644
+ hidden?: boolean | undefined;
1645
+ } | {
1646
+ value: string;
1647
+ type: "keyword";
1648
+ hidden?: boolean | undefined;
1649
+ } | {
1650
+ value: string;
1651
+ type: "unparsed";
1652
+ hidden?: boolean | undefined;
1653
+ } | {
1654
+ type: "rgb";
1655
+ b: number;
1656
+ r: number;
1657
+ g: number;
1658
+ alpha: number;
1659
+ hidden?: boolean | undefined;
1660
+ } | {
1661
+ type: "function";
1662
+ name: string;
1663
+ args: import("@webstudio-is/css-engine").StyleValue;
1664
+ hidden?: boolean;
1665
+ } | {
1666
+ value: string;
1667
+ type: "var";
1668
+ fallback?: {
1669
+ value: number;
1670
+ type: "unit";
1671
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1672
+ hidden?: boolean | undefined;
1673
+ } | {
1674
+ value: string;
1675
+ type: "keyword";
1676
+ hidden?: boolean | undefined;
1677
+ } | {
1678
+ value: string;
1679
+ type: "unparsed";
1680
+ hidden?: boolean | undefined;
1681
+ } | {
1682
+ type: "rgb";
1683
+ b: number;
1684
+ r: number;
1685
+ g: number;
1686
+ alpha: number;
1687
+ hidden?: boolean | undefined;
1688
+ } | undefined;
1689
+ hidden?: boolean | undefined;
1690
+ } | {
1691
+ value: ({
1692
+ value: {
1693
+ value: string;
1694
+ type: "asset";
1695
+ } | {
1696
+ type: "url";
1697
+ url: string;
1698
+ };
1699
+ type: "image";
1700
+ hidden?: boolean | undefined;
1701
+ } | {
1702
+ value: number;
1703
+ type: "unit";
1704
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1705
+ hidden?: boolean | undefined;
1706
+ } | {
1707
+ value: string;
1708
+ type: "keyword";
1709
+ hidden?: boolean | undefined;
1710
+ } | {
1711
+ value: string;
1712
+ type: "unparsed";
1713
+ hidden?: boolean | undefined;
1714
+ } | {
1715
+ type: "rgb";
1716
+ b: number;
1717
+ r: number;
1718
+ g: number;
1719
+ alpha: number;
1720
+ hidden?: boolean | undefined;
1721
+ } | {
1722
+ type: "function";
1723
+ name: string;
1724
+ args: import("@webstudio-is/css-engine").StyleValue;
1725
+ hidden?: boolean;
1726
+ } | {
1727
+ value: string;
1728
+ type: "var";
1729
+ fallback?: {
1730
+ value: number;
1731
+ type: "unit";
1732
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1733
+ hidden?: boolean | undefined;
1734
+ } | {
1735
+ value: string;
1736
+ type: "keyword";
1737
+ hidden?: boolean | undefined;
1738
+ } | {
1739
+ value: string;
1740
+ type: "unparsed";
1741
+ hidden?: boolean | undefined;
1742
+ } | {
1743
+ type: "rgb";
1744
+ b: number;
1745
+ r: number;
1746
+ g: number;
1747
+ alpha: number;
1748
+ hidden?: boolean | undefined;
1749
+ } | undefined;
1750
+ hidden?: boolean | undefined;
1751
+ })[];
1752
+ type: "tuple";
1753
+ hidden?: boolean | undefined;
1754
+ } | {
1755
+ value: string;
1756
+ type: "invalid";
1757
+ hidden?: boolean | undefined;
1758
+ })[];
1759
+ type: "layers";
1760
+ hidden?: boolean | undefined;
1761
+ } | {
1762
+ value: string[];
1763
+ type: "fontFamily";
1764
+ hidden?: boolean | undefined;
1765
+ } | {
1766
+ type: "guaranteedInvalid";
1767
+ hidden?: boolean | undefined;
1768
+ } | {
1769
+ value: "";
1770
+ type: "unset";
1771
+ hidden?: boolean | undefined;
1772
+ };
1773
+ state?: string | undefined;
1774
+ property: import("@webstudio-is/css-engine").StyleProperty;
1775
+ }[]> | undefined;
1776
+ states?: {
1777
+ label: string;
1778
+ selector: string;
1779
+ category?: "states" | "component-states" | undefined;
1780
+ }[] | undefined;
1781
+ template?: ({
1782
+ value: string;
1783
+ type: "text";
1784
+ placeholder?: boolean | undefined;
1785
+ } | {
1786
+ value: string;
1787
+ type: "expression";
1788
+ } | import("./embed-template").EmbedTemplateInstance)[] | undefined;
1789
+ order?: number | undefined;
1790
+ }, {
1791
+ type: "control" | "embed" | "container" | "rich-text-child";
1792
+ icon: string;
1793
+ category?: "data" | "xml" | "hidden" | "media" | "general" | "typography" | "forms" | "localization" | "radix" | "internal" | undefined;
1794
+ constraints?: {
1795
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
1796
+ component?: {
1797
+ $eq?: string | undefined;
1798
+ $neq?: string | undefined;
1799
+ $in?: string[] | undefined;
1800
+ $nin?: string[] | undefined;
1801
+ } | undefined;
1802
+ tag?: {
1803
+ $eq?: string | undefined;
1804
+ $neq?: string | undefined;
1805
+ $in?: string[] | undefined;
1806
+ $nin?: string[] | undefined;
1807
+ } | undefined;
1808
+ } | {
1809
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
1810
+ component?: {
1811
+ $eq?: string | undefined;
1812
+ $neq?: string | undefined;
1813
+ $in?: string[] | undefined;
1814
+ $nin?: string[] | undefined;
1815
+ } | undefined;
1816
+ tag?: {
1817
+ $eq?: string | undefined;
1818
+ $neq?: string | undefined;
1819
+ $in?: string[] | undefined;
1820
+ $nin?: string[] | undefined;
1821
+ } | undefined;
1822
+ }[] | undefined;
1823
+ indexWithinAncestor?: string | undefined;
1824
+ stylable?: boolean | undefined;
1825
+ label?: string | undefined;
1826
+ description?: string | undefined;
1827
+ presetStyle?: Record<string, {
1828
+ value: {
1829
+ value: {
1830
+ value: string;
1831
+ type: "asset";
1832
+ } | {
1833
+ type: "url";
1834
+ url: string;
1835
+ };
1836
+ type: "image";
1837
+ hidden?: boolean | undefined;
1838
+ } | {
1839
+ value: number;
1840
+ type: "unit";
1841
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1842
+ hidden?: boolean | undefined;
1843
+ } | {
1844
+ value: string;
1845
+ type: "keyword";
1846
+ hidden?: boolean | undefined;
1847
+ } | {
1848
+ value: string;
1849
+ type: "unparsed";
1850
+ hidden?: boolean | undefined;
1851
+ } | {
1852
+ type: "rgb";
1853
+ b: number;
1854
+ r: number;
1855
+ g: number;
1856
+ alpha: number;
1857
+ hidden?: boolean | undefined;
1858
+ } | {
1859
+ type: "function";
1860
+ name: string;
1861
+ args: import("@webstudio-is/css-engine").StyleValue;
1862
+ hidden?: boolean;
1863
+ } | {
1864
+ value: string;
1865
+ type: "var";
1866
+ fallback?: {
1867
+ value: number;
1868
+ type: "unit";
1869
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1870
+ hidden?: boolean | undefined;
1871
+ } | {
1872
+ value: string;
1873
+ type: "keyword";
1874
+ hidden?: boolean | undefined;
1875
+ } | {
1876
+ value: string;
1877
+ type: "unparsed";
1878
+ hidden?: boolean | undefined;
1879
+ } | {
1880
+ type: "rgb";
1881
+ b: number;
1882
+ r: number;
1883
+ g: number;
1884
+ alpha: number;
1885
+ hidden?: boolean | undefined;
1886
+ } | undefined;
1887
+ hidden?: boolean | undefined;
1888
+ } | {
1889
+ value: ({
1890
+ value: {
1891
+ value: string;
1892
+ type: "asset";
1893
+ } | {
1894
+ type: "url";
1895
+ url: string;
1896
+ };
1897
+ type: "image";
1898
+ hidden?: boolean | undefined;
1899
+ } | {
1900
+ value: number;
1901
+ type: "unit";
1902
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1903
+ hidden?: boolean | undefined;
1904
+ } | {
1905
+ value: string;
1906
+ type: "keyword";
1907
+ hidden?: boolean | undefined;
1908
+ } | {
1909
+ value: string;
1910
+ type: "unparsed";
1911
+ hidden?: boolean | undefined;
1912
+ } | {
1913
+ type: "rgb";
1914
+ b: number;
1915
+ r: number;
1916
+ g: number;
1917
+ alpha: number;
1918
+ hidden?: boolean | undefined;
1919
+ } | {
1920
+ type: "function";
1921
+ name: string;
1922
+ args: import("@webstudio-is/css-engine").StyleValue;
1923
+ hidden?: boolean;
1924
+ } | {
1925
+ value: string;
1926
+ type: "var";
1927
+ fallback?: {
1928
+ value: number;
1929
+ type: "unit";
1930
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1931
+ hidden?: boolean | undefined;
1932
+ } | {
1933
+ value: string;
1934
+ type: "keyword";
1935
+ hidden?: boolean | undefined;
1936
+ } | {
1937
+ value: string;
1938
+ type: "unparsed";
1939
+ hidden?: boolean | undefined;
1940
+ } | {
1941
+ type: "rgb";
1942
+ b: number;
1943
+ r: number;
1944
+ g: number;
1945
+ alpha: number;
1946
+ hidden?: boolean | undefined;
1947
+ } | undefined;
1948
+ hidden?: boolean | undefined;
1949
+ })[];
1950
+ type: "tuple";
1951
+ hidden?: boolean | undefined;
1952
+ } | {
1953
+ value: string;
1954
+ type: "invalid";
1955
+ hidden?: boolean | undefined;
1956
+ } | {
1957
+ value: ({
1958
+ value: {
1959
+ value: string;
1960
+ type: "asset";
1961
+ } | {
1962
+ type: "url";
1963
+ url: string;
1964
+ };
1965
+ type: "image";
1966
+ hidden?: boolean | undefined;
1967
+ } | {
1968
+ value: number;
1969
+ type: "unit";
1970
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1971
+ hidden?: boolean | undefined;
1972
+ } | {
1973
+ value: string;
1974
+ type: "keyword";
1975
+ hidden?: boolean | undefined;
1976
+ } | {
1977
+ value: string;
1978
+ type: "unparsed";
1979
+ hidden?: boolean | undefined;
1980
+ } | {
1981
+ type: "rgb";
1982
+ b: number;
1983
+ r: number;
1984
+ g: number;
1985
+ alpha: number;
1986
+ hidden?: boolean | undefined;
1987
+ } | {
1988
+ type: "function";
1989
+ name: string;
1990
+ args: import("@webstudio-is/css-engine").StyleValue;
1991
+ hidden?: boolean;
1992
+ } | {
1993
+ value: string;
1994
+ type: "var";
1995
+ fallback?: {
1996
+ value: number;
1997
+ type: "unit";
1998
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1999
+ hidden?: boolean | undefined;
2000
+ } | {
2001
+ value: string;
2002
+ type: "keyword";
2003
+ hidden?: boolean | undefined;
2004
+ } | {
2005
+ value: string;
2006
+ type: "unparsed";
2007
+ hidden?: boolean | undefined;
2008
+ } | {
2009
+ type: "rgb";
2010
+ b: number;
2011
+ r: number;
2012
+ g: number;
2013
+ alpha: number;
2014
+ hidden?: boolean | undefined;
2015
+ } | undefined;
2016
+ hidden?: boolean | undefined;
2017
+ } | {
2018
+ value: ({
2019
+ value: {
2020
+ value: string;
2021
+ type: "asset";
2022
+ } | {
2023
+ type: "url";
2024
+ url: string;
2025
+ };
2026
+ type: "image";
2027
+ hidden?: boolean | undefined;
2028
+ } | {
2029
+ value: number;
2030
+ type: "unit";
2031
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2032
+ hidden?: boolean | undefined;
2033
+ } | {
2034
+ value: string;
2035
+ type: "keyword";
2036
+ hidden?: boolean | undefined;
2037
+ } | {
2038
+ value: string;
2039
+ type: "unparsed";
2040
+ hidden?: boolean | undefined;
2041
+ } | {
2042
+ type: "rgb";
2043
+ b: number;
2044
+ r: number;
2045
+ g: number;
2046
+ alpha: number;
2047
+ hidden?: boolean | undefined;
2048
+ } | {
2049
+ type: "function";
2050
+ name: string;
2051
+ args: import("@webstudio-is/css-engine").StyleValue;
2052
+ hidden?: boolean;
2053
+ } | {
2054
+ value: string;
2055
+ type: "var";
2056
+ fallback?: {
2057
+ value: number;
2058
+ type: "unit";
2059
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
2060
+ hidden?: boolean | undefined;
2061
+ } | {
2062
+ value: string;
2063
+ type: "keyword";
2064
+ hidden?: boolean | undefined;
2065
+ } | {
2066
+ value: string;
2067
+ type: "unparsed";
2068
+ hidden?: boolean | undefined;
2069
+ } | {
2070
+ type: "rgb";
2071
+ b: number;
2072
+ r: number;
2073
+ g: number;
2074
+ alpha: number;
2075
+ hidden?: boolean | undefined;
2076
+ } | undefined;
2077
+ hidden?: boolean | undefined;
2078
+ })[];
2079
+ type: "tuple";
2080
+ hidden?: boolean | undefined;
2081
+ } | {
2082
+ value: string;
2083
+ type: "invalid";
2084
+ hidden?: boolean | undefined;
2085
+ })[];
2086
+ type: "layers";
2087
+ hidden?: boolean | undefined;
2088
+ } | {
2089
+ value: string[];
2090
+ type: "fontFamily";
2091
+ hidden?: boolean | undefined;
2092
+ } | {
2093
+ type: "guaranteedInvalid";
2094
+ hidden?: boolean | undefined;
2095
+ } | {
2096
+ value: "";
2097
+ type: "unset";
2098
+ hidden?: boolean | undefined;
2099
+ };
2100
+ state?: string | undefined;
2101
+ property: import("@webstudio-is/css-engine").StyleProperty;
2102
+ }[]> | undefined;
2103
+ states?: {
2104
+ label: string;
2105
+ selector: string;
2106
+ category?: "states" | "component-states" | undefined;
2107
+ }[] | undefined;
2108
+ template?: ({
2109
+ value: string;
2110
+ type: "text";
2111
+ placeholder?: boolean | undefined;
2112
+ } | {
2113
+ value: string;
2114
+ type: "expression";
2115
+ } | import("./embed-template").EmbedTemplateInstance)[] | undefined;
2116
+ order?: number | undefined;
2117
+ }>;
2118
+ export type WsComponentMeta = Omit<z.infer<typeof WsComponentMeta>, "presetStyle"> & {
2119
+ presetStyle?: PresetStyle;
2120
+ };
2121
+ export {};