2
2
Copyright (c) HashiCorp, Inc.
3
3
SPDX-License-Identifier: MPL-2.0
4
4
}}
5
- <div class ={{ this.classNames }} ...attributes>
6
- <ul class =" hds-stepper-navigation__step-list" >
7
- {{ #if @steps }}
8
- {{ #each @steps as |step |}}
9
- <Hds::Stepper::Navigation::Step
10
- @currentStep ={{ this.currentStep }}
11
- @isComplete ={{ step.isComplete }}
12
- @isInteractive ={{ step.isInteractive }}
13
- @titleTag ={{ this.titleTag }}
14
- @didInsertNode ={{ this.didInsertStep }}
15
- @stepIds ={{ this._stepIds }}
16
- @onStepChange ={{ @onStepChange }}
17
- @onKeyUp ={{ this.onKeyUp }}
18
- >
19
- <:title >{{ step.title }} </:title >
20
- <:description >{{ step.description }} </:description >
21
- </Hds::Stepper::Navigation::Step >
22
- {{ /each }}
23
- {{ else }}
24
- {{ yield
25
- (hash
26
- Step = (component
27
- " hds/stepper/navigation/step"
28
- currentStep =this.currentStep
29
- titleTag =this.titleTag
30
- didInsertNode =this.didInsertStep
31
- stepIds =this._stepIds
32
- onStepChange = @onStepChange
33
- onKeyUp =this.onKeyUp
34
- )
5
+ <ol class ={{ this.classNames }} ...attributes>
6
+ {{ #if @steps }}
7
+ {{ #each @steps as |step |}}
8
+ <Hds::Stepper::Navigation::Step
9
+ @currentStep ={{ this.currentStep }}
10
+ @isComplete ={{ step.isComplete }}
11
+ @isInteractive ={{ step.isInteractive }}
12
+ @titleTag ={{ this.titleTag }}
13
+ @didInsertNode ={{ this.didInsertStep }}
14
+ @stepIds ={{ this._stepIds }}
15
+ @onStepChange ={{ @onStepChange }}
16
+ @onKeyUp ={{ this.onKeyUp }}
17
+ >
18
+ <:title >{{ step.title }} </:title >
19
+ <:description >{{ step.description }} </:description >
20
+ </Hds::Stepper::Navigation::Step >
21
+ {{ /each }}
22
+ {{ else }}
23
+ {{ yield
24
+ (hash
25
+ Step = (component
26
+ " hds/stepper/navigation/step"
27
+ currentStep =this.currentStep
28
+ titleTag =this.titleTag
29
+ didInsertNode =this.didInsertStep
30
+ stepIds =this._stepIds
31
+ onStepChange = @onStepChange
32
+ onKeyUp =this.onKeyUp
35
33
)
36
- to = " steps "
37
- }}
38
- {{ /if }}
39
- </ ul >
40
- </div >
34
+ )
35
+ to = " steps "
36
+ }}
37
+ {{ /if }}
38
+ </ol >
41
39
{{ yield to =" body" }}
0 commit comments