refactor(packages): add @reactflow/system

This commit is contained in:
moklick
2023-02-16 16:37:47 +01:00
parent 216bf1bcd3
commit a12c893226
40 changed files with 1104 additions and 78 deletions
@@ -1,7 +1,7 @@
<script lang="ts">
import { getContext } from 'svelte';
import cc from 'classcat';
import { type HandleType, Position } from '@reactflow/core';
import { type HandleType, Position } from '@reactflow/system';
export let type: HandleType = 'source';
export let position: Position = Position.Top;
@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount, setContext } from 'svelte';
import type { XYPosition } from '@reactflow/core';
import type { XYPosition } from '@reactflow/system';
import drag from '$lib/hooks/drag'
import { useStore } from '$lib/store';
@@ -1,5 +1,5 @@
<script lang="ts">
import { Position } from '@reactflow/core';
import { Position } from '@reactflow/system';
import Handle from '$lib/components/Handle.svelte';