@reactflow/core
Advanced tools
Comparing version 11.0.0 to 11.1.0
import { ComponentType } from 'react'; | ||
import { EdgeProps, WrapEdgeProps } from '../../types'; | ||
declare const _default: (EdgeComponent: ComponentType<EdgeProps>) => import("react").MemoExoticComponent<{ | ||
({ id, className, type, data, onClick, onEdgeDoubleClick, selected, animated, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, elementsSelectable, hidden, sourceHandleId, targetHandleId, onContextMenu, onMouseEnter, onMouseMove, onMouseLeave, edgeUpdaterRadius, onEdgeUpdate, onEdgeUpdateStart, onEdgeUpdateEnd, markerEnd, markerStart, rfId, ariaLabel, disableKeyboardA11y, pathOptions, interactionWidth, }: WrapEdgeProps): JSX.Element | null; | ||
({ id, className, type, data, onClick, onEdgeDoubleClick, selected, animated, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, elementsSelectable, hidden, sourceHandleId, targetHandleId, onContextMenu, onMouseEnter, onMouseMove, onMouseLeave, edgeUpdaterRadius, onEdgeUpdate, onEdgeUpdateStart, onEdgeUpdateEnd, markerEnd, markerStart, rfId, ariaLabel, isFocusable, pathOptions, interactionWidth, }: WrapEdgeProps): JSX.Element | null; | ||
displayName: string; | ||
@@ -6,0 +6,0 @@ }>; |
@@ -5,3 +5,3 @@ import { ComponentType } from 'react'; | ||
declare const _default: (NodeComponent: ComponentType<NodeProps>) => import("react").MemoExoticComponent<{ | ||
({ id, type, data, xPos, yPos, xPosOrigin, yPosOrigin, selected, onClick, onMouseEnter, onMouseMove, onMouseLeave, onContextMenu, onDoubleClick, style, className, isDraggable, isSelectable, isConnectable, selectNodesOnDrag, sourcePosition, targetPosition, hidden, resizeObserver, dragHandle, zIndex, isParent, noDragClassName, noPanClassName, initialized, disableKeyboardA11y, ariaLabel, rfId, }: WrapNodeProps): JSX.Element | null; | ||
({ id, type, data, xPos, yPos, xPosOrigin, yPosOrigin, selected, onClick, onMouseEnter, onMouseMove, onMouseLeave, onContextMenu, onDoubleClick, style, className, isDraggable, isSelectable, isConnectable, isFocusable, selectNodesOnDrag, sourcePosition, targetPosition, hidden, resizeObserver, dragHandle, zIndex, isParent, noDragClassName, noPanClassName, initialized, disableKeyboardA11y, ariaLabel, rfId, }: WrapNodeProps): JSX.Element | null; | ||
displayName: string; | ||
@@ -8,0 +8,0 @@ }>; |
import { ReactFlowProps } from '../../types'; | ||
declare type StoreUpdaterProps = Pick<ReactFlowProps, 'nodes' | 'edges' | 'defaultNodes' | 'defaultEdges' | 'onConnect' | 'onConnectStart' | 'onConnectEnd' | 'onClickConnectStart' | 'onClickConnectEnd' | 'nodesDraggable' | 'nodesConnectable' | 'minZoom' | 'maxZoom' | 'nodeExtent' | 'onNodesChange' | 'onEdgesChange' | 'elementsSelectable' | 'connectionMode' | 'snapToGrid' | 'snapGrid' | 'translateExtent' | 'connectOnClick' | 'defaultEdgeOptions' | 'fitView' | 'fitViewOptions' | 'onNodesDelete' | 'onEdgesDelete' | 'onNodeDragStart' | 'onNodeDrag' | 'onNodeDragStop' | 'onSelectionDragStart' | 'onSelectionDrag' | 'onSelectionDragStop' | 'noPanClassName' | 'nodeOrigin' | 'id'>; | ||
declare const StoreUpdater: ({ nodes, edges, defaultNodes, defaultEdges, onConnect, onConnectStart, onConnectEnd, onClickConnectStart, onClickConnectEnd, nodesDraggable, nodesConnectable, minZoom, maxZoom, nodeExtent, onNodesChange, onEdgesChange, elementsSelectable, connectionMode, snapGrid, snapToGrid, translateExtent, connectOnClick, defaultEdgeOptions, fitView, fitViewOptions, onNodesDelete, onEdgesDelete, onNodeDrag, onNodeDragStart, onNodeDragStop, onSelectionDrag, onSelectionDragStart, onSelectionDragStop, noPanClassName, nodeOrigin, id, }: StoreUpdaterProps) => null; | ||
declare type StoreUpdaterProps = Pick<ReactFlowProps, 'nodes' | 'edges' | 'defaultNodes' | 'defaultEdges' | 'onConnect' | 'onConnectStart' | 'onConnectEnd' | 'onClickConnectStart' | 'onClickConnectEnd' | 'nodesDraggable' | 'nodesConnectable' | 'nodesFocusable' | 'edgesFocusable' | 'minZoom' | 'maxZoom' | 'nodeExtent' | 'onNodesChange' | 'onEdgesChange' | 'elementsSelectable' | 'connectionMode' | 'snapToGrid' | 'snapGrid' | 'translateExtent' | 'connectOnClick' | 'defaultEdgeOptions' | 'fitView' | 'fitViewOptions' | 'onNodesDelete' | 'onEdgesDelete' | 'onNodeDragStart' | 'onNodeDrag' | 'onNodeDragStop' | 'onSelectionDragStart' | 'onSelectionDrag' | 'onSelectionDragStop' | 'noPanClassName' | 'nodeOrigin' | 'id'>; | ||
declare const StoreUpdater: ({ nodes, edges, defaultNodes, defaultEdges, onConnect, onConnectStart, onConnectEnd, onClickConnectStart, onClickConnectEnd, nodesDraggable, nodesConnectable, nodesFocusable, edgesFocusable, minZoom, maxZoom, nodeExtent, onNodesChange, onEdgesChange, elementsSelectable, connectionMode, snapGrid, snapToGrid, translateExtent, connectOnClick, defaultEdgeOptions, fitView, fitViewOptions, onNodesDelete, onEdgesDelete, onNodeDrag, onNodeDragStart, onNodeDragStop, onSelectionDrag, onSelectionDragStart, onSelectionDragStop, noPanClassName, nodeOrigin, id, }: StoreUpdaterProps) => null; | ||
export default StoreUpdater; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -60,3 +60,5 @@ import React, { CSSProperties, HTMLAttributes, MouseEvent as ReactMouseEvent, WheelEvent } from 'react'; | ||
nodesConnectable?: boolean; | ||
nodesFocusable?: boolean; | ||
nodeOrigin?: NodeOrigin; | ||
edgesFocusable?: boolean; | ||
initNodeOrigin?: NodeOrigin; | ||
@@ -63,0 +65,0 @@ elementsSelectable?: boolean; |
@@ -33,2 +33,3 @@ import React, { CSSProperties, ComponentType, HTMLAttributes, ReactNode } from 'react'; | ||
interactionWidth?: number; | ||
focusable?: boolean; | ||
}; | ||
@@ -106,3 +107,3 @@ export declare type SmoothStepPathOptions = { | ||
rfId?: string; | ||
disableKeyboardA11y: boolean; | ||
isFocusable: boolean; | ||
pathOptions?: BezierPathOptions | SmoothStepPathOptions; | ||
@@ -109,0 +110,0 @@ }; |
@@ -136,2 +136,4 @@ import { MouseEvent as ReactMouseEvent, ComponentType, MemoExoticComponent } from 'react'; | ||
nodesConnectable: boolean; | ||
nodesFocusable: boolean; | ||
edgesFocusable: boolean; | ||
elementsSelectable: boolean; | ||
@@ -138,0 +140,0 @@ multiSelectionActive: boolean; |
@@ -30,2 +30,3 @@ import { CSSProperties, MouseEvent as ReactMouseEvent } from 'react'; | ||
ariaLabel?: string; | ||
focusable?: boolean; | ||
[internalsSymbol]?: { | ||
@@ -67,2 +68,3 @@ z?: number; | ||
isDraggable: boolean; | ||
isFocusable: boolean; | ||
selectNodesOnDrag: boolean; | ||
@@ -69,0 +71,0 @@ onClick?: NodeMouseHandler; |
{ | ||
"name": "@reactflow/core", | ||
"version": "11.0.0", | ||
"version": "11.1.0", | ||
"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 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
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
561071
6953