sag_components 1.0.27 → 1.0.29
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/Benchmark.stories.js +122 -0
- package/dist/stories/Benchmark.style.js +50 -0
- package/dist/stories/TotalDoughnutChart.stories.js +1 -1
- package/dist/stories/components/Benchmark.js +80 -0
- package/package.json +1 -1
- package/.storybook/YourTheme.js +0 -11
- package/.storybook/main.js +0 -30
- package/.storybook/manager.js +0 -8
- package/.storybook/preview.js +0 -14
- package/.storybook/webpack.config.js +0 -16
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -52
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/src/App.css +0 -6
- package/src/App.js +0 -149
- package/src/App.test.js +0 -8
- package/src/index.css +0 -13
- package/src/index.js +0 -22
- package/src/logo.svg +0 -1
- package/src/stories/Button.stories.js +0 -114
- package/src/stories/Button.style.js +0 -9
- package/src/stories/Dropdown.stories.jsx +0 -238
- package/src/stories/Dropdown.style.js +0 -9
- package/src/stories/Introduction.mdx +0 -119
- package/src/stories/OneColumnContainer.stories.js +0 -20
- package/src/stories/OneColumnContainer.style.js +0 -41
- package/src/stories/SegmentedButton.stories.js +0 -205
- package/src/stories/SegmentedButton.style.js +0 -76
- package/src/stories/TotalDoughnutChart.stories.js +0 -112
- package/src/stories/TotalDoughnutChart.style.js +0 -143
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/info.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/components/Button.jsx +0 -54
- package/src/stories/components/Dropdown.jsx +0 -249
- package/src/stories/components/InfoIcon.jsx +0 -9
- package/src/stories/components/OneColumnContainer.jsx +0 -46
- package/src/stories/components/SegmentedButton.jsx +0 -110
- package/src/stories/components/TotalDoughnutChart.jsx +0 -178
- package/storybook-static/256.47510a7e.iframe.bundle.js +0 -2
- package/storybook-static/256.47510a7e.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/333.c94a363a.iframe.bundle.js +0 -1
- package/storybook-static/383.2aff9f43.iframe.bundle.js +0 -1
- package/storybook-static/385.7e265f0d.iframe.bundle.js +0 -402
- package/storybook-static/385.7e265f0d.iframe.bundle.js.LICENSE.txt +0 -53
- package/storybook-static/385.7e265f0d.iframe.bundle.js.map +0 -1
- package/storybook-static/433.06d7c436.iframe.bundle.js +0 -1
- package/storybook-static/446.dd9a0d77.iframe.bundle.js +0 -1
- package/storybook-static/463.60fe9b8e.iframe.bundle.js +0 -44
- package/storybook-static/463.60fe9b8e.iframe.bundle.js.map +0 -1
- package/storybook-static/537.29807a20.iframe.bundle.js +0 -121
- package/storybook-static/537.29807a20.iframe.bundle.js.map +0 -1
- package/storybook-static/55.d0744d52.iframe.bundle.js +0 -76
- package/storybook-static/55.d0744d52.iframe.bundle.js.LICENSE.txt +0 -26
- package/storybook-static/55.d0744d52.iframe.bundle.js.map +0 -1
- package/storybook-static/58.676f9d84.iframe.bundle.js +0 -1
- package/storybook-static/661.14a42934.iframe.bundle.js +0 -1
- package/storybook-static/720.f79ea110.iframe.bundle.js +0 -1
- package/storybook-static/923.47c94418.iframe.bundle.js +0 -1
- package/storybook-static/ButtonText-stories.ac096281.iframe.bundle.js +0 -1
- package/storybook-static/Dropdown-stories.825dde1a.iframe.bundle.js +0 -8
- package/storybook-static/Dropdown-stories.825dde1a.iframe.bundle.js.map +0 -1
- package/storybook-static/Introduction-mdx.f8264230.iframe.bundle.js +0 -2
- package/storybook-static/Introduction-mdx.f8264230.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/OneColumnContainer-stories.65049871.iframe.bundle.js +0 -36
- package/storybook-static/OneColumnContainer-stories.65049871.iframe.bundle.js.LICENSE.txt +0 -18
- package/storybook-static/OneColumnContainer-stories.65049871.iframe.bundle.js.map +0 -1
- package/storybook-static/favicon.svg +0 -7
- package/storybook-static/iframe.html +0 -355
- package/storybook-static/index.html +0 -138
- package/storybook-static/index.json +0 -1
- package/storybook-static/main.612c6447.iframe.bundle.js +0 -1
- package/storybook-static/project.json +0 -1
- package/storybook-static/runtime~main.55585f00.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -13
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -117
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +0 -31
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/storybook-10/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/storybook-10/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-10/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/storysource-9/manager-bundle.js +0 -23
- package/storybook-static/sb-addons/storysource-9/manager-bundle.js.LEGAL.txt +0 -14
- package/storybook-static/sb-addons/storysource-9/manager-bundle.js.map +0 -7
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/GlobalScrollAreaStyles-XIHNDKUY-F4JIPIHL.js +0 -1
- package/storybook-static/sb-manager/OverlayScrollbars-VAV6LJAB-K3TMPSMY.js +0 -6
- package/storybook-static/sb-manager/WithTooltip-FBT32F6Q-7QJ37TCY.js +0 -1
- package/storybook-static/sb-manager/chunk-3FAXWWKG.js +0 -15
- package/storybook-static/sb-manager/chunk-54KM6K5Z.js +0 -7
- package/storybook-static/sb-manager/chunk-AS2AMEUR.js +0 -1
- package/storybook-static/sb-manager/chunk-F3MVQVF6.js +0 -207
- package/storybook-static/sb-manager/chunk-FENICTK6.js +0 -1
- package/storybook-static/sb-manager/chunk-GQDEE62S.js +0 -406
- package/storybook-static/sb-manager/chunk-PUVLCKJJ.js +0 -140
- package/storybook-static/sb-manager/chunk-QPL63VNK.js +0 -1
- package/storybook-static/sb-manager/formatter-S4K5WUZV-4LPR5OBX.js +0 -156
- package/storybook-static/sb-manager/globals.js +0 -1
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/runtime.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-QTQ2UBB4-F5YUFYAB.js +0 -1
- package/storybook-static/sb-preview/globals.js +0 -1
- package/storybook-static/sb-preview/runtime.js +0 -105
- package/storybook-static/static/media/code-brackets.2e1112d7.svg +0 -1
- package/storybook-static/static/media/colors.a4bd0486.svg +0 -1
- package/storybook-static/static/media/comments.a3859089.svg +0 -1
- package/storybook-static/static/media/direction.b770f9af.svg +0 -1
- package/storybook-static/static/media/flow.edad2ac1.svg +0 -1
- package/storybook-static/static/media/plugin.d494b228.svg +0 -1
- package/storybook-static/static/media/repo.6d496322.svg +0 -1
- package/storybook-static/static/media/stackalt.dba9fbb3.svg +0 -1
- package/storybook-static/stories.json +0 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.LessAvarage = exports.GreaterAvarage = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _Benchmark = require("./components/Benchmark");
|
|
10
|
+
var _default = {
|
|
11
|
+
title: "SAG BI/Benchmark",
|
|
12
|
+
component: _Benchmark.Benchmark,
|
|
13
|
+
tags: ["autodocs"],
|
|
14
|
+
argTypes: {
|
|
15
|
+
currentValue: {
|
|
16
|
+
name: "currentValue",
|
|
17
|
+
control: {
|
|
18
|
+
type: "number",
|
|
19
|
+
min: 0,
|
|
20
|
+
max: 100000000000000
|
|
21
|
+
},
|
|
22
|
+
description: "curent value (<=100%) "
|
|
23
|
+
},
|
|
24
|
+
totalValue: {
|
|
25
|
+
name: "totalValue",
|
|
26
|
+
control: {
|
|
27
|
+
type: "number",
|
|
28
|
+
min: 0,
|
|
29
|
+
max: 100000000000000
|
|
30
|
+
},
|
|
31
|
+
description: "total value (100%) "
|
|
32
|
+
},
|
|
33
|
+
width: {
|
|
34
|
+
name: "width",
|
|
35
|
+
control: {
|
|
36
|
+
type: "number",
|
|
37
|
+
min: 0,
|
|
38
|
+
max: 600
|
|
39
|
+
},
|
|
40
|
+
description: "width of the control (in px)"
|
|
41
|
+
},
|
|
42
|
+
height: {
|
|
43
|
+
name: "height",
|
|
44
|
+
control: {
|
|
45
|
+
type: "number",
|
|
46
|
+
min: 0,
|
|
47
|
+
max: 600
|
|
48
|
+
},
|
|
49
|
+
description: "height of the control (in px)"
|
|
50
|
+
},
|
|
51
|
+
color: {
|
|
52
|
+
name: "color",
|
|
53
|
+
description: "Sets the color of current value when it is greater then 50% of total value",
|
|
54
|
+
control: {
|
|
55
|
+
type: "color",
|
|
56
|
+
presetColors: ["#ffffff", "#ff0000", "#00ff00", "#0000ff"]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
linearGradientColor: {
|
|
60
|
+
name: "linearGradientColor",
|
|
61
|
+
description: "Sets the linear-Gradient color of current value when it is greater then 50% of total value",
|
|
62
|
+
control: {
|
|
63
|
+
type: "color",
|
|
64
|
+
presetColors: ["#ffffff", "#ff0000", "#00ff00", "#0000ff"]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
underAvarageColor: {
|
|
68
|
+
name: "underAvarageColor",
|
|
69
|
+
description: "Sets the color of current value when it is under 50% of total value",
|
|
70
|
+
control: {
|
|
71
|
+
type: "color",
|
|
72
|
+
presetColors: ["#ffffff", "#ff0000", "#00ff00", "#0000ff"]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
linearGradientUnderAvarageColor: {
|
|
76
|
+
name: "linearGradientUnderAvarageColor",
|
|
77
|
+
description: "Sets the linear-Gradient color of current value when it is under 50% of total value",
|
|
78
|
+
control: {
|
|
79
|
+
type: "color",
|
|
80
|
+
presetColors: ["#ffffff", "#ff0000", "#00ff00", "#0000ff"]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
backgroundColor: {
|
|
84
|
+
name: "backgroundColor",
|
|
85
|
+
description: "Sets the background color of the control",
|
|
86
|
+
control: {
|
|
87
|
+
type: "color",
|
|
88
|
+
presetColors: ["#ffffff", "#ff0000", "#00ff00", "#0000ff"]
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
exports.default = _default;
|
|
94
|
+
var Template = function Template(args) {
|
|
95
|
+
return /*#__PURE__*/_react.default.createElement(_Benchmark.Benchmark, args);
|
|
96
|
+
};
|
|
97
|
+
var GreaterAvarage = Template.bind({});
|
|
98
|
+
exports.GreaterAvarage = GreaterAvarage;
|
|
99
|
+
GreaterAvarage.args = {
|
|
100
|
+
totalValue: 100000,
|
|
101
|
+
currentValue: 60000,
|
|
102
|
+
width: 100,
|
|
103
|
+
height: 12,
|
|
104
|
+
color: "#79DB95",
|
|
105
|
+
linearGradientColor: "#C3EFD0",
|
|
106
|
+
underAvarageColor: "#FD5959",
|
|
107
|
+
linearGradientUnderAvarageColor: "#FDB1B1",
|
|
108
|
+
backgroundColor: "#F2F2F2"
|
|
109
|
+
};
|
|
110
|
+
var LessAvarage = Template.bind({});
|
|
111
|
+
exports.LessAvarage = LessAvarage;
|
|
112
|
+
LessAvarage.args = {
|
|
113
|
+
totalValue: 1000,
|
|
114
|
+
currentValue: 400,
|
|
115
|
+
width: 100,
|
|
116
|
+
height: 12,
|
|
117
|
+
color: "#79DB95",
|
|
118
|
+
linearGradientColor: "#C3EFD0",
|
|
119
|
+
underAvarageColor: "#FD5959",
|
|
120
|
+
linearGradientUnderAvarageColor: "#FDB1B1",
|
|
121
|
+
backgroundColor: "#F2F2F2"
|
|
122
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.CurrentValueRectangle = exports.ControlsContainer = exports.Controls = exports.BackgroundValueRectangle = exports.AvarageDelimiter = void 0;
|
|
8
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
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: \"Lato\", 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
|
+
return props.width.toString().concat("", "px");
|
|
13
|
+
}, function (props) {
|
|
14
|
+
return props.height.toString().concat("", "px");
|
|
15
|
+
});
|
|
16
|
+
exports.ControlsContainer = ControlsContainer;
|
|
17
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n border-radius: 100px;\n width: ", ";\n height: ", ";\n //background: #ffffff;\n //border: 1px solid blue;\n"])), function (props) {
|
|
18
|
+
return props.width.toString().concat("", "px");
|
|
19
|
+
}, function (props) {
|
|
20
|
+
return props.height.toString().concat("", "px");
|
|
21
|
+
});
|
|
22
|
+
exports.Controls = Controls;
|
|
23
|
+
var BackgroundValueRectangle = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n position: absolute;\n width: ", ";\n height: ", ";\n top: 0px;\n left: 0px;\n border-radius: 100px;\n background: ", ";\n //border: 1px solid orange;\n"])), function (props) {
|
|
24
|
+
return props.width.toString().concat("", "px");
|
|
25
|
+
}, function (props) {
|
|
26
|
+
return props.height.toString().concat("", "px");
|
|
27
|
+
}, function (props) {
|
|
28
|
+
return props.color;
|
|
29
|
+
});
|
|
30
|
+
exports.BackgroundValueRectangle = BackgroundValueRectangle;
|
|
31
|
+
var CurrentValueRectangle = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n position: absolute;\n width: ", ";\n height: ", ";\n top: 0px;\n left: 0px;\n border-radius: 100px;\n background: linear-gradient(\n 90deg,\n ", " 0%,\n ", " 100%\n );\n //border: 1px solid green;\n"])), function (props) {
|
|
32
|
+
return props.width.toString().concat("", "px");
|
|
33
|
+
}, function (props) {
|
|
34
|
+
return props.height.toString().concat("", "px");
|
|
35
|
+
}, function (props) {
|
|
36
|
+
return props.linearGradientColor;
|
|
37
|
+
}, function (props) {
|
|
38
|
+
return props.color;
|
|
39
|
+
});
|
|
40
|
+
exports.CurrentValueRectangle = CurrentValueRectangle;
|
|
41
|
+
var AvarageDelimiter = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n position: absolute;\n height: ", ";\n width: ", ";\n top: ", ";\n left: ", ";\n border: 1px solid #212121;\n"])), function (props) {
|
|
42
|
+
return props.height.toString().concat("", "px");
|
|
43
|
+
}, function (props) {
|
|
44
|
+
return props.width.toString().concat("", "px");
|
|
45
|
+
}, function (props) {
|
|
46
|
+
return props.top.toString().concat("", "px");
|
|
47
|
+
}, function (props) {
|
|
48
|
+
return props.left.toString().concat("", "px");
|
|
49
|
+
});
|
|
50
|
+
exports.AvarageDelimiter = AvarageDelimiter;
|
|
@@ -32,7 +32,7 @@ var arrLegendDat3rows = [{
|
|
|
32
32
|
// { name: "My test 2", value: 35000, color: "#79DB95"},
|
|
33
33
|
];
|
|
34
34
|
var _default = {
|
|
35
|
-
title: "SAG/TotalDoughnutChart",
|
|
35
|
+
title: "SAG BI/TotalDoughnutChart",
|
|
36
36
|
component: _TotalDoughnutChart.TotalDoughnutChart,
|
|
37
37
|
tags: ["autodocs"],
|
|
38
38
|
argTypes: {
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.Benchmark = void 0;
|
|
8
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _BenchmarkStyle = require("../Benchmark.style.js");
|
|
11
|
+
var _excluded = ["totalValue", "currentValue", "width", "height", "color", "linearGradientColor", "underAvarageColor", "linearGradientUnderAvarageColor", "backgroundColor"];
|
|
12
|
+
/*Benchmark*/
|
|
13
|
+
var Benchmark = function Benchmark(_ref) {
|
|
14
|
+
var _ref$totalValue = _ref.totalValue,
|
|
15
|
+
totalValue = _ref$totalValue === void 0 ? 100 : _ref$totalValue,
|
|
16
|
+
_ref$currentValue = _ref.currentValue,
|
|
17
|
+
currentValue = _ref$currentValue === void 0 ? 60 : _ref$currentValue,
|
|
18
|
+
_ref$width = _ref.width,
|
|
19
|
+
width = _ref$width === void 0 ? 100 : _ref$width,
|
|
20
|
+
_ref$height = _ref.height,
|
|
21
|
+
height = _ref$height === void 0 ? 12 : _ref$height,
|
|
22
|
+
_ref$color = _ref.color,
|
|
23
|
+
color = _ref$color === void 0 ? "#79DB95" : _ref$color,
|
|
24
|
+
_ref$linearGradientCo = _ref.linearGradientColor,
|
|
25
|
+
linearGradientColor = _ref$linearGradientCo === void 0 ? "#C3EFD0" : _ref$linearGradientCo,
|
|
26
|
+
_ref$underAvarageColo = _ref.underAvarageColor,
|
|
27
|
+
underAvarageColor = _ref$underAvarageColo === void 0 ? "#FD5959" : _ref$underAvarageColo,
|
|
28
|
+
_ref$linearGradientUn = _ref.linearGradientUnderAvarageColor,
|
|
29
|
+
linearGradientUnderAvarageColor = _ref$linearGradientUn === void 0 ? "#FDB1B1" : _ref$linearGradientUn,
|
|
30
|
+
_ref$backgroundColor = _ref.backgroundColor,
|
|
31
|
+
backgroundColor = _ref$backgroundColor === void 0 ? "#F2F2F2" : _ref$backgroundColor,
|
|
32
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
33
|
+
var getCurrentValueRectangleWidth = function getCurrentValueRectangleWidth() {
|
|
34
|
+
if (!totalValue) return 0;
|
|
35
|
+
if (currentValue > totalValue) return width;
|
|
36
|
+
return currentValue / totalValue * width;
|
|
37
|
+
};
|
|
38
|
+
var getUnderAvarageColor = function getUnderAvarageColor() {
|
|
39
|
+
if (!totalValue) return backgroundColor;
|
|
40
|
+
if (currentValue > totalValue) return color;
|
|
41
|
+
if (currentValue / totalValue <= 0.5) {
|
|
42
|
+
return underAvarageColor;
|
|
43
|
+
} else {
|
|
44
|
+
return color;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
var getUnderAvaragelinearGradientColor = function getUnderAvaragelinearGradientColor() {
|
|
48
|
+
if (!totalValue) return backgroundColor;
|
|
49
|
+
if (currentValue > totalValue) return linearGradientColor;
|
|
50
|
+
if (currentValue / totalValue <= 0.5) {
|
|
51
|
+
return linearGradientUnderAvarageColor;
|
|
52
|
+
} else {
|
|
53
|
+
return linearGradientColor;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
return /*#__PURE__*/_react.default.createElement(_BenchmarkStyle.ControlsContainer, {
|
|
57
|
+
height: height,
|
|
58
|
+
width: width
|
|
59
|
+
}, /*#__PURE__*/_react.default.createElement(_BenchmarkStyle.Controls, {
|
|
60
|
+
height: height,
|
|
61
|
+
width: width
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement(_BenchmarkStyle.BackgroundValueRectangle, {
|
|
63
|
+
height: height,
|
|
64
|
+
width: width,
|
|
65
|
+
color: backgroundColor
|
|
66
|
+
}), /*#__PURE__*/_react.default.createElement(_BenchmarkStyle.CurrentValueRectangle, {
|
|
67
|
+
height: height,
|
|
68
|
+
width: getCurrentValueRectangleWidth(),
|
|
69
|
+
color: getUnderAvarageColor(),
|
|
70
|
+
linearGradientColor: getUnderAvaragelinearGradientColor()
|
|
71
|
+
}), /*#__PURE__*/_react.default.createElement(_BenchmarkStyle.AvarageDelimiter, {
|
|
72
|
+
height: height + 4,
|
|
73
|
+
width: 0,
|
|
74
|
+
top: -2,
|
|
75
|
+
left: width / 2
|
|
76
|
+
})));
|
|
77
|
+
};
|
|
78
|
+
exports.Benchmark = Benchmark;
|
|
79
|
+
var _default = Benchmark;
|
|
80
|
+
exports.default = _default;
|
package/package.json
CHANGED
package/.storybook/YourTheme.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// .storybook/YourTheme.js
|
|
2
|
-
|
|
3
|
-
import { create } from "@storybook/theming";
|
|
4
|
-
|
|
5
|
-
export default create({
|
|
6
|
-
base: "light",
|
|
7
|
-
brandTitle: "Sagramata storybook",
|
|
8
|
-
brandUrl: "https://www.sag121.com/",
|
|
9
|
-
brandImage: "https://www.sag121.com/wp-content/uploads/2022/09/logo-1.svg",
|
|
10
|
-
brandTarget: "_self",
|
|
11
|
-
});
|
package/.storybook/main.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/** @type { import('@storybook/react-webpack5').StorybookConfig } */
|
|
2
|
-
const config = {
|
|
3
|
-
stories: ["../src/stories/**/*.mdx", "../src/stories/**/*.stories.@(js|jsx|ts|tsx)"],
|
|
4
|
-
addons: [
|
|
5
|
-
"@storybook/addon-links",
|
|
6
|
-
"@storybook/addon-essentials",
|
|
7
|
-
"@storybook/addon-interactions",
|
|
8
|
-
{
|
|
9
|
-
name: '@storybook/addon-storysource',
|
|
10
|
-
options: {
|
|
11
|
-
rule: {
|
|
12
|
-
test: [/\.stories\.jsx?$/], //This is default
|
|
13
|
-
//include: [path.resolve(__dirname, '../stories')], // You can specify directories
|
|
14
|
-
},
|
|
15
|
-
loaderOptions: {
|
|
16
|
-
prettierConfig: { printWidth: 80, singleQuote: false },
|
|
17
|
-
injectStoryParameters: false,
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
framework: {
|
|
23
|
-
name: "@storybook/react-webpack5",
|
|
24
|
-
options: {},
|
|
25
|
-
},
|
|
26
|
-
docs: {
|
|
27
|
-
autodocs: "tag",
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
export default config;
|
package/.storybook/manager.js
DELETED
package/.storybook/preview.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** @type { import('@storybook/react').Preview } */
|
|
2
|
-
const preview = {
|
|
3
|
-
parameters: {
|
|
4
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
5
|
-
controls: {
|
|
6
|
-
matchers: {
|
|
7
|
-
color: /(background|color)$/i,
|
|
8
|
-
date: /Date$/,
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default preview;
|
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/index.html
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<meta
|
|
9
|
-
name="description"
|
|
10
|
-
content="Web site created using create-react-app"
|
|
11
|
-
/>
|
|
12
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
13
|
-
<!--
|
|
14
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
15
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
16
|
-
-->
|
|
17
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
18
|
-
<!--
|
|
19
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
20
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
21
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
22
|
-
|
|
23
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
24
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
25
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
26
|
-
-->
|
|
27
|
-
<link
|
|
28
|
-
rel="stylesheet"
|
|
29
|
-
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
|
30
|
-
/>
|
|
31
|
-
<link
|
|
32
|
-
rel="stylesheet"
|
|
33
|
-
href="https://fonts.googleapis.com/icon?family=Material+Icons"
|
|
34
|
-
/>
|
|
35
|
-
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
|
36
|
-
<title>React App</title>
|
|
37
|
-
</head>
|
|
38
|
-
<body>
|
|
39
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
40
|
-
<div id="root"></div>
|
|
41
|
-
<!--
|
|
42
|
-
This HTML file is a template.
|
|
43
|
-
If you open it directly in the browser, you will see an empty page.
|
|
44
|
-
|
|
45
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
46
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
47
|
-
|
|
48
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
49
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
50
|
-
-->
|
|
51
|
-
</body>
|
|
52
|
-
</html>
|
package/public/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
package/public/robots.txt
DELETED
package/src/App.css
DELETED
package/src/App.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import logo from "./logo.svg";
|
|
2
|
-
import "./App.css";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
|
|
5
|
-
import Button from "./stories/components/Button";
|
|
6
|
-
import Dropdown from "./stories/components/Dropdown";
|
|
7
|
-
import SegmentedButton from "./stories/components/SegmentedButton";
|
|
8
|
-
import TotalDoughnutChart from "./stories/components/TotalDoughnutChart";
|
|
9
|
-
import OneColumnContainer from "./stories/components/OneColumnContainer";
|
|
10
|
-
|
|
11
|
-
const onChangehandler = (event, newValue) => {
|
|
12
|
-
console.log("Dropdown onChange event returned:");
|
|
13
|
-
console.log(newValue);
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const onInputChangeHandler = (event, newInputValue) => {
|
|
17
|
-
console.log("Dropdown onInputChange event returned:");
|
|
18
|
-
console.log(newInputValue);
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
function App() {
|
|
22
|
-
const options = [
|
|
23
|
-
{ id: "1", label: "Shufersal" },
|
|
24
|
-
{ id: "2", label: "EPC" },
|
|
25
|
-
{ id: "3", label: "Food Lion" },
|
|
26
|
-
{ id: "4", label: "Hannaford" },
|
|
27
|
-
{ id: "5", label: "Giant Food" },
|
|
28
|
-
{ id: "6", label: "The Giant Company" },
|
|
29
|
-
{ id: "7", label: "Stop&Shop" },
|
|
30
|
-
{ id: "8", label: "Price Chopper" },
|
|
31
|
-
{ id: "9", label: "South Eastern Grocers" },
|
|
32
|
-
];
|
|
33
|
-
|
|
34
|
-
const segmentsArr1 = [
|
|
35
|
-
{
|
|
36
|
-
label: "Complete",
|
|
37
|
-
value: "complete",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: "Incomplete",
|
|
41
|
-
value: "incomplete",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
label: "Pending",
|
|
45
|
-
value: "pending",
|
|
46
|
-
},
|
|
47
|
-
];
|
|
48
|
-
|
|
49
|
-
const segmentsArr2 = [
|
|
50
|
-
{
|
|
51
|
-
label: "First",
|
|
52
|
-
value: "first",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
label: "Second",
|
|
56
|
-
value: "second",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: "Third",
|
|
60
|
-
value: "third",
|
|
61
|
-
},
|
|
62
|
-
];
|
|
63
|
-
|
|
64
|
-
const [selectedValue1, setSelectedValue1] = useState("complete");
|
|
65
|
-
const [selectedValue2, setSelectedValue2] = useState("complete");
|
|
66
|
-
|
|
67
|
-
return (
|
|
68
|
-
<div className="App">
|
|
69
|
-
<OneColumnContainer
|
|
70
|
-
height="250px"
|
|
71
|
-
infoText="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s"
|
|
72
|
-
width="250px"
|
|
73
|
-
/>
|
|
74
|
-
|
|
75
|
-
<TotalDoughnutChart
|
|
76
|
-
currency
|
|
77
|
-
currencyType="USD"
|
|
78
|
-
dotCut
|
|
79
|
-
height={374}
|
|
80
|
-
legendData={[
|
|
81
|
-
{
|
|
82
|
-
color: "#85A1D2",
|
|
83
|
-
currency: "USD",
|
|
84
|
-
name: "Package Cost",
|
|
85
|
-
value: 30000,
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
color: "#9AE6FF",
|
|
89
|
-
currency: "USD",
|
|
90
|
-
name: "Redemption Cost",
|
|
91
|
-
value: 6500,
|
|
92
|
-
},
|
|
93
|
-
]}
|
|
94
|
-
textColor="#212121"
|
|
95
|
-
title="Total Cost"
|
|
96
|
-
value={36500}
|
|
97
|
-
width={336}
|
|
98
|
-
/>
|
|
99
|
-
{/*
|
|
100
|
-
<Dropdown
|
|
101
|
-
width="300"
|
|
102
|
-
size="small"
|
|
103
|
-
text="Select retailer......"
|
|
104
|
-
multiSelect={false}
|
|
105
|
-
options={options}
|
|
106
|
-
shape="round"
|
|
107
|
-
onChange={onChangehandler}
|
|
108
|
-
onInputChange={onInputChangeHandler}
|
|
109
|
-
/>
|
|
110
|
-
<Dropdown
|
|
111
|
-
width={400}
|
|
112
|
-
size="small"
|
|
113
|
-
text="Select retailer......"
|
|
114
|
-
multiSelect={true}
|
|
115
|
-
options={options}
|
|
116
|
-
shape="round"
|
|
117
|
-
onChange={onChangehandler}
|
|
118
|
-
onInputChange={onInputChangeHandler}
|
|
119
|
-
/>
|
|
120
|
-
<SegmentedButton
|
|
121
|
-
backgroundColor="#ECF0FF"
|
|
122
|
-
controlRadius={8}
|
|
123
|
-
defaultIndex={0}
|
|
124
|
-
fontSize={14}
|
|
125
|
-
name="segmentedFilter"
|
|
126
|
-
onClick={() => {}}
|
|
127
|
-
options={[
|
|
128
|
-
{
|
|
129
|
-
value: "Total",
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
value: "Ecommerce",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
value: "In Store",
|
|
136
|
-
},
|
|
137
|
-
]}
|
|
138
|
-
segmentHeigth={40}
|
|
139
|
-
segmentRadius={8}
|
|
140
|
-
segmentWidth={120}
|
|
141
|
-
selectedSegmentColor="#fcfcfc"
|
|
142
|
-
selectedTextColor="#000000"
|
|
143
|
-
unselectedTextColor="#000000"
|
|
144
|
-
/> */}
|
|
145
|
-
</div>
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export default App;
|
package/src/App.test.js
DELETED
package/src/index.css
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
body {
|
|
2
|
-
margin: 0;
|
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
4
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
5
|
-
sans-serif;
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
-moz-osx-font-smoothing: grayscale;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
code {
|
|
11
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
12
|
-
monospace;
|
|
13
|
-
}
|
package/src/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ReactDOM from 'react-dom/client';
|
|
3
|
-
import './index.css';
|
|
4
|
-
import App from './App';
|
|
5
|
-
// import '@fontsource/roboto/300.css';
|
|
6
|
-
// import '@fontsource/roboto/400.css';
|
|
7
|
-
// import '@fontsource/roboto/500.css';
|
|
8
|
-
// import '@fontsource/roboto/700.css';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
13
|
-
root.render(
|
|
14
|
-
<React.StrictMode>
|
|
15
|
-
<App />
|
|
16
|
-
</React.StrictMode>
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
// If you want to start measuring performance in your app, pass a function
|
|
20
|
-
// to log results (for example: reportWebVitals(console.log))
|
|
21
|
-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
22
|
-
|
package/src/logo.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
|