@@ -30,7 +30,6 @@ import {
30
30
MatCheckboxDefaultOptions , MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY
31
31
} from '@angular/material/checkbox' ;
32
32
import {
33
- RippleAnimationConfig ,
34
33
mixinColor ,
35
34
mixinDisabled ,
36
35
CanColor ,
@@ -39,7 +38,6 @@ import {
39
38
} from '@angular/material-experimental/mdc-core' ;
40
39
import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations' ;
41
40
import { MDCCheckboxAdapter , MDCCheckboxFoundation } from '@material/checkbox' ;
42
- import { numbers } from '@material/ripple' ;
43
41
44
42
let nextUniqueId = 0 ;
45
43
@@ -66,13 +64,6 @@ const _MatCheckboxBase = mixinColor(mixinDisabled(class {
66
64
constructor ( public _elementRef : ElementRef ) { }
67
65
} ) ) ;
68
66
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
-
76
67
@Component ( {
77
68
selector : 'mat-checkbox' ,
78
69
templateUrl : 'checkbox.html' ,
@@ -197,9 +188,6 @@ export class MatCheckbox extends _MatCheckboxBase implements AfterViewInit, OnDe
197
188
/** The set of classes that should be applied to the native input. */
198
189
_classes : { [ key : string ] : boolean } = { 'mdc-checkbox__native-control' : true } ;
199
190
200
- /** Animation config for the ripple. */
201
- _rippleAnimation = RIPPLE_ANIMATION_CONFIG ;
202
-
203
191
/** ControlValueAccessor onChange */
204
192
private _cvaOnChange = ( _ : boolean ) => { } ;
205
193
0 commit comments