diff --git a/apps/www/__registry__/README.md b/apps/www/__registry__/README.md new file mode 100644 index 00000000..e72612d9 --- /dev/null +++ b/apps/www/__registry__/README.md @@ -0,0 +1 @@ +> Files inside this directory is autogenerated by `./scripts/build-registry.ts`. **Do not edit them manually.** \ No newline at end of file diff --git a/apps/www/scripts/build-registry.ts b/apps/www/scripts/build-registry.ts index 3faae061..07550cc1 100644 --- a/apps/www/scripts/build-registry.ts +++ b/apps/www/scripts/build-registry.ts @@ -9,7 +9,7 @@ import { styles } from '../src/lib/registry/styles' import { themes } from '../src/lib/registry/themes' import { buildRegistry } from '../src/lib/registry/registry' -const REGISTRY_PATH = path.join(process.cwd(), 'static/registry') +const REGISTRY_PATH = path.join(process.cwd(), 'src/public/registry') const registry = await buildRegistry() const result = registrySchema.safeParse(registry) diff --git a/apps/www/src/lib/registry/registry.ts b/apps/www/src/lib/registry/registry.ts index cf2ea490..2f0a7f02 100644 --- a/apps/www/src/lib/registry/registry.ts +++ b/apps/www/src/lib/registry/registry.ts @@ -6,6 +6,8 @@ import type { Registry } from '../../lib/registry' const DEPENDENCIES = new Map([ ['radix-vue', []], + ['v-calendar', []], + ['@tanstack/vue-table', []], ['formsnap', ['zod']], ]) const REGISTRY_DEPENDENCY = '@/' diff --git a/apps/www/src/public/registry/colors/gray.json b/apps/www/src/public/registry/colors/gray.json index 6de69e6d..8a1d9438 100644 --- a/apps/www/src/public/registry/colors/gray.json +++ b/apps/www/src/public/registry/colors/gray.json @@ -88,5 +88,5 @@ } }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", - "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 224 71.4% 4.1%;\n\n --card: 0 0% 100%;\n --card-foreground: 224 71.4% 4.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 224 71.4% 4.1%;\n \n --primary: 220.9 39.3% 11%;\n --primary-foreground: 210 20% 98%;\n \n --secondary: 220 14.3% 95.9%;\n --secondary-foreground: 220.9 39.3% 11%;\n \n --muted: 220 14.3% 95.9%;\n --muted-foreground: 220 8.9% 46.1%;\n \n --accent: 220 14.3% 95.9%;\n --accent-foreground: 220.9 39.3% 11%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 20% 98%;\n\n --border: 220 13% 91%;\n --input: 220 13% 91%;\n --ring: 224 71.4% 4.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 224 71.4% 4.1%;\n --foreground: 210 20% 98%;\n \n --card: 224 71.4% 4.1%;\n --card-foreground: 210 20% 98%;\n \n --popover: 224 71.4% 4.1%;\n --popover-foreground: 210 20% 98%;\n \n --primary: 210 20% 98%;\n --primary-foreground: 220.9 39.3% 11%;\n \n --secondary: 215 27.9% 16.9%;\n --secondary-foreground: 210 20% 98%;\n \n --muted: 215 27.9% 16.9%;\n --muted-foreground: 217.9 10.6% 64.9%;\n \n --accent: 215 27.9% 16.9%;\n --accent-foreground: 210 20% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 20% 98%;\n \n --border: 215 27.9% 16.9%;\n --input: 215 27.9% 16.9%;\n --ring: 216 12.2% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" + "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 224 71.4% 4.1%;\n \n --muted: 220 14.3% 95.9%;\n --muted-foreground: 220 8.9% 46.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 224 71.4% 4.1%;\n \n --card: 0 0% 100%;\n --card-foreground: 224 71.4% 4.1%;\n \n --border: 220 13% 91%;\n --input: 220 13% 91%;\n \n --primary: 220.9 39.3% 11%;\n --primary-foreground: 210 20% 98%;\n \n --secondary: 220 14.3% 95.9%;\n --secondary-foreground: 220.9 39.3% 11%;\n \n --accent: 220 14.3% 95.9%;\n --accent-foreground: 220.9 39.3% 11%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 20% 98%;\n \n --ring: 224 71.4% 4.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 224 71.4% 4.1%;\n --foreground: 210 20% 98%;\n \n --muted: 215 27.9% 16.9%;\n --muted-foreground: 217.9 10.6% 64.9%;\n \n --popover: 224 71.4% 4.1%;\n --popover-foreground: 210 20% 98%;\n \n --card: 224 71.4% 4.1%;\n --card-foreground: 210 20% 98%;\n \n --border: 215 27.9% 16.9%;\n --input: 215 27.9% 16.9%;\n \n --primary: 210 20% 98%;\n --primary-foreground: 220.9 39.3% 11%;\n \n --secondary: 215 27.9% 16.9%;\n --secondary-foreground: 210 20% 98%;\n \n --accent: 215 27.9% 16.9%;\n --accent-foreground: 210 20% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 20% 98%;\n \n --ring: 216 12.2% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" } \ No newline at end of file diff --git a/apps/www/src/public/registry/colors/index.json b/apps/www/src/public/registry/colors/index.json index 6b70773e..c25158ef 100644 --- a/apps/www/src/public/registry/colors/index.json +++ b/apps/www/src/public/registry/colors/index.json @@ -1996,4 +1996,4 @@ "hslChannel": "343.1 87.7% 15.9%" } ] -} +} \ No newline at end of file diff --git a/apps/www/static/registry/colors/lime.json b/apps/www/src/public/registry/colors/lime.json similarity index 99% rename from apps/www/static/registry/colors/lime.json rename to apps/www/src/public/registry/colors/lime.json index cec9a36d..e36faf45 100644 --- a/apps/www/static/registry/colors/lime.json +++ b/apps/www/src/public/registry/colors/lime.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 89.3 80.4% 10%;\n \n --muted: 79.6 89.1% 89.2%;\n --muted-foreground: 83.7 80.5% 44.3%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 89.3 80.4% 10%;\n \n --card: 0 0% 100%;\n --card-foreground: 89.3 80.4% 10%;\n \n --border: 80.9 88.5% 79.6%;\n --input: 80.9 88.5% 79.6%;\n \n --primary: 87.6 61.2% 20.2%;\n --primary-foreground: 78.3 92% 95.1%;\n \n --secondary: 79.6 89.1% 89.2%;\n --secondary-foreground: 87.6 61.2% 20.2%;\n \n --accent: 79.6 89.1% 89.2%;\n --accent-foreground: 87.6 61.2% 20.2%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 78.3 92% 95.1%;\n \n --ring: 89.3 80.4% 10%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 89.3 80.4% 10%;\n --foreground: 78.3 92% 95.1%;\n \n --muted: 86.3 69% 22.7%;\n --muted-foreground: 82.7 78% 55.5%;\n \n --popover: 89.3 80.4% 10%;\n --popover-foreground: 78.3 92% 95.1%;\n \n --card: 89.3 80.4% 10%;\n --card-foreground: 78.3 92% 95.1%;\n \n --border: 86.3 69% 22.7%;\n --input: 86.3 69% 22.7%;\n \n --primary: 78.3 92% 95.1%;\n --primary-foreground: 87.6 61.2% 20.2%;\n \n --secondary: 86.3 69% 22.7%;\n --secondary-foreground: 78.3 92% 95.1%;\n \n --accent: 86.3 69% 22.7%;\n --accent-foreground: 78.3 92% 95.1%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 78.3 92% 95.1%;\n \n --ring: 82 84.5% 67.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} +} \ No newline at end of file diff --git a/apps/www/src/public/registry/colors/neutral.json b/apps/www/src/public/registry/colors/neutral.json index 2f29127b..3deb3deb 100644 --- a/apps/www/src/public/registry/colors/neutral.json +++ b/apps/www/src/public/registry/colors/neutral.json @@ -88,5 +88,5 @@ } }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", - "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 0 0% 3.9%;\n\n --card: 0 0% 100%;\n --card-foreground: 0 0% 3.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 0 0% 3.9%;\n \n --primary: 0 0% 9%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 0 0% 96.1%;\n --secondary-foreground: 0 0% 9%;\n \n --muted: 0 0% 96.1%;\n --muted-foreground: 0 0% 45.1%;\n \n --accent: 0 0% 96.1%;\n --accent-foreground: 0 0% 9%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n\n --border: 0 0% 89.8%;\n --input: 0 0% 89.8%;\n --ring: 0 0% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 0 0% 3.9%;\n --foreground: 0 0% 98%;\n \n --card: 0 0% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --popover: 0 0% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 0 0% 9%;\n \n --secondary: 0 0% 14.9%;\n --secondary-foreground: 0 0% 98%;\n \n --muted: 0 0% 14.9%;\n --muted-foreground: 0 0% 63.9%;\n \n --accent: 0 0% 14.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --border: 0 0% 14.9%;\n --input: 0 0% 14.9%;\n --ring: 0 0% 83.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" + "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 0 0% 3.9%;\n \n --muted: 0 0% 96.1%;\n --muted-foreground: 0 0% 45.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 0 0% 3.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 0 0% 3.9%;\n \n --border: 0 0% 89.8%;\n --input: 0 0% 89.8%;\n \n --primary: 0 0% 9%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 0 0% 96.1%;\n --secondary-foreground: 0 0% 9%;\n \n --accent: 0 0% 96.1%;\n --accent-foreground: 0 0% 9%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 0 0% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 0 0% 3.9%;\n --foreground: 0 0% 98%;\n \n --muted: 0 0% 14.9%;\n --muted-foreground: 0 0% 63.9%;\n \n --popover: 0 0% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --card: 0 0% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --border: 0 0% 14.9%;\n --input: 0 0% 14.9%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 0 0% 9%;\n \n --secondary: 0 0% 14.9%;\n --secondary-foreground: 0 0% 98%;\n \n --accent: 0 0% 14.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 0 0% 83.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" } \ No newline at end of file diff --git a/apps/www/src/public/registry/colors/slate.json b/apps/www/src/public/registry/colors/slate.json index 5db830be..19a86b72 100644 --- a/apps/www/src/public/registry/colors/slate.json +++ b/apps/www/src/public/registry/colors/slate.json @@ -88,5 +88,5 @@ } }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", - "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n\n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n \n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n \n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n \n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n \n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n\n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n --ring: 222.2 84% 4.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n \n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n \n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n \n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n \n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n \n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n \n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n \n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n --ring: 212.7 26.8% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} + "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n \n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n \n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n \n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n \n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n \n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n \n --ring: 222.2 84% 4.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n \n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n \n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n \n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n \n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n \n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n \n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n \n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n \n --ring: 212.7 26.8% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" +} \ No newline at end of file diff --git a/apps/www/src/public/registry/colors/stone.json b/apps/www/src/public/registry/colors/stone.json index e06a1346..bd31d945 100644 --- a/apps/www/src/public/registry/colors/stone.json +++ b/apps/www/src/public/registry/colors/stone.json @@ -88,5 +88,5 @@ } }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", - "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 20 14.3% 4.1%;\n\n --card: 0 0% 100%;\n --card-foreground: 20 14.3% 4.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 20 14.3% 4.1%;\n \n --primary: 24 9.8% 10%;\n --primary-foreground: 60 9.1% 97.8%;\n \n --secondary: 60 4.8% 95.9%;\n --secondary-foreground: 24 9.8% 10%;\n \n --muted: 60 4.8% 95.9%;\n --muted-foreground: 25 5.3% 44.7%;\n \n --accent: 60 4.8% 95.9%;\n --accent-foreground: 24 9.8% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 60 9.1% 97.8%;\n\n --border: 20 5.9% 90%;\n --input: 20 5.9% 90%;\n --ring: 20 14.3% 4.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 20 14.3% 4.1%;\n --foreground: 60 9.1% 97.8%;\n \n --card: 20 14.3% 4.1%;\n --card-foreground: 60 9.1% 97.8%;\n \n --popover: 20 14.3% 4.1%;\n --popover-foreground: 60 9.1% 97.8%;\n \n --primary: 60 9.1% 97.8%;\n --primary-foreground: 24 9.8% 10%;\n \n --secondary: 12 6.5% 15.1%;\n --secondary-foreground: 60 9.1% 97.8%;\n \n --muted: 12 6.5% 15.1%;\n --muted-foreground: 24 5.4% 63.9%;\n \n --accent: 12 6.5% 15.1%;\n --accent-foreground: 60 9.1% 97.8%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 60 9.1% 97.8%;\n \n --border: 12 6.5% 15.1%;\n --input: 12 6.5% 15.1%;\n --ring: 24 5.7% 82.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" + "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 20 14.3% 4.1%;\n \n --muted: 60 4.8% 95.9%;\n --muted-foreground: 25 5.3% 44.7%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 20 14.3% 4.1%;\n \n --card: 0 0% 100%;\n --card-foreground: 20 14.3% 4.1%;\n \n --border: 20 5.9% 90%;\n --input: 20 5.9% 90%;\n \n --primary: 24 9.8% 10%;\n --primary-foreground: 60 9.1% 97.8%;\n \n --secondary: 60 4.8% 95.9%;\n --secondary-foreground: 24 9.8% 10%;\n \n --accent: 60 4.8% 95.9%;\n --accent-foreground: 24 9.8% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 60 9.1% 97.8%;\n \n --ring: 20 14.3% 4.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 20 14.3% 4.1%;\n --foreground: 60 9.1% 97.8%;\n \n --muted: 12 6.5% 15.1%;\n --muted-foreground: 24 5.4% 63.9%;\n \n --popover: 20 14.3% 4.1%;\n --popover-foreground: 60 9.1% 97.8%;\n \n --card: 20 14.3% 4.1%;\n --card-foreground: 60 9.1% 97.8%;\n \n --border: 12 6.5% 15.1%;\n --input: 12 6.5% 15.1%;\n \n --primary: 60 9.1% 97.8%;\n --primary-foreground: 24 9.8% 10%;\n \n --secondary: 12 6.5% 15.1%;\n --secondary-foreground: 60 9.1% 97.8%;\n \n --accent: 12 6.5% 15.1%;\n --accent-foreground: 60 9.1% 97.8%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 60 9.1% 97.8%;\n \n --ring: 24 5.7% 82.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" } \ No newline at end of file diff --git a/apps/www/src/public/registry/colors/zinc.json b/apps/www/src/public/registry/colors/zinc.json index b13b9e6c..72484fec 100644 --- a/apps/www/src/public/registry/colors/zinc.json +++ b/apps/www/src/public/registry/colors/zinc.json @@ -88,5 +88,5 @@ } }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", - "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 240 10% 3.9%;\n\n --card: 0 0% 100%;\n --card-foreground: 240 10% 3.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 240 10% 3.9%;\n \n --primary: 240 5.9% 10%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 240 4.8% 95.9%;\n --secondary-foreground: 240 5.9% 10%;\n \n --muted: 240 4.8% 95.9%;\n --muted-foreground: 240 3.8% 46.1%;\n \n --accent: 240 4.8% 95.9%;\n --accent-foreground: 240 5.9% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n\n --border: 240 5.9% 90%;\n --input: 240 5.9% 90%;\n --ring: 240 10% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 240 10% 3.9%;\n --foreground: 0 0% 98%;\n \n --card: 240 10% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --popover: 240 10% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 240 5.9% 10%;\n \n --secondary: 240 3.7% 15.9%;\n --secondary-foreground: 0 0% 98%;\n \n --muted: 240 3.7% 15.9%;\n --muted-foreground: 240 5% 64.9%;\n \n --accent: 240 3.7% 15.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --border: 240 3.7% 15.9%;\n --input: 240 3.7% 15.9%;\n --ring: 240 4.9% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" + "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 240 10% 3.9%;\n \n --muted: 240 4.8% 95.9%;\n --muted-foreground: 240 3.8% 46.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 240 10% 3.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 240 10% 3.9%;\n \n --border: 240 5.9% 90%;\n --input: 240 5.9% 90%;\n \n --primary: 240 5.9% 10%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 240 4.8% 95.9%;\n --secondary-foreground: 240 5.9% 10%;\n \n --accent: 240 4.8% 95.9%;\n --accent-foreground: 240 5.9% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 240 10% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 240 10% 3.9%;\n --foreground: 0 0% 98%;\n \n --muted: 240 3.7% 15.9%;\n --muted-foreground: 240 5% 64.9%;\n \n --popover: 240 10% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --card: 240 10% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --border: 240 3.7% 15.9%;\n --input: 240 3.7% 15.9%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 240 5.9% 10%;\n \n --secondary: 240 3.7% 15.9%;\n --secondary-foreground: 0 0% 98%;\n \n --accent: 240 3.7% 15.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 240 4.9% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" } \ No newline at end of file diff --git a/apps/www/src/public/registry/index.json b/apps/www/src/public/registry/index.json index 78d8c905..d8cb9e8a 100644 --- a/apps/www/src/public/registry/index.json +++ b/apps/www/src/public/registry/index.json @@ -2,369 +2,615 @@ { "name": "accordion", "dependencies": [ - "@radix-ui/react-accordion" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/accordion.tsx" + "ui/accordion/Accordion.vue", + "ui/accordion/AccordionContent.vue", + "ui/accordion/AccordionItem.vue", + "ui/accordion/AccordionTrigger.vue", + "ui/accordion/index.ts" ], "type": "components:ui" }, { "name": "alert", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ - "ui/alert.tsx" + "ui/alert/Alert.vue", + "ui/alert/AlertDescription.vue", + "ui/alert/AlertTitle.vue", + "ui/alert/index.ts" ], "type": "components:ui" }, { "name": "alert-dialog", "dependencies": [ - "@radix-ui/react-alert-dialog" + "radix-vue" ], "registryDependencies": [ + "utils", "button" ], "files": [ - "ui/alert-dialog.tsx" + "ui/alert-dialog/AlertDialog.vue", + "ui/alert-dialog/AlertDialogAction.vue", + "ui/alert-dialog/AlertDialogCancel.vue", + "ui/alert-dialog/AlertDialogContent.vue", + "ui/alert-dialog/AlertDialogDescription.vue", + "ui/alert-dialog/AlertDialogFooter.vue", + "ui/alert-dialog/AlertDialogHeader.vue", + "ui/alert-dialog/AlertDialogTitle.vue", + "ui/alert-dialog/AlertDialogTrigger.vue", + "ui/alert-dialog/index.ts" ], "type": "components:ui" }, { "name": "aspect-ratio", "dependencies": [ - "@radix-ui/react-aspect-ratio" + "radix-vue" ], + "registryDependencies": [], "files": [ - "ui/aspect-ratio.tsx" + "ui/aspect-ratio/AspectRatio.vue", + "ui/aspect-ratio/index.ts" ], "type": "components:ui" }, { "name": "avatar", "dependencies": [ - "@radix-ui/react-avatar" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/avatar.tsx" + "ui/avatar/Avatar.vue", + "ui/avatar/AvatarFallback.vue", + "ui/avatar/AvatarImage.vue", + "ui/avatar/index.ts" ], "type": "components:ui" }, { "name": "badge", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ - "ui/badge.tsx" + "ui/badge/Badge.vue", + "ui/badge/index.ts" + ], + "type": "components:ui" + }, + { + "name": "breadcrumb", + "dependencies": [], + "registryDependencies": [], + "files": [ + "ui/breadcrumb/BreadCrumb.vue", + "ui/breadcrumb/BreadCrumbItem.vue", + "ui/breadcrumb/index.ts" ], "type": "components:ui" }, { "name": "button", - "dependencies": [ - "@radix-ui/react-slot" + "dependencies": [], + "registryDependencies": [ + "utils" ], "files": [ - "ui/button.tsx" + "ui/button/Button.vue", + "ui/button/index.ts" ], "type": "components:ui" }, { "name": "calendar", "dependencies": [ - "react-day-picker", - "date-fns" + "v-calendar" ], "registryDependencies": [ - "button" + "utils" ], "files": [ - "ui/calendar.tsx" + "ui/calendar/Calendar.vue", + "ui/calendar/index.ts" ], "type": "components:ui" }, { "name": "card", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ - "ui/card.tsx" + "ui/card/Card.vue", + "ui/card/CardContent.vue", + "ui/card/CardDescription.vue", + "ui/card/CardFooter.vue", + "ui/card/CardHeader.vue", + "ui/card/CardTitle.vue", + "ui/card/index.ts" ], "type": "components:ui" }, { "name": "checkbox", "dependencies": [ - "@radix-ui/react-checkbox" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/checkbox.tsx" + "ui/checkbox/Checkbox.vue", + "ui/checkbox/index.ts" ], "type": "components:ui" }, { "name": "collapsible", "dependencies": [ - "@radix-ui/react-collapsible" - ], - "files": [ - "ui/collapsible.tsx" - ], - "type": "components:ui" - }, - { - "name": "command", - "dependencies": [ - "cmdk" + "radix-vue" ], "registryDependencies": [ - "dialog" + "utils" ], "files": [ - "ui/command.tsx" + "ui/collapsible/Collapsible.vue", + "ui/collapsible/CollapsibleContent.vue", + "ui/collapsible/CollapsibleTrigger.vue", + "ui/collapsible/index.ts" ], "type": "components:ui" }, { "name": "context-menu", "dependencies": [ - "@radix-ui/react-context-menu" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/context-menu.tsx" + "ui/context-menu/ContextMenu.vue", + "ui/context-menu/ContextMenuCheckboxItem.vue", + "ui/context-menu/ContextMenuContent.vue", + "ui/context-menu/ContextMenuGroup.vue", + "ui/context-menu/ContextMenuItem.vue", + "ui/context-menu/ContextMenuLabel.vue", + "ui/context-menu/ContextMenuPortal.vue", + "ui/context-menu/ContextMenuRadioGroup.vue", + "ui/context-menu/ContextMenuRadioItem.vue", + "ui/context-menu/ContextMenuSeparator.vue", + "ui/context-menu/ContextMenuShortcut.vue", + "ui/context-menu/ContextMenuSub.vue", + "ui/context-menu/ContextMenuSubContent.vue", + "ui/context-menu/ContextMenuSubTrigger.vue", + "ui/context-menu/ContextMenuTrigger.vue", + "ui/context-menu/index.ts" + ], + "type": "components:ui" + }, + { + "name": "data-table", + "dependencies": [ + "@tanstack/vue-table" + ], + "registryDependencies": [], + "files": [ + "ui/data-table/DataTable.vue", + "ui/data-table/index.ts" + ], + "type": "components:ui" + }, + { + "name": "date-picker", + "dependencies": [ + "v-calendar" + ], + "registryDependencies": [], + "files": [ + "ui/date-picker/DatePicker.vue", + "ui/date-picker/index.ts" ], "type": "components:ui" }, { "name": "dialog", "dependencies": [ - "@radix-ui/react-dialog" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/dialog.tsx" + "ui/dialog/Dialog.vue", + "ui/dialog/DialogContent.vue", + "ui/dialog/DialogDescription.vue", + "ui/dialog/DialogFooter.vue", + "ui/dialog/DialogHeader.vue", + "ui/dialog/DialogTitle.vue", + "ui/dialog/DialogTrigger.vue", + "ui/dialog/index.ts" ], "type": "components:ui" }, { "name": "dropdown-menu", "dependencies": [ - "@radix-ui/react-dropdown-menu" - ], - "files": [ - "ui/dropdown-menu.tsx" - ], - "type": "components:ui" - }, - { - "name": "form", - "dependencies": [ - "@radix-ui/react-label", - "@radix-ui/react-slot", - "@hookform/resolvers", - "zod", - "react-hook-form" + "radix-vue" ], "registryDependencies": [ - "button", - "label" + "utils" ], "files": [ - "ui/form.tsx" + "ui/dropdown-menu/DropdownMenu.vue", + "ui/dropdown-menu/DropdownMenuCheckboxItem.vue", + "ui/dropdown-menu/DropdownMenuContent.vue", + "ui/dropdown-menu/DropdownMenuGroup.vue", + "ui/dropdown-menu/DropdownMenuItem.vue", + "ui/dropdown-menu/DropdownMenuLabel.vue", + "ui/dropdown-menu/DropdownMenuRadioGroup.vue", + "ui/dropdown-menu/DropdownMenuRadioItem.vue", + "ui/dropdown-menu/DropdownMenuSeparator.vue", + "ui/dropdown-menu/DropdownMenuShortcut.vue", + "ui/dropdown-menu/DropdownMenuSub.vue", + "ui/dropdown-menu/DropdownMenuSubContent.vue", + "ui/dropdown-menu/DropdownMenuSubTrigger.vue", + "ui/dropdown-menu/DropdownMenuTrigger.vue", + "ui/dropdown-menu/index.ts" ], "type": "components:ui" }, { "name": "hover-card", "dependencies": [ - "@radix-ui/react-hover-card" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/hover-card.tsx" + "ui/hover-card/HoverCard.vue", + "ui/hover-card/HoverCardContent.vue", + "ui/hover-card/HoverCardTrigger.vue", + "ui/hover-card/index.ts" ], "type": "components:ui" }, { "name": "input", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ - "ui/input.tsx" + "ui/input/Input.vue", + "ui/input/index.ts" + ], + "type": "components:ui" + }, + { + "name": "kbd", + "dependencies": [], + "registryDependencies": [], + "files": [ + "ui/kbd/Kbd.vue", + "ui/kbd/index.ts" ], "type": "components:ui" }, { "name": "label", "dependencies": [ - "@radix-ui/react-label" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/label.tsx" + "ui/label/Label.vue", + "ui/label/index.ts" ], "type": "components:ui" }, { "name": "menubar", "dependencies": [ - "@radix-ui/react-menubar" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/menubar.tsx" + "ui/menubar/Menubar.vue", + "ui/menubar/MenubarCheckboxItem.vue", + "ui/menubar/MenubarContent.vue", + "ui/menubar/MenubarGroup.vue", + "ui/menubar/MenubarItem.vue", + "ui/menubar/MenubarLabel.vue", + "ui/menubar/MenubarMenu.vue", + "ui/menubar/MenubarRadioGroup.vue", + "ui/menubar/MenubarRadioItem.vue", + "ui/menubar/MenubarSeparator.vue", + "ui/menubar/MenubarShortcut.vue", + "ui/menubar/MenubarSub.vue", + "ui/menubar/MenubarSubContent.vue", + "ui/menubar/MenubarSubTrigger.vue", + "ui/menubar/MenubarTrigger.vue", + "ui/menubar/index.ts" ], "type": "components:ui" }, { "name": "navigation-menu", "dependencies": [ - "@radix-ui/react-navigation-menu" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/navigation-menu.tsx" + "ui/navigation-menu/NavigationMenu.vue", + "ui/navigation-menu/NavigationMenuContent.vue", + "ui/navigation-menu/NavigationMenuIndicator.vue", + "ui/navigation-menu/NavigationMenuItem.vue", + "ui/navigation-menu/NavigationMenuLink.vue", + "ui/navigation-menu/NavigationMenuList.vue", + "ui/navigation-menu/NavigationMenuTrigger.vue", + "ui/navigation-menu/NavigationMenuViewport.vue", + "ui/navigation-menu/index.ts" ], "type": "components:ui" }, { "name": "popover", "dependencies": [ - "@radix-ui/react-popover" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/popover.tsx" + "ui/popover/Popover.vue", + "ui/popover/PopoverContent.vue", + "ui/popover/PopoverTrigger.vue", + "ui/popover/index.ts" ], "type": "components:ui" }, { "name": "progress", "dependencies": [ - "@radix-ui/react-progress" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/progress.tsx" + "ui/progress/Progress.vue", + "ui/progress/index.ts" ], "type": "components:ui" }, { "name": "radio-group", "dependencies": [ - "@radix-ui/react-radio-group" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/radio-group.tsx" + "ui/radio-group/RadioGroup.vue", + "ui/radio-group/RadioGroupItem.vue", + "ui/radio-group/index.ts" ], "type": "components:ui" }, { "name": "scroll-area", "dependencies": [ - "@radix-ui/react-scroll-area" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/scroll-area.tsx" + "ui/scroll-area/ScrollArea.vue", + "ui/scroll-area/ScrollBar.vue", + "ui/scroll-area/index.ts" ], "type": "components:ui" }, { "name": "select", "dependencies": [ - "@radix-ui/react-select" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/select.tsx" + "ui/select/Select.vue", + "ui/select/SelectContent.vue", + "ui/select/SelectGroup.vue", + "ui/select/SelectItem.vue", + "ui/select/SelectItemText.vue", + "ui/select/SelectLabel.vue", + "ui/select/SelectSeparator.vue", + "ui/select/SelectTrigger.vue", + "ui/select/SelectValue.vue", + "ui/select/index.ts" ], "type": "components:ui" }, { "name": "separator", "dependencies": [ - "@radix-ui/react-separator" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/separator.tsx" + "ui/separator/Separator.vue", + "ui/separator/index.ts" ], "type": "components:ui" }, { "name": "sheet", "dependencies": [ - "@radix-ui/react-dialog" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/sheet.tsx" + "ui/sheet/Sheet.vue", + "ui/sheet/SheetClose.vue", + "ui/sheet/SheetContent.vue", + "ui/sheet/SheetDescription.vue", + "ui/sheet/SheetFooter.vue", + "ui/sheet/SheetHeader.vue", + "ui/sheet/SheetTitle.vue", + "ui/sheet/SheetTrigger.vue", + "ui/sheet/index.ts" ], "type": "components:ui" }, { "name": "skeleton", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ - "ui/skeleton.tsx" + "ui/skeleton/Skeleton.vue", + "ui/skeleton/index.ts" ], "type": "components:ui" }, { "name": "slider", "dependencies": [ - "@radix-ui/react-slider" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/slider.tsx" + "ui/slider/Slider.vue", + "ui/slider/index.ts" ], "type": "components:ui" }, { "name": "switch", "dependencies": [ - "@radix-ui/react-switch" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/switch.tsx" + "ui/switch/Switch.vue", + "ui/switch/index.ts" ], "type": "components:ui" }, { "name": "table", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ - "ui/table.tsx" + "ui/table/Table.vue", + "ui/table/TableBody.vue", + "ui/table/TableCaption.vue", + "ui/table/TableCell.vue", + "ui/table/TableEmpty.vue", + "ui/table/TableFooter.vue", + "ui/table/TableHead.vue", + "ui/table/TableHeader.vue", + "ui/table/TableRow.vue", + "ui/table/index.ts" ], "type": "components:ui" }, { "name": "tabs", "dependencies": [ - "@radix-ui/react-tabs" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/tabs.tsx" + "ui/tabs/Tabs.vue", + "ui/tabs/TabsContent.vue", + "ui/tabs/TabsList.vue", + "ui/tabs/TabsTrigger.vue", + "ui/tabs/index.ts" ], "type": "components:ui" }, { "name": "textarea", - "files": [ - "ui/textarea.tsx" - ], - "type": "components:ui" - }, - { - "name": "toast", - "dependencies": [ - "@radix-ui/react-toast" + "dependencies": [], + "registryDependencies": [ + "utils" ], "files": [ - "ui/toast.tsx", - "ui/use-toast.ts", - "ui/toaster.tsx" + "ui/textarea/Textarea.vue", + "ui/textarea/index.ts" ], "type": "components:ui" }, { "name": "toggle", "dependencies": [ - "@radix-ui/react-toggle" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/toggle.tsx" + "ui/toggle/Toggle.vue", + "ui/toggle/index.ts" ], "type": "components:ui" }, { "name": "tooltip", "dependencies": [ - "@radix-ui/react-tooltip" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ - "ui/tooltip.tsx" + "ui/tooltip/Tooltip.vue", + "ui/tooltip/TooltipContent.vue", + "ui/tooltip/TooltipProvider.vue", + "ui/tooltip/TooltipTrigger.vue", + "ui/tooltip/index.ts" ], "type": "components:ui" } diff --git a/apps/www/src/public/registry/styles/default/accordion.json b/apps/www/src/public/registry/styles/default/accordion.json index 4ed833ab..32b57e7b 100644 --- a/apps/www/src/public/registry/styles/default/accordion.json +++ b/apps/www/src/public/registry/styles/default/accordion.json @@ -1,12 +1,31 @@ { "name": "accordion", "dependencies": [ - "@radix-ui/react-accordion" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "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" + "name": "Accordion.vue", + "content": "\n\n\n" + }, + { + "name": "AccordionContent.vue", + "content": "\n\n\n" + }, + { + "name": "AccordionItem.vue", + "content": "\n\n\n" + }, + { + "name": "AccordionTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Accordion } from './Accordion.vue'\nexport { default as AccordionContent } from './AccordionContent.vue'\nexport { default as AccordionItem } from './AccordionItem.vue'\nexport { default as AccordionTrigger } from './AccordionTrigger.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/alert-dialog.json b/apps/www/src/public/registry/styles/default/alert-dialog.json index d39d893d..3910076a 100644 --- a/apps/www/src/public/registry/styles/default/alert-dialog.json +++ b/apps/www/src/public/registry/styles/default/alert-dialog.json @@ -1,15 +1,52 @@ { "name": "alert-dialog", "dependencies": [ - "@radix-ui/react-alert-dialog" + "radix-vue" ], "registryDependencies": [ + "utils", "button" ], "files": [ { - "name": "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/default/ui/button\"\n\nconst AlertDialog = AlertDialogPrimitive.Root\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger\n\nconst AlertDialogPortal = ({\n className,\n ...props\n}: AlertDialogPrimitive.AlertDialogPortalProps) => (\n \n)\nAlertDialogPortal.displayName = AlertDialogPrimitive.Portal.displayName\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...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 AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n}\n" + "name": "AlertDialog.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogAction.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogCancel.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogContent.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogDescription.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogFooter.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogHeader.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogTitle.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDialogTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as AlertDialog } from './AlertDialog.vue'\nexport { default as AlertDialogTrigger } from './AlertDialogTrigger.vue'\nexport { default as AlertDialogContent } from './AlertDialogContent.vue'\nexport { default as AlertDialogHeader } from './AlertDialogHeader.vue'\nexport { default as AlertDialogTitle } from './AlertDialogTitle.vue'\nexport { default as AlertDialogDescription } from './AlertDialogDescription.vue'\nexport { default as AlertDialogFooter } from './AlertDialogFooter.vue'\nexport { default as AlertDialogAction } from './AlertDialogAction.vue'\nexport { default as AlertDialogCancel } from './AlertDialogCancel.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/alert.json b/apps/www/src/public/registry/styles/default/alert.json index e1bc8d0f..2155bad8 100644 --- a/apps/www/src/public/registry/styles/default/alert.json +++ b/apps/www/src/public/registry/styles/default/alert.json @@ -1,9 +1,25 @@ { "name": "alert", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "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 p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground\",\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" + "name": "Alert.vue", + "content": "\n\n\n" + }, + { + "name": "AlertDescription.vue", + "content": "\n\n\n" + }, + { + "name": "AlertTitle.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Alert } from './Alert.vue'\nexport { default as AlertTitle } from './AlertTitle.vue'\nexport { default as AlertDescription } from './AlertDescription.vue'\n\nexport const alertVariants = cva(\n 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',\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" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/aspect-ratio.json b/apps/www/src/public/registry/styles/default/aspect-ratio.json index bf7ada61..53980c68 100644 --- a/apps/www/src/public/registry/styles/default/aspect-ratio.json +++ b/apps/www/src/public/registry/styles/default/aspect-ratio.json @@ -1,12 +1,17 @@ { "name": "aspect-ratio", "dependencies": [ - "@radix-ui/react-aspect-ratio" + "radix-vue" ], + "registryDependencies": [], "files": [ { - "name": "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" + "name": "AspectRatio.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as AspectRatio } from './AspectRatio.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/avatar.json b/apps/www/src/public/registry/styles/default/avatar.json index 2fa35c3e..6051b428 100644 --- a/apps/www/src/public/registry/styles/default/avatar.json +++ b/apps/www/src/public/registry/styles/default/avatar.json @@ -1,12 +1,27 @@ { "name": "avatar", "dependencies": [ - "@radix-ui/react-avatar" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "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" + "name": "Avatar.vue", + "content": "\n\n\n" + }, + { + "name": "AvatarFallback.vue", + "content": "\n\n\n" + }, + { + "name": "AvatarImage.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Avatar } from './Avatar.vue'\nexport { default as AvatarImage } from './AvatarImage.vue'\nexport { default as AvatarFallback } from './AvatarFallback.vue'\n\nexport const avatarVariant = cva(\n 'inline-flex items-center justify-center font-normal text-foregorund select-none shrink-0 bg-secondary overflow-hidden',\n {\n variants: {\n size: {\n sm: 'h-10 w-10 text-xs',\n base: 'h-16 w-16 text-2xl',\n lg: 'h-32 w-32 text-5xl',\n },\n shape: {\n circle: 'rounded-full',\n square: 'rounded-md',\n },\n },\n },\n)\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/badge.json b/apps/www/src/public/registry/styles/default/badge.json index ef710481..d94584f2 100644 --- a/apps/www/src/public/registry/styles/default/badge.json +++ b/apps/www/src/public/registry/styles/default/badge.json @@ -1,9 +1,17 @@ { "name": "badge", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "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-full 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 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 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" + "name": "Badge.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Badge } from './Badge.vue'\n\nexport const badgeVariants = cva(\n 'inline-flex items-center rounded-full 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 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 hover:bg-destructive/80',\n outline: 'text-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n },\n)\n" } ], "type": "components:ui" diff --git a/apps/www/static/registry/styles/default/breadcrumb.json b/apps/www/src/public/registry/styles/default/breadcrumb.json similarity index 99% rename from apps/www/static/registry/styles/default/breadcrumb.json rename to apps/www/src/public/registry/styles/default/breadcrumb.json index e3141670..b597e1d3 100644 --- a/apps/www/static/registry/styles/default/breadcrumb.json +++ b/apps/www/src/public/registry/styles/default/breadcrumb.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} +} \ No newline at end of file diff --git a/apps/www/src/public/registry/styles/default/button.json b/apps/www/src/public/registry/styles/default/button.json index 73861d96..de7618f5 100644 --- a/apps/www/src/public/registry/styles/default/button.json +++ b/apps/www/src/public/registry/styles/default/button.json @@ -1,12 +1,17 @@ { "name": "button", - "dependencies": [ - "@radix-ui/react-slot" + "dependencies": [], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "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 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground 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-10 px-4 py-2\",\n sm: \"h-9 rounded-md px-3\",\n lg: \"h-11 rounded-md px-8\",\n icon: \"h-10 w-10\",\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" + "name": "Button.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline:\n 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground 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-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index aac65b09..81f3016e 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -1,16 +1,19 @@ { "name": "calendar", "dependencies": [ - "react-day-picker", - "date-fns" + "v-calendar" ], "registryDependencies": [ - "button" + "utils" ], "files": [ { - "name": "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/default/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 ,\n IconRight: ({ ...props }) => ,\n }}\n {...props}\n />\n )\n}\nCalendar.displayName = \"Calendar\"\n\nexport { Calendar }\n" + "name": "Calendar.vue", + "content": "\n\n\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Calendar } from './Calendar.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/card.json b/apps/www/src/public/registry/styles/default/card.json index ef31d3a6..b1c1ca0c 100644 --- a/apps/www/src/public/registry/styles/default/card.json +++ b/apps/www/src/public/registry/styles/default/card.json @@ -1,9 +1,37 @@ { "name": "card", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "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 HTMLParagraphElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nCardTitle.displayName = \"CardTitle\"\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\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" + "name": "Card.vue", + "content": "\n\n\n" + }, + { + "name": "CardContent.vue", + "content": "\n\n\n" + }, + { + "name": "CardDescription.vue", + "content": "\n\n\n" + }, + { + "name": "CardFooter.vue", + "content": "\n\n\n" + }, + { + "name": "CardHeader.vue", + "content": "\n\n\n" + }, + { + "name": "CardTitle.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Card } from './Card.vue'\nexport { default as CardHeader } from './CardHeader.vue'\nexport { default as CardTitle } from './CardTitle.vue'\nexport { default as CardDescription } from './CardDescription.vue'\nexport { default as CardContent } from './CardContent.vue'\nexport { default as CardFooter } from './CardFooter.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/checkbox.json b/apps/www/src/public/registry/styles/default/checkbox.json index 2a31260e..a6aa8254 100644 --- a/apps/www/src/public/registry/styles/default/checkbox.json +++ b/apps/www/src/public/registry/styles/default/checkbox.json @@ -1,12 +1,19 @@ { "name": "checkbox", "dependencies": [ - "@radix-ui/react-checkbox" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "checkbox.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\"\nimport { Check } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Checkbox = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n \n \n))\nCheckbox.displayName = CheckboxPrimitive.Root.displayName\n\nexport { Checkbox }\n" + "name": "Checkbox.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Checkbox } from './Checkbox.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/collapsible.json b/apps/www/src/public/registry/styles/default/collapsible.json index 99a398a9..6cce817e 100644 --- a/apps/www/src/public/registry/styles/default/collapsible.json +++ b/apps/www/src/public/registry/styles/default/collapsible.json @@ -1,12 +1,27 @@ { "name": "collapsible", "dependencies": [ - "@radix-ui/react-collapsible" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "collapsible.tsx", - "content": "\"use client\"\n\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\"\n\nconst Collapsible = CollapsiblePrimitive.Root\n\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger\n\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent }\n" + "name": "Collapsible.vue", + "content": "\n\n\n" + }, + { + "name": "CollapsibleContent.vue", + "content": "\n\n\n" + }, + { + "name": "CollapsibleTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Collapsible } from './Collapsible.vue'\nexport { default as CollapsibleTrigger } from './CollapsibleTrigger.vue'\nexport { default as CollapsibleContent } from './CollapsibleContent.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/context-menu.json b/apps/www/src/public/registry/styles/default/context-menu.json index 2eb10035..5d486263 100644 --- a/apps/www/src/public/registry/styles/default/context-menu.json +++ b/apps/www/src/public/registry/styles/default/context-menu.json @@ -1,12 +1,75 @@ { "name": "context-menu", "dependencies": [ - "@radix-ui/react-context-menu" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "context-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ContextMenu = ContextMenuPrimitive.Root\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal\n\nconst ContextMenuSub = ContextMenuPrimitive.Sub\n\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName\n\nconst ContextMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\"\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuPortal,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuRadioGroup,\n}\n" + "name": "ContextMenu.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuCheckboxItem.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuContent.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuGroup.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuItem.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuLabel.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuPortal.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuRadioGroup.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuRadioItem.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuSeparator.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuShortcut.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuSub.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuSubContent.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuSubTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "ContextMenuTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as ContextMenu } from './ContextMenu.vue'\nexport { default as ContextMenuTrigger } from './ContextMenuTrigger.vue'\nexport { default as ContextMenuContent } from './ContextMenuContent.vue'\nexport { default as ContextMenuGroup } from './ContextMenuGroup.vue'\nexport { default as ContextMenuRadioGroup } from './ContextMenuRadioGroup.vue'\nexport { default as ContextMenuItem } from './ContextMenuItem.vue'\nexport { default as ContextMenuCheckboxItem } from './ContextMenuCheckboxItem.vue'\nexport { default as ContextMenuRadioItem } from './ContextMenuRadioItem.vue'\nexport { default as ContextMenuShortcut } from './ContextMenuShortcut.vue'\nexport { default as ContextMenuSeparator } from './ContextMenuSeparator.vue'\nexport { default as ContextMenuLabel } from './ContextMenuLabel.vue'\nexport { default as ContextMenuSub } from './ContextMenuSub.vue'\nexport { default as ContextMenuSubTrigger } from './ContextMenuSubTrigger.vue'\nexport { default as ContextMenuSubContent } from './ContextMenuSubContent.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/static/registry/styles/default/data-table.json b/apps/www/src/public/registry/styles/default/data-table.json similarity index 99% rename from apps/www/static/registry/styles/default/data-table.json rename to apps/www/src/public/registry/styles/default/data-table.json index fea94d9b..6f15fbca 100644 --- a/apps/www/static/registry/styles/default/data-table.json +++ b/apps/www/src/public/registry/styles/default/data-table.json @@ -1,6 +1,8 @@ { "name": "data-table", - "dependencies": [], + "dependencies": [ + "@tanstack/vue-table" + ], "registryDependencies": [], "files": [ { @@ -13,4 +15,4 @@ } ], "type": "components:ui" -} +} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/date-picker.json b/apps/www/src/public/registry/styles/default/date-picker.json similarity index 97% rename from apps/www/static/registry/styles/default/date-picker.json rename to apps/www/src/public/registry/styles/default/date-picker.json index 4aaa7837..26acd94f 100644 --- a/apps/www/static/registry/styles/default/date-picker.json +++ b/apps/www/src/public/registry/styles/default/date-picker.json @@ -1,6 +1,8 @@ { "name": "date-picker", - "dependencies": [], + "dependencies": [ + "v-calendar" + ], "registryDependencies": [], "files": [ { @@ -13,4 +15,4 @@ } ], "type": "components:ui" -} +} \ No newline at end of file diff --git a/apps/www/src/public/registry/styles/default/dialog.json b/apps/www/src/public/registry/styles/default/dialog.json index ed0ad45d..1601bae5 100644 --- a/apps/www/src/public/registry/styles/default/dialog.json +++ b/apps/www/src/public/registry/styles/default/dialog.json @@ -1,12 +1,43 @@ { "name": "dialog", "dependencies": [ - "@radix-ui/react-dialog" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "dialog.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = ({\n className,\n ...props\n}: DialogPrimitive.DialogPortalProps) => (\n \n)\nDialogPortal.displayName = DialogPrimitive.Portal.displayName\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n {children}\n \n \n Close\n \n \n \n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes) => (\n \n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes) => (\n \n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n" + "name": "Dialog.vue", + "content": "\n\n\n" + }, + { + "name": "DialogContent.vue", + "content": "\n\n\n" + }, + { + "name": "DialogDescription.vue", + "content": "\n\n\n" + }, + { + "name": "DialogFooter.vue", + "content": "\n\n\n" + }, + { + "name": "DialogHeader.vue", + "content": "\n\n\n" + }, + { + "name": "DialogTitle.vue", + "content": "\n\n\n" + }, + { + "name": "DialogTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Dialog } from './Dialog.vue'\nexport { default as DialogTrigger } from './DialogTrigger.vue'\nexport { default as DialogHeader } from './DialogHeader.vue'\nexport { default as DialogTitle } from './DialogTitle.vue'\nexport { default as DialogDescription } from './DialogDescription.vue'\nexport { default as DialogContent } from './DialogContent.vue'\nexport { default as DialogFooter } from './DialogFooter.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/dropdown-menu.json b/apps/www/src/public/registry/styles/default/dropdown-menu.json index f9e2288f..72ec6533 100644 --- a/apps/www/src/public/registry/styles/default/dropdown-menu.json +++ b/apps/www/src/public/registry/styles/default/dropdown-menu.json @@ -1,12 +1,71 @@ { "name": "dropdown-menu", "dependencies": [ - "@radix-ui/react-dropdown-menu" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "dropdown-menu.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n" + "name": "DropdownMenu.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuCheckboxItem.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuContent.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuGroup.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuItem.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuLabel.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuRadioGroup.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuRadioItem.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuSeparator.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuShortcut.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuSub.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuSubContent.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuSubTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "DropdownMenuTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { DropdownMenuPortal } from 'radix-vue'\n\nexport { default as DropdownMenu } from './DropdownMenu.vue'\nexport { default as DropdownMenuTrigger } from './DropdownMenuTrigger.vue'\nexport { default as DropdownMenuContent } from './DropdownMenuContent.vue'\nexport { default as DropdownMenuGroup } from './DropdownMenuGroup.vue'\nexport { default as DropdownMenuRadioGroup } from './DropdownMenuRadioGroup.vue'\nexport { default as DropdownMenuItem } from './DropdownMenuItem.vue'\nexport { default as DropdownMenuCheckboxItem } from './DropdownMenuCheckboxItem.vue'\nexport { default as DropdownMenuRadioItem } from './DropdownMenuRadioItem.vue'\nexport { default as DropdownMenuShortcut } from './DropdownMenuShortcut.vue'\nexport { default as DropdownMenuSeparator } from './DropdownMenuSeparator.vue'\nexport { default as DropdownMenuLabel } from './DropdownMenuLabel.vue'\nexport { default as DropdownMenuSub } from './DropdownMenuSub.vue'\nexport { default as DropdownMenuSubTrigger } from './DropdownMenuSubTrigger.vue'\nexport { default as DropdownMenuSubContent } from './DropdownMenuSubContent.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/hover-card.json b/apps/www/src/public/registry/styles/default/hover-card.json index db69042a..c35bf896 100644 --- a/apps/www/src/public/registry/styles/default/hover-card.json +++ b/apps/www/src/public/registry/styles/default/hover-card.json @@ -1,12 +1,27 @@ { "name": "hover-card", "dependencies": [ - "@radix-ui/react-hover-card" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "hover-card.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst HoverCard = HoverCardPrimitive.Root\n\nconst HoverCardTrigger = HoverCardPrimitive.Trigger\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n))\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent }\n" + "name": "HoverCard.vue", + "content": "\n\n\n" + }, + { + "name": "HoverCardContent.vue", + "content": "\n\n\n" + }, + { + "name": "HoverCardTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as HoverCard } from './HoverCard.vue'\nexport { default as HoverCardTrigger } from './HoverCardTrigger.vue'\nexport { default as HoverCardContent } from './HoverCardContent.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/input.json b/apps/www/src/public/registry/styles/default/input.json index 762ccf00..33cd20ea 100644 --- a/apps/www/src/public/registry/styles/default/input.json +++ b/apps/www/src/public/registry/styles/default/input.json @@ -1,9 +1,17 @@ { "name": "input", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "input.tsx", - "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport interface InputProps\n extends React.InputHTMLAttributes {}\n\nconst Input = React.forwardRef(\n ({ className, type, ...props }, ref) => {\n return (\n \n )\n }\n)\nInput.displayName = \"Input\"\n\nexport { Input }\n" + "name": "Input.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Input } from './Input.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/static/registry/styles/default/kbd.json b/apps/www/src/public/registry/styles/default/kbd.json similarity index 99% rename from apps/www/static/registry/styles/default/kbd.json rename to apps/www/src/public/registry/styles/default/kbd.json index 8a10d8bd..db9ad268 100644 --- a/apps/www/static/registry/styles/default/kbd.json +++ b/apps/www/src/public/registry/styles/default/kbd.json @@ -13,4 +13,4 @@ } ], "type": "components:ui" -} +} \ No newline at end of file diff --git a/apps/www/src/public/registry/styles/default/label.json b/apps/www/src/public/registry/styles/default/label.json index 81d3efd2..ce93da47 100644 --- a/apps/www/src/public/registry/styles/default/label.json +++ b/apps/www/src/public/registry/styles/default/label.json @@ -1,12 +1,19 @@ { "name": "label", "dependencies": [ - "@radix-ui/react-label" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "label.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as LabelPrimitive from \"@radix-ui/react-label\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst labelVariants = cva(\n \"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n)\n\nconst Label = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef &\n VariantProps\n>(({ className, ...props }, ref) => (\n \n))\nLabel.displayName = LabelPrimitive.Root.displayName\n\nexport { Label }\n" + "name": "Label.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Label } from './Label.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/menubar.json b/apps/www/src/public/registry/styles/default/menubar.json index 4d99795c..3a37f6ab 100644 --- a/apps/www/src/public/registry/styles/default/menubar.json +++ b/apps/www/src/public/registry/styles/default/menubar.json @@ -1,12 +1,75 @@ { "name": "menubar", "dependencies": [ - "@radix-ui/react-menubar" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "menubar.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst MenubarMenu = MenubarPrimitive.Menu\n\nconst MenubarGroup = MenubarPrimitive.Group\n\nconst MenubarPortal = MenubarPrimitive.Portal\n\nconst MenubarSub = MenubarPrimitive.Sub\n\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup\n\nconst Menubar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubar.displayName = MenubarPrimitive.Root.displayName\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n \n {children}\n \n \n))\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n \n \n \n )\n)\nMenubarContent.displayName = MenubarPrimitive.Content.displayName\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarItem.displayName = MenubarPrimitive.Item.displayName\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, checked, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n {children}\n \n))\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n \n))\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName\n\nconst MenubarSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes) => {\n return (\n \n )\n}\nMenubarShortcut.displayname = \"MenubarShortcut\"\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n}\n" + "name": "Menubar.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarCheckboxItem.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarContent.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarGroup.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarItem.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarLabel.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarMenu.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarRadioGroup.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarRadioItem.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarSeparator.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarShortcut.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarSub.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarSubContent.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarSubTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "MenubarTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Menubar } from './Menubar.vue'\nexport { default as MenubarItem } from './MenubarItem.vue'\nexport { default as MenubarContent } from './MenubarContent.vue'\nexport { default as MenubarGroup } from './MenubarGroup.vue'\nexport { default as MenubarMenu } from './MenubarMenu.vue'\nexport { default as MenubarRadioGroup } from './MenubarRadioGroup.vue'\nexport { default as MenubarRadioItem } from './MenubarRadioItem.vue'\nexport { default as MenubarCheckboxItem } from './MenubarCheckboxItem.vue'\nexport { default as MenubarSeparator } from './MenubarSeparator.vue'\nexport { default as MenubarSub } from './MenubarSub.vue'\nexport { default as MenubarSubContent } from './MenubarSubContent.vue'\nexport { default as MenubarSubTrigger } from './MenubarSubTrigger.vue'\nexport { default as MenubarTrigger } from './MenubarTrigger.vue'\nexport { default as MenubarShortcut } from './MenubarShortcut.vue'\nexport { default as MenubarLabel } from './MenubarLabel.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/navigation-menu.json b/apps/www/src/public/registry/styles/default/navigation-menu.json index a7efd542..3aa97c8d 100644 --- a/apps/www/src/public/registry/styles/default/navigation-menu.json +++ b/apps/www/src/public/registry/styles/default/navigation-menu.json @@ -1,12 +1,47 @@ { "name": "navigation-menu", "dependencies": [ - "@radix-ui/react-navigation-menu" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "navigation-menu.tsx", - "content": "import * as React from \"react\"\nimport * as NavigationMenuPrimitive from \"@radix-ui/react-navigation-menu\"\nimport { cva } from \"class-variance-authority\"\nimport { ChevronDown } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst NavigationMenu = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n {children}\n \n \n))\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item\n\nconst navigationMenuTriggerStyle = cva(\n \"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50\"\n)\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n {children}{\" \"}\n \n \n))\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n
\n \n
\n))\nNavigationMenuViewport.displayName =\n NavigationMenuPrimitive.Viewport.displayName\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n
\n \n))\nNavigationMenuIndicator.displayName =\n NavigationMenuPrimitive.Indicator.displayName\n\nexport {\n navigationMenuTriggerStyle,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n}\n" + "name": "NavigationMenu.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuContent.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuIndicator.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuItem.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuLink.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuList.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "NavigationMenuViewport.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva } from 'class-variance-authority'\n\nexport { default as NavigationMenu } from './NavigationMenu.vue'\nexport { default as NavigationMenuList } from './NavigationMenuList.vue'\nexport { default as NavigationMenuItem } from './NavigationMenuItem.vue'\nexport { default as NavigationMenuTrigger } from './NavigationMenuTrigger.vue'\nexport { default as NavigationMenuContent } from './NavigationMenuContent.vue'\nexport { default as NavigationMenuLink } from './NavigationMenuLink.vue'\n\nexport const navigationMenuTriggerStyle = cva(\n 'group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50',\n)\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/popover.json b/apps/www/src/public/registry/styles/default/popover.json index 28ffef3d..a911d0a7 100644 --- a/apps/www/src/public/registry/styles/default/popover.json +++ b/apps/www/src/public/registry/styles/default/popover.json @@ -1,12 +1,27 @@ { "name": "popover", "dependencies": [ - "@radix-ui/react-popover" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "popover.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent }\n" + "name": "Popover.vue", + "content": "\n\n\n" + }, + { + "name": "PopoverContent.vue", + "content": "\n\n\n" + }, + { + "name": "PopoverTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Popover } from './Popover.vue'\nexport { default as PopoverTrigger } from './PopoverTrigger.vue'\nexport { default as PopoverContent } from './PopoverContent.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/progress.json b/apps/www/src/public/registry/styles/default/progress.json index 16dd5136..29acceb5 100644 --- a/apps/www/src/public/registry/styles/default/progress.json +++ b/apps/www/src/public/registry/styles/default/progress.json @@ -1,12 +1,19 @@ { "name": "progress", "dependencies": [ - "@radix-ui/react-progress" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "progress.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Progress = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, value, ...props }, ref) => (\n \n \n \n))\nProgress.displayName = ProgressPrimitive.Root.displayName\n\nexport { Progress }\n" + "name": "Progress.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Progress } from './Progress.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/radio-group.json b/apps/www/src/public/registry/styles/default/radio-group.json index cff19eba..80dffba8 100644 --- a/apps/www/src/public/registry/styles/default/radio-group.json +++ b/apps/www/src/public/registry/styles/default/radio-group.json @@ -1,12 +1,23 @@ { "name": "radio-group", "dependencies": [ - "@radix-ui/react-radio-group" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "radio-group.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\"\nimport { Circle } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst RadioGroup = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => {\n return (\n \n )\n})\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName\n\nconst RadioGroupItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => {\n return (\n \n \n \n \n \n )\n})\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName\n\nexport { RadioGroup, RadioGroupItem }\n" + "name": "RadioGroup.vue", + "content": "\n\n\n" + }, + { + "name": "RadioGroupItem.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as RadioGroup } from './RadioGroup.vue'\nexport { default as RadioGroupItem } from './RadioGroupItem.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/scroll-area.json b/apps/www/src/public/registry/styles/default/scroll-area.json index ee9db739..4b2efc5d 100644 --- a/apps/www/src/public/registry/styles/default/scroll-area.json +++ b/apps/www/src/public/registry/styles/default/scroll-area.json @@ -1,12 +1,23 @@ { "name": "scroll-area", "dependencies": [ - "@radix-ui/react-scroll-area" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "scroll-area.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n {children}\n \n \n \n \n))\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, orientation = \"vertical\", ...props }, ref) => (\n \n \n \n))\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName\n\nexport { ScrollArea, ScrollBar }\n" + "name": "ScrollArea.vue", + "content": "\n\n\n" + }, + { + "name": "ScrollBar.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as ScrollArea } from './ScrollArea.vue'\nexport { default as ScrollBar } from './ScrollBar.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/select.json b/apps/www/src/public/registry/styles/default/select.json index 514f6708..285f7f16 100644 --- a/apps/www/src/public/registry/styles/default/select.json +++ b/apps/www/src/public/registry/styles/default/select.json @@ -1,12 +1,51 @@ { "name": "select", "dependencies": [ - "@radix-ui/react-select" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "select.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { Check, ChevronDown } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n {children}\n \n \n \n \n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n \n \n \n {children}\n \n \n \n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n \n \n \n \n\n {children}\n \n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n}\n" + "name": "Select.vue", + "content": "\n\n\n" + }, + { + "name": "SelectContent.vue", + "content": "\n\n\n" + }, + { + "name": "SelectGroup.vue", + "content": "\n\n\n" + }, + { + "name": "SelectItem.vue", + "content": "\n\n\n" + }, + { + "name": "SelectItemText.vue", + "content": "\n\n\n" + }, + { + "name": "SelectLabel.vue", + "content": "\n\n\n" + }, + { + "name": "SelectSeparator.vue", + "content": "\n\n\n" + }, + { + "name": "SelectTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "SelectValue.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Select } from './Select.vue'\nexport { default as SelectValue } from './SelectValue.vue'\nexport { default as SelectTrigger } from './SelectTrigger.vue'\nexport { default as SelectContent } from './SelectContent.vue'\nexport { default as SelectGroup } from './SelectGroup.vue'\nexport { default as SelectItem } from './SelectItem.vue'\nexport { default as SelectItemText } from './SelectItemText.vue'\nexport { default as SelectLabel } from './SelectLabel.vue'\nexport { default as SelectSeparator } from './SelectSeparator.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/separator.json b/apps/www/src/public/registry/styles/default/separator.json index fc49fac7..1c4cd911 100644 --- a/apps/www/src/public/registry/styles/default/separator.json +++ b/apps/www/src/public/registry/styles/default/separator.json @@ -1,12 +1,19 @@ { "name": "separator", "dependencies": [ - "@radix-ui/react-separator" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "separator.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Separator = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(\n (\n { className, orientation = \"horizontal\", decorative = true, ...props },\n ref\n ) => (\n \n )\n)\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n" + "name": "Separator.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Separator } from './Separator.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/sheet.json b/apps/www/src/public/registry/styles/default/sheet.json index f755a087..599eecb2 100644 --- a/apps/www/src/public/registry/styles/default/sheet.json +++ b/apps/www/src/public/registry/styles/default/sheet.json @@ -1,12 +1,47 @@ { "name": "sheet", "dependencies": [ - "@radix-ui/react-dialog" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "sheet.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Sheet = SheetPrimitive.Root\n\nconst SheetTrigger = SheetPrimitive.Trigger\n\nconst SheetClose = SheetPrimitive.Close\n\nconst SheetPortal = ({\n className,\n ...props\n}: SheetPrimitive.DialogPortalProps) => (\n \n)\nSheetPortal.displayName = SheetPrimitive.Portal.displayName\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\n\nconst sheetVariants = cva(\n \"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500\",\n {\n variants: {\n side: {\n top: \"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top\",\n bottom:\n \"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom\",\n left: \"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm\",\n right:\n \"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm\",\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n }\n)\n\ninterface SheetContentProps\n extends React.ComponentPropsWithoutRef,\n VariantProps {}\n\nconst SheetContent = React.forwardRef<\n React.ElementRef,\n SheetContentProps\n>(({ side = \"right\", className, children, ...props }, ref) => (\n \n \n \n {children}\n \n \n Close\n \n \n \n))\nSheetContent.displayName = SheetPrimitive.Content.displayName\n\nconst SheetHeader = ({\n className,\n ...props\n}: React.HTMLAttributes) => (\n \n)\nSheetHeader.displayName = \"SheetHeader\"\n\nconst SheetFooter = ({\n className,\n ...props\n}: React.HTMLAttributes) => (\n \n)\nSheetFooter.displayName = \"SheetFooter\"\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSheetTitle.displayName = SheetPrimitive.Title.displayName\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nSheetDescription.displayName = SheetPrimitive.Description.displayName\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n}\n" + "name": "Sheet.vue", + "content": "\n\n\n" + }, + { + "name": "SheetClose.vue", + "content": "\n\n\n" + }, + { + "name": "SheetContent.vue", + "content": "\n\n\n" + }, + { + "name": "SheetDescription.vue", + "content": "\n\n\n" + }, + { + "name": "SheetFooter.vue", + "content": "\n\n\n" + }, + { + "name": "SheetHeader.vue", + "content": "\n\n\n" + }, + { + "name": "SheetTitle.vue", + "content": "\n\n\n" + }, + { + "name": "SheetTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Sheet } from './Sheet.vue'\nexport { default as SheetTrigger } from './SheetTrigger.vue'\nexport { default as SheetClose } from './SheetClose.vue'\nexport { default as SheetContent } from './SheetContent.vue'\nexport { default as SheetHeader } from './SheetHeader.vue'\nexport { default as SheetTitle } from './SheetTitle.vue'\nexport { default as SheetDescription } from './SheetDescription.vue'\nexport { default as SheetFooter } from './SheetFooter.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/skeleton.json b/apps/www/src/public/registry/styles/default/skeleton.json index 71d6d85f..2c0fd3ef 100644 --- a/apps/www/src/public/registry/styles/default/skeleton.json +++ b/apps/www/src/public/registry/styles/default/skeleton.json @@ -1,9 +1,17 @@ { "name": "skeleton", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "skeleton.tsx", - "content": "import { cn } from \"@/lib/utils\"\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes) {\n return (\n \n )\n}\n\nexport { Skeleton }\n" + "name": "Skeleton.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Skeleton } from './Skeleton.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/slider.json b/apps/www/src/public/registry/styles/default/slider.json index 662c5c2b..6b489789 100644 --- a/apps/www/src/public/registry/styles/default/slider.json +++ b/apps/www/src/public/registry/styles/default/slider.json @@ -1,12 +1,19 @@ { "name": "slider", "dependencies": [ - "@radix-ui/react-slider" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "slider.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SliderPrimitive from \"@radix-ui/react-slider\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Slider = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n \n \n \n))\nSlider.displayName = SliderPrimitive.Root.displayName\n\nexport { Slider }\n" + "name": "Slider.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Slider } from './Slider.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/switch.json b/apps/www/src/public/registry/styles/default/switch.json index ac4dac95..8f5006b1 100644 --- a/apps/www/src/public/registry/styles/default/switch.json +++ b/apps/www/src/public/registry/styles/default/switch.json @@ -1,12 +1,19 @@ { "name": "switch", "dependencies": [ - "@radix-ui/react-switch" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "switch.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SwitchPrimitives from \"@radix-ui/react-switch\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Switch = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n \n \n))\nSwitch.displayName = SwitchPrimitives.Root.displayName\n\nexport { Switch }\n" + "name": "Switch.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Switch } from './Switch.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/table.json b/apps/www/src/public/registry/styles/default/table.json index 5f61c81b..fb0d4341 100644 --- a/apps/www/src/public/registry/styles/default/table.json +++ b/apps/www/src/public/registry/styles/default/table.json @@ -1,9 +1,49 @@ { "name": "table", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "table.tsx", - "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n
\n \n
\n))\nTable.displayName = \"Table\"\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableHeader.displayName = \"TableHeader\"\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableBody.displayName = \"TableBody\"\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableFooter.displayName = \"TableFooter\"\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableRow.displayName = \"TableRow\"\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableHead.displayName = \"TableHead\"\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableCell.displayName = \"TableCell\"\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nTableCaption.displayName = \"TableCaption\"\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n}\n" + "name": "Table.vue", + "content": "\n\n\n" + }, + { + "name": "TableBody.vue", + "content": "\n\n\n" + }, + { + "name": "TableCaption.vue", + "content": "\n\n\n" + }, + { + "name": "TableCell.vue", + "content": "\n\n\n" + }, + { + "name": "TableEmpty.vue", + "content": "\n\n\n" + }, + { + "name": "TableFooter.vue", + "content": "\n\n\n" + }, + { + "name": "TableHead.vue", + "content": "\n\n\n" + }, + { + "name": "TableHeader.vue", + "content": "\n\n\n" + }, + { + "name": "TableRow.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Table } from './Table.vue'\nexport { default as TableBody } from './TableBody.vue'\nexport { default as TableCell } from './TableCell.vue'\nexport { default as TableHead } from './TableHead.vue'\nexport { default as TableHeader } from './TableHeader.vue'\nexport { default as TableRow } from './TableRow.vue'\nexport { default as TableCaption } from './TableCaption.vue'\nexport { default as TableEmpty } from './TableEmpty.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/tabs.json b/apps/www/src/public/registry/styles/default/tabs.json index 045928cd..3f89a0b7 100644 --- a/apps/www/src/public/registry/styles/default/tabs.json +++ b/apps/www/src/public/registry/styles/default/tabs.json @@ -1,12 +1,31 @@ { "name": "tabs", "dependencies": [ - "@radix-ui/react-tabs" + "radix-vue" + ], + "registryDependencies": [ + "utils" ], "files": [ { - "name": "tabs.tsx", - "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TabsPrimitive from \"@radix-ui/react-tabs\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Tabs = TabsPrimitive.Root\n\nconst TabsList = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nTabsList.displayName = TabsPrimitive.List.displayName\n\nconst TabsTrigger = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName\n\nconst TabsContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n))\nTabsContent.displayName = TabsPrimitive.Content.displayName\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent }\n" + "name": "Tabs.vue", + "content": "\n\n\n" + }, + { + "name": "TabsContent.vue", + "content": "\n\n\n" + }, + { + "name": "TabsList.vue", + "content": "\n\n\n" + }, + { + "name": "TabsTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "export { default as Tabs } from './Tabs.vue'\nexport { default as TabsTrigger } from './TabsTrigger.vue'\nexport { default as TabsList } from './TabsList.vue'\nexport { default as TabsContent } from './TabsContent.vue'\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/textarea.json b/apps/www/src/public/registry/styles/default/textarea.json index 1b94cf21..7ceaf393 100644 --- a/apps/www/src/public/registry/styles/default/textarea.json +++ b/apps/www/src/public/registry/styles/default/textarea.json @@ -1,9 +1,17 @@ { "name": "textarea", + "dependencies": [], + "registryDependencies": [ + "utils" + ], "files": [ { - "name": "textarea.tsx", - "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport interface TextareaProps\n extends React.TextareaHTMLAttributes {}\n\nconst Textarea = React.forwardRef(\n ({ className, ...props }, ref) => {\n return (\n \n )\n }\n)\nTextarea.displayName = \"Textarea\"\n\nexport { Textarea }\n" + "name": "Textarea.vue", + "content": "\n\n