@reactflow/minimap
Advanced tools
Comparing version 11.3.1 to 11.3.2
export { default as MiniMap } from './MiniMap'; | ||
export * from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
import { jsx, jsxs } from 'react/jsx-runtime'; | ||
import { memo, useRef, useEffect } from 'react'; | ||
import cc from 'classcat'; | ||
import shallow from 'zustand/shallow'; | ||
import { shallow } from 'zustand/shallow'; | ||
import { zoom, zoomIdentity } from 'd3-zoom'; | ||
@@ -6,0 +6,0 @@ import { select, pointer } from 'd3-selection'; |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
@@ -0,0 +0,0 @@ import type { CSSProperties, MouseEvent } from 'react'; |
import type { HTMLAttributes, MouseEvent } from 'react'; | ||
import type { Node, PanelPosition, XYPosition } from '@reactflow/core'; | ||
export declare type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string; | ||
export declare type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & { | ||
export type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string; | ||
export type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & { | ||
nodeColor?: string | GetMiniMapNodeAttribute<NodeData>; | ||
@@ -6,0 +6,0 @@ nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeData>; |
export { default as MiniMap } from './MiniMap'; | ||
export * from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
@@ -0,0 +0,0 @@ import type { CSSProperties, MouseEvent } from 'react'; |
import type { HTMLAttributes, MouseEvent } from 'react'; | ||
import type { Node, PanelPosition, XYPosition } from '@reactflow/core'; | ||
export declare type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string; | ||
export declare type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & { | ||
export type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string; | ||
export type MiniMapProps<NodeData = any> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & { | ||
nodeColor?: string | GetMiniMapNodeAttribute<NodeData>; | ||
@@ -6,0 +6,0 @@ nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeData>; |
{ | ||
"name": "@reactflow/minimap", | ||
"version": "11.3.1", | ||
"version": "11.3.2", | ||
"description": "Minimap component for React Flow.", | ||
@@ -33,4 +33,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@babel/runtime": "^7.18.9", | ||
"@reactflow/core": "11.4.1", | ||
"@reactflow/core": "11.4.2", | ||
"@types/d3-selection": "^3.0.3", | ||
@@ -41,3 +40,3 @@ "@types/d3-zoom": "^3.0.1", | ||
"d3-zoom": "^3.0.0", | ||
"zustand": "^4.1.1" | ||
"zustand": "^4.3.1" | ||
}, | ||
@@ -49,3 +48,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@reactflow/eslint-config": "^0.0.0", | ||
"@reactflow/eslint-config": "0.0.0", | ||
"@reactflow/rollup-config": "0.0.0", | ||
@@ -56,3 +55,3 @@ "@reactflow/tsconfig": "0.0.0", | ||
"react": "^18.2.0", | ||
"typescript": "^4.8.3" | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -59,0 +58,0 @@ "rollup": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
9
147572
728
+ Added@reactflow/core@11.4.2(transitive)
- Removed@babel/runtime@^7.18.9
- Removed@babel/runtime@7.26.0(transitive)
- Removed@reactflow/core@11.4.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
Updated@reactflow/core@11.4.2
Updatedzustand@^4.3.1