refactor(packages): change package structure
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user