@stokr/components-library 3.0.32 → 3.0.33
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/README.md +72 -287
- package/dist/components/2FA/login-with-otp-flow.js +2 -2
- package/dist/components/Button/GlareButton.js +273 -0
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Layout/Layout.js +6 -3
- package/dist/components/icons/LinkIcon.js +2 -2
- package/dist/index.js +2 -0
- package/dist/runtime-config.js +1 -1
- package/dist/static/country-list.json +251 -251
- package/dist/static/fonts/Ionicons/ionicons.min.css +2810 -2810
- package/dist/static/fonts/Ionicons/ionicons.min.css.js +1 -1
- package/dist/static/fonts/icomoon/selection.json +910 -910
- package/dist/static/fonts/icomoon/style.css +139 -139
- package/dist/static/images/copy_icon.svg +4 -4
- package/dist/static/images/download_icon.svg +3 -3
- package/dist/static/images/numbers/number_eight.svg +3 -3
- package/dist/static/images/numbers/number_five.svg +4 -4
- package/dist/static/images/numbers/number_four.svg +3 -3
- package/dist/static/images/numbers/number_nine.svg +4 -4
- package/dist/static/images/numbers/number_one.svg +4 -4
- package/dist/static/images/numbers/number_seven.svg +4 -4
- package/dist/static/images/numbers/number_six.svg +4 -4
- package/dist/static/images/numbers/number_three.svg +3 -3
- package/dist/static/images/numbers/number_two.svg +4 -4
- package/dist/static/images/numbers/number_zero.svg +3 -3
- package/dist/static/images/plus-icon.svg +4 -4
- package/dist/static/images/search-icon.svg +3 -3
- package/dist/static/images/transfer-icon.svg +10 -10
- package/dist/static/images/warning-filled.svg +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { Button } from "./Button.styles.js";
|
|
4
|
+
import { colors } from "../../styles/colors.js";
|
|
5
|
+
import { useInView } from "react-intersection-observer";
|
|
6
|
+
import { useState, useRef, useId, useEffect } from "react";
|
|
7
|
+
import styled, { keyframes, css } from "styled-components";
|
|
8
|
+
const config = {
|
|
9
|
+
colorDark: "rgb(41, 112, 225)",
|
|
10
|
+
colorLight: "#9bfcfd",
|
|
11
|
+
colorFooter: colors.blue,
|
|
12
|
+
strokeWidth: 2,
|
|
13
|
+
padding: 5,
|
|
14
|
+
baseHeight: 50
|
|
15
|
+
};
|
|
16
|
+
const glareAnimation = keyframes`
|
|
17
|
+
0% { width: 0; }
|
|
18
|
+
50% { width: 200%; }
|
|
19
|
+
75% { opacity: 1; }
|
|
20
|
+
100% { width: 400%; opacity: 0; }
|
|
21
|
+
`;
|
|
22
|
+
const ButtonWrapper = styled.div.withConfig({
|
|
23
|
+
shouldForwardProp: (props) => !["nowrap", "fullWidth"].includes(props)
|
|
24
|
+
})`
|
|
25
|
+
position: relative;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
|
|
28
|
+
${({ nowrap }) => !nowrap && css`
|
|
29
|
+
display: block;
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 0;
|
|
32
|
+
left: 50%;
|
|
33
|
+
transform: translate3d(-50%, -50%, 0);
|
|
34
|
+
`}
|
|
35
|
+
|
|
36
|
+
${({ fullWidth }) => fullWidth && css`
|
|
37
|
+
width: 100%;
|
|
38
|
+
`}
|
|
39
|
+
`;
|
|
40
|
+
const StyledButton = styled(Button).withConfig({
|
|
41
|
+
shouldForwardProp: (props) => !["beauty", "backgroundColor", "textColor", "borderColor", "fullWidth", "disabledColor"].includes(props)
|
|
42
|
+
})`
|
|
43
|
+
position: relative;
|
|
44
|
+
margin: ${config.padding}px;
|
|
45
|
+
background-color: ${(props) => props.backgroundColor || "inherit"};
|
|
46
|
+
color: ${(props) => props.textColor || "inherit"};
|
|
47
|
+
border-color: ${(props) => props.borderColor || "inherit"};
|
|
48
|
+
|
|
49
|
+
${({ fullWidth }) => fullWidth && css`
|
|
50
|
+
width: calc(100% - ${config.padding * 2}px);
|
|
51
|
+
`}
|
|
52
|
+
|
|
53
|
+
&:disabled {
|
|
54
|
+
background-color: ${(props) => props.disabledColor || "#333"} !important;
|
|
55
|
+
color: rgba(255, 255, 255, 0.5) !important;
|
|
56
|
+
border-color: #555 !important;
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
59
|
+
const ButtonGlare = styled.svg`
|
|
60
|
+
position: absolute;
|
|
61
|
+
left: 0;
|
|
62
|
+
top: 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 100%;
|
|
65
|
+
`;
|
|
66
|
+
const GlareShape = styled.rect.withConfig({
|
|
67
|
+
shouldForwardProp: (props) => !["animationDuration"].includes(props)
|
|
68
|
+
})`
|
|
69
|
+
animation: ${glareAnimation} ${(props) => props.animationDuration || 4}s linear infinite;
|
|
70
|
+
`;
|
|
71
|
+
const GlareButton = ({
|
|
72
|
+
children,
|
|
73
|
+
nowrap = false,
|
|
74
|
+
onClick,
|
|
75
|
+
disabled = false,
|
|
76
|
+
fullWidth = false,
|
|
77
|
+
disabledColor = "#333",
|
|
78
|
+
buttonId = "glare-button",
|
|
79
|
+
className,
|
|
80
|
+
backgroundColor,
|
|
81
|
+
textColor,
|
|
82
|
+
borderColor,
|
|
83
|
+
glareColorDark = config.colorDark,
|
|
84
|
+
glareColorLight = config.colorLight,
|
|
85
|
+
animationDuration = 4,
|
|
86
|
+
...props
|
|
87
|
+
}) => {
|
|
88
|
+
const [isButtonVisible, setIsButtonVisible] = useState(false);
|
|
89
|
+
const [dimensions, setDimensions] = useState({
|
|
90
|
+
width: 295,
|
|
91
|
+
height: config.baseHeight
|
|
92
|
+
});
|
|
93
|
+
const buttonRef = useRef(null);
|
|
94
|
+
const wrapperRef = useRef(null);
|
|
95
|
+
const observerRef = useRef(null);
|
|
96
|
+
const mediaQueryRef = useRef(null);
|
|
97
|
+
const ids = useRef({
|
|
98
|
+
linearGradient: `gradient-${useId()}`,
|
|
99
|
+
fadeGradient: `fade-gradient-${useId()}`,
|
|
100
|
+
staticMask: `static-mask-${useId()}`,
|
|
101
|
+
mask: `mask-${useId()}`,
|
|
102
|
+
fadeMask: `fade-mask-${useId()}`
|
|
103
|
+
});
|
|
104
|
+
const updateDimensions = () => {
|
|
105
|
+
if (!buttonRef.current || !wrapperRef.current) return;
|
|
106
|
+
const buttonRect = buttonRef.current.getBoundingClientRect();
|
|
107
|
+
setDimensions({
|
|
108
|
+
width: buttonRect.width + config.padding * 2,
|
|
109
|
+
height: buttonRect.height + config.padding * 2
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
const handleButtonVisibility = (isVisible) => {
|
|
113
|
+
setIsButtonVisible(isVisible);
|
|
114
|
+
};
|
|
115
|
+
const { ref: windowViewportRef } = useInView({
|
|
116
|
+
threshold: 0,
|
|
117
|
+
// partialVisibility equivalent - triggers as soon as any part is visible
|
|
118
|
+
onChange: (inView, _entry) => {
|
|
119
|
+
handleButtonVisibility(inView);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
useEffect(() => {
|
|
123
|
+
let mediaTimeoutId;
|
|
124
|
+
mediaQueryRef.current = window.matchMedia("(max-width: 768px)");
|
|
125
|
+
const handleMediaChange = (_event) => {
|
|
126
|
+
if (mediaTimeoutId != null) clearTimeout(mediaTimeoutId);
|
|
127
|
+
mediaTimeoutId = setTimeout(updateDimensions, 400);
|
|
128
|
+
};
|
|
129
|
+
mediaQueryRef.current.addEventListener("change", handleMediaChange);
|
|
130
|
+
observerRef.current = new ResizeObserver(updateDimensions);
|
|
131
|
+
if (buttonRef.current) {
|
|
132
|
+
observerRef.current.observe(buttonRef.current);
|
|
133
|
+
updateDimensions();
|
|
134
|
+
}
|
|
135
|
+
return () => {
|
|
136
|
+
if (mediaTimeoutId != null) clearTimeout(mediaTimeoutId);
|
|
137
|
+
mediaQueryRef.current.removeEventListener("change", handleMediaChange);
|
|
138
|
+
if (observerRef.current) {
|
|
139
|
+
observerRef.current.disconnect();
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}, []);
|
|
143
|
+
return /* @__PURE__ */ jsx("div", { ref: windowViewportRef, children: /* @__PURE__ */ jsxs(ButtonWrapper, { ref: wrapperRef, nowrap, fullWidth, className, children: [
|
|
144
|
+
/* @__PURE__ */ jsxs(
|
|
145
|
+
ButtonGlare,
|
|
146
|
+
{
|
|
147
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
148
|
+
viewBox: `0 0 ${dimensions.width} ${dimensions.height}`,
|
|
149
|
+
preserveAspectRatio: "none",
|
|
150
|
+
children: [
|
|
151
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
152
|
+
/* @__PURE__ */ jsxs("filter", { id: "glow", x: "-50%", y: "-50%", width: "200%", height: "200%", children: [
|
|
153
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "100", result: "coloredBlur" }),
|
|
154
|
+
/* @__PURE__ */ jsx("feMerge", { children: /* @__PURE__ */ jsx("feMergeNode", { in: "coloredBlur" }) })
|
|
155
|
+
] }),
|
|
156
|
+
/* @__PURE__ */ jsxs("linearGradient", { id: `${ids.current.linearGradient}`, x1: "0%", y1: "50%", x2: "100%", y2: "50%", children: [
|
|
157
|
+
/* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: glareColorDark, stopOpacity: "0" }),
|
|
158
|
+
/* @__PURE__ */ jsx("stop", { offset: "20%", stopColor: glareColorDark, stopOpacity: "1" }),
|
|
159
|
+
/* @__PURE__ */ jsx("stop", { offset: "40%", stopColor: glareColorDark }),
|
|
160
|
+
/* @__PURE__ */ jsx("stop", { offset: "60%", stopColor: glareColorLight }),
|
|
161
|
+
/* @__PURE__ */ jsx("stop", { offset: "80%", stopColor: glareColorDark }),
|
|
162
|
+
/* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: glareColorDark, stopOpacity: "0" })
|
|
163
|
+
] }),
|
|
164
|
+
/* @__PURE__ */ jsxs("linearGradient", { id: `${ids.current.fadeGradient}`, x1: "0%", y1: "25%", x2: "0%", y2: "100%", children: [
|
|
165
|
+
/* @__PURE__ */ jsx("stop", { offset: "0", stopColor: "white", stopOpacity: "1" }),
|
|
166
|
+
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "white", stopOpacity: "0" })
|
|
167
|
+
] }),
|
|
168
|
+
/* @__PURE__ */ jsx("mask", { id: `${ids.current.staticMask}`, children: /* @__PURE__ */ jsx(
|
|
169
|
+
"rect",
|
|
170
|
+
{
|
|
171
|
+
x: config.strokeWidth,
|
|
172
|
+
y: config.strokeWidth,
|
|
173
|
+
width: dimensions.width - config.strokeWidth * 2,
|
|
174
|
+
height: dimensions.height - config.strokeWidth * 2,
|
|
175
|
+
rx: (dimensions.height - config.strokeWidth * 2) / 2,
|
|
176
|
+
ry: (dimensions.height - config.strokeWidth * 2) / 2,
|
|
177
|
+
stroke: "#FFFFFF",
|
|
178
|
+
strokeWidth: config.strokeWidth + 1,
|
|
179
|
+
fill: "none"
|
|
180
|
+
}
|
|
181
|
+
) }),
|
|
182
|
+
/* @__PURE__ */ jsx("mask", { id: `${ids.current.mask}`, children: /* @__PURE__ */ jsx(
|
|
183
|
+
"rect",
|
|
184
|
+
{
|
|
185
|
+
x: config.strokeWidth,
|
|
186
|
+
y: config.strokeWidth,
|
|
187
|
+
width: dimensions.width - config.strokeWidth * 2,
|
|
188
|
+
height: dimensions.height - config.strokeWidth * 2,
|
|
189
|
+
rx: (dimensions.height - config.strokeWidth * 2) / 2,
|
|
190
|
+
ry: (dimensions.height - config.strokeWidth * 2) / 2,
|
|
191
|
+
stroke: "#FFFFFF",
|
|
192
|
+
strokeWidth: config.strokeWidth + 1
|
|
193
|
+
}
|
|
194
|
+
) }),
|
|
195
|
+
/* @__PURE__ */ jsx("mask", { id: `${ids.current.fadeMask}`, children: /* @__PURE__ */ jsx(
|
|
196
|
+
"rect",
|
|
197
|
+
{
|
|
198
|
+
x: config.strokeWidth,
|
|
199
|
+
y: config.strokeWidth,
|
|
200
|
+
width: dimensions.width - config.strokeWidth * 2,
|
|
201
|
+
height: dimensions.height - config.strokeWidth * 2,
|
|
202
|
+
rx: (dimensions.height - config.strokeWidth * 2) / 2,
|
|
203
|
+
ry: (dimensions.height - config.strokeWidth * 2) / 2,
|
|
204
|
+
fill: `url(#${ids.current.fadeGradient})`
|
|
205
|
+
}
|
|
206
|
+
) })
|
|
207
|
+
] }),
|
|
208
|
+
/* @__PURE__ */ jsx(
|
|
209
|
+
"rect",
|
|
210
|
+
{
|
|
211
|
+
x: "0",
|
|
212
|
+
y: "0",
|
|
213
|
+
width: dimensions.width,
|
|
214
|
+
height: dimensions.height,
|
|
215
|
+
fill: glareColorDark,
|
|
216
|
+
mask: `url(#${ids.current.staticMask})`,
|
|
217
|
+
filter: "url(#glow)"
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
isButtonVisible && /* @__PURE__ */ jsx("g", { mask: `url(#${ids.current.fadeMask})`, children: /* @__PURE__ */ jsx(
|
|
221
|
+
GlareShape,
|
|
222
|
+
{
|
|
223
|
+
x: dimensions.width * -0.5,
|
|
224
|
+
y: config.strokeWidth,
|
|
225
|
+
width: dimensions.width * 2.5,
|
|
226
|
+
height: dimensions.height - config.strokeWidth * 2,
|
|
227
|
+
fill: `url(#${ids.current.linearGradient})`,
|
|
228
|
+
mask: `url(#${ids.current.mask})`,
|
|
229
|
+
animationDuration
|
|
230
|
+
}
|
|
231
|
+
) })
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
/* @__PURE__ */ jsx(
|
|
236
|
+
StyledButton,
|
|
237
|
+
{
|
|
238
|
+
beauty: true,
|
|
239
|
+
disabled,
|
|
240
|
+
id: buttonId,
|
|
241
|
+
onClick,
|
|
242
|
+
fullWidth,
|
|
243
|
+
disabledColor,
|
|
244
|
+
backgroundColor,
|
|
245
|
+
textColor,
|
|
246
|
+
borderColor,
|
|
247
|
+
ref: buttonRef,
|
|
248
|
+
...props,
|
|
249
|
+
"data-cy": props["data-cy"] ?? buttonId,
|
|
250
|
+
children
|
|
251
|
+
}
|
|
252
|
+
)
|
|
253
|
+
] }) });
|
|
254
|
+
};
|
|
255
|
+
GlareButton.propTypes = {
|
|
256
|
+
children: PropTypes.node.isRequired,
|
|
257
|
+
nowrap: PropTypes.bool,
|
|
258
|
+
onClick: PropTypes.func.isRequired,
|
|
259
|
+
disabled: PropTypes.bool,
|
|
260
|
+
fullWidth: PropTypes.bool,
|
|
261
|
+
disabledColor: PropTypes.string,
|
|
262
|
+
buttonId: PropTypes.string,
|
|
263
|
+
className: PropTypes.string,
|
|
264
|
+
backgroundColor: PropTypes.string,
|
|
265
|
+
textColor: PropTypes.string,
|
|
266
|
+
borderColor: PropTypes.string,
|
|
267
|
+
glareColorDark: PropTypes.string,
|
|
268
|
+
glareColorLight: PropTypes.string,
|
|
269
|
+
animationDuration: PropTypes.number
|
|
270
|
+
};
|
|
271
|
+
export {
|
|
272
|
+
GlareButton
|
|
273
|
+
};
|
|
@@ -190,7 +190,7 @@ function HeaderView({
|
|
|
190
190
|
withSidebar && /* @__PURE__ */ jsx(SidebarToggle, { isSidebarExpanded, onClick: sidebarHandler, children: /* @__PURE__ */ jsx(HamburgerIcon, {}) }),
|
|
191
191
|
/* @__PURE__ */ jsxs(HeaderInner, { withSidebar, children: [
|
|
192
192
|
/* @__PURE__ */ jsxs(MainNavWrap, { hasProgress: progress, children: [
|
|
193
|
-
/* @__PURE__ */ jsx(Logo, { isHighlight: currentActiveMenu === "main", children: /* @__PURE__ */ jsx(
|
|
193
|
+
/* @__PURE__ */ jsx(Logo, { isHighlight: currentActiveMenu === "main", children: useRelativePathForMenu ? /* @__PURE__ */ jsx("a", { href: platformURL, "data-cy": "logo-nav-link", children: /* @__PURE__ */ jsx(stdin_default$1, {}) }) : /* @__PURE__ */ jsx(Link, { to: "/", "data-cy": "logo-nav-link", children: /* @__PURE__ */ jsx(stdin_default$1, {}) }) }),
|
|
194
194
|
!progress && /* @__PURE__ */ jsx(HeaderMainNav, { children: /* @__PURE__ */ jsx(MenuNav, { children: /* @__PURE__ */ jsxs("ul", { children: [
|
|
195
195
|
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
196
196
|
Link,
|
|
@@ -26,7 +26,8 @@ class Layout extends React__default.PureComponent {
|
|
|
26
26
|
footerColor = "red",
|
|
27
27
|
noFooter,
|
|
28
28
|
noHeader,
|
|
29
|
-
noLogout
|
|
29
|
+
noLogout,
|
|
30
|
+
useRelativePathForMenu = false
|
|
30
31
|
} = this.props;
|
|
31
32
|
return /* @__PURE__ */ jsx(ThemeProvider, { theme: { ...theme }, children: /* @__PURE__ */ jsxs(PageWrapper, { children: [
|
|
32
33
|
/* @__PURE__ */ jsx(GlobalStyle, {}),
|
|
@@ -38,7 +39,8 @@ class Layout extends React__default.PureComponent {
|
|
|
38
39
|
loginHandler,
|
|
39
40
|
signupHandler,
|
|
40
41
|
siteTitle: title,
|
|
41
|
-
noLogout
|
|
42
|
+
noLogout,
|
|
43
|
+
useRelativePathForMenu
|
|
42
44
|
}
|
|
43
45
|
),
|
|
44
46
|
/* @__PURE__ */ jsx(
|
|
@@ -61,7 +63,8 @@ Layout.propTypes = {
|
|
|
61
63
|
signupHandler: PropTypes.func,
|
|
62
64
|
progress: PropTypes.bool,
|
|
63
65
|
footerColor: PropTypes.string,
|
|
64
|
-
children: PropTypes.node.isRequired
|
|
66
|
+
children: PropTypes.node.isRequired,
|
|
67
|
+
useRelativePathForMenu: PropTypes.bool
|
|
65
68
|
};
|
|
66
69
|
ProgressStatusContext.Consumer;
|
|
67
70
|
export {
|
|
@@ -17,13 +17,13 @@ const LinkIcon = () => /* @__PURE__ */ jsxs(
|
|
|
17
17
|
/* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx(
|
|
18
18
|
"path",
|
|
19
19
|
{
|
|
20
|
-
d: "M312.453,199.601c-6.066-6.102-12.792-11.511-20.053-16.128c-19.232-12.315-41.59-18.859-64.427-18.859\
|
|
20
|
+
d: "M312.453,199.601c-6.066-6.102-12.792-11.511-20.053-16.128c-19.232-12.315-41.59-18.859-64.427-18.859\n c-31.697-0.059-62.106,12.535-84.48,34.987L34.949,308.23c-22.336,22.379-34.89,52.7-34.91,84.318\n c-0.042,65.98,53.41,119.501,119.39,119.543c31.648,0.11,62.029-12.424,84.395-34.816l89.6-89.6\n c1.628-1.614,2.537-3.816,2.524-6.108c-0.027-4.713-3.87-8.511-8.583-8.484h-3.413c-18.72,0.066-37.273-3.529-54.613-10.581\n c-3.195-1.315-6.867-0.573-9.301,1.877l-64.427,64.512c-20.006,20.006-52.442,20.006-72.448,0\n c-20.006-20.006-20.006-52.442,0-72.448l108.971-108.885c19.99-19.965,52.373-19.965,72.363,0\n c13.472,12.679,34.486,12.679,47.957,0c5.796-5.801,9.31-13.495,9.899-21.675C322.976,216.108,319.371,206.535,312.453,199.601z"
|
|
21
21
|
}
|
|
22
22
|
) }) }),
|
|
23
23
|
/* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx(
|
|
24
24
|
"path",
|
|
25
25
|
{
|
|
26
|
-
d: "M477.061,34.993c-46.657-46.657-122.303-46.657-168.96,0l-89.515,89.429c-2.458,2.47-3.167,6.185-1.792,9.387\
|
|
26
|
+
d: "M477.061,34.993c-46.657-46.657-122.303-46.657-168.96,0l-89.515,89.429c-2.458,2.47-3.167,6.185-1.792,9.387\n c1.359,3.211,4.535,5.272,8.021,5.205h3.157c18.698-0.034,37.221,3.589,54.528,10.667c3.195,1.315,6.867,0.573,9.301-1.877\n l64.256-64.171c20.006-20.006,52.442-20.006,72.448,0c20.006,20.006,20.006,52.442,0,72.448l-80.043,79.957l-0.683,0.768\n l-27.989,27.819c-19.99,19.965-52.373,19.965-72.363,0c-13.472-12.679-34.486-12.679-47.957,0\n c-5.833,5.845-9.35,13.606-9.899,21.845c-0.624,9.775,2.981,19.348,9.899,26.283c9.877,9.919,21.433,18.008,34.133,23.893\n c1.792,0.853,3.584,1.536,5.376,2.304c1.792,0.768,3.669,1.365,5.461,2.048c1.792,0.683,3.669,1.28,5.461,1.792l5.035,1.365\n c3.413,0.853,6.827,1.536,10.325,2.133c4.214,0.626,8.458,1.025,12.715,1.195h5.973h0.512l5.12-0.597\n c1.877-0.085,3.84-0.512,6.059-0.512h2.901l5.888-0.853l2.731-0.512l4.949-1.024h0.939c20.961-5.265,40.101-16.118,55.381-31.403\n l108.629-108.629C523.718,157.296,523.718,81.65,477.061,34.993z"
|
|
27
27
|
}
|
|
28
28
|
) }) }),
|
|
29
29
|
/* @__PURE__ */ jsx("g", {}),
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,7 @@ import { LearnMoreSection } from "./components/LearnMoreSection/LearnMore.js";
|
|
|
55
55
|
import { LearnMoreItemSection } from "./components/LearnMoreSection/LearnMoreItem.js";
|
|
56
56
|
import { MainMenu } from "./components/MainMenu/MainMenu.js";
|
|
57
57
|
import { MenuNav } from "./components/MenuNav/MenuNav.styles.js";
|
|
58
|
+
import { GlareButton } from "./components/Button/GlareButton.js";
|
|
58
59
|
import { Modal } from "./components/Modal/Modal.js";
|
|
59
60
|
import { PaymentModal } from "./components/Modal/PaymentModal.js";
|
|
60
61
|
import { NewVentureModal } from "./components/Modal/NewVentureModal/NewVentureModal.js";
|
|
@@ -351,6 +352,7 @@ export {
|
|
|
351
352
|
GRAY_DEEP_HEX,
|
|
352
353
|
GRAY_SECONDARY_HEX,
|
|
353
354
|
GREEN,
|
|
355
|
+
GlareButton,
|
|
354
356
|
default26 as Glassess,
|
|
355
357
|
GlobalStyle,
|
|
356
358
|
Header,
|
package/dist/runtime-config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false };
|
|
1
|
+
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false, "VITE_ADMIN_URL": "https://admin.stokr.info", "VITE_API_URL": "https://platform-api.stokr.info/api/v1", "VITE_BASE_URL_PUBLIC": "https://platform-api-no-auth.stokr.info/api/v1", "VITE_COOKIE_DOMAIN": "localhost", "VITE_DASHBOARD_URL": "https://dashboard.stokr.info", "VITE_FIREBASE_API_KEY": "AIzaSyBBp_3Romnfv--YpUuV0mJgDymvSp3oq0c", "VITE_FIREBASE_APP_ID": "1:568229412804:web:2391857e3e2a0b02346e91", "VITE_FIREBASE_AUTH_DOMAIN": "stokr-development-env.firebaseapp.com", "VITE_FIREBASE_MEASUREMENT_ID": "G-CP53SZVSMN", "VITE_FIREBASE_MESSAGING_SENDER_ID": "568229412804", "VITE_FIREBASE_PROJECT_ID": "stokr-development-env", "VITE_FIREBASE_STORAGE_BUCKET": "stokr-development-env.appspot.com", "VITE_MIXPANEL_TOKEN": "a7bb1e881f9b2600762fded84d8ce0ea", "VITE_ONBOARDING_URL": "https://signup.stokr.info", "VITE_PHOTO_API_URL": "https://platform-api.stokr.info/api/v1", "VITE_REGISTER_URL": "https://stokr.info/signup", "VITE_WEBSITE_DOMAIN": "stokr.info" };
|
|
2
2
|
const _overrides = {};
|
|
3
3
|
const ENV_KEY_BY_CONFIG = {
|
|
4
4
|
apiUrl: "VITE_API_URL",
|