packages/react-components/react-slider/library/docs/MIGRATION.md
The Slider control is a thin wrapper around an <input type="range"/>. Additional elements like labels and current value will need to be explicitly rendered.
ariaLabel => use aria-label insteadariaValueText => explicitely set aria-valuetextbuttonProps => Slider props, other than className and id, are passed to input elementcomponentRef => use ref instead.inline => use css, or wrap in flex parentlabel => Use Label control with htmlFor and idonChanged => use onChange and onMouse eventsorigin => no longer supportedoriginFromZero => no longer supportedranged, defaultLowerValue and lowerValue => Not supported. Multi value slider will be future work in separate control.showValue and valueFormat => use explicitly rendered value insteadsnapToStep => use step insteadstyles => pass classNames to individual slotstheme => use FluentProvider HOC insteadaccessibility => use aria-* properties directly on Sliderfluid => use css, or wrap in flex parentgetA11yValueMessageOnChange => explicitely set aria-value-textinput => Slider props, other than className and id, are passed to input elementinputRef => reflabel => use explicitly rendered value insteadv8 Slider | v0 Slider | v9 Slider |
|---|---|---|
accessibility | ||
ariaLabel | aria-label | aria-label |
ariaValueText | aria-valuetext | aria-valuetext |
buttonProps | ||
componentRef | inputRef | ref |
defaultLowerValue | ||
inline | ||
input | input | |
label | label | |
lowerValue | ||
onChanged | onChange | |
origin | ||
originFromZero | ||
ranged | ||
showValue | ||
snapToStep | step | |
styles | className | |
theme | ||
valueFormat |