chore(packages): bump deps, migrate to svelte-package v2

This commit is contained in:
moklick
2023-03-15 13:53:34 +01:00
parent 2381ad2a84
commit 9e961809ee
8 changed files with 1200 additions and 1883 deletions
@@ -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'];
+1 -1
View File
@@ -23,7 +23,7 @@ export type ConnectionData = {
export type HandleComponentProps = {
type: HandleType;
position: Position;
position?: Position;
id?: string;
class?: string;
style?: string;