sag_components 1.0.218 → 1.0.219
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.
|
@@ -124,19 +124,19 @@ var TotalBenchmarkAreachart = function TotalBenchmarkAreachart(_ref) {
|
|
|
124
124
|
return /*#__PURE__*/_react.default.createElement("g", {
|
|
125
125
|
transform: "translate(".concat(x, ",").concat(y, ")")
|
|
126
126
|
}, activeLabel === payload.value && /*#__PURE__*/_react.default.createElement("rect", {
|
|
127
|
-
x: -
|
|
127
|
+
x: -15,
|
|
128
128
|
y: 0,
|
|
129
|
-
width: "
|
|
129
|
+
width: "35",
|
|
130
130
|
height: "18",
|
|
131
131
|
rx: 9,
|
|
132
132
|
fill: xselectedColor,
|
|
133
133
|
fillOpacity: "0.10"
|
|
134
134
|
}), /*#__PURE__*/_react.default.createElement("text", {
|
|
135
135
|
x: 0,
|
|
136
|
-
y:
|
|
137
|
-
dx: -
|
|
136
|
+
y: 14,
|
|
137
|
+
dx: -10,
|
|
138
138
|
fill: "black",
|
|
139
|
-
fontSize: "
|
|
139
|
+
fontSize: "14px"
|
|
140
140
|
}, payload.value));
|
|
141
141
|
};
|
|
142
142
|
var CustomTooltip = function CustomTooltip(_ref3) {
|
|
@@ -193,9 +193,9 @@ var TotalBenchmarkAreachart = function TotalBenchmarkAreachart(_ref) {
|
|
|
193
193
|
data: areaChartData,
|
|
194
194
|
margin: {
|
|
195
195
|
top: 0,
|
|
196
|
-
right:
|
|
197
|
-
bottom:
|
|
198
|
-
left:
|
|
196
|
+
right: 24,
|
|
197
|
+
bottom: -5,
|
|
198
|
+
left: 24
|
|
199
199
|
}
|
|
200
200
|
}, /*#__PURE__*/_react.default.createElement(_recharts.CartesianGrid, {
|
|
201
201
|
strokeDasharray: "3 3",
|
|
@@ -8,7 +8,7 @@ exports.ValueAndBenchmarkContainer = exports.TooltipTitle = exports.TooltipLabel
|
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
10
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
|
|
11
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-size: ", ";\n color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 12px;\n align-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n
|
|
11
|
+
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-size: ", ";\n color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 12px;\n align-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n"])), function (props) {
|
|
12
12
|
return props.rootFont;
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.textColor;
|
|
@@ -24,21 +24,21 @@ var TooltipLabel = _styledComponents.default.div(_templateObject3 || (_templateO
|
|
|
24
24
|
exports.TooltipLabel = TooltipLabel;
|
|
25
25
|
var TooltipTitle = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-family: Poppins;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n"])));
|
|
26
26
|
exports.TooltipTitle = TooltipTitle;
|
|
27
|
-
var Controls = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n border-radius: 12px;\n background: #ffffff;\n justify-content: center;\n flex-direction: column;\n flex-basis: 100%;\n
|
|
27
|
+
var Controls = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n border-radius: 12px;\n background: #ffffff;\n justify-content: center;\n flex-direction: column;\n flex-basis: 100%;\n\n justify-content: space-between;\n width: 100%;\n\n"])));
|
|
28
28
|
exports.Controls = Controls;
|
|
29
|
-
var TitleAndValueContainer = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)([""])));
|
|
29
|
+
var TitleAndValueContainer = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: 1rem;\n"])));
|
|
30
30
|
exports.TitleAndValueContainer = TitleAndValueContainer;
|
|
31
|
-
var Title = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 1rem;\n
|
|
31
|
+
var Title = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 1rem;\n\n"])));
|
|
32
32
|
exports.Title = Title;
|
|
33
|
-
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n align-items: baseline;\n
|
|
33
|
+
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n align-items: baseline;\n\n"])));
|
|
34
34
|
exports.ValueAndBenchmarkContainer = ValueAndBenchmarkContainer;
|
|
35
35
|
var DetailsRowArrowContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n width: 1.2rem;\n align-items: flex-end;\n"])));
|
|
36
36
|
exports.DetailsRowArrowContainer = DetailsRowArrowContainer;
|
|
37
37
|
var FormattedValue = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: 0.1rem;\n font-weight: 500;\n font-size: 2.22222rem;\n"])));
|
|
38
38
|
exports.FormattedValue = FormattedValue;
|
|
39
|
-
var BenchmarkContainer = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left:
|
|
39
|
+
var BenchmarkContainer = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left: 1.5rem;\n"])));
|
|
40
40
|
exports.BenchmarkContainer = BenchmarkContainer;
|
|
41
|
-
var AreaChartContainer = _styledComponents.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height:
|
|
41
|
+
var AreaChartContainer = _styledComponents.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n\n width: 100%;\n height: 100%;\n"])));
|
|
42
42
|
exports.AreaChartContainer = AreaChartContainer;
|
|
43
43
|
var BottomDetailsRowContainer = _styledComponents.default.div(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n text-align: center;\n"])));
|
|
44
44
|
exports.BottomDetailsRowContainer = BottomDetailsRowContainer;
|