-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnderlineNav with updated design for states and counter (#2277)
* UnderlineNav states with counters * update li and a hover and focus states * add a wrapper to style hover * Fix rounded bordem bottom when rounding the outline * fix padding and color name * move radius to wrapper initial style * use px rather than primitive * remove margin and change the width of select state line * add the underline back * focus and selected border re-implement * add comments * focus trap and fixes * theme aware underlineNav and fix safari extra margin issue * add changeset * update docs and tests * fix export issues * add a comment and fix the test import * update changeset to minor
- Loading branch information
1 parent
4536b87
commit cc88235
Showing
7 changed files
with
162 additions
and
76 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,5 @@ | ||
--- | ||
'@primer/react': minor | ||
--- | ||
|
||
UnderlineNav.Link renamed to UnderlineNav.Item along with updated styles |
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.