@semcore/errors 18.0.0-prerelease.1 → 18.0.0-prerelease.5
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,16 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [18.0.0] - 2026-
|
|
5
|
+
## [18.0.0] - 2026-10-08
|
|
6
6
|
|
|
7
7
|
### BREAK
|
|
8
8
|
|
|
9
9
|
- New theme applied.
|
|
10
10
|
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Updated text colors and increased spacing above the error description.
|
|
14
|
+
|
|
11
15
|
## [17.1.1] - 2026-06-26
|
|
12
16
|
|
|
13
17
|
### Fixed
|
package/lib/cjs/Error.js
CHANGED
|
@@ -11,17 +11,17 @@ var _baseComponents = require("@semcore/base-components");
|
|
|
11
11
|
var _illustration = require("@semcore/illustration");
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
/*!__reshadow-styles__:"./style/errors.shadow.css"*/
|
|
14
|
-
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SError_15q81_gg_{padding:var(--intergalactic-spacing-20x,80px) var(--intergalactic-spacing-6x,24px);margin:0 auto;max-width:960px}@media (max-width:647px){.___SError_15q81_gg_{padding:var(--intergalactic-spacing-10x,40px) var(--intergalactic-spacing-5x,20px) var(--intergalactic-spacing-20x,80px)}}.___SError_15q81_gg_ .___SControls_15q81_gg_{display:flex;flex-wrap:wrap;gap:var(--intergalactic-spacing-3x,12px);align-items:center}.___SError_15q81_gg_ .___SInner_15q81_gg_{width:100%;display:flex;justify-content:flex-start;align-items:flex-start;box-sizing:border-box}@media (max-width:647px){.___SError_15q81_gg_ .___SInner_15q81_gg_{flex-direction:column}}.___SError_15q81_gg_ .___SInner_15q81_gg_ :is(.___SImageWrapper_15q81_gg_,.___SImage_15q81_gg_){width:260px;height:260px}@media (max-width:647px){.___SError_15q81_gg_ .___SInner_15q81_gg_ :is(.___SImageWrapper_15q81_gg_,.___SImage_15q81_gg_){width:200px;height:200px}}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SImageWrapper_15q81_gg_{flex-shrink:0;margin-right:var(--intergalactic-spacing-10x,40px)}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SWrapper_15q81_gg_{max-width:100%;margin-top:var(--intergalactic-spacing-10x,40px)}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___STitle_15q81_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700,36px);line-height:var(--intergalactic-lh-700,1.1112);color:var(--intergalactic-text-primary,oklch(.23 .009 245));font-weight:var(--intergalactic-semi-bold,600);margin:0 0 var(--intergalactic-spacing-4x,16px) 0}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SDescription_15q81_gg_{display:block;font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5);color:var(--intergalactic-text-primary,oklch(.23 .009 245));margin:0 0 var(--intergalactic-spacing-6x,24px) 0}", /*__inner_css_end__*/"15q81_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SError": "
|
|
18
|
-
"__SControls": "
|
|
19
|
-
"__SInner": "
|
|
20
|
-
"__SImageWrapper": "
|
|
21
|
-
"__SImage": "
|
|
22
|
-
"__SWrapper": "
|
|
23
|
-
"__STitle": "
|
|
24
|
-
"__SDescription": "
|
|
17
|
+
"__SError": "___SError_15q81_gg_",
|
|
18
|
+
"__SControls": "___SControls_15q81_gg_",
|
|
19
|
+
"__SInner": "___SInner_15q81_gg_",
|
|
20
|
+
"__SImageWrapper": "___SImageWrapper_15q81_gg_",
|
|
21
|
+
"__SImage": "___SImage_15q81_gg_",
|
|
22
|
+
"__SWrapper": "___SWrapper_15q81_gg_",
|
|
23
|
+
"__STitle": "___STitle_15q81_gg_",
|
|
24
|
+
"__SDescription": "___SDescription_15q81_gg_"
|
|
25
25
|
});
|
|
26
26
|
const getIconPath = name => (0, _illustration.getIllustrationPath)(name);
|
|
27
27
|
exports.getIconPath = getIconPath;
|
|
@@ -43,13 +43,13 @@ SError {
|
|
|
43
43
|
|
|
44
44
|
SWrapper {
|
|
45
45
|
max-width: 100%;
|
|
46
|
-
margin-top: var(--intergalactic-spacing-
|
|
46
|
+
margin-top: var(--intergalactic-spacing-10x, 40px);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
STitle[data-errors-title] {
|
|
50
50
|
font-size: var(--intergalactic-fs-700, 36px);
|
|
51
51
|
line-height: var(--intergalactic-lh-700, 1.1112);
|
|
52
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
52
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
53
53
|
font-weight: var(--intergalactic-semi-bold, 600);
|
|
54
54
|
margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
|
|
55
55
|
}
|
|
@@ -58,7 +58,7 @@ SError {
|
|
|
58
58
|
display: block;
|
|
59
59
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
60
60
|
line-height: var(--intergalactic-lh-300, 1.5);
|
|
61
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
61
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
62
62
|
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
63
63
|
}
|
|
64
64
|
}
|
package/lib/es6/Error.js
CHANGED
|
@@ -9,17 +9,17 @@ import { createComponent, Root, Component, sstyled } from '@semcore/core';
|
|
|
9
9
|
import { getIllustrationPath } from '@semcore/illustration';
|
|
10
10
|
import React from 'react';
|
|
11
11
|
/*!__reshadow-styles__:"./style/errors.shadow.css"*/
|
|
12
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
12
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SError_15q81_gg_{padding:var(--intergalactic-spacing-20x,80px) var(--intergalactic-spacing-6x,24px);margin:0 auto;max-width:960px}@media (max-width:647px){.___SError_15q81_gg_{padding:var(--intergalactic-spacing-10x,40px) var(--intergalactic-spacing-5x,20px) var(--intergalactic-spacing-20x,80px)}}.___SError_15q81_gg_ .___SControls_15q81_gg_{display:flex;flex-wrap:wrap;gap:var(--intergalactic-spacing-3x,12px);align-items:center}.___SError_15q81_gg_ .___SInner_15q81_gg_{width:100%;display:flex;justify-content:flex-start;align-items:flex-start;box-sizing:border-box}@media (max-width:647px){.___SError_15q81_gg_ .___SInner_15q81_gg_{flex-direction:column}}.___SError_15q81_gg_ .___SInner_15q81_gg_ :is(.___SImageWrapper_15q81_gg_,.___SImage_15q81_gg_){width:260px;height:260px}@media (max-width:647px){.___SError_15q81_gg_ .___SInner_15q81_gg_ :is(.___SImageWrapper_15q81_gg_,.___SImage_15q81_gg_){width:200px;height:200px}}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SImageWrapper_15q81_gg_{flex-shrink:0;margin-right:var(--intergalactic-spacing-10x,40px)}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SWrapper_15q81_gg_{max-width:100%;margin-top:var(--intergalactic-spacing-10x,40px)}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___STitle_15q81_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700,36px);line-height:var(--intergalactic-lh-700,1.1112);color:var(--intergalactic-text-primary,oklch(.23 .009 245));font-weight:var(--intergalactic-semi-bold,600);margin:0 0 var(--intergalactic-spacing-4x,16px) 0}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SDescription_15q81_gg_{display:block;font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5);color:var(--intergalactic-text-primary,oklch(.23 .009 245));margin:0 0 var(--intergalactic-spacing-6x,24px) 0}", /*__inner_css_end__*/"15q81_gg_"),
|
|
13
13
|
/*__reshadow_css_end__*/
|
|
14
14
|
{
|
|
15
|
-
"__SError": "
|
|
16
|
-
"__SControls": "
|
|
17
|
-
"__SInner": "
|
|
18
|
-
"__SImageWrapper": "
|
|
19
|
-
"__SImage": "
|
|
20
|
-
"__SWrapper": "
|
|
21
|
-
"__STitle": "
|
|
22
|
-
"__SDescription": "
|
|
15
|
+
"__SError": "___SError_15q81_gg_",
|
|
16
|
+
"__SControls": "___SControls_15q81_gg_",
|
|
17
|
+
"__SInner": "___SInner_15q81_gg_",
|
|
18
|
+
"__SImageWrapper": "___SImageWrapper_15q81_gg_",
|
|
19
|
+
"__SImage": "___SImage_15q81_gg_",
|
|
20
|
+
"__SWrapper": "___SWrapper_15q81_gg_",
|
|
21
|
+
"__STitle": "___STitle_15q81_gg_",
|
|
22
|
+
"__SDescription": "___SDescription_15q81_gg_"
|
|
23
23
|
});
|
|
24
24
|
export const getIconPath = name => getIllustrationPath(name);
|
|
25
25
|
class RootError extends Component {
|
|
@@ -43,13 +43,13 @@ SError {
|
|
|
43
43
|
|
|
44
44
|
SWrapper {
|
|
45
45
|
max-width: 100%;
|
|
46
|
-
margin-top: var(--intergalactic-spacing-
|
|
46
|
+
margin-top: var(--intergalactic-spacing-10x, 40px);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
STitle[data-errors-title] {
|
|
50
50
|
font-size: var(--intergalactic-fs-700, 36px);
|
|
51
51
|
line-height: var(--intergalactic-lh-700, 1.1112);
|
|
52
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
52
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
53
53
|
font-weight: var(--intergalactic-semi-bold, 600);
|
|
54
54
|
margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
|
|
55
55
|
}
|
|
@@ -58,7 +58,7 @@ SError {
|
|
|
58
58
|
display: block;
|
|
59
59
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
60
60
|
line-height: var(--intergalactic-lh-300, 1.5);
|
|
61
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
61
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
62
62
|
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
63
63
|
}
|
|
64
64
|
}
|
package/lib/esm/Error.mjs
CHANGED
|
@@ -8,19 +8,19 @@ const style = (
|
|
|
8
8
|
/*__reshadow_css_start__*/
|
|
9
9
|
(sstyled.insert(
|
|
10
10
|
/*__inner_css_start__*/
|
|
11
|
-
".
|
|
11
|
+
".___SError_15q81_gg_{padding:var(--intergalactic-spacing-20x,80px) var(--intergalactic-spacing-6x,24px);margin:0 auto;max-width:960px}@media (max-width:647px){.___SError_15q81_gg_{padding:var(--intergalactic-spacing-10x,40px) var(--intergalactic-spacing-5x,20px) var(--intergalactic-spacing-20x,80px)}}.___SError_15q81_gg_ .___SControls_15q81_gg_{display:flex;flex-wrap:wrap;gap:var(--intergalactic-spacing-3x,12px);align-items:center}.___SError_15q81_gg_ .___SInner_15q81_gg_{width:100%;display:flex;justify-content:flex-start;align-items:flex-start;box-sizing:border-box}@media (max-width:647px){.___SError_15q81_gg_ .___SInner_15q81_gg_{flex-direction:column}}.___SError_15q81_gg_ .___SInner_15q81_gg_ :is(.___SImageWrapper_15q81_gg_,.___SImage_15q81_gg_){width:260px;height:260px}@media (max-width:647px){.___SError_15q81_gg_ .___SInner_15q81_gg_ :is(.___SImageWrapper_15q81_gg_,.___SImage_15q81_gg_){width:200px;height:200px}}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SImageWrapper_15q81_gg_{flex-shrink:0;margin-right:var(--intergalactic-spacing-10x,40px)}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SWrapper_15q81_gg_{max-width:100%;margin-top:var(--intergalactic-spacing-10x,40px)}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___STitle_15q81_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700,36px);line-height:var(--intergalactic-lh-700,1.1112);color:var(--intergalactic-text-primary,oklch(.23 .009 245));font-weight:var(--intergalactic-semi-bold,600);margin:0 0 var(--intergalactic-spacing-4x,16px) 0}.___SError_15q81_gg_ .___SInner_15q81_gg_ .___SDescription_15q81_gg_{display:block;font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5);color:var(--intergalactic-text-primary,oklch(.23 .009 245));margin:0 0 var(--intergalactic-spacing-6x,24px) 0}",
|
|
12
12
|
/*__inner_css_end__*/
|
|
13
|
-
"
|
|
13
|
+
"15q81_gg_"
|
|
14
14
|
), /*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SError": "
|
|
17
|
-
"__SControls": "
|
|
18
|
-
"__SInner": "
|
|
19
|
-
"__SImageWrapper": "
|
|
20
|
-
"__SImage": "
|
|
21
|
-
"__SWrapper": "
|
|
22
|
-
"__STitle": "
|
|
23
|
-
"__SDescription": "
|
|
16
|
+
"__SError": "___SError_15q81_gg_",
|
|
17
|
+
"__SControls": "___SControls_15q81_gg_",
|
|
18
|
+
"__SInner": "___SInner_15q81_gg_",
|
|
19
|
+
"__SImageWrapper": "___SImageWrapper_15q81_gg_",
|
|
20
|
+
"__SImage": "___SImage_15q81_gg_",
|
|
21
|
+
"__SWrapper": "___SWrapper_15q81_gg_",
|
|
22
|
+
"__STitle": "___STitle_15q81_gg_",
|
|
23
|
+
"__SDescription": "___SDescription_15q81_gg_"
|
|
24
24
|
})
|
|
25
25
|
);
|
|
26
26
|
const getIconPath = (name) => getIllustrationPath(name);
|
|
@@ -43,13 +43,13 @@ SError {
|
|
|
43
43
|
|
|
44
44
|
SWrapper {
|
|
45
45
|
max-width: 100%;
|
|
46
|
-
margin-top: var(--intergalactic-spacing-
|
|
46
|
+
margin-top: var(--intergalactic-spacing-10x, 40px);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
STitle[data-errors-title] {
|
|
50
50
|
font-size: var(--intergalactic-fs-700, 36px);
|
|
51
51
|
line-height: var(--intergalactic-lh-700, 1.1112);
|
|
52
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
52
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
53
53
|
font-weight: var(--intergalactic-semi-bold, 600);
|
|
54
54
|
margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
|
|
55
55
|
}
|
|
@@ -58,7 +58,7 @@ SError {
|
|
|
58
58
|
display: block;
|
|
59
59
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
60
60
|
line-height: var(--intergalactic-lh-300, 1.5);
|
|
61
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
61
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
62
62
|
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
63
63
|
}
|
|
64
64
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/errors",
|
|
3
3
|
"description": "Semrush Errors Component",
|
|
4
|
-
"version": "18.0.0-prerelease.
|
|
4
|
+
"version": "18.0.0-prerelease.5",
|
|
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
|
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "^18.0.0-prerelease.
|
|
18
|
-
"@semcore/illustration": "^18.0.0-prerelease.
|
|
19
|
-
"@semcore/typography": "^18.0.0-prerelease.
|
|
17
|
+
"@semcore/button": "^18.0.0-prerelease.5",
|
|
18
|
+
"@semcore/illustration": "^18.0.0-prerelease.5",
|
|
19
|
+
"@semcore/typography": "^18.0.0-prerelease.5"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@semcore/base-components": "^18.0.0-prerelease.
|
|
22
|
+
"@semcore/base-components": "^18.0.0-prerelease.5"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"directory": "semcore/errors"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@semcore/
|
|
31
|
-
"@semcore/
|
|
32
|
-
"@semcore/
|
|
30
|
+
"@semcore/core": "18.0.0-prerelease.5",
|
|
31
|
+
"@semcore/base-components": "18.0.0-prerelease.5",
|
|
32
|
+
"@semcore/testing-utils": "1.0.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "pnpm semcore-builder && pnpm vite build"
|