plane icon indicating copy to clipboard operation
plane copied to clipboard

[WEB-5482] fix: propel package types

Open anmolsinghbhatia opened this issue 1 month ago • 2 comments

Description

This PR includes fixs for propel package types error

Type of Change

  • [x] Bug fix
  • [x] Code refactoring

[!NOTE] Shifts multiple UI components from compound-object subcomponents to named exports, adds display names/types, and updates stories/usages accordingly.

  • API refactor (named exports):
    • Replace Object.assign compound subcomponents with named exports for Combobox, Command, ContextMenu, Dialog, Popover, Tabs, Toolbar, and Skeleton.
    • Update all Storybook stories to import/use ...Button/Trigger/Content/List/Item/Panel/Title/... named subcomponents.
  • Types & DX:
    • Add/expand explicit prop types and displayNames across components; broaden re-exports in index.ts (e.g., context-menu, toolbar).
  • Usage updates:
    • Migrate EmojiPicker and EmojiReactionPicker to PopoverTrigger/PopoverContent.
    • Adjust ContextMenu and Dialog internals/exports (portal/overlay/trigger) and re-export granular parts.

Written by Cursor Bugbot for commit 85ca86b0870677a0684f1b73a5fae87ee76b5b30. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

  • Refactor
    • Reworked many components from compound objects to a root alias plus separate named subcomponent exports (Combobox, Command, ContextMenu, Dialog, Popover, Skeleton, Tabs, Toolbar). Added explicit displayName assignments and refined public prop typings for better IDE/TypeScript experience.
  • Documentation / Stories
    • Updated stories and examples to use the new named subcomponent imports (e.g., DialogPanel/DialogTitle, PopoverTrigger/PopoverContent, SkeletonItem) to preserve existing behavior.

✏️ Tip: You can customize this high-level summary in your review settings.

anmolsinghbhatia avatar Nov 21 '25 13:11 anmolsinghbhatia