@cryptlex/web-components 1.3.5 → 1.4.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.
Files changed (78) hide show
  1. package/README.md +6 -3
  2. package/dist/components/data-table/data-table.es.js +106 -90
  3. package/dist/components/data-table/data-table.es.js.map +1 -1
  4. package/dist/components/data-table/table-actions.es.js.map +1 -1
  5. package/dist/components/data-table/table-commons.es.js +5 -4
  6. package/dist/components/data-table/table-commons.es.js.map +1 -1
  7. package/dist/components/data-table/table-content.es.js +24 -26
  8. package/dist/components/data-table/table-content.es.js.map +1 -1
  9. package/dist/components/data-table/table-filter.es.js +264 -0
  10. package/dist/components/data-table/table-filter.es.js.map +1 -0
  11. package/dist/components/data-table/table-utils/constants.es.js +20 -6
  12. package/dist/components/data-table/table-utils/constants.es.js.map +1 -1
  13. package/dist/components/data-table/table-utils/link-display.es.js +4 -4
  14. package/dist/components/data-table/table-utils/link-display.es.js.map +1 -1
  15. package/dist/components/key-value-card/key-value-card.es.js +4 -2
  16. package/dist/components/key-value-card/key-value-card.es.js.map +1 -1
  17. package/dist/components/sidebar/app-layout.es.js +43 -39
  18. package/dist/components/sidebar/app-layout.es.js.map +1 -1
  19. package/dist/components/sidebar/breadcrumb.es.js +58 -0
  20. package/dist/components/sidebar/breadcrumb.es.js.map +1 -0
  21. package/dist/components/sidebar/nav-main.es.js +51 -39
  22. package/dist/components/sidebar/nav-main.es.js.map +1 -1
  23. package/dist/components/static-data-table/data-table.es.js +5 -5
  24. package/dist/components/static-data-table/data-table.es.js.map +1 -1
  25. package/dist/components/ui/avatar.es.js +1 -1
  26. package/dist/components/ui/avatar.es.js.map +1 -1
  27. package/dist/components/ui/badge.es.js +1 -1
  28. package/dist/components/ui/badge.es.js.map +1 -1
  29. package/dist/components/ui/button.es.js +8 -8
  30. package/dist/components/ui/button.es.js.map +1 -1
  31. package/dist/components/ui/calendar.es.js +3 -3
  32. package/dist/components/ui/chart.es.js +24 -24
  33. package/dist/components/ui/chart.es.js.map +1 -1
  34. package/dist/components/ui/checkbox.es.js +1 -1
  35. package/dist/components/ui/checkbox.es.js.map +1 -1
  36. package/dist/components/ui/command.es.js +28 -28
  37. package/dist/components/ui/command.es.js.map +1 -1
  38. package/dist/components/ui/copy-button.es.js +38 -34
  39. package/dist/components/ui/copy-button.es.js.map +1 -1
  40. package/dist/components/ui/dialog.es.js +8 -8
  41. package/dist/components/ui/dialog.es.js.map +1 -1
  42. package/dist/components/ui/dropdown-menu.es.js +38 -38
  43. package/dist/components/ui/dropdown-menu.es.js.map +1 -1
  44. package/dist/components/ui/form.es.js +4 -4
  45. package/dist/components/ui/input-otp.es.js +2 -2
  46. package/dist/components/ui/input-otp.es.js.map +1 -1
  47. package/dist/components/ui/input.es.js +7 -7
  48. package/dist/components/ui/input.es.js.map +1 -1
  49. package/dist/components/ui/mutli-select.es.js +13 -13
  50. package/dist/components/ui/mutli-select.es.js.map +1 -1
  51. package/dist/components/ui/navigation-menu.es.js +3 -3
  52. package/dist/components/ui/navigation-menu.es.js.map +1 -1
  53. package/dist/components/ui/pagination.es.js +20 -20
  54. package/dist/components/ui/password-input.es.js +10 -10
  55. package/dist/components/ui/password-input.es.js.map +1 -1
  56. package/dist/components/ui/popover.es.js +1 -1
  57. package/dist/components/ui/popover.es.js.map +1 -1
  58. package/dist/components/ui/radio-group.es.js +7 -7
  59. package/dist/components/ui/radio-group.es.js.map +1 -1
  60. package/dist/components/ui/select.es.js +17 -17
  61. package/dist/components/ui/select.es.js.map +1 -1
  62. package/dist/components/ui/sheet.es.js +8 -8
  63. package/dist/components/ui/sheet.es.js.map +1 -1
  64. package/dist/components/ui/sidebar.es.js +76 -76
  65. package/dist/components/ui/sidebar.es.js.map +1 -1
  66. package/dist/components/ui/table-page-layout.es.js +8 -8
  67. package/dist/components/ui/table-page-layout.es.js.map +1 -1
  68. package/dist/components/ui/table.es.js +8 -8
  69. package/dist/components/ui/table.es.js.map +1 -1
  70. package/dist/components/ui/tabs.es.js +11 -11
  71. package/dist/components/ui/tabs.es.js.map +1 -1
  72. package/dist/index.es.d.ts +21 -13
  73. package/dist/index.es.js +116 -114
  74. package/lib/index.css +15 -87
  75. package/lib/tailwind.preset.css +220 -0
  76. package/lib/tokens.css +54 -54
  77. package/package.json +7 -7
  78. package/tailwind.preset.ts +0 -191
