@semcore/illustration 17.0.1-prerelease.0 → 17.0.2-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 (171) hide show
  1. package/CHANGELOG.md +85 -3
  2. package/README.md +5 -32
  3. package/lib/MailSent/index.js +14 -3
  4. package/lib/MailSent/index.mjs +14 -3
  5. package/lib/cjs/index.js +7 -8
  6. package/lib/cjs/index.js.map +1 -1
  7. package/lib/es6/index.js +6 -8
  8. package/lib/es6/index.js.map +1 -1
  9. package/lib/esm/index.mjs +6 -8
  10. package/package.json +171 -178
  11. package/svg/MailSent.svg +1 -27
  12. package/transform.ts +21 -20
  13. package/types/svg-to-jsx.d.ts +1 -1
  14. package/vite.config.ts +24 -0
  15. package/AccessDenied/index.d.ts +0 -28
  16. package/AccessDenied/index.js +0 -242
  17. package/AccessDenied/index.mjs +0 -220
  18. package/AccessLogIn/index.d.ts +0 -28
  19. package/AccessLogIn/index.js +0 -344
  20. package/AccessLogIn/index.mjs +0 -322
  21. package/AreaChart/index.d.ts +0 -28
  22. package/AreaChart/index.js +0 -89
  23. package/AreaChart/index.mjs +0 -67
  24. package/Blocked/index.d.ts +0 -28
  25. package/Blocked/index.js +0 -493
  26. package/Blocked/index.mjs +0 -471
  27. package/ChoroplethMapChart/index.d.ts +0 -28
  28. package/ChoroplethMapChart/index.js +0 -111
  29. package/ChoroplethMapChart/index.mjs +0 -89
  30. package/Coffee/index.d.ts +0 -28
  31. package/Coffee/index.js +0 -96
  32. package/Coffee/index.mjs +0 -74
  33. package/Collection/index.d.ts +0 -28
  34. package/Collection/index.js +0 -90
  35. package/Collection/index.mjs +0 -68
  36. package/CombinedChart/index.d.ts +0 -28
  37. package/CombinedChart/index.js +0 -118
  38. package/CombinedChart/index.mjs +0 -96
  39. package/Configuration/index.d.ts +0 -28
  40. package/Configuration/index.js +0 -197
  41. package/Configuration/index.mjs +0 -175
  42. package/Confirmation/index.d.ts +0 -28
  43. package/Confirmation/index.js +0 -267
  44. package/Confirmation/index.mjs +0 -245
  45. package/Congrats/index.d.ts +0 -28
  46. package/Congrats/index.js +0 -147
  47. package/Congrats/index.mjs +0 -125
  48. package/ConnectionLost/index.d.ts +0 -28
  49. package/ConnectionLost/index.js +0 -299
  50. package/ConnectionLost/index.mjs +0 -277
  51. package/DeletedAccount/index.d.ts +0 -28
  52. package/DeletedAccount/index.js +0 -376
  53. package/DeletedAccount/index.mjs +0 -354
  54. package/DeletedPage/index.d.ts +0 -28
  55. package/DeletedPage/index.js +0 -81
  56. package/DeletedPage/index.mjs +0 -59
  57. package/Dns/index.d.ts +0 -28
  58. package/Dns/index.js +0 -180
  59. package/Dns/index.mjs +0 -158
  60. package/DonutChart/index.d.ts +0 -28
  61. package/DonutChart/index.js +0 -131
  62. package/DonutChart/index.mjs +0 -109
  63. package/Duplicates/index.d.ts +0 -28
  64. package/Duplicates/index.js +0 -108
  65. package/Duplicates/index.mjs +0 -86
  66. package/Feedback/index.d.ts +0 -28
  67. package/Feedback/index.js +0 -96
  68. package/Feedback/index.mjs +0 -74
  69. package/FunnelChart/index.d.ts +0 -28
  70. package/FunnelChart/index.js +0 -98
  71. package/FunnelChart/index.mjs +0 -76
  72. package/Good/index.d.ts +0 -28
  73. package/Good/index.js +0 -131
  74. package/Good/index.mjs +0 -109
  75. package/HeatMapChart/index.d.ts +0 -28
  76. package/HeatMapChart/index.js +0 -116
  77. package/HeatMapChart/index.mjs +0 -94
  78. package/HorizontalBarChart/index.d.ts +0 -28
  79. package/HorizontalBarChart/index.js +0 -102
  80. package/HorizontalBarChart/index.mjs +0 -80
  81. package/KagiChart/index.d.ts +0 -28
  82. package/KagiChart/index.js +0 -83
  83. package/KagiChart/index.mjs +0 -61
  84. package/LineChart/index.d.ts +0 -28
  85. package/LineChart/index.js +0 -86
  86. package/LineChart/index.mjs +0 -64
  87. package/LollipopChart/index.d.ts +0 -28
  88. package/LollipopChart/index.js +0 -103
  89. package/LollipopChart/index.mjs +0 -81
  90. package/MailSent/index.d.ts +0 -28
  91. package/MailSent/index.js +0 -142
  92. package/MailSent/index.mjs +0 -120
  93. package/Maintenance/index.d.ts +0 -28
  94. package/Maintenance/index.js +0 -363
  95. package/Maintenance/index.mjs +0 -341
  96. package/Nexttime/index.d.ts +0 -28
  97. package/Nexttime/index.js +0 -110
  98. package/Nexttime/index.mjs +0 -88
  99. package/NoPayment/index.d.ts +0 -28
  100. package/NoPayment/index.js +0 -304
  101. package/NoPayment/index.mjs +0 -282
  102. package/NothingFound/index.d.ts +0 -28
  103. package/NothingFound/index.js +0 -134
  104. package/NothingFound/index.mjs +0 -112
  105. package/OtherData/index.d.ts +0 -28
  106. package/OtherData/index.js +0 -117
  107. package/OtherData/index.mjs +0 -95
  108. package/PageError/index.d.ts +0 -28
  109. package/PageError/index.js +0 -224
  110. package/PageError/index.mjs +0 -202
  111. package/PageNotFound/index.d.ts +0 -28
  112. package/PageNotFound/index.js +0 -284
  113. package/PageNotFound/index.mjs +0 -262
  114. package/PieChart/index.d.ts +0 -28
  115. package/PieChart/index.js +0 -116
  116. package/PieChart/index.mjs +0 -94
  117. package/Processing/index.d.ts +0 -28
  118. package/Processing/index.js +0 -96
  119. package/Processing/index.mjs +0 -74
  120. package/ProjectNotFound/index.d.ts +0 -28
  121. package/ProjectNotFound/index.js +0 -247
  122. package/ProjectNotFound/index.mjs +0 -225
  123. package/RadarChart/index.d.ts +0 -28
  124. package/RadarChart/index.js +0 -95
  125. package/RadarChart/index.mjs +0 -73
  126. package/RadialTreeChart/index.d.ts +0 -28
  127. package/RadialTreeChart/index.js +0 -137
  128. package/RadialTreeChart/index.mjs +0 -115
  129. package/SankeyChart/index.d.ts +0 -28
  130. package/SankeyChart/index.js +0 -123
  131. package/SankeyChart/index.mjs +0 -101
  132. package/ScatterPlotChart/index.d.ts +0 -28
  133. package/ScatterPlotChart/index.js +0 -108
  134. package/ScatterPlotChart/index.mjs +0 -86
  135. package/StackedAreaChart/index.d.ts +0 -28
  136. package/StackedAreaChart/index.js +0 -110
  137. package/StackedAreaChart/index.mjs +0 -88
  138. package/Suggestion/index.d.ts +0 -28
  139. package/Suggestion/index.js +0 -94
  140. package/Suggestion/index.mjs +0 -72
  141. package/Suggestions/index.d.ts +0 -28
  142. package/Suggestions/index.js +0 -97
  143. package/Suggestions/index.mjs +0 -75
  144. package/Table/index.d.ts +0 -28
  145. package/Table/index.js +0 -81
  146. package/Table/index.mjs +0 -59
  147. package/TagCloud/index.d.ts +0 -28
  148. package/TagCloud/index.js +0 -108
  149. package/TagCloud/index.mjs +0 -86
  150. package/TextLinksEtc/index.d.ts +0 -28
  151. package/TextLinksEtc/index.js +0 -84
  152. package/TextLinksEtc/index.mjs +0 -62
  153. package/Timeout/index.d.ts +0 -28
  154. package/Timeout/index.js +0 -381
  155. package/Timeout/index.mjs +0 -359
  156. package/UnderConstruction/index.d.ts +0 -28
  157. package/UnderConstruction/index.js +0 -143
  158. package/UnderConstruction/index.mjs +0 -121
  159. package/VennChart/index.d.ts +0 -28
  160. package/VennChart/index.js +0 -109
  161. package/VennChart/index.mjs +0 -87
  162. package/VerticalBarChart/index.d.ts +0 -28
  163. package/VerticalBarChart/index.js +0 -103
  164. package/VerticalBarChart/index.mjs +0 -81
  165. package/Waiting/index.d.ts +0 -28
  166. package/Waiting/index.js +0 -96
  167. package/Waiting/index.mjs +0 -74
  168. package/Warning/index.d.ts +0 -28
  169. package/Warning/index.js +0 -91
  170. package/Warning/index.mjs +0 -69
  171. package/clear.ts +0 -25
