-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SearchControl: refactor to use InputControl internally (#56524)
* WIP * Confirm label working as expected * Simplify id * Simplify props * Fix types * Add `__nextHasNoMarginBottom` back compat * Add RTL todo * Add CSS classes * Adjust prefix/suffix * Add empty string fallback to `value` * Add placeholder * Reset webkit styles * Restore original onChange type signature * Make 40px by default This should be acceptable because the original default was even larger. * Support compact size * Adjust inner padding * Adjust close button size * Remove stylesheet * Tweak JSDocs * Add default label * Tweak story * Clean up * Update docs * Purify SuffixItem * Tighten icon margins * Support borderless gray * Restore original icon layout * Programatically remove any potential `disabled` prop * Align `value` fallback to null coalesce * Add GH handle for design team * Add changelog * Update SearchControl consumers (#58014) * Update SearchControl consumers * Revert overrides to New Template Modal --------- Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
- Loading branch information
1 parent
0d46659
commit 8fe2508
Showing
13 changed files
with
210 additions
and
235 deletions.
There are no files selected for viewing
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.