@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.
Files changed (158) hide show
  1. package/AccessDenied/index.d.ts +27 -3
  2. package/AccessDenied/index.js +211 -205
  3. package/AccessDenied/index.mjs +211 -205
  4. package/AccessLogIn/index.d.ts +27 -3
  5. package/AccessLogIn/index.js +313 -307
  6. package/AccessLogIn/index.mjs +313 -307
  7. package/AreaChart/index.d.ts +27 -3
  8. package/AreaChart/index.js +58 -52
  9. package/AreaChart/index.mjs +58 -52
  10. package/Blocked/index.d.ts +27 -3
  11. package/Blocked/index.js +462 -456
  12. package/Blocked/index.mjs +462 -456
  13. package/CHANGELOG.md +11 -1
  14. package/ChoroplethMapChart/index.d.ts +27 -3
  15. package/ChoroplethMapChart/index.js +80 -74
  16. package/ChoroplethMapChart/index.mjs +80 -74
  17. package/Coffee/index.d.ts +27 -3
  18. package/Coffee/index.js +65 -59
  19. package/Coffee/index.mjs +65 -59
  20. package/Collection/index.d.ts +27 -3
  21. package/Collection/index.js +59 -53
  22. package/Collection/index.mjs +59 -53
  23. package/CombinedChart/index.d.ts +27 -3
  24. package/CombinedChart/index.js +87 -81
  25. package/CombinedChart/index.mjs +87 -81
  26. package/Confirmation/index.d.ts +27 -3
  27. package/Confirmation/index.js +236 -230
  28. package/Confirmation/index.mjs +236 -230
  29. package/Congrats/index.d.ts +27 -3
  30. package/Congrats/index.js +116 -110
  31. package/Congrats/index.mjs +116 -110
  32. package/ConnectionLost/index.d.ts +27 -3
  33. package/ConnectionLost/index.js +268 -262
  34. package/ConnectionLost/index.mjs +268 -262
  35. package/DeletedAccount/index.d.ts +27 -3
  36. package/DeletedAccount/index.js +345 -339
  37. package/DeletedAccount/index.mjs +345 -339
  38. package/DeletedPage/index.d.ts +27 -3
  39. package/DeletedPage/index.js +50 -44
  40. package/DeletedPage/index.mjs +50 -44
  41. package/Dns/index.d.ts +27 -3
  42. package/Dns/index.js +149 -143
  43. package/Dns/index.mjs +149 -143
  44. package/DonutChart/index.d.ts +27 -3
  45. package/DonutChart/index.js +100 -94
  46. package/DonutChart/index.mjs +100 -94
  47. package/Duplicates/index.d.ts +27 -3
  48. package/Duplicates/index.js +77 -71
  49. package/Duplicates/index.mjs +77 -71
  50. package/Feedback/index.d.ts +27 -3
  51. package/Feedback/index.js +65 -59
  52. package/Feedback/index.mjs +65 -59
  53. package/FunnelChart/index.d.ts +27 -3
  54. package/FunnelChart/index.js +67 -61
  55. package/FunnelChart/index.mjs +67 -61
  56. package/Good/index.d.ts +27 -3
  57. package/Good/index.js +100 -94
  58. package/Good/index.mjs +100 -94
  59. package/HeatMapChart/index.d.ts +27 -3
  60. package/HeatMapChart/index.js +85 -79
  61. package/HeatMapChart/index.mjs +85 -79
  62. package/HorizontalBarChart/index.d.ts +27 -3
  63. package/HorizontalBarChart/index.js +71 -65
  64. package/HorizontalBarChart/index.mjs +71 -65
  65. package/KagiChart/index.d.ts +27 -3
  66. package/KagiChart/index.js +52 -46
  67. package/KagiChart/index.mjs +52 -46
  68. package/LineChart/index.d.ts +27 -3
  69. package/LineChart/index.js +55 -49
  70. package/LineChart/index.mjs +55 -49
  71. package/LollipopChart/index.d.ts +27 -3
  72. package/LollipopChart/index.js +72 -66
  73. package/LollipopChart/index.mjs +72 -66
  74. package/MailSent/index.d.ts +27 -3
  75. package/MailSent/index.js +111 -105
  76. package/MailSent/index.mjs +111 -105
  77. package/Maintenance/index.d.ts +27 -3
  78. package/Maintenance/index.js +332 -326
  79. package/Maintenance/index.mjs +332 -326
  80. package/Nexttime/index.d.ts +27 -3
  81. package/Nexttime/index.js +79 -73
  82. package/Nexttime/index.mjs +79 -73
  83. package/NoPayment/index.d.ts +27 -3
  84. package/NoPayment/index.js +273 -267
  85. package/NoPayment/index.mjs +273 -267
  86. package/NothingFound/index.d.ts +27 -3
  87. package/NothingFound/index.js +103 -97
  88. package/NothingFound/index.mjs +103 -97
  89. package/OtherData/index.d.ts +27 -3
  90. package/OtherData/index.js +86 -80
  91. package/OtherData/index.mjs +86 -80
  92. package/PageError/index.d.ts +27 -3
  93. package/PageError/index.js +193 -187
  94. package/PageError/index.mjs +193 -187
  95. package/PageNotFound/index.d.ts +27 -3
  96. package/PageNotFound/index.js +253 -247
  97. package/PageNotFound/index.mjs +253 -247
  98. package/PieChart/index.d.ts +27 -3
  99. package/PieChart/index.js +85 -79
  100. package/PieChart/index.mjs +85 -79
  101. package/Processing/index.d.ts +27 -3
  102. package/Processing/index.js +65 -59
  103. package/Processing/index.mjs +65 -59
  104. package/ProjectNotFound/index.d.ts +27 -3
  105. package/ProjectNotFound/index.js +216 -210
  106. package/ProjectNotFound/index.mjs +216 -210
  107. package/RadarChart/index.d.ts +27 -3
  108. package/RadarChart/index.js +64 -58
  109. package/RadarChart/index.mjs +64 -58
  110. package/RadialTreeChart/index.d.ts +27 -3
  111. package/RadialTreeChart/index.js +106 -100
  112. package/RadialTreeChart/index.mjs +106 -100
  113. package/SankeyChart/index.d.ts +27 -3
  114. package/SankeyChart/index.js +92 -86
  115. package/SankeyChart/index.mjs +92 -86
  116. package/ScatterPlotChart/index.d.ts +27 -3
  117. package/ScatterPlotChart/index.js +77 -71
  118. package/ScatterPlotChart/index.mjs +77 -71
  119. package/StackedAreaChart/index.d.ts +27 -3
  120. package/StackedAreaChart/index.js +79 -73
  121. package/StackedAreaChart/index.mjs +79 -73
  122. package/Suggestion/index.d.ts +27 -3
  123. package/Suggestion/index.js +63 -57
  124. package/Suggestion/index.mjs +63 -57
  125. package/Suggestions/index.d.ts +27 -3
  126. package/Suggestions/index.js +66 -60
  127. package/Suggestions/index.mjs +66 -60
  128. package/Table/index.d.ts +27 -3
  129. package/Table/index.js +50 -44
  130. package/Table/index.mjs +50 -44
  131. package/TagCloud/index.d.ts +27 -3
  132. package/TagCloud/index.js +77 -71
  133. package/TagCloud/index.mjs +77 -71
  134. package/TextLinksEtc/index.d.ts +27 -3
  135. package/TextLinksEtc/index.js +53 -47
  136. package/TextLinksEtc/index.mjs +53 -47
  137. package/Timeout/index.d.ts +27 -3
  138. package/Timeout/index.js +350 -344
  139. package/Timeout/index.mjs +350 -344
  140. package/UnderConstruction/index.d.ts +27 -3
  141. package/UnderConstruction/index.js +112 -106
  142. package/UnderConstruction/index.mjs +112 -106
  143. package/VennChart/index.d.ts +27 -3
  144. package/VennChart/index.js +78 -72
  145. package/VennChart/index.mjs +78 -72
  146. package/VerticalBarChart/index.d.ts +27 -3
  147. package/VerticalBarChart/index.js +72 -66
  148. package/VerticalBarChart/index.mjs +72 -66
  149. package/Waiting/index.d.ts +27 -3
  150. package/Waiting/index.js +65 -59
  151. package/Waiting/index.mjs +65 -59
  152. package/Warning/index.d.ts +27 -3
  153. package/Warning/index.js +60 -54
  154. package/Warning/index.mjs +60 -54
  155. package/lib/cjs/index.js +1 -1
  156. package/lib/es6/index.js +1 -1
  157. package/package.json +4 -3
  158. 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
