material-inspired-component-library 8.0.1 → 8.1.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 (52) hide show
  1. package/README.md +4 -0
  2. package/components/alert/index.scss +2 -2
  3. package/components/appbar/index.scss +2 -2
  4. package/components/bottomsheet/index.scss +3 -3
  5. package/components/button/index.scss +88 -97
  6. package/components/card/index.scss +10 -3
  7. package/components/checkbox/index.scss +2 -2
  8. package/components/datepicker/index.scss +3 -3
  9. package/components/dialog/index.scss +3 -3
  10. package/components/iconbutton/index.scss +6 -6
  11. package/components/list/index.scss +13 -11
  12. package/components/menu/index.scss +3 -3
  13. package/components/navigationrail/index.scss +2 -2
  14. package/components/radio/index.scss +2 -2
  15. package/components/select/index.scss +4 -2
  16. package/components/shapes/README.md +94 -0
  17. package/components/{shape → shapes}/_paths.generated.scss +0 -6
  18. package/components/{shape → shapes}/index.scss +10 -10
  19. package/components/{shape → shapes}/master.scss +3 -3
  20. package/components/sidesheet/index.scss +3 -3
  21. package/components/slider/index.scss +5 -5
  22. package/components/snackbar/index.scss +2 -2
  23. package/components/switch/index.scss +2 -2
  24. package/components/textfield/index.scss +2 -2
  25. package/components/timepicker/index.scss +3 -3
  26. package/dist/button.css +1 -1
  27. package/dist/card.css +1 -1
  28. package/dist/list.css +1 -1
  29. package/dist/micl.css +1 -1
  30. package/dist/select.css +1 -1
  31. package/dist/shapes.css +1 -0
  32. package/docs/index.html +105 -90
  33. package/docs/menu.html +1 -1
  34. package/docs/micl.css +1 -1
  35. package/docs/shapes.css +1 -0
  36. package/docs/shapes.html +49 -40
  37. package/foundations/layout/index.scss +2 -2
  38. package/package.json +2 -1
  39. package/styles/elevation.scss +10 -7
  40. package/styles/motion.scss +12 -19
  41. package/styles/{shapes.scss → shape.scss} +6 -4
  42. package/styles/statelayer.scss +32 -45
  43. package/styles/typography.scss +4 -5
  44. package/styles.scss +1 -4
  45. package/tools/shapes/check.mjs +1 -1
  46. package/tools/shapes/generate.mjs +2 -8
  47. package/webpack.config.js +2 -2
  48. package/components/shape/README.md +0 -103
  49. package/dist/shape.css +0 -1
  50. package/docs/shape.css +0 -1
  51. /package/dist/{shape.js → shapes.js} +0 -0
  52. /package/docs/{shape.js → shapes.js} +0 -0
package/README.md CHANGED
@@ -114,6 +114,7 @@ The library currently consists of the following components:
114
114
  - [x] [Navigation rail](components/navigationrail/README.md)
115
115
  - [x] [Radio button](components/radio/README.md)
116
116
  - [x] [Select](components/select/README.md)
117
+ - [x] [Shapes](components/shapes/README.md)
117
118
  - [x] [Side sheet](components/sidesheet/README.md)
118
119
  - [x] [Slider](components/slider/README.md)
119
120
  - [x] [Snackbar](components/snackbar/README.md)
@@ -124,6 +125,9 @@ The library currently consists of the following components:
124
125
 
125
126
  ## Change Log ↪️
126
127
 
128
+ ### 8.1.0 (24.06.2026)
129
+ - **Shapes**: The Material shape library supported as the 'Shapes' component.
130
+
127
131
  ### 8.0.0 (05.05.2026)
128
132
  - **BREAKING**: Renamed many CSS custom properties from --md-sys- to --md-comp-.
129
133
  - **List, Menu, Accordion, Select**: Aligned with latest MD3 spec.
@@ -20,10 +20,10 @@
20
20
  // SOFTWARE.
21
21
 
