microboard-temp 0.4.69 → 0.4.70

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.
@@ -8,19 +8,14 @@ export declare const defaultDeckData: BaseItemData;
8
8
  export declare class Deck extends BaseItem {
9
9
  readonly subject: Subject<Deck>;
10
10
  shouldUseCustomRender: boolean;
11
- cardIds: string[];
12
- cards: Card[];
13
11
  constructor(board: Board, id?: string, defaultData?: BaseItemData, cards?: Card[]);
12
+ applyAddChildren(childIds: string[]): void;
13
+ applyRemoveChildren(childIds: string[]): void;
14
14
  getDeck(): Card[];
15
15
  getTopCard(): Card | undefined;
16
16
  getBottomCard(): Card | undefined;
17
17
  getRandomCard(): Card | undefined;
18
- private getCards;
19
- private findCardsOnBoard;
20
- updateCards(): Card[];
21
18
  shuffleDeck(): void;
22
- addCards(cards: Card[], shouldReplaceExistingCards?: boolean): void;
23
- removeCards(cards: Card[]): void;
24
19
  apply(op: DeckOperation): void;
25
20
  updateMbr(): void;
26
21
  deserialize(data: SerializedItemData): this;
@@ -13,6 +13,10 @@ export declare class Hand extends BaseItem {
13
13
  backgroundColor: string;
14
14
  constructor(board: Board, id?: string, ownerId?: string);
15
15
  apply(op: HandOperation): void;
16
+ getBackgroundColor(): string;
17
+ getBorderStyle(): string;
18
+ getStrokeColor(): string;
19
+ getStrokeWidth(): number;
16
20
  private applyBackgroundColor;
17
21
  setBackgroundColor(backgroundColor: string): void;
18
22
  private applyBorderWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.69",
3
+ "version": "0.4.70",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",