@semcore/notice 4.1.18 → 4.2.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,47 +2,19 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [4.1.18] - 2022-10-04
6
-
7
- ### Changed
8
-
9
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.10 ~> 1.5.11], `@semcore/utils` [3.37.1 ~> 3.37.2], `@semcore/flex-box` [4.5.11 ~> 4.5.12], `@semcore/icon` [2.32.1 ~> 2.32.2]).
10
-
11
- ## [4.2.0] - unreleased
5
+ ## [4.2.0] - 2022-10-10
12
6
 
13
7
  ### Changed
14
8
 
9
+ - Added support for React 18 🔥
10
+ - Extended version range for dependency `@semcore/icons`.
15
11
  - Color for Close icon with theme `info` was changed from `--blue-400` to `--gray-400`.
16
12
 
17
- ## [4.1.17] - 2022-09-29
18
-
19
- ### Changed
20
-
21
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.4 ~> 2.31.0]).
22
-
23
- ## [4.1.16] - 2022-09-21
24
-
25
- ### Changed
26
-
27
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.3 ~> 2.30.4]).
28
-
29
- ## [4.1.15] - 2022-09-21
30
-
31
- ### Changed
32
-
33
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.2 ~> 2.30.3]).
34
-
35
- ## [4.1.14] - 2022-08-30
13
+ ## [4.1.19] - 2022-10-06
36
14
 
37
15
  ### Changed
38
16
 
39
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.9 ~> 1.5.10], `@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/icon` [2.30.1 ~> 2.30.2]).
40
-
41
- ## [4.1.13] - 2022-08-29
42
-
43
- ### Changed
44
-
45
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.8 ~> 1.5.9]).
17
+ - Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
46
18
 
47
19
  ## [4.1.12] - 2022-08-23
48
20
 
@@ -56,66 +28,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
56
28
 
57
29
  - Version patch update due to children dependencies update (`@semcore/icon` [2.30.0 ~> 2.30.1]).
58
30
 
59
- ## [4.1.10] - 2022-08-18
60
-
61
- ### Changed
62
-
63
- - Version patch update due to children dependencies update (`@semcore/icon` [2.29.5 ~> 2.30.0]).
64
-
65
- ## [4.1.9] - 2022-08-18
66
-
67
- ### Changed
68
-
69
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.7 ~> 1.5.8], `@semcore/utils` [3.36.0 ~> 3.37.0], `@semcore/flex-box` [4.5.9 ~> 4.5.10], `@semcore/icon` [2.29.4 ~> 2.29.5]).
70
-
71
- ## [4.1.8] - 2022-08-11
72
-
73
- ### Changed
74
-
75
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.6 ~> 1.5.7], `@semcore/utils` [3.35.1 ~> 3.36.0], `@semcore/flex-box` [4.5.8 ~> 4.5.9], `@semcore/icon` [2.29.3 ~> 2.29.4]).
76
-
77
- ## [4.1.7] - 2022-08-01
78
-
79
- ### Changed
80
-
81
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.5 ~> 1.5.6], `@semcore/utils` [3.35.0 ~> 3.35.1], `@semcore/flex-box` [4.5.7 ~> 4.5.8], `@semcore/icon` [2.29.2 ~> 2.29.3]).
82
-
83
- ## [4.1.6] - 2022-07-25
84
-
85
- ### Changed
86
-
87
- - Version patch update due to children dependencies update (`@semcore/icon` [2.29.1 ~> 2.29.2]).
88
-
89
- ## [4.1.5] - 2022-07-22
90
-
91
- ### Changed
92
-
93
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.4 ~> 1.5.5], `@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/flex-box` [4.5.6 ~> 4.5.7], `@semcore/icon` [2.29.0 ~> 2.29.1]).
94
-
95
- ## [4.1.4] - 2022-07-21
96
-
97
- ### Changed
98
-
99
- - Version patch update due to children dependencies update (`@semcore/icon` [2.28.0 ~> 2.29.0]).
100
-
101
- ## [4.1.3] - 2022-07-07
102
-
103
- ### Changed
104
-
105
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.3 ~> 1.5.4], `@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/flex-box` [4.5.5 ~> 4.5.6], `@semcore/icon` [2.27.0 ~> 2.28.0]).
106
-
107
- ## [4.1.2] - 2022-06-02
108
-
109
- ### Changed
110
-
111
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.2 ~> 1.5.3], `@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/flex-box` [4.5.4 ~> 4.5.5], `@semcore/icon` [2.26.1 ~> 2.27.0], `@semcore/notice-global` [1.0.1 ~> 1.1.0]).
112
-
113
- ## [4.1.1] - 2022-05-31
114
-
115
- ### Changed
116
-
117
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.1 ~> 1.5.2], `@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/flex-box` [4.5.3 ~> 4.5.4], `@semcore/icon` [2.26.0 ~> 2.26.1]).
118
-
119
31
  ## [4.1.0] - 2022-05-30
