Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@reactflow/core

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/core - npm Package Compare versions

Comparing version 11.7.0 to 11.7.1

2

dist/esm/components/Edges/BaseEdge.d.ts
/// <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

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