@configuratorware/configurator-frontendgui 1.46.1 → 1.46.3
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.
|
@@ -34,7 +34,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
34
34
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
35
35
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
36
36
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
37
|
-
var StandardToolboxWithCanvasState = (0, _withWidth["default"])(
|
|
37
|
+
var StandardToolboxWithCanvasState = (0, _withWidth["default"])({
|
|
38
|
+
initialWidth: window.innerWidth > 730 ? 'sm' : 'xs'
|
|
39
|
+
})(function (_ref) {
|
|
38
40
|
var width = _ref.width;
|
|
39
41
|
return (0, _withWidth.isWidthUp)('sm', width) &&
|
|
40
42
|
/*#__PURE__*/
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-frontendgui",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.3",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/polyfill": "^7.12.1",
|
|
9
|
-
"@configuratorware/scripts": "1.46.
|
|
9
|
+
"@configuratorware/scripts": "1.46.3",
|
|
10
10
|
"@material-ui/core": "^4.12.4",
|
|
11
11
|
"@material-ui/icons": "^4.11.3",
|
|
12
12
|
"@material-ui/lab": "^4.0.0-alpha.61",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"react-router-dom": "^5.3.4",
|
|
37
37
|
"react-swipeable": "^5.5.1",
|
|
38
38
|
"react-zoom-pan-pinch": "^2.1.3",
|
|
39
|
-
"redhotmagma-graphics-editor": "1.46.
|
|
40
|
-
"redhotmagma-visualization": "1.46.
|
|
39
|
+
"redhotmagma-graphics-editor": "1.46.3",
|
|
40
|
+
"redhotmagma-visualization": "1.46.3",
|
|
41
41
|
"redux": "^4.1.0",
|
|
42
42
|
"redux-logger": "^3.0.6",
|
|
43
43
|
"redux-persist": "^5.10.0",
|
|
@@ -19,7 +19,7 @@ import { getSelectedDesignProductionMethod } from '../../Reducers/DesignArea/Sel
|
|
|
19
19
|
import StandardToolboxPortal from './MultilayerComponents/StandardToolboxPortal';
|
|
20
20
|
import InlineToolboxPortal from './MultilayerComponents/InlineToolboxPortal';
|
|
21
21
|
|
|
22
|
-
const StandardToolboxWithCanvasState = withWidth()(
|
|
22
|
+
const StandardToolboxWithCanvasState = withWidth({ initialWidth: window.innerWidth > 730 ? 'sm' : 'xs' })(
|
|
23
23
|
({ width }) =>
|
|
24
24
|
isWidthUp('sm', width) && ( // desktop only, for mobile it's rendered in the sidebar, see Screen.js
|
|
25
25
|
<div className="noShrink" style={{ paddingTop: 8, pointerEvents: 'none', position: 'relative' }}>
|