@semcore/errors 16.1.7-prerelease.1 → 16.2.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 +6 -0
- package/README.md +4 -4
- package/lib/cjs/Error.js +9 -9
- package/lib/cjs/style/errors.shadow.css +2 -2
- package/lib/es6/Error.js +9 -9
- package/lib/es6/style/errors.shadow.css +2 -2
- package/lib/esm/Error.mjs +10 -10
- package/lib/esm/style/errors.shadow.css +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/@semcore/errors)
|
|
4
4
|
[](https://www.npmjs.com/package/@semcore/errors)
|
|
5
|
-
[](https://github.com/semrush/intergalactic/blob/
|
|
5
|
+
[](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE)
|
|
6
6
|
|
|
7
7
|
> This component is part of the Intergalactic Design System
|
|
8
8
|
|
|
@@ -30,13 +30,13 @@ import Error, {
|
|
|
30
30
|
|
|
31
31
|
## 👤 Author
|
|
32
32
|
|
|
33
|
-
[UI-kit team](https://github.com/semrush/intergalactic/blob/
|
|
33
|
+
[UI-kit team](https://github.com/semrush/intergalactic/blob/HEAD/MAINTAINERS) and [others ❤️](https://github.com/semrush/intergalactic/graphs/contributors)
|
|
34
34
|
|
|
35
35
|
## 🤝 Contributing
|
|
36
36
|
|
|
37
37
|
Contributions, issues and feature requests are welcome!
|
|
38
38
|
|
|
39
|
-
Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/
|
|
39
|
+
Feel free to check [issues page](https://github.com/semrush/intergalactic/issues). You can also take a look at the [contributing guide](https://github.com/semrush/intergalactic/blob/HEAD/CONTRIBUTING.md).
|
|
40
40
|
|
|
41
41
|
## Show your support
|
|
42
42
|
|
|
@@ -44,4 +44,4 @@ Give a ⭐️ if this project helped you!
|
|
|
44
44
|
|
|
45
45
|
## 📝 License
|
|
46
46
|
|
|
47
|
-
This project is [MIT](https://github.com/semrush/intergalactic/blob/
|
|
47
|
+
This project is [MIT](https://github.com/semrush/intergalactic/blob/HEAD/LICENSE) licensed.
|
package/lib/cjs/Error.js
CHANGED
|
@@ -16,17 +16,17 @@ var _flexBox = require("@semcore/flex-box");
|
|
|
16
16
|
var _illustration = require("@semcore/illustration");
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
18
|
/*!__reshadow-styles__:"./style/errors.shadow.css"*/
|
|
19
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
19
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SError_h636d_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-6x, 24px);margin:0 auto;max-width:960px}@media (max-width:647px){.___SError_h636d_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_h636d_gg_ .___SControls_h636d_gg_{display:flex;flex-wrap:wrap;gap:var(--intergalactic-spacing-3x, 12px);align-items:center}.___SError_h636d_gg_ .___SInner_h636d_gg_{width:100%;display:flex;justify-content:flex-start;align-items:flex-start;box-sizing:border-box}@media (max-width:647px){.___SError_h636d_gg_ .___SInner_h636d_gg_{flex-direction:column}}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_,.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImage_h636d_gg_{width:260px;height:260px}@media (max-width:647px){.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_,.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImage_h636d_gg_{width:200px;height:200px}}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_{flex-shrink:0;margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SWrapper_h636d_gg_{max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___STitle_h636d_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SDescription_h636d_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin:0 0 var(--intergalactic-spacing-6x, 24px)0}", /*__inner_css_end__*/"h636d_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SError": "
|
|
23
|
-
"__SControls": "
|
|
24
|
-
"__SInner": "
|
|
25
|
-
"__SImageWrapper": "
|
|
26
|
-
"__SImage": "
|
|
27
|
-
"__SWrapper": "
|
|
28
|
-
"__STitle": "
|
|
29
|
-
"__SDescription": "
|
|
22
|
+
"__SError": "___SError_h636d_gg_",
|
|
23
|
+
"__SControls": "___SControls_h636d_gg_",
|
|
24
|
+
"__SInner": "___SInner_h636d_gg_",
|
|
25
|
+
"__SImageWrapper": "___SImageWrapper_h636d_gg_",
|
|
26
|
+
"__SImage": "___SImage_h636d_gg_",
|
|
27
|
+
"__SWrapper": "___SWrapper_h636d_gg_",
|
|
28
|
+
"__STitle": "___STitle_h636d_gg_",
|
|
29
|
+
"__SDescription": "___SDescription_h636d_gg_"
|
|
30
30
|
});
|
|
31
31
|
var getIconPath = exports.getIconPath = function getIconPath(name) {
|
|
32
32
|
return (0, _illustration.getIllustrationPath)(name);
|
|
@@ -49,7 +49,7 @@ SError {
|
|
|
49
49
|
STitle[data-errors-title] {
|
|
50
50
|
font-size: var(--intergalactic-fs-700, 36px);
|
|
51
51
|
line-height: var(--intergalactic-lh-700, 110%);
|
|
52
|
-
color: var(--intergalactic-text-primary,
|
|
52
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
53
53
|
font-weight: var(--intergalactic-semi-bold, 600);
|
|
54
54
|
margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ SError {
|
|
|
57
57
|
SDescription {
|
|
58
58
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
59
59
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
60
|
-
color: var(--intergalactic-text-primary,
|
|
60
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
61
61
|
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
62
62
|
}
|
|
63
63
|
}
|
package/lib/es6/Error.js
CHANGED
|
@@ -14,17 +14,17 @@ import { Box, Flex } from '@semcore/flex-box';
|
|
|
14
14
|
import { getIllustrationPath } from '@semcore/illustration';
|
|
15
15
|
import React from 'react';
|
|
16
16
|
/*!__reshadow-styles__:"./style/errors.shadow.css"*/
|
|
17
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
17
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SError_h636d_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-6x, 24px);margin:0 auto;max-width:960px}@media (max-width:647px){.___SError_h636d_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_h636d_gg_ .___SControls_h636d_gg_{display:flex;flex-wrap:wrap;gap:var(--intergalactic-spacing-3x, 12px);align-items:center}.___SError_h636d_gg_ .___SInner_h636d_gg_{width:100%;display:flex;justify-content:flex-start;align-items:flex-start;box-sizing:border-box}@media (max-width:647px){.___SError_h636d_gg_ .___SInner_h636d_gg_{flex-direction:column}}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_,.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImage_h636d_gg_{width:260px;height:260px}@media (max-width:647px){.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_,.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImage_h636d_gg_{width:200px;height:200px}}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_{flex-shrink:0;margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SWrapper_h636d_gg_{max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___STitle_h636d_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SDescription_h636d_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin:0 0 var(--intergalactic-spacing-6x, 24px)0}", /*__inner_css_end__*/"h636d_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SError": "
|
|
21
|
-
"__SControls": "
|
|
22
|
-
"__SInner": "
|
|
23
|
-
"__SImageWrapper": "
|
|
24
|
-
"__SImage": "
|
|
25
|
-
"__SWrapper": "
|
|
26
|
-
"__STitle": "
|
|
27
|
-
"__SDescription": "
|
|
20
|
+
"__SError": "___SError_h636d_gg_",
|
|
21
|
+
"__SControls": "___SControls_h636d_gg_",
|
|
22
|
+
"__SInner": "___SInner_h636d_gg_",
|
|
23
|
+
"__SImageWrapper": "___SImageWrapper_h636d_gg_",
|
|
24
|
+
"__SImage": "___SImage_h636d_gg_",
|
|
25
|
+
"__SWrapper": "___SWrapper_h636d_gg_",
|
|
26
|
+
"__STitle": "___STitle_h636d_gg_",
|
|
27
|
+
"__SDescription": "___SDescription_h636d_gg_"
|
|
28
28
|
});
|
|
29
29
|
export var getIconPath = function getIconPath(name) {
|
|
30
30
|
return getIllustrationPath(name);
|
|
@@ -49,7 +49,7 @@ SError {
|
|
|
49
49
|
STitle[data-errors-title] {
|
|
50
50
|
font-size: var(--intergalactic-fs-700, 36px);
|
|
51
51
|
line-height: var(--intergalactic-lh-700, 110%);
|
|
52
|
-
color: var(--intergalactic-text-primary,
|
|
52
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
53
53
|
font-weight: var(--intergalactic-semi-bold, 600);
|
|
54
54
|
margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ SError {
|
|
|
57
57
|
SDescription {
|
|
58
58
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
59
59
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
60
|
-
color: var(--intergalactic-text-primary,
|
|
60
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
61
61
|
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
62
62
|
}
|
|
63
63
|
}
|
package/lib/esm/Error.mjs
CHANGED
|
@@ -13,19 +13,19 @@ var style = (
|
|
|
13
13
|
/*__reshadow_css_start__*/
|
|
14
14
|
(sstyled.insert(
|
|
15
15
|
/*__inner_css_start__*/
|
|
16
|
-
".
|
|
16
|
+
".___SError_h636d_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-6x, 24px);margin:0 auto;max-width:960px}@media (max-width:647px){.___SError_h636d_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_h636d_gg_ .___SControls_h636d_gg_{display:flex;flex-wrap:wrap;gap:var(--intergalactic-spacing-3x, 12px);align-items:center}.___SError_h636d_gg_ .___SInner_h636d_gg_{width:100%;display:flex;justify-content:flex-start;align-items:flex-start;box-sizing:border-box}@media (max-width:647px){.___SError_h636d_gg_ .___SInner_h636d_gg_{flex-direction:column}}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_,.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImage_h636d_gg_{width:260px;height:260px}@media (max-width:647px){.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_,.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImage_h636d_gg_{width:200px;height:200px}}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SImageWrapper_h636d_gg_{flex-shrink:0;margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SWrapper_h636d_gg_{max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___STitle_h636d_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_h636d_gg_ .___SInner_h636d_gg_ .___SDescription_h636d_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin:0 0 var(--intergalactic-spacing-6x, 24px)0}",
|
|
17
17
|
/*__inner_css_end__*/
|
|
18
|
-
"
|
|
18
|
+
"h636d_gg_"
|
|
19
19
|
), /*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SError": "
|
|
22
|
-
"__SControls": "
|
|
23
|
-
"__SInner": "
|
|
24
|
-
"__SImageWrapper": "
|
|
25
|
-
"__SImage": "
|
|
26
|
-
"__SWrapper": "
|
|
27
|
-
"__STitle": "
|
|
28
|
-
"__SDescription": "
|
|
21
|
+
"__SError": "___SError_h636d_gg_",
|
|
22
|
+
"__SControls": "___SControls_h636d_gg_",
|
|
23
|
+
"__SInner": "___SInner_h636d_gg_",
|
|
24
|
+
"__SImageWrapper": "___SImageWrapper_h636d_gg_",
|
|
25
|
+
"__SImage": "___SImage_h636d_gg_",
|
|
26
|
+
"__SWrapper": "___SWrapper_h636d_gg_",
|
|
27
|
+
"__STitle": "___STitle_h636d_gg_",
|
|
28
|
+
"__SDescription": "___SDescription_h636d_gg_"
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
var getIconPath = function getIconPath2(name) {
|
|
@@ -49,7 +49,7 @@ SError {
|
|
|
49
49
|
STitle[data-errors-title] {
|
|
50
50
|
font-size: var(--intergalactic-fs-700, 36px);
|
|
51
51
|
line-height: var(--intergalactic-lh-700, 110%);
|
|
52
|
-
color: var(--intergalactic-text-primary,
|
|
52
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
53
53
|
font-weight: var(--intergalactic-semi-bold, 600);
|
|
54
54
|
margin: 0 0 var(--intergalactic-spacing-4x, 16px) 0;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ SError {
|
|
|
57
57
|
SDescription {
|
|
58
58
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
59
59
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
60
|
-
color: var(--intergalactic-text-primary,
|
|
60
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
61
61
|
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
62
62
|
}
|
|
63
63
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/errors",
|
|
3
3
|
"description": "Semrush Errors Component",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.2.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,14 +14,14 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "16.0
|
|
18
|
-
"@semcore/format-text": "16.
|
|
19
|
-
"@semcore/illustration": "16.0.
|
|
20
|
-
"@semcore/typography": "16.
|
|
21
|
-
"@semcore/flex-box": "16.0.
|
|
17
|
+
"@semcore/button": "16.1.0-prerelease.0",
|
|
18
|
+
"@semcore/format-text": "16.2.0-prerelease.0",
|
|
19
|
+
"@semcore/illustration": "16.1.0-prerelease.0",
|
|
20
|
+
"@semcore/typography": "16.4.0-prerelease.0",
|
|
21
|
+
"@semcore/flex-box": "16.1.0-prerelease.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@semcore/base-components": "^16.0.0"
|
|
24
|
+
"@semcore/base-components": "^16.6.0-prerelease.0"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"directory": "semcore/errors"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@semcore/
|
|
33
|
-
"@semcore/
|
|
32
|
+
"@semcore/core": "16.6.0-prerelease.0",
|
|
33
|
+
"@semcore/testing-utils": "1.0.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|