@remotion/gif 4.0.455 → 4.0.457

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/Gif.d.ts CHANGED
@@ -7,6 +7,6 @@ export type GifProps = Omit<SequenceProps, 'children' | 'durationInFrames' | 'la
7
7
  export declare const Gif: React.ComponentType<Omit<SequenceProps, "children" | "durationInFrames" | "layout"> & RemotionGifProps & {
8
8
  readonly durationInFrames?: number | undefined;
9
9
  } & {
10
- readonly controls?: SequenceControls | undefined;
10
+ readonly _experimentalControls?: SequenceControls | undefined;
11
11
  readonly ref?: React.Ref<HTMLCanvasElement> | undefined;
12
12
  }>;
package/dist/cjs/Gif.js CHANGED
@@ -47,7 +47,7 @@ const gifSchema = {
47
47
  description: 'Opacity',
48
48
  },
49
49
  };
50
- const GifInner = ({ src, width, height, onLoad, onError, fit, playbackRate, loopBehavior, id, delayRenderTimeoutInMilliseconds, durationInFrames, style, controls, ref, ...sequenceProps }) => {
50
+ const GifInner = ({ src, width, height, onLoad, onError, fit, playbackRate, loopBehavior, id, delayRenderTimeoutInMilliseconds, durationInFrames, style, _experimentalControls: controls, ref, ...sequenceProps }) => {
51
51
  const env = (0, remotion_1.useRemotionEnvironment)();
52
52
  const { durationInFrames: videoDuration } = (0, remotion_1.useVideoConfig)();
53
53
  const resolvedDuration = durationInFrames !== null && durationInFrames !== void 0 ? durationInFrames : videoDuration;
@@ -65,7 +65,7 @@ const GifInner = ({ src, width, height, onLoad, onError, fit, playbackRate, loop
65
65
  style,
66
66
  };
67
67
  const inner = env.isRendering ? (jsx_runtime_1.jsx(GifForRendering_1.GifForRendering, { ...gifProps, ref: ref })) : (jsx_runtime_1.jsx(GifForDevelopment_1.GifForDevelopment, { ...gifProps, ref: ref }));
68
- return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", durationInFrames: resolvedDuration, name: "<Gif>", controls: controls, ...sequenceProps, children: inner }));
68
+ return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", durationInFrames: resolvedDuration, name: "<Gif>", _experimentalControls: controls, ...sequenceProps, children: inner }));
69
69
  };
70
70
  exports.Gif = remotion_1.Internals.wrapInSchema(GifInner, gifSchema);
71
71
  exports.Gif.displayName = 'Gif';
@@ -1292,7 +1292,7 @@ var GifInner = ({
1292
1292
  delayRenderTimeoutInMilliseconds,
1293
1293
  durationInFrames,
1294
1294
  style,
1295
- controls,
1295
+ _experimentalControls: controls,
1296
1296
  ref,
1297
1297
  ...sequenceProps
1298
1298
  }) => {
@@ -1323,7 +1323,7 @@ var GifInner = ({
1323
1323
  layout: "none",
1324
1324
  durationInFrames: resolvedDuration,
1325
1325
  name: "<Gif>",
1326
- controls,
1326
+ _experimentalControls: controls,
1327
1327
  ...sequenceProps,
1328
1328
  children: inner
1329
1329
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/gif"
4
4
  },
5
5
  "name": "@remotion/gif",
6
- "version": "4.0.455",
6
+ "version": "4.0.457",
7
7
  "description": "Embed GIFs in a Remotion video",
8
8
  "sideEffects": false,
9
9
  "bugs": {
@@ -30,14 +30,14 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "remotion": "4.0.455"
33
+ "remotion": "4.0.457"
34
34
  },
35
35
  "devDependencies": {
36
36
  "esbuild": "0.25.0",
37
37
  "react": "19.2.3",
38
38
  "react-dom": "19.2.3",
39
39
  "webpack": "5.105.0",
40
- "@remotion/eslint-config-internal": "4.0.455",
40
+ "@remotion/eslint-config-internal": "4.0.457",
41
41
  "eslint": "9.19.0",
42
42
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
43
43
  },