Skip to content

Commit

Permalink
fix(form-field): deprecate legacy and standard appearances (#17961)
Browse files Browse the repository at this point in the history
BREAKING CHANGES:
- The `legacy` and `standard` appearance options for `MatFormField` are
now deprecated
  • Loading branch information
mmalerba committed Dec 14, 2019
1 parent 11116d5 commit 527f1b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/material/form-field/form-field.ts
Expand Up @@ -75,7 +75,12 @@ class MatFormFieldBase {
const _MatFormFieldMixinBase: CanColorCtor & typeof MatFormFieldBase =
mixinColor(MatFormFieldBase, 'primary');

/** Possible appearance styles for the form field. */
/**
* Possible appearance styles for the form field.
*
* Note: The `legacy` and `standard` appearances are deprecated. Please use `fill` or `outline`.
* @breaking-change 11.0.0 Remove `legacy` and `standard`.
*/
export type MatFormFieldAppearance = 'legacy' | 'standard' | 'fill' | 'outline';

/**
Expand Down

0 comments on commit 527f1b5

Please sign in to comment.