120
32
 
121
33
  ### Changed
@@ -130,18 +42,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
130
42
 
131
43
  - Version patch update due to children dependencies update (`@semcore/icon` [2.25.1 ~> 2.26.0]).
132
44
 
133
- ## [4.0.2] - 2022-05-19
134
-
135
- ### Changed
136
-
137
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.0 ~> 1.5.1], `@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/icon` [2.25.0 ~> 2.25.1]).
138
-
139
- ## [4.0.1] - 2022-05-18
140
-
141
- ### Changed
142
-
143
- - Version patch update due to children dependencies update (`@semcore/icon` [2.24.0 ~> 2.25.0]).
144
-
145
45
  ## [4.0.0] - 2022-05-17
146
46
 
147
47
  ### BREAK
@@ -156,36 +56,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
156
56
 
157
57
  - Version patch update due to children dependencies update (`@semcore/icon` [2.21.0 ~> 2.24.0]).
158
58
 
159
- ## [3.2.6] - 2022-04-28
160
-
161
- ### Changed
162
-
163
- - Version patch update due to children dependencies update (`@semcore/icon` [2.20.0 ~> 2.21.0]).
164
-
165
- ## [3.2.5] - 2022-04-03
166
-
167
- ### Changed
168
-
169
- - Version patch update due to children dependencies update (`@semcore/animation` [1.5.0 ~> 1.5.0]).
170
-
171
- ## [3.2.4] - 2022-03-21
172
-
173
- ### Changed
174
-
175
- - Version patch update due to children dependencies update (`@semcore/icon` [2.19.4 ~> 2.20.0]).
176
-
177
- ## [3.2.3] - 2022-03-14
178
-
179
- ### Changed
180
-
181
- - Version patch update due to children dependencies update (`@semcore/animation` [1.4.1 ~> 1.4.2], `@semcore/utils` [3.31.2 ~> 3.31.2], `@semcore/flex-box` [4.5.0 ~> 4.5.1], `@semcore/icon` [2.19.3 ~> 2.19.4]).
182
-
183
- ## [3.2.2] - 2022-03-05
184
-
185
- ### Changed
186
-
187
- - Version patch update due to children dependencies update (`@semcore/animation` [1.4.0 ~> 1.4.1]).
188
-
189
59
  ## [3.2.1] - 2022-02-24
190
60
 
191
61
  ### 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/Notice.js CHANGED
