Releases: joe-bell/cva
v1.0.0-beta.4
What's Changed
- docs: Update intellisense regex to handle inner brackets by @longzheng in #332
- docs: migrate from classregex to classfunctions by @yutakobayashidev in #341
- docs: missing comma by @zambo in #334
- fix: types field should appear first in the exports section by @ryanelian in #343
New Contributors
- @longzheng made their first contribution in #332
- @yutakobayashidev made their first contribution in #341
- @zambo made their first contribution in #334
- @ryanelian made their first contribution in #343
Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4
v1.0.0-beta.3
What's Changed
- Extend Component Documentation by @joe-bell in #176
- docs: Update IntelliSense for WebStorm in latest doc by @evan-liu in #323
- Include
bigintwithinClassValue, exportClass*types by @joe-bell in #328 - Loosen TypeScript dependency range by @joe-bell in #329
- Upgrade Project Dependencies by @joe-bell in #330
- Add
@arethetypeswrong/clito check for faulty exports by @joe-bell in #331
New Contributors
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3
v1.0.0-beta.2
What's Changed
- chore: Remove Minification by @joe-bell in #282
- docs: Add LICENSE Comments by @joe-bell in #283
- chore: move clsx dependency to caret/semver range by @philwolstenholme in #316
New Contributors
- @philwolstenholme made their first contribution in #316
v0.7.1
What's Changed
- Add LICENSE Comments by @joe-bell in #283
- chore: move clsx dependency to caret/semver range by @philwolstenholme in #316
New Contributors
- @philwolstenholme made their first contribution in #316
Full Changelog: v0.7.0...v0.7.1
v0.7.0
v0.6.1
v0.6.0
What's Changed
-
cx→clsxby @joe-bell in #152cvanow usesclsxunder-the-hood to concatenate classes with no breaking changes to the current experience and no increase to bundle-size.The existing
cxexport still exists, but as an alias ofclsxBringing additional benefits of:
-
Provides additional support for booleans and variadic strings within
classorclassNamepropsconst button = cva([true && "button-base", false && "not-rendered"]); // => 'button-base' const buttonConsumer = button({ class: [true && "extra-class"] }); // => 'button-base extra-class'
-
Provides support for object syntax within
classorclassNamepropsconst button = cva({ foo: true, bar: false }); // => 'foo baz'
-
Full Changelog: v0.5.3...v0.6.0
v0.5.3
What's Changed
-
fix: issue #147 where map files are not present for esm files by @pfried in #148
Thank you @pfried!
-
fix: Added explicit undefined type to support exactOptionalPropertyTypes option by @totto2727 in #149
This has been a long standing issue for me and I'm so grateful to @totto2727 for making the fix
New Contributors
- @pfried made their first contribution in #148
- @totto2727 made their first contribution in #149
Full Changelog: v0.5.2...v0.5.3
v0.5.2
v0.5.1
What's Changed
Warning
v0.5.0is broken, please skip straight tov0.5.1
Full Changelog: v0.4.0...v0.5.0
Support the Project 🖤
Note
I'm actually supposed to be on vacation right now, but it seems like people are desperate for TypeScript 5 support
cva is a labour of love – I don't get paid to work on this project
Contributions of any size are greatly appreciated 🙏🏼
