@xyflow/svelte
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -5,3 +5,3 @@ import type { SvelteFlowStore } from '../../store/types'; | ||
disabled?: boolean; | ||
noDragClassName?: string; | ||
noDragClass?: string; | ||
handleSelector?: string; | ||
@@ -8,0 +8,0 @@ nodeId?: string; |
@@ -35,3 +35,3 @@ import { get } from 'svelte/store'; | ||
domNode, | ||
noDragClassName: params.noDragClassName, | ||
noDragClassName: params.noDragClass, | ||
handleSelector: params.handleSelector, | ||
@@ -38,0 +38,0 @@ nodeId: params.nodeId, |
@@ -15,2 +15,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
connect: CustomEvent<any>; | ||
connectstart: CustomEvent<any>; | ||
connectend: CustomEvent<any>; | ||
} & { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -17,0 +21,0 @@ }; |
@@ -145,12 +145,40 @@ import { SvelteComponentTyped } from "svelte"; | ||
onMoveEnd?: import("@xyflow/system").OnMove | undefined; | ||
'on:nodeclick'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:nodemouseenter'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:nodemousemove'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:nodemouseleave'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:edgeclick'?: CustomEvent<import("../..").Edge> | undefined; | ||
'on:connectstart'?: CustomEvent<import("@xyflow/system").OnConnectStartParams> | undefined; | ||
'on:connect'?: CustomEvent<import("@xyflow/system").Connection> | undefined; | ||
'on:connectend'?: CustomEvent<import("@xyflow/system").OnConnectStartParams> | undefined; | ||
'on:paneclick'?: CustomEvent<any> | undefined; | ||
'on:panecontextmenu'?: CustomEvent<any> | undefined; | ||
'on:nodeclick'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
node: import("../..").Node; | ||
}> | undefined; | ||
'on:nodemouseenter'?: CustomEvent<{ | ||
event: MouseEvent; | ||
node: import("../..").Node; | ||
}> | undefined; | ||
'on:nodemousemove'?: CustomEvent<{ | ||
event: MouseEvent; | ||
node: import("../..").Node; | ||
}> | undefined; | ||
'on:nodemouseleave'?: CustomEvent<{ | ||
event: MouseEvent; | ||
node: import("../..").Node; | ||
}> | undefined; | ||
'on:edgeclick'?: CustomEvent<{ | ||
event: MouseEvent; | ||
edge: import("../..").Edge; | ||
}> | undefined; | ||
'on:connectstart'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
nodeId?: string | undefined; | ||
handleId?: string | undefined; | ||
handleType?: import("@xyflow/system").HandleType | undefined; | ||
}> | undefined; | ||
'on:connect'?: CustomEvent<{ | ||
connection: import("@xyflow/system").Connection; | ||
}> | undefined; | ||
'on:connectend'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
}> | undefined; | ||
'on:paneclick'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
}> | undefined; | ||
'on:panecontextmenu'?: CustomEvent<{ | ||
event: MouseEvent; | ||
}> | undefined; | ||
}; | ||
@@ -157,0 +185,0 @@ events: { |
import type { DOMAttributes } from 'svelte/elements'; | ||
import type { Connection, ConnectionLineType, NodeOrigin, OnConnectStartParams, Viewport, SelectionMode, SnapGrid, OnMoveStart, OnMove, OnMoveEnd, CoordinateExtent, PanOnScrollMode, IsValidConnection } from '@xyflow/system'; | ||
import type { Connection, ConnectionLineType, NodeOrigin, Viewport, SelectionMode, SnapGrid, OnMoveStart, OnMove, OnMoveEnd, CoordinateExtent, PanOnScrollMode, IsValidConnection, HandleType } from '@xyflow/system'; | ||
import type { Edge, Node, NodeTypes, KeyDefinition, EdgeTypes } from '../../types'; | ||
@@ -42,12 +42,40 @@ import type { Writable } from 'svelte/store'; | ||
onMoveEnd?: OnMoveEnd; | ||
'on:nodeclick'?: CustomEvent<Node>; | ||
'on:nodemouseenter'?: CustomEvent<Node>; | ||
'on:nodemousemove'?: CustomEvent<Node>; | ||
'on:nodemouseleave'?: CustomEvent<Node>; | ||
'on:edgeclick'?: CustomEvent<Edge>; | ||
'on:connectstart'?: CustomEvent<OnConnectStartParams>; | ||
'on:connect'?: CustomEvent<Connection>; | ||
'on:connectend'?: CustomEvent<OnConnectStartParams>; | ||
'on:paneclick'?: CustomEvent; | ||
'on:panecontextmenu'?: CustomEvent; | ||
'on:nodeclick'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
node: Node; | ||
}>; | ||
'on:nodemouseenter'?: CustomEvent<{ | ||
event: MouseEvent; | ||
node: Node; | ||
}>; | ||
'on:nodemousemove'?: CustomEvent<{ | ||
event: MouseEvent; | ||
node: Node; | ||
}>; | ||
'on:nodemouseleave'?: CustomEvent<{ | ||
event: MouseEvent; | ||
node: Node; | ||
}>; | ||
'on:edgeclick'?: CustomEvent<{ | ||
event: MouseEvent; | ||
edge: Edge; | ||
}>; | ||
'on:connectstart'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
nodeId?: string; | ||
handleId?: string; | ||
handleType?: HandleType; | ||
}>; | ||
'on:connect'?: CustomEvent<{ | ||
connection: Connection; | ||
}>; | ||
'on:connectend'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
}>; | ||
'on:paneclick'?: CustomEvent<{ | ||
event: MouseEvent | TouchEvent; | ||
}>; | ||
'on:panecontextmenu'?: CustomEvent<{ | ||
event: MouseEvent; | ||
}>; | ||
}; |
@@ -7,3 +7,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
patternColor?: string | undefined; | ||
patternClassName?: string | undefined; | ||
patternClass?: string | undefined; | ||
class?: string | undefined; | ||
@@ -10,0 +10,0 @@ gap?: number | [number, number] | undefined; |
@@ -9,3 +9,3 @@ export declare enum BackgroundVariant { | ||
patternColor?: string; | ||
patternClassName?: string; | ||
patternClass?: string; | ||
class?: string; | ||
@@ -12,0 +12,0 @@ gap?: number | [number, number]; |
@@ -8,3 +8,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
nodeStrokeColor?: string | GetMiniMapNodeAttribute | undefined; | ||
nodeClassName?: string | GetMiniMapNodeAttribute | undefined; | ||
nodeClass?: string | GetMiniMapNodeAttribute | undefined; | ||
nodeBorderRadius?: number | undefined; | ||
@@ -17,2 +17,3 @@ nodeStrokeWidth?: number | undefined; | ||
class?: string | undefined; | ||
style?: string | undefined; | ||
ariaLabel?: string | null | undefined; | ||
@@ -19,0 +20,0 @@ width?: number | undefined; |
@@ -8,3 +8,3 @@ import type { PanelPosition } from '@xyflow/system'; | ||
nodeStrokeColor?: string | GetMiniMapNodeAttribute; | ||
nodeClassName?: string | GetMiniMapNodeAttribute; | ||
nodeClass?: string | GetMiniMapNodeAttribute; | ||
nodeBorderRadius?: number; | ||
@@ -17,2 +17,3 @@ nodeStrokeWidth?: number; | ||
class?: string; | ||
style?: string; | ||
ariaLabel?: string | null; | ||
@@ -19,0 +20,0 @@ width?: number; |
{ | ||
"name": "@xyflow/svelte", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"classcat": "^5.0.4", | ||
"@xyflow/system": "0.0.5" | ||
"@xyflow/system": "0.0.6" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
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
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
206981
3491
+ Added@xyflow/system@0.0.6(transitive)
- Removed@xyflow/system@0.0.5(transitive)
Updated@xyflow/system@0.0.6