@carbon/styles 1.37.0 → 1.38.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 (86) hide show
  1. package/css/styles.css +2588 -2403
  2. package/css/styles.min.css +1 -1
  3. package/package.json +5 -5
  4. package/scss/components/accordion/_accordion.scss +47 -35
  5. package/scss/components/aspect-ratio/_aspect-ratio.scss +7 -4
  6. package/scss/components/breadcrumb/_breadcrumb.scss +26 -20
  7. package/scss/components/button/_button.scss +16 -11
  8. package/scss/components/button/_mixins.scss +12 -12
  9. package/scss/components/checkbox/_checkbox.scss +55 -40
  10. package/scss/components/code-snippet/_code-snippet.scss +74 -59
  11. package/scss/components/code-snippet/_mixins.scss +2 -2
  12. package/scss/components/combo-box/_combo-box.scss +2 -2
  13. package/scss/components/combo-button/_combo-button.scss +2 -2
  14. package/scss/components/contained-list/_contained-list.scss +41 -22
  15. package/scss/components/content-switcher/_content-switcher.scss +32 -32
  16. package/scss/components/data-table/_data-table.scss +150 -144
  17. package/scss/components/data-table/_mixins.scss +3 -3
  18. package/scss/components/data-table/action/_data-table-action.scss +83 -81
  19. package/scss/components/data-table/expandable/_data-table-expandable.scss +60 -60
  20. package/scss/components/data-table/skeleton/_data-table-skeleton.scss +10 -8
  21. package/scss/components/data-table/sort/_data-table-sort.scss +38 -38
  22. package/scss/components/date-picker/_date-picker.scss +21 -20
  23. package/scss/components/date-picker/_flatpickr.scss +51 -51
  24. package/scss/components/dropdown/_dropdown.scss +49 -49
  25. package/scss/components/file-uploader/_file-uploader.scss +37 -37
  26. package/scss/components/fluid-combo-box/_fluid-combo-box.scss +4 -4
  27. package/scss/components/fluid-date-picker/_fluid-date-picker.scss +54 -54
  28. package/scss/components/fluid-list-box/_fluid-list-box.scss +33 -33
  29. package/scss/components/fluid-multiselect/_fluid-multiselect.scss +2 -2
  30. package/scss/components/fluid-number-input/_fluid-number-input.scss +30 -30
  31. package/scss/components/fluid-search/_fluid-search.scss +17 -17
  32. package/scss/components/fluid-select/_fluid-select.scss +17 -17
  33. package/scss/components/fluid-text-area/_fluid-text-area.scss +21 -21
  34. package/scss/components/fluid-text-input/_fluid-text-input.scss +26 -26
  35. package/scss/components/fluid-time-picker/_fluid-time-picker.scss +23 -23
  36. package/scss/components/form/_form.scss +16 -15
  37. package/scss/components/inline-loading/_inline-loading.scss +9 -9
  38. package/scss/components/link/_link.scss +1 -1
  39. package/scss/components/list/_list.scss +7 -7
  40. package/scss/components/list-box/_list-box.scss +109 -107
  41. package/scss/components/loading/_loading.scss +10 -9
  42. package/scss/components/menu/_menu.scss +7 -7
  43. package/scss/components/menu-button/_menu-button.scss +1 -1
  44. package/scss/components/modal/_modal.scss +72 -72
  45. package/scss/components/multiselect/_multiselect.scss +11 -11
  46. package/scss/components/notification/_actionable-notification.scss +37 -39
  47. package/scss/components/notification/_inline-notification.scss +26 -26
  48. package/scss/components/notification/_mixins.scss +3 -3
  49. package/scss/components/notification/_toast-notification.scss +16 -18
  50. package/scss/components/number-input/_number-input.scss +70 -70
  51. package/scss/components/overflow-menu/_overflow-menu.scss +50 -50
  52. package/scss/components/pagination/_pagination.scss +46 -34
  53. package/scss/components/pagination/_unstable_pagination.scss +26 -24
  54. package/scss/components/pagination-nav/_mixins.scss +6 -6
  55. package/scss/components/pagination-nav/_pagination-nav.scss +16 -11
  56. package/scss/components/popover/_popover.scss +201 -63
  57. package/scss/components/progress-bar/_progress-bar.scss +33 -11
  58. package/scss/components/progress-indicator/_progress-indicator.scss +46 -42
  59. package/scss/components/radio-button/_radio-button.scss +24 -23
  60. package/scss/components/search/_search.scss +35 -34
  61. package/scss/components/select/_select.scss +31 -29
  62. package/scss/components/skeleton-styles/_skeleton-styles.scss +10 -8
  63. package/scss/components/slider/_slider.scss +28 -28
  64. package/scss/components/structured-list/_mixins.scss +4 -4
  65. package/scss/components/structured-list/_structured-list.scss +16 -16
  66. package/scss/components/tabs/_tabs.scss +50 -50
  67. package/scss/components/tag/_tag.scss +22 -20
  68. package/scss/components/text-area/_text-area.scss +17 -15
  69. package/scss/components/text-input/_text-input.scss +43 -41
  70. package/scss/components/tile/_tile.scss +11 -11
  71. package/scss/components/time-picker/_time-picker.scss +17 -17
  72. package/scss/components/toggle/_toggle.scss +37 -24
  73. package/scss/components/toggletip/_toggletip.scss +3 -2
  74. package/scss/components/tooltip/_tooltip.scss +7 -5
  75. package/scss/components/treeview/_treeview.scss +27 -27
  76. package/scss/components/ui-shell/content/_content.scss +3 -3
  77. package/scss/components/ui-shell/header/_header.scss +47 -47
  78. package/scss/components/ui-shell/header-panel/_header-panel.scss +7 -7
  79. package/scss/components/ui-shell/side-nav/_side-nav.scss +65 -65
  80. package/scss/components/ui-shell/switcher/_switcher.scss +6 -6
  81. package/scss/utilities/_button-reset.scss +1 -1
  82. package/scss/utilities/_skeleton.scss +4 -4
  83. package/scss/utilities/_text-overflow.scss +1 -1
  84. package/scss/utilities/_text-truncate.scss +2 -2
  85. package/scss/utilities/_tooltip.scss +44 -46
  86. package/scss/utilities/_visually-hidden.scss +4 -4
