-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TextInput trailing action design and API update (#2033)
* makes hover background appear inset * deprecates children prop - only icons should be used for text input inner actions * deprecates 'variant' prop for TextInputInnerAction * limits larger inner action tap target for coarse pointers * adds changeset * updates snapshots * prevents tooltip from appearing until button is actually hovered * fixes vertical alignment of SVG in IconButton when size !== 'medium' * addresses last bit of PR feedback * updates snapshots
- Loading branch information
Showing
6 changed files
with
292 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
- Text input inner action's hover bg should not touch the text input edges | ||
- Increases touch target area of the text input inner action button | ||
- Deprecated `children` and `variant` props on the `TextInputInnerAction` component, but they're **still supported for now**. |
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.