cva
cva copied to clipboard
Class Variance Authority
**Is your feature request related to a problem? Please describe.** It's all well and good recommending uses for `cva` but it would be reassuring to know these examples actually work...
**Describe the bug** First off, thank you very much for your work on cva. I'm using `compose` from the beta version of cva `@1.0.0-beta.1` to merge two cva components; functionally...
### Description - [ ] Write "child component" documentation - [x] Create example/s where relevant - [ ] Write FAQ, and cross-link/back-link to documentation - [x] Write "Polymorphism" documentation -...
**Describe the bug** When using cx with false values, Typescript complains that false is not assignable to 'ClassValue'. **To Reproduce** Steps to reproduce the behavior: ```typescript className={cx( 'absolute top-1/2 -translate-y-1/2...
**Describe the bug** I'm encountering an issue while using the `[email protected]` library in a monorepo setup with shared style variants for both Next.js and Nuxt.js projects. After using `Vite` to...
### Description Implement code optimizations on **CVA** to increase execution speed and reduce the number of operations, such as iterations and object copying. ### Additional context Let's say we have...
### Description This PR primarily addresses the following issue, updating the variant prop merging logic that is applied by the `Compose` interface, so that the union of available variant prop...
### Description Documentation update related to bun package manager. ### Additional context --- ### What is the purpose of this pull request? - [ ] Bug fix - [ ]...