import { type PropsOf, Slot, component$ } from '@builder.io/qwik'; import { Select as HeadlessSelect } from '@qwik-ui/headless'; import { cn } from '@qwik-ui/utils'; import { LuCheck, LuChevronDown } from '@qwikest/icons/lucide'; const Root = (props: PropsOf) => ( ); const Label = component$>(({ ...props }) => { return ( <> ); }); const Trigger = component$>(({ ...props }) => { return ( <> span]:line-clamp-1', props.class, )} > ); }); const DisplayValue = HeadlessSelect.DisplayValue; const Popover = component$>(({ ...props }) => { return ( <> ); }); const Group = HeadlessSelect.Group; const GroupLabel = HeadlessSelect.GroupLabel; const ErrorMessage = HeadlessSelect.ErrorMessage; const Item = component$>(({ ...props }) => { return ( ); }); const ItemIndicator = component$>( ({ ...props }) => { return ( ); }, ); const ItemLabel = component$>(({ ...props }) => { return ( ); }); export const Select = { Root, Label, Trigger, DisplayValue, Popover, Group, GroupLabel, Item, ItemIndicator, ItemLabel, ErrorMessage, };