@eqtylab/equality 1.6.1 → 1.7.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.
package/dist/index.d.cts CHANGED
@@ -51,14 +51,14 @@ declare const AlertDialogFooter: {
51
51
  declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
52
52
  declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
53
53
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
54
- variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
54
+ variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
55
55
  size?: "sm" | "md" | "lg" | null | undefined;
56
56
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
57
57
  prefix?: React$1.ReactNode;
58
58
  suffix?: React$1.ReactNode;
59
59
  } & React$1.RefAttributes<HTMLButtonElement>>;
60
60
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
61
- variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
61
+ variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
62
62
  size?: "sm" | "md" | "lg" | null | undefined;
63
63
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
64
64
  prefix?: React$1.ReactNode;
@@ -166,7 +166,7 @@ declare const BgGradient: ({ theme, placement, }: {
166
166
  }) => react_jsx_runtime.JSX.Element;
167
167
 
168
168
  declare const buttonVariants: (props?: ({
169
- variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
169
+ variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
170
170
  size?: "sm" | "md" | "lg" | null | undefined;
171
171
  } & class_variance_authority_types.ClassProp) | undefined) => string;
172
172
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
@@ -666,8 +666,8 @@ declare function SortButton<T extends string>({ field, children, icon, sortField
666
666
  declare const TableContainer: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & VariantProps<(props?: ({
667
667
  elevation?: string | number | null | undefined;
668
668
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
669
- tableLayout?: "auto" | "fixed";
670
669
  border?: boolean;
670
+ columns?: string;
671
671
  } & React$1.RefAttributes<HTMLTableElement>>;
672
672
  declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & {
673
673
  sticky?: boolean;
@@ -677,44 +677,10 @@ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
677
677
  declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & {
678
678
  clickable?: boolean;
679
679
  } & React$1.RefAttributes<HTMLTableRowElement>>;
680
- declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & {
681
- truncate?: boolean;
682
- } & React$1.RefAttributes<HTMLTableCellElement>>;
683
- declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & {
684
- truncate?: boolean;
685
- } & React$1.RefAttributes<HTMLTableCellElement>>;
680
+ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
681
+ declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
686
682
  declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
687
683
 
688
- type TableColumn = {
689
- key: string;
690
- content: React$1.ReactNode;
691
- className?: string;
692
- };
693
- type TableRowData = {
694
- key: string;
695
- cells: TableCellData[];
696
- onClick?: () => void;
697
- className?: string;
698
- };
699
- type TableCellData = {
700
- key: string;
701
- content: React$1.ReactNode;
702
- className?: string;
703
- };
704
- interface TableProps extends VariantProps<typeof tableElevationVariants> {
705
- columns: TableColumn[];
706
- rows: TableRowData[];
707
- className?: string;
708
- border?: boolean;
709
- emptyState?: React$1.ReactNode;
710
- tableLayout?: 'auto' | 'fixed';
711
- }
712
- declare const tableElevationVariants: (props?: ({
713
- elevation?: string | number | null | undefined;
714
- } & class_variance_authority_types.ClassProp) | undefined) => string;
715
- /** @deprecated Use the compositional table primitives (`TableContainer`, `TableHeader`, `TableBody`, `TableRow`, `TableHead`, `TableCell`) instead. */
716
- declare const Table: ({ columns, rows, className, border, elevation, emptyState, tableLayout, }: TableProps) => react_jsx_runtime.JSX.Element;
717
-
718
684
  declare const TabsContainer: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
719
685
  declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
720
686
  declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -851,4 +817,4 @@ declare const ThemeProvider: ({ customVars, children }: ThemeProviderProps) => r
851
817
 
852
818
  declare const useTheme: () => readonly [Theme$1 | undefined, (theme: Theme$1) => void];
853
819
 
854
- export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, BgGradient, Button, type ButtonProps, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, type ViewMode, type ViewOrder, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
820
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, BgGradient, Button, type ButtonProps, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, type ViewMode, type ViewOrder, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
package/dist/index.d.ts CHANGED
@@ -51,14 +51,14 @@ declare const AlertDialogFooter: {
51
51
  declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
52
52
  declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
53
53
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
54
- variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
54
+ variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
55
55
  size?: "sm" | "md" | "lg" | null | undefined;
56
56
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
57
57
  prefix?: React$1.ReactNode;
58
58
  suffix?: React$1.ReactNode;
59
59
  } & React$1.RefAttributes<HTMLButtonElement>>;
60
60
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
61
- variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
61
+ variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
62
62
  size?: "sm" | "md" | "lg" | null | undefined;
63
63
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
64
64
  prefix?: React$1.ReactNode;
@@ -166,7 +166,7 @@ declare const BgGradient: ({ theme, placement, }: {
166
166
  }) => react_jsx_runtime.JSX.Element;
167
167
 
168
168
  declare const buttonVariants: (props?: ({
169
- variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
169
+ variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
170
170
  size?: "sm" | "md" | "lg" | null | undefined;
171
171
  } & class_variance_authority_types.ClassProp) | undefined) => string;
172
172
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
@@ -666,8 +666,8 @@ declare function SortButton<T extends string>({ field, children, icon, sortField
666
666
  declare const TableContainer: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & VariantProps<(props?: ({
667
667
  elevation?: string | number | null | undefined;
668
668
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
669
- tableLayout?: "auto" | "fixed";
670
669
  border?: boolean;
670
+ columns?: string;
671
671
  } & React$1.RefAttributes<HTMLTableElement>>;
672
672
  declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & {
673
673
  sticky?: boolean;
@@ -677,44 +677,10 @@ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
677
677
  declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & {
678
678
  clickable?: boolean;
679
679
  } & React$1.RefAttributes<HTMLTableRowElement>>;
680
- declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & {
681
- truncate?: boolean;
682
- } & React$1.RefAttributes<HTMLTableCellElement>>;
683
- declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & {
684
- truncate?: boolean;
685
- } & React$1.RefAttributes<HTMLTableCellElement>>;
680
+ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
681
+ declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
686
682
  declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
687
683
 
688
- type TableColumn = {
689
- key: string;
690
- content: React$1.ReactNode;
691
- className?: string;
692
- };
693
- type TableRowData = {
694
- key: string;
695
- cells: TableCellData[];
696
- onClick?: () => void;
697
- className?: string;
698
- };
699
- type TableCellData = {
700
- key: string;
701
- content: React$1.ReactNode;
702
- className?: string;
703
- };
704
- interface TableProps extends VariantProps<typeof tableElevationVariants> {
705
- columns: TableColumn[];
706
- rows: TableRowData[];
707
- className?: string;
708
- border?: boolean;
709
- emptyState?: React$1.ReactNode;
710
- tableLayout?: 'auto' | 'fixed';
711
- }
712
- declare const tableElevationVariants: (props?: ({
713
- elevation?: string | number | null | undefined;
714
- } & class_variance_authority_types.ClassProp) | undefined) => string;
715
- /** @deprecated Use the compositional table primitives (`TableContainer`, `TableHeader`, `TableBody`, `TableRow`, `TableHead`, `TableCell`) instead. */
716
- declare const Table: ({ columns, rows, className, border, elevation, emptyState, tableLayout, }: TableProps) => react_jsx_runtime.JSX.Element;
717
-
718
684
  declare const TabsContainer: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
719
685
  declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
720
686
  declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -851,4 +817,4 @@ declare const ThemeProvider: ({ customVars, children }: ThemeProviderProps) => r
851
817
 
852
818
  declare const useTheme: () => readonly [Theme$1 | undefined, (theme: Theme$1) => void];
853
819
 
854
- export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, BgGradient, Button, type ButtonProps, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, type ViewMode, type ViewOrder, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
820
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, BgGradient, Button, type ButtonProps, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, type ViewMode, type ViewOrder, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
package/dist/index.js CHANGED
@@ -79,18 +79,17 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
79
79
  import styles48 from './switch.module.module.css.module.css';
80
80
  import styles49 from './sort-button.module.module.css.module.css';
81
81
  import styles50 from './table-components.module.module.css.module.css';
82
- import styles51 from './table.module.module.css.module.css';
83
82
  import * as TabsPrimitive from '@radix-ui/react-tabs';
84
- import styles52 from './tabs-components.module.module.css.module.css';
85
- import styles53 from './tabs.module.module.css.module.css';
86
- import styles54 from './textarea.module.module.css.module.css';
83
+ import styles51 from './tabs-components.module.module.css.module.css';
84
+ import styles52 from './tabs.module.module.css.module.css';
85
+ import styles53 from './textarea.module.module.css.module.css';
87
86
  import * as ToastPrimitives from '@radix-ui/react-toast';
88
- import styles55 from './toast-components.module.module.css.module.css';
89
- import styles56 from './toast.module.module.css.module.css';
90
- import styles57 from './truncated-description.module.module.css.module.css';
91
- import styles58 from './heading.module.module.css.module.css';
92
- import styles59 from './control-status-badge.module.module.css.module.css';
93
- import styles60 from './theme.module.module.css.module.css';
87
+ import styles54 from './toast-components.module.module.css.module.css';
88
+ import styles55 from './toast.module.module.css.module.css';
89
+ import styles56 from './truncated-description.module.module.css.module.css';
90
+ import styles57 from './heading.module.module.css.module.css';
91
+ import styles58 from './control-status-badge.module.module.css.module.css';
92
+ import styles59 from './theme.module.module.css.module.css';
94
93
 
95
94
  // src/components/alert/alert.tsx
96
95
  function cn(...inputs) {
@@ -283,12 +282,12 @@ var ELEVATION = {
283
282
  RAISED: "raised",
284
283
  OVERLAY: "overlay"
285
284
  };
286
- var generateElevationVariants = (styles61, baseClassName, defaultElevation) => {
285
+ var generateElevationVariants = (styles60, baseClassName, defaultElevation) => {
287
286
  const classNames = {};
288
287
  Object.values(ELEVATION).forEach((elevation) => {
289
- classNames[elevation] = styles61[`${baseClassName}--${elevation}`];
288
+ classNames[elevation] = styles60[`${baseClassName}--${elevation}`];
290
289
  });
291
- const variants = cva(styles61[baseClassName], {
290
+ const variants = cva(styles60[baseClassName], {
292
291
  variants: {
293
292
  elevation: classNames
294
293
  },
@@ -2709,7 +2708,7 @@ function SortButton({
2709
2708
  ] });
2710
2709
  }
2711
2710
  var tableElevationVariants = generateElevationVariants(styles50, "table", ELEVATION.RAISED);
2712
- var TableContainer = React15.forwardRef(({ className, style, elevation = ELEVATION.RAISED, tableLayout, border, ...props }, ref) => /* @__PURE__ */ jsx(
2711
+ var TableContainer = React15.forwardRef(({ className, style, elevation = ELEVATION.RAISED, border, columns, ...props }, ref) => /* @__PURE__ */ jsx(
2713
2712
  "div",
2714
2713
  {
2715
2714
  className: cn(
@@ -2718,16 +2717,8 @@ var TableContainer = React15.forwardRef(({ className, style, elevation = ELEVATI
2718
2717
  border && styles50["table-border"],
2719
2718
  className
2720
2719
  ),
2721
- style,
2722
- children: /* @__PURE__ */ jsx(
2723
- "table",
2724
- {
2725
- ref,
2726
- className: styles50["table-inner"],
2727
- style: tableLayout ? { tableLayout } : void 0,
2728
- ...props
2729
- }
2730
- )
2720
+ style: columns ? { ...style, "--table-columns": columns } : style,
2721
+ children: /* @__PURE__ */ jsx("table", { ref, className: styles50["table-inner"], ...props })
2731
2722
  }
2732
2723
  ));
2733
2724
  TableContainer.displayName = "Table";
@@ -2753,68 +2744,18 @@ var TableRow = React15.forwardRef(({ className, clickable, ...props }, ref) => /
2753
2744
  }
2754
2745
  ));
2755
2746
  TableRow.displayName = "TableRow";
2756
- var TableHead = React15.forwardRef(({ className, truncate, ...props }, ref) => /* @__PURE__ */ jsx(
2757
- "th",
2758
- {
2759
- ref,
2760
- className: cn(styles50["table-head"], truncate && styles50["table-head--truncate"], className),
2761
- ...props
2762
- }
2763
- ));
2747
+ var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("th", { ref, className: cn(styles50["table-head"], className), ...props }));
2764
2748
  TableHead.displayName = "TableHead";
2765
- var TableCell = React15.forwardRef(({ className, truncate, ...props }, ref) => /* @__PURE__ */ jsx(
2766
- "td",
2767
- {
2768
- ref,
2769
- className: cn(styles50["table-cell"], truncate && styles50["table-cell--truncate"], className),
2770
- ...props
2771
- }
2772
- ));
2749
+ var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("td", { ref, className: cn(styles50["table-cell"], className), ...props }));
2773
2750
  TableCell.displayName = "TableCell";
2774
2751
  var TableCaption = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", { ref, className: cn(styles50["table-caption"], className), ...props }));
2775
2752
  TableCaption.displayName = "TableCaption";
2776
- var tableElevationVariants2 = generateElevationVariants(styles51, "table", ELEVATION.BASE);
2777
- var Table = ({
2778
- columns,
2779
- rows,
2780
- className,
2781
- border = false,
2782
- elevation = ELEVATION.BASE,
2783
- emptyState,
2784
- tableLayout
2785
- }) => {
2786
- const isEmpty = rows.length === 0;
2787
- return /* @__PURE__ */ jsx(
2788
- "div",
2789
- {
2790
- className: cn(
2791
- styles51["table"],
2792
- border && styles51["table-border"],
2793
- tableElevationVariants2({ elevation }),
2794
- className
2795
- ),
2796
- children: /* @__PURE__ */ jsxs(TableContainer, { elevation, tableLayout, children: [
2797
- /* @__PURE__ */ jsx(TableHeader, { children: /* @__PURE__ */ jsx(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx(TableHead, { className: column.className, children: column.content }, column.key)) }) }),
2798
- isEmpty && emptyState ? /* @__PURE__ */ jsx(TableBody, { children: /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, { colSpan: columns.length, className: styles51["table-empty-state"], children: emptyState }) }) }) : /* @__PURE__ */ jsx(TableBody, { children: rows.map((row) => /* @__PURE__ */ jsx(
2799
- TableRow,
2800
- {
2801
- className: row.className,
2802
- clickable: !!row.onClick,
2803
- onClick: row.onClick,
2804
- children: row.cells.map((cell) => /* @__PURE__ */ jsx(TableCell, { className: cell.className, children: cell.content }, cell.key))
2805
- },
2806
- row.key
2807
- )) })
2808
- ] })
2809
- }
2810
- );
2811
- };
2812
2753
  var TabsContainer = TabsPrimitive.Root;
2813
- var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: cn(styles52["tabs-list"], className), ...props }));
2754
+ var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: cn(styles51["tabs-list"], className), ...props }));
2814
2755
  TabsList.displayName = TabsPrimitive.List.displayName;
2815
- var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Trigger, { ref, className: cn(styles52["tabs-trigger"], className), ...props }));
2756
+ var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Trigger, { ref, className: cn(styles51["tabs-trigger"], className), ...props }));
2816
2757
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2817
- var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Content, { ref, className: cn(styles52["tabs-content"], className), ...props }));
2758
+ var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Content, { ref, className: cn(styles51["tabs-content"], className), ...props }));
2818
2759
  TabsContent.displayName = TabsPrimitive.Content.displayName;
