import { component$, PropsOf, Slot } from '@builder.io/qwik'; import { Dropdown as HDropdown } from '@qwik-ui/headless'; import { cn } from '@qwik-ui/utils'; import { buttonVariants } from '../button/button'; import { VariantProps } from 'class-variance-authority'; type RootProps = PropsOf; const Root = (props: RootProps) => { return ( {props.children} ); }; type TriggerProps = PropsOf & VariantProps; const Trigger = component$(({ size, look, ...props }) => { return ( ); }); type PopoverProps = PropsOf; const Popover = component$((props: PopoverProps) => { return ( ); }); type ItemProps = PropsOf & { inset?: boolean; }; const Item = component$(({ inset, ...props }: ItemProps) => { return ( ); }); type ItemIndicatorProps = PropsOf; const ItemIndicator = component$((props: ItemIndicatorProps) => { return ( ); }); type SeparatorProps = PropsOf; const Separator = component$((props: SeparatorProps) => { return ( ); }); type GroupProps = PropsOf; export const Group = component$((props: GroupProps) => { return ( ); }); type GroupLabelProps = PropsOf & { inset?: boolean; }; const GroupLabel = component$(({ inset, ...props }: GroupLabelProps) => { return ( ); }); const Shortcut = component$((props: PropsOf<'span'>) => { return ( ); }); export const Dropdown = { Root, Trigger, Popover, Separator, Item, ItemIndicator, Group, GroupLabel, Shortcut, };