22
22
  @use '../../foundations';
23
- @use '../../styles/shapes';
23
+ @use '../../styles/shape';
24
24
  @use '../../styles/typography';
25
25
 
26
- @include shapes.corner('small');
26
+ @include shape.corner('small');
27
27
 
28
28
  @include typography.scale('title-medium');
29
29
  @include typography.scale('body-medium');
@@ -22,14 +22,14 @@
22
22
  @use '../../foundations';
23
23
  @use '../../foundations/layout';
24
24
  @use '../../styles/elevation';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
29
29
  @include elevation.level(0);
30
30
  @include elevation.level(2);
31
31
 
32
- @include shapes.corner('none');
32
+ @include shape.corner('none');
33
33
 
34
34
  @include typography.scale('display-small');
35
35
  @include typography.scale('headline-medium');
@@ -22,13 +22,13 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
 
28
28
  @include elevation.level(1);
29
29
 
30
- @include shapes.corner('extra-large');
31
- @include shapes.corner('small');
30
+ @include shape.corner('extra-large');
31
+ @include shape.corner('small');
32
32
 
33
33
  @include statelayer.token('focus-indicator-thickness');
34
34
  @include statelayer.token('focus-indicator-outer-offset');
@@ -22,17 +22,17 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
29
29
  @include elevation.level(0);
30
30
  @include elevation.level(1);
31
31
 
32
- @include shapes.corner('small');
33
- @include shapes.corner('medium');
34
- @include shapes.corner('large');
35
- @include shapes.corner('extra-large');
32
+ @include shape.corner('small');
33
+ @include shape.corner('medium');
34
+ @include shape.corner('large');
35
+ @include shape.corner('extra-large');
36
36
 
37
37
  @include statelayer.token('hover-state-layer-opacity');
38
38
  @include statelayer.token('focus-state-layer-opacity');
@@ -49,35 +49,32 @@
49
49
  @include typography.scale('title-medium');
50
50
  @include typography.scale('label-large');
51
51
 
