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

Component Request - Accordion #49

Open
5 tasks
sbmadhav opened this issue Oct 22, 2017 · 0 comments
Open
5 tasks

Component Request - Accordion #49

sbmadhav opened this issue Oct 22, 2017 · 0 comments

Comments

@sbmadhav
Copy link
Contributor

Accordion Component

The Accordion displays as a single stack of Accordion Blades in all the views.

The component has the following elements:

  • Accordion Blade:
  1. On click/tap, opens the accordion panel and changes to the OPEN state (i.e. the Blade Label is bold, and the Hide icon displays).
  2. On click/tap again, closes the accordion panel and changes to the CLOSE state (i.e. the Blade Label is not bold, and the Hide icon displays).
  • Blade Label:
  1. Supports an unlimited number of characters.
  • Show icon:
  1. Only displays in the closed state.
  2. On click/tap, opens the accordion panel and changes to the OPEN state.
  • Hide icon:
  1. Only displays in the open state.
  2. On click/tap, closes the accordion panel and changes to the CLOSE state.
  • Flexible Panel:
  1. Only shown in the OPEN state.
  2. Must be able to configure whether only one or multiple panels can be open at a time.
  3. Must be able to configure which panel(s) is open by default.
  4. Each panel holds self-contained content. The panel adjusts to the height of the content.
  5. The Accordion occupies 100% of the width of the parent container. The components and content inside the Accordion wrap based on the width of the parent container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant