@configuratorware/configurator-frontendgui 1.27.1 → 1.27.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configuratorware/configurator-frontendgui",
3
- "version": "1.27.1",
3
+ "version": "1.27.3",
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.1",
67
- "redhotmagma-visualization": "1.27.1",
66
+ "redhotmagma-graphics-editor": "1.27.3",
67
+ "redhotmagma-visualization": "1.27.3",
68
68
  "redux": "^4.0.5",
69
69
  "redux-logger": "^3.0.6",
70
70
  "redux-persist": "^5.10.0",
@@ -87,6 +87,7 @@ export const Designer = ({
87
87
  hideDesigner,
88
88
  hasBorder,
89
89
  useCheckerBoardBackground,
90
+ renderInCanvasContainer,
90
91
  }) => {
91
92
  const containerReadyHandler = useMemo(
92
93
  () => ({ container }) => {
@@ -131,6 +132,7 @@ export const Designer = ({
131
132
  onContainerReady={containerReadyHandler}
132
133
  onContainerUpdate={containerUpdateHandler}
133
134
  EditorContainer={EditorContainerWithInjectedProps}
135
+ renderInCanvasContainer={renderInCanvasContainer}
134
136
  />
135
137
  </div>
136
138
  )
@@ -158,6 +160,8 @@ Designer.propTypes = {
158
160
  isMetric: PropTypes.bool,
159
161
  dpi: PropTypes.number,
160
162
  }).isRequired,
163
+ useCheckerBoardBackground: PropTypes.bool,
164
+ renderInCanvasContainer: PropTypes.func,
161
165
  };
162
166
 
163
167
  Designer.defaultProps = {
@@ -170,6 +174,7 @@ Designer.defaultProps = {
170
174
  selectedColor: '',
171
175
  hideDesigner: null,
172
176
  EditorContainer: CustomEditorContainer,
177
+ useCheckerBoardBackground: false,
173
178
  };
174
179
 
175
180
  export default withStyles(styles, { name: 'Designer' })(withAlignTarget(Designer));