@ebay/skin 19.15.0 → 19.17.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.
Files changed (134) hide show
  1. package/dist/accordion/accordion.css +1 -10
  2. package/dist/alert-dialog/alert-dialog.css +1 -11
  3. package/dist/avatar/avatar.css +1 -19
  4. package/dist/badge/badge.css +1 -1
  5. package/dist/breadcrumbs/breadcrumbs.css +1 -14
  6. package/dist/bundles/skin-default.css +1257 -2125
  7. package/dist/bundles/skin-full.css +1370 -2227
  8. package/dist/bundles/skin-headless.css +796 -1874
  9. package/dist/button/button.css +70 -107
  10. package/dist/calendar/calendar.css +42 -39
  11. package/dist/card/card.css +3 -3
  12. package/dist/carousel/carousel.css +31 -28
  13. package/dist/ccd/ccd.css +2 -5
  14. package/dist/checkbox/checkbox.css +0 -14
  15. package/dist/chip/chip.css +1 -5
  16. package/dist/chips-combobox/chips-combobox.css +4 -21
  17. package/dist/combobox/combobox.css +49 -35
  18. package/dist/confirm-dialog/confirm-dialog.css +1 -11
  19. package/dist/cta-button/cta-button.css +2 -12
  20. package/dist/date-textbox/date-textbox.css +0 -4
  21. package/dist/details/details.css +34 -17
  22. package/dist/donut-chart/donut-chart.css +2 -10
  23. package/dist/drawer-dialog/drawer-dialog.css +1 -11
  24. package/dist/education-notice/education-notice.css +4 -16
  25. package/dist/eek/eek.css +2 -28
  26. package/dist/field/field.css +2 -25
  27. package/dist/file-input/file-input.css +4 -14
  28. package/dist/file-preview-card/file-preview-card.css +46 -43
  29. package/dist/file-preview-card-group/file-preview-card-group.css +0 -3
  30. package/dist/filter-button/filter-button.css +39 -53
  31. package/dist/filter-chip/filter-chip.css +41 -18
  32. package/dist/filter-menu/filter-menu.css +108 -82
  33. package/dist/filter-menu-button/filter-menu-button.css +107 -89
  34. package/dist/flag/flag.css +0 -253
  35. package/dist/floating-label/floating-label.css +4 -20
  36. package/dist/fullscreen-dialog/fullscreen-dialog.css +0 -10
  37. package/dist/global/global.css +2 -6
  38. package/dist/icon/icon.css +2 -2
  39. package/dist/icon-button/icon-button.css +71 -89
  40. package/dist/infotip/infotip.css +0 -24
  41. package/dist/inline-notice/inline-notice.css +0 -5
  42. package/dist/item-tile/item-tile.css +1 -0
  43. package/dist/layout-grid/layout-grid.css +0 -7
  44. package/dist/lightbox-dialog/lightbox-dialog.css +2 -24
  45. package/dist/link/link.css +0 -2
  46. package/dist/list/list.css +34 -32
  47. package/dist/listbox/listbox.css +45 -16
  48. package/dist/listbox-button/listbox-button.css +50 -35
  49. package/dist/menu/menu.css +70 -10
  50. package/dist/menu-button/menu-button.css +90 -39
  51. package/dist/mixins/_title.scss +1 -1
  52. package/dist/mixins/_typography.scss +9 -9
  53. package/dist/mixins/_utility.scss +1 -1
  54. package/dist/mixins/typography-mixins.less +10 -10
  55. package/dist/number-input/number-input.css +0 -16
  56. package/dist/page-grid/page-grid.css +0 -1
  57. package/dist/page-notice/page-notice.css +12 -33
  58. package/dist/pagination/pagination.css +39 -22
  59. package/dist/panel-dialog/panel-dialog.css +0 -14
  60. package/dist/phone-input/phone-input.css +5 -25
  61. package/dist/progress-bar/progress-bar.css +1 -6
  62. package/dist/progress-bar-expressive/progress-bar-expressive.css +4 -28
  63. package/dist/progress-spinner/progress-spinner.css +0 -2
  64. package/dist/progress-stepper/progress-stepper.css +7 -47
  65. package/dist/radio/radio.css +0 -14
  66. package/dist/section-notice/section-notice.css +5 -21
  67. package/dist/section-title/section-title.css +4 -16
  68. package/dist/segmented-buttons/segmented-buttons.css +37 -17
  69. package/dist/select/select.css +5 -17
  70. package/dist/selection-chip/selection-chip.css +30 -14
  71. package/dist/signal/signal.css +1 -1
  72. package/dist/skeleton/skeleton.css +3 -26
  73. package/dist/snackbar-dialog/snackbar-dialog.css +0 -11
  74. package/dist/star-rating/star-rating.css +0 -2
  75. package/dist/star-rating-select/star-rating-select.css +0 -7
  76. package/dist/svg/icon/icon-stepper-confirmation-24.svg +1 -1
  77. package/dist/svg/icon/icon-stepper-current-24.svg +1 -1
  78. package/dist/svg/icon/icon-stepper-upcoming-24.svg +1 -1
  79. package/dist/svg/icons.svg +3 -3
  80. package/dist/switch/switch.css +34 -19
  81. package/dist/table/table.css +4 -51
  82. package/dist/tabs/tabs.css +6 -1
  83. package/dist/textbox/textbox.css +18 -10
  84. package/dist/toast-dialog/toast-dialog.css +80 -49
  85. package/dist/toggle-button/toggle-button.css +7 -39
  86. package/dist/toggle-button-group/toggle-button-group.css +0 -16
  87. package/dist/tokens/evo-core.css +351 -165
  88. package/dist/tokens/evo-dark-class.css +128 -0
  89. package/dist/tokens/evo-dark.css +156 -100
  90. package/dist/tokens/evo-light-class.css +126 -0
  91. package/dist/tokens/evo-light.css +157 -97
  92. package/dist/tokens/evo-live-dark-class.css +126 -0
  93. package/dist/tokens/evo-live-dark.css +126 -0
  94. package/dist/tokens/evo-live-light-class.css +128 -0
  95. package/dist/tokens/evo-live-light.css +128 -0
  96. package/dist/tooltip/tooltip.css +0 -23
  97. package/dist/tourtip/tourtip.css +0 -27
  98. package/dist/typography/typography.css +8 -28
  99. package/dist/utility/utility.css +1 -8
  100. package/dist/video/video.css +56 -15
  101. package/evo-class.css +2 -0
  102. package/evo-class.js +2 -0
  103. package/evo-class.mjs +2 -0
  104. package/evo-live-class.css +2 -0
  105. package/evo-live-class.js +2 -0
  106. package/evo-live-class.mjs +2 -0
  107. package/evo-live.css +2 -0
  108. package/evo-live.js +2 -0
  109. package/evo-live.mjs +2 -0
  110. package/package.json +4 -8
  111. package/tokens/evo-dark-class.browser.json +1 -0
  112. package/tokens/evo-dark-class.css +1 -0
  113. package/tokens/evo-dark-class.js +1 -0
  114. package/tokens/evo-dark-class.mjs +1 -0
  115. package/tokens/evo-light-class.browser.json +1 -0
  116. package/tokens/evo-light-class.css +1 -0
  117. package/tokens/evo-light-class.js +1 -0
  118. package/tokens/evo-light-class.mjs +1 -0
  119. package/tokens/evo-live-dark-class.browser.json +1 -0
  120. package/tokens/evo-live-dark-class.css +1 -0
  121. package/tokens/evo-live-dark-class.js +1 -0
  122. package/tokens/evo-live-dark-class.mjs +1 -0
  123. package/tokens/evo-live-dark.browser.json +1 -0
  124. package/tokens/evo-live-dark.css +1 -0
  125. package/tokens/evo-live-dark.js +1 -0
  126. package/tokens/evo-live-dark.mjs +1 -0
  127. package/tokens/evo-live-light-class.browser.json +1 -0
  128. package/tokens/evo-live-light-class.css +1 -0
  129. package/tokens/evo-live-light-class.js +1 -0
  130. package/tokens/evo-live-light-class.mjs +1 -0
  131. package/tokens/evo-live-light.browser.json +1 -0
  132. package/tokens/evo-live-light.css +1 -0
  133. package/tokens/evo-live-light.js +1 -0
  134. package/tokens/evo-live-light.mjs +1 -0
