You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thumbs can no longer swap positions/be dragged past each other, the related disableSwap prop has been dropped
A new Control subcomponent is added to represent the click/touch area of the slider. Previously this component's functionality was implemented in the root, but it was introduced because Slider.Root in the new API is expected to contain the Output element and a label as well.
The Rail component which referred to the visible bar along which the thumb can move is now renamed to be the Track
The component representing the filled portion of the slider track is is renamed from Track to Indicator
Thumb's internal input element is no longer exposed (it used to be via slots.input)
The Mark component/slot, and the marks prop have been dropped
The step prop defaults to 1 and can no longer be null.
The ValueLabel slot/component and related features have been dropped. This design can be implemented using Tooltip as in this demo
The isRtl prop is replaced with direction: 'ltr' | 'rtl' for consistency
A new minStepsBetweenValues prop (default 0) is added to prevent thumb overlap
The scale prop is deprecated
Related issues
Each of these related issues should be considered when designing and implementing this new component. When this issue is resolved, these related issues should be closed.
ARIA Pattern.
Breaking Changes
disableSwap
prop has been droppedControl
subcomponent is added to represent the click/touch area of the slider. Previously this component's functionality was implemented in the root, but it was introduced becauseSlider.Root
in the new API is expected to contain theOutput
element and a label as well.Rail
component which referred to the visible bar along which the thumb can move is now renamed to be theTrack
Track
toIndicator
Thumb
's internalinput
element is no longer exposed (it used to be viaslots.input
)Mark
component/slot, and themarks
prop have been droppedstep
prop defaults to1
and can no longer benull
.ValueLabel
slot/component and related features have been dropped. This design can be implemented usingTooltip
as in this demoisRtl
prop is replaced withdirection: 'ltr' | 'rtl'
for consistencyminStepsBetweenValues
prop (default0
) is added to prevent thumb overlapscale
prop is deprecatedRelated issues
Each of these related issues should be considered when designing and implementing this new component. When this issue is resolved, these related issues should be closed.
track="inverted"
does not work #48Search keywords:
The text was updated successfully, but these errors were encountered: