@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
package/Coffee/index.mjs CHANGED
@@ -1,65 +1,71 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
3
  import { Box } from "@semcore/flex-box";
4
- const Coffee = ({ 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: "M57.811 4.702c-7.315 0-13.78 3.558-17.813 9.006C35.93 8.216 29.4 4.647 22.03 4.702 10.184 4.779.46 14.095.018 25.93c-.928 24.576 34.687 50.08 39.46 53.384.321.22.73.22 1.04 0C45.19 75.954 80 50.14 80 26.89c0-12.255-9.934-22.178-22.178-22.178",
14
- fill: "#E0E1E9"
15
- }), /* @__PURE__ */ React.createElement("path", {
16
- d: "M43.678 64.804c14.64 0 26.51-2.939 26.51-6.564s-11.87-6.564-26.51-6.564c-14.641 0-26.51 2.94-26.51 6.564 0 3.625 11.869 6.564 26.51 6.564Z",
17
- fill: "#fff",
18
- stroke: "#6C6E79",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round",
21
- strokeWidth: ".7"
22
- }), /* @__PURE__ */ React.createElement("path", {
23
- d: "M43.678 64.815c-13.493 0-24.62-2.497-26.29-5.724.94 2.796 4.034 5.945 6.532 7.67.331.264.762.53 1.26.773.077.044.165.088.231.121 3.47 1.614 10.332 2.719 18.245 2.719 7.912 0 14.774-1.105 18.244-2.719.077-.033.154-.088.232-.121a6.89 6.89 0 0 0 1.26-.774c2.508-1.724 5.59-4.873 6.53-7.669-1.668 3.227-12.796 5.724-26.289 5.724h.045Z",
24
- fill: "#6C6E79",
25
- stroke: "#6C6E79",
26
- strokeLinecap: "round",
27
- strokeLinejoin: "round",
28
- strokeWidth: ".7"
29
- }), /* @__PURE__ */ React.createElement("path", {
30
- d: "M61.645 41.555c2.42-.597 3.78-.265 4.851.784 2.73 2.697-.928 10.41-8.188 12.476M26.472 60.66c-.42-.375-.64-.762-.64-1.17 0-2.443 7.989-4.42 17.834-4.42 4.863 0 9.272.486 12.498 1.26",
31
- stroke: "#6C6E79",
32
- strokeLinecap: "round",
33
- strokeLinejoin: "round",
34
- strokeWidth: ".7"
35
- }), /* @__PURE__ */ React.createElement("path", {
36
- d: "M43.678 43.875c10.167 0 18.41-2.622 18.41-5.856 0-3.235-8.243-5.857-18.41-5.857-10.168 0-18.41 2.622-18.41 5.857 0 3.234 8.242 5.856 18.41 5.856Z",
37
- fill: "#fff",
38
- stroke: "#6C6E79",
39
- strokeLinecap: "round",
40
- strokeLinejoin: "round",
41
- strokeWidth: ".7"
42
- }), /* @__PURE__ */ React.createElement("path", {
43
- d: "M43.678 43.876c5.978 0 11.271-.907 14.63-2.321-1.779-2.044-7.647-3.547-14.63-3.547-6.984 0-12.852 1.503-14.63 3.547 3.358 1.403 8.652 2.32 14.63 2.32Z",
44
- fill: "#6C6E79",
45
- stroke: "#6C6E79",
46
- strokeLinecap: "round",
47
- strokeLinejoin: "round",
48
- strokeWidth: ".7"
49
- }), /* @__PURE__ */ React.createElement("path", {
50
- d: "M62.088 38.019c0 3.237-8.244 5.856-18.41 5.856s-18.41-2.619-18.41-5.856c-1.249 10.575 3.713 19.404 8.442 22.819 1.536 1.27 5.415 2.176 9.957 2.176 4.541 0 8.42-.906 9.956-2.177 4.73-3.414 9.702-12.243 8.443-22.818h.022Z",
51
- fill: "#fff",
52
- stroke: "#6C6E79",
53
- strokeLinecap: "round",
54
- strokeLinejoin: "round",
55
- strokeWidth: ".7"
56
- }), /* @__PURE__ */ React.createElement("path", {
57
- d: "M32.981 49.323c.64-1.569 2.133-2.52 3.624-2.387 1.57.144 2.454 1.415 2.575 1.603M56.165 49.323c-.641-1.57-2.133-2.52-3.625-2.387-1.57.144-2.453 1.415-2.575 1.602M40.252 50.97c-.332 2.818 2.155 5.039 4.564 4.917 2.276-.11 4.398-2.287 4.066-4.917h-8.63ZM51.877 1c1.636 1.249 4.83 3.68 5.315 7.636 1.116 8.984-12.63 12.343-10.31 18.575M44.097 8.735c5.868 7.514-10.288 15.526-8.254 25.007.364 1.724 1.624 4.288 4.376 6.056",
58
- stroke: "#6C6E79",
59
- strokeLinecap: "round",
60
- strokeLinejoin: "round",
61
- strokeWidth: ".7"
62
- }));
4
+ import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
5
+ const Coffee = ({ 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: "M57.811 4.702c-7.315 0-13.78 3.558-17.813 9.006C35.93 8.216 29.4 4.647 22.03 4.702 10.184 4.779.46 14.095.018 25.93c-.928 24.576 34.687 50.08 39.46 53.384.321.22.73.22 1.04 0C45.19 75.954 80 50.14 80 26.89c0-12.255-9.934-22.178-22.178-22.178",
19
+ fill: resolvedPrimaryColor
20
+ }), /* @__PURE__ */ React.createElement("path", {
21
+ d: "M43.678 64.804c14.64 0 26.51-2.939 26.51-6.564s-11.87-6.564-26.51-6.564c-14.641 0-26.51 2.94-26.51 6.564 0 3.625 11.869 6.564 26.51 6.564Z",
22
+ fill: "#fff",
23
+ stroke: resolvedSecondaryColor,
24
+ strokeLinecap: "round",
25
+ strokeLinejoin: "round",
26
+ strokeWidth: ".7"
27
+ }), /* @__PURE__ */ React.createElement("path", {
28
+ d: "M43.678 64.815c-13.493 0-24.62-2.497-26.29-5.724.94 2.796 4.034 5.945 6.532 7.67.331.264.762.53 1.26.773.077.044.165.088.231.121 3.47 1.614 10.332 2.719 18.245 2.719 7.912 0 14.774-1.105 18.244-2.719.077-.033.154-.088.232-.121a6.89 6.89 0 0 0 1.26-.774c2.508-1.724 5.59-4.873 6.53-7.669-1.668 3.227-12.796 5.724-26.289 5.724h.045Z",
29
+ fill: resolvedSecondaryColor,
30
+ stroke: resolvedSecondaryColor,
31
+ strokeLinecap: "round",
32
+ strokeLinejoin: "round",
33
+ strokeWidth: ".7"
34
+ }), /* @__PURE__ */ React.createElement("path", {
35
+ d: "M61.645 41.555c2.42-.597 3.78-.265 4.851.784 2.73 2.697-.928 10.41-8.188 12.476M26.472 60.66c-.42-.375-.64-.762-.64-1.17 0-2.443 7.989-4.42 17.834-4.42 4.863 0 9.272.486 12.498 1.26",
36
+ stroke: resolvedSecondaryColor,
37
+ strokeLinecap: "round",
38
+ strokeLinejoin: "round",
39
+ strokeWidth: ".7"
40
+ }), /* @__PURE__ */ React.createElement("path", {
41
+ d: "M43.678 43.875c10.167 0 18.41-2.622 18.41-5.856 0-3.235-8.243-5.857-18.41-5.857-10.168 0-18.41 2.622-18.41 5.857 0 3.234 8.242 5.856 18.41 5.856Z",
42
+ fill: "#fff",
43
+ stroke: resolvedSecondaryColor,
44
+ strokeLinecap: "round",
45
+ strokeLinejoin: "round",
46
+ strokeWidth: ".7"
47
+ }), /* @__PURE__ */ React.createElement("path", {
48
+ d: "M43.678 43.876c5.978 0 11.271-.907 14.63-2.321-1.779-2.044-7.647-3.547-14.63-3.547-6.984 0-12.852 1.503-14.63 3.547 3.358 1.403 8.652 2.32 14.63 2.32Z",
49
+ fill: resolvedSecondaryColor,
50
+ stroke: resolvedSecondaryColor,
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round",
53
+ strokeWidth: ".7"
54
+ }), /* @__PURE__ */ React.createElement("path", {
55
+ d: "M62.088 38.019c0 3.237-8.244 5.856-18.41 5.856s-18.41-2.619-18.41-5.856c-1.249 10.575 3.713 19.404 8.442 22.819 1.536 1.27 5.415 2.176 9.957 2.176 4.541 0 8.42-.906 9.956-2.177 4.73-3.414 9.702-12.243 8.443-22.818h.022Z",
56
+ fill: "#fff",
57
+ stroke: resolvedSecondaryColor,
58
+ strokeLinecap: "round",
59
+ strokeLinejoin: "round",
60
+ strokeWidth: ".7"
61
+ }), /* @__PURE__ */ React.createElement("path", {
62
+ d: "M32.981 49.323c.64-1.569 2.133-2.52 3.624-2.387 1.57.144 2.454 1.415 2.575 1.603M56.165 49.323c-.641-1.57-2.133-2.52-3.625-2.387-1.57.144-2.453 1.415-2.575 1.602M40.252 50.97c-.332 2.818 2.155 5.039 4.564 4.917 2.276-.11 4.398-2.287 4.066-4.917h-8.63ZM51.877 1c1.636 1.249 4.83 3.68 5.315 7.636 1.116 8.984-12.63 12.343-10.31 18.575M44.097 8.735c5.868 7.514-10.288 15.526-8.254 25.007.364 1.724 1.624 4.288 4.376 6.056",
63
+ stroke: resolvedSecondaryColor,
64
+ strokeLinecap: "round",
65
+ strokeLinejoin: "round",
66
+ strokeWidth: ".7"
67
+ }));
68
+ };
63
69
  Coffee.displayName = "Coffee";
64
70
  var stdin_default = createBaseComponent(Coffee);
65
71
  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,58 +26,64 @@ 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 Collection = ({ 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: "M14.783 65.206c6.456 6.455 15.365 10.446 25.222 10.446v2.443c0 .49.404.894.895.883 20.827-.469 37.63-17.273 38.1-38.1a.882.882 0 0 0-.883-.894h-2.443c0-19.694-15.964-35.669-35.669-35.669V1.883A.882.882 0 0 0 39.111 1c-10.086.23-19.235 4.286-26.04 10.785a.876.876 0 0 0 0 1.265l1.723 1.733c-6.477 6.445-10.468 15.354-10.468 25.2H1.883a.882.882 0 0 0-.883.895c.23 10.086 4.297 19.235 10.785 26.04.338.36.905.36 1.265 0l1.733-1.723v.01Z",
39
- fill: "#E0E1E9"
40
- }), /* @__PURE__ */ import_react.default.createElement("path", {
41
- d: "M65.402 59.983s.087-.055.12-.088l6.553-4.362-3.162-1.712-3.162.764-8.375-31.961a5.756 5.756 0 0 0-6.739-4.187L10.705 26.57 9.3 23.42l-3.446 5.932c-.077.12-.153.25-.218.37v.022a5.688 5.688 0 0 0-.458 4.286L15.71 71.007a2.61 2.61 0 0 0 3.206 1.81l45.679-12.453c.273-.076.523-.207.752-.349l.055-.032Z",
42
- fill: "#6C6E79",
43
- stroke: "#6C6E79",
44
- strokeLinecap: "round",
45
- strokeLinejoin: "round",
46
- strokeWidth: ".7"
47
- }), /* @__PURE__ */ import_react.default.createElement("path", {
48
- d: "M10.073 32.983s.327-3.184.61-6.444L9.3 23.43l-3.446 5.932c-.077.12-.153.25-.218.37v.023a5.688 5.688 0 0 0-.458 4.285l1.406 4.95 3.49-6.019v.011Z",
49
- fill: "#6C6E79"
50
- }), /* @__PURE__ */ import_react.default.createElement("path", {
51
- d: "M71.29 55.882 23.19 69a2.758 2.758 0 0 1-3.38-1.908L8.72 28.152c-.97-3.402 1.167-6.913 4.635-7.622l43.258-8.822c3.162-.643 6.281 1.298 7.088 4.417l9.53 36.399a2.754 2.754 0 0 1-1.94 3.358Z",
52
- fill: "#fff",
53
- stroke: "#6C6E79",
54
- strokeLinecap: "round",
55
- strokeLinejoin: "round",
56
- strokeWidth: ".7"
57
- }), /* @__PURE__ */ import_react.default.createElement("path", {
58
- d: "m63.107 16 1.131 4.308L10.322 32.1l-1.255-4.375c-.91-3.175 1.092-6.454 4.345-7.117l43.05-8.733c2.966-.602 5.889 1.213 6.645 4.122V16Z",
59
- fill: "#E0E1E9",
60
- stroke: "#6C6E79",
61
- strokeWidth: ".7"
62
- }), /* @__PURE__ */ import_react.default.createElement("path", {
63
- d: "M17.444 25.48a1.89 1.89 0 0 1-1.428 2.389c-1.102.24-2.247-.458-2.552-1.538a1.885 1.885 0 0 1 1.44-2.388c1.1-.229 2.235.47 2.54 1.549v-.011ZM24.488 23.998c.295 1.068-.327 2.126-1.406 2.355-1.08.23-2.203-.458-2.497-1.537-.295-1.08.327-2.138 1.417-2.367 1.09-.229 2.192.47 2.486 1.538v.01Z",
64
- fill: "#6C6E79"
65
- }), /* @__PURE__ */ import_react.default.createElement("path", {
66
- d: "M57.344 37.52 20.9 46.647l-1.887-6.652 36.65-8.855a.893.893 0 0 1 1.069.633l1.265 4.656c.13.48-.164.97-.643 1.09h-.011ZM52.437 49.787l-28.504 7.535-1.876-6.598 28.624-7.327 1.756 6.39Z",
67
- fill: "#E0E1E9"
68
- }), /* @__PURE__ */ import_react.default.createElement("path", {
69
- d: "M77.168 28.992c0 6.76-3.184 12.77-8.135 16.618a20.926 20.926 0 0 1-2.617 1.734 20.545 20.545 0 0 1-3.304 1.494 20.908 20.908 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.432-21.024 21.045-21.024 7.263 0 13.663 3.675 17.447 9.28a20.949 20.949 0 0 1 3.599 11.766v-.011Z",
70
- fill: "#fff"
71
- }), /* @__PURE__ */ import_react.default.createElement("path", {
72
- d: "M63.123 48.849a20.909 20.909 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.421-21.035 21.034-21.035 5.213 0 9.978 1.898 13.653 5.027M73.57 17.226a20.949 20.949 0 0 1 3.598 11.766c0 6.76-3.184 12.77-8.135 16.618",
73
- stroke: "#6C6E79",
74
- strokeLinecap: "round",
75
- strokeLinejoin: "round"
76
- }), /* @__PURE__ */ import_react.default.createElement("path", {
77
- d: "M56.122 14.794v14.198l8.2-5.616M53.767 45.61l9.356 3.239-8.418 6.107",
78
- stroke: "#6C6E79",
79
- strokeLinecap: "round",
80
- strokeLinejoin: "round"
81
- }));
29
+ var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
30
+ const Collection = ({ 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: "M14.783 65.206c6.456 6.455 15.365 10.446 25.222 10.446v2.443c0 .49.404.894.895.883 20.827-.469 37.63-17.273 38.1-38.1a.882.882 0 0 0-.883-.894h-2.443c0-19.694-15.964-35.669-35.669-35.669V1.883A.882.882 0 0 0 39.111 1c-10.086.23-19.235 4.286-26.04 10.785a.876.876 0 0 0 0 1.265l1.723 1.733c-6.477 6.445-10.468 15.354-10.468 25.2H1.883a.882.882 0 0 0-.883.895c.23 10.086 4.297 19.235 10.785 26.04.338.36.905.36 1.265 0l1.733-1.723v.01Z",
44
+ fill: resolvedPrimaryColor
45
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
46
+ d: "M65.402 59.983s.087-.055.12-.088l6.553-4.362-3.162-1.712-3.162.764-8.375-31.961a5.756 5.756 0 0 0-6.739-4.187L10.705 26.57 9.3 23.42l-3.446 5.932c-.077.12-.153.25-.218.37v.022a5.688 5.688 0 0 0-.458 4.286L15.71 71.007a2.61 2.61 0 0 0 3.206 1.81l45.679-12.453c.273-.076.523-.207.752-.349l.055-.032Z",
47
+ fill: resolvedSecondaryColor,
48
+ stroke: resolvedSecondaryColor,
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ strokeWidth: ".7"
52
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
53
+ d: "M10.073 32.983s.327-3.184.61-6.444L9.3 23.43l-3.446 5.932c-.077.12-.153.25-.218.37v.023a5.688 5.688 0 0 0-.458 4.285l1.406 4.95 3.49-6.019v.011Z",
54
+ fill: resolvedSecondaryColor
55
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
56
+ d: "M71.29 55.882 23.19 69a2.758 2.758 0 0 1-3.38-1.908L8.72 28.152c-.97-3.402 1.167-6.913 4.635-7.622l43.258-8.822c3.162-.643 6.281 1.298 7.088 4.417l9.53 36.399a2.754 2.754 0 0 1-1.94 3.358Z",
57
+ fill: "#fff",
58
+ stroke: resolvedSecondaryColor,
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round",
61
+ strokeWidth: ".7"
62
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
63
+ d: "m63.107 16 1.131 4.308L10.322 32.1l-1.255-4.375c-.91-3.175 1.092-6.454 4.345-7.117l43.05-8.733c2.966-.602 5.889 1.213 6.645 4.122V16Z",
64
+ fill: resolvedPrimaryColor,
65
+ stroke: resolvedSecondaryColor,
66
+ strokeWidth: ".7"
67
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
68
+ d: "M17.444 25.48a1.89 1.89 0 0 1-1.428 2.389c-1.102.24-2.247-.458-2.552-1.538a1.885 1.885 0 0 1 1.44-2.388c1.1-.229 2.235.47 2.54 1.549v-.011ZM24.488 23.998c.295 1.068-.327 2.126-1.406 2.355-1.08.23-2.203-.458-2.497-1.537-.295-1.08.327-2.138 1.417-2.367 1.09-.229 2.192.47 2.486 1.538v.01Z",
69
+ fill: resolvedSecondaryColor
70
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
71
+ d: "M57.344 37.52 20.9 46.647l-1.887-6.652 36.65-8.855a.893.893 0 0 1 1.069.633l1.265 4.656c.13.48-.164.97-.643 1.09h-.011ZM52.437 49.787l-28.504 7.535-1.876-6.598 28.624-7.327 1.756 6.39Z",
72
+ fill: resolvedPrimaryColor
73
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
74
+ d: "M77.168 28.992c0 6.76-3.184 12.77-8.135 16.618a20.926 20.926 0 0 1-2.617 1.734 20.545 20.545 0 0 1-3.304 1.494 20.908 20.908 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.432-21.024 21.045-21.024 7.263 0 13.663 3.675 17.447 9.28a20.949 20.949 0 0 1 3.599 11.766v-.011Z",
75
+ fill: "#fff"
76
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
77
+ d: "M63.123 48.849a20.909 20.909 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.421-21.035 21.034-21.035 5.213 0 9.978 1.898 13.653 5.027M73.57 17.226a20.949 20.949 0 0 1 3.598 11.766c0 6.76-3.184 12.77-8.135 16.618",
78
+ stroke: resolvedSecondaryColor,
79
+ strokeLinecap: "round",
80
+ strokeLinejoin: "round"
81
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
82
+ d: "M56.122 14.794v14.198l8.2-5.616M53.767 45.61l9.356 3.239-8.418 6.107",
83
+ stroke: resolvedSecondaryColor,
84
+ strokeLinecap: "round",
85
+ strokeLinejoin: "round"
86
+ }));
87
+ };
82
88
  Collection.displayName = "Collection";
