-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Update compact search control metrics #54663
Conversation
Size Change: +33 B (0%) Total Size: 1.62 MB
ℹ️ View Unchanged
|
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.
Thank you for working on this!
Can we also add a CHANGELOG entry?
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.
Good to go once the CHANGELOG entry gets updated! Thank you 🚀
packages/components/CHANGELOG.md
Outdated
@@ -18,6 +18,7 @@ | |||
- `DuotonePicker/ColorListPicker`: Adds appropriate labels to 'Duotone Filter' color pickers ([#54468](https://github.com/WordPress/gutenberg/pull/54468)). | |||
- `SearchControl`: support new `40px` and `32px` sizes ([#54548](https://github.com/WordPress/gutenberg/pull/54548)). | |||
- `FormTokenField`: Add `tokenizeOnBlur` prop to add any incompleteTokenValue as a new token when field loses focus ([#54445](https://github.com/WordPress/gutenberg/pull/54445)). | |||
- `SearchControl`: polish metrics for `compact` size variant ([#54663](https://github.com/WordPress/gutenberg/pull/54663)). |
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.
This should be moved under the unreleased section, under a new ### Enhancements
sub-section (a new version of the package was released since this PR was opened)
Flaky tests detected in ccc62f1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6260731931
|
Follow-up to #54548.
What?
Update
SizeControl
metrics when size iscompact
.Why?
Better visual balance. The current spacing works well at 40/48px, but at the smaller 32px size it's a bit much.
Testing Instructions
npm run storybook:dev
, openSearchControl
and set size tocompact
Before
After