@xyflow/svelte
Advanced tools
Comparing version 1.0.0-next.3 to 1.0.0-next.4
@@ -1,6 +0,6 @@ | ||
import type { DOMAttributes } from 'svelte/elements'; | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
import type { SvelteFlowProps } from './types'; | ||
type $$ComponentProps = SvelteFlowProps & DOMAttributes<HTMLDivElement>; | ||
type $$ComponentProps = SvelteFlowProps & HTMLAttributes<HTMLDivElement>; | ||
declare const SvelteFlow: import("svelte").Component<$$ComponentProps, {}, "nodes" | "edges" | "viewport">; | ||
type SvelteFlow = ReturnType<typeof SvelteFlow>; | ||
export default SvelteFlow; |
@@ -293,2 +293,6 @@ import type { ClassValue } from 'svelte/elements'; | ||
*/ | ||
/** Enabling this option will raise the z-index of nodes when they are selected. | ||
* @default true | ||
*/ | ||
elevateNodesOnSelect?: boolean; | ||
isValidConnection?: IsValidConnection; | ||
@@ -295,0 +299,0 @@ /** This event handler is called when the user begins to pan or zoom the viewport */ |
@@ -1,2 +0,2 @@ | ||
import type { ClassValue, DOMAttributes } from 'svelte/elements'; | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
import type { Snippet } from 'svelte'; | ||
@@ -7,3 +7,2 @@ import { type SvelteFlowRestProps } from '../../store/types'; | ||
height?: number; | ||
class?: ClassValue; | ||
colorMode?: string; | ||
@@ -14,3 +13,3 @@ domNode: HTMLDivElement | null; | ||
children?: Snippet; | ||
rest: SvelteFlowRestProps & DOMAttributes<HTMLDivElement>; | ||
rest: SvelteFlowRestProps & HTMLAttributes<HTMLDivElement>; | ||
}; | ||
@@ -17,0 +16,0 @@ declare const Wrapper: import("svelte").Component<$$ComponentProps, {}, "domNode" | "clientHeight" | "clientWidth">; |
@@ -29,3 +29,3 @@ import { infiniteExtent, SelectionMode, ConnectionMode, devWarn, adoptUserNodes, getViewportForBounds, updateConnectionLookup, initialConnection, getInternalNodesBounds, createMarkerIds, pointToRendererPoint } from '@xyflow/system'; | ||
nodeOrigin: this.nodeOrigin, | ||
elevateNodesOnSelect: false, | ||
elevateNodesOnSelect: signals.props.elevateNodesOnSelect ?? true, | ||
checkEquality: true | ||
@@ -32,0 +32,0 @@ }); |
{ | ||
"name": "@xyflow/svelte", | ||
"version": "1.0.0-next.3", | ||
"version": "1.0.0-next.4", | ||
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.", | ||
@@ -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
250091
4394