83
89
  var stdin_default = (0, import_core.createBaseComponent)(Collection);
@@ -1,59 +1,65 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
3
  import { Box } from "@semcore/flex-box";
4
- const Collection = ({ 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: "M14.783 65.206c6.456 6.455 15.365 10.446 25.222 10.446v2.443c0 .49.404.894.895.883 20.827-.469 37.63-17.273 38.1-38.1a.882.882 0 0 0-.883-.894h-2.443c0-19.694-15.964-35.669-35.669-35.669V1.883A.882.882 0 0 0 39.111 1c-10.086.23-19.235 4.286-26.04 10.785a.876.876 0 0 0 0 1.265l1.723 1.733c-6.477 6.445-10.468 15.354-10.468 25.2H1.883a.882.882 0 0 0-.883.895c.23 10.086 4.297 19.235 10.785 26.04.338.36.905.36 1.265 0l1.733-1.723v.01Z",
14
- fill: "#E0E1E9"
15
- }), /* @__PURE__ */ React.createElement("path", {
16
- d: "M65.402 59.983s.087-.055.12-.088l6.553-4.362-3.162-1.712-3.162.764-8.375-31.961a5.756 5.756 0 0 0-6.739-4.187L10.705 26.57 9.3 23.42l-3.446 5.932c-.077.12-.153.25-.218.37v.022a5.688 5.688 0 0 0-.458 4.286L15.71 71.007a2.61 2.61 0 0 0 3.206 1.81l45.679-12.453c.273-.076.523-.207.752-.349l.055-.032Z",
17
- fill: "#6C6E79",
18
- stroke: "#6C6E79",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round",
21
- strokeWidth: ".7"
22
- }), /* @__PURE__ */ React.createElement("path", {
23
- d: "M10.073 32.983s.327-3.184.61-6.444L9.3 23.43l-3.446 5.932c-.077.12-.153.25-.218.37v.023a5.688 5.688 0 0 0-.458 4.285l1.406 4.95 3.49-6.019v.011Z",
24
- fill: "#6C6E79"
25
- }), /* @__PURE__ */ React.createElement("path", {
26
- d: "M71.29 55.882 23.19 69a2.758 2.758 0 0 1-3.38-1.908L8.72 28.152c-.97-3.402 1.167-6.913 4.635-7.622l43.258-8.822c3.162-.643 6.281 1.298 7.088 4.417l9.53 36.399a2.754 2.754 0 0 1-1.94 3.358Z",
27
- fill: "#fff",
28
- stroke: "#6C6E79",
29
- strokeLinecap: "round",
30
- strokeLinejoin: "round",
31
- strokeWidth: ".7"
32
- }), /* @__PURE__ */ React.createElement("path", {
33
- d: "m63.107 16 1.131 4.308L10.322 32.1l-1.255-4.375c-.91-3.175 1.092-6.454 4.345-7.117l43.05-8.733c2.966-.602 5.889 1.213 6.645 4.122V16Z",
34
- fill: "#E0E1E9",
35
- stroke: "#6C6E79",
36
- strokeWidth: ".7"
37
- }), /* @__PURE__ */ React.createElement("path", {
38
- d: "M17.444 25.48a1.89 1.89 0 0 1-1.428 2.389c-1.102.24-2.247-.458-2.552-1.538a1.885 1.885 0 0 1 1.44-2.388c1.1-.229 2.235.47 2.54 1.549v-.011ZM24.488 23.998c.295 1.068-.327 2.126-1.406 2.355-1.08.23-2.203-.458-2.497-1.537-.295-1.08.327-2.138 1.417-2.367 1.09-.229 2.192.47 2.486 1.538v.01Z",
39
- fill: "#6C6E79"
40
- }), /* @__PURE__ */ React.createElement("path", {
41
- d: "M57.344 37.52 20.9 46.647l-1.887-6.652 36.65-8.855a.893.893 0 0 1 1.069.633l1.265 4.656c.13.48-.164.97-.643 1.09h-.011ZM52.437 49.787l-28.504 7.535-1.876-6.598 28.624-7.327 1.756 6.39Z",
42
- fill: "#E0E1E9"
43
- }), /* @__PURE__ */ React.createElement("path", {
44
- d: "M77.168 28.992c0 6.76-3.184 12.77-8.135 16.618a20.926 20.926 0 0 1-2.617 1.734 20.545 20.545 0 0 1-3.304 1.494 20.908 20.908 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.432-21.024 21.045-21.024 7.263 0 13.663 3.675 17.447 9.28a20.949 20.949 0 0 1 3.599 11.766v-.011Z",
45
- fill: "#fff"
46
- }), /* @__PURE__ */ React.createElement("path", {
47
- d: "M63.123 48.849a20.909 20.909 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.421-21.035 21.034-21.035 5.213 0 9.978 1.898 13.653 5.027M73.57 17.226a20.949 20.949 0 0 1 3.598 11.766c0 6.76-3.184 12.77-8.135 16.618",
48
- stroke: "#6C6E79",
49
- strokeLinecap: "round",
50
- strokeLinejoin: "round"
51
- }), /* @__PURE__ */ React.createElement("path", {
52
- d: "M56.122 14.794v14.198l8.2-5.616M53.767 45.61l9.356 3.239-8.418 6.107",
53
- stroke: "#6C6E79",
54
- strokeLinecap: "round",
55
- strokeLinejoin: "round"
56
- }));
4
+ import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
5
+ const Collection = ({ 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: "M14.783 65.206c6.456 6.455 15.365 10.446 25.222 10.446v2.443c0 .49.404.894.895.883 20.827-.469 37.63-17.273 38.1-38.1a.882.882 0 0 0-.883-.894h-2.443c0-19.694-15.964-35.669-35.669-35.669V1.883A.882.882 0 0 0 39.111 1c-10.086.23-19.235 4.286-26.04 10.785a.876.876 0 0 0 0 1.265l1.723 1.733c-6.477 6.445-10.468 15.354-10.468 25.2H1.883a.882.882 0 0 0-.883.895c.23 10.086 4.297 19.235 10.785 26.04.338.36.905.36 1.265 0l1.733-1.723v.01Z",
19
+ fill: resolvedPrimaryColor
20
+ }), /* @__PURE__ */ React.createElement("path", {
21
+ d: "M65.402 59.983s.087-.055.12-.088l6.553-4.362-3.162-1.712-3.162.764-8.375-31.961a5.756 5.756 0 0 0-6.739-4.187L10.705 26.57 9.3 23.42l-3.446 5.932c-.077.12-.153.25-.218.37v.022a5.688 5.688 0 0 0-.458 4.286L15.71 71.007a2.61 2.61 0 0 0 3.206 1.81l45.679-12.453c.273-.076.523-.207.752-.349l.055-.032Z",
22
+ fill: resolvedSecondaryColor,
23
+ stroke: resolvedSecondaryColor,
24
+ strokeLinecap: "round",
25
+ strokeLinejoin: "round",
26
+ strokeWidth: ".7"
27
+ }), /* @__PURE__ */ React.createElement("path", {
28
+ d: "M10.073 32.983s.327-3.184.61-6.444L9.3 23.43l-3.446 5.932c-.077.12-.153.25-.218.37v.023a5.688 5.688 0 0 0-.458 4.285l1.406 4.95 3.49-6.019v.011Z",
29
+ fill: resolvedSecondaryColor
30
+ }), /* @__PURE__ */ React.createElement("path", {
31
+ d: "M71.29 55.882 23.19 69a2.758 2.758 0 0 1-3.38-1.908L8.72 28.152c-.97-3.402 1.167-6.913 4.635-7.622l43.258-8.822c3.162-.643 6.281 1.298 7.088 4.417l9.53 36.399a2.754 2.754 0 0 1-1.94 3.358Z",
32
+ fill: "#fff",
33
+ stroke: resolvedSecondaryColor,
34
+ strokeLinecap: "round",
35
+ strokeLinejoin: "round",
36
+ strokeWidth: ".7"
37
+ }), /* @__PURE__ */ React.createElement("path", {
38
+ d: "m63.107 16 1.131 4.308L10.322 32.1l-1.255-4.375c-.91-3.175 1.092-6.454 4.345-7.117l43.05-8.733c2.966-.602 5.889 1.213 6.645 4.122V16Z",
39
+ fill: resolvedPrimaryColor,
40
+ stroke: resolvedSecondaryColor,
41
+ strokeWidth: ".7"
42
+ }), /* @__PURE__ */ React.createElement("path", {
43
+ d: "M17.444 25.48a1.89 1.89 0 0 1-1.428 2.389c-1.102.24-2.247-.458-2.552-1.538a1.885 1.885 0 0 1 1.44-2.388c1.1-.229 2.235.47 2.54 1.549v-.011ZM24.488 23.998c.295 1.068-.327 2.126-1.406 2.355-1.08.23-2.203-.458-2.497-1.537-.295-1.08.327-2.138 1.417-2.367 1.09-.229 2.192.47 2.486 1.538v.01Z",
44
+ fill: resolvedSecondaryColor
45
+ }), /* @__PURE__ */ React.createElement("path", {
46
+ d: "M57.344 37.52 20.9 46.647l-1.887-6.652 36.65-8.855a.893.893 0 0 1 1.069.633l1.265 4.656c.13.48-.164.97-.643 1.09h-.011ZM52.437 49.787l-28.504 7.535-1.876-6.598 28.624-7.327 1.756 6.39Z",
47
+ fill: resolvedPrimaryColor
48
+ }), /* @__PURE__ */ React.createElement("path", {
49
+ d: "M77.168 28.992c0 6.76-3.184 12.77-8.135 16.618a20.926 20.926 0 0 1-2.617 1.734 20.545 20.545 0 0 1-3.304 1.494 20.908 20.908 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.432-21.024 21.045-21.024 7.263 0 13.663 3.675 17.447 9.28a20.949 20.949 0 0 1 3.599 11.766v-.011Z",
50
+ fill: "#fff"
51
+ }), /* @__PURE__ */ React.createElement("path", {
52
+ d: "M63.123 48.849a20.909 20.909 0 0 1-6.99 1.189c-11.624 0-21.045-9.422-21.045-21.046 0-11.624 9.421-21.035 21.034-21.035 5.213 0 9.978 1.898 13.653 5.027M73.57 17.226a20.949 20.949 0 0 1 3.598 11.766c0 6.76-3.184 12.77-8.135 16.618",
53
+ stroke: resolvedSecondaryColor,
54
+ strokeLinecap: "round",
55
+ strokeLinejoin: "round"
56
+ }), /* @__PURE__ */ React.createElement("path", {
57
+ d: "M56.122 14.794v14.198l8.2-5.616M53.767 45.61l9.356 3.239-8.418 6.107",
58
+ stroke: resolvedSecondaryColor,
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round"
61
+ }));
62
+ };
57
63
  Collection.displayName = "Collection";
58
64
  var stdin_default = createBaseComponent(Collection);
59
65
  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;