@remotion/light-leaks 4.0.471 → 4.0.472
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/esm/index.mjs +25 -6
- package/dist/light-leak-internals.d.ts +3 -0
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -182,13 +182,21 @@ var LightLeakCanvas = ({ seed, hueShift }) => {
|
|
|
182
182
|
});
|
|
183
183
|
};
|
|
184
184
|
var lightLeakSchema = {
|
|
185
|
-
|
|
185
|
+
durationInFrames: Internals.durationInFramesField,
|
|
186
|
+
from: Internals.fromField,
|
|
187
|
+
seed: {
|
|
188
|
+
type: "number",
|
|
189
|
+
default: 0,
|
|
190
|
+
description: "Seed",
|
|
191
|
+
hiddenFromList: false
|
|
192
|
+
},
|
|
186
193
|
hueShift: {
|
|
187
194
|
type: "number",
|
|
188
195
|
min: 0,
|
|
189
196
|
max: 360,
|
|
190
197
|
default: 0,
|
|
191
|
-
description: "Hue Shift"
|
|
198
|
+
description: "Hue Shift",
|
|
199
|
+
hiddenFromList: false
|
|
192
200
|
},
|
|
193
201
|
...Internals.sequenceStyleSchema,
|
|
194
202
|
hidden: Internals.hiddenField
|
|
@@ -225,7 +233,11 @@ var LightLeakInner = ({
|
|
|
225
233
|
})
|
|
226
234
|
});
|
|
227
235
|
};
|
|
228
|
-
var LightLeak = Internals.wrapInSchema(
|
|
236
|
+
var LightLeak = Internals.wrapInSchema({
|
|
237
|
+
Component: LightLeakInner,
|
|
238
|
+
schema: lightLeakSchema,
|
|
239
|
+
supportsEffects: false
|
|
240
|
+
});
|
|
229
241
|
LightLeak.displayName = "LightLeak";
|
|
230
242
|
Internals.addSequenceStackTraces(LightLeak);
|
|
231
243
|
// src/light-leak-internals.ts
|
|
@@ -235,13 +247,19 @@ var DEFAULT_SEED = 0;
|
|
|
235
247
|
var DEFAULT_HUE_SHIFT = 0;
|
|
236
248
|
var DEFAULT_PROGRESS = 0.5;
|
|
237
249
|
var lightLeakEffectSchema = {
|
|
238
|
-
seed: {
|
|
250
|
+
seed: {
|
|
251
|
+
type: "number",
|
|
252
|
+
default: DEFAULT_SEED,
|
|
253
|
+
description: "Seed",
|
|
254
|
+
hiddenFromList: false
|
|
255
|
+
},
|
|
239
256
|
hueShift: {
|
|
240
257
|
type: "number",
|
|
241
258
|
min: 0,
|
|
242
259
|
max: 360,
|
|
243
260
|
default: DEFAULT_HUE_SHIFT,
|
|
244
|
-
description: "Hue Shift"
|
|
261
|
+
description: "Hue Shift",
|
|
262
|
+
hiddenFromList: false
|
|
245
263
|
},
|
|
246
264
|
progress: {
|
|
247
265
|
type: "number",
|
|
@@ -249,7 +267,8 @@ var lightLeakEffectSchema = {
|
|
|
249
267
|
max: 1,
|
|
250
268
|
step: 0.01,
|
|
251
269
|
default: DEFAULT_PROGRESS,
|
|
252
|
-
description: "Progress"
|
|
270
|
+
description: "Progress",
|
|
271
|
+
hiddenFromList: false
|
|
253
272
|
}
|
|
254
273
|
};
|
|
255
274
|
var resolve = (p) => ({
|
|
@@ -3,6 +3,7 @@ export declare const lightLeakEffectSchema: {
|
|
|
3
3
|
readonly type: "number";
|
|
4
4
|
readonly default: 0;
|
|
5
5
|
readonly description: "Seed";
|
|
6
|
+
readonly hiddenFromList: false;
|
|
6
7
|
};
|
|
7
8
|
readonly hueShift: {
|
|
8
9
|
readonly type: "number";
|
|
@@ -10,6 +11,7 @@ export declare const lightLeakEffectSchema: {
|
|
|
10
11
|
readonly max: 360;
|
|
11
12
|
readonly default: 0;
|
|
12
13
|
readonly description: "Hue Shift";
|
|
14
|
+
readonly hiddenFromList: false;
|
|
13
15
|
};
|
|
14
16
|
readonly progress: {
|
|
15
17
|
readonly type: "number";
|
|
@@ -18,6 +20,7 @@ export declare const lightLeakEffectSchema: {
|
|
|
18
20
|
readonly step: 0.01;
|
|
19
21
|
readonly default: 0.5;
|
|
20
22
|
readonly description: "Progress";
|
|
23
|
+
readonly hiddenFromList: false;
|
|
21
24
|
};
|
|
22
25
|
};
|
|
23
26
|
export type LightLeakEffectParams = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/light-leaks",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.472",
|
|
4
4
|
"description": "Light leak effects for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.472",
|
|
28
28
|
"zod": "4.3.6"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"react": "19.2.3",
|
|
44
44
|
"react-dom": "19.2.3",
|
|
45
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/eslint-config-internal": "4.0.472",
|
|
46
46
|
"eslint": "9.19.0",
|
|
47
47
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
48
48
|
},
|