Skip to content

refactor(ui): remove unused SheetPortal and SheetOverlay exports#200

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-unused-sheet-exports-20260620
Open

refactor(ui): remove unused SheetPortal and SheetOverlay exports#200
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-unused-sheet-exports-20260620

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Removes unused SheetPortal and SheetOverlay exports from the Sheet component. These components are defined and used internally by SheetContent, but no external code imports them, so they don't need to be part of the public export block.

Why

Changes

  • src/components/ui/sheet.tsx: Removed SheetPortal and SheetOverlay from the export { ... } block. The component definitions remain in the file (they are used internally by SheetContent).

Test Plan

  • All 52 existing tests pass
  • Production build completes successfully
  • No behavior change — these exports were never imported externally

These components are defined and used internally by SheetContent but
are exported even though no external code imports them.

Keeping the internal definitions as they are used by SheetContent;
only removing them from the export block.

Analogous to the DialogFooter removal in PR #179.
@vercel

vercel Bot commented Jun 20, 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 20, 2026 10:08am

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