@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
package/DonutChart/index.mjs
CHANGED
|
@@ -1,100 +1,106 @@
|
|
|
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
|
-
}), /* @__PURE__ */ React.createElement("path", {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
4
|
+
import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
|
|
5
|
+
const DonutChart = ({ 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: "M75.608 42.488c0-15.6-9.54-28.84-22.944-34.067l-3.783-6.746C48.635 1.253 48.224 1 47.812 1H32.27c-.411 0-.823.253-1.07.675L27.419 8.42C14.014 13.649 4.474 26.97 4.474 42.488c0 2.023.165 3.963.494 5.818l-3.783 6.746c-.247.422-.247.843 0 1.265l7.73 13.829c.247.422.658.674 1.07.674h7.565C23.717 75.965 31.53 79 40 79c8.47 0 16.365-3.12 22.45-8.18h7.566c.411 0 .822-.252 1.069-.674l7.73-13.83c.247-.42.247-.843 0-1.264l-3.783-6.746c.411-1.94.576-3.879.576-5.818Z",
|
|
19
|
+
fill: resolvedPrimaryColor
|
|
20
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
21
|
+
d: "M65.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.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.554 24.087 66.555a2.734 2.734 0 0 1-3.35-1.891L9.746 26.07c-.962-3.372 1.156-6.852 4.593-7.554l42.873-8.744c3.135-.637 6.226 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: "M65.448 18.818 11.065 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: "M18.39 23.419a1.873 1.873 0 0 1-1.415 2.366c-1.092.238-2.227-.454-2.53-1.523a1.868 1.868 0 0 1 1.427-2.367c1.092-.227 2.216.464 2.518 1.534v-.01Z",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
37
|
+
d: "M25.375 21.938c.292 1.06-.324 2.108-1.394 2.335-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.464 2.464 1.523v.011Z",
|
|
38
|
+
fill: resolvedPrimaryColor
|
|
39
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
40
|
+
d: "M11.087 30.842s.325-3.155.606-6.387l-1.373-3.08-3.415 5.88a6.504 6.504 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.458-5.965v.01Z",
|
|
41
|
+
fill: resolvedSecondaryColor
|
|
42
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
43
|
+
d: "M71.76 53.554 24.087 66.555a2.734 2.734 0 0 1-3.35-1.891L9.746 26.07c-.962-3.372 1.156-6.852 4.593-7.554l42.873-8.744c3.135-.637 6.226 1.286 7.025 4.377l9.446 36.076a2.73 2.73 0 0 1-1.924 3.329Z",
|
|
44
|
+
stroke: resolvedSecondaryColor,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: ".7"
|
|
48
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
49
|
+
d: "m43.291 32.434 1.892.929-3.156 3.156-3.2-1.578 4.464-2.507Z",
|
|
50
|
+
fill: resolvedSecondaryColor,
|
|
51
|
+
stroke: resolvedSecondaryColor,
|
|
52
|
+
strokeLinecap: "round",
|
|
53
|
+
strokeLinejoin: "round",
|
|
54
|
+
strokeWidth: ".7"
|
|
55
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
56
|
+
d: "m56.768 51.326 2.043-2.021-2.55-.368-6.55-3.328a7.021 7.021 0 0 1-2.4 1.913l-9.823-5.361-.184-.724c.432-2.205 2.215-4.14 4.733-4.917l-2.355-8.55a18.912 18.912 0 0 0-5.22 2.195l-.141-.552-2.648 2.66a13.87 13.87 0 0 0-.886.896l-.033.033C27.458 36.8 26.01 41.62 27.34 46.376c2.27 8.073 11.65 12.58 20.75 10.148a18.236 18.236 0 0 0 7.296-3.847h.022l.183-.184c.422-.378.81-.767 1.178-1.167ZM50.168 29.167l-2.346-8.527-3.155 3.156 2.345 8.527 3.156-3.156Z",
|
|
57
|
+
fill: resolvedSecondaryColor,
|
|
58
|
+
stroke: resolvedSecondaryColor,
|
|
59
|
+
strokeLinecap: "round",
|
|
60
|
+
strokeLinejoin: "round",
|
|
61
|
+
strokeWidth: ".7"
|
|
62
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
63
|
+
d: "m62.942 28.947-.756 1.21c-3.534-5.036-10.43-7.748-17.52-6.354l2.346 8.527c3.35-.562 6.57 1.102 7.598 3.89l9.424-2.312 3.155-3.156-4.258-1.816.011.011Z",
|
|
64
|
+
fill: resolvedSecondaryColor,
|
|
65
|
+
stroke: resolvedSecondaryColor,
|
|
66
|
+
strokeLinecap: "round",
|
|
67
|
+
strokeLinejoin: "round",
|
|
68
|
+
strokeWidth: ".7"
|
|
69
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
70
|
+
d: "m57.764 33.073 9.424-2.313c-2.27-7.349-10.678-11.813-19.367-10.116l2.345 8.527c3.35-.562 6.57 1.103 7.598 3.891v.01Z",
|
|
71
|
+
fill: "#fff",
|
|
72
|
+
stroke: resolvedSecondaryColor,
|
|
73
|
+
strokeLinecap: "round",
|
|
74
|
+
strokeLinejoin: "round",
|
|
75
|
+
strokeWidth: ".7"
|
|
76
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
77
|
+
d: "M60.724 21.944c-4.085-2.075-8.732-2.626-13.304-1.73l-4.92 4.659",
|
|
78
|
+
stroke: "#fff",
|
|
79
|
+
strokeMiterlimit: "10",
|
|
80
|
+
strokeWidth: ".7"
|
|
81
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
82
|
+
d: "m65.059 35.595-4.518 1.113-1.75-1.945-3.156 3.156c.238 1.297-.022 2.594-.66 3.728l8.29 4.215c1.902-3.07 2.626-6.69 1.794-10.267Z",
|
|
83
|
+
fill: resolvedPrimaryColor,
|
|
84
|
+
stroke: resolvedSecondaryColor,
|
|
85
|
+
strokeLinecap: "round",
|
|
86
|
+
strokeLinejoin: "round",
|
|
87
|
+
strokeWidth: ".7"
|
|
88
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
89
|
+
d: "m66.431 42.706-3.156 3.156-8.29-4.215 3.157-3.166 8.289 4.225ZM58.803 34.747c.237 1.297-.022 2.593-.66 3.728l8.29 4.215c1.902-3.07 2.626-6.69 1.794-10.267l-9.414 2.324h-.01Z",
|
|
90
|
+
fill: resolvedPrimaryColor,
|
|
91
|
+
stroke: resolvedSecondaryColor,
|
|
92
|
+
strokeLinecap: "round",
|
|
93
|
+
strokeLinejoin: "round",
|
|
94
|
+
strokeWidth: ".7"
|
|
95
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
96
|
+
d: "M52.858 42.45c-.92 1.157-2.28 2.065-3.924 2.486-3.717.94-7.49-.918-8.386-4.182-.897-3.264 1.21-6.322 4.647-7.392l-2.356-8.55c-8.981 2.27-14.569 10.44-12.332 18.406 2.27 8.073 11.651 12.58 20.75 10.148 4.27-1.145 7.718-3.61 9.911-6.7l-8.3-4.215h-.01Z",
|
|
97
|
+
fill: resolvedPrimaryColor,
|
|
98
|
+
stroke: resolvedSecondaryColor,
|
|
99
|
+
strokeLinecap: "round",
|
|
100
|
+
strokeLinejoin: "round",
|
|
101
|
+
strokeWidth: ".7"
|
|
102
|
+
}));
|
|
103
|
+
};
|
|
98
104
|
DonutChart.displayName = "DonutChart";
|
|
99
105
|
var stdin_default = createBaseComponent(DonutChart);
|
|
100
106
|
export {
|
package/Duplicates/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/Duplicates/index.js
CHANGED
|
@@ -26,76 +26,82 @@ 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
|
-
|
|
29
|
+
var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
30
|
+
const Duplicates = ({ 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: "M0 40.922A39.857 39.857 0 0 0 39.078 80a.911.911 0 0 0 .922-.911v-2.503c20.208 0 36.586-16.378 36.586-36.586C76.586 19.791 60.208 3.414 40 3.414V.911a.911.911 0 0 0-.922-.91C28.727.23 19.34 4.4 12.36 11.064a.908.908 0 0 0 0 1.295l1.778 1.778C7.52 20.758 3.425 29.901 3.425 40H.911a.911.911 0 0 0-.91.922Z",
|
|
44
|
+
fill: resolvedPrimaryColor
|
|
45
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
46
|
+
d: "M66.16 57.374s.087-.054.12-.087l6.521-4.323-3.147-1.697-3.147.756-8.334-31.681a5.73 5.73 0 0 0-6.707-4.15l-39.74 8.063-1.4-3.124-3.428 5.88a6.507 6.507 0 0 0-.217.368v.021a5.618 5.618 0 0 0-.456 4.248l10.472 36.654a2.599 2.599 0 0 0 3.19 1.794l45.459-12.344c.271-.076.52-.205.749-.346l.054-.032h.01Z",
|
|
47
|
+
fill: resolvedPrimaryColor,
|
|
48
|
+
stroke: resolvedSecondaryColor,
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeWidth: ".7"
|
|
52
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
53
|
+
d: "M72.02 53.31 24.152 66.313a2.747 2.747 0 0 1-3.364-1.892L9.752 25.822c-.966-3.372 1.16-6.853 4.612-7.556l43.05-8.744c3.146-.638 6.25 1.286 7.053 4.377L73.95 49.98a2.729 2.729 0 0 1-1.931 3.33Z",
|
|
54
|
+
fill: "#fff",
|
|
55
|
+
stroke: resolvedSecondaryColor,
|
|
56
|
+
strokeLinecap: "round",
|
|
57
|
+
strokeLinejoin: "round",
|
|
58
|
+
strokeWidth: ".7"
|
|
59
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
60
|
+
d: "M65.682 18.57 11.076 30.512l-1.346-4.69c-.966-3.373 1.161-6.854 4.612-7.556l43.05-8.734c3.147-.638 6.25 1.286 7.053 4.378l1.227 4.669.01-.01Z",
|
|
61
|
+
fill: resolvedSecondaryColor
|
|
62
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
63
|
+
d: "M18.433 23.174a1.873 1.873 0 0 1-1.421 2.367c-1.096.238-2.236-.454-2.54-1.524a1.868 1.868 0 0 1 1.433-2.367c1.096-.227 2.224.465 2.528 1.535v-.011Z",
|
|
64
|
+
fill: "#fff"
|
|
65
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
66
|
+
d: "M25.444 21.693c.293 1.06-.326 2.108-1.4 2.335-1.075.227-2.192-.454-2.485-1.524-.293-1.07.325-2.12 1.41-2.346 1.086-.227 2.182.465 2.475 1.524v.01Z",
|
|
67
|
+
fill: resolvedPrimaryColor
|
|
68
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
69
|
+
d: "M11.097 30.6s.326-3.157.608-6.389l-1.378-3.08-3.43 5.88a6.507 6.507 0 0 0-.216.367v.022a5.619 5.619 0 0 0-.456 4.248l1.4 4.908 3.472-5.967v.01Z",
|
|
70
|
+
fill: resolvedSecondaryColor
|
|
71
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
72
|
+
d: "M62.73 51.038 25.092 61.224l-6.037-21.372c-.253-.878.406-1.8 1.46-2.041l36.256-8.54 5.95 21.767h.01Z",
|
|
73
|
+
fill: resolvedPrimaryColor,
|
|
74
|
+
stroke: resolvedSecondaryColor,
|
|
75
|
+
strokeLinecap: "round",
|
|
76
|
+
strokeLinejoin: "round",
|
|
77
|
+
strokeWidth: ".7"
|
|
78
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
79
|
+
d: "M57.627 32.366 19.526 41.52l-.472-1.679c-.253-.878.406-1.8 1.46-2.042l36.256-8.54.846 3.107h.01Z",
|
|
80
|
+
fill: resolvedSecondaryColor
|
|
81
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
82
|
+
d: "m65.047 42.443-4.5-16.564c-.231-.824-1.164-1.329-2.097-1.12l-29.78 6.718-3.524-1.065-1.669 2.569c-.318.428-.549.922-.406 1.438l5.95 21.207 36.992-9.649 1.8-2.711-2.755-.834-.011.01Z",
|
|
83
|
+
fill: resolvedSecondaryColor,
|
|
84
|
+
stroke: resolvedSecondaryColor,
|
|
85
|
+
strokeLinecap: "round",
|
|
86
|
+
strokeLinejoin: "round",
|
|
87
|
+
strokeWidth: ".7"
|
|
88
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
89
|
+
d: "M67.802 43.277 30.81 52.926l-5.95-21.208c-.24-.878.396-1.778 1.439-2.008l33.951-7.662c.933-.209 1.877.285 2.097 1.12l5.466 20.109h-.01Z",
|
|
90
|
+
fill: "#fff",
|
|
91
|
+
stroke: resolvedSecondaryColor,
|
|
92
|
+
strokeLinecap: "round",
|
|
93
|
+
strokeLinejoin: "round",
|
|
94
|
+
strokeWidth: ".7"
|
|
95
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
96
|
+
d: "M37.122 31.038c-3.81.878-6.18 4.259-5.27 7.519 1.34 4.797 9.54 7.826 9.54 7.826s5.422-6.41 4.127-11.12c-.89-3.204-4.621-5.103-8.397-4.236v.01Zm2.338 8.397c-1.636.395-3.282-.417-3.678-1.822-.395-1.405.626-2.865 2.262-3.25 1.635-.383 3.26.44 3.644 1.834.384 1.394-.615 2.843-2.24 3.238h.012Z",
|
|
97
|
+
fill: resolvedSecondaryColor
|
|
98
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
99
|
+
d: "m48.46 32.619 11.132-2.646M49.46 36.252l11.108-2.7M50.459 39.885l11.086-2.766",
|
|
100
|
+
stroke: resolvedSecondaryColor,
|
|
101
|
+
strokeLinecap: "round",
|
|
102
|
+
strokeLinejoin: "round",
|
|
103
|
+
strokeWidth: ".7"
|
|
104
|
+
}));
|
|
105
|
+
};
|
|
100
106
|
Duplicates.displayName = "Duplicates";
|
|
101
107
|
var stdin_default = (0, import_core.createBaseComponent)(Duplicates);
|
package/Duplicates/index.mjs
CHANGED
|
@@ -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
|
-
|
|
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 Duplicates = ({ 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: "M0 40.922A39.857 39.857 0 0 0 39.078 80a.911.911 0 0 0 .922-.911v-2.503c20.208 0 36.586-16.378 36.586-36.586C76.586 19.791 60.208 3.414 40 3.414V.911a.911.911 0 0 0-.922-.91C28.727.23 19.34 4.4 12.36 11.064a.908.908 0 0 0 0 1.295l1.778 1.778C7.52 20.758 3.425 29.901 3.425 40H.911a.911.911 0 0 0-.91.922Z",
|
|
19
|
+
fill: resolvedPrimaryColor
|
|
20
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
21
|
+
d: "M66.16 57.374s.087-.054.12-.087l6.521-4.323-3.147-1.697-3.147.756-8.334-31.681a5.73 5.73 0 0 0-6.707-4.15l-39.74 8.063-1.4-3.124-3.428 5.88a6.507 6.507 0 0 0-.217.368v.021a5.618 5.618 0 0 0-.456 4.248l10.472 36.654a2.599 2.599 0 0 0 3.19 1.794l45.459-12.344c.271-.076.52-.205.749-.346l.054-.032h.01Z",
|
|
22
|
+
fill: resolvedPrimaryColor,
|
|
23
|
+
stroke: resolvedSecondaryColor,
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeLinejoin: "round",
|
|
26
|
+
strokeWidth: ".7"
|
|
27
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
28
|
+
d: "M72.02 53.31 24.152 66.313a2.747 2.747 0 0 1-3.364-1.892L9.752 25.822c-.966-3.372 1.16-6.853 4.612-7.556l43.05-8.744c3.146-.638 6.25 1.286 7.053 4.377L73.95 49.98a2.729 2.729 0 0 1-1.931 3.33Z",
|
|
29
|
+
fill: "#fff",
|
|
30
|
+
stroke: resolvedSecondaryColor,
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round",
|
|
33
|
+
strokeWidth: ".7"
|
|
34
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
35
|
+
d: "M65.682 18.57 11.076 30.512l-1.346-4.69c-.966-3.373 1.161-6.854 4.612-7.556l43.05-8.734c3.147-.638 6.25 1.286 7.053 4.378l1.227 4.669.01-.01Z",
|
|
36
|
+
fill: resolvedSecondaryColor
|
|
37
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
38
|
+
d: "M18.433 23.174a1.873 1.873 0 0 1-1.421 2.367c-1.096.238-2.236-.454-2.54-1.524a1.868 1.868 0 0 1 1.433-2.367c1.096-.227 2.224.465 2.528 1.535v-.011Z",
|
|
39
|
+
fill: "#fff"
|
|
40
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
41
|
+
d: "M25.444 21.693c.293 1.06-.326 2.108-1.4 2.335-1.075.227-2.192-.454-2.485-1.524-.293-1.07.325-2.12 1.41-2.346 1.086-.227 2.182.465 2.475 1.524v.01Z",
|
|
42
|
+
fill: resolvedPrimaryColor
|
|
43
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
44
|
+
d: "M11.097 30.6s.326-3.157.608-6.389l-1.378-3.08-3.43 5.88a6.507 6.507 0 0 0-.216.367v.022a5.619 5.619 0 0 0-.456 4.248l1.4 4.908 3.472-5.967v.01Z",
|
|
45
|
+
fill: resolvedSecondaryColor
|
|
46
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
47
|
+
d: "M62.73 51.038 25.092 61.224l-6.037-21.372c-.253-.878.406-1.8 1.46-2.041l36.256-8.54 5.95 21.767h.01Z",
|
|
48
|
+
fill: resolvedPrimaryColor,
|
|
49
|
+
stroke: resolvedSecondaryColor,
|
|
50
|
+
strokeLinecap: "round",
|
|
51
|
+
strokeLinejoin: "round",
|
|
52
|
+
strokeWidth: ".7"
|
|
53
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
54
|
+
d: "M57.627 32.366 19.526 41.52l-.472-1.679c-.253-.878.406-1.8 1.46-2.042l36.256-8.54.846 3.107h.01Z",
|
|
55
|
+
fill: resolvedSecondaryColor
|
|
56
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
57
|
+
d: "m65.047 42.443-4.5-16.564c-.231-.824-1.164-1.329-2.097-1.12l-29.78 6.718-3.524-1.065-1.669 2.569c-.318.428-.549.922-.406 1.438l5.95 21.207 36.992-9.649 1.8-2.711-2.755-.834-.011.01Z",
|
|
58
|
+
fill: resolvedSecondaryColor,
|
|
59
|
+
stroke: resolvedSecondaryColor,
|
|
60
|
+
strokeLinecap: "round",
|
|
61
|
+
strokeLinejoin: "round",
|
|
62
|
+
strokeWidth: ".7"
|
|
63
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
64
|
+
d: "M67.802 43.277 30.81 52.926l-5.95-21.208c-.24-.878.396-1.778 1.439-2.008l33.951-7.662c.933-.209 1.877.285 2.097 1.12l5.466 20.109h-.01Z",
|
|
65
|
+
fill: "#fff",
|
|
66
|
+
stroke: resolvedSecondaryColor,
|
|
67
|
+
strokeLinecap: "round",
|
|
68
|
+
strokeLinejoin: "round",
|
|
69
|
+
strokeWidth: ".7"
|
|
70
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
71
|
+
d: "M37.122 31.038c-3.81.878-6.18 4.259-5.27 7.519 1.34 4.797 9.54 7.826 9.54 7.826s5.422-6.41 4.127-11.12c-.89-3.204-4.621-5.103-8.397-4.236v.01Zm2.338 8.397c-1.636.395-3.282-.417-3.678-1.822-.395-1.405.626-2.865 2.262-3.25 1.635-.383 3.26.44 3.644 1.834.384 1.394-.615 2.843-2.24 3.238h.012Z",
|
|
72
|
+
fill: resolvedSecondaryColor
|
|
73
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
74
|
+
d: "m48.46 32.619 11.132-2.646M49.46 36.252l11.108-2.7M50.459 39.885l11.086-2.766",
|
|
75
|
+
stroke: resolvedSecondaryColor,
|
|
76
|
+
strokeLinecap: "round",
|
|
77
|
+
strokeLinejoin: "round",
|
|
78
|
+
strokeWidth: ".7"
|
|
79
|
+
}));
|
|
80
|
+
};
|
|
75
81
|
Duplicates.displayName = "Duplicates";
|
|
76
82
|
var stdin_default = createBaseComponent(Duplicates);
|
|
77
83
|
export {
|
package/Feedback/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;
|