@remotion/rive 4.0.479 → 4.0.482
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,16 +285,17 @@ 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
|
};
|
|
295
295
|
const RemotionRiveCanvasInner = (0, react_1.forwardRef)(RemotionRiveCanvasInnerForwardRefFunction);
|
|
296
296
|
exports.RemotionRiveCanvas = remotion_1.Interactive.withSchema({
|
|
297
297
|
Component: RemotionRiveCanvasInner,
|
|
298
|
+
componentName: '<RemotionRiveCanvas>',
|
|
298
299
|
componentIdentity: 'dev.remotion.rive.RemotionRiveCanvas',
|
|
299
300
|
schema: riveCanvasSchema,
|
|
300
301
|
supportsEffects: true,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -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,
|
|
@@ -363,6 +365,7 @@ var RemotionRiveCanvasInnerForwardRefFunction = ({
|
|
|
363
365
|
var RemotionRiveCanvasInner = forwardRef(RemotionRiveCanvasInnerForwardRefFunction);
|
|
364
366
|
var RemotionRiveCanvas = Interactive.withSchema({
|
|
365
367
|
Component: RemotionRiveCanvasInner,
|
|
368
|
+
componentName: "<RemotionRiveCanvas>",
|
|
366
369
|
componentIdentity: "dev.remotion.rive.RemotionRiveCanvas",
|
|
367
370
|
schema: riveCanvasSchema,
|
|
368
371
|
supportsEffects: true
|
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.
|
|
6
|
+
"version": "4.0.482",
|
|
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.
|
|
25
|
+
"remotion": "4.0.482"
|
|
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.
|
|
34
|
+
"@remotion/eslint-config-internal": "4.0.482",
|
|
35
35
|
"eslint": "9.19.0",
|
|
36
36
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
37
37
|
},
|