@semcore/illustration 16.0.12 → 17.0.0-prerelease.2

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 (214) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +4 -4
  3. package/{AccessDenied → lib/AccessDenied}/index.d.ts +1 -1
  4. package/{AccessDenied → lib/AccessDenied}/index.js +2 -2
  5. package/{AccessDenied → lib/AccessDenied}/index.mjs +1 -1
  6. package/{AreaChart → lib/AccessLogIn}/index.d.ts +1 -1
  7. package/{AccessLogIn → lib/AccessLogIn}/index.js +2 -2
  8. package/{AccessLogIn → lib/AccessLogIn}/index.mjs +1 -1
  9. package/{Blocked → lib/AreaChart}/index.d.ts +1 -1
  10. package/{AreaChart → lib/AreaChart}/index.js +2 -2
  11. package/{AreaChart → lib/AreaChart}/index.mjs +1 -1
  12. package/{AccessLogIn → lib/Blocked}/index.d.ts +1 -1
  13. package/{Blocked → lib/Blocked}/index.js +2 -2
  14. package/{Blocked → lib/Blocked}/index.mjs +1 -1
  15. package/lib/ChoroplethMapChart/index.d.ts +28 -0
  16. package/{ChoroplethMapChart → lib/ChoroplethMapChart}/index.js +2 -2
  17. package/{ChoroplethMapChart → lib/ChoroplethMapChart}/index.mjs +1 -1
  18. package/lib/Coffee/index.d.ts +28 -0
  19. package/{Coffee → lib/Coffee}/index.js +2 -2
  20. package/{Coffee → lib/Coffee}/index.mjs +1 -1
  21. package/lib/Collection/index.d.ts +28 -0
  22. package/{Collection → lib/Collection}/index.js +2 -2
  23. package/{Collection → lib/Collection}/index.mjs +1 -1
  24. package/lib/CombinedChart/index.d.ts +28 -0
  25. package/{CombinedChart → lib/CombinedChart}/index.js +2 -2
  26. package/{CombinedChart → lib/CombinedChart}/index.mjs +1 -1
  27. package/lib/Configuration/index.d.ts +28 -0
  28. package/{Configuration → lib/Configuration}/index.js +2 -2
  29. package/{Configuration → lib/Configuration}/index.mjs +1 -1
  30. package/lib/Confirmation/index.d.ts +28 -0
  31. package/{Confirmation → lib/Confirmation}/index.js +2 -2
  32. package/{Confirmation → lib/Confirmation}/index.mjs +1 -1
  33. package/lib/Congrats/index.d.ts +28 -0
  34. package/{Congrats → lib/Congrats}/index.js +2 -2
  35. package/{Congrats → lib/Congrats}/index.mjs +1 -1
  36. package/lib/ConnectionLost/index.d.ts +28 -0
  37. package/{ConnectionLost → lib/ConnectionLost}/index.js +2 -2
  38. package/{ConnectionLost → lib/ConnectionLost}/index.mjs +1 -1
  39. package/lib/DeletedAccount/index.d.ts +28 -0
  40. package/{DeletedAccount → lib/DeletedAccount}/index.js +2 -2
  41. package/{DeletedAccount → lib/DeletedAccount}/index.mjs +1 -1
  42. package/lib/DeletedPage/index.d.ts +28 -0
  43. package/{DeletedPage → lib/DeletedPage}/index.js +2 -2
  44. package/{DeletedPage → lib/DeletedPage}/index.mjs +1 -1
  45. package/lib/Dns/index.d.ts +28 -0
  46. package/{Dns → lib/Dns}/index.js +2 -2
  47. package/{Dns → lib/Dns}/index.mjs +1 -1
  48. package/lib/DonutChart/index.d.ts +28 -0
  49. package/{DonutChart → lib/DonutChart}/index.js +2 -2
  50. package/{DonutChart → lib/DonutChart}/index.mjs +1 -1
  51. package/lib/Duplicates/index.d.ts +28 -0
  52. package/{Duplicates → lib/Duplicates}/index.js +2 -2
  53. package/{Duplicates → lib/Duplicates}/index.mjs +1 -1
  54. package/lib/Feedback/index.d.ts +28 -0
  55. package/{Feedback → lib/Feedback}/index.js +2 -2
  56. package/{Feedback → lib/Feedback}/index.mjs +1 -1
  57. package/lib/FunnelChart/index.d.ts +28 -0
  58. package/{FunnelChart → lib/FunnelChart}/index.js +2 -2
  59. package/{FunnelChart → lib/FunnelChart}/index.mjs +1 -1
  60. package/lib/Good/index.d.ts +28 -0
  61. package/{Good → lib/Good}/index.js +2 -2
  62. package/{Good → lib/Good}/index.mjs +1 -1
  63. package/lib/HeatMapChart/index.d.ts +28 -0
  64. package/{HeatMapChart → lib/HeatMapChart}/index.js +2 -2
  65. package/{HeatMapChart → lib/HeatMapChart}/index.mjs +1 -1
  66. package/lib/HorizontalBarChart/index.d.ts +28 -0
  67. package/{HorizontalBarChart → lib/HorizontalBarChart}/index.js +2 -2
  68. package/{HorizontalBarChart → lib/HorizontalBarChart}/index.mjs +1 -1
  69. package/lib/KagiChart/index.d.ts +28 -0
  70. package/{KagiChart → lib/KagiChart}/index.js +2 -2
  71. package/{KagiChart → lib/KagiChart}/index.mjs +1 -1
  72. package/lib/LineChart/index.d.ts +28 -0
  73. package/{LineChart → lib/LineChart}/index.js +2 -2
  74. package/{LineChart → lib/LineChart}/index.mjs +1 -1
  75. package/lib/LollipopChart/index.d.ts +28 -0
  76. package/{LollipopChart → lib/LollipopChart}/index.js +2 -2
  77. package/{LollipopChart → lib/LollipopChart}/index.mjs +1 -1
  78. package/lib/MailSent/index.d.ts +28 -0
  79. package/{MailSent → lib/MailSent}/index.js +2 -2
  80. package/{MailSent → lib/MailSent}/index.mjs +1 -1
  81. package/lib/Maintenance/index.d.ts +28 -0
  82. package/{Maintenance → lib/Maintenance}/index.js +2 -2
  83. package/{Maintenance → lib/Maintenance}/index.mjs +1 -1
  84. package/lib/Nexttime/index.d.ts +28 -0
  85. package/{Nexttime → lib/Nexttime}/index.js +2 -2
  86. package/{Nexttime → lib/Nexttime}/index.mjs +1 -1
  87. package/lib/NoPayment/index.d.ts +28 -0
  88. package/{NoPayment → lib/NoPayment}/index.js +2 -2
  89. package/{NoPayment → lib/NoPayment}/index.mjs +1 -1
  90. package/lib/NothingFound/index.d.ts +28 -0
  91. package/{NothingFound → lib/NothingFound}/index.js +2 -2
  92. package/{NothingFound → lib/NothingFound}/index.mjs +1 -1
  93. package/lib/OtherData/index.d.ts +28 -0
  94. package/{OtherData → lib/OtherData}/index.js +2 -2
  95. package/{OtherData → lib/OtherData}/index.mjs +1 -1
  96. package/lib/PageError/index.d.ts +28 -0
  97. package/{PageError → lib/PageError}/index.js +2 -2
  98. package/{PageError → lib/PageError}/index.mjs +1 -1
  99. package/lib/PageNotFound/index.d.ts +28 -0
  100. package/{PageNotFound → lib/PageNotFound}/index.js +2 -2
  101. package/{PageNotFound → lib/PageNotFound}/index.mjs +1 -1
  102. package/lib/PieChart/index.d.ts +28 -0
  103. package/{PieChart → lib/PieChart}/index.js +2 -2
  104. package/{PieChart → lib/PieChart}/index.mjs +1 -1
  105. package/lib/Processing/index.d.ts +28 -0
  106. package/{Processing → lib/Processing}/index.js +2 -2
  107. package/{Processing → lib/Processing}/index.mjs +1 -1
  108. package/lib/ProjectNotFound/index.d.ts +28 -0
  109. package/{ProjectNotFound → lib/ProjectNotFound}/index.js +2 -2
  110. package/{ProjectNotFound → lib/ProjectNotFound}/index.mjs +1 -1
  111. package/lib/RadarChart/index.d.ts +28 -0
  112. package/{RadarChart → lib/RadarChart}/index.js +2 -2
  113. package/{RadarChart → lib/RadarChart}/index.mjs +1 -1
  114. package/lib/RadialTreeChart/index.d.ts +28 -0
  115. package/{RadialTreeChart → lib/RadialTreeChart}/index.js +2 -2
  116. package/{RadialTreeChart → lib/RadialTreeChart}/index.mjs +1 -1
  117. package/lib/SankeyChart/index.d.ts +28 -0
  118. package/{SankeyChart → lib/SankeyChart}/index.js +2 -2
  119. package/{SankeyChart → lib/SankeyChart}/index.mjs +1 -1
  120. package/lib/ScatterPlotChart/index.d.ts +28 -0
  121. package/{ScatterPlotChart → lib/ScatterPlotChart}/index.js +2 -2
  122. package/{ScatterPlotChart → lib/ScatterPlotChart}/index.mjs +1 -1
  123. package/lib/StackedAreaChart/index.d.ts +28 -0
  124. package/{StackedAreaChart → lib/StackedAreaChart}/index.js +2 -2
  125. package/{StackedAreaChart → lib/StackedAreaChart}/index.mjs +1 -1
  126. package/lib/Suggestion/index.d.ts +28 -0
  127. package/{Suggestion → lib/Suggestion}/index.js +2 -2
  128. package/{Suggestion → lib/Suggestion}/index.mjs +1 -1
  129. package/lib/Suggestions/index.d.ts +28 -0
  130. package/{Suggestions → lib/Suggestions}/index.js +2 -2
  131. package/{Suggestions → lib/Suggestions}/index.mjs +1 -1
  132. package/lib/Table/index.d.ts +28 -0
  133. package/{Table → lib/Table}/index.js +2 -2
  134. package/{Table → lib/Table}/index.mjs +1 -1
  135. package/lib/TagCloud/index.d.ts +28 -0
  136. package/{TagCloud → lib/TagCloud}/index.js +2 -2
  137. package/{TagCloud → lib/TagCloud}/index.mjs +1 -1
  138. package/lib/TextLinksEtc/index.d.ts +28 -0
  139. package/{TextLinksEtc → lib/TextLinksEtc}/index.js +2 -2
  140. package/{TextLinksEtc → lib/TextLinksEtc}/index.mjs +1 -1
  141. package/lib/Timeout/index.d.ts +28 -0
  142. package/{Timeout → lib/Timeout}/index.js +2 -2
  143. package/{Timeout → lib/Timeout}/index.mjs +1 -1
  144. package/lib/UnderConstruction/index.d.ts +28 -0
  145. package/{UnderConstruction → lib/UnderConstruction}/index.js +2 -2
  146. package/{UnderConstruction → lib/UnderConstruction}/index.mjs +1 -1
  147. package/lib/VennChart/index.d.ts +28 -0
  148. package/{VennChart → lib/VennChart}/index.js +2 -2
  149. package/{VennChart → lib/VennChart}/index.mjs +1 -1
  150. package/lib/VerticalBarChart/index.d.ts +28 -0
  151. package/{VerticalBarChart → lib/VerticalBarChart}/index.js +2 -2
  152. package/{VerticalBarChart → lib/VerticalBarChart}/index.mjs +1 -1
  153. package/lib/Waiting/index.d.ts +28 -0
  154. package/{Waiting → lib/Waiting}/index.js +2 -2
  155. package/{Waiting → lib/Waiting}/index.mjs +1 -1
  156. package/lib/Warning/index.d.ts +28 -0
  157. package/{Warning → lib/Warning}/index.js +2 -2
  158. package/{Warning → lib/Warning}/index.mjs +1 -1
  159. package/lib/cjs/index.js +7 -8
  160. package/lib/cjs/index.js.map +1 -1
  161. package/lib/es6/index.js +6 -8
  162. package/lib/es6/index.js.map +1 -1
  163. package/lib/esm/index.mjs +6 -8
  164. package/package.json +161 -161
  165. package/transform.ts +12 -12
  166. package/ChoroplethMapChart/index.d.ts +0 -28
  167. package/Coffee/index.d.ts +0 -28
  168. package/Collection/index.d.ts +0 -28
  169. package/CombinedChart/index.d.ts +0 -28
  170. package/Configuration/index.d.ts +0 -28
  171. package/Confirmation/index.d.ts +0 -28
  172. package/Congrats/index.d.ts +0 -28
  173. package/ConnectionLost/index.d.ts +0 -28
  174. package/DeletedAccount/index.d.ts +0 -28
  175. package/DeletedPage/index.d.ts +0 -28
  176. package/Dns/index.d.ts +0 -28
  177. package/DonutChart/index.d.ts +0 -28
  178. package/Duplicates/index.d.ts +0 -28
  179. package/Feedback/index.d.ts +0 -28
  180. package/FunnelChart/index.d.ts +0 -28
  181. package/Good/index.d.ts +0 -28
  182. package/HeatMapChart/index.d.ts +0 -28
  183. package/HorizontalBarChart/index.d.ts +0 -28
  184. package/KagiChart/index.d.ts +0 -28
  185. package/LineChart/index.d.ts +0 -28
  186. package/LollipopChart/index.d.ts +0 -28
  187. package/MailSent/index.d.ts +0 -28
  188. package/Maintenance/index.d.ts +0 -28
  189. package/Nexttime/index.d.ts +0 -28
  190. package/NoPayment/index.d.ts +0 -28
  191. package/NothingFound/index.d.ts +0 -28
  192. package/OtherData/index.d.ts +0 -28
  193. package/PageError/index.d.ts +0 -28
  194. package/PageNotFound/index.d.ts +0 -28
  195. package/PieChart/index.d.ts +0 -28
  196. package/Processing/index.d.ts +0 -28
  197. package/ProjectNotFound/index.d.ts +0 -28
  198. package/RadarChart/index.d.ts +0 -28
  199. package/RadialTreeChart/index.d.ts +0 -28
  200. package/SankeyChart/index.d.ts +0 -28
  201. package/ScatterPlotChart/index.d.ts +0 -28
  202. package/StackedAreaChart/index.d.ts +0 -28
  203. package/Suggestion/index.d.ts +0 -28
  204. package/Suggestions/index.d.ts +0 -28
  205. package/Table/index.d.ts +0 -28
  206. package/TagCloud/index.d.ts +0 -28
  207. package/TextLinksEtc/index.d.ts +0 -28
  208. package/Timeout/index.d.ts +0 -28
  209. package/UnderConstruction/index.d.ts +0 -28
  210. package/VennChart/index.d.ts +0 -28
  211. package/VerticalBarChart/index.d.ts +0 -28
  212. package/Waiting/index.d.ts +0 -28
  213. package/Warning/index.d.ts +0 -28
  214. package/clear.ts +0 -25
