Skip to content

Commit 0753f9e

Browse files
authored
fix(material-experimental/mdc-progress-bar): update to latest canary to include adapter changes (#17938)
* fix(material-experimental/mdc-progress-bar): update to latest canary to include adapter changes * update mdc_scss_deps_lib
1 parent 1cab7df commit 0753f9e

File tree

4 files changed

+511
-504
lines changed

4 files changed

+511
-504
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@types/youtube": "^0.0.38",
5454
"@webcomponents/custom-elements": "^1.1.0",
5555
"core-js": "^2.6.9",
56-
"material-components-web": "^4.0.0",
56+
"material-components-web": "5.0.0-canary.50f110a6c.0",
5757
"rxjs": "^6.5.3",
5858
"systemjs": "0.19.43",
5959
"tslib": "^1.10.0",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ sass_library(
4545
"@npm//:node_modules/@material/dialog/_variables.scss",
4646
"@npm//:node_modules/@material/drawer/_mixins.scss",
4747
"@npm//:node_modules/@material/drawer/_variables.scss",
48+
"@npm//:node_modules/@material/elevation/_functions.scss",
4849
"@npm//:node_modules/@material/elevation/_mixins.scss",
4950
"@npm//:node_modules/@material/elevation/_variables.scss",
5051
"@npm//:node_modules/@material/fab/_mixins.scss",
@@ -108,6 +109,7 @@ sass_library(
108109
"@npm//:node_modules/@material/tab-bar/_variables.scss",
109110
"@npm//:node_modules/@material/tab-indicator/_mixins.scss",
110111
"@npm//:node_modules/@material/tab-scroller/_mixins.scss",
112+
"@npm//:node_modules/@material/tab-scroller/_variables.scss",
111113
"@npm//:node_modules/@material/tab/_mixins.scss",
112114
"@npm//:node_modules/@material/tab/_variables.scss",
113115
"@npm//:node_modules/@material/textfield/_functions.scss",

src/material-experimental/mdc-progress-bar/progress-bar.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ export class MatProgressBar extends _MatProgressBarMixinBase implements AfterVie
8282
getBuffer: () => this._bufferBar,
8383
getPrimaryBar: () => this._primaryBar,
8484
forceLayout: () => this._platform.isBrowser && this._rootElement.offsetWidth,
85+
removeAttribute: (name: string) => this._rootElement.removeAttribute(name),
86+
setAttribute: (name: string, value: string) => this._rootElement.setAttribute(name, value),
8587
hasClass: (className: string) => this._rootElement.classList.contains(className),
8688
removeClass: (className: string) => this._rootElement.classList.remove(className),
8789
setStyle: (el: HTMLElement, styleProperty: string, value: string) => {

0 commit comments

Comments
 (0)