@semcore/notice 4.1.19 → 4.2.1
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 +7 -5
- package/lib/cjs/Notice.js +14 -14
- package/lib/es6/Notice.js +14 -14
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,23 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [4.1
|
|
5
|
+
## [4.2.1] - 2022-10-17
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
- Version patch update due to children dependencies update (`@semcore/
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/animation` [1.6.0 ~> 1.6.1], `@semcore/utils` [3.39.0 ~> 3.39.0], `@semcore/flex-box` [4.6.0 ~> 4.6.1], `@semcore/icon` [3.0.0 ~> 3.0.1]).
|
|
10
10
|
|
|
11
|
-
## [4.2.0] -
|
|
11
|
+
## [4.2.0] - 2022-10-10
|
|
12
12
|
|
|
13
13
|
### Changed
|
|
14
14
|
|
|
15
|
+
- Added support for React 18 🔥
|
|
16
|
+
- Extended version range for dependency `@semcore/icons`.
|
|
15
17
|
- Color for Close icon with theme `info` was changed from `--blue-400` to `--gray-400`.
|
|
16
18
|
|
|
17
|
-
## [4.1.
|
|
19
|
+
## [4.1.19] - 2022-10-06
|
|
18
20
|
|
|
19
21
|
### Changed
|
|
20
22
|
|
|
21
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.
|
|
23
|
+
- Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
|
|
22
24
|
|
|
23
25
|
## [4.1.12] - 2022-08-23
|
|
24
26
|
|
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
|
-
":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.
|
|
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_1suj4_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_1suj4_gg_._theme_info_1suj4_gg_ {\n background-color: #e9f7ff;\n border-color: #8ecdff\n}\n\n.___SNotice_1suj4_gg_._theme_info_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #8a8e9b\n }\n\n.___SNotice_1suj4_gg_._theme_info_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #6c6e79;\n }\n\n.___SNotice_1suj4_gg_._theme_danger_1suj4_gg_ {\n background-color: #fff0f7;\n border-color: #ffaeb5\n}\n\n.___SNotice_1suj4_gg_._theme_danger_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #ff4953\n }\n\n.___SNotice_1suj4_gg_._theme_danger_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #d1002f;\n }\n\n.___SNotice_1suj4_gg_._theme_warning_1suj4_gg_ {\n background-color: #fff3d9;\n border-color: #ffb26e\n}\n\n.___SNotice_1suj4_gg_._theme_warning_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #ff642d\n }\n\n.___SNotice_1suj4_gg_._theme_warning_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #c33909;\n }\n\n.___SNotice_1suj4_gg_._theme_success_1suj4_gg_ {\n background-color: #dbfee8;\n border-color: #59ddaa\n}\n\n.___SNotice_1suj4_gg_._theme_success_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #009f81\n }\n\n.___SNotice_1suj4_gg_._theme_success_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #007c65;\n }\n\n.___SContent_1suj4_gg_ {\n flex: 1 1 auto;\n width: 100%;\n}\n\n.___SActions_1suj4_gg_ {\n flex-shrink: 0;\n margin-top: 12px;\n}\n\n.___SLabel_1suj4_gg_ {\n margin-top: 2px;\n margin-right: 8px;\n display: inline-flex;\n}\n\n.___SLabel_1suj4_gg_._theme_info_1suj4_gg_ {\n color: #8a8e9b;\n}\n\n.___SLabel_1suj4_gg_._theme_danger_1suj4_gg_ {\n color: #ff4953;\n}\n\n.___SLabel_1suj4_gg_._theme_warning_1suj4_gg_ {\n color: #ff642d;\n}\n\n.___SLabel_1suj4_gg_._theme_success_1suj4_gg_ {\n color: #009f81;\n}\n\n.___SLabel_1suj4_gg_._theme_custom_1suj4_gg_ {\n color: var(--color_1suj4);\n}\n\n.___SCloseIcon_1suj4_gg_ {\n flex-shrink: 0;\n margin-left: 16px;\n}\n\n.___SNotice_1suj4_gg_._theme_custom_1suj4_gg_ {\n background-color: var(--backgroundColor_1suj4);\n border-color: var(--backgroundColor_1suj4);\n}\n"
|
|
58
58
|
/*__inner_css_end__*/
|
|
59
|
-
, "
|
|
59
|
+
, "1suj4_gg_")
|
|
60
60
|
/*__reshadow_css_end__*/
|
|
61
61
|
, {
|
|
62
|
-
"__SNotice": "
|
|
63
|
-
"_theme_info": "
|
|
64
|
-
"__SCloseIcon": "
|
|
65
|
-
"_theme_danger": "
|
|
66
|
-
"_theme_warning": "
|
|
67
|
-
"_theme_success": "
|
|
68
|
-
"__SContent": "
|
|
69
|
-
"__SActions": "
|
|
70
|
-
"__SLabel": "
|
|
71
|
-
"_theme_custom": "
|
|
72
|
-
"--color": "--
|
|
73
|
-
"--backgroundColor": "--
|
|
62
|
+
"__SNotice": "___SNotice_1suj4_gg_",
|
|
63
|
+
"_theme_info": "_theme_info_1suj4_gg_",
|
|
64
|
+
"__SCloseIcon": "___SCloseIcon_1suj4_gg_",
|
|
65
|
+
"_theme_danger": "_theme_danger_1suj4_gg_",
|
|
66
|
+
"_theme_warning": "_theme_warning_1suj4_gg_",
|
|
67
|
+
"_theme_success": "_theme_success_1suj4_gg_",
|
|
68
|
+
"__SContent": "___SContent_1suj4_gg_",
|
|
69
|
+
"__SActions": "___SActions_1suj4_gg_",
|
|
70
|
+
"__SLabel": "___SLabel_1suj4_gg_",
|
|
71
|
+
"_theme_custom": "_theme_custom_1suj4_gg_",
|
|
72
|
+
"--color": "--color_1suj4",
|
|
73
|
+
"--backgroundColor": "--backgroundColor_1suj4"
|
|
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
|
-
":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.
|
|
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_1suj4_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_1suj4_gg_._theme_info_1suj4_gg_ {\n background-color: #e9f7ff;\n border-color: #8ecdff\n}\n\n.___SNotice_1suj4_gg_._theme_info_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #8a8e9b\n }\n\n.___SNotice_1suj4_gg_._theme_info_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #6c6e79;\n }\n\n.___SNotice_1suj4_gg_._theme_danger_1suj4_gg_ {\n background-color: #fff0f7;\n border-color: #ffaeb5\n}\n\n.___SNotice_1suj4_gg_._theme_danger_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #ff4953\n }\n\n.___SNotice_1suj4_gg_._theme_danger_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #d1002f;\n }\n\n.___SNotice_1suj4_gg_._theme_warning_1suj4_gg_ {\n background-color: #fff3d9;\n border-color: #ffb26e\n}\n\n.___SNotice_1suj4_gg_._theme_warning_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #ff642d\n }\n\n.___SNotice_1suj4_gg_._theme_warning_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #c33909;\n }\n\n.___SNotice_1suj4_gg_._theme_success_1suj4_gg_ {\n background-color: #dbfee8;\n border-color: #59ddaa\n}\n\n.___SNotice_1suj4_gg_._theme_success_1suj4_gg_ .___SCloseIcon_1suj4_gg_ {\n color: #009f81\n }\n\n.___SNotice_1suj4_gg_._theme_success_1suj4_gg_ .___SCloseIcon_1suj4_gg_:hover {\n color: #007c65;\n }\n\n.___SContent_1suj4_gg_ {\n flex: 1 1 auto;\n width: 100%;\n}\n\n.___SActions_1suj4_gg_ {\n flex-shrink: 0;\n margin-top: 12px;\n}\n\n.___SLabel_1suj4_gg_ {\n margin-top: 2px;\n margin-right: 8px;\n display: inline-flex;\n}\n\n.___SLabel_1suj4_gg_._theme_info_1suj4_gg_ {\n color: #8a8e9b;\n}\n\n.___SLabel_1suj4_gg_._theme_danger_1suj4_gg_ {\n color: #ff4953;\n}\n\n.___SLabel_1suj4_gg_._theme_warning_1suj4_gg_ {\n color: #ff642d;\n}\n\n.___SLabel_1suj4_gg_._theme_success_1suj4_gg_ {\n color: #009f81;\n}\n\n.___SLabel_1suj4_gg_._theme_custom_1suj4_gg_ {\n color: var(--color_1suj4);\n}\n\n.___SCloseIcon_1suj4_gg_ {\n flex-shrink: 0;\n margin-left: 16px;\n}\n\n.___SNotice_1suj4_gg_._theme_custom_1suj4_gg_ {\n background-color: var(--backgroundColor_1suj4);\n border-color: var(--backgroundColor_1suj4);\n}\n"
|
|
37
37
|
/*__inner_css_end__*/
|
|
38
|
-
, "
|
|
38
|
+
, "1suj4_gg_")
|
|
39
39
|
/*__reshadow_css_end__*/
|
|
40
40
|
, {
|
|
41
|
-
"__SNotice": "
|
|
42
|
-
"_theme_info": "
|
|
43
|
-
"__SCloseIcon": "
|
|
44
|
-
"_theme_danger": "
|
|
45
|
-
"_theme_warning": "
|
|
46
|
-
"_theme_success": "
|
|
47
|
-
"__SContent": "
|
|
48
|
-
"__SActions": "
|
|
49
|
-
"__SLabel": "
|
|
50
|
-
"_theme_custom": "
|
|
51
|
-
"--color": "--
|
|
52
|
-
"--backgroundColor": "--
|
|
41
|
+
"__SNotice": "___SNotice_1suj4_gg_",
|
|
42
|
+
"_theme_info": "_theme_info_1suj4_gg_",
|
|
43
|
+
"__SCloseIcon": "___SCloseIcon_1suj4_gg_",
|
|
44
|
+
"_theme_danger": "_theme_danger_1suj4_gg_",
|
|
45
|
+
"_theme_warning": "_theme_warning_1suj4_gg_",
|
|
46
|
+
"_theme_success": "_theme_success_1suj4_gg_",
|
|
47
|
+
"__SContent": "___SContent_1suj4_gg_",
|
|
48
|
+
"__SActions": "___SActions_1suj4_gg_",
|
|
49
|
+
"__SLabel": "___SLabel_1suj4_gg_",
|
|
50
|
+
"_theme_custom": "_theme_custom_1suj4_gg_",
|
|
51
|
+
"--color": "--color_1suj4",
|
|
52
|
+
"--backgroundColor": "--backgroundColor_1suj4"
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
function isCustomTheme(theme) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/notice",
|
|
3
3
|
"description": "Semrush Notice Component",
|
|
4
|
-
"version": "4.1
|
|
4
|
+
"version": "4.2.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"@semcore/animation": "^1",
|
|
13
13
|
"@semcore/utils": "^3.15",
|
|
14
14
|
"@semcore/flex-box": "^4",
|
|
15
|
-
"@semcore/icon": "
|
|
15
|
+
"@semcore/icon": "2.16 - 3",
|
|
16
16
|
"@semcore/notice-global": "^1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@semcore/core": "^1.11",
|
|
20
|
-
"react": "16.8 -
|
|
20
|
+
"react": "16.8 - 18"
|
|
21
21
|
},
|
|
22
22
|
"jest": {
|
|
23
23
|
"preset": "@semcore/jest-preset-ui"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"directory": "semcore/notice"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/react": "
|
|
31
|
+
"@types/react": "18.0.21",
|
|
32
32
|
"@semcore/jest-preset-ui": "1.0.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|