chore: 🤖 remove leaked styling library types from public api#847
Conversation
…led components implementation details, e.gh. and transient props
…prevent leaking styled-components implementation details
🦋 Changeset detectedLatest commit: 4811fc4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…into chore/remove-leaked-styling-library-types-from-public-api
…into chore/remove-leaked-styling-library-types-from-public-api
…into chore/remove-leaked-styling-library-types-from-public-api
…into chore/remove-leaked-styling-library-types-from-public-api
…into chore/remove-leaked-styling-library-types-from-public-api
…into chore/remove-leaked-styling-library-types-from-public-api
…into chore/remove-leaked-styling-library-types-from-public-api
|
Claude finished @punkbit's task in 1m 3s —— View job PR ReviewClean and well-structured deprecation approach. The migration guide in the changeset is helpful and the 🚨 Must Fix
💡 Suggestions (non-blocking)
Overall this is a solid deprecation — moving the exports to a clearly labeled section with JSDoc and a migration guide is exactly the right approach. 🙌 |
📚 Storybook Preview Deployed✅ Preview URL: https://click-p38e4t5gk-clickhouse.vercel.app Built from commit: |
Why?
Removed StyledLinkProps and linkStyles from the public API to prevent leaking styled-components implementation details, e.g., the $size and $weight transient props. The Link component already accepts a component prop to render as any element type, has size and weight props, and forwards all other props, e.g. onClick, etc.
🤖 On #845 merge, change base branch to main
How?
Preview?
N/A