2819
2760
  var Tabs = ({
2820
2761
  id,
@@ -2832,7 +2773,7 @@ var Tabs = ({
2832
2773
  };
2833
2774
  const renderIcon = (icon) => {
2834
2775
  if (icon) {
2835
- return /* @__PURE__ */ jsx(Icon, { icon, size: "sm", className: styles53["tabs-icon"] });
2776
+ return /* @__PURE__ */ jsx(Icon, { icon, size: "sm", className: styles52["tabs-icon"] });
2836
2777
  }
2837
2778
  return null;
2838
2779
  };
@@ -2842,8 +2783,8 @@ var Tabs = ({
2842
2783
  motion.span,
2843
2784
  {
2844
2785
  className: cn(
2845
- styles53["active-tab-indicator"],
2846
- isFilled ? styles53["active-tab-indicator--filled"] : styles53["active-tab-indicator--transparent"]
2786
+ styles52["active-tab-indicator"],
2787
+ isFilled ? styles52["active-tab-indicator--filled"] : styles52["active-tab-indicator--transparent"]
2847
2788
  ),
2848
2789
  initial: false,
2849
2790
  layoutId: `${id}-active-tab-indicator`
@@ -2857,14 +2798,14 @@ var Tabs = ({
2857
2798
  {
2858
2799
  value: activeTab,
2859
2800
  onValueChange: handleValueChange,
2860
- className: cn(styles53["tabs"], className),
2801
+ className: cn(styles52["tabs"], className),
2861
2802
  children: [
2862
2803
  /* @__PURE__ */ jsx(
2863
2804
  TabsList,
2864
2805
  {
2865
2806
  className: cn(
2866
- styles53["tabs-list"],
2867
- isFilled ? styles53["tabs-list--filled"] : styles53["tabs-list--transparent"]
2807
+ styles52["tabs-list"],
2808
+ isFilled ? styles52["tabs-list--filled"] : styles52["tabs-list--transparent"]
2868
2809
  ),
2869
2810
  children: items.map(({ label, value, icon }) => {
2870
2811
  const isActive = activeTab === value;
@@ -2873,8 +2814,8 @@ var Tabs = ({
2873
2814
  {
2874
2815
  value,
2875
2816
  className: cn(
2876
- styles53["tabs-trigger"],
2877
- isFilled ? styles53["tabs-trigger--filled"] : styles53["tabs-trigger--transparent"]
2817
+ styles52["tabs-trigger"],
2818
+ isFilled ? styles52["tabs-trigger--filled"] : styles52["tabs-trigger--transparent"]
2878
2819
  ),
2879
2820
  "data-tour": `${value}-tab-overview`,
2880
2821
  children: [
@@ -2888,14 +2829,14 @@ var Tabs = ({
2888
2829
  })
2889
2830
  }
2890
2831
  ),
2891
- items.map(({ value, content }) => /* @__PURE__ */ jsx(TabsContent, { value, className: styles53["content"], children: content }, value))
2832
+ items.map(({ value, content }) => /* @__PURE__ */ jsx(TabsContent, { value, className: styles52["content"], children: content }, value))
2892
2833
  ]
2893
2834
  }
2894
2835
  );
2895
2836
  };
2896
2837
  var Textarea = React15.forwardRef(
2897
2838
  ({ className, ...props }, ref) => {
2898
- return /* @__PURE__ */ jsx("textarea", { className: cn(styles54["textarea"], className), ref, ...props });
2839
+ return /* @__PURE__ */ jsx("textarea", { className: cn(styles53["textarea"], className), ref, ...props });
2899
2840
  }
2900
2841
  );
2901
2842
  Textarea.displayName = "Textarea";
@@ -2905,18 +2846,18 @@ var ToastViewport = React15.forwardRef(({ className, ...props }, ref) => /* @__P
2905
2846
  ToastPrimitives.Viewport,
2906
2847
  {
2907
2848
  ref,
2908
- className: cn(styles55["toast-viewport"], className),
2849
+ className: cn(styles54["toast-viewport"], className),
2909
2850
  ...props
2910
2851
  }
2911
2852
  ));
2912
2853
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
2913
- var toastVariants = cva(styles55["toast"], {
2854
+ var toastVariants = cva(styles54["toast"], {
2914
2855
  variants: {
2915
2856
  variant: {
2916
- default: styles55["toast--default"],
2917
- danger: styles55["toast--danger"],
2918
- warning: styles55["toast--warning"],
2919
- success: styles55["toast--success"]
2857
+ default: styles54["toast--default"],
2858
+ danger: styles54["toast--danger"],
2859
+ warning: styles54["toast--warning"],
2860
+ success: styles54["toast--success"]
2920
2861
  }
2921
2862
  },
2922
2863
  defaultVariants: {
@@ -2934,17 +2875,17 @@ var ToastContainer = React15.forwardRef(({ className, variant, ...props }, ref)
2934
2875
  );
2935
2876
  });
2936
2877
  ToastContainer.displayName = ToastPrimitives.Root.displayName;
2937
- var ToastAction = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Action, { ref, className: cn(styles55["toast-action"], className), ...props }));
2878
+ var ToastAction = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Action, { ref, className: cn(styles54["toast-action"], className), ...props }));
2938
2879
  ToastAction.displayName = ToastPrimitives.Action.displayName;
2939
- var ToastClose = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Close, { ref, className: cn(styles55["toast-close"], className), ...props, children: /* @__PURE__ */ jsx(XIcon2, { className: styles55["toast-close-icon"] }) }));
2880
+ var ToastClose = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Close, { ref, className: cn(styles54["toast-close"], className), ...props, children: /* @__PURE__ */ jsx(XIcon2, { className: styles54["toast-close-icon"] }) }));
2940
2881
  ToastClose.displayName = ToastPrimitives.Close.displayName;
2941
- var ToastTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, { ref, className: cn(styles55["toast-title"], className), ...props }));
2882
+ var ToastTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, { ref, className: cn(styles54["toast-title"], className), ...props }));
2942
2883
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
2943
2884
  var ToastDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2944
2885
  ToastPrimitives.Description,
2945
2886
  {
2946
2887
  ref,
2947
- className: cn(styles55["toast-description"], className),
2888
+ className: cn(styles54["toast-description"], className),
2948
2889
  ...props
2949
2890
  }
2950
2891
  ));
@@ -3079,14 +3020,14 @@ var Toast = ({ toast: toast2 }) => {
3079
3020
  };
3080
3021
  const displayIcon = icon !== void 0 ? icon : getDefaultIcon();
3081
3022
  return /* @__PURE__ */ jsxs(ToastContainer, { ...props, variant, children: [
3082
- /* @__PURE__ */ jsxs("div", { className: styles56["toast-copy"], children: [
3083
- title && /* @__PURE__ */ jsxs("div", { className: styles56["toast-title-container"], children: [
3023
+ /* @__PURE__ */ jsxs("div", { className: styles55["toast-copy"], children: [
3024
+ title && /* @__PURE__ */ jsxs("div", { className: styles55["toast-title-container"], children: [
3084
3025
  displayIcon && /* @__PURE__ */ jsx(Icon, { icon: displayIcon, size: "sm", background: "transparent" }),
3085
3026
  /* @__PURE__ */ jsx(ToastTitle, { children: title })
3086
3027
  ] }),
3087
3028
  description && /* @__PURE__ */ jsx(ToastDescription, { children: description })
3088
3029
  ] }),
3089
- action && /* @__PURE__ */ jsx("div", { className: styles56["toast-action"], children: action }),
3030
+ action && /* @__PURE__ */ jsx("div", { className: styles55["toast-action"], children: action }),
3090
3031
  /* @__PURE__ */ jsx(ToastClose, {})
3091
3032
  ] });
3092
3033
  };
@@ -3116,7 +3057,7 @@ var TruncatedDescription = ({
3116
3057
  e.stopPropagation();
3117
3058
  setExpanded(!expanded);
3118
3059
  };
3119
- return /* @__PURE__ */ jsxs("div", { className: cn(styles57["truncated-description"], className), children: [
3060
+ return /* @__PURE__ */ jsxs("div", { className: cn(styles56["truncated-description"], className), children: [
3120
3061
  /* @__PURE__ */ jsx("div", { dangerouslySetInnerHTML: { __html: displayDescription } }),
3121
3062
  isLongDescription && /* @__PURE__ */ jsx(Button, { variant: "link", size: "sm", onClick: handleToggle, children: expanded ? "Show less" : "Show more" })
3122
3063
  ] });
@@ -3127,12 +3068,12 @@ var removeHtmlTags = (html) => {
3127
3068
  var Heading = forwardRef(
3128
3069
  ({ className, as, displayAs, children, ...props }, ref) => {
3129
3070
  const displayClasses = {
3130
- h1: styles58["h1"],
3131
- h2: styles58["h2"],
3132
- h3: styles58["h3"],
3133
- h4: styles58["h4"],
3134
- h5: styles58["h5"],
3135
- h6: styles58["h6"]
3071
+ h1: styles57["h1"],
3072
+ h2: styles57["h2"],
3073
+ h3: styles57["h3"],
3074
+ h4: styles57["h4"],
3075
+ h5: styles57["h5"],
3076
+ h6: styles57["h6"]
3136
3077
  };
3137
3078
  const displayClass = displayClasses[displayAs] || displayClasses[as];
3138
3079
  const HeadingTag = as;
@@ -3149,73 +3090,73 @@ var getStatusConfig = (status) => {
3149
3090
  case "in-progress":
3150
3091
  return {
3151
3092
  icon: "Clock",
3152
- className: styles59["badge--in-progress"],
3093
+ className: styles58["badge--in-progress"],
3153
3094
  label: "In Progress"
3154
3095
  };
3155
3096
  case "not-started":
3156
3097
  return {
3157
3098
  icon: "Circle",
3158
- className: styles59["badge--not-started"],
3099
+ className: styles58["badge--not-started"],
3159
3100
  label: "Not Started"
3160
3101
  };
3161
3102
  case "ready-for-review":
3162
3103
  return {
3163
3104
  icon: "ClipboardCheck",
3164
- className: styles59["badge--ready-for-review"],
3105
+ className: styles58["badge--ready-for-review"],
3165
3106
  label: "Ready for Review"
3166
3107
  };
3167
3108
  case "in-review":
3168
3109
  return {
3169
3110
  icon: "Eye",
3170
- className: styles59["badge--in-review"],
3111
+ className: styles58["badge--in-review"],
3171
3112
  label: "In Review"
3172
3113
  };
3173
3114
  case "comment":
3174
3115
  return {
3175
3116
  icon: "MessageCircle",
3176
- className: styles59["badge--comment"],
3117
+ className: styles58["badge--comment"],
3177
3118
  label: "Comment"
3178
3119
  };
3179
3120
  case "not-applicable":
3180
3121
  return {
3181
3122
  icon: "MinusCircle",
3182
- className: styles59["badge--not-applicable"],
3123
+ className: styles58["badge--not-applicable"],
3183
3124
  label: "Not Applicable"
3184
3125
  };
3185
3126
  case "accepted":
3186
3127
  return {
3187
3128
  icon: /* @__PURE__ */ jsx(MessageCircleCheckIcon, {}),
3188
- className: styles59["badge--accepted"],
3129
+ className: styles58["badge--accepted"],
3189
3130
  label: "Accepted"
3190
3131
  };
3191
3132
  case "questioned":
3192
3133
  return {
3193
3134
  icon: "MessageCircleQuestion",
3194
- className: styles59["badge--question"],
3135
+ className: styles58["badge--question"],
3195
3136
  label: "Questioned"
3196
3137
  };
3197
3138
  case "general":
3198
3139
  return {
3199
3140
  icon: "MessageCircle",
3200
- className: styles59["badge--comment"],
3141
+ className: styles58["badge--comment"],
3201
3142
  label: "General"
3202
3143
  };
3203
3144
  case "compliant":
3204
3145
  return {
3205
3146
  icon: "Check",
3206
- className: styles59["badge--compliant"],
3147
+ className: styles58["badge--compliant"],
3207
3148
  label: "Compliant"
3208
3149
  };
3209
3150
  case "non-compliant":
3210
3151
  return {
3211
3152
  icon: "TriangleAlert",
3212
- className: styles59["badge--non-compliant"],
3153
+ className: styles58["badge--non-compliant"],
3213
3154
  label: "Non-compliant"
3214
3155
  };
3215
3156
  default:
3216
3157
  return {
3217
3158
  icon: "Circle",
3218
- className: styles59["badge--not-started"],
3159
+ className: styles58["badge--not-started"],
3219
3160
  label: status
3220
3161
  };
3221
3162
  }
@@ -3245,12 +3186,12 @@ var Portal8 = () => {
3245
3186
  return /* @__PURE__ */ jsx("div", { id: "equality-theme-provider-root-portal" });
3246
3187
  };
3247
3188
  var ThemeProvider = ({ customVars, children }) => {
3248
- return /* @__PURE__ */ jsxs("div", { id: "equality-theme-provider-root", className: styles60.root, style: customVars, children: [
3189
+ return /* @__PURE__ */ jsxs("div", { id: "equality-theme-provider-root", className: styles59.root, style: customVars, children: [
3249
3190
  children,
3250
3191
  /* @__PURE__ */ jsx(Portal8, {})
3251
3192
  ] });
3252
3193
  };
3253
3194
 
3254
- export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, BgGradient, Button, Card, CardContent, CardContentHeader, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, CopyButton, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, InfoCard, Input, Label2 as Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, RadialGraph, RadioDropdown, RadioGroup2 as RadioGroup, RadioGroupItem, ResourceBadge, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, SortSelector, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toast, ToastAction, ToastClose, ToastContainer, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
3195
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, BgGradient, Button, Card, CardContent, CardContentHeader, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, CopyButton, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, InfoCard, Input, Label2 as Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, RadialGraph, RadioDropdown, RadioGroup2 as RadioGroup, RadioGroupItem, ResourceBadge, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toast, ToastAction, ToastClose, ToastContainer, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
3255
3196
  //# sourceMappingURL=index.js.map
3256
3197
  //# sourceMappingURL=index.js.map