Repository navigation
v0.2.166
v0.2.166 — Small patch: only @data-slot/slider received code changes; adds a Base UI–compatible thumbAlignment option.
@data-slot/slider
- ✨ Feature: Added a new thumbAlignment option to control thumb behavior at track edges. Accepted values: "center", "edge", and "edge-client-only".
- "edge-client-only" is supported for Base UI compatibility and currently behaves the same as "edge".
- ✅ Improved TypeScript ergonomics: introduced ThumbAlignment, SliderValue, and VisualPercents types to make the API clearer for TS consumers.
- 🛠 Internal: added a clampPercent helper for more robust percent handling (internal implementation detail).
- 📦 Commit notes: feat(slider): add Base UI-compatible thumbAlignment option (d334ebc); version bump (2fa9204).
Breaking changes
- No breaking changes in this release — existing usages remain compatible.
Notes
- All packages in the monorepo share the v0.2.166 version tag, but only @data-slot/slider contains code changes in this release.