@vsn-ux/gaia-styles 0.5.12 → 0.5.14

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-10pt.css CHANGED
@@ -686,7 +686,7 @@
686
686
  }
687
687
  &.ga-card--selected {
688
688
  border-color: var(--ga-color-border-focus);
689
- background-color: var(--ga-color-surface-success);
689
+ background-color: var(--ga-color-surface-selected);
690
690
  }
691
691
  }
692
692
  .ga-calendar {
@@ -1156,7 +1156,7 @@
1156
1156
  color: var(--ga-color-text-disable-selected);
1157
1157
  }
1158
1158
  &.ga-dropdown__item--selected {
1159
- background-color: var(--ga-color-surface-success);
1159
+ background-color: var(--ga-color-surface-selected);
1160
1160
  --tw-font-weight: 600;
1161
1161
  font-weight: 600;
1162
1162
  color: var(--ga-color-text-body);
@@ -2029,7 +2029,7 @@
2029
2029
  ));
2030
2030
  .ga-segmented-control__button {
2031
2031
  display: inline-flex;
2032
- height: calc(0.4rem * 9);
2032
+ height: calc(0.4rem * 8.5);
2033
2033
  cursor: pointer;
2034
2034
  align-items: center;
2035
2035
  justify-content: center;
@@ -2038,7 +2038,6 @@
2038
2038
  border-style: var(--tw-border-style);
2039
2039
  border-width: 1px;
2040
2040
  border-color: transparent;
2041
- background-color: var(--ga-color-surface-primary);
2042
2041
  padding-inline: calc(0.4rem * 4);
2043
2042
  vertical-align: middle;
2044
2043
  --tw-leading: calc(0.4rem * 1);
@@ -2048,7 +2047,10 @@
2048
2047
  &.ga-segmented-control__button--selected, &:hover {
2049
2048
  border-color: var(--ga-color-border-action);
2050
2049
  }
2051
- &:hover {
2050
+ &.ga-segmented-control__button--selected {
2051
+ background-color: var(--ga-color-surface-primary);
2052
+ }
2053
+ &:hover:not(.ga-segmented-control__button--selected) {
2052
2054
  background-color: var(--ga-color-surface-action-hover-2);
2053
2055
  color: var(--ga-color-text-action-hover);
2054
2056
  }
@@ -2060,7 +2062,7 @@
2060
2062
  }
2061
2063
  &.ga-segmented-control__button--icon-only {
2062
2064
  padding-inline: calc(0.4rem * 2.25);
2063
- &:hover {
2065
+ &:hover:not(.ga-segmented-control__button--selected) {
2064
2066
  color: var(--ga-color-icon-action-hover);
2065
2067
  }
2066
2068
  }
@@ -2237,6 +2239,9 @@
2237
2239
  }
2238
2240
  .ga-select__value {
2239
2241
  display: contents;
2242
+ .ga-tag {
2243
+ min-width: calc(0.4rem * 0);
2244
+ }
2240
2245
  }
2241
2246
  .ga-select__input {
2242
2247
  height: calc(0.4rem * 6.5);
@@ -539,7 +539,7 @@
539
539
  }
540
540
  &.ga-card--selected {
541
541
  border-color: var(--ga-color-border-focus);
542
- background-color: var(--ga-color-surface-success);
542
+ background-color: var(--ga-color-surface-selected);
543
543
  }
544
544
  }
545
545
  .ga-calendar {
@@ -1009,7 +1009,7 @@
1009
1009
  color: var(--ga-color-text-disable-selected);
1010
1010
  }
1011
1011
  &.ga-dropdown__item--selected {
1012
- background-color: var(--ga-color-surface-success);
1012
+ background-color: var(--ga-color-surface-selected);
1013
1013
  --tw-font-weight: 600;
1014
1014
  font-weight: 600;
1015
1015
  color: var(--ga-color-text-body);
@@ -1882,7 +1882,7 @@
1882
1882
  ));
