@semcore/illustration 2.29.0 → 2.30.0-prerelease.0
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/AccessDenied/index.d.ts +27 -3
- package/AccessDenied/index.js +211 -205
- package/AccessDenied/index.mjs +211 -205
- package/AccessLogIn/index.d.ts +27 -3
- package/AccessLogIn/index.js +313 -307
- package/AccessLogIn/index.mjs +313 -307
- package/AreaChart/index.d.ts +27 -3
- package/AreaChart/index.js +58 -52
- package/AreaChart/index.mjs +58 -52
- package/Blocked/index.d.ts +27 -3
- package/Blocked/index.js +462 -456
- package/Blocked/index.mjs +462 -456
- package/CHANGELOG.md +11 -1
- package/ChoroplethMapChart/index.d.ts +27 -3
- package/ChoroplethMapChart/index.js +80 -74
- package/ChoroplethMapChart/index.mjs +80 -74
- package/Coffee/index.d.ts +27 -3
- package/Coffee/index.js +65 -59
- package/Coffee/index.mjs +65 -59
- package/Collection/index.d.ts +27 -3
- package/Collection/index.js +59 -53
- package/Collection/index.mjs +59 -53
- package/CombinedChart/index.d.ts +27 -3
- package/CombinedChart/index.js +87 -81
- package/CombinedChart/index.mjs +87 -81
- package/Confirmation/index.d.ts +27 -3
- package/Confirmation/index.js +236 -230
- package/Confirmation/index.mjs +236 -230
- package/Congrats/index.d.ts +27 -3
- package/Congrats/index.js +116 -110
- package/Congrats/index.mjs +116 -110
- package/ConnectionLost/index.d.ts +27 -3
- package/ConnectionLost/index.js +268 -262
- package/ConnectionLost/index.mjs +268 -262
- package/DeletedAccount/index.d.ts +27 -3
- package/DeletedAccount/index.js +345 -339
- package/DeletedAccount/index.mjs +345 -339
- package/DeletedPage/index.d.ts +27 -3
- package/DeletedPage/index.js +50 -44
- package/DeletedPage/index.mjs +50 -44
- package/Dns/index.d.ts +27 -3
- package/Dns/index.js +149 -143
- package/Dns/index.mjs +149 -143
- package/DonutChart/index.d.ts +27 -3
- package/DonutChart/index.js +100 -94
- package/DonutChart/index.mjs +100 -94
- package/Duplicates/index.d.ts +27 -3
- package/Duplicates/index.js +77 -71
- package/Duplicates/index.mjs +77 -71
- package/Feedback/index.d.ts +27 -3
- package/Feedback/index.js +65 -59
- package/Feedback/index.mjs +65 -59
- package/FunnelChart/index.d.ts +27 -3
- package/FunnelChart/index.js +67 -61
- package/FunnelChart/index.mjs +67 -61
- package/Good/index.d.ts +27 -3
- package/Good/index.js +100 -94
- package/Good/index.mjs +100 -94
- package/HeatMapChart/index.d.ts +27 -3
- package/HeatMapChart/index.js +85 -79
- package/HeatMapChart/index.mjs +85 -79
- package/HorizontalBarChart/index.d.ts +27 -3
- package/HorizontalBarChart/index.js +71 -65
- package/HorizontalBarChart/index.mjs +71 -65
- package/KagiChart/index.d.ts +27 -3
- package/KagiChart/index.js +52 -46
- package/KagiChart/index.mjs +52 -46
- package/LineChart/index.d.ts +27 -3
- package/LineChart/index.js +55 -49
- package/LineChart/index.mjs +55 -49
- package/LollipopChart/index.d.ts +27 -3
- package/LollipopChart/index.js +72 -66
- package/LollipopChart/index.mjs +72 -66
- package/MailSent/index.d.ts +27 -3
- package/MailSent/index.js +111 -105
- package/MailSent/index.mjs +111 -105
- package/Maintenance/index.d.ts +27 -3
- package/Maintenance/index.js +332 -326
- package/Maintenance/index.mjs +332 -326
- package/Nexttime/index.d.ts +27 -3
- package/Nexttime/index.js +79 -73
- package/Nexttime/index.mjs +79 -73
- package/NoPayment/index.d.ts +27 -3
- package/NoPayment/index.js +273 -267
- package/NoPayment/index.mjs +273 -267
- package/NothingFound/index.d.ts +27 -3
- package/NothingFound/index.js +103 -97
- package/NothingFound/index.mjs +103 -97
- package/OtherData/index.d.ts +27 -3
- package/OtherData/index.js +86 -80
- package/OtherData/index.mjs +86 -80
- package/PageError/index.d.ts +27 -3
- package/PageError/index.js +193 -187
- package/PageError/index.mjs +193 -187
- package/PageNotFound/index.d.ts +27 -3
- package/PageNotFound/index.js +253 -247
- package/PageNotFound/index.mjs +253 -247
- package/PieChart/index.d.ts +27 -3
- package/PieChart/index.js +85 -79
- package/PieChart/index.mjs +85 -79
- package/Processing/index.d.ts +27 -3
- package/Processing/index.js +65 -59
- package/Processing/index.mjs +65 -59
- package/ProjectNotFound/index.d.ts +27 -3
- package/ProjectNotFound/index.js +216 -210
- package/ProjectNotFound/index.mjs +216 -210
- package/RadarChart/index.d.ts +27 -3
- package/RadarChart/index.js +64 -58
- package/RadarChart/index.mjs +64 -58
- package/RadialTreeChart/index.d.ts +27 -3
- package/RadialTreeChart/index.js +106 -100
- package/RadialTreeChart/index.mjs +106 -100
- package/SankeyChart/index.d.ts +27 -3
- package/SankeyChart/index.js +92 -86
- package/SankeyChart/index.mjs +92 -86
- package/ScatterPlotChart/index.d.ts +27 -3
- package/ScatterPlotChart/index.js +77 -71
- package/ScatterPlotChart/index.mjs +77 -71
- package/StackedAreaChart/index.d.ts +27 -3
- package/StackedAreaChart/index.js +79 -73
- package/StackedAreaChart/index.mjs +79 -73
- package/Suggestion/index.d.ts +27 -3
- package/Suggestion/index.js +63 -57
- package/Suggestion/index.mjs +63 -57
- package/Suggestions/index.d.ts +27 -3
- package/Suggestions/index.js +66 -60
- package/Suggestions/index.mjs +66 -60
- package/Table/index.d.ts +27 -3
- package/Table/index.js +50 -44
- package/Table/index.mjs +50 -44
- package/TagCloud/index.d.ts +27 -3
- package/TagCloud/index.js +77 -71
- package/TagCloud/index.mjs +77 -71
- package/TextLinksEtc/index.d.ts +27 -3
- package/TextLinksEtc/index.js +53 -47
- package/TextLinksEtc/index.mjs +53 -47
- package/Timeout/index.d.ts +27 -3
- package/Timeout/index.js +350 -344
- package/Timeout/index.mjs +350 -344
- package/UnderConstruction/index.d.ts +27 -3
- package/UnderConstruction/index.js +112 -106
- package/UnderConstruction/index.mjs +112 -106
- package/VennChart/index.d.ts +27 -3
- package/VennChart/index.js +78 -72
- package/VennChart/index.mjs +78 -72
- package/VerticalBarChart/index.d.ts +27 -3
- package/VerticalBarChart/index.js +72 -66
- package/VerticalBarChart/index.mjs +72 -66
- package/Waiting/index.d.ts +27 -3
- package/Waiting/index.js +65 -59
- package/Waiting/index.mjs +65 -59
- package/Warning/index.d.ts +27 -3
- package/Warning/index.js +60 -54
- package/Warning/index.mjs +60 -54
- package/lib/cjs/index.js +1 -1
- package/lib/es6/index.js +1 -1
- package/package.json +4 -3
- package/transform.ts +108 -16
|
@@ -1,77 +1,83 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
3
|
import { Box } from "@semcore/flex-box";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}), /* @__PURE__ */ React.createElement("path", {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
})
|
|
4
|
+
import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
|
|
5
|
+
const ScatterPlotChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
|
+
const colorResolver = useColorResolver();
|
|
7
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
8
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
9
|
+
return /* @__PURE__ */ React.createElement(Box, {
|
|
10
|
+
ref,
|
|
11
|
+
width,
|
|
12
|
+
height,
|
|
13
|
+
viewBox,
|
|
14
|
+
fill,
|
|
15
|
+
tag: "svg",
|
|
16
|
+
...props
|
|
17
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
18
|
+
d: "M5.233 57.654V67.2c0 .45.18.9.54 1.17l5.855 5.855c.36.36.72.54 1.171.54h9.547A38.959 38.959 0 0 0 40 79c6.395 0 12.34-1.531 17.654-4.233H67.2c.45 0 .9-.18 1.17-.54l5.855-5.855c.36-.36.54-.72.54-1.171v-9.547A38.96 38.96 0 0 0 79 40a38.68 38.68 0 0 0-4.233-17.654V12.8c0-.45-.18-.9-.54-1.17l-5.855-5.855c-.36-.36-.72-.54-1.171-.54h-9.547A38.959 38.959 0 0 0 40 1a38.678 38.678 0 0 0-17.654 4.233H12.8c-.45 0-.9.18-1.17.54l-5.855 5.855c-.36.36-.54.72-.54 1.171v9.547A38.959 38.959 0 0 0 1 40c0 6.395 1.531 12.34 4.233 17.654Z",
|
|
19
|
+
fill: resolvedPrimaryColor
|
|
20
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
21
|
+
d: "M65.925 57.617s.086-.054.119-.086l6.495-4.324-3.134-1.696-3.134.756-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.504 6.504 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l10.44 36.648a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342a2.94 2.94 0 0 0 .746-.346l.054-.032.01-.011Z",
|
|
22
|
+
fill: resolvedPrimaryColor,
|
|
23
|
+
stroke: resolvedSecondaryColor,
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeLinejoin: "round",
|
|
26
|
+
strokeWidth: ".7"
|
|
27
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
28
|
+
d: "M71.76 53.553 24.086 66.555a2.734 2.734 0 0 1-3.35-1.892L9.745 26.07c-.961-3.372 1.157-6.852 4.594-7.555l42.873-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33Z",
|
|
29
|
+
fill: "#fff"
|
|
30
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
31
|
+
d: "M65.449 18.818 11.065 30.76l-1.34-4.69c-.962-3.372 1.156-6.852 4.593-7.555l42.885-8.743c3.134-.638 6.225 1.286 7.024 4.377l1.222 4.669Z",
|
|
32
|
+
fill: resolvedSecondaryColor
|
|
33
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
34
|
+
d: "M18.394 23.427a1.873 1.873 0 0 1-1.416 2.367c-1.08.238-2.226-.454-2.529-1.524a1.868 1.868 0 0 1 1.427-2.366c1.092-.227 2.216.464 2.518 1.534v-.01Z",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
37
|
+
d: "M25.372 21.958c.291 1.059-.325 2.107-1.395 2.334-1.07.227-2.183-.454-2.474-1.524-.292-1.07.324-2.118 1.404-2.345 1.081-.227 2.173.465 2.465 1.524v.01Z",
|
|
38
|
+
fill: resolvedPrimaryColor
|
|
39
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
40
|
+
d: "M11.087 30.862s.324-3.156.605-6.387l-1.373-3.08-3.415 5.879a6.509 6.509 0 0 0-.216.367v.022a5.638 5.638 0 0 0-.454 4.247l1.394 4.907 3.459-5.966v.01Z",
|
|
41
|
+
fill: resolvedSecondaryColor
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "M71.76 53.553 24.086 66.555a2.734 2.734 0 0 1-3.35-1.892L9.745 26.07c-.961-3.372 1.157-6.852 4.594-7.555l42.873-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33Z",
|
|
44
|
+
stroke: resolvedSecondaryColor,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: ".7"
|
|
48
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
49
|
+
d: "M66.66 50.627 27.87 61.013l-7.792-27.7",
|
|
50
|
+
stroke: resolvedSecondaryColor,
|
|
51
|
+
strokeMiterlimit: "10",
|
|
52
|
+
strokeWidth: ".7"
|
|
53
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
54
|
+
d: "M31.57 38.904c.389 1.415-.627 2.896-2.291 3.307-1.665.41-3.35-.411-3.75-1.849-.4-1.437.637-2.918 2.312-3.317 1.665-.4 3.329.432 3.718 1.858h.01ZM61.48 35.131c.65-1.405.844-2.993.422-4.55-1.037-3.912-5.436-6.268-9.867-5.252a8.82 8.82 0 0 0-1.88.67l-.4-.303-2.14 2.162c-1.665 1.783-2.41 4.204-1.762 6.592 1.08 3.978 5.588 6.29 10.019 5.177a8.746 8.746 0 0 0 3.772-2l2.215-2.182-.367-.303-.011-.01ZM49.262 49.959l-.52-.367a4.875 4.875 0 0 0 .077-2.756c-.79-2.886-4.107-4.561-7.436-3.729a6.89 6.89 0 0 0-1.178.41l-.357-.248-1.707 1.697c-1.297 1.35-1.892 3.188-1.405 4.982.81 2.918 4.182 4.572 7.522 3.696a6.737 6.737 0 0 0 2.929-1.61l2.075-2.064v-.011Z",
|
|
55
|
+
fill: resolvedSecondaryColor,
|
|
56
|
+
stroke: resolvedSecondaryColor,
|
|
57
|
+
strokeLinecap: "round",
|
|
58
|
+
strokeLinejoin: "round",
|
|
59
|
+
strokeWidth: ".7"
|
|
60
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
61
|
+
d: "M63.785 28.697c1.038 3.902-1.653 7.944-6.041 9.035-4.442 1.114-8.949-1.2-10.019-5.176-1.07-3.977 1.708-8.074 6.193-9.111 4.431-1.027 8.83 1.34 9.867 5.252Z",
|
|
62
|
+
fill: resolvedPrimaryColor,
|
|
63
|
+
stroke: resolvedSecondaryColor,
|
|
64
|
+
strokeLinecap: "round",
|
|
65
|
+
strokeLinejoin: "round",
|
|
66
|
+
strokeWidth: ".7"
|
|
67
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
68
|
+
d: "M50.716 44.93c.79 2.886-1.243 5.923-4.56 6.788-3.34.875-6.723-.767-7.523-3.696-.8-2.929 1.286-5.987 4.648-6.83 3.34-.833 6.657.843 7.435 3.728v.01Z",
|
|
69
|
+
fill: "#fff",
|
|
70
|
+
stroke: resolvedSecondaryColor,
|
|
71
|
+
strokeLinecap: "round",
|
|
72
|
+
strokeLinejoin: "round",
|
|
73
|
+
strokeWidth: ".7"
|
|
74
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
75
|
+
d: "m43.006 41.254-4.35 6.309M47.986 41.73l-6.474 9.446M50.768 45.41l-4.181 6.095",
|
|
76
|
+
stroke: resolvedSecondaryColor,
|
|
77
|
+
strokeMiterlimit: "10",
|
|
78
|
+
strokeWidth: ".7"
|
|
79
|
+
}));
|
|
80
|
+
};
|
|
75
81
|
ScatterPlotChart.displayName = "ScatterPlotChart";
|
|
76
82
|
var stdin_default = createBaseComponent(ScatterPlotChart);
|
|
77
83
|
export {
|
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
import { Intergalactic } from '@semcore/core';
|
|
4
|
+
|
|
5
|
+
type IllustrationProps = BoxProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Main color of the illustration
|
|
8
|
+
**/
|
|
9
|
+
primaryColor?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Secondary color of the illustration
|
|
12
|
+
**/
|
|
13
|
+
secondaryColor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Changes background fill of the illustration
|
|
16
|
+
**/
|
|
17
|
+
fill?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Width of the illustration
|
|
20
|
+
**/
|
|
21
|
+
width?: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Height of the illustration
|
|
24
|
+
**/
|
|
25
|
+
height?: string | number;
|
|
26
|
+
}
|
|
27
|
+
declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
|
|
28
|
+
export default Illustration;
|
|
@@ -26,78 +26,84 @@ module.exports = __toCommonJS(stdin_exports);
|
|
|
26
26
|
var import_react = __toESM(require("react"));
|
|
27
27
|
var import_core = require("@semcore/core");
|
|
28
28
|
var import_flex_box = require("@semcore/flex-box");
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
29
|
+
var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
30
|
+
const StackedAreaChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
31
|
+
const colorResolver = (0, import_useColorResolver.useColorResolver)();
|
|
32
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
33
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
34
|
+
return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
|
|
35
|
+
ref,
|
|
36
|
+
width,
|
|
37
|
+
height,
|
|
38
|
+
viewBox,
|
|
39
|
+
fill,
|
|
40
|
+
tag: "svg",
|
|
41
|
+
...props
|
|
42
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
43
|
+
d: "M40.585 74.872C61.996 74.603 79 56.867 79 35.547v-15.05a.996.996 0 0 0-.99-.985H53V5.985A.996.996 0 0 0 52.01 5H27.99c-.54 0-.99.448-.99.985v6.27H1.99c-.54 0-.99.449-.99.986v22.843c.18 21.589 17.903 39.057 39.585 38.788Z",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
46
|
+
d: "M62.925 57.607s.086-.054.119-.087l6.495-4.323-3.134-1.696-3.134.756-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15L8.703 24.503 7.31 21.38l-3.415 5.88a6.51 6.51 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l10.44 36.648a2.587 2.587 0 0 0 3.178 1.794l45.272-12.342a2.94 2.94 0 0 0 .746-.346l.054-.032.01-.011Z",
|
|
47
|
+
fill: resolvedPrimaryColor,
|
|
48
|
+
stroke: resolvedSecondaryColor,
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeWidth: ".7"
|
|
52
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
53
|
+
d: "M68.763 53.554 21.091 66.555a2.734 2.734 0 0 1-3.35-1.891L6.749 26.07c-.961-3.372 1.157-6.852 4.594-7.554l42.873-8.744c3.134-.637 6.225 1.286 7.025 4.377l9.446 36.076a2.73 2.73 0 0 1-1.924 3.329Z",
|
|
54
|
+
fill: "#fff"
|
|
55
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
56
|
+
d: "M62.452 18.818 8.07 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.884-8.744c3.134-.637 6.225 1.286 7.025 4.377l1.221 4.67Z",
|
|
57
|
+
fill: resolvedSecondaryColor
|
|
58
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
59
|
+
d: "M15.394 23.419a1.873 1.873 0 0 1-1.416 2.366c-1.091.238-2.226-.454-2.529-1.523a1.868 1.868 0 0 1 1.427-2.367c1.091-.227 2.215.464 2.518 1.534v-.01Z",
|
|
60
|
+
fill: "#fff"
|
|
61
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
62
|
+
d: "M22.375 21.938c.292 1.06-.324 2.108-1.394 2.335-1.07.227-2.183-.454-2.475-1.524-.292-1.07.324-2.118 1.405-2.345 1.08-.227 2.172.464 2.464 1.523v.011Z",
|
|
63
|
+
fill: resolvedPrimaryColor
|
|
64
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
65
|
+
d: "M8.087 30.842s.324-3.155.605-6.387l-1.372-3.08-3.415 5.88a6.51 6.51 0 0 0-.217.367v.021a5.637 5.637 0 0 0-.453 4.248l1.394 4.906 3.458-5.965v.01Z",
|
|
66
|
+
fill: resolvedSecondaryColor
|
|
67
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
68
|
+
d: "m70.684 50.223-4.982-19.021c-3.75.583-6.7 1.523-8.505 2.875-8.463 6.279-7.22 18.264-11.65 21.042-5.286 3.307-11.705-6.312-18.914-4.302-4.604 1.286-6.474 7.533-7.922 15.25.66.508 1.524.713 2.388.475l47.672-13.001a2.73 2.73 0 0 0 1.924-3.329l-.01.01Z",
|
|
69
|
+
fill: resolvedPrimaryColor
|
|
70
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
71
|
+
d: "M18.69 66.108c1.502-8.376 3.047-13.931 7.932-15.293 7.209-2.01 13.629 7.608 18.913 4.301 4.442-2.777 3.2-14.763 11.651-21.042 3.415-2.529 10.808-3.664 20.145-3.556",
|
|
72
|
+
stroke: resolvedSecondaryColor,
|
|
73
|
+
strokeLinecap: "round",
|
|
74
|
+
strokeLinejoin: "round",
|
|
75
|
+
strokeWidth: ".7"
|
|
76
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
77
|
+
d: "M59.837 33.563c.443 1.675-.368 3.296-1.816 3.642-1.448.346-3.005-.746-3.458-2.421-.454-1.675.367-3.329 1.837-3.653 1.459-.324 2.994.767 3.447 2.443l-.01-.011ZM29.27 50.213c.443 1.675-.367 3.297-1.815 3.642-1.449.346-3.005-.745-3.459-2.42-.454-1.676.368-3.33 1.838-3.653 1.459-.325 2.993.767 3.447 2.442l-.01-.01ZM48.183 54.51c.444 1.676-.367 3.297-1.815 3.643-1.449.345-3.005-.746-3.459-2.421-.454-1.675.368-3.329 1.837-3.653 1.47-.325 2.994.767 3.448 2.442l-.01-.01Z",
|
|
78
|
+
fill: resolvedSecondaryColor
|
|
79
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
80
|
+
d: "M56.343 24.233c.443 1.675-.367 3.296-1.816 3.642-1.448.346-3.004-.745-3.458-2.42-.454-1.676.367-3.33 1.837-3.654 1.46-.324 2.994.768 3.448 2.443l-.011-.01ZM25.77 40.894c.443 1.675-.367 3.297-1.815 3.642-1.449.346-3.005-.745-3.459-2.42-.454-1.676.368-3.33 1.838-3.654 1.47-.324 2.993.768 3.447 2.443l-.01-.01ZM44.693 45.191c.444 1.675-.367 3.296-1.815 3.642-1.449.346-3.005-.745-3.459-2.42-.454-1.676.368-3.33 1.838-3.654 1.459-.324 2.993.768 3.447 2.443l-.01-.01Z",
|
|
81
|
+
fill: resolvedPrimaryColor
|
|
82
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
83
|
+
d: "M68.763 53.554 21.091 66.555a2.734 2.734 0 0 1-3.35-1.891L6.749 26.07c-.961-3.372 1.157-6.852 4.594-7.554l42.873-8.744c3.134-.637 6.225 1.286 7.025 4.377l9.446 36.076a2.73 2.73 0 0 1-1.924 3.329v0Z",
|
|
84
|
+
stroke: resolvedSecondaryColor,
|
|
85
|
+
strokeLinecap: "round",
|
|
86
|
+
strokeLinejoin: "round",
|
|
87
|
+
strokeWidth: ".7"
|
|
88
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
89
|
+
d: "M63.23 21.728c3.09-.41 6.679-.583 10.613-.53",
|
|
90
|
+
stroke: "#fff",
|
|
91
|
+
strokeLinecap: "round",
|
|
92
|
+
strokeLinejoin: "round",
|
|
93
|
+
strokeWidth: ".7"
|
|
94
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
95
|
+
d: "M15.469 56.7c1.502-8.376 2.767-13.834 7.662-15.196 7.21-2.01 13.629 7.609 18.914 4.302 4.442-2.778 3.199-14.764 11.65-21.043 1.978-1.47 5.285-2.464 9.522-3.026",
|
|
96
|
+
stroke: resolvedPrimaryColor,
|
|
97
|
+
strokeLinecap: "round",
|
|
98
|
+
strokeLinejoin: "round",
|
|
99
|
+
strokeWidth: ".7"
|
|
100
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
101
|
+
d: "m14.14 52.014 2.14 7.5",
|
|
102
|
+
stroke: resolvedSecondaryColor,
|
|
103
|
+
strokeLinecap: "round",
|
|
104
|
+
strokeLinejoin: "round",
|
|
105
|
+
strokeWidth: ".7"
|
|
106
|
+
}));
|
|
107
|
+
};
|
|
102
108
|
StackedAreaChart.displayName = "StackedAreaChart";
|
|
103
109
|
var stdin_default = (0, import_core.createBaseComponent)(StackedAreaChart);
|
|
@@ -1,79 +1,85 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createBaseComponent } from "@semcore/core";
|
|
3
3
|
import { Box } from "@semcore/flex-box";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
4
|
+
import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
|
|
5
|
+
const StackedAreaChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
|
|
6
|
+
const colorResolver = useColorResolver();
|
|
7
|
+
const resolvedPrimaryColor = colorResolver(primaryColor);
|
|
8
|
+
const resolvedSecondaryColor = colorResolver(secondaryColor);
|
|
9
|
+
return /* @__PURE__ */ React.createElement(Box, {
|
|
10
|
+
ref,
|
|
11
|
+
width,
|
|
12
|
+
height,
|
|
13
|
+
viewBox,
|
|
14
|
+
fill,
|
|
15
|
+
tag: "svg",
|
|
16
|
+
...props
|
|
17
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
18
|
+
d: "M40.585 74.872C61.996 74.603 79 56.867 79 35.547v-15.05a.996.996 0 0 0-.99-.985H53V5.985A.996.996 0 0 0 52.01 5H27.99c-.54 0-.99.448-.99.985v6.27H1.99c-.54 0-.99.449-.99.986v22.843c.18 21.589 17.903 39.057 39.585 38.788Z",
|
|
19
|
+
fill: resolvedPrimaryColor
|
|
20
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
21
|
+
d: "M62.925 57.607s.086-.054.119-.087l6.495-4.323-3.134-1.696-3.134.756-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15L8.703 24.503 7.31 21.38l-3.415 5.88a6.51 6.51 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l10.44 36.648a2.587 2.587 0 0 0 3.178 1.794l45.272-12.342a2.94 2.94 0 0 0 .746-.346l.054-.032.01-.011Z",
|
|
22
|
+
fill: resolvedPrimaryColor,
|
|
23
|
+
stroke: resolvedSecondaryColor,
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeLinejoin: "round",
|
|
26
|
+
strokeWidth: ".7"
|
|
27
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
28
|
+
d: "M68.763 53.554 21.091 66.555a2.734 2.734 0 0 1-3.35-1.891L6.749 26.07c-.961-3.372 1.157-6.852 4.594-7.554l42.873-8.744c3.134-.637 6.225 1.286 7.025 4.377l9.446 36.076a2.73 2.73 0 0 1-1.924 3.329Z",
|
|
29
|
+
fill: "#fff"
|
|
30
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
31
|
+
d: "M62.452 18.818 8.07 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.884-8.744c3.134-.637 6.225 1.286 7.025 4.377l1.221 4.67Z",
|
|
32
|
+
fill: resolvedSecondaryColor
|
|
33
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
34
|
+
d: "M15.394 23.419a1.873 1.873 0 0 1-1.416 2.366c-1.091.238-2.226-.454-2.529-1.523a1.868 1.868 0 0 1 1.427-2.367c1.091-.227 2.215.464 2.518 1.534v-.01Z",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
37
|
+
d: "M22.375 21.938c.292 1.06-.324 2.108-1.394 2.335-1.07.227-2.183-.454-2.475-1.524-.292-1.07.324-2.118 1.405-2.345 1.08-.227 2.172.464 2.464 1.523v.011Z",
|
|
38
|
+
fill: resolvedPrimaryColor
|
|
39
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
40
|
+
d: "M8.087 30.842s.324-3.155.605-6.387l-1.372-3.08-3.415 5.88a6.51 6.51 0 0 0-.217.367v.021a5.637 5.637 0 0 0-.453 4.248l1.394 4.906 3.458-5.965v.01Z",
|
|
41
|
+
fill: resolvedSecondaryColor
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "m70.684 50.223-4.982-19.021c-3.75.583-6.7 1.523-8.505 2.875-8.463 6.279-7.22 18.264-11.65 21.042-5.286 3.307-11.705-6.312-18.914-4.302-4.604 1.286-6.474 7.533-7.922 15.25.66.508 1.524.713 2.388.475l47.672-13.001a2.73 2.73 0 0 0 1.924-3.329l-.01.01Z",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
46
|
+
d: "M18.69 66.108c1.502-8.376 3.047-13.931 7.932-15.293 7.209-2.01 13.629 7.608 18.913 4.301 4.442-2.777 3.2-14.763 11.651-21.042 3.415-2.529 10.808-3.664 20.145-3.556",
|
|
47
|
+
stroke: resolvedSecondaryColor,
|
|
48
|
+
strokeLinecap: "round",
|
|
49
|
+
strokeLinejoin: "round",
|
|
50
|
+
strokeWidth: ".7"
|
|
51
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
52
|
+
d: "M59.837 33.563c.443 1.675-.368 3.296-1.816 3.642-1.448.346-3.005-.746-3.458-2.421-.454-1.675.367-3.329 1.837-3.653 1.459-.324 2.994.767 3.447 2.443l-.01-.011ZM29.27 50.213c.443 1.675-.367 3.297-1.815 3.642-1.449.346-3.005-.745-3.459-2.42-.454-1.676.368-3.33 1.838-3.653 1.459-.325 2.993.767 3.447 2.442l-.01-.01ZM48.183 54.51c.444 1.676-.367 3.297-1.815 3.643-1.449.345-3.005-.746-3.459-2.421-.454-1.675.368-3.329 1.837-3.653 1.47-.325 2.994.767 3.448 2.442l-.01-.01Z",
|
|
53
|
+
fill: resolvedSecondaryColor
|
|
54
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
55
|
+
d: "M56.343 24.233c.443 1.675-.367 3.296-1.816 3.642-1.448.346-3.004-.745-3.458-2.42-.454-1.676.367-3.33 1.837-3.654 1.46-.324 2.994.768 3.448 2.443l-.011-.01ZM25.77 40.894c.443 1.675-.367 3.297-1.815 3.642-1.449.346-3.005-.745-3.459-2.42-.454-1.676.368-3.33 1.838-3.654 1.47-.324 2.993.768 3.447 2.443l-.01-.01ZM44.693 45.191c.444 1.675-.367 3.296-1.815 3.642-1.449.346-3.005-.745-3.459-2.42-.454-1.676.368-3.33 1.838-3.654 1.459-.324 2.993.768 3.447 2.443l-.01-.01Z",
|
|
56
|
+
fill: resolvedPrimaryColor
|
|
57
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
58
|
+
d: "M68.763 53.554 21.091 66.555a2.734 2.734 0 0 1-3.35-1.891L6.749 26.07c-.961-3.372 1.157-6.852 4.594-7.554l42.873-8.744c3.134-.637 6.225 1.286 7.025 4.377l9.446 36.076a2.73 2.73 0 0 1-1.924 3.329v0Z",
|
|
59
|
+
stroke: resolvedSecondaryColor,
|
|
60
|
+
strokeLinecap: "round",
|
|
61
|
+
strokeLinejoin: "round",
|
|
62
|
+
strokeWidth: ".7"
|
|
63
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
64
|
+
d: "M63.23 21.728c3.09-.41 6.679-.583 10.613-.53",
|
|
65
|
+
stroke: "#fff",
|
|
66
|
+
strokeLinecap: "round",
|
|
67
|
+
strokeLinejoin: "round",
|
|
68
|
+
strokeWidth: ".7"
|
|
69
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
70
|
+
d: "M15.469 56.7c1.502-8.376 2.767-13.834 7.662-15.196 7.21-2.01 13.629 7.609 18.914 4.302 4.442-2.778 3.199-14.764 11.65-21.043 1.978-1.47 5.285-2.464 9.522-3.026",
|
|
71
|
+
stroke: resolvedPrimaryColor,
|
|
72
|
+
strokeLinecap: "round",
|
|
73
|
+
strokeLinejoin: "round",
|
|
74
|
+
strokeWidth: ".7"
|
|
75
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
76
|
+
d: "m14.14 52.014 2.14 7.5",
|
|
77
|
+
stroke: resolvedSecondaryColor,
|
|
78
|
+
strokeLinecap: "round",
|
|
79
|
+
strokeLinejoin: "round",
|
|
80
|
+
strokeWidth: ".7"
|
|
81
|
+
}));
|
|
82
|
+
};
|
|
77
83
|
StackedAreaChart.displayName = "StackedAreaChart";
|
|
78
84
|
var stdin_default = createBaseComponent(StackedAreaChart);
|
|
79
85
|
export {
|
package/Suggestion/index.d.ts
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
import { Intergalactic } from '@semcore/core';
|
|
4
|
+
|
|
5
|
+
type IllustrationProps = BoxProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Main color of the illustration
|
|
8
|
+
**/
|
|
9
|
+
primaryColor?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Secondary color of the illustration
|
|
12
|
+
**/
|
|
13
|
+
secondaryColor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Changes background fill of the illustration
|
|
16
|
+
**/
|
|
17
|
+
fill?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Width of the illustration
|
|
20
|
+
**/
|
|
21
|
+
width?: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Height of the illustration
|
|
24
|
+
**/
|
|
25
|
+
height?: string | number;
|
|
26
|
+
}
|
|
27
|
+
declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
|
|
28
|
+
export default Illustration;
|