From afc553d8f830d4c6b05fc1cbfcbd7d206b0ef3d6 Mon Sep 17 00:00:00 2001 From: shadcn Date: Wed, 17 Apr 2024 23:05:45 +0400 Subject: [PATCH] fix: edit components --- apps/www/content/docs/components/calendar.mdx | 2 +- apps/www/content/docs/components/carousel.mdx | 17 ++++------------- apps/www/content/docs/components/menubar.mdx | 5 +---- .../content/docs/components/navigation-menu.mdx | 5 +---- apps/www/content/docs/components/progress.mdx | 2 +- .../www/content/docs/components/scroll-area.mdx | 10 ++-------- apps/www/content/docs/components/sonner.mdx | 2 +- apps/www/content/docs/components/table.mdx | 2 +- apps/www/content/docs/components/toast.mdx | 2 +- 9 files changed, 13 insertions(+), 34 deletions(-) diff --git a/apps/www/content/docs/components/calendar.mdx b/apps/www/content/docs/components/calendar.mdx index aba4b735c7..730f4e4c0b 100644 --- a/apps/www/content/docs/components/calendar.mdx +++ b/apps/www/content/docs/components/calendar.mdx @@ -6,7 +6,7 @@ links: doc: https://react-day-picker.js.org --- - + ## About diff --git a/apps/www/content/docs/components/carousel.mdx b/apps/www/content/docs/components/carousel.mdx index 41b4c09500..604dfad942 100644 --- a/apps/www/content/docs/components/carousel.mdx +++ b/apps/www/content/docs/components/carousel.mdx @@ -7,7 +7,7 @@ links: api: https://www.embla-carousel.com/api --- - + ## About @@ -82,10 +82,7 @@ import { To set the size of the items, you can use the `basis` utility class on the ``. - + ```tsx title="Example" showLineNumbers {4-6} // 33% of the carousel width. @@ -123,10 +120,7 @@ You can always adjust this in your own project if you need to. - + ```tsx title="Example" showLineNumbers /-ml-4/ /pl-4/ @@ -152,10 +146,7 @@ You can always adjust this in your own project if you need to. Use the `orientation` prop to set the orientation of the carousel. - + ```tsx showLineNumbers /vertical | horizontal/ diff --git a/apps/www/content/docs/components/menubar.mdx b/apps/www/content/docs/components/menubar.mdx index 81f469bf81..2e6adec627 100644 --- a/apps/www/content/docs/components/menubar.mdx +++ b/apps/www/content/docs/components/menubar.mdx @@ -7,10 +7,7 @@ links: api: https://www.radix-ui.com/docs/primitives/components/menubar#api-reference --- - + ## Installation diff --git a/apps/www/content/docs/components/navigation-menu.mdx b/apps/www/content/docs/components/navigation-menu.mdx index 3cd5ea42ce..eb0dd4231d 100644 --- a/apps/www/content/docs/components/navigation-menu.mdx +++ b/apps/www/content/docs/components/navigation-menu.mdx @@ -7,10 +7,7 @@ links: api: https://www.radix-ui.com/docs/primitives/components/navigation-menu#api-reference --- - + ## Installation diff --git a/apps/www/content/docs/components/progress.mdx b/apps/www/content/docs/components/progress.mdx index 4e6d2fc6fd..2dd0b4eb9e 100644 --- a/apps/www/content/docs/components/progress.mdx +++ b/apps/www/content/docs/components/progress.mdx @@ -7,7 +7,7 @@ links: api: https://www.radix-ui.com/docs/primitives/components/progress#api-reference --- - + ## Installation diff --git a/apps/www/content/docs/components/scroll-area.mdx b/apps/www/content/docs/components/scroll-area.mdx index 111109e995..cf42aa9641 100644 --- a/apps/www/content/docs/components/scroll-area.mdx +++ b/apps/www/content/docs/components/scroll-area.mdx @@ -7,10 +7,7 @@ links: api: https://www.radix-ui.com/docs/primitives/components/scroll-area#api-reference --- - + ## Installation @@ -71,7 +68,4 @@ import { ScrollArea } from "@/components/ui/scroll-area" ### Horizontal Scrolling - + diff --git a/apps/www/content/docs/components/sonner.mdx b/apps/www/content/docs/components/sonner.mdx index ca3fb6eb66..2960bf161b 100644 --- a/apps/www/content/docs/components/sonner.mdx +++ b/apps/www/content/docs/components/sonner.mdx @@ -6,7 +6,7 @@ links: doc: https://sonner.emilkowal.ski --- - + ## About diff --git a/apps/www/content/docs/components/table.mdx b/apps/www/content/docs/components/table.mdx index c940ededb5..64b3f0e0ed 100644 --- a/apps/www/content/docs/components/table.mdx +++ b/apps/www/content/docs/components/table.mdx @@ -4,7 +4,7 @@ description: A responsive table component. component: true --- - + ## Installation diff --git a/apps/www/content/docs/components/toast.mdx b/apps/www/content/docs/components/toast.mdx index 17d7673371..ddaeab1299 100644 --- a/apps/www/content/docs/components/toast.mdx +++ b/apps/www/content/docs/components/toast.mdx @@ -7,7 +7,7 @@ links: api: https://www.radix-ui.com/docs/primitives/components/toast#api-reference --- - + ## Installation