Repository navigation
fix(deps): update dependency cn to ^0.5.2 - #607
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #607 +/- ##
==========================================
- Coverage 73.15% 73.00% -0.16%
==========================================
Files 225 225
Lines 5227 5227
Branches 1492 1492
==========================================
- Hits 3824 3816 -8
- Misses 951 959 +8
Partials 452 452 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.4.0→^0.5.2Release Notes
shadcn-ui/cn (cn)
v0.5.2Compare Source
Patch Changes
#162
b8c5a1bThanks @nonhana! - ExportCnFunction,Engine, andClassNameValuefromcn/config, and those plusClassValuefromcn/engine. Exporting an inferredcreateCn()result (export const cn = createCn({ ... })) no longer fails with TS2742 or TS2883 in projects that emit declarations.#167
6ebb4ceThanks @RaphaelFakhri! -cn buildkeeps numeric spacing such asp-4when a stylesheet declares--spacingafter a--*: initialor--spacing-*: initialreset, and keepsp-pxthrough the reset, as Tailwind does.#160
a805c68Thanks @mehimanshupatil! -createCn,createTwMerge, andextendTailwindMergefromcn/configaccept optional type arguments for custom class-group and theme ids, like tailwind-merge'sextendTailwindMerge<ClassGroupIds, ThemeGroupIds>. With them, unknown group keys and conflict ids are type errors. Without them, any id is still accepted.v0.5.1Compare Source
Patch Changes
5e65675Thanks @shadcn! - Group the legacybg-gradient-to-*utilities asbg-color, the same as tailwind-merge.cn("bg-background", "bg-gradient-to-r")now returnsbg-gradient-to-r, andbg-gradient-to-rno longer replacesbg-linear-to-ror an arbitrarybg-[...]image.v0.5.0Compare Source
Minor Changes
#157
663adeaThanks @shadcn! - Drop Node 20, which reached end of life, and require Node 22 or later.#164
64aa1d0Thanks @shadcn! -cn buildnow follows package@imports, reads@themedeclarations after nested blocks such as@keyframes, and drops names declared before a--*: initialreset.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Summary by cubic
Updates the
cnpackage from ^0.4.0 to ^0.5.2 inpackages/ui.cnnow requires Node 22 or later; Node 20 is no longer supported.cn buildhandling of numeric spacing and bg-gradient utilities, and exports additional types.Written for commit 2f00155. Summary will update on new commits.