@ebay/skin 19.14.3 → 19.16.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 +1200 -2124
  7. package/dist/bundles/skin-full.css +1308 -2222
  8. package/dist/bundles/skin-headless.css +741 -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 +352 -140
  88. package/dist/tokens/evo-dark-class.css +127 -0
  89. package/dist/tokens/evo-dark.css +155 -100
  90. package/dist/tokens/evo-light-class.css +125 -0
  91. package/dist/tokens/evo-light.css +156 -123
  92. package/dist/tokens/evo-live-dark-class.css +125 -0
  93. package/dist/tokens/evo-live-dark.css +125 -0
  94. package/dist/tokens/evo-live-light-class.css +127 -0
  95. package/dist/tokens/evo-live-light.css +127 -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 +0 -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 +3 -5
  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,28 +1,26 @@
1
1
  :root {
2
2
  --bubble-shadow: 0 2px 7px rgb(0 0 0 / 0.15), 0 5px 17px rgb(0 0 0 / 0.2);
3
+ --state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
4
+ --state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
3
5
  }
4
6
  .combobox {
5
7
  box-sizing: border-box;
6
8
  line-height: normal;
7
9
  position: relative;
8
10
  }
9
-
10
11
  span.combobox {
11
12
  display: inline-block;
12
13
  vertical-align: bottom;
13
14
  }
14
-
15
15
  .combobox__value {
16
16
  flex: 1 0 auto;
17
17
  overflow: hidden;
18
18
  text-overflow: ellipsis;
19
19
  white-space: nowrap;
20
20
  }
21
-
22
21
  .combobox__options--fix-width[role="listbox"] {
23
22
  width: 100%;
24
23
  }
