@remotion/motion-blur 4.0.423 → 4.0.424

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.
@@ -45,13 +45,13 @@ const CameraMotionBlur = ({ children, shutterAngle = 180, samples = 10, }) => {
45
45
  samples,
46
46
  shutterFraction,
47
47
  });
48
- return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, { style: { isolation: 'isolate' }, children: new Array(actualSamples).fill(true).map((_, i) => {
48
+ return (jsx_runtime_1.jsx(remotion_1.AbsoluteFill, { style: { isolation: 'isolate' }, children: new Array(actualSamples).fill(true).map((_, i) => {
49
49
  const sample = i + 1;
50
50
  const sampleFrameOffset = shutterFraction * (sample / actualSamples);
51
- return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, { style: {
51
+ return (jsx_runtime_1.jsx(remotion_1.AbsoluteFill, { style: {
52
52
  mixBlendMode: 'plus-lighter',
53
53
  filter: `opacity(${1 / actualSamples})`,
54
- }, children: (0, jsx_runtime_1.jsx)(remotion_1.Freeze, { frame: currentFrame - sampleFrameOffset + 1, children: children }) }, `frame-${i.toString()}`));
54
+ }, children: jsx_runtime_1.jsx(remotion_1.Freeze, { frame: currentFrame - sampleFrameOffset + 1, children: children }) }, `frame-${i.toString()}`));
55
55
  }) }));
56
56
  };
57
57
  exports.CameraMotionBlur = CameraMotionBlur;
package/dist/cjs/Trail.js CHANGED
@@ -30,10 +30,10 @@ const Trail = ({ children, layers, lagInFrames, trailOpacity, }) => {
30
30
  !Number.isFinite(lagInFrames)) {
31
31
  throw new TypeError(`"lagInFrames" must be a number, but got ${JSON.stringify(lagInFrames)}`);
32
32
  }
33
- return ((0, jsx_runtime_1.jsxs)(remotion_1.AbsoluteFill, { children: [new Array(layers).fill(true).map((_, i) => {
34
- return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, { style: {
33
+ return (jsx_runtime_1.jsxs(remotion_1.AbsoluteFill, { children: [new Array(layers).fill(true).map((_, i) => {
34
+ return (jsx_runtime_1.jsx(remotion_1.AbsoluteFill, { style: {
35
35
  opacity: trailOpacity - ((layers - i) / layers) * trailOpacity,
36
- }, children: (0, jsx_runtime_1.jsx)(remotion_1.Freeze, { frame: frame - lagInFrames * (layers - i), children: children }) }, `frame-${i.toString()}`));
36
+ }, children: jsx_runtime_1.jsx(remotion_1.Freeze, { frame: frame - lagInFrames * (layers - i), children: children }) }, `frame-${i.toString()}`));
37
37
  }), children] }));
38
38
  };
39
39
  exports.Trail = Trail;
package/dist/cjs/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Trail = exports.CameraMotionBlur = void 0;
4
- var CameraMotionBlur_1 = require("./CameraMotionBlur");
4
+ const CameraMotionBlur_1 = require("./CameraMotionBlur");
5
5
  Object.defineProperty(exports, "CameraMotionBlur", { enumerable: true, get: function () { return CameraMotionBlur_1.CameraMotionBlur; } });
6
- var Trail_1 = require("./Trail");
6
+ const Trail_1 = require("./Trail");
7
7
  Object.defineProperty(exports, "Trail", { enumerable: true, get: function () { return Trail_1.Trail; } });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/motion-blur"
4
4
  },
5
5
  "name": "@remotion/motion-blur",
6
- "version": "4.0.423",
6
+ "version": "4.0.424",
7
7
  "description": "Motion blur effect for Remotion",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "scripts": {
13
13
  "formatting": "prettier --experimental-cli src --check",
14
14
  "lint": "eslint src",
15
- "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
15
+ "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
16
16
  },
17
17
  "author": "Matt McGillivray, Ilija Boshkov <ilija@codechem.com>, Jonny Burger <jonny@remotion.dev>",
18
18
  "contributors": [],
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/remotion-dev/remotion/issues"
22
22
  },
23
23
  "dependencies": {
24
- "remotion": "4.0.423"
24
+ "remotion": "4.0.424"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=16.8.0",
@@ -39,9 +39,10 @@
39
39
  "devDependencies": {
40
40
  "react": "19.2.3",
41
41
  "react-dom": "19.2.3",
42
- "remotion": "4.0.423",
43
- "@remotion/eslint-config-internal": "4.0.423",
44
- "eslint": "9.19.0"
42
+ "remotion": "4.0.424",
43
+ "@remotion/eslint-config-internal": "4.0.424",
44
+ "eslint": "9.19.0",
45
+ "@typescript/native-preview": "7.0.0-dev.20260217.1"
45
46
  },
46
47
  "keywords": [
47
48
  "remotion",