Repository navigation
ColorPalette: don't render when custom colors disabled and no colors passed
#72402
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
ramonjd
merged 24 commits into
WordPress:trunk
from
n8finch:bugfix/respect-custom-color-boolean-from-theme-json
Jun 10, 2026
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4766831
add logic for custom color boolean for borders
999b0ef
add tests to verify color picker is visible or not visible
db9e443
Merge branch 'WordPress:trunk' into bugfix/respect-custom-color-boole…
n8finch 6a71646
Merge branch 'WordPress:trunk' into bugfix/respect-custom-color-boole…
n8finch ba662c7
add wrapper for color palette
n8finch fdbc438
Update packages/components/src/border-box-control/test/index.tsx
n8finch 7d098b5
Update packages/components/src/border-box-control/test/index.tsx
n8finch 6ddfc06
add tests to check that no colors will also disable the color picker
n8finch ffa793f
update tests to check color guard
n8finch a04bdd7
remove single use function
n8finch a539cbd
resolve merge conflicts
n8finch 605653c
remove tests from BorderBoxControl
n8finch 3834cb7
update tests and location
n8finch dc69078
Merge branch 'trunk' into bugfix/respect-custom-color-boolean-from-th…
n8finch f57c190
remove custom prop
n8finch 3346ca9
lint files
n8finch 83afdd5
update check to return null Vstack
n8finch f0685e8
Merge branch 'WordPress:trunk' into bugfix/respect-custom-color-boole…
n8finch 3e2e58b
update changelog
n8finch 6bcb5db
Update packages/components/CHANGELOG.md
n8finch a01c105
Update packages/components/src/color-palette/index.tsx
n8finch e68122d
update tests to ColorPalette
n8finch df660f4
update merge conflicts
n8finch 6265565
Update packages/components/src/color-palette/index.tsx
n8finch 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
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.
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.