@remotion/shapes 4.0.103 → 4.0.104

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.
@@ -42,11 +42,13 @@ const RenderSvg = ({ width, height, path, style, pathStyle, transformOrigin, deb
42
42
  };
43
43
  }, [pathStyle]);
44
44
  const reactSupportsTransformOrigin = (0, does_react_support_canary_1.doesReactSupportTransformOriginProperty)(react_dom_1.version);
45
- return ((0, jsx_runtime_1.jsxs)("svg", { width: width, height: height, viewBox: `0 0 ${width} ${height}`, xmlns: "http://www.w3.org/2000/svg", style: actualStyle, children: [(0, jsx_runtime_1.jsx)("path", { "transform-origin": reactSupportsTransformOrigin ? undefined : transformOrigin, ...(reactSupportsTransformOrigin
45
+ return ((0, jsx_runtime_1.jsxs)("svg", { width: width, height: height, viewBox: `0 0 ${width} ${height}`, xmlns: "http://www.w3.org/2000/svg", style: actualStyle, children: [(0, jsx_runtime_1.jsx)("path", { ...(reactSupportsTransformOrigin
46
46
  ? {
47
47
  transformOrigin,
48
48
  }
49
- : {}), d: path, style: actualPathStyle, ...props }), debug
49
+ : {
50
+ 'transform-origin': transformOrigin,
51
+ }), d: path, style: actualPathStyle, ...props }), debug
50
52
  ? instructions.map((i, index) => {
51
53
  if (i.type === 'C') {
52
54
  const prevInstruction = index === 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/shapes",
3
- "version": "4.0.103",
3
+ "version": "4.0.104",
4
4
  "description": "Utility functions and components for SVG shapes",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -38,7 +38,7 @@
38
38
  "react-dom": ">=16.8.0"
39
39
  },
40
40
  "dependencies": {
41
- "@remotion/paths": "4.0.103"
41
+ "@remotion/paths": "4.0.104"
42
42
  },
43
43
  "scripts": {
44
44
  "formatting": "prettier src --check",