@reactflow/minimap
Advanced tools
Comparing version 11.2.1 to 11.2.2
@@ -112,3 +112,3 @@ import { jsx, jsxs } from 'react/jsx-runtime'; | ||
const { positionAbsolute } = getNodePositionWithOrigin(node, nodeOrigin); | ||
return (jsx(MiniMapNode$1, { x: positionAbsolute.x, y: positionAbsolute.x, width: node.width, height: node.height, style: node.style, className: nodeClassNameFunc(node), color: nodeColorFunc(node), borderRadius: nodeBorderRadius, strokeColor: nodeStrokeColorFunc(node), strokeWidth: nodeStrokeWidth, shapeRendering: shapeRendering, onClick: onSvgNodeClick, id: node.id }, node.id)); | ||
return (jsx(MiniMapNode$1, { x: positionAbsolute.x, y: positionAbsolute.y, width: node.width, height: node.height, style: node.style, className: nodeClassNameFunc(node), color: nodeColorFunc(node), borderRadius: nodeBorderRadius, strokeColor: nodeStrokeColorFunc(node), strokeWidth: nodeStrokeWidth, shapeRendering: shapeRendering, onClick: onSvgNodeClick, id: node.id }, node.id)); | ||
}), jsx("path", { className: "react-flow__minimap-mask", d: `M${x - offset},${y - offset}h${width + offset * 2}v${height + offset * 2}h${-width - offset * 2}z | ||
@@ -115,0 +115,0 @@ M${viewBB.x},${viewBB.y}h${viewBB.width}v${viewBB.height}h${-viewBB.width}z`, fill: maskColor, fillRule: "evenodd", stroke: maskStrokeColor, strokeWidth: maskStrokeWidth })] }) })); |
{ | ||
"name": "@reactflow/minimap", | ||
"version": "11.2.1", | ||
"version": "11.2.2", | ||
"description": "Minimap component for React Flow.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package