@@ -54,23 +54,23 @@ var style = (
54
54
  /*__reshadow_css_start__*/
55
55
  _core.sstyled.insert(
56
56
  /*__inner_css_start__*/
57
- ".___SNotice_zricr_gg_{display:flex;padding:16px;font-size:14px;line-height:1.42;box-sizing:border-box;border-style:solid;border-width:1px;border-radius:6px}.___SNotice_zricr_gg_._theme_info_zricr_gg_{background-color:#e9f7ff;border-color:#8ecdff}.___SNotice_zricr_gg_._theme_info_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#8a8e9b}.___SNotice_zricr_gg_._theme_info_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#6c6e79}.___SNotice_zricr_gg_._theme_danger_zricr_gg_{background-color:#fff0f7;border-color:#ffaeb5}.___SNotice_zricr_gg_._theme_danger_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#ff4953}.___SNotice_zricr_gg_._theme_danger_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#d1002f}.___SNotice_zricr_gg_._theme_warning_zricr_gg_{background-color:#fff3d9;border-color:#ffb26e}.___SNotice_zricr_gg_._theme_warning_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#ff642d}.___SNotice_zricr_gg_._theme_warning_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#c33909}.___SNotice_zricr_gg_._theme_success_zricr_gg_{background-color:#dbfee8;border-color:#59ddaa}.___SNotice_zricr_gg_._theme_success_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#009f81}.___SNotice_zricr_gg_._theme_success_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#007c65}.___SContent_zricr_gg_{flex:1 1 auto;width:100%}.___SActions_zricr_gg_{flex-shrink:0;margin-top:12px}.___SLabel_zricr_gg_{margin-top:2px;margin-right:8px;display:inline-flex}.___SLabel_zricr_gg_._theme_info_zricr_gg_{color:#8a8e9b}.___SLabel_zricr_gg_._theme_danger_zricr_gg_{color:#ff4953}.___SLabel_zricr_gg_._theme_warning_zricr_gg_{color:#ff642d}.___SLabel_zricr_gg_._theme_success_zricr_gg_{color:#009f81}.___SLabel_zricr_gg_._theme_custom_zricr_gg_{color:var(--color_zricr)}.___SCloseIcon_zricr_gg_{flex-shrink:0;margin-left:16px}.___SNotice_zricr_gg_._theme_custom_zricr_gg_{background-color:var(--backgroundColor_zricr);border-color:var(--backgroundColor_zricr)}"
57
+ ":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.___SNotice_1xrig_gg_ {\n display: flex;\n padding: 16px;\n font-size: 14px;\n line-height: 1.42;\n box-sizing: border-box;\n border-style: solid;\n border-width: 1px;\n border-radius: 6px;\n}\n\n.___SNotice_1xrig_gg_._theme_info_1xrig_gg_ {\n background-color: #e9f7ff;\n border-color: #8ecdff\n}\n\n.___SNotice_1xrig_gg_._theme_info_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #8a8e9b\n }\n\n.___SNotice_1xrig_gg_._theme_info_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #6c6e79;\n }\n\n.___SNotice_1xrig_gg_._theme_danger_1xrig_gg_ {\n background-color: #fff0f7;\n border-color: #ffaeb5\n}\n\n.___SNotice_1xrig_gg_._theme_danger_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #ff4953\n }\n\n.___SNotice_1xrig_gg_._theme_danger_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #d1002f;\n }\n\n.___SNotice_1xrig_gg_._theme_warning_1xrig_gg_ {\n background-color: #fff3d9;\n border-color: #ffb26e\n}\n\n.___SNotice_1xrig_gg_._theme_warning_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #ff642d\n }\n\n.___SNotice_1xrig_gg_._theme_warning_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #c33909;\n }\n\n.___SNotice_1xrig_gg_._theme_success_1xrig_gg_ {\n background-color: #dbfee8;\n border-color: #59ddaa\n}\n\n.___SNotice_1xrig_gg_._theme_success_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #009f81\n }\n\n.___SNotice_1xrig_gg_._theme_success_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #007c65;\n }\n\n.___SContent_1xrig_gg_ {\n flex: 1 1 auto;\n width: 100%;\n}\n\n.___SActions_1xrig_gg_ {\n flex-shrink: 0;\n margin-top: 12px;\n}\n\n.___SLabel_1xrig_gg_ {\n margin-top: 2px;\n margin-right: 8px;\n display: inline-flex;\n}\n\n.___SLabel_1xrig_gg_._theme_info_1xrig_gg_ {\n color: #8a8e9b;\n}\n\n.___SLabel_1xrig_gg_._theme_danger_1xrig_gg_ {\n color: #ff4953;\n}\n\n.___SLabel_1xrig_gg_._theme_warning_1xrig_gg_ {\n color: #ff642d;\n}\n\n.___SLabel_1xrig_gg_._theme_success_1xrig_gg_ {\n color: #009f81;\n}\n\n.___SLabel_1xrig_gg_._theme_custom_1xrig_gg_ {\n color: var(--color_1xrig);\n}\n\n.___SCloseIcon_1xrig_gg_ {\n flex-shrink: 0;\n margin-left: 16px;\n}\n\n.___SNotice_1xrig_gg_._theme_custom_1xrig_gg_ {\n background-color: var(--backgroundColor_1xrig);\n border-color: var(--backgroundColor_1xrig);\n}\n"
58
58
  /*__inner_css_end__*/
59
- , "zricr_gg_")
59
+ , "1xrig_gg_")
60
60
  /*__reshadow_css_end__*/
