@remotion/motion-blur 4.0.0-alpha4 → 4.0.0-alpha6
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/index.d.ts +0 -1
- package/dist/cjs/index.js +1 -3
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.mjs +1 -13
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Trail = exports.
|
|
3
|
+
exports.Trail = exports.CameraMotionBlur = void 0;
|
|
4
4
|
var CameraMotionBlur_1 = require("./CameraMotionBlur");
|
|
5
5
|
Object.defineProperty(exports, "CameraMotionBlur", { enumerable: true, get: function () { return CameraMotionBlur_1.CameraMotionBlur; } });
|
|
6
|
-
var MotionBlur_1 = require("./MotionBlur");
|
|
7
|
-
Object.defineProperty(exports, "MotionBlur", { enumerable: true, get: function () { return MotionBlur_1.MotionBlur; } });
|
|
8
6
|
var Trail_1 = require("./Trail");
|
|
9
7
|
Object.defineProperty(exports, "Trail", { enumerable: true, get: function () { return Trail_1.Trail; } });
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -87,16 +87,4 @@ const Trail = ({ children, layers, lagInFrames, trailOpacity, }) => {
|
|
|
87
87
|
}), children] }));
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
* @deprecated The component has been renamed "Trail" instead: https://remotion.dev/docs/motion-blur/trail
|
|
92
|
-
*/
|
|
93
|
-
const MotionBlur = ({ blurOpacity, ...rest }) => {
|
|
94
|
-
if (typeof blurOpacity !== 'number' ||
|
|
95
|
-
Number.isNaN(blurOpacity) ||
|
|
96
|
-
!Number.isFinite(blurOpacity)) {
|
|
97
|
-
throw new TypeError(`"blurOpacity" must be a number, but got ${JSON.stringify(blurOpacity)}`);
|
|
98
|
-
}
|
|
99
|
-
return jsx(Trail, { ...rest, trailOpacity: blurOpacity });
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export { CameraMotionBlur, MotionBlur, Trail };
|
|
90
|
+
export { CameraMotionBlur, Trail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/motion-blur",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-alpha6",
|
|
4
4
|
"description": "Motion blur effect for Remotion",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"remotion": "4.0.0-
|
|
19
|
+
"remotion": "4.0.0-alpha6"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": ">=16.8.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
41
41
|
"react": "18.0.0",
|
|
42
42
|
"react-dom": "18.0.0",
|
|
43
|
-
"remotion": "4.0.0-
|
|
43
|
+
"remotion": "4.0.0-alpha6",
|
|
44
44
|
"rollup": "^2.70.1",
|
|
45
45
|
"typescript": "^4.7.0"
|
|
46
46
|
},
|