52
- button.micl-button-text-xs,
53
- a.micl-button-text-xs,
54
- button.micl-button-text-s,
55
- a.micl-button-text-s,
56
- button.micl-button-text-m,
57
- a.micl-button-text-m,
58
- button.micl-button-text-l,
59
- button.micl-button-text-l,
60
- button.micl-button-text-xl,
61
- button.micl-button-elevated-xs,
62
- button.micl-button-elevated-s,
63
- button.micl-button-elevated-m,
64
- button.micl-button-elevated-l,
65
- button.micl-button-elevated-xl,
66
- button.micl-button-filled-xs,
67
- button.micl-button-filled-s,
68
- button.micl-button-filled-m,
69
- button.micl-button-filled-l,
70
- button.micl-button-filled-xl,
71
- button.micl-button-tonal-xs,
72
- button.micl-button-tonal-s,
73
- button.micl-button-tonal-m,
74
- button.micl-button-tonal-l,
75
- button.micl-button-tonal-xl,
76
- button.micl-button-outlined-xs,
77
- button.micl-button-outlined-s,
78
- button.micl-button-outlined-m,
79
- button.micl-button-outlined-l,
80
- button.micl-button-outlined-xl {
52
+ .micl-button-text-xs,
53
+ .micl-button-text-s,
54
+ .micl-button-text-m,
55
+ .micl-button-text-l,
56
+ .micl-button-text-l,
57
+ .micl-button-text-xl,
58
+ .micl-button-elevated-xs,
59
+ .micl-button-elevated-s,
60
+ .micl-button-elevated-m,
61
+ .micl-button-elevated-l,
62
+ .micl-button-elevated-xl,
63
+ .micl-button-filled-xs,
64
+ .micl-button-filled-s,
65
+ .micl-button-filled-m,
66
+ .micl-button-filled-l,
67
+ .micl-button-filled-xl,
68
+ .micl-button-tonal-xs,
69
+ .micl-button-tonal-s,
70
+ .micl-button-tonal-m,
71
+ .micl-button-tonal-l,
72
+ .micl-button-tonal-xl,
73
+ .micl-button-outlined-xs,
74
+ .micl-button-outlined-s,
75
+ .micl-button-outlined-m,
76
+ .micl-button-outlined-l,
77
+ .micl-button-outlined-xl {
81
78
  --md-sys-button-motion-effects: #{motion.$md-sys-motion-expressive-fast-spatial};
82
79
  --md-sys-button-motion-duration: #{motion.$md-sys-motion-expressive-fast-spatial-duration};
83
80
  --md-sys-button-motion-duration-reverse: #{motion.$md-sys-motion-expressive-fast-spatial-duration};
@@ -135,12 +132,11 @@ button.micl-button-outlined-xl {
135
132
  }
136
133
  }
137
134
 
138
- button.micl-button-text-xs,
139
- a.micl-button-text-xs,
140
- button.micl-button-elevated-xs,
141
- button.micl-button-filled-xs,
142
- button.micl-button-tonal-xs,
143
- button.micl-button-outlined-xs {
135
+ .micl-button-text-xs,
136
+ .micl-button-elevated-xs,
137
+ .micl-button-filled-xs,
138
+ .micl-button-tonal-xs,
139
+ .micl-button-outlined-xs {
144
140
  @include typography.label-large;
145
141
 
146
142
  --micl-width: 32px;
@@ -183,12 +179,11 @@ button.micl-button-outlined-xs {
183
179
  }
184
180
  }
185
181
 
186
- button.micl-button-text-s,
187
- a.micl-button-text-s,
188
- button.micl-button-elevated-s,
189
- button.micl-button-filled-s,
190
- button.micl-button-tonal-s,
191
- button.micl-button-outlined-s {
182
+ .micl-button-text-s,
183
+ .micl-button-elevated-s,
184
+ .micl-button-filled-s,
185
+ .micl-button-tonal-s,
186
+ .micl-button-outlined-s {
192
187
  @include typography.label-large;
193
188
 
194
189
  --micl-width: 40px;
@@ -230,12 +225,11 @@ button.micl-button-outlined-s {
230
225
  }
231
226
  }
232
227
 
233
- button.micl-button-text-m,
234
- a.micl-button-text-m,
235
- button.micl-button-elevated-m,
236
- button.micl-button-filled-m,
237
- button.micl-button-tonal-m,
238
- button.micl-button-outlined-m {
228
+ .micl-button-text-m,
229
+ .micl-button-elevated-m,
230
+ .micl-button-filled-m,
231
+ .micl-button-tonal-m,
232
+ .micl-button-outlined-m {
239
233
  @include typography.title-medium;
240
234
 
241
235
  --micl-width: 56px;
@@ -268,11 +262,11 @@ button.micl-button-outlined-m {
268
262
  }
269
263
  }
270
264
 
271
- button.micl-button-text-l,
272
- button.micl-button-elevated-l,
273
- button.micl-button-filled-l,
274
- button.micl-button-tonal-l,
275
- button.micl-button-outlined-l {
265
+ .micl-button-text-l,
266
+ .micl-button-elevated-l,
267
+ .micl-button-filled-l,
268
+ .micl-button-tonal-l,
269
+ .micl-button-outlined-l {
276
270
  @include typography.headline-small;
277
271
 
278
272
  --micl-width: 96px;
@@ -305,11 +299,11 @@ button.micl-button-outlined-l {
305
299
  }
306
300
  }
307
301
 
308
- button.micl-button-text-xl,
309
- button.micl-button-elevated-xl,
310
- button.micl-button-filled-xl,
311
- button.micl-button-tonal-xl,
312
- button.micl-button-outlined-xl {
302
+ .micl-button-text-xl,
303
+ .micl-button-elevated-xl,
304
+ .micl-button-filled-xl,
305
+ .micl-button-tonal-xl,
306
+ .micl-button-outlined-xl {
313
307
  @include typography.headline-large;
314
308
 
315
309
  --micl-width: 136px;
@@ -342,14 +336,11 @@ button.micl-button-outlined-xl {
342
336
  }
343
337
  }
344
338
 
345
- button.micl-button-text-xs,
346
- a.micl-button-text-xs,
347
- button.micl-button-text-s,
348
- a.micl-button-text-s,
349
- button.micl-button-text-m,
350
- a.micl-button-text-m,
351
- button.micl-button-text-l,
352
- button.micl-button-text-xl {
339
+ .micl-button-text-xs,
340
+ .micl-button-text-s,
341
+ .micl-button-text-m,
342
+ .micl-button-text-l,
343
+ .micl-button-text-xl {
353
344
  --statelayer-color: var(--md-sys-color-primary);
354
345
 
355
346
  background-color: transparent;
@@ -373,11 +364,11 @@ button.micl-button-text-xl {
373
364
  }
374
365
  }
375
366
 
376
- button.micl-button-elevated-xs,
377
- button.micl-button-elevated-s,
378
- button.micl-button-elevated-m,
379
- button.micl-button-elevated-l,
380
- button.micl-button-elevated-xl {
367
+ .micl-button-elevated-xs,
368
+ .micl-button-elevated-s,
369
+ .micl-button-elevated-m,
370
+ .micl-button-elevated-l,
371
+ .micl-button-elevated-xl {
381
372
  --statelayer-color: var(--md-sys-color-primary);
382
373
 
383
374
  background-color: var(--md-sys-color-surface-container-low);
@@ -410,20 +401,20 @@ button.micl-button-elevated-xl {
410
401
  }
411
402
  }
412
403
  }
413
- button.micl-button-elevated-xs {
404
+ .micl-button-elevated-xs {
414
405
  block-size: 32px;
415
406
  border: none;
416
407
  }
417
- button.micl-button-elevated-s {
408
+ .micl-button-elevated-s {
418
409
  block-size: 40px;
419
410
  border: none;
420
411
  }
421
412
 
422
- button.micl-button-filled-xs,
423
- button.micl-button-filled-s,
424
- button.micl-button-filled-m,
425
- button.micl-button-filled-l,
426
- button.micl-button-filled-xl {
413
+ .micl-button-filled-xs,
414
+ .micl-button-filled-s,
415
+ .micl-button-filled-m,
416
+ .micl-button-filled-l,
417
+ .micl-button-filled-xl {
427
418
  --statelayer-color: var(--md-sys-color-on-primary);
428
419
 
429
420
  background-color: var(--md-sys-color-primary);
@@ -457,11 +448,11 @@ button.micl-button-filled-xl {
457
448
  }
458
449
  }
459
450
 
460
- button.micl-button-tonal-xs,
461
- button.micl-button-tonal-s,
462
- button.micl-button-tonal-m,
463
- button.micl-button-tonal-l,
464
- button.micl-button-tonal-xl {
451
+ .micl-button-tonal-xs,
452
+ .micl-button-tonal-s,
453
+ .micl-button-tonal-m,
454
+ .micl-button-tonal-l,
455
+ .micl-button-tonal-xl {
465
456
  --statelayer-color: var(--md-sys-color-on-secondary-container);
466
457
 
467
458
  background-color: var(--md-sys-color-secondary-container);
@@ -494,11 +485,11 @@ button.micl-button-tonal-xl {
494
485
  }
495
486
  }
496
487
 
497
- button.micl-button-outlined-xs,
498
- button.micl-button-outlined-s,
499
- button.micl-button-outlined-m,
500
- button.micl-button-outlined-l,
501
- button.micl-button-outlined-xl {
488
+ .micl-button-outlined-xs,
489
+ .micl-button-outlined-s,
490
+ .micl-button-outlined-m,
491
+ .micl-button-outlined-l,
492
+ .micl-button-outlined-xl {
502
493
  --statelayer-color: var(--md-sys-color-on-surface-variant);
503
494
 
504
495
  background-color: transparent;
@@ -530,14 +521,14 @@ button.micl-button-outlined-xl {
530
521
  }
531
522
  }
532
523
  }
533
- button.micl-button-outlined-xs,
534
- button.micl-button-outlined-s,
535
- button.micl-button-outlined-m {
524
+ .micl-button-outlined-xs,
525
+ .micl-button-outlined-s,
526
+ .micl-button-outlined-m {
536
527
  border: 1px solid var(--md-sys-color-outline-variant);
537
528
  }
538
- button.micl-button-outlined-l {
529
+ .micl-button-outlined-l {
539
530
  border: 2px solid var(--md-sys-color-outline-variant);
540
531
  }
541
- button.micl-button-outlined-xl {
532
+ .micl-button-outlined-xl {
542
533
  border: 3px solid var(--md-sys-color-outline-variant);
543
534
  }
@@ -23,7 +23,7 @@
23
23
  @use '../../foundations';
24
24
  @use '../../styles/elevation';
25
25
  @use '../../styles/motion';
26
- @use '../../styles/shapes';
26
+ @use '../../styles/shape';
27
27
  @use '../../styles/statelayer';
28
28
  @use '../../styles/typography';
29
29
 
@@ -33,7 +33,7 @@
33
33
  @include elevation.level(3);
34
34
  @include elevation.level(4);
35
35
 
36
- @include shapes.corner('medium');
36
+ @include shape.corner('medium');
37
37
 
38
38
  @include statelayer.token('hover-state-layer-opacity');
39
39
  @include statelayer.token('focus-state-layer-opacity');
@@ -236,7 +236,7 @@
236
236
 
237
237
  .micl-card__image {
238
238
  grid-column: 1;
239
- grid-row: 1 / -1;
239
+ grid-row: 1 / span 4;
240
240
  block-size: 100%;
241
241
  background-size: cover;
242
242
  }
@@ -408,4 +408,11 @@
408
408
  gap: 8px;
409
409
  padding-block: 0 var(--md-comp-card-content-padding-block, 16px);
410
410
  padding-inline: var(--md-comp-card-padding-inline, 16px);
411
+
412
+ &.micl-card__actions--outset-start {
413
+ padding-inline-start: calc(var(--md-comp-card-padding-inline, 16px) - 16px);
414
+ }
415
+ &.micl-card__actions--outset-end {
416
+ padding-inline-end: calc(var(--md-comp-card-padding-inline, 16px) - 16px);
417
+ }
411
418
  }
@@ -21,11 +21,11 @@
21
21
 
22
22
  @use '../../foundations';
23
23
  @use '../../styles/motion';
24
- @use '../../styles/shapes';
24
+ @use '../../styles/shape';
25
25
  @use '../../styles/statelayer';
26
26
  @use '../../styles/typography';
27
27
 
28
- @include shapes.corner('full');
28
+ @include shape.corner('full');
29
29
 
30
30
  @include statelayer.token('layer-size');
31
31
  @include statelayer.token('hover-state-layer-opacity');
@@ -21,12 +21,12 @@
21
21
 
22
22
  @use '../../foundations';
23
23
  @use '../../styles/motion';
24
- @use '../../styles/shapes';
24
+ @use '../../styles/shape';
25
25
  @use '../../styles/statelayer';
26
26
  @use '../../styles/typography';
27
27
 
28
- @include shapes.corner('large');
29
- @include shapes.corner('full');
28
+ @include shape.corner('large');
29
+ @include shape.corner('full');
30
30
 
31
31
  @include statelayer.token('hover-state-layer-opacity');
32
32
  @include statelayer.token('focus-state-layer-opacity');
@@ -22,7 +22,7 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
@@ -30,8 +30,8 @@
30
30
  @include elevation.level(2);
31
31
  @include elevation.level(3);
32
32
 
33
- @include shapes.corner('none');
34
- @include shapes.corner('extra-large');
33
+ @include shape.corner('none');
34
+ @include shape.corner('extra-large');
35
35
 
36
36
  @include statelayer.token('hover-state-layer-opacity');
37
37
  @include statelayer.token('backdrop-opacity');
@@ -22,16 +22,16 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
 
28
28
  @include elevation.level(0);
29
29
 
30
- @include shapes.corner('small');
31
- @include shapes.corner('medium');
32
- @include shapes.corner('large');
33
- @include shapes.corner('extra-large');
34
- @include shapes.corner('full');
30
+ @include shape.corner('small');
31
+ @include shape.corner('medium');
32
+ @include shape.corner('large');
33
+ @include shape.corner('extra-large');
34
+ @include shape.corner('full');
35
35
 
36
36
  @include statelayer.token('hover-state-layer-opacity');
37
37
  @include statelayer.token('focus-state-layer-opacity');
@@ -22,17 +22,17 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
29
29
  @include elevation.level(4);
30
30
 
31
- @include shapes.corner('extra-small');
32
- @include shapes.corner('small');
33
- @include shapes.corner('medium');
34
- @include shapes.corner('large');
35
- @include shapes.corner('full');
31
+ @include shape.corner('extra-small');
32
+ @include shape.corner('small');
33
+ @include shape.corner('medium');
34
+ @include shape.corner('large');
35
+ @include shape.corner('full');
36
36
 
37
37
  @include statelayer.token('hover-state-layer-opacity');
38
38
  @include statelayer.token('focus-state-layer-opacity');
@@ -58,10 +58,12 @@
58
58
  $item-padding-block: var(--md-comp-list-item-top-space, 10px) var(--md-comp-list-item-bottom-space, 10px);
59
59
  $item-padding-inline: var(--md-comp-list-item-leading-space, 16px) var(--md-comp-list-item-trailing-space, 16px);
60
60
 
61
+ $open-accordion: ':where(details[open] > *)';
62
+
61
63
  %shared-interactive-states {
62
64
  cursor: pointer;
63
65
 
64
- &:not(:has(input[type=checkbox]:checked)) {
66
+ &:not(:has(input[type=checkbox]:checked)):not(#{$open-accordion}) {
65
67
  &:hover {
66
68
  --_list-item-shape: var(--md-comp-list-item-container-hovered-expressive-shape, var(--md-sys-shape-corner-medium, 12px));
67
69
  --_headline-color: var(--md-comp-list-item-hover-label-text-color, var(--md-sys-color-on-surface));
@@ -109,7 +111,7 @@ $item-padding-inline: var(--md-comp-list-item-leading-space, 16px) var(--md-comp
109
111
  cursor: grabbing;
110
112
  }
111
113
  }
112
- &:has(input[type=checkbox]:checked) {
114
+ &:is(:has(input[type=checkbox]:checked), #{$open-accordion}) {
113
115
  &:hover {
114
116
  --_list-item-shape: var(--md-comp-list-item-container-selected-hovered-expressive-shape, var(--md-sys-shape-corner-large, 16px));
115
117
  --_headline-color: var(--md-comp-list-item-selected-hover-label-text-color, var(--md-sys-color-on-secondary-container));
@@ -327,7 +329,7 @@ $item-padding-inline: var(--md-comp-list-item-leading-space, 16px) var(--md-comp
327
329
  opacity: var(--md-sys-state-disabled-state-layer-opacity, 38%);
328
330
  }
329
331
 
330
- &:checked, &:has(input[type=checkbox]:checked) {
332
+ &:checked, &:has(input[type=checkbox]:checked), &#{$open-accordion} {
331
333
  --_list-item-background-color: var(--md-comp-list-item-selected-disabled-container-color, var(--md-sys-color-on-surface));
332
334
  --_list-item-background-opacity: var(--md-comp-list-item-selected-disabled-container-opacity, var(--md-sys-state-disabled-state-layer-opacity, 38%));
333
335
  --_list-item-shape: var(--md-comp-list-item-container-selected-disabled-expressive-shape, var(--md-sys-shape-corner-large, 16px));
@@ -341,7 +343,7 @@ $item-padding-inline: var(--md-comp-list-item-leading-space, 16px) var(--md-comp
341
343
  --statelayer-opacity: var(--md-comp-list-item-selected-disabled-state-layer-opacity, 0%);
342
344
  }
343
345
  }
344
- &:checked, &:has(input[type=checkbox]:checked) {
346
+ &:checked, &:has(input[type=checkbox]:checked), &#{$open-accordion} {
345
347
  --_list-item-background-color: var(--md-comp-list-item-selected-container-color, var(--md-sys-color-secondary-container));
346
348
  --_list-item-background-opacity: 100%;
347
349
  --_overline-color: var(--md-comp-list-item-selected-overline-color, var(--md-sys-color-on-secondary-container));
@@ -352,7 +354,7 @@ $item-padding-inline: var(--md-comp-list-item-leading-space, 16px) var(--md-comp
352
354
  --_trailing-icon-color: var(--md-comp-list-item-selected-trailing-icon-color, var(--md-sys-color-on-secondary-container));
353
355
  }
354
356
  &:not(:disabled):not(.micl-list-item--disabled) {
355
- &:checked, &:has(input[type=checkbox]:checked) {
357
+ &:checked, &:has(input[type=checkbox]:checked), &#{$open-accordion} {
356
358
  --_list-item-shape: var(--md-comp-list-item-container-selected-expressive-shape, var(--md-sys-shape-corner-large, 16px));
357
359
  }
358
360
  input[type=checkbox]:not(:disabled):hover,
@@ -22,14 +22,14 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
29
29
  @include elevation.level(2);
30
30
 
31
- @include shapes.corner('small');
32
- @include shapes.corner('large');
31
+ @include shape.corner('small');
32
+ @include shape.corner('large');
33
33
 
34
34
  @include statelayer.token('hover-state-layer-opacity');
35
35
  @include statelayer.token('focus-state-layer-opacity');
@@ -23,14 +23,14 @@
23
23
  @use '../../foundations/layout';
24
24
  @use '../../styles/elevation';
25
25
  @use '../../styles/motion';
26
- @use '../../styles/shapes';
26
+ @use '../../styles/shape';
27
27
  @use '../../styles/statelayer';
28
28
  @use '../../styles/typography';
29
29
 
30
30
  @include elevation.level(0);
31
31
  @include elevation.level(2);
32
32
 
33
- @include shapes.corner('large');
33
+ @include shape.corner('large');
34
34
 
35
35
  @include statelayer.token('hover-state-layer-opacity');
36
36
  @include statelayer.token('focus-state-layer-opacity');
@@ -21,10 +21,10 @@
21
21
 
22
22
  @use '../../foundations';
23
23
  @use '../../styles/motion';
24
- @use '../../styles/shapes';
24
+ @use '../../styles/shape';
25
25
  @use '../../styles/statelayer';
26
26
 
27
- @include shapes.corner('full');
27
+ @include shape.corner('full');
28
28
 
29
29
  @include statelayer.token('layer-size');
30
30
  @include statelayer.token('hover-state-layer-opacity');
@@ -22,13 +22,13 @@
22
22
  @use '../../foundations';
23
23
  @use '../../styles/elevation';
24
24
  @use '../../styles/motion';
25
- @use '../../styles/shapes';
25
+ @use '../../styles/shape';
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
29
29
  @include elevation.level(2);
30
30
 
31
- @include shapes.corner('large');
31
+ @include shape.corner('large');
32
32
 
33
33
  @include statelayer.token('disabled-state-layer-opacity');
34
34
 
@@ -113,6 +113,8 @@
113
113
 
114
114
  .micl-list-item__text::after {
115
115
  content: attr(aria-description);
116
+ overflow: hidden;
117
+ text-overflow: ellipsis;
116
118
  }
117
119
  &::checkmark {
118
120
  color: var(--md-sys-color-on-surface-variant);