@vsn-ux/gaia-styles 0.3.2 → 0.4.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/base.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
2
  body {
3
3
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
4
4
  font-feature-settings: 'liga' 1, 'calt' 1;
@@ -1,4 +1,12 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-font-weight: initial;
7
+ }
8
+ }
9
+ }
2
10
  .ga-avatar {
3
11
  display: inline-flex;
4
12
  height: calc(0.25rem * 10);
@@ -15,15 +23,15 @@
15
23
  &.ga-avatar--small {
16
24
  height: calc(0.25rem * 6);
17
25
  width: calc(0.25rem * 6);
18
- font-size: var(--ga-size-font-sm);
19
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
26
+ font-size: var(--ga-text-sm-font-size);
27
+ line-height: var(--tw-leading, var(--ga-text-sm-line-height));
20
28
  letter-spacing: var(--tw-tracking, 0);
21
29
  }
22
30
  &.ga-avatar--large {
23
31
  height: calc(0.25rem * 16);
24
32
  width: calc(0.25rem * 16);
25
- font-size: var(--ga-size-font-2xl);
26
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 2.25));
33
+ font-size: var(--ga-text-2xl-font-size);
34
+ line-height: var(--tw-leading, var(--ga-text-2xl-line-height));
27
35
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.019));
28
36
  }
29
37
  }
@@ -1,4 +1,26 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-leading: initial;
6
+ --tw-font-weight: initial;
7
+ --tw-shadow: 0 0 #0000;
8
+ --tw-shadow-color: initial;
9
+ --tw-shadow-alpha: 100%;
10
+ --tw-inset-shadow: 0 0 #0000;
11
+ --tw-inset-shadow-color: initial;
12
+ --tw-inset-shadow-alpha: 100%;
13
+ --tw-ring-color: initial;
14
+ --tw-ring-shadow: 0 0 #0000;
15
+ --tw-inset-ring-color: initial;
16
+ --tw-inset-ring-shadow: 0 0 #0000;
17
+ --tw-ring-inset: initial;
18
+ --tw-ring-offset-width: 0px;
19
+ --tw-ring-offset-color: #fff;
20
+ --tw-ring-offset-shadow: 0 0 #0000;
21
+ }
22
+ }
23
+ }
2
24
  .ga-badge {
3
25
  display: inline-block;
4
26
  border-radius: calc(infinity * 1px);
@@ -7,8 +29,8 @@
7
29
  min-width: calc(0.25rem * 6);
8
30
  padding: calc(0.25rem * 1);
9
31
  text-align: center;
10
- font-size: var(--ga-size-font-sm);
11
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
32
+ font-size: var(--ga-text-sm-font-size);
33
+ line-height: var(--tw-leading, var(--ga-text-sm-line-height));
12
34
  letter-spacing: var(--tw-tracking, 0);
13
35
  --tw-leading: calc(0.25rem * 4);
14
36
  line-height: calc(0.25rem * 4);
@@ -74,6 +96,11 @@
74
96
  syntax: "*";
75
97
  inherits: false;
76
98
  }
99
+ @property --tw-shadow-alpha {
100
+ syntax: "<percentage>";
101
+ inherits: false;
102
+ initial-value: 100%;
103
+ }
77
104
  @property --tw-inset-shadow {
78
105
  syntax: "*";
79
106
  inherits: false;
@@ -83,6 +110,11 @@
83
110
  syntax: "*";
84
111
  inherits: false;
85
112
  }
