refactor(packages): change package structure

This commit is contained in:
moklick
2023-06-05 15:40:18 +02:00
parent b2e296901e
commit 8354759f57
332 changed files with 980 additions and 3244 deletions
@@ -1,5 +1,5 @@
import { get } from 'svelte/store';
import { XYDrag } from '@reactflow/utils';
import { XYDrag } from '@xyflow/system';
import type { SvelteFlowStore } from '$lib/store/types';
@@ -6,8 +6,8 @@ import type {
PanZoomInstance,
Transform,
Viewport
} from '@reactflow/system';
import { XYPanZoom } from '@reactflow/utils';
} from '@xyflow/system';
import { XYPanZoom } from '@xyflow/system';
type ZoomParams = {
transform: Writable<Transform>;
@@ -33,6 +33,7 @@ type ZoomParams = {
noPanClassName: string;
noWheelClassName: string;
userSelectionActive: boolean;
lib: string;
};
export default function zoom(domNode: Element, params: ZoomParams) {