@xyflow/svelte
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -30,3 +30,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'edge:click': CustomEvent<any>; | ||
edgeclick: CustomEvent<any>; | ||
} & { | ||
@@ -33,0 +33,0 @@ [evt: string]: CustomEvent<any>; |
@@ -21,5 +21,5 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'connect:start': CustomEvent<any>; | ||
connectstart: CustomEvent<any>; | ||
connect: CustomEvent<any>; | ||
'connect:end': CustomEvent<any>; | ||
connectend: CustomEvent<any>; | ||
} & { | ||
@@ -26,0 +26,0 @@ [evt: string]: CustomEvent<any>; |
@@ -21,5 +21,5 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'connect:start': CustomEvent<any>; | ||
connectstart: CustomEvent<any>; | ||
connect: CustomEvent<any>; | ||
'connect:end': CustomEvent<any>; | ||
connectend: CustomEvent<any>; | ||
} & { | ||
@@ -26,0 +26,0 @@ [evt: string]: CustomEvent<any>; |
@@ -21,5 +21,5 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'connect:start': CustomEvent<any>; | ||
connectstart: CustomEvent<any>; | ||
connect: CustomEvent<any>; | ||
'connect:end': CustomEvent<any>; | ||
connectend: CustomEvent<any>; | ||
} & { | ||
@@ -26,0 +26,0 @@ [evt: string]: CustomEvent<any>; |
@@ -28,5 +28,5 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'connect:start': any; | ||
connectstart: any; | ||
connect: any; | ||
'connect:end': any; | ||
connectend: any; | ||
} & { | ||
@@ -33,0 +33,0 @@ [evt: string]: CustomEvent<any>; |
@@ -5,3 +5,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'edge:click': CustomEvent<any>; | ||
edgeclick: CustomEvent<any>; | ||
} & { | ||
@@ -8,0 +8,0 @@ [evt: string]: CustomEvent<any>; |
@@ -5,9 +5,9 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'node:click': CustomEvent<any>; | ||
'node:mouseenter': CustomEvent<any>; | ||
'node:mousemove': CustomEvent<any>; | ||
'node:mouseleave': CustomEvent<any>; | ||
'connect:start': any; | ||
nodeclick: CustomEvent<any>; | ||
nodemouseenter: CustomEvent<any>; | ||
nodemousemove: CustomEvent<any>; | ||
nodemouseleave: CustomEvent<any>; | ||
connectstart: any; | ||
connect: any; | ||
'connect:end': any; | ||
connectend: any; | ||
} & { | ||
@@ -14,0 +14,0 @@ [evt: string]: CustomEvent<any>; |
@@ -11,4 +11,4 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
'pane:click': CustomEvent<any>; | ||
'pane:contextmenu': CustomEvent<any>; | ||
paneclick: CustomEvent<any>; | ||
panecontextmenu: CustomEvent<any>; | ||
} & { | ||
@@ -15,0 +15,0 @@ [evt: string]: CustomEvent<any>; |
@@ -144,12 +144,12 @@ import { SvelteComponentTyped } from "svelte"; | ||
onMoveEnd?: import("@xyflow/system").OnMove | undefined; | ||
'on:node:click'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:node:mouseenter'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:node:mousemove'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:node:mouseleave'?: CustomEvent<import("../..").Node> | undefined; | ||
'on:edge:click'?: CustomEvent<import("../..").Edge> | undefined; | ||
'on:connect:start'?: CustomEvent<import("@xyflow/system").OnConnectStartParams> | 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:connect:end'?: CustomEvent<import("@xyflow/system").OnConnectStartParams> | undefined; | ||
'on:pane:click'?: CustomEvent<any> | undefined; | ||
'on:pane:contextmenu'?: CustomEvent<any> | undefined; | ||
'on:connectend'?: CustomEvent<import("@xyflow/system").OnConnectStartParams> | undefined; | ||
'on:paneclick'?: CustomEvent<any> | undefined; | ||
'on:panecontextmenu'?: CustomEvent<any> | undefined; | ||
}; | ||
@@ -159,11 +159,11 @@ events: { | ||
drop: DragEvent; | ||
'pane:click': CustomEvent<any>; | ||
'edge:click': CustomEvent<any>; | ||
'node:click': CustomEvent<any>; | ||
'node:mouseenter': CustomEvent<any>; | ||
'node:mousemove': CustomEvent<any>; | ||
'node:mouseleave': CustomEvent<any>; | ||
'connect:start': any; | ||
paneclick: CustomEvent<any>; | ||
edgeclick: CustomEvent<any>; | ||
nodeclick: CustomEvent<any>; | ||
nodemouseenter: CustomEvent<any>; | ||
nodemousemove: CustomEvent<any>; | ||
nodemouseleave: CustomEvent<any>; | ||
connectstart: any; | ||
connect: any; | ||
'connect:end': any; | ||
connectend: any; | ||
} & { | ||
@@ -170,0 +170,0 @@ [evt: string]: CustomEvent<any>; |
@@ -41,12 +41,12 @@ import type { DOMAttributes } from 'svelte/elements'; | ||
onMoveEnd?: OnMoveEnd; | ||
'on:node:click'?: CustomEvent<Node>; | ||
'on:node:mouseenter'?: CustomEvent<Node>; | ||
'on:node:mousemove'?: CustomEvent<Node>; | ||
'on:node:mouseleave'?: CustomEvent<Node>; | ||
'on:edge:click'?: CustomEvent<Edge>; | ||
'on:connect:start'?: CustomEvent<OnConnectStartParams>; | ||
'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:connect:end'?: CustomEvent<OnConnectStartParams>; | ||
'on:pane:click'?: CustomEvent; | ||
'on:pane:contextmenu'?: CustomEvent; | ||
'on:connectend'?: CustomEvent<OnConnectStartParams>; | ||
'on:paneclick'?: CustomEvent; | ||
'on:panecontextmenu'?: CustomEvent; | ||
}; |
{ | ||
"name": "@xyflow/svelte", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -73,3 +73,3 @@ # Svelte Flow (alpha) | ||
snapGrid={snapGrid} | ||
on:node:click={(event) => console.log('on node click', event)} | ||
on:nodeclick={(event) => console.log('on node click', event)} | ||
> | ||
@@ -76,0 +76,0 @@ <Controls /> |
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 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
176666