113
+ @property --tw-inset-shadow-alpha {
114
+ syntax: "<percentage>";
115
+ inherits: false;
116
+ initial-value: 100%;
117
+ }
86
118
  @property --tw-ring-color {
87
119
  syntax: "*";
88
120
  inherits: false;
@@ -1,4 +1,14 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-leading: initial;
6
+ --tw-font-weight: initial;
7
+ --tw-outline-style: solid;
8
+ --tw-border-style: solid;
9
+ }
10
+ }
11
+ }
2
12
  .ga-button {
3
13
  display: inline-flex;
4
14
  height: calc(0.25rem * 10);
@@ -9,8 +19,8 @@
9
19
  border-radius: var(--ga-radius);
10
20
  padding-inline: calc(0.25rem * 4);
11
21
  vertical-align: middle;
12
- font-size: var(--ga-size-font-md);
13
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
22
+ font-size: var(--ga-text-md-font-size);
23
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
14
24
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
15
25
  --tw-leading: calc(0.25rem * 1);
16
26
  line-height: calc(0.25rem * 1);
@@ -53,7 +63,7 @@
53
63
  }
54
64
  &:disabled {
55
65
  border-color: var(--ga-color-border-disabled);
56
- background-color: var(--ga-color-surace-page);
66
+ background-color: var(--ga-color-surface-page);
57
67
  color: var(--ga-color-text-disabled);
58
68
  }
59
69
  }
@@ -1,4 +1,12 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-outline-style: solid;
7
+ }
8
+ }
9
+ }
2
10
  .ga-card {
3
11
  display: inline-block;
4
12
  border-radius: var(--ga-radius);
@@ -7,8 +15,8 @@
7
15
  border-color: var(--ga-color-border-primary);
8
16
  background-color: #fff;
9
17
  padding: calc(0.25rem * 4);
10
- font-size: var(--ga-size-font-md);
11
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
18
+ font-size: var(--ga-text-md-font-size);
19
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
12
20
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
13
21
  &.ga-card--selectable {
14
22
  cursor: pointer;
@@ -1,4 +1,13 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-outline-style: solid;
7
+ --tw-leading: initial;
8
+ }
9
+ }
10
+ }
2
11
  .ga-checkbox {
3
12
  position: relative;
4
13
  display: inline-flex;
@@ -75,8 +84,8 @@
75
84
  }
76
85
  .ga-checkbox__label {
77
86
  min-height: calc(0.25rem * 4);
78
- font-size: var(--ga-size-font-md);
79
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
87
+ font-size: var(--ga-text-md-font-size);
88
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
80
89
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
81
90
  --tw-leading: calc(0.25rem * 4);
82
91
  line-height: calc(0.25rem * 4);
@@ -1,4 +1,14 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-leading: initial;
7
+ --tw-font-weight: initial;
8
+ --tw-content: "";
9
+ }
10
+ }
11
+ }
2
12
  .ga-dropdown {
3
13
  display: flex;
4
14
  max-height: calc(0.25rem * 81);
@@ -11,8 +21,8 @@
11
21
  border-width: 1px;
12
22
  border-color: var(--ga-color-border-primary);
13
23
  background-color: var(--ga-color-surface-primary);
14
- font-size: var(--ga-size-font-md);
15
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
24
+ font-size: var(--ga-text-md-font-size);
25
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
16
26
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
17
27
  --tw-outline-style: none;
18
28
  outline-style: none;
@@ -29,8 +39,8 @@
29
39
  padding-inline: calc(0.25rem * 3);
30
40
  padding-block: calc(0.25rem * 2);
31
41
  text-align: left;
32
- font-size: var(--ga-size-font-md);
33
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
42
+ font-size: var(--ga-text-md-font-size);
43
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
34
44
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
35
45
  --tw-leading: 1;
36
46
  line-height: 1;
@@ -87,8 +97,8 @@
87
97
  padding-inline: calc(0.25rem * 3);
88
98
  padding-top: calc(0.25rem * 3);
89
99
  padding-bottom: calc(0.25rem * 2);
90
- font-size: var(--ga-size-font-sm);
91
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
100
+ font-size: var(--ga-text-sm-font-size);
101
+ line-height: var(--tw-leading, var(--ga-text-sm-line-height));
92
102
  letter-spacing: var(--tw-tracking, 0);
93
103
  --tw-font-weight: 600;
94
104
  font-weight: 600;
@@ -1,4 +1,14 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-leading: initial;
6
+ --tw-outline-style: solid;
7
+ --tw-font-weight: initial;
8
+ --tw-border-style: solid;
9
+ }
10
+ }
11
+ }
2
12
  .ga-form-field {
3
13
  display: flex;
4
14
  flex-direction: column;
@@ -30,15 +40,15 @@
30
40
  overflow: hidden;
31
41
  text-overflow: ellipsis;
32
42
  white-space: nowrap;
33
- font-size: var(--ga-size-font-md);
34
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
43
+ font-size: var(--ga-text-md-font-size);
44
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
35
45
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
36
46
  --tw-font-weight: 500;
37
47
  font-weight: 500;
38
48
  }
