fix build client package

This commit is contained in:
Marco Beretta 2025-07-10 23:45:52 +02:00
parent 9f270127d3
commit 0b7dd55797
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
22 changed files with 148 additions and 565 deletions

View file

@ -6,7 +6,6 @@ import {
ListboxOptions,
Transition,
} from '@headlessui/react';
import { AnchorPropsWithSelection } from '@headlessui/react/dist/internal/floating';
import type { Option } from '~/common';
import { cn } from '~/utils/';
@ -16,7 +15,6 @@ interface DropdownProps {
onChange: (value: string | Option) => void;
options: (string | Option)[];
className?: string;
anchor?: AnchorPropsWithSelection;
sizeClasses?: string;
testId?: string;
}
@ -31,7 +29,6 @@ const Dropdown: FC<DropdownProps> = ({
onChange,
options,
className = '',
anchor,
sizeClasses,
testId = 'dropdown-menu',
}) => {
@ -90,7 +87,6 @@ const Dropdown: FC<DropdownProps> = ({
sizeClasses,
className,
)}
anchor={anchor}
aria-label="List of options"
>
{options.map((item, index) => (