@semcore/errors 16.1.5-prerelease.3 → 16.1.5-prerelease.6
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.
|
@@ -9,7 +9,7 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
|
9
9
|
import React from "react";
|
|
10
10
|
import Error, { getIconPath } from "../Error.mjs";
|
|
11
11
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
-
var RootAccessDenied = /* @__PURE__ */ function(_Component) {
|
|
12
|
+
var RootAccessDenied = /* @__PURE__ */ (function(_Component) {
|
|
13
13
|
function RootAccessDenied2() {
|
|
14
14
|
_classCallCheck(this, RootAccessDenied2);
|
|
15
15
|
return _callSuper(this, RootAccessDenied2, arguments);
|
|
@@ -34,7 +34,7 @@ var RootAccessDenied = /* @__PURE__ */ function(_Component) {
|
|
|
34
34
|
}, getI18nText("btnHome"))));
|
|
35
35
|
}
|
|
36
36
|
}]);
|
|
37
|
-
}(Component);
|
|
37
|
+
})(Component);
|
|
38
38
|
_defineProperty(RootAccessDenied, "displayName", "AccessDenied");
|
|
39
39
|
_defineProperty(RootAccessDenied, "enhance", [i18nEnhance(localizedMessages)]);
|
|
40
40
|
_defineProperty(RootAccessDenied, "defaultProps", {
|
package/lib/esm/Error.mjs
CHANGED
|
@@ -31,7 +31,7 @@ var style = (
|
|
|
31
31
|
var getIconPath = function getIconPath2(name) {
|
|
32
32
|
return getIllustrationPath(name);
|
|
33
33
|
};
|
|
34
|
-
var RootError = /* @__PURE__ */ function(_Component) {
|
|
34
|
+
var RootError = /* @__PURE__ */ (function(_Component) {
|
|
35
35
|
function RootError2() {
|
|
36
36
|
_classCallCheck(this, RootError2);
|
|
37
37
|
return _callSuper(this, RootError2, arguments);
|
|
@@ -53,7 +53,7 @@ var RootError = /* @__PURE__ */ function(_Component) {
|
|
|
53
53
|
})) : icon), /* @__PURE__ */ React.createElement(SWrapper, _ref5.cn("SWrapper", {}), /* @__PURE__ */ React.createElement(Children, _ref5.cn("Children", {})))));
|
|
54
54
|
}
|
|
55
55
|
}]);
|
|
56
|
-
}(Component);
|
|
56
|
+
})(Component);
|
|
57
57
|
_defineProperty(RootError, "displayName", "Error");
|
|
58
58
|
_defineProperty(RootError, "style", style);
|
|
59
59
|
function Title(props) {
|
|
@@ -9,7 +9,7 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
|
9
9
|
import React from "react";
|
|
10
10
|
import Error, { getIconPath } from "../Error.mjs";
|
|
11
11
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
-
var RootMaintenance = /* @__PURE__ */ function(_Component) {
|
|
12
|
+
var RootMaintenance = /* @__PURE__ */ (function(_Component) {
|
|
13
13
|
function RootMaintenance2() {
|
|
14
14
|
_classCallCheck(this, RootMaintenance2);
|
|
15
15
|
return _callSuper(this, RootMaintenance2, arguments);
|
|
@@ -32,7 +32,7 @@ var RootMaintenance = /* @__PURE__ */ function(_Component) {
|
|
|
32
32
|
}, getI18nText("btnHome"))));
|
|
33
33
|
}
|
|
34
34
|
}]);
|
|
35
|
-
}(Component);
|
|
35
|
+
})(Component);
|
|
36
36
|
_defineProperty(RootMaintenance, "displayName", "Maintenance");
|
|
37
37
|
_defineProperty(RootMaintenance, "enhance", [i18nEnhance(localizedMessages)]);
|
|
38
38
|
_defineProperty(RootMaintenance, "defaultProps", {
|
|
@@ -13,7 +13,7 @@ import React from "react";
|
|
|
13
13
|
import Error, { getIconPath } from "../Error.mjs";
|
|
14
14
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
15
15
|
var _excluded = ["Children", "getI18nText", "onClick", "titleTag"];
|
|
16
|
-
var RootPageError = /* @__PURE__ */ function(_Component) {
|
|
16
|
+
var RootPageError = /* @__PURE__ */ (function(_Component) {
|
|
17
17
|
function RootPageError2() {
|
|
18
18
|
var _this;
|
|
19
19
|
_classCallCheck(this, RootPageError2);
|
|
@@ -43,7 +43,7 @@ var RootPageError = /* @__PURE__ */ function(_Component) {
|
|
|
43
43
|
}, getI18nText("btnRetry"))));
|
|
44
44
|
}
|
|
45
45
|
}]);
|
|
46
|
-
}(Component);
|
|
46
|
+
})(Component);
|
|
47
47
|
_defineProperty(RootPageError, "displayName", "PageError");
|
|
48
48
|
_defineProperty(RootPageError, "enhance", [i18nEnhance(localizedMessages)]);
|
|
49
49
|
_defineProperty(RootPageError, "defaultProps", {
|
|
@@ -9,7 +9,7 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
|
9
9
|
import React from "react";
|
|
10
10
|
import Error, { getIconPath } from "../Error.mjs";
|
|
11
11
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
-
var RootPageNotFound = /* @__PURE__ */ function(_Component) {
|
|
12
|
+
var RootPageNotFound = /* @__PURE__ */ (function(_Component) {
|
|
13
13
|
function RootPageNotFound2() {
|
|
14
14
|
_classCallCheck(this, RootPageNotFound2);
|
|
15
15
|
return _callSuper(this, RootPageNotFound2, arguments);
|
|
@@ -32,7 +32,7 @@ var RootPageNotFound = /* @__PURE__ */ function(_Component) {
|
|
|
32
32
|
}, getI18nText("btnHome"))));
|
|
33
33
|
}
|
|
34
34
|
}]);
|
|
35
|
-
}(Component);
|
|
35
|
+
})(Component);
|
|
36
36
|
_defineProperty(RootPageNotFound, "displayName", "Maintenance");
|
|
37
37
|
_defineProperty(RootPageNotFound, "enhance", [i18nEnhance(localizedMessages)]);
|
|
38
38
|
_defineProperty(RootPageNotFound, "defaultProps", {
|
|
@@ -10,7 +10,7 @@ import FormatText from "@semcore/format-text";
|
|
|
10
10
|
import React from "react";
|
|
11
11
|
import Error, { getIconPath } from "../Error.mjs";
|
|
12
12
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
13
|
-
var RootProjectNotFound = /* @__PURE__ */ function(_Component) {
|
|
13
|
+
var RootProjectNotFound = /* @__PURE__ */ (function(_Component) {
|
|
14
14
|
function RootProjectNotFound2() {
|
|
15
15
|
_classCallCheck(this, RootProjectNotFound2);
|
|
16
16
|
return _callSuper(this, RootProjectNotFound2, arguments);
|
|
@@ -57,7 +57,7 @@ var RootProjectNotFound = /* @__PURE__ */ function(_Component) {
|
|
|
57
57
|
}, getI18nText("btnContacts"))));
|
|
58
58
|
}
|
|
59
59
|
}]);
|
|
60
|
-
}(Component);
|
|
60
|
+
})(Component);
|
|
61
61
|
_defineProperty(RootProjectNotFound, "displayName", "Maintenance");
|
|
62
62
|
_defineProperty(RootProjectNotFound, "enhance", [i18nEnhance(localizedMessages)]);
|
|
63
63
|
_defineProperty(RootProjectNotFound, "defaultProps", {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/errors",
|
|
3
3
|
"description": "Semrush Errors Component",
|
|
4
|
-
"version": "16.1.5-prerelease.
|
|
4
|
+
"version": "16.1.5-prerelease.6",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "16.0.10-prerelease.
|
|
18
|
-
"@semcore/format-text": "16.1.0-prerelease.
|
|
19
|
-
"@semcore/illustration": "16.0.11-prerelease.
|
|
20
|
-
"@semcore/typography": "16.3.0-prerelease.
|
|
21
|
-
"@semcore/flex-box": "16.0.10-prerelease.
|
|
17
|
+
"@semcore/button": "16.0.10-prerelease.6",
|
|
18
|
+
"@semcore/format-text": "16.1.0-prerelease.6",
|
|
19
|
+
"@semcore/illustration": "16.0.11-prerelease.6",
|
|
20
|
+
"@semcore/typography": "16.3.0-prerelease.6",
|
|
21
|
+
"@semcore/flex-box": "16.0.10-prerelease.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@semcore/base-components": "^16.4.0-prerelease.
|
|
24
|
+
"@semcore/base-components": "^16.4.0-prerelease.6"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"directory": "semcore/errors"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@semcore/core": "16.5.0-prerelease.
|
|
32
|
+
"@semcore/core": "16.5.0-prerelease.6",
|
|
33
33
|
"@semcore/testing-utils": "1.0.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|