@remotion/rive 4.0.481 → 4.0.483

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.
@@ -285,10 +285,10 @@ const RemotionRiveCanvasContentForwardRefFunction = ({ src, fit, alignment, artb
285
285
  return (jsx_runtime_1.jsx("canvas", { ref: canvas, width: width, height: height, className: className, style: canvasStyle }));
286
286
  };
287
287
  const RemotionRiveCanvasContent = (0, react_1.forwardRef)(RemotionRiveCanvasContentForwardRefFunction);
288
- const RemotionRiveCanvasInnerForwardRefFunction = ({ src, fit = 'contain', alignment = 'center', artboard, animation, onLoad = null, assetLoader, enableRiveAssetCdn = true, className, style, effects = [], controls, durationInFrames, name, from, freeze, showInTimeline, hidden, ...props }, ref) => {
288
+ const RemotionRiveCanvasInnerForwardRefFunction = ({ src, fit = 'contain', alignment = 'center', artboard, animation, onLoad = null, assetLoader, enableRiveAssetCdn = true, className, style, effects = [], controls, durationInFrames, name, from, trimBefore, freeze, showInTimeline, hidden, ...props }, ref) => {
289
289
  props;
290
290
  const memoizedEffectDefinitions = useMemoizedEffectDefinitions(effects);
291
- return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, freeze: freeze, hidden: hidden, showInTimeline: showInTimeline, name: name !== null && name !== void 0 ? name : '<RemotionRiveCanvas>', _remotionInternalDocumentationLink: name === undefined
291
+ return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, trimBefore: trimBefore, freeze: freeze, hidden: hidden, showInTimeline: showInTimeline, name: name !== null && name !== void 0 ? name : '<RemotionRiveCanvas>', _remotionInternalDocumentationLink: name === undefined
292
292
  ? 'https://www.remotion.dev/docs/rive/remotionrivecanvas'
293
293
  : undefined, durationInFrames: durationInFrames, controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, ...props, children: jsx_runtime_1.jsx(RemotionRiveCanvasContent, { ref: ref, src: src, fit: fit, alignment: alignment, artboard: artboard, animation: animation, onLoad: onLoad, assetLoader: assetLoader, enableRiveAssetCdn: enableRiveAssetCdn, className: className, style: style, effects: effects, controls: controls }) }));
294
294
  };
@@ -325,6 +325,7 @@ var RemotionRiveCanvasInnerForwardRefFunction = ({
325
325
  durationInFrames,
326
326
  name,
327
327
  from,
328
+ trimBefore,
328
329
  freeze,
329
330
  showInTimeline,
330
331
  hidden,
@@ -334,6 +335,7 @@ var RemotionRiveCanvasInnerForwardRefFunction = ({
334
335
  return /* @__PURE__ */ jsx(Sequence, {
335
336
  layout: "none",
336
337
  from,
338
+ trimBefore,
337
339
  freeze,
338
340
  hidden,
339
341
  showInTimeline,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/rive"
4
4
  },
5
5
  "name": "@remotion/rive",
6
- "version": "4.0.481",
6
+ "version": "4.0.483",
7
7
  "description": "Embed Rive animations in a Remotion video",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "license": "See LICENSE.md",
23
23
  "dependencies": {
24
24
  "@rive-app/canvas-advanced": "2.31.5",
25
- "remotion": "4.0.481"
25
+ "remotion": "4.0.483"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=18.2.0",
@@ -31,7 +31,7 @@
31
31
  "devDependencies": {
32
32
  "react": "19.2.3",
33
33
  "react-dom": "19.2.3",
34
- "@remotion/eslint-config-internal": "4.0.481",
34
+ "@remotion/eslint-config-internal": "4.0.483",
35
35
  "eslint": "9.19.0",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
37
37
  },