@shotstack/shotstack-studio 1.2.0 → 1.2.1
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/core/loaders/asset-loader.d.ts +9 -2
- package/dist/core/schemas/asset.d.ts +4 -4
- package/dist/core/schemas/clip.d.ts +8 -8
- package/dist/core/schemas/edit.d.ts +45 -45
- package/dist/core/schemas/html-asset.d.ts +2 -2
- package/dist/core/schemas/track.d.ts +12 -12
- package/dist/shotstack-studio.es.js +561 -500
- package/dist/shotstack-studio.umd.js +3 -3
- package/package.json +1 -1
|
@@ -259,15 +259,15 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
259
259
|
height: zod.ZodOptional<zod.ZodNumber>;
|
|
260
260
|
position: zod.ZodOptional<zod.ZodEnum<["top", "topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "center"]>>;
|
|
261
261
|
}, "strip", zod.ZodTypeAny, {
|
|
262
|
-
type: "html";
|
|
263
262
|
html: string;
|
|
263
|
+
type: "html";
|
|
264
264
|
css: string;
|
|
265
265
|
width?: number | undefined;
|
|
266
266
|
height?: number | undefined;
|
|
267
267
|
position?: "top" | "topRight" | "right" | "bottomRight" | "bottom" | "bottomLeft" | "left" | "topLeft" | "center" | undefined;
|
|
268
268
|
}, {
|
|
269
|
-
type: "html";
|
|
270
269
|
html: string;
|
|
270
|
+
type: "html";
|
|
271
271
|
css: string;
|
|
272
272
|
width?: number | undefined;
|
|
273
273
|
height?: number | undefined;
|
|
@@ -461,8 +461,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
461
461
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
462
462
|
}[] | undefined;
|
|
463
463
|
} | {
|
|
464
|
-
type: "html";
|
|
465
464
|
html: string;
|
|
465
|
+
type: "html";
|
|
466
466
|
css: string;
|
|
467
467
|
width?: number | undefined;
|
|
468
468
|
height?: number | undefined;
|
|
@@ -558,8 +558,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
558
558
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
559
559
|
}[] | undefined;
|
|
560
560
|
} | {
|
|
561
|
-
type: "html";
|
|
562
561
|
html: string;
|
|
562
|
+
type: "html";
|
|
563
563
|
css: string;
|
|
564
564
|
width?: number | undefined;
|
|
565
565
|
height?: number | undefined;
|
|
@@ -869,8 +869,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
869
869
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
870
870
|
}[] | undefined;
|
|
871
871
|
} | {
|
|
872
|
-
type: "html";
|
|
873
872
|
html: string;
|
|
873
|
+
type: "html";
|
|
874
874
|
css: string;
|
|
875
875
|
width?: number | undefined;
|
|
876
876
|
height?: number | undefined;
|
|
@@ -963,7 +963,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
963
963
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
964
964
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
965
965
|
}[] | undefined;
|
|
966
|
-
fit?: "
|
|
966
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
967
967
|
offset?: {
|
|
968
968
|
x: number | {
|
|
969
969
|
length: number;
|
|
@@ -1023,8 +1023,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1023
1023
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1024
1024
|
}[] | undefined;
|
|
1025
1025
|
} | {
|
|
1026
|
-
type: "html";
|
|
1027
1026
|
html: string;
|
|
1027
|
+
type: "html";
|
|
1028
1028
|
css: string;
|
|
1029
1029
|
width?: number | undefined;
|
|
1030
1030
|
height?: number | undefined;
|
|
@@ -1117,7 +1117,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1117
1117
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1118
1118
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1119
1119
|
}[] | undefined;
|
|
1120
|
-
fit?: "
|
|
1120
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1121
1121
|
offset?: {
|
|
1122
1122
|
x?: number | {
|
|
1123
1123
|
length: number;
|
|
@@ -1179,8 +1179,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1179
1179
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1180
1180
|
}[] | undefined;
|
|
1181
1181
|
} | {
|
|
1182
|
-
type: "html";
|
|
1183
1182
|
html: string;
|
|
1183
|
+
type: "html";
|
|
1184
1184
|
css: string;
|
|
1185
1185
|
width?: number | undefined;
|
|
1186
1186
|
height?: number | undefined;
|
|
@@ -1273,7 +1273,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1273
1273
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1274
1274
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1275
1275
|
}[] | undefined;
|
|
1276
|
-
fit?: "
|
|
1276
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1277
1277
|
offset?: {
|
|
1278
1278
|
x: number | {
|
|
1279
1279
|
length: number;
|
|
@@ -1335,8 +1335,8 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1335
1335
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1336
1336
|
}[] | undefined;
|
|
1337
1337
|
} | {
|
|
1338
|
-
type: "html";
|
|
1339
1338
|
html: string;
|
|
1339
|
+
type: "html";
|
|
1340
1340
|
css: string;
|
|
1341
1341
|
width?: number | undefined;
|
|
1342
1342
|
height?: number | undefined;
|
|
@@ -1429,7 +1429,7 @@ export declare const TrackSchema: zod.ZodObject<{
|
|
|
1429
1429
|
interpolation?: "linear" | "bezier" | "constant" | undefined;
|
|
1430
1430
|
easing?: "ease" | "easeIn" | "easeOut" | "easeInOut" | "easeInQuad" | "easeInCubic" | "easeInQuart" | "easeInQuint" | "easeInSine" | "easeInExpo" | "easeInCirc" | "easeInBack" | "easeOutQuad" | "easeOutCubic" | "easeOutQuart" | "easeOutQuint" | "easeOutSine" | "easeOutExpo" | "easeOutCirc" | "easeOutBack" | "easeInOutQuad" | "easeInOutCubic" | "easeInOutQuart" | "easeInOutQuint" | "easeInOutSine" | "easeInOutExpo" | "easeInOutCirc" | "easeInOutBack" | undefined;
|
|
1431
1431
|
}[] | undefined;
|
|
1432
|
-
fit?: "
|
|
1432
|
+
fit?: "none" | "crop" | "cover" | "contain" | undefined;
|
|
1433
1433
|
offset?: {
|
|
1434
1434
|
x?: number | {
|
|
1435
1435
|
length: number;
|