From 67e7364b3cfd4b7a7aa4d736932588dd062c7215 Mon Sep 17 00:00:00 2001 From: Denish Navadiya <57515871+withden@users.noreply.github.com> Date: Wed, 5 Mar 2025 21:45:23 +0530 Subject: [PATCH 1/2] fix: registry-item-json link (#6485) Co-authored-by: shadcn --- apps/www/content/docs/registry/registry-json.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/content/docs/registry/registry-json.mdx b/apps/www/content/docs/registry/registry-json.mdx index 57ccb943fe..934204298f 100644 --- a/apps/www/content/docs/registry/registry-json.mdx +++ b/apps/www/content/docs/registry/registry-json.mdx @@ -84,4 +84,4 @@ The `items` in your registry. Each item must implement the [registry-item schema } ``` -See the [registry-item schema documentation](/docs/registry/registry-item) for more information. +See the [registry-item schema documentation](/docs/registry/registry-item-json) for more information. From f9e4991f150a838cc0decd642f34600368cb9f1c Mon Sep 17 00:00:00 2001 From: Hichem Taboukouyout <84734617+HichemTab-tech@users.noreply.github.com> Date: Wed, 5 Mar 2025 17:33:53 +0100 Subject: [PATCH 2/2] Add @radix-ui/react-slot dependency to badge registry entry (#6841) * Add dependency to badge registry entry Added @radix-ui/react-slot as a dependency for the badge component in the registry. This ensures proper functionality and resolves potential missing dependency issues. - Updated the "badge" registry entry by including "@radix-ui/react-slot" in its dependencies list. - Fixed the missing newline at the end of the file for better formatting. * Revert "Add dependency to badge registry entry" This reverts commit d12ddaa51136639285610ebb1497fcacfcc343b0. * Add Radix slot dependency to badge registry entry Included @radix-ui/react-slot as a dependency for the badge component in the registry. This change ensures the component functions as intended and avoids potential runtime errors. - Updated "badge" registry entry dependencies list. - Fixed formatting by adding a missing newline at the file end. --------- Co-authored-by: shadcn --- apps/www/registry/registry-ui.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/www/registry/registry-ui.ts b/apps/www/registry/registry-ui.ts index a644339f4e..cc9675d985 100644 --- a/apps/www/registry/registry-ui.ts +++ b/apps/www/registry/registry-ui.ts @@ -81,6 +81,7 @@ export const ui: Registry["items"] = [ { name: "badge", type: "registry:ui", + dependencies: ["@radix-ui/react-slot"], files: [ { path: "ui/badge.tsx",