25
-
26
24
  .combobox__listbox {
27
25
  background-color: var(--color-background-elevated);
28
26
  border-radius: var(--border-radius-50);
@@ -45,7 +43,6 @@ span.combobox {
45
43
  .combobox__listbox--fixed {
46
44
  position: fixed;
47
45
  }
48
-
49
46
  .combobox__listbox--reverse,
50
47
  [dir="rtl"] .combobox__listbox {
51
48
  left: unset;
@@ -55,12 +52,10 @@ span.combobox {
55
52
  left: 0;
56
53
  right: unset;
57
54
  }
58
-
59
55
  .combobox__control > button,
60
56
  .combobox__control > svg.icon {
61
57
  margin-inline-start: 8px;
62
58
  }
63
-
64
59
  .combobox__option[role^="option"] {
65
60
  background-color: initial;
66
61
  border-color: var(--color-background-primary);
@@ -74,18 +69,46 @@ span.combobox {
74
69
  grid-template-columns: auto auto;
75
70
  justify-content: space-between;
76
71
  padding: 8px 15px;
77
- position: relative;
78
72
  width: 100%;
79
73
  }
80
74
  .combobox__option[role^="option"]:focus {
81
75
  outline-offset: -4px;
82
76
  }
77
+ .combobox__option[role^="option"] {
78
+ overflow: hidden;
79
+ position: relative;
80
+ }
81
+ .combobox__option[role^="option"]:after {
82
+ background-color: var(--color-state-layer-neutral);
83
+ content: "";
84
+ inset: 0;
85
+ pointer-events: none;
86
+ position: absolute;
87
+ }
88
+ .combobox__option[role^="option"]:not(
89
+ [disabled],
90
+ [aria-disabled="true"]
91
+ ):hover:after,
92
+ .combobox__option[role^="option"][href]:hover:after {
93
+ background-color: var(--color-state-layer-hover);
94
+ }
95
+ .combobox__option[role^="option"]:not(
96
+ [disabled],
97
+ [aria-disabled="true"]
98
+ ):focus-visible:after,
99
+ .combobox__option[role^="option"][href]:focus-visible:after {
100
+ background-color: var(--color-state-layer-focus);
101
+ }
102
+ .combobox__option[role^="option"]:not(
103
+ [disabled],
104
+ [aria-disabled="true"]
105
+ ):active:after,
106
+ .combobox__option[role^="option"][href]:active:after {
107
+ background-color: var(--color-state-layer-pressed);
108
+ }
83
109
  .combobox__option[role^="option"][hidden] {
84
110
  display: none;
85
111
  }
86
- .combobox__option[role^="option"]:hover {
87
- color: var(--color-foreground-primary);
88
- }
89
112
  .combobox__option[role^="option"]:active {
90
113
  font-weight: 700;
91
114
  }
@@ -121,9 +144,6 @@ span.combobox {
121
144
  .combobox__option[role^="option"]:not(:last-child) {
122
145
  margin-bottom: 1px;
123
146
  }
124
- .combobox__option[role^="option"]:hover {
125
- background-color: var(--color-state-primary-hover);
126
- }
127
147
  .combobox__option[role^="option"] svg.icon {
128
148
  align-self: center;
129
149
  fill: currentColor;
@@ -132,14 +152,21 @@ span.combobox {
132
152
  stroke: currentColor;
133
153
  stroke-width: 0;
134
154
  }
135
-
136
155
  .combobox__option--active[role^="option"] {
137
- background-color: var(--color-state-primary-active);
156
+ overflow: hidden;
157
+ position: relative;
158
+ }
159
+ .combobox__option--active[role^="option"]:after {
160
+ background-color: var(--color-state-layer-neutral);
161
+ background-color: var(--color-state-layer-pressed);
162
+ content: "";
163
+ inset: 0;
164
+ pointer-events: none;
165
+ position: absolute;
138
166
  }
139
167
  .combobox__option--active[role^="option"] svg.icon {
140
168
  opacity: 1;
141
169
  }
142
-
143
170
  .combobox__control button.icon-btn {
144
171
  height: 38px;
145
172
  padding: 0;
@@ -148,21 +175,17 @@ span.combobox {
148
175
  top: 1px;
149
176
  width: 38px;
150
177
  }
151
-
152
178
  .combobox__control button.icon-btn svg {
153
179
  left: 0;
154
180
  margin: 0;
155
181
  right: 0;
156
182
  }
157
-
158
183
  .combobox--expanded .combobox__listbox {
159
184
  display: block;
160
185
  }
161
-
162
186
  .combobox--expanded svg.icon--12 {
163
187
  transform: rotate(180deg);
164
188
  }
165
-
166
189
  .combobox__control > svg.icon--12 {
167
190
  color: var(--combobox-textbox-icon-color, var(--color-foreground-primary));
168
191
  pointer-events: none;
@@ -170,7 +193,6 @@ span.combobox {
170
193
  right: 17px;
171
194
  top: calc(50% - 8px);
172
195
  }
173
-
174
196
  .combobox__control > input {
175
197
  -webkit-appearance: none;
176
198
  appearance: none;
@@ -180,7 +202,7 @@ span.combobox {
180
202
  );
181
203
  border-color: var(
182
204
  --combobox-textbox-border-color,
183
- var(--color-stroke-default)
205
+ var(--color-border-medium)
184
206
  );
185
207
  border-radius: var(
186
208
  --combobox-textbox-border-radius,
@@ -189,10 +211,6 @@ span.combobox {
189
211
  border-style: solid;
190
212
  border-width: 1px;
191
213
  box-sizing: border-box;
192
- color: var(
193
- --combobox-textbox-foreground-color,
194
- var(--color-foreground-on-secondary)
195
- );
196
214
  font-family: inherit;
197
215
  font-size: inherit;
198
216
  height: 40px;
@@ -200,11 +218,14 @@ span.combobox {
200
218
  margin-right: 0;
201
219
  padding: 0 32px 0 16px;
202
220
  }
221
+ .combobox__control > input,
203
222
  .combobox__control > input[readonly] {
204
223
  color: var(
205
224
  --combobox-textbox-foreground-color,
206
225
  var(--color-foreground-primary)
207
226
  );
227
+ }
228
+ .combobox__control > input[readonly] {
208
229
  cursor: default;
209
230
  text-shadow: 0 0 0 inherit;
210
231
  --webkit-user-select: none;
@@ -238,19 +259,17 @@ span.combobox {
238
259
  .combobox__control > input[aria-invalid="true"] {
239
260
  border-color: var(
240
261
  --combobox-textbox-invalid-foreground-color,
241
- var(--color-stroke-attention)
262
+ var(--color-border-attention)
242
263
  );
243
264
  }
244
265
  .combobox__control > input::-ms-clear {
245
266
  display: none;
246
267
  }
247
-
248
268
  .combobox__control--borderless > input {
249
269
  background-color: initial;
250
270
  border-color: transparent;
251
271
  padding-left: 0;
252
272
  }
253
-
254
273
  .combobox__control > input:focus {
255
274
  background-color: var(
256
275
  --combobox-textbox-focus-background-color,
@@ -261,7 +280,6 @@ span.combobox {
261
280
  var(--color-foreground-primary)
262
281
  );
263
282
  }
264
-
265
283
  .combobox__control--borderless > input:focus {
266
284
  border-color: transparent;
267
285
  outline: none;
@@ -270,19 +288,16 @@ span.combobox {
270
288
  .combobox--fluid .combobox__control > input {
271
289
  width: 100%;
272
290
  }
273
-
274
291
  .combobox--large .combobox__control > input {
275
292
  font-size: var(--font-size-medium);
276
293
  height: 48px;
277
294
  }
278
-
279
295
  .combobox__control > input[disabled] {
280
296
  background-color: var(
281
297
  --combobox-textbox-disabled-background-color,
282
298
  var(--color-background-secondary)
283
299
  );
284
300
  }
285
-
286
301
  .combobox__option--active[role="option"] {
287
302
  color: var(
288
303
  --combobox-listbox-option-hover-foreground-color,
@@ -290,7 +305,6 @@ span.combobox {
290
305
  );
291
306
  font-weight: 700;
292
307
  }
293
-
294
308
  @media (-ms-high-contrast: active), all and (-ms-high-contrast: none) {
295
309
  .combobox__value,
296
310
  ::-ms-backdrop {
@@ -19,7 +19,6 @@
19
19
  .confirm-dialog[role="dialog"]:not([hidden]) {
20
20
  display: flex;
21
21
  }
22
-
23
22
  .confirm-dialog__window {
24
23
  background-color: var(
25
24
  --dialog-window-background-color,
@@ -39,14 +38,12 @@
39
38
  padding: var(--spacing-200);
40
39
  will-change: opacity, transform;
41
40
  }
42
-
43
41
  .confirm-dialog__title {
44
42
  font-size: var(--font-size-large-1);
45
- font-weight: var(--font-weight-bold);
43
+ font-weight: var(--font-weight-600);
46
44
  line-height: 28px;
47
45
  margin: 0;
48
46
  }
49
-
50
47
  .confirm-dialog__main {
51
48
  margin: var(--spacing-200) 0;
52
49
  min-height: var(--spacing-200);
@@ -57,11 +54,9 @@
57
54
  .confirm-dialog__main > :last-child {
58
55
  margin-bottom: 0;
59
56
  }
60
-
61
57
  .confirm-dialog__footer {
62
58
  text-align: right;
63
59
  }
64
-
65
60
  a.confirm-dialog__confirm,
66
61
  button.confirm-dialog__confirm {
67
62
  margin-left: var(--spacing-100);
@@ -102,7 +97,6 @@ button.confirm-dialog__confirm {
102
97
  transition: opacity var(--motion-duration-medium-2)
103
98
  var(--motion-easing-continuous) var(--motion-duration-short-3);
104
99
  }
105
-
106
100
  .confirm-dialog--hide.confirm-dialog--hide,
107
101
  .confirm-dialog--hide.confirm-dialog--show-init,
108
102
  .confirm-dialog--show-init.confirm-dialog--hide,
@@ -123,7 +117,6 @@ button.confirm-dialog__confirm {
123
117
  .confirm-dialog--show-init .confirm-dialog__window--fade {
124
118
  opacity: 0;
125
119
  }
126
-
127
120
  .confirm-dialog--hide-init.confirm-dialog--hide-init,
128
121
  .confirm-dialog--hide-init.confirm-dialog--show,
129
122
  .confirm-dialog--show.confirm-dialog--hide-init,
@@ -144,7 +137,6 @@ button.confirm-dialog__confirm {
144
137
  .confirm-dialog--show .confirm-dialog__window--fade {
145
138
  opacity: 1;
146
139
  }
147
-
148
140
  @media (prefers-reduced-motion) {
149
141
  .confirm-dialog--hide.confirm-dialog--mask-fade,
150
142
  .confirm-dialog--hide.confirm-dialog--mask-fade-slow {
@@ -179,12 +171,10 @@ button.confirm-dialog__confirm {
179
171
  .confirm-dialog--show .confirm-dialog__window--animate {
180
172
  transform: scale(1);
181
173
  }
182
-
183
174
  .confirm-dialog--hide .confirm-dialog__window--animate,
184
175
  .confirm-dialog--show-init .confirm-dialog__window--animate {
185
176
  transform: scale(0.75);
186
177
  }
187
-
188
178
  @media (prefers-reduced-motion) {
189
179
  .confirm-dialog--hide .confirm-dialog__window--animate,
190
180
  .confirm-dialog--hide-init .confirm-dialog__window--animate,
@@ -11,7 +11,7 @@ a.cta-btn {
11
11
  color: var(--cta-btn-foreground-color, var(--color-foreground-primary));
12
12
  display: inline-block;
13
13
  font-family: inherit;
14
- font-size: var(--font-size-default);
14
+ font-size: var(--font-size-body);
15
15
  margin: 0;
16
16
  max-width: 100%;
17
17
  min-height: 40px;
@@ -32,14 +32,12 @@ a.cta-btn:focus-visible {
32
32
  a.cta-btn:focus:not(:focus-visible) {
33
33
  outline: none;
34
34
  }
35
-
36
35
  a.cta-btn:visited {
37
36
  color: var(
38
37
  --cta-btn-visited-foreground-color,
39
38
  var(--color-foreground-primary)
40
39
  );
41
40
  }
42
-
43
41
  a.cta-btn:focus,
44
42
  a.cta-btn:hover {
45
43
  background-color: var(
@@ -55,7 +53,6 @@ a.cta-btn:hover {
55
53
  var(--color-background-primary)
56
54
  );
57
55
  }
58
-
59
56
  a.cta-btn:not([href]),
60
57
  a.cta-btn[aria-disabled="true"] {
61
58
  background-color: var(
@@ -64,18 +61,16 @@ a.cta-btn[aria-disabled="true"] {
64
61
  );
65
62
  border-color: var(
66
63
  --cta-btn-disabled-border-color,
67
- var(--color-stroke-disabled)
64
+ var(--color-border-disabled)
68
65
  );
69
66
  color: var(
70
67
  --cta-btn-disabled-foreground-color,
71
68
  var(--color-foreground-disabled)
72
69
  );
73
70
  }
74
-
75
71
  a.cta-btn--fluid {
76
72
  width: 100%;
77
73
  }
78
-
79
74
  span.cta-btn__cell {
80
75
  align-items: center;
81
76
  display: flex;
@@ -96,7 +91,6 @@ span.cta-btn__cell--truncated > svg {
96
91
  align-self: baseline;
97
92
  max-width: calc(100% - 32px);
98
93
  }
99
-
100
94
  a.cta-btn svg.icon {
101
95
  align-self: center;
102
96
  flex-shrink: 0;
@@ -112,14 +106,12 @@ a.cta-btn svg.icon:last-child {
112
106
  a.cta-btn svg.icon:only-child {
113
107
  margin: 0;
114
108
  }
115
-
116
109
  span.cta-btn__cell--fixed-height svg.icon {
117
110
  align-self: center;
118
111
  height: 1rem;
119
112
  overflow: visible;
120
113
  width: 1rem;
121
114
  }
122
-
123
115
  a.cta-btn--truncated,
124
116
  a.cta-btn--truncated span {
125
117
  line-height: 1.4em;
@@ -127,14 +119,12 @@ a.cta-btn--truncated span {
127
119
  text-overflow: ellipsis;
128
120
  white-space: nowrap;
129
121
  }
130
-
131
122
  a.cta-btn--large {
132
123
  border-radius: 24px;
133
124
  display: inline-flex;
134
125
  font-size: var(--font-size-medium);
135
126
  min-height: 48px;
136
127
  }
137
-
138
128
  [dir="rtl"] a.cta-btn svg.icon--arrow-right-24 {
139
129
  transform: rotate(180deg);
140
130
  }
@@ -5,11 +5,9 @@
5
5
  --calendar-month-width: 311px;
6
6
  display: inline-block;
7
7
  }
8
-
9
8
  .date-textbox > .textbox + .textbox {
10
9
  margin-left: var(--spacing-100);
11
10
  }
12
-
13
11
  .date-textbox__popover {
14
12
  background-color: var(
15
13
  --calendar-background-color,
@@ -22,11 +20,9 @@
22
20
  position: absolute;
23
21
  z-index: 1;
24
22
  }
25
-
26
23
  .date-textbox__popover[hidden] {
27
24
  display: none;
28
25
  }
29
-
30
26
  @media only screen and (max-width: 512px) {
31
27
  .date-textbox__popover {
32
28
  left: 0;
@@ -1,14 +1,44 @@
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
+ }
1
5
  summary.details__summary {
2
- align-items: center;
3
6
  border-radius: var(--expand-btn-border-radius, var(--border-radius-50));
4
- box-sizing: border-box;
5
7
  color: var(
6
8
  --details-summary-foreground-color,
7
9
  var(--color-foreground-primary)
8
10
  );
11
+ overflow: hidden;
12
+ position: relative;
13
+ }
14
+ summary.details__summary:after {
15
+ background-color: var(--color-state-layer-neutral);
16
+ content: "";
17
+ inset: 0;
18
+ pointer-events: none;
19
+ position: absolute;
20
+ }
21
+ summary.details__summary:not([disabled], [aria-disabled="true"]):hover:after,
22
+ summary.details__summary[href]:hover:after {
23
+ background-color: var(--color-state-layer-hover);
24
+ }
25
+ summary.details__summary:not(
26
+ [disabled],
27
+ [aria-disabled="true"]
28
+ ):focus-visible:after,
29
+ summary.details__summary[href]:focus-visible:after {
30
+ background-color: var(--color-state-layer-focus);
31
+ }
32
+ summary.details__summary:not([disabled], [aria-disabled="true"]):active:after,
33
+ summary.details__summary[href]:active:after {
34
+ background-color: var(--color-state-layer-pressed);
35
+ }
36
+ summary.details__summary {
37
+ align-items: center;
38
+ box-sizing: border-box;
9
39
  display: inline-flex;
10
- font-size: var(--font-size-default);
11
- font-weight: var(--font-weight-bold);
40
+ font-size: var(--font-size-body);
41
+ font-weight: var(--font-weight-600);
12
42
  list-style-position: inside;
13
43
  list-style-type: none;
14
44
  padding: 12px 8px;
@@ -19,33 +49,20 @@ summary.details__summary:before {
19
49
  summary.details__summary::-webkit-details-marker {
20
50
  display: none;
21
51
  }
22
- summary.details__summary:focus,
23
- summary.details__summary:hover {
24
- background-color: var(--color-state-secondary-hover);
25
- outline: 1;
26
- }
27
- summary.details__summary:active {
28
- background-color: var(--color-state-secondary-active);
29
- outline: 1;
30
- }
31
-
32
52
  summary.details__summary--center {
33
53
  justify-content: center;
34
54
  width: 100%;
35
55
  }
36
-
37
56
  summary.details__summary--small {
38
57
  font-size: var(--font-size-small);
39
58
  padding: 4px 8px;
40
59
  }
41
-
42
60
  span.details__icon {
43
61
  margin-inline-start: 8px;
44
62
  }
45
63
  span.details__icon[hidden] {
46
64
  display: inline-flex;
47
65
  }
48
-
49
66
  details.details[open] span.details__icon {
50
67
  transform: rotate(180deg);
51
68
  }
@@ -3,13 +3,11 @@
3
3
  --donut-chart-graph-size-sm: 140px;
4
4
  --donut-chart-graph-size-lg: 210px;
5
5
  }
6
-
7
6
  .donut-chart {
8
7
  container-name: donut-chart;
9
8
  container-type: inline-size;
10
9
  width: 100%;
11
10
  }
12
-
13
11
  .donut-chart__grid {
14
12
  column-gap: var(--spacing-400);
15
13
  display: grid;
@@ -19,12 +17,10 @@
19
17
  row-gap: var(--spacing-200);
20
18
  width: 100%;
21
19
  }
22
-
23
20
  .donut-chart__title {
24
21
  font-size: var(--font-size-medium);
25
- font-weight: var(--font-weight-bold);
22
+ font-weight: var(--font-weight-600);
26
23
  }
27
-
28
24
  .donut-chart__graph {
29
25
  align-self: flex-end;
30
26
  grid-column: 2;
@@ -33,21 +29,17 @@
33
29
  position: relative;
34
30
  width: 100%;
35
31
  }
36
-
37
32
  .donut-chart__metric-value {
38
33
  font-size: var(--font-size-giant-1);
39
- font-weight: var(--font-weight-bold);
34
+ font-weight: var(--font-weight-600);
40
35
  }
41
-
42
36
  .donut-chart__metric-label {
43
37
  font-size: var(--font-size-regular);
44
38
  }
45
-
46
39
  .donut-chart__legend {
47
40
  align-self: flex-end;
48
41
  grid-column: 1 / -1;
49
42
  }
50
-
51
43
  @container (width > 450px) {
52
44
  .donut-chart__grid {
53
45
  column-gap: var(--spacing-800);
@@ -21,11 +21,9 @@
21
21
  .drawer-dialog[role="dialog"]:not([hidden]) {
22
22
  display: flex;
23
23
  }
24
-
25
24
  .drawer-dialog--no-mask[role="dialog"] {
26
25
  background-color: initial;
27
26
  }
28
-
29
27
  .drawer-dialog__header {
30
28
  display: flex;
31
29
  flex-shrink: 0;
@@ -46,12 +44,10 @@
46
44
  .drawer-dialog__header > :last-child:not(:only-child) {
47
45
  margin-inline-start: var(--spacing-200);
48
46
  }
49
-
50
47
  .drawer-dialog__header .fake-link {
51
48
  align-self: flex-start;
52
49
  text-decoration: none;
53
50
  }
54
-
55
51
  .drawer-dialog__handle {
56
52
  background-color: initial;
57
53
  border: none;
@@ -64,14 +60,13 @@
64
60
  z-index: 2;
65
61
  }
66
62
  .drawer-dialog__handle:after {
67
- background-color: var(--dialog-handle-color, var(--color-stroke-default));
63
+ background-color: var(--dialog-handle-color, var(--color-border-medium));
68
64
  border-radius: 3px;
69
65
  content: "";
70
66
  display: block;
71
67
  height: 2px;
72
68
  width: 24px;
73
69
  }
74
-
75
70
  .drawer-dialog__main {
76
71
  box-sizing: border-box;
77
72
  flex: 1 1 auto;
@@ -86,7 +81,6 @@
86
81
  .drawer-dialog__main > :last-child {
87
82
  margin-bottom: 0;
88
83
  }
89
-
90
84
  .drawer-dialog__footer {
91
85
  display: flex;
92
86
  flex-direction: row;
@@ -109,7 +103,6 @@ button.icon-btn.drawer-dialog__close {
109
103
  width: 32px;
110
104
  z-index: 1;
111
105
  }
112
-
113
106
  .drawer-dialog__window {
114
107
  background-color: var(
115
108
  --dialog-window-background-color,
@@ -126,12 +119,10 @@ button.icon-btn.drawer-dialog__close {
126
119
  -webkit-overflow-scrolling: touch;
127
120
  overflow-y: hidden;
128
121
  }
129
-
130
122
  .drawer-dialog__window--expanded {
131
123
  height: 95%;
132
124
  max-height: 95%;
133
125
  }
134
-
135
126
  .drawer-dialog__window--slide {
136
127
  transition: max-height 0.32s ease-out;
137
128
  }
@@ -187,7 +178,6 @@ button.icon-btn.drawer-dialog__close {
187
178
  .drawer-dialog--show .drawer-dialog__window--slide {
188
179
  transform: translateX(0);
189
180
  }
190
-
191
181
  .drawer-dialog__handle:focus:not(:focus-visible) {
192
182
  outline: none;
193
183
  }