-
Notifications
You must be signed in to change notification settings - Fork 649
Reimplemented tooltips using the Popover API. #2804
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
…component config.
🦋 Changeset detectedLatest commit: 505dbc5 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 |
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
This is going to be held up for the moment. There's a conflict in transitive dependencies (specifically some packages that storybook uses) that can't be updated without bumping a major version on Storybook. |
size-limit report 📦
|
|
Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days. |
Reimplemented the Tooltip component using the Popover API. This should not change anything about the tooltip component from a user's perspective.
Bring this in line with the PVC implementation, this doesn't support the
alignprop. Users should use the diagonal directions for this instead.Since the Popover API is not yet available in stable browsers, this includes a polyfill as well as an update to
styled-componentsfrom 4.x to 5.x to take advantage of the shouldForwardProp feature. That update will block merging to main, since we would need to update all dependent applications to use 5.x. Primer currently supports either 4.x or 5.x.Closes #2124.
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.