Skip to content

Commit

Permalink
chore(deps): update dependency class-variance-authority to v0.6.0 (#159)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [class-variance-authority](https://togithub.com/joe-bell/cva) |
[`0.5.2` ->
`0.6.0`](https://renovatebot.com/diffs/npm/class-variance-authority/0.5.2/0.6.0)
|
[![age](https://badges.renovateapi.com/packages/npm/class-variance-authority/0.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/class-variance-authority/0.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/class-variance-authority/0.6.0/compatibility-slim/0.5.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/class-variance-authority/0.6.0/confidence-slim/0.5.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>joe-bell/cva</summary>

### [`v0.6.0`](https://togithub.com/joe-bell/cva/releases/tag/v0.6.0)

[Compare
Source](https://togithub.com/joe-bell/cva/compare/v0.5.3...v0.6.0)

#### What's Changed

- `cx` → `clsx` by [@&#8203;joe-bell](https://togithub.com/joe-bell) in
[https://github.com/joe-bell/cva/pull/152](https://togithub.com/joe-bell/cva/pull/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

        ```ts
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](https://togithub.com/lukeed/clsx#usage)
syntax within `class` or `className` props

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

**Full Changelog**:
joe-bell/cva@v0.5.3...v0.6.0

### [`v0.5.3`](https://togithub.com/joe-bell/cva/releases/tag/v0.5.3)

[Compare
Source](https://togithub.com/joe-bell/cva/compare/v0.5.2...v0.5.3)

#### What's Changed

- fix: issue [#&#8203;147](https://togithub.com/joe-bell/cva/issues/147)
where map files are not present for esm files by
[@&#8203;pfried](https://togithub.com/pfried) in
[https://github.com/joe-bell/cva/pull/148](https://togithub.com/joe-bell/cva/pull/148)

    > Thank you [@&#8203;pfried](https://togithub.com/pfried)!

- fix: Added explicit undefined type to support
exactOptionalPropertyTypes option by
[@&#8203;totto2727](https://togithub.com/totto2727) in
[https://github.com/joe-bell/cva/pull/149](https://togithub.com/joe-bell/cva/pull/149)

> This has been a long standing issue for me and I'm **so** grateful to
[@&#8203;totto2727](https://togithub.com/totto2727) for making the fix

#### New Contributors

- [@&#8203;pfried](https://togithub.com/pfried) made their first
contribution in
[https://github.com/joe-bell/cva/pull/148](https://togithub.com/joe-bell/cva/pull/148)
- [@&#8203;totto2727](https://togithub.com/totto2727) made their first
contribution in
[https://github.com/joe-bell/cva/pull/149](https://togithub.com/joe-bell/cva/pull/149)

**Full Changelog**:
joe-bell/cva@v0.5.2...v0.5.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/sebald/pattern-analyzer).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored May 11, 2023
1 parent 9e971e2 commit b03e5b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@radix-ui/react-dialog": "1.0.3",
"@vercel/analytics": "1.0.0",
"cheerio": "1.0.0-rc.12",
"class-variance-authority": "0.5.2",
"class-variance-authority": "0.6.0",
"clsx": "1.2.1",
"next": "13.4.1",
"react": "18.2.0",
Expand Down
9 changes: 5 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b03e5b4

Please sign in to comment.