-
Notifications
You must be signed in to change notification settings - Fork 645
chore: remove styled PageLayout #7191
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
🦋 Changeset detectedLatest commit: ddd169b 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 |
…act into chore/remove-styled-pagelayout
…act into chore/remove-styled-pagelayout
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 PageLayout component from the @primer/styled-react package as it has no internal usage. This is a breaking change marked appropriately as a major version bump.
Key changes:
- Removes PageLayout component and its type exports from the package
- Removes associated tests for PageLayout
- Updates export snapshots to reflect the removal
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/styled-react/src/index.tsx | Removes PageLayout and PageLayoutProps export statement |
| packages/styled-react/src/components/PageLayout.tsx | Deletes the entire PageLayout component implementation file |
| packages/styled-react/src/tests/primer-react.browser.test.tsx | Removes PageLayout import and all related test cases |
| packages/styled-react/src/tests/snapshots/exports.test.ts.snap | Updates snapshot to remove PageLayout from exports list |
| .changeset/clever-pumpkins-train.md | Adds changeset documenting the removal as a major version change |
|
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/6884 |
|
🟢 ci completed with status |
No internal usage so removing