@remotion/rive 4.0.464 → 4.0.465

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.
@@ -16,7 +16,7 @@ type RemotionRiveCanvasOwnProps = {
16
16
  readonly assetLoader?: assetLoadCallback;
17
17
  readonly className?: string;
18
18
  readonly style?: React.CSSProperties;
19
- readonly _experimentalEffects?: EffectsProp;
19
+ readonly effects?: EffectsProp;
20
20
  };
21
21
  export type RemotionRiveCanvasProps = RemotionRiveCanvasOwnProps & RiveSequenceInheritedProps;
22
22
  export type RiveCanvasRef = {
@@ -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, _experimentalEffects: effects = [], _experimentalControls: controls, durationInFrames, name, from, showInTimeline, hidden, ...props }, ref) => {
288
+ const RemotionRiveCanvasInnerForwardRefFunction = ({ src, fit = 'contain', alignment = 'center', artboard, animation, onLoad = null, assetLoader, enableRiveAssetCdn = true, className, style, effects = [], _experimentalControls: controls, durationInFrames, name, from, 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, hidden: hidden, showInTimeline: showInTimeline, name: name !== null && name !== void 0 ? name : '<RemotionRiveCanvas>', durationInFrames: durationInFrames, _experimentalControls: controls, _experimentalEffects: 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 }) }));
291
+ return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, hidden: hidden, showInTimeline: showInTimeline, name: name !== null && name !== void 0 ? name : '<RemotionRiveCanvas>', durationInFrames: durationInFrames, _experimentalControls: 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 }) }));
292
292
  };
293
293
  const RemotionRiveCanvasInner = (0, react_1.forwardRef)(RemotionRiveCanvasInnerForwardRefFunction);
294
294
  exports.RemotionRiveCanvas = wrapInSchema(RemotionRiveCanvasInner, riveCanvasSchema);
@@ -322,7 +322,7 @@ var RemotionRiveCanvasInnerForwardRefFunction = ({
322
322
  enableRiveAssetCdn = true,
323
323
  className,
324
324
  style,
325
- _experimentalEffects: effects = [],
325
+ effects = [],
326
326
  _experimentalControls: controls,
327
327
  durationInFrames,
328
328
  name,
@@ -340,7 +340,7 @@ var RemotionRiveCanvasInnerForwardRefFunction = ({
340
340
  name: name ?? "<RemotionRiveCanvas>",
341
341
  durationInFrames,
342
342
  _experimentalControls: controls,
343
- _experimentalEffects: memoizedEffectDefinitions,
343
+ _remotionInternalEffects: memoizedEffectDefinitions,
344
344
  ...props,
345
345
  children: /* @__PURE__ */ jsx(RemotionRiveCanvasContent, {
346
346
  ref,
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.464",
6
+ "version": "4.0.465",
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.464"
25
+ "remotion": "4.0.465"
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.464",
34
+ "@remotion/eslint-config-internal": "4.0.465",
35
35
  "eslint": "9.19.0",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
37
37
  },