sag_components 2.0.0-beta36 → 2.0.0-beta38
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/dist/index.esm.js
CHANGED
|
@@ -5085,13 +5085,16 @@ function _extends() {
|
|
|
5085
5085
|
}, _extends.apply(null, arguments);
|
|
5086
5086
|
}
|
|
5087
5087
|
|
|
5088
|
-
const LinnerContainer$1 = dt.div
|
|
5088
|
+
const LinnerContainer$1 = dt.div.attrs(props => ({
|
|
5089
|
+
style: {
|
|
5090
|
+
backgroundColor: props.$backgroundColor,
|
|
5091
|
+
width: props.$width,
|
|
5092
|
+
height: props.$height
|
|
5093
|
+
}
|
|
5094
|
+
}))`
|
|
5089
5095
|
font-family: "Poppins", sans-serif;
|
|
5090
5096
|
display: flex;
|
|
5091
5097
|
justify-content: space-between;
|
|
5092
|
-
width: ${props => props.width};
|
|
5093
|
-
height: ${props => props.height};
|
|
5094
|
-
background-color: ${props => props.backgroundColor};
|
|
5095
5098
|
padding: 50px 40px 30px;
|
|
5096
5099
|
`;
|
|
5097
5100
|
const DataBoxWrap = dt.div`
|
|
@@ -5157,9 +5160,9 @@ const LinnerDataBox = props => {
|
|
|
5157
5160
|
} = props;
|
|
5158
5161
|
return /*#__PURE__*/React.createElement(LinnerContainer$1, _extends({
|
|
5159
5162
|
className: className,
|
|
5160
|
-
backgroundColor: backgroundColor || "white",
|
|
5161
|
-
width: width || "100%",
|
|
5162
|
-
height: height || "200px"
|
|
5163
|
+
$backgroundColor: backgroundColor || "white",
|
|
5164
|
+
$width: width || "100%",
|
|
5165
|
+
$height: height || "200px"
|
|
5163
5166
|
}, props), data.map((item, index) => /*#__PURE__*/React.createElement(DataBoxWrap, {
|
|
5164
5167
|
key: `${item.title}-${index}`,
|
|
5165
5168
|
width: `${100 / data.length}%`
|