@webstudio-is/css-engine 0.182.0 → 0.185.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.
@@ -179,6 +179,89 @@ declare const UnsetValue: z.ZodObject<{
179
179
  hidden?: boolean | undefined;
180
180
  }>;
181
181
  export type UnsetValue = z.infer<typeof UnsetValue>;
182
+ export declare const VarFallback: z.ZodUnion<[z.ZodObject<{
183
+ type: z.ZodLiteral<"unparsed">;
184
+ value: z.ZodString;
185
+ hidden: z.ZodOptional<z.ZodBoolean>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ type: "unparsed";
188
+ value: string;
189
+ hidden?: boolean | undefined;
190
+ }, {
191
+ type: "unparsed";
192
+ value: string;
193
+ hidden?: boolean | undefined;
194
+ }>, z.ZodObject<{
195
+ type: z.ZodLiteral<"keyword">;
196
+ value: z.ZodString;
197
+ hidden: z.ZodOptional<z.ZodBoolean>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ type: "keyword";
200
+ value: string;
201
+ hidden?: boolean | undefined;
202
+ }, {
203
+ type: "keyword";
204
+ value: string;
205
+ hidden?: boolean | undefined;
206
+ }>]>;
207
+ export type VarFallback = z.infer<typeof VarFallback>;
208
+ declare const VarValue: z.ZodObject<{
209
+ type: z.ZodLiteral<"var">;
210
+ value: z.ZodString;
211
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
212
+ type: z.ZodLiteral<"unparsed">;
213
+ value: z.ZodString;
214
+ hidden: z.ZodOptional<z.ZodBoolean>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ type: "unparsed";
217
+ value: string;
218
+ hidden?: boolean | undefined;
219
+ }, {
220
+ type: "unparsed";
221
+ value: string;
222
+ hidden?: boolean | undefined;
223
+ }>, z.ZodObject<{
224
+ type: z.ZodLiteral<"keyword">;
225
+ value: z.ZodString;
226
+ hidden: z.ZodOptional<z.ZodBoolean>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ type: "keyword";
229
+ value: string;
230
+ hidden?: boolean | undefined;
231
+ }, {
232
+ type: "keyword";
233
+ value: string;
234
+ hidden?: boolean | undefined;
235
+ }>]>>;
236
+ hidden: z.ZodOptional<z.ZodBoolean>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ type: "var";
239
+ value: string;
240
+ fallback?: {
241
+ type: "keyword";
242
+ value: string;
243
+ hidden?: boolean | undefined;
244
+ } | {
245
+ type: "unparsed";
246
+ value: string;
247
+ hidden?: boolean | undefined;
248
+ } | undefined;
249
+ hidden?: boolean | undefined;
250
+ }, {
251
+ type: "var";
252
+ value: string;
253
+ fallback?: {
254
+ type: "keyword";
255
+ value: string;
256
+ hidden?: boolean | undefined;
257
+ } | {
258
+ type: "unparsed";
259
+ value: string;
260
+ hidden?: boolean | undefined;
261
+ } | undefined;
262
+ hidden?: boolean | undefined;
263
+ }>;
264
+ export type VarValue = z.infer<typeof VarValue>;
182
265
  export declare const TupleValueItem: z.ZodUnion<[z.ZodObject<{
183
266
  type: z.ZodLiteral<"unit">;
184
267
  unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
@@ -291,6 +374,61 @@ export declare const TupleValueItem: z.ZodUnion<[z.ZodObject<{
291
374
  name: string;
292
375
  args: StyleValue;
293
376
  hidden?: boolean;
377
+ }>, z.ZodObject<{
378
+ type: z.ZodLiteral<"var">;
379
+ value: z.ZodString;
380
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
381
+ type: z.ZodLiteral<"unparsed">;
382
+ value: z.ZodString;
383
+ hidden: z.ZodOptional<z.ZodBoolean>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ type: "unparsed";
386
+ value: string;
387
+ hidden?: boolean | undefined;
388
+ }, {
389
+ type: "unparsed";
390
+ value: string;
391
+ hidden?: boolean | undefined;
392
+ }>, z.ZodObject<{
393
+ type: z.ZodLiteral<"keyword">;
394
+ value: z.ZodString;
395
+ hidden: z.ZodOptional<z.ZodBoolean>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ type: "keyword";
398
+ value: string;
399
+ hidden?: boolean | undefined;
400
+ }, {
401
+ type: "keyword";
402
+ value: string;
403
+ hidden?: boolean | undefined;
404
+ }>]>>;
405
+ hidden: z.ZodOptional<z.ZodBoolean>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ type: "var";
408
+ value: string;
409
+ fallback?: {
410
+ type: "keyword";
411
+ value: string;
412
+ hidden?: boolean | undefined;
413
+ } | {
414
+ type: "unparsed";
415
+ value: string;
416
+ hidden?: boolean | undefined;
417
+ } | undefined;
418
+ hidden?: boolean | undefined;
419
+ }, {
420
+ type: "var";
421
+ value: string;
422
+ fallback?: {
423
+ type: "keyword";
424
+ value: string;
425
+ hidden?: boolean | undefined;
426
+ } | {
427
+ type: "unparsed";
428
+ value: string;
429
+ hidden?: boolean | undefined;
430
+ } | undefined;
431
+ hidden?: boolean | undefined;
294
432
  }>]>;
295
433
  export type TupleValueItem = z.infer<typeof TupleValueItem>;
296
434
  export declare const TupleValue: z.ZodObject<{
@@ -407,6 +545,61 @@ export declare const TupleValue: z.ZodObject<{
407
545
  name: string;
408
546
  args: StyleValue;
409
547
  hidden?: boolean;
548
+ }>, z.ZodObject<{
549
+ type: z.ZodLiteral<"var">;
550
+ value: z.ZodString;
551
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
552
+ type: z.ZodLiteral<"unparsed">;
553
+ value: z.ZodString;
554
+ hidden: z.ZodOptional<z.ZodBoolean>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ type: "unparsed";
557
+ value: string;
558
+ hidden?: boolean | undefined;
559
+ }, {
560
+ type: "unparsed";
561
+ value: string;
562
+ hidden?: boolean | undefined;
563
+ }>, z.ZodObject<{
564
+ type: z.ZodLiteral<"keyword">;
565
+ value: z.ZodString;
566
+ hidden: z.ZodOptional<z.ZodBoolean>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ type: "keyword";
569
+ value: string;
570
+ hidden?: boolean | undefined;
571
+ }, {
572
+ type: "keyword";
573
+ value: string;
574
+ hidden?: boolean | undefined;
575
+ }>]>>;
576
+ hidden: z.ZodOptional<z.ZodBoolean>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ type: "var";
579
+ value: string;
580
+ fallback?: {
581
+ type: "keyword";
582
+ value: string;
583
+ hidden?: boolean | undefined;
584
+ } | {
585
+ type: "unparsed";
586
+ value: string;
587
+ hidden?: boolean | undefined;
588
+ } | undefined;
589
+ hidden?: boolean | undefined;
590
+ }, {
591
+ type: "var";
592
+ value: string;
593
+ fallback?: {
594
+ type: "keyword";
595
+ value: string;
596
+ hidden?: boolean | undefined;
597
+ } | {
598
+ type: "unparsed";
599
+ value: string;
600
+ hidden?: boolean | undefined;
601
+ } | undefined;
602
+ hidden?: boolean | undefined;
410
603
  }>]>, "many">;
411
604
  hidden: z.ZodOptional<z.ZodBoolean>;
412
605
  }, "strip", z.ZodTypeAny, {
@@ -446,6 +639,19 @@ export declare const TupleValue: z.ZodObject<{
446
639
  url: string;
447
640
  };
448
641
  hidden?: boolean | undefined;
642
+ } | {
643
+ type: "var";
644
+ value: string;
645
+ fallback?: {
646
+ type: "keyword";
647
+ value: string;
648
+ hidden?: boolean | undefined;
649
+ } | {
650
+ type: "unparsed";
651
+ value: string;
652
+ hidden?: boolean | undefined;
653
+ } | undefined;
654
+ hidden?: boolean | undefined;
449
655
  })[];
450
656
  hidden?: boolean | undefined;
451
657
  }, {
@@ -485,6 +691,19 @@ export declare const TupleValue: z.ZodObject<{
485
691
  url: string;
486
692
  };
487
693
  hidden?: boolean | undefined;
694
+ } | {
695
+ type: "var";
696
+ value: string;
697
+ fallback?: {
698
+ type: "keyword";
699
+ value: string;
700
+ hidden?: boolean | undefined;
701
+ } | {
702
+ type: "unparsed";
703
+ value: string;
704
+ hidden?: boolean | undefined;
705
+ } | undefined;
706
+ hidden?: boolean | undefined;
488
707
  })[];
489
708
  hidden?: boolean | undefined;
490
709
  }>;
@@ -684,6 +903,61 @@ declare const LayerValueItem: z.ZodUnion<[z.ZodObject<{
684
903
  name: string;
685
904
  args: StyleValue;
686
905
  hidden?: boolean;
906
+ }>, z.ZodObject<{
907
+ type: z.ZodLiteral<"var">;
908
+ value: z.ZodString;
909
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
910
+ type: z.ZodLiteral<"unparsed">;
911
+ value: z.ZodString;
912
+ hidden: z.ZodOptional<z.ZodBoolean>;
913
+ }, "strip", z.ZodTypeAny, {
914
+ type: "unparsed";
915
+ value: string;
916
+ hidden?: boolean | undefined;
917
+ }, {
918
+ type: "unparsed";
919
+ value: string;
920
+ hidden?: boolean | undefined;
921
+ }>, z.ZodObject<{
922
+ type: z.ZodLiteral<"keyword">;
923
+ value: z.ZodString;
924
+ hidden: z.ZodOptional<z.ZodBoolean>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ type: "keyword";
927
+ value: string;
928
+ hidden?: boolean | undefined;
929
+ }, {
930
+ type: "keyword";
931
+ value: string;
932
+ hidden?: boolean | undefined;
933
+ }>]>>;
934
+ hidden: z.ZodOptional<z.ZodBoolean>;
935
+ }, "strip", z.ZodTypeAny, {
936
+ type: "var";
937
+ value: string;
938
+ fallback?: {
939
+ type: "keyword";
940
+ value: string;
941
+ hidden?: boolean | undefined;
942
+ } | {
943
+ type: "unparsed";
944
+ value: string;
945
+ hidden?: boolean | undefined;
946
+ } | undefined;
947
+ hidden?: boolean | undefined;
948
+ }, {
949
+ type: "var";
950
+ value: string;
951
+ fallback?: {
952
+ type: "keyword";
953
+ value: string;
954
+ hidden?: boolean | undefined;
955
+ } | {
956
+ type: "unparsed";
957
+ value: string;
958
+ hidden?: boolean | undefined;
959
+ } | undefined;
960
+ hidden?: boolean | undefined;
687
961
  }>]>, "many">;
688
962
  hidden: z.ZodOptional<z.ZodBoolean>;
689
963
  }, "strip", z.ZodTypeAny, {
@@ -723,6 +997,19 @@ declare const LayerValueItem: z.ZodUnion<[z.ZodObject<{
723
997
  url: string;
724
998
  };
725
999
  hidden?: boolean | undefined;
1000
+ } | {
1001
+ type: "var";
1002
+ value: string;
1003
+ fallback?: {
1004
+ type: "keyword";
1005
+ value: string;
1006
+ hidden?: boolean | undefined;
1007
+ } | {
1008
+ type: "unparsed";
1009
+ value: string;
1010
+ hidden?: boolean | undefined;
1011
+ } | undefined;
1012
+ hidden?: boolean | undefined;
726
1013
  })[];
727
1014
  hidden?: boolean | undefined;
728
1015
  }, {
@@ -762,6 +1049,19 @@ declare const LayerValueItem: z.ZodUnion<[z.ZodObject<{
762
1049
  url: string;
763
1050
  };
764
1051
  hidden?: boolean | undefined;
1052
+ } | {
1053
+ type: "var";
1054
+ value: string;
1055
+ fallback?: {
1056
+ type: "keyword";
1057
+ value: string;
1058
+ hidden?: boolean | undefined;
1059
+ } | {
1060
+ type: "unparsed";
1061
+ value: string;
1062
+ hidden?: boolean | undefined;
1063
+ } | undefined;
1064
+ hidden?: boolean | undefined;
765
1065
  })[];
766
1066
  hidden?: boolean | undefined;
767
1067
  }>, z.ZodObject<{
@@ -807,6 +1107,61 @@ declare const LayerValueItem: z.ZodUnion<[z.ZodObject<{
807
1107
  name: string;
808
1108
  args: StyleValue;
809
1109
  hidden?: boolean;
1110
+ }>, z.ZodObject<{
1111
+ type: z.ZodLiteral<"var">;
1112
+ value: z.ZodString;
1113
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1114
+ type: z.ZodLiteral<"unparsed">;
1115
+ value: z.ZodString;
1116
+ hidden: z.ZodOptional<z.ZodBoolean>;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ type: "unparsed";
1119
+ value: string;
1120
+ hidden?: boolean | undefined;
1121
+ }, {
1122
+ type: "unparsed";
1123
+ value: string;
1124
+ hidden?: boolean | undefined;
1125
+ }>, z.ZodObject<{
1126
+ type: z.ZodLiteral<"keyword">;
1127
+ value: z.ZodString;
1128
+ hidden: z.ZodOptional<z.ZodBoolean>;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ type: "keyword";
1131
+ value: string;
1132
+ hidden?: boolean | undefined;
1133
+ }, {
1134
+ type: "keyword";
1135
+ value: string;
1136
+ hidden?: boolean | undefined;
1137
+ }>]>>;
1138
+ hidden: z.ZodOptional<z.ZodBoolean>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ type: "var";
1141
+ value: string;
1142
+ fallback?: {
1143
+ type: "keyword";
1144
+ value: string;
1145
+ hidden?: boolean | undefined;
1146
+ } | {
1147
+ type: "unparsed";
1148
+ value: string;
1149
+ hidden?: boolean | undefined;
1150
+ } | undefined;
1151
+ hidden?: boolean | undefined;
1152
+ }, {
1153
+ type: "var";
1154
+ value: string;
1155
+ fallback?: {
1156
+ type: "keyword";
1157
+ value: string;
1158
+ hidden?: boolean | undefined;
1159
+ } | {
1160
+ type: "unparsed";
1161
+ value: string;
1162
+ hidden?: boolean | undefined;
1163
+ } | undefined;
1164
+ hidden?: boolean | undefined;
810
1165
  }>]>;
811
1166
  export type LayerValueItem = z.infer<typeof LayerValueItem>;
812
1167
  export declare const LayersValue: z.ZodObject<{
@@ -1006,6 +1361,61 @@ export declare const LayersValue: z.ZodObject<{
1006
1361
  name: string;
1007
1362
  args: StyleValue;
1008
1363
  hidden?: boolean;
1364
+ }>, z.ZodObject<{
1365
+ type: z.ZodLiteral<"var">;
1366
+ value: z.ZodString;
1367
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1368
+ type: z.ZodLiteral<"unparsed">;
1369
+ value: z.ZodString;
1370
+ hidden: z.ZodOptional<z.ZodBoolean>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ type: "unparsed";
1373
+ value: string;
1374
+ hidden?: boolean | undefined;
1375
+ }, {
1376
+ type: "unparsed";
1377
+ value: string;
1378
+ hidden?: boolean | undefined;
1379
+ }>, z.ZodObject<{
1380
+ type: z.ZodLiteral<"keyword">;
1381
+ value: z.ZodString;
1382
+ hidden: z.ZodOptional<z.ZodBoolean>;
1383
+ }, "strip", z.ZodTypeAny, {
1384
+ type: "keyword";
1385
+ value: string;
1386
+ hidden?: boolean | undefined;
1387
+ }, {
1388
+ type: "keyword";
1389
+ value: string;
1390
+ hidden?: boolean | undefined;
1391
+ }>]>>;
1392
+ hidden: z.ZodOptional<z.ZodBoolean>;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ type: "var";
1395
+ value: string;
1396
+ fallback?: {
1397
+ type: "keyword";
1398
+ value: string;
1399
+ hidden?: boolean | undefined;
1400
+ } | {
1401
+ type: "unparsed";
1402
+ value: string;
1403
+ hidden?: boolean | undefined;
1404
+ } | undefined;
1405
+ hidden?: boolean | undefined;
1406
+ }, {
1407
+ type: "var";
1408
+ value: string;
1409
+ fallback?: {
1410
+ type: "keyword";
1411
+ value: string;
1412
+ hidden?: boolean | undefined;
1413
+ } | {
1414
+ type: "unparsed";
1415
+ value: string;
1416
+ hidden?: boolean | undefined;
1417
+ } | undefined;
1418
+ hidden?: boolean | undefined;
1009
1419
  }>]>, "many">;
1010
1420
  hidden: z.ZodOptional<z.ZodBoolean>;
1011
1421
  }, "strip", z.ZodTypeAny, {
@@ -1045,6 +1455,19 @@ export declare const LayersValue: z.ZodObject<{
1045
1455
  url: string;
1046
1456
  };
1047
1457
  hidden?: boolean | undefined;
1458
+ } | {
1459
+ type: "var";
1460
+ value: string;
1461
+ fallback?: {
1462
+ type: "keyword";
1463
+ value: string;
1464
+ hidden?: boolean | undefined;
1465
+ } | {
1466
+ type: "unparsed";
1467
+ value: string;
1468
+ hidden?: boolean | undefined;
1469
+ } | undefined;
1470
+ hidden?: boolean | undefined;
1048
1471
  })[];
1049
1472
  hidden?: boolean | undefined;
1050
1473
  }, {
@@ -1084,6 +1507,19 @@ export declare const LayersValue: z.ZodObject<{
1084
1507
  url: string;
1085
1508
  };
1086
1509
  hidden?: boolean | undefined;
1510
+ } | {
1511
+ type: "var";
1512
+ value: string;
1513
+ fallback?: {
1514
+ type: "keyword";
1515
+ value: string;
1516
+ hidden?: boolean | undefined;
1517
+ } | {
1518
+ type: "unparsed";
1519
+ value: string;
1520
+ hidden?: boolean | undefined;
1521
+ } | undefined;
1522
+ hidden?: boolean | undefined;
1087
1523
  })[];
1088
1524
  hidden?: boolean | undefined;
1089
1525
  }>, z.ZodObject<{
@@ -1129,6 +1565,61 @@ export declare const LayersValue: z.ZodObject<{
1129
1565
  name: string;
1130
1566
  args: StyleValue;
1131
1567
  hidden?: boolean;
1568
+ }>, z.ZodObject<{
1569
+ type: z.ZodLiteral<"var">;
1570
+ value: z.ZodString;
1571
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1572
+ type: z.ZodLiteral<"unparsed">;
1573
+ value: z.ZodString;
1574
+ hidden: z.ZodOptional<z.ZodBoolean>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ type: "unparsed";
1577
+ value: string;
1578
+ hidden?: boolean | undefined;
1579
+ }, {
1580
+ type: "unparsed";
1581
+ value: string;
1582
+ hidden?: boolean | undefined;
1583
+ }>, z.ZodObject<{
1584
+ type: z.ZodLiteral<"keyword">;
1585
+ value: z.ZodString;
1586
+ hidden: z.ZodOptional<z.ZodBoolean>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ type: "keyword";
1589
+ value: string;
1590
+ hidden?: boolean | undefined;
1591
+ }, {
1592
+ type: "keyword";
1593
+ value: string;
1594
+ hidden?: boolean | undefined;
1595
+ }>]>>;
1596
+ hidden: z.ZodOptional<z.ZodBoolean>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ type: "var";
1599
+ value: string;
1600
+ fallback?: {
1601
+ type: "keyword";
1602
+ value: string;
1603
+ hidden?: boolean | undefined;
1604
+ } | {
1605
+ type: "unparsed";
1606
+ value: string;
1607
+ hidden?: boolean | undefined;
1608
+ } | undefined;
1609
+ hidden?: boolean | undefined;
1610
+ }, {
1611
+ type: "var";
1612
+ value: string;
1613
+ fallback?: {
1614
+ type: "keyword";
1615
+ value: string;
1616
+ hidden?: boolean | undefined;
1617
+ } | {
1618
+ type: "unparsed";
1619
+ value: string;
1620
+ hidden?: boolean | undefined;
1621
+ } | undefined;
1622
+ hidden?: boolean | undefined;
1132
1623
  }>]>, "many">;
1133
1624
  hidden: z.ZodOptional<z.ZodBoolean>;
1134
1625
  }, "strip", z.ZodTypeAny, {
@@ -1168,6 +1659,19 @@ export declare const LayersValue: z.ZodObject<{
1168
1659
  url: string;
1169
1660
  };
1170
1661
  hidden?: boolean | undefined;
1662
+ } | {
1663
+ type: "var";
1664
+ value: string;
1665
+ fallback?: {
1666
+ type: "keyword";
1667
+ value: string;
1668
+ hidden?: boolean | undefined;
1669
+ } | {
1670
+ type: "unparsed";
1671
+ value: string;
1672
+ hidden?: boolean | undefined;
1673
+ } | undefined;
1674
+ hidden?: boolean | undefined;
1171
1675
  } | {
1172
1676
  type: "tuple";
1173
1677
  value: ({
@@ -1205,6 +1709,19 @@ export declare const LayersValue: z.ZodObject<{
1205
1709
  url: string;
1206
1710
  };
1207
1711
  hidden?: boolean | undefined;
1712
+ } | {
1713
+ type: "var";
1714
+ value: string;
1715
+ fallback?: {
1716
+ type: "keyword";
1717
+ value: string;
1718
+ hidden?: boolean | undefined;
1719
+ } | {
1720
+ type: "unparsed";
1721
+ value: string;
1722
+ hidden?: boolean | undefined;
1723
+ } | undefined;
1724
+ hidden?: boolean | undefined;
1208
1725
  })[];
1209
1726
  hidden?: boolean | undefined;
1210
1727
  } | {
@@ -1250,6 +1767,19 @@ export declare const LayersValue: z.ZodObject<{
1250
1767
  url: string;
1251
1768
  };
1252
1769
  hidden?: boolean | undefined;
1770
+ } | {
1771
+ type: "var";
1772
+ value: string;
1773
+ fallback?: {
1774
+ type: "keyword";
1775
+ value: string;
1776
+ hidden?: boolean | undefined;
1777
+ } | {
1778
+ type: "unparsed";
1779
+ value: string;
1780
+ hidden?: boolean | undefined;
1781
+ } | undefined;
1782
+ hidden?: boolean | undefined;
1253
1783
  } | {
1254
1784
  type: "tuple";
1255
1785
  value: ({
@@ -1287,6 +1817,19 @@ export declare const LayersValue: z.ZodObject<{
1287
1817
  url: string;
1288
1818
  };
1289
1819
  hidden?: boolean | undefined;
1820
+ } | {
1821
+ type: "var";
1822
+ value: string;
1823
+ fallback?: {
1824
+ type: "keyword";
1825
+ value: string;
1826
+ hidden?: boolean | undefined;
1827
+ } | {
1828
+ type: "unparsed";
1829
+ value: string;
1830
+ hidden?: boolean | undefined;
1831
+ } | undefined;
1832
+ hidden?: boolean | undefined;
1290
1833
  })[];
1291
1834
  hidden?: boolean | undefined;
1292
1835
  } | {
@@ -1297,7 +1840,7 @@ export declare const LayersValue: z.ZodObject<{
1297
1840
  hidden?: boolean | undefined;
1298
1841
  }>;
1299
1842
  export type LayersValue = z.infer<typeof LayersValue>;
1300
- declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1843
+ export declare const StyleValue: z.ZodUnion<[z.ZodObject<{
1301
1844
  type: z.ZodLiteral<"image">;
1302
1845
  value: z.ZodUnion<[z.ZodObject<{
1303
1846
  type: z.ZodLiteral<"asset">;
@@ -1536,6 +2079,61 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1536
2079
  name: string;
1537
2080
  args: StyleValue;
1538
2081
  hidden?: boolean;
2082
+ }>, z.ZodObject<{
2083
+ type: z.ZodLiteral<"var">;
2084
+ value: z.ZodString;
2085
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2086
+ type: z.ZodLiteral<"unparsed">;
2087
+ value: z.ZodString;
2088
+ hidden: z.ZodOptional<z.ZodBoolean>;
2089
+ }, "strip", z.ZodTypeAny, {
2090
+ type: "unparsed";
2091
+ value: string;
2092
+ hidden?: boolean | undefined;
2093
+ }, {
2094
+ type: "unparsed";
2095
+ value: string;
2096
+ hidden?: boolean | undefined;
2097
+ }>, z.ZodObject<{
2098
+ type: z.ZodLiteral<"keyword">;
2099
+ value: z.ZodString;
2100
+ hidden: z.ZodOptional<z.ZodBoolean>;
2101
+ }, "strip", z.ZodTypeAny, {
2102
+ type: "keyword";
2103
+ value: string;
2104
+ hidden?: boolean | undefined;
2105
+ }, {
2106
+ type: "keyword";
2107
+ value: string;
2108
+ hidden?: boolean | undefined;
2109
+ }>]>>;
2110
+ hidden: z.ZodOptional<z.ZodBoolean>;
2111
+ }, "strip", z.ZodTypeAny, {
2112
+ type: "var";
2113
+ value: string;
2114
+ fallback?: {
2115
+ type: "keyword";
2116
+ value: string;
2117
+ hidden?: boolean | undefined;
2118
+ } | {
2119
+ type: "unparsed";
2120
+ value: string;
2121
+ hidden?: boolean | undefined;
2122
+ } | undefined;
2123
+ hidden?: boolean | undefined;
2124
+ }, {
2125
+ type: "var";
2126
+ value: string;
2127
+ fallback?: {
2128
+ type: "keyword";
2129
+ value: string;
2130
+ hidden?: boolean | undefined;
2131
+ } | {
2132
+ type: "unparsed";
2133
+ value: string;
2134
+ hidden?: boolean | undefined;
2135
+ } | undefined;
2136
+ hidden?: boolean | undefined;
1539
2137
  }>]>, "many">;
1540
2138
  hidden: z.ZodOptional<z.ZodBoolean>;
1541
2139
  }, "strip", z.ZodTypeAny, {
@@ -1575,15 +2173,28 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1575
2173
  url: string;
1576
2174
  };
1577
2175
  hidden?: boolean | undefined;
1578
- })[];
1579
- hidden?: boolean | undefined;
1580
- }, {
1581
- type: "tuple";
1582
- value: ({
1583
- type: "unit";
1584
- value: number;
1585
- 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";
1586
- hidden?: boolean | undefined;
2176
+ } | {
2177
+ type: "var";
2178
+ value: string;
2179
+ fallback?: {
2180
+ type: "keyword";
2181
+ value: string;
2182
+ hidden?: boolean | undefined;
2183
+ } | {
2184
+ type: "unparsed";
2185
+ value: string;
2186
+ hidden?: boolean | undefined;
2187
+ } | undefined;
2188
+ hidden?: boolean | undefined;
2189
+ })[];
2190
+ hidden?: boolean | undefined;
2191
+ }, {
2192
+ type: "tuple";
2193
+ value: ({
2194
+ type: "unit";
2195
+ value: number;
2196
+ 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";
2197
+ hidden?: boolean | undefined;
1587
2198
  } | {
1588
2199
  type: "keyword";
1589
2200
  value: string;
@@ -1614,6 +2225,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1614
2225
  url: string;
1615
2226
  };
1616
2227
  hidden?: boolean | undefined;
2228
+ } | {
2229
+ type: "var";
2230
+ value: string;
2231
+ fallback?: {
2232
+ type: "keyword";
2233
+ value: string;
2234
+ hidden?: boolean | undefined;
2235
+ } | {
2236
+ type: "unparsed";
2237
+ value: string;
2238
+ hidden?: boolean | undefined;
2239
+ } | undefined;
2240
+ hidden?: boolean | undefined;
1617
2241
  })[];
1618
2242
  hidden?: boolean | undefined;
1619
2243
  }>, z.ZodObject<{
@@ -1659,6 +2283,61 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1659
2283
  name: string;
1660
2284
  args: StyleValue;
1661
2285
  hidden?: boolean;
2286
+ }>, z.ZodObject<{
2287
+ type: z.ZodLiteral<"var">;
2288
+ value: z.ZodString;
2289
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2290
+ type: z.ZodLiteral<"unparsed">;
2291
+ value: z.ZodString;
2292
+ hidden: z.ZodOptional<z.ZodBoolean>;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ type: "unparsed";
2295
+ value: string;
2296
+ hidden?: boolean | undefined;
2297
+ }, {
2298
+ type: "unparsed";
2299
+ value: string;
2300
+ hidden?: boolean | undefined;
2301
+ }>, z.ZodObject<{
2302
+ type: z.ZodLiteral<"keyword">;
2303
+ value: z.ZodString;
2304
+ hidden: z.ZodOptional<z.ZodBoolean>;
2305
+ }, "strip", z.ZodTypeAny, {
2306
+ type: "keyword";
2307
+ value: string;
2308
+ hidden?: boolean | undefined;
2309
+ }, {
2310
+ type: "keyword";
2311
+ value: string;
2312
+ hidden?: boolean | undefined;
2313
+ }>]>>;
2314
+ hidden: z.ZodOptional<z.ZodBoolean>;
2315
+ }, "strip", z.ZodTypeAny, {
2316
+ type: "var";
2317
+ value: string;
2318
+ fallback?: {
2319
+ type: "keyword";
2320
+ value: string;
2321
+ hidden?: boolean | undefined;
2322
+ } | {
2323
+ type: "unparsed";
2324
+ value: string;
2325
+ hidden?: boolean | undefined;
2326
+ } | undefined;
2327
+ hidden?: boolean | undefined;
2328
+ }, {
2329
+ type: "var";
2330
+ value: string;
2331
+ fallback?: {
2332
+ type: "keyword";
2333
+ value: string;
2334
+ hidden?: boolean | undefined;
2335
+ } | {
2336
+ type: "unparsed";
2337
+ value: string;
2338
+ hidden?: boolean | undefined;
2339
+ } | undefined;
2340
+ hidden?: boolean | undefined;
1662
2341
  }>]>, "many">;
1663
2342
  hidden: z.ZodOptional<z.ZodBoolean>;
1664
2343
  }, "strip", z.ZodTypeAny, {
@@ -1698,6 +2377,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1698
2377
  url: string;
1699
2378
  };
1700
2379
  hidden?: boolean | undefined;
2380
+ } | {
2381
+ type: "var";
2382
+ value: string;
2383
+ fallback?: {
2384
+ type: "keyword";
2385
+ value: string;
2386
+ hidden?: boolean | undefined;
2387
+ } | {
2388
+ type: "unparsed";
2389
+ value: string;
2390
+ hidden?: boolean | undefined;
2391
+ } | undefined;
2392
+ hidden?: boolean | undefined;
1701
2393
  } | {
1702
2394
  type: "tuple";
1703
2395
  value: ({
@@ -1735,6 +2427,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1735
2427
  url: string;
1736
2428
  };
1737
2429
  hidden?: boolean | undefined;
2430
+ } | {
2431
+ type: "var";
2432
+ value: string;
2433
+ fallback?: {
2434
+ type: "keyword";
2435
+ value: string;
2436
+ hidden?: boolean | undefined;
2437
+ } | {
2438
+ type: "unparsed";
2439
+ value: string;
2440
+ hidden?: boolean | undefined;
2441
+ } | undefined;
2442
+ hidden?: boolean | undefined;
1738
2443
  })[];
1739
2444
  hidden?: boolean | undefined;
1740
2445
  } | {
@@ -1780,6 +2485,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1780
2485
  url: string;
1781
2486
  };
1782
2487
  hidden?: boolean | undefined;
2488
+ } | {
2489
+ type: "var";
2490
+ value: string;
2491
+ fallback?: {
2492
+ type: "keyword";
2493
+ value: string;
2494
+ hidden?: boolean | undefined;
2495
+ } | {
2496
+ type: "unparsed";
2497
+ value: string;
2498
+ hidden?: boolean | undefined;
2499
+ } | undefined;
2500
+ hidden?: boolean | undefined;
1783
2501
  } | {
1784
2502
  type: "tuple";
1785
2503
  value: ({
@@ -1817,6 +2535,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
1817
2535
  url: string;
1818
2536
  };
1819
2537
  hidden?: boolean | undefined;
2538
+ } | {
2539
+ type: "var";
2540
+ value: string;
2541
+ fallback?: {
2542
+ type: "keyword";
2543
+ value: string;
2544
+ hidden?: boolean | undefined;
2545
+ } | {
2546
+ type: "unparsed";
2547
+ value: string;
2548
+ hidden?: boolean | undefined;
2549
+ } | undefined;
2550
+ hidden?: boolean | undefined;
1820
2551
  })[];
1821
2552
  hidden?: boolean | undefined;
1822
2553
  } | {
@@ -2011,6 +2742,61 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
2011
2742
  name: string;
2012
2743
  args: StyleValue;
2013
2744
  hidden?: boolean;
2745
+ }>, z.ZodObject<{
2746
+ type: z.ZodLiteral<"var">;
2747
+ value: z.ZodString;
2748
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2749
+ type: z.ZodLiteral<"unparsed">;
2750
+ value: z.ZodString;
2751
+ hidden: z.ZodOptional<z.ZodBoolean>;
2752
+ }, "strip", z.ZodTypeAny, {
2753
+ type: "unparsed";
2754
+ value: string;
2755
+ hidden?: boolean | undefined;
2756
+ }, {
2757
+ type: "unparsed";
2758
+ value: string;
2759
+ hidden?: boolean | undefined;
2760
+ }>, z.ZodObject<{
2761
+ type: z.ZodLiteral<"keyword">;
2762
+ value: z.ZodString;
2763
+ hidden: z.ZodOptional<z.ZodBoolean>;
2764
+ }, "strip", z.ZodTypeAny, {
2765
+ type: "keyword";
2766
+ value: string;
2767
+ hidden?: boolean | undefined;
2768
+ }, {
2769
+ type: "keyword";
2770
+ value: string;
2771
+ hidden?: boolean | undefined;
2772
+ }>]>>;
2773
+ hidden: z.ZodOptional<z.ZodBoolean>;
2774
+ }, "strip", z.ZodTypeAny, {
2775
+ type: "var";
2776
+ value: string;
2777
+ fallback?: {
2778
+ type: "keyword";
2779
+ value: string;
2780
+ hidden?: boolean | undefined;
2781
+ } | {
2782
+ type: "unparsed";
2783
+ value: string;
2784
+ hidden?: boolean | undefined;
2785
+ } | undefined;
2786
+ hidden?: boolean | undefined;
2787
+ }, {
2788
+ type: "var";
2789
+ value: string;
2790
+ fallback?: {
2791
+ type: "keyword";
2792
+ value: string;
2793
+ hidden?: boolean | undefined;
2794
+ } | {
2795
+ type: "unparsed";
2796
+ value: string;
2797
+ hidden?: boolean | undefined;
2798
+ } | undefined;
2799
+ hidden?: boolean | undefined;
2014
2800
  }>]>, "many">;
2015
2801
  hidden: z.ZodOptional<z.ZodBoolean>;
2016
2802
  }, "strip", z.ZodTypeAny, {
@@ -2050,6 +2836,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
2050
2836
  url: string;
2051
2837
  };
2052
2838
  hidden?: boolean | undefined;
2839
+ } | {
2840
+ type: "var";
2841
+ value: string;
2842
+ fallback?: {
2843
+ type: "keyword";
2844
+ value: string;
2845
+ hidden?: boolean | undefined;
2846
+ } | {
2847
+ type: "unparsed";
2848
+ value: string;
2849
+ hidden?: boolean | undefined;
2850
+ } | undefined;
2851
+ hidden?: boolean | undefined;
2053
2852
  })[];
2054
2853
  hidden?: boolean | undefined;
2055
2854
  }, {
@@ -2089,6 +2888,19 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
2089
2888
  url: string;
2090
2889
  };
2091
2890
  hidden?: boolean | undefined;
2891
+ } | {
2892
+ type: "var";
2893
+ value: string;
2894
+ fallback?: {
2895
+ type: "keyword";
2896
+ value: string;
2897
+ hidden?: boolean | undefined;
2898
+ } | {
2899
+ type: "unparsed";
2900
+ value: string;
2901
+ hidden?: boolean | undefined;
2902
+ } | undefined;
2903
+ hidden?: boolean | undefined;
2092
2904
  })[];
2093
2905
  hidden?: boolean | undefined;
2094
2906
  }>, z.ZodType<{
@@ -2110,2552 +2922,44 @@ declare const ValidStaticStyleValue: z.ZodUnion<[z.ZodObject<{
2110
2922
  }, {
2111
2923
  type: "guaranteedInvalid";
2112
2924
  hidden?: boolean | undefined;
2113
- }>]>;
2114
- export type ValidStaticStyleValue = z.infer<typeof ValidStaticStyleValue>;
2115
- /**
2116
- * All StyleValue types that going to need wrapping into a CSS variable when rendered
2117
- * on canvas inside builder.
2118
- * Values like InvalidValue, UnsetValue, VarValue don't need to be wrapped
2119
- */
2120
- export declare const isValidStaticStyleValue: (styleValue: StyleValue) => styleValue is ValidStaticStyleValue;
2121
- declare const VarValue: z.ZodObject<{
2925
+ }>, z.ZodObject<{
2926
+ type: z.ZodLiteral<"invalid">;
2927
+ value: z.ZodString;
2928
+ hidden: z.ZodOptional<z.ZodBoolean>;
2929
+ }, "strip", z.ZodTypeAny, {
2930
+ type: "invalid";
2931
+ value: string;
2932
+ hidden?: boolean | undefined;
2933
+ }, {
2934
+ type: "invalid";
2935
+ value: string;
2936
+ hidden?: boolean | undefined;
2937
+ }>, z.ZodObject<{
2938
+ type: z.ZodLiteral<"unset">;
2939
+ value: z.ZodLiteral<"">;
2940
+ hidden: z.ZodOptional<z.ZodBoolean>;
2941
+ }, "strip", z.ZodTypeAny, {
2942
+ type: "unset";
2943
+ value: "";
2944
+ hidden?: boolean | undefined;
2945
+ }, {
2946
+ type: "unset";
2947
+ value: "";
2948
+ hidden?: boolean | undefined;
2949
+ }>, z.ZodObject<{
2122
2950
  type: z.ZodLiteral<"var">;
2123
2951
  value: z.ZodString;
2124
- fallbacks: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2125
- type: z.ZodLiteral<"image">;
2126
- value: z.ZodUnion<[z.ZodObject<{
2127
- type: z.ZodLiteral<"asset">;
2128
- value: z.ZodString;
2129
- }, "strip", z.ZodTypeAny, {
2130
- type: "asset";
2131
- value: string;
2132
- }, {
2133
- type: "asset";
2134
- value: string;
2135
- }>, z.ZodObject<{
2136
- type: z.ZodLiteral<"url">;
2137
- url: z.ZodString;
2138
- }, "strip", z.ZodTypeAny, {
2139
- type: "url";
2140
- url: string;
2141
- }, {
2142
- type: "url";
2143
- url: string;
2144
- }>]>;
2952
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2953
+ type: z.ZodLiteral<"unparsed">;
2954
+ value: z.ZodString;
2145
2955
  hidden: z.ZodOptional<z.ZodBoolean>;
2146
2956
  }, "strip", z.ZodTypeAny, {
2147
- type: "image";
2148
- value: {
2149
- type: "asset";
2150
- value: string;
2151
- } | {
2152
- type: "url";
2153
- url: string;
2154
- };
2957
+ type: "unparsed";
2958
+ value: string;
2155
2959
  hidden?: boolean | undefined;
2156
2960
  }, {
2157
- type: "image";
2158
- value: {
2159
- type: "asset";
2160
- value: string;
2161
- } | {
2162
- type: "url";
2163
- url: string;
2164
- };
2165
- hidden?: boolean | undefined;
2166
- }>, z.ZodObject<{
2167
- type: z.ZodLiteral<"layers">;
2168
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2169
- type: z.ZodLiteral<"unit">;
2170
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2171
- value: z.ZodNumber;
2172
- hidden: z.ZodOptional<z.ZodBoolean>;
2173
- }, "strip", z.ZodTypeAny, {
2174
- type: "unit";
2175
- value: number;
2176
- 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";
2177
- hidden?: boolean | undefined;
2178
- }, {
2179
- type: "unit";
2180
- value: number;
2181
- 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";
2182
- hidden?: boolean | undefined;
2183
- }>, z.ZodObject<{
2184
- type: z.ZodLiteral<"keyword">;
2185
- value: z.ZodString;
2186
- hidden: z.ZodOptional<z.ZodBoolean>;
2187
- }, "strip", z.ZodTypeAny, {
2188
- type: "keyword";
2189
- value: string;
2190
- hidden?: boolean | undefined;
2191
- }, {
2192
- type: "keyword";
2193
- value: string;
2194
- hidden?: boolean | undefined;
2195
- }>, z.ZodObject<{
2196
- type: z.ZodLiteral<"unparsed">;
2197
- value: z.ZodString;
2198
- hidden: z.ZodOptional<z.ZodBoolean>;
2199
- }, "strip", z.ZodTypeAny, {
2200
- type: "unparsed";
2201
- value: string;
2202
- hidden?: boolean | undefined;
2203
- }, {
2204
- type: "unparsed";
2205
- value: string;
2206
- hidden?: boolean | undefined;
2207
- }>, z.ZodObject<{
2208
- type: z.ZodLiteral<"image">;
2209
- value: z.ZodUnion<[z.ZodObject<{
2210
- type: z.ZodLiteral<"asset">;
2211
- value: z.ZodString;
2212
- }, "strip", z.ZodTypeAny, {
2213
- type: "asset";
2214
- value: string;
2215
- }, {
2216
- type: "asset";
2217
- value: string;
2218
- }>, z.ZodObject<{
2219
- type: z.ZodLiteral<"url">;
2220
- url: z.ZodString;
2221
- }, "strip", z.ZodTypeAny, {
2222
- type: "url";
2223
- url: string;
2224
- }, {
2225
- type: "url";
2226
- url: string;
2227
- }>]>;
2228
- hidden: z.ZodOptional<z.ZodBoolean>;
2229
- }, "strip", z.ZodTypeAny, {
2230
- type: "image";
2231
- value: {
2232
- type: "asset";
2233
- value: string;
2234
- } | {
2235
- type: "url";
2236
- url: string;
2237
- };
2238
- hidden?: boolean | undefined;
2239
- }, {
2240
- type: "image";
2241
- value: {
2242
- type: "asset";
2243
- value: string;
2244
- } | {
2245
- type: "url";
2246
- url: string;
2247
- };
2248
- hidden?: boolean | undefined;
2249
- }>, z.ZodObject<{
2250
- type: z.ZodLiteral<"tuple">;
2251
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2252
- type: z.ZodLiteral<"unit">;
2253
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2254
- value: z.ZodNumber;
2255
- hidden: z.ZodOptional<z.ZodBoolean>;
2256
- }, "strip", z.ZodTypeAny, {
2257
- type: "unit";
2258
- value: number;
2259
- 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";
2260
- hidden?: boolean | undefined;
2261
- }, {
2262
- type: "unit";
2263
- value: number;
2264
- 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";
2265
- hidden?: boolean | undefined;
2266
- }>, z.ZodObject<{
2267
- type: z.ZodLiteral<"keyword">;
2268
- value: z.ZodString;
2269
- hidden: z.ZodOptional<z.ZodBoolean>;
2270
- }, "strip", z.ZodTypeAny, {
2271
- type: "keyword";
2272
- value: string;
2273
- hidden?: boolean | undefined;
2274
- }, {
2275
- type: "keyword";
2276
- value: string;
2277
- hidden?: boolean | undefined;
2278
- }>, z.ZodObject<{
2279
- type: z.ZodLiteral<"unparsed">;
2280
- value: z.ZodString;
2281
- hidden: z.ZodOptional<z.ZodBoolean>;
2282
- }, "strip", z.ZodTypeAny, {
2283
- type: "unparsed";
2284
- value: string;
2285
- hidden?: boolean | undefined;
2286
- }, {
2287
- type: "unparsed";
2288
- value: string;
2289
- hidden?: boolean | undefined;
2290
- }>, z.ZodObject<{
2291
- type: z.ZodLiteral<"image">;
2292
- value: z.ZodUnion<[z.ZodObject<{
2293
- type: z.ZodLiteral<"asset">;
2294
- value: z.ZodString;
2295
- }, "strip", z.ZodTypeAny, {
2296
- type: "asset";
2297
- value: string;
2298
- }, {
2299
- type: "asset";
2300
- value: string;
2301
- }>, z.ZodObject<{
2302
- type: z.ZodLiteral<"url">;
2303
- url: z.ZodString;
2304
- }, "strip", z.ZodTypeAny, {
2305
- type: "url";
2306
- url: string;
2307
- }, {
2308
- type: "url";
2309
- url: string;
2310
- }>]>;
2311
- hidden: z.ZodOptional<z.ZodBoolean>;
2312
- }, "strip", z.ZodTypeAny, {
2313
- type: "image";
2314
- value: {
2315
- type: "asset";
2316
- value: string;
2317
- } | {
2318
- type: "url";
2319
- url: string;
2320
- };
2321
- hidden?: boolean | undefined;
2322
- }, {
2323
- type: "image";
2324
- value: {
2325
- type: "asset";
2326
- value: string;
2327
- } | {
2328
- type: "url";
2329
- url: string;
2330
- };
2331
- hidden?: boolean | undefined;
2332
- }>, z.ZodObject<{
2333
- type: z.ZodLiteral<"rgb">;
2334
- r: z.ZodNumber;
2335
- g: z.ZodNumber;
2336
- b: z.ZodNumber;
2337
- alpha: z.ZodNumber;
2338
- hidden: z.ZodOptional<z.ZodBoolean>;
2339
- }, "strip", z.ZodTypeAny, {
2340
- type: "rgb";
2341
- r: number;
2342
- g: number;
2343
- b: number;
2344
- alpha: number;
2345
- hidden?: boolean | undefined;
2346
- }, {
2347
- type: "rgb";
2348
- r: number;
2349
- g: number;
2350
- b: number;
2351
- alpha: number;
2352
- hidden?: boolean | undefined;
2353
- }>, z.ZodType<{
2354
- type: "function";
2355
- name: string;
2356
- args: StyleValue;
2357
- hidden?: boolean;
2358
- }, z.ZodTypeDef, {
2359
- type: "function";
2360
- name: string;
2361
- args: StyleValue;
2362
- hidden?: boolean;
2363
- }>]>, "many">;
2364
- hidden: z.ZodOptional<z.ZodBoolean>;
2365
- }, "strip", z.ZodTypeAny, {
2366
- type: "tuple";
2367
- value: ({
2368
- type: "unit";
2369
- value: number;
2370
- 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";
2371
- hidden?: boolean | undefined;
2372
- } | {
2373
- type: "keyword";
2374
- value: string;
2375
- hidden?: boolean | undefined;
2376
- } | {
2377
- type: "unparsed";
2378
- value: string;
2379
- hidden?: boolean | undefined;
2380
- } | {
2381
- type: "rgb";
2382
- r: number;
2383
- g: number;
2384
- b: number;
2385
- alpha: number;
2386
- hidden?: boolean | undefined;
2387
- } | {
2388
- type: "function";
2389
- name: string;
2390
- args: StyleValue;
2391
- hidden?: boolean;
2392
- } | {
2393
- type: "image";
2394
- value: {
2395
- type: "asset";
2396
- value: string;
2397
- } | {
2398
- type: "url";
2399
- url: string;
2400
- };
2401
- hidden?: boolean | undefined;
2402
- })[];
2403
- hidden?: boolean | undefined;
2404
- }, {
2405
- type: "tuple";
2406
- value: ({
2407
- type: "unit";
2408
- value: number;
2409
- 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";
2410
- hidden?: boolean | undefined;
2411
- } | {
2412
- type: "keyword";
2413
- value: string;
2414
- hidden?: boolean | undefined;
2415
- } | {
2416
- type: "unparsed";
2417
- value: string;
2418
- hidden?: boolean | undefined;
2419
- } | {
2420
- type: "rgb";
2421
- r: number;
2422
- g: number;
2423
- b: number;
2424
- alpha: number;
2425
- hidden?: boolean | undefined;
2426
- } | {
2427
- type: "function";
2428
- name: string;
2429
- args: StyleValue;
2430
- hidden?: boolean;
2431
- } | {
2432
- type: "image";
2433
- value: {
2434
- type: "asset";
2435
- value: string;
2436
- } | {
2437
- type: "url";
2438
- url: string;
2439
- };
2440
- hidden?: boolean | undefined;
2441
- })[];
2442
- hidden?: boolean | undefined;
2443
- }>, z.ZodObject<{
2444
- type: z.ZodLiteral<"rgb">;
2445
- r: z.ZodNumber;
2446
- g: z.ZodNumber;
2447
- b: z.ZodNumber;
2448
- alpha: z.ZodNumber;
2449
- hidden: z.ZodOptional<z.ZodBoolean>;
2450
- }, "strip", z.ZodTypeAny, {
2451
- type: "rgb";
2452
- r: number;
2453
- g: number;
2454
- b: number;
2455
- alpha: number;
2456
- hidden?: boolean | undefined;
2457
- }, {
2458
- type: "rgb";
2459
- r: number;
2460
- g: number;
2461
- b: number;
2462
- alpha: number;
2463
- hidden?: boolean | undefined;
2464
- }>, z.ZodObject<{
2465
- type: z.ZodLiteral<"invalid">;
2466
- value: z.ZodString;
2467
- hidden: z.ZodOptional<z.ZodBoolean>;
2468
- }, "strip", z.ZodTypeAny, {
2469
- type: "invalid";
2470
- value: string;
2471
- hidden?: boolean | undefined;
2472
- }, {
2473
- type: "invalid";
2474
- value: string;
2475
- hidden?: boolean | undefined;
2476
- }>, z.ZodType<{
2477
- type: "function";
2478
- name: string;
2479
- args: StyleValue;
2480
- hidden?: boolean;
2481
- }, z.ZodTypeDef, {
2482
- type: "function";
2483
- name: string;
2484
- args: StyleValue;
2485
- hidden?: boolean;
2486
- }>]>, "many">;
2487
- hidden: z.ZodOptional<z.ZodBoolean>;
2488
- }, "strip", z.ZodTypeAny, {
2489
- type: "layers";
2490
- value: ({
2491
- type: "unit";
2492
- value: number;
2493
- 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";
2494
- hidden?: boolean | undefined;
2495
- } | {
2496
- type: "keyword";
2497
- value: string;
2498
- hidden?: boolean | undefined;
2499
- } | {
2500
- type: "unparsed";
2501
- value: string;
2502
- hidden?: boolean | undefined;
2503
- } | {
2504
- type: "rgb";
2505
- r: number;
2506
- g: number;
2507
- b: number;
2508
- alpha: number;
2509
- hidden?: boolean | undefined;
2510
- } | {
2511
- type: "function";
2512
- name: string;
2513
- args: StyleValue;
2514
- hidden?: boolean;
2515
- } | {
2516
- type: "image";
2517
- value: {
2518
- type: "asset";
2519
- value: string;
2520
- } | {
2521
- type: "url";
2522
- url: string;
2523
- };
2524
- hidden?: boolean | undefined;
2525
- } | {
2526
- type: "tuple";
2527
- value: ({
2528
- type: "unit";
2529
- value: number;
2530
- 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";
2531
- hidden?: boolean | undefined;
2532
- } | {
2533
- type: "keyword";
2534
- value: string;
2535
- hidden?: boolean | undefined;
2536
- } | {
2537
- type: "unparsed";
2538
- value: string;
2539
- hidden?: boolean | undefined;
2540
- } | {
2541
- type: "rgb";
2542
- r: number;
2543
- g: number;
2544
- b: number;
2545
- alpha: number;
2546
- hidden?: boolean | undefined;
2547
- } | {
2548
- type: "function";
2549
- name: string;
2550
- args: StyleValue;
2551
- hidden?: boolean;
2552
- } | {
2553
- type: "image";
2554
- value: {
2555
- type: "asset";
2556
- value: string;
2557
- } | {
2558
- type: "url";
2559
- url: string;
2560
- };
2561
- hidden?: boolean | undefined;
2562
- })[];
2563
- hidden?: boolean | undefined;
2564
- } | {
2565
- type: "invalid";
2566
- value: string;
2567
- hidden?: boolean | undefined;
2568
- })[];
2569
- hidden?: boolean | undefined;
2570
- }, {
2571
- type: "layers";
2572
- value: ({
2573
- type: "unit";
2574
- value: number;
2575
- 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";
2576
- hidden?: boolean | undefined;
2577
- } | {
2578
- type: "keyword";
2579
- value: string;
2580
- hidden?: boolean | undefined;
2581
- } | {
2582
- type: "unparsed";
2583
- value: string;
2584
- hidden?: boolean | undefined;
2585
- } | {
2586
- type: "rgb";
2587
- r: number;
2588
- g: number;
2589
- b: number;
2590
- alpha: number;
2591
- hidden?: boolean | undefined;
2592
- } | {
2593
- type: "function";
2594
- name: string;
2595
- args: StyleValue;
2596
- hidden?: boolean;
2597
- } | {
2598
- type: "image";
2599
- value: {
2600
- type: "asset";
2601
- value: string;
2602
- } | {
2603
- type: "url";
2604
- url: string;
2605
- };
2606
- hidden?: boolean | undefined;
2607
- } | {
2608
- type: "tuple";
2609
- value: ({
2610
- type: "unit";
2611
- value: number;
2612
- 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";
2613
- hidden?: boolean | undefined;
2614
- } | {
2615
- type: "keyword";
2616
- value: string;
2617
- hidden?: boolean | undefined;
2618
- } | {
2619
- type: "unparsed";
2620
- value: string;
2621
- hidden?: boolean | undefined;
2622
- } | {
2623
- type: "rgb";
2624
- r: number;
2625
- g: number;
2626
- b: number;
2627
- alpha: number;
2628
- hidden?: boolean | undefined;
2629
- } | {
2630
- type: "function";
2631
- name: string;
2632
- args: StyleValue;
2633
- hidden?: boolean;
2634
- } | {
2635
- type: "image";
2636
- value: {
2637
- type: "asset";
2638
- value: string;
2639
- } | {
2640
- type: "url";
2641
- url: string;
2642
- };
2643
- hidden?: boolean | undefined;
2644
- })[];
2645
- hidden?: boolean | undefined;
2646
- } | {
2647
- type: "invalid";
2648
- value: string;
2649
- hidden?: boolean | undefined;
2650
- })[];
2651
- hidden?: boolean | undefined;
2652
- }>, z.ZodObject<{
2653
- type: z.ZodLiteral<"unit">;
2654
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2655
- value: z.ZodNumber;
2656
- hidden: z.ZodOptional<z.ZodBoolean>;
2657
- }, "strip", z.ZodTypeAny, {
2658
- type: "unit";
2659
- value: number;
2660
- 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";
2661
- hidden?: boolean | undefined;
2662
- }, {
2663
- type: "unit";
2664
- value: number;
2665
- 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";
2666
- hidden?: boolean | undefined;
2667
- }>, z.ZodObject<{
2668
- type: z.ZodLiteral<"keyword">;
2669
- value: z.ZodString;
2670
- hidden: z.ZodOptional<z.ZodBoolean>;
2671
- }, "strip", z.ZodTypeAny, {
2672
- type: "keyword";
2673
- value: string;
2674
- hidden?: boolean | undefined;
2675
- }, {
2676
- type: "keyword";
2677
- value: string;
2678
- hidden?: boolean | undefined;
2679
- }>, z.ZodObject<{
2680
- type: z.ZodLiteral<"fontFamily">;
2681
- value: z.ZodArray<z.ZodString, "many">;
2682
- hidden: z.ZodOptional<z.ZodBoolean>;
2683
- }, "strip", z.ZodTypeAny, {
2684
- type: "fontFamily";
2685
- value: string[];
2686
- hidden?: boolean | undefined;
2687
- }, {
2688
- type: "fontFamily";
2689
- value: string[];
2690
- hidden?: boolean | undefined;
2691
- }>, z.ZodObject<{
2692
- type: z.ZodLiteral<"rgb">;
2693
- r: z.ZodNumber;
2694
- g: z.ZodNumber;
2695
- b: z.ZodNumber;
2696
- alpha: z.ZodNumber;
2697
- hidden: z.ZodOptional<z.ZodBoolean>;
2698
- }, "strip", z.ZodTypeAny, {
2699
- type: "rgb";
2700
- r: number;
2701
- g: number;
2702
- b: number;
2703
- alpha: number;
2704
- hidden?: boolean | undefined;
2705
- }, {
2706
- type: "rgb";
2707
- r: number;
2708
- g: number;
2709
- b: number;
2710
- alpha: number;
2711
- hidden?: boolean | undefined;
2712
- }>, z.ZodObject<{
2713
- type: z.ZodLiteral<"unparsed">;
2714
- value: z.ZodString;
2715
- hidden: z.ZodOptional<z.ZodBoolean>;
2716
- }, "strip", z.ZodTypeAny, {
2717
- type: "unparsed";
2718
- value: string;
2719
- hidden?: boolean | undefined;
2720
- }, {
2721
- type: "unparsed";
2722
- value: string;
2723
- hidden?: boolean | undefined;
2724
- }>, z.ZodObject<{
2725
- type: z.ZodLiteral<"tuple">;
2726
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2727
- type: z.ZodLiteral<"unit">;
2728
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
2729
- value: z.ZodNumber;
2730
- hidden: z.ZodOptional<z.ZodBoolean>;
2731
- }, "strip", z.ZodTypeAny, {
2732
- type: "unit";
2733
- value: number;
2734
- 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";
2735
- hidden?: boolean | undefined;
2736
- }, {
2737
- type: "unit";
2738
- value: number;
2739
- 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";
2740
- hidden?: boolean | undefined;
2741
- }>, z.ZodObject<{
2742
- type: z.ZodLiteral<"keyword">;
2743
- value: z.ZodString;
2744
- hidden: z.ZodOptional<z.ZodBoolean>;
2745
- }, "strip", z.ZodTypeAny, {
2746
- type: "keyword";
2747
- value: string;
2748
- hidden?: boolean | undefined;
2749
- }, {
2750
- type: "keyword";
2751
- value: string;
2752
- hidden?: boolean | undefined;
2753
- }>, z.ZodObject<{
2754
- type: z.ZodLiteral<"unparsed">;
2755
- value: z.ZodString;
2756
- hidden: z.ZodOptional<z.ZodBoolean>;
2757
- }, "strip", z.ZodTypeAny, {
2758
- type: "unparsed";
2759
- value: string;
2760
- hidden?: boolean | undefined;
2761
- }, {
2762
- type: "unparsed";
2763
- value: string;
2764
- hidden?: boolean | undefined;
2765
- }>, z.ZodObject<{
2766
- type: z.ZodLiteral<"image">;
2767
- value: z.ZodUnion<[z.ZodObject<{
2768
- type: z.ZodLiteral<"asset">;
2769
- value: z.ZodString;
2770
- }, "strip", z.ZodTypeAny, {
2771
- type: "asset";
2772
- value: string;
2773
- }, {
2774
- type: "asset";
2775
- value: string;
2776
- }>, z.ZodObject<{
2777
- type: z.ZodLiteral<"url">;
2778
- url: z.ZodString;
2779
- }, "strip", z.ZodTypeAny, {
2780
- type: "url";
2781
- url: string;
2782
- }, {
2783
- type: "url";
2784
- url: string;
2785
- }>]>;
2786
- hidden: z.ZodOptional<z.ZodBoolean>;
2787
- }, "strip", z.ZodTypeAny, {
2788
- type: "image";
2789
- value: {
2790
- type: "asset";
2791
- value: string;
2792
- } | {
2793
- type: "url";
2794
- url: string;
2795
- };
2796
- hidden?: boolean | undefined;
2797
- }, {
2798
- type: "image";
2799
- value: {
2800
- type: "asset";
2801
- value: string;
2802
- } | {
2803
- type: "url";
2804
- url: string;
2805
- };
2806
- hidden?: boolean | undefined;
2807
- }>, z.ZodObject<{
2808
- type: z.ZodLiteral<"rgb">;
2809
- r: z.ZodNumber;
2810
- g: z.ZodNumber;
2811
- b: z.ZodNumber;
2812
- alpha: z.ZodNumber;
2813
- hidden: z.ZodOptional<z.ZodBoolean>;
2814
- }, "strip", z.ZodTypeAny, {
2815
- type: "rgb";
2816
- r: number;
2817
- g: number;
2818
- b: number;
2819
- alpha: number;
2820
- hidden?: boolean | undefined;
2821
- }, {
2822
- type: "rgb";
2823
- r: number;
2824
- g: number;
2825
- b: number;
2826
- alpha: number;
2827
- hidden?: boolean | undefined;
2828
- }>, z.ZodType<{
2829
- type: "function";
2830
- name: string;
2831
- args: StyleValue;
2832
- hidden?: boolean;
2833
- }, z.ZodTypeDef, {
2834
- type: "function";
2835
- name: string;
2836
- args: StyleValue;
2837
- hidden?: boolean;
2838
- }>]>, "many">;
2839
- hidden: z.ZodOptional<z.ZodBoolean>;
2840
- }, "strip", z.ZodTypeAny, {
2841
- type: "tuple";
2842
- value: ({
2843
- type: "unit";
2844
- value: number;
2845
- 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";
2846
- hidden?: boolean | undefined;
2847
- } | {
2848
- type: "keyword";
2849
- value: string;
2850
- hidden?: boolean | undefined;
2851
- } | {
2852
- type: "unparsed";
2853
- value: string;
2854
- hidden?: boolean | undefined;
2855
- } | {
2856
- type: "rgb";
2857
- r: number;
2858
- g: number;
2859
- b: number;
2860
- alpha: number;
2861
- hidden?: boolean | undefined;
2862
- } | {
2863
- type: "function";
2864
- name: string;
2865
- args: StyleValue;
2866
- hidden?: boolean;
2867
- } | {
2868
- type: "image";
2869
- value: {
2870
- type: "asset";
2871
- value: string;
2872
- } | {
2873
- type: "url";
2874
- url: string;
2875
- };
2876
- hidden?: boolean | undefined;
2877
- })[];
2878
- hidden?: boolean | undefined;
2879
- }, {
2880
- type: "tuple";
2881
- value: ({
2882
- type: "unit";
2883
- value: number;
2884
- 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";
2885
- hidden?: boolean | undefined;
2886
- } | {
2887
- type: "keyword";
2888
- value: string;
2889
- hidden?: boolean | undefined;
2890
- } | {
2891
- type: "unparsed";
2892
- value: string;
2893
- hidden?: boolean | undefined;
2894
- } | {
2895
- type: "rgb";
2896
- r: number;
2897
- g: number;
2898
- b: number;
2899
- alpha: number;
2900
- hidden?: boolean | undefined;
2901
- } | {
2902
- type: "function";
2903
- name: string;
2904
- args: StyleValue;
2905
- hidden?: boolean;
2906
- } | {
2907
- type: "image";
2908
- value: {
2909
- type: "asset";
2910
- value: string;
2911
- } | {
2912
- type: "url";
2913
- url: string;
2914
- };
2915
- hidden?: boolean | undefined;
2916
- })[];
2917
- hidden?: boolean | undefined;
2918
- }>, z.ZodType<{
2919
- type: "function";
2920
- name: string;
2921
- args: StyleValue;
2922
- hidden?: boolean;
2923
- }, z.ZodTypeDef, {
2924
- type: "function";
2925
- name: string;
2926
- args: StyleValue;
2927
- hidden?: boolean;
2928
- }>, z.ZodObject<{
2929
- type: z.ZodLiteral<"guaranteedInvalid">;
2930
- hidden: z.ZodOptional<z.ZodBoolean>;
2931
- }, "strip", z.ZodTypeAny, {
2932
- type: "guaranteedInvalid";
2933
- hidden?: boolean | undefined;
2934
- }, {
2935
- type: "guaranteedInvalid";
2936
- hidden?: boolean | undefined;
2937
- }>]>, "many">;
2938
- hidden: z.ZodOptional<z.ZodBoolean>;
2939
- }, "strip", z.ZodTypeAny, {
2940
- type: "var";
2941
- value: string;
2942
- fallbacks: ({
2943
- type: "unit";
2944
- value: number;
2945
- 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";
2946
- hidden?: boolean | undefined;
2947
- } | {
2948
- type: "keyword";
2949
- value: string;
2950
- hidden?: boolean | undefined;
2951
- } | {
2952
- type: "unparsed";
2953
- value: string;
2954
- hidden?: boolean | undefined;
2955
- } | {
2956
- type: "fontFamily";
2957
- value: string[];
2958
- hidden?: boolean | undefined;
2959
- } | {
2960
- type: "rgb";
2961
- r: number;
2962
- g: number;
2963
- b: number;
2964
- alpha: number;
2965
- hidden?: boolean | undefined;
2966
- } | {
2967
- type: "function";
2968
- name: string;
2969
- args: StyleValue;
2970
- hidden?: boolean;
2971
- } | {
2972
- type: "image";
2973
- value: {
2974
- type: "asset";
2975
- value: string;
2976
- } | {
2977
- type: "url";
2978
- url: string;
2979
- };
2980
- hidden?: boolean | undefined;
2981
- } | {
2982
- type: "tuple";
2983
- value: ({
2984
- type: "unit";
2985
- value: number;
2986
- 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";
2987
- hidden?: boolean | undefined;
2988
- } | {
2989
- type: "keyword";
2990
- value: string;
2991
- hidden?: boolean | undefined;
2992
- } | {
2993
- type: "unparsed";
2994
- value: string;
2995
- hidden?: boolean | undefined;
2996
- } | {
2997
- type: "rgb";
2998
- r: number;
2999
- g: number;
3000
- b: number;
3001
- alpha: number;
3002
- hidden?: boolean | undefined;
3003
- } | {
3004
- type: "function";
3005
- name: string;
3006
- args: StyleValue;
3007
- hidden?: boolean;
3008
- } | {
3009
- type: "image";
3010
- value: {
3011
- type: "asset";
3012
- value: string;
3013
- } | {
3014
- type: "url";
3015
- url: string;
3016
- };
3017
- hidden?: boolean | undefined;
3018
- })[];
3019
- hidden?: boolean | undefined;
3020
- } | {
3021
- type: "layers";
3022
- value: ({
3023
- type: "unit";
3024
- value: number;
3025
- 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";
3026
- hidden?: boolean | undefined;
3027
- } | {
3028
- type: "keyword";
3029
- value: string;
3030
- hidden?: boolean | undefined;
3031
- } | {
3032
- type: "unparsed";
3033
- value: string;
3034
- hidden?: boolean | undefined;
3035
- } | {
3036
- type: "rgb";
3037
- r: number;
3038
- g: number;
3039
- b: number;
3040
- alpha: number;
3041
- hidden?: boolean | undefined;
3042
- } | {
3043
- type: "function";
3044
- name: string;
3045
- args: StyleValue;
3046
- hidden?: boolean;
3047
- } | {
3048
- type: "image";
3049
- value: {
3050
- type: "asset";
3051
- value: string;
3052
- } | {
3053
- type: "url";
3054
- url: string;
3055
- };
3056
- hidden?: boolean | undefined;
3057
- } | {
3058
- type: "tuple";
3059
- value: ({
3060
- type: "unit";
3061
- value: number;
3062
- 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";
3063
- hidden?: boolean | undefined;
3064
- } | {
3065
- type: "keyword";
3066
- value: string;
3067
- hidden?: boolean | undefined;
3068
- } | {
3069
- type: "unparsed";
3070
- value: string;
3071
- hidden?: boolean | undefined;
3072
- } | {
3073
- type: "rgb";
3074
- r: number;
3075
- g: number;
3076
- b: number;
3077
- alpha: number;
3078
- hidden?: boolean | undefined;
3079
- } | {
3080
- type: "function";
3081
- name: string;
3082
- args: StyleValue;
3083
- hidden?: boolean;
3084
- } | {
3085
- type: "image";
3086
- value: {
3087
- type: "asset";
3088
- value: string;
3089
- } | {
3090
- type: "url";
3091
- url: string;
3092
- };
3093
- hidden?: boolean | undefined;
3094
- })[];
3095
- hidden?: boolean | undefined;
3096
- } | {
3097
- type: "invalid";
3098
- value: string;
3099
- hidden?: boolean | undefined;
3100
- })[];
3101
- hidden?: boolean | undefined;
3102
- } | {
3103
- type: "guaranteedInvalid";
3104
- hidden?: boolean | undefined;
3105
- })[];
3106
- hidden?: boolean | undefined;
3107
- }, {
3108
- type: "var";
3109
- value: string;
3110
- fallbacks: ({
3111
- type: "unit";
3112
- value: number;
3113
- 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";
3114
- hidden?: boolean | undefined;
3115
- } | {
3116
- type: "keyword";
3117
- value: string;
3118
- hidden?: boolean | undefined;
3119
- } | {
3120
- type: "unparsed";
3121
- value: string;
3122
- hidden?: boolean | undefined;
3123
- } | {
3124
- type: "fontFamily";
3125
- value: string[];
3126
- hidden?: boolean | undefined;
3127
- } | {
3128
- type: "rgb";
3129
- r: number;
3130
- g: number;
3131
- b: number;
3132
- alpha: number;
3133
- hidden?: boolean | undefined;
3134
- } | {
3135
- type: "function";
3136
- name: string;
3137
- args: StyleValue;
3138
- hidden?: boolean;
3139
- } | {
3140
- type: "image";
3141
- value: {
3142
- type: "asset";
3143
- value: string;
3144
- } | {
3145
- type: "url";
3146
- url: string;
3147
- };
3148
- hidden?: boolean | undefined;
3149
- } | {
3150
- type: "tuple";
3151
- value: ({
3152
- type: "unit";
3153
- value: number;
3154
- 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";
3155
- hidden?: boolean | undefined;
3156
- } | {
3157
- type: "keyword";
3158
- value: string;
3159
- hidden?: boolean | undefined;
3160
- } | {
3161
- type: "unparsed";
3162
- value: string;
3163
- hidden?: boolean | undefined;
3164
- } | {
3165
- type: "rgb";
3166
- r: number;
3167
- g: number;
3168
- b: number;
3169
- alpha: number;
3170
- hidden?: boolean | undefined;
3171
- } | {
3172
- type: "function";
3173
- name: string;
3174
- args: StyleValue;
3175
- hidden?: boolean;
3176
- } | {
3177
- type: "image";
3178
- value: {
3179
- type: "asset";
3180
- value: string;
3181
- } | {
3182
- type: "url";
3183
- url: string;
3184
- };
3185
- hidden?: boolean | undefined;
3186
- })[];
3187
- hidden?: boolean | undefined;
3188
- } | {
3189
- type: "layers";
3190
- value: ({
3191
- type: "unit";
3192
- value: number;
3193
- 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";
3194
- hidden?: boolean | undefined;
3195
- } | {
3196
- type: "keyword";
3197
- value: string;
3198
- hidden?: boolean | undefined;
3199
- } | {
3200
- type: "unparsed";
3201
- value: string;
3202
- hidden?: boolean | undefined;
3203
- } | {
3204
- type: "rgb";
3205
- r: number;
3206
- g: number;
3207
- b: number;
3208
- alpha: number;
3209
- hidden?: boolean | undefined;
3210
- } | {
3211
- type: "function";
3212
- name: string;
3213
- args: StyleValue;
3214
- hidden?: boolean;
3215
- } | {
3216
- type: "image";
3217
- value: {
3218
- type: "asset";
3219
- value: string;
3220
- } | {
3221
- type: "url";
3222
- url: string;
3223
- };
3224
- hidden?: boolean | undefined;
3225
- } | {
3226
- type: "tuple";
3227
- value: ({
3228
- type: "unit";
3229
- value: number;
3230
- 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";
3231
- hidden?: boolean | undefined;
3232
- } | {
3233
- type: "keyword";
3234
- value: string;
3235
- hidden?: boolean | undefined;
3236
- } | {
3237
- type: "unparsed";
3238
- value: string;
3239
- hidden?: boolean | undefined;
3240
- } | {
3241
- type: "rgb";
3242
- r: number;
3243
- g: number;
3244
- b: number;
3245
- alpha: number;
3246
- hidden?: boolean | undefined;
3247
- } | {
3248
- type: "function";
3249
- name: string;
3250
- args: StyleValue;
3251
- hidden?: boolean;
3252
- } | {
3253
- type: "image";
3254
- value: {
3255
- type: "asset";
3256
- value: string;
3257
- } | {
3258
- type: "url";
3259
- url: string;
3260
- };
3261
- hidden?: boolean | undefined;
3262
- })[];
3263
- hidden?: boolean | undefined;
3264
- } | {
3265
- type: "invalid";
3266
- value: string;
3267
- hidden?: boolean | undefined;
3268
- })[];
3269
- hidden?: boolean | undefined;
3270
- } | {
3271
- type: "guaranteedInvalid";
3272
- hidden?: boolean | undefined;
3273
- })[];
3274
- hidden?: boolean | undefined;
3275
- }>;
3276
- export type VarValue = z.infer<typeof VarValue>;
3277
- export declare const StyleValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3278
- type: z.ZodLiteral<"image">;
3279
- value: z.ZodUnion<[z.ZodObject<{
3280
- type: z.ZodLiteral<"asset">;
3281
- value: z.ZodString;
3282
- }, "strip", z.ZodTypeAny, {
3283
- type: "asset";
3284
- value: string;
3285
- }, {
3286
- type: "asset";
3287
- value: string;
3288
- }>, z.ZodObject<{
3289
- type: z.ZodLiteral<"url">;
3290
- url: z.ZodString;
3291
- }, "strip", z.ZodTypeAny, {
3292
- type: "url";
3293
- url: string;
3294
- }, {
3295
- type: "url";
3296
- url: string;
3297
- }>]>;
3298
- hidden: z.ZodOptional<z.ZodBoolean>;
3299
- }, "strip", z.ZodTypeAny, {
3300
- type: "image";
3301
- value: {
3302
- type: "asset";
3303
- value: string;
3304
- } | {
3305
- type: "url";
3306
- url: string;
3307
- };
3308
- hidden?: boolean | undefined;
3309
- }, {
3310
- type: "image";
3311
- value: {
3312
- type: "asset";
3313
- value: string;
3314
- } | {
3315
- type: "url";
3316
- url: string;
3317
- };
3318
- hidden?: boolean | undefined;
3319
- }>, z.ZodObject<{
3320
- type: z.ZodLiteral<"layers">;
3321
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3322
- type: z.ZodLiteral<"unit">;
3323
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
3324
- value: z.ZodNumber;
3325
- hidden: z.ZodOptional<z.ZodBoolean>;
3326
- }, "strip", z.ZodTypeAny, {
3327
- type: "unit";
3328
- value: number;
3329
- 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";
3330
- hidden?: boolean | undefined;
3331
- }, {
3332
- type: "unit";
3333
- value: number;
3334
- 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";
3335
- hidden?: boolean | undefined;
3336
- }>, z.ZodObject<{
3337
- type: z.ZodLiteral<"keyword">;
3338
- value: z.ZodString;
3339
- hidden: z.ZodOptional<z.ZodBoolean>;
3340
- }, "strip", z.ZodTypeAny, {
3341
- type: "keyword";
3342
- value: string;
3343
- hidden?: boolean | undefined;
3344
- }, {
3345
- type: "keyword";
3346
- value: string;
3347
- hidden?: boolean | undefined;
3348
- }>, z.ZodObject<{
3349
- type: z.ZodLiteral<"unparsed">;
3350
- value: z.ZodString;
3351
- hidden: z.ZodOptional<z.ZodBoolean>;
3352
- }, "strip", z.ZodTypeAny, {
3353
- type: "unparsed";
3354
- value: string;
3355
- hidden?: boolean | undefined;
3356
- }, {
3357
- type: "unparsed";
3358
- value: string;
3359
- hidden?: boolean | undefined;
3360
- }>, z.ZodObject<{
3361
- type: z.ZodLiteral<"image">;
3362
- value: z.ZodUnion<[z.ZodObject<{
3363
- type: z.ZodLiteral<"asset">;
3364
- value: z.ZodString;
3365
- }, "strip", z.ZodTypeAny, {
3366
- type: "asset";
3367
- value: string;
3368
- }, {
3369
- type: "asset";
3370
- value: string;
3371
- }>, z.ZodObject<{
3372
- type: z.ZodLiteral<"url">;
3373
- url: z.ZodString;
3374
- }, "strip", z.ZodTypeAny, {
3375
- type: "url";
3376
- url: string;
3377
- }, {
3378
- type: "url";
3379
- url: string;
3380
- }>]>;
3381
- hidden: z.ZodOptional<z.ZodBoolean>;
3382
- }, "strip", z.ZodTypeAny, {
3383
- type: "image";
3384
- value: {
3385
- type: "asset";
3386
- value: string;
3387
- } | {
3388
- type: "url";
3389
- url: string;
3390
- };
3391
- hidden?: boolean | undefined;
3392
- }, {
3393
- type: "image";
3394
- value: {
3395
- type: "asset";
3396
- value: string;
3397
- } | {
3398
- type: "url";
3399
- url: string;
3400
- };
3401
- hidden?: boolean | undefined;
3402
- }>, z.ZodObject<{
3403
- type: z.ZodLiteral<"tuple">;
3404
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3405
- type: z.ZodLiteral<"unit">;
3406
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
3407
- value: z.ZodNumber;
3408
- hidden: z.ZodOptional<z.ZodBoolean>;
3409
- }, "strip", z.ZodTypeAny, {
3410
- type: "unit";
3411
- value: number;
3412
- 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";
3413
- hidden?: boolean | undefined;
3414
- }, {
3415
- type: "unit";
3416
- value: number;
3417
- 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";
3418
- hidden?: boolean | undefined;
3419
- }>, z.ZodObject<{
3420
- type: z.ZodLiteral<"keyword">;
3421
- value: z.ZodString;
3422
- hidden: z.ZodOptional<z.ZodBoolean>;
3423
- }, "strip", z.ZodTypeAny, {
3424
- type: "keyword";
3425
- value: string;
3426
- hidden?: boolean | undefined;
3427
- }, {
3428
- type: "keyword";
3429
- value: string;
3430
- hidden?: boolean | undefined;
3431
- }>, z.ZodObject<{
3432
- type: z.ZodLiteral<"unparsed">;
3433
- value: z.ZodString;
3434
- hidden: z.ZodOptional<z.ZodBoolean>;
3435
- }, "strip", z.ZodTypeAny, {
3436
- type: "unparsed";
3437
- value: string;
3438
- hidden?: boolean | undefined;
3439
- }, {
3440
- type: "unparsed";
3441
- value: string;
3442
- hidden?: boolean | undefined;
3443
- }>, z.ZodObject<{
3444
- type: z.ZodLiteral<"image">;
3445
- value: z.ZodUnion<[z.ZodObject<{
3446
- type: z.ZodLiteral<"asset">;
3447
- value: z.ZodString;
3448
- }, "strip", z.ZodTypeAny, {
3449
- type: "asset";
3450
- value: string;
3451
- }, {
3452
- type: "asset";
3453
- value: string;
3454
- }>, z.ZodObject<{
3455
- type: z.ZodLiteral<"url">;
3456
- url: z.ZodString;
3457
- }, "strip", z.ZodTypeAny, {
3458
- type: "url";
3459
- url: string;
3460
- }, {
3461
- type: "url";
3462
- url: string;
3463
- }>]>;
3464
- hidden: z.ZodOptional<z.ZodBoolean>;
3465
- }, "strip", z.ZodTypeAny, {
3466
- type: "image";
3467
- value: {
3468
- type: "asset";
3469
- value: string;
3470
- } | {
3471
- type: "url";
3472
- url: string;
3473
- };
3474
- hidden?: boolean | undefined;
3475
- }, {
3476
- type: "image";
3477
- value: {
3478
- type: "asset";
3479
- value: string;
3480
- } | {
3481
- type: "url";
3482
- url: string;
3483
- };
3484
- hidden?: boolean | undefined;
3485
- }>, z.ZodObject<{
3486
- type: z.ZodLiteral<"rgb">;
3487
- r: z.ZodNumber;
3488
- g: z.ZodNumber;
3489
- b: z.ZodNumber;
3490
- alpha: z.ZodNumber;
3491
- hidden: z.ZodOptional<z.ZodBoolean>;
3492
- }, "strip", z.ZodTypeAny, {
3493
- type: "rgb";
3494
- r: number;
3495
- g: number;
3496
- b: number;
3497
- alpha: number;
3498
- hidden?: boolean | undefined;
3499
- }, {
3500
- type: "rgb";
3501
- r: number;
3502
- g: number;
3503
- b: number;
3504
- alpha: number;
3505
- hidden?: boolean | undefined;
3506
- }>, z.ZodType<{
3507
- type: "function";
3508
- name: string;
3509
- args: StyleValue;
3510
- hidden?: boolean;
3511
- }, z.ZodTypeDef, {
3512
- type: "function";
3513
- name: string;
3514
- args: StyleValue;
3515
- hidden?: boolean;
3516
- }>]>, "many">;
3517
- hidden: z.ZodOptional<z.ZodBoolean>;
3518
- }, "strip", z.ZodTypeAny, {
3519
- type: "tuple";
3520
- value: ({
3521
- type: "unit";
3522
- value: number;
3523
- 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";
3524
- hidden?: boolean | undefined;
3525
- } | {
3526
- type: "keyword";
3527
- value: string;
3528
- hidden?: boolean | undefined;
3529
- } | {
3530
- type: "unparsed";
3531
- value: string;
3532
- hidden?: boolean | undefined;
3533
- } | {
3534
- type: "rgb";
3535
- r: number;
3536
- g: number;
3537
- b: number;
3538
- alpha: number;
3539
- hidden?: boolean | undefined;
3540
- } | {
3541
- type: "function";
3542
- name: string;
3543
- args: StyleValue;
3544
- hidden?: boolean;
3545
- } | {
3546
- type: "image";
3547
- value: {
3548
- type: "asset";
3549
- value: string;
3550
- } | {
3551
- type: "url";
3552
- url: string;
3553
- };
3554
- hidden?: boolean | undefined;
3555
- })[];
3556
- hidden?: boolean | undefined;
3557
- }, {
3558
- type: "tuple";
3559
- value: ({
3560
- type: "unit";
3561
- value: number;
3562
- 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";
3563
- hidden?: boolean | undefined;
3564
- } | {
3565
- type: "keyword";
3566
- value: string;
3567
- hidden?: boolean | undefined;
3568
- } | {
3569
- type: "unparsed";
3570
- value: string;
3571
- hidden?: boolean | undefined;
3572
- } | {
3573
- type: "rgb";
3574
- r: number;
3575
- g: number;
3576
- b: number;
3577
- alpha: number;
3578
- hidden?: boolean | undefined;
3579
- } | {
3580
- type: "function";
3581
- name: string;
3582
- args: StyleValue;
3583
- hidden?: boolean;
3584
- } | {
3585
- type: "image";
3586
- value: {
3587
- type: "asset";
3588
- value: string;
3589
- } | {
3590
- type: "url";
3591
- url: string;
3592
- };
3593
- hidden?: boolean | undefined;
3594
- })[];
3595
- hidden?: boolean | undefined;
3596
- }>, z.ZodObject<{
3597
- type: z.ZodLiteral<"rgb">;
3598
- r: z.ZodNumber;
3599
- g: z.ZodNumber;
3600
- b: z.ZodNumber;
3601
- alpha: z.ZodNumber;
3602
- hidden: z.ZodOptional<z.ZodBoolean>;
3603
- }, "strip", z.ZodTypeAny, {
3604
- type: "rgb";
3605
- r: number;
3606
- g: number;
3607
- b: number;
3608
- alpha: number;
3609
- hidden?: boolean | undefined;
3610
- }, {
3611
- type: "rgb";
3612
- r: number;
3613
- g: number;
3614
- b: number;
3615
- alpha: number;
3616
- hidden?: boolean | undefined;
3617
- }>, z.ZodObject<{
3618
- type: z.ZodLiteral<"invalid">;
3619
- value: z.ZodString;
3620
- hidden: z.ZodOptional<z.ZodBoolean>;
3621
- }, "strip", z.ZodTypeAny, {
3622
- type: "invalid";
3623
- value: string;
3624
- hidden?: boolean | undefined;
3625
- }, {
3626
- type: "invalid";
3627
- value: string;
3628
- hidden?: boolean | undefined;
3629
- }>, z.ZodType<{
3630
- type: "function";
3631
- name: string;
3632
- args: StyleValue;
3633
- hidden?: boolean;
3634
- }, z.ZodTypeDef, {
3635
- type: "function";
3636
- name: string;
3637
- args: StyleValue;
3638
- hidden?: boolean;
3639
- }>]>, "many">;
3640
- hidden: z.ZodOptional<z.ZodBoolean>;
3641
- }, "strip", z.ZodTypeAny, {
3642
- type: "layers";
3643
- value: ({
3644
- type: "unit";
3645
- value: number;
3646
- 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";
3647
- hidden?: boolean | undefined;
3648
- } | {
3649
- type: "keyword";
3650
- value: string;
3651
- hidden?: boolean | undefined;
3652
- } | {
3653
- type: "unparsed";
3654
- value: string;
3655
- hidden?: boolean | undefined;
3656
- } | {
3657
- type: "rgb";
3658
- r: number;
3659
- g: number;
3660
- b: number;
3661
- alpha: number;
3662
- hidden?: boolean | undefined;
3663
- } | {
3664
- type: "function";
3665
- name: string;
3666
- args: StyleValue;
3667
- hidden?: boolean;
3668
- } | {
3669
- type: "image";
3670
- value: {
3671
- type: "asset";
3672
- value: string;
3673
- } | {
3674
- type: "url";
3675
- url: string;
3676
- };
3677
- hidden?: boolean | undefined;
3678
- } | {
3679
- type: "tuple";
3680
- value: ({
3681
- type: "unit";
3682
- value: number;
3683
- 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";
3684
- hidden?: boolean | undefined;
3685
- } | {
3686
- type: "keyword";
3687
- value: string;
3688
- hidden?: boolean | undefined;
3689
- } | {
3690
- type: "unparsed";
3691
- value: string;
3692
- hidden?: boolean | undefined;
3693
- } | {
3694
- type: "rgb";
3695
- r: number;
3696
- g: number;
3697
- b: number;
3698
- alpha: number;
3699
- hidden?: boolean | undefined;
3700
- } | {
3701
- type: "function";
3702
- name: string;
3703
- args: StyleValue;
3704
- hidden?: boolean;
3705
- } | {
3706
- type: "image";
3707
- value: {
3708
- type: "asset";
3709
- value: string;
3710
- } | {
3711
- type: "url";
3712
- url: string;
3713
- };
3714
- hidden?: boolean | undefined;
3715
- })[];
3716
- hidden?: boolean | undefined;
3717
- } | {
3718
- type: "invalid";
3719
- value: string;
3720
- hidden?: boolean | undefined;
3721
- })[];
3722
- hidden?: boolean | undefined;
3723
- }, {
3724
- type: "layers";
3725
- value: ({
3726
- type: "unit";
3727
- value: number;
3728
- 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";
3729
- hidden?: boolean | undefined;
3730
- } | {
3731
- type: "keyword";
3732
- value: string;
3733
- hidden?: boolean | undefined;
3734
- } | {
3735
- type: "unparsed";
3736
- value: string;
3737
- hidden?: boolean | undefined;
3738
- } | {
3739
- type: "rgb";
3740
- r: number;
3741
- g: number;
3742
- b: number;
3743
- alpha: number;
3744
- hidden?: boolean | undefined;
3745
- } | {
3746
- type: "function";
3747
- name: string;
3748
- args: StyleValue;
3749
- hidden?: boolean;
3750
- } | {
3751
- type: "image";
3752
- value: {
3753
- type: "asset";
3754
- value: string;
3755
- } | {
3756
- type: "url";
3757
- url: string;
3758
- };
3759
- hidden?: boolean | undefined;
3760
- } | {
3761
- type: "tuple";
3762
- value: ({
3763
- type: "unit";
3764
- value: number;
3765
- 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";
3766
- hidden?: boolean | undefined;
3767
- } | {
3768
- type: "keyword";
3769
- value: string;
3770
- hidden?: boolean | undefined;
3771
- } | {
3772
- type: "unparsed";
3773
- value: string;
3774
- hidden?: boolean | undefined;
3775
- } | {
3776
- type: "rgb";
3777
- r: number;
3778
- g: number;
3779
- b: number;
3780
- alpha: number;
3781
- hidden?: boolean | undefined;
3782
- } | {
3783
- type: "function";
3784
- name: string;
3785
- args: StyleValue;
3786
- hidden?: boolean;
3787
- } | {
3788
- type: "image";
3789
- value: {
3790
- type: "asset";
3791
- value: string;
3792
- } | {
3793
- type: "url";
3794
- url: string;
3795
- };
3796
- hidden?: boolean | undefined;
3797
- })[];
3798
- hidden?: boolean | undefined;
3799
- } | {
3800
- type: "invalid";
3801
- value: string;
3802
- hidden?: boolean | undefined;
3803
- })[];
3804
- hidden?: boolean | undefined;
3805
- }>, z.ZodObject<{
3806
- type: z.ZodLiteral<"unit">;
3807
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
3808
- value: z.ZodNumber;
3809
- hidden: z.ZodOptional<z.ZodBoolean>;
3810
- }, "strip", z.ZodTypeAny, {
3811
- type: "unit";
3812
- value: number;
3813
- 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";
3814
- hidden?: boolean | undefined;
3815
- }, {
3816
- type: "unit";
3817
- value: number;
3818
- 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";
3819
- hidden?: boolean | undefined;
3820
- }>, z.ZodObject<{
3821
- type: z.ZodLiteral<"keyword">;
3822
- value: z.ZodString;
3823
- hidden: z.ZodOptional<z.ZodBoolean>;
3824
- }, "strip", z.ZodTypeAny, {
3825
- type: "keyword";
3826
- value: string;
3827
- hidden?: boolean | undefined;
3828
- }, {
3829
- type: "keyword";
3830
- value: string;
3831
- hidden?: boolean | undefined;
3832
- }>, z.ZodObject<{
3833
- type: z.ZodLiteral<"fontFamily">;
3834
- value: z.ZodArray<z.ZodString, "many">;
3835
- hidden: z.ZodOptional<z.ZodBoolean>;
3836
- }, "strip", z.ZodTypeAny, {
3837
- type: "fontFamily";
3838
- value: string[];
3839
- hidden?: boolean | undefined;
3840
- }, {
3841
- type: "fontFamily";
3842
- value: string[];
3843
- hidden?: boolean | undefined;
3844
- }>, z.ZodObject<{
3845
- type: z.ZodLiteral<"rgb">;
3846
- r: z.ZodNumber;
3847
- g: z.ZodNumber;
3848
- b: z.ZodNumber;
3849
- alpha: z.ZodNumber;
3850
- hidden: z.ZodOptional<z.ZodBoolean>;
3851
- }, "strip", z.ZodTypeAny, {
3852
- type: "rgb";
3853
- r: number;
3854
- g: number;
3855
- b: number;
3856
- alpha: number;
3857
- hidden?: boolean | undefined;
3858
- }, {
3859
- type: "rgb";
3860
- r: number;
3861
- g: number;
3862
- b: number;
3863
- alpha: number;
3864
- hidden?: boolean | undefined;
3865
- }>, z.ZodObject<{
3866
- type: z.ZodLiteral<"unparsed">;
3867
- value: z.ZodString;
3868
- hidden: z.ZodOptional<z.ZodBoolean>;
3869
- }, "strip", z.ZodTypeAny, {
3870
- type: "unparsed";
3871
- value: string;
3872
- hidden?: boolean | undefined;
3873
- }, {
3874
- type: "unparsed";
3875
- value: string;
3876
- hidden?: boolean | undefined;
3877
- }>, z.ZodObject<{
3878
- type: z.ZodLiteral<"tuple">;
3879
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3880
- type: z.ZodLiteral<"unit">;
3881
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
3882
- value: z.ZodNumber;
3883
- hidden: z.ZodOptional<z.ZodBoolean>;
3884
- }, "strip", z.ZodTypeAny, {
3885
- type: "unit";
3886
- value: number;
3887
- 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";
3888
- hidden?: boolean | undefined;
3889
- }, {
3890
- type: "unit";
3891
- value: number;
3892
- 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";
3893
- hidden?: boolean | undefined;
3894
- }>, z.ZodObject<{
3895
- type: z.ZodLiteral<"keyword">;
3896
- value: z.ZodString;
3897
- hidden: z.ZodOptional<z.ZodBoolean>;
3898
- }, "strip", z.ZodTypeAny, {
3899
- type: "keyword";
3900
- value: string;
3901
- hidden?: boolean | undefined;
3902
- }, {
3903
- type: "keyword";
3904
- value: string;
3905
- hidden?: boolean | undefined;
3906
- }>, z.ZodObject<{
3907
- type: z.ZodLiteral<"unparsed">;
3908
- value: z.ZodString;
3909
- hidden: z.ZodOptional<z.ZodBoolean>;
3910
- }, "strip", z.ZodTypeAny, {
3911
- type: "unparsed";
3912
- value: string;
3913
- hidden?: boolean | undefined;
3914
- }, {
3915
- type: "unparsed";
3916
- value: string;
3917
- hidden?: boolean | undefined;
3918
- }>, z.ZodObject<{
3919
- type: z.ZodLiteral<"image">;
3920
- value: z.ZodUnion<[z.ZodObject<{
3921
- type: z.ZodLiteral<"asset">;
3922
- value: z.ZodString;
3923
- }, "strip", z.ZodTypeAny, {
3924
- type: "asset";
3925
- value: string;
3926
- }, {
3927
- type: "asset";
3928
- value: string;
3929
- }>, z.ZodObject<{
3930
- type: z.ZodLiteral<"url">;
3931
- url: z.ZodString;
3932
- }, "strip", z.ZodTypeAny, {
3933
- type: "url";
3934
- url: string;
3935
- }, {
3936
- type: "url";
3937
- url: string;
3938
- }>]>;
3939
- hidden: z.ZodOptional<z.ZodBoolean>;
3940
- }, "strip", z.ZodTypeAny, {
3941
- type: "image";
3942
- value: {
3943
- type: "asset";
3944
- value: string;
3945
- } | {
3946
- type: "url";
3947
- url: string;
3948
- };
3949
- hidden?: boolean | undefined;
3950
- }, {
3951
- type: "image";
3952
- value: {
3953
- type: "asset";
3954
- value: string;
3955
- } | {
3956
- type: "url";
3957
- url: string;
3958
- };
3959
- hidden?: boolean | undefined;
3960
- }>, z.ZodObject<{
3961
- type: z.ZodLiteral<"rgb">;
3962
- r: z.ZodNumber;
3963
- g: z.ZodNumber;
3964
- b: z.ZodNumber;
3965
- alpha: z.ZodNumber;
3966
- hidden: z.ZodOptional<z.ZodBoolean>;
3967
- }, "strip", z.ZodTypeAny, {
3968
- type: "rgb";
3969
- r: number;
3970
- g: number;
3971
- b: number;
3972
- alpha: number;
3973
- hidden?: boolean | undefined;
3974
- }, {
3975
- type: "rgb";
3976
- r: number;
3977
- g: number;
3978
- b: number;
3979
- alpha: number;
3980
- hidden?: boolean | undefined;
3981
- }>, z.ZodType<{
3982
- type: "function";
3983
- name: string;
3984
- args: StyleValue;
3985
- hidden?: boolean;
3986
- }, z.ZodTypeDef, {
3987
- type: "function";
3988
- name: string;
3989
- args: StyleValue;
3990
- hidden?: boolean;
3991
- }>]>, "many">;
3992
- hidden: z.ZodOptional<z.ZodBoolean>;
3993
- }, "strip", z.ZodTypeAny, {
3994
- type: "tuple";
3995
- value: ({
3996
- type: "unit";
3997
- value: number;
3998
- 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";
3999
- hidden?: boolean | undefined;
4000
- } | {
4001
- type: "keyword";
4002
- value: string;
4003
- hidden?: boolean | undefined;
4004
- } | {
4005
- type: "unparsed";
4006
- value: string;
4007
- hidden?: boolean | undefined;
4008
- } | {
4009
- type: "rgb";
4010
- r: number;
4011
- g: number;
4012
- b: number;
4013
- alpha: number;
4014
- hidden?: boolean | undefined;
4015
- } | {
4016
- type: "function";
4017
- name: string;
4018
- args: StyleValue;
4019
- hidden?: boolean;
4020
- } | {
4021
- type: "image";
4022
- value: {
4023
- type: "asset";
4024
- value: string;
4025
- } | {
4026
- type: "url";
4027
- url: string;
4028
- };
4029
- hidden?: boolean | undefined;
4030
- })[];
4031
- hidden?: boolean | undefined;
4032
- }, {
4033
- type: "tuple";
4034
- value: ({
4035
- type: "unit";
4036
- value: number;
4037
- 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";
4038
- hidden?: boolean | undefined;
4039
- } | {
4040
- type: "keyword";
4041
- value: string;
4042
- hidden?: boolean | undefined;
4043
- } | {
4044
- type: "unparsed";
4045
- value: string;
4046
- hidden?: boolean | undefined;
4047
- } | {
4048
- type: "rgb";
4049
- r: number;
4050
- g: number;
4051
- b: number;
4052
- alpha: number;
4053
- hidden?: boolean | undefined;
4054
- } | {
4055
- type: "function";
4056
- name: string;
4057
- args: StyleValue;
4058
- hidden?: boolean;
4059
- } | {
4060
- type: "image";
4061
- value: {
4062
- type: "asset";
4063
- value: string;
4064
- } | {
4065
- type: "url";
4066
- url: string;
4067
- };
4068
- hidden?: boolean | undefined;
4069
- })[];
4070
- hidden?: boolean | undefined;
4071
- }>, z.ZodType<{
4072
- type: "function";
4073
- name: string;
4074
- args: StyleValue;
4075
- hidden?: boolean;
4076
- }, z.ZodTypeDef, {
4077
- type: "function";
4078
- name: string;
4079
- args: StyleValue;
4080
- hidden?: boolean;
4081
- }>, z.ZodObject<{
4082
- type: z.ZodLiteral<"guaranteedInvalid">;
4083
- hidden: z.ZodOptional<z.ZodBoolean>;
4084
- }, "strip", z.ZodTypeAny, {
4085
- type: "guaranteedInvalid";
4086
- hidden?: boolean | undefined;
4087
- }, {
4088
- type: "guaranteedInvalid";
4089
- hidden?: boolean | undefined;
4090
- }>]>, z.ZodObject<{
4091
- type: z.ZodLiteral<"invalid">;
4092
- value: z.ZodString;
4093
- hidden: z.ZodOptional<z.ZodBoolean>;
4094
- }, "strip", z.ZodTypeAny, {
4095
- type: "invalid";
4096
- value: string;
4097
- hidden?: boolean | undefined;
4098
- }, {
4099
- type: "invalid";
4100
- value: string;
4101
- hidden?: boolean | undefined;
4102
- }>, z.ZodObject<{
4103
- type: z.ZodLiteral<"unset">;
4104
- value: z.ZodLiteral<"">;
4105
- hidden: z.ZodOptional<z.ZodBoolean>;
4106
- }, "strip", z.ZodTypeAny, {
4107
- type: "unset";
4108
- value: "";
4109
- hidden?: boolean | undefined;
4110
- }, {
4111
- type: "unset";
4112
- value: "";
4113
- hidden?: boolean | undefined;
4114
- }>, z.ZodObject<{
4115
- type: z.ZodLiteral<"var">;
4116
- value: z.ZodString;
4117
- fallbacks: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4118
- type: z.ZodLiteral<"image">;
4119
- value: z.ZodUnion<[z.ZodObject<{
4120
- type: z.ZodLiteral<"asset">;
4121
- value: z.ZodString;
4122
- }, "strip", z.ZodTypeAny, {
4123
- type: "asset";
4124
- value: string;
4125
- }, {
4126
- type: "asset";
4127
- value: string;
4128
- }>, z.ZodObject<{
4129
- type: z.ZodLiteral<"url">;
4130
- url: z.ZodString;
4131
- }, "strip", z.ZodTypeAny, {
4132
- type: "url";
4133
- url: string;
4134
- }, {
4135
- type: "url";
4136
- url: string;
4137
- }>]>;
4138
- hidden: z.ZodOptional<z.ZodBoolean>;
4139
- }, "strip", z.ZodTypeAny, {
4140
- type: "image";
4141
- value: {
4142
- type: "asset";
4143
- value: string;
4144
- } | {
4145
- type: "url";
4146
- url: string;
4147
- };
4148
- hidden?: boolean | undefined;
4149
- }, {
4150
- type: "image";
4151
- value: {
4152
- type: "asset";
4153
- value: string;
4154
- } | {
4155
- type: "url";
4156
- url: string;
4157
- };
4158
- hidden?: boolean | undefined;
4159
- }>, z.ZodObject<{
4160
- type: z.ZodLiteral<"layers">;
4161
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4162
- type: z.ZodLiteral<"unit">;
4163
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
4164
- value: z.ZodNumber;
4165
- hidden: z.ZodOptional<z.ZodBoolean>;
4166
- }, "strip", z.ZodTypeAny, {
4167
- type: "unit";
4168
- value: number;
4169
- 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";
4170
- hidden?: boolean | undefined;
4171
- }, {
4172
- type: "unit";
4173
- value: number;
4174
- 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";
4175
- hidden?: boolean | undefined;
4176
- }>, z.ZodObject<{
4177
- type: z.ZodLiteral<"keyword">;
4178
- value: z.ZodString;
4179
- hidden: z.ZodOptional<z.ZodBoolean>;
4180
- }, "strip", z.ZodTypeAny, {
4181
- type: "keyword";
4182
- value: string;
4183
- hidden?: boolean | undefined;
4184
- }, {
4185
- type: "keyword";
4186
- value: string;
4187
- hidden?: boolean | undefined;
4188
- }>, z.ZodObject<{
4189
- type: z.ZodLiteral<"unparsed">;
4190
- value: z.ZodString;
4191
- hidden: z.ZodOptional<z.ZodBoolean>;
4192
- }, "strip", z.ZodTypeAny, {
4193
- type: "unparsed";
4194
- value: string;
4195
- hidden?: boolean | undefined;
4196
- }, {
4197
- type: "unparsed";
4198
- value: string;
4199
- hidden?: boolean | undefined;
4200
- }>, z.ZodObject<{
4201
- type: z.ZodLiteral<"image">;
4202
- value: z.ZodUnion<[z.ZodObject<{
4203
- type: z.ZodLiteral<"asset">;
4204
- value: z.ZodString;
4205
- }, "strip", z.ZodTypeAny, {
4206
- type: "asset";
4207
- value: string;
4208
- }, {
4209
- type: "asset";
4210
- value: string;
4211
- }>, z.ZodObject<{
4212
- type: z.ZodLiteral<"url">;
4213
- url: z.ZodString;
4214
- }, "strip", z.ZodTypeAny, {
4215
- type: "url";
4216
- url: string;
4217
- }, {
4218
- type: "url";
4219
- url: string;
4220
- }>]>;
4221
- hidden: z.ZodOptional<z.ZodBoolean>;
4222
- }, "strip", z.ZodTypeAny, {
4223
- type: "image";
4224
- value: {
4225
- type: "asset";
4226
- value: string;
4227
- } | {
4228
- type: "url";
4229
- url: string;
4230
- };
4231
- hidden?: boolean | undefined;
4232
- }, {
4233
- type: "image";
4234
- value: {
4235
- type: "asset";
4236
- value: string;
4237
- } | {
4238
- type: "url";
4239
- url: string;
4240
- };
4241
- hidden?: boolean | undefined;
4242
- }>, z.ZodObject<{
4243
- type: z.ZodLiteral<"tuple">;
4244
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4245
- type: z.ZodLiteral<"unit">;
4246
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
4247
- value: z.ZodNumber;
4248
- hidden: z.ZodOptional<z.ZodBoolean>;
4249
- }, "strip", z.ZodTypeAny, {
4250
- type: "unit";
4251
- value: number;
4252
- 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";
4253
- hidden?: boolean | undefined;
4254
- }, {
4255
- type: "unit";
4256
- value: number;
4257
- 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";
4258
- hidden?: boolean | undefined;
4259
- }>, z.ZodObject<{
4260
- type: z.ZodLiteral<"keyword">;
4261
- value: z.ZodString;
4262
- hidden: z.ZodOptional<z.ZodBoolean>;
4263
- }, "strip", z.ZodTypeAny, {
4264
- type: "keyword";
4265
- value: string;
4266
- hidden?: boolean | undefined;
4267
- }, {
4268
- type: "keyword";
4269
- value: string;
4270
- hidden?: boolean | undefined;
4271
- }>, z.ZodObject<{
4272
- type: z.ZodLiteral<"unparsed">;
4273
- value: z.ZodString;
4274
- hidden: z.ZodOptional<z.ZodBoolean>;
4275
- }, "strip", z.ZodTypeAny, {
4276
- type: "unparsed";
4277
- value: string;
4278
- hidden?: boolean | undefined;
4279
- }, {
4280
- type: "unparsed";
4281
- value: string;
4282
- hidden?: boolean | undefined;
4283
- }>, z.ZodObject<{
4284
- type: z.ZodLiteral<"image">;
4285
- value: z.ZodUnion<[z.ZodObject<{
4286
- type: z.ZodLiteral<"asset">;
4287
- value: z.ZodString;
4288
- }, "strip", z.ZodTypeAny, {
4289
- type: "asset";
4290
- value: string;
4291
- }, {
4292
- type: "asset";
4293
- value: string;
4294
- }>, z.ZodObject<{
4295
- type: z.ZodLiteral<"url">;
4296
- url: z.ZodString;
4297
- }, "strip", z.ZodTypeAny, {
4298
- type: "url";
4299
- url: string;
4300
- }, {
4301
- type: "url";
4302
- url: string;
4303
- }>]>;
4304
- hidden: z.ZodOptional<z.ZodBoolean>;
4305
- }, "strip", z.ZodTypeAny, {
4306
- type: "image";
4307
- value: {
4308
- type: "asset";
4309
- value: string;
4310
- } | {
4311
- type: "url";
4312
- url: string;
4313
- };
4314
- hidden?: boolean | undefined;
4315
- }, {
4316
- type: "image";
4317
- value: {
4318
- type: "asset";
4319
- value: string;
4320
- } | {
4321
- type: "url";
4322
- url: string;
4323
- };
4324
- hidden?: boolean | undefined;
4325
- }>, z.ZodObject<{
4326
- type: z.ZodLiteral<"rgb">;
4327
- r: z.ZodNumber;
4328
- g: z.ZodNumber;
4329
- b: z.ZodNumber;
4330
- alpha: z.ZodNumber;
4331
- hidden: z.ZodOptional<z.ZodBoolean>;
4332
- }, "strip", z.ZodTypeAny, {
4333
- type: "rgb";
4334
- r: number;
4335
- g: number;
4336
- b: number;
4337
- alpha: number;
4338
- hidden?: boolean | undefined;
4339
- }, {
4340
- type: "rgb";
4341
- r: number;
4342
- g: number;
4343
- b: number;
4344
- alpha: number;
4345
- hidden?: boolean | undefined;
4346
- }>, z.ZodType<{
4347
- type: "function";
4348
- name: string;
4349
- args: StyleValue;
4350
- hidden?: boolean;
4351
- }, z.ZodTypeDef, {
4352
- type: "function";
4353
- name: string;
4354
- args: StyleValue;
4355
- hidden?: boolean;
4356
- }>]>, "many">;
4357
- hidden: z.ZodOptional<z.ZodBoolean>;
4358
- }, "strip", z.ZodTypeAny, {
4359
- type: "tuple";
4360
- value: ({
4361
- type: "unit";
4362
- value: number;
4363
- 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";
4364
- hidden?: boolean | undefined;
4365
- } | {
4366
- type: "keyword";
4367
- value: string;
4368
- hidden?: boolean | undefined;
4369
- } | {
4370
- type: "unparsed";
4371
- value: string;
4372
- hidden?: boolean | undefined;
4373
- } | {
4374
- type: "rgb";
4375
- r: number;
4376
- g: number;
4377
- b: number;
4378
- alpha: number;
4379
- hidden?: boolean | undefined;
4380
- } | {
4381
- type: "function";
4382
- name: string;
4383
- args: StyleValue;
4384
- hidden?: boolean;
4385
- } | {
4386
- type: "image";
4387
- value: {
4388
- type: "asset";
4389
- value: string;
4390
- } | {
4391
- type: "url";
4392
- url: string;
4393
- };
4394
- hidden?: boolean | undefined;
4395
- })[];
4396
- hidden?: boolean | undefined;
4397
- }, {
4398
- type: "tuple";
4399
- value: ({
4400
- type: "unit";
4401
- value: number;
4402
- 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";
4403
- hidden?: boolean | undefined;
4404
- } | {
4405
- type: "keyword";
4406
- value: string;
4407
- hidden?: boolean | undefined;
4408
- } | {
4409
- type: "unparsed";
4410
- value: string;
4411
- hidden?: boolean | undefined;
4412
- } | {
4413
- type: "rgb";
4414
- r: number;
4415
- g: number;
4416
- b: number;
4417
- alpha: number;
4418
- hidden?: boolean | undefined;
4419
- } | {
4420
- type: "function";
4421
- name: string;
4422
- args: StyleValue;
4423
- hidden?: boolean;
4424
- } | {
4425
- type: "image";
4426
- value: {
4427
- type: "asset";
4428
- value: string;
4429
- } | {
4430
- type: "url";
4431
- url: string;
4432
- };
4433
- hidden?: boolean | undefined;
4434
- })[];
4435
- hidden?: boolean | undefined;
4436
- }>, z.ZodObject<{
4437
- type: z.ZodLiteral<"rgb">;
4438
- r: z.ZodNumber;
4439
- g: z.ZodNumber;
4440
- b: z.ZodNumber;
4441
- alpha: z.ZodNumber;
4442
- hidden: z.ZodOptional<z.ZodBoolean>;
4443
- }, "strip", z.ZodTypeAny, {
4444
- type: "rgb";
4445
- r: number;
4446
- g: number;
4447
- b: number;
4448
- alpha: number;
4449
- hidden?: boolean | undefined;
4450
- }, {
4451
- type: "rgb";
4452
- r: number;
4453
- g: number;
4454
- b: number;
4455
- alpha: number;
4456
- hidden?: boolean | undefined;
4457
- }>, z.ZodObject<{
4458
- type: z.ZodLiteral<"invalid">;
4459
- value: z.ZodString;
4460
- hidden: z.ZodOptional<z.ZodBoolean>;
4461
- }, "strip", z.ZodTypeAny, {
4462
- type: "invalid";
4463
- value: string;
4464
- hidden?: boolean | undefined;
4465
- }, {
4466
- type: "invalid";
4467
- value: string;
4468
- hidden?: boolean | undefined;
4469
- }>, z.ZodType<{
4470
- type: "function";
4471
- name: string;
4472
- args: StyleValue;
4473
- hidden?: boolean;
4474
- }, z.ZodTypeDef, {
4475
- type: "function";
4476
- name: string;
4477
- args: StyleValue;
4478
- hidden?: boolean;
4479
- }>]>, "many">;
4480
- hidden: z.ZodOptional<z.ZodBoolean>;
4481
- }, "strip", z.ZodTypeAny, {
4482
- type: "layers";
4483
- value: ({
4484
- type: "unit";
4485
- value: number;
4486
- 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";
4487
- hidden?: boolean | undefined;
4488
- } | {
4489
- type: "keyword";
4490
- value: string;
4491
- hidden?: boolean | undefined;
4492
- } | {
4493
- type: "unparsed";
4494
- value: string;
4495
- hidden?: boolean | undefined;
4496
- } | {
4497
- type: "rgb";
4498
- r: number;
4499
- g: number;
4500
- b: number;
4501
- alpha: number;
4502
- hidden?: boolean | undefined;
4503
- } | {
4504
- type: "function";
4505
- name: string;
4506
- args: StyleValue;
4507
- hidden?: boolean;
4508
- } | {
4509
- type: "image";
4510
- value: {
4511
- type: "asset";
4512
- value: string;
4513
- } | {
4514
- type: "url";
4515
- url: string;
4516
- };
4517
- hidden?: boolean | undefined;
4518
- } | {
4519
- type: "tuple";
4520
- value: ({
4521
- type: "unit";
4522
- value: number;
4523
- 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";
4524
- hidden?: boolean | undefined;
4525
- } | {
4526
- type: "keyword";
4527
- value: string;
4528
- hidden?: boolean | undefined;
4529
- } | {
4530
- type: "unparsed";
4531
- value: string;
4532
- hidden?: boolean | undefined;
4533
- } | {
4534
- type: "rgb";
4535
- r: number;
4536
- g: number;
4537
- b: number;
4538
- alpha: number;
4539
- hidden?: boolean | undefined;
4540
- } | {
4541
- type: "function";
4542
- name: string;
4543
- args: StyleValue;
4544
- hidden?: boolean;
4545
- } | {
4546
- type: "image";
4547
- value: {
4548
- type: "asset";
4549
- value: string;
4550
- } | {
4551
- type: "url";
4552
- url: string;
4553
- };
4554
- hidden?: boolean | undefined;
4555
- })[];
4556
- hidden?: boolean | undefined;
4557
- } | {
4558
- type: "invalid";
4559
- value: string;
4560
- hidden?: boolean | undefined;
4561
- })[];
4562
- hidden?: boolean | undefined;
4563
- }, {
4564
- type: "layers";
4565
- value: ({
4566
- type: "unit";
4567
- value: number;
4568
- 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";
4569
- hidden?: boolean | undefined;
4570
- } | {
4571
- type: "keyword";
4572
- value: string;
4573
- hidden?: boolean | undefined;
4574
- } | {
4575
- type: "unparsed";
4576
- value: string;
4577
- hidden?: boolean | undefined;
4578
- } | {
4579
- type: "rgb";
4580
- r: number;
4581
- g: number;
4582
- b: number;
4583
- alpha: number;
4584
- hidden?: boolean | undefined;
4585
- } | {
4586
- type: "function";
4587
- name: string;
4588
- args: StyleValue;
4589
- hidden?: boolean;
4590
- } | {
4591
- type: "image";
4592
- value: {
4593
- type: "asset";
4594
- value: string;
4595
- } | {
4596
- type: "url";
4597
- url: string;
4598
- };
4599
- hidden?: boolean | undefined;
4600
- } | {
4601
- type: "tuple";
4602
- value: ({
4603
- type: "unit";
4604
- value: number;
4605
- 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";
4606
- hidden?: boolean | undefined;
4607
- } | {
4608
- type: "keyword";
4609
- value: string;
4610
- hidden?: boolean | undefined;
4611
- } | {
4612
- type: "unparsed";
4613
- value: string;
4614
- hidden?: boolean | undefined;
4615
- } | {
4616
- type: "rgb";
4617
- r: number;
4618
- g: number;
4619
- b: number;
4620
- alpha: number;
4621
- hidden?: boolean | undefined;
4622
- } | {
4623
- type: "function";
4624
- name: string;
4625
- args: StyleValue;
4626
- hidden?: boolean;
4627
- } | {
4628
- type: "image";
4629
- value: {
4630
- type: "asset";
4631
- value: string;
4632
- } | {
4633
- type: "url";
4634
- url: string;
4635
- };
4636
- hidden?: boolean | undefined;
4637
- })[];
4638
- hidden?: boolean | undefined;
4639
- } | {
4640
- type: "invalid";
4641
- value: string;
4642
- hidden?: boolean | undefined;
4643
- })[];
4644
- hidden?: boolean | undefined;
4645
- }>, z.ZodObject<{
4646
- type: z.ZodLiteral<"unit">;
4647
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
4648
- value: z.ZodNumber;
4649
- hidden: z.ZodOptional<z.ZodBoolean>;
4650
- }, "strip", z.ZodTypeAny, {
4651
- type: "unit";
4652
- value: number;
4653
- 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";
4654
- hidden?: boolean | undefined;
4655
- }, {
4656
- type: "unit";
4657
- value: number;
4658
- 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";
2961
+ type: "unparsed";
2962
+ value: string;
4659
2963
  hidden?: boolean | undefined;
4660
2964
  }>, z.ZodObject<{
4661
2965
  type: z.ZodLiteral<"keyword">;
@@ -4669,275 +2973,12 @@ export declare const StyleValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4669
2973
  type: "keyword";
4670
2974
  value: string;
4671
2975
  hidden?: boolean | undefined;
4672
- }>, z.ZodObject<{
4673
- type: z.ZodLiteral<"fontFamily">;
4674
- value: z.ZodArray<z.ZodString, "many">;
4675
- hidden: z.ZodOptional<z.ZodBoolean>;
4676
- }, "strip", z.ZodTypeAny, {
4677
- type: "fontFamily";
4678
- value: string[];
4679
- hidden?: boolean | undefined;
4680
- }, {
4681
- type: "fontFamily";
4682
- value: string[];
4683
- hidden?: boolean | undefined;
4684
- }>, z.ZodObject<{
4685
- type: z.ZodLiteral<"rgb">;
4686
- r: z.ZodNumber;
4687
- g: z.ZodNumber;
4688
- b: z.ZodNumber;
4689
- alpha: z.ZodNumber;
4690
- hidden: z.ZodOptional<z.ZodBoolean>;
4691
- }, "strip", z.ZodTypeAny, {
4692
- type: "rgb";
4693
- r: number;
4694
- g: number;
4695
- b: number;
4696
- alpha: number;
4697
- hidden?: boolean | undefined;
4698
- }, {
4699
- type: "rgb";
4700
- r: number;
4701
- g: number;
4702
- b: number;
4703
- alpha: number;
4704
- hidden?: boolean | undefined;
4705
- }>, z.ZodObject<{
4706
- type: z.ZodLiteral<"unparsed">;
4707
- value: z.ZodString;
4708
- hidden: z.ZodOptional<z.ZodBoolean>;
4709
- }, "strip", z.ZodTypeAny, {
4710
- type: "unparsed";
4711
- value: string;
4712
- hidden?: boolean | undefined;
4713
- }, {
4714
- type: "unparsed";
4715
- value: string;
4716
- hidden?: boolean | undefined;
4717
- }>, z.ZodObject<{
4718
- type: z.ZodLiteral<"tuple">;
4719
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4720
- type: z.ZodLiteral<"unit">;
4721
- unit: z.ZodType<"number" | GeneratedUnit, z.ZodTypeDef, "number" | GeneratedUnit>;
4722
- value: z.ZodNumber;
4723
- hidden: z.ZodOptional<z.ZodBoolean>;
4724
- }, "strip", z.ZodTypeAny, {
4725
- type: "unit";
4726
- value: number;
4727
- 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";
4728
- hidden?: boolean | undefined;
4729
- }, {
4730
- type: "unit";
4731
- value: number;
4732
- 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";
4733
- hidden?: boolean | undefined;
4734
- }>, z.ZodObject<{
4735
- type: z.ZodLiteral<"keyword">;
4736
- value: z.ZodString;
4737
- hidden: z.ZodOptional<z.ZodBoolean>;
4738
- }, "strip", z.ZodTypeAny, {
4739
- type: "keyword";
4740
- value: string;
4741
- hidden?: boolean | undefined;
4742
- }, {
4743
- type: "keyword";
4744
- value: string;
4745
- hidden?: boolean | undefined;
4746
- }>, z.ZodObject<{
4747
- type: z.ZodLiteral<"unparsed">;
4748
- value: z.ZodString;
4749
- hidden: z.ZodOptional<z.ZodBoolean>;
4750
- }, "strip", z.ZodTypeAny, {
4751
- type: "unparsed";
4752
- value: string;
4753
- hidden?: boolean | undefined;
4754
- }, {
4755
- type: "unparsed";
4756
- value: string;
4757
- hidden?: boolean | undefined;
4758
- }>, z.ZodObject<{
4759
- type: z.ZodLiteral<"image">;
4760
- value: z.ZodUnion<[z.ZodObject<{
4761
- type: z.ZodLiteral<"asset">;
4762
- value: z.ZodString;
4763
- }, "strip", z.ZodTypeAny, {
4764
- type: "asset";
4765
- value: string;
4766
- }, {
4767
- type: "asset";
4768
- value: string;
4769
- }>, z.ZodObject<{
4770
- type: z.ZodLiteral<"url">;
4771
- url: z.ZodString;
4772
- }, "strip", z.ZodTypeAny, {
4773
- type: "url";
4774
- url: string;
4775
- }, {
4776
- type: "url";
4777
- url: string;
4778
- }>]>;
4779
- hidden: z.ZodOptional<z.ZodBoolean>;
4780
- }, "strip", z.ZodTypeAny, {
4781
- type: "image";
4782
- value: {
4783
- type: "asset";
4784
- value: string;
4785
- } | {
4786
- type: "url";
4787
- url: string;
4788
- };
4789
- hidden?: boolean | undefined;
4790
- }, {
4791
- type: "image";
4792
- value: {
4793
- type: "asset";
4794
- value: string;
4795
- } | {
4796
- type: "url";
4797
- url: string;
4798
- };
4799
- hidden?: boolean | undefined;
4800
- }>, z.ZodObject<{
4801
- type: z.ZodLiteral<"rgb">;
4802
- r: z.ZodNumber;
4803
- g: z.ZodNumber;
4804
- b: z.ZodNumber;
4805
- alpha: z.ZodNumber;
4806
- hidden: z.ZodOptional<z.ZodBoolean>;
4807
- }, "strip", z.ZodTypeAny, {
4808
- type: "rgb";
4809
- r: number;
4810
- g: number;
4811
- b: number;
4812
- alpha: number;
4813
- hidden?: boolean | undefined;
4814
- }, {
4815
- type: "rgb";
4816
- r: number;
4817
- g: number;
4818
- b: number;
4819
- alpha: number;
4820
- hidden?: boolean | undefined;
4821
- }>, z.ZodType<{
4822
- type: "function";
4823
- name: string;
4824
- args: StyleValue;
4825
- hidden?: boolean;
4826
- }, z.ZodTypeDef, {
4827
- type: "function";
4828
- name: string;
4829
- args: StyleValue;
4830
- hidden?: boolean;
4831
- }>]>, "many">;
4832
- hidden: z.ZodOptional<z.ZodBoolean>;
4833
- }, "strip", z.ZodTypeAny, {
4834
- type: "tuple";
4835
- value: ({
4836
- type: "unit";
4837
- value: number;
4838
- 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";
4839
- hidden?: boolean | undefined;
4840
- } | {
4841
- type: "keyword";
4842
- value: string;
4843
- hidden?: boolean | undefined;
4844
- } | {
4845
- type: "unparsed";
4846
- value: string;
4847
- hidden?: boolean | undefined;
4848
- } | {
4849
- type: "rgb";
4850
- r: number;
4851
- g: number;
4852
- b: number;
4853
- alpha: number;
4854
- hidden?: boolean | undefined;
4855
- } | {
4856
- type: "function";
4857
- name: string;
4858
- args: StyleValue;
4859
- hidden?: boolean;
4860
- } | {
4861
- type: "image";
4862
- value: {
4863
- type: "asset";
4864
- value: string;
4865
- } | {
4866
- type: "url";
4867
- url: string;
4868
- };
4869
- hidden?: boolean | undefined;
4870
- })[];
4871
- hidden?: boolean | undefined;
4872
- }, {
4873
- type: "tuple";
4874
- value: ({
4875
- type: "unit";
4876
- value: number;
4877
- 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";
4878
- hidden?: boolean | undefined;
4879
- } | {
4880
- type: "keyword";
4881
- value: string;
4882
- hidden?: boolean | undefined;
4883
- } | {
4884
- type: "unparsed";
4885
- value: string;
4886
- hidden?: boolean | undefined;
4887
- } | {
4888
- type: "rgb";
4889
- r: number;
4890
- g: number;
4891
- b: number;
4892
- alpha: number;
4893
- hidden?: boolean | undefined;
4894
- } | {
4895
- type: "function";
4896
- name: string;
4897
- args: StyleValue;
4898
- hidden?: boolean;
4899
- } | {
4900
- type: "image";
4901
- value: {
4902
- type: "asset";
4903
- value: string;
4904
- } | {
4905
- type: "url";
4906
- url: string;
4907
- };
4908
- hidden?: boolean | undefined;
4909
- })[];
4910
- hidden?: boolean | undefined;
4911
- }>, z.ZodType<{
4912
- type: "function";
4913
- name: string;
4914
- args: StyleValue;
4915
- hidden?: boolean;
4916
- }, z.ZodTypeDef, {
4917
- type: "function";
4918
- name: string;
4919
- args: StyleValue;
4920
- hidden?: boolean;
4921
- }>, z.ZodObject<{
4922
- type: z.ZodLiteral<"guaranteedInvalid">;
4923
- hidden: z.ZodOptional<z.ZodBoolean>;
4924
- }, "strip", z.ZodTypeAny, {
4925
- type: "guaranteedInvalid";
4926
- hidden?: boolean | undefined;
4927
- }, {
4928
- type: "guaranteedInvalid";
4929
- hidden?: boolean | undefined;
4930
- }>]>, "many">;
2976
+ }>]>>;
4931
2977
  hidden: z.ZodOptional<z.ZodBoolean>;
4932
2978
  }, "strip", z.ZodTypeAny, {
4933
2979
  type: "var";
4934
2980
  value: string;
4935
- fallbacks: ({
4936
- type: "unit";
4937
- value: number;
4938
- 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";
4939
- hidden?: boolean | undefined;
4940
- } | {
2981
+ fallback?: {
4941
2982
  type: "keyword";
4942
2983
  value: string;
4943
2984
  hidden?: boolean | undefined;
@@ -4945,167 +2986,12 @@ export declare const StyleValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4945
2986
  type: "unparsed";
4946
2987
  value: string;
4947
2988
  hidden?: boolean | undefined;
4948
- } | {
4949
- type: "fontFamily";
4950
- value: string[];
4951
- hidden?: boolean | undefined;
4952
- } | {
4953
- type: "rgb";
4954
- r: number;
4955
- g: number;
4956
- b: number;
4957
- alpha: number;
4958
- hidden?: boolean | undefined;
4959
- } | {
4960
- type: "function";
4961
- name: string;
4962
- args: StyleValue;
4963
- hidden?: boolean;
4964
- } | {
4965
- type: "image";
4966
- value: {
4967
- type: "asset";
4968
- value: string;
4969
- } | {
4970
- type: "url";
4971
- url: string;
4972
- };
4973
- hidden?: boolean | undefined;
4974
- } | {
4975
- type: "tuple";
4976
- value: ({
4977
- type: "unit";
4978
- value: number;
4979
- 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";
4980
- hidden?: boolean | undefined;
4981
- } | {
4982
- type: "keyword";
4983
- value: string;
4984
- hidden?: boolean | undefined;
4985
- } | {
4986
- type: "unparsed";
4987
- value: string;
4988
- hidden?: boolean | undefined;
4989
- } | {
4990
- type: "rgb";
4991
- r: number;
4992
- g: number;
4993
- b: number;
4994
- alpha: number;
4995
- hidden?: boolean | undefined;
4996
- } | {
4997
- type: "function";
4998
- name: string;
4999
- args: StyleValue;
5000
- hidden?: boolean;
5001
- } | {
5002
- type: "image";
5003
- value: {
5004
- type: "asset";
5005
- value: string;
5006
- } | {
5007
- type: "url";
5008
- url: string;
5009
- };
5010
- hidden?: boolean | undefined;
5011
- })[];
5012
- hidden?: boolean | undefined;
5013
- } | {
5014
- type: "layers";
5015
- value: ({
5016
- type: "unit";
5017
- value: number;
5018
- 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";
5019
- hidden?: boolean | undefined;
5020
- } | {
5021
- type: "keyword";
5022
- value: string;
5023
- hidden?: boolean | undefined;
5024
- } | {
5025
- type: "unparsed";
5026
- value: string;
5027
- hidden?: boolean | undefined;
5028
- } | {
5029
- type: "rgb";
5030
- r: number;
5031
- g: number;
5032
- b: number;
5033
- alpha: number;
5034
- hidden?: boolean | undefined;
5035
- } | {
5036
- type: "function";
5037
- name: string;
5038
- args: StyleValue;
5039
- hidden?: boolean;
5040
- } | {
5041
- type: "image";
5042
- value: {
5043
- type: "asset";
5044
- value: string;
5045
- } | {
5046
- type: "url";
5047
- url: string;
5048
- };
5049
- hidden?: boolean | undefined;
5050
- } | {
5051
- type: "tuple";
5052
- value: ({
5053
- type: "unit";
5054
- value: number;
5055
- 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";
5056
- hidden?: boolean | undefined;
5057
- } | {
5058
- type: "keyword";
5059
- value: string;
5060
- hidden?: boolean | undefined;
5061
- } | {
5062
- type: "unparsed";
5063
- value: string;
5064
- hidden?: boolean | undefined;
5065
- } | {
5066
- type: "rgb";
5067
- r: number;
5068
- g: number;
5069
- b: number;
5070
- alpha: number;
5071
- hidden?: boolean | undefined;
5072
- } | {
5073
- type: "function";
5074
- name: string;
5075
- args: StyleValue;
5076
- hidden?: boolean;
5077
- } | {
5078
- type: "image";
5079
- value: {
5080
- type: "asset";
5081
- value: string;
5082
- } | {
5083
- type: "url";
5084
- url: string;
5085
- };
5086
- hidden?: boolean | undefined;
5087
- })[];
5088
- hidden?: boolean | undefined;
5089
- } | {
5090
- type: "invalid";
5091
- value: string;
5092
- hidden?: boolean | undefined;
5093
- })[];
5094
- hidden?: boolean | undefined;
5095
- } | {
5096
- type: "guaranteedInvalid";
5097
- hidden?: boolean | undefined;
5098
- })[];
2989
+ } | undefined;
5099
2990
  hidden?: boolean | undefined;
5100
2991
  }, {
5101
2992
  type: "var";
5102
2993
  value: string;
5103
- fallbacks: ({
5104
- type: "unit";
5105
- value: number;
5106
- 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";
5107
- hidden?: boolean | undefined;
5108
- } | {
2994
+ fallback?: {
5109
2995
  type: "keyword";
5110
2996
  value: string;
5111
2997
  hidden?: boolean | undefined;
@@ -5113,157 +2999,7 @@ export declare const StyleValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5113
2999
  type: "unparsed";
5114
3000
  value: string;
5115
3001
  hidden?: boolean | undefined;
5116
- } | {
5117
- type: "fontFamily";
5118
- value: string[];
5119
- hidden?: boolean | undefined;
5120
- } | {
5121
- type: "rgb";
5122
- r: number;
5123
- g: number;
5124
- b: number;
5125
- alpha: number;
5126
- hidden?: boolean | undefined;
5127
- } | {
5128
- type: "function";
5129
- name: string;
5130
- args: StyleValue;
5131
- hidden?: boolean;
5132
- } | {
5133
- type: "image";
5134
- value: {
5135
- type: "asset";
5136
- value: string;
5137
- } | {
5138
- type: "url";
5139
- url: string;
5140
- };
5141
- hidden?: boolean | undefined;
5142
- } | {
5143
- type: "tuple";
5144
- value: ({
5145
- type: "unit";
5146
- value: number;
5147
- 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";
5148
- hidden?: boolean | undefined;
5149
- } | {
5150
- type: "keyword";
5151
- value: string;
5152
- hidden?: boolean | undefined;
5153
- } | {
5154
- type: "unparsed";
5155
- value: string;
5156
- hidden?: boolean | undefined;
5157
- } | {
5158
- type: "rgb";
5159
- r: number;
5160
- g: number;
5161
- b: number;
5162
- alpha: number;
5163
- hidden?: boolean | undefined;
5164
- } | {
5165
- type: "function";
5166
- name: string;
5167
- args: StyleValue;
5168
- hidden?: boolean;
5169
- } | {
5170
- type: "image";
5171
- value: {
5172
- type: "asset";
5173
- value: string;
5174
- } | {
5175
- type: "url";
5176
- url: string;
5177
- };
5178
- hidden?: boolean | undefined;
5179
- })[];
5180
- hidden?: boolean | undefined;
5181
- } | {
5182
- type: "layers";
5183
- value: ({
5184
- type: "unit";
5185
- value: number;
5186
- 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";
5187
- hidden?: boolean | undefined;
5188
- } | {
5189
- type: "keyword";
5190
- value: string;
5191
- hidden?: boolean | undefined;
5192
- } | {
5193
- type: "unparsed";
5194
- value: string;
5195
- hidden?: boolean | undefined;
5196
- } | {
5197
- type: "rgb";
5198
- r: number;
5199
- g: number;
5200
- b: number;
5201
- alpha: number;
5202
- hidden?: boolean | undefined;
5203
- } | {
5204
- type: "function";
5205
- name: string;
5206
- args: StyleValue;
5207
- hidden?: boolean;
5208
- } | {
5209
- type: "image";
5210
- value: {
5211
- type: "asset";
5212
- value: string;
5213
- } | {
5214
- type: "url";
5215
- url: string;
5216
- };
5217
- hidden?: boolean | undefined;
5218
- } | {
5219
- type: "tuple";
5220
- value: ({
5221
- type: "unit";
5222
- value: number;
5223
- 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";
5224
- hidden?: boolean | undefined;
5225
- } | {
5226
- type: "keyword";
5227
- value: string;
5228
- hidden?: boolean | undefined;
5229
- } | {
5230
- type: "unparsed";
5231
- value: string;
5232
- hidden?: boolean | undefined;
5233
- } | {
5234
- type: "rgb";
5235
- r: number;
5236
- g: number;
5237
- b: number;
5238
- alpha: number;
5239
- hidden?: boolean | undefined;
5240
- } | {
5241
- type: "function";
5242
- name: string;
5243
- args: StyleValue;
5244
- hidden?: boolean;
5245
- } | {
5246
- type: "image";
5247
- value: {
5248
- type: "asset";
5249
- value: string;
5250
- } | {
5251
- type: "url";
5252
- url: string;
5253
- };
5254
- hidden?: boolean | undefined;
5255
- })[];
5256
- hidden?: boolean | undefined;
5257
- } | {
5258
- type: "invalid";
5259
- value: string;
5260
- hidden?: boolean | undefined;
5261
- })[];
5262
- hidden?: boolean | undefined;
5263
- } | {
5264
- type: "guaranteedInvalid";
5265
- hidden?: boolean | undefined;
5266
- })[];
3002
+ } | undefined;
5267
3003
  hidden?: boolean | undefined;
5268
3004
  }>]>;
5269
3005
  export type StyleValue = z.infer<typeof StyleValue>;