-
Notifications
You must be signed in to change notification settings - Fork 673
feat: support custom slots #6976
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 5 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
51a76ea
feat: support custom slots
francinelucca 95661d8
Create lucky-walls-jog.md
francinelucca e6d732b
use symbol instead of string
francinelucca 323ab24
Merge branch 'chore/implement-slot-names' of https://github.com/prime…
francinelucca 9ea6440
add optional chaining
francinelucca 0908048
fix tests, add more slots
francinelucca 1a44837
fix errors
francinelucca e6a02e8
add more slots
francinelucca af0fd69
add more slots
francinelucca c12d3ee
add more slots
francinelucca 52f412c
Merge branch 'main' of github.com:primer/react into chore/implement-s…
francinelucca 737b286
add more slots
francinelucca d93b129
add more slots
francinelucca 2cc3f49
fix error
francinelucca e30a5ee
add more slots
francinelucca 4aec1c6
fix error
francinelucca eb25c86
add more slots
francinelucca 7c27f1d
fix errors
francinelucca ba06f45
add more slots
francinelucca 3e2c13e
add more slots
francinelucca 1adf9a9
add optional chaining
francinelucca df1c8ba
Add TS types for __SLOT__ prop
adierkens 8a8c54f
update exports
francinelucca 120baeb
test fix
francinelucca d7237cc
remove ts ignores
francinelucca 64ddae1
slot cleanup
francinelucca fc39021
slot clean up
francinelucca 17f45ae
clean up slots
francinelucca 658f728
remove unused import
francinelucca a44928d
revert change
francinelucca ad3ef08
ts fixes
francinelucca 22854cf
more cleanups
francinelucca 0910a6b
more cleanups
francinelucca 526f892
type fix
francinelucca 69c291c
Merge branch 'main' into chore/implement-slot-names
francinelucca 489f62e
VRT fix
francinelucca e74690d
Merge branch 'chore/implement-slot-names' of github.com:primer/react …
francinelucca 07ec7da
Merge branch 'main' into chore/implement-slot-names
francinelucca f740169
refactor getSlot to isSlot
francinelucca 49e51c5
correct conditional
francinelucca 97a467f
remove slot from ActionList
francinelucca f0e93b2
remove type
francinelucca 84d758a
type fixes
francinelucca f50d6b3
Merge branch 'main' into chore/implement-slot-names
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,6 @@ | ||
| --- | ||
| "@primer/react": minor | ||
| "@primer/styled-react": patch | ||
| --- | ||
|
|
||
| feat: support custom slots |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.