Repository navigation
Base Styles: Align input-control mixin to design system
#81357
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
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
5c2fc63
Align legacy text control focus rings with WPDS.
mirka f7bafd0
Align ComboboxControl focus ring with WPDS.
mirka 217a79f
Remove input-style__focus mixin.
mirka 6432ad8
Align input-control borders and hover with WPDS.
mirka 4923c6e
Add todo comments
mirka e9c7f9b
Remove legacy input box-shadow transition.
mirka baea1ce
Neutralize forms.css focus styles in TextareaControl.
mirka ea0bfb1
Fix ValidatedTextControl error focus ring.
mirka c71c4eb
Drop redundant box-shadow reset from input-style__neutral.
mirka 13a1a12
Fix up
mirka 202420b
Restore SandBox changelog entry.
mirka 2858d0c
Use input-control mixin for TextareaControl focus styles.
mirka 9b48706
Merge branch 'trunk' into align-legacy-text-control-focus-rings
mirka 6b25d1d
Drop obsolete validated control invalid styles
mirka ede4e5b
Use red focus ring for DataViews validated controls
mirka 97b1d7d
Move components changelog entry to Unreleased
mirka 180b8b7
Remove duplicate focus ring from DataViews filter search
mirka 6aaa77c
Add changelog
mirka 1802b39
Add changelog
mirka c1801e6
Fix up changelog
mirka ed24d60
Merge trunk into align-legacy-text-control-focus-rings
mirka 325427e
Merge remote branch after trunk merge
mirka 7308b55
Use red-focus-ring placeholder for ToggleGroupControl invalid state
mirka cd473a3
Merge branch 'trunk' into align-legacy-text-control-focus-rings
mirka 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
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
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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| @use "@wordpress/base-styles/mixins" as *; | ||
|
|
||
| .textarea { | ||
| @include input-control; | ||
| } |
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not a full DS refactor. Only dedupes the styles that can be covered by the |
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
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.
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.
It looks like this shared focus snippet is also used by the Dataviews filter search input
gutenberg/packages/dataviews/src/components/dataviews-filters/style.scss
Lines 330 to 356 in 25d5c72
We should clean that up, too, since it currently renders the new outline and the box shadow
(Repro instructions: Storybook, Dataviews => Layout table story, filter by type)