@remotion/effects 4.0.466 → 4.0.468

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,68 @@
1
+ declare const VIGNETTE_MODES: readonly ["color", "alpha"];
2
+ export declare const vignetteSchema: {
3
+ readonly amount: {
4
+ readonly type: "number";
5
+ readonly min: 0;
6
+ readonly max: 1;
7
+ readonly step: 0.01;
8
+ readonly default: 0.5;
9
+ readonly description: "Amount";
10
+ };
11
+ readonly radius: {
12
+ readonly type: "number";
13
+ readonly min: 0;
14
+ readonly max: 1;
15
+ readonly step: 0.01;
16
+ readonly default: 0.65;
17
+ readonly description: "Radius";
18
+ };
19
+ readonly feather: {
20
+ readonly type: "number";
21
+ readonly min: 0;
22
+ readonly max: 1;
23
+ readonly step: 0.01;
24
+ readonly default: 0.35;
25
+ readonly description: "Feather";
26
+ };
27
+ readonly roundness: {
28
+ readonly type: "number";
29
+ readonly min: 0;
30
+ readonly max: 1;
31
+ readonly step: 0.01;
32
+ readonly default: 1;
33
+ readonly description: "Roundness";
34
+ };
35
+ readonly color: {
36
+ readonly type: "color";
37
+ readonly default: "#000000";
38
+ readonly description: "Color";
39
+ };
40
+ readonly mode: {
41
+ readonly type: "enum";
42
+ readonly default: "color";
43
+ readonly description: "Mode";
44
+ readonly variants: {
45
+ readonly color: {};
46
+ readonly alpha: {};
47
+ };
48
+ };
49
+ };
50
+ export type VignetteMode = (typeof VIGNETTE_MODES)[number];
51
+ export type VignetteParams = {
52
+ /** Strength of the vignette from `0` to `1`. Defaults to `0.5`. */
53
+ readonly amount?: number;
54
+ /** Size of the unaffected center from `0` to `1`. Defaults to `0.65`. */
55
+ readonly radius?: number;
56
+ /** Softness of the vignette edge from `0` to `1`. Defaults to `0.35`. */
57
+ readonly feather?: number;
58
+ /** Shape from rectangular (`0`) to elliptical (`1`). Defaults to `1`. */
59
+ readonly roundness?: number;
60
+ /** Color blended into the edges in `color` mode. Defaults to black. */
61
+ readonly color?: string;
62
+ /** `color` blends a color into the edges, `alpha` fades edges transparent. Defaults to `color`. */
63
+ readonly mode?: VignetteMode;
64
+ };
65
+ export declare const vignette: (params?: (VignetteParams & {
66
+ readonly disabled?: boolean | undefined;
67
+ }) | undefined) => import("remotion").EffectDescriptor<unknown>;
68
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/effects",
3
- "version": "4.0.466",
3
+ "version": "4.0.468",
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.466"
27
+ "remotion": "4.0.468"
28
28
  },
29
29
  "exports": {
30
30
  ".": {
@@ -42,11 +42,31 @@
42
42
  "module": "./dist/esm/blur.mjs",
43
43
  "import": "./dist/esm/blur.mjs"
44
44
  },
45
+ "./chromatic-aberration": {
46
+ "types": "./dist/chromatic-aberration.d.ts",
47
+ "module": "./dist/esm/chromatic-aberration.mjs",
48
+ "import": "./dist/esm/chromatic-aberration.mjs"
49
+ },
45
50
  "./brightness": {
46
51
  "types": "./dist/brightness.d.ts",
47
52
  "module": "./dist/esm/brightness.mjs",
48
53
  "import": "./dist/esm/brightness.mjs"
49
54
  },
55
+ "./contrast": {
56
+ "types": "./dist/contrast.d.ts",
57
+ "module": "./dist/esm/contrast.mjs",
58
+ "import": "./dist/esm/contrast.mjs"
59
+ },
60
+ "./duotone": {
61
+ "types": "./dist/duotone.d.ts",
62
+ "module": "./dist/esm/duotone.mjs",
63
+ "import": "./dist/esm/duotone.mjs"
64
+ },
65
+ "./glow": {
66
+ "types": "./dist/glow.d.ts",
67
+ "module": "./dist/esm/glow.mjs",
68
+ "import": "./dist/esm/glow.mjs"
69
+ },
50
70
  "./halftone": {
51
71
  "types": "./dist/halftone.d.ts",
52
72
  "module": "./dist/esm/halftone.mjs",
@@ -82,11 +102,26 @@
82
102
  "module": "./dist/esm/scale.mjs",
83
103
  "import": "./dist/esm/scale.mjs"
84
104
  },
105
+ "./shine": {
106
+ "types": "./dist/shine.d.ts",
107
+ "module": "./dist/esm/shine.mjs",
108
+ "import": "./dist/esm/shine.mjs"
109
+ },
85
110
  "./tint": {
86
111
  "types": "./dist/tint.d.ts",
87
112
  "module": "./dist/esm/tint.mjs",
88
113
  "import": "./dist/esm/tint.mjs"
89
114
  },
115
+ "./translate": {
116
+ "types": "./dist/translate.d.ts",
117
+ "module": "./dist/esm/translate.mjs",
118
+ "import": "./dist/esm/translate.mjs"
119
+ },
120
+ "./vignette": {
121
+ "types": "./dist/vignette.d.ts",
122
+ "module": "./dist/esm/vignette.mjs",
123
+ "import": "./dist/esm/vignette.mjs"
124
+ },
90
125
  "./wave": {
91
126
  "types": "./dist/wave.d.ts",
92
127
  "module": "./dist/esm/wave.mjs",
@@ -102,9 +137,21 @@
102
137
  "blur": [
103
138
  "dist/blur.d.ts"
104
139
  ],
140
+ "chromatic-aberration": [
141
+ "dist/chromatic-aberration.d.ts"
142
+ ],
105
143
  "brightness": [
106
144
  "dist/brightness.d.ts"
107
145
  ],
146
+ "contrast": [
147
+ "dist/contrast.d.ts"
148
+ ],
149
+ "duotone": [
150
+ "dist/duotone.d.ts"
151
+ ],
152
+ "glow": [
153
+ "dist/glow.d.ts"
154
+ ],
108
155
  "halftone": [
109
156
  "dist/halftone.d.ts"
110
157
  ],
@@ -126,9 +173,18 @@
126
173
  "scale": [
127
174
  "dist/scale.d.ts"
128
175
  ],
176
+ "shine": [
177
+ "dist/shine.d.ts"
178
+ ],
129
179
  "tint": [
130
180
  "dist/tint.d.ts"
131
181
  ],
182
+ "translate": [
183
+ "dist/translate.d.ts"
184
+ ],
185
+ "vignette": [
186
+ "dist/vignette.d.ts"
187
+ ],
132
188
  "wave": [
133
189
  "dist/wave.d.ts"
134
190
  ]
@@ -136,7 +192,7 @@
136
192
  },
137
193
  "homepage": "https://www.remotion.dev/docs/effects/api",
138
194
  "devDependencies": {
139
- "@remotion/eslint-config-internal": "4.0.466",
195
+ "@remotion/eslint-config-internal": "4.0.468",
140
196
  "eslint": "9.19.0",
141
197
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
142
198
  },