1883
1883
  .ga-segmented-control__button {
1884
1884
  display: inline-flex;
1885
- height: calc(0.4rem * 9);
1885
+ height: calc(0.4rem * 8.5);
1886
1886
  cursor: pointer;
1887
1887
  align-items: center;
1888
1888
  justify-content: center;
@@ -1891,7 +1891,6 @@
1891
1891
  border-style: var(--tw-border-style);
1892
1892
  border-width: 1px;
1893
1893
  border-color: transparent;
1894
- background-color: var(--ga-color-surface-primary);
1895
1894
  padding-inline: calc(0.4rem * 4);
1896
1895
  vertical-align: middle;
1897
1896
  --tw-leading: calc(0.4rem * 1);
@@ -1901,7 +1900,10 @@
1901
1900
  &.ga-segmented-control__button--selected, &:hover {
1902
1901
  border-color: var(--ga-color-border-action);
1903
1902
  }
1904
- &:hover {
1903
+ &.ga-segmented-control__button--selected {
1904
+ background-color: var(--ga-color-surface-primary);
1905
+ }
1906
+ &:hover:not(.ga-segmented-control__button--selected) {
1905
1907
  background-color: var(--ga-color-surface-action-hover-2);
1906
1908
  color: var(--ga-color-text-action-hover);
1907
1909
  }
@@ -1913,7 +1915,7 @@
1913
1915
  }
1914
1916
  &.ga-segmented-control__button--icon-only {
1915
1917
  padding-inline: calc(0.4rem * 2.25);
1916
- &:hover {
1918
+ &:hover:not(.ga-segmented-control__button--selected) {
1917
1919
  color: var(--ga-color-icon-action-hover);
1918
1920
  }
1919
1921
  }
@@ -2090,6 +2092,9 @@
2090
2092
  }
2091
2093
  .ga-select__value {
2092
2094
  display: contents;
2095
+ .ga-tag {
2096
+ min-width: calc(0.4rem * 0);
2097
+ }
2093
2098
  }
2094
2099
  .ga-select__input {
2095
2100
  height: calc(0.4rem * 6.5);
@@ -539,7 +539,7 @@
539
539
  }
540
540
  &.ga-card--selected {
541
541
  border-color: var(--ga-color-border-focus);
542
- background-color: var(--ga-color-surface-success);
542
+ background-color: var(--ga-color-surface-selected);
543
543
  }
544
544
  }
545
545
  .ga-calendar {
@@ -1009,7 +1009,7 @@
1009
1009
  color: var(--ga-color-text-disable-selected);
1010
1010
  }
1011
1011
  &.ga-dropdown__item--selected {
1012
- background-color: var(--ga-color-surface-success);
1012
+ background-color: var(--ga-color-surface-selected);
1013
1013
  --tw-font-weight: 600;
1014
1014
  font-weight: 600;
1015
1015
  color: var(--ga-color-text-body);
@@ -1882,7 +1882,7 @@
1882
1882
  ));
1883
1883
  .ga-segmented-control__button {
1884
1884
  display: inline-flex;
1885
- height: calc(0.25rem * 9);
1885
+ height: calc(0.25rem * 8.5);
1886
1886
  cursor: pointer;
1887
1887
  align-items: center;
1888
1888
  justify-content: center;
@@ -1891,7 +1891,6 @@
1891
1891
  border-style: var(--tw-border-style);
1892
1892
  border-width: 1px;
1893
1893
  border-color: transparent;
1894
- background-color: var(--ga-color-surface-primary);
1895
1894
  padding-inline: calc(0.25rem * 4);
1896
1895
  vertical-align: middle;
1897
1896
  --tw-leading: calc(0.25rem * 1);
@@ -1901,7 +1900,10 @@
1901
1900
  &.ga-segmented-control__button--selected, &:hover {
1902
1901
  border-color: var(--ga-color-border-action);
1903
1902
  }
1904
- &:hover {
1903
+ &.ga-segmented-control__button--selected {
1904
+ background-color: var(--ga-color-surface-primary);
1905
+ }
1906
+ &:hover:not(.ga-segmented-control__button--selected) {
1905
1907
  background-color: var(--ga-color-surface-action-hover-2);
1906
1908
  color: var(--ga-color-text-action-hover);
1907
1909
  }
@@ -1913,7 +1915,7 @@
1913
1915
  }
1914
1916
  &.ga-segmented-control__button--icon-only {
1915
1917
  padding-inline: calc(0.25rem * 2.25);
1916
- &:hover {
1918
+ &:hover:not(.ga-segmented-control__button--selected) {
1917
1919
  color: var(--ga-color-icon-action-hover);
1918
1920
  }
1919
1921
  }
@@ -2090,6 +2092,9 @@
2090
2092
  }
2091
2093
  .ga-select__value {
2092
2094
  display: contents;
2095
+ .ga-tag {
2096
+ min-width: calc(0.25rem * 0);
2097
+ }
2093
2098
  }
2094
2099
  .ga-select__input {
2095
2100
  height: calc(0.25rem * 6.5);
package/dist/all.css CHANGED
@@ -686,7 +686,7 @@
686
686
  }
687
687
  &.ga-card--selected {
688
688
  border-color: var(--ga-color-border-focus);
689
- background-color: var(--ga-color-surface-success);
689
+ background-color: var(--ga-color-surface-selected);
690
690
  }
691
691
  }