39
49
  .ga-form-field__label-state {
40
- font-size: var(--ga-size-font-sm);
41
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
50
+ font-size: var(--ga-text-sm-font-size);
51
+ line-height: var(--tw-leading, var(--ga-text-sm-line-height));
42
52
  letter-spacing: var(--tw-tracking, 0);
43
53
  --tw-font-weight: 400;
44
54
  font-weight: 400;
@@ -65,8 +75,8 @@
65
75
  display: flex;
66
76
  align-items: center;
67
77
  gap: calc(0.25rem * 1);
68
- font-size: var(--ga-size-font-xs);
69
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
78
+ font-size: var(--ga-text-xs-font-size);
79
+ line-height: var(--tw-leading, var(--ga-text-xs-line-height));
70
80
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
71
81
  }
72
82
  }
@@ -1,4 +1,13 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-outline-style: solid;
7
+ --tw-leading: initial;
8
+ }
9
+ }
10
+ }
2
11
  .ga-input {
3
12
  display: flex;
4
13
  height: calc(0.25rem * 10);
@@ -13,8 +22,8 @@
13
22
  background-color: var(--ga-color-bg-primary);
14
23
  padding-inline: calc(0.25rem * 3);
15
24
  padding-block: calc(0.25rem * 2);
16
- font-size: var(--ga-size-font-md);
17
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
25
+ font-size: var(--ga-text-md-font-size);
26
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
18
27
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
19
28
  &:hover {
20
29
  border-color: var(--ga-color-border-action-hover);
@@ -1,4 +1,14 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-leading: initial;
7
+ --tw-content: "";
8
+ --tw-font-weight: initial;
9
+ }
10
+ }
11
+ }
2
12
  .ga-menu {
3
13
  display: flex;
4
14
  max-height: calc(0.25rem * 81);
@@ -11,8 +21,8 @@
11
21
  border-width: 1px;
12
22
  border-color: var(--ga-color-border-primary);
13
23
  background-color: var(--ga-color-surface-primary);
14
- font-size: var(--ga-size-font-md);
15
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
24
+ font-size: var(--ga-text-md-font-size);
25
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
16
26
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
17
27
  .ga-menu__item {
18
28
  position: relative;
@@ -122,8 +132,8 @@
122
132
  overflow: hidden;
123
133
  text-overflow: ellipsis;
124
134
  white-space: nowrap;
125
- font-size: var(--ga-size-font-md);
126
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
135
+ font-size: var(--ga-text-md-font-size);
136
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
127
137
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
128
138
  --tw-font-weight: 500;
129
139
  font-weight: 500;
@@ -137,16 +147,16 @@
137
147
  border-color: var(--ga-color-border-disabled);
138
148
  background-color: #fff;
139
149
  padding-inline: calc(0.25rem * 1);
140
- font-size: var(--ga-size-font-xs);
141
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
150
+ font-size: var(--ga-text-xs-font-size);
151
+ line-height: var(--tw-leading, var(--ga-text-xs-line-height));
142
152
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
143
153
  --tw-font-weight: 500;
144
154
  font-weight: 500;
145
155
  color: var(--ga-color-text-body);
146
156
  }
147
157
  .ga-menu__item-description {
148
- font-size: var(--ga-size-font-xs);
149
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
158
+ font-size: var(--ga-text-xs-font-size);
159
+ line-height: var(--tw-leading, var(--ga-text-xs-line-height));
150
160
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
151
161
  color: var(--ga-color-text-disable-selected);
152
162
  }
@@ -160,8 +170,8 @@
160
170
  padding-inline: calc(0.25rem * 3);
161
171
  padding-top: calc(0.25rem * 3);
162
172
  padding-bottom: calc(0.25rem * 2);
163
- font-size: var(--ga-size-font-sm);
164
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
173
+ font-size: var(--ga-text-sm-font-size);
174
+ line-height: var(--tw-leading, var(--ga-text-sm-line-height));
165
175
  letter-spacing: var(--tw-tracking, 0);
166
176
  --tw-font-weight: 600;
167
177
  font-weight: 600;
@@ -1,4 +1,12 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-font-weight: initial;
7
+ }
8
+ }
9
+ }
2
10
  .ga-notification {
3
11
  display: inline-flex;
4
12
  flex-direction: row;
@@ -13,8 +21,8 @@
13
21
  padding-right: calc(0.25rem * 2);
14
22
  padding-bottom: calc(0.25rem * 4);
15
23
  padding-left: calc(0.25rem * 4);
16
- font-size: var(--ga-size-font-md);
17
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
24
+ font-size: var(--ga-text-md-font-size);
25
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
18
26
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
19
27
  &.ga-notification--information {
20
28
  border-color: var(--ga-color-border-information);
@@ -1,4 +1,17 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-outline-style: solid;
6
+ --tw-translate-x: 0;
7
+ --tw-translate-y: 0;
8
+ --tw-translate-z: 0;
9
+ --tw-content: "";
10
+ --tw-border-style: solid;
11
+ --tw-leading: initial;
12
+ }
13
+ }
14
+ }
2
15
  .ga-radio-group {
3
16
  display: inline-flex;
4
17
  flex-direction: column;
@@ -90,8 +103,8 @@
90
103
  }
