-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Play-159] Play Adding Alert To Dialog Kit #1909
Conversation
386ca4b
to
a913c77
Compare
0e46ca5
to
09989fa
Compare
09989fa
to
e84eef7
Compare
21f3545
to
b412945
Compare
</If> | ||
|
||
<Dialog.Body> | ||
<Flex align='center' |
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.
We can't center all dialogs by default. This breaks all existing dialogs that do not want centered text.
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.
We also still need these conditionals that were deleted:
<If condition={title}>
<Dialog.Header>{title}</Dialog.Header>
</If>
<If condition={text}>
<Dialog.Body>{text}</Dialog.Body>
</If>
I'm going to try to add before/after screenshots to the story to document what is broken.
This reverts commit bbc147d.
Screens
Here are the new additions to the Dialog page.

Here are examples of the new Dialog Alerts icons

Here are examples of the styles that can be used.

Breaking Changes
[Yes/No (Explain)]
Runway Ticket URL
[INSERT URL]
How to test this
[INSERT TESTING DETAILS]
Checklist:
enhancement
,bug
,improvement
,new kit
,deprecated
, orbreaking
. See Changelog & Labels for details.Milano
label when you are ready for a review.