-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1063 +/- ##
=========================================
- Coverage 81.91% 81.8% -0.11%
=========================================
Files 693 696 +3
Lines 8450 8499 +49
Branches 1233 1168 -65
=========================================
+ Hits 6922 6953 +31
- Misses 1513 1531 +18
Partials 15 15
Continue to review full report at Codecov.
|
b5649ce
to
8d73689
Compare
docs/src/examples/components/Alert/Variations/AlertExampleAttached.shorthand.tsx
Show resolved
Hide resolved
packages/react/src/themes/teams/components/Alert/alertStyles.ts
Outdated
Show resolved
Hide resolved
packages/react/src/themes/teams/components/Alert/alertStyles.ts
Outdated
Show resolved
Hide resolved
NIT: I'm not sure that that |
@layershifter that was my first thought as well, but as the changes are implemented in the teams theme, then whatever are the requirements for that theme should be there. If the changes were in base theme, then we could have argue about what the colors should be. I wouldn't change this currently. |
f3824b4
to
8c744fc
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.
👍
packages/react/src/themes/teams/components/Alert/alertStyles.ts
Outdated
Show resolved
Hide resolved
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.
Left few final comments. And please don't forget to update the changelog before merging.
72a30c2
to
f9c0904
Compare
- renamed closeButton to action; - adapted examples; - added unit tests
1971b97
to
7de8cbb
Compare
Alert component V1
Description
This PR resolves #1061 by implementing the
Alert
component.API
info
An alert may be formatted to display information.
warning
An alert may be formatted to display a warning message.
success
An alert may be formatted to display a successful message.
danger
An alert may be formatted to display a danger message.
attached
An Alert can be can be formatted to attach itself to other content.
action
An Alert can provide the user with an action.