-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stepper::Navigation
and Stepper::List
: Create components
#2714
Open
dchyun
wants to merge
49
commits into
main
Choose a base branch
from
dchyun/stepper-component
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,257
−20
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
48d7682
to
e5a3399
Compare
0a8d3e2
to
da2209c
Compare
379329b
to
6de254f
Compare
📦 RC Packages PublishedLatest commit: 6de254f Published 1 packages@hashicorp/design-system-components@4.18.0-rc-20250317151151
|
shleewhite
approved these changes
Mar 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks for making all the fixes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 Summary
This PR adds the following new components to the HDS components library.
Hds::Stepper::Nav
Hds::Stepper::Nav::Step
andHds::Stepper::Nav::Panel
Hds::Stepper::List
Hds::Stepper::List::Step
Preview pages
Requirements Doc
🛠️ Detailed description
Hds::Stepper::Nav
ComponentThis component is a visual indicator of an on-page linear progress, where users can see where they are in a given flow.
The component can be used in two ways. Either using the contextual
<S.Step>
and<S.Panel>
components, or using the@steps
argument and passing in an array.Using Contextual Components
Using @steps argument
Stepper::Nav
<[S.Step]>
:Stepper::Nav::Step
as yielded component<[S.Panel]>
:Stepper::Nav::Panel
as yielded component<:body>
: Named block used for step content when usingsteps
argumentsteps
: Array of data for steps to be createdcurrentStep
: Base indexed value for step that is currently activeisInteractive
: If true, the user may use the stepper to navigation to previous stepstitleTag
: Sets the DOM tag used for step title textonStepChange
: Event triggered when the active step is changed through a click on a step[S].Step
<:title>
: Contextual block for title text<:description>
: Contextual block for description text[S].Panel
yield
: Elements passed as children are yielded as inner content of aHds::Stepper::List
ComponentThis component is a visual indicator of a linear progress, where users can see where they are in a given flow.
Stepper::List
<[S].Step>
:Stepper::List::Step
as yielded componenttitleTag
: Sets the DOM tag used for step title text[S].Step
<:title>
: Contextual block for title text<:description>
: Contextual block for description text<:content>
: Contextual block for any additional contentstatus
: Status of the step based on current indicator statuses📸 Screenshots
Hds::Stepper::Nav
Interactive

Non-interactive

Hds::Stepper::List
🔗 External links
Jira ticket: HDS-4411
Requirements Doc: Link
Figma file: Link
👀 Component checklist
💬 Please consider using conventional comments when reviewing this PR.