@reactflow/core
Advanced tools
Comparing version 11.7.0 to 11.7.1
/// <reference types="react" /> | ||
import type { BaseEdgeProps } from '../../types'; | ||
declare const BaseEdge: { | ||
({ path, labelX, labelY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, markerEnd, markerStart, interactionWidth, }: BaseEdgeProps): JSX.Element; | ||
({ id, path, labelX, labelY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, markerEnd, markerStart, interactionWidth, }: BaseEdgeProps): JSX.Element; | ||
displayName: string; | ||
@@ -6,0 +6,0 @@ }; |
@@ -86,2 +86,3 @@ import type { CSSProperties, ComponentType, HTMLAttributes, ReactNode, MouseEvent as ReactMouseEvent } from 'react'; | ||
export type BaseEdgeProps = Pick<EdgeProps, 'style' | 'markerStart' | 'markerEnd' | 'interactionWidth'> & EdgeLabelOptions & { | ||
id?: string; | ||
labelX?: number; | ||
@@ -88,0 +89,0 @@ labelY?: number; |
@@ -199,3 +199,3 @@ import type { MouseEvent as ReactMouseEvent, TouchEvent as ReactTouchEvent, ComponentType, MemoExoticComponent } from 'react'; | ||
triggerNodeChanges: (changes: NodeChange[]) => void; | ||
panBy: (delta: XYPosition) => void; | ||
panBy: (delta: XYPosition) => boolean; | ||
}; | ||
@@ -202,0 +202,0 @@ export type ReactFlowState = ReactFlowStore & ReactFlowActions; |
@@ -1,2 +0,2 @@ | ||
import { ConnectionMode, ConnectionStatus, CoordinateExtent, D3SelectionInstance, D3ZoomInstance, HandleType, NodeDimensionUpdate, NodeDragItem, NodeOrigin, OnConnect, OnError, OnViewportChange, SelectionRect, SnapGrid, StartHandle, Transform, XYPosition } from '@reactflow/system'; | ||
import { ConnectionMode, ConnectionStatus, CoordinateExtent, D3SelectionInstance, D3ZoomInstance, HandleType, NodeDimensionUpdate, NodeDragItem, NodeOrigin, OnConnect, OnError, OnViewportChange, SelectionRect, SnapGrid, ConnectingHandle, Transform, XYPosition } from '@reactflow/system'; | ||
import type { NodeDragHandler, Edge, Node, NodeChange, OnNodesChange, OnEdgesChange, NodeInternals, OnConnectStart, OnConnectEnd, SelectionDragHandler, DefaultEdgeOptions, FitViewOptions, OnNodesDelete, OnEdgesDelete, OnSelectionChangeFunc, UnselectNodesAndEdgesParams, IsValidConnection } from '.'; | ||
@@ -40,6 +40,9 @@ export type ReactFlowStore = { | ||
edgesFocusable: boolean; | ||
edgesUpdatable: boolean; | ||
elementsSelectable: boolean; | ||
elevateNodesOnSelect: boolean; | ||
multiSelectionActive: boolean; | ||
connectionStartHandle: StartHandle | null; | ||
connectionStartHandle: ConnectingHandle | null; | ||
connectionEndHandle: ConnectingHandle | null; | ||
connectionClickStartHandle: ConnectingHandle | null; | ||
onNodeDragStart?: NodeDragHandler; | ||
@@ -46,0 +49,0 @@ onNodeDrag?: NodeDragHandler; |
/// <reference types="react" /> | ||
import type { BaseEdgeProps } from '../../types'; | ||
declare const BaseEdge: { | ||
({ path, labelX, labelY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, markerEnd, markerStart, interactionWidth, }: BaseEdgeProps): JSX.Element; | ||
({ id, path, labelX, labelY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, markerEnd, markerStart, interactionWidth, }: BaseEdgeProps): JSX.Element; | ||
displayName: string; | ||
@@ -6,0 +6,0 @@ }; |
@@ -86,2 +86,3 @@ import type { CSSProperties, ComponentType, HTMLAttributes, ReactNode, MouseEvent as ReactMouseEvent } from 'react'; | ||
export type BaseEdgeProps = Pick<EdgeProps, 'style' | 'markerStart' | 'markerEnd' | 'interactionWidth'> & EdgeLabelOptions & { | ||
id?: string; | ||
labelX?: number; | ||
@@ -88,0 +89,0 @@ labelY?: number; |
@@ -199,3 +199,3 @@ import type { MouseEvent as ReactMouseEvent, TouchEvent as ReactTouchEvent, ComponentType, MemoExoticComponent } from 'react'; | ||
triggerNodeChanges: (changes: NodeChange[]) => void; | ||
panBy: (delta: XYPosition) => void; | ||
panBy: (delta: XYPosition) => boolean; | ||
}; | ||
@@ -202,0 +202,0 @@ export type ReactFlowState = ReactFlowStore & ReactFlowActions; |
@@ -1,2 +0,2 @@ | ||
import { ConnectionMode, ConnectionStatus, CoordinateExtent, D3SelectionInstance, D3ZoomInstance, HandleType, NodeDimensionUpdate, NodeDragItem, NodeOrigin, OnConnect, OnError, OnViewportChange, SelectionRect, SnapGrid, StartHandle, Transform, XYPosition } from '@reactflow/system'; | ||
import { ConnectionMode, ConnectionStatus, CoordinateExtent, D3SelectionInstance, D3ZoomInstance, HandleType, NodeDimensionUpdate, NodeDragItem, NodeOrigin, OnConnect, OnError, OnViewportChange, SelectionRect, SnapGrid, ConnectingHandle, Transform, XYPosition } from '@reactflow/system'; | ||
import type { NodeDragHandler, Edge, Node, NodeChange, OnNodesChange, OnEdgesChange, NodeInternals, OnConnectStart, OnConnectEnd, SelectionDragHandler, DefaultEdgeOptions, FitViewOptions, OnNodesDelete, OnEdgesDelete, OnSelectionChangeFunc, UnselectNodesAndEdgesParams, IsValidConnection } from '.'; | ||
@@ -40,6 +40,9 @@ export type ReactFlowStore = { | ||
edgesFocusable: boolean; | ||
edgesUpdatable: boolean; | ||
elementsSelectable: boolean; | ||
elevateNodesOnSelect: boolean; | ||
multiSelectionActive: boolean; | ||
connectionStartHandle: StartHandle | null; | ||
connectionStartHandle: ConnectingHandle | null; | ||
connectionEndHandle: ConnectingHandle | null; | ||
connectionClickStartHandle: ConnectingHandle | null; | ||
onNodeDragStart?: NodeDragHandler; | ||
@@ -46,0 +49,0 @@ onNodeDrag?: NodeDragHandler; |
{ | ||
"name": "@reactflow/core", | ||
"version": "11.7.0", | ||
"version": "11.7.1", | ||
"description": "Core components and util functions of React Flow.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
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
652153
8177