diff --git a/src/material-experimental/mdc-autocomplete/public-api.ts b/src/material-experimental/mdc-autocomplete/public-api.ts index 736e94435938..30fab4d59c4d 100644 --- a/src/material-experimental/mdc-autocomplete/public-api.ts +++ b/src/material-experimental/mdc-autocomplete/public-api.ts @@ -13,8 +13,6 @@ export * from './autocomplete-trigger'; // Everything from `material/autocomplete`, except for `MatAutcomplete` and `MatAutocompleteModule`. export { - AUTOCOMPLETE_OPTION_HEIGHT, - AUTOCOMPLETE_PANEL_HEIGHT, getMatAutocompleteMissingPanelError, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY, diff --git a/src/material/autocomplete/autocomplete-trigger.ts b/src/material/autocomplete/autocomplete-trigger.ts index 4d04cd7ade7b..0aabfd21ab2b 100644 --- a/src/material/autocomplete/autocomplete-trigger.ts +++ b/src/material/autocomplete/autocomplete-trigger.ts @@ -57,26 +57,6 @@ import { import {_MatAutocompleteOriginBase} from './autocomplete-origin'; -/** - * The following style constants are necessary to save here in order - * to properly calculate the scrollTop of the panel. Because we are not - * actually focusing the active item, scroll must be handled manually. - */ - -/** - * The height of each autocomplete option. - * @deprecated No longer being used. To be removed. - * @breaking-change 12.0.0 - */ -export const AUTOCOMPLETE_OPTION_HEIGHT = 48; - -/** - * The total height of the autocomplete panel. - * @deprecated No longer being used. To be removed. - * @breaking-change 12.0.0 - */ -export const AUTOCOMPLETE_PANEL_HEIGHT = 256; - /** Injection token that determines the scroll handling while the autocomplete panel is open. */ export const MAT_AUTOCOMPLETE_SCROLL_STRATEGY = new InjectionToken<() => ScrollStrategy>('mat-autocomplete-scroll-strategy'); diff --git a/tools/public_api_guard/material/autocomplete.d.ts b/tools/public_api_guard/material/autocomplete.d.ts index 1c20f1ac2a1c..d6b84c257114 100644 --- a/tools/public_api_guard/material/autocomplete.d.ts +++ b/tools/public_api_guard/material/autocomplete.d.ts @@ -80,10 +80,6 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu static ɵfac: i0.ɵɵFactoryDef<_MatAutocompleteTriggerBase, [null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }, { optional: true; }, null, { optional: true; }]>; } -export declare const AUTOCOMPLETE_OPTION_HEIGHT = 48; - -export declare const AUTOCOMPLETE_PANEL_HEIGHT = 256; - export declare function getMatAutocompleteMissingPanelError(): Error; export declare const MAT_AUTOCOMPLETE_DEFAULT_OPTIONS: InjectionToken;