ui
ui copied to clipboard
[bug]: Button size `icon-sm` and `icon-lg` missing in style `default`
Describe the bug
The button file for new-york style has the sizes icon-sm and icon-lg`, but the one for the default style doesn't
- new-york: https://github.com/shadcn-ui/ui/blob/main/apps/v4/public/r/styles/new-york-v4/button.json
- default: https://github.com/shadcn-ui/ui/blob/main/apps/v4/public/r/styles/default/button.json
Affected component/components
Button
How to reproduce
- Set stype to "default" in components.json
npx shadcn@latest add button --overwrite- The button.tsx file doesn't have variants
icon-smnoricon-lg
Codesandbox/StackBlitz link
No response
Logs
System Info
System: Windows
CLI version: 3.5.0
Before submitting
- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
@FranciscoMoretti Can i work on this bug?
@nipunh you don't need my permission. I'm not working on it if that's what you are asking