Skip to content

chore: remove unused DialogPortal and DialogOverlay exports from dialog component#207

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-unused-dialog-portal-overlay-exports-20260622
Open

chore: remove unused DialogPortal and DialogOverlay exports from dialog component#207
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-unused-dialog-portal-overlay-exports-20260622

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Removes two unused exports (DialogPortal and DialogOverlay) from the dialog shadcn/ui component. These components are defined and used internally by DialogContent, but no external code imports them, so they don't need to be part of the public export block.

Why

Changes

  • src/components/ui/dialog.tsx: Removed DialogPortal and DialogOverlay from the export { ... } block. The component definitions remain in the file (they are used internally by DialogContent).

Verification

  • Grep confirms no files import DialogPortal or DialogOverlay from anywhere in the codebase
  • All 52 existing tests pass
  • Production build completes successfully
  • No behavior change — these exports were never imported externally

…og 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
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 22, 2026 10:06am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant