@reactflow/minimap
Advanced tools
Comparing version 11.0.2 to 11.0.3
/// <reference types="react" /> | ||
import { MiniMapProps } from './types'; | ||
import type { MiniMapProps } from './types'; | ||
declare function MiniMap({ style, className, nodeStrokeColor, nodeColor, nodeClassName, nodeBorderRadius, nodeStrokeWidth, maskColor, position, }: MiniMapProps): JSX.Element; | ||
@@ -4,0 +4,0 @@ declare namespace MiniMap { |
@@ -1,2 +0,2 @@ | ||
import { CSSProperties } from 'react'; | ||
import type { CSSProperties } from 'react'; | ||
interface MiniMapNodeProps { | ||
@@ -3,0 +3,0 @@ x: number; |
@@ -1,5 +0,5 @@ | ||
import { HTMLAttributes } from 'react'; | ||
import { Node, PanelPosition } from '@reactflow/core'; | ||
import type { HTMLAttributes } from 'react'; | ||
import type { Node, PanelPosition } from '@reactflow/core'; | ||
export declare type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string; | ||
export interface MiniMapProps<NodeData = any> extends HTMLAttributes<SVGSVGElement> { | ||
export declare type MiniMapProps<NodeData = any> = HTMLAttributes<SVGSVGElement> & { | ||
nodeColor?: string | GetMiniMapNodeAttribute<NodeData>; | ||
@@ -12,3 +12,3 @@ nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeData>; | ||
position?: PanelPosition; | ||
} | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
/// <reference types="react" /> | ||
import { MiniMapProps } from './types'; | ||
import type { MiniMapProps } from './types'; | ||
declare function MiniMap({ style, className, nodeStrokeColor, nodeColor, nodeClassName, nodeBorderRadius, nodeStrokeWidth, maskColor, position, }: MiniMapProps): JSX.Element; | ||
@@ -4,0 +4,0 @@ declare namespace MiniMap { |
@@ -1,2 +0,2 @@ | ||
import { CSSProperties } from 'react'; | ||
import type { CSSProperties } from 'react'; | ||
interface MiniMapNodeProps { | ||
@@ -3,0 +3,0 @@ x: number; |
@@ -1,5 +0,5 @@ | ||
import { HTMLAttributes } from 'react'; | ||
import { Node, PanelPosition } from '@reactflow/core'; | ||
import type { HTMLAttributes } from 'react'; | ||
import type { Node, PanelPosition } from '@reactflow/core'; | ||
export declare type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string; | ||
export interface MiniMapProps<NodeData = any> extends HTMLAttributes<SVGSVGElement> { | ||
export declare type MiniMapProps<NodeData = any> = HTMLAttributes<SVGSVGElement> & { | ||
nodeColor?: string | GetMiniMapNodeAttribute<NodeData>; | ||
@@ -12,3 +12,3 @@ nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeData>; | ||
position?: PanelPosition; | ||
} | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@reactflow/minimap", | ||
"version": "11.0.2", | ||
"version": "11.0.3", | ||
"description": "Minimap component for React Flow.", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"@babel/runtime": "^7.18.9", | ||
"@reactflow/core": "11.1.1", | ||
"@reactflow/core": "11.1.2", | ||
"classcat": "^5.0.3", | ||
@@ -37,0 +37,0 @@ "zustand": "^4.1.1" |
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
141710
644
+ Added@reactflow/core@11.1.2(transitive)
- Removed@reactflow/core@11.1.1(transitive)
Updated@reactflow/core@11.1.2