package/dist/index.es.js CHANGED
@@ -1,18 +1,18 @@
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, badgeVariants as g } from "./components/ui/badge.es.js";
4
- import { Breadcrumb as b, BreadcrumbEllipsis as C, BreadcrumbItem as D, BreadcrumbLink as x, BreadcrumbList as f, BreadcrumbPage as c, BreadcrumbSeparator as s } from "./components/ui/breadcrumb.es.js";
5
- import { Button as I, buttonVariants as P } from "./components/ui/button.es.js";
6
- import { Calendar as F } from "./components/ui/calendar.es.js";
7
- import { Card as E, CardContent as R, CardDescription as v, CardFooter as h, CardHeader as A, CardTitle as O } from "./components/ui/card.es.js";
8
- import { ChartContainer as N, ChartLegend as _, ChartLegendContent as y, ChartStyle as G, ChartTooltip as k, ChartTooltipContent as H } from "./components/ui/chart.es.js";
3
+ import { Badge as S, badgeVariants as T } from "./components/ui/badge.es.js";
4
+ import { Breadcrumb as C, BreadcrumbEllipsis as b, BreadcrumbItem as D, BreadcrumbLink as x, BreadcrumbList as f, BreadcrumbPage as c, BreadcrumbSeparator as s } from "./components/ui/breadcrumb.es.js";
5
+ import { Button as I, buttonVariants as L } from "./components/ui/button.es.js";
6
+ import { Calendar as E } from "./components/ui/calendar.es.js";
7
+ import { Card as F, CardContent as w, CardDescription as O, CardFooter as R, CardHeader as v, CardTitle as _ } from "./components/ui/card.es.js";
8
+ import { ChartContainer as B, ChartLegend as N, ChartLegendContent as y, ChartStyle as G, ChartTooltip as k, ChartTooltipContent as H } from "./components/ui/chart.es.js";
9
9
  import { Checkbox as V } from "./components/ui/checkbox.es.js";
10
10
  import { Collapsible as K, CollapsibleContent as z, CollapsibleTrigger as X } from "./components/ui/collapsible.es.js";
11
11
  import { Command as q, CommandDialog as J, CommandEmpty as Q, CommandGroup as W, CommandInput as Z, CommandItem as $, CommandList as ee, CommandSeparator as oe, CommandShortcut as re } from "./components/ui/command.es.js";
12
12
  import { CopyButton as ae } from "./components/ui/copy-button.es.js";
