@fab1o978/react-ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +73 -0
  2. package/dist/components/Badge/index.cjs +47 -0
  3. package/dist/components/Badge/index.cjs.map +1 -0
  4. package/dist/components/Badge/index.css +112 -0
  5. package/dist/components/Badge/index.css.map +1 -0
  6. package/dist/components/Badge/index.d.cts +14 -0
  7. package/dist/components/Badge/index.d.ts +14 -0
  8. package/dist/components/Badge/index.js +45 -0
  9. package/dist/components/Badge/index.js.map +1 -0
  10. package/dist/components/Button/index.cjs +64 -0
  11. package/dist/components/Button/index.cjs.map +1 -0
  12. package/dist/components/Button/index.css +159 -0
  13. package/dist/components/Button/index.css.map +1 -0
  14. package/dist/components/Button/index.d.cts +13 -0
  15. package/dist/components/Button/index.d.ts +13 -0
  16. package/dist/components/Button/index.js +58 -0
  17. package/dist/components/Button/index.js.map +1 -0
  18. package/dist/components/ColorPicker/index.cjs +523 -0
  19. package/dist/components/ColorPicker/index.cjs.map +1 -0
  20. package/dist/components/ColorPicker/index.css +308 -0
  21. package/dist/components/ColorPicker/index.css.map +1 -0
  22. package/dist/components/ColorPicker/index.d.cts +35 -0
  23. package/dist/components/ColorPicker/index.d.ts +35 -0
  24. package/dist/components/ColorPicker/index.js +521 -0
  25. package/dist/components/ColorPicker/index.js.map +1 -0
  26. package/dist/components/Input/index.cjs +86 -0
  27. package/dist/components/Input/index.cjs.map +1 -0
  28. package/dist/components/Input/index.css +170 -0
  29. package/dist/components/Input/index.css.map +1 -0
  30. package/dist/components/Input/index.d.cts +15 -0
  31. package/dist/components/Input/index.d.ts +15 -0
  32. package/dist/components/Input/index.js +80 -0
  33. package/dist/components/Input/index.js.map +1 -0
  34. package/dist/components/RainCanvas/index.cjs +227 -0
  35. package/dist/components/RainCanvas/index.cjs.map +1 -0
  36. package/dist/components/RainCanvas/index.css +32 -0
  37. package/dist/components/RainCanvas/index.css.map +1 -0
  38. package/dist/components/RainCanvas/index.d.cts +12 -0
  39. package/dist/components/RainCanvas/index.d.ts +12 -0
  40. package/dist/components/RainCanvas/index.js +225 -0
  41. package/dist/components/RainCanvas/index.js.map +1 -0
  42. package/dist/components/Timeline/index.cjs +169 -0
  43. package/dist/components/Timeline/index.cjs.map +1 -0
  44. package/dist/components/Timeline/index.css +247 -0
  45. package/dist/components/Timeline/index.css.map +1 -0
  46. package/dist/components/Timeline/index.d.cts +22 -0
  47. package/dist/components/Timeline/index.d.ts +22 -0
  48. package/dist/components/Timeline/index.js +167 -0
  49. package/dist/components/Timeline/index.js.map +1 -0
  50. package/dist/index.cjs +993 -0
  51. package/dist/index.cjs.map +1 -0
  52. package/dist/index.css +1019 -0
  53. package/dist/index.css.map +1 -0
  54. package/dist/index.d.cts +7 -0
  55. package/dist/index.d.ts +7 -0
  56. package/dist/index.js +982 -0
  57. package/dist/index.js.map +1 -0
  58. package/package.json +69 -0
