react-component / slider

React Slider
https://slider.react-component.now.sh/
MIT License
3.04k stars 772 forks source link

Allow easier styling of mark and dot #949

Open razzeee opened 11 months ago

razzeee commented 11 months ago

Similar to the other components we have like tracks, rail and handle, this allows easier styling via classes or inline styles.

I've also separated the active styles of both, as being able to style, how a selected range should look is very helpful.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
slider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2023 4:51pm
razzeee commented 10 months ago

This might also allow to drop dotStyle and activeDotStyle from the top level, like seems to have been done for the other styles

codecov[bot] commented 10 months ago

Codecov Report

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

Comparison is base (fa77b3e) 99.81% compared to head (40ea35e) 99.81%. Report is 6 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #949 +/- ## ======================================= Coverage 99.81% 99.81% ======================================= Files 13 13 Lines 551 554 +3 Branches 151 154 +3 ======================================= + Hits 550 553 +3 Misses 1 1 ```

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