@semcore/feature-popover 4.26.0 → 4.27.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/README.md +2 -2
- package/lib/cjs/FeaturePopover.js +10 -10
- package/lib/es6/FeaturePopover.js +10 -10
- package/package.json +6 -6
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.
|
|
5
|
+
## [4.27.0] - 2024-03-15
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/utils` [4.20.5 ~> 4.21.0], `@semcore/icon` [4.27.1 ~> 4.28.0], `@semcore/animation` [2.19.2 ~> 2.20.0], `@semcore/core` [2.17.5 ~> 2.18.0]).
|
|
10
|
+
|
|
11
|
+
## [4.26.0] - 2024-03-07
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
8
14
|
|
package/README.md
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
npm install
|
|
16
|
+
npm install intergalactic
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
21
|
```jsx
|
|
22
|
-
import FeaturePopover from '
|
|
22
|
+
import FeaturePopover from 'intergalactic/feature-popover';
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<details>
|
|
@@ -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_9u6ch{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_9u6ch{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_9u6ch_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_9u6ch_gg_{position:relative}.___SClose_9u6ch_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_9u6ch_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_9u6ch;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_9u6ch_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_9u6ch;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_9u6ch_gg_::after,.___SSpot_9u6ch_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_9u6ch_gg_,.___SSpot_9u6ch_gg_::before{animation-name:none}}" /*__inner_css_end__*/, "9u6ch_gg_") /*__reshadow_css_end__*/, {
|
|
30
|
+
"__SFeaturePopover": "___SFeaturePopover_9u6ch_gg_",
|
|
31
|
+
"__STrigger": "___STrigger_9u6ch_gg_",
|
|
32
|
+
"__SClose": "___SClose_9u6ch_gg_",
|
|
33
|
+
"@showTrigger": "showTrigger_9u6ch",
|
|
34
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_9u6ch",
|
|
35
|
+
"__SSpot": "___SSpot_9u6ch_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_1v366{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_1v366{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}" /*__inner_css_end__*/, "1v366_gg_") /*__reshadow_css_end__*/, {
|
|
38
|
+
"@enter": "enter_1v366",
|
|
39
|
+
"@exit": "exit_1v366"
|
|
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_9u6ch{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_9u6ch{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_9u6ch_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_9u6ch_gg_{position:relative}.___SClose_9u6ch_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_9u6ch_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_9u6ch;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_9u6ch_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_9u6ch;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_9u6ch_gg_::after,.___SSpot_9u6ch_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_9u6ch_gg_,.___SSpot_9u6ch_gg_::before{animation-name:none}}" /*__inner_css_end__*/, "9u6ch_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SFeaturePopover": "___SFeaturePopover_9u6ch_gg_",
|
|
27
|
+
"__STrigger": "___STrigger_9u6ch_gg_",
|
|
28
|
+
"__SClose": "___SClose_9u6ch_gg_",
|
|
29
|
+
"@showTrigger": "showTrigger_9u6ch",
|
|
30
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_9u6ch",
|
|
31
|
+
"__SSpot": "___SSpot_9u6ch_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_1v366{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_1v366{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}" /*__inner_css_end__*/, "1v366_gg_") /*__reshadow_css_end__*/, {
|
|
34
|
+
"@enter": "enter_1v366",
|
|
35
|
+
"@exit": "exit_1v366"
|
|
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.
|
|
4
|
+
"version": "4.27.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/utils": "4.
|
|
13
|
-
"@semcore/flex-box": "5.
|
|
14
|
-
"@semcore/popper": "5.
|
|
15
|
-
"@semcore/icon": "4.
|
|
16
|
-
"@semcore/animation": "2.
|
|
12
|
+
"@semcore/utils": "4.21.0",
|
|
13
|
+
"@semcore/flex-box": "5.20.0",
|
|
14
|
+
"@semcore/popper": "5.22.0",
|
|
15
|
+
"@semcore/icon": "4.28.0",
|
|
16
|
+
"@semcore/animation": "2.20.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@semcore/core": "^2.17.5",
|