@semcore/illustration 16.1.0-prerelease.1 → 16.1.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 (162) hide show
  1. package/lib/AccessDenied/index.d.ts +28 -0
  2. package/lib/AccessDenied/index.js +61 -0
  3. package/lib/AccessDenied/index.mjs +32 -0
  4. package/lib/AccessLogIn/index.d.ts +28 -0
  5. package/lib/AccessLogIn/index.js +61 -0
  6. package/lib/AccessLogIn/index.mjs +32 -0
  7. package/lib/AreaChart/index.d.ts +28 -0
  8. package/lib/AreaChart/index.js +67 -0
  9. package/lib/AreaChart/index.mjs +38 -0
  10. package/lib/Blocked/index.d.ts +28 -0
  11. package/lib/Blocked/index.js +153 -0
  12. package/lib/Blocked/index.mjs +124 -0
  13. package/lib/ChoroplethMapChart/index.d.ts +28 -0
  14. package/lib/ChoroplethMapChart/index.js +69 -0
  15. package/lib/ChoroplethMapChart/index.mjs +40 -0
  16. package/lib/Coffee/index.d.ts +28 -0
  17. package/lib/Coffee/index.js +64 -0
  18. package/lib/Coffee/index.mjs +35 -0
  19. package/lib/Collection/index.d.ts +28 -0
  20. package/lib/Collection/index.js +66 -0
  21. package/lib/Collection/index.mjs +37 -0
  22. package/lib/CombinedChart/index.d.ts +28 -0
  23. package/lib/CombinedChart/index.js +71 -0
  24. package/lib/CombinedChart/index.mjs +42 -0
  25. package/lib/Configuration/index.d.ts +28 -0
  26. package/lib/Configuration/index.js +82 -0
  27. package/lib/Configuration/index.mjs +53 -0
  28. package/lib/Confirmation/index.d.ts +28 -0
  29. package/lib/Confirmation/index.js +63 -0
  30. package/lib/Confirmation/index.mjs +34 -0
  31. package/lib/Congrats/index.d.ts +28 -0
  32. package/lib/Congrats/index.js +58 -0
  33. package/lib/Congrats/index.mjs +29 -0
  34. package/lib/ConnectionLost/index.d.ts +28 -0
  35. package/lib/ConnectionLost/index.js +66 -0
  36. package/lib/ConnectionLost/index.mjs +37 -0
  37. package/lib/DeletedAccount/index.d.ts +28 -0
  38. package/lib/DeletedAccount/index.js +82 -0
  39. package/lib/DeletedAccount/index.mjs +53 -0
  40. package/lib/DeletedPage/index.d.ts +28 -0
  41. package/lib/DeletedPage/index.js +58 -0
  42. package/lib/DeletedPage/index.mjs +29 -0
  43. package/lib/Dns/index.d.ts +28 -0
  44. package/lib/Dns/index.js +62 -0
  45. package/lib/Dns/index.mjs +33 -0
  46. package/lib/DonutChart/index.d.ts +28 -0
  47. package/lib/DonutChart/index.js +72 -0
  48. package/lib/DonutChart/index.mjs +43 -0
  49. package/lib/Duplicates/index.d.ts +28 -0
  50. package/lib/Duplicates/index.js +69 -0
  51. package/lib/Duplicates/index.mjs +40 -0
  52. package/lib/Feedback/index.d.ts +28 -0
  53. package/lib/Feedback/index.js +66 -0
  54. package/lib/Feedback/index.mjs +37 -0
  55. package/lib/FunnelChart/index.d.ts +28 -0
  56. package/lib/FunnelChart/index.js +68 -0
  57. package/lib/FunnelChart/index.mjs +39 -0
  58. package/lib/Good/index.d.ts +28 -0
  59. package/lib/Good/index.js +73 -0
  60. package/lib/Good/index.mjs +44 -0
  61. package/lib/HeatMapChart/index.d.ts +28 -0
  62. package/lib/HeatMapChart/index.js +70 -0
  63. package/lib/HeatMapChart/index.mjs +41 -0
  64. package/lib/HorizontalBarChart/index.d.ts +28 -0
  65. package/lib/HorizontalBarChart/index.js +68 -0
  66. package/lib/HorizontalBarChart/index.mjs +39 -0
  67. package/lib/KagiChart/index.d.ts +28 -0
  68. package/lib/KagiChart/index.js +65 -0
  69. package/lib/KagiChart/index.mjs +36 -0
  70. package/lib/LineChart/index.d.ts +28 -0
  71. package/lib/LineChart/index.js +66 -0
  72. package/lib/LineChart/index.mjs +37 -0
  73. package/lib/LollipopChart/index.d.ts +28 -0
  74. package/lib/LollipopChart/index.js +68 -0
  75. package/lib/LollipopChart/index.mjs +39 -0
  76. package/lib/MailSent/index.d.ts +28 -0
  77. package/lib/MailSent/index.js +58 -0
  78. package/lib/MailSent/index.mjs +29 -0
  79. package/lib/Maintenance/index.d.ts +28 -0
  80. package/lib/Maintenance/index.js +62 -0
  81. package/lib/Maintenance/index.mjs +33 -0
  82. package/lib/Nexttime/index.d.ts +28 -0
  83. package/lib/Nexttime/index.js +70 -0
  84. package/lib/Nexttime/index.mjs +41 -0
  85. package/lib/NoPayment/index.d.ts +28 -0
  86. package/lib/NoPayment/index.js +58 -0
  87. package/lib/NoPayment/index.mjs +29 -0
  88. package/lib/NothingFound/index.d.ts +28 -0
  89. package/lib/NothingFound/index.js +72 -0
  90. package/lib/NothingFound/index.mjs +43 -0
  91. package/lib/OtherData/index.d.ts +28 -0
  92. package/lib/OtherData/index.js +70 -0
  93. package/lib/OtherData/index.mjs +41 -0
  94. package/lib/PageError/index.d.ts +28 -0
  95. package/lib/PageError/index.js +95 -0
  96. package/lib/PageError/index.mjs +66 -0
  97. package/lib/PageNotFound/index.d.ts +28 -0
  98. package/lib/PageNotFound/index.js +113 -0
  99. package/lib/PageNotFound/index.mjs +84 -0
  100. package/lib/PieChart/index.d.ts +28 -0
  101. package/lib/PieChart/index.js +70 -0
  102. package/lib/PieChart/index.mjs +41 -0
  103. package/lib/Processing/index.d.ts +28 -0
  104. package/lib/Processing/index.js +67 -0
  105. package/lib/Processing/index.mjs +38 -0
  106. package/lib/ProjectNotFound/index.d.ts +28 -0
  107. package/lib/ProjectNotFound/index.js +95 -0
  108. package/lib/ProjectNotFound/index.mjs +66 -0
  109. package/lib/RadarChart/index.d.ts +28 -0
  110. package/lib/RadarChart/index.js +67 -0
  111. package/lib/RadarChart/index.mjs +38 -0
  112. package/lib/RadialTreeChart/index.d.ts +28 -0
  113. package/lib/RadialTreeChart/index.js +73 -0
  114. package/lib/RadialTreeChart/index.mjs +44 -0
  115. package/lib/SankeyChart/index.d.ts +28 -0
  116. package/lib/SankeyChart/index.js +71 -0
  117. package/lib/SankeyChart/index.mjs +42 -0
  118. package/lib/ScatterPlotChart/index.d.ts +28 -0
  119. package/lib/ScatterPlotChart/index.js +69 -0
  120. package/lib/ScatterPlotChart/index.mjs +40 -0
  121. package/lib/StackedAreaChart/index.d.ts +28 -0
  122. package/lib/StackedAreaChart/index.js +71 -0
  123. package/lib/StackedAreaChart/index.mjs +42 -0
  124. package/lib/Suggestion/index.d.ts +28 -0
  125. package/lib/Suggestion/index.js +67 -0
  126. package/lib/Suggestion/index.mjs +38 -0
  127. package/lib/Suggestions/index.d.ts +28 -0
  128. package/lib/Suggestions/index.js +67 -0
  129. package/lib/Suggestions/index.mjs +38 -0
  130. package/lib/Table/index.d.ts +28 -0
  131. package/lib/Table/index.js +64 -0
  132. package/lib/Table/index.mjs +35 -0
  133. package/lib/TagCloud/index.d.ts +28 -0
  134. package/lib/TagCloud/index.js +69 -0
  135. package/lib/TagCloud/index.mjs +40 -0
  136. package/lib/TextLinksEtc/index.d.ts +28 -0
  137. package/lib/TextLinksEtc/index.js +65 -0
  138. package/lib/TextLinksEtc/index.mjs +36 -0
  139. package/lib/Timeout/index.d.ts +28 -0
  140. package/lib/Timeout/index.js +61 -0
  141. package/lib/Timeout/index.mjs +32 -0
  142. package/lib/UnderConstruction/index.d.ts +28 -0
  143. package/lib/UnderConstruction/index.js +75 -0
  144. package/lib/UnderConstruction/index.mjs +46 -0
  145. package/lib/VennChart/index.d.ts +28 -0
  146. package/lib/VennChart/index.js +69 -0
  147. package/lib/VennChart/index.mjs +40 -0
  148. package/lib/VerticalBarChart/index.d.ts +28 -0
  149. package/lib/VerticalBarChart/index.js +68 -0
  150. package/lib/VerticalBarChart/index.mjs +39 -0
  151. package/lib/Waiting/index.d.ts +28 -0
  152. package/lib/Waiting/index.js +68 -0
  153. package/lib/Waiting/index.mjs +39 -0
  154. package/lib/Warning/index.d.ts +28 -0
  155. package/lib/Warning/index.js +66 -0
  156. package/lib/Warning/index.mjs +37 -0
  157. package/lib/cjs/index.js +1 -1
  158. package/lib/cjs/index.js.map +1 -1
  159. package/lib/es6/index.js +1 -1
  160. package/lib/es6/index.js.map +1 -1
  161. package/lib/esm/index.mjs +1 -1
  162. package/package.json +4 -4
