@semcore/errors 4.35.0 → 4.35.1-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 +10 -4
- package/lib/cjs/Error.js +9 -9
- package/lib/es6/Error.js +9 -9
- package/package.json +3 -3
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.35.1] - 2024-07-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/button` [5.31.0 ~> 5.31.1]).
|
|
10
|
+
|
|
5
11
|
## [4.35.0] - 2024-06-26
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
@@ -186,7 +192,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
186
192
|
|
|
187
193
|
### Changed
|
|
188
194
|
|
|
189
|
-
-
|
|
195
|
+
- CSS selector specify to prevent rare edge case bug.
|
|
190
196
|
|
|
191
197
|
## [4.19.0] - 2024-01-19
|
|
192
198
|
|
|
@@ -644,7 +650,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
644
650
|
|
|
645
651
|
### Added
|
|
646
652
|
|
|
647
|
-
- Added `role="alert"` attributes to increase support for
|
|
653
|
+
- Added `role="alert"` attributes to increase support for A11Y.
|
|
648
654
|
|
|
649
655
|
## [3.1.4] - 2022-08-11
|
|
650
656
|
|
|
@@ -769,7 +775,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
769
775
|
|
|
770
776
|
### Fixed
|
|
771
777
|
|
|
772
|
-
- Убран некорректный импорт из `widget-empty/src`, ломающий проверку типов `
|
|
778
|
+
- Убран некорректный импорт из `widget-empty/src`, ломающий проверку типов `TypeScript`
|
|
773
779
|
|
|
774
780
|
## [2.0.0] - 2020-06-17
|
|
775
781
|
|
|
@@ -804,7 +810,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
804
810
|
|
|
805
811
|
### Added
|
|
806
812
|
|
|
807
|
-
- Появилась возможность добавления различных стилистических тем через
|
|
813
|
+
- Появилась возможность добавления различных стилистических тем через CSS переменные
|
|
808
814
|
- Появилась возможность оптицонально подключать адаптивноссть
|
|
809
815
|
- Появилась возможность изолировать стили даже в пределах одной страницы
|
|
810
816
|
|
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__*/".
|
|
22
|
-
"__SInner": "
|
|
23
|
-
"__SImageWrapper": "
|
|
24
|
-
"__SWrapper": "
|
|
25
|
-
"__STitle": "
|
|
26
|
-
"__SDescription": "
|
|
27
|
-
"__SError": "
|
|
28
|
-
"__SControls": "
|
|
29
|
-
"__SImage": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SError_ii0et_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_ii0et_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_ii0et_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_ii0et_gg_ .___SControls_ii0et_gg_{display:flex;align-items:center}.___SError_ii0et_gg_ .___SControls_ii0et_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SInner_ii0et_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SImageWrapper_ii0et_gg_,.___SImage_ii0et_gg_{width:260px;height:260px}@media (max-width:320px){.___SImageWrapper_ii0et_gg_,.___SImage_ii0et_gg_{width:200px;height:200px}}.___SImageWrapper_ii0et_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SWrapper_ii0et_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___STitle_ii0et_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}.___SDescription_ii0et_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__*/, "ii0et_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SInner": "___SInner_ii0et_gg_",
|
|
23
|
+
"__SImageWrapper": "___SImageWrapper_ii0et_gg_",
|
|
24
|
+
"__SWrapper": "___SWrapper_ii0et_gg_",
|
|
25
|
+
"__STitle": "___STitle_ii0et_gg_",
|
|
26
|
+
"__SDescription": "___SDescription_ii0et_gg_",
|
|
27
|
+
"__SError": "___SError_ii0et_gg_",
|
|
28
|
+
"__SControls": "___SControls_ii0et_gg_",
|
|
29
|
+
"__SImage": "___SImage_ii0et_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__*/".
|
|
18
|
-
"__SInner": "
|
|
19
|
-
"__SImageWrapper": "
|
|
20
|
-
"__SWrapper": "
|
|
21
|
-
"__STitle": "
|
|
22
|
-
"__SDescription": "
|
|
23
|
-
"__SError": "
|
|
24
|
-
"__SControls": "
|
|
25
|
-
"__SImage": "
|
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SError_ii0et_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_ii0et_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_ii0et_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_ii0et_gg_ .___SControls_ii0et_gg_{display:flex;align-items:center}.___SError_ii0et_gg_ .___SControls_ii0et_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SInner_ii0et_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SImageWrapper_ii0et_gg_,.___SImage_ii0et_gg_{width:260px;height:260px}@media (max-width:320px){.___SImageWrapper_ii0et_gg_,.___SImage_ii0et_gg_{width:200px;height:200px}}.___SImageWrapper_ii0et_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SWrapper_ii0et_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___STitle_ii0et_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}.___SDescription_ii0et_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__*/, "ii0et_gg_") /*__reshadow_css_end__*/, {
|
|
18
|
+
"__SInner": "___SInner_ii0et_gg_",
|
|
19
|
+
"__SImageWrapper": "___SImageWrapper_ii0et_gg_",
|
|
20
|
+
"__SWrapper": "___SWrapper_ii0et_gg_",
|
|
21
|
+
"__STitle": "___STitle_ii0et_gg_",
|
|
22
|
+
"__SDescription": "___SDescription_ii0et_gg_",
|
|
23
|
+
"__SError": "___SError_ii0et_gg_",
|
|
24
|
+
"__SControls": "___SControls_ii0et_gg_",
|
|
25
|
+
"__SImage": "___SImage_ii0et_gg_"
|
|
26
26
|
});
|
|
27
27
|
export var getIconPath = function getIconPath(name) {
|
|
28
28
|
return getIllustrationPath(name);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/errors",
|
|
3
3
|
"description": "Semrush Errors Component",
|
|
4
|
-
"version": "4.35.0",
|
|
4
|
+
"version": "4.35.1-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/button": "5.31.0",
|
|
12
|
+
"@semcore/button": "5.31.1-prerelease.0",
|
|
13
13
|
"@semcore/flex-box": "5.29.0",
|
|
14
14
|
"@semcore/format-text": "4.29.0",
|
|
15
15
|
"@semcore/illustration": "2.29.0",
|
|
16
|
-
"@semcore/typography": "5.
|
|
16
|
+
"@semcore/typography": "5.38.0-prerelease.0",
|
|
17
17
|
"@semcore/utils": "4.30.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|