-
Notifications
You must be signed in to change notification settings - Fork 33
Fully Removes Deprecated <EnvAtlas/> component
#247
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
…to Environment component
🦋 Changeset detectedLatest commit: 03844b7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
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 removes the deprecated <EnvAtlas/> component and updates all references to use the newer <Environment/> component instead.
- Completely removes the
EnvAtlas.tsxcomponent file and its documentation - Updates code examples and documentation to use
<Environment envAtlas={asset} />instead of<EnvAtlas asset={asset} /> - Removes imports of the deprecated component from relevant files
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/lib/src/hooks/use-asset.ts | Updates JSDoc example to use Environment component |
| packages/lib/src/components/EnvAtlas.tsx | Completely removes the deprecated EnvAtlas component |
| packages/docs/templates/HomePageExample.jsx | Migrates from EnvAtlas to Environment component with conditional rendering |
| packages/docs/content/docs/api/hooks/use-asset.mdx | Updates documentation examples to use Environment component |
| packages/docs/content/docs/api/components/envatlas.mdx | Removes EnvAtlas component documentation |
| packages/docs/client-mdx-components.js | Removes EnvAtlas from component imports |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
…s/react into chore-remove-env-atlas
…pdate related imports
commit: |
This PR fully removes the
<EnvAtlas/>component which has been deprecated and replaces internal references to the newer<Environment/>component