Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1688 from hashicorp/selected-tab-condition-proposal
`Tabs` - Fix issues for query-params-based status, nested tabs, variable tabs widths
- Loading branch information
Showing
20 changed files
with
1,106 additions
and
287 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@hashicorp/design-system-components": minor | ||
--- | ||
|
||
`Tabs` - Refactored logic for `Tabs` component + `Tab/Panel` sub-components to support more complex use cases: | ||
|
||
- introduced `@selectedTabIndex` argument to control the "selected" tab from the consuming application, e.g. via query params (effort spearheaded by @MiniHeyd) | ||
- fixed issue with nested tabs not initializing the "selected" indicator correctly | ||
- fixed issue with dynamic tab content not updating the "selected" indicator correctly | ||
|
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
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
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
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
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
Oops, something went wrong.
36d87a7
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.
Successfully deployed to the following URLs:
hds-showcase – ./packages/components
hds-showcase-hashicorp.vercel.app
hds-showcase.vercel.app
hds-showcase-git-main-hashicorp.vercel.app
hds-components-hashicorp.vercel.app
36d87a7
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.
Successfully deployed to the following URLs:
hds-website – ./website
hds-website-hashicorp.vercel.app
hds-website-git-main-hashicorp.vercel.app
flight-hashicorp.vercel.app
hds-website.vercel.app
design-system-components-hashicorp.vercel.app
helios.hashicorp.design