Repository navigation
deps: Update dependency cn to v0.5.2 - #505
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.5.1→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.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.