Skip to content

Commit b23d130

Browse files
crisbetowagnermaciel
authored andcommitted
build: fix build failure in latest MDC canary (#20597)
Fixes a build error due to a new required property. (cherry picked from commit c21c6f5)
1 parent 95e48bb commit b23d130

File tree

3 files changed

+572
-571
lines changed

3 files changed

+572
-571
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@types/youtube": "^0.0.38",
6262
"@webcomponents/custom-elements": "^1.1.0",
6363
"core-js": "^2.6.9",
64-
"material-components-web": "8.0.0-canary.fc0eb5013.0",
64+
"material-components-web": "8.0.0-canary.3e435ba57.0",
6565
"rxjs": "^6.5.3",
6666
"rxjs-tslint-rules": "^4.33.1",
6767
"systemjs": "0.19.43",

src/material-experimental/mdc-slider/slider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ export class MatSlider implements AfterViewInit, OnChanges, OnDestroy, ControlVa
257257
deregisterWindowEventHandler: () => {},
258258
removeTrackActiveStyleProperty: (_propertyName: string) => {},
259259
emitDragStartEvent: (_value: number, _thumb: Thumb) => {},
260-
emitDragEndEvent: (_value: number, _thumb: Thumb) => {}
260+
emitDragEndEvent: (_value: number, _thumb: Thumb) => {},
261+
getValueToAriaValueTextFn: () => null
261262
};
262263

263264
/** Instance of the MDC slider foundation for this slider. */

0 commit comments

Comments
 (0)