Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/universal-app/kitchen-sink/kitchen-sink.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,3 +281,30 @@ <h3 mat-subheader>Groceries</h3>
<mat-list-option value="bananas">Bananas</mat-list-option>
<mat-list-option value="oranges">Oranges</mat-list-option>
</mat-selection-list>

<h2>Vertical Stepper</h2>

<mat-vertical-stepper>
<mat-step label="Step 1">Content 1</mat-step>
<mat-step label="Step 1">Content 2</mat-step>
</mat-vertical-stepper>

<h2>Vertical Stepper (with label template)</h2>

<mat-vertical-stepper>
<mat-step>
<ng-template matStepLabel>NgTemplate Label #1</ng-template>
Content 1
</mat-step>
<mat-step>
<ng-template matStepLabel>NgTemplate Label #2</ng-template>
Content 2
</mat-step>
</mat-vertical-stepper>

<h2>Horizontal Stepper</h2>

<mat-horizontal-stepper>
<mat-step label="Step 1">Content 1</mat-step>
<mat-step label="Step 2">Content 2</mat-step>
</mat-horizontal-stepper>
2 changes: 2 additions & 0 deletions src/universal-app/kitchen-sink/kitchen-sink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
MatStepperModule,
} from '@angular/material';
import {
CdkTableModule,
Expand Down Expand Up @@ -97,6 +98,7 @@ export class KitchenSink {
MatExpansionModule,
MatSortModule,
MatTableModule,
MatStepperModule,

// CDK Modules
CdkTableModule
Expand Down
14 changes: 14 additions & 0 deletions src/universal-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Configuration for IDEs only.
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "..",
"baseUrl": ".",
"paths": {
"@angular/cdk/*": ["../cdk/*"],
"@angular/material/*": ["../lib/*"],
"@angular/material": ["../lib/public_api"]
}
},
"include": ["./**/*.ts"]
}