@semcore/notice 4.2.0 → 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 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.2.1] - 2022-10-17
6
+
7
+ ### Changed
8
+
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
+
5
11
  ## [4.2.0] - 2022-10-10
6
12
 
7
13
  ### Changed
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.___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"
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
- , "1xrig_gg_")
59
+ , "1suj4_gg_")
60
60
  /*__reshadow_css_end__*/
61
61
  , {
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"
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.___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"
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
- , "1xrig_gg_")
38
+ , "1suj4_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
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"
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.2.0",
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",