@semcore/notice-bubble 4.4.0 → 4.4.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 +6 -0
- package/lib/cjs/NoticeBubble.js +11 -11
- package/lib/es6/NoticeBubble.js +11 -11
- package/package.json +3 -2
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
|
-
".
|
|
70
|
+
".___SInfo_1ghap_gg_,.___SView_1ghap_gg_,.___SWarning_1ghap_gg_{position:relative;margin-bottom:var(--intergalactic-spacing-3x,12px);padding:var(--intergalactic-spacing-3x,12px) calc(var(--intergalactic-spacing-6x, 24px) + var(--intergalactic-spacing-1x, 4px)) var(--intergalactic-spacing-3x,12px) var(--intergalactic-spacing-3x,12px);width:100%;min-height:44px;border-radius:var(--intergalactic-rounded-medium,6px);overflow:hidden;box-sizing:border-box}.___SInfo_1ghap_gg_{background:var(--intergalactic-bg-primary-invert,#191b23)}.___SWarning_1ghap_gg_{background:var(--intergalactic-bg-primary-critical,#ff4953)}.___SMessage_1ghap_gg_{font-size:var(--intergalactic-fs-200,14px);color:var(--intergalactic-text-primary-invert,#fff);line-height:var(--intergalactic-lh-100,133%)}.___SDismiss_1ghap_gg_{cursor:pointer;position:absolute;right:0;top:0;padding:var(--intergalactic-spacing-2x,8px);color:var(--intergalactic-text-primary-invert,#fff)}.___SDismiss_1ghap_gg_:hover{color:var(--intergalactic-control-primary-invert-active,#e0e1e9)}.___SAction_1ghap_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}.___SNoticeBubble_1ghap_gg_{width:300px;position:fixed;z-index:var(--intergalactic-z-index-notice-bubble,999);right:var(--intergalactic-spacing-3x,12px);top:var(--intergalactic-spacing-3x,12px)}@media (max-width:767px){.___SNoticeBubble_1ghap_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}@keyframes enter_1ghap{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes exit_1ghap{0%{opacity:1}to{opacity:0}}"
|
|
71
71
|
/*__inner_css_end__*/
|
|
72
|
-
, "
|
|
72
|
+
, "1ghap_gg_")
|
|
73
73
|
/*__reshadow_css_end__*/
|
|
74
74
|
, {
|
|
75
|
-
"__SInfo": "
|
|
76
|
-
"__SView": "
|
|
77
|
-
"__SWarning": "
|
|
78
|
-
"__SMessage": "
|
|
79
|
-
"__SDismiss": "
|
|
80
|
-
"__SAction": "
|
|
81
|
-
"__SNoticeBubble": "
|
|
82
|
-
"@enter": "
|
|
83
|
-
"@exit": "
|
|
75
|
+
"__SInfo": "___SInfo_1ghap_gg_",
|
|
76
|
+
"__SView": "___SView_1ghap_gg_",
|
|
77
|
+
"__SWarning": "___SWarning_1ghap_gg_",
|
|
78
|
+
"__SMessage": "___SMessage_1ghap_gg_",
|
|
79
|
+
"__SDismiss": "___SDismiss_1ghap_gg_",
|
|
80
|
+
"__SAction": "___SAction_1ghap_gg_",
|
|
81
|
+
"__SNoticeBubble": "___SNoticeBubble_1ghap_gg_",
|
|
82
|
+
"@enter": "enter_1ghap",
|
|
83
|
+
"@exit": "exit_1ghap"
|
|
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
|
-
".
|
|
39
|
+
".___SInfo_1ghap_gg_,.___SView_1ghap_gg_,.___SWarning_1ghap_gg_{position:relative;margin-bottom:var(--intergalactic-spacing-3x,12px);padding:var(--intergalactic-spacing-3x,12px) calc(var(--intergalactic-spacing-6x, 24px) + var(--intergalactic-spacing-1x, 4px)) var(--intergalactic-spacing-3x,12px) var(--intergalactic-spacing-3x,12px);width:100%;min-height:44px;border-radius:var(--intergalactic-rounded-medium,6px);overflow:hidden;box-sizing:border-box}.___SInfo_1ghap_gg_{background:var(--intergalactic-bg-primary-invert,#191b23)}.___SWarning_1ghap_gg_{background:var(--intergalactic-bg-primary-critical,#ff4953)}.___SMessage_1ghap_gg_{font-size:var(--intergalactic-fs-200,14px);color:var(--intergalactic-text-primary-invert,#fff);line-height:var(--intergalactic-lh-100,133%)}.___SDismiss_1ghap_gg_{cursor:pointer;position:absolute;right:0;top:0;padding:var(--intergalactic-spacing-2x,8px);color:var(--intergalactic-text-primary-invert,#fff)}.___SDismiss_1ghap_gg_:hover{color:var(--intergalactic-control-primary-invert-active,#e0e1e9)}.___SAction_1ghap_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}.___SNoticeBubble_1ghap_gg_{width:300px;position:fixed;z-index:var(--intergalactic-z-index-notice-bubble,999);right:var(--intergalactic-spacing-3x,12px);top:var(--intergalactic-spacing-3x,12px)}@media (max-width:767px){.___SNoticeBubble_1ghap_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}@keyframes enter_1ghap{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes exit_1ghap{0%{opacity:1}to{opacity:0}}"
|
|
40
40
|
/*__inner_css_end__*/
|
|
41
|
-
, "
|
|
41
|
+
, "1ghap_gg_")
|
|
42
42
|
/*__reshadow_css_end__*/
|
|
43
43
|
, {
|
|
44
|
-
"__SInfo": "
|
|
45
|
-
"__SView": "
|
|
46
|
-
"__SWarning": "
|
|
47
|
-
"__SMessage": "
|
|
48
|
-
"__SDismiss": "
|
|
49
|
-
"__SAction": "
|
|
50
|
-
"__SNoticeBubble": "
|
|
51
|
-
"@enter": "
|
|
52
|
-
"@exit": "
|
|
44
|
+
"__SInfo": "___SInfo_1ghap_gg_",
|
|
45
|
+
"__SView": "___SView_1ghap_gg_",
|
|
46
|
+
"__SWarning": "___SWarning_1ghap_gg_",
|
|
47
|
+
"__SMessage": "___SMessage_1ghap_gg_",
|
|
48
|
+
"__SDismiss": "___SDismiss_1ghap_gg_",
|
|
49
|
+
"__SAction": "___SAction_1ghap_gg_",
|
|
50
|
+
"__SNoticeBubble": "___SNoticeBubble_1ghap_gg_",
|
|
51
|
+
"@enter": "enter_1ghap",
|
|
52
|
+
"@exit": "exit_1ghap"
|
|
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.
|
|
4
|
+
"version": "4.4.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@semcore/core": "^1.11",
|
|
20
|
-
"react": "16.8 - 18"
|
|
20
|
+
"react": "16.8 - 18",
|
|
21
|
+
"react-dom": "16.8 - 18"
|
|
21
22
|
},
|
|
22
23
|
"jest": {
|
|
23
24
|
"preset": "@semcore/jest-preset-ui"
|