diff --git a/apps/www/__registry__/default/blocks/pricing-01/page.tsx b/apps/www/__registry__/default/blocks/pricing-01/page.tsx
new file mode 100644
index 00000000000..7e8f3b2bc55
--- /dev/null
+++ b/apps/www/__registry__/default/blocks/pricing-01/page.tsx
@@ -0,0 +1,16 @@
+import { PricingSection } from "@/registry/default/blocks/pricing-01/components/pricing-section"
+import { pricingTiers } from "@/registry/default/blocks/pricing-01/constants/data"
+
+const Home = () => {
+ return (
+
+ )
+}
+
+export default Home
diff --git a/apps/www/__registry__/index.tsx b/apps/www/__registry__/index.tsx
index 5b61ac36371..7121c3aa86b 100644
--- a/apps/www/__registry__/index.tsx
+++ b/apps/www/__registry__/index.tsx
@@ -1234,6 +1234,33 @@ export const Index: Record = {
source: "__registry__/new-york/blocks/login-05/page.tsx",
meta: undefined,
},
+ "pricing-01": {
+ name: "pricing-01",
+ description: "Basic Pricing Page",
+ type: "registry:block",
+ registryDependencies: ["card","tooltip","tabs","button"],
+ files: [{
+ path: "registry/new-york/blocks/pricing-01/page.tsx",
+ type: "registry:page",
+ target: "app/pricing/page.tsx"
+ },{
+ path: "registry/new-york/blocks/pricing-01/components/pricing-section.tsx",
+ type: "registry:component",
+ target: ""
+ },{
+ path: "registry/new-york/blocks/pricing-01/constants/data.ts",
+ type: "registry:internal",
+ target: ""
+ },{
+ path: "registry/new-york/blocks/pricing-01/types/pricing.ts",
+ type: "registry:lib",
+ target: ""
+ }],
+ categories: ["pricing"],
+ component: React.lazy(() => import("@/registry/new-york/blocks/pricing-01/page.tsx")),
+ source: "__registry__/new-york/blocks/pricing-01/page.tsx",
+ meta: undefined,
+ },
"chart-area-axes": {
name: "chart-area-axes",
description: "",
@@ -6489,6 +6516,33 @@ export const Index: Record = {
source: "__registry__/default/blocks/login-05/page.tsx",
meta: undefined,
},
+ "pricing-01": {
+ name: "pricing-01",
+ description: "Basic Pricing Page",
+ type: "registry:block",
+ registryDependencies: ["card","tooltip","tabs","button"],
+ files: [{
+ path: "registry/default/blocks/pricing-01/page.tsx",
+ type: "registry:page",
+ target: "app/pricing/page.tsx"
+ },{
+ path: "registry/default/blocks/pricing-01/components/pricing-section.tsx",
+ type: "registry:component",
+ target: ""
+ },{
+ path: "registry/default/blocks/pricing-01/constants/data.ts",
+ type: "registry:internal",
+ target: ""
+ },{
+ path: "registry/default/blocks/pricing-01/types/pricing.ts",
+ type: "registry:lib",
+ target: ""
+ }],
+ categories: ["pricing"],
+ component: React.lazy(() => import("@/registry/default/blocks/pricing-01/page.tsx")),
+ source: "__registry__/default/blocks/pricing-01/page.tsx",
+ meta: undefined,
+ },
"chart-area-axes": {
name: "chart-area-axes",
description: "",
diff --git a/apps/www/__registry__/new-york/blocks/pricing-01/page.tsx b/apps/www/__registry__/new-york/blocks/pricing-01/page.tsx
new file mode 100644
index 00000000000..4b4fd2552d1
--- /dev/null
+++ b/apps/www/__registry__/new-york/blocks/pricing-01/page.tsx
@@ -0,0 +1,16 @@
+import { PricingSection } from "@/registry/new-york/blocks/pricing-01/components/pricing-section"
+import { pricingTiers } from "@/registry/new-york/blocks/pricing-01/constants/data"
+
+const Home = () => {
+ return (
+
+ )
+}
+
+export default Home
diff --git a/apps/www/public/r/styles/default/pricing-01.json b/apps/www/public/r/styles/default/pricing-01.json
new file mode 100644
index 00000000000..41990ec4501
--- /dev/null
+++ b/apps/www/public/r/styles/default/pricing-01.json
@@ -0,0 +1,42 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "pricing-01",
+ "type": "registry:block",
+ "author": "shadcn (https://ui.shadcn.com)",
+ "description": "Basic Pricing Page",
+ "registryDependencies": [
+ "card",
+ "tooltip",
+ "tabs",
+ "button"
+ ],
+ "files": [
+ {
+ "path": "blocks/pricing-01/page.tsx",
+ "content": "import { PricingSection } from \"@/registry/default/blocks/pricing-01/components/pricing-section\"\nimport { pricingTiers } from \"@/registry/default/blocks/pricing-01/constants/data\"\n\nconst Home = () => {\n return (\n \n )\n}\n\nexport default Home\n",
+ "type": "registry:page",
+ "target": "app/pricing/page.tsx"
+ },
+ {
+ "path": "blocks/pricing-01/components/pricing-section.tsx",
+ "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Check, Info } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\nimport type {\n PricingProps,\n PricingTier,\n} from \"@/registry/default/blocks/pricing-01/types/pricing\"\nimport { Button } from \"@/registry/default/ui/button\"\nimport {\n Card,\n CardContent,\n CardFooter,\n CardHeader,\n} from \"@/registry/default/ui/card\"\nimport { Tabs, TabsList, TabsTrigger } from \"@/registry/default/ui/tabs\"\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"@/registry/default/ui/tooltip\"\n\ntype BillingCycle = \"yearly\" | \"quarterly\"\n\nexport function PricingSection({ title, subtitle, tiers }: PricingProps) {\n const [billingCycle, setBillingCycle] = React.useState(\"yearly\")\n\n const getPrice = (tier: PricingTier, cycle: BillingCycle) => {\n if (tier.price[cycle] === null) return null\n return tier.price[cycle]\n }\n\n return (\n \n \n
Pricing
\n
\n {title}\n
\n
\n {subtitle}\n
\n
\n\n \n \n setBillingCycle(value as BillingCycle)\n }\n >\n \n \n Yearly\n \n Save 25%\n \n \n Quarterly\n \n \n
\n\n \n {tiers.map((tier, index) => (\n
\n {tier.highlighted && (\n \n )}\n \n {tier.name}
\n {tier.description}
\n \n \n \n
\n {getPrice(tier, billingCycle)\n ? `$${getPrice(tier, billingCycle)}`\n : \"Free\"}\n \n {tier.price[billingCycle] && (\n <>\n
\n {tier.price.suffix}\n \n
\n /{billingCycle}\n \n >\n )}\n {tier.savings && billingCycle === \"yearly\" && (\n
\n \n \n \n \n \n Save ${tier.savings} per year
\n \n \n \n )}\n
\n \n {tier.features.map((feature) => (\n - \n \n \n {feature.text}\n \n
\n ))}\n
\n \n \n \n \n \n ))}\n
\n \n )\n}\n",
+ "type": "registry:component",
+ "target": ""
+ },
+ {
+ "path": "blocks/pricing-01/constants/data.ts",
+ "content": "import type { PricingTier } from \"@/registry/default/blocks/pricing-01/types/pricing\"\n\nexport const pricingTiers: PricingTier[] = [\n {\n name: \"Free\",\n description: \"For starters and hobbyists that want to try out.\",\n price: {\n yearly: null,\n quarterly: null,\n suffix: \"\",\n },\n features: [\n { text: \"10 users included\", included: true },\n { text: \"2 GB of storage\", included: true },\n { text: \"Help center access\", included: true },\n { text: \"Email support\", included: true },\n ],\n buttonText: \"Continue with Free\",\n buttonVariant: \"outline\",\n buttonHref: \"#free\",\n },\n {\n name: \"Pro\",\n description: \"For small teams that have less that 10 members.\",\n price: {\n yearly: 72,\n quarterly: 24,\n suffix: \"/user\",\n },\n features: [\n { text: \"20 users included\", included: true },\n { text: \"10 GB of storage\", included: true },\n { text: \"Help center access\", included: true },\n { text: \"Priority email support\", included: true },\n ],\n buttonText: \"Get started\",\n buttonHref: \"#pro\",\n highlighted: true,\n savings: 24,\n },\n {\n name: \"Team\",\n description: \"For large teams that have more than 10 members.\",\n price: {\n yearly: 90,\n quarterly: 30,\n suffix: \"/user\",\n },\n features: [\n { text: \"50 users included\", included: true },\n { text: \"30 GB of storage\", included: true },\n { text: \"Help center access\", included: true },\n { text: \"Phone & email support\", included: true },\n ],\n buttonText: \"Contact us\",\n buttonVariant: \"outline\",\n buttonHref: \"#team\",\n savings: 30,\n },\n]\n",
+ "type": "registry:internal",
+ "target": ""
+ },
+ {
+ "path": "blocks/pricing-01/types/pricing.ts",
+ "content": "export interface PricingFeature {\n text: string\n included: boolean\n}\n\nexport interface PricingTier {\n name: string\n description: string\n price: {\n yearly: number | null\n quarterly: number | null\n suffix?: string\n }\n features: PricingFeature[]\n buttonText: string\n buttonVariant?: \"default\" | \"outline\"\n buttonHref: string\n highlighted?: boolean\n savings?: number\n}\n\nexport interface PricingProps {\n title: string\n subtitle: string\n tiers: PricingTier[]\n}\n",
+ "type": "registry:lib",
+ "target": ""
+ }
+ ],
+ "categories": [
+ "pricing"
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/accordion-demo.json b/apps/www/public/r/styles/new-york/accordion-demo.json
deleted file mode 100644
index 74706892e94..00000000000
--- a/apps/www/public/r/styles/new-york/accordion-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "accordion-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "accordion"
- ],
- "files": [
- {
- "path": "examples/accordion-demo.tsx",
- "content": "import {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/registry/new-york/ui/accordion\"\n\nexport default function AccordionDemo() {\n return (\n \n \n Is it accessible?\n \n Yes. It adheres to the WAI-ARIA design pattern.\n \n \n \n Is it styled?\n \n Yes. It comes with default styles that matches the other\n components' aesthetic.\n \n \n \n Is it animated?\n \n Yes. It's animated by default, but you can disable it if you prefer.\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/accordion.json b/apps/www/public/r/styles/new-york/accordion.json
deleted file mode 100644
index 07752037905..00000000000
--- a/apps/www/public/r/styles/new-york/accordion.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "accordion",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "@radix-ui/react-accordion"
- ],
- "files": [
- {
- "path": "ui/accordion.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\"\nimport { ChevronDown } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Accordion = AccordionPrimitive.Root\n\nconst AccordionItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAccordionItem.displayName = \"AccordionItem\"\n\nconst AccordionTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n svg]:rotate-180\",\n className\n )}\n {...props}\n >\n {children}\n \n \n \n))\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName\n\nconst AccordionContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n {children}
\n \n))\nAccordionContent.displayName = AccordionPrimitive.Content.displayName\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n",
- "type": "registry:ui",
- "target": ""
- }
- ],
- "tailwind": {
- "config": {
- "theme": {
- "extend": {
- "keyframes": {
- "accordion-down": {
- "from": {
- "height": "0"
- },
- "to": {
- "height": "var(--radix-accordion-content-height)"
- }
- },
- "accordion-up": {
- "from": {
- "height": "var(--radix-accordion-content-height)"
- },
- "to": {
- "height": "0"
- }
- }
- },
- "animation": {
- "accordion-down": "accordion-down 0.2s ease-out",
- "accordion-up": "accordion-up 0.2s ease-out"
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/alert-demo.json b/apps/www/public/r/styles/new-york/alert-demo.json
deleted file mode 100644
index 2c7d9f19f1d..00000000000
--- a/apps/www/public/r/styles/new-york/alert-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "alert-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "alert"
- ],
- "files": [
- {
- "path": "examples/alert-demo.tsx",
- "content": "import { Terminal } from \"lucide-react\"\n\nimport {\n Alert,\n AlertDescription,\n AlertTitle,\n} from \"@/registry/new-york/ui/alert\"\n\nexport default function AlertDemo() {\n return (\n \n \n Heads up!\n \n You can add components to your app using the cli.\n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/alert-destructive.json b/apps/www/public/r/styles/new-york/alert-destructive.json
deleted file mode 100644
index d14ba20ff59..00000000000
--- a/apps/www/public/r/styles/new-york/alert-destructive.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "alert-destructive",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "alert"
- ],
- "files": [
- {
- "path": "examples/alert-destructive.tsx",
- "content": "import { AlertCircle } from \"lucide-react\"\n\nimport {\n Alert,\n AlertDescription,\n AlertTitle,\n} from \"@/registry/new-york/ui/alert\"\n\nexport default function AlertDestructive() {\n return (\n \n \n Error\n \n Your session has expired. Please log in again.\n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/alert-dialog-demo.json b/apps/www/public/r/styles/new-york/alert-dialog-demo.json
deleted file mode 100644
index ef61da14469..00000000000
--- a/apps/www/public/r/styles/new-york/alert-dialog-demo.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "alert-dialog-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "alert-dialog",
- "button"
- ],
- "files": [
- {
- "path": "examples/alert-dialog-demo.tsx",
- "content": "import {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/registry/new-york/ui/alert-dialog\"\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function AlertDialogDemo() {\n return (\n \n \n \n \n \n \n Are you absolutely sure?\n \n This action cannot be undone. This will permanently delete your\n account and remove your data from our servers.\n \n \n \n Cancel\n Continue\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/alert-dialog.json b/apps/www/public/r/styles/new-york/alert-dialog.json
deleted file mode 100644
index 4a1a1020407..00000000000
--- a/apps/www/public/r/styles/new-york/alert-dialog.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "alert-dialog",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "@radix-ui/react-alert-dialog"
- ],
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "ui/alert-dialog.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\"\n\nimport { cn } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/registry/new-york/ui/button\"\n\nconst AlertDialog = AlertDialogPrimitive.Root\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n \n))\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName\n\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes) => (\n \n)\nAlertDialogHeader.displayName = \"AlertDialogHeader\"\n\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes) => (\n \n)\nAlertDialogFooter.displayName = \"AlertDialogFooter\"\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n}\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/alert.json b/apps/www/public/r/styles/new-york/alert.json
deleted file mode 100644
index eda4b86fec4..00000000000
--- a/apps/www/public/r/styles/new-york/alert.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "alert",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "ui/alert.tsx",
- "content": "import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst alertVariants = cva(\n \"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7\",\n {\n variants: {\n variant: {\n default: \"bg-background text-foreground\",\n destructive:\n \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes & VariantProps\n>(({ className, variant, ...props }, ref) => (\n \n))\nAlert.displayName = \"Alert\"\n\nconst AlertTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nAlertTitle.displayName = \"AlertTitle\"\n\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nAlertDescription.displayName = \"AlertDescription\"\n\nexport { Alert, AlertTitle, AlertDescription }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/app-01-dark.png b/apps/www/public/r/styles/new-york/app-01-dark.png
deleted file mode 100644
index 1e509caa6c0..00000000000
Binary files a/apps/www/public/r/styles/new-york/app-01-dark.png and /dev/null differ
diff --git a/apps/www/public/r/styles/new-york/app-01-light.png b/apps/www/public/r/styles/new-york/app-01-light.png
deleted file mode 100644
index 8fd7d6cabf3..00000000000
Binary files a/apps/www/public/r/styles/new-york/app-01-light.png and /dev/null differ
diff --git a/apps/www/public/r/styles/new-york/app-01.json b/apps/www/public/r/styles/new-york/app-01.json
deleted file mode 100644
index cab8dd0b316..00000000000
--- a/apps/www/public/r/styles/new-york/app-01.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "name": "app-01",
- "type": "registry:block",
- "description": "A simple task app.",
- "dependencies": [
- "swr"
- ],
- "registryDependencies": [
- "card",
- "input",
- "button",
- "skeleton",
- "label"
- ],
- "files": [
- {
- "path": "blocks/app-01/page.tsx",
- "content": "import { AddTaskForm } from \"@/registry/new-york/blocks/app-01/components/add-task-form\"\nimport { TasksList } from \"@/registry/new-york/blocks/app-01/components/tasks-list\"\nimport {\n Card,\n CardContent,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\n\nexport default function AppPage() {\n return (\n \n
\n \n Add Task\n \n \n \n \n \n \n \n \n
\n )\n}\n",
- "type": "registry:page",
- "target": "app/page.tsx"
- },
- {
- "path": "blocks/app-01/api/tasks/route.ts",
- "content": "import { NextResponse } from \"next/server\"\n\nimport { API_URL } from \"@/registry/new-york/blocks/app-01/lib/constants\"\n\nexport async function GET() {\n const response = await fetch(API_URL)\n const data = await response.json()\n return NextResponse.json(data)\n}\n",
- "type": "registry:page",
- "target": "app/api/tasks/route.ts"
- },
- {
- "path": "blocks/app-01/components/add-task-form.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Label } from \"@/registry/default/ui/label\"\nimport { SubmitButton } from \"@/registry/new-york/blocks/app-01/components/submit-button\"\nimport { useTasks } from \"@/registry/new-york/blocks/app-01/hooks/use-tasks\"\nimport { saveTask } from \"@/registry/new-york/blocks/app-01/lib/actions\"\nimport { Input } from \"@/registry/new-york/ui/input\"\n\nexport function AddTaskForm() {\n const { mutate } = useTasks()\n const formRef = React.useRef(null)\n\n return (\n \n )\n}\n",
- "type": "registry:component",
- "target": ""
- },
- {
- "path": "blocks/app-01/components/submit-button.tsx",
- "content": "\"use client\"\n\nimport { Loader2 } from \"lucide-react\"\nimport { useFormStatus } from \"react-dom\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport function SubmitButton({\n children,\n ...props\n}: React.ComponentProps) {\n const { pending } = useFormStatus()\n\n return (\n \n )\n}\n",
- "type": "registry:component",
- "target": ""
- },
- {
- "path": "blocks/app-01/components/tasks-list.tsx",
- "content": "\"use client\"\n\nimport { useTasks } from \"@/registry/new-york/blocks/app-01/hooks/use-tasks\"\nimport { Skeleton } from \"@/registry/new-york/ui/skeleton\"\n\nexport function TasksList() {\n const { tasks, isLoading } = useTasks()\n\n if (isLoading)\n return (\n \n {Array.from({ length: 5 }).map((_, index) => (\n \n ))}\n
\n )\n\n return (\n \n {tasks.map((task, index) => (\n
\n {task}\n
\n ))}\n
\n )\n}\n",
- "type": "registry:component",
- "target": ""
- },
- {
- "path": "blocks/app-01/hooks/use-tasks.ts",
- "content": "\"use client\"\n\nimport useSWR from \"swr\"\n\nimport { API_URL } from \"@/registry/new-york/blocks/app-01/lib/constants\"\n\nexport function useTasks() {\n const { data, isLoading, mutate } = useSWR<{ tasks: string[] }>(\n \"/api/tasks\",\n async () => {\n const response = await fetch(API_URL)\n return response.json()\n }\n )\n\n return { tasks: data?.tasks || [], isLoading, mutate }\n}\n",
- "type": "registry:hook",
- "target": ""
- },
- {
- "path": "blocks/app-01/lib/constants.ts",
- "content": "export const API_URL = \"https://api.npoint.io/40ac2c2a67c912fa2120\"\n",
- "type": "registry:lib",
- "target": ""
- },
- {
- "path": "blocks/app-01/lib/actions.ts",
- "content": "\"use server\"\n\nimport { API_URL } from \"@/registry/new-york/blocks/app-01/lib/constants\"\n\nexport async function saveTask(formData: FormData) {\n const name = formData.get(\"name\")\n\n // Get current tasks\n const response = await fetch(API_URL)\n const data = await response.json()\n const tasks = data.tasks || []\n\n // Add new task to array\n tasks.push(name)\n\n // Save updated tasks array\n await fetch(API_URL, {\n method: \"POST\",\n body: JSON.stringify({ tasks }),\n })\n\n return { success: true }\n}\n",
- "type": "registry:lib",
- "target": ""
- }
- ],
- "cssVars": {
- "light": {
- "primary": "224.3 76.3% 48%",
- "primary-foreground": "0 0% 100%"
- }
- },
- "categories": [
- "apps"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/aspect-ratio-demo.json b/apps/www/public/r/styles/new-york/aspect-ratio-demo.json
deleted file mode 100644
index 73e5f507237..00000000000
--- a/apps/www/public/r/styles/new-york/aspect-ratio-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "aspect-ratio-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "aspect-ratio"
- ],
- "files": [
- {
- "path": "examples/aspect-ratio-demo.tsx",
- "content": "import Image from \"next/image\"\n\nimport { AspectRatio } from \"@/registry/new-york/ui/aspect-ratio\"\n\nexport default function AspectRatioDemo() {\n return (\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/aspect-ratio.json b/apps/www/public/r/styles/new-york/aspect-ratio.json
deleted file mode 100644
index 511410bb571..00000000000
--- a/apps/www/public/r/styles/new-york/aspect-ratio.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "aspect-ratio",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "@radix-ui/react-aspect-ratio"
- ],
- "files": [
- {
- "path": "ui/aspect-ratio.tsx",
- "content": "\"use client\"\n\nimport * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\"\n\nconst AspectRatio = AspectRatioPrimitive.Root\n\nexport { AspectRatio }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/avatar-demo.json b/apps/www/public/r/styles/new-york/avatar-demo.json
deleted file mode 100644
index 97873f88ec0..00000000000
--- a/apps/www/public/r/styles/new-york/avatar-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "avatar-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "avatar"
- ],
- "files": [
- {
- "path": "examples/avatar-demo.tsx",
- "content": "import {\n Avatar,\n AvatarFallback,\n AvatarImage,\n} from \"@/registry/new-york/ui/avatar\"\n\nexport default function AvatarDemo() {\n return (\n \n \n CN\n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/avatar.json b/apps/www/public/r/styles/new-york/avatar.json
deleted file mode 100644
index 7215ea17062..00000000000
--- a/apps/www/public/r/styles/new-york/avatar.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "avatar",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "@radix-ui/react-avatar"
- ],
- "files": [
- {
- "path": "ui/avatar.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Avatar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAvatar.displayName = AvatarPrimitive.Root.displayName\n\nconst AvatarImage = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAvatarImage.displayName = AvatarPrimitive.Image.displayName\n\nconst AvatarFallback = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName\n\nexport { Avatar, AvatarImage, AvatarFallback }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/badge-demo.json b/apps/www/public/r/styles/new-york/badge-demo.json
deleted file mode 100644
index ee4847c1965..00000000000
--- a/apps/www/public/r/styles/new-york/badge-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "badge-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "badge"
- ],
- "files": [
- {
- "path": "examples/badge-demo.tsx",
- "content": "import { Badge } from \"@/registry/new-york/ui/badge\"\n\nexport default function BadgeDemo() {\n return Badge\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/badge-destructive.json b/apps/www/public/r/styles/new-york/badge-destructive.json
deleted file mode 100644
index 9df79546f45..00000000000
--- a/apps/www/public/r/styles/new-york/badge-destructive.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "badge-destructive",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "badge"
- ],
- "files": [
- {
- "path": "examples/badge-destructive.tsx",
- "content": "import { Badge } from \"@/registry/new-york/ui/badge\"\n\nexport default function BadgeDestructive() {\n return Destructive\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/badge-outline.json b/apps/www/public/r/styles/new-york/badge-outline.json
deleted file mode 100644
index 5920bc4d0f7..00000000000
--- a/apps/www/public/r/styles/new-york/badge-outline.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "badge-outline",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "badge"
- ],
- "files": [
- {
- "path": "examples/badge-outline.tsx",
- "content": "import { Badge } from \"@/registry/new-york/ui/badge\"\n\nexport default function BadgeOutline() {\n return Outline\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/badge-secondary.json b/apps/www/public/r/styles/new-york/badge-secondary.json
deleted file mode 100644
index 438168e5033..00000000000
--- a/apps/www/public/r/styles/new-york/badge-secondary.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "badge-secondary",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "badge"
- ],
- "files": [
- {
- "path": "examples/badge-secondary.tsx",
- "content": "import { Badge } from \"@/registry/new-york/ui/badge\"\n\nexport default function BadgeSecondary() {\n return Secondary\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/badge.json b/apps/www/public/r/styles/new-york/badge.json
deleted file mode 100644
index 8a33c3ca9de..00000000000
--- a/apps/www/public/r/styles/new-york/badge.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "badge",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "ui/badge.tsx",
- "content": "import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst badgeVariants = cva(\n \"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default:\n \"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80\",\n outline: \"text-foreground\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nexport interface BadgeProps\n extends React.HTMLAttributes,\n VariantProps {}\n\nfunction Badge({ className, variant, ...props }: BadgeProps) {\n return (\n \n )\n}\n\nexport { Badge, badgeVariants }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb-demo.json b/apps/www/public/r/styles/new-york/breadcrumb-demo.json
deleted file mode 100644
index c198e3d8453..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "breadcrumb"
- ],
- "files": [
- {
- "path": "examples/breadcrumb-demo.tsx",
- "content": "import {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/registry/new-york/ui/breadcrumb\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/registry/new-york/ui/dropdown-menu\"\n\nexport default function BreadcrumbDemo() {\n return (\n \n \n \n Home\n \n \n \n \n \n \n Toggle menu\n \n \n Documentation\n Themes\n GitHub\n \n \n \n \n \n Components\n \n \n \n Breadcrumb\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb-dropdown.json b/apps/www/public/r/styles/new-york/breadcrumb-dropdown.json
deleted file mode 100644
index 4b486fcdd47..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb-dropdown.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb-dropdown",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "breadcrumb"
- ],
- "files": [
- {
- "path": "examples/breadcrumb-dropdown.tsx",
- "content": "import { ChevronDown, Slash } from \"lucide-react\"\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/registry/new-york/ui/breadcrumb\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/registry/new-york/ui/dropdown-menu\"\n\nexport default function BreadcrumbWithDropdown() {\n return (\n \n \n \n Home\n \n \n \n \n \n \n \n Components\n \n \n \n Documentation\n Themes\n GitHub\n \n \n \n \n \n \n \n Breadcrumb\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb-ellipsis.json b/apps/www/public/r/styles/new-york/breadcrumb-ellipsis.json
deleted file mode 100644
index 300002b0fff..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb-ellipsis.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb-ellipsis",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "breadcrumb"
- ],
- "files": [
- {
- "path": "examples/breadcrumb-ellipsis.tsx",
- "content": "import Link from \"next/link\"\n\nimport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/registry/new-york/ui/breadcrumb\"\n\nexport default function BreadcrumbCollapsed() {\n return (\n \n \n \n \n Home\n \n \n \n \n \n \n \n \n \n Components\n \n \n \n \n Breadcrumb\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb-link.json b/apps/www/public/r/styles/new-york/breadcrumb-link.json
deleted file mode 100644
index 9e8b4df06d8..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb-link.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb-link",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "breadcrumb"
- ],
- "files": [
- {
- "path": "examples/breadcrumb-link.tsx",
- "content": "import Link from \"next/link\"\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/registry/new-york/ui/breadcrumb\"\n\nexport default function BreadcrumbWithCustomSeparator() {\n return (\n \n \n \n \n Home\n \n \n \n \n \n Components\n \n \n \n \n Breadcrumb\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb-responsive.json b/apps/www/public/r/styles/new-york/breadcrumb-responsive.json
deleted file mode 100644
index 78bbded7da6..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb-responsive.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb-responsive",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "breadcrumb"
- ],
- "files": [
- {
- "path": "examples/breadcrumb-responsive.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport Link from \"next/link\"\n\nimport { useMediaQuery } from \"@/hooks/use-media-query\"\nimport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/registry/new-york/ui/breadcrumb\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport {\n Drawer,\n DrawerClose,\n DrawerContent,\n DrawerDescription,\n DrawerFooter,\n DrawerHeader,\n DrawerTitle,\n DrawerTrigger,\n} from \"@/registry/new-york/ui/drawer\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/registry/new-york/ui/dropdown-menu\"\n\nconst items = [\n { href: \"#\", label: \"Home\" },\n { href: \"#\", label: \"Documentation\" },\n { href: \"#\", label: \"Building Your Application\" },\n { href: \"#\", label: \"Data Fetching\" },\n { label: \"Caching and Revalidating\" },\n]\n\nconst ITEMS_TO_DISPLAY = 3\n\nexport default function BreadcrumbResponsive() {\n const [open, setOpen] = React.useState(false)\n const isDesktop = useMediaQuery(\"(min-width: 768px)\")\n\n return (\n \n \n \n {items[0].label}\n \n \n {items.length > ITEMS_TO_DISPLAY ? (\n <>\n \n {isDesktop ? (\n \n \n \n \n \n {items.slice(1, -2).map((item, index) => (\n \n \n {item.label}\n \n \n ))}\n \n \n ) : (\n \n \n \n \n \n \n Navigate to\n \n Select a page to navigate to.\n \n \n \n {items.slice(1, -2).map((item, index) => (\n \n {item.label}\n \n ))}\n
\n \n \n \n \n \n \n \n )}\n \n \n >\n ) : null}\n {items.slice(-ITEMS_TO_DISPLAY + 1).map((item, index) => (\n \n {item.href ? (\n <>\n \n {item.label}\n \n \n >\n ) : (\n \n {item.label}\n \n )}\n \n ))}\n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb-separator.json b/apps/www/public/r/styles/new-york/breadcrumb-separator.json
deleted file mode 100644
index 5bede98f278..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb-separator.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb-separator",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "breadcrumb"
- ],
- "files": [
- {
- "path": "examples/breadcrumb-separator.tsx",
- "content": "import { Slash } from \"lucide-react\"\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/registry/new-york/ui/breadcrumb\"\n\nexport default function BreadcrumbWithCustomSeparator() {\n return (\n \n \n \n Home\n \n \n \n \n \n Components\n \n \n \n \n \n Breadcrumb\n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/breadcrumb.json b/apps/www/public/r/styles/new-york/breadcrumb.json
deleted file mode 100644
index 1dfdd056650..00000000000
--- a/apps/www/public/r/styles/new-york/breadcrumb.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "breadcrumb",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "@radix-ui/react-slot"
- ],
- "files": [
- {
- "path": "ui/breadcrumb.tsx",
- "content": "import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { ChevronRight, MoreHorizontal } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Breadcrumb = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<\"nav\"> & {\n separator?: React.ReactNode\n }\n>(({ ...props }, ref) => )\nBreadcrumb.displayName = \"Breadcrumb\"\n\nconst BreadcrumbList = React.forwardRef<\n HTMLOListElement,\n React.ComponentPropsWithoutRef<\"ol\">\n>(({ className, ...props }, ref) => (\n
\n))\nBreadcrumbList.displayName = \"BreadcrumbList\"\n\nconst BreadcrumbItem = React.forwardRef<\n HTMLLIElement,\n React.ComponentPropsWithoutRef<\"li\">\n>(({ className, ...props }, ref) => (\n \n))\nBreadcrumbItem.displayName = \"BreadcrumbItem\"\n\nconst BreadcrumbLink = React.forwardRef<\n HTMLAnchorElement,\n React.ComponentPropsWithoutRef<\"a\"> & {\n asChild?: boolean\n }\n>(({ asChild, className, ...props }, ref) => {\n const Comp = asChild ? Slot : \"a\"\n\n return (\n \n )\n})\nBreadcrumbLink.displayName = \"BreadcrumbLink\"\n\nconst BreadcrumbPage = React.forwardRef<\n HTMLSpanElement,\n React.ComponentPropsWithoutRef<\"span\">\n>(({ className, ...props }, ref) => (\n \n))\nBreadcrumbPage.displayName = \"BreadcrumbPage\"\n\nconst BreadcrumbSeparator = ({\n children,\n className,\n ...props\n}: React.ComponentProps<\"li\">) => (\n svg]:w-3.5 [&>svg]:h-3.5\", className)}\n {...props}\n >\n {children ?? }\n \n)\nBreadcrumbSeparator.displayName = \"BreadcrumbSeparator\"\n\nconst BreadcrumbEllipsis = ({\n className,\n ...props\n}: React.ComponentProps<\"span\">) => (\n \n \n More\n \n)\nBreadcrumbEllipsis.displayName = \"BreadcrumbElipssis\"\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n}\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-01-dark.png b/apps/www/public/r/styles/new-york/button-01-dark.png
deleted file mode 100644
index 211238839bb..00000000000
Binary files a/apps/www/public/r/styles/new-york/button-01-dark.png and /dev/null differ
diff --git a/apps/www/public/r/styles/new-york/button-01-light.png b/apps/www/public/r/styles/new-york/button-01-light.png
deleted file mode 100644
index b46751b1ea7..00000000000
Binary files a/apps/www/public/r/styles/new-york/button-01-light.png and /dev/null differ
diff --git a/apps/www/public/r/styles/new-york/button-01.json b/apps/www/public/r/styles/new-york/button-01.json
deleted file mode 100644
index 2b3fe8ab6c9..00000000000
--- a/apps/www/public/r/styles/new-york/button-01.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "name": "button-01",
- "type": "registry:block",
- "description": "A simple button.",
- "files": [
- {
- "path": "blocks/button-01/page.tsx",
- "content": "import { AmazingButton } from \"@/registry/new-york/blocks/button-01/components/amazing-button\"\n\nexport default function Page() {\n return (\n \n )\n}\n",
- "type": "registry:page",
- "target": "app/page.tsx"
- },
- {
- "path": "blocks/button-01/components/amazing-button.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport function AmazingButton() {\n return (\n \n )\n}\n",
- "type": "registry:component",
- "target": ""
- }
- ],
- "meta": {
- "iframeHeight": "300px"
- },
- "categories": [
- "misc"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-as-child.json b/apps/www/public/r/styles/new-york/button-as-child.json
deleted file mode 100644
index dda54019cc0..00000000000
--- a/apps/www/public/r/styles/new-york/button-as-child.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-as-child",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-as-child.tsx",
- "content": "import Link from \"next/link\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonAsChild() {\n return (\n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-demo.json b/apps/www/public/r/styles/new-york/button-demo.json
deleted file mode 100644
index c68f3015504..00000000000
--- a/apps/www/public/r/styles/new-york/button-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-demo.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonDemo() {\n return \n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-destructive.json b/apps/www/public/r/styles/new-york/button-destructive.json
deleted file mode 100644
index 9a4bd7a6e23..00000000000
--- a/apps/www/public/r/styles/new-york/button-destructive.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-destructive",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-destructive.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonDestructive() {\n return \n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-ghost.json b/apps/www/public/r/styles/new-york/button-ghost.json
deleted file mode 100644
index 17a1aba9104..00000000000
--- a/apps/www/public/r/styles/new-york/button-ghost.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-ghost",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-ghost.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonGhost() {\n return \n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-icon.json b/apps/www/public/r/styles/new-york/button-icon.json
deleted file mode 100644
index 5d25d884f16..00000000000
--- a/apps/www/public/r/styles/new-york/button-icon.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-icon",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-icon.tsx",
- "content": "import { ChevronRight } from \"lucide-react\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonIcon() {\n return (\n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-link.json b/apps/www/public/r/styles/new-york/button-link.json
deleted file mode 100644
index 01b102b7d07..00000000000
--- a/apps/www/public/r/styles/new-york/button-link.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-link",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-link.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonLink() {\n return \n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-loading.json b/apps/www/public/r/styles/new-york/button-loading.json
deleted file mode 100644
index 64b34de52a8..00000000000
--- a/apps/www/public/r/styles/new-york/button-loading.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-loading",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-loading.tsx",
- "content": "import { Loader2 } from \"lucide-react\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonLoading() {\n return (\n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-outline.json b/apps/www/public/r/styles/new-york/button-outline.json
deleted file mode 100644
index 8e3df0be852..00000000000
--- a/apps/www/public/r/styles/new-york/button-outline.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-outline",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-outline.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonOutline() {\n return \n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-secondary.json b/apps/www/public/r/styles/new-york/button-secondary.json
deleted file mode 100644
index 19a96ea9eca..00000000000
--- a/apps/www/public/r/styles/new-york/button-secondary.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-secondary",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-secondary.tsx",
- "content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonSecondary() {\n return \n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button-with-icon.json b/apps/www/public/r/styles/new-york/button-with-icon.json
deleted file mode 100644
index c90290dbf34..00000000000
--- a/apps/www/public/r/styles/new-york/button-with-icon.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button-with-icon",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "examples/button-with-icon.tsx",
- "content": "import { MailOpen } from \"lucide-react\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function ButtonWithIcon() {\n return (\n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/button.json b/apps/www/public/r/styles/new-york/button.json
deleted file mode 100644
index 62957780d39..00000000000
--- a/apps/www/public/r/styles/new-york/button.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "button",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "@radix-ui/react-slot"
- ],
- "files": [
- {
- "path": "ui/button.tsx",
- "content": "import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs\",\n lg: \"h-10 rounded-md px-8\",\n icon: \"h-9 w-9\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes,\n VariantProps {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\"\n return (\n \n )\n }\n)\nButton.displayName = \"Button\"\n\nexport { Button, buttonVariants }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/calendar-demo.json b/apps/www/public/r/styles/new-york/calendar-demo.json
deleted file mode 100644
index 361fcd28dae..00000000000
--- a/apps/www/public/r/styles/new-york/calendar-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "calendar-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "calendar"
- ],
- "files": [
- {
- "path": "examples/calendar-demo.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Calendar } from \"@/registry/new-york/ui/calendar\"\n\nexport default function CalendarDemo() {\n const [date, setDate] = React.useState(new Date())\n\n return (\n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/calendar-form.json b/apps/www/public/r/styles/new-york/calendar-form.json
deleted file mode 100644
index 3f1a22cb414..00000000000
--- a/apps/www/public/r/styles/new-york/calendar-form.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "calendar-form",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "calendar",
- "form",
- "popover"
- ],
- "files": [
- {
- "path": "examples/calendar-form.tsx",
- "content": "\"use client\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport { format } from \"date-fns\"\nimport { CalendarIcon } from \"lucide-react\"\nimport { useForm } from \"react-hook-form\"\nimport { z } from \"zod\"\n\nimport { cn } from \"@/lib/utils\"\nimport { toast } from \"@/registry/new-york/hooks/use-toast\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport { Calendar } from \"@/registry/new-york/ui/calendar\"\nimport {\n Form,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from \"@/registry/new-york/ui/form\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/registry/new-york/ui/popover\"\n\nconst FormSchema = z.object({\n dob: z.date({\n required_error: \"A date of birth is required.\",\n }),\n})\n\nexport default function CalendarForm() {\n const form = useForm>({\n resolver: zodResolver(FormSchema),\n })\n\n function onSubmit(data: z.infer) {\n toast({\n title: \"You submitted the following values:\",\n description: (\n \n {JSON.stringify(data, null, 2)}
\n
\n ),\n })\n }\n\n return (\n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/calendar.json b/apps/www/public/r/styles/new-york/calendar.json
deleted file mode 100644
index f754cfb8f61..00000000000
--- a/apps/www/public/r/styles/new-york/calendar.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "calendar",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "react-day-picker@8.10.1",
- "date-fns"
- ],
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "ui/calendar.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { ChevronLeft, ChevronRight } from \"lucide-react\"\nimport { DayPicker } from \"react-day-picker\"\n\nimport { cn } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/registry/new-york/ui/button\"\n\nexport type CalendarProps = React.ComponentProps\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n ...props\n}: CalendarProps) {\n return (\n .day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md\"\n : \"[&:has([aria-selected])]:rounded-md\"\n ),\n day: cn(\n buttonVariants({ variant: \"ghost\" }),\n \"h-8 w-8 p-0 font-normal aria-selected:opacity-100\"\n ),\n day_range_start: \"day-range-start\",\n day_range_end: \"day-range-end\",\n day_selected:\n \"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground\",\n day_today: \"bg-accent text-accent-foreground\",\n day_outside:\n \"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground\",\n day_disabled: \"text-muted-foreground opacity-50\",\n day_range_middle:\n \"aria-selected:bg-accent aria-selected:text-accent-foreground\",\n day_hidden: \"invisible\",\n ...classNames,\n }}\n components={{\n IconLeft: ({ className, ...props }) => (\n \n ),\n IconRight: ({ className, ...props }) => (\n \n ),\n }}\n {...props}\n />\n )\n}\nCalendar.displayName = \"Calendar\"\n\nexport { Calendar }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/card-demo.json b/apps/www/public/r/styles/new-york/card-demo.json
deleted file mode 100644
index 6c1b84a38b1..00000000000
--- a/apps/www/public/r/styles/new-york/card-demo.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "card-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "button",
- "switch"
- ],
- "files": [
- {
- "path": "examples/card-demo.tsx",
- "content": "import { BellRing, Check } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport { Switch } from \"@/registry/new-york/ui/switch\"\n\nconst notifications = [\n {\n title: \"Your call has been confirmed.\",\n description: \"1 hour ago\",\n },\n {\n title: \"You have a new message!\",\n description: \"1 hour ago\",\n },\n {\n title: \"Your subscription is expiring soon!\",\n description: \"2 hours ago\",\n },\n]\n\ntype CardProps = React.ComponentProps\n\nexport default function CardDemo({ className, ...props }: CardProps) {\n return (\n \n \n Notifications\n You have 3 unread messages.\n \n \n \n
\n
\n
\n Push Notifications\n
\n
\n Send notifications to device.\n
\n
\n
\n
\n \n {notifications.map((notification, index) => (\n
\n
\n
\n
\n {notification.title}\n
\n
\n {notification.description}\n
\n
\n
\n ))}\n
\n \n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/card-with-form.json b/apps/www/public/r/styles/new-york/card-with-form.json
deleted file mode 100644
index 396d3554cc3..00000000000
--- a/apps/www/public/r/styles/new-york/card-with-form.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "card-with-form",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "button",
- "card",
- "input",
- "label",
- "select"
- ],
- "files": [
- {
- "path": "examples/card-with-form.tsx",
- "content": "import * as React from \"react\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport { Input } from \"@/registry/new-york/ui/input\"\nimport { Label } from \"@/registry/new-york/ui/label\"\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/registry/new-york/ui/select\"\n\nexport default function CardWithForm() {\n return (\n \n \n Create project\n Deploy your new project in one-click.\n \n \n \n \n \n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/card.json b/apps/www/public/r/styles/new-york/card.json
deleted file mode 100644
index ba037ae57b8..00000000000
--- a/apps/www/public/r/styles/new-york/card.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "card",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "ui/card.tsx",
- "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCard.displayName = \"Card\"\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCardHeader.displayName = \"CardHeader\"\n\nconst CardTitle = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCardTitle.displayName = \"CardTitle\"\n\nconst CardDescription = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCardDescription.displayName = \"CardDescription\"\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCardContent.displayName = \"CardContent\"\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCardFooter.displayName = \"CardFooter\"\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel-api.json b/apps/www/public/r/styles/new-york/carousel-api.json
deleted file mode 100644
index 74167edcac4..00000000000
--- a/apps/www/public/r/styles/new-york/carousel-api.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel-api",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "carousel"
- ],
- "files": [
- {
- "path": "examples/carousel-api.tsx",
- "content": "import * as React from \"react\"\n\nimport { Card, CardContent } from \"@/registry/new-york/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n type CarouselApi,\n} from \"@/registry/new-york/ui/carousel\"\n\nexport default function CarouselDApiDemo() {\n const [api, setApi] = React.useState()\n const [current, setCurrent] = React.useState(0)\n const [count, setCount] = React.useState(0)\n\n React.useEffect(() => {\n if (!api) {\n return\n }\n\n setCount(api.scrollSnapList().length)\n setCurrent(api.selectedScrollSnap() + 1)\n\n api.on(\"select\", () => {\n setCurrent(api.selectedScrollSnap() + 1)\n })\n }, [api])\n\n return (\n \n
\n \n {Array.from({ length: 5 }).map((_, index) => (\n \n \n \n {index + 1}\n \n \n \n ))}\n \n \n \n \n
\n Slide {current} of {count}\n
\n
\n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel-demo.json b/apps/www/public/r/styles/new-york/carousel-demo.json
deleted file mode 100644
index 4bdb332b27e..00000000000
--- a/apps/www/public/r/styles/new-york/carousel-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "carousel"
- ],
- "files": [
- {
- "path": "examples/carousel-demo.tsx",
- "content": "import * as React from \"react\"\n\nimport { Card, CardContent } from \"@/registry/new-york/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n} from \"@/registry/new-york/ui/carousel\"\n\nexport default function CarouselDemo() {\n return (\n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n \n \n \n {index + 1}\n \n \n
\n \n ))}\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel-orientation.json b/apps/www/public/r/styles/new-york/carousel-orientation.json
deleted file mode 100644
index 1dc8eebf7c4..00000000000
--- a/apps/www/public/r/styles/new-york/carousel-orientation.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel-orientation",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "carousel"
- ],
- "files": [
- {
- "path": "examples/carousel-orientation.tsx",
- "content": "import * as React from \"react\"\n\nimport { Card, CardContent } from \"@/registry/new-york/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n} from \"@/registry/new-york/ui/carousel\"\n\nexport default function CarouselOrientation() {\n return (\n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n \n \n \n {index + 1}\n \n \n
\n \n ))}\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel-plugin.json b/apps/www/public/r/styles/new-york/carousel-plugin.json
deleted file mode 100644
index cc29a0053de..00000000000
--- a/apps/www/public/r/styles/new-york/carousel-plugin.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel-plugin",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "carousel"
- ],
- "files": [
- {
- "path": "examples/carousel-plugin.tsx",
- "content": "import * as React from \"react\"\nimport Autoplay from \"embla-carousel-autoplay\"\n\nimport { Card, CardContent } from \"@/registry/new-york/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n} from \"@/registry/new-york/ui/carousel\"\n\nexport default function CarouselPlugin() {\n const plugin = React.useRef(\n Autoplay({ delay: 2000, stopOnInteraction: true })\n )\n\n return (\n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n \n \n \n {index + 1}\n \n \n
\n \n ))}\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel-size.json b/apps/www/public/r/styles/new-york/carousel-size.json
deleted file mode 100644
index 6d890f1a5f5..00000000000
--- a/apps/www/public/r/styles/new-york/carousel-size.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel-size",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "carousel"
- ],
- "files": [
- {
- "path": "examples/carousel-size.tsx",
- "content": "import * as React from \"react\"\n\nimport { Card, CardContent } from \"@/registry/new-york/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n} from \"@/registry/new-york/ui/carousel\"\n\nexport default function CarouselSize() {\n return (\n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n \n \n \n {index + 1}\n \n \n
\n \n ))}\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel-spacing.json b/apps/www/public/r/styles/new-york/carousel-spacing.json
deleted file mode 100644
index a3d693b310c..00000000000
--- a/apps/www/public/r/styles/new-york/carousel-spacing.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel-spacing",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "carousel"
- ],
- "files": [
- {
- "path": "examples/carousel-spacing.tsx",
- "content": "import * as React from \"react\"\n\nimport { Card, CardContent } from \"@/registry/new-york/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n} from \"@/registry/new-york/ui/carousel\"\n\nexport default function CarouselSpacing() {\n return (\n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n \n \n \n {index + 1}\n \n \n
\n \n ))}\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/carousel.json b/apps/www/public/r/styles/new-york/carousel.json
deleted file mode 100644
index 6151aa3e483..00000000000
--- a/apps/www/public/r/styles/new-york/carousel.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "carousel",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "embla-carousel-react"
- ],
- "registryDependencies": [
- "button"
- ],
- "files": [
- {
- "path": "ui/carousel.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport useEmblaCarousel, {\n type UseEmblaCarouselType,\n} from \"embla-carousel-react\"\nimport { ArrowLeft, ArrowRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/registry/new-york/ui/button\"\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype UseCarouselParameters = Parameters\ntype CarouselOptions = UseCarouselParameters[0]\ntype CarouselPlugin = UseCarouselParameters[1]\n\ntype CarouselProps = {\n opts?: CarouselOptions\n plugins?: CarouselPlugin\n orientation?: \"horizontal\" | \"vertical\"\n setApi?: (api: CarouselApi) => void\n}\n\ntype CarouselContextProps = {\n carouselRef: ReturnType[0]\n api: ReturnType[1]\n scrollPrev: () => void\n scrollNext: () => void\n canScrollPrev: boolean\n canScrollNext: boolean\n} & CarouselProps\n\nconst CarouselContext = React.createContext(null)\n\nfunction useCarousel() {\n const context = React.useContext(CarouselContext)\n\n if (!context) {\n throw new Error(\"useCarousel must be used within a \")\n }\n\n return context\n}\n\nconst Carousel = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes & CarouselProps\n>(\n (\n {\n orientation = \"horizontal\",\n opts,\n setApi,\n plugins,\n className,\n children,\n ...props\n },\n ref\n ) => {\n const [carouselRef, api] = useEmblaCarousel(\n {\n ...opts,\n axis: orientation === \"horizontal\" ? \"x\" : \"y\",\n },\n plugins\n )\n const [canScrollPrev, setCanScrollPrev] = React.useState(false)\n const [canScrollNext, setCanScrollNext] = React.useState(false)\n\n const onSelect = React.useCallback((api: CarouselApi) => {\n if (!api) {\n return\n }\n\n setCanScrollPrev(api.canScrollPrev())\n setCanScrollNext(api.canScrollNext())\n }, [])\n\n const scrollPrev = React.useCallback(() => {\n api?.scrollPrev()\n }, [api])\n\n const scrollNext = React.useCallback(() => {\n api?.scrollNext()\n }, [api])\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key === \"ArrowLeft\") {\n event.preventDefault()\n scrollPrev()\n } else if (event.key === \"ArrowRight\") {\n event.preventDefault()\n scrollNext()\n }\n },\n [scrollPrev, scrollNext]\n )\n\n React.useEffect(() => {\n if (!api || !setApi) {\n return\n }\n\n setApi(api)\n }, [api, setApi])\n\n React.useEffect(() => {\n if (!api) {\n return\n }\n\n onSelect(api)\n api.on(\"reInit\", onSelect)\n api.on(\"select\", onSelect)\n\n return () => {\n api?.off(\"select\", onSelect)\n }\n }, [api, onSelect])\n\n return (\n \n \n {children}\n
\n \n )\n }\n)\nCarousel.displayName = \"Carousel\"\n\nconst CarouselContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => {\n const { carouselRef, orientation } = useCarousel()\n\n return (\n \n )\n})\nCarouselContent.displayName = \"CarouselContent\"\n\nconst CarouselItem = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => {\n const { orientation } = useCarousel()\n\n return (\n \n )\n})\nCarouselItem.displayName = \"CarouselItem\"\n\nconst CarouselPrevious = React.forwardRef<\n HTMLButtonElement,\n React.ComponentProps\n>(({ className, variant = \"outline\", size = \"icon\", ...props }, ref) => {\n const { orientation, scrollPrev, canScrollPrev } = useCarousel()\n\n return (\n \n )\n})\nCarouselPrevious.displayName = \"CarouselPrevious\"\n\nconst CarouselNext = React.forwardRef<\n HTMLButtonElement,\n React.ComponentProps\n>(({ className, variant = \"outline\", size = \"icon\", ...props }, ref) => {\n const { orientation, scrollNext, canScrollNext } = useCarousel()\n\n return (\n \n )\n})\nCarouselNext.displayName = \"CarouselNext\"\n\nexport {\n type CarouselApi,\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselPrevious,\n CarouselNext,\n}\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-axes.json b/apps/www/public/r/styles/new-york/chart-area-axes.json
deleted file mode 100644
index 3a918c41da2..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-axes.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-axes",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-axes.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis, YAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Axes\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n \n } />\n \n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-default.json b/apps/www/public/r/styles/new-york/chart-area-default.json
deleted file mode 100644
index 0e00173d5c6..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-default.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-default",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-default.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-gradient.json b/apps/www/public/r/styles/new-york/chart-area-gradient.json
deleted file mode 100644
index ad50586d5a7..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-gradient.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-gradient",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-gradient.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Gradient\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n } />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-icons.json b/apps/www/public/r/styles/new-york/chart-area-icons.json
deleted file mode 100644
index b93f86af9f4..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-icons.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-icons",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-icons.tsx",
- "content": "\"use client\"\n\nimport { TrendingDown, TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n icon: TrendingDown,\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n icon: TrendingUp,\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Icons\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n } />\n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-interactive.json b/apps/www/public/r/styles/new-york/chart-area-interactive.json
deleted file mode 100644
index e84fcfe99f4..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-interactive.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-interactive",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart",
- "select"
- ],
- "files": [
- {
- "path": "charts/chart-area-interactive.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/registry/new-york/ui/select\"\nconst chartData = [\n { date: \"2024-04-01\", desktop: 222, mobile: 150 },\n { date: \"2024-04-02\", desktop: 97, mobile: 180 },\n { date: \"2024-04-03\", desktop: 167, mobile: 120 },\n { date: \"2024-04-04\", desktop: 242, mobile: 260 },\n { date: \"2024-04-05\", desktop: 373, mobile: 290 },\n { date: \"2024-04-06\", desktop: 301, mobile: 340 },\n { date: \"2024-04-07\", desktop: 245, mobile: 180 },\n { date: \"2024-04-08\", desktop: 409, mobile: 320 },\n { date: \"2024-04-09\", desktop: 59, mobile: 110 },\n { date: \"2024-04-10\", desktop: 261, mobile: 190 },\n { date: \"2024-04-11\", desktop: 327, mobile: 350 },\n { date: \"2024-04-12\", desktop: 292, mobile: 210 },\n { date: \"2024-04-13\", desktop: 342, mobile: 380 },\n { date: \"2024-04-14\", desktop: 137, mobile: 220 },\n { date: \"2024-04-15\", desktop: 120, mobile: 170 },\n { date: \"2024-04-16\", desktop: 138, mobile: 190 },\n { date: \"2024-04-17\", desktop: 446, mobile: 360 },\n { date: \"2024-04-18\", desktop: 364, mobile: 410 },\n { date: \"2024-04-19\", desktop: 243, mobile: 180 },\n { date: \"2024-04-20\", desktop: 89, mobile: 150 },\n { date: \"2024-04-21\", desktop: 137, mobile: 200 },\n { date: \"2024-04-22\", desktop: 224, mobile: 170 },\n { date: \"2024-04-23\", desktop: 138, mobile: 230 },\n { date: \"2024-04-24\", desktop: 387, mobile: 290 },\n { date: \"2024-04-25\", desktop: 215, mobile: 250 },\n { date: \"2024-04-26\", desktop: 75, mobile: 130 },\n { date: \"2024-04-27\", desktop: 383, mobile: 420 },\n { date: \"2024-04-28\", desktop: 122, mobile: 180 },\n { date: \"2024-04-29\", desktop: 315, mobile: 240 },\n { date: \"2024-04-30\", desktop: 454, mobile: 380 },\n { date: \"2024-05-01\", desktop: 165, mobile: 220 },\n { date: \"2024-05-02\", desktop: 293, mobile: 310 },\n { date: \"2024-05-03\", desktop: 247, mobile: 190 },\n { date: \"2024-05-04\", desktop: 385, mobile: 420 },\n { date: \"2024-05-05\", desktop: 481, mobile: 390 },\n { date: \"2024-05-06\", desktop: 498, mobile: 520 },\n { date: \"2024-05-07\", desktop: 388, mobile: 300 },\n { date: \"2024-05-08\", desktop: 149, mobile: 210 },\n { date: \"2024-05-09\", desktop: 227, mobile: 180 },\n { date: \"2024-05-10\", desktop: 293, mobile: 330 },\n { date: \"2024-05-11\", desktop: 335, mobile: 270 },\n { date: \"2024-05-12\", desktop: 197, mobile: 240 },\n { date: \"2024-05-13\", desktop: 197, mobile: 160 },\n { date: \"2024-05-14\", desktop: 448, mobile: 490 },\n { date: \"2024-05-15\", desktop: 473, mobile: 380 },\n { date: \"2024-05-16\", desktop: 338, mobile: 400 },\n { date: \"2024-05-17\", desktop: 499, mobile: 420 },\n { date: \"2024-05-18\", desktop: 315, mobile: 350 },\n { date: \"2024-05-19\", desktop: 235, mobile: 180 },\n { date: \"2024-05-20\", desktop: 177, mobile: 230 },\n { date: \"2024-05-21\", desktop: 82, mobile: 140 },\n { date: \"2024-05-22\", desktop: 81, mobile: 120 },\n { date: \"2024-05-23\", desktop: 252, mobile: 290 },\n { date: \"2024-05-24\", desktop: 294, mobile: 220 },\n { date: \"2024-05-25\", desktop: 201, mobile: 250 },\n { date: \"2024-05-26\", desktop: 213, mobile: 170 },\n { date: \"2024-05-27\", desktop: 420, mobile: 460 },\n { date: \"2024-05-28\", desktop: 233, mobile: 190 },\n { date: \"2024-05-29\", desktop: 78, mobile: 130 },\n { date: \"2024-05-30\", desktop: 340, mobile: 280 },\n { date: \"2024-05-31\", desktop: 178, mobile: 230 },\n { date: \"2024-06-01\", desktop: 178, mobile: 200 },\n { date: \"2024-06-02\", desktop: 470, mobile: 410 },\n { date: \"2024-06-03\", desktop: 103, mobile: 160 },\n { date: \"2024-06-04\", desktop: 439, mobile: 380 },\n { date: \"2024-06-05\", desktop: 88, mobile: 140 },\n { date: \"2024-06-06\", desktop: 294, mobile: 250 },\n { date: \"2024-06-07\", desktop: 323, mobile: 370 },\n { date: \"2024-06-08\", desktop: 385, mobile: 320 },\n { date: \"2024-06-09\", desktop: 438, mobile: 480 },\n { date: \"2024-06-10\", desktop: 155, mobile: 200 },\n { date: \"2024-06-11\", desktop: 92, mobile: 150 },\n { date: \"2024-06-12\", desktop: 492, mobile: 420 },\n { date: \"2024-06-13\", desktop: 81, mobile: 130 },\n { date: \"2024-06-14\", desktop: 426, mobile: 380 },\n { date: \"2024-06-15\", desktop: 307, mobile: 350 },\n { date: \"2024-06-16\", desktop: 371, mobile: 310 },\n { date: \"2024-06-17\", desktop: 475, mobile: 520 },\n { date: \"2024-06-18\", desktop: 107, mobile: 170 },\n { date: \"2024-06-19\", desktop: 341, mobile: 290 },\n { date: \"2024-06-20\", desktop: 408, mobile: 450 },\n { date: \"2024-06-21\", desktop: 169, mobile: 210 },\n { date: \"2024-06-22\", desktop: 317, mobile: 270 },\n { date: \"2024-06-23\", desktop: 480, mobile: 530 },\n { date: \"2024-06-24\", desktop: 132, mobile: 180 },\n { date: \"2024-06-25\", desktop: 141, mobile: 190 },\n { date: \"2024-06-26\", desktop: 434, mobile: 380 },\n { date: \"2024-06-27\", desktop: 448, mobile: 490 },\n { date: \"2024-06-28\", desktop: 149, mobile: 200 },\n { date: \"2024-06-29\", desktop: 103, mobile: 160 },\n { date: \"2024-06-30\", desktop: 446, mobile: 400 },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n const [timeRange, setTimeRange] = React.useState(\"90d\")\n\n const filteredData = chartData.filter((item) => {\n const date = new Date(item.date)\n const referenceDate = new Date(\"2024-06-30\")\n let daysToSubtract = 90\n if (timeRange === \"30d\") {\n daysToSubtract = 30\n } else if (timeRange === \"7d\") {\n daysToSubtract = 7\n }\n const startDate = new Date(referenceDate)\n startDate.setDate(startDate.getDate() - daysToSubtract)\n return date >= startDate\n })\n\n return (\n \n \n \n Area Chart - Interactive\n \n Showing total visitors for the last 3 months\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n const date = new Date(value)\n return date.toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n })\n }}\n />\n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n })\n }}\n indicator=\"dot\"\n />\n }\n />\n \n \n } />\n \n \n \n \n )\n}\n",
- "type": "registry:component",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-legend.json b/apps/www/public/r/styles/new-york/chart-area-legend.json
deleted file mode 100644
index c2071788d71..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-legend.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-legend",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-legend.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Legend\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n } />\n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-linear.json b/apps/www/public/r/styles/new-york/chart-area-linear.json
deleted file mode 100644
index 688afc066a9..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-linear.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-linear",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-linear.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Linear\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-stacked-expand.json b/apps/www/public/r/styles/new-york/chart-area-stacked-expand.json
deleted file mode 100644
index 91feaf37204..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-stacked-expand.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-stacked-expand",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-stacked-expand.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80, other: 45 },\n { month: \"February\", desktop: 305, mobile: 200, other: 100 },\n { month: \"March\", desktop: 237, mobile: 120, other: 150 },\n { month: \"April\", desktop: 73, mobile: 190, other: 50 },\n { month: \"May\", desktop: 209, mobile: 130, other: 100 },\n { month: \"June\", desktop: 214, mobile: 140, other: 160 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-3))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Stacked Expanded\n \n Showing total visitors for the last 6months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-stacked.json b/apps/www/public/r/styles/new-york/chart-area-stacked.json
deleted file mode 100644
index ef67ea3e885..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-stacked.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-stacked",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-stacked.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Stacked\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-area-step.json b/apps/www/public/r/styles/new-york/chart-area-step.json
deleted file mode 100644
index 6dc2d8efe44..00000000000
--- a/apps/www/public/r/styles/new-york/chart-area-step.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-area-step",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-area-step.tsx",
- "content": "\"use client\"\n\nimport { Activity, TrendingUp } from \"lucide-react\"\nimport { Area, AreaChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n icon: Activity,\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Area Chart - Step\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n January - June 2024\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-area"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-active.json b/apps/www/public/r/styles/new-york/chart-bar-active.json
deleted file mode 100644
index a7210f2f5d8..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-active.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-active",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-active.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, Rectangle, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 187, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 275, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Active\n January - June 2024\n \n \n \n \n \n \n chartConfig[value as keyof typeof chartConfig]?.label\n }\n />\n }\n />\n {\n return (\n \n )\n }}\n />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-default.json b/apps/www/public/r/styles/new-york/chart-bar-default.json
deleted file mode 100644
index 179af19cd90..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-default.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-default",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-default.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-demo-axis.json b/apps/www/public/r/styles/new-york/chart-bar-demo-axis.json
deleted file mode 100644
index be930f91aeb..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-demo-axis.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-demo-axis",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "examples/chart-bar-demo-axis.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport { ChartConfig, ChartContainer } from \"@/registry/new-york/ui/chart\"\n\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"#2563eb\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"#60a5fa\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n \n value.slice(0, 3)}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-demo-grid.json b/apps/www/public/r/styles/new-york/chart-bar-demo-grid.json
deleted file mode 100644
index 77538b2465f..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-demo-grid.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-demo-grid",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "examples/chart-bar-demo-grid.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, CartesianGrid } from \"recharts\"\n\nimport { ChartConfig, ChartContainer } from \"@/registry/new-york/ui/chart\"\n\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"#2563eb\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"#60a5fa\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n \n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-demo-legend.json b/apps/www/public/r/styles/new-york/chart-bar-demo-legend.json
deleted file mode 100644
index 8c8a9a0e8fe..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-demo-legend.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-demo-legend",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "examples/chart-bar-demo-legend.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\n\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"#2563eb\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"#60a5fa\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n \n value.slice(0, 3)}\n />\n } />\n } />\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-demo-tooltip.json b/apps/www/public/r/styles/new-york/chart-bar-demo-tooltip.json
deleted file mode 100644
index 87705dc8739..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-demo-tooltip.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-demo-tooltip",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "examples/chart-bar-demo-tooltip.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\n\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"#2563eb\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"#60a5fa\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n \n value.slice(0, 3)}\n />\n } />\n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-demo.json b/apps/www/public/r/styles/new-york/chart-bar-demo.json
deleted file mode 100644
index 6557b543280..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-demo.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "examples/chart-bar-demo.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart } from \"recharts\"\n\nimport { ChartConfig, ChartContainer } from \"@/registry/new-york/ui/chart\"\n\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"#2563eb\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"#60a5fa\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n \n \n \n \n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-horizontal.json b/apps/www/public/r/styles/new-york/chart-bar-horizontal.json
deleted file mode 100644
index 0247254f219..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-horizontal.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-horizontal",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-horizontal.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, XAxis, YAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Horizontal\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-interactive.json b/apps/www/public/r/styles/new-york/chart-bar-interactive.json
deleted file mode 100644
index 44b072947e5..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-interactive.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-interactive",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-interactive.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-04-01\", desktop: 222, mobile: 150 },\n { date: \"2024-04-02\", desktop: 97, mobile: 180 },\n { date: \"2024-04-03\", desktop: 167, mobile: 120 },\n { date: \"2024-04-04\", desktop: 242, mobile: 260 },\n { date: \"2024-04-05\", desktop: 373, mobile: 290 },\n { date: \"2024-04-06\", desktop: 301, mobile: 340 },\n { date: \"2024-04-07\", desktop: 245, mobile: 180 },\n { date: \"2024-04-08\", desktop: 409, mobile: 320 },\n { date: \"2024-04-09\", desktop: 59, mobile: 110 },\n { date: \"2024-04-10\", desktop: 261, mobile: 190 },\n { date: \"2024-04-11\", desktop: 327, mobile: 350 },\n { date: \"2024-04-12\", desktop: 292, mobile: 210 },\n { date: \"2024-04-13\", desktop: 342, mobile: 380 },\n { date: \"2024-04-14\", desktop: 137, mobile: 220 },\n { date: \"2024-04-15\", desktop: 120, mobile: 170 },\n { date: \"2024-04-16\", desktop: 138, mobile: 190 },\n { date: \"2024-04-17\", desktop: 446, mobile: 360 },\n { date: \"2024-04-18\", desktop: 364, mobile: 410 },\n { date: \"2024-04-19\", desktop: 243, mobile: 180 },\n { date: \"2024-04-20\", desktop: 89, mobile: 150 },\n { date: \"2024-04-21\", desktop: 137, mobile: 200 },\n { date: \"2024-04-22\", desktop: 224, mobile: 170 },\n { date: \"2024-04-23\", desktop: 138, mobile: 230 },\n { date: \"2024-04-24\", desktop: 387, mobile: 290 },\n { date: \"2024-04-25\", desktop: 215, mobile: 250 },\n { date: \"2024-04-26\", desktop: 75, mobile: 130 },\n { date: \"2024-04-27\", desktop: 383, mobile: 420 },\n { date: \"2024-04-28\", desktop: 122, mobile: 180 },\n { date: \"2024-04-29\", desktop: 315, mobile: 240 },\n { date: \"2024-04-30\", desktop: 454, mobile: 380 },\n { date: \"2024-05-01\", desktop: 165, mobile: 220 },\n { date: \"2024-05-02\", desktop: 293, mobile: 310 },\n { date: \"2024-05-03\", desktop: 247, mobile: 190 },\n { date: \"2024-05-04\", desktop: 385, mobile: 420 },\n { date: \"2024-05-05\", desktop: 481, mobile: 390 },\n { date: \"2024-05-06\", desktop: 498, mobile: 520 },\n { date: \"2024-05-07\", desktop: 388, mobile: 300 },\n { date: \"2024-05-08\", desktop: 149, mobile: 210 },\n { date: \"2024-05-09\", desktop: 227, mobile: 180 },\n { date: \"2024-05-10\", desktop: 293, mobile: 330 },\n { date: \"2024-05-11\", desktop: 335, mobile: 270 },\n { date: \"2024-05-12\", desktop: 197, mobile: 240 },\n { date: \"2024-05-13\", desktop: 197, mobile: 160 },\n { date: \"2024-05-14\", desktop: 448, mobile: 490 },\n { date: \"2024-05-15\", desktop: 473, mobile: 380 },\n { date: \"2024-05-16\", desktop: 338, mobile: 400 },\n { date: \"2024-05-17\", desktop: 499, mobile: 420 },\n { date: \"2024-05-18\", desktop: 315, mobile: 350 },\n { date: \"2024-05-19\", desktop: 235, mobile: 180 },\n { date: \"2024-05-20\", desktop: 177, mobile: 230 },\n { date: \"2024-05-21\", desktop: 82, mobile: 140 },\n { date: \"2024-05-22\", desktop: 81, mobile: 120 },\n { date: \"2024-05-23\", desktop: 252, mobile: 290 },\n { date: \"2024-05-24\", desktop: 294, mobile: 220 },\n { date: \"2024-05-25\", desktop: 201, mobile: 250 },\n { date: \"2024-05-26\", desktop: 213, mobile: 170 },\n { date: \"2024-05-27\", desktop: 420, mobile: 460 },\n { date: \"2024-05-28\", desktop: 233, mobile: 190 },\n { date: \"2024-05-29\", desktop: 78, mobile: 130 },\n { date: \"2024-05-30\", desktop: 340, mobile: 280 },\n { date: \"2024-05-31\", desktop: 178, mobile: 230 },\n { date: \"2024-06-01\", desktop: 178, mobile: 200 },\n { date: \"2024-06-02\", desktop: 470, mobile: 410 },\n { date: \"2024-06-03\", desktop: 103, mobile: 160 },\n { date: \"2024-06-04\", desktop: 439, mobile: 380 },\n { date: \"2024-06-05\", desktop: 88, mobile: 140 },\n { date: \"2024-06-06\", desktop: 294, mobile: 250 },\n { date: \"2024-06-07\", desktop: 323, mobile: 370 },\n { date: \"2024-06-08\", desktop: 385, mobile: 320 },\n { date: \"2024-06-09\", desktop: 438, mobile: 480 },\n { date: \"2024-06-10\", desktop: 155, mobile: 200 },\n { date: \"2024-06-11\", desktop: 92, mobile: 150 },\n { date: \"2024-06-12\", desktop: 492, mobile: 420 },\n { date: \"2024-06-13\", desktop: 81, mobile: 130 },\n { date: \"2024-06-14\", desktop: 426, mobile: 380 },\n { date: \"2024-06-15\", desktop: 307, mobile: 350 },\n { date: \"2024-06-16\", desktop: 371, mobile: 310 },\n { date: \"2024-06-17\", desktop: 475, mobile: 520 },\n { date: \"2024-06-18\", desktop: 107, mobile: 170 },\n { date: \"2024-06-19\", desktop: 341, mobile: 290 },\n { date: \"2024-06-20\", desktop: 408, mobile: 450 },\n { date: \"2024-06-21\", desktop: 169, mobile: 210 },\n { date: \"2024-06-22\", desktop: 317, mobile: 270 },\n { date: \"2024-06-23\", desktop: 480, mobile: 530 },\n { date: \"2024-06-24\", desktop: 132, mobile: 180 },\n { date: \"2024-06-25\", desktop: 141, mobile: 190 },\n { date: \"2024-06-26\", desktop: 434, mobile: 380 },\n { date: \"2024-06-27\", desktop: 448, mobile: 490 },\n { date: \"2024-06-28\", desktop: 149, mobile: 200 },\n { date: \"2024-06-29\", desktop: 103, mobile: 160 },\n { date: \"2024-06-30\", desktop: 446, mobile: 400 },\n]\n\nconst chartConfig = {\n views: {\n label: \"Page Views\",\n },\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n const [activeChart, setActiveChart] =\n React.useState(\"desktop\")\n\n const total = React.useMemo(\n () => ({\n desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0),\n mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0),\n }),\n []\n )\n\n return (\n \n \n \n Bar Chart - Interactive\n \n Showing total visitors for the last 3 months\n \n
\n \n {[\"desktop\", \"mobile\"].map((key) => {\n const chart = key as keyof typeof chartConfig\n return (\n \n )\n })}\n
\n \n \n \n \n \n {\n const date = new Date(value)\n return date.toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n })\n }}\n />\n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n year: \"numeric\",\n })\n }}\n />\n }\n />\n \n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-label-custom.json b/apps/www/public/r/styles/new-york/chart-bar-label-custom.json
deleted file mode 100644
index bc03827c278..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-label-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-label-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-label-custom.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, LabelList, XAxis, YAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n label: {\n color: \"hsl(var(--background))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Custom Label\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n hide\n />\n \n }\n />\n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-label.json b/apps/www/public/r/styles/new-york/chart-bar-label.json
deleted file mode 100644
index 4a236c9316e..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-label.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-label",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-label.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, LabelList, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Label\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-mixed.json b/apps/www/public/r/styles/new-york/chart-bar-mixed.json
deleted file mode 100644
index 36a77415d7c..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-mixed.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-mixed",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-mixed.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, XAxis, YAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Mixed\n January - June 2024\n \n \n \n \n \n chartConfig[value as keyof typeof chartConfig]?.label\n }\n />\n \n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-multiple.json b/apps/www/public/r/styles/new-york/chart-bar-multiple.json
deleted file mode 100644
index 4e100e2a68c..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-multiple.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-multiple",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-multiple.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Multiple\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-negative.json b/apps/www/public/r/styles/new-york/chart-bar-negative.json
deleted file mode 100644
index fffb5c7f2cc..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-negative.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-negative",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-negative.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, Cell, LabelList } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", visitors: 186 },\n { month: \"February\", visitors: 205 },\n { month: \"March\", visitors: -207 },\n { month: \"April\", visitors: 173 },\n { month: \"May\", visitors: -209 },\n { month: \"June\", visitors: 214 },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Negative\n January - June 2024\n \n \n \n \n \n }\n />\n \n \n {chartData.map((item) => (\n 0\n ? \"hsl(var(--chart-1))\"\n : \"hsl(var(--chart-2))\"\n }\n />\n ))}\n | \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-bar-stacked.json b/apps/www/public/r/styles/new-york/chart-bar-stacked.json
deleted file mode 100644
index 7c8ede31179..00000000000
--- a/apps/www/public/r/styles/new-york/chart-bar-stacked.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-bar-stacked",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-bar-stacked.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Bar, BarChart, CartesianGrid, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Bar Chart - Stacked + Legend\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n } />\n } />\n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-bar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-default.json b/apps/www/public/r/styles/new-york/chart-line-default.json
deleted file mode 100644
index 9cf435e22fd..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-default.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-default",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-default.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-dots-colors.json b/apps/www/public/r/styles/new-york/chart-line-dots-colors.json
deleted file mode 100644
index 96c75f2d1c1..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-dots-colors.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-dots-colors",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-dots-colors.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Dot, Line, LineChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n color: \"hsl(var(--chart-2))\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Dots Colors\n January - June 2024\n \n \n \n \n \n \n }\n />\n {\n return (\n \n )\n }}\n />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-dots-custom.json b/apps/www/public/r/styles/new-york/chart-line-dots-custom.json
deleted file mode 100644
index 61ca9189f4a..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-dots-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-dots-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-dots-custom.tsx",
- "content": "\"use client\"\n\nimport { GitCommitVertical, TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Custom Dots\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n {\n const r = 24\n return (\n \n )\n }}\n />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-dots.json b/apps/www/public/r/styles/new-york/chart-line-dots.json
deleted file mode 100644
index 30dc6b15e7c..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-dots.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-dots",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-dots.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Dots\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-interactive.json b/apps/www/public/r/styles/new-york/chart-line-interactive.json
deleted file mode 100644
index ca50122446a..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-interactive.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-interactive",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-interactive.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-04-01\", desktop: 222, mobile: 150 },\n { date: \"2024-04-02\", desktop: 97, mobile: 180 },\n { date: \"2024-04-03\", desktop: 167, mobile: 120 },\n { date: \"2024-04-04\", desktop: 242, mobile: 260 },\n { date: \"2024-04-05\", desktop: 373, mobile: 290 },\n { date: \"2024-04-06\", desktop: 301, mobile: 340 },\n { date: \"2024-04-07\", desktop: 245, mobile: 180 },\n { date: \"2024-04-08\", desktop: 409, mobile: 320 },\n { date: \"2024-04-09\", desktop: 59, mobile: 110 },\n { date: \"2024-04-10\", desktop: 261, mobile: 190 },\n { date: \"2024-04-11\", desktop: 327, mobile: 350 },\n { date: \"2024-04-12\", desktop: 292, mobile: 210 },\n { date: \"2024-04-13\", desktop: 342, mobile: 380 },\n { date: \"2024-04-14\", desktop: 137, mobile: 220 },\n { date: \"2024-04-15\", desktop: 120, mobile: 170 },\n { date: \"2024-04-16\", desktop: 138, mobile: 190 },\n { date: \"2024-04-17\", desktop: 446, mobile: 360 },\n { date: \"2024-04-18\", desktop: 364, mobile: 410 },\n { date: \"2024-04-19\", desktop: 243, mobile: 180 },\n { date: \"2024-04-20\", desktop: 89, mobile: 150 },\n { date: \"2024-04-21\", desktop: 137, mobile: 200 },\n { date: \"2024-04-22\", desktop: 224, mobile: 170 },\n { date: \"2024-04-23\", desktop: 138, mobile: 230 },\n { date: \"2024-04-24\", desktop: 387, mobile: 290 },\n { date: \"2024-04-25\", desktop: 215, mobile: 250 },\n { date: \"2024-04-26\", desktop: 75, mobile: 130 },\n { date: \"2024-04-27\", desktop: 383, mobile: 420 },\n { date: \"2024-04-28\", desktop: 122, mobile: 180 },\n { date: \"2024-04-29\", desktop: 315, mobile: 240 },\n { date: \"2024-04-30\", desktop: 454, mobile: 380 },\n { date: \"2024-05-01\", desktop: 165, mobile: 220 },\n { date: \"2024-05-02\", desktop: 293, mobile: 310 },\n { date: \"2024-05-03\", desktop: 247, mobile: 190 },\n { date: \"2024-05-04\", desktop: 385, mobile: 420 },\n { date: \"2024-05-05\", desktop: 481, mobile: 390 },\n { date: \"2024-05-06\", desktop: 498, mobile: 520 },\n { date: \"2024-05-07\", desktop: 388, mobile: 300 },\n { date: \"2024-05-08\", desktop: 149, mobile: 210 },\n { date: \"2024-05-09\", desktop: 227, mobile: 180 },\n { date: \"2024-05-10\", desktop: 293, mobile: 330 },\n { date: \"2024-05-11\", desktop: 335, mobile: 270 },\n { date: \"2024-05-12\", desktop: 197, mobile: 240 },\n { date: \"2024-05-13\", desktop: 197, mobile: 160 },\n { date: \"2024-05-14\", desktop: 448, mobile: 490 },\n { date: \"2024-05-15\", desktop: 473, mobile: 380 },\n { date: \"2024-05-16\", desktop: 338, mobile: 400 },\n { date: \"2024-05-17\", desktop: 499, mobile: 420 },\n { date: \"2024-05-18\", desktop: 315, mobile: 350 },\n { date: \"2024-05-19\", desktop: 235, mobile: 180 },\n { date: \"2024-05-20\", desktop: 177, mobile: 230 },\n { date: \"2024-05-21\", desktop: 82, mobile: 140 },\n { date: \"2024-05-22\", desktop: 81, mobile: 120 },\n { date: \"2024-05-23\", desktop: 252, mobile: 290 },\n { date: \"2024-05-24\", desktop: 294, mobile: 220 },\n { date: \"2024-05-25\", desktop: 201, mobile: 250 },\n { date: \"2024-05-26\", desktop: 213, mobile: 170 },\n { date: \"2024-05-27\", desktop: 420, mobile: 460 },\n { date: \"2024-05-28\", desktop: 233, mobile: 190 },\n { date: \"2024-05-29\", desktop: 78, mobile: 130 },\n { date: \"2024-05-30\", desktop: 340, mobile: 280 },\n { date: \"2024-05-31\", desktop: 178, mobile: 230 },\n { date: \"2024-06-01\", desktop: 178, mobile: 200 },\n { date: \"2024-06-02\", desktop: 470, mobile: 410 },\n { date: \"2024-06-03\", desktop: 103, mobile: 160 },\n { date: \"2024-06-04\", desktop: 439, mobile: 380 },\n { date: \"2024-06-05\", desktop: 88, mobile: 140 },\n { date: \"2024-06-06\", desktop: 294, mobile: 250 },\n { date: \"2024-06-07\", desktop: 323, mobile: 370 },\n { date: \"2024-06-08\", desktop: 385, mobile: 320 },\n { date: \"2024-06-09\", desktop: 438, mobile: 480 },\n { date: \"2024-06-10\", desktop: 155, mobile: 200 },\n { date: \"2024-06-11\", desktop: 92, mobile: 150 },\n { date: \"2024-06-12\", desktop: 492, mobile: 420 },\n { date: \"2024-06-13\", desktop: 81, mobile: 130 },\n { date: \"2024-06-14\", desktop: 426, mobile: 380 },\n { date: \"2024-06-15\", desktop: 307, mobile: 350 },\n { date: \"2024-06-16\", desktop: 371, mobile: 310 },\n { date: \"2024-06-17\", desktop: 475, mobile: 520 },\n { date: \"2024-06-18\", desktop: 107, mobile: 170 },\n { date: \"2024-06-19\", desktop: 341, mobile: 290 },\n { date: \"2024-06-20\", desktop: 408, mobile: 450 },\n { date: \"2024-06-21\", desktop: 169, mobile: 210 },\n { date: \"2024-06-22\", desktop: 317, mobile: 270 },\n { date: \"2024-06-23\", desktop: 480, mobile: 530 },\n { date: \"2024-06-24\", desktop: 132, mobile: 180 },\n { date: \"2024-06-25\", desktop: 141, mobile: 190 },\n { date: \"2024-06-26\", desktop: 434, mobile: 380 },\n { date: \"2024-06-27\", desktop: 448, mobile: 490 },\n { date: \"2024-06-28\", desktop: 149, mobile: 200 },\n { date: \"2024-06-29\", desktop: 103, mobile: 160 },\n { date: \"2024-06-30\", desktop: 446, mobile: 400 },\n]\n\nconst chartConfig = {\n views: {\n label: \"Page Views\",\n },\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n const [activeChart, setActiveChart] =\n React.useState(\"desktop\")\n\n const total = React.useMemo(\n () => ({\n desktop: chartData.reduce((acc, curr) => acc + curr.desktop, 0),\n mobile: chartData.reduce((acc, curr) => acc + curr.mobile, 0),\n }),\n []\n )\n\n return (\n \n \n \n Line Chart - Interactive\n \n Showing total visitors for the last 3 months\n \n
\n \n {[\"desktop\", \"mobile\"].map((key) => {\n const chart = key as keyof typeof chartConfig\n return (\n \n )\n })}\n
\n \n \n \n \n \n {\n const date = new Date(value)\n return date.toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n })\n }}\n />\n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n year: \"numeric\",\n })\n }}\n />\n }\n />\n \n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-label-custom.json b/apps/www/public/r/styles/new-york/chart-line-label-custom.json
deleted file mode 100644
index 2ab577700e3..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-label-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-label-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-label-custom.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, LabelList, Line, LineChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n color: \"hsl(var(--chart-2))\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Custom Label\n January - June 2024\n \n \n \n \n \n \n }\n />\n \n \n chartConfig[value]?.label\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-label.json b/apps/www/public/r/styles/new-york/chart-line-label.json
deleted file mode 100644
index e179dbda377..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-label.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-label",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-label.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, LabelList, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Label\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-linear.json b/apps/www/public/r/styles/new-york/chart-line-linear.json
deleted file mode 100644
index 489b6b61970..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-linear.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-linear",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-linear.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Linear\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-multiple.json b/apps/www/public/r/styles/new-york/chart-line-multiple.json
deleted file mode 100644
index 9256347a4d4..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-multiple.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-multiple",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-multiple.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Multiple\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n } />\n \n \n \n \n \n \n \n
\n
\n Trending up by 5.2% this month \n
\n
\n Showing total visitors for the last 6 months\n
\n
\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-line-step.json b/apps/www/public/r/styles/new-york/chart-line-step.json
deleted file mode 100644
index 1c501018b62..00000000000
--- a/apps/www/public/r/styles/new-york/chart-line-step.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-line-step",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-line-step.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { CartesianGrid, Line, LineChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 73 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Line Chart - Step\n January - June 2024\n \n \n \n \n \n value.slice(0, 3)}\n />\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-line"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-donut-active.json b/apps/www/public/r/styles/new-york/chart-pie-donut-active.json
deleted file mode 100644
index 413f21c983f..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-donut-active.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-donut-active",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-donut-active.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Label, Pie, PieChart, Sector } from \"recharts\"\nimport { PieSectorDataItem } from \"recharts/types/polar/Pie\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Donut Active\n January - June 2024\n \n \n \n \n }\n />\n (\n \n )}\n />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-donut-text.json b/apps/www/public/r/styles/new-york/chart-pie-donut-text.json
deleted file mode 100644
index df73f7a9f6d..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-donut-text.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-donut-text",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-donut-text.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { TrendingUp } from \"lucide-react\"\nimport { Label, Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 287, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 190, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n const totalVisitors = React.useMemo(() => {\n return chartData.reduce((acc, curr) => acc + curr.visitors, 0)\n }, [])\n\n return (\n \n \n Pie Chart - Donut with Text\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-donut.json b/apps/www/public/r/styles/new-york/chart-pie-donut.json
deleted file mode 100644
index 49a4602532a..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-donut.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-donut",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-donut.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Donut\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-interactive.json b/apps/www/public/r/styles/new-york/chart-pie-interactive.json
deleted file mode 100644
index b187958a243..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-interactive.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-interactive",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-interactive.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Label, Pie, PieChart, Sector } from \"recharts\"\nimport { PieSectorDataItem } from \"recharts/types/polar/Pie\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartStyle,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/registry/new-york/ui/select\"\nconst desktopData = [\n { month: \"january\", desktop: 186, fill: \"var(--color-january)\" },\n { month: \"february\", desktop: 305, fill: \"var(--color-february)\" },\n { month: \"march\", desktop: 237, fill: \"var(--color-march)\" },\n { month: \"april\", desktop: 173, fill: \"var(--color-april)\" },\n { month: \"may\", desktop: 209, fill: \"var(--color-may)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n desktop: {\n label: \"Desktop\",\n },\n mobile: {\n label: \"Mobile\",\n },\n january: {\n label: \"January\",\n color: \"hsl(var(--chart-1))\",\n },\n february: {\n label: \"February\",\n color: \"hsl(var(--chart-2))\",\n },\n march: {\n label: \"March\",\n color: \"hsl(var(--chart-3))\",\n },\n april: {\n label: \"April\",\n color: \"hsl(var(--chart-4))\",\n },\n may: {\n label: \"May\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n const id = \"pie-interactive\"\n const [activeMonth, setActiveMonth] = React.useState(desktopData[0].month)\n\n const activeIndex = React.useMemo(\n () => desktopData.findIndex((item) => item.month === activeMonth),\n [activeMonth]\n )\n const months = React.useMemo(() => desktopData.map((item) => item.month), [])\n\n return (\n \n \n \n \n Pie Chart - Interactive\n January - June 2024\n
\n \n \n \n \n \n }\n />\n (\n \n \n \n \n )}\n >\n \n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-label-custom.json b/apps/www/public/r/styles/new-york/chart-pie-label-custom.json
deleted file mode 100644
index 404db825ffe..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-label-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-label-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-label-custom.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Custom Label\n January - June 2024\n \n \n \n \n }\n />\n {\n return (\n \n {payload.visitors}\n \n )\n }}\n nameKey=\"browser\"\n />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-label-list.json b/apps/www/public/r/styles/new-york/chart-pie-label-list.json
deleted file mode 100644
index 63853f9d99b..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-label-list.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-label-list",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-label-list.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { LabelList, Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Label List\n January - June 2024\n \n \n \n \n }\n />\n \n \n chartConfig[value]?.label\n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-label.json b/apps/www/public/r/styles/new-york/chart-pie-label.json
deleted file mode 100644
index f9cf0efc912..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-label.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-label",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-label.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Label\n January - June 2024\n \n \n \n \n } />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-legend.json b/apps/www/public/r/styles/new-york/chart-pie-legend.json
deleted file mode 100644
index d29f2051c58..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-legend.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-legend",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-legend.tsx",
- "content": "\"use client\"\n\nimport { Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Legend\n January - June 2024\n \n \n \n \n \n }\n className=\"-translate-y-2 flex-wrap gap-2 [&>*]:basis-1/4 [&>*]:justify-center\"\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-separator-none.json b/apps/www/public/r/styles/new-york/chart-pie-separator-none.json
deleted file mode 100644
index 0535070416b..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-separator-none.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-separator-none",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-separator-none.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Separator None\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-simple.json b/apps/www/public/r/styles/new-york/chart-pie-simple.json
deleted file mode 100644
index d63d58ff0dd..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-simple.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-simple",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-simple.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-pie-stacked.json b/apps/www/public/r/styles/new-york/chart-pie-stacked.json
deleted file mode 100644
index 35c284368b9..00000000000
--- a/apps/www/public/r/styles/new-york/chart-pie-stacked.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-pie-stacked",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-pie-stacked.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { TrendingUp } from \"lucide-react\"\nimport { Label, Pie, PieChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst desktopData = [\n { month: \"january\", desktop: 186, fill: \"var(--color-january)\" },\n { month: \"february\", desktop: 305, fill: \"var(--color-february)\" },\n { month: \"march\", desktop: 237, fill: \"var(--color-march)\" },\n { month: \"april\", desktop: 173, fill: \"var(--color-april)\" },\n { month: \"may\", desktop: 209, fill: \"var(--color-may)\" },\n]\n\nconst mobileData = [\n { month: \"january\", mobile: 80, fill: \"var(--color-january)\" },\n { month: \"february\", mobile: 200, fill: \"var(--color-february)\" },\n { month: \"march\", mobile: 120, fill: \"var(--color-march)\" },\n { month: \"april\", mobile: 190, fill: \"var(--color-april)\" },\n { month: \"may\", mobile: 130, fill: \"var(--color-may)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n desktop: {\n label: \"Desktop\",\n },\n mobile: {\n label: \"Mobile\",\n },\n january: {\n label: \"January\",\n color: \"hsl(var(--chart-1))\",\n },\n february: {\n label: \"February\",\n color: \"hsl(var(--chart-2))\",\n },\n march: {\n label: \"March\",\n color: \"hsl(var(--chart-3))\",\n },\n april: {\n label: \"April\",\n color: \"hsl(var(--chart-4))\",\n },\n may: {\n label: \"May\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Pie Chart - Stacked\n January - June 2024\n \n \n \n \n {\n return chartConfig[\n payload?.[0].dataKey as keyof typeof chartConfig\n ].label\n }}\n />\n }\n />\n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-pie"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-default.json b/apps/www/public/r/styles/new-york/chart-radar-default.json
deleted file mode 100644
index 20f8b2519bc..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-default.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-default",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-default.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 273 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n } />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-dots.json b/apps/www/public/r/styles/new-york/chart-radar-dots.json
deleted file mode 100644
index 67c8a38cd93..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-dots.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-dots",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-dots.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 273 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Dots\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n } />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-grid-circle-fill.json b/apps/www/public/r/styles/new-york/chart-radar-grid-circle-fill.json
deleted file mode 100644
index 45901d23a2f..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-grid-circle-fill.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-grid-circle-fill",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-grid-circle-fill.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 285 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 203 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 264 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Grid Circle Filled\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n } />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-grid-circle-no-lines.json b/apps/www/public/r/styles/new-york/chart-radar-grid-circle-no-lines.json
deleted file mode 100644
index 89926c5f797..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-grid-circle-no-lines.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-grid-circle-no-lines",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-grid-circle-no-lines.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 203 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Grid Circle - No lines\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-grid-circle.json b/apps/www/public/r/styles/new-york/chart-radar-grid-circle.json
deleted file mode 100644
index 6ded1907e52..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-grid-circle.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-grid-circle",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-grid-circle.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 273 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Grid Circle\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-grid-custom.json b/apps/www/public/r/styles/new-york/chart-radar-grid-custom.json
deleted file mode 100644
index 9ab1f99292c..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-grid-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-grid-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-grid-custom.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 273 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Grid Custom\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-grid-fill.json b/apps/www/public/r/styles/new-york/chart-radar-grid-fill.json
deleted file mode 100644
index 8c46b14cb1f..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-grid-fill.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-grid-fill",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-grid-fill.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 285 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 203 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 264 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Grid Filled\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-grid-none.json b/apps/www/public/r/styles/new-york/chart-radar-grid-none.json
deleted file mode 100644
index 52d7059718a..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-grid-none.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-grid-none",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-grid-none.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186 },\n { month: \"February\", desktop: 305 },\n { month: \"March\", desktop: 237 },\n { month: \"April\", desktop: 273 },\n { month: \"May\", desktop: 209 },\n { month: \"June\", desktop: 214 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Grid None\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-icons.json b/apps/www/public/r/styles/new-york/chart-radar-icons.json
deleted file mode 100644
index 1f26249e8a6..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-icons.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-icons",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-icons.tsx",
- "content": "\"use client\"\n\nimport { ArrowDownFromLine, ArrowUpFromLine, TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n icon: ArrowDownFromLine,\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n icon: ArrowUpFromLine,\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Icons\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n } />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-label-custom.json b/apps/www/public/r/styles/new-york/chart-radar-label-custom.json
deleted file mode 100644
index 8635bbbbc90..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-label-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-label-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-label-custom.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Custom Label\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n {\n const data = chartData[index]\n\n return (\n \n {data.desktop}\n /\n {data.mobile}\n \n {data.month}\n \n \n )\n }}\n />\n\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-legend.json b/apps/www/public/r/styles/new-york/chart-radar-legend.json
deleted file mode 100644
index fbb03660943..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-legend.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-legend",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-legend.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Legend\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n } />\n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-lines-only.json b/apps/www/public/r/styles/new-york/chart-radar-lines-only.json
deleted file mode 100644
index 768b2947042..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-lines-only.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-lines-only",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-lines-only.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 160 },\n { month: \"February\", desktop: 185, mobile: 170 },\n { month: \"March\", desktop: 207, mobile: 180 },\n { month: \"April\", desktop: 173, mobile: 160 },\n { month: \"May\", desktop: 160, mobile: 190 },\n { month: \"June\", desktop: 174, mobile: 204 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Lines Only\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-multiple.json b/apps/www/public/r/styles/new-york/chart-radar-multiple.json
deleted file mode 100644
index 46914049534..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-multiple.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-multiple",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-multiple.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarAngleAxis, PolarGrid, Radar, RadarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Multiple\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radar-radius.json b/apps/www/public/r/styles/new-york/chart-radar-radius.json
deleted file mode 100644
index 1d07512e9ec..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radar-radius.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radar-radius",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radar-radius.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport {\n PolarAngleAxis,\n PolarGrid,\n PolarRadiusAxis,\n Radar,\n RadarChart,\n} from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { month: \"January\", desktop: 186, mobile: 80 },\n { month: \"February\", desktop: 305, mobile: 200 },\n { month: \"March\", desktop: 237, mobile: 120 },\n { month: \"April\", desktop: 73, mobile: 190 },\n { month: \"May\", desktop: 209, mobile: 130 },\n { month: \"June\", desktop: 214, mobile: 140 },\n]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radar Chart - Radius Axis\n \n Showing total visitors for the last 6 months\n \n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n January - June 2024\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radar"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radial-grid.json b/apps/www/public/r/styles/new-york/chart-radial-grid.json
deleted file mode 100644
index c6c1feafb5b..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radial-grid.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radial-grid",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radial-grid.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { PolarGrid, RadialBar, RadialBarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radial Chart - Grid\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radial"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radial-label.json b/apps/www/public/r/styles/new-york/chart-radial-label.json
deleted file mode 100644
index 35e5f267ad2..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radial-label.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radial-label",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radial-label.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { LabelList, RadialBar, RadialBarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radial Chart - Label\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radial"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radial-shape.json b/apps/www/public/r/styles/new-york/chart-radial-shape.json
deleted file mode 100644
index 5ba9062e753..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radial-shape.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radial-shape",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radial-shape.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport {\n Label,\n PolarGrid,\n PolarRadiusAxis,\n RadialBar,\n RadialBarChart,\n} from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport { ChartConfig, ChartContainer } from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"safari\", visitors: 1260, fill: \"var(--color-safari)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radial Chart - Shape\n January - June 2024\n \n \n \n \n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radial"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radial-simple.json b/apps/www/public/r/styles/new-york/chart-radial-simple.json
deleted file mode 100644
index ed41c67cc07..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radial-simple.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radial-simple",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radial-simple.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { RadialBar, RadialBarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"chrome\", visitors: 275, fill: \"var(--color-chrome)\" },\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n { browser: \"firefox\", visitors: 187, fill: \"var(--color-firefox)\" },\n { browser: \"edge\", visitors: 173, fill: \"var(--color-edge)\" },\n { browser: \"other\", visitors: 90, fill: \"var(--color-other)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n chrome: {\n label: \"Chrome\",\n color: \"hsl(var(--chart-1))\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n firefox: {\n label: \"Firefox\",\n color: \"hsl(var(--chart-3))\",\n },\n edge: {\n label: \"Edge\",\n color: \"hsl(var(--chart-4))\",\n },\n other: {\n label: \"Other\",\n color: \"hsl(var(--chart-5))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radial Chart\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radial"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radial-stacked.json b/apps/www/public/r/styles/new-york/chart-radial-stacked.json
deleted file mode 100644
index 5037a16de9b..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radial-stacked.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radial-stacked",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radial-stacked.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport { Label, PolarRadiusAxis, RadialBar, RadialBarChart } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [{ month: \"january\", desktop: 1260, mobile: 570 }]\n\nconst chartConfig = {\n desktop: {\n label: \"Desktop\",\n color: \"hsl(var(--chart-1))\",\n },\n mobile: {\n label: \"Mobile\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n const totalVisitors = chartData[0].desktop + chartData[0].mobile\n\n return (\n \n \n Radial Chart - Stacked\n January - June 2024\n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radial"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-radial-text.json b/apps/www/public/r/styles/new-york/chart-radial-text.json
deleted file mode 100644
index 002fddeb46b..00000000000
--- a/apps/www/public/r/styles/new-york/chart-radial-text.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-radial-text",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-radial-text.tsx",
- "content": "\"use client\"\n\nimport { TrendingUp } from \"lucide-react\"\nimport {\n Label,\n PolarGrid,\n PolarRadiusAxis,\n RadialBar,\n RadialBarChart,\n} from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport { ChartConfig, ChartContainer } from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { browser: \"safari\", visitors: 200, fill: \"var(--color-safari)\" },\n]\n\nconst chartConfig = {\n visitors: {\n label: \"Visitors\",\n },\n safari: {\n label: \"Safari\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Radial Chart - Text\n January - June 2024\n \n \n \n \n \n \n \n \n \n \n \n \n \n Trending up by 5.2% this month \n
\n \n Showing total visitors for the last 6 months\n
\n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-radial"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-advanced.json b/apps/www/public/r/styles/new-york/chart-tooltip-advanced.json
deleted file mode 100644
index e08e7ac98c7..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-advanced.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-advanced",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-advanced.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Advanced\n \n Tooltip with custom formatter and total.\n \n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n (\n <>\n \n {chartConfig[name as keyof typeof chartConfig]?.label ||\n name}\n \n {value}\n \n kcal\n \n
\n {/* Add this after the last item */}\n {index === 1 && (\n \n Total\n
\n {item.payload.running + item.payload.swimming}\n \n kcal\n \n
\n
\n )}\n >\n )}\n />\n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-default.json b/apps/www/public/r/styles/new-york/chart-tooltip-default.json
deleted file mode 100644
index e7a8de1ccb0..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-default.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-default",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-default.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Default\n \n Default tooltip with ChartTooltipContent.\n \n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-demo.json b/apps/www/public/r/styles/new-york/chart-tooltip-demo.json
deleted file mode 100644
index 7acfa77afcb..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-demo.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-demo",
- "type": "registry:example",
- "author": "shadcn (https://ui.shadcn.com)",
- "files": [
- {
- "path": "examples/chart-tooltip-demo.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport default function Component() {\n return (\n div]:relative [&>div]:flex [&>div]:h-[137px] [&>div]:w-[224px] [&>div]:items-center [&>div]:justify-center [&>div]:p-4\">\n
\n
\n Label\n
\n
\n
\n
\n
\n
\n Name\n
\n
\n
\n
\n
\n \n
\n
\n
\n Indicator\n
\n
\n
\n
\n
\n )\n}\n\nfunction TooltipDemo({\n indicator = \"dot\",\n label,\n payload,\n hideLabel,\n hideIndicator,\n className,\n}: {\n label: string\n hideLabel?: boolean\n hideIndicator?: boolean\n indicator?: \"line\" | \"dot\" | \"dashed\"\n payload: {\n name: string\n value: number\n fill: string\n }[]\n nameKey?: string\n labelKey?: string\n} & React.ComponentProps<\"div\">) {\n const tooltipLabel = hideLabel ? null : (\n {label}
\n )\n\n if (!payload?.length) {\n return null\n }\n\n const nestLabel = payload.length === 1 && indicator !== \"dot\"\n\n return (\n \n {!nestLabel ? tooltipLabel : null}\n
\n {payload.map((item, index) => {\n const indicatorColor = item.fill\n\n return (\n
svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground\",\n indicator === \"dot\" && \"items-center\"\n )}\n >\n <>\n {!hideIndicator && (\n
\n )}\n
\n
\n {nestLabel ? tooltipLabel : null}\n {item.name}\n
\n
\n {item.value.toLocaleString()}\n \n
\n >\n
\n )\n })}\n
\n
\n )\n}\n",
- "type": "registry:example",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-formatter.json b/apps/www/public/r/styles/new-york/chart-tooltip-formatter.json
deleted file mode 100644
index a6672e655cd..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-formatter.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-formatter",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-formatter.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Formatter\n Tooltip with custom formatter .\n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n (\n \n {chartConfig[name as keyof typeof chartConfig]?.label ||\n name}\n
\n {value}\n \n kcal\n \n
\n
\n )}\n />\n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-icons.json b/apps/www/public/r/styles/new-york/chart-tooltip-icons.json
deleted file mode 100644
index 3eb9270c757..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-icons.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-icons",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-icons.tsx",
- "content": "\"use client\"\n\nimport { Footprints, Waves } from \"lucide-react\"\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n icon: Footprints,\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n icon: Waves,\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Icons\n Tooltip with icons.\n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-indicator-line.json b/apps/www/public/r/styles/new-york/chart-tooltip-indicator-line.json
deleted file mode 100644
index 3306b5046c5..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-indicator-line.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-indicator-line",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-indicator-line.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Line Indicator\n Tooltip with line indicator.\n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-indicator-none.json b/apps/www/public/r/styles/new-york/chart-tooltip-indicator-none.json
deleted file mode 100644
index 5996f51a354..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-indicator-none.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-indicator-none",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-indicator-none.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - No Indicator\n Tooltip with no indicator.\n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-label-custom.json b/apps/www/public/r/styles/new-york/chart-tooltip-label-custom.json
deleted file mode 100644
index 1afded6be91..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-label-custom.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-label-custom",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-label-custom.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n activities: {\n label: \"Activities\",\n },\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Custom label\n \n Tooltip with custom label from chartConfig.\n \n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n \n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-label-formatter.json b/apps/www/public/r/styles/new-york/chart-tooltip-label-formatter.json
deleted file mode 100644
index bf7106c8ce3..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-label-formatter.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-label-formatter",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-label-formatter.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - Label Formatter\n Tooltip with label formatter.\n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n })\n }}\n />\n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart-tooltip-label-none.json b/apps/www/public/r/styles/new-york/chart-tooltip-label-none.json
deleted file mode 100644
index 0ceb55f572c..00000000000
--- a/apps/www/public/r/styles/new-york/chart-tooltip-label-none.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart-tooltip-label-none",
- "type": "registry:block",
- "author": "shadcn (https://ui.shadcn.com)",
- "registryDependencies": [
- "card",
- "chart"
- ],
- "files": [
- {
- "path": "charts/chart-tooltip-label-none.tsx",
- "content": "\"use client\"\n\nimport { Bar, BarChart, XAxis } from \"recharts\"\n\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/registry/new-york/ui/card\"\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from \"@/registry/new-york/ui/chart\"\nconst chartData = [\n { date: \"2024-07-15\", running: 450, swimming: 300 },\n { date: \"2024-07-16\", running: 380, swimming: 420 },\n { date: \"2024-07-17\", running: 520, swimming: 120 },\n { date: \"2024-07-18\", running: 140, swimming: 550 },\n { date: \"2024-07-19\", running: 600, swimming: 350 },\n { date: \"2024-07-20\", running: 480, swimming: 400 },\n]\n\nconst chartConfig = {\n running: {\n label: \"Running\",\n color: \"hsl(var(--chart-1))\",\n },\n swimming: {\n label: \"Swimming\",\n color: \"hsl(var(--chart-2))\",\n },\n} satisfies ChartConfig\n\nexport default function Component() {\n return (\n \n \n Tooltip - No Label\n Tooltip with no label.\n \n \n \n \n {\n return new Date(value).toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n })\n }}\n />\n \n \n }\n cursor={false}\n defaultIndex={1}\n />\n \n \n \n \n )\n}\n",
- "type": "registry:block",
- "target": ""
- }
- ],
- "categories": [
- "charts",
- "charts-tooltip"
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/styles/new-york/chart.json b/apps/www/public/r/styles/new-york/chart.json
deleted file mode 100644
index 1cad5056be2..00000000000
--- a/apps/www/public/r/styles/new-york/chart.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "chart",
- "type": "registry:ui",
- "author": "shadcn (https://ui.shadcn.com)",
- "dependencies": [
- "recharts",
- "lucide-react"
- ],
- "registryDependencies": [
- "card"
- ],
- "files": [
- {
- "path": "ui/chart.tsx",
- "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as RechartsPrimitive from \"recharts\"\n\nimport { cn } from \"@/lib/utils\"\n\n// Format: { THEME_NAME: CSS_SELECTOR }\nconst THEMES = { light: \"\", dark: \".dark\" } as const\n\nexport type ChartConfig = {\n [k in string]: {\n label?: React.ReactNode\n icon?: React.ComponentType\n } & (\n | { color?: string; theme?: never }\n | { color?: never; theme: Record }\n )\n}\n\ntype ChartContextProps = {\n config: ChartConfig\n}\n\nconst ChartContext = React.createContext(null)\n\nfunction useChart() {\n const context = React.useContext(ChartContext)\n\n if (!context) {\n throw new Error(\"useChart must be used within a \")\n }\n\n return context\n}\n\nconst ChartContainer = React.forwardRef<\n HTMLDivElement,\n React.ComponentProps<\"div\"> & {\n config: ChartConfig\n children: React.ComponentProps<\n typeof RechartsPrimitive.ResponsiveContainer\n >[\"children\"]\n }\n>(({ id, className, children, config, ...props }, ref) => {\n const uniqueId = React.useId()\n const chartId = `chart-${id || uniqueId.replace(/:/g, \"\")}`\n\n return (\n \n \n \n \n {children}\n \n
\n \n )\n})\nChartContainer.displayName = \"Chart\"\n\nconst ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {\n const colorConfig = Object.entries(config).filter(\n ([, config]) => config.theme || config.color\n )\n\n if (!colorConfig.length) {\n return null\n }\n\n return (\n