@semcore/illustration 1.4.19 → 1.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/AccessDenied/index.d.ts +1 -2
  2. package/AccessDenied/index.js +234 -272
  3. package/AccessDenied/index.mjs +212 -259
  4. package/AreaChart/index.d.ts +1 -2
  5. package/AreaChart/index.js +81 -88
  6. package/AreaChart/index.mjs +59 -75
  7. package/Blocked/index.d.ts +1 -2
  8. package/Blocked/index.js +485 -579
  9. package/Blocked/index.mjs +463 -566
  10. package/CHANGELOG.md +13 -3
  11. package/ChoroplethMapChart/index.d.ts +1 -2
  12. package/ChoroplethMapChart/index.js +103 -112
  13. package/ChoroplethMapChart/index.mjs +81 -99
  14. package/Coffee/index.d.ts +1 -2
  15. package/Coffee/index.js +88 -92
  16. package/Coffee/index.mjs +66 -79
  17. package/Collection/index.d.ts +1 -2
  18. package/Collection/index.js +82 -88
  19. package/Collection/index.mjs +60 -75
  20. package/CombinedChart/index.d.ts +1 -2
  21. package/CombinedChart/index.js +110 -121
  22. package/CombinedChart/index.mjs +88 -108
  23. package/Confirmation/index.d.ts +1 -2
  24. package/Confirmation/index.js +259 -301
  25. package/Confirmation/index.mjs +237 -288
  26. package/Congrats/index.d.ts +1 -2
  27. package/Congrats/index.js +139 -159
  28. package/Congrats/index.mjs +117 -146
  29. package/ConnectionLost/index.d.ts +1 -2
  30. package/ConnectionLost/index.js +291 -343
  31. package/ConnectionLost/index.mjs +269 -330
  32. package/DeletedAccount/index.d.ts +1 -2
  33. package/DeletedAccount/index.js +368 -429
  34. package/DeletedAccount/index.mjs +346 -416
  35. package/DeletedPage/index.d.ts +1 -2
  36. package/DeletedPage/index.js +44 -42
  37. package/DeletedPage/index.mjs +22 -29
  38. package/Dns/index.d.ts +1 -2
  39. package/Dns/index.js +172 -199
  40. package/Dns/index.mjs +150 -186
  41. package/DonutChart/index.d.ts +1 -2
  42. package/DonutChart/index.js +123 -135
  43. package/DonutChart/index.mjs +101 -122
  44. package/Duplicates/index.d.ts +1 -2
  45. package/Duplicates/index.js +100 -109
  46. package/Duplicates/index.mjs +78 -96
  47. package/Feedback/index.d.ts +1 -2
  48. package/Feedback/index.js +88 -94
  49. package/Feedback/index.mjs +66 -81
  50. package/FunnelChart/index.d.ts +1 -2
  51. package/FunnelChart/index.js +90 -98
  52. package/FunnelChart/index.mjs +68 -85
  53. package/Good/index.d.ts +1 -2
  54. package/Good/index.js +123 -136
  55. package/Good/index.mjs +101 -123
  56. package/HeatMapChart/index.d.ts +1 -2
  57. package/HeatMapChart/index.js +108 -118
  58. package/HeatMapChart/index.mjs +86 -105
  59. package/HorizontalBarChart/index.d.ts +1 -2
  60. package/HorizontalBarChart/index.js +94 -102
  61. package/HorizontalBarChart/index.mjs +72 -89
  62. package/KagiChart/index.d.ts +1 -2
  63. package/KagiChart/index.js +75 -80
  64. package/KagiChart/index.mjs +53 -67
  65. package/LineChart/index.d.ts +1 -2
  66. package/LineChart/index.js +78 -84
  67. package/LineChart/index.mjs +56 -71
  68. package/LollipopChart/index.d.ts +1 -2
  69. package/LollipopChart/index.js +95 -103
  70. package/LollipopChart/index.mjs +73 -90
  71. package/MailSent/index.d.ts +1 -2
  72. package/MailSent/index.js +134 -154
  73. package/MailSent/index.mjs +112 -141
  74. package/Maintenance/index.d.ts +1 -2
  75. package/Maintenance/index.js +355 -413
  76. package/Maintenance/index.mjs +333 -400
  77. package/Nexttime/index.d.ts +1 -2
  78. package/Nexttime/index.js +102 -112
  79. package/Nexttime/index.mjs +80 -99
  80. package/NoPayment/index.d.ts +1 -2
  81. package/NoPayment/index.js +296 -358
  82. package/NoPayment/index.mjs +274 -345
  83. package/NothingFound/index.d.ts +1 -2
  84. package/NothingFound/index.js +126 -138
  85. package/NothingFound/index.mjs +104 -125
  86. package/OtherData/index.d.ts +1 -2
  87. package/OtherData/index.js +109 -119
  88. package/OtherData/index.mjs +87 -106
  89. package/PageError/index.d.ts +1 -2
  90. package/PageError/index.js +216 -279
  91. package/PageError/index.mjs +194 -266
  92. package/PageNotFound/index.d.ts +1 -2
  93. package/PageNotFound/index.js +276 -329
  94. package/PageNotFound/index.mjs +254 -316
  95. package/PieChart/index.d.ts +1 -2
  96. package/PieChart/index.js +108 -118
  97. package/PieChart/index.mjs +86 -105
  98. package/Processing/index.d.ts +1 -2
  99. package/Processing/index.js +88 -95
  100. package/Processing/index.mjs +66 -82
  101. package/ProjectNotFound/index.d.ts +1 -2
  102. package/ProjectNotFound/index.js +239 -274
  103. package/ProjectNotFound/index.mjs +217 -261
  104. package/RadarChart/index.d.ts +1 -2
  105. package/RadarChart/index.js +87 -94
  106. package/RadarChart/index.mjs +65 -81
  107. package/RadialTreeChart/index.d.ts +1 -2
  108. package/RadialTreeChart/index.js +129 -142
  109. package/RadialTreeChart/index.mjs +107 -129
  110. package/SankeyChart/index.d.ts +1 -2
  111. package/SankeyChart/index.js +115 -126
  112. package/SankeyChart/index.mjs +93 -113
  113. package/ScatterPlotChart/index.d.ts +1 -2
  114. package/ScatterPlotChart/index.js +100 -109
  115. package/ScatterPlotChart/index.mjs +78 -96
  116. package/StackedAreaChart/index.d.ts +1 -2
  117. package/StackedAreaChart/index.js +102 -113
  118. package/StackedAreaChart/index.mjs +80 -100
  119. package/Suggestion/index.d.ts +1 -2
  120. package/Suggestion/index.js +86 -93
  121. package/Suggestion/index.mjs +64 -80
  122. package/Suggestions/index.d.ts +1 -2
  123. package/Suggestions/index.js +89 -96
  124. package/Suggestions/index.mjs +67 -83
  125. package/Table/index.d.ts +1 -2
  126. package/Table/index.js +73 -77
  127. package/Table/index.mjs +51 -64
  128. package/TagCloud/index.d.ts +1 -2
  129. package/TagCloud/index.js +100 -109
  130. package/TagCloud/index.mjs +78 -96
  131. package/TextLinksEtc/index.d.ts +1 -2
  132. package/TextLinksEtc/index.js +76 -81
  133. package/TextLinksEtc/index.mjs +54 -68
  134. package/Timeout/index.d.ts +1 -2
  135. package/Timeout/index.js +373 -444
  136. package/Timeout/index.mjs +351 -431
  137. package/UnderConstruction/index.d.ts +1 -2
  138. package/UnderConstruction/index.js +135 -150
  139. package/UnderConstruction/index.mjs +113 -137
  140. package/VennChart/index.d.ts +1 -2
  141. package/VennChart/index.js +101 -110
  142. package/VennChart/index.mjs +79 -97
  143. package/VerticalBarChart/index.d.ts +1 -2
  144. package/VerticalBarChart/index.js +95 -103
  145. package/VerticalBarChart/index.mjs +73 -90
  146. package/Waiting/index.d.ts +1 -2
  147. package/Waiting/index.js +88 -96
  148. package/Waiting/index.mjs +66 -83
  149. package/Warning/index.d.ts +1 -2
  150. package/Warning/index.js +83 -89
  151. package/Warning/index.mjs +61 -76
  152. package/clear.ts +25 -0
  153. package/lib/cjs/index.js +1 -1
  154. package/lib/es6/index.js +1 -1
  155. package/package.json +9 -7
  156. package/svg/PageError.svg +40 -46
  157. package/transform.ts +92 -0
  158. package/transform-svg.config.js +0 -53
