diff --git a/src/app/components/design-patterns/design-patterns.component.ts b/src/app/components/design-patterns/design-patterns.component.ts index 9eac5934b9..8a82e029d6 100644 --- a/src/app/components/design-patterns/design-patterns.component.ts +++ b/src/app/components/design-patterns/design-patterns.component.ts @@ -28,6 +28,11 @@ export class DesignPatternsComponent { icon: 'kitchen', route: 'navigation-drawer', title: 'Navigation Drawer Patterns', + }, { + description: 'Wizard-like pattern', + icon: 'looks_one', + route: 'steppers', + title: 'Stepper Patterns', }, { description: 'Feedback for empty elements', icon: 'space_bar', diff --git a/src/app/components/design-patterns/design-patterns.module.ts b/src/app/components/design-patterns/design-patterns.module.ts index 1a33cc2519..2713467e04 100644 --- a/src/app/components/design-patterns/design-patterns.module.ts +++ b/src/app/components/design-patterns/design-patterns.module.ts @@ -9,6 +9,7 @@ import { CardsComponent } from './cards/cards.component'; import { AlertsComponent } from './alerts/alerts.component'; import { ManagementListComponent } from './management-list/management-list.component'; import { NavigationDrawerComponent } from './navigation-drawer/navigation-drawer.component'; +import { SteppersComponent } from './steppers/steppers.component'; import { EmptyStatesComponent } from './empty-states/empty-states.component'; import { MatButtonModule } from '@angular/material/button'; @@ -41,6 +42,7 @@ import { ToolbarModule } from '../../components/toolbar/toolbar.module'; AlertsComponent, ManagementListComponent, NavigationDrawerComponent, + SteppersComponent, EmptyStatesComponent, ], imports: [ diff --git a/src/app/components/design-patterns/design-patterns.routes.ts b/src/app/components/design-patterns/design-patterns.routes.ts index c3817a8a21..16e5514d2d 100644 --- a/src/app/components/design-patterns/design-patterns.routes.ts +++ b/src/app/components/design-patterns/design-patterns.routes.ts @@ -5,6 +5,7 @@ import { CardsComponent } from './cards/cards.component'; import { AlertsComponent } from './alerts/alerts.component'; import { ManagementListComponent } from './management-list/management-list.component'; import { NavigationDrawerComponent } from './navigation-drawer/navigation-drawer.component'; +import { SteppersComponent } from './steppers/steppers.component'; import { EmptyStatesComponent } from './empty-states/empty-states.component'; const routes: Routes = [{ @@ -20,6 +21,9 @@ const routes: Routes = [{ }, { component: NavigationDrawerComponent, path: 'navigation-drawer', + }, { + component: SteppersComponent, + path: 'steppers', }, { component: EmptyStatesComponent, path: 'empty-states', diff --git a/src/app/components/design-patterns/steppers/steppers.component.html b/src/app/components/design-patterns/steppers/steppers.component.html new file mode 100644 index 0000000000..974cd690ed --- /dev/null +++ b/src/app/components/design-patterns/steppers/steppers.component.html @@ -0,0 +1,113 @@ +
The stepper provides a wizard-like workflow by dividing content into logical steps. This approach is most useful when each step is linear and complete before moving to the next step.
+Follow component guidelines. Vertical mode prefered.
+Follow Material Design guidelines.
+Follow Material Design guidelines.
+Each step should be fully self-contained and complete before moving to the next step.
+Optional summary displayed when step is complete.
+Stepper Guidelines
+ +Stepper Guidelines
+ +