@semcore/errors 3.3.6 → 3.4.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,11 +2,11 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [3.3.6] - 2022-10-03
5
+ ## [3.4.0] - 2022-10-06
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/illustration` [1.1.3 ~> 1.1.4]).
9
+ - Version minor update due to children dependencies update (`@semcore/illustration` [1.1.5 ~> 1.2.0]).
10
10
 
11
11
  ## [3.3.5] - 2022-09-27
12
12
 
@@ -20,24 +20,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
20
20
 
21
21
  - Version patch update due to children dependencies update (`@semcore/button` [4.0.16 ~> 4.0.17]).
22
22
 
23
- ## [3.3.3] - 2022-08-30
24
-
25
- ### Changed
26
-
27
- - Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/button` [4.0.15 ~> 4.0.16]).
28
-
29
- ## [3.3.2] - 2022-08-30
30
-
31
- ### Changed
32
-
33
- - Version patch update due to children dependencies update (`@semcore/button` [4.0.14 ~> 4.0.15]).
34
-
35
- ## [3.3.1] - 2022-08-25
36
-
37
- ### Changed
38
-
39
- - Version patch update due to children dependencies update (`@semcore/button` [4.0.13 ~> 4.0.14]).
40
-
41
23
  ## [3.3.0] - 2022-08-22
42
24
 
43
25
  ### Changed
@@ -54,12 +36,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
54
36
 
55
37
  - Version patch update due to children dependencies update (`@semcore/button` [4.0.12 ~> 4.0.13]).
56
38
 
57
- ## [3.2.1] - 2022-08-18
58
-
59
- ### Changed
60
-
61
- - Version patch update due to children dependencies update (`@semcore/utils` [3.36.0 ~> 3.37.0], `@semcore/button` [4.0.11 ~> 4.0.12]).
62
-
63
39
  ## [3.2.0] - 2022-08-12
64
40
 
65
41
  ### Added
@@ -72,24 +48,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
72
48
 
73
49
  - Version patch update due to children dependencies update (`@semcore/utils` [3.35.1 ~> 3.36.0], `@semcore/button` [4.0.10 ~> 4.0.11], `@semcore/typography` [4.0.11 ~> 4.1.0]).
74
50
 
75
- ## [3.1.3] - 2022-07-22
76
-
77
- ### Changed
78
-
79
- - Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/button` [4.0.8 ~> 4.0.9]).
80
-
81
- ## [3.1.2] - 2022-07-14
82
-
83
- ### Changed
84
-
85
- - Version patch update due to children dependencies update (`@semcore/button` [4.0.7 ~> 4.0.8]).
86
-
87
- ## [3.1.1] - 2022-07-07
88
-
89
- ### Changed
90
-
91
- - Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/button` [4.0.6 ~> 4.0.7]).
92
-
93
51
  ## [3.1.0] - 2022-06-01
94
52
 
95
53
  ### Changed
@@ -102,30 +60,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
102
60
 
103
61
  - Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/button` [4.0.4 ~> 4.0.5]).
104
62
 
105
- ## [3.0.4] - 2022-05-27
106
-
107
- ### Changed
108
-
109
- - Version patch update due to children dependencies update (`@semcore/button` [4.0.3 ~> 4.0.4]).
110
-
111
- ## [3.0.3] - 2022-05-23
112
-
113
- ### Changed
114
-
115
- - Version patch update due to children dependencies update (`@semcore/button` [4.0.2 ~> 4.0.3]).
116
-
117
- ## [3.0.2] - 2022-05-19
118
-
119
- ### Changed
120
-
121
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/button` [4.0.1 ~> 4.0.2], `@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/typography` [4.0.1 ~> 4.0.3]).
122
-
123
- ## [3.0.1] - 2022-05-18
124
-
125
- ### Changed
126
-
127
- - Version patch update due to children dependencies update (`@semcore/button` [4.0.0 ~> 4.0.1]).
128
-
129
63
  ## [3.0.0] - 2022-05-17
130
64
 
131
65
  ### BREAK
@@ -138,18 +72,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
138
72
 
139
73
  - Version patch update due to children dependencies update (`@semcore/typography` [3.4.1 ~> 3.4.2]).
140
74
 
141
- ## [2.5.5] - 2022-03-14
142
-
143
- ### Changed
144
-
145
- - Version patch update due to children dependencies update (`@semcore/utils` [3.31.2 ~> 3.31.2], `@semcore/button` [3.3.6 ~> 3.3.7]).
146
-
147
- ## [2.5.4] - 2022-03-04
148
-
149
- ### Changed
150
-
151
- - Version patch update due to children dependencies update (`@semcore/button` [3.3.5 ~> 3.3.6], `@semcore/format-text` [2.2.2 ~> 2.3.0], `@semcore/typography` [3.3.2 ~> 3.4.0]).
152
-
153
75
  ## [2.5.2] - 2022-02-24
154
76
 
155
77
  ### Added
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright ©, 2022, Semrush Inc. (written by Roman Lysov, Sergey Kobets, Mikhail Karachev, Julia Mnizhek, Elena Krasnopolskaia, Mikhail Sereniti).
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/lib/cjs/Error.js CHANGED
@@ -46,19 +46,19 @@ var style = (
46
46
  /*__reshadow_css_start__*/
47
47
  _core.sstyled.insert(
48
48
  /*__inner_css_start__*/
49
- ".___SError_715jy_gg_{padding:96px 0;margin:0 auto;max-width:960px}.___SInner_715jy_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SImage_715jy_gg_,.___SImageWrapper_715jy_gg_{width:260px;height:260px}@media (max-width:320px){.___SImage_715jy_gg_,.___SImageWrapper_715jy_gg_{width:200px;height:200px}}.___SImageWrapper_715jy_gg_{margin-right:40px}.___SWrapper_715jy_gg_{flex:1 0 300px;max-width:100%;margin-top:32px}.___STitle_715jy_gg_{font-size:36px;line-height:1.1;color:#191b23;font-weight:700;margin:0 0 16px 0}.___SDescription_715jy_gg_{font-size:16px;line-height:1.5;color:#191b23;margin:0 0 24px 0}.___SControls_715jy_gg_{display:flex;align-items:center}.___SControls_715jy_gg_>:not(:last-child){margin-right:12px}"
49
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SError_19ypd_gg_ {\n padding: 96px 0;\n margin: 0 auto;\n max-width: 960px;\n}\n\n.___SInner_19ypd_gg_ {\n width: 100%;\n display: flex;\n justify-content: flex-start;\n flex-wrap: wrap;\n align-items: flex-start;\n box-sizing: border-box;\n}\n\n.___SImageWrapper_19ypd_gg_,\n.___SImage_19ypd_gg_ {\n width: 260px;\n height: 260px\n}\n\n@media (max-width: 320px) {\n\n.___SImageWrapper_19ypd_gg_,\n.___SImage_19ypd_gg_ {\n width: 200px;\n height: 200px\n}\n }\n\n.___SImageWrapper_19ypd_gg_ {\n margin-right: 40px;\n}\n\n.___SWrapper_19ypd_gg_ {\n flex: 1 0 300px;\n max-width: 100%;\n margin-top: 32px;\n}\n\n.___STitle_19ypd_gg_ {\n font-size: 36px;\n line-height: 1.1;\n color: #191b23;\n font-weight: 700;\n margin: 0 0 16px 0;\n}\n\n.___SDescription_19ypd_gg_ {\n font-size: 16px;\n line-height: 1.5;\n color: #191b23;\n margin: 0 0 24px 0;\n}\n\n.___SControls_19ypd_gg_ {\n display: flex;\n align-items: center\n}\n\n.___SControls_19ypd_gg_ > *:not(:last-child) {\n margin-right: 12px;\n }\n"
50
50
  /*__inner_css_end__*/
51
- , "715jy_gg_")
51
+ , "19ypd_gg_")
52
52
  /*__reshadow_css_end__*/
53
53
  , {
54
- "__SError": "___SError_715jy_gg_",
55
- "__SInner": "___SInner_715jy_gg_",
56
- "__SImage": "___SImage_715jy_gg_",
57
- "__SImageWrapper": "___SImageWrapper_715jy_gg_",
58
- "__SWrapper": "___SWrapper_715jy_gg_",
59
- "__STitle": "___STitle_715jy_gg_",
60
- "__SDescription": "___SDescription_715jy_gg_",
61
- "__SControls": "___SControls_715jy_gg_"
54
+ "__SError": "___SError_19ypd_gg_",
55
+ "__SInner": "___SInner_19ypd_gg_",
56
+ "__SImageWrapper": "___SImageWrapper_19ypd_gg_",
57
+ "__SImage": "___SImage_19ypd_gg_",
58
+ "__SWrapper": "___SWrapper_19ypd_gg_",
59
+ "__STitle": "___STitle_19ypd_gg_",
60
+ "__SDescription": "___SDescription_19ypd_gg_",
61
+ "__SControls": "___SControls_19ypd_gg_"
62
62
  });
63
63
 
