material-inspired-component-library 7.0.2 → 8.0.1

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 (104) hide show
  1. package/.claude/settings.local.json +14 -0
  2. package/CLAUDE.md +53 -0
  3. package/README.md +6 -0
  4. package/components/accordion/README.md +6 -3
  5. package/components/alert/index.scss +5 -0
  6. package/components/appbar/index.scss +12 -0
  7. package/components/badge/index.scss +2 -0
  8. package/components/bottomsheet/index.scss +9 -0
  9. package/components/button/index.scss +33 -6
  10. package/components/card/README.md +4 -0
  11. package/components/card/index.scss +182 -150
  12. package/components/checkbox/index.scss +28 -6
  13. package/components/datepicker/index.scss +13 -0
  14. package/components/datepicker/index.ts +9 -9
  15. package/components/dialog/index.scss +21 -6
  16. package/components/iconbutton/index.scss +28 -6
  17. package/components/list/README.md +191 -32
  18. package/components/list/index.scss +281 -190
  19. package/components/list/index.ts +100 -100
  20. package/components/menu/README.md +199 -10
  21. package/components/menu/index.scss +242 -47
  22. package/components/menu/index.ts +74 -37
  23. package/components/navigationrail/index.scss +91 -68
  24. package/components/progressindicator/README.md +88 -0
  25. package/components/progressindicator/index.scss +225 -0
  26. package/components/progressindicator/index.ts +77 -0
  27. package/components/radio/index.scss +24 -6
  28. package/components/select/README.md +42 -5
  29. package/components/select/index.scss +45 -79
  30. package/components/shape/README.md +103 -0
  31. package/components/shape/_paths.generated.scss +64 -0
  32. package/components/shape/index.scss +66 -0
  33. package/components/shape/master.scss +28 -0
  34. package/components/sidesheet/index.scss +11 -0
  35. package/components/slider/index.scss +13 -0
  36. package/components/snackbar/index.scss +12 -0
  37. package/components/stepper/index.scss +3 -5
  38. package/components/switch/index.scss +9 -0
  39. package/components/textfield/index.scss +10 -1
  40. package/components/textfield/index.ts +2 -2
  41. package/components/timepicker/index.scss +16 -0
  42. package/dist/alert.css +1 -1
  43. package/dist/appbar.css +1 -1
  44. package/dist/badge.css +1 -1
  45. package/dist/bottomsheet.css +1 -1
  46. package/dist/button.css +1 -1
  47. package/dist/card.css +1 -1
  48. package/dist/checkbox.css +1 -1
  49. package/dist/components/list/index.d.ts +2 -2
  50. package/dist/components/progressindicator/index.d.ts +6 -0
  51. package/dist/datepicker.css +1 -1
  52. package/dist/dialog.css +1 -1
  53. package/dist/divider.css +1 -1
  54. package/dist/foundations/form/index.js +1 -0
  55. package/dist/foundations.css +1 -1
  56. package/dist/iconbutton.css +1 -1
  57. package/dist/layout.css +1 -1
  58. package/dist/list.css +1 -1
  59. package/dist/menu.css +1 -1
  60. package/dist/micl.css +1 -1
  61. package/dist/micl.js +1 -1
  62. package/dist/navigationrail.css +1 -1
  63. package/dist/progressindicator.css +1 -0
  64. package/dist/progressindicator.js +1 -0
  65. package/dist/radio.css +1 -1
  66. package/dist/select.css +1 -1
  67. package/dist/shape.css +1 -0
  68. package/dist/shape.js +1 -0
  69. package/dist/sidesheet.css +1 -1
  70. package/dist/slider.css +1 -1
  71. package/dist/snackbar.css +1 -1
  72. package/dist/stepper.css +1 -1
  73. package/dist/switch.css +1 -1
  74. package/dist/textfield.css +1 -1
  75. package/dist/timepicker.css +1 -1
  76. package/docs/accordion.html +24 -24
  77. package/docs/bottomsheet.html +1 -4
  78. package/docs/datepicker.html +21 -21
  79. package/docs/dialog.html +1 -1
  80. package/docs/index.html +5 -4
  81. package/docs/list.html +38 -22
  82. package/docs/menu.html +246 -41
  83. package/docs/micl.css +1 -1
  84. package/docs/micl.js +1 -1
  85. package/docs/progressindicator.html +288 -0
  86. package/docs/select.html +68 -19
  87. package/docs/shape.css +1 -0
  88. package/docs/shape.js +1 -0
  89. package/docs/shapes.html +150 -0
  90. package/foundations/index.scss +0 -1
  91. package/foundations/layout/README.md +1 -1
  92. package/foundations/layout/index.scss +3 -0
  93. package/micl.ts +8 -1
  94. package/package.json +6 -4
  95. package/styles/README.md +90 -12
  96. package/styles/elevation.scss +46 -13
  97. package/styles/motion.scss +51 -47
  98. package/styles/shapes.scss +41 -26
  99. package/styles/statelayer.scss +93 -36
  100. package/styles/typography.scss +120 -322
  101. package/styles.scss +10 -6
  102. package/tools/shapes/check.mjs +42 -0
  103. package/tools/shapes/generate.mjs +834 -0
  104. package/webpack.config.js +16 -1
