-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: enable positioning the tooltip relative to the hovered mark * refactor: clean up * test: add coverage for calculatePositionRelativeToCursor() * feat: added x and y offset for tooltips relative to hovered marks * chore: made diagonal positioning consistent for relative mark tooltips * test: add test coverage * chore: clean up * chore: clean up * trigger build * build: remove unnecessary script * chore: simplify statement * refactor: use utility methods to validate tooltip position * fix: remove commented code * refactor: simplify arguments to calculatePositionRelativeToCursor() * test: add tests for position utilities * feat: add options controls to example pages * fix: incorrect form value * refactor: simplify code --------- Co-authored-by: Marshall Peterson <mpeterson@adobe.com> Co-authored-by: Connor Lamoureux <connorl@adobe.com>
- Loading branch information
1 parent
2a97e8e
commit 5a95192
Showing
7 changed files
with
424 additions
and
54 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,7 @@ body { | |
top: 1em; | ||
right: 1em; | ||
} | ||
|
||
.options { | ||
margin-top: 24px; | ||
} |
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.