@buerli.io/react-cad 0.3.0-beta.0 → 0.3.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.
@@ -5642,7 +5642,7 @@ const Output = ({
5642
5642
  key: index,
5643
5643
  minor: true,
5644
5644
  caption: item.description
5645
- }, /*#__PURE__*/React.createElement(Label, null, item.value));
5645
+ }, /*#__PURE__*/React.createElement(Label, null, `${item.value}`));
5646
5646
  }));
5647
5647
  };
5648
5648
 
@@ -16014,7 +16014,7 @@ const CSysDisplayImpl = ({
16014
16014
  return csysUDataArray_;
16015
16015
  }, [drawingId, hoveredOnly, activeProducts, hoveredProductIds, hoveredCSysIds, selItems, activeSelItems, rigidSets, selRigidSets]);
16016
16016
  const onInfiniteMove = React.useCallback(e => {
16017
- const geom = react.findBuerliGeometry(e);
16017
+ const geom = react.findBuerliGeometry(e)[0];
16018
16018
  setHoveredProductId(geom == null ? void 0 : geom.productId);
16019
16019
  }, [setHoveredProductId]);
16020
16020
  return /*#__PURE__*/React.createElement(HUD, null, /*#__PURE__*/React.createElement("infinityPlane", {
package/build/index.js CHANGED
@@ -5616,7 +5616,7 @@ const Output = ({
5616
5616
  key: index,
5617
5617
  minor: true,
5618
5618
  caption: item.description
5619
- }, /*#__PURE__*/React__default.createElement(Label, null, item.value));
5619
+ }, /*#__PURE__*/React__default.createElement(Label, null, `${item.value}`));
5620
5620
  }));
5621
5621
  };
5622
5622
 
@@ -15988,7 +15988,7 @@ const CSysDisplayImpl = ({
15988
15988
  return csysUDataArray_;
15989
15989
  }, [drawingId, hoveredOnly, activeProducts, hoveredProductIds, hoveredCSysIds, selItems, activeSelItems, rigidSets, selRigidSets]);
15990
15990
  const onInfiniteMove = React__default.useCallback(e => {
15991
- const geom = findBuerliGeometry(e);
15991
+ const geom = findBuerliGeometry(e)[0];
15992
15992
  setHoveredProductId(geom == null ? void 0 : geom.productId);
15993
15993
  }, [setHoveredProductId]);
15994
15994
  return /*#__PURE__*/React__default.createElement(HUD, null, /*#__PURE__*/React__default.createElement("infinityPlane", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerli.io/react-cad",
3
- "version": "0.3.0-beta.0",
3
+ "version": "0.3.0",
4
4
  "description": "buerli CAD components",
5
5
  "author": "AWV Informatik AG <info@awv-informatik.ch>",
6
6
  "repository": {},
@@ -97,8 +97,8 @@
97
97
  },
98
98
  "dependencies": {
99
99
  "@ant-design/compatible": "^1.0.8",
100
- "@buerli.io/classcad": "0.3.0-beta.0",
101
- "@buerli.io/react": "0.3.0-beta.0",
100
+ "@buerli.io/classcad": "0.3.0",
101
+ "@buerli.io/react": "0.3.0",
102
102
  "@react-three/postprocessing": "2.3.1",
103
103
  "antd": ">=4.15.3 <4.17",
104
104
  "path-browserify": "^1.0.1",