@umami/react-zen 0.4.0 → 0.6.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.
- package/dist/index.css +439 -341
- package/dist/index.d.ts +747 -675
- package/dist/index.js +4690 -2479
- package/dist/index.mjs +4015 -1804
- package/dist/zen.css +17 -7
- package/package.json +3 -2
package/dist/index.css
CHANGED
|
@@ -1,151 +1,91 @@
|
|
|
1
|
-
/* src/components/
|
|
2
|
-
.
|
|
3
|
-
display:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
width: 12px;
|
|
8
|
-
height: 12px;
|
|
9
|
-
}
|
|
10
|
-
.Icon_sm {
|
|
11
|
-
width: 16px;
|
|
12
|
-
height: 16px;
|
|
1
|
+
/* src/components/form/Form.module.css */
|
|
2
|
+
.Form_form {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: var(--gap-md);
|
|
6
|
+
width: 100%;
|
|
13
7
|
}
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
.Form_text {
|
|
9
|
+
text-align: center;
|
|
10
|
+
margin: auto;
|
|
17
11
|
}
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
height: 32px;
|
|
12
|
+
.Form_icon {
|
|
13
|
+
align-self: flex-start;
|
|
21
14
|
}
|
|
22
|
-
.
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
.Form_error {
|
|
16
|
+
margin: 0 auto var(--size-600) auto;
|
|
17
|
+
overflow: auto;
|
|
25
18
|
}
|
|
26
19
|
|
|
27
|
-
/* src/components/
|
|
28
|
-
.
|
|
29
|
-
|
|
30
|
-
background-color: var(--background-color);
|
|
20
|
+
/* src/components/Box.module.css */
|
|
21
|
+
.Box_font-size-xs {
|
|
22
|
+
font-size: var(--font-size-xs);
|
|
31
23
|
}
|
|
32
|
-
.
|
|
33
|
-
|
|
34
|
-
border-bottom: var(--border);
|
|
35
|
-
padding-bottom: var(--spacing-5);
|
|
24
|
+
.Box_font-size-sm {
|
|
25
|
+
font-size: var(--font-size-sm);
|
|
36
26
|
}
|
|
37
|
-
.
|
|
38
|
-
|
|
27
|
+
.Box_font-size-md {
|
|
28
|
+
font-size: var(--font-size-md);
|
|
39
29
|
}
|
|
40
|
-
.
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
30
|
+
.Box_font-size-lg {
|
|
43
31
|
font-size: var(--font-size-lg);
|
|
44
32
|
}
|
|
45
|
-
.
|
|
46
|
-
font-size:
|
|
47
|
-
font-weight: 700;
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: space-between;
|
|
51
|
-
color: var(--font-color);
|
|
52
|
-
flex: 1;
|
|
53
|
-
border: 0;
|
|
54
|
-
background: transparent;
|
|
55
|
-
padding: 0;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
}
|
|
58
|
-
.Accordion_content {
|
|
59
|
-
overflow: hidden;
|
|
33
|
+
.Box_font-size-xl {
|
|
34
|
+
font-size: var(--font-size-xl);
|
|
60
35
|
}
|
|
61
|
-
.
|
|
62
|
-
|
|
36
|
+
.Box_border-thin {
|
|
37
|
+
border-radius: var(--border-thin);
|
|
63
38
|
}
|
|
64
|
-
.
|
|
65
|
-
|
|
39
|
+
.Box_border-medium {
|
|
40
|
+
border-radius: var(--border-medium);
|
|
66
41
|
}
|
|
67
|
-
.
|
|
68
|
-
|
|
42
|
+
.Box_border-thick {
|
|
43
|
+
border-radius: var(--border-thick);
|
|
69
44
|
}
|
|
70
|
-
.
|
|
71
|
-
|
|
45
|
+
.Box_border-radius-sm {
|
|
46
|
+
border-radius: var(--border-radius-sm);
|
|
72
47
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
height: 0;
|
|
76
|
-
}
|
|
77
|
-
to {
|
|
78
|
-
height: var(--radix-accordion-content-height);
|
|
79
|
-
}
|
|
48
|
+
.Box_border-radius-md {
|
|
49
|
+
border-radius: var(--border-radius-md);
|
|
80
50
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
height: var(--radix-accordion-content-height);
|
|
84
|
-
}
|
|
85
|
-
to {
|
|
86
|
-
height: 0;
|
|
87
|
-
}
|
|
51
|
+
.Box_border-radius-lg {
|
|
52
|
+
border-radius: var(--border-radius-lg);
|
|
88
53
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.AlertBanner_banner {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
font-size: var(--font-size);
|
|
95
|
-
padding: var(--padding);
|
|
96
|
-
border: var(--border);
|
|
97
|
-
border-radius: var(--border-radius);
|
|
98
|
-
color: var(--font-color);
|
|
99
|
-
background: var(--background-color);
|
|
100
|
-
width: 100%;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
gap: var(--spacing-3);
|
|
54
|
+
.Box_border-radius-full {
|
|
55
|
+
border-radius: 100%;
|
|
103
56
|
}
|
|
104
|
-
.
|
|
105
|
-
|
|
106
|
-
flex-direction: column;
|
|
107
|
-
flex: 1;
|
|
57
|
+
.Box_gap-xs {
|
|
58
|
+
gap: var(--gap-xs);
|
|
108
59
|
}
|
|
109
|
-
.
|
|
110
|
-
|
|
60
|
+
.Box_gap-sm {
|
|
61
|
+
gap: var(--gap-sm);
|
|
111
62
|
}
|
|
112
|
-
.
|
|
113
|
-
|
|
63
|
+
.Box_gap-md {
|
|
64
|
+
gap: var(--gap-md);
|
|
114
65
|
}
|
|
115
|
-
.
|
|
116
|
-
|
|
117
|
-
cursor: pointer;
|
|
66
|
+
.Box_gap-lg {
|
|
67
|
+
gap: var(--gap-lg);
|
|
118
68
|
}
|
|
119
|
-
.
|
|
120
|
-
|
|
121
|
-
background-color: var(--danger-bg-color);
|
|
122
|
-
border: 0;
|
|
69
|
+
.Box_gap-xl {
|
|
70
|
+
gap: var(--gap-xl);
|
|
123
71
|
}
|
|
124
|
-
.
|
|
125
|
-
|
|
72
|
+
.Box_shadow-1 {
|
|
73
|
+
box-shadow: var(--box-shadow-1);
|
|
126
74
|
}
|
|
127
|
-
.
|
|
128
|
-
|
|
129
|
-
background-color: var(--primary-bg-color);
|
|
130
|
-
border: 0;
|
|
75
|
+
.Box_shadow-2 {
|
|
76
|
+
box-shadow: var(--box-shadow-2);
|
|
131
77
|
}
|
|
132
|
-
.
|
|
133
|
-
|
|
78
|
+
.Box_shadow-3 {
|
|
79
|
+
box-shadow: var(--box-shadow-3);
|
|
134
80
|
}
|
|
135
|
-
|
|
136
|
-
/* src/components/Dialog.module.css */
|
|
137
|
-
.Dialog_dialog {
|
|
138
|
-
position: relative;
|
|
139
|
-
padding: var(--spacing-6);
|
|
81
|
+
.Box_shadow-4 {
|
|
140
82
|
box-shadow: var(--box-shadow-4);
|
|
141
|
-
background: var(--background-color);
|
|
142
|
-
border: var(--border);
|
|
143
|
-
border-radius: var(--border-radius);
|
|
144
83
|
}
|
|
145
|
-
.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
84
|
+
.Box_shadow-5 {
|
|
85
|
+
box-shadow: var(--box-shadow-5);
|
|
86
|
+
}
|
|
87
|
+
.Box_shadow-6 {
|
|
88
|
+
box-shadow: var(--box-shadow-6);
|
|
149
89
|
}
|
|
150
90
|
|
|
151
91
|
/* src/components/Flexbox.module.css */
|
|
@@ -417,13 +357,151 @@
|
|
|
417
357
|
gap: var(--spacing-12);
|
|
418
358
|
}
|
|
419
359
|
|
|
360
|
+
/* src/components/Icon.module.css */
|
|
361
|
+
.Icon_icon {
|
|
362
|
+
display: inline-block;
|
|
363
|
+
fill: currentColor;
|
|
364
|
+
}
|
|
365
|
+
.Icon_xs {
|
|
366
|
+
width: 12px;
|
|
367
|
+
height: 12px;
|
|
368
|
+
}
|
|
369
|
+
.Icon_sm {
|
|
370
|
+
width: 16px;
|
|
371
|
+
height: 16px;
|
|
372
|
+
}
|
|
373
|
+
.Icon_md {
|
|
374
|
+
width: 24px;
|
|
375
|
+
height: 24px;
|
|
376
|
+
}
|
|
377
|
+
.Icon_lg {
|
|
378
|
+
width: 32px;
|
|
379
|
+
height: 32px;
|
|
380
|
+
}
|
|
381
|
+
.Icon_xl {
|
|
382
|
+
width: 48px;
|
|
383
|
+
height: 48px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/* src/components/AlertBanner.module.css */
|
|
387
|
+
.AlertBanner_banner {
|
|
388
|
+
display: flex;
|
|
389
|
+
align-items: center;
|
|
390
|
+
font-size: var(--font-size);
|
|
391
|
+
padding: var(--padding);
|
|
392
|
+
border: var(--border);
|
|
393
|
+
border-radius: var(--border-radius);
|
|
394
|
+
color: var(--font-color);
|
|
395
|
+
background: var(--background-color);
|
|
396
|
+
width: 100%;
|
|
397
|
+
overflow: hidden;
|
|
398
|
+
gap: var(--spacing-3);
|
|
399
|
+
}
|
|
400
|
+
.AlertBanner_message {
|
|
401
|
+
display: flex;
|
|
402
|
+
flex-direction: column;
|
|
403
|
+
flex: 1;
|
|
404
|
+
}
|
|
405
|
+
.AlertBanner_title {
|
|
406
|
+
font-weight: 700;
|
|
407
|
+
}
|
|
408
|
+
.AlertBanner_close {
|
|
409
|
+
color: var(--font-muted-color);
|
|
410
|
+
}
|
|
411
|
+
.AlertBanner_close:hover {
|
|
412
|
+
color: var(--font-color);
|
|
413
|
+
cursor: pointer;
|
|
414
|
+
}
|
|
415
|
+
.AlertBanner_error {
|
|
416
|
+
color: var(--light-color);
|
|
417
|
+
background-color: var(--danger-bg-color);
|
|
418
|
+
border: 0;
|
|
419
|
+
}
|
|
420
|
+
.AlertBanner_error .AlertBanner_close {
|
|
421
|
+
color: var(--light-color);
|
|
422
|
+
}
|
|
423
|
+
.AlertBanner_info {
|
|
424
|
+
color: var(--primary-fg-color);
|
|
425
|
+
background-color: var(--primary-bg-color);
|
|
426
|
+
border: 0;
|
|
427
|
+
}
|
|
428
|
+
.AlertBanner_info .AlertBanner_close {
|
|
429
|
+
color: var(--primary-fg-color);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/* src/components/Text.module.css */
|
|
433
|
+
.Text_text {
|
|
434
|
+
color: currentColor;
|
|
435
|
+
line-height: 1.2em;
|
|
436
|
+
}
|
|
437
|
+
.Text_xs {
|
|
438
|
+
font-size: var(--font-size-xs);
|
|
439
|
+
}
|
|
440
|
+
.Text_sm {
|
|
441
|
+
font-size: var(--font-size-sm);
|
|
442
|
+
}
|
|
443
|
+
.Text_md {
|
|
444
|
+
font-size: var(--font-size-md);
|
|
445
|
+
}
|
|
446
|
+
.Text_lg {
|
|
447
|
+
font-size: var(--font-size-lg);
|
|
448
|
+
}
|
|
449
|
+
.Text_xl {
|
|
450
|
+
font-size: var(--font-size-xl);
|
|
451
|
+
}
|
|
452
|
+
.Text_muted {
|
|
453
|
+
color: var(--font-muted-color);
|
|
454
|
+
}
|
|
455
|
+
.Text_faded {
|
|
456
|
+
color: var(--font-faded-color);
|
|
457
|
+
}
|
|
458
|
+
.Text_lighter {
|
|
459
|
+
font-weight: 200;
|
|
460
|
+
}
|
|
461
|
+
.Text_light {
|
|
462
|
+
font-weight: 300;
|
|
463
|
+
}
|
|
464
|
+
.Text_bold {
|
|
465
|
+
font-weight: 700;
|
|
466
|
+
}
|
|
467
|
+
.Text_bolder {
|
|
468
|
+
font-weight: 900;
|
|
469
|
+
}
|
|
470
|
+
.Text_tighter {
|
|
471
|
+
letter-spacing: -0.05em;
|
|
472
|
+
}
|
|
473
|
+
.Text_tight {
|
|
474
|
+
letter-spacing: -0.025em;
|
|
475
|
+
}
|
|
476
|
+
.Text_wide {
|
|
477
|
+
letter-spacing: 0.025em;
|
|
478
|
+
}
|
|
479
|
+
.Text_wider {
|
|
480
|
+
letter-spacing: 0.05em;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/* src/components/form/FormField.module.css */
|
|
484
|
+
.FormField_input {
|
|
485
|
+
display: flex;
|
|
486
|
+
flex-direction: column;
|
|
487
|
+
}
|
|
488
|
+
.FormField_description {
|
|
489
|
+
color: var(--font-muted-color);
|
|
490
|
+
line-height: 1.8rem;
|
|
491
|
+
}
|
|
492
|
+
.FormField_error {
|
|
493
|
+
color: var(--danger-bg-color);
|
|
494
|
+
line-height: 1.8rem;
|
|
495
|
+
font-weight: 600;
|
|
496
|
+
}
|
|
497
|
+
|
|
420
498
|
/* src/components/Button.module.css */
|
|
421
499
|
.Button_button {
|
|
422
500
|
display: flex;
|
|
423
501
|
align-items: center;
|
|
424
502
|
justify-content: center;
|
|
425
503
|
white-space: nowrap;
|
|
426
|
-
gap: var(--gap);
|
|
504
|
+
gap: var(--gap-md);
|
|
427
505
|
font-size: var(--font-size);
|
|
428
506
|
font-family: inherit;
|
|
429
507
|
font-weight: 500;
|
|
@@ -434,6 +512,7 @@
|
|
|
434
512
|
padding: var(--padding);
|
|
435
513
|
position: relative;
|
|
436
514
|
cursor: pointer;
|
|
515
|
+
line-height: 1;
|
|
437
516
|
}
|
|
438
517
|
.Button_button:disabled {
|
|
439
518
|
color: var(--font-muted-color);
|
|
@@ -480,44 +559,193 @@
|
|
|
480
559
|
.Button_button.Button_quiet {
|
|
481
560
|
background: transparent;
|
|
482
561
|
}
|
|
483
|
-
.Button_button.Button_quiet:hover {
|
|
484
|
-
background: var(--secondary-bg-color);
|
|
485
|
-
}
|
|
486
|
-
.Button_button.Button_quiet:active {
|
|
487
|
-
background: color-mix(in srgb, var(--secondary-bg-color), 5% var(--font-color));
|
|
488
|
-
}
|
|
489
|
-
.Button_button.Button_danger {
|
|
490
|
-
color: var(--light-color);
|
|
491
|
-
background: var(--danger-bg-color);
|
|
562
|
+
.Button_button.Button_quiet:hover {
|
|
563
|
+
background: var(--secondary-bg-color);
|
|
564
|
+
}
|
|
565
|
+
.Button_button.Button_quiet:active {
|
|
566
|
+
background: color-mix(in srgb, var(--secondary-bg-color), 5% var(--font-color));
|
|
567
|
+
}
|
|
568
|
+
.Button_button.Button_danger {
|
|
569
|
+
color: var(--light-color);
|
|
570
|
+
background: var(--danger-bg-color);
|
|
571
|
+
}
|
|
572
|
+
.Button_button.Button_danger:hover {
|
|
573
|
+
background: color-mix(in srgb, var(--danger-bg-color), 6% black);
|
|
574
|
+
}
|
|
575
|
+
.Button_button.Button_danger:active {
|
|
576
|
+
background: color-mix(in srgb, var(--danger-bg-color), 12% black);
|
|
577
|
+
}
|
|
578
|
+
.Button_button.Button_danger:disabled {
|
|
579
|
+
color: var(--primary-fg-color);
|
|
580
|
+
background: var(--base-color-500);
|
|
581
|
+
}
|
|
582
|
+
.Button_button.Button_xs {
|
|
583
|
+
font-size: .8rem;
|
|
584
|
+
padding: 0.5rem 0.75rem;
|
|
585
|
+
}
|
|
586
|
+
.Button_button.Button_sm {
|
|
587
|
+
font-size: .9rem;
|
|
588
|
+
padding: 0.5rem 0.75rem;
|
|
589
|
+
}
|
|
590
|
+
.Button_button.Button_md {
|
|
591
|
+
font-size: 1rem;
|
|
592
|
+
padding: 0.75rem 1rem;
|
|
593
|
+
}
|
|
594
|
+
.Button_button.Button_lg {
|
|
595
|
+
font-size: 1.1rem;
|
|
596
|
+
padding: 1rem 1.25rem;
|
|
597
|
+
}
|
|
598
|
+
.Button_button.Button_xl {
|
|
599
|
+
font-size: 1.3rem;
|
|
600
|
+
padding: 1.25rem 1.5rem;
|
|
601
|
+
}
|
|
602
|
+
.Button_button a {
|
|
603
|
+
color: inherit;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/* src/components/Spinner.module.css */
|
|
607
|
+
.Spinner_spinner {
|
|
608
|
+
position: relative;
|
|
609
|
+
display: inline-flex;
|
|
610
|
+
justify-content: center;
|
|
611
|
+
align-items: center;
|
|
612
|
+
}
|
|
613
|
+
.Spinner_spinner svg {
|
|
614
|
+
fill: none;
|
|
615
|
+
font-size: 16px;
|
|
616
|
+
stroke-width: 0.15em;
|
|
617
|
+
transform-origin: center center;
|
|
618
|
+
animation: Spinner_spinner-rotate 1.6s linear infinite;
|
|
619
|
+
}
|
|
620
|
+
.Spinner_track {
|
|
621
|
+
stroke: var(--input-bg-color);
|
|
622
|
+
}
|
|
623
|
+
.Spinner_fill {
|
|
624
|
+
stroke: var(--primary-bg-color);
|
|
625
|
+
stroke-linecap: square;
|
|
626
|
+
stroke-dasharray: 1, 200;
|
|
627
|
+
stroke-dashoffset: 0;
|
|
628
|
+
animation: Spinner_spinner-dash 1.2s ease-in-out infinite;
|
|
629
|
+
}
|
|
630
|
+
.Spinner_size-sm svg {
|
|
631
|
+
width: 16px;
|
|
632
|
+
height: 16px;
|
|
633
|
+
}
|
|
634
|
+
.Spinner_size-md svg {
|
|
635
|
+
width: 24px;
|
|
636
|
+
height: 24px;
|
|
637
|
+
}
|
|
638
|
+
.Spinner_size-lg svg {
|
|
639
|
+
width: 32px;
|
|
640
|
+
height: 32px;
|
|
641
|
+
}
|
|
642
|
+
.Spinner_size-xl svg {
|
|
643
|
+
width: 64px;
|
|
644
|
+
height: 64px;
|
|
645
|
+
}
|
|
646
|
+
.Spinner_quiet .Spinner_track {
|
|
647
|
+
display: none;
|
|
648
|
+
}
|
|
649
|
+
@keyframes Spinner_spinner-rotate {
|
|
650
|
+
0% {
|
|
651
|
+
transform: rotate(0deg);
|
|
652
|
+
}
|
|
653
|
+
100% {
|
|
654
|
+
transform: rotate(360deg);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
@keyframes Spinner_spinner-dash {
|
|
658
|
+
0% {
|
|
659
|
+
stroke-dasharray: 1, 200;
|
|
660
|
+
stroke-dashoffset: 0;
|
|
661
|
+
}
|
|
662
|
+
50% {
|
|
663
|
+
stroke-dasharray: 89, 200;
|
|
664
|
+
stroke-dashoffset: -35;
|
|
665
|
+
}
|
|
666
|
+
100% {
|
|
667
|
+
stroke-dasharray: 89, 200;
|
|
668
|
+
stroke-dashoffset: -124;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/* src/components/Accordion.module.css */
|
|
673
|
+
.Accordion_accordion {
|
|
674
|
+
width: 100%;
|
|
675
|
+
background-color: var(--background-color);
|
|
676
|
+
}
|
|
677
|
+
.Accordion_item {
|
|
678
|
+
overflow: hidden;
|
|
679
|
+
border-bottom: var(--border);
|
|
680
|
+
padding-bottom: var(--spacing-5);
|
|
681
|
+
}
|
|
682
|
+
.Accordion_item[data-state=closed] {
|
|
683
|
+
padding: 0;
|
|
684
|
+
}
|
|
685
|
+
.Accordion_header {
|
|
686
|
+
display: flex;
|
|
687
|
+
align-items: center;
|
|
688
|
+
font-size: var(--font-size-lg);
|
|
689
|
+
}
|
|
690
|
+
.Accordion_trigger {
|
|
691
|
+
font-size: inherit;
|
|
692
|
+
font-weight: 700;
|
|
693
|
+
display: flex;
|
|
694
|
+
align-items: center;
|
|
695
|
+
justify-content: space-between;
|
|
696
|
+
color: var(--font-color);
|
|
697
|
+
flex: 1;
|
|
698
|
+
border: 0;
|
|
699
|
+
background: transparent;
|
|
700
|
+
padding: 0;
|
|
701
|
+
cursor: pointer;
|
|
702
|
+
}
|
|
703
|
+
.Accordion_content {
|
|
704
|
+
overflow: hidden;
|
|
492
705
|
}
|
|
493
|
-
.
|
|
494
|
-
|
|
706
|
+
.Accordion_content[data-state=open] {
|
|
707
|
+
animation: Accordion_accordion-slide-down 200ms ease-out;
|
|
495
708
|
}
|
|
496
|
-
.
|
|
497
|
-
|
|
709
|
+
.Accordion_content[data-state=closed] {
|
|
710
|
+
animation: Accordion_accordion-slide-up 200ms ease-out;
|
|
498
711
|
}
|
|
499
|
-
.
|
|
500
|
-
|
|
501
|
-
background: var(--base-color-500);
|
|
712
|
+
.Accordion_icon {
|
|
713
|
+
transform: rotate(90deg);
|
|
502
714
|
}
|
|
503
|
-
.
|
|
504
|
-
|
|
505
|
-
padding: 0.5rem 0.75rem;
|
|
715
|
+
.Accordion_trigger[data-state=open] > .Accordion_icon {
|
|
716
|
+
transform: rotate(-90deg);
|
|
506
717
|
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
718
|
+
@keyframes Accordion_accordion-slide-down {
|
|
719
|
+
from {
|
|
720
|
+
height: 0;
|
|
721
|
+
}
|
|
722
|
+
to {
|
|
723
|
+
height: var(--radix-accordion-content-height);
|
|
724
|
+
}
|
|
510
725
|
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
726
|
+
@keyframes Accordion_accordion-slide-up {
|
|
727
|
+
from {
|
|
728
|
+
height: var(--radix-accordion-content-height);
|
|
729
|
+
}
|
|
730
|
+
to {
|
|
731
|
+
height: 0;
|
|
732
|
+
}
|
|
514
733
|
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
734
|
+
|
|
735
|
+
/* src/components/Dialog.module.css */
|
|
736
|
+
.Dialog_dialog {
|
|
737
|
+
position: relative;
|
|
738
|
+
padding: var(--spacing-6);
|
|
739
|
+
box-shadow: var(--box-shadow-4);
|
|
740
|
+
background: var(--background-color);
|
|
741
|
+
border: var(--border);
|
|
742
|
+
border-radius: var(--border-radius);
|
|
743
|
+
outline: none;
|
|
518
744
|
}
|
|
519
|
-
.
|
|
520
|
-
|
|
745
|
+
.Dialog_title {
|
|
746
|
+
font-size: var(--font-size-lg);
|
|
747
|
+
font-weight: 700;
|
|
748
|
+
margin-bottom: var(--spacing-3);
|
|
521
749
|
}
|
|
522
750
|
|
|
523
751
|
/* src/components/AlertDialog.module.css */
|
|
@@ -617,7 +845,7 @@
|
|
|
617
845
|
display: flex;
|
|
618
846
|
flex-direction: row;
|
|
619
847
|
align-items: center;
|
|
620
|
-
gap: var(--
|
|
848
|
+
gap: var(--gap-md);
|
|
621
849
|
color: var(--font-color);
|
|
622
850
|
}
|
|
623
851
|
.Checkbox_box {
|
|
@@ -686,7 +914,7 @@
|
|
|
686
914
|
min-width: 100px;
|
|
687
915
|
border: var(--border);
|
|
688
916
|
border-radius: var(--border-radius);
|
|
689
|
-
box-shadow: var(--box-shadow
|
|
917
|
+
box-shadow: var(--box-shadow);
|
|
690
918
|
}
|
|
691
919
|
.List_separator {
|
|
692
920
|
border-bottom: var(--border);
|
|
@@ -735,7 +963,7 @@
|
|
|
735
963
|
color: var(--font-color);
|
|
736
964
|
border: var(--border);
|
|
737
965
|
border-radius: var(--border-radius);
|
|
738
|
-
box-shadow: var(--box-shadow
|
|
966
|
+
box-shadow: var(--box-shadow);
|
|
739
967
|
}
|
|
740
968
|
.Combobox_input {
|
|
741
969
|
background: none;
|
|
@@ -778,108 +1006,68 @@
|
|
|
778
1006
|
}
|
|
779
1007
|
}
|
|
780
1008
|
|
|
781
|
-
/* src/components/
|
|
782
|
-
.
|
|
783
|
-
|
|
784
|
-
align-items: center;
|
|
785
|
-
border: var(--border);
|
|
786
|
-
border-radius: var(--border-radius);
|
|
787
|
-
background: var(--background-color);
|
|
788
|
-
box-shadow: var(--box-shadow-);
|
|
1009
|
+
/* src/components/Input.module.css */
|
|
1010
|
+
.Input_field,
|
|
1011
|
+
.Input_row {
|
|
789
1012
|
position: relative;
|
|
790
1013
|
}
|
|
791
|
-
.
|
|
792
|
-
.
|
|
1014
|
+
.Input_field[data-readonly] .Input_input,
|
|
1015
|
+
.Input_field[data-disabled] .Input_input {
|
|
793
1016
|
background: var(--input-disabled-color);
|
|
794
1017
|
}
|
|
795
|
-
.
|
|
1018
|
+
.Input_label {
|
|
1019
|
+
color: var(--base-color-800);
|
|
1020
|
+
font-weight: 700;
|
|
1021
|
+
display: block;
|
|
1022
|
+
align-items: center;
|
|
1023
|
+
justify-content: flex-start;
|
|
1024
|
+
line-height: 2rem;
|
|
1025
|
+
}
|
|
1026
|
+
.Input_input {
|
|
1027
|
+
border: var(--border);
|
|
1028
|
+
border-radius: var(--border-radius);
|
|
1029
|
+
background: var(--background-color);
|
|
1030
|
+
box-shadow: var(--box-shadow);
|
|
796
1031
|
color: var(--font-color);
|
|
797
|
-
border: 0;
|
|
798
|
-
background: transparent;
|
|
799
1032
|
padding: var(--padding);
|
|
800
1033
|
line-height: 1.5rem;
|
|
801
|
-
|
|
1034
|
+
width: 100%;
|
|
1035
|
+
}
|
|
1036
|
+
.Input_input:focus {
|
|
1037
|
+
border-color: transparent;
|
|
1038
|
+
outline: var(--outline);
|
|
802
1039
|
}
|
|
803
|
-
.
|
|
1040
|
+
.Input_input::placeholder {
|
|
804
1041
|
color: var(--font-muted-color);
|
|
805
1042
|
}
|
|
806
|
-
.
|
|
1043
|
+
.Input_input:disabled {
|
|
807
1044
|
color: var(--font-muted-color);
|
|
808
1045
|
}
|
|
809
|
-
.
|
|
810
|
-
.
|
|
1046
|
+
.Input_input::-webkit-search-cancel-button,
|
|
1047
|
+
.Input_input::-webkit-search-decoration {
|
|
811
1048
|
-webkit-appearance: none;
|
|
812
1049
|
}
|
|
813
|
-
.
|
|
814
|
-
color: var(--font-muted-color);
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
/* src/components/TextField.module.css */
|
|
818
|
-
.TextField_copy {
|
|
819
|
-
position: absolute;
|
|
820
|
-
top: 9px;
|
|
821
|
-
right: 9px;
|
|
1050
|
+
.Input_icon {
|
|
822
1051
|
color: var(--font-muted-color);
|
|
823
1052
|
background: var(--background-color);
|
|
824
1053
|
}
|
|
825
|
-
.
|
|
1054
|
+
.Input_icon:hover {
|
|
826
1055
|
color: var(--font-color);
|
|
827
1056
|
cursor: pointer;
|
|
828
1057
|
}
|
|
1058
|
+
|
|
1059
|
+
/* src/components/TextField.module.css */
|
|
829
1060
|
.TextField_textarea {
|
|
830
1061
|
min-height: 60px;
|
|
831
1062
|
min-width: 140px;
|
|
832
1063
|
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
.Text_text {
|
|
836
|
-
color: currentColor;
|
|
837
|
-
line-height: 1.2em;
|
|
838
|
-
}
|
|
839
|
-
.Text_xs {
|
|
840
|
-
font-size: var(--font-size-xs);
|
|
841
|
-
}
|
|
842
|
-
.Text_sm {
|
|
843
|
-
font-size: var(--font-size-sm);
|
|
844
|
-
}
|
|
845
|
-
.Text_md {
|
|
846
|
-
font-size: var(--font-size-md);
|
|
847
|
-
}
|
|
848
|
-
.Text_lg {
|
|
849
|
-
font-size: var(--font-size-lg);
|
|
850
|
-
}
|
|
851
|
-
.Text_xl {
|
|
852
|
-
font-size: var(--font-size-xl);
|
|
853
|
-
}
|
|
854
|
-
.Text_muted {
|
|
855
|
-
color: var(--font-muted-color);
|
|
856
|
-
}
|
|
857
|
-
.Text_faded {
|
|
858
|
-
color: var(--font-faded-color);
|
|
859
|
-
}
|
|
860
|
-
.Text_lighter {
|
|
861
|
-
font-weight: 200;
|
|
862
|
-
}
|
|
863
|
-
.Text_light {
|
|
864
|
-
font-weight: 300;
|
|
865
|
-
}
|
|
866
|
-
.Text_bold {
|
|
867
|
-
font-weight: 700;
|
|
868
|
-
}
|
|
869
|
-
.Text_bolder {
|
|
870
|
-
font-weight: 900;
|
|
871
|
-
}
|
|
872
|
-
.Text_tighter {
|
|
873
|
-
letter-spacing: -0.05em;
|
|
874
|
-
}
|
|
875
|
-
.Text_tight {
|
|
876
|
-
letter-spacing: -0.025em;
|
|
877
|
-
}
|
|
878
|
-
.Text_wide {
|
|
879
|
-
letter-spacing: 0.025em;
|
|
1064
|
+
.TextField_allowCopy {
|
|
1065
|
+
padding-right: 32px;
|
|
880
1066
|
}
|
|
881
|
-
.
|
|
882
|
-
|
|
1067
|
+
.TextField_icon {
|
|
1068
|
+
position: absolute;
|
|
1069
|
+
top: 9px;
|
|
1070
|
+
right: 9px;
|
|
883
1071
|
}
|
|
884
1072
|
|
|
885
1073
|
/* src/components/ConfirmationDialog.module.css */
|
|
@@ -1042,72 +1230,6 @@
|
|
|
1042
1230
|
font-weight: 700;
|
|
1043
1231
|
}
|
|
1044
1232
|
|
|
1045
|
-
/* src/components/Spinner.module.css */
|
|
1046
|
-
.Spinner_spinner {
|
|
1047
|
-
position: relative;
|
|
1048
|
-
display: inline-flex;
|
|
1049
|
-
justify-content: center;
|
|
1050
|
-
align-items: center;
|
|
1051
|
-
}
|
|
1052
|
-
.Spinner_spinner svg {
|
|
1053
|
-
fill: none;
|
|
1054
|
-
font-size: 16px;
|
|
1055
|
-
stroke-width: 0.15em;
|
|
1056
|
-
transform-origin: center center;
|
|
1057
|
-
animation: Spinner_spinner-rotate 1.6s linear infinite;
|
|
1058
|
-
}
|
|
1059
|
-
.Spinner_track {
|
|
1060
|
-
stroke: var(--input-bg-color);
|
|
1061
|
-
}
|
|
1062
|
-
.Spinner_fill {
|
|
1063
|
-
stroke: var(--primary-bg-color);
|
|
1064
|
-
stroke-linecap: square;
|
|
1065
|
-
stroke-dasharray: 1, 200;
|
|
1066
|
-
stroke-dashoffset: 0;
|
|
1067
|
-
animation: Spinner_spinner-dash 1.2s ease-in-out infinite;
|
|
1068
|
-
}
|
|
1069
|
-
.Spinner_size-sm svg {
|
|
1070
|
-
width: 16px;
|
|
1071
|
-
height: 16px;
|
|
1072
|
-
}
|
|
1073
|
-
.Spinner_size-md svg {
|
|
1074
|
-
width: 24px;
|
|
1075
|
-
height: 24px;
|
|
1076
|
-
}
|
|
1077
|
-
.Spinner_size-lg svg {
|
|
1078
|
-
width: 32px;
|
|
1079
|
-
height: 32px;
|
|
1080
|
-
}
|
|
1081
|
-
.Spinner_size-xl svg {
|
|
1082
|
-
width: 64px;
|
|
1083
|
-
height: 64px;
|
|
1084
|
-
}
|
|
1085
|
-
.Spinner_quiet .Spinner_track {
|
|
1086
|
-
display: none;
|
|
1087
|
-
}
|
|
1088
|
-
@keyframes Spinner_spinner-rotate {
|
|
1089
|
-
0% {
|
|
1090
|
-
transform: rotate(0deg);
|
|
1091
|
-
}
|
|
1092
|
-
100% {
|
|
1093
|
-
transform: rotate(360deg);
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
@keyframes Spinner_spinner-dash {
|
|
1097
|
-
0% {
|
|
1098
|
-
stroke-dasharray: 1, 200;
|
|
1099
|
-
stroke-dashoffset: 0;
|
|
1100
|
-
}
|
|
1101
|
-
50% {
|
|
1102
|
-
stroke-dasharray: 89, 200;
|
|
1103
|
-
stroke-dashoffset: -35;
|
|
1104
|
-
}
|
|
1105
|
-
100% {
|
|
1106
|
-
stroke-dasharray: 89, 200;
|
|
1107
|
-
stroke-dashoffset: -124;
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
1233
|
/* src/components/Loading.module.css */
|
|
1112
1234
|
.Loading_loading {
|
|
1113
1235
|
position: relative;
|
|
@@ -1143,6 +1265,7 @@
|
|
|
1143
1265
|
border-radius: var(--border-radius);
|
|
1144
1266
|
gap: var(--gap);
|
|
1145
1267
|
cursor: pointer;
|
|
1268
|
+
outline: none;
|
|
1146
1269
|
}
|
|
1147
1270
|
.MenuItem_item:hover {
|
|
1148
1271
|
background: var(--highlight-bg-color);
|
|
@@ -1164,7 +1287,7 @@
|
|
|
1164
1287
|
border: var(--border);
|
|
1165
1288
|
border-radius: var(--border-radius);
|
|
1166
1289
|
padding: var(--spacing-2);
|
|
1167
|
-
box-shadow: var(--box-shadow
|
|
1290
|
+
box-shadow: var(--box-shadow);
|
|
1168
1291
|
background: var(--background-color);
|
|
1169
1292
|
}
|
|
1170
1293
|
.Menu_separator {
|
|
@@ -1213,36 +1336,10 @@
|
|
|
1213
1336
|
}
|
|
1214
1337
|
|
|
1215
1338
|
/* src/components/PasswordField.module.css */
|
|
1216
|
-
.PasswordField_field {
|
|
1217
|
-
display: flex;
|
|
1218
|
-
align-items: center;
|
|
1219
|
-
border: var(--border);
|
|
1220
|
-
border-radius: var(--border-radius);
|
|
1221
|
-
background: var(--background-color);
|
|
1222
|
-
box-shadow: var(--box-shadow-);
|
|
1223
|
-
gap: var(--spacing-2);
|
|
1224
|
-
position: relative;
|
|
1225
|
-
}
|
|
1226
|
-
.PasswordField_field[data-readonly],
|
|
1227
|
-
.PasswordField_field[data-disabled] {
|
|
1228
|
-
background: var(--background-color);
|
|
1229
|
-
}
|
|
1230
|
-
.PasswordField_input {
|
|
1231
|
-
color: var(--font-color);
|
|
1232
|
-
border: 0;
|
|
1233
|
-
background: transparent;
|
|
1234
|
-
padding: var(--padding);
|
|
1235
|
-
line-height: 1.5rem;
|
|
1236
|
-
}
|
|
1237
|
-
.PasswordField_input::placeholder {
|
|
1238
|
-
color: var(--font-muted-color);
|
|
1239
|
-
}
|
|
1240
|
-
.PasswordField_input:disabled {
|
|
1241
|
-
color: var(--font-muted-color);
|
|
1242
|
-
}
|
|
1243
1339
|
.PasswordField_icon {
|
|
1244
|
-
|
|
1245
|
-
|
|
1340
|
+
position: absolute;
|
|
1341
|
+
top: 9px;
|
|
1342
|
+
right: 9px;
|
|
1246
1343
|
}
|
|
1247
1344
|
|
|
1248
1345
|
/* src/components/Page.module.css */
|
|
@@ -1337,7 +1434,7 @@
|
|
|
1337
1434
|
background: var(--background-color);
|
|
1338
1435
|
border-radius: 20px;
|
|
1339
1436
|
transition: all 200ms;
|
|
1340
|
-
box-shadow: var(--box-shadow
|
|
1437
|
+
box-shadow: var(--box-shadow);
|
|
1341
1438
|
}
|
|
1342
1439
|
.RadioGroup_radio[data-pressed]:before {
|
|
1343
1440
|
border-color: var(--border-color);
|
|
@@ -1357,24 +1454,25 @@
|
|
|
1357
1454
|
}
|
|
1358
1455
|
|
|
1359
1456
|
/* src/components/SearchField.module.css */
|
|
1360
|
-
.
|
|
1361
|
-
|
|
1457
|
+
.SearchField_search {
|
|
1458
|
+
position: absolute;
|
|
1459
|
+
top: 12px;
|
|
1460
|
+
left: 9px;
|
|
1362
1461
|
}
|
|
1363
|
-
.
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1462
|
+
.SearchField_input {
|
|
1463
|
+
padding-left: 28px;
|
|
1464
|
+
padding-right: 24px;
|
|
1465
|
+
}
|
|
1466
|
+
.SearchField_close {
|
|
1467
|
+
position: absolute;
|
|
1468
|
+
top: 9px;
|
|
1469
|
+
right: 0;
|
|
1368
1470
|
border: none;
|
|
1369
1471
|
background: none;
|
|
1370
|
-
cursor: pointer;
|
|
1371
1472
|
border-radius: var(--border-radius-full);
|
|
1372
1473
|
padding: 0;
|
|
1373
1474
|
margin: 0 var(--spacing-2);
|
|
1374
1475
|
}
|
|
1375
|
-
.SearchField_button:hover {
|
|
1376
|
-
color: var(--font-color);
|
|
1377
|
-
}
|
|
1378
1476
|
|
|
1379
1477
|
/* src/components/Select.module.css */
|
|
1380
1478
|
.Select_select {
|
|
@@ -1382,7 +1480,7 @@
|
|
|
1382
1480
|
align-items: center;
|
|
1383
1481
|
color: var(--font-color);
|
|
1384
1482
|
background: var(--background-color);
|
|
1385
|
-
box-shadow: var(--box-shadow
|
|
1483
|
+
box-shadow: var(--box-shadow);
|
|
1386
1484
|
}
|
|
1387
1485
|
.Select_button {
|
|
1388
1486
|
display: flex;
|
|
@@ -1793,7 +1891,7 @@
|
|
|
1793
1891
|
.ToggleGroup_group {
|
|
1794
1892
|
display: inline-flex;
|
|
1795
1893
|
background-color: var(--background-color);
|
|
1796
|
-
box-shadow: var(--box-shadow
|
|
1894
|
+
box-shadow: var(--box-shadow);
|
|
1797
1895
|
border: var(--border);
|
|
1798
1896
|
border-radius: var(--border-radius);
|
|
1799
1897
|
overflow: hidden;
|