@cryptlex/web-components 3.2.2 → 3.2.3
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/alert.es.js +29 -0
- package/dist/components/ui/alert.es.js.map +1 -0
- package/dist/components/ui/badge.es.js +5 -5
- package/dist/components/ui/badge.es.js.map +1 -1
- package/dist/index.es.d.ts +8 -0
- package/dist/index.es.js +151 -148
- package/dist/index.es.js.map +1 -1
- package/lib/base.css +19 -6
- package/lib/theme.css +15 -20
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "../../utils/index.es.js";
|
|
3
|
+
import { cva as c } from "class-variance-authority";
|
|
4
|
+
const n = c(
|
|
5
|
+
"transition-colors border border-dotted p-2 text-foreground text-sm inline-flex items-start gap-2",
|
|
6
|
+
{
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
destructive: "bg-destructive-foreground/20 text-destructive border-destructive",
|
|
10
|
+
success: "bg-success-foreground/20 text-success border-success",
|
|
11
|
+
muted: "bg-muted-foreground/20 text-muted border-muted"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
variant: "muted"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
function f({ children: r, className: s, variant: o, icon: e, ...a }) {
|
|
20
|
+
return /* @__PURE__ */ d("div", { role: "alert", className: i(n({ variant: o }), s), ...a, children: [
|
|
21
|
+
e && /* @__PURE__ */ t(e, { className: "size-icon mt-1" }),
|
|
22
|
+
/* @__PURE__ */ t("span", { className: "w-full", children: r })
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
f as Alert,
|
|
27
|
+
n as alertVariants
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=alert.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.es.js","sources":["../../../lib/components/ui/alert.tsx"],"sourcesContent":["import { cn } from \"@/utils\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { type LucideIcon } from \"lucide-react\";\n\nexport const alertVariants = cva(\n `transition-colors border border-dotted p-2 text-foreground text-sm inline-flex items-start gap-2`,\n {\n variants: {\n variant: {\n destructive: \"bg-destructive-foreground/20 text-destructive border-destructive\",\n success: \"bg-success-foreground/20 text-success border-success\",\n muted: \"bg-muted-foreground/20 text-muted border-muted\",\n },\n },\n defaultVariants: {\n variant: \"muted\",\n },\n },\n);\n\nexport function Alert({ children, className, variant, icon: Icon, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants> & {\n icon?: LucideIcon\n}) {\n\n return (\n <div role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props}>\n {Icon && <Icon className=\"size-icon mt-1\" />}\n <span className=\"w-full\">\n {children}\n </span>\n </div>)\n}"],"names":["alertVariants","cva","Alert","children","className","variant","Icon","props","jsxs","cn","jsx"],"mappings":";;;AAIO,MAAMA,IAAgBC;AAAA,EACzB;AAAA,EACA;AAAA,IACI,UAAU;AAAA,MACN,SAAS;AAAA,QACL,aAAa;AAAA,QACb,SAAS;AAAA,QACT,OAAO;AAAA,MAAA;AAAA,IAEf;AAAA,IACA,iBAAiB;AAAA,MACb,SAAS;AAAA,IAAA;AAAA,EACb;AAER;AAEgB,SAAAC,EAAM,EAAE,UAAAC,GAAU,WAAAC,GAAW,SAAAC,GAAS,MAAMC,GAAM,GAAGC,KAElE;AAEC,SACK,gBAAAC,EAAA,OAAA,EAAI,MAAK,SAAQ,WAAWC,EAAGT,EAAc,EAAE,SAAAK,EAAS,CAAA,GAAGD,CAAS,GAAI,GAAGG,GACvE,UAAA;AAAA,IAAQD,KAAA,gBAAAI,EAACJ,GAAK,EAAA,WAAU,iBAAiB,CAAA;AAAA,IACzC,gBAAAI,EAAA,QAAA,EAAK,WAAU,UACX,UAAAP,EACL,CAAA;AAAA,EAAA,GACJ;AACR;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { cn as r } from "../../utils/index.es.js";
|
|
3
3
|
function c({ className: e, ...n }) {
|
|
4
|
-
return /* @__PURE__ */
|
|
4
|
+
return /* @__PURE__ */ i(
|
|
5
5
|
"div",
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
8
|
-
"text-muted
|
|
7
|
+
className: r(
|
|
8
|
+
"text-muted transition-colors inline-flex items-center justify-center leading-none select-none bg-card border px-2 h-input py-1 focus:outline-hidden focus:ring-1 focus:ring-ring",
|
|
9
9
|
e
|
|
10
10
|
),
|
|
11
11
|
...n
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.es.js","sources":["../../../lib/components/ui/badge.tsx"],"sourcesContent":["import { cn } from \"@/utils\";\nimport type * as React from \"react\";\n\nexport function Badge({ className, ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\n\t\t\t\t\"text-muted
|
|
1
|
+
{"version":3,"file":"badge.es.js","sources":["../../../lib/components/ui/badge.tsx"],"sourcesContent":["import { cn } from \"@/utils\";\nimport type * as React from \"react\";\n\nexport function Badge({ className, ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\n\t\t\t\t\"text-muted transition-colors inline-flex items-center justify-center leading-none select-none bg-card border px-2 h-input py-1 focus:outline-hidden focus:ring-1 focus:ring-ring\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n"],"names":["Badge","className","props","jsx","cn"],"mappings":";;AAGO,SAASA,EAAM,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AAE1E,SAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,WAAWC;AAAA,QACV;AAAA,QACAH;AAAA,MACD;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,EACL;AAEF;"}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -56,6 +56,14 @@ export declare function AccordionTrigger({ className, children, ...props }: Reac
|
|
|
56
56
|
/** Reserved name for actions column */
|
|
57
57
|
export declare const ACTIONS_COLUMN_ID = "Actions";
|
|
58
58
|
|
|
59
|
+
export declare function Alert({ children, className, variant, icon: Icon, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants> & {
|
|
60
|
+
icon?: LucideIcon;
|
|
61
|
+
}): JSX.Element;
|
|
62
|
+
|
|
63
|
+
export declare const alertVariants: (props?: ({
|
|
64
|
+
variant?: "destructive" | "success" | "muted" | null | undefined;
|
|
65
|
+
} & ClassProp) | undefined) => string;
|
|
66
|
+
|
|
59
67
|
export declare const ALL_OS: {
|
|
60
68
|
[key: string]: string;
|
|
61
69
|
};
|
package/dist/index.es.js
CHANGED
|
@@ -7,7 +7,7 @@ import { TABLE_CHECK_BOX_COLUMN as D, TABLE_DEFAULT_DATE_COLUMNS as g, TABLE_ID_
|
|
|
7
7
|
import { ALL_OS as P, COMPARISON_OPERATOR_LABELS as I, DEFAULT_FILTERABLE_FIELDS as M, FILTERABLE_PROPERTY_TYPES as E, FILTER_COMPARISON_OPERATORS as O, OPERATORS_FOR_FILTER_TYPE as L, RESOURCE_DEFINITIONS as A, RESOURCE_NAMES as _, getLicenseStatus as R, getResourceDisplayName as w, getValidityDisplay as F, getValueFromData as B, secondsToDuration as h } from "./components/data-table/table-utils/constants.es.js";
|
|
8
8
|
import { createTableFetchFn as v } from "./components/data-table/table-utils/createTableFetchFn.es.js";
|
|
9
9
|
import { FormatDate as U } from "./components/data-table/table-utils/date.es.js";
|
|
10
|
-
import { convertCamelCaseToTitleCase as H, convertToTitleCase as k, pluralizeTimes as
|
|
10
|
+
import { convertCamelCaseToTitleCase as H, convertToTitleCase as k, pluralizeTimes as V } from "./components/data-table/table-utils/string.es.js";
|
|
11
11
|
import { DYNAMIC_INPUT_TARGET as K } from "./components/data-table/table-utils/types.es.js";
|
|
12
12
|
import { Calendar as X } from "./components/inputs/calendar.es.js";
|
|
13
13
|
import { Checkbox as q, TfCheckbox as J } from "./components/inputs/checkbox.es.js";
|
|
@@ -24,30 +24,31 @@ import { SingleSelect as Pe, TfSingleSelect as Ie } from "./components/inputs/se
|
|
|
24
24
|
import { Textarea as Ee, TfTextarea as Oe } from "./components/inputs/textarea.es.js";
|
|
25
25
|
import { KeyValueCard as Ae } from "./components/key-value-card/key-value-card.es.js";
|
|
26
26
|
import { Accordion as Re, AccordionContent as we, AccordionItem as Fe, AccordionTrigger as Be } from "./components/ui/accordion.es.js";
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
27
|
+
import { Alert as Ne, alertVariants as ve } from "./components/ui/alert.es.js";
|
|
28
|
+
import { Avatar as Ue } from "./components/ui/avatar.es.js";
|
|
29
|
+
import { Badge as He } from "./components/ui/badge.es.js";
|
|
30
|
+
import { Breadcrumb as Ve, BreadcrumbEllipsis as Ye, BreadcrumbItem as Ke, BreadcrumbLink as ze, BreadcrumbList as Xe, BreadcrumbPage as je, BreadcrumbSeparator as qe } from "./components/ui/breadcrumb.es.js";
|
|
31
|
+
import { Button as Qe, buttonVariants as We } from "./components/ui/button.es.js";
|
|
32
|
+
import { Card as $e, CardContent as er, CardDescription as rr, CardFooter as or, CardHeader as tr, CardTitle as ar } from "./components/ui/card.es.js";
|
|
33
|
+
import { Collapsible as ir, CollapsibleContent as pr, CollapsibleTrigger as lr } from "./components/ui/collapsible.es.js";
|
|
34
|
+
import { COPY_BUTTON_STATE_TIMEOUT as dr, CopyButton as mr } from "./components/ui/copy-button.es.js";
|
|
35
|
+
import { Dialog as Sr, DialogClose as br, DialogContent as xr, DialogDescription as fr, DialogFooter as Cr, DialogHeader as Dr, DialogOverlay as gr, DialogPortal as sr, DialogTitle as cr, DialogTrigger as Pr } from "./components/ui/dialog.es.js";
|
|
36
|
+
import { Drawer as Mr, DrawerClose as Er, DrawerContent as Or, DrawerDescription as Lr, DrawerFooter as Ar, DrawerHeader as _r, DrawerOverlay as Rr, DrawerPortal as wr, DrawerTitle as Fr, DrawerTrigger as Br } from "./components/ui/drawer.es.js";
|
|
37
|
+
import { DropdownMenu as Nr, DropdownMenuCheckboxItem as vr, DropdownMenuContent as yr, DropdownMenuGroup as Ur, DropdownMenuItem as Gr, DropdownMenuLabel as Hr, DropdownMenuPortal as kr, DropdownMenuRadioGroup as Vr, DropdownMenuRadioItem as Yr, DropdownMenuSub as Kr, DropdownMenuSubContent as zr, DropdownMenuSubTrigger as Xr, DropdownMenuTrigger as jr } from "./components/ui/dropdown-menu.es.js";
|
|
38
|
+
import { Label as Jr } from "./components/ui/label.es.js";
|
|
39
|
+
import { Loader as Wr } from "./components/ui/loader.es.js";
|
|
40
|
+
import { Pagination as $r, PaginationContent as eo, PaginationEllipsis as ro, PaginationItem as oo, PaginationLink as to, PaginationNext as ao, PaginationPrevious as no } from "./components/ui/pagination.es.js";
|
|
41
|
+
import { Popover as po, PopoverAnchor as lo, PopoverContent as To, PopoverTrigger as mo } from "./components/ui/popover.es.js";
|
|
42
|
+
import { Separator as So } from "./components/ui/separator.es.js";
|
|
43
|
+
import { Sheet as xo, SheetClose as fo, SheetContent as Co, SheetDescription as Do, SheetFooter as go, SheetHeader as so, SheetOverlay as co, SheetPortal as Po, SheetTitle as Io, SheetTrigger as Mo } from "./components/ui/sheet.es.js";
|
|
44
|
+
import { Sidebar as Oo, SidebarContent as Lo, SidebarContext as Ao, SidebarFooter as _o, SidebarGroup as Ro, SidebarGroupAction as wo, SidebarGroupContent as Fo, SidebarGroupLabel as Bo, SidebarHeader as ho, SidebarInset as No, SidebarMenu as vo, SidebarMenuAction as yo, SidebarMenuBadge as Uo, SidebarMenuButton as Go, SidebarMenuItem as Ho, SidebarMenuSkeleton as ko, SidebarMenuSub as Vo, SidebarMenuSubButton as Yo, SidebarMenuSubItem as Ko, SidebarProvider as zo, SidebarRail as Xo, SidebarTrigger as jo, useSidebar as qo } from "./components/ui/sidebar.es.js";
|
|
45
|
+
import { Skeleton as Qo } from "./components/ui/skeleton.es.js";
|
|
46
|
+
import { Toaster as Zo } from "./components/ui/sonner.es.js";
|
|
47
|
+
import { StaticDataTable as et } from "./components/ui/static-data-table.es.js";
|
|
48
|
+
import { Table as ot, TableBody as tt, TableCaption as at, TableCell as nt, TableFooter as it, TableHead as pt, TableHeader as lt, TableRow as Tt } from "./components/ui/table.es.js";
|
|
49
|
+
import { TablePageLayout as mt } from "./components/ui/table-page-layout.es.js";
|
|
50
|
+
import { Tabs as St, TabsContent as bt, TabsList as xt, TabsTrigger as ft } from "./components/ui/tabs.es.js";
|
|
51
|
+
import { Tooltip as Dt, TooltipContent as gt, TooltipProvider as st, TooltipTrigger as ct } from "./components/ui/tooltip.es.js";
|
|
51
52
|
export {
|
|
52
53
|
x as ACTIONS_COLUMN_ID,
|
|
53
54
|
P as ALL_OS,
|
|
@@ -55,67 +56,68 @@ export {
|
|
|
55
56
|
we as AccordionContent,
|
|
56
57
|
Fe as AccordionItem,
|
|
57
58
|
Be as AccordionTrigger,
|
|
58
|
-
Ne as
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
Ne as Alert,
|
|
60
|
+
Ue as Avatar,
|
|
61
|
+
He as Badge,
|
|
62
|
+
Ve as Breadcrumb,
|
|
63
|
+
Ye as BreadcrumbEllipsis,
|
|
64
|
+
Ke as BreadcrumbItem,
|
|
65
|
+
ze as BreadcrumbLink,
|
|
66
|
+
Xe as BreadcrumbList,
|
|
67
|
+
je as BreadcrumbPage,
|
|
68
|
+
qe as BreadcrumbSeparator,
|
|
69
|
+
Qe as Button,
|
|
68
70
|
I as COMPARISON_OPERATOR_LABELS,
|
|
69
|
-
|
|
71
|
+
dr as COPY_BUTTON_STATE_TIMEOUT,
|
|
70
72
|
X as Calendar,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
$e as Card,
|
|
74
|
+
er as CardContent,
|
|
75
|
+
rr as CardDescription,
|
|
76
|
+
or as CardFooter,
|
|
77
|
+
tr as CardHeader,
|
|
78
|
+
ar as CardTitle,
|
|
77
79
|
q as Checkbox,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
ir as Collapsible,
|
|
81
|
+
pr as CollapsibleContent,
|
|
82
|
+
lr as CollapsibleTrigger,
|
|
83
|
+
mr as CopyButton,
|
|
82
84
|
W as CountrySelect,
|
|
83
85
|
M as DEFAULT_FILTERABLE_FIELDS,
|
|
84
86
|
K as DYNAMIC_INPUT_TARGET,
|
|
85
87
|
f as DataTable,
|
|
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
|
-
|
|
88
|
+
Sr as Dialog,
|
|
89
|
+
br as DialogClose,
|
|
90
|
+
xr as DialogContent,
|
|
91
|
+
fr as DialogDescription,
|
|
92
|
+
Cr as DialogFooter,
|
|
93
|
+
Dr as DialogHeader,
|
|
94
|
+
gr as DialogOverlay,
|
|
95
|
+
sr as DialogPortal,
|
|
96
|
+
cr as DialogTitle,
|
|
97
|
+
Pr as DialogTrigger,
|
|
98
|
+
Mr as Drawer,
|
|
99
|
+
Er as DrawerClose,
|
|
100
|
+
Or as DrawerContent,
|
|
101
|
+
Lr as DrawerDescription,
|
|
102
|
+
Ar as DrawerFooter,
|
|
103
|
+
_r as DrawerHeader,
|
|
104
|
+
Rr as DrawerOverlay,
|
|
105
|
+
wr as DrawerPortal,
|
|
106
|
+
Fr as DrawerTitle,
|
|
107
|
+
Br as DrawerTrigger,
|
|
108
|
+
Nr as DropdownMenu,
|
|
109
|
+
vr as DropdownMenuCheckboxItem,
|
|
110
|
+
yr as DropdownMenuContent,
|
|
111
|
+
Ur as DropdownMenuGroup,
|
|
112
|
+
Gr as DropdownMenuItem,
|
|
113
|
+
Hr as DropdownMenuLabel,
|
|
114
|
+
kr as DropdownMenuPortal,
|
|
115
|
+
Vr as DropdownMenuRadioGroup,
|
|
116
|
+
Yr as DropdownMenuRadioItem,
|
|
117
|
+
Kr as DropdownMenuSub,
|
|
118
|
+
zr as DropdownMenuSubContent,
|
|
119
|
+
Xr as DropdownMenuSubTrigger,
|
|
120
|
+
jr as DropdownMenuTrigger,
|
|
119
121
|
E as FILTERABLE_PROPERTY_TYPES,
|
|
120
122
|
O as FILTER_COMPARISON_OPERATORS,
|
|
121
123
|
ee as FormField,
|
|
@@ -126,79 +128,79 @@ export {
|
|
|
126
128
|
pe as InputOTPSeparator,
|
|
127
129
|
le as InputOTPSlot,
|
|
128
130
|
Ae as KeyValueCard,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
Jr as Label,
|
|
132
|
+
Wr as Loader,
|
|
131
133
|
ue as MultiSelect,
|
|
132
134
|
L as OPERATORS_FOR_FILTER_TYPE,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
$r as Pagination,
|
|
136
|
+
eo as PaginationContent,
|
|
137
|
+
ro as PaginationEllipsis,
|
|
138
|
+
oo as PaginationItem,
|
|
139
|
+
to as PaginationLink,
|
|
140
|
+
ao as PaginationNext,
|
|
141
|
+
no as PaginationPrevious,
|
|
140
142
|
xe as PasswordInput,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
po as Popover,
|
|
144
|
+
lo as PopoverAnchor,
|
|
145
|
+
To as PopoverContent,
|
|
146
|
+
mo as PopoverTrigger,
|
|
145
147
|
A as RESOURCE_DEFINITIONS,
|
|
146
148
|
_ as RESOURCE_NAMES,
|
|
147
149
|
Ce as RadioGroup,
|
|
148
150
|
De as RadioGroupItem,
|
|
149
151
|
se as SearchInput,
|
|
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
|
-
|
|
152
|
+
So as Separator,
|
|
153
|
+
xo as Sheet,
|
|
154
|
+
fo as SheetClose,
|
|
155
|
+
Co as SheetContent,
|
|
156
|
+
Do as SheetDescription,
|
|
157
|
+
go as SheetFooter,
|
|
158
|
+
so as SheetHeader,
|
|
159
|
+
co as SheetOverlay,
|
|
160
|
+
Po as SheetPortal,
|
|
161
|
+
Io as SheetTitle,
|
|
162
|
+
Mo as SheetTrigger,
|
|
163
|
+
Oo as Sidebar,
|
|
164
|
+
Lo as SidebarContent,
|
|
165
|
+
Ao as SidebarContext,
|
|
166
|
+
_o as SidebarFooter,
|
|
167
|
+
Ro as SidebarGroup,
|
|
168
|
+
wo as SidebarGroupAction,
|
|
169
|
+
Fo as SidebarGroupContent,
|
|
170
|
+
Bo as SidebarGroupLabel,
|
|
171
|
+
ho as SidebarHeader,
|
|
172
|
+
No as SidebarInset,
|
|
173
|
+
vo as SidebarMenu,
|
|
174
|
+
yo as SidebarMenuAction,
|
|
175
|
+
Uo as SidebarMenuBadge,
|
|
176
|
+
Go as SidebarMenuButton,
|
|
177
|
+
Ho as SidebarMenuItem,
|
|
178
|
+
ko as SidebarMenuSkeleton,
|
|
179
|
+
Vo as SidebarMenuSub,
|
|
180
|
+
Yo as SidebarMenuSubButton,
|
|
181
|
+
Ko as SidebarMenuSubItem,
|
|
182
|
+
zo as SidebarProvider,
|
|
183
|
+
Xo as SidebarRail,
|
|
184
|
+
jo as SidebarTrigger,
|
|
183
185
|
Pe as SingleSelect,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
+
Qo as Skeleton,
|
|
187
|
+
et as StaticDataTable,
|
|
186
188
|
D as TABLE_CHECK_BOX_COLUMN,
|
|
187
189
|
g as TABLE_DEFAULT_DATE_COLUMNS,
|
|
188
190
|
s as TABLE_ID_COLUMN,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
191
|
+
ot as Table,
|
|
192
|
+
tt as TableBody,
|
|
193
|
+
at as TableCaption,
|
|
194
|
+
nt as TableCell,
|
|
195
|
+
it as TableFooter,
|
|
196
|
+
pt as TableHead,
|
|
197
|
+
lt as TableHeader,
|
|
198
|
+
mt as TablePageLayout,
|
|
199
|
+
Tt as TableRow,
|
|
200
|
+
St as Tabs,
|
|
201
|
+
bt as TabsContent,
|
|
202
|
+
xt as TabsList,
|
|
203
|
+
ft as TabsTrigger,
|
|
202
204
|
Ee as Textarea,
|
|
203
205
|
J as TfCheckbox,
|
|
204
206
|
Z as TfCountrySelect,
|
|
@@ -207,12 +209,13 @@ export {
|
|
|
207
209
|
Se as TfMultiSelect,
|
|
208
210
|
Ie as TfSingleSelect,
|
|
209
211
|
Oe as TfTextarea,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
212
|
+
Zo as Toaster,
|
|
213
|
+
Dt as Tooltip,
|
|
214
|
+
gt as TooltipContent,
|
|
215
|
+
st as TooltipProvider,
|
|
216
|
+
ct as TooltipTrigger,
|
|
217
|
+
ve as alertVariants,
|
|
218
|
+
We as buttonVariants,
|
|
216
219
|
a as cn,
|
|
217
220
|
H as convertCamelCaseToTitleCase,
|
|
218
221
|
k as convertToTitleCase,
|
|
@@ -225,12 +228,12 @@ export {
|
|
|
225
228
|
F as getValidityDisplay,
|
|
226
229
|
B as getValueFromData,
|
|
227
230
|
i as logout,
|
|
228
|
-
|
|
231
|
+
V as pluralizeTimes,
|
|
229
232
|
h as secondsToDuration,
|
|
230
233
|
p as setThemeHue,
|
|
231
234
|
S as useAppForm,
|
|
232
235
|
m as useFieldContext,
|
|
233
236
|
o as useIsMobile,
|
|
234
|
-
|
|
237
|
+
qo as useSidebar
|
|
235
238
|
};
|
|
236
239
|
//# 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/lib/base.css
CHANGED
|
@@ -31,18 +31,31 @@
|
|
|
31
31
|
@apply bg-background text-foreground;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
code {
|
|
35
|
+
@apply font-mono font-bold font-stretch-extra-expanded;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
p, ul, ol, blockquote, picture, video, pre, figure, h2, h3 {
|
|
39
|
+
@apply mb-4 mt-2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
p {
|
|
43
|
+
@apply body;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
ul > li {
|
|
47
|
+
@apply list-disc ms-4;
|
|
48
|
+
}
|
|
49
|
+
|
|
34
50
|
*::-webkit-scrollbar {
|
|
35
|
-
|
|
36
|
-
height: 6px;
|
|
51
|
+
@apply size-1.5;
|
|
37
52
|
}
|
|
38
53
|
|
|
39
54
|
*::-webkit-scrollbar-track {
|
|
40
|
-
background
|
|
41
|
-
border-radius: 2px;
|
|
55
|
+
@apply bg-background rounded-none;
|
|
42
56
|
}
|
|
43
57
|
|
|
44
58
|
*::-webkit-scrollbar-thumb {
|
|
45
|
-
|
|
46
|
-
border: 3px solid gray;
|
|
59
|
+
@apply bg-foreground border-2 border-solid border-foreground;
|
|
47
60
|
}
|
|
48
61
|
}
|
package/lib/theme.css
CHANGED
|
@@ -1,29 +1,24 @@
|
|
|
1
1
|
/** https://tailwindcss.com/docs/theme#theme-variable-namespaces */
|
|
2
2
|
@theme static {
|
|
3
3
|
/* Radius */
|
|
4
|
-
|
|
5
|
-
--radius
|
|
6
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
7
|
-
--radius-lg: var(--radius);
|
|
4
|
+
/* TODO remove */
|
|
5
|
+
--radius-*: initial;
|
|
8
6
|
|
|
9
7
|
/* Text Sizes */
|
|
8
|
+
/* Reset all default text sizes */
|
|
10
9
|
--text-*: initial;
|
|
11
|
-
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--text-
|
|
15
|
-
--text-
|
|
16
|
-
--text-
|
|
17
|
-
--text-
|
|
18
|
-
--text-
|
|
19
|
-
--text-
|
|
20
|
-
--text-
|
|
21
|
-
--text-
|
|
22
|
-
--text-
|
|
23
|
-
--text-3xl: 1.875rem;
|
|
24
|
-
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
25
|
-
--text-4xl: 2.25rem;
|
|
26
|
-
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
10
|
+
|
|
11
|
+
--scale: 1.125;
|
|
12
|
+
/* Don't change the lines below, you only need to change the --scale above. */
|
|
13
|
+
--text-lg: calc(1rem * var(--scale));
|
|
14
|
+
--text-xl: calc(var(--text-lg) * var(--scale));
|
|
15
|
+
--text-2xl: calc(var(--text-xl) * var(--scale));
|
|
16
|
+
--text-3xl: calc(var(--text-2xl) * var(--scale));
|
|
17
|
+
--text-4xl: calc(var(--text-3xl) * var(--scale));
|
|
18
|
+
--text-5xl: calc(var(--text-4xl) * var(--scale));
|
|
19
|
+
--text-base: calc(1rem / var(--scale));
|
|
20
|
+
--text-sm: calc(var(--text-base) / var(--scale));
|
|
21
|
+
--text-xs: calc(var(--text-sm) / var(--scale));
|
|
27
22
|
|
|
28
23
|
/* Colors */
|
|
29
24
|
--color-*: initial;
|