Skip to content

Commit 710afb8

Browse files
chore(slider): more docs on precision handle and custom track color
1 parent 3809f3b commit 710afb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

migration-roadmap/slider.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@
507507

508508
- **Container structure**: Missing structural elements for complex layouts like the side label slider.
509509

510+
- **Precise handle variant**: For Spectrum 2, a new handle variant was introduced called "precise" with `.spectrum-Slider--precise` class. The slider's API will need an additional property to capture the new precise handle option. Discussion with design may be needed to properly update any "precision" behaviors.
511+
512+
**Note about custom track color:** The current `<sp-slider>` has support for inline styles to cascade into the shadow DOM, and apply custom styles to the track element. For Spectrum 2, the design specs suggest that there is a fill more often than not (except perhaps in the offset variant). We should collaborate with design to see if this level of customization is still intended or required for S2, to avoid any design issues when paired with the filled track color (i.e. how do we avoid a custom track color clashing with the specified fill color?).
513+
510514
### CSS Spectrum 2 changes
511515

512516
The Spectrum 2 migration introduces several key structural enhancements to the slider component:

0 commit comments

Comments
 (0)