Skip to content

Commit ba11a0b

Browse files
crisbetommalerba
authored andcommitted
build: update to latest MDC canary and fix errors
Updates to the latest canary version of MDC and fixes the following errors: - The chip foundation was expanded to include some events for editable chips. These are noops for now since we don't support editable chips yet. - Some new files were added to the table that we hadn't accounted for.
1 parent 72c38f7 commit ba11a0b

File tree

4 files changed

+538
-533
lines changed

4 files changed

+538
-533
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@types/youtube": "^0.0.38",
6060
"@webcomponents/custom-elements": "^1.1.0",
6161
"core-js": "^2.6.9",
62-
"material-components-web": "7.0.0-canary.8073a20a9.0",
62+
"material-components-web": "7.0.0-canary.7461aad68.0",
6363
"rxjs": "^6.5.3",
6464
"systemjs": "0.19.43",
6565
"tslib": "^2.0.0",

src/material-experimental/mdc-chips/chip.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ export class MatChip extends _MatChipMixinBase implements AfterContentInit, Afte
279279
// Make it `display: none` so users can't tab into it.
280280
this._elementRef.nativeElement.style.display = 'none';
281281
},
282+
// Noop for now since we don't support editable chips yet.
283+
notifyEditStart: () => {},
284+
notifyEditFinish: () => {},
282285
getComputedStyleValue:
283286
propertyName => {
284287
// This function is run when a chip is removed so it might be

src/material-experimental/mdc-helpers/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ sass_library(
5858
"@npm//:node_modules/@material/circular-progress/_mixins.scss",
5959
"@npm//:node_modules/@material/circular-progress/_variables.import.scss",
6060
"@npm//:node_modules/@material/circular-progress/_variables.scss",
61+
"@npm//:node_modules/@material/data-table/_data-table.scss",
62+
"@npm//:node_modules/@material/data-table/_data-table-theme.scss",
6163
"@npm//:node_modules/@material/data-table/_index.scss",
6264
"@npm//:node_modules/@material/data-table/_mixins.import.scss",
6365
"@npm//:node_modules/@material/data-table/_mixins.scss",

0 commit comments

Comments
 (0)