Skip to content

Commit 9de35e6

Browse files
committed
Build changes
1 parent 3934c57 commit 9de35e6

File tree

10 files changed

+53
-22
lines changed

10 files changed

+53
-22
lines changed

src/cdk/stepper/index.ts

+1-16
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,4 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import {NgModule} from '@angular/core';
10-
import {CdkStepper, CdkStep} from './stepper';
11-
import {CommonModule} from '@angular/common';
12-
import {CdkStepLabel} from './step-label';
13-
import {CdkStepperNext, CdkStepperPrevious} from './stepper-button';
14-
15-
@NgModule({
16-
imports: [CommonModule],
17-
exports: [CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious],
18-
declarations: [CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious]
19-
})
20-
export class CdkStepperModule {}
21-
22-
export * from './stepper';
23-
export * from './step-label';
24-
export * from './stepper-button';
9+
export * from './public_api';

src/cdk/stepper/public_api.ts

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
import {NgModule} from '@angular/core';
10+
import {CdkStepper, CdkStep} from './stepper';
11+
import {CommonModule} from '@angular/common';
12+
import {CdkStepLabel} from './step-label';
13+
import {CdkStepperNext, CdkStepperPrevious} from './stepper-button';
14+
15+
@NgModule({
16+
imports: [CommonModule],
17+
exports: [CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious],
18+
declarations: [CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious]
19+
})
20+
export class CdkStepperModule {}
21+
22+
export * from './stepper';
23+
export * from './step-label';
24+
export * from './stepper-button';

src/cdk/stepper/stepper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
ViewChild,
2323
TemplateRef
2424
} from '@angular/core';
25-
import {LEFT_ARROW, RIGHT_ARROW, ENTER, SPACE} from '../keyboard/keycodes';
25+
import {LEFT_ARROW, RIGHT_ARROW, ENTER, SPACE} from '@angular/cdk/keyboard';
2626
import {CdkStepLabel} from './step-label';
2727

2828
/** Used to generate unique ID for each stepper component. */

src/cdk/stepper/tsconfig-build.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"extends": "../tsconfig-build",
3+
"compilerOptions": {
4+
"outDir": "../../../dist/packages/cdk",
5+
"baseUrl": ".",
6+
"paths": {
7+
"@angular/cdk/keyboard": ["../../../dist/packages/cdk/keyboard/public_api"]
8+
}
9+
},
10+
"files": [
11+
"public_api.ts"
12+
],
13+
"angularCompilerOptions": {
14+
"annotateForClosureCompiler": true,
15+
"strictMetadataEmit": true,
16+
"flatModuleOutFile": "index.js",
17+
"flatModuleId": "@angular/cdk/stepper",
18+
"skipTemplateCodegen": true
19+
}
20+
}

src/demo-app/system-config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ System.config({
3636
'@angular/cdk/platform': 'dist/bundles/cdk-platform.umd.js',
3737
'@angular/cdk/portal': 'dist/bundles/cdk-portal.umd.js',
3838
'@angular/cdk/rxjs': 'dist/bundles/cdk-rxjs.umd.js',
39+
'@angular/cdk/stepper': 'dist/bundles/cdk-stepper.umd.js',
3940
'@angular/cdk/table': 'dist/bundles/cdk-table.umd.js',
4041
'@angular/cdk/testing': 'dist/bundles/cdk-testing.umd.js',
4142
},

src/e2e-app/system-config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ System.config({
3636
'@angular/cdk/platform': 'dist/bundles/cdk-platform.umd.js',
3737
'@angular/cdk/portal': 'dist/bundles/cdk-portal.umd.js',
3838
'@angular/cdk/rxjs': 'dist/bundles/cdk-rxjs.umd.js',
39+
'@angular/cdk/stepper': 'dist/bundles/cdk-stepper.umd.js',
3940
'@angular/cdk/table': 'dist/bundles/cdk-table.umd.js',
4041
'@angular/cdk/testing': 'dist/bundles/cdk-testing.umd.js',
4142
'@angular/material-examples': 'dist/bundles/material-examples.umd.js',

src/lib/stepper/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
import {NgModule} from '@angular/core';
1010
import {CommonModule} from '@angular/common';
11-
import {PortalModule} from '@angular/cdk';
11+
import {PortalModule} from '@angular/cdk/portal';
1212
import {MdButtonModule} from '../button/index';
1313
import {MdHorizontalStepper} from './stepper-horizontal';
1414
import {MdVerticalStepper} from './stepper-vertical';
1515
import {MdStep, MdStepper} from './stepper';
16-
import {CdkStepperModule} from '@angular/cdk';
16+
import {CdkStepperModule} from '@angular/cdk/stepper';
1717
import {MdCommonModule} from '../core';
1818
import {MdStepLabel} from './step-label';
1919
import {MdStepperNext, MdStepperPrevious} from './stepper-button';

src/lib/stepper/step-label.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {Directive, TemplateRef} from '@angular/core';
10-
import {CdkStepLabel} from '@angular/cdk';
10+
import {CdkStepLabel} from '@angular/cdk/stepper';
1111

1212
@Directive({
1313
selector: '[mdStepLabel], [matStepLabel]',

src/lib/stepper/stepper-button.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {Directive} from '@angular/core';
10-
import {CdkStepper, CdkStepperNext, CdkStepperPrevious} from '@angular/cdk';
10+
import {CdkStepper, CdkStepperNext, CdkStepperPrevious} from '@angular/cdk/stepper';
1111
import {MdStepper} from './stepper';
1212

1313
/** Button that moves to the next step in a stepper workflow. */

src/lib/stepper/stepper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import {CdkStep, CdkStepper} from '@angular/cdk';
9+
import {CdkStep, CdkStepper} from '@angular/cdk/stepper';
1010
import {
1111
Component,
1212
ContentChild,

0 commit comments

Comments
 (0)