@semcore/errors 4.46.1-prerelease.8 → 4.47.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 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.47.0] - 2025-03-21
6
+
7
+ ### Changed
8
+
9
+ - Version minor update due to children dependencies update (`@semcore/button` [5.42.1 ~> 5.43.0]).
10
+
5
11
  ## [4.46.1] - 2025-03-20
6
12
 
7
13
  ### Changed
package/lib/cjs/Error.js CHANGED
@@ -18,15 +18,15 @@ var _react = _interopRequireDefault(require("react"));
18
18
  var _flexBox = require("@semcore/flex-box");
19
19
  var _illustration = require("@semcore/illustration");
20
20
  /*__reshadow-styles__:"./style/errors.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SError_1teks_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1teks_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1teks_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1teks_gg_ .___SControls_1teks_gg_{display:flex;align-items:center}.___SError_1teks_gg_ .___SControls_1teks_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1teks_gg_ .___SInner_1teks_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_,.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImage_1teks_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_,.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImage_1teks_gg_{width:200px;height:200px}}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SWrapper_1teks_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___STitle_1teks_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SDescription_1teks_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}" /*__inner_css_end__*/, "1teks_gg_") /*__reshadow_css_end__*/, {
22
- "__SError": "___SError_1teks_gg_",
23
- "__SControls": "___SControls_1teks_gg_",
24
- "__SInner": "___SInner_1teks_gg_",
25
- "__SImageWrapper": "___SImageWrapper_1teks_gg_",
26
- "__SImage": "___SImage_1teks_gg_",
27
- "__SWrapper": "___SWrapper_1teks_gg_",
28
- "__STitle": "___STitle_1teks_gg_",
29
- "__SDescription": "___SDescription_1teks_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SError_1an7f_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1an7f_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1an7f_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1an7f_gg_ .___SControls_1an7f_gg_{display:flex;align-items:center}.___SError_1an7f_gg_ .___SControls_1an7f_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_,.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImage_1an7f_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_,.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImage_1an7f_gg_{width:200px;height:200px}}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SWrapper_1an7f_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___STitle_1an7f_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SDescription_1an7f_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}" /*__inner_css_end__*/, "1an7f_gg_") /*__reshadow_css_end__*/, {
22
+ "__SError": "___SError_1an7f_gg_",
23
+ "__SControls": "___SControls_1an7f_gg_",
24
+ "__SInner": "___SInner_1an7f_gg_",
25
+ "__SImageWrapper": "___SImageWrapper_1an7f_gg_",
26
+ "__SImage": "___SImage_1an7f_gg_",
27
+ "__SWrapper": "___SWrapper_1an7f_gg_",
28
+ "__STitle": "___STitle_1an7f_gg_",
29
+ "__SDescription": "___SDescription_1an7f_gg_"
30
30
  });
31
31
  var getIconPath = function getIconPath(name) {
32
32
  return (0, _illustration.getIllustrationPath)(name);
package/lib/es6/Error.js CHANGED
@@ -14,15 +14,15 @@ import { Box, Flex } from '@semcore/flex-box';
14
14
  import createComponent, { Root, Component, sstyled } from '@semcore/core';
15
15
  import { getIllustrationPath } from '@semcore/illustration';
16
16
  /*__reshadow-styles__:"./style/errors.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SError_1teks_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1teks_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1teks_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1teks_gg_ .___SControls_1teks_gg_{display:flex;align-items:center}.___SError_1teks_gg_ .___SControls_1teks_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1teks_gg_ .___SInner_1teks_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_,.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImage_1teks_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_,.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImage_1teks_gg_{width:200px;height:200px}}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SWrapper_1teks_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___STitle_1teks_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SDescription_1teks_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}" /*__inner_css_end__*/, "1teks_gg_") /*__reshadow_css_end__*/, {
18
- "__SError": "___SError_1teks_gg_",
19
- "__SControls": "___SControls_1teks_gg_",
20
- "__SInner": "___SInner_1teks_gg_",
21
- "__SImageWrapper": "___SImageWrapper_1teks_gg_",
22
- "__SImage": "___SImage_1teks_gg_",
23
- "__SWrapper": "___SWrapper_1teks_gg_",
24
- "__STitle": "___STitle_1teks_gg_",
25
- "__SDescription": "___SDescription_1teks_gg_"
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SError_1an7f_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1an7f_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1an7f_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1an7f_gg_ .___SControls_1an7f_gg_{display:flex;align-items:center}.___SError_1an7f_gg_ .___SControls_1an7f_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_,.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImage_1an7f_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_,.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImage_1an7f_gg_{width:200px;height:200px}}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SWrapper_1an7f_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___STitle_1an7f_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SDescription_1an7f_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}" /*__inner_css_end__*/, "1an7f_gg_") /*__reshadow_css_end__*/, {
18
+ "__SError": "___SError_1an7f_gg_",
19
+ "__SControls": "___SControls_1an7f_gg_",
20
+ "__SInner": "___SInner_1an7f_gg_",
21
+ "__SImageWrapper": "___SImageWrapper_1an7f_gg_",
22
+ "__SImage": "___SImage_1an7f_gg_",
23
+ "__SWrapper": "___SWrapper_1an7f_gg_",
24
+ "__STitle": "___STitle_1an7f_gg_",
25
+ "__SDescription": "___SDescription_1an7f_gg_"
26
26
  });
27
27
  export var getIconPath = function getIconPath(name) {
28
28
  return getIllustrationPath(name);
package/lib/esm/Error.mjs CHANGED
@@ -1,72 +1,72 @@
1
1
  import i from "@babel/runtime/helpers/esm/objectSpread2";
2
- import I from "@babel/runtime/helpers/esm/classCallCheck";
3
- import u from "@babel/runtime/helpers/esm/createClass";
4
- import y from "@babel/runtime/helpers/esm/inherits";
5
- import C from "@babel/runtime/helpers/esm/createSuper";
6
- import m from "@babel/runtime/helpers/esm/defineProperty";
7
- import { sstyled as W } from "@semcore/utils/lib/core/index";
8
- import w, { sstyled as s, assignProps as o, Component as P } from "@semcore/core";
9
- import e from "react";
10
- import { Flex as b, Box as c } from "@semcore/flex-box";
11
- import { getIllustrationPath as D } from "@semcore/illustration";
12
- var T = (
2
+ import u from "@babel/runtime/helpers/esm/classCallCheck";
3
+ import y from "@babel/runtime/helpers/esm/createClass";
4
+ import C from "@babel/runtime/helpers/esm/inherits";
5
+ import W from "@babel/runtime/helpers/esm/createSuper";
6
+ import f from "@babel/runtime/helpers/esm/defineProperty";
7
+ import { sstyled as w } from "@semcore/utils/lib/core/index";
8
+ import P, { sstyled as o, assignProps as p, Component as b } from "@semcore/core";
9
+ import a from "react";
10
+ import { Flex as D, Box as s } from "@semcore/flex-box";
11
+ import { getIllustrationPath as T } from "@semcore/illustration";
12
+ var z = (
13
13
  /*__reshadow_css_start__*/
14
- (W.insert(
14
+ (w.insert(
15
15
  /*__inner_css_start__*/
16
- ".___SError_1teks_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1teks_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1teks_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1teks_gg_ .___SControls_1teks_gg_{display:flex;align-items:center}.___SError_1teks_gg_ .___SControls_1teks_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1teks_gg_ .___SInner_1teks_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_,.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImage_1teks_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_,.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImage_1teks_gg_{width:200px;height:200px}}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SImageWrapper_1teks_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SWrapper_1teks_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___STitle_1teks_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1teks_gg_ .___SInner_1teks_gg_ .___SDescription_1teks_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}",
17
- "1teks_gg_"
16
+ ".___SError_1an7f_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1an7f_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1an7f_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1an7f_gg_ .___SControls_1an7f_gg_{display:flex;align-items:center}.___SError_1an7f_gg_ .___SControls_1an7f_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_,.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImage_1an7f_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_,.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImage_1an7f_gg_{width:200px;height:200px}}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SImageWrapper_1an7f_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SWrapper_1an7f_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___STitle_1an7f_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, #191b23);font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1an7f_gg_ .___SInner_1an7f_gg_ .___SDescription_1an7f_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, #191b23);margin:0 0 var(--intergalactic-spacing-6x, 24px)0}",
17
+ "1an7f_gg_"
18
18
  ), {
19
- __SError: "___SError_1teks_gg_",
20
- __SControls: "___SControls_1teks_gg_",
21
- __SInner: "___SInner_1teks_gg_",
22
- __SImageWrapper: "___SImageWrapper_1teks_gg_",
23
- __SImage: "___SImage_1teks_gg_",
24
- __SWrapper: "___SWrapper_1teks_gg_",
25
- __STitle: "___STitle_1teks_gg_",
26
- __SDescription: "___SDescription_1teks_gg_"
19
+ __SError: "___SError_1an7f_gg_",
20
+ __SControls: "___SControls_1an7f_gg_",
21
+ __SInner: "___SInner_1an7f_gg_",
22
+ __SImageWrapper: "___SImageWrapper_1an7f_gg_",
23
+ __SImage: "___SImage_1an7f_gg_",
24
+ __SWrapper: "___SWrapper_1an7f_gg_",
25
+ __STitle: "___STitle_1an7f_gg_",
26
+ __SDescription: "___SDescription_1an7f_gg_"
27
27
  })
28
28
  ), M = function(r) {
29
- return D(r);
30
- }, l = /* @__PURE__ */ function(t) {
31
- y(_, t);
32
- var r = C(_);
29
+ return T(r);
30
+ }, l = /* @__PURE__ */ function(e) {
31
+ C(_, e);
32
+ var r = W(_);
33
33
  function _() {
34
- return I(this, _), r.apply(this, arguments);
34
+ return u(this, _), r.apply(this, arguments);
35
35
  }
36
- return u(_, [{
36
+ return y(_, [{
37
37
  key: "render",
38
38
  value: function() {
39
- var S = this.asProps, a, x = b, p = this.asProps, k = p.Children, f = p.styles, n = p.icon, d = "div", v = "div", h = "div", E = "img";
40
- return a = s(f), /* @__PURE__ */ e.createElement(x, a.cn("SError", i({}, o({}, S))), /* @__PURE__ */ e.createElement(d, a.cn("SInner", {}), n && /* @__PURE__ */ e.createElement(v, a.cn("SImageWrapper", {}), typeof n == "string" ? /* @__PURE__ */ e.createElement(E, a.cn("SImage", {
41
- src: n,
39
+ var m = this.asProps, n, S = D, c = this.asProps, x = c.Children, d = c.styles, g = c.icon, v = "div", h = "div", E = "div", I = "img";
40
+ return n = o(d), /* @__PURE__ */ a.createElement(S, n.cn("SError", i({}, p({}, m))), /* @__PURE__ */ a.createElement(v, n.cn("SInner", {}), g && /* @__PURE__ */ a.createElement(h, n.cn("SImageWrapper", {}), typeof g == "string" ? /* @__PURE__ */ a.createElement(I, n.cn("SImage", {
41
+ src: g,
42
42
  alt: ""
43
- })) : n), /* @__PURE__ */ e.createElement(h, a.cn("SWrapper", {}), /* @__PURE__ */ e.createElement(k, a.cn("Children", {})))));
43
+ })) : g), /* @__PURE__ */ a.createElement(E, n.cn("SWrapper", {}), /* @__PURE__ */ a.createElement(x, n.cn("Children", {})))));
44
44
  }
45
45
  }]), _;
46
- }(P);
47
- m(l, "displayName", "Error");
48
- m(l, "style", T);
49
- function z(t) {
50
- var r = arguments[0], _, g = c;
51
- return _ = s(t.styles), /* @__PURE__ */ e.createElement(g, _.cn("STitle", i({}, o({
46
+ }(b);
47
+ f(l, "displayName", "Error");
48
+ f(l, "style", z);
49
+ function R(e) {
50
+ var r = arguments[0], _, t = s;
51
+ return _ = o(e.styles), /* @__PURE__ */ a.createElement(t, _.cn("STitle", i({}, p({
52
52
  "data-errors-title": !0,
53
53
  tag: "h2"
54
54
  }, r))));
55
55
  }
56
- function R(t) {
57
- var r = arguments[0], _, g = c;
58
- return _ = s(t.styles), /* @__PURE__ */ e.createElement(g, _.cn("SDescription", i({}, o({
56
+ function j(e) {
57
+ var r = arguments[0], _, t = s;
58
+ return _ = o(e.styles), /* @__PURE__ */ a.createElement(t, _.cn("SDescription", i({}, p({
59
59
  tag: "p"
60
60
  }, r))));
61
61
  }
62
- function j(t) {
63
- var r = arguments[0], _, g = c;
64
- return _ = s(t.styles), /* @__PURE__ */ e.createElement(g, _.cn("SControls", i({}, o({}, r))));
62
+ function k(e) {
63
+ var r = arguments[0], _, t = s;
64
+ return _ = o(e.styles), /* @__PURE__ */ a.createElement(t, _.cn("SControls", i({}, p({}, r))));
65
65
  }
66
- const O = w(l, {
67
- Title: z,
68
- Description: R,
69
- Controls: j
66
+ const O = P(l, {
67
+ Title: R,
68
+ Description: j,
69
+ Controls: k
70
70
  });
71
71
  export {
72
72
  O as default,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/errors",
3
3
  "description": "Semrush Errors Component",
4
- "version": "4.46.1-prerelease.8",
4
+ "version": "4.47.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,15 +14,15 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/button": "5.42.1-prerelease.8",
18
- "@semcore/flex-box": "5.41.1-prerelease.8",
19
- "@semcore/format-text": "4.41.1-prerelease.8",
20
- "@semcore/illustration": "2.43.1-prerelease.8",
21
- "@semcore/typography": "5.52.1-prerelease.8",
22
- "@semcore/utils": "4.48.1-prerelease.8"
17
+ "@semcore/button": "5.43.0-prerelease.0",
18
+ "@semcore/flex-box": "5.41.1",
19
+ "@semcore/format-text": "4.41.1",
20
+ "@semcore/illustration": "2.43.1",
21
+ "@semcore/typography": "5.52.1",
22
+ "@semcore/utils": "4.48.1"
23
23
  },
24
24
  "peerDependencies": {
25
- "@semcore/core": "^2.39.1-prerelease.8",
25
+ "@semcore/core": "^2.17.5",
26
26
  "react": "16.8 - 18",
27
27
  "react-dom": "16.8 - 18"
28
28
  },