@@ -25,8 +25,9 @@
25
25
  @include component-reset.reset;
26
26
  @include animation.spin;
27
27
 
28
- width: $loading-size;
29
- height: $loading-size;
28
+ block-size: $loading-size;
29
+
30
+ inline-size: $loading-size;
30
31
  }
31
32
 
32
33
  // Animation (Spin by default)
@@ -54,8 +55,8 @@
54
55
  }
55
56
 
56
57
  .#{$prefix}--loading--small {
57
- width: convert.to-rem(16px);
58
- height: convert.to-rem(16px);
58
+ block-size: convert.to-rem(16px);
59
+ inline-size: convert.to-rem(16px);
59
60
 
60
61
  circle {
61
62
  stroke-width: 16;
@@ -72,7 +73,7 @@
72
73
  }
73
74
 
74
75
  // Negative values for `stroke-dashoffset` are not supported in Safari
75
- @media not all and (min-resolution: 0.001dpcm) {
76
+ @media not all and (resolution >= 0.001dpcm) {
76
77
  @supports (-webkit-appearance: none) and (stroke-color: transparent) {
77
78
  circle.#{$prefix}--loading__background {
78
79
  stroke-dasharray: 265;
@@ -84,14 +85,14 @@
84
85
  .#{$prefix}--loading-overlay {
85
86
  position: fixed;
86
87
  z-index: z('overlay');
87
- top: 0;
88
- left: 0;
89
88
  display: flex;
90
- width: 100%;
91
- height: 100%;
92
89
  align-items: center;
93
90
  justify-content: center;
94
91
  background-color: $overlay;
92
+ block-size: 100%;
93
+ inline-size: 100%;
94
+ inset-block-start: 0;
95
+ inset-inline-start: 0;
95
96
  transition: background-color $duration-slow-02 motion(standard, expressive);
96
97
  }
97
98
 
@@ -30,16 +30,16 @@
30
30
 
31
31
  position: fixed;
32
32
  z-index: z('modal');
33
- min-width: 10rem;
34
- max-width: 18rem;
35
33
  padding: $spacing-02 0;
36
34
  background-color: $layer;
35
+ max-inline-size: 18rem;
36
+ min-inline-size: 10rem;
37
37
  opacity: 0;
38
38
  visibility: hidden;
39
39
  }
40
40
 
41
41
  .#{$prefix}--menu--with-icons {
42
- min-width: 12rem;
42
+ min-inline-size: 12rem;
43
43
  }
