react-tailwind-variants
Version:
React Stitches-like variants API for tailwindcss classes
52 lines (27 loc) • 874 B
Markdown
react-tailwind-variants
# 1.0.3
## Patch Changes
- 32ce10a: allow react v19 and tailwind-merge v2 and v3
# 1.0.2
## Patch Changes
- d57c9b7: typescript should throw an error when passed compoundVariants or defaultVariants with non-existing variants
# 1.0.1
## Patch Changes
- ac2ede4: Fix typings
# 1.0.0
## Major Changes
- 9c6f874: BREAKING CHANGE: set type `VariantsConfig` for `config` argument in `styled` function + fix typings
- 8dda492: BREAKING CHANGE: set `variants` in `VariantsConfig` optional + improve type-hints
# 0.1.3
## Patch Changes
- 0c1a5c5: Add vite.config.ts and .prettierrc files to npmignore
- 78d9d8c: Fix package homepage and bugs url
# 0.1.2
## Patch Changes
- fa364d4: update README.md
# 0.1.1
## Patch Changes
- 382b5b8: add test folder to .npmignore
# 0.1.0
## Minor Changes
- 2adff2e: initial release