package/dist/index.css ADDED
@@ -0,0 +1,1019 @@
1
+ @charset "UTF-8";
2
+ @import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";
3
+
4
+ /* src/components/Button/Button.module.scss */
5
+ :root {
6
+ --accent: #3b82f6;
7
+ --accent-dot: rgb(82.52, 145, 247.08);
8
+ --accent-track: #3b82f6;
9
+ --accent-ring: #3b82f6;
10
+ --accent-glow: rgba(59, 130, 246, 0.3);
11
+ --accent-light: rgb(157.485, 188.725, 239.765);
12
+ --color-primary-50: rgb(169.3455, 194.6925, 236.1045);
13
+ --color-primary-100: rgb(149.4545, 184.4575, 241.6455);
14
+ --color-primary-400: rgb(82.52, 145, 247.08);
15
+ --color-primary-500: #3b82f6;
16
+ --color-primary-600: rgb(29.8390243902, 111.4024390244, 244.6609756098);
17
+ --color-primary-700: rgb(10.712195122, 95.2195121951, 233.287804878);
18
+ --color-neutral-0: #ffffff;
19
+ --color-neutral-100: #f3f4f6;
20
+ --color-neutral-200: #e5e7eb;
21
+ --color-neutral-400: #9ca3af;
22
+ --color-neutral-600: #4b5563;
23
+ --color-neutral-900: #111827;
24
+ --color-success-500: #22c55e;
25
+ --color-success-600: #16a34a;
26
+ --color-danger-500: #ef4444;
27
+ --color-danger-600: #dc2626;
28
+ --color-warning-500: #f59e0b;
29
+ --color-warning-600: #d97706;
30
+ --font-family-base:
31
+ "Inter",
32
+ system-ui,
33
+ -apple-system,
34
+ sans-serif;
35
+ --font-size-xs: 0.75rem;
36
+ --font-size-sm: 0.875rem;
37
+ --font-size-md: 1rem;
38
+ --font-size-lg: 1.125rem;
39
+ --spacing-1: 0.25rem;
40
+ --spacing-2: 0.5rem;
41
+ --spacing-3: 0.75rem;
42
+ --spacing-4: 1rem;
43
+ --radius-sm: 0.25rem;
44
+ --radius-md: 0.375rem;
45
+ --radius-lg: 0.5rem;
46
+ --radius-full: 9999px;
47
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
48
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
49
+ --transition-fast: 150ms ease;
50
+ --color-surface: #ffffff;
51
+ --color-surface-elevated: #ffffff;
52
+ }
53
+ [data-theme=dark] {
54
+ --color-neutral-0: #0f172a;
55
+ --color-neutral-100: #1e293b;
56
+ --color-neutral-200: #334155;
57
+ --color-neutral-400: #94a3b8;
58
+ --color-neutral-600: #cbd5e1;
59
+ --color-neutral-900: #f8fafc;
60
+ --color-surface: #1e293b;
61
+ --color-surface-elevated: #273549;
62
+ --color-primary-50: #172554;
63
+ --color-primary-100: #1e3a8a;
64
+ --accent-light: #172554;
65
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
66
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
67
+ }
68
+ .Button_module_button {
69
+ display: inline-flex;
70
+ align-items: center;
71
+ justify-content: center;
72
+ gap: var(--spacing-2);
73
+ font-family: var(--font-family-base);
74
+ font-weight: 500;
75
+ letter-spacing: -0.01em;
76
+ border: 1px solid transparent;
77
+ border-radius: var(--radius-md);
78
+ cursor: pointer;
79
+ transition:
80
+ background-color var(--transition-fast),
81
+ border-color var(--transition-fast),
82
+ color var(--transition-fast),
83
+ box-shadow var(--transition-fast);
84
+ white-space: nowrap;
85
+ text-decoration: none;
86
+ outline-offset: 2px;
87
+ }
88
+ .Button_module_button:focus-visible {
89
+ outline: 2px solid var(--color-primary-500);
90
+ }
91
+ .Button_module_button:disabled {
92
+ opacity: 0.5;
93
+ cursor: not-allowed;
94
+ }
95
+ .Button_module_primary {
96
+ background-color: var(--color-primary-600);
97
+ color: var(--color-neutral-0);
98
+ }
99
+ .Button_module_primary:hover:not(:disabled) {
100
+ background-color: var(--color-primary-700);
101
+ }
102
+ .Button_module_secondary {
103
+ background-color: var(--color-neutral-0);
104
+ color: var(--color-neutral-900);
105
+ border-color: var(--color-neutral-200);
106
+ box-shadow: var(--shadow-sm);
107
+ }
108
+ .Button_module_secondary:hover:not(:disabled) {
109
+ background-color: var(--color-neutral-100);
110
+ }
111
+ .Button_module_danger {
112
+ background-color: var(--color-danger-500);
113
+ color: var(--color-neutral-0);
114
+ }
115
+ .Button_module_danger:hover:not(:disabled) {
116
+ background-color: var(--color-danger-600);
117
+ }
118
+ .Button_module_ghost {
119
+ background-color: transparent;
120
+ color: var(--color-neutral-600);
121
+ }
122
+ .Button_module_ghost:hover:not(:disabled) {
123
+ background-color: var(--color-neutral-100);
124
+ color: var(--color-neutral-900);
125
+ }
126
+ .Button_module_sm {
127
+ font-size: var(--font-size-xs);
128
+ padding: var(--spacing-1) var(--spacing-3);
129
+ height: 2rem;
130
+ }
131
+ .Button_module_md {
132
+ font-size: var(--font-size-sm);
133
+ padding: var(--spacing-2) var(--spacing-4);
134
+ height: 2.5rem;
135
+ }
136
+ .Button_module_lg {
137
+ font-size: var(--font-size-md);
138
+ padding: var(--spacing-3) var(--spacing-4);
139
+ height: 3rem;
140
+ }
141
+ .Button_module_fullWidth {
142
+ width: 100%;
143
+ }
144
+ .Button_module_loading {
145
+ position: relative;
146
+ }
147
+ .Button_module_spinner {
148
+ width: 1em;
149
+ height: 1em;
150
+ border: 2px solid currentColor;
151
+ border-top-color: transparent;
152
+ border-radius: var(--radius-full);
153
+ animation: Button_module_spin 0.6s linear infinite;
154
+ }
155
+ @keyframes Button_module_spin {
156
+ to {
157
+ transform: rotate(360deg);
158
+ }
159
+ }
160
+
161
+ /* src/components/Input/Input.module.scss */
162
+ :root {
163
+ --accent: #3b82f6;
164
+ --accent-dot: rgb(82.52, 145, 247.08);
165
+ --accent-track: #3b82f6;
166
+ --accent-ring: #3b82f6;
167
+ --accent-glow: rgba(59, 130, 246, 0.3);
168
+ --accent-light: rgb(157.485, 188.725, 239.765);
169
+ --color-primary-50: rgb(169.3455, 194.6925, 236.1045);
170
+ --color-primary-100: rgb(149.4545, 184.4575, 241.6455);
171
+ --color-primary-400: rgb(82.52, 145, 247.08);
172
+ --color-primary-500: #3b82f6;
173
+ --color-primary-600: rgb(29.8390243902, 111.4024390244, 244.6609756098);
174
+ --color-primary-700: rgb(10.712195122, 95.2195121951, 233.287804878);
175
+ --color-neutral-0: #ffffff;
176
+ --color-neutral-100: #f3f4f6;
177
+ --color-neutral-200: #e5e7eb;
178
+ --color-neutral-400: #9ca3af;
179
+ --color-neutral-600: #4b5563;
180
+ --color-neutral-900: #111827;
181
+ --color-success-500: #22c55e;
182
+ --color-success-600: #16a34a;
183
+ --color-danger-500: #ef4444;
184
+ --color-danger-600: #dc2626;
185
+ --color-warning-500: #f59e0b;
186
+ --color-warning-600: #d97706;
187
+ --font-family-base:
188
+ "Inter",
189
+ system-ui,
190
+ -apple-system,
191
+ sans-serif;
192
+ --font-size-xs: 0.75rem;
193
+ --font-size-sm: 0.875rem;
194
+ --font-size-md: 1rem;
195
+ --font-size-lg: 1.125rem;
196
+ --spacing-1: 0.25rem;
197
+ --spacing-2: 0.5rem;
198
+ --spacing-3: 0.75rem;
199
+ --spacing-4: 1rem;
200
+ --radius-sm: 0.25rem;
201
+ --radius-md: 0.375rem;
202
+ --radius-lg: 0.5rem;
203
+ --radius-full: 9999px;
204
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
205
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
206
+ --transition-fast: 150ms ease;
207
+ --color-surface: #ffffff;
208
+ --color-surface-elevated: #ffffff;
209
+ }
210
+ [data-theme=dark] {
211
+ --color-neutral-0: #0f172a;
212
+ --color-neutral-100: #1e293b;
213
+ --color-neutral-200: #334155;
214
+ --color-neutral-400: #94a3b8;
215
+ --color-neutral-600: #cbd5e1;
216
+ --color-neutral-900: #f8fafc;
217
+ --color-surface: #1e293b;
218
+ --color-surface-elevated: #273549;
219
+ --color-primary-50: #172554;
220
+ --color-primary-100: #1e3a8a;
221
+ --accent-light: #172554;
222
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
223
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
224
+ }
225
+ .Input_module_wrapper {
226
+ display: inline-flex;
227
+ flex-direction: column;
228
+ gap: var(--spacing-1);
229
+ }
230
+ .Input_module_fullWidth {
231
+ width: 100%;
232
+ }
233
+ .Input_module_label {
234
+ font-family: var(--font-family-base);
235
+ font-size: var(--font-size-sm);
236
+ font-weight: 500;
237
+ color: var(--color-neutral-900);
238
+ letter-spacing: -0.01em;
239
+ }
240
+ .Input_module_inputWrapper {
241
+ position: relative;
242
+ display: flex;
243
+ align-items: center;
244
+ }
245
+ .Input_module_input {
246
+ width: 100%;
247
+ font-family: var(--font-family-base);
248
+ border: 1px solid var(--color-neutral-200);
249
+ border-radius: var(--radius-md);
250
+ background-color: var(--color-neutral-0);
251
+ color: var(--color-neutral-900);
252
+ outline: none;
253
+ transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
254
+ }
255
+ .Input_module_input::placeholder {
256
+ color: var(--color-neutral-400);
257
+ }
258
+ .Input_module_input:focus {
259
+ border-color: var(--color-primary-500);
260
+ box-shadow: 0 0 0 3px var(--color-primary-100);
261
+ }
262
+ .Input_module_input:disabled {
263
+ background-color: var(--color-neutral-100);
264
+ cursor: not-allowed;
265
+ opacity: 0.6;
266
+ }
267
+ .Input_module_input.Input_module_error {
268
+ border-color: var(--color-danger-500);
269
+ }
270
+ .Input_module_input.Input_module_error:focus {
271
+ box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
272
+ }
273
+ .Input_module_sm .Input_module_input {
274
+ font-size: var(--font-size-xs);
275
+ padding: var(--spacing-1) var(--spacing-2);
276
+ height: 2rem;
277
+ }
278
+ .Input_module_md .Input_module_input {
279
+ font-size: var(--font-size-sm);
280
+ padding: var(--spacing-2) var(--spacing-3);
281
+ height: 2.5rem;
282
+ }
283
+ .Input_module_lg .Input_module_input {
284
+ font-size: var(--font-size-md);
285
+ padding: var(--spacing-3) var(--spacing-4);
286
+ height: 3rem;
287
+ }
288
+ .Input_module_adornment {
289
+ position: absolute;
290
+ left: var(--spacing-3);
291
+ display: flex;
292
+ align-items: center;
293
+ color: var(--color-neutral-400);
294
+ pointer-events: none;
295
+ }
296
+ .Input_module_adornmentEnd {
297
+ left: unset;
298
+ right: var(--spacing-3);
299
+ }
300
+ .Input_module_sm .Input_module_withStart {
301
+ padding-left: 2rem;
302
+ }
303
+ .Input_module_md .Input_module_withStart {
304
+ padding-left: 2.25rem;
305
+ }
306
+ .Input_module_lg .Input_module_withStart {
307
+ padding-left: 2.5rem;
308
+ }
309
+ .Input_module_sm .Input_module_withEnd {
310
+ padding-right: 2rem;
311
+ }
312
+ .Input_module_md .Input_module_withEnd {
313
+ padding-right: 2.25rem;
314
+ }
315
+ .Input_module_lg .Input_module_withEnd {
316
+ padding-right: 2.5rem;
317
+ }
318
+ .Input_module_helperText {
319
+ font-family: var(--font-family-base);
320
+ font-size: var(--font-size-xs);
321
+ color: var(--color-neutral-400);
322
+ }
323
+ .Input_module_errorText {
324
+ font-family: var(--font-family-base);
325
+ font-size: var(--font-size-xs);
326
+ color: var(--color-danger-500);
327
+ }
328
+
329
+ /* src/components/Badge/Badge.module.scss */
330
+ :root {
331
+ --accent: #3b82f6;
332
+ --accent-dot: rgb(82.52, 145, 247.08);
333
+ --accent-track: #3b82f6;
334
+ --accent-ring: #3b82f6;
335
+ --accent-glow: rgba(59, 130, 246, 0.3);
336
+ --accent-light: rgb(157.485, 188.725, 239.765);
337
+ --color-primary-50: rgb(169.3455, 194.6925, 236.1045);
338
+ --color-primary-100: rgb(149.4545, 184.4575, 241.6455);
339
+ --color-primary-400: rgb(82.52, 145, 247.08);
340
+ --color-primary-500: #3b82f6;
341
+ --color-primary-600: rgb(29.8390243902, 111.4024390244, 244.6609756098);
342
+ --color-primary-700: rgb(10.712195122, 95.2195121951, 233.287804878);
343
+ --color-neutral-0: #ffffff;
344
+ --color-neutral-100: #f3f4f6;
345
+ --color-neutral-200: #e5e7eb;
346
+ --color-neutral-400: #9ca3af;
347
+ --color-neutral-600: #4b5563;
348
+ --color-neutral-900: #111827;
349
+ --color-success-500: #22c55e;
350
+ --color-success-600: #16a34a;
351
+ --color-danger-500: #ef4444;
352
+ --color-danger-600: #dc2626;
353
+ --color-warning-500: #f59e0b;
354
+ --color-warning-600: #d97706;
355
+ --font-family-base:
356
+ "Inter",
357
+ system-ui,
358
+ -apple-system,
359
+ sans-serif;
360
+ --font-size-xs: 0.75rem;
361
+ --font-size-sm: 0.875rem;
362
+ --font-size-md: 1rem;
363
+ --font-size-lg: 1.125rem;
364
+ --spacing-1: 0.25rem;
365
+ --spacing-2: 0.5rem;
366
+ --spacing-3: 0.75rem;
367
+ --spacing-4: 1rem;
368
+ --radius-sm: 0.25rem;
369
+ --radius-md: 0.375rem;
370
+ --radius-lg: 0.5rem;
371
+ --radius-full: 9999px;
372
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
373
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
374
+ --transition-fast: 150ms ease;
375
+ --color-surface: #ffffff;
376
+ --color-surface-elevated: #ffffff;
377
+ }
378
+ [data-theme=dark] {
379
+ --color-neutral-0: #0f172a;
380
+ --color-neutral-100: #1e293b;
381
+ --color-neutral-200: #334155;
382
+ --color-neutral-400: #94a3b8;
383
+ --color-neutral-600: #cbd5e1;
384
+ --color-neutral-900: #f8fafc;
385
+ --color-surface: #1e293b;
386
+ --color-surface-elevated: #273549;
387
+ --color-primary-50: #172554;
388
+ --color-primary-100: #1e3a8a;
389
+ --accent-light: #172554;
390
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
391
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
392
+ }
393
+ .Badge_module_badge {
394
+ display: inline-flex;
395
+ align-items: center;
396
+ gap: var(--spacing-1);
397
+ font-family: var(--font-family-base);
398
+ font-weight: 500;
399
+ letter-spacing: 0.01em;
400
+ border-radius: var(--radius-full);
401
+ white-space: nowrap;
402
+ }
403
+ .Badge_module_sm {
404
+ font-size: var(--font-size-xs);
405
+ padding: 0.1rem var(--spacing-2);
406
+ }
407
+ .Badge_module_md {
408
+ font-size: var(--font-size-xs);
409
+ padding: var(--spacing-1) var(--spacing-3);
410
+ }
411
+ .Badge_module_default {
412
+ background-color: var(--color-neutral-100);
413
+ color: var(--color-neutral-600);
414
+ }
415
+ .Badge_module_primary {
416
+ background-color: var(--color-primary-50);
417
+ color: var(--color-primary-700);
418
+ }
419
+ .Badge_module_success {
420
+ background-color: #f0fdf4;
421
+ color: var(--color-success-600);
422
+ }
423
+ .Badge_module_warning {
424
+ background-color: #fffbeb;
425
+ color: var(--color-warning-600);
426
+ }
427
+ .Badge_module_danger {
428
+ background-color: #fef2f2;
429
+ color: var(--color-danger-600);
430
+ }
431
+ .Badge_module_dotIndicator {
432
+ width: 0.5rem;
433
+ height: 0.5rem;
434
+ border-radius: var(--radius-full);
435
+ background-color: currentColor;
436
+ flex-shrink: 0;
437
+ }
438
+
439
+ /* src/components/RainCanvas/RainCanvas.module.scss */
440
+ .RainCanvas_module_wrapper {
441
+ position: relative;
442
+ overflow: hidden;
443
+ width: 100%;
444
+ height: 100%;
445
+ }
446
+ .RainCanvas_module_trailCanvas {
447
+ position: absolute;
448
+ inset: 0;
449
+ width: 100%;
450
+ height: 100%;
451
+ display: block;
452
+ z-index: 1;
453
+ pointer-events: none;
454
+ }
455
+ .RainCanvas_module_content {
456
+ position: absolute;
457
+ inset: 0;
458
+ z-index: 2;
459
+ display: flex;
460
+ align-items: center;
461
+ justify-content: center;
462
+ }
463
+ .RainCanvas_module_dropContainer {
464
+ position: absolute;
465
+ inset: 0;
466
+ z-index: 3;
467
+ }
468
+
469
+ /* src/components/Timeline/Timeline.module.scss */
470
+ :root {
471
+ --accent: #3b82f6;
472
+ --accent-dot: rgb(82.52, 145, 247.08);
473
+ --accent-track: #3b82f6;
474
+ --accent-ring: #3b82f6;
475
+ --accent-glow: rgba(59, 130, 246, 0.3);
476
+ --accent-light: rgb(157.485, 188.725, 239.765);
477
+ --color-primary-50: rgb(169.3455, 194.6925, 236.1045);
478
+ --color-primary-100: rgb(149.4545, 184.4575, 241.6455);
479
+ --color-primary-400: rgb(82.52, 145, 247.08);
480
+ --color-primary-500: #3b82f6;
481
+ --color-primary-600: rgb(29.8390243902, 111.4024390244, 244.6609756098);
482
+ --color-primary-700: rgb(10.712195122, 95.2195121951, 233.287804878);
483
+ --color-neutral-0: #ffffff;
484
+ --color-neutral-100: #f3f4f6;
485
+ --color-neutral-200: #e5e7eb;
486
+ --color-neutral-400: #9ca3af;
487
+ --color-neutral-600: #4b5563;
488
+ --color-neutral-900: #111827;
489
+ --color-success-500: #22c55e;
490
+ --color-success-600: #16a34a;
491
+ --color-danger-500: #ef4444;
492
+ --color-danger-600: #dc2626;
493
+ --color-warning-500: #f59e0b;
494
+ --color-warning-600: #d97706;
495
+ --font-family-base:
496
+ "Inter",
497
+ system-ui,
498
+ -apple-system,
499
+ sans-serif;
500
+ --font-size-xs: 0.75rem;
501
+ --font-size-sm: 0.875rem;
502
+ --font-size-md: 1rem;
503
+ --font-size-lg: 1.125rem;
504
+ --spacing-1: 0.25rem;
505
+ --spacing-2: 0.5rem;
506
+ --spacing-3: 0.75rem;
507
+ --spacing-4: 1rem;
508
+ --radius-sm: 0.25rem;
509
+ --radius-md: 0.375rem;
510
+ --radius-lg: 0.5rem;
511
+ --radius-full: 9999px;
512
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
513
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
514
+ --transition-fast: 150ms ease;
515
+ --color-surface: #ffffff;
516
+ --color-surface-elevated: #ffffff;
517
+ }
518
+ [data-theme=dark] {
519
+ --color-neutral-0: #0f172a;
520
+ --color-neutral-100: #1e293b;
521
+ --color-neutral-200: #334155;
522
+ --color-neutral-400: #94a3b8;
523
+ --color-neutral-600: #cbd5e1;
524
+ --color-neutral-900: #f8fafc;
525
+ --color-surface: #1e293b;
526
+ --color-surface-elevated: #273549;
527
+ --color-primary-50: #172554;
528
+ --color-primary-100: #1e3a8a;
529
+ --accent-light: #172554;
530
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
531
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
532
+ }
533
+ .Timeline_module_timeline {
534
+ list-style: none;
535
+ margin: 0;
536
+ padding: 0;
537
+ font-family: var(--font-family-base);
538
+ }
539
+ .Timeline_module_vertical {
540
+ display: flex;
541
+ flex-direction: column;
542
+ gap: 0;
543
+ }
544
+ .Timeline_module_vertical .Timeline_module_item {
545
+ display: grid;
546
+ grid-template-columns: 1.25rem 1fr;
547
+ column-gap: 1rem;
548
+ align-items: stretch;
549
+ }
550
+ .Timeline_module_vertical .Timeline_module_track {
551
+ display: flex;
552
+ flex-direction: column;
553
+ align-items: center;
554
+ width: 1.25rem;
555
+ }
556
+ .Timeline_module_vertical .Timeline_module_connector {
557
+ flex: 1;
558
+ width: 0;
559
+ min-height: 0.5rem;
560
+ border-left: 2px dashed var(--color-neutral-200);
561
+ transition: border-color 0.3s ease;
562
+ }
563
+ .Timeline_module_vertical .Timeline_module_content {
564
+ padding-bottom: 1.75rem;
565
+ padding-top: 0.1rem;
566
+ }
567
+ .Timeline_module_vertical .Timeline_module_item.Timeline_module_last .Timeline_module_content {
568
+ padding-bottom: 0;
569
+ }
570
+ .Timeline_module_horizontal {
571
+ display: flex;
572
+ flex-direction: row;
573
+ align-items: flex-start;
574
+ }
575
+ .Timeline_module_horizontal .Timeline_module_item {
576
+ display: flex;
577
+ flex-direction: column;
578
+ align-items: center;
579
+ flex: 1;
580
+ min-width: 0;
581
+ }
582
+ .Timeline_module_horizontal .Timeline_module_track {
583
+ display: flex;
584
+ flex-direction: row;
585
+ align-items: center;
586
+ width: 100%;
587
+ }
588
+ .Timeline_module_horizontal .Timeline_module_connector {
589
+ flex: 1;
590
+ height: 0;
591
+ min-width: 1rem;
592
+ border-top: 2px dashed var(--color-neutral-200);
593
+ transition: border-color 0.3s ease;
594
+ }
595
+ .Timeline_module_horizontal .Timeline_module_content {
596
+ display: flex;
597
+ flex-direction: column;
598
+ align-items: center;
599
+ text-align: center;
600
+ padding-top: 0.75rem;
601
+ padding-inline: 0.5rem;
602
+ }
603
+ .Timeline_module_dot {
604
+ width: 1.25rem;
605
+ height: 1.25rem;
606
+ border-radius: 50%;
607
+ flex-shrink: 0;
608
+ display: flex;
609
+ align-items: center;
610
+ justify-content: center;
611
+ font-size: 0.6rem;
612
+ position: relative;
613
+ z-index: 1;
614
+ transition:
615
+ background-color 0.2s ease,
616
+ border-color 0.2s ease,
617
+ box-shadow 0.2s ease;
618
+ background-color: var(--color-neutral-0);
619
+ border: 2px solid var(--color-neutral-200);
620
+ color: var(--color-neutral-400);
621
+ }
622
+ .Timeline_module_iconSlot {
623
+ display: flex;
624
+ align-items: center;
625
+ justify-content: center;
626
+ font-size: 0.65rem;
627
+ line-height: 1;
628
+ }
629
+ .Timeline_module_completed .Timeline_module_dot {
630
+ background-color: var(--timeline-accent-dot, var(--accent-dot));
631
+ border-color: var(--timeline-accent-dot, var(--accent-dot));
632
+ color: var(--color-neutral-0);
633
+ box-shadow: 0 0 0 3px var(--timeline-accent-ring, var(--accent-ring));
634
+ animation: Timeline_module_dotIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
635
+ animation-delay: var(--dot-delay, 0s);
636
+ }
637
+ .Timeline_module_active .Timeline_module_dot {
638
+ background-color: var(--color-neutral-0);
639
+ border-color: var(--timeline-accent-track, var(--accent-track));
640
+ border-width: 2px;
641
+ box-shadow: 0 0 0 3px var(--timeline-accent-ring, var(--accent-ring));
642
+ animation: Timeline_module_pulse 2s ease-in-out infinite;
643
+ }
644
+ .Timeline_module_pending .Timeline_module_dot {
645
+ box-shadow: 0 0 0 3px var(--color-neutral-200);
646
+ }
647
+ .Timeline_module_label {
648
+ display: block;
649
+ font-size: var(--font-size-xs);
650
+ color: var(--color-neutral-400);
651
+ margin-bottom: 0.2rem;
652
+ letter-spacing: 0.01em;
653
+ }
654
+ .Timeline_module_title {
655
+ display: block;
656
+ font-size: var(--font-size-sm);
657
+ font-weight: 600;
658
+ color: var(--color-neutral-900);
659
+ letter-spacing: -0.01em;
660
+ }
661
+ .Timeline_module_description {
662
+ margin: 0.35rem 0 0;
663
+ font-size: var(--font-size-xs);
664
+ color: var(--color-neutral-600);
665
+ line-height: 1.5;
666
+ }
667
+ .Timeline_module_pending .Timeline_module_title {
668
+ color: var(--color-neutral-400);
669
+ font-weight: 500;
670
+ }
671
+ .Timeline_module_connectorHidden {
672
+ border-color: transparent !important;
673
+ }
674
+ .Timeline_module_connectorDone {
675
+ border-color: var(--timeline-accent-track, var(--accent-track)) !important;
676
+ border-style: solid !important;
677
+ }
678
+ @keyframes Timeline_module_dotIn {
679
+ 0% {
680
+ transform: scale(0.5);
681
+ background-color: var(--color-neutral-0);
682
+ border-color: var(--color-neutral-200);
683
+ box-shadow: 0 0 0 3px var(--color-neutral-200);
684
+ color: transparent;
685
+ }
686
+ 40% {
687
+ background-color: var(--timeline-accent-dot, var(--accent-dot));
688
+ border-color: var(--timeline-accent-dot, var(--accent-dot));
689
+ box-shadow: 0 0 0 3px var(--timeline-accent-ring, var(--accent-ring));
690
+ color: var(--color-neutral-0);
691
+ }
692
+ 50% {
693
+ transform: scale(1.06);
694
+ }
695
+ 70% {
696
+ transform: scale(0.97);
697
+ }
698
+ 85% {
699
+ transform: scale(1.02);
700
+ }
701
+ 100% {
702
+ transform: scale(1);
703
+ }
704
+ }
705
+ @keyframes Timeline_module_pulse {
706
+ 0%, 100% {
707
+ box-shadow: 0 0 0 3px var(--timeline-accent-ring, var(--accent-ring));
708
+ }
709
+ 50% {
710
+ box-shadow: 0 0 0 3px var(--timeline-accent-ring, var(--accent-ring)), 0 0 0 6px var(--timeline-accent-glow, var(--accent-glow));
711
+ }
712
+ }
713
+
714
+ /* src/components/ColorPicker/ColorPicker.module.scss */
715
+ :root {
716
+ --accent: #3b82f6;
717
+ --accent-dot: rgb(82.52, 145, 247.08);
718
+ --accent-track: #3b82f6;
719
+ --accent-ring: #3b82f6;
720
+ --accent-glow: rgba(59, 130, 246, 0.3);
721
+ --accent-light: rgb(157.485, 188.725, 239.765);
722
+ --color-primary-50: rgb(169.3455, 194.6925, 236.1045);
723
+ --color-primary-100: rgb(149.4545, 184.4575, 241.6455);
724
+ --color-primary-400: rgb(82.52, 145, 247.08);
725
+ --color-primary-500: #3b82f6;
726
+ --color-primary-600: rgb(29.8390243902, 111.4024390244, 244.6609756098);
727
+ --color-primary-700: rgb(10.712195122, 95.2195121951, 233.287804878);
728
+ --color-neutral-0: #ffffff;
729
+ --color-neutral-100: #f3f4f6;
730
+ --color-neutral-200: #e5e7eb;
731
+ --color-neutral-400: #9ca3af;
732
+ --color-neutral-600: #4b5563;
733
+ --color-neutral-900: #111827;
734
+ --color-success-500: #22c55e;
735
+ --color-success-600: #16a34a;
736
+ --color-danger-500: #ef4444;
737
+ --color-danger-600: #dc2626;
738
+ --color-warning-500: #f59e0b;
739
+ --color-warning-600: #d97706;
740
+ --font-family-base:
741
+ "Inter",
742
+ system-ui,
743
+ -apple-system,
744
+ sans-serif;
745
+ --font-size-xs: 0.75rem;
746
+ --font-size-sm: 0.875rem;
747
+ --font-size-md: 1rem;
748
+ --font-size-lg: 1.125rem;
749
+ --spacing-1: 0.25rem;
750
+ --spacing-2: 0.5rem;
751
+ --spacing-3: 0.75rem;
752
+ --spacing-4: 1rem;
753
+ --radius-sm: 0.25rem;
754
+ --radius-md: 0.375rem;
755
+ --radius-lg: 0.5rem;
756
+ --radius-full: 9999px;
757
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
758
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
759
+ --transition-fast: 150ms ease;
760
+ --color-surface: #ffffff;
761
+ --color-surface-elevated: #ffffff;
762
+ }
763
+ [data-theme=dark] {
764
+ --color-neutral-0: #0f172a;
765
+ --color-neutral-100: #1e293b;
766
+ --color-neutral-200: #334155;
767
+ --color-neutral-400: #94a3b8;
768
+ --color-neutral-600: #cbd5e1;
769
+ --color-neutral-900: #f8fafc;
770
+ --color-surface: #1e293b;
771
+ --color-surface-elevated: #273549;
772
+ --color-primary-50: #172554;
773
+ --color-primary-100: #1e3a8a;
774
+ --accent-light: #172554;
775
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
776
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
777
+ }
778
+ .ColorPicker_module_colorPicker {
779
+ display: inline-flex;
780
+ flex-direction: column;
781
+ gap: 0.75rem;
782
+ padding: 1rem;
783
+ background: var(--color-surface);
784
+ backdrop-filter: blur(16px);
785
+ -webkit-backdrop-filter: blur(16px);
786
+ border: 1px solid var(--color-neutral-200);
787
+ border-radius: var(--radius-lg);
788
+ box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 0, 0, 0.04);
789
+ font-family: var(--font-family-base);
790
+ width: calc(200px + 2rem);
791
+ box-sizing: border-box;
792
+ user-select: none;
793
+ }
794
+ .ColorPicker_module_topRow {
795
+ display: flex;
796
+ justify-content: center;
797
+ }
798
+ .ColorPicker_module_discWrapper {
799
+ position: relative;
800
+ width: 200px;
801
+ height: 200px;
802
+ flex-shrink: 0;
803
+ border-radius: 50%;
804
+ box-shadow: 0 0 0 1.5px var(--color-neutral-200);
805
+ }
806
+ .ColorPicker_module_disc {
807
+ display: block;
808
+ width: 200px;
809
+ height: 200px;
810
+ cursor: crosshair;
811
+ border-radius: 50%;
812
+ }
813
+ .ColorPicker_module_dot {
814
+ position: absolute;
815
+ width: 14px;
816
+ height: 14px;
817
+ border-radius: 50%;
818
+ border: 2px solid;
819
+ transform: translate(-50%, -50%);
820
+ pointer-events: none;
821
+ box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
822
+ background: transparent;
823
+ }
824
+ .ColorPicker_module_lSlider {
825
+ position: relative;
826
+ height: 10px;
827
+ border-radius: 5px;
828
+ cursor: ew-resize;
829
+ margin-block: 5px;
830
+ background-color: var(--color-neutral-200);
831
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
832
+ }
833
+ .ColorPicker_module_lThumb {
834
+ position: absolute;
835
+ top: 50%;
836
+ width: 20px;
837
+ height: 20px;
838
+ border-radius: 50%;
839
+ transform: translate(-50%, -50%);
840
+ background: white;
841
+ border: 2px solid rgba(0, 0, 0, 0.2);
842
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
843
+ pointer-events: none;
844
+ }
845
+ .ColorPicker_module_alphaSlider {
846
+ position: relative;
847
+ height: 10px;
848
+ border-radius: 5px;
849
+ cursor: ew-resize;
850
+ margin-block: 5px;
851
+ background-color: var(--color-neutral-200);
852
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
853
+ }
854
+ .ColorPicker_module_alphaThumb {
855
+ position: absolute;
856
+ top: 50%;
857
+ width: 20px;
858
+ height: 20px;
859
+ border-radius: 50%;
860
+ transform: translate(-50%, -50%);
861
+ background: white;
862
+ border: 2px solid rgba(0, 0, 0, 0.2);
863
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
864
+ pointer-events: none;
865
+ }
866
+ .ColorPicker_module_previewSwatch {
867
+ width: 100%;
868
+ height: 48px;
869
+ border-radius: var(--radius-md);
870
+ border: 1px solid rgba(0, 0, 0, 0.1);
871
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
872
+ position: relative;
873
+ display: flex;
874
+ align-items: center;
875
+ justify-content: flex-end;
876
+ padding: 0 0.5rem;
877
+ box-sizing: border-box;
878
+ }
879
+ .ColorPicker_module_eyedropperBtn {
880
+ display: flex;
881
+ align-items: center;
882
+ justify-content: center;
883
+ width: 28px;
884
+ height: 28px;
885
+ border: none;
886
+ border-radius: var(--radius-sm);
887
+ background: rgba(255, 255, 255, 0.25);
888
+ color: rgba(255, 255, 255, 0.9);
889
+ cursor: pointer;
890
+ backdrop-filter: blur(4px);
891
+ transition: background var(--transition-fast);
892
+ }
893
+ .ColorPicker_module_eyedropperBtn:hover {
894
+ background: rgba(255, 255, 255, 0.4);
895
+ }
896
+ .ColorPicker_module_inputSection {
897
+ display: flex;
898
+ flex-direction: column;
899
+ gap: 0.5rem;
900
+ }
901
+ .ColorPicker_module_tabs {
902
+ display: flex;
903
+ background: var(--color-neutral-100);
904
+ border-radius: var(--radius-sm);
905
+ padding: 2px;
906
+ gap: 2px;
907
+ }
908
+ .ColorPicker_module_tab {
909
+ flex: 1;
910
+ padding: 0.2rem 0;
911
+ font-size: 0.65rem;
912
+ font-weight: 600;
913
+ letter-spacing: 0.04em;
914
+ border: none;
915
+ border-radius: calc(var(--radius-sm) - 1px);
916
+ background: transparent;
917
+ color: var(--color-neutral-400);
918
+ cursor: pointer;
919
+ transition: background var(--transition-fast), color var(--transition-fast);
920
+ }
921
+ .ColorPicker_module_tab:hover:not(.ColorPicker_module_tabActive) {
922
+ color: var(--color-neutral-600);
923
+ }
924
+ .ColorPicker_module_tabActive {
925
+ background: var(--colorpicker-accent, var(--accent));
926
+ color: #fff;
927
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
928
+ }
929
+ .ColorPicker_module_inputWrapper {
930
+ position: relative;
931
+ display: flex;
932
+ align-items: center;
933
+ }
934
+ .ColorPicker_module_inputAddon {
935
+ position: absolute;
936
+ left: 0.5rem;
937
+ font-size: var(--font-size-xs);
938
+ font-family:
939
+ "SF Mono",
940
+ "Fira Code",
941
+ "Consolas",
942
+ monospace;
943
+ color: var(--color-neutral-400);
944
+ pointer-events: none;
945
+ line-height: 1;
946
+ }
947
+ .ColorPicker_module_input {
948
+ width: 100%;
949
+ box-sizing: border-box;
950
+ padding: 0.4rem 2rem;
951
+ border: 1px solid var(--color-neutral-200);
952
+ border-radius: var(--radius-sm);
953
+ font-size: var(--font-size-xs);
954
+ font-family:
955
+ "SF Mono",
956
+ "Fira Code",
957
+ "Consolas",
958
+ monospace;
959
+ color: var(--color-neutral-900);
960
+ background: var(--color-neutral-0);
961
+ outline: none;
962
+ text-align: center;
963
+ transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
964
+ }
965
+ .ColorPicker_module_input:focus {
966
+ border-color: var(--colorpicker-accent, var(--accent));
967
+ box-shadow: 0 0 0 2px var(--colorpicker-accent-glow, var(--accent-glow));
968
+ }
969
+ .ColorPicker_module_inputCopyBtn {
970
+ position: absolute;
971
+ right: 0.35rem;
972
+ display: flex;
973
+ align-items: center;
974
+ justify-content: center;
975
+ width: 22px;
976
+ height: 22px;
977
+ border: none;
978
+ border-radius: var(--radius-sm);
979
+ background: transparent;
980
+ color: var(--color-neutral-400);
981
+ cursor: pointer;
982
+ transition: background var(--transition-fast), color var(--transition-fast);
983
+ }
984
+ .ColorPicker_module_inputCopyBtn:hover {
985
+ background: var(--color-neutral-100);
986
+ color: var(--color-neutral-900);
987
+ }
988
+ .ColorPicker_module_recents {
989
+ display: flex;
990
+ align-items: center;
991
+ gap: 0.5rem;
992
+ padding-top: 0.25rem;
993
+ border-top: 1px solid var(--color-neutral-100);
994
+ overflow: hidden;
995
+ }
996
+ .ColorPicker_module_recentsLabel {
997
+ font-size: 0.6rem;
998
+ font-weight: 600;
999
+ letter-spacing: 0.06em;
1000
+ text-transform: uppercase;
1001
+ color: var(--color-neutral-400);
1002
+ flex-shrink: 0;
1003
+ }
1004
+ .ColorPicker_module_swatches {
1005
+ display: flex;
1006
+ gap: 0.35rem;
1007
+ flex-wrap: nowrap;
1008
+ overflow: hidden;
1009
+ }
1010
+ .ColorPicker_module_recentSwatch {
1011
+ width: 20px;
1012
+ height: 20px;
1013
+ border-radius: 50%;
1014
+ border: 1.5px solid rgba(0, 0, 0, 0.1);
1015
+ cursor: pointer;
1016
+ padding: 0;
1017
+ flex-shrink: 0;
1018
+ }
1019
+ /*# sourceMappingURL=index.css.map */