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

Create Sidebar Component #841

Open
alisonailea opened this issue Oct 19, 2017 · 0 comments
Open

Create Sidebar Component #841

alisonailea opened this issue Oct 19, 2017 · 0 comments

Comments

@alisonailea
Copy link
Contributor

An updated version of the Sidebar Component designed to fit into CSSGrid or Flexbox layouts. (talk to @alisonailea) which displays a full height sidebar in the left or right-hand side of the browser window. The Sidebar expands on event trigger to display a selection of content. The collapsed sidebar may either be invisible, a smaller view of existing content, or a variation of content specific to the collapsed view.

Note: this should not be based on the existing Sidebar but should (ideally) be designed to be backward compatible.

AC:
is a "layout" component
a mobile & desktop view (responsive)
Props include...
handleExpand: func // <-- pass expand function (or reducer) to the sidebar component
isExpanded: (stateful prop)
expandDirection: 'left' || 'right' //<-- expands left or right
collapsedWidth: int(0-100) // <-- the collapsed view may be visible or disappear entierly
opacityOverlay: true || false //<-- overlay may appear over the primary content or not

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

No branches or pull requests

1 participant