-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat(dialog): use native HTML dialog element #2078
base: staging/cubone
Are you sure you want to change the base?
feat(dialog): use native HTML dialog element #2078
Conversation
Related to #1865.
🦋 Changeset detectedLatest commit: 9ebd037 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 |
✅ Deploy Preview for red-hat-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Size Change: +185 B (+0.09%) Total Size: 207 kB
ℹ️ View Unchanged
|
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 close button's target looks pretty large. Can we use
--rh-length-xl
for the width and height of the touch target?
-
Can the slots use this spacing?
-
Is there a way to keep the close button fixed if the content has to scroll?
-
This comment might need to go back to design for a future feature update, but the close button isn't visible in the video dialog demo. (I can make an issue if design needs to tackle dark theme to fix this.)
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.
Last few changes then we'll be ready to rock
Co-authored-by: Benny Powers - עם ישראל חי! <[email protected]>
Co-authored-by: Benny Powers - עם ישראל חי! <[email protected]>
I'll be making dialog docs updates in this branch/PR this week! Please don't merge before they're done. |
@coreyvickery, I updated the dialog docs to accommodate some of the changes made in this PR. Could you take a look at the mockup and add any feedback? |
@marionnegp Mock-up looks good. |
@coreyvickery @adamjohnson, feel free to take a look at the updated docs in the DP. |
@marionnegp Let me know if you still need my eyes on this. |
@coreyvickery, I think we're good. Thank you! |
What I did
<dialog>
element.accessible-label
property<dialog>
elementTesting Instructions
variant="small"
etc andposition="top"
)Notes to Reviewers
Docs updates:
Closes #1242 and #1238.