@semcore/widget-empty 16.0.10-prerelease.5 → 16.0.10-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.
package/lib/esm/Error/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import WidgetEmpty, { getIconPath } from "../WidgetEmpty.mjs";
|
|
10
10
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
11
|
-
var Error = /* @__PURE__ */ function(_Component) {
|
|
11
|
+
var Error = /* @__PURE__ */ (function(_Component) {
|
|
12
12
|
function Error2() {
|
|
13
13
|
_classCallCheck(this, Error2);
|
|
14
14
|
return _callSuper(this, Error2, arguments);
|
|
@@ -24,7 +24,7 @@ var Error = /* @__PURE__ */ function(_Component) {
|
|
|
24
24
|
}, _ref), /* @__PURE__ */ React.createElement(WidgetEmpty.Title, null, getI18nText("title")), /* @__PURE__ */ React.createElement(WidgetEmpty.Description, null, description || getI18nText("description")), /* @__PURE__ */ React.createElement(Children, null));
|
|
25
25
|
}
|
|
26
26
|
}]);
|
|
27
|
-
}(Component);
|
|
27
|
+
})(Component);
|
|
28
28
|
_defineProperty(Error, "displayName", "WidgetError");
|
|
29
29
|
_defineProperty(Error, "defaultProps", {
|
|
30
30
|
i18n: localizedMessages,
|
package/lib/esm/NoData/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import WidgetEmpty, { getIconPath } from "../WidgetEmpty.mjs";
|
|
10
10
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
11
|
-
var NoData = /* @__PURE__ */ function(_Component) {
|
|
11
|
+
var NoData = /* @__PURE__ */ (function(_Component) {
|
|
12
12
|
function NoData2() {
|
|
13
13
|
_classCallCheck(this, NoData2);
|
|
14
14
|
return _callSuper(this, NoData2, arguments);
|
|
@@ -24,7 +24,7 @@ var NoData = /* @__PURE__ */ function(_Component) {
|
|
|
24
24
|
}, _ref), /* @__PURE__ */ React.createElement(WidgetEmpty.Title, null, getI18nText("title")), /* @__PURE__ */ React.createElement(WidgetEmpty.Description, null, description || getI18nText("description")), /* @__PURE__ */ React.createElement(Children, null));
|
|
25
25
|
}
|
|
26
26
|
}]);
|
|
27
|
-
}(Component);
|
|
27
|
+
})(Component);
|
|
28
28
|
_defineProperty(NoData, "displayName", "WidgetNoData");
|
|
29
29
|
_defineProperty(NoData, "enhance", [i18nEnhance(localizedMessages)]);
|
|
30
30
|
_defineProperty(NoData, "defaultProps", {
|
package/lib/esm/WidgetEmpty.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var style = (
|
|
|
28
28
|
var getIconPath = function getIconPath2(name) {
|
|
29
29
|
return getIllustrationPath(name);
|
|
30
30
|
};
|
|
31
|
-
var WidgetEmpty = /* @__PURE__ */ function(_Component) {
|
|
31
|
+
var WidgetEmpty = /* @__PURE__ */ (function(_Component) {
|
|
32
32
|
function WidgetEmpty2() {
|
|
33
33
|
_classCallCheck(this, WidgetEmpty2);
|
|
34
34
|
return _callSuper(this, WidgetEmpty2, arguments);
|
|
@@ -51,7 +51,7 @@ var WidgetEmpty = /* @__PURE__ */ function(_Component) {
|
|
|
51
51
|
})) : icon), /* @__PURE__ */ React.createElement(Children, _ref4.cn("Children", {})));
|
|
52
52
|
}
|
|
53
53
|
}]);
|
|
54
|
-
}(Component);
|
|
54
|
+
})(Component);
|
|
55
55
|
_defineProperty(WidgetEmpty, "displayName", "WidgetEmpty");
|
|
56
56
|
_defineProperty(WidgetEmpty, "style", style);
|
|
57
57
|
var Title = function Title2(props) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/widget-empty",
|
|
3
3
|
"description": "Semrush WidgetEmpty Component",
|
|
4
|
-
"version": "16.0.10-prerelease.
|
|
4
|
+
"version": "16.0.10-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,11 +14,11 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "16.0.10-prerelease.
|
|
18
|
-
"@semcore/illustration": "16.0.11-prerelease.
|
|
17
|
+
"@semcore/flex-box": "16.0.10-prerelease.6",
|
|
18
|
+
"@semcore/illustration": "16.0.11-prerelease.6"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@semcore/base-components": "^16.4.0-prerelease.
|
|
21
|
+
"@semcore/base-components": "^16.4.0-prerelease.6"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"directory": "semcore/widget-empty"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@semcore/core": "16.5.0-prerelease.
|
|
29
|
+
"@semcore/core": "16.5.0-prerelease.6",
|
|
30
30
|
"@semcore/testing-utils": "1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|