@semcore/notice-bubble 4.1.7 → 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 +6 -0
- package/lib/cjs/NoticeBubble.js +11 -11
- package/lib/es6/NoticeBubble.js +11 -11
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/lib/cjs/NoticeBubble.js
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.
|
|
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_15oy6_gg_,\n.___SWarning_15oy6_gg_,\n.___SView_15oy6_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_15oy6_gg_ {\n background: #191b23;\n}\n\n.___SWarning_15oy6_gg_ {\n background: #ff4953;\n}\n\n.___SMessage_15oy6_gg_ {\n font-size: 14px;\n color: #fff;\n line-height: 1.33;\n}\n\n.___SDismiss_15oy6_gg_ {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n color: #ffffff\n}\n\n.___SDismiss_15oy6_gg_:hover {\n color: #e0e1e9;\n }\n\n.___SAction_15oy6_gg_ {\n margin-top: 8px;\n}\n\n.___SNoticeBubble_15oy6_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_15oy6_gg_ {\n width: calc(100% - 24px)\n}\n }\n\n@keyframes enter_15oy6 {\n from {\n transform: translate(100%, 0);\n }\n to {\n transform: translate(0, 0);\n }\n}\n\n@keyframes exit_15oy6 {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n"
|
|
71
71
|
/*__inner_css_end__*/
|
|
72
|
-
, "
|
|
72
|
+
, "15oy6_gg_")
|
|
73
73
|
/*__reshadow_css_end__*/
|
|
74
74
|
, {
|
|
75
|
-
"__SInfo": "
|
|
76
|
-
"__SWarning": "
|
|
77
|
-
"__SView": "
|
|
78
|
-
"__SMessage": "
|
|
79
|
-
"__SDismiss": "
|
|
80
|
-
"__SAction": "
|
|
81
|
-
"__SNoticeBubble": "
|
|
82
|
-
"@enter": "
|
|
83
|
-
"@exit": "
|
|
75
|
+
"__SInfo": "___SInfo_15oy6_gg_",
|
|
76
|
+
"__SWarning": "___SWarning_15oy6_gg_",
|
|
77
|
+
"__SView": "___SView_15oy6_gg_",
|
|
78
|
+
"__SMessage": "___SMessage_15oy6_gg_",
|
|
79
|
+
"__SDismiss": "___SDismiss_15oy6_gg_",
|
|
80
|
+
"__SAction": "___SAction_15oy6_gg_",
|
|
81
|
+
"__SNoticeBubble": "___SNoticeBubble_15oy6_gg_",
|
|
82
|
+
"@enter": "enter_15oy6",
|
|
83
|
+
"@exit": "exit_15oy6"
|
|
84
84
|
});
|
|
85
85
|
|
|
86
86
|
var Notices = function Notices(props) {
|
package/lib/es6/NoticeBubble.js
CHANGED
|
@@ -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.
|
|
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_15oy6_gg_,\n.___SWarning_15oy6_gg_,\n.___SView_15oy6_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_15oy6_gg_ {\n background: #191b23;\n}\n\n.___SWarning_15oy6_gg_ {\n background: #ff4953;\n}\n\n.___SMessage_15oy6_gg_ {\n font-size: 14px;\n color: #fff;\n line-height: 1.33;\n}\n\n.___SDismiss_15oy6_gg_ {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n padding: 8px;\n color: #ffffff\n}\n\n.___SDismiss_15oy6_gg_:hover {\n color: #e0e1e9;\n }\n\n.___SAction_15oy6_gg_ {\n margin-top: 8px;\n}\n\n.___SNoticeBubble_15oy6_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_15oy6_gg_ {\n width: calc(100% - 24px)\n}\n }\n\n@keyframes enter_15oy6 {\n from {\n transform: translate(100%, 0);\n }\n to {\n transform: translate(0, 0);\n }\n}\n\n@keyframes exit_15oy6 {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n"
|
|
40
40
|
/*__inner_css_end__*/
|
|
41
|
-
, "
|
|
41
|
+
, "15oy6_gg_")
|
|
42
42
|
/*__reshadow_css_end__*/
|
|
43
43
|
, {
|
|
44
|
-
"__SInfo": "
|
|
45
|
-
"__SWarning": "
|
|
46
|
-
"__SView": "
|
|
47
|
-
"__SMessage": "
|
|
48
|
-
"__SDismiss": "
|
|
49
|
-
"__SAction": "
|
|
50
|
-
"__SNoticeBubble": "
|
|
51
|
-
"@enter": "
|
|
52
|
-
"@exit": "
|
|
44
|
+
"__SInfo": "___SInfo_15oy6_gg_",
|
|
45
|
+
"__SWarning": "___SWarning_15oy6_gg_",
|
|
46
|
+
"__SView": "___SView_15oy6_gg_",
|
|
47
|
+
"__SMessage": "___SMessage_15oy6_gg_",
|
|
48
|
+
"__SDismiss": "___SDismiss_15oy6_gg_",
|
|
49
|
+
"__SAction": "___SAction_15oy6_gg_",
|
|
50
|
+
"__SNoticeBubble": "___SNoticeBubble_15oy6_gg_",
|
|
51
|
+
"@enter": "enter_15oy6",
|
|
52
|
+
"@exit": "exit_15oy6"
|
|
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.
|
|
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",
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@semcore/utils": "^3.24",
|
|
13
|
-
"@semcore/icon": "
|
|
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 -
|
|
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": "
|
|
31
|
+
"@types/react": "18.0.21",
|
|
32
32
|
"@semcore/jest-preset-ui": "1.0.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|