Skip to content

Commit

Permalink
refactor(multiple): remove CommonModule imports (#29924)
Browse files Browse the repository at this point in the history
Removes all the imports of `CommonModule` from the individual components since it isn't being used anywhere.
  • Loading branch information
crisbeto authored Oct 28, 2024
1 parent 8c52b6d commit 6bfd9d0
Show file tree
Hide file tree
Showing 24 changed files with 40 additions and 79 deletions.
2 changes: 0 additions & 2 deletions src/cdk-experimental/selection/selection-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {CdkTableModule} from '@angular/cdk/table';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';

import {CdkRowSelection} from './row-selection';
Expand All @@ -18,7 +17,6 @@ import {CdkSelectionToggle} from './selection-toggle';

@NgModule({
imports: [
CommonModule,
CdkTableModule,
CdkSelection,
CdkSelectionToggle,
Expand Down
2 changes: 0 additions & 2 deletions src/material-experimental/selection/selection-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

// TODO(yifange): Move the table-specific code to a separate module from the other selection
// behaviors once we move it out of experimental.
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatTableModule} from '@angular/material/table';
import {MatCheckboxModule} from '@angular/material/checkbox';
Expand All @@ -20,7 +19,6 @@ import {MatRowSelection} from './row-selection';

@NgModule({
imports: [
CommonModule,
MatTableModule,
MatCheckboxModule,
MatSelectAll,
Expand Down
2 changes: 0 additions & 2 deletions src/material/autocomplete/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import {NgModule} from '@angular/core';
import {MatCommonModule, MatOptionModule} from '@angular/material/core';
import {CommonModule} from '@angular/common';
import {CdkScrollableModule} from '@angular/cdk/scrolling';
import {OverlayModule} from '@angular/cdk/overlay';
import {MatAutocomplete} from './autocomplete';
Expand All @@ -23,7 +22,6 @@ import {MatAutocompleteOrigin} from './autocomplete-origin';
OverlayModule,
MatOptionModule,
MatCommonModule,
CommonModule,
MatAutocomplete,
MatAutocompleteTrigger,
MatAutocompleteOrigin,
Expand Down
3 changes: 1 addition & 2 deletions src/material/card/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material/core';
import {
Expand Down Expand Up @@ -44,7 +43,7 @@ const CARD_DIRECTIVES = [
];

@NgModule({
imports: [MatCommonModule, CommonModule, ...CARD_DIRECTIVES],
imports: [MatCommonModule, ...CARD_DIRECTIVES],
exports: [CARD_DIRECTIVES, MatCommonModule],
})
export class MatCardModule {}
2 changes: 0 additions & 2 deletions src/material/datepicker/datepicker-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import {A11yModule} from '@angular/cdk/a11y';
import {OverlayModule} from '@angular/cdk/overlay';
import {PortalModule} from '@angular/cdk/portal';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatButtonModule} from '@angular/material/button';
import {CdkScrollableModule} from '@angular/cdk/scrolling';
Expand All @@ -34,7 +33,6 @@ import {MatDatepickerActions, MatDatepickerApply, MatDatepickerCancel} from './d

@NgModule({
imports: [
CommonModule,
MatButtonModule,
OverlayModule,
A11yModule,
Expand Down
2 changes: 0 additions & 2 deletions src/material/form-field/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {ObserversModule} from '@angular/cdk/observers';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material/core';
import {MatError} from './directives/error';
Expand All @@ -20,7 +19,6 @@ import {MatFormField} from './form-field';
@NgModule({
imports: [
MatCommonModule,
CommonModule,
ObserversModule,
MatFormField,
MatLabel,
Expand Down
2 changes: 0 additions & 2 deletions src/material/list/list-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatPseudoCheckboxModule, MatRippleModule, MatCommonModule} from '@angular/material/core';
import {MatDividerModule} from '@angular/material/divider';
Expand All @@ -28,7 +27,6 @@ import {ObserversModule} from '@angular/cdk/observers';
@NgModule({
imports: [
ObserversModule,
CommonModule,
MatCommonModule,
MatRippleModule,
MatPseudoCheckboxModule,
Expand Down
2 changes: 0 additions & 2 deletions src/material/menu/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule, MatRippleModule} from '@angular/material/core';
import {OverlayModule} from '@angular/cdk/overlay';
Expand All @@ -18,7 +17,6 @@ import {MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER, MatMenuTrigger} from './menu-

@NgModule({
imports: [
CommonModule,
MatRippleModule,
MatCommonModule,
OverlayModule,
Expand Down
3 changes: 1 addition & 2 deletions src/material/progress-spinner/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
import {NgModule} from '@angular/core';
import {MatCommonModule} from '@angular/material/core';
import {MatProgressSpinner, MatSpinner} from './progress-spinner';
import {CommonModule} from '@angular/common';

@NgModule({
imports: [CommonModule, MatProgressSpinner, MatSpinner],
imports: [MatProgressSpinner, MatSpinner],
exports: [MatProgressSpinner, MatSpinner, MatCommonModule],
})
export class MatProgressSpinnerModule {}
3 changes: 1 addition & 2 deletions src/material/radio/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
* found in the LICENSE file at https://angular.dev/license
*/

import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule, MatRippleModule} from '@angular/material/core';
import {MatRadioButton, MatRadioGroup} from './radio';

@NgModule({
imports: [MatCommonModule, CommonModule, MatRippleModule, MatRadioGroup, MatRadioButton],
imports: [MatCommonModule, MatRippleModule, MatRadioGroup, MatRadioButton],
exports: [MatCommonModule, MatRadioGroup, MatRadioButton],
})
export class MatRadioModule {}
10 changes: 1 addition & 9 deletions src/material/select/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,14 @@
*/

import {OverlayModule} from '@angular/cdk/overlay';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule, MatOptionModule} from '@angular/material/core';
import {MatFormFieldModule} from '@angular/material/form-field';
import {CdkScrollableModule} from '@angular/cdk/scrolling';
import {MatSelect, MatSelectTrigger, MAT_SELECT_SCROLL_STRATEGY_PROVIDER} from './select';

@NgModule({
imports: [
CommonModule,
OverlayModule,
MatOptionModule,
MatCommonModule,
MatSelect,
MatSelectTrigger,
],
imports: [OverlayModule, MatOptionModule, MatCommonModule, MatSelect, MatSelectTrigger],
exports: [
CdkScrollableModule,
MatFormFieldModule,
Expand Down
2 changes: 0 additions & 2 deletions src/material/stepper/stepper-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import {PortalModule} from '@angular/cdk/portal';
import {CdkStepperModule} from '@angular/cdk/stepper';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ErrorStateMatcher, MatCommonModule, MatRippleModule} from '@angular/material/core';
import {MatIconModule} from '@angular/material/icon';
Expand All @@ -23,7 +22,6 @@ import {MatStepContent} from './step-content';
@NgModule({
imports: [
MatCommonModule,
CommonModule,
PortalModule,
CdkStepperModule,
MatIconModule,
Expand Down
3 changes: 1 addition & 2 deletions src/material/tooltip/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {A11yModule} from '@angular/cdk/a11y';
import {OverlayModule} from '@angular/cdk/overlay';
import {CdkScrollableModule} from '@angular/cdk/scrolling';
Expand All @@ -19,7 +18,7 @@ import {
} from './tooltip';

@NgModule({
imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatTooltip, TooltipComponent],
imports: [A11yModule, OverlayModule, MatCommonModule, MatTooltip, TooltipComponent],
exports: [MatTooltip, TooltipComponent, MatCommonModule, CdkScrollableModule],
providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER],
})
Expand Down
5 changes: 2 additions & 3 deletions tools/public_api_guard/material/autocomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import { EventEmitter } from '@angular/core';
import * as i0 from '@angular/core';
import * as i1 from '@angular/cdk/overlay';
import * as i2 from '@angular/material/core';
import * as i3 from '@angular/common';
import * as i7 from '@angular/cdk/scrolling';
import * as i6 from '@angular/cdk/scrolling';
import { InjectionToken } from '@angular/core';
import { MatOptgroup } from '@angular/material/core';
import { MatOption } from '@angular/material/core';
Expand Down Expand Up @@ -142,7 +141,7 @@ export class MatAutocompleteModule {
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatAutocompleteModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatAutocompleteModule, never, [typeof i1.OverlayModule, typeof i2.MatOptionModule, typeof i2.MatCommonModule, typeof i3.CommonModule, typeof i4.MatAutocomplete, typeof i5.MatAutocompleteTrigger, typeof i6.MatAutocompleteOrigin], [typeof i7.CdkScrollableModule, typeof i4.MatAutocomplete, typeof i2.MatOptionModule, typeof i2.MatCommonModule, typeof i5.MatAutocompleteTrigger, typeof i6.MatAutocompleteOrigin]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatAutocompleteModule, never, [typeof i1.OverlayModule, typeof i2.MatOptionModule, typeof i2.MatCommonModule, typeof i3.MatAutocomplete, typeof i4.MatAutocompleteTrigger, typeof i5.MatAutocompleteOrigin], [typeof i6.CdkScrollableModule, typeof i3.MatAutocomplete, typeof i2.MatOptionModule, typeof i2.MatCommonModule, typeof i4.MatAutocompleteTrigger, typeof i5.MatAutocompleteOrigin]>;
}

// @public
Expand Down
3 changes: 1 addition & 2 deletions tools/public_api_guard/material/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import * as i0 from '@angular/core';
import * as i1 from '@angular/material/core';
import * as i2 from '@angular/common';
import { InjectionToken } from '@angular/core';

// @public
Expand Down Expand Up @@ -103,7 +102,7 @@ export class MatCardModule {
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatCardModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatCardModule, never, [typeof i1.MatCommonModule, typeof i2.CommonModule, typeof i3.MatCard, typeof i3.MatCardActions, typeof i3.MatCardAvatar, typeof i3.MatCardContent, typeof i3.MatCardFooter, typeof i3.MatCardHeader, typeof i3.MatCardImage, typeof i3.MatCardLgImage, typeof i3.MatCardMdImage, typeof i3.MatCardSmImage, typeof i3.MatCardSubtitle, typeof i3.MatCardTitle, typeof i3.MatCardTitleGroup, typeof i3.MatCardXlImage], [typeof i3.MatCard, typeof i3.MatCardActions, typeof i3.MatCardAvatar, typeof i3.MatCardContent, typeof i3.MatCardFooter, typeof i3.MatCardHeader, typeof i3.MatCardImage, typeof i3.MatCardLgImage, typeof i3.MatCardMdImage, typeof i3.MatCardSmImage, typeof i3.MatCardSubtitle, typeof i3.MatCardTitle, typeof i3.MatCardTitleGroup, typeof i3.MatCardXlImage, typeof i1.MatCommonModule]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatCardModule, never, [typeof i1.MatCommonModule, typeof i2.MatCard, typeof i2.MatCardActions, typeof i2.MatCardAvatar, typeof i2.MatCardContent, typeof i2.MatCardFooter, typeof i2.MatCardHeader, typeof i2.MatCardImage, typeof i2.MatCardLgImage, typeof i2.MatCardMdImage, typeof i2.MatCardSmImage, typeof i2.MatCardSubtitle, typeof i2.MatCardTitle, typeof i2.MatCardTitleGroup, typeof i2.MatCardXlImage], [typeof i2.MatCard, typeof i2.MatCardActions, typeof i2.MatCardAvatar, typeof i2.MatCardContent, typeof i2.MatCardFooter, typeof i2.MatCardHeader, typeof i2.MatCardImage, typeof i2.MatCardLgImage, typeof i2.MatCardMdImage, typeof i2.MatCardSmImage, typeof i2.MatCardSubtitle, typeof i2.MatCardTitle, typeof i2.MatCardTitleGroup, typeof i2.MatCardXlImage, typeof i1.MatCommonModule]>;
}

// @public
Expand Down
15 changes: 7 additions & 8 deletions tools/public_api_guard/material/datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ import { FactoryProvider } from '@angular/core';
import { FocusOrigin } from '@angular/cdk/a11y';
import { FormGroupDirective } from '@angular/forms';
import * as i0 from '@angular/core';
import * as i1 from '@angular/common';
import * as i2 from '@angular/material/button';
import * as i20 from '@angular/cdk/scrolling';
import * as i3 from '@angular/cdk/overlay';
import * as i4 from '@angular/cdk/a11y';
import * as i5 from '@angular/cdk/portal';
import * as i6 from '@angular/material/core';
import * as i1 from '@angular/material/button';
import * as i19 from '@angular/cdk/scrolling';
import * as i2 from '@angular/cdk/overlay';
import * as i3 from '@angular/cdk/a11y';
import * as i4 from '@angular/cdk/portal';
import * as i5 from '@angular/material/core';
import { InjectionToken } from '@angular/core';
import { MatButton } from '@angular/material/button';
import { MatFormFieldControl } from '@angular/material/form-field';
Expand Down Expand Up @@ -511,7 +510,7 @@ export class MatDatepickerModule {
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatDatepickerModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDatepickerModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.OverlayModule, typeof i4.A11yModule, typeof i5.PortalModule, typeof i6.MatCommonModule, typeof i7.MatCalendar, typeof i8.MatCalendarBody, typeof i9.MatDatepicker, typeof i10.MatDatepickerContent, typeof i11.MatDatepickerInput, typeof i12.MatDatepickerToggle, typeof i12.MatDatepickerToggleIcon, typeof i13.MatMonthView, typeof i14.MatYearView, typeof i15.MatMultiYearView, typeof i7.MatCalendarHeader, typeof i16.MatDateRangeInput, typeof i17.MatStartDate, typeof i17.MatEndDate, typeof i18.MatDateRangePicker, typeof i19.MatDatepickerActions, typeof i19.MatDatepickerCancel, typeof i19.MatDatepickerApply], [typeof i20.CdkScrollableModule, typeof i7.MatCalendar, typeof i8.MatCalendarBody, typeof i9.MatDatepicker, typeof i10.MatDatepickerContent, typeof i11.MatDatepickerInput, typeof i12.MatDatepickerToggle, typeof i12.MatDatepickerToggleIcon, typeof i13.MatMonthView, typeof i14.MatYearView, typeof i15.MatMultiYearView, typeof i7.MatCalendarHeader, typeof i16.MatDateRangeInput, typeof i17.MatStartDate, typeof i17.MatEndDate, typeof i18.MatDateRangePicker, typeof i19.MatDatepickerActions, typeof i19.MatDatepickerCancel, typeof i19.MatDatepickerApply]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDatepickerModule, never, [typeof i1.MatButtonModule, typeof i2.OverlayModule, typeof i3.A11yModule, typeof i4.PortalModule, typeof i5.MatCommonModule, typeof i6.MatCalendar, typeof i7.MatCalendarBody, typeof i8.MatDatepicker, typeof i9.MatDatepickerContent, typeof i10.MatDatepickerInput, typeof i11.MatDatepickerToggle, typeof i11.MatDatepickerToggleIcon, typeof i12.MatMonthView, typeof i13.MatYearView, typeof i14.MatMultiYearView, typeof i6.MatCalendarHeader, typeof i15.MatDateRangeInput, typeof i16.MatStartDate, typeof i16.MatEndDate, typeof i17.MatDateRangePicker, typeof i18.MatDatepickerActions, typeof i18.MatDatepickerCancel, typeof i18.MatDatepickerApply], [typeof i19.CdkScrollableModule, typeof i6.MatCalendar, typeof i7.MatCalendarBody, typeof i8.MatDatepicker, typeof i9.MatDatepickerContent, typeof i10.MatDatepickerInput, typeof i11.MatDatepickerToggle, typeof i11.MatDatepickerToggleIcon, typeof i12.MatMonthView, typeof i13.MatYearView, typeof i14.MatMultiYearView, typeof i6.MatCalendarHeader, typeof i15.MatDateRangeInput, typeof i16.MatStartDate, typeof i16.MatEndDate, typeof i17.MatDateRangePicker, typeof i18.MatDatepickerActions, typeof i18.MatDatepickerCancel, typeof i18.MatDatepickerApply]>;
}

// @public
Expand Down
5 changes: 2 additions & 3 deletions tools/public_api_guard/material/form-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import { BooleanInput } from '@angular/cdk/coercion';
import { ElementRef } from '@angular/core';
import * as i0 from '@angular/core';
import * as i1 from '@angular/material/core';
import * as i2 from '@angular/common';
import * as i3 from '@angular/cdk/observers';
import * as i2 from '@angular/cdk/observers';
import { InjectionToken } from '@angular/core';
import { NgControl } from '@angular/forms';
import { Observable } from 'rxjs';
Expand Down Expand Up @@ -198,7 +197,7 @@ export class MatFormFieldModule {
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatFormFieldModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, never, [typeof i1.MatCommonModule, typeof i2.CommonModule, typeof i3.ObserversModule, typeof i4.MatFormField, typeof i5.MatLabel, typeof i6.MatError, typeof i7.MatHint, typeof i8.MatPrefix, typeof i9.MatSuffix], [typeof i4.MatFormField, typeof i5.MatLabel, typeof i7.MatHint, typeof i6.MatError, typeof i8.MatPrefix, typeof i9.MatSuffix, typeof i1.MatCommonModule]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, never, [typeof i1.MatCommonModule, typeof i2.ObserversModule, typeof i3.MatFormField, typeof i4.MatLabel, typeof i5.MatError, typeof i6.MatHint, typeof i7.MatPrefix, typeof i8.MatSuffix], [typeof i3.MatFormField, typeof i4.MatLabel, typeof i6.MatHint, typeof i5.MatError, typeof i7.MatPrefix, typeof i8.MatSuffix, typeof i1.MatCommonModule]>;
}

// @public
Expand Down
7 changes: 3 additions & 4 deletions tools/public_api_guard/material/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import { ElementRef } from '@angular/core';
import { EventEmitter } from '@angular/core';
import * as i0 from '@angular/core';
import * as i1 from '@angular/cdk/observers';
import * as i11 from '@angular/material/divider';
import * as i2 from '@angular/common';
import * as i3 from '@angular/material/core';
import * as i10 from '@angular/material/divider';
import * as i2 from '@angular/material/core';
import { InjectionToken } from '@angular/core';
import { NgZone } from '@angular/core';
import { OnChanges } from '@angular/core';
Expand Down Expand Up @@ -153,7 +152,7 @@ export class MatListModule {
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i1.ObserversModule, typeof i2.CommonModule, typeof i3.MatCommonModule, typeof i3.MatRippleModule, typeof i3.MatPseudoCheckboxModule, typeof i4.MatList, typeof i5.MatActionList, typeof i6.MatNavList, typeof i7.MatSelectionList, typeof i4.MatListItem, typeof i8.MatListOption, typeof i9.MatListSubheaderCssMatStyler, typeof i10.MatListItemAvatar, typeof i10.MatListItemIcon, typeof i10.MatListItemLine, typeof i10.MatListItemTitle, typeof i10.MatListItemMeta], [typeof i4.MatList, typeof i5.MatActionList, typeof i6.MatNavList, typeof i7.MatSelectionList, typeof i4.MatListItem, typeof i8.MatListOption, typeof i10.MatListItemAvatar, typeof i10.MatListItemIcon, typeof i9.MatListSubheaderCssMatStyler, typeof i11.MatDividerModule, typeof i10.MatListItemLine, typeof i10.MatListItemTitle, typeof i10.MatListItemMeta]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i1.ObserversModule, typeof i2.MatCommonModule, typeof i2.MatRippleModule, typeof i2.MatPseudoCheckboxModule, typeof i3.MatList, typeof i4.MatActionList, typeof i5.MatNavList, typeof i6.MatSelectionList, typeof i3.MatListItem, typeof i7.MatListOption, typeof i8.MatListSubheaderCssMatStyler, typeof i9.MatListItemAvatar, typeof i9.MatListItemIcon, typeof i9.MatListItemLine, typeof i9.MatListItemTitle, typeof i9.MatListItemMeta], [typeof i3.MatList, typeof i4.MatActionList, typeof i5.MatNavList, typeof i6.MatSelectionList, typeof i3.MatListItem, typeof i7.MatListOption, typeof i9.MatListItemAvatar, typeof i9.MatListItemIcon, typeof i8.MatListSubheaderCssMatStyler, typeof i10.MatDividerModule, typeof i9.MatListItemLine, typeof i9.MatListItemTitle, typeof i9.MatListItemMeta]>;
}

// @public (undocumented)
Expand Down
9 changes: 4 additions & 5 deletions tools/public_api_guard/material/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ import { EventEmitter } from '@angular/core';
import { FocusableOption } from '@angular/cdk/a11y';
import { FocusOrigin } from '@angular/cdk/a11y';
import * as i0 from '@angular/core';
import * as i1 from '@angular/common';
import * as i2 from '@angular/material/core';
import * as i3 from '@angular/cdk/overlay';
import * as i8 from '@angular/cdk/scrolling';
import * as i1 from '@angular/material/core';
import * as i2 from '@angular/cdk/overlay';
import * as i7 from '@angular/cdk/scrolling';
import { InjectionToken } from '@angular/core';
import { Observable } from 'rxjs';
import { OnDestroy } from '@angular/core';
Expand Down Expand Up @@ -192,7 +191,7 @@ export class MatMenuModule {
// (undocumented)
static ɵinj: i0.ɵɵInjectorDeclaration<MatMenuModule>;
// (undocumented)
static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof i1.CommonModule, typeof i2.MatRippleModule, typeof i2.MatCommonModule, typeof i3.OverlayModule, typeof i4.MatMenu, typeof i5.MatMenuItem, typeof i6.MatMenuContent, typeof i7.MatMenuTrigger], [typeof i8.CdkScrollableModule, typeof i4.MatMenu, typeof i2.MatCommonModule, typeof i5.MatMenuItem, typeof i6.MatMenuContent, typeof i7.MatMenuTrigger]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof i1.MatRippleModule, typeof i1.MatCommonModule, typeof i2.OverlayModule, typeof i3.MatMenu, typeof i4.MatMenuItem, typeof i5.MatMenuContent, typeof i6.MatMenuTrigger], [typeof i7.CdkScrollableModule, typeof i3.MatMenu, typeof i1.MatCommonModule, typeof i4.MatMenuItem, typeof i5.MatMenuContent, typeof i6.MatMenuTrigger]>;
}

// @public
Expand Down
Loading

0 comments on commit 6bfd9d0

Please sign in to comment.