sag_components 1.0.106 → 1.0.108
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/stories/components/OneColumnContainer.style.js +3 -1
- package/dist/stories/components/TotalBenchmarkAreachart.js +2 -2
- package/dist/stories/components/TotalBenchmarkAreachart.style.js +7 -7
- package/dist/stories/components/TotalBenchmarkArrows.style.js +3 -3
- package/dist/stories/components/TotalBenchmarkBarchart.js +1 -1
- package/dist/stories/components/TotalBenchmarkBarchart.style.js +6 -6
- package/package.json +1 -1
|
@@ -14,12 +14,14 @@ var StyledContainer = _styledComponents.default.div(_templateObject || (_templat
|
|
|
14
14
|
return props.height;
|
|
15
15
|
});
|
|
16
16
|
exports.StyledContainer = StyledContainer;
|
|
17
|
-
var InfoTextContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-family: \"Lato\", sans-serif;\n width: ", ";\n height: ", ";\n visibility: ", "
|
|
17
|
+
var InfoTextContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-family: \"Lato\", sans-serif;\n width: ", ";\n height: ", ";\n /* visibility: ", "; */\n display: ", "; \n flex-direction: column;\n justify-content: center;\n background: white;\n margin: 0px 30px 0px 30px;\n"])), function (props) {
|
|
18
18
|
return props.width;
|
|
19
19
|
}, function (props) {
|
|
20
20
|
return props.height;
|
|
21
21
|
}, function (props) {
|
|
22
22
|
return props.clicked ? "visible" : "hidden";
|
|
23
|
+
}, function (props) {
|
|
24
|
+
return props.clicked ? "flex" : "none";
|
|
23
25
|
});
|
|
24
26
|
exports.InfoTextContainer = InfoTextContainer;
|
|
25
27
|
var InfoTitleLabel = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 700;\n color: black;\n margin: 0px 0px 10px 0px;\n font-size: 1.1em; \n"])));
|
|
@@ -130,9 +130,9 @@ var TotalBenchmarkAreachart = function TotalBenchmarkAreachart(_ref) {
|
|
|
130
130
|
data: areaChartData,
|
|
131
131
|
margin: {
|
|
132
132
|
top: 0,
|
|
133
|
-
right:
|
|
133
|
+
right: 12,
|
|
134
134
|
bottom: 0,
|
|
135
|
-
left:
|
|
135
|
+
left: 12
|
|
136
136
|
}
|
|
137
137
|
}, /*#__PURE__*/_react.default.createElement(_recharts.CartesianGrid, {
|
|
138
138
|
strokeDasharray: "3 3",
|
|
@@ -18,21 +18,21 @@ var ControlsContainer = _styledComponents.default.div(_templateObject || (_templ
|
|
|
18
18
|
return props.height;
|
|
19
19
|
});
|
|
20
20
|
exports.ControlsContainer = ControlsContainer;
|
|
21
|
-
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n border-radius: 12px;\n
|
|
21
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (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 padding: 16px;\n"])));
|
|
22
22
|
exports.Controls = Controls;
|
|
23
|
-
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
23
|
+
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)([" \n font-weight: 600;\n font-size: 1em; \n"])));
|
|
24
24
|
exports.Title = Title;
|
|
25
|
-
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n
|
|
25
|
+
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n align-items: baseline; \n"])));
|
|
26
26
|
exports.ValueAndBenchmarkContainer = ValueAndBenchmarkContainer;
|
|
27
27
|
var DetailsRowArrowContainer = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)([" \n display: flex;\n width: 1.2em; \n align-items: flex-end;\n"])));
|
|
28
28
|
exports.DetailsRowArrowContainer = DetailsRowArrowContainer;
|
|
29
29
|
var FormattedValue = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: 0.1em;\n font-weight: 500;\n font-size: 2.2em; \n"])));
|
|
30
30
|
exports.FormattedValue = FormattedValue;
|
|
31
|
-
var BenchmarkContainer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left: 0.7em;\n width: 5.35em
|
|
31
|
+
var BenchmarkContainer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left: 0.7em;\n /* width: 5.35em; */\n"])));
|
|
32
32
|
exports.BenchmarkContainer = BenchmarkContainer;
|
|
33
|
-
var AreaChartContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n width: 14em;\n height:
|
|
33
|
+
var AreaChartContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n width: 14em;\n height: 46%;\n\n"])));
|
|
34
34
|
exports.AreaChartContainer = AreaChartContainer;
|
|
35
|
-
var BottomDetailsRowContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n text-align: center;\n
|
|
35
|
+
var BottomDetailsRowContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n text-align: center;\n"])));
|
|
36
36
|
exports.BottomDetailsRowContainer = BottomDetailsRowContainer;
|
|
37
|
-
var BottomDetailsRowTitle = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
37
|
+
var BottomDetailsRowTitle = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 400;\n font-size: 0.7em;\n"])));
|
|
38
38
|
exports.BottomDetailsRowTitle = BottomDetailsRowTitle;
|
|
@@ -18,11 +18,11 @@ var ControlsContainer = _styledComponents.default.div(_templateObject || (_templ
|
|
|
18
18
|
return props.height;
|
|
19
19
|
});
|
|
20
20
|
exports.ControlsContainer = ControlsContainer;
|
|
21
|
-
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n border-radius: 12px;\n
|
|
21
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (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 padding: 16px ;\n"])));
|
|
22
22
|
exports.Controls = Controls;
|
|
23
|
-
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: 14em;\n font-weight: 600;\n font-size: 1em;\n
|
|
23
|
+
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: 14em;\n font-weight: 600;\n font-size: 1em;\n margin-top: 17%;\n"])));
|
|
24
24
|
exports.Title = Title;
|
|
25
|
-
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: baseline;\n width: 14em;\n height:
|
|
25
|
+
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: baseline;\n width: 14em;\n height: 50%;\n"])));
|
|
26
26
|
exports.ValueAndBenchmarkContainer = ValueAndBenchmarkContainer;
|
|
27
27
|
var FormattedValue = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: 0.1em;\n font-weight: 500;\n font-size: 2.2em;\n"])));
|
|
28
28
|
exports.FormattedValue = FormattedValue;
|
|
@@ -112,7 +112,7 @@ var TotalBenchmarkBarchart = function TotalBenchmarkBarchart(_ref) {
|
|
|
112
112
|
id: "BarchartContainer"
|
|
113
113
|
}, /*#__PURE__*/_react.default.createElement(_recharts.BarChart, {
|
|
114
114
|
width: 224 * getSizeFactor(),
|
|
115
|
-
height:
|
|
115
|
+
height: 104 * heightFactor,
|
|
116
116
|
data: formattedBarChartData,
|
|
117
117
|
margin: {
|
|
118
118
|
top: 40 * heightFactor,
|
|
@@ -18,13 +18,13 @@ var ControlsContainer = _styledComponents.default.div(_templateObject || (_templ
|
|
|
18
18
|
return props.height;
|
|
19
19
|
});
|
|
20
20
|
exports.ControlsContainer = ControlsContainer;
|
|
21
|
-
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n border-radius: 12px;\n
|
|
21
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (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 padding: 16px ;\n"])));
|
|
22
22
|
exports.Controls = Controls;
|
|
23
|
-
var TitleAndValueContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
23
|
+
var TitleAndValueContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n \n"])));
|
|
24
24
|
exports.TitleAndValueContainer = TitleAndValueContainer;
|
|
25
|
-
var Title = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
25
|
+
var Title = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 600;\n font-size: 1em; \n"])));
|
|
26
26
|
exports.Title = Title;
|
|
27
|
-
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n align-items: baseline
|
|
27
|
+
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n align-items: baseline; \n\n"])));
|
|
28
28
|
exports.ValueAndBenchmarkContainer = ValueAndBenchmarkContainer;
|
|
29
29
|
var CurrencySign = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n width: 0.8em;\n font-weight: 500;\n font-size: 1em;\n"])));
|
|
30
30
|
exports.CurrencySign = CurrencySign;
|
|
@@ -32,9 +32,9 @@ var FormattedValue = _styledComponents.default.div(_templateObject7 || (_templat
|
|
|
32
32
|
exports.FormattedValue = FormattedValue;
|
|
33
33
|
var BenchmarkContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: 0.7em;\n width: 5.35em;\n"])));
|
|
34
34
|
exports.BenchmarkContainer = BenchmarkContainer;
|
|
35
|
-
var BarchartContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
35
|
+
var BarchartContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n width: 14em;\n"])));
|
|
36
36
|
exports.BarchartContainer = BarchartContainer;
|
|
37
|
-
var BottomDetailsRowContainer = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n text-align: center
|
|
37
|
+
var BottomDetailsRowContainer = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n text-align: center; \n\n"])));
|
|
38
38
|
exports.BottomDetailsRowContainer = BottomDetailsRowContainer;
|
|
39
39
|
var BottomDetailsRowTitle = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: center; \n margin-top: 0.2em;\n width: 14em;\n font-weight: 400;\n font-size: 0.7em;\n"])));
|
|
40
40
|
exports.BottomDetailsRowTitle = BottomDetailsRowTitle;
|