Skip to content

Commit

Permalink
fix: deprecate CoreMore (#6588)
Browse files Browse the repository at this point in the history
Since most of this functionality has been moved into `@angular/cdk`, it
no longer makes sense to blob it all together in one NgModule inside
`@angular/material`.
  • Loading branch information
jelbourn committed Aug 29, 2017
1 parent deca032 commit 377a3bb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/demo-app/demo-material-module.ts
Expand Up @@ -6,8 +6,6 @@ import {
MdCardModule,
MdCheckboxModule,
MdChipsModule,
MdCoreModule,
MdTableModule,
MdDatepickerModule,
MdDialogModule,
MdExpansionModule,
Expand All @@ -29,12 +27,19 @@ import {
MdSlideToggleModule,
MdSnackBarModule,
MdSortModule,
MdTableModule,
MdTabsModule,
MdToolbarModule,
MdTooltipModule,
StyleModule
} from '@angular/material';
import {CdkTableModule} from '@angular/cdk/table';
import {A11yModule} from '@angular/cdk/a11y';
import {BidiModule} from '@angular/cdk/bidi';
import {OverlayModule} from '@angular/cdk/overlay';
import {PlatformModule} from '@angular/cdk/platform';
import {ObserversModule} from '@angular/cdk/observers';
import {PortalModule} from '@angular/cdk/portal';

/**
* NgModule that includes all Material modules that are required to serve the demo-app.
Expand All @@ -57,7 +62,6 @@ import {CdkTableModule} from '@angular/cdk/table';
MdInputModule,
MdListModule,
MdMenuModule,
MdCoreModule,
MdPaginatorModule,
MdProgressBarModule,
MdProgressSpinnerModule,
Expand All @@ -74,7 +78,13 @@ import {CdkTableModule} from '@angular/cdk/table';
MdTooltipModule,
MdNativeDateModule,
CdkTableModule,
StyleModule
StyleModule,
A11yModule,
BidiModule,
ObserversModule,
OverlayModule,
PlatformModule,
PortalModule,
]
})
export class DemoMaterialModule {}
1 change: 1 addition & 0 deletions src/lib/core/core.ts
Expand Up @@ -129,6 +129,7 @@ export {
showOnDirtyErrorStateMatcher
} from './error/error-options';

/** @deprecated */
@NgModule({
imports: [
MdLineModule,
Expand Down

0 comments on commit 377a3bb

Please sign in to comment.