@cryptlex/web-components 1.4.0 → 1.5.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/README.md +4 -13
- package/dist/components/data-table/column-picker.es.js +3 -4
- package/dist/components/data-table/column-picker.es.js.map +1 -1
- package/dist/components/data-table/data-table.es.js +84 -83
- package/dist/components/data-table/data-table.es.js.map +1 -1
- package/dist/components/data-table/page-size.es.js +5 -5
- package/dist/components/data-table/page-size.es.js.map +1 -1
- package/dist/components/data-table/paginator.es.js +25 -31
- package/dist/components/data-table/paginator.es.js.map +1 -1
- package/dist/components/data-table/table-actions.es.js +26 -27
- package/dist/components/data-table/table-actions.es.js.map +1 -1
- package/dist/components/data-table/table-commons.es.js +5 -4
- package/dist/components/data-table/table-commons.es.js.map +1 -1
- package/dist/components/data-table/table-content.es.js +34 -31
- package/dist/components/data-table/table-content.es.js.map +1 -1
- package/dist/components/data-table/table-filter.es.js +42 -45
- package/dist/components/data-table/table-filter.es.js.map +1 -1
- package/dist/components/key-value-card/key-value-card.es.js +17 -14
- package/dist/components/key-value-card/key-value-card.es.js.map +1 -1
- package/dist/components/sidebar/app-layout.es.js +11 -15
- package/dist/components/sidebar/app-layout.es.js.map +1 -1
- package/dist/components/sidebar/breadcrumb.es.js +2 -3
- package/dist/components/sidebar/breadcrumb.es.js.map +1 -1
- package/dist/components/sidebar/nav-main.es.js +18 -18
- package/dist/components/sidebar/nav-main.es.js.map +1 -1
- package/dist/components/static-data-table/data-table.es.js +14 -14
- package/dist/components/static-data-table/data-table.es.js.map +1 -1
- package/dist/components/ui/accordion.es.js +9 -9
- package/dist/components/ui/accordion.es.js.map +1 -1
- package/dist/components/ui/avatar.es.js +16 -16
- package/dist/components/ui/avatar.es.js.map +1 -1
- package/dist/components/ui/badge.es.js +5 -24
- package/dist/components/ui/badge.es.js.map +1 -1
- package/dist/components/ui/breadcrumb.es.js +10 -10
- package/dist/components/ui/breadcrumb.es.js.map +1 -1
- package/dist/components/ui/button.es.js +17 -18
- package/dist/components/ui/button.es.js.map +1 -1
- package/dist/components/ui/calendar.es.js +8 -8
- package/dist/components/ui/calendar.es.js.map +1 -1
- package/dist/components/ui/card.es.js +21 -21
- package/dist/components/ui/card.es.js.map +1 -1
- package/dist/components/ui/chart.es.js +76 -102
- package/dist/components/ui/chart.es.js.map +1 -1
- package/dist/components/ui/checkbox.es.js +13 -19
- package/dist/components/ui/checkbox.es.js.map +1 -1
- package/dist/components/ui/command.es.js +4 -4
- package/dist/components/ui/command.es.js.map +1 -1
- package/dist/components/ui/copy-button.es.js +20 -34
- package/dist/components/ui/copy-button.es.js.map +1 -1
- package/dist/components/ui/dialog.es.js +32 -32
- package/dist/components/ui/dialog.es.js.map +1 -1
- package/dist/components/ui/drawer.es.js +2 -2
- package/dist/components/ui/drawer.es.js.map +1 -1
- package/dist/components/ui/dropdown-menu.es.js +74 -82
- package/dist/components/ui/dropdown-menu.es.js.map +1 -1
- package/dist/components/ui/input-otp.es.js +17 -17
- package/dist/components/ui/input-otp.es.js.map +1 -1
- package/dist/components/ui/input.es.js +7 -7
- package/dist/components/ui/input.es.js.map +1 -1
- package/dist/components/ui/link-button.es.js +6 -6
- package/dist/components/ui/link-button.es.js.map +1 -1
- package/dist/components/ui/mutli-select.es.js +52 -52
- package/dist/components/ui/mutli-select.es.js.map +1 -1
- package/dist/components/ui/navigation-menu.es.js +34 -34
- package/dist/components/ui/navigation-menu.es.js.map +1 -1
- package/dist/components/ui/pagination.es.js +38 -38
- package/dist/components/ui/pagination.es.js.map +1 -1
- package/dist/components/ui/password-input.es.js +13 -13
- package/dist/components/ui/password-input.es.js.map +1 -1
- package/dist/components/ui/radio-group.es.js +11 -11
- package/dist/components/ui/radio-group.es.js.map +1 -1
- package/dist/components/ui/search-input.es.js +11 -11
- package/dist/components/ui/search-input.es.js.map +1 -1
- package/dist/components/ui/select.es.js +31 -49
- package/dist/components/ui/select.es.js.map +1 -1
- package/dist/components/ui/sheet.es.js +17 -17
- package/dist/components/ui/sheet.es.js.map +1 -1
- package/dist/components/ui/sidebar.es.js +2 -3
- package/dist/components/ui/sidebar.es.js.map +1 -1
- package/dist/components/ui/table-page-layout.es.js +2 -2
- package/dist/components/ui/table-page-layout.es.js.map +1 -1
- package/dist/components/ui/table.es.js +37 -37
- package/dist/components/ui/table.es.js.map +1 -1
- package/dist/components/ui/tabs.es.js +2 -2
- package/dist/components/ui/tabs.es.js.map +1 -1
- 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 +29 -54
- package/dist/index.es.js +253 -256
- package/dist/utils/index.es.js.map +1 -1
- package/lib/index.css +24 -5
- package/lib/tailwind.preset.css +52 -40
- package/lib/tokens.css +0 -9
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,275 +1,272 @@
|
|
|
1
1
|
import { Accordion as t, AccordionContent as a, AccordionItem as n, AccordionTrigger as i } from "./components/ui/accordion.es.js";
|
|
2
2
|
import { Avatar as m, AvatarFallback as l, AvatarImage as d } from "./components/ui/avatar.es.js";
|
|
3
|
-
import { Badge as S
|
|
4
|
-
import { Breadcrumb as
|
|
5
|
-
import { Button as
|
|
6
|
-
import { Calendar as
|
|
7
|
-
import { Card as
|
|
8
|
-
import { ChartContainer as
|
|
9
|
-
import { Checkbox as
|
|
10
|
-
import { Collapsible as
|
|
11
|
-
import { Command as
|
|
12
|
-
import { CopyButton as
|
|
13
|
-
import { Dialog as
|
|
14
|
-
import { Drawer as
|
|
15
|
-
import { DropdownMenu as
|
|
16
|
-
import { Form as
|
|
17
|
-
import { Input as
|
|
18
|
-
import { InputOTP as
|
|
19
|
-
import { Label as
|
|
20
|
-
import { LinkButton as
|
|
21
|
-
import { Loader as
|
|
3
|
+
import { Badge as S } from "./components/ui/badge.es.js";
|
|
4
|
+
import { Breadcrumb as g, BreadcrumbEllipsis as C, BreadcrumbItem as b, BreadcrumbLink as D, BreadcrumbList as x, BreadcrumbPage as f, BreadcrumbSeparator as c } from "./components/ui/breadcrumb.es.js";
|
|
5
|
+
import { Button as M, buttonVariants as I } from "./components/ui/button.es.js";
|
|
6
|
+
import { Calendar as P } from "./components/ui/calendar.es.js";
|
|
7
|
+
import { Card as O, CardContent as A, CardDescription as F, CardFooter as _, CardHeader as w, CardTitle as R } from "./components/ui/card.es.js";
|
|
8
|
+
import { ChartContainer as B, ChartLegend as N, ChartLegendContent as h, ChartTooltip as y, ChartTooltipContent as G } from "./components/ui/chart.es.js";
|
|
9
|
+
import { Checkbox as k } from "./components/ui/checkbox.es.js";
|
|
10
|
+
import { Collapsible as V, CollapsibleContent as Y, CollapsibleTrigger as K } from "./components/ui/collapsible.es.js";
|
|
11
|
+
import { Command as X, CommandDialog as j, CommandEmpty as q, CommandGroup as J, CommandInput as Q, CommandItem as W, CommandList as Z, CommandSeparator as $, CommandShortcut as ee } from "./components/ui/command.es.js";
|
|
12
|
+
import { COPY_BUTTON_STATE_TIMEOUT as re, CopyButton as te } from "./components/ui/copy-button.es.js";
|
|
13
|
+
import { Dialog as ne, DialogClose as ie, DialogContent as pe, DialogDescription as me, DialogFooter as le, DialogHeader as de, DialogOverlay as ue, DialogPortal as Se, DialogTitle as Te, DialogTrigger as ge } from "./components/ui/dialog.es.js";
|
|
14
|
+
import { Drawer as be, DrawerClose as De, DrawerContent as xe, DrawerDescription as fe, DrawerFooter as ce, DrawerHeader as se, DrawerOverlay as Me, DrawerPortal as Ie, DrawerTitle as Le, DrawerTrigger as Pe } from "./components/ui/drawer.es.js";
|
|
15
|
+
import { DropdownMenu as Oe, DropdownMenuCheckboxItem as Ae, DropdownMenuContent as Fe, DropdownMenuGroup as _e, DropdownMenuItem as we, DropdownMenuLabel as Re, DropdownMenuPortal as ve, DropdownMenuRadioGroup as Be, DropdownMenuRadioItem as Ne, DropdownMenuShortcut as he, DropdownMenuSub as ye, DropdownMenuSubContent as Ge, DropdownMenuSubTrigger as Ue, DropdownMenuTrigger as ke } from "./components/ui/dropdown-menu.es.js";
|
|
16
|
+
import { Form as Ve, FormControl as Ye, FormDescription as Ke, FormField as ze, FormItem as Xe, FormLabel as je, FormMessage as qe, useFormField as Je } from "./components/ui/form.es.js";
|
|
17
|
+
import { Input as We } from "./components/ui/input.es.js";
|
|
18
|
+
import { InputOTP as $e, InputOTPGroup as eo, InputOTPSeparator as oo, InputOTPSlot as ro } from "./components/ui/input-otp.es.js";
|
|
19
|
+
import { Label as ao } from "./components/ui/label.es.js";
|
|
20
|
+
import { LinkButton as io } from "./components/ui/link-button.es.js";
|
|
21
|
+
import { Loader as mo } from "./components/ui/loader.es.js";
|
|
22
22
|
import "./components/ui/mutli-select.es.js";
|
|
23
|
-
import { NavigationMenu as
|
|
24
|
-
import { Pagination as
|
|
25
|
-
import { PasswordInput as
|
|
26
|
-
import { Popover as
|
|
27
|
-
import { RadioGroup as
|
|
28
|
-
import { SearchInput as
|
|
29
|
-
import { Select as
|
|
30
|
-
import { Separator as
|
|
31
|
-
import { Sheet as
|
|
32
|
-
import { Sidebar as
|
|
33
|
-
import { Skeleton as
|
|
34
|
-
import { Toaster as
|
|
35
|
-
import { Table as
|
|
36
|
-
import { Tabs as
|
|
37
|
-
import { Tooltip as
|
|
38
|
-
import { TablePageLayout as
|
|
39
|
-
import { useIsMobile as
|
|
40
|
-
import { cn as
|
|
41
|
-
import { DataTable as
|
|
42
|
-
import {
|
|
43
|
-
import { ALL_OS as
|
|
44
|
-
import { createTableFetchFn as
|
|
45
|
-
import { FormatDate as
|
|
46
|
-
import { getLinkDisplay as
|
|
47
|
-
import { convertCamelCaseToTitleCase as
|
|
48
|
-
import { DYNAMIC_INPUT_TARGET as
|
|
49
|
-
import { KeyValueCard as
|
|
50
|
-
import { AppLayout as
|
|
51
|
-
import { NavMain as
|
|
52
|
-
import { SideBar as
|
|
53
|
-
import { StaticDataTable as
|
|
23
|
+
import { NavigationMenu as uo, NavigationMenuContent as So, NavigationMenuIndicator as To, NavigationMenuItem as go, NavigationMenuLink as Co, NavigationMenuList as bo, NavigationMenuListItem as Do, NavigationMenuTrigger as xo, NavigationMenuViewport as fo, navigationMenuTriggerStyle as co } from "./components/ui/navigation-menu.es.js";
|
|
24
|
+
import { Pagination as Mo, PaginationContent as Io, PaginationEllipsis as Lo, PaginationItem as Po, PaginationLink as Eo, PaginationNext as Oo, PaginationPrevious as Ao } from "./components/ui/pagination.es.js";
|
|
25
|
+
import { PasswordInput as _o } from "./components/ui/password-input.es.js";
|
|
26
|
+
import { Popover as Ro, PopoverAnchor as vo, PopoverContent as Bo, PopoverTrigger as No } from "./components/ui/popover.es.js";
|
|
27
|
+
import { RadioGroup as yo, RadioGroupItem as Go } from "./components/ui/radio-group.es.js";
|
|
28
|
+
import { SearchInput as ko } from "./components/ui/search-input.es.js";
|
|
29
|
+
import { Select as Vo, SelectContent as Yo, SelectGroup as Ko, SelectItem as zo, SelectScrollDownButton as Xo, SelectScrollUpButton as jo, SelectTrigger as qo, SelectValue as Jo } from "./components/ui/select.es.js";
|
|
30
|
+
import { Separator as Wo } from "./components/ui/separator.es.js";
|
|
31
|
+
import { Sheet as $o, SheetClose as er, SheetContent as or, SheetDescription as rr, SheetFooter as tr, SheetHeader as ar, SheetOverlay as nr, SheetPortal as ir, SheetTitle as pr, SheetTrigger as mr } from "./components/ui/sheet.es.js";
|
|
32
|
+
import { Sidebar as dr, SidebarContent as ur, SidebarFooter as Sr, SidebarGroup as Tr, SidebarGroupAction as gr, SidebarGroupContent as Cr, SidebarGroupLabel as br, SidebarHeader as Dr, SidebarInput as xr, SidebarInset as fr, SidebarMenu as cr, SidebarMenuAction as sr, SidebarMenuBadge as Mr, SidebarMenuButton as Ir, SidebarMenuItem as Lr, SidebarMenuSkeleton as Pr, SidebarMenuSub as Er, SidebarMenuSubButton as Or, SidebarMenuSubItem as Ar, SidebarProvider as Fr, SidebarRail as _r, SidebarSeparator as wr, SidebarTrigger as Rr, useSidebar as vr } from "./components/ui/sidebar.es.js";
|
|
33
|
+
import { Skeleton as Nr } from "./components/ui/skeleton.es.js";
|
|
34
|
+
import { Toaster as yr } from "./components/ui/sonner.es.js";
|
|
35
|
+
import { Table as Ur, TableBody as kr, TableCaption as Hr, TableCell as Vr, TableFooter as Yr, TableHead as Kr, TableHeader as zr, TableRow as Xr } from "./components/ui/table.es.js";
|
|
36
|
+
import { Tabs as qr, TabsContent as Jr, TabsList as Qr, TabsTrigger as Wr } from "./components/ui/tabs.es.js";
|
|
37
|
+
import { Tooltip as $r, TooltipContent as et, TooltipProvider as ot, TooltipTrigger as rt } from "./components/ui/tooltip.es.js";
|
|
38
|
+
import { TablePageLayout as at } from "./components/ui/table-page-layout.es.js";
|
|
39
|
+
import { useIsMobile as it } from "./hooks/use-mobile.es.js";
|
|
40
|
+
import { cn as mt, getThemeHue as lt, logout as dt, setThemeHue as ut } from "./utils/index.es.js";
|
|
41
|
+
import { ACTIONS_COLUMN_ID as Tt, DataTable as gt } from "./components/data-table/data-table.es.js";
|
|
42
|
+
import { TABLE_CHECK_BOX_COLUMN as bt, TABLE_DEFAULT_DATE_COLUMNS as Dt, TABLE_ID_COLUMN as xt } from "./components/data-table/table-commons.es.js";
|
|
43
|
+
import { ALL_OS as ct, COMPARISON_OPERATOR_LABELS as st, DEFAULT_FILTERABLE_FIELDS as Mt, FILTERABLE_PROPERTY_TYPES as It, FILTER_COMPARISON_OPERATORS as Lt, OPERATORS_FOR_FILTER_TYPE as Pt, RESOURCE_DEFINITIONS as Et, RESOURCE_NAMES as Ot, getLicenseStatus as At, getResourceDisplayName as Ft, getValidityDisplay as _t, getValueFromData as wt, secondsToDuration as Rt } from "./components/data-table/table-utils/constants.es.js";
|
|
44
|
+
import { createTableFetchFn as Bt } from "./components/data-table/table-utils/createTableFetchFn.es.js";
|
|
45
|
+
import { FormatDate as ht } from "./components/data-table/table-utils/date.es.js";
|
|
46
|
+
import { getLinkDisplay as Gt } from "./components/data-table/table-utils/link-display.es.js";
|
|
47
|
+
import { convertCamelCaseToTitleCase as kt, convertToTitleCase as Ht, pluralizeTimes as Vt } from "./components/data-table/table-utils/string.es.js";
|
|
48
|
+
import { DYNAMIC_INPUT_TARGET as Kt } from "./components/data-table/table-utils/types.es.js";
|
|
49
|
+
import { KeyValueCard as Xt } from "./components/key-value-card/key-value-card.es.js";
|
|
50
|
+
import { AppLayout as qt } from "./components/sidebar/app-layout.es.js";
|
|
51
|
+
import { NavMain as Qt } from "./components/sidebar/nav-main.es.js";
|
|
52
|
+
import { SideBar as Zt } from "./components/sidebar/sidebar.es.js";
|
|
53
|
+
import { StaticDataTable as ea } from "./components/static-data-table/data-table.es.js";
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
Tt as ACTIONS_COLUMN_ID,
|
|
56
|
+
ct as ALL_OS,
|
|
56
57
|
t as Accordion,
|
|
57
58
|
a as AccordionContent,
|
|
58
59
|
n as AccordionItem,
|
|
59
60
|
i as AccordionTrigger,
|
|
60
|
-
|
|
61
|
+
qt as AppLayout,
|
|
61
62
|
m as Avatar,
|
|
62
63
|
l as AvatarFallback,
|
|
63
64
|
d as AvatarImage,
|
|
64
65
|
S as Badge,
|
|
65
|
-
|
|
66
|
+
g as Breadcrumb,
|
|
66
67
|
C as BreadcrumbEllipsis,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
V as
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
X as
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
Se as DialogOverlay,
|
|
113
|
-
ge as DialogPortal,
|
|
68
|
+
b as BreadcrumbItem,
|
|
69
|
+
D as BreadcrumbLink,
|
|
70
|
+
x as BreadcrumbList,
|
|
71
|
+
f as BreadcrumbPage,
|
|
72
|
+
c as BreadcrumbSeparator,
|
|
73
|
+
M as Button,
|
|
74
|
+
st as COMPARISON_OPERATOR_LABELS,
|
|
75
|
+
re as COPY_BUTTON_STATE_TIMEOUT,
|
|
76
|
+
P as Calendar,
|
|
77
|
+
O as Card,
|
|
78
|
+
A as CardContent,
|
|
79
|
+
F as CardDescription,
|
|
80
|
+
_ as CardFooter,
|
|
81
|
+
w as CardHeader,
|
|
82
|
+
R as CardTitle,
|
|
83
|
+
B as ChartContainer,
|
|
84
|
+
N as ChartLegend,
|
|
85
|
+
h as ChartLegendContent,
|
|
86
|
+
y as ChartTooltip,
|
|
87
|
+
G as ChartTooltipContent,
|
|
88
|
+
k as Checkbox,
|
|
89
|
+
V as Collapsible,
|
|
90
|
+
Y as CollapsibleContent,
|
|
91
|
+
K as CollapsibleTrigger,
|
|
92
|
+
X as Command,
|
|
93
|
+
j as CommandDialog,
|
|
94
|
+
q as CommandEmpty,
|
|
95
|
+
J as CommandGroup,
|
|
96
|
+
Q as CommandInput,
|
|
97
|
+
W as CommandItem,
|
|
98
|
+
Z as CommandList,
|
|
99
|
+
$ as CommandSeparator,
|
|
100
|
+
ee as CommandShortcut,
|
|
101
|
+
te as CopyButton,
|
|
102
|
+
Mt as DEFAULT_FILTERABLE_FIELDS,
|
|
103
|
+
Kt as DYNAMIC_INPUT_TARGET,
|
|
104
|
+
gt as DataTable,
|
|
105
|
+
ne as Dialog,
|
|
106
|
+
ie as DialogClose,
|
|
107
|
+
pe as DialogContent,
|
|
108
|
+
me as DialogDescription,
|
|
109
|
+
le as DialogFooter,
|
|
110
|
+
de as DialogHeader,
|
|
111
|
+
ue as DialogOverlay,
|
|
112
|
+
Se as DialogPortal,
|
|
114
113
|
Te as DialogTitle,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
He as DropdownMenuSubContent,
|
|
114
|
+
ge as DialogTrigger,
|
|
115
|
+
be as Drawer,
|
|
116
|
+
De as DrawerClose,
|
|
117
|
+
xe as DrawerContent,
|
|
118
|
+
fe as DrawerDescription,
|
|
119
|
+
ce as DrawerFooter,
|
|
120
|
+
se as DrawerHeader,
|
|
121
|
+
Me as DrawerOverlay,
|
|
122
|
+
Ie as DrawerPortal,
|
|
123
|
+
Le as DrawerTitle,
|
|
124
|
+
Pe as DrawerTrigger,
|
|
125
|
+
Oe as DropdownMenu,
|
|
126
|
+
Ae as DropdownMenuCheckboxItem,
|
|
127
|
+
Fe as DropdownMenuContent,
|
|
128
|
+
_e as DropdownMenuGroup,
|
|
129
|
+
we as DropdownMenuItem,
|
|
130
|
+
Re as DropdownMenuLabel,
|
|
131
|
+
ve as DropdownMenuPortal,
|
|
132
|
+
Be as DropdownMenuRadioGroup,
|
|
133
|
+
Ne as DropdownMenuRadioItem,
|
|
134
|
+
he as DropdownMenuShortcut,
|
|
135
|
+
ye as DropdownMenuSub,
|
|
136
|
+
Ge as DropdownMenuSubContent,
|
|
139
137
|
Ue as DropdownMenuSubTrigger,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
$e as
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
io as
|
|
159
|
-
mo as
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
To as
|
|
164
|
-
|
|
165
|
-
Co as
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
wo as PaginationItem,
|
|
138
|
+
ke as DropdownMenuTrigger,
|
|
139
|
+
It as FILTERABLE_PROPERTY_TYPES,
|
|
140
|
+
Lt as FILTER_COMPARISON_OPERATORS,
|
|
141
|
+
Ve as Form,
|
|
142
|
+
Ye as FormControl,
|
|
143
|
+
Ke as FormDescription,
|
|
144
|
+
ze as FormField,
|
|
145
|
+
Xe as FormItem,
|
|
146
|
+
je as FormLabel,
|
|
147
|
+
qe as FormMessage,
|
|
148
|
+
ht as FormatDate,
|
|
149
|
+
We as Input,
|
|
150
|
+
$e as InputOTP,
|
|
151
|
+
eo as InputOTPGroup,
|
|
152
|
+
oo as InputOTPSeparator,
|
|
153
|
+
ro as InputOTPSlot,
|
|
154
|
+
Xt as KeyValueCard,
|
|
155
|
+
ao as Label,
|
|
156
|
+
io as LinkButton,
|
|
157
|
+
mo as Loader,
|
|
158
|
+
Qt as NavMain,
|
|
159
|
+
uo as NavigationMenu,
|
|
160
|
+
So as NavigationMenuContent,
|
|
161
|
+
To as NavigationMenuIndicator,
|
|
162
|
+
go as NavigationMenuItem,
|
|
163
|
+
Co as NavigationMenuLink,
|
|
164
|
+
bo as NavigationMenuList,
|
|
165
|
+
Do as NavigationMenuListItem,
|
|
166
|
+
xo as NavigationMenuTrigger,
|
|
167
|
+
fo as NavigationMenuViewport,
|
|
168
|
+
Pt as OPERATORS_FOR_FILTER_TYPE,
|
|
169
|
+
Mo as Pagination,
|
|
170
|
+
Io as PaginationContent,
|
|
171
|
+
Lo as PaginationEllipsis,
|
|
172
|
+
Po as PaginationItem,
|
|
176
173
|
Eo as PaginationLink,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
$o as
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
Er as
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
Nr as
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
174
|
+
Oo as PaginationNext,
|
|
175
|
+
Ao as PaginationPrevious,
|
|
176
|
+
_o as PasswordInput,
|
|
177
|
+
Ro as Popover,
|
|
178
|
+
vo as PopoverAnchor,
|
|
179
|
+
Bo as PopoverContent,
|
|
180
|
+
No as PopoverTrigger,
|
|
181
|
+
Et as RESOURCE_DEFINITIONS,
|
|
182
|
+
Ot as RESOURCE_NAMES,
|
|
183
|
+
yo as RadioGroup,
|
|
184
|
+
Go as RadioGroupItem,
|
|
185
|
+
ko as SearchInput,
|
|
186
|
+
Vo as Select,
|
|
187
|
+
Yo as SelectContent,
|
|
188
|
+
Ko as SelectGroup,
|
|
189
|
+
zo as SelectItem,
|
|
190
|
+
Xo as SelectScrollDownButton,
|
|
191
|
+
jo as SelectScrollUpButton,
|
|
192
|
+
qo as SelectTrigger,
|
|
193
|
+
Jo as SelectValue,
|
|
194
|
+
Wo as Separator,
|
|
195
|
+
$o as Sheet,
|
|
196
|
+
er as SheetClose,
|
|
197
|
+
or as SheetContent,
|
|
198
|
+
rr as SheetDescription,
|
|
199
|
+
tr as SheetFooter,
|
|
200
|
+
ar as SheetHeader,
|
|
201
|
+
nr as SheetOverlay,
|
|
202
|
+
ir as SheetPortal,
|
|
203
|
+
pr as SheetTitle,
|
|
204
|
+
mr as SheetTrigger,
|
|
205
|
+
Zt as SideBar,
|
|
206
|
+
dr as Sidebar,
|
|
207
|
+
ur as SidebarContent,
|
|
208
|
+
Sr as SidebarFooter,
|
|
209
|
+
Tr as SidebarGroup,
|
|
210
|
+
gr as SidebarGroupAction,
|
|
211
|
+
Cr as SidebarGroupContent,
|
|
212
|
+
br as SidebarGroupLabel,
|
|
213
|
+
Dr as SidebarHeader,
|
|
214
|
+
xr as SidebarInput,
|
|
215
|
+
fr as SidebarInset,
|
|
216
|
+
cr as SidebarMenu,
|
|
217
|
+
sr as SidebarMenuAction,
|
|
218
|
+
Mr as SidebarMenuBadge,
|
|
219
|
+
Ir as SidebarMenuButton,
|
|
220
|
+
Lr as SidebarMenuItem,
|
|
221
|
+
Pr as SidebarMenuSkeleton,
|
|
222
|
+
Er as SidebarMenuSub,
|
|
223
|
+
Or as SidebarMenuSubButton,
|
|
224
|
+
Ar as SidebarMenuSubItem,
|
|
225
|
+
Fr as SidebarProvider,
|
|
226
|
+
_r as SidebarRail,
|
|
227
|
+
wr as SidebarSeparator,
|
|
228
|
+
Rr as SidebarTrigger,
|
|
229
|
+
Nr as Skeleton,
|
|
230
|
+
ea as StaticDataTable,
|
|
231
|
+
bt as TABLE_CHECK_BOX_COLUMN,
|
|
232
|
+
Dt as TABLE_DEFAULT_DATE_COLUMNS,
|
|
233
|
+
xt as TABLE_ID_COLUMN,
|
|
234
|
+
Ur as Table,
|
|
235
|
+
kr as TableBody,
|
|
236
|
+
Hr as TableCaption,
|
|
237
|
+
Vr as TableCell,
|
|
238
|
+
Yr as TableFooter,
|
|
239
|
+
Kr as TableHead,
|
|
240
|
+
zr as TableHeader,
|
|
241
|
+
at as TablePageLayout,
|
|
242
|
+
Xr as TableRow,
|
|
243
|
+
qr as Tabs,
|
|
244
|
+
Jr as TabsContent,
|
|
245
|
+
Qr as TabsList,
|
|
246
|
+
Wr as TabsTrigger,
|
|
247
|
+
yr as Toaster,
|
|
248
|
+
$r as Tooltip,
|
|
249
|
+
et as TooltipContent,
|
|
250
|
+
ot as TooltipProvider,
|
|
251
|
+
rt as TooltipTrigger,
|
|
252
|
+
I as buttonVariants,
|
|
253
|
+
mt as cn,
|
|
254
|
+
kt as convertCamelCaseToTitleCase,
|
|
255
|
+
Ht as convertToTitleCase,
|
|
256
|
+
Bt as createTableFetchFn,
|
|
260
257
|
At as getLicenseStatus,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
258
|
+
Gt as getLinkDisplay,
|
|
259
|
+
Ft as getResourceDisplayName,
|
|
260
|
+
lt as getThemeHue,
|
|
261
|
+
_t as getValidityDisplay,
|
|
262
|
+
wt as getValueFromData,
|
|
263
|
+
dt as logout,
|
|
264
|
+
co as navigationMenuTriggerStyle,
|
|
265
|
+
Vt as pluralizeTimes,
|
|
266
|
+
Rt as secondsToDuration,
|
|
267
|
+
ut as setThemeHue,
|
|
268
|
+
Je as useFormField,
|
|
269
|
+
it as useIsMobile,
|
|
270
|
+
vr as useSidebar
|
|
274
271
|
};
|
|
275
272
|
//# 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';\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\nconst ACCESS_TOKEN = 'AT';\nconst REFRESH_TOKEN = 'RT';\nexport function logout() {\n if (typeof window !== 'undefined' && window.localStorage) {\n try {\n localStorage.removeItem(REFRESH_TOKEN);\n localStorage.removeItem(ACCESS_TOKEN);\n window.location.replace('/auth/login');\n } catch (error) {\n console.error('Logout failed:', error);\n }\n }\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue","ACCESS_TOKEN","REFRESH_TOKEN","logout","error"],"mappings":";AAEO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAKD,CAAM;AACpB;
|
|
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\n/**\n * This is the variable name representing the primary hue.\n * Referenced in tokens.scss -> token.css\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\nconst ACCESS_TOKEN = 'AT';\nconst REFRESH_TOKEN = 'RT';\nexport function logout() {\n if (typeof window !== 'undefined' && window.localStorage) {\n try {\n localStorage.removeItem(REFRESH_TOKEN);\n localStorage.removeItem(ACCESS_TOKEN);\n window.location.replace('/auth/login');\n } catch (error) {\n console.error('Logout failed:', error);\n }\n }\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue","ACCESS_TOKEN","REFRESH_TOKEN","logout","error"],"mappings":";AAEO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAKD,CAAM;AACpB;AAMA,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;AAEA,MAAMC,IAAe,MACfC,IAAgB;AACf,SAASC,IAAS;AACvB,MAAI,OAAO,SAAW,OAAe,OAAO;AACtC,QAAA;AACF,mBAAa,WAAWD,CAAa,GACrC,aAAa,WAAWD,CAAY,GAC7B,OAAA,SAAS,QAAQ,aAAa;AAAA,aAC9BG,GAAO;AACN,cAAA,MAAM,kBAAkBA,CAAK;AAAA,IAAA;AAG3C;"}
|
package/lib/index.css
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
@import 'tailwindcss';
|
|
3
3
|
@import './tailwind.preset.css';
|
|
4
4
|
|
|
5
|
-
@utility link {
|
|
6
|
-
@apply text-primary underline hover:underline-offset-2 hover:text-primary/70;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
5
|
@layer base {
|
|
10
6
|
* {
|
|
11
7
|
@apply border-border;
|
|
@@ -15,6 +11,30 @@
|
|
|
15
11
|
@apply link;
|
|
16
12
|
}
|
|
17
13
|
|
|
14
|
+
h1 {
|
|
15
|
+
@apply h1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h2 {
|
|
19
|
+
@apply h2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
h3 {
|
|
23
|
+
@apply h3;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
h4 {
|
|
27
|
+
@apply h4;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
h5 {
|
|
31
|
+
@apply h5;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h6 {
|
|
35
|
+
@apply h6;
|
|
36
|
+
}
|
|
37
|
+
|
|
18
38
|
body {
|
|
19
39
|
@apply bg-background/50 text-foreground;
|
|
20
40
|
}
|
|
@@ -31,7 +51,6 @@
|
|
|
31
51
|
|
|
32
52
|
*::-webkit-scrollbar-thumb {
|
|
33
53
|
background-color: gray;
|
|
34
|
-
|
|
35
54
|
border: 3px solid gray;
|
|
36
55
|
}
|
|
37
56
|
}
|