jpmorganchase / salt-ds

React UI components built with a focus on accessibility, customisation and ease-of-use
https://www.saltdesignsystem.com
Apache License 2.0
109 stars 78 forks source link

Add right indicator position to Accordion #3634

Open bhoppers2008 opened 6 days ago

bhoppers2008 commented 6 days ago

Right side support for Accordion indicator has been added in code. Completing this issue will add the indicator position to Salt and Salt (Next) Figma libraries.

Branch: https://github.com/jpmorganchase/salt-ds/pull/3552/files#r1651111677 Preview: https://saltdesignsystem-git-accordion-chevron-fed-team.vercel.app/salt/components/accordion/examples#arrow-alignment

This issue will also update the position and animation on the indicator when positioned on the left side. Regardless of side, the indicator will always flip from down (when closed) to up (when open), to align with dropdown, combo box and nav item controls.