-
Notifications
You must be signed in to change notification settings - Fork 608
Implement the secondaryAction prop and deprecate footer #5939
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
24 commits
Select commit
Hold shift + click to select a range
2a20f4c
Implement the secondaryAction prop and deprecate footer
hectahertz 4ae49fc
Add changelog
hectahertz 8c90cf1
Update docs
hectahertz 4c06fff
Remove unnecessary secondaryActions
hectahertz 1df4d44
Fix story id
hectahertz d7474ed
test(vrt): update snapshots
francinelucca 28dcba5
Improve dev story
hectahertz b40b7eb
Simplify footer layout logic
hectahertz ea60bae
test(vrt): update snapshots
hectahertz 114a556
test(vrt): update snapshots
francinelucca 79a89eb
Fix footer cancel save logic
hectahertz a8ddbdd
test(vrt): update snapshots
hectahertz 6c5cb9b
Merge branch 'main' into hectahertz/selectpanel-secondaryaction
francinelucca f3ff84e
Merge branch 'main' into hectahertz/selectpanel-secondaryaction
francinelucca 7f87b2e
Add stretching to ResponsiveSaveButton
hectahertz 6ba6180
Muted links
hectahertz f9ff79c
Responsive padding on the footer
hectahertz 2b23ff1
Switch to LinkButton
hectahertz 949b666
Style tweaks
hectahertz 0fb543a
Move secondary actions to subcomponents
hectahertz 40ffda6
test(vrt): update snapshots
francinelucca 4dc8f8e
Fix css lint issues
hectahertz 3f3646f
Merge branch 'main' into hectahertz/selectpanel-secondaryaction
francinelucca 3aa8790
Remove results.json
hectahertz 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 | ||
--- | ||
|
||
Implement the secondaryAction prop and deprecate footer |
Binary file modified
BIN
-1 Byte
(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.
Binary file modified
BIN
+14 Bytes
(100%)
...anel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+13 Bytes
(100%)
...lectPanel-Multi-Select-Modal-dark-colorblind-modern-action-list--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.
Binary file modified
BIN
+18 Bytes
(100%)
...ectPanel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+19 Bytes
(100%)
...s/SelectPanel-Multi-Select-Modal-dark-dimmed-modern-action-list--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.
Binary file modified
BIN
+27 Bytes
(100%)
...l.test.ts-snapshots/SelectPanel-Multi-Select-Modal-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+28 Bytes
(100%)
...tPanel-Multi-Select-Modal-dark-high-contrast-modern-action-list--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.
Binary file modified
BIN
+8 Bytes
(100%)
...nts/SelectPanel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+12 Bytes
(100%)
...napshots/SelectPanel-Multi-Select-Modal-dark-modern-action-list--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.
Binary file modified
BIN
+14 Bytes
(100%)
...anel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+13 Bytes
(100%)
...lectPanel-Multi-Select-Modal-dark-tritanopia-modern-action-list--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.
Binary file modified
BIN
-76 Bytes
(100%)
...nel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-87 Bytes
(100%)
...ectPanel-Multi-Select-Modal-light-colorblind-modern-action-list--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.
Binary file modified
BIN
+12 Bytes
(100%)
....test.ts-snapshots/SelectPanel-Multi-Select-Modal-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11 Bytes
(100%)
...Panel-Multi-Select-Modal-light-high-contrast-modern-action-list--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.
Binary file modified
BIN
-39 Bytes
(100%)
...ts/SelectPanel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-47 Bytes
(100%)
...apshots/SelectPanel-Multi-Select-Modal-light-modern-action-list--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.
Binary file modified
BIN
-76 Bytes
(100%)
...nel.test.ts-snapshots/SelectPanel-Multi-Select-Modal-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-87 Bytes
(100%)
...ectPanel-Multi-Select-Modal-light-tritanopia-modern-action-list--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.
Binary file modified
BIN
+19 Bytes
(100%)
...nel.test.ts-snapshots/SelectPanel-Single-Select-Modal-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15 Bytes
(100%)
...ectPanel-Single-Select-Modal-dark-colorblind-modern-action-list--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.
Binary file modified
BIN
+25 Bytes
(100%)
...ctPanel.test.ts-snapshots/SelectPanel-Single-Select-Modal-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15 Bytes
(100%)
.../SelectPanel-Single-Select-Modal-dark-dimmed-modern-action-list--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.
Binary file modified
BIN
+27 Bytes
(100%)
....test.ts-snapshots/SelectPanel-Single-Select-Modal-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+28 Bytes
(100%)
...Panel-Single-Select-Modal-dark-high-contrast-modern-action-list--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.
Binary file modified
BIN
+13 Bytes
(100%)
...ts/SelectPanel.test.ts-snapshots/SelectPanel-Single-Select-Modal-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
+13 Bytes
(100%)
...apshots/SelectPanel-Single-Select-Modal-dark-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+19 Bytes
(100%)
...nel.test.ts-snapshots/SelectPanel-Single-Select-Modal-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+15 Bytes
(100%)
...ectPanel-Single-Select-Modal-dark-tritanopia-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(100%)
...el.test.ts-snapshots/SelectPanel-Single-Select-Modal-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-81 Bytes
(100%)
...ctPanel-Single-Select-Modal-light-colorblind-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
...test.ts-snapshots/SelectPanel-Single-Select-Modal-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+11 Bytes
(100%)
...anel-Single-Select-Modal-light-high-contrast-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
-50 Bytes
(100%)
...s/SelectPanel.test.ts-snapshots/SelectPanel-Single-Select-Modal-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-45 Bytes
(100%)
...pshots/SelectPanel-Single-Select-Modal-light-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(100%)
...el.test.ts-snapshots/SelectPanel-Single-Select-Modal-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-81 Bytes
(100%)
...ctPanel-Single-Select-Modal-light-tritanopia-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(100%)
...SelectPanel.test.ts-snapshots/SelectPanel-With-Footer-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+209 Bytes
(100%)
...hots/SelectPanel-With-Footer-dark-colorblind-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+234 Bytes
(100%)
...nts/SelectPanel.test.ts-snapshots/SelectPanel-With-Footer-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+261 Bytes
(100%)
...napshots/SelectPanel-With-Footer-dark-dimmed-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+296 Bytes
(100%)
...ectPanel.test.ts-snapshots/SelectPanel-With-Footer-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+310 Bytes
(100%)
...s/SelectPanel-With-Footer-dark-high-contrast-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(100%)
...components/SelectPanel.test.ts-snapshots/SelectPanel-With-Footer-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
+209 Bytes
(100%)
...st.ts-snapshots/SelectPanel-With-Footer-dark-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(100%)
...SelectPanel.test.ts-snapshots/SelectPanel-With-Footer-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+209 Bytes
(100%)
...hots/SelectPanel-With-Footer-dark-tritanopia-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+217 Bytes
(100%)
...electPanel.test.ts-snapshots/SelectPanel-With-Footer-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+222 Bytes
(100%)
...ots/SelectPanel-With-Footer-light-colorblind-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+311 Bytes
(100%)
...ctPanel.test.ts-snapshots/SelectPanel-With-Footer-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+328 Bytes
(100%)
.../SelectPanel-With-Footer-light-high-contrast-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+217 Bytes
(100%)
...omponents/SelectPanel.test.ts-snapshots/SelectPanel-With-Footer-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+222 Bytes
(100%)
...t.ts-snapshots/SelectPanel-With-Footer-light-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file modified
BIN
+217 Bytes
(100%)
...electPanel.test.ts-snapshots/SelectPanel-With-Footer-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+222 Bytes
(100%)
...ots/SelectPanel-With-Footer-light-tritanopia-modern-action-list--true-linux.png
Oops, something went wrong.
Binary file added
BIN
+50.4 KB
....test.ts-snapshots/drafts-SelectPanel-With-Warning-dark-high-contrast-linux.png
Oops, something went wrong.
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.
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.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.