@deankwan/ui 0.1.0 → 0.1.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.
@@ -1,8 +1,8 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { ChevronRight as l, ChevronLeft as c } from "lucide-react";
3
3
  import { DayPicker as m } from "react-day-picker";
4
- import { cn as e } from "./utils.mjs";
5
- import { buttonVariants as d } from "./button.mjs";
4
+ import { cn as e } from "./app/components/ui/utils.mjs";
5
+ import { buttonVariants as d } from "./app/components/ui/button.mjs";
6
6
  function x({
7
7
  className: n,
8
8
  classNames: i,
@@ -2,8 +2,8 @@ import { jsx as n, jsxs as h } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import z from "embla-carousel-react";
4
4
  import { ArrowRight as g, ArrowLeft as p } from "lucide-react";
5
- import { cn as d } from "./utils.mjs";
6
- import { Button as v } from "./button.mjs";
5
+ import { cn as d } from "./app/components/ui/utils.mjs";
6
+ import { Button as v } from "./app/components/ui/button.mjs";
7
7
  const N = l.createContext(null);
8
8
  function m() {
9
9
  const o = l.useContext(N);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s, jsxs as f, Fragment as T } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
3
  import * as w from "recharts";
4
- import { cn as u } from "./utils.mjs";
4
+ import { cn as u } from "./app/components/ui/utils.mjs";
5
5
  const I = { light: "", dark: ".dark" }, j = m.createContext(null);
6
6
  function $() {
7
7
  const c = m.useContext(j);
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as d } from "react/jsx-runtime";
2
2
  import { Command as a } from "cmdk";
3
3
  import { SearchIcon as s } from "lucide-react";
4
- import { cn as n } from "./utils.mjs";
5
- import { Dialog as c, DialogHeader as i, DialogTitle as l, DialogDescription as u, DialogContent as p } from "./dialog.mjs";
4
+ import { cn as n } from "./app/components/ui/utils.mjs";
5
+ import { Dialog as c, DialogHeader as i, DialogTitle as l, DialogDescription as u, DialogContent as p } from "./app/components/ui/dialog.mjs";
6
6
  function g({
7
7
  className: e,
8
8
  ...t
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
2
  import { Drawer as e } from "vaul";
3
- import { cn as d } from "./utils.mjs";
3
+ import { cn as d } from "./app/components/ui/utils.mjs";
4
4
  function w({
5
5
  ...r
6
6
  }) {
@@ -2,8 +2,8 @@ import { jsx as m } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
3
  import { Slot as f } from "@radix-ui/react-slot";
4
4
  import { FormProvider as u, Controller as F, useFormContext as x, useFormState as I } from "react-hook-form";
5
- import { cn as a } from "./utils.mjs";
6
- import { Label as g } from "./label.mjs";
5
+ import { cn as a } from "./app/components/ui/utils.mjs";
6
+ import { Label as g } from "./app/components/ui/label.mjs";
7
7
  const S = u, c = s.createContext(
8
8
  {}
9
9
  ), $ = ({
package/dist/index.mjs CHANGED
@@ -1,297 +1,241 @@
1
1
  /* empty css */
2
- import { Accordion as t, AccordionContent as a, AccordionItem as n, AccordionTrigger as i } from "./app/components/ui/accordion.mjs";
3
- import { AlertDialog as u, AlertDialogAction as p, AlertDialogCancel as m, AlertDialogContent as d, AlertDialogDescription as g, AlertDialogFooter as b, AlertDialogHeader as C, AlertDialogOverlay as S, AlertDialogPortal as x, AlertDialogTitle as M, AlertDialogTrigger as c } from "./app/components/ui/alert-dialog.mjs";
4
- import { Alert as T, AlertDescription as s, AlertTitle as f } from "./app/components/ui/alert.mjs";
5
- import { AspectRatio as w } from "./app/components/ui/aspect-ratio.mjs";
6
- import { Avatar as A, AvatarFallback as v, AvatarImage as h } from "./app/components/ui/avatar.mjs";
7
- import { Badge as G, badgeVariants as B } from "./app/components/ui/badge.mjs";
8
- import { Breadcrumb as R, BreadcrumbEllipsis as H, BreadcrumbItem as k, BreadcrumbLink as N, BreadcrumbList as y, BreadcrumbPage as O, BreadcrumbSeparator as V } from "./app/components/ui/breadcrumb.mjs";
9
- import { Button as E, buttonVariants as U } from "./app/components/ui/button.mjs";
10
- import { Calendar as q } from "./app/components/ui/calendar.mjs";
11
- import { Card as K, CardAction as Q, CardContent as W, CardDescription as X, CardFooter as Y, CardHeader as Z, CardTitle as _ } from "./app/components/ui/card.mjs";
12
- import { Carousel as ee, CarouselContent as re, CarouselItem as oe, CarouselNext as te, CarouselPrevious as ae } from "./app/components/ui/carousel.mjs";
13
- import { ChartContainer as ie, ChartLegend as le, ChartLegendContent as ue, ChartStyle as pe, ChartTooltip as me, ChartTooltipContent as de } from "./app/components/ui/chart.mjs";
14
- import { Checkbox as be } from "./app/components/ui/checkbox.mjs";
15
- import { Collapsible as Se, CollapsibleContent as xe, CollapsibleTrigger as Me } from "./app/components/ui/collapsible.mjs";
16
- import { Command as De, CommandDialog as Te, CommandEmpty as se, CommandGroup as fe, CommandInput as Ie, CommandItem as we, CommandList as Pe, CommandSeparator as Ae, CommandShortcut as ve } from "./app/components/ui/command.mjs";
17
- import { ContextMenu as Fe, ContextMenuCheckboxItem as Ge, ContextMenuContent as Be, ContextMenuGroup as Le, ContextMenuItem as Re, ContextMenuLabel as He, ContextMenuPortal as ke, ContextMenuRadioGroup as Ne, ContextMenuRadioItem as ye, ContextMenuSeparator as Oe, ContextMenuShortcut as Ve, ContextMenuSub as ze, ContextMenuSubContent as Ee, ContextMenuSubTrigger as Ue, ContextMenuTrigger as je } from "./app/components/ui/context-menu.mjs";
18
- import { Dialog as Je, DialogClose as Ke, DialogContent as Qe, DialogDescription as We, DialogFooter as Xe, DialogHeader as Ye, DialogOverlay as Ze, DialogPortal as _e, DialogTitle as $e, DialogTrigger as er } from "./app/components/ui/dialog.mjs";
19
- import { Drawer as or, DrawerClose as tr, DrawerContent as ar, DrawerDescription as nr, DrawerFooter as ir, DrawerHeader as lr, DrawerOverlay as ur, DrawerPortal as pr, DrawerTitle as mr, DrawerTrigger as dr } from "./app/components/ui/drawer.mjs";
20
- import { DropdownMenu as br, DropdownMenuCheckboxItem as Cr, DropdownMenuContent as Sr, DropdownMenuGroup as xr, DropdownMenuItem as Mr, DropdownMenuLabel as cr, DropdownMenuPortal as Dr, DropdownMenuRadioGroup as Tr, DropdownMenuRadioItem as sr, DropdownMenuSeparator as fr, DropdownMenuShortcut as Ir, DropdownMenuSub as wr, DropdownMenuSubContent as Pr, DropdownMenuSubTrigger as Ar, DropdownMenuTrigger as vr } from "./app/components/ui/dropdown-menu.mjs";
21
- import { Form as Fr, FormControl as Gr, FormDescription as Br, FormField as Lr, FormItem as Rr, FormLabel as Hr, FormMessage as kr, useFormField as Nr } from "./app/components/ui/form.mjs";
22
- import { HoverCard as Or, HoverCardContent as Vr, HoverCardTrigger as zr } from "./app/components/ui/hover-card.mjs";
23
- import { InputOTP as Ur, InputOTPGroup as jr, InputOTPSeparator as qr, InputOTPSlot as Jr } from "./app/components/ui/input-otp.mjs";
24
- import { Input as Qr } from "./app/components/ui/input.mjs";
25
- import { Label as Xr } from "./app/components/ui/label.mjs";
26
- import { Menubar as Zr, MenubarCheckboxItem as _r, MenubarContent as $r, MenubarGroup as eo, MenubarItem as ro, MenubarLabel as oo, MenubarMenu as to, MenubarPortal as ao, MenubarRadioGroup as no, MenubarRadioItem as io, MenubarSeparator as lo, MenubarShortcut as uo, MenubarSub as po, MenubarSubContent as mo, MenubarSubTrigger as go, MenubarTrigger as bo } from "./app/components/ui/menubar.mjs";
27
- import { NavigationMenu as So, NavigationMenuContent as xo, NavigationMenuIndicator as Mo, NavigationMenuItem as co, NavigationMenuLink as Do, NavigationMenuList as To, NavigationMenuTrigger as so, NavigationMenuViewport as fo, navigationMenuTriggerStyle as Io } from "./app/components/ui/navigation-menu.mjs";
28
- import { Pagination as Po, PaginationContent as Ao, PaginationEllipsis as vo, PaginationItem as ho, PaginationLink as Fo, PaginationNext as Go, PaginationPrevious as Bo } from "./app/components/ui/pagination.mjs";
29
- import { Popover as Ro, PopoverAnchor as Ho, PopoverContent as ko, PopoverTrigger as No } from "./app/components/ui/popover.mjs";
30
- import { Progress as Oo } from "./app/components/ui/progress.mjs";
31
- import { RadioGroup as zo, RadioGroupItem as Eo } from "./app/components/ui/radio-group.mjs";
32
- import { ResizableHandle as jo, ResizablePanel as qo, ResizablePanelGroup as Jo } from "./app/components/ui/resizable.mjs";
2
+ import { Accordion as t, AccordionContent as n, AccordionItem as a, AccordionTrigger as i } from "./app/components/ui/accordion.mjs";
3
+ import { AlertDialog as u, AlertDialogAction as p, AlertDialogCancel as g, AlertDialogContent as b, AlertDialogDescription as d, AlertDialogFooter as S, AlertDialogHeader as m, AlertDialogOverlay as M, AlertDialogPortal as x, AlertDialogTitle as C, AlertDialogTrigger as c } from "./app/components/ui/alert-dialog.mjs";
4
+ import { Alert as D, AlertDescription as f, AlertTitle as s } from "./app/components/ui/alert.mjs";
5
+ import { AspectRatio as v } from "./app/components/ui/aspect-ratio.mjs";
6
+ import { Avatar as P, AvatarFallback as w, AvatarImage as h } from "./app/components/ui/avatar.mjs";
7
+ import { Badge as G, badgeVariants as L } from "./app/components/ui/badge.mjs";
8
+ import { Breadcrumb as k, BreadcrumbEllipsis as H, BreadcrumbItem as N, BreadcrumbLink as F, BreadcrumbList as V, BreadcrumbPage as y, BreadcrumbSeparator as E } from "./app/components/ui/breadcrumb.mjs";
9
+ import { Button as U, buttonVariants as j } from "./app/components/ui/button.mjs";
10
+ import { Card as z, CardAction as J, CardContent as K, CardDescription as Q, CardFooter as W, CardHeader as X, CardTitle as Y } from "./app/components/ui/card.mjs";
11
+ import { Checkbox as _ } from "./app/components/ui/checkbox.mjs";
12
+ import { Collapsible as ee, CollapsibleContent as oe, CollapsibleTrigger as re } from "./app/components/ui/collapsible.mjs";
13
+ import { ContextMenu as ne, ContextMenuCheckboxItem as ae, ContextMenuContent as ie, ContextMenuGroup as le, ContextMenuItem as ue, ContextMenuLabel as pe, ContextMenuPortal as ge, ContextMenuRadioGroup as be, ContextMenuRadioItem as de, ContextMenuSeparator as Se, ContextMenuShortcut as me, ContextMenuSub as Me, ContextMenuSubContent as xe, ContextMenuSubTrigger as Ce, ContextMenuTrigger as ce } from "./app/components/ui/context-menu.mjs";
14
+ import { Dialog as De, DialogClose as fe, DialogContent as se, DialogDescription as Ae, DialogFooter as ve, DialogHeader as Ie, DialogOverlay as Pe, DialogPortal as we, DialogTitle as he, DialogTrigger as Be } from "./app/components/ui/dialog.mjs";
15
+ import { DropdownMenu as Le, DropdownMenuCheckboxItem as Re, DropdownMenuContent as ke, DropdownMenuGroup as He, DropdownMenuItem as Ne, DropdownMenuLabel as Fe, DropdownMenuPortal as Ve, DropdownMenuRadioGroup as ye, DropdownMenuRadioItem as Ee, DropdownMenuSeparator as Oe, DropdownMenuShortcut as Ue, DropdownMenuSub as je, DropdownMenuSubContent as qe, DropdownMenuSubTrigger as ze, DropdownMenuTrigger as Je } from "./app/components/ui/dropdown-menu.mjs";
16
+ import { HoverCard as Qe, HoverCardContent as We, HoverCardTrigger as Xe } from "./app/components/ui/hover-card.mjs";
17
+ import { Input as Ze } from "./app/components/ui/input.mjs";
18
+ import { Label as $e } from "./app/components/ui/label.mjs";
19
+ import { Menubar as oo, MenubarCheckboxItem as ro, MenubarContent as to, MenubarGroup as no, MenubarItem as ao, MenubarLabel as io, MenubarMenu as lo, MenubarPortal as uo, MenubarRadioGroup as po, MenubarRadioItem as go, MenubarSeparator as bo, MenubarShortcut as So, MenubarSub as mo, MenubarSubContent as Mo, MenubarSubTrigger as xo, MenubarTrigger as Co } from "./app/components/ui/menubar.mjs";
20
+ import { NavigationMenu as To, NavigationMenuContent as Do, NavigationMenuIndicator as fo, NavigationMenuItem as so, NavigationMenuLink as Ao, NavigationMenuList as vo, NavigationMenuTrigger as Io, NavigationMenuViewport as Po, navigationMenuTriggerStyle as wo } from "./app/components/ui/navigation-menu.mjs";
21
+ import { Pagination as Bo, PaginationContent as Go, PaginationEllipsis as Lo, PaginationItem as Ro, PaginationLink as ko, PaginationNext as Ho, PaginationPrevious as No } from "./app/components/ui/pagination.mjs";
22
+ import { Popover as Vo, PopoverAnchor as yo, PopoverContent as Eo, PopoverTrigger as Oo } from "./app/components/ui/popover.mjs";
23
+ import { Progress as jo } from "./app/components/ui/progress.mjs";
24
+ import { RadioGroup as zo, RadioGroupItem as Jo } from "./app/components/ui/radio-group.mjs";
33
25
  import { ScrollArea as Qo, ScrollBar as Wo } from "./app/components/ui/scroll-area.mjs";
34
- import { Select as Yo, SelectContent as Zo, SelectGroup as _o, SelectItem as $o, SelectLabel as et, SelectScrollDownButton as rt, SelectScrollUpButton as ot, SelectSeparator as tt, SelectTrigger as at, SelectValue as nt } from "./app/components/ui/select.mjs";
35
- import { Separator as lt } from "./app/components/ui/separator.mjs";
36
- import { Sheet as pt, SheetClose as mt, SheetContent as dt, SheetDescription as gt, SheetFooter as bt, SheetHeader as Ct, SheetTitle as St, SheetTrigger as xt } from "./app/components/ui/sheet.mjs";
37
- import { Sidebar as ct, SidebarContent as Dt, SidebarFooter as Tt, SidebarGroup as st, SidebarGroupAction as ft, SidebarGroupContent as It, SidebarGroupLabel as wt, SidebarHeader as Pt, SidebarInput as At, SidebarInset as vt, SidebarMenu as ht, SidebarMenuAction as Ft, SidebarMenuBadge as Gt, SidebarMenuButton as Bt, SidebarMenuItem as Lt, SidebarMenuSkeleton as Rt, SidebarMenuSub as Ht, SidebarMenuSubButton as kt, SidebarMenuSubItem as Nt, SidebarProvider as yt, SidebarRail as Ot, SidebarSeparator as Vt, SidebarTrigger as zt, useSidebar as Et } from "./app/components/ui/sidebar.mjs";
38
- import { Skeleton as jt } from "./app/components/ui/skeleton.mjs";
39
- import { Slider as Jt } from "./app/components/ui/slider.mjs";
40
- import { Toaster as Qt } from "./app/components/ui/sonner.mjs";
41
- import { Switch as Xt } from "./app/components/ui/switch.mjs";
42
- import { Table as Zt, TableBody as _t, TableCaption as $t, TableCell as ea, TableFooter as ra, TableHead as oa, TableHeader as ta, TableRow as aa } from "./app/components/ui/table.mjs";
43
- import { Tabs as ia, TabsContent as la, TabsList as ua, TabsTrigger as pa } from "./app/components/ui/tabs.mjs";
44
- import { Textarea as da } from "./app/components/ui/textarea.mjs";
45
- import { ToggleGroup as ba, ToggleGroupItem as Ca } from "./app/components/ui/toggle-group.mjs";
46
- import { Toggle as xa, toggleVariants as Ma } from "./app/components/ui/toggle.mjs";
47
- import { Tooltip as Da, TooltipContent as Ta, TooltipProvider as sa, TooltipTrigger as fa } from "./app/components/ui/tooltip.mjs";
48
- import { useIsMobile as wa } from "./app/components/ui/use-mobile.mjs";
49
- import { cn as Aa } from "./app/components/ui/utils.mjs";
26
+ import { Select as Yo, SelectContent as Zo, SelectGroup as _o, SelectItem as $o, SelectLabel as er, SelectScrollDownButton as or, SelectScrollUpButton as rr, SelectSeparator as tr, SelectTrigger as nr, SelectValue as ar } from "./app/components/ui/select.mjs";
27
+ import { Separator as lr } from "./app/components/ui/separator.mjs";
28
+ import { Sheet as pr, SheetClose as gr, SheetContent as br, SheetDescription as dr, SheetFooter as Sr, SheetHeader as mr, SheetTitle as Mr, SheetTrigger as xr } from "./app/components/ui/sheet.mjs";
29
+ import { Sidebar as cr, SidebarContent as Tr, SidebarFooter as Dr, SidebarGroup as fr, SidebarGroupAction as sr, SidebarGroupContent as Ar, SidebarGroupLabel as vr, SidebarHeader as Ir, SidebarInput as Pr, SidebarInset as wr, SidebarMenu as hr, SidebarMenuAction as Br, SidebarMenuBadge as Gr, SidebarMenuButton as Lr, SidebarMenuItem as Rr, SidebarMenuSkeleton as kr, SidebarMenuSub as Hr, SidebarMenuSubButton as Nr, SidebarMenuSubItem as Fr, SidebarProvider as Vr, SidebarRail as yr, SidebarSeparator as Er, SidebarTrigger as Or, useSidebar as Ur } from "./app/components/ui/sidebar.mjs";
30
+ import { Skeleton as qr } from "./app/components/ui/skeleton.mjs";
31
+ import { Slider as Jr } from "./app/components/ui/slider.mjs";
32
+ import { Switch as Qr } from "./app/components/ui/switch.mjs";
33
+ import { Table as Xr, TableBody as Yr, TableCaption as Zr, TableCell as _r, TableFooter as $r, TableHead as et, TableHeader as ot, TableRow as rt } from "./app/components/ui/table.mjs";
34
+ import { Tabs as nt, TabsContent as at, TabsList as it, TabsTrigger as lt } from "./app/components/ui/tabs.mjs";
35
+ import { Textarea as pt } from "./app/components/ui/textarea.mjs";
36
+ import { ToggleGroup as bt, ToggleGroupItem as dt } from "./app/components/ui/toggle-group.mjs";
37
+ import { Toggle as mt, toggleVariants as Mt } from "./app/components/ui/toggle.mjs";
38
+ import { Tooltip as Ct, TooltipContent as ct, TooltipProvider as Tt, TooltipTrigger as Dt } from "./app/components/ui/tooltip.mjs";
39
+ import { useIsMobile as st } from "./app/components/ui/use-mobile.mjs";
40
+ import { cn as vt } from "./app/components/ui/utils.mjs";
50
41
  export {
51
42
  t as Accordion,
52
- a as AccordionContent,
53
- n as AccordionItem,
43
+ n as AccordionContent,
44
+ a as AccordionItem,
54
45
  i as AccordionTrigger,
55
- T as Alert,
56
- s as AlertDescription,
46
+ D as Alert,
47
+ f as AlertDescription,
57
48
  u as AlertDialog,
58
49
  p as AlertDialogAction,
59
- m as AlertDialogCancel,
60
- d as AlertDialogContent,
61
- g as AlertDialogDescription,
62
- b as AlertDialogFooter,
63
- C as AlertDialogHeader,
64
- S as AlertDialogOverlay,
50
+ g as AlertDialogCancel,
51
+ b as AlertDialogContent,
52
+ d as AlertDialogDescription,
53
+ S as AlertDialogFooter,
54
+ m as AlertDialogHeader,
55
+ M as AlertDialogOverlay,
65
56
  x as AlertDialogPortal,
66
- M as AlertDialogTitle,
57
+ C as AlertDialogTitle,
67
58
  c as AlertDialogTrigger,
68
- f as AlertTitle,
69
- w as AspectRatio,
70
- A as Avatar,
71
- v as AvatarFallback,
59
+ s as AlertTitle,
60
+ v as AspectRatio,
61
+ P as Avatar,
62
+ w as AvatarFallback,
72
63
  h as AvatarImage,
73
64
  G as Badge,
74
- R as Breadcrumb,
65
+ k as Breadcrumb,
75
66
  H as BreadcrumbEllipsis,
76
- k as BreadcrumbItem,
77
- N as BreadcrumbLink,
78
- y as BreadcrumbList,
79
- O as BreadcrumbPage,
80
- V as BreadcrumbSeparator,
81
- E as Button,
82
- q as Calendar,
83
- K as Card,
84
- Q as CardAction,
85
- W as CardContent,
86
- X as CardDescription,
87
- Y as CardFooter,
88
- Z as CardHeader,
89
- _ as CardTitle,
90
- ee as Carousel,
91
- re as CarouselContent,
92
- oe as CarouselItem,
93
- te as CarouselNext,
94
- ae as CarouselPrevious,
95
- ie as ChartContainer,
96
- le as ChartLegend,
97
- ue as ChartLegendContent,
98
- pe as ChartStyle,
99
- me as ChartTooltip,
100
- de as ChartTooltipContent,
101
- be as Checkbox,
102
- Se as Collapsible,
103
- xe as CollapsibleContent,
104
- Me as CollapsibleTrigger,
105
- De as Command,
106
- Te as CommandDialog,
107
- se as CommandEmpty,
108
- fe as CommandGroup,
109
- Ie as CommandInput,
110
- we as CommandItem,
111
- Pe as CommandList,
112
- Ae as CommandSeparator,
113
- ve as CommandShortcut,
114
- Fe as ContextMenu,
115
- Ge as ContextMenuCheckboxItem,
116
- Be as ContextMenuContent,
117
- Le as ContextMenuGroup,
118
- Re as ContextMenuItem,
119
- He as ContextMenuLabel,
120
- ke as ContextMenuPortal,
121
- Ne as ContextMenuRadioGroup,
122
- ye as ContextMenuRadioItem,
123
- Oe as ContextMenuSeparator,
124
- Ve as ContextMenuShortcut,
125
- ze as ContextMenuSub,
126
- Ee as ContextMenuSubContent,
127
- Ue as ContextMenuSubTrigger,
128
- je as ContextMenuTrigger,
129
- Je as Dialog,
130
- Ke as DialogClose,
131
- Qe as DialogContent,
132
- We as DialogDescription,
133
- Xe as DialogFooter,
134
- Ye as DialogHeader,
135
- Ze as DialogOverlay,
136
- _e as DialogPortal,
137
- $e as DialogTitle,
138
- er as DialogTrigger,
139
- or as Drawer,
140
- tr as DrawerClose,
141
- ar as DrawerContent,
142
- nr as DrawerDescription,
143
- ir as DrawerFooter,
144
- lr as DrawerHeader,
145
- ur as DrawerOverlay,
146
- pr as DrawerPortal,
147
- mr as DrawerTitle,
148
- dr as DrawerTrigger,
149
- br as DropdownMenu,
150
- Cr as DropdownMenuCheckboxItem,
151
- Sr as DropdownMenuContent,
152
- xr as DropdownMenuGroup,
153
- Mr as DropdownMenuItem,
154
- cr as DropdownMenuLabel,
155
- Dr as DropdownMenuPortal,
156
- Tr as DropdownMenuRadioGroup,
157
- sr as DropdownMenuRadioItem,
158
- fr as DropdownMenuSeparator,
159
- Ir as DropdownMenuShortcut,
160
- wr as DropdownMenuSub,
161
- Pr as DropdownMenuSubContent,
162
- Ar as DropdownMenuSubTrigger,
163
- vr as DropdownMenuTrigger,
164
- Fr as Form,
165
- Gr as FormControl,
166
- Br as FormDescription,
167
- Lr as FormField,
168
- Rr as FormItem,
169
- Hr as FormLabel,
170
- kr as FormMessage,
171
- Or as HoverCard,
172
- Vr as HoverCardContent,
173
- zr as HoverCardTrigger,
174
- Qr as Input,
175
- Ur as InputOTP,
176
- jr as InputOTPGroup,
177
- qr as InputOTPSeparator,
178
- Jr as InputOTPSlot,
179
- Xr as Label,
180
- Zr as Menubar,
181
- _r as MenubarCheckboxItem,
182
- $r as MenubarContent,
183
- eo as MenubarGroup,
184
- ro as MenubarItem,
185
- oo as MenubarLabel,
186
- to as MenubarMenu,
187
- ao as MenubarPortal,
188
- no as MenubarRadioGroup,
189
- io as MenubarRadioItem,
190
- lo as MenubarSeparator,
191
- uo as MenubarShortcut,
192
- po as MenubarSub,
193
- mo as MenubarSubContent,
194
- go as MenubarSubTrigger,
195
- bo as MenubarTrigger,
196
- So as NavigationMenu,
197
- xo as NavigationMenuContent,
198
- Mo as NavigationMenuIndicator,
199
- co as NavigationMenuItem,
200
- Do as NavigationMenuLink,
201
- To as NavigationMenuList,
202
- so as NavigationMenuTrigger,
203
- fo as NavigationMenuViewport,
204
- Po as Pagination,
205
- Ao as PaginationContent,
206
- vo as PaginationEllipsis,
207
- ho as PaginationItem,
208
- Fo as PaginationLink,
209
- Go as PaginationNext,
210
- Bo as PaginationPrevious,
211
- Ro as Popover,
212
- Ho as PopoverAnchor,
213
- ko as PopoverContent,
214
- No as PopoverTrigger,
215
- Oo as Progress,
67
+ N as BreadcrumbItem,
68
+ F as BreadcrumbLink,
69
+ V as BreadcrumbList,
70
+ y as BreadcrumbPage,
71
+ E as BreadcrumbSeparator,
72
+ U as Button,
73
+ z as Card,
74
+ J as CardAction,
75
+ K as CardContent,
76
+ Q as CardDescription,
77
+ W as CardFooter,
78
+ X as CardHeader,
79
+ Y as CardTitle,
80
+ _ as Checkbox,
81
+ ee as Collapsible,
82
+ oe as CollapsibleContent,
83
+ re as CollapsibleTrigger,
84
+ ne as ContextMenu,
85
+ ae as ContextMenuCheckboxItem,
86
+ ie as ContextMenuContent,
87
+ le as ContextMenuGroup,
88
+ ue as ContextMenuItem,
89
+ pe as ContextMenuLabel,
90
+ ge as ContextMenuPortal,
91
+ be as ContextMenuRadioGroup,
92
+ de as ContextMenuRadioItem,
93
+ Se as ContextMenuSeparator,
94
+ me as ContextMenuShortcut,
95
+ Me as ContextMenuSub,
96
+ xe as ContextMenuSubContent,
97
+ Ce as ContextMenuSubTrigger,
98
+ ce as ContextMenuTrigger,
99
+ De as Dialog,
100
+ fe as DialogClose,
101
+ se as DialogContent,
102
+ Ae as DialogDescription,
103
+ ve as DialogFooter,
104
+ Ie as DialogHeader,
105
+ Pe as DialogOverlay,
106
+ we as DialogPortal,
107
+ he as DialogTitle,
108
+ Be as DialogTrigger,
109
+ Le as DropdownMenu,
110
+ Re as DropdownMenuCheckboxItem,
111
+ ke as DropdownMenuContent,
112
+ He as DropdownMenuGroup,
113
+ Ne as DropdownMenuItem,
114
+ Fe as DropdownMenuLabel,
115
+ Ve as DropdownMenuPortal,
116
+ ye as DropdownMenuRadioGroup,
117
+ Ee as DropdownMenuRadioItem,
118
+ Oe as DropdownMenuSeparator,
119
+ Ue as DropdownMenuShortcut,
120
+ je as DropdownMenuSub,
121
+ qe as DropdownMenuSubContent,
122
+ ze as DropdownMenuSubTrigger,
123
+ Je as DropdownMenuTrigger,
124
+ Qe as HoverCard,
125
+ We as HoverCardContent,
126
+ Xe as HoverCardTrigger,
127
+ Ze as Input,
128
+ $e as Label,
129
+ oo as Menubar,
130
+ ro as MenubarCheckboxItem,
131
+ to as MenubarContent,
132
+ no as MenubarGroup,
133
+ ao as MenubarItem,
134
+ io as MenubarLabel,
135
+ lo as MenubarMenu,
136
+ uo as MenubarPortal,
137
+ po as MenubarRadioGroup,
138
+ go as MenubarRadioItem,
139
+ bo as MenubarSeparator,
140
+ So as MenubarShortcut,
141
+ mo as MenubarSub,
142
+ Mo as MenubarSubContent,
143
+ xo as MenubarSubTrigger,
144
+ Co as MenubarTrigger,
145
+ To as NavigationMenu,
146
+ Do as NavigationMenuContent,
147
+ fo as NavigationMenuIndicator,
148
+ so as NavigationMenuItem,
149
+ Ao as NavigationMenuLink,
150
+ vo as NavigationMenuList,
151
+ Io as NavigationMenuTrigger,
152
+ Po as NavigationMenuViewport,
153
+ Bo as Pagination,
154
+ Go as PaginationContent,
155
+ Lo as PaginationEllipsis,
156
+ Ro as PaginationItem,
157
+ ko as PaginationLink,
158
+ Ho as PaginationNext,
159
+ No as PaginationPrevious,
160
+ Vo as Popover,
161
+ yo as PopoverAnchor,
162
+ Eo as PopoverContent,
163
+ Oo as PopoverTrigger,
164
+ jo as Progress,
216
165
  zo as RadioGroup,
217
- Eo as RadioGroupItem,
218
- jo as ResizableHandle,
219
- qo as ResizablePanel,
220
- Jo as ResizablePanelGroup,
166
+ Jo as RadioGroupItem,
221
167
  Qo as ScrollArea,
222
168
  Wo as ScrollBar,
223
169
  Yo as Select,
224
170
  Zo as SelectContent,
225
171
  _o as SelectGroup,
226
172
  $o as SelectItem,
227
- et as SelectLabel,
228
- rt as SelectScrollDownButton,
229
- ot as SelectScrollUpButton,
230
- tt as SelectSeparator,
231
- at as SelectTrigger,
232
- nt as SelectValue,
233
- lt as Separator,
234
- pt as Sheet,
235
- mt as SheetClose,
236
- dt as SheetContent,
237
- gt as SheetDescription,
238
- bt as SheetFooter,
239
- Ct as SheetHeader,
240
- St as SheetTitle,
241
- xt as SheetTrigger,
242
- ct as Sidebar,
243
- Dt as SidebarContent,
244
- Tt as SidebarFooter,
245
- st as SidebarGroup,
246
- ft as SidebarGroupAction,
247
- It as SidebarGroupContent,
248
- wt as SidebarGroupLabel,
249
- Pt as SidebarHeader,
250
- At as SidebarInput,
251
- vt as SidebarInset,
252
- ht as SidebarMenu,
253
- Ft as SidebarMenuAction,
254
- Gt as SidebarMenuBadge,
255
- Bt as SidebarMenuButton,
256
- Lt as SidebarMenuItem,
257
- Rt as SidebarMenuSkeleton,
258
- Ht as SidebarMenuSub,
259
- kt as SidebarMenuSubButton,
260
- Nt as SidebarMenuSubItem,
261
- yt as SidebarProvider,
262
- Ot as SidebarRail,
263
- Vt as SidebarSeparator,
264
- zt as SidebarTrigger,
265
- jt as Skeleton,
266
- Jt as Slider,
267
- Xt as Switch,
268
- Zt as Table,
269
- _t as TableBody,
270
- $t as TableCaption,
271
- ea as TableCell,
272
- ra as TableFooter,
273
- oa as TableHead,
274
- ta as TableHeader,
275
- aa as TableRow,
276
- ia as Tabs,
277
- la as TabsContent,
278
- ua as TabsList,
279
- pa as TabsTrigger,
280
- da as Textarea,
281
- Qt as Toaster,
282
- xa as Toggle,
283
- ba as ToggleGroup,
284
- Ca as ToggleGroupItem,
285
- Da as Tooltip,
286
- Ta as TooltipContent,
287
- sa as TooltipProvider,
288
- fa as TooltipTrigger,
289
- B as badgeVariants,
290
- U as buttonVariants,
291
- Aa as cn,
292
- Io as navigationMenuTriggerStyle,
293
- Ma as toggleVariants,
294
- Nr as useFormField,
295
- wa as useIsMobile,
296
- Et as useSidebar
173
+ er as SelectLabel,
174
+ or as SelectScrollDownButton,
175
+ rr as SelectScrollUpButton,
176
+ tr as SelectSeparator,
177
+ nr as SelectTrigger,
178
+ ar as SelectValue,
179
+ lr as Separator,
180
+ pr as Sheet,
181
+ gr as SheetClose,
182
+ br as SheetContent,
183
+ dr as SheetDescription,
184
+ Sr as SheetFooter,
185
+ mr as SheetHeader,
186
+ Mr as SheetTitle,
187
+ xr as SheetTrigger,
188
+ cr as Sidebar,
189
+ Tr as SidebarContent,
190
+ Dr as SidebarFooter,
191
+ fr as SidebarGroup,
192
+ sr as SidebarGroupAction,
193
+ Ar as SidebarGroupContent,
194
+ vr as SidebarGroupLabel,
195
+ Ir as SidebarHeader,
196
+ Pr as SidebarInput,
197
+ wr as SidebarInset,
198
+ hr as SidebarMenu,
199
+ Br as SidebarMenuAction,
200
+ Gr as SidebarMenuBadge,
201
+ Lr as SidebarMenuButton,
202
+ Rr as SidebarMenuItem,
203
+ kr as SidebarMenuSkeleton,
204
+ Hr as SidebarMenuSub,
205
+ Nr as SidebarMenuSubButton,
206
+ Fr as SidebarMenuSubItem,
207
+ Vr as SidebarProvider,
208
+ yr as SidebarRail,
209
+ Er as SidebarSeparator,
210
+ Or as SidebarTrigger,
211
+ qr as Skeleton,
212
+ Jr as Slider,
213
+ Qr as Switch,
214
+ Xr as Table,
215
+ Yr as TableBody,
216
+ Zr as TableCaption,
217
+ _r as TableCell,
218
+ $r as TableFooter,
219
+ et as TableHead,
220
+ ot as TableHeader,
221
+ rt as TableRow,
222
+ nt as Tabs,
223
+ at as TabsContent,
224
+ it as TabsList,
225
+ lt as TabsTrigger,
226
+ pt as Textarea,
227
+ mt as Toggle,
228
+ bt as ToggleGroup,
229
+ dt as ToggleGroupItem,
230
+ Ct as Tooltip,
231
+ ct as TooltipContent,
232
+ Tt as TooltipProvider,
233
+ Dt as TooltipTrigger,
234
+ L as badgeVariants,
235
+ j as buttonVariants,
236
+ vt as cn,
237
+ wo as navigationMenuTriggerStyle,
238
+ Mt as toggleVariants,
239
+ st as useIsMobile,
240
+ Ur as useSidebar
297
241
  };
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
3
  import { OTPInput as l, OTPInputContext as p } from "input-otp";
4
4
  import { MinusIcon as m } from "lucide-react";
5
- import { cn as a } from "./utils.mjs";
5
+ import { cn as a } from "./app/components/ui/utils.mjs";
6
6
  function x({
7
7
  className: t,
8
8
  containerClassName: r,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { GripVerticalIcon as n } from "lucide-react";
3
3
  import * as t from "react-resizable-panels";
4
- import { cn as i } from "./utils.mjs";
4
+ import { cn as i } from "./app/components/ui/utils.mjs";
5
5
  function d({
6
6
  className: e,
7
7
  ...r
@@ -6,20 +6,13 @@ export { Avatar, AvatarImage, AvatarFallback } from './app/components/ui/avatar'
6
6
  export { Badge, badgeVariants } from './app/components/ui/badge';
7
7
  export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis } from './app/components/ui/breadcrumb';
8
8
  export { Button, buttonVariants } from './app/components/ui/button';
9
- export { Calendar } from './app/components/ui/calendar';
10
9
  export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent } from './app/components/ui/card';
11
- export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext } from './app/components/ui/carousel';
12
- export { type ChartConfig, ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle } from './app/components/ui/chart';
13
10
  export { Checkbox } from './app/components/ui/checkbox';
14
11
  export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './app/components/ui/collapsible';
15
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator } from './app/components/ui/command';
16
12
  export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup } from './app/components/ui/context-menu';
17
13
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './app/components/ui/dialog';
18
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription } from './app/components/ui/drawer';
19
14
  export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent } from './app/components/ui/dropdown-menu';
20
- export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField } from './app/components/ui/form';
21
15
  export { HoverCard, HoverCardTrigger, HoverCardContent } from './app/components/ui/hover-card';
22
- export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from './app/components/ui/input-otp';
23
16
  export { Input } from './app/components/ui/input';
24
17
  export { Label } from './app/components/ui/label';
25
18
  export { Menubar, MenubarPortal, MenubarMenu, MenubarTrigger, MenubarContent, MenubarGroup, MenubarSeparator, MenubarLabel, MenubarItem, MenubarShortcut, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarSub, MenubarSubTrigger, MenubarSubContent } from './app/components/ui/menubar';
@@ -28,7 +21,6 @@ export { Pagination, PaginationContent, PaginationLink, PaginationItem, Paginati
28
21
  export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from './app/components/ui/popover';
29
22
  export { Progress } from './app/components/ui/progress';
30
23
  export { RadioGroup, RadioGroupItem } from './app/components/ui/radio-group';
31
- export { ResizablePanelGroup, ResizablePanel, ResizableHandle } from './app/components/ui/resizable';
32
24
  export { ScrollArea, ScrollBar } from './app/components/ui/scroll-area';
33
25
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './app/components/ui/select';
34
26
  export { Separator } from './app/components/ui/separator';
@@ -36,7 +28,6 @@ export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter
36
28
  export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './app/components/ui/sidebar';
37
29
  export { Skeleton } from './app/components/ui/skeleton';
38
30
  export { Slider } from './app/components/ui/slider';
39
- export { Toaster } from './app/components/ui/sonner';
40
31
  export { Switch } from './app/components/ui/switch';
41
32
  export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption } from './app/components/ui/table';
42
33
  export { Tabs, TabsList, TabsTrigger, TabsContent } from './app/components/ui/tabs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deankwan/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -10,6 +10,42 @@
10
10
  "import": "./dist/index.mjs",
11
11
  "types": "./dist/src/index.d.ts"
12
12
  },
13
+ "./calendar": {
14
+ "import": "./dist/calendar.mjs",
15
+ "types": "./dist/src/app/components/ui/calendar.d.ts"
16
+ },
17
+ "./carousel": {
18
+ "import": "./dist/carousel.mjs",
19
+ "types": "./dist/src/app/components/ui/carousel.d.ts"
20
+ },
21
+ "./chart": {
22
+ "import": "./dist/chart.mjs",
23
+ "types": "./dist/src/app/components/ui/chart.d.ts"
24
+ },
25
+ "./command": {
26
+ "import": "./dist/command.mjs",
27
+ "types": "./dist/src/app/components/ui/command.d.ts"
28
+ },
29
+ "./drawer": {
30
+ "import": "./dist/drawer.mjs",
31
+ "types": "./dist/src/app/components/ui/drawer.d.ts"
32
+ },
33
+ "./form": {
34
+ "import": "./dist/form.mjs",
35
+ "types": "./dist/src/app/components/ui/form.d.ts"
36
+ },
37
+ "./input-otp": {
38
+ "import": "./dist/input-otp.mjs",
39
+ "types": "./dist/src/app/components/ui/input-otp.d.ts"
40
+ },
41
+ "./resizable": {
42
+ "import": "./dist/resizable.mjs",
43
+ "types": "./dist/src/app/components/ui/resizable.d.ts"
44
+ },
45
+ "./sonner": {
46
+ "import": "./dist/sonner.mjs",
47
+ "types": "./dist/src/app/components/ui/sonner.d.ts"
48
+ },
13
49
  "./style.css": "./dist/style.css"
14
50
  },
15
51
  "files": [
@@ -137,11 +173,9 @@
137
173
  "lucide-react": "0.487.0",
138
174
  "motion": "12.23.24",
139
175
  "next-themes": "0.4.6",
140
- "react": "18.3.1",
141
176
  "react-day-picker": "8.10.1",
142
177
  "react-dnd": "16.0.1",
143
178
  "react-dnd-html5-backend": "16.0.1",
144
- "react-dom": "18.3.1",
145
179
  "react-hook-form": "7.55.0",
146
180
  "react-popper": "2.3.0",
147
181
  "react-resizable-panels": "2.1.7",
@@ -160,7 +194,8 @@
160
194
  },
161
195
  "pnpm": {
162
196
  "overrides": {
163
- "vite": "6.3.5"
197
+ "vite": "6.3.5",
198
+ "@vitejs/plugin-react": "4.7.0"
164
199
  }
165
200
  }
166
201
  }