@brightlocal/ui-components 2.6.0 → 2.7.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/dist/index.js CHANGED
@@ -1,91 +1,90 @@
1
1
  import { Accordion as r, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./accordion.js";
2
- import { Alert as l, AlertDescription as p, AlertDestructive as u, AlertInfo as d, AlertSuccess as b, AlertTitle as C, AlertWarning as m, alertVariants as g } from "./alert.js";
3
- import { AlertDialog as s, AlertDialogAction as x, AlertDialogCancel as T, AlertDialogContent as c, AlertDialogDescription as D, AlertDialogFooter as f, AlertDialogHeader as M, AlertDialogOverlay as I, AlertDialogPortal as h, AlertDialogTitle as L, AlertDialogTrigger as P } from "./alert-dialog.js";
2
+ import { Alert as p, AlertDescription as l, AlertDestructive as u, AlertInfo as d, AlertSuccess as b, AlertTitle as C, AlertWarning as m, alertVariants as g } from "./alert.js";
3
+ import { AlertDialog as s, AlertDialogAction as x, AlertDialogCancel as T, AlertDialogContent as c, AlertDialogDescription as D, AlertDialogFooter as M, AlertDialogHeader as f, AlertDialogOverlay as I, AlertDialogPortal as h, AlertDialogTitle as L, AlertDialogTrigger as P } from "./alert-dialog.js";
4
4
  import { AspectRatio as A } from "./aspect-ratio.js";
5
- import { Avatar as w, AvatarFallback as R, AvatarImage as B } from "./avatar.js";
5
+ import { Avatar as G, AvatarFallback as R, AvatarImage as B } from "./avatar.js";
6
6
  import { Badge as H } from "./badge.js";
7
- import { Breadcrumb as k, BreadcrumbEllipsis as E, BreadcrumbItem as F, BreadcrumbLink as O, BreadcrumbList as N, BreadcrumbPage as _, BreadcrumbSeparator as z } from "./breadcrumb.js";
7
+ import { Breadcrumb as k, BreadcrumbEllipsis as E, BreadcrumbItem as F, BreadcrumbLink as N, BreadcrumbList as O, BreadcrumbPage as _, BreadcrumbSeparator as z } from "./breadcrumb.js";
8
8
  import { Button as X, ButtonVariants as Y } from "./button.js";
9
9
  import { Calendar as q, CalendarDayButton as j } from "./calendar.js";
10
10
  import { Callout as K, CalloutCitation as Q, CalloutHeading as Z, calloutVariants as $ } from "./callout.js";
11
- import { Card as oe, CardAction as re, CardContent as te, CardDescription as ae, CardFooter as ne, CardHeader as ie, CardTitle as le } from "./card.js";
11
+ import { Card as oe, CardAction as re, CardContent as te, CardDescription as ae, CardFooter as ne, CardHeader as ie, CardTitle as pe } from "./card.js";
12
12
  import { Carousel as ue, CarouselContent as de, CarouselDots as be, CarouselItem as Ce, CarouselNext as me, CarouselPrevious as ge } from "./carousel.js";
13
- import { ChartContainer as se, ChartLegend as xe, ChartLegendContent as Te, ChartStyle as ce, ChartTooltip as De, ChartTooltipContent as fe } from "./chart.js";
13
+ import { ChartContainer as se, ChartLegend as xe, ChartLegendContent as Te, ChartStyle as ce, ChartTooltip as De, ChartTooltipContent as Me } from "./chart.js";
14
14
  import { CentredLayout as Ie, CentredLayoutContent as he, CentredLayoutHeader as Le } from "./centred-layout.js";
15
15
  import { Checkbox as ye } from "./checkbox.js";
16
- import { Chip as Ge, chipVariants as we } from "./chip.js";
16
+ import { Chip as we, chipVariants as Ge } from "./chip.js";
17
17
  import { Collapsible as Be, CollapsibleContent as ve, CollapsibleTrigger as He } from "./collapsible.js";
18
- import { Combobox as ke, ComboboxContent as Ee, ComboboxEmpty as Fe, ComboboxGroup as Oe, ComboboxInput as Ne, ComboboxItem as _e, ComboboxList as ze, ComboboxLoading as We, ComboboxSeparator as Xe, ComboboxTrigger as Ye, ComboboxValue as Ue, ComboboxVirtualList as qe } from "./combobox.js";
18
+ import { Combobox as ke, ComboboxContent as Ee, ComboboxEmpty as Fe, ComboboxGroup as Ne, ComboboxInput as Oe, ComboboxItem as _e, ComboboxList as ze, ComboboxLoading as We, ComboboxSeparator as Xe, ComboboxTrigger as Ye, ComboboxValue as Ue, ComboboxVirtualList as qe } from "./combobox.js";
19
19
  import { Command as Je, CommandEmpty as Ke, CommandGroup as Qe, CommandInput as Ze, CommandItem as $e, CommandList as eo, CommandSeparator as oo, CommandShortcut as ro } from "./command.js";
20
- import { DEFAULT_DATE_PRESETS as ao, DatePickerCalendar as no, DatePickerContent as io, DatePickerPresets as lo, DatePickerRoot as po, DatePickerTrigger as uo } from "./date-picker.js";
21
- import { ContextMenu as Co, ContextMenuCheckboxItem as mo, ContextMenuContent as go, ContextMenuGroup as So, ContextMenuItem as so, ContextMenuLabel as xo, ContextMenuPortal as To, ContextMenuRadioGroup as co, ContextMenuRadioItem as Do, ContextMenuSeparator as fo, ContextMenuShortcut as Mo, ContextMenuSub as Io, ContextMenuSubContent as ho, ContextMenuSubTrigger as Lo, ContextMenuTrigger as Po } from "./context-menu.js";
20
+ import { DEFAULT_DATE_PRESETS as ao, DatePickerCalendar as no, DatePickerContent as io, DatePickerPresets as po, DatePickerRoot as lo, DatePickerTrigger as uo } from "./date-picker.js";
21
+ import { ContextMenu as Co, ContextMenuCheckboxItem as mo, ContextMenuContent as go, ContextMenuGroup as So, ContextMenuItem as so, ContextMenuLabel as xo, ContextMenuPortal as To, ContextMenuRadioGroup as co, ContextMenuRadioItem as Do, ContextMenuSeparator as Mo, ContextMenuShortcut as fo, ContextMenuSub as Io, ContextMenuSubContent as ho, ContextMenuSubTrigger as Lo, ContextMenuTrigger as Po } from "./context-menu.js";
22
22
  import { Description as Ao } from "./description.js";
23
- import { Dialog as wo, DialogClose as Ro, DialogContent as Bo, DialogDescription as vo, DialogFooter as Ho, DialogHeader as Vo, DialogOverlay as ko, DialogPortal as Eo, DialogTitle as Fo, DialogTrigger as Oo } from "./dialog.js";
23
+ import { Dialog as Go, DialogClose as Ro, DialogContent as Bo, DialogDescription as vo, DialogFooter as Ho, DialogHeader as Vo, DialogOverlay as ko, DialogPortal as Eo, DialogTitle as Fo, DialogTrigger as No } from "./dialog.js";
24
24
  import { Drawer as _o, DrawerBody as zo, DrawerClose as Wo, DrawerContent as Xo, DrawerDescription as Yo, DrawerFooter as Uo, DrawerHeader as qo, DrawerOverlay as jo, DrawerPortal as Jo, DrawerTitle as Ko, DrawerTrigger as Qo } from "./drawer.js";
25
- import { DropdownMenu as $o, DropdownMenuCheckboxItem as er, DropdownMenuContent as or, DropdownMenuGroup as rr, DropdownMenuItem as tr, DropdownMenuLabel as ar, DropdownMenuPortal as nr, DropdownMenuRadioGroup as ir, DropdownMenuRadioItem as lr, DropdownMenuSeparator as pr, DropdownMenuShortcut as ur, DropdownMenuSub as dr, DropdownMenuSubContent as br, DropdownMenuSubTrigger as Cr, DropdownMenuTrigger as mr, DropdownMenuTriggerAvatar as gr } from "./dropdown-menu.js";
26
- import { Field as sr, FieldContent as xr, FieldDescription as Tr, FieldError as cr, FieldErrorIcon as Dr, FieldGroup as fr, FieldLabel as Mr, FieldLegend as Ir, FieldSet as hr, fieldLegendVariants as Lr } from "./field.js";
27
- import { GlobalLayout as yr, GlobalLayoutContent as Ar, GlobalLayoutContentBody as Gr, GlobalLayoutContentHeader as wr, GlobalLayoutMobileHeader as Rr, GlobalLayoutSidebar as Br } from "./global-layout.js";
25
+ import { DropdownMenu as $o, DropdownMenuCheckboxItem as er, DropdownMenuContent as or, DropdownMenuGroup as rr, DropdownMenuItem as tr, DropdownMenuLabel as ar, DropdownMenuPortal as nr, DropdownMenuRadioGroup as ir, DropdownMenuRadioItem as pr, DropdownMenuSeparator as lr, DropdownMenuShortcut as ur, DropdownMenuSub as dr, DropdownMenuSubContent as br, DropdownMenuSubTrigger as Cr, DropdownMenuTrigger as mr, DropdownMenuTriggerAvatar as gr } from "./dropdown-menu.js";
26
+ import { Field as sr, FieldContent as xr, FieldDescription as Tr, FieldError as cr, FieldErrorIcon as Dr, FieldGroup as Mr, FieldLabel as fr, FieldLegend as Ir, FieldSet as hr, fieldLegendVariants as Lr } from "./field.js";
27
+ import { GlobalLayout as yr, GlobalLayoutContent as Ar, GlobalLayoutContentBody as wr, GlobalLayoutContentHeader as Gr, GlobalLayoutMobileHeader as Rr, GlobalLayoutSidebar as Br } from "./global-layout.js";
28
28
  import { Header as Hr } from "./header.js";
29
29
  import { HoverCard as kr, HoverCardContent as Er, HoverCardTrigger as Fr } from "./hover-card.js";
30
- import { Input as Nr, inputVariants as _r } from "./input.js";
30
+ import { Input as Or, inputVariants as _r } from "./input.js";
31
31
  import { InputChip as Wr, InputChipInput as Xr, InputChipItems as Yr, inputChipInputVariants as Ur, inputChipVariants as qr, useInputChipContext as jr } from "./input-chip.js";
32
32
  import { InputGroup as Kr, InputGroupAddon as Qr, InputGroupButton as Zr, InputGroupInput as $r, inputGroupButtonVariants as et, inputGroupVariants as ot } from "./input-group.js";
33
- import { InputOTP as tt, InputOTPDigitsOnly as at, InputOTPGroup as nt, InputOTPSeparator as it, InputOTPSimple as lt, InputOTPSlot as pt, InputOTPWithSeparator as ut, InputOTPWithSpacing as dt } from "./input-otp.js";
33
+ import { InputOTP as tt, InputOTPDigitsOnly as at, InputOTPGroup as nt, InputOTPSeparator as it, InputOTPSimple as pt, InputOTPSlot as lt, InputOTPWithSeparator as ut, InputOTPWithSpacing as dt } from "./input-otp.js";
34
34
  import { Label as Ct, labelVariants as mt } from "./label.js";
35
35
  import { Link as St } from "./link.js";
36
- import { Item as xt, ItemActions as Tt, ItemContent as ct, ItemDescription as Dt, ItemMedia as ft, ItemTitle as Mt, List as It, itemVariants as ht } from "./list.js";
36
+ import { Item as xt, ItemActions as Tt, ItemContent as ct, ItemDescription as Dt, ItemMedia as Mt, ItemTitle as ft, List as It, itemVariants as ht } from "./list.js";
37
37
  import { Logo as Pt } from "./logo.js";
38
- import { Menubar as At, MenubarCheckboxItem as Gt, MenubarContent as wt, MenubarItem as Rt, MenubarLabel as Bt, MenubarMenu as vt, MenubarRadioGroup as Ht, MenubarRadioItem as Vt, MenubarSeparator as kt, MenubarShortcut as Et, MenubarSub as Ft, MenubarSubContent as Ot, MenubarSubTrigger as Nt, MenubarTrigger as _t } from "./menubar.js";
38
+ import { Menubar as At, MenubarCheckboxItem as wt, MenubarContent as Gt, MenubarItem as Rt, MenubarLabel as Bt, MenubarMenu as vt, MenubarRadioGroup as Ht, MenubarRadioItem as Vt, MenubarSeparator as kt, MenubarShortcut as Et, MenubarSub as Ft, MenubarSubContent as Nt, MenubarSubTrigger as Ot, MenubarTrigger as _t } from "./menubar.js";
39
39
  import { NavigationMenu as Wt, NavigationMenuContent as Xt, NavigationMenuIndicator as Yt, NavigationMenuItem as Ut, NavigationMenuLink as qt, NavigationMenuList as jt, NavigationMenuTrigger as Jt, NavigationMenuViewport as Kt } from "./navigation-menu.js";
40
40
  import { Pagination as Zt, PaginationButton as $t, PaginationContent as ea, PaginationEllipsis as oa, PaginationItem as ra, PaginationLink as ta, PaginationNext as aa, PaginationPrevious as na, usePagination as ia } from "./pagination.js";
41
- import { DEFAULT_STRENGTH_LEVELS as pa, InputPasswordField as ua, InputPasswordRoot as da, InputPasswordStrength as ba, InputPasswordToggle as Ca, calculatePasswordStrength as ma } from "./input-password.js";
41
+ import { DEFAULT_STRENGTH_LEVELS as la, InputPasswordField as ua, InputPasswordRoot as da, InputPasswordStrength as ba, InputPasswordToggle as Ca, calculatePasswordStrength as ma } from "./input-password.js";
42
42
  import { Popover as Sa, PopoverAnchor as sa, PopoverContent as xa, PopoverTrigger as Ta } from "./popover.js";
43
43
  import { Progress as Da } from "./progress.js";
44
- import { RadioGroup as Ma, RadioGroupItem as Ia } from "./radio-group.js";
44
+ import { RadioGroup as fa, RadioGroupItem as Ia } from "./radio-group.js";
45
45
  import { Rating as La } from "./rating.js";
46
- import { ResizableHandle as ya, ResizablePanel as Aa, ResizablePanelGroup as Ga } from "./resizable.js";
46
+ import { ResizableHandle as ya, ResizablePanel as Aa, ResizablePanelGroup as wa } from "./resizable.js";
47
47
  import { ScrollArea as Ra, ScrollBar as Ba } from "./scroll-area.js";
48
- import { Select as Ha, SelectContent as Va, SelectGroup as ka, SelectItem as Ea, SelectLabel as Fa, SelectScrollDownButton as Oa, SelectScrollUpButton as Na, SelectSeparator as _a, SelectTrigger as za, SelectValue as Wa } from "./select.js";
48
+ import { Select as Ha, SelectContent as Va, SelectGroup as ka, SelectItem as Ea, SelectLabel as Fa, SelectScrollDownButton as Na, SelectScrollUpButton as Oa, SelectSeparator as _a, SelectTrigger as za, SelectValue as Wa } from "./select.js";
49
49
  import { Separator as Ya, SeparatorWithText as Ua } from "./separator.js";
50
50
  import { Sheet as ja, SheetClose as Ja, SheetContent as Ka, SheetDescription as Qa, SheetFooter as Za, SheetHeader as $a, SheetOverlay as en, SheetPortal as on, SheetTitle as rn, SheetTrigger as tn } from "./sheet.js";
51
51
  import { Skeleton as nn } from "./skeleton.js";
52
- import { Slider as pn } from "./slider.js";
52
+ import { Slider as ln } from "./slider.js";
53
53
  import { Sonner as dn, sonner as bn } from "./sonner.js";
54
54
  import { SplitLayout as mn, SplitLayoutContentLeft as gn, SplitLayoutContentRight as Sn, SplitLayoutHeader as sn, SplitLayoutImage as xn } from "./split-layout.js";
55
55
  import { Switch as cn } from "./switch.js";
56
- import { Table as fn, TableBody as Mn, TableCaption as In, TableCell as hn, TableFooter as Ln, TableHead as Pn, TableHeader as yn, TableRow as An } from "./table.js";
57
- import { Tabs as wn, TabsContent as Rn, TabsList as Bn, TabsTrigger as vn } from "./tabs.js";
56
+ import { Table as Mn, TableBody as fn, TableCaption as In, TableCell as hn, TableFooter as Ln, TableHead as Pn, TableHeader as yn, TableRow as An } from "./table.js";
57
+ import { Tabs as Gn, TabsContent as Rn, TabsList as Bn, TabsTrigger as vn } from "./tabs.js";
58
58
  import { TextRevealMotion as Vn } from "./text-reveal-motion.js";
59
59
  import { Textarea as En } from "./textarea.js";
60
- import { Toggle as On, toggleVariants as Nn } from "./toggle.js";
60
+ import { Toggle as Nn, toggleVariants as On } from "./toggle.js";
61
61
  import { ToggleGroup as zn, ToggleGroupItem as Wn } from "./toggle-group.js";
62
62
  import { Tooltip as Yn, TooltipContent as Un, TooltipProvider as qn, TooltipTrigger as jn } from "./tooltip.js";
63
- import { TypographyBlockquote as Kn, TypographyCode as Qn, TypographyH1 as Zn, TypographyH2 as $n, TypographyH3 as ei, TypographyH4 as oi, TypographyInlineCode as ri, TypographyLarge as ti, TypographyLead as ai, TypographyList as ni, TypographyMuted as ii, TypographyP as li, TypographySmall as pi, blockquoteVariants as ui } from "./typography.js";
64
- import { DataTable as bi, DataTableColumnHeader as Ci, DataTablePagination as mi, DataTableRowActions as gi, DataTableSearch as Si, DataTableSelectAllCheckbox as si, DataTableSelectRowCheckbox as xi, DataTableToolbar as Ti, DataTableToolbarLeft as ci, DataTableToolbarRight as Di, VirtualizedDataTable as fi, useDataTable as Mi } from "./blocks/data-table.js";
65
- import { InputList as hi, InputListAddButton as Li, InputListInput as Pi, InputListItems as yi, useInputListContext as Ai } from "./blocks/input-list.js";
66
- import { Sidebar as wi, SidebarCollapseIcon as Ri, SidebarCollapseIconType as Bi, SidebarCollapsible as vi, SidebarContent as Hi, SidebarDrawer as Vi, SidebarFooter as ki, SidebarGroup as Ei, SidebarGroupAction as Fi, SidebarGroupContent as Oi, SidebarGroupLabel as Ni, SidebarGroupLabelSize as _i, SidebarGroupLabelVariant as zi, SidebarHeader as Wi, SidebarInput as Xi, SidebarInset as Yi, SidebarMenu as Ui, SidebarMenuAction as qi, SidebarMenuBadge as ji, SidebarMenuButton as Ji, SidebarMenuButtonSize as Ki, SidebarMenuButtonVariant as Qi, SidebarMenuCollapsible as Zi, SidebarMenuCollapsibleContent as $i, SidebarMenuCollapsibleTrigger as el, SidebarMenuItem as ol, SidebarMenuSkeleton as rl, SidebarMenuSub as tl, SidebarMenuSubButton as al, SidebarMenuSubButtonSize as nl, SidebarMenuSubItem as il, SidebarMenuSubVariant as ll, SidebarProvider as pl, SidebarRail as ul, SidebarSeparator as dl, SidebarSide as bl, SidebarTrigger as Cl, SidebarVariant as ml, useSidebar as gl } from "./blocks/sidebar.js";
67
- import { useDebounce as sl } from "./hooks/use-debounce.js";
68
- import { getMobileBreakpoint as Tl, isMobileViewport as cl, useIsMobile as Dl } from "./hooks/use-mobile.js";
69
- import { usePrefersReducedMotion as Ml } from "./hooks/use-prefers-reduced-motion.js";
70
- import { cn as hl } from "./lib/utils.js";
71
- import { Area as Pl, AreaChart as yl, Bar as Al, BarChart as Gl, CartesianGrid as wl, Cell as Rl, Label as Bl, Legend as vl, Tooltip as Hl, Customized as Vl, LabelList as kl, Line as El, LineChart as Fl, Pie as Ol, PieChart as Nl, PolarAngleAxis as _l, PolarGrid as zl, PolarRadiusAxis as Wl, Radar as Xl, RadarChart as Yl, RadialBar as Ul, RadialBarChart as ql, Rectangle as jl, ReferenceLine as Jl, ResponsiveContainer as Kl, Sector as Ql, XAxis as Zl, YAxis as $l } from "recharts";
72
- import { REGEXP_ONLY_CHARS as op, REGEXP_ONLY_DIGITS as rp, REGEXP_ONLY_DIGITS_AND_CHARS as tp } from "input-otp";
73
- import { createColumnHelper as np, flexRender as ip } from "@tanstack/react-table";
63
+ import { TypographyBlockquote as Kn, TypographyCode as Qn, TypographyH1 as Zn, TypographyH2 as $n, TypographyH3 as ei, TypographyH4 as oi, TypographyInlineCode as ri, TypographyLarge as ti, TypographyLead as ai, TypographyList as ni, TypographyMuted as ii, TypographyP as pi, TypographySmall as li, blockquoteVariants as ui } from "./typography.js";
64
+ import { DataTable as bi, DataTableColumnHeader as Ci, DataTablePagination as mi, DataTablePaginationNav as gi, DataTablePaginationRowCount as Si, DataTableRowActions as si, DataTableSearch as xi, DataTableSelectAllCheckbox as Ti, DataTableSelectRowCheckbox as ci, VirtualizedDataTable as Di, useDataTable as Mi } from "./blocks/data-table.js";
65
+ import { InputList as Ii, InputListAddButton as hi, InputListInput as Li, InputListItems as Pi, useInputListContext as yi } from "./blocks/input-list.js";
66
+ import { Sidebar as wi, SidebarCollapseIcon as Gi, SidebarCollapseIconType as Ri, SidebarCollapsible as Bi, SidebarContent as vi, SidebarDrawer as Hi, SidebarFooter as Vi, SidebarGroup as ki, SidebarGroupAction as Ei, SidebarGroupContent as Fi, SidebarGroupLabel as Ni, SidebarGroupLabelSize as Oi, SidebarGroupLabelVariant as _i, SidebarHeader as zi, SidebarInput as Wi, SidebarInset as Xi, SidebarMenu as Yi, SidebarMenuAction as Ui, SidebarMenuBadge as qi, SidebarMenuButton as ji, SidebarMenuButtonSize as Ji, SidebarMenuButtonVariant as Ki, SidebarMenuCollapsible as Qi, SidebarMenuCollapsibleContent as Zi, SidebarMenuCollapsibleTrigger as $i, SidebarMenuItem as ep, SidebarMenuSkeleton as op, SidebarMenuSub as rp, SidebarMenuSubButton as tp, SidebarMenuSubButtonSize as ap, SidebarMenuSubItem as np, SidebarMenuSubVariant as ip, SidebarProvider as pp, SidebarRail as lp, SidebarSeparator as up, SidebarSide as dp, SidebarTrigger as bp, SidebarVariant as Cp, useSidebar as mp } from "./blocks/sidebar.js";
67
+ import { useDebounce as Sp } from "./hooks/use-debounce.js";
68
+ import { getMobileBreakpoint as xp, isMobileViewport as Tp, useIsMobile as cp } from "./hooks/use-mobile.js";
69
+ import { usePrefersReducedMotion as Mp } from "./hooks/use-prefers-reduced-motion.js";
70
+ import { cn as Ip } from "./lib/utils.js";
71
+ import { Area as Lp, AreaChart as Pp, Bar as yp, BarChart as Ap, CartesianGrid as wp, Cell as Gp, Label as Rp, Legend as Bp, Tooltip as vp, Customized as Hp, LabelList as Vp, Line as kp, LineChart as Ep, Pie as Fp, PieChart as Np, PolarAngleAxis as Op, PolarGrid as _p, PolarRadiusAxis as zp, Radar as Wp, RadarChart as Xp, RadialBar as Yp, RadialBarChart as Up, Rectangle as qp, ReferenceLine as jp, ResponsiveContainer as Jp, Sector as Kp, XAxis as Qp, YAxis as Zp } from "recharts";
72
+ import { REGEXP_ONLY_CHARS as el, REGEXP_ONLY_DIGITS as ol, REGEXP_ONLY_DIGITS_AND_CHARS as rl } from "input-otp";
74
73
  export {
75
74
  r as Accordion,
76
75
  t as AccordionContent,
77
76
  a as AccordionItem,
78
77
  n as AccordionTrigger,
79
- l as Alert,
80
- p as AlertDescription,
78
+ p as Alert,
79
+ l as AlertDescription,
81
80
  u as AlertDestructive,
82
81
  s as AlertDialog,
83
82
  x as AlertDialogAction,
84
83
  T as AlertDialogCancel,
85
84
  c as AlertDialogContent,
86
85
  D as AlertDialogDescription,
87
- f as AlertDialogFooter,
88
- M as AlertDialogHeader,
86
+ M as AlertDialogFooter,
87
+ f as AlertDialogHeader,
89
88
  I as AlertDialogOverlay,
90
89
  h as AlertDialogPortal,
91
90
  L as AlertDialogTitle,
@@ -94,20 +93,20 @@ export {
94
93
  b as AlertSuccess,
95
94
  C as AlertTitle,
96
95
  m as AlertWarning,
97
- Pl as Area,
98
- yl as AreaChart,
96
+ Lp as Area,
97
+ Pp as AreaChart,
99
98
  A as AspectRatio,
100
- w as Avatar,
99
+ G as Avatar,
101
100
  R as AvatarFallback,
102
101
  B as AvatarImage,
103
102
  H as Badge,
104
- Al as Bar,
105
- Gl as BarChart,
103
+ yp as Bar,
104
+ Ap as BarChart,
106
105
  k as Breadcrumb,
107
106
  E as BreadcrumbEllipsis,
108
107
  F as BreadcrumbItem,
109
- O as BreadcrumbLink,
110
- N as BreadcrumbList,
108
+ N as BreadcrumbLink,
109
+ O as BreadcrumbList,
111
110
  _ as BreadcrumbPage,
112
111
  z as BreadcrumbSeparator,
113
112
  X as Button,
@@ -123,37 +122,37 @@ export {
123
122
  ae as CardDescription,
124
123
  ne as CardFooter,
125
124
  ie as CardHeader,
126
- le as CardTitle,
125
+ pe as CardTitle,
127
126
  ue as Carousel,
128
127
  de as CarouselContent,
129
128
  be as CarouselDots,
130
129
  Ce as CarouselItem,
131
130
  me as CarouselNext,
132
131
  ge as CarouselPrevious,
133
- wl as CartesianGrid,
134
- Rl as Cell,
132
+ wp as CartesianGrid,
133
+ Gp as Cell,
135
134
  Ie as CentredLayout,
136
135
  he as CentredLayoutContent,
137
136
  Le as CentredLayoutHeader,
138
137
  se as ChartContainer,
139
- Bl as ChartLabel,
138
+ Rp as ChartLabel,
140
139
  xe as ChartLegend,
141
140
  Te as ChartLegendContent,
142
141
  ce as ChartStyle,
143
142
  De as ChartTooltip,
144
- fe as ChartTooltipContent,
145
- vl as ChartsLegend,
146
- Hl as ChartsTooltip,
143
+ Me as ChartTooltipContent,
144
+ Bp as ChartsLegend,
145
+ vp as ChartsTooltip,
147
146
  ye as Checkbox,
148
- Ge as Chip,
147
+ we as Chip,
149
148
  Be as Collapsible,
150
149
  ve as CollapsibleContent,
151
150
  He as CollapsibleTrigger,
152
151
  ke as Combobox,
153
152
  Ee as ComboboxContent,
154
153
  Fe as ComboboxEmpty,
155
- Oe as ComboboxGroup,
156
- Ne as ComboboxInput,
154
+ Ne as ComboboxGroup,
155
+ Oe as ComboboxInput,
157
156
  _e as ComboboxItem,
158
157
  ze as ComboboxList,
159
158
  We as ComboboxLoading,
@@ -178,32 +177,31 @@ export {
178
177
  To as ContextMenuPortal,
179
178
  co as ContextMenuRadioGroup,
180
179
  Do as ContextMenuRadioItem,
181
- fo as ContextMenuSeparator,
182
- Mo as ContextMenuShortcut,
180
+ Mo as ContextMenuSeparator,
181
+ fo as ContextMenuShortcut,
183
182
  Io as ContextMenuSub,
184
183
  ho as ContextMenuSubContent,
185
184
  Lo as ContextMenuSubTrigger,
186
185
  Po as ContextMenuTrigger,
187
- Vl as Customized,
186
+ Hp as Customized,
188
187
  ao as DEFAULT_DATE_PRESETS,
189
- pa as DEFAULT_STRENGTH_LEVELS,
188
+ la as DEFAULT_STRENGTH_LEVELS,
190
189
  bi as DataTable,
191
190
  Ci as DataTableColumnHeader,
192
191
  mi as DataTablePagination,
193
- gi as DataTableRowActions,
194
- Si as DataTableSearch,
195
- si as DataTableSelectAllCheckbox,
196
- xi as DataTableSelectRowCheckbox,
197
- Ti as DataTableToolbar,
198
- ci as DataTableToolbarLeft,
199
- Di as DataTableToolbarRight,
192
+ gi as DataTablePaginationNav,
193
+ Si as DataTablePaginationRowCount,
194
+ si as DataTableRowActions,
195
+ xi as DataTableSearch,
196
+ Ti as DataTableSelectAllCheckbox,
197
+ ci as DataTableSelectRowCheckbox,
200
198
  no as DatePickerCalendar,
201
199
  io as DatePickerContent,
202
- lo as DatePickerPresets,
203
- po as DatePickerRoot,
200
+ po as DatePickerPresets,
201
+ lo as DatePickerRoot,
204
202
  uo as DatePickerTrigger,
205
203
  Ao as Description,
206
- wo as Dialog,
204
+ Go as Dialog,
207
205
  Ro as DialogClose,
208
206
  Bo as DialogContent,
209
207
  vo as DialogDescription,
@@ -212,7 +210,7 @@ export {
212
210
  ko as DialogOverlay,
213
211
  Eo as DialogPortal,
214
212
  Fo as DialogTitle,
215
- Oo as DialogTrigger,
213
+ No as DialogTrigger,
216
214
  _o as Drawer,
217
215
  zo as DrawerBody,
218
216
  Wo as DrawerClose,
@@ -232,8 +230,8 @@ export {
232
230
  ar as DropdownMenuLabel,
233
231
  nr as DropdownMenuPortal,
234
232
  ir as DropdownMenuRadioGroup,
235
- lr as DropdownMenuRadioItem,
236
- pr as DropdownMenuSeparator,
233
+ pr as DropdownMenuRadioItem,
234
+ lr as DropdownMenuSeparator,
237
235
  ur as DropdownMenuShortcut,
238
236
  dr as DropdownMenuSub,
239
237
  br as DropdownMenuSubContent,
@@ -245,21 +243,21 @@ export {
245
243
  Tr as FieldDescription,
246
244
  cr as FieldError,
247
245
  Dr as FieldErrorIcon,
248
- fr as FieldGroup,
249
- Mr as FieldLabel,
246
+ Mr as FieldGroup,
247
+ fr as FieldLabel,
250
248
  Ir as FieldLegend,
251
249
  hr as FieldSet,
252
250
  yr as GlobalLayout,
253
251
  Ar as GlobalLayoutContent,
254
- Gr as GlobalLayoutContentBody,
255
- wr as GlobalLayoutContentHeader,
252
+ wr as GlobalLayoutContentBody,
253
+ Gr as GlobalLayoutContentHeader,
256
254
  Rr as GlobalLayoutMobileHeader,
257
255
  Br as GlobalLayoutSidebar,
258
256
  Hr as Header,
259
257
  kr as HoverCard,
260
258
  Er as HoverCardContent,
261
259
  Fr as HoverCardTrigger,
262
- Nr as Input,
260
+ Or as Input,
263
261
  Wr as InputChip,
264
262
  Xr as InputChipInput,
265
263
  Yr as InputChipItems,
@@ -267,16 +265,16 @@ export {
267
265
  Qr as InputGroupAddon,
268
266
  Zr as InputGroupButton,
269
267
  $r as InputGroupInput,
270
- hi as InputList,
271
- Li as InputListAddButton,
272
- Pi as InputListInput,
273
- yi as InputListItems,
268
+ Ii as InputList,
269
+ hi as InputListAddButton,
270
+ Li as InputListInput,
271
+ Pi as InputListItems,
274
272
  tt as InputOTP,
275
273
  at as InputOTPDigitsOnly,
276
274
  nt as InputOTPGroup,
277
275
  it as InputOTPSeparator,
278
- lt as InputOTPSimple,
279
- pt as InputOTPSlot,
276
+ pt as InputOTPSimple,
277
+ lt as InputOTPSlot,
280
278
  ut as InputOTPWithSeparator,
281
279
  dt as InputOTPWithSpacing,
282
280
  ua as InputPasswordField,
@@ -287,18 +285,18 @@ export {
287
285
  Tt as ItemActions,
288
286
  ct as ItemContent,
289
287
  Dt as ItemDescription,
290
- ft as ItemMedia,
291
- Mt as ItemTitle,
288
+ Mt as ItemMedia,
289
+ ft as ItemTitle,
292
290
  Ct as Label,
293
- kl as LabelList,
294
- El as Line,
295
- Fl as LineChart,
291
+ Vp as LabelList,
292
+ kp as Line,
293
+ Ep as LineChart,
296
294
  St as Link,
297
295
  It as List,
298
296
  Pt as Logo,
299
297
  At as Menubar,
300
- Gt as MenubarCheckboxItem,
301
- wt as MenubarContent,
298
+ wt as MenubarCheckboxItem,
299
+ Gt as MenubarContent,
302
300
  Rt as MenubarItem,
303
301
  Bt as MenubarLabel,
304
302
  vt as MenubarMenu,
@@ -307,8 +305,8 @@ export {
307
305
  kt as MenubarSeparator,
308
306
  Et as MenubarShortcut,
309
307
  Ft as MenubarSub,
310
- Ot as MenubarSubContent,
311
- Nt as MenubarSubTrigger,
308
+ Nt as MenubarSubContent,
309
+ Ot as MenubarSubTrigger,
312
310
  _t as MenubarTrigger,
313
311
  Wt as NavigationMenu,
314
312
  Xt as NavigationMenuContent,
@@ -326,42 +324,42 @@ export {
326
324
  ta as PaginationLink,
327
325
  aa as PaginationNext,
328
326
  na as PaginationPrevious,
329
- Ol as Pie,
330
- Nl as PieChart,
331
- _l as PolarAngleAxis,
332
- zl as PolarGrid,
333
- Wl as PolarRadiusAxis,
327
+ Fp as Pie,
328
+ Np as PieChart,
329
+ Op as PolarAngleAxis,
330
+ _p as PolarGrid,
331
+ zp as PolarRadiusAxis,
334
332
  Sa as Popover,
335
333
  sa as PopoverAnchor,
336
334
  xa as PopoverContent,
337
335
  Ta as PopoverTrigger,
338
336
  Da as Progress,
339
- op as REGEXP_ONLY_CHARS,
340
- rp as REGEXP_ONLY_DIGITS,
341
- tp as REGEXP_ONLY_DIGITS_AND_CHARS,
342
- Xl as Radar,
343
- Yl as RadarChart,
344
- Ul as RadialBar,
345
- ql as RadialBarChart,
346
- Ma as RadioGroup,
337
+ el as REGEXP_ONLY_CHARS,
338
+ ol as REGEXP_ONLY_DIGITS,
339
+ rl as REGEXP_ONLY_DIGITS_AND_CHARS,
340
+ Wp as Radar,
341
+ Xp as RadarChart,
342
+ Yp as RadialBar,
343
+ Up as RadialBarChart,
344
+ fa as RadioGroup,
347
345
  Ia as RadioGroupItem,
348
346
  La as Rating,
349
- jl as Rectangle,
350
- Jl as ReferenceLine,
347
+ qp as Rectangle,
348
+ jp as ReferenceLine,
351
349
  ya as ResizableHandle,
352
350
  Aa as ResizablePanel,
353
- Ga as ResizablePanelGroup,
354
- Kl as ResponsiveContainer,
351
+ wa as ResizablePanelGroup,
352
+ Jp as ResponsiveContainer,
355
353
  Ra as ScrollArea,
356
354
  Ba as ScrollBar,
357
- Ql as Sector,
355
+ Kp as Sector,
358
356
  Ha as Select,
359
357
  Va as SelectContent,
360
358
  ka as SelectGroup,
361
359
  Ea as SelectItem,
362
360
  Fa as SelectLabel,
363
- Oa as SelectScrollDownButton,
364
- Na as SelectScrollUpButton,
361
+ Na as SelectScrollDownButton,
362
+ Oa as SelectScrollUpButton,
365
363
  _a as SelectSeparator,
366
364
  za as SelectTrigger,
367
365
  Wa as SelectValue,
@@ -378,45 +376,45 @@ export {
378
376
  rn as SheetTitle,
379
377
  tn as SheetTrigger,
380
378
  wi as Sidebar,
381
- Ri as SidebarCollapseIcon,
382
- Bi as SidebarCollapseIconType,
383
- vi as SidebarCollapsible,
384
- Hi as SidebarContent,
385
- Vi as SidebarDrawer,
386
- ki as SidebarFooter,
387
- Ei as SidebarGroup,
388
- Fi as SidebarGroupAction,
389
- Oi as SidebarGroupContent,
379
+ Gi as SidebarCollapseIcon,
380
+ Ri as SidebarCollapseIconType,
381
+ Bi as SidebarCollapsible,
382
+ vi as SidebarContent,
383
+ Hi as SidebarDrawer,
384
+ Vi as SidebarFooter,
385
+ ki as SidebarGroup,
386
+ Ei as SidebarGroupAction,
387
+ Fi as SidebarGroupContent,
390
388
  Ni as SidebarGroupLabel,
391
- _i as SidebarGroupLabelSize,
392
- zi as SidebarGroupLabelVariant,
393
- Wi as SidebarHeader,
394
- Xi as SidebarInput,
395
- Yi as SidebarInset,
396
- Ui as SidebarMenu,
397
- qi as SidebarMenuAction,
398
- ji as SidebarMenuBadge,
399
- Ji as SidebarMenuButton,
400
- Ki as SidebarMenuButtonSize,
401
- Qi as SidebarMenuButtonVariant,
402
- Zi as SidebarMenuCollapsible,
403
- $i as SidebarMenuCollapsibleContent,
404
- el as SidebarMenuCollapsibleTrigger,
405
- ol as SidebarMenuItem,
406
- rl as SidebarMenuSkeleton,
407
- tl as SidebarMenuSub,
408
- al as SidebarMenuSubButton,
409
- nl as SidebarMenuSubButtonSize,
410
- il as SidebarMenuSubItem,
411
- ll as SidebarMenuSubVariant,
412
- pl as SidebarProvider,
413
- ul as SidebarRail,
414
- dl as SidebarSeparator,
415
- bl as SidebarSide,
416
- Cl as SidebarTrigger,
417
- ml as SidebarVariant,
389
+ Oi as SidebarGroupLabelSize,
390
+ _i as SidebarGroupLabelVariant,
391
+ zi as SidebarHeader,
392
+ Wi as SidebarInput,
393
+ Xi as SidebarInset,
394
+ Yi as SidebarMenu,
395
+ Ui as SidebarMenuAction,
396
+ qi as SidebarMenuBadge,
397
+ ji as SidebarMenuButton,
398
+ Ji as SidebarMenuButtonSize,
399
+ Ki as SidebarMenuButtonVariant,
400
+ Qi as SidebarMenuCollapsible,
401
+ Zi as SidebarMenuCollapsibleContent,
402
+ $i as SidebarMenuCollapsibleTrigger,
403
+ ep as SidebarMenuItem,
404
+ op as SidebarMenuSkeleton,
405
+ rp as SidebarMenuSub,
406
+ tp as SidebarMenuSubButton,
407
+ ap as SidebarMenuSubButtonSize,
408
+ np as SidebarMenuSubItem,
409
+ ip as SidebarMenuSubVariant,
410
+ pp as SidebarProvider,
411
+ lp as SidebarRail,
412
+ up as SidebarSeparator,
413
+ dp as SidebarSide,
414
+ bp as SidebarTrigger,
415
+ Cp as SidebarVariant,
418
416
  nn as Skeleton,
419
- pn as Slider,
417
+ ln as Slider,
420
418
  dn as Sonner,
421
419
  mn as SplitLayout,
422
420
  gn as SplitLayoutContentLeft,
@@ -424,21 +422,21 @@ export {
424
422
  sn as SplitLayoutHeader,
425
423
  xn as SplitLayoutImage,
426
424
  cn as Switch,
427
- fn as Table,
428
- Mn as TableBody,
425
+ Mn as Table,
426
+ fn as TableBody,
429
427
  In as TableCaption,
430
428
  hn as TableCell,
431
429
  Ln as TableFooter,
432
430
  Pn as TableHead,
433
431
  yn as TableHeader,
434
432
  An as TableRow,
435
- wn as Tabs,
433
+ Gn as Tabs,
436
434
  Rn as TabsContent,
437
435
  Bn as TabsList,
438
436
  vn as TabsTrigger,
439
437
  Vn as TextRevealMotion,
440
438
  En as Textarea,
441
- On as Toggle,
439
+ Nn as Toggle,
442
440
  zn as ToggleGroup,
443
441
  Wn as ToggleGroupItem,
444
442
  Yn as Tooltip,
@@ -456,37 +454,35 @@ export {
456
454
  ai as TypographyLead,
457
455
  ni as TypographyList,
458
456
  ii as TypographyMuted,
459
- li as TypographyP,
460
- pi as TypographySmall,
461
- fi as VirtualizedDataTable,
462
- Zl as XAxis,
463
- $l as YAxis,
457
+ pi as TypographyP,
458
+ li as TypographySmall,
459
+ Di as VirtualizedDataTable,
460
+ Qp as XAxis,
461
+ Zp as YAxis,
464
462
  g as alertVariants,
465
463
  ui as blockquoteVariants,
466
464
  ma as calculatePasswordStrength,
467
465
  $ as calloutVariants,
468
- we as chipVariants,
469
- hl as cn,
470
- np as createColumnHelper,
466
+ Ge as chipVariants,
467
+ Ip as cn,
471
468
  Lr as fieldLegendVariants,
472
- ip as flexRender,
473
- Tl as getMobileBreakpoint,
469
+ xp as getMobileBreakpoint,
474
470
  Ur as inputChipInputVariants,
475
471
  qr as inputChipVariants,
476
472
  et as inputGroupButtonVariants,
477
473
  ot as inputGroupVariants,
478
474
  _r as inputVariants,
479
- cl as isMobileViewport,
475
+ Tp as isMobileViewport,
480
476
  ht as itemVariants,
481
477
  mt as labelVariants,
482
478
  bn as sonner,
483
- Nn as toggleVariants,
479
+ On as toggleVariants,
484
480
  Mi as useDataTable,
485
- sl as useDebounce,
481
+ Sp as useDebounce,
486
482
  jr as useInputChipContext,
487
- Ai as useInputListContext,
488
- Dl as useIsMobile,
483
+ yi as useInputListContext,
484
+ cp as useIsMobile,
489
485
  ia as usePagination,
490
- Ml as usePrefersReducedMotion,
491
- gl as useSidebar
486
+ Mp as usePrefersReducedMotion,
487
+ mp as useSidebar
492
488
  };
package/dist/table.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),y=require("react"),b=require("class-variance-authority"),r=require("@brightlocal/ui-components/lib/utils");function w(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=w(y),N=b.cva("align-middle bg-transparent text-foreground text-sm font-normal leading-normal break-words",{variants:{size:{default:"h-12 p-2",md:"h-16 p-2",lg:"h-24 p-2"},align:{left:"text-left",right:"text-right",center:"text-center"}},defaultVariants:{size:"default",align:"left"}}),j=b.cva("h-10 p-2 align-middle text-muted-foreground text-sm font-medium leading-normal hover:bg-muted break-words outline-none focus-visible:shadow-default transition-[background-color,box-shadow] duration-150 ease-in-out",{variants:{align:{left:"text-left",right:"text-right",center:"text-center"}},defaultVariants:{align:"left"}}),f=s.forwardRef(({className:e,dataHook:t,trackingEl:a,trackingLabel:l,...n},d)=>o.jsx("div",{className:"relative w-full overflow-x-auto","data-slot":"table-container",children:o.jsx("table",{ref:d,className:r.cn("w-full caption-bottom text-sm",e),"data-hook":t,"data-slot":"table","data-tracking-el":a,"data-tracking-label":l,...n})}));f.displayName="Table";const u=s.forwardRef(({className:e,dataHook:t,...a},l)=>o.jsx("thead",{ref:l,className:r.cn(e),"data-hook":t,"data-slot":"table-header",...a}));u.displayName="TableHeader";const m=s.forwardRef(({className:e,dataHook:t,...a},l)=>o.jsx("tbody",{ref:l,className:r.cn(e),"data-hook":t,"data-slot":"table-body",...a}));m.displayName="TableBody";const g=s.forwardRef(({className:e,dataHook:t,...a},l)=>o.jsx("tfoot",{ref:l,className:r.cn("bg-muted/50",e),"data-hook":t,"data-slot":"table-footer",...a}));g.displayName="TableFooter";const p=s.forwardRef(({className:e,dataHook:t,...a},l)=>o.jsx("tr",{ref:l,className:r.cn("data-[state=selected]:bg-muted transition-colors duration-150 ease-in-out",e),"data-hook":t,"data-slot":"table-row",...a}));p.displayName="TableRow";const x=s.forwardRef(({className:e,dataHook:t,align:a,minWidth:l,style:n,scope:d="col",...i},c)=>o.jsx("th",{ref:c,className:r.cn(j({align:a}),e),"data-hook":t,"data-slot":"table-head",scope:d,style:{minWidth:l,...n},...i}));x.displayName="TableHead";const T=s.forwardRef(({className:e,dataHook:t,size:a,align:l,minWidth:n,style:d,...i},c)=>o.jsx("td",{ref:c,className:r.cn(N({size:a,align:l}),e),"data-hook":t,"data-slot":"table-cell",style:{minWidth:n,...d},...i}));T.displayName="TableCell";const h=s.forwardRef(({className:e,dataHook:t,...a},l)=>o.jsx("caption",{ref:l,className:r.cn("text-muted-foreground mt-4 text-center text-sm",e),"data-hook":t,"data-slot":"table-caption",...a}));h.displayName="TableCaption";exports.Table=f;exports.TableBody=m;exports.TableCaption=h;exports.TableCell=T;exports.TableFooter=g;exports.TableHead=x;exports.TableHeader=u;exports.TableRow=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),y=require("react"),b=require("class-variance-authority"),r=require("@brightlocal/ui-components/lib/utils");function w(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const e in a)if(e!=="default"){const l=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(t,e,l.get?l:{enumerable:!0,get:()=>a[e]})}}return t.default=a,Object.freeze(t)}const s=w(y),N=b.cva("align-middle bg-transparent text-foreground text-sm font-normal leading-normal break-words",{variants:{size:{default:"h-12 p-2",md:"h-16 p-2",lg:"h-24 p-2"},align:{left:"text-left",right:"text-right",center:"text-center"}},defaultVariants:{size:"default",align:"left"}}),j=b.cva("h-10 p-2 align-middle text-muted-foreground text-sm font-medium leading-normal hover:bg-muted break-words outline-none focus-visible:shadow-default transition-[background-color,box-shadow] duration-150 ease-in-out",{variants:{align:{left:"text-left",right:"text-right",center:"text-center"}},defaultVariants:{align:"left"}}),f=s.forwardRef(({className:a,dataHook:t,trackingEl:e,trackingLabel:l,...n},d)=>o.jsx("div",{className:"relative w-full overflow-x-auto","data-slot":"table-container",children:o.jsx("table",{ref:d,className:r.cn("w-full caption-bottom text-sm",a),"data-hook":t,"data-slot":"table","data-tracking-el":e,"data-tracking-label":l,...n})}));f.displayName="Table";const u=s.forwardRef(({className:a,dataHook:t,...e},l)=>o.jsx("thead",{ref:l,className:r.cn(a),"data-hook":t,"data-slot":"table-header",...e}));u.displayName="TableHeader";const m=s.forwardRef(({className:a,dataHook:t,...e},l)=>o.jsx("tbody",{ref:l,className:r.cn(a),"data-hook":t,"data-slot":"table-body",...e}));m.displayName="TableBody";const g=s.forwardRef(({className:a,dataHook:t,...e},l)=>o.jsx("tfoot",{ref:l,className:r.cn("bg-muted/50",a),"data-hook":t,"data-slot":"table-footer",...e}));g.displayName="TableFooter";const p=s.forwardRef(({className:a,dataHook:t,...e},l)=>o.jsx("tr",{ref:l,className:r.cn("data-[state=selected]:bg-muted transition-colors duration-150 ease-in-out",a),"data-hook":t,"data-slot":"table-row",...e}));p.displayName="TableRow";const T=s.forwardRef(({className:a,dataHook:t,align:e,minWidth:l,style:n,scope:d="col",...i},c)=>o.jsx("th",{ref:c,className:r.cn(j({align:e}),a),"data-hook":t,"data-slot":"table-head",scope:d,style:{minWidth:l,...n},...i}));T.displayName="TableHead";const h=s.forwardRef(({className:a,dataHook:t,size:e,align:l,minWidth:n,style:d,...i},c)=>o.jsx("td",{ref:c,className:r.cn(N({size:e,align:l}),a),"data-hook":t,"data-slot":"table-cell",style:{minWidth:n,...d},...i}));h.displayName="TableCell";const x=s.forwardRef(({className:a,dataHook:t,...e},l)=>o.jsx("caption",{ref:l,className:r.cn("caption-bottom py-4",a),"data-hook":t,"data-slot":"table-caption",...e}));x.displayName="TableCaption";exports.Table=f;exports.TableBody=m;exports.TableCaption=x;exports.TableCell=h;exports.TableFooter=g;exports.TableHead=T;exports.TableHeader=u;exports.TableRow=p;