adevinta / spark

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

feat(collapsible): collapsible package, using zagjs #2200

Closed Powerplex closed 4 weeks ago

Powerplex commented 1 month ago

TASK: #2177

Description, Motivation and Context

Collapsible component (pattern). Based on https://zagjs.com/components/react/collapsible.

Follows Disclosure ARIA pattern: https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/

Types of changes

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 97.29730% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.63%. Comparing base (cef5c53) to head (6c351bd). Report is 13 commits behind head on main.

Files Patch % Lines
...ackages/components/collapsible/src/Collapsible.tsx 95.23% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2200 +/- ## ========================================== - Coverage 97.63% 97.63% -0.01% ========================================== Files 749 753 +4 Lines 5885 5925 +40 Branches 2107 2086 -21 ========================================== + Hits 5746 5785 +39 - Misses 137 138 +1 Partials 2 2 ```

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