@arcadeai/design-system 0.7.4 → 0.8.0

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.
Files changed (30) hide show
  1. package/dist/components/index.js +134 -130
  2. package/dist/components/ui/atoms/accordion.js +1 -1
  3. package/dist/components/ui/atoms/avatar.js +200 -82
  4. package/dist/components/ui/atoms/breadcrumb.js +25 -37
  5. package/dist/components/ui/atoms/chart.js +115 -10398
  6. package/dist/components/ui/atoms/command.js +158 -168
  7. package/dist/components/ui/atoms/dialog.js +30 -29
  8. package/dist/components/ui/atoms/dropdown-menu.js +153 -162
  9. package/dist/components/ui/atoms/form.js +57 -250
  10. package/dist/components/ui/atoms/hover-card.js +1 -1
  11. package/dist/components/ui/atoms/index.d.ts +1 -0
  12. package/dist/components/ui/atoms/index.js +134 -130
  13. package/dist/components/ui/atoms/popover.js +1 -1
  14. package/dist/components/ui/atoms/radio-group.d.ts +5 -0
  15. package/dist/components/ui/atoms/radio-group.js +272 -0
  16. package/dist/components/ui/atoms/resizable.js +359 -372
  17. package/dist/components/ui/atoms/select.js +101 -110
  18. package/dist/components/ui/atoms/sheet.js +24 -23
  19. package/dist/components/ui/atoms/sidebar.js +80 -89
  20. package/dist/components/ui/atoms/tooltip.js +1 -1
  21. package/dist/components/ui/index.js +134 -130
  22. package/dist/{index-f0YS5Ufh.js → index-PlrlSrPo.js} +266 -259
  23. package/dist/{index-DLfXSskr.js → index-toVHZ337.js} +49 -61
  24. package/dist/main.js +134 -130
  25. package/package.json +13 -12
  26. package/dist/check-B5h1DvDs.js +0 -11
  27. package/dist/chevron-down-DmZMdOiC.js +0 -11
  28. package/dist/chevron-right-BYYHEJjK.js +0 -11
  29. package/dist/createLucideIcon-XRdN60yz.js +0 -94
  30. package/dist/index-CJFGOBPb.js +0 -122
