Skip to content

Conversation

@hussam-i-am
Copy link
Contributor

@hussam-i-am hussam-i-am commented Mar 21, 2025

Changelog

New

Changed

I noticed that ActionList.Group was missing className so I decided to add it. I also added a test for ActionList sub-components to ensure they all support className. Then I realized we could update behavesAsComponent to do the check wherever it is being used. While doing so, it causing a few places that were missing displayName and className, which I also updated

  • Adds className prop to components missing them
  • Adds displayName to components missing them
  • Adds tests for ActionList sub-components
  • Updates behavesAsComponent to test for className
  • Adds skipClassName to component checks that require wrapper to render or do not support it

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 Mar 21, 2025
@hussam-i-am hussam-i-am requested a review from a team as a code owner March 21, 2025 20:54
@hussam-i-am hussam-i-am requested a review from siddharthkp March 21, 2025 20:54
@changeset-bot
Copy link

changeset-bot bot commented Mar 21, 2025

🦋 Changeset detected

Latest commit: 368ed02

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

@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 Mar 21, 2025
@github-actions
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
Copy link
Contributor

github-actions bot commented Mar 21, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 105.44 KB (+0.06% 🔺)
packages/react/dist/browser.umd.js 105.81 KB (+0.07% 🔺)

Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

Looks great! ❤️

Only feedback I have is on the changeset, approving in advance!

Co-authored-by: Siddharth Kshetrapal <[email protected]>
@github-actions github-actions bot temporarily deployed to storybook-preview-5810 March 22, 2025 19:40 Inactive
@hussam-i-am hussam-i-am added this pull request to the merge queue Mar 24, 2025
Merged via the queue into main with commit 2411aa9 Mar 24, 2025
44 checks passed
@hussam-i-am hussam-i-am deleted the hussam-i-am/missing-classnames branch March 24, 2025 15:53
@primer primer bot mentioned this pull request Mar 24, 2025
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.

3 participants