-
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
feat(ui-shell): add side-nav-divider component #7756
feat(ui-shell): add side-nav-divider component #7756
Conversation
Deploy preview for carbon-elements ready! Built with commit c4a389d |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit c4a389d https://deploy-preview-7756--carbon-components-react.netlify.app |
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.
looks good to me, requesting visual review @carbon-design-system/design
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.
🎉
Introduces a new component for the SideNav:
<SideNavDivider />
.It renders a diving line with the styling used on carbondesignsystem.com
Changelog
New
SideNavDivider
componentChanged
Testing / Reviewing
Additional information
I opted for an
<li>
with the roleseparator
instead of an<hr>
element since according to the HTML spec, children of a<ul>
must be<li>
elements (https://html.spec.whatwg.org/multipage/grouping-content.html#the-hr-element) and the<hr>
element has the implicit roleseparator
(https://w3c.github.io/html-aam/#el-hr).