@remotion/motion-blur 4.0.0-alpha6 → 4.0.0-alpha7
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/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-alpha7",
|
|
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-alpha7"
|
|
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-alpha7",
|
|
44
44
|
"rollup": "^2.70.1",
|
|
45
45
|
"typescript": "^4.7.0"
|
|
46
46
|
},
|
package/dist/cjs/MotionBlur.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TrailProps } from './Trail';
|
|
3
|
-
export declare type MotionBlurProps = Omit<TrailProps, 'trailOpacity'> & {
|
|
4
|
-
blurOpacity: number;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated The component has been renamed "Trail" instead: https://remotion.dev/docs/motion-blur/trail
|
|
8
|
-
*/
|
|
9
|
-
export declare const MotionBlur: React.FC<MotionBlurProps>;
|
package/dist/cjs/MotionBlur.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MotionBlur = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const Trail_1 = require("./Trail");
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated The component has been renamed "Trail" instead: https://remotion.dev/docs/motion-blur/trail
|
|
8
|
-
*/
|
|
9
|
-
const MotionBlur = ({ blurOpacity, ...rest }) => {
|
|
10
|
-
if (typeof blurOpacity !== 'number' ||
|
|
11
|
-
Number.isNaN(blurOpacity) ||
|
|
12
|
-
!Number.isFinite(blurOpacity)) {
|
|
13
|
-
throw new TypeError(`"blurOpacity" must be a number, but got ${JSON.stringify(blurOpacity)}`);
|
|
14
|
-
}
|
|
15
|
-
return (0, jsx_runtime_1.jsx)(Trail_1.Trail, { ...rest, trailOpacity: blurOpacity });
|
|
16
|
-
};
|
|
17
|
-
exports.MotionBlur = MotionBlur;
|
package/dist/esm/MotionBlur.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TrailProps } from './Trail';
|
|
3
|
-
export declare type MotionBlurProps = Omit<TrailProps, 'trailOpacity'> & {
|
|
4
|
-
blurOpacity: number;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated The component has been renamed "Trail" instead: https://remotion.dev/docs/motion-blur/trail
|
|
8
|
-
*/
|
|
9
|
-
export declare const MotionBlur: React.FC<MotionBlurProps>;
|