@remotion/effects 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.
Files changed (56) hide show
  1. package/dist/color-key.d.ts +47 -0
  2. package/dist/color-utils.d.ts +4 -1
  3. package/dist/dot-grid.d.ts +2 -0
  4. package/dist/duotone.d.ts +1 -0
  5. package/dist/esm/barrel-distortion.mjs +9 -5
  6. package/dist/esm/blur.mjs +2 -1
  7. package/dist/esm/brightness.mjs +7 -4
  8. package/dist/esm/chromatic-aberration.mjs +10 -6
  9. package/dist/esm/color-key.mjs +419 -0
  10. package/dist/esm/contrast.mjs +7 -4
  11. package/dist/esm/dot-grid.mjs +11 -6
  12. package/dist/esm/drop-shadow.mjs +15 -8
  13. package/dist/esm/duotone.mjs +9 -5
  14. package/dist/esm/evolve.mjs +11 -6
  15. package/dist/esm/fisheye.mjs +13 -7
  16. package/dist/esm/glow.mjs +13 -7
  17. package/dist/esm/grayscale.mjs +7 -4
  18. package/dist/esm/halftone-linear-gradient.mjs +13 -7
  19. package/dist/esm/halftone.mjs +16 -11
  20. package/dist/esm/hue.mjs +7 -4
  21. package/dist/esm/index.mjs +24 -15
  22. package/dist/esm/invert.mjs +7 -4
  23. package/dist/esm/linear-progressive-blur.mjs +530 -0
  24. package/dist/esm/lines.mjs +14 -10
  25. package/dist/esm/mirror.mjs +9 -5
  26. package/dist/esm/noise.mjs +11 -6
  27. package/dist/esm/pixel-dissolve.mjs +17 -9
  28. package/dist/esm/rings.mjs +13 -7
  29. package/dist/esm/saturation.mjs +7 -4
  30. package/dist/esm/scale.mjs +2 -1
  31. package/dist/esm/scanlines.mjs +15 -8
  32. package/dist/esm/shine.mjs +18 -12
  33. package/dist/esm/speckle.mjs +13 -7
  34. package/dist/esm/tint.mjs +9 -5
  35. package/dist/esm/translate.mjs +15 -8
  36. package/dist/esm/vignette.mjs +40 -12
  37. package/dist/esm/wave.mjs +6 -3
  38. package/dist/esm/waves.mjs +20 -13
  39. package/dist/esm/white-noise.mjs +11 -6
  40. package/dist/esm/zigzag.mjs +18 -12
  41. package/dist/evolve.d.ts +2 -0
  42. package/dist/halftone-linear-gradient.d.ts +3 -0
  43. package/dist/halftone.d.ts +5 -3
  44. package/dist/linear-progressive-blur/index.d.ts +28 -0
  45. package/dist/linear-progressive-blur/linear-progressive-blur-runtime.d.ts +32 -0
  46. package/dist/linear-progressive-blur/linear-progressive-blur-shaders.d.ts +2 -0
  47. package/dist/linear-progressive-blur.d.ts +1 -0
  48. package/dist/lines.d.ts +4 -3
  49. package/dist/rings.d.ts +3 -0
  50. package/dist/tint.d.ts +1 -0
  51. package/dist/vignette.d.ts +13 -0
  52. package/dist/waves.d.ts +7 -3
  53. package/dist/zigzag.d.ts +6 -3
  54. package/package.json +19 -3
  55. package/dist/effect-internals.d.ts +0 -8
  56. package/dist/entrypoints/blur.d.ts +0 -6
@@ -34,14 +34,16 @@ var colorAmountSchema = {
34
34
  max: 1,
35
35
  step: 0.01,
36
36
  default: DEFAULT_AMOUNT,
37
- description: "Amount"
37
+ description: "Amount",
38
+ hiddenFromList: false
38
39
  };
39
40
  var colorMultiplierSchema = {
40
41
  type: "number",
41
42
  min: 0,
42
43
  step: 0.01,
43
44
  default: DEFAULT_AMOUNT,
44
- description: "Amount"
45
+ description: "Amount",
46
+ hiddenFromList: false
45
47
  };