@@ -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;
@@ -0,0 +1,66 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
30
+ default: () => stdin_default
31
+ });
32
+ module.exports = __toCommonJS(stdin_exports);
33
+ var import_react = __toESM(require("react"));
34
+ var import_core = require("@semcore/core");
35
+ var import_base_components = require("@semcore/base-components");
36
+ var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
37
+ const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#E0E1E9", secondaryColor = "#6C6E79", ...props }, ref) => {
38
+ const colorResolver = (0, import_useColorResolver.useColorResolver)();
39
+ const resolvedPrimaryColor = colorResolver(primaryColor);
40
+ const resolvedSecondaryColor = colorResolver(secondaryColor);
41
+ return /* @__PURE__ */ import_react.default.createElement(
42
+ import_base_components.Box,
43
+ {
44
+ ref,
45
+ width,
46
+ height,
47
+ viewBox,
48
+ fill,
49
+ tag: "svg",
50
+ "aria-hidden": true,
51
+ ...props
52
+ },
53
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M40.51 79.997C62.49 79.714 79.977 61.39 79.977 39.4V.99a.994.994 0 0 0-.99-.99H54.306a.994.994 0 0 0-.99.99v2.753H27.638a.994.994 0 0 0-.99.99v35.265H.991A.985.985 0 0 0 0 41.01c.544 21.806 18.52 39.27 40.52 38.987", fill: resolvedPrimaryColor }),
54
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M66.16 57.374s.087-.054.12-.087l6.521-4.323-3.147-1.697-3.147.756-8.334-31.681a5.73 5.73 0 0 0-6.707-4.15l-39.74 8.063-1.4-3.124-3.428 5.88a6.507 6.507 0 0 0-.217.368v.021a5.618 5.618 0 0 0-.456 4.248l10.472 36.654a2.599 2.599 0 0 0 3.19 1.794l45.459-12.344c.271-.076.52-.205.749-.346l.054-.032h.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
55
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M72.02 53.31 24.152 66.313a2.747 2.747 0 0 1-3.364-1.892L9.752 25.822c-.966-3.372 1.16-6.853 4.612-7.556l43.05-8.744c3.146-.638 6.25 1.286 7.053 4.377L73.95 49.98a2.729 2.729 0 0 1-1.931 3.33Z", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
56
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M65.682 18.57 11.076 30.512l-1.346-4.69c-.966-3.373 1.161-6.854 4.612-7.556l43.05-8.734c3.146-.638 6.25 1.286 7.053 4.378l1.226 4.669.011-.01Z", fill: resolvedSecondaryColor }),
57
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M18.433 23.174a1.873 1.873 0 0 1-1.421 2.367c-1.097.238-2.236-.454-2.54-1.524a1.868 1.868 0 0 1 1.433-2.367c1.096-.227 2.224.465 2.528 1.535v-.011Z", fill: "#fff" }),
58
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M25.443 21.693c.293 1.06-.325 2.108-1.4 2.335-1.074.227-2.192-.454-2.485-1.524-.293-1.07.326-2.12 1.411-2.346 1.085-.227 2.181.465 2.474 1.524v.01Z", fill: resolvedPrimaryColor }),
59
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M11.097 30.6s.326-3.157.608-6.389l-1.378-3.08-3.43 5.88a6.507 6.507 0 0 0-.216.367v.022a5.619 5.619 0 0 0-.456 4.248l1.4 4.908 3.472-5.967v.01Z", fill: resolvedSecondaryColor }),
60
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "m40.481 27.976-7.447 28.427a.98.98 0 0 0 1.22 1.197l27.762-7.62c.73-.197.97-1.1.447-1.645L42.147 27.53c-.533-.545-1.47-.305-1.666.435v.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
61
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "m43.443 35.477 2.373 8.645", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }),
62
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M48.353 48.346c.185.675-.24 1.372-.947 1.557-.708.185-1.438-.196-1.623-.871-.185-.675.24-1.372.947-1.557.708-.185 1.427.207 1.612.871h.01Z", fill: resolvedSecondaryColor })
63
+ );
64
+ };
65
+ Warning.displayName = "Warning";
66
+ var stdin_default = (0, import_core.createBaseComponent)(Warning);
@@ -0,0 +1,37 @@
1
+ import React from "react";
2
+ import { createBaseComponent } from "@semcore/core";
3
+ import { Box } from "@semcore/base-components";
4
+ import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
+ const Warning = ({ 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(
10
+ Box,
11
+ {
12
+ ref,
13
+ width,
14
+ height,
15
+ viewBox,
16
+ fill,
17
+ tag: "svg",
18
+ "aria-hidden": true,
19
+ ...props
20
+ },
21
+ /* @__PURE__ */ React.createElement("path", { d: "M40.51 79.997C62.49 79.714 79.977 61.39 79.977 39.4V.99a.994.994 0 0 0-.99-.99H54.306a.994.994 0 0 0-.99.99v2.753H27.638a.994.994 0 0 0-.99.99v35.265H.991A.985.985 0 0 0 0 41.01c.544 21.806 18.52 39.27 40.52 38.987", fill: resolvedPrimaryColor }),
22
+ /* @__PURE__ */ React.createElement("path", { d: "M66.16 57.374s.087-.054.12-.087l6.521-4.323-3.147-1.697-3.147.756-8.334-31.681a5.73 5.73 0 0 0-6.707-4.15l-39.74 8.063-1.4-3.124-3.428 5.88a6.507 6.507 0 0 0-.217.368v.021a5.618 5.618 0 0 0-.456 4.248l10.472 36.654a2.599 2.599 0 0 0 3.19 1.794l45.459-12.344c.271-.076.52-.205.749-.346l.054-.032h.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
23
+ /* @__PURE__ */ React.createElement("path", { d: "M72.02 53.31 24.152 66.313a2.747 2.747 0 0 1-3.364-1.892L9.752 25.822c-.966-3.372 1.16-6.853 4.612-7.556l43.05-8.744c3.146-.638 6.25 1.286 7.053 4.377L73.95 49.98a2.729 2.729 0 0 1-1.931 3.33Z", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
24
+ /* @__PURE__ */ React.createElement("path", { d: "M65.682 18.57 11.076 30.512l-1.346-4.69c-.966-3.373 1.161-6.854 4.612-7.556l43.05-8.734c3.146-.638 6.25 1.286 7.053 4.378l1.226 4.669.011-.01Z", fill: resolvedSecondaryColor }),
25
+ /* @__PURE__ */ React.createElement("path", { d: "M18.433 23.174a1.873 1.873 0 0 1-1.421 2.367c-1.097.238-2.236-.454-2.54-1.524a1.868 1.868 0 0 1 1.433-2.367c1.096-.227 2.224.465 2.528 1.535v-.011Z", fill: "#fff" }),
26
+ /* @__PURE__ */ React.createElement("path", { d: "M25.443 21.693c.293 1.06-.325 2.108-1.4 2.335-1.074.227-2.192-.454-2.485-1.524-.293-1.07.326-2.12 1.411-2.346 1.085-.227 2.181.465 2.474 1.524v.01Z", fill: resolvedPrimaryColor }),
27
+ /* @__PURE__ */ React.createElement("path", { d: "M11.097 30.6s.326-3.157.608-6.389l-1.378-3.08-3.43 5.88a6.507 6.507 0 0 0-.216.367v.022a5.619 5.619 0 0 0-.456 4.248l1.4 4.908 3.472-5.967v.01Z", fill: resolvedSecondaryColor }),
28
+ /* @__PURE__ */ React.createElement("path", { d: "m40.481 27.976-7.447 28.427a.98.98 0 0 0 1.22 1.197l27.762-7.62c.73-.197.97-1.1.447-1.645L42.147 27.53c-.533-.545-1.47-.305-1.666.435v.01Z", fill: resolvedPrimaryColor, stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".7" }),
29
+ /* @__PURE__ */ React.createElement("path", { d: "m43.443 35.477 2.373 8.645", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }),
30
+ /* @__PURE__ */ React.createElement("path", { d: "M48.353 48.346c.185.675-.24 1.372-.947 1.557-.708.185-1.438-.196-1.623-.871-.185-.675.24-1.372.947-1.557.708-.185 1.427.207 1.612.871h.01Z", fill: resolvedSecondaryColor })
31
+ );
32
+ };
33
+ Warning.displayName = "Warning";
34
+ var stdin_default = createBaseComponent(Warning);
35
+ export {
36
+ stdin_default as default
37
+ };
package/lib/cjs/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getIllustrationPath = void 0;
7
- var version = "16.1.0-prerelease.1";
7
+ var version = "17.0.1";
8
8
 
9
9
  /**
10
10
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
@@ -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,wBAA8D;;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","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,WAA8D;;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":[]}
package/lib/es6/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var version = "16.1.0-prerelease.1";
1
+ var version = "17.0.1";
2
2
 
3
3
  /**
4
4
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
@@ -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,wBAA8D;;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","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,WAA8D;;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":[]}
package/lib/esm/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- var version = "16.1.0-prerelease.1";
1
+ var version = "17.0.1";
2
2
  var formatName = function formatName2(name) {
3
3
  return name.split(/_|-/).map(function(el) {
4
4
  return el[0].toUpperCase() + el.slice(1);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/illustration",
3
3
  "description": "Semrush Illustration Component",
4
- "version": "16.1.0-prerelease.1",
4
+ "version": "16.1.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.mjs",
7
7
  "typings": "lib/types/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "colorjs.io": "0.4.3"
13
13
  },
14
14
  "peerDependencies": {
15
- "@semcore/base-components": "^16.6.0-prerelease.1"
15
+ "@semcore/base-components": "^16.6.0"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
@@ -25,8 +25,8 @@
25
25
  "fs-extra": "8.1.0",
26
26
  "happy-dom": "9.20.3",
27
27
  "svg-to-jsx": "1.0.4",
28
- "@semcore/testing-utils": "1.0.0",
29
- "@semcore/core": "16.6.0-prerelease.1"
28
+ "@semcore/core": "16.6.0",
29
+ "@semcore/testing-utils": "1.0.0"
30
30
  },
31
31
  "exports": {
32
32
  ".": {