sag_components 2.0.0-beta35 → 2.0.0-beta36
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 +14 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +14 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5075,18 +5075,23 @@ EventDetailsCard.defaultProps = {
|
|
|
5075
5075
|
disableViewDetailsButton: false
|
|
5076
5076
|
};
|
|
5077
5077
|
|
|
5078
|
+
function _extends() {
|
|
5079
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
5080
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
5081
|
+
var t = arguments[e];
|
|
5082
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
5083
|
+
}
|
|
5084
|
+
return n;
|
|
5085
|
+
}, _extends.apply(null, arguments);
|
|
5086
|
+
}
|
|
5087
|
+
|
|
5078
5088
|
const LinnerContainer$1 = dt.div`
|
|
5079
5089
|
font-family: "Poppins", sans-serif;
|
|
5080
5090
|
display: flex;
|
|
5081
5091
|
justify-content: space-between;
|
|
5082
5092
|
width: ${props => props.width};
|
|
5083
5093
|
height: ${props => props.height};
|
|
5084
|
-
${
|
|
5085
|
-
let {
|
|
5086
|
-
backgroundColor
|
|
5087
|
-
} = _ref;
|
|
5088
|
-
return backgroundColor && `background-color: ${backgroundColor};`;
|
|
5089
|
-
}}
|
|
5094
|
+
background-color: ${props => props.backgroundColor};
|
|
5090
5095
|
padding: 50px 40px 30px;
|
|
5091
5096
|
`;
|
|
5092
5097
|
const DataBoxWrap = dt.div`
|
|
@@ -5141,7 +5146,6 @@ const DataBoxExtraInfoCellValue = dt.div`
|
|
|
5141
5146
|
text-transform: uppercase;
|
|
5142
5147
|
`;
|
|
5143
5148
|
|
|
5144
|
-
/* eslint-disable no-restricted-globals */
|
|
5145
5149
|
const LinnerDataBox = props => {
|
|
5146
5150
|
const {
|
|
5147
5151
|
width,
|
|
@@ -5151,12 +5155,12 @@ const LinnerDataBox = props => {
|
|
|
5151
5155
|
className,
|
|
5152
5156
|
customDataFormat
|
|
5153
5157
|
} = props;
|
|
5154
|
-
return /*#__PURE__*/React.createElement(LinnerContainer$1, {
|
|
5158
|
+
return /*#__PURE__*/React.createElement(LinnerContainer$1, _extends({
|
|
5155
5159
|
className: className,
|
|
5156
|
-
backgroundColor: backgroundColor,
|
|
5160
|
+
backgroundColor: backgroundColor || "white",
|
|
5157
5161
|
width: width || "100%",
|
|
5158
5162
|
height: height || "200px"
|
|
5159
|
-
}, data.map((item, index) => /*#__PURE__*/React.createElement(DataBoxWrap, {
|
|
5163
|
+
}, props), data.map((item, index) => /*#__PURE__*/React.createElement(DataBoxWrap, {
|
|
5160
5164
|
key: `${item.title}-${index}`,
|
|
5161
5165
|
width: `${100 / data.length}%`
|
|
5162
5166
|
}, /*#__PURE__*/React.createElement(DataBox$1, null, item.title && /*#__PURE__*/React.createElement(DataBoxTitle$1, {
|