diff --git a/.changeset/slow-buttons-beam.md b/.changeset/slow-buttons-beam.md new file mode 100644 index 000000000..0501f693c --- /dev/null +++ b/.changeset/slow-buttons-beam.md @@ -0,0 +1,5 @@ +--- +"@cube-dev/ui-kit": patch +--- + +Improve prop handling in ComboBox.Item diff --git a/src/components/fields/ComboBox/ComboBox.tsx b/src/components/fields/ComboBox/ComboBox.tsx index 2b3f4b292..a73d1ea69 100644 --- a/src/components/fields/ComboBox/ComboBox.tsx +++ b/src/components/fields/ComboBox/ComboBox.tsx @@ -18,7 +18,7 @@ import { useOverlay, useOverlayPosition, } from 'react-aria'; -import { Section as BaseSection, Item } from 'react-stately'; +import { Section as BaseSection } from 'react-stately'; import { useEvent } from '../../../_internal'; import { CloseIcon, DirectionIcon, LoadingIcon } from '../../../icons'; @@ -47,6 +47,7 @@ import { useEventBus } from '../../../utils/react/useEventBus'; import { ItemAction } from '../../actions'; import { useFieldProps, useFormProps, wrapWithField } from '../../form'; import { DisplayTransition } from '../../helpers'; +import { Item } from '../../Item'; import { Portal } from '../../portal'; import { InvalidIcon } from '../../shared/InvalidIcon'; import { ValidIcon } from '../../shared/ValidIcon';