@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
@@ -26,77 +26,83 @@ 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 VennChart = ({ 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: "M3 40.987C3.497 61.968 20.301 78.59 41.245 79c.497 0 .91-.411.91-.905v-2.468C61.94 75.627 78 59.665 78 40 78 20.335 61.94 4.373 42.156 4.373V1.905A.916.916 0 0 0 41.245 1a39.36 39.36 0 0 0-26.159 10.778.89.89 0 0 0 0 1.235l1.739 1.728C10.367 21.157 6.31 30.044 6.31 39.918H3.828c-.414.164-.828.576-.828 1.07Z",
39
- fill: "#E0E1E9"
40
- }), /* @__PURE__ */ import_react.default.createElement("path", {
41
- d: "M65.925 57.607s.086-.054.119-.087l6.495-4.323-3.134-1.697-3.134.757-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.467 6.467 0 0 0-.216.366v.022a5.638 5.638 0 0 0-.454 4.247l10.44 36.649a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342c.27-.076.519-.206.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: "M71.76 53.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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: "M65.449 18.818 11.065 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.885-8.744c3.134-.637 6.225 1.286 7.024 4.377l1.222 4.67Z",
52
- fill: "#6C6E79"
53
- }), /* @__PURE__ */ import_react.default.createElement("path", {
54
- d: "M18.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.092-.227 2.216.464 2.518 1.534v-.01Z",
55
- fill: "#fff"
56
- }), /* @__PURE__ */ import_react.default.createElement("path", {
57
- d: "M25.372 21.938c.291 1.06-.325 2.108-1.395 2.335-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.464 2.465 1.523v.011Z",
58
- fill: "#E0E1E9"
59
- }), /* @__PURE__ */ import_react.default.createElement("path", {
60
- d: "M11.087 30.842s.324-3.155.605-6.387l-1.373-3.08-3.415 5.88a6.509 6.509 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.459-5.965v.01Z",
61
- fill: "#6C6E79"
62
- }), /* @__PURE__ */ import_react.default.createElement("path", {
63
- d: "M71.76 53.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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",
64
- stroke: "#6C6E79",
65
- strokeLinecap: "round",
66
- strokeLinejoin: "round",
67
- strokeWidth: ".7"
68
- }), /* @__PURE__ */ import_react.default.createElement("path", {
69
- d: "M67.068 51.28 28.172 61.754 19.8 32.227",
70
- stroke: "#6C6E79",
71
- strokeLinecap: "round",
72
- strokeLinejoin: "round",
73
- strokeWidth: ".7"
74
- }), /* @__PURE__ */ import_react.default.createElement("path", {
75
- d: "M50.829 41.06c1.362 5.003-2.14 10.256-7.9 11.769-5.847 1.534-11.791-1.351-13.218-6.474-1.427-5.134 2.259-10.472 8.17-11.877 5.815-1.384 11.586 1.577 12.948 6.581Z",
76
- fill: "#6C6E79",
77
- stroke: "#6C6E79",
78
- strokeLinecap: "round",
79
- strokeLinejoin: "round",
80
- strokeWidth: ".7"
81
- }), /* @__PURE__ */ import_react.default.createElement("path", {
82
- d: "M57.357 31.892c1.037 3.826-1.61 7.781-5.955 8.873-4.388 1.102-8.852-1.157-9.91-5.047-1.07-3.902 1.685-7.911 6.105-8.938 4.378-1.016 8.733 1.275 9.76 5.112Z",
83
- fill: "#fff",
84
- stroke: "#6C6E79",
85
- strokeLinecap: "round",
86
- strokeLinejoin: "round",
87
- strokeWidth: ".7"
88
- }), /* @__PURE__ */ import_react.default.createElement("path", {
89
- d: "M41.264 34.153c.01.519.076 1.037.227 1.567 1.016 3.707 5.112 5.922 9.284 5.177-1.167-3.934-5.047-6.56-9.511-6.733v-.011Z",
90
- fill: "#E0E1E9",
91
- stroke: "#6C6E79",
92
- strokeLinecap: "round",
93
- strokeLinejoin: "round",
94
- strokeWidth: ".7"
95
- }), /* @__PURE__ */ import_react.default.createElement("path", {
96
- d: "m42.813 38.031 2.205-3.147M48.605 37.397l-2.17 3.164",
97
- stroke: "#6C6E79",
98
- strokeMiterlimit: "10",
99
- strokeWidth: ".7"
100
- }));
29
+ var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
30
+ const VennChart = ({ 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: "M3 40.987C3.497 61.968 20.301 78.59 41.245 79c.497 0 .91-.411.91-.905v-2.468C61.94 75.627 78 59.665 78 40 78 20.335 61.94 4.373 42.156 4.373V1.905A.916.916 0 0 0 41.245 1a39.36 39.36 0 0 0-26.159 10.778.89.89 0 0 0 0 1.235l1.739 1.728C10.367 21.157 6.31 30.044 6.31 39.918H3.828c-.414.164-.828.576-.828 1.07Z",
44
+ fill: resolvedPrimaryColor
45
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
46
+ d: "M65.925 57.607s.086-.054.119-.087l6.495-4.323-3.134-1.697-3.134.757-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.467 6.467 0 0 0-.216.366v.022a5.638 5.638 0 0 0-.454 4.247l10.44 36.649a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342c.27-.076.519-.206.746-.346l.054-.032.01-.011Z",
47
+ fill: resolvedPrimaryColor,
48
+ stroke: resolvedSecondaryColor,
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ strokeWidth: ".7"
52
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
53
+ d: "M71.76 53.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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: "M65.449 18.818 11.065 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.885-8.744c3.134-.637 6.225 1.286 7.024 4.377l1.222 4.67Z",
57
+ fill: resolvedSecondaryColor
58
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
59
+ d: "M18.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.092-.227 2.216.464 2.518 1.534v-.01Z",
60
+ fill: "#fff"
61
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
62
+ d: "M25.372 21.938c.291 1.06-.325 2.108-1.395 2.335-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.464 2.465 1.523v.011Z",
63
+ fill: resolvedPrimaryColor
64
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
65
+ d: "M11.087 30.842s.324-3.155.605-6.387l-1.373-3.08-3.415 5.88a6.509 6.509 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.459-5.965v.01Z",
66
+ fill: resolvedSecondaryColor
67
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
68
+ d: "M71.76 53.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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",
69
+ stroke: resolvedSecondaryColor,
70
+ strokeLinecap: "round",
71
+ strokeLinejoin: "round",
72
+ strokeWidth: ".7"
73
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
74
+ d: "M67.068 51.28 28.172 61.754 19.8 32.227",
75
+ stroke: resolvedSecondaryColor,
76
+ strokeLinecap: "round",
77
+ strokeLinejoin: "round",
78
+ strokeWidth: ".7"
79
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
80
+ d: "M50.829 41.06c1.362 5.003-2.14 10.256-7.9 11.769-5.847 1.534-11.791-1.351-13.218-6.474-1.427-5.134 2.259-10.472 8.17-11.877 5.815-1.384 11.586 1.577 12.948 6.581Z",
81
+ fill: resolvedSecondaryColor,
82
+ stroke: resolvedSecondaryColor,
83
+ strokeLinecap: "round",
84
+ strokeLinejoin: "round",
85
+ strokeWidth: ".7"
86
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
87
+ d: "M57.357 31.892c1.037 3.826-1.61 7.781-5.955 8.873-4.388 1.102-8.852-1.157-9.91-5.047-1.07-3.902 1.685-7.911 6.105-8.938 4.378-1.016 8.733 1.275 9.76 5.112Z",
88
+ fill: "#fff",
89
+ stroke: resolvedSecondaryColor,
90
+ strokeLinecap: "round",
91
+ strokeLinejoin: "round",
92
+ strokeWidth: ".7"
93
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
94
+ d: "M41.264 34.153c.01.519.076 1.037.227 1.567 1.016 3.707 5.112 5.922 9.284 5.177-1.167-3.934-5.047-6.56-9.511-6.733v-.011Z",
95
+ fill: resolvedPrimaryColor,
96
+ stroke: resolvedSecondaryColor,
97
+ strokeLinecap: "round",
98
+ strokeLinejoin: "round",
99
+ strokeWidth: ".7"
100
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
101
+ d: "m42.813 38.031 2.205-3.147M48.605 37.397l-2.17 3.164",
102
+ stroke: resolvedSecondaryColor,
103
+ strokeMiterlimit: "10",
104
+ strokeWidth: ".7"
105
+ }));
106
+ };
101
107
  VennChart.displayName = "VennChart";
