@semcore/notice-bubble 5.42.1-prerelease.1 → 5.43.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 +15 -15
- package/lib/es6/NoticeBubble.js +15 -15
- package/package.json +7 -7
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.43.0] - 2024-10-04
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/utils` [4.36.2 ~> 4.38.0], `@semcore/icon` [4.46.0 ~> 4.47.0], `@semcore/flex-box` [5.33.1 ~> 5.34.0], `@semcore/animation` [2.33.1 ~> 2.34.0], `@semcore/core` [2.31.1 ~> 2.32.0]).
|
|
10
|
+
|
|
5
11
|
## [5.42.1] - 2024-09-27
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/NoticeBubble.js
CHANGED
|
@@ -39,21 +39,21 @@ var _ref5 = require("@semcore/utils/lib/ref");
|
|
|
39
39
|
var _excluded = ["focusLock"],
|
|
40
40
|
_excluded2 = ["forwardRef", "styles", "onMouseEnter", "onMouseLeave", "getI18nText", "icon", "children", "action", "type"];
|
|
41
41
|
/*__reshadow-styles__:"./style/notice-bubble.shadow.css"*/
|
|
42
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
43
|
-
"__SContent": "
|
|
44
|
-
"__SMessage": "
|
|
45
|
-
"__SDismiss": "
|
|
46
|
-
"_use": "
|
|
47
|
-
"__SIcon": "
|
|
48
|
-
"__SNoticeBubble": "
|
|
49
|
-
"_disablePortal": "
|
|
50
|
-
"__SNoticeAriaLiveWrapper": "
|
|
51
|
-
"@enter": "
|
|
52
|
-
"@exit": "
|
|
53
|
-
"__SBubble": "
|
|
54
|
-
"__SView": "
|
|
55
|
-
"_type_info": "
|
|
56
|
-
"_type_warning": "
|
|
42
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1loyt{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_1loyt{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_1loyt_gg_,.___SView_1loyt_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_1loyt_gg_._type_info_1loyt_gg_,.___SView_1loyt_gg_._type_info_1loyt_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_1loyt_gg_._type_warning_1loyt_gg_,.___SView_1loyt_gg_._type_warning_1loyt_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_1loyt_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_1loyt_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_1loyt_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_1loyt_gg_.__use_1loyt_gg_.__use_1loyt_gg_{padding:0 1px}.___SIcon_1loyt_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_1loyt_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_1loyt_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_1loyt_gg_.__disablePortal_1loyt_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_1loyt_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_1loyt_gg_{display:content}" /*__inner_css_end__*/, "1loyt_gg_") /*__reshadow_css_end__*/, {
|
|
43
|
+
"__SContent": "___SContent_1loyt_gg_",
|
|
44
|
+
"__SMessage": "___SMessage_1loyt_gg_",
|
|
45
|
+
"__SDismiss": "___SDismiss_1loyt_gg_",
|
|
46
|
+
"_use": "__use_1loyt_gg_",
|
|
47
|
+
"__SIcon": "___SIcon_1loyt_gg_",
|
|
48
|
+
"__SNoticeBubble": "___SNoticeBubble_1loyt_gg_",
|
|
49
|
+
"_disablePortal": "__disablePortal_1loyt_gg_",
|
|
50
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_1loyt_gg_",
|
|
51
|
+
"@enter": "enter_1loyt",
|
|
52
|
+
"@exit": "exit_1loyt",
|
|
53
|
+
"__SBubble": "___SBubble_1loyt_gg_",
|
|
54
|
+
"__SView": "___SView_1loyt_gg_",
|
|
55
|
+
"_type_info": "_type_info_1loyt_gg_",
|
|
56
|
+
"_type_warning": "_type_warning_1loyt_gg_"
|
|
57
57
|
});
|
|
58
58
|
var Notices = function Notices(props) {
|
|
59
59
|
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_1loyt{0%{transform:translate(100%,0);max-height:0;overflow:hidden}to{transform:translate(0,0);max-height:100vh;overflow:hidden}}@keyframes exit_1loyt{0%{max-height:100vh;overflow:hidden;opacity:1}to{max-height:0;overflow:hidden;opacity:0}}.___SBubble_1loyt_gg_,.___SView_1loyt_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_1loyt_gg_._type_info_1loyt_gg_,.___SView_1loyt_gg_._type_info_1loyt_gg_{background:var(--intergalactic-bg-primary-invert, #191b23)}.___SBubble_1loyt_gg_._type_warning_1loyt_gg_,.___SView_1loyt_gg_._type_warning_1loyt_gg_{background:var(--intergalactic-bg-primary-critical, #ff4953)}.___SContent_1loyt_gg_{flex-direction:column;gap:var(--intergalactic-spacing-2x, 8px);flex:1}.___SMessage_1loyt_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SDismiss_1loyt_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_1loyt_gg_.__use_1loyt_gg_.__use_1loyt_gg_{padding:0 1px}.___SIcon_1loyt_gg_{justify-content:center;align-items:center;height:var(--intergalactic-spacing-5x, 20px)}.___SNoticeBubble_1loyt_gg_{width:300px;position:fixed;right:var(--intergalactic-spacing-3x, 12px);top:var(--intergalactic-spacing-3x, 12px)}@media (max-width:767px){.___SNoticeBubble_1loyt_gg_{width:calc(100% - var(--intergalactic-spacing-6x, 24px))}}.___SNoticeBubble_1loyt_gg_.__disablePortal_1loyt_gg_{position:sticky;margin-left:auto;height:0}.___SMessage_1loyt_gg_ a{color:var(--intergalactic-text-link-invert, #8ecdff)}.___SNoticeAriaLiveWrapper_1loyt_gg_{display:content}" /*__inner_css_end__*/, "1loyt_gg_") /*__reshadow_css_end__*/, {
|
|
35
|
+
"__SContent": "___SContent_1loyt_gg_",
|
|
36
|
+
"__SMessage": "___SMessage_1loyt_gg_",
|
|
37
|
+
"__SDismiss": "___SDismiss_1loyt_gg_",
|
|
38
|
+
"_use": "__use_1loyt_gg_",
|
|
39
|
+
"__SIcon": "___SIcon_1loyt_gg_",
|
|
40
|
+
"__SNoticeBubble": "___SNoticeBubble_1loyt_gg_",
|
|
41
|
+
"_disablePortal": "__disablePortal_1loyt_gg_",
|
|
42
|
+
"__SNoticeAriaLiveWrapper": "___SNoticeAriaLiveWrapper_1loyt_gg_",
|
|
43
|
+
"@enter": "enter_1loyt",
|
|
44
|
+
"@exit": "exit_1loyt",
|
|
45
|
+
"__SBubble": "___SBubble_1loyt_gg_",
|
|
46
|
+
"__SView": "___SView_1loyt_gg_",
|
|
47
|
+
"_type_info": "_type_info_1loyt_gg_",
|
|
48
|
+
"_type_warning": "_type_warning_1loyt_gg_"
|
|
49
49
|
});
|
|
50
50
|
import { forkRef, useForkRef } from '@semcore/utils/lib/ref';
|
|
51
51
|
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": "5.
|
|
4
|
+
"version": "5.43.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",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/utils": "4.
|
|
13
|
-
"@semcore/icon": "4.
|
|
14
|
-
"@semcore/portal": "3.
|
|
15
|
-
"@semcore/flex-box": "5.
|
|
16
|
-
"@semcore/animation": "2.
|
|
12
|
+
"@semcore/utils": "4.38.0-prerelease.0",
|
|
13
|
+
"@semcore/icon": "4.47.0-prerelease.0",
|
|
14
|
+
"@semcore/portal": "3.34.0-prerelease.0",
|
|
15
|
+
"@semcore/flex-box": "5.34.0-prerelease.0",
|
|
16
|
+
"@semcore/animation": "2.34.0-prerelease.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@semcore/core": "^2.
|
|
19
|
+
"@semcore/core": "^2.32.0-prerelease.0",
|
|
20
20
|
"react": "16.8 - 18",
|
|
21
21
|
"react-dom": "16.8 - 18"
|
|
22
22
|
},
|