@plait/core 0.0.39 → 0.0.41

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.
@@ -44,7 +44,6 @@ export interface PlaitBoardOptions {
44
44
  allowClearBoard: boolean;
45
45
  }
46
46
  export interface PlaitBoardMove {
47
- isMoving: boolean;
48
47
  x: number;
49
48
  y: number;
50
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plait/core",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"
@@ -1,2 +1,2 @@
1
1
  import { PlaitBoard } from '../interfaces';
2
- export declare function withHistroy<T extends PlaitBoard>(board: T): T;
2
+ export declare function withHistory<T extends PlaitBoard>(board: T): T;
@@ -0,0 +1,2 @@
1
+ import { PlaitBoard } from '../interfaces';
2
+ export declare function withMove<T extends PlaitBoard>(board: T): T;
@@ -1,6 +1,8 @@
1
1
  import { RoughSVG } from 'roughjs/bin/svg';
2
+ import { PlaitBoardComponent } from '../board/board.component';
2
3
  import { PlaitBoard } from '../interfaces/board';
3
4
  export declare const FLUSHING: WeakMap<PlaitBoard, boolean>;
4
5
  export declare const IS_TEXT_EDITABLE: WeakMap<PlaitBoard, boolean>;
5
6
  export declare const BOARD_TO_ON_CHANGE: WeakMap<PlaitBoard, () => void>;
6
7
  export declare const HOST_TO_ROUGH_SVG: WeakMap<SVGElement, RoughSVG>;
8
+ export declare const PLAIT_BOARD_TO_COMPONENT: WeakMap<PlaitBoard, PlaitBoardComponent>;