@remotion/shapes 4.0.479 → 4.0.482
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/components/arrow.js +1 -0
- package/dist/components/callout.js +1 -0
- package/dist/components/circle.js +1 -0
- package/dist/components/ellipse.js +1 -0
- package/dist/components/heart.js +1 -0
- package/dist/components/pie.js +1 -0
- package/dist/components/polygon.js +1 -0
- package/dist/components/rect.js +1 -0
- package/dist/components/render-svg.d.ts +1 -1
- package/dist/components/render-svg.js +2 -2
- package/dist/components/spark.js +1 -0
- package/dist/components/star.js +1 -0
- package/dist/components/triangle.js +1 -0
- package/dist/esm/index.mjs +13 -0
- package/package.json +4 -4
package/dist/components/arrow.js
CHANGED
|
@@ -60,6 +60,7 @@ const ArrowInner = ({ length, headWidth, headLength, shaftWidth, direction, corn
|
|
|
60
60
|
};
|
|
61
61
|
exports.Arrow = remotion_1.Interactive.withSchema({
|
|
62
62
|
Component: ArrowInner,
|
|
63
|
+
componentName: '<Arrow>',
|
|
63
64
|
componentIdentity: 'dev.remotion.shapes.Arrow',
|
|
64
65
|
schema: arrowSchema,
|
|
65
66
|
supportsEffects: true,
|
|
@@ -71,6 +71,7 @@ const CalloutInner = ({ width, height, pointerLength, pointerBaseWidth, pointerP
|
|
|
71
71
|
};
|
|
72
72
|
exports.Callout = remotion_1.Interactive.withSchema({
|
|
73
73
|
Component: CalloutInner,
|
|
74
|
+
componentName: '<Callout>',
|
|
74
75
|
componentIdentity: 'dev.remotion.shapes.Callout',
|
|
75
76
|
schema: calloutSchema,
|
|
76
77
|
supportsEffects: true,
|
|
@@ -23,6 +23,7 @@ const CircleInner = ({ radius, ...props }) => {
|
|
|
23
23
|
};
|
|
24
24
|
exports.Circle = remotion_1.Interactive.withSchema({
|
|
25
25
|
Component: CircleInner,
|
|
26
|
+
componentName: '<Circle>',
|
|
26
27
|
componentIdentity: 'dev.remotion.shapes.Circle',
|
|
27
28
|
schema: circleSchema,
|
|
28
29
|
supportsEffects: true,
|
|
@@ -29,6 +29,7 @@ const EllipseInner = ({ rx, ry, ...props }) => {
|
|
|
29
29
|
};
|
|
30
30
|
exports.Ellipse = remotion_1.Interactive.withSchema({
|
|
31
31
|
Component: EllipseInner,
|
|
32
|
+
componentName: '<Ellipse>',
|
|
32
33
|
componentIdentity: 'dev.remotion.shapes.Ellipse',
|
|
33
34
|
schema: ellipseSchema,
|
|
34
35
|
supportsEffects: true,
|
package/dist/components/heart.js
CHANGED
|
@@ -44,6 +44,7 @@ const HeartInner = ({ aspectRatio, height, bottomRoundnessAdjustment = 0, depthA
|
|
|
44
44
|
};
|
|
45
45
|
exports.Heart = remotion_1.Interactive.withSchema({
|
|
46
46
|
Component: HeartInner,
|
|
47
|
+
componentName: '<Heart>',
|
|
47
48
|
componentIdentity: 'dev.remotion.shapes.Heart',
|
|
48
49
|
schema: heartSchema,
|
|
49
50
|
supportsEffects: true,
|
package/dist/components/pie.js
CHANGED
|
@@ -47,6 +47,7 @@ const PieInner = ({ radius, progress, closePath, counterClockwise, rotation, ...
|
|
|
47
47
|
};
|
|
48
48
|
exports.Pie = remotion_1.Interactive.withSchema({
|
|
49
49
|
Component: PieInner,
|
|
50
|
+
componentName: '<Pie>',
|
|
50
51
|
componentIdentity: 'dev.remotion.shapes.Pie',
|
|
51
52
|
schema: pieSchema,
|
|
52
53
|
supportsEffects: true,
|
|
@@ -34,6 +34,7 @@ const PolygonInner = ({ points, radius, cornerRadius, edgeRoundness, ...props })
|
|
|
34
34
|
};
|
|
35
35
|
exports.Polygon = remotion_1.Interactive.withSchema({
|
|
36
36
|
Component: PolygonInner,
|
|
37
|
+
componentName: '<Polygon>',
|
|
37
38
|
componentIdentity: 'dev.remotion.shapes.Polygon',
|
|
38
39
|
schema: polygonSchema,
|
|
39
40
|
supportsEffects: true,
|
package/dist/components/rect.js
CHANGED
|
@@ -36,6 +36,7 @@ const RectInner = ({ width, edgeRoundness, height, cornerRadius, ...props }) =>
|
|
|
36
36
|
};
|
|
37
37
|
exports.Rect = remotion_1.Interactive.withSchema({
|
|
38
38
|
Component: RectInner,
|
|
39
|
+
componentName: '<Rect>',
|
|
39
40
|
componentIdentity: 'dev.remotion.shapes.Rect',
|
|
40
41
|
schema: rectSchema,
|
|
41
42
|
supportsEffects: true,
|
|
@@ -14,7 +14,7 @@ export type AllShapesProps = Omit<React.SVGProps<SVGPathElement>, 'width' | 'hei
|
|
|
14
14
|
*/
|
|
15
15
|
readonly stack?: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const RenderSvg: ({ defaultName, documentationLink, width, height, path, style, pathStyle, transformOrigin, debug, effects, instructions, pixelDensity, durationInFrames, from, freeze, hidden, name, showInTimeline, controls, stack, ...props }: {
|
|
17
|
+
export declare const RenderSvg: ({ defaultName, documentationLink, width, height, path, style, pathStyle, transformOrigin, debug, effects, instructions, pixelDensity, durationInFrames, from, trimBefore, freeze, hidden, name, showInTimeline, controls, stack, ...props }: {
|
|
18
18
|
readonly defaultName: string;
|
|
19
19
|
readonly documentationLink: string;
|
|
20
20
|
readonly width: number;
|
|
@@ -40,7 +40,7 @@ const react_dom_1 = require("react-dom");
|
|
|
40
40
|
const remotion_1 = require("remotion");
|
|
41
41
|
const does_react_support_canary_1 = require("../utils/does-react-support-canary");
|
|
42
42
|
const HtmlInCanvasWithPrivateProps = remotion_1.HtmlInCanvas;
|
|
43
|
-
const RenderSvg = ({ defaultName, documentationLink, width, height, path, style, pathStyle, transformOrigin, debug, effects = [], instructions, pixelDensity, durationInFrames, from, freeze, hidden, name, showInTimeline, controls, stack, ...props }) => {
|
|
43
|
+
const RenderSvg = ({ defaultName, documentationLink, width, height, path, style, pathStyle, transformOrigin, debug, effects = [], instructions, pixelDensity, durationInFrames, from, trimBefore, freeze, hidden, name, showInTimeline, controls, stack, ...props }) => {
|
|
44
44
|
const actualStyle = (0, react_1.useMemo)(() => {
|
|
45
45
|
return {
|
|
46
46
|
overflow: 'visible',
|
|
@@ -108,6 +108,6 @@ const RenderSvg = ({ defaultName, documentationLink, width, height, path, style,
|
|
|
108
108
|
if (!videoConfig) {
|
|
109
109
|
return svg;
|
|
110
110
|
}
|
|
111
|
-
return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, freeze: freeze, hidden: hidden, showInTimeline: showInTimeline, controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, durationInFrames: durationInFrames, name: name !== null && name !== void 0 ? name : defaultName, outlineRef: outlineRef, _remotionInternalDocumentationLink: name === undefined ? documentationLink : undefined, ...stackProps, children: content }));
|
|
111
|
+
return (jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, trimBefore: trimBefore, freeze: freeze, hidden: hidden, showInTimeline: showInTimeline, controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, durationInFrames: durationInFrames, name: name !== null && name !== void 0 ? name : defaultName, outlineRef: outlineRef, _remotionInternalDocumentationLink: name === undefined ? documentationLink : undefined, ...stackProps, children: content }));
|
|
112
112
|
};
|
|
113
113
|
exports.RenderSvg = RenderSvg;
|
package/dist/components/spark.js
CHANGED
|
@@ -42,6 +42,7 @@ const SparkInner = ({ width, height, edgeRoundness, cornerRadius, ...props }) =>
|
|
|
42
42
|
};
|
|
43
43
|
exports.Spark = remotion_1.Interactive.withSchema({
|
|
44
44
|
Component: SparkInner,
|
|
45
|
+
componentName: '<Spark>',
|
|
45
46
|
componentIdentity: 'dev.remotion.shapes.Spark',
|
|
46
47
|
schema: sparkSchema,
|
|
47
48
|
supportsEffects: true,
|
package/dist/components/star.js
CHANGED
|
@@ -49,6 +49,7 @@ const StarInner = ({ innerRadius, outerRadius, points, cornerRadius, edgeRoundne
|
|
|
49
49
|
};
|
|
50
50
|
exports.Star = remotion_1.Interactive.withSchema({
|
|
51
51
|
Component: StarInner,
|
|
52
|
+
componentName: '<Star>',
|
|
52
53
|
componentIdentity: 'dev.remotion.shapes.Star',
|
|
53
54
|
schema: starSchema,
|
|
54
55
|
supportsEffects: true,
|
|
@@ -36,6 +36,7 @@ const TriangleInner = ({ length, direction, edgeRoundness, cornerRadius, ...prop
|
|
|
36
36
|
};
|
|
37
37
|
exports.Triangle = remotion_1.Interactive.withSchema({
|
|
38
38
|
Component: TriangleInner,
|
|
39
|
+
componentName: '<Triangle>',
|
|
39
40
|
componentIdentity: 'dev.remotion.shapes.Triangle',
|
|
40
41
|
schema: triangleSchema,
|
|
41
42
|
supportsEffects: true,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -176,6 +176,7 @@ var RenderSvg = ({
|
|
|
176
176
|
pixelDensity,
|
|
177
177
|
durationInFrames,
|
|
178
178
|
from,
|
|
179
|
+
trimBefore,
|
|
179
180
|
freeze,
|
|
180
181
|
hidden,
|
|
181
182
|
name,
|
|
@@ -285,6 +286,7 @@ var RenderSvg = ({
|
|
|
285
286
|
return /* @__PURE__ */ jsx(Sequence, {
|
|
286
287
|
layout: "none",
|
|
287
288
|
from,
|
|
289
|
+
trimBefore,
|
|
288
290
|
freeze,
|
|
289
291
|
hidden,
|
|
290
292
|
showInTimeline,
|
|
@@ -424,6 +426,7 @@ var ArrowInner = ({
|
|
|
424
426
|
};
|
|
425
427
|
var Arrow = Interactive.withSchema({
|
|
426
428
|
Component: ArrowInner,
|
|
429
|
+
componentName: "<Arrow>",
|
|
427
430
|
componentIdentity: "dev.remotion.shapes.Arrow",
|
|
428
431
|
schema: arrowSchema,
|
|
429
432
|
supportsEffects: true
|
|
@@ -860,6 +863,7 @@ var CalloutInner = ({
|
|
|
860
863
|
};
|
|
861
864
|
var Callout = Interactive2.withSchema({
|
|
862
865
|
Component: CalloutInner,
|
|
866
|
+
componentName: "<Callout>",
|
|
863
867
|
componentIdentity: "dev.remotion.shapes.Callout",
|
|
864
868
|
schema: calloutSchema,
|
|
865
869
|
supportsEffects: true
|
|
@@ -930,6 +934,7 @@ var CircleInner = ({ radius, ...props }) => {
|
|
|
930
934
|
};
|
|
931
935
|
var Circle = Interactive3.withSchema({
|
|
932
936
|
Component: CircleInner,
|
|
937
|
+
componentName: "<Circle>",
|
|
933
938
|
componentIdentity: "dev.remotion.shapes.Circle",
|
|
934
939
|
schema: circleSchema,
|
|
935
940
|
supportsEffects: true
|
|
@@ -995,6 +1000,7 @@ var EllipseInner = ({ rx, ry, ...props }) => {
|
|
|
995
1000
|
};
|
|
996
1001
|
var Ellipse = Interactive4.withSchema({
|
|
997
1002
|
Component: EllipseInner,
|
|
1003
|
+
componentName: "<Ellipse>",
|
|
998
1004
|
componentIdentity: "dev.remotion.shapes.Ellipse",
|
|
999
1005
|
schema: ellipseSchema,
|
|
1000
1006
|
supportsEffects: true
|
|
@@ -1141,6 +1147,7 @@ var HeartInner = ({
|
|
|
1141
1147
|
};
|
|
1142
1148
|
var Heart = Interactive5.withSchema({
|
|
1143
1149
|
Component: HeartInner,
|
|
1150
|
+
componentName: "<Heart>",
|
|
1144
1151
|
componentIdentity: "dev.remotion.shapes.Heart",
|
|
1145
1152
|
schema: heartSchema,
|
|
1146
1153
|
supportsEffects: true
|
|
@@ -1303,6 +1310,7 @@ var PieInner = ({
|
|
|
1303
1310
|
};
|
|
1304
1311
|
var Pie = Interactive6.withSchema({
|
|
1305
1312
|
Component: PieInner,
|
|
1313
|
+
componentName: "<Pie>",
|
|
1306
1314
|
componentIdentity: "dev.remotion.shapes.Pie",
|
|
1307
1315
|
schema: pieSchema,
|
|
1308
1316
|
supportsEffects: true
|
|
@@ -1415,6 +1423,7 @@ var PolygonInner = ({
|
|
|
1415
1423
|
};
|
|
1416
1424
|
var Polygon = Interactive7.withSchema({
|
|
1417
1425
|
Component: PolygonInner,
|
|
1426
|
+
componentName: "<Polygon>",
|
|
1418
1427
|
componentIdentity: "dev.remotion.shapes.Polygon",
|
|
1419
1428
|
schema: polygonSchema,
|
|
1420
1429
|
supportsEffects: true
|
|
@@ -1489,6 +1498,7 @@ var RectInner = ({
|
|
|
1489
1498
|
};
|
|
1490
1499
|
var Rect = Interactive8.withSchema({
|
|
1491
1500
|
Component: RectInner,
|
|
1501
|
+
componentName: "<Rect>",
|
|
1492
1502
|
componentIdentity: "dev.remotion.shapes.Rect",
|
|
1493
1503
|
schema: rectSchema,
|
|
1494
1504
|
supportsEffects: true
|
|
@@ -1708,6 +1718,7 @@ var SparkInner = ({
|
|
|
1708
1718
|
};
|
|
1709
1719
|
var Spark = Interactive9.withSchema({
|
|
1710
1720
|
Component: SparkInner,
|
|
1721
|
+
componentName: "<Spark>",
|
|
1711
1722
|
componentIdentity: "dev.remotion.shapes.Spark",
|
|
1712
1723
|
schema: sparkSchema,
|
|
1713
1724
|
supportsEffects: true
|
|
@@ -1831,6 +1842,7 @@ var StarInner = ({
|
|
|
1831
1842
|
};
|
|
1832
1843
|
var Star = Interactive10.withSchema({
|
|
1833
1844
|
Component: StarInner,
|
|
1845
|
+
componentName: "<Star>",
|
|
1834
1846
|
componentIdentity: "dev.remotion.shapes.Star",
|
|
1835
1847
|
schema: starSchema,
|
|
1836
1848
|
supportsEffects: true
|
|
@@ -1945,6 +1957,7 @@ var TriangleInner = ({
|
|
|
1945
1957
|
};
|
|
1946
1958
|
var Triangle = Interactive11.withSchema({
|
|
1947
1959
|
Component: TriangleInner,
|
|
1960
|
+
componentName: "<Triangle>",
|
|
1948
1961
|
componentIdentity: "dev.remotion.shapes.Triangle",
|
|
1949
1962
|
schema: triangleSchema,
|
|
1950
1963
|
supportsEffects: true
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/shapes"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/shapes",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.482",
|
|
7
7
|
"description": "Generate SVG shapes",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"react": "19.2.3",
|
|
35
35
|
"react-dom": "19.2.3",
|
|
36
36
|
"@happy-dom/global-registrator": "14.5.1",
|
|
37
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.482",
|
|
38
38
|
"eslint": "9.19.0",
|
|
39
39
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
40
40
|
},
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"react-dom": ">=16.8.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@remotion/paths": "4.0.
|
|
55
|
-
"remotion": "4.0.
|
|
54
|
+
"@remotion/paths": "4.0.482",
|
|
55
|
+
"remotion": "4.0.482"
|
|
56
56
|
},
|
|
57
57
|
"homepage": "https://www.remotion.dev/docs/shapes"
|
|
58
58
|
}
|