@reinvented/design 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/components/alert-dialog.md +32 -0
- package/docs/components/avatar.md +14 -0
- package/docs/components/badge.md +24 -0
- package/docs/components/button.md +69 -0
- package/docs/components/card.md +49 -0
- package/docs/components/dialog.md +46 -0
- package/docs/components/dropdown-menu.md +32 -0
- package/docs/components/index.md +69 -50
- package/docs/components/input.md +34 -0
- package/docs/components/remaining-components.md +253 -0
- package/docs/components/scroll-area.md +17 -0
- package/docs/components/select.md +31 -0
- package/docs/components/separator.md +14 -0
- package/docs/components/sheet.md +32 -0
- package/docs/components/skeleton.md +20 -0
- package/docs/components/table.md +33 -0
- package/docs/components/tabs.md +23 -0
- package/docs/layouts/dashboard.md +70 -0
- package/docs/layouts/detail-page.md +83 -0
- package/docs/layouts/index.md +37 -24
- package/docs/layouts/list-page.md +107 -0
- package/docs/layouts/settings-page.md +79 -0
- package/docs/layouts/step-wizard.md +73 -0
- package/package.json +1 -1
- package/src/components/ui/accordion/Accordion.vue +13 -0
- package/src/components/ui/accordion/AccordionContent.vue +20 -0
- package/src/components/ui/accordion/AccordionItem.vue +15 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +25 -0
- package/src/components/ui/accordion/index.ts +4 -0
- package/src/components/ui/alert/Alert.vue +38 -0
- package/src/components/ui/alert/AlertDescription.vue +12 -0
- package/src/components/ui/alert/AlertTitle.vue +12 -0
- package/src/components/ui/alert/index.ts +3 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +13 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +21 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +21 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +39 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +12 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +12 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +11 -0
- package/src/components/ui/alert-dialog/index.ts +9 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +6 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +12 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +6 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +20 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +6 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +6 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +11 -0
- package/src/components/ui/breadcrumb/index.ts +7 -0
- package/src/components/ui/button/Button.vue +0 -1
- package/src/components/ui/checkbox/Checkbox.vue +25 -0
- package/src/components/ui/checkbox/index.ts +1 -0
- package/src/components/ui/collapsible/Collapsible.vue +13 -0
- package/src/components/ui/collapsible/index.ts +2 -0
- package/src/components/ui/command/Command.vue +16 -0
- package/src/components/ui/command/CommandEmpty.vue +5 -0
- package/src/components/ui/command/CommandGroup.vue +22 -0
- package/src/components/ui/command/CommandInput.vue +21 -0
- package/src/components/ui/command/CommandItem.vue +22 -0
- package/src/components/ui/command/CommandList.vue +17 -0
- package/src/components/ui/command/CommandSeparator.vue +5 -0
- package/src/components/ui/command/index.ts +7 -0
- package/src/components/ui/context-menu/ContextMenuContent.vue +24 -0
- package/src/components/ui/context-menu/ContextMenuItem.vue +16 -0
- package/src/components/ui/context-menu/ContextMenuLabel.vue +9 -0
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +9 -0
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +14 -0
- package/src/components/ui/context-menu/index.ts +9 -0
- package/src/components/ui/dialog/Dialog.vue +14 -0
- package/src/components/ui/dialog/DialogClose.vue +12 -0
- package/src/components/ui/dialog/DialogContent.vue +48 -0
- package/src/components/ui/dialog/DialogDescription.vue +23 -0
- package/src/components/ui/dialog/DialogFooter.vue +12 -0
- package/src/components/ui/dialog/DialogHeader.vue +12 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +47 -0
- package/src/components/ui/dialog/DialogTitle.vue +23 -0
- package/src/components/ui/dialog/DialogTrigger.vue +12 -0
- package/src/components/ui/dialog/index.ts +9 -0
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +13 -0
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +28 -0
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +33 -0
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +11 -0
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +27 -0
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +13 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +27 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +13 -0
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +12 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +13 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +11 -0
- package/src/components/ui/dropdown-menu/index.ts +14 -0
- package/src/components/ui/form/FormControl.vue +3 -0
- package/src/components/ui/form/FormDescription.vue +6 -0
- package/src/components/ui/form/FormItem.vue +6 -0
- package/src/components/ui/form/FormLabel.vue +10 -0
- package/src/components/ui/form/FormMessage.vue +10 -0
- package/src/components/ui/form/index.ts +9 -0
- package/src/components/ui/hover-card/HoverCard.vue +13 -0
- package/src/components/ui/hover-card/HoverCardContent.vue +26 -0
- package/src/components/ui/hover-card/HoverCardTrigger.vue +11 -0
- package/src/components/ui/hover-card/index.ts +3 -0
- package/src/components/ui/label/Label.vue +18 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/menubar/MenubarContent.vue +15 -0
- package/src/components/ui/menubar/MenubarItem.vue +13 -0
- package/src/components/ui/menubar/MenubarTrigger.vue +13 -0
- package/src/components/ui/menubar/index.ts +5 -0
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +14 -0
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +15 -0
- package/src/components/ui/navigation-menu/index.ts +4 -0
- package/src/components/ui/pagination/PaginationContent.vue +13 -0
- package/src/components/ui/pagination/PaginationEllipsis.vue +12 -0
- package/src/components/ui/pagination/PaginationNext.vue +14 -0
- package/src/components/ui/pagination/PaginationPrev.vue +14 -0
- package/src/components/ui/pagination/index.ts +6 -0
- package/src/components/ui/popover/Popover.vue +13 -0
- package/src/components/ui/popover/PopoverContent.vue +27 -0
- package/src/components/ui/popover/PopoverTrigger.vue +11 -0
- package/src/components/ui/popover/index.ts +3 -0
- package/src/components/ui/progress/Progress.vue +21 -0
- package/src/components/ui/progress/index.ts +1 -0
- package/src/components/ui/radio-group/RadioGroup.vue +16 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +24 -0
- package/src/components/ui/radio-group/index.ts +2 -0
- package/src/components/ui/select/Select.vue +13 -0
- package/src/components/ui/select/SelectContent.vue +40 -0
- package/src/components/ui/select/SelectGroup.vue +15 -0
- package/src/components/ui/select/SelectItem.vue +30 -0
- package/src/components/ui/select/SelectLabel.vue +15 -0
- package/src/components/ui/select/SelectSeparator.vue +13 -0
- package/src/components/ui/select/SelectTrigger.vue +23 -0
- package/src/components/ui/select/SelectValue.vue +11 -0
- package/src/components/ui/select/index.ts +8 -0
- package/src/components/ui/sheet/Sheet.vue +13 -0
- package/src/components/ui/sheet/SheetClose.vue +11 -0
- package/src/components/ui/sheet/SheetContent.vue +65 -0
- package/src/components/ui/sheet/SheetDescription.vue +15 -0
- package/src/components/ui/sheet/SheetFooter.vue +12 -0
- package/src/components/ui/sheet/SheetHeader.vue +12 -0
- package/src/components/ui/sheet/SheetTitle.vue +15 -0
- package/src/components/ui/sheet/SheetTrigger.vue +11 -0
- package/src/components/ui/sheet/index.ts +8 -0
- package/src/components/ui/slider/Slider.vue +26 -0
- package/src/components/ui/slider/index.ts +1 -0
- package/src/components/ui/switch/Switch.vue +24 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/table/Table.vue +13 -0
- package/src/components/ui/table/TableBody.vue +6 -0
- package/src/components/ui/table/TableCaption.vue +6 -0
- package/src/components/ui/table/TableCell.vue +6 -0
- package/src/components/ui/table/TableFooter.vue +6 -0
- package/src/components/ui/table/TableHead.vue +6 -0
- package/src/components/ui/table/TableHeader.vue +6 -0
- package/src/components/ui/table/TableRow.vue +6 -0
- package/src/components/ui/table/index.ts +8 -0
- package/src/components/ui/tabs/Tabs.vue +13 -0
- package/src/components/ui/tabs/TabsContent.vue +21 -0
- package/src/components/ui/tabs/TabsList.vue +21 -0
- package/src/components/ui/tabs/TabsTrigger.vue +21 -0
- package/src/components/ui/tabs/index.ts +4 -0
- package/src/components/ui/textarea/Textarea.vue +29 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/components/ui/toggle/Toggle.vue +40 -0
- package/src/components/ui/toggle/index.ts +1 -0
- package/src/components/ui/toggle-group/ToggleGroup.vue +16 -0
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +21 -0
- package/src/components/ui/toggle-group/index.ts +2 -0
- package/src/components/ui/tooltip/Tooltip.vue +13 -0
- package/src/components/ui/tooltip/TooltipContent.vue +27 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +12 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +11 -0
- package/src/components/ui/tooltip/index.ts +4 -0
- package/src/index.ts +46 -192
- package/src/patterns/DetailView.vue +2 -2
- package/src/patterns/EmptyState.vue +2 -2
- package/src/patterns/FormView.vue +2 -2
- package/src/patterns/ListView.vue +2 -2
- package/tsconfig.json +17 -3
package/src/index.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// ── @reinvented/design — Design System Barrel Export ──────────────
|
|
2
|
-
// Re-exports all UI components, utils, and types
|
|
2
|
+
// Re-exports all styled UI components, utils, and types
|
|
3
3
|
|
|
4
4
|
// Utilities
|
|
5
5
|
export { cn } from './lib/utils'
|
|
6
6
|
|
|
7
|
-
// UI Components
|
|
7
|
+
// ── Styled UI Components ──────────────────────────────────────────
|
|
8
|
+
|
|
9
|
+
// Core
|
|
8
10
|
export { Button } from './components/ui/button'
|
|
9
11
|
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from './components/ui/card'
|
|
10
12
|
export { Input } from './components/ui/input'
|
|
@@ -14,196 +16,48 @@ export { Separator } from './components/ui/separator'
|
|
|
14
16
|
export { Skeleton } from './components/ui/skeleton'
|
|
15
17
|
export { ScrollArea } from './components/ui/scroll-area'
|
|
16
18
|
|
|
17
|
-
//
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from '
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from '
|
|
54
|
-
|
|
55
|
-
export {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
TooltipProvider,
|
|
60
|
-
TooltipPortal,
|
|
61
|
-
} from 'radix-vue'
|
|
62
|
-
|
|
63
|
-
export {
|
|
64
|
-
PopoverRoot as Popover,
|
|
65
|
-
PopoverTrigger,
|
|
66
|
-
PopoverContent,
|
|
67
|
-
PopoverPortal,
|
|
68
|
-
} from 'radix-vue'
|
|
69
|
-
|
|
70
|
-
export {
|
|
71
|
-
SelectRoot as Select,
|
|
72
|
-
SelectTrigger,
|
|
73
|
-
SelectContent,
|
|
74
|
-
SelectItem,
|
|
75
|
-
SelectValue,
|
|
76
|
-
SelectGroup,
|
|
77
|
-
SelectLabel,
|
|
78
|
-
SelectSeparator,
|
|
79
|
-
SelectPortal,
|
|
80
|
-
SelectViewport,
|
|
81
|
-
SelectItemText,
|
|
82
|
-
SelectItemIndicator,
|
|
83
|
-
} from 'radix-vue'
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
AccordionRoot as Accordion,
|
|
87
|
-
AccordionItem,
|
|
88
|
-
AccordionTrigger,
|
|
89
|
-
AccordionContent,
|
|
90
|
-
AccordionHeader,
|
|
91
|
-
} from 'radix-vue'
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
SwitchRoot as Switch,
|
|
95
|
-
SwitchThumb,
|
|
96
|
-
} from 'radix-vue'
|
|
97
|
-
|
|
98
|
-
export {
|
|
99
|
-
CheckboxRoot as Checkbox,
|
|
100
|
-
CheckboxIndicator,
|
|
101
|
-
} from 'radix-vue'
|
|
102
|
-
|
|
103
|
-
export {
|
|
104
|
-
RadioGroupRoot as RadioGroup,
|
|
105
|
-
RadioGroupItem,
|
|
106
|
-
RadioGroupIndicator,
|
|
107
|
-
} from 'radix-vue'
|
|
108
|
-
|
|
109
|
-
export {
|
|
110
|
-
AlertDialogRoot as AlertDialog,
|
|
111
|
-
AlertDialogTrigger,
|
|
112
|
-
AlertDialogContent,
|
|
113
|
-
AlertDialogTitle,
|
|
114
|
-
AlertDialogDescription,
|
|
115
|
-
AlertDialogAction,
|
|
116
|
-
AlertDialogCancel,
|
|
117
|
-
AlertDialogOverlay,
|
|
118
|
-
AlertDialogPortal,
|
|
119
|
-
} from 'radix-vue'
|
|
120
|
-
|
|
121
|
-
export {
|
|
122
|
-
ProgressRoot as Progress,
|
|
123
|
-
ProgressIndicator,
|
|
124
|
-
} from 'radix-vue'
|
|
125
|
-
|
|
126
|
-
export {
|
|
127
|
-
SliderRoot as Slider,
|
|
128
|
-
SliderTrack,
|
|
129
|
-
SliderRange,
|
|
130
|
-
SliderThumb,
|
|
131
|
-
} from 'radix-vue'
|
|
132
|
-
|
|
133
|
-
export {
|
|
134
|
-
CollapsibleRoot as Collapsible,
|
|
135
|
-
CollapsibleTrigger,
|
|
136
|
-
CollapsibleContent,
|
|
137
|
-
} from 'radix-vue'
|
|
138
|
-
|
|
139
|
-
export {
|
|
140
|
-
ContextMenuRoot as ContextMenu,
|
|
141
|
-
ContextMenuTrigger,
|
|
142
|
-
ContextMenuContent,
|
|
143
|
-
ContextMenuItem,
|
|
144
|
-
ContextMenuSeparator,
|
|
145
|
-
ContextMenuLabel,
|
|
146
|
-
ContextMenuGroup,
|
|
147
|
-
ContextMenuSub,
|
|
148
|
-
ContextMenuSubTrigger,
|
|
149
|
-
ContextMenuSubContent,
|
|
150
|
-
ContextMenuCheckboxItem,
|
|
151
|
-
ContextMenuRadioGroup,
|
|
152
|
-
ContextMenuRadioItem,
|
|
153
|
-
ContextMenuPortal,
|
|
154
|
-
} from 'radix-vue'
|
|
155
|
-
|
|
156
|
-
export {
|
|
157
|
-
MenubarRoot as Menubar,
|
|
158
|
-
MenubarMenu,
|
|
159
|
-
MenubarTrigger,
|
|
160
|
-
MenubarContent,
|
|
161
|
-
MenubarItem,
|
|
162
|
-
MenubarSeparator,
|
|
163
|
-
MenubarPortal,
|
|
164
|
-
} from 'radix-vue'
|
|
165
|
-
|
|
166
|
-
export {
|
|
167
|
-
ScrollAreaRoot,
|
|
168
|
-
ScrollAreaViewport,
|
|
169
|
-
ScrollAreaScrollbar,
|
|
170
|
-
ScrollAreaThumb,
|
|
171
|
-
ScrollAreaCorner,
|
|
172
|
-
} from 'radix-vue'
|
|
173
|
-
|
|
174
|
-
export {
|
|
175
|
-
NavigationMenuRoot as NavigationMenu,
|
|
176
|
-
NavigationMenuList,
|
|
177
|
-
NavigationMenuItem,
|
|
178
|
-
NavigationMenuTrigger,
|
|
179
|
-
NavigationMenuContent,
|
|
180
|
-
NavigationMenuLink,
|
|
181
|
-
NavigationMenuViewport,
|
|
182
|
-
NavigationMenuIndicator,
|
|
183
|
-
} from 'radix-vue'
|
|
184
|
-
|
|
185
|
-
export {
|
|
186
|
-
HoverCardRoot as HoverCard,
|
|
187
|
-
HoverCardTrigger,
|
|
188
|
-
HoverCardContent,
|
|
189
|
-
HoverCardPortal,
|
|
190
|
-
} from 'radix-vue'
|
|
191
|
-
|
|
192
|
-
export {
|
|
193
|
-
ToggleGroupRoot as ToggleGroup,
|
|
194
|
-
ToggleGroupItem,
|
|
195
|
-
} from 'radix-vue'
|
|
196
|
-
|
|
197
|
-
export {
|
|
198
|
-
PaginationRoot as Pagination,
|
|
199
|
-
PaginationList,
|
|
200
|
-
PaginationListItem,
|
|
201
|
-
PaginationFirst,
|
|
202
|
-
PaginationPrev,
|
|
203
|
-
PaginationNext,
|
|
204
|
-
PaginationLast,
|
|
205
|
-
PaginationEllipsis,
|
|
206
|
-
} from 'radix-vue'
|
|
19
|
+
// Overlays
|
|
20
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogScrollContent, DialogTitle, DialogTrigger } from './components/ui/dialog'
|
|
21
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from './components/ui/alert-dialog'
|
|
22
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './components/ui/sheet'
|
|
23
|
+
|
|
24
|
+
// Data Input
|
|
25
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from './components/ui/select'
|
|
26
|
+
export { Label } from './components/ui/label'
|
|
27
|
+
export { Textarea } from './components/ui/textarea'
|
|
28
|
+
export { Switch } from './components/ui/switch'
|
|
29
|
+
export { Checkbox } from './components/ui/checkbox'
|
|
30
|
+
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group'
|
|
31
|
+
export { Slider } from './components/ui/slider'
|
|
32
|
+
|
|
33
|
+
// Navigation & Menus
|
|
34
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/ui/dropdown-menu'
|
|
35
|
+
export { ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuSubContent } from './components/ui/context-menu'
|
|
36
|
+
export { Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger } from './components/ui/menubar'
|
|
37
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport } from './components/ui/navigation-menu'
|
|
38
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/ui/tabs'
|
|
39
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './components/ui/breadcrumb'
|
|
40
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationLast, PaginationNext, PaginationPrev } from './components/ui/pagination'
|
|
41
|
+
|
|
42
|
+
// Feedback
|
|
43
|
+
export { Alert, AlertDescription, AlertTitle } from './components/ui/alert'
|
|
44
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/ui/tooltip'
|
|
45
|
+
export { Popover, PopoverContent, PopoverTrigger } from './components/ui/popover'
|
|
46
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/ui/hover-card'
|
|
47
|
+
export { Progress } from './components/ui/progress'
|
|
48
|
+
|
|
49
|
+
// Data Display
|
|
50
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/ui/table'
|
|
51
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/ui/accordion'
|
|
52
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './components/ui/collapsible'
|
|
53
|
+
|
|
54
|
+
// Actions
|
|
55
|
+
export { Toggle } from './components/ui/toggle'
|
|
56
|
+
export { ToggleGroup, ToggleGroupItem } from './components/ui/toggle-group'
|
|
57
|
+
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from './components/ui/command'
|
|
58
|
+
|
|
59
|
+
// Form
|
|
60
|
+
export { Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage } from './components/ui/form'
|
|
207
61
|
|
|
208
62
|
// External library re-exports
|
|
209
63
|
export { Toaster, toast } from 'vue-sonner'
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Use for: Circle detail, Event detail, Profile, App detail.
|
|
6
6
|
*/
|
|
7
7
|
import { type HTMLAttributes } from 'vue'
|
|
8
|
-
import { cn } from '
|
|
8
|
+
import { cn } from '../lib/utils'
|
|
9
9
|
|
|
10
10
|
interface Props {
|
|
11
11
|
title?: string
|
|
12
12
|
subtitle?: string
|
|
13
13
|
class?: HTMLAttributes['class']
|
|
14
14
|
}
|
|
15
|
-
defineProps<Props>()
|
|
15
|
+
const props = defineProps<Props>()
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<template>
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Use when a list/section has no data.
|
|
6
6
|
*/
|
|
7
7
|
import { type HTMLAttributes } from 'vue'
|
|
8
|
-
import { cn } from '
|
|
8
|
+
import { cn } from '../lib/utils'
|
|
9
9
|
|
|
10
10
|
interface Props {
|
|
11
11
|
title: string
|
|
12
12
|
description?: string
|
|
13
13
|
class?: HTMLAttributes['class']
|
|
14
14
|
}
|
|
15
|
-
defineProps<Props>()
|
|
15
|
+
const props = defineProps<Props>()
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<template>
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Use for: Settings, Profile edit, Create event, etc.
|
|
6
6
|
*/
|
|
7
7
|
import { type HTMLAttributes } from 'vue'
|
|
8
|
-
import { cn } from '
|
|
8
|
+
import { cn } from '../lib/utils'
|
|
9
9
|
|
|
10
10
|
interface Props {
|
|
11
11
|
title?: string
|
|
12
12
|
description?: string
|
|
13
13
|
class?: HTMLAttributes['class']
|
|
14
14
|
}
|
|
15
|
-
defineProps<Props>()
|
|
15
|
+
const props = defineProps<Props>()
|
|
16
16
|
const emit = defineEmits<{ submit: [] }>()
|
|
17
17
|
</script>
|
|
18
18
|
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Use for: Circles list, Friends list, Notifications, App Store browse.
|
|
6
6
|
*/
|
|
7
7
|
import { type HTMLAttributes } from 'vue'
|
|
8
|
-
import { cn } from '
|
|
8
|
+
import { cn } from '../lib/utils'
|
|
9
9
|
|
|
10
10
|
interface Props {
|
|
11
11
|
title?: string
|
|
12
12
|
class?: HTMLAttributes['class']
|
|
13
13
|
}
|
|
14
|
-
defineProps<Props>()
|
|
14
|
+
const props = defineProps<Props>()
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
package/tsconfig.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "../../tsconfig.json",
|
|
3
2
|
"compilerOptions": {
|
|
4
|
-
"
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
+
"strict": true,
|
|
8
|
+
"jsx": "preserve",
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"baseUrl": ".",
|
|
15
|
+
"paths": {
|
|
16
|
+
"@/*": ["./src/*"]
|
|
17
|
+
},
|
|
18
|
+
"noEmit": true
|
|
5
19
|
},
|
|
6
|
-
"include": ["src/**/*.ts", "src/**/*.vue"]
|
|
20
|
+
"include": ["src/**/*.ts", "src/**/*.vue", "src/env.d.ts"]
|
|
7
21
|
}
|