@rabelo-digital/ds-rd 1.1.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/dist/index.css ADDED
@@ -0,0 +1,1159 @@
1
+ /* src/components/atoms/Button/Button.module.css */
2
+ .button {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ gap: var(--ds-space-2);
7
+ border: 1px solid transparent;
8
+ border-radius: var(--ds-radius-md);
9
+ font-family: var(--ds-font-family-base);
10
+ font-weight: var(--ds-font-weight-medium);
11
+ line-height: var(--ds-line-height-tight);
12
+ cursor: pointer;
13
+ text-decoration: none;
14
+ transition:
15
+ background-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out),
16
+ border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out),
17
+ color var(--ds-motion-duration-fast) var(--ds-motion-easing-out),
18
+ box-shadow var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
19
+ white-space: nowrap;
20
+ user-select: none;
21
+ }
22
+ .button:focus-visible {
23
+ outline: 2px solid var(--ds-color-border-focus);
24
+ outline-offset: 2px;
25
+ }
26
+ .sm {
27
+ padding: var(--ds-space-1) var(--ds-space-3);
28
+ font-size: var(--ds-font-size-sm);
29
+ min-height: 32px;
30
+ }
31
+ .md {
32
+ padding: var(--ds-space-2) var(--ds-space-4);
33
+ font-size: var(--ds-font-size-md);
34
+ min-height: 40px;
35
+ }
36
+ .lg {
37
+ padding: var(--ds-space-3) var(--ds-space-6);
38
+ font-size: var(--ds-font-size-lg);
39
+ min-height: 48px;
40
+ }
41
+ .primary {
42
+ background: var(--ds-color-primary);
43
+ color: var(--ds-color-on-primary);
44
+ border-color: var(--ds-color-primary);
45
+ }
46
+ .primary:hover:not(:disabled):not([aria-disabled=true]) {
47
+ background: var(--ds-color-primary-hover);
48
+ border-color: var(--ds-color-primary-hover);
49
+ }
50
+ .primary:active:not(:disabled) {
51
+ background: var(--ds-color-primary-active);
52
+ border-color: var(--ds-color-primary-active);
53
+ }
54
+ .secondary {
55
+ background: var(--ds-color-secondary);
56
+ color: var(--ds-color-on-secondary);
57
+ border-color: var(--ds-color-secondary);
58
+ }
59
+ .secondary:hover:not(:disabled):not([aria-disabled=true]) {
60
+ background: var(--ds-color-secondary-hover);
61
+ border-color: var(--ds-color-secondary-hover);
62
+ }
63
+ .ghost {
64
+ background: transparent;
65
+ color: var(--ds-color-primary);
66
+ border-color: var(--ds-color-border);
67
+ }
68
+ .ghost:hover:not(:disabled):not([aria-disabled=true]) {
69
+ background: var(--ds-color-primary-subtle);
70
+ border-color: var(--ds-color-primary);
71
+ }
72
+ .danger {
73
+ background: var(--ds-color-error);
74
+ color: var(--ds-color-on-error);
75
+ border-color: var(--ds-color-error);
76
+ }
77
+ .danger:hover:not(:disabled):not([aria-disabled=true]) {
78
+ background: var(--ds-color-error-hover);
79
+ border-color: var(--ds-color-error-hover);
80
+ }
81
+ .button:disabled,
82
+ .button[aria-disabled=true] {
83
+ background: var(--ds-color-disabled-bg);
84
+ color: var(--ds-color-disabled-text);
85
+ border-color: var(--ds-color-disabled-border);
86
+ cursor: not-allowed;
87
+ pointer-events: none;
88
+ }
89
+ .loading {
90
+ position: relative;
91
+ cursor: wait;
92
+ pointer-events: none;
93
+ }
94
+ .label {
95
+ display: inline-flex;
96
+ align-items: center;
97
+ gap: var(--ds-space-2);
98
+ }
99
+ .labelHidden {
100
+ visibility: hidden;
101
+ }
102
+ .spinner {
103
+ position: absolute;
104
+ width: 1em;
105
+ height: 1em;
106
+ border: 2px solid currentColor;
107
+ border-top-color: transparent;
108
+ border-radius: var(--ds-radius-full);
109
+ animation: spin 0.6s linear infinite;
110
+ }
111
+ @keyframes spin {
112
+ to {
113
+ transform: rotate(360deg);
114
+ }
115
+ }
116
+
117
+ /* src/components/atoms/Input/Input.module.css */
118
+ .wrapper {
119
+ display: flex;
120
+ flex-direction: column;
121
+ gap: var(--ds-space-1);
122
+ width: 100%;
123
+ }
124
+ .label {
125
+ font-family: var(--ds-font-family-base);
126
+ font-size: var(--ds-font-size-sm);
127
+ font-weight: var(--ds-font-weight-medium);
128
+ color: var(--ds-color-text);
129
+ line-height: var(--ds-line-height-normal);
130
+ }
131
+ .input {
132
+ width: 100%;
133
+ font-family: var(--ds-font-family-base);
134
+ font-size: var(--ds-font-size-md);
135
+ color: var(--ds-color-text);
136
+ background: var(--ds-color-bg);
137
+ border: 1px solid var(--ds-color-border);
138
+ border-radius: var(--ds-radius-md);
139
+ transition: border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out), box-shadow var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
140
+ outline: none;
141
+ box-sizing: border-box;
142
+ }
143
+ .input::placeholder {
144
+ color: var(--ds-color-text-subtle);
145
+ }
146
+ .input:hover:not(:disabled) {
147
+ border-color: var(--ds-color-border-strong);
148
+ }
149
+ .input:focus {
150
+ border-color: var(--ds-color-border-focus);
151
+ box-shadow: 0 0 0 3px var(--ds-color-primary-muted);
152
+ }
153
+ .input:disabled {
154
+ background: var(--ds-color-disabled-bg);
155
+ color: var(--ds-color-disabled-text);
156
+ border-color: var(--ds-color-disabled-border);
157
+ cursor: not-allowed;
158
+ }
159
+ .input.error {
160
+ border-color: var(--ds-color-border-error);
161
+ }
162
+ .input.error:focus {
163
+ box-shadow: 0 0 0 3px var(--ds-color-error-muted);
164
+ }
165
+ .sm {
166
+ padding: var(--ds-space-1) var(--ds-space-2);
167
+ font-size: var(--ds-font-size-sm);
168
+ min-height: 32px;
169
+ }
170
+ .md {
171
+ padding: var(--ds-space-2) var(--ds-space-3);
172
+ font-size: var(--ds-font-size-md);
173
+ min-height: 40px;
174
+ }
175
+ .lg {
176
+ padding: var(--ds-space-3) var(--ds-space-4);
177
+ font-size: var(--ds-font-size-lg);
178
+ min-height: 48px;
179
+ }
180
+ .helperText {
181
+ font-size: var(--ds-font-size-xs);
182
+ color: var(--ds-color-text-muted);
183
+ line-height: var(--ds-line-height-normal);
184
+ }
185
+ .errorText {
186
+ font-size: var(--ds-font-size-xs);
187
+ color: var(--ds-color-error);
188
+ line-height: var(--ds-line-height-normal);
189
+ }
190
+
191
+ /* src/components/atoms/Textarea/Textarea.module.css */
192
+ .wrapper {
193
+ display: flex;
194
+ flex-direction: column;
195
+ gap: var(--ds-space-1);
196
+ width: 100%;
197
+ }
198
+ .label {
199
+ font-family: var(--ds-font-family-base);
200
+ font-size: var(--ds-font-size-sm);
201
+ font-weight: var(--ds-font-weight-medium);
202
+ color: var(--ds-color-text);
203
+ }
204
+ .textarea {
205
+ width: 100%;
206
+ min-height: 100px;
207
+ padding: var(--ds-space-2) var(--ds-space-3);
208
+ font-family: var(--ds-font-family-base);
209
+ font-size: var(--ds-font-size-md);
210
+ color: var(--ds-color-text);
211
+ background: var(--ds-color-bg);
212
+ border: 1px solid var(--ds-color-border);
213
+ border-radius: var(--ds-radius-md);
214
+ resize: vertical;
215
+ outline: none;
216
+ transition: border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out), box-shadow var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
217
+ box-sizing: border-box;
218
+ }
219
+ .textarea:focus {
220
+ border-color: var(--ds-color-border-focus);
221
+ box-shadow: 0 0 0 3px var(--ds-color-primary-muted);
222
+ }
223
+ .textarea:disabled {
224
+ background: var(--ds-color-disabled-bg);
225
+ color: var(--ds-color-disabled-text);
226
+ cursor: not-allowed;
227
+ }
228
+ .textarea.error {
229
+ border-color: var(--ds-color-border-error);
230
+ }
231
+ .textarea.error:focus {
232
+ box-shadow: 0 0 0 3px var(--ds-color-error-muted);
233
+ }
234
+ .footer {
235
+ display: flex;
236
+ justify-content: space-between;
237
+ align-items: flex-start;
238
+ }
239
+ .helperText {
240
+ font-size: var(--ds-font-size-xs);
241
+ color: var(--ds-color-text-muted);
242
+ }
243
+ .errorText {
244
+ font-size: var(--ds-font-size-xs);
245
+ color: var(--ds-color-error);
246
+ }
247
+ .counter {
248
+ font-size: var(--ds-font-size-xs);
249
+ color: var(--ds-color-text-muted);
250
+ margin-left: auto;
251
+ }
252
+
253
+ /* src/components/atoms/Badge/Badge.module.css */
254
+ .badge {
255
+ display: inline-flex;
256
+ align-items: center;
257
+ font-family: var(--ds-font-family-base);
258
+ font-weight: var(--ds-font-weight-medium);
259
+ border-radius: var(--ds-radius-full);
260
+ white-space: nowrap;
261
+ }
262
+ .sm {
263
+ padding: 2px var(--ds-space-2);
264
+ font-size: var(--ds-font-size-xs);
265
+ }
266
+ .md {
267
+ padding: var(--ds-space-1) var(--ds-space-2);
268
+ font-size: var(--ds-font-size-sm);
269
+ }
270
+ .default {
271
+ background: var(--ds-color-bg-muted);
272
+ color: var(--ds-color-text);
273
+ }
274
+ .primary {
275
+ background: var(--ds-color-primary-muted);
276
+ color: var(--ds-color-primary);
277
+ }
278
+ .success {
279
+ background: var(--ds-color-success-muted);
280
+ color: var(--ds-color-success);
281
+ }
282
+ .warning {
283
+ background: var(--ds-color-warning-muted);
284
+ color: var(--ds-color-warning-hover);
285
+ }
286
+ .error {
287
+ background: var(--ds-color-error-muted);
288
+ color: var(--ds-color-error);
289
+ }
290
+ .info {
291
+ background: var(--ds-color-info-muted);
292
+ color: var(--ds-color-info);
293
+ }
294
+
295
+ /* src/components/atoms/Avatar/Avatar.module.css */
296
+ .avatar {
297
+ display: inline-flex;
298
+ align-items: center;
299
+ justify-content: center;
300
+ background: var(--ds-color-primary-muted);
301
+ color: var(--ds-color-primary);
302
+ font-family: var(--ds-font-family-base);
303
+ font-weight: var(--ds-font-weight-semibold);
304
+ overflow: hidden;
305
+ flex-shrink: 0;
306
+ }
307
+ .circle {
308
+ border-radius: var(--ds-radius-full);
309
+ }
310
+ .square {
311
+ border-radius: var(--ds-radius-lg);
312
+ }
313
+ .xs {
314
+ width: 24px;
315
+ height: 24px;
316
+ font-size: var(--ds-font-size-xs);
317
+ }
318
+ .sm {
319
+ width: 32px;
320
+ height: 32px;
321
+ font-size: var(--ds-font-size-xs);
322
+ }
323
+ .md {
324
+ width: 40px;
325
+ height: 40px;
326
+ font-size: var(--ds-font-size-sm);
327
+ }
328
+ .lg {
329
+ width: 56px;
330
+ height: 56px;
331
+ font-size: var(--ds-font-size-md);
332
+ }
333
+ .xl {
334
+ width: 80px;
335
+ height: 80px;
336
+ font-size: var(--ds-font-size-xl);
337
+ }
338
+ .image {
339
+ width: 100%;
340
+ height: 100%;
341
+ object-fit: cover;
342
+ }
343
+ .initials {
344
+ line-height: 1;
345
+ }
346
+
347
+ /* src/components/atoms/Checkbox/Checkbox.module.css */
348
+ .wrapper {
349
+ display: flex;
350
+ align-items: center;
351
+ gap: var(--ds-space-2);
352
+ }
353
+ .root {
354
+ width: 18px;
355
+ height: 18px;
356
+ border: 2px solid var(--ds-color-border-strong);
357
+ border-radius: var(--ds-radius-sm);
358
+ background: var(--ds-color-bg);
359
+ display: flex;
360
+ align-items: center;
361
+ justify-content: center;
362
+ cursor: pointer;
363
+ flex-shrink: 0;
364
+ transition: border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out), background var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
365
+ outline: none;
366
+ }
367
+ .root[data-state=checked],
368
+ .root[data-state=indeterminate] {
369
+ background: var(--ds-color-primary);
370
+ border-color: var(--ds-color-primary);
371
+ color: var(--ds-color-on-primary);
372
+ }
373
+ .root:focus-visible {
374
+ outline: 2px solid var(--ds-color-border-focus);
375
+ outline-offset: 2px;
376
+ }
377
+ .root:disabled {
378
+ background: var(--ds-color-disabled-bg);
379
+ border-color: var(--ds-color-disabled-border);
380
+ cursor: not-allowed;
381
+ }
382
+ .indicator {
383
+ display: flex;
384
+ align-items: center;
385
+ justify-content: center;
386
+ color: currentColor;
387
+ }
388
+ .label {
389
+ font-size: var(--ds-font-size-sm);
390
+ color: var(--ds-color-text);
391
+ cursor: pointer;
392
+ line-height: var(--ds-line-height-normal);
393
+ }
394
+
395
+ /* src/components/atoms/Radio/Radio.module.css */
396
+ .group {
397
+ display: flex;
398
+ }
399
+ .vertical {
400
+ flex-direction: column;
401
+ gap: var(--ds-space-2);
402
+ }
403
+ .horizontal {
404
+ flex-direction: row;
405
+ flex-wrap: wrap;
406
+ gap: var(--ds-space-4);
407
+ }
408
+ .item {
409
+ display: flex;
410
+ align-items: center;
411
+ gap: var(--ds-space-2);
412
+ }
413
+ .radio {
414
+ width: 18px;
415
+ height: 18px;
416
+ border-radius: var(--ds-radius-full);
417
+ border: 2px solid var(--ds-color-border-strong);
418
+ background: var(--ds-color-bg);
419
+ display: flex;
420
+ align-items: center;
421
+ justify-content: center;
422
+ cursor: pointer;
423
+ flex-shrink: 0;
424
+ outline: none;
425
+ transition: border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
426
+ }
427
+ .radio[data-state=checked] {
428
+ border-color: var(--ds-color-primary);
429
+ }
430
+ .radio:focus-visible {
431
+ outline: 2px solid var(--ds-color-border-focus);
432
+ outline-offset: 2px;
433
+ }
434
+ .radio:disabled {
435
+ background: var(--ds-color-disabled-bg);
436
+ border-color: var(--ds-color-disabled-border);
437
+ cursor: not-allowed;
438
+ }
439
+ .indicator {
440
+ width: 8px;
441
+ height: 8px;
442
+ border-radius: var(--ds-radius-full);
443
+ background: var(--ds-color-primary);
444
+ }
445
+ .label {
446
+ font-size: var(--ds-font-size-sm);
447
+ color: var(--ds-color-text);
448
+ cursor: pointer;
449
+ }
450
+
451
+ /* src/components/atoms/Select/Select.module.css */
452
+ .wrapper {
453
+ display: flex;
454
+ flex-direction: column;
455
+ gap: var(--ds-space-1);
456
+ width: 100%;
457
+ }
458
+ .label {
459
+ font-size: var(--ds-font-size-sm);
460
+ font-weight: var(--ds-font-weight-medium);
461
+ color: var(--ds-color-text);
462
+ }
463
+ .trigger {
464
+ display: flex;
465
+ align-items: center;
466
+ justify-content: space-between;
467
+ gap: var(--ds-space-2);
468
+ width: 100%;
469
+ font-family: var(--ds-font-family-base);
470
+ color: var(--ds-color-text);
471
+ background: var(--ds-color-bg);
472
+ border: 1px solid var(--ds-color-border);
473
+ border-radius: var(--ds-radius-md);
474
+ cursor: pointer;
475
+ outline: none;
476
+ transition: border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
477
+ }
478
+ .trigger:hover:not(:disabled) {
479
+ border-color: var(--ds-color-border-strong);
480
+ }
481
+ .trigger:focus {
482
+ border-color: var(--ds-color-border-focus);
483
+ box-shadow: 0 0 0 3px var(--ds-color-primary-muted);
484
+ }
485
+ .trigger[data-disabled] {
486
+ background: var(--ds-color-disabled-bg);
487
+ color: var(--ds-color-disabled-text);
488
+ cursor: not-allowed;
489
+ }
490
+ .trigger.error {
491
+ border-color: var(--ds-color-border-error);
492
+ }
493
+ .sm {
494
+ padding: var(--ds-space-1) var(--ds-space-2);
495
+ font-size: var(--ds-font-size-sm);
496
+ min-height: 32px;
497
+ }
498
+ .md {
499
+ padding: var(--ds-space-2) var(--ds-space-3);
500
+ font-size: var(--ds-font-size-md);
501
+ min-height: 40px;
502
+ }
503
+ .lg {
504
+ padding: var(--ds-space-3) var(--ds-space-4);
505
+ font-size: var(--ds-font-size-lg);
506
+ min-height: 48px;
507
+ }
508
+ .icon {
509
+ color: var(--ds-color-text-muted);
510
+ flex-shrink: 0;
511
+ }
512
+ .content {
513
+ background: var(--ds-color-surface);
514
+ border: 1px solid var(--ds-color-border);
515
+ border-radius: var(--ds-radius-lg);
516
+ box-shadow: var(--ds-elevation-md);
517
+ z-index: var(--ds-z-dropdown);
518
+ min-width: var(--radix-select-trigger-width);
519
+ max-height: var(--radix-select-content-available-height);
520
+ overflow: hidden;
521
+ }
522
+ .viewport {
523
+ padding: var(--ds-space-1);
524
+ }
525
+ .item {
526
+ display: flex;
527
+ align-items: center;
528
+ justify-content: space-between;
529
+ gap: var(--ds-space-2);
530
+ padding: var(--ds-space-2) var(--ds-space-3);
531
+ border-radius: var(--ds-radius-md);
532
+ font-size: var(--ds-font-size-sm);
533
+ color: var(--ds-color-text);
534
+ cursor: pointer;
535
+ outline: none;
536
+ transition: background var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
537
+ user-select: none;
538
+ }
539
+ .item[data-highlighted] {
540
+ background: var(--ds-color-primary-subtle);
541
+ color: var(--ds-color-primary);
542
+ }
543
+ .item[data-disabled] {
544
+ color: var(--ds-color-disabled-text);
545
+ cursor: not-allowed;
546
+ }
547
+ .itemIndicator {
548
+ color: var(--ds-color-primary);
549
+ }
550
+ .errorText {
551
+ font-size: var(--ds-font-size-xs);
552
+ color: var(--ds-color-error);
553
+ }
554
+ .helperText {
555
+ font-size: var(--ds-font-size-xs);
556
+ color: var(--ds-color-text-muted);
557
+ }
558
+
559
+ /* src/components/atoms/Tooltip/Tooltip.module.css */
560
+ .content {
561
+ background: var(--ds-color-text);
562
+ color: var(--ds-color-text-inverse);
563
+ font-family: var(--ds-font-family-base);
564
+ font-size: var(--ds-font-size-xs);
565
+ line-height: var(--ds-line-height-normal);
566
+ padding: var(--ds-space-1) var(--ds-space-2);
567
+ border-radius: var(--ds-radius-md);
568
+ box-shadow: var(--ds-elevation-md);
569
+ z-index: var(--ds-z-tooltip);
570
+ max-width: 250px;
571
+ animation: fadeIn var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
572
+ }
573
+ .arrow {
574
+ fill: var(--ds-color-text);
575
+ }
576
+ @keyframes fadeIn {
577
+ from {
578
+ opacity: 0;
579
+ transform: scale(0.96);
580
+ }
581
+ to {
582
+ opacity: 1;
583
+ transform: scale(1);
584
+ }
585
+ }
586
+
587
+ /* src/components/atoms/SocialIcons/SocialIcons.module.css */
588
+ .list {
589
+ display: flex;
590
+ gap: var(--ds-space-2);
591
+ list-style: none;
592
+ margin: 0;
593
+ padding: 0;
594
+ flex-wrap: wrap;
595
+ }
596
+ .link {
597
+ display: inline-flex;
598
+ align-items: center;
599
+ justify-content: center;
600
+ border-radius: var(--ds-radius-full);
601
+ color: var(--ds-color-text-muted);
602
+ background: var(--ds-color-bg-subtle);
603
+ transition: color var(--ds-motion-duration-fast) var(--ds-motion-easing-out), background var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
604
+ text-decoration: none;
605
+ }
606
+ .link:hover {
607
+ color: var(--ds-color-primary);
608
+ background: var(--ds-color-primary-subtle);
609
+ }
610
+ .link:focus-visible {
611
+ outline: 2px solid var(--ds-color-border-focus);
612
+ outline-offset: 2px;
613
+ }
614
+ .sm {
615
+ width: 32px;
616
+ height: 32px;
617
+ font-size: 14px;
618
+ }
619
+ .md {
620
+ width: 40px;
621
+ height: 40px;
622
+ font-size: 16px;
623
+ }
624
+ .lg {
625
+ width: 48px;
626
+ height: 48px;
627
+ font-size: 20px;
628
+ }
629
+
630
+ /* src/components/molecules/Card/Card.module.css */
631
+ .card {
632
+ background: var(--ds-color-surface);
633
+ border: 1px solid var(--ds-color-border);
634
+ overflow: hidden;
635
+ }
636
+ .header {
637
+ padding: var(--ds-space-4) var(--ds-space-6);
638
+ border-bottom: 1px solid var(--ds-color-border-muted);
639
+ font-weight: var(--ds-font-weight-semibold);
640
+ font-size: var(--ds-font-size-lg);
641
+ color: var(--ds-color-text);
642
+ }
643
+ .body {
644
+ padding: var(--ds-space-6);
645
+ color: var(--ds-color-text);
646
+ }
647
+ .footer {
648
+ padding: var(--ds-space-4) var(--ds-space-6);
649
+ border-top: 1px solid var(--ds-color-border-muted);
650
+ background: var(--ds-color-bg-subtle);
651
+ display: flex;
652
+ align-items: center;
653
+ gap: var(--ds-space-2);
654
+ }
655
+
656
+ /* src/components/molecules/Modal/Modal.module.css */
657
+ .overlay {
658
+ position: fixed;
659
+ inset: 0;
660
+ background: var(--ds-color-bg-overlay);
661
+ z-index: var(--ds-z-overlay);
662
+ animation: overlayIn var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
663
+ }
664
+ .content {
665
+ position: fixed;
666
+ top: 50%;
667
+ left: 50%;
668
+ transform: translate(-50%, -50%);
669
+ background: var(--ds-color-surface);
670
+ border-radius: var(--ds-radius-xl);
671
+ box-shadow: var(--ds-elevation-xl);
672
+ z-index: var(--ds-z-modal);
673
+ max-height: 90vh;
674
+ overflow-y: auto;
675
+ display: flex;
676
+ flex-direction: column;
677
+ animation: contentIn var(--ds-motion-duration-normal) var(--ds-motion-easing-spring);
678
+ }
679
+ .sm {
680
+ width: min(400px, 90vw);
681
+ }
682
+ .md {
683
+ width: min(560px, 90vw);
684
+ }
685
+ .lg {
686
+ width: min(720px, 90vw);
687
+ }
688
+ .xl {
689
+ width: min(900px, 90vw);
690
+ }
691
+ .full {
692
+ width: calc(100vw - 32px);
693
+ height: calc(100vh - 32px);
694
+ top: 16px;
695
+ left: 16px;
696
+ transform: none;
697
+ }
698
+ .header {
699
+ display: flex;
700
+ align-items: center;
701
+ justify-content: space-between;
702
+ gap: var(--ds-space-4);
703
+ padding: var(--ds-space-4) var(--ds-space-6);
704
+ border-bottom: 1px solid var(--ds-color-border-muted);
705
+ }
706
+ .title {
707
+ font-family: var(--ds-font-family-heading);
708
+ font-size: var(--ds-font-size-xl);
709
+ font-weight: var(--ds-font-weight-semibold);
710
+ color: var(--ds-color-text);
711
+ margin: 0;
712
+ }
713
+ .description {
714
+ padding: var(--ds-space-2) var(--ds-space-6) 0;
715
+ font-size: var(--ds-font-size-sm);
716
+ color: var(--ds-color-text-muted);
717
+ }
718
+ .body {
719
+ padding: var(--ds-space-6);
720
+ flex: 1;
721
+ }
722
+ .close {
723
+ display: flex;
724
+ align-items: center;
725
+ justify-content: center;
726
+ width: 32px;
727
+ height: 32px;
728
+ border-radius: var(--ds-radius-md);
729
+ border: none;
730
+ background: transparent;
731
+ color: var(--ds-color-text-muted);
732
+ cursor: pointer;
733
+ transition: background var(--ds-motion-duration-fast) var(--ds-motion-easing-out), color var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
734
+ flex-shrink: 0;
735
+ }
736
+ .close:hover {
737
+ background: var(--ds-color-bg-subtle);
738
+ color: var(--ds-color-text);
739
+ }
740
+ .close:focus-visible {
741
+ outline: 2px solid var(--ds-color-border-focus);
742
+ outline-offset: 2px;
743
+ }
744
+ @keyframes overlayIn {
745
+ from {
746
+ opacity: 0;
747
+ }
748
+ to {
749
+ opacity: 1;
750
+ }
751
+ }
752
+ @keyframes contentIn {
753
+ from {
754
+ opacity: 0;
755
+ transform: translate(-50%, -48%) scale(0.96);
756
+ }
757
+ to {
758
+ opacity: 1;
759
+ transform: translate(-50%, -50%) scale(1);
760
+ }
761
+ }
762
+
763
+ /* src/components/molecules/Drawer/Drawer.module.css */
764
+ .overlay {
765
+ position: fixed;
766
+ inset: 0;
767
+ background: var(--ds-color-bg-overlay);
768
+ z-index: var(--ds-z-overlay);
769
+ animation: fadeIn var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
770
+ }
771
+ .content {
772
+ position: fixed;
773
+ background: var(--ds-color-surface);
774
+ box-shadow: var(--ds-elevation-xl);
775
+ z-index: var(--ds-z-modal);
776
+ display: flex;
777
+ flex-direction: column;
778
+ overflow-y: auto;
779
+ }
780
+ .right {
781
+ top: 0;
782
+ right: 0;
783
+ bottom: 0;
784
+ width: min(480px, 90vw);
785
+ animation: slideInRight var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
786
+ }
787
+ .left {
788
+ top: 0;
789
+ left: 0;
790
+ bottom: 0;
791
+ width: min(480px, 90vw);
792
+ animation: slideInLeft var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
793
+ }
794
+ .top {
795
+ top: 0;
796
+ left: 0;
797
+ right: 0;
798
+ height: min(360px, 60vh);
799
+ animation: slideInTop var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
800
+ }
801
+ .bottom {
802
+ bottom: 0;
803
+ left: 0;
804
+ right: 0;
805
+ height: min(360px, 60vh);
806
+ animation: slideInBottom var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
807
+ }
808
+ .header {
809
+ display: flex;
810
+ align-items: center;
811
+ justify-content: space-between;
812
+ padding: var(--ds-space-4) var(--ds-space-6);
813
+ border-bottom: 1px solid var(--ds-color-border-muted);
814
+ }
815
+ .title {
816
+ font-size: var(--ds-font-size-xl);
817
+ font-weight: var(--ds-font-weight-semibold);
818
+ color: var(--ds-color-text);
819
+ margin: 0;
820
+ }
821
+ .body {
822
+ padding: var(--ds-space-6);
823
+ flex: 1;
824
+ }
825
+ .close {
826
+ display: flex;
827
+ align-items: center;
828
+ justify-content: center;
829
+ width: 32px;
830
+ height: 32px;
831
+ border-radius: var(--ds-radius-md);
832
+ border: none;
833
+ background: transparent;
834
+ color: var(--ds-color-text-muted);
835
+ cursor: pointer;
836
+ }
837
+ .close:hover {
838
+ background: var(--ds-color-bg-subtle);
839
+ color: var(--ds-color-text);
840
+ }
841
+ .close:focus-visible {
842
+ outline: 2px solid var(--ds-color-border-focus);
843
+ outline-offset: 2px;
844
+ }
845
+ @keyframes fadeIn {
846
+ from {
847
+ opacity: 0;
848
+ }
849
+ to {
850
+ opacity: 1;
851
+ }
852
+ }
853
+ @keyframes slideInRight {
854
+ from {
855
+ transform: translateX(100%);
856
+ }
857
+ to {
858
+ transform: translateX(0);
859
+ }
860
+ }
861
+ @keyframes slideInLeft {
862
+ from {
863
+ transform: translateX(-100%);
864
+ }
865
+ to {
866
+ transform: translateX(0);
867
+ }
868
+ }
869
+ @keyframes slideInTop {
870
+ from {
871
+ transform: translateY(-100%);
872
+ }
873
+ to {
874
+ transform: translateY(0);
875
+ }
876
+ }
877
+ @keyframes slideInBottom {
878
+ from {
879
+ transform: translateY(100%);
880
+ }
881
+ to {
882
+ transform: translateY(0);
883
+ }
884
+ }
885
+
886
+ /* src/components/molecules/Tabs/Tabs.module.css */
887
+ .root {
888
+ display: flex;
889
+ flex-direction: column;
890
+ }
891
+ .list {
892
+ display: flex;
893
+ border-bottom: 2px solid var(--ds-color-border);
894
+ gap: 0;
895
+ }
896
+ .trigger {
897
+ padding: var(--ds-space-2) var(--ds-space-4);
898
+ font-family: var(--ds-font-family-base);
899
+ font-size: var(--ds-font-size-sm);
900
+ font-weight: var(--ds-font-weight-medium);
901
+ color: var(--ds-color-text-muted);
902
+ background: transparent;
903
+ border: none;
904
+ border-bottom: 2px solid transparent;
905
+ margin-bottom: -2px;
906
+ cursor: pointer;
907
+ transition: color var(--ds-motion-duration-fast) var(--ds-motion-easing-out), border-color var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
908
+ outline: none;
909
+ }
910
+ .trigger:hover:not([disabled]) {
911
+ color: var(--ds-color-text);
912
+ }
913
+ .trigger[data-state=active] {
914
+ color: var(--ds-color-primary);
915
+ border-bottom-color: var(--ds-color-primary);
916
+ }
917
+ .trigger[disabled] {
918
+ color: var(--ds-color-disabled-text);
919
+ cursor: not-allowed;
920
+ }
921
+ .trigger:focus-visible {
922
+ outline: 2px solid var(--ds-color-border-focus);
923
+ outline-offset: 2px;
924
+ border-radius: var(--ds-radius-sm);
925
+ }
926
+ .content {
927
+ padding: var(--ds-space-6) 0;
928
+ }
929
+
930
+ /* src/components/molecules/Accordion/Accordion.module.css */
931
+ .root {
932
+ border: 1px solid var(--ds-color-border);
933
+ border-radius: var(--ds-radius-lg);
934
+ overflow: hidden;
935
+ }
936
+ .item {
937
+ border-bottom: 1px solid var(--ds-color-border);
938
+ }
939
+ .item:last-child {
940
+ border-bottom: none;
941
+ }
942
+ .item[data-disabled] {
943
+ opacity: 0.5;
944
+ }
945
+ .trigger {
946
+ display: flex;
947
+ align-items: center;
948
+ justify-content: space-between;
949
+ gap: var(--ds-space-4);
950
+ width: 100%;
951
+ padding: var(--ds-space-4) var(--ds-space-6);
952
+ font-family: var(--ds-font-family-base);
953
+ font-size: var(--ds-font-size-md);
954
+ font-weight: var(--ds-font-weight-medium);
955
+ color: var(--ds-color-text);
956
+ background: transparent;
957
+ border: none;
958
+ cursor: pointer;
959
+ text-align: left;
960
+ transition: background var(--ds-motion-duration-fast) var(--ds-motion-easing-out);
961
+ outline: none;
962
+ }
963
+ .trigger:hover {
964
+ background: var(--ds-color-bg-subtle);
965
+ }
966
+ .trigger:focus-visible {
967
+ outline: 2px solid var(--ds-color-border-focus);
968
+ outline-offset: -2px;
969
+ }
970
+ .chevron {
971
+ flex-shrink: 0;
972
+ transition: transform var(--ds-motion-duration-normal) var(--ds-motion-easing-in-out);
973
+ }
974
+ .trigger[data-state=open] .chevron {
975
+ transform: rotate(180deg);
976
+ }
977
+ .content {
978
+ overflow: hidden;
979
+ }
980
+ .content[data-state=open] {
981
+ animation: slideDown var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
982
+ }
983
+ .content[data-state=closed] {
984
+ animation: slideUp var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
985
+ }
986
+ .contentInner {
987
+ padding: 0 var(--ds-space-6) var(--ds-space-4);
988
+ color: var(--ds-color-text-muted);
989
+ font-size: var(--ds-font-size-md);
990
+ }
991
+ @keyframes slideDown {
992
+ from {
993
+ height: 0;
994
+ }
995
+ to {
996
+ height: var(--radix-accordion-content-height);
997
+ }
998
+ }
999
+ @keyframes slideUp {
1000
+ from {
1001
+ height: var(--radix-accordion-content-height);
1002
+ }
1003
+ to {
1004
+ height: 0;
1005
+ }
1006
+ }
1007
+
1008
+ /* src/components/molecules/Toast/Toast.module.css */
1009
+ .viewport {
1010
+ position: fixed;
1011
+ bottom: var(--ds-space-6);
1012
+ right: var(--ds-space-6);
1013
+ display: flex;
1014
+ flex-direction: column;
1015
+ gap: var(--ds-space-2);
1016
+ width: 360px;
1017
+ max-width: calc(100vw - var(--ds-space-8));
1018
+ z-index: var(--ds-z-toast);
1019
+ list-style: none;
1020
+ padding: 0;
1021
+ margin: 0;
1022
+ outline: none;
1023
+ }
1024
+ .root {
1025
+ background: var(--ds-color-surface);
1026
+ border-radius: var(--ds-radius-lg);
1027
+ box-shadow: var(--ds-elevation-lg);
1028
+ border-left: 4px solid;
1029
+ animation: slideIn var(--ds-motion-duration-normal) var(--ds-motion-easing-out);
1030
+ }
1031
+ .root[data-state=closed] {
1032
+ animation: slideOut var(--ds-motion-duration-normal) var(--ds-motion-easing-in);
1033
+ }
1034
+ .default {
1035
+ border-color: var(--ds-color-border-strong);
1036
+ }
1037
+ .success {
1038
+ border-color: var(--ds-color-success);
1039
+ }
1040
+ .warning {
1041
+ border-color: var(--ds-color-warning);
1042
+ }
1043
+ .error {
1044
+ border-color: var(--ds-color-error);
1045
+ }
1046
+ .info {
1047
+ border-color: var(--ds-color-info);
1048
+ }
1049
+ .content {
1050
+ display: flex;
1051
+ align-items: flex-start;
1052
+ gap: var(--ds-space-3);
1053
+ padding: var(--ds-space-4);
1054
+ }
1055
+ .text {
1056
+ flex: 1;
1057
+ min-width: 0;
1058
+ }
1059
+ .title {
1060
+ font-size: var(--ds-font-size-sm);
1061
+ font-weight: var(--ds-font-weight-semibold);
1062
+ color: var(--ds-color-text);
1063
+ margin: 0;
1064
+ }
1065
+ .description {
1066
+ font-size: var(--ds-font-size-xs);
1067
+ color: var(--ds-color-text-muted);
1068
+ margin-top: var(--ds-space-1);
1069
+ }
1070
+ .close {
1071
+ display: flex;
1072
+ align-items: center;
1073
+ justify-content: center;
1074
+ width: 24px;
1075
+ height: 24px;
1076
+ border-radius: var(--ds-radius-sm);
1077
+ border: none;
1078
+ background: transparent;
1079
+ color: var(--ds-color-text-muted);
1080
+ cursor: pointer;
1081
+ flex-shrink: 0;
1082
+ padding: 0;
1083
+ }
1084
+ .close:hover {
1085
+ background: var(--ds-color-bg-subtle);
1086
+ }
1087
+ .close:focus-visible {
1088
+ outline: 2px solid var(--ds-color-border-focus);
1089
+ outline-offset: 2px;
1090
+ }
1091
+ @keyframes slideIn {
1092
+ from {
1093
+ transform: translateX(calc(100% + var(--ds-space-6)));
1094
+ opacity: 0;
1095
+ }
1096
+ to {
1097
+ transform: translateX(0);
1098
+ opacity: 1;
1099
+ }
1100
+ }
1101
+ @keyframes slideOut {
1102
+ from {
1103
+ transform: translateX(0);
1104
+ opacity: 1;
1105
+ }
1106
+ to {
1107
+ transform: translateX(calc(100% + var(--ds-space-6)));
1108
+ opacity: 0;
1109
+ }
1110
+ }
1111
+
1112
+ /* src/components/molecules/Table/Table.module.css */
1113
+ .wrapper {
1114
+ width: 100%;
1115
+ overflow-x: auto;
1116
+ border: 1px solid var(--ds-color-border);
1117
+ border-radius: var(--ds-radius-lg);
1118
+ }
1119
+ .table {
1120
+ width: 100%;
1121
+ border-collapse: collapse;
1122
+ font-family: var(--ds-font-family-base);
1123
+ font-size: var(--ds-font-size-sm);
1124
+ }
1125
+ .caption {
1126
+ padding: var(--ds-space-3) var(--ds-space-4);
1127
+ text-align: left;
1128
+ font-size: var(--ds-font-size-sm);
1129
+ color: var(--ds-color-text-muted);
1130
+ }
1131
+ .head {
1132
+ background: var(--ds-color-bg-subtle);
1133
+ }
1134
+ .stickyHeader .head {
1135
+ position: sticky;
1136
+ top: 0;
1137
+ z-index: var(--ds-z-raised);
1138
+ }
1139
+ .th {
1140
+ padding: var(--ds-space-3) var(--ds-space-4);
1141
+ text-align: left;
1142
+ font-weight: var(--ds-font-weight-semibold);
1143
+ color: var(--ds-color-text);
1144
+ border-bottom: 2px solid var(--ds-color-border);
1145
+ white-space: nowrap;
1146
+ }
1147
+ .td {
1148
+ padding: var(--ds-space-3) var(--ds-space-4);
1149
+ color: var(--ds-color-text);
1150
+ border-bottom: 1px solid var(--ds-color-border-muted);
1151
+ vertical-align: middle;
1152
+ }
1153
+ .row:last-child .td {
1154
+ border-bottom: none;
1155
+ }
1156
+ .body .row:hover {
1157
+ background: var(--ds-color-bg-subtle);
1158
+ }
1159
+ /*# sourceMappingURL=index.css.map */