44
44
 
45
45
  .#{$prefix}--menu--open {
@@ -64,8 +64,8 @@
64
64
  @include type-style('body-short-01');
65
65
 
66
66
  display: grid;
67
- height: 2rem;
68
67
  align-items: center;
68
+ block-size: 2rem;
69
69
  color: $text-primary;
70
70
  column-gap: $spacing-03;
71
71
  cursor: pointer;
@@ -91,7 +91,7 @@
91
91
 
92
92
  @each $size, $value in $supported-sizes {
93
93
  .#{$prefix}--menu--#{$size} .#{$prefix}--menu-item {
94
- height: $value;
94
+ block-size: $value;
95
95
  }
96
96
  }
97
97
 
@@ -151,9 +151,9 @@
151
151
 
152
152
  .#{$prefix}--menu-item-divider {
153
153
  display: block;
154
- width: 100%;
155
- height: convert.to-rem(1px);
156
154
  background-color: $border-subtle;
155
+ block-size: convert.to-rem(1px);
156
+ inline-size: 100%;
157
157
  margin-block: $spacing-02;
158
158
  }
159
159
  }
@@ -15,7 +15,7 @@
15
15
  /// @group menu-button
16
16
  @mixin menu-button {
17
17
  .#{$prefix}--menu-button__trigger:not(.#{$prefix}--btn--ghost) {
18
- min-width: 10rem;
18
+ min-inline-size: 10rem;
19
19
  }
20
20
 
21
21
  .#{$prefix}--menu-button__trigger svg {
@@ -25,15 +25,15 @@
25
25
  .#{$prefix}--modal {
26
26
  position: fixed;
27
27
  z-index: z('modal');
28
- top: 0;
29
- left: 0;
30
28
  display: flex;
31
- width: 100vw;
32
- height: 100vh;
33
29
  align-items: center;
34
30
  justify-content: center;
35
31
  background-color: $overlay;
32
+ block-size: 100vh;
36
33
  content: '';
34
+ inline-size: 100vw;
35
+ inset-block-start: 0;
36
+ inset-inline-start: 0;
37
37
  opacity: 0;
38
38
  transition: opacity $duration-moderate-02 motion(exit, expressive),
39
39
  visibility 0ms linear $duration-moderate-02;
@@ -78,17 +78,17 @@
78
78
  }
79
79
 
80
80
  .#{$prefix}--list-box__menu-item__option {
81
- border-top-color: $border-subtle-02;
81
+ border-block-start-color: $border-subtle-02;
82
82
  }
83
83
 
84
84
  .#{$prefix}--list-box__menu-item:hover
85
85
  .#{$prefix}--list-box__menu-item__option {
86
- border-top-color: $layer-hover-02;
86
+ border-block-start-color: $layer-hover-02;
87
87
  }
88
88
 
89
89
  .#{$prefix}--list-box__menu-item--active:hover
90
90
  .#{$prefix}--list-box__menu-item__option {
91
- border-top-color: $layer-selected-hover-02;
91
+ border-block-start-color: $layer-selected-hover-02;
92
92
  }
93
93
 
94
94
  // Fluid inputs
@@ -140,7 +140,7 @@
140
140
  .#{$prefix}--number__control-btn:focus::before,
141
141
  .#{$prefix}--number-input--fluid
142
142
  .#{$prefix}--number__control-btn:focus::after {
