p3ol / junipero

🏔 Junipero Design System React components
https://junipero.design
MIT License
14 stars 0 forks source link

✨ feat(react): handle list sort state from outside #1504

Closed antoinechassagne closed 4 months ago

antoinechassagne commented 4 months ago

This PR adds ability to handle the list's sort state from outside the component to allow things like pre-sorting. It also adds a new prop to disable sorting on specific column so you can choose which column is sortable.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.31%. Comparing base (a0f101b) to head (84b76a0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1504 +/- ## =========================================== + Coverage 86.27% 86.31% +0.03% =========================================== Files 73 73 Lines 2841 2849 +8 Branches 980 994 +14 =========================================== + Hits 2451 2459 +8 + Misses 389 387 -2 - Partials 1 3 +2 ```

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