@fleet-frontend/mower-maps 0.2.0-beta.23 → 0.2.0-beta.24

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.
package/dist/index.esm.js CHANGED
@@ -8761,7 +8761,7 @@ class SvgMapView {
8761
8761
  svg.style.width = '100%';
8762
8762
  svg.style.height = '100%';
8763
8763
  svg.style.background = 'transparent';
8764
- svg.style.overflow = 'visible';
8764
+ svg.style.overflow = 'hidden';
8765
8765
  return svg;
8766
8766
  }
8767
8767
  /**
@@ -18323,7 +18323,7 @@ const DoodleTransformWrapper = ({ data, isSelected = false, isSelectedWithoutOpe
18323
18323
  justifyContent: 'center',
18324
18324
  gap: '10px',
18325
18325
  color: '#325069',
18326
- }, children: jsxs("div", { children: ["Remaining Time: ", remainingTime] }) }) }) }))] }));
18326
+ }, children: jsxs("div", { children: ["Remaining time: ", remainingTime] }) }) }) }))] }));
18327
18327
  };
18328
18328
  useEffect(() => {
18329
18329
  const isMove = isDragging || isRotating || isScaling;
@@ -19899,7 +19899,7 @@ const useCreateVisionOffElement = () => {
19899
19899
  const centerPoint = useMemo(() => {
19900
19900
  if (!svgViewBox)
19901
19901
  return null;
19902
- const center = [svgViewBox.x + svgViewBox.width / 2, -svgViewBox.y - svgViewBox.height / 2];
19902
+ const center = [svgViewBox.x + svgViewBox.width / 2, svgViewBox.y + svgViewBox.height / 2];
19903
19903
  return center;
19904
19904
  }, [svgViewBox]);
19905
19905
  const elementWidth = useMemo(() => {
package/dist/index.js CHANGED
@@ -8781,7 +8781,7 @@ class SvgMapView {
8781
8781
  svg.style.width = '100%';
8782
8782
  svg.style.height = '100%';
8783
8783
  svg.style.background = 'transparent';
8784
- svg.style.overflow = 'visible';
8784
+ svg.style.overflow = 'hidden';
8785
8785
  return svg;
8786
8786
  }
8787
8787
  /**
@@ -18343,7 +18343,7 @@ const DoodleTransformWrapper = ({ data, isSelected = false, isSelectedWithoutOpe
18343
18343
  justifyContent: 'center',
18344
18344
  gap: '10px',
18345
18345
  color: '#325069',
18346
- }, children: jsxRuntime.jsxs("div", { children: ["Remaining Time: ", remainingTime] }) }) }) }))] }));
18346
+ }, children: jsxRuntime.jsxs("div", { children: ["Remaining time: ", remainingTime] }) }) }) }))] }));
18347
18347
  };
18348
18348
  React.useEffect(() => {
18349
18349
  const isMove = isDragging || isRotating || isScaling;
@@ -19919,7 +19919,7 @@ const useCreateVisionOffElement = () => {
19919
19919
  const centerPoint = React.useMemo(() => {
19920
19920
  if (!svgViewBox)
19921
19921
  return null;
19922
- const center = [svgViewBox.x + svgViewBox.width / 2, -svgViewBox.y - svgViewBox.height / 2];
19922
+ const center = [svgViewBox.x + svgViewBox.width / 2, svgViewBox.y + svgViewBox.height / 2];
19923
19923
  return center;
19924
19924
  }, [svgViewBox]);
19925
19925
  const elementWidth = React.useMemo(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleet-frontend/mower-maps",
3
- "version": "0.2.0-beta.23",
3
+ "version": "0.2.0-beta.24",
4
4
  "type": "module",
5
5
  "description": "a mower maps in google maps",
6
6
  "main": "dist/index.js",