143
- border-left: 2px solid $focus;
143
+ border-inline-start: 2px solid $focus;
144
144
  }
145
145
  }
146
146
 
@@ -154,15 +154,15 @@
154
154
  // -----------------------------
155
155
  .#{$prefix}--modal-container {
156
156
  position: fixed;
157
- top: 0;
158
157
  display: grid;
159
158
  overflow: hidden;
160
- width: 100%;
161
- height: 100%;
162
- max-height: 100%;
163
159
  background-color: $layer;
160
+ block-size: 100%;
164
161
  grid-template-columns: 100%;
165
162
  grid-template-rows: auto 1fr auto;
163
+ inline-size: 100%;
164
+ inset-block-start: 0;
165
+ max-block-size: 100%;
166
166
  // make modal edge visible on high contrast themes (#3880)
167
167
  outline: 3px solid transparent;
168
168
  outline-offset: -3px;
@@ -172,18 +172,18 @@
172
172
 
173
173
  @include breakpoint(md) {
174
174
  position: static;
175
- width: 84%;
176
- height: auto;
177
- max-height: 90%;
175
+ block-size: auto;
176
+ inline-size: 84%;
177
+ max-block-size: 90%;
178
178
  }
179
179
 
180
180
  @include breakpoint(lg) {
181
- width: 60%;
182
- max-height: 84%;
181
+ inline-size: 60%;
182
+ max-block-size: 84%;
183
183
  }
184
184
 
185
185
  @include breakpoint(xlg) {
186
- width: 48%;
186
+ inline-size: 48%;
187
187
  }
188
188
 
189
189
  .#{$prefix}--modal-container-body {
@@ -198,17 +198,17 @@
198
198
  @include type-style('body-01');
199
199
 
200
200
  position: relative;
201
- // Required to accommodate focus outline's negative offset:
202
- padding-top: $spacing-03;
203
- // anything besides text/p spans full width, with just 16px padding
204
- padding-right: $spacing-05;
205
- padding-left: $spacing-05;
206
- margin-bottom: $spacing-09;
207
201
  color: $text-primary;
208
202
  font-weight: 400;
209
203
  grid-column: 1/-1;
210
204
  grid-row: 2/-2;
205
+ margin-block-end: $spacing-09;
211
206
  overflow-y: auto;
207
+ // Required to accommodate focus outline's negative offset:
208
+ padding-block-start: $spacing-03;
209
+ // anything besides text/p spans full width, with just 16px padding
210
+ padding-inline-end: $spacing-05;
211
+ padding-inline-start: $spacing-05;
212
212
 
213
213
  &:focus {
214
214
  @include focus-outline('outline');
@@ -217,8 +217,8 @@
217
217
 
218
218
  // fluid form in modal
219
219
  .#{$prefix}--modal-content .#{$prefix}--form--fluid {
220
- margin-right: -$spacing-05;
221
- margin-left: -$spacing-05;
220
+ margin-inline-end: -$spacing-05;
221
+ margin-inline-start: -$spacing-05;
222
222
  }
223
223
 
224
224
  //TO-DO: remove .#{$prefix}--modal-content__regular-content in v11 since hasForm has been deprecated
@@ -227,42 +227,42 @@
227
227
  .#{$prefix}--modal-content__regular-content {
228
228
  @include type-style('body-01');
229
229
  // padding should take into account the left and right padding of modal container
230
- padding-right: calc(20% - $spacing-07);
230
+ padding-inline-end: calc(20% - $spacing-07);
231
231
  }
232
232
 
233
233
  //TO-DO: remove .#{$prefix}--modal-content--with-form in v11 since hasForm has been deprecated\
234
234
  // anything besides text/p spans full width, with just 16px padding
235
235
  .#{$prefix}--modal-content--with-form {
236
- padding-right: $spacing-05;
236
+ padding-inline-end: $spacing-05;
237
237
  }
238
238
 
239
239
  // -----------------------------
240
240
  // Modal header
241
241
  // -----------------------------
242
242
  .#{$prefix}--modal-header {
