-
Notifications
You must be signed in to change notification settings - Fork 106
perf(core): remove @floating-ui/dom dependency
#2945
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
🦋 Changeset detectedLatest commit: 788a567 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 |
@floatingui/dom dependency
✅ Commitlint tests passed!More Info{
"valid": true,
"errors": [],
"warnings": [],
"input": "perf(core): remove `@floating-ui/dom` dependency"
} |
✅ Deploy Preview for patternfly-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@floatingui/dom dependency@floating-ui/dom dependency
This comment has been minimized.
This comment has been minimized.
our config is hardcoded
@floating-ui/dom dependency@floating-ui/dom dependency
markcaron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PFE / Upstream part LGTM
|
@adamjohnson merge and release this when you're satisfied it doesn't break rhds plznthx |
adamjohnson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested PFE tooltip, popover, and dropdown, ✅
Ran a build, copied over and tested audio player and tooltip ✅
Library Gone, Trust Maintained
|
We can merge and release in Office Hours (or before if @bennypowers you're feeling it). |
What I did
This PR is an attempt to static the implementation of
@floating-ui/dom, so we no longer have to update that dependency or serve it downstream. This implementation will eventually be replaced entirely with browser APIs in anchor positioning.@floating-ui/domdependency by way of AI copying its functionality into our own repo.pfe-core/core/functions.FloatingDomControllerto import from the new location.TODO
Testing Instructions
Notes to Reviewers
The copied API was completed with the assistance of Claude AI. Please give extra scrutiny to this code.