692
692
  .ga-calendar {
@@ -1156,7 +1156,7 @@
1156
1156
  color: var(--ga-color-text-disable-selected);
1157
1157
  }
1158
1158
  &.ga-dropdown__item--selected {
1159
- background-color: var(--ga-color-surface-success);
1159
+ background-color: var(--ga-color-surface-selected);
1160
1160
  --tw-font-weight: 600;
1161
1161
  font-weight: 600;
1162
1162
  color: var(--ga-color-text-body);
@@ -2029,7 +2029,7 @@
2029
2029
  ));
2030
2030
  .ga-segmented-control__button {
2031
2031
  display: inline-flex;
2032
- height: calc(0.25rem * 9);
2032
+ height: calc(0.25rem * 8.5);
2033
2033
  cursor: pointer;
2034
2034
  align-items: center;
2035
2035
  justify-content: center;
@@ -2038,7 +2038,6 @@
2038
2038
  border-style: var(--tw-border-style);
2039
2039
  border-width: 1px;
2040
2040
  border-color: transparent;
2041
- background-color: var(--ga-color-surface-primary);
2042
2041
  padding-inline: calc(0.25rem * 4);
2043
2042
  vertical-align: middle;
2044
2043
  --tw-leading: calc(0.25rem * 1);
@@ -2048,7 +2047,10 @@
2048
2047
  &.ga-segmented-control__button--selected, &:hover {
2049
2048
  border-color: var(--ga-color-border-action);
2050
2049
  }
2051
- &:hover {
2050
+ &.ga-segmented-control__button--selected {
2051
+ background-color: var(--ga-color-surface-primary);
2052
+ }
2053
+ &:hover:not(.ga-segmented-control__button--selected) {
2052
2054
  background-color: var(--ga-color-surface-action-hover-2);
2053
2055
  color: var(--ga-color-text-action-hover);
2054
2056
  }
@@ -2060,7 +2062,7 @@
2060
2062
  }
2061
2063
  &.ga-segmented-control__button--icon-only {
2062
2064
  padding-inline: calc(0.25rem * 2.25);
2063
- &:hover {
2065
+ &:hover:not(.ga-segmented-control__button--selected) {
2064
2066
  color: var(--ga-color-icon-action-hover);
2065
2067
  }
2066
2068
  }
@@ -2237,6 +2239,9 @@
2237
2239
  }
2238
2240
  .ga-select__value {
2239
2241
  display: contents;
2242
+ .ga-tag {
2243
+ min-width: calc(0.25rem * 0);
2244
+ }
2240
2245
  }
2241
2246
  .ga-select__input {
2242
2247
  height: calc(0.25rem * 6.5);
@@ -36,7 +36,7 @@
36
36
  }
37
37
  &.ga-card--selected {
38
38
  border-color: var(--ga-color-border-focus);
39
- background-color: var(--ga-color-surface-success);
39
+ background-color: var(--ga-color-surface-selected);
40
40
  }
41
41
  }
