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(UnderlinePanels): add explicit type="button" to UnderlinePanels #4970

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

joshblack
Copy link
Member

Closes ##4912

Changelog

New

Changed

  • Enable react/button-has-type rule
  • Refactor tests that include button elements without a type
  • Update UnderlinePanels so that the tab has an explicit type

Removed

Rollout strategy

  • Patch release

Testing & Reviewing

  • Verify that the button element with role="tab" has type="button"

Copy link

changeset-bot bot commented Sep 16, 2024

🦋 Changeset detected

Latest commit: cceb471

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 Patch

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

@joshblack joshblack requested a review from a team as a code owner September 16, 2024 17:00
@github-actions github-actions bot added the staff Author is a staff member label Sep 16, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-4970 September 16, 2024 17:03 Inactive
Copy link
Contributor

github-actions bot commented Sep 16, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 97.5 KB (0%)
packages/react/dist/browser.umd.js 97.67 KB (0%)

@joshblack joshblack added this pull request to the merge queue Sep 18, 2024
Merged via the queue into main with commit 44a3dc9 Sep 18, 2024
32 checks passed
@joshblack joshblack deleted the chore/enable-react-button-has-type-rule branch September 18, 2024 16:48
@primer primer bot mentioned this pull request Sep 18, 2024
TylerJDev pushed a commit that referenced this pull request Sep 23, 2024
…4970)

* refactor(eslint): enable react/button-has-type rule

* fix(UnderlinePanels): add explicit type="button" to UnderlinePanels

* chore: add changeset

* chore: fix eslint violation

---------

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
@primer primer bot mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants