"use client"; import * as React from "react"; import * as SelectPrimitive from "@radix-ui/react-select"; import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react"; import { usePortalContainer } from "../context"; import { cn } from "../lib/cn"; function Select({ ...props }: React.ComponentProps): React.ReactNode { return ; } function SelectGroup({ ...props }: React.ComponentProps): React.ReactNode { return ; } function SelectValue({ ...props }: React.ComponentProps): React.ReactNode { return ; } // The design system's Select: the Input's field with a chevron that turns when // the list is open (the chevron only: a page may put an icon of its own in the // trigger). In the list the option under the pointer or the arrow keys takes // the 5% tint, the chosen one Electric Blue SemiBold and a tick. function SelectTrigger({ className, size = "default", children, ...props }: React.ComponentProps & { size?: "sm" | "default"; }): React.ReactNode { return ( {children} ); } function SelectContent({ className, children, position = "popper", ...props }: React.ComponentProps): React.ReactNode { const container = usePortalContainer(); return ( {children} ); } function SelectLabel({ className, ...props }: React.ComponentProps): React.ReactNode { return ( ); } function SelectItem({ className, children, ...props }: React.ComponentProps): React.ReactNode { return ( {children} ); } function SelectSeparator({ className, ...props }: React.ComponentProps): React.ReactNode { return ( ); } function SelectScrollUpButton({ className, ...props }: React.ComponentProps< typeof SelectPrimitive.ScrollUpButton >): React.ReactNode { return ( ); } function SelectScrollDownButton({ className, ...props }: React.ComponentProps< typeof SelectPrimitive.ScrollDownButton >): React.ReactNode { return ( ); } export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };