@@ -30,7 +30,6 @@ import {
3030 MatCheckboxDefaultOptions , MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY
3131} from '@angular/material/checkbox' ;
3232import {
33- RippleAnimationConfig ,
3433 mixinColor ,
3534 mixinDisabled ,
3635 CanColor ,
@@ -39,7 +38,6 @@ import {
3938} from '@angular/material-experimental/mdc-core' ;
4039import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations' ;
4140import { MDCCheckboxAdapter , MDCCheckboxFoundation } from '@material/checkbox' ;
42- import { numbers } from '@material/ripple' ;
4341
4442let nextUniqueId = 0 ;
4543
@@ -66,13 +64,6 @@ const _MatCheckboxBase = mixinColor(mixinDisabled(class {
6664 constructor ( public _elementRef : ElementRef ) { }
6765} ) ) ;
6866
69-
70- /** Configuration for the ripple animation. */
71- const RIPPLE_ANIMATION_CONFIG : RippleAnimationConfig = {
72- enterDuration : numbers . DEACTIVATION_TIMEOUT_MS ,
73- exitDuration : numbers . FG_DEACTIVATION_MS ,
74- } ;
75-
7667@Component ( {
7768 selector : 'mat-checkbox' ,
7869 templateUrl : 'checkbox.html' ,
@@ -197,9 +188,6 @@ export class MatCheckbox extends _MatCheckboxBase implements AfterViewInit, OnDe
197188 /** The set of classes that should be applied to the native input. */
198189 _classes : { [ key : string ] : boolean } = { 'mdc-checkbox__native-control' : true } ;
199190
200- /** Animation config for the ripple. */
201- _rippleAnimation = RIPPLE_ANIMATION_CONFIG ;
202-
203191 /** ControlValueAccessor onChange */
204192 private _cvaOnChange = ( _ : boolean ) => { } ;
205193
0 commit comments