From 5085e48241e706d9919726604e865cb2882a7b3e Mon Sep 17 00:00:00 2001 From: Kian Bazza Date: Mon, 17 Mar 2025 07:04:00 -0400 Subject: [PATCH] feat(components): add origin-aware animations (#6945) This PR adds origin-aware animations to the following components: - Context menu - Dropdown menu - Hover card - Menu bar - Popover - Select - Tooltip This is accomplished with the custom property `--radix--transform-origin`, exposed by Radix on the following components: For more information on this custom property, see the Radix docs; context menu as an example: https://www.radix-ui.com/primitives/docs/components/context-menu#origin-aware-animations You can see a side-by-side comparison in the following video: https://github.com/user-attachments/assets/ad8d548b-eb8d-4818-acb4-73c7cdaecc3f --- apps/v4/__registry__/index.tsx | 3809 ++++++----------- .../registry/new-york-v4/ui/context-menu.tsx | 4 +- .../registry/new-york-v4/ui/dropdown-menu.tsx | 4 +- .../v4/registry/new-york-v4/ui/hover-card.tsx | 2 +- apps/v4/registry/new-york-v4/ui/menubar.tsx | 4 +- apps/v4/registry/new-york-v4/ui/popover.tsx | 2 +- apps/v4/registry/new-york-v4/ui/select.tsx | 2 +- apps/v4/registry/new-york-v4/ui/tooltip.tsx | 2 +- apps/www/__registry__/icons.tsx | 704 ++- .../public/r/styles/default/context-menu.json | 2 +- .../r/styles/default/dropdown-menu.json | 2 +- .../public/r/styles/default/hover-card.json | 2 +- apps/www/public/r/styles/default/menubar.json | 2 +- apps/www/public/r/styles/default/popover.json | 2 +- apps/www/public/r/styles/default/select.json | 2 +- apps/www/public/r/styles/default/sidebar.json | 2 +- apps/www/public/r/styles/default/tooltip.json | 2 +- .../r/styles/new-york-v4/context-menu.json | 2 +- .../r/styles/new-york-v4/dropdown-menu.json | 2 +- .../r/styles/new-york-v4/hover-card.json | 2 +- .../public/r/styles/new-york-v4/menubar.json | 2 +- .../public/r/styles/new-york-v4/popover.json | 2 +- .../public/r/styles/new-york-v4/select.json | 2 +- .../public/r/styles/new-york-v4/sidebar.json | 2 +- .../public/r/styles/new-york-v4/tooltip.json | 2 +- .../r/styles/new-york/context-menu.json | 2 +- .../r/styles/new-york/dropdown-menu.json | 2 +- .../public/r/styles/new-york/hover-card.json | 2 +- .../www/public/r/styles/new-york/menubar.json | 2 +- .../www/public/r/styles/new-york/popover.json | 2 +- apps/www/public/r/styles/new-york/select.json | 2 +- .../www/public/r/styles/new-york/sidebar.json | 2 +- .../www/public/r/styles/new-york/tooltip.json | 2 +- apps/www/registry/default/ui/context-menu.tsx | 4 +- .../www/registry/default/ui/dropdown-menu.tsx | 4 +- apps/www/registry/default/ui/hover-card.tsx | 2 +- apps/www/registry/default/ui/menubar.tsx | 4 +- apps/www/registry/default/ui/popover.tsx | 2 +- apps/www/registry/default/ui/select.tsx | 2 +- apps/www/registry/default/ui/tooltip.tsx | 2 +- .../www/registry/new-york/ui/context-menu.tsx | 4 +- .../registry/new-york/ui/dropdown-menu.tsx | 4 +- apps/www/registry/new-york/ui/hover-card.tsx | 2 +- apps/www/registry/new-york/ui/menubar.tsx | 4 +- apps/www/registry/new-york/ui/popover.tsx | 2 +- apps/www/registry/new-york/ui/select.tsx | 2 +- apps/www/registry/new-york/ui/tooltip.tsx | 2 +- 47 files changed, 1627 insertions(+), 2994 deletions(-) diff --git a/apps/v4/__registry__/index.tsx b/apps/v4/__registry__/index.tsx index 624cf5bfc8..93c1577005 100644 --- a/apps/v4/__registry__/index.tsx +++ b/apps/v4/__registry__/index.tsx @@ -6,7 +6,7 @@ import * as React from "react" export const Index: Record = { - index: { + "index": { name: "index", description: "", type: "registry:style", @@ -15,48 +15,36 @@ export const Index: Record = { component: null, meta: undefined, }, - accordion: { + "accordion": { name: "accordion", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/accordion.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/accordion.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/accordion.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - alert: { + "alert": { name: "alert", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/alert.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/alert.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/alert.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -66,20 +54,14 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: ["button"], - files: [ - { - path: "registry/ui/alert-dialog.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/alert-dialog.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/alert-dialog.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -89,273 +71,201 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/aspect-ratio.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/aspect-ratio.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/aspect-ratio.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - avatar: { + "avatar": { name: "avatar", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/avatar.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/avatar.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/avatar.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - badge: { + "badge": { name: "badge", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/badge.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/badge.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/badge.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - breadcrumb: { + "breadcrumb": { name: "breadcrumb", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/breadcrumb.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/breadcrumb.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/breadcrumb.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - button: { + "button": { name: "button", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/button.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/button.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/button.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - calendar: { + "calendar": { name: "calendar", description: "", type: "registry:ui", registryDependencies: ["button"], - files: [ - { - path: "registry/ui/calendar.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/calendar.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/calendar.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - card: { + "card": { name: "card", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/card.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/card.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/card.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - carousel: { + "carousel": { name: "carousel", description: "", type: "registry:ui", registryDependencies: ["button"], - files: [ - { - path: "registry/ui/carousel.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/carousel.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/carousel.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - chart: { + "chart": { name: "chart", description: "", type: "registry:ui", registryDependencies: ["card"], - files: [ - { - path: "registry/ui/chart.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/chart.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/chart.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - checkbox: { + "checkbox": { name: "checkbox", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/checkbox.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/checkbox.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/checkbox.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - collapsible: { + "collapsible": { name: "collapsible", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/collapsible.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/collapsible.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/collapsible.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - command: { + "command": { name: "command", description: "", type: "registry:ui", registryDependencies: ["dialog"], - files: [ - { - path: "registry/ui/command.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/command.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/command.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -365,66 +275,48 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/context-menu.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/context-menu.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/context-menu.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - dialog: { + "dialog": { name: "dialog", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/dialog.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/dialog.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/dialog.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - drawer: { + "drawer": { name: "drawer", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/drawer.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/drawer.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/drawer.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -434,43 +326,31 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/dropdown-menu.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/dropdown-menu.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/dropdown-menu.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - form: { + "form": { name: "form", description: "", type: "registry:ui", - registryDependencies: ["button", "label"], - files: [ - { - path: "registry/ui/form.tsx", - type: "registry:ui", - target: "", - }, - ], + registryDependencies: ["button","label"], + files: [{ + path: "registry/ui/form.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/form.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -480,43 +360,31 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/hover-card.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/hover-card.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/hover-card.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - input: { + "input": { name: "input", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/input.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/input.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/input.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -526,66 +394,48 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/input-otp.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/input-otp.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/input-otp.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - label: { + "label": { name: "label", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/label.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/label.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/label.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - menubar: { + "menubar": { name: "menubar", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/menubar.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/menubar.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/menubar.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -595,89 +445,65 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/navigation-menu.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/navigation-menu.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/navigation-menu.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - pagination: { + "pagination": { name: "pagination", description: "", type: "registry:ui", registryDependencies: ["button"], - files: [ - { - path: "registry/ui/pagination.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/pagination.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/pagination.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - popover: { + "popover": { name: "popover", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/popover.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/popover.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/popover.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - progress: { + "progress": { name: "progress", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/progress.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/progress.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/progress.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -687,43 +513,31 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/radio-group.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/radio-group.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/radio-group.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - resizable: { + "resizable": { name: "resizable", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/resizable.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/resizable.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/resizable.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -733,304 +547,218 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/scroll-area.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/scroll-area.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/scroll-area.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - select: { + "select": { name: "select", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/select.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/select.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/select.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - separator: { + "separator": { name: "separator", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/separator.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/separator.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/separator.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - sheet: { + "sheet": { name: "sheet", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/sheet.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/sheet.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/sheet.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - sidebar: { + "sidebar": { name: "sidebar", description: "", type: "registry:ui", - registryDependencies: [ - "button", - "separator", - "sheet", - "tooltip", - "input", - "use-mobile", - "skeleton", - ], - files: [ - { - path: "registry/ui/sidebar.tsx", - type: "registry:ui", - target: "", - }, - ], + registryDependencies: ["button","separator","sheet","tooltip","input","use-mobile","skeleton"], + files: [{ + path: "registry/ui/sidebar.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/sidebar.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - skeleton: { + "skeleton": { name: "skeleton", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/skeleton.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/skeleton.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/skeleton.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - slider: { + "slider": { name: "slider", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/slider.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/slider.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/slider.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - sonner: { + "sonner": { name: "sonner", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/sonner.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/sonner.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/sonner.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - switch: { + "switch": { name: "switch", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/switch.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/switch.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/switch.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - table: { + "table": { name: "table", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/table.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/table.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/table.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - tabs: { + "tabs": { name: "tabs", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/tabs.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/tabs.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/tabs.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - textarea: { + "textarea": { name: "textarea", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/textarea.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/textarea.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/textarea.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - toggle: { + "toggle": { name: "toggle", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/toggle.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/toggle.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/toggle.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1040,43 +768,31 @@ export const Index: Record = { description: "", type: "registry:ui", registryDependencies: ["toggle"], - files: [ - { - path: "registry/ui/toggle-group.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/toggle-group.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/toggle-group.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - tooltip: { + "tooltip": { name: "tooltip", description: "", type: "registry:ui", registryDependencies: undefined, - files: [ - { - path: "registry/ui/tooltip.tsx", - type: "registry:ui", - target: "", - }, - ], + files: [{ + path: "registry/ui/tooltip.tsx", + type: "registry:ui", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/ui/tooltip.tsx") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1085,44 +801,27 @@ export const Index: Record = { name: "sidebar-01", description: "A simple sidebar with navigation grouped by section.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "label", - "dropdown-menu", - ], - files: [ - { - path: "registry/blocks/sidebar-01/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-01/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-01/components/search-form.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-01/components/version-switcher.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], + files: [{ + path: "registry/blocks/sidebar-01/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-01/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-01/components/search-form.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-01/components/version-switcher.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-01/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-01/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1131,44 +830,27 @@ export const Index: Record = { name: "sidebar-02", description: "A sidebar with collapsible sections.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "label", - "dropdown-menu", - ], - files: [ - { - path: "registry/blocks/sidebar-02/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-02/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-02/components/search-form.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-02/components/version-switcher.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","label","dropdown-menu"], + files: [{ + path: "registry/blocks/sidebar-02/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-02/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-02/components/search-form.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-02/components/version-switcher.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-02/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-02/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1177,28 +859,19 @@ export const Index: Record = { name: "sidebar-03", description: "A sidebar with submenus.", type: "registry:block", - registryDependencies: ["sidebar", "breadcrumb"], - files: [ - { - path: "registry/blocks/sidebar-03/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-03/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb"], + files: [{ + path: "registry/blocks/sidebar-03/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-03/components/app-sidebar.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-03/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-03/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1207,28 +880,19 @@ export const Index: Record = { name: "sidebar-04", description: "A floating sidebar with submenus.", type: "registry:block", - registryDependencies: ["sidebar", "breadcrumb", "separator"], - files: [ - { - path: "registry/blocks/sidebar-04/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-04/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator"], + files: [{ + path: "registry/blocks/sidebar-04/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-04/components/app-sidebar.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-04/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-04/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1237,39 +901,23 @@ export const Index: Record = { name: "sidebar-05", description: "A sidebar with collapsible submenus.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "label", - "collapsible", - ], - files: [ - { - path: "registry/blocks/sidebar-05/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-05/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-05/components/search-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","label","collapsible"], + files: [{ + path: "registry/blocks/sidebar-05/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-05/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-05/components/search-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-05/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-05/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1278,44 +926,27 @@ export const Index: Record = { name: "sidebar-06", description: "A sidebar with submenus as dropdowns.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "card", - "dropdown-menu", - ], - files: [ - { - path: "registry/blocks/sidebar-06/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-06/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-06/components/nav-main.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-06/components/sidebar-opt-in-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","card","dropdown-menu"], + files: [{ + path: "registry/blocks/sidebar-06/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-06/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-06/components/nav-main.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-06/components/sidebar-opt-in-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-06/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-06/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1324,55 +955,35 @@ export const Index: Record = { name: "sidebar-07", description: "A sidebar that collapses to icons.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "collapsible", - "dropdown-menu", - "avatar", - ], - files: [ - { - path: "registry/blocks/sidebar-07/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-07/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-07/components/nav-main.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-07/components/nav-projects.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-07/components/nav-user.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-07/components/team-switcher.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], + files: [{ + path: "registry/blocks/sidebar-07/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-07/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-07/components/nav-main.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-07/components/nav-projects.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-07/components/nav-user.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-07/components/team-switcher.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-07/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-07/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1381,55 +992,35 @@ export const Index: Record = { name: "sidebar-08", description: "An inset sidebar with secondary navigation.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "collapsible", - "dropdown-menu", - "avatar", - ], - files: [ - { - path: "registry/blocks/sidebar-08/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-08/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-08/components/nav-main.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-08/components/nav-projects.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-08/components/nav-secondary.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-08/components/nav-user.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar"], + files: [{ + path: "registry/blocks/sidebar-08/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-08/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-08/components/nav-main.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-08/components/nav-projects.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-08/components/nav-secondary.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-08/components/nav-user.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-08/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-08/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1438,42 +1029,23 @@ export const Index: Record = { name: "sidebar-09", description: "Collapsible nested sidebars.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "collapsible", - "dropdown-menu", - "avatar", - "switch", - "label", - ], - files: [ - { - path: "registry/blocks/sidebar-09/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-09/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-09/components/nav-user.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","switch","label"], + files: [{ + path: "registry/blocks/sidebar-09/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-09/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-09/components/nav-user.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-09/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-09/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1482,65 +1054,43 @@ export const Index: Record = { name: "sidebar-10", description: "A sidebar in a popover.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "popover", - "collapsible", - "dropdown-menu", - ], - files: [ - { - path: "registry/blocks/sidebar-10/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-10/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-10/components/nav-actions.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-10/components/nav-favorites.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-10/components/nav-main.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-10/components/nav-secondary.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-10/components/nav-workspaces.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-10/components/team-switcher.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu"], + files: [{ + path: "registry/blocks/sidebar-10/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-10/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-10/components/nav-actions.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-10/components/nav-favorites.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-10/components/nav-main.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-10/components/nav-secondary.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-10/components/nav-workspaces.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-10/components/team-switcher.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-10/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-10/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1549,28 +1099,19 @@ export const Index: Record = { name: "sidebar-11", description: "A sidebar with a collapsible file tree.", type: "registry:block", - registryDependencies: ["sidebar", "breadcrumb", "separator", "collapsible"], - files: [ - { - path: "registry/blocks/sidebar-11/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-11/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","collapsible"], + files: [{ + path: "registry/blocks/sidebar-11/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-11/components/app-sidebar.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-11/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-11/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1579,51 +1120,31 @@ export const Index: Record = { name: "sidebar-12", description: "A sidebar with a calendar.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "collapsible", - "calendar", - "dropdown-menu", - "avatar", - ], - files: [ - { - path: "registry/blocks/sidebar-12/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-12/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-12/components/calendars.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-12/components/date-picker.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-12/components/nav-user.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","collapsible","calendar","dropdown-menu","avatar"], + files: [{ + path: "registry/blocks/sidebar-12/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-12/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-12/components/calendars.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-12/components/date-picker.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-12/components/nav-user.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-12/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-12/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1632,28 +1153,19 @@ export const Index: Record = { name: "sidebar-13", description: "A sidebar in a dialog.", type: "registry:block", - registryDependencies: ["sidebar", "breadcrumb", "button", "dialog"], - files: [ - { - path: "registry/blocks/sidebar-13/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-13/components/settings-dialog.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","button","dialog"], + files: [{ + path: "registry/blocks/sidebar-13/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-13/components/settings-dialog.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-13/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-13/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1662,28 +1174,19 @@ export const Index: Record = { name: "sidebar-14", description: "A sidebar on the right.", type: "registry:block", - registryDependencies: ["sidebar", "breadcrumb"], - files: [ - { - path: "registry/blocks/sidebar-14/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-14/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb"], + files: [{ + path: "registry/blocks/sidebar-14/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-14/components/app-sidebar.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-14/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-14/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1692,82 +1195,55 @@ export const Index: Record = { name: "sidebar-15", description: "A left and right sidebar.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "popover", - "collapsible", - "dropdown-menu", - "calendar", - "avatar", - ], - files: [ - { - path: "registry/blocks/sidebar-15/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-15/components/calendars.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/date-picker.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/nav-favorites.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/nav-main.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/nav-secondary.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/nav-user.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/nav-workspaces.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/sidebar-left.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/sidebar-right.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-15/components/team-switcher.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","popover","collapsible","dropdown-menu","calendar","avatar"], + files: [{ + path: "registry/blocks/sidebar-15/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-15/components/calendars.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/date-picker.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/nav-favorites.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/nav-main.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/nav-secondary.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/nav-user.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/nav-workspaces.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/sidebar-left.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/sidebar-right.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-15/components/team-switcher.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-15/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-15/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1776,67 +1252,43 @@ export const Index: Record = { name: "sidebar-16", description: "A sidebar with a sticky site header.", type: "registry:block", - registryDependencies: [ - "sidebar", - "breadcrumb", - "separator", - "collapsible", - "dropdown-menu", - "avatar", - "button", - "label", - ], - files: [ - { - path: "registry/blocks/sidebar-16/page.tsx", - type: "registry:page", - target: "app/dashboard/page.tsx", - }, - { - path: "registry/blocks/sidebar-16/components/app-sidebar.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-16/components/nav-main.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-16/components/nav-projects.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-16/components/nav-secondary.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-16/components/nav-user.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-16/components/search-form.tsx", - type: "registry:component", - target: "", - }, - { - path: "registry/blocks/sidebar-16/components/site-header.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["sidebar","breadcrumb","separator","collapsible","dropdown-menu","avatar","button","label"], + files: [{ + path: "registry/blocks/sidebar-16/page.tsx", + type: "registry:page", + target: "app/dashboard/page.tsx" + },{ + path: "registry/blocks/sidebar-16/components/app-sidebar.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-16/components/nav-main.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-16/components/nav-projects.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-16/components/nav-secondary.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-16/components/nav-user.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-16/components/search-form.tsx", + type: "registry:component", + target: "" + },{ + path: "registry/blocks/sidebar-16/components/site-header.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/sidebar-16/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/sidebar-16/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1845,28 +1297,19 @@ export const Index: Record = { name: "login-01", description: "A simple login form.", type: "registry:block", - registryDependencies: ["button", "card", "input", "label"], - files: [ - { - path: "registry/blocks/login-01/page.tsx", - type: "registry:page", - target: "app/login/page.tsx", - }, - { - path: "registry/blocks/login-01/components/login-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["button","card","input","label"], + files: [{ + path: "registry/blocks/login-01/page.tsx", + type: "registry:page", + target: "app/login/page.tsx" + },{ + path: "registry/blocks/login-01/components/login-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/login-01/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/login-01/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1875,28 +1318,19 @@ export const Index: Record = { name: "login-02", description: "A two column login page with a cover image.", type: "registry:block", - registryDependencies: ["button", "card", "input", "label"], - files: [ - { - path: "registry/blocks/login-02/page.tsx", - type: "registry:page", - target: "app/login/page.tsx", - }, - { - path: "registry/blocks/login-02/components/login-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["button","card","input","label"], + files: [{ + path: "registry/blocks/login-02/page.tsx", + type: "registry:page", + target: "app/login/page.tsx" + },{ + path: "registry/blocks/login-02/components/login-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/login-02/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/login-02/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1905,28 +1339,19 @@ export const Index: Record = { name: "login-03", description: "A login page with a muted background color.", type: "registry:block", - registryDependencies: ["button", "card", "input", "label"], - files: [ - { - path: "registry/blocks/login-03/page.tsx", - type: "registry:page", - target: "app/login/page.tsx", - }, - { - path: "registry/blocks/login-03/components/login-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["button","card","input","label"], + files: [{ + path: "registry/blocks/login-03/page.tsx", + type: "registry:page", + target: "app/login/page.tsx" + },{ + path: "registry/blocks/login-03/components/login-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/login-03/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/login-03/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1935,28 +1360,19 @@ export const Index: Record = { name: "login-04", description: "A login page with form and image.", type: "registry:block", - registryDependencies: ["button", "card", "input", "label"], - files: [ - { - path: "registry/blocks/login-04/page.tsx", - type: "registry:page", - target: "app/login/page.tsx", - }, - { - path: "registry/blocks/login-04/components/login-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["button","card","input","label"], + files: [{ + path: "registry/blocks/login-04/page.tsx", + type: "registry:page", + target: "app/login/page.tsx" + },{ + path: "registry/blocks/login-04/components/login-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/login-04/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/login-04/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1965,28 +1381,19 @@ export const Index: Record = { name: "login-05", description: "A simple email-only login page.", type: "registry:block", - registryDependencies: ["button", "card", "input", "label"], - files: [ - { - path: "registry/blocks/login-05/page.tsx", - type: "registry:page", - target: "app/login/page.tsx", - }, - { - path: "registry/blocks/login-05/components/login-form.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["button","card","input","label"], + files: [{ + path: "registry/blocks/login-05/page.tsx", + type: "registry:page", + target: "app/login/page.tsx" + },{ + path: "registry/blocks/login-05/components/login-form.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/login-05/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/login-05/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -1995,23 +1402,15 @@ export const Index: Record = { name: "chart-area-axes", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-axes.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-axes.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-axes.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-axes.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2020,23 +1419,15 @@ export const Index: Record = { name: "chart-area-default", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-default.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-default.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-default.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-default.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2045,23 +1436,15 @@ export const Index: Record = { name: "chart-area-gradient", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-gradient.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-gradient.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-gradient.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-gradient.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2070,23 +1453,15 @@ export const Index: Record = { name: "chart-area-icons", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-icons.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-icons.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-icons.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-icons.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2095,23 +1470,15 @@ export const Index: Record = { name: "chart-area-interactive", description: "", type: "registry:block", - registryDependencies: ["card", "chart", "select"], - files: [ - { - path: "registry/charts/chart-area-interactive.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["card","chart","select"], + files: [{ + path: "registry/charts/chart-area-interactive.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-interactive.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-interactive.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2120,23 +1487,15 @@ export const Index: Record = { name: "chart-area-legend", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-legend.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-legend.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-legend.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-legend.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2145,23 +1504,15 @@ export const Index: Record = { name: "chart-area-linear", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-linear.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-linear.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-linear.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-linear.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2170,23 +1521,15 @@ export const Index: Record = { name: "chart-area-stacked-expand", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-stacked-expand.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-stacked-expand.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-stacked-expand.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-stacked-expand.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2195,23 +1538,15 @@ export const Index: Record = { name: "chart-area-stacked", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-stacked.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-stacked.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-stacked.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-stacked.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2220,23 +1555,15 @@ export const Index: Record = { name: "chart-area-step", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-area-step.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-area-step.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-area-step.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-area-step.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2245,23 +1572,15 @@ export const Index: Record = { name: "chart-bar-active", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-active.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-active.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-active.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-active.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2270,23 +1589,15 @@ export const Index: Record = { name: "chart-bar-default", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-default.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-default.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-default.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-default.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2295,23 +1606,15 @@ export const Index: Record = { name: "chart-bar-horizontal", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-horizontal.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-horizontal.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-horizontal.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-horizontal.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2320,23 +1623,15 @@ export const Index: Record = { name: "chart-bar-interactive", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-interactive.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-interactive.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-interactive.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-interactive.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2345,23 +1640,15 @@ export const Index: Record = { name: "chart-bar-label-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-label-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-label-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-label-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-label-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2370,23 +1657,15 @@ export const Index: Record = { name: "chart-bar-label", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-label.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-label.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-label.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-label.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2395,23 +1674,15 @@ export const Index: Record = { name: "chart-bar-mixed", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-mixed.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-mixed.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-mixed.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-mixed.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2420,23 +1691,15 @@ export const Index: Record = { name: "chart-bar-multiple", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-multiple.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-multiple.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-multiple.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-multiple.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2445,23 +1708,15 @@ export const Index: Record = { name: "chart-bar-negative", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-negative.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-negative.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-negative.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-negative.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2470,23 +1725,15 @@ export const Index: Record = { name: "chart-bar-stacked", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-bar-stacked.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-bar-stacked.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-bar-stacked.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-bar-stacked.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2495,23 +1742,15 @@ export const Index: Record = { name: "chart-line-default", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-default.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-default.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-default.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-default.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2520,23 +1759,15 @@ export const Index: Record = { name: "chart-line-dots-colors", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-dots-colors.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-dots-colors.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-dots-colors.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-dots-colors.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2545,23 +1776,15 @@ export const Index: Record = { name: "chart-line-dots-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-dots-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-dots-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-dots-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-dots-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2570,23 +1793,15 @@ export const Index: Record = { name: "chart-line-dots", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-dots.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-dots.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-dots.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-dots.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2595,23 +1810,15 @@ export const Index: Record = { name: "chart-line-interactive", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-interactive.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-interactive.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-interactive.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-interactive.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2620,23 +1827,15 @@ export const Index: Record = { name: "chart-line-label-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-label-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-label-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-label-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-label-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2645,23 +1844,15 @@ export const Index: Record = { name: "chart-line-label", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-label.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-label.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-label.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-label.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2670,23 +1861,15 @@ export const Index: Record = { name: "chart-line-linear", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-linear.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-linear.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-linear.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-linear.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2695,23 +1878,15 @@ export const Index: Record = { name: "chart-line-multiple", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-multiple.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-multiple.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-multiple.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-multiple.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2720,23 +1895,15 @@ export const Index: Record = { name: "chart-line-step", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-line-step.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-line-step.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-line-step.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-line-step.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2745,23 +1912,15 @@ export const Index: Record = { name: "chart-pie-donut-active", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-donut-active.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-donut-active.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-donut-active.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-donut-active.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2770,23 +1929,15 @@ export const Index: Record = { name: "chart-pie-donut-text", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-donut-text.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-donut-text.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-donut-text.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-donut-text.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2795,23 +1946,15 @@ export const Index: Record = { name: "chart-pie-donut", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-donut.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-donut.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-donut.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-donut.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2820,23 +1963,15 @@ export const Index: Record = { name: "chart-pie-interactive", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-interactive.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-interactive.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-interactive.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-interactive.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2845,23 +1980,15 @@ export const Index: Record = { name: "chart-pie-label-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-label-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-label-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-label-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-label-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2870,23 +1997,15 @@ export const Index: Record = { name: "chart-pie-label-list", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-label-list.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-label-list.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-label-list.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-label-list.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2895,23 +2014,15 @@ export const Index: Record = { name: "chart-pie-label", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-label.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-label.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-label.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-label.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2920,23 +2031,15 @@ export const Index: Record = { name: "chart-pie-legend", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-legend.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-legend.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-legend.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-legend.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2945,23 +2048,15 @@ export const Index: Record = { name: "chart-pie-separator-none", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-separator-none.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-separator-none.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-separator-none.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-separator-none.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2970,23 +2065,15 @@ export const Index: Record = { name: "chart-pie-simple", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-simple.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-simple.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-simple.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-simple.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -2995,23 +2082,15 @@ export const Index: Record = { name: "chart-pie-stacked", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-pie-stacked.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-pie-stacked.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-pie-stacked.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-pie-stacked.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3020,23 +2099,15 @@ export const Index: Record = { name: "chart-radar-default", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-default.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-default.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-default.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-default.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3045,23 +2116,15 @@ export const Index: Record = { name: "chart-radar-dots", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-dots.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-dots.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-dots.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-dots.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3070,23 +2133,15 @@ export const Index: Record = { name: "chart-radar-grid-circle-fill", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-grid-circle-fill.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-grid-circle-fill.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-grid-circle-fill.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-grid-circle-fill.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3095,23 +2150,15 @@ export const Index: Record = { name: "chart-radar-grid-circle-no-lines", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-grid-circle-no-lines.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-grid-circle-no-lines.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-grid-circle-no-lines.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-grid-circle-no-lines.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3120,23 +2167,15 @@ export const Index: Record = { name: "chart-radar-grid-circle", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-grid-circle.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-grid-circle.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-grid-circle.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-grid-circle.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3145,23 +2184,15 @@ export const Index: Record = { name: "chart-radar-grid-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-grid-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-grid-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-grid-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-grid-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3170,23 +2201,15 @@ export const Index: Record = { name: "chart-radar-grid-fill", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-grid-fill.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-grid-fill.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-grid-fill.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-grid-fill.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3195,23 +2218,15 @@ export const Index: Record = { name: "chart-radar-grid-none", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-grid-none.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-grid-none.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-grid-none.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-grid-none.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3220,23 +2235,15 @@ export const Index: Record = { name: "chart-radar-icons", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-icons.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-icons.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-icons.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-icons.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3245,23 +2252,15 @@ export const Index: Record = { name: "chart-radar-label-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-label-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-label-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-label-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-label-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3270,23 +2269,15 @@ export const Index: Record = { name: "chart-radar-legend", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-legend.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-legend.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-legend.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-legend.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3295,23 +2286,15 @@ export const Index: Record = { name: "chart-radar-lines-only", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-lines-only.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-lines-only.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-lines-only.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-lines-only.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3320,23 +2303,15 @@ export const Index: Record = { name: "chart-radar-multiple", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-multiple.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-multiple.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-multiple.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-multiple.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3345,23 +2320,15 @@ export const Index: Record = { name: "chart-radar-radius", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radar-radius.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radar-radius.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radar-radius.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radar-radius.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3370,23 +2337,15 @@ export const Index: Record = { name: "chart-radial-grid", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radial-grid.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radial-grid.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radial-grid.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radial-grid.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3395,23 +2354,15 @@ export const Index: Record = { name: "chart-radial-label", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radial-label.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radial-label.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radial-label.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radial-label.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3420,23 +2371,15 @@ export const Index: Record = { name: "chart-radial-shape", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radial-shape.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radial-shape.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radial-shape.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radial-shape.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3445,23 +2388,15 @@ export const Index: Record = { name: "chart-radial-simple", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radial-simple.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radial-simple.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radial-simple.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radial-simple.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3470,23 +2405,15 @@ export const Index: Record = { name: "chart-radial-stacked", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radial-stacked.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radial-stacked.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radial-stacked.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radial-stacked.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3495,23 +2422,15 @@ export const Index: Record = { name: "chart-radial-text", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-radial-text.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-radial-text.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-radial-text.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-radial-text.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3520,23 +2439,15 @@ export const Index: Record = { name: "chart-tooltip-default", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-default.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-default.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-default.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-default.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3545,23 +2456,15 @@ export const Index: Record = { name: "chart-tooltip-indicator-line", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-indicator-line.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-indicator-line.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-indicator-line.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-indicator-line.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3570,23 +2473,15 @@ export const Index: Record = { name: "chart-tooltip-indicator-none", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-indicator-none.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-indicator-none.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-indicator-none.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-indicator-none.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3595,23 +2490,15 @@ export const Index: Record = { name: "chart-tooltip-label-none", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-label-none.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-label-none.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-label-none.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-label-none.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3620,23 +2507,15 @@ export const Index: Record = { name: "chart-tooltip-label-custom", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-label-custom.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-label-custom.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-label-custom.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-label-custom.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3645,23 +2524,15 @@ export const Index: Record = { name: "chart-tooltip-label-formatter", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-label-formatter.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-label-formatter.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-label-formatter.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-label-formatter.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3670,23 +2541,15 @@ export const Index: Record = { name: "chart-tooltip-formatter", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-formatter.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-formatter.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-formatter.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-formatter.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3695,23 +2558,15 @@ export const Index: Record = { name: "chart-tooltip-icons", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-icons.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-icons.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-icons.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-icons.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3720,46 +2575,32 @@ export const Index: Record = { name: "chart-tooltip-advanced", description: "", type: "registry:block", - registryDependencies: ["card", "chart"], - files: [ - { - path: "registry/charts/chart-tooltip-advanced.tsx", - type: "registry:block", - target: "", - }, - ], + registryDependencies: ["card","chart"], + files: [{ + path: "registry/charts/chart-tooltip-advanced.tsx", + type: "registry:block", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/charts/chart-tooltip-advanced.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/charts/chart-tooltip-advanced.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, - utils: { + "utils": { name: "utils", description: "", type: "registry:lib", registryDependencies: undefined, - files: [ - { - path: "registry/lib/utils.ts", - type: "registry:lib", - target: "", - }, - ], + files: [{ + path: "registry/lib/utils.ts", + type: "registry:lib", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/lib/utils.ts") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3769,20 +2610,14 @@ export const Index: Record = { description: "", type: "registry:hook", registryDependencies: undefined, - files: [ - { - path: "registry/hooks/use-mobile.ts", - type: "registry:hook", - target: "", - }, - ], + files: [{ + path: "registry/hooks/use-mobile.ts", + type: "registry:hook", + target: "" + }], component: React.lazy(async () => { const mod = await import("@/registry/new-york-v4/hooks/use-mobile.ts") - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, @@ -3791,39 +2626,21 @@ export const Index: Record = { name: "products-01", description: "A table of products", type: "registry:block", - registryDependencies: [ - "checkbox", - "badge", - "button", - "dropdown-menu", - "pagination", - "table", - "tabs", - "select", - ], - files: [ - { - path: "registry/blocks/products-01/page.tsx", - type: "registry:page", - target: "app/products/page.tsx", - }, - { - path: "registry/blocks/products-01/components/products-table.tsx", - type: "registry:component", - target: "", - }, - ], + registryDependencies: ["checkbox","badge","button","dropdown-menu","pagination","table","tabs","select"], + files: [{ + path: "registry/blocks/products-01/page.tsx", + type: "registry:page", + target: "app/products/page.tsx" + },{ + path: "registry/blocks/products-01/components/products-table.tsx", + type: "registry:component", + target: "" + }], component: React.lazy(async () => { - const mod = await import( - "@/registry/new-york-v4/blocks/products-01/page.tsx" - ) - const exportName = - Object.keys(mod).find( - (key) => - typeof mod[key] === "function" || typeof mod[key] === "object" - ) || item.name + const mod = await import("@/registry/new-york-v4/blocks/products-01/page.tsx") + const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name return { default: mod.default || mod[exportName] } }), meta: undefined, }, -} + } \ No newline at end of file diff --git a/apps/v4/registry/new-york-v4/ui/context-menu.tsx b/apps/v4/registry/new-york-v4/ui/context-menu.tsx index d34c7242fa..e29ad05f96 100644 --- a/apps/v4/registry/new-york-v4/ui/context-menu.tsx +++ b/apps/v4/registry/new-york-v4/ui/context-menu.tsx @@ -85,7 +85,7 @@ function ContextMenuSubContent({ - import("lucide-react").then((mod) => ({ - default: mod.AlertCircle, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ExclamationTriangleIcon, - })) - ), - }, - ArrowLeft: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ArrowLeft, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ArrowLeftIcon, - })) - ), - }, - ArrowRight: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ArrowRight, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ArrowRightIcon, - })) - ), - }, - ArrowUpDown: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ArrowUpDown, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CaretSortIcon, - })) - ), - }, - BellRing: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.BellRing, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.BellIcon, - })) - ), - }, - Bold: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Bold, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.FontBoldIcon, - })) - ), - }, - Calculator: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Calculator, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ComponentPlaceholderIcon, - })) - ), - }, - Calendar: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Calendar, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CalendarIcon, - })) - ), - }, - Check: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Check, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CheckIcon, - })) - ), - }, - ChevronDown: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronDown, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronDownIcon, - })) - ), - }, - ChevronLeft: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronLeft, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronLeftIcon, - })) - ), - }, - ChevronRight: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronRight, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronRightIcon, - })) - ), - }, - ChevronUp: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronUp, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ChevronUpIcon, - })) - ), - }, - ChevronsUpDown: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.ChevronsUpDown, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CaretSortIcon, - })) - ), - }, - Circle: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Circle, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.DotFilledIcon, - })) - ), - }, - Copy: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Copy, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.CopyIcon, - })) - ), - }, - CreditCard: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.CreditCard, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ComponentPlaceholderIcon, - })) - ), - }, - GripVertical: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.GripVertical, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.DragHandleDots2Icon, - })) - ), - }, - Italic: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Italic, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.FontItalicIcon, - })) - ), - }, - Loader2: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Loader2, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ReloadIcon, - })) - ), - }, - Mail: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Mail, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.EnvelopeClosedIcon, - })) - ), - }, - MailOpen: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.MailOpen, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.EnvelopeOpenIcon, - })) - ), - }, - Minus: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Minus, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.MinusIcon, - })) - ), - }, - Moon: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Moon, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.MoonIcon, - })) - ), - }, - MoreHorizontal: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.MoreHorizontal, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.DotsHorizontalIcon, - })) - ), - }, - PanelLeft: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.PanelLeft, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.ViewVerticalIcon, - })) - ), - }, - Plus: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Plus, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.PlusIcon, - })) - ), - }, - Search: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Search, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.MagnifyingGlassIcon, - })) - ), - }, - Send: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Send, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.PaperPlaneIcon, - })) - ), - }, - Settings: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Settings, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.GearIcon, - })) - ), - }, - Slash: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Slash, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.SlashIcon, - })) - ), - }, - Smile: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Smile, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.FaceIcon, - })) - ), - }, - Sun: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Sun, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.SunIcon, - })) - ), - }, - Terminal: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Terminal, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.RocketIcon, - })) - ), - }, - Underline: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.Underline, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.UnderlineIcon, - })) - ), - }, - User: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.User, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.PersonIcon, - })) - ), - }, - X: { - lucide: React.lazy(() => - import("lucide-react").then((mod) => ({ - default: mod.X, - })) - ), - radix: React.lazy(() => - import("@radix-ui/react-icons").then((mod) => ({ - default: mod.Cross2Icon, - })) - ), - }, + "AlertCircle": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.AlertCircle + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ExclamationTriangleIcon + }))), +}, "ArrowLeft": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ArrowLeft + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ArrowLeftIcon + }))), +}, "ArrowRight": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ArrowRight + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ArrowRightIcon + }))), +}, "ArrowUpDown": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ArrowUpDown + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.CaretSortIcon + }))), +}, "BellRing": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.BellRing + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.BellIcon + }))), +}, "Bold": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Bold + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.FontBoldIcon + }))), +}, "Calculator": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Calculator + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ComponentPlaceholderIcon + }))), +}, "Calendar": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Calendar + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.CalendarIcon + }))), +}, "Check": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Check + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.CheckIcon + }))), +}, "ChevronDown": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ChevronDown + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ChevronDownIcon + }))), +}, "ChevronLeft": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ChevronLeft + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ChevronLeftIcon + }))), +}, "ChevronRight": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ChevronRight + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ChevronRightIcon + }))), +}, "ChevronUp": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ChevronUp + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ChevronUpIcon + }))), +}, "ChevronsUpDown": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.ChevronsUpDown + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.CaretSortIcon + }))), +}, "Circle": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Circle + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.DotFilledIcon + }))), +}, "Copy": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Copy + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.CopyIcon + }))), +}, "CreditCard": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.CreditCard + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ComponentPlaceholderIcon + }))), +}, "GripVertical": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.GripVertical + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.DragHandleDots2Icon + }))), +}, "Italic": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Italic + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.FontItalicIcon + }))), +}, "Loader2": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Loader2 + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ReloadIcon + }))), +}, "Mail": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Mail + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.EnvelopeClosedIcon + }))), +}, "MailOpen": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.MailOpen + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.EnvelopeOpenIcon + }))), +}, "Minus": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Minus + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.MinusIcon + }))), +}, "Moon": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Moon + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.MoonIcon + }))), +}, "MoreHorizontal": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.MoreHorizontal + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.DotsHorizontalIcon + }))), +}, "PanelLeft": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.PanelLeft + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.ViewVerticalIcon + }))), +}, "Plus": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Plus + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.PlusIcon + }))), +}, "Search": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Search + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.MagnifyingGlassIcon + }))), +}, "Send": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Send + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.PaperPlaneIcon + }))), +}, "Settings": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Settings + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.GearIcon + }))), +}, "Slash": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Slash + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.SlashIcon + }))), +}, "Smile": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Smile + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.FaceIcon + }))), +}, "Sun": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Sun + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.SunIcon + }))), +}, "Terminal": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Terminal + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.RocketIcon + }))), +}, "Underline": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.Underline + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.UnderlineIcon + }))), +}, "User": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.User + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.PersonIcon + }))), +}, "X": { + lucide: React.lazy(() => import("lucide-react").then(mod => ({ + default: mod.X + }))), + radix: React.lazy(() => import("@radix-ui/react-icons").then(mod => ({ + default: mod.Cross2Icon + }))), +}, } diff --git a/apps/www/public/r/styles/default/context-menu.json b/apps/www/public/r/styles/default/context-menu.json index 1a5c57517f..7e16417c76 100644 --- a/apps/www/public/r/styles/default/context-menu.json +++ b/apps/www/public/r/styles/default/context-menu.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/context-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ContextMenu = ContextMenuPrimitive.Root\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName\n\nconst ContextMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\"\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ContextMenu = ContextMenuPrimitive.Root\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName\n\nconst ContextMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\"\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/default/dropdown-menu.json b/apps/www/public/r/styles/default/dropdown-menu.json index 173bd81ae6..52bf6a0bef 100644 --- a/apps/www/public/r/styles/default/dropdown-menu.json +++ b/apps/www/public/r/styles/default/dropdown-menu.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/dropdown-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/default/hover-card.json b/apps/www/public/r/styles/default/hover-card.json index d11f0d81ba..0bbe76aa4b 100644 --- a/apps/www/public/r/styles/default/hover-card.json +++ b/apps/www/public/r/styles/default/hover-card.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/hover-card.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst HoverCard = HoverCardPrimitive.Root\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n))\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst HoverCard = HoverCardPrimitive.Root\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n))\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/default/menubar.json b/apps/www/public/r/styles/default/menubar.json index 025b2526dc..7e07ef6e61 100644 --- a/apps/www/public/r/styles/default/menubar.json +++ b/apps/www/public/r/styles/default/menubar.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/menubar.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarRadioGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubar.displayName = MenubarPrimitive.Root.displayName\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n \n \n \n )\n)\nMenubarContent.displayName = MenubarPrimitive.Content.displayName\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarItem.displayName = MenubarPrimitive.Item.displayName\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nMenubarShortcut.displayname = \"MenubarShortcut\"\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarRadioGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubar.displayName = MenubarPrimitive.Root.displayName\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n \n \n \n )\n)\nMenubarContent.displayName = MenubarPrimitive.Content.displayName\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarItem.displayName = MenubarPrimitive.Item.displayName\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nMenubarShortcut.displayname = \"MenubarShortcut\"\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/default/popover.json b/apps/www/public/r/styles/default/popover.json index b706eb3a3b..3ed248ca8a 100644 --- a/apps/www/public/r/styles/default/popover.json +++ b/apps/www/public/r/styles/default/popover.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/popover.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent }\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/default/select.json b/apps/www/public/r/styles/default/select.json index 7baa66fe31..f9531c885c 100644 --- a/apps/www/public/r/styles/default/select.json +++ b/apps/www/public/r/styles/default/select.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/select.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { Check, ChevronDown, ChevronUp } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n span]:line-clamp-1\",\n className\n )}\n {...props}\n >\n {children}\n \n \n \n \n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollDownButton.displayName =\n SelectPrimitive.ScrollDownButton.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n \n \n \n \n {children}\n \n \n \n \n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n\n {children}\n \n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { Check, ChevronDown, ChevronUp } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n span]:line-clamp-1\",\n className\n )}\n {...props}\n >\n {children}\n \n \n \n \n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollDownButton.displayName =\n SelectPrimitive.ScrollDownButton.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n \n \n \n \n {children}\n \n \n \n \n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n\n {children}\n \n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/default/sidebar.json b/apps/www/public/r/styles/default/sidebar.json index 4ff79e3bc7..8b06dea10a 100644 --- a/apps/www/public/r/styles/default/sidebar.json +++ b/apps/www/public/r/styles/default/sidebar.json @@ -67,4 +67,4 @@ "sidebar-ring": "217.2 91.2% 59.8%" } } -} +} \ No newline at end of file diff --git a/apps/www/public/r/styles/default/tooltip.json b/apps/www/public/r/styles/default/tooltip.json index 1934e3ca8e..c56aff63b1 100644 --- a/apps/www/public/r/styles/default/tooltip.json +++ b/apps/www/public/r/styles/default/tooltip.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/tooltip.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york-v4/context-menu.json b/apps/www/public/r/styles/new-york-v4/context-menu.json index a4f04e1e4b..94bc5d0b77 100644 --- a/apps/www/public/r/styles/new-york-v4/context-menu.json +++ b/apps/www/public/r/styles/new-york-v4/context-menu.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/context-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction ContextMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction ContextMenuTrigger({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuPortal({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction ContextMenuRadioGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n {children}\n \n \n )\n}\n\nfunction ContextMenuSubContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction ContextMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n \n )\n}\n\nfunction ContextMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction ContextMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction ContextMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n )\n}\n\nfunction ContextMenuSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n \n )\n}\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction ContextMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction ContextMenuTrigger({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuPortal({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction ContextMenuRadioGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n {children}\n \n \n )\n}\n\nfunction ContextMenuSubContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction ContextMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n \n )\n}\n\nfunction ContextMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction ContextMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction ContextMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n )\n}\n\nfunction ContextMenuSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction ContextMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n \n )\n}\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york-v4/dropdown-menu.json b/apps/www/public/r/styles/new-york-v4/dropdown-menu.json index f0faf4b625..7d073ba0c1 100644 --- a/apps/www/public/r/styles/new-york-v4/dropdown-menu.json +++ b/apps/www/public/r/styles/new-york-v4/dropdown-menu.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/dropdown-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuTrigger({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuContent({\n className,\n sideOffset = 4,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction DropdownMenuGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n \n )\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction DropdownMenuRadioGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n )\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n \n )\n}\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n {children}\n \n \n )\n}\n\nfunction DropdownMenuSubContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuTrigger({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuContent({\n className,\n sideOffset = 4,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction DropdownMenuGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n \n )\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction DropdownMenuRadioGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n )\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n \n )\n}\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n {children}\n \n \n )\n}\n\nfunction DropdownMenuSubContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n}\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york-v4/hover-card.json b/apps/www/public/r/styles/new-york-v4/hover-card.json index 0a3c90cca0..fdb336fe7f 100644 --- a/apps/www/public/r/styles/new-york-v4/hover-card.json +++ b/apps/www/public/r/styles/new-york-v4/hover-card.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/hover-card.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction HoverCard({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction HoverCardTrigger({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction HoverCardContent({\n className,\n align = \"center\",\n sideOffset = 4,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction HoverCard({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction HoverCardTrigger({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction HoverCardContent({\n className,\n align = \"center\",\n sideOffset = 4,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york-v4/menubar.json b/apps/www/public/r/styles/new-york-v4/menubar.json index 52a14aefb4..0b31aae494 100644 --- a/apps/www/public/r/styles/new-york-v4/menubar.json +++ b/apps/www/public/r/styles/new-york-v4/menubar.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/menubar.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Menubar({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarRadioGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarTrigger({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarContent({\n className,\n align = \"start\",\n alignOffset = -4,\n sideOffset = 8,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction MenubarItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n \n )\n}\n\nfunction MenubarCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction MenubarRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction MenubarLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n )\n}\n\nfunction MenubarSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n \n )\n}\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n {children}\n \n \n )\n}\n\nfunction MenubarSubContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Menubar({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarRadioGroup({\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarTrigger({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarContent({\n className,\n align = \"start\",\n alignOffset = -4,\n sideOffset = 8,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction MenubarItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n \n )\n}\n\nfunction MenubarCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction MenubarRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction MenubarLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n )\n}\n\nfunction MenubarSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction MenubarShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n \n )\n}\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps & {\n inset?: boolean\n}) {\n return (\n \n {children}\n \n \n )\n}\n\nfunction MenubarSubContent({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n}\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york-v4/popover.json b/apps/www/public/r/styles/new-york-v4/popover.json index 385b419fed..b56fa05252 100644 --- a/apps/www/public/r/styles/new-york-v4/popover.json +++ b/apps/www/public/r/styles/new-york-v4/popover.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/popover.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Popover({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction PopoverTrigger({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction PopoverContent({\n className,\n align = \"center\",\n sideOffset = 4,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction PopoverAnchor({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Popover({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction PopoverTrigger({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction PopoverContent({\n className,\n align = \"center\",\n sideOffset = 4,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction PopoverAnchor({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york-v4/select.json b/apps/www/public/r/styles/new-york-v4/select.json index 2ed2c90d29..0ffb3a31de 100644 --- a/apps/www/public/r/styles/new-york-v4/select.json +++ b/apps/www/public/r/styles/new-york-v4/select.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/select.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { CheckIcon, ChevronDownIcon, ChevronUpIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Select({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction SelectGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction SelectValue({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction SelectTrigger({\n className,\n size = \"default\",\n children,\n ...props\n}: React.ComponentProps & {\n size?: \"sm\" | \"default\"\n}) {\n return (\n \n {children}\n \n \n \n \n )\n}\n\nfunction SelectContent({\n className,\n children,\n position = \"popper\",\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n {children}\n \n \n \n \n )\n}\n\nfunction SelectLabel({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction SelectItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction SelectSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction SelectScrollUpButton({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction SelectScrollDownButton({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { CheckIcon, ChevronDownIcon, ChevronUpIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Select({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction SelectGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction SelectValue({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction SelectTrigger({\n className,\n size = \"default\",\n children,\n ...props\n}: React.ComponentProps & {\n size?: \"sm\" | \"default\"\n}) {\n return (\n \n {children}\n \n \n \n \n )\n}\n\nfunction SelectContent({\n className,\n children,\n position = \"popper\",\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n {children}\n \n \n \n \n )\n}\n\nfunction SelectLabel({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction SelectItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n \n \n {children}\n \n )\n}\n\nfunction SelectSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction SelectScrollUpButton({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction SelectScrollDownButton({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n}\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york-v4/sidebar.json b/apps/www/public/r/styles/new-york-v4/sidebar.json index b02efacbd8..55bafb7026 100644 --- a/apps/www/public/r/styles/new-york-v4/sidebar.json +++ b/apps/www/public/r/styles/new-york-v4/sidebar.json @@ -65,4 +65,4 @@ "sidebar-ring": "217.2 91.2% 59.8%" } } -} +} \ No newline at end of file diff --git a/apps/www/public/r/styles/new-york-v4/tooltip.json b/apps/www/public/r/styles/new-york-v4/tooltip.json index 737192d8d4..ea2d102851 100644 --- a/apps/www/public/r/styles/new-york-v4/tooltip.json +++ b/apps/www/public/r/styles/new-york-v4/tooltip.json @@ -8,7 +8,7 @@ "files": [ { "path": "registry/new-york-v4/ui/tooltip.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction TooltipTrigger({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction TooltipContent({\n className,\n sideOffset = 0,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n {children}\n \n \n \n )\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n )\n}\n\nfunction TooltipTrigger({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction TooltipContent({\n className,\n sideOffset = 0,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n {children}\n \n \n \n )\n}\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n", "type": "registry:ui" } ] diff --git a/apps/www/public/r/styles/new-york/context-menu.json b/apps/www/public/r/styles/new-york/context-menu.json index da7606dba4..d23e982a6f 100644 --- a/apps/www/public/r/styles/new-york/context-menu.json +++ b/apps/www/public/r/styles/new-york/context-menu.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/context-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ContextMenu = ContextMenuPrimitive.Root\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName\n\nconst ContextMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\"\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ContextMenu = ContextMenuPrimitive.Root\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName\n\nconst ContextMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\"\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york/dropdown-menu.json b/apps/www/public/r/styles/new-york/dropdown-menu.json index 692d52f8f3..579b0b2617 100644 --- a/apps/www/public/r/styles/new-york/dropdown-menu.json +++ b/apps/www/public/r/styles/new-york/dropdown-menu.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/dropdown-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n svg]:size-4 [&>svg]:shrink-0\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n svg]:size-4 [&>svg]:shrink-0\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york/hover-card.json b/apps/www/public/r/styles/new-york/hover-card.json index d11f0d81ba..0bbe76aa4b 100644 --- a/apps/www/public/r/styles/new-york/hover-card.json +++ b/apps/www/public/r/styles/new-york/hover-card.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/hover-card.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst HoverCard = HoverCardPrimitive.Root\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n))\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst HoverCard = HoverCardPrimitive.Root\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n))\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york/menubar.json b/apps/www/public/r/styles/new-york/menubar.json index 82a15e4009..87eb870773 100644 --- a/apps/www/public/r/styles/new-york/menubar.json +++ b/apps/www/public/r/styles/new-york/menubar.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/menubar.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarRadioGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubar.displayName = MenubarPrimitive.Root.displayName\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n \n \n \n )\n)\nMenubarContent.displayName = MenubarPrimitive.Content.displayName\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarItem.displayName = MenubarPrimitive.Item.displayName\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nMenubarShortcut.displayname = \"MenubarShortcut\"\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction MenubarMenu({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarPortal({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarRadioGroup({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nfunction MenubarSub({\n ...props\n}: React.ComponentProps) {\n return \n}\n\nconst Menubar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubar.displayName = MenubarPrimitive.Root.displayName\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n \n \n \n )\n)\nMenubarContent.displayName = MenubarPrimitive.Content.displayName\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarItem.displayName = MenubarPrimitive.Item.displayName\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nMenubarShortcut.displayname = \"MenubarShortcut\"\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york/popover.json b/apps/www/public/r/styles/new-york/popover.json index 8beb95e7aa..47f9e82a30 100644 --- a/apps/www/public/r/styles/new-york/popover.json +++ b/apps/www/public/r/styles/new-york/popover.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/popover.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york/select.json b/apps/www/public/r/styles/new-york/select.json index d3a751c0d1..24aabc9205 100644 --- a/apps/www/public/r/styles/new-york/select.json +++ b/apps/www/public/r/styles/new-york/select.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/select.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { Check, ChevronDown, ChevronUp } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n span]:line-clamp-1\",\n className\n )}\n {...props}\n >\n {children}\n \n \n \n \n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollDownButton.displayName =\n SelectPrimitive.ScrollDownButton.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n \n \n \n \n {children}\n \n \n \n \n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n}\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { Check, ChevronDown, ChevronUp } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n span]:line-clamp-1\",\n className\n )}\n {...props}\n >\n {children}\n \n \n \n \n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSelectScrollDownButton.displayName =\n SelectPrimitive.ScrollDownButton.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n \n \n \n \n {children}\n \n \n \n \n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n}\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/public/r/styles/new-york/sidebar.json b/apps/www/public/r/styles/new-york/sidebar.json index 328c1a777c..1b3c7df50c 100644 --- a/apps/www/public/r/styles/new-york/sidebar.json +++ b/apps/www/public/r/styles/new-york/sidebar.json @@ -67,4 +67,4 @@ "sidebar-ring": "217.2 91.2% 59.8%" } } -} +} \ No newline at end of file diff --git a/apps/www/public/r/styles/new-york/tooltip.json b/apps/www/public/r/styles/new-york/tooltip.json index 11215b49bd..57e3f90660 100644 --- a/apps/www/public/r/styles/new-york/tooltip.json +++ b/apps/www/public/r/styles/new-york/tooltip.json @@ -9,7 +9,7 @@ "files": [ { "path": "ui/tooltip.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n", + "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n", "type": "registry:ui", "target": "" } diff --git a/apps/www/registry/default/ui/context-menu.tsx b/apps/www/registry/default/ui/context-menu.tsx index 5da846c074..054e69894e 100644 --- a/apps/www/registry/default/ui/context-menu.tsx +++ b/apps/www/registry/default/ui/context-menu.tsx @@ -46,7 +46,7 @@ const ContextMenuSubContent = React.forwardRef<