soliq-design-system 1.0.2
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/dist/NotFound/NotFound.d.ts +20 -0
- package/dist/NotFound/NotFound.js +56 -0
- package/dist/NotFound/NotFound.styles.d.ts +1 -0
- package/dist/NotFound/NotFound.styles.js +346 -0
- package/dist/NotFound/index.d.ts +1 -0
- package/dist/NotFound/index.js +1 -0
- package/dist/NotFound.d.ts +1 -0
- package/dist/NotFound.js +1 -0
- package/dist/SessionExpired/SessionExpired.d.ts +20 -0
- package/dist/SessionExpired/SessionExpired.js +56 -0
- package/dist/SessionExpired/SessionExpired.styles.d.ts +1 -0
- package/dist/SessionExpired/SessionExpired.styles.js +355 -0
- package/dist/SessionExpired/index.d.ts +1 -0
- package/dist/SessionExpired/index.js +1 -0
- package/dist/SessionExpired.d.ts +1 -0
- package/dist/SessionExpired.js +1 -0
- package/dist/SoliqLoader/SoliqLoader.d.ts +10 -0
- package/dist/SoliqLoader/SoliqLoader.js +12 -0
- package/dist/SoliqLoader/SoliqLoader.styles.d.ts +1 -0
- package/dist/SoliqLoader/SoliqLoader.styles.js +347 -0
- package/dist/SoliqLoader/index.d.ts +1 -0
- package/dist/SoliqLoader/index.js +1 -0
- package/dist/SoliqLoader.d.ts +1 -0
- package/dist/SoliqLoader.js +1 -0
- package/dist/ThemeToggleTransition/ThemeToggleTransition.d.ts +9 -0
- package/dist/ThemeToggleTransition/ThemeToggleTransition.js +86 -0
- package/dist/ThemeToggleTransition/ThemeToggleTransition.styles.d.ts +1 -0
- package/dist/ThemeToggleTransition/ThemeToggleTransition.styles.js +454 -0
- package/dist/ThemeToggleTransition/index.d.ts +1 -0
- package/dist/ThemeToggleTransition/index.js +1 -0
- package/dist/ThemeToggleTransition.d.ts +1 -0
- package/dist/ThemeToggleTransition.js +1 -0
- package/dist/assets/images/logo.svg +9 -0
- package/dist/assets/images/moon.svg +13 -0
- package/dist/assets/images/sun.svg +73 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/package.json +31 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
export const styles = `
|
|
2
|
+
.session-expired {
|
|
3
|
+
--bg: #f8fafc;
|
|
4
|
+
--panel: #ffffff;
|
|
5
|
+
--title: #0f172a;
|
|
6
|
+
--muted: #64748b;
|
|
7
|
+
--primary: #0b4f8a;
|
|
8
|
+
--primary-hover: #0a4578;
|
|
9
|
+
--action-bg: rgba(233, 241, 252, 0.92);
|
|
10
|
+
--action-bg-hover: rgba(224, 235, 249, 0.96);
|
|
11
|
+
--action-text: #0b4f8a;
|
|
12
|
+
--action-border: rgba(11, 79, 138, 0.34);
|
|
13
|
+
--line: rgba(15, 23, 42, 0.14);
|
|
14
|
+
--soft-line: rgba(11, 79, 138, 0.2);
|
|
15
|
+
--halo: rgba(11, 79, 138, 0.16);
|
|
16
|
+
--chip: rgba(15, 23, 42, 0.04);
|
|
17
|
+
--chip-border: rgba(15, 23, 42, 0.1);
|
|
18
|
+
--shadow: rgba(15, 23, 42, 0.16);
|
|
19
|
+
width: 100%;
|
|
20
|
+
min-height: 560px;
|
|
21
|
+
position: relative;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
background:
|
|
24
|
+
radial-gradient(circle at 50% 42%, var(--halo), transparent 42%),
|
|
25
|
+
var(--bg);
|
|
26
|
+
font-family: Inter, system-ui, sans-serif;
|
|
27
|
+
opacity: 1;
|
|
28
|
+
visibility: visible;
|
|
29
|
+
pointer-events: auto;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.session-expired--fullscreen {
|
|
33
|
+
position: fixed;
|
|
34
|
+
inset: 0;
|
|
35
|
+
width: 100vw;
|
|
36
|
+
height: 100vh;
|
|
37
|
+
min-height: 100vh;
|
|
38
|
+
z-index: 9998;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.session-expired--hidden {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
visibility: hidden;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.session-expired[data-mode="dark"] {
|
|
48
|
+
--bg: #020f25;
|
|
49
|
+
--panel: rgba(5, 20, 42, 0.58);
|
|
50
|
+
--title: #d7e5f4;
|
|
51
|
+
--muted: #7f97b5;
|
|
52
|
+
--primary: #2f73bb;
|
|
53
|
+
--primary-hover: #3f83ca;
|
|
54
|
+
--action-bg: rgba(23, 43, 75, 0.88);
|
|
55
|
+
--action-bg-hover: rgba(25, 48, 84, 0.92);
|
|
56
|
+
--action-text: #8bb5e2;
|
|
57
|
+
--action-border: rgba(74, 122, 184, 0.45);
|
|
58
|
+
--line: rgba(130, 167, 210, 0.2);
|
|
59
|
+
--soft-line: rgba(130, 167, 210, 0.22);
|
|
60
|
+
--halo: rgba(19, 73, 138, 0.26);
|
|
61
|
+
--chip: rgba(129, 167, 209, 0.09);
|
|
62
|
+
--chip-border: rgba(129, 167, 209, 0.16);
|
|
63
|
+
--shadow: rgba(0, 0, 0, 0.36);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (prefers-color-scheme: dark) {
|
|
67
|
+
.session-expired[data-mode="auto"] {
|
|
68
|
+
--bg: #020f25;
|
|
69
|
+
--panel: rgba(5, 20, 42, 0.58);
|
|
70
|
+
--title: #d7e5f4;
|
|
71
|
+
--muted: #7f97b5;
|
|
72
|
+
--primary: #2f73bb;
|
|
73
|
+
--primary-hover: #3f83ca;
|
|
74
|
+
--action-bg: rgba(23, 43, 75, 0.88);
|
|
75
|
+
--action-bg-hover: rgba(25, 48, 84, 0.92);
|
|
76
|
+
--action-text: #8bb5e2;
|
|
77
|
+
--action-border: rgba(74, 122, 184, 0.45);
|
|
78
|
+
--line: rgba(130, 167, 210, 0.2);
|
|
79
|
+
--soft-line: rgba(130, 167, 210, 0.22);
|
|
80
|
+
--halo: rgba(19, 73, 138, 0.26);
|
|
81
|
+
--chip: rgba(129, 167, 209, 0.09);
|
|
82
|
+
--chip-border: rgba(129, 167, 209, 0.16);
|
|
83
|
+
--shadow: rgba(0, 0, 0, 0.36);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.session-expired__top {
|
|
88
|
+
position: absolute;
|
|
89
|
+
top: 18px;
|
|
90
|
+
left: 50%;
|
|
91
|
+
transform: translateX(-50%);
|
|
92
|
+
display: grid;
|
|
93
|
+
place-items: center;
|
|
94
|
+
gap: 4px;
|
|
95
|
+
z-index: 2;
|
|
96
|
+
opacity: 0;
|
|
97
|
+
transform: translate(-50%, -10px);
|
|
98
|
+
animation: session-expired-top-drop-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.session-expired__logo {
|
|
102
|
+
width: 30px;
|
|
103
|
+
height: auto;
|
|
104
|
+
opacity: 0.9;
|
|
105
|
+
margin-bottom: 5px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.session-expired__brand {
|
|
109
|
+
margin: 0;
|
|
110
|
+
color: var(--muted);
|
|
111
|
+
font-size: 9px;
|
|
112
|
+
letter-spacing: 0.14em;
|
|
113
|
+
text-transform: uppercase;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.session-expired__center {
|
|
117
|
+
position: absolute;
|
|
118
|
+
top: 50%;
|
|
119
|
+
left: 50%;
|
|
120
|
+
transform: translate(-50%, -50%);
|
|
121
|
+
width: min(340px, calc(100vw - 40px));
|
|
122
|
+
text-align: center;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.session-expired__halo {
|
|
126
|
+
position: absolute;
|
|
127
|
+
inset: -70px -40px -30px;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
background: radial-gradient(circle, var(--halo), transparent 70%);
|
|
130
|
+
filter: blur(4px);
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.session-expired__lock-wrap {
|
|
135
|
+
position: relative;
|
|
136
|
+
margin: 0 auto 18px;
|
|
137
|
+
width: 198px;
|
|
138
|
+
height: 198px;
|
|
139
|
+
display: grid;
|
|
140
|
+
place-items: center;
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transform: translateY(-8px);
|
|
143
|
+
animation: session-expired-drop-in 760ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.session-expired__rings {
|
|
147
|
+
position: absolute;
|
|
148
|
+
inset: 0;
|
|
149
|
+
animation: fade-in 0.8s ease both;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.session-expired__ring-inner {
|
|
153
|
+
transform-origin: 99px 99px;
|
|
154
|
+
animation: spin-ccw 20s linear infinite;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.session-expired__ring-outer {
|
|
158
|
+
transform-origin: 99px 99px;
|
|
159
|
+
animation: spin-cw 32s linear infinite;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.session-expired__lock-orb {
|
|
163
|
+
width: 82px;
|
|
164
|
+
height: 82px;
|
|
165
|
+
border-radius: 999px;
|
|
166
|
+
border: 1px solid var(--soft-line);
|
|
167
|
+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
|
|
168
|
+
display: grid;
|
|
169
|
+
place-items: center;
|
|
170
|
+
box-shadow: 0 10px 22px var(--shadow);
|
|
171
|
+
animation: orb-pulse 2.6s ease-in-out infinite;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.session-expired__icon {
|
|
175
|
+
width: 34px;
|
|
176
|
+
height: 34px;
|
|
177
|
+
color: var(--title);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.session-expired__title {
|
|
181
|
+
margin: 0;
|
|
182
|
+
color: var(--title);
|
|
183
|
+
font-size: 24px;
|
|
184
|
+
line-height: 1.25;
|
|
185
|
+
font-weight: 620;
|
|
186
|
+
letter-spacing: 0.02em;
|
|
187
|
+
text-transform: uppercase;
|
|
188
|
+
opacity: 0;
|
|
189
|
+
transform: translateY(-8px);
|
|
190
|
+
animation: session-expired-drop-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 680ms forwards;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.session-expired__subtitle {
|
|
194
|
+
margin: 8px 0 0;
|
|
195
|
+
color: var(--muted);
|
|
196
|
+
font-size: 13px;
|
|
197
|
+
line-height: 1.45;
|
|
198
|
+
max-width: 300px;
|
|
199
|
+
margin-left: auto;
|
|
200
|
+
margin-right: auto;
|
|
201
|
+
opacity: 0;
|
|
202
|
+
transform: translateY(-8px);
|
|
203
|
+
animation: session-expired-drop-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 920ms forwards;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.session-expired__actions {
|
|
207
|
+
margin-top: 18px;
|
|
208
|
+
display: flex;
|
|
209
|
+
justify-content: center;
|
|
210
|
+
width: 100%;
|
|
211
|
+
opacity: 0;
|
|
212
|
+
transform: translateY(-8px);
|
|
213
|
+
animation: session-expired-drop-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 1140ms forwards;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.session-expired__action {
|
|
217
|
+
border: 1px solid var(--action-border);
|
|
218
|
+
border-radius: 8px;
|
|
219
|
+
padding: 8px 12px;
|
|
220
|
+
width: auto;
|
|
221
|
+
font-size: clamp(10px, 1.5vw, 12px);
|
|
222
|
+
font-weight: 700;
|
|
223
|
+
letter-spacing: 0.03em;
|
|
224
|
+
text-transform: uppercase;
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
color: var(--action-text);
|
|
227
|
+
background: var(--action-bg);
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
text-decoration: none;
|
|
230
|
+
display: inline-flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
justify-content: center;
|
|
233
|
+
gap: 8px;
|
|
234
|
+
line-height: 1;
|
|
235
|
+
transition: border-color 160ms ease, background-color 160ms ease, transform 140ms ease;
|
|
236
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.session-expired__action:hover {
|
|
240
|
+
border-color: var(--primary-hover);
|
|
241
|
+
background: var(--action-bg-hover);
|
|
242
|
+
transform: translateY(-1px);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.session-expired__action:active {
|
|
246
|
+
transform: translateY(0);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.session-expired__action:focus-visible {
|
|
250
|
+
outline: 2px solid #8bb5de;
|
|
251
|
+
outline-offset: 2px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.session-expired__action-icon {
|
|
255
|
+
width: clamp(12px, 1.5vw, 16px);
|
|
256
|
+
height: clamp(12px, 1.5vw, 16px);
|
|
257
|
+
display: inline-block;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.session-expired__countdown {
|
|
261
|
+
margin: 14px 0 0;
|
|
262
|
+
color: var(--muted);
|
|
263
|
+
font-size: 12px;
|
|
264
|
+
display: inline-flex;
|
|
265
|
+
align-items: center;
|
|
266
|
+
gap: 10px;
|
|
267
|
+
opacity: 0;
|
|
268
|
+
transform: translateY(-8px);
|
|
269
|
+
animation: session-expired-drop-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 1360ms forwards;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.session-expired__countdown-dot {
|
|
273
|
+
width: 18px;
|
|
274
|
+
height: 18px;
|
|
275
|
+
border-radius: 999px;
|
|
276
|
+
background: conic-gradient(
|
|
277
|
+
from -90deg,
|
|
278
|
+
var(--muted) calc(var(--countdown-progress, 0) * 1%),
|
|
279
|
+
rgba(130, 167, 210, 0.28) 0
|
|
280
|
+
);
|
|
281
|
+
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
|
|
282
|
+
mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
|
|
283
|
+
position: relative;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.session-expired__countdown-dot::before {
|
|
287
|
+
content: "";
|
|
288
|
+
position: absolute;
|
|
289
|
+
inset: 5px;
|
|
290
|
+
border-radius: 999px;
|
|
291
|
+
background: #d8c1aa;
|
|
292
|
+
opacity: 0.9;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@keyframes spin-cw {
|
|
296
|
+
to { transform: rotate(360deg); }
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
@keyframes spin-ccw {
|
|
300
|
+
to { transform: rotate(-360deg); }
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@keyframes fade-in {
|
|
304
|
+
from { opacity: 0; }
|
|
305
|
+
to { opacity: 1; }
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@keyframes session-expired-drop-in {
|
|
309
|
+
from {
|
|
310
|
+
opacity: 0;
|
|
311
|
+
transform: translateY(-10px);
|
|
312
|
+
}
|
|
313
|
+
to {
|
|
314
|
+
opacity: 1;
|
|
315
|
+
transform: translateY(0);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
@keyframes session-expired-top-drop-in {
|
|
320
|
+
from {
|
|
321
|
+
opacity: 0;
|
|
322
|
+
transform: translate(-50%, -10px);
|
|
323
|
+
}
|
|
324
|
+
to {
|
|
325
|
+
opacity: 1;
|
|
326
|
+
transform: translate(-50%, 0);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
@keyframes orb-pulse {
|
|
331
|
+
0%, 100% {
|
|
332
|
+
box-shadow:
|
|
333
|
+
0 10px 22px var(--shadow),
|
|
334
|
+
0 0 0 0 rgba(47, 115, 187, 0.22);
|
|
335
|
+
}
|
|
336
|
+
50% {
|
|
337
|
+
box-shadow:
|
|
338
|
+
0 12px 26px var(--shadow),
|
|
339
|
+
0 0 0 10px rgba(47, 115, 187, 0.06);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
@media (prefers-reduced-motion: reduce) {
|
|
344
|
+
.session-expired__top,
|
|
345
|
+
.session-expired__lock-wrap,
|
|
346
|
+
.session-expired__title,
|
|
347
|
+
.session-expired__subtitle,
|
|
348
|
+
.session-expired__actions,
|
|
349
|
+
.session-expired__countdown {
|
|
350
|
+
animation: none !important;
|
|
351
|
+
opacity: 1;
|
|
352
|
+
transform: none;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SessionExpired";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SessionExpired";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SessionExpired/index";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SessionExpired/index";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type LoaderMode = "light" | "dark" | "auto";
|
|
2
|
+
export interface SoliqLoaderProps {
|
|
3
|
+
mode?: LoaderMode;
|
|
4
|
+
fullScreen?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
fadeDurationMs?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function SoliqLoader({ mode, fullScreen, className, visible, fadeDurationMs }: SoliqLoaderProps): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import logoUrl from "../assets/images/logo.svg";
|
|
3
|
+
import { styles } from "./SoliqLoader.styles";
|
|
4
|
+
export function SoliqLoader({ mode = "auto", fullScreen = true, className, visible = true, fadeDurationMs = 380 }) {
|
|
5
|
+
const fullClass = fullScreen ? " soliq-loader--fullscreen" : "";
|
|
6
|
+
const userClass = className ? ` ${className}` : "";
|
|
7
|
+
const hiddenClass = visible ? "" : " soliq-loader--hidden";
|
|
8
|
+
const fadeStyle = {
|
|
9
|
+
"--loader-fade-duration": `${fadeDurationMs}ms`
|
|
10
|
+
};
|
|
11
|
+
return (_jsxs("div", { className: `soliq-loader${fullClass}${hiddenClass}${userClass}`, "data-mode": mode, role: "status", "aria-live": "polite", "aria-hidden": !visible, style: fadeStyle, children: [_jsx("style", { children: styles }), _jsx("div", { className: "soliq-loader__glow" }), _jsxs("div", { className: "soliq-loader__pulse-wrap", "aria-hidden": "true", children: [_jsx("span", { className: "soliq-loader__pulse soliq-loader__pulse--1" }), _jsx("span", { className: "soliq-loader__pulse soliq-loader__pulse--2" }), _jsx("span", { className: "soliq-loader__pulse soliq-loader__pulse--3" })] }), _jsxs("svg", { className: "soliq-loader__rings", width: "196", height: "196", viewBox: "0 0 196 196", fill: "none", "aria-hidden": "true", children: [_jsx("circle", { className: "soliq-loader__ring-inner", cx: "98", cy: "98", r: "76", stroke: "var(--ring)", strokeWidth: "0.9", strokeDasharray: "4 12" }), _jsx("circle", { className: "soliq-loader__ring-outer", cx: "98", cy: "98", r: "88", stroke: "var(--ring)", strokeWidth: "0.7", strokeDasharray: "2 22" })] }), _jsxs("div", { className: "soliq-loader__card", children: [_jsx("div", { className: "soliq-loader__logo-wrap", children: _jsx("div", { className: "soliq-loader__logo-clip", children: _jsx("img", { className: "soliq-loader__mark", src: logoUrl, alt: "\u0414\u0421\u049A \u043B\u043E\u0433\u043E\u0442\u0438\u043F\u0438" }) }) }), _jsx("div", { className: "soliq-loader__divider" }), _jsx("p", { className: "soliq-loader__title", children: "\u0414\u0410\u0412\u041B\u0410\u0422 \u0421\u041E\u041B\u0418\u049A \u049A\u040E\u041C\u0418\u0422\u0410\u0421\u0418" }), _jsx("p", { className: "soliq-loader__subtitle", children: "\u0420\u0410\u049A\u0410\u041C\u041B\u0418 \u0425\u0418\u0417\u041C\u0410\u0422\u041B\u0410\u0420 \u041F\u041B\u0410\u0422\u0424\u041E\u0420\u041C\u0410\u0421\u0418" }), _jsxs("div", { className: "soliq-loader__dots", "aria-hidden": "true", children: [_jsx("span", { className: "soliq-loader__dot" }), _jsx("span", { className: "soliq-loader__dot" }), _jsx("span", { className: "soliq-loader__dot" })] })] }), _jsx("div", { className: "soliq-loader__progress-track", "aria-hidden": "true", children: _jsx("div", { className: "soliq-loader__progress-fill" }) })] }));
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles = "\n.soliq-loader {\n --bg: #F8FAFC;\n --primary: #0B4F8A;\n --gold: #D8C1AA;\n --ring: rgba(11, 79, 138, 0.22);\n --text: #0B4F8A;\n --sub: rgba(11, 79, 138, 0.45);\n --divider: rgba(11, 79, 138, 0.12);\n position: relative;\n width: 100%;\n height: 100%;\n min-height: 420px;\n width: 100%;\n overflow: hidden;\n background: var(--bg);\n transition: background 0.4s;\n font-family: Outfit, Inter, system-ui, sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n transition: opacity var(--loader-fade-duration, 380ms) ease, visibility 0s linear 0s;\n}\n\n.soliq-loader--fullscreen {\n position: fixed;\n inset: 0;\n width: 100vw;\n height: 100vh;\n min-height: 100vh;\n z-index: 9999;\n border: none;\n border-radius: 0;\n}\n\n.soliq-loader--hidden {\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n transition: opacity var(--loader-fade-duration, 380ms) ease, visibility 0s linear var(--loader-fade-duration, 380ms);\n}\n\n.soliq-loader[data-mode=\"dark\"] {\n --bg: #020F25;\n --primary: #5B7FBF;\n --gold: #D8C1AA;\n --ring: rgba(216, 193, 170, 0.25);\n --text: #CBD5E1;\n --sub: rgba(203, 213, 225, 0.45);\n --divider: rgba(216, 193, 170, 0.18);\n}\n\n@media (prefers-color-scheme: dark) {\n .soliq-loader[data-mode=\"auto\"] {\n --bg: #020F25;\n --primary: #5B7FBF;\n --gold: #D8C1AA;\n --ring: rgba(216, 193, 170, 0.25);\n --text: #CBD5E1;\n --sub: rgba(203, 213, 225, 0.45);\n --divider: rgba(216, 193, 170, 0.18);\n }\n}\n\n.soliq-loader__glow {\n position: absolute;\n width: 460px;\n height: 460px;\n border-radius: 50%;\n background: radial-gradient(circle, rgba(11, 79, 138, 0.12) 0%, transparent 70%);\n pointer-events: none;\n}\n\n.soliq-loader[data-mode=\"dark\"] .soliq-loader__glow {\n background: radial-gradient(circle, rgba(11, 79, 138, 0.16) 0%, transparent 70%);\n}\n\n@media (prefers-color-scheme: dark) {\n .soliq-loader[data-mode=\"auto\"] .soliq-loader__glow {\n background: radial-gradient(circle, rgba(11, 79, 138, 0.16) 0%, transparent 70%);\n }\n}\n\n.soliq-loader__pulse-wrap {\n position: absolute;\n width: 180px;\n height: 180px;\n top: 50%;\n left: 50%;\n margin-top: -90px;\n margin-left: -90px;\n pointer-events: none;\n}\n\n.soliq-loader__pulse {\n position: absolute;\n inset: 0;\n border-radius: 50%;\n border: 1px solid var(--ring);\n animation: pulse 2.8s ease-out infinite;\n opacity: 0;\n}\n\n.soliq-loader__pulse--1 { animation-delay: 0.8s; }\n.soliq-loader__pulse--2 { animation-delay: 1.6s; }\n.soliq-loader__pulse--3 { animation-delay: 2.4s; }\n\n.soliq-loader__rings {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n pointer-events: none;\n animation: fade-in 0.8s 0.4s both;\n}\n\n.soliq-loader__ring-inner {\n animation: spin-ccw 18s linear infinite;\n transform-origin: 98px 98px;\n}\n\n.soliq-loader__ring-outer {\n animation: spin-cw 28s linear infinite;\n transform-origin: 98px 98px;\n}\n\n.soliq-loader__card {\n position: relative;\n z-index: 3;\n display: flex;\n flex-direction: column;\n align-items: center;\n animation: card-in 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;\n}\n\n.soliq-loader__logo-wrap {\n width: 96px;\n height: 84px;\n position: relative;\n overflow: hidden;\n animation: logo-scale 0.7s 0.15s cubic-bezier(0.25, 0.1, 0.25, 1) both;\n}\n\n.soliq-loader__mark {\n width: 96px;\n height: 84px;\n display: block;\n}\n\n.soliq-loader__logo-clip {\n animation: reveal-down 1.1s 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;\n}\n\n.soliq-loader__divider {\n width: 1px;\n height: 20px;\n background: var(--divider);\n margin: 15px 0;\n animation: divider-in 0.5s 1.4s both;\n transform-origin: top;\n}\n\n.soliq-loader__title {\n margin: 0 0 5px;\n color: var(--text);\n font-family: Outfit, sans-serif;\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n animation: text-in 0.6s 1.5s ease-out both;\n}\n\n.soliq-loader__subtitle {\n color: var(--sub);\n font-family: Inter, sans-serif;\n font-size: 10px;\n font-weight: 400;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n margin-top: 6px;\n animation: text-in 0.6s 1.85s ease-out both;\n}\n\n.soliq-loader__dots {\n display: flex;\n gap: 6px;\n align-items: center;\n margin-top: 24px;\n}\n\n.soliq-loader__dot {\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background: var(--ring);\n animation: dot-pulse 1.4s ease-in-out infinite both;\n}\n\n.soliq-loader__dot:nth-child(1) { animation-delay: 2s; }\n.soliq-loader__dot:nth-child(2) { animation-delay: 2.18s; }\n.soliq-loader__dot:nth-child(3) { animation-delay: 2.36s; }\n\n.soliq-loader__progress-track {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 1px;\n background: rgba(0, 0, 0, 0.05);\n}\n\n.soliq-loader[data-mode=\"dark\"] .soliq-loader__progress-track {\n background: rgba(255, 255, 255, 0.04);\n}\n\n@media (prefers-color-scheme: dark) {\n .soliq-loader[data-mode=\"auto\"] .soliq-loader__progress-track {\n background: rgba(255, 255, 255, 0.04);\n }\n}\n\n.soliq-loader__progress-fill {\n height: 100%;\n width: 0;\n background: linear-gradient(90deg, transparent, var(--gold), var(--primary));\n animation: progress-fill 3.5s 0.1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;\n}\n\n@keyframes card-in {\n from {\n opacity: 0;\n transform: translateY(12px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes logo-scale {\n from {\n opacity: 0;\n transform: scale(0.88);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n@keyframes reveal-down {\n from { clip-path: inset(0 0 100% 0); }\n to { clip-path: inset(0 0 0 0); }\n}\n\n@keyframes divider-in {\n from {\n opacity: 0;\n transform: scaleY(0);\n }\n to {\n opacity: 1;\n transform: scaleY(1);\n }\n}\n\n@keyframes text-in {\n from {\n opacity: 0;\n transform: translateY(6px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes dot-pulse {\n 0%, 100% {\n opacity: 0.3;\n transform: scale(0.7);\n }\n 50% {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(0.6);\n opacity: 0.85;\n }\n 100% {\n transform: scale(1.6);\n opacity: 0;\n }\n}\n\n@keyframes fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes spin-cw {\n to { transform: rotate(360deg); }\n}\n\n@keyframes spin-ccw {\n to { transform: rotate(-360deg); }\n}\n\n@keyframes progress-fill {\n from { width: 0; }\n to { width: 100%; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .soliq-loader__pulse,\n .soliq-loader__ring-inner,\n .soliq-loader__ring-outer,\n .soliq-loader__card,\n .soliq-loader__logo-wrap,\n .soliq-loader__logo-clip,\n .soliq-loader__divider,\n .soliq-loader__title,\n .soliq-loader__subtitle,\n .soliq-loader__dot,\n .soliq-loader__progress-fill {\n animation: none !important;\n transition: none !important;\n }\n\n .soliq-loader__logo-clip,\n .soliq-loader__title,\n .soliq-loader__subtitle,\n .soliq-loader__divider,\n .soliq-loader__card,\n .soliq-loader__logo-wrap {\n opacity: 1;\n }\n}\n";
|