@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,71 +1,77 @@
|
|
|
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
|
-
})
|
|
4
|
+
import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
|
|
5
|
+
const HorizontalBarChart = ({ 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: "M26.955 1c-.451 0-.902.18-1.173.541l-13.89 13.89c-14.523 14.523-14.523 38.155 0 52.677 14.522 14.522 38.154 14.522 52.676 0l13.89-13.89c.362-.361.542-.722.542-1.173V1.992c0-.541-.451-.992-.992-.992H26.955Z",
|
|
19
|
+
fill: resolvedPrimaryColor
|
|
20
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
21
|
+
d: "M65.925 57.617s.086-.054.119-.087l6.495-4.323-3.134-1.697-3.134.757-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.502 6.502 0 0 0-.216.367v.021a5.638 5.638 0 0 0-.454 4.247l10.44 36.649a2.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.77 53.553 24.098 66.555a2.734 2.734 0 0 1-3.35-1.892L9.755 26.07c-.962-3.372 1.156-6.852 4.593-7.555l42.874-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.445 36.075a2.73 2.73 0 0 1-1.923 3.33Z",
|
|
29
|
+
fill: "#fff"
|
|
30
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
31
|
+
d: "M65.448 18.818 11.065 30.76l-1.34-4.69c-.962-3.372 1.156-6.852 4.593-7.555l42.884-8.743c3.134-.638 6.225 1.286 7.025 4.377l1.221 4.669Z",
|
|
32
|
+
fill: resolvedSecondaryColor
|
|
33
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
34
|
+
d: "M18.404 23.428a1.873 1.873 0 0 1-1.416 2.366c-1.08.238-2.226-.454-2.528-1.523a1.868 1.868 0 0 1 1.426-2.367c1.092-.227 2.216.465 2.518 1.534v-.01Z",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
37
|
+
d: "M25.375 21.958c.292 1.059-.324 2.107-1.394 2.334-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.465 2.464 1.524v.01Z",
|
|
38
|
+
fill: resolvedPrimaryColor
|
|
39
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
40
|
+
d: "M11.087 30.862s.324-3.156.605-6.387l-1.372-3.08-3.416 5.879a6.51 6.51 0 0 0-.216.367v.022a5.638 5.638 0 0 0-.454 4.247l1.395 4.907 3.458-5.966v.01Z",
|
|
41
|
+
fill: resolvedSecondaryColor
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "M71.77 53.553 24.098 66.555a2.734 2.734 0 0 1-3.35-1.892L9.755 26.07c-.962-3.372 1.156-6.852 4.593-7.555l42.874-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.445 36.075a2.73 2.73 0 0 1-1.923 3.33ZM21.44 30.445l8.96 31.396",
|
|
44
|
+
stroke: resolvedSecondaryColor,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: ".7"
|
|
48
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
49
|
+
d: "m39.11 36.056-11.824 2.799-1.697-5.955 11.953-2.723a.793.793 0 0 1 .94.562l1.21 4.344a.794.794 0 0 1-.583.984v-.011Z",
|
|
50
|
+
stroke: resolvedSecondaryColor,
|
|
51
|
+
strokeLinecap: "round",
|
|
52
|
+
strokeLinejoin: "round",
|
|
53
|
+
strokeWidth: ".7"
|
|
54
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
55
|
+
d: "m62.377 40.292-32.39 8.106-1.675-5.912 32.563-7.867a.804.804 0 0 1 .951.562l1.124 4.139a.789.789 0 0 1-.573.972Z",
|
|
56
|
+
fill: resolvedSecondaryColor,
|
|
57
|
+
stroke: resolvedSecondaryColor,
|
|
58
|
+
strokeLinecap: "round",
|
|
59
|
+
strokeLinejoin: "round",
|
|
60
|
+
strokeWidth: ".7"
|
|
61
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
62
|
+
d: "M57.244 51.393 32.69 57.89l-1.665-5.869L55.71 45.71a.795.795 0 0 1 .962.55l1.134 4.162a.795.795 0 0 1-.562.972Z",
|
|
63
|
+
fill: resolvedPrimaryColor,
|
|
64
|
+
stroke: resolvedSecondaryColor,
|
|
65
|
+
strokeLinecap: "round",
|
|
66
|
+
strokeLinejoin: "round",
|
|
67
|
+
strokeWidth: ".7"
|
|
68
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
69
|
+
d: "m26.438 35.61 2.356-3.465M34.979 30.83l-5.103 7.442M39.004 32.722l-2.72 3.968",
|
|
70
|
+
stroke: resolvedSecondaryColor,
|
|
71
|
+
strokeMiterlimit: "10",
|
|
72
|
+
strokeWidth: ".7"
|
|
73
|
+
}));
|
|
74
|
+
};
|
|
69
75
|
HorizontalBarChart.displayName = "HorizontalBarChart";
|
|
70
76
|
var stdin_default = createBaseComponent(HorizontalBarChart);
|
|
71
77
|
export {
|
package/KagiChart/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;
|
package/KagiChart/index.js
CHANGED
|
@@ -26,51 +26,57 @@ 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
|
-
|
|
29
|
+
var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
30
|
+
const KagiChart = ({ 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: "M39.368 3.294 23.005 20.459l-21.5 10.189c-.475.235-.633.705-.396 1.175l11.383 20.77 3.082 23.435c.08.47.554.784 1.028.706L40 72.423l23.398 4.31c.474.079.948-.235 1.027-.705l3.083-23.435 11.383-20.77c.237-.392.08-.94-.395-1.175l-21.5-10.19L40.631 3.294c-.316-.392-.87-.392-1.264 0Z",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
46
|
+
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.51 6.51 0 0 0-.216.367v.021a5.638 5.638 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",
|
|
47
|
+
fill: resolvedPrimaryColor,
|
|
48
|
+
stroke: resolvedSecondaryColor,
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeWidth: ".7"
|
|
52
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
53
|
+
d: "M71.759 53.553 24.087 66.555a2.734 2.734 0 0 1-3.35-1.892L9.744 26.07c-.962-3.372 1.157-6.852 4.593-7.555l42.874-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.445 36.075a2.73 2.73 0 0 1-1.923 3.33Z",
|
|
54
|
+
fill: "#fff"
|
|
55
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
56
|
+
d: "M65.438 18.818 11.054 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",
|
|
57
|
+
fill: resolvedSecondaryColor
|
|
58
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
59
|
+
d: "M18.39 23.427a1.873 1.873 0 0 1-1.415 2.367c-1.081.238-2.227-.454-2.53-1.524a1.868 1.868 0 0 1 1.427-2.366c1.092-.227 2.216.464 2.519 1.534v-.01Z",
|
|
60
|
+
fill: "#fff"
|
|
61
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
62
|
+
d: "M25.372 21.958c.292 1.059-.324 2.107-1.394 2.334-1.07.227-2.184-.454-2.475-1.524-.292-1.07.324-2.118 1.405-2.345 1.07-.227 2.172.465 2.464 1.524v.01Z",
|
|
63
|
+
fill: resolvedPrimaryColor
|
|
64
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
65
|
+
d: "M11.087 30.862s.324-3.156.605-6.387l-1.372-3.08-3.416 5.879a6.504 6.504 0 0 0-.216.367v.022a5.637 5.637 0 0 0-.454 4.247l1.395 4.907 3.458-5.966v.01Z",
|
|
66
|
+
fill: resolvedSecondaryColor
|
|
67
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
68
|
+
d: "M71.759 53.553 24.087 66.555a2.734 2.734 0 0 1-3.35-1.892L9.744 26.07c-.962-3.372 1.157-6.852 4.593-7.555l42.874-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.445 36.075a2.73 2.73 0 0 1-1.923 3.33v0Z",
|
|
69
|
+
stroke: resolvedSecondaryColor,
|
|
70
|
+
strokeLinecap: "round",
|
|
71
|
+
strokeLinejoin: "round",
|
|
72
|
+
strokeWidth: ".7"
|
|
73
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
74
|
+
d: "m22.684 54.081 6.744-1.73 1.361 4.843 6.593-1.74-2.972-10.776 6.528-1.61 1.772 6.495 6.377-1.642-4.659-17.174 6.345-1.47 4.571 17.033 6.139-1.578-3.999-15.055 6.106-1.415",
|
|
75
|
+
stroke: resolvedSecondaryColor,
|
|
76
|
+
strokeLinecap: "round",
|
|
77
|
+
strokeLinejoin: "round",
|
|
78
|
+
strokeWidth: ".7"
|
|
79
|
+
}));
|
|
80
|
+
};
|
|
75
81
|
KagiChart.displayName = "KagiChart";
|
|
76
82
|
var stdin_default = (0, import_core.createBaseComponent)(KagiChart);
|
package/KagiChart/index.mjs
CHANGED
|
@@ -1,52 +1,58 @@
|
|
|
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
|
-
|
|
4
|
+
import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
|
|
5
|
+
const KagiChart = ({ 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: "M39.368 3.294 23.005 20.459l-21.5 10.189c-.475.235-.633.705-.396 1.175l11.383 20.77 3.082 23.435c.08.47.554.784 1.028.706L40 72.423l23.398 4.31c.474.079.948-.235 1.027-.705l3.083-23.435 11.383-20.77c.237-.392.08-.94-.395-1.175l-21.5-10.19L40.631 3.294c-.316-.392-.87-.392-1.264 0Z",
|
|
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.51 6.51 0 0 0-.216.367v.021a5.638 5.638 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.759 53.553 24.087 66.555a2.734 2.734 0 0 1-3.35-1.892L9.744 26.07c-.962-3.372 1.157-6.852 4.593-7.555l42.874-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.445 36.075a2.73 2.73 0 0 1-1.923 3.33Z",
|
|
29
|
+
fill: "#fff"
|
|
30
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
31
|
+
d: "M65.438 18.818 11.054 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.39 23.427a1.873 1.873 0 0 1-1.415 2.367c-1.081.238-2.227-.454-2.53-1.524a1.868 1.868 0 0 1 1.427-2.366c1.092-.227 2.216.464 2.519 1.534v-.01Z",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
37
|
+
d: "M25.372 21.958c.292 1.059-.324 2.107-1.394 2.334-1.07.227-2.184-.454-2.475-1.524-.292-1.07.324-2.118 1.405-2.345 1.07-.227 2.172.465 2.464 1.524v.01Z",
|
|
38
|
+
fill: resolvedPrimaryColor
|
|
39
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
40
|
+
d: "M11.087 30.862s.324-3.156.605-6.387l-1.372-3.08-3.416 5.879a6.504 6.504 0 0 0-.216.367v.022a5.637 5.637 0 0 0-.454 4.247l1.395 4.907 3.458-5.966v.01Z",
|
|
41
|
+
fill: resolvedSecondaryColor
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "M71.759 53.553 24.087 66.555a2.734 2.734 0 0 1-3.35-1.892L9.744 26.07c-.962-3.372 1.157-6.852 4.593-7.555l42.874-8.743c3.134-.638 6.225 1.286 7.025 4.377l9.445 36.075a2.73 2.73 0 0 1-1.923 3.33v0Z",
|
|
44
|
+
stroke: resolvedSecondaryColor,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: ".7"
|
|
48
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
49
|
+
d: "m22.684 54.081 6.744-1.73 1.361 4.843 6.593-1.74-2.972-10.776 6.528-1.61 1.772 6.495 6.377-1.642-4.659-17.174 6.345-1.47 4.571 17.033 6.139-1.578-3.999-15.055 6.106-1.415",
|
|
50
|
+
stroke: resolvedSecondaryColor,
|
|
51
|
+
strokeLinecap: "round",
|
|
52
|
+
strokeLinejoin: "round",
|
|
53
|
+
strokeWidth: ".7"
|
|
54
|
+
}));
|
|
55
|
+
};
|
|
50
56
|
KagiChart.displayName = "KagiChart";
|
|
51
57
|
var stdin_default = createBaseComponent(KagiChart);
|
|
52
58
|
export {
|
package/LineChart/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;
|
package/LineChart/index.js
CHANGED
|
@@ -26,54 +26,60 @@ 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
|
-
|
|
29
|
+
var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
30
|
+
const LineChart = ({ 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: "M71.183 27a46.187 46.187 0 0 0-1.727-15.715c-.083-.33-.412-.658-.74-.74A46.189 46.189 0 0 0 53 8.815l-4.114-4.113a12.515 12.515 0 0 0-17.772 0L27 8.816a46.189 46.189 0 0 0-15.715 1.728c-.33.083-.658.412-.74.74A46.188 46.188 0 0 0 8.815 27l-4.113 4.114a12.515 12.515 0 0 0 0 17.772L8.816 53a46.188 46.188 0 0 0 1.728 15.715c.083.33.412.658.74.74A46.187 46.187 0 0 0 27 71.184l4.114 4.114a12.515 12.515 0 0 0 17.772 0L53 71.183a46.187 46.187 0 0 0 15.715-1.727c.33-.083.658-.412.74-.74A46.187 46.187 0 0 0 71.184 53l4.114-4.114a12.515 12.515 0 0 0 0-17.772L71.183 27Z",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
46
|
+
d: "M65.925 57.617s.086-.054.119-.087l6.495-4.323-3.134-1.697-3.134.757-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.502 6.502 0 0 0-.216.367v.021a5.638 5.638 0 0 0-.454 4.247l10.44 36.649a2.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",
|
|
47
|
+
fill: resolvedPrimaryColor,
|
|
48
|
+
stroke: resolvedSecondaryColor,
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeWidth: ".7"
|
|
52
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
53
|
+
d: "M71.76 53.553 24.087 66.555a2.734 2.734 0 0 1-3.35-1.892L9.746 26.07c-.962-3.372 1.156-6.852 4.593-7.555l42.873-8.743c3.135-.638 6.226 1.286 7.025 4.377l9.446 36.075a2.73 2.73 0 0 1-1.924 3.33Z",
|
|
54
|
+
fill: "#fff"
|
|
55
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
56
|
+
d: "M65.448 18.818 11.065 30.76l-1.34-4.69c-.962-3.372 1.156-6.852 4.593-7.555l42.884-8.743c3.134-.638 6.225 1.286 7.025 4.377l1.221 4.669Z",
|
|
57
|
+
fill: resolvedSecondaryColor
|
|
58
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
59
|
+
d: "M18.39 23.428a1.873 1.873 0 0 1-1.415 2.366c-1.081.238-2.227-.454-2.53-1.523a1.868 1.868 0 0 1 1.427-2.367c1.092-.227 2.216.465 2.518 1.534v-.01Z",
|
|
60
|
+
fill: "#fff"
|
|
61
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
62
|
+
d: "M25.375 21.958c.292 1.059-.324 2.107-1.394 2.334-1.07.227-2.183-.454-2.475-1.524-.291-1.07.325-2.118 1.405-2.345 1.081-.227 2.172.465 2.464 1.524v.01Z",
|
|
63
|
+
fill: resolvedPrimaryColor
|
|
64
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
65
|
+
d: "M11.087 30.862s.325-3.156.606-6.387l-1.373-3.08-3.415 5.879a6.504 6.504 0 0 0-.216.367v.022a5.637 5.637 0 0 0-.454 4.247l1.394 4.907 3.458-5.966v.01Z",
|
|
66
|
+
fill: resolvedSecondaryColor
|
|
67
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
68
|
+
d: "M71.76 53.553 24.087 66.555a2.734 2.734 0 0 1-3.35-1.892L9.746 26.07c-.962-3.372 1.156-6.852 4.593-7.555l42.873-8.743c3.135-.638 6.226 1.286 7.025 4.377l3.059 11.683 6.387 24.392a2.73 2.73 0 0 1-1.924 3.33Z",
|
|
69
|
+
stroke: resolvedSecondaryColor,
|
|
70
|
+
strokeLinecap: "round",
|
|
71
|
+
strokeLinejoin: "round",
|
|
72
|
+
strokeWidth: ".7"
|
|
73
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
74
|
+
d: "M19.936 61.83c1.502-8.375 3.307-15.357 8.203-16.718 7.209-2.01 13.628 7.608 18.913 4.301 4.442-2.777 3.2-14.763 11.65-21.042 1.676-1.243 4.302-2.151 7.642-2.735.291-.054.594-.097.907-.15",
|
|
75
|
+
stroke: resolvedSecondaryColor,
|
|
76
|
+
strokeLinecap: "round",
|
|
77
|
+
strokeLinejoin: "round",
|
|
78
|
+
strokeWidth: ".7"
|
|
79
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
80
|
+
d: "M61.342 27.857c.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.47-.324 2.994.767 3.447 2.442l-.01-.01ZM30.765 44.517c.444 1.676-.367 3.297-1.815 3.643-1.46.346-3.005-.746-3.459-2.421-.454-1.675.368-3.329 1.838-3.653 1.47-.324 2.993.767 3.447 2.442l-.01-.01ZM49.682 48.814c.443 1.675-.368 3.297-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-.01Z",
|
|
81
|
+
fill: resolvedSecondaryColor
|
|
82
|
+
}));
|
|
83
|
+
};
|
|
78
84
|
LineChart.displayName = "LineChart";
|
|
79
85
|
var stdin_default = (0, import_core.createBaseComponent)(LineChart);
|