-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(popover): use floating-ui for autoAlign (#14654)
* WIP: add floating-ui to popover * WIP: use scss for align positioning, update CSSOM styling, add flip, add autoUpdate, add arrow, add offset * wip(popover): explore logical properties support, popover offset from logical property * WIP * WIP: add fixed strategy, remove default popover styling when autoAlign * WIP: properly set refs on reference element and floating element * WIP * wip(popover): correct caret placement * wip(popover): update styles to support new alignment names * feat(popover): cleanup autoalign implementation/styles * fix(popover): improve autoAlign * fix(popover): add forwardRef to ToggletipButton * fix(popover): improve autoAlign compatibility with slug * fix(popover): position absolute is not necessary on the container * fix(slug): scope popover selectors for autoalign functionality * chore: yarn dedupe * chore(popover): remove console logs * fix(popover): improve tests, cloneElement logic * fix(popover): update align props across the entire system * chore(popover): fix typescript issues * fix(popover): ensure component api table in docs works * chore(popover): typescript fixes * fix(popover): ensure autoAlign properly pads out the slug caret * fix(popover): typescript error * fix(popover): remove offset when isTabTip * fix(popover): correct caret style typo * docs(popover): clean up stories * test(popover): update story name * chore: fix toggletip story width, vrt popover playground --------- Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
- Loading branch information
1 parent
bce29e3
commit afce28d
Showing
36 changed files
with
1,177 additions
and
406 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.75 KB
.yarn/cache/@babel-helper-function-name-npm-7.22.5-8a1a69b63d-6d02e304a4.zip
Binary file not shown.
Binary file removed
BIN
-8.77 KB
.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-7b2ae024cd.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.