102
108
  var stdin_default = (0, import_core.createBaseComponent)(VennChart);
@@ -1,78 +1,84 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
3
  import { Box } from "@semcore/flex-box";
4
- const VennChart = ({ 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: "M3 40.987C3.497 61.968 20.301 78.59 41.245 79c.497 0 .91-.411.91-.905v-2.468C61.94 75.627 78 59.665 78 40 78 20.335 61.94 4.373 42.156 4.373V1.905A.916.916 0 0 0 41.245 1a39.36 39.36 0 0 0-26.159 10.778.89.89 0 0 0 0 1.235l1.739 1.728C10.367 21.157 6.31 30.044 6.31 39.918H3.828c-.414.164-.828.576-.828 1.07Z",
14
- fill: "#E0E1E9"
15
- }), /* @__PURE__ */ React.createElement("path", {
16
- d: "M65.925 57.607s.086-.054.119-.087l6.495-4.323-3.134-1.697-3.134.757-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.467 6.467 0 0 0-.216.366v.022a5.638 5.638 0 0 0-.454 4.247l10.44 36.649a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342c.27-.076.519-.206.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.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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: "M65.449 18.818 11.065 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.885-8.744c3.134-.637 6.225 1.286 7.024 4.377l1.222 4.67Z",
27
- fill: "#6C6E79"
28
- }), /* @__PURE__ */ React.createElement("path", {
29
- d: "M18.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.092-.227 2.216.464 2.518 1.534v-.01Z",
30
- fill: "#fff"
31
- }), /* @__PURE__ */ React.createElement("path", {
32
- d: "M25.372 21.938c.291 1.06-.325 2.108-1.395 2.335-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.464 2.465 1.523v.011Z",
33
- fill: "#E0E1E9"
34
- }), /* @__PURE__ */ React.createElement("path", {
35
- d: "M11.087 30.842s.324-3.155.605-6.387l-1.373-3.08-3.415 5.88a6.509 6.509 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.459-5.965v.01Z",
36
- fill: "#6C6E79"
37
- }), /* @__PURE__ */ React.createElement("path", {
38
- d: "M71.76 53.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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",
39
- stroke: "#6C6E79",
40
- strokeLinecap: "round",
41
- strokeLinejoin: "round",
42
- strokeWidth: ".7"
43
- }), /* @__PURE__ */ React.createElement("path", {
44
- d: "M67.068 51.28 28.172 61.754 19.8 32.227",
45
- stroke: "#6C6E79",
46
- strokeLinecap: "round",
47
- strokeLinejoin: "round",
48
- strokeWidth: ".7"
49
- }), /* @__PURE__ */ React.createElement("path", {
50
- d: "M50.829 41.06c1.362 5.003-2.14 10.256-7.9 11.769-5.847 1.534-11.791-1.351-13.218-6.474-1.427-5.134 2.259-10.472 8.17-11.877 5.815-1.384 11.586 1.577 12.948 6.581Z",
51
- fill: "#6C6E79",
52
- stroke: "#6C6E79",
53
- strokeLinecap: "round",
54
- strokeLinejoin: "round",
55
- strokeWidth: ".7"
56
- }), /* @__PURE__ */ React.createElement("path", {
57
- d: "M57.357 31.892c1.037 3.826-1.61 7.781-5.955 8.873-4.388 1.102-8.852-1.157-9.91-5.047-1.07-3.902 1.685-7.911 6.105-8.938 4.378-1.016 8.733 1.275 9.76 5.112Z",
58
- fill: "#fff",
59
- stroke: "#6C6E79",
60
- strokeLinecap: "round",
61
- strokeLinejoin: "round",
62
- strokeWidth: ".7"
63
- }), /* @__PURE__ */ React.createElement("path", {
64
- d: "M41.264 34.153c.01.519.076 1.037.227 1.567 1.016 3.707 5.112 5.922 9.284 5.177-1.167-3.934-5.047-6.56-9.511-6.733v-.011Z",
65
- fill: "#E0E1E9",
66
- stroke: "#6C6E79",
67
- strokeLinecap: "round",
68
- strokeLinejoin: "round",
69
- strokeWidth: ".7"
70
- }), /* @__PURE__ */ React.createElement("path", {
71
- d: "m42.813 38.031 2.205-3.147M48.605 37.397l-2.17 3.164",
72
- stroke: "#6C6E79",
73
- strokeMiterlimit: "10",
74
- strokeWidth: ".7"
75
- }));
4
+ import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
5
+ const VennChart = ({ 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: "M3 40.987C3.497 61.968 20.301 78.59 41.245 79c.497 0 .91-.411.91-.905v-2.468C61.94 75.627 78 59.665 78 40 78 20.335 61.94 4.373 42.156 4.373V1.905A.916.916 0 0 0 41.245 1a39.36 39.36 0 0 0-26.159 10.778.89.89 0 0 0 0 1.235l1.739 1.728C10.367 21.157 6.31 30.044 6.31 39.918H3.828c-.414.164-.828.576-.828 1.07Z",
19
+ fill: resolvedPrimaryColor
20
+ }), /* @__PURE__ */ React.createElement("path", {
21
+ d: "M65.925 57.607s.086-.054.119-.087l6.495-4.323-3.134-1.697-3.134.757-8.3-31.677a5.705 5.705 0 0 0-6.68-4.15l-39.588 8.073-1.394-3.123-3.415 5.88a6.467 6.467 0 0 0-.216.366v.022a5.638 5.638 0 0 0-.454 4.247l10.44 36.649a2.587 2.587 0 0 0 3.177 1.794l45.273-12.342c.27-.076.519-.206.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.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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: "M65.449 18.818 11.065 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.885-8.744c3.134-.637 6.225 1.286 7.024 4.377l1.222 4.67Z",
32
+ fill: resolvedSecondaryColor
33
+ }), /* @__PURE__ */ React.createElement("path", {
34
+ d: "M18.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.092-.227 2.216.464 2.518 1.534v-.01Z",
35
+ fill: "#fff"
36
+ }), /* @__PURE__ */ React.createElement("path", {
37
+ d: "M25.372 21.938c.291 1.06-.325 2.108-1.395 2.335-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.464 2.465 1.523v.011Z",
38
+ fill: resolvedPrimaryColor
39
+ }), /* @__PURE__ */ React.createElement("path", {
40
+ d: "M11.087 30.842s.324-3.155.605-6.387l-1.373-3.08-3.415 5.88a6.509 6.509 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.459-5.965v.01Z",
41
+ fill: resolvedSecondaryColor
42
+ }), /* @__PURE__ */ React.createElement("path", {
43
+ d: "M71.76 53.554 24.086 66.555a2.734 2.734 0 0 1-3.35-1.891L9.745 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",
44
+ stroke: resolvedSecondaryColor,
45
+ strokeLinecap: "round",
46
+ strokeLinejoin: "round",
47
+ strokeWidth: ".7"
48
+ }), /* @__PURE__ */ React.createElement("path", {
49
+ d: "M67.068 51.28 28.172 61.754 19.8 32.227",
50
+ stroke: resolvedSecondaryColor,
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round",
53
+ strokeWidth: ".7"
54
+ }), /* @__PURE__ */ React.createElement("path", {
55
+ d: "M50.829 41.06c1.362 5.003-2.14 10.256-7.9 11.769-5.847 1.534-11.791-1.351-13.218-6.474-1.427-5.134 2.259-10.472 8.17-11.877 5.815-1.384 11.586 1.577 12.948 6.581Z",
56
+ fill: resolvedSecondaryColor,
57
+ stroke: resolvedSecondaryColor,
58
+ strokeLinecap: "round",
59
+ strokeLinejoin: "round",
60
+ strokeWidth: ".7"
61
+ }), /* @__PURE__ */ React.createElement("path", {
62
+ d: "M57.357 31.892c1.037 3.826-1.61 7.781-5.955 8.873-4.388 1.102-8.852-1.157-9.91-5.047-1.07-3.902 1.685-7.911 6.105-8.938 4.378-1.016 8.733 1.275 9.76 5.112Z",
63
+ fill: "#fff",
64
+ stroke: resolvedSecondaryColor,
65
+ strokeLinecap: "round",
66
+ strokeLinejoin: "round",
67
+ strokeWidth: ".7"
68
+ }), /* @__PURE__ */ React.createElement("path", {
69
+ d: "M41.264 34.153c.01.519.076 1.037.227 1.567 1.016 3.707 5.112 5.922 9.284 5.177-1.167-3.934-5.047-6.56-9.511-6.733v-.011Z",
70
+ fill: resolvedPrimaryColor,
71
+ stroke: resolvedSecondaryColor,
72
+ strokeLinecap: "round",
73
+ strokeLinejoin: "round",
74
+ strokeWidth: ".7"
75
+ }), /* @__PURE__ */ React.createElement("path", {
76
+ d: "m42.813 38.031 2.205-3.147M48.605 37.397l-2.17 3.164",
77
+ stroke: resolvedSecondaryColor,
78
+ strokeMiterlimit: "10",
79
+ strokeWidth: ".7"
80
+ }));
81
+ };
76
82
  VennChart.displayName = "VennChart";
