import * as React from 'react'; import * as SelectPrimitive from '@radix-ui/react-select'; import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from 'lucide-react'; import { cn } from '@/lib/utils'; function Select({ ...props }: React.ComponentProps) { return ; } function SelectGroup({ ...props }: React.ComponentProps) { return ; } function SelectValue({ ...props }: React.ComponentProps) { return ; } function SelectTrigger({ className, size = 'default', children, ...props }: React.ComponentProps & { size?: 'sm' | 'default'; }) { return ( {children} ); } function SelectContent({ className, children, position = 'popper', onCloseAutoFocus, ...props }: React.ComponentProps) { return ( { onCloseAutoFocus?.(event); if (event.defaultPrevented) return; const content = event.target as HTMLElement; const activeElement = content.ownerDocument.activeElement; // Exit animations may finish after another control has taken focus. if ( activeElement && activeElement !== content.ownerDocument.body && !content.contains(activeElement) ) event.preventDefault(); }} > {children} ); } function SelectLabel({ className, ...props }: React.ComponentProps) { return ( ); } function SelectItem({ className, children, description, ...props }: React.ComponentProps & { description?: React.ReactNode; }) { return ( {description != null ? (
{children} {description}
) : ( {children} )}
); } function SelectSeparator({ className, ...props }: React.ComponentProps) { return ( ); } function SelectScrollUpButton({ className, ...props }: React.ComponentProps) { return ( ); } function SelectScrollDownButton({ className, ...props }: React.ComponentProps) { return ( ); } export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };