@configuratorware/configurator-frontendgui 1.44.7 → 1.44.8
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.
|
@@ -551,8 +551,9 @@ var AmountPrice = /*#__PURE__*/function (_React$Component) {
|
|
|
551
551
|
showCallToAction = _this$props4.showCallToAction,
|
|
552
552
|
showConfigurationModeSwitch = _this$props4.showConfigurationModeSwitch,
|
|
553
553
|
ConfigurationModeSwitchComponent = _this$props4.ConfigurationModeSwitchComponent,
|
|
554
|
-
isCreator = _this$props4.isCreator
|
|
555
|
-
|
|
554
|
+
isCreator = _this$props4.isCreator,
|
|
555
|
+
width = _this$props4.width;
|
|
556
|
+
var isMobile = (0, _isMobileDevice.isMobileDevice)() || width === 'xs';
|
|
556
557
|
var boxStyle = boxed ? classes.card : classes.cardUnboxed;
|
|
557
558
|
return /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
|
558
559
|
className: (0, _clsx["default"])(boxStyle, (0, _customClassName["default"])('cta-box'))
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-frontendgui",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.8",
|
|
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.44.
|
|
9
|
+
"@configuratorware/scripts": "1.44.8",
|
|
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.44.
|
|
40
|
-
"redhotmagma-visualization": "1.44.
|
|
39
|
+
"redhotmagma-graphics-editor": "1.44.8",
|
|
40
|
+
"redhotmagma-visualization": "1.44.8",
|
|
41
41
|
"redux": "^4.1.0",
|
|
42
42
|
"redux-logger": "^3.0.6",
|
|
43
43
|
"redux-persist": "^5.10.0",
|
|
@@ -789,9 +789,10 @@ class AmountPrice extends React.Component {
|
|
|
789
789
|
showConfigurationModeSwitch,
|
|
790
790
|
ConfigurationModeSwitchComponent,
|
|
791
791
|
isCreator,
|
|
792
|
+
width,
|
|
792
793
|
} = this.props;
|
|
793
794
|
|
|
794
|
-
const isMobile = isMobileDevice();
|
|
795
|
+
const isMobile = isMobileDevice() || width === 'xs';
|
|
795
796
|
const boxStyle = boxed ? classes.card : classes.cardUnboxed;
|
|
796
797
|
return (
|
|
797
798
|
<Card className={clsx(boxStyle, customClassName('cta-box'))}>
|