@gv-tech/ui-web 2.9.1 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.cjs.js +1 -0
- package/dist/accordion.d.ts +18 -0
- package/dist/accordion.es.js +259 -0
- package/dist/alert-dialog.cjs.js +7 -0
- package/dist/alert-dialog.d.ts +43 -0
- package/dist/alert-dialog.es.js +171 -0
- package/dist/alert.cjs.js +1 -0
- package/dist/alert.d.ts +18 -0
- package/dist/alert.es.js +32 -0
- package/dist/aspect-ratio.cjs.js +1 -0
- package/dist/aspect-ratio.d.ts +10 -0
- package/dist/aspect-ratio.es.js +43 -0
- package/dist/avatar.cjs.js +1 -0
- package/dist/avatar.d.ts +15 -0
- package/dist/avatar.es.js +205 -0
- package/dist/badge.cjs.js +1 -0
- package/dist/badge.d.ts +16 -0
- package/dist/badge.es.js +26 -0
- package/dist/breadcrumb.cjs.js +1 -0
- package/dist/breadcrumb.d.ts +35 -0
- package/dist/breadcrumb.es.js +69 -0
- package/dist/button.cjs.js +1 -0
- package/dist/button.d.ts +17 -0
- package/dist/button.es.js +40 -0
- package/dist/calendar.cjs.js +1 -0
- package/dist/calendar.d.ts +29 -0
- package/dist/calendar.es.js +2976 -0
- package/dist/card.cjs.js +1 -0
- package/dist/card.d.ts +19 -0
- package/dist/card.es.js +33 -0
- package/dist/carousel.cjs.js +1 -0
- package/dist/carousel.d.ts +50 -0
- package/dist/carousel.es.js +1403 -0
- package/dist/chart.cjs.js +16 -0
- package/dist/chart.d.ts +60 -0
- package/dist/chart.es.js +4402 -0
- package/dist/checkbox.cjs.js +1 -0
- package/dist/checkbox.d.ts +10 -0
- package/dist/checkbox.es.js +258 -0
- package/dist/collapsible.cjs.js +1 -0
- package/dist/collapsible.d.ts +20 -0
- package/dist/collapsible.es.js +7 -0
- package/dist/command.cjs.js +1 -0
- package/dist/command.d.ts +115 -0
- package/dist/command.es.js +396 -0
- package/dist/context-menu.cjs.js +1 -0
- package/dist/context-menu.d.ts +80 -0
- package/dist/context-menu.es.js +328 -0
- package/dist/dialog.cjs.js +1 -0
- package/dist/dialog.d.ts +31 -0
- package/dist/dialog.es.js +66 -0
- package/dist/drawer.cjs.js +3 -0
- package/dist/drawer.d.ts +65 -0
- package/dist/drawer.es.js +1085 -0
- package/dist/dropdown-menu.cjs.js +1 -0
- package/dist/dropdown-menu.d.ts +80 -0
- package/dist/dropdown-menu.es.js +316 -0
- package/dist/form.cjs.js +1 -0
- package/dist/form.d.ts +53 -0
- package/dist/form.es.js +355 -0
- package/dist/hover-card.cjs.js +1 -0
- package/dist/hover-card.d.ts +19 -0
- package/dist/hover-card.es.js +188 -0
- package/dist/index-0ioNhtNM.mjs +10 -0
- package/dist/index-3j-XAIXT.mjs +55 -0
- package/dist/index-B2XtpfGY.js +1 -0
- package/dist/index-B39Lzq0v.js +1 -0
- package/dist/index-B7n6fy75.js +1 -0
- package/dist/index-B8dxbSWX.js +41 -0
- package/dist/index-BGIK9FQF.js +1 -0
- package/dist/index-BZPx6jYI.mjs +8 -0
- package/dist/index-BoNjHhm4.js +1 -0
- package/dist/index-BtZvtDmp.js +1 -0
- package/dist/index-Bv7qrYW6.mjs +180 -0
- package/dist/index-ByiPJW53.js +5 -0
- package/dist/index-C0dlIQIi.js +1 -0
- package/dist/index-C1qb0595.mjs +27 -0
- package/dist/index-C7HEunrh.mjs +15 -0
- package/dist/index-C8ni3LLa.js +1 -0
- package/dist/index-CCKe-Mpx.mjs +6 -0
- package/dist/index-CD6_IrA-.mjs +10 -0
- package/dist/index-CRyCZJLa.mjs +677 -0
- package/dist/index-CVx1AgNG.mjs +615 -0
- package/dist/index-Ce5TOFAK.js +1 -0
- package/dist/index-CeSLNJ60.mjs +32 -0
- package/dist/index-CefEQe_4.js +1 -0
- package/dist/index-Cj5hzyBi.js +1 -0
- package/dist/index-Cjj_rUPu.js +1 -0
- package/dist/index-Cl3G0jzM.js +1 -0
- package/dist/index-CsjrqSSN.js +1 -0
- package/dist/index-CwfE56Ep.mjs +1545 -0
- package/dist/index-CwyAfCwY.js +1 -0
- package/dist/index-CzY-WZXL.js +1 -0
- package/dist/index-D2HnlO3y.js +1 -0
- package/dist/index-DAWHN3cH.mjs +85 -0
- package/dist/index-DFdF7K7v.mjs +50 -0
- package/dist/index-DIsg7zU7.js +1 -0
- package/dist/index-DKN_vhyX.mjs +32 -0
- package/dist/index-DLcqcWxM.mjs +29 -0
- package/dist/index-DSxf1gN6.mjs +118 -0
- package/dist/index-DYxWvftI.js +1 -0
- package/dist/index-DaILh3TV.mjs +32 -0
- package/dist/index-Dfzl8TxY.mjs +136 -0
- package/dist/index-Dko2XdTk.js +1 -0
- package/dist/index-DlY82G31.mjs +245 -0
- package/dist/index-DnFcfnA9.mjs +13 -0
- package/dist/index-IZ2gq03c.mjs +68 -0
- package/dist/index-K9FzbxYw.mjs +93 -0
- package/dist/index-Le8p9oP4.mjs +60 -0
- package/dist/index-MQ0c3ZX_.js +1 -0
- package/dist/index-_XxjJPRD.js +1 -0
- package/dist/index-_wdrnYim.js +1 -0
- package/dist/index-jv3B4mTd.js +1 -0
- package/dist/index-kaM0u2Q1.js +1 -0
- package/dist/index-p6xVFRb4.mjs +52 -0
- package/dist/index-rKs9bXHr.mjs +6 -0
- package/dist/index-vuPgkS0V.mjs +70 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.d.ts +1288 -0
- package/dist/index.es.js +289 -0
- package/dist/input.cjs.js +1 -0
- package/dist/input.d.ts +9 -0
- package/dist/input.es.js +19 -0
- package/dist/jsx-runtime-nZSsnGb7.js +6 -0
- package/dist/jsx-runtime-tc70JA_2.mjs +264 -0
- package/dist/label.cjs.js +1 -0
- package/dist/label.d.ts +11 -0
- package/dist/label.es.js +22 -0
- package/dist/menubar.cjs.js +1 -0
- package/dist/menubar.d.ts +79 -0
- package/dist/menubar.es.js +473 -0
- package/dist/navigation-menu.cjs.js +1 -0
- package/dist/navigation-menu.d.ts +47 -0
- package/dist/navigation-menu.es.js +673 -0
- package/dist/pagination.cjs.js +1 -0
- package/dist/pagination.d.ts +68 -0
- package/dist/pagination.es.js +68 -0
- package/dist/popover.cjs.js +1 -0
- package/dist/popover.d.ts +24 -0
- package/dist/popover.es.js +242 -0
- package/dist/progress.cjs.js +6 -0
- package/dist/progress.d.ts +9 -0
- package/dist/progress.es.js +99 -0
- package/dist/radio-group.cjs.js +1 -0
- package/dist/radio-group.d.ts +16 -0
- package/dist/radio-group.es.js +253 -0
- package/dist/resizable.cjs.js +1 -0
- package/dist/resizable.d.ts +22 -0
- package/dist/resizable.es.js +1990 -0
- package/dist/scroll-area.cjs.js +1 -0
- package/dist/scroll-area.d.ts +14 -0
- package/dist/scroll-area.es.js +546 -0
- package/dist/search.cjs.js +1 -0
- package/dist/search.d.ts +15 -0
- package/dist/search.es.js +51 -0
- package/dist/select.cjs.js +1 -0
- package/dist/select.d.ts +54 -0
- package/dist/select.es.js +908 -0
- package/dist/separator.cjs.js +1 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.es.js +35 -0
- package/dist/sheet.cjs.js +1 -0
- package/dist/sheet.d.ts +68 -0
- package/dist/sheet.es.js +66 -0
- package/dist/skeleton.cjs.js +1 -0
- package/dist/skeleton.d.ts +9 -0
- package/dist/skeleton.es.js +8 -0
- package/dist/slider.cjs.js +1 -0
- package/dist/slider.d.ts +9 -0
- package/dist/slider.es.js +442 -0
- package/dist/sonner.cjs.js +1 -0
- package/dist/sonner.d.ts +10 -0
- package/dist/sonner.es.js +764 -0
- package/dist/switch.cjs.js +1 -0
- package/dist/switch.d.ts +9 -0
- package/dist/switch.es.js +149 -0
- package/dist/table.cjs.js +1 -0
- package/dist/table.d.ts +43 -0
- package/dist/table.es.js +57 -0
- package/dist/tabs.cjs.js +1 -0
- package/dist/tabs.d.ts +24 -0
- package/dist/tabs.es.js +195 -0
- package/dist/text.cjs.js +1 -0
- package/dist/text.d.ts +17 -0
- package/dist/text.es.js +42 -0
- package/dist/textarea.cjs.js +1 -0
- package/dist/textarea.d.ts +9 -0
- package/dist/textarea.es.js +18 -0
- package/dist/theme-provider.cjs.js +1 -0
- package/dist/theme-provider.d.ts +9 -0
- package/dist/theme-provider.es.js +8 -0
- package/dist/theme-toggle.cjs.js +1 -0
- package/dist/theme-toggle.d.ts +8 -0
- package/dist/theme-toggle.es.js +78 -0
- package/dist/toast.cjs.js +1 -0
- package/dist/toast.d.ts +26 -0
- package/dist/toast.es.js +494 -0
- package/dist/toaster-CIpfms4W.js +1 -0
- package/dist/toaster-jBYXAPRk.mjs +118 -0
- package/dist/toaster.cjs.js +1 -0
- package/dist/toaster.d.ts +6 -0
- package/dist/toaster.es.js +6 -0
- package/dist/toggle-group.cjs.js +1 -0
- package/dist/toggle-group.d.ts +18 -0
- package/dist/toggle-group.es.js +170 -0
- package/dist/toggle.cjs.js +1 -0
- package/dist/toggle.d.ts +14 -0
- package/dist/toggle.es.js +14 -0
- package/dist/tooltip.cjs.js +1 -0
- package/dist/tooltip.d.ts +25 -0
- package/dist/tooltip.es.js +342 -0
- package/dist/utils-B6yFEsav.mjs +8 -0
- package/dist/utils-IjLH3w2e.js +1 -0
- package/package.json +1 -1
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { c as r } from "./utils-B6yFEsav.mjs";
|
|
2
|
+
import { Accordion as a, AccordionContent as n, AccordionItem as i, AccordionTrigger as l } from "./accordion.es.js";
|
|
3
|
+
import { Alert as m, AlertDescription as u, AlertTitle as g } from "./alert.es.js";
|
|
4
|
+
import { AlertDialog as x, AlertDialogAction as d, AlertDialogCancel as s, AlertDialogContent as T, AlertDialogDescription as b, AlertDialogFooter as c, AlertDialogHeader as D, AlertDialogOverlay as M, AlertDialogPortal as f, AlertDialogTitle as S, AlertDialogTrigger as h } from "./alert-dialog.es.js";
|
|
5
|
+
import { AspectRatio as v } from "./aspect-ratio.es.js";
|
|
6
|
+
import { Avatar as A, AvatarFallback as I, AvatarImage as F } from "./avatar.es.js";
|
|
7
|
+
import { Badge as B, badgeVariants as G } from "./badge.es.js";
|
|
8
|
+
import { Breadcrumb as H, BreadcrumbEllipsis as N, BreadcrumbItem as k, BreadcrumbLink as y, BreadcrumbList as V, BreadcrumbPage as O, BreadcrumbSeparator as z } from "./breadcrumb.es.js";
|
|
9
|
+
import { Button as U, buttonVariants as j } from "./button.es.js";
|
|
10
|
+
import { Calendar as J, CalendarDayButton as K } from "./calendar.es.js";
|
|
11
|
+
import { Card as W, CardContent as X, CardDescription as Y, CardFooter as Z, CardHeader as _, CardTitle as $ } from "./card.es.js";
|
|
12
|
+
import { Carousel as oe, CarouselContent as re, CarouselItem as te, CarouselNext as ae, CarouselPrevious as ne } from "./carousel.es.js";
|
|
13
|
+
import { ChartContainer as le, ChartLegend as pe, ChartLegendContent as me, ChartStyle as ue, ChartTooltip as ge, ChartTooltipContent as Ce } from "./chart.es.js";
|
|
14
|
+
import { Checkbox as de } from "./checkbox.es.js";
|
|
15
|
+
import { Collapsible as Te, CollapsibleContent as be, CollapsibleTrigger as ce } from "./collapsible.es.js";
|
|
16
|
+
import { Command as Me, CommandDialog as fe, CommandEmpty as Se, CommandGroup as he, CommandInput as we, CommandItem as ve, CommandList as Pe, CommandSeparator as Ae, CommandShortcut as Ie } from "./command.es.js";
|
|
17
|
+
import { ContextMenu as Le, ContextMenuCheckboxItem as Be, ContextMenuContent as Ge, ContextMenuGroup as Re, ContextMenuItem as He, ContextMenuLabel as Ne, ContextMenuPortal as ke, ContextMenuRadioGroup as ye, ContextMenuRadioItem as Ve, ContextMenuSeparator as Oe, ContextMenuShortcut as ze, ContextMenuSub as Ee, ContextMenuSubContent as Ue, ContextMenuSubTrigger as je, ContextMenuTrigger as qe } from "./context-menu.es.js";
|
|
18
|
+
import { Dialog as Ke, DialogClose as Qe, DialogContent as We, DialogDescription as Xe, DialogFooter as Ye, DialogHeader as Ze, DialogOverlay as _e, DialogPortal as $e, DialogTitle as eo, DialogTrigger as oo } from "./dialog.es.js";
|
|
19
|
+
import { Drawer as to, DrawerClose as ao, DrawerContent as no, DrawerDescription as io, DrawerFooter as lo, DrawerHeader as po, DrawerOverlay as mo, DrawerPortal as uo, DrawerTitle as go, DrawerTrigger as Co } from "./drawer.es.js";
|
|
20
|
+
import { DropdownMenu as so, DropdownMenuCheckboxItem as To, DropdownMenuContent as bo, DropdownMenuGroup as co, DropdownMenuItem as Do, DropdownMenuLabel as Mo, DropdownMenuPortal as fo, DropdownMenuRadioGroup as So, DropdownMenuRadioItem as ho, DropdownMenuSeparator as wo, DropdownMenuShortcut as vo, DropdownMenuSub as Po, DropdownMenuSubContent as Ao, DropdownMenuSubTrigger as Io, DropdownMenuTrigger as Fo } from "./dropdown-menu.es.js";
|
|
21
|
+
import { Form as Bo, FormControl as Go, FormDescription as Ro, FormField as Ho, FormItem as No, FormLabel as ko, FormMessage as yo, useFormField as Vo } from "./form.es.js";
|
|
22
|
+
import { HoverCard as zo, HoverCardContent as Eo, HoverCardTrigger as Uo } from "./hover-card.es.js";
|
|
23
|
+
import { Input as qo } from "./input.es.js";
|
|
24
|
+
import { Label as Ko } from "./label.es.js";
|
|
25
|
+
import { Menubar as Wo, MenubarCheckboxItem as Xo, MenubarContent as Yo, MenubarGroup as Zo, MenubarItem as _o, MenubarLabel as $o, MenubarMenu as er, MenubarPortal as or, MenubarRadioGroup as rr, MenubarRadioItem as tr, MenubarSeparator as ar, MenubarShortcut as nr, MenubarSub as ir, MenubarSubContent as lr, MenubarSubTrigger as pr, MenubarTrigger as mr } from "./menubar.es.js";
|
|
26
|
+
import { NavigationMenu as gr, NavigationMenuContent as Cr, NavigationMenuIndicator as xr, NavigationMenuItem as dr, NavigationMenuLink as sr, NavigationMenuList as Tr, NavigationMenuTrigger as br, NavigationMenuViewport as cr, navigationMenuTriggerStyle as Dr } from "./navigation-menu.es.js";
|
|
27
|
+
import { Pagination as fr, PaginationContent as Sr, PaginationEllipsis as hr, PaginationItem as wr, PaginationLink as vr, PaginationNext as Pr, PaginationPrevious as Ar } from "./pagination.es.js";
|
|
28
|
+
import { Popover as Fr, PopoverAnchor as Lr, PopoverContent as Br, PopoverTrigger as Gr } from "./popover.es.js";
|
|
29
|
+
import { Progress as Hr } from "./progress.es.js";
|
|
30
|
+
import { RadioGroup as kr, RadioGroupItem as yr } from "./radio-group.es.js";
|
|
31
|
+
import { ResizableHandle as Or, ResizablePanel as zr, ResizablePanelGroup as Er } from "./resizable.es.js";
|
|
32
|
+
import { ScrollArea as jr, ScrollBar as qr } from "./scroll-area.es.js";
|
|
33
|
+
import { Search as Kr, SearchTrigger as Qr } from "./search.es.js";
|
|
34
|
+
import { Select as Xr, SelectContent as Yr, SelectGroup as Zr, SelectItem as _r, SelectLabel as $r, SelectScrollDownButton as et, SelectScrollUpButton as ot, SelectSeparator as rt, SelectTrigger as tt, SelectValue as at } from "./select.es.js";
|
|
35
|
+
import { Separator as it } from "./separator.es.js";
|
|
36
|
+
import { Sheet as pt, SheetClose as mt, SheetContent as ut, SheetDescription as gt, SheetFooter as Ct, SheetHeader as xt, SheetOverlay as dt, SheetPortal as st, SheetTitle as Tt, SheetTrigger as bt } from "./sheet.es.js";
|
|
37
|
+
import { Skeleton as Dt } from "./skeleton.es.js";
|
|
38
|
+
import { Slider as ft } from "./slider.es.js";
|
|
39
|
+
import { Toaster as ht } from "./sonner.es.js";
|
|
40
|
+
import { Switch as vt } from "./switch.es.js";
|
|
41
|
+
import { Table as At, TableBody as It, TableCaption as Ft, TableCell as Lt, TableFooter as Bt, TableHead as Gt, TableHeader as Rt, TableRow as Ht } from "./table.es.js";
|
|
42
|
+
import { Tabs as kt, TabsContent as yt, TabsList as Vt, TabsTrigger as Ot } from "./tabs.es.js";
|
|
43
|
+
import { Text as Et, textVariants as Ut } from "./text.es.js";
|
|
44
|
+
import { Textarea as qt } from "./textarea.es.js";
|
|
45
|
+
import { Toggle as Kt } from "./toggle.es.js";
|
|
46
|
+
import { ToggleGroup as Wt, ToggleGroupItem as Xt } from "./toggle-group.es.js";
|
|
47
|
+
import { Tooltip as Zt, TooltipContent as _t, TooltipProvider as $t, TooltipTrigger as ea } from "./tooltip.es.js";
|
|
48
|
+
import { Toast as ra, ToastAction as ta, ToastClose as aa, ToastDescription as na, ToastProvider as ia, ToastTitle as la, ToastViewport as pa } from "./toast.es.js";
|
|
49
|
+
import { ThemeProvider as ua } from "./theme-provider.es.js";
|
|
50
|
+
import { ThemeToggle as Ca } from "./theme-toggle.es.js";
|
|
51
|
+
import { T as da, t as sa, u as Ta } from "./toaster-jBYXAPRk.mjs";
|
|
52
|
+
import { toggleVariants as ca } from "@gv-tech/ui-core";
|
|
53
|
+
export {
|
|
54
|
+
a as Accordion,
|
|
55
|
+
n as AccordionContent,
|
|
56
|
+
i as AccordionItem,
|
|
57
|
+
l as AccordionTrigger,
|
|
58
|
+
m as Alert,
|
|
59
|
+
u as AlertDescription,
|
|
60
|
+
x as AlertDialog,
|
|
61
|
+
d as AlertDialogAction,
|
|
62
|
+
s as AlertDialogCancel,
|
|
63
|
+
T as AlertDialogContent,
|
|
64
|
+
b as AlertDialogDescription,
|
|
65
|
+
c as AlertDialogFooter,
|
|
66
|
+
D as AlertDialogHeader,
|
|
67
|
+
M as AlertDialogOverlay,
|
|
68
|
+
f as AlertDialogPortal,
|
|
69
|
+
S as AlertDialogTitle,
|
|
70
|
+
h as AlertDialogTrigger,
|
|
71
|
+
g as AlertTitle,
|
|
72
|
+
v as AspectRatio,
|
|
73
|
+
A as Avatar,
|
|
74
|
+
I as AvatarFallback,
|
|
75
|
+
F as AvatarImage,
|
|
76
|
+
B as Badge,
|
|
77
|
+
H as Breadcrumb,
|
|
78
|
+
N as BreadcrumbEllipsis,
|
|
79
|
+
k as BreadcrumbItem,
|
|
80
|
+
y as BreadcrumbLink,
|
|
81
|
+
V as BreadcrumbList,
|
|
82
|
+
O as BreadcrumbPage,
|
|
83
|
+
z as BreadcrumbSeparator,
|
|
84
|
+
U as Button,
|
|
85
|
+
J as Calendar,
|
|
86
|
+
K as CalendarDayButton,
|
|
87
|
+
W as Card,
|
|
88
|
+
X as CardContent,
|
|
89
|
+
Y as CardDescription,
|
|
90
|
+
Z as CardFooter,
|
|
91
|
+
_ as CardHeader,
|
|
92
|
+
$ as CardTitle,
|
|
93
|
+
oe as Carousel,
|
|
94
|
+
re as CarouselContent,
|
|
95
|
+
te as CarouselItem,
|
|
96
|
+
ae as CarouselNext,
|
|
97
|
+
ne as CarouselPrevious,
|
|
98
|
+
le as ChartContainer,
|
|
99
|
+
pe as ChartLegend,
|
|
100
|
+
me as ChartLegendContent,
|
|
101
|
+
ue as ChartStyle,
|
|
102
|
+
ge as ChartTooltip,
|
|
103
|
+
Ce as ChartTooltipContent,
|
|
104
|
+
de as Checkbox,
|
|
105
|
+
Te as Collapsible,
|
|
106
|
+
be as CollapsibleContent,
|
|
107
|
+
ce as CollapsibleTrigger,
|
|
108
|
+
Me as Command,
|
|
109
|
+
fe as CommandDialog,
|
|
110
|
+
Se as CommandEmpty,
|
|
111
|
+
he as CommandGroup,
|
|
112
|
+
we as CommandInput,
|
|
113
|
+
ve as CommandItem,
|
|
114
|
+
Pe as CommandList,
|
|
115
|
+
Ae as CommandSeparator,
|
|
116
|
+
Ie as CommandShortcut,
|
|
117
|
+
Le as ContextMenu,
|
|
118
|
+
Be as ContextMenuCheckboxItem,
|
|
119
|
+
Ge as ContextMenuContent,
|
|
120
|
+
Re as ContextMenuGroup,
|
|
121
|
+
He as ContextMenuItem,
|
|
122
|
+
Ne as ContextMenuLabel,
|
|
123
|
+
ke as ContextMenuPortal,
|
|
124
|
+
ye as ContextMenuRadioGroup,
|
|
125
|
+
Ve as ContextMenuRadioItem,
|
|
126
|
+
Oe as ContextMenuSeparator,
|
|
127
|
+
ze as ContextMenuShortcut,
|
|
128
|
+
Ee as ContextMenuSub,
|
|
129
|
+
Ue as ContextMenuSubContent,
|
|
130
|
+
je as ContextMenuSubTrigger,
|
|
131
|
+
qe as ContextMenuTrigger,
|
|
132
|
+
Ke as Dialog,
|
|
133
|
+
Qe as DialogClose,
|
|
134
|
+
We as DialogContent,
|
|
135
|
+
Xe as DialogDescription,
|
|
136
|
+
Ye as DialogFooter,
|
|
137
|
+
Ze as DialogHeader,
|
|
138
|
+
_e as DialogOverlay,
|
|
139
|
+
$e as DialogPortal,
|
|
140
|
+
eo as DialogTitle,
|
|
141
|
+
oo as DialogTrigger,
|
|
142
|
+
to as Drawer,
|
|
143
|
+
ao as DrawerClose,
|
|
144
|
+
no as DrawerContent,
|
|
145
|
+
io as DrawerDescription,
|
|
146
|
+
lo as DrawerFooter,
|
|
147
|
+
po as DrawerHeader,
|
|
148
|
+
mo as DrawerOverlay,
|
|
149
|
+
uo as DrawerPortal,
|
|
150
|
+
go as DrawerTitle,
|
|
151
|
+
Co as DrawerTrigger,
|
|
152
|
+
so as DropdownMenu,
|
|
153
|
+
To as DropdownMenuCheckboxItem,
|
|
154
|
+
bo as DropdownMenuContent,
|
|
155
|
+
co as DropdownMenuGroup,
|
|
156
|
+
Do as DropdownMenuItem,
|
|
157
|
+
Mo as DropdownMenuLabel,
|
|
158
|
+
fo as DropdownMenuPortal,
|
|
159
|
+
So as DropdownMenuRadioGroup,
|
|
160
|
+
ho as DropdownMenuRadioItem,
|
|
161
|
+
wo as DropdownMenuSeparator,
|
|
162
|
+
vo as DropdownMenuShortcut,
|
|
163
|
+
Po as DropdownMenuSub,
|
|
164
|
+
Ao as DropdownMenuSubContent,
|
|
165
|
+
Io as DropdownMenuSubTrigger,
|
|
166
|
+
Fo as DropdownMenuTrigger,
|
|
167
|
+
Bo as Form,
|
|
168
|
+
Go as FormControl,
|
|
169
|
+
Ro as FormDescription,
|
|
170
|
+
Ho as FormField,
|
|
171
|
+
No as FormItem,
|
|
172
|
+
ko as FormLabel,
|
|
173
|
+
yo as FormMessage,
|
|
174
|
+
zo as HoverCard,
|
|
175
|
+
Eo as HoverCardContent,
|
|
176
|
+
Uo as HoverCardTrigger,
|
|
177
|
+
qo as Input,
|
|
178
|
+
Ko as Label,
|
|
179
|
+
Wo as Menubar,
|
|
180
|
+
Xo as MenubarCheckboxItem,
|
|
181
|
+
Yo as MenubarContent,
|
|
182
|
+
Zo as MenubarGroup,
|
|
183
|
+
_o as MenubarItem,
|
|
184
|
+
$o as MenubarLabel,
|
|
185
|
+
er as MenubarMenu,
|
|
186
|
+
or as MenubarPortal,
|
|
187
|
+
rr as MenubarRadioGroup,
|
|
188
|
+
tr as MenubarRadioItem,
|
|
189
|
+
ar as MenubarSeparator,
|
|
190
|
+
nr as MenubarShortcut,
|
|
191
|
+
ir as MenubarSub,
|
|
192
|
+
lr as MenubarSubContent,
|
|
193
|
+
pr as MenubarSubTrigger,
|
|
194
|
+
mr as MenubarTrigger,
|
|
195
|
+
gr as NavigationMenu,
|
|
196
|
+
Cr as NavigationMenuContent,
|
|
197
|
+
xr as NavigationMenuIndicator,
|
|
198
|
+
dr as NavigationMenuItem,
|
|
199
|
+
sr as NavigationMenuLink,
|
|
200
|
+
Tr as NavigationMenuList,
|
|
201
|
+
br as NavigationMenuTrigger,
|
|
202
|
+
cr as NavigationMenuViewport,
|
|
203
|
+
fr as Pagination,
|
|
204
|
+
Sr as PaginationContent,
|
|
205
|
+
hr as PaginationEllipsis,
|
|
206
|
+
wr as PaginationItem,
|
|
207
|
+
vr as PaginationLink,
|
|
208
|
+
Pr as PaginationNext,
|
|
209
|
+
Ar as PaginationPrevious,
|
|
210
|
+
Fr as Popover,
|
|
211
|
+
Lr as PopoverAnchor,
|
|
212
|
+
Br as PopoverContent,
|
|
213
|
+
Gr as PopoverTrigger,
|
|
214
|
+
Hr as Progress,
|
|
215
|
+
kr as RadioGroup,
|
|
216
|
+
yr as RadioGroupItem,
|
|
217
|
+
Or as ResizableHandle,
|
|
218
|
+
zr as ResizablePanel,
|
|
219
|
+
Er as ResizablePanelGroup,
|
|
220
|
+
jr as ScrollArea,
|
|
221
|
+
qr as ScrollBar,
|
|
222
|
+
Kr as Search,
|
|
223
|
+
Qr as SearchTrigger,
|
|
224
|
+
Xr as Select,
|
|
225
|
+
Yr as SelectContent,
|
|
226
|
+
Zr as SelectGroup,
|
|
227
|
+
_r as SelectItem,
|
|
228
|
+
$r as SelectLabel,
|
|
229
|
+
et as SelectScrollDownButton,
|
|
230
|
+
ot as SelectScrollUpButton,
|
|
231
|
+
rt as SelectSeparator,
|
|
232
|
+
tt as SelectTrigger,
|
|
233
|
+
at as SelectValue,
|
|
234
|
+
it as Separator,
|
|
235
|
+
pt as Sheet,
|
|
236
|
+
mt as SheetClose,
|
|
237
|
+
ut as SheetContent,
|
|
238
|
+
gt as SheetDescription,
|
|
239
|
+
Ct as SheetFooter,
|
|
240
|
+
xt as SheetHeader,
|
|
241
|
+
dt as SheetOverlay,
|
|
242
|
+
st as SheetPortal,
|
|
243
|
+
Tt as SheetTitle,
|
|
244
|
+
bt as SheetTrigger,
|
|
245
|
+
Dt as Skeleton,
|
|
246
|
+
ft as Slider,
|
|
247
|
+
ht as SonnerToaster,
|
|
248
|
+
vt as Switch,
|
|
249
|
+
At as Table,
|
|
250
|
+
It as TableBody,
|
|
251
|
+
Ft as TableCaption,
|
|
252
|
+
Lt as TableCell,
|
|
253
|
+
Bt as TableFooter,
|
|
254
|
+
Gt as TableHead,
|
|
255
|
+
Rt as TableHeader,
|
|
256
|
+
Ht as TableRow,
|
|
257
|
+
kt as Tabs,
|
|
258
|
+
yt as TabsContent,
|
|
259
|
+
Vt as TabsList,
|
|
260
|
+
Ot as TabsTrigger,
|
|
261
|
+
Et as Text,
|
|
262
|
+
qt as Textarea,
|
|
263
|
+
ua as ThemeProvider,
|
|
264
|
+
Ca as ThemeToggle,
|
|
265
|
+
ra as Toast,
|
|
266
|
+
ta as ToastAction,
|
|
267
|
+
aa as ToastClose,
|
|
268
|
+
na as ToastDescription,
|
|
269
|
+
ia as ToastProvider,
|
|
270
|
+
la as ToastTitle,
|
|
271
|
+
pa as ToastViewport,
|
|
272
|
+
da as Toaster,
|
|
273
|
+
Kt as Toggle,
|
|
274
|
+
Wt as ToggleGroup,
|
|
275
|
+
Xt as ToggleGroupItem,
|
|
276
|
+
Zt as Tooltip,
|
|
277
|
+
_t as TooltipContent,
|
|
278
|
+
$t as TooltipProvider,
|
|
279
|
+
ea as TooltipTrigger,
|
|
280
|
+
G as badgeVariants,
|
|
281
|
+
j as buttonVariants,
|
|
282
|
+
r as cn,
|
|
283
|
+
Dr as navigationMenuTriggerStyle,
|
|
284
|
+
Ut as textVariants,
|
|
285
|
+
sa as toast,
|
|
286
|
+
ca as toggleVariants,
|
|
287
|
+
Vo as useFormField,
|
|
288
|
+
Ta as useToast
|
|
289
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./jsx-runtime-nZSsnGb7.js"),s=require("react"),u=require("./utils-IjLH3w2e.js");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const a=l(s),o=a.forwardRef(({className:e,type:r,...t},n)=>i.jsxRuntimeExports.jsx("input",{type:r,className:u.cn("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));o.displayName="Input";exports.Input=o;
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InputBaseProps } from '../../ui-core/src';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
5
|
+
|
|
6
|
+
export declare interface InputProps extends React_2.ComponentProps<'input'>, InputBaseProps {
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { }
|
package/dist/input.es.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { j as i } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { c as n } from "./utils-B6yFEsav.mjs";
|
|
4
|
+
const a = s.forwardRef(({ className: e, type: r, ...t }, o) => /* @__PURE__ */ i.jsx(
|
|
5
|
+
"input",
|
|
6
|
+
{
|
|
7
|
+
type: r,
|
|
8
|
+
className: n(
|
|
9
|
+
"border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
10
|
+
e
|
|
11
|
+
),
|
|
12
|
+
ref: o,
|
|
13
|
+
...t
|
|
14
|
+
}
|
|
15
|
+
));
|
|
16
|
+
a.displayName = "Input";
|
|
17
|
+
export {
|
|
18
|
+
a as Input
|
|
19
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const K=require("react");var v={exports:{}},m={};var $;function ee(){if($)return m;$=1;var u=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function c(i,o,s){var f=null;if(s!==void 0&&(f=""+s),o.key!==void 0&&(f=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:u,type:i,key:f,ref:o!==void 0?o:null,props:s}}return m.Fragment=_,m.jsx=c,m.jsxs=c,m}var E={};var I;function re(){return I||(I=1,process.env.NODE_ENV!=="production"&&(function(){function u(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===H?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case U:return"Profiler";case W:return"StrictMode";case z:return"Suspense";case G:return"SuspenseList";case B:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case M:return"Portal";case J:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case V:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return r=e.displayName||null,r!==null?r:u(e.type)||"Memo";case T:r=e._payload,e=e._init;try{return u(e(r))}catch{}}return null}function _(e){return""+e}function c(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function i(e){if(e===p)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===T)return"<...>";try{var r=u(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=k.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function f(e){if(j.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function t(){g||(g=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function D(){var e=u(this.type);return h[e]||(h[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function L(e,r,t,n,b,A){var a=t.ref;return e={$$typeof:y,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:D}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,b,A){var a=r.children;if(a!==void 0)if(n)if(Z(a)){for(n=0;n<a.length;n++)w(a[n]);Object.freeze&&Object.freeze(a)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(a);if(j.call(r,"key")){a=u(e);var l=Object.keys(r).filter(function(Q){return Q!=="key"});n=0<l.length?"{key: someKey, "+l.join(": ..., ")+": ...}":"{key: someKey}",Y[a+n]||(l=0<l.length?"{"+l.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
|
+
let props = %s;
|
|
3
|
+
<%s {...props} />
|
|
4
|
+
React keys must be passed directly to JSX without using spread:
|
|
5
|
+
let props = %s;
|
|
6
|
+
<%s key={someKey} {...props} />`,n,a,l,a),Y[a+n]=!0)}if(a=null,t!==void 0&&(c(t),a=""+t),f(r)&&(c(r.key),a=""+r.key),"key"in r){t={};for(var S in r)S!=="key"&&(t[S]=r[S])}else t=r;return a&&d(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),L(e,a,t,o(),b,A)}function w(e){x(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===T&&(e._payload.status==="fulfilled"?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}var R=K,y=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),J=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),H=Symbol.for("react.client.reference"),k=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,Z=Array.isArray,O=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var g,h={},N=R.react_stack_bottom_frame.bind(R,s)(),C=O(i(s)),Y={};E.Fragment=p,E.jsx=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n?Error("react-stack-top-frame"):N,n?O(i(e)):C)},E.jsxs=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n?Error("react-stack-top-frame"):N,n?O(i(e)):C)}})()),E}var F;function te(){return F||(F=1,process.env.NODE_ENV==="production"?v.exports=ee():v.exports=re()),v.exports}var ne=te();exports.jsxRuntimeExports=ne;
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import K from "react";
|
|
2
|
+
var v = { exports: {} }, m = {};
|
|
3
|
+
var I;
|
|
4
|
+
function ee() {
|
|
5
|
+
if (I) return m;
|
|
6
|
+
I = 1;
|
|
7
|
+
var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), E = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
+
function c(i, o, s) {
|
|
9
|
+
var f = null;
|
|
10
|
+
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
11
|
+
s = {};
|
|
12
|
+
for (var d in o)
|
|
13
|
+
d !== "key" && (s[d] = o[d]);
|
|
14
|
+
} else s = o;
|
|
15
|
+
return o = s.ref, {
|
|
16
|
+
$$typeof: l,
|
|
17
|
+
type: i,
|
|
18
|
+
key: f,
|
|
19
|
+
ref: o !== void 0 ? o : null,
|
|
20
|
+
props: s
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return m.Fragment = E, m.jsx = c, m.jsxs = c, m;
|
|
24
|
+
}
|
|
25
|
+
var _ = {};
|
|
26
|
+
var $;
|
|
27
|
+
function re() {
|
|
28
|
+
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
+
function l(e) {
|
|
30
|
+
if (e == null) return null;
|
|
31
|
+
if (typeof e == "function")
|
|
32
|
+
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
33
|
+
if (typeof e == "string") return e;
|
|
34
|
+
switch (e) {
|
|
35
|
+
case p:
|
|
36
|
+
return "Fragment";
|
|
37
|
+
case U:
|
|
38
|
+
return "Profiler";
|
|
39
|
+
case W:
|
|
40
|
+
return "StrictMode";
|
|
41
|
+
case z:
|
|
42
|
+
return "Suspense";
|
|
43
|
+
case G:
|
|
44
|
+
return "SuspenseList";
|
|
45
|
+
case B:
|
|
46
|
+
return "Activity";
|
|
47
|
+
}
|
|
48
|
+
if (typeof e == "object")
|
|
49
|
+
switch (typeof e.tag == "number" && console.error(
|
|
50
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
+
), e.$$typeof) {
|
|
52
|
+
case M:
|
|
53
|
+
return "Portal";
|
|
54
|
+
case V:
|
|
55
|
+
return e.displayName || "Context";
|
|
56
|
+
case J:
|
|
57
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
+
case q:
|
|
59
|
+
var r = e.render;
|
|
60
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
+
case X:
|
|
62
|
+
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
63
|
+
case T:
|
|
64
|
+
r = e._payload, e = e._init;
|
|
65
|
+
try {
|
|
66
|
+
return l(e(r));
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
function E(e) {
|
|
73
|
+
return "" + e;
|
|
74
|
+
}
|
|
75
|
+
function c(e) {
|
|
76
|
+
try {
|
|
77
|
+
E(e);
|
|
78
|
+
var r = !1;
|
|
79
|
+
} catch {
|
|
80
|
+
r = !0;
|
|
81
|
+
}
|
|
82
|
+
if (r) {
|
|
83
|
+
r = console;
|
|
84
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
+
return t.call(
|
|
86
|
+
r,
|
|
87
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
+
n
|
|
89
|
+
), E(e);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function i(e) {
|
|
93
|
+
if (e === p) return "<>";
|
|
94
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
95
|
+
return "<...>";
|
|
96
|
+
try {
|
|
97
|
+
var r = l(e);
|
|
98
|
+
return r ? "<" + r + ">" : "<...>";
|
|
99
|
+
} catch {
|
|
100
|
+
return "<...>";
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function o() {
|
|
104
|
+
var e = k.A;
|
|
105
|
+
return e === null ? null : e.getOwner();
|
|
106
|
+
}
|
|
107
|
+
function s() {
|
|
108
|
+
return Error("react-stack-top-frame");
|
|
109
|
+
}
|
|
110
|
+
function f(e) {
|
|
111
|
+
if (x.call(e, "key")) {
|
|
112
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
113
|
+
if (r && r.isReactWarning) return !1;
|
|
114
|
+
}
|
|
115
|
+
return e.key !== void 0;
|
|
116
|
+
}
|
|
117
|
+
function d(e, r) {
|
|
118
|
+
function t() {
|
|
119
|
+
g || (g = !0, console.error(
|
|
120
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
+
r
|
|
122
|
+
));
|
|
123
|
+
}
|
|
124
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
+
get: t,
|
|
126
|
+
configurable: !0
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function D() {
|
|
130
|
+
var e = l(this.type);
|
|
131
|
+
return h[e] || (h[e] = !0, console.error(
|
|
132
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
+
}
|
|
135
|
+
function L(e, r, t, n, b, A) {
|
|
136
|
+
var a = t.ref;
|
|
137
|
+
return e = {
|
|
138
|
+
$$typeof: j,
|
|
139
|
+
type: e,
|
|
140
|
+
key: r,
|
|
141
|
+
props: t,
|
|
142
|
+
_owner: n
|
|
143
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
+
enumerable: !1,
|
|
145
|
+
get: D
|
|
146
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
147
|
+
configurable: !1,
|
|
148
|
+
enumerable: !1,
|
|
149
|
+
writable: !0,
|
|
150
|
+
value: 0
|
|
151
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
152
|
+
configurable: !1,
|
|
153
|
+
enumerable: !1,
|
|
154
|
+
writable: !0,
|
|
155
|
+
value: null
|
|
156
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
157
|
+
configurable: !1,
|
|
158
|
+
enumerable: !1,
|
|
159
|
+
writable: !0,
|
|
160
|
+
value: b
|
|
161
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
+
configurable: !1,
|
|
163
|
+
enumerable: !1,
|
|
164
|
+
writable: !0,
|
|
165
|
+
value: A
|
|
166
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
+
}
|
|
168
|
+
function P(e, r, t, n, b, A) {
|
|
169
|
+
var a = r.children;
|
|
170
|
+
if (a !== void 0)
|
|
171
|
+
if (n)
|
|
172
|
+
if (Z(a)) {
|
|
173
|
+
for (n = 0; n < a.length; n++)
|
|
174
|
+
w(a[n]);
|
|
175
|
+
Object.freeze && Object.freeze(a);
|
|
176
|
+
} else
|
|
177
|
+
console.error(
|
|
178
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
+
);
|
|
180
|
+
else w(a);
|
|
181
|
+
if (x.call(r, "key")) {
|
|
182
|
+
a = l(e);
|
|
183
|
+
var u = Object.keys(r).filter(function(Q) {
|
|
184
|
+
return Q !== "key";
|
|
185
|
+
});
|
|
186
|
+
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
188
|
+
let props = %s;
|
|
189
|
+
<%s {...props} />
|
|
190
|
+
React keys must be passed directly to JSX without using spread:
|
|
191
|
+
let props = %s;
|
|
192
|
+
<%s key={someKey} {...props} />`,
|
|
193
|
+
n,
|
|
194
|
+
a,
|
|
195
|
+
u,
|
|
196
|
+
a
|
|
197
|
+
), Y[a + n] = !0);
|
|
198
|
+
}
|
|
199
|
+
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
200
|
+
t = {};
|
|
201
|
+
for (var S in r)
|
|
202
|
+
S !== "key" && (t[S] = r[S]);
|
|
203
|
+
} else t = r;
|
|
204
|
+
return a && d(
|
|
205
|
+
t,
|
|
206
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
+
), L(
|
|
208
|
+
e,
|
|
209
|
+
a,
|
|
210
|
+
t,
|
|
211
|
+
o(),
|
|
212
|
+
b,
|
|
213
|
+
A
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
function w(e) {
|
|
217
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
+
}
|
|
219
|
+
function y(e) {
|
|
220
|
+
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
221
|
+
}
|
|
222
|
+
var R = K, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
223
|
+
return null;
|
|
224
|
+
};
|
|
225
|
+
R = {
|
|
226
|
+
react_stack_bottom_frame: function(e) {
|
|
227
|
+
return e();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
var g, h = {}, N = R.react_stack_bottom_frame.bind(
|
|
231
|
+
R,
|
|
232
|
+
s
|
|
233
|
+
)(), C = O(i(s)), Y = {};
|
|
234
|
+
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
235
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
236
|
+
return P(
|
|
237
|
+
e,
|
|
238
|
+
r,
|
|
239
|
+
t,
|
|
240
|
+
!1,
|
|
241
|
+
n ? Error("react-stack-top-frame") : N,
|
|
242
|
+
n ? O(i(e)) : C
|
|
243
|
+
);
|
|
244
|
+
}, _.jsxs = function(e, r, t) {
|
|
245
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
246
|
+
return P(
|
|
247
|
+
e,
|
|
248
|
+
r,
|
|
249
|
+
t,
|
|
250
|
+
!0,
|
|
251
|
+
n ? Error("react-stack-top-frame") : N,
|
|
252
|
+
n ? O(i(e)) : C
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
})()), _;
|
|
256
|
+
}
|
|
257
|
+
var F;
|
|
258
|
+
function te() {
|
|
259
|
+
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = ee() : v.exports = re()), v.exports;
|
|
260
|
+
}
|
|
261
|
+
var ae = te();
|
|
262
|
+
export {
|
|
263
|
+
ae as j
|
|
264
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./jsx-runtime-nZSsnGb7.js"),c=require("react"),u=require("./index-B39Lzq0v.js"),d=require("class-variance-authority"),f=require("./utils-IjLH3w2e.js");function b(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const a=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,a.get?a:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const n=b(c);var m="Label",s=n.forwardRef((t,r)=>o.jsxRuntimeExports.jsx(u.Primitive.label,{...t,ref:r,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));s.displayName=m;var i=s;const p=d.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=n.forwardRef(({className:t,...r},e)=>o.jsxRuntimeExports.jsx(i,{ref:e,className:f.cn(p(),t),...r}));l.displayName=i.displayName;exports.Label=l;
|
package/dist/label.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
+
import { LabelBaseProps as LabelProps } from '../../ui-core/src';
|
|
4
|
+
import * as React_2 from 'react';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
8
|
+
|
|
9
|
+
export { LabelProps }
|
|
10
|
+
|
|
11
|
+
export { }
|
package/dist/label.es.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { j as r } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { P as l } from "./index-DaILh3TV.mjs";
|
|
4
|
+
import { cva as m } from "class-variance-authority";
|
|
5
|
+
import { c as n } from "./utils-B6yFEsav.mjs";
|
|
6
|
+
var d = "Label", s = o.forwardRef((e, t) => /* @__PURE__ */ r.jsx(
|
|
7
|
+
l.label,
|
|
8
|
+
{
|
|
9
|
+
...e,
|
|
10
|
+
ref: t,
|
|
11
|
+
onMouseDown: (a) => {
|
|
12
|
+
a.target.closest("button, input, select, textarea") || (e.onMouseDown?.(a), !a.defaultPrevented && a.detail > 1 && a.preventDefault());
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
));
|
|
16
|
+
s.displayName = d;
|
|
17
|
+
var i = s;
|
|
18
|
+
const f = m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), p = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(i, { ref: a, className: n(f(), e), ...t }));
|
|
19
|
+
p.displayName = i.displayName;
|
|
20
|
+
export {
|
|
21
|
+
p as Label
|
|
22
|
+
};
|