-
Notifications
You must be signed in to change notification settings - Fork 645
UnderlineNav overflow behaviour implementation #2297
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 all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
2c5e29e
initial impl for overflow behaviour
broccolinisoup fd409d4
scroll behaviour initial commit - wip
broccolinisoup b2f4738
overflow and scroll behaviour and styles
broccolinisoup ce08e12
introduce scroll arrow buttons
broccolinisoup 5fa9687
scroll behaviour in dept
broccolinisoup 9c8c8c7
revert back stories to original state
broccolinisoup 26c4e7b
Fix types and align/variant issues
pksjce 912fc49
Use separate component for arrow buttons
pksjce e5a0835
fade out affects on scroll ends
broccolinisoup 917a335
type issues and some refactor
broccolinisoup e7aae17
style refactor & theming & scrollIntoView from primer behaviour
broccolinisoup 2ca3a03
Update documentation
broccolinisoup b9451b0
Update documentation
broccolinisoup d650a99
add changeset
broccolinisoup cff64a6
Merge branch 'main' into broccolinisoup/underlineNav-overflow
broccolinisoup 0918910
remove scroll story until finding a way to simulate coarse pointer
broccolinisoup 33a7cc0
add single variant selection to ActionList
broccolinisoup 1cebcd2
take more button into account when calculating & code review feedback
broccolinisoup eade73d
remove scroll behaviour - due to accessibility concerns
broccolinisoup 50e8d78
hover state remove on mobile and improvments on more btn functionality
broccolinisoup 7b58eae
Merge branch 'main' into broccolinisoup/underlineNav-overflow
broccolinisoup 3b7ae57
remove prop controls and align story
broccolinisoup 6688580
update tests and docs
broccolinisoup a8c4bf4
update docs
broccolinisoup a450308
overflow effect improvments
broccolinisoup a7624af
Revert "remove scroll behaviour - due to accessibility concerns"
broccolinisoup c9652ef
scroll behaviour feedback
broccolinisoup 4a822ca
update tests
broccolinisoup bb75406
Merge branch 'main' into broccolinisoup/underlineNav-overflow
broccolinisoup e9142f7
keyboard navigation tab through
broccolinisoup de082d5
Merge branch 'main' into broccolinisoup/underlineNav-overflow
broccolinisoup 580ce51
Update .changeset/sweet-eggs-complain.md
broccolinisoup 54d2775
Merge branch 'main' into broccolinisoup/underlineNav-overflow
broccolinisoup 1604fc2
Merge branch 'main' into broccolinisoup/underlineNav-overflow
broccolinisoup 80e52e3
Update docs/content/drafts/UnderlineNav2.mdx
broccolinisoup 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': minor | ||
| --- | ||
|
|
||
| UnderlineNav2: Introducing overflow behavior for fine and coarse pointer devices |
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.
Instead of repeating the lines here, I wanted to write it with react like this but I am having a trouble to import UnderlineNav from drafts 😞 It is fine to import it on a different project like I tried to import to my primer prototype project but not sure what is going on here. Maybe we can pair tomorrow? @pksjce