@semcore/notice-bubble 4.1.7 → 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,18 @@
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/utils` [3.39.0 ~> 3.39.0], `@semcore/icon` [3.0.0 ~> 3.0.1], `@semcore/flex-box` [4.6.0 ~> 4.6.1], `@semcore/animation` [1.6.0 ~> 1.6.1]).
10
+
11
+ ## [4.2.0] - 2022-10-10
12
+
13
+ ### Changed
14
+
15
+ - Added support for React 18 🔥
16
+
5
17
  ## [4.1.7] - 2022-10-06
6
18
 
7
19
  ### Changed
@@ -67,20 +67,20 @@ var style = (
67
67
  /*__reshadow_css_start__*/
68
68
  _core.sstyled.insert(
69
69
  /*__inner_css_start__*/
70
- ":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.___SInfo_1aroa_gg_,\n.___SWarning_1aroa_gg_,\n.___SView_1aroa_gg_ {\n position: relative;\n margin-bottom: 12px;\n padding: 12px 28px 12px 12px;\n width: 100%;\n min-height: 44px;\n border-radius: 6px;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.___SInfo_1aroa_gg_ {\n background: #191b23;\n}\n\n.___SWarning_1aroa_gg_ {\n background: #ff4953;\n}\n\n.___SMessage_1aroa_gg_ {\n font-size: 14px;\n color: #fff;\n line-height: 1.33;\n}\n\n.___SDismiss_1aroa_gg_ {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n color: #ffffff\n}\n\n.___SDismiss_1aroa_gg_:hover {\n color: #e0e1e9;\n }\n\n.___SAction_1aroa_gg_ {\n margin-top: 8px;\n}\n\n.___SNoticeBubble_1aroa_gg_ {\n width: 300px;\n position: fixed;\n z-index: 1010;\n right: 12px;\n top: 12px\n}\n\n@media (max-width: 767px) {\n\n.___SNoticeBubble_1aroa_gg_ {\n width: calc(100% - 24px)\n}\n }\n\n@keyframes enter_1aroa {\n from {\n transform: translate(100%, 0);\n }\n to {\n transform: translate(0, 0);\n }\n}\n\n@keyframes exit_1aroa {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n"
70
+ ":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.___SInfo_f4724_gg_,\n.___SWarning_f4724_gg_,\n.___SView_f4724_gg_ {\n position: relative;\n margin-bottom: 12px;\n padding: 12px 28px 12px 12px;\n width: 100%;\n min-height: 44px;\n border-radius: 6px;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.___SInfo_f4724_gg_ {\n background: #191b23;\n}\n\n.___SWarning_f4724_gg_ {\n background: #ff4953;\n}\n\n.___SMessage_f4724_gg_ {\n font-size: 14px;\n color: #fff;\n line-height: 1.33;\n}\n\n.___SDismiss_f4724_gg_ {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n color: #ffffff\n}\n\n.___SDismiss_f4724_gg_:hover {\n color: #e0e1e9;\n }\n\n.___SAction_f4724_gg_ {\n margin-top: 8px;\n}\n\n.___SNoticeBubble_f4724_gg_ {\n width: 300px;\n position: fixed;\n z-index: 1010;\n right: 12px;\n top: 12px\n}\n\n@media (max-width: 767px) {\n\n.___SNoticeBubble_f4724_gg_ {\n width: calc(100% - 24px)\n}\n }\n\n@keyframes enter_f4724 {\n from {\n transform: translate(100%, 0);\n }\n to {\n transform: translate(0, 0);\n }\n}\n\n@keyframes exit_f4724 {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n"
71
71
  /*__inner_css_end__*/
72
- , "1aroa_gg_")
72
+ , "f4724_gg_")
73
73
  /*__reshadow_css_end__*/
74
74
  , {
75
- "__SInfo": "___SInfo_1aroa_gg_",
76
- "__SWarning": "___SWarning_1aroa_gg_",
77
- "__SView": "___SView_1aroa_gg_",
78
- "__SMessage": "___SMessage_1aroa_gg_",
79
- "__SDismiss": "___SDismiss_1aroa_gg_",
80
- "__SAction": "___SAction_1aroa_gg_",
81
- "__SNoticeBubble": "___SNoticeBubble_1aroa_gg_",
82
- "@enter": "enter_1aroa",
83
- "@exit": "exit_1aroa"
75
+ "__SInfo": "___SInfo_f4724_gg_",
76
+ "__SWarning": "___SWarning_f4724_gg_",
77
+ "__SView": "___SView_f4724_gg_",
78
+ "__SMessage": "___SMessage_f4724_gg_",
79
+ "__SDismiss": "___SDismiss_f4724_gg_",
80
+ "__SAction": "___SAction_f4724_gg_",
81
+ "__SNoticeBubble": "___SNoticeBubble_f4724_gg_",
82
+ "@enter": "enter_f4724",
83
+ "@exit": "exit_f4724"
84
84
  });
85
85
 
86
86
  var Notices = function Notices(props) {
@@ -36,20 +36,20 @@ var style = (
36
36
  /*__reshadow_css_start__*/
37
37
  _sstyled.insert(
38
38
  /*__inner_css_start__*/
39
- ":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.___SInfo_1aroa_gg_,\n.___SWarning_1aroa_gg_,\n.___SView_1aroa_gg_ {\n position: relative;\n margin-bottom: 12px;\n padding: 12px 28px 12px 12px;\n width: 100%;\n min-height: 44px;\n border-radius: 6px;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.___SInfo_1aroa_gg_ {\n background: #191b23;\n}\n\n.___SWarning_1aroa_gg_ {\n background: #ff4953;\n}\n\n.___SMessage_1aroa_gg_ {\n font-size: 14px;\n color: #fff;\n line-height: 1.33;\n}\n\n.___SDismiss_1aroa_gg_ {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n color: #ffffff\n}\n\n.___SDismiss_1aroa_gg_:hover {\n color: #e0e1e9;\n }\n\n.___SAction_1aroa_gg_ {\n margin-top: 8px;\n}\n\n.___SNoticeBubble_1aroa_gg_ {\n width: 300px;\n position: fixed;\n z-index: 1010;\n right: 12px;\n top: 12px\n}\n\n@media (max-width: 767px) {\n\n.___SNoticeBubble_1aroa_gg_ {\n width: calc(100% - 24px)\n}\n }\n\n@keyframes enter_1aroa {\n from {\n transform: translate(100%, 0);\n }\n to {\n transform: translate(0, 0);\n }\n}\n\n@keyframes exit_1aroa {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n"
39
+ ":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.___SInfo_f4724_gg_,\n.___SWarning_f4724_gg_,\n.___SView_f4724_gg_ {\n position: relative;\n margin-bottom: 12px;\n padding: 12px 28px 12px 12px;\n width: 100%;\n min-height: 44px;\n border-radius: 6px;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.___SInfo_f4724_gg_ {\n background: #191b23;\n}\n\n.___SWarning_f4724_gg_ {\n background: #ff4953;\n}\n\n.___SMessage_f4724_gg_ {\n font-size: 14px;\n color: #fff;\n line-height: 1.33;\n}\n\n.___SDismiss_f4724_gg_ {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n color: #ffffff\n}\n\n.___SDismiss_f4724_gg_:hover {\n color: #e0e1e9;\n }\n\n.___SAction_f4724_gg_ {\n margin-top: 8px;\n}\n\n.___SNoticeBubble_f4724_gg_ {\n width: 300px;\n position: fixed;\n z-index: 1010;\n right: 12px;\n top: 12px\n}\n\n@media (max-width: 767px) {\n\n.___SNoticeBubble_f4724_gg_ {\n width: calc(100% - 24px)\n}\n }\n\n@keyframes enter_f4724 {\n from {\n transform: translate(100%, 0);\n }\n to {\n transform: translate(0, 0);\n }\n}\n\n@keyframes exit_f4724 {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n"
40
40
  /*__inner_css_end__*/
41
- , "1aroa_gg_")
41
+ , "f4724_gg_")
42
42
  /*__reshadow_css_end__*/
43
43
  , {
44
- "__SInfo": "___SInfo_1aroa_gg_",
45
- "__SWarning": "___SWarning_1aroa_gg_",
46
- "__SView": "___SView_1aroa_gg_",
47
- "__SMessage": "___SMessage_1aroa_gg_",
48
- "__SDismiss": "___SDismiss_1aroa_gg_",
49
- "__SAction": "___SAction_1aroa_gg_",
50
- "__SNoticeBubble": "___SNoticeBubble_1aroa_gg_",
51
- "@enter": "enter_1aroa",
52
- "@exit": "exit_1aroa"
44
+ "__SInfo": "___SInfo_f4724_gg_",
45
+ "__SWarning": "___SWarning_f4724_gg_",
46
+ "__SView": "___SView_f4724_gg_",
47
+ "__SMessage": "___SMessage_f4724_gg_",
48
+ "__SDismiss": "___SDismiss_f4724_gg_",
49
+ "__SAction": "___SAction_f4724_gg_",
50
+ "__SNoticeBubble": "___SNoticeBubble_f4724_gg_",
51
+ "@enter": "enter_f4724",
52
+ "@exit": "exit_f4724"
53
53
  });
54
54
 
55
55
  var Notices = function Notices(props) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/notice-bubble",
3
3
  "description": "Semrush NoticeBubble Component",
4
- "version": "4.1.7",
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",
@@ -10,14 +10,14 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@semcore/utils": "^3.24",
13
- "@semcore/icon": "^2.16",
13
+ "@semcore/icon": "2.16 - 3",
14
14
  "@semcore/portal": "^2",
15
15
  "@semcore/flex-box": "^4",
16
16
  "@semcore/animation": "^1"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@semcore/core": "^1.11",
20
- "react": "16.8 - 17"
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-bubble"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/react": "16.8 - 17",
31
+ "@types/react": "18.0.21",
32
32
  "@semcore/jest-preset-ui": "1.0.0"
33
33
  },
34
34
  "scripts": {