react-shadcn-kit 0.0.6 → 0.0.7
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/assets/global.css +1 -1
- package/dist/atoms/accordion.js +1 -0
- package/dist/atoms/accordion.js.map +1 -0
- package/dist/atoms/alert-dialog.js +1 -0
- package/dist/atoms/alert-dialog.js.map +1 -0
- package/dist/atoms/alert.js +1 -0
- package/dist/atoms/alert.js.map +1 -0
- package/dist/atoms/aspect-ratio.js +1 -0
- package/dist/atoms/aspect-ratio.js.map +1 -0
- package/dist/atoms/avatar.js +1 -0
- package/dist/atoms/avatar.js.map +1 -0
- package/dist/atoms/badge.js +1 -0
- package/dist/atoms/badge.js.map +1 -0
- package/dist/atoms/breadcrumb.js +1 -0
- package/dist/atoms/breadcrumb.js.map +1 -0
- package/dist/atoms/button-group.js +1 -0
- package/dist/atoms/button-group.js.map +1 -0
- package/dist/atoms/button.js +1 -0
- package/dist/atoms/button.js.map +1 -0
- package/dist/atoms/calendar.js +1 -0
- package/dist/atoms/calendar.js.map +1 -0
- package/dist/atoms/card.js +1 -0
- package/dist/atoms/card.js.map +1 -0
- package/dist/atoms/carousel.js +1 -0
- package/dist/atoms/carousel.js.map +1 -0
- package/dist/atoms/chart.js +1 -0
- package/dist/atoms/chart.js.map +1 -0
- package/dist/atoms/checkbox.js +1 -0
- package/dist/atoms/checkbox.js.map +1 -0
- package/dist/atoms/collapsible.js +1 -0
- package/dist/atoms/collapsible.js.map +1 -0
- package/dist/atoms/command.js +1 -0
- package/dist/atoms/command.js.map +1 -0
- package/dist/atoms/context-menu.js +1 -0
- package/dist/atoms/context-menu.js.map +1 -0
- package/dist/atoms/dialog.js +1 -0
- package/dist/atoms/dialog.js.map +1 -0
- package/dist/atoms/drawer.js +1 -0
- package/dist/atoms/drawer.js.map +1 -0
- package/dist/atoms/dropdown-menu.js +1 -0
- package/dist/atoms/dropdown-menu.js.map +1 -0
- package/dist/atoms/empty.js +1 -0
- package/dist/atoms/empty.js.map +1 -0
- package/dist/atoms/field.js +1 -0
- package/dist/atoms/field.js.map +1 -0
- package/dist/atoms/form.js +1 -0
- package/dist/atoms/form.js.map +1 -0
- package/dist/atoms/hover-card.js +1 -0
- package/dist/atoms/hover-card.js.map +1 -0
- package/dist/atoms/index.d.ts +54 -0
- package/dist/atoms/index.js +342 -0
- package/dist/atoms/index.js.map +1 -0
- package/dist/atoms/input-group.js +1 -0
- package/dist/atoms/input-group.js.map +1 -0
- package/dist/atoms/input-otp.js +1 -0
- package/dist/atoms/input-otp.js.map +1 -0
- package/dist/atoms/input.js +1 -0
- package/dist/atoms/input.js.map +1 -0
- package/dist/atoms/item.js +1 -0
- package/dist/atoms/item.js.map +1 -0
- package/dist/atoms/kbd.js +1 -0
- package/dist/atoms/kbd.js.map +1 -0
- package/dist/atoms/label.js +1 -0
- package/dist/atoms/label.js.map +1 -0
- package/dist/atoms/menubar.js +1 -0
- package/dist/atoms/menubar.js.map +1 -0
- package/dist/atoms/navigation-menu.js +1 -0
- package/dist/atoms/navigation-menu.js.map +1 -0
- package/dist/atoms/pagination.js +1 -0
- package/dist/atoms/pagination.js.map +1 -0
- package/dist/atoms/popover.js +1 -0
- package/dist/atoms/popover.js.map +1 -0
- package/dist/atoms/progress.js +1 -0
- package/dist/atoms/progress.js.map +1 -0
- package/dist/atoms/radio-group.js +1 -0
- package/dist/atoms/radio-group.js.map +1 -0
- package/dist/atoms/resizable.js +1 -0
- package/dist/atoms/resizable.js.map +1 -0
- package/dist/atoms/scroll-area.js +1 -0
- package/dist/atoms/scroll-area.js.map +1 -0
- package/dist/atoms/select.js +1 -0
- package/dist/atoms/select.js.map +1 -0
- package/dist/atoms/separator.js +1 -0
- package/dist/atoms/separator.js.map +1 -0
- package/dist/atoms/sheet.js +1 -0
- package/dist/atoms/sheet.js.map +1 -0
- package/dist/atoms/sidebar.js +6 -5
- package/dist/atoms/sidebar.js.map +1 -0
- package/dist/atoms/skeleton.js +1 -0
- package/dist/atoms/skeleton.js.map +1 -0
- package/dist/atoms/slider.js +1 -0
- package/dist/atoms/slider.js.map +1 -0
- package/dist/atoms/sonner.js +1 -0
- package/dist/atoms/sonner.js.map +1 -0
- package/dist/atoms/spinner.js +1 -0
- package/dist/atoms/spinner.js.map +1 -0
- package/dist/atoms/switch.js +1 -0
- package/dist/atoms/switch.js.map +1 -0
- package/dist/atoms/table.js +1 -0
- package/dist/atoms/table.js.map +1 -0
- package/dist/atoms/tabs.js +1 -0
- package/dist/atoms/tabs.js.map +1 -0
- package/dist/atoms/textarea.js +1 -0
- package/dist/atoms/textarea.js.map +1 -0
- package/dist/atoms/theme-provider.d.ts +3 -0
- package/dist/atoms/theme-provider.js +12 -0
- package/dist/atoms/theme-provider.js.map +1 -0
- package/dist/atoms/toggle-group.js +1 -0
- package/dist/atoms/toggle-group.js.map +1 -0
- package/dist/atoms/toggle.js +1 -0
- package/dist/atoms/toggle.js.map +1 -0
- package/dist/atoms/tooltip.js +1 -0
- package/dist/atoms/tooltip.js.map +1 -0
- package/dist/default-layout.js +72 -0
- package/dist/default-layout.js.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +5 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-mobile.js +1 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/index.d.ts +3 -6
- package/dist/index.js +342 -347
- package/dist/index.js.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +5 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/utils.js +1 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/molecules/index.d.ts +3 -0
- package/dist/molecules/index.js +9 -0
- package/dist/molecules/index.js.map +1 -0
- package/dist/{organisms/app-sidebar-client.js → molecules/sidebar-theme-toggle.js} +1 -0
- package/dist/molecules/sidebar-theme-toggle.js.map +1 -0
- package/dist/molecules/theme-toggle.js +1 -0
- package/dist/molecules/theme-toggle.js.map +1 -0
- package/dist/molecules/user-menu.js +1 -0
- package/dist/molecules/user-menu.js.map +1 -0
- package/dist/organisms/app-navbar.d.ts +26 -3
- package/dist/organisms/app-navbar.js +77 -64
- package/dist/organisms/app-navbar.js.map +1 -0
- package/dist/organisms/app-sidebar.d.ts +30 -7
- package/dist/organisms/app-sidebar.js +110 -106
- package/dist/organisms/app-sidebar.js.map +1 -0
- package/dist/organisms/index.d.ts +2 -0
- package/dist/organisms/index.js +7 -0
- package/dist/organisms/index.js.map +1 -0
- package/package.json +28 -24
- package/dist/config/blog-layout.config.js +0 -19
- package/dist/config/default-Sidebar.js +0 -83
- package/dist/config/default-layout.js +0 -21
- package/dist/config/default-navigation.js +0 -57
- package/dist/config/sidebar.config.js +0 -11
- package/dist/layouts/blog-layout.d.ts +0 -7
- package/dist/layouts/blog-layout.js +0 -29
- package/dist/layouts/default-layout.d.ts +0 -7
- package/dist/layouts/default-layout.js +0 -54
- package/dist/layouts/sidebar-scroll-layout.d.ts +0 -8
- package/dist/layouts/sidebar-scroll-layout.js +0 -49
- /package/dist/{organisms/app-sidebar-client.d.ts → molecules/sidebar-theme-toggle.d.ts} +0 -0
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import { Accordion as o, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./accordion.js";
|
|
2
|
+
import { AlertDialog as p, AlertDialogAction as u, AlertDialogCancel as l, AlertDialogContent as m, AlertDialogDescription as d, AlertDialogFooter as g, AlertDialogHeader as b, AlertDialogOverlay as C, AlertDialogPortal as S, AlertDialogTitle as x, AlertDialogTrigger as M } from "./alert-dialog.js";
|
|
3
|
+
import { Alert as D, AlertDescription as c, AlertTitle as f } from "./alert.js";
|
|
4
|
+
import { AspectRatio as I } from "./aspect-ratio.js";
|
|
5
|
+
import { Avatar as A, AvatarFallback as P, AvatarImage as w } from "./avatar.js";
|
|
6
|
+
import { Badge as v, badgeVariants as h } from "./badge.js";
|
|
7
|
+
import { Breadcrumb as L, BreadcrumbEllipsis as y, BreadcrumbItem as H, BreadcrumbLink as R, BreadcrumbList as k, BreadcrumbPage as E, BreadcrumbSeparator as N } from "./breadcrumb.js";
|
|
8
|
+
import { ButtonGroup as V, ButtonGroupSeparator as z, ButtonGroupText as K, buttonGroupVariants as U } from "./button-group.js";
|
|
9
|
+
import { Button as q, buttonVariants as J } from "./button.js";
|
|
10
|
+
import { Calendar as W, CalendarDayButton as X } from "./calendar.js";
|
|
11
|
+
import { Card as Z, CardAction as _, CardContent as $, CardDescription as ee, CardFooter as re, CardHeader as oe, CardTitle as te } from "./card.js";
|
|
12
|
+
import { Carousel as ne, CarouselContent as ie, CarouselItem as pe, CarouselNext as ue, CarouselPrevious as le } from "./carousel.js";
|
|
13
|
+
import { ChartContainer as de, ChartLegend as ge, ChartLegendContent as be, ChartStyle as Ce, ChartTooltip as Se, ChartTooltipContent as xe } from "./chart.js";
|
|
14
|
+
import { Checkbox as Te } from "./checkbox.js";
|
|
15
|
+
import { Collapsible as ce, CollapsibleContent as fe, CollapsibleTrigger as se } from "./collapsible.js";
|
|
16
|
+
import { Command as Ge, CommandDialog as Ae, CommandEmpty as Pe, CommandGroup as we, CommandInput as Fe, CommandItem as ve, CommandList as he, CommandSeparator as Be, CommandShortcut as Le } from "./command.js";
|
|
17
|
+
import { ContextMenu as He, ContextMenuCheckboxItem as Re, ContextMenuContent as ke, ContextMenuGroup as Ee, ContextMenuItem as Ne, ContextMenuLabel as Oe, ContextMenuPortal as Ve, ContextMenuRadioGroup as ze, ContextMenuRadioItem as Ke, ContextMenuSeparator as Ue, ContextMenuShortcut as je, ContextMenuSub as qe, ContextMenuSubContent as Je, ContextMenuSubTrigger as Qe, ContextMenuTrigger as We } from "./context-menu.js";
|
|
18
|
+
import { Dialog as Ye, DialogClose as Ze, DialogContent as _e, DialogDescription as $e, DialogFooter as er, DialogHeader as rr, DialogOverlay as or, DialogPortal as tr, DialogTitle as ar, DialogTrigger as nr } from "./dialog.js";
|
|
19
|
+
import { Drawer as pr, DrawerClose as ur, DrawerContent as lr, DrawerDescription as mr, DrawerFooter as dr, DrawerHeader as gr, DrawerOverlay as br, DrawerPortal as Cr, DrawerTitle as Sr, DrawerTrigger as xr } from "./drawer.js";
|
|
20
|
+
import { DropdownMenu as Tr, DropdownMenuCheckboxItem as Dr, DropdownMenuContent as cr, DropdownMenuGroup as fr, DropdownMenuItem as sr, DropdownMenuLabel as Ir, DropdownMenuPortal as Gr, DropdownMenuRadioGroup as Ar, DropdownMenuRadioItem as Pr, DropdownMenuSeparator as wr, DropdownMenuShortcut as Fr, DropdownMenuSub as vr, DropdownMenuSubContent as hr, DropdownMenuSubTrigger as Br, DropdownMenuTrigger as Lr } from "./dropdown-menu.js";
|
|
21
|
+
import { Empty as Hr, EmptyContent as Rr, EmptyDescription as kr, EmptyHeader as Er, EmptyMedia as Nr, EmptyTitle as Or } from "./empty.js";
|
|
22
|
+
import { Field as zr, FieldContent as Kr, FieldDescription as Ur, FieldError as jr, FieldGroup as qr, FieldLabel as Jr, FieldLegend as Qr, FieldSeparator as Wr, FieldSet as Xr, FieldTitle as Yr } from "./field.js";
|
|
23
|
+
import { Form as _r, FormControl as $r, FormDescription as eo, FormField as ro, FormItem as oo, FormLabel as to, FormMessage as ao, useFormField as no } from "./form.js";
|
|
24
|
+
import { HoverCard as po, HoverCardContent as uo, HoverCardTrigger as lo } from "./hover-card.js";
|
|
25
|
+
import { InputGroup as go, InputGroupAddon as bo, InputGroupButton as Co, InputGroupInput as So, InputGroupText as xo, InputGroupTextarea as Mo } from "./input-group.js";
|
|
26
|
+
import { InputOTP as Do, InputOTPGroup as co, InputOTPSeparator as fo, InputOTPSlot as so } from "./input-otp.js";
|
|
27
|
+
import { Input as Go } from "./input.js";
|
|
28
|
+
import { Item as Po, ItemActions as wo, ItemContent as Fo, ItemDescription as vo, ItemFooter as ho, ItemGroup as Bo, ItemHeader as Lo, ItemMedia as yo, ItemSeparator as Ho, ItemTitle as Ro } from "./item.js";
|
|
29
|
+
import { Kbd as Eo, KbdGroup as No } from "./kbd.js";
|
|
30
|
+
import { Label as Vo } from "./label.js";
|
|
31
|
+
import { Menubar as Ko, MenubarCheckboxItem as Uo, MenubarContent as jo, MenubarGroup as qo, MenubarItem as Jo, MenubarLabel as Qo, MenubarMenu as Wo, MenubarPortal as Xo, MenubarRadioGroup as Yo, MenubarRadioItem as Zo, MenubarSeparator as _o, MenubarShortcut as $o, MenubarSub as et, MenubarSubContent as rt, MenubarSubTrigger as ot, MenubarTrigger as tt } from "./menubar.js";
|
|
32
|
+
import { NavigationMenu as nt, NavigationMenuContent as it, NavigationMenuIndicator as pt, NavigationMenuItem as ut, NavigationMenuLink as lt, NavigationMenuList as mt, NavigationMenuTrigger as dt, NavigationMenuViewport as gt, navigationMenuTriggerStyle as bt } from "./navigation-menu.js";
|
|
33
|
+
import { Pagination as St, PaginationContent as xt, PaginationEllipsis as Mt, PaginationItem as Tt, PaginationLink as Dt, PaginationNext as ct, PaginationPrevious as ft } from "./pagination.js";
|
|
34
|
+
import { Popover as It, PopoverAnchor as Gt, PopoverContent as At, PopoverTrigger as Pt } from "./popover.js";
|
|
35
|
+
import { Progress as Ft } from "./progress.js";
|
|
36
|
+
import { RadioGroup as ht, RadioGroupItem as Bt } from "./radio-group.js";
|
|
37
|
+
import { ResizableHandle as yt, ResizablePanel as Ht, ResizablePanelGroup as Rt } from "./resizable.js";
|
|
38
|
+
import { ScrollArea as Et, ScrollBar as Nt } from "./scroll-area.js";
|
|
39
|
+
import { Select as Vt, SelectContent as zt, SelectGroup as Kt, SelectItem as Ut, SelectLabel as jt, SelectScrollDownButton as qt, SelectScrollUpButton as Jt, SelectSeparator as Qt, SelectTrigger as Wt, SelectValue as Xt } from "./select.js";
|
|
40
|
+
import { Separator as Zt } from "./separator.js";
|
|
41
|
+
import { Sheet as $t, SheetClose as ea, SheetContent as ra, SheetDescription as oa, SheetFooter as ta, SheetHeader as aa, SheetTitle as na, SheetTrigger as ia } from "./sheet.js";
|
|
42
|
+
import { Sidebar as ua, SidebarContent as la, SidebarFooter as ma, SidebarGroup as da, SidebarGroupAction as ga, SidebarGroupContent as ba, SidebarGroupLabel as Ca, SidebarHeader as Sa, SidebarInput as xa, SidebarInset as Ma, SidebarMenu as Ta, SidebarMenuAction as Da, SidebarMenuBadge as ca, SidebarMenuButton as fa, SidebarMenuItem as sa, SidebarMenuSkeleton as Ia, SidebarMenuSub as Ga, SidebarMenuSubButton as Aa, SidebarMenuSubItem as Pa, SidebarProvider as wa, SidebarRail as Fa, SidebarSeparator as va, SidebarTrigger as ha, useSidebar as Ba } from "./sidebar.js";
|
|
43
|
+
import { Skeleton as ya } from "./skeleton.js";
|
|
44
|
+
import { Slider as Ra } from "./slider.js";
|
|
45
|
+
import { Toaster as Ea } from "./sonner.js";
|
|
46
|
+
import { Spinner as Oa } from "./spinner.js";
|
|
47
|
+
import { Switch as za } from "./switch.js";
|
|
48
|
+
import { Table as Ua, TableBody as ja, TableCaption as qa, TableCell as Ja, TableFooter as Qa, TableHead as Wa, TableHeader as Xa, TableRow as Ya } from "./table.js";
|
|
49
|
+
import { Tabs as _a, TabsContent as $a, TabsList as en, TabsTrigger as rn } from "./tabs.js";
|
|
50
|
+
import { Textarea as tn } from "./textarea.js";
|
|
51
|
+
import { ThemeProvider as nn } from "./theme-provider.js";
|
|
52
|
+
import { ToggleGroup as un, ToggleGroupItem as ln } from "./toggle-group.js";
|
|
53
|
+
import { Toggle as dn, toggleVariants as gn } from "./toggle.js";
|
|
54
|
+
import { Tooltip as Cn, TooltipContent as Sn, TooltipProvider as xn, TooltipTrigger as Mn } from "./tooltip.js";
|
|
55
|
+
export {
|
|
56
|
+
o as Accordion,
|
|
57
|
+
t as AccordionContent,
|
|
58
|
+
a as AccordionItem,
|
|
59
|
+
n as AccordionTrigger,
|
|
60
|
+
D as Alert,
|
|
61
|
+
c as AlertDescription,
|
|
62
|
+
p as AlertDialog,
|
|
63
|
+
u as AlertDialogAction,
|
|
64
|
+
l as AlertDialogCancel,
|
|
65
|
+
m as AlertDialogContent,
|
|
66
|
+
d as AlertDialogDescription,
|
|
67
|
+
g as AlertDialogFooter,
|
|
68
|
+
b as AlertDialogHeader,
|
|
69
|
+
C as AlertDialogOverlay,
|
|
70
|
+
S as AlertDialogPortal,
|
|
71
|
+
x as AlertDialogTitle,
|
|
72
|
+
M as AlertDialogTrigger,
|
|
73
|
+
f as AlertTitle,
|
|
74
|
+
I as AspectRatio,
|
|
75
|
+
A as Avatar,
|
|
76
|
+
P as AvatarFallback,
|
|
77
|
+
w as AvatarImage,
|
|
78
|
+
v as Badge,
|
|
79
|
+
L as Breadcrumb,
|
|
80
|
+
y as BreadcrumbEllipsis,
|
|
81
|
+
H as BreadcrumbItem,
|
|
82
|
+
R as BreadcrumbLink,
|
|
83
|
+
k as BreadcrumbList,
|
|
84
|
+
E as BreadcrumbPage,
|
|
85
|
+
N as BreadcrumbSeparator,
|
|
86
|
+
q as Button,
|
|
87
|
+
V as ButtonGroup,
|
|
88
|
+
z as ButtonGroupSeparator,
|
|
89
|
+
K as ButtonGroupText,
|
|
90
|
+
W as Calendar,
|
|
91
|
+
X as CalendarDayButton,
|
|
92
|
+
Z as Card,
|
|
93
|
+
_ as CardAction,
|
|
94
|
+
$ as CardContent,
|
|
95
|
+
ee as CardDescription,
|
|
96
|
+
re as CardFooter,
|
|
97
|
+
oe as CardHeader,
|
|
98
|
+
te as CardTitle,
|
|
99
|
+
ne as Carousel,
|
|
100
|
+
ie as CarouselContent,
|
|
101
|
+
pe as CarouselItem,
|
|
102
|
+
ue as CarouselNext,
|
|
103
|
+
le as CarouselPrevious,
|
|
104
|
+
de as ChartContainer,
|
|
105
|
+
ge as ChartLegend,
|
|
106
|
+
be as ChartLegendContent,
|
|
107
|
+
Ce as ChartStyle,
|
|
108
|
+
Se as ChartTooltip,
|
|
109
|
+
xe as ChartTooltipContent,
|
|
110
|
+
Te as Checkbox,
|
|
111
|
+
ce as Collapsible,
|
|
112
|
+
fe as CollapsibleContent,
|
|
113
|
+
se as CollapsibleTrigger,
|
|
114
|
+
Ge as Command,
|
|
115
|
+
Ae as CommandDialog,
|
|
116
|
+
Pe as CommandEmpty,
|
|
117
|
+
we as CommandGroup,
|
|
118
|
+
Fe as CommandInput,
|
|
119
|
+
ve as CommandItem,
|
|
120
|
+
he as CommandList,
|
|
121
|
+
Be as CommandSeparator,
|
|
122
|
+
Le as CommandShortcut,
|
|
123
|
+
He as ContextMenu,
|
|
124
|
+
Re as ContextMenuCheckboxItem,
|
|
125
|
+
ke as ContextMenuContent,
|
|
126
|
+
Ee as ContextMenuGroup,
|
|
127
|
+
Ne as ContextMenuItem,
|
|
128
|
+
Oe as ContextMenuLabel,
|
|
129
|
+
Ve as ContextMenuPortal,
|
|
130
|
+
ze as ContextMenuRadioGroup,
|
|
131
|
+
Ke as ContextMenuRadioItem,
|
|
132
|
+
Ue as ContextMenuSeparator,
|
|
133
|
+
je as ContextMenuShortcut,
|
|
134
|
+
qe as ContextMenuSub,
|
|
135
|
+
Je as ContextMenuSubContent,
|
|
136
|
+
Qe as ContextMenuSubTrigger,
|
|
137
|
+
We as ContextMenuTrigger,
|
|
138
|
+
Ye as Dialog,
|
|
139
|
+
Ze as DialogClose,
|
|
140
|
+
_e as DialogContent,
|
|
141
|
+
$e as DialogDescription,
|
|
142
|
+
er as DialogFooter,
|
|
143
|
+
rr as DialogHeader,
|
|
144
|
+
or as DialogOverlay,
|
|
145
|
+
tr as DialogPortal,
|
|
146
|
+
ar as DialogTitle,
|
|
147
|
+
nr as DialogTrigger,
|
|
148
|
+
pr as Drawer,
|
|
149
|
+
ur as DrawerClose,
|
|
150
|
+
lr as DrawerContent,
|
|
151
|
+
mr as DrawerDescription,
|
|
152
|
+
dr as DrawerFooter,
|
|
153
|
+
gr as DrawerHeader,
|
|
154
|
+
br as DrawerOverlay,
|
|
155
|
+
Cr as DrawerPortal,
|
|
156
|
+
Sr as DrawerTitle,
|
|
157
|
+
xr as DrawerTrigger,
|
|
158
|
+
Tr as DropdownMenu,
|
|
159
|
+
Dr as DropdownMenuCheckboxItem,
|
|
160
|
+
cr as DropdownMenuContent,
|
|
161
|
+
fr as DropdownMenuGroup,
|
|
162
|
+
sr as DropdownMenuItem,
|
|
163
|
+
Ir as DropdownMenuLabel,
|
|
164
|
+
Gr as DropdownMenuPortal,
|
|
165
|
+
Ar as DropdownMenuRadioGroup,
|
|
166
|
+
Pr as DropdownMenuRadioItem,
|
|
167
|
+
wr as DropdownMenuSeparator,
|
|
168
|
+
Fr as DropdownMenuShortcut,
|
|
169
|
+
vr as DropdownMenuSub,
|
|
170
|
+
hr as DropdownMenuSubContent,
|
|
171
|
+
Br as DropdownMenuSubTrigger,
|
|
172
|
+
Lr as DropdownMenuTrigger,
|
|
173
|
+
Hr as Empty,
|
|
174
|
+
Rr as EmptyContent,
|
|
175
|
+
kr as EmptyDescription,
|
|
176
|
+
Er as EmptyHeader,
|
|
177
|
+
Nr as EmptyMedia,
|
|
178
|
+
Or as EmptyTitle,
|
|
179
|
+
zr as Field,
|
|
180
|
+
Kr as FieldContent,
|
|
181
|
+
Ur as FieldDescription,
|
|
182
|
+
jr as FieldError,
|
|
183
|
+
qr as FieldGroup,
|
|
184
|
+
Jr as FieldLabel,
|
|
185
|
+
Qr as FieldLegend,
|
|
186
|
+
Wr as FieldSeparator,
|
|
187
|
+
Xr as FieldSet,
|
|
188
|
+
Yr as FieldTitle,
|
|
189
|
+
_r as Form,
|
|
190
|
+
$r as FormControl,
|
|
191
|
+
eo as FormDescription,
|
|
192
|
+
ro as FormField,
|
|
193
|
+
oo as FormItem,
|
|
194
|
+
to as FormLabel,
|
|
195
|
+
ao as FormMessage,
|
|
196
|
+
po as HoverCard,
|
|
197
|
+
uo as HoverCardContent,
|
|
198
|
+
lo as HoverCardTrigger,
|
|
199
|
+
Go as Input,
|
|
200
|
+
go as InputGroup,
|
|
201
|
+
bo as InputGroupAddon,
|
|
202
|
+
Co as InputGroupButton,
|
|
203
|
+
So as InputGroupInput,
|
|
204
|
+
xo as InputGroupText,
|
|
205
|
+
Mo as InputGroupTextarea,
|
|
206
|
+
Do as InputOTP,
|
|
207
|
+
co as InputOTPGroup,
|
|
208
|
+
fo as InputOTPSeparator,
|
|
209
|
+
so as InputOTPSlot,
|
|
210
|
+
Po as Item,
|
|
211
|
+
wo as ItemActions,
|
|
212
|
+
Fo as ItemContent,
|
|
213
|
+
vo as ItemDescription,
|
|
214
|
+
ho as ItemFooter,
|
|
215
|
+
Bo as ItemGroup,
|
|
216
|
+
Lo as ItemHeader,
|
|
217
|
+
yo as ItemMedia,
|
|
218
|
+
Ho as ItemSeparator,
|
|
219
|
+
Ro as ItemTitle,
|
|
220
|
+
Eo as Kbd,
|
|
221
|
+
No as KbdGroup,
|
|
222
|
+
Vo as Label,
|
|
223
|
+
Ko as Menubar,
|
|
224
|
+
Uo as MenubarCheckboxItem,
|
|
225
|
+
jo as MenubarContent,
|
|
226
|
+
qo as MenubarGroup,
|
|
227
|
+
Jo as MenubarItem,
|
|
228
|
+
Qo as MenubarLabel,
|
|
229
|
+
Wo as MenubarMenu,
|
|
230
|
+
Xo as MenubarPortal,
|
|
231
|
+
Yo as MenubarRadioGroup,
|
|
232
|
+
Zo as MenubarRadioItem,
|
|
233
|
+
_o as MenubarSeparator,
|
|
234
|
+
$o as MenubarShortcut,
|
|
235
|
+
et as MenubarSub,
|
|
236
|
+
rt as MenubarSubContent,
|
|
237
|
+
ot as MenubarSubTrigger,
|
|
238
|
+
tt as MenubarTrigger,
|
|
239
|
+
nt as NavigationMenu,
|
|
240
|
+
it as NavigationMenuContent,
|
|
241
|
+
pt as NavigationMenuIndicator,
|
|
242
|
+
ut as NavigationMenuItem,
|
|
243
|
+
lt as NavigationMenuLink,
|
|
244
|
+
mt as NavigationMenuList,
|
|
245
|
+
dt as NavigationMenuTrigger,
|
|
246
|
+
gt as NavigationMenuViewport,
|
|
247
|
+
St as Pagination,
|
|
248
|
+
xt as PaginationContent,
|
|
249
|
+
Mt as PaginationEllipsis,
|
|
250
|
+
Tt as PaginationItem,
|
|
251
|
+
Dt as PaginationLink,
|
|
252
|
+
ct as PaginationNext,
|
|
253
|
+
ft as PaginationPrevious,
|
|
254
|
+
It as Popover,
|
|
255
|
+
Gt as PopoverAnchor,
|
|
256
|
+
At as PopoverContent,
|
|
257
|
+
Pt as PopoverTrigger,
|
|
258
|
+
Ft as Progress,
|
|
259
|
+
ht as RadioGroup,
|
|
260
|
+
Bt as RadioGroupItem,
|
|
261
|
+
yt as ResizableHandle,
|
|
262
|
+
Ht as ResizablePanel,
|
|
263
|
+
Rt as ResizablePanelGroup,
|
|
264
|
+
Et as ScrollArea,
|
|
265
|
+
Nt as ScrollBar,
|
|
266
|
+
Vt as Select,
|
|
267
|
+
zt as SelectContent,
|
|
268
|
+
Kt as SelectGroup,
|
|
269
|
+
Ut as SelectItem,
|
|
270
|
+
jt as SelectLabel,
|
|
271
|
+
qt as SelectScrollDownButton,
|
|
272
|
+
Jt as SelectScrollUpButton,
|
|
273
|
+
Qt as SelectSeparator,
|
|
274
|
+
Wt as SelectTrigger,
|
|
275
|
+
Xt as SelectValue,
|
|
276
|
+
Zt as Separator,
|
|
277
|
+
$t as Sheet,
|
|
278
|
+
ea as SheetClose,
|
|
279
|
+
ra as SheetContent,
|
|
280
|
+
oa as SheetDescription,
|
|
281
|
+
ta as SheetFooter,
|
|
282
|
+
aa as SheetHeader,
|
|
283
|
+
na as SheetTitle,
|
|
284
|
+
ia as SheetTrigger,
|
|
285
|
+
ua as Sidebar,
|
|
286
|
+
la as SidebarContent,
|
|
287
|
+
ma as SidebarFooter,
|
|
288
|
+
da as SidebarGroup,
|
|
289
|
+
ga as SidebarGroupAction,
|
|
290
|
+
ba as SidebarGroupContent,
|
|
291
|
+
Ca as SidebarGroupLabel,
|
|
292
|
+
Sa as SidebarHeader,
|
|
293
|
+
xa as SidebarInput,
|
|
294
|
+
Ma as SidebarInset,
|
|
295
|
+
Ta as SidebarMenu,
|
|
296
|
+
Da as SidebarMenuAction,
|
|
297
|
+
ca as SidebarMenuBadge,
|
|
298
|
+
fa as SidebarMenuButton,
|
|
299
|
+
sa as SidebarMenuItem,
|
|
300
|
+
Ia as SidebarMenuSkeleton,
|
|
301
|
+
Ga as SidebarMenuSub,
|
|
302
|
+
Aa as SidebarMenuSubButton,
|
|
303
|
+
Pa as SidebarMenuSubItem,
|
|
304
|
+
wa as SidebarProvider,
|
|
305
|
+
Fa as SidebarRail,
|
|
306
|
+
va as SidebarSeparator,
|
|
307
|
+
ha as SidebarTrigger,
|
|
308
|
+
ya as Skeleton,
|
|
309
|
+
Ra as Slider,
|
|
310
|
+
Oa as Spinner,
|
|
311
|
+
za as Switch,
|
|
312
|
+
Ua as Table,
|
|
313
|
+
ja as TableBody,
|
|
314
|
+
qa as TableCaption,
|
|
315
|
+
Ja as TableCell,
|
|
316
|
+
Qa as TableFooter,
|
|
317
|
+
Wa as TableHead,
|
|
318
|
+
Xa as TableHeader,
|
|
319
|
+
Ya as TableRow,
|
|
320
|
+
_a as Tabs,
|
|
321
|
+
$a as TabsContent,
|
|
322
|
+
en as TabsList,
|
|
323
|
+
rn as TabsTrigger,
|
|
324
|
+
tn as Textarea,
|
|
325
|
+
nn as ThemeProvider,
|
|
326
|
+
Ea as Toaster,
|
|
327
|
+
dn as Toggle,
|
|
328
|
+
un as ToggleGroup,
|
|
329
|
+
ln as ToggleGroupItem,
|
|
330
|
+
Cn as Tooltip,
|
|
331
|
+
Sn as TooltipContent,
|
|
332
|
+
xn as TooltipProvider,
|
|
333
|
+
Mn as TooltipTrigger,
|
|
334
|
+
h as badgeVariants,
|
|
335
|
+
U as buttonGroupVariants,
|
|
336
|
+
J as buttonVariants,
|
|
337
|
+
bt as navigationMenuTriggerStyle,
|
|
338
|
+
gn as toggleVariants,
|
|
339
|
+
no as useFormField,
|
|
340
|
+
Ba as useSidebar
|
|
341
|
+
};
|
|
342
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group.js","sources":["../../src/atoms/input-group.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Button } from \"@/atoms/button\";\nimport { Input } from \"@/atoms/input\";\nimport { Textarea } from \"@/atoms/textarea\";\n\nfunction InputGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"input-group\"\n role=\"group\"\n className={cn(\n \"group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none\",\n \"h-9 min-w-0 has-[>textarea]:h-auto\",\n\n // Variants based on alignment.\n \"has-[>[data-align=inline-start]]:[&>input]:pl-2\",\n \"has-[>[data-align=inline-end]]:[&>input]:pr-2\",\n \"has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3\",\n \"has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3\",\n\n // Focus state.\n \"has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]\",\n\n // Error state.\n \"has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40\",\n\n className,\n )}\n {...props}\n />\n );\n}\n\nconst inputGroupAddonVariants = cva(\n \"text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50\",\n {\n variants: {\n align: {\n \"inline-start\": \"order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]\",\n \"inline-end\": \"order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]\",\n \"block-start\":\n \"order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5\",\n \"block-end\":\n \"order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5\",\n },\n },\n defaultVariants: {\n align: \"inline-start\",\n },\n },\n);\n\nfunction InputGroupAddon({\n className,\n align = \"inline-start\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof inputGroupAddonVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"input-group-addon\"\n data-align={align}\n className={cn(inputGroupAddonVariants({ align }), className)}\n onClick={(e) => {\n if ((e.target as HTMLElement).closest(\"button\")) {\n return;\n }\n e.currentTarget.parentElement?.querySelector(\"input\")?.focus();\n }}\n {...props}\n />\n );\n}\n\nconst inputGroupButtonVariants = cva(\"text-sm shadow-none flex gap-2 items-center\", {\n variants: {\n size: {\n xs: \"h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2\",\n sm: \"h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5\",\n \"icon-xs\": \"size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0\",\n \"icon-sm\": \"size-8 p-0 has-[>svg]:p-0\",\n },\n },\n defaultVariants: {\n size: \"xs\",\n },\n});\n\nfunction InputGroupButton({\n className,\n type = \"button\",\n variant = \"ghost\",\n size = \"xs\",\n ...props\n}: Omit<React.ComponentProps<typeof Button>, \"size\"> &\n VariantProps<typeof inputGroupButtonVariants>) {\n return (\n <Button\n type={type}\n data-size={size}\n variant={variant}\n className={cn(inputGroupButtonVariants({ size }), className)}\n {...props}\n />\n );\n}\n\nfunction InputGroupText({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n className={cn(\n \"text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction InputGroupInput({ className, ...props }: React.ComponentProps<\"input\">) {\n return (\n <Input\n data-slot=\"input-group-control\"\n className={cn(\n \"flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction InputGroupTextarea({ className, ...props }: React.ComponentProps<\"textarea\">) {\n return (\n <Textarea\n data-slot=\"input-group-control\"\n className={cn(\n \"flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport {\n InputGroup,\n InputGroupAddon,\n InputGroupButton,\n InputGroupText,\n InputGroupInput,\n InputGroupTextarea,\n};\n"],"names":["InputGroup","className","props","jsx","cn","inputGroupAddonVariants","cva","InputGroupAddon","align","e","inputGroupButtonVariants","InputGroupButton","type","variant","size","Button","InputGroupText","InputGroupInput","Input","InputGroupTextarea","Textarea"],"mappings":";;;;;;AAUA,SAASA,EAAW,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACxE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,MAAK;AAAA,MACL,WAAWC;AAAA,QACT;AAAA,QACA;AAAA;AAAA,QAGA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAGA;AAAA;AAAA,QAGA;AAAA,QAEAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,MAAMG,IAA0BC;AAAA,EAC9B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,OAAO;AAAA,QACL,gBAAgB;AAAA,QAChB,cAAc;AAAA,QACd,eACE;AAAA,Q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AAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASe,EAAgB,EAAE,WAAAhB,GAAW,GAAGC,KAAwC;AAC/E,SACE,gBAAAC;AAAA,IAACe;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWd;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASiB,EAAmB,EAAE,WAAAlB,GAAW,GAAGC,KAA2C;AACrF,SACE,gBAAAC;AAAA,IAACiB;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWhB;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/atoms/input-otp.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-otp.js","sources":["../../src/atoms/input-otp.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { OTPInput, OTPInputContext } from \"input-otp\";\nimport { MinusIcon } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction InputOTP({\n className,\n containerClassName,\n ...props\n}: React.ComponentProps<typeof OTPInput> & {\n containerClassName?: string;\n}) {\n return (\n <OTPInput\n data-slot=\"input-otp\"\n containerClassName={cn(\"flex items-center gap-2 has-disabled:opacity-50\", containerClassName)}\n className={cn(\"disabled:cursor-not-allowed\", className)}\n {...props}\n />\n );\n}\n\nfunction InputOTPGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div data-slot=\"input-otp-group\" className={cn(\"flex items-center\", className)} {...props} />\n );\n}\n\nfunction InputOTPSlot({\n index,\n className,\n ...props\n}: React.ComponentProps<\"div\"> & {\n index: number;\n}) {\n const inputOTPContext = React.useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};\n\n return (\n <div\n data-slot=\"input-otp-slot\"\n data-active={isActive}\n className={cn(\n \"data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]\",\n className,\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"animate-caret-blink bg-foreground h-4 w-px duration-1000\" />\n </div>\n )}\n </div>\n );\n}\n\nfunction InputOTPSeparator({ ...props }: React.ComponentProps<\"div\">) {\n return (\n <div data-slot=\"input-otp-separator\" role=\"separator\" {...props}>\n <MinusIcon />\n </div>\n );\n}\n\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };\n"],"names":["jsx","jsxs","React","OTPInput","OTPInputContext","MinusIcon","cn","InputOTP","className","containerClassName","props","InputOTPGroup","InputOTPSlot","index","inputOTPContext","char","hasFakeCaret","isActive","InputOTPSeparator"],"mappings":"AAMA,SAAA,OAAAA,GAAA,QAAAC,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,YAAAC,GAAA,mBAAAC,SAAA;AAAA,SAAA,aAAAC,SAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAS;AAAA,EAChB,WAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,GAAGC;AACL,GAEG;AACD,SACE,gBAAAV;AAAA,IAACG;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,oBAAoBG,EAAG,mDAAmDG,CAAkB;AAAA,MAC5F,WAAWH,EAAG,+BAA+BE,CAAS;AAAA,MACrD,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASC,EAAc,EAAE,WAAAH,GAAW,GAAGE,KAAsC;AAC3E,SACE,gBAAAV,EAAC,OAAA,EAAI,aAAU,mBAAkB,WAAWM,EAAG,qBAAqBE,CAAS,GAAI,GAAGE,EAAA,CAAO;AAE/F;AAEA,SAASE,EAAa;AAAA,EACpB,OAAAC;AAAA,EACA,WAAAL;AAAA,EACA,GAAGE;AACL,GAEG;AACD,QAAMI,IAAkBZ,EAAM,WAAWE,CAAe,GAClD,EAAE,MAAAW,GAAM,cAAAC,GAAc,UAAAC,EAAA,IAAaH,GAAiB,MAAMD,CAAK,KAAK,CAAA;AAE1E,SACE,gBAAAZ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,eAAagB;AAAA,MACb,WAAWX;AAAA,QACT;AAAA,QACAE;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,MAEH,UAAA;AAAA,QAAAK;AAAA,QACAC,uBACE,OAAA,EAAI,WAAU,yEACb,UAAA,gBAAAhB,EAAC,OAAA,EAAI,WAAU,2DAAA,CAA2D,EAAA,CAC5E;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;AAEA,SAASkB,EAAkB,EAAE,GAAGR,KAAsC;AACpE,SACE,gBAAAV,EAAC,OAAA,EAAI,aAAU,uBAAsB,MAAK,aAAa,GAAGU,GACxD,UAAA,gBAAAV,EAACK,GAAA,CAAA,CAAU,EAAA,CACb;AAEJ;"}
|
package/dist/atoms/input.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sources":["../../src/atoms/input.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Input({ className, type, ...props }: React.ComponentProps<\"input\">) {\n return (\n <input\n type={type}\n data-slot=\"input\"\n className={cn(\n \"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\n \"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]\",\n \"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Input };\n"],"names":["Input","className","type","props","jsx","cn"],"mappings":";;AAIA,SAASA,EAAM,EAAE,WAAAC,GAAW,MAAAC,GAAM,GAAGC,KAAwC;AAC3E,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAAF;AAAA,MACA,aAAU;AAAA,MACV,WAAWG;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/atoms/item.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","sources":["../../src/atoms/item.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Separator } from \"@/atoms/separator\";\n\nfunction ItemGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n role=\"list\"\n data-slot=\"item-group\"\n className={cn(\"group/item-group flex flex-col\", className)}\n {...props}\n />\n );\n}\n\nfunction ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"item-separator\"\n orientation=\"horizontal\"\n className={cn(\"my-0\", className)}\n {...props}\n />\n );\n}\n\nconst itemVariants = cva(\n \"group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline: \"border-border\",\n muted: \"bg-muted/50\",\n },\n size: {\n default: \"p-4 gap-4 \",\n sm: \"py-3 px-4 gap-2.5\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nfunction Item({\n className,\n variant = \"default\",\n size = \"default\",\n asChild = false,\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof itemVariants> & { asChild?: boolean }) {\n const Comp = asChild ? Slot : \"div\";\n return (\n <Comp\n data-slot=\"item\"\n data-variant={variant}\n data-size={size}\n className={cn(itemVariants({ variant, size, className }))}\n {...props}\n />\n );\n}\n\nconst itemMediaVariants = cva(\n \"flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"size-8 border rounded-sm bg-muted [&_svg:not([class*='size-'])]:size-4\",\n image: \"size-10 rounded-sm overflow-hidden [&_img]:size-full [&_img]:object-cover\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nfunction ItemMedia({\n className,\n variant = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof itemMediaVariants>) {\n return (\n <div\n data-slot=\"item-media\"\n data-variant={variant}\n className={cn(itemMediaVariants({ variant, className }))}\n {...props}\n />\n );\n}\n\nfunction ItemContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-content\"\n className={cn(\"flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none\", className)}\n {...props}\n />\n );\n}\n\nfunction ItemTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-title\"\n className={cn(\"flex w-fit items-center gap-2 text-sm leading-snug font-medium\", className)}\n {...props}\n />\n );\n}\n\nfunction ItemDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p\n data-slot=\"item-description\"\n className={cn(\n \"text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance\",\n \"[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction ItemActions({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div data-slot=\"item-actions\" className={cn(\"flex items-center gap-2\", className)} {...props} />\n );\n}\n\nfunction ItemHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-header\"\n className={cn(\"flex basis-full items-center justify-between gap-2\", className)}\n {...props}\n />\n );\n}\n\nfunction ItemFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"item-footer\"\n className={cn(\"flex basis-full items-center justify-between gap-2\", className)}\n {...props}\n />\n );\n}\n\nexport {\n Item,\n ItemMedia,\n ItemContent,\n ItemActions,\n ItemGroup,\n ItemSeparator,\n ItemTitle,\n ItemDescription,\n ItemHeader,\n ItemFooter,\n};\n"],"names":["ItemGroup","className","props","jsx","cn","ItemSeparator","Separator","itemVariants","cva","Item","variant","size","asChild","Slot","itemMediaVariants","ItemMedia","ItemContent","ItemTitle","ItemDescription","ItemActions","ItemHeader","ItemFooter"],"mappings":";;;;;AAOA,SAASA,EAAU,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACvE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,aAAU;AAAA,MACV,WAAWC,EAAG,kCAAkCH,CAAS;AAAA,MACxD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAc,EAAE,WAAAJ,GAAW,GAAGC,KAAiD;AACtF,SACE,gBAAAC;AAAA,IAACG;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,aAAY;AAAA,MACZ,WAAWF,EAAG,QAAQH,CAAS;AAAA,MAC9B,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA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|
1
|
+
{"version":3,"file":"kbd.js","sources":["../../src/atoms/kbd.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n return (\n <kbd\n data-slot=\"kbd\"\n className={cn(\n \"bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none\",\n \"[&_svg:not([class*='size-'])]:size-3\",\n \"[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <kbd\n data-slot=\"kbd-group\"\n className={cn(\"inline-flex items-center gap-1\", className)}\n {...props}\n />\n );\n}\n\nexport { Kbd, KbdGroup };\n"],"names":["Kbd","className","props","jsx","cn","KbdGroup"],"mappings":";;AAEA,SAASA,EAAI,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACjE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAS,EAAE,WAAAJ,GAAW,GAAGC,KAAsC;AACtE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,kCAAkCH,CAAS;AAAA,MACxD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/atoms/label.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","sources":["../../src/atoms/label.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n"],"names":["Label","className","props","jsx","LabelPrimitive","cn"],"mappings":";;;AAOA,SAASA,EAAM,EAAE,WAAAC,GAAW,GAAGC,KAA2D;AACxF,SACE,gBAAAC;AAAA,IAACC,EAAe;AAAA,IAAf;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/atoms/menubar.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menubar.js","sources":["../../src/atoms/menubar.tsx"],"sourcesContent":["import * as React from \"react\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Menubar({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>) {\n return (\n <MenubarPrimitive.Root\n data-slot=\"menubar\"\n className={cn(\n \"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>) {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\nfunction MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>) {\n return <MenubarPrimitive.Group data-slot=\"menubar-group\" {...props} />;\n}\n\nfunction MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>) {\n return <MenubarPrimitive.Portal data-slot=\"menubar-portal\" {...props} />;\n}\n\nfunction MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {\n return <MenubarPrimitive.RadioGroup data-slot=\"menubar-radio-group\" {...props} />;\n}\n\nfunction MenubarTrigger({\n className,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Trigger>) {\n return (\n <MenubarPrimitive.Trigger\n data-slot=\"menubar-trigger\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction MenubarContent({\n className,\n align = \"start\",\n alignOffset = -4,\n sideOffset = 8,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Content>) {\n return (\n <MenubarPortal>\n <MenubarPrimitive.Content\n data-slot=\"menubar-content\"\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md\",\n className,\n )}\n {...props}\n />\n </MenubarPortal>\n );\n}\n\nfunction MenubarItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: \"default\" | \"destructive\";\n}) {\n return (\n <MenubarPrimitive.Item\n data-slot=\"menubar-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction MenubarCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.CheckboxItem>) {\n return (\n <MenubarPrimitive.CheckboxItem\n data-slot=\"menubar-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n );\n}\n\nfunction MenubarRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.RadioItem>) {\n return (\n <MenubarPrimitive.RadioItem\n data-slot=\"menubar-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n );\n}\n\nfunction MenubarLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <MenubarPrimitive.Label\n data-slot=\"menubar-label\"\n data-inset={inset}\n className={cn(\"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8\", className)}\n {...props}\n />\n );\n}\n\nfunction MenubarSeparator({\n className,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.Separator>) {\n return (\n <MenubarPrimitive.Separator\n data-slot=\"menubar-separator\"\n className={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n />\n );\n}\n\nfunction MenubarShortcut({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"menubar-shortcut\"\n className={cn(\"text-muted-foreground ml-auto text-xs tracking-widest\", className)}\n {...props}\n />\n );\n}\n\nfunction MenubarSub({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Sub>) {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\nfunction MenubarSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <MenubarPrimitive.SubTrigger\n data-slot=\"menubar-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n );\n}\n\nfunction MenubarSubContent({\n className,\n ...props\n}: React.ComponentProps<typeof MenubarPrimitive.SubContent>) {\n return (\n <MenubarPrimitive.SubContent\n data-slot=\"menubar-sub-content\"\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport {\n Menubar,\n MenubarPortal,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarGroup,\n MenubarSeparator,\n MenubarLabel,\n MenubarItem,\n MenubarShortcut,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSub,\n MenubarSubTrigger,\n MenubarSubContent,\n};\n"],"names":["Menubar","className","props","jsx","MenubarPrimitive","cn","MenubarMenu","MenubarGroup","MenubarPortal","MenubarRadioGroup","MenubarTrigger","MenubarContent","align","alignOffset","sideOffset","MenubarItem","inset","variant","MenubarCheckboxItem","children","checked","jsxs","CheckIcon","MenubarRadioItem","CircleIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarSub","MenubarSubTrigger","ChevronRightIcon","MenubarSubContent"],"mappings":";;;;AAMA,SAASA,EAAQ,EAAE,WAAAC,GAAW,GAAGC,KAA6D;AAC5F,SACE,gBAAAC;AAAA,IAACC,EAAiB;AAAA,IAAjB;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASI,EAAY,EAAE,GAAGJ,KAA6D;AACrF,2BAAQE,EAAiB,MAAjB,EAAsB,aAAU,gBAAgB,GAAGF,GAAO;AACpE;AAEA,SAASK,EAAa,EAAE,GAAGL,KAA8D;AACvF,2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
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sources":["../../src/atoms/navigation-menu.tsx"],"sourcesContent":["import * as React from \"react\";\nimport * as NavigationMenuPrimitive from \"@radix-ui/react-navigation-menu\";\nimport { cva } from \"class-variance-authority\";\nimport { ChevronDownIcon } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction NavigationMenu({\n className,\n children,\n viewport = true,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {\n viewport?: boolean;\n}) {\n return (\n <NavigationMenuPrimitive.Root\n data-slot=\"navigation-menu\"\n data-viewport={viewport}\n className={cn(\n \"group/navigation-menu relative flex max-w-max flex-1 items-center justify-center\",\n className,\n )}\n {...props}\n >\n {children}\n {viewport && <NavigationMenuViewport />}\n </NavigationMenuPrimitive.Root>\n );\n}\n\nfunction NavigationMenuList({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.List>) {\n return (\n <NavigationMenuPrimitive.List\n data-slot=\"navigation-menu-list\"\n className={cn(\"group flex flex-1 list-none items-center justify-center gap-1\", className)}\n {...props}\n />\n );\n}\n\nfunction NavigationMenuItem({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Item>) {\n return (\n <NavigationMenuPrimitive.Item\n data-slot=\"navigation-menu-item\"\n className={cn(\"relative\", className)}\n {...props}\n />\n );\n}\n\nconst navigationMenuTriggerStyle = cva(\n \"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1\",\n);\n\nfunction NavigationMenuTrigger({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>) {\n return (\n <NavigationMenuPrimitive.Trigger\n data-slot=\"navigation-menu-trigger\"\n className={cn(navigationMenuTriggerStyle(), \"group\", className)}\n {...props}\n >\n {children}{\" \"}\n <ChevronDownIcon\n className=\"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n );\n}\n\nfunction NavigationMenuContent({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Content>) {\n return (\n <NavigationMenuPrimitive.Content\n data-slot=\"navigation-menu-content\"\n className={cn(\n \"data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto\",\n \"group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction NavigationMenuViewport({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>) {\n return (\n <div className={cn(\"absolute top-full left-0 isolate z-50 flex justify-center\")}>\n <NavigationMenuPrimitive.Viewport\n data-slot=\"navigation-menu-viewport\"\n className={cn(\n \"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]\",\n className,\n )}\n {...props}\n />\n </div>\n );\n}\n\nfunction NavigationMenuLink({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Link>) {\n return (\n <NavigationMenuPrimitive.Link\n data-slot=\"navigation-menu-link\"\n className={cn(\n \"data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction NavigationMenuIndicator({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>) {\n return (\n <NavigationMenuPrimitive.Indicator\n data-slot=\"navigation-menu-indicator\"\n className={cn(\n \"data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden\",\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n );\n}\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n navigationMenuTriggerStyle,\n};\n"],"names":["jsxs","jsx","NavigationMenuPrimitive","cva","ChevronDownIcon","cn","NavigationMenu","className","children","viewport","props","NavigationMenuViewport","NavigationMenuList","NavigationMenuItem","navigationMenuTriggerStyle","NavigationMenuTrigger","NavigationMenuContent","NavigationMenuLink","NavigationMenuIndicator"],"mappings":"AAOA,SAAA,QAAAA,GAAA,OAAAC,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,OAAAC,SAAA;AAAA,SAAA,mBAAAC,SAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAe;AAAA,EACtB,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,GAAGC;AACL,GAEG;AACD,SACE,gBAAAV;AAAA,IAACE,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,iBAAeO;AAAA,MACf,WAAWJ;AAAA,QACT;AAAA,QACAE;AAAA,MAAA;AAAA,MAED,GAAGG;AAAA,MAEH,UAAA;AAAA,QAAAF;AAAA,QACAC,uBAAaE,GAAA,CAAA,CAAuB;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG3C;AAEA,SAASC,EAAmB;AAAA,EAC1B,WAAAL;AAAA,EACA,GAAGG;AACL,GAA8D;AAC5D,SACE,gBAAAT;AAAA,IAACC,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,WAAWG,EAAG,iEAAiEE,CAAS;AAAA,MACvF,GAAGG;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAmB;AAAA,EAC1B,WAAAN;AAAA,EACA,GAAGG;AACL,GAA8D;AAC5D,SACE,gBAAAT;AAAA,IAACC,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,WAAWG,EAAG,YAAYE,CAAS;AAAA,MAClC,GAAGG;AAAA,IAAA;AAAA,E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A,IAAA;AAAA,EAAA;AAGV;AAEA,SAASQ,EAAwB;AAAA,EAC/B,WAAAX;AAAA,EACA,GAAGG;AACL,GAAmE;AACjE,SACE,gBAAAT;AAAA,IAACC,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,WAAWG;AAAA,QACT;AAAA,QACAE;AAAA,MAAA;AAAA,MAED,GAAGG;AAAA,MAEJ,UAAA,gBAAAT,EAAC,OAAA,EAAI,WAAU,yEAAA,CAAyE;AAAA,IAAA;AAAA,EAAA;AAG9F;"}
|
package/dist/atoms/pagination.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.js","sources":["../../src/atoms/pagination.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Button, buttonVariants } from \"@/atoms/button\";\n\nfunction Pagination({ className, ...props }: React.ComponentProps<\"nav\">) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<\"ul\">) {\n return (\n <ul\n data-slot=\"pagination-content\"\n className={cn(\"flex flex-row items-center gap-1\", className)}\n {...props}\n />\n );\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<\"li\">) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, \"size\"> &\n React.ComponentProps<\"a\">;\n\nfunction PaginationLink({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) {\n return (\n <a\n aria-current={isActive ? \"page\" : undefined}\n data-slot=\"pagination-link\"\n data-active={isActive}\n className={cn(\n buttonVariants({\n variant: isActive ? \"outline\" : \"ghost\",\n size,\n }),\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>) {\n return (\n <PaginationLink\n aria-label=\"Go to previous page\"\n className={cn(\"gap-1 pr-2.5\", className)}\n {...props}\n >\n <ChevronLeftIcon />\n <span className=\"hidden sm:block\">Previous</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>) {\n return (\n <PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n className={cn(\"gap-1 px-2.5 sm:pr-2.5\", className)}\n {...props}\n >\n <span className=\"hidden sm:block\">Next</span>\n <ChevronRightIcon />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-9 items-center justify-center\", className)}\n {...props}\n >\n <MoreHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","MoreHorizontalIcon"],"mappings":";;;;AAMA,SAASA,EAAW,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACxE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,cAAW;AAAA,MACX,aAAU;AAAA,MACV,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,MAC5D,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAkB,EAAE,WAAAJ,GAAW,GAAGC,KAAqC;AAC9E,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAA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AAA;AAAA,EAAA;AAGxB;AAEA,SAASC,EAAmB,EAAE,WAAAf,GAAW,GAAGC,KAAuC;AACjF,SACE,gBAAAU;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,eAAW;AAAA,MACX,aAAU;AAAA,MACV,WAAWR,EAAG,2CAA2CH,CAAS;AAAA,MACjE,GAAGC;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAC,EAACc,GAAA,EAAmB,WAAU,SAAA,CAAS;AAAA,QACvC,gBAAAd,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG1C;"}
|
package/dist/atoms/popover.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sources":["../../src/atoms/popover.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = \"center\",\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden\",\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"names":["jsx","PopoverPrimitive","cn","Popover","props","PopoverTrigger","PopoverContent","className","align","sideOffset","PopoverAnchor"],"mappings":"AAOA,SAAA,OAAAA,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAQ,EAAE,GAAGC,KAA6D;AACjF,2BAAQH,EAAiB,MAAjB,EAAsB,aAAU,WAAW,GAAGG,GAAO;AAC/D;AAEA,SAASC,EAAe,EAAE,GAAGD,KAAgE;AAC3F,2BAAQH,EAAiB,SAAjB,EAAyB,aAAU,mBAAmB,GAAGG,GAAO;AAC1E;AAEA,SAASE,EAAe;AAAA,EACtB,WAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,YAAAC,IAAa;AAAA,EACb,GAAGL;AACL,GAA0D;AACxD,SACE,gBAAAJ,EAACC,EAAiB,QAAjB,EACC,UAAA,gBAAAD;AAAA,IAACC,EAAiB;AAAA,IAAjB;AAAA,MACC,aAAU;AAAA,MACV,OAAAO;AAAA,MACA,YAAAC;AAAA,MACA,WAAWP;AAAA,QACT;AAAA,QACAK;AAAA,MAAA;AAAA,MAED,GAAGH;AAAA,IAAA;AAAA,EAAA,GAER;AAEJ;AAEA,SAASM,EAAc,EAAE,GAAGN,KAA+D;AACzF,2BAAQH,EAAiB,QAAjB,EAAwB,aAAU,kBAAkB,GAAGG,GAAO;AACxE;"}
|
package/dist/atoms/progress.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.js","sources":["../../src/atoms/progress.tsx"],"sourcesContent":["import * as React from \"react\";\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Progress({\n className,\n value,\n ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(\"bg-primary/20 relative h-2 w-full overflow-hidden rounded-full\", className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n"],"names":["jsx","ProgressPrimitive","cn","Progress","className","value","props"],"mappings":"AAKA,SAAA,OAAAA,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAS;AAAA,EAChB,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,GAAGC;AACL,GAAwD;AACtD,SACE,gBAAAN;AAAA,IAACC,EAAkB;AAAA,IAAlB;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,kEAAkEE,CAAS;AAAA,MACxF,GAAGE;AAAA,MAEJ,UAAA,gBAAAN;AAAA,QAACC,EAAkB;AAAA,QAAlB;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,UACV,OAAO,EAAE,WAAW,eAAe,OAAOI,KAAS,EAAE,KAAA;AAAA,QAAK;AAAA,MAAA;AAAA,IAC5D;AAAA,EAAA;AAGN;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.js","sources":["../../src/atoms/radio-group.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\nimport { CircleIcon } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn(\"grid gap-3\", className)}\n {...props}\n />\n );\n}\n\nfunction RadioGroupItem({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n \"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"relative flex items-center justify-center\"\n >\n <CircleIcon className=\"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n}\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["jsx","RadioGroupPrimitive","CircleIcon","cn","RadioGroup","className","props","RadioGroupItem"],"mappings":"AAQA,SAAA,OAAAA,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,cAAAC,SAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAW;AAAA,EAClB,WAAAC;AAAA,EACA,GAAGC;AACL,GAA0D;AACxD,SACE,gBAAAN;AAAA,IAACC,EAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,WAAWE,EAAG,cAAcE,CAAS;AAAA,MACpC,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASC,EAAe;AAAA,EACtB,WAAAF;AAAA,EACA,GAAGC;AACL,GAA0D;AACxD,SACE,gBAAAN;AAAA,IAACC,EAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,WAAWE;AAAA,QACT;AAAA,QACAE;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEJ,UAAA,gBAAAN;AAAA,QAACC,EAAoB;AAAA,QAApB;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,UAEV,UAAA,gBAAAD,EAACE,GAAA,EAAW,WAAU,kFAAA,CAAkF;AAAA,QAAA;AAAA,MAAA;AAAA,IAC1G;AAAA,EAAA;AAGN;"}
|
package/dist/atoms/resizable.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resizable.js","sources":["../../src/atoms/resizable.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { GripVerticalIcon } from \"lucide-react\";\nimport * as ResizablePrimitive from \"react-resizable-panels\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) {\n return (\n <ResizablePrimitive.PanelGroup\n data-slot=\"resizable-panel-group\"\n className={cn(\"flex h-full w-full data-[panel-group-direction=vertical]:flex-col\", className)}\n {...props}\n />\n );\n}\n\nfunction ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>) {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}) {\n return (\n <ResizablePrimitive.PanelResizeHandle\n data-slot=\"resizable-handle\"\n className={cn(\n \"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90\",\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border\">\n <GripVerticalIcon className=\"size-2.5\" />\n </div>\n )}\n </ResizablePrimitive.PanelResizeHandle>\n );\n}\n\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle };\n"],"names":["jsx","GripVerticalIcon","ResizablePrimitive","cn","ResizablePanelGroup","className","props","ResizablePanel","ResizableHandle","withHandle"],"mappings":"AAMA,SAAA,OAAAA,SAAA;AAAA,SAAA,oBAAAC,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAoB;AAAA,EAC3B,WAAAC;AAAA,EACA,GAAGC;AACL,GAA+D;AAC7D,SACE,gBAAAN;AAAA,IAACE,EAAmB;AAAA,IAAnB;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,qEAAqEE,CAAS;AAAA,MAC3F,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASC,EAAe,EAAE,GAAGD,KAAgE;AAC3F,2BAAQJ,EAAmB,OAAnB,EAAyB,aAAU,mBAAmB,GAAGI,GAAO;AAC1E;AAEA,SAASE,EAAgB;AAAA,EACvB,YAAAC;AAAA,EACA,WAAAJ;AAAA,EACA,GAAGC;AACL,GAEG;AACD,SACE,gBAAAN;AAAA,IAACE,EAAmB;AAAA,IAAnB;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAE;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEH,UAAAG,uBACE,OAAA,EAAI,WAAU,6EACb,UAAA,gBAAAT,EAACC,GAAA,EAAiB,WAAU,WAAA,CAAW,EAAA,CACzC;AAAA,IAAA;AAAA,EAAA;AAIR;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-area.js","sources":["../../src/atoms/scroll-area.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction ScrollArea({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {\n return (\n <ScrollAreaPrimitive.Root\n data-slot=\"scroll-area\"\n className={cn(\"relative\", className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport\n data-slot=\"scroll-area-viewport\"\n className=\"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n );\n}\n\nfunction ScrollBar({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-slot=\"scroll-area-scrollbar\"\n orientation={orientation}\n className={cn(\n \"flex touch-none p-px transition-colors select-none\",\n orientation === \"vertical\" && \"h-full w-2.5 border-l border-l-transparent\",\n orientation === \"horizontal\" && \"h-2.5 flex-col border-t border-t-transparent\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb\n data-slot=\"scroll-area-thumb\"\n className=\"bg-border relative flex-1 rounded-full\"\n />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n );\n}\n\nexport { ScrollArea, ScrollBar };\n"],"names":["jsxs","jsx","ScrollAreaPrimitive","cn","ScrollArea","className","children","props","ScrollBar","orientation"],"mappings":"AAOA,SAAA,QAAAA,GAAA,OAAAC,SAAA;AAAA,YAAAC,OAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAW;AAAA,EAClB,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GAA0D;AACxD,SACE,gBAAAP;AAAA,IAACE,EAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,YAAYE,CAAS;AAAA,MAClC,GAAGE;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAN;AAAA,UAACC,EAAoB;AAAA,UAApB;AAAA,YACC,aAAU;AAAA,YACV,WAAU;AAAA,YAET,UAAAI;AAAA,UAAA;AAAA,QAAA;AAAA,0BAEFE,GAAA,EAAU;AAAA,QACX,gBAAAP,EAACC,EAAoB,QAApB,CAAA,CAA2B;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGlC;AAEA,SAASM,EAAU;AAAA,EACjB,WAAAH;AAAA,EACA,aAAAI,IAAc;AAAA,EACd,GAAGF;AACL,GAAyE;AACvE,SACE,gBAAAN;AAAA,IAACC,EAAoB;AAAA,IAApB;AAAA,MACC,aAAU;AAAA,MACV,aAAAO;AAAA,MACA,WAAWN;AAAA,QACT;AAAA,QACAM,MAAgB,cAAc;AAAA,QAC9BA,MAAgB,gBAAgB;AAAA,QAChCJ;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,MAEJ,UAAA,gBAAAN;AAAA,QAACC,EAAoB;AAAA,QAApB;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,QAAA;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA;AAGN;"}
|
package/dist/atoms/select.js
CHANGED