@remotion/motion-blur 3.3.79 → 4.0.0-alpha.115
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 +60 -59
- package/dist/cjs/MotionBlur.d.ts +0 -9
- package/dist/cjs/MotionBlur.js +0 -17
- package/dist/esm/MotionBlur.d.ts +0 -9
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
|
@@ -71,16 +71,4 @@ const Trail = ({ children, layers, lagInFrames, trailOpacity, }) => {
|
|
|
71
71
|
}), children] }));
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
* @deprecated The component has been renamed "Trail" instead: https://remotion.dev/docs/motion-blur/trail
|
|
76
|
-
*/
|
|
77
|
-
const MotionBlur = ({ blurOpacity, ...rest }) => {
|
|
78
|
-
if (typeof blurOpacity !== 'number' ||
|
|
79
|
-
Number.isNaN(blurOpacity) ||
|
|
80
|
-
!Number.isFinite(blurOpacity)) {
|
|
81
|
-
throw new TypeError(`"blurOpacity" must be a number, but got ${JSON.stringify(blurOpacity)}`);
|
|
82
|
-
}
|
|
83
|
-
return jsx(Trail, { ...rest, trailOpacity: blurOpacity });
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export { CameraMotionBlur, MotionBlur, Trail };
|
|
74
|
+
export { CameraMotionBlur, Trail };
|
package/package.json
CHANGED
|
@@ -1,60 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
2
|
+
"name": "@remotion/motion-blur",
|
|
3
|
+
"version": "4.0.0-alpha.115+764023ad5",
|
|
4
|
+
"description": "Motion blur effect for Remotion",
|
|
5
|
+
"main": "dist/cjs/index.js",
|
|
6
|
+
"types": "dist/cjs/index.d.ts",
|
|
7
|
+
"module": "dist/esm/index.mjs",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"scripts": {
|
|
10
|
+
"lint": "eslint src --ext ts,tsx",
|
|
11
|
+
"watch": "tsc -w",
|
|
12
|
+
"build": "rollup --config rollup.config.js && tsc -d"
|
|
13
|
+
},
|
|
14
|
+
"author": "Matt McGillivray, Ilija Boshkov <ilija@codechem.com>, Jonny Burger <jonny@remotion.dev>",
|
|
15
|
+
"contributors": [],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"url": "https://github.com/remotion-dev/remotion"
|
|
19
|
+
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"remotion": "4.0.0-alpha.115+764023ad5"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"react": ">=16.8.0",
|
|
28
|
+
"react-dom": ">=16.8.0"
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
"./package.json": "./package.json",
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/cjs/index.d.ts",
|
|
34
|
+
"module": "./dist/esm/index.mjs",
|
|
35
|
+
"import": "./dist/esm/index.mjs",
|
|
36
|
+
"require": "./dist/cjs/index.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@jonny/eslint-config": "3.0.266",
|
|
41
|
+
"@rollup/plugin-typescript": "^8.2.0",
|
|
42
|
+
"@types/react": "18.0.26",
|
|
43
|
+
"eslint": "8.25.0",
|
|
44
|
+
"prettier": "^2.7.1",
|
|
45
|
+
"prettier-plugin-organize-imports": "^2.3.4",
|
|
46
|
+
"react": "18.0.0",
|
|
47
|
+
"react-dom": "18.0.0",
|
|
48
|
+
"remotion": "workspace:*",
|
|
49
|
+
"rollup": "^2.70.1",
|
|
50
|
+
"typescript": "^4.7.0"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"remotion",
|
|
54
|
+
"motion",
|
|
55
|
+
"blur"
|
|
56
|
+
],
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public"
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "764023ad535f6f6bfd734880c8058933a52248b5"
|
|
61
|
+
}
|
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>;
|