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

Add customized expansion panel #755

Open
LibbyUX opened this issue Oct 1, 2024 · 2 comments
Open

Add customized expansion panel #755

LibbyUX opened this issue Oct 1, 2024 · 2 comments
Labels
app: design system storybook HRA Design System Storybook for global consistency across HRA products atomic design: molecule A set of component atoms that make a larger component ⚙️ hra-ds: new 🆕 A new component being added to the HRA Design System Storybook

Comments

@LibbyUX
Copy link
Contributor

LibbyUX commented Oct 1, 2024

image

Please add our module headers to Storybook. This is a common pattern emerging across all of our interactive UIs:

image

Anatomy

  • Always: Text string for the title
  • Sometimes: Leading icon
    • If so, always: Expand/collapse icon button which will expand or collapse the module.
  • Sometimes: Trailing icon 1
    • Generally the "More" icon button, but not always
  • Sometimes, but rarely: Trailing icon button 2

Styling Notes

  • Generally, Label Large is used. However, other label fonts need to be easily switched out on an instance specific basis.
  • Spacing is usually always 4px between elements, but it needs to be flexible for rare instances.

image

Interactions

See micro tooltips at #676

  • Icon buttons in module headers will always have micro tooltips labeling what they do (for example: More, Expand, Collapse)
  • Sometimes the title will also have a micro tooltip

Approved example UIs

image

image

image

@LibbyUX LibbyUX added app: design system storybook HRA Design System Storybook for global consistency across HRA products ⚙️ hra-ds: new 🆕 A new component being added to the HRA Design System Storybook atomic design: molecule A set of component atoms that make a larger component labels Oct 1, 2024
@LibbyUX LibbyUX added this to the Develop: HRA-DS Storybook milestone Oct 1, 2024
@LibbyUX
Copy link
Contributor Author

LibbyUX commented Oct 17, 2024

@axdanbol, @bhushankhope - Per our conversation today, I will repurpose this issue for our custom expansion panel. I will comment with all new details shortly and mark it back to ready for dev on the status when ready. Thanks for everything!!!

@LibbyUX LibbyUX changed the title Module headers Add customized expansion panel Oct 17, 2024
@LibbyUX LibbyUX self-assigned this Oct 17, 2024
@LibbyUX
Copy link
Contributor Author

LibbyUX commented Oct 17, 2024

Screenshot 2024-10-17 at 3 32 15 PM

Ready for dev: Expansion Panel

@axdanbol, @bhushankhope & I discussed today the need for a customized expansion panel. This is due to the custom nature of our expansion panel headers. Please let me know if you have questions, and thanks for everything!

Figma

Screenshot 2024-10-17 at 3 29 13 PM Screenshot 2024-10-17 at 2 46 03 PM

@LibbyUX LibbyUX removed their assignment Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: design system storybook HRA Design System Storybook for global consistency across HRA products atomic design: molecule A set of component atoms that make a larger component ⚙️ hra-ds: new 🆕 A new component being added to the HRA Design System Storybook
Projects
None yet
Development

No branches or pull requests

1 participant