sag_components 1.0.113 → 1.0.114

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.
@@ -23,7 +23,7 @@ var TotalBenchmark = function TotalBenchmark(_ref) {
23
23
  _ref$height = _ref.height,
24
24
  height = _ref$height === void 0 ? "350px" : _ref$height,
25
25
  _ref$textColor = _ref.textColor,
26
- textColor = _ref$textColor === void 0 ? "black" : _ref$textColor,
26
+ textColor = _ref$textColor === void 0 ? "#212121" : _ref$textColor,
27
27
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
28
  var DEFAULT_ROOT_FONT = 16;
29
29
  var DEFAULT_COMPONENT_WIDTH = 250;
@@ -31,7 +31,7 @@ var TotalBenchmarkAreachart = function TotalBenchmarkAreachart(_ref) {
31
31
  _ref$height = _ref.height,
32
32
  height = _ref$height === void 0 ? "280px" : _ref$height,
33
33
  _ref$textColor = _ref.textColor,
34
- textColor = _ref$textColor === void 0 ? "black" : _ref$textColor,
34
+ textColor = _ref$textColor === void 0 ? "#212121" : _ref$textColor,
35
35
  _ref$areaChart1Color = _ref.areaChart1Color,
36
36
  areaChart1Color = _ref$areaChart1Color === void 0 ? "#BD9EFF" : _ref$areaChart1Color,
37
37
  _ref$areaChart2Color = _ref.areaChart2Color,
@@ -74,16 +74,16 @@ var TotalBenchmarkAreachart = function TotalBenchmarkAreachart(_ref) {
74
74
  return /*#__PURE__*/_react.default.createElement(_TotalBenchmarkAreachartStyle.DetailsRowArrowContainer, {
75
75
  id: "DetailsRowArrowContainer",
76
76
  value: value,
77
- height: 25 * getSizeFactor
77
+ height: 25 * getSizeFactor()
78
78
  }, /*#__PURE__*/_react.default.createElement(_ArrowUpIcon.ArrowUpIcon, {
79
79
  width: 25 * getSizeFactor(),
80
- height: 25 * getSizeFactor
80
+ height: 25 * getSizeFactor()
81
81
  }));
82
82
  } else {
83
83
  return /*#__PURE__*/_react.default.createElement(_TotalBenchmarkAreachartStyle.DetailsRowArrowContainer, {
84
84
  id: "DetailsRowArrowContainer",
85
85
  value: value,
86
- height: 25 * getSizeFactor
86
+ height: 25 * getSizeFactor()
87
87
  }, /*#__PURE__*/_react.default.createElement(_ArrowDownIcon.ArrowDownIcon, {
88
88
  width: 25 * getSizeFactor(),
89
89
  height: 25 * getSizeFactor()
@@ -31,7 +31,7 @@ var TotalBenchmarkArrows = function TotalBenchmarkArrows(_ref) {
31
31
  _ref$height = _ref.height,
32
32
  height = _ref$height === void 0 ? "280px" : _ref$height,
33
33
  _ref$textColor = _ref.textColor,
34
- textColor = _ref$textColor === void 0 ? "black" : _ref$textColor,
34
+ textColor = _ref$textColor === void 0 ? "#212121" : _ref$textColor,
35
35
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
36
36
  var DEFAULT_ROOT_FONT = 16;
37
37
  var DEFAULT_COMPONENT_WIDTH = 250;
@@ -70,16 +70,16 @@ var TotalBenchmarkArrows = function TotalBenchmarkArrows(_ref) {
70
70
  return /*#__PURE__*/_react.default.createElement(_TotalBenchmarkArrowsStyle.DetailsRowArrowContainer, {
71
71
  id: "DetailsRowArrowContainer",
72
72
  value: value,
73
- height: 12 * getSizeFactor
73
+ height: 12 * getSizeFactor()
74
74
  }, /*#__PURE__*/_react.default.createElement(_ArrowUpIcon.ArrowUpIcon, {
75
75
  width: 12 * getSizeFactor(),
76
- height: 12 * getSizeFactor
76
+ height: 12 * getSizeFactor()
77
77
  }));
78
78
  } else {
79
79
  return /*#__PURE__*/_react.default.createElement(_TotalBenchmarkArrowsStyle.DetailsRowArrowContainer, {
80
80
  id: "DetailsRowArrowContainer",
81
81
  value: value,
82
- height: 12 * getSizeFactor
82
+ height: 12 * getSizeFactor()
83
83
  }, /*#__PURE__*/_react.default.createElement(_ArrowDownIcon.ArrowDownIcon, {
84
84
  width: 12 * getSizeFactor(),
85
85
  height: 12 * getSizeFactor()
@@ -121,7 +121,7 @@ var TotalBenchmarkArrows = function TotalBenchmarkArrows(_ref) {
121
121
  }, detailsTitle), detailsData.map(function (item, index) {
122
122
  return /*#__PURE__*/_react.default.createElement(_TotalBenchmarkArrowsStyle.DetailsRowContainer, {
123
123
  id: "DetailsRowContainer"
124
- }, getArrowSign(item.value), /*#__PURE__*/_react.default.createElement(_TotalBenchmarkArrowsStyle.DetailsRowFormattedValue, {
124
+ }, getArrowSign(item.value >= 0 ? "up" : "down"), /*#__PURE__*/_react.default.createElement(_TotalBenchmarkArrowsStyle.DetailsRowFormattedValue, {
125
125
  id: "DetailsRowFormattedValue"
126
126
  }, item.value ? Math.abs(item.value) : ""), /*#__PURE__*/_react.default.createElement(_TotalBenchmarkArrowsStyle.DetailsRowPercentSign, {
127
127
  id: "DetailsRowPercentSign"
@@ -32,7 +32,7 @@ var TotalBenchmarkBarchart = function TotalBenchmarkBarchart(_ref) {
32
32
  _ref$height = _ref.height,
33
33
  height = _ref$height === void 0 ? "280px" : _ref$height,
34
34
  _ref$textColor = _ref.textColor,
35
- textColor = _ref$textColor === void 0 ? "black" : _ref$textColor,
35
+ textColor = _ref$textColor === void 0 ? "#212121" : _ref$textColor,
36
36
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
37
37
  var DEFAULT_ROOT_FONT = 16;
38
38
  var DEFAULT_COMPONENT_WIDTH = 250;
@@ -31,7 +31,7 @@ var TotalDoughnutChart = function TotalDoughnutChart(_ref) {
31
31
  _ref$height = _ref.height,
32
32
  height = _ref$height === void 0 ? "280px" : _ref$height,
33
33
  _ref$textColor = _ref.textColor,
34
- textColor = _ref$textColor === void 0 ? "black" : _ref$textColor,
34
+ textColor = _ref$textColor === void 0 ? "#212121" : _ref$textColor,
35
35
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
36
36
  var DEFAULT_ROOT_FONT = 16;
37
37
  var DEFAULT_COMPONENT_WIDTH = 250;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.113",
3
+ "version": "1.0.114",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {