-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Convert core toolbar buttons into ToolbarButton #20008
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
6061ecd
SlotFill initial implementation
diegohaz 7e38b5a
Add manifest-devhub.json
diegohaz d032bee
Accept as prop on Slot
diegohaz 13b60ef
Update stories
diegohaz 0c77a8a
Update README.md
diegohaz bd84603
Update code
diegohaz 23d3abc
Add slot-fill2 entries to components index file
diegohaz 229d432
Add unit tests
diegohaz 7aff149
Merge branch 'master' into update/slot-fill
diegohaz e8bbb9b
Fix git conflicts
diegohaz df31e9c
Merge branch 'master' into update/slot-fill
diegohaz 861e8ec
Convert fixed toolbar buttons into ToolbarButton
diegohaz 1fc8026
Lint code
diegohaz 68d76db
Merge branch 'update/slot-fill' into update/fixed-toolbar-buttons
diegohaz cee615e
Merge branch 'master' into update/fixed-toolbar-buttons
diegohaz 4b7b0fa
Update code
diegohaz 94f25bb
Adjustments
diegohaz ec33aa0
Temporarily fix toolbar buttons styles
diegohaz 60c5702
Merge branch 'master' into update/fixed-toolbar-buttons
diegohaz 41d9576
Revert block toolbar styles
diegohaz f4d0b89
Fix styles
diegohaz 17dc36b
Lint code
diegohaz bb63270
Update e2e-tests
diegohaz b2bbbf2
Update styles
diegohaz 1be7460
Merge branch 'master' into update/fixed-toolbar-buttons
diegohaz d33c988
Merge branch 'master' into update/fixed-toolbar-buttons
diegohaz 014578d
Update styles
diegohaz 2999c85
Fix unit tests
diegohaz be9564a
Fix some e2e tests
diegohaz 11b3104
Update NavigableToolbar
diegohaz c87d1f2
Attempt to fix e2e tests
diegohaz 3794091
Revert Attempt to fix e2e tests
diegohaz 51b1153
Fix navigable-toolbar tests
diegohaz c8f4773
Upgrade reakit
diegohaz 1bb519c
Fix e2e tests
diegohaz 83f7eba
Update styles
diegohaz 750914c
Update ToolbarGroup styles
diegohaz 47ceb49
Update NavigableToolbar
diegohaz e740adb
Refactor Block Controlls Fill/Slot code
diegohaz 12477f9
Update NavigableToolbar
diegohaz 67289f7
Update styles
diegohaz 2d01cda
Add comment on block-toolbar/utils.js
diegohaz 70937da
Refactor format-toolbar code
diegohaz 5bb5f49
Fix styles on horizontal movers
diegohaz 9b60075
Update trailing dropdown toolbar button styles
diegohaz 0709c04
Use MutationObserver instead of relying on the next repaint
diegohaz ed633cc
Fix drag and drop
diegohaz 2399dbd
useUpdateLayoutEffect for MutationObserver
diegohaz 790eb22
Update NavigableToolbar code
diegohaz d5378c5
Update NavigableToolbar code
diegohaz 369f2fe
Add comment on Toolbar
diegohaz ca40ffd
Move bubblesVirtually prop so React Native still works
diegohaz 48c1fbe
Merge branch 'master' into update/fixed-toolbar-buttons
diegohaz 2b5c5f0
Remove missing comment from styles
diegohaz 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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
2 changes: 1 addition & 1 deletion
2
...ages/block-editor/src/components/block-alignment-toolbar/test/__snapshots__/index.js.snap
This file contains 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 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 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 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 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 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.
I remember having to do the same trick in the past for other fills. It's a bit unfortunate that we need this trick but as long it works it feels like a good trade-off.