91
104
  .ga-radio-button__label {
92
105
  min-height: calc(0.25rem * 4);
93
- font-size: var(--ga-size-font-md);
94
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
106
+ font-size: var(--ga-text-md-font-size);
107
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
95
108
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
96
109
  --tw-leading: calc(0.25rem * 4);
97
110
  line-height: calc(0.25rem * 4);
@@ -1,63 +1,62 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-leading: initial;
7
+ --tw-outline-style: solid;
8
+ }
9
+ }
10
+ }
2
11
  .ga-segmented-control {
3
12
  display: inline-flex;
4
- height: calc(0.25rem * 10);
5
13
  align-items: center;
6
14
  justify-content: center;
15
+ gap: calc(0.25rem * 1);
16
+ border-radius: var(--ga-radius);
17
+ border-style: var(--tw-border-style);
18
+ border-width: 1px;
19
+ border-color: var(--ga-color-border-primary);
20
+ padding: calc(0.25rem * 0.5);
7
21
  vertical-align: middle;
8
- font-size: var(--ga-size-font-md);
9
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
22
+ font-size: var(--ga-text-md-font-size);
23
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
10
24
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
11
25
  .ga-segmented-control__button {
12
26
  display: inline-flex;
13
- height: calc(0.25rem * 10);
27
+ height: calc(0.25rem * 9);
28
+ cursor: pointer;
14
29
  align-items: center;
15
30
  justify-content: center;
16
31
  gap: calc(0.25rem * 2);
17
- border-top-style: var(--tw-border-style);
18
- border-top-width: 1px;
19
- border-bottom-style: var(--tw-border-style);
20
- border-bottom-width: 1px;
21
- border-left-style: var(--tw-border-style);
22
- border-left-width: 1px;
23
- border-color: var(--ga-color-neutral-30);
24
- background-color: #fff;
32
+ border-radius: var(--ga-radius);
33
+ border-style: var(--tw-border-style);
34
+ border-width: 1px;
35
+ border-color: transparent;
36
+ background-color: var(--ga-color-surface-primary);
25
37
  padding-inline: calc(0.25rem * 4);
26
38
  vertical-align: middle;
27
39
  --tw-leading: calc(0.25rem * 1);
28
40
  line-height: calc(0.25rem * 1);
29
- --tw-font-weight: 500;
30
- font-weight: 500;
31
- color: var(--ga-color-cyan-80);
32
- &:first-of-type {
33
- border-top-left-radius: var(--ga-radius);
34
- border-bottom-left-radius: var(--ga-radius);
41
+ color: var(--ga-color-text-action);
42
+ &.ga-segmented-control__button--selected, &:hover {
43
+ border-color: var(--ga-color-border-action);
35
44
  }
36
- &:last-of-type {
37
- border-top-right-radius: var(--ga-radius);
38
- border-bottom-right-radius: var(--ga-radius);
39
- border-right-style: var(--tw-border-style);
40
- border-right-width: 1px;
45
+ &:hover {
46
+ background-color: var(--ga-color-surface-action-hover-2);
47
+ color: var(--ga-color-text-action-hover);
41
48
  }
42
- &.ga-segmented-control__button--selected {
43
- background-color: var(--ga-color-cyan-80);
44
- --tw-font-weight: 600;
45
- font-weight: 600;
46
- color: var(--ga-color-orange-10);
49
+ &:focus-visible {
50
+ outline-style: var(--tw-outline-style);
51
+ outline-width: 2px;
52
+ outline-offset: 2px;
53
+ outline-color: var(--ga-color-border-focus);
47
54
  }
48
- &:not( .ga-segmented-control__button--selected, .ga-segmented-control__button--disabled, :disabled ) {
49
- cursor: pointer;
55
+ &.ga-segmented-control__button--icon-only {
56
+ padding-inline: 0.5625rem;
50
57
  &:hover {
51
- background-color: var(--ga-color-surface-action-hover-2);
58
+ color: var(--ga-color-icon-action-hover);
52
59
  }
53
- &:active {
54
- background-color: #fff;
55
- }
56
- }
57
- &.ga-segmented-control__button--disabled, &:disabled {
58
- border-color: var(--ga-color-neutral-30);
59
- background-color: var(--ga-color-neutral-10);
60
- color: var(--ga-color-grey-40);
61
60
  }
62
61
  }
63
62
  }
@@ -70,7 +69,8 @@
70
69
  syntax: "*";
71
70
  inherits: false;
72
71
  }
73
- @property --tw-font-weight {
72
+ @property --tw-outline-style {
74
73
  syntax: "*";
75
74
  inherits: false;
75
+ initial-value: solid;
76
76
  }
@@ -1,4 +1,16 @@
1
- /*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3
+ @layer base {
4
+ *, ::before, ::after, ::backdrop {
5
+ --tw-border-style: solid;
6
+ --tw-leading: initial;
7
+ --tw-translate-x: 0;
8
+ --tw-translate-y: 0;
9
+ --tw-translate-z: 0;
10
+ --tw-outline-style: solid;
11
+ }
12
+ }
13
+ }
2
14
  .ga-native-select {
3
15
  position: relative;
4
16
  select {
@@ -12,8 +24,8 @@
12
24
  padding-block: calc(0.25rem * 2);
13
25
  padding-right: calc(0.25rem * 9);
14
26
  padding-left: calc(0.25rem * 3);
15
- font-size: var(--ga-size-font-md);
16
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
27
+ font-size: var(--ga-text-md-font-size);
28
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
17
29
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
18
30
  --tw-leading: 1;
19
31
  line-height: 1;
@@ -43,8 +55,8 @@
43
55
  padding-inline: calc(0.25rem * 3);
44
56
  padding-block: calc(0.25rem * 2);
45
57
  text-align: left;
46
- font-size: var(--ga-size-font-md);
47
- line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
58
+ font-size: var(--ga-text-md-font-size);
59
+ line-height: var(--tw-leading, var(--ga-text-md-line-height));
48
60
  letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
49
61
  --tw-leading: 1;
50
62
  line-height: 1;