diff --git a/packages/ui/@/components/ui/popover.tsx b/packages/ui/@/components/ui/popover.tsx index 1b35ea3b0..e47a31810 100644 --- a/packages/ui/@/components/ui/popover.tsx +++ b/packages/ui/@/components/ui/popover.tsx @@ -8,26 +8,26 @@ const Popover = PopoverPrimitive.Root const PopoverTrigger = PopoverPrimitive.Trigger -const PopoverPortal = PopoverPrimitive.Portal - const PopoverArrow = PopoverPrimitive.Arrow const PopoverContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, align = 'center', sideOffset = 4, ...props }, ref) => ( - + + + )) PopoverContent.displayName = PopoverPrimitive.Content.displayName -export { Popover, PopoverTrigger, PopoverContent, PopoverPortal, PopoverArrow } +export { Popover, PopoverTrigger, PopoverContent, PopoverArrow } diff --git a/packages/ui/src/ui.ts b/packages/ui/src/ui.ts index 43d07fbaa..f59ebb0e6 100644 --- a/packages/ui/src/ui.ts +++ b/packages/ui/src/ui.ts @@ -66,7 +66,7 @@ import { SelectValue } from '@/components/ui/select' import { Calendar } from '@/components/ui/calendar' -import { Popover, PopoverContent, PopoverTrigger, PopoverPortal, PopoverArrow } from '@/components/ui/popover' +import { Popover, PopoverContent, PopoverTrigger, PopoverArrow } from '@/components/ui/popover' import { Dialog, DialogClose, @@ -153,7 +153,6 @@ const shadui = { Popover, PopoverTrigger, PopoverContent, - PopoverPortal, PopoverArrow, Dialog, DialogPortal,