@semcore/widget-empty 4.43.0 → 4.43.1-prerelease.2

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.1] - 2025-03-18
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
@@ -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_1kzmq_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1kzmq_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1kzmq_gg_,.___STitle_1kzmq_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1kzmq_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1kzmq_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_1kzmq_gg_+.___SDescription_1kzmq_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1kzmq_gg_+.___SDescription_1kzmq_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "1kzmq_gg_") /*__reshadow_css_end__*/, {
23
- "__SWidgetEmpty": "___SWidgetEmpty_1kzmq_gg_",
24
- "__SImage": "___SImage_1kzmq_gg_",
25
- "__STitle": "___STitle_1kzmq_gg_",
26
- "__SDescription": "___SDescription_1kzmq_gg_"
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);
@@ -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_1kzmq_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1kzmq_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1kzmq_gg_,.___STitle_1kzmq_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1kzmq_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1kzmq_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_1kzmq_gg_+.___SDescription_1kzmq_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1kzmq_gg_+.___SDescription_1kzmq_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "1kzmq_gg_") /*__reshadow_css_end__*/, {
18
- "__SWidgetEmpty": "___SWidgetEmpty_1kzmq_gg_",
19
- "__SImage": "___SImage_1kzmq_gg_",
20
- "__STitle": "___STitle_1kzmq_gg_",
21
- "__SDescription": "___SDescription_1kzmq_gg_"
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);
@@ -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 k from "@babel/runtime/helpers/esm/createSuper";
6
- import p from "@babel/runtime/helpers/esm/defineProperty";
7
- import { sstyled as z } from "@semcore/utils/lib/core/index";
8
- import q, { sstyled as c, assignProps as m, Component as E } from "@semcore/core";
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 D } from "@semcore/illustration";
11
- import { Flex as T, Box as f } from "@semcore/flex-box";
12
- import W from "@semcore/utils/lib/isNode";
13
- var C = (
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
- (z.insert(
15
+ (E.insert(
16
16
  /*__inner_css_start__*/
17
- ".___SWidgetEmpty_1kzmq_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_1kzmq_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_1kzmq_gg_,.___STitle_1kzmq_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_1kzmq_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_1kzmq_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_1kzmq_gg_+.___SDescription_1kzmq_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_1kzmq_gg_+.___SDescription_1kzmq_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
18
- "1kzmq_gg_"
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: "___SWidgetEmpty_1kzmq_gg_",
21
- __SImage: "___SImage_1kzmq_gg_",
22
- __STitle: "___STitle_1kzmq_gg_",
23
- __SDescription: "___SDescription_1kzmq_gg_"
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 D(r);
27
- }, l = /* @__PURE__ */ function(n) {
26
+ return W(r);
27
+ }, p = /* @__PURE__ */ function(n) {
28
28
  x(t, n);
29
- var r = k(t);
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 = T, 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({}, m({
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))), W(g) && /* @__PURE__ */ _.createElement(S, e.cn("SImage", {
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
- }(E);
48
- p(l, "displayName", "WidgetEmpty");
49
- p(l, "style", C);
50
- var I = function(r) {
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({}, m({}, t))));
53
- }, P = function(r) {
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({}, m({}, t))));
55
+ return i = c(e), /* @__PURE__ */ _.createElement(a, i.cn("SDescription", s({}, l({}, t))));
56
56
  };
57
- const L = q(l, {
58
- Title: I,
59
- Description: P
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.2",
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.2",
18
+ "@semcore/illustration": "2.43.1-prerelease.2",
19
+ "@semcore/utils": "4.48.1-prerelease.2"
20
20
  },
21
21
  "peerDependencies": {
22
- "@semcore/core": "^2.17.5",
22
+ "@semcore/core": "^2.39.1-prerelease.2",
23
23
  "react": "16.8 - 18",
24
24
  "react-dom": "16.8 - 18"
25
25
  },