@@ -1,51 +1,53 @@
1
1
  import { Accordion as o, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./ui/atoms/accordion.js";
2
- import { Alert as l, AlertDescription as d, AlertTitle as p } from "./ui/atoms/alert.js";
2
+ import { Alert as l, AlertDescription as p, AlertTitle as d } from "./ui/atoms/alert.js";
3
3
  import { Avatar as S, AvatarFallback as b, AvatarImage as u } from "./ui/atoms/avatar.js";
4
4
  import { Badge as g, badgeVariants as c } from "./ui/atoms/badge.js";
5
- import { Breadcrumb as x, BreadcrumbEllipsis as s, BreadcrumbItem as f, BreadcrumbLink as D, BreadcrumbList as M, BreadcrumbPage as h, BreadcrumbSeparator as w } from "./ui/atoms/breadcrumb.js";
6
- import { Button as B, buttonVariants as A } from "./ui/atoms/button.js";
7
- import { Card as v, CardAction as P, CardContent as L, CardDescription as H, CardFooter as G, CardHeader as R, CardTitle as k } from "./ui/atoms/card.js";
5
+ import { Breadcrumb as T, BreadcrumbEllipsis as f, BreadcrumbItem as s, BreadcrumbLink as D, BreadcrumbList as M, BreadcrumbPage as h, BreadcrumbSeparator as w } from "./ui/atoms/breadcrumb.js";
6
+ import { Button as B, buttonVariants as I } from "./ui/atoms/button.js";
7
+ import { Card as v, CardAction as P, CardContent as G, CardDescription as L, CardFooter as H, CardHeader as R, CardTitle as k } from "./ui/atoms/card.js";
8
8
  import { ChartContainer as V, ChartLegend as z, ChartLegendContent as E, ChartStyle as O, ChartTooltip as U, ChartTooltipContent as j } from "./ui/atoms/chart.js";
9
9
  import { Collapsible as J, CollapsibleContent as K, CollapsibleTrigger as N } from "./ui/atoms/collapsible.js";
10
10
  import { Command as W, CommandDialog as X, CommandEmpty as Y, CommandGroup as Z, CommandInput as _, CommandItem as $, CommandList as ee, CommandSeparator as re, CommandShortcut as oe } from "./ui/atoms/command.js";
11
- import { Dialog as ae, DialogClose as ne, DialogContent as ie, DialogDescription as le, DialogFooter as de, DialogHeader as pe, DialogOverlay as me, DialogPortal as Se, DialogTitle as be, DialogTrigger as ue } from "./ui/atoms/dialog.js";
12
- import { DropdownMenu as ge, DropdownMenuCheckboxItem as ce, DropdownMenuContent as Te, DropdownMenuGroup as xe, DropdownMenuItem as se, DropdownMenuLabel as fe, DropdownMenuPortal as De, DropdownMenuRadioGroup as Me, DropdownMenuRadioItem as he, DropdownMenuSeparator as we, DropdownMenuShortcut as Fe, DropdownMenuSub as Be, DropdownMenuSubContent as Ae, DropdownMenuSubTrigger as Ie, DropdownMenuTrigger as ve } from "./ui/atoms/dropdown-menu.js";
13
- import { Form as Le, FormControl as He, FormDescription as Ge, FormField as Re, FormItem as ke, FormLabel as ye, FormMessage as Ve, useFormContext as ze, useFormField as Ee } from "./ui/atoms/form.js";
14
- import { HoverCard as Ue, HoverCardContent as je, HoverCardTrigger as qe } from "./ui/atoms/hover-card.js";
15
- import { Input as Ke } from "./ui/atoms/input.js";
16
- import { Label as Qe } from "./ui/atoms/label.js";
17
- import { Popover as Xe, PopoverAnchor as Ye, PopoverContent as Ze, PopoverTrigger as _e } from "./ui/atoms/popover.js";
18
- import { Progress as er } from "./ui/atoms/progress.js";
19
- import { ResizableHandle as or, ResizablePanel as tr, ResizablePanelGroup as ar } from "./ui/atoms/resizable.js";
20
- import { ScrollArea as ir, ScrollBar as lr } from "./ui/atoms/scroll-area.js";
21
- import { Select as pr, SelectContent as mr, SelectGroup as Sr, SelectItem as br, SelectLabel as ur, SelectScrollDownButton as Cr, SelectScrollUpButton as gr, SelectSeparator as cr, SelectTrigger as Tr, SelectValue as xr } from "./ui/atoms/select.js";
22
- import { Separator as fr } from "./ui/atoms/separator.js";
23
- import { Sheet as Mr, SheetClose as hr, SheetContent as wr, SheetDescription as Fr, SheetFooter as Br, SheetHeader as Ar, SheetTitle as Ir, SheetTrigger as vr } from "./ui/atoms/sheet.js";
24
- import { Sidebar as Lr, SidebarContent as Hr, SidebarFooter as Gr, SidebarGroup as Rr, SidebarGroupAction as kr, SidebarGroupContent as yr, SidebarGroupLabel as Vr, SidebarHeader as zr, SidebarInput as Er, SidebarInset as Or, SidebarMenu as Ur, SidebarMenuAction as jr, SidebarMenuBadge as qr, SidebarMenuButton as Jr, SidebarMenuItem as Kr, SidebarMenuSkeleton as Nr, SidebarMenuSub as Qr, SidebarMenuSubButton as Wr, SidebarMenuSubItem as Xr, SidebarProvider as Yr, SidebarRail as Zr, SidebarSeparator as _r, SidebarTrigger as $r, useSidebar as eo } from "./ui/atoms/sidebar.js";
25
- import { Skeleton as oo } from "./ui/atoms/skeleton.js";
26
- import { Slider as ao } from "./ui/atoms/slider.js";
27
- import { Toaster as io } from "./ui/atoms/sonner.js";
28
- import { Switch as po } from "./ui/atoms/switch.js";
29
- import { Table as So, TableBody as bo, TableCaption as uo, TableCell as Co, TableFooter as go, TableHead as co, TableHeader as To, TableRow as xo } from "./ui/atoms/table.js";
30
- import { Tabs as fo, TabsContent as Do, TabsList as Mo, TabsTrigger as ho } from "./ui/atoms/tabs.js";
31
- import { Textarea as Fo } from "./ui/atoms/textarea.js";
32
- import { Toggle as Ao, toggleVariants as Io } from "./ui/atoms/toggle.js";
33
- import { Tooltip as Po, TooltipContent as Lo, TooltipProvider as Ho, TooltipTrigger as Go } from "./ui/atoms/tooltip.js";
11
+ import { Dialog as ae, DialogClose as ne, DialogContent as ie, DialogDescription as le, DialogFooter as pe, DialogHeader as de, DialogOverlay as me, DialogPortal as Se, DialogTitle as be, DialogTrigger as ue } from "./ui/atoms/dialog.js";
12
+ import { DropdownMenu as ge, DropdownMenuCheckboxItem as ce, DropdownMenuContent as xe, DropdownMenuGroup as Te, DropdownMenuItem as fe, DropdownMenuLabel as se, DropdownMenuPortal as De, DropdownMenuRadioGroup as Me, DropdownMenuRadioItem as he, DropdownMenuSeparator as we, DropdownMenuShortcut as Fe, DropdownMenuSub as Be, DropdownMenuSubContent as Ie, DropdownMenuSubTrigger as Ae, DropdownMenuTrigger as ve } from "./ui/atoms/dropdown-menu.js";
13
+ import { Form as Ge, FormControl as Le, FormDescription as He, FormField as Re, FormItem as ke, FormLabel as ye, FormMessage as Ve, useFormField as ze } from "./ui/atoms/form.js";
14
+ import { HoverCard as Oe, HoverCardContent as Ue, HoverCardTrigger as je } from "./ui/atoms/hover-card.js";
15
+ import { Input as Je } from "./ui/atoms/input.js";
16
+ import { Label as Ne } from "./ui/atoms/label.js";
17
+ import { Popover as We, PopoverAnchor as Xe, PopoverContent as Ye, PopoverTrigger as Ze } from "./ui/atoms/popover.js";
18
+ import { Progress as $e } from "./ui/atoms/progress.js";
19
+ import { RadioGroup as rr, RadioGroupItem as or } from "./ui/atoms/radio-group.js";
20
+ import { ResizableHandle as ar, ResizablePanel as nr, ResizablePanelGroup as ir } from "./ui/atoms/resizable.js";
21
+ import { ScrollArea as pr, ScrollBar as dr } from "./ui/atoms/scroll-area.js";
22
+ import { Select as Sr, SelectContent as br, SelectGroup as ur, SelectItem as Cr, SelectLabel as gr, SelectScrollDownButton as cr, SelectScrollUpButton as xr, SelectSeparator as Tr, SelectTrigger as fr, SelectValue as sr } from "./ui/atoms/select.js";
23
+ import { Separator as Mr } from "./ui/atoms/separator.js";
24
+ import { Sheet as wr, SheetClose as Fr, SheetContent as Br, SheetDescription as Ir, SheetFooter as Ar, SheetHeader as vr, SheetTitle as Pr, SheetTrigger as Gr } from "./ui/atoms/sheet.js";
25
+ import { Sidebar as Hr, SidebarContent as Rr, SidebarFooter as kr, SidebarGroup as yr, SidebarGroupAction as Vr, SidebarGroupContent as zr, SidebarGroupLabel as Er, SidebarHeader as Or, SidebarInput as Ur, SidebarInset as jr, SidebarMenu as qr, SidebarMenuAction as Jr, SidebarMenuBadge as Kr, SidebarMenuButton as Nr, SidebarMenuItem as Qr, SidebarMenuSkeleton as Wr, SidebarMenuSub as Xr, SidebarMenuSubButton as Yr, SidebarMenuSubItem as Zr, SidebarProvider as _r, SidebarRail as $r, SidebarSeparator as eo, SidebarTrigger as ro, useSidebar as oo } from "./ui/atoms/sidebar.js";
26
+ import { Skeleton as ao } from "./ui/atoms/skeleton.js";
27
+ import { Slider as io } from "./ui/atoms/slider.js";
28
+ import { Toaster as po } from "./ui/atoms/sonner.js";
29
+ import { Switch as So } from "./ui/atoms/switch.js";
30
+ import { Table as uo, TableBody as Co, TableCaption as go, TableCell as co, TableFooter as xo, TableHead as To, TableHeader as fo, TableRow as so } from "./ui/atoms/table.js";
31
+ import { Tabs as Mo, TabsContent as ho, TabsList as wo, TabsTrigger as Fo } from "./ui/atoms/tabs.js";
32
+ import { Textarea as Io } from "./ui/atoms/textarea.js";
33
+ import { Toggle as vo, toggleVariants as Po } from "./ui/atoms/toggle.js";
34
+ import { Tooltip as Lo, TooltipContent as Ho, TooltipProvider as Ro, TooltipTrigger as ko } from "./ui/atoms/tooltip.js";
35
+ import { useFormContext as Vo } from "react-hook-form";
34
36
  export {
35
37
  o as Accordion,
36
38
  t as AccordionContent,
37
39
  a as AccordionItem,
38
40
  n as AccordionTrigger,
39
41
  l as Alert,
40
- d as AlertDescription,
41
- p as AlertTitle,
42
+ p as AlertDescription,
43
+ d as AlertTitle,
42
44
  S as Avatar,
43
45
  b as AvatarFallback,
44
46
  u as AvatarImage,
45
47
  g as Badge,
46
- x as Breadcrumb,
47
- s as BreadcrumbEllipsis,
48
- f as BreadcrumbItem,
48
+ T as Breadcrumb,
49
+ f as BreadcrumbEllipsis,
50
+ s as BreadcrumbItem,
49
51
  D as BreadcrumbLink,
50
52
  M as BreadcrumbList,
51
53
  h as BreadcrumbPage,
@@ -53,9 +55,9 @@ export {
53
55
  B as Button,
54
56
  v as Card,
55
57
  P as CardAction,
56
- L as CardContent,
57
- H as CardDescription,
58
- G as CardFooter,
58
+ G as CardContent,
59
+ L as CardDescription,
60
+ H as CardFooter,
59
61
  R as CardHeader,
60
62
  k as CardTitle,
61
63
  V as ChartContainer,
@@ -80,117 +82,119 @@ export {
80
82
  ne as DialogClose,
81
83
  ie as DialogContent,
82
84
  le as DialogDescription,
83
- de as DialogFooter,
84
- pe as DialogHeader,
85
+ pe as DialogFooter,
86
+ de as DialogHeader,
85
87
  me as DialogOverlay,
86
88
  Se as DialogPortal,
87
89
  be as DialogTitle,
88
90
  ue as DialogTrigger,
89
91
  ge as DropdownMenu,
90
92
  ce as DropdownMenuCheckboxItem,
91
- Te as DropdownMenuContent,
92
- xe as DropdownMenuGroup,
93
- se as DropdownMenuItem,
94
- fe as DropdownMenuLabel,
93
+ xe as DropdownMenuContent,
94
+ Te as DropdownMenuGroup,
95
+ fe as DropdownMenuItem,
96
+ se as DropdownMenuLabel,
95
97
  De as DropdownMenuPortal,
96
98
  Me as DropdownMenuRadioGroup,
97
99
  he as DropdownMenuRadioItem,
98
100
  we as DropdownMenuSeparator,
99
101
  Fe as DropdownMenuShortcut,
100
102
  Be as DropdownMenuSub,
101
- Ae as DropdownMenuSubContent,
102
- Ie as DropdownMenuSubTrigger,
103
+ Ie as DropdownMenuSubContent,
104
+ Ae as DropdownMenuSubTrigger,
103
105
  ve as DropdownMenuTrigger,
104
- Le as Form,
105
- He as FormControl,
106
- Ge as FormDescription,
106
+ Ge as Form,
107
+ Le as FormControl,
108
+ He as FormDescription,
107
109
  Re as FormField,
108
110
  ke as FormItem,
109
111
  ye as FormLabel,
110
112
  Ve as FormMessage,
111
- Ue as HoverCard,
112
- je as HoverCardContent,
113
- qe as HoverCardTrigger,
114
- Ke as Input,
115
- Qe as Label,
116
- Xe as Popover,
117
- Ye as PopoverAnchor,
118
- Ze as PopoverContent,
119
- _e as PopoverTrigger,
120
- er as Progress,
121
- or as ResizableHandle,
122
- tr as ResizablePanel,
123
- ar as ResizablePanelGroup,
124
- ir as ScrollArea,
125
- lr as ScrollBar,
126
- pr as Select,
127
- mr as SelectContent,
128
- Sr as SelectGroup,
129
- br as SelectItem,
130
- ur as SelectLabel,
131
- Cr as SelectScrollDownButton,
132
- gr as SelectScrollUpButton,
133
- cr as SelectSeparator,
134
- Tr as SelectTrigger,
135
- xr as SelectValue,
136
- fr as Separator,
137
- Mr as Sheet,
138
- hr as SheetClose,
139
- wr as SheetContent,
140
- Fr as SheetDescription,
141
- Br as SheetFooter,
142
- Ar as SheetHeader,
143
- Ir as SheetTitle,
144
- vr as SheetTrigger,
145
- Lr as Sidebar,
146
- Hr as SidebarContent,
147
- Gr as SidebarFooter,
148
- Rr as SidebarGroup,
149
- kr as SidebarGroupAction,
150
- yr as SidebarGroupContent,
151
- Vr as SidebarGroupLabel,
152
- zr as SidebarHeader,
153
- Er as SidebarInput,
154
- Or as SidebarInset,
155
- Ur as SidebarMenu,
156
- jr as SidebarMenuAction,
157
- qr as SidebarMenuBadge,
158
- Jr as SidebarMenuButton,
159
- Kr as SidebarMenuItem,
160
- Nr as SidebarMenuSkeleton,
161
- Qr as SidebarMenuSub,
162
- Wr as SidebarMenuSubButton,
163
- Xr as SidebarMenuSubItem,
164
- Yr as SidebarProvider,
165
- Zr as SidebarRail,
166
- _r as SidebarSeparator,
167
- $r as SidebarTrigger,
168
- oo as Skeleton,
169
- ao as Slider,
170
- po as Switch,
171
- So as Table,
172
- bo as TableBody,
173
- uo as TableCaption,
174
- Co as TableCell,
175
- go as TableFooter,
176
- co as TableHead,
177
- To as TableHeader,
178
- xo as TableRow,
179
- fo as Tabs,
180
- Do as TabsContent,
181
- Mo as TabsList,
182
- ho as TabsTrigger,
183
- Fo as Textarea,
184
- io as Toaster,
185
- Ao as Toggle,
186
- Po as Tooltip,
187
- Lo as TooltipContent,
188
- Ho as TooltipProvider,
189
- Go as TooltipTrigger,
113
+ Oe as HoverCard,
114
+ Ue as HoverCardContent,
115
+ je as HoverCardTrigger,
116
+ Je as Input,
117
+ Ne as Label,
118
+ We as Popover,
119
+ Xe as PopoverAnchor,
120
+ Ye as PopoverContent,
121
+ Ze as PopoverTrigger,
122
+ $e as Progress,
123
+ rr as RadioGroup,
124
+ or as RadioGroupItem,
125
+ ar as ResizableHandle,
126
+ nr as ResizablePanel,
127
+ ir as ResizablePanelGroup,
128
+ pr as ScrollArea,
129
+ dr as ScrollBar,
130
+ Sr as Select,
131
+ br as SelectContent,
132
+ ur as SelectGroup,
133
+ Cr as SelectItem,
134
+ gr as SelectLabel,
135
+ cr as SelectScrollDownButton,
136
+ xr as SelectScrollUpButton,
137
+ Tr as SelectSeparator,
138
+ fr as SelectTrigger,
139
+ sr as SelectValue,
140
+ Mr as Separator,
141
+ wr as Sheet,
142
+ Fr as SheetClose,
143
+ Br as SheetContent,
144
+ Ir as SheetDescription,
145
+ Ar as SheetFooter,
146
+ vr as SheetHeader,
147
+ Pr as SheetTitle,
148
+ Gr as SheetTrigger,
149
+ Hr as Sidebar,
150
+ Rr as SidebarContent,
151
+ kr as SidebarFooter,
152
+ yr as SidebarGroup,
153
+ Vr as SidebarGroupAction,
154
+ zr as SidebarGroupContent,
155
+ Er as SidebarGroupLabel,
156
+ Or as SidebarHeader,
157
+ Ur as SidebarInput,
158
+ jr as SidebarInset,
159
+ qr as SidebarMenu,
160
+ Jr as SidebarMenuAction,
161
+ Kr as SidebarMenuBadge,
162
+ Nr as SidebarMenuButton,
163
+ Qr as SidebarMenuItem,
164
+ Wr as SidebarMenuSkeleton,
165
+ Xr as SidebarMenuSub,
166
+ Yr as SidebarMenuSubButton,
167
+ Zr as SidebarMenuSubItem,
168
+ _r as SidebarProvider,
169
+ $r as SidebarRail,
170
+ eo as SidebarSeparator,
171
+ ro as SidebarTrigger,
172
+ ao as Skeleton,
173
+ io as Slider,
174
+ So as Switch,
175
+ uo as Table,
176
+ Co as TableBody,
177
+ go as TableCaption,
178
+ co as TableCell,
179
+ xo as TableFooter,
180
+ To as TableHead,
181
+ fo as TableHeader,
182
+ so as TableRow,
183
+ Mo as Tabs,
184
+ ho as TabsContent,
185
+ wo as TabsList,
186
+ Fo as TabsTrigger,
187
+ Io as Textarea,
188
+ po as Toaster,
189
+ vo as Toggle,
190
+ Lo as Tooltip,
191
+ Ho as TooltipContent,
192
+ Ro as TooltipProvider,
193
+ ko as TooltipTrigger,
190
194
  c as badgeVariants,
191
- A as buttonVariants,
192
- Io as toggleVariants,
193
- ze as useFormContext,
194
- Ee as useFormField,
195
- eo as useSidebar
195
+ I as buttonVariants,
196
+ Po as toggleVariants,
197
+ Vo as useFormContext,
198
+ ze as useFormField,
199
+ oo as useSidebar
196
200
  };
@@ -9,8 +9,8 @@ import { P as M } from "../../../index-CpDnqHCm.js";
9
9
  import { c as V, R as oe, T as re, b as te } from "../../../index-CtSXVDca.js";
10
10
  import { u as ne } from "../../../index-Cv867SGx.js";
11
11
  import { u as ce } from "../../../index-ByaXH_ih.js";
12
+ import { ChevronDownIcon as ae } from "lucide-react";
12
13
  import { c as S } from "../../../utils-CRiPKpXj.js";
13
- import { C as ae } from "../../../chevron-down-DmZMdOiC.js";
14
14
  var d = "Accordion", ie = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [E, se, le] = X(d), [b, Oe] = W(d, [
15
15
  le,
16
16
  V