unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.59k stars 267 forks source link

chore(Slider): orientation=vertical support #734

Open jankremlacek opened 1 month ago

jankremlacek commented 1 month ago

โ“ Type of change

๐Ÿ“š Description

Added styles for <Slider orienation="vertical" />.

The orientation property is not mentioned in the documentation, but radix-vue supports it, and the property is inherited. With this update, if someone uses the orientation="vertical", it will render the <Slider /> properly.

๐Ÿ“ Checklist

Note: I did not update the documentation cause I do not know if you want to. If you want to add it to the docs, let me know.

sadeghbarati commented 1 month ago

@zernonia Related PR https://github.com/radix-vue/shadcn-vue/pull/739

Should we offer generic styles based on orientation?