@remotion/starburst 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.
- package/dist/Starburst.d.ts +131 -0
- package/dist/esm/index.mjs +47 -10
- package/dist/starburst-effect.d.ts +14 -0
- package/package.json +3 -3
package/dist/Starburst.d.ts
CHANGED
|
@@ -10,6 +10,137 @@ export type StarburstProps = Omit<SequenceProps, 'children' | 'durationInFrames'
|
|
|
10
10
|
readonly originOffsetX?: number;
|
|
11
11
|
readonly originOffsetY?: number;
|
|
12
12
|
};
|
|
13
|
+
export declare const starburstSchema: {
|
|
14
|
+
readonly 'style.translate': {
|
|
15
|
+
readonly type: "translate";
|
|
16
|
+
readonly step: 1;
|
|
17
|
+
readonly default: "0px 0px";
|
|
18
|
+
readonly description: "Offset";
|
|
19
|
+
};
|
|
20
|
+
readonly 'style.scale': {
|
|
21
|
+
readonly type: "scale";
|
|
22
|
+
readonly min: 0.05;
|
|
23
|
+
readonly max: 100;
|
|
24
|
+
readonly step: 0.01;
|
|
25
|
+
readonly default: 1;
|
|
26
|
+
readonly description: "Scale";
|
|
27
|
+
};
|
|
28
|
+
readonly 'style.rotate': {
|
|
29
|
+
readonly type: "rotation-css";
|
|
30
|
+
readonly step: 1;
|
|
31
|
+
readonly default: "0deg";
|
|
32
|
+
readonly description: "Rotation";
|
|
33
|
+
};
|
|
34
|
+
readonly 'style.opacity': {
|
|
35
|
+
readonly type: "number";
|
|
36
|
+
readonly min: 0;
|
|
37
|
+
readonly max: 1;
|
|
38
|
+
readonly step: 0.01;
|
|
39
|
+
readonly default: 1;
|
|
40
|
+
readonly description: "Opacity";
|
|
41
|
+
readonly hiddenFromList: false;
|
|
42
|
+
};
|
|
43
|
+
readonly premountFor: {
|
|
44
|
+
readonly type: "number";
|
|
45
|
+
readonly default: 0;
|
|
46
|
+
readonly description: "Premount For";
|
|
47
|
+
readonly min: 0;
|
|
48
|
+
readonly step: 1;
|
|
49
|
+
readonly hiddenFromList: false;
|
|
50
|
+
};
|
|
51
|
+
readonly postmountFor: {
|
|
52
|
+
readonly type: "number";
|
|
53
|
+
readonly default: 0;
|
|
54
|
+
readonly min: 0;
|
|
55
|
+
readonly step: 1;
|
|
56
|
+
readonly hiddenFromList: true;
|
|
57
|
+
};
|
|
58
|
+
readonly styleWhilePremounted: {
|
|
59
|
+
readonly type: "hidden";
|
|
60
|
+
};
|
|
61
|
+
readonly styleWhilePostmounted: {
|
|
62
|
+
readonly type: "hidden";
|
|
63
|
+
};
|
|
64
|
+
readonly durationInFrames: {
|
|
65
|
+
readonly type: "number";
|
|
66
|
+
readonly default: undefined;
|
|
67
|
+
readonly min: 1;
|
|
68
|
+
readonly step: 1;
|
|
69
|
+
readonly hiddenFromList: true;
|
|
70
|
+
};
|
|
71
|
+
readonly from: {
|
|
72
|
+
readonly type: "number";
|
|
73
|
+
readonly default: 0;
|
|
74
|
+
readonly step: 1;
|
|
75
|
+
readonly hiddenFromList: true;
|
|
76
|
+
};
|
|
77
|
+
readonly rays: {
|
|
78
|
+
readonly type: "number";
|
|
79
|
+
readonly min: 2;
|
|
80
|
+
readonly max: 100;
|
|
81
|
+
readonly step: 1;
|
|
82
|
+
readonly default: 12;
|
|
83
|
+
readonly description: "Number of Rays";
|
|
84
|
+
readonly hiddenFromList: false;
|
|
85
|
+
};
|
|
86
|
+
readonly colors: {
|
|
87
|
+
readonly type: "array";
|
|
88
|
+
readonly item: {
|
|
89
|
+
readonly type: "color";
|
|
90
|
+
};
|
|
91
|
+
readonly default: undefined;
|
|
92
|
+
readonly minLength: 2;
|
|
93
|
+
readonly newItemDefault: "#ff0000";
|
|
94
|
+
readonly description: "Colors";
|
|
95
|
+
readonly keyframable: false;
|
|
96
|
+
};
|
|
97
|
+
readonly rotation: {
|
|
98
|
+
readonly type: "number";
|
|
99
|
+
readonly min: 0;
|
|
100
|
+
readonly max: 360;
|
|
101
|
+
readonly step: 1;
|
|
102
|
+
readonly default: 0;
|
|
103
|
+
readonly description: "Rotation";
|
|
104
|
+
readonly hiddenFromList: false;
|
|
105
|
+
};
|
|
106
|
+
readonly smoothness: {
|
|
107
|
+
readonly type: "number";
|
|
108
|
+
readonly min: 0;
|
|
109
|
+
readonly max: 1;
|
|
110
|
+
readonly step: 0.01;
|
|
111
|
+
readonly default: 0;
|
|
112
|
+
readonly description: "Edge Smoothness";
|
|
113
|
+
readonly hiddenFromList: false;
|
|
114
|
+
};
|
|
115
|
+
readonly vignette: {
|
|
116
|
+
readonly type: "number";
|
|
117
|
+
readonly min: 0;
|
|
118
|
+
readonly max: 1;
|
|
119
|
+
readonly step: 0.01;
|
|
120
|
+
readonly default: 1;
|
|
121
|
+
readonly description: "Vignette";
|
|
122
|
+
readonly hiddenFromList: false;
|
|
123
|
+
};
|
|
124
|
+
readonly originOffsetX: {
|
|
125
|
+
readonly type: "number";
|
|
126
|
+
readonly min: -1;
|
|
127
|
+
readonly max: 1;
|
|
128
|
+
readonly step: 0.01;
|
|
129
|
+
readonly default: 0;
|
|
130
|
+
readonly description: "Origin Offset X";
|
|
131
|
+
readonly hiddenFromList: false;
|
|
132
|
+
};
|
|
133
|
+
readonly originOffsetY: {
|
|
134
|
+
readonly type: "number";
|
|
135
|
+
readonly min: -1;
|
|
136
|
+
readonly max: 1;
|
|
137
|
+
readonly step: 0.01;
|
|
138
|
+
readonly default: 0;
|
|
139
|
+
readonly description: "Origin Offset Y";
|
|
140
|
+
readonly hiddenFromList: false;
|
|
141
|
+
};
|
|
142
|
+
readonly hidden: import("remotion").SequenceFieldSchema;
|
|
143
|
+
};
|
|
13
144
|
export declare const Starburst: React.ComponentType<Omit<SequenceProps, "children" | "durationInFrames" | "layout"> & Omit<AbsoluteFillLayout, "layout"> & {
|
|
14
145
|
readonly durationInFrames?: number | undefined;
|
|
15
146
|
readonly rays: number;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -18,7 +18,19 @@ var starburstEffectSchema = {
|
|
|
18
18
|
max: 100,
|
|
19
19
|
step: 1,
|
|
20
20
|
default: undefined,
|
|
21
|
-
description: "Number of Rays"
|
|
21
|
+
description: "Number of Rays",
|
|
22
|
+
hiddenFromList: false
|
|
23
|
+
},
|
|
24
|
+
colors: {
|
|
25
|
+
type: "array",
|
|
26
|
+
item: {
|
|
27
|
+
type: "color"
|
|
28
|
+
},
|
|
29
|
+
default: undefined,
|
|
30
|
+
minLength: 2,
|
|
31
|
+
newItemDefault: "#ff0000",
|
|
32
|
+
description: "Colors",
|
|
33
|
+
keyframable: false
|
|
22
34
|
},
|
|
23
35
|
rotation: {
|
|
24
36
|
type: "number",
|
|
@@ -26,7 +38,8 @@ var starburstEffectSchema = {
|
|
|
26
38
|
max: 360,
|
|
27
39
|
step: 1,
|
|
28
40
|
default: 0,
|
|
29
|
-
description: "Rotation"
|
|
41
|
+
description: "Rotation",
|
|
42
|
+
hiddenFromList: false
|
|
30
43
|
},
|
|
31
44
|
smoothness: {
|
|
32
45
|
type: "number",
|
|
@@ -34,7 +47,8 @@ var starburstEffectSchema = {
|
|
|
34
47
|
max: 1,
|
|
35
48
|
step: 0.01,
|
|
36
49
|
default: 0,
|
|
37
|
-
description: "Edge Smoothness"
|
|
50
|
+
description: "Edge Smoothness",
|
|
51
|
+
hiddenFromList: false
|
|
38
52
|
},
|
|
39
53
|
origin: {
|
|
40
54
|
type: "uv-coordinate",
|
|
@@ -528,13 +542,27 @@ var StarburstCanvas = ({
|
|
|
528
542
|
});
|
|
529
543
|
};
|
|
530
544
|
var starburstSchema = {
|
|
545
|
+
durationInFrames: Internals2.durationInFramesField,
|
|
546
|
+
from: Internals2.fromField,
|
|
531
547
|
rays: {
|
|
532
548
|
type: "number",
|
|
533
549
|
min: 2,
|
|
534
550
|
max: 100,
|
|
535
551
|
step: 1,
|
|
536
552
|
default: 12,
|
|
537
|
-
description: "Number of Rays"
|
|
553
|
+
description: "Number of Rays",
|
|
554
|
+
hiddenFromList: false
|
|
555
|
+
},
|
|
556
|
+
colors: {
|
|
557
|
+
type: "array",
|
|
558
|
+
item: {
|
|
559
|
+
type: "color"
|
|
560
|
+
},
|
|
561
|
+
default: undefined,
|
|
562
|
+
minLength: 2,
|
|
563
|
+
newItemDefault: "#ff0000",
|
|
564
|
+
description: "Colors",
|
|
565
|
+
keyframable: false
|
|
538
566
|
},
|
|
539
567
|
rotation: {
|
|
540
568
|
type: "number",
|
|
@@ -542,7 +570,8 @@ var starburstSchema = {
|
|
|
542
570
|
max: 360,
|
|
543
571
|
step: 1,
|
|
544
572
|
default: 0,
|
|
545
|
-
description: "Rotation"
|
|
573
|
+
description: "Rotation",
|
|
574
|
+
hiddenFromList: false
|
|
546
575
|
},
|
|
547
576
|
smoothness: {
|
|
548
577
|
type: "number",
|
|
@@ -550,7 +579,8 @@ var starburstSchema = {
|
|
|
550
579
|
max: 1,
|
|
551
580
|
step: 0.01,
|
|
552
581
|
default: 0,
|
|
553
|
-
description: "Edge Smoothness"
|
|
582
|
+
description: "Edge Smoothness",
|
|
583
|
+
hiddenFromList: false
|
|
554
584
|
},
|
|
555
585
|
vignette: {
|
|
556
586
|
type: "number",
|
|
@@ -558,7 +588,8 @@ var starburstSchema = {
|
|
|
558
588
|
max: 1,
|
|
559
589
|
step: 0.01,
|
|
560
590
|
default: 1,
|
|
561
|
-
description: "Vignette"
|
|
591
|
+
description: "Vignette",
|
|
592
|
+
hiddenFromList: false
|
|
562
593
|
},
|
|
563
594
|
originOffsetX: {
|
|
564
595
|
type: "number",
|
|
@@ -566,7 +597,8 @@ var starburstSchema = {
|
|
|
566
597
|
max: 1,
|
|
567
598
|
step: 0.01,
|
|
568
599
|
default: 0,
|
|
569
|
-
description: "Origin Offset X"
|
|
600
|
+
description: "Origin Offset X",
|
|
601
|
+
hiddenFromList: false
|
|
570
602
|
},
|
|
571
603
|
originOffsetY: {
|
|
572
604
|
type: "number",
|
|
@@ -574,7 +606,8 @@ var starburstSchema = {
|
|
|
574
606
|
max: 1,
|
|
575
607
|
step: 0.01,
|
|
576
608
|
default: 0,
|
|
577
|
-
description: "Origin Offset Y"
|
|
609
|
+
description: "Origin Offset Y",
|
|
610
|
+
hiddenFromList: false
|
|
578
611
|
},
|
|
579
612
|
...Internals2.sequenceStyleSchema,
|
|
580
613
|
hidden: Internals2.hiddenField
|
|
@@ -636,7 +669,11 @@ var StarburstInner = ({
|
|
|
636
669
|
})
|
|
637
670
|
});
|
|
638
671
|
};
|
|
639
|
-
var Starburst = Internals2.wrapInSchema(
|
|
672
|
+
var Starburst = Internals2.wrapInSchema({
|
|
673
|
+
Component: StarburstInner,
|
|
674
|
+
schema: starburstSchema,
|
|
675
|
+
supportsEffects: false
|
|
676
|
+
});
|
|
640
677
|
Starburst.displayName = "Starburst";
|
|
641
678
|
Internals2.addSequenceStackTraces(Starburst);
|
|
642
679
|
|
|
@@ -6,6 +6,18 @@ export declare const starburstEffectSchema: {
|
|
|
6
6
|
readonly step: 1;
|
|
7
7
|
readonly default: undefined;
|
|
8
8
|
readonly description: "Number of Rays";
|
|
9
|
+
readonly hiddenFromList: false;
|
|
10
|
+
};
|
|
11
|
+
readonly colors: {
|
|
12
|
+
readonly type: "array";
|
|
13
|
+
readonly item: {
|
|
14
|
+
readonly type: "color";
|
|
15
|
+
};
|
|
16
|
+
readonly default: undefined;
|
|
17
|
+
readonly minLength: 2;
|
|
18
|
+
readonly newItemDefault: "#ff0000";
|
|
19
|
+
readonly description: "Colors";
|
|
20
|
+
readonly keyframable: false;
|
|
9
21
|
};
|
|
10
22
|
readonly rotation: {
|
|
11
23
|
readonly type: "number";
|
|
@@ -14,6 +26,7 @@ export declare const starburstEffectSchema: {
|
|
|
14
26
|
readonly step: 1;
|
|
15
27
|
readonly default: 0;
|
|
16
28
|
readonly description: "Rotation";
|
|
29
|
+
readonly hiddenFromList: false;
|
|
17
30
|
};
|
|
18
31
|
readonly smoothness: {
|
|
19
32
|
readonly type: "number";
|
|
@@ -22,6 +35,7 @@ export declare const starburstEffectSchema: {
|
|
|
22
35
|
readonly step: 0.01;
|
|
23
36
|
readonly default: 0;
|
|
24
37
|
readonly description: "Edge Smoothness";
|
|
38
|
+
readonly hiddenFromList: false;
|
|
25
39
|
};
|
|
26
40
|
readonly origin: {
|
|
27
41
|
readonly type: "uv-coordinate";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/starburst",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.472",
|
|
4
4
|
"description": "Starburst ray effect for Remotion",
|
|
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.
|
|
27
|
+
"remotion": "4.0.472",
|
|
28
28
|
"zod": "4.3.6"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"react": "19.2.3",
|
|
44
44
|
"react-dom": "19.2.3",
|
|
45
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/eslint-config-internal": "4.0.472",
|
|
46
46
|
"eslint": "9.19.0",
|
|
47
47
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
48
48
|
},
|