Skip to content

Commit 2994365

Browse files
andrewseguinmmalerba
authored andcommitted
fix(material-experimental/mdc-chips): incorrect selector for m… (#16722)
1 parent 19453d4 commit 2994365

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<ng-content select="[mat-chip-avatar], [matChipAvatar]"></ng-content>
1+
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
22
<svg *ngIf="_chipListMultiple" class="mdc-chip__checkmark-svg" viewBox="-2 -3 30 30">
33
<path class="mdc-chip__checkmark-path" fill="none" stroke="black"
44
d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
55
</svg>
66
<div class="mdc-chip__text"><ng-content></ng-content></div>
7-
<ng-content select="[mat-chip-trailing-icon],[matChipRemove],[matChipTrailingIcon]"></ng-content>
7+
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>

src/material-experimental/mdc-chips/chip-row.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div role="gridcell">
22
<div #chipContent tabindex="-1" class="mat-chip-row-focusable-text-content">
3-
<ng-content select="[mat-chip-avatar], [matChipAvatar]"></ng-content>
3+
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
44
<span class="mdc-chip__text"><ng-content></ng-content></span>
5-
<ng-content select="[mat-chip-trailing-icon],[matChipTrailingIcon]"></ng-content>
5+
<ng-content select="mat-chip-trailing-icon,[matChipTrailingIcon]"></ng-content>
66
</div>
77
</div>
88
<div role="gridcell" *ngIf="removeIcon">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<ng-content select="[mat-chip-avatar], [matChipAvatar]"></ng-content>
1+
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
22
<div class="mdc-chip__text"><ng-content></ng-content></div>
3-
<ng-content select="[mat-chip-trailing-icon],[matChipRemove],[matChipTrailingIcon]"></ng-content>
3+
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>

0 commit comments

Comments
 (0)