sag_components 2.0.0-beta29 → 2.0.0-beta30

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
@@ -5153,13 +5153,15 @@ const LinnerDataBox = props => {
5153
5153
  height: height || "200px",
5154
5154
  customDataFormat: customDataFormat
5155
5155
  }, data.map((item, index) => /*#__PURE__*/React.createElement(DataBoxWrap, {
5156
- key: `${item.title}`,
5156
+ key: `${item.title}-${index}`,
5157
5157
  width: `${100 / data.length}%`
5158
5158
  }, /*#__PURE__*/React.createElement(DataBox$1, null, item.title && /*#__PURE__*/React.createElement(DataBoxTitle$1, {
5159
5159
  className: "DataBoxTitle"
5160
5160
  }, item.title), /*#__PURE__*/React.createElement(DataBoxContent, null, item.value !== null && item.value !== undefined && !isNaN(item.value) && item.value !== "null" && item.value !== "undefined" ? /*#__PURE__*/React.createElement(React.Fragment, null, item.sign && /*#__PURE__*/React.createElement(DataBoxContentSign, null, item.sign), customDataFormat ? /*#__PURE__*/React.createElement(DataBoxContentValue, {
5161
5161
  className: "DataBoxValue"
5162
- }, "".concat(formattedValue(item.value), getFormattedUnits(item.value))) : /*#__PURE__*/React.createElement(DataBoxContentValue, null, "".concat(getFormattedValue(item.value), getFormattedUnits(item.value)))) : /*#__PURE__*/React.createElement(DataBoxContentNoValue, null, "No Data")), item.extraInfo.map(extraInfoItem => /*#__PURE__*/React.createElement(DataBoxExtraInfoCell, null, extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React.createElement(DataBoxExtraInfoCellValue, null, "".concat("$", getFormattedValue(extraInfoItem.value), getFormattedUnits(extraInfoItem.value))), extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React.createElement(DataBoxExtraInfoCellTitle, null, extraInfoItem.title)))), index < data.length - 1 && /*#__PURE__*/React.createElement("div", {
5162
+ }, "".concat(formattedValue(item.value), getFormattedUnits(item.value))) : /*#__PURE__*/React.createElement(DataBoxContentValue, null, "".concat(getFormattedValue(item.value), getFormattedUnits(item.value)))) : /*#__PURE__*/React.createElement(DataBoxContentNoValue, null, "No Data")), item.extraInfo.map((extraInfoItem, extraIndex) => /*#__PURE__*/React.createElement(DataBoxExtraInfoCell, {
5163
+ key: `${extraInfoItem.title}-${extraIndex}`
5164
+ }, extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React.createElement(DataBoxExtraInfoCellValue, null, "".concat("$", getFormattedValue(extraInfoItem.value), getFormattedUnits(extraInfoItem.value))), extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React.createElement(DataBoxExtraInfoCellTitle, null, extraInfoItem.title)))), index < data.length - 1 && /*#__PURE__*/React.createElement("div", {
5163
5165
  className: "vertival-line",
5164
5166
  style: {
5165
5167
  width: "1px",