-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(modal): set half width single buttons #5502
fix(modal): set half width single buttons #5502
Conversation
851463a
to
4f2cb5e
Compare
Deploy preview for carbon-elements ready! Built with commit 851463a |
Deploy preview for carbon-components-react ready! Built with commit 851463a https://deploy-preview-5502--carbon-components-react.netlify.com |
@emyarod is there a knob to see it? |
Deploy preview for carbon-elements ready! Built with commit d5fd167 |
Deploy preview for carbon-components-react ready! Built with commit d5fd167 https://deploy-preview-5502--carbon-components-react.netlify.com |
@aagonzales the ComposedModal story contains some single button modal examples |
Got it, was only looking under "modal". |
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.
The Modal component is just the modal by itself. Composed modal allows users to create their own modals with only the pieces they need. The ModalWrapper story just shows the modal launching UX. All three share the same styles (modal component styles) it looks like the modal footer color was carried over from v9 so I will deprecate that token |
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.
Look good!
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! 🎉
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 👍 - Thanks @emyarod!
Closes #5344
Closes #5345
Closes #5346
Refs #4607, more research needed for expected 3 button modal layout
This PR sets a single button within modal footers to span half of the modal width while maintaining default 2 button modal layout
Testing / Reviewing
Ensure single button modals appear correct