243
- padding-top: $spacing-05;
244
- padding-right: $spacing-09;
245
- padding-left: $spacing-05;
246
- margin-bottom: $spacing-03;
247
243
  grid-column: 1/-1;
248
244
  grid-row: 1/1;
245
+ margin-block-end: $spacing-03;
246
+ padding-block-start: $spacing-05;
247
+ padding-inline-end: $spacing-09;
248
+ padding-inline-start: $spacing-05;
249
249
  }
250
250
 
251
251
  .#{$prefix}--modal-header__label {
252
252
  @include component-reset.reset;
253
253
  @include type-style('label-01');
254
254
 
255
- margin-bottom: $spacing-02;
256
255
  color: $text-secondary;
256
+ margin-block-end: $spacing-02;
257
257
  }
258
258
 
259
259
  .#{$prefix}--modal-header__heading {
260
260
  @include component-reset.reset;
261
261
  @include type-style('heading-03');
262
262
 
263
- // padding should take into account the left and right padding of modal container
264
- padding-right: calc(20% - $spacing-09);
265
263
  color: $text-primary;
264
+ // padding should take into account the left and right padding of modal container
265
+ padding-inline-end: calc(20% - $spacing-09);
266
266
  }
267
267
 
268
268
  // -----------------------------
@@ -271,25 +271,25 @@
271
271
  .#{$prefix}--modal-container--xs {
272
272
  //text always spans full width in xs modals
273
273
  .#{$prefix}--modal-content__regular-content {
274
- padding-right: $spacing-05;
274
+ padding-inline-end: $spacing-05;
275
275
  }
276
276
 
277
277
  .#{$prefix}--modal-content > p {
278
278
  //.#{$prefix}--modal-content already has 16px padding so this doesn't need any
279
- padding-right: 0;
279
+ padding-inline-end: 0;
280
280
  }
281
281
 
282
282
  @include breakpoint(md) {
283
- width: 48%;
283
+ inline-size: 48%;
284
284
  }
285
285
 
286
286
  @include breakpoint(lg) {
287
- width: 32%;
288
- max-height: 48%;
287
+ inline-size: 32%;
288
+ max-block-size: 48%;
289
289
  }
290
290
 
291
291
  @include breakpoint(xlg) {
292
- width: 24%;
292
+ inline-size: 24%;
293
293
  }
294
294
  }
295
295
 
@@ -299,30 +299,30 @@
299
299
  .#{$prefix}--modal-container--sm {
300
300
  //text spans full width in sm modals below 1056
301
301
  .#{$prefix}--modal-content__regular-content {
302
- padding-right: $spacing-05;
302
+ padding-inline-end: $spacing-05;
303
303
  }
304
304
 
305
305
  .#{$prefix}--modal-content > p {
306
306
  //.#{$prefix}--modal-content already has 16px padding so this doesn't need any
307
- padding-right: 0;
307
+ padding-inline-end: 0;
308
308
  }
309
309
 
310
310
  @include breakpoint(md) {
311
- width: 60%;
311
+ inline-size: 60%;
312
312
  }
313
313
 
314
314
  @include breakpoint(lg) {
315
- width: 42%;
316
- max-height: 72%;
315
+ inline-size: 42%;
316
+ max-block-size: 72%;
317
317
 
318
318
  .#{$prefix}--modal-content > p,
319
319
  .#{$prefix}--modal-content__regular-content {
320
- padding-right: 20%;
320
+ padding-inline-end: 20%;
321
321
  }
322
322
  }
323
323
 
324
324
  @include breakpoint(xlg) {
325
- width: 36%;
325
+ inline-size: 36%;
326
326
  }
327
327
  }
328
328
 
@@ -331,16 +331,16 @@
331
331
  // -----------------------------
332
332
  .#{$prefix}--modal-container--lg {
333
333
  @include breakpoint(md) {
334
- width: 96%;
334
+ inline-size: 96%;
335
335
  }
336
336
 
337
337
  @include breakpoint(lg) {
338
- width: 84%;
339
- max-height: 96%;
338
+ inline-size: 84%;
339
+ max-block-size: 96%;
340
340
  }