13
- import { Dialog as ie, DialogClose as pe, DialogContent as me, DialogDescription as le, DialogFooter as de, DialogHeader as ue, DialogOverlay as Se, DialogPortal as ge, DialogTitle as Te, DialogTrigger as be } from "./components/ui/dialog.es.js";
14
- import { Drawer as De, DrawerClose as xe, DrawerContent as fe, DrawerDescription as ce, DrawerFooter as se, DrawerHeader as Me, DrawerOverlay as Ie, DrawerPortal as Pe, DrawerTitle as Le, DrawerTrigger as Fe } from "./components/ui/drawer.es.js";
15
- import { DropdownMenu as Ee, DropdownMenuCheckboxItem as Re, DropdownMenuContent as ve, DropdownMenuGroup as he, DropdownMenuItem as Ae, DropdownMenuLabel as Oe, DropdownMenuPortal as Be, DropdownMenuRadioGroup as Ne, DropdownMenuRadioItem as _e, DropdownMenuSeparator as ye, DropdownMenuShortcut as Ge, DropdownMenuSub as ke, DropdownMenuSubContent as He, DropdownMenuSubTrigger as Ue, DropdownMenuTrigger as Ve } from "./components/ui/dropdown-menu.es.js";
13
+ import { Dialog as ie, DialogClose as pe, DialogContent as me, DialogDescription as le, DialogFooter as de, DialogHeader as ue, DialogOverlay as Se, DialogPortal as Te, DialogTitle as ge, DialogTrigger as Ce } from "./components/ui/dialog.es.js";
14
+ import { Drawer as De, DrawerClose as xe, DrawerContent as fe, DrawerDescription as ce, DrawerFooter as se, DrawerHeader as Me, DrawerOverlay as Ie, DrawerPortal as Le, DrawerTitle as Pe, DrawerTrigger as Ee } from "./components/ui/drawer.es.js";
15
+ import { DropdownMenu as Fe, DropdownMenuCheckboxItem as we, DropdownMenuContent as Oe, DropdownMenuGroup as Re, DropdownMenuItem as ve, DropdownMenuLabel as _e, DropdownMenuPortal as he, DropdownMenuRadioGroup as Be, DropdownMenuRadioItem as Ne, DropdownMenuSeparator as ye, DropdownMenuShortcut as Ge, DropdownMenuSub as ke, DropdownMenuSubContent as He, DropdownMenuSubTrigger as Ue, DropdownMenuTrigger as Ve } from "./components/ui/dropdown-menu.es.js";
16
16
  import { Form as Ke, FormControl as ze, FormDescription as Xe, FormField as je, FormItem as qe, FormLabel as Je, FormMessage as Qe, useFormField as We } from "./components/ui/form.es.js";
17
17
  import { Input as $e } from "./components/ui/input.es.js";
18
18
  import { InputOTP as oo, InputOTPGroup as ro, InputOTPSeparator as to, InputOTPSlot as ao } from "./components/ui/input-otp.es.js";
@@ -20,16 +20,16 @@ import { Label as io } from "./components/ui/label.es.js";
20
20
  import { LinkButton as mo } from "./components/ui/link-button.es.js";
21
21
  import { Loader as uo } from "./components/ui/loader.es.js";
22
22
  import "./components/ui/mutli-select.es.js";
23
- import { NavigationMenu as go, NavigationMenuContent as To, NavigationMenuIndicator as bo, NavigationMenuItem as Co, NavigationMenuLink as Do, NavigationMenuList as xo, NavigationMenuListItem as fo, NavigationMenuTrigger as co, NavigationMenuViewport as so, navigationMenuTriggerStyle as Mo } from "./components/ui/navigation-menu.es.js";
24
- import { Pagination as Po, PaginationContent as Lo, PaginationEllipsis as Fo, PaginationItem as wo, PaginationLink as Eo, PaginationNext as Ro, PaginationPrevious as vo } from "./components/ui/pagination.es.js";
25
- import { PasswordInput as Ao } from "./components/ui/password-input.es.js";
26
- import { Popover as Bo, PopoverAnchor as No, PopoverContent as _o, PopoverTrigger as yo } from "./components/ui/popover.es.js";
23
+ import { NavigationMenu as To, NavigationMenuContent as go, NavigationMenuIndicator as Co, NavigationMenuItem as bo, NavigationMenuLink as Do, NavigationMenuList as xo, NavigationMenuListItem as fo, NavigationMenuTrigger as co, NavigationMenuViewport as so, navigationMenuTriggerStyle as Mo } from "./components/ui/navigation-menu.es.js";
24
+ import { Pagination as Lo, PaginationContent as Po, PaginationEllipsis as Eo, PaginationItem as Ao, PaginationLink as Fo, PaginationNext as wo, PaginationPrevious as Oo } from "./components/ui/pagination.es.js";
25
+ import { PasswordInput as vo } from "./components/ui/password-input.es.js";
26
+ import { Popover as ho, PopoverAnchor as Bo, PopoverContent as No, PopoverTrigger as yo } from "./components/ui/popover.es.js";
27
27
  import { RadioGroup as ko, RadioGroupItem as Ho } from "./components/ui/radio-group.es.js";
28
28
  import { SearchInput as Vo } from "./components/ui/search-input.es.js";
29
29
  import { Select as Ko, SelectContent as zo, SelectGroup as Xo, SelectItem as jo, SelectLabel as qo, SelectScrollDownButton as Jo, SelectScrollUpButton as Qo, SelectSeparator as Wo, SelectTrigger as Zo, SelectValue as $o } from "./components/ui/select.es.js";
30
30
  import { Separator as or } from "./components/ui/separator.es.js";
31
31
  import { Sheet as tr, SheetClose as ar, SheetContent as nr, SheetDescription as ir, SheetFooter as pr, SheetHeader as mr, SheetOverlay as lr, SheetPortal as dr, SheetTitle as ur, SheetTrigger as Sr } from "./components/ui/sheet.es.js";
32
- import { Sidebar as Tr, SidebarContent as br, SidebarFooter as Cr, SidebarGroup as Dr, SidebarGroupAction as xr, SidebarGroupContent as fr, SidebarGroupLabel as cr, SidebarHeader as sr, SidebarInput as Mr, SidebarInset as Ir, SidebarMenu as Pr, SidebarMenuAction as Lr, SidebarMenuBadge as Fr, SidebarMenuButton as wr, SidebarMenuItem as Er, SidebarMenuSkeleton as Rr, SidebarMenuSub as vr, SidebarMenuSubButton as hr, SidebarMenuSubItem as Ar, SidebarProvider as Or, SidebarRail as Br, SidebarSeparator as Nr, SidebarTrigger as _r, useSidebar as yr } from "./components/ui/sidebar.es.js";
32
+ import { Sidebar as gr, SidebarContent as Cr, SidebarFooter as br, SidebarGroup as Dr, SidebarGroupAction as xr, SidebarGroupContent as fr, SidebarGroupLabel as cr, SidebarHeader as sr, SidebarInput as Mr, SidebarInset as Ir, SidebarMenu as Lr, SidebarMenuAction as Pr, SidebarMenuBadge as Er, SidebarMenuButton as Ar, SidebarMenuItem as Fr, SidebarMenuSkeleton as wr, SidebarMenuSub as Or, SidebarMenuSubButton as Rr, SidebarMenuSubItem as vr, SidebarProvider as _r, SidebarRail as hr, SidebarSeparator as Br, SidebarTrigger as Nr, useSidebar as yr } from "./components/ui/sidebar.es.js";
33
33
  import { Skeleton as kr } from "./components/ui/skeleton.es.js";
34
34
  import { Toaster as Ur } from "./components/ui/sonner.es.js";
35
35
  import { Table as Yr, TableBody as Kr, TableCaption as zr, TableCell as Xr, TableFooter as jr, TableHead as qr, TableHeader as Jr, TableRow as Qr } from "./components/ui/table.es.js";
@@ -37,49 +37,50 @@ import { Tabs as Zr, TabsContent as $r, TabsList as et, TabsTrigger as ot } from
37
37
  import { Tooltip as tt, TooltipContent as at, TooltipProvider as nt, TooltipTrigger as it } from "./components/ui/tooltip.es.js";
38
38
  import { TablePageLayout as mt } from "./components/ui/table-page-layout.es.js";
39
39
  import { useIsMobile as dt } from "./hooks/use-mobile.es.js";
40
- import { cn as St, getThemeHue as gt, logout as Tt, setThemeHue as bt } from "./utils/index.es.js";
41
- import { DataTable as Dt } from "./components/data-table/data-table.es.js";
42
- import { CHECK_BOX as ft, DEFAULT_DATE_COLUMNS as ct, ID_COLUMN as st } from "./components/data-table/table-commons.es.js";
43
- import { COMPARISON_OPERATOR_LABELS as It, DEFAULT_FILTERABLE_FIELDS as Pt, FILTERABLE_PROPERTY_TYPES as Lt, FILTER_COMPARISON_OPERATORS as Ft, OPERATORS_FOR_FILTER_TYPE as wt, RESOURCE_DEFINITIONS as Et, RESOURCE_NAMES as Rt, getLicenseStatus as vt, getResourceDisplayName as ht, getValidityDisplay as At, getValueFromData as Ot, secondsToDuration as Bt } from "./components/data-table/table-utils/constants.es.js";
44
- import { createTableFetchFn as _t } from "./components/data-table/table-utils/createTableFetchFn.es.js";
45
- import { FormatDate as Gt } from "./components/data-table/table-utils/date.es.js";
46
- import { getLinkDisplay as Ht } from "./components/data-table/table-utils/link-display.es.js";
47
- import { convertCamelCaseToTitleCase as Vt, convertToTitleCase as Yt, pluralizeTimes as Kt } from "./components/data-table/table-utils/string.es.js";
48
- import { DYNAMIC_INPUT_TARGET as Xt } from "./components/data-table/table-utils/types.es.js";
49
- import { KeyValueCard as qt } 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 Zt } from "./components/sidebar/nav-main.es.js";
52
- import { SideBar as ea } from "./components/sidebar/sidebar.es.js";
53
- import { StaticDataTable as ra } from "./components/static-data-table/data-table.es.js";
40
+ import { cn as St, getThemeHue as Tt, logout as gt, setThemeHue as Ct } from "./utils/index.es.js";
41
+ import { ACTIONS_COLUMN_ID as Dt, DataTable as xt } from "./components/data-table/data-table.es.js";
42
+ import { TABLE_CHECK_BOX_COLUMN as ct, TABLE_DEFAULT_DATE_COLUMNS as st, TABLE_ID_COLUMN as Mt } from "./components/data-table/table-commons.es.js";
43
+ import { ALL_OS as Lt, COMPARISON_OPERATOR_LABELS as Pt, DEFAULT_FILTERABLE_FIELDS as Et, FILTERABLE_PROPERTY_TYPES as At, FILTER_COMPARISON_OPERATORS as Ft, OPERATORS_FOR_FILTER_TYPE as wt, RESOURCE_DEFINITIONS as Ot, RESOURCE_NAMES as Rt, getLicenseStatus as vt, getResourceDisplayName as _t, getValidityDisplay as ht, getValueFromData as Bt, secondsToDuration as Nt } from "./components/data-table/table-utils/constants.es.js";
44
+ import { createTableFetchFn as Gt } 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 Vt } from "./components/data-table/table-utils/link-display.es.js";
47
+ import { convertCamelCaseToTitleCase as Kt, convertToTitleCase as zt, pluralizeTimes as Xt } from "./components/data-table/table-utils/string.es.js";
48
+ import { DYNAMIC_INPUT_TARGET as qt } from "./components/data-table/table-utils/types.es.js";
49
+ import { KeyValueCard as Qt } from "./components/key-value-card/key-value-card.es.js";
50
+ import { AppLayout as Zt } from "./components/sidebar/app-layout.es.js";
51
+ import { NavMain as ea } from "./components/sidebar/nav-main.es.js";
52
+ import { SideBar as ra } from "./components/sidebar/sidebar.es.js";
53
+ import { StaticDataTable as aa } from "./components/static-data-table/data-table.es.js";
54
54
  export {
55
+ Dt as ACTIONS_COLUMN_ID,
56
+ Lt as ALL_OS,
55
57
  t as Accordion,
56
58
  a as AccordionContent,
57
59
  n as AccordionItem,
58
60
  i as AccordionTrigger,
59
- Qt as AppLayout,
61
+ Zt as AppLayout,
60
62
  m as Avatar,
61
63
  l as AvatarFallback,
62
64
  d as AvatarImage,
63
65
  S as Badge,
64
- b as Breadcrumb,
65
- C as BreadcrumbEllipsis,
66
+ C as Breadcrumb,
67
+ b as BreadcrumbEllipsis,
66
68
  D as BreadcrumbItem,
67
69
  x as BreadcrumbLink,
68
70
  f as BreadcrumbList,
69
71
  c as BreadcrumbPage,
70
72
  s as BreadcrumbSeparator,
71
73
  I as Button,
72
- ft as CHECK_BOX,
73
- It as COMPARISON_OPERATOR_LABELS,
74
- F as Calendar,
75
- E as Card,
76
- R as CardContent,
77
- v as CardDescription,
78
- h as CardFooter,
79
- A as CardHeader,
80
- O as CardTitle,
81
- N as ChartContainer,
82
- _ as ChartLegend,
74
+ Pt as COMPARISON_OPERATOR_LABELS,
75
+ E as Calendar,
76
+ F as Card,
77
+ w as CardContent,
78
+ O as CardDescription,
79
+ R as CardFooter,
80
+ v as CardHeader,
81
+ _ as CardTitle,
82
+ B as ChartContainer,
83
+ N as ChartLegend,
83
84
  y as ChartLegendContent,
84
85
  G as ChartStyle,
85
86
  k as ChartTooltip,
@@ -98,10 +99,9 @@ export {
98
99
  oe as CommandSeparator,
99
100
  re as CommandShortcut,
100
101
  ae as CopyButton,
101
- ct as DEFAULT_DATE_COLUMNS,
102
- Pt as DEFAULT_FILTERABLE_FIELDS,
103
- Xt as DYNAMIC_INPUT_TARGET,
104
- Dt as DataTable,
102
+ Et as DEFAULT_FILTERABLE_FIELDS,
103
+ qt as DYNAMIC_INPUT_TARGET,
104
+ xt as DataTable,
105
105
  ie as Dialog,
106
106
  pe as DialogClose,
107
107
  me as DialogContent,
@@ -109,9 +109,9 @@ export {
109
109
  de as DialogFooter,
110
110
  ue as DialogHeader,
111
111
  Se as DialogOverlay,
112
- ge as DialogPortal,
113
- Te as DialogTitle,
114
- be as DialogTrigger,
112
+ Te as DialogPortal,
113
+ ge as DialogTitle,
114
+ Ce as DialogTrigger,
115
115
  De as Drawer,
116
116
  xe as DrawerClose,
117
117
  fe as DrawerContent,
@@ -119,25 +119,25 @@ export {
119
119
  se as DrawerFooter,
120
120
  Me as DrawerHeader,
121
121
  Ie as DrawerOverlay,
122
- Pe as DrawerPortal,
123
- Le as DrawerTitle,
124
- Fe as DrawerTrigger,
125
- Ee as DropdownMenu,
126
- Re as DropdownMenuCheckboxItem,
127
- ve as DropdownMenuContent,
128
- he as DropdownMenuGroup,
129
- Ae as DropdownMenuItem,
130
- Oe as DropdownMenuLabel,
131
- Be as DropdownMenuPortal,
132
- Ne as DropdownMenuRadioGroup,
133
- _e as DropdownMenuRadioItem,
122
+ Le as DrawerPortal,
123
+ Pe as DrawerTitle,
124
+ Ee as DrawerTrigger,
125
+ Fe as DropdownMenu,
126
+ we as DropdownMenuCheckboxItem,
127
+ Oe as DropdownMenuContent,
128
+ Re as DropdownMenuGroup,
129
+ ve as DropdownMenuItem,
130
+ _e as DropdownMenuLabel,
131
+ he as DropdownMenuPortal,
132
+ Be as DropdownMenuRadioGroup,
133
+ Ne as DropdownMenuRadioItem,
134
134
  ye as DropdownMenuSeparator,
135
135
  Ge as DropdownMenuShortcut,
136
136
  ke as DropdownMenuSub,
137
137
  He as DropdownMenuSubContent,
138
138
  Ue as DropdownMenuSubTrigger,
139
139
  Ve as DropdownMenuTrigger,
140
- Lt as FILTERABLE_PROPERTY_TYPES,
140
+ At as FILTERABLE_PROPERTY_TYPES,
141
141
  Ft as FILTER_COMPARISON_OPERATORS,
142
142
  Ke as Form,
143
143
  ze as FormControl,
@@ -146,41 +146,40 @@ export {
146
146
  qe as FormItem,
147
147
  Je as FormLabel,
148
148
  Qe as FormMessage,
149
- Gt as FormatDate,
150
- st as ID_COLUMN,
149
+ Ht as FormatDate,
151
150
  $e as Input,
152
151
  oo as InputOTP,
153
152
  ro as InputOTPGroup,
154
153
  to as InputOTPSeparator,
155
154
  ao as InputOTPSlot,
156
- qt as KeyValueCard,
155
+ Qt as KeyValueCard,
157
156
  io as Label,
158
157
  mo as LinkButton,
159
158
  uo as Loader,
160
- Zt as NavMain,
161
- go as NavigationMenu,
162
- To as NavigationMenuContent,
163
- bo as NavigationMenuIndicator,
164
- Co as NavigationMenuItem,
159
+ ea as NavMain,
160
+ To as NavigationMenu,
161
+ go as NavigationMenuContent,
162
+ Co as NavigationMenuIndicator,
163
+ bo as NavigationMenuItem,
165
164
  Do as NavigationMenuLink,
166
165
  xo as NavigationMenuList,
167
166
  fo as NavigationMenuListItem,
168
167
  co as NavigationMenuTrigger,
169
168
  so as NavigationMenuViewport,
170
169
  wt as OPERATORS_FOR_FILTER_TYPE,
171
- Po as Pagination,
172
- Lo as PaginationContent,
173
- Fo as PaginationEllipsis,
174
- wo as PaginationItem,
175
- Eo as PaginationLink,
176
- Ro as PaginationNext,
177
- vo as PaginationPrevious,
178
- Ao as PasswordInput,
179
- Bo as Popover,
180
- No as PopoverAnchor,
181
- _o as PopoverContent,
170
+ Lo as Pagination,
171
+ Po as PaginationContent,
172
+ Eo as PaginationEllipsis,
173
+ Ao as PaginationItem,
174
+ Fo as PaginationLink,
175
+ wo as PaginationNext,
176
+ Oo as PaginationPrevious,
177
+ vo as PasswordInput,
178
+ ho as Popover,
179
+ Bo as PopoverAnchor,
180
+ No as PopoverContent,
182
181
  yo as PopoverTrigger,
183
- Et as RESOURCE_DEFINITIONS,
182
+ Ot as RESOURCE_DEFINITIONS,
184
183
  Rt as RESOURCE_NAMES,
185
184
  ko as RadioGroup,
186
185
  Ho as RadioGroupItem,
@@ -206,10 +205,10 @@ export {
206
205
  dr as SheetPortal,
207
206
  ur as SheetTitle,
208
207
  Sr as SheetTrigger,
209
- ea as SideBar,
210
- Tr as Sidebar,
211
- br as SidebarContent,
212
- Cr as SidebarFooter,
208
+ ra as SideBar,
209
+ gr as Sidebar,
210
+ Cr as SidebarContent,
211
+ br as SidebarFooter,
213
212
  Dr as SidebarGroup,
214
213
  xr as SidebarGroupAction,
215
214
  fr as SidebarGroupContent,
@@ -217,21 +216,24 @@ export {
217
216
  sr as SidebarHeader,
218
217
  Mr as SidebarInput,
219
218
  Ir as SidebarInset,
220
- Pr as SidebarMenu,
221
- Lr as SidebarMenuAction,
222
- Fr as SidebarMenuBadge,
223
- wr as SidebarMenuButton,
224
- Er as SidebarMenuItem,
225
- Rr as SidebarMenuSkeleton,
226
- vr as SidebarMenuSub,
227
- hr as SidebarMenuSubButton,
228
- Ar as SidebarMenuSubItem,
229
- Or as SidebarProvider,
230
- Br as SidebarRail,
231
- Nr as SidebarSeparator,
232
- _r as SidebarTrigger,
219
+ Lr as SidebarMenu,
220
+ Pr as SidebarMenuAction,
221
+ Er as SidebarMenuBadge,
222
+ Ar as SidebarMenuButton,
223
+ Fr as SidebarMenuItem,
224
+ wr as SidebarMenuSkeleton,
225
+ Or as SidebarMenuSub,
226
+ Rr as SidebarMenuSubButton,
227
+ vr as SidebarMenuSubItem,
228
+ _r as SidebarProvider,
229
+ hr as SidebarRail,
230
+ Br as SidebarSeparator,
231
+ Nr as SidebarTrigger,
233
232
  kr as Skeleton,
234
- ra as StaticDataTable,
233
+ aa as StaticDataTable,
234
+ ct as TABLE_CHECK_BOX_COLUMN,
235
+ st as TABLE_DEFAULT_DATE_COLUMNS,
236
+ Mt as TABLE_ID_COLUMN,
235
237
  Yr as Table,
236
238
  Kr as TableBody,
237
239
  zr as TableCaption,
@@ -250,23 +252,23 @@ export {
250
252
  at as TooltipContent,
251
253
  nt as TooltipProvider,
252
254
  it as TooltipTrigger,
253
- g as badgeVariants,
254
- P as buttonVariants,
255
+ T as badgeVariants,
256
+ L as buttonVariants,
255
257
  St as cn,
256
- Vt as convertCamelCaseToTitleCase,
257
- Yt as convertToTitleCase,
258
- _t as createTableFetchFn,
258
+ Kt as convertCamelCaseToTitleCase,
259
+ zt as convertToTitleCase,
260
+ Gt as createTableFetchFn,
259
261
  vt as getLicenseStatus,
260
- Ht as getLinkDisplay,
261
- ht as getResourceDisplayName,
262
- gt as getThemeHue,
263
- At as getValidityDisplay,
264
- Ot as getValueFromData,
265
- Tt as logout,
262
+ Vt as getLinkDisplay,
263
+ _t as getResourceDisplayName,
264
+ Tt as getThemeHue,
265
+ ht as getValidityDisplay,
266
+ Bt as getValueFromData,
267
+ gt as logout,
266
268
  Mo as navigationMenuTriggerStyle,
267
- Kt as pluralizeTimes,
268
- Bt as secondsToDuration,
269
- bt as setThemeHue,
269
+ Xt as pluralizeTimes,
270
+ Nt as secondsToDuration,
271
+ Ct as setThemeHue,
270
272
  We as useFormField,
271
273
  dt as useIsMobile,
272
274
  yr as useSidebar
package/lib/index.css CHANGED
@@ -1,62 +1,9 @@
1
1
  @import url('tokens.css');
2
- @tailwind base;
3
- @tailwind components;
4
- @tailwind utilities;
2
+ @import 'tailwindcss';
3
+ @import './tailwind.preset.css';
5
4
 
6
- :root {
7
- /* shad/cn tokens */
8
- --background: var(--neutral-1);
9
- --foreground: var(--neutral-10);
10
-
11
- --card: var(--neutral-2);
12
- --card-foreground: var(--foreground);
13
- --popover: var(--background);
14
- --popover-foreground: var(--foreground);
15
-
16
- --primary: var(--primary-8);
17
- --primary-foreground: var(--primary-2);
18
-
19
- --secondary: var(--secondary-8);
20
- --secondary-foreground: var(--secondary-2);
21
-
22
- --muted: var(--neutral-7);
23
- --muted-foreground: var(--neutral-4);
24
-
25
- --accent: var(--neutral-7);
26
- --accent-foreground: var(--neutral-4);
27
-
28
- --destructive: var(--destructive-8);
29
- --destructive-foreground: var(--destructive-2);
30
-
31
- --success: var(--success-8);
32
- --succcess-foreground: var(--success-2);
33
-
34
- --border: var(--neutral-3);
35
- --input: var(--border);
36
- --ring: var(--neutral-5);
37
-
38
- --chart-1: var(--primary-5);
39
- --chart-2: var(--primary-4);
40
- --chart-3: var(--secondary-5);
41
- --chart-4: var(--secondary-4);
42
- --chart-5: var(--secondary-2);
43
-
44
- --radius: 0.25rem;
45
-
46
- --sidebar-background: var(--background);
47
- --sidebar-foreground: var(--foreground);
48
-
49
- --sidebar-primary: 240 5.9% 10%;
50
- --sidebar-primary-foreground: 0 0% 98%;
51
-
52
- --sidebar-accent: 240 4.8% 95.9%;
53
- --sidebar-accent-foreground: 240 5.9% 10%;
54
-
55
- --sidebar-border: 220 13% 91%;
56
- --sidebar-ring: 217.2 91.2% 59.8%;
57
-
58
- /** Grid Tokens */
59
- --grid-fluid-min: 16rem;
5
+ @utility link {
6
+ @apply text-primary underline hover:underline-offset-2 hover:text-primary/70;
60
7
  }
61
8
 
62
9
  @layer base {
@@ -68,42 +15,23 @@
68
15
  @apply link;
69
16
  }
70
17
 
71
- h1 {
72
- @apply text-heading-1;
73
- }
74
-
75
- h2 {
76
- @apply text-heading-2;
77
- }
78
-
79
- h3 {
80
- @apply text-heading-3;
81
- }
82
-
83
- h4 {
84
- @apply text-heading-4;
85
- }
86
-
87
- h5 {
88
- @apply text-heading-5;
18
+ body {
19
+ @apply bg-background/50 text-foreground;
89
20
  }
90
21
 
91
- h6 {
92
- @apply text-heading-6;
22
+ *::-webkit-scrollbar {
23
+ width: 6px;
24
+ height: 6px;
93
25
  }
94
26
 
95
- p {
96
- @apply text-body;
97
- }
98
-
99
- body {
100
- @apply bg-background text-foreground;
27
+ *::-webkit-scrollbar-track {
28
+ background: white;
29
+ border-radius: 2px;
101
30
  }
102
31
 
103
- }
32
+ *::-webkit-scrollbar-thumb {
33
+ background-color: gray;
104
34
 
105
- @layer components {
106
- .link {
107
- @apply text-primary underline hover:underline-offset-2 hover:text-primary/70;
35
+ border: 3px solid gray;
108
36
  }
109
37
  }