-
Notifications
You must be signed in to change notification settings - Fork 614
chore(ActionMenu): Add fullscreen sample story #6108
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
Open
francinelucca
wants to merge
13
commits into
main
Choose a base branch
from
chore/add-action-menu-full-screen-story
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.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
fe6ed7d
chore(ActionMenu): Add fullscreen sample story
francinelucca 2596f3c
Create pink-trees-work.md
francinelucca 51b85aa
Merge branch 'main' of github.com:primer/react into chore/add-action-…
francinelucca 0877e5c
refactor: bubble up close button to AnchoredOverlay
francinelucca 5e5eb27
Merge branch 'main' into chore/add-action-menu-full-screen-story
francinelucca 83280ee
format
francinelucca 5513948
lint fixes
francinelucca 8e958b6
test(vrt): update snapshots
francinelucca 056ca3b
Revert "test(vrt): update snapshots"
francinelucca a4f6994
Merge branch 'main' into chore/add-action-menu-full-screen-story
francinelucca 205b625
Merge branch 'main' into chore/add-action-menu-full-screen-story
francinelucca 40fb418
test(vrt): update snapshots
francinelucca dbf78fc
Merge branch 'main' into chore/add-action-menu-full-screen-story
francinelucca 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": patch | ||
--- | ||
|
||
chore(ActionMenu): Add fullscreen sample story and variant prop |
Binary file modified
BIN
+238 Bytes
(100%)
...sive-width-light-modern-action-list--true-full-screen-on-narrow--true-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
.ActionMenuContainer { | ||
&:where([data-variant='fullscreen']) { | ||
padding-top: var(--base-size-28); | ||
} | ||
} |
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
14 changes: 14 additions & 0 deletions
14
packages/react/src/AnchoredOverlay/AnchoredOverlay.module.css
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,14 @@ | ||
.ResponsiveCloseButtonContainer { | ||
position: relative; | ||
} | ||
|
||
.ResponsiveCloseButton { | ||
position: absolute; | ||
top: var(--base-size-8); | ||
right: var(--base-size-8); | ||
display: none; | ||
|
||
@media screen and (--viewportRange-narrow) { | ||
display: inline-grid; | ||
} | ||
} |
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.
The newly added
variant
prop should be documented (e.g., in JSDoc or PropTypes) to clarify the allowed shapes and describe its behavior for maintainers and consumers.Copilot uses AI. Check for mistakes.