From 5156fdae8b98bdc71a261550864426e5b1dfc14c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Neves?= Date: Mon, 22 Jun 2026 10:05:46 +0000 Subject: [PATCH] chore: remove unused DialogPortal and DialogOverlay exports from dialog component DialogPortal and DialogOverlay are defined and used internally by DialogContent, but no consumer code imports them. This follows the same cleanup pattern as PR #200 for sheet.tsx (SheetPortal/SheetOverlay). Changes: - Removed DialogPortal and DialogOverlay from the export block in src/components/ui/dialog.tsx. The component definitions remain in the file since they are used internally by DialogContent. Verification: - No files import DialogPortal or DialogOverlay from anywhere - All 52 existing tests pass - Production build succeeds --- src/components/ui/dialog.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx index 11dd612..f2b70cc 100644 --- a/src/components/ui/dialog.tsx +++ b/src/components/ui/dialog.tsx @@ -108,8 +108,6 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName export { Dialog, - DialogPortal, - DialogOverlay, DialogClose, DialogTrigger, DialogContent,