diff --git a/packages/frontend/src/components/ui/select.tsx b/packages/frontend/src/components/ui/select.tsx index b8aab97..e3280d8 100644 --- a/packages/frontend/src/components/ui/select.tsx +++ b/packages/frontend/src/components/ui/select.tsx @@ -1,188 +1,190 @@ -import * as React from "react" -import * as SelectPrimitive from "@radix-ui/react-select" -import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react" +import * as SelectPrimitive from "@radix-ui/react-select"; +import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react"; +import type * as React from "react"; -import { cn } from "@/lib/utils" +import { cn } from "@/lib/utils"; -function Select({ - ...props -}: React.ComponentProps) { - return +function Select({ ...props }: React.ComponentProps) { + return ; } -function SelectGroup({ - ...props -}: React.ComponentProps) { - return +function SelectGroup({ ...props }: React.ComponentProps) { + return ; } -function SelectValue({ - ...props -}: React.ComponentProps) { - return +function SelectValue({ ...props }: React.ComponentProps) { + return ; } function SelectTrigger({ - className, - size = "default", - children, - ...props + className, + size = "default", + children, + ...props }: React.ComponentProps & { - size?: "sm" | "default" + size?: "sm" | "default"; }) { - return ( - - {children} - - - - - ) + return ( + + {children} + + + + + ); } function SelectContent({ - className, - children, - position = "item-aligned", - align = "center", - ...props + className, + children, + position = "item-aligned", + align = "center", + ...props }: React.ComponentProps) { - return ( - - - - + + + + {children} + + + + + ); +} + +function SelectLabel({ className, ...props }: React.ComponentProps) { + return ( + + ); +} + +function SelectItem({ className, children, ...props }: React.ComponentProps) { + return ( + - {children} - - - - - ) + + + + + + {children} + + ); } -function SelectLabel({ - className, - ...props -}: React.ComponentProps) { - return ( - - ) -} - -function SelectItem({ - className, - children, - ...props -}: React.ComponentProps) { - return ( - - - - - - - {children} - - ) -} - -function SelectSeparator({ - className, - ...props -}: React.ComponentProps) { - return ( - - ) +function SelectSeparator({ className, ...props }: React.ComponentProps) { + return ( + + ); } function SelectScrollUpButton({ - className, - ...props + className, + ...props }: React.ComponentProps) { - return ( - - - - ) + return ( + + + + ); } function SelectScrollDownButton({ - className, - ...props + className, + ...props }: React.ComponentProps) { - return ( - - - - ) + return ( + + + + ); } export { - Select, - SelectContent, - SelectGroup, - SelectItem, - SelectLabel, - SelectScrollDownButton, - SelectScrollUpButton, - SelectSeparator, - SelectTrigger, - SelectValue, -} + Select, + SelectContent, + SelectGroup, + SelectItem, + SelectLabel, + SelectScrollDownButton, + SelectScrollUpButton, + SelectSeparator, + SelectTrigger, + SelectValue, +}; diff --git a/packages/frontend/src/components/ui/table.tsx b/packages/frontend/src/components/ui/table.tsx index dc7f5ee..bba5453 100644 --- a/packages/frontend/src/components/ui/table.tsx +++ b/packages/frontend/src/components/ui/table.tsx @@ -39,7 +39,7 @@ function TableRow({