64
64
  var getIconPath = function getIconPath(name) {
package/lib/es6/Error.js CHANGED
@@ -28,19 +28,19 @@ var style = (
28
28
  /*__reshadow_css_start__*/
29
29
  _sstyled.insert(
30
30
  /*__inner_css_start__*/
31
- ".___SError_715jy_gg_{padding:96px 0;margin:0 auto;max-width:960px}.___SInner_715jy_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SImage_715jy_gg_,.___SImageWrapper_715jy_gg_{width:260px;height:260px}@media (max-width:320px){.___SImage_715jy_gg_,.___SImageWrapper_715jy_gg_{width:200px;height:200px}}.___SImageWrapper_715jy_gg_{margin-right:40px}.___SWrapper_715jy_gg_{flex:1 0 300px;max-width:100%;margin-top:32px}.___STitle_715jy_gg_{font-size:36px;line-height:1.1;color:#191b23;font-weight:700;margin:0 0 16px 0}.___SDescription_715jy_gg_{font-size:16px;line-height:1.5;color:#191b23;margin:0 0 24px 0}.___SControls_715jy_gg_{display:flex;align-items:center}.___SControls_715jy_gg_>:not(:last-child){margin-right:12px}"
31
+ ":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SError_19ypd_gg_ {\n padding: 96px 0;\n margin: 0 auto;\n max-width: 960px;\n}\n\n.___SInner_19ypd_gg_ {\n width: 100%;\n display: flex;\n justify-content: flex-start;\n flex-wrap: wrap;\n align-items: flex-start;\n box-sizing: border-box;\n}\n\n.___SImageWrapper_19ypd_gg_,\n.___SImage_19ypd_gg_ {\n width: 260px;\n height: 260px\n}\n\n@media (max-width: 320px) {\n\n.___SImageWrapper_19ypd_gg_,\n.___SImage_19ypd_gg_ {\n width: 200px;\n height: 200px\n}\n }\n\n.___SImageWrapper_19ypd_gg_ {\n margin-right: 40px;\n}\n\n.___SWrapper_19ypd_gg_ {\n flex: 1 0 300px;\n max-width: 100%;\n margin-top: 32px;\n}\n\n.___STitle_19ypd_gg_ {\n font-size: 36px;\n line-height: 1.1;\n color: #191b23;\n font-weight: 700;\n margin: 0 0 16px 0;\n}\n\n.___SDescription_19ypd_gg_ {\n font-size: 16px;\n line-height: 1.5;\n color: #191b23;\n margin: 0 0 24px 0;\n}\n\n.___SControls_19ypd_gg_ {\n display: flex;\n align-items: center\n}\n\n.___SControls_19ypd_gg_ > *:not(:last-child) {\n margin-right: 12px;\n }\n"
32
32
  /*__inner_css_end__*/
33
- , "715jy_gg_")
33
+ , "19ypd_gg_")
34
34
  /*__reshadow_css_end__*/
35
35
  , {
36
- "__SError": "___SError_715jy_gg_",
37
- "__SInner": "___SInner_715jy_gg_",
38
- "__SImage": "___SImage_715jy_gg_",
39
- "__SImageWrapper": "___SImageWrapper_715jy_gg_",
40
- "__SWrapper": "___SWrapper_715jy_gg_",
41
- "__STitle": "___STitle_715jy_gg_",
42
- "__SDescription": "___SDescription_715jy_gg_",
43
- "__SControls": "___SControls_715jy_gg_"
36
+ "__SError": "___SError_19ypd_gg_",
37
+ "__SInner": "___SInner_19ypd_gg_",
38
+ "__SImageWrapper": "___SImageWrapper_19ypd_gg_",
39
+ "__SImage": "___SImage_19ypd_gg_",
40
+ "__SWrapper": "___SWrapper_19ypd_gg_",
41
+ "__STitle": "___STitle_19ypd_gg_",
42
+ "__SDescription": "___SDescription_19ypd_gg_",
43
+ "__SControls": "___SControls_19ypd_gg_"
44
44
  });
45
45
  export var getIconPath = function getIconPath(name) {
46
46
  return getIllustrationPath(name);
package/package.json CHANGED
@@ -1,22 +1,18 @@
1
1
  {
2
2
  "name": "@semcore/errors",
3
3
  "description": "Semrush Errors Component",
4
- "version": "3.3.6",
4
+ "version": "3.4.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
- "scripts": {
12
- "build": "pnpm semcore-builder --source=js",
13
- "test": "jest"
14
- },
15
11
  "dependencies": {
16
12
  "@semcore/button": "^4",
17
13
  "@semcore/flex-box": "^4",
18
14
  "@semcore/format-text": "^3.0.0",
19
- "@semcore/illustration": "1.1.4",
15
+ "@semcore/illustration": "1.2.0",
20
16
  "@semcore/typography": "^4",
21
17
  "@semcore/utils": "^3.27"
22
18
  },
@@ -36,5 +32,9 @@
36
32
  "@types/react": "16.8 - 17",
37
33
  "@semcore/jest-preset-ui": "1.0.0",
38
34
  "@types/node": "^17.0.45"
35
+ },
36
+ "scripts": {
37
+ "build": "pnpm semcore-builder --source=js",
38
+ "test": "jest"
39
39
  }
40
- }
40
+ }