material-inspired-component-library 7.0.2 → 8.0.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 (66) hide show
  1. package/CLAUDE.md +42 -0
  2. package/README.md +6 -0
  3. package/components/accordion/README.md +6 -3
  4. package/components/button/index.scss +10 -6
  5. package/components/card/README.md +4 -0
  6. package/components/card/index.scss +159 -150
  7. package/components/checkbox/index.scss +11 -6
  8. package/components/datepicker/index.ts +9 -9
  9. package/components/dialog/index.scss +5 -6
  10. package/components/iconbutton/index.scss +10 -6
  11. package/components/list/README.md +191 -32
  12. package/components/list/index.scss +256 -190
  13. package/components/list/index.ts +100 -100
  14. package/components/menu/README.md +199 -10
  15. package/components/menu/index.scss +224 -47
  16. package/components/menu/index.ts +74 -37
  17. package/components/navigationrail/index.scss +75 -69
  18. package/components/radio/index.scss +11 -6
  19. package/components/select/README.md +42 -5
  20. package/components/select/index.scss +39 -79
  21. package/components/stepper/index.scss +1 -5
  22. package/components/textfield/index.scss +1 -1
  23. package/components/textfield/index.ts +2 -2
  24. package/dist/alert.css +1 -1
  25. package/dist/appbar.css +1 -1
  26. package/dist/badge.css +1 -1
  27. package/dist/bottomsheet.css +1 -1
  28. package/dist/button.css +1 -1
  29. package/dist/card.css +1 -1
  30. package/dist/checkbox.css +1 -1
  31. package/dist/components/list/index.d.ts +2 -2
  32. package/dist/datepicker.css +1 -1
  33. package/dist/dialog.css +1 -1
  34. package/dist/divider.css +1 -1
  35. package/dist/foundations.css +1 -1
  36. package/dist/iconbutton.css +1 -1
  37. package/dist/list.css +1 -1
  38. package/dist/menu.css +1 -1
  39. package/dist/micl.css +1 -1
  40. package/dist/micl.js +1 -1
  41. package/dist/navigationrail.css +1 -1
  42. package/dist/radio.css +1 -1
  43. package/dist/select.css +1 -1
  44. package/dist/sidesheet.css +1 -1
  45. package/dist/slider.css +1 -1
  46. package/dist/snackbar.css +1 -1
  47. package/dist/stepper.css +1 -1
  48. package/dist/switch.css +1 -1
  49. package/dist/textfield.css +1 -1
  50. package/dist/timepicker.css +1 -1
  51. package/docs/accordion.html +24 -24
  52. package/docs/bottomsheet.html +1 -4
  53. package/docs/dialog.html +1 -1
  54. package/docs/index.html +4 -4
  55. package/docs/list.html +38 -22
  56. package/docs/menu.html +246 -41
  57. package/docs/micl.css +1 -1
  58. package/docs/micl.js +1 -1
  59. package/docs/select.html +68 -19
  60. package/docs/shapes.html +85 -0
  61. package/foundations/index.scss +0 -1
  62. package/micl.ts +6 -1
  63. package/package.json +3 -3
  64. package/styles/README.md +4 -4
  65. package/styles/shapes.scss +81 -0
  66. package/styles/statelayer.scss +10 -0
@@ -139,9 +139,9 @@ const renderCalendarHeader = (): DocumentFragment =>
139
139
  const tempDate = new Date();
140
140
  const startOffset = tempDate.getDay() - firstDayOfWeek;
141
141
  tempDate.setDate(tempDate.getDate() - startOffset);
142
-
142
+
143
143
  const fragment = document.createDocumentFragment();
144
-
144
+
145
145
  for (let i = 0; i < 7; i++) {
146
146
  const span = document.createElement('span');
147
147
  span.style.gridArea = `1 / ${i + 1}`;
@@ -179,10 +179,10 @@ const populateContainerWithDays = (
179
179
  const day = days[index];
180
180
  el.dateTime = day.val;
181
181
  el.textContent = day.date.getDate().toString();
182
-
182
+
183
183
  const isSelected = day.date.getTime() === state.selected.getTime();
184
184
  const isToday = day.date.getTime() === today.getTime();
185
-
185
+
186
186
  el.className = '';
187
187
  if (!day.isCurrentMonth) el.classList.add('micl-datepicker__outside');
188
188
  if (isSelected) el.classList.add('micl-datepicker__selected');
@@ -303,7 +303,7 @@ const renderCalendar = (
303
303
 
304
304
  const monthInput = dialog.querySelector<HTMLInputElement>(`.micl-datepicker__months input[value="${state.viewDate.getMonth()}"]`);
305
305
  if (monthInput) monthInput.checked = true;
306
-
306
+
307
307
  const yearInput = dialog.querySelector<HTMLInputElement>(`.micl-datepicker__years input[value="${state.viewDate.getFullYear()}"]`);
308
308
  if (yearInput) yearInput.checked = true;
309
309
  };
@@ -335,7 +335,7 @@ const initPeriodPickers = (dialog: HTMLDialogElement, min: Date, max: Date): voi
335
335
  months.push(current.getMonth());
336
336
  current.setMonth(current.getMonth() + 1);
337
337
  }
338
-
338
+
339
339
  [...new Set(months.sort((a, b) => a - b))].forEach(m => {
340
340
  const label = document.createElement('label');
341
341
  label.innerHTML = `<span class="material-symbols-outlined">check</span><input type="radio" name="miclmonth" value="${m}"> ${formatters.monthLong.format(new Date(2000, m, 1))}`;
@@ -498,7 +498,7 @@ const selectDate = (dialog: HTMLDialogElement, dateStr: string, isLocaleFormatte
498
498
  if (parts.length === 3) {
499
499
  state.selected = new Date(parts[0], parts[1], parts[2]);
500
500
  state.viewDate = new Date(state.selected);
501
-
501
+
502
502
  renderCalendar(dialog, state);
503
503
  }
504
504
  };
@@ -562,7 +562,7 @@ export default (() =>
562
562
  const forMonth = btn.parentElement?.classList.contains('micl-datepicker__month-selector');
563
563
  const isNext = btn.classList.contains('micl-datepicker__next');
564
564
  const isPrev = btn.classList.contains('micl-datepicker__previous');
565
-
565
+
566
566
  if (isNext || isPrev) {
567
567
  changePeriod(dialog, isNext ? 1 : -1, forMonth ? 'month' : 'year');
568
568
  return;
@@ -628,7 +628,7 @@ export default (() =>
628
628
  if (!isInvoker(invoker)) {
629
629
  return;
630
630
  }
631
-
631
+
632
632
  let initialDate = new Date();
633
633
  let min = new Date(1900, 0, 1);
634
634
  let max = new Date(2099, 11, 31);
@@ -44,6 +44,8 @@ dialog.micl-dialog {
44
44
  --md-sys-dialog-motion-duration: #{motion.$md-sys-motion-expressive-fast-spatial-duration};
45
45
  --md-sys-dialog-motion-duration-reverse: #{motion.$md-sys-motion-expressive-fast-spatial-duration};
46
46
 
47
+ --_dialog-background-color: var(--md-sys-color-surface-container-high);
48
+
47
49
  box-sizing: border-box;
48
50
  display: none;
49
51
  flex-direction: column;
@@ -58,7 +60,7 @@ dialog.micl-dialog {
58
60
  outline: none;
59
61
  border: none;
60
62
  border-radius: var(--md-sys-shape-corner-extra-large);
61
- background-color: var(--md-sys-color-surface-container-high);
63
+ background-color: var(--_dialog-background-color);
62
64
  background-image: linear-gradient(rgb(from var(--statelayer-color) r g b / var(--statelayer-opacity)));
63
65
  background-repeat: no-repeat;
64
66
  box-shadow: var(--md-sys-elevation-level3);
@@ -199,13 +201,9 @@ dialog.micl-dialog {
199
201
 
200
202
  color: var(--md-sys-color-on-surface-variant);
201
203
  }
202
- form {
203
- background-color: inherit;
204
- }
205
204
  .micl-dialog__content {
206
205
  flex-shrink: 1;
207
206
  padding-inline: var(--md-sys-dialog-padding, 24px);
208
- background-color: inherit;
209
207
  overflow-y: auto;
210
208
  }
211
209
  .micl-dialog__actions {
@@ -224,11 +222,12 @@ dialog.micl-dialog {
224
222
 
225
223
  dialog.micl-dialog.micl-dialog--fullscreen {
226
224
  @media (max-width: 560px) {
225
+ --_dialog-background-color: var(--md-sys-color-surface);
226
+
227
227
  inline-size: 100vw;
228
228
  block-size: 100vh;
229
229
  max-inline-size: 100vw;
230
230
  border-radius: var(--md-sys-shape-corner-none, 0px);
231
- background-color: var(--md-sys-color-surface);
232
231
  box-shadow: var(--md-sys-elevation-level0);
233
232
  timeline-scope: --headlineTimeline;
234
233
 
@@ -61,10 +61,15 @@ button.micl-iconbutton-outlined-xl {
61
61
  border-radius: var(--md-sys-shape-corner-full);
62
62
  background-color: transparent;
63
63
  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%),
64
+ radial-gradient(
65
+ circle at var(--micl-x, center) var(--micl-y, center),
66
+ transparent 0%,
67
+ rgb(from var(--statelayer-color) r g b / calc(var(--statelayer-opacity) * var(--md-sys-state-ripple-opacity-factor))) 10%,
68
+ transparent 10%
69
+ ),
65
70
  linear-gradient(rgb(from var(--statelayer-color) r g b / var(--statelayer-opacity)));
66
71
  background-repeat: no-repeat;
67
- background-size: 10000%, 100%;
72
+ background-size: 0%, 100%;
68
73
  -webkit-tap-highlight-color: transparent;
69
74
  color: var(--md-sys-color-on-surface-variant);
70
75
  font-variation-settings: 'FILL' 0;
@@ -72,7 +77,7 @@ button.micl-iconbutton-outlined-xl {
72
77
  transition:
73
78
  border-radius var(--md-sys-iconbutton-motion-duration) var(--md-sys-iconbutton-motion-effects),
74
79
  font-variation-settings var(--md-sys-iconbutton-motion-duration) linear,
75
- background-size 3000ms,
80
+ background-size 0ms,
76
81
  --statelayer-opacity var(--md-sys-iconbutton-motion-duration) linear;
77
82
 
78
83
  &:disabled {
@@ -86,9 +91,8 @@ button.micl-iconbutton-outlined-xl {
86
91
  outline: var(--md-sys-state-focus-indicator-thickness, 3px) solid var(--md-sys-color-secondary);
87
92
  outline-offset: 3px;
88
93
  }
89
- &:active {
90
- background-size: 0%, 100%;
91
- transition: background-size 0ms;
94
+ &.micl-rippling {
95
+ animation: micl-ripple var(--md-sys-state-ripple-duration) motion.$md-sys-motion-easing-standard;
92
96
  }
93
97
  }
94
98
  &: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">