@semcore/feature-popover 4.7.0 → 4.7.1-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 +7 -1
- package/lib/cjs/FeaturePopover.js +10 -10
- package/lib/es6/FeaturePopover.js +10 -10
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [4.7.
|
|
5
|
+
## [4.7.1-prerelease.0] - 2023-09-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version prepatch update due to children dependencies update (`@semcore/animation` [2.6.0 ~> 2.6.1], `@semcore/core` [2.6.0 ~> 2.6.1]).
|
|
10
|
+
|
|
11
|
+
## [4.7.0] - 2023-09-04
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
8
14
|
|
|
@@ -26,17 +26,17 @@ var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i
|
|
|
26
26
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
|
27
27
|
var _excluded = ["styles", "forwardRef", "onVisibleChange", "modifiers"];
|
|
28
28
|
/*__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
|
29
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
30
|
-
"__SFeaturePopover": "
|
|
31
|
-
"__STrigger": "
|
|
32
|
-
"__SClose": "
|
|
33
|
-
"@showTrigger": "
|
|
34
|
-
"@scaleSizeAndHide": "
|
|
35
|
-
"__SSpot": "
|
|
29
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes showTrigger_1ey8t{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1ey8t{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1ey8t_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-8x, 32px);padding-bottom:var(--intergalactic-spacing-4x, 16px);padding-left:var(--intergalactic-spacing-4x, 16px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-highlight, #fce081);color:var(--intergalactic-text-primary, #191b23);box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15))}.___STrigger_1ey8t_gg_{position:relative}.___SClose_1ey8t_gg_{position:absolute;right:0;top:0;padding:var(--intergalactic-spacing-2x, 8px);cursor:pointer;color:var(--intergalactic-text-primary, #191b23);font-size:0}.___SSpot_1ey8t_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1ey8t;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1ey8t_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1ey8t;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_1ey8t_gg_::after,.___SSpot_1ey8t_gg_::before{content:\"\";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px;background-color:var(--intergalactic-bg-primary-highlight, #fce081)}@media (prefers-reduced-motion){.___SSpot_1ey8t_gg_,.___SSpot_1ey8t_gg_::before{animation-name:none}}" /*__inner_css_end__*/, "1ey8t_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SFeaturePopover": "___SFeaturePopover_1ey8t_gg_",
|
|
31
|
+
"__STrigger": "___STrigger_1ey8t_gg_",
|
|
32
|
+
"__SClose": "___SClose_1ey8t_gg_",
|
|
33
|
+
"@showTrigger": "showTrigger_1ey8t",
|
|
34
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1ey8t",
|
|
35
|
+
"__SSpot": "___SSpot_1ey8t_gg_"
|
|
36
36
|
});
|
|
37
|
-
var stylePopper = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
38
|
-
"@enter": "
|
|
39
|
-
"@exit": "
|
|
37
|
+
var stylePopper = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1c1by{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_1c1by{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}" /*__inner_css_end__*/, "1c1by_gg_") /*__reshadow_css_end__*/, {
|
|
38
|
+
"@enter": "enter_1c1by",
|
|
39
|
+
"@exit": "exit_1c1by"
|
|
40
40
|
});
|
|
41
41
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
|
42
42
|
(0, _inherits2["default"])(FeaturePopover, _Component);
|
|
@@ -22,17 +22,17 @@ import { callAllEventHandlers } from '@semcore/utils/lib/assignProps';
|
|
|
22
22
|
import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
23
23
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
24
24
|
/*__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
26
|
-
"__SFeaturePopover": "
|
|
27
|
-
"__STrigger": "
|
|
28
|
-
"__SClose": "
|
|
29
|
-
"@showTrigger": "
|
|
30
|
-
"@scaleSizeAndHide": "
|
|
31
|
-
"__SSpot": "
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/"@keyframes showTrigger_1ey8t{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1ey8t{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1ey8t_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-8x, 32px);padding-bottom:var(--intergalactic-spacing-4x, 16px);padding-left:var(--intergalactic-spacing-4x, 16px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-highlight, #fce081);color:var(--intergalactic-text-primary, #191b23);box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15))}.___STrigger_1ey8t_gg_{position:relative}.___SClose_1ey8t_gg_{position:absolute;right:0;top:0;padding:var(--intergalactic-spacing-2x, 8px);cursor:pointer;color:var(--intergalactic-text-primary, #191b23);font-size:0}.___SSpot_1ey8t_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1ey8t;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1ey8t_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1ey8t;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_1ey8t_gg_::after,.___SSpot_1ey8t_gg_::before{content:\"\";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px;background-color:var(--intergalactic-bg-primary-highlight, #fce081)}@media (prefers-reduced-motion){.___SSpot_1ey8t_gg_,.___SSpot_1ey8t_gg_::before{animation-name:none}}" /*__inner_css_end__*/, "1ey8t_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SFeaturePopover": "___SFeaturePopover_1ey8t_gg_",
|
|
27
|
+
"__STrigger": "___STrigger_1ey8t_gg_",
|
|
28
|
+
"__SClose": "___SClose_1ey8t_gg_",
|
|
29
|
+
"@showTrigger": "showTrigger_1ey8t",
|
|
30
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1ey8t",
|
|
31
|
+
"__SSpot": "___SSpot_1ey8t_gg_"
|
|
32
32
|
});
|
|
33
|
-
var stylePopper = ( /*__reshadow_css_start__*/sstyled.insert( /*__inner_css_start__*/"@keyframes
|
|
34
|
-
"@enter": "
|
|
35
|
-
"@exit": "
|
|
33
|
+
var stylePopper = ( /*__reshadow_css_start__*/sstyled.insert( /*__inner_css_start__*/"@keyframes enter_1c1by{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_1c1by{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}" /*__inner_css_end__*/, "1c1by_gg_") /*__reshadow_css_end__*/, {
|
|
34
|
+
"@enter": "enter_1c1by",
|
|
35
|
+
"@exit": "exit_1c1by"
|
|
36
36
|
});
|
|
37
37
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
|
38
38
|
_inherits(FeaturePopover, _Component);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/feature-popover",
|
|
3
3
|
"description": "Semrush FeaturePopover Component",
|
|
4
|
-
"version": "4.7.0",
|
|
4
|
+
"version": "4.7.1-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
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/utils": "4.6.0",
|
|
13
|
-
"@semcore/flex-box": "5.6.0",
|
|
14
|
-
"@semcore/popper": "5.6.0",
|
|
15
|
-
"@semcore/icon": "4.7.0",
|
|
16
|
-
"@semcore/animation": "2.6.0"
|
|
12
|
+
"@semcore/utils": "4.6.1-prerelease.0",
|
|
13
|
+
"@semcore/flex-box": "5.6.1-prerelease.0",
|
|
14
|
+
"@semcore/popper": "5.6.1-prerelease.0",
|
|
15
|
+
"@semcore/icon": "4.7.1-prerelease.0",
|
|
16
|
+
"@semcore/animation": "2.6.1-prerelease.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@semcore/core": "^2.6.
|
|
19
|
+
"@semcore/core": "^2.6.1-prerelease.0",
|
|
20
20
|
"react": "16.8 - 18",
|
|
21
21
|
"react-dom": "16.8 - 18"
|
|
22
22
|
},
|