- const ScatterPlotChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", ...props }, ref) => /* @__PURE__ */ React.createElement(Box, {
5
- ref,
6
- width,
7
- height,
8
- viewBox,
9
- fill,
10
- tag: "svg",
11
- ...props
12
- }, /* @__PURE__ */ React.createElement("path", {
13
- 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",
14
- fill: "#E0E1E9"
15
- }), /* @__PURE__ */ React.createElement("path", {
16
- 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",
17
- fill: "#E0E1E9",
18
- stroke: "#6C6E79",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round",
21
- strokeWidth: ".7"
22
- }), /* @__PURE__ */ React.createElement("path", {
23
- 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",
24
- fill: "#fff"
25
- }), /* @__PURE__ */ React.createElement("path", {
26
- 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",
27
- fill: "#6C6E79"
28
- }), /* @__PURE__ */ React.createElement("path", {
29
- 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",
30
- fill: "#fff"
31
- }), /* @__PURE__ */ React.createElement("path", {
32
- 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",
33
- fill: "#E0E1E9"
34
- }), /* @__PURE__ */ React.createElement("path", {
35
- 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",
36
- fill: "#6C6E79"
37
- }), /* @__PURE__ */ React.createElement("path", {
38
- 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",
39
- stroke: "#6C6E79",
40
- strokeLinecap: "round",
41
- strokeLinejoin: "round",
42
- strokeWidth: ".7"
43
- }), /* @__PURE__ */ React.createElement("path", {
44
- d: "M66.66 50.627 27.87 61.013l-7.792-27.7",
45
- stroke: "#6C6E79",
46
- strokeMiterlimit: "10",
47
- strokeWidth: ".7"
48
- }), /* @__PURE__ */ React.createElement("path", {
49
- 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",
50
- fill: "#6C6E79",
51
- stroke: "#6C6E79",
52
- strokeLinecap: "round",
53
- strokeLinejoin: "round",
54
- strokeWidth: ".7"
55
- }), /* @__PURE__ */ React.createElement("path", {
56
- 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",
57
- fill: "#E0E1E9",
58
- stroke: "#6C6E79",
59
- strokeLinecap: "round",
60
- strokeLinejoin: "round",
61
- strokeWidth: ".7"
62
- }), /* @__PURE__ */ React.createElement("path", {
63
- 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",
64
- fill: "#fff",
65
- stroke: "#6C6E79",
66
- strokeLinecap: "round",
67
- strokeLinejoin: "round",
68
- strokeWidth: ".7"
69
- }), /* @__PURE__ */ React.createElement("path", {
70
- d: "m43.006 41.254-4.35 6.309M47.986 41.73l-6.474 9.446M50.768 45.41l-4.181 6.095",
71
- stroke: "#6C6E79",
72
- strokeMiterlimit: "10",
73
- strokeWidth: ".7"
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 { Box } from '@semcore/flex-box';
3
- declare const _default: typeof Box;
4
- export default _default;
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
- const StackedAreaChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
30
- ref,
31
- width,
32
- height,
33
- viewBox,
34
- fill,
35
- tag: "svg",
36
- ...props
37
- }, /* @__PURE__ */ import_react.default.createElement("path", {
38
- 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",
39
- fill: "#E0E1E9"
40
- }), /* @__PURE__ */ import_react.default.createElement("path", {
41
- 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",
42
- fill: "#E0E1E9",
43
- stroke: "#6C6E79",
44
- strokeLinecap: "round",
45
- strokeLinejoin: "round",
46
- strokeWidth: ".7"
47
- }), /* @__PURE__ */ import_react.default.createElement("path", {
48
- 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",
49
- fill: "#fff"
50
- }), /* @__PURE__ */ import_react.default.createElement("path", {
51
- 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",
52
- fill: "#6C6E79"
53
- }), /* @__PURE__ */ import_react.default.createElement("path", {
54
- 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",
55
- fill: "#fff"
56
- }), /* @__PURE__ */ import_react.default.createElement("path", {
57
- 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",
58
- fill: "#E0E1E9"
59
- }), /* @__PURE__ */ import_react.default.createElement("path", {
60
- 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",
61
- fill: "#6C6E79"
62
- }), /* @__PURE__ */ import_react.default.createElement("path", {
63
- 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",
64
- fill: "#E0E1E9"
65
- }), /* @__PURE__ */ import_react.default.createElement("path", {
66
- 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",
67
- stroke: "#6C6E79",
68
- strokeLinecap: "round",
69
- strokeLinejoin: "round",
70
- strokeWidth: ".7"
71
- }), /* @__PURE__ */ import_react.default.createElement("path", {
72
- 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",
73
- fill: "#6C6E79"
74
- }), /* @__PURE__ */ import_react.default.createElement("path", {
75
- 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",
76
- fill: "#E0E1E9"
77
- }), /* @__PURE__ */ import_react.default.createElement("path", {
78
- 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",
79
- stroke: "#6C6E79",
80
- strokeLinecap: "round",
81
- strokeLinejoin: "round",
82
- strokeWidth: ".7"
83
- }), /* @__PURE__ */ import_react.default.createElement("path", {
84
- d: "M63.23 21.728c3.09-.41 6.679-.583 10.613-.53",
85
- stroke: "#fff",
86
- strokeLinecap: "round",
87
- strokeLinejoin: "round",
88
- strokeWidth: ".7"
89
- }), /* @__PURE__ */ import_react.default.createElement("path", {
90
- 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",
91
- stroke: "#E0E1E9",
92
- strokeLinecap: "round",
93
- strokeLinejoin: "round",
94
- strokeWidth: ".7"
95
- }), /* @__PURE__ */ import_react.default.createElement("path", {
96
- d: "m14.14 52.014 2.14 7.5",
97
- stroke: "#6C6E79",
98
- strokeLinecap: "round",
99
- strokeLinejoin: "round",
100
- strokeWidth: ".7"
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
- const StackedAreaChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", ...props }, ref) => /* @__PURE__ */ React.createElement(Box, {
5
- ref,
6
- width,
7
- height,
8
- viewBox,
9
- fill,
10
- tag: "svg",
11
- ...props
12
- }, /* @__PURE__ */ React.createElement("path", {
13
- 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",
14
- fill: "#E0E1E9"
15
- }), /* @__PURE__ */ React.createElement("path", {
16
- 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",
17
- fill: "#E0E1E9",
18
- stroke: "#6C6E79",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round",
21
- strokeWidth: ".7"
22
- }), /* @__PURE__ */ React.createElement("path", {
23
- 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",
24
- fill: "#fff"
25
- }), /* @__PURE__ */ React.createElement("path", {
26
- 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",
27
- fill: "#6C6E79"
28
- }), /* @__PURE__ */ React.createElement("path", {
29
- 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",
30
- fill: "#fff"
31
- }), /* @__PURE__ */ React.createElement("path", {
32
- 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",
33
- fill: "#E0E1E9"
34
- }), /* @__PURE__ */ React.createElement("path", {
35
- 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",
36
- fill: "#6C6E79"
37
- }), /* @__PURE__ */ React.createElement("path", {
38
- 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",
39
- fill: "#E0E1E9"
40
- }), /* @__PURE__ */ React.createElement("path", {
41
- 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",
42
- stroke: "#6C6E79",
43
- strokeLinecap: "round",
44
- strokeLinejoin: "round",
45
- strokeWidth: ".7"
46
- }), /* @__PURE__ */ React.createElement("path", {
47
- 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",
48
- fill: "#6C6E79"
49
- }), /* @__PURE__ */ React.createElement("path", {
50
- 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",
51
- fill: "#E0E1E9"
52
- }), /* @__PURE__ */ React.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.329v0Z",
54
- stroke: "#6C6E79",
55
- strokeLinecap: "round",
56
- strokeLinejoin: "round",
57
- strokeWidth: ".7"
58
- }), /* @__PURE__ */ React.createElement("path", {
59
- d: "M63.23 21.728c3.09-.41 6.679-.583 10.613-.53",
60
- stroke: "#fff",
61
- strokeLinecap: "round",
62
- strokeLinejoin: "round",
63
- strokeWidth: ".7"
64
- }), /* @__PURE__ */ React.createElement("path", {
65
- 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",
66
- stroke: "#E0E1E9",
67
- strokeLinecap: "round",
68
- strokeLinejoin: "round",
69
- strokeWidth: ".7"
70
- }), /* @__PURE__ */ React.createElement("path", {
71
- d: "m14.14 52.014 2.14 7.5",
72
- stroke: "#6C6E79",
73
- strokeLinecap: "round",
74
- strokeLinejoin: "round",
75
- strokeWidth: ".7"
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 {
@@ -1,4 +1,28 @@
1
1
 
2
- import { Box } from '@semcore/flex-box';
3
- declare const _default: typeof Box;
4
- export default _default;
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;