From 527f1b59614752def0e9acf4cf26e9f44fffbc86 Mon Sep 17 00:00:00 2001 From: mmalerba Date: Fri, 13 Dec 2019 19:47:44 -0800 Subject: [PATCH] fix(form-field): deprecate `legacy` and `standard` appearances (#17961) BREAKING CHANGES: - The `legacy` and `standard` appearance options for `MatFormField` are now deprecated --- src/material/form-field/form-field.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/material/form-field/form-field.ts b/src/material/form-field/form-field.ts index 0b6368b276e8..66ed63a72e61 100644 --- a/src/material/form-field/form-field.ts +++ b/src/material/form-field/form-field.ts @@ -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'; /**