@ebay/skin 19.34.0 → 19.35.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 (85) hide show
  1. package/dist/accordion/accordion.css +0 -2
  2. package/dist/alert-dialog/alert-dialog.css +16 -6
  3. package/dist/avatar/avatar.css +23 -5
  4. package/dist/breadcrumbs/breadcrumbs.css +13 -0
  5. package/dist/button/button.css +65 -11
  6. package/dist/calendar/calendar.css +30 -3
  7. package/dist/carousel/carousel.css +24 -12
  8. package/dist/ccd/ccd.css +4 -0
  9. package/dist/checkbox/checkbox.css +16 -2
  10. package/dist/chip/chip.css +7 -3
  11. package/dist/chips-combobox/chips-combobox.css +18 -1
  12. package/dist/combobox/combobox.css +37 -15
  13. package/dist/confirm-dialog/confirm-dialog.css +16 -6
  14. package/dist/cta-button/cta-button.css +20 -10
  15. package/dist/date-textbox/date-textbox.css +6 -1
  16. package/dist/details/details.css +4 -0
  17. package/dist/dialog/dialog.css +19 -0
  18. package/dist/donut-chart/donut-chart.css +8 -0
  19. package/dist/drawer-dialog/drawer-dialog.css +16 -6
  20. package/dist/education-notice/education-notice.css +12 -0
  21. package/dist/eek/eek.css +28 -0
  22. package/dist/field/field.css +23 -0
  23. package/dist/file-input/file-input.css +12 -1
  24. package/dist/file-preview-card/file-preview-card.css +3 -9
  25. package/dist/file-preview-card-group/file-preview-card-group.css +3 -0
  26. package/dist/filter-button/filter-button.css +8 -1
  27. package/dist/filter-chip/filter-chip.css +13 -28
  28. package/dist/filter-menu/filter-menu.css +24 -4
  29. package/dist/filter-menu-button/filter-menu-button.css +26 -4
  30. package/dist/flag/flag.css +252 -0
  31. package/dist/floating-label/floating-label.css +20 -2
  32. package/dist/fullscreen-dialog/fullscreen-dialog.css +12 -2
  33. package/dist/global/global.css +4 -0
  34. package/dist/icon-button/icon-button.css +24 -0
  35. package/dist/infotip/infotip.css +35 -11
  36. package/dist/inline-notice/inline-notice.css +5 -0
  37. package/dist/item-tile/item-tile.css +0 -1
  38. package/dist/layout-grid/layout-grid.css +7 -0
  39. package/dist/lightbox-dialog/lightbox-dialog.css +29 -7
  40. package/dist/link/link.css +6 -4
  41. package/dist/list/list.css +15 -3
  42. package/dist/listbox/listbox.css +22 -10
  43. package/dist/listbox-button/listbox-button.css +34 -8
  44. package/dist/menu/menu.css +5 -21
  45. package/dist/menu-button/menu-button.css +35 -10
  46. package/dist/number-input/number-input.css +17 -1
  47. package/dist/page-grid/page-grid.css +4 -3
  48. package/dist/page-notice/page-notice.css +21 -1
  49. package/dist/pagination/pagination.css +22 -6
  50. package/dist/panel-dialog/panel-dialog.css +20 -6
  51. package/dist/phone-input/phone-input.css +20 -0
  52. package/dist/progress-bar/progress-bar.css +6 -1
  53. package/dist/progress-bar-expressive/progress-bar-expressive.css +85 -61
  54. package/dist/progress-spinner/progress-spinner.css +2 -0
  55. package/dist/progress-stepper/progress-stepper.css +24 -0
  56. package/dist/radio/radio.css +16 -2
  57. package/dist/section-notice/section-notice.css +16 -0
  58. package/dist/section-title/section-title.css +14 -2
  59. package/dist/segmented-buttons/segmented-buttons.css +13 -3
  60. package/dist/select/select.css +17 -5
  61. package/dist/selection-chip/selection-chip.css +9 -20
  62. package/dist/skeleton/skeleton.css +23 -0
  63. package/dist/snackbar-dialog/snackbar-dialog.css +15 -4
  64. package/dist/star-rating/star-rating.css +2 -0
  65. package/dist/star-rating-select/star-rating-select.css +8 -1
  66. package/dist/svg/icon/icon-live-bag-16.svg +1 -1
  67. package/dist/svg/icon/icon-live-bag-20.svg +1 -1
  68. package/dist/svg/icon/icon-live-bag-24.svg +1 -1
  69. package/dist/svg/icon/icon-live-bag-filled-24.svg +1 -1
  70. package/dist/svg/icon/icon-live-bag-thin-16.svg +1 -1
  71. package/dist/svg/icons.svg +5 -5
  72. package/dist/switch/switch.css +8 -21
  73. package/dist/table/table.css +47 -0
  74. package/dist/tabs/tabs.css +0 -5
  75. package/dist/textbox/textbox.css +9 -20
  76. package/dist/toast-dialog/toast-dialog.css +9 -1
  77. package/dist/toggle-button/toggle-button.css +32 -0
  78. package/dist/toggle-button-group/toggle-button-group.css +16 -0
  79. package/dist/tooltip/tooltip.css +37 -14
  80. package/dist/tourtip/tourtip.css +43 -16
  81. package/dist/typography/typography.css +20 -0
  82. package/dist/utility/utility.css +7 -0
  83. package/dist/video/video.css +23 -1
  84. package/eslint.config.mjs +7 -5
  85. package/package.json +1 -1
