@buerli.io/react-cad 0.7.1-beta.1 → 0.7.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.
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import 'antd/dist/antd.css';
3
+ import { DrawingID, ObjectID } from '@buerli.io/core';
3
4
  import { MenuItems } from '../common/Menu';
4
- export declare function useMenuItems(setEditName: React.Dispatch<React.SetStateAction<boolean>>): MenuItems;
5
+ export declare function useMenuItems(drawingId: DrawingID, solidId: ObjectID, setEditName: React.Dispatch<React.SetStateAction<boolean>>): MenuItems;
@@ -3,6 +3,7 @@ export { useCurrentProduct } from './useCurrentProduct';
3
3
  export { EditMode, useEditMode } from './useEditMode';
4
4
  export { useHasPending } from './useHasPending';
5
5
  export { useIsLoading } from './useIsLoading';
6
+ export { useIsSketchActive } from './useIsSketchActive';
6
7
  export { useMenuItems } from './useMenuItems';
7
8
  export { useObjectDetails } from './useObjectDetails';
8
9
  export { useOperationSequence } from './useOperationSequence';
@@ -0,0 +1,2 @@
1
+ import { DrawingID } from '@buerli.io/core';
2
+ export declare const useIsSketchActive: (drawingId: DrawingID) => boolean;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DrawingID } from '@buerli.io/core';
3
+ /**
4
+ * Contains combined visible plugin geometry bounding box
5
+ */
6
+ export declare const PluginGeometryBounds: React.FC<{
7
+ drawingId: DrawingID;
8
+ }>;