61
61
  , {
62
- "__SNotice": "___SNotice_zricr_gg_",
63
- "_theme_info": "_theme_info_zricr_gg_",
64
- "__SCloseIcon": "___SCloseIcon_zricr_gg_",
65
- "_theme_danger": "_theme_danger_zricr_gg_",
66
- "_theme_warning": "_theme_warning_zricr_gg_",
67
- "_theme_success": "_theme_success_zricr_gg_",
68
- "__SContent": "___SContent_zricr_gg_",
69
- "__SActions": "___SActions_zricr_gg_",
70
- "__SLabel": "___SLabel_zricr_gg_",
71
- "_theme_custom": "_theme_custom_zricr_gg_",
72
- "--color": "--color_zricr",
73
- "--backgroundColor": "--backgroundColor_zricr"
62
+ "__SNotice": "___SNotice_1xrig_gg_",
63
+ "_theme_info": "_theme_info_1xrig_gg_",
64
+ "__SCloseIcon": "___SCloseIcon_1xrig_gg_",
65
+ "_theme_danger": "_theme_danger_1xrig_gg_",
66
+ "_theme_warning": "_theme_warning_1xrig_gg_",
67
+ "_theme_success": "_theme_success_1xrig_gg_",
68
+ "__SContent": "___SContent_1xrig_gg_",
69
+ "__SActions": "___SActions_1xrig_gg_",
70
+ "__SLabel": "___SLabel_1xrig_gg_",
71
+ "_theme_custom": "_theme_custom_1xrig_gg_",
72
+ "--color": "--color_1xrig",
73
+ "--backgroundColor": "--backgroundColor_1xrig"
74
74
  });
75
75
 
