Skip to content
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

fix(PageLayout): Remove unused width value in PageLayout.Pane #5484

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

hussam-i-am
Copy link
Contributor

@hussam-i-am hussam-i-am commented Dec 30, 2024

Closes https://github.com/github/primer/issues/4532

Changelog

New

Changed

It appears that for responsive array values for sx, they only accept arrays of max length of 4 and ignore any values after that point. When converting to CSS modules I thought the 5th value would associated to the 1280px breakpoint, but that was not the case. This removes the 5th value from the array since it's not being used.

Also fixed some console warnings in storybook

Removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@hussam-i-am hussam-i-am self-assigned this Dec 30, 2024
@hussam-i-am hussam-i-am requested a review from a team as a code owner December 30, 2024 17:55
Copy link

changeset-bot bot commented Dec 30, 2024

🦋 Changeset detected

Latest commit: a3ef0fa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Minor

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

Copy link
Contributor

👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks!

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Dec 30, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-5484 December 30, 2024 17:57 Inactive
Copy link
Contributor

github-actions bot commented Dec 30, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 103.7 KB (+0.03% 🔺)
packages/react/dist/browser.umd.js 104.15 KB (+0.09% 🔺)

Copy link
Member

@francinelucca francinelucca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hussam-i-am hussam-i-am added this pull request to the merge queue Dec 30, 2024
Merged via the queue into main with commit efb1659 Dec 30, 2024
42 checks passed
@hussam-i-am hussam-i-am deleted the hussam-i-am/fix-page-layout-width branch December 30, 2024 20:05
@primer primer bot mentioned this pull request Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants