@webstudio-is/sdk 0.189.0 → 0.191.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.
- package/lib/index.js +23 -100
- package/lib/runtime.js +101 -0
- package/lib/types/index.d.ts +0 -3
- package/lib/types/jsx.d.ts +1 -1
- package/lib/types/resource-loader.d.ts +5 -0
- package/lib/types/runtime.d.ts +3 -0
- package/lib/types/schema/instances.d.ts +209 -0
- package/lib/types/schema/resources.d.ts +0 -5
- package/lib/types/schema/styles.d.ts +256 -256
- package/lib/types/schema/webstudio.d.ts +176 -176
- package/package.json +13 -9
|
@@ -364,6 +364,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
364
364
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
365
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
366
|
value: ({
|
|
367
|
+
value: {
|
|
368
|
+
value: string;
|
|
369
|
+
type: "asset";
|
|
370
|
+
} | {
|
|
371
|
+
type: "url";
|
|
372
|
+
url: string;
|
|
373
|
+
};
|
|
374
|
+
type: "image";
|
|
375
|
+
hidden?: boolean | undefined;
|
|
376
|
+
} | {
|
|
367
377
|
value: number;
|
|
368
378
|
type: "unit";
|
|
369
379
|
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";
|
|
@@ -388,16 +398,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
388
398
|
name: string;
|
|
389
399
|
args: StyleValue;
|
|
390
400
|
hidden?: boolean;
|
|
391
|
-
} | {
|
|
392
|
-
value: {
|
|
393
|
-
value: string;
|
|
394
|
-
type: "asset";
|
|
395
|
-
} | {
|
|
396
|
-
type: "url";
|
|
397
|
-
url: string;
|
|
398
|
-
};
|
|
399
|
-
type: "image";
|
|
400
|
-
hidden?: boolean | undefined;
|
|
401
401
|
} | {
|
|
402
402
|
value: string;
|
|
403
403
|
type: "var";
|
|
@@ -428,6 +428,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
428
428
|
hidden?: boolean | undefined;
|
|
429
429
|
}, {
|
|
430
430
|
value: ({
|
|
431
|
+
value: {
|
|
432
|
+
value: string;
|
|
433
|
+
type: "asset";
|
|
434
|
+
} | {
|
|
435
|
+
type: "url";
|
|
436
|
+
url: string;
|
|
437
|
+
};
|
|
438
|
+
type: "image";
|
|
439
|
+
hidden?: boolean | undefined;
|
|
440
|
+
} | {
|
|
431
441
|
value: number;
|
|
432
442
|
type: "unit";
|
|
433
443
|
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";
|
|
@@ -452,16 +462,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
452
462
|
name: string;
|
|
453
463
|
args: StyleValue;
|
|
454
464
|
hidden?: boolean;
|
|
455
|
-
} | {
|
|
456
|
-
value: {
|
|
457
|
-
value: string;
|
|
458
|
-
type: "asset";
|
|
459
|
-
} | {
|
|
460
|
-
type: "url";
|
|
461
|
-
url: string;
|
|
462
|
-
};
|
|
463
|
-
type: "image";
|
|
464
|
-
hidden?: boolean | undefined;
|
|
465
465
|
} | {
|
|
466
466
|
value: string;
|
|
467
467
|
type: "var";
|
|
@@ -652,6 +652,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
652
652
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
653
653
|
}, "strip", z.ZodTypeAny, {
|
|
654
654
|
value: ({
|
|
655
|
+
value: {
|
|
656
|
+
value: string;
|
|
657
|
+
type: "asset";
|
|
658
|
+
} | {
|
|
659
|
+
type: "url";
|
|
660
|
+
url: string;
|
|
661
|
+
};
|
|
662
|
+
type: "image";
|
|
663
|
+
hidden?: boolean | undefined;
|
|
664
|
+
} | {
|
|
655
665
|
value: number;
|
|
656
666
|
type: "unit";
|
|
657
667
|
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";
|
|
@@ -676,16 +686,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
676
686
|
name: string;
|
|
677
687
|
args: StyleValue;
|
|
678
688
|
hidden?: boolean;
|
|
679
|
-
} | {
|
|
680
|
-
value: {
|
|
681
|
-
value: string;
|
|
682
|
-
type: "asset";
|
|
683
|
-
} | {
|
|
684
|
-
type: "url";
|
|
685
|
-
url: string;
|
|
686
|
-
};
|
|
687
|
-
type: "image";
|
|
688
|
-
hidden?: boolean | undefined;
|
|
689
689
|
} | {
|
|
690
690
|
value: string;
|
|
691
691
|
type: "var";
|
|
@@ -713,6 +713,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
713
713
|
hidden?: boolean | undefined;
|
|
714
714
|
} | {
|
|
715
715
|
value: ({
|
|
716
|
+
value: {
|
|
717
|
+
value: string;
|
|
718
|
+
type: "asset";
|
|
719
|
+
} | {
|
|
720
|
+
type: "url";
|
|
721
|
+
url: string;
|
|
722
|
+
};
|
|
723
|
+
type: "image";
|
|
724
|
+
hidden?: boolean | undefined;
|
|
725
|
+
} | {
|
|
716
726
|
value: number;
|
|
717
727
|
type: "unit";
|
|
718
728
|
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";
|
|
@@ -737,16 +747,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
737
747
|
name: string;
|
|
738
748
|
args: StyleValue;
|
|
739
749
|
hidden?: boolean;
|
|
740
|
-
} | {
|
|
741
|
-
value: {
|
|
742
|
-
value: string;
|
|
743
|
-
type: "asset";
|
|
744
|
-
} | {
|
|
745
|
-
type: "url";
|
|
746
|
-
url: string;
|
|
747
|
-
};
|
|
748
|
-
type: "image";
|
|
749
|
-
hidden?: boolean | undefined;
|
|
750
750
|
} | {
|
|
751
751
|
value: string;
|
|
752
752
|
type: "var";
|
|
@@ -784,6 +784,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
784
784
|
hidden?: boolean | undefined;
|
|
785
785
|
}, {
|
|
786
786
|
value: ({
|
|
787
|
+
value: {
|
|
788
|
+
value: string;
|
|
789
|
+
type: "asset";
|
|
790
|
+
} | {
|
|
791
|
+
type: "url";
|
|
792
|
+
url: string;
|
|
793
|
+
};
|
|
794
|
+
type: "image";
|
|
795
|
+
hidden?: boolean | undefined;
|
|
796
|
+
} | {
|
|
787
797
|
value: number;
|
|
788
798
|
type: "unit";
|
|
789
799
|
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";
|
|
@@ -808,16 +818,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
808
818
|
name: string;
|
|
809
819
|
args: StyleValue;
|
|
810
820
|
hidden?: boolean;
|
|
811
|
-
} | {
|
|
812
|
-
value: {
|
|
813
|
-
value: string;
|
|
814
|
-
type: "asset";
|
|
815
|
-
} | {
|
|
816
|
-
type: "url";
|
|
817
|
-
url: string;
|
|
818
|
-
};
|
|
819
|
-
type: "image";
|
|
820
|
-
hidden?: boolean | undefined;
|
|
821
821
|
} | {
|
|
822
822
|
value: string;
|
|
823
823
|
type: "var";
|
|
@@ -845,6 +845,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
845
845
|
hidden?: boolean | undefined;
|
|
846
846
|
} | {
|
|
847
847
|
value: ({
|
|
848
|
+
value: {
|
|
849
|
+
value: string;
|
|
850
|
+
type: "asset";
|
|
851
|
+
} | {
|
|
852
|
+
type: "url";
|
|
853
|
+
url: string;
|
|
854
|
+
};
|
|
855
|
+
type: "image";
|
|
856
|
+
hidden?: boolean | undefined;
|
|
857
|
+
} | {
|
|
848
858
|
value: number;
|
|
849
859
|
type: "unit";
|
|
850
860
|
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";
|
|
@@ -869,16 +879,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
869
879
|
name: string;
|
|
870
880
|
args: StyleValue;
|
|
871
881
|
hidden?: boolean;
|
|
872
|
-
} | {
|
|
873
|
-
value: {
|
|
874
|
-
value: string;
|
|
875
|
-
type: "asset";
|
|
876
|
-
} | {
|
|
877
|
-
type: "url";
|
|
878
|
-
url: string;
|
|
879
|
-
};
|
|
880
|
-
type: "image";
|
|
881
|
-
hidden?: boolean | undefined;
|
|
882
882
|
} | {
|
|
883
883
|
value: string;
|
|
884
884
|
type: "var";
|
|
@@ -1219,6 +1219,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1219
1219
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1220
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1221
|
value: ({
|
|
1222
|
+
value: {
|
|
1223
|
+
value: string;
|
|
1224
|
+
type: "asset";
|
|
1225
|
+
} | {
|
|
1226
|
+
type: "url";
|
|
1227
|
+
url: string;
|
|
1228
|
+
};
|
|
1229
|
+
type: "image";
|
|
1230
|
+
hidden?: boolean | undefined;
|
|
1231
|
+
} | {
|
|
1222
1232
|
value: number;
|
|
1223
1233
|
type: "unit";
|
|
1224
1234
|
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";
|
|
@@ -1243,16 +1253,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1243
1253
|
name: string;
|
|
1244
1254
|
args: StyleValue;
|
|
1245
1255
|
hidden?: boolean;
|
|
1246
|
-
} | {
|
|
1247
|
-
value: {
|
|
1248
|
-
value: string;
|
|
1249
|
-
type: "asset";
|
|
1250
|
-
} | {
|
|
1251
|
-
type: "url";
|
|
1252
|
-
url: string;
|
|
1253
|
-
};
|
|
1254
|
-
type: "image";
|
|
1255
|
-
hidden?: boolean | undefined;
|
|
1256
1256
|
} | {
|
|
1257
1257
|
value: string;
|
|
1258
1258
|
type: "var";
|
|
@@ -1283,6 +1283,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1283
1283
|
hidden?: boolean | undefined;
|
|
1284
1284
|
}, {
|
|
1285
1285
|
value: ({
|
|
1286
|
+
value: {
|
|
1287
|
+
value: string;
|
|
1288
|
+
type: "asset";
|
|
1289
|
+
} | {
|
|
1290
|
+
type: "url";
|
|
1291
|
+
url: string;
|
|
1292
|
+
};
|
|
1293
|
+
type: "image";
|
|
1294
|
+
hidden?: boolean | undefined;
|
|
1295
|
+
} | {
|
|
1286
1296
|
value: number;
|
|
1287
1297
|
type: "unit";
|
|
1288
1298
|
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";
|
|
@@ -1307,16 +1317,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1307
1317
|
name: string;
|
|
1308
1318
|
args: StyleValue;
|
|
1309
1319
|
hidden?: boolean;
|
|
1310
|
-
} | {
|
|
1311
|
-
value: {
|
|
1312
|
-
value: string;
|
|
1313
|
-
type: "asset";
|
|
1314
|
-
} | {
|
|
1315
|
-
type: "url";
|
|
1316
|
-
url: string;
|
|
1317
|
-
};
|
|
1318
|
-
type: "image";
|
|
1319
|
-
hidden?: boolean | undefined;
|
|
1320
1320
|
} | {
|
|
1321
1321
|
value: string;
|
|
1322
1322
|
type: "var";
|
|
@@ -1507,6 +1507,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1507
1507
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
1508
1508
|
}, "strip", z.ZodTypeAny, {
|
|
1509
1509
|
value: {
|
|
1510
|
+
value: {
|
|
1511
|
+
value: string;
|
|
1512
|
+
type: "asset";
|
|
1513
|
+
} | {
|
|
1514
|
+
type: "url";
|
|
1515
|
+
url: string;
|
|
1516
|
+
};
|
|
1517
|
+
type: "image";
|
|
1518
|
+
hidden?: boolean | undefined;
|
|
1519
|
+
} | {
|
|
1510
1520
|
value: number;
|
|
1511
1521
|
type: "unit";
|
|
1512
1522
|
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";
|
|
@@ -1519,10 +1529,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1519
1529
|
value: string;
|
|
1520
1530
|
type: "unparsed";
|
|
1521
1531
|
hidden?: boolean | undefined;
|
|
1522
|
-
} | {
|
|
1523
|
-
value: string[];
|
|
1524
|
-
type: "fontFamily";
|
|
1525
|
-
hidden?: boolean | undefined;
|
|
1526
1532
|
} | {
|
|
1527
1533
|
type: "rgb";
|
|
1528
1534
|
b: number;
|
|
@@ -1535,16 +1541,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1535
1541
|
name: string;
|
|
1536
1542
|
args: StyleValue;
|
|
1537
1543
|
hidden?: boolean;
|
|
1538
|
-
} | {
|
|
1539
|
-
value: {
|
|
1540
|
-
value: string;
|
|
1541
|
-
type: "asset";
|
|
1542
|
-
} | {
|
|
1543
|
-
type: "url";
|
|
1544
|
-
url: string;
|
|
1545
|
-
};
|
|
1546
|
-
type: "image";
|
|
1547
|
-
hidden?: boolean | undefined;
|
|
1548
1544
|
} | {
|
|
1549
1545
|
value: string;
|
|
1550
1546
|
type: "var";
|
|
@@ -1572,6 +1568,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1572
1568
|
hidden?: boolean | undefined;
|
|
1573
1569
|
} | {
|
|
1574
1570
|
value: ({
|
|
1571
|
+
value: {
|
|
1572
|
+
value: string;
|
|
1573
|
+
type: "asset";
|
|
1574
|
+
} | {
|
|
1575
|
+
type: "url";
|
|
1576
|
+
url: string;
|
|
1577
|
+
};
|
|
1578
|
+
type: "image";
|
|
1579
|
+
hidden?: boolean | undefined;
|
|
1580
|
+
} | {
|
|
1575
1581
|
value: number;
|
|
1576
1582
|
type: "unit";
|
|
1577
1583
|
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";
|
|
@@ -1596,16 +1602,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1596
1602
|
name: string;
|
|
1597
1603
|
args: StyleValue;
|
|
1598
1604
|
hidden?: boolean;
|
|
1599
|
-
} | {
|
|
1600
|
-
value: {
|
|
1601
|
-
value: string;
|
|
1602
|
-
type: "asset";
|
|
1603
|
-
} | {
|
|
1604
|
-
type: "url";
|
|
1605
|
-
url: string;
|
|
1606
|
-
};
|
|
1607
|
-
type: "image";
|
|
1608
|
-
hidden?: boolean | undefined;
|
|
1609
1605
|
} | {
|
|
1610
1606
|
value: string;
|
|
1611
1607
|
type: "var";
|
|
@@ -1640,6 +1636,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1640
1636
|
hidden?: boolean | undefined;
|
|
1641
1637
|
} | {
|
|
1642
1638
|
value: ({
|
|
1639
|
+
value: {
|
|
1640
|
+
value: string;
|
|
1641
|
+
type: "asset";
|
|
1642
|
+
} | {
|
|
1643
|
+
type: "url";
|
|
1644
|
+
url: string;
|
|
1645
|
+
};
|
|
1646
|
+
type: "image";
|
|
1647
|
+
hidden?: boolean | undefined;
|
|
1648
|
+
} | {
|
|
1643
1649
|
value: number;
|
|
1644
1650
|
type: "unit";
|
|
1645
1651
|
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";
|
|
@@ -1664,16 +1670,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1664
1670
|
name: string;
|
|
1665
1671
|
args: StyleValue;
|
|
1666
1672
|
hidden?: boolean;
|
|
1667
|
-
} | {
|
|
1668
|
-
value: {
|
|
1669
|
-
value: string;
|
|
1670
|
-
type: "asset";
|
|
1671
|
-
} | {
|
|
1672
|
-
type: "url";
|
|
1673
|
-
url: string;
|
|
1674
|
-
};
|
|
1675
|
-
type: "image";
|
|
1676
|
-
hidden?: boolean | undefined;
|
|
1677
1673
|
} | {
|
|
1678
1674
|
value: string;
|
|
1679
1675
|
type: "var";
|
|
@@ -1701,6 +1697,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1701
1697
|
hidden?: boolean | undefined;
|
|
1702
1698
|
} | {
|
|
1703
1699
|
value: ({
|
|
1700
|
+
value: {
|
|
1701
|
+
value: string;
|
|
1702
|
+
type: "asset";
|
|
1703
|
+
} | {
|
|
1704
|
+
type: "url";
|
|
1705
|
+
url: string;
|
|
1706
|
+
};
|
|
1707
|
+
type: "image";
|
|
1708
|
+
hidden?: boolean | undefined;
|
|
1709
|
+
} | {
|
|
1704
1710
|
value: number;
|
|
1705
1711
|
type: "unit";
|
|
1706
1712
|
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";
|
|
@@ -1725,16 +1731,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1725
1731
|
name: string;
|
|
1726
1732
|
args: StyleValue;
|
|
1727
1733
|
hidden?: boolean;
|
|
1728
|
-
} | {
|
|
1729
|
-
value: {
|
|
1730
|
-
value: string;
|
|
1731
|
-
type: "asset";
|
|
1732
|
-
} | {
|
|
1733
|
-
type: "url";
|
|
1734
|
-
url: string;
|
|
1735
|
-
};
|
|
1736
|
-
type: "image";
|
|
1737
|
-
hidden?: boolean | undefined;
|
|
1738
1734
|
} | {
|
|
1739
1735
|
value: string;
|
|
1740
1736
|
type: "var";
|
|
@@ -1770,6 +1766,10 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1770
1766
|
})[];
|
|
1771
1767
|
type: "layers";
|
|
1772
1768
|
hidden?: boolean | undefined;
|
|
1769
|
+
} | {
|
|
1770
|
+
value: string[];
|
|
1771
|
+
type: "fontFamily";
|
|
1772
|
+
hidden?: boolean | undefined;
|
|
1773
1773
|
} | {
|
|
1774
1774
|
type: "guaranteedInvalid";
|
|
1775
1775
|
hidden?: boolean | undefined;
|
|
@@ -1785,6 +1785,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1785
1785
|
listed?: boolean | undefined;
|
|
1786
1786
|
}, {
|
|
1787
1787
|
value: {
|
|
1788
|
+
value: {
|
|
1789
|
+
value: string;
|
|
1790
|
+
type: "asset";
|
|
1791
|
+
} | {
|
|
1792
|
+
type: "url";
|
|
1793
|
+
url: string;
|
|
1794
|
+
};
|
|
1795
|
+
type: "image";
|
|
1796
|
+
hidden?: boolean | undefined;
|
|
1797
|
+
} | {
|
|
1788
1798
|
value: number;
|
|
1789
1799
|
type: "unit";
|
|
1790
1800
|
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";
|
|
@@ -1797,10 +1807,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1797
1807
|
value: string;
|
|
1798
1808
|
type: "unparsed";
|
|
1799
1809
|
hidden?: boolean | undefined;
|
|
1800
|
-
} | {
|
|
1801
|
-
value: string[];
|
|
1802
|
-
type: "fontFamily";
|
|
1803
|
-
hidden?: boolean | undefined;
|
|
1804
1810
|
} | {
|
|
1805
1811
|
type: "rgb";
|
|
1806
1812
|
b: number;
|
|
@@ -1813,16 +1819,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1813
1819
|
name: string;
|
|
1814
1820
|
args: StyleValue;
|
|
1815
1821
|
hidden?: boolean;
|
|
1816
|
-
} | {
|
|
1817
|
-
value: {
|
|
1818
|
-
value: string;
|
|
1819
|
-
type: "asset";
|
|
1820
|
-
} | {
|
|
1821
|
-
type: "url";
|
|
1822
|
-
url: string;
|
|
1823
|
-
};
|
|
1824
|
-
type: "image";
|
|
1825
|
-
hidden?: boolean | undefined;
|
|
1826
1822
|
} | {
|
|
1827
1823
|
value: string;
|
|
1828
1824
|
type: "var";
|
|
@@ -1850,6 +1846,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1850
1846
|
hidden?: boolean | undefined;
|
|
1851
1847
|
} | {
|
|
1852
1848
|
value: ({
|
|
1849
|
+
value: {
|
|
1850
|
+
value: string;
|
|
1851
|
+
type: "asset";
|
|
1852
|
+
} | {
|
|
1853
|
+
type: "url";
|
|
1854
|
+
url: string;
|
|
1855
|
+
};
|
|
1856
|
+
type: "image";
|
|
1857
|
+
hidden?: boolean | undefined;
|
|
1858
|
+
} | {
|
|
1853
1859
|
value: number;
|
|
1854
1860
|
type: "unit";
|
|
1855
1861
|
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";
|
|
@@ -1874,16 +1880,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1874
1880
|
name: string;
|
|
1875
1881
|
args: StyleValue;
|
|
1876
1882
|
hidden?: boolean;
|
|
1877
|
-
} | {
|
|
1878
|
-
value: {
|
|
1879
|
-
value: string;
|
|
1880
|
-
type: "asset";
|
|
1881
|
-
} | {
|
|
1882
|
-
type: "url";
|
|
1883
|
-
url: string;
|
|
1884
|
-
};
|
|
1885
|
-
type: "image";
|
|
1886
|
-
hidden?: boolean | undefined;
|
|
1887
1883
|
} | {
|
|
1888
1884
|
value: string;
|
|
1889
1885
|
type: "var";
|
|
@@ -1918,6 +1914,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1918
1914
|
hidden?: boolean | undefined;
|
|
1919
1915
|
} | {
|
|
1920
1916
|
value: ({
|
|
1917
|
+
value: {
|
|
1918
|
+
value: string;
|
|
1919
|
+
type: "asset";
|
|
1920
|
+
} | {
|
|
1921
|
+
type: "url";
|
|
1922
|
+
url: string;
|
|
1923
|
+
};
|
|
1924
|
+
type: "image";
|
|
1925
|
+
hidden?: boolean | undefined;
|
|
1926
|
+
} | {
|
|
1921
1927
|
value: number;
|
|
1922
1928
|
type: "unit";
|
|
1923
1929
|
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";
|
|
@@ -1942,16 +1948,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1942
1948
|
name: string;
|
|
1943
1949
|
args: StyleValue;
|
|
1944
1950
|
hidden?: boolean;
|
|
1945
|
-
} | {
|
|
1946
|
-
value: {
|
|
1947
|
-
value: string;
|
|
1948
|
-
type: "asset";
|
|
1949
|
-
} | {
|
|
1950
|
-
type: "url";
|
|
1951
|
-
url: string;
|
|
1952
|
-
};
|
|
1953
|
-
type: "image";
|
|
1954
|
-
hidden?: boolean | undefined;
|
|
1955
1951
|
} | {
|
|
1956
1952
|
value: string;
|
|
1957
1953
|
type: "var";
|
|
@@ -1979,6 +1975,16 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1979
1975
|
hidden?: boolean | undefined;
|
|
1980
1976
|
} | {
|
|
1981
1977
|
value: ({
|
|
1978
|
+
value: {
|
|
1979
|
+
value: string;
|
|
1980
|
+
type: "asset";
|
|
1981
|
+
} | {
|
|
1982
|
+
type: "url";
|
|
1983
|
+
url: string;
|
|
1984
|
+
};
|
|
1985
|
+
type: "image";
|
|
1986
|
+
hidden?: boolean | undefined;
|
|
1987
|
+
} | {
|
|
1982
1988
|
value: number;
|
|
1983
1989
|
type: "unit";
|
|
1984
1990
|
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";
|
|
@@ -2003,16 +2009,6 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
2003
2009
|
name: string;
|
|
2004
2010
|
args: StyleValue;
|
|
2005
2011
|
hidden?: boolean;
|
|
2006
|
-
} | {
|
|
2007
|
-
value: {
|
|
2008
|
-
value: string;
|
|
2009
|
-
type: "asset";
|
|
2010
|
-
} | {
|
|
2011
|
-
type: "url";
|
|
2012
|
-
url: string;
|
|
2013
|
-
};
|
|
2014
|
-
type: "image";
|
|
2015
|
-
hidden?: boolean | undefined;
|
|
2016
2012
|
} | {
|
|
2017
2013
|
value: string;
|
|
2018
2014
|
type: "var";
|
|
@@ -2048,6 +2044,10 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
2048
2044
|
})[];
|
|
2049
2045
|
type: "layers";
|
|
2050
2046
|
hidden?: boolean | undefined;
|
|
2047
|
+
} | {
|
|
2048
|
+
value: string[];
|
|
2049
|
+
type: "fontFamily";
|
|
2050
|
+
hidden?: boolean | undefined;
|
|
2051
2051
|
} | {
|
|
2052
2052
|
type: "guaranteedInvalid";
|
|
2053
2053
|
hidden?: boolean | undefined;
|
|
@@ -2070,6 +2070,16 @@ export type StyleDeclKey = string;
|
|
|
2070
2070
|
export declare const getStyleDeclKey: (styleDecl: Omit<StyleDecl, "value">) => StyleDeclKey;
|
|
2071
2071
|
export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
2072
2072
|
value: {
|
|
2073
|
+
value: {
|
|
2074
|
+
value: string;
|
|
2075
|
+
type: "asset";
|
|
2076
|
+
} | {
|
|
2077
|
+
type: "url";
|
|
2078
|
+
url: string;
|
|
2079
|
+
};
|
|
2080
|
+
type: "image";
|
|
2081
|
+
hidden?: boolean | undefined;
|
|
2082
|
+
} | {
|
|
2073
2083
|
value: number;
|
|
2074
2084
|
type: "unit";
|
|
2075
2085
|
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";
|
|
@@ -2082,10 +2092,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2082
2092
|
value: string;
|
|
2083
2093
|
type: "unparsed";
|
|
2084
2094
|
hidden?: boolean | undefined;
|
|
2085
|
-
} | {
|
|
2086
|
-
value: string[];
|
|
2087
|
-
type: "fontFamily";
|
|
2088
|
-
hidden?: boolean | undefined;
|
|
2089
2095
|
} | {
|
|
2090
2096
|
type: "rgb";
|
|
2091
2097
|
b: number;
|
|
@@ -2098,16 +2104,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2098
2104
|
name: string;
|
|
2099
2105
|
args: StyleValue;
|
|
2100
2106
|
hidden?: boolean;
|
|
2101
|
-
} | {
|
|
2102
|
-
value: {
|
|
2103
|
-
value: string;
|
|
2104
|
-
type: "asset";
|
|
2105
|
-
} | {
|
|
2106
|
-
type: "url";
|
|
2107
|
-
url: string;
|
|
2108
|
-
};
|
|
2109
|
-
type: "image";
|
|
2110
|
-
hidden?: boolean | undefined;
|
|
2111
2107
|
} | {
|
|
2112
2108
|
value: string;
|
|
2113
2109
|
type: "var";
|
|
@@ -2135,6 +2131,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2135
2131
|
hidden?: boolean | undefined;
|
|
2136
2132
|
} | {
|
|
2137
2133
|
value: ({
|
|
2134
|
+
value: {
|
|
2135
|
+
value: string;
|
|
2136
|
+
type: "asset";
|
|
2137
|
+
} | {
|
|
2138
|
+
type: "url";
|
|
2139
|
+
url: string;
|
|
2140
|
+
};
|
|
2141
|
+
type: "image";
|
|
2142
|
+
hidden?: boolean | undefined;
|
|
2143
|
+
} | {
|
|
2138
2144
|
value: number;
|
|
2139
2145
|
type: "unit";
|
|
2140
2146
|
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";
|
|
@@ -2159,16 +2165,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2159
2165
|
name: string;
|
|
2160
2166
|
args: StyleValue;
|
|
2161
2167
|
hidden?: boolean;
|
|
2162
|
-
} | {
|
|
2163
|
-
value: {
|
|
2164
|
-
value: string;
|
|
2165
|
-
type: "asset";
|
|
2166
|
-
} | {
|
|
2167
|
-
type: "url";
|
|
2168
|
-
url: string;
|
|
2169
|
-
};
|
|
2170
|
-
type: "image";
|
|
2171
|
-
hidden?: boolean | undefined;
|
|
2172
2168
|
} | {
|
|
2173
2169
|
value: string;
|
|
2174
2170
|
type: "var";
|
|
@@ -2203,6 +2199,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2203
2199
|
hidden?: boolean | undefined;
|
|
2204
2200
|
} | {
|
|
2205
2201
|
value: ({
|
|
2202
|
+
value: {
|
|
2203
|
+
value: string;
|
|
2204
|
+
type: "asset";
|
|
2205
|
+
} | {
|
|
2206
|
+
type: "url";
|
|
2207
|
+
url: string;
|
|
2208
|
+
};
|
|
2209
|
+
type: "image";
|
|
2210
|
+
hidden?: boolean | undefined;
|
|
2211
|
+
} | {
|
|
2206
2212
|
value: number;
|
|
2207
2213
|
type: "unit";
|
|
2208
2214
|
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";
|
|
@@ -2227,16 +2233,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2227
2233
|
name: string;
|
|
2228
2234
|
args: StyleValue;
|
|
2229
2235
|
hidden?: boolean;
|
|
2230
|
-
} | {
|
|
2231
|
-
value: {
|
|
2232
|
-
value: string;
|
|
2233
|
-
type: "asset";
|
|
2234
|
-
} | {
|
|
2235
|
-
type: "url";
|
|
2236
|
-
url: string;
|
|
2237
|
-
};
|
|
2238
|
-
type: "image";
|
|
2239
|
-
hidden?: boolean | undefined;
|
|
2240
2236
|
} | {
|
|
2241
2237
|
value: string;
|
|
2242
2238
|
type: "var";
|
|
@@ -2264,6 +2260,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2264
2260
|
hidden?: boolean | undefined;
|
|
2265
2261
|
} | {
|
|
2266
2262
|
value: ({
|
|
2263
|
+
value: {
|
|
2264
|
+
value: string;
|
|
2265
|
+
type: "asset";
|
|
2266
|
+
} | {
|
|
2267
|
+
type: "url";
|
|
2268
|
+
url: string;
|
|
2269
|
+
};
|
|
2270
|
+
type: "image";
|
|
2271
|
+
hidden?: boolean | undefined;
|
|
2272
|
+
} | {
|
|
2267
2273
|
value: number;
|
|
2268
2274
|
type: "unit";
|
|
2269
2275
|
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";
|
|
@@ -2288,16 +2294,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2288
2294
|
name: string;
|
|
2289
2295
|
args: StyleValue;
|
|
2290
2296
|
hidden?: boolean;
|
|
2291
|
-
} | {
|
|
2292
|
-
value: {
|
|
2293
|
-
value: string;
|
|
2294
|
-
type: "asset";
|
|
2295
|
-
} | {
|
|
2296
|
-
type: "url";
|
|
2297
|
-
url: string;
|
|
2298
|
-
};
|
|
2299
|
-
type: "image";
|
|
2300
|
-
hidden?: boolean | undefined;
|
|
2301
2297
|
} | {
|
|
2302
2298
|
value: string;
|
|
2303
2299
|
type: "var";
|
|
@@ -2333,6 +2329,10 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2333
2329
|
})[];
|
|
2334
2330
|
type: "layers";
|
|
2335
2331
|
hidden?: boolean | undefined;
|
|
2332
|
+
} | {
|
|
2333
|
+
value: string[];
|
|
2334
|
+
type: "fontFamily";
|
|
2335
|
+
hidden?: boolean | undefined;
|
|
2336
2336
|
} | {
|
|
2337
2337
|
type: "guaranteedInvalid";
|
|
2338
2338
|
hidden?: boolean | undefined;
|
|
@@ -2348,6 +2348,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2348
2348
|
property: StyleProperty;
|
|
2349
2349
|
}, z.ZodTypeDef, {
|
|
2350
2350
|
value: {
|
|
2351
|
+
value: {
|
|
2352
|
+
value: string;
|
|
2353
|
+
type: "asset";
|
|
2354
|
+
} | {
|
|
2355
|
+
type: "url";
|
|
2356
|
+
url: string;
|
|
2357
|
+
};
|
|
2358
|
+
type: "image";
|
|
2359
|
+
hidden?: boolean | undefined;
|
|
2360
|
+
} | {
|
|
2351
2361
|
value: number;
|
|
2352
2362
|
type: "unit";
|
|
2353
2363
|
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";
|
|
@@ -2360,10 +2370,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2360
2370
|
value: string;
|
|
2361
2371
|
type: "unparsed";
|
|
2362
2372
|
hidden?: boolean | undefined;
|
|
2363
|
-
} | {
|
|
2364
|
-
value: string[];
|
|
2365
|
-
type: "fontFamily";
|
|
2366
|
-
hidden?: boolean | undefined;
|
|
2367
2373
|
} | {
|
|
2368
2374
|
type: "rgb";
|
|
2369
2375
|
b: number;
|
|
@@ -2376,16 +2382,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2376
2382
|
name: string;
|
|
2377
2383
|
args: StyleValue;
|
|
2378
2384
|
hidden?: boolean;
|
|
2379
|
-
} | {
|
|
2380
|
-
value: {
|
|
2381
|
-
value: string;
|
|
2382
|
-
type: "asset";
|
|
2383
|
-
} | {
|
|
2384
|
-
type: "url";
|
|
2385
|
-
url: string;
|
|
2386
|
-
};
|
|
2387
|
-
type: "image";
|
|
2388
|
-
hidden?: boolean | undefined;
|
|
2389
2385
|
} | {
|
|
2390
2386
|
value: string;
|
|
2391
2387
|
type: "var";
|
|
@@ -2413,6 +2409,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2413
2409
|
hidden?: boolean | undefined;
|
|
2414
2410
|
} | {
|
|
2415
2411
|
value: ({
|
|
2412
|
+
value: {
|
|
2413
|
+
value: string;
|
|
2414
|
+
type: "asset";
|
|
2415
|
+
} | {
|
|
2416
|
+
type: "url";
|
|
2417
|
+
url: string;
|
|
2418
|
+
};
|
|
2419
|
+
type: "image";
|
|
2420
|
+
hidden?: boolean | undefined;
|
|
2421
|
+
} | {
|
|
2416
2422
|
value: number;
|
|
2417
2423
|
type: "unit";
|
|
2418
2424
|
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";
|
|
@@ -2437,16 +2443,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2437
2443
|
name: string;
|
|
2438
2444
|
args: StyleValue;
|
|
2439
2445
|
hidden?: boolean;
|
|
2440
|
-
} | {
|
|
2441
|
-
value: {
|
|
2442
|
-
value: string;
|
|
2443
|
-
type: "asset";
|
|
2444
|
-
} | {
|
|
2445
|
-
type: "url";
|
|
2446
|
-
url: string;
|
|
2447
|
-
};
|
|
2448
|
-
type: "image";
|
|
2449
|
-
hidden?: boolean | undefined;
|
|
2450
2446
|
} | {
|
|
2451
2447
|
value: string;
|
|
2452
2448
|
type: "var";
|
|
@@ -2481,6 +2477,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2481
2477
|
hidden?: boolean | undefined;
|
|
2482
2478
|
} | {
|
|
2483
2479
|
value: ({
|
|
2480
|
+
value: {
|
|
2481
|
+
value: string;
|
|
2482
|
+
type: "asset";
|
|
2483
|
+
} | {
|
|
2484
|
+
type: "url";
|
|
2485
|
+
url: string;
|
|
2486
|
+
};
|
|
2487
|
+
type: "image";
|
|
2488
|
+
hidden?: boolean | undefined;
|
|
2489
|
+
} | {
|
|
2484
2490
|
value: number;
|
|
2485
2491
|
type: "unit";
|
|
2486
2492
|
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";
|
|
@@ -2505,16 +2511,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2505
2511
|
name: string;
|
|
2506
2512
|
args: StyleValue;
|
|
2507
2513
|
hidden?: boolean;
|
|
2508
|
-
} | {
|
|
2509
|
-
value: {
|
|
2510
|
-
value: string;
|
|
2511
|
-
type: "asset";
|
|
2512
|
-
} | {
|
|
2513
|
-
type: "url";
|
|
2514
|
-
url: string;
|
|
2515
|
-
};
|
|
2516
|
-
type: "image";
|
|
2517
|
-
hidden?: boolean | undefined;
|
|
2518
2514
|
} | {
|
|
2519
2515
|
value: string;
|
|
2520
2516
|
type: "var";
|
|
@@ -2542,6 +2538,16 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2542
2538
|
hidden?: boolean | undefined;
|
|
2543
2539
|
} | {
|
|
2544
2540
|
value: ({
|
|
2541
|
+
value: {
|
|
2542
|
+
value: string;
|
|
2543
|
+
type: "asset";
|
|
2544
|
+
} | {
|
|
2545
|
+
type: "url";
|
|
2546
|
+
url: string;
|
|
2547
|
+
};
|
|
2548
|
+
type: "image";
|
|
2549
|
+
hidden?: boolean | undefined;
|
|
2550
|
+
} | {
|
|
2545
2551
|
value: number;
|
|
2546
2552
|
type: "unit";
|
|
2547
2553
|
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";
|
|
@@ -2566,16 +2572,6 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2566
2572
|
name: string;
|
|
2567
2573
|
args: StyleValue;
|
|
2568
2574
|
hidden?: boolean;
|
|
2569
|
-
} | {
|
|
2570
|
-
value: {
|
|
2571
|
-
value: string;
|
|
2572
|
-
type: "asset";
|
|
2573
|
-
} | {
|
|
2574
|
-
type: "url";
|
|
2575
|
-
url: string;
|
|
2576
|
-
};
|
|
2577
|
-
type: "image";
|
|
2578
|
-
hidden?: boolean | undefined;
|
|
2579
2575
|
} | {
|
|
2580
2576
|
value: string;
|
|
2581
2577
|
type: "var";
|
|
@@ -2611,6 +2607,10 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2611
2607
|
})[];
|
|
2612
2608
|
type: "layers";
|
|
2613
2609
|
hidden?: boolean | undefined;
|
|
2610
|
+
} | {
|
|
2611
|
+
value: string[];
|
|
2612
|
+
type: "fontFamily";
|
|
2613
|
+
hidden?: boolean | undefined;
|
|
2614
2614
|
} | {
|
|
2615
2615
|
type: "guaranteedInvalid";
|
|
2616
2616
|
hidden?: boolean | undefined;
|