kitchen-simulator 5.10.1-react.18 → 5.10.3-react.18
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.
|
@@ -83,6 +83,7 @@ export default function Item(_ref3) {
|
|
|
83
83
|
var itemDistanceFromLine = el[0];
|
|
84
84
|
var dir = el[1];
|
|
85
85
|
if (itemDistanceFromLine > ep || itemDistanceFromLine < -ep) {
|
|
86
|
+
var _cat$info;
|
|
86
87
|
renderedRuler.push(/*#__PURE__*/React.createElement("g", {
|
|
87
88
|
"data-element-root": true,
|
|
88
89
|
"data-prototype": "rulerDist",
|
|
@@ -99,7 +100,7 @@ export default function Item(_ref3) {
|
|
|
99
100
|
length: itemDistanceFromLine,
|
|
100
101
|
angle: rotation,
|
|
101
102
|
rotation: dir,
|
|
102
|
-
transform: "translate(".concat(dir === 180 ? -nw : dir === 0 ? nw : 0, ", ").concat(dir === 90 ? nh : dir === -90 ? cat.info.is_corner !== 1 ? -(nh + 4) : -nh : 0, ") rotate(").concat(dir, ", 0, 0)")
|
|
103
|
+
transform: "translate(".concat(dir === 180 ? -nw : dir === 0 ? nw : 0, ", ").concat(dir === 90 ? nh : dir === -90 ? (cat === null || cat === void 0 || (_cat$info = cat.info) === null || _cat$info === void 0 ? void 0 : _cat$info.is_corner) !== 1 ? -(nh + 4) : -nh : 0, ") rotate(").concat(dir, ", 0, 0)")
|
|
103
104
|
})));
|
|
104
105
|
}
|
|
105
106
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kitchen-simulator",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.3-react.18",
|
|
4
4
|
"description": "It is a kitchen simulator (self-contained micro-frontend).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"*.scss"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"start": "webpack-dev-server --config webpack.config.js --
|
|
22
|
+
"start": "webpack-dev-server --config webpack.config.js --mode development --port 9000",
|
|
23
23
|
"start9010": "webpack-dev-server --config webpack.config.js --port 9010 --mode development",
|
|
24
24
|
"start9020": "webpack-dev-server --config webpack.config.js --port 9020 --mode development",
|
|
25
25
|
"build": "node scripts/custom-build.js",
|
|
@@ -75,8 +75,6 @@
|
|
|
75
75
|
"polylabel": "1.0.2",
|
|
76
76
|
"posthog-js": "^1.271.0",
|
|
77
77
|
"prop-types": "^15.8.1",
|
|
78
|
-
"react": "^18.3.1",
|
|
79
|
-
"react-dom": "^18.3.1",
|
|
80
78
|
"react-ga4": "^1.4.1",
|
|
81
79
|
"react-hotjar": "^1.0.11",
|
|
82
80
|
"react-icons": "3.5.0",
|
|
@@ -88,6 +86,8 @@
|
|
|
88
86
|
"three": "0.166.0"
|
|
89
87
|
},
|
|
90
88
|
"devDependencies": {
|
|
89
|
+
"react": "^18.3.1",
|
|
90
|
+
"react-dom": "^18.3.1",
|
|
91
91
|
"@babel/cli": "^7.28.3",
|
|
92
92
|
"@babel/core": "^7.28.4",
|
|
93
93
|
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
|
|
@@ -124,5 +124,9 @@
|
|
|
124
124
|
"webpack": "5.92.1",
|
|
125
125
|
"webpack-cli": "5.1.4",
|
|
126
126
|
"webpack-dev-server": "5.0.4"
|
|
127
|
+
},
|
|
128
|
+
"peerDependencies": {
|
|
129
|
+
"react": "^18.3.1",
|
|
130
|
+
"react-dom": "^18.3.1"
|
|
127
131
|
}
|
|
128
132
|
}
|