package/CHANGELOG.md CHANGED
@@ -2,13 +2,95 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [17.0.1] - 2026-05-06
5
+ ## [17.0.2] - 2026-05-19
6
6
 
7
- ## [2.45.0] - 2026-05-06
7
+ ### Changed
8
+
9
+ - `MailSent` illustration. Fixed the tiny issue with the cropped hand.
10
+
11
+ ## [17.0.1] - 2026-04-16
12
+
13
+ ### Fixed
14
+
15
+ - Build processing to correct extract styles.
16
+
17
+ ## [17.0.0] - 2026-04-15
18
+
19
+ ### BREAK
20
+
21
+ - New major version as a separate package with illustrations.
22
+
23
+ ## [16.0.12] - 2025-10-29
24
+
25
+ ### Changed
26
+
27
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.4.0 ~> 16.4.1]).
28
+
29
+ ## [16.0.11] - 2025-10-06
30
+
31
+ ### Changed
32
+
33
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.2.3 ~> 16.4.0]).
34
+
35
+ ## [16.0.10] - 2025-09-17
36
+
37
+ ### Changed
38
+
39
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.2.2 ~> 16.2.3]).
40
+
41
+ ## [16.0.9] - 2025-09-05
42
+
43
+ ### Changed
44
+
45
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.2.1 ~> 16.2.2]).
46
+
47
+ ## [16.0.8] - 2025-08-29
48
+
49
+ ### Changed
50
+
51
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.2.0 ~> 16.2.1]).
52
+
53
+ ## [16.0.7] - 2025-08-07
54
+
55
+ ### Changed
56
+
57
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.1.2 ~> 16.2.0]).
58
+
59
+ ## [16.0.6] - 2025-07-23
8
60
 
