Skip to content
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

Merged
merged 4 commits into from
Feb 10, 2021

Conversation

janhassel
Copy link
Member

@janhassel janhassel commented Feb 8, 2021

Introduces a new component for the SideNav: <SideNavDivider />.

It renders a diving line with the styling used on carbondesignsystem.com

Changelog

New

  • Add SideNavDivider component

Changed

  • Updated relevant snapshots

Testing / Reviewing

Additional information

I opted for an <li> with the role separator 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 role separator (https://w3c.github.io/html-aam/#el-hr).

@janhassel janhassel requested review from a team as code owners February 8, 2021 10:00
@netlify
Copy link

netlify bot commented Feb 8, 2021

Deploy preview for carbon-elements ready!

Built with commit c4a389d

https://deploy-preview-7756--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Feb 8, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit c4a389d

https://deploy-preview-7756--carbon-components-react.netlify.app

@emyarod emyarod requested review from a team and aagonzales and removed request for a team February 8, 2021 15:49
Copy link
Member

@emyarod emyarod left a 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

Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@kodiakhq kodiakhq bot merged commit 6a495d5 into carbon-design-system:master Feb 10, 2021
@janhassel janhassel deleted the side-nav-divider branch February 10, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants