diff --git a/apps/www/.vitepress/theme/components/DocsBreadcrumb.vue b/apps/www/.vitepress/theme/components/DocsBreadcrumb.vue index 9873fb8a..bcb56a32 100644 --- a/apps/www/.vitepress/theme/components/DocsBreadcrumb.vue +++ b/apps/www/.vitepress/theme/components/DocsBreadcrumb.vue @@ -6,7 +6,6 @@ import { BreadcrumbItem, BreadcrumbLink, BreadcrumbList, - BreadcrumbPage, BreadcrumbSeparator, } from '@/lib/registry/new-york/ui/breadcrumb' diff --git a/apps/www/.vitepress/theme/components/LandingPage.vue b/apps/www/.vitepress/theme/components/LandingPage.vue index aae8de0b..6a6a7dd0 100644 --- a/apps/www/.vitepress/theme/components/LandingPage.vue +++ b/apps/www/.vitepress/theme/components/LandingPage.vue @@ -8,7 +8,6 @@ import Announcement from '../components/Announcement.vue' import GitHubIcon from '~icons/radix-icons/github-logo' import { buttonVariants } from '@/lib/registry/new-york/ui/button' -import { Separator } from '@/lib/registry/new-york/ui/separator' import { cn } from '@/lib/utils' import MailExample from '@/examples/mail/Example.vue' diff --git a/apps/www/.vitepress/theme/components/MobileNav.vue b/apps/www/.vitepress/theme/components/MobileNav.vue index 73a7dcae..c6d0916c 100644 --- a/apps/www/.vitepress/theme/components/MobileNav.vue +++ b/apps/www/.vitepress/theme/components/MobileNav.vue @@ -5,7 +5,6 @@ import Logo from './Logo.vue' import { Sheet, SheetContent, SheetTrigger } from '@/lib/registry/default/ui/sheet' import { Button } from '@/lib/registry/default/ui/button' import { ScrollArea } from '@/lib/registry/default/ui/scroll-area' -import { Badge } from '@/lib/registry/new-york/ui/badge' const open = ref(false) diff --git a/apps/www/.vitepress/theme/layout/DocsLayout.vue b/apps/www/.vitepress/theme/layout/DocsLayout.vue index c46b3d11..d4ad12e0 100644 --- a/apps/www/.vitepress/theme/layout/DocsLayout.vue +++ b/apps/www/.vitepress/theme/layout/DocsLayout.vue @@ -7,7 +7,6 @@ import DocsBreadcrumb from '../components/DocsBreadcrumb.vue' import { ScrollArea } from '@/lib/registry/default/ui/scroll-area' import RadixIconsCode from '~icons/radix-icons/code' import RadixIconsExternalLink from '~icons/radix-icons/external-link' -import ChevronRightIcon from '~icons/lucide/chevron-right' const $route = useRoute() const { frontmatter } = useData() diff --git a/apps/www/.vitepress/theme/layout/ExamplesLayout.vue b/apps/www/.vitepress/theme/layout/ExamplesLayout.vue index 18b0bf78..30db29d6 100644 --- a/apps/www/.vitepress/theme/layout/ExamplesLayout.vue +++ b/apps/www/.vitepress/theme/layout/ExamplesLayout.vue @@ -7,7 +7,6 @@ import ExamplesNav from '../components/ExamplesNav.vue' import Announcement from '../components/Announcement.vue' import { buttonVariants } from '@/lib/registry/new-york/ui/button' -import { Separator } from '@/lib/registry/new-york/ui/separator' import { cn } from '@/lib/utils' diff --git a/apps/www/.vitepress/theme/layout/MainLayout.vue b/apps/www/.vitepress/theme/layout/MainLayout.vue index 13ebeaf7..1b67e924 100644 --- a/apps/www/.vitepress/theme/layout/MainLayout.vue +++ b/apps/www/.vitepress/theme/layout/MainLayout.vue @@ -303,7 +303,7 @@ watch(() => $route.path, (n) => { - + diff --git a/apps/www/.vitepress/theme/styles/vp-doc.css b/apps/www/.vitepress/theme/styles/vp-doc.css index d088d325..b100cefd 100644 --- a/apps/www/.vitepress/theme/styles/vp-doc.css +++ b/apps/www/.vitepress/theme/styles/vp-doc.css @@ -351,8 +351,8 @@ width: calc(100% + 2 * 24px); display: inline-block; @apply bg-[hsl(var(--foreground))] dark:bg-[hsl(var(--background)_/_50%)] -} -hsl(var(--foreground) / 50%) +} + .vp-doc [class*='language-'] code .highlighted.error { background-color: var(--vp-code-line-error-color); } diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 5597865c..4a20e476 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -948,6 +948,13 @@ export const Index = { component: () => import("../src/lib/registry/default/example/SonnerDemo.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/SonnerDemo.vue"], }, + "SonnerWithDialog": { + name: "SonnerWithDialog", + type: "components:example", + registryDependencies: ["button","dialog"], + component: () => import("../src/lib/registry/default/example/SonnerWithDialog.vue").then((m) => m.default), + files: ["../src/lib/registry/default/example/SonnerWithDialog.vue"], + }, "SwitchDemo": { name: "SwitchDemo", type: "components:example", @@ -1308,7 +1315,7 @@ export const Index = { "ActivityGoal": { name: "ActivityGoal", type: "components:example", - registryDependencies: ["button","card","themes","config"], + registryDependencies: ["button","card"], component: () => import("../src/lib/registry/default/example/Cards/ActivityGoal.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/Cards/ActivityGoal.vue"], }, @@ -1322,7 +1329,7 @@ export const Index = { "Metric": { name: "Metric", type: "components:example", - registryDependencies: ["card","config"], + registryDependencies: ["card"], component: () => import("../src/lib/registry/default/example/Cards/Metric.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/Cards/Metric.vue"], }, @@ -2349,6 +2356,13 @@ export const Index = { component: () => import("../src/lib/registry/new-york/example/SonnerDemo.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/SonnerDemo.vue"], }, + "SonnerWithDialog": { + name: "SonnerWithDialog", + type: "components:example", + registryDependencies: ["button","dialog"], + component: () => import("../src/lib/registry/new-york/example/SonnerWithDialog.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/example/SonnerWithDialog.vue"], + }, "SwitchDemo": { name: "SwitchDemo", type: "components:example", @@ -2709,7 +2723,7 @@ export const Index = { "ActivityGoal": { name: "ActivityGoal", type: "components:example", - registryDependencies: ["button","card","themes","config"], + registryDependencies: ["button","card"], component: () => import("../src/lib/registry/new-york/example/Cards/ActivityGoal.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/Cards/ActivityGoal.vue"], }, @@ -2723,7 +2737,7 @@ export const Index = { "Metric": { name: "Metric", type: "components:example", - registryDependencies: ["card","config"], + registryDependencies: ["card"], component: () => import("../src/lib/registry/new-york/example/Cards/Metric.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/Cards/Metric.vue"], }, diff --git a/apps/www/src/content/docs/components/breadcrumb.md b/apps/www/src/content/docs/components/breadcrumb.md index c4b0d534..3e31b094 100644 --- a/apps/www/src/content/docs/components/breadcrumb.md +++ b/apps/www/src/content/docs/components/breadcrumb.md @@ -22,7 +22,7 @@ import { BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, -} from '@/lib/components/ui/breadcrumb' +} from '@/components/ui/breadcrumb'