adevinta / spark

✨ Simple, Modular & Accessible UI Components for your React Applications
https://sparkui.vercel.app
MIT License
49 stars 16 forks source link

feat(accordion): accordion component #2229

Closed Powerplex closed 2 weeks ago

Powerplex commented 2 weeks ago

TASK: #2058

Description, Motivation and Context

Experimental Accordion component, based on Zagjs.

Types of changes

Screenshots - Animations

https://github.com/adevinta/spark/assets/2033710/f4ec5c28-d092-4795-b343-28f9f08a4d57

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 96.96970% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.62%. Comparing base (dbc94b1) to head (023c2f9). Report is 1 commits behind head on main.

Files Patch % Lines
packages/components/accordion/src/Accordion.tsx 95.00% 1 Missing :warning:
.../components/accordion/src/AccordionItemContext.tsx 91.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2229 +/- ## ========================================== - Coverage 97.63% 97.62% -0.01% ========================================== Files 753 759 +6 Lines 5925 5991 +66 Branches 2086 2100 +14 ========================================== + Hits 5785 5849 +64 - Misses 138 140 +2 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.