Component changelog
Slider changelog
Component-specific release notes collected from the full changelog. This page filters the published entries that mention Slider.
Release
v1.2.1
Patch Changes
- cd01923
childrenis optional in the types of parts that work without it:Checkbox.Root,Switch.Root,Progress.Root,Slider.Root,RadioGroup.RootandRadioGroup.Item, and the triggers ofDialog,AlertDialog,Tooltip,DropdownMenu,ContextMenuandMenubar. A wrapper typed fromReact.ComponentProps<typeof Checkbox.Root>no longer forces every call site to pass children (#2334).
Release
v1.2.0
Minor Changes
-
a265579: New state attributes:
ScrollArea.Rootand its scrollbars getdata-scrollingwhile the viewport scrolls anddata-hoveringwhile the pointer is over the area, and the root getsdata-has-overflow-x/data-has-overflow-y;Slider.Rootgetsdata-draggingduring a drag;Avatar.Rootgetsdata-loadingwhile the image loads anddata-errorif it fails. -
07e6783: Add DirectionProvider and
useDirection. Wrap an RTL app once with<DirectionProvider dir="rtl">and every Rad UI component inside uses right-to-left keyboard navigation and positioning: Tabs, TabNav, ToggleGroup, Toolbar, RadioGroup, CheckboxGroup, Accordion, Menubar, menus, NavigationMenu, Splitter, Slider, Select and Combobox. A component's owndirprop still wins. Setdiron<html>as well so text and CSS follow. -
befc825: Checkbox takes
indeterminate,uncheckedValue,formandinputRef; Switch takesuncheckedValue,formandinputRef; RadioGroup takesformandinputRef. Form reset now also works with aformoutside the tree. Slider takesthumbCollisionBehavior(none,push,swap),format/locale,largeStepandform; its thumbs takegetAriaLabel,getAriaValueTextandinputRef. NumberField takesallowOutOfRange,snapOnStep,formandinputRef. -
07e6783: Add
minStepsBetweenValuesto Slider: in a range slider, neighbouring thumbs stay at least that many steps apart when dragged or moved with the keyboard. -
07e6783: Add
thumbAlignmentto Slider:"edge"keeps the whole thumb inside the track at the minimum and maximum (the fill, marks and pointer follow). The default"center"is unchanged. The Clarity thumb size is now the--rad-slider-thumb-sizevariable. -
07e6783: Add
Slider.Value, an<output>that shows the current value formatted with the root'sformatValue. A range slider shows both values, and a render function can customize the text.
Patch Changes
-
8356a3c: The default theme now works in forced-colours mode (Windows High Contrast). Keyboard focus shows a system-colour outline (the theme's box-shadow rings are dropped in that mode), and parts that show state only with a fill (the Switch thumb and checked track, the Radio dot, the Slider range and thumb, Progress, the Tabs indicator, pressed toggles, the highlighted menu or list item) keep it in system colours.
-
07e6783: Fix Slider in right-to-left layouts: the thumb, filled range, marks and pointer position now all mirror together. Before, the range filled from the right while the thumb stayed positioned from the left.
Release
v1.0.0
Patch Changes
-
55ee49a: Accessibility and Clarity cleanup across core controls: fix menu/navigation semantics and dismissal, form prop/state routing for Checkbox, Radio, TextArea, Fieldset, Text, and Slider, Avatar/Skeleton sizing, and contrast/alignment issues in the Clarity theme.
-
e0a9b2d: Document Slider and RadioCards keyboard interactions and ARIA references.
Release
v0.4.0
Patch Changes
-
3accf7b: slider vertical inverted fix
-
69e0c14: onValueCommit prop for slider
Release
v0.3.0
Minor Changes
- d2c5395migration from querySelector to refs for roving focus, tree and slider