@plait/core 0.22.0 → 0.23.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/board/board.component.interface.d.ts +2 -2
- package/esm2020/board/board.component.interface.mjs +1 -1
- package/esm2020/board/board.component.mjs +11 -11
- package/esm2020/interfaces/board.mjs +5 -5
- package/esm2020/plugins/with-selection.mjs +3 -8
- package/fesm2015/plait-core.mjs +17 -22
- package/fesm2015/plait-core.mjs.map +1 -1
- package/fesm2020/plait-core.mjs +17 -22
- package/fesm2020/plait-core.mjs.map +1 -1
- package/interfaces/board.d.ts +2 -2
- package/package.json +1 -1
- package/plugins/with-selection.d.ts +0 -4
package/interfaces/board.d.ts
CHANGED
|
@@ -74,8 +74,8 @@ export declare const PlaitBoard: {
|
|
|
74
74
|
findPath(board: PlaitBoard, node: PlaitNode): Path;
|
|
75
75
|
getHost(board: PlaitBoard): SVGSVGElement;
|
|
76
76
|
getElementHost(board: PlaitBoard): SVGSVGElement;
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
getElementUpperHost(board: PlaitBoard): SVGSVGElement;
|
|
78
|
+
getElementActiveHost(board: PlaitBoard): SVGSVGElement;
|
|
79
79
|
getRoughSVG(board: PlaitBoard): RoughSVG;
|
|
80
80
|
getComponent(board: PlaitBoard): BoardComponentInterface;
|
|
81
81
|
getBoardContainer(board: PlaitBoard): HTMLElement;
|
package/package.json
CHANGED
|
@@ -12,7 +12,3 @@ export declare function isSelectionMoving(board: PlaitBoard): boolean;
|
|
|
12
12
|
export declare function setSelectionMoving(board: PlaitBoard): void;
|
|
13
13
|
export declare function clearSelectionMoving(board: PlaitBoard): void;
|
|
14
14
|
export declare function createSelectionOuterG(board: PlaitBoard, selectElements: PlaitElement[]): SVGGElement;
|
|
15
|
-
/**
|
|
16
|
-
* prevent text from being selected
|
|
17
|
-
*/
|
|
18
|
-
export declare const preventNativeSelection: (board: PlaitBoard, event: MouseEvent) => void;
|