@reltio/components 1.4.1259 → 1.4.1261

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.
@@ -35,6 +35,7 @@ declare var _default: React.MemoExoticComponent<{
35
35
  isDroppable: PropTypes.Requireable<boolean>;
36
36
  droppingItem: PropTypes.Requireable<object>;
37
37
  classes: PropTypes.Requireable<PropTypes.InferProps<{
38
+ root: PropTypes.Requireable<string>;
38
39
  item: PropTypes.Requireable<string>;
39
40
  }>>;
40
41
  };
@@ -81,7 +81,7 @@ var ReltioGridLayout = function (_a) {
81
81
  };
82
82
  return (react_1.default.createElement(react_1.default.Fragment, null,
83
83
  react_1.default.createElement(react_resize_detector_1.default, { refreshMode: "debounce", refreshRate: 50, handleWidth: true, onResize: function (width) { return setWidth(width); } }),
84
- react_1.default.createElement(react_grid_layout_1.default, { innerRef: ref, layout: processedLayout, cols: cols, draggableHandle: draggableHandle, autoSize: true, rowHeight: rowHeight, width: width, margin: margin, onLayoutChange: onReltioLayoutChanged, isResizable: !isFullscreenEnabled, isDraggable: !isFullscreenEnabled, className: classnames_1.default(styles.gridLayout, (_b = {}, _b[styles.gridFullscreen] = isFullscreenEnabled, _b)), onDrop: handleDrop, droppingItem: droppingItem, isDroppable: isDroppable }, processedLayout.map(function (layoutItem) {
84
+ react_1.default.createElement(react_grid_layout_1.default, { innerRef: ref, layout: processedLayout, cols: cols, draggableHandle: draggableHandle, autoSize: true, rowHeight: rowHeight, width: width, margin: margin, onLayoutChange: onReltioLayoutChanged, isResizable: !isFullscreenEnabled, isDraggable: !isFullscreenEnabled, className: classnames_1.default(classes.root, styles.gridLayout, (_b = {}, _b[styles.gridFullscreen] = isFullscreenEnabled, _b)), onDrop: handleDrop, droppingItem: droppingItem, isDroppable: isDroppable }, processedLayout.map(function (layoutItem) {
85
85
  var isItemFullscreen = fullscreenItemId === layoutItem.i;
86
86
  var isAutosize = (helpers_1.getReltioLayoutItemById(layout, layoutItem.i) || {}).autosizing;
87
87
  var autosizeComponent = isAutosize ? { AutosizeComponent: getAutosizeComponent(layoutItem.i) } : {};
@@ -111,6 +111,7 @@ ReltioGridLayout.propTypes = {
111
111
  isDroppable: prop_types_1.default.bool,
112
112
  droppingItem: prop_types_1.default.object,
113
113
  classes: prop_types_1.default.shape({
114
+ root: prop_types_1.default.string,
114
115
  item: prop_types_1.default.string
115
116
  })
116
117
  };
@@ -35,6 +35,7 @@ declare var _default: React.MemoExoticComponent<{
35
35
  isDroppable: PropTypes.Requireable<boolean>;
36
36
  droppingItem: PropTypes.Requireable<object>;
37
37
  classes: PropTypes.Requireable<PropTypes.InferProps<{
38
+ root: PropTypes.Requireable<string>;
38
39
  item: PropTypes.Requireable<string>;
39
40
  }>>;
40
41
  };
@@ -57,7 +57,7 @@ var ReltioGridLayout = function (_a) {
57
57
  };
58
58
  return (React.createElement(React.Fragment, null,
59
59
  React.createElement(ReactResizeDetector, { refreshMode: "debounce", refreshRate: 50, handleWidth: true, onResize: function (width) { return setWidth(width); } }),
60
- React.createElement(GridLayout, { innerRef: ref, layout: processedLayout, cols: cols, draggableHandle: draggableHandle, autoSize: true, rowHeight: rowHeight, width: width, margin: margin, onLayoutChange: onReltioLayoutChanged, isResizable: !isFullscreenEnabled, isDraggable: !isFullscreenEnabled, className: classnames(styles.gridLayout, (_b = {}, _b[styles.gridFullscreen] = isFullscreenEnabled, _b)), onDrop: handleDrop, droppingItem: droppingItem, isDroppable: isDroppable }, processedLayout.map(function (layoutItem) {
60
+ React.createElement(GridLayout, { innerRef: ref, layout: processedLayout, cols: cols, draggableHandle: draggableHandle, autoSize: true, rowHeight: rowHeight, width: width, margin: margin, onLayoutChange: onReltioLayoutChanged, isResizable: !isFullscreenEnabled, isDraggable: !isFullscreenEnabled, className: classnames(classes.root, styles.gridLayout, (_b = {}, _b[styles.gridFullscreen] = isFullscreenEnabled, _b)), onDrop: handleDrop, droppingItem: droppingItem, isDroppable: isDroppable }, processedLayout.map(function (layoutItem) {
61
61
  var isItemFullscreen = fullscreenItemId === layoutItem.i;
62
62
  var isAutosize = (getReltioLayoutItemById(layout, layoutItem.i) || {}).autosizing;
63
63
  var autosizeComponent = isAutosize ? { AutosizeComponent: getAutosizeComponent(layoutItem.i) } : {};
@@ -87,6 +87,7 @@ ReltioGridLayout.propTypes = {
87
87
  isDroppable: PropTypes.bool,
88
88
  droppingItem: PropTypes.object,
89
89
  classes: PropTypes.shape({
90
+ root: PropTypes.string,
90
91
  item: PropTypes.string
91
92
  })
92
93
  };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.1259",
3
+ "version": "1.4.1261",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.js",
7
7
  "dependencies": {
8
8
  "@date-io/moment": "^1.3.5",
9
9
  "@react-google-maps/api": "2.7.0",
10
- "@reltio/mdm-module": "^1.4.1259",
11
- "@reltio/mdm-sdk": "^1.4.1259",
10
+ "@reltio/mdm-module": "^1.4.1261",
11
+ "@reltio/mdm-sdk": "^1.4.1261",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",