-
Notifications
You must be signed in to change notification settings - Fork 71
chore(packages): deprecate box, chat-disclaimer, and message-actions packages #3181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR deprecates three packages in the LeafyGreen UI design system that have been superseded by newer components. The packages are moved to a deprecated-packages/
directory and properly marked for deprecation.
- Moves three deprecated packages (
@leafygreen-ui/box
,@lg-chat/chat-disclaimer
,@lg-chat/message-actions
) todeprecated-packages/
directory - Adds deprecation metadata to package.json files with migration guidance
- Updates Storybook organization for MessagePromotion component
Reviewed Changes
Copilot reviewed 5 out of 32 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
deprecated-packages/message-actions/package.json | Marks package as private and deprecated with migration info to @lg-chat/message v8.1.0+ |
deprecated-packages/chat-disclaimer/package.json | Marks package as private and deprecated with migration info to @lg-chat/input-bar v10.1.0+ |
deprecated-packages/box/package.json | Marks package as private and deprecated with migration info to @leafygreen-ui/polymorphic |
chat/message/src/MessagePromotion/MessagePromotion.stories.tsx | Updates Storybook title to better reflect component hierarchy |
README.md | Removes deprecated packages from the main component table of contents |
Size Change: -10.9 kB (-0.68%) Total Size: 1.59 MB
ℹ️ View Unchanged
|
efe04f2
to
142f882
Compare
This PR deprecates three packages that have been superseded by other components in the design system:
@leafygreen-ui/box
→ users should migrate to@leafygreen-ui/polymorphic
@lg-chat/chat-disclaimer
→ users should migrate to@lg-chat/input-bar
v10.1.0+@lg-chat/message-actions
→ users should migrate to@lg-chat/message
v8.1.0+The packages have been moved to the
deprecated-packages/
directory, marked as private and deprecated in theirpackage.json
files, and removed from the global README table of contents. These were already deprecated but re-published because we didn't have a lock in place to prevent deprecated packages from being included in changesets. Marking them as private and explicitly moving them to a separate package should prevent them from being re-published.Additionally, the Storybook title for
MessagePromotion
was updated to better reflect its location in the component hierarchy.🎟️ Jira ticket: N/A
✅ Checklist
pnpm changeset
and documented my changes🧪 How to test changes
@leafygreen-ui/box
,@lg-chat/chat-disclaimer
, and@lg-chat/message-actions
are no longer listed in the main README table of contentsdeprecated-packages/
directory with"private": true
and"deprecated"
fields in theirpackage.json
filesComposition/Chat/Message/Promotion
instead ofComposition/Chat/MessagePromotion