sag_components 1.0.184 → 1.0.186
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/Benchmark.style.js +1 -1
- package/dist/stories/components/Datepicker.js +4 -4
- package/dist/stories/components/Datepicker.style.js +1 -1
- package/dist/stories/components/Dropdown.js +9 -9
- package/dist/stories/components/Dropdown.style.js +1 -1
- package/dist/stories/components/OneColumnContainer.style.js +1 -1
- package/dist/stories/components/SegmentedButton.style.js +1 -1
- package/dist/stories/components/TextField.style.js +1 -1
- package/dist/stories/components/TitleDescription.style.js +1 -1
- package/dist/stories/components/TotalBenchmark.style.js +3 -3
- package/dist/stories/components/TotalBenchmarkAreachart.style.js +1 -1
- package/dist/stories/components/TotalBenchmarkArrows.style.js +2 -2
- package/dist/stories/components/TotalBenchmarkBarchart.style.js +1 -1
- package/dist/stories/components/TotalDoughnutChart.style.js +2 -2
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ exports.CurrentValueRectangle = exports.ControlsContainer = exports.Controls = e
|
|
|
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;
|
|
11
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n margin: 0px 0 0px;\n font-family: \"
|
|
11
|
+
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n margin: 0px 0 0px;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n width: ", ";\n height: ", ";\n //box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);\n border-radius: 100px;\n //border: 1px solid red;\n"])), function (props) {
|
|
12
12
|
return props.width.toString().concat("", "px");
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.height.toString().concat("", "px");
|
|
@@ -53,7 +53,7 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
53
53
|
return {
|
|
54
54
|
"& .MuiOutlinedInput-root": {
|
|
55
55
|
borderRadius: "12px",
|
|
56
|
-
fontFamily: "
|
|
56
|
+
fontFamily: "Poppins",
|
|
57
57
|
fontSize: "14px",
|
|
58
58
|
fontWidth: 400,
|
|
59
59
|
width: width,
|
|
@@ -62,7 +62,7 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"& .MuiAutocomplete-inputRoot": {
|
|
65
|
-
fontFamily: "
|
|
65
|
+
fontFamily: "Poppins",
|
|
66
66
|
fontSize: "14px",
|
|
67
67
|
fontWidth: 400,
|
|
68
68
|
paddingLeft: "10px !important",
|
|
@@ -70,13 +70,13 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
70
70
|
width: width
|
|
71
71
|
},
|
|
72
72
|
"& .MuiInputLabel-outlined": {
|
|
73
|
-
fontFamily: "
|
|
73
|
+
fontFamily: "Poppins",
|
|
74
74
|
fontSize: "14px",
|
|
75
75
|
fontWidth: 400,
|
|
76
76
|
paddingLeft: "10px"
|
|
77
77
|
},
|
|
78
78
|
"& .MuiInputLabel-shrink": {
|
|
79
|
-
fontFamily: "
|
|
79
|
+
fontFamily: "Poppins",
|
|
80
80
|
fontSize: "14px",
|
|
81
81
|
fontWidth: 400,
|
|
82
82
|
marginLeft: "1px",
|
|
@@ -10,7 +10,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject;
|
|
11
11
|
//import './font.css';
|
|
12
12
|
|
|
13
|
-
var DatepickerContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family:
|
|
13
|
+
var DatepickerContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family: Poppins; \n font-size: \"14px\";\n"])), function (props) {
|
|
14
14
|
return props.width;
|
|
15
15
|
});
|
|
16
16
|
exports.DatepickerContainer = DatepickerContainer;
|
|
@@ -32,7 +32,7 @@ var checkedIcon = /*#__PURE__*/_react.default.createElement(_CheckBox.default, {
|
|
|
32
32
|
fontSize: "small"
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
// import './fonts/
|
|
35
|
+
// import './fonts/Poppins-Regular.ttf';
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* SAG Dropdown
|
|
@@ -221,7 +221,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
221
221
|
InputProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, params.InputProps), {}, {
|
|
222
222
|
style: {
|
|
223
223
|
fontSize: "14px",
|
|
224
|
-
fontFamily: "
|
|
224
|
+
fontFamily: "Poppins"
|
|
225
225
|
},
|
|
226
226
|
startAdornment: showSearchIcon ? /*#__PURE__*/_react.default.createElement(_InputAdornment.default, {
|
|
227
227
|
position: "start"
|
|
@@ -233,7 +233,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
233
233
|
style: {
|
|
234
234
|
//color: labelColor,
|
|
235
235
|
fontSize: "14px",
|
|
236
|
-
fontFamily: "
|
|
236
|
+
fontFamily: "Poppins"
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
}));
|
|
@@ -241,7 +241,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
241
241
|
ListboxProps: {
|
|
242
242
|
style: {
|
|
243
243
|
fontSize: "14px",
|
|
244
|
-
fontFamily: "
|
|
244
|
+
fontFamily: "Poppins"
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}));
|
|
@@ -282,7 +282,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
282
282
|
style: {
|
|
283
283
|
marginRight: 8,
|
|
284
284
|
fontSize: "14px",
|
|
285
|
-
fontFamily: "
|
|
285
|
+
fontFamily: "Poppins"
|
|
286
286
|
},
|
|
287
287
|
checked: selected
|
|
288
288
|
}), option.label);
|
|
@@ -303,7 +303,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
303
303
|
InputProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, params.InputProps), {}, {
|
|
304
304
|
style: {
|
|
305
305
|
fontSize: "14px",
|
|
306
|
-
fontFamily: "
|
|
306
|
+
fontFamily: "Poppins"
|
|
307
307
|
},
|
|
308
308
|
startAdornment: /*#__PURE__*/_react.default.createElement(_InputAdornment.default, {
|
|
309
309
|
position: "start"
|
|
@@ -315,7 +315,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
315
315
|
style: {
|
|
316
316
|
//color: labelColor,
|
|
317
317
|
fontSize: "16px",
|
|
318
|
-
fontFamily: "
|
|
318
|
+
fontFamily: "Poppins"
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
})) : /*#__PURE__*/_react.default.createElement(_TextField.default, Object.assign({}, params, {
|
|
@@ -334,7 +334,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
334
334
|
style: {
|
|
335
335
|
//color: labelColor,
|
|
336
336
|
fontSize: "16px",
|
|
337
|
-
fontFamily: "
|
|
337
|
+
fontFamily: "Poppins"
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}));
|
|
@@ -342,7 +342,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
342
342
|
ListboxProps: {
|
|
343
343
|
style: {
|
|
344
344
|
fontSize: "14px",
|
|
345
|
-
fontFamily: "
|
|
345
|
+
fontFamily: "Poppins"
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}));
|
|
@@ -10,7 +10,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject;
|
|
11
11
|
//import './font.css';
|
|
12
12
|
|
|
13
|
-
var DropdownContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family:
|
|
13
|
+
var DropdownContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family: Poppins; \n font-size: \"14px\";\n"])), function (props) {
|
|
14
14
|
return props.width;
|
|
15
15
|
});
|
|
16
16
|
exports.DropdownContainer = DropdownContainer;
|
|
@@ -14,7 +14,7 @@ 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: \"
|
|
17
|
+
var InfoTextContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-family: \"Poppins\", sans-serif;\n width: ", ";\n height: ", ";\n display: flex;\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;
|
|
@@ -10,7 +10,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
11
11
|
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex; \n font: ", "; \n margin: 0;\n --highlight-width: auto;\n --highlight-x-pos: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n"])), function (props) {
|
|
12
12
|
var _props$fontSize;
|
|
13
|
-
return (_props$fontSize = props.fontSize) === null || _props$fontSize === void 0 ? void 0 : _props$fontSize.toString().concat("", "px
|
|
13
|
+
return (_props$fontSize = props.fontSize) === null || _props$fontSize === void 0 ? void 0 : _props$fontSize.toString().concat("", "px Poppins, sans-serif");
|
|
14
14
|
});
|
|
15
15
|
exports.ControlsContainer = ControlsContainer;
|
|
16
16
|
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n justify-content: space-between; \n background: ", ";\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n border-radius: ", "; //12px\n // max-width: 500px; //use this to limit max lenght of the control \n padding: 6px; \n margin: auto;\n overflow: hidden;\n position: relative;\n &.controls::before {\n content: \"\";\n background: ", "; /* #3a9df9; #5465ff;*/\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n border-radius: ", "; //12px\n width: var(--highlight-width);\n transform: translateX(var(--highlight-x-pos));\n position: absolute;\n top: 3px;\n bottom: 3px;\n left: 0; \n z-index: 0;\n }\n &.controls.ready::before {\n transition: transform 0.3s ease, width 0.3s ease;\n }\n"])), function (props) {
|
|
@@ -10,7 +10,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject;
|
|
11
11
|
//import './font.css';
|
|
12
12
|
|
|
13
|
-
var TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family:
|
|
13
|
+
var TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family: Poppins; \n font-size: \"14px\";\n"])), function (props) {
|
|
14
14
|
return props.width;
|
|
15
15
|
});
|
|
16
16
|
exports.TextFieldContainer = TextFieldContainer;
|
|
@@ -8,7 +8,7 @@ exports.ViewCreativeTextField = exports.ViewCreativeContainer = exports.SubLineC
|
|
|
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, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
|
|
11
|
-
var MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \"
|
|
11
|
+
var MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-size: 1rem;\n\n color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 12px;\n"])), function (props) {
|
|
12
12
|
return props.textColor ? props.textColor : "#000";
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.width;
|
|
@@ -10,7 +10,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
11
11
|
var MIN_HEIGHT = 300;
|
|
12
12
|
var MIN_WIDTH = 260;
|
|
13
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"
|
|
13
|
+
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 place-content: space-between;\n align-items: flex-start; \n background: #ffffff; \n"])), function (props) {
|
|
14
14
|
return props.rootFont;
|
|
15
15
|
}, function (props) {
|
|
16
16
|
return props.textColor;
|
|
@@ -20,7 +20,7 @@ var ControlsContainer = _styledComponents.default.div(_templateObject || (_templ
|
|
|
20
20
|
return props.height;
|
|
21
21
|
});
|
|
22
22
|
exports.ControlsContainer = ControlsContainer;
|
|
23
|
-
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n border-radius: 12px;\n /* width: 90%;\n height: 40%; */\n //justify-content: center; \n //align-items: flex-start;\n background: #ffffff;\n margin-bottom: 1rem;\n"])));
|
|
23
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n border-radius: 12px;\n /* width: 90%;\n height: 40%; */\n //justify-content: center; \n //align-items: flex-start;\n background: #ffffff;\n margin-bottom: 1rem;\n padding: 0px 0.8rem;\n"])));
|
|
24
24
|
exports.Controls = Controls;
|
|
25
25
|
var TitleAndValueContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n //flex-direction: column;\n width: 100%;\n"])));
|
|
26
26
|
exports.TitleAndValueContainer = TitleAndValueContainer;
|
|
@@ -30,5 +30,5 @@ var FormattedValue = _styledComponents.default.div(_templateObject5 || (_templat
|
|
|
30
30
|
exports.FormattedValue = FormattedValue;
|
|
31
31
|
var BenchmarkContainerParent = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n"])));
|
|
32
32
|
exports.BenchmarkContainerParent = BenchmarkContainerParent;
|
|
33
|
-
var BenchmarkContainer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n margin-top: 0
|
|
33
|
+
var BenchmarkContainer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n margin-top: 0;\n margin-left: 1rem;\n height: 0.9rem;\n"])));
|
|
34
34
|
exports.BenchmarkContainer = BenchmarkContainer;
|
|
@@ -8,7 +8,7 @@ exports.ValueAndBenchmarkContainer = exports.TitleAndValueContainer = exports.Ti
|
|
|
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;
|
|
11
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"
|
|
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 /* min-height: 280px;\n min-width: 250px;\n max-height: 380px;\n max-width: 350px; */\n"])), function (props) {
|
|
12
12
|
return props.rootFont;
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.textColor;
|
|
@@ -8,7 +8,7 @@ exports.ValueAndBenchmarkContainer = exports.Title = exports.FormattedValue = ex
|
|
|
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;
|
|
11
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"
|
|
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"])), function (props) {
|
|
12
12
|
return props.rootFont;
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.textColor;
|
|
@@ -18,7 +18,7 @@ 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 width: 100%;\n height: 100%;\n background: #ffffff; \n flex-direction: column;\n flex-basis: 100%;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
22
22
|
exports.Controls = Controls;
|
|
23
23
|
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: 14rem;\n font-weight: 600;\n font-size: 1rem;\n margin-bottom: 1rem;\n"])));
|
|
24
24
|
exports.Title = Title;
|
|
@@ -8,7 +8,7 @@ exports.ValueAndBenchmarkContainer = exports.TitleAndValueContainer = exports.Ti
|
|
|
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;
|
|
11
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"
|
|
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 background: #ffffff;\n"])), function (props) {
|
|
12
12
|
return props.rootFont;
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.textColor;
|
|
@@ -8,7 +8,7 @@ exports.TooltipLabel = exports.TooltipDiv = exports.TitleAndValueContainer = exp
|
|
|
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, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
|
|
11
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"
|
|
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"])), function (props) {
|
|
12
12
|
return props.rootFont;
|
|
13
13
|
}, function (props) {
|
|
14
14
|
return props.textColor;
|
|
@@ -22,7 +22,7 @@ var Controls = _styledComponents.default.div(_templateObject2 || (_templateObjec
|
|
|
22
22
|
exports.Controls = Controls;
|
|
23
23
|
var TooltipDiv = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);\n border-radius: 5px;\n background: #fff;\n padding: 6px 10px;\n display: flex;\n flex-direction: row;\n margin:0;\n"])));
|
|
24
24
|
exports.TooltipDiv = TooltipDiv;
|
|
25
|
-
var TooltipLabel = _styledComponents.default.p(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-family: \"
|
|
25
|
+
var TooltipLabel = _styledComponents.default.p(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n font-weight: 400;\n font-style: normal;\n width: max-content; // fit-content; \n line-height: normal;\n margin:0;\n"])));
|
|
26
26
|
exports.TooltipLabel = TooltipLabel;
|
|
27
27
|
var TitleAndValueContainer = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n width: 90%;\n //margin-top: 6%;\n"])));
|
|
28
28
|
exports.TitleAndValueContainer = TitleAndValueContainer;
|