framefields 2.2.0-beta.4 → 2.2.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/dist/index-CwbszPDG.d.mts.map +1 -1
- package/dist/index.d.mts +55 -55
- package/dist/index.d.mts.map +1 -1
- package/package.json +55 -55
package/dist/index.d.mts
CHANGED
|
@@ -61,9 +61,9 @@ declare function parseMarkup(markup: string): TextSpan[];
|
|
|
61
61
|
|
|
62
62
|
/** number px | "auto" (intrinsic) | "fit" (shrink-wrap) | "fill" (parent extent). */
|
|
63
63
|
declare const SizeSpecSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
|
|
64
|
+
fill: "fill";
|
|
64
65
|
auto: "auto";
|
|
65
66
|
fit: "fit";
|
|
66
|
-
fill: "fill";
|
|
67
67
|
}>, z.ZodCustom<unknown, unknown>]>;
|
|
68
68
|
type SizeSpec = z.infer<typeof SizeSpecSchema>;
|
|
69
69
|
declare const ShapeTypeSchema: z.ZodEnum<{
|
|
@@ -77,39 +77,39 @@ declare const ShapeTypeSchema: z.ZodEnum<{
|
|
|
77
77
|
}>;
|
|
78
78
|
type ShapeType = z.infer<typeof ShapeTypeSchema>;
|
|
79
79
|
declare const AnimatablePropSchema: z.ZodEnum<{
|
|
80
|
-
fill: "fill";
|
|
81
80
|
x: "x";
|
|
82
81
|
y: "y";
|
|
83
|
-
scale: "scale";
|
|
84
|
-
rotation: "rotation";
|
|
85
|
-
opacity: "opacity";
|
|
86
82
|
width: "width";
|
|
87
83
|
height: "height";
|
|
84
|
+
rotation: "rotation";
|
|
85
|
+
scale: "scale";
|
|
86
|
+
opacity: "opacity";
|
|
87
|
+
trimStart: "trimStart";
|
|
88
|
+
trimEnd: "trimEnd";
|
|
89
|
+
text: "text";
|
|
90
|
+
fontSize: "fontSize";
|
|
91
|
+
fill: "fill";
|
|
92
|
+
letterSpacing: "letterSpacing";
|
|
93
|
+
padding: "padding";
|
|
94
|
+
strokeWidth: "strokeWidth";
|
|
95
|
+
borderColor: "borderColor";
|
|
96
|
+
borderWidth: "borderWidth";
|
|
88
97
|
volume: "volume";
|
|
98
|
+
color: "color";
|
|
99
|
+
offset: "offset";
|
|
89
100
|
hidden: "hidden";
|
|
90
101
|
muted: "muted";
|
|
91
102
|
gap: "gap";
|
|
92
|
-
padding: "padding";
|
|
93
103
|
borderRadius: "borderRadius";
|
|
94
|
-
fontSize: "fontSize";
|
|
95
|
-
text: "text";
|
|
96
|
-
color: "color";
|
|
97
|
-
letterSpacing: "letterSpacing";
|
|
98
|
-
trimStart: "trimStart";
|
|
99
|
-
trimEnd: "trimEnd";
|
|
100
104
|
trimOffset: "trimOffset";
|
|
101
|
-
strokeWidth: "strokeWidth";
|
|
102
105
|
strokeDashOffset: "strokeDashOffset";
|
|
103
106
|
cornerRadius: "cornerRadius";
|
|
104
107
|
starInnerRadiusRatio: "starInnerRadiusRatio";
|
|
105
108
|
fillColor: "fillColor";
|
|
106
109
|
strokeColor: "strokeColor";
|
|
107
|
-
borderColor: "borderColor";
|
|
108
|
-
borderWidth: "borderWidth";
|
|
109
110
|
motionBlurShutter: "motionBlurShutter";
|
|
110
111
|
rangeStart: "rangeStart";
|
|
111
112
|
rangeEnd: "rangeEnd";
|
|
112
|
-
offset: "offset";
|
|
113
113
|
animatorRangeStart: "animatorRangeStart";
|
|
114
114
|
animatorRangeEnd: "animatorRangeEnd";
|
|
115
115
|
animatorOffset: "animatorOffset";
|
|
@@ -190,6 +190,7 @@ declare const MaterialTypeSchema: z.ZodEnum<{
|
|
|
190
190
|
type MaterialType = z.infer<typeof MaterialTypeSchema>;
|
|
191
191
|
declare const EaseRefSchema: z.ZodObject<{
|
|
192
192
|
name: z.ZodEnum<{
|
|
193
|
+
bounce: "bounce";
|
|
193
194
|
none: "none";
|
|
194
195
|
power1: "power1";
|
|
195
196
|
power2: "power2";
|
|
@@ -199,14 +200,13 @@ declare const EaseRefSchema: z.ZodObject<{
|
|
|
199
200
|
expo: "expo";
|
|
200
201
|
back: "back";
|
|
201
202
|
elastic: "elastic";
|
|
202
|
-
bounce: "bounce";
|
|
203
203
|
spring: "spring";
|
|
204
204
|
cubic: "cubic";
|
|
205
205
|
hold: "hold";
|
|
206
206
|
}>;
|
|
207
207
|
dir: z.ZodEnum<{
|
|
208
|
-
in: "in";
|
|
209
208
|
out: "out";
|
|
209
|
+
in: "in";
|
|
210
210
|
inOut: "inOut";
|
|
211
211
|
}>;
|
|
212
212
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -218,6 +218,7 @@ declare const KeyframeSchema: z.ZodObject<{
|
|
|
218
218
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>;
|
|
219
219
|
ease: z.ZodOptional<z.ZodObject<{
|
|
220
220
|
name: z.ZodEnum<{
|
|
221
|
+
bounce: "bounce";
|
|
221
222
|
none: "none";
|
|
222
223
|
power1: "power1";
|
|
223
224
|
power2: "power2";
|
|
@@ -227,14 +228,13 @@ declare const KeyframeSchema: z.ZodObject<{
|
|
|
227
228
|
expo: "expo";
|
|
228
229
|
back: "back";
|
|
229
230
|
elastic: "elastic";
|
|
230
|
-
bounce: "bounce";
|
|
231
231
|
spring: "spring";
|
|
232
232
|
cubic: "cubic";
|
|
233
233
|
hold: "hold";
|
|
234
234
|
}>;
|
|
235
235
|
dir: z.ZodEnum<{
|
|
236
|
-
in: "in";
|
|
237
236
|
out: "out";
|
|
237
|
+
in: "in";
|
|
238
238
|
inOut: "inOut";
|
|
239
239
|
}>;
|
|
240
240
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -291,39 +291,39 @@ type TrackSource = z.infer<typeof RawTrackSourceSchema>;
|
|
|
291
291
|
declare const AnimationTrackSchema: z.ZodObject<{
|
|
292
292
|
id: z.ZodString;
|
|
293
293
|
prop: z.ZodEnum<{
|
|
294
|
-
fill: "fill";
|
|
295
294
|
x: "x";
|
|
296
295
|
y: "y";
|
|
297
|
-
scale: "scale";
|
|
298
|
-
rotation: "rotation";
|
|
299
|
-
opacity: "opacity";
|
|
300
296
|
width: "width";
|
|
301
297
|
height: "height";
|
|
298
|
+
rotation: "rotation";
|
|
299
|
+
scale: "scale";
|
|
300
|
+
opacity: "opacity";
|
|
301
|
+
trimStart: "trimStart";
|
|
302
|
+
trimEnd: "trimEnd";
|
|
303
|
+
text: "text";
|
|
304
|
+
fontSize: "fontSize";
|
|
305
|
+
fill: "fill";
|
|
306
|
+
letterSpacing: "letterSpacing";
|
|
307
|
+
padding: "padding";
|
|
308
|
+
strokeWidth: "strokeWidth";
|
|
309
|
+
borderColor: "borderColor";
|
|
310
|
+
borderWidth: "borderWidth";
|
|
302
311
|
volume: "volume";
|
|
312
|
+
color: "color";
|
|
313
|
+
offset: "offset";
|
|
303
314
|
hidden: "hidden";
|
|
304
315
|
muted: "muted";
|
|
305
316
|
gap: "gap";
|
|
306
|
-
padding: "padding";
|
|
307
317
|
borderRadius: "borderRadius";
|
|
308
|
-
fontSize: "fontSize";
|
|
309
|
-
text: "text";
|
|
310
|
-
color: "color";
|
|
311
|
-
letterSpacing: "letterSpacing";
|
|
312
|
-
trimStart: "trimStart";
|
|
313
|
-
trimEnd: "trimEnd";
|
|
314
318
|
trimOffset: "trimOffset";
|
|
315
|
-
strokeWidth: "strokeWidth";
|
|
316
319
|
strokeDashOffset: "strokeDashOffset";
|
|
317
320
|
cornerRadius: "cornerRadius";
|
|
318
321
|
starInnerRadiusRatio: "starInnerRadiusRatio";
|
|
319
322
|
fillColor: "fillColor";
|
|
320
323
|
strokeColor: "strokeColor";
|
|
321
|
-
borderColor: "borderColor";
|
|
322
|
-
borderWidth: "borderWidth";
|
|
323
324
|
motionBlurShutter: "motionBlurShutter";
|
|
324
325
|
rangeStart: "rangeStart";
|
|
325
326
|
rangeEnd: "rangeEnd";
|
|
326
|
-
offset: "offset";
|
|
327
327
|
animatorRangeStart: "animatorRangeStart";
|
|
328
328
|
animatorRangeEnd: "animatorRangeEnd";
|
|
329
329
|
animatorOffset: "animatorOffset";
|
|
@@ -426,6 +426,7 @@ declare const AnimationTrackSchema: z.ZodObject<{
|
|
|
426
426
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>;
|
|
427
427
|
ease: z.ZodOptional<z.ZodObject<{
|
|
428
428
|
name: z.ZodEnum<{
|
|
429
|
+
bounce: "bounce";
|
|
429
430
|
none: "none";
|
|
430
431
|
power1: "power1";
|
|
431
432
|
power2: "power2";
|
|
@@ -435,14 +436,13 @@ declare const AnimationTrackSchema: z.ZodObject<{
|
|
|
435
436
|
expo: "expo";
|
|
436
437
|
back: "back";
|
|
437
438
|
elastic: "elastic";
|
|
438
|
-
bounce: "bounce";
|
|
439
439
|
spring: "spring";
|
|
440
440
|
cubic: "cubic";
|
|
441
441
|
hold: "hold";
|
|
442
442
|
}>;
|
|
443
443
|
dir: z.ZodEnum<{
|
|
444
|
-
in: "in";
|
|
445
444
|
out: "out";
|
|
445
|
+
in: "in";
|
|
446
446
|
inOut: "inOut";
|
|
447
447
|
}>;
|
|
448
448
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -467,39 +467,39 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
467
467
|
tracks: z.ZodArray<z.ZodObject<{
|
|
468
468
|
id: z.ZodString;
|
|
469
469
|
prop: z.ZodEnum<{
|
|
470
|
-
fill: "fill";
|
|
471
470
|
x: "x";
|
|
472
471
|
y: "y";
|
|
473
|
-
scale: "scale";
|
|
474
|
-
rotation: "rotation";
|
|
475
|
-
opacity: "opacity";
|
|
476
472
|
width: "width";
|
|
477
473
|
height: "height";
|
|
474
|
+
rotation: "rotation";
|
|
475
|
+
scale: "scale";
|
|
476
|
+
opacity: "opacity";
|
|
477
|
+
trimStart: "trimStart";
|
|
478
|
+
trimEnd: "trimEnd";
|
|
479
|
+
text: "text";
|
|
480
|
+
fontSize: "fontSize";
|
|
481
|
+
fill: "fill";
|
|
482
|
+
letterSpacing: "letterSpacing";
|
|
483
|
+
padding: "padding";
|
|
484
|
+
strokeWidth: "strokeWidth";
|
|
485
|
+
borderColor: "borderColor";
|
|
486
|
+
borderWidth: "borderWidth";
|
|
478
487
|
volume: "volume";
|
|
488
|
+
color: "color";
|
|
489
|
+
offset: "offset";
|
|
479
490
|
hidden: "hidden";
|
|
480
491
|
muted: "muted";
|
|
481
492
|
gap: "gap";
|
|
482
|
-
padding: "padding";
|
|
483
493
|
borderRadius: "borderRadius";
|
|
484
|
-
fontSize: "fontSize";
|
|
485
|
-
text: "text";
|
|
486
|
-
color: "color";
|
|
487
|
-
letterSpacing: "letterSpacing";
|
|
488
|
-
trimStart: "trimStart";
|
|
489
|
-
trimEnd: "trimEnd";
|
|
490
494
|
trimOffset: "trimOffset";
|
|
491
|
-
strokeWidth: "strokeWidth";
|
|
492
495
|
strokeDashOffset: "strokeDashOffset";
|
|
493
496
|
cornerRadius: "cornerRadius";
|
|
494
497
|
starInnerRadiusRatio: "starInnerRadiusRatio";
|
|
495
498
|
fillColor: "fillColor";
|
|
496
499
|
strokeColor: "strokeColor";
|
|
497
|
-
borderColor: "borderColor";
|
|
498
|
-
borderWidth: "borderWidth";
|
|
499
500
|
motionBlurShutter: "motionBlurShutter";
|
|
500
501
|
rangeStart: "rangeStart";
|
|
501
502
|
rangeEnd: "rangeEnd";
|
|
502
|
-
offset: "offset";
|
|
503
503
|
animatorRangeStart: "animatorRangeStart";
|
|
504
504
|
animatorRangeEnd: "animatorRangeEnd";
|
|
505
505
|
animatorOffset: "animatorOffset";
|
|
@@ -602,6 +602,7 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
602
602
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>;
|
|
603
603
|
ease: z.ZodOptional<z.ZodObject<{
|
|
604
604
|
name: z.ZodEnum<{
|
|
605
|
+
bounce: "bounce";
|
|
605
606
|
none: "none";
|
|
606
607
|
power1: "power1";
|
|
607
608
|
power2: "power2";
|
|
@@ -611,14 +612,13 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
611
612
|
expo: "expo";
|
|
612
613
|
back: "back";
|
|
613
614
|
elastic: "elastic";
|
|
614
|
-
bounce: "bounce";
|
|
615
615
|
spring: "spring";
|
|
616
616
|
cubic: "cubic";
|
|
617
617
|
hold: "hold";
|
|
618
618
|
}>;
|
|
619
619
|
dir: z.ZodEnum<{
|
|
620
|
-
in: "in";
|
|
621
620
|
out: "out";
|
|
621
|
+
in: "in";
|
|
622
622
|
inOut: "inOut";
|
|
623
623
|
}>;
|
|
624
624
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -1169,8 +1169,8 @@ declare const CompositorProgramSchema: z.ZodObject<{
|
|
|
1169
1169
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
1170
1170
|
fps: z.ZodDefault<z.ZodNumber>;
|
|
1171
1171
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1172
|
-
Video: "Video";
|
|
1173
1172
|
Image: "Image";
|
|
1173
|
+
Video: "Video";
|
|
1174
1174
|
}>>;
|
|
1175
1175
|
antialias3d: z.ZodOptional<z.ZodBoolean>;
|
|
1176
1176
|
layout: z.ZodDefault<z.ZodArray<z.ZodType<LayoutNode, unknown, z.core.$ZodTypeInternals<LayoutNode, unknown>>>>;
|