@semcore/errors 16.0.0-prerelease.9 → 16.0.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,12 +2,36 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [16.0.0] - 2025-03-26
5
+ ## [16.0.0] - 2025-05-19
6
6
 
7
7
  ### Added
8
8
 
9
9
  - Major version.
10
10
 
11
+ ## [4.47.3] - 2025-05-13
12
+
13
+ ### Changed
14
+
15
+ - Version patch update due to children dependencies update (`@semcore/button` [5.43.2 ~> 5.43.3], `@semcore/format-text` [4.41.3 ~> 4.42.0], `@semcore/utils` [4.48.4 ~> 4.48.5], `@semcore/core` [2.39.3 ~> 2.39.4]).
16
+
17
+ ## [4.47.2] - 2025-05-09
18
+
19
+ ### Changed
20
+
21
+ - Version patch update due to children dependencies update (`@semcore/button` [5.43.1 ~> 5.43.2], `@semcore/utils` [4.48.2 ~> 4.48.4], `@semcore/core` [2.39.2 ~> 2.39.3]).
22
+
23
+ ## [4.47.1] - 2025-04-04
24
+
25
+ ### Changed
26
+
27
+ - Version patch update due to children dependencies update (`@semcore/button` [5.43.0 ~> 5.43.1], `@semcore/illustration` [2.43.1 ~> 2.44.0], `@semcore/utils` [4.48.1 ~> 4.48.2], `@semcore/core` [2.39.1 ~> 2.39.2]).
28
+
29
+ ## [4.47.0] - 2025-03-28
30
+
31
+ ### Changed
32
+
33
+ - Version minor update due to children dependencies update (`@semcore/button` [5.42.1 ~> 5.43.0]).
34
+
11
35
  ## [4.46.1] - 2025-03-20
12
36
 
13
37
  ### Changed
package/lib/cjs/Error.js CHANGED
@@ -15,8 +15,10 @@ var _core = require("@semcore/core");
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _flexBox = require("@semcore/flex-box");
17
17
  var _illustration = require("@semcore/illustration");
