sag_components 1.0.20 → 1.0.21
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.
|
@@ -42,16 +42,16 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
|
|
|
42
42
|
var onInfoClick = function onInfoClick() {
|
|
43
43
|
setClicked(!clicked);
|
|
44
44
|
};
|
|
45
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
45
|
+
return /*#__PURE__*/_react.default.createElement(_OneColumnContainer.StyledContainer, {
|
|
46
|
+
className: (0, _classnames.default)(itemClass, overStyle, draggingStyle, droppedStyle),
|
|
47
|
+
width: width,
|
|
48
|
+
height: height
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
46
50
|
ref: nodeRef,
|
|
47
51
|
style: {
|
|
48
52
|
width: "100%",
|
|
49
53
|
height: "100%"
|
|
50
54
|
}
|
|
51
|
-
}, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.StyledContainer, {
|
|
52
|
-
className: (0, _classnames.default)(itemClass, overStyle, draggingStyle, droppedStyle),
|
|
53
|
-
width: width,
|
|
54
|
-
height: height
|
|
55
55
|
}, children, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
|
|
56
56
|
clicked: clicked,
|
|
57
57
|
width: width,
|
package/package.json
CHANGED
|
@@ -17,17 +17,17 @@ export const OneColumnContainer = ({ children,nodeRef,itemClass,overStyle,draggi
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
|
-
|
|
21
|
-
width: "100%",
|
|
22
|
-
height: "100%"
|
|
23
|
-
}}>
|
|
20
|
+
|
|
24
21
|
<StyledContainer className={classNames(
|
|
25
22
|
itemClass,
|
|
26
23
|
overStyle,
|
|
27
24
|
draggingStyle,
|
|
28
25
|
droppedStyle
|
|
29
26
|
)} width={width} height={height}>
|
|
30
|
-
|
|
27
|
+
<div ref={nodeRef} style={{
|
|
28
|
+
width: "100%",
|
|
29
|
+
height: "100%"
|
|
30
|
+
}}>
|
|
31
31
|
{children}
|
|
32
32
|
<InfoTextContainer clicked={clicked} width={width} height={height}>
|
|
33
33
|
<InfoTextLabel>{infoText}</InfoTextLabel>
|
|
@@ -35,8 +35,8 @@ export const OneColumnContainer = ({ children,nodeRef,itemClass,overStyle,draggi
|
|
|
35
35
|
<IconContainer onClick={onInfoClick}>
|
|
36
36
|
<InfoIcon clicked={clicked} />
|
|
37
37
|
</IconContainer>
|
|
38
|
+
</div>
|
|
38
39
|
</StyledContainer>
|
|
39
|
-
</div>
|
|
40
40
|
|
|
41
41
|
);
|
|
42
42
|
};
|