sag_components 1.0.911 → 1.0.912

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.
@@ -239,6 +239,7 @@ const SingleBarLineCharts = props => {
239
239
  tick: CustomizedTickBarChart,
240
240
  tickLine: false,
241
241
  height: 120,
242
+ interval: 0,
242
243
  fill: "#212121"
243
244
  }), /*#__PURE__*/_react.default.createElement(_recharts.YAxis, {
244
245
  type: "number",
@@ -23,15 +23,16 @@ const TotalHorizontalCharts = props => {
23
23
  dotCut,
24
24
  currencySign,
25
25
  currencyType,
26
+ chartsData,
26
27
  width,
27
28
  height,
28
29
  rightGap,
29
30
  textColor,
30
- chartsData,
31
31
  noDataText,
32
32
  isDollar,
33
33
  isPercentage,
34
- showDollarSign
34
+ showDollarSign,
35
+ className
35
36
  } = props;
36
37
  const barBackgrounds = chartsData.map(bg => bg.color);
37
38
  const [widthChartContainer, setWidthChartContainer] = (0, _react.useState)(0);
@@ -129,7 +130,8 @@ const TotalHorizontalCharts = props => {
129
130
  return /*#__PURE__*/_react.default.createElement(_TotalHorizontalCharts.ControlsContainer, {
130
131
  height: height,
131
132
  width: width,
132
- textColor: textColor
133
+ textColor: textColor,
134
+ className: className
133
135
  }, (chartsData === null || chartsData === void 0 ? void 0 : chartsData.length) > 0 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TotalHorizontalCharts.TitleAndValueContainer, {
134
136
  id: "TitleAndValueContainer"
135
137
  }, /*#__PURE__*/_react.default.createElement(_TotalHorizontalCharts.Header, null, /*#__PURE__*/_react.default.createElement(_TotalHorizontalCharts.Title, null, title), /*#__PURE__*/_react.default.createElement(_TotalHorizontalCharts.FormattedValue, {
@@ -194,18 +196,19 @@ const TotalHorizontalCharts = props => {
194
196
  exports.TotalHorizontalCharts = TotalHorizontalCharts;
195
197
  var _default = exports.default = TotalHorizontalCharts;
196
198
  TotalHorizontalCharts.defaultProps = {
199
+ className: '',
197
200
  title: 'SALES',
198
201
  value: 0,
199
202
  dotCut: false,
200
203
  currencySign: false,
201
204
  currencyType: 'USD',
202
205
  chartsData: [],
203
- isDollar: true,
204
- isPercentage: false,
205
- showDollarSign: true,
206
206
  width: '100%',
207
207
  height: '100%',
208
208
  rightGap: 1.25,
209
209
  textColor: '#212121',
210
- noDataText: 'No Data'
210
+ noDataText: 'No Data',
211
+ isDollar: true,
212
+ isPercentage: false,
213
+ showDollarSign: true
211
214
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.911",
3
+ "version": "1.0.912",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {