@remotion/shapes 4.0.481 → 4.0.483

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.
@@ -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;
@@ -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,
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.481",
6
+ "version": "4.0.483",
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.481",
37
+ "@remotion/eslint-config-internal": "4.0.483",
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.481",
55
- "remotion": "4.0.481"
54
+ "@remotion/paths": "4.0.483",
55
+ "remotion": "4.0.483"
56
56
  },
57
57
  "homepage": "https://www.remotion.dev/docs/shapes"
58
58
  }