-
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): implement <rh-dialog>
#288
Conversation
🦋 Changeset detectedLatest commit: 50bf342 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 settings. |
@coreyvickery @marionnegp @ronniemcbride do we have tokens for grid column / gutter widths? The spec defines widths in terms of number of columns, not e.g. container %. |
@RedHat-UX/designers searching the rh-repo design tokens spreadsheet, I couldn't find |
226bf75
to
8307012
Compare
Ok I bumped this back down to draft for 2 reasons:
|
Sorry I missed this yesterday! @coreyvickery had adjusted the grays while making the design tokens spreadsheet, so that's likely why it's used in the component but is missing from the tokens. I think that's the closest gray, but it's probably best to check with Corey. |
I added a comment in the tokens spreadsheet about adding grid column and gutter widths. I'm not sure if the size tokens will work here. |
Rebased just now |
Some outstanding API questions:
|
This needs a rebase after #325 |
I think the video type makes sense to me. It's close enough to dialog.
This is removed in the next release of PFE. |
@bennypowers There is a z-index issue on the first dialog demo on the demo site I believe. |
Rebased just now. @heyMP I couldn't reproduce your issue, probably it was fixed with the new dependencies? 🤷 |
…height scalling off screen when in landscape aspect ratio.
Co-authored-by: Michael Potter <[email protected]>
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.
Awesome job @bennypowers. Lots of hard work went into this. LGTM!
What I did
PfeModal
variant=video
attributeopen
boolean attrTesting Instructions
Notes to Reviewers
max-width of the dialog is set to
min(90%, 1140px)
. the1140px
part is taken from the XD, the90%
part, I made up 🙈specs on ux-dot say the dialog should have an overlay that is
Checking the provided graphic for video, the final rendered colour for the overlay was #898989 for a video dialog on a white background. Setting the video dialog overlay background colour to this got me to #8f8f8f, which was as close as I came
is
variant
the right attr?What's the correct hover-state colour for the video dialog close button?
Closes #283