Skip to content

Releases: joe-bell/cva

v1.0.0-beta.4

20 May 06:16
f84596b

Choose a tag to compare

v1.0.0-beta.4 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4

v1.0.0-beta.3

18 Jan 14:11
2386c48

Choose a tag to compare

v1.0.0-beta.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3

v1.0.0-beta.2

26 Nov 08:26
fe3b248

Choose a tag to compare

v1.0.0-beta.2 Pre-release
Pre-release

What's Changed

New Contributors

v0.7.1

26 Nov 08:20
45462dd

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.7.1

v0.7.0

17 Jul 15:23
a1f7f50

Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.7.0

v0.6.1

26 Jun 11:33
6d3d1db

Choose a tag to compare

What's Changed

  • Add missing license key in package.json
  • Upgrade to typescript@5.1.3 by @joe-bell in #175

Full Changelog: v0.6.0...v0.6.1

v0.6.0

27 Apr 14:02
f23274e

Choose a tag to compare

What's Changed

  • cxclsx by @joe-bell in #152

    cva now uses clsx under-the-hood to concatenate classes with no breaking changes to the current experience and no increase to bundle-size.

    The existing cx export still exists, but as an alias of clsx

    Bringing additional benefits of:

    1. Provides additional support for booleans and variadic strings within class or className props

      const button = cva([true && "button-base", false && "not-rendered"]);
      // => 'button-base'
      
      const buttonConsumer = button({ class: [true && "extra-class"] });
      // => 'button-base extra-class'
    2. Provides support for object syntax within class or className props

      const button = cva({ foo: true, bar: false });
      // => 'foo baz'

Full Changelog: v0.5.3...v0.6.0

v0.5.3

26 Apr 11:36
b4f8916

Choose a tag to compare

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

Full Changelog: v0.5.2...v0.5.3

v0.5.2

11 Apr 11:00
8776d00

Choose a tag to compare

What's Changed

  • Support for moduleResolution: bundler (add types to exports field in package.json) by @msonnberger in #138

New Contributors

  • @msonnberger made their first contribution in #138

Full Changelog: v0.5.1...v0.5.2

v0.5.1

02 Apr 04:35
0c9a14d

Choose a tag to compare

What's Changed

Warning
v0.5.0 is broken, please skip straight to v0.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 🙏🏼

Ethereum
0xC756F748ff6A499f3C826529A0Da30FF1A3ac28c

image