Skip to content

Commit 7d25138

Browse files
committed
fix(material/select): remove deprecated animation definitions
Deletes publicly-exported animation definitions that were marked for removal in v21. BREAKING CHANGE: * `matSelectAnimations` symbol has been removed.
1 parent 814ff1a commit 7d25138

File tree

4 files changed

+4
-95
lines changed

4 files changed

+4
-95
lines changed

goldens/material/select/index.api.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
8181
get appearance(): MatFormFieldAppearance;
8282
set appearance(value: MatFormFieldAppearance);
8383
color: ThemePalette;
84-
get _control(): MatFormFieldControl_2<any>;
85-
set _control(value: MatFormFieldControl_2<any>);
84+
get _control(): MatFormFieldControl<any>;
85+
set _control(value: MatFormFieldControl<any>);
8686
// (undocumented)
8787
_elementRef: ElementRef<any>;
8888
// (undocumented)
@@ -93,7 +93,7 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
9393
set floatLabel(value: FloatLabelType);
9494
_forceDisplayInfixLabel(): boolean | 0;
9595
// (undocumented)
96-
_formFieldControl: MatFormFieldControl_2<any>;
96+
_formFieldControl: MatFormFieldControl<any>;
9797
getConnectedOverlayOrigin(): ElementRef;
9898
getLabelId: i0.Signal<string | null>;
9999
_getSubscriptMessageType(): 'error' | 'hint';
@@ -247,7 +247,7 @@ export class MatPrefix {
247247
}
248248

249249
// @public (undocumented)
250-
export class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, MatFormFieldControl<any> {
250+
export class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, MatFormFieldControl_2<any> {
251251
constructor(...args: unknown[]);
252252
// (undocumented)
253253
protected _animationsDisabled: boolean;
@@ -387,11 +387,6 @@ export class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnInit
387387
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, never>;
388388
}
389389

390-
// @public @deprecated
391-
export const matSelectAnimations: {
392-
readonly transformPanel: any;
393-
};
394-
395390
// @public
396391
export class MatSelectChange<T = any> {
397392
constructor(

src/material/select/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ ng_project(
6969
"index.ts",
7070
"public-api.ts",
7171
"select.ts",
72-
"select-animations.ts",
7372
"select-errors.ts",
7473
"select-module.ts",
7574
],

src/material/select/public-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
export * from './select-module';
1010
export * from './select';
11-
export * from './select-animations';
1211

1312
// Re-export these since they're required to be used together with `mat-select`.
1413
// Also they used to be provided implicitly with `MatSelectModule`.

src/material/select/select-animations.ts

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)