-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(button): prevent icon and tooltip jumping for tertiary button #5618
Conversation
Deploy preview for carbon-components-react ready! Built with commit f23f2e8 https://deploy-preview-5618--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit f23f2e8 |
This addresses the following problems: - jumping tooltip on icon-only tertiary button - red border color for focused danger button when hovering
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.
on a side note, if users are using the tokens I think we may need to deprecate them rather than removing them outright before a major release
@emyarod True, didn't think about that. Reverted removal and added |
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.
Looks like this will also close out #5263 |
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.
@laurenmrice Thanks for catching that. Should be fixed now. @tw15egan Weird. That didn't show up in my local setup. I think I know where the issue lies though and tried to fix it. We'll see once the deploy preview is done building. |
@janhassel I just noticed that you modified the border token width, which is all that the issue was talking about 👍 Other issues look resolved now! |
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.
looks great, thank you ! 🙌🏻
@emyarod Any further comments...? Thanks! |
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.
looks good to me
) * fix(button): prevent jump of icon in tertiary button * fix(button): simplify button stylings This addresses the following problems: - jumping tooltip on icon-only tertiary button - red border color for focused danger button when hovering * fix(button): correct box-shadows * fix: deprecate unused button-outline-offset and button-outline tokens * fix(button): correct danger button hover and icon-only svg fill Co-authored-by: TJ Egan <[email protected]> Co-authored-by: Josh Black <[email protected]>
…rbon-design-system#5618) * fix(button): prevent jump of icon in tertiary button * fix(button): simplify button stylings This addresses the following problems: - jumping tooltip on icon-only tertiary button - red border color for focused danger button when hovering * fix(button): correct box-shadows * fix: deprecate unused button-outline-offset and button-outline tokens * fix(button): correct danger button hover and icon-only svg fill Co-authored-by: TJ Egan <[email protected]> Co-authored-by: Josh Black <[email protected]>
…tton (carbon-design-system#5618)" This reverts commit 734a393.
…tton (carbon-design-system#5618)" This reverts commit 734a393.
…rbon-design-system#5618) * fix(button): prevent jump of icon in tertiary button * fix(button): simplify button stylings This addresses the following problems: - jumping tooltip on icon-only tertiary button - red border color for focused danger button when hovering * fix(button): correct box-shadows * fix: deprecate unused button-outline-offset and button-outline tokens * fix(button): correct danger button hover and icon-only svg fill Co-authored-by: TJ Egan <[email protected]> Co-authored-by: Josh Black <[email protected]>
Closes #5617
Simplifies the button styling and fixes the following problems:
(see screen recordings posted below)
Changelog
Changed
$button-outline-offset
and$button-outline
tokensRemoved
$border-width
parameter ofbutton-theme
mixinTesting / Reviewing
Additional resources