From 4fcfb4edf20dbfd8d13bb33125b22949ea09d08e Mon Sep 17 00:00:00 2001 From: zernonia Date: Mon, 6 Nov 2023 13:30:45 +0800 Subject: [PATCH] fix: missing dependencies for calendar --- apps/www/src/lib/registry/default/ui/calendar/Calendar.vue | 2 +- apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue | 2 +- apps/www/src/public/registry/index.json | 1 + apps/www/src/public/registry/styles/default/calendar.json | 3 ++- apps/www/src/public/registry/styles/new-york/calendar.json | 3 ++- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue index e90acfb6..4657fa60 100644 --- a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue +++ b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue @@ -4,7 +4,7 @@ import type { Calendar } from 'v-calendar' import { DatePicker } from 'v-calendar' import { ChevronLeft, ChevronRight } from 'lucide-vue-next' import { computed, nextTick, onMounted, ref } from 'vue' -import { buttonVariants } from '../button' +import { buttonVariants } from '@/lib/registry/default/ui/button' import { cn } from '@/lib/utils' defineOptions({ diff --git a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue index 4d79f695..6bbf1de4 100644 --- a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue +++ b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue @@ -4,7 +4,7 @@ import type { Calendar } from 'v-calendar' import { DatePicker } from 'v-calendar' import { ChevronLeftIcon, ChevronRightIcon } from '@radix-icons/vue' import { computed, nextTick, onMounted, ref } from 'vue' -import { buttonVariants } from '../button' +import { buttonVariants } from '@/lib/registry/new-york/ui/button' import { cn } from '@/lib/utils' defineOptions({ diff --git a/apps/www/src/public/registry/index.json b/apps/www/src/public/registry/index.json index 6ea8e2e7..68ea130c 100644 --- a/apps/www/src/public/registry/index.json +++ b/apps/www/src/public/registry/index.json @@ -112,6 +112,7 @@ "v-calendar@next" ], "registryDependencies": [ + "button", "utils" ], "files": [ diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index c7900517..e0b0aae7 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -5,12 +5,13 @@ "v-calendar@next" ], "registryDependencies": [ + "button", "utils" ], "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json index 129f9fcd..84f222ff 100644 --- a/apps/www/src/public/registry/styles/new-york/calendar.json +++ b/apps/www/src/public/registry/styles/new-york/calendar.json @@ -5,12 +5,13 @@ "v-calendar@next" ], "registryDependencies": [ + "button", "utils" ], "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts",