@plait/mind 0.66.0 → 0.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plait/mind",
3
- "version": "0.66.0",
3
+ "version": "0.67.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
@@ -1,11 +1,9 @@
1
1
  import { MindElement } from '../../interfaces/element';
2
2
  import { Path, PlaitBoard } from '@plait/core';
3
3
  import { DetectResult } from '../../interfaces/node';
4
- export declare const IS_DRAGGING: WeakMap<PlaitBoard, boolean>;
5
4
  export declare const addActiveOnDragOrigin: (activeElement: MindElement) => void;
6
5
  export declare const removeActiveOnDragOrigin: (activeElement: MindElement) => void;
7
- export declare const isDragging: (board: PlaitBoard) => boolean;
8
- export declare const setIsDragging: (board: PlaitBoard, state: boolean) => void;
6
+ export declare const setMindDragging: (board: PlaitBoard, state: boolean) => void;
9
7
  export declare const hasPreviousOrNextOfDropPath: (parent: MindElement, dropTarget: {
10
8
  target: MindElement;
11
9
  detectResult: DetectResult;