-
Notifications
You must be signed in to change notification settings - Fork 375
feat(Compass): add compass nav components #12138
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(Compass): add compass nav components #12138
Conversation
|
Preview: https://pf-react-pr-12138.surge.sh A11y report: https://pf-react-pr-12138-a11y.surge.sh |
| <div | ||
| style="display: contents;" | ||
| > |
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.
Is it expected to get this extra div around the search contents? It's here and on the nav-home also
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.
Yeah that's coming from the Tooltip
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.
Cool, looks good then!
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 we want to update the internal tooltips to use triggerRef to avoid this styled wrapping div? I know we've tried to avoid that div in most places but it was breaking to do that for Tooltip at the time iirc.
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.
I'm not opposed to that
| <div | ||
| style="display: contents;" | ||
| > |
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.
Cool, looks good then!
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.
Just a few things to fix up the props tables and a question
packages/react-core/src/components/Compass/CompassNavContent.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Compass/CompassNavSearch.tsx
Outdated
Show resolved
Hide resolved
| <div | ||
| style="display: contents;" | ||
| > |
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 we want to update the internal tooltips to use triggerRef to avoid this styled wrapping div? I know we've tried to avoid that div in most places but it was breaking to do that for Tooltip at the time iirc.
Co-authored-by: kmcfaul <45077788+kmcfaul@users.noreply.github.com>
Co-authored-by: kmcfaul <45077788+kmcfaul@users.noreply.github.com>
Co-authored-by: kmcfaul <45077788+kmcfaul@users.noreply.github.com>
Co-authored-by: kmcfaul <45077788+kmcfaul@users.noreply.github.com>
thatblindgeye
left a comment
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.
packages/react-core/src/components/Compass/CompassNavContent.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com>
|
Your changes have been released in:
Thanks for your contribution! 🎉 |

Closes #12116
Convenience link to the updated demo: https://pf-react-pr-12138.surge.sh/patternfly-ai/generative-uis/compass/react/demo/