plane
plane copied to clipboard
[WEB-5482] fix: propel package types
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.assigncompound subcomponents with named exports forCombobox,Command,ContextMenu,Dialog,Popover,Tabs,Toolbar, andSkeleton.- 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 inindex.ts(e.g.,context-menu,toolbar).- Usage updates:
- Migrate
EmojiPickerandEmojiReactionPickertoPopoverTrigger/PopoverContent.- Adjust
ContextMenuandDialoginternals/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.