-
Notifications
You must be signed in to change notification settings - Fork 616
Button: Make the usage of the dialog more clear #3969
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
Conversation
🦋 Changeset detectedLatest commit: e907c15 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
…eact into features/button-clarity
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.
Some context I found on this particular fix.
We have an accessibility bug as well as a react bug which was fixed here (has similar changes) and reverted here
I think this is a good change but I wonder if the problem faced by the previous revert is fixed here.
src/Dialog.stories.tsx
Outdated
@@ -8,7 +8,7 @@ import {Dialog, DialogWidth, DialogHeight} from './Dialog/Dialog' | |||
/* Dialog Version 1? */ | |||
|
|||
export default { | |||
title: 'Components/DialogV1', | |||
title: 'Components/Dialog (deprecated)', |
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.
Do you think it'd be better to move this to the deprecated folder?
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.
Good idea that's even more clear!
There was also another effort that was reverted with similar intentions |
It looks like we were able to get the correct buttons used in this PR: #4049 |
Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days. |
Changelog
New
Nothing
Changed
IconButton
for the close button.Button
instead of the deprecated ones to ensure the styling is correctlyDialog
component in StorybookRemoved
Nothing
Rollout strategy
Testing & Reviewing
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.