341
341
 
342
342
  @include breakpoint(xlg) {
343
- width: 72%;
343
+ inline-size: 72%;
344
344
  }
345
345
  }
346
346
 
@@ -349,26 +349,26 @@
349
349
  // -----------------------------
350
350
  // Required so overflow-indicator disappears at end of content
351
351
  .#{$prefix}--modal-scroll-content > *:last-child {
352
- padding-bottom: $spacing-07;
352
+ padding-block-end: $spacing-07;
353
353
  }
354
354
 
355
355
  .#{$prefix}--modal-content--overflow-indicator {
356
356
  position: absolute;
357
- bottom: $spacing-09;
358
- left: 0;
359
- width: 100%;
360
- height: convert.to-rem(32px);
361
357
  background-image: linear-gradient(to bottom, transparent, $layer);
358
+ block-size: convert.to-rem(32px);
362
359
  content: '';
363
360
  grid-column: 1/-1;
364
361
  grid-row: 2/-2;
362
+ inline-size: 100%;
363
+ inset-block-end: $spacing-09;
364
+ inset-inline-start: 0;
365
365
  pointer-events: none;
366
366
  }
367
367
 
368
368
  // Safari-only media query
369
369
  // won't appear correctly with CSS custom properties
370
370
  // see: code snippet and tabs overflow indicators
371
- @media not all and (min-resolution: 0.001dpcm) {
371
+ @media not all and (min-resolution >= 0.001dpcm) {
372
372
  @supports (-webkit-appearance: none) and (stroke-color: transparent) {
373
373
  .#{$prefix}--modal-content--overflow-indicator {
374
374
  background-image: linear-gradient(to bottom, rgba($layer, 0), $layer);
@@ -378,13 +378,13 @@
378
378
 
379
379
  .#{$prefix}--modal-content:focus
380
380
  ~ .#{$prefix}--modal-content--overflow-indicator {
381
- width: calc(100% - 4px);
382
381
  margin: 0 2px 2px;
382
+ inline-size: calc(100% - 4px);
383
383
  }
384
384
 
385
385
  @media screen and (-ms-high-contrast: active) {
386
386
  .#{$prefix}--modal-scroll-content > *:last-child {
387
- padding-bottom: 0;
387
+ padding-block-end: 0;
388
388
  }
389
389
 
390
390
  .#{$prefix}--modal-content--overflow-indicator {
@@ -397,21 +397,21 @@
397
397
  // -----------------------------
398
398
  .#{$prefix}--modal-footer {
399
399
  display: flex;
400
- height: convert.to-rem(64px);
401
400
  justify-content: flex-end;
402
- margin-top: auto;
401
+ block-size: convert.to-rem(64px);
403
402
  grid-column: 1/-1;
404
403
  grid-row: -1/-1;
404
+ margin-block-start: auto;
405
405
  }
406
406
 
407
407
  .#{$prefix}--modal-footer .#{$prefix}--btn {
408
- max-width: none;
409
- height: convert.to-rem(64px);
410
408
  flex: 0 1 50%;
411
409
  align-items: baseline;
412
- padding-top: calc($spacing-05 - convert.to-rem(2px));
413
- padding-bottom: $spacing-07;
414
410
  margin: 0;
411
+ block-size: convert.to-rem(64px);
412
+ max-inline-size: none;
413
+ padding-block-end: $spacing-07;
414
+ padding-block-start: calc($spacing-05 - convert.to-rem(2px));
415
415
  }
416
416
 
417
417
  .#{$prefix}--modal-footer--three-button .#{$prefix}--btn {
@@ -425,15 +425,15 @@
425
425
  .#{$prefix}--modal-close {
426
426
  position: absolute;
427
427
  z-index: 2;
428
- top: 0;
429
- right: 0;
430
428
  overflow: hidden;
431
- width: 3rem;
432
- height: 3rem;
433
429
  padding: convert.to-rem(12px);
434
430
  border: 2px solid transparent;
435
431
  background-color: transparent;
432
+ block-size: 3rem;
436
433
  cursor: pointer;
