Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2025

This PR contains the following updates:

Package Change Age Confidence
tailwind-variants ^0.3.1 -> ^3.2.2 age confidence

Release Notes

heroui-inc/tailwind-variants (tailwind-variants)

v3.2.2

Compare Source

v3.2.1

Compare Source

Bug Fixes
  • update cn function type and import cx from tailwind-variants/lite (#​285) (3a3afce)

v3.2.0

Compare Source

Bug Fixes
Features
  • add cx function and refactor cn to use tailwind-merge (#​278) (8ec5f6f)

3.1.1 (2025-09-08)

Bug Fixes
  • use 'type' for type-only imports and specify file extensions (#​272) (58aa71e)

v3.1.1

Compare Source

Bug Fixes
  • use 'type' for type-only imports and specify file extensions (#​272) (58aa71e)

v3.1.0

Compare Source

Features

v3.0.0

Compare Source

Features

v2.1.0

Compare Source

Features
  • implement lazy loading for tailwind-merge module (#​257) (e80c23a)

2.0.1 (2025-07-28)

v2.0.1

Compare Source

Features
  • implement lazy loading for tailwind-merge module (#​257) (e80c23a)

2.0.1 (2025-07-28)

v2.0.0

Compare Source

Features
  • implement lazy loading for tailwind-merge module (#​257) (e80c23a)

2.0.1 (2025-07-28)

v1.0.0

Compare Source

What's Changed

Breaking change

  • The responsiveVariants option has been removed.
  • withTv has been removed.

New Contributors

Full Changelog: heroui-inc/tailwind-variants@v0.3.1...v1.0.0


Configuration

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

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 21, 2025 19:32
@renovate renovate bot enabled auto-merge (squash) October 21, 2025 19:32
@vercel
Copy link

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
2digits-blog-case Error Error Dec 10, 2025 8:16pm

package.json Outdated
"react-dom": "^19.0.0",
"server-only": "^0.0.1",
"tailwind-variants": "^0.3.1"
"tailwind-variants": "^3.1.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The upgrade of tailwind-variants requires tailwind-merge as a peer dependency, but it was not added to package.json, which will cause a runtime error.
(Severity: Critical 0.90 | Confidence: 0.95)

🔍 Detailed Analysis

The tailwind-variants package was upgraded to v3.1.1, which changed tailwind-merge from a direct dependency to a peer dependency. The code continues to import from tailwind-variants/transformer, the standard build that requires tailwind-merge for class name conflict resolution. However, tailwind-merge was not added to the package.json as a dependency. This will cause the application to fail at runtime with a module resolution error when withTV is called and attempts to import the missing tailwind-merge module.

💡 Suggested Fix

Add tailwind-merge as a dependency in package.json. For example: "tailwind-merge": ">=3.0.0". Alternatively, if conflict resolution is not needed, switch the import to use the lite build: import { withTV } from 'tailwind-variants/lite';.

🤖 Prompt for AI Agent
Fix this bug. In package.json at line 28: The `tailwind-variants` package was upgraded
to v3.1.1, which changed `tailwind-merge` from a direct dependency to a peer dependency.
The code continues to import from `tailwind-variants/transformer`, the standard build
that requires `tailwind-merge` for class name conflict resolution. However,
`tailwind-merge` was not added to the `package.json` as a dependency. This will cause
the application to fail at runtime with a module resolution error when `withTV` is
called and attempts to import the missing `tailwind-merge` module.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant