nextui-org / tailwind-variants

🦄 Tailwindcss first-class variant API
https://tailwind-variants.org
MIT License
2.42k stars 68 forks source link

fix: align class value with tailwind-merge #89

Closed marbemac closed 1 year ago

marbemac commented 1 year ago

Description

This PR aligns the ClassValue type with with corresponding type from tailwind-merge. In particular, the old type was missing 0 and false as possible values. This makes it difficult to use tailwind-merge + tailwind-variants together since the base class typing is different between the two projects.


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following

marbemac commented 1 year ago

Hi @mskelton - any chance ya'll are thinking about cutting a release soon? Thanks!

mskelton commented 1 year ago

@marbemac I don't have publish permissions, going to defer to @jrgarciadev for that request.

marbemac commented 1 year ago

@jrgarciadev sorry to bother again, but any chance ya'll could cut a release 🙏?

jrgarciadev commented 1 year ago

Hey @marbemac yes for sure I plan to release tailwind-variants new version as soon as we end testing it on NextUI, by the end of this week

marbemac commented 1 year ago

🎉 thank you!