From c984d00603d07fca9febe22ad52bba5224fa36ca Mon Sep 17 00:00:00 2001 From: Oleg Isonen Date: Thu, 6 Oct 2022 21:42:40 +0200 Subject: [PATCH] keep original naming inside the mapped name for clarity --- .../features/props-panel/props-panel.tsx | 18 +++++++++--------- .../design-system/src/components/combobox.tsx | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/designer/app/designer/features/props-panel/props-panel.tsx b/apps/designer/app/designer/features/props-panel/props-panel.tsx index e698e2a6f0..888e8833d7 100644 --- a/apps/designer/app/designer/features/props-panel/props-panel.tsx +++ b/apps/designer/app/designer/features/props-panel/props-panel.tsx @@ -14,9 +14,9 @@ import { TextField, Tooltip, useCombobox, - ComboboxPrimitive, - ComboboxContent, - ComboboxAnchor, + ComboboxPopper, + ComboboxPopperContent, + ComboboxPopperAnchor, ComboboxListbox, ComboboxListboxItem, IconButton, @@ -62,9 +62,9 @@ export const Combobox = ({ }); return ( - + - + - - + + {isOpen && items.map((item, index) => { @@ -97,9 +97,9 @@ export const Combobox = ({ ); })} - + - + ); }; diff --git a/packages/design-system/src/components/combobox.tsx b/packages/design-system/src/components/combobox.tsx index fa02112a64..2851a86ce0 100644 --- a/packages/design-system/src/components/combobox.tsx +++ b/packages/design-system/src/components/combobox.tsx @@ -65,11 +65,11 @@ export const ComboboxListbox = Listbox; export const ComboboxListboxItem = forwardRef(ListboxItemBase); -export const ComboboxPrimitive = Popper; +export const ComboboxPopper = Popper; -export const ComboboxContent = PopperContent; +export const ComboboxPopperContent = PopperContent; -export const ComboboxAnchor = PopperAnchor; +export const ComboboxPopperAnchor = PopperAnchor; type useComboboxProps = { items: ReadonlyArray;