@@ -26,6 +26,22 @@
26
26
  @use '../../styles/statelayer';
27
27
  @use '../../styles/typography';
28
28
 
29
+ @include elevation.level(0);
30
+ @include elevation.level(2);
31
+ @include elevation.level(3);
32
+
33
+ @include shapes.corner('none');
34
+ @include shapes.corner('extra-large');
35
+
36
+ @include statelayer.token('hover-state-layer-opacity');
37
+ @include statelayer.token('backdrop-opacity');
38
+ @include statelayer.property;
39
+
40
+ @include typography.scale('headline-small');
41
+ @include typography.scale('title-large');
42
+ @include typography.scale('title-medium');
43
+ @include typography.scale('body-medium');
44
+
29
45
  :root {
30
46
  --md-sys-dialog-min-width: 280px;
31
47
  --md-sys-dialog-max-width: 560px;
@@ -44,6 +60,8 @@ dialog.micl-dialog {
44
60
  --md-sys-dialog-motion-duration: #{motion.$md-sys-motion-expressive-fast-spatial-duration};
45
61
  --md-sys-dialog-motion-duration-reverse: #{motion.$md-sys-motion-expressive-fast-spatial-duration};
46
62
 
63
+ --_dialog-background-color: var(--md-sys-color-surface-container-high);
64
+
47
65
  box-sizing: border-box;
48
66
  display: none;
49
67
  flex-direction: column;
@@ -58,7 +76,7 @@ dialog.micl-dialog {
58
76
  outline: none;
59
77
  border: none;
60
78
  border-radius: var(--md-sys-shape-corner-extra-large);
61
- background-color: var(--md-sys-color-surface-container-high);
79
+ background-color: var(--_dialog-background-color);
62
80
  background-image: linear-gradient(rgb(from var(--statelayer-color) r g b / var(--statelayer-opacity)));
63
81
  background-repeat: no-repeat;
64
82
  box-shadow: var(--md-sys-elevation-level3);
@@ -199,13 +217,9 @@ dialog.micl-dialog {
199
217
 
200
218
  color: var(--md-sys-color-on-surface-variant);
201
219
  }
202
- form {
203
- background-color: inherit;
204
- }
205
220
  .micl-dialog__content {
206
221
  flex-shrink: 1;
207
222
  padding-inline: var(--md-sys-dialog-padding, 24px);
208
- background-color: inherit;
209
223
  overflow-y: auto;
210
224
  }
211
225
  .micl-dialog__actions {
@@ -224,11 +238,12 @@ dialog.micl-dialog {
224
238
 
225
239
  dialog.micl-dialog.micl-dialog--fullscreen {
226
240
  @media (max-width: 560px) {
241
+ --_dialog-background-color: var(--md-sys-color-surface);
242
+
227
243
  inline-size: 100vw;
228
244
  block-size: 100vh;
229
245
  max-inline-size: 100vw;
230
246
  border-radius: var(--md-sys-shape-corner-none, 0px);
231
- background-color: var(--md-sys-color-surface);
232
247
  box-shadow: var(--md-sys-elevation-level0);
233
248
  timeline-scope: --headlineTimeline;
234
249
 
@@ -25,6 +25,24 @@
25
25
  @use '../../styles/shapes';
26
26
  @use '../../styles/statelayer';
27
27
 
28
+ @include elevation.level(0);
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');
35
+
36
+ @include statelayer.token('hover-state-layer-opacity');
37
+ @include statelayer.token('focus-state-layer-opacity');
38
+ @include statelayer.token('pressed-state-layer-opacity');
39
+ @include statelayer.token('disabled-state-layer-opacity');
40
+ @include statelayer.token('focus-indicator-thickness');
41
+ @include statelayer.token('ripple-opacity-factor');
42
+ @include statelayer.token('ripple-duration');
43
+ @include statelayer.property;
44
+ @include statelayer.keyframes;
45
+
28
46
  button.micl-iconbutton-standard-xs,
29
47
  a.micl-iconbutton-standard-xs,
30
48
  button.micl-iconbutton-standard-s,
@@ -61,10 +79,15 @@ button.micl-iconbutton-outlined-xl {
61
79
  border-radius: var(--md-sys-shape-corner-full);
62
80
  background-color: transparent;
63
81
  background-image:
64
- radial-gradient(circle at var(--micl-x, center) var(--micl-y, center), transparent 0%, rgb(from var(--statelayer-color) r g b / var(--statelayer-opacity)) 10%, transparent 10%),
82
+ radial-gradient(
83
+ circle at var(--micl-x, center) var(--micl-y, center),
84
+ transparent 0%,
85
+ rgb(from var(--statelayer-color) r g b / calc(var(--statelayer-opacity) * var(--md-sys-state-ripple-opacity-factor))) 10%,
86
+ transparent 10%
87
+ ),
65
88
  linear-gradient(rgb(from var(--statelayer-color) r g b / var(--statelayer-opacity)));
66
89
  background-repeat: no-repeat;
67
- background-size: 10000%, 100%;
90
+ background-size: 0%, 100%;
68
91
  -webkit-tap-highlight-color: transparent;
69
92
  color: var(--md-sys-color-on-surface-variant);
70
93
  font-variation-settings: 'FILL' 0;
@@ -72,7 +95,7 @@ button.micl-iconbutton-outlined-xl {
72
95
  transition:
73
96
  border-radius var(--md-sys-iconbutton-motion-duration) var(--md-sys-iconbutton-motion-effects),
74
97
  font-variation-settings var(--md-sys-iconbutton-motion-duration) linear,
75
- background-size 3000ms,
98
+ background-size 0ms,
76
99
  --statelayer-opacity var(--md-sys-iconbutton-motion-duration) linear;
77
100
 
78
101
  &:disabled {
@@ -86,9 +109,8 @@ button.micl-iconbutton-outlined-xl {
86
109
  outline: var(--md-sys-state-focus-indicator-thickness, 3px) solid var(--md-sys-color-secondary);
87
110
  outline-offset: 3px;
88
111
  }
89
- &:active {
90
- background-size: 0%, 100%;
91
- transition: background-size 0ms;
112
+ &.micl-rippling {
113
+ animation: micl-ripple var(--md-sys-state-ripple-duration) motion.$md-sys-motion-easing-standard;
92
114
  }
93
115
  }
94
116
  &:hover:not(:disabled),
@@ -4,7 +4,7 @@ This component implements the [Material Design 3 Expressive List](https://m3.mat
4
4
  ## Basic Usage
5
5
 
6
6
  ### HTML
7
- To create a basic list, use the `<ul>` element with the `micl-list` class and individual `<li>` elements for each list item. For a basic single-line item, use the `micl-list-item-one` class:
7
+ To create a standard list, use the `<ul>` element with the `micl-list` class and individual `<li>` elements for each list item. For a single-line item, use the `micl-list-item-one` class:
8
8
 
9
9
  ```HTML
10
10
  <ul class="micl-list">
@@ -16,7 +16,7 @@ To create a basic list, use the `<ul>` element with the `micl-list` class and in
16
16
  </ul>
17
17
  ```
18
18
 
19
- - `tabindex="0"` on the `<li>` makes the list item focusable and allows keyboard navigation.
19
+ - `tabindex="0"` on the `<li>` makes the list item focusable and allows keyboard navigation. Only one item should be marked with a `tabindex="0"`.
20
20
 
21
21
  ### CSS
22
22
  Import the list styles into your project:
@@ -43,12 +43,14 @@ This will initialize any List component, including those that will be added to t
43
43
  A live example of the [List component](https://henkpb.github.io/micl/list.html) is available to interact with.
44
44
 
45
45
  ## Variants
46
+ Adding the `micl-list--segmented` class to the `<ul>` element gives the list a segmented style with a distinct visible background and physical gaps.
47
+
46
48
  The List component offers three CSS classes to control the height and content capacity of individual list items:
47
49
 
48
- | CSS class | Description |
49
- | --------- | ----------- |
50
- | micl-list-item-one | For single-line items, accommodating one line of text. |
51
- | micl-list-item-two | For two-line items, accommodating up to two lines of text. |
50
+ | CSS class | Description |
51
+ | -------------------- | -------------------------------------------------------------- |
52
+ | micl-list-item-one | For single-line items, accommodating one line of text. |
53
+ | micl-list-item-two | For two-line items, accommodating up to two lines of text. |
52
54
  | micl-list-item-three | For three-line items, accommodating up to three lines of text. |
53
55
 
54
56
  ```HTML
@@ -76,9 +78,23 @@ Use the anchor element to convert a list item into a hyperlink:
76
78
  </ul>
77
79
  ```
78
80
 
81
+ Use the button element to convert a list item into an action item:
82
+
83
+ ```HTML
84
+ <ul class="micl-list">
85
+ <li class="micl-list-item-one" tabindex="0">
86
+ <button type="button" onclick="alert('Hello World!')">
87
+ <span class="micl-list-item__text">
88
+ <span class="micl-list-item__headline">Show details</span>
89
+ </span>
90
+ </button>
91
+ </li>
92
+ </ul>
93
+ ```
94
+
79
95
  Adding the `micl-list-item--disabled` class to the `<li>` element causes the list item to be displayed in a disabled state.
80
96
 
81
- Use a [Divider component](../divider/README.md) to separate neighbouring list items by a divider.
97
+ Use a [Divider component](../divider/README.md) to separate neighbouring list items by a divider. Remember to add the role `separator` to the divider element.
82
98
 
83
99
  ### Leading Content
84
100
  The text content of a list item can be preceded by various media elements:
@@ -88,8 +104,8 @@ The text content of a list item can be preceded by various media elements:
88
104
  <li class="micl-list-item-two">
89
105
  <span class="material-symbols-outlined micl-list-item__icon" aria-hidden="true">person</span>
90
106
  <span class="micl-list-item__text">
91
- <span class="micl-list-item__headline">Bill Jones</span>
92
- <span class="micl-list-item__supporting-text">bill.jones@email.com</span>
107
+ <span class="micl-list-item__overline">Senior consultant</span>
108
+ <span class="micl-list-item__headline">Bill Radmore</span>
93
109
  </span>
94
110
  </li>
95
111
  ```
@@ -97,10 +113,10 @@ The text content of a list item can be preceded by various media elements:
97
113
  - **Avatar**: Use `micl-list-item__avatar` with a text.
98
114
  ```HTML
99
115
  <li class="micl-list-item-two">
100
- <span class="micl-list-item__avatar">BJ</span>
116
+ <span class="micl-list-item__avatar">BR</span>
101
117
  <span class="micl-list-item__text">
102
- <span class="micl-list-item__headline">Bill Jones</span>
103
- <span class="micl-list-item__supporting-text">bill.jones@email.com</span>
118
+ <span class="micl-list-item__overline">Our man</span>
119
+ <span class="micl-list-item__headline">Bill Radmore</span>
104
120
  </span>
105
121
  </li>
106
122
  ```
@@ -110,18 +126,18 @@ The text content of a list item can be preceded by various media elements:
110
126
  <li class="micl-list-item-two">
111
127
  <span class="micl-list-item__image" style="background-image:url(https://...jpg)"></span>
112
128
  <span class="micl-list-item__text">
113
- <span class="micl-list-item__headline">Bill Jones</span>
114
- <span class="micl-list-item__supporting-text">bill.jones@email.com</span>
129
+ <span class="micl-list-item__headline">Bill Radmore</span>
130
+ <span class="micl-list-item__supporting-text">bill.radmore@email.com</span>
115
131
  </span>
116
132
  </li>
117
133
  ```
118
134
 
119
- - **Thumbnail (Video)**: Use `micl-list-item__thumbnail` for video previews with a background-image.
135
+ - **Thumbnail (Video)**: Use `micl-list-item__thumbnail` for thumbnail-sized imagery (e.g. video previews or photos).
120
136
  ```HTML
121
137
  <li class="micl-list-item-two">
122
138
  <span class="micl-list-item__thumbnail" style="background-image:url(https://...mp4)"></span>
123
139
  <span class="micl-list-item__text">
124
- <span class="micl-list-item__headline">Bill Jones</span>
140
+ <span class="micl-list-item__headline">Bill Radmore</span>
125
141
  <span class="micl-list-item__supporting-text">Short clip of Bill</span>
126
142
  </span>
127
143
  </li>
@@ -149,7 +165,7 @@ The text of a list item may be followed by a trailing text, imagery or other ele
149
165
  </span>
150
166
  <span class="micl-list-item__trailing-text">100+</span>
151
167
  </li>
152
- ````
168
+ ```
153
169
 
154
170
  ### Selecting List Items
155
171
  To enable selection of list items, integrate a Checkbox or Switch component within the `<li>` element.
@@ -172,7 +188,7 @@ To enable selection of list items, integrate a Checkbox or Switch component with
172
188
  >
173
189
  </label>
174
190
  </li>
175
- <li role="separator" class="micl-divider"></li>
191
+ <li role="separator" class="micl-divider-inset"></li>
176
192
  <li role="option" class="micl-list-item-two">
177
193
  <label>
178
194
  <input
@@ -191,26 +207,169 @@ To enable selection of list items, integrate a Checkbox or Switch component with
191
207
  </ul>
192
208
  ```
193
209
 
194
- - The `role="listbox"` is used for accessibility, indicating a selectable list.
210
+ - The `role="listbox"` and `role="option"` are used for accessibility, indicating a selectable list. They are added automatically when a list contains a selectable item (an item with `tabindex="0"`. The example above shows these roles for clarity.
195
211
 
196
212
  ## Customizations
197
- You can customize the appearance of the List component by overriding its global CSS variables. These variables are declared on the `:root` pseudo-class and can be changed on any appropriate parent element to affect its child lists.
198
-
199
- | Variable name | Default Value | Description |
200
- | ------------- | ------------- | ----------- |
201
- | --md-sys-list-padding | 8px | The vertical padding of a list. |
202
- | --md-sys-list-item-one-height | 56px | The height for a single-line list item. |
203
- | --md-sys-list-item-two-height | 72px | The height for a two-line list item. |
204
- | --md-sys-list-item-three-height | 88px | The height for a three-line list item. |
205
- | --md-sys-list-item-one-padding | 8px | The vertical padding of a single-line list item. |
206
- | --md-sys-list-item-two-padding | 8px | The vertical padding of a two-line list item. |
207
- | --md-sys-list-item-three-padding | 12px | The vertical padding of a three-line list item. |
208
- | --md-sys-list-item-space | 16px | The horizontal spacing between the elements within a list item. |
213
+ The List component supports the following CSS variables, as defined in the [Material Design 3 Expressive List Specification](https://m3.material.io/components/lists/specs):
214
+
215
+ | Variable name |
216
+ | ------------- |
217
+ | --md-comp-list-container-color |
218
+ | --md-comp-list-container-shape |
219
+ | --md-comp-list-container-space |
220
+ | --md-comp-list-segment-gap |
221
+ | |
222
+ | --md-comp-list-item-container-color |
223
+ | --md-comp-list-item-container-expressive-shape |
224
+ | --md-comp-list-item-container-disabled-expressive-shape |
225
+ | --md-comp-list-item-container-dragged-expressive-shape |
226
+ | --md-comp-list-item-container-focused-expressive-shape |
227
+ | --md-comp-list-item-container-hovered-expressive-shape |
228
+ | --md-comp-list-item-container-pressed-expressive-shape |
229
+ | --md-comp-list-item-container-selected-expressive-shape |
230
+ | --md-comp-list-item-container-selected-disabled-expressive-shape |
231
+ | --md-comp-list-item-container-selected-dragged-expressive-shape |
232
+ | --md-comp-list-item-container-selected-focused-expressive-shape |
233
+ | --md-comp-list-item-container-selected-hovered-expressive-shape |
234
+ | --md-comp-list-item-container-selected-pressed-expressive-shape |
235
+ | |
236
+ | --md-comp-list-item-between-space |
237
+ | --md-comp-list-item-bottom-space |
238
+ | --md-comp-list-item-label-text-color |
239
+ | --md-comp-list-item-one-line-container-height |
240
+ | --md-comp-list-item-overline-color |
241
+ | --md-comp-list-item-segmented-container-color |
242
+ | --md-comp-list-item-supporting-text-color |
243
+ | --md-comp-list-item-three-line-container-height |
244
+ | --md-comp-list-item-top-space |
245
+ | --md-comp-list-item-two-line-container-height |
246
+ | |
247
+ | --md-comp-list-item-disabled-label-text-color |
248
+ | --md-comp-list-item-disabled-label-text-opacity |
249
+ | --md-comp-list-item-disabled-leading-icon-color |
250
+ | --md-comp-list-item-disabled-leading-icon-opacity |
251
+ | --md-comp-list-item-disabled-overline-color |
252
+ | --md-comp-list-item-disabled-overline-opacity |
253
+ | --md-comp-list-item-disabled-state-layer-color |
254
+ | --md-comp-list-item-disabled-state-layer-opacity |
255
+ | --md-comp-list-item-disabled-supporting-text-color |
256
+ | --md-comp-list-item-disabled-supporting-text-opacity |
257
+ | --md-comp-list-item-disabled-trailing-icon-color |
258
+ | --md-comp-list-item-disabled-trailing-icon-opacity |
259
+ | --md-comp-list-item-disabled-trailing-supporting-text-color |
260
+ | --md-comp-list-item-disabled-trailing-supporting-text-opacity |
261
+ | |
262
+ | --md-comp-list-item-dragged-container-elevation |
263
+ | --md-comp-list-item-dragged-label-text-color |
264
+ | --md-comp-list-item-dragged-leading-icon-color |
265
+ | --md-comp-list-item-dragged-state-layer-color |
266
+ | --md-comp-list-item-dragged-state-layer-opacity |
267
+ | --md-comp-list-item-dragged-supporting-text-color |
268
+ | --md-comp-list-item-dragged-trailing-icon-color |
269
+ | --md-comp-list-item-dragged-trailing-supporting-text-color |
270
+ | --md-comp-list-item-focus-indicator-color |
271
+ | --md-comp-list-item-focus-indicator-offset |
272
+ | --md-comp-list-item-focus-indicator-thickness |
273
+ | --md-comp-list-item-focus-label-text-color |
274
+ | --md-comp-list-item-focus-leading-icon-color |
275
+ | --md-comp-list-item-focus-state-layer-color |
276
+ | --md-comp-list-item-focus-state-layer-opacity |
277
+ | --md-comp-list-item-focus-supporting-text-color |
278
+ | --md-comp-list-item-focus-trailing-icon-color |
279
+ | --md-comp-list-item-focus-trailing-supporting-text-color |
280
+ | --md-comp-list-item-hover-label-text-color |
281
+ | --md-comp-list-item-hover-leading-icon-color |
282
+ | --md-comp-list-item-hover-state-layer-color |
283
+ | --md-comp-list-item-hover-state-layer-opacity |
284
+ | --md-comp-list-item-hover-supporting-text-color |
285
+ | --md-comp-list-item-hover-trailing-icon-color |
286
+ | --md-comp-list-item-hover-trailing-supporting-text-color |
287
+ | --md-comp-list-item-pressed-label-text-color |
288
+ | --md-comp-list-item-pressed-leading-icon-color |
289
+ | --md-comp-list-item-pressed-state-layer-color |
290
+ | --md-comp-list-item-pressed-state-layer-opacity |
291
+ | --md-comp-list-item-pressed-supporting-text-color |
292
+ | --md-comp-list-item-pressed-trailing-icon-color |
293
+ | --md-comp-list-item-pressed-trailing-supporting-text-color |
294
+ | |
295
+ | --md-comp-list-item-leading-avatar-color |
296
+ | --md-comp-list-item-leading-avatar-label-color |
297
+ | --md-comp-list-item-leading-avatar-shape |
298
+ | --md-comp-list-item-leading-avatar-size |
299
+ | --md-comp-list-item-leading-icon-color |
300
+ | --md-comp-list-item-leading-icon-expressive-size |
301
+ | --md-comp-list-item-leading-image-height |
302
+ | --md-comp-list-item-leading-image-expressive-shape |
303
+ | --md-comp-list-item-leading-image-width |
304
+ | --md-comp-list-item-leading-space |
305
+ | --md-comp-list-item-leading-video-height |
306
+ | --md-comp-list-item-leading-video-shape |
307
+ | --md-comp-list-item-leading-video-width |
308
+ | |
309
+ | --md-comp-list-item-trailing-icon-color |
310
+ | --md-comp-list-item-trailing-icon-expressive-size |
311
+ | --md-comp-list-item-trailing-space |
312
+ | --md-comp-list-item-trailing-supporting-text-color |
313
+ | |
314
+ | --md-comp-list-item-selected-container-color |
315
+ | --md-comp-list-item-selected-label-text-color |
316
+ | --md-comp-list-item-selected-leading-icon-color |
317
+ | --md-comp-list-item-selected-overline-color |
318
+ | --md-comp-list-item-selected-supporting-text-color |
319
+ | --md-comp-list-item-selected-trailing-icon-color |
320
+ | --md-comp-list-item-selected-trailing-supporting-text-color |
321
+ | |
322
+ | --md-comp-list-item-selected-disabled-container-color |
323
+ | --md-comp-list-item-selected-disabled-container-opacity |
324
+ | --md-comp-list-item-selected-disabled-label-text-color |
325
+ | --md-comp-list-item-selected-disabled-label-text-opacity |
326
+ | --md-comp-list-item-selected-disabled-leading-icon-color |
327
+ | --md-comp-list-item-selected-disabled-leading-icon-opacity |
328
+ | --md-comp-list-item-selected-disabled-overline-color |
329
+ | --md-comp-list-item-selected-disabled-overline-opacity |
330
+ | --md-comp-list-item-selected-disabled-state-layer-color |
331
+ | --md-comp-list-item-selected-disabled-state-layer-opacity |
332
+ | --md-comp-list-item-selected-disabled-supporting-text-color |
333
+ | --md-comp-list-item-selected-disabled-supporting-text-opacity |
334
+ | --md-comp-list-item-selected-disabled-trailing-icon-color |
335
+ | --md-comp-list-item-selected-disabled-trailing-icon-opacity |
336
+ | --md-comp-list-item-selected-disabled-trailing-supporting-text-color |
337
+ | --md-comp-list-item-selected-disabled-trailing-supporting-text-opacity |
338
+ | |
339
+ | --md-comp-list-item-selected-dragged-container-elevation |
340
+ | --md-comp-list-item-selected-dragged-label-text-color |
341
+ | --md-comp-list-item-selected-dragged-leading-icon-color |
342
+ | --md-comp-list-item-selected-dragged-state-layer-color |
343
+ | --md-comp-list-item-selected-dragged-state-layer-opacity |
344
+ | --md-comp-list-item-selected-dragged-supporting-text-color |
345
+ | --md-comp-list-item-selected-dragged-trailing-icon-color |
346
+ | --md-comp-list-item-selected-dragged-trailing-supporting-text-color |
347
+ | --md-comp-list-item-selected-focus-label-text-color |
348
+ | --md-comp-list-item-selected-focus-leading-icon-color |
349
+ | --md-comp-list-item-selected-focus-state-layer-color |
350
+ | --md-comp-list-item-selected-focus-state-layer-opacity |
351
+ | --md-comp-list-item-selected-focus-supporting-text-color |
352
+ | --md-comp-list-item-selected-focus-trailing-icon-color |
353
+ | --md-comp-list-item-selected-focus-trailing-supporting-text-color |
354
+ | --md-comp-list-item-selected-hover-label-text-color |
355
+ | --md-comp-list-item-selected-hover-leading-icon-color |
356
+ | --md-comp-list-item-selected-hover-state-layer-color |
357
+ | --md-comp-list-item-selected-hover-state-layer-opacity |
358
+ | --md-comp-list-item-selected-hover-supporting-text-color |
359
+ | --md-comp-list-item-selected-hover-trailing-icon-color |
360
+ | --md-comp-list-item-selected-hover-trailing-supporting-text-color |
361
+ | --md-comp-list-item-selected-pressed-label-text-color |
362
+ | --md-comp-list-item-selected-pressed-leading-icon-color |
363
+ | --md-comp-list-item-selected-pressed-state-layer-color |
364
+ | --md-comp-list-item-selected-pressed-state-layer-opacity |
365
+ | --md-comp-list-item-selected-pressed-supporting-text-color |
366
+ | --md-comp-list-item-selected-pressed-trailing-icon-color |
367
+ | --md-comp-list-item-selected-pressed-trailing-supporting-text-color |
209
368
 
210
369
  **Example: Changing the height of single-line list items**
211
370
 
212
371
  ```HTML
213
- <div style="--md-sys-list-item-one-height:60px">
372
+ <div style="--md-comp-list-item-one-line-container-height:60px">
214
373
  <ul class="micl-list">
215
374
  <li class="micl-list-item-one">
216
375
  <span class="micl-list-item__text">