@buerli.io/react-cad 0.0.23-beta.4 → 0.0.23

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.
@@ -4,7 +4,6 @@ import { IStructureObject, ObjectID, PluginID } from '@buerli.io/core';
4
4
  import { CCClasses } from '@buerli.io/classcad';
5
5
  import { InfinityPlane } from '../../components/graphics/InfinityPlane';
6
6
  import { Geometry } from 'three-stdlib';
7
- export declare const UNDEFINEDID = -1;
8
7
  export declare type HighlightedConstraintsT = Array<{
9
8
  constraintId: ObjectID;
10
9
  geometryId: ObjectID;
@@ -0,0 +1,3 @@
1
+ export declare const EMPTYARRAY: never[];
2
+ export declare const NOCCID: number;
3
+ export declare const EMPTYSTR = "";
@@ -0,0 +1,3 @@
1
+ export { useDrawingArr } from './useDrawingArr';
2
+ export { useDrawingCCId } from './useDrawingCCId';
3
+ export { useDrawingStr } from './useDrawingStr';
@@ -0,0 +1,2 @@
1
+ import { DrawingID, DrawingState } from '@buerli.io/core';
2
+ export declare function useDrawingArr<T>(drawingId: DrawingID, selector: (state: DrawingState) => Array<T> | undefined): Array<T>;
@@ -0,0 +1,2 @@
1
+ import { DrawingID, DrawingState, ObjectID } from '@buerli.io/core';
2
+ export declare function useDrawingCCId(drawingId: DrawingID, selector: (state: DrawingState) => ObjectID | undefined): ObjectID;
@@ -0,0 +1,2 @@
1
+ import { DrawingID, DrawingState } from '@buerli.io/core';
2
+ export declare function useDrawingStr(drawingId: DrawingID, selector: (state: DrawingState) => string | undefined): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerli.io/react-cad",
3
- "version": "0.0.23-beta.4",
3
+ "version": "0.0.23",
4
4
  "description": "buerli CAD components",
5
5
  "author": "AWV Informatik AG <info@awv-informatik.ch>",
6
6
  "repository": {},
@@ -95,8 +95,8 @@
95
95
  },
96
96
  "dependencies": {
97
97
  "@ant-design/compatible": "^1.0.8",
98
- "@buerli.io/classcad": "0.0.35-beta.4",
99
- "@buerli.io/react": "0.0.35-beta.4",
98
+ "@buerli.io/classcad": "0.0.35",
99
+ "@buerli.io/react": "0.0.35",
100
100
  "antd": "^4.15.3",
101
101
  "react": "^17.0.2",
102
102
  "react-colorful": "^5.3.0",