package/Waiting/index.mjs CHANGED
@@ -1,84 +1,67 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React from 'react';
3
- import { createBaseComponent } from '@semcore/core';
4
- import { Box } from '@semcore/flex-box';
5
- function Waiting({
6
- fill = 'none',
7
- width = '80',
8
- height = '80',
9
- viewBox = '0 0 80 80',
1
+ import React from "react";
2
+ import { createBaseComponent } from "@semcore/core";
3
+ import { Box } from "@semcore/flex-box";
4
+ const Waiting = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", ...props }, ref) => /* @__PURE__ */ React.createElement(Box, {
5
+ ref,
6
+ width,
7
+ height,
8
+ viewBox,
9
+ fill,
10
+ tag: "svg",
10
11
  ...props
11
- }, ref) {
12
- return /*#__PURE__*/React.createElement(Box, _extends({
13
- ref: ref,
14
- width: width,
15
- height: height,
16
- viewBox: viewBox,
17
- fill: fill,
18
- tag: "svg"
19
- }, props), /*#__PURE__*/React.createElement("path", {
20
- d: "M39.996 4.245V1.884c0-.52-.455-.942-.975-.877C19.45 3.227 4.256 19.84 4.256 39.996H1.884c-.52 0-.942.454-.877.974 2.22 19.57 18.833 34.765 38.989 34.765v2.361c0 .52.454.943.974.878 19.57-2.22 34.765-18.834 34.765-38.99h2.372c.52 0 .942-.454.888-.974-2.22-19.57-18.834-34.765-38.989-34.765",
21
- fill: "#E0E1E9",
22
- shapeRendering: "geometricPrecision"
23
- }), /*#__PURE__*/React.createElement("path", {
24
- d: "M65.23 59.847s.087-.054.12-.086l6.508-4.332-3.14-1.7-3.142.758-8.317-31.744a5.717 5.717 0 0 0-6.693-4.159l-39.671 8.09-1.398-3.13-3.422 5.892c-.076.12-.152.25-.216.368v.022a5.65 5.65 0 0 0-.455 4.256l10.462 36.726a2.592 2.592 0 0 0 3.184 1.797l45.368-12.368c.27-.075.52-.205.747-.346l.054-.033.011-.01Z",
25
- fill: "#6C6E79",
26
- stroke: "#6C6E79",
27
- strokeWidth: ".7",
28
- strokeLinecap: "round",
29
- strokeLinejoin: "round",
30
- shapeRendering: "geometricPrecision"
31
- }), /*#__PURE__*/React.createElement("path", {
32
- d: "m71.078 55.775-47.772 13.03a2.74 2.74 0 0 1-3.358-1.896L8.934 28.234c-.964-3.38 1.159-6.866 4.603-7.57l42.964-8.762c3.14-.64 6.238 1.289 7.04 4.386l9.465 36.152a2.735 2.735 0 0 1-1.928 3.335Z",
33
- fill: "#fff",
34
- shapeRendering: "geometricPrecision"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- d: "m63.107 16 1.132 4.308L10.322 32.1l-1.255-4.375c-.91-3.175 1.093-6.454 4.345-7.117l43.05-8.733c2.966-.602 5.89 1.213 6.645 4.122V16Z",
37
- fill: "#E0E1E9",
38
- stroke: "#6C6E79",
39
- strokeWidth: ".7",
40
- shapeRendering: "geometricPrecision"
41
- }), /*#__PURE__*/React.createElement("path", {
42
- d: "M17.599 25.58a1.877 1.877 0 0 1-1.42 2.372c-1.093.239-2.23-.455-2.534-1.527a1.872 1.872 0 0 1 1.43-2.372c1.094-.227 2.22.466 2.524 1.538v-.01ZM24.595 24.108c.292 1.06-.325 2.111-1.397 2.339-1.072.227-2.188-.455-2.48-1.527-.293-1.072.325-2.123 1.408-2.35 1.083-.228 2.176.465 2.469 1.527v.01Z",
43
- fill: "#6C6E79",
44
- shapeRendering: "geometricPrecision"
45
- }), /*#__PURE__*/React.createElement("path", {
46
- d: "m71.078 55.775-47.772 13.03a2.74 2.74 0 0 1-3.358-1.896L8.934 28.234c-.964-3.38 1.159-6.866 4.603-7.57l42.964-8.762c3.14-.64 6.238 1.289 7.04 4.386l9.465 36.152a2.735 2.735 0 0 1-1.928 3.335Z",
47
- stroke: "#6C6E79",
48
- strokeLinecap: "round",
49
- strokeLinejoin: "round",
50
- shapeRendering: "geometricPrecision"
51
- }), /*#__PURE__*/React.createElement("path", {
52
- d: "m57.226 37.537-36.194 9.065-1.874-6.606 36.4-8.795a.887.887 0 0 1 1.062.629l1.256 4.624a.88.88 0 0 1-.639 1.083h-.01ZM52.342 49.721l-28.3 7.484-1.862-6.552 28.43-7.278 1.732 6.346Z",
53
- fill: "#E0E1E9",
54
- shapeRendering: "geometricPrecision"
55
- }), /*#__PURE__*/React.createElement("path", {
56
- d: "M56.013 50.046c11.586 0 20.979-9.392 20.979-20.978 0-11.586-9.393-20.978-20.979-20.978-11.586 0-20.978 9.392-20.978 20.978 0 11.586 9.392 20.978 20.978 20.978Z",
57
- fill: "#fff",
58
- shapeRendering: "geometricPrecision"
59
- }), /*#__PURE__*/React.createElement("path", {
60
- d: "m52.44 32.512-8.123 3.899 12.433 6.444-1.495-8.88a1.989 1.989 0 0 0-2.826-1.463h.01ZM55.602 21.66l.574 3.379a2.146 2.146 0 0 0 3.043 1.581l3.087-1.484-6.704-3.476Z",
61
- fill: "#E0E1E9",
62
- shapeRendering: "geometricPrecision"
63
- }), /*#__PURE__*/React.createElement("path", {
64
- d: "M69.91 21.412 54.253 13.3a1.202 1.202 0 0 0-1.62.514l-.085.164a1.202 1.202 0 0 0 .515 1.62l15.655 8.112c.59.305 1.315.075 1.62-.515l.085-.163a1.202 1.202 0 0 0-.515-1.62ZM42.12 36.733l15.655 8.111c.59.306 1.315.076 1.62-.514l.085-.163a1.202 1.202 0 0 0-.515-1.62L43.31 34.434a1.202 1.202 0 0 0-1.62.514l-.085.164a1.202 1.202 0 0 0 .515 1.62Z",
65
- fill: "#6C6E79",
66
- shapeRendering: "geometricPrecision"
67
- }), /*#__PURE__*/React.createElement("path", {
68
- d: "M59.1 36.421a11.436 11.436 0 0 0-1.224-4.938 1.526 1.526 0 0 1 0-1.386l.044-.087c.227-.433.65-.726 1.137-.802a11.383 11.383 0 0 0 4.743-1.851 11.593 11.593 0 0 0 3.964-4.647h.022v-.021c-4.44-2.296-8.88-4.603-13.31-6.9v.023c-.52.898-1.57 3.021-1.517 5.913a11.436 11.436 0 0 0 1.224 4.938c.217.434.228.953 0 1.387l-.043.086c-.228.434-.65.726-1.137.802-1.18.173-2.946.628-4.744 1.852a11.593 11.593 0 0 0-3.964 4.646h-.022v.022c4.44 2.296 8.881 4.602 13.31 6.898v-.021c.52-.9 1.571-3.022 1.517-5.914v0Z",
69
- stroke: "#6C6E79",
70
- strokeWidth: ".7",
71
- strokeLinecap: "round",
72
- strokeLinejoin: "round",
73
- shapeRendering: "geometricPrecision"
74
- }), /*#__PURE__*/React.createElement("path", {
75
- d: "M56.013 50.046c11.586 0 20.979-9.392 20.979-20.978 0-11.586-9.393-20.978-20.979-20.978-11.586 0-20.978 9.392-20.978 20.978 0 11.586 9.392 20.978 20.978 20.978Z",
76
- stroke: "#6C6E79",
77
- strokeWidth: ".7",
78
- strokeLinecap: "round",
79
- strokeLinejoin: "round",
80
- shapeRendering: "geometricPrecision"
81
- }));
82
- }
83
- Waiting.displayName = 'Waiting';
84
- export default createBaseComponent(Waiting);
12
+ }, /* @__PURE__ */ React.createElement("path", {
13
+ d: "M39.996 4.245V1.884c0-.52-.455-.942-.975-.877C19.45 3.227 4.256 19.84 4.256 39.996H1.884c-.52 0-.942.454-.877.974 2.22 19.57 18.833 34.765 38.989 34.765v2.361c0 .52.454.943.974.878 19.57-2.22 34.765-18.834 34.765-38.99h2.372c.52 0 .942-.454.888-.974-2.22-19.57-18.834-34.765-38.989-34.765",
14
+ fill: "#E0E1E9"
15
+ }), /* @__PURE__ */ React.createElement("path", {
16
+ d: "M65.23 59.847s.087-.054.12-.086l6.508-4.332-3.14-1.7-3.142.758-8.317-31.744a5.717 5.717 0 0 0-6.693-4.159l-39.671 8.09-1.398-3.13-3.422 5.892c-.076.12-.152.25-.216.368v.022a5.65 5.65 0 0 0-.455 4.256l10.462 36.726a2.592 2.592 0 0 0 3.184 1.797l45.368-12.368c.27-.075.52-.205.747-.346l.054-.033.011-.01Z",
17
+ fill: "#6C6E79",
18
+ stroke: "#6C6E79",
19
+ strokeLinecap: "round",
20
+ strokeLinejoin: "round",
21
+ strokeWidth: ".7"
22
+ }), /* @__PURE__ */ React.createElement("path", {
23
+ d: "m71.078 55.775-47.772 13.03a2.74 2.74 0 0 1-3.358-1.896L8.934 28.234c-.964-3.38 1.159-6.866 4.603-7.57l42.964-8.762c3.14-.64 6.238 1.289 7.04 4.386l9.465 36.152a2.735 2.735 0 0 1-1.928 3.335Z",
24
+ fill: "#fff"
25
+ }), /* @__PURE__ */ React.createElement("path", {
26
+ d: "m63.107 16 1.132 4.308L10.322 32.1l-1.255-4.375c-.91-3.175 1.093-6.454 4.345-7.117l43.05-8.733c2.966-.602 5.89 1.213 6.645 4.122V16Z",
27
+ fill: "#E0E1E9",
28
+ stroke: "#6C6E79",
29
+ strokeWidth: ".7"
30
+ }), /* @__PURE__ */ React.createElement("path", {
31
+ d: "M17.599 25.58a1.877 1.877 0 0 1-1.42 2.372c-1.093.239-2.23-.455-2.534-1.527a1.872 1.872 0 0 1 1.43-2.372c1.094-.227 2.22.466 2.524 1.538v-.01ZM24.595 24.108c.292 1.06-.325 2.111-1.397 2.339-1.072.227-2.188-.455-2.48-1.527-.293-1.072.325-2.123 1.408-2.35 1.083-.228 2.176.465 2.469 1.527v.01Z",
32
+ fill: "#6C6E79"
33
+ }), /* @__PURE__ */ React.createElement("path", {
34
+ d: "m71.078 55.775-47.772 13.03a2.74 2.74 0 0 1-3.358-1.896L8.934 28.234c-.964-3.38 1.159-6.866 4.603-7.57l42.964-8.762c3.14-.64 6.238 1.289 7.04 4.386l9.465 36.152a2.735 2.735 0 0 1-1.928 3.335Z",
35
+ stroke: "#6C6E79",
36
+ strokeLinecap: "round",
37
+ strokeLinejoin: "round"
38
+ }), /* @__PURE__ */ React.createElement("path", {
39
+ d: "m57.226 37.537-36.194 9.065-1.874-6.606 36.4-8.795a.887.887 0 0 1 1.062.629l1.256 4.624a.88.88 0 0 1-.639 1.083h-.01ZM52.342 49.721l-28.3 7.484-1.862-6.552 28.43-7.278 1.732 6.346Z",
40
+ fill: "#E0E1E9"
41
+ }), /* @__PURE__ */ React.createElement("path", {
42
+ d: "M56.013 50.046c11.586 0 20.979-9.392 20.979-20.978 0-11.586-9.393-20.978-20.979-20.978-11.586 0-20.978 9.392-20.978 20.978 0 11.586 9.392 20.978 20.978 20.978Z",
43
+ fill: "#fff"
44
+ }), /* @__PURE__ */ React.createElement("path", {
45
+ d: "m52.44 32.512-8.123 3.899 12.433 6.444-1.495-8.88a1.989 1.989 0 0 0-2.826-1.463h.01ZM55.602 21.66l.574 3.379a2.146 2.146 0 0 0 3.043 1.581l3.087-1.484-6.704-3.476Z",
46
+ fill: "#E0E1E9"
47
+ }), /* @__PURE__ */ React.createElement("path", {
48
+ d: "M69.91 21.412 54.253 13.3a1.202 1.202 0 0 0-1.62.514l-.085.164a1.202 1.202 0 0 0 .515 1.62l15.655 8.112c.59.305 1.315.075 1.62-.515l.085-.163a1.202 1.202 0 0 0-.515-1.62ZM42.12 36.733l15.655 8.111c.59.306 1.315.076 1.62-.514l.085-.163a1.202 1.202 0 0 0-.515-1.62L43.31 34.434a1.202 1.202 0 0 0-1.62.514l-.085.164a1.202 1.202 0 0 0 .515 1.62Z",
49
+ fill: "#6C6E79"
50
+ }), /* @__PURE__ */ React.createElement("path", {
51
+ d: "M59.1 36.421a11.436 11.436 0 0 0-1.224-4.938 1.526 1.526 0 0 1 0-1.386l.044-.087c.227-.433.65-.726 1.137-.802a11.383 11.383 0 0 0 4.743-1.851 11.593 11.593 0 0 0 3.964-4.647h.022v-.021c-4.44-2.296-8.88-4.603-13.31-6.9v.023c-.52.898-1.57 3.021-1.517 5.913a11.436 11.436 0 0 0 1.224 4.938c.217.434.228.953 0 1.387l-.043.086c-.228.434-.65.726-1.137.802-1.18.173-2.946.628-4.744 1.852a11.593 11.593 0 0 0-3.964 4.646h-.022v.022c4.44 2.296 8.881 4.602 13.31 6.898v-.021c.52-.9 1.571-3.022 1.517-5.914v0Z",
52
+ stroke: "#6C6E79",
53
+ strokeLinecap: "round",
54
+ strokeLinejoin: "round",
55
+ strokeWidth: ".7"
56
+ }), /* @__PURE__ */ React.createElement("path", {
57
+ d: "M56.013 50.046c11.586 0 20.979-9.392 20.979-20.978 0-11.586-9.393-20.978-20.979-20.978-11.586 0-20.978 9.392-20.978 20.978 0 11.586 9.392 20.978 20.978 20.978Z",
58
+ stroke: "#6C6E79",
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round",
61
+ strokeWidth: ".7"
62
+ }));
63
+ Waiting.displayName = "Waiting";
64
+ var stdin_default = createBaseComponent(Waiting);
65
+ export {
66
+ stdin_default as default
67
+ };
@@ -1,5 +1,4 @@
1
1
 
