@vsn-ux/gaia-styles 0.2.4 → 0.3.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/all-no-reset-10pt.css +327 -23
- package/dist/all-no-reset.css +327 -23
- package/dist/all.css +327 -23
- package/dist/base.css +1 -1
- package/dist/components/avatar.css +1 -1
- package/dist/components/badge.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/dropdown.css +14 -4
- package/dist/components/form-field.css +59 -4
- package/dist/components/input.css +1 -1
- package/dist/components/menu.css +91 -16
- package/dist/components/notification.css +1 -1
- package/dist/components/radio.css +1 -1
- package/dist/components/segmented-control.css +1 -1
- package/dist/components/select.css +2 -3
- package/dist/components/tag.css +185 -0
- package/dist/components/text-area.css +1 -1
- package/dist/components/tooltip.css +1 -1
- package/dist/components.css +324 -21
- package/dist/design-tokens.css +3 -2
- package/dist/design-tokens.d.ts +1 -0
- package/dist/design-tokens.js +20 -8
- package/package.json +1 -1
- package/src/design-tokens/dtcg-tokens.json +5 -2
- package/src/styles/components/dropdown.css +8 -4
- package/src/styles/components/form-field.css +31 -3
- package/src/styles/components/menu.css +67 -5
- package/src/styles/components/select.css +1 -1
- package/src/styles/components/tag.css +166 -0
- package/src/styles/components.css +1 -0
package/dist/components.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.0.
|
|
1
|
+
/*! tailwindcss v4.0.12 | MIT License | https://tailwindcss.com */
|
|
2
2
|
.ga-avatar {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
height: calc(0.25rem * 10);
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
.ga-dropdown {
|
|
302
302
|
display: flex;
|
|
303
303
|
max-height: calc(0.25rem * 81);
|
|
304
|
-
|
|
304
|
+
max-width: 80ch;
|
|
305
305
|
flex-direction: column;
|
|
306
306
|
align-items: stretch;
|
|
307
307
|
overflow-y: auto;
|
|
@@ -310,12 +310,16 @@
|
|
|
310
310
|
border-width: 1px;
|
|
311
311
|
border-color: var(--ga-color-border-primary);
|
|
312
312
|
background-color: var(--ga-color-surface-primary);
|
|
313
|
+
font-size: var(--ga-size-font-md);
|
|
314
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
315
|
+
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
313
316
|
--tw-outline-style: none;
|
|
314
317
|
outline-style: none;
|
|
315
318
|
.ga-dropdown__item {
|
|
316
319
|
position: relative;
|
|
317
320
|
display: flex;
|
|
318
321
|
height: calc(0.25rem * 9);
|
|
322
|
+
min-width: calc(0.25rem * 0);
|
|
319
323
|
flex-shrink: 0;
|
|
320
324
|
cursor: pointer;
|
|
321
325
|
flex-direction: row;
|
|
@@ -388,29 +392,80 @@
|
|
|
388
392
|
--tw-font-weight: 600;
|
|
389
393
|
font-weight: 600;
|
|
390
394
|
}
|
|
391
|
-
.ga-
|
|
395
|
+
.ga-dropdown__spinner {
|
|
392
396
|
margin-inline: auto;
|
|
393
|
-
margin-block: calc(0.25rem *
|
|
397
|
+
margin-block: calc(0.25rem * 5);
|
|
394
398
|
display: inline-flex;
|
|
395
399
|
}
|
|
400
|
+
.ga-dropdown__item-label {
|
|
401
|
+
min-width: calc(0.25rem * 0);
|
|
402
|
+
overflow: hidden;
|
|
403
|
+
text-overflow: ellipsis;
|
|
404
|
+
white-space: nowrap;
|
|
405
|
+
}
|
|
396
406
|
}
|
|
397
407
|
.ga-form-field {
|
|
398
408
|
display: flex;
|
|
399
409
|
flex-direction: column;
|
|
400
410
|
gap: calc(0.25rem * 2);
|
|
401
|
-
>
|
|
411
|
+
> .ga-select, > .ga-input {
|
|
402
412
|
width: 100%;
|
|
413
|
+
flex-shrink: 0;
|
|
403
414
|
}
|
|
404
415
|
.ga-form-field__label {
|
|
416
|
+
display: inline-flex;
|
|
417
|
+
height: calc(0.25rem * 5);
|
|
418
|
+
width: fit-content;
|
|
419
|
+
max-width: 100%;
|
|
420
|
+
min-width: calc(0.25rem * 0);
|
|
421
|
+
gap: calc(0.25rem * 1);
|
|
405
422
|
padding-inline: calc(0.25rem * 1);
|
|
423
|
+
--tw-leading: calc(0.25rem * 5);
|
|
424
|
+
line-height: calc(0.25rem * 5);
|
|
425
|
+
&:focus-visible {
|
|
426
|
+
border-radius: var(--ga-radius);
|
|
427
|
+
outline-style: var(--tw-outline-style);
|
|
428
|
+
outline-width: 2px;
|
|
429
|
+
outline-offset: 2px;
|
|
430
|
+
outline-color: var(--ga-color-border-focus);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
.ga-form-field__label-text {
|
|
434
|
+
min-width: calc(0.25rem * 0);
|
|
435
|
+
overflow: hidden;
|
|
436
|
+
text-overflow: ellipsis;
|
|
437
|
+
white-space: nowrap;
|
|
406
438
|
font-size: var(--ga-size-font-md);
|
|
407
439
|
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
408
440
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
409
|
-
--tw-leading: calc(0.25rem * 5);
|
|
410
|
-
line-height: calc(0.25rem * 5);
|
|
411
441
|
--tw-font-weight: 500;
|
|
412
442
|
font-weight: 500;
|
|
413
443
|
}
|
|
444
|
+
.ga-form-field__label-state {
|
|
445
|
+
font-size: var(--ga-size-font-sm);
|
|
446
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
447
|
+
letter-spacing: var(--tw-tracking, 0);
|
|
448
|
+
--tw-font-weight: 400;
|
|
449
|
+
font-weight: 400;
|
|
450
|
+
}
|
|
451
|
+
.ga-form-field__label--defined {
|
|
452
|
+
.ga-form-field__label-text {
|
|
453
|
+
border-bottom-style: var(--tw-border-style);
|
|
454
|
+
border-bottom-width: 2px;
|
|
455
|
+
--tw-border-style: dotted;
|
|
456
|
+
border-style: dotted;
|
|
457
|
+
color: var(--ga-color-text-action);
|
|
458
|
+
}
|
|
459
|
+
&:not(.ga-form-field__label--disabled) .ga-form-field__label-text:hover {
|
|
460
|
+
color: var(--ga-color-text-body);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
.ga-form-field__label--disabled {
|
|
464
|
+
.ga-form-field__label-text, .ga-form-field__label-state {
|
|
465
|
+
border-color: var(--ga-color-border-disabled);
|
|
466
|
+
color: var(--ga-color-text-disabled);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
414
469
|
.ga-form-field__info {
|
|
415
470
|
display: flex;
|
|
416
471
|
align-items: center;
|
|
@@ -549,33 +604,32 @@
|
|
|
549
604
|
}
|
|
550
605
|
.ga-menu {
|
|
551
606
|
display: flex;
|
|
552
|
-
|
|
607
|
+
max-height: calc(0.25rem * 81);
|
|
608
|
+
max-width: 80ch;
|
|
553
609
|
flex-direction: column;
|
|
554
610
|
align-items: stretch;
|
|
611
|
+
overflow-y: auto;
|
|
555
612
|
border-radius: var(--ga-radius);
|
|
556
613
|
border-style: var(--tw-border-style);
|
|
557
614
|
border-width: 1px;
|
|
558
615
|
border-color: var(--ga-color-border-primary);
|
|
559
616
|
background-color: var(--ga-color-surface-primary);
|
|
617
|
+
font-size: var(--ga-size-font-md);
|
|
618
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
619
|
+
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
560
620
|
.ga-menu__item {
|
|
561
621
|
position: relative;
|
|
562
622
|
display: flex;
|
|
563
|
-
height: calc(0.25rem * 9);
|
|
623
|
+
min-height: calc(0.25rem * 9);
|
|
624
|
+
flex-shrink: 0;
|
|
564
625
|
cursor: pointer;
|
|
565
626
|
flex-direction: row;
|
|
566
|
-
align-items: center;
|
|
567
627
|
gap: calc(0.25rem * 2);
|
|
568
628
|
padding-inline: calc(0.25rem * 3);
|
|
569
629
|
padding-block: calc(0.25rem * 2);
|
|
570
630
|
text-align: left;
|
|
571
|
-
font-size: var(--ga-size-font-md);
|
|
572
|
-
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
573
|
-
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
574
631
|
--tw-leading: 1;
|
|
575
632
|
line-height: 1;
|
|
576
|
-
--tw-font-weight: 500;
|
|
577
|
-
font-weight: 500;
|
|
578
|
-
color: var(--ga-color-text-action);
|
|
579
633
|
&:first-child {
|
|
580
634
|
border-top-left-radius: var(--ga-radius);
|
|
581
635
|
border-top-right-radius: var(--ga-radius);
|
|
@@ -586,25 +640,47 @@
|
|
|
586
640
|
}
|
|
587
641
|
&:hover {
|
|
588
642
|
background-color: var(--ga-color-surface-action-hover-2);
|
|
589
|
-
|
|
643
|
+
.ga-menu__item-icon {
|
|
644
|
+
color: var(--ga-color-icon-action);
|
|
645
|
+
}
|
|
646
|
+
.ga-menu__item-label {
|
|
647
|
+
color: var(--ga-color-text-action-hover);
|
|
648
|
+
}
|
|
590
649
|
}
|
|
591
650
|
&:focus, &:focus-visible {
|
|
592
651
|
--tw-outline-style: none;
|
|
593
652
|
outline-style: none;
|
|
594
653
|
}
|
|
595
654
|
&.ga-menu__item--disabled {
|
|
655
|
+
cursor: not-allowed;
|
|
596
656
|
background-color: var(--ga-color-surface-primary);
|
|
597
|
-
|
|
657
|
+
.ga-menu__item-icon {
|
|
658
|
+
color: var(--ga-color-icon-disabled);
|
|
659
|
+
}
|
|
660
|
+
.ga-menu__item-label {
|
|
661
|
+
color: var(--ga-color-text-disabled);
|
|
662
|
+
}
|
|
598
663
|
}
|
|
599
664
|
&.ga-menu__item--selected {
|
|
600
665
|
background-color: var(--ga-color-surface-action);
|
|
601
666
|
color: var(--ga-color-text-on-action);
|
|
667
|
+
.ga-menu__item-icon {
|
|
668
|
+
color: var(--ga-color-icon-on-action);
|
|
669
|
+
}
|
|
670
|
+
.ga-menu__item-label {
|
|
671
|
+
color: var(--ga-color-text-on-action);
|
|
672
|
+
}
|
|
602
673
|
&:hover {
|
|
603
674
|
background-color: var(--ga-color-surface-action-hover);
|
|
604
675
|
}
|
|
605
676
|
&.ga-menu__item--disabled {
|
|
606
677
|
background-color: var(--ga-color-surface-primary);
|
|
607
|
-
|
|
678
|
+
.ga-menu__item-icon {
|
|
679
|
+
color: var(--ga-color-icon-on-disabled);
|
|
680
|
+
}
|
|
681
|
+
.ga-menu__item-label {
|
|
682
|
+
color: var(--ga-color-text-disable-selected);
|
|
683
|
+
}
|
|
608
684
|
}
|
|
609
685
|
}
|
|
610
686
|
}
|
|
@@ -622,6 +698,60 @@
|
|
|
622
698
|
--tw-content: '';
|
|
623
699
|
content: var(--tw-content);
|
|
624
700
|
}
|
|
701
|
+
&.ga-menu__item--selected {
|
|
702
|
+
&::after {
|
|
703
|
+
border-color: var(--ga-color-white);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
.ga-menu__item-icon {
|
|
708
|
+
margin-top: calc(0.25rem * 0.5);
|
|
709
|
+
flex-shrink: 0;
|
|
710
|
+
color: var(--ga-color-icon-primary);
|
|
711
|
+
}
|
|
712
|
+
.ga-menu__item-content {
|
|
713
|
+
display: flex;
|
|
714
|
+
min-width: calc(0.25rem * 0);
|
|
715
|
+
flex-direction: column;
|
|
716
|
+
}
|
|
717
|
+
.ga-menu__item-title {
|
|
718
|
+
display: flex;
|
|
719
|
+
align-items: center;
|
|
720
|
+
gap: calc(0.25rem * 2);
|
|
721
|
+
}
|
|
722
|
+
.ga-menu__item-label {
|
|
723
|
+
height: calc(0.25rem * 5);
|
|
724
|
+
flex: 1;
|
|
725
|
+
overflow: hidden;
|
|
726
|
+
text-overflow: ellipsis;
|
|
727
|
+
white-space: nowrap;
|
|
728
|
+
font-size: var(--ga-size-font-md);
|
|
729
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
730
|
+
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
731
|
+
--tw-font-weight: 500;
|
|
732
|
+
font-weight: 500;
|
|
733
|
+
color: var(--ga-color-text-action);
|
|
734
|
+
}
|
|
735
|
+
.ga-menu__item-shortcut {
|
|
736
|
+
flex-shrink: 0;
|
|
737
|
+
border-radius: var(--ga-radius);
|
|
738
|
+
border-style: var(--tw-border-style);
|
|
739
|
+
border-width: 1px;
|
|
740
|
+
border-color: var(--ga-color-border-disabled);
|
|
741
|
+
background-color: #fff;
|
|
742
|
+
padding-inline: calc(0.25rem * 1);
|
|
743
|
+
font-size: var(--ga-size-font-xs);
|
|
744
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
|
|
745
|
+
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
|
|
746
|
+
--tw-font-weight: 500;
|
|
747
|
+
font-weight: 500;
|
|
748
|
+
color: var(--ga-color-text-body);
|
|
749
|
+
}
|
|
750
|
+
.ga-menu__item-description {
|
|
751
|
+
font-size: var(--ga-size-font-xs);
|
|
752
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
|
|
753
|
+
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
|
|
754
|
+
color: var(--ga-color-text-disable-selected);
|
|
625
755
|
}
|
|
626
756
|
.ga-menu__separator {
|
|
627
757
|
margin-left: calc(0.25rem * 3);
|
|
@@ -844,9 +974,8 @@
|
|
|
844
974
|
border-width: 1px;
|
|
845
975
|
border-color: var(--ga-color-border-primary);
|
|
846
976
|
background-color: var(--ga-color-surface-primary);
|
|
977
|
+
padding-inline: calc(0.25rem * 3);
|
|
847
978
|
padding-block: calc(0.25rem * 2);
|
|
848
|
-
padding-right: calc(0.25rem * 2);
|
|
849
|
-
padding-left: calc(0.25rem * 3);
|
|
850
979
|
text-align: left;
|
|
851
980
|
font-size: var(--ga-size-font-md);
|
|
852
981
|
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
@@ -914,6 +1043,180 @@
|
|
|
914
1043
|
}
|
|
915
1044
|
}
|
|
916
1045
|
}
|
|
1046
|
+
.ga-tag {
|
|
1047
|
+
box-sizing: content-box;
|
|
1048
|
+
display: inline-flex;
|
|
1049
|
+
height: calc(0.25rem * 6);
|
|
1050
|
+
flex-direction: row;
|
|
1051
|
+
align-items: center;
|
|
1052
|
+
gap: calc(0.25rem * 1);
|
|
1053
|
+
border-radius: calc(infinity * 1px);
|
|
1054
|
+
border-style: var(--tw-border-style);
|
|
1055
|
+
border-width: 1px;
|
|
1056
|
+
border-color: var(--ga-color-border-action);
|
|
1057
|
+
padding-right: calc(0.25rem * 1);
|
|
1058
|
+
padding-left: calc(0.25rem * 2);
|
|
1059
|
+
font-size: var(--ga-size-font-sm);
|
|
1060
|
+
line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
|
|
1061
|
+
letter-spacing: var(--tw-tracking, 0);
|
|
1062
|
+
&:focus-visible {
|
|
1063
|
+
outline-style: var(--tw-outline-style);
|
|
1064
|
+
outline-width: 2px;
|
|
1065
|
+
outline-offset: 2px;
|
|
1066
|
+
outline-color: var(--ga-color-border-focus);
|
|
1067
|
+
}
|
|
1068
|
+
&.ga-tag--information {
|
|
1069
|
+
border-color: var(--ga-color-border-information);
|
|
1070
|
+
background-color: var(--ga-color-surface-information);
|
|
1071
|
+
color: var(--ga-color-text-information);
|
|
1072
|
+
.ga-tag__icon {
|
|
1073
|
+
color: var(--ga-color-icon-information);
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
&.ga-tag--success {
|
|
1077
|
+
border-color: var(--ga-color-border-success);
|
|
1078
|
+
background-color: var(--ga-color-surface-success);
|
|
1079
|
+
.ga-tag__icon {
|
|
1080
|
+
color: var(--ga-color-icon-success);
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
&.ga-tag--error {
|
|
1084
|
+
border-color: var(--ga-color-border-error);
|
|
1085
|
+
background-color: var(--ga-color-surface-error);
|
|
1086
|
+
.ga-tag__icon {
|
|
1087
|
+
color: var(--ga-color-icon-error);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
&.ga-tag--warning {
|
|
1091
|
+
border-color: var(--ga-color-border-warning);
|
|
1092
|
+
background-color: var(--ga-color-surface-warning);
|
|
1093
|
+
.ga-tag__icon {
|
|
1094
|
+
color: var(--ga-color-icon-warning);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
&.ga-tag--disabled {
|
|
1098
|
+
border-color: var(--ga-color-border-disabled);
|
|
1099
|
+
background-color: var(--ga-color-surface-disabled);
|
|
1100
|
+
color: var(--ga-color-text-disable-selected);
|
|
1101
|
+
.ga-tag__icon {
|
|
1102
|
+
color: var(--ga-color-icon-on-disabled);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
&.ga-tag--interactive {
|
|
1106
|
+
cursor: pointer;
|
|
1107
|
+
--tw-border-style: dashed;
|
|
1108
|
+
border-style: dashed;
|
|
1109
|
+
&:hover {
|
|
1110
|
+
background-color: var(--ga-color-surface-action-hover-2);
|
|
1111
|
+
.ga-tag__icon {
|
|
1112
|
+
color: var(--ga-color-icon-action-hover);
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
&.ga-tag--interactive-disabled {
|
|
1117
|
+
cursor: not-allowed;
|
|
1118
|
+
--tw-border-style: dashed;
|
|
1119
|
+
border-style: dashed;
|
|
1120
|
+
border-color: var(--ga-color-border-disabled);
|
|
1121
|
+
color: var(--ga-color-text-disabled);
|
|
1122
|
+
.ga-tag__icon {
|
|
1123
|
+
color: var(--ga-color-icon-disabled);
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
&.ga-tag--interactive-selected {
|
|
1127
|
+
--tw-border-style: solid;
|
|
1128
|
+
border-style: solid;
|
|
1129
|
+
color: var(--ga-color-text-action);
|
|
1130
|
+
&:hover {
|
|
1131
|
+
border-color: var(--ga-color-border-action-hover);
|
|
1132
|
+
.ga-tag__icon {
|
|
1133
|
+
color: var(--ga-color-icon-action-hover);
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
&.ga-tag--interactive-selected-disabled {
|
|
1138
|
+
cursor: not-allowed;
|
|
1139
|
+
--tw-border-style: solid;
|
|
1140
|
+
border-style: solid;
|
|
1141
|
+
border-color: var(--ga-color-surface-disable-selected);
|
|
1142
|
+
background-color: var(--ga-color-surface-disable-selected);
|
|
1143
|
+
color: var(--ga-color-text-on-action);
|
|
1144
|
+
.ga-tag__icon {
|
|
1145
|
+
color: var(--ga-color-icon-on-primary);
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
&.ga-tag--utility-grey, &.ga-tag--utility-indigo, &.ga-tag--utility-teal, &.ga-tag--utility-lime, &.ga-tag--utility-purple, &.ga-tag--utility-pink, &.ga-tag--utility-rose, &.ga-tag--utility-yellow, &.ga-tag--utility-blue, &.ga-tag--utility-green, &.ga-tag--utility-orange, &.ga-tag--utility-disabled {
|
|
1149
|
+
border-radius: var(--ga-radius);
|
|
1150
|
+
padding-left: calc(0.25rem * 1.5);
|
|
1151
|
+
.ga-tag__icon {
|
|
1152
|
+
color: var(--ga-color-text-body);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
&.ga-tag--utility-grey {
|
|
1156
|
+
border-color: var(--ga-color-utility-grey);
|
|
1157
|
+
background-color: var(--ga-color-utility-grey-light);
|
|
1158
|
+
}
|
|
1159
|
+
&.ga-tag--utility-indigo {
|
|
1160
|
+
border-color: var(--ga-color-utility-indigo);
|
|
1161
|
+
background-color: var(--ga-color-utility-indigo-light);
|
|
1162
|
+
}
|
|
1163
|
+
&.ga-tag--utility-teal {
|
|
1164
|
+
border-color: var(--ga-color-utility-teal);
|
|
1165
|
+
background-color: var(--ga-color-utility-teal-light);
|
|
1166
|
+
}
|
|
1167
|
+
&.ga-tag--utility-lime {
|
|
1168
|
+
border-color: var(--ga-color-utility-lime);
|
|
1169
|
+
background-color: var(--ga-color-utility-lime-light);
|
|
1170
|
+
}
|
|
1171
|
+
&.ga-tag--utility-purple {
|
|
1172
|
+
border-color: var(--ga-color-utility-purple);
|
|
1173
|
+
background-color: var(--ga-color-utility-purple-light);
|
|
1174
|
+
}
|
|
1175
|
+
&.ga-tag--utility-pink {
|
|
1176
|
+
border-color: var(--ga-color-utility-pink);
|
|
1177
|
+
background-color: var(--ga-color-utility-pink-light);
|
|
1178
|
+
}
|
|
1179
|
+
&.ga-tag--utility-rose {
|
|
1180
|
+
border-color: var(--ga-color-utility-rose);
|
|
1181
|
+
background-color: var(--ga-color-utility-rose-light);
|
|
1182
|
+
}
|
|
1183
|
+
&.ga-tag--utility-yellow {
|
|
1184
|
+
border-color: var(--ga-color-utility-yellow);
|
|
1185
|
+
background-color: var(--ga-color-utility-yellow-light);
|
|
1186
|
+
}
|
|
1187
|
+
&.ga-tag--utility-blue {
|
|
1188
|
+
border-color: var(--ga-color-utility-blue);
|
|
1189
|
+
background-color: var(--ga-color-utility-blue-light);
|
|
1190
|
+
}
|
|
1191
|
+
&.ga-tag--utility-green {
|
|
1192
|
+
border-color: var(--ga-color-utility-green);
|
|
1193
|
+
background-color: var(--ga-color-utility-green-light);
|
|
1194
|
+
}
|
|
1195
|
+
&.ga-tag--utility-orange {
|
|
1196
|
+
border-color: var(--ga-color-utility-orange);
|
|
1197
|
+
background-color: var(--ga-color-utility-orange-light);
|
|
1198
|
+
}
|
|
1199
|
+
&.ga-tag--utility-disabled {
|
|
1200
|
+
border-color: var(--ga-color-border-disabled);
|
|
1201
|
+
background-color: var(--ga-color-surface-disabled);
|
|
1202
|
+
color: var(--ga-color-text-disable-selected);
|
|
1203
|
+
}
|
|
1204
|
+
.ga-tag__icon {
|
|
1205
|
+
flex-shrink: 0;
|
|
1206
|
+
color: var(--ga-color-icon-action);
|
|
1207
|
+
}
|
|
1208
|
+
.ga-tag__label {
|
|
1209
|
+
overflow: hidden;
|
|
1210
|
+
text-overflow: ellipsis;
|
|
1211
|
+
white-space: nowrap;
|
|
1212
|
+
padding-right: calc(0.25rem * 1);
|
|
1213
|
+
}
|
|
1214
|
+
.ga-tag__separator {
|
|
1215
|
+
height: calc(0.25rem * 5);
|
|
1216
|
+
width: 1px;
|
|
1217
|
+
background-color: var(--ga-color-border-primary);
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
917
1220
|
.ga-text-area {
|
|
918
1221
|
display: flex;
|
|
919
1222
|
width: calc(0.25rem * 50);
|
package/dist/design-tokens.css
CHANGED
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
--ga-color-grey-40: #b9b9b9;
|
|
33
33
|
--ga-color-icon-action: var(--ga-color-primary);
|
|
34
34
|
--ga-color-icon-action-hover: var(--ga-color-primary-60);
|
|
35
|
+
--ga-color-icon-disabled: var(--ga-color-neutral);
|
|
35
36
|
--ga-color-icon-error: var(--ga-color-error);
|
|
36
37
|
--ga-color-icon-information: var(--ga-color-information);
|
|
37
38
|
--ga-color-icon-on-action: var(--ga-color-secondary);
|
|
38
|
-
--ga-color-icon-on-disabled: var(--ga-color-
|
|
39
|
+
--ga-color-icon-on-disabled: var(--ga-color-neutral-60);
|
|
39
40
|
--ga-color-icon-on-primary: var(--ga-color-white);
|
|
40
41
|
--ga-color-icon-primary: var(--ga-color-primary-90);
|
|
41
42
|
--ga-color-icon-success: var(--ga-color-success);
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
--ga-color-text-action-hover: var(--ga-color-primary-90);
|
|
102
103
|
--ga-color-text-body: var(--ga-color-primary-90);
|
|
103
104
|
--ga-color-text-disable-selected: var(--ga-color-neutral-60);
|
|
104
|
-
--ga-color-text-disabled: var(--ga-color-
|
|
105
|
+
--ga-color-text-disabled: var(--ga-color-neutral);
|
|
105
106
|
--ga-color-text-error: var(--ga-color-primary-90);
|
|
106
107
|
--ga-color-text-headings: var(--ga-color-primary-90);
|
|
107
108
|
--ga-color-text-information: var(--ga-color-primary-90);
|
package/dist/design-tokens.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ export declare const tokens: {
|
|
|
144
144
|
"color.icon.success": Record<".", ColorTokenNormalized["$value"]>;
|
|
145
145
|
"color.icon.warning": Record<".", ColorTokenNormalized["$value"]>;
|
|
146
146
|
"color.icon.error": Record<".", ColorTokenNormalized["$value"]>;
|
|
147
|
+
"color.icon.disabled": Record<".", ColorTokenNormalized["$value"]>;
|
|
147
148
|
"size.0": Record<".", DimensionTokenNormalized["$value"]>;
|
|
148
149
|
"size.2": Record<".", DimensionTokenNormalized["$value"]>;
|
|
149
150
|
"size.4": Record<".", DimensionTokenNormalized["$value"]>;
|
package/dist/design-tokens.js
CHANGED
|
@@ -1147,12 +1147,12 @@ export const tokens = {
|
|
|
1147
1147
|
".": {
|
|
1148
1148
|
"colorSpace": "srgb",
|
|
1149
1149
|
"channels": [
|
|
1150
|
-
0.
|
|
1151
|
-
0.
|
|
1152
|
-
0.
|
|
1150
|
+
0.8,
|
|
1151
|
+
0.8117647058823529,
|
|
1152
|
+
0.8431372549019608
|
|
1153
1153
|
],
|
|
1154
1154
|
"alpha": 1,
|
|
1155
|
-
"hex": "#
|
|
1155
|
+
"hex": "#cccfd7"
|
|
1156
1156
|
},
|
|
1157
1157
|
},
|
|
1158
1158
|
"color.text.disable-selected": {
|
|
@@ -1579,12 +1579,12 @@ export const tokens = {
|
|
|
1579
1579
|
".": {
|
|
1580
1580
|
"colorSpace": "srgb",
|
|
1581
1581
|
"channels": [
|
|
1582
|
-
0.
|
|
1583
|
-
0.
|
|
1584
|
-
0.
|
|
1582
|
+
0.43529411764705883,
|
|
1583
|
+
0.4627450980392157,
|
|
1584
|
+
0.5294117647058824
|
|
1585
1585
|
],
|
|
1586
1586
|
"alpha": 1,
|
|
1587
|
-
"hex": "#
|
|
1587
|
+
"hex": "#6f7687"
|
|
1588
1588
|
},
|
|
1589
1589
|
},
|
|
1590
1590
|
"color.icon.success": {
|
|
@@ -1623,6 +1623,18 @@ export const tokens = {
|
|
|
1623
1623
|
"hex": "#cc453e"
|
|
1624
1624
|
},
|
|
1625
1625
|
},
|
|
1626
|
+
"color.icon.disabled": {
|
|
1627
|
+
".": {
|
|
1628
|
+
"colorSpace": "srgb",
|
|
1629
|
+
"channels": [
|
|
1630
|
+
0.8,
|
|
1631
|
+
0.8117647058823529,
|
|
1632
|
+
0.8431372549019608
|
|
1633
|
+
],
|
|
1634
|
+
"alpha": 1,
|
|
1635
|
+
"hex": "#cccfd7"
|
|
1636
|
+
},
|
|
1637
|
+
},
|
|
1626
1638
|
"size.0": {
|
|
1627
1639
|
".": {
|
|
1628
1640
|
"value": 0,
|
package/package.json
CHANGED
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"$value": "{color.primary.90}"
|
|
317
317
|
},
|
|
318
318
|
"disabled": {
|
|
319
|
-
"$value": "{color.
|
|
319
|
+
"$value": "{color.neutral}"
|
|
320
320
|
},
|
|
321
321
|
"disable-selected": {
|
|
322
322
|
"$value": "{color.neutral.60}"
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
"$value": "{color.information}"
|
|
431
431
|
},
|
|
432
432
|
"on-disabled": {
|
|
433
|
-
"$value": "{color.
|
|
433
|
+
"$value": "{color.neutral.60}"
|
|
434
434
|
},
|
|
435
435
|
"success": {
|
|
436
436
|
"$value": "{color.success}"
|
|
@@ -440,6 +440,9 @@
|
|
|
440
440
|
},
|
|
441
441
|
"error": {
|
|
442
442
|
"$value": "{color.error}"
|
|
443
|
+
},
|
|
444
|
+
"disabled": {
|
|
445
|
+
"$value": "{color.neutral}"
|
|
443
446
|
}
|
|
444
447
|
}
|
|
445
448
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.ga-dropdown {
|
|
2
|
-
@apply flex max-h-81
|
|
2
|
+
@apply text-md flex max-h-81 max-w-[80ch] flex-col items-stretch overflow-y-auto rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) outline-none;
|
|
3
3
|
|
|
4
4
|
.ga-dropdown__item {
|
|
5
|
-
@apply text-md relative flex h-9 shrink-0 cursor-pointer flex-row items-center gap-2 px-3 py-2 text-left leading-none text-(--ga-color-text-action);
|
|
5
|
+
@apply text-md relative flex h-9 min-w-0 shrink-0 cursor-pointer flex-row items-center gap-2 px-3 py-2 text-left leading-none text-(--ga-color-text-action);
|
|
6
6
|
|
|
7
7
|
&:first-child {
|
|
8
8
|
@apply rounded-t;
|
|
@@ -45,7 +45,11 @@
|
|
|
45
45
|
@apply shrink-0 px-3 pt-3 pb-2 text-sm font-semibold;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.ga-
|
|
49
|
-
@apply mx-auto my-
|
|
48
|
+
.ga-dropdown__spinner {
|
|
49
|
+
@apply mx-auto my-5 inline-flex;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ga-dropdown__item-label {
|
|
53
|
+
@apply min-w-0 truncate;
|
|
50
54
|
}
|
|
51
55
|
}
|
|
@@ -1,14 +1,42 @@
|
|
|
1
1
|
.ga-form-field {
|
|
2
2
|
@apply flex flex-col gap-2;
|
|
3
3
|
|
|
4
|
-
> *,
|
|
5
4
|
> .ga-select,
|
|
6
5
|
> .ga-input {
|
|
7
|
-
@apply w-full;
|
|
6
|
+
@apply w-full shrink-0;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
.ga-form-field__label {
|
|
11
|
-
@apply
|
|
10
|
+
@apply inline-flex h-5 w-fit max-w-full min-w-0 gap-1 px-1 leading-5;
|
|
11
|
+
|
|
12
|
+
&:focus-visible {
|
|
13
|
+
@apply rounded outline-2 outline-offset-2 outline-(--ga-color-border-focus);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ga-form-field__label-text {
|
|
18
|
+
@apply text-md min-w-0 truncate font-medium;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ga-form-field__label-state {
|
|
22
|
+
@apply text-sm font-normal;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ga-form-field__label--defined {
|
|
26
|
+
.ga-form-field__label-text {
|
|
27
|
+
@apply border-b-2 border-dotted text-(--ga-color-text-action);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:not(.ga-form-field__label--disabled) .ga-form-field__label-text:hover {
|
|
31
|
+
@apply text-(--ga-color-text-body);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ga-form-field__label--disabled {
|
|
36
|
+
.ga-form-field__label-text,
|
|
37
|
+
.ga-form-field__label-state {
|
|
38
|
+
@apply border-(--ga-color-border-disabled) text-(--ga-color-text-disabled);
|
|
39
|
+
}
|
|
12
40
|
}
|
|
13
41
|
|
|
14
42
|
.ga-form-field__info {
|