@webstudio-is/sdk 0.236.0 → 0.238.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 +4 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/schema/animation-schema.d.ts +469 -0
- package/lib/types/schema/props.d.ts +380 -0
- package/lib/types/schema/webstudio.d.ts +226 -0
- package/package.json +6 -6
|
@@ -57,6 +57,7 @@ export declare const durationUnitValueSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
57
57
|
value: string;
|
|
58
58
|
type: "var";
|
|
59
59
|
}>]>;
|
|
60
|
+
declare const iterationsUnitValueSchema: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>;
|
|
60
61
|
export declare const insetUnitValueSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
61
62
|
type: z.ZodLiteral<"unit">;
|
|
62
63
|
value: z.ZodNumber;
|
|
@@ -10937,6 +10938,29 @@ export declare const keyframeEffectOptionsSchema: z.ZodObject<{
|
|
|
10937
10938
|
value: string;
|
|
10938
10939
|
type: "var";
|
|
10939
10940
|
}>]>>;
|
|
10941
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
10942
|
+
type: z.ZodLiteral<"unit">;
|
|
10943
|
+
value: z.ZodNumber;
|
|
10944
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
10945
|
+
}, "strip", z.ZodTypeAny, {
|
|
10946
|
+
value: number;
|
|
10947
|
+
type: "unit";
|
|
10948
|
+
unit: "s" | "ms";
|
|
10949
|
+
}, {
|
|
10950
|
+
value: number;
|
|
10951
|
+
type: "unit";
|
|
10952
|
+
unit: "s" | "ms";
|
|
10953
|
+
}>, z.ZodObject<{
|
|
10954
|
+
type: z.ZodLiteral<"var">;
|
|
10955
|
+
value: z.ZodString;
|
|
10956
|
+
}, "strip", z.ZodTypeAny, {
|
|
10957
|
+
value: string;
|
|
10958
|
+
type: "var";
|
|
10959
|
+
}, {
|
|
10960
|
+
value: string;
|
|
10961
|
+
type: "var";
|
|
10962
|
+
}>]>>;
|
|
10963
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
10940
10964
|
}, "strip", z.ZodTypeAny, {
|
|
10941
10965
|
fill?: "none" | "forwards" | "backwards" | "both" | undefined;
|
|
10942
10966
|
easing?: string | undefined;
|
|
@@ -10948,6 +10972,15 @@ export declare const keyframeEffectOptionsSchema: z.ZodObject<{
|
|
|
10948
10972
|
value: string;
|
|
10949
10973
|
type: "var";
|
|
10950
10974
|
} | undefined;
|
|
10975
|
+
delay?: {
|
|
10976
|
+
value: number;
|
|
10977
|
+
type: "unit";
|
|
10978
|
+
unit: "s" | "ms";
|
|
10979
|
+
} | {
|
|
10980
|
+
value: string;
|
|
10981
|
+
type: "var";
|
|
10982
|
+
} | undefined;
|
|
10983
|
+
iterations?: number | "infinite" | undefined;
|
|
10951
10984
|
}, {
|
|
10952
10985
|
fill?: "none" | "forwards" | "backwards" | "both" | undefined;
|
|
10953
10986
|
easing?: string | undefined;
|
|
@@ -10959,6 +10992,15 @@ export declare const keyframeEffectOptionsSchema: z.ZodObject<{
|
|
|
10959
10992
|
value: string;
|
|
10960
10993
|
type: "var";
|
|
10961
10994
|
} | undefined;
|
|
10995
|
+
delay?: {
|
|
10996
|
+
value: number;
|
|
10997
|
+
type: "unit";
|
|
10998
|
+
unit: "s" | "ms";
|
|
10999
|
+
} | {
|
|
11000
|
+
value: string;
|
|
11001
|
+
type: "var";
|
|
11002
|
+
} | undefined;
|
|
11003
|
+
iterations?: number | "infinite" | undefined;
|
|
10962
11004
|
}>;
|
|
10963
11005
|
export declare const scrollNamedRangeSchema: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"end">]>;
|
|
10964
11006
|
export declare const scrollRangeValueSchema: z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<[z.ZodObject<{
|
|
@@ -17408,6 +17450,29 @@ export declare const scrollAnimationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
17408
17450
|
value: string;
|
|
17409
17451
|
type: "var";
|
|
17410
17452
|
}>]>>;
|
|
17453
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
17454
|
+
type: z.ZodLiteral<"unit">;
|
|
17455
|
+
value: z.ZodNumber;
|
|
17456
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
17457
|
+
}, "strip", z.ZodTypeAny, {
|
|
17458
|
+
value: number;
|
|
17459
|
+
type: "unit";
|
|
17460
|
+
unit: "s" | "ms";
|
|
17461
|
+
}, {
|
|
17462
|
+
value: number;
|
|
17463
|
+
type: "unit";
|
|
17464
|
+
unit: "s" | "ms";
|
|
17465
|
+
}>, z.ZodObject<{
|
|
17466
|
+
type: z.ZodLiteral<"var">;
|
|
17467
|
+
value: z.ZodString;
|
|
17468
|
+
}, "strip", z.ZodTypeAny, {
|
|
17469
|
+
value: string;
|
|
17470
|
+
type: "var";
|
|
17471
|
+
}, {
|
|
17472
|
+
value: string;
|
|
17473
|
+
type: "var";
|
|
17474
|
+
}>]>>;
|
|
17475
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
17411
17476
|
}, {
|
|
17412
17477
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<[z.ZodObject<{
|
|
17413
17478
|
type: z.ZodLiteral<"unit">;
|
|
@@ -17482,6 +17547,15 @@ export declare const scrollAnimationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
17482
17547
|
value: string;
|
|
17483
17548
|
type: "var";
|
|
17484
17549
|
} | undefined;
|
|
17550
|
+
delay?: {
|
|
17551
|
+
value: number;
|
|
17552
|
+
type: "unit";
|
|
17553
|
+
unit: "s" | "ms";
|
|
17554
|
+
} | {
|
|
17555
|
+
value: string;
|
|
17556
|
+
type: "var";
|
|
17557
|
+
} | undefined;
|
|
17558
|
+
iterations?: number | "infinite" | undefined;
|
|
17485
17559
|
rangeStart?: ["start" | "end", {
|
|
17486
17560
|
value: number;
|
|
17487
17561
|
type: "unit";
|
|
@@ -17515,6 +17589,15 @@ export declare const scrollAnimationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
17515
17589
|
value: string;
|
|
17516
17590
|
type: "var";
|
|
17517
17591
|
} | undefined;
|
|
17592
|
+
delay?: {
|
|
17593
|
+
value: number;
|
|
17594
|
+
type: "unit";
|
|
17595
|
+
unit: "s" | "ms";
|
|
17596
|
+
} | {
|
|
17597
|
+
value: string;
|
|
17598
|
+
type: "var";
|
|
17599
|
+
} | undefined;
|
|
17600
|
+
iterations?: number | "infinite" | undefined;
|
|
17518
17601
|
rangeStart?: ["start" | "end", {
|
|
17519
17602
|
value: number;
|
|
17520
17603
|
type: "unit";
|
|
@@ -18275,6 +18358,15 @@ export declare const scrollAnimationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
18275
18358
|
value: string;
|
|
18276
18359
|
type: "var";
|
|
18277
18360
|
} | undefined;
|
|
18361
|
+
delay?: {
|
|
18362
|
+
value: number;
|
|
18363
|
+
type: "unit";
|
|
18364
|
+
unit: "s" | "ms";
|
|
18365
|
+
} | {
|
|
18366
|
+
value: string;
|
|
18367
|
+
type: "var";
|
|
18368
|
+
} | undefined;
|
|
18369
|
+
iterations?: number | "infinite" | undefined;
|
|
18278
18370
|
rangeStart?: ["start" | "end", {
|
|
18279
18371
|
value: number;
|
|
18280
18372
|
type: "unit";
|
|
@@ -19038,6 +19130,15 @@ export declare const scrollAnimationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
19038
19130
|
value: string;
|
|
19039
19131
|
type: "var";
|
|
19040
19132
|
} | undefined;
|
|
19133
|
+
delay?: {
|
|
19134
|
+
value: number;
|
|
19135
|
+
type: "unit";
|
|
19136
|
+
unit: "s" | "ms";
|
|
19137
|
+
} | {
|
|
19138
|
+
value: string;
|
|
19139
|
+
type: "var";
|
|
19140
|
+
} | undefined;
|
|
19141
|
+
iterations?: number | "infinite" | undefined;
|
|
19041
19142
|
rangeStart?: ["start" | "end", {
|
|
19042
19143
|
value: number;
|
|
19043
19144
|
type: "unit";
|
|
@@ -25232,6 +25333,29 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
25232
25333
|
value: string;
|
|
25233
25334
|
type: "var";
|
|
25234
25335
|
}>]>>;
|
|
25336
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
25337
|
+
type: z.ZodLiteral<"unit">;
|
|
25338
|
+
value: z.ZodNumber;
|
|
25339
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
25340
|
+
}, "strip", z.ZodTypeAny, {
|
|
25341
|
+
value: number;
|
|
25342
|
+
type: "unit";
|
|
25343
|
+
unit: "s" | "ms";
|
|
25344
|
+
}, {
|
|
25345
|
+
value: number;
|
|
25346
|
+
type: "unit";
|
|
25347
|
+
unit: "s" | "ms";
|
|
25348
|
+
}>, z.ZodObject<{
|
|
25349
|
+
type: z.ZodLiteral<"var">;
|
|
25350
|
+
value: z.ZodString;
|
|
25351
|
+
}, "strip", z.ZodTypeAny, {
|
|
25352
|
+
value: string;
|
|
25353
|
+
type: "var";
|
|
25354
|
+
}, {
|
|
25355
|
+
value: string;
|
|
25356
|
+
type: "var";
|
|
25357
|
+
}>]>>;
|
|
25358
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
25235
25359
|
}, {
|
|
25236
25360
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<[z.ZodObject<{
|
|
25237
25361
|
type: z.ZodLiteral<"unit">;
|
|
@@ -25306,6 +25430,15 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
25306
25430
|
value: string;
|
|
25307
25431
|
type: "var";
|
|
25308
25432
|
} | undefined;
|
|
25433
|
+
delay?: {
|
|
25434
|
+
value: number;
|
|
25435
|
+
type: "unit";
|
|
25436
|
+
unit: "s" | "ms";
|
|
25437
|
+
} | {
|
|
25438
|
+
value: string;
|
|
25439
|
+
type: "var";
|
|
25440
|
+
} | undefined;
|
|
25441
|
+
iterations?: number | "infinite" | undefined;
|
|
25309
25442
|
rangeStart?: ["start" | "end", {
|
|
25310
25443
|
value: number;
|
|
25311
25444
|
type: "unit";
|
|
@@ -25339,6 +25472,15 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
25339
25472
|
value: string;
|
|
25340
25473
|
type: "var";
|
|
25341
25474
|
} | undefined;
|
|
25475
|
+
delay?: {
|
|
25476
|
+
value: number;
|
|
25477
|
+
type: "unit";
|
|
25478
|
+
unit: "s" | "ms";
|
|
25479
|
+
} | {
|
|
25480
|
+
value: string;
|
|
25481
|
+
type: "var";
|
|
25482
|
+
} | undefined;
|
|
25483
|
+
iterations?: number | "infinite" | undefined;
|
|
25342
25484
|
rangeStart?: ["start" | "end", {
|
|
25343
25485
|
value: number;
|
|
25344
25486
|
type: "unit";
|
|
@@ -26099,6 +26241,15 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
26099
26241
|
value: string;
|
|
26100
26242
|
type: "var";
|
|
26101
26243
|
} | undefined;
|
|
26244
|
+
delay?: {
|
|
26245
|
+
value: number;
|
|
26246
|
+
type: "unit";
|
|
26247
|
+
unit: "s" | "ms";
|
|
26248
|
+
} | {
|
|
26249
|
+
value: string;
|
|
26250
|
+
type: "var";
|
|
26251
|
+
} | undefined;
|
|
26252
|
+
iterations?: number | "infinite" | undefined;
|
|
26102
26253
|
rangeStart?: ["start" | "end", {
|
|
26103
26254
|
value: number;
|
|
26104
26255
|
type: "unit";
|
|
@@ -26862,6 +27013,15 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
26862
27013
|
value: string;
|
|
26863
27014
|
type: "var";
|
|
26864
27015
|
} | undefined;
|
|
27016
|
+
delay?: {
|
|
27017
|
+
value: number;
|
|
27018
|
+
type: "unit";
|
|
27019
|
+
unit: "s" | "ms";
|
|
27020
|
+
} | {
|
|
27021
|
+
value: string;
|
|
27022
|
+
type: "var";
|
|
27023
|
+
} | undefined;
|
|
27024
|
+
iterations?: number | "infinite" | undefined;
|
|
26865
27025
|
rangeStart?: ["start" | "end", {
|
|
26866
27026
|
value: number;
|
|
26867
27027
|
type: "unit";
|
|
@@ -27630,6 +27790,15 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
27630
27790
|
value: string;
|
|
27631
27791
|
type: "var";
|
|
27632
27792
|
} | undefined;
|
|
27793
|
+
delay?: {
|
|
27794
|
+
value: number;
|
|
27795
|
+
type: "unit";
|
|
27796
|
+
unit: "s" | "ms";
|
|
27797
|
+
} | {
|
|
27798
|
+
value: string;
|
|
27799
|
+
type: "var";
|
|
27800
|
+
} | undefined;
|
|
27801
|
+
iterations?: number | "infinite" | undefined;
|
|
27633
27802
|
rangeStart?: ["start" | "end", {
|
|
27634
27803
|
value: number;
|
|
27635
27804
|
type: "unit";
|
|
@@ -28400,6 +28569,15 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
28400
28569
|
value: string;
|
|
28401
28570
|
type: "var";
|
|
28402
28571
|
} | undefined;
|
|
28572
|
+
delay?: {
|
|
28573
|
+
value: number;
|
|
28574
|
+
type: "unit";
|
|
28575
|
+
unit: "s" | "ms";
|
|
28576
|
+
} | {
|
|
28577
|
+
value: string;
|
|
28578
|
+
type: "var";
|
|
28579
|
+
} | undefined;
|
|
28580
|
+
iterations?: number | "infinite" | undefined;
|
|
28403
28581
|
rangeStart?: ["start" | "end", {
|
|
28404
28582
|
value: number;
|
|
28405
28583
|
type: "unit";
|
|
@@ -34595,6 +34773,29 @@ export declare const viewAnimationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
34595
34773
|
value: string;
|
|
34596
34774
|
type: "var";
|
|
34597
34775
|
}>]>>;
|
|
34776
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
34777
|
+
type: z.ZodLiteral<"unit">;
|
|
34778
|
+
value: z.ZodNumber;
|
|
34779
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
34780
|
+
}, "strip", z.ZodTypeAny, {
|
|
34781
|
+
value: number;
|
|
34782
|
+
type: "unit";
|
|
34783
|
+
unit: "s" | "ms";
|
|
34784
|
+
}, {
|
|
34785
|
+
value: number;
|
|
34786
|
+
type: "unit";
|
|
34787
|
+
unit: "s" | "ms";
|
|
34788
|
+
}>, z.ZodObject<{
|
|
34789
|
+
type: z.ZodLiteral<"var">;
|
|
34790
|
+
value: z.ZodString;
|
|
34791
|
+
}, "strip", z.ZodTypeAny, {
|
|
34792
|
+
value: string;
|
|
34793
|
+
type: "var";
|
|
34794
|
+
}, {
|
|
34795
|
+
value: string;
|
|
34796
|
+
type: "var";
|
|
34797
|
+
}>]>>;
|
|
34798
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
34598
34799
|
}, {
|
|
34599
34800
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<[z.ZodObject<{
|
|
34600
34801
|
type: z.ZodLiteral<"unit">;
|
|
@@ -34669,6 +34870,15 @@ export declare const viewAnimationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
34669
34870
|
value: string;
|
|
34670
34871
|
type: "var";
|
|
34671
34872
|
} | undefined;
|
|
34873
|
+
delay?: {
|
|
34874
|
+
value: number;
|
|
34875
|
+
type: "unit";
|
|
34876
|
+
unit: "s" | "ms";
|
|
34877
|
+
} | {
|
|
34878
|
+
value: string;
|
|
34879
|
+
type: "var";
|
|
34880
|
+
} | undefined;
|
|
34881
|
+
iterations?: number | "infinite" | undefined;
|
|
34672
34882
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
34673
34883
|
value: number;
|
|
34674
34884
|
type: "unit";
|
|
@@ -34702,6 +34912,15 @@ export declare const viewAnimationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
34702
34912
|
value: string;
|
|
34703
34913
|
type: "var";
|
|
34704
34914
|
} | undefined;
|
|
34915
|
+
delay?: {
|
|
34916
|
+
value: number;
|
|
34917
|
+
type: "unit";
|
|
34918
|
+
unit: "s" | "ms";
|
|
34919
|
+
} | {
|
|
34920
|
+
value: string;
|
|
34921
|
+
type: "var";
|
|
34922
|
+
} | undefined;
|
|
34923
|
+
iterations?: number | "infinite" | undefined;
|
|
34705
34924
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
34706
34925
|
value: number;
|
|
34707
34926
|
type: "unit";
|
|
@@ -35462,6 +35681,15 @@ export declare const viewAnimationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35462
35681
|
value: string;
|
|
35463
35682
|
type: "var";
|
|
35464
35683
|
} | undefined;
|
|
35684
|
+
delay?: {
|
|
35685
|
+
value: number;
|
|
35686
|
+
type: "unit";
|
|
35687
|
+
unit: "s" | "ms";
|
|
35688
|
+
} | {
|
|
35689
|
+
value: string;
|
|
35690
|
+
type: "var";
|
|
35691
|
+
} | undefined;
|
|
35692
|
+
iterations?: number | "infinite" | undefined;
|
|
35465
35693
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
35466
35694
|
value: number;
|
|
35467
35695
|
type: "unit";
|
|
@@ -36225,6 +36453,15 @@ export declare const viewAnimationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
36225
36453
|
value: string;
|
|
36226
36454
|
type: "var";
|
|
36227
36455
|
} | undefined;
|
|
36456
|
+
delay?: {
|
|
36457
|
+
value: number;
|
|
36458
|
+
type: "unit";
|
|
36459
|
+
unit: "s" | "ms";
|
|
36460
|
+
} | {
|
|
36461
|
+
value: string;
|
|
36462
|
+
type: "var";
|
|
36463
|
+
} | undefined;
|
|
36464
|
+
iterations?: number | "infinite" | undefined;
|
|
36228
36465
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
36229
36466
|
value: number;
|
|
36230
36467
|
type: "unit";
|
|
@@ -42419,6 +42656,29 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
42419
42656
|
value: string;
|
|
42420
42657
|
type: "var";
|
|
42421
42658
|
}>]>>;
|
|
42659
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
42660
|
+
type: z.ZodLiteral<"unit">;
|
|
42661
|
+
value: z.ZodNumber;
|
|
42662
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
42663
|
+
}, "strip", z.ZodTypeAny, {
|
|
42664
|
+
value: number;
|
|
42665
|
+
type: "unit";
|
|
42666
|
+
unit: "s" | "ms";
|
|
42667
|
+
}, {
|
|
42668
|
+
value: number;
|
|
42669
|
+
type: "unit";
|
|
42670
|
+
unit: "s" | "ms";
|
|
42671
|
+
}>, z.ZodObject<{
|
|
42672
|
+
type: z.ZodLiteral<"var">;
|
|
42673
|
+
value: z.ZodString;
|
|
42674
|
+
}, "strip", z.ZodTypeAny, {
|
|
42675
|
+
value: string;
|
|
42676
|
+
type: "var";
|
|
42677
|
+
}, {
|
|
42678
|
+
value: string;
|
|
42679
|
+
type: "var";
|
|
42680
|
+
}>]>>;
|
|
42681
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
42422
42682
|
}, {
|
|
42423
42683
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<[z.ZodObject<{
|
|
42424
42684
|
type: z.ZodLiteral<"unit">;
|
|
@@ -42493,6 +42753,15 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
42493
42753
|
value: string;
|
|
42494
42754
|
type: "var";
|
|
42495
42755
|
} | undefined;
|
|
42756
|
+
delay?: {
|
|
42757
|
+
value: number;
|
|
42758
|
+
type: "unit";
|
|
42759
|
+
unit: "s" | "ms";
|
|
42760
|
+
} | {
|
|
42761
|
+
value: string;
|
|
42762
|
+
type: "var";
|
|
42763
|
+
} | undefined;
|
|
42764
|
+
iterations?: number | "infinite" | undefined;
|
|
42496
42765
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
42497
42766
|
value: number;
|
|
42498
42767
|
type: "unit";
|
|
@@ -42526,6 +42795,15 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
42526
42795
|
value: string;
|
|
42527
42796
|
type: "var";
|
|
42528
42797
|
} | undefined;
|
|
42798
|
+
delay?: {
|
|
42799
|
+
value: number;
|
|
42800
|
+
type: "unit";
|
|
42801
|
+
unit: "s" | "ms";
|
|
42802
|
+
} | {
|
|
42803
|
+
value: string;
|
|
42804
|
+
type: "var";
|
|
42805
|
+
} | undefined;
|
|
42806
|
+
iterations?: number | "infinite" | undefined;
|
|
42529
42807
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
42530
42808
|
value: number;
|
|
42531
42809
|
type: "unit";
|
|
@@ -43286,6 +43564,15 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
43286
43564
|
value: string;
|
|
43287
43565
|
type: "var";
|
|
43288
43566
|
} | undefined;
|
|
43567
|
+
delay?: {
|
|
43568
|
+
value: number;
|
|
43569
|
+
type: "unit";
|
|
43570
|
+
unit: "s" | "ms";
|
|
43571
|
+
} | {
|
|
43572
|
+
value: string;
|
|
43573
|
+
type: "var";
|
|
43574
|
+
} | undefined;
|
|
43575
|
+
iterations?: number | "infinite" | undefined;
|
|
43289
43576
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
43290
43577
|
value: number;
|
|
43291
43578
|
type: "unit";
|
|
@@ -44049,6 +44336,15 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
44049
44336
|
value: string;
|
|
44050
44337
|
type: "var";
|
|
44051
44338
|
} | undefined;
|
|
44339
|
+
delay?: {
|
|
44340
|
+
value: number;
|
|
44341
|
+
type: "unit";
|
|
44342
|
+
unit: "s" | "ms";
|
|
44343
|
+
} | {
|
|
44344
|
+
value: string;
|
|
44345
|
+
type: "var";
|
|
44346
|
+
} | undefined;
|
|
44347
|
+
iterations?: number | "infinite" | undefined;
|
|
44052
44348
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
44053
44349
|
value: number;
|
|
44054
44350
|
type: "unit";
|
|
@@ -44897,6 +45193,15 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
44897
45193
|
value: string;
|
|
44898
45194
|
type: "var";
|
|
44899
45195
|
} | undefined;
|
|
45196
|
+
delay?: {
|
|
45197
|
+
value: number;
|
|
45198
|
+
type: "unit";
|
|
45199
|
+
unit: "s" | "ms";
|
|
45200
|
+
} | {
|
|
45201
|
+
value: string;
|
|
45202
|
+
type: "var";
|
|
45203
|
+
} | undefined;
|
|
45204
|
+
iterations?: number | "infinite" | undefined;
|
|
44900
45205
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
44901
45206
|
value: number;
|
|
44902
45207
|
type: "unit";
|
|
@@ -45695,6 +46000,15 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
45695
46000
|
value: string;
|
|
45696
46001
|
type: "var";
|
|
45697
46002
|
} | undefined;
|
|
46003
|
+
delay?: {
|
|
46004
|
+
value: number;
|
|
46005
|
+
type: "unit";
|
|
46006
|
+
unit: "s" | "ms";
|
|
46007
|
+
} | {
|
|
46008
|
+
value: string;
|
|
46009
|
+
type: "var";
|
|
46010
|
+
} | undefined;
|
|
46011
|
+
iterations?: number | "infinite" | undefined;
|
|
45698
46012
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
45699
46013
|
value: number;
|
|
45700
46014
|
type: "unit";
|
|
@@ -51922,6 +52236,29 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
51922
52236
|
value: string;
|
|
51923
52237
|
type: "var";
|
|
51924
52238
|
}>]>>;
|
|
52239
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
52240
|
+
type: z.ZodLiteral<"unit">;
|
|
52241
|
+
value: z.ZodNumber;
|
|
52242
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
52243
|
+
}, "strip", z.ZodTypeAny, {
|
|
52244
|
+
value: number;
|
|
52245
|
+
type: "unit";
|
|
52246
|
+
unit: "s" | "ms";
|
|
52247
|
+
}, {
|
|
52248
|
+
value: number;
|
|
52249
|
+
type: "unit";
|
|
52250
|
+
unit: "s" | "ms";
|
|
52251
|
+
}>, z.ZodObject<{
|
|
52252
|
+
type: z.ZodLiteral<"var">;
|
|
52253
|
+
value: z.ZodString;
|
|
52254
|
+
}, "strip", z.ZodTypeAny, {
|
|
52255
|
+
value: string;
|
|
52256
|
+
type: "var";
|
|
52257
|
+
}, {
|
|
52258
|
+
value: string;
|
|
52259
|
+
type: "var";
|
|
52260
|
+
}>]>>;
|
|
52261
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
51925
52262
|
}, {
|
|
51926
52263
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"end">]>, z.ZodUnion<[z.ZodObject<{
|
|
51927
52264
|
type: z.ZodLiteral<"unit">;
|
|
@@ -51996,6 +52333,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
51996
52333
|
value: string;
|
|
51997
52334
|
type: "var";
|
|
51998
52335
|
} | undefined;
|
|
52336
|
+
delay?: {
|
|
52337
|
+
value: number;
|
|
52338
|
+
type: "unit";
|
|
52339
|
+
unit: "s" | "ms";
|
|
52340
|
+
} | {
|
|
52341
|
+
value: string;
|
|
52342
|
+
type: "var";
|
|
52343
|
+
} | undefined;
|
|
52344
|
+
iterations?: number | "infinite" | undefined;
|
|
51999
52345
|
rangeStart?: ["start" | "end", {
|
|
52000
52346
|
value: number;
|
|
52001
52347
|
type: "unit";
|
|
@@ -52029,6 +52375,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
52029
52375
|
value: string;
|
|
52030
52376
|
type: "var";
|
|
52031
52377
|
} | undefined;
|
|
52378
|
+
delay?: {
|
|
52379
|
+
value: number;
|
|
52380
|
+
type: "unit";
|
|
52381
|
+
unit: "s" | "ms";
|
|
52382
|
+
} | {
|
|
52383
|
+
value: string;
|
|
52384
|
+
type: "var";
|
|
52385
|
+
} | undefined;
|
|
52386
|
+
iterations?: number | "infinite" | undefined;
|
|
52032
52387
|
rangeStart?: ["start" | "end", {
|
|
52033
52388
|
value: number;
|
|
52034
52389
|
type: "unit";
|
|
@@ -52789,6 +53144,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
52789
53144
|
value: string;
|
|
52790
53145
|
type: "var";
|
|
52791
53146
|
} | undefined;
|
|
53147
|
+
delay?: {
|
|
53148
|
+
value: number;
|
|
53149
|
+
type: "unit";
|
|
53150
|
+
unit: "s" | "ms";
|
|
53151
|
+
} | {
|
|
53152
|
+
value: string;
|
|
53153
|
+
type: "var";
|
|
53154
|
+
} | undefined;
|
|
53155
|
+
iterations?: number | "infinite" | undefined;
|
|
52792
53156
|
rangeStart?: ["start" | "end", {
|
|
52793
53157
|
value: number;
|
|
52794
53158
|
type: "unit";
|
|
@@ -53552,6 +53916,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
53552
53916
|
value: string;
|
|
53553
53917
|
type: "var";
|
|
53554
53918
|
} | undefined;
|
|
53919
|
+
delay?: {
|
|
53920
|
+
value: number;
|
|
53921
|
+
type: "unit";
|
|
53922
|
+
unit: "s" | "ms";
|
|
53923
|
+
} | {
|
|
53924
|
+
value: string;
|
|
53925
|
+
type: "var";
|
|
53926
|
+
} | undefined;
|
|
53927
|
+
iterations?: number | "infinite" | undefined;
|
|
53555
53928
|
rangeStart?: ["start" | "end", {
|
|
53556
53929
|
value: number;
|
|
53557
53930
|
type: "unit";
|
|
@@ -54320,6 +54693,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
54320
54693
|
value: string;
|
|
54321
54694
|
type: "var";
|
|
54322
54695
|
} | undefined;
|
|
54696
|
+
delay?: {
|
|
54697
|
+
value: number;
|
|
54698
|
+
type: "unit";
|
|
54699
|
+
unit: "s" | "ms";
|
|
54700
|
+
} | {
|
|
54701
|
+
value: string;
|
|
54702
|
+
type: "var";
|
|
54703
|
+
} | undefined;
|
|
54704
|
+
iterations?: number | "infinite" | undefined;
|
|
54323
54705
|
rangeStart?: ["start" | "end", {
|
|
54324
54706
|
value: number;
|
|
54325
54707
|
type: "unit";
|
|
@@ -55090,6 +55472,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
55090
55472
|
value: string;
|
|
55091
55473
|
type: "var";
|
|
55092
55474
|
} | undefined;
|
|
55475
|
+
delay?: {
|
|
55476
|
+
value: number;
|
|
55477
|
+
type: "unit";
|
|
55478
|
+
unit: "s" | "ms";
|
|
55479
|
+
} | {
|
|
55480
|
+
value: string;
|
|
55481
|
+
type: "var";
|
|
55482
|
+
} | undefined;
|
|
55483
|
+
iterations?: number | "infinite" | undefined;
|
|
55093
55484
|
rangeStart?: ["start" | "end", {
|
|
55094
55485
|
value: number;
|
|
55095
55486
|
type: "unit";
|
|
@@ -61288,6 +61679,29 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
61288
61679
|
value: string;
|
|
61289
61680
|
type: "var";
|
|
61290
61681
|
}>]>>;
|
|
61682
|
+
delay: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
61683
|
+
type: z.ZodLiteral<"unit">;
|
|
61684
|
+
value: z.ZodNumber;
|
|
61685
|
+
unit: z.ZodUnion<[z.ZodLiteral<"ms">, z.ZodLiteral<"s">, ...z.ZodLiteral<"s" | "ms">[]]>;
|
|
61686
|
+
}, "strip", z.ZodTypeAny, {
|
|
61687
|
+
value: number;
|
|
61688
|
+
type: "unit";
|
|
61689
|
+
unit: "s" | "ms";
|
|
61690
|
+
}, {
|
|
61691
|
+
value: number;
|
|
61692
|
+
type: "unit";
|
|
61693
|
+
unit: "s" | "ms";
|
|
61694
|
+
}>, z.ZodObject<{
|
|
61695
|
+
type: z.ZodLiteral<"var">;
|
|
61696
|
+
value: z.ZodString;
|
|
61697
|
+
}, "strip", z.ZodTypeAny, {
|
|
61698
|
+
value: string;
|
|
61699
|
+
type: "var";
|
|
61700
|
+
}, {
|
|
61701
|
+
value: string;
|
|
61702
|
+
type: "var";
|
|
61703
|
+
}>]>>;
|
|
61704
|
+
iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
|
|
61291
61705
|
}, {
|
|
61292
61706
|
rangeStart: z.ZodOptional<z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"contain">, z.ZodLiteral<"cover">, z.ZodLiteral<"entry">, z.ZodLiteral<"exit">, z.ZodLiteral<"entry-crossing">, z.ZodLiteral<"exit-crossing">]>, z.ZodUnion<[z.ZodObject<{
|
|
61293
61707
|
type: z.ZodLiteral<"unit">;
|
|
@@ -61362,6 +61776,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
61362
61776
|
value: string;
|
|
61363
61777
|
type: "var";
|
|
61364
61778
|
} | undefined;
|
|
61779
|
+
delay?: {
|
|
61780
|
+
value: number;
|
|
61781
|
+
type: "unit";
|
|
61782
|
+
unit: "s" | "ms";
|
|
61783
|
+
} | {
|
|
61784
|
+
value: string;
|
|
61785
|
+
type: "var";
|
|
61786
|
+
} | undefined;
|
|
61787
|
+
iterations?: number | "infinite" | undefined;
|
|
61365
61788
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
61366
61789
|
value: number;
|
|
61367
61790
|
type: "unit";
|
|
@@ -61395,6 +61818,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
61395
61818
|
value: string;
|
|
61396
61819
|
type: "var";
|
|
61397
61820
|
} | undefined;
|
|
61821
|
+
delay?: {
|
|
61822
|
+
value: number;
|
|
61823
|
+
type: "unit";
|
|
61824
|
+
unit: "s" | "ms";
|
|
61825
|
+
} | {
|
|
61826
|
+
value: string;
|
|
61827
|
+
type: "var";
|
|
61828
|
+
} | undefined;
|
|
61829
|
+
iterations?: number | "infinite" | undefined;
|
|
61398
61830
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
61399
61831
|
value: number;
|
|
61400
61832
|
type: "unit";
|
|
@@ -62155,6 +62587,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
62155
62587
|
value: string;
|
|
62156
62588
|
type: "var";
|
|
62157
62589
|
} | undefined;
|
|
62590
|
+
delay?: {
|
|
62591
|
+
value: number;
|
|
62592
|
+
type: "unit";
|
|
62593
|
+
unit: "s" | "ms";
|
|
62594
|
+
} | {
|
|
62595
|
+
value: string;
|
|
62596
|
+
type: "var";
|
|
62597
|
+
} | undefined;
|
|
62598
|
+
iterations?: number | "infinite" | undefined;
|
|
62158
62599
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
62159
62600
|
value: number;
|
|
62160
62601
|
type: "unit";
|
|
@@ -62918,6 +63359,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
62918
63359
|
value: string;
|
|
62919
63360
|
type: "var";
|
|
62920
63361
|
} | undefined;
|
|
63362
|
+
delay?: {
|
|
63363
|
+
value: number;
|
|
63364
|
+
type: "unit";
|
|
63365
|
+
unit: "s" | "ms";
|
|
63366
|
+
} | {
|
|
63367
|
+
value: string;
|
|
63368
|
+
type: "var";
|
|
63369
|
+
} | undefined;
|
|
63370
|
+
iterations?: number | "infinite" | undefined;
|
|
62921
63371
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
62922
63372
|
value: number;
|
|
62923
63373
|
type: "unit";
|
|
@@ -63766,6 +64216,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
63766
64216
|
value: string;
|
|
63767
64217
|
type: "var";
|
|
63768
64218
|
} | undefined;
|
|
64219
|
+
delay?: {
|
|
64220
|
+
value: number;
|
|
64221
|
+
type: "unit";
|
|
64222
|
+
unit: "s" | "ms";
|
|
64223
|
+
} | {
|
|
64224
|
+
value: string;
|
|
64225
|
+
type: "var";
|
|
64226
|
+
} | undefined;
|
|
64227
|
+
iterations?: number | "infinite" | undefined;
|
|
63769
64228
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
63770
64229
|
value: number;
|
|
63771
64230
|
type: "unit";
|
|
@@ -64564,6 +65023,15 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
64564
65023
|
value: string;
|
|
64565
65024
|
type: "var";
|
|
64566
65025
|
} | undefined;
|
|
65026
|
+
delay?: {
|
|
65027
|
+
value: number;
|
|
65028
|
+
type: "unit";
|
|
65029
|
+
unit: "s" | "ms";
|
|
65030
|
+
} | {
|
|
65031
|
+
value: string;
|
|
65032
|
+
type: "var";
|
|
65033
|
+
} | undefined;
|
|
65034
|
+
iterations?: number | "infinite" | undefined;
|
|
64567
65035
|
rangeStart?: ["contain" | "cover" | "entry" | "exit" | "entry-crossing" | "exit-crossing", {
|
|
64568
65036
|
value: number;
|
|
64569
65037
|
type: "unit";
|
|
@@ -64628,6 +65096,7 @@ export declare const isRangeUnit: (value: unknown) => value is z.infer<typeof ra
|
|
|
64628
65096
|
export type RangeUnit = z.infer<typeof rangeUnitSchema>;
|
|
64629
65097
|
export type RangeUnitValue = z.infer<typeof rangeUnitValueSchema>;
|
|
64630
65098
|
export type DurationUnitValue = z.infer<typeof durationUnitValueSchema>;
|
|
65099
|
+
export type IterationsUnitValue = z.infer<typeof iterationsUnitValueSchema>;
|
|
64631
65100
|
export type TimeUnit = z.infer<typeof timeUnitSchema>;
|
|
64632
65101
|
export type KeyframeStyles = z.infer<typeof keyframeStylesSchema>;
|
|
64633
65102
|
export type AnimationKeyframe = z.infer<typeof animationKeyframeSchema>;
|