Socket
Socket
Sign inDemoInstall

@reactflow/minimap

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactflow/minimap - npm Package Compare versions

Comparing version 11.0.2 to 11.0.3

2

dist/esm/MiniMap.d.ts
/// <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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc