@webjsdev/ui 0.5.2
Features
The class helpers with a shadcn name take
className(#1698)1824e0eaabuttonClass({ variant: 'link', className: 'mt-2' })merges the class throughcn(), as shadcn'sbuttonVariantsdoes, and so do the 16 other helpers that have a shadcn alias (badgeClass,toggleClass,tabsListClass,itemClassand the rest). Without aclassNameevery helper returns exactly what it did.lib/utils.ts(copied to an app aslib/utils/cn.ts) is about half the size: its commentary on the class merger moved to the package docs, and its code is unchanged.