@remotion/studio-shared 4.0.500 → 4.0.502
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/api-requests.d.ts +36 -1
- package/dist/browser-studio-operations.d.ts +33 -0
- package/dist/browser-studio-operations.js +2 -0
- package/dist/composition-drag-data.d.ts +1 -1
- package/dist/effect-catalog.d.ts +1 -1
- package/dist/esm/index.mjs +3700 -0
- package/dist/esm/keyframe-easing-presets.mjs +123 -0
- package/dist/esm/keyframe-interpolation-function.mjs +114 -0
- package/dist/esm/parse-spring-easing-config.mjs +92 -0
- package/dist/esm/studio-entry-points.mjs +19 -0
- package/dist/esm/studio-html.mjs +102 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/keyframe-clipboard-data.d.ts +1 -0
- package/dist/keyframe-clipboard-data.js +1 -0
- package/dist/keyframe-interpolation-function.js +2 -0
- package/dist/package-info.d.ts +2 -2
- package/dist/package-info.js +8 -4
- package/dist/schema-field-info.d.ts +5 -1
- package/dist/schema-field-info.js +48 -0
- package/dist/style-property-relations.d.ts +3 -0
- package/dist/style-property-relations.js +18 -0
- package/package.json +56 -9
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// src/keyframe-easing-presets.ts
|
|
2
|
+
var LINEAR_KEYFRAME_EASING = { type: "linear" };
|
|
3
|
+
var EASE_KEYFRAME_EASING = {
|
|
4
|
+
type: "bezier",
|
|
5
|
+
x1: 0.42,
|
|
6
|
+
y1: 0,
|
|
7
|
+
x2: 1,
|
|
8
|
+
y2: 1
|
|
9
|
+
};
|
|
10
|
+
var QUAD_KEYFRAME_EASING = {
|
|
11
|
+
type: "bezier",
|
|
12
|
+
x1: 1 / 3,
|
|
13
|
+
y1: 0,
|
|
14
|
+
x2: 2 / 3,
|
|
15
|
+
y2: 1 / 3
|
|
16
|
+
};
|
|
17
|
+
var CUBIC_KEYFRAME_EASING = {
|
|
18
|
+
type: "bezier",
|
|
19
|
+
x1: 1 / 3,
|
|
20
|
+
y1: 0,
|
|
21
|
+
x2: 2 / 3,
|
|
22
|
+
y2: 0
|
|
23
|
+
};
|
|
24
|
+
var getBackKeyframeEasing = (s = 1.70158) => ({
|
|
25
|
+
type: "bezier",
|
|
26
|
+
x1: 1 / 3,
|
|
27
|
+
y1: 0,
|
|
28
|
+
x2: 2 / 3,
|
|
29
|
+
y2: -s / 3
|
|
30
|
+
});
|
|
31
|
+
var getPolyKeyframeEasing = (n) => {
|
|
32
|
+
if (n === 1) {
|
|
33
|
+
return LINEAR_KEYFRAME_EASING;
|
|
34
|
+
}
|
|
35
|
+
if (n === 2) {
|
|
36
|
+
return QUAD_KEYFRAME_EASING;
|
|
37
|
+
}
|
|
38
|
+
if (n === 3) {
|
|
39
|
+
return CUBIC_KEYFRAME_EASING;
|
|
40
|
+
}
|
|
41
|
+
return null;
|
|
42
|
+
};
|
|
43
|
+
var getOutKeyframeEasing = (easing) => {
|
|
44
|
+
if (easing.type === "linear") {
|
|
45
|
+
return LINEAR_KEYFRAME_EASING;
|
|
46
|
+
}
|
|
47
|
+
if (easing.type !== "bezier") {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
type: "bezier",
|
|
52
|
+
x1: 1 - easing.x2,
|
|
53
|
+
y1: 1 - easing.y2,
|
|
54
|
+
x2: 1 - easing.x1,
|
|
55
|
+
y2: 1 - easing.y1
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
var KEYFRAME_EASING_PRESETS = [
|
|
59
|
+
{
|
|
60
|
+
id: "ease-in",
|
|
61
|
+
label: "Ease in",
|
|
62
|
+
easing: { type: "bezier", x1: 0.42, y1: 0, x2: 1, y2: 1 }
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: "ease-out",
|
|
66
|
+
label: "Ease out",
|
|
67
|
+
easing: { type: "bezier", x1: 0, y1: 0, x2: 0.58, y2: 1 }
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "ease-in-out",
|
|
71
|
+
label: "Ease in-out",
|
|
72
|
+
easing: { type: "bezier", x1: 0.42, y1: 0, x2: 0.58, y2: 1 }
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "tail-spring",
|
|
76
|
+
label: "Tail spring",
|
|
77
|
+
easing: {
|
|
78
|
+
type: "spring",
|
|
79
|
+
allowTail: true,
|
|
80
|
+
damping: 200,
|
|
81
|
+
durationRestThreshold: 0.02,
|
|
82
|
+
mass: 1,
|
|
83
|
+
overshootClamping: false,
|
|
84
|
+
stiffness: 100
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: "spring",
|
|
89
|
+
label: "Spring",
|
|
90
|
+
easing: {
|
|
91
|
+
type: "spring",
|
|
92
|
+
allowTail: true,
|
|
93
|
+
damping: 10,
|
|
94
|
+
durationRestThreshold: 0.02,
|
|
95
|
+
mass: 1,
|
|
96
|
+
overshootClamping: false,
|
|
97
|
+
stiffness: 100
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: "bouncy-spring",
|
|
102
|
+
label: "Bouncy spring",
|
|
103
|
+
easing: {
|
|
104
|
+
type: "spring",
|
|
105
|
+
allowTail: true,
|
|
106
|
+
damping: 5,
|
|
107
|
+
durationRestThreshold: 0.02,
|
|
108
|
+
mass: 1,
|
|
109
|
+
overshootClamping: false,
|
|
110
|
+
stiffness: 120
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
];
|
|
114
|
+
export {
|
|
115
|
+
getPolyKeyframeEasing,
|
|
116
|
+
getOutKeyframeEasing,
|
|
117
|
+
getBackKeyframeEasing,
|
|
118
|
+
QUAD_KEYFRAME_EASING,
|
|
119
|
+
LINEAR_KEYFRAME_EASING,
|
|
120
|
+
KEYFRAME_EASING_PRESETS,
|
|
121
|
+
EASE_KEYFRAME_EASING,
|
|
122
|
+
CUBIC_KEYFRAME_EASING
|
|
123
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// src/keyframe-interpolation-function.ts
|
|
2
|
+
var keyframeInterpolationFunctions = [
|
|
3
|
+
"interpolate",
|
|
4
|
+
"interpolateColors"
|
|
5
|
+
];
|
|
6
|
+
var KEYFRAME_FIELD_TYPE_SUPPORT = {
|
|
7
|
+
array: false,
|
|
8
|
+
asset: false,
|
|
9
|
+
boolean: false,
|
|
10
|
+
"remotion-captions": false,
|
|
11
|
+
color: true,
|
|
12
|
+
enum: false,
|
|
13
|
+
"font-family": false,
|
|
14
|
+
hidden: true,
|
|
15
|
+
number: true,
|
|
16
|
+
"rotation-css": true,
|
|
17
|
+
"rotation-degrees": true,
|
|
18
|
+
scale: true,
|
|
19
|
+
"text-content": false,
|
|
20
|
+
"transform-origin": true,
|
|
21
|
+
translate: true,
|
|
22
|
+
"uv-coordinate": true
|
|
23
|
+
};
|
|
24
|
+
var KEYFRAME_FIELD_TYPE_INTERPOLATION = {
|
|
25
|
+
array: "unsupported",
|
|
26
|
+
asset: "unsupported",
|
|
27
|
+
boolean: "unsupported",
|
|
28
|
+
"remotion-captions": "unsupported",
|
|
29
|
+
color: "interpolateColors",
|
|
30
|
+
enum: "unsupported",
|
|
31
|
+
"font-family": "unsupported",
|
|
32
|
+
hidden: "infer",
|
|
33
|
+
number: "infer",
|
|
34
|
+
"rotation-css": "interpolate",
|
|
35
|
+
"rotation-degrees": "infer",
|
|
36
|
+
scale: "interpolate",
|
|
37
|
+
"text-content": "unsupported",
|
|
38
|
+
"transform-origin": "interpolate",
|
|
39
|
+
translate: "interpolate",
|
|
40
|
+
"uv-coordinate": "infer"
|
|
41
|
+
};
|
|
42
|
+
var KEYFRAME_INTERPOLATION_EASING_SUPPORT = {
|
|
43
|
+
interpolate: true,
|
|
44
|
+
interpolateColors: true
|
|
45
|
+
};
|
|
46
|
+
var isKeyframeInterpolationFunction = (name) => {
|
|
47
|
+
return keyframeInterpolationFunctions.includes(name);
|
|
48
|
+
};
|
|
49
|
+
var canEditEasingForInterpolationFunction = (interpolationFunction) => isKeyframeInterpolationFunction(interpolationFunction) && KEYFRAME_INTERPOLATION_EASING_SUPPORT[interpolationFunction];
|
|
50
|
+
var isInteractivitySchemaFieldKeyframable = (field) => {
|
|
51
|
+
if (!field) {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
return KEYFRAME_FIELD_TYPE_SUPPORT[field.type] && field.keyframable !== false;
|
|
55
|
+
};
|
|
56
|
+
var findFieldInSchema = (schema, key) => {
|
|
57
|
+
if (key in schema) {
|
|
58
|
+
return schema[key];
|
|
59
|
+
}
|
|
60
|
+
for (const field of Object.values(schema)) {
|
|
61
|
+
if (field.type !== "enum") {
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
for (const variant of Object.values(field.variants)) {
|
|
65
|
+
const found = findFieldInSchema(variant, key);
|
|
66
|
+
if (found) {
|
|
67
|
+
return found;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return;
|
|
72
|
+
};
|
|
73
|
+
var isSchemaFieldKeyframable = ({
|
|
74
|
+
schema,
|
|
75
|
+
key
|
|
76
|
+
}) => {
|
|
77
|
+
const field = schema ? findFieldInSchema(schema, key) : undefined;
|
|
78
|
+
return isInteractivitySchemaFieldKeyframable(field);
|
|
79
|
+
};
|
|
80
|
+
var getKeyframeInterpolationFunctionForSchemaField = ({
|
|
81
|
+
schema,
|
|
82
|
+
key
|
|
83
|
+
}) => {
|
|
84
|
+
const field = schema ? findFieldInSchema(schema, key) : undefined;
|
|
85
|
+
if (!field) {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
const strategy = KEYFRAME_FIELD_TYPE_INTERPOLATION[field.type];
|
|
89
|
+
return strategy === "infer" || strategy === "unsupported" ? null : strategy;
|
|
90
|
+
};
|
|
91
|
+
var getKeyframeInterpolationFunction = ({
|
|
92
|
+
schema,
|
|
93
|
+
key,
|
|
94
|
+
staticValue,
|
|
95
|
+
newValue
|
|
96
|
+
}) => {
|
|
97
|
+
const schemaFunction = getKeyframeInterpolationFunctionForSchemaField({
|
|
98
|
+
schema,
|
|
99
|
+
key
|
|
100
|
+
});
|
|
101
|
+
if (schemaFunction) {
|
|
102
|
+
return schemaFunction;
|
|
103
|
+
}
|
|
104
|
+
return typeof staticValue === "string" && typeof newValue === "string" ? "interpolateColors" : "interpolate";
|
|
105
|
+
};
|
|
106
|
+
export {
|
|
107
|
+
keyframeInterpolationFunctions,
|
|
108
|
+
isSchemaFieldKeyframable,
|
|
109
|
+
isKeyframeInterpolationFunction,
|
|
110
|
+
isInteractivitySchemaFieldKeyframable,
|
|
111
|
+
getKeyframeInterpolationFunctionForSchemaField,
|
|
112
|
+
getKeyframeInterpolationFunction,
|
|
113
|
+
canEditEasingForInterpolationFunction
|
|
114
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// src/parse-spring-easing-config.ts
|
|
2
|
+
var DEFAULT_SPRING_EASING = {
|
|
3
|
+
type: "spring",
|
|
4
|
+
allowTail: null,
|
|
5
|
+
damping: 10,
|
|
6
|
+
durationRestThreshold: null,
|
|
7
|
+
mass: 1,
|
|
8
|
+
overshootClamping: false,
|
|
9
|
+
stiffness: 100
|
|
10
|
+
};
|
|
11
|
+
var isAstNode = (value) => {
|
|
12
|
+
return typeof value === "object" && value !== null && typeof value.type === "string";
|
|
13
|
+
};
|
|
14
|
+
var getNumericValue = (node) => {
|
|
15
|
+
if (node.type === "NumericLiteral") {
|
|
16
|
+
return typeof node.value === "number" ? node.value : null;
|
|
17
|
+
}
|
|
18
|
+
if (node.type === "UnaryExpression" && (node.operator === "-" || node.operator === "+") && isAstNode(node.argument) && node.argument.type === "NumericLiteral" && typeof node.argument.value === "number") {
|
|
19
|
+
return node.operator === "-" ? -node.argument.value : node.argument.value;
|
|
20
|
+
}
|
|
21
|
+
if (node.type === "TSAsExpression" && isAstNode(node.expression)) {
|
|
22
|
+
return getNumericValue(node.expression);
|
|
23
|
+
}
|
|
24
|
+
return null;
|
|
25
|
+
};
|
|
26
|
+
var getBooleanValue = (node) => {
|
|
27
|
+
if (node.type === "BooleanLiteral") {
|
|
28
|
+
return typeof node.value === "boolean" ? node.value : null;
|
|
29
|
+
}
|
|
30
|
+
if (node.type === "TSAsExpression" && isAstNode(node.expression)) {
|
|
31
|
+
return getBooleanValue(node.expression);
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
};
|
|
35
|
+
var getObjectPropertyName = (prop) => {
|
|
36
|
+
if (prop.computed === true || !isAstNode(prop.key)) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
if (prop.key.type === "Identifier") {
|
|
40
|
+
return typeof prop.key.name === "string" ? prop.key.name : null;
|
|
41
|
+
}
|
|
42
|
+
if (prop.key.type === "StringLiteral") {
|
|
43
|
+
return typeof prop.key.value === "string" ? prop.key.value : null;
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
};
|
|
47
|
+
var parseSpringEasingConfig = (node) => {
|
|
48
|
+
if (node === undefined) {
|
|
49
|
+
return { ...DEFAULT_SPRING_EASING };
|
|
50
|
+
}
|
|
51
|
+
if (!isAstNode(node)) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
if (node.type === "TSAsExpression") {
|
|
55
|
+
return parseSpringEasingConfig(node.expression);
|
|
56
|
+
}
|
|
57
|
+
if (node.type !== "ObjectExpression" || !Array.isArray(node.properties)) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
const spring = { ...DEFAULT_SPRING_EASING };
|
|
61
|
+
for (const prop of node.properties) {
|
|
62
|
+
if (!isAstNode(prop) || prop.type !== "ObjectProperty") {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
const key = getObjectPropertyName(prop);
|
|
66
|
+
if (!key || !isAstNode(prop.value)) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
if (key === "damping" || key === "mass" || key === "stiffness" || key === "durationRestThreshold") {
|
|
70
|
+
const numericValue = getNumericValue(prop.value);
|
|
71
|
+
if (numericValue === null || !Number.isFinite(numericValue) || numericValue <= 0) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
spring[key] = numericValue;
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
if (key === "overshootClamping" || key === "allowTail") {
|
|
78
|
+
const booleanValue = getBooleanValue(prop.value);
|
|
79
|
+
if (booleanValue === null) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
spring[key] = booleanValue;
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
return spring;
|
|
88
|
+
};
|
|
89
|
+
export {
|
|
90
|
+
parseSpringEasingConfig,
|
|
91
|
+
DEFAULT_SPRING_EASING
|
|
92
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/studio-entry-points.ts
|
|
2
|
+
var getStudioEntryPoints = ({
|
|
3
|
+
fastRefreshRuntime,
|
|
4
|
+
environmentSetup,
|
|
5
|
+
sequenceStackTraces,
|
|
6
|
+
userDefinedComponent,
|
|
7
|
+
reactShim,
|
|
8
|
+
studioRenderEntry
|
|
9
|
+
}) => [
|
|
10
|
+
fastRefreshRuntime,
|
|
11
|
+
environmentSetup,
|
|
12
|
+
sequenceStackTraces,
|
|
13
|
+
userDefinedComponent,
|
|
14
|
+
reactShim,
|
|
15
|
+
studioRenderEntry
|
|
16
|
+
].filter(Boolean);
|
|
17
|
+
export {
|
|
18
|
+
getStudioEntryPoints
|
|
19
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// src/studio-html.ts
|
|
2
|
+
import { Internals, VERSION } from "remotion";
|
|
3
|
+
var studioHtml = ({
|
|
4
|
+
publicPath,
|
|
5
|
+
editorName,
|
|
6
|
+
inputProps,
|
|
7
|
+
envVariables,
|
|
8
|
+
staticHash,
|
|
9
|
+
remotionRoot,
|
|
10
|
+
studioServerCommand,
|
|
11
|
+
renderQueue,
|
|
12
|
+
completedClientRenders,
|
|
13
|
+
numberOfAudioTags,
|
|
14
|
+
publicFiles,
|
|
15
|
+
includeFavicon,
|
|
16
|
+
title,
|
|
17
|
+
renderDefaults,
|
|
18
|
+
publicFolderExists,
|
|
19
|
+
fileSystemPlatform,
|
|
20
|
+
gitSource,
|
|
21
|
+
projectName,
|
|
22
|
+
installedDependencies,
|
|
23
|
+
packageManager,
|
|
24
|
+
audioLatencyHint,
|
|
25
|
+
sampleRate,
|
|
26
|
+
logLevel,
|
|
27
|
+
mode,
|
|
28
|
+
bundleScriptUrl,
|
|
29
|
+
readOnlyStudio,
|
|
30
|
+
studioRuntimeConfig
|
|
31
|
+
}) => {
|
|
32
|
+
const scriptUrl = bundleScriptUrl ?? `${publicPath}bundle.js`;
|
|
33
|
+
const isRelativeBundle = mode === "bundle" && publicPath === "./";
|
|
34
|
+
const staticBaseValue = isRelativeBundle ? `new URL(${JSON.stringify(staticHash)}, window.location.href).pathname` : JSON.stringify(staticHash);
|
|
35
|
+
const staticFilesValue = isRelativeBundle ? `${JSON.stringify(publicFiles)}.map((file) => ({...file, src: new URL(file.src, window.location.href).pathname}))` : JSON.stringify(publicFiles);
|
|
36
|
+
const publicFolderExistsValue = isRelativeBundle && publicFolderExists ? `new URL(${JSON.stringify(publicFolderExists)}, window.location.href).pathname` : JSON.stringify(publicFolderExists);
|
|
37
|
+
return `
|
|
38
|
+
<!DOCTYPE html>
|
|
39
|
+
<html lang="en">
|
|
40
|
+
<head>
|
|
41
|
+
<meta charset="UTF-8" />
|
|
42
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
43
|
+
${includeFavicon ? `<link id="__remotion_favicon" rel="icon" type="image/png" href="${publicPath}favicon.ico" />` : ""}
|
|
44
|
+
<title>${title}</title>
|
|
45
|
+
</head>
|
|
46
|
+
<body>
|
|
47
|
+
<script>window.remotion_numberOfAudioTags = ${numberOfAudioTags};</script>
|
|
48
|
+
<script>window.remotion_audioLatencyHint = "${audioLatencyHint}";</script>
|
|
49
|
+
<script>window.remotion_sampleRate = ${sampleRate};</script>
|
|
50
|
+
<script>window.remotion_previewSampleRate = ${sampleRate};</script>
|
|
51
|
+
${mode === "dev" ? `<script>window.remotion_logLevel = "${logLevel}";</script>` : ""}
|
|
52
|
+
<script>window.remotion_staticBase = ${staticBaseValue};</script>
|
|
53
|
+
${editorName ? `<script>window.remotion_editorName = "${editorName}";</script>` : "<script>window.remotion_editorName = null;</script>"}
|
|
54
|
+
<script>window.remotion_projectName = ${JSON.stringify(projectName)};</script>
|
|
55
|
+
<script>window.remotion_publicPath = ${JSON.stringify(publicPath)};</script>
|
|
56
|
+
<script>window.remotion_audioEnabled = true;</script>
|
|
57
|
+
<script>window.remotion_videoEnabled = true;</script>
|
|
58
|
+
<script>window.remotion_studioConfig = ${JSON.stringify(studioRuntimeConfig ?? null)};</script>
|
|
59
|
+
<script>window.remotion_renderDefaults = ${JSON.stringify(renderDefaults)};</script>
|
|
60
|
+
<script>window.remotion_cwd = ${JSON.stringify(remotionRoot)};</script>
|
|
61
|
+
<script>window.remotion_fileSystemPlatform = ${JSON.stringify(fileSystemPlatform)};</script>
|
|
62
|
+
<script>window.remotion_studioServerCommand = ${studioServerCommand ? JSON.stringify(studioServerCommand) : "null"};</script>
|
|
63
|
+
${inputProps ? `<script>window.remotion_inputProps = ${JSON.stringify(JSON.stringify(inputProps))};</script>` : ""}
|
|
64
|
+
${renderQueue ? `<script>window.remotion_initialRenderQueue = ${JSON.stringify(renderQueue)};</script>` : ""}
|
|
65
|
+
${completedClientRenders ? `<script>window.remotion_initialClientRenders = ${JSON.stringify(completedClientRenders)};</script>` : ""}
|
|
66
|
+
${envVariables ? `<script>window.process = {env: ${JSON.stringify(envVariables)}};</script>` : ""}
|
|
67
|
+
${gitSource ? `<script>window.remotion_gitSource = ${JSON.stringify(gitSource)};</script>` : ""}
|
|
68
|
+
${mode === "dev" ? `
|
|
69
|
+
<script>window.remotion_isStudio = true;</script>
|
|
70
|
+
<script>window.remotion_isReadOnlyStudio = ${readOnlyStudio ? "true" : "false"};</script>`.trimStart() : ""}
|
|
71
|
+
<script>window.remotion_staticFiles = ${staticFilesValue}</script>
|
|
72
|
+
<script>window.remotion_installedPackages = ${JSON.stringify(installedDependencies)}</script>
|
|
73
|
+
<script>window.remotion_packageManager = ${JSON.stringify(packageManager)}</script>
|
|
74
|
+
<script>window.remotion_publicFolderExists = ${publicFolderExistsValue};</script>
|
|
75
|
+
<script>
|
|
76
|
+
// Increment this value when the generated bundle format or behavior changes
|
|
77
|
+
// in a backwards-incompatible way. It is not the Remotion package version
|
|
78
|
+
// and should not be bumped for every generated HTML change.
|
|
79
|
+
// Keep it synchronized with requiredVersion in
|
|
80
|
+
// packages/renderer/src/set-props-and-env.ts by incrementing both values.
|
|
81
|
+
window.siteVersion = '11';
|
|
82
|
+
window.remotion_version = '${VERSION}';
|
|
83
|
+
</script>
|
|
84
|
+
|
|
85
|
+
<div id="video-container"></div>
|
|
86
|
+
<div id="${Internals.REMOTION_STUDIO_CONTAINER_ELEMENT}"></div>
|
|
87
|
+
<div id="remotion-error-overlay"></div>
|
|
88
|
+
<div id="server-disconnected-overlay"></div>
|
|
89
|
+
<div id="menuportal-0"></div>
|
|
90
|
+
<div id="menuportal-1"></div>
|
|
91
|
+
<div id="menuportal-2"></div>
|
|
92
|
+
<div id="menuportal-3"></div>
|
|
93
|
+
<div id="menuportal-4"></div>
|
|
94
|
+
<div id="menuportal-5"></div>
|
|
95
|
+
<script src="${scriptUrl}"></script>
|
|
96
|
+
</body>
|
|
97
|
+
</html>
|
|
98
|
+
`.trim();
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
studioHtml
|
|
102
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { splitAnsi, stripAnsi } from './ansi';
|
|
2
|
-
export
|
|
2
|
+
export type { BrowserStudioOperations } from './browser-studio-operations';
|
|
3
|
+
export { AddEffectKeyframeRequest, AddEffectKeyframeResponse, AddEffectRequest, AddEffectResponse, AddKeyframesRequest, AddKeyframesResponse, AddRenderRequest, AddSequenceKeyframeRequest, AddSequenceKeyframeResponse, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, BatchUpdateEffectKeyframeSettings, BatchUpdateKeyframeSettingsRequest, BatchUpdateKeyframeSettingsResponse, BatchUpdateSequenceKeyframeSettings, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest, CaptionPatch, CancelRenderRequest, CancelRenderResponse, CompositionComponentInfoRequest, CompositionComponentInfoResponse, ConvertFigmaClipboardToSvgRequest, ConvertFigmaClipboardToSvgResponse, CopyStillToClipboardRequest, DeleteEffectKeyframe, DeleteEffectRequest, DeleteEffectRequestItem, DeleteEffectResponse, DeleteJsxNodeRequest, DeleteJsxNodeRequestItem, DeleteJsxNodeResponse, DeleteKeyframesRequest, DeleteKeyframesResponse, DeleteSequenceKeyframe, DeleteStaticFileRequest, DeleteStaticFileResponse, DownloadRemoteAssetRequest, DownloadRemoteAssetResponse, DuplicateEffectRequest, DuplicateEffectRequestItem, DuplicateEffectResponse, DuplicateJsxNodeRequest, DuplicateJsxNodeResponse, ElementInstallRequest, FindInFileRequest, FindInFileResponse, GoogleFontSourceEdit, InsertElementFileConflict, InsertElementRequest, InsertElementResponse, InsertJsxElementRequest, InsertJsxElementResponse, InsertableCompositionElement, InsertableCompositionElementPosition, InstallPackageRequest, InstallPackageResponse, LogStudioErrorRequest, LogStudioErrorResponse, MoveEffectKeyframe, MoveKeyframesRequest, MoveKeyframesResponse, MoveSequenceKeyframe, OpenInEditorRequest, OpenInEditorResponse, OpenInFileExplorerRequest, PasteEffectsRequest, PasteEffectsResponse, ProjectInfoRequest, ProjectInfoResponse, RedoRequest, RedoResponse, RemoveRenderRequest, RenameStaticFileRequest, RenameStaticFileResponse, ReorderEffectRequest, ReorderEffectResponse, ReorderSequencePosition, ReorderSequenceRequest, ReorderSequenceResponse, RestartStudioRequest, RestartStudioResponse, SaveEffectPropsRequest, SaveEffectPropsResponse, SaveMultipleEffectPropsEdit, SaveMultipleEffectPropsRequest, SaveMultipleEffectPropsResponse, SaveMultipleEffectPropsResult, SaveInlineCaptionPatchesRequest, SaveSequencePropEdit, SaveSequencePropSourceEdit, SaveSequencePropsRequest, SaveSequencePropsResponse, SaveSequencePropsResult, SimpleDiff, SplitJsxSequenceRequest, SplitJsxSequenceResponse, SubscribeToDefaultPropsRequest, SubscribeToDefaultPropsResponse, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UndoRequest, UndoResponse, UnsubscribeFromDefaultPropsRequest, UnsubscribeFromFileExistenceRequest, UnsubscribeFromSequencePropsRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, UpdateEffectKeyframeSettingsRequest, UpdateEffectKeyframeSettingsResponse, UpdateElementInstallTargetRequest, UpdateElementInstallTargetResponse, UpdatePublicLicenseRequest, UpdatePublicLicenseResponse, UpdateSequenceKeyframeSettingsRequest, UpdateSequenceKeyframeSettingsResponse, type AddEffectKeyframe, type AddSequenceKeyframe, type KeyframeSettings, } from './api-requests';
|
|
3
4
|
export type { ApplyVisualControlCodemod, RecastCodemod } from './codemods';
|
|
4
5
|
export { compositionDragDataToSymbolicatedStack } from './composition-drag-data';
|
|
5
6
|
export { DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS } from './default-buffer-state-delay-in-milliseconds';
|
|
@@ -30,6 +31,7 @@ export { getRequiredPackageForEffectImportPath, getRequiredPackageForInsertableE
|
|
|
30
31
|
export { SCHEMA_FIELD_GROUPS, SCHEMA_FIELD_ROW_HEIGHT, getEffectFieldsToShow, getFieldsToShow, getSchemaFieldGroup, } from './schema-field-info';
|
|
31
32
|
export type { AnySchemaFieldInfo, DragOverrides, EffectSchemaFieldInfo, InteractivitySchemaFieldInfo, PropStatuses, SchemaFieldGroup, SchemaFieldGroupInfo, SchemaFieldInfo, SequenceControls, } from './schema-field-info';
|
|
32
33
|
export { ScriptLine, SomeStackFrame, StackFrame, SymbolicatedStackFrame, } from './stack-types';
|
|
34
|
+
export { BORDER_RADIUS_LONGHAND_KEYS, BORDER_RADIUS_SHORTHAND_KEY, getStylePropertyLonghandKeys, } from './style-property-relations';
|
|
33
35
|
export { EnumPath, stringifyDefaultProps } from './stringify-default-props';
|
|
34
36
|
export { getStudioEntryPoints, type StudioEntryPointPaths, } from './studio-entry-points';
|
|
35
37
|
export { studioHtml, type StudioHtmlOptions } from './studio-html';
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.DEFAULT_SPRING_EASING = exports.packages = exports.installableMap = exports.extraPackages = exports.descriptions = exports.apiDocs = exports.DEFAULT_TIMELINE_TRACKS = exports.parseKeyframeClipboardDataResult = exports.parseKeyframeClipboardData = exports.isKeyframeClipboardFieldType = exports.keyframeInterpolationFunctions = exports.isSchemaFieldKeyframable = exports.isKeyframeInterpolationFunction = exports.isInteractivitySchemaFieldKeyframable = exports.getKeyframeInterpolationFunctionForSchemaField = exports.getKeyframeInterpolationFunction = exports.canEditEasingForInterpolationFunction = exports.getPolyKeyframeEasing = exports.getOutKeyframeEasing = exports.getBackKeyframeEasing = exports.QUAD_KEYFRAME_EASING = exports.LINEAR_KEYFRAME_EASING = exports.KEYFRAME_EASING_PRESETS = exports.EASE_KEYFRAME_EASING = exports.CUBIC_KEYFRAME_EASING = exports.hotMiddlewareOptions = exports.getProjectName = exports.getLocationFromBuildError = exports.getDefaultOutLocation = exports.getAssetSchemaKeys = exports.getAllSchemaKeys = exports.formatBytes = exports.parseEffectPropClipboardDataResult = exports.parseEffectPropClipboardData = exports.parseEffectClipboardDataResult = exports.parseEffectClipboardData = exports.getEffectPreviewSource = exports.getEffectPreviewAlt = exports.getEffectDocumentationPath = exports.getEffectDocumentationLink = exports.getEffectCatalogCategories = exports.EFFECT_CATALOG = exports.parseEasingClipboardDataResult = exports.parseEasingClipboardData = exports.isImageFileType = exports.detectFileType = exports.DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS = exports.compositionDragDataToSymbolicatedStack = exports.stripAnsi = exports.splitAnsi = void 0;
|
|
18
|
-
exports.isUrl = exports.stringifySequenceSubscriptionKey = exports.stringifySequenceExpandedRowKey = exports.optimisticUpdateSequenceKeyframeSettings = exports.optimisticUpdateEffectKeyframeSettings = exports.optimisticUpdateForPropStatuses = exports.optimisticUpdateForEffectPropStatuses = exports.optimisticMoveSequenceKeyframes = exports.optimisticMoveEffectKeyframes = exports.moveKeyframesInPropStatus = exports.canMoveKeyframesWithoutCollisions = exports.optimisticDeleteSequenceKeyframes = exports.optimisticDeleteSequenceKeyframe = exports.optimisticDeleteEffectKeyframes = exports.optimisticDeleteEffectKeyframe = exports.optimisticAddSequenceKeyframe = exports.optimisticAddEffectKeyframe = exports.studioHtml = exports.getStudioEntryPoints = exports.stringifyDefaultProps = exports.getSchemaFieldGroup = exports.getFieldsToShow = exports.getEffectFieldsToShow = exports.SCHEMA_FIELD_ROW_HEIGHT = exports.SCHEMA_FIELD_GROUPS = exports.isValidPackageName = exports.getRequiredPackageForInsertableElement = exports.getRequiredPackageForEffectImportPath = exports.parseSpringEasingConfig = void 0;
|
|
18
|
+
exports.isUrl = exports.stringifySequenceSubscriptionKey = exports.stringifySequenceExpandedRowKey = exports.optimisticUpdateSequenceKeyframeSettings = exports.optimisticUpdateEffectKeyframeSettings = exports.optimisticUpdateForPropStatuses = exports.optimisticUpdateForEffectPropStatuses = exports.optimisticMoveSequenceKeyframes = exports.optimisticMoveEffectKeyframes = exports.moveKeyframesInPropStatus = exports.canMoveKeyframesWithoutCollisions = exports.optimisticDeleteSequenceKeyframes = exports.optimisticDeleteSequenceKeyframe = exports.optimisticDeleteEffectKeyframes = exports.optimisticDeleteEffectKeyframe = exports.optimisticAddSequenceKeyframe = exports.optimisticAddEffectKeyframe = exports.studioHtml = exports.getStudioEntryPoints = exports.stringifyDefaultProps = exports.getStylePropertyLonghandKeys = exports.BORDER_RADIUS_SHORTHAND_KEY = exports.BORDER_RADIUS_LONGHAND_KEYS = exports.getSchemaFieldGroup = exports.getFieldsToShow = exports.getEffectFieldsToShow = exports.SCHEMA_FIELD_ROW_HEIGHT = exports.SCHEMA_FIELD_GROUPS = exports.isValidPackageName = exports.getRequiredPackageForInsertableElement = exports.getRequiredPackageForEffectImportPath = exports.parseSpringEasingConfig = void 0;
|
|
19
19
|
const ansi_1 = require("./ansi");
|
|
20
20
|
Object.defineProperty(exports, "splitAnsi", { enumerable: true, get: function () { return ansi_1.splitAnsi; } });
|
|
21
21
|
Object.defineProperty(exports, "stripAnsi", { enumerable: true, get: function () { return ansi_1.stripAnsi; } });
|
|
@@ -97,6 +97,10 @@ Object.defineProperty(exports, "SCHEMA_FIELD_ROW_HEIGHT", { enumerable: true, ge
|
|
|
97
97
|
Object.defineProperty(exports, "getEffectFieldsToShow", { enumerable: true, get: function () { return schema_field_info_1.getEffectFieldsToShow; } });
|
|
98
98
|
Object.defineProperty(exports, "getFieldsToShow", { enumerable: true, get: function () { return schema_field_info_1.getFieldsToShow; } });
|
|
99
99
|
Object.defineProperty(exports, "getSchemaFieldGroup", { enumerable: true, get: function () { return schema_field_info_1.getSchemaFieldGroup; } });
|
|
100
|
+
const style_property_relations_1 = require("./style-property-relations");
|
|
101
|
+
Object.defineProperty(exports, "BORDER_RADIUS_LONGHAND_KEYS", { enumerable: true, get: function () { return style_property_relations_1.BORDER_RADIUS_LONGHAND_KEYS; } });
|
|
102
|
+
Object.defineProperty(exports, "BORDER_RADIUS_SHORTHAND_KEY", { enumerable: true, get: function () { return style_property_relations_1.BORDER_RADIUS_SHORTHAND_KEY; } });
|
|
103
|
+
Object.defineProperty(exports, "getStylePropertyLonghandKeys", { enumerable: true, get: function () { return style_property_relations_1.getStylePropertyLonghandKeys; } });
|
|
100
104
|
const stringify_default_props_1 = require("./stringify-default-props");
|
|
101
105
|
Object.defineProperty(exports, "stringifyDefaultProps", { enumerable: true, get: function () { return stringify_default_props_1.stringifyDefaultProps; } });
|
|
102
106
|
const studio_entry_points_1 = require("./studio-entry-points");
|
|
@@ -11,6 +11,7 @@ const KEYFRAME_FIELD_TYPE_SUPPORT = {
|
|
|
11
11
|
array: false,
|
|
12
12
|
asset: false,
|
|
13
13
|
boolean: false,
|
|
14
|
+
'remotion-captions': false,
|
|
14
15
|
color: true,
|
|
15
16
|
enum: false,
|
|
16
17
|
'font-family': false,
|
|
@@ -28,6 +29,7 @@ const KEYFRAME_FIELD_TYPE_INTERPOLATION = {
|
|
|
28
29
|
array: 'unsupported',
|
|
29
30
|
asset: 'unsupported',
|
|
30
31
|
boolean: 'unsupported',
|
|
32
|
+
'remotion-captions': 'unsupported',
|
|
31
33
|
color: 'interpolateColors',
|
|
32
34
|
enum: 'unsupported',
|
|
33
35
|
'font-family': 'unsupported',
|
package/dist/package-info.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const allPackages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "brand", "bundler", "browser-studio", "canvas-capture", "claude-code-plugin", "cli", "cloudrun", "codex-plugin", "kimi-code-plugin", "compositor-darwin-arm64", "compositor-darwin-x64", "compositor-linux-arm64-gnu", "compositor-linux-arm64-musl", "compositor-linux-x64-gnu", "compositor-linux-x64-musl", "compositor-win32-x64-msvc", "core", "create-video", "discord-poster", "docusaurus-plugin", "docs", "enable-scss", "eslint-config", "eslint-config-flat", "eslint-config-internal", "eslint-plugin", "example-without-zod", "example", "fonts", "gif", "google-fonts", "install-whisper-cpp", "it-tests", "react18-tests", "lambda-go-example", "lambda-go", "lambda-php", "lambda-ruby", "lambda-python", "lambda", "lambda-client", "layout-utils", "rounded-text-box", "licensing", "lottie", "mcp", "media-utils", "motion-blur", "noise", "paths", "player-a11y", "player-example", "player", "preload", "renderer", "rive", "shapes", "skia", "promo-pages", "streaming", "serverless", "serverless-client", "skills", "skills-evals", "studio-server", "studio-shared", "studio", "tailwind", "tailwind-v4", "timeline-utils", "test-utils", "three", "transitions", "media-parser", "zod-types", "zod-types-v3", "webcodecs", "convert", "captions", "openai-whisper", "elevenlabs", "compositor", "example-videos", "whisper-web", "media", "remotion-media", "web-renderer", "design", "
|
|
1
|
+
declare const allPackages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "brand", "bundler", "browser-studio", "canvas-capture", "claude-code-plugin", "cli", "cloudrun", "codex-plugin", "kimi-code-plugin", "compositor-darwin-arm64", "compositor-darwin-x64", "compositor-linux-arm64-gnu", "compositor-linux-arm64-musl", "compositor-linux-x64-gnu", "compositor-linux-x64-musl", "compositor-win32-x64-msvc", "core", "create-video", "discord-poster", "docusaurus-plugin", "docs", "enable-scss", "eslint-config", "eslint-config-flat", "eslint-config-internal", "eslint-plugin", "example-without-zod", "example", "fonts", "gif", "google-fonts", "install-whisper-cpp", "it-tests", "react18-tests", "lambda-go-example", "lambda-go", "lambda-php", "lambda-ruby", "lambda-python", "lambda", "lambda-client", "layout-utils", "rounded-text-box", "licensing", "lottie", "mcp", "media-utils", "motion-blur", "noise", "paths", "player-a11y", "player-example", "player", "preload", "renderer", "rive", "shapes", "skia", "promo-pages", "streaming", "serverless", "serverless-client", "skills", "skills-evals", "studio-codemods", "studio-server", "studio-shared", "studio", "tailwind", "tailwind-v4", "timeline-utils", "test-utils", "three", "transitions", "media-parser", "zod-types", "zod-types-v3", "webcodecs", "convert", "captions", "openai-whisper", "elevenlabs", "compositor", "example-videos", "whisper-web", "media", "remotion-media", "web-renderer", "design", "studio-protocol", "light-leaks", "rough-notation", "starburst", "vercel", "sfx", "effects"];
|
|
2
2
|
export type Pkgs = (typeof allPackages)[number];
|
|
3
|
-
export declare const packages: ("animated-emoji" | "animation-utils" | "astro-example" | "babel-loader" | "brand" | "browser-studio" | "bugs" | "bundler" | "canvas-capture" | "captions" | "claude-code-plugin" | "cli" | "cloudrun" | "codex-plugin" | "compositor" | "compositor-darwin-arm64" | "compositor-darwin-x64" | "compositor-linux-arm64-gnu" | "compositor-linux-arm64-musl" | "compositor-linux-x64-gnu" | "compositor-linux-x64-musl" | "compositor-win32-x64-msvc" | "convert" | "core" | "create-video" | "design" | "discord-poster" | "docs" | "docusaurus-plugin" | "
|
|
3
|
+
export declare const packages: ("animated-emoji" | "animation-utils" | "astro-example" | "babel-loader" | "brand" | "browser-studio" | "bugs" | "bundler" | "canvas-capture" | "captions" | "claude-code-plugin" | "cli" | "cloudrun" | "codex-plugin" | "compositor" | "compositor-darwin-arm64" | "compositor-darwin-x64" | "compositor-linux-arm64-gnu" | "compositor-linux-arm64-musl" | "compositor-linux-x64-gnu" | "compositor-linux-x64-musl" | "compositor-win32-x64-msvc" | "convert" | "core" | "create-video" | "design" | "discord-poster" | "docs" | "docusaurus-plugin" | "effects" | "elevenlabs" | "enable-scss" | "eslint-config" | "eslint-config-flat" | "eslint-config-internal" | "eslint-plugin" | "example" | "example-videos" | "example-without-zod" | "fonts" | "gif" | "google-fonts" | "install-whisper-cpp" | "it-tests" | "kimi-code-plugin" | "lambda" | "lambda-client" | "lambda-go" | "lambda-go-example" | "lambda-php" | "lambda-python" | "lambda-ruby" | "layout-utils" | "licensing" | "light-leaks" | "lottie" | "mcp" | "media" | "media-parser" | "media-utils" | "motion-blur" | "noise" | "openai-whisper" | "paths" | "player" | "player-a11y" | "player-example" | "preload" | "promo-pages" | "react18-tests" | "remotion-media" | "renderer" | "rive" | "rough-notation" | "rounded-text-box" | "serverless" | "serverless-client" | "sfx" | "shapes" | "skia" | "skills" | "skills-evals" | "starburst" | "streaming" | "studio" | "studio-codemods" | "studio-protocol" | "studio-server" | "studio-shared" | "svg-3d-engine" | "tailwind" | "tailwind-v4" | "test-utils" | "three" | "timeline-utils" | "transitions" | "vercel" | "web-renderer" | "webcodecs" | "whisper-web" | "zod-types" | "zod-types-v3")[];
|
|
4
4
|
export type ExtraPackage = {
|
|
5
5
|
name: string;
|
|
6
6
|
version: string;
|
package/dist/package-info.js
CHANGED
|
@@ -74,6 +74,7 @@ const allPackages = [
|
|
|
74
74
|
'serverless-client',
|
|
75
75
|
'skills',
|
|
76
76
|
'skills-evals',
|
|
77
|
+
'studio-codemods',
|
|
77
78
|
'studio-server',
|
|
78
79
|
'studio-shared',
|
|
79
80
|
'studio',
|
|
@@ -98,7 +99,7 @@ const allPackages = [
|
|
|
98
99
|
'remotion-media',
|
|
99
100
|
'web-renderer',
|
|
100
101
|
'design',
|
|
101
|
-
'
|
|
102
|
+
'studio-protocol',
|
|
102
103
|
'light-leaks',
|
|
103
104
|
'rough-notation',
|
|
104
105
|
'starburst',
|
|
@@ -150,6 +151,7 @@ exports.descriptions = {
|
|
|
150
151
|
bundler: 'Bundle Remotion compositions using Webpack',
|
|
151
152
|
'browser-studio': 'Run Remotion Studio in the browser',
|
|
152
153
|
'canvas-capture': 'Capture HTML-in-canvas content as a video',
|
|
154
|
+
'studio-codemods': 'Shared codemods for Remotion Studio',
|
|
153
155
|
'studio-server': 'Run a Remotion Studio with a server backend',
|
|
154
156
|
'install-whisper-cpp': 'Helpers for installing and using Whisper.cpp',
|
|
155
157
|
'whisper-web': 'Helpers for using Whisper.cpp in browser using WASM',
|
|
@@ -230,7 +232,7 @@ exports.descriptions = {
|
|
|
230
232
|
'remotion-media': null,
|
|
231
233
|
'web-renderer': 'Render videos in the browser',
|
|
232
234
|
design: 'Design system',
|
|
233
|
-
'
|
|
235
|
+
'studio-protocol': 'Create Element payloads and request installation into Remotion Studio',
|
|
234
236
|
'light-leaks': 'Light leak effects for Remotion',
|
|
235
237
|
'rough-notation': 'Rough annotation primitives for Remotion',
|
|
236
238
|
'player-a11y': 'Internal accessibility wrapper around @remotion/player',
|
|
@@ -311,6 +313,7 @@ exports.installableMap = {
|
|
|
311
313
|
'promo-pages': false,
|
|
312
314
|
streaming: false,
|
|
313
315
|
serverless: false,
|
|
316
|
+
'studio-codemods': false,
|
|
314
317
|
'studio-server': false,
|
|
315
318
|
'studio-shared': false,
|
|
316
319
|
studio: true,
|
|
@@ -340,7 +343,7 @@ exports.installableMap = {
|
|
|
340
343
|
'remotion-media': false,
|
|
341
344
|
'web-renderer': false,
|
|
342
345
|
design: false,
|
|
343
|
-
'
|
|
346
|
+
'studio-protocol': true,
|
|
344
347
|
'light-leaks': (0, release_package_policy_1.shouldReleasePackage)({
|
|
345
348
|
packageName: '@remotion/light-leaks',
|
|
346
349
|
releaseVersion: remotion_1.VERSION,
|
|
@@ -367,6 +370,7 @@ exports.apiDocs = {
|
|
|
367
370
|
bundler: 'https://www.remotion.dev/docs/bundler',
|
|
368
371
|
'browser-studio': null,
|
|
369
372
|
'canvas-capture': null,
|
|
373
|
+
'studio-codemods': null,
|
|
370
374
|
'lambda-client': null,
|
|
371
375
|
'serverless-client': null,
|
|
372
376
|
'studio-server': null,
|
|
@@ -449,7 +453,7 @@ exports.apiDocs = {
|
|
|
449
453
|
media: 'https://remotion.dev/docs/media',
|
|
450
454
|
'web-renderer': 'https://www.remotion.dev/docs/web-renderer/',
|
|
451
455
|
design: 'https://www.remotion.dev/design',
|
|
452
|
-
'
|
|
456
|
+
'studio-protocol': 'https://www.remotion.dev/docs/studio-protocol',
|
|
453
457
|
'light-leaks': 'https://www.remotion.dev/docs/light-leaks',
|
|
454
458
|
'rough-notation': 'https://www.remotion.dev/docs/rough-notation',
|
|
455
459
|
starburst: 'https://www.remotion.dev/docs/starburst',
|
|
@@ -18,7 +18,7 @@ export type EffectSchemaFieldInfo = SchemaFieldInfo & {
|
|
|
18
18
|
};
|
|
19
19
|
export type AnySchemaFieldInfo = InteractivitySchemaFieldInfo | EffectSchemaFieldInfo;
|
|
20
20
|
export declare const SCHEMA_FIELD_ROW_HEIGHT = 22;
|
|
21
|
-
export type SchemaFieldGroup = 'source' | 'controls' | 'transforms' | 'background' | 'border' | 'crop' | 'text' | 'layout';
|
|
21
|
+
export type SchemaFieldGroup = 'source' | 'controls' | 'transforms' | 'background' | 'border' | 'border-radius' | 'crop' | 'text' | 'layout';
|
|
22
22
|
export type SchemaFieldGroupInfo = {
|
|
23
23
|
readonly id: SchemaFieldGroup;
|
|
24
24
|
readonly label: string;
|
|
@@ -41,6 +41,9 @@ export declare const SCHEMA_FIELD_GROUPS: readonly [{
|
|
|
41
41
|
}, {
|
|
42
42
|
readonly id: "border";
|
|
43
43
|
readonly label: "Border";
|
|
44
|
+
}, {
|
|
45
|
+
readonly id: "border-radius";
|
|
46
|
+
readonly label: "Border radius";
|
|
44
47
|
}, {
|
|
45
48
|
readonly id: "crop";
|
|
46
49
|
readonly label: "Crop";
|
|
@@ -53,6 +56,7 @@ declare const TIMELINE_SCHEMA_FIELD_TYPE_SUPPORT: {
|
|
|
53
56
|
readonly array: true;
|
|
54
57
|
readonly asset: true;
|
|
55
58
|
readonly boolean: true;
|
|
59
|
+
readonly 'remotion-captions': false;
|
|
56
60
|
readonly color: true;
|
|
57
61
|
readonly enum: true;
|
|
58
62
|
readonly 'font-family': true;
|