@remotion/effects 4.0.470 → 4.0.471

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.
@@ -0,0 +1,81 @@
1
+ declare const ZIGZAG_DIRECTIONS: readonly ["horizontal", "vertical"];
2
+ export declare const zigzagSchema: {
3
+ readonly direction: {
4
+ readonly type: "enum";
5
+ readonly variants: {
6
+ readonly horizontal: {};
7
+ readonly vertical: {};
8
+ };
9
+ readonly default: "horizontal";
10
+ readonly description: "Direction";
11
+ };
12
+ readonly thickness: {
13
+ readonly type: "number";
14
+ readonly min: 0.1;
15
+ readonly max: 400;
16
+ readonly step: 0.1;
17
+ readonly default: 40;
18
+ readonly description: "Thickness";
19
+ };
20
+ readonly gap: {
21
+ readonly type: "number";
22
+ readonly min: 0;
23
+ readonly max: 400;
24
+ readonly step: 0.1;
25
+ readonly default: 0;
26
+ readonly description: "Gap";
27
+ };
28
+ readonly angle: {
29
+ readonly type: "number";
30
+ readonly min: -180;
31
+ readonly max: 180;
32
+ readonly step: 1;
33
+ readonly default: 0;
34
+ readonly description: "Angle";
35
+ };
36
+ readonly offset: {
37
+ readonly type: "number";
38
+ readonly step: 0.1;
39
+ readonly default: 0;
40
+ readonly description: "Offset";
41
+ };
42
+ readonly amplitude: {
43
+ readonly type: "number";
44
+ readonly min: 0;
45
+ readonly max: 500;
46
+ readonly step: 0.1;
47
+ readonly default: 40;
48
+ readonly description: "Amplitude";
49
+ };
50
+ readonly wavelength: {
51
+ readonly type: "number";
52
+ readonly min: 1;
53
+ readonly max: 2000;
54
+ readonly step: 1;
55
+ readonly default: 160;
56
+ readonly description: "Wavelength";
57
+ };
58
+ };
59
+ export type ZigzagDirection = (typeof ZIGZAG_DIRECTIONS)[number];
60
+ export type ZigzagParams = {
61
+ /** Stripe colors, assigned cyclically. Same semantics as lines(). */
62
+ readonly colors?: readonly string[];
63
+ /** Base band direction before zig-zag displacement. Same as lines(). */
64
+ readonly direction?: ZigzagDirection;
65
+ /** Thickness of each colored band in pixels. Same as lines(). */
66
+ readonly thickness?: number;
67
+ /** Transparent gap in pixels between bands. Same as lines(). */
68
+ readonly gap?: number;
69
+ /** Rotates the full pattern in degrees. Same as lines(). */
70
+ readonly angle?: number;
71
+ /** Offset in pixels. Animate to scroll the bands. Same as lines(). */
72
+ readonly offset?: number;
73
+ /** Zig-zag displacement in pixels. */
74
+ readonly amplitude?: number;
75
+ /** Distance in pixels before the zig-zag repeats. */
76
+ readonly wavelength?: number;
77
+ };
78
+ export declare const zigzag: (params?: (ZigzagParams & {
79
+ readonly disabled?: boolean | undefined;
80
+ }) | undefined) => import("remotion").EffectDescriptor<unknown>;
81
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/effects",
3
- "version": "4.0.470",
3
+ "version": "4.0.471",
4
4
  "description": "Effects that can be applied to Remotion-based canvas components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/remotion-dev/remotion/issues"
27
27
  },
28
28
  "dependencies": {
29
- "remotion": "4.0.470"
29
+ "remotion": "4.0.471"
30
30
  },
31
31
  "exports": {
32
32
  ".": {
@@ -94,6 +94,11 @@
94
94
  "module": "./dist/esm/halftone-linear-gradient.mjs",
95
95
  "import": "./dist/esm/halftone-linear-gradient.mjs"
96
96
  },
97
+ "./pixel-dissolve": {
98
+ "types": "./dist/pixel-dissolve.d.ts",
99
+ "module": "./dist/esm/pixel-dissolve.mjs",
100
+ "import": "./dist/esm/pixel-dissolve.mjs"
101
+ },
97
102
  "./grayscale": {
98
103
  "types": "./dist/grayscale.d.ts",
99
104
  "module": "./dist/esm/grayscale.mjs",
@@ -129,6 +134,11 @@
129
134
  "module": "./dist/esm/noise.mjs",
130
135
  "import": "./dist/esm/noise.mjs"
131
136
  },
137
+ "./rings": {
138
+ "types": "./dist/rings.d.ts",
139
+ "module": "./dist/esm/rings.mjs",
140
+ "import": "./dist/esm/rings.mjs"
141
+ },
132
142
  "./saturation": {
133
143
  "types": "./dist/saturation.d.ts",
134
144
  "module": "./dist/esm/saturation.mjs",
@@ -174,11 +184,21 @@
174
184
  "module": "./dist/esm/wave.mjs",
175
185
  "import": "./dist/esm/wave.mjs"
176
186
  },
187
+ "./waves": {
188
+ "types": "./dist/waves.d.ts",
189
+ "module": "./dist/esm/waves.mjs",
190
+ "import": "./dist/esm/waves.mjs"
191
+ },
177
192
  "./white-noise": {
178
193
  "types": "./dist/white-noise.d.ts",
179
194
  "module": "./dist/esm/white-noise.mjs",
180
195
  "import": "./dist/esm/white-noise.mjs"
181
196
  },
197
+ "./zigzag": {
198
+ "types": "./dist/zigzag.d.ts",
199
+ "module": "./dist/esm/zigzag.mjs",
200
+ "import": "./dist/esm/zigzag.mjs"
201
+ },
182
202
  "./package.json": "./package.json"
183
203
  },
184
204
  "typesVersions": {
@@ -219,6 +239,9 @@
219
239
  "halftone-linear-gradient": [
220
240
  "dist/halftone-linear-gradient.d.ts"
221
241
  ],
242
+ "pixel-dissolve": [
243
+ "dist/pixel-dissolve.d.ts"
244
+ ],
222
245
  "grayscale": [
223
246
  "dist/grayscale.d.ts"
224
247
  ],
@@ -240,6 +263,9 @@
240
263
  "noise": [
241
264
  "dist/noise.d.ts"
242
265
  ],
266
+ "rings": [
267
+ "dist/rings.d.ts"
268
+ ],
243
269
  "saturation": [
244
270
  "dist/saturation.d.ts"
245
271
  ],
@@ -267,6 +293,12 @@
267
293
  "wave": [
268
294
  "dist/wave.d.ts"
269
295
  ],
296
+ "waves": [
297
+ "dist/waves.d.ts"
298
+ ],
299
+ "zigzag": [
300
+ "dist/zigzag.d.ts"
301
+ ],
270
302
  "white-noise": [
271
303
  "dist/white-noise.d.ts"
272
304
  ]
@@ -274,7 +306,7 @@
274
306
  },
275
307
  "homepage": "https://www.remotion.dev/docs/effects/api",
276
308
  "devDependencies": {
277
- "@remotion/eslint-config-internal": "4.0.470",
309
+ "@remotion/eslint-config-internal": "4.0.471",
278
310
  "@vitest/browser-playwright": "4.0.9",
279
311
  "eslint": "9.19.0",
280
312
  "vitest": "4.0.9",