Skip to content

Commit 7bde457

Browse files
committed
fix(material-experimental/mdc-chips): align with latest MDC markup
Aligns the MDC-based chips with the latest MDC markup. Also bumps to the latest MDC Canary version.
1 parent fd1593d commit 7bde457

File tree

3 files changed

+515
-513
lines changed

3 files changed

+515
-513
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@types/youtube": "^0.0.38",
5656
"@webcomponents/custom-elements": "^1.1.0",
5757
"core-js": "^2.6.9",
58-
"material-components-web": "5.0.0-canary.b4727e43a.0",
58+
"material-components-web": "5.0.0-canary.8c11ea2a3.0",
5959
"rxjs": "^6.5.3",
6060
"systemjs": "0.19.43",
6161
"tslib": "^1.10.0",
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<span class="mdc-chip__ripple"></span>
22
<ng-content select="mat-chip-avatar, [matChipAvatar]"></ng-content>
3-
<div class="mdc-chip__text mdc-chip__action--primary"><ng-content></ng-content></div>
3+
<div class="mdc-chip__primary-action">
4+
<div class="mdc-chip__text"><ng-content></ng-content></div>
5+
</div>
46
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>

0 commit comments

Comments
 (0)