@@ -25,13 +25,13 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_react = __toESM(require("react"));
27
27
  var import_core = require("@semcore/core");
28
- var import_flex_box = require("@semcore/flex-box");
28
+ var import_base_components = require("@semcore/base-components");
29
29
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
30
30
  const Timeout = ({ fill = "none", width = "260", height = "260", viewBox = "0 0 260 260", primaryColor = "#6EDAFF", secondaryColor = "#000", ...props }, ref) => {
31
31
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
32
32
  const resolvedPrimaryColor = colorResolver(primaryColor);
33
33
  const resolvedSecondaryColor = colorResolver(secondaryColor);
34
- return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
34
+ return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
35
35
  ref,
36
36
  width,
37
37
  height,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
- import { Box } from "@semcore/flex-box";
3
+ import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
5
  const Timeout = ({ fill = "none", width = "260", height = "260", viewBox = "0 0 260 260", primaryColor = "#6EDAFF", secondaryColor = "#000", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
@@ -0,0 +1,28 @@
1
+
2
+ import { BoxProps } from '@semcore/base-components';
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;
@@ -25,13 +25,13 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_react = __toESM(require("react"));
27
27
  var import_core = require("@semcore/core");
28
- var import_flex_box = require("@semcore/flex-box");
28
+ var import_base_components = require("@semcore/base-components");
29
29
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
30
30
  const UnderConstruction = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
31
31
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
32
32
  const resolvedPrimaryColor = colorResolver(primaryColor);
33
33
  const resolvedSecondaryColor = colorResolver(secondaryColor);
34
- return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
34
+ return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
35
35
  ref,
36
36
  width,
37
37
  height,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
- import { Box } from "@semcore/flex-box";
3
+ import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
5
  const UnderConstruction = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
@@ -0,0 +1,28 @@
1
+
2
+ import { BoxProps } from '@semcore/base-components';
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;
@@ -25,13 +25,13 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_react = __toESM(require("react"));
27
27
  var import_core = require("@semcore/core");
28
- var import_flex_box = require("@semcore/flex-box");
28
+ var import_base_components = require("@semcore/base-components");
29
29
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
30
30
  const VennChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
31
31
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
32
32
  const resolvedPrimaryColor = colorResolver(primaryColor);
33
33
  const resolvedSecondaryColor = colorResolver(secondaryColor);
34
- return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
34
+ return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
35
35
  ref,
36
36
  width,
37
37
  height,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
- import { Box } from "@semcore/flex-box";
3
+ import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
5
  const VennChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
@@ -0,0 +1,28 @@
1
+
2
+ import { BoxProps } from '@semcore/base-components';
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;
@@ -25,13 +25,13 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_react = __toESM(require("react"));
27
27
  var import_core = require("@semcore/core");
28
- var import_flex_box = require("@semcore/flex-box");
28
+ var import_base_components = require("@semcore/base-components");
29
29
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
30
30
  const VerticalBarChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
31
31
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
32
32
  const resolvedPrimaryColor = colorResolver(primaryColor);
33
33
  const resolvedSecondaryColor = colorResolver(secondaryColor);
34
- return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
34
+ return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
35
35
  ref,
36
36
  width,
37
37
  height,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
- import { Box } from "@semcore/flex-box";
3
+ import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
5
  const VerticalBarChart = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
@@ -0,0 +1,28 @@
1
+
2
+ import { BoxProps } from '@semcore/base-components';
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;
@@ -25,13 +25,13 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_react = __toESM(require("react"));
27
27
  var import_core = require("@semcore/core");
28
- var import_flex_box = require("@semcore/flex-box");
28
+ var import_base_components = require("@semcore/base-components");
29
29
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
30
30
  const Waiting = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
31
31
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
32
32
  const resolvedPrimaryColor = colorResolver(primaryColor);
33
33
  const resolvedSecondaryColor = colorResolver(secondaryColor);
34
- return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
34
+ return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
35
35
  ref,
36
36
  width,
37
37
  height,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
- import { Box } from "@semcore/flex-box";
3
+ import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
5
  const Waiting = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
@@ -0,0 +1,28 @@
1
+
2
+ import { BoxProps } from '@semcore/base-components';
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;
@@ -25,13 +25,13 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_react = __toESM(require("react"));
27
27
  var import_core = require("@semcore/core");
28
- var import_flex_box = require("@semcore/flex-box");
28
+ var import_base_components = require("@semcore/base-components");
29
29
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
30
30
  const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
31
31
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
32
32
  const resolvedPrimaryColor = colorResolver(primaryColor);
33
33
  const resolvedSecondaryColor = colorResolver(secondaryColor);
34
- return /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
34
+ return /* @__PURE__ */ import_react.default.createElement(import_base_components.Box, {
35
35
  ref,
36
36
  width,
37
37
  height,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
- import { Box } from "@semcore/flex-box";
3
+ import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
5
  const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
package/lib/cjs/index.js CHANGED
@@ -4,18 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getIllustrationPath = void 0;
7
- var version = "16.0.12";
7
+ const version = "17.0.0";
8
8
 
9
9
  /**
10
10
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
11
11
  */
12
- var formatName = function formatName(name) {
13
- return name.split(/_|-/).map(function (el) {
14
- return el[0].toUpperCase() + el.slice(1);
15
- }).join('');
12
+ const formatName = name => {
13
+ return name.split(/_|-/).map(el => el[0].toUpperCase() + el.slice(1)).join('');
16
14
  };
17
- var getIllustrationPath = exports.getIllustrationPath = function getIllustrationPath(name) {
18
- var formattedName = formatName(name);
19
- return "https://static.semrush.com/intergalactic/illustrations/".concat(version, "/").concat(formattedName, ".svg");
15
+ const getIllustrationPath = name => {
16
+ const formattedName = formatName(name);
17
+ return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;
20
18
  };
19
+ exports.getIllustrationPath = getIllustrationPath;
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","exports","formattedName","concat"],"sources":["../../src/index.ts"],"sourcesContent":["declare const preval: any;\n\nconst version = preval`module.exports = require('../package.json').version`;\n\n/**\n * Formats string from `access_denied` or `access-denied` to `AccessDenied`\n */\nconst formatName = (name: string) => {\n return name\n .split(/_|-/)\n .map((el) => el[0].toUpperCase() + el.slice(1))\n .join('');\n};\n\nexport const getIllustrationPath = (name: string) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;\n};\n"],"mappings":";;;;;;AAEA,IAAMA,OAAO,YAA8D;;AAE3E;AACA;AACA;AACA,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAAY,EAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAC,UAACC,EAAE;IAAA,OAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC;EAAA,EAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAEM,IAAMC,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,SAAtBA,mBAAmBA,CAAIP,IAAY,EAAK;EACnD,IAAMS,aAAa,GAAGV,UAAU,CAACC,IAAI,CAAC;EAEtC,iEAAAU,MAAA,CAAiEZ,OAAO,OAAAY,MAAA,CAAID,aAAa;AAC3F,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName","exports"],"sources":["../../src/index.ts"],"sourcesContent":["declare const preval: any;\n\nconst version = preval`module.exports = require('../package.json').version`;\n\n/**\n * Formats string from `access_denied` or `access-denied` to `AccessDenied`\n */\nconst formatName = (name: string) => {\n return name\n .split(/_|-/)\n .map((el) => el[0].toUpperCase() + el.slice(1))\n .join('');\n};\n\nexport const getIllustrationPath = (name: string) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;\n};\n"],"mappings":";;;;;;AAEA,MAAMA,OAAO,WAA8D;;AAE3E;AACA;AACA;AACA,MAAMC,UAAU,GAAIC,IAAY,IAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAEC,EAAE,IAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC,CAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAEM,MAAMC,mBAAmB,GAAIP,IAAY,IAAK;EACnD,MAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,OAAO,0DAA0DF,OAAO,IAAIU,aAAa,MAAM;AACjG,CAAC;AAACC,OAAA,CAAAF,mBAAA,GAAAA,mBAAA","ignoreList":[]}
package/lib/es6/index.js CHANGED
@@ -1,15 +1,13 @@
1
- var version = "16.0.12";
1
+ const version = "17.0.0";
2
2
 
3
3
  /**
4
4
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
5
5
  */
6
- var formatName = function formatName(name) {
7
- return name.split(/_|-/).map(function (el) {
8
- return el[0].toUpperCase() + el.slice(1);
9
- }).join('');
6
+ const formatName = name => {
7
+ return name.split(/_|-/).map(el => el[0].toUpperCase() + el.slice(1)).join('');
10
8
  };
11
- export var getIllustrationPath = function getIllustrationPath(name) {
12
- var formattedName = formatName(name);
13
- return "https://static.semrush.com/intergalactic/illustrations/".concat(version, "/").concat(formattedName, ".svg");
9
+ export const getIllustrationPath = name => {
10
+ const formattedName = formatName(name);
11
+ return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;
14
12
  };
15
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName","concat"],"sources":["../../src/index.ts"],"sourcesContent":["declare const preval: any;\n\nconst version = preval`module.exports = require('../package.json').version`;\n\n/**\n * Formats string from `access_denied` or `access-denied` to `AccessDenied`\n */\nconst formatName = (name: string) => {\n return name\n .split(/_|-/)\n .map((el) => el[0].toUpperCase() + el.slice(1))\n .join('');\n};\n\nexport const getIllustrationPath = (name: string) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;\n};\n"],"mappings":"AAEA,IAAMA,OAAO,YAA8D;;AAE3E;AACA;AACA;AACA,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAAY,EAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAC,UAACC,EAAE;IAAA,OAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC;EAAA,EAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAED,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIP,IAAY,EAAK;EACnD,IAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,iEAAAS,MAAA,CAAiEX,OAAO,OAAAW,MAAA,CAAID,aAAa;AAC3F,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["version","formatName","name","split","map","el","toUpperCase","slice","join","getIllustrationPath","formattedName"],"sources":["../../src/index.ts"],"sourcesContent":["declare const preval: any;\n\nconst version = preval`module.exports = require('../package.json').version`;\n\n/**\n * Formats string from `access_denied` or `access-denied` to `AccessDenied`\n */\nconst formatName = (name: string) => {\n return name\n .split(/_|-/)\n .map((el) => el[0].toUpperCase() + el.slice(1))\n .join('');\n};\n\nexport const getIllustrationPath = (name: string) => {\n const formattedName = formatName(name);\n\n return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;\n};\n"],"mappings":"AAEA,MAAMA,OAAO,WAA8D;;AAE3E;AACA;AACA;AACA,MAAMC,UAAU,GAAIC,IAAY,IAAK;EACnC,OAAOA,IAAI,CACRC,KAAK,CAAC,KAAK,CAAC,CACZC,GAAG,CAAEC,EAAE,IAAKA,EAAE,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,CAAC,CAAC,CAAC,CAC9CC,IAAI,CAAC,EAAE,CAAC;AACb,CAAC;AAED,OAAO,MAAMC,mBAAmB,GAAIP,IAAY,IAAK;EACnD,MAAMQ,aAAa,GAAGT,UAAU,CAACC,IAAI,CAAC;EAEtC,OAAO,0DAA0DF,OAAO,IAAIU,aAAa,MAAM;AACjG,CAAC","ignoreList":[]}
package/lib/esm/index.mjs CHANGED
@@ -1,12 +1,10 @@
1
- var version = "16.0.12";
2
- var formatName = function formatName2(name) {
3
- return name.split(/_|-/).map(function(el) {
4
- return el[0].toUpperCase() + el.slice(1);
5
- }).join("");
1
+ const version = "17.0.0";
2
+ const formatName = (name) => {
3
+ return name.split(/_|-/).map((el) => el[0].toUpperCase() + el.slice(1)).join("");
6
4
  };
7
- var getIllustrationPath = function getIllustrationPath2(name) {
8
- var formattedName = formatName(name);
9
- return "https://static.semrush.com/intergalactic/illustrations/".concat(version, "/").concat(formattedName, ".svg");
5
+ const getIllustrationPath = (name) => {
6
+ const formattedName = formatName(name);
7
+ return `https://static.semrush.com/intergalactic/illustrations/${version}/${formattedName}.svg`;
10
8
  };
11
9
  export {
12
10
  getIllustrationPath