-
Notifications
You must be signed in to change notification settings - Fork 51
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
[86byz6xq0][tooltip] added properties for paint arrow #1503
base: master
Are you sure you want to change the base?
Conversation
38ac5e5
to
2a76118
Compare
21d84b6
to
970a976
Compare
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.
- Asked two questions in the inner chat.
- Updated example a little bit ✨ Waiting for possibility to pass tokens to the new properties. Will approve as soon as it will work 😎
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.
Updated example for colored Tooltip. Everything other looks good!
…ush/intergalactic into feature/tooltip-arrow-color
@@ -72,6 +72,14 @@ SArrow[theme='warning'] { | |||
} | |||
} | |||
|
|||
SArrow[bgColor][shadowColor] { |
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.
I'm not sure it will be good to set them only when both are provided while it's two optional properties. Maybe we should provide it in one prop as object?
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.
shadowColor
has a fallback to bgColor
, so, here it will always be defined if bgColor
is defined.
I've removed shadowColor
from condition here
Motivation and Context
I've added two props for Tooltip.Popper to determine the color of the arrow.
How has this been tested?
Manually and I've added screenshot test
Screenshots (if appropriate):
Types of changes
Checklist:
CHANGELOG.md
file with planned publish date.