@semcore/notice-bubble 5.48.2 → 5.49.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
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.49.0] - 2025-01-21
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/icon` [4.53.1 ~> 4.55.0]).
|
|
10
|
+
|
|
5
11
|
## [5.48.2] - 2024-12-25
|
|
6
12
|
|
|
7
13
|
### Added
|
package/lib/cjs/NoticeBubble.js
CHANGED
|
@@ -40,21 +40,21 @@ var _getFocusableIn = require("@semcore/utils/lib/focus-lock/getFocusableIn");
|
|
|
40
40
|
var _excluded = ["focusLock"],
|
|
41
41
|
_excluded2 = ["forwardRef", "styles", "onMouseEnter", "onMouseLeave", "getI18nText", "icon", "children", "action", "type"];
|
|
42
42
|
/*__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
43
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
44
|
-
"__SContent": "
|
|
45
|
-
"__SMessage": "
|
|
46
|
-
"__SDismiss": "
|
|
47
|
-
"_use": "
|
|
48
|
-
"__SIcon": "
|
|
49
|
-
"__SNoticeBubble": "
|
|
50
|
-
"_disablePortal": "
|
|
51
|
-
"__SNoticeAriaLiveWrapper": "
|
|
52
|
-
"@enter": "
|
|
53
|
-
"@exit": "
|
|
54
|
-
"__SBubble": "
|
|
55
|
-
"__SView": "
|
|
56
|
-
"_type_info": "
|
|
57
|
-
"_type_warning": "
|
|
43
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes enter_14g16{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_14g16{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_14g16_gg_,.___SView_14g16_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_14g16_gg_._type_info_14g16_gg_,.___SView_14g16_gg_._type_info_14g16_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_14g16_gg_._type_warning_14g16_gg_,.___SView_14g16_gg_._type_warning_14g16_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_14g16_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_14g16_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_14g16_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_14g16_gg_.__use_14g16_gg_{padding:0 1px}.___SIcon_14g16_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_14g16_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_14g16_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_14g16_gg_.__disablePortal_14g16_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_14g16_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_14g16_gg_{display:contents}" /*__inner_css_end__*/, "14g16_gg_") /*__reshadow_css_end__*/, {
|
|
44
|
+
"__SContent": "___SContent_14g16_gg_",
|
|
45
|
+
"__SMessage": "___SMessage_14g16_gg_",
|
|
46
|
+
"__SDismiss": "___SDismiss_14g16_gg_",
|
|
47
|
+
"_use": "__use_14g16_gg_",
|
|
48
|
+
"__SIcon": "___SIcon_14g16_gg_",
|
|
49
|
+
"__SNoticeBubble": "___SNoticeBubble_14g16_gg_",
|
|
50
|
+
"_disablePortal": "__disablePortal_14g16_gg_",
|
|
51
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_14g16_gg_",
|
|
52
|
+
"@enter": "enter_14g16",
|
|
53
|
+
"@exit": "exit_14g16",
|
|
54
|
+
"__SBubble": "___SBubble_14g16_gg_",
|
|
55
|
+
"__SView": "___SView_14g16_gg_",
|
|
56
|
+
"_type_info": "_type_info_14g16_gg_",
|
|
57
|
+
"_type_warning": "_type_warning_14g16_gg_"
|
|
58
58
|
});
|
|
59
59
|
var Notices = function Notices(props) {
|
|
60
60
|
var styles = props.styles,
|
package/lib/es6/NoticeBubble.js
CHANGED
|
@@ -31,21 +31,21 @@ import { useFocusLock } from '@semcore/utils/lib/use/useFocusLock';
|
|
|
31
31
|
import { Hint } from '@semcore/tooltip';
|
|
32
32
|
import { ZIndexStackingContextProvider, zIndexStackingEnhance } from '@semcore/utils/lib/zIndexStacking';
|
|
33
33
|
/*__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
34
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
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": "
|
|
34
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes enter_14g16{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_14g16{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_14g16_gg_,.___SView_14g16_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_14g16_gg_._type_info_14g16_gg_,.___SView_14g16_gg_._type_info_14g16_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_14g16_gg_._type_warning_14g16_gg_,.___SView_14g16_gg_._type_warning_14g16_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_14g16_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_14g16_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_14g16_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_14g16_gg_.__use_14g16_gg_{padding:0 1px}.___SIcon_14g16_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_14g16_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_14g16_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_14g16_gg_.__disablePortal_14g16_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_14g16_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_14g16_gg_{display:contents}" /*__inner_css_end__*/, "14g16_gg_") /*__reshadow_css_end__*/, {
|
|
35
|
+
"__SContent": "___SContent_14g16_gg_",
|
|
36
|
+
"__SMessage": "___SMessage_14g16_gg_",
|
|
37
|
+
"__SDismiss": "___SDismiss_14g16_gg_",
|
|
38
|
+
"_use": "__use_14g16_gg_",
|
|
39
|
+
"__SIcon": "___SIcon_14g16_gg_",
|
|
40
|
+
"__SNoticeBubble": "___SNoticeBubble_14g16_gg_",
|
|
41
|
+
"_disablePortal": "__disablePortal_14g16_gg_",
|
|
42
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_14g16_gg_",
|
|
43
|
+
"@enter": "enter_14g16",
|
|
44
|
+
"@exit": "exit_14g16",
|
|
45
|
+
"__SBubble": "___SBubble_14g16_gg_",
|
|
46
|
+
"__SView": "___SView_14g16_gg_",
|
|
47
|
+
"_type_info": "_type_info_14g16_gg_",
|
|
48
|
+
"_type_warning": "_type_warning_14g16_gg_"
|
|
49
49
|
});
|
|
50
50
|
import { forkRef, useForkRef } from '@semcore/utils/lib/ref';
|
|
51
51
|
import { getFocusableIn } from '@semcore/utils/lib/focus-lock/getFocusableIn';
|
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.49.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.44.1",
|
|
13
|
-
"@semcore/icon": "4.
|
|
13
|
+
"@semcore/icon": "4.55.0",
|
|
14
14
|
"@semcore/portal": "3.39.1",
|
|
15
15
|
"@semcore/flex-box": "5.39.1",
|
|
16
16
|
"@semcore/animation": "2.39.1"
|