9
61
  ### Changed
10
62
 
11
- - Version minor update due to children dependencies update (`@semcore/flex-box` [5.41.4 ~> 5.42.0], `@semcore/core` [2.39.4 ~> 2.40.0]).
63
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.1.1 ~> 16.1.2]).
64
+
65
+ ## [16.0.5] - 2025-07-04
66
+
67
+ ### Changed
68
+
69
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.1.0 ~> 16.1.1]).
70
+
71
+ ## [16.0.4] - 2025-06-23
72
+
73
+ ### Changed
74
+
75
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.0.2 ~> 16.1.0]).
76
+
77
+ ## [16.0.3] - 2025-06-16
78
+
79
+ ### Changed
80
+
81
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.0.1 ~> 16.0.2]).
82
+
83
+ ## [16.0.2] - 2025-05-30
84
+
85
+ ### Changed
86
+
87
+ - Version patch update due to children dependencies update (`@semcore/base-components` [16.0.0 ~> 16.0.1]).
88
+
89
+ ## [16.0.0] - 2025-05-19
90
+
91
+ ### Added
92
+
93
+ - Major version.
12
94
 
13
95
  ## [2.44.2] - 2025-05-13
14
96
 
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![version](https://img.shields.io/npm/v/@semcore/illustration.svg)](https://www.npmjs.com/@semcore/illustration)
4
4
  [![downloads](https://img.shields.io/npm/dt/@semcore/illustration.svg)](https://www.npmjs.com/package/@semcore/illustration)
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/semrush/intergalactic/blob/master/LICENSE)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE)
6
6
 
7
7
  > This component is part of the Intergalactic Design System
8
8
 
@@ -13,52 +13,25 @@
13
13
  ## Install
14
14
 
15
15
  ```sh
16
- npm install intergalactic
16
+ npm install @semcore/illustration
17
17
  ```
18
18
 
19
19
  ## Usage
20
20
 
21
- ```jsx
22
- import MailSentReact from 'intergalactic/illustration/MailSent';
23
- import MailSentSVG from 'intergalactic/illustration/svg/MailSent.svg';
24
- ```
25
-
26
- <details>
27
- <summary>Alternative installation and use</summary>
28
-
29
- **We do not recommend this usage path due to possible dependency and update issues.**
30
-
31
- ### Install
32
-
33
- You can only install one package from the design system
34
-
35
- ```sh
36
- npm install @semcore/illustration @semcore/core
37
- ```
38
-
39
- `@semcore/core` - _is the basic package by which we create our components, and it contains all of the common logic
40
- of the components that is discussed below. There should only be one version of the package in the project._
41
-
42
- ### Usage
43
-
44
- You can use the package the same way but without `/ui/` in the import path.
45
-
46
21
  ```jsx
47
22
  import MailSentReact from '@semcore/illustration/MailSent';
48
23
  import MailSentSVG from '@semcore/illustration/svg/MailSent.svg';
49
24
  ```
50
25
 
51
- </details>
52
-
53
26
  ## 👤 Author
54
27
 
55
- [UI-kit team](https://github.com/semrush/intergalactic/blob/master/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
28
+ [UI-kit team](https://github.com/semrush/intergalactic/blob/HEAD/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
56
29
 
57
30
  ## 🤝 Contributing
58
31
 
59
32
  Contributions, issues and feature requests are welcome!
60
33
 
61
- Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/master/CONTRIBUTING.md).
34
+ Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/HEAD/CONTRIBUTING.md).
62
35
 
63
36
  ## Show your support
64
37
 
@@ -66,4 +39,4 @@ Give a ⭐️ if this project helped you!
66
39
 
67
40
  ## 📝 License
68
41
 
69
- This project is [MIT](https://github.com/semrush/intergalactic/blob/master/LICENSE) licensed.
42
+ This project is [MIT](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE) licensed.
@@ -34,7 +34,7 @@ var import_react = __toESM(require("react"));
34
34
  var import_core = require("@semcore/core");
35
35
  var import_base_components = require("@semcore/base-components");
36
36
  var import_useColorResolver = require("@semcore/core/lib/utils/use/useColorResolver");
37
- const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#45E0A8", secondaryColor = "black", ...props }, ref) => {
37
+ const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#45e0a8", secondaryColor = "#000", ...props }, ref) => {
38
38
  const colorResolver = (0, import_useColorResolver.useColorResolver)();
39
39
  const resolvedPrimaryColor = colorResolver(primaryColor);
40
40
  const resolvedSecondaryColor = colorResolver(secondaryColor);
@@ -50,8 +50,19 @@ const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 8
50
50
  "aria-hidden": true,
51
51
  ...props
52
52
  },
53
- /* @__PURE__ */ import_react.default.createElement("g", { clipPath: "url(#igc-mailsent-el-0)" }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M27.945 5.04601C27.7367 5.04597 27.5305 5.08702 27.3382 5.16681C27.1458 5.24661 26.9711 5.36357 26.824 5.51101L13.909 18.426C7.41941 24.9156 3.77361 33.7174 3.77361 42.895C3.77361 52.0727 7.41941 60.8744 13.909 67.364C20.3986 73.8536 29.2003 77.4994 38.378 77.4994C47.5556 77.4994 56.3574 73.8536 62.847 67.364L75.762 54.448C75.9093 54.3011 76.0261 54.1265 76.1057 53.9343C76.1853 53.7421 76.2262 53.536 76.226 53.328V5.94401C76.226 5.70531 76.1312 5.47639 75.9624 5.30761C75.7936 5.13883 75.5647 5.04401 75.326 5.04401L27.945 5.04601Z", fill: resolvedPrimaryColor }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M28.615 44.751L28.815 45.104C34.956 41.652 52.997 31.426 56.346 34.573C55.208 31.466 39.307 34.9 28.615 44.751Z", fill: "white" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M28.513 31.03C26.7 37.072 19.3 55.5 15.07 61.342L18.083 62.254L19.659 60.925C23.878 51.385 29.639 34.972 29.971 29.467C29.462 29.182 28.947 29.583 28.513 31.03Z", fill: "white" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M15.07 61.342C19.3 55.5 26.7 37.072 28.513 31.03C30.326 24.988 33.555 37.039 31.743 42.145", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M27.909 45.411C38.592 35.046 55.183 31.4 56.342 34.573C57.03 36.459 42.913 40.832 37.934 46.889", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M44.281 21.43C41.036 20.27 35.689 18.539 32.832 17.741C36.95 15.907 69.787 3.753 72.5 2.5C71.578 6.606 67.576 20.78 65.784 27.433C60.957 25.751 56.056 24.275 52.862 23.24C50.8607 25.8918 49.0505 28.6825 47.445 31.591C46.272 27.731 45.116 23.274 44.281 21.43Z", fill: "white", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M44.281 21.43L61.026 10.352", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M52.864 23.24L72.502 2.5", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M47.447 31.591L55.299 24.015", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M48.436 30.173L51.891 24.532L52.864 23.405L54.928 24.015L55.364 23.884L52.009 27.311L49.53 29.581L48.204 30.695L48.436 30.173Z", fill: resolvedSecondaryColor }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M34.013 21.451L23.202 26.58", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M40.905 22.5L34.013 26.862", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M62.293 28.365L58.253 38.215", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M46.09 40.849C49.703 43.274 44.221 49.374 42.408 50.967", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M47.258 43.6C51.4 45.7 48.418 51.364 46.09 54.2", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M49.023 48.9C54.523 53.376 36.467 72.622 35.159 73.683", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M5.177 73.321C7.669 70.98 13.419 62.372 14.7 59.88C28.358 57.763 34.9 69.927 35.159 73.4C32.9025 78.2847 30.3099 83.007 27.4 87.533", fill: resolvedSecondaryColor }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M5.177 73.321C7.669 70.98 13.419 62.372 14.7 59.88C28.358 57.763 34.9 69.927 35.159 73.4C32.9025 78.2847 30.3099 83.007 27.4 87.533", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" })),
54
- /* @__PURE__ */ import_react.default.createElement("defs", null)
53
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: resolvedPrimaryColor }),
54
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "m28.844 45.034.198.348c6.152-3.43 24.04-13.589 27.358-10.467-1.123-3.082-16.923.328-27.556 10.12M28.287 31.464c-1.799 5.965-9.152 24.325-13.356 30.13l2.982.905 1.57-1.312c4.193-9.494 9.937-25.846 10.245-31.274-.497-.258-.954.14-1.44 1.551", fill: "#fff" }),
55
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M14.931 61.657c4.204-5.805 11.558-24.126 13.356-30.16s5.019 5.965 3.21 11.054", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
56
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M27.85 45.687c10.613-10.298 27.1-13.916 28.252-10.775.686 1.879-13.346 6.223-18.295 12.246", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
57
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M44.197 21.818c-3.22-1.154-8.536-2.873-11.378-3.669C36.913 16.33 69.587 4.233 72.24 3c-.914 4.086-4.889 18.171-6.668 24.782-4.8-1.67-9.669-3.131-12.849-4.165a69 69 0 0 0-5.376 8.3c-1.172-3.837-2.315-8.27-3.15-10.1", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
58
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "m44.744 21.967 16.635-11.015M52.694 23.607 72.21 3M47.725 32.404l7.81-7.535", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
59
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "m47.953 30.605 3.439-5.607.964-1.123 2.057.607.427-.13-3.339 3.41-2.454 2.256-1.322 1.104z", fill: resolvedSecondaryColor }),
60
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "m33.624 21.887-10.743 5.09M40.66 22.881l-6.848 4.344M61.677 28.846l-4.015 9.79", stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
61
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M46.413 40.774c3.588 2.406-1.858 8.47-3.657 10.06", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
62
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M46.9 43.756c4.114 2.078 1.153 7.714-1.163 10.537", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
63
+ /* @__PURE__ */ import_react.default.createElement("path", { d: "M48.58 48.727c5.475 4.453-12.472 23.579-13.774 24.633", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
64
+ /* @__PURE__ */ import_react.default.createElement("mask", { height: "73", id: "igc-mailsent-el-0", style: { "maskType": "alpha" }, width: "72", x: "4", y: "5", maskUnits: "userSpaceOnUse" }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: "#45dfa7" })),
65
+ /* @__PURE__ */ import_react.default.createElement("g", { mask: "url(#igc-mailsent-el-0)" }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", fill: resolvedSecondaryColor }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }))
55
66
  );