434
+ inline-size: 3rem;
435
+ inset-block-start: 0;
436
+ inset-inline-end: 0;
437
437
  transition: background-color $duration-fast-02 motion(standard, productive);
438
438
 
439
439
  &:hover {
@@ -451,9 +451,9 @@
451
451
  }
452
452
 
453
453
  .#{$prefix}--modal-close__icon {
454
- width: convert.to-rem(20px);
455
- height: convert.to-rem(20px);
454
+ block-size: convert.to-rem(20px);
456
455
  fill: $icon-primary;
456
+ inline-size: convert.to-rem(20px);
457
457
  }
458
458
 
459
459
  .#{$prefix}--body--with-modal-open {
@@ -20,9 +20,9 @@
20
20
  @mixin multiselect {
21
21
  .#{$prefix}--multi-select .#{$prefix}--list-box__field--wrapper {
22
22
  display: inline-flex;
23
- width: 100%;
24
- height: calc(100% + 1px);
25
23
  align-items: center;
24
+ block-size: calc(100% + 1px);
25
+ inline-size: 100%;
26
26
  }
27
27
 
28
28
  .#{$prefix}--multi-select .#{$prefix}--list-box__field:focus {
@@ -34,21 +34,21 @@
34
34
  }
35
35
 
36
36
  .#{$prefix}--multi-select .#{$prefix}--tag {
37
- min-width: auto;
38
37
  margin: 0 $spacing-03 0 $spacing-05;
38
+ min-inline-size: auto;
39
39
  }
40
40
 
41
41
  .#{$prefix}--multi-select .#{$prefix}--list-box__menu {
42
- min-width: auto;
42
+ min-inline-size: auto;
43
43
  }
44
44
 
45
45
  .#{$prefix}--multi-select
46
46
  .#{$prefix}--list-box__menu-item__option
47
47
  .#{$prefix}--checkbox-wrapper {
48
48
  display: flex;
49
- width: 100%;
50
- height: 100%;
51
49
  align-items: center;
50
+ block-size: 100%;
51
+ inline-size: 100%;
52
52
  }
53
53
 
54
54
  .#{$prefix}--multi-select
@@ -56,8 +56,8 @@
56
56
  .#{$prefix}--checkbox-label {
57
57
  display: inline-block;
58
58
  overflow: hidden;
59
- width: 100%;
60
- padding-left: convert.to-rem(28px);
59
+ inline-size: 100%;
60
+ padding-inline-start: convert.to-rem(28px);
61
61
  text-overflow: ellipsis;
62
62
  white-space: nowrap;
63
63
  }
@@ -97,7 +97,7 @@
97
97
  .#{$prefix}--text-input,
98
98
  .#{$prefix}--multi-select.#{$prefix}--multi-select--selected
99
99
  .#{$prefix}--list-box__field {
100
- padding-left: 0;
100
+ padding-inline-start: 0;
101
101
  }
102
102
 
103
103
  .#{$prefix}--multi-select--filterable.#{$prefix}--list-box--disabled:hover:not(
@@ -115,8 +115,8 @@
115
115
  .#{$prefix}--multi-select--filterable.#{$prefix}--multi-select--inline,
116
116
  .#{$prefix}--multi-select--filterable.#{$prefix}--multi-select--inline
117
117
  .#{$prefix}--text-input {
118
- border-bottom: 0;
119
118
  background-color: transparent;
119
+ border-block-end: 0;
120
120
  }
121
121
 
122
122
  .#{$prefix}--multi-select:not(.#{$prefix}--list-box--expanded)
@@ -126,8 +126,8 @@
126
126
 
127
127
  .#{$prefix}--multi-select.#{$prefix}--multi-select--readonly,
128
128
  .#{$prefix}--multi-select.#{$prefix}--multi-select--readonly:hover {
129
- border-bottom-color: $border-subtle;
130
129
  background-color: transparent;
130
+ border-block-end-color: $border-subtle;
131
131
  }
132
132
 
133
133
  .#{$prefix}--multi-select.#{$prefix}--multi-select--readonly