@semcore/widget-empty 4.43.1-prerelease.8 → 4.44.0-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 +32 -32
- 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.44.0] - 2025-04-04
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/illustration` [2.43.1 ~> 2.44.0]).
|
|
10
|
+
|
|
5
11
|
## [4.43.1] - 2025-03-20
|
|
6
12
|
|
|
7
13
|
### Changed
|
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_12olr_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_12olr_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_12olr_gg_,.___STitle_12olr_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_12olr_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_12olr_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_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "12olr_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SWidgetEmpty": "___SWidgetEmpty_12olr_gg_",
|
|
24
|
+
"__SImage": "___SImage_12olr_gg_",
|
|
25
|
+
"__STitle": "___STitle_12olr_gg_",
|
|
26
|
+
"__SDescription": "___SDescription_12olr_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_12olr_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_12olr_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_12olr_gg_,.___STitle_12olr_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_12olr_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_12olr_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_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "12olr_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SWidgetEmpty": "___SWidgetEmpty_12olr_gg_",
|
|
19
|
+
"__SImage": "___SImage_12olr_gg_",
|
|
20
|
+
"__STitle": "___STitle_12olr_gg_",
|
|
21
|
+
"__SDescription": "___SDescription_12olr_gg_"
|
|
22
22
|
});
|
|
23
23
|
export var getIconPath = function getIconPath(name) {
|
|
24
24
|
return getIllustrationPath(name);
|
package/lib/esm/WidgetEmpty.mjs
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import
|
|
1
|
+
import g 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
|
|
5
|
+
import E from "@babel/runtime/helpers/esm/createSuper";
|
|
6
6
|
import m from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
-
import { sstyled as
|
|
8
|
-
import
|
|
7
|
+
import { sstyled as D } from "@semcore/utils/lib/core/index";
|
|
8
|
+
import T, { sstyled as s, assignProps as c, Component as W } from "@semcore/core";
|
|
9
9
|
import _ from "react";
|
|
10
|
-
import { getIllustrationPath as
|
|
11
|
-
import { Flex as
|
|
12
|
-
import
|
|
13
|
-
var
|
|
10
|
+
import { getIllustrationPath as C } from "@semcore/illustration";
|
|
11
|
+
import { Flex as I, Box as f } from "@semcore/flex-box";
|
|
12
|
+
import P from "@semcore/utils/lib/isNode";
|
|
13
|
+
var b = (
|
|
14
14
|
/*__reshadow_css_start__*/
|
|
15
|
-
(
|
|
15
|
+
(D.insert(
|
|
16
16
|
/*__inner_css_start__*/
|
|
17
|
-
".
|
|
18
|
-
"
|
|
17
|
+
".___SWidgetEmpty_12olr_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_12olr_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_12olr_gg_,.___STitle_12olr_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_12olr_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_12olr_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_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_12olr_gg_+.___SDescription_12olr_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
|
|
18
|
+
"12olr_gg_"
|
|
19
19
|
), {
|
|
20
|
-
__SWidgetEmpty: "
|
|
21
|
-
__SImage: "
|
|
22
|
-
__STitle: "
|
|
23
|
-
__SDescription: "
|
|
20
|
+
__SWidgetEmpty: "___SWidgetEmpty_12olr_gg_",
|
|
21
|
+
__SImage: "___SImage_12olr_gg_",
|
|
22
|
+
__STitle: "___STitle_12olr_gg_",
|
|
23
|
+
__SDescription: "___SDescription_12olr_gg_"
|
|
24
24
|
})
|
|
25
25
|
), K = function(r) {
|
|
26
|
-
return
|
|
26
|
+
return C(r);
|
|
27
27
|
}, p = /* @__PURE__ */ function(n) {
|
|
28
28
|
x(t, n);
|
|
29
|
-
var r =
|
|
29
|
+
var r = E(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 =
|
|
36
|
+
var a = this.asProps, e, d = I, l = this.asProps, y = l.Children, o = l.icon, v = l.styles, S = "div";
|
|
37
|
+
return e = s(v), /* @__PURE__ */ _.createElement(d, e.cn("SWidgetEmpty", g({}, c({
|
|
38
38
|
role: "status"
|
|
39
|
-
}, a))),
|
|
39
|
+
}, a))), P(o) && /* @__PURE__ */ _.createElement(S, e.cn("SImage", {
|
|
40
40
|
"aria-hidden": "true"
|
|
41
|
-
}), typeof
|
|
42
|
-
src:
|
|
41
|
+
}), typeof o == "string" ? /* @__PURE__ */ _.createElement("img", e.cn("img", {
|
|
42
|
+
src: o,
|
|
43
43
|
alt: ""
|
|
44
|
-
})) :
|
|
44
|
+
})) : o), /* @__PURE__ */ _.createElement(y, e.cn("Children", {})));
|
|
45
45
|
}
|
|
46
46
|
}]), t;
|
|
47
|
-
}(
|
|
47
|
+
}(W);
|
|
48
48
|
m(p, "displayName", "WidgetEmpty");
|
|
49
|
-
m(p, "style",
|
|
50
|
-
var
|
|
49
|
+
m(p, "style", b);
|
|
50
|
+
var w = function(r) {
|
|
51
51
|
var t = arguments[0], i, a = f, e = r.styles;
|
|
52
|
-
return i =
|
|
53
|
-
},
|
|
52
|
+
return i = s(e), /* @__PURE__ */ _.createElement(a, i.cn("STitle", g({}, c({}, t))));
|
|
53
|
+
}, j = function(r) {
|
|
54
54
|
var t = arguments[0], i, a = f, e = r.styles;
|
|
55
|
-
return i =
|
|
55
|
+
return i = s(e), /* @__PURE__ */ _.createElement(a, i.cn("SDescription", g({}, c({}, t))));
|
|
56
56
|
};
|
|
57
|
-
const L =
|
|
58
|
-
Title:
|
|
59
|
-
Description:
|
|
57
|
+
const L = T(p, {
|
|
58
|
+
Title: w,
|
|
59
|
+
Description: j
|
|
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.
|
|
4
|
+
"version": "4.44.0-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.1
|
|
18
|
-
"@semcore/illustration": "2.
|
|
19
|
-
"@semcore/utils": "4.48.1
|
|
17
|
+
"@semcore/flex-box": "5.41.1",
|
|
18
|
+
"@semcore/illustration": "2.44.0-prerelease.0",
|
|
19
|
+
"@semcore/utils": "4.48.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@semcore/core": "^2.
|
|
22
|
+
"@semcore/core": "^2.17.5",
|
|
23
23
|
"react": "16.8 - 18",
|
|
24
24
|
"react-dom": "16.8 - 18"
|
|
25
25
|
},
|