|
7 | 7 | </ng-container>
|
8 | 8 |
|
9 | 9 |
|
10 |
| -<span class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary" role="gridcell"> |
11 |
| - <span |
| 10 | +<span class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary" role="gridcell" |
12 | 11 | matChipAction
|
13 |
| - [attr.role]="editable ? 'button' : null" |
14 | 12 | [tabIndex]="tabIndex"
|
15 | 13 | [disabled]="disabled"
|
16 | 14 | [attr.aria-label]="ariaLabel"
|
17 | 15 | [attr.aria-describedby]="_ariaDescriptionId">
|
18 |
| - <span class="mdc-evolution-chip__graphic mat-mdc-chip-graphic" *ngIf="leadingIcon"> |
19 |
| - <ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content> |
20 |
| - </span> |
21 |
| - <span class="mdc-evolution-chip__text-label mat-mdc-chip-action-label" [ngSwitch]="_isEditing"> |
22 |
| - <ng-container *ngSwitchCase="false"><ng-content></ng-content></ng-container> |
| 16 | + <span class="mdc-evolution-chip__graphic mat-mdc-chip-graphic" *ngIf="leadingIcon"> |
| 17 | + <ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content> |
| 18 | + </span> |
| 19 | + <span class="mdc-evolution-chip__text-label mat-mdc-chip-action-label" [ngSwitch]="_isEditing"> |
| 20 | + <ng-container *ngSwitchCase="false"><ng-content></ng-content></ng-container> |
23 | 21 |
|
24 |
| - <ng-container *ngSwitchCase="true"> |
25 |
| - <ng-content *ngIf="contentEditInput; else defaultMatChipEditInput" |
26 |
| - select="[matChipEditInput]"></ng-content> |
27 |
| - <ng-template #defaultMatChipEditInput><span matChipEditInput></span></ng-template> |
28 |
| - </ng-container> |
| 22 | + <ng-container *ngSwitchCase="true"> |
| 23 | + <ng-content *ngIf="contentEditInput; else defaultMatChipEditInput" |
| 24 | + select="[matChipEditInput]"></ng-content> |
| 25 | + <ng-template #defaultMatChipEditInput><span matChipEditInput></span></ng-template> |
| 26 | + </ng-container> |
29 | 27 |
|
30 |
| - <span class="mat-mdc-chip-primary-focus-indicator mat-mdc-focus-indicator"></span> |
31 |
| - </span> |
| 28 | + <span class="mat-mdc-chip-primary-focus-indicator mat-mdc-focus-indicator" aria-hidden="true"></span> |
32 | 29 | </span>
|
33 | 30 | </span>
|
34 | 31 |
|
|
0 commit comments