76
76
  function isCustomTheme(theme) {
package/lib/es6/Notice.js CHANGED
@@ -33,23 +33,23 @@ var style = (
33
33
  /*__reshadow_css_start__*/
34
34
  _sstyled.insert(
35
35
  /*__inner_css_start__*/
36
- ".___SNotice_zricr_gg_{display:flex;padding:16px;font-size:14px;line-height:1.42;box-sizing:border-box;border-style:solid;border-width:1px;border-radius:6px}.___SNotice_zricr_gg_._theme_info_zricr_gg_{background-color:#e9f7ff;border-color:#8ecdff}.___SNotice_zricr_gg_._theme_info_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#8a8e9b}.___SNotice_zricr_gg_._theme_info_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#6c6e79}.___SNotice_zricr_gg_._theme_danger_zricr_gg_{background-color:#fff0f7;border-color:#ffaeb5}.___SNotice_zricr_gg_._theme_danger_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#ff4953}.___SNotice_zricr_gg_._theme_danger_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#d1002f}.___SNotice_zricr_gg_._theme_warning_zricr_gg_{background-color:#fff3d9;border-color:#ffb26e}.___SNotice_zricr_gg_._theme_warning_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#ff642d}.___SNotice_zricr_gg_._theme_warning_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#c33909}.___SNotice_zricr_gg_._theme_success_zricr_gg_{background-color:#dbfee8;border-color:#59ddaa}.___SNotice_zricr_gg_._theme_success_zricr_gg_ .___SCloseIcon_zricr_gg_{color:#009f81}.___SNotice_zricr_gg_._theme_success_zricr_gg_ .___SCloseIcon_zricr_gg_:hover{color:#007c65}.___SContent_zricr_gg_{flex:1 1 auto;width:100%}.___SActions_zricr_gg_{flex-shrink:0;margin-top:12px}.___SLabel_zricr_gg_{margin-top:2px;margin-right:8px;display:inline-flex}.___SLabel_zricr_gg_._theme_info_zricr_gg_{color:#8a8e9b}.___SLabel_zricr_gg_._theme_danger_zricr_gg_{color:#ff4953}.___SLabel_zricr_gg_._theme_warning_zricr_gg_{color:#ff642d}.___SLabel_zricr_gg_._theme_success_zricr_gg_{color:#009f81}.___SLabel_zricr_gg_._theme_custom_zricr_gg_{color:var(--color_zricr)}.___SCloseIcon_zricr_gg_{flex-shrink:0;margin-left:16px}.___SNotice_zricr_gg_._theme_custom_zricr_gg_{background-color:var(--backgroundColor_zricr);border-color:var(--backgroundColor_zricr)}"
36
+ ":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.___SNotice_1xrig_gg_ {\n display: flex;\n padding: 16px;\n font-size: 14px;\n line-height: 1.42;\n box-sizing: border-box;\n border-style: solid;\n border-width: 1px;\n border-radius: 6px;\n}\n\n.___SNotice_1xrig_gg_._theme_info_1xrig_gg_ {\n background-color: #e9f7ff;\n border-color: #8ecdff\n}\n\n.___SNotice_1xrig_gg_._theme_info_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #8a8e9b\n }\n\n.___SNotice_1xrig_gg_._theme_info_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #6c6e79;\n }\n\n.___SNotice_1xrig_gg_._theme_danger_1xrig_gg_ {\n background-color: #fff0f7;\n border-color: #ffaeb5\n}\n\n.___SNotice_1xrig_gg_._theme_danger_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #ff4953\n }\n\n.___SNotice_1xrig_gg_._theme_danger_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #d1002f;\n }\n\n.___SNotice_1xrig_gg_._theme_warning_1xrig_gg_ {\n background-color: #fff3d9;\n border-color: #ffb26e\n}\n\n.___SNotice_1xrig_gg_._theme_warning_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #ff642d\n }\n\n.___SNotice_1xrig_gg_._theme_warning_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #c33909;\n }\n\n.___SNotice_1xrig_gg_._theme_success_1xrig_gg_ {\n background-color: #dbfee8;\n border-color: #59ddaa\n}\n\n.___SNotice_1xrig_gg_._theme_success_1xrig_gg_ .___SCloseIcon_1xrig_gg_ {\n color: #009f81\n }\n\n.___SNotice_1xrig_gg_._theme_success_1xrig_gg_ .___SCloseIcon_1xrig_gg_:hover {\n color: #007c65;\n }\n\n.___SContent_1xrig_gg_ {\n flex: 1 1 auto;\n width: 100%;\n}\n\n.___SActions_1xrig_gg_ {\n flex-shrink: 0;\n margin-top: 12px;\n}\n\n.___SLabel_1xrig_gg_ {\n margin-top: 2px;\n margin-right: 8px;\n display: inline-flex;\n}\n\n.___SLabel_1xrig_gg_._theme_info_1xrig_gg_ {\n color: #8a8e9b;\n}\n\n.___SLabel_1xrig_gg_._theme_danger_1xrig_gg_ {\n color: #ff4953;\n}\n\n.___SLabel_1xrig_gg_._theme_warning_1xrig_gg_ {\n color: #ff642d;\n}\n\n.___SLabel_1xrig_gg_._theme_success_1xrig_gg_ {\n color: #009f81;\n}\n\n.___SLabel_1xrig_gg_._theme_custom_1xrig_gg_ {\n color: var(--color_1xrig);\n}\n\n.___SCloseIcon_1xrig_gg_ {\n flex-shrink: 0;\n margin-left: 16px;\n}\n\n.___SNotice_1xrig_gg_._theme_custom_1xrig_gg_ {\n background-color: var(--backgroundColor_1xrig);\n border-color: var(--backgroundColor_1xrig);\n}\n"
37
37
  /*__inner_css_end__*/
38
- , "zricr_gg_")
38
+ , "1xrig_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
41
- "__SNotice": "___SNotice_zricr_gg_",
42
- "_theme_info": "_theme_info_zricr_gg_",
43
- "__SCloseIcon": "___SCloseIcon_zricr_gg_",
44
- "_theme_danger": "_theme_danger_zricr_gg_",
45
- "_theme_warning": "_theme_warning_zricr_gg_",
46
- "_theme_success": "_theme_success_zricr_gg_",
47
- "__SContent": "___SContent_zricr_gg_",
48
- "__SActions": "___SActions_zricr_gg_",
49
- "__SLabel": "___SLabel_zricr_gg_",
50
- "_theme_custom": "_theme_custom_zricr_gg_",
51
- "--color": "--color_zricr",
52
- "--backgroundColor": "--backgroundColor_zricr"
41
+ "__SNotice": "___SNotice_1xrig_gg_",
42
+ "_theme_info": "_theme_info_1xrig_gg_",
43
+ "__SCloseIcon": "___SCloseIcon_1xrig_gg_",
44
+ "_theme_danger": "_theme_danger_1xrig_gg_",
45
+ "_theme_warning": "_theme_warning_1xrig_gg_",
46
+ "_theme_success": "_theme_success_1xrig_gg_",
47
+ "__SContent": "___SContent_1xrig_gg_",
48
+ "__SActions": "___SActions_1xrig_gg_",
49
+ "__SLabel": "___SLabel_1xrig_gg_",
50
+ "_theme_custom": "_theme_custom_1xrig_gg_",
51
+ "--color": "--color_1xrig",
52
+ "--backgroundColor": "--backgroundColor_1xrig"
53
53
  });
