@semcore/feature-popover 16.3.0-prerelease.3 → 16.3.1
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 +1 -1
- package/lib/cjs/FeaturePopover.js +13 -13
- package/lib/es6/FeaturePopover.js +13 -13
- package/lib/esm/FeaturePopover.mjs +17 -17
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -23,24 +23,24 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
23
23
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
|
24
24
|
var _excluded = ["styles", "forwardRef", "onVisibleChange", "modifiers"];
|
|
25
25
|
/*!__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
|
26
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
26
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes showTrigger_1twzn{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1twzn{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1twzn_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-10x, 40px);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;box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07));position:relative}@supports (color:color(display-p3 0 0 0%)){.___SFeaturePopover_1twzn_gg_{box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SFeaturePopover_1twzn_gg_{box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}@supports (color:color(display-p3 0 0 0%)){.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@media (color-gamut:p3){.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, color(display-p3 0.87005 0.8017 0.99841))}}}.___SFeaturePopover_1twzn_gg_._theme_neutral_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg-neutral, rgb(26, 30, 26));color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949))}.___STrigger_1twzn_gg_{position:relative}.___SClose_1twzn_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_1twzn_gg_ .___SAddon_1twzn_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_1twzn_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1twzn;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1twzn_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1twzn;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_1twzn_gg_::after,.___SSpot_1twzn_gg_::before{content:\"\";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px}.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, color(display-p3 0.87005 0.8017 0.99841))}}}@media (prefers-reduced-motion){.___SSpot_1twzn_gg_,.___SSpot_1twzn_gg_::before{animation-name:none}}", /*__inner_css_end__*/"1twzn_gg_"),
|
|
27
27
|
/*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__STrigger": "
|
|
30
|
-
"@showTrigger": "
|
|
31
|
-
"@scaleSizeAndHide": "
|
|
32
|
-
"__SFeaturePopover": "
|
|
33
|
-
"_theme_accent": "
|
|
34
|
-
"_theme_neutral": "
|
|
35
|
-
"__SClose": "
|
|
36
|
-
"__SAddon": "
|
|
37
|
-
"__SSpot": "
|
|
29
|
+
"__STrigger": "___STrigger_1twzn_gg_",
|
|
30
|
+
"@showTrigger": "showTrigger_1twzn",
|
|
31
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1twzn",
|
|
32
|
+
"__SFeaturePopover": "___SFeaturePopover_1twzn_gg_",
|
|
33
|
+
"_theme_accent": "_theme_accent_1twzn_gg_",
|
|
34
|
+
"_theme_neutral": "_theme_neutral_1twzn_gg_",
|
|
35
|
+
"__SClose": "___SClose_1twzn_gg_",
|
|
36
|
+
"__SAddon": "___SAddon_1twzn_gg_",
|
|
37
|
+
"__SSpot": "___SSpot_1twzn_gg_"
|
|
38
38
|
});
|
|
39
|
-
var stylePopper = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
39
|
+
var stylePopper = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/"@keyframes enter_196ly{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_196ly{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}", /*__inner_css_end__*/"196ly_gg_"),
|
|
40
40
|
/*__reshadow_css_end__*/
|
|
41
41
|
{
|
|
42
|
-
"@enter": "
|
|
43
|
-
"@exit": "
|
|
42
|
+
"@enter": "enter_196ly",
|
|
43
|
+
"@exit": "exit_196ly"
|
|
44
44
|
});
|
|
45
45
|
var enhance = [(0, _i18nEnhance["default"])(_intergalacticDynamicLocales.localizedMessages)];
|
|
46
46
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
|
@@ -19,25 +19,25 @@ import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
|
19
19
|
import CloseIcon from '@semcore/icon/Close/m';
|
|
20
20
|
import React from 'react';
|
|
21
21
|
/*!__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/"@keyframes showTrigger_1twzn{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1twzn{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1twzn_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-10x, 40px);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;box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07));position:relative}@supports (color:color(display-p3 0 0 0%)){.___SFeaturePopover_1twzn_gg_{box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SFeaturePopover_1twzn_gg_{box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}@supports (color:color(display-p3 0 0 0%)){.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@media (color-gamut:p3){.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, color(display-p3 0.87005 0.8017 0.99841))}}}.___SFeaturePopover_1twzn_gg_._theme_neutral_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg-neutral, rgb(26, 30, 26));color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949))}.___STrigger_1twzn_gg_{position:relative}.___SClose_1twzn_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_1twzn_gg_ .___SAddon_1twzn_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_1twzn_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1twzn;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1twzn_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1twzn;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_1twzn_gg_::after,.___SSpot_1twzn_gg_::before{content:\"\";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px}.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, color(display-p3 0.87005 0.8017 0.99841))}}}@media (prefers-reduced-motion){.___SSpot_1twzn_gg_,.___SSpot_1twzn_gg_::before{animation-name:none}}", /*__inner_css_end__*/"1twzn_gg_"),
|
|
23
23
|
/*__reshadow_css_end__*/
|
|
24
24
|
{
|
|
25
|
-
"__STrigger": "
|
|
26
|
-
"@showTrigger": "
|
|
27
|
-
"@scaleSizeAndHide": "
|
|
28
|
-
"__SFeaturePopover": "
|
|
29
|
-
"_theme_accent": "
|
|
30
|
-
"_theme_neutral": "
|
|
31
|
-
"__SClose": "
|
|
32
|
-
"__SAddon": "
|
|
33
|
-
"__SSpot": "
|
|
25
|
+
"__STrigger": "___STrigger_1twzn_gg_",
|
|
26
|
+
"@showTrigger": "showTrigger_1twzn",
|
|
27
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1twzn",
|
|
28
|
+
"__SFeaturePopover": "___SFeaturePopover_1twzn_gg_",
|
|
29
|
+
"_theme_accent": "_theme_accent_1twzn_gg_",
|
|
30
|
+
"_theme_neutral": "_theme_neutral_1twzn_gg_",
|
|
31
|
+
"__SClose": "___SClose_1twzn_gg_",
|
|
32
|
+
"__SAddon": "___SAddon_1twzn_gg_",
|
|
33
|
+
"__SSpot": "___SSpot_1twzn_gg_"
|
|
34
34
|
});
|
|
35
35
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
36
|
-
var stylePopper = (/*__reshadow_css_start__*/sstyled.insert(/*__inner_css_start__*/"@keyframes
|
|
36
|
+
var stylePopper = (/*__reshadow_css_start__*/sstyled.insert(/*__inner_css_start__*/"@keyframes enter_196ly{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_196ly{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}", /*__inner_css_end__*/"196ly_gg_"),
|
|
37
37
|
/*__reshadow_css_end__*/
|
|
38
38
|
{
|
|
39
|
-
"@enter": "
|
|
40
|
-
"@exit": "
|
|
39
|
+
"@enter": "enter_196ly",
|
|
40
|
+
"@exit": "exit_196ly"
|
|
41
41
|
});
|
|
42
42
|
var enhance = [i18nEnhance(localizedMessages)];
|
|
43
43
|
var FeaturePopover = /*#__PURE__*/function (_Component) {
|
|
@@ -20,33 +20,33 @@ var style = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
(sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
'@keyframes
|
|
23
|
+
'@keyframes showTrigger_1twzn{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1twzn{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1twzn_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-10x, 40px);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;box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07));position:relative}@supports (color:color(display-p3 0 0 0%)){.___SFeaturePopover_1twzn_gg_{box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SFeaturePopover_1twzn_gg_{box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}@supports (color:color(display-p3 0 0 0%)){.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@media (color-gamut:p3){.___SFeaturePopover_1twzn_gg_._theme_accent_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg, color(display-p3 0.87005 0.8017 0.99841))}}}.___SFeaturePopover_1twzn_gg_._theme_neutral_1twzn_gg_{background-color:var(--intergalactic-feature-popover-bg-neutral, rgb(26, 30, 26));color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949))}.___STrigger_1twzn_gg_{position:relative}.___SClose_1twzn_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_1twzn_gg_ .___SAddon_1twzn_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_1twzn_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1twzn;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1twzn_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1twzn;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s}.___SSpot_1twzn_gg_::after,.___SSpot_1twzn_gg_::before{content:"";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px}.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_accent_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-bg, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::before{background-color:var(--intergalactic-feature-popover-dot-neutral-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, rgb(225, 205, 255))}@supports (color:color(display-p3 0 0 0%)){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, rgb(225, 205, 255))}@media (color-gamut:p3){.___SSpot_1twzn_gg_._theme_neutral_1twzn_gg_::after{background-color:var(--intergalactic-feature-popover-dot-neutral, color(display-p3 0.87005 0.8017 0.99841))}}}@media (prefers-reduced-motion){.___SSpot_1twzn_gg_,.___SSpot_1twzn_gg_::before{animation-name:none}}',
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
"
|
|
25
|
+
"1twzn_gg_"
|
|
26
26
|
), /*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__STrigger": "
|
|
29
|
-
"@showTrigger": "
|
|
30
|
-
"@scaleSizeAndHide": "
|
|
31
|
-
"__SFeaturePopover": "
|
|
32
|
-
"_theme_accent": "
|
|
33
|
-
"_theme_neutral": "
|
|
34
|
-
"__SClose": "
|
|
35
|
-
"__SAddon": "
|
|
36
|
-
"__SSpot": "
|
|
28
|
+
"__STrigger": "___STrigger_1twzn_gg_",
|
|
29
|
+
"@showTrigger": "showTrigger_1twzn",
|
|
30
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1twzn",
|
|
31
|
+
"__SFeaturePopover": "___SFeaturePopover_1twzn_gg_",
|
|
32
|
+
"_theme_accent": "_theme_accent_1twzn_gg_",
|
|
33
|
+
"_theme_neutral": "_theme_neutral_1twzn_gg_",
|
|
34
|
+
"__SClose": "___SClose_1twzn_gg_",
|
|
35
|
+
"__SAddon": "___SAddon_1twzn_gg_",
|
|
36
|
+
"__SSpot": "___SSpot_1twzn_gg_"
|
|
37
37
|
})
|
|
38
38
|
);
|
|
39
39
|
var stylePopper = (
|
|
40
40
|
/*__reshadow_css_start__*/
|
|
41
41
|
(sstyled.insert(
|
|
42
42
|
/*__inner_css_start__*/
|
|
43
|
-
"@keyframes
|
|
43
|
+
"@keyframes enter_196ly{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_196ly{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}",
|
|
44
44
|
/*__inner_css_end__*/
|
|
45
|
-
"
|
|
45
|
+
"196ly_gg_"
|
|
46
46
|
), /*__reshadow_css_end__*/
|
|
47
47
|
{
|
|
48
|
-
"@enter": "
|
|
49
|
-
"@exit": "
|
|
48
|
+
"@enter": "enter_196ly",
|
|
49
|
+
"@exit": "exit_196ly"
|
|
50
50
|
})
|
|
51
51
|
);
|
|
52
52
|
var enhance = [i18nEnhance(localizedMessages)];
|
|
@@ -189,7 +189,7 @@ function Spot(props) {
|
|
|
189
189
|
if (!visible) return null;
|
|
190
190
|
return _ref7 = sstyled(styles), /* @__PURE__ */ React.createElement(SSpot, _ref7.cn("SSpot", _objectSpread({}, assignProps({}, _ref3))));
|
|
191
191
|
}
|
|
192
|
-
const
|
|
192
|
+
const FeaturePopover_default = createComponent(
|
|
193
193
|
FeaturePopover,
|
|
194
194
|
{
|
|
195
195
|
Trigger,
|
|
@@ -202,5 +202,5 @@ const FeaturePopover$1 = createComponent(
|
|
|
202
202
|
}
|
|
203
203
|
);
|
|
204
204
|
export {
|
|
205
|
-
|
|
205
|
+
FeaturePopover_default as default
|
|
206
206
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/feature-popover",
|
|
3
3
|
"description": "Semrush FeaturePopover Component",
|
|
4
|
-
"version": "16.3.
|
|
4
|
+
"version": "16.3.1",
|
|
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/animation": "16.1.
|
|
18
|
-
"@semcore/button": "16.1.
|
|
19
|
-
"@semcore/flex-box": "16.1.
|
|
20
|
-
"@semcore/icon": "16.8.
|
|
21
|
-
"@semcore/popper": "16.1.
|
|
17
|
+
"@semcore/animation": "16.1.1",
|
|
18
|
+
"@semcore/button": "16.1.1",
|
|
19
|
+
"@semcore/flex-box": "16.1.1",
|
|
20
|
+
"@semcore/icon": "16.8.1",
|
|
21
|
+
"@semcore/popper": "16.1.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@semcore/base-components": "^16.6.0
|
|
24
|
+
"@semcore/base-components": "^16.6.0"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@popperjs/core": "2.11.5",
|
|
33
|
-
"@semcore/
|
|
34
|
-
"@semcore/
|
|
35
|
-
"@semcore/typography": "16.4.0-prerelease.3",
|
|
33
|
+
"@semcore/dropdown-menu": "16.3.1",
|
|
34
|
+
"@semcore/core": "16.6.0",
|
|
36
35
|
"@semcore/testing-utils": "1.0.0",
|
|
37
|
-
"@semcore/
|
|
36
|
+
"@semcore/typography": "16.4.1",
|
|
37
|
+
"@semcore/button": "16.1.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "pnpm semcore-builder && pnpm vite build"
|