diff --git a/apps/www/.vitepress/theme/components/BlockPage.vue b/apps/www/.vitepress/theme/components/BlockPage.vue index 926242b3..83c757f0 100644 --- a/apps/www/.vitepress/theme/components/BlockPage.vue +++ b/apps/www/.vitepress/theme/components/BlockPage.vue @@ -6,7 +6,7 @@ const params = useUrlSearchParams('hash-params') diff --git a/apps/www/.vitepress/theme/components/Blocks.vue b/apps/www/.vitepress/theme/components/Blocks.vue index 14d9ce5c..934650ed 100644 --- a/apps/www/.vitepress/theme/components/Blocks.vue +++ b/apps/www/.vitepress/theme/components/Blocks.vue @@ -38,7 +38,7 @@ import('../../../__registry__/index').then((res) => { Browse @@ -57,7 +57,7 @@ import('../../../__registry__/index').then((res) => { -
+
diff --git a/apps/www/.vitepress/theme/layout/MainLayout.vue b/apps/www/.vitepress/theme/layout/MainLayout.vue index e8b12ddc..4f21004b 100644 --- a/apps/www/.vitepress/theme/layout/MainLayout.vue +++ b/apps/www/.vitepress/theme/layout/MainLayout.vue @@ -19,6 +19,7 @@ import { Dialog, DialogContent } from '@/lib/registry/default/ui/dialog' import { Toaster as DefaultToaster } from '@/lib/registry/default/ui/toast' import { Toaster as NewYorkSonner } from '@/lib/registry/new-york/ui/sonner' import { Toaster as NewYorkToaster } from '@/lib/registry/new-york/ui/toast' +import { TooltipProvider } from '@/lib/registry/new-york/ui/tooltip' import File from '~icons/radix-icons/file' import Circle from '~icons/radix-icons/circle' @@ -84,221 +85,223 @@ watch(() => $route.path, (n) => { diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 522f8bd6..09777068 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -1130,6 +1130,34 @@ export const Index = { component: () => import("../src/lib/registry/default/block/Authentication04.vue").then((m) => m.default), files: ["../src/lib/registry/default/block/Authentication04.vue"], }, + "Dashboard01": { + name: "Dashboard01", + type: "components:block", + registryDependencies: ["avatar","badge","button","card","dropdown-menu","input","sheet","table"], + component: () => import("../src/lib/registry/default/block/Dashboard01.vue").then((m) => m.default), + files: ["../src/lib/registry/default/block/Dashboard01.vue"], + }, + "Dashboard02": { + name: "Dashboard02", + type: "components:block", + registryDependencies: ["badge","button","card","dropdown-menu","input","sheet"], + component: () => import("../src/lib/registry/default/block/Dashboard02.vue").then((m) => m.default), + files: ["../src/lib/registry/default/block/Dashboard02.vue"], + }, + "Dashboard03": { + name: "Dashboard03", + type: "components:block", + registryDependencies: ["badge","button","drawer","input","label","select","textarea","tooltip"], + component: () => import("../src/lib/registry/default/block/Dashboard03.vue").then((m) => m.default), + files: ["../src/lib/registry/default/block/Dashboard03.vue"], + }, + "Dashboard04": { + name: "Dashboard04", + type: "components:block", + registryDependencies: ["button","card","checkbox","dropdown-menu","input","sheet"], + component: () => import("../src/lib/registry/default/block/Dashboard04.vue").then((m) => m.default), + files: ["../src/lib/registry/default/block/Dashboard04.vue"], + }, }, "new-york": { "AccordionDemo": { name: "AccordionDemo", @@ -2258,5 +2286,33 @@ export const Index = { component: () => import("../src/lib/registry/new-york/block/Authentication04.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/block/Authentication04.vue"], }, + "Dashboard01": { + name: "Dashboard01", + type: "components:block", + registryDependencies: ["avatar","badge","button","card","dropdown-menu","input","sheet","table"], + component: () => import("../src/lib/registry/new-york/block/Dashboard01.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/block/Dashboard01.vue"], + }, + "Dashboard02": { + name: "Dashboard02", + type: "components:block", + registryDependencies: ["badge","button","card","dropdown-menu","input","sheet"], + component: () => import("../src/lib/registry/new-york/block/Dashboard02.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/block/Dashboard02.vue"], + }, + "Dashboard03": { + name: "Dashboard03", + type: "components:block", + registryDependencies: ["badge","button","drawer","input","label","select","textarea","tooltip"], + component: () => import("../src/lib/registry/new-york/block/Dashboard03.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/block/Dashboard03.vue"], + }, + "Dashboard04": { + name: "Dashboard04", + type: "components:block", + registryDependencies: ["button","card","checkbox","dropdown-menu","input","sheet"], + component: () => import("../src/lib/registry/new-york/block/Dashboard04.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/block/Dashboard04.vue"], + }, }, } diff --git a/apps/www/src/lib/registry/default/block/Dashboard01.vue b/apps/www/src/lib/registry/default/block/Dashboard01.vue new file mode 100644 index 00000000..9be9aad6 --- /dev/null +++ b/apps/www/src/lib/registry/default/block/Dashboard01.vue @@ -0,0 +1,462 @@ + + + + + diff --git a/apps/www/src/lib/registry/default/block/Dashboard02.vue b/apps/www/src/lib/registry/default/block/Dashboard02.vue new file mode 100644 index 00000000..c8853dfa --- /dev/null +++ b/apps/www/src/lib/registry/default/block/Dashboard02.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/apps/www/src/lib/registry/default/block/Dashboard03.vue b/apps/www/src/lib/registry/default/block/Dashboard03.vue new file mode 100644 index 00000000..bcbf1be2 --- /dev/null +++ b/apps/www/src/lib/registry/default/block/Dashboard03.vue @@ -0,0 +1,441 @@ + + + + +