@remotion/shapes 4.0.533 → 4.0.535
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/render-svg.js +1 -1
- package/dist/esm/index.mjs +22 -22
- package/package.json +4 -4
|
@@ -55,7 +55,7 @@ const RenderSvgWithTiming = ({ premountFor, postmountFor, styleWhilePremounted,
|
|
|
55
55
|
styleWhilePostmounted: styleWhilePostmounted !== null && styleWhilePostmounted !== void 0 ? styleWhilePostmounted : null,
|
|
56
56
|
hideWhilePremounted: 'opacity',
|
|
57
57
|
});
|
|
58
|
-
return (jsx_runtime_1.jsx(remotion_1.Freeze, { frame: freezeFrame, active: isPremountingOrPostmounting, children: jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, trimBefore: trimBefore, playbackRate: playbackRate, loop: loop, freeze: freeze, hidden: hidden, showInTimeline: showInTimeline, controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, durationInFrames: durationInFrames, name: name !== null && name !== void 0 ? name : defaultName, _remotionInternalDocumentationLink:
|
|
58
|
+
return (jsx_runtime_1.jsx(remotion_1.Freeze, { frame: freezeFrame, active: isPremountingOrPostmounting, children: jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from, trimBefore: trimBefore, playbackRate: playbackRate, loop: loop, freeze: freeze, hidden: hidden, showInTimeline: showInTimeline, controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, durationInFrames: durationInFrames, name: name !== null && name !== void 0 ? name : defaultName, _remotionInternalDocumentationLink: documentationLink, _remotionInternalPremountDisplay: effectivePremountFor || null, _remotionInternalPostmountDisplay: effectivePostmountFor || null, _remotionInternalIsPremounting: premountingActive, _remotionInternalIsPostmounting: postmountingActive, children: react_1.default.cloneElement(content, { style: premountingStyle !== null && premountingStyle !== void 0 ? premountingStyle : undefined }) }) }));
|
|
59
59
|
};
|
|
60
60
|
const RenderSvg = ({ defaultName, documentationLink, width, height, path, style, pathStyle, transformOrigin, debug, effects = [], instructions, pixelDensity, durationInFrames, from, premountFor, postmountFor, styleWhilePremounted, styleWhilePostmounted, trimBefore, playbackRate, loop, freeze, hidden, name, showInTimeline, controls, ...props }) => {
|
|
61
61
|
const actualStyle = (0, react_1.useMemo)(() => {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -221,7 +221,7 @@ var RenderSvgWithTiming = ({
|
|
|
221
221
|
_remotionInternalEffects: memoizedEffectDefinitions,
|
|
222
222
|
durationInFrames,
|
|
223
223
|
name: name ?? defaultName,
|
|
224
|
-
_remotionInternalDocumentationLink:
|
|
224
|
+
_remotionInternalDocumentationLink: documentationLink,
|
|
225
225
|
_remotionInternalPremountDisplay: effectivePremountFor || null,
|
|
226
226
|
_remotionInternalPostmountDisplay: effectivePostmountFor || null,
|
|
227
227
|
_remotionInternalIsPremounting: premountingActive,
|
|
@@ -2031,26 +2031,26 @@ var Triangle = Interactive12.withSchema({
|
|
|
2031
2031
|
supportsEffects: true
|
|
2032
2032
|
});
|
|
2033
2033
|
export {
|
|
2034
|
-
|
|
2035
|
-
makeStar,
|
|
2036
|
-
makeSpark,
|
|
2037
|
-
makeRect,
|
|
2038
|
-
makePolygon,
|
|
2039
|
-
makePie,
|
|
2040
|
-
makeHeart,
|
|
2041
|
-
makeEllipse,
|
|
2042
|
-
makeCircle,
|
|
2043
|
-
makeCallout,
|
|
2044
|
-
makeArrow,
|
|
2045
|
-
Triangle,
|
|
2046
|
-
Star,
|
|
2047
|
-
Spark,
|
|
2048
|
-
Rect,
|
|
2049
|
-
Polygon,
|
|
2050
|
-
Pie,
|
|
2051
|
-
Heart,
|
|
2052
|
-
Ellipse,
|
|
2053
|
-
Circle,
|
|
2034
|
+
Arrow,
|
|
2054
2035
|
Callout,
|
|
2055
|
-
|
|
2036
|
+
Circle,
|
|
2037
|
+
Ellipse,
|
|
2038
|
+
Heart,
|
|
2039
|
+
Pie,
|
|
2040
|
+
Polygon,
|
|
2041
|
+
Rect,
|
|
2042
|
+
Spark,
|
|
2043
|
+
Star,
|
|
2044
|
+
Triangle,
|
|
2045
|
+
makeArrow,
|
|
2046
|
+
makeCallout,
|
|
2047
|
+
makeCircle,
|
|
2048
|
+
makeEllipse,
|
|
2049
|
+
makeHeart,
|
|
2050
|
+
makePie,
|
|
2051
|
+
makePolygon,
|
|
2052
|
+
makeRect,
|
|
2053
|
+
makeSpark,
|
|
2054
|
+
makeStar,
|
|
2055
|
+
makeTriangle
|
|
2056
2056
|
};
|
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.535",
|
|
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.535",
|
|
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.535",
|
|
55
|
+
"remotion": "4.0.535"
|
|
56
56
|
},
|
|
57
57
|
"homepage": "https://www.remotion.dev/docs/shapes"
|
|
58
58
|
}
|