@umami/react-zen 0.5.0 → 0.7.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 +391 -360
- package/dist/index.d.ts +747 -694
- package/dist/index.js +3863 -2072
- package/dist/index.mjs +3604 -1813
- package/dist/zen.css +4 -3
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -1,152 +1,20 @@
|
|
|
1
|
-
/* src/components/
|
|
2
|
-
.
|
|
3
|
-
display: inline-block;
|
|
4
|
-
fill: currentColor;
|
|
5
|
-
}
|
|
6
|
-
.Icon_xs {
|
|
7
|
-
width: 12px;
|
|
8
|
-
height: 12px;
|
|
9
|
-
}
|
|
10
|
-
.Icon_sm {
|
|
11
|
-
width: 16px;
|
|
12
|
-
height: 16px;
|
|
13
|
-
}
|
|
14
|
-
.Icon_md {
|
|
15
|
-
width: 24px;
|
|
16
|
-
height: 24px;
|
|
17
|
-
}
|
|
18
|
-
.Icon_lg {
|
|
19
|
-
width: 32px;
|
|
20
|
-
height: 32px;
|
|
21
|
-
}
|
|
22
|
-
.Icon_xl {
|
|
23
|
-
width: 48px;
|
|
24
|
-
height: 48px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* src/components/Accordion.module.css */
|
|
28
|
-
.Accordion_accordion {
|
|
29
|
-
width: 100%;
|
|
30
|
-
background-color: var(--background-color);
|
|
31
|
-
}
|
|
32
|
-
.Accordion_item {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
border-bottom: var(--border);
|
|
35
|
-
padding-bottom: var(--spacing-5);
|
|
36
|
-
}
|
|
37
|
-
.Accordion_item[data-state=closed] {
|
|
38
|
-
padding: 0;
|
|
39
|
-
}
|
|
40
|
-
.Accordion_header {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
font-size: var(--font-size-lg);
|
|
44
|
-
}
|
|
45
|
-
.Accordion_trigger {
|
|
46
|
-
font-size: inherit;
|
|
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;
|
|
60
|
-
}
|
|
61
|
-
.Accordion_content[data-state=open] {
|
|
62
|
-
animation: Accordion_accordion-slide-down 200ms ease-out;
|
|
63
|
-
}
|
|
64
|
-
.Accordion_content[data-state=closed] {
|
|
65
|
-
animation: Accordion_accordion-slide-up 200ms ease-out;
|
|
66
|
-
}
|
|
67
|
-
.Accordion_icon {
|
|
68
|
-
transform: rotate(90deg);
|
|
69
|
-
}
|
|
70
|
-
.Accordion_trigger[data-state=open] > .Accordion_icon {
|
|
71
|
-
transform: rotate(-90deg);
|
|
72
|
-
}
|
|
73
|
-
@keyframes Accordion_accordion-slide-down {
|
|
74
|
-
from {
|
|
75
|
-
height: 0;
|
|
76
|
-
}
|
|
77
|
-
to {
|
|
78
|
-
height: var(--radix-accordion-content-height);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
@keyframes Accordion_accordion-slide-up {
|
|
82
|
-
from {
|
|
83
|
-
height: var(--radix-accordion-content-height);
|
|
84
|
-
}
|
|
85
|
-
to {
|
|
86
|
-
height: 0;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/* src/components/AlertBanner.module.css */
|
|
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);
|
|
103
|
-
}
|
|
104
|
-
.AlertBanner_message {
|
|
1
|
+
/* src/components/form/Form.module.css */
|
|
2
|
+
.Form_form {
|
|
105
3
|
display: flex;
|
|
106
4
|
flex-direction: column;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.AlertBanner_title {
|
|
110
|
-
font-weight: 700;
|
|
111
|
-
}
|
|
112
|
-
.AlertBanner_close {
|
|
113
|
-
color: var(--font-muted-color);
|
|
114
|
-
}
|
|
115
|
-
.AlertBanner_close:hover {
|
|
116
|
-
color: var(--font-color);
|
|
117
|
-
cursor: pointer;
|
|
118
|
-
}
|
|
119
|
-
.AlertBanner_error {
|
|
120
|
-
color: var(--light-color);
|
|
121
|
-
background-color: var(--danger-bg-color);
|
|
122
|
-
border: 0;
|
|
123
|
-
}
|
|
124
|
-
.AlertBanner_error .AlertBanner_close {
|
|
125
|
-
color: var(--light-color);
|
|
126
|
-
}
|
|
127
|
-
.AlertBanner_info {
|
|
128
|
-
color: var(--primary-fg-color);
|
|
129
|
-
background-color: var(--primary-bg-color);
|
|
130
|
-
border: 0;
|
|
5
|
+
gap: var(--gap-md);
|
|
6
|
+
width: 100%;
|
|
131
7
|
}
|
|
132
|
-
.
|
|
133
|
-
|
|
8
|
+
.Form_text {
|
|
9
|
+
text-align: center;
|
|
10
|
+
margin: auto;
|
|
134
11
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
.Dialog_dialog {
|
|
138
|
-
position: relative;
|
|
139
|
-
padding: var(--spacing-6);
|
|
140
|
-
box-shadow: var(--box-shadow-4);
|
|
141
|
-
background: var(--background-color);
|
|
142
|
-
border: var(--border);
|
|
143
|
-
border-radius: var(--border-radius);
|
|
144
|
-
outline: none;
|
|
12
|
+
.Form_icon {
|
|
13
|
+
align-self: flex-start;
|
|
145
14
|
}
|
|
146
|
-
.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
margin-bottom: var(--spacing-3);
|
|
15
|
+
.Form_error {
|
|
16
|
+
margin: 0 auto var(--size-600) auto;
|
|
17
|
+
overflow: auto;
|
|
150
18
|
}
|
|
151
19
|
|
|
152
20
|
/* src/components/Box.module.css */
|
|
@@ -165,6 +33,15 @@
|
|
|
165
33
|
.Box_font-size-xl {
|
|
166
34
|
font-size: var(--font-size-xl);
|
|
167
35
|
}
|
|
36
|
+
.Box_border-thin {
|
|
37
|
+
border-radius: var(--border-thin);
|
|
38
|
+
}
|
|
39
|
+
.Box_border-medium {
|
|
40
|
+
border-radius: var(--border-medium);
|
|
41
|
+
}
|
|
42
|
+
.Box_border-thick {
|
|
43
|
+
border-radius: var(--border-thick);
|
|
44
|
+
}
|
|
168
45
|
.Box_border-radius-sm {
|
|
169
46
|
border-radius: var(--border-radius-sm);
|
|
170
47
|
}
|
|
@@ -480,13 +357,151 @@
|
|
|
480
357
|
gap: var(--spacing-12);
|
|
481
358
|
}
|
|
482
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
|
+
|
|
483
498
|
/* src/components/Button.module.css */
|
|
484
499
|
.Button_button {
|
|
485
500
|
display: flex;
|
|
486
501
|
align-items: center;
|
|
487
502
|
justify-content: center;
|
|
488
503
|
white-space: nowrap;
|
|
489
|
-
gap: var(--gap);
|
|
504
|
+
gap: var(--gap-md);
|
|
490
505
|
font-size: var(--font-size);
|
|
491
506
|
font-family: inherit;
|
|
492
507
|
font-weight: 500;
|
|
@@ -497,6 +512,7 @@
|
|
|
497
512
|
padding: var(--padding);
|
|
498
513
|
position: relative;
|
|
499
514
|
cursor: pointer;
|
|
515
|
+
line-height: 1;
|
|
500
516
|
}
|
|
501
517
|
.Button_button:disabled {
|
|
502
518
|
color: var(--font-muted-color);
|
|
@@ -553,38 +569,183 @@
|
|
|
553
569
|
color: var(--light-color);
|
|
554
570
|
background: var(--danger-bg-color);
|
|
555
571
|
}
|
|
556
|
-
.Button_button.Button_danger:hover {
|
|
557
|
-
background: color-mix(in srgb, var(--danger-bg-color), 6% black);
|
|
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;
|
|
558
705
|
}
|
|
559
|
-
.
|
|
560
|
-
|
|
706
|
+
.Accordion_content[data-state=open] {
|
|
707
|
+
animation: Accordion_accordion-slide-down 200ms ease-out;
|
|
561
708
|
}
|
|
562
|
-
.
|
|
563
|
-
|
|
564
|
-
background: var(--base-color-500);
|
|
709
|
+
.Accordion_content[data-state=closed] {
|
|
710
|
+
animation: Accordion_accordion-slide-up 200ms ease-out;
|
|
565
711
|
}
|
|
566
|
-
.
|
|
567
|
-
|
|
568
|
-
padding: 0.5rem 0.75rem;
|
|
712
|
+
.Accordion_icon {
|
|
713
|
+
transform: rotate(90deg);
|
|
569
714
|
}
|
|
570
|
-
.
|
|
571
|
-
|
|
572
|
-
padding: 0.5rem 0.75rem;
|
|
715
|
+
.Accordion_trigger[data-state=open] > .Accordion_icon {
|
|
716
|
+
transform: rotate(-90deg);
|
|
573
717
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
718
|
+
@keyframes Accordion_accordion-slide-down {
|
|
719
|
+
from {
|
|
720
|
+
height: 0;
|
|
721
|
+
}
|
|
722
|
+
to {
|
|
723
|
+
height: var(--radix-accordion-content-height);
|
|
724
|
+
}
|
|
577
725
|
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
726
|
+
@keyframes Accordion_accordion-slide-up {
|
|
727
|
+
from {
|
|
728
|
+
height: var(--radix-accordion-content-height);
|
|
729
|
+
}
|
|
730
|
+
to {
|
|
731
|
+
height: 0;
|
|
732
|
+
}
|
|
581
733
|
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
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;
|
|
585
744
|
}
|
|
586
|
-
.
|
|
587
|
-
|
|
745
|
+
.Dialog_title {
|
|
746
|
+
font-size: var(--font-size-lg);
|
|
747
|
+
font-weight: 700;
|
|
748
|
+
margin-bottom: var(--spacing-3);
|
|
588
749
|
}
|
|
589
750
|
|
|
590
751
|
/* src/components/AlertDialog.module.css */
|
|
@@ -684,7 +845,7 @@
|
|
|
684
845
|
display: flex;
|
|
685
846
|
flex-direction: row;
|
|
686
847
|
align-items: center;
|
|
687
|
-
gap: var(--
|
|
848
|
+
gap: var(--gap-md);
|
|
688
849
|
color: var(--font-color);
|
|
689
850
|
}
|
|
690
851
|
.Checkbox_box {
|
|
@@ -733,6 +894,7 @@
|
|
|
733
894
|
gap: var(--gap);
|
|
734
895
|
min-width: 120px;
|
|
735
896
|
cursor: pointer;
|
|
897
|
+
outline: none;
|
|
736
898
|
}
|
|
737
899
|
.ListItem_item:hover {
|
|
738
900
|
background: var(--highlight-bg-color);
|
|
@@ -753,7 +915,7 @@
|
|
|
753
915
|
min-width: 100px;
|
|
754
916
|
border: var(--border);
|
|
755
917
|
border-radius: var(--border-radius);
|
|
756
|
-
box-shadow: var(--box-shadow
|
|
918
|
+
box-shadow: var(--box-shadow);
|
|
757
919
|
}
|
|
758
920
|
.List_separator {
|
|
759
921
|
border-bottom: var(--border);
|
|
@@ -802,7 +964,7 @@
|
|
|
802
964
|
color: var(--font-color);
|
|
803
965
|
border: var(--border);
|
|
804
966
|
border-radius: var(--border-radius);
|
|
805
|
-
box-shadow: var(--box-shadow
|
|
967
|
+
box-shadow: var(--box-shadow);
|
|
806
968
|
}
|
|
807
969
|
.Combobox_input {
|
|
808
970
|
background: none;
|
|
@@ -845,109 +1007,68 @@
|
|
|
845
1007
|
}
|
|
846
1008
|
}
|
|
847
1009
|
|
|
848
|
-
/* src/components/
|
|
849
|
-
.
|
|
850
|
-
|
|
851
|
-
align-items: center;
|
|
852
|
-
border: var(--border);
|
|
853
|
-
border-radius: var(--border-radius);
|
|
854
|
-
background: var(--background-color);
|
|
855
|
-
box-shadow: var(--box-shadow-);
|
|
1010
|
+
/* src/components/Input.module.css */
|
|
1011
|
+
.Input_field,
|
|
1012
|
+
.Input_row {
|
|
856
1013
|
position: relative;
|
|
857
1014
|
}
|
|
858
|
-
.
|
|
859
|
-
.
|
|
1015
|
+
.Input_field[data-readonly] .Input_input,
|
|
1016
|
+
.Input_field[data-disabled] .Input_input {
|
|
860
1017
|
background: var(--input-disabled-color);
|
|
861
1018
|
}
|
|
862
|
-
.
|
|
1019
|
+
.Input_label {
|
|
1020
|
+
color: var(--base-color-800);
|
|
1021
|
+
font-weight: 700;
|
|
1022
|
+
display: block;
|
|
1023
|
+
align-items: center;
|
|
1024
|
+
justify-content: flex-start;
|
|
1025
|
+
line-height: 2rem;
|
|
1026
|
+
}
|
|
1027
|
+
.Input_input {
|
|
1028
|
+
border: var(--border);
|
|
1029
|
+
border-radius: var(--border-radius);
|
|
1030
|
+
background: var(--background-color);
|
|
1031
|
+
box-shadow: var(--box-shadow);
|
|
863
1032
|
color: var(--font-color);
|
|
864
|
-
border: 0;
|
|
865
|
-
background: transparent;
|
|
866
1033
|
padding: var(--padding);
|
|
867
1034
|
line-height: 1.5rem;
|
|
868
|
-
|
|
869
|
-
outline: none;
|
|
1035
|
+
width: 100%;
|
|
870
1036
|
}
|
|
871
|
-
.
|
|
1037
|
+
.Input_input:focus {
|
|
1038
|
+
border-color: transparent;
|
|
1039
|
+
outline: var(--outline);
|
|
1040
|
+
}
|
|
1041
|
+
.Input_input::placeholder {
|
|
872
1042
|
color: var(--font-muted-color);
|
|
873
1043
|
}
|
|
874
|
-
.
|
|
1044
|
+
.Input_input:disabled {
|
|
875
1045
|
color: var(--font-muted-color);
|
|
876
1046
|
}
|
|
877
|
-
.
|
|
878
|
-
.
|
|
1047
|
+
.Input_input::-webkit-search-cancel-button,
|
|
1048
|
+
.Input_input::-webkit-search-decoration {
|
|
879
1049
|
-webkit-appearance: none;
|
|
880
1050
|
}
|
|
881
|
-
.
|
|
882
|
-
color: var(--font-muted-color);
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
/* src/components/TextField.module.css */
|
|
886
|
-
.TextField_copy {
|
|
887
|
-
position: absolute;
|
|
888
|
-
top: 9px;
|
|
889
|
-
right: 9px;
|
|
1051
|
+
.Input_icon {
|
|
890
1052
|
color: var(--font-muted-color);
|
|
891
1053
|
background: var(--background-color);
|
|
892
1054
|
}
|
|
893
|
-
.
|
|
1055
|
+
.Input_icon:hover {
|
|
894
1056
|
color: var(--font-color);
|
|
895
1057
|
cursor: pointer;
|
|
896
1058
|
}
|
|
1059
|
+
|
|
1060
|
+
/* src/components/TextField.module.css */
|
|
897
1061
|
.TextField_textarea {
|
|
898
1062
|
min-height: 60px;
|
|
899
1063
|
min-width: 140px;
|
|
900
1064
|
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
.Text_text {
|
|
904
|
-
color: currentColor;
|
|
905
|
-
line-height: 1.2em;
|
|
906
|
-
}
|
|
907
|
-
.Text_xs {
|
|
908
|
-
font-size: var(--font-size-xs);
|
|
909
|
-
}
|
|
910
|
-
.Text_sm {
|
|
911
|
-
font-size: var(--font-size-sm);
|
|
912
|
-
}
|
|
913
|
-
.Text_md {
|
|
914
|
-
font-size: var(--font-size-md);
|
|
915
|
-
}
|
|
916
|
-
.Text_lg {
|
|
917
|
-
font-size: var(--font-size-lg);
|
|
918
|
-
}
|
|
919
|
-
.Text_xl {
|
|
920
|
-
font-size: var(--font-size-xl);
|
|
921
|
-
}
|
|
922
|
-
.Text_muted {
|
|
923
|
-
color: var(--font-muted-color);
|
|
924
|
-
}
|
|
925
|
-
.Text_faded {
|
|
926
|
-
color: var(--font-faded-color);
|
|
927
|
-
}
|
|
928
|
-
.Text_lighter {
|
|
929
|
-
font-weight: 200;
|
|
930
|
-
}
|
|
931
|
-
.Text_light {
|
|
932
|
-
font-weight: 300;
|
|
933
|
-
}
|
|
934
|
-
.Text_bold {
|
|
935
|
-
font-weight: 700;
|
|
936
|
-
}
|
|
937
|
-
.Text_bolder {
|
|
938
|
-
font-weight: 900;
|
|
939
|
-
}
|
|
940
|
-
.Text_tighter {
|
|
941
|
-
letter-spacing: -0.05em;
|
|
942
|
-
}
|
|
943
|
-
.Text_tight {
|
|
944
|
-
letter-spacing: -0.025em;
|
|
945
|
-
}
|
|
946
|
-
.Text_wide {
|
|
947
|
-
letter-spacing: 0.025em;
|
|
1065
|
+
.TextField_allowCopy {
|
|
1066
|
+
padding-right: 32px;
|
|
948
1067
|
}
|
|
949
|
-
.
|
|
950
|
-
|
|
1068
|
+
.TextField_icon {
|
|
1069
|
+
position: absolute;
|
|
1070
|
+
top: 9px;
|
|
1071
|
+
right: 9px;
|
|
951
1072
|
}
|
|
952
1073
|
|
|
953
1074
|
/* src/components/ConfirmationDialog.module.css */
|
|
@@ -1110,72 +1231,6 @@
|
|
|
1110
1231
|
font-weight: 700;
|
|
1111
1232
|
}
|
|
1112
1233
|
|
|
1113
|
-
/* src/components/Spinner.module.css */
|
|
1114
|
-
.Spinner_spinner {
|
|
1115
|
-
position: relative;
|
|
1116
|
-
display: inline-flex;
|
|
1117
|
-
justify-content: center;
|
|
1118
|
-
align-items: center;
|
|
1119
|
-
}
|
|
1120
|
-
.Spinner_spinner svg {
|
|
1121
|
-
fill: none;
|
|
1122
|
-
font-size: 16px;
|
|
1123
|
-
stroke-width: 0.15em;
|
|
1124
|
-
transform-origin: center center;
|
|
1125
|
-
animation: Spinner_spinner-rotate 1.6s linear infinite;
|
|
1126
|
-
}
|
|
1127
|
-
.Spinner_track {
|
|
1128
|
-
stroke: var(--input-bg-color);
|
|
1129
|
-
}
|
|
1130
|
-
.Spinner_fill {
|
|
1131
|
-
stroke: var(--primary-bg-color);
|
|
1132
|
-
stroke-linecap: square;
|
|
1133
|
-
stroke-dasharray: 1, 200;
|
|
1134
|
-
stroke-dashoffset: 0;
|
|
1135
|
-
animation: Spinner_spinner-dash 1.2s ease-in-out infinite;
|
|
1136
|
-
}
|
|
1137
|
-
.Spinner_size-sm svg {
|
|
1138
|
-
width: 16px;
|
|
1139
|
-
height: 16px;
|
|
1140
|
-
}
|
|
1141
|
-
.Spinner_size-md svg {
|
|
1142
|
-
width: 24px;
|
|
1143
|
-
height: 24px;
|
|
1144
|
-
}
|
|
1145
|
-
.Spinner_size-lg svg {
|
|
1146
|
-
width: 32px;
|
|
1147
|
-
height: 32px;
|
|
1148
|
-
}
|
|
1149
|
-
.Spinner_size-xl svg {
|
|
1150
|
-
width: 64px;
|
|
1151
|
-
height: 64px;
|
|
1152
|
-
}
|
|
1153
|
-
.Spinner_quiet .Spinner_track {
|
|
1154
|
-
display: none;
|
|
1155
|
-
}
|
|
1156
|
-
@keyframes Spinner_spinner-rotate {
|
|
1157
|
-
0% {
|
|
1158
|
-
transform: rotate(0deg);
|
|
1159
|
-
}
|
|
1160
|
-
100% {
|
|
1161
|
-
transform: rotate(360deg);
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
@keyframes Spinner_spinner-dash {
|
|
1165
|
-
0% {
|
|
1166
|
-
stroke-dasharray: 1, 200;
|
|
1167
|
-
stroke-dashoffset: 0;
|
|
1168
|
-
}
|
|
1169
|
-
50% {
|
|
1170
|
-
stroke-dasharray: 89, 200;
|
|
1171
|
-
stroke-dashoffset: -35;
|
|
1172
|
-
}
|
|
1173
|
-
100% {
|
|
1174
|
-
stroke-dasharray: 89, 200;
|
|
1175
|
-
stroke-dashoffset: -124;
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
1234
|
/* src/components/Loading.module.css */
|
|
1180
1235
|
.Loading_loading {
|
|
1181
1236
|
position: relative;
|
|
@@ -1233,7 +1288,7 @@
|
|
|
1233
1288
|
border: var(--border);
|
|
1234
1289
|
border-radius: var(--border-radius);
|
|
1235
1290
|
padding: var(--spacing-2);
|
|
1236
|
-
box-shadow: var(--box-shadow
|
|
1291
|
+
box-shadow: var(--box-shadow);
|
|
1237
1292
|
background: var(--background-color);
|
|
1238
1293
|
}
|
|
1239
1294
|
.Menu_separator {
|
|
@@ -1282,36 +1337,10 @@
|
|
|
1282
1337
|
}
|
|
1283
1338
|
|
|
1284
1339
|
/* src/components/PasswordField.module.css */
|
|
1285
|
-
.PasswordField_field {
|
|
1286
|
-
display: flex;
|
|
1287
|
-
align-items: center;
|
|
1288
|
-
border: var(--border);
|
|
1289
|
-
border-radius: var(--border-radius);
|
|
1290
|
-
background: var(--background-color);
|
|
1291
|
-
box-shadow: var(--box-shadow-);
|
|
1292
|
-
gap: var(--spacing-2);
|
|
1293
|
-
position: relative;
|
|
1294
|
-
}
|
|
1295
|
-
.PasswordField_field[data-readonly],
|
|
1296
|
-
.PasswordField_field[data-disabled] {
|
|
1297
|
-
background: var(--background-color);
|
|
1298
|
-
}
|
|
1299
|
-
.PasswordField_input {
|
|
1300
|
-
color: var(--font-color);
|
|
1301
|
-
border: 0;
|
|
1302
|
-
background: transparent;
|
|
1303
|
-
padding: var(--padding);
|
|
1304
|
-
line-height: 1.5rem;
|
|
1305
|
-
}
|
|
1306
|
-
.PasswordField_input::placeholder {
|
|
1307
|
-
color: var(--font-muted-color);
|
|
1308
|
-
}
|
|
1309
|
-
.PasswordField_input:disabled {
|
|
1310
|
-
color: var(--font-muted-color);
|
|
1311
|
-
}
|
|
1312
1340
|
.PasswordField_icon {
|
|
1313
|
-
|
|
1314
|
-
|
|
1341
|
+
position: absolute;
|
|
1342
|
+
top: 9px;
|
|
1343
|
+
right: 9px;
|
|
1315
1344
|
}
|
|
1316
1345
|
|
|
1317
1346
|
/* src/components/Page.module.css */
|
|
@@ -1406,7 +1435,7 @@
|
|
|
1406
1435
|
background: var(--background-color);
|
|
1407
1436
|
border-radius: 20px;
|
|
1408
1437
|
transition: all 200ms;
|
|
1409
|
-
box-shadow: var(--box-shadow
|
|
1438
|
+
box-shadow: var(--box-shadow);
|
|
1410
1439
|
}
|
|
1411
1440
|
.RadioGroup_radio[data-pressed]:before {
|
|
1412
1441
|
border-color: var(--border-color);
|
|
@@ -1426,24 +1455,25 @@
|
|
|
1426
1455
|
}
|
|
1427
1456
|
|
|
1428
1457
|
/* src/components/SearchField.module.css */
|
|
1429
|
-
.
|
|
1430
|
-
|
|
1458
|
+
.SearchField_search {
|
|
1459
|
+
position: absolute;
|
|
1460
|
+
top: 12px;
|
|
1461
|
+
left: 9px;
|
|
1431
1462
|
}
|
|
1432
|
-
.
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1463
|
+
.SearchField_input {
|
|
1464
|
+
padding-left: 28px;
|
|
1465
|
+
padding-right: 24px;
|
|
1466
|
+
}
|
|
1467
|
+
.SearchField_close {
|
|
1468
|
+
position: absolute;
|
|
1469
|
+
top: 9px;
|
|
1470
|
+
right: 0;
|
|
1437
1471
|
border: none;
|
|
1438
1472
|
background: none;
|
|
1439
|
-
cursor: pointer;
|
|
1440
1473
|
border-radius: var(--border-radius-full);
|
|
1441
1474
|
padding: 0;
|
|
1442
1475
|
margin: 0 var(--spacing-2);
|
|
1443
1476
|
}
|
|
1444
|
-
.SearchField_button:hover {
|
|
1445
|
-
color: var(--font-color);
|
|
1446
|
-
}
|
|
1447
1477
|
|
|
1448
1478
|
/* src/components/Select.module.css */
|
|
1449
1479
|
.Select_select {
|
|
@@ -1451,7 +1481,8 @@
|
|
|
1451
1481
|
align-items: center;
|
|
1452
1482
|
color: var(--font-color);
|
|
1453
1483
|
background: var(--background-color);
|
|
1454
|
-
box-shadow: var(--box-shadow
|
|
1484
|
+
box-shadow: var(--box-shadow);
|
|
1485
|
+
min-width: 160px;
|
|
1455
1486
|
}
|
|
1456
1487
|
.Select_button {
|
|
1457
1488
|
display: flex;
|
|
@@ -1862,7 +1893,7 @@
|
|
|
1862
1893
|
.ToggleGroup_group {
|
|
1863
1894
|
display: inline-flex;
|
|
1864
1895
|
background-color: var(--background-color);
|
|
1865
|
-
box-shadow: var(--box-shadow
|
|
1896
|
+
box-shadow: var(--box-shadow);
|
|
1866
1897
|
border: var(--border);
|
|
1867
1898
|
border-radius: var(--border-radius);
|
|
1868
1899
|
overflow: hidden;
|