@configuratorware/configurator-frontendgui 1.27.6 → 1.27.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configuratorware/configurator-frontendgui",
3
- "version": "1.27.6",
3
+ "version": "1.27.10",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "main": "./lib/index.js",
@@ -63,8 +63,8 @@
63
63
  "react-router-dom": "^5.2.0",
64
64
  "react-swipeable": "^5.5.1",
65
65
  "react-zoom-pan-pinch": "^2.1.3",
66
- "redhotmagma-graphics-editor": "1.27.6",
67
- "redhotmagma-visualization": "1.27.6",
66
+ "redhotmagma-graphics-editor": "1.27.10",
67
+ "redhotmagma-visualization": "1.27.10",
68
68
  "redux": "^4.0.5",
69
69
  "redux-logger": "^3.0.6",
70
70
  "redux-persist": "^5.10.0",
@@ -52,7 +52,7 @@ export const Configurator = props => {
52
52
  if (imageOnly) {
53
53
  Services.visualization.enableDesignAreaInteraction(false);
54
54
  } else {
55
- Services.visualization.enableDesignAreaInteraction(true);
55
+ Services.visualization.initDesignAreaInteraction();
56
56
  }
57
57
  }, [imageOnly]);
58
58
 
@@ -26,6 +26,7 @@ export const customDialogStyle = theme => {
26
26
  fontSize: 24,
27
27
  fontWeight: 'bold',
28
28
  letterSpacing: 'normal',
29
+ marginRight: 28,
29
30
  },
30
31
  },
31
32
  '& .MuiDialogActions-root': {
@@ -60,6 +61,7 @@ export const customDialogStyle = theme => {
60
61
  },
61
62
  },
62
63
  closeIcon: {
64
+ position: 'absolute',
63
65
  right: 28,
64
66
  top: 28,
65
67
 
@@ -72,11 +74,6 @@ export const customDialogStyle = theme => {
72
74
  cursor: 'pointer',
73
75
  },
74
76
  },
75
- titleContainer: {
76
- flexDirection: 'row',
77
- alignItems: 'center',
78
- justifyContent: 'center',
79
- },
80
77
  };
81
78
  };
82
79
 
@@ -96,12 +93,10 @@ export default withWidth({ initialWidth: 'xl' })(
96
93
  {...props}
97
94
  >
98
95
  <DialogTitle id="alert-dialog-title">
99
- <div className={classes.titleContainer}>
100
- {dialogTitle}
101
- <Icon className={classes.closeIcon} onClick={onCancel}>
102
- close
103
- </Icon>
104
- </div>
96
+ {dialogTitle}
97
+ <Icon className={classes.closeIcon} onClick={onCancel}>
98
+ close
99
+ </Icon>
105
100
  </DialogTitle>
106
101
  {children}
107
102
  </Dialog>