diff --git a/apps/www/.vitepress/theme/config/docs.ts b/apps/www/.vitepress/theme/config/docs.ts index b18a57d6..691fc07b 100644 --- a/apps/www/.vitepress/theme/config/docs.ts +++ b/apps/www/.vitepress/theme/config/docs.ts @@ -128,12 +128,10 @@ export const docsConfig: DocsConfig = { title: 'Auto Form', href: '/docs/components/auto-form', items: [], - label: 'New', }, { title: 'Charts', href: '/docs/charts', - label: 'New Alpha', items: [], }, ], @@ -141,6 +139,11 @@ export const docsConfig: DocsConfig = { { title: 'Components', items: [ + { + title: 'Sidebar', + href: '/docs/components/sidebar', + label: 'New', + }, { title: 'Accordion', href: '/docs/components/accordion', @@ -178,7 +181,6 @@ export const docsConfig: DocsConfig = { title: 'Calendar', href: '/docs/components/calendar', items: [], - label: 'Updated', }, { title: 'Card', @@ -217,7 +219,6 @@ export const docsConfig: DocsConfig = { title: 'Date Picker', href: '/docs/components/date-picker', items: [], - label: 'Updated', }, { title: 'Dialog', @@ -259,7 +260,6 @@ export const docsConfig: DocsConfig = { { title: 'Number Field', href: '/docs/components/number-field', - label: 'New Alpha', }, { title: 'Pagination', @@ -324,7 +324,6 @@ export const docsConfig: DocsConfig = { { title: 'Stepper', href: '/docs/components/stepper', - label: 'New', }, { title: 'Switch', diff --git a/apps/www/src/content/docs/components/sidebar.md b/apps/www/src/content/docs/components/sidebar.md new file mode 100644 index 00000000..15efbb08 --- /dev/null +++ b/apps/www/src/content/docs/components/sidebar.md @@ -0,0 +1,73 @@ +--- +title: Sheet +description: Extends the Dialog component to display content that complements the main content of the screen. +source: apps/www/src/lib/registry/default/ui/sheet +primitive: https://www.radix-vue.com/components/dialog.html +--- + + + +## Installation + +```bash +npx shadcn-vue@latest add sheet +``` + +## Usage + +```vue + + + +``` + +## Examples + +### Side + +Use the `side` property to `` to indicate the edge of the screen where the component will appear. The values can be `top`, `right`, `bottom` or `left`. + + + +### Size + +You can adjust the size of the sheet using CSS classes: + +```vue:line-numbers {4} + +``` diff --git a/apps/www/src/lib/registry/default/ui/breadcrumb/BreadcrumbSeparator.vue b/apps/www/src/lib/registry/default/ui/breadcrumb/BreadcrumbSeparator.vue index 8b56104b..a9c47fea 100644 --- a/apps/www/src/lib/registry/default/ui/breadcrumb/BreadcrumbSeparator.vue +++ b/apps/www/src/lib/registry/default/ui/breadcrumb/BreadcrumbSeparator.vue @@ -12,7 +12,7 @@ const props = defineProps<{