-
Notifications
You must be signed in to change notification settings - Fork 160
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
[Compound] Implement dialogs #1043
[Compound] Implement dialogs #1043
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #1043 +/- ##
===========================================
- Coverage 56.88% 56.88% -0.01%
===========================================
Files 997 997
Lines 25392 25321 -71
Branches 5117 5078 -39
===========================================
- Hits 14444 14403 -41
+ Misses 8703 8692 -11
+ Partials 2245 2226 -19
☔ View full report in Codecov by Sentry. |
bb6fb6f
to
9ef3d4e
Compare
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM!
Changes:
TextButton
padding smaller when it doesn't have an icon.AlertDialogContent
totheme/components
to make it part of the 'platform components' instead of having it as a custom component.Closes element-hq/compound#202.
Note: this PR only covers simple dialogs, and doesn't try to implement dialogs containing lists since the work on lists is paused. Also, this PR does not handle 'disabled' state for buttons since I couldn't verify the behavior needed, so this will be added in a separate PR in the future.