@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.
- package/dist/components/index.js +134 -130
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/avatar.js +200 -82
- package/dist/components/ui/atoms/breadcrumb.js +25 -37
- package/dist/components/ui/atoms/chart.js +115 -10398
- package/dist/components/ui/atoms/command.js +158 -168
- package/dist/components/ui/atoms/dialog.js +30 -29
- package/dist/components/ui/atoms/dropdown-menu.js +153 -162
- package/dist/components/ui/atoms/form.js +57 -250
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/index.d.ts +1 -0
- package/dist/components/ui/atoms/index.js +134 -130
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/radio-group.d.ts +5 -0
- package/dist/components/ui/atoms/radio-group.js +272 -0
- package/dist/components/ui/atoms/resizable.js +359 -372
- package/dist/components/ui/atoms/select.js +101 -110
- package/dist/components/ui/atoms/sheet.js +24 -23
- package/dist/components/ui/atoms/sidebar.js +80 -89
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/index.js +134 -130
- package/dist/{index-f0YS5Ufh.js → index-PlrlSrPo.js} +266 -259
- package/dist/{index-DLfXSskr.js → index-toVHZ337.js} +49 -61
- package/dist/main.js +134 -130
- package/package.json +13 -12
- package/dist/check-B5h1DvDs.js +0 -11
- package/dist/chevron-down-DmZMdOiC.js +0 -11
- package/dist/chevron-right-BYYHEJjK.js +0 -11
- package/dist/createLucideIcon-XRdN60yz.js +0 -94
- package/dist/index-CJFGOBPb.js +0 -122
package/dist/components/index.js
CHANGED
|
@@ -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
|
|
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
|
|
6
|
-
import { Button as B, buttonVariants as
|
|
7
|
-
import { Card as v, CardAction as P, CardContent as
|
|
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
|
|
12
|
-
import { DropdownMenu as ge, DropdownMenuCheckboxItem as ce, DropdownMenuContent as
|
|
13
|
-
import { Form as
|
|
14
|
-
import { HoverCard as
|
|
15
|
-
import { Input as
|
|
16
|
-
import { Label as
|
|
17
|
-
import { Popover as
|
|
18
|
-
import { Progress as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
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
|
-
|
|
41
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
-
|
|
84
|
-
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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
|
-
|
|
102
|
-
|
|
103
|
+
Ie as DropdownMenuSubContent,
|
|
104
|
+
Ae as DropdownMenuSubTrigger,
|
|
103
105
|
ve as DropdownMenuTrigger,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
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
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
ar as
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
pr as
|
|
127
|
-
|
|
128
|
-
Sr as
|
|
129
|
-
br as
|
|
130
|
-
ur as
|
|
131
|
-
Cr as
|
|
132
|
-
gr as
|
|
133
|
-
cr as
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
fr as
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
wr as
|
|
140
|
-
Fr as
|
|
141
|
-
Br as
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
vr as
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Rr as
|
|
149
|
-
kr as
|
|
150
|
-
yr as
|
|
151
|
-
Vr as
|
|
152
|
-
zr as
|
|
153
|
-
Er as
|
|
154
|
-
Or as
|
|
155
|
-
Ur as
|
|
156
|
-
jr as
|
|
157
|
-
qr as
|
|
158
|
-
Jr as
|
|
159
|
-
Kr as
|
|
160
|
-
Nr as
|
|
161
|
-
Qr as
|
|
162
|
-
Wr as
|
|
163
|
-
Xr as
|
|
164
|
-
Yr as
|
|
165
|
-
Zr as
|
|
166
|
-
_r as
|
|
167
|
-
$r as
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
uo as
|
|
174
|
-
Co as
|
|
175
|
-
go as
|
|
176
|
-
co as
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
fo as
|
|
180
|
-
|
|
181
|
-
Mo as
|
|
182
|
-
ho as
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
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
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|