@semcore/feature-popover 4.56.0-prerelease.0 → 4.56.0-prerelease.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/lib/cjs/FeaturePopover.js +81 -101
- package/lib/cjs/FeaturePopover.js.map +1 -1
- package/lib/cjs/index.d.js +2 -0
- package/lib/cjs/index.d.js.map +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/feature-popover.shadow.css +4 -26
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js +5 -4
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/FeaturePopover.js +70 -93
- package/lib/es6/FeaturePopover.js.map +1 -1
- package/lib/es6/index.d.js +2 -0
- package/lib/es6/index.d.js.map +1 -0
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/feature-popover.shadow.css +4 -26
- package/lib/es6/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/esm/FeaturePopover.mjs +67 -88
- package/lib/esm/style/feature-popover.shadow.css +4 -26
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/types/index.d.ts +42 -3
- package/package.json +8 -8
- package/lib/cjs/FeaturePopover.type.js +0 -2
- package/lib/cjs/FeaturePopover.type.js.map +0 -1
- package/lib/es6/FeaturePopover.type.js +0 -2
- package/lib/es6/FeaturePopover.type.js.map +0 -1
- package/lib/types/FeaturePopover.d.ts +0 -3
- package/lib/types/FeaturePopover.type.d.ts +0 -109
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts +0 -44
|
@@ -3,75 +3,77 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
5
5
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
6
|
-
import
|
|
6
|
+
import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
|
|
7
7
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
8
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
8
9
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
9
|
-
import { sstyled
|
|
10
|
-
import {
|
|
11
|
-
import Button from "@semcore/button";
|
|
12
|
-
import { callAllEventHandlers } from "@semcore/core/lib/utils/assignProps";
|
|
13
|
-
import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
14
|
-
import CloseIcon from "@semcore/icon/Close/m";
|
|
10
|
+
import { sstyled } from "@semcore/utils/lib/core/index";
|
|
11
|
+
import createComponent, { sstyled as sstyled$1, Component, assignProps } from "@semcore/core";
|
|
15
12
|
import React from "react";
|
|
13
|
+
import { Animation } from "@semcore/animation";
|
|
14
|
+
import Popper from "@semcore/popper";
|
|
15
|
+
import { Box } from "@semcore/flex-box";
|
|
16
|
+
import CloseIcon from "@semcore/icon/Close/m";
|
|
17
|
+
import { callAllEventHandlers } from "@semcore/utils/lib/assignProps";
|
|
18
|
+
import i18nEnhance from "@semcore/utils/lib/enhances/i18nEnhance";
|
|
16
19
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
20
|
+
import Button from "@semcore/button";
|
|
17
21
|
var _excluded = ["styles", "forwardRef", "onVisibleChange", "modifiers"];
|
|
18
22
|
/*!__reshadow-styles__:"./style/feature-popover.shadow.css"*/
|
|
19
23
|
var style = (
|
|
20
24
|
/*__reshadow_css_start__*/
|
|
21
25
|
(sstyled.insert(
|
|
22
26
|
/*__inner_css_start__*/
|
|
23
|
-
'@keyframes
|
|
27
|
+
'@keyframes showTrigger_sf7jb{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_sf7jb{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_sf7jb_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;background-color:var(--intergalactic-bg-primary-highlight, rgb(225, 204, 255));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));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_sf7jb_gg_{background-color:var(--intergalactic-bg-primary-highlight, rgb(225, 204, 255));box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px rgba(0, 21, 16, 0.07))}@media (color-gamut:p3){.___SFeaturePopover_sf7jb_gg_{background-color:var(--intergalactic-bg-primary-highlight, color(display-p3 0.87005 0.8017 0.99841));box-shadow:var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px color(display-p3 0.01753 0.08157 0.06372 / 0.07))}}}.___STrigger_sf7jb_gg_{position:relative}.___SClose_sf7jb_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_sf7jb_gg_ .___SAddon_sf7jb_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_sf7jb_gg_,.___SSpot_sf7jb_gg_::before{position:absolute;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_sf7jb_gg_{bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_sf7jb;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s}.___SSpot_sf7jb_gg_::before{content:"";top:0;left:0;transform-origin:50%;animation-name:scaleSizeAndHide_sf7jb;animation-duration:1s;animation-iteration-count:infinite;animation-delay:.5s;background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 204, 255));border-radius:50%}@supports (color:color(display-p3 0 0 0)){.___SSpot_sf7jb_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, rgb(225, 204, 255))}@media (color-gamut:p3){.___SSpot_sf7jb_gg_::before{background-color:var(--intergalactic-feature-popover-dot-outer-border, color(display-p3 0.87005 0.8017 0.99841))}}}.___SSpot_sf7jb_gg_::after{content:"";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px;background-color:var(--intergalactic-bg-primary-highlight, rgb(225, 204, 255))}@supports (color:color(display-p3 0 0 0)){.___SSpot_sf7jb_gg_::after{background-color:var(--intergalactic-bg-primary-highlight, rgb(225, 204, 255))}@media (color-gamut:p3){.___SSpot_sf7jb_gg_::after{background-color:var(--intergalactic-bg-primary-highlight, color(display-p3 0.87005 0.8017 0.99841))}}}@media (prefers-reduced-motion){.___SSpot_sf7jb_gg_,.___SSpot_sf7jb_gg_::before{animation-name:none}}',
|
|
24
28
|
/*__inner_css_end__*/
|
|
25
|
-
"
|
|
29
|
+
"sf7jb_gg_"
|
|
26
30
|
), /*__reshadow_css_end__*/
|
|
27
31
|
{
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"@
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"__SAddon": "___SAddon_1p59g_gg_",
|
|
36
|
-
"__SSpot": "___SSpot_1p59g_gg_"
|
|
32
|
+
"__SFeaturePopover": "___SFeaturePopover_sf7jb_gg_",
|
|
33
|
+
"__STrigger": "___STrigger_sf7jb_gg_",
|
|
34
|
+
"@showTrigger": "showTrigger_sf7jb",
|
|
35
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_sf7jb",
|
|
36
|
+
"__SClose": "___SClose_sf7jb_gg_",
|
|
37
|
+
"__SAddon": "___SAddon_sf7jb_gg_",
|
|
38
|
+
"__SSpot": "___SSpot_sf7jb_gg_"
|
|
37
39
|
})
|
|
38
40
|
);
|
|
39
41
|
var stylePopper = (
|
|
40
42
|
/*__reshadow_css_start__*/
|
|
41
|
-
(sstyled.insert(
|
|
43
|
+
(sstyled$1.insert(
|
|
42
44
|
/*__inner_css_start__*/
|
|
43
|
-
"@keyframes
|
|
45
|
+
"@keyframes enter_ra86w{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_ra86w{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}",
|
|
44
46
|
/*__inner_css_end__*/
|
|
45
|
-
"
|
|
47
|
+
"ra86w_gg_"
|
|
46
48
|
), /*__reshadow_css_end__*/
|
|
47
49
|
{
|
|
48
|
-
"@enter": "
|
|
49
|
-
"@exit": "
|
|
50
|
+
"@enter": "enter_ra86w",
|
|
51
|
+
"@exit": "exit_ra86w"
|
|
50
52
|
})
|
|
51
53
|
);
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
+
var FeaturePopover = /* @__PURE__ */ function(_Component) {
|
|
55
|
+
_inherits(FeaturePopover2, _Component);
|
|
56
|
+
var _super = _createSuper(FeaturePopover2);
|
|
54
57
|
function FeaturePopover2() {
|
|
55
58
|
var _this;
|
|
56
59
|
_classCallCheck(this, FeaturePopover2);
|
|
57
60
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
58
61
|
args[_key] = arguments[_key];
|
|
59
62
|
}
|
|
60
|
-
_this =
|
|
61
|
-
_defineProperty(_this, "defaultModifiers", [{
|
|
63
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
64
|
+
_defineProperty(_assertThisInitialized(_this), "defaultModifiers", [{
|
|
62
65
|
name: "flip",
|
|
63
66
|
enabled: false
|
|
64
67
|
}]);
|
|
65
|
-
_defineProperty(_this, "handleVisibleChange", function(visible) {
|
|
68
|
+
_defineProperty(_assertThisInitialized(_this), "handleVisibleChange", function(visible) {
|
|
66
69
|
_this.handlers.visible(visible);
|
|
67
70
|
});
|
|
68
|
-
_defineProperty(_this, "handleCloseClick", function(e) {
|
|
71
|
+
_defineProperty(_assertThisInitialized(_this), "handleCloseClick", function(e) {
|
|
69
72
|
_this.handlers.visible(false, e);
|
|
70
73
|
});
|
|
71
74
|
return _this;
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
return _createClass(FeaturePopover2, [{
|
|
76
|
+
_createClass(FeaturePopover2, [{
|
|
75
77
|
key: "uncontrolledProps",
|
|
76
78
|
value: function uncontrolledProps() {
|
|
77
79
|
return {
|
|
@@ -81,36 +83,35 @@ var FeaturePopover = /* @__PURE__ */ (function(_Component) {
|
|
|
81
83
|
}, {
|
|
82
84
|
key: "getPopperProps",
|
|
83
85
|
value: function getPopperProps() {
|
|
84
|
-
var _this$asProps = this.asProps, visible = _this$asProps.visible, getI18nText = _this$asProps.getI18nText
|
|
86
|
+
var _this$asProps = this.asProps, visible = _this$asProps.visible, getI18nText = _this$asProps.getI18nText;
|
|
85
87
|
return {
|
|
86
88
|
visible,
|
|
87
89
|
$onCloseClick: this.handleCloseClick,
|
|
88
|
-
getI18nText
|
|
89
|
-
theme
|
|
90
|
+
getI18nText
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
93
|
}, {
|
|
93
94
|
key: "getSpotProps",
|
|
94
95
|
value: function getSpotProps() {
|
|
95
|
-
var
|
|
96
|
+
var visible = this.asProps.visible;
|
|
96
97
|
return {
|
|
97
|
-
visible
|
|
98
|
-
theme
|
|
98
|
+
visible
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
}, {
|
|
102
102
|
key: "render",
|
|
103
103
|
value: function render() {
|
|
104
104
|
var _ref4;
|
|
105
|
-
var _this$
|
|
106
|
-
return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(Popper, _ref4.cn("Popper", _objectSpread({
|
|
105
|
+
var _this$asProps2 = this.asProps, styles = _this$asProps2.styles, forwardRef = _this$asProps2.forwardRef, onVisibleChange = _this$asProps2.onVisibleChange, _this$asProps2$modifi = _this$asProps2.modifiers, modifiers = _this$asProps2$modifi === void 0 ? [] : _this$asProps2$modifi, other = _objectWithoutProperties(_this$asProps2, _excluded);
|
|
106
|
+
return _ref4 = sstyled$1(styles), /* @__PURE__ */ React.createElement(Popper, _ref4.cn("Popper", _objectSpread({
|
|
107
107
|
"ref": forwardRef,
|
|
108
108
|
"onVisibleChange": callAllEventHandlers(onVisibleChange, this.handleVisibleChange),
|
|
109
109
|
"modifiers": [].concat(_toConsumableArray(this.defaultModifiers), _toConsumableArray(modifiers))
|
|
110
110
|
}, other)));
|
|
111
111
|
}
|
|
112
112
|
}]);
|
|
113
|
-
|
|
113
|
+
return FeaturePopover2;
|
|
114
|
+
}(Component);
|
|
114
115
|
_defineProperty(FeaturePopover, "displayName", "FeaturePopover");
|
|
115
116
|
_defineProperty(FeaturePopover, "style", style);
|
|
116
117
|
_defineProperty(FeaturePopover, "defaultProps", {
|
|
@@ -122,54 +123,37 @@ _defineProperty(FeaturePopover, "defaultProps", {
|
|
|
122
123
|
},
|
|
123
124
|
interaction: "none",
|
|
124
125
|
i18n: localizedMessages,
|
|
125
|
-
locale: "en"
|
|
126
|
-
theme: "accent"
|
|
126
|
+
locale: "en"
|
|
127
127
|
});
|
|
128
|
-
_defineProperty(FeaturePopover, "enhance",
|
|
128
|
+
_defineProperty(FeaturePopover, "enhance", [i18nEnhance(localizedMessages)]);
|
|
129
129
|
function Trigger(_ref8) {
|
|
130
130
|
var _ref = arguments[0], _ref5;
|
|
131
131
|
var Children = _ref8.Children, styles = _ref8.styles;
|
|
132
132
|
var STrigger = Popper.Trigger;
|
|
133
|
-
return _ref5 = sstyled(styles), /* @__PURE__ */ React.createElement(STrigger, _ref5.cn("STrigger", _objectSpread({}, assignProps({
|
|
133
|
+
return _ref5 = sstyled$1(styles), /* @__PURE__ */ React.createElement(STrigger, _ref5.cn("STrigger", _objectSpread({}, assignProps({
|
|
134
134
|
"tag": Box,
|
|
135
135
|
"aria-haspopup": false
|
|
136
136
|
}, _ref))), /* @__PURE__ */ React.createElement(Children, _ref5.cn("Children", {})));
|
|
137
137
|
}
|
|
138
|
-
var FeaturePopoverPopper = /* @__PURE__ */
|
|
138
|
+
var FeaturePopoverPopper = /* @__PURE__ */ function(_Component2) {
|
|
139
|
+
_inherits(FeaturePopoverPopper2, _Component2);
|
|
140
|
+
var _super2 = _createSuper(FeaturePopoverPopper2);
|
|
139
141
|
function FeaturePopoverPopper2() {
|
|
140
|
-
var _this2;
|
|
141
142
|
_classCallCheck(this, FeaturePopoverPopper2);
|
|
142
|
-
|
|
143
|
-
args[_key2] = arguments[_key2];
|
|
144
|
-
}
|
|
145
|
-
_this2 = _callSuper(this, FeaturePopoverPopper2, [].concat(args));
|
|
146
|
-
_defineProperty(_this2, "popperRef", /* @__PURE__ */ React.createRef());
|
|
147
|
-
return _this2;
|
|
143
|
+
return _super2.apply(this, arguments);
|
|
148
144
|
}
|
|
149
|
-
|
|
150
|
-
return _createClass(FeaturePopoverPopper2, [{
|
|
151
|
-
key: "componentDidMount",
|
|
152
|
-
value: function componentDidMount() {
|
|
153
|
-
var _this3 = this;
|
|
154
|
-
if (this.asProps.autoFocus) {
|
|
155
|
-
setTimeout(function() {
|
|
156
|
-
var _this3$popperRef$curr;
|
|
157
|
-
(_this3$popperRef$curr = _this3.popperRef.current) === null || _this3$popperRef$curr === void 0 || _this3$popperRef$curr.focus();
|
|
158
|
-
}, 0);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}, {
|
|
145
|
+
_createClass(FeaturePopoverPopper2, [{
|
|
162
146
|
key: "render",
|
|
163
147
|
value: function render() {
|
|
164
148
|
var _ref2 = this.asProps, _ref6;
|
|
165
149
|
var SFeaturePopover = Box;
|
|
166
150
|
var SClose = Button;
|
|
167
|
-
var _this$
|
|
168
|
-
return _ref6 = sstyled(styles), /* @__PURE__ */ React.createElement(Popper.Popper, {
|
|
169
|
-
ref: this.popperRef,
|
|
151
|
+
var _this$asProps3 = this.asProps, Children = _this$asProps3.Children, styles = _this$asProps3.styles, visible = _this$asProps3.visible, closeIcon = _this$asProps3.closeIcon, duration = _this$asProps3.duration, $onCloseClick = _this$asProps3.$onCloseClick, animationsDisabled = _this$asProps3.animationsDisabled, getI18nText = _this$asProps3.getI18nText, zIndex = _this$asProps3.zIndex, ariaLabel = _this$asProps3["aria-label"], ariaDescribedBy = _this$asProps3["aria-describedBy"], ariaLabelledby = _this$asProps3["aria-labelledby"], title = _this$asProps3.title;
|
|
152
|
+
return _ref6 = sstyled$1(styles), /* @__PURE__ */ React.createElement(Popper.Popper, {
|
|
170
153
|
disableEnforceFocus: true,
|
|
171
154
|
zIndex,
|
|
172
155
|
tabIndex: 0,
|
|
156
|
+
autoFocus: true,
|
|
173
157
|
role: "dialog",
|
|
174
158
|
"aria-describedby": ariaDescribedBy,
|
|
175
159
|
"aria-label": ariaLabel,
|
|
@@ -187,38 +171,33 @@ var FeaturePopoverPopper = /* @__PURE__ */ (function(_Component2) {
|
|
|
187
171
|
"aria-label": getI18nText("close"),
|
|
188
172
|
"onClick": $onCloseClick,
|
|
189
173
|
"use": "tertiary",
|
|
190
|
-
"theme":
|
|
174
|
+
"theme": "muted",
|
|
191
175
|
"size": "m",
|
|
192
176
|
"addonLeft": CloseIcon,
|
|
193
177
|
"type": "button"
|
|
194
178
|
})), /* @__PURE__ */ React.createElement(Children, _ref6.cn("Children", {})))));
|
|
195
179
|
}
|
|
196
180
|
}]);
|
|
197
|
-
|
|
181
|
+
return FeaturePopoverPopper2;
|
|
182
|
+
}(Component);
|
|
198
183
|
_defineProperty(FeaturePopoverPopper, "defaultProps", {
|
|
199
184
|
closeIcon: false,
|
|
200
|
-
duration: 200
|
|
201
|
-
autoFocus: true
|
|
185
|
+
duration: 200
|
|
202
186
|
});
|
|
203
|
-
function
|
|
187
|
+
var Spot = function Spot2(props) {
|
|
204
188
|
var _ref3 = arguments[0], _ref7;
|
|
205
189
|
var SSpot = Box;
|
|
206
190
|
var styles = props.styles, visible = props.visible;
|
|
207
191
|
if (!visible) return null;
|
|
208
|
-
return _ref7 = sstyled(styles), /* @__PURE__ */ React.createElement(SSpot, _ref7.cn("SSpot", _objectSpread({}, assignProps({}, _ref3))));
|
|
209
|
-
}
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
// @ts-ignore
|
|
218
|
-
{
|
|
219
|
-
parent: Popper
|
|
220
|
-
}
|
|
221
|
-
);
|
|
192
|
+
return _ref7 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SSpot, _ref7.cn("SSpot", _objectSpread({}, assignProps({}, _ref3))));
|
|
193
|
+
};
|
|
194
|
+
const FeaturePopover$1 = createComponent(FeaturePopover, {
|
|
195
|
+
Trigger,
|
|
196
|
+
Popper: FeaturePopoverPopper,
|
|
197
|
+
Spot
|
|
198
|
+
}, {
|
|
199
|
+
parent: Popper
|
|
200
|
+
});
|
|
222
201
|
export {
|
|
223
|
-
|
|
202
|
+
FeaturePopover$1 as default
|
|
224
203
|
};
|
|
@@ -5,17 +5,10 @@ SFeaturePopover {
|
|
|
5
5
|
padding-left: var(--intergalactic-spacing-4x, 16px);
|
|
6
6
|
border-radius: var(--intergalactic-popper-rounded, 6px);
|
|
7
7
|
box-sizing: border-box;
|
|
8
|
+
background-color: var(--intergalactic-bg-primary-highlight, oklch(0.88 0.078 303));
|
|
9
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
8
10
|
box-shadow: var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px oklch(0.176 0.033 175.7 / 0.07));
|
|
9
11
|
position: relative;
|
|
10
|
-
|
|
11
|
-
&[theme='accent'] {
|
|
12
|
-
background-color: var(--intergalactic-feature-popover-bg, oklch(0.88 0.078 303));
|
|
13
|
-
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
14
|
-
}
|
|
15
|
-
&[theme='neutral'] {
|
|
16
|
-
background-color: var(--intergalactic-feature-popover-bg-neutral, oklch(0.23 0.01 140));
|
|
17
|
-
color: var(--intergalactic-text-primary-invert, oklch(0.999 0.001 180 / 0.949));
|
|
18
|
-
}
|
|
19
12
|
}
|
|
20
13
|
|
|
21
14
|
STrigger {
|
|
@@ -77,6 +70,7 @@ SSpot {
|
|
|
77
70
|
animation-iteration-count: infinite;
|
|
78
71
|
animation-fill-mode: forwards;
|
|
79
72
|
animation-delay: 0.5s;
|
|
73
|
+
background-color: var(--intergalactic-feature-popover-dot-outer-border, oklch(0.88 0.078 303));
|
|
80
74
|
border-radius: 50%;
|
|
81
75
|
width: 12px;
|
|
82
76
|
height: 12px;
|
|
@@ -90,23 +84,7 @@ SSpot {
|
|
|
90
84
|
border-radius: 50%;
|
|
91
85
|
width: 12px;
|
|
92
86
|
height: 12px;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
&[theme='accent'] {
|
|
96
|
-
&::before {
|
|
97
|
-
background-color: var(--intergalactic-feature-popover-dot-outer-border, oklch(0.88 0.078 303));
|
|
98
|
-
}
|
|
99
|
-
&::after {
|
|
100
|
-
background-color: var(--intergalactic-feature-popover-bg, oklch(0.88 0.078 303));
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
&[theme='neutral'] {
|
|
104
|
-
&::before {
|
|
105
|
-
background-color: var(--intergalactic-feature-popover-dot-neutral-outer-border, oklch(0.88 0.078 303));
|
|
106
|
-
}
|
|
107
|
-
&::after {
|
|
108
|
-
background-color: var(--intergalactic-feature-popover-dot-neutral, oklch(0.88 0.078 303));
|
|
109
|
-
}
|
|
87
|
+
background-color: var(--intergalactic-bg-primary-highlight, oklch(0.88 0.078 303));
|
|
110
88
|
}
|
|
111
89
|
}
|
|
112
90
|
|
|
@@ -6,12 +6,12 @@ import it from "./it.json.mjs";
|
|
|
6
6
|
import ja from "./ja.json.mjs";
|
|
7
7
|
import ko from "./ko.json.mjs";
|
|
8
8
|
import nl from "./nl.json.mjs";
|
|
9
|
-
import pl from "./pl.json.mjs";
|
|
10
9
|
import pt from "./pt.json.mjs";
|
|
11
|
-
import sv from "./sv.json.mjs";
|
|
12
10
|
import tr from "./tr.json.mjs";
|
|
13
11
|
import vi from "./vi.json.mjs";
|
|
14
12
|
import zh from "./zh.json.mjs";
|
|
13
|
+
import pl from "./pl.json.mjs";
|
|
14
|
+
import sv from "./sv.json.mjs";
|
|
15
15
|
var localizedMessages = {
|
|
16
16
|
de,
|
|
17
17
|
en,
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Intergalactic, PropGetterFn, UnknownProperties } from '@semcore/core';
|
|
2
|
+
import Popper, { PopperContext, PopperPopperProps, PopperProps } from '@semcore/popper';
|
|
3
|
+
import { Box } from '@semcore/flex-box';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Popper must have an accessible names (aria-group-name).
|
|
7
|
+
*/
|
|
8
|
+
type AriaProps = Intergalactic.RequireAtLeastOne<{
|
|
9
|
+
'aria-label'?: string;
|
|
10
|
+
'aria-labelledby'?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
}>;
|
|
13
|
+
|
|
14
|
+
/** @deprecated */
|
|
15
|
+
export interface IFeaturePopoverPopperProps extends FeaturePopoverPopperProps, UnknownProperties {}
|
|
16
|
+
export type FeaturePopoverPopperProps = PopperPopperProps & {
|
|
17
|
+
/**
|
|
18
|
+
* The property responsible for the visibility of the closing icon
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
closeIcon?: boolean;
|
|
22
|
+
/** Animation display duration in `ms`
|
|
23
|
+
* @default 200
|
|
24
|
+
*/
|
|
25
|
+
duration?: number;
|
|
26
|
+
|
|
27
|
+
locale?: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @deprecated */
|
|
31
|
+
export interface IFeaturePopoverContext extends FeaturePopoverContext, UnknownProperties {}
|
|
32
|
+
export type FeaturePopoverContext = PopperContext & {
|
|
33
|
+
getSpotProps: PropGetterFn;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
declare const FeaturePopover: Intergalactic.Component<'div', PopperProps, FeaturePopoverContext> & {
|
|
37
|
+
Trigger: typeof Popper.Trigger;
|
|
38
|
+
Popper: Intergalactic.Component<'div', FeaturePopoverPopperProps & AriaProps>;
|
|
39
|
+
Spot: typeof Box;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export default FeaturePopover;
|
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.56.0-prerelease.
|
|
4
|
+
"version": "4.56.0-prerelease.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "5.44.0-prerelease.
|
|
18
|
-
"@semcore/utils": "4.49.0-prerelease.
|
|
19
|
-
"@semcore/flex-box": "5.42.0-prerelease.
|
|
20
|
-
"@semcore/popper": "5.47.0-prerelease.
|
|
21
|
-
"@semcore/icon": "4.63.0-prerelease.
|
|
22
|
-
"@semcore/animation": "2.42.0-prerelease.
|
|
17
|
+
"@semcore/button": "5.44.0-prerelease.1",
|
|
18
|
+
"@semcore/utils": "4.49.0-prerelease.1",
|
|
19
|
+
"@semcore/flex-box": "5.42.0-prerelease.1",
|
|
20
|
+
"@semcore/popper": "5.47.0-prerelease.1",
|
|
21
|
+
"@semcore/icon": "4.63.0-prerelease.1",
|
|
22
|
+
"@semcore/animation": "2.42.0-prerelease.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@semcore/core": "^2.40.0-prerelease.
|
|
25
|
+
"@semcore/core": "^2.40.0-prerelease.1",
|
|
26
26
|
"react": "16.8 - 18",
|
|
27
27
|
"react-dom": "16.8 - 18"
|
|
28
28
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturePopover.type.js","names":[],"sources":["../../src/FeaturePopover.type.ts"],"sourcesContent":["import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';\nimport type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';\nimport type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';\nimport type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';\nimport type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';\nimport type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';\nimport type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';\nimport type {\n AnimationProps,\n BoxProps,\n OutsideClickProps,\n PortalProps,\n Box, PopperContext, PopperPopperProps, Placement, Popper } from '@semcore/base-components';\nimport type { Intergalactic, PropGetterFn } from '@semcore/core';\nimport type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';\nimport type React from 'react';\n\n/**\n * Popper must have an accessible names (aria-group-name).\n */\ntype AriaProps = Intergalactic.RequireAtLeastOne<{\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n 'title'?: string;\n}>;\n\nexport type FeaturePopoverPopperProps = PopperPopperProps & {\n /**\n * The property responsible for the visibility of the closing icon\n * @default false\n */\n closeIcon?: boolean;\n /** Animation display duration in `ms`\n * @default 200\n */\n duration?: number;\n /** Specifies the locale for i18n support */\n locale?: string;\n};\n\nexport type FeaturePopoverPopperInnerProps = {\n theme: FeaturePopoverProps['theme'];\n\n visible: boolean;\n\n $onCloseClick: (e: React.SyntheticEvent<HTMLButtonElement>) => void;\n animationsDisabled: boolean;\n getI18nText: (message: string, opts?: Record<string, unknown>) => string;\n autofocus: boolean;\n};\n\nexport type FeaturePopoverContext = PopperContext & {\n getSpotProps: PropGetterFn;\n};\n\nexport type FPPopperProps = OutsideClickProps &\n PortalProps &\n UniqueIDProps &\n AnimationProps & {\n /**\n * Popper can have different positioning options\n * @default absolute\n */\n strategy?: PositioningStrategy;\n /**\n * Modifiers for popper.js\n */\n modifiers?: Array<Partial<Modifier<any, any>>>;\n /** Timer to show and hide the popper */\n timeout?: number | [number, number];\n /** PopperJS modifier settings for popper indent */\n offset?: Partial<OptionsOffset> | number | [number, number];\n /** PopperJS modifier settings for finding borders */\n preventOverflow?: Partial<OptionsPreventOverflow>;\n /** PopperJS modifier settings responsible for the arrow */\n arrow?: Partial<OptionsArrow>;\n /** PopperJS modifier settings responsible for turning the popper when there is not enough space */\n flip?: Partial<OptionsFlip>;\n /** PopperJS modifier settings for applying styles */\n computeStyles?: Partial<OptionsComputeStyles>;\n /** PopperJS modifier settings responsible for subscribing to global events */\n eventListeners?: Partial<OptionsEventListeners>;\n /** @ignore */\n onFirstUpdate?: Options['onFirstUpdate'];\n /**\n * Flag for disable Popover (if true, it will close Popper and it will not respond to handlers)\n * @default false\n */\n disabled?: boolean;\n /**\n * If enabled, you will need to use setTrigger function from children rendering function to set popper trigger.\n */\n explicitTriggerSet?: boolean;\n\n popperMargin?: number;\n };\n\nexport type FeaturePopoverProps = FPPopperProps & {\n /** Popper visibility value */\n visible?: boolean;\n /** Function called when visibility changes */\n onVisibleChange?: (visible: boolean, e?: Event) => boolean | void;\n /**\n * The position of the popper relative to the trigger that called it.\n * @default auto\n */\n placement?: Placement;\n /**\n * The theme of FeaturePopover\n * @default accent\n */\n theme?: 'accent' | 'neutral';\n};\n\nexport type FeaturePopoverTriggerProps = BoxProps & {\n theme?: FeaturePopoverProps['theme'];\n};\n\nexport type FeaturePopoverSpotProps = {\n visible?: boolean;\n theme?: FeaturePopoverProps['theme'];\n};\n\nexport type FeaturePopoverComponent = Intergalactic.Component<'div', FeaturePopoverProps, FeaturePopoverContext> & {\n Trigger: Intergalactic.Component<typeof Popper.Trigger, FeaturePopoverTriggerProps>;\n Popper: Intergalactic.Component<'div', FeaturePopoverPopperProps & AriaProps>;\n Spot: Intergalactic.Component<typeof Box, FeaturePopoverSpotProps>;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturePopover.type.js","names":[],"sources":["../../src/FeaturePopover.type.ts"],"sourcesContent":["import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';\nimport type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';\nimport type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';\nimport type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';\nimport type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';\nimport type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';\nimport type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';\nimport type {\n AnimationProps,\n BoxProps,\n OutsideClickProps,\n PortalProps,\n Box, PopperContext, PopperPopperProps, Placement, Popper } from '@semcore/base-components';\nimport type { Intergalactic, PropGetterFn } from '@semcore/core';\nimport type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';\nimport type React from 'react';\n\n/**\n * Popper must have an accessible names (aria-group-name).\n */\ntype AriaProps = Intergalactic.RequireAtLeastOne<{\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n 'title'?: string;\n}>;\n\nexport type FeaturePopoverPopperProps = PopperPopperProps & {\n /**\n * The property responsible for the visibility of the closing icon\n * @default false\n */\n closeIcon?: boolean;\n /** Animation display duration in `ms`\n * @default 200\n */\n duration?: number;\n /** Specifies the locale for i18n support */\n locale?: string;\n};\n\nexport type FeaturePopoverPopperInnerProps = {\n theme: FeaturePopoverProps['theme'];\n\n visible: boolean;\n\n $onCloseClick: (e: React.SyntheticEvent<HTMLButtonElement>) => void;\n animationsDisabled: boolean;\n getI18nText: (message: string, opts?: Record<string, unknown>) => string;\n autofocus: boolean;\n};\n\nexport type FeaturePopoverContext = PopperContext & {\n getSpotProps: PropGetterFn;\n};\n\nexport type FPPopperProps = OutsideClickProps &\n PortalProps &\n UniqueIDProps &\n AnimationProps & {\n /**\n * Popper can have different positioning options\n * @default absolute\n */\n strategy?: PositioningStrategy;\n /**\n * Modifiers for popper.js\n */\n modifiers?: Array<Partial<Modifier<any, any>>>;\n /** Timer to show and hide the popper */\n timeout?: number | [number, number];\n /** PopperJS modifier settings for popper indent */\n offset?: Partial<OptionsOffset> | number | [number, number];\n /** PopperJS modifier settings for finding borders */\n preventOverflow?: Partial<OptionsPreventOverflow>;\n /** PopperJS modifier settings responsible for the arrow */\n arrow?: Partial<OptionsArrow>;\n /** PopperJS modifier settings responsible for turning the popper when there is not enough space */\n flip?: Partial<OptionsFlip>;\n /** PopperJS modifier settings for applying styles */\n computeStyles?: Partial<OptionsComputeStyles>;\n /** PopperJS modifier settings responsible for subscribing to global events */\n eventListeners?: Partial<OptionsEventListeners>;\n /** @ignore */\n onFirstUpdate?: Options['onFirstUpdate'];\n /**\n * Flag for disable Popover (if true, it will close Popper and it will not respond to handlers)\n * @default false\n */\n disabled?: boolean;\n /**\n * If enabled, you will need to use setTrigger function from children rendering function to set popper trigger.\n */\n explicitTriggerSet?: boolean;\n\n popperMargin?: number;\n };\n\nexport type FeaturePopoverProps = FPPopperProps & {\n /** Popper visibility value */\n visible?: boolean;\n /** Function called when visibility changes */\n onVisibleChange?: (visible: boolean, e?: Event) => boolean | void;\n /**\n * The position of the popper relative to the trigger that called it.\n * @default auto\n */\n placement?: Placement;\n /**\n * The theme of FeaturePopover\n * @default accent\n */\n theme?: 'accent' | 'neutral';\n};\n\nexport type FeaturePopoverTriggerProps = BoxProps & {\n theme?: FeaturePopoverProps['theme'];\n};\n\nexport type FeaturePopoverSpotProps = {\n visible?: boolean;\n theme?: FeaturePopoverProps['theme'];\n};\n\nexport type FeaturePopoverComponent = Intergalactic.Component<'div', FeaturePopoverProps, FeaturePopoverContext> & {\n Trigger: Intergalactic.Component<typeof Popper.Trigger, FeaturePopoverTriggerProps>;\n Popper: Intergalactic.Component<'div', FeaturePopoverPopperProps & AriaProps>;\n Spot: Intergalactic.Component<typeof Box, FeaturePopoverSpotProps>;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';
|
|
2
|
-
import type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';
|
|
3
|
-
import type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';
|
|
4
|
-
import type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';
|
|
5
|
-
import type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';
|
|
6
|
-
import type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';
|
|
7
|
-
import type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';
|
|
8
|
-
import type { AnimationProps, BoxProps, OutsideClickProps, PortalProps, Box, PopperContext, PopperPopperProps, Placement, Popper } from '@semcore/base-components';
|
|
9
|
-
import type { Intergalactic, PropGetterFn } from '@semcore/core';
|
|
10
|
-
import type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';
|
|
11
|
-
import type React from 'react';
|
|
12
|
-
/**
|
|
13
|
-
* Popper must have an accessible names (aria-group-name).
|
|
14
|
-
*/
|
|
15
|
-
type AriaProps = Intergalactic.RequireAtLeastOne<{
|
|
16
|
-
'aria-label'?: string;
|
|
17
|
-
'aria-labelledby'?: string;
|
|
18
|
-
'title'?: string;
|
|
19
|
-
}>;
|
|
20
|
-
export type FeaturePopoverPopperProps = PopperPopperProps & {
|
|
21
|
-
/**
|
|
22
|
-
* The property responsible for the visibility of the closing icon
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
closeIcon?: boolean;
|
|
26
|
-
/** Animation display duration in `ms`
|
|
27
|
-
* @default 200
|
|
28
|
-
*/
|
|
29
|
-
duration?: number;
|
|
30
|
-
/** Specifies the locale for i18n support */
|
|
31
|
-
locale?: string;
|
|
32
|
-
};
|
|
33
|
-
export type FeaturePopoverPopperInnerProps = {
|
|
34
|
-
theme: FeaturePopoverProps['theme'];
|
|
35
|
-
visible: boolean;
|
|
36
|
-
$onCloseClick: (e: React.SyntheticEvent<HTMLButtonElement>) => void;
|
|
37
|
-
animationsDisabled: boolean;
|
|
38
|
-
getI18nText: (message: string, opts?: Record<string, unknown>) => string;
|
|
39
|
-
autofocus: boolean;
|
|
40
|
-
};
|
|
41
|
-
export type FeaturePopoverContext = PopperContext & {
|
|
42
|
-
getSpotProps: PropGetterFn;
|
|
43
|
-
};
|
|
44
|
-
export type FPPopperProps = OutsideClickProps & PortalProps & UniqueIDProps & AnimationProps & {
|
|
45
|
-
/**
|
|
46
|
-
* Popper can have different positioning options
|
|
47
|
-
* @default absolute
|
|
48
|
-
*/
|
|
49
|
-
strategy?: PositioningStrategy;
|
|
50
|
-
/**
|
|
51
|
-
* Modifiers for popper.js
|
|
52
|
-
*/
|
|
53
|
-
modifiers?: Array<Partial<Modifier<any, any>>>;
|
|
54
|
-
/** Timer to show and hide the popper */
|
|
55
|
-
timeout?: number | [number, number];
|
|
56
|
-
/** PopperJS modifier settings for popper indent */
|
|
57
|
-
offset?: Partial<OptionsOffset> | number | [number, number];
|
|
58
|
-
/** PopperJS modifier settings for finding borders */
|
|
59
|
-
preventOverflow?: Partial<OptionsPreventOverflow>;
|
|
60
|
-
/** PopperJS modifier settings responsible for the arrow */
|
|
61
|
-
arrow?: Partial<OptionsArrow>;
|
|
62
|
-
/** PopperJS modifier settings responsible for turning the popper when there is not enough space */
|
|
63
|
-
flip?: Partial<OptionsFlip>;
|
|
64
|
-
/** PopperJS modifier settings for applying styles */
|
|
65
|
-
computeStyles?: Partial<OptionsComputeStyles>;
|
|
66
|
-
/** PopperJS modifier settings responsible for subscribing to global events */
|
|
67
|
-
eventListeners?: Partial<OptionsEventListeners>;
|
|
68
|
-
/** @ignore */
|
|
69
|
-
onFirstUpdate?: Options['onFirstUpdate'];
|
|
70
|
-
/**
|
|
71
|
-
* Flag for disable Popover (if true, it will close Popper and it will not respond to handlers)
|
|
72
|
-
* @default false
|
|
73
|
-
*/
|
|
74
|
-
disabled?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* If enabled, you will need to use setTrigger function from children rendering function to set popper trigger.
|
|
77
|
-
*/
|
|
78
|
-
explicitTriggerSet?: boolean;
|
|
79
|
-
popperMargin?: number;
|
|
80
|
-
};
|
|
81
|
-
export type FeaturePopoverProps = FPPopperProps & {
|
|
82
|
-
/** Popper visibility value */
|
|
83
|
-
visible?: boolean;
|
|
84
|
-
/** Function called when visibility changes */
|
|
85
|
-
onVisibleChange?: (visible: boolean, e?: Event) => boolean | void;
|
|
86
|
-
/**
|
|
87
|
-
* The position of the popper relative to the trigger that called it.
|
|
88
|
-
* @default auto
|
|
89
|
-
*/
|
|
90
|
-
placement?: Placement;
|
|
91
|
-
/**
|
|
92
|
-
* The theme of FeaturePopover
|
|
93
|
-
* @default accent
|
|
94
|
-
*/
|
|
95
|
-
theme?: 'accent' | 'neutral';
|
|
96
|
-
};
|
|
97
|
-
export type FeaturePopoverTriggerProps = BoxProps & {
|
|
98
|
-
theme?: FeaturePopoverProps['theme'];
|
|
99
|
-
};
|
|
100
|
-
export type FeaturePopoverSpotProps = {
|
|
101
|
-
visible?: boolean;
|
|
102
|
-
theme?: FeaturePopoverProps['theme'];
|
|
103
|
-
};
|
|
104
|
-
export type FeaturePopoverComponent = Intergalactic.Component<'div', FeaturePopoverProps, FeaturePopoverContext> & {
|
|
105
|
-
Trigger: Intergalactic.Component<typeof Popper.Trigger, FeaturePopoverTriggerProps>;
|
|
106
|
-
Popper: Intergalactic.Component<'div', FeaturePopoverPopperProps & AriaProps>;
|
|
107
|
-
Spot: Intergalactic.Component<typeof Box, FeaturePopoverSpotProps>;
|
|
108
|
-
};
|
|
109
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const localizedMessages: {
|
|
2
|
-
de: {
|
|
3
|
-
close: string;
|
|
4
|
-
};
|
|
5
|
-
en: {
|
|
6
|
-
close: string;
|
|
7
|
-
};
|
|
8
|
-
es: {
|
|
9
|
-
close: string;
|
|
10
|
-
};
|
|
11
|
-
fr: {
|
|
12
|
-
close: string;
|
|
13
|
-
};
|
|
14
|
-
it: {
|
|
15
|
-
close: string;
|
|
16
|
-
};
|
|
17
|
-
ja: {
|
|
18
|
-
close: string;
|
|
19
|
-
};
|
|
20
|
-
ko: {
|
|
21
|
-
close: string;
|
|
22
|
-
};
|
|
23
|
-
nl: {
|
|
24
|
-
close: string;
|
|
25
|
-
};
|
|
26
|
-
pt: {
|
|
27
|
-
close: string;
|
|
28
|
-
};
|
|
29
|
-
tr: {
|
|
30
|
-
close: string;
|
|
31
|
-
};
|
|
32
|
-
vi: {
|
|
33
|
-
close: string;
|
|
34
|
-
};
|
|
35
|
-
zh: {
|
|
36
|
-
close: string;
|
|
37
|
-
};
|
|
38
|
-
pl: {
|
|
39
|
-
close: string;
|
|
40
|
-
};
|
|
41
|
-
sv: {
|
|
42
|
-
close: string;
|
|
43
|
-
};
|
|
44
|
-
};
|