@semcore/widget-empty 4.43.1-prerelease.8 → 4.43.2-prerelease.1

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