8000 build(deps): bump cn from 0.5.0 to 0.5.2 by dependabot[bot] · Pull Request #13 · inkspect-code-review/inkspect-core · GitHub
[go: up one dir, main page]

Skip to content

build(deps): bump cn from 0.5.0 to 0.5.2 - #13

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cn-0.5.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cn-0.5.2

Conversation

@dependabot
@dependabot dependabot Bot commented on behalf of github Nov 25, 2026
Copy link
Copy Markdown

Bumps cn from 0.5.0 to 0.5.2.

Release notes

Sourced from cn's releases.

cn@0.5.2

Patch Changes

  • #162 b8c5a1b Thanks @​nonhana! - Export CnFunction, Engine, and ClassNameValue from cn/config, and those plus ClassValue from cn/engine. Exporting an inferred createCn() result (export const cn = createCn({ ... })) no longer fails with TS2742 or TS2883 in projects that emit declarations.

  • #167 6ebb4ce Thanks @​RaphaelFakhri! - cn build keeps numeric spacing such as p-4 when a stylesheet declares --spacing after a --*: initial or --spacing-*: initial reset, and keeps p-px through the reset, as Tailwind does.

  • #160 a805c68 Thanks @​mehimanshupatil! - createCn, createTwMerge, and extendTailwindMerge from cn/config accept optional type arguments for custom class-group and theme ids, like tailwind-merge's extendTailwindMerge<ClassGroupIds, ThemeGroupIds>. With them, unknown group keys and conflict ids are type errors. Without them, any id is still accepted.

cn@0.5.1

Patch Changes

  • #165 5e65675 Thanks @​shadcn! - Group the legacy bg-gradient-to-* utilities as bg-color, the same as tailwind-merge. cn("bg-background", "bg-gradient-to-r") now returns bg-gradient-to-r, and bg-gradient-to-r no longer replaces bg-linear-to-r or an arbitrary bg-[...] image.
Changelog

Sourced from cn's changelog.

0.5.2

Patch Changes

  • #162 b8c5a1b Thanks @​nonhana! - Export CnFunction, Engine, and ClassNameValue from cn/config, and those plus ClassValue from cn/engine. Exporting an inferred createCn() result (export const cn = createCn({ ... })) no longer fails with TS2742 or TS2883 in projects that emit declarations.

  • #167 6ebb4ce Thanks @​RaphaelFakhri! - cn build keeps numeric spacing such as p-4 when a stylesheet declares --spacing after a --*: initial or --spacing-*: initial reset, and keeps p-px through the reset, as Tailwind does.

  • #160 a805c68 Thanks @​mehimanshupatil! - createCn, createTwMerge, and extendTailwindMerge from cn/config accept optional type arguments for custom class-group and theme ids, like tailwind-merge's extendTailwindMerge<ClassGroupIds, ThemeGroupIds>. With them, unknown group keys and conflict ids are type errors. Without them, any id is still accepted.

0.5.1

Patch Changes

  • #165 5e65675 Thanks @​shadcn! - Group the legacy bg-gradient-to-* utilities as bg-color, the same as tailwind-merge. cn("bg-background", "bg-gradient-to-r") now returns bg-gradient-to-r, and bg-gradient-to-r no longer replaces bg-linear-to-r or an arbitrary bg-[...] image.
Commits
  • b6a8dbe chore(release): version packages (#170)
  • 6ebb4ce fix(build): keep numeric spacing after a theme reset that redeclares --spacin...
  • b8c5a1b fix: export CnFunction and Engine types from cn/config and cn/engine (#162)
  • a805c68 feat(config): typed group ids for createCn / extendTailwindMerge (#160)
  • 8e5cc59 chore(release): version packages (#168)
  • 5e65675 fix(config): group bg-gradient-to-* as bg-color like tailwind-merge (#165)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cn](https://github.com/shadcn-ui/cn/tree/HEAD/packages/cn) from 0.5.0 to 0.5.2.
- [Release notes](https://github.com/shadcn-ui/cn/releases)
- [Changelog](https://github.com/shadcn-ui/cn/blob/main/packages/cn/CHANGELOG.md)
- [Commits](https://github.com/shadcn-ui/cn/commits/cn@0.5.2/packages/cn)

---
updated-dependencies:
- dependency-name: cn
  dependency-version: 0.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

0