42
42
  @property --tw-border-style {
@@ -67,7 +67,7 @@
67
67
  color: var(--ga-color-text-disable-selected);
68
68
  }
69
69
  &.ga-dropdown__item--selected {
70
- background-color: var(--ga-color-surface-success);
70
+ background-color: var(--ga-color-surface-selected);
71
71
  --tw-font-weight: 600;
72
72
  font-weight: 600;
73
73
  color: var(--ga-color-text-body);
@@ -21,7 +21,7 @@
21
21
  ));
22
22
  .ga-segmented-control__button {
23
23
  display: inline-flex;
24
- height: calc(0.25rem * 9);
24
+ height: calc(0.25rem * 8.5);
25
25
  cursor: pointer;
26
26
  align-items: center;
27
27
  justify-content: center;
@@ -30,7 +30,6 @@
30
30
  border-style: var(--tw-border-style);
31
31
  border-width: 1px;
32
32
  border-color: transparent;
33
- background-color: var(--ga-color-surface-primary);
34
33
  padding-inline: calc(0.25rem * 4);
35
34
  vertical-align: middle;
36
35
  --tw-leading: calc(0.25rem * 1);
@@ -40,7 +39,10 @@
40
39
  &.ga-segmented-control__button--selected, &:hover {
41
40
  border-color: var(--ga-color-border-action);
42
41
  }
43
- &:hover {
42
+ &.ga-segmented-control__button--selected {
43
+ background-color: var(--ga-color-surface-primary);
44
+ }
45
+ &:hover:not(.ga-segmented-control__button--selected) {
44
46
  background-color: var(--ga-color-surface-action-hover-2);
45
47
  color: var(--ga-color-text-action-hover);
46
48
  }
@@ -52,7 +54,7 @@
52
54
  }
53
55
  &.ga-segmented-control__button--icon-only {
54
56
  padding-inline: calc(0.25rem * 2.25);
55
- &:hover {
57
+ &:hover:not(.ga-segmented-control__button--selected) {
56
58
  color: var(--ga-color-icon-action-hover);
57
59
  }
58
60
  }
@@ -159,6 +159,9 @@
159
159
  }
160
160
  .ga-select__value {
161
161
  display: contents;
162
+ .ga-tag {
163
+ min-width: calc(0.25rem * 0);
164
+ }
162
165
  }
163
166
  .ga-select__input {
164
167
  height: calc(0.25rem * 6.5);
@@ -315,7 +315,7 @@
315
315
  }
316
316
  &.ga-card--selected {
317
317
  border-color: var(--ga-color-border-focus);
318
- background-color: var(--ga-color-surface-success);
318
+ background-color: var(--ga-color-surface-selected);
319
319
  }
320
320
  }
321
321
  .ga-calendar {
@@ -785,7 +785,7 @@
785
785
  color: var(--ga-color-text-disable-selected);
786
786
  }
787
787
  &.ga-dropdown__item--selected {
788
- background-color: var(--ga-color-surface-success);
788
+ background-color: var(--ga-color-surface-selected);
789
789
  --tw-font-weight: 600;
790
790
  font-weight: 600;
791
791
  color: var(--ga-color-text-body);
@@ -1658,7 +1658,7 @@
1658
1658
  ));
