chore(packages): bump deps, migrate to svelte-package v2
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
<script lang="ts">
|
||||
import { Position } from '@reactflow/system';
|
||||
import { Position, type NodeProps } from '@reactflow/system';
|
||||
|
||||
import { Handle } from '$lib/components/Handle';
|
||||
import type { NodeProps } from '$lib/types';
|
||||
|
||||
interface $$Props extends NodeProps<{ label: string }> {}
|
||||
|
||||
export let id: $$Props['id'];
|
||||
export let data: $$Props['data'] = { label: 'Node' };
|
||||
export let isConnectable: $$Props['isConnectable'] = true;
|
||||
export let targetPosition: $$Props['targetPosition'] = Position.Top;
|
||||
export let sourcePosition: $$Props['sourcePosition'] = Position.Bottom;
|
||||
export let xPos: $$Props['xPos'];
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
<script lang="ts">
|
||||
import { Position } from '@reactflow/system';
|
||||
import { Position, type NodeProps } from '@reactflow/system';
|
||||
|
||||
import type { NodeProps } from '$lib/types';
|
||||
import { Handle } from '$lib/components/Handle';
|
||||
|
||||
interface $$Props extends NodeProps<{ label: string }> {}
|
||||
|
||||
export let id: $$Props['id'];
|
||||
export let data: $$Props['data'] = { label: 'Node' };
|
||||
export let isConnectable: $$Props['isConnectable'] = true;
|
||||
export let targetPosition: $$Props['targetPosition'] = Position.Top;
|
||||
export let sourcePosition: $$Props['sourcePosition'] = Position.Bottom;
|
||||
export let xPos: $$Props['xPos'];
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
<script lang="ts">
|
||||
import { Position } from '@reactflow/system';
|
||||
import { Position, type NodeProps } from '@reactflow/system';
|
||||
|
||||
import type { NodeProps } from '$lib/types';
|
||||
import { Handle } from '$lib/components/Handle';
|
||||
|
||||
interface $$Props extends NodeProps<{ label: string }> {}
|
||||
|
||||
export let id: $$Props['id'];
|
||||
export let data: $$Props['data'] = { label: 'Node' };
|
||||
export let isConnectable: $$Props['isConnectable'] = true;
|
||||
export let targetPosition: $$Props['targetPosition'] = Position.Top;
|
||||
export let sourcePosition: $$Props['sourcePosition'] = Position.Bottom;
|
||||
export let xPos: $$Props['xPos'];
|
||||
|
||||
@@ -23,7 +23,7 @@ export type ConnectionData = {
|
||||
|
||||
export type HandleComponentProps = {
|
||||
type: HandleType;
|
||||
position: Position;
|
||||
position?: Position;
|
||||
id?: string;
|
||||
class?: string;
|
||||
style?: string;
|
||||
|
||||
Reference in New Issue
Block a user