@buerli.io/react-cad 0.5.0-beta.4 → 0.5.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.
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import 'antd/dist/antd.css';
3
3
  import { DrawingID } from '@buerli.io/core';
4
4
  export declare const MessageList: React.FC<{
5
- drawingId: DrawingID;
5
+ isOpen: boolean;
6
6
  }>;
7
7
  export declare const Messages: React.FC<{
8
8
  drawingId: DrawingID;
@@ -11,6 +11,7 @@ declare type StoreT = {
11
11
  declare function createApi(set: SetState<StoreT>): {
12
12
  setMsg: (msgId: string, msg: MessageT) => void;
13
13
  deleteMsg: (msgId: string) => void;
14
+ deleteAllMsgs: () => void;
14
15
  setShown: () => void;
15
16
  };
16
17
  export declare const useMsgStore: import("zustand").UseBoundStore<import("zustand").StoreApi<StoreT>>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { DrawingID } from '@buerli.io/core';
3
+ export declare function isDegValue(expr: string): boolean;
3
4
  export declare const NumOrExpr: React.FC<{
4
5
  drawingId: DrawingID;
5
6
  valOrExpr: number | string;