sag_components 1.0.831 → 1.0.833

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.
@@ -102,7 +102,7 @@ const EventDetailsCard = props => {
102
102
  banners
103
103
  });
104
104
  }
105
- })), /*#__PURE__*/_react.default.createElement(_EventDetailsCard.MainCard, null, /*#__PURE__*/_react.default.createElement(_EventDetailsCard.List, null, /*#__PURE__*/_react.default.createElement("li", null, count, ' ', "products in variety"), data.map((item, index) => /*#__PURE__*/_react.default.createElement("li", {
105
+ })), /*#__PURE__*/_react.default.createElement(_EventDetailsCard.MainCard, null, /*#__PURE__*/_react.default.createElement(_EventDetailsCard.List, null, count > 0 && /*#__PURE__*/_react.default.createElement("li", null, count, ' ', "products in variety"), data.map((item, index) => /*#__PURE__*/_react.default.createElement("li", {
106
106
  key: index
107
107
  }, /*#__PURE__*/_react.default.createElement("span", null, item.label, ":"), ' ', item.value))), showStrip && /*#__PURE__*/_react.default.createElement(_EventDetailsCard.Strip, null, strip), /*#__PURE__*/_react.default.createElement(_EventDetailsCard.IconButton, {
108
108
  disabled: disableViewDetailsButton,
@@ -134,7 +134,7 @@ EventDetailsCard.defaultProps = {
134
134
  label: 'ROI',
135
135
  value: 'x3.5'
136
136
  }],
137
- count: 8,
137
+ count: 0,
138
138
  showStrip: false,
139
139
  strip: 'Sales Rank 8 out of 43 in category!',
140
140
  buttonText: 'View Details',
@@ -51,7 +51,7 @@ const TotalHorizontalCharts = props => {
51
51
  const displayFormattedValue = value => {
52
52
  if (!value) return '';
53
53
  let formattedValue = '';
54
- formattedValue = !isDollar ? ''.concat(isPercentage ? '%' : '', (0, _CommonFunctions.getFormattedValue)(value), (0, _CommonFunctions.getFormattedUnits)(value)) : ''.concat(showDollarSign ? '$' : '', (0, _CommonFunctions.getFormattedValue)(value), (0, _CommonFunctions.getFormattedUnits)(value));
54
+ formattedValue = !isDollar ? ''.concat((0, _CommonFunctions.getFormattedValue)(value), isPercentage ? '%' : (0, _CommonFunctions.getFormattedUnits)(value)) : ''.concat(showDollarSign ? '$' : '', (0, _CommonFunctions.getFormattedValue)(value), (0, _CommonFunctions.getFormattedUnits)(value));
55
55
  return formattedValue;
56
56
  };
57
57
  const CustomizedLabel = props => {
@@ -187,7 +187,6 @@ const TotalHorizontalCharts = props => {
187
187
  pointerEvents: 'none'
188
188
  }
189
189
  })))))) : /*#__PURE__*/_react.default.createElement(_NoDataFoundMessage.NoDataFoundMessage, {
190
- className: "TotalHorizontalCharts_NoDataFoundMessage",
191
190
  noDataText: noDataText
192
191
  }));
193
192
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.831",
3
+ "version": "1.0.833",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {