@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.
Files changed (94) hide show
  1. package/README.md +4 -13
  2. package/dist/components/data-table/column-picker.es.js +3 -4
  3. package/dist/components/data-table/column-picker.es.js.map +1 -1
  4. package/dist/components/data-table/data-table.es.js +84 -83
  5. package/dist/components/data-table/data-table.es.js.map +1 -1
  6. package/dist/components/data-table/page-size.es.js +5 -5
  7. package/dist/components/data-table/page-size.es.js.map +1 -1
  8. package/dist/components/data-table/paginator.es.js +25 -31
  9. package/dist/components/data-table/paginator.es.js.map +1 -1
  10. package/dist/components/data-table/table-actions.es.js +26 -27
  11. package/dist/components/data-table/table-actions.es.js.map +1 -1
  12. package/dist/components/data-table/table-commons.es.js +5 -4
  13. package/dist/components/data-table/table-commons.es.js.map +1 -1
  14. package/dist/components/data-table/table-content.es.js +34 -31
  15. package/dist/components/data-table/table-content.es.js.map +1 -1
  16. package/dist/components/data-table/table-filter.es.js +42 -45
  17. package/dist/components/data-table/table-filter.es.js.map +1 -1
  18. package/dist/components/key-value-card/key-value-card.es.js +17 -14
  19. package/dist/components/key-value-card/key-value-card.es.js.map +1 -1
  20. package/dist/components/sidebar/app-layout.es.js +11 -15
  21. package/dist/components/sidebar/app-layout.es.js.map +1 -1
  22. package/dist/components/sidebar/breadcrumb.es.js +2 -3
  23. package/dist/components/sidebar/breadcrumb.es.js.map +1 -1
  24. package/dist/components/sidebar/nav-main.es.js +18 -18
  25. package/dist/components/sidebar/nav-main.es.js.map +1 -1
  26. package/dist/components/static-data-table/data-table.es.js +14 -14
  27. package/dist/components/static-data-table/data-table.es.js.map +1 -1
  28. package/dist/components/ui/accordion.es.js +9 -9
  29. package/dist/components/ui/accordion.es.js.map +1 -1
  30. package/dist/components/ui/avatar.es.js +16 -16
  31. package/dist/components/ui/avatar.es.js.map +1 -1
  32. package/dist/components/ui/badge.es.js +5 -24
  33. package/dist/components/ui/badge.es.js.map +1 -1
  34. package/dist/components/ui/breadcrumb.es.js +10 -10
  35. package/dist/components/ui/breadcrumb.es.js.map +1 -1
  36. package/dist/components/ui/button.es.js +17 -18
  37. package/dist/components/ui/button.es.js.map +1 -1
  38. package/dist/components/ui/calendar.es.js +8 -8
  39. package/dist/components/ui/calendar.es.js.map +1 -1
  40. package/dist/components/ui/card.es.js +21 -21
  41. package/dist/components/ui/card.es.js.map +1 -1
  42. package/dist/components/ui/chart.es.js +76 -102
  43. package/dist/components/ui/chart.es.js.map +1 -1
  44. package/dist/components/ui/checkbox.es.js +13 -19
  45. package/dist/components/ui/checkbox.es.js.map +1 -1
  46. package/dist/components/ui/command.es.js +4 -4
  47. package/dist/components/ui/command.es.js.map +1 -1
  48. package/dist/components/ui/copy-button.es.js +20 -34
  49. package/dist/components/ui/copy-button.es.js.map +1 -1
  50. package/dist/components/ui/dialog.es.js +32 -32
  51. package/dist/components/ui/dialog.es.js.map +1 -1
  52. package/dist/components/ui/drawer.es.js +2 -2
  53. package/dist/components/ui/drawer.es.js.map +1 -1
  54. package/dist/components/ui/dropdown-menu.es.js +74 -82
  55. package/dist/components/ui/dropdown-menu.es.js.map +1 -1
  56. package/dist/components/ui/input-otp.es.js +17 -17
  57. package/dist/components/ui/input-otp.es.js.map +1 -1
  58. package/dist/components/ui/input.es.js +7 -7
  59. package/dist/components/ui/input.es.js.map +1 -1
  60. package/dist/components/ui/link-button.es.js +6 -6
  61. package/dist/components/ui/link-button.es.js.map +1 -1
  62. package/dist/components/ui/mutli-select.es.js +52 -52
  63. package/dist/components/ui/mutli-select.es.js.map +1 -1
  64. package/dist/components/ui/navigation-menu.es.js +34 -34
  65. package/dist/components/ui/navigation-menu.es.js.map +1 -1
  66. package/dist/components/ui/pagination.es.js +38 -38
  67. package/dist/components/ui/pagination.es.js.map +1 -1
  68. package/dist/components/ui/password-input.es.js +13 -13
  69. package/dist/components/ui/password-input.es.js.map +1 -1
  70. package/dist/components/ui/radio-group.es.js +11 -11
  71. package/dist/components/ui/radio-group.es.js.map +1 -1
  72. package/dist/components/ui/search-input.es.js +11 -11
  73. package/dist/components/ui/search-input.es.js.map +1 -1
  74. package/dist/components/ui/select.es.js +31 -49
  75. package/dist/components/ui/select.es.js.map +1 -1
  76. package/dist/components/ui/sheet.es.js +17 -17
  77. package/dist/components/ui/sheet.es.js.map +1 -1
  78. package/dist/components/ui/sidebar.es.js +2 -3
  79. package/dist/components/ui/sidebar.es.js.map +1 -1
  80. package/dist/components/ui/table-page-layout.es.js +2 -2
  81. package/dist/components/ui/table-page-layout.es.js.map +1 -1
  82. package/dist/components/ui/table.es.js +37 -37
  83. package/dist/components/ui/table.es.js.map +1 -1
  84. package/dist/components/ui/tabs.es.js +2 -2
  85. package/dist/components/ui/tabs.es.js.map +1 -1
  86. package/dist/components/ui/tooltip.es.js +8 -8
  87. package/dist/components/ui/tooltip.es.js.map +1 -1
  88. package/dist/index.es.d.ts +29 -54
  89. package/dist/index.es.js +253 -256
  90. package/dist/utils/index.es.js.map +1 -1
  91. package/lib/index.css +24 -5
  92. package/lib/tailwind.preset.css +52 -40
  93. package/lib/tokens.css +0 -9
  94. 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, 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 L } 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 A, CardHeader as O, CardTitle as h } 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";
9
- import { Checkbox as V } from "./components/ui/checkbox.es.js";
10
- import { Collapsible as K, CollapsibleContent as z, CollapsibleTrigger as X } from "./components/ui/collapsible.es.js";
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
- 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 Le, DrawerTitle as Pe, DrawerTrigger as Fe } from "./components/ui/drawer.es.js";
15
- import { DropdownMenu as Ee, DropdownMenuCheckboxItem as Re, DropdownMenuContent as ve, DropdownMenuGroup as Ae, DropdownMenuItem as Oe, DropdownMenuLabel as he, 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";
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
- import { Input as $e } from "./components/ui/input.es.js";
18
- import { InputOTP as oo, InputOTPGroup as ro, InputOTPSeparator as to, InputOTPSlot as ao } from "./components/ui/input-otp.es.js";
19
- import { Label as io } from "./components/ui/label.es.js";
20
- import { LinkButton as mo } from "./components/ui/link-button.es.js";
21
- import { Loader as uo } from "./components/ui/loader.es.js";
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 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 Lo, PaginationContent as Po, 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 Oo } 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";
27
- import { RadioGroup as ko, RadioGroupItem as Ho } from "./components/ui/radio-group.es.js";
28
- import { SearchInput as Vo } from "./components/ui/search-input.es.js";
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
- import { Separator as or } from "./components/ui/separator.es.js";
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 Lr, SidebarMenuAction as Pr, SidebarMenuBadge as Fr, SidebarMenuButton as wr, SidebarMenuItem as Er, SidebarMenuSkeleton as Rr, SidebarMenuSub as vr, SidebarMenuSubButton as Ar, SidebarMenuSubItem as Or, SidebarProvider as hr, SidebarRail as Br, SidebarSeparator as Nr, SidebarTrigger as _r, useSidebar as yr } from "./components/ui/sidebar.es.js";
33
- import { Skeleton as kr } from "./components/ui/skeleton.es.js";
34
- import { Toaster as Ur } from "./components/ui/sonner.es.js";
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";
36
- import { Tabs as Zr, TabsContent as $r, TabsList as et, TabsTrigger as ot } from "./components/ui/tabs.es.js";
37
- import { Tooltip as tt, TooltipContent as at, TooltipProvider as nt, TooltipTrigger as it } from "./components/ui/tooltip.es.js";
38
- import { TablePageLayout as mt } from "./components/ui/table-page-layout.es.js";
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 { ALL_OS as It, COMPARISON_OPERATOR_LABELS as Lt, DEFAULT_FILTERABLE_FIELDS as Pt, FILTERABLE_PROPERTY_TYPES as Ft, FILTER_COMPARISON_OPERATORS as wt, OPERATORS_FOR_FILTER_TYPE as Et, RESOURCE_DEFINITIONS as Rt, RESOURCE_NAMES as vt, getLicenseStatus as At, getResourceDisplayName as Ot, getValidityDisplay as ht, getValueFromData as Bt, secondsToDuration as Nt } from "./components/data-table/table-utils/constants.es.js";
44
- import { createTableFetchFn as yt } from "./components/data-table/table-utils/createTableFetchFn.es.js";
45
- import { FormatDate as kt } from "./components/data-table/table-utils/date.es.js";
46
- import { getLinkDisplay as Ut } from "./components/data-table/table-utils/link-display.es.js";
47
- import { convertCamelCaseToTitleCase as Yt, convertToTitleCase as Kt, pluralizeTimes as zt } from "./components/data-table/table-utils/string.es.js";
48
- import { DYNAMIC_INPUT_TARGET as jt } from "./components/data-table/table-utils/types.es.js";
49
- import { KeyValueCard as Jt } from "./components/key-value-card/key-value-card.es.js";
50
- import { AppLayout as Wt } from "./components/sidebar/app-layout.es.js";
51
- import { NavMain as $t } from "./components/sidebar/nav-main.es.js";
52
- import { SideBar as oa } from "./components/sidebar/sidebar.es.js";
53
- import { StaticDataTable as ta } from "./components/static-data-table/data-table.es.js";
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
- It as ALL_OS,
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
- Wt as AppLayout,
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
- b as Breadcrumb,
66
+ g as Breadcrumb,
66
67
  C as BreadcrumbEllipsis,
67
- D as BreadcrumbItem,
68
- x as BreadcrumbLink,
69
- f as BreadcrumbList,
70
- c as BreadcrumbPage,
71
- s as BreadcrumbSeparator,
72
- I as Button,
73
- ft as CHECK_BOX,
74
- Lt as COMPARISON_OPERATOR_LABELS,
75
- F as Calendar,
76
- E as Card,
77
- R as CardContent,
78
- v as CardDescription,
79
- A as CardFooter,
80
- O as CardHeader,
81
- h as CardTitle,
82
- N as ChartContainer,
83
- _ as ChartLegend,
84
- y as ChartLegendContent,
85
- G as ChartStyle,
86
- k as ChartTooltip,
87
- H as ChartTooltipContent,
88
- V as Checkbox,
89
- K as Collapsible,
90
- z as CollapsibleContent,
91
- X as CollapsibleTrigger,
92
- q as Command,
93
- J as CommandDialog,
94
- Q as CommandEmpty,
95
- W as CommandGroup,
96
- Z as CommandInput,
97
- $ as CommandItem,
98
- ee as CommandList,
99
- oe as CommandSeparator,
100
- re as CommandShortcut,
101
- ae as CopyButton,
102
- ct as DEFAULT_DATE_COLUMNS,
103
- Pt as DEFAULT_FILTERABLE_FIELDS,
104
- jt as DYNAMIC_INPUT_TARGET,
105
- Dt as DataTable,
106
- ie as Dialog,
107
- pe as DialogClose,
108
- me as DialogContent,
109
- le as DialogDescription,
110
- de as DialogFooter,
111
- ue as DialogHeader,
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
- be as DialogTrigger,
116
- De as Drawer,
117
- xe as DrawerClose,
118
- fe as DrawerContent,
119
- ce as DrawerDescription,
120
- se as DrawerFooter,
121
- Me as DrawerHeader,
122
- Ie as DrawerOverlay,
123
- Le as DrawerPortal,
124
- Pe as DrawerTitle,
125
- Fe as DrawerTrigger,
126
- Ee as DropdownMenu,
127
- Re as DropdownMenuCheckboxItem,
128
- ve as DropdownMenuContent,
129
- Ae as DropdownMenuGroup,
130
- Oe as DropdownMenuItem,
131
- he as DropdownMenuLabel,
132
- Be as DropdownMenuPortal,
133
- Ne as DropdownMenuRadioGroup,
134
- _e as DropdownMenuRadioItem,
135
- ye as DropdownMenuSeparator,
136
- Ge as DropdownMenuShortcut,
137
- ke as DropdownMenuSub,
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
- Ve as DropdownMenuTrigger,
141
- Ft as FILTERABLE_PROPERTY_TYPES,
142
- wt as FILTER_COMPARISON_OPERATORS,
143
- Ke as Form,
144
- ze as FormControl,
145
- Xe as FormDescription,
146
- je as FormField,
147
- qe as FormItem,
148
- Je as FormLabel,
149
- Qe as FormMessage,
150
- kt as FormatDate,
151
- st as ID_COLUMN,
152
- $e as Input,
153
- oo as InputOTP,
154
- ro as InputOTPGroup,
155
- to as InputOTPSeparator,
156
- ao as InputOTPSlot,
157
- Jt as KeyValueCard,
158
- io as Label,
159
- mo as LinkButton,
160
- uo as Loader,
161
- $t as NavMain,
162
- go as NavigationMenu,
163
- To as NavigationMenuContent,
164
- bo as NavigationMenuIndicator,
165
- Co as NavigationMenuItem,
166
- Do as NavigationMenuLink,
167
- xo as NavigationMenuList,
168
- fo as NavigationMenuListItem,
169
- co as NavigationMenuTrigger,
170
- so as NavigationMenuViewport,
171
- Et as OPERATORS_FOR_FILTER_TYPE,
172
- Lo as Pagination,
173
- Po as PaginationContent,
174
- Fo as PaginationEllipsis,
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
- Ro as PaginationNext,
178
- vo as PaginationPrevious,
179
- Oo as PasswordInput,
180
- Bo as Popover,
181
- No as PopoverAnchor,
182
- _o as PopoverContent,
183
- yo as PopoverTrigger,
184
- Rt as RESOURCE_DEFINITIONS,
185
- vt as RESOURCE_NAMES,
186
- ko as RadioGroup,
187
- Ho as RadioGroupItem,
188
- Vo as SearchInput,
189
- Ko as Select,
190
- zo as SelectContent,
191
- Xo as SelectGroup,
192
- jo as SelectItem,
193
- qo as SelectLabel,
194
- Jo as SelectScrollDownButton,
195
- Qo as SelectScrollUpButton,
196
- Wo as SelectSeparator,
197
- Zo as SelectTrigger,
198
- $o as SelectValue,
199
- or as Separator,
200
- tr as Sheet,
201
- ar as SheetClose,
202
- nr as SheetContent,
203
- ir as SheetDescription,
204
- pr as SheetFooter,
205
- mr as SheetHeader,
206
- lr as SheetOverlay,
207
- dr as SheetPortal,
208
- ur as SheetTitle,
209
- Sr as SheetTrigger,
210
- oa as SideBar,
211
- Tr as Sidebar,
212
- br as SidebarContent,
213
- Cr as SidebarFooter,
214
- Dr as SidebarGroup,
215
- xr as SidebarGroupAction,
216
- fr as SidebarGroupContent,
217
- cr as SidebarGroupLabel,
218
- sr as SidebarHeader,
219
- Mr as SidebarInput,
220
- Ir as SidebarInset,
221
- Lr as SidebarMenu,
222
- Pr as SidebarMenuAction,
223
- Fr as SidebarMenuBadge,
224
- wr as SidebarMenuButton,
225
- Er as SidebarMenuItem,
226
- Rr as SidebarMenuSkeleton,
227
- vr as SidebarMenuSub,
228
- Ar as SidebarMenuSubButton,
229
- Or as SidebarMenuSubItem,
230
- hr as SidebarProvider,
231
- Br as SidebarRail,
232
- Nr as SidebarSeparator,
233
- _r as SidebarTrigger,
234
- kr as Skeleton,
235
- ta as StaticDataTable,
236
- Yr as Table,
237
- Kr as TableBody,
238
- zr as TableCaption,
239
- Xr as TableCell,
240
- jr as TableFooter,
241
- qr as TableHead,
242
- Jr as TableHeader,
243
- mt as TablePageLayout,
244
- Qr as TableRow,
245
- Zr as Tabs,
246
- $r as TabsContent,
247
- et as TabsList,
248
- ot as TabsTrigger,
249
- Ur as Toaster,
250
- tt as Tooltip,
251
- at as TooltipContent,
252
- nt as TooltipProvider,
253
- it as TooltipTrigger,
254
- g as badgeVariants,
255
- L as buttonVariants,
256
- St as cn,
257
- Yt as convertCamelCaseToTitleCase,
258
- Kt as convertToTitleCase,
259
- yt as createTableFetchFn,
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
- Ut as getLinkDisplay,
262
- Ot as getResourceDisplayName,
263
- gt as getThemeHue,
264
- ht as getValidityDisplay,
265
- Bt as getValueFromData,
266
- Tt as logout,
267
- Mo as navigationMenuTriggerStyle,
268
- zt as pluralizeTimes,
269
- Nt as secondsToDuration,
270
- bt as setThemeHue,
271
- We as useFormField,
272
- dt as useIsMobile,
273
- yr as useSidebar
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;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;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;"}
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
  }