@semcore/notice-bubble 5.25.1 → 5.26.0-prerelease.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 +12 -12
- package/lib/es6/NoticeBubble.js +12 -12
- package/package.json +2 -2
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
|
+
## [5.26.0] - 2024-03-22
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/icon` [4.28.0 ~> 4.29.0]).
|
|
10
|
+
|
|
5
11
|
## [5.25.1] - 2024-03-18
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/lib/cjs/NoticeBubble.js
CHANGED
|
@@ -31,18 +31,18 @@ var _useCssVariable = require("@semcore/utils/lib/useCssVariable");
|
|
|
31
31
|
var _ThemeProvider = require("@semcore/utils/lib/ThemeProvider");
|
|
32
32
|
var _excluded = ["forwardRef", "styles", "onMouseEnter", "onMouseLeave", "getI18nText", "icon", "children", "action"];
|
|
33
33
|
/*__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
34
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
35
|
-
"__SContent": "
|
|
36
|
-
"__SMessage": "
|
|
37
|
-
"__SNoticeBubble": "
|
|
38
|
-
"_disablePortal": "
|
|
39
|
-
"@enter": "
|
|
40
|
-
"@exit": "
|
|
41
|
-
"__SBubble": "
|
|
42
|
-
"__SView": "
|
|
43
|
-
"_type_info": "
|
|
44
|
-
"_type_warning": "
|
|
45
|
-
"__SDismiss": "
|
|
34
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1at18{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_1at18{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_1at18_gg_,.___SView_1at18_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%;border-radius:var(--intergalactic-popper-rounded, 6px);overflow:hidden;box-sizing:border-box;color:var(--intergalactic-text-primary-invert, #ffffff);gap:var(--intergalactic-spacing-2x, 8px)}.___SBubble_1at18_gg_._type_info_1at18_gg_,.___SView_1at18_gg_._type_info_1at18_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_1at18_gg_._type_warning_1at18_gg_,.___SView_1at18_gg_._type_warning_1at18_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_1at18_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_1at18_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-100, 133%)}.___SDismiss_1at18_gg_{cursor:pointer;position:absolute;right:0;top:0;padding:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-primary-invert, #ffffff);border:0;background:0 0}@media (hover:hover){.___SDismiss_1at18_gg_:hover{color:var(--intergalactic-control-primary-invert-active, #e0e1e9)}}.___SNoticeBubble_1at18_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_1at18_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_1at18_gg_.__disablePortal_1at18_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_1at18_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}" /*__inner_css_end__*/, "1at18_gg_") /*__reshadow_css_end__*/, {
|
|
35
|
+
"__SContent": "___SContent_1at18_gg_",
|
|
36
|
+
"__SMessage": "___SMessage_1at18_gg_",
|
|
37
|
+
"__SNoticeBubble": "___SNoticeBubble_1at18_gg_",
|
|
38
|
+
"_disablePortal": "__disablePortal_1at18_gg_",
|
|
39
|
+
"@enter": "enter_1at18",
|
|
40
|
+
"@exit": "exit_1at18",
|
|
41
|
+
"__SBubble": "___SBubble_1at18_gg_",
|
|
42
|
+
"__SView": "___SView_1at18_gg_",
|
|
43
|
+
"_type_info": "_type_info_1at18_gg_",
|
|
44
|
+
"_type_warning": "_type_warning_1at18_gg_",
|
|
45
|
+
"__SDismiss": "___SDismiss_1at18_gg_"
|
|
46
46
|
});
|
|
47
47
|
var Notices = function Notices(props) {
|
|
48
48
|
var styles = props.styles,
|
package/lib/es6/NoticeBubble.js
CHANGED
|
@@ -25,18 +25,18 @@ import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
|
25
25
|
import { useCssVariable } from '@semcore/utils/lib/useCssVariable';
|
|
26
26
|
import { contextThemeEnhance } from '@semcore/utils/lib/ThemeProvider';
|
|
27
27
|
/*__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
28
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
29
|
-
"__SContent": "
|
|
30
|
-
"__SMessage": "
|
|
31
|
-
"__SNoticeBubble": "
|
|
32
|
-
"_disablePortal": "
|
|
33
|
-
"@enter": "
|
|
34
|
-
"@exit": "
|
|
35
|
-
"__SBubble": "
|
|
36
|
-
"__SView": "
|
|
37
|
-
"_type_info": "
|
|
38
|
-
"_type_warning": "
|
|
39
|
-
"__SDismiss": "
|
|
28
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1at18{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_1at18{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_1at18_gg_,.___SView_1at18_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%;border-radius:var(--intergalactic-popper-rounded, 6px);overflow:hidden;box-sizing:border-box;color:var(--intergalactic-text-primary-invert, #ffffff);gap:var(--intergalactic-spacing-2x, 8px)}.___SBubble_1at18_gg_._type_info_1at18_gg_,.___SView_1at18_gg_._type_info_1at18_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_1at18_gg_._type_warning_1at18_gg_,.___SView_1at18_gg_._type_warning_1at18_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_1at18_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_1at18_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-100, 133%)}.___SDismiss_1at18_gg_{cursor:pointer;position:absolute;right:0;top:0;padding:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-primary-invert, #ffffff);border:0;background:0 0}@media (hover:hover){.___SDismiss_1at18_gg_:hover{color:var(--intergalactic-control-primary-invert-active, #e0e1e9)}}.___SNoticeBubble_1at18_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_1at18_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_1at18_gg_.__disablePortal_1at18_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_1at18_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}" /*__inner_css_end__*/, "1at18_gg_") /*__reshadow_css_end__*/, {
|
|
29
|
+
"__SContent": "___SContent_1at18_gg_",
|
|
30
|
+
"__SMessage": "___SMessage_1at18_gg_",
|
|
31
|
+
"__SNoticeBubble": "___SNoticeBubble_1at18_gg_",
|
|
32
|
+
"_disablePortal": "__disablePortal_1at18_gg_",
|
|
33
|
+
"@enter": "enter_1at18",
|
|
34
|
+
"@exit": "exit_1at18",
|
|
35
|
+
"__SBubble": "___SBubble_1at18_gg_",
|
|
36
|
+
"__SView": "___SView_1at18_gg_",
|
|
37
|
+
"_type_info": "_type_info_1at18_gg_",
|
|
38
|
+
"_type_warning": "_type_warning_1at18_gg_",
|
|
39
|
+
"__SDismiss": "___SDismiss_1at18_gg_"
|
|
40
40
|
});
|
|
41
41
|
var Notices = function Notices(props) {
|
|
42
42
|
var styles = props.styles,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/notice-bubble",
|
|
3
3
|
"description": "Semrush NoticeBubble Component",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.26.0-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@semcore/utils": "4.21.0",
|
|
13
|
-
"@semcore/icon": "4.
|
|
13
|
+
"@semcore/icon": "4.29.0-prerelease.0",
|
|
14
14
|
"@semcore/portal": "3.18.0",
|
|
15
15
|
"@semcore/flex-box": "5.20.0",
|
|
16
16
|
"@semcore/animation": "2.20.0"
|