@remotion/effects 4.0.537 → 4.0.538

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 (90) hide show
  1. package/dist/barrel-distortion/index.d.ts +1 -1
  2. package/dist/bevel-alpha/index.d.ts +1 -1
  3. package/dist/bevel-alpha/shaders.d.ts +1 -1
  4. package/dist/blur/index.d.ts +1 -1
  5. package/dist/brightness.d.ts +1 -1
  6. package/dist/burlap.d.ts +1 -1
  7. package/dist/checkerboard.d.ts +17 -17
  8. package/dist/chromatic-aberration/index.d.ts +1 -1
  9. package/dist/color-correction.d.ts +1 -1
  10. package/dist/color-key.d.ts +9 -9
  11. package/dist/color-utils.d.ts +8 -8
  12. package/dist/contour-lines.d.ts +23 -23
  13. package/dist/contrast.d.ts +1 -1
  14. package/dist/corner-pin/index.d.ts +1 -1
  15. package/dist/cylinder/index.d.ts +1 -1
  16. package/dist/dot-grid.d.ts +7 -7
  17. package/dist/drop-shadow/index.d.ts +1 -1
  18. package/dist/duotone.d.ts +7 -7
  19. package/dist/emboss.d.ts +15 -15
  20. package/dist/esm/long-shadows.mjs +410 -0
  21. package/dist/evolve.d.ts +8 -8
  22. package/dist/exposure.d.ts +1 -1
  23. package/dist/fisheye/index.d.ts +1 -1
  24. package/dist/flannel.d.ts +1 -1
  25. package/dist/fractal-noise/index.d.ts +3 -3
  26. package/dist/gaussian-blur-shader.d.ts +1 -1
  27. package/dist/glow/index.d.ts +1 -1
  28. package/dist/grayscale.d.ts +1 -1
  29. package/dist/gridlines.d.ts +23 -23
  30. package/dist/halftone-linear-gradient.d.ts +21 -21
  31. package/dist/halftone.d.ts +25 -25
  32. package/dist/hue.d.ts +1 -1
  33. package/dist/invert.d.ts +1 -1
  34. package/dist/lens-blur/index.d.ts +2 -2
  35. package/dist/levels.d.ts +1 -1
  36. package/dist/light-leak.d.ts +7 -7
  37. package/dist/light-trail/index.d.ts +1 -1
  38. package/dist/linear-gradient-tint.d.ts +1 -1
  39. package/dist/linear-gradient.d.ts +1 -1
  40. package/dist/linear-progressive-blur/index.d.ts +1 -1
  41. package/dist/linear-progressive-blur/linear-progressive-blur-shaders.d.ts +1 -1
  42. package/dist/linear-progressive-pixelate/index.d.ts +1 -1
  43. package/dist/lines.d.ts +18 -18
  44. package/dist/liquid-contours.d.ts +21 -21
  45. package/dist/long-shadows.d.ts +13 -0
  46. package/dist/lut/index.d.ts +3 -3
  47. package/dist/mirror/index.d.ts +1 -1
  48. package/dist/noise-displacement.d.ts +1 -1
  49. package/dist/noise.d.ts +1 -1
  50. package/dist/outline/polygonize-alpha.d.ts +1 -1
  51. package/dist/outline.d.ts +11 -11
  52. package/dist/page-turn/index.d.ts +1 -1
  53. package/dist/paper.d.ts +1 -1
  54. package/dist/pattern.d.ts +1 -1
  55. package/dist/pixel-dissolve.d.ts +1 -1
  56. package/dist/pixelate.d.ts +1 -1
  57. package/dist/radial-progressive-blur/index.d.ts +1 -1
  58. package/dist/radial-progressive-blur/radial-progressive-blur-shaders.d.ts +1 -1
  59. package/dist/radial-progressive-pixelate/index.d.ts +1 -1
  60. package/dist/region-blur/index.d.ts +11 -11
  61. package/dist/rings.d.ts +15 -15
  62. package/dist/roughen-edges.d.ts +1 -1
  63. package/dist/saturation.d.ts +1 -1
  64. package/dist/scale/index.d.ts +1 -1
  65. package/dist/scanlines.d.ts +1 -1
  66. package/dist/shadows-highlights.d.ts +1 -1
  67. package/dist/shine.d.ts +1 -1
  68. package/dist/shrinkwrap.d.ts +1 -1
  69. package/dist/skew.d.ts +1 -1
  70. package/dist/speckle.d.ts +1 -1
  71. package/dist/sphere/index.d.ts +1 -1
  72. package/dist/starburst.d.ts +13 -13
  73. package/dist/tear.d.ts +1 -1
  74. package/dist/thermal-vision.d.ts +7 -7
  75. package/dist/tile.d.ts +1 -1
  76. package/dist/tint.d.ts +5 -5
  77. package/dist/translate/index.d.ts +2 -2
  78. package/dist/turbulent-displace/index.d.ts +3 -3
  79. package/dist/tv-signal-off.d.ts +1 -1
  80. package/dist/venetian-blinds.d.ts +8 -8
  81. package/dist/vibrance.d.ts +1 -1
  82. package/dist/vignette.d.ts +16 -16
  83. package/dist/visual-test/visual-utils.d.ts +8 -8
  84. package/dist/wave/index.d.ts +1 -1
  85. package/dist/waves.d.ts +24 -24
  86. package/dist/white-balance.d.ts +1 -1
  87. package/dist/white-noise.d.ts +1 -1
  88. package/dist/zigzag.d.ts +22 -22
  89. package/dist/zoom-blur/index.d.ts +1 -1
  90. package/package.json +15 -7