77
83
  var stdin_default = createBaseComponent(VennChart);
78
84
  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,71 +26,77 @@ 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 VerticalBarChart = ({ 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 78.997C61.996 78.727 79 60.873 79 39.412V1.992A1 1 0 0 0 78.01 1H53.99a1 1 0 0 0-.99.992v2.705H27.99a1 1 0 0 0-.99.992v34.355H1.99a1 1 0 0 0-.99.991c.63 21.19 18.173 38.232 39.585 37.962Z",
39
- fill: "#E0E1E9"
40
- }), /* @__PURE__ */ import_react.default.createElement("path", {
41
- 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",
42
- fill: "#E0E1E9",
43
- stroke: "#6C6E79",
44
- strokeLinecap: "round",
45
- strokeLinejoin: "round",
46
- strokeWidth: ".7"
47
- }), /* @__PURE__ */ import_react.default.createElement("path", {
48
- d: "M71.762 53.554 24.09 66.555a2.734 2.734 0 0 1-3.35-1.891L9.749 26.07c-.962-3.372 1.156-6.852 4.593-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: "M65.452 18.818 11.068 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.885-8.744c3.134-.637 6.225 1.286 7.024 4.377l1.222 4.67Z",
52
- fill: "#6C6E79"
53
- }), /* @__PURE__ */ import_react.default.createElement("path", {
54
- d: "M18.394 23.419a1.873 1.873 0 0 1-1.416 2.366c-1.092.238-2.227-.454-2.53-1.523a1.868 1.868 0 0 1 1.428-2.367c1.091-.227 2.215.464 2.518 1.534v-.01Z",
55
- fill: "#fff"
56
- }), /* @__PURE__ */ import_react.default.createElement("path", {
57
- 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-.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: "M11.087 30.842s.324-3.155.605-6.387l-1.373-3.08-3.415 5.88a6.509 6.509 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.459-5.965v.01Z",
61
- fill: "#6C6E79"
62
- }), /* @__PURE__ */ import_react.default.createElement("path", {
63
- d: "M71.762 53.554 24.09 66.555a2.734 2.734 0 0 1-3.35-1.891L9.749 26.07c-.962-3.372 1.156-6.852 4.593-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",
64
- stroke: "#6C6E79",
65
- strokeLinecap: "round",
66
- strokeLinejoin: "round",
67
- strokeWidth: ".7"
68
- }), /* @__PURE__ */ import_react.default.createElement("path", {
69
- d: "m34 41.806-7.057 1.707a.795.795 0 0 0-.573.984l3.34 11.92 8.505-2.215-3.274-11.845a.794.794 0 0 0-.952-.562l.011.01Z",
70
- stroke: "#6C6E79",
71
- strokeLinecap: "round",
72
- strokeLinejoin: "round",
73
- strokeWidth: ".7"
74
- }), /* @__PURE__ */ import_react.default.createElement("path", {
75
- d: "m44.215 28.759-6.809 1.545a.784.784 0 0 0-.583.984l5.966 21.723 8.213-2.14-5.836-21.55a.782.782 0 0 0-.94-.562h-.01Z",
76
- fill: "#6C6E79",
77
- stroke: "#6C6E79",
78
- strokeLinecap: "round",
79
- strokeLinejoin: "round",
80
- strokeWidth: ".7"
81
- }), /* @__PURE__ */ import_react.default.createElement("path", {
82
- d: "m58.285 31.606-6.495 1.513a.786.786 0 0 0-.584.973l4.193 15.638 7.933-2.064-4.096-15.498a.787.787 0 0 0-.94-.562h-.011Z",
83
- fill: "#E0E1E9",
84
- stroke: "#6C6E79",
85
- strokeLinecap: "round",
86
- strokeLinejoin: "round",
87
- strokeWidth: ".7"
88
- }), /* @__PURE__ */ import_react.default.createElement("path", {
89
- d: "m23.355 61.283 46.84-12.386M27.56 48.601l4.306-6.276M35.5 44.764l-6.423 9.36M33.5 55.417l3.593-5.244",
90
- stroke: "#6C6E79",
91
- strokeLinecap: "round",
92
- strokeLinejoin: "round",
93
- strokeWidth: ".7"
94
- }));
29
+ var import_useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
30
+ const VerticalBarChart = ({ 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 78.997C61.996 78.727 79 60.873 79 39.412V1.992A1 1 0 0 0 78.01 1H53.99a1 1 0 0 0-.99.992v2.705H27.99a1 1 0 0 0-.99.992v34.355H1.99a1 1 0 0 0-.99.991c.63 21.19 18.173 38.232 39.585 37.962Z",
44
+ fill: resolvedPrimaryColor
45
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
46
+ 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",
47
+ fill: resolvedPrimaryColor,
48
+ stroke: resolvedSecondaryColor,
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ strokeWidth: ".7"
52
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
53
+ d: "M71.762 53.554 24.09 66.555a2.734 2.734 0 0 1-3.35-1.891L9.749 26.07c-.962-3.372 1.156-6.852 4.593-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: "M65.452 18.818 11.068 30.761l-1.34-4.69c-.962-3.373 1.156-6.853 4.593-7.555l42.885-8.744c3.134-.637 6.225 1.286 7.024 4.377l1.222 4.67Z",
57
+ fill: resolvedSecondaryColor
58
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
59
+ d: "M18.394 23.419a1.873 1.873 0 0 1-1.416 2.366c-1.092.238-2.227-.454-2.53-1.523a1.868 1.868 0 0 1 1.428-2.367c1.091-.227 2.215.464 2.518 1.534v-.01Z",
60
+ fill: "#fff"
61
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
62
+ 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-.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: "M11.087 30.842s.324-3.155.605-6.387l-1.373-3.08-3.415 5.88a6.509 6.509 0 0 0-.216.367v.021a5.637 5.637 0 0 0-.454 4.248l1.394 4.906 3.459-5.965v.01Z",
66
+ fill: resolvedSecondaryColor
67
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
68
+ d: "M71.762 53.554 24.09 66.555a2.734 2.734 0 0 1-3.35-1.891L9.749 26.07c-.962-3.372 1.156-6.852 4.593-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",
69
+ stroke: resolvedSecondaryColor,
70
+ strokeLinecap: "round",
71
+ strokeLinejoin: "round",
72
+ strokeWidth: ".7"
73
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
74
+ d: "m34 41.806-7.057 1.707a.795.795 0 0 0-.573.984l3.34 11.92 8.505-2.215-3.274-11.845a.794.794 0 0 0-.952-.562l.011.01Z",
75
+ stroke: resolvedSecondaryColor,
76
+ strokeLinecap: "round",
77
+ strokeLinejoin: "round",
78
+ strokeWidth: ".7"
79
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
80
+ d: "m44.215 28.759-6.809 1.545a.784.784 0 0 0-.583.984l5.966 21.723 8.213-2.14-5.836-21.55a.782.782 0 0 0-.94-.562h-.01Z",
81
+ fill: resolvedSecondaryColor,
82
+ stroke: resolvedSecondaryColor,
83
+ strokeLinecap: "round",
84
+ strokeLinejoin: "round",
85
+ strokeWidth: ".7"
86
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
87
+ d: "m58.285 31.606-6.495 1.513a.786.786 0 0 0-.584.973l4.193 15.638 7.933-2.064-4.096-15.498a.787.787 0 0 0-.94-.562h-.011Z",
88
+ fill: resolvedPrimaryColor,
89
+ stroke: resolvedSecondaryColor,
90
+ strokeLinecap: "round",
91
+ strokeLinejoin: "round",
92
+ strokeWidth: ".7"
93
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
94
+ d: "m23.355 61.283 46.84-12.386M27.56 48.601l4.306-6.276M35.5 44.764l-6.423 9.36M33.5 55.417l3.593-5.244",
95
+ stroke: resolvedSecondaryColor,
96
+ strokeLinecap: "round",
97
+ strokeLinejoin: "round",
98
+ strokeWidth: ".7"
99
+ }));
100
+ };
95
101
  VerticalBarChart.displayName = "VerticalBarChart";
96
102
  var stdin_default = (0, import_core.createBaseComponent)(VerticalBarChart);