-
Notifications
You must be signed in to change notification settings - Fork 669
Remove support for sx and Box usage from the UnderlineNav component
#6668
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
Merged
Merged
Changes from 28 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
56ff803
remove sx, Box from UnderlineNav
liuliu-dev 7a931cf
changeset
liuliu-dev 6b390bc
fix lint and format
liuliu-dev 07f4df0
use 4px instead of 1 for inline style
liuliu-dev f9ef25d
Merge branch 'main' into liuliu/migrate-underlinenav
liuliu-dev 9f5f349
Merge branch 'main' into liuliu/migrate-underlinenav
liuliu-dev 484eff5
remove sx support from CounterLabel
llastflowers e08db63
remove sx from docs
llastflowers 226ef2c
Update CounterLabel to remove sx support
llastflowers b8b577b
Merge remote-tracking branch 'origin/main' into liuliu/migrate-underl…
liuliu-dev 1fd4809
Merge branch 'main' into llastflowers/5783/no-sx-CounterLabel
llastflowers 9fbafc8
Merge remote-tracking branch 'origin/main' into liuliu/migrate-underl…
liuliu-dev ac6cd91
export underlinenav in styled-react
liuliu-dev 88e9f0e
fix lint issues
liuliu-dev b089415
Merge branch 'main' into llastflowers/5783/no-sx-CounterLabel
llastflowers 9b48904
use new pattern for UnderlineNavItem
liuliu-dev cdf8f05
would adding onSelect explicitly work?
liuliu-dev eb72548
lint fix
liuliu-dev 879f8ca
update tests for counterlabel sx removal
llastflowers 0845ea0
ElementType | 'a'?
liuliu-dev 38dc682
HTMLButtonElement
liuliu-dev cd43b92
use as?
liuliu-dev 18e65dd
more generic types
liuliu-dev 8b703d6
as ForwardRefComponent
liuliu-dev 048298e
revert
liuliu-dev 26c0b29
React.ElementType | 'a'
liuliu-dev dc4ea6f
fix types
liuliu-dev 1f214a7
clean up
liuliu-dev 2ba0527
add id in UnderlineNavItemProps instead
liuliu-dev a3edc81
build polymorphic.d.ts into dist?
liuliu-dev 6a8e752
fix lint
liuliu-dev 3435a0d
remove comments
liuliu-dev dd5896d
polymorphic.ts
liuliu-dev 2d88dfc
lint ignore
liuliu-dev d8dafd7
ignore polymorphic.ts in config, remove unused NavigationList
liuliu-dev 23ffbd5
Merge branch 'main' into liuliu/migrate-underlinenav
primer[bot] ac7804d
conflicts
liuliu-dev 1da2ad8
Merge branch 'liuliu/migrate-underlinenav' of https://github.com/prim…
liuliu-dev e8a8ea2
Merge branch 'main' into llastflowers/5783/no-sx-CounterLabel
llastflowers 60ade2a
Merge remote-tracking branch 'origin/main' into liuliu/migrate-underl…
liuliu-dev 984fbd5
Merge branch 'main' into llastflowers/5783/no-sx-CounterLabel
llastflowers c7f8fe8
conflicts
liuliu-dev f45fd91
conflicts
liuliu-dev d59c187
conflicts..
liuliu-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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': major | ||
| --- | ||
|
|
||
| Update UnderlineNav component to no longer support sx and remove Box usage from it. |
This file contains hidden or 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 hidden or 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 @@ | ||
| .MenuItemContent { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } |
This file contains hidden or 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 hidden or 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 @@ | ||
| .UnderlineNavItem { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
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.
Super random, do we need this export? I couldn't find where it is used 🤔
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.
Removed 🧹