@reactflow/minimap
Advanced tools
Comparing version 11.7.4 to 11.7.5
@@ -6,3 +6,3 @@ import React, { memo, useRef, useEffect } from 'react'; | ||
import { select, pointer } from 'd3-selection'; | ||
import { useStore, getNodePositionWithOrigin, useStoreApi, Panel, getBoundsOfRects, getRectOfNodes } from '@reactflow/core'; | ||
import { useStore, getNodePositionWithOrigin, useStoreApi, Panel, getBoundsOfRects, getNodesBounds } from '@reactflow/core'; | ||
@@ -51,3 +51,3 @@ const MiniMapNode = ({ id, x, y, width, height, style, color, strokeColor, strokeWidth, className, borderRadius, shapeRendering, onClick, selected, }) => { | ||
viewBB, | ||
boundingRect: nodes.length > 0 ? getBoundsOfRects(getRectOfNodes(nodes, s.nodeOrigin), viewBB) : viewBB, | ||
boundingRect: nodes.length > 0 ? getBoundsOfRects(getNodesBounds(nodes, s.nodeOrigin), viewBB) : viewBB, | ||
rfId: s.rfId, | ||
@@ -54,0 +54,0 @@ }; |
{ | ||
"name": "@reactflow/minimap", | ||
"version": "11.7.4", | ||
"version": "11.7.5", | ||
"description": "Minimap component for React Flow.", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"type": "git", | ||
"url": "https://github.com/wbkd/react-flow.git", | ||
"url": "https://github.com/xyflow/xyflow.git", | ||
"directory": "packages/minimap" | ||
@@ -48,3 +48,3 @@ }, | ||
"zustand": "^4.4.1", | ||
"@reactflow/core": "11.9.4" | ||
"@reactflow/core": "11.10.0" | ||
}, | ||
@@ -60,5 +60,5 @@ "peerDependencies": { | ||
"typescript": "^4.9.4", | ||
"@reactflow/eslint-config": "0.0.0", | ||
"@reactflow/rollup-config": "0.0.0", | ||
"@reactflow/tsconfig": "0.0.0", | ||
"@reactflow/eslint-config": "0.0.0" | ||
"@reactflow/tsconfig": "0.0.0" | ||
}, | ||
@@ -65,0 +65,0 @@ "rollup": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
171422
955
+ Added@reactflow/core@11.10.0(transitive)
- Removed@reactflow/core@11.9.4(transitive)
Updated@reactflow/core@11.10.0