@@ -8,5 +8,5 @@ export type WaveParams = {
8
8
  readonly wavelength?: number;
9
9
  };
10
10
  export declare const wave: (params?: (WaveParams & {
11
- readonly disabled?: boolean | undefined;
11
+ readonly disabled?: boolean;
12
12
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
package/dist/waves.d.ts CHANGED
@@ -1,87 +1,87 @@
1
- declare const WAVE_DIRECTIONS: readonly ["horizontal", "vertical"];
1
+ declare const WAVE_DIRECTIONS: readonly ['horizontal', 'vertical'];
2
2
  export declare const wavesSchema: {
3
3
  readonly colors: {
4
- readonly type: "array";
4
+ readonly type: 'array';
5
5
  readonly item: {
6
- readonly type: "color";
6
+ readonly type: 'color';
7
7
  };
8
8
  readonly default: readonly ["#dff4ff", "#7cc6ff"];
9
9
  readonly minLength: 2;
10
- readonly newItemDefault: "#ff0000";
11
- readonly description: "Colors";
10
+ readonly newItemDefault: '#ff0000';
11
+ readonly description: 'Colors';
12
12
  readonly keyframable: false;
13
13
  };
14
14
  readonly direction: {
15
- readonly type: "enum";
15
+ readonly type: 'enum';
16
16
  readonly variants: {
17
17
  readonly horizontal: {};
18
18
  readonly vertical: {};
19
19
  };
20
20
  readonly default: "horizontal";
21
- readonly description: "Direction";
21
+ readonly description: 'Direction';
22
22
  };
23
23
  readonly thickness: {
24
- readonly type: "number";
24
+ readonly type: 'number';
25
25
  readonly min: 0.1;
26
26
  readonly max: 400;
27
27
  readonly step: 0.1;
28
28
  readonly default: 40;
29
- readonly description: "Thickness";
29
+ readonly description: 'Thickness';
30
30
  readonly hiddenFromList: false;
31
31
  };
32
32
  readonly gap: {
33
- readonly type: "number";
33
+ readonly type: 'number';
34
34
  readonly min: 0;
35
35
  readonly max: 400;
36
36
  readonly step: 0.1;
37
37
  readonly default: 0;
38
- readonly description: "Gap";
38
+ readonly description: 'Gap';
39
39
  readonly hiddenFromList: false;
40
40
  };
41
41
  readonly angle: {
42
- readonly type: "rotation-degrees";
42
+ readonly type: 'rotation-degrees';
43
43
  readonly step: 1;
44
44
  readonly default: 0;
45
- readonly description: "Angle";
45
+ readonly description: 'Angle';
46
46
  };
47
47
  readonly offset: {
48
- readonly type: "number";
48
+ readonly type: 'number';
49
49
  readonly step: 0.1;
50
50
  readonly default: 0;
51
- readonly description: "Offset";
51
+ readonly description: 'Offset';
52
52
  readonly hiddenFromList: false;
53
53
  };
54
54
  readonly amplitude: {
55
- readonly type: "number";
55
+ readonly type: 'number';
56
56
  readonly min: 0;
57
57
  readonly max: 500;
58
58
  readonly step: 0.1;
59
59
  readonly default: 24;
60
- readonly description: "Amplitude";
60
+ readonly description: 'Amplitude';
61
61
  readonly hiddenFromList: false;
62
62
  };
63
63
  readonly wavelength: {
64
- readonly type: "number";
64
+ readonly type: 'number';
65
65
  readonly min: 1;
66
66
  readonly max: 2000;
67
67
  readonly step: 1;
68
68
  readonly default: 160;
69
- readonly description: "Wavelength";
69
+ readonly description: 'Wavelength';
70
70
  readonly hiddenFromList: false;
71
71
  };
72
72
  readonly phase: {
73
- readonly type: "number";
73
+ readonly type: 'number';
74
74
  readonly min: -360;
75
75
  readonly max: 360;
76
76
  readonly step: 1;
77
77
  readonly default: 0;
78
- readonly description: "Phase";
78
+ readonly description: 'Phase';
79
79
  readonly hiddenFromList: false;
80
80
  };
81
81
  readonly maskToSourceAlpha: {
82
- readonly type: "boolean";
82
+ readonly type: 'boolean';
83
83
  readonly default: false;
84
- readonly description: "Mask to source alpha";
84
+ readonly description: 'Mask to source alpha';
85
85
  };
86
86
  };
87
87
  export type WavesDirection = (typeof WAVE_DIRECTIONS)[number];
@@ -108,6 +108,6 @@ export type WavesParams = {
108
108
  readonly maskToSourceAlpha?: boolean;
109
109
  };
110
110
  export declare const waves: (params?: (WavesParams & {
111
- readonly disabled?: boolean | undefined;
111
+ readonly disabled?: boolean;
112
112
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
113
113
  export {};
@@ -5,5 +5,5 @@ export type WhiteBalanceParams = {
5
5
  readonly tint?: number;
6
6
  };
7
7
  export declare const whiteBalance: (params?: (WhiteBalanceParams & {
8
- readonly disabled?: boolean | undefined;
8
+ readonly disabled?: boolean;
9
9
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -5,5 +5,5 @@ export type WhiteNoiseParams = {
5
5
  readonly seed?: number;
6
6
  };
7
7
  export declare const whiteNoise: (params?: (WhiteNoiseParams & {
8
- readonly disabled?: boolean | undefined;
8
+ readonly disabled?: boolean;
9
9
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
package/dist/zigzag.d.ts CHANGED
@@ -1,78 +1,78 @@
1
- declare const ZIGZAG_DIRECTIONS: readonly ["horizontal", "vertical"];
1
+ declare const ZIGZAG_DIRECTIONS: readonly ['horizontal', 'vertical'];
2
2
  export declare const zigzagSchema: {
3
3
  readonly colors: {
4
- readonly type: "array";
4
+ readonly type: 'array';
5
5
  readonly item: {
6
- readonly type: "color";
6
+ readonly type: 'color';
7
7
  };
8
8
  readonly default: readonly ["#dff4ff", "#7cc6ff"];
9
9
  readonly minLength: 2;
10
- readonly newItemDefault: "#ff0000";
11
- readonly description: "Colors";
10
+ readonly newItemDefault: '#ff0000';
11
+ readonly description: 'Colors';
12
12
  readonly keyframable: false;
13
13
  };
14
14
  readonly direction: {
15
- readonly type: "enum";
15
+ readonly type: 'enum';
16
16
  readonly variants: {
17
17
  readonly horizontal: {};
18
18
  readonly vertical: {};
19
19
  };
20
20
  readonly default: "horizontal";
21
- readonly description: "Direction";
21
+ readonly description: 'Direction';
22
22
  };
23
23
  readonly thickness: {
24
- readonly type: "number";
24
+ readonly type: 'number';
25
25
  readonly min: 0.1;
26
26
  readonly max: 400;
27
27
  readonly step: 0.1;
28
28
  readonly default: 40;
29
- readonly description: "Thickness";
29
+ readonly description: 'Thickness';
30
30
  readonly hiddenFromList: false;
31
31
  };
32
32
  readonly gap: {
33
- readonly type: "number";
33
+ readonly type: 'number';
34
34
  readonly min: 0;
35
35
  readonly max: 400;
36
36
  readonly step: 0.1;
37
37
  readonly default: 0;
38
- readonly description: "Gap";
38
+ readonly description: 'Gap';
39
39
  readonly hiddenFromList: false;
40
40
  };
41
41
  readonly angle: {
42
- readonly type: "rotation-degrees";
42
+ readonly type: 'rotation-degrees';
43
43
  readonly step: 1;
44
44
  readonly default: 0;
45
- readonly description: "Angle";
45
+ readonly description: 'Angle';
46
46
  };
47
47
  readonly offset: {
48
- readonly type: "number";
48
+ readonly type: 'number';
49
49
  readonly step: 0.1;
50
50
  readonly default: 0;
51
- readonly description: "Offset";
51
+ readonly description: 'Offset';
52
52
  readonly hiddenFromList: false;
53
53
  };
54
54
  readonly amplitude: {
55
- readonly type: "number";
55
+ readonly type: 'number';
56
56
  readonly min: 0;
57
57
  readonly max: 500;
58
58
  readonly step: 0.1;
59
59
  readonly default: 40;
60
- readonly description: "Amplitude";
60
+ readonly description: 'Amplitude';
61
61
  readonly hiddenFromList: false;
62
62
  };
63
63
  readonly wavelength: {
64
- readonly type: "number";
64
+ readonly type: 'number';
65
65
  readonly min: 1;
66
66
  readonly max: 2000;
67
67
  readonly step: 1;
68
68
  readonly default: 160;
69
- readonly description: "Wavelength";
69
+ readonly description: 'Wavelength';
70
70
  readonly hiddenFromList: false;
71
71
  };
72
72
  readonly maskToSourceAlpha: {
73
- readonly type: "boolean";
73
+ readonly type: 'boolean';
74
74
  readonly default: false;
75
- readonly description: "Mask to source alpha";
75
+ readonly description: 'Mask to source alpha';
76
76
  };
77
77
  };
78
78
  export type ZigzagDirection = (typeof ZIGZAG_DIRECTIONS)[number];
@@ -97,6 +97,6 @@ export type ZigzagParams = {
97
97
  readonly maskToSourceAlpha?: boolean;
98
98
  };
99
99
  export declare const zigzag: (params?: (ZigzagParams & {
100
- readonly disabled?: boolean | undefined;
100
+ readonly disabled?: boolean;
101
101
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
102
102
  export {};
@@ -8,5 +8,5 @@ export type ZoomBlurParams = {
8
8
  readonly samples?: number;
9
9
  };
10
10
  export declare const zoomBlur: (params?: (ZoomBlurParams & {
11
- readonly disabled?: boolean | undefined;
11
+ readonly disabled?: boolean;
12
12
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/effects",
3
- "version": "4.0.537",
3
+ "version": "4.0.538",
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",
@@ -16,8 +16,8 @@
16
16
  "formatting": "oxfmt src --check",
17
17
  "format": "oxfmt src",
18
18
  "lint": "eslint src",
19
- "watch": "tsgo -w",
20
- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"
19
+ "watch": "tsc -w",
20
+ "make": "tsc && bun --env-file=../.env.bundle bundle.ts"
21
21
  },
22
22
  "author": "Jonny Burger <jonny@remotion.dev>",
23
23
  "contributors": [],
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/remotion-dev/remotion/issues"
27
27
  },
28
28
  "dependencies": {
29
- "remotion": "4.0.537"
29
+ "remotion": "4.0.538"
30
30
  },
31
31
  "exports": {
32
32
  ".": {
@@ -224,6 +224,11 @@
224
224
  "module": "./dist/esm/levels.mjs",
225
225
  "import": "./dist/esm/levels.mjs"
226
226
  },
227
+ "./long-shadows": {
228
+ "types": "./dist/long-shadows.d.ts",
229
+ "module": "./dist/esm/long-shadows.mjs",
230
+ "import": "./dist/esm/long-shadows.mjs"
231
+ },
227
232
  "./lut": {
228
233
  "types": "./dist/lut.d.ts",
229
234
  "module": "./dist/esm/lut.mjs",
@@ -552,6 +557,9 @@
552
557
  "levels": [
553
558
  "dist/levels.d.ts"
554
559
  ],
560
+ "long-shadows": [
561
+ "dist/long-shadows.d.ts"
562
+ ],
555
563
  "lut": [
556
564
  "dist/lut.d.ts"
557
565
  ],
@@ -682,12 +690,12 @@
682
690
  },
683
691
  "homepage": "https://www.remotion.dev/docs/effects/api",
684
692
  "devDependencies": {
685
- "@remotion/eslint-config-internal": "4.0.537",
686
- "@typescript/native-preview": "7.0.0-dev.20260217.1",
693
+ "@remotion/eslint-config-internal": "4.0.538",
687
694
  "@vitest/browser-playwright": "5.0.3",
688
695
  "@webgpu/types": "0.1.74",
689
696
  "eslint": "9.19.0",
690
- "vitest": "5.0.3"
697
+ "vitest": "5.0.3",
698
+ "typescript": "7.1.0-beta"
691
699
  },
692
700
  "keywords": [
693
701
  "remotion",