sag_components 1.0.36 → 1.0.38

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.
@@ -13,12 +13,14 @@ var _OneColumnContainer = require("./OneColumnContainer.style");
13
13
  var _InfoIcon = require("./InfoIcon");
14
14
  var _core = require("@dnd-kit/core");
15
15
  var _classnames = _interopRequireDefault(require("classnames"));
16
- var _excluded = ["children", "nodeRef", "itemClass", "divStyle", "overStyle", "draggingStyle", "droppedStyle", "refId", "width", "height", "infoText"];
16
+ var _excluded = ["children", "display", "gridTemplateColumns", "nodeRef", "itemClass", "divStyle", "overStyle", "draggingStyle", "droppedStyle", "refId", "width", "height", "infoText"];
17
17
  /**
18
18
  * Primary UI component for user interaction
19
19
  */
20
20
  var OneColumnContainer = function OneColumnContainer(_ref) {
21
21
  var children = _ref.children,
22
+ display = _ref.display,
23
+ gridTemplateColumns = _ref.gridTemplateColumns,
22
24
  nodeRef = _ref.nodeRef,
23
25
  itemClass = _ref.itemClass,
24
26
  divStyle = _ref.divStyle,
@@ -39,9 +41,17 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
39
41
  };
40
42
  return /*#__PURE__*/_react.default.createElement(_OneColumnContainer.StyledContainer, {
41
43
  className: (0, _classnames.default)(itemClass, overStyle, draggingStyle, children && droppedStyle, divStyle),
42
- innerRef: nodeRef,
43
44
  width: width,
44
45
  height: height
46
+ }, /*#__PURE__*/_react.default.createElement("div", {
47
+ className: props.className,
48
+ style: {
49
+ width: width,
50
+ height: height,
51
+ display: display,
52
+ gridTemplateColumns: gridTemplateColumns
53
+ },
54
+ ref: nodeRef
45
55
  }, children, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
46
56
  clicked: clicked,
47
57
  width: width,
@@ -50,7 +60,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
50
60
  onClick: onInfoClick
51
61
  }, /*#__PURE__*/_react.default.createElement(_InfoIcon.InfoIcon, {
52
62
  clicked: clicked
53
- })));
63
+ }))));
54
64
  };
55
65
  exports.OneColumnContainer = OneColumnContainer;
56
66
  OneColumnContainer.defaultProps = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {