kitchen-simulator 5.0.0-test.62 → 5.0.0-test.64
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/package.json +1 -1
- package/src/KitchenConfiguratorApp.jsx +1 -1
- package/src/_KitchenConfigurator.jsx +1 -1
- package/src/catalog/properties/property-checkbox.jsx +1 -1
- package/src/catalog/properties/property-color.jsx +1 -1
- package/src/catalog/properties/property-enum.jsx +1 -1
- package/src/catalog/properties/property-hidden.jsx +1 -1
- package/src/catalog/properties/property-lenght-measure.jsx +1 -1
- package/src/catalog/properties/property-length-measure.jsx +1 -1
- package/src/catalog/properties/property-length-measure_hole.jsx +1 -1
- package/src/catalog/properties/property-number.jsx +1 -1
- package/src/catalog/properties/property-read-only.jsx +1 -1
- package/src/catalog/properties/property-string.jsx +1 -1
- package/src/catalog/properties/property-toggle.jsx +1 -1
- package/src/components/content.jsx +1 -1
- package/src/components/style/button.jsx +1 -1
- package/src/components/style/form-number-input.jsx +1 -1
- package/src/components/viewer2d/area.jsx +1 -1
- package/src/components/viewer2d/grids/grid-horizontal-streak.jsx +1 -1
- package/src/components/viewer2d/grids/grid-streak.jsx +1 -1
- package/src/components/viewer2d/grids/grid-vertical-streak.jsx +1 -1
- package/src/components/viewer2d/grids/grids.jsx +1 -1
- package/src/components/viewer2d/group.jsx +1 -1
- package/src/components/viewer2d/item.jsx +1 -1
- package/src/components/viewer2d/layer.jsx +1 -1
- package/src/components/viewer2d/line.jsx +1 -1
- package/src/components/viewer2d/ruler.jsx +1 -1
- package/src/components/viewer2d/rulerDist.jsx +5 -5
- package/src/components/viewer2d/rulerX.jsx +1 -1
- package/src/components/viewer2d/rulerY.jsx +1 -1
- package/src/components/viewer2d/scene.jsx +1 -1
- package/src/components/viewer2d/snap.jsx +1 -1
- package/src/components/viewer2d/state.jsx +1 -1
- package/src/components/viewer2d/vertex.jsx +2 -2
- package/src/components/viewer2d/viewer2d.jsx +1 -1
- package/src/components/viewer3d/viewer3d-first-person.js +1 -1
- package/src/components/viewer3d/{viewer3d.js → viewer3d.jsx} +1 -1
- package/src/utils/react-if.jsx +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import convert from 'convert-units';
|
|
3
3
|
import { Plugins as PlannerPlugins } from './index';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
4
|
+
import * as PropTypes from 'prop-types';
|
|
5
5
|
import React, { Component } from 'react';
|
|
6
6
|
import ReactGA from 'react-ga4';
|
|
7
7
|
import { hotjar } from 'react-hotjar';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
3
|
+
import * as PropTypes from 'prop-types';
|
|
4
4
|
import RulerDist from './rulerDist';
|
|
5
5
|
import convert from 'convert-units';
|
|
6
6
|
import { GeometryUtils } from '../../utils/export';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { Area, Group, Item, Line, Vertex } from './export';
|
|
4
4
|
import { GeometryUtils } from '../../utils/export';
|
|
5
5
|
import { MODE_DRAWING_LINE, WALL_CABINET_LAYOUTPOS } from '../../constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import convert from 'convert-units';
|
|
4
4
|
|
|
5
5
|
const ARROW_STYLE = {
|
|
@@ -109,8 +109,8 @@ export default function RulerDist({
|
|
|
109
109
|
(length + textLength) / 2 < 0
|
|
110
110
|
? 0
|
|
111
111
|
: (length + textLength) / 2 < length
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
? (length + textLength) / 2
|
|
113
|
+
: length
|
|
114
114
|
}
|
|
115
115
|
y1="0"
|
|
116
116
|
x2={length}
|
|
@@ -164,8 +164,8 @@ export default function RulerDist({
|
|
|
164
164
|
(length + textLength) / 2 < 0
|
|
165
165
|
? 0
|
|
166
166
|
: (length + textLength) / 2 < length
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
? (length + textLength) / 2
|
|
168
|
+
: length
|
|
169
169
|
}
|
|
170
170
|
y1="0"
|
|
171
171
|
x2={length}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import * as SharedStyle from '../../shared-style';
|
|
4
4
|
import { LINE_THICKNESS } from '../../../src/constants';
|
|
5
5
|
//Space from the center of the point(Use cases:x - vertexthickness,y + vertexthickness )
|
|
@@ -63,7 +63,7 @@ export default function Vertex({ vertex, layer }) {
|
|
|
63
63
|
style={STYLE}
|
|
64
64
|
></polygon> */}
|
|
65
65
|
<polygon
|
|
66
|
-
points={`${x - vertexthickness},${y + vertexthickness
|
|
66
|
+
points={`${x - vertexthickness},${y + vertexthickness} ${x - vertexthickness},${y - vertexthickness} ${x + vertexthickness},${y - vertexthickness} ${x + vertexthickness},${y + vertexthickness}`}
|
|
67
67
|
style={STYLE}
|
|
68
68
|
></polygon>
|
|
69
69
|
</g>
|
package/src/utils/react-if.jsx
CHANGED