54
54
 
55
55
  function isCustomTheme(theme) {
package/package.json CHANGED
@@ -1,27 +1,23 @@
1
1
  {
2
2
  "name": "@semcore/notice",
3
3
  "description": "Semrush Notice Component",
4
- "version": "4.1.18",
4
+ "version": "4.2.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/animation": "^1",
17
13
  "@semcore/utils": "^3.15",
18
14
  "@semcore/flex-box": "^4",
19
- "@semcore/icon": "^2.16",
15
+ "@semcore/icon": "2.16 - 3",
20
16
  "@semcore/notice-global": "^1"
21
17
  },
22
18
  "peerDependencies": {
23
19
  "@semcore/core": "^1.11",
24
- "react": "16.8 - 17"
20
+ "react": "16.8 - 18"
25
21
  },
26
22
  "jest": {
27
23
  "preset": "@semcore/jest-preset-ui"
@@ -32,7 +28,11 @@
32
28
  "directory": "semcore/notice"
33
29
  },
34
30
  "devDependencies": {
35
- "@types/react": "16.8 - 17",
31
+ "@types/react": "18.0.21",
36
32
  "@semcore/jest-preset-ui": "1.0.0"
33
+ },
34
+ "scripts": {
35
+ "build": "pnpm semcore-builder --source=js",
36
+ "test": "jest"
37
37
  }
38
- }
38
+ }