Skip to content

Commit

Permalink
feat(stepper): add moduleId to components (#6780)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwshinjwshin authored and jelbourn committed Sep 1, 2017
1 parent 87318bc commit f375f92
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/cdk/stepper/stepper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export class StepperSelectionEvent {
}

@Component({
moduleId: module.id,
selector: 'cdk-step',
templateUrl: 'step.html',
encapsulation: ViewEncapsulation.None
Expand Down
3 changes: 2 additions & 1 deletion src/cdk/stepper/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../tsconfig-build",
"files": [
"public_api.ts"
"public_api.ts",
"../typings.d.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
Expand Down
3 changes: 2 additions & 1 deletion src/cdk/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
}
},
"files": [
"public_api.ts"
"public_api.ts",
"typings.d.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
Expand Down
3 changes: 2 additions & 1 deletion src/cdk/tsconfig-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
}
},
"files": [
"./testing/index.ts"
"./testing/index.ts",
"typings.d.ts"
],
"include": [
// Include the index.ts for each secondary entry-point
Expand Down
1 change: 1 addition & 0 deletions src/cdk/typings.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare var module: {id: string};
1 change: 1 addition & 0 deletions src/lib/stepper/step-header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {coerceBooleanProperty, coerceNumberProperty} from '@angular/cdk/coercion
import {MdStepLabel} from './step-label';

@Component({
moduleId: module.id,
selector: 'md-step-header, mat-step-header',
templateUrl: 'step-header.html',
styleUrls: ['step-header.css'],
Expand Down

0 comments on commit f375f92

Please sign in to comment.