a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", + className + )} + {...props} + /> + ) +} + +function ItemActions({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function ItemHeader({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function ItemFooter({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +export { + Item, + ItemMedia, + ItemContent, + ItemActions, + ItemGroup, + ItemSeparator, + ItemTitle, + ItemDescription, + ItemHeader, + ItemFooter, +} diff --git a/apps/gui/src/components/ui/select.tsx b/apps/gui/src/components/ui/select.tsx index 046dc85..8ca2c77 100644 --- a/apps/gui/src/components/ui/select.tsx +++ b/apps/gui/src/components/ui/select.tsx @@ -1,21 +1,14 @@ "use client" import * as React from "react" +import { Select as SelectPrimitive } from "@base-ui/react/select" import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react" -import { Select as SelectPrimitive } from "radix-ui" import { cn } from "@/lib/utils" -function Select({ - ...props -}: React.ComponentProps