@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.
@@ -1,3 +1,2 @@
1
1
  export { CameraMotionBlur, CameraMotionBlurProps } from './CameraMotionBlur';
2
- export { MotionBlur, MotionBlurProps } from './MotionBlur';
3
2
  export { Trail, TrailProps } from './Trail';
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.MotionBlur = exports.CameraMotionBlur = void 0;
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; } });
@@ -1,3 +1,2 @@
1
1
  export { CameraMotionBlur, CameraMotionBlurProps } from './CameraMotionBlur';
2
- export { MotionBlur, MotionBlurProps } from './MotionBlur';
3
2
  export { Trail, TrailProps } from './Trail';
@@ -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-alpha4",
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-alpha4"
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-alpha4",
43
+ "remotion": "4.0.0-alpha6",
44
44
  "rollup": "^2.70.1",
45
45
  "typescript": "^4.7.0"
46
46
  },