@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.
- package/AccessDenied/index.d.ts +1 -2
- package/AccessDenied/index.js +234 -272
- package/AccessDenied/index.mjs +212 -259
- package/AreaChart/index.d.ts +1 -2
- package/AreaChart/index.js +81 -88
- package/AreaChart/index.mjs +59 -75
- package/Blocked/index.d.ts +1 -2
- package/Blocked/index.js +485 -579
- package/Blocked/index.mjs +463 -566
- package/CHANGELOG.md +13 -3
- package/ChoroplethMapChart/index.d.ts +1 -2
- package/ChoroplethMapChart/index.js +103 -112
- package/ChoroplethMapChart/index.mjs +81 -99
- package/Coffee/index.d.ts +1 -2
- package/Coffee/index.js +88 -92
- package/Coffee/index.mjs +66 -79
- package/Collection/index.d.ts +1 -2
- package/Collection/index.js +82 -88
- package/Collection/index.mjs +60 -75
- package/CombinedChart/index.d.ts +1 -2
- package/CombinedChart/index.js +110 -121
- package/CombinedChart/index.mjs +88 -108
- package/Confirmation/index.d.ts +1 -2
- package/Confirmation/index.js +259 -301
- package/Confirmation/index.mjs +237 -288
- package/Congrats/index.d.ts +1 -2
- package/Congrats/index.js +139 -159
- package/Congrats/index.mjs +117 -146
- package/ConnectionLost/index.d.ts +1 -2
- package/ConnectionLost/index.js +291 -343
- package/ConnectionLost/index.mjs +269 -330
- package/DeletedAccount/index.d.ts +1 -2
- package/DeletedAccount/index.js +368 -429
- package/DeletedAccount/index.mjs +346 -416
- package/DeletedPage/index.d.ts +1 -2
- package/DeletedPage/index.js +44 -42
- package/DeletedPage/index.mjs +22 -29
- package/Dns/index.d.ts +1 -2
- package/Dns/index.js +172 -199
- package/Dns/index.mjs +150 -186
- package/DonutChart/index.d.ts +1 -2
- package/DonutChart/index.js +123 -135
- package/DonutChart/index.mjs +101 -122
- package/Duplicates/index.d.ts +1 -2
- package/Duplicates/index.js +100 -109
- package/Duplicates/index.mjs +78 -96
- package/Feedback/index.d.ts +1 -2
- package/Feedback/index.js +88 -94
- package/Feedback/index.mjs +66 -81
- package/FunnelChart/index.d.ts +1 -2
- package/FunnelChart/index.js +90 -98
- package/FunnelChart/index.mjs +68 -85
- package/Good/index.d.ts +1 -2
- package/Good/index.js +123 -136
- package/Good/index.mjs +101 -123
- package/HeatMapChart/index.d.ts +1 -2
- package/HeatMapChart/index.js +108 -118
- package/HeatMapChart/index.mjs +86 -105
- package/HorizontalBarChart/index.d.ts +1 -2
- package/HorizontalBarChart/index.js +94 -102
- package/HorizontalBarChart/index.mjs +72 -89
- package/KagiChart/index.d.ts +1 -2
- package/KagiChart/index.js +75 -80
- package/KagiChart/index.mjs +53 -67
- package/LineChart/index.d.ts +1 -2
- package/LineChart/index.js +78 -84
- package/LineChart/index.mjs +56 -71
- package/LollipopChart/index.d.ts +1 -2
- package/LollipopChart/index.js +95 -103
- package/LollipopChart/index.mjs +73 -90
- package/MailSent/index.d.ts +1 -2
- package/MailSent/index.js +134 -154
- package/MailSent/index.mjs +112 -141
- package/Maintenance/index.d.ts +1 -2
- package/Maintenance/index.js +355 -413
- package/Maintenance/index.mjs +333 -400
- package/Nexttime/index.d.ts +1 -2
- package/Nexttime/index.js +102 -112
- package/Nexttime/index.mjs +80 -99
- package/NoPayment/index.d.ts +1 -2
- package/NoPayment/index.js +296 -358
- package/NoPayment/index.mjs +274 -345
- package/NothingFound/index.d.ts +1 -2
- package/NothingFound/index.js +126 -138
- package/NothingFound/index.mjs +104 -125
- package/OtherData/index.d.ts +1 -2
- package/OtherData/index.js +109 -119
- package/OtherData/index.mjs +87 -106
- package/PageError/index.d.ts +1 -2
- package/PageError/index.js +216 -279
- package/PageError/index.mjs +194 -266
- package/PageNotFound/index.d.ts +1 -2
- package/PageNotFound/index.js +276 -329
- package/PageNotFound/index.mjs +254 -316
- package/PieChart/index.d.ts +1 -2
- package/PieChart/index.js +108 -118
- package/PieChart/index.mjs +86 -105
- package/Processing/index.d.ts +1 -2
- package/Processing/index.js +88 -95
- package/Processing/index.mjs +66 -82
- package/ProjectNotFound/index.d.ts +1 -2
- package/ProjectNotFound/index.js +239 -274
- package/ProjectNotFound/index.mjs +217 -261
- package/RadarChart/index.d.ts +1 -2
- package/RadarChart/index.js +87 -94
- package/RadarChart/index.mjs +65 -81
- package/RadialTreeChart/index.d.ts +1 -2
- package/RadialTreeChart/index.js +129 -142
- package/RadialTreeChart/index.mjs +107 -129
- package/SankeyChart/index.d.ts +1 -2
- package/SankeyChart/index.js +115 -126
- package/SankeyChart/index.mjs +93 -113
- package/ScatterPlotChart/index.d.ts +1 -2
- package/ScatterPlotChart/index.js +100 -109
- package/ScatterPlotChart/index.mjs +78 -96
- package/StackedAreaChart/index.d.ts +1 -2
- package/StackedAreaChart/index.js +102 -113
- package/StackedAreaChart/index.mjs +80 -100
- package/Suggestion/index.d.ts +1 -2
- package/Suggestion/index.js +86 -93
- package/Suggestion/index.mjs +64 -80
- package/Suggestions/index.d.ts +1 -2
- package/Suggestions/index.js +89 -96
- package/Suggestions/index.mjs +67 -83
- package/Table/index.d.ts +1 -2
- package/Table/index.js +73 -77
- package/Table/index.mjs +51 -64
- package/TagCloud/index.d.ts +1 -2
- package/TagCloud/index.js +100 -109
- package/TagCloud/index.mjs +78 -96
- package/TextLinksEtc/index.d.ts +1 -2
- package/TextLinksEtc/index.js +76 -81
- package/TextLinksEtc/index.mjs +54 -68
- package/Timeout/index.d.ts +1 -2
- package/Timeout/index.js +373 -444
- package/Timeout/index.mjs +351 -431
- package/UnderConstruction/index.d.ts +1 -2
- package/UnderConstruction/index.js +135 -150
- package/UnderConstruction/index.mjs +113 -137
- package/VennChart/index.d.ts +1 -2
- package/VennChart/index.js +101 -110
- package/VennChart/index.mjs +79 -97
- package/VerticalBarChart/index.d.ts +1 -2
- package/VerticalBarChart/index.js +95 -103
- package/VerticalBarChart/index.mjs +73 -90
- package/Waiting/index.d.ts +1 -2
- package/Waiting/index.js +88 -96
- package/Waiting/index.mjs +66 -83
- package/Warning/index.d.ts +1 -2
- package/Warning/index.js +83 -89
- package/Warning/index.mjs +61 -76
- package/clear.ts +25 -0
- package/lib/cjs/index.js +1 -1
- package/lib/es6/index.js +1 -1
- package/package.json +9 -7
- package/svg/PageError.svg +40 -46
- package/transform.ts +92 -0
- package/transform-svg.config.js +0 -53
package/Waiting/index.mjs
CHANGED
|
@@ -1,84 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
+
};
|
package/Warning/index.d.ts
CHANGED
package/Warning/index.js
CHANGED
|
@@ -1,90 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
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
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
package/lib/es6/index.js
CHANGED
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.
|
|
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
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
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
|
}
|