@@ -5,11 +5,12 @@
5
5
  --dialog-lightbox-wide-max-width: 896px;
6
6
  --dialog-lightbox-narrow-max-width: 480px;
7
7
  }
8
+
8
9
  .lightbox-dialog[role="dialog"] {
9
10
  align-items: flex-start;
11
+ justify-content: center;
10
12
  background-color: var(--dialog-scrim-color-show);
11
13
  inset: 0;
12
- justify-content: center;
13
14
  position: fixed;
14
15
  will-change: background-color;
15
16
  z-index: 100000;
@@ -17,22 +18,24 @@
17
18
  .lightbox-dialog[role="dialog"]:not([hidden]) {
18
19
  display: flex;
19
20
  }
21
+
20
22
  .lightbox-dialog__window {
21
23
  background-color: var(
22
24
  --dialog-window-background-color,
23
25
  var(--color-background-primary)
24
26
  );
25
- border-radius: var(--lightbox-border-radius, var(--border-radius-150));
26
27
  display: flex;
27
28
  flex: 1 0 auto;
28
29
  flex-direction: column;
30
+ min-height: 55px;
31
+ will-change: opacity, transform;
32
+ border-radius: var(--lightbox-border-radius, var(--border-radius-150));
29
33
  margin: auto auto 16px;
30
34
  max-height: 90%;
31
35
  max-width: calc(100% - 32px);
32
- min-height: 55px;
33
36
  min-width: 208px;
34
- will-change: opacity, transform;
35
37
  }
38
+
36
39
  .lightbox-dialog__header {
37
40
  display: flex;
38
41
  flex-shrink: 0;
@@ -53,11 +56,12 @@
53
56
  .lightbox-dialog__header > :last-child:not(:only-child) {
54
57
  margin-inline-start: var(--spacing-200);
55
58
  }
59
+
56
60
  .lightbox-dialog__main {
57
- box-sizing: border-box;
58
- flex: 1 1 auto;
59
61
  min-height: 18px;
60
62
  overflow: auto;
63
+ box-sizing: border-box;
64
+ flex: 1 1 auto;
61
65
  padding: var(--spacing-200);
62
66
  position: relative;
63
67
  }
@@ -67,6 +71,7 @@
67
71
  .lightbox-dialog__main > :last-child {
68
72
  margin-bottom: 0;
69
73
  }
74
+
70
75
  .lightbox-dialog__footer {
71
76
  border-top: 1px solid
72
77
  var(--dialog-lightbox-separator-color, var(--color-border-subtle));
@@ -79,6 +84,7 @@
79
84
  .lightbox-dialog__footer > :not(:first-child) {
80
85
  margin-top: var(--spacing-200);
81
86
  }
87
+
82
88
  .lightbox-dialog__image {
83
89
  background-position: 50%;
84
90
  background-repeat: no-repeat;
@@ -88,15 +94,19 @@
88
94
  position: absolute;
89
95
  width: 100%;
90
96
  }
97
+
91
98
  .lightbox-dialog--expressive .lightbox-dialog__window {
92
99
  padding-bottom: var(--spacing-100);
93
100
  }
101
+
94
102
  .lightbox-dialog--expressive .lightbox-dialog__header > * {
95
103
  margin-top: 218px;
96
104
  }
105
+
97
106
  .lightbox-dialog--expressive .lightbox-dialog__header {
98
107
  margin: var(--spacing-300) var(--spacing-300) 0;
99
108
  }
109
+
100
110
  .lightbox-dialog--expressive .lightbox-dialog__footer,
101
111
  .lightbox-dialog--expressive .lightbox-dialog__main {
102
112
  padding: var(--spacing-200) var(--spacing-300);
@@ -111,20 +121,25 @@ button.icon-btn.lightbox-dialog__prev {
111
121
  width: 32px;
112
122
  z-index: 1;
113
123
  }
124
+
114
125
  button.icon-btn.lightbox-dialog__prev {
115
126
  margin-inline-end: var(--spacing-200);
116
127
  }
128
+
117
129
  .lightbox-dialog--expressive button.icon-btn.lightbox-dialog__close,
118
130
  .lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev {
119
131
  align-self: self-start;
120
132
  margin: 0;
121
133
  }
134
+
122
135
  .lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev + * {
123
136
  margin-left: -32px;
124
137
  }
138
+
125
139
  .lightbox-dialog__title:not(:first-child) {
126
140
  margin-left: var(--spacing-200);
127
141
  }
142
+
128
143
  .lightbox-dialog__title--center {
129
144
  text-align: center;
130
145
  }
@@ -164,6 +179,7 @@ button.icon-btn.lightbox-dialog__prev {
164
179
  transition: opacity var(--motion-duration-medium-2)
165
180
  var(--motion-easing-continuous) var(--motion-duration-short-3);
166
181
  }
182
+
167
183
  .lightbox-dialog--hide.lightbox-dialog--hide,
168
184
  .lightbox-dialog--hide.lightbox-dialog--show-init,
169
185
  .lightbox-dialog--show-init.lightbox-dialog--hide,
@@ -184,6 +200,7 @@ button.icon-btn.lightbox-dialog__prev {
184
200
  .lightbox-dialog--show-init .lightbox-dialog__window--fade {
185
201
  opacity: 0;
186
202
  }
203
+
187
204
  .lightbox-dialog--hide-init.lightbox-dialog--hide-init,
188
205
  .lightbox-dialog--hide-init.lightbox-dialog--show,
189
206
  .lightbox-dialog--show.lightbox-dialog--hide-init,
@@ -204,6 +221,7 @@ button.icon-btn.lightbox-dialog__prev {
204
221
  .lightbox-dialog--show .lightbox-dialog__window--fade {
205
222
  opacity: 1;
206
223
  }
224
+
207
225
  @media (prefers-reduced-motion) {
208
226
  .lightbox-dialog--hide.lightbox-dialog--mask-fade,
209
227
  .lightbox-dialog--hide.lightbox-dialog--mask-fade-slow {
@@ -238,6 +256,7 @@ button.icon-btn.lightbox-dialog__prev {
238
256
  .lightbox-dialog--show .lightbox-dialog__window--animate {
239
257
  transform: translateY(0);
240
258
  }
259
+
241
260
  .lightbox-dialog--hide .lightbox-dialog__window--animate,
242
261
  .lightbox-dialog--show-init .lightbox-dialog__window--animate {
243
262
  transform: translateY(100%);
@@ -250,9 +269,11 @@ button.icon-btn.lightbox-dialog__prev {
250
269
  height: 2px;
251
270
  width: 24px;
252
271
  }
272
+
253
273
  [dir="rtl"] button.icon-btn.lightbox-dialog__prev .icon--16 {
254
274
  transform: rotate(180deg);
255
275
  }
276
+
256
277
  .lightbox-dialog--fullscreen .lightbox-dialog__window,
257
278
  .lightbox-dialog--large .lightbox-dialog__window {
258
279
  align-self: center;
@@ -260,6 +281,7 @@ button.icon-btn.lightbox-dialog__prev {
260
281
  margin: var(--spacing-100);
261
282
  max-height: 95%;
262
283
  }
284
+
263
285
  @media (max-width: 512px) {
264
286
  .lightbox-dialog--large .lightbox-dialog__window {
265
287
  height: 95%;
@@ -277,8 +299,8 @@ button.icon-btn.lightbox-dialog__prev {
277
299
  }
278
300
  @media (min-width: 512px) {
279
301
  .lightbox-dialog__window {
280
- border-radius: var(--lightbox-border-radius, var(--border-radius-100));
281
302
  margin: auto;
303
+ border-radius: var(--lightbox-border-radius, var(--border-radius-100));
282
304
  max-width: 88%;
283
305
  }
284
306
  .lightbox-dialog--narrow .lightbox-dialog__window {
@@ -31,17 +31,18 @@ a.standalone-link[aria-disabled="true"] {
31
31
  );
32
32
  text-decoration: none;
33
33
  }
34
+
34
35
  button.fake-link {
35
36
  background-color: initial;
36
37
  border: 0;
37
- color: var(
38
- --fake-link-foreground-color,
39
- var(--color-foreground-link-primary)
40
- );
41
38
  font-family: inherit;
42
39
  font-size: inherit;
43
40
  padding: 0;
44
41
  text-decoration: underline;
42
+ color: var(
43
+ --fake-link-foreground-color,
44
+ var(--color-foreground-link-primary)
45
+ );
45
46
  }
46
47
  button.fake-link:hover {
47
48
  color: var(
@@ -56,6 +57,7 @@ button.fake-link[disabled] {
56
57
  var(--color-foreground-disabled)
57
58
  );
58
59
  }
60
+
59
61
  a.legal-link,
60
62
  button.legal-link {
61
63
  text-decoration: underline;
@@ -2,25 +2,29 @@
2
2
  --state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
3
3
  --state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
4
4
  }
5
+
5
6
  .list {
6
7
  max-width: 480px;
7
8
  }
9
+
8
10
  .list ol,
9
11
  .list ul {
10
12
  margin: 0;
11
13
  padding: 0;
12
14
  }
15
+
13
16
  .list li::marker {
14
17
  content: "";
15
18
  font-size: 0;
16
19
  }
20
+
17
21
  .list fieldset > *,
18
22
  .list li > * {
19
- align-items: center;
20
23
  background-color: var(
21
24
  --list-background-color,
22
25
  var(--color-background-primary)
23
26
  );
27
+ align-items: center;
24
28
  box-sizing: border-box;
25
29
  color: var(--color-foreground-primary);
26
30
  display: inline-flex;
@@ -30,30 +34,36 @@
30
34
  padding: var(--spacing-150) var(--spacing-200);
31
35
  width: 100%;
32
36
  }
37
+
33
38
  .list__leading {
34
39
  margin-inline-end: var(--spacing-200);
35
40
  }
41
+
36
42
  .list__trailing {
37
43
  margin-inline-start: var(--spacing-200);
38
44
  }
45
+
39
46
  .list__body {
40
47
  flex: 1;
41
48
  }
49
+
42
50
  .list ol li {
43
51
  counter-increment: item;
44
52
  }
53
+
45
54
  .list ol li > :before {
46
55
  content: counter(item) ".";
47
56
  margin-inline-end: var(--spacing-200);
48
57
  width: var(--spacing-300);
49
58
  }
59
+
50
60
  .list li > a,
51
61
  .list li > button {
52
62
  border: none;
53
- overflow: hidden;
54
- position: relative;
55
63
  text-align: left;
56
64
  text-decoration: none;
65
+ overflow: hidden;
66
+ position: relative;
57
67
  }
58
68
  .list li > a:after,
59
69
  .list li > button:after {
@@ -81,6 +91,7 @@
81
91
  .list li > button[href]:active:after {
82
92
  background-color: var(--color-state-layer-pressed);
83
93
  }
94
+
84
95
  .list hr {
85
96
  border: 0;
86
97
  border-top: 1px solid var(--color-border-subtle);
@@ -88,6 +99,7 @@
88
99
  margin-inline: var(--spacing-200);
89
100
  padding: 0;
90
101
  }
102
+
91
103
  [dir="rtl"] .list li > a,
92
104
  [dir="rtl"] .list li > button {
93
105
  text-align: right;
@@ -3,46 +3,54 @@
3
3
  --state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
4
4
  --state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
5
5
  }
6
+
6
7
  div.listbox {
7
8
  margin: var(--spacing-200) 0;
8
9
  }
10
+
9
11
  span.listbox {
10
12
  display: inline-block;
11
13
  vertical-align: bottom;
12
14
  }
15
+
13
16
  div.listbox__options[role="listbox"] {
17
+ cursor: default;
14
18
  background-color: var(
15
19
  --listbox-background-color,
16
20
  var(--color-background-primary)
17
21
  );
18
- cursor: default;
19
22
  }
23
+
20
24
  span.listbox__options[role="listbox"] {
21
25
  display: inline-block;
22
26
  }
27
+
23
28
  div.listbox__options--fix-width[role="listbox"] {
24
29
  width: 100%;
25
30
  }
31
+
26
32
  div.listbox__options--reverse[role="listbox"] {
27
33
  right: 0;
28
34
  }
35
+
29
36
  .listbox__description {
30
- color: var(
31
- --listbox-button-subtitle-color,
32
- var(--color-foreground-secondary)
33
- );
34
37
  font-size: var(--font-size-small);
35
38
  font-weight: 400;
36
39
  grid-column: 1 2;
37
40
  grid-row: 2;
41
+ color: var(
42
+ --listbox-button-subtitle-color,
43
+ var(--color-foreground-secondary)
44
+ );
38
45
  }
46
+
39
47
  div.listbox__option[role="option"] {
40
- background-color: initial;
41
48
  border-color: var(--color-background-primary);
49
+ color: var(--color-foreground-primary);
50
+ background-color: initial;
42
51
  border-style: solid;
43
52
  border-width: 1px;
44
53
  box-sizing: border-box;
45
- color: var(--color-foreground-primary);
46
54
  display: inline-grid;
47
55
  font-family: inherit;
48
56
  grid-template-columns: auto auto;
@@ -98,26 +106,29 @@ div.listbox__option[role="option"]:disabled,
98
106
  div.listbox__option[role="option"]:disabled .listbox__description,
99
107
  div.listbox__option[role="option"][aria-disabled="true"],
100
108
  div.listbox__option[role="option"][aria-disabled="true"] .listbox__description {
101
- background-color: unset;
102
109
  color: var(
103
110
  --listbox-option-disabled-foreground-color,
104
111
  var(--color-foreground-disabled)
105
112
  );
113
+ background-color: unset;
106
114
  font-weight: unset;
107
115
  }
116
+
108
117
  span.listbox__value {
109
118
  flex: 1;
110
119
  white-space: nowrap;
111
120
  }
121
+
112
122
  div.listbox__option svg.icon {
123
+ margin-inline-start: var(--spacing-100);
113
124
  align-self: center;
114
125
  fill: currentColor;
115
- margin-inline-start: var(--spacing-100);
116
126
  margin: 0 auto;
117
127
  opacity: 0;
118
128
  stroke: currentColor;
119
129
  stroke-width: 0;
120
130
  }
131
+
121
132
  div.listbox__options[role="listbox"]:focus
122
133
  .listbox__option--active[role="option"] {
123
134
  overflow: hidden;
@@ -126,12 +137,13 @@ div.listbox__options[role="listbox"]:focus
126
137
  div.listbox__options[role="listbox"]:focus
127
138
  .listbox__option--active[role="option"]:after {
128
139
  background-color: var(--color-state-layer-neutral);
129
- background-color: var(--color-state-layer-hover);
130
140
  content: "";
131
141
  inset: 0;
132
142
  pointer-events: none;
133
143
  position: absolute;
144
+ background-color: var(--color-state-layer-hover);
134
145
  }
146
+
135
147
  div.listbox__option[aria-selected="true"] svg.icon {
136
148
  opacity: 1;
137
149
  }
@@ -3,24 +3,29 @@
3
3
  --state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
4
4
  --state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
5
5
  }
6
+
6
7
  .listbox-button {
7
8
  line-height: normal;
8
9
  position: relative;
9
10
  vertical-align: bottom;
10
11
  }
12
+
11
13
  span.listbox-button {
12
14
  display: inline-block;
13
15
  }
16
+
14
17
  .listbox-button .btn {
15
18
  padding-left: 15px;
16
19
  padding-right: 15px;
17
20
  }
21
+
18
22
  span.listbox-button--fluid,
19
23
  span.listbox-button--fluid .btn,
20
24
  span.listbox-button--fluid .expand-btn,
21
25
  span.listbox-button--fluid div.listbox-button__listbox {
22
26
  width: 100%;
23
27
  }
28
+
24
29
  div.listbox-button__listbox {
25
30
  background-color: var(--color-background-elevated);
26
31
  border-radius: var(--border-radius-50);
@@ -47,16 +52,19 @@ div.listbox-button__listbox--fixed {
47
52
  left: unset;
48
53
  right: 0;
49
54
  }
55
+
50
56
  .listbox-button button.btn[aria-expanded="true"] ~ div.listbox-button__listbox,
51
57
  button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
52
58
  display: block;
53
59
  }
60
+
54
61
  .listbox-button button[aria-invalid="true"] {
55
62
  border-color: var(
56
63
  --listbox-button-invalid-border-color,
57
64
  var(--color-border-attention)
58
65
  );
59
66
  }
67
+
60
68
  .listbox-button:not(.listbox-button--error)
61
69
  button:not(
62
70
  [disabled],
@@ -88,6 +96,7 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
88
96
  ).btn--form:hover {
89
97
  border-color: inherit;
90
98
  }
99
+
91
100
  .listbox-button button.btn--borderless,
92
101
  .listbox-button button.expand-btn--borderless {
93
102
  background-color: initial;
@@ -108,6 +117,7 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
108
117
  ~ .listbox-button__listbox {
109
118
  top: 41px;
110
119
  }
120
+
111
121
  .listbox-button.listbox-button--form button {
112
122
  background-color: var(
113
123
  --listbox-button-background-color,
@@ -122,6 +132,7 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
122
132
  var(--color-foreground-primary)
123
133
  );
124
134
  }
135
+
125
136
  .listbox-button.listbox-button--form button[aria-disabled="true"],
126
137
  .listbox-button.listbox-button--form button[disabled] {
127
138
  border-color: var(
@@ -133,18 +144,21 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
133
144
  var(--color-foreground-disabled)
134
145
  );
135
146
  }
147
+
136
148
  .listbox-button.listbox-button--form button:focus {
137
149
  background-color: var(
138
150
  --combobox-textbox-focus-background-color,
139
151
  var(--color-background-primary)
140
152
  );
141
153
  }
154
+
142
155
  .listbox-button.listbox-button--form button[aria-invalid="true"] {
143
156
  border-color: var(
144
157
  --listbox-button-invalid-border-color,
145
158
  var(--color-border-attention)
146
159
  );
147
160
  }
161
+
148
162
  .listbox-button.listbox-button--error button:not(.btn--borderless) {
149
163
  background-color: var(
150
164
  --listbox-button-background-color,
@@ -155,24 +169,30 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
155
169
  var(--color-border-attention)
156
170
  );
157
171
  }
172
+
158
173
  .listbox-button .btn__label {
159
174
  color: var(--listbox-button-label-color, var(--color-foreground-secondary));
160
175
  margin-right: 3px;
161
176
  }
177
+
162
178
  .listbox-button--expanded .btn__label {
163
179
  color: var(--listbox-button-label-color, var(--color-foreground-primary));
164
180
  }
181
+
165
182
  .listbox-button.listbox-button--error button .btn__floating-label,
166
183
  .listbox-button.listbox-button--error button .btn__label {
167
184
  color: var(--listbox-button-label-color, var(--color-foreground-attention));
168
185
  }
186
+
169
187
  .listbox-button .btn__text {
170
188
  font-weight: 700;
171
189
  margin-right: auto;
172
190
  }
191
+
173
192
  .listbox-button__options {
174
193
  border-radius: var(--listbox-button-border-radius, var(--border-radius-50));
175
194
  }
195
+
176
196
  .listbox-button__options[role="listbox"]:focus
177
197
  .listbox-button__option--active[role="option"] {
178
198
  overflow: hidden;
@@ -181,24 +201,27 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
181
201
  .listbox-button__options[role="listbox"]:focus
182
202
  .listbox-button__option--active[role="option"]:after {
183
203
  background-color: var(--color-state-layer-neutral);
184
- background-color: var(--color-state-layer-hover);
185
204
  content: "";
186
205
  inset: 0;
187
206
  pointer-events: none;
188
207
  position: absolute;
208
+ background-color: var(--color-state-layer-hover);
189
209
  }
210
+
190
211
  .listbox-button__option svg.icon {
191
212
  align-self: center;
192
213
  fill: currentColor;
193
214
  margin: 0 auto;
194
- margin-inline-start: var(--spacing-100);
195
215
  opacity: 0;
196
216
  stroke: currentColor;
197
217
  stroke-width: 0;
218
+ margin-inline-start: var(--spacing-100);
198
219
  }
220
+
199
221
  div.listbox-button__option[role="option"][aria-selected="true"] svg.icon {
200
222
  opacity: 1;
201
223
  }
224
+
202
225
  .listbox-button__description {
203
226
  color: var(
204
227
  --listbox-button-subtitle-color,
@@ -209,14 +232,15 @@ div.listbox-button__option[role="option"][aria-selected="true"] svg.icon {
209
232
  grid-column: 1 2;
210
233
  grid-row: 2;
211
234
  }
235
+
212
236
  div.listbox-button__option[role="option"] {
213
- background-color: initial;
237
+ cursor: default;
214
238
  border-color: var(--color-background-primary);
239
+ color: var(--color-foreground-primary);
240
+ background-color: initial;
215
241
  border-style: solid;
216
242
  border-width: 1px;
217
243
  box-sizing: border-box;
218
- color: var(--color-foreground-primary);
219
- cursor: default;
220
244
  display: inline-grid;
221
245
  font-family: inherit;
222
246
  grid-template-columns: auto auto;
@@ -270,11 +294,11 @@ div.listbox-button__option[role="option"]:active {
270
294
  }
271
295
  div.listbox-button__option[role="option"]:disabled,
272
296
  div.listbox-button__option[role="option"][aria-disabled="true"] {
273
- background-color: unset;
274
297
  color: var(
275
298
  --listbox-option-disabled-foreground-color,
276
299
  var(--color-foreground-disabled)
277
300
  );
301
+ background-color: unset;
278
302
  font-weight: unset;
279
303
  }
280
304
  div.listbox-button__option[role="option"]:first-child {
@@ -300,16 +324,18 @@ div.listbox-button__option[role="option"]:last-child {
300
324
  div.listbox-button__option[role="option"]:disabled .listbox-button__description,
301
325
  div.listbox-button__option[role="option"][aria-disabled="true"]
302
326
  .listbox-button__description {
303
- background-color: unset;
304
327
  color: var(
305
328
  --listbox-option-disabled-foreground-color,
306
329
  var(--color-foreground-disabled)
307
330
  );
331
+ background-color: unset;
308
332
  font-weight: unset;
309
333
  }
334
+
310
335
  div.listbox-button__option--active[role="option"] {
311
336
  font-weight: 700;
312
337
  }
338
+
313
339
  span.listbox-button__value {
314
340
  flex: 1 0 auto;
315
341
  white-space: nowrap;
@@ -318,7 +344,7 @@ span.listbox-button__value {
318
344
  outline: none;
319
345
  }
320
346
  [dir="rtl"] .listbox-button .btn__label {
321
- color: var(--listbox-button-label-color, var(--color-foreground-secondary));
322
347
  margin-left: 3px;
323
348
  margin-right: 0;
349
+ color: var(--listbox-button-label-color, var(--color-foreground-secondary));
324
350
  }