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

feat(react): add ScrollableRegion and useOverflow #4719

Merged
merged 5 commits into from
Jul 25, 2024

Conversation

joshblack
Copy link
Member

@joshblack joshblack commented Jul 3, 2024

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

This adds the ScrollableRegion and useOverflow helpers to the experimental entry point. These helpers are used internally by our Table and Dialog components. It would be great to try them out to see if they're helpful more broadly or if they should stay on as experimental components.

Changelog

New

  • Add experimental ScrollableRegion component
  • Add experimental useOverflow hook

Changed

Removed

Rollout strategy

  • Minor release

Copy link

changeset-bot bot commented Jul 3, 2024

🦋 Changeset detected

Latest commit: d1270a6

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

github-actions bot commented Jul 3, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 92.44 KB (+0.09% 🔺)
packages/react/dist/browser.umd.js 92.73 KB (+0.05% 🔺)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants