@xyflow/system
Advanced tools
Comparing version 0.0.26 to 0.0.27
@@ -1,2 +0,4 @@ | ||
import type { D3DragEvent, Selection as D3Selection, SubjectPosition, ZoomBehavior } from 'd3'; | ||
import type { Selection as D3Selection } from 'd3-selection'; | ||
import type { D3DragEvent, SubjectPosition } from 'd3-drag'; | ||
import type { ZoomBehavior } from 'd3-zoom'; | ||
import type { XYPosition, Rect } from './utils'; | ||
@@ -3,0 +5,0 @@ import type { InternalNodeBase, NodeBase, NodeDragItem, NodeOrigin } from './nodes'; |
@@ -82,3 +82,3 @@ import type { XYPosition, Position, CoordinateExtent, HandleElement } from '.'; | ||
*/ | ||
export type NodeProps<NodeType extends NodeBase> = Pick<NodeType, 'id' | 'data' | 'width' | 'height' | 'sourcePosition' | 'targetPosition' | 'selected' | 'dragHandle'> & Required<Pick<NodeType, 'type' | 'dragging' | 'zIndex'>> & { | ||
export type NodeProps<NodeType extends NodeBase> = Pick<NodeType, 'id' | 'data' | 'width' | 'height' | 'sourcePosition' | 'targetPosition' | 'selected' | 'dragHandle' | 'selectable' | 'deletable' | 'draggable' | 'parentId'> & Required<Pick<NodeType, 'type' | 'dragging' | 'zIndex'>> & { | ||
/** whether a node is connectable or not */ | ||
@@ -85,0 +85,0 @@ isConnectable: boolean; |
@@ -8,4 +8,4 @@ import { type ZoomTransform } from 'd3-zoom'; | ||
export declare const isRightClickPan: (panOnDrag: boolean | number[], usedButton: number) => boolean; | ||
export declare const getD3Transition: (selection: D3SelectionInstance, duration?: number) => D3SelectionInstance | import("d3").Transition<Element, unknown, null, undefined>; | ||
export declare const getD3Transition: (selection: D3SelectionInstance, duration?: number) => D3SelectionInstance | import("d3-transition").Transition<Element, unknown, null, undefined>; | ||
export declare const wheelDelta: (event: any) => number; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -1,2 +0,4 @@ | ||
import type { D3DragEvent, Selection as D3Selection, SubjectPosition, ZoomBehavior } from 'd3'; | ||
import type { Selection as D3Selection } from 'd3-selection'; | ||
import type { D3DragEvent, SubjectPosition } from 'd3-drag'; | ||
import type { ZoomBehavior } from 'd3-zoom'; | ||
import type { XYPosition, Rect } from './utils'; | ||
@@ -3,0 +5,0 @@ import type { InternalNodeBase, NodeBase, NodeDragItem, NodeOrigin } from './nodes'; |
@@ -82,3 +82,3 @@ import type { XYPosition, Position, CoordinateExtent, HandleElement } from '.'; | ||
*/ | ||
export type NodeProps<NodeType extends NodeBase> = Pick<NodeType, 'id' | 'data' | 'width' | 'height' | 'sourcePosition' | 'targetPosition' | 'selected' | 'dragHandle'> & Required<Pick<NodeType, 'type' | 'dragging' | 'zIndex'>> & { | ||
export type NodeProps<NodeType extends NodeBase> = Pick<NodeType, 'id' | 'data' | 'width' | 'height' | 'sourcePosition' | 'targetPosition' | 'selected' | 'dragHandle' | 'selectable' | 'deletable' | 'draggable' | 'parentId'> & Required<Pick<NodeType, 'type' | 'dragging' | 'zIndex'>> & { | ||
/** whether a node is connectable or not */ | ||
@@ -85,0 +85,0 @@ isConnectable: boolean; |
@@ -8,4 +8,4 @@ import { type ZoomTransform } from 'd3-zoom'; | ||
export declare const isRightClickPan: (panOnDrag: boolean | number[], usedButton: number) => boolean; | ||
export declare const getD3Transition: (selection: D3SelectionInstance, duration?: number) => D3SelectionInstance | import("d3").Transition<Element, unknown, null, undefined>; | ||
export declare const getD3Transition: (selection: D3SelectionInstance, duration?: number) => D3SelectionInstance | import("d3-transition").Transition<Element, unknown, null, undefined>; | ||
export declare const wheelDelta: (event: any) => number; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@xyflow/system", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "xyflow core system that powers React Flow and Svelte Flow.", | ||
@@ -39,6 +39,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@types/d3": "^7.4.0", | ||
"@types/d3-drag": "^3.0.1", | ||
"@types/d3-selection": "^3.0.3", | ||
"@types/d3-zoom": "^3.0.1", | ||
"@types/d3-drag": "^3.0.7", | ||
"@types/d3-selection": "^3.0.10", | ||
"@types/d3-transition": "^3.0.8", | ||
"@types/d3-zoom": "^3.0.8", | ||
"d3-drag": "^3.0.0", | ||
@@ -51,5 +51,5 @@ "d3-selection": "^3.0.0", | ||
"typescript": "5.1.3", | ||
"@xyflow/rollup-config": "0.0.0", | ||
"@xyflow/eslint-config": "0.0.0", | ||
"@xyflow/tsconfig": "0.0.0" | ||
"@xyflow/tsconfig": "0.0.0", | ||
"@xyflow/rollup-config": "0.0.0" | ||
}, | ||
@@ -56,0 +56,0 @@ "rollup": { |
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 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
539505
8539
+ Added@types/d3-transition@^3.0.8
- Removed@types/d3@^7.4.0
- Removed@types/d3@7.4.3(transitive)
- Removed@types/d3-array@3.2.1(transitive)
- Removed@types/d3-axis@3.0.6(transitive)
- Removed@types/d3-brush@3.0.6(transitive)
- Removed@types/d3-chord@3.0.6(transitive)
- Removed@types/d3-contour@3.0.6(transitive)
- Removed@types/d3-delaunay@6.0.4(transitive)
- Removed@types/d3-dispatch@3.0.6(transitive)
- Removed@types/d3-dsv@3.0.7(transitive)
- Removed@types/d3-ease@3.0.2(transitive)
- Removed@types/d3-fetch@3.0.7(transitive)
- Removed@types/d3-force@3.0.10(transitive)
- Removed@types/d3-format@3.0.4(transitive)
- Removed@types/d3-geo@3.1.0(transitive)
- Removed@types/d3-hierarchy@3.1.7(transitive)
- Removed@types/d3-path@3.1.0(transitive)
- Removed@types/d3-polygon@3.0.2(transitive)
- Removed@types/d3-quadtree@3.0.6(transitive)
- Removed@types/d3-random@3.0.3(transitive)
- Removed@types/d3-scale@4.0.8(transitive)
- Removed@types/d3-scale-chromatic@3.1.0(transitive)
- Removed@types/d3-shape@3.1.6(transitive)
- Removed@types/d3-time@3.0.4(transitive)
- Removed@types/d3-time-format@4.0.3(transitive)
- Removed@types/d3-timer@3.0.2(transitive)
- Removed@types/geojson@7946.0.15(transitive)
Updated@types/d3-drag@^3.0.7
Updated@types/d3-selection@^3.0.10
Updated@types/d3-zoom@^3.0.8