@plait/mind 0.39.0 → 0.40.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
|
@@ -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;
|
package/styles/styles.scss
CHANGED
|
@@ -19,4 +19,4 @@ export declare const NodeSpace: {
|
|
|
19
19
|
getEmojiTopSpace(board: PlaitMindBoard, element: MindElement): number;
|
|
20
20
|
};
|
|
21
21
|
export declare const getFontSizeBySlateElement: (text: string | Element) => number;
|
|
22
|
-
export declare const getNodeDefaultFontSize: (isRoot?: boolean) =>
|
|
22
|
+
export declare const getNodeDefaultFontSize: (isRoot?: boolean) => 14 | 18;
|