@@ -1,3 +1,8 @@
1
+ :root {
2
+ --state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
3
+ --state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
4
+ }
5
+
1
6
  .switch {
2
7
  box-sizing: border-box;
3
8
  height: 40px;
@@ -19,7 +24,7 @@ span.switch__button {
19
24
  --switch-unchecked-background-color,
20
25
  var(--color-background-secondary)
21
26
  );
22
- border-color: var(--switch-border-color, var(--color-stroke-strong));
27
+ border-color: var(--switch-border-color, var(--color-border-strong));
23
28
  border-radius: 400px;
24
29
  border-style: solid;
25
30
  border-width: 1px;
@@ -29,11 +34,13 @@ span.switch__button {
29
34
  text-indent: 100%;
30
35
  width: 40px;
31
36
  }
37
+
32
38
  span.switch__button,
33
39
  span.switch__button:after {
34
40
  height: 24px;
35
41
  transition: left 0.15s ease-out 0s;
36
42
  }
43
+
37
44
  span.switch__button:after {
38
45
  background-color: var(
39
46
  --switch-foreground-color,
@@ -41,7 +48,7 @@ span.switch__button:after {
41
48
  );
42
49
  border-color: var(
43
50
  --switch-foreground-border-color,
44
- var(--color-stroke-strong)
51
+ var(--color-border-strong)
45
52
  );
46
53
  border-radius: 50%;
47
54
  border-style: solid;
@@ -67,21 +74,25 @@ span.switch__control {
67
74
  width: 40px;
68
75
  z-index: 1;
69
76
  }
77
+
70
78
  input.switch__control[disabled] + span.switch__button,
71
79
  span.switch__control[aria-disabled="true"] + span.switch__button {
72
- border-color: var(--switch-border-color, var(--color-stroke-disabled));
80
+ border-color: var(--switch-border-color, var(--color-border-disabled));
73
81
  }
74
82
 
75
83
  input.switch__control {
76
84
  opacity: 0;
77
85
  }
86
+
78
87
  input.switch__control:focus + span.switch__button {
79
88
  outline: 1px auto
80
89
  var(--switch-custom-outline-color, var(--color-foreground-secondary));
81
90
  }
91
+
82
92
  input.switch__control:focus:not(:focus-visible) + span.switch__button {
83
93
  outline: none;
84
94
  }
95
+
85
96
  input.switch__control[disabled] + span.switch__button:after,
86
97
  span.switch__control[aria-disabled="true"] + span.switch__button:after {
87
98
  border-color: var(--switch-border-color, var(--color-background-disabled));
@@ -91,11 +102,24 @@ input.switch__control:not([disabled]):focus + span.switch__button,
91
102
  input.switch__control:not([disabled]):hover + span.switch__button,
92
103
  span.switch__control:not([aria-disabled="true"]):focus + span.switch__button,
93
104
  span.switch__control:not([aria-disabled="true"]):hover + span.switch__button {
94
- background-color: var(
95
- --switch-unchecked-hover-background-color,
96
- var(--color-state-secondary-hover)
97
- );
105
+ overflow: hidden;
106
+ position: relative;
98
107
  }
108
+
109
+ input.switch__control:not([disabled]):focus + span.switch__button:before,
110
+ input.switch__control:not([disabled]):hover + span.switch__button:before,
111
+ span.switch__control:not([aria-disabled="true"]):focus
112
+ + span.switch__button:before,
113
+ span.switch__control:not([aria-disabled="true"]):hover
114
+ + span.switch__button:before {
115
+ background-color: var(--color-state-layer-neutral);
116
+ background-color: var(--color-state-layer-hover);
117
+ content: "";
118
+ inset: 0;
119
+ pointer-events: none;
120
+ position: absolute;
121
+ }
122
+
99
123
  input.switch__control:not([disabled]):checked + span.switch__button,
100
124
  span.switch__control:not([aria-disabled="true"])[aria-checked="true"]
101
125
  + span.switch__button {
@@ -104,6 +128,7 @@ span.switch__control:not([aria-disabled="true"])[aria-checked="true"]
104
128
  var(--color-background-accent)
105
129
  );
106
130
  }
131
+
107
132
  input.switch__control[disabled]:checked + span.switch__button,
108
133
  span.switch__control[aria-disabled="true"][aria-checked="true"]
109
134
  + span.switch__button {
@@ -119,24 +144,14 @@ span.switch__control:not([aria-disabled="true"]):focus-visible
119
144
  + span.switch__button {
120
145
  box-shadow:
121
146
  0 0 0 2px var(--color-background-primary),
122
- 0 0 0 4px var(--color-state-accent-hover);
147
+ 0 0 0 4px var(--color-background-accent);
123
148
  }
124
149
 
125
- input.switch__control:not([disabled]):checked:focus + span.switch__button,
126
- input.switch__control:not([disabled]):checked:hover + span.switch__button,
127
- span.switch__control:not([aria-disabled="true"])[aria-checked="true"]:focus
128
- + span.switch__button,
129
- span.switch__control:not([aria-disabled="true"])[aria-checked="true"]:hover
130
- + span.switch__button {
131
- background-color: var(
132
- --switch-checked-hover-background-color,
133
- var(--color-state-accent-hover)
134
- );
135
- }
136
150
  input.switch__control:checked + span.switch__button:after,
137
151
  span.switch__control[aria-checked="true"] + span.switch__button:after {
138
152
  left: 15px;
139
153
  }
154
+
140
155
  span.switch__control:focus:not(:focus-visible) {
141
156
  outline: 0;
142
157
  }
@@ -6,20 +6,16 @@
6
6
  scroll-snap-type: proximity;
7
7
  scroll-snap-type: x proximity;
8
8
  }
9
-
10
9
  .table::-webkit-scrollbar {
11
- background-color: var(--color-background-faint);
10
+ background-color: var(--color-state-layer-focus);
12
11
  border-radius: 12px;
13
12
  }
14
-
15
13
  .table::-webkit-scrollbar:vertical {
16
14
  width: 6px;
17
15
  }
18
-
19
16
  .table::-webkit-scrollbar:horizontal {
20
17
  height: 6px;
21
18
  }
22
-
23
19
  .table::-webkit-scrollbar-thumb {
24
20
  background-color: var(--color-foreground-secondary);
25
21
  border-color: transparent;
@@ -27,17 +23,15 @@
27
23
  border-right-style: inset;
28
24
  box-shadow: none;
29
25
  }
30
-
31
26
  .table table {
32
27
  border-collapse: initial;
33
28
  border-spacing: 0;
34
29
  width: 100%;
35
30
  }
36
-
37
31
  .table td,
38
32
  .table th {
39
33
  background-color: var(--color-background-primary);
40
- border-bottom: 1px solid var(--color-stroke-subtle);
34
+ border-bottom: 1px solid var(--color-border-subtle);
41
35
  box-sizing: border-box;
42
36
  height: 80px;
43
37
  max-height: 80px;
@@ -45,35 +39,29 @@
45
39
  min-width: 124px;
46
40
  padding: 12px;
47
41
  }
48
-
49
42
  .table th {
50
43
  white-space: nowrap;
51
44
  }
52
-
53
45
  .table--density-compact td,
54
46
  .table--density-compact th {
55
47
  height: 64px;
56
48
  max-height: 64px;
57
49
  padding: 12px;
58
50
  }
59
-
60
51
  .table--density-relaxed td,
61
52
  .table--density-relaxed th {
62
53
  height: 112px;
63
54
  max-height: 112px;
64
55
  padding: 16px;
65
56
  }
66
-
67
57
  .table--frozen-header {
68
58
  max-height: 90vh;
69
59
  }
70
-
71
60
  .table--frozen-header thead {
72
61
  position: sticky;
73
62
  top: 0;
74
63
  z-index: 3;
75
64
  }
76
-
77
65
  .table--freeze-column-1 tr td:nth-child(-n + 1),
78
66
  .table--freeze-column-1 tr th:nth-child(-n + 1),
79
67
  .table--freeze-column-2 tr td:nth-child(-n + 2),
@@ -84,15 +72,12 @@
84
72
  max-width: 124px;
85
73
  position: sticky;
86
74
  }
87
-
88
75
  .table--full-height {
89
76
  max-height: unset;
90
77
  }
91
-
92
78
  .table--constrained-height {
93
79
  max-height: 90vh;
94
80
  }
95
-
96
81
  .table th a,
97
82
  .table th button {
98
83
  align-items: center;
@@ -100,82 +85,66 @@
100
85
  font-weight: 700;
101
86
  text-decoration: none;
102
87
  }
103
-
104
88
  .table tbody tr:last-child td,
105
89
  .table tbody tr:last-child th {
106
90
  border-bottom: none;
107
91
  }
108
-
109
92
  .table-cell {
110
93
  text-align: left;
111
94
  }
112
-
113
95
  .table-cell--numeric,
114
96
  .table__cell--numeric {
115
97
  text-align: right;
116
98
  }
117
-
118
99
  .table-cell--icon-action {
119
100
  text-align: center;
120
101
  width: 64px;
121
102
  }
122
-
123
103
  .table [data-type="numeric"] {
124
104
  text-align: right;
125
105
  }
126
-
127
106
  .table-cell img {
128
107
  max-height: 56px;
129
108
  max-width: 56px;
130
109
  }
131
-
132
110
  .table--density-compact .table-cell img {
133
111
  max-height: 40px;
134
112
  max-width: 40px;
135
113
  }
136
-
137
114
  .table--density-relaxed .table-cell img {
138
115
  max-height: 72px;
139
116
  max-width: 72px;
140
117
  }
141
-
142
118
  .table th[scope="row"] {
143
119
  text-align: left;
144
120
  }
145
-
146
121
  .table td:last-child,
147
122
  .table th:last-child {
148
123
  padding-inline-end: 0;
149
124
  }
150
-
151
125
  .table--loading-state {
152
126
  overflow: hidden;
153
127
  }
154
-
155
128
  .table--loading-state table {
156
129
  opacity: 0.15;
157
130
  -webkit-user-select: none;
158
131
  user-select: none;
159
132
  }
160
-
161
133
  .table--loading-state .signal,
162
134
  .table--loading-state img {
163
135
  filter: var(--color-media-disabled-filter);
164
136
  }
165
-
166
137
  .table--loading-state a {
167
138
  cursor: default;
168
139
  pointer-events: none;
169
140
  text-decoration: none;
170
141
  }
171
-
172
142
  .table--loading-state .progress-bar-expressive {
173
143
  bottom: 50%;
174
144
  left: 0;
175
145
  position: absolute;
176
146
  right: 0;
177
147
  }
178
-
179
148
  .table--mode-selection td:first-child,
180
149
  .table--mode-selection th:first-child {
181
150
  min-width: 48px;
@@ -185,11 +154,9 @@
185
154
  .table--mode-selection tr:has(input:checked) :where(td, th) {
186
155
  background-color: var(--color-background-secondary);
187
156
  }
188
-
189
157
  .table tbody th {
190
158
  font-weight: 400;
191
159
  }
192
-
193
160
  .table thead button {
194
161
  background-color: initial;
195
162
  border: 1px solid transparent;
@@ -198,7 +165,7 @@
198
165
  color: inherit;
199
166
  display: inline-block;
200
167
  font-family: inherit;
201
- font-size: var(--font-size-default);
168
+ font-size: var(--font-size-body);
202
169
  margin: 0;
203
170
  min-height: 40px;
204
171
  min-width: auto;
@@ -209,19 +176,16 @@
209
176
  vertical-align: initial;
210
177
  white-space: nowrap;
211
178
  }
212
-
213
179
  .table-cell__data {
214
180
  line-height: var(--spacing-250);
215
181
  max-width: 400px;
216
182
  min-width: 124px;
217
183
  }
218
-
219
184
  .table-cell__data--secondary {
220
185
  color: var(--color-foreground-secondary);
221
- font-size: var(--font-size-12);
186
+ font-size: var(--font-size-small);
222
187
  line-height: var(--spacing-200);
223
188
  }
224
-
225
189
  .table-cell__thumbnail {
226
190
  align-items: center;
227
191
  background-color: var(--color-background-tertiary);
@@ -234,61 +198,50 @@
234
198
  text-align: center;
235
199
  width: 56px;
236
200
  }
237
-
238
201
  .table--density-compact .table-cell__thumbnail {
239
202
  border-radius: 4px;
240
203
  height: 40px;
241
204
  width: 40px;
242
205
  }
243
-
244
206
  .table--density-relaxed .table-cell__thumbnail {
245
207
  border-radius: 8px;
246
208
  height: 72px;
247
209
  width: 72px;
248
210
  }
249
-
250
211
  .table-cell__layout {
251
212
  align-items: center;
252
213
  display: flex;
253
214
  gap: var(--spacing-200);
254
215
  width: max-content;
255
216
  }
256
-
257
217
  .table-cell__layout > * {
258
218
  flex-shrink: 0;
259
219
  }
260
-
261
220
  .table-cell__multiline {
262
221
  max-height: 80px;
263
222
  max-width: 304px;
264
223
  }
265
-
266
224
  .table--density-compact .table-cell__multiline {
267
225
  max-height: 64px;
268
226
  max-width: 320px;
269
227
  }
270
-
271
228
  .table--density-relaxed .table-cell__multiline {
272
229
  max-height: 112px;
273
230
  max-width: 272px;
274
231
  }
275
-
276
232
  .table-cell__layout .table-cell__multiline .table-cell__data {
277
233
  margin-block-end: var(--spacing-50);
278
234
  overflow: hidden;
279
235
  text-overflow: ellipsis;
280
236
  white-space: nowrap;
281
237
  }
282
-
283
238
  .table-cell .textbox,
284
239
  .table-cell .textbox__control {
285
240
  width: 100%;
286
241
  }
287
-
288
242
  .table-cell--numeric .textbox__control {
289
243
  text-align: right;
290
244
  }
291
-
292
245
  .table-cell .signal {
293
246
  white-space: nowrap;
294
247
  }
@@ -10,7 +10,7 @@ span.tabs {
10
10
 
11
11
  div.tabs__items[role="tablist"],
12
12
  ul.fake-tabs__items {
13
- font-size: var(--font-size-default);
13
+ font-size: var(--font-size-body);
14
14
  }
15
15
 
16
16
  ul.fake-tabs__items {
@@ -30,6 +30,7 @@ li.fake-tabs__item {
30
30
  position: relative;
31
31
  -webkit-tap-highlight-color: var(--color-background-secondary);
32
32
  }
33
+
33
34
  div.tabs__item[role="tab"]:not(:last-child),
34
35
  li.fake-tabs__item:not(:last-child) {
35
36
  margin-inline-end: var(--spacing-450);
@@ -49,6 +50,7 @@ li.fake-tabs__item > a {
49
50
  color: var(--tabs-item-foreground-color, var(--color-foreground-secondary));
50
51
  display: inline-block;
51
52
  }
53
+
52
54
  div.tabs__item[role="tab"] > span:after,
53
55
  li.fake-tabs__item > a:after {
54
56
  background-color: initial;
@@ -68,10 +70,12 @@ li.fake-tabs__item > a[aria-current] {
68
70
  var(--color-foreground-primary)
69
71
  );
70
72
  }
73
+
71
74
  div.tabs__item[role="tab"][aria-selected="true"] > span:after,
72
75
  li.fake-tabs__item > a[aria-current]:after {
73
76
  background-color: currentColor;
74
77
  }
78
+
75
79
  div.tabs__item[role="tab"]:focus:not(:focus-visible),
76
80
  li.fake-tabs__item a:focus:not(:focus-visible) {
77
81
  outline: none;
@@ -86,6 +90,7 @@ li.fake-tabs__item > a:not([aria-current]):hover {
86
90
  var(--color-foreground-secondary)
87
91
  );
88
92
  }
93
+
89
94
  div.tabs__item[role="tab"]:not([aria-selected="true"]):focus > span:after,
90
95
  div.tabs__item[role="tab"]:not([aria-selected="true"]):hover > span:after,
91
96
  li.fake-tabs__item > a:not([aria-current]):focus:after,
@@ -9,26 +9,25 @@
9
9
  --textbox-background-color,
10
10
  var(--color-background-secondary)
11
11
  );
12
- border-color: var(--textbox-border-color, var(--color-stroke-default));
12
+ border-color: var(--textbox-border-color, var(--color-border-medium));
13
13
  border-radius: var(--textbox-border-radius, var(--border-radius-50));
14
14
  border-style: solid;
15
15
  border-width: 1px;
16
16
  box-sizing: border-box;
17
- color: var(
18
- --textbox-foreground-color,
19
- var(--color-foreground-on-secondary)
20
- );
17
+ color: var(--textbox-foreground-color, var(--color-foreground-primary));
21
18
  display: inline-flex;
22
- font-size: var(--font-size-default);
19
+ font-size: var(--font-size-body);
23
20
  gap: var(--spacing-100);
24
21
  overflow: hidden;
25
22
  position: relative;
26
23
  width: fit-content;
27
24
  }
25
+
28
26
  .textbox button.icon-btn {
29
27
  background-color: initial;
30
28
  padding: 0;
31
29
  }
30
+
32
31
  .textbox--focus,
33
32
  .textbox:has(> .textbox__control:focus):not(.textbox--readonly):not(
34
33
  :has(> .textbox__control[readonly])
@@ -37,14 +36,16 @@
37
36
  --textbox-focus-background-color,
38
37
  var(--color-background-primary)
39
38
  );
40
- border-color: var(--textbox-focus-border-color, var(--color-stroke-strong));
41
- box-shadow: 0 0 0 1px var(--color-stroke-strong);
39
+ border-color: var(--textbox-focus-border-color, var(--color-border-strong));
40
+ box-shadow: 0 0 0 1px var(--color-border-strong);
42
41
  }
42
+
43
43
  .textbox--readonly,
44
44
  .textbox:has(> .textbox__control[readonly]) {
45
45
  background-color: initial;
46
46
  border: none;
47
47
  }
48
+
48
49
  .textbox--disabled,
49
50
  .textbox:has(> .textbox__control[disabled]) {
50
51
  border-color: var(
@@ -56,11 +57,12 @@
56
57
  var(--color-foreground-disabled)
57
58
  );
58
59
  }
60
+
59
61
  .textbox--invalid,
60
62
  .textbox:has(> .textbox__control[aria-invalid="true"]) {
61
63
  border-color: var(
62
64
  --textbox-invalid-border-color,
63
- var(--color-stroke-attention)
65
+ var(--color-border-attention)
64
66
  );
65
67
  }
66
68
 
@@ -104,6 +106,7 @@ textarea.textbox__control {
104
106
  margin: 0;
105
107
  outline: none;
106
108
  }
109
+
107
110
  input.textbox__control[disabled],
108
111
  textarea.textbox__control[disabled] {
109
112
  border-color: var(
@@ -115,6 +118,7 @@ textarea.textbox__control[disabled] {
115
118
  var(--color-foreground-disabled)
116
119
  );
117
120
  }
121
+
118
122
  input.textbox__control[disabled]::-webkit-input-placeholder,
119
123
  textarea.textbox__control[disabled]::-webkit-input-placeholder {
120
124
  color: var(
@@ -122,6 +126,7 @@ textarea.textbox__control[disabled]::-webkit-input-placeholder {
122
126
  var(--color-foreground-ghost)
123
127
  );
124
128
  }
129
+
125
130
  input.textbox__control[disabled]::-moz-placeholder,
126
131
  textarea.textbox__control[disabled]::-moz-placeholder {
127
132
  color: var(
@@ -129,6 +134,7 @@ textarea.textbox__control[disabled]::-moz-placeholder {
129
134
  var(--color-foreground-ghost)
130
135
  );
131
136
  }
137
+
132
138
  input.textbox__control[disabled]:-ms-input-placeholder,
133
139
  textarea.textbox__control[disabled]:-ms-input-placeholder {
134
140
  color: var(
@@ -136,13 +142,15 @@ textarea.textbox__control[disabled]:-ms-input-placeholder {
136
142
  var(--color-foreground-ghost)
137
143
  );
138
144
  }
145
+
139
146
  input.textbox__control[aria-invalid="true"],
140
147
  textarea.textbox__control[aria-invalid="true"] {
141
148
  border-color: var(
142
149
  --textbox-invalid-foreground-color,
143
- var(--color-stroke-attention)
150
+ var(--color-border-attention)
144
151
  );
145
152
  }
153
+
146
154
  input.textbox__control::placeholder,
147
155
  textarea.textbox__control::placeholder {
148
156
  color: var(--textbox-placeholder-color, var(--color-foreground-secondary));