-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat(web-react): Deprecating warning
icon for the danger
color on Alert
#1291
Conversation
✅ Deploy Preview for spirit-design-system-demo canceled.
|
✅ Deploy Preview for spirit-design-system-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for spirit-design-system-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
96eac14
to
3f52be6
Compare
✅ Deploy Preview for spirit-design-system-validations canceled.
|
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.
Please make use of design tokens for Alert
border. The rest is just grammar nit-picking.
f273d4d
to
f519d18
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.
Isn't the added border a visual breaking change? 😬
2c6468c
to
983ff03
Compare
983ff03
to
495a600
Compare
This branch has been rebased to the |
1ace288
to
3a259dd
Compare
@adamkudrna FYI, I have also updated the icon in the Toast component. |
3a259dd
to
02db78f
Compare
* the `warning` icon for the `danger` color is marked as deprecated * the `danger` icon for the `danger` color will be used as default in the next major version refs #DS-1156
refs #DS-1147
* the `warning` icon for the `danger` color is marked as deprecated * the `danger` icon for the `danger` color will be used as default in the next major version refs #DS-1156
refs #DS-1148
* icon of color danger has been change to danger
02db78f
to
ec51422
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.
I made the alert border a feature flag.
I still don't like the unavoidable deprecation message, but let's move on. I will bother you with this next time :D and maybe one day we will find a solution :))
@Crispeen Thanks for the feature flag. But maybe you did not notice the change in the Alert component, which is now using the |
Description
I am deprecating the
warning
icon in favor of thedanger
icon on Alert component when using thedanger
color.Fallback added to the
warning
icon and also added few console warning messages.Additional context
I have also introduced
DEPRECATIONS-v2.md
with this particular deprecation.Also added a solid border to the Alert component.
Issue reference
Before submitting the PR, please make sure you do the following
fixes #123
).