'use client'; import * as React from 'react'; import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from '@/icons'; import { Select as SelectPrimitive } from 'radix-ui'; import { cn } from '@/lib/utils'; import { disabledField, focusRing, iconSizing, invalidState } from '@/lib/cva-presets'; export type SelectProps = React.ComponentProps; export interface SelectTriggerProps extends React.ComponentProps { size?: 'sm' | 'md'; } /** * Choose one value from a list. * * Renders a real listbox with type-ahead and keyboard navigation. Reach for * Combobox instead once the list is long enough to need filtering, and for * DropdownMenu when the items are actions rather than values. */ function Select(props: SelectProps) { return ; } function SelectGroup(props: React.ComponentProps) { return ; } function SelectValue(props: React.ComponentProps) { return ; } function SelectTrigger({ className, size = 'md', children, ...props }: SelectTriggerProps) { return ( {children} ); } function SelectContent({ 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} ); } 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, };