|
38 | 38 | @include _high-contrast-mode($query); |
39 | 39 |
|
40 | 40 | .mdc-list { |
41 | | - @include _list-base($query: $query); |
| 41 | + @include list-base($query: $query); |
42 | 42 | } |
43 | 43 |
|
44 | 44 | .mdc-list-item { |
45 | | - @include _item-base($query: $query); |
| 45 | + @include item-base($query: $query); |
46 | 46 | @include item-spacing(16px, $query: $query); |
47 | 47 |
|
48 | 48 | @include _one-line-item-density( |
|
93 | 93 |
|
94 | 94 | // For components using aria-activedescendant, the focus pseudoclass is |
95 | 95 | // never applied and use `.mdc-ripple-upgraded--background-focused` instead. |
96 | | - &:not(.mdc-list-item--selected):focus::before, // lint-disable-focus-psuedo-selector |
| 96 | + &:not(.mdc-list-item--selected):focus::before, // lint-disable-focus-pseudo-selector |
97 | 97 | &.mdc-ripple-upgraded--background-focused::before { |
98 | 98 | @include dom-mixins.transparent-border($query: $query); |
99 | 99 | } |
|
998 | 998 | @include three-line-item-height($height, $query: $query); |
999 | 999 | } |
1000 | 1000 |
|
1001 | | -@mixin _list-base($query: feature-targeting.all()) { |
| 1001 | +@mixin list-base($query: feature-targeting.all()) { |
1002 | 1002 | $feat-color: feature-targeting.create-target($query, color); |
1003 | 1003 | $feat-structure: feature-targeting.create-target($query, structure); |
1004 | 1004 | $feat-typography: feature-targeting.create-target($query, typography); |
|
1015 | 1015 | padding: 8px 0; |
1016 | 1016 | list-style-type: none; |
1017 | 1017 |
|
1018 | | - &:focus // lint-disable-focus-psuedo-selector |
| 1018 | + &:focus // lint-disable-focus-pseudo-selector |
1019 | 1019 | { |
1020 | 1020 | outline: none; |
1021 | 1021 | } |
1022 | 1022 | } |
1023 | 1023 | } |
1024 | 1024 |
|
1025 | | -@mixin _item-base($query: feature-targeting.all()) { |
| 1025 | +@mixin item-base($query: feature-targeting.all()) { |
1026 | 1026 | $feat-structure: feature-targeting.create-target($query, structure); |
1027 | 1027 | @include feature-targeting.targets($feat-structure) { |
1028 | 1028 | display: flex; |
|
1032 | 1032 | overflow: hidden; |
1033 | 1033 | padding: 0; |
1034 | 1034 |
|
1035 | | - &:focus // lint-disable-focus-psuedo-selector |
| 1035 | + &:focus // lint-disable-focus-pseudo-selector |
1036 | 1036 | { |
1037 | 1037 | outline: none; |
1038 | 1038 | } |
|
0 commit comments