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.
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
ToggleGroupControl: rewrite backdrop animation with framer motion shared layout animations #50278
ToggleGroupControl: rewrite backdrop animation with framer motion shared layout animations #50278
Changes from all commits
ed5e18d
ea4c62f
b8bc3c5
ba4a3c2
5ab8f5a
03ffe1a
0a52c45
8384195
d7785ba
2ae837a
d2edd74
759658f
6c7166e
5aa029e
9a63905
95ec7a0
8d09bd2
49594aa
4784edd
1b18a0a
b1c6a27
31f352b
b0410fd
ec6da00
dc4ceea
fc03b14
8c84d61
4da4e77
14f8897
9d11002
0d75bf5
cebd4f5
3948355
0253bf5
25435f3
420681a
81e8277
9beee76
1e2ff30
ee5e7f4
2364d02
e69993e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
TODO: we may want to export the motion context differently? (ie. stable, or as private API)
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.
Let's export all the providers (style, components, toolbar context, motion) consistently the same way, as private APIs.
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.
I'm not sure we can remove existing exports from the package — even if they are prefixed with
__unstable
, removing them would cause breaking changes in plugin and themes using them (I ran a quick search on wpdirectory and there are unfortunately some matches).@youknowriad do you have any suggestions on how we may want to approach this? Given how "de facto" stable are
__unstableMotion
and__unstableAnimatePresence
, should we just export them without the__unstable
alias too?