56
67
  };
57
68
  MailSent.displayName = "MailSent";
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { createBaseComponent } from "@semcore/core";
3
3
  import { Box } from "@semcore/base-components";
4
4
  import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
5
- const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#45E0A8", secondaryColor = "black", ...props }, ref) => {
5
+ const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", primaryColor = "#45e0a8", secondaryColor = "#000", ...props }, ref) => {
6
6
  const colorResolver = useColorResolver();
7
7
  const resolvedPrimaryColor = colorResolver(primaryColor);
8
8
  const resolvedSecondaryColor = colorResolver(secondaryColor);
@@ -18,8 +18,19 @@ const MailSent = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 8
18
18
  "aria-hidden": true,
19
19
  ...props
20
20
  },
21
- /* @__PURE__ */ React.createElement("g", { clipPath: "url(#igc-mailsent-el-0)" }, /* @__PURE__ */ React.createElement("path", { d: "M27.945 5.04601C27.7367 5.04597 27.5305 5.08702 27.3382 5.16681C27.1458 5.24661 26.9711 5.36357 26.824 5.51101L13.909 18.426C7.41941 24.9156 3.77361 33.7174 3.77361 42.895C3.77361 52.0727 7.41941 60.8744 13.909 67.364C20.3986 73.8536 29.2003 77.4994 38.378 77.4994C47.5556 77.4994 56.3574 73.8536 62.847 67.364L75.762 54.448C75.9093 54.3011 76.0261 54.1265 76.1057 53.9343C76.1853 53.7421 76.2262 53.536 76.226 53.328V5.94401C76.226 5.70531 76.1312 5.47639 75.9624 5.30761C75.7936 5.13883 75.5647 5.04401 75.326 5.04401L27.945 5.04601Z", fill: resolvedPrimaryColor }), /* @__PURE__ */ React.createElement("path", { d: "M28.615 44.751L28.815 45.104C34.956 41.652 52.997 31.426 56.346 34.573C55.208 31.466 39.307 34.9 28.615 44.751Z", fill: "white" }), /* @__PURE__ */ React.createElement("path", { d: "M28.513 31.03C26.7 37.072 19.3 55.5 15.07 61.342L18.083 62.254L19.659 60.925C23.878 51.385 29.639 34.972 29.971 29.467C29.462 29.182 28.947 29.583 28.513 31.03Z", fill: "white" }), /* @__PURE__ */ React.createElement("path", { d: "M15.07 61.342C19.3 55.5 26.7 37.072 28.513 31.03C30.326 24.988 33.555 37.039 31.743 42.145", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M27.909 45.411C38.592 35.046 55.183 31.4 56.342 34.573C57.03 36.459 42.913 40.832 37.934 46.889", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M44.281 21.43C41.036 20.27 35.689 18.539 32.832 17.741C36.95 15.907 69.787 3.753 72.5 2.5C71.578 6.606 67.576 20.78 65.784 27.433C60.957 25.751 56.056 24.275 52.862 23.24C50.8607 25.8918 49.0505 28.6825 47.445 31.591C46.272 27.731 45.116 23.274 44.281 21.43Z", fill: "white", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M44.281 21.43L61.026 10.352", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M52.864 23.24L72.502 2.5", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M47.447 31.591L55.299 24.015", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M48.436 30.173L51.891 24.532L52.864 23.405L54.928 24.015L55.364 23.884L52.009 27.311L49.53 29.581L48.204 30.695L48.436 30.173Z", fill: resolvedSecondaryColor }), /* @__PURE__ */ React.createElement("path", { d: "M34.013 21.451L23.202 26.58", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M40.905 22.5L34.013 26.862", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M62.293 28.365L58.253 38.215", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M46.09 40.849C49.703 43.274 44.221 49.374 42.408 50.967", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M47.258 43.6C51.4 45.7 48.418 51.364 46.09 54.2", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M49.023 48.9C54.523 53.376 36.467 72.622 35.159 73.683", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" }), /* @__PURE__ */ React.createElement("path", { d: "M5.177 73.321C7.669 70.98 13.419 62.372 14.7 59.88C28.358 57.763 34.9 69.927 35.159 73.4C32.9025 78.2847 30.3099 83.007 27.4 87.533", fill: resolvedSecondaryColor }), /* @__PURE__ */ React.createElement("path", { d: "M5.177 73.321C7.669 70.98 13.419 62.372 14.7 59.88C28.358 57.763 34.9 69.927 35.159 73.4C32.9025 78.2847 30.3099 83.007 27.4 87.533", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "0.75" })),
22
- /* @__PURE__ */ React.createElement("defs", null)
21
+ /* @__PURE__ */ React.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: resolvedPrimaryColor }),
22
+ /* @__PURE__ */ React.createElement("path", { d: "m28.844 45.034.198.348c6.152-3.43 24.04-13.589 27.358-10.467-1.123-3.082-16.923.328-27.556 10.12M28.287 31.464c-1.799 5.965-9.152 24.325-13.356 30.13l2.982.905 1.57-1.312c4.193-9.494 9.937-25.846 10.245-31.274-.497-.258-.954.14-1.44 1.551", fill: "#fff" }),
23
+ /* @__PURE__ */ React.createElement("path", { d: "M14.931 61.657c4.204-5.805 11.558-24.126 13.356-30.16s5.019 5.965 3.21 11.054", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
24
+ /* @__PURE__ */ React.createElement("path", { d: "M27.85 45.687c10.613-10.298 27.1-13.916 28.252-10.775.686 1.879-13.346 6.223-18.295 12.246", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
25
+ /* @__PURE__ */ React.createElement("path", { d: "M44.197 21.818c-3.22-1.154-8.536-2.873-11.378-3.669C36.913 16.33 69.587 4.233 72.24 3c-.914 4.086-4.889 18.171-6.668 24.782-4.8-1.67-9.669-3.131-12.849-4.165a69 69 0 0 0-5.376 8.3c-1.172-3.837-2.315-8.27-3.15-10.1", fill: "#fff", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
26
+ /* @__PURE__ */ React.createElement("path", { d: "m44.744 21.967 16.635-11.015M52.694 23.607 72.21 3M47.725 32.404l7.81-7.535", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
27
+ /* @__PURE__ */ React.createElement("path", { d: "m47.953 30.605 3.439-5.607.964-1.123 2.057.607.427-.13-3.339 3.41-2.454 2.256-1.322 1.104z", fill: resolvedSecondaryColor }),
28
+ /* @__PURE__ */ React.createElement("path", { d: "m33.624 21.887-10.743 5.09M40.66 22.881l-6.848 4.344M61.677 28.846l-4.015 9.79", stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
29
+ /* @__PURE__ */ React.createElement("path", { d: "M46.413 40.774c3.588 2.406-1.858 8.47-3.657 10.06", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
30
+ /* @__PURE__ */ React.createElement("path", { d: "M46.9 43.756c4.114 2.078 1.153 7.714-1.163 10.537", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
31
+ /* @__PURE__ */ React.createElement("path", { d: "M48.58 48.727c5.475 4.453-12.472 23.579-13.774 24.633", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }),
32
+ /* @__PURE__ */ React.createElement("mask", { height: "73", id: "igc-mailsent-el-0", style: { "maskType": "alpha" }, width: "72", x: "4", y: "5", maskUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("path", { d: "M28.012 5.982a1.56 1.56 0 0 0-1.113.457L14.07 19.283A34.4 34.4 0 0 0 38.388 78a34.38 34.38 0 0 0 24.317-10.078l12.829-12.833A1.57 1.57 0 0 0 76 53.975V6.867a.895.895 0 0 0-.894-.885z", fill: "#45dfa7" })),
33
+ /* @__PURE__ */ React.createElement("g", { mask: "url(#igc-mailsent-el-0)" }, /* @__PURE__ */ React.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", fill: resolvedSecondaryColor }), /* @__PURE__ */ React.createElement("path", { d: "M4.994 74.261c2.474-2.326 8.188-10.934 9.46-13.36 13.575-2.107 20.064 9.94 20.332 13.44a116 116 0 0 1-7.711 14.046", stroke: resolvedSecondaryColor, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75" }))
23
34
  );
24
35
  };
25
36
  MailSent.displayName = "MailSent";
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 = "17.0.1";
7
+ const version = "17.0.2";
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,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":[]}
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 = "17.0.1";
1
+ const version = "17.0.2";
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,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":[]}
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 = "17.0.1";
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.2";
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