Skip to content

feat(tailwindcss-transformer): Add support for cx, cva and clsx - #3585

Merged
joe-bell merged 5 commits into
mainfrom
joe-bell/SDKI-63
Jun 18, 2024
Merged

feat(tailwindcss-transformer): Add support for cx, cva and clsx#3585
joe-bell merged 5 commits into
mainfrom
joe-bell/SDKI-63

Conversation

@joe-bell

@joe-bell joe-bell commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

Description

Currently, classes within a cva/cx/clsx function don't get transformed in the same way as cn; this PR aims to fix that

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot

changeset-bot Bot commented Jun 18, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e0eeae4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joe-bell joe-bell changed the title feat(tailwindcss-transformer): add support for cx, cva and clsx feat(tailwindcss-transformer): Add support for cx, cva and clsx Jun 18, 2024
@joe-bell
joe-bell marked this pull request as ready for review June 18, 2024 09:29
Co-authored-by: Joe Bell <7349341+joe-bell@users.noreply.github.com>
Co-authored-by: Brad Cornes <hello@bradley.dev>
@joe-bell
joe-bell requested a review from bradlc June 18, 2024 10:40
Comment thread packages/tailwindcss-transformer/src/index.ts Outdated
Co-authored-by: Brad Cornes <hello@bradley.dev>
@joe-bell

Copy link
Copy Markdown
Contributor Author

Blocked by #3586

@joe-bell
joe-bell enabled auto-merge (squash) June 18, 2024 11:24
@joe-bell
joe-bell merged commit 14d1f53 into main Jun 18, 2024
@joe-bell
joe-bell deleted the joe-bell/SDKI-63 branch June 18, 2024 11:27
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.

2 participants