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(components): add sidebar separator component #514

Merged
merged 2 commits into from
Dec 5, 2019

Conversation

robinmetral
Copy link
Contributor

Purpose

Add a horizontal separator component to the Sidebar. This will be used to group items together and is particularly useful when information architectures become more complex.

Screenshot_2019-12-05 Components Sidebar - Base ⋅ Storybook(1)

Approach and changes

Add a styled component in the Sidebar that extends the Circuit Hr component, just changing the color.

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@codecov
Copy link

codecov bot commented Dec 5, 2019

Codecov Report

Merging #514 into canary will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           canary     #514      +/-   ##
==========================================
+ Coverage   79.65%   79.67%   +0.02%     
==========================================
  Files         172      173       +1     
  Lines        2477     2480       +3     
  Branches      445      445              
==========================================
+ Hits         1973     1976       +3     
  Misses        388      388              
  Partials      116      116
Impacted Files Coverage Δ
...mponents/Sidebar/components/Separator/Separator.js 100% <100%> (ø)
src/components/Sidebar/Sidebar.js 100% <100%> (ø) ⬆️

Copy link
Member

@connor-baer connor-baer left a comment

Choose a reason for hiding this comment

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

I think you forgot to expose the separator as a top-level export or static property on the Sidebar.

src/components/Sidebar/components/Separator/Separator.js Outdated Show resolved Hide resolved
@robinmetral robinmetral merged commit c6830a0 into canary Dec 5, 2019
@robinmetral robinmetral deleted the feat/sidebar-separator branch December 5, 2019 14:54
@connor-baer
Copy link
Member

🎉 This PR is included in version 1.6.0-canary.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost
Copy link

ghost commented Jan 6, 2020

🎉 This PR is included in version 1.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants