@semcore/notice-bubble 16.1.10 → 16.1.11-prerelease.3
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 +15 -15
- package/lib/es6/NoticeBubble.js +15 -15
- package/lib/esm/NoticeBubble.mjs +16 -16
- package/package.json +8 -8
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
|
+
## [16.1.11] - 2025-10-27
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/icon` [16.5.1 ~> 16.7.2], `@semcore/flex-box` [16.0.10 ~> 16.0.11], `@semcore/animation` [16.0.6 ~> 16.0.7], `@semcore/button` [16.0.10 ~> 16.0.11], `@semcore/base-components` [16.4.0 ~> 16.4.1]).
|
|
10
|
+
|
|
5
11
|
## [16.1.10] - 2025-09-20
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/lib/cjs/NoticeBubble.js
CHANGED
|
@@ -36,23 +36,23 @@ var _utils = require("./utils");
|
|
|
36
36
|
var _excluded = ["focusLock"],
|
|
37
37
|
_excluded2 = ["forwardRef", "styles", "onMouseEnter", "onMouseLeave", "getI18nText", "icon", "children", "action", "type"];
|
|
38
38
|
/*!__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
39
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
39
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes enter_wvcfs{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_wvcfs{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_wvcfs_gg_,.___SView_wvcfs_gg_{position:relative;margin-bottom:var(--intergalactic-spacing-3x, 12px);padding:var(--intergalactic-spacing-3x, 12px);padding-right:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-1x, 4px));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_wvcfs_gg_._type_info_wvcfs_gg_,.___SView_wvcfs_gg_._type_info_wvcfs_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_wvcfs_gg_._type_warning_wvcfs_gg_,.___SView_wvcfs_gg_._type_warning_wvcfs_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_wvcfs_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_wvcfs_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_wvcfs_gg_{cursor:pointer;position:absolute;right:0;top:0;margin-top:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:var(--intergalactic-spacing-2x, 8px);flex-shrink:0;border:0;background:0 0}.___SDismiss_wvcfs_gg_.__use_wvcfs_gg_{padding:0 1px}.___SIcon_wvcfs_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_wvcfs_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_wvcfs_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_wvcfs_gg_.__disablePortal_wvcfs_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_wvcfs_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_wvcfs_gg_{display:contents}", /*__inner_css_end__*/"wvcfs_gg_"),
|
|
40
40
|
/*__reshadow_css_end__*/
|
|
41
41
|
{
|
|
42
|
-
"__SContent": "
|
|
43
|
-
"__SMessage": "
|
|
44
|
-
"__SDismiss": "
|
|
45
|
-
"_use": "
|
|
46
|
-
"__SIcon": "
|
|
47
|
-
"__SNoticeBubble": "
|
|
48
|
-
"_disablePortal": "
|
|
49
|
-
"__SNoticeAriaLiveWrapper": "
|
|
50
|
-
"@enter": "
|
|
51
|
-
"@exit": "
|
|
52
|
-
"__SBubble": "
|
|
53
|
-
"__SView": "
|
|
54
|
-
"_type_info": "
|
|
55
|
-
"_type_warning": "
|
|
42
|
+
"__SContent": "___SContent_wvcfs_gg_",
|
|
43
|
+
"__SMessage": "___SMessage_wvcfs_gg_",
|
|
44
|
+
"__SDismiss": "___SDismiss_wvcfs_gg_",
|
|
45
|
+
"_use": "__use_wvcfs_gg_",
|
|
46
|
+
"__SIcon": "___SIcon_wvcfs_gg_",
|
|
47
|
+
"__SNoticeBubble": "___SNoticeBubble_wvcfs_gg_",
|
|
48
|
+
"_disablePortal": "__disablePortal_wvcfs_gg_",
|
|
49
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_wvcfs_gg_",
|
|
50
|
+
"@enter": "enter_wvcfs",
|
|
51
|
+
"@exit": "exit_wvcfs",
|
|
52
|
+
"__SBubble": "___SBubble_wvcfs_gg_",
|
|
53
|
+
"__SView": "___SView_wvcfs_gg_",
|
|
54
|
+
"_type_info": "_type_info_wvcfs_gg_",
|
|
55
|
+
"_type_warning": "_type_warning_wvcfs_gg_"
|
|
56
56
|
});
|
|
57
57
|
var Notices = function Notices(props) {
|
|
58
58
|
var styles = props.styles,
|
package/lib/es6/NoticeBubble.js
CHANGED
|
@@ -29,23 +29,23 @@ import Portal from '@semcore/portal';
|
|
|
29
29
|
import React from 'react';
|
|
30
30
|
import manager from './NoticeBubbleManager';
|
|
31
31
|
/*!__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
32
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
32
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes enter_wvcfs{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_wvcfs{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_wvcfs_gg_,.___SView_wvcfs_gg_{position:relative;margin-bottom:var(--intergalactic-spacing-3x, 12px);padding:var(--intergalactic-spacing-3x, 12px);padding-right:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-1x, 4px));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_wvcfs_gg_._type_info_wvcfs_gg_,.___SView_wvcfs_gg_._type_info_wvcfs_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_wvcfs_gg_._type_warning_wvcfs_gg_,.___SView_wvcfs_gg_._type_warning_wvcfs_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_wvcfs_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_wvcfs_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_wvcfs_gg_{cursor:pointer;position:absolute;right:0;top:0;margin-top:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:var(--intergalactic-spacing-2x, 8px);flex-shrink:0;border:0;background:0 0}.___SDismiss_wvcfs_gg_.__use_wvcfs_gg_{padding:0 1px}.___SIcon_wvcfs_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_wvcfs_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_wvcfs_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_wvcfs_gg_.__disablePortal_wvcfs_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_wvcfs_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_wvcfs_gg_{display:contents}", /*__inner_css_end__*/"wvcfs_gg_"),
|
|
33
33
|
/*__reshadow_css_end__*/
|
|
34
34
|
{
|
|
35
|
-
"__SContent": "
|
|
36
|
-
"__SMessage": "
|
|
37
|
-
"__SDismiss": "
|
|
38
|
-
"_use": "
|
|
39
|
-
"__SIcon": "
|
|
40
|
-
"__SNoticeBubble": "
|
|
41
|
-
"_disablePortal": "
|
|
42
|
-
"__SNoticeAriaLiveWrapper": "
|
|
43
|
-
"@enter": "
|
|
44
|
-
"@exit": "
|
|
45
|
-
"__SBubble": "
|
|
46
|
-
"__SView": "
|
|
47
|
-
"_type_info": "
|
|
48
|
-
"_type_warning": "
|
|
35
|
+
"__SContent": "___SContent_wvcfs_gg_",
|
|
36
|
+
"__SMessage": "___SMessage_wvcfs_gg_",
|
|
37
|
+
"__SDismiss": "___SDismiss_wvcfs_gg_",
|
|
38
|
+
"_use": "__use_wvcfs_gg_",
|
|
39
|
+
"__SIcon": "___SIcon_wvcfs_gg_",
|
|
40
|
+
"__SNoticeBubble": "___SNoticeBubble_wvcfs_gg_",
|
|
41
|
+
"_disablePortal": "__disablePortal_wvcfs_gg_",
|
|
42
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_wvcfs_gg_",
|
|
43
|
+
"@enter": "enter_wvcfs",
|
|
44
|
+
"@exit": "exit_wvcfs",
|
|
45
|
+
"__SBubble": "___SBubble_wvcfs_gg_",
|
|
46
|
+
"__SView": "___SView_wvcfs_gg_",
|
|
47
|
+
"_type_info": "_type_info_wvcfs_gg_",
|
|
48
|
+
"_type_warning": "_type_warning_wvcfs_gg_"
|
|
49
49
|
});
|
|
50
50
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
51
51
|
import { Timer } from './utils';
|
package/lib/esm/NoticeBubble.mjs
CHANGED
|
@@ -32,25 +32,25 @@ var style = (
|
|
|
32
32
|
/*__reshadow_css_start__*/
|
|
33
33
|
(sstyled.insert(
|
|
34
34
|
/*__inner_css_start__*/
|
|
35
|
-
"@keyframes
|
|
35
|
+
"@keyframes enter_wvcfs{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_wvcfs{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_wvcfs_gg_,.___SView_wvcfs_gg_{position:relative;margin-bottom:var(--intergalactic-spacing-3x, 12px);padding:var(--intergalactic-spacing-3x, 12px);padding-right:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-1x, 4px));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_wvcfs_gg_._type_info_wvcfs_gg_,.___SView_wvcfs_gg_._type_info_wvcfs_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_wvcfs_gg_._type_warning_wvcfs_gg_,.___SView_wvcfs_gg_._type_warning_wvcfs_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_wvcfs_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_wvcfs_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_wvcfs_gg_{cursor:pointer;position:absolute;right:0;top:0;margin-top:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:var(--intergalactic-spacing-2x, 8px);flex-shrink:0;border:0;background:0 0}.___SDismiss_wvcfs_gg_.__use_wvcfs_gg_{padding:0 1px}.___SIcon_wvcfs_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_wvcfs_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_wvcfs_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_wvcfs_gg_.__disablePortal_wvcfs_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_wvcfs_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_wvcfs_gg_{display:contents}",
|
|
36
36
|
/*__inner_css_end__*/
|
|
37
|
-
"
|
|
37
|
+
"wvcfs_gg_"
|
|
38
38
|
), /*__reshadow_css_end__*/
|
|
39
39
|
{
|
|
40
|
-
"__SContent": "
|
|
41
|
-
"__SMessage": "
|
|
42
|
-
"__SDismiss": "
|
|
43
|
-
"_use": "
|
|
44
|
-
"__SIcon": "
|
|
45
|
-
"__SNoticeBubble": "
|
|
46
|
-
"_disablePortal": "
|
|
47
|
-
"__SNoticeAriaLiveWrapper": "
|
|
48
|
-
"@enter": "
|
|
49
|
-
"@exit": "
|
|
50
|
-
"__SBubble": "
|
|
51
|
-
"__SView": "
|
|
52
|
-
"_type_info": "
|
|
53
|
-
"_type_warning": "
|
|
40
|
+
"__SContent": "___SContent_wvcfs_gg_",
|
|
41
|
+
"__SMessage": "___SMessage_wvcfs_gg_",
|
|
42
|
+
"__SDismiss": "___SDismiss_wvcfs_gg_",
|
|
43
|
+
"_use": "__use_wvcfs_gg_",
|
|
44
|
+
"__SIcon": "___SIcon_wvcfs_gg_",
|
|
45
|
+
"__SNoticeBubble": "___SNoticeBubble_wvcfs_gg_",
|
|
46
|
+
"_disablePortal": "__disablePortal_wvcfs_gg_",
|
|
47
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_wvcfs_gg_",
|
|
48
|
+
"@enter": "enter_wvcfs",
|
|
49
|
+
"@exit": "exit_wvcfs",
|
|
50
|
+
"__SBubble": "___SBubble_wvcfs_gg_",
|
|
51
|
+
"__SView": "___SView_wvcfs_gg_",
|
|
52
|
+
"_type_info": "_type_info_wvcfs_gg_",
|
|
53
|
+
"_type_warning": "_type_warning_wvcfs_gg_"
|
|
54
54
|
})
|
|
55
55
|
);
|
|
56
56
|
var Notices = function Notices2(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": "16.1.
|
|
4
|
+
"version": "16.1.11-prerelease.3",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/icon": "16.
|
|
18
|
-
"@semcore/portal": "16.0.
|
|
19
|
-
"@semcore/flex-box": "16.0.
|
|
20
|
-
"@semcore/animation": "16.0.
|
|
21
|
-
"@semcore/button": "16.0.
|
|
17
|
+
"@semcore/icon": "16.7.2-prerelease.3",
|
|
18
|
+
"@semcore/portal": "16.0.11-prerelease.3",
|
|
19
|
+
"@semcore/flex-box": "16.0.11-prerelease.3",
|
|
20
|
+
"@semcore/animation": "16.0.7-prerelease.3",
|
|
21
|
+
"@semcore/button": "16.0.11-prerelease.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@semcore/base-components": "^16.
|
|
24
|
+
"@semcore/base-components": "^16.4.1-prerelease.3"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"directory": "semcore/notice-bubble"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@semcore/core": "16.5.
|
|
32
|
+
"@semcore/core": "16.5.1-prerelease.3",
|
|
33
33
|
"@semcore/testing-utils": "1.0.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|