@remotion/effects 4.0.468 → 4.0.469

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,93 @@
1
+ declare const HALFTONE_LINEAR_GRADIENT_COLOR_MODES: readonly ["solid", "source"];
2
+ export declare const halftoneLinearGradientSchema: {
3
+ readonly firstStopDotSize: {
4
+ readonly type: "number";
5
+ readonly min: 0;
6
+ readonly max: 400;
7
+ readonly step: 1;
8
+ readonly default: 0;
9
+ readonly description: "First stop dot size";
10
+ };
11
+ readonly secondStopDotSize: {
12
+ readonly type: "number";
13
+ readonly min: 0;
14
+ readonly max: 400;
15
+ readonly step: 1;
16
+ readonly default: 40;
17
+ readonly description: "Second stop dot size";
18
+ };
19
+ readonly firstStopPosition: {
20
+ readonly type: "uv-coordinate";
21
+ readonly min: -1;
22
+ readonly max: 2;
23
+ readonly step: 0.01;
24
+ readonly default: readonly [0, 0.5];
25
+ readonly description: "First stop position";
26
+ };
27
+ readonly secondStopPosition: {
28
+ readonly type: "uv-coordinate";
29
+ readonly min: -1;
30
+ readonly max: 2;
31
+ readonly step: 0.01;
32
+ readonly default: readonly [1, 0.5];
33
+ readonly description: "Second stop position";
34
+ };
35
+ readonly gridSize: {
36
+ readonly type: "number";
37
+ readonly min: 1;
38
+ readonly max: 400;
39
+ readonly step: 1;
40
+ readonly default: 24;
41
+ readonly description: "Grid size";
42
+ };
43
+ readonly colorMode: {
44
+ readonly type: "enum";
45
+ readonly default: "solid";
46
+ readonly description: "Color mode";
47
+ readonly variants: {
48
+ readonly solid: {
49
+ readonly dotColor: {
50
+ readonly type: "color";
51
+ readonly default: "black";
52
+ readonly description: "Dot color";
53
+ };
54
+ };
55
+ readonly source: {};
56
+ };
57
+ };
58
+ };
59
+ export type HalftoneLinearGradientColorMode = (typeof HALFTONE_LINEAR_GRADIENT_COLOR_MODES)[number];
60
+ export type UvCoordinate = readonly [number, number];
61
+ type HalftoneLinearGradientCommonParams = {
62
+ /**
63
+ * Dot diameter at the first side of the gradient.
64
+ */
65
+ readonly firstStopDotSize?: number;
66
+ /**
67
+ * Dot diameter at the opposite side of the gradient.
68
+ */
69
+ readonly secondStopDotSize?: number;
70
+ /**
71
+ * UV coordinate where the first dot size is reached.
72
+ */
73
+ readonly firstStopPosition?: UvCoordinate;
74
+ /**
75
+ * UV coordinate where the second dot size is reached.
76
+ */
77
+ readonly secondStopPosition?: UvCoordinate;
78
+ /**
79
+ * Distance between adjacent dot centers.
80
+ */
81
+ readonly gridSize?: number;
82
+ };
83
+ export type HalftoneLinearGradientParams = HalftoneLinearGradientCommonParams & ({
84
+ readonly colorMode?: 'solid';
85
+ /** Dot color. Defaults to black. */
86
+ readonly dotColor?: string;
87
+ } | {
88
+ readonly colorMode: 'source';
89
+ });
90
+ export declare const halftoneLinearGradient: (params?: (HalftoneLinearGradientParams & {
91
+ readonly disabled?: boolean | undefined;
92
+ }) | undefined) => import("remotion").EffectDescriptor<unknown>;
93
+ export {};
@@ -0,0 +1,11 @@
1
+ export type NoiseParams = {
2
+ /** Strength of the noise from `0` to `1`. Defaults to `0.15`. */
3
+ readonly amount?: number;
4
+ /** Seed for the random noise pattern. Defaults to `0`. */
5
+ readonly seed?: number;
6
+ /** Multiply the noise with the input colors before blending. Defaults to `false`. */
7
+ readonly premultiply?: boolean;
8
+ };
9
+ export declare const noise: (params?: (NoiseParams & {
10
+ readonly disabled?: boolean | undefined;
11
+ }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -0,0 +1,11 @@
1
+ export type SpeckleParams = {
2
+ /** Chance that a grid cell receives an alpha hole. Defaults to `0.08`. */
3
+ readonly density?: number;
4
+ /** Maximum speckle diameter in pixels. Defaults to `4`. */
5
+ readonly size?: number;
6
+ /** Amount of random position and size variation between 0 and 1. Defaults to `1`. */
7
+ readonly randomness?: number;
8
+ };
9
+ export declare const speckle: (params?: (SpeckleParams & {
10
+ readonly disabled?: boolean | undefined;
11
+ }) | undefined) => import("remotion").EffectDescriptor<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/effects",
3
- "version": "4.0.468",
3
+ "version": "4.0.469",
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",
@@ -24,7 +24,7 @@
24
24
  "url": "https://github.com/remotion-dev/remotion/issues"
25
25
  },
26
26
  "dependencies": {
27
- "remotion": "4.0.468"
27
+ "remotion": "4.0.469"
28
28
  },
29
29
  "exports": {
30
30
  ".": {
@@ -57,6 +57,11 @@
57
57
  "module": "./dist/esm/contrast.mjs",
58
58
  "import": "./dist/esm/contrast.mjs"
59
59
  },
60
+ "./drop-shadow": {
61
+ "types": "./dist/drop-shadow.d.ts",
62
+ "module": "./dist/esm/drop-shadow.mjs",
63
+ "import": "./dist/esm/drop-shadow.mjs"
64
+ },
60
65
  "./duotone": {
61
66
  "types": "./dist/duotone.d.ts",
62
67
  "module": "./dist/esm/duotone.mjs",
@@ -72,6 +77,11 @@
72
77
  "module": "./dist/esm/halftone.mjs",
73
78
  "import": "./dist/esm/halftone.mjs"
74
79
  },
80
+ "./halftone-linear-gradient": {
81
+ "types": "./dist/halftone-linear-gradient.d.ts",
82
+ "module": "./dist/esm/halftone-linear-gradient.mjs",
83
+ "import": "./dist/esm/halftone-linear-gradient.mjs"
84
+ },
75
85
  "./grayscale": {
76
86
  "types": "./dist/grayscale.d.ts",
77
87
  "module": "./dist/esm/grayscale.mjs",
@@ -87,11 +97,21 @@
87
97
  "module": "./dist/esm/invert.mjs",
88
98
  "import": "./dist/esm/invert.mjs"
89
99
  },
100
+ "./dot-grid": {
101
+ "types": "./dist/dot-grid.d.ts",
102
+ "module": "./dist/esm/dot-grid.mjs",
103
+ "import": "./dist/esm/dot-grid.mjs"
104
+ },
90
105
  "./mirror": {
91
106
  "types": "./dist/mirror.d.ts",
92
107
  "module": "./dist/esm/mirror.mjs",
93
108
  "import": "./dist/esm/mirror.mjs"
94
109
  },
110
+ "./noise": {
111
+ "types": "./dist/noise.d.ts",
112
+ "module": "./dist/esm/noise.mjs",
113
+ "import": "./dist/esm/noise.mjs"
114
+ },
95
115
  "./saturation": {
96
116
  "types": "./dist/saturation.d.ts",
97
117
  "module": "./dist/esm/saturation.mjs",
@@ -107,6 +127,11 @@
107
127
  "module": "./dist/esm/shine.mjs",
108
128
  "import": "./dist/esm/shine.mjs"
109
129
  },
130
+ "./speckle": {
131
+ "types": "./dist/speckle.d.ts",
132
+ "module": "./dist/esm/speckle.mjs",
133
+ "import": "./dist/esm/speckle.mjs"
134
+ },
110
135
  "./tint": {
111
136
  "types": "./dist/tint.d.ts",
112
137
  "module": "./dist/esm/tint.mjs",
@@ -146,6 +171,9 @@
146
171
  "contrast": [
147
172
  "dist/contrast.d.ts"
148
173
  ],
174
+ "drop-shadow": [
175
+ "dist/drop-shadow.d.ts"
176
+ ],
149
177
  "duotone": [
150
178
  "dist/duotone.d.ts"
151
179
  ],
@@ -155,6 +183,9 @@
155
183
  "halftone": [
156
184
  "dist/halftone.d.ts"
157
185
  ],
186
+ "halftone-linear-gradient": [
187
+ "dist/halftone-linear-gradient.d.ts"
188
+ ],
158
189
  "grayscale": [
159
190
  "dist/grayscale.d.ts"
160
191
  ],
@@ -164,9 +195,15 @@
164
195
  "invert": [
165
196
  "dist/invert.d.ts"
166
197
  ],
198
+ "dot-grid": [
199
+ "dist/dot-grid.d.ts"
200
+ ],
167
201
  "mirror": [
168
202
  "dist/mirror.d.ts"
169
203
  ],
204
+ "noise": [
205
+ "dist/noise.d.ts"
206
+ ],
170
207
  "saturation": [
171
208
  "dist/saturation.d.ts"
172
209
  ],
@@ -176,6 +213,9 @@
176
213
  "shine": [
177
214
  "dist/shine.d.ts"
178
215
  ],
216
+ "speckle": [
217
+ "dist/speckle.d.ts"
218
+ ],
179
219
  "tint": [
180
220
  "dist/tint.d.ts"
181
221
  ],
@@ -192,7 +232,7 @@
192
232
  },
193
233
  "homepage": "https://www.remotion.dev/docs/effects/api",
194
234
  "devDependencies": {
195
- "@remotion/eslint-config-internal": "4.0.468",
235
+ "@remotion/eslint-config-internal": "4.0.469",
196
236
  "eslint": "9.19.0",
197
237
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
198
238
  },