2
2
  import { Box } from '@semcore/flex-box';
3
3
  declare const _default: typeof Box;
4
- export default _default;
5
-
4
+ export default _default;
package/Warning/index.js CHANGED
@@ -1,90 +1,84 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
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(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
+ var stdin_exports = {};
22
+ __export(stdin_exports, {
23
+ default: () => stdin_default
6
24
  });
7
- exports["default"] = void 0;
8
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
- var _react = _interopRequireDefault(require("react"));
11
- var _core = require("@semcore/core");
12
- var _flexBox = require("@semcore/flex-box");
13
- var _excluded = ["fill", "width", "height", "viewBox"];
14
- function Warning(_ref, ref) {
15
- var _ref$fill = _ref.fill,
16
- fill = _ref$fill === void 0 ? 'none' : _ref$fill,
17
- _ref$width = _ref.width,
18
- width = _ref$width === void 0 ? '80' : _ref$width,
19
- _ref$height = _ref.height,
20
- height = _ref$height === void 0 ? '80' : _ref$height,
21
- _ref$viewBox = _ref.viewBox,
22
- viewBox = _ref$viewBox === void 0 ? '0 0 80 80' : _ref$viewBox,
23
- props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
24
- return /*#__PURE__*/_react["default"].createElement(_flexBox.Box, (0, _extends2["default"])({
25
- ref: ref,
26
- width: width,
27
- height: height,
28
- viewBox: viewBox,
29
- fill: fill,
30
- tag: "svg"
31
- }, props), /*#__PURE__*/_react["default"].createElement("path", {
32
- 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",
33
- fill: "#E0E1E9",
34
- shapeRendering: "geometricPrecision"
35
- }), /*#__PURE__*/_react["default"].createElement("path", {
36
- 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",
37
- fill: "#E0E1E9",
38
- stroke: "#6C6E79",
39
- strokeWidth: ".7",
40
- strokeLinecap: "round",
41
- strokeLinejoin: "round",
42
- shapeRendering: "geometricPrecision"
43
- }), /*#__PURE__*/_react["default"].createElement("path", {
44
- 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",
45
- fill: "#fff",
46
- stroke: "#6C6E79",
47
- strokeWidth: ".7",
48
- strokeLinecap: "round",
49
- strokeLinejoin: "round",
50
- shapeRendering: "geometricPrecision"
51
- }), /*#__PURE__*/_react["default"].createElement("path", {
52
- 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",
53
- fill: "#6C6E79",
54
- shapeRendering: "geometricPrecision"
55
- }), /*#__PURE__*/_react["default"].createElement("path", {
56
- 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",
57
- fill: "#fff",
58
- shapeRendering: "geometricPrecision"
59
- }), /*#__PURE__*/_react["default"].createElement("path", {
60
- 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",
61
- fill: "#E0E1E9",
62
- shapeRendering: "geometricPrecision"
63
- }), /*#__PURE__*/_react["default"].createElement("path", {
64
- 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",
65
- fill: "#6C6E79",
66
- shapeRendering: "geometricPrecision"
67
- }), /*#__PURE__*/_react["default"].createElement("path", {
68
- 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",
69
- fill: "#E0E1E9",
70
- stroke: "#6C6E79",
71
- strokeWidth: ".7",
72
- strokeLinecap: "round",
73
- strokeLinejoin: "round",
74
- shapeRendering: "geometricPrecision"
75
- }), /*#__PURE__*/_react["default"].createElement("path", {
76
- d: "m43.443 35.477 2.373 8.645",
77
- stroke: "#6C6E79",
78
- strokeWidth: "2",
79
- strokeLinecap: "round",
80
- strokeLinejoin: "round",
81
- shapeRendering: "geometricPrecision"
82
- }), /*#__PURE__*/_react["default"].createElement("path", {
83
- 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",
84
- fill: "#6C6E79",
85
- shapeRendering: "geometricPrecision"
86
- }));
87
- }
88
- Warning.displayName = 'Warning';
89
- var _default = (0, _core.createBaseComponent)(Warning);
90
- exports["default"] = _default;
25
+ module.exports = __toCommonJS(stdin_exports);
26
+ var import_react = __toESM(require("react"));
27
+ var import_core = require("@semcore/core");
28
+ var import_flex_box = require("@semcore/flex-box");
29
+ const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(import_flex_box.Box, {
30
+ ref,
31
+ width,
32
+ height,
33
+ viewBox,
34
+ fill,
35
+ tag: "svg",
36
+ ...props
37
+ }, /* @__PURE__ */ import_react.default.createElement("path", {
38
+ d: "M40.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",
39
+ fill: "#E0E1E9"
40
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
41
+ 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",
42
+ fill: "#E0E1E9",
43
+ stroke: "#6C6E79",
44
+ strokeLinecap: "round",
45
+ strokeLinejoin: "round",
46
+ strokeWidth: ".7"
47
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
48
+ 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",
49
+ fill: "#fff",
50
+ stroke: "#6C6E79",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round",
53
+ strokeWidth: ".7"
54
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
55
+ 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",
56
+ fill: "#6C6E79"
57
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
58
+ 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",
59
+ fill: "#fff"
60
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
61
+ 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",
62
+ fill: "#E0E1E9"
63
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
64
+ 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",
65
+ fill: "#6C6E79"
66
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
67
+ 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",
68
+ fill: "#E0E1E9",
69
+ stroke: "#6C6E79",
70
+ strokeLinecap: "round",
71
+ strokeLinejoin: "round",
72
+ strokeWidth: ".7"
73
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
74
+ d: "m43.443 35.477 2.373 8.645",
75
+ stroke: "#6C6E79",
76
+ strokeLinecap: "round",
77
+ strokeLinejoin: "round",
78
+ strokeWidth: "2"
79
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
80
+ 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",
81
+ fill: "#6C6E79"
82
+ }));
83
+ Warning.displayName = "Warning";
84
+ var stdin_default = (0, import_core.createBaseComponent)(Warning);
package/Warning/index.mjs CHANGED
@@ -1,77 +1,62 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React from 'react';
3
- import { createBaseComponent } from '@semcore/core';
4
- import { Box } from '@semcore/flex-box';
5
- function Warning({
6
- fill = 'none',
7
- width = '80',
8
- height = '80',
9
- viewBox = '0 0 80 80',
1
+ import React from "react";
2
+ import { createBaseComponent } from "@semcore/core";
3
+ import { Box } from "@semcore/flex-box";
4
+ const Warning = ({ fill = "none", width = "80", height = "80", viewBox = "0 0 80 80", ...props }, ref) => /* @__PURE__ */ React.createElement(Box, {
5
+ ref,
6
+ width,
7
+ height,
8
+ viewBox,
9
+ fill,
10
+ tag: "svg",
10
11
  ...props
11
- }, ref) {
12
- return /*#__PURE__*/React.createElement(Box, _extends({
13
- ref: ref,
14
- width: width,
15
- height: height,
16
- viewBox: viewBox,
17
- fill: fill,
18
- tag: "svg"
19
- }, props), /*#__PURE__*/React.createElement("path", {
20
- 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",
21
- fill: "#E0E1E9",
22
- shapeRendering: "geometricPrecision"
23
- }), /*#__PURE__*/React.createElement("path", {
24
- 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",
25
- fill: "#E0E1E9",
26
- stroke: "#6C6E79",
27
- strokeWidth: ".7",
28
- strokeLinecap: "round",
29
- strokeLinejoin: "round",
30
- shapeRendering: "geometricPrecision"
31
- }), /*#__PURE__*/React.createElement("path", {
32
- 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",
33
- fill: "#fff",
34
- stroke: "#6C6E79",
35
- strokeWidth: ".7",
36
- strokeLinecap: "round",
37
- strokeLinejoin: "round",
38
- shapeRendering: "geometricPrecision"
39
- }), /*#__PURE__*/React.createElement("path", {
40
- 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",
41
- fill: "#6C6E79",
42
- shapeRendering: "geometricPrecision"
43
- }), /*#__PURE__*/React.createElement("path", {
44
- 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",
45
- fill: "#fff",
46
- shapeRendering: "geometricPrecision"
47
- }), /*#__PURE__*/React.createElement("path", {
48
- 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",
49
- fill: "#E0E1E9",
50
- shapeRendering: "geometricPrecision"
51
- }), /*#__PURE__*/React.createElement("path", {
52
- 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",
53
- fill: "#6C6E79",
54
- shapeRendering: "geometricPrecision"
55
- }), /*#__PURE__*/React.createElement("path", {
56
- 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",
57
- fill: "#E0E1E9",
58
- stroke: "#6C6E79",
59
- strokeWidth: ".7",
60
- strokeLinecap: "round",
61
- strokeLinejoin: "round",
62
- shapeRendering: "geometricPrecision"
63
- }), /*#__PURE__*/React.createElement("path", {
64
- d: "m43.443 35.477 2.373 8.645",
65
- stroke: "#6C6E79",
66
- strokeWidth: "2",
67
- strokeLinecap: "round",
68
- strokeLinejoin: "round",
69
- shapeRendering: "geometricPrecision"
70
- }), /*#__PURE__*/React.createElement("path", {
71
- 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",
72
- fill: "#6C6E79",
73
- shapeRendering: "geometricPrecision"
74
- }));
75
- }
76
- Warning.displayName = 'Warning';
77
- export default createBaseComponent(Warning);
12
+ }, /* @__PURE__ */ React.createElement("path", {
13
+ 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",
14
+ fill: "#E0E1E9"
15
+ }), /* @__PURE__ */ React.createElement("path", {
16
+ 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",
17
+ fill: "#E0E1E9",
18
+ stroke: "#6C6E79",
19
+ strokeLinecap: "round",
20
+ strokeLinejoin: "round",
21
+ strokeWidth: ".7"
22
+ }), /* @__PURE__ */ React.createElement("path", {
23
+ 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",
24
+ fill: "#fff",
25
+ stroke: "#6C6E79",
26
+ strokeLinecap: "round",
27
+ strokeLinejoin: "round",
28
+ strokeWidth: ".7"
29
+ }), /* @__PURE__ */ React.createElement("path", {
30
+ 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",
31
+ fill: "#6C6E79"
32
+ }), /* @__PURE__ */ React.createElement("path", {
33
+ 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",
34
+ fill: "#fff"
35
+ }), /* @__PURE__ */ React.createElement("path", {
36
+ 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",
37
+ fill: "#E0E1E9"
38
+ }), /* @__PURE__ */ React.createElement("path", {
39
+ 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",
40
+ fill: "#6C6E79"
41
+ }), /* @__PURE__ */ React.createElement("path", {
42
+ 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",
43
+ fill: "#E0E1E9",
44
+ stroke: "#6C6E79",
45
+ strokeLinecap: "round",
46
+ strokeLinejoin: "round",
47
+ strokeWidth: ".7"
48
+ }), /* @__PURE__ */ React.createElement("path", {
49
+ d: "m43.443 35.477 2.373 8.645",
50
+ stroke: "#6C6E79",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round",
53
+ strokeWidth: "2"
54
+ }), /* @__PURE__ */ React.createElement("path", {
55
+ 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",
56
+ fill: "#6C6E79"
57
+ }));
58
+ Warning.displayName = "Warning";
59
+ var stdin_default = createBaseComponent(Warning);
60
+ export {
61
+ stdin_default as default
62
+ };
package/clear.ts ADDED
@@ -0,0 +1,25 @@
1
+ import fs from 'fs/promises';
2
+ import { resolve as resolvePath } from 'path';
3
+
4
+ const fsEntities = await fs.readdir('.');
5
+ const arraysShallowEqual = <T>(a: T[], b: T[]) =>
6
+ a.length === b.length && a.every((item) => b.includes(item));
7
+ const needToBeRemoved = await Promise.all(
8
+ fsEntities.map(async (name) => {
9
+ const path = resolvePath('.', name);
10
+ const stat = await fs.stat(path);
11
+ if (!stat.isDirectory()) return false;
12
+ const subEntities = await fs.readdir(path);
13
+ if (subEntities.length === 0) return true;
14
+ if (arraysShallowEqual(subEntities, ['index.d.ts', 'index.js', 'index.mjs'])) return true;
15
+ if (arraysShallowEqual(subEntities, ['cjs', 'es6', 'types'])) return true;
16
+
17
+ return false;
18
+ }),
19
+ );
20
+
21
+ await Promise.all(
22
+ fsEntities
23
+ .filter((_, index) => needToBeRemoved[index])
24
+ .map((name) => fs.rm(name, { recursive: true, force: true })),
25
+ );
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 = "1.4.19";
7
+ var version = "1.4.21";
8
8
 
9
9
  /**
10
10
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
package/lib/es6/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var version = "1.4.19";
1
+ var version = "1.4.21";
2
2
 
3
3
  /**
4
4
  * Formats string from `access_denied` or `access-denied` to `AccessDenied`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/illustration",
3
3
  "description": "Semrush Illustration Component",
4
- "version": "1.4.19",
4
+ "version": "1.4.21",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -10,7 +10,10 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@babel/runtime": "^7.17.9",
13
- "@semcore/flex-box": "^4"
13
+ "@semcore/flex-box": "^4",
14
+ "esbuild": "0.14.29",
15
+ "happy-dom": "^9.18.3",
16
+ "svg-to-jsx": "^1.0.4"
14
17
  },
15
18
  "peerDependencies": {
16
19
  "@semcore/core": "^1.11",
@@ -23,13 +26,12 @@
23
26
  "directory": "semcore/illustration"
24
27
  },
25
28
  "devDependencies": {
26
- "@types/react": "18.0.21",
27
- "@semcore/icon-transform-svg": "1.1.0"
29
+ "@types/react": "18.0.21"
28
30
  },
29
31
  "scripts": {
30
- "transform": "pnpm icon-transform-svg",
31
- "build": "pnpm run clean && pnpm semcore-builder --source=js && pnpm run transform --configFile=transform-svg.config.js",
32
- "clean": "ls -d */ | egrep -v \"__tests__|node_modules|svg|src\" | xargs rm -rf && rm *.svg || true",
32
+ "build": "pnpm clear && pnpm semcore-builder --source=js && pnpm run transform",
33
+ "transform": "tsm --require=../../.ci/tsm-filter-warnings.js transform.ts",
34
+ "clear": "tsm --require=../../.ci/tsm-filter-warnings.js clear.ts",
33
35
  "upload-static": "gcs-upload svg/*.svg"
34
36
  }
35
37
  }