@plait/mind 0.39.0 → 0.41.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.39.0",
3
+ "version": "0.41.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.0.0",
6
6
  "@angular/core": "^16.0.0"
@@ -2,9 +2,5 @@ import { PlaitBoard, Point, RectangleClient } from '@plait/core';
2
2
  import { MindElement } from '../interfaces/element';
3
3
  import { PlaitMindBoard } from './with-mind.board';
4
4
  export declare const withNodeResize: (board: PlaitBoard) => PlaitBoard;
5
- export declare const IS_MIND_NODE_RESIZING: WeakMap<PlaitBoard, boolean>;
6
- export declare const isMindNodeResizing: (board: PlaitBoard) => boolean;
7
- export declare const addResizing: (board: PlaitBoard, element: MindElement) => void;
8
- export declare const removeResizing: (board: PlaitBoard, element: MindElement) => void;
9
5
  export declare const getSelectedTarget: (board: PlaitMindBoard, point: Point) => MindElement<import("@plait/mind").BaseData> | null;
10
6
  export declare const getResizeActiveRectangle: (board: PlaitBoard, element: MindElement) => RectangleClient;
@@ -152,9 +152,5 @@ $primary: #4e8afa;
152
152
  display: block;
153
153
  }
154
154
 
155
- &.mind-ew-resize {
156
- cursor: ew-resize;
157
- }
158
-
159
155
  @include mixins.node-color();
160
156
  }
@@ -14,4 +14,6 @@ export declare const MindTransforms: {
14
14
  setRightNodeCountByRefs: (board: import("@plait/core").PlaitBoard, refs: import("@plait/mind").RightNodeCountRef[]) => void;
15
15
  removeImage: (board: import("@plait/core").PlaitBoard, element: import("@plait/mind").MindElement<import("@plait/mind").ImageData>) => void;
16
16
  setImage: (board: import("@plait/core").PlaitBoard, element: import("@plait/mind").MindElement<import("@plait/mind").BaseData>, imageItem: import("@plait/common").CommonImageItem) => void;
17
+ insertChildNode: (board: import("@plait/mind").PlaitMindBoard, element: import("@plait/mind").MindElement<import("@plait/mind").BaseData>) => void;
18
+ insertSiblingNode: (board: import("@plait/mind").PlaitMindBoard, element: import("@plait/mind").MindElement<import("@plait/mind").BaseData>) => void;
17
19
  };
@@ -10,3 +10,5 @@ export declare const setTopicSize: (board: PlaitMindBoard, element: MindElement,
10
10
  export declare const insertNodes: (board: PlaitBoard, elements: MindElement[], path: Path) => void;
11
11
  export declare const insertAbstractNodes: (board: PlaitBoard, validAbstractRefs: AbstractRef[], elements: MindElement[], path: Path) => void;
12
12
  export declare const setRightNodeCountByRefs: (board: PlaitBoard, refs: RightNodeCountRef[]) => void;
13
+ export declare const insertChildNode: (board: PlaitMindBoard, element: MindElement) => void;
14
+ export declare const insertSiblingNode: (board: PlaitMindBoard, element: MindElement) => void;
package/utils/index.d.ts CHANGED
@@ -12,3 +12,4 @@ export * from './abstract/resize';
12
12
  export * from './node/right-node-count';
13
13
  export * from './space/node-space';
14
14
  export * from './space';
15
+ export * from './path';