@cryptlex/web-components 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/accordion.es.js +8 -8
- package/dist/components/ui/accordion.es.js.map +1 -1
- package/dist/components/ui/avatar.es.js +43 -0
- package/dist/components/ui/avatar.es.js.map +1 -0
- package/dist/components/ui/badge.es.js +1 -1
- package/dist/components/ui/badge.es.js.map +1 -1
- package/dist/components/ui/breadcrumb.es.js +1 -1
- package/dist/components/ui/breadcrumb.es.js.map +1 -1
- package/dist/components/ui/button.es.js +5 -5
- package/dist/components/ui/button.es.js.map +1 -1
- package/dist/components/ui/calendar.es.js +3 -3
- package/dist/components/ui/calendar.es.js.map +1 -1
- package/dist/components/ui/card.es.js +17 -17
- package/dist/components/ui/card.es.js.map +1 -1
- package/dist/components/ui/chart.es.js +14 -14
- package/dist/components/ui/chart.es.js.map +1 -1
- package/dist/components/ui/command.es.js +19 -19
- package/dist/components/ui/command.es.js.map +1 -1
- package/dist/components/ui/dialog.es.js +2 -2
- package/dist/components/ui/dialog.es.js.map +1 -1
- package/dist/components/ui/drawer.es.js +99 -0
- package/dist/components/ui/drawer.es.js.map +1 -0
- package/dist/components/ui/dropdown-menu.es.js +59 -59
- package/dist/components/ui/dropdown-menu.es.js.map +1 -1
- package/dist/components/ui/form.es.js +2 -2
- package/dist/components/ui/form.es.js.map +1 -1
- package/dist/components/ui/input-otp.es.js +49 -0
- package/dist/components/ui/input-otp.es.js.map +1 -0
- package/dist/components/ui/input.es.js +7 -7
- package/dist/components/ui/input.es.js.map +1 -1
- package/dist/components/ui/label.es.js +7 -7
- package/dist/components/ui/label.es.js.map +1 -1
- package/dist/components/ui/navigation-menu.es.js +2 -2
- package/dist/components/ui/navigation-menu.es.js.map +1 -1
- package/dist/components/ui/select.es.js +21 -21
- package/dist/components/ui/select.es.js.map +1 -1
- package/dist/components/ui/sheet.es.js +5 -5
- package/dist/components/ui/sheet.es.js.map +1 -1
- package/dist/components/ui/sidebar.es.js +85 -85
- package/dist/components/ui/sidebar.es.js.map +1 -1
- package/dist/components/ui/table.es.js +8 -8
- package/dist/components/ui/table.es.js.map +1 -1
- package/dist/components/ui/tabs.es.js +47 -0
- package/dist/components/ui/tabs.es.js.map +1 -0
- package/dist/components/ui/tooltip.es.js +8 -8
- package/dist/components/ui/tooltip.es.js.map +1 -1
- package/dist/index.es.d.ts +109 -8
- package/dist/index.es.js +220 -193
- package/dist/index.es.js.map +1 -1
- package/dist/utils/index.es.js +17 -5
- package/dist/utils/index.es.js.map +1 -1
- package/lib/index.css +13 -10
- package/lib/tokens.css +14 -14
- package/package.json +7 -4
- package/tailwind.preset.ts +69 -77
package/dist/index.es.js
CHANGED
|
@@ -1,196 +1,223 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
1
|
+
import { Accordion as r, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./components/ui/accordion.es.js";
|
|
2
|
+
import { Avatar as p, AvatarFallback as d, AvatarImage as l } from "./components/ui/avatar.es.js";
|
|
3
|
+
import { Badge as u, badgeVariants as S } from "./components/ui/badge.es.js";
|
|
4
|
+
import { Breadcrumb as b, BreadcrumbEllipsis as C, BreadcrumbItem as T, BreadcrumbLink as c, BreadcrumbList as D, BreadcrumbPage as s, BreadcrumbSeparator as x } from "./components/ui/breadcrumb.es.js";
|
|
5
|
+
import { Button as f, buttonVariants as w } from "./components/ui/button.es.js";
|
|
6
|
+
import { Calendar as P } from "./components/ui/calendar.es.js";
|
|
7
|
+
import { Card as v, CardContent as F, CardDescription as L, CardFooter as B, CardHeader as G, CardTitle as A } from "./components/ui/card.es.js";
|
|
8
|
+
import { ChartContainer as H, ChartLegend as k, ChartLegendContent as y, ChartStyle as O, ChartTooltip as R, ChartTooltipContent as V } from "./components/ui/chart.es.js";
|
|
9
|
+
import { Checkbox as U } from "./components/ui/checkbox.es.js";
|
|
10
|
+
import { Collapsible as q, CollapsibleContent as z, CollapsibleTrigger as J } from "./components/ui/collapsible.es.js";
|
|
11
|
+
import { Command as Q, CommandDialog as W, CommandEmpty as X, CommandGroup as Y, CommandInput as Z, CommandItem as _, CommandList as $, CommandSeparator as ee, CommandShortcut as oe } from "./components/ui/command.es.js";
|
|
12
|
+
import { Dialog as te, DialogClose as ae, DialogContent as ne, DialogDescription as ie, DialogFooter as pe, DialogHeader as de, DialogOverlay as le, DialogPortal as me, DialogTitle as ue, DialogTrigger as Se } from "./components/ui/dialog.es.js";
|
|
13
|
+
import { Drawer as be, DrawerClose as Ce, DrawerContent as Te, DrawerDescription as ce, DrawerFooter as De, DrawerHeader as se, DrawerOverlay as xe, DrawerPortal as Me, DrawerTitle as fe, DrawerTrigger as we } from "./components/ui/drawer.es.js";
|
|
14
|
+
import { DropdownMenu as Pe, DropdownMenuCheckboxItem as he, DropdownMenuContent as ve, DropdownMenuGroup as Fe, DropdownMenuItem as Le, DropdownMenuLabel as Be, DropdownMenuPortal as Ge, DropdownMenuRadioGroup as Ae, DropdownMenuRadioItem as Ne, DropdownMenuSeparator as He, DropdownMenuShortcut as ke, DropdownMenuSub as ye, DropdownMenuSubContent as Oe, DropdownMenuSubTrigger as Re, DropdownMenuTrigger as Ve } from "./components/ui/dropdown-menu.es.js";
|
|
15
|
+
import { Form as Ue, FormControl as je, FormDescription as qe, FormField as ze, FormItem as Je, FormLabel as Ke, FormMessage as Qe, useFormField as We } from "./components/ui/form.es.js";
|
|
16
|
+
import { Input as Ye } from "./components/ui/input.es.js";
|
|
17
|
+
import { InputOTP as _e, InputOTPGroup as $e, InputOTPSeparator as eo, InputOTPSlot as oo } from "./components/ui/input-otp.es.js";
|
|
18
|
+
import { Label as to } from "./components/ui/label.es.js";
|
|
19
|
+
import { Loader as no } from "./components/ui/loader.es.js";
|
|
20
|
+
import { NavigationMenu as po, NavigationMenuContent as lo, NavigationMenuIndicator as mo, NavigationMenuItem as uo, NavigationMenuLink as So, NavigationMenuList as go, NavigationMenuListItem as bo, NavigationMenuTrigger as Co, NavigationMenuViewport as To, navigationMenuTriggerStyle as co } from "./components/ui/navigation-menu.es.js";
|
|
21
|
+
import { Pagination as so, PaginationContent as xo, PaginationEllipsis as Mo, PaginationItem as fo, PaginationLink as wo, PaginationNext as Io, PaginationPrevious as Po } from "./components/ui/pagination.es.js";
|
|
22
|
+
import { PasswordInput as vo } from "./components/ui/password-input.es.js";
|
|
23
|
+
import { Popover as Lo, PopoverAnchor as Bo, PopoverContent as Go, PopoverTrigger as Ao } from "./components/ui/popover.es.js";
|
|
24
|
+
import { RadioGroup as Ho, RadioGroupItem as ko } from "./components/ui/radio-group.es.js";
|
|
25
|
+
import { Select as Oo, SelectContent as Ro, SelectGroup as Vo, SelectItem as Eo, SelectLabel as Uo, SelectScrollDownButton as jo, SelectScrollUpButton as qo, SelectSeparator as zo, SelectTrigger as Jo, SelectValue as Ko } from "./components/ui/select.es.js";
|
|
26
|
+
import { Separator as Wo } from "./components/ui/separator.es.js";
|
|
27
|
+
import { Sheet as Yo, SheetClose as Zo, SheetContent as _o, SheetDescription as $o, SheetFooter as er, SheetHeader as or, SheetOverlay as rr, SheetPortal as tr, SheetTitle as ar, SheetTrigger as nr } from "./components/ui/sheet.es.js";
|
|
28
|
+
import { Sidebar as pr, SidebarContent as dr, SidebarFooter as lr, SidebarGroup as mr, SidebarGroupAction as ur, SidebarGroupContent as Sr, SidebarGroupLabel as gr, SidebarHeader as br, SidebarInput as Cr, SidebarInset as Tr, SidebarMenu as cr, SidebarMenuAction as Dr, SidebarMenuBadge as sr, SidebarMenuButton as xr, SidebarMenuItem as Mr, SidebarMenuSkeleton as fr, SidebarMenuSub as wr, SidebarMenuSubButton as Ir, SidebarMenuSubItem as Pr, SidebarProvider as hr, SidebarRail as vr, SidebarSeparator as Fr, SidebarTrigger as Lr, useSidebar as Br } from "./components/ui/sidebar.es.js";
|
|
29
|
+
import { Skeleton as Ar } from "./components/ui/skeleton.es.js";
|
|
30
|
+
import { Toaster as Hr } from "./components/ui/sonner.es.js";
|
|
31
|
+
import { Table as yr, TableBody as Or, TableCaption as Rr, TableCell as Vr, TableFooter as Er, TableHead as Ur, TableHeader as jr, TableRow as qr } from "./components/ui/table.es.js";
|
|
32
|
+
import { Tabs as Jr, TabsContent as Kr, TabsList as Qr, TabsTrigger as Wr } from "./components/ui/tabs.es.js";
|
|
33
|
+
import { Tooltip as Yr, TooltipContent as Zr, TooltipProvider as _r, TooltipTrigger as $r } from "./components/ui/tooltip.es.js";
|
|
34
|
+
import { useIsMobile as ot } from "./hooks/use-mobile.es.js";
|
|
35
|
+
import { cn as tt, getThemeHue as at, setThemeHue as nt } from "./utils/index.es.js";
|
|
32
36
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
x as
|
|
48
|
-
f as
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
37
|
+
r as Accordion,
|
|
38
|
+
t as AccordionContent,
|
|
39
|
+
a as AccordionItem,
|
|
40
|
+
n as AccordionTrigger,
|
|
41
|
+
p as Avatar,
|
|
42
|
+
d as AvatarFallback,
|
|
43
|
+
l as AvatarImage,
|
|
44
|
+
u as Badge,
|
|
45
|
+
b as Breadcrumb,
|
|
46
|
+
C as BreadcrumbEllipsis,
|
|
47
|
+
T as BreadcrumbItem,
|
|
48
|
+
c as BreadcrumbLink,
|
|
49
|
+
D as BreadcrumbList,
|
|
50
|
+
s as BreadcrumbPage,
|
|
51
|
+
x as BreadcrumbSeparator,
|
|
52
|
+
f as Button,
|
|
53
|
+
P as Calendar,
|
|
54
|
+
v as Card,
|
|
55
|
+
F as CardContent,
|
|
56
|
+
L as CardDescription,
|
|
57
|
+
B as CardFooter,
|
|
58
|
+
G as CardHeader,
|
|
59
|
+
A as CardTitle,
|
|
60
|
+
H as ChartContainer,
|
|
61
|
+
k as ChartLegend,
|
|
62
|
+
y as ChartLegendContent,
|
|
63
|
+
O as ChartStyle,
|
|
64
|
+
R as ChartTooltip,
|
|
65
|
+
V as ChartTooltipContent,
|
|
66
|
+
U as Checkbox,
|
|
67
|
+
q as Collapsible,
|
|
68
|
+
z as CollapsibleContent,
|
|
69
|
+
J as CollapsibleTrigger,
|
|
70
|
+
Q as Command,
|
|
71
|
+
W as CommandDialog,
|
|
72
|
+
X as CommandEmpty,
|
|
73
|
+
Y as CommandGroup,
|
|
74
|
+
Z as CommandInput,
|
|
75
|
+
_ as CommandItem,
|
|
76
|
+
$ as CommandList,
|
|
77
|
+
ee as CommandSeparator,
|
|
78
|
+
oe as CommandShortcut,
|
|
79
|
+
te as Dialog,
|
|
80
|
+
ae as DialogClose,
|
|
81
|
+
ne as DialogContent,
|
|
82
|
+
ie as DialogDescription,
|
|
83
|
+
pe as DialogFooter,
|
|
84
|
+
de as DialogHeader,
|
|
85
|
+
le as DialogOverlay,
|
|
86
|
+
me as DialogPortal,
|
|
87
|
+
ue as DialogTitle,
|
|
88
|
+
Se as DialogTrigger,
|
|
89
|
+
be as Drawer,
|
|
90
|
+
Ce as DrawerClose,
|
|
91
|
+
Te as DrawerContent,
|
|
92
|
+
ce as DrawerDescription,
|
|
93
|
+
De as DrawerFooter,
|
|
94
|
+
se as DrawerHeader,
|
|
95
|
+
xe as DrawerOverlay,
|
|
96
|
+
Me as DrawerPortal,
|
|
97
|
+
fe as DrawerTitle,
|
|
98
|
+
we as DrawerTrigger,
|
|
99
|
+
Pe as DropdownMenu,
|
|
100
|
+
he as DropdownMenuCheckboxItem,
|
|
101
|
+
ve as DropdownMenuContent,
|
|
102
|
+
Fe as DropdownMenuGroup,
|
|
103
|
+
Le as DropdownMenuItem,
|
|
104
|
+
Be as DropdownMenuLabel,
|
|
105
|
+
Ge as DropdownMenuPortal,
|
|
106
|
+
Ae as DropdownMenuRadioGroup,
|
|
107
|
+
Ne as DropdownMenuRadioItem,
|
|
108
|
+
He as DropdownMenuSeparator,
|
|
109
|
+
ke as DropdownMenuShortcut,
|
|
110
|
+
ye as DropdownMenuSub,
|
|
111
|
+
Oe as DropdownMenuSubContent,
|
|
112
|
+
Re as DropdownMenuSubTrigger,
|
|
113
|
+
Ve as DropdownMenuTrigger,
|
|
114
|
+
Ue as Form,
|
|
115
|
+
je as FormControl,
|
|
116
|
+
qe as FormDescription,
|
|
117
|
+
ze as FormField,
|
|
118
|
+
Je as FormItem,
|
|
119
|
+
Ke as FormLabel,
|
|
120
|
+
Qe as FormMessage,
|
|
121
|
+
Ye as Input,
|
|
122
|
+
_e as InputOTP,
|
|
123
|
+
$e as InputOTPGroup,
|
|
124
|
+
eo as InputOTPSeparator,
|
|
125
|
+
oo as InputOTPSlot,
|
|
126
|
+
to as Label,
|
|
127
|
+
no as Loader,
|
|
128
|
+
po as NavigationMenu,
|
|
129
|
+
lo as NavigationMenuContent,
|
|
130
|
+
mo as NavigationMenuIndicator,
|
|
131
|
+
uo as NavigationMenuItem,
|
|
132
|
+
So as NavigationMenuLink,
|
|
133
|
+
go as NavigationMenuList,
|
|
134
|
+
bo as NavigationMenuListItem,
|
|
135
|
+
Co as NavigationMenuTrigger,
|
|
136
|
+
To as NavigationMenuViewport,
|
|
137
|
+
so as Pagination,
|
|
138
|
+
xo as PaginationContent,
|
|
139
|
+
Mo as PaginationEllipsis,
|
|
140
|
+
fo as PaginationItem,
|
|
141
|
+
wo as PaginationLink,
|
|
142
|
+
Io as PaginationNext,
|
|
143
|
+
Po as PaginationPrevious,
|
|
144
|
+
vo as PasswordInput,
|
|
145
|
+
Lo as Popover,
|
|
146
|
+
Bo as PopoverAnchor,
|
|
147
|
+
Go as PopoverContent,
|
|
148
|
+
Ao as PopoverTrigger,
|
|
149
|
+
Ho as RadioGroup,
|
|
150
|
+
ko as RadioGroupItem,
|
|
151
|
+
Oo as Select,
|
|
152
|
+
Ro as SelectContent,
|
|
153
|
+
Vo as SelectGroup,
|
|
154
|
+
Eo as SelectItem,
|
|
155
|
+
Uo as SelectLabel,
|
|
156
|
+
jo as SelectScrollDownButton,
|
|
157
|
+
qo as SelectScrollUpButton,
|
|
158
|
+
zo as SelectSeparator,
|
|
159
|
+
Jo as SelectTrigger,
|
|
160
|
+
Ko as SelectValue,
|
|
161
|
+
Wo as Separator,
|
|
162
|
+
Yo as Sheet,
|
|
163
|
+
Zo as SheetClose,
|
|
164
|
+
_o as SheetContent,
|
|
165
|
+
$o as SheetDescription,
|
|
166
|
+
er as SheetFooter,
|
|
167
|
+
or as SheetHeader,
|
|
168
|
+
rr as SheetOverlay,
|
|
169
|
+
tr as SheetPortal,
|
|
170
|
+
ar as SheetTitle,
|
|
171
|
+
nr as SheetTrigger,
|
|
172
|
+
pr as Sidebar,
|
|
173
|
+
dr as SidebarContent,
|
|
174
|
+
lr as SidebarFooter,
|
|
175
|
+
mr as SidebarGroup,
|
|
176
|
+
ur as SidebarGroupAction,
|
|
177
|
+
Sr as SidebarGroupContent,
|
|
178
|
+
gr as SidebarGroupLabel,
|
|
179
|
+
br as SidebarHeader,
|
|
180
|
+
Cr as SidebarInput,
|
|
181
|
+
Tr as SidebarInset,
|
|
182
|
+
cr as SidebarMenu,
|
|
183
|
+
Dr as SidebarMenuAction,
|
|
184
|
+
sr as SidebarMenuBadge,
|
|
185
|
+
xr as SidebarMenuButton,
|
|
186
|
+
Mr as SidebarMenuItem,
|
|
187
|
+
fr as SidebarMenuSkeleton,
|
|
188
|
+
wr as SidebarMenuSub,
|
|
189
|
+
Ir as SidebarMenuSubButton,
|
|
190
|
+
Pr as SidebarMenuSubItem,
|
|
191
|
+
hr as SidebarProvider,
|
|
192
|
+
vr as SidebarRail,
|
|
193
|
+
Fr as SidebarSeparator,
|
|
194
|
+
Lr as SidebarTrigger,
|
|
195
|
+
Ar as Skeleton,
|
|
196
|
+
yr as Table,
|
|
197
|
+
Or as TableBody,
|
|
198
|
+
Rr as TableCaption,
|
|
199
|
+
Vr as TableCell,
|
|
200
|
+
Er as TableFooter,
|
|
201
|
+
Ur as TableHead,
|
|
202
|
+
jr as TableHeader,
|
|
203
|
+
qr as TableRow,
|
|
204
|
+
Jr as Tabs,
|
|
205
|
+
Kr as TabsContent,
|
|
206
|
+
Qr as TabsList,
|
|
207
|
+
Wr as TabsTrigger,
|
|
208
|
+
Hr as Toaster,
|
|
209
|
+
Yr as Tooltip,
|
|
210
|
+
Zr as TooltipContent,
|
|
211
|
+
_r as TooltipProvider,
|
|
212
|
+
$r as TooltipTrigger,
|
|
213
|
+
S as badgeVariants,
|
|
214
|
+
w as buttonVariants,
|
|
215
|
+
tt as cn,
|
|
216
|
+
at as getThemeHue,
|
|
217
|
+
co as navigationMenuTriggerStyle,
|
|
218
|
+
nt as setThemeHue,
|
|
219
|
+
We as useFormField,
|
|
220
|
+
ot as useIsMobile,
|
|
221
|
+
Br as useSidebar
|
|
195
222
|
};
|
|
196
223
|
//# sourceMappingURL=index.es.js.map
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/utils/index.es.js
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
import { clsx as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { clsx as n } from "clsx";
|
|
2
|
+
function r(...e) {
|
|
3
|
+
return n(e);
|
|
4
|
+
}
|
|
5
|
+
const t = "--primary-hue";
|
|
6
|
+
function u() {
|
|
7
|
+
return document.documentElement.style.getPropertyValue(t);
|
|
8
|
+
}
|
|
9
|
+
function m(e) {
|
|
10
|
+
document.documentElement.style.setProperty(
|
|
11
|
+
t,
|
|
12
|
+
// In this case, it must be a number.
|
|
13
|
+
e
|
|
14
|
+
);
|
|
5
15
|
}
|
|
6
16
|
export {
|
|
7
|
-
|
|
17
|
+
r as cn,
|
|
18
|
+
u as getThemeHue,
|
|
19
|
+
m as setThemeHue
|
|
8
20
|
};
|
|
9
21
|
//# sourceMappingURL=index.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../lib/utils/index.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../lib/utils/index.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\n\nexport function cn(...inputs: ClassValue[]) {\n return (clsx(inputs))\n}\n\nconst PRIMARY_HUE_PROPERTY = '--primary-hue';\n\n/**\n * \n * @returns \n */\nexport function getThemeHue() {\n return document.documentElement.style.getPropertyValue(PRIMARY_HUE_PROPERTY);\n}\n\n/**\n * @param hue the hue value to set in the document style\n */\nexport function setThemeHue(hue: number) {\n document.documentElement.style.setProperty(\n PRIMARY_HUE_PROPERTY,\n // In this case, it must be a number.\n hue as unknown as string\n );\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue"],"mappings":";AAEO,SAASA,KAAMC,GAAsB;AAC1C,SAAQC,EAAKD,CAAM;AACrB;AAEA,MAAME,IAAuB;AAMtB,SAASC,IAAc;AAC5B,SAAO,SAAS,gBAAgB,MAAM,iBAAiBD,CAAoB;AAC7E;AAKO,SAASE,EAAYC,GAAa;AACvC,WAAS,gBAAgB,MAAM;AAAA,IAC7BH;AAAA;AAAA,IAEAG;AAAA,EACF;AACF;"}
|
package/lib/index.css
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
@tailwind utilities;
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
/*
|
|
7
|
+
/* shad/cn tokens */
|
|
8
8
|
--background: var(--neutral-1);
|
|
9
9
|
--foreground: var(--neutral-10);
|
|
10
10
|
|
|
11
|
-
--card: var(--
|
|
11
|
+
--card: var(--neutral-2);
|
|
12
12
|
--card-foreground: var(--foreground);
|
|
13
13
|
--popover: var(--background);
|
|
14
14
|
--popover-foreground: var(--foreground);
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
|
|
55
55
|
--sidebar-border: 220 13% 91%;
|
|
56
56
|
--sidebar-ring: 217.2 91.2% 59.8%;
|
|
57
|
+
|
|
58
|
+
/** Grid Tokens */
|
|
59
|
+
--grid-fluid-min: 16rem;
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
@layer base {
|
|
@@ -66,32 +69,32 @@
|
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
h1 {
|
|
69
|
-
@apply text-heading-1
|
|
72
|
+
@apply text-heading-1;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
h2 {
|
|
73
|
-
@apply text-heading-2
|
|
76
|
+
@apply text-heading-2;
|
|
74
77
|
}
|
|
75
78
|
|
|
76
79
|
h3 {
|
|
77
|
-
@apply text-heading-3
|
|
80
|
+
@apply text-heading-3;
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
h4 {
|
|
81
|
-
@apply text-heading-4
|
|
84
|
+
@apply text-heading-4;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
h5 {
|
|
85
|
-
@apply text-heading-5
|
|
88
|
+
@apply text-heading-5;
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
h6 {
|
|
89
|
-
@apply text-heading-6
|
|
92
|
+
@apply text-heading-6;
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
p {
|
|
93
|
-
@apply text-body
|
|
94
|
-
}
|
|
96
|
+
@apply text-body;
|
|
97
|
+
}
|
|
95
98
|
|
|
96
99
|
body {
|
|
97
100
|
@apply bg-background text-foreground;
|
package/lib/tokens.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
This CSS is generated by tokens.
|
|
2
|
+
This CSS is generated by tokens.scss, do not modify directly.
|
|
3
3
|
Instead, compile the SCSS file again to create modifications.
|
|
4
4
|
*/
|
|
5
5
|
:root {
|
|
6
6
|
--primary-hue: 240;
|
|
7
|
-
--xprimary-1: 0.99 0.
|
|
7
|
+
--xprimary-1: 0.99 0.01 var(--primary-hue);
|
|
8
8
|
--xprimary-2: 0.97 0.03 var(--primary-hue);
|
|
9
9
|
--xprimary-3: 0.9 0.04 var(--primary-hue);
|
|
10
10
|
--xprimary-4: 0.72 0.13 var(--primary-hue);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--primary-9: var(--xprimary-9);
|
|
26
26
|
--primary-10: var(--xprimary-10);
|
|
27
27
|
--secondary-hue: calc(var(--primary-hue) + 60);
|
|
28
|
-
--xsecondary-1: 0.99 0.
|
|
28
|
+
--xsecondary-1: 0.99 0.01 var(--secondary-hue);
|
|
29
29
|
--xsecondary-2: 0.97 0.03 var(--secondary-hue);
|
|
30
30
|
--xsecondary-3: 0.9 0.04 var(--secondary-hue);
|
|
31
31
|
--xsecondary-4: 0.72 0.13 var(--secondary-hue);
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
--secondary-9: var(--xsecondary-9);
|
|
47
47
|
--secondary-10: var(--xsecondary-10);
|
|
48
48
|
--destructive-hue: 10;
|
|
49
|
-
--xdestructive-1: 0.99 0.
|
|
49
|
+
--xdestructive-1: 0.99 0.01 var(--destructive-hue);
|
|
50
50
|
--xdestructive-2: 0.97 0.03 var(--destructive-hue);
|
|
51
51
|
--xdestructive-3: 0.9 0.04 var(--destructive-hue);
|
|
52
52
|
--xdestructive-4: 0.72 0.13 var(--destructive-hue);
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
--destructive-9: var(--xdestructive-9);
|
|
68
68
|
--destructive-10: var(--xdestructive-10);
|
|
69
69
|
--success-hue: 152;
|
|
70
|
-
--xsuccess-1: 0.99 0.
|
|
70
|
+
--xsuccess-1: 0.99 0.01 var(--success-hue);
|
|
71
71
|
--xsuccess-2: 0.97 0.03 var(--success-hue);
|
|
72
72
|
--xsuccess-3: 0.9 0.04 var(--success-hue);
|
|
73
73
|
--xsuccess-4: 0.72 0.13 var(--success-hue);
|
|
@@ -109,15 +109,15 @@
|
|
|
109
109
|
--neutral-8: var(--xneutral-8);
|
|
110
110
|
--neutral-9: var(--xneutral-9);
|
|
111
111
|
--neutral-10: var(--xneutral-10);
|
|
112
|
-
/*
|
|
113
|
-
|
|
114
|
-
--
|
|
115
|
-
|
|
116
|
-
--
|
|
117
|
-
--
|
|
118
|
-
--
|
|
119
|
-
--
|
|
120
|
-
--
|
|
112
|
+
/* https://www.fluid-type-scale.com/, https://fluidtypography.com/ */
|
|
113
|
+
--font-xs: clamp(0.52rem, 0.08vi + 0.5rem, 0.56rem);
|
|
114
|
+
--font-sm: clamp(0.65rem, 0.18vi + 0.6rem, 0.75rem);
|
|
115
|
+
--font-base: clamp(0.81rem, 0.34vi + 0.73rem, 1rem);
|
|
116
|
+
--font-md: clamp(1.02rem, 0.58vi + 0.87rem, 1.33rem);
|
|
117
|
+
--font-lg: clamp(1.27rem, 0.92vi + 1.04rem, 1.78rem);
|
|
118
|
+
--font-xl: clamp(1.59rem, 1.42vi + 1.23rem, 2.37rem);
|
|
119
|
+
--font-2xl: clamp(1.98rem, 2.13vi + 1.45rem, 3.16rem);
|
|
120
|
+
--font-3xl: clamp(2.48rem, 3.14vi + 1.69rem, 4.21rem);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.dark {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptlex/web-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "React component library for Cryptlex web applications",
|
|
5
5
|
"author": "Cryptlex",
|
|
6
6
|
"type": "module",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@radix-ui/react-accordion": "^1.2.1",
|
|
46
|
+
"@radix-ui/react-avatar": "^1.1.1",
|
|
46
47
|
"@radix-ui/react-checkbox": "^1.1.2",
|
|
47
48
|
"@radix-ui/react-collapsible": "^1.1.1",
|
|
48
49
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
@@ -56,21 +57,23 @@
|
|
|
56
57
|
"@radix-ui/react-separator": "^1.1.0",
|
|
57
58
|
"@radix-ui/react-slot": "^1.1.0",
|
|
58
59
|
"@radix-ui/react-tooltip": "^1.1.3",
|
|
59
|
-
"
|
|
60
|
+
"@radix-ui/react-tabs": "^1.1.1",
|
|
60
61
|
"@tanstack/react-table": "^8.20.5",
|
|
61
62
|
"class-variance-authority": "^0.7.0",
|
|
62
63
|
"clsx": "^2.1.1",
|
|
63
64
|
"cmdk": "1.0.0",
|
|
64
65
|
"date-fns": "^3.0.0",
|
|
66
|
+
"input-otp": "^1.4.1",
|
|
65
67
|
"lucide-react": "^0.453.0",
|
|
66
68
|
"react": "^18.3.1",
|
|
67
69
|
"react-day-picker": "8.10.1",
|
|
68
70
|
"react-dom": "^18.3.1",
|
|
69
71
|
"react-hook-form": "^7.53.1",
|
|
70
72
|
"recharts": "^2.13.0",
|
|
71
|
-
"
|
|
73
|
+
"sonner": "^1.7.0",
|
|
72
74
|
"tailwindcss": "^3.4.14",
|
|
73
|
-
"tailwindcss-animate": "^1.0.7"
|
|
75
|
+
"tailwindcss-animate": "^1.0.7",
|
|
76
|
+
"vaul": "^1.1.1"
|
|
74
77
|
},
|
|
75
78
|
"devDependencies": {
|
|
76
79
|
"@eslint/js": "^9.11.1",
|