46
48
  var brightnessAmountSchema = {
47
49
  type: "number",
@@ -49,10 +51,11 @@ var brightnessAmountSchema = {
49
51
  max: 1,
50
52
  step: 0.01,
51
53
  default: DEFAULT_BRIGHTNESS_AMOUNT,
52
- description: "Amount"
54
+ description: "Amount",
55
+ hiddenFromList: false
53
56
  };
54
57
  var hueDegreesSchema = {
55
- type: "number",
58
+ type: "rotation-degrees",
56
59
  step: 1,
57
60
  default: DEFAULT_HUE_DEGREES,
58
61
  description: "Degrees"
@@ -123,7 +126,8 @@ var wavesSchema = {
123
126
  max: 400,
124
127
  step: 0.1,
125
128
  default: DEFAULT_THICKNESS,
126
- description: "Thickness"
129
+ description: "Thickness",
130
+ hiddenFromList: false
127
131
  },
128
132
  gap: {
129
133
  type: "number",
@@ -131,12 +135,11 @@ var wavesSchema = {
131
135
  max: 400,
132
136
  step: 0.1,
133
137
  default: DEFAULT_GAP,
134
- description: "Gap"
138
+ description: "Gap",
139
+ hiddenFromList: false
135
140
  },
136
141
  angle: {
137
- type: "number",
138
- min: -180,
139
- max: 180,
142
+ type: "rotation-degrees",
140
143
  step: 1,
141
144
  default: DEFAULT_ANGLE,
142
145
  description: "Angle"
@@ -145,7 +148,8 @@ var wavesSchema = {
145
148
  type: "number",
146
149
  step: 0.1,
147
150
  default: DEFAULT_OFFSET,
148
- description: "Offset"
151
+ description: "Offset",
152
+ hiddenFromList: false
149
153
  },
150
154
  amplitude: {
151
155
  type: "number",
@@ -153,7 +157,8 @@ var wavesSchema = {
153
157
  max: 500,
154
158
  step: 0.1,
155
159
  default: DEFAULT_AMPLITUDE,
156
- description: "Amplitude"
160
+ description: "Amplitude",
161
+ hiddenFromList: false
157
162
  },
158
163
  wavelength: {
159
164
  type: "number",
@@ -161,7 +166,8 @@ var wavesSchema = {
161
166
  max: 2000,
162
167
  step: 1,
163
168
  default: DEFAULT_WAVELENGTH,
164
- description: "Wavelength"
169
+ description: "Wavelength",
170
+ hiddenFromList: false
165
171
  },
166
172
  phase: {
167
173
  type: "number",
@@ -169,7 +175,8 @@ var wavesSchema = {
169
175
  max: 360,
170
176
  step: 1,
171
177
  default: DEFAULT_PHASE,
172
- description: "Phase"
178
+ description: "Phase",
179
+ hiddenFromList: false
173
180
  }
174
181
  };
175
182
  var resolve = (p) => {
@@ -34,14 +34,16 @@ var colorAmountSchema = {
34
34
  max: 1,
35
35
  step: 0.01,
36
36
  default: DEFAULT_AMOUNT,
37
- description: "Amount"
37
+ description: "Amount",
38
+ hiddenFromList: false
38
39
  };
39
40
  var colorMultiplierSchema = {
40
41
  type: "number",
41
42
  min: 0,
42
43
  step: 0.01,
43
44
  default: DEFAULT_AMOUNT,
44
- description: "Amount"
45
+ description: "Amount",
46
+ hiddenFromList: false
45
47
  };
46
48
  var brightnessAmountSchema = {
47
49
  type: "number",
@@ -49,10 +51,11 @@ var brightnessAmountSchema = {
49
51
  max: 1,
50
52
  step: 0.01,
51
53
  default: DEFAULT_BRIGHTNESS_AMOUNT,
52
- description: "Amount"
54
+ description: "Amount",
55
+ hiddenFromList: false
53
56
  };
54
57
  var hueDegreesSchema = {
55
- type: "number",
58
+ type: "rotation-degrees",
56
59
  step: 1,
57
60
  default: DEFAULT_HUE_DEGREES,
58
61
  description: "Degrees"
@@ -106,13 +109,15 @@ var whiteNoiseSchema = {
106
109
  max: 1,
107
110
  step: 0.01,
108
111
  default: DEFAULT_AMOUNT2,
109
- description: "Amount"
112
+ description: "Amount",
113
+ hiddenFromList: false
110
114
  },
111
115
  seed: {
112
116
  type: "number",
113
117
  step: 1,
114
118
  default: DEFAULT_SEED,
115
- description: "Seed"
119
+ description: "Seed",
120
+ hiddenFromList: false
116
121
  }
117
122
  };
118
123
  var resolve = (params) => ({
@@ -34,14 +34,16 @@ var colorAmountSchema = {
34
34
  max: 1,
35
35
  step: 0.01,
36
36
  default: DEFAULT_AMOUNT,
37
- description: "Amount"
37
+ description: "Amount",
38
+ hiddenFromList: false
38
39
  };
39
40
  var colorMultiplierSchema = {
40
41
  type: "number",
41
42
  min: 0,
42
43
  step: 0.01,
43
44
  default: DEFAULT_AMOUNT,
44
- description: "Amount"
45
+ description: "Amount",
46
+ hiddenFromList: false
45
47
  };
46
48
  var brightnessAmountSchema = {
47
49
  type: "number",
@@ -49,10 +51,11 @@ var brightnessAmountSchema = {
49
51
  max: 1,
50
52
  step: 0.01,
51
53
  default: DEFAULT_BRIGHTNESS_AMOUNT,
52
- description: "Amount"
54
+ description: "Amount",
55
+ hiddenFromList: false
53
56
  };
54
57
  var hueDegreesSchema = {
55
- type: "number",
58
+ type: "rotation-degrees",
56
59
  step: 1,
57
60
  default: DEFAULT_HUE_DEGREES,
58
61
  description: "Degrees"
@@ -122,7 +125,8 @@ var zigzagSchema = {
122
125
  max: 400,
123
126
  step: 0.1,
124
127
  default: DEFAULT_THICKNESS,
125
- description: "Thickness"
128
+ description: "Thickness",
129
+ hiddenFromList: false
126
130
  },
127
131
  gap: {
128
132
  type: "number",
@@ -130,12 +134,11 @@ var zigzagSchema = {
130
134
  max: 400,
131
135
  step: 0.1,
132
136
  default: DEFAULT_GAP,
133
- description: "Gap"
137
+ description: "Gap",
138
+ hiddenFromList: false
134
139
  },
135
140
  angle: {
136
- type: "number",
137
- min: -180,
138
- max: 180,
141
+ type: "rotation-degrees",
139
142
  step: 1,
140
143
  default: DEFAULT_ANGLE,
141
144
  description: "Angle"
@@ -144,7 +147,8 @@ var zigzagSchema = {
144
147
  type: "number",
145
148
  step: 0.1,
146
149
  default: DEFAULT_OFFSET,
147
- description: "Offset"
150
+ description: "Offset",
151
+ hiddenFromList: false
148
152
  },
149
153
  amplitude: {
150
154
  type: "number",
@@ -152,7 +156,8 @@ var zigzagSchema = {
152
156
  max: 500,
153
157
  step: 0.1,
154
158
  default: DEFAULT_AMPLITUDE,
155
- description: "Amplitude"
159
+ description: "Amplitude",
160
+ hiddenFromList: false
156
161
  },
157
162
  wavelength: {
158
163
  type: "number",
@@ -160,7 +165,8 @@ var zigzagSchema = {
160
165
  max: 2000,
161
166
  step: 1,
162
167
  default: DEFAULT_WAVELENGTH,
163
- description: "Wavelength"
168
+ description: "Wavelength",
169
+ hiddenFromList: false
164
170
  }
165
171
  };
166
172
  var resolve = (p) => {
package/dist/evolve.d.ts CHANGED
@@ -8,6 +8,7 @@ export declare const evolveSchema: {
8
8
  readonly step: 0.01;
9
9
  readonly default: 0.5;
10
10
  readonly description: "Progress";
11
+ readonly hiddenFromList: false;
11
12
  };
12
13
  readonly direction: {
13
14
  readonly type: "enum";
@@ -27,6 +28,7 @@ export declare const evolveSchema: {
27
28
  readonly step: 0.01;
28
29
  readonly default: 0.1;
29
30
  readonly description: "Feather";
31
+ readonly hiddenFromList: false;
30
32
  };
31
33
  };
32
34
  export type EvolveParams = {
@@ -7,6 +7,7 @@ export declare const halftoneLinearGradientSchema: {
7
7
  readonly step: 1;
8
8
  readonly default: 0;
9
9
  readonly description: "First stop dot size";
10
+ readonly hiddenFromList: false;
10
11
  };
11
12
  readonly secondStopDotSize: {
12
13
  readonly type: "number";
@@ -15,6 +16,7 @@ export declare const halftoneLinearGradientSchema: {
15
16
  readonly step: 1;
16
17
  readonly default: 40;
17
18
  readonly description: "Second stop dot size";
19
+ readonly hiddenFromList: false;
18
20
  };
19
21
  readonly firstStopPosition: {
20
22
  readonly type: "uv-coordinate";
@@ -39,6 +41,7 @@ export declare const halftoneLinearGradientSchema: {
39
41
  readonly step: 1;
40
42
  readonly default: 24;
41
43
  readonly description: "Grid size";
44
+ readonly hiddenFromList: false;
42
45
  };
43
46
  readonly colorMode: {
44
47
  readonly type: "enum";
@@ -9,6 +9,7 @@ export declare const halftoneSchema: {
9
9
  readonly step: 1;
10
10
  readonly default: 20;
11
11
  readonly description: "Dot size";
12
+ readonly hiddenFromList: false;
12
13
  };
13
14
  readonly dotSpacing: {
14
15
  readonly type: "number";
@@ -17,11 +18,10 @@ export declare const halftoneSchema: {
17
18
  readonly step: 1;
18
19
  readonly default: 20;
19
20
  readonly description: "Dot spacing";
21
+ readonly hiddenFromList: false;
20
22
  };
21
23
  readonly rotation: {
22
- readonly type: "number";
23
- readonly min: -180;
24
- readonly max: 180;
24
+ readonly type: "rotation-degrees";
25
25
  readonly step: 1;
26
26
  readonly default: 0;
27
27
  readonly description: "Rotation";
@@ -31,12 +31,14 @@ export declare const halftoneSchema: {
31
31
  readonly step: 1;
32
32
  readonly default: 0;
33
33
  readonly description: "Offset X";
34
+ readonly hiddenFromList: false;
34
35
  };
35
36
  readonly offsetY: {
36
37
  readonly type: "number";
37
38
  readonly step: 1;
38
39
  readonly default: 0;
39
40
  readonly description: "Offset Y";
41
+ readonly hiddenFromList: false;
40
42
  };
41
43
  readonly shape: {
42
44
  readonly type: "enum";
@@ -0,0 +1,28 @@
1
+ export type LinearProgressiveBlurUvCoordinate = readonly [number, number];
2
+ export type LinearProgressiveBlurParams = {
3
+ /**
4
+ * UV coordinate where `startBlur` is reached. Defaults to `[0, 0.5]`.
5
+ */
6
+ readonly start?: LinearProgressiveBlurUvCoordinate;
7
+ /**
8
+ * UV coordinate where `endBlur` is reached. Defaults to `[1, 0.5]`.
9
+ */
10
+ readonly end?: LinearProgressiveBlurUvCoordinate;
11
+ /**
12
+ * Blur radius in pixels at `start`. Defaults to `0`.
13
+ */
14
+ readonly startBlur?: number;
15
+ /**
16
+ * Blur radius in pixels at `end`. Defaults to `50`.
17
+ */
18
+ readonly endBlur?: number;
19
+ };
20
+ export type LinearProgressiveBlurResolved = {
21
+ readonly start: LinearProgressiveBlurUvCoordinate;
22
+ readonly end: LinearProgressiveBlurUvCoordinate;
23
+ readonly startBlur: number;
24
+ readonly endBlur: number;
25
+ };
26
+ export declare const linearProgressiveBlur: (params?: (LinearProgressiveBlurParams & {
27
+ readonly disabled?: boolean | undefined;
28
+ }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -0,0 +1,32 @@
1
+ import type { LinearProgressiveBlurResolved } from './index.js';
2
+ type LinearProgressiveBlurUniforms = {
3
+ readonly uSource: WebGLUniformLocation | null;
4
+ readonly uTexelSize: WebGLUniformLocation | null;
5
+ readonly uStart: WebGLUniformLocation | null;
6
+ readonly uEnd: WebGLUniformLocation | null;
7
+ readonly uStartBlur: WebGLUniformLocation | null;
8
+ readonly uEndBlur: WebGLUniformLocation | null;
9
+ };
10
+ export type LinearProgressiveBlurState = {
11
+ readonly gl: WebGL2RenderingContext;
12
+ readonly programHorizontal: WebGLProgram;
13
+ readonly programVertical: WebGLProgram;
14
+ readonly vao: WebGLVertexArrayObject;
15
+ readonly vbo: WebGLBuffer;
16
+ readonly textureSource: WebGLTexture;
17
+ readonly textureIntermediate: WebGLTexture;
18
+ readonly framebuffer: WebGLFramebuffer;
19
+ readonly horizontal: LinearProgressiveBlurUniforms;
20
+ readonly vertical: LinearProgressiveBlurUniforms;
21
+ };
22
+ export declare const setupLinearProgressiveBlur: (target: HTMLCanvasElement) => LinearProgressiveBlurState;
23
+ export declare const cleanupLinearProgressiveBlur: (state: LinearProgressiveBlurState) => void;
24
+ export declare const applyLinearProgressiveBlur: ({ state, source, width, height, params, flipSourceY, }: {
25
+ readonly state: LinearProgressiveBlurState;
26
+ readonly source: CanvasImageSource;
27
+ readonly width: number;
28
+ readonly height: number;
29
+ readonly params: LinearProgressiveBlurResolved;
30
+ readonly flipSourceY: boolean;
31
+ }) => void;
32
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const LINEAR_PROGRESSIVE_BLUR_VS = "#version 300 es\nlayout(location = 0) in vec2 aPos;\nlayout(location = 1) in vec2 aUv;\nout vec2 vUv;\nvoid main() {\n\tvUv = aUv;\n\tgl_Position = vec4(aPos, 0.0, 1.0);\n}\n";
2
+ export declare const buildLinearProgressiveBlurFs: (direction: "horizontal" | "vertical") => string;
@@ -0,0 +1 @@
1
+ export { linearProgressiveBlur, type LinearProgressiveBlurParams, type LinearProgressiveBlurUvCoordinate, } from './linear-progressive-blur/index.js';
package/dist/lines.d.ts CHANGED
@@ -16,6 +16,7 @@ export declare const linesSchema: {
16
16
  readonly step: 0.1;
17
17
  readonly default: 40;
18
18
  readonly description: "Thickness";
19
+ readonly hiddenFromList: false;
19
20
  };
20
21
  readonly gap: {
21
22
  readonly type: "number";
@@ -24,11 +25,10 @@ export declare const linesSchema: {
24
25
  readonly step: 0.1;
25
26
  readonly default: 0;
26
27
  readonly description: "Gap";
28
+ readonly hiddenFromList: false;
27
29
  };
28
30
  readonly angle: {
29
- readonly type: "number";
30
- readonly min: -180;
31
- readonly max: 180;
31
+ readonly type: "rotation-degrees";
32
32
  readonly step: 1;
33
33
  readonly default: 0;
34
34
  readonly description: "Angle";
@@ -38,6 +38,7 @@ export declare const linesSchema: {
38
38
  readonly step: 0.1;
39
39
  readonly default: 0;
40
40
  readonly description: "Offset";
41
+ readonly hiddenFromList: false;
41
42
  };
42
43
  };
43
44
  export type LinesDirection = (typeof LINE_DIRECTIONS)[number];
package/dist/rings.d.ts CHANGED
@@ -14,6 +14,7 @@ export declare const ringsSchema: {
14
14
  readonly step: 0.1;
15
15
  readonly default: 40;
16
16
  readonly description: "Thickness";
17
+ readonly hiddenFromList: false;
17
18
  };
18
19
  readonly gap: {
19
20
  readonly type: "number";
@@ -22,12 +23,14 @@ export declare const ringsSchema: {
22
23
  readonly step: 0.1;
23
24
  readonly default: 0;
24
25
  readonly description: "Gap";
26
+ readonly hiddenFromList: false;
25
27
  };
26
28
  readonly offset: {
27
29
  readonly type: "number";
28
30
  readonly step: 0.1;
29
31
  readonly default: 0;
30
32
  readonly description: "Offset";
33
+ readonly hiddenFromList: false;
31
34
  };
32
35
  };
33
36
  export type RingsCenter = readonly [number, number];
package/dist/tint.d.ts CHANGED
@@ -11,6 +11,7 @@ export declare const tintSchema: {
11
11
  readonly step: 0.01;
12
12
  readonly default: 0.5;
13
13
  readonly description: "Amount";
14
+ readonly hiddenFromList: false;
14
15
  };
15
16
  };
16
17
  export type TintParams = {
@@ -7,6 +7,7 @@ export declare const vignetteSchema: {
7
7
  readonly step: 0.01;
8
8
  readonly default: 0.5;
9
9
  readonly description: "Amount";
10
+ readonly hiddenFromList: false;
10
11
  };
11
12
  readonly radius: {
12
13
  readonly type: "number";
@@ -15,6 +16,7 @@ export declare const vignetteSchema: {
15
16
  readonly step: 0.01;
16
17
  readonly default: 0.65;
17
18
  readonly description: "Radius";
19
+ readonly hiddenFromList: false;
18
20
  };
19
21
  readonly feather: {
20
22
  readonly type: "number";
@@ -23,6 +25,7 @@ export declare const vignetteSchema: {
23
25
  readonly step: 0.01;
24
26
  readonly default: 0.35;
25
27
  readonly description: "Feather";
28
+ readonly hiddenFromList: false;
26
29
  };
27
30
  readonly roundness: {
28
31
  readonly type: "number";
@@ -31,6 +34,7 @@ export declare const vignetteSchema: {
31
34
  readonly step: 0.01;
32
35
  readonly default: 1;
33
36
  readonly description: "Roundness";
37
+ readonly hiddenFromList: false;
34
38
  };
35
39
  readonly color: {
36
40
  readonly type: "color";
@@ -46,8 +50,15 @@ export declare const vignetteSchema: {
46
50
  readonly alpha: {};
47
51
  };
48
52
  };
53
+ readonly center: {
54
+ readonly type: "uv-coordinate";
55
+ readonly step: 0.01;
56
+ readonly default: readonly [0.5, 0.5];
57
+ readonly description: "Center";
58
+ };
49
59
  };
50
60
  export type VignetteMode = (typeof VIGNETTE_MODES)[number];
61
+ export type VignetteCenter = readonly [number, number];
51
62
  export type VignetteParams = {
52
63
  /** Strength of the vignette from `0` to `1`. Defaults to `0.5`. */
53
64
  readonly amount?: number;
@@ -61,6 +72,8 @@ export type VignetteParams = {
61
72
  readonly color?: string;
62
73
  /** `color` blends a color into the edges, `alpha` fades edges transparent. Defaults to `color`. */
63
74
  readonly mode?: VignetteMode;
75
+ /** Center of the vignette in UV coordinates. Defaults to `[0.5, 0.5]`. */
76
+ readonly center?: VignetteCenter;
64
77
  };
65
78
  export declare const vignette: (params?: (VignetteParams & {
66
79
  readonly disabled?: boolean | undefined;
package/dist/waves.d.ts CHANGED
@@ -16,6 +16,7 @@ export declare const wavesSchema: {
16
16
  readonly step: 0.1;
17
17
  readonly default: 40;
18
18
  readonly description: "Thickness";
19
+ readonly hiddenFromList: false;
19
20
  };
20
21
  readonly gap: {
21
22
  readonly type: "number";
@@ -24,11 +25,10 @@ export declare const wavesSchema: {
24
25
  readonly step: 0.1;
25
26
  readonly default: 0;
26
27
  readonly description: "Gap";
28
+ readonly hiddenFromList: false;
27
29
  };
28
30
  readonly angle: {
29
- readonly type: "number";
30
- readonly min: -180;
31
- readonly max: 180;
31
+ readonly type: "rotation-degrees";
32
32
  readonly step: 1;
33
33
  readonly default: 0;
34
34
  readonly description: "Angle";
@@ -38,6 +38,7 @@ export declare const wavesSchema: {
38
38
  readonly step: 0.1;
39
39
  readonly default: 0;
40
40
  readonly description: "Offset";
41
+ readonly hiddenFromList: false;
41
42
  };
42
43
  readonly amplitude: {
43
44
  readonly type: "number";
@@ -46,6 +47,7 @@ export declare const wavesSchema: {
46
47
  readonly step: 0.1;
47
48
  readonly default: 24;
48
49
  readonly description: "Amplitude";
50
+ readonly hiddenFromList: false;
49
51
  };
50
52
  readonly wavelength: {
51
53
  readonly type: "number";
@@ -54,6 +56,7 @@ export declare const wavesSchema: {
54
56
  readonly step: 1;
55
57
  readonly default: 160;
56
58
  readonly description: "Wavelength";
59
+ readonly hiddenFromList: false;
57
60
  };
58
61
  readonly phase: {
59
62
  readonly type: "number";
@@ -62,6 +65,7 @@ export declare const wavesSchema: {
62
65
  readonly step: 1;
63
66
  readonly default: 0;
64
67
  readonly description: "Phase";
68
+ readonly hiddenFromList: false;
65
69
  };
66
70
  };
67
71
  export type WavesDirection = (typeof WAVE_DIRECTIONS)[number];
package/dist/zigzag.d.ts CHANGED
@@ -16,6 +16,7 @@ export declare const zigzagSchema: {
16
16
  readonly step: 0.1;
17
17
  readonly default: 40;
18
18
  readonly description: "Thickness";
19
+ readonly hiddenFromList: false;
19
20
  };
20
21
  readonly gap: {
21
22
  readonly type: "number";
@@ -24,11 +25,10 @@ export declare const zigzagSchema: {
24
25
  readonly step: 0.1;
25
26
  readonly default: 0;
26
27
  readonly description: "Gap";
28
+ readonly hiddenFromList: false;
27
29
  };
28
30
  readonly angle: {
29
- readonly type: "number";
30
- readonly min: -180;
31
- readonly max: 180;
31
+ readonly type: "rotation-degrees";
32
32
  readonly step: 1;
33
33
  readonly default: 0;
34
34
  readonly description: "Angle";
@@ -38,6 +38,7 @@ export declare const zigzagSchema: {
38
38
  readonly step: 0.1;
39
39
  readonly default: 0;
40
40
  readonly description: "Offset";
41
+ readonly hiddenFromList: false;
41
42
  };
42
43
  readonly amplitude: {
43
44
  readonly type: "number";
@@ -46,6 +47,7 @@ export declare const zigzagSchema: {
46
47
  readonly step: 0.1;
47
48
  readonly default: 40;
48
49
  readonly description: "Amplitude";
50
+ readonly hiddenFromList: false;
49
51
  };
50
52
  readonly wavelength: {
51
53
  readonly type: "number";
@@ -54,6 +56,7 @@ export declare const zigzagSchema: {
54
56
  readonly step: 1;
55
57
  readonly default: 160;
56
58
  readonly description: "Wavelength";
59
+ readonly hiddenFromList: false;
57
60
  };
58
61
  };
59
62
  export type ZigzagDirection = (typeof ZIGZAG_DIRECTIONS)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/effects",
3
- "version": "4.0.471",
3
+ "version": "4.0.472",
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.471"
29
+ "remotion": "4.0.472"
30
30
  },
31
31
  "exports": {
32
32
  ".": {
@@ -49,6 +49,11 @@
49
49
  "module": "./dist/esm/chromatic-aberration.mjs",
50
50
  "import": "./dist/esm/chromatic-aberration.mjs"
51
51
  },
52
+ "./color-key": {
53
+ "types": "./dist/color-key.d.ts",
54
+ "module": "./dist/esm/color-key.mjs",
55
+ "import": "./dist/esm/color-key.mjs"
56
+ },
52
57
  "./brightness": {
53
58
  "types": "./dist/brightness.d.ts",
54
59
  "module": "./dist/esm/brightness.mjs",
@@ -119,6 +124,11 @@
119
124
  "module": "./dist/esm/lines.mjs",
120
125
  "import": "./dist/esm/lines.mjs"
121
126
  },
127
+ "./linear-progressive-blur": {
128
+ "types": "./dist/linear-progressive-blur.d.ts",
129
+ "module": "./dist/esm/linear-progressive-blur.mjs",
130
+ "import": "./dist/esm/linear-progressive-blur.mjs"
131
+ },
122
132
  "./dot-grid": {
123
133
  "types": "./dist/dot-grid.d.ts",
124
134
  "module": "./dist/esm/dot-grid.mjs",
@@ -212,6 +222,9 @@
212
222
  "chromatic-aberration": [
213
223
  "dist/chromatic-aberration.d.ts"
214
224
  ],
225
+ "color-key": [
226
+ "dist/color-key.d.ts"
227
+ ],
215
228
  "brightness": [
216
229
  "dist/brightness.d.ts"
217
230
  ],
@@ -254,6 +267,9 @@
254
267
  "lines": [
255
268
  "dist/lines.d.ts"
256
269
  ],
270
+ "linear-progressive-blur": [
271
+ "dist/linear-progressive-blur.d.ts"
272
+ ],
257
273
  "dot-grid": [
258
274
  "dist/dot-grid.d.ts"
259
275
  ],
@@ -306,7 +322,7 @@
306
322
  },
307
323
  "homepage": "https://www.remotion.dev/docs/effects/api",
308
324
  "devDependencies": {
309
- "@remotion/eslint-config-internal": "4.0.471",
325
+ "@remotion/eslint-config-internal": "4.0.472",
310
326
  "@vitest/browser-playwright": "4.0.9",
311
327
  "eslint": "9.19.0",
312
328
  "vitest": "4.0.9",
@@ -1,8 +0,0 @@
1
- export declare const EffectInternals: {
2
- readonly halftone: (params?: (import("./halftone.js").HalftoneParams & {
3
- readonly disabled?: boolean | undefined;
4
- }) | undefined) => import("remotion").EffectDescriptor<unknown>;
5
- readonly tint: (params: import("./tint.js").TintParams & {
6
- readonly disabled?: boolean | undefined;
7
- }) => import("remotion").EffectDescriptor<unknown>;
8
- };
@@ -1,6 +0,0 @@
1
- import * as blurExports from '../blur/index.js';
2
- export type { BlurParams } from '../blur/index.js';
3
- declare const blur: (params: blurExports.BlurParams & {
4
- readonly disabled?: boolean | undefined;
5
- }) => import("remotion").EffectDescriptor<unknown>;
6
- export { blur };