@plait/draw 0.62.0-next.0 → 0.62.0-next.1

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/draw",
3
- "version": "0.62.0-next.0",
3
+ "version": "0.62.0-next.1",
4
4
  "peerDependencies": {
5
5
  "is-hotkey": "^0.2.0"
6
6
  },
@@ -1,7 +1,7 @@
1
1
  import { PlaitBoard, Point } from '@plait/core';
2
2
  import { PlaitDrawElement, PlaitGeometry, PlaitLine, PlaitShapeElement } from '../interfaces';
3
3
  import { PlaitTable } from '../interfaces/table';
4
- export declare const buildClipboardData: (board: PlaitBoard, elements: PlaitDrawElement[], startPoint: Point) => (PlaitGeometry | import("../interfaces").PlaitBaseTable | PlaitLine)[];
4
+ export declare const buildClipboardData: (board: PlaitBoard, elements: PlaitDrawElement[], startPoint: Point) => (PlaitGeometry | PlaitLine | import("../interfaces").PlaitBaseTable)[];
5
5
  export declare const insertClipboardData: (board: PlaitBoard, elements: PlaitDrawElement[], startPoint: Point) => void;
6
6
  export declare const insertClipboardTableData: (board: PlaitBoard, elements: PlaitTable[], startPoint: Point, lines: PlaitLine[]) => void;
7
7
  export declare const updateBoundLinesId: (element: PlaitShapeElement, lines: PlaitLine[], newId: string) => void;
@@ -1,6 +1,5 @@
1
- import { PlaitGeometry, PlaitLine } from '../../interfaces';
2
1
  import { PlaitBoard, PlaitElement } from '@plait/core';
3
- export declare const getStrokeColorByElement: (board: PlaitBoard, element: PlaitGeometry | PlaitLine) => string;
4
- export declare const getFillByElement: (board: PlaitBoard, element: PlaitGeometry | PlaitLine) => any;
5
- export declare const getLineDashByElement: (element: PlaitGeometry | PlaitLine) => any[] | undefined;
2
+ export declare const getStrokeColorByElement: (board: PlaitBoard, element: PlaitElement) => any;
3
+ export declare const getFillByElement: (board: PlaitBoard, element: PlaitElement) => any;
4
+ export declare const getLineDashByElement: (element: PlaitElement) => any[] | undefined;
6
5
  export declare const getStrokeStyleByElement: (element: PlaitElement) => any;