remotion 4.0.479 → 4.0.481
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/cjs/CompositionManager.d.ts +1 -0
- package/dist/cjs/HtmlInCanvas.js +1 -0
- package/dist/cjs/Img.js +1 -0
- package/dist/cjs/Interactive.d.ts +2 -1
- package/dist/cjs/Interactive.js +1 -0
- package/dist/cjs/Sequence.js +2 -0
- package/dist/cjs/animated-image/AnimatedImage.js +1 -0
- package/dist/cjs/canvas-image/CanvasImage.js +1 -0
- package/dist/cjs/effects/Solid.js +1 -0
- package/dist/cjs/series/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/with-interactivity-schema.d.ts +2 -1
- package/dist/cjs/with-interactivity-schema.js +2 -1
- package/dist/esm/index.mjs +13 -2
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
package/dist/cjs/HtmlInCanvas.js
CHANGED
|
@@ -299,6 +299,7 @@ const htmlInCanvasSchema = {
|
|
|
299
299
|
};
|
|
300
300
|
const HtmlInCanvasWrapped = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
301
301
|
Component: HtmlInCanvasInner,
|
|
302
|
+
componentName: '<HtmlInCanvas>',
|
|
302
303
|
componentIdentity: 'dev.remotion.remotion.HtmlInCanvas',
|
|
303
304
|
schema: htmlInCanvasSchema,
|
|
304
305
|
supportsEffects: true,
|
package/dist/cjs/Img.js
CHANGED
|
@@ -260,6 +260,7 @@ const ImgInner = ({ effects = [], ref, hidden, name, stack, showInTimeline, src,
|
|
|
260
260
|
*/
|
|
261
261
|
exports.Img = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
262
262
|
Component: ImgInner,
|
|
263
|
+
componentName: '<Img>',
|
|
263
264
|
componentIdentity: 'dev.remotion.remotion.Img',
|
|
264
265
|
schema: exports.imgSchema,
|
|
265
266
|
supportsEffects: true,
|
|
@@ -193,10 +193,11 @@ export declare const Interactive: {
|
|
|
193
193
|
};
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
|
-
withSchema: <S extends InteractivitySchema, Props extends object>({ Component, componentIdentity, schema, supportsEffects, }: {
|
|
196
|
+
withSchema: <S extends InteractivitySchema, Props extends object>({ Component, componentName, componentIdentity, schema, supportsEffects, }: {
|
|
197
197
|
Component: React.ComponentType<Props & {
|
|
198
198
|
readonly controls: SequenceControls | undefined;
|
|
199
199
|
}>;
|
|
200
|
+
componentName: string;
|
|
200
201
|
componentIdentity: string | null;
|
|
201
202
|
schema: S;
|
|
202
203
|
supportsEffects: boolean;
|
package/dist/cjs/Interactive.js
CHANGED
|
@@ -68,6 +68,7 @@ const makeInteractiveElement = (tag, displayName) => {
|
|
|
68
68
|
Inner.displayName = displayName;
|
|
69
69
|
const Wrapped = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
70
70
|
Component: Inner,
|
|
71
|
+
componentName: displayName,
|
|
71
72
|
componentIdentity: `dev.remotion.remotion.${displayName.slice(1, -1)}`,
|
|
72
73
|
schema: interactiveElementSchema,
|
|
73
74
|
supportsEffects: false,
|
package/dist/cjs/Sequence.js
CHANGED
|
@@ -377,12 +377,14 @@ exports.SequenceWithoutSchema = SequenceInner;
|
|
|
377
377
|
*/
|
|
378
378
|
exports.Sequence = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
379
379
|
Component: SequenceInner,
|
|
380
|
+
componentName: '<Sequence>',
|
|
380
381
|
componentIdentity: 'dev.remotion.remotion.Sequence',
|
|
381
382
|
schema: interactivity_schema_js_1.sequenceSchema,
|
|
382
383
|
supportsEffects: false,
|
|
383
384
|
});
|
|
384
385
|
exports.SequenceWithoutFrom = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
385
386
|
Component: SequenceInner,
|
|
387
|
+
componentName: '<Sequence>',
|
|
386
388
|
componentIdentity: null,
|
|
387
389
|
schema: interactivity_schema_js_1.sequenceSchemaWithoutFrom,
|
|
388
390
|
supportsEffects: false,
|
|
@@ -175,6 +175,7 @@ const AnimatedImageInner = ({ src, width, height, onError, fit, playbackRate, lo
|
|
|
175
175
|
};
|
|
176
176
|
exports.AnimatedImage = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
177
177
|
Component: AnimatedImageInner,
|
|
178
|
+
componentName: '<AnimatedImage>',
|
|
178
179
|
componentIdentity: 'dev.remotion.remotion.AnimatedImage',
|
|
179
180
|
schema: animatedImageSchema,
|
|
180
181
|
supportsEffects: true,
|
|
@@ -298,6 +298,7 @@ const CanvasImageInner = (0, react_1.forwardRef)(({ src, width, height, fit, eff
|
|
|
298
298
|
*/
|
|
299
299
|
exports.CanvasImage = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
300
300
|
Component: CanvasImageInner,
|
|
301
|
+
componentName: '<CanvasImage>',
|
|
301
302
|
componentIdentity: 'dev.remotion.remotion.CanvasImage',
|
|
302
303
|
schema: exports.canvasImageSchema,
|
|
303
304
|
supportsEffects: true,
|
|
@@ -150,6 +150,7 @@ const SolidOuter = (0, react_1.forwardRef)(({ effects = [], controls, color, hei
|
|
|
150
150
|
});
|
|
151
151
|
exports.Solid = (0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
152
152
|
Component: SolidOuter,
|
|
153
|
+
componentName: '<Solid>',
|
|
153
154
|
componentIdentity: 'dev.remotion.remotion.Solid',
|
|
154
155
|
schema: solidSchema,
|
|
155
156
|
supportsEffects: true,
|
package/dist/cjs/series/index.js
CHANGED
|
@@ -67,6 +67,7 @@ const SeriesInner = (props) => {
|
|
|
67
67
|
*/
|
|
68
68
|
const Series = Object.assign((0, with_interactivity_schema_js_1.withInteractivitySchema)({
|
|
69
69
|
Component: SeriesInner,
|
|
70
|
+
componentName: '<Series>',
|
|
70
71
|
componentIdentity: 'dev.remotion.remotion.Series',
|
|
71
72
|
schema: interactivity_schema_js_1.sequenceSchemaDefaultLayoutNone,
|
|
72
73
|
supportsEffects: false,
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
|
@@ -10,10 +10,11 @@ export declare const mergeValues: ({ props, valuesDotNotation, schemaKeys, props
|
|
|
10
10
|
schemaKeys: string[];
|
|
11
11
|
propsToDelete: Set<string>;
|
|
12
12
|
}) => Record<string, unknown>;
|
|
13
|
-
export declare const withInteractivitySchema: <S extends InteractivitySchema, Props extends object>({ Component, componentIdentity, schema, supportsEffects, }: {
|
|
13
|
+
export declare const withInteractivitySchema: <S extends InteractivitySchema, Props extends object>({ Component, componentName, componentIdentity, schema, supportsEffects, }: {
|
|
14
14
|
Component: React.ComponentType<Props & {
|
|
15
15
|
readonly controls: SequenceControls | undefined;
|
|
16
16
|
}>;
|
|
17
|
+
componentName: string;
|
|
17
18
|
componentIdentity: string | null;
|
|
18
19
|
schema: S;
|
|
19
20
|
supportsEffects: boolean;
|
|
@@ -98,7 +98,7 @@ const mergeValues = ({ props, valuesDotNotation, schemaKeys, propsToDelete, }) =
|
|
|
98
98
|
};
|
|
99
99
|
exports.mergeValues = mergeValues;
|
|
100
100
|
const stackToOverrideMap = {};
|
|
101
|
-
const withInteractivitySchema = ({ Component, componentIdentity, schema, supportsEffects, }) => {
|
|
101
|
+
const withInteractivitySchema = ({ Component, componentName, componentIdentity, schema, supportsEffects, }) => {
|
|
102
102
|
// Schema is static for a component, so we move this outside
|
|
103
103
|
const schemaWithSequenceName = (0, interactivity_schema_js_1.extendSchemaWithSequenceName)(schema);
|
|
104
104
|
const flatSchema = (0, flatten_schema_js_1.getFlatSchemaWithAllKeys)(schemaWithSequenceName);
|
|
@@ -161,6 +161,7 @@ const withInteractivitySchema = ({ Component, componentIdentity, schema, support
|
|
|
161
161
|
overrideId,
|
|
162
162
|
supportsEffects,
|
|
163
163
|
componentIdentity,
|
|
164
|
+
componentName,
|
|
164
165
|
};
|
|
165
166
|
}, [currentRuntimeValueDotNotation, overrideId]);
|
|
166
167
|
// 3. Apply drag/code overrides on top of the runtime values.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1291,7 +1291,7 @@ var addSequenceStackTraces = (component) => {
|
|
|
1291
1291
|
};
|
|
1292
1292
|
|
|
1293
1293
|
// src/version.ts
|
|
1294
|
-
var VERSION = "4.0.
|
|
1294
|
+
var VERSION = "4.0.481";
|
|
1295
1295
|
|
|
1296
1296
|
// src/multiple-versions-warning.ts
|
|
1297
1297
|
var checkMultipleRemotionVersions = () => {
|
|
@@ -4108,6 +4108,7 @@ var mergeValues = ({
|
|
|
4108
4108
|
var stackToOverrideMap = {};
|
|
4109
4109
|
var withInteractivitySchema = ({
|
|
4110
4110
|
Component,
|
|
4111
|
+
componentName,
|
|
4111
4112
|
componentIdentity,
|
|
4112
4113
|
schema,
|
|
4113
4114
|
supportsEffects
|
|
@@ -4156,7 +4157,8 @@ var withInteractivitySchema = ({
|
|
|
4156
4157
|
currentRuntimeValueDotNotation,
|
|
4157
4158
|
overrideId,
|
|
4158
4159
|
supportsEffects,
|
|
4159
|
-
componentIdentity
|
|
4160
|
+
componentIdentity,
|
|
4161
|
+
componentName
|
|
4160
4162
|
};
|
|
4161
4163
|
}, [currentRuntimeValueDotNotation, overrideId]);
|
|
4162
4164
|
const { merged: valuesDotNotation, propsToDelete } = useMemo13(() => {
|
|
@@ -4541,12 +4543,14 @@ var SequenceInner = forwardRef3(SequenceRefForwardingFunction);
|
|
|
4541
4543
|
var SequenceWithoutSchema = SequenceInner;
|
|
4542
4544
|
var Sequence = withInteractivitySchema({
|
|
4543
4545
|
Component: SequenceInner,
|
|
4546
|
+
componentName: "<Sequence>",
|
|
4544
4547
|
componentIdentity: "dev.remotion.remotion.Sequence",
|
|
4545
4548
|
schema: sequenceSchema,
|
|
4546
4549
|
supportsEffects: false
|
|
4547
4550
|
});
|
|
4548
4551
|
var SequenceWithoutFrom = withInteractivitySchema({
|
|
4549
4552
|
Component: SequenceInner,
|
|
4553
|
+
componentName: "<Sequence>",
|
|
4550
4554
|
componentIdentity: null,
|
|
4551
4555
|
schema: sequenceSchemaWithoutFrom,
|
|
4552
4556
|
supportsEffects: false
|
|
@@ -5321,6 +5325,7 @@ var AnimatedImageInner = ({
|
|
|
5321
5325
|
};
|
|
5322
5326
|
var AnimatedImage = withInteractivitySchema({
|
|
5323
5327
|
Component: AnimatedImageInner,
|
|
5328
|
+
componentName: "<AnimatedImage>",
|
|
5324
5329
|
componentIdentity: "dev.remotion.remotion.AnimatedImage",
|
|
5325
5330
|
schema: animatedImageSchema,
|
|
5326
5331
|
supportsEffects: true
|
|
@@ -8676,6 +8681,7 @@ var SolidOuter = forwardRef8(({
|
|
|
8676
8681
|
});
|
|
8677
8682
|
var Solid = withInteractivitySchema({
|
|
8678
8683
|
Component: SolidOuter,
|
|
8684
|
+
componentName: "<Solid>",
|
|
8679
8685
|
componentIdentity: "dev.remotion.remotion.Solid",
|
|
8680
8686
|
schema: solidSchema,
|
|
8681
8687
|
supportsEffects: true
|
|
@@ -9010,6 +9016,7 @@ var htmlInCanvasSchema = {
|
|
|
9010
9016
|
};
|
|
9011
9017
|
var HtmlInCanvasWrapped = withInteractivitySchema({
|
|
9012
9018
|
Component: HtmlInCanvasInner,
|
|
9019
|
+
componentName: "<HtmlInCanvas>",
|
|
9013
9020
|
componentIdentity: "dev.remotion.remotion.HtmlInCanvas",
|
|
9014
9021
|
schema: htmlInCanvasSchema,
|
|
9015
9022
|
supportsEffects: true
|
|
@@ -9393,6 +9400,7 @@ var CanvasImageInner = forwardRef10(({
|
|
|
9393
9400
|
});
|
|
9394
9401
|
var CanvasImage = withInteractivitySchema({
|
|
9395
9402
|
Component: CanvasImageInner,
|
|
9403
|
+
componentName: "<CanvasImage>",
|
|
9396
9404
|
componentIdentity: "dev.remotion.remotion.CanvasImage",
|
|
9397
9405
|
schema: canvasImageSchema,
|
|
9398
9406
|
supportsEffects: true
|
|
@@ -9797,6 +9805,7 @@ var ImgInner = ({
|
|
|
9797
9805
|
};
|
|
9798
9806
|
var Img = withInteractivitySchema({
|
|
9799
9807
|
Component: ImgInner,
|
|
9808
|
+
componentName: "<Img>",
|
|
9800
9809
|
componentIdentity: "dev.remotion.remotion.Img",
|
|
9801
9810
|
schema: imgSchema,
|
|
9802
9811
|
supportsEffects: true
|
|
@@ -9855,6 +9864,7 @@ var makeInteractiveElement = (tag, displayName) => {
|
|
|
9855
9864
|
Inner.displayName = displayName;
|
|
9856
9865
|
const Wrapped = withInteractivitySchema({
|
|
9857
9866
|
Component: Inner,
|
|
9867
|
+
componentName: displayName,
|
|
9858
9868
|
componentIdentity: `dev.remotion.remotion.${displayName.slice(1, -1)}`,
|
|
9859
9869
|
schema: interactiveElementSchema,
|
|
9860
9870
|
supportsEffects: false
|
|
@@ -11555,6 +11565,7 @@ var SeriesInner = (props2) => {
|
|
|
11555
11565
|
};
|
|
11556
11566
|
var Series = Object.assign(withInteractivitySchema({
|
|
11557
11567
|
Component: SeriesInner,
|
|
11568
|
+
componentName: "<Series>",
|
|
11558
11569
|
componentIdentity: "dev.remotion.remotion.Series",
|
|
11559
11570
|
schema: sequenceSchemaDefaultLayoutNone,
|
|
11560
11571
|
supportsEffects: false
|
package/dist/esm/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"
|
|
4
4
|
},
|
|
5
5
|
"name": "remotion",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.481",
|
|
7
7
|
"description": "Make videos programmatically",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-dom": "19.2.3",
|
|
36
36
|
"webpack": "5.105.0",
|
|
37
37
|
"zod": "4.3.6",
|
|
38
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
38
|
+
"@remotion/eslint-config-internal": "4.0.481",
|
|
39
39
|
"eslint": "9.19.0",
|
|
40
40
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
41
41
|
},
|