1659
1659
  .ga-segmented-control__button {
1660
1660
  display: inline-flex;
1661
- height: calc(0.25rem * 9);
1661
+ height: calc(0.25rem * 8.5);
1662
1662
  cursor: pointer;
1663
1663
  align-items: center;
1664
1664
  justify-content: center;
@@ -1667,7 +1667,6 @@
1667
1667
  border-style: var(--tw-border-style);
1668
1668
  border-width: 1px;
1669
1669
  border-color: transparent;
1670
- background-color: var(--ga-color-surface-primary);
1671
1670
  padding-inline: calc(0.25rem * 4);
1672
1671
  vertical-align: middle;
1673
1672
  --tw-leading: calc(0.25rem * 1);
@@ -1677,7 +1676,10 @@
1677
1676
  &.ga-segmented-control__button--selected, &:hover {
1678
1677
  border-color: var(--ga-color-border-action);
1679
1678
  }
1680
- &:hover {
1679
+ &.ga-segmented-control__button--selected {
1680
+ background-color: var(--ga-color-surface-primary);
1681
+ }
1682
+ &:hover:not(.ga-segmented-control__button--selected) {
1681
1683
  background-color: var(--ga-color-surface-action-hover-2);
1682
1684
  color: var(--ga-color-text-action-hover);
1683
1685
  }
@@ -1689,7 +1691,7 @@
1689
1691
  }
1690
1692
  &.ga-segmented-control__button--icon-only {
1691
1693
  padding-inline: calc(0.25rem * 2.25);
1692
- &:hover {
1694
+ &:hover:not(.ga-segmented-control__button--selected) {
1693
1695
  color: var(--ga-color-icon-action-hover);
1694
1696
  }
1695
1697
  }
@@ -1866,6 +1868,9 @@
1866
1868
  }
1867
1869
  .ga-select__value {
1868
1870
  display: contents;
1871
+ .ga-tag {
1872
+ min-width: calc(0.25rem * 0);
1873
+ }
1869
1874
  }
1870
1875
  .ga-select__input {
1871
1876
  height: calc(0.25rem * 6.5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsn-ux/gaia-styles",
3
- "version": "0.5.12",
3
+ "version": "0.5.14",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -18,6 +18,6 @@
18
18
  }
19
19
 
20
20
  &.ga-card--selected {
21
- @apply border-(--ga-color-border-focus) bg-(--ga-color-surface-success);
21
+ @apply border-(--ga-color-border-focus) bg-(--ga-color-surface-selected);
22
22
  }
23
23
  }
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  &.ga-dropdown__item--selected {
29
- @apply bg-(--ga-color-surface-success) font-semibold text-(--ga-color-text-body);
29
+ @apply bg-(--ga-color-surface-selected) font-semibold text-(--ga-color-text-body);
30
30
 
31
31
  &.ga-dropdown__item--disabled {
32
32
  @apply bg-(--ga-color-surface-disable-selected) text-(--ga-color-text-on-action);
@@ -2,14 +2,18 @@
2
2
  @apply text-md inline-flex items-center justify-center gap-0.5 rounded border border-(--ga-color-border-primary) p-0.5 align-middle;
3
3
 
4
4
  .ga-segmented-control__button {
5
- @apply inline-flex h-9 cursor-pointer items-center justify-center gap-2 rounded border border-transparent bg-(--ga-color-surface-primary) px-4 align-middle leading-1 whitespace-nowrap text-(--ga-color-text-action);
5
+ @apply inline-flex h-8.5 cursor-pointer items-center justify-center gap-2 rounded border border-transparent px-4 align-middle leading-1 whitespace-nowrap text-(--ga-color-text-action);
6
6
 
7
7
  &.ga-segmented-control__button--selected,
8
8
  &:hover {
9
9
  @apply border-(--ga-color-border-action);
10
10
  }
11
11
 
12
- &:hover {
12
+ &.ga-segmented-control__button--selected {
13
+ @apply bg-(--ga-color-surface-primary);
14
+ }
15
+
16
+ &:hover:not(.ga-segmented-control__button--selected) {
13
17
  @apply bg-(--ga-color-surface-action-hover-2) text-(--ga-color-text-action-hover);
14
18
  }
15
19
 
@@ -20,7 +24,7 @@
20
24
  &.ga-segmented-control__button--icon-only {
21
25
  @apply px-2.25;
22
26
 
23
- &:hover {
27
+ &:hover:not(.ga-segmented-control__button--selected) {
24
28
  @apply text-(--ga-color-icon-action-hover);
25
29
  }
26
30
  }
@@ -85,6 +85,10 @@
85
85
 
86
86
  .ga-select__value {
87
87
  @apply contents;
88
+
89
+ .ga-tag {
90
+ @apply min-w-0;
91
+ }
88
92
  }
89
93
 
90
94
  .ga-select__input {