From 6ff3074bc0af7279d3668df0f2c9803296155ff7 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Wed, 6 Sep 2023 14:04:50 +0100 Subject: [PATCH] feat: add new-york style components --- .../new-york/ui/accordion/Accordion.vue | 17 +++++++++ .../ui/accordion/AccordionContent.vue | 22 +++++++++++ .../new-york/ui/accordion/AccordionItem.vue | 15 ++++++++ .../ui/accordion/AccordionTrigger.vue | 30 +++++++++++++++ .../registry/new-york/ui/accordion/index.ts | 4 ++ .../lib/registry/new-york/ui/badge/Badge.vue | 18 +++++++++ .../lib/registry/new-york/ui/badge/index.ts | 23 +++++++++++ .../registry/new-york/ui/button/Button.vue | 23 +++++++++++ .../lib/registry/new-york/ui/button/index.ts | 33 ++++++++++++++++ .../lib/registry/new-york/ui/card/Card.vue | 23 +++++++++++ .../registry/new-york/ui/card/CardContent.vue | 16 ++++++++ .../new-york/ui/card/CardDescription.vue | 16 ++++++++ .../registry/new-york/ui/card/CardFooter.vue | 16 ++++++++ .../registry/new-york/ui/card/CardHeader.vue | 16 ++++++++ .../registry/new-york/ui/card/CardTitle.vue | 20 ++++++++++ .../lib/registry/new-york/ui/card/index.ts | 6 +++ .../lib/registry/new-york/ui/input/Input.vue | 22 +++++++++++ .../lib/registry/new-york/ui/input/index.ts | 1 + .../new-york/ui/progress/Progress.vue | 38 +++++++++++++++++++ .../registry/new-york/ui/progress/index.ts | 1 + .../registry/new-york/ui/slider/Slider.vue | 23 +++++++++++ .../lib/registry/new-york/ui/slider/index.ts | 1 + .../registry/new-york/ui/switch/Switch.vue | 34 +++++++++++++++++ .../lib/registry/new-york/ui/switch/index.ts | 1 + .../lib/registry/new-york/ui/table/Table.vue | 13 +++++++ .../registry/new-york/ui/table/TableBody.vue | 11 ++++++ .../new-york/ui/table/TableCaption.vue | 11 ++++++ .../registry/new-york/ui/table/TableCell.vue | 18 +++++++++ .../registry/new-york/ui/table/TableEmpty.vue | 33 ++++++++++++++++ .../new-york/ui/table/TableFooter.vue | 11 ++++++ .../registry/new-york/ui/table/TableHead.vue | 11 ++++++ .../new-york/ui/table/TableHeader.vue | 11 ++++++ .../registry/new-york/ui/table/TableRow.vue | 11 ++++++ .../lib/registry/new-york/ui/table/index.ts | 8 ++++ .../lib/registry/new-york/ui/tabs/Tabs.vue | 11 ++++++ .../registry/new-york/ui/tabs/TabsContent.vue | 15 ++++++++ .../registry/new-york/ui/tabs/TabsList.vue | 20 ++++++++++ .../registry/new-york/ui/tabs/TabsTrigger.vue | 20 ++++++++++ .../lib/registry/new-york/ui/tabs/index.ts | 4 ++ .../new-york/ui/textarea/Textarea.vue | 22 +++++++++++ .../registry/new-york/ui/textarea/index.ts | 1 + .../registry/new-york/ui/toggle/Toggle.vue | 35 +++++++++++++++++ .../lib/registry/new-york/ui/toggle/index.ts | 25 ++++++++++++ .../registry/new-york/ui/tooltip/Tooltip.vue | 13 +++++++ .../new-york/ui/tooltip/TooltipContent.vue | 15 ++++++++ .../new-york/ui/tooltip/TooltipProvider.vue | 11 ++++++ .../new-york/ui/tooltip/TooltipTrigger.vue | 11 ++++++ .../lib/registry/new-york/ui/tooltip/index.ts | 4 ++ 48 files changed, 764 insertions(+) create mode 100644 apps/www/src/lib/registry/new-york/ui/accordion/Accordion.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/accordion/AccordionContent.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/accordion/AccordionItem.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/accordion/AccordionTrigger.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/accordion/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/badge/Badge.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/badge/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/button/Button.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/button/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/card/Card.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/card/CardContent.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/card/CardDescription.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/card/CardFooter.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/card/CardHeader.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/card/CardTitle.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/card/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/input/Input.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/input/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/progress/Progress.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/progress/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/slider/Slider.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/slider/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/switch/Switch.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/switch/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/table/Table.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableBody.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableCaption.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableCell.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableEmpty.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableFooter.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableHead.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableHeader.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/TableRow.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/table/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/tabs/Tabs.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tabs/TabsContent.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tabs/TabsList.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tabs/TabsTrigger.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tabs/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/textarea/Textarea.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/textarea/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/toggle/Toggle.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/toggle/index.ts create mode 100644 apps/www/src/lib/registry/new-york/ui/tooltip/Tooltip.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tooltip/TooltipContent.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tooltip/TooltipProvider.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tooltip/TooltipTrigger.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/tooltip/index.ts diff --git a/apps/www/src/lib/registry/new-york/ui/accordion/Accordion.vue b/apps/www/src/lib/registry/new-york/ui/accordion/Accordion.vue new file mode 100644 index 00000000..f20aecb5 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/accordion/Accordion.vue @@ -0,0 +1,17 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/accordion/AccordionContent.vue b/apps/www/src/lib/registry/new-york/ui/accordion/AccordionContent.vue new file mode 100644 index 00000000..10703dec --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/accordion/AccordionContent.vue @@ -0,0 +1,22 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/accordion/AccordionItem.vue b/apps/www/src/lib/registry/new-york/ui/accordion/AccordionItem.vue new file mode 100644 index 00000000..c78bf5aa --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/accordion/AccordionItem.vue @@ -0,0 +1,15 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/accordion/AccordionTrigger.vue b/apps/www/src/lib/registry/new-york/ui/accordion/AccordionTrigger.vue new file mode 100644 index 00000000..c9bf4816 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/accordion/AccordionTrigger.vue @@ -0,0 +1,30 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/accordion/index.ts b/apps/www/src/lib/registry/new-york/ui/accordion/index.ts new file mode 100644 index 00000000..9340ac06 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/accordion/index.ts @@ -0,0 +1,4 @@ +export { default as Accordion } from './Accordion.vue' +export { default as AccordionContent } from './AccordionContent.vue' +export { default as AccordionItem } from './AccordionItem.vue' +export { default as AccordionTrigger } from './AccordionTrigger.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/badge/Badge.vue b/apps/www/src/lib/registry/new-york/ui/badge/Badge.vue new file mode 100644 index 00000000..b459c145 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/badge/Badge.vue @@ -0,0 +1,18 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/badge/index.ts b/apps/www/src/lib/registry/new-york/ui/badge/index.ts new file mode 100644 index 00000000..6bcca9b1 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/badge/index.ts @@ -0,0 +1,23 @@ +import { cva } from 'class-variance-authority' + +export { default as Badge } from './Badge.vue' + +export const badgeVariants = cva( + 'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', + { + variants: { + variant: { + default: + 'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80', + secondary: + 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80', + destructive: + 'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80', + outline: 'text-foreground', + }, + }, + defaultVariants: { + variant: 'default', + }, + }, +) diff --git a/apps/www/src/lib/registry/new-york/ui/button/Button.vue b/apps/www/src/lib/registry/new-york/ui/button/Button.vue new file mode 100644 index 00000000..d721b1ab --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/button/Button.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/button/index.ts b/apps/www/src/lib/registry/new-york/ui/button/index.ts new file mode 100644 index 00000000..aa543186 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/button/index.ts @@ -0,0 +1,33 @@ +import { cva } from 'class-variance-authority' + +export { default as Button } from './Button.vue' + +export const buttonVariants = cva( + 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50', + { + variants: { + variant: { + default: + 'bg-primary text-primary-foreground shadow hover:bg-primary/90', + destructive: + 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90', + outline: + 'border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground', + secondary: + 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', + ghost: 'hover:bg-accent hover:text-accent-foreground', + link: 'text-primary underline-offset-4 hover:underline', + }, + size: { + default: 'h-9 px-4 py-2', + sm: 'h-8 rounded-md px-3 text-xs', + lg: 'h-10 rounded-md px-8', + icon: 'h-9 w-9', + }, + }, + defaultVariants: { + variant: 'default', + size: 'default', + }, + }, +) diff --git a/apps/www/src/lib/registry/new-york/ui/card/Card.vue b/apps/www/src/lib/registry/new-york/ui/card/Card.vue new file mode 100644 index 00000000..f8b4ef1f --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/Card.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/card/CardContent.vue b/apps/www/src/lib/registry/new-york/ui/card/CardContent.vue new file mode 100644 index 00000000..9dc5a661 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/CardContent.vue @@ -0,0 +1,16 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/card/CardDescription.vue b/apps/www/src/lib/registry/new-york/ui/card/CardDescription.vue new file mode 100644 index 00000000..6f1fc0ee --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/CardDescription.vue @@ -0,0 +1,16 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/card/CardFooter.vue b/apps/www/src/lib/registry/new-york/ui/card/CardFooter.vue new file mode 100644 index 00000000..fb1205b9 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/CardFooter.vue @@ -0,0 +1,16 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/card/CardHeader.vue b/apps/www/src/lib/registry/new-york/ui/card/CardHeader.vue new file mode 100644 index 00000000..7422a5ad --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/CardHeader.vue @@ -0,0 +1,16 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/card/CardTitle.vue b/apps/www/src/lib/registry/new-york/ui/card/CardTitle.vue new file mode 100644 index 00000000..b5c27b34 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/CardTitle.vue @@ -0,0 +1,20 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/card/index.ts b/apps/www/src/lib/registry/new-york/ui/card/index.ts new file mode 100644 index 00000000..8170483c --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/card/index.ts @@ -0,0 +1,6 @@ +export { default as Card } from './Card.vue' +export { default as CardHeader } from './CardHeader.vue' +export { default as CardTitle } from './CardTitle.vue' +export { default as CardDescription } from './CardDescription.vue' +export { default as CardContent } from './CardContent.vue' +export { default as CardFooter } from './CardFooter.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/input/Input.vue b/apps/www/src/lib/registry/new-york/ui/input/Input.vue new file mode 100644 index 00000000..7a7fbd07 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/input/Input.vue @@ -0,0 +1,22 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/input/index.ts b/apps/www/src/lib/registry/new-york/ui/input/index.ts new file mode 100644 index 00000000..a691dd6c --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/input/index.ts @@ -0,0 +1 @@ +export { default as Input } from './Input.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/progress/Progress.vue b/apps/www/src/lib/registry/new-york/ui/progress/Progress.vue new file mode 100644 index 00000000..947f1b36 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/progress/Progress.vue @@ -0,0 +1,38 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/progress/index.ts b/apps/www/src/lib/registry/new-york/ui/progress/index.ts new file mode 100644 index 00000000..eace9893 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/progress/index.ts @@ -0,0 +1 @@ +export { default as Progress } from './Progress.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue b/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue new file mode 100644 index 00000000..e82f0fb9 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/slider/Slider.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/slider/index.ts b/apps/www/src/lib/registry/new-york/ui/slider/index.ts new file mode 100644 index 00000000..1c945deb --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/slider/index.ts @@ -0,0 +1 @@ +export { default as Slider } from './Slider.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue b/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue new file mode 100644 index 00000000..57cbf64c --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue @@ -0,0 +1,34 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/switch/index.ts b/apps/www/src/lib/registry/new-york/ui/switch/index.ts new file mode 100644 index 00000000..87b4b17d --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/switch/index.ts @@ -0,0 +1 @@ +export { default as Switch } from './Switch.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/table/Table.vue b/apps/www/src/lib/registry/new-york/ui/table/Table.vue new file mode 100644 index 00000000..e64c4516 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/Table.vue @@ -0,0 +1,13 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableBody.vue b/apps/www/src/lib/registry/new-york/ui/table/TableBody.vue new file mode 100644 index 00000000..eb0f663a --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableBody.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableCaption.vue b/apps/www/src/lib/registry/new-york/ui/table/TableCaption.vue new file mode 100644 index 00000000..513caa7e --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableCaption.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableCell.vue b/apps/www/src/lib/registry/new-york/ui/table/TableCell.vue new file mode 100644 index 00000000..eb2e18fb --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableCell.vue @@ -0,0 +1,18 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableEmpty.vue b/apps/www/src/lib/registry/new-york/ui/table/TableEmpty.vue new file mode 100644 index 00000000..7e60756f --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableEmpty.vue @@ -0,0 +1,33 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableFooter.vue b/apps/www/src/lib/registry/new-york/ui/table/TableFooter.vue new file mode 100644 index 00000000..6e34e4c6 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableFooter.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableHead.vue b/apps/www/src/lib/registry/new-york/ui/table/TableHead.vue new file mode 100644 index 00000000..c5528062 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableHead.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableHeader.vue b/apps/www/src/lib/registry/new-york/ui/table/TableHeader.vue new file mode 100644 index 00000000..3af2117f --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableHeader.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/TableRow.vue b/apps/www/src/lib/registry/new-york/ui/table/TableRow.vue new file mode 100644 index 00000000..f752f46f --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/TableRow.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/table/index.ts b/apps/www/src/lib/registry/new-york/ui/table/index.ts new file mode 100644 index 00000000..44582d35 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/table/index.ts @@ -0,0 +1,8 @@ +export { default as Table } from './Table.vue' +export { default as TableBody } from './TableBody.vue' +export { default as TableCell } from './TableCell.vue' +export { default as TableHead } from './TableHead.vue' +export { default as TableHeader } from './TableHeader.vue' +export { default as TableRow } from './TableRow.vue' +export { default as TableCaption } from './TableCaption.vue' +export { default as TableEmpty } from './TableEmpty.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/tabs/Tabs.vue b/apps/www/src/lib/registry/new-york/ui/tabs/Tabs.vue new file mode 100644 index 00000000..808fe019 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/tabs/Tabs.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/tabs/TabsContent.vue b/apps/www/src/lib/registry/new-york/ui/tabs/TabsContent.vue new file mode 100644 index 00000000..a39a666b --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/tabs/TabsContent.vue @@ -0,0 +1,15 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/tabs/TabsList.vue b/apps/www/src/lib/registry/new-york/ui/tabs/TabsList.vue new file mode 100644 index 00000000..0486a244 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/tabs/TabsList.vue @@ -0,0 +1,20 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/tabs/TabsTrigger.vue b/apps/www/src/lib/registry/new-york/ui/tabs/TabsTrigger.vue new file mode 100644 index 00000000..2be5601d --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/tabs/TabsTrigger.vue @@ -0,0 +1,20 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/tabs/index.ts b/apps/www/src/lib/registry/new-york/ui/tabs/index.ts new file mode 100644 index 00000000..fbea0c68 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/tabs/index.ts @@ -0,0 +1,4 @@ +export { default as Tabs } from './Tabs.vue' +export { default as TabsTrigger } from './TabsTrigger.vue' +export { default as TabsList } from './TabsList.vue' +export { default as TabsContent } from './TabsContent.vue' diff --git a/apps/www/src/lib/registry/new-york/ui/textarea/Textarea.vue b/apps/www/src/lib/registry/new-york/ui/textarea/Textarea.vue new file mode 100644 index 00000000..326d2509 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/textarea/Textarea.vue @@ -0,0 +1,22 @@ + + +