18
- /*__reshadow-styles__:"./style/errors.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_160v2_gg_ .___SControls_160v2_gg_{display:flex;align-items:center}.___SError_160v2_gg_ .___SControls_160v2_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_160v2_gg_ .___SInner_160v2_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:200px;height:200px}}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SWrapper_160v2_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___STitle_160v2_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_160v2_gg_ .___SInner_160v2_gg_ .___SDescription_160v2_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__*/, "160v2_gg_") /*__reshadow_css_end__*/, {
18
+ /*!__reshadow-styles__:"./style/errors.shadow.css"*/
19
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_160v2_gg_ .___SControls_160v2_gg_{display:flex;align-items:center}.___SError_160v2_gg_ .___SControls_160v2_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_160v2_gg_ .___SInner_160v2_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:200px;height:200px}}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SWrapper_160v2_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___STitle_160v2_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_160v2_gg_ .___SInner_160v2_gg_ .___SDescription_160v2_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__*/"160v2_gg_"),
20
+ /*__reshadow_css_end__*/
21
+ {
20
22
  "__SError": "___SError_160v2_gg_",
21
23
  "__SControls": "___SControls_160v2_gg_",
22
24
  "__SInner": "___SInner_160v2_gg_",
@@ -1 +1 @@
1
- {"version":3,"file":"Error.js","names":["_core","require","_react","_interopRequireDefault","_flexBox","_illustration","style","sstyled","insert","getIconPath","name","getIllustrationPath","exports","RootError","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref5","SError","Flex","_this$asProps","Children","styles","icon","SInner","SImageWrapper","SWrapper","SImage","createElement","cn","_objectSpread2","assignProps","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref6","STitle","Box","Description","_ref3","_ref7","SDescription","Controls","_ref4","_ref8","SControls","_default","createComponent"],"sources":["../../src/Error.jsx"],"sourcesContent":["import React from 'react';\nimport { Box, Flex } from '@semcore/flex-box';\nimport { createComponent, Root, Component, sstyled } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport style from './style/errors.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass RootError extends Component {\n static displayName = 'Error';\n static style = style;\n\n render() {\n const SError = Root;\n const { Children, styles, icon } = this.asProps;\n const SInner = 'div';\n const SImageWrapper = 'div';\n const SWrapper = 'div';\n const SImage = 'img';\n return sstyled(styles)(\n <SError render={Flex}>\n <SInner>\n {icon && (\n <SImageWrapper>\n {typeof icon === 'string' ? <SImage src={icon} alt='' /> : icon}\n </SImageWrapper>\n )}\n <SWrapper>\n <Children />\n </SWrapper>\n </SInner>\n </SError>,\n );\n }\n}\n\nfunction Title(props) {\n const STitle = Root;\n return sstyled(props.styles)(<STitle render={Box} data-errors-title tag='h2' />);\n}\n\nfunction Description(props) {\n const SDescription = Root;\n return sstyled(props.styles)(<SDescription render={Box} tag='p' />);\n}\n\nfunction Controls(props) {\n const SControls = Root;\n return sstyled(props.styles)(<SControls render={Box} />);\n}\n\nexport default createComponent(RootError, {\n Title,\n Description,\n Controls,\n});\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAA4D;AAAA,IAAAK,KAAA,+BAAAN,KAAA,CAAAO,OAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAGrD,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAK,IAAAC,iCAAmB,EAACD,IAAI,CAAC;AAAA;AAACE,OAAA,CAAAH,WAAA,GAAAA,WAAA;AAAA,IAEzDI,SAAS,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,SAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,SAAA;EAAA,SAAAA,UAAA;IAAA,IAAAK,gBAAA,mBAAAL,SAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,SAAA;IAAAS,GAAA;IAAAC,KAAA,EAIb,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;QAAAC,KAAA;MACP,IAAMC,MAAM,GAOMC,aAAI;MANtB,IAAAC,aAAA,GAAmC,IAAI,CAACJ,OAAO;QAAvCK,QAAQ,GAAAD,aAAA,CAARC,QAAQ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aAAA,CAACW,MAAM,EAAAD,KAAA,CAAAT,EAAA,eAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA;IAAA;IAAA,OAAoC;EAAI,GAAAK,KAAA,IAAG;AACjF;AAEA,SAASK,WAAWA,CAACN,KAAK,EAAE;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC1B,IAAMC,YAAY,GACiCJ,YAAG;EAAtD,OAAAG,KAAA,GAAO,IAAA9C,aAAO,EAACsC,KAAK,CAACb,MAAM,CAAC,eAAC9B,MAAA,YAAAoC,aAAA,CAACgB,YAAY,EAAAD,KAAA,CAAAd,EAAA,qBAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA;IAAA,OAAkB;EAAG,GAAAW,KAAA,IAAG;AACpE;AAEA,SAASG,QAAQA,CAACV,KAAK,EAAE;EAAA,IAAAW,KAAA,GAAAT,YAAA;IAAAU,KAAA;EACvB,IAAMC,SAAS,GACiCR,YAAG;EAAnD,OAAAO,KAAA,GAAO,IAAAlD,aAAO,EAACsC,KAAK,CAACb,MAAM,CAAC,eAAC9B,MAAA,YAAAoC,aAAA,CAACoB,SAAS,EAAAD,KAAA,CAAAlB,EAAA,kBAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA,MAAAe,KAAA,IAAgB;AACzD;AAAC,IAAAG,QAAA,GAEc,IAAAC,qBAAe,EAAC/C,SAAS,EAAE;EACxC+B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA,WAAW;EACXI,QAAQ,EAARA;AACF,CAAC,CAAC;AAAA3C,OAAA,cAAA+C,QAAA"}
1
+ {"version":3,"file":"Error.js","names":["_core","require","_react","_interopRequireDefault","_flexBox","_illustration","style","sstyled","insert","getIconPath","name","getIllustrationPath","exports","RootError","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref5","SError","Flex","_this$asProps","Children","styles","icon","SInner","SImageWrapper","SWrapper","SImage","createElement","cn","_objectSpread2","assignProps","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref6","STitle","Box","Description","_ref3","_ref7","SDescription","Controls","_ref4","_ref8","SControls","_default","createComponent"],"sources":["../../src/Error.jsx"],"sourcesContent":["import React from 'react';\nimport { Box, Flex } from '@semcore/flex-box';\nimport { createComponent, Root, Component, sstyled } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport style from './style/errors.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass RootError extends Component {\n static displayName = 'Error';\n static style = style;\n\n render() {\n const SError = Root;\n const { Children, styles, icon } = this.asProps;\n const SInner = 'div';\n const SImageWrapper = 'div';\n const SWrapper = 'div';\n const SImage = 'img';\n return sstyled(styles)(\n <SError render={Flex}>\n <SInner>\n {icon && (\n <SImageWrapper>\n {typeof icon === 'string' ? <SImage src={icon} alt='' /> : icon}\n </SImageWrapper>\n )}\n <SWrapper>\n <Children />\n </SWrapper>\n </SInner>\n </SError>,\n );\n }\n}\n\nfunction Title(props) {\n const STitle = Root;\n return sstyled(props.styles)(<STitle render={Box} data-errors-title tag='h2' />);\n}\n\nfunction Description(props) {\n const SDescription = Root;\n return sstyled(props.styles)(<SDescription render={Box} tag='p' />);\n}\n\nfunction Controls(props) {\n const SControls = Root;\n return sstyled(props.styles)(<SControls render={Box} />);\n}\n\nexport default createComponent(RootError, {\n Title,\n Description,\n Controls,\n});\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAA4D;AAAA,IAAAK,KAAA,+BAAAN,KAAA,CAAAO,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAGrD,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IA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ACb,MAAM,CAAC,eAAC9B,MAAA,YAAAoC,aAAA,CAACoB,SAAS,EAAAD,KAAA,CAAAlB,EAAA,kBAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA,MAAAe,KAAA,IAAgB;AACzD;AAAC,IAAAG,QAAA,GAEc,IAAAC,qBAAe,EAAC/C,SAAS,EAAE;EACxC+B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA,WAAW;EACXI,QAAQ,EAARA;AACF,CAAC,CAAC;AAAA3C,OAAA,cAAA+C,QAAA"}
package/lib/es6/Error.js CHANGED
@@ -13,8 +13,10 @@ import React from 'react';
13
13
  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
- /*__reshadow-styles__:"./style/errors.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_160v2_gg_ .___SControls_160v2_gg_{display:flex;align-items:center}.___SError_160v2_gg_ .___SControls_160v2_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_160v2_gg_ .___SInner_160v2_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:200px;height:200px}}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SWrapper_160v2_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___STitle_160v2_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_160v2_gg_ .___SInner_160v2_gg_ .___SDescription_160v2_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__*/, "160v2_gg_") /*__reshadow_css_end__*/, {
16
+ /*!__reshadow-styles__:"./style/errors.shadow.css"*/
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_160v2_gg_ .___SControls_160v2_gg_{display:flex;align-items:center}.___SError_160v2_gg_ .___SControls_160v2_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_160v2_gg_ .___SInner_160v2_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:200px;height:200px}}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SWrapper_160v2_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___STitle_160v2_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_160v2_gg_ .___SInner_160v2_gg_ .___SDescription_160v2_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__*/"160v2_gg_"),
18
+ /*__reshadow_css_end__*/
19
+ {
18
20
  "__SError": "___SError_160v2_gg_",
19
21
  "__SControls": "___SControls_160v2_gg_",
20
22
  "__SInner": "___SInner_160v2_gg_",
@@ -1 +1 @@
1
- {"version":3,"file":"Error.js","names":["React","Box","Flex","createComponent","Root","Component","sstyled","getIllustrationPath","style","_sstyled","insert","getIconPath","name","RootError","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref5","SError","_this$asProps","Children","styles","icon","SInner","SImageWrapper","SWrapper","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref6","STitle","_assignProps2","Description","_ref3","_ref7","SDescription","_assignProps3","Controls","_ref4","_ref8","SControls","_assignProps4"],"sources":["../../src/Error.jsx"],"sourcesContent":["import React from 'react';\nimport { Box, Flex } from '@semcore/flex-box';\nimport { createComponent, Root, Component, sstyled } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport style from './style/errors.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass RootError extends Component {\n static displayName = 'Error';\n static style = style;\n\n render() {\n const SError = Root;\n const { Children, styles, icon } = this.asProps;\n const SInner = 'div';\n const SImageWrapper = 'div';\n const SWrapper = 'div';\n const SImage = 'img';\n return sstyled(styles)(\n <SError render={Flex}>\n <SInner>\n {icon && (\n <SImageWrapper>\n {typeof icon === 'string' ? <SImage src={icon} alt='' /> : icon}\n </SImageWrapper>\n )}\n <SWrapper>\n <Children />\n </SWrapper>\n </SInner>\n </SError>,\n );\n }\n}\n\nfunction Title(props) {\n const STitle = Root;\n return sstyled(props.styles)(<STitle render={Box} data-errors-title tag='h2' />);\n}\n\nfunction Description(props) {\n const SDescription = Root;\n return sstyled(props.styles)(<SDescription render={Box} tag='p' />);\n}\n\nfunction Controls(props) {\n const SControls = Root;\n return sstyled(props.styles)(<SControls render={Box} />);\n}\n\nexport default createComponent(RootError, {\n Title,\n Description,\n Controls,\n});\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,SAASC,eAAe,EAAEC,IAAI,EAAEC,SAAS,EAAEC,OAAO,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAG5D,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAKL,mBAAmB,CAACK,IAAI,CAAC;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AK,EAALA,KAAK;EACLO,WAAW,EAAXA,WAAW;EACXK,QAAQ,EAARA;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"Error.js","names":["React","Box","Flex","createComponent","Root","Component","sstyled","getIllustrationPath","style","_sstyled","insert","getIconPath","name","RootError","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref5","SError","_this$asProps","Children","styles","icon","SInner","SImageWrapper","SWrapper","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref6","STitle","_assignProps2","Description","_ref3","_ref7","SDescription","_assignProps3","Controls","_ref4","_ref8","SControls","_assignProps4"],"sources":["../../src/Error.jsx"],"sourcesContent":["import React from 'react';\nimport { Box, Flex } from '@semcore/flex-box';\nimport { createComponent, Root, Component, sstyled } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport style from './style/errors.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass RootError extends Component {\n static displayName = 'Error';\n static style = style;\n\n render() {\n const SError = Root;\n const { Children, styles, icon } = this.asProps;\n const SInner = 'div';\n const SImageWrapper = 'div';\n const SWrapper = 'div';\n const SImage = 'img';\n return sstyled(styles)(\n <SError render={Flex}>\n <SInner>\n {icon && (\n <SImageWrapper>\n {typeof icon === 'string' ? <SImage src={icon} alt='' /> : icon}\n </SImageWrapper>\n )}\n <SWrapper>\n <Children />\n </SWrapper>\n </SInner>\n </SError>,\n );\n }\n}\n\nfunction Title(props) {\n const STitle = Root;\n return sstyled(props.styles)(<STitle render={Box} data-errors-title tag='h2' />);\n}\n\nfunction Description(props) {\n const SDescription = Root;\n return sstyled(props.styles)(<SDescription render={Box} tag='p' />);\n}\n\nfunction Controls(props) {\n const SControls = Root;\n return sstyled(props.styles)(<SControls render={Box} />);\n}\n\nexport default createComponent(RootError, {\n Title,\n Description,\n Controls,\n});\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,MAA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GAAAH,KAAA,IAAG;AACpE;AAEA,SAASI,QAAQA,CAACX,KAAK,EAAE;EAAA,IAAAY,KAAA,GAAAV,YAAA;IAAAW,KAAA;EACvB,IAAMC,SAAS,GACiCxD,GAAG;EAAnD,OAAAuD,KAAA,GAAOlD,OAAO,CAACqC,KAAK,CAACZ,MAAM,CAAC,eAAC/B,KAAA,CAAAqC,aAAA,CAACoB,SAAS,EAAAD,KAAA,CAAAlB,EAAA,cAAAC,aAAA,KAAAmB,aAAA,KAAAH,KAAA,IAAgB;AACzD;AAEA,eAAepD,eAAe,CAACU,SAAS,EAAE;EACxC6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA,WAAW;EACXK,QAAQ,EAARA;AACF,CAAC,CAAC"}
package/lib/esm/Error.mjs CHANGED
@@ -8,13 +8,16 @@ import { createComponent, sstyled, assignProps, Component } from "@semcore/core"
8
8
  import React from "react";
9
9
  import { Flex, Box } from "@semcore/flex-box";
10
10
  import { getIllustrationPath } from "@semcore/illustration";
11
+ /*!__reshadow-styles__:"./style/errors.shadow.css"*/
11
12
  var style = (
12
13
  /*__reshadow_css_start__*/
13
14
  (sstyled.insert(
14
15
  /*__inner_css_start__*/
15
16
  ".___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_160v2_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_160v2_gg_ .___SControls_160v2_gg_{display:flex;align-items:center}.___SError_160v2_gg_ .___SControls_160v2_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_160v2_gg_ .___SInner_160v2_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_,.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImage_160v2_gg_{width:200px;height:200px}}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SImageWrapper_160v2_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___SWrapper_160v2_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_160v2_gg_ .___SInner_160v2_gg_ .___STitle_160v2_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_160v2_gg_ .___SInner_160v2_gg_ .___SDescription_160v2_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
+ /*__inner_css_end__*/
16
18
  "160v2_gg_"
17
- ), {
19
+ ), /*__reshadow_css_end__*/
20
+ {
18
21
  "__SError": "___SError_160v2_gg_",
19
22
  "__SControls": "___SControls_160v2_gg_",
20
23
  "__SInner": "___SInner_160v2_gg_",
@@ -0,0 +1,67 @@
1
+ SError {
2
+ padding: var(--intergalactic-spacing-20x, 80px) 0;
3
+ margin: 0 auto;
4
+ max-width: 960px;
5
+
6
+ @media (max-width: 768px) {
7
+ padding: var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px);
8
+ }
9
+
10
+ @media (max-width: 320px) {
11
+ padding: var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px);
12
+ }
13
+
14
+ SControls {
15
+ display: flex;
16
+ align-items: center;
17
+
18
+ &>*:not(:last-child) {
19
+ margin-right: var(--intergalactic-spacing-3x, 12px);
20
+ }
21
+ }
22
+
23
+ SInner {
24
+ width: 100%;
25
+ display: flex;
26
+ justify-content: flex-start;
27
+ flex-wrap: wrap;
28
+ align-items: flex-start;
29
+ box-sizing: border-box;
30
+
31
+ SImageWrapper,
32
+ SImage {
33
+ width: 260px;
34
+ height: 260px;
35
+
36
+ @media (max-width: 320px) {
37
+ width: 200px;
38
+ height: 200px;
39
+ }
40
+ }
41
+
42
+ SImageWrapper {
43
+ margin-right: var(--intergalactic-spacing-10x, 40px);
44
+ }
45
+
46
+ SWrapper {
47
+ flex: 1 0 300px;
48
+ max-width: 100%;
49
+ margin-top: var(--intergalactic-spacing-8x, 32px);
50
+ }
51
+
52
+ STitle[data-errors-title] {
53
+ font-size: var(--intergalactic-fs-700, 36px);
54
+ line-height: var(--intergalactic-lh-700, 110%);
55
+ color: var(--intergalactic-text-primary, #191b23);
56
+ font-weight: var(--intergalactic-semi-bold, 600);
57
+ margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
58
+ }
59
+
60
+ SDescription {
61
+ font-size: var(--intergalactic-fs-300, 16px);
62
+ line-height: var(--intergalactic-lh-300, 150%);
63
+ color: var(--intergalactic-text-primary, #191b23);
64
+ margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
65
+ }
66
+ }
67
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/errors",
3
3
  "description": "Semrush Errors Component",
4
- "version": "16.0.0-prerelease.9",
4
+ "version": "16.0.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,14 +14,14 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/button": "16.0.0-prerelease.9",
18
- "@semcore/format-text": "16.0.0-prerelease.9",
19
- "@semcore/illustration": "16.0.0-prerelease.9",
20
- "@semcore/typography": "16.0.0-prerelease.9",
21
- "@semcore/flex-box": "16.0.0-prerelease.9"
17
+ "@semcore/button": "16.0.0",
18
+ "@semcore/format-text": "16.0.0",
19
+ "@semcore/illustration": "16.0.0",
20
+ "@semcore/typography": "16.0.0",
21
+ "@semcore/flex-box": "16.0.0"
22
22
  },
23
23
  "peerDependencies": {
24
- "@semcore/base-components": "^16.0.0-prerelease.9"
24
+ "@semcore/base-components": "^16.0.0"
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",