-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Borders: Switch to ToolsPanel for displaying UI #33743
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
aaronrobertshaw
merged 14 commits into
trunk
from
update/border-support-to-use-new-panel
Nov 29, 2021
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9015c87
Move creation of ToolsPanel to within fills
aaronrobertshaw ed7538b
Revert "Move creation of ToolsPanel to within fills"
aaronrobertshaw c4d0a44
Remove unused header prop
aaronrobertshaw 1d90049
Fix layout when slot injects wrapping div inside tools panel
aaronrobertshaw aa817c9
Update hooks with new utils for progressive display
aaronrobertshaw d6c2faa
Update border support to use ToolsPanel
aaronrobertshaw 821d08a
Fix typo in border color reset
aaronrobertshaw 9414eeb
Incorporate color control styles for ToolsPanel and remove border styles
aaronrobertshaw 8414e9d
Add missing reset of borderColor attribute to resetAll
aaronrobertshaw 315720b
Update border support use of ToolsPanel
aaronrobertshaw 56a6ac3
Linting
stacimc 8c195d3
Remove unneeded classname from slot container
aaronrobertshaw 02335dc
Border panel: Update panel layout (#35938)
stacimc 3a8e748
Try adding some default fallbacks
aaronrobertshaw 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
Update border support to use ToolsPanel
Update border support to display via progressive disclosure panel Updating border support UI styling for grid layout Update border global styles panel Fix border global style hasValue checks
- Loading branch information
commit d6c2faacf77abb9eaba6af8e0636dc121cf84797
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
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 |
|---|---|---|
| @@ -1,19 +1,11 @@ | ||
| .block-editor-hooks__border-controls { | ||
| .block-editor-hooks__border-controls-row { | ||
| display: flex; | ||
| justify-content: space-between; | ||
|
|
||
| > * { | ||
| width: calc(50% - #{ $grid-unit-10 }); | ||
| } | ||
| .block-editor-block-inspector .block-editor-hooks__border-controls, | ||
| .edit-site .components-progressive-disclosure-panel { | ||
| .components-unit-control-wrapper, | ||
| .components-border-style-control { | ||
| grid-column: span 1; | ||
| } | ||
|
|
||
| .components-unit-control-wrapper { | ||
| margin-bottom: $grid-unit-30; | ||
|
|
||
| &:last-child { | ||
| margin-bottom: $grid-unit-10; | ||
| } | ||
| .components-base-control__field { | ||
| margin-bottom: 0; | ||
| } | ||
| } | ||
|
|
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
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.