@semcore/widget-empty 4.43.0 → 4.43.1-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.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/WidgetEmpty.js +5 -5
- package/lib/es6/WidgetEmpty.js +5 -5
- package/lib/esm/WidgetEmpty.mjs +31 -31
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [4.43.1] - 2025-03-17
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/flex-box` [5.41.0 ~> 5.41.1], `@semcore/illustration` [2.43.0 ~> 2.43.1], `@semcore/utils` [4.48.0 ~> 4.48.1], `@semcore/core` [2.39.0 ~> 2.39.1]).
|
|
10
|
+
|
|
5
11
|
## [4.43.0] - 2025-03-14
|
|
6
12
|
|
|
7
13
|
### Added
|
package/lib/cjs/WidgetEmpty.js
CHANGED
|
@@ -19,11 +19,11 @@ var _illustration = require("@semcore/illustration");
|
|
|
19
19
|
var _flexBox = require("@semcore/flex-box");
|
|
20
20
|
var _isNode = _interopRequireDefault(require("@semcore/utils/lib/isNode"));
|
|
21
21
|
/*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SWidgetEmpty": "
|
|
24
|
-
"__SImage": "
|
|
25
|
-
"__STitle": "
|
|
26
|
-
"__SDescription": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_1g47q_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1g47q_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1g47q_gg_,.___STitle_1g47q_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1g47q_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1g47q_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_1g47q_gg_+.___SDescription_1g47q_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1g47q_gg_+.___SDescription_1g47q_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "1g47q_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SWidgetEmpty": "___SWidgetEmpty_1g47q_gg_",
|
|
24
|
+
"__SImage": "___SImage_1g47q_gg_",
|
|
25
|
+
"__STitle": "___STitle_1g47q_gg_",
|
|
26
|
+
"__SDescription": "___SDescription_1g47q_gg_"
|
|
27
27
|
});
|
|
28
28
|
var getIconPath = function getIconPath(name) {
|
|
29
29
|
return (0, _illustration.getIllustrationPath)(name);
|
package/lib/es6/WidgetEmpty.js
CHANGED
|
@@ -14,11 +14,11 @@ import { getIllustrationPath } from '@semcore/illustration';
|
|
|
14
14
|
import { Box, Flex } from '@semcore/flex-box';
|
|
15
15
|
import isNode from '@semcore/utils/lib/isNode';
|
|
16
16
|
/*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
|
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
18
|
-
"__SWidgetEmpty": "
|
|
19
|
-
"__SImage": "
|
|
20
|
-
"__STitle": "
|
|
21
|
-
"__SDescription": "
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_1g47q_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1g47q_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1g47q_gg_,.___STitle_1g47q_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1g47q_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1g47q_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_1g47q_gg_+.___SDescription_1g47q_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1g47q_gg_+.___SDescription_1g47q_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "1g47q_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SWidgetEmpty": "___SWidgetEmpty_1g47q_gg_",
|
|
19
|
+
"__SImage": "___SImage_1g47q_gg_",
|
|
20
|
+
"__STitle": "___STitle_1g47q_gg_",
|
|
21
|
+
"__SDescription": "___SDescription_1g47q_gg_"
|
|
22
22
|
});
|
|
23
23
|
export var getIconPath = function getIconPath(name) {
|
|
24
24
|
return getIllustrationPath(name);
|
package/lib/esm/WidgetEmpty.mjs
CHANGED
|
@@ -2,41 +2,41 @@ import s from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
2
2
|
import h from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import u from "@babel/runtime/helpers/esm/createClass";
|
|
4
4
|
import x from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { sstyled as
|
|
8
|
-
import
|
|
5
|
+
import q from "@babel/runtime/helpers/esm/createSuper";
|
|
6
|
+
import m from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
+
import { sstyled as E } from "@semcore/utils/lib/core/index";
|
|
8
|
+
import D, { sstyled as c, assignProps as l, Component as T } from "@semcore/core";
|
|
9
9
|
import _ from "react";
|
|
10
|
-
import { getIllustrationPath as
|
|
11
|
-
import { Flex as
|
|
12
|
-
import
|
|
13
|
-
var
|
|
10
|
+
import { getIllustrationPath as W } from "@semcore/illustration";
|
|
11
|
+
import { Flex as C, Box as f } from "@semcore/flex-box";
|
|
12
|
+
import I from "@semcore/utils/lib/isNode";
|
|
13
|
+
var P = (
|
|
14
14
|
/*__reshadow_css_start__*/
|
|
15
|
-
(
|
|
15
|
+
(E.insert(
|
|
16
16
|
/*__inner_css_start__*/
|
|
17
|
-
".
|
|
18
|
-
"
|
|
17
|
+
".___SWidgetEmpty_1g47q_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1g47q_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1g47q_gg_,.___STitle_1g47q_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1g47q_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1g47q_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_1g47q_gg_+.___SDescription_1g47q_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1g47q_gg_+.___SDescription_1g47q_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
|
|
18
|
+
"1g47q_gg_"
|
|
19
19
|
), {
|
|
20
|
-
__SWidgetEmpty: "
|
|
21
|
-
__SImage: "
|
|
22
|
-
__STitle: "
|
|
23
|
-
__SDescription: "
|
|
20
|
+
__SWidgetEmpty: "___SWidgetEmpty_1g47q_gg_",
|
|
21
|
+
__SImage: "___SImage_1g47q_gg_",
|
|
22
|
+
__STitle: "___STitle_1g47q_gg_",
|
|
23
|
+
__SDescription: "___SDescription_1g47q_gg_"
|
|
24
24
|
})
|
|
25
25
|
), K = function(r) {
|
|
26
|
-
return
|
|
27
|
-
},
|
|
26
|
+
return W(r);
|
|
27
|
+
}, p = /* @__PURE__ */ function(n) {
|
|
28
28
|
x(t, n);
|
|
29
|
-
var r =
|
|
29
|
+
var r = q(t);
|
|
30
30
|
function t() {
|
|
31
31
|
return h(this, t), r.apply(this, arguments);
|
|
32
32
|
}
|
|
33
33
|
return u(t, [{
|
|
34
34
|
key: "render",
|
|
35
35
|
value: function() {
|
|
36
|
-
var a = this.asProps, e, d =
|
|
37
|
-
return e = c(v), /* @__PURE__ */ _.createElement(d, e.cn("SWidgetEmpty", s({},
|
|
36
|
+
var a = this.asProps, e, d = C, o = this.asProps, y = o.Children, g = o.icon, v = o.styles, S = "div";
|
|
37
|
+
return e = c(v), /* @__PURE__ */ _.createElement(d, e.cn("SWidgetEmpty", s({}, l({
|
|
38
38
|
role: "status"
|
|
39
|
-
}, a))),
|
|
39
|
+
}, a))), I(g) && /* @__PURE__ */ _.createElement(S, e.cn("SImage", {
|
|
40
40
|
"aria-hidden": "true"
|
|
41
41
|
}), typeof g == "string" ? /* @__PURE__ */ _.createElement("img", e.cn("img", {
|
|
42
42
|
src: g,
|
|
@@ -44,19 +44,19 @@ var C = (
|
|
|
44
44
|
})) : g), /* @__PURE__ */ _.createElement(y, e.cn("Children", {})));
|
|
45
45
|
}
|
|
46
46
|
}]), t;
|
|
47
|
-
}(
|
|
48
|
-
p
|
|
49
|
-
p
|
|
50
|
-
var
|
|
47
|
+
}(T);
|
|
48
|
+
m(p, "displayName", "WidgetEmpty");
|
|
49
|
+
m(p, "style", P);
|
|
50
|
+
var b = function(r) {
|
|
51
51
|
var t = arguments[0], i, a = f, e = r.styles;
|
|
52
|
-
return i = c(e), /* @__PURE__ */ _.createElement(a, i.cn("STitle", s({},
|
|
53
|
-
},
|
|
52
|
+
return i = c(e), /* @__PURE__ */ _.createElement(a, i.cn("STitle", s({}, l({}, t))));
|
|
53
|
+
}, w = function(r) {
|
|
54
54
|
var t = arguments[0], i, a = f, e = r.styles;
|
|
55
|
-
return i = c(e), /* @__PURE__ */ _.createElement(a, i.cn("SDescription", s({},
|
|
55
|
+
return i = c(e), /* @__PURE__ */ _.createElement(a, i.cn("SDescription", s({}, l({}, t))));
|
|
56
56
|
};
|
|
57
|
-
const L =
|
|
58
|
-
Title:
|
|
59
|
-
Description:
|
|
57
|
+
const L = D(p, {
|
|
58
|
+
Title: b,
|
|
59
|
+
Description: w
|
|
60
60
|
});
|
|
61
61
|
export {
|
|
62
62
|
L as default,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/widget-empty",
|
|
3
3
|
"description": "Semrush WidgetEmpty Component",
|
|
4
|
-
"version": "4.43.0",
|
|
4
|
+
"version": "4.43.1-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "5.41.0",
|
|
18
|
-
"@semcore/illustration": "2.43.0",
|
|
19
|
-
"@semcore/utils": "4.48.0"
|
|
17
|
+
"@semcore/flex-box": "5.41.1-prerelease.0",
|
|
18
|
+
"@semcore/illustration": "2.43.1-prerelease.0",
|
|
19
|
+
"@semcore/utils": "4.48.1-prerelease.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@semcore/core": "^2.
|
|
22
|
+
"@semcore/core": "^2.39.1-prerelease.0",
|
|
23
23
|
"react": "16.8 - 18",
|
|
24
24
|
"react-dom": "16.8 - 18"
|
|
25
25
|
},
|