@plait/mind 0.6.0 → 0.7.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/esm2020/interfaces/theme-color.mjs +11 -1
- package/esm2020/utils/mind.mjs +3 -4
- package/esm2020/utils/node/create-node.mjs +14 -9
- package/esm2020/utils/node-style/branch.mjs +9 -3
- package/esm2020/utils/node-style/common.mjs +2 -11
- package/esm2020/utils/node-style/shape.mjs +3 -9
- package/fesm2015/plait-mind.mjs +34 -27
- package/fesm2015/plait-mind.mjs.map +1 -1
- package/fesm2020/plait-mind.mjs +34 -27
- package/fesm2020/plait-mind.mjs.map +1 -1
- package/interfaces/theme-color.d.ts +3 -0
- package/package.json +1 -1
- package/utils/node/create-node.d.ts +1 -0
- package/utils/node-style/shape.d.ts +1 -1
|
@@ -12,3 +12,6 @@ export declare const MindRetroThemeColor: MindThemeColor;
|
|
|
12
12
|
export declare const MindDarkThemeColor: MindThemeColor;
|
|
13
13
|
export declare const MindStarryThemeColor: MindThemeColor;
|
|
14
14
|
export declare const MindThemeColors: MindThemeColor[];
|
|
15
|
+
export declare const MindThemeColor: {
|
|
16
|
+
isMindThemeColor(value: any): value is MindThemeColor;
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PlaitBoard } from '@plait/core';
|
|
2
2
|
import { MindElement, MindElementShape } from '../../interfaces/element';
|
|
3
|
-
export declare const getStrokeByMindElement: (board: PlaitBoard, element: MindElement) =>
|
|
3
|
+
export declare const getStrokeByMindElement: (board: PlaitBoard, element: MindElement) => any;
|
|
4
4
|
export declare const getShapeByElement: (board: PlaitBoard, element: MindElement) => MindElementShape;
|