fix PointTooltip position

This commit is contained in:
Dawid Wysokiński 2020-12-23 20:16:46 +01:00
parent 9243d916b0
commit bdc19ae996
2 changed files with 51 additions and 50 deletions

View File

@ -7,8 +7,8 @@
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.11.0",
"@material-ui/lab": "^4.0.0-alpha.57",
"@nivo/core": "0.63.0",
"@nivo/line": "0.63.0",
"@nivo/core": "0.64.0",
"@nivo/line": "0.64.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",

View File

@ -1379,30 +1379,30 @@
prop-types "^15.7.2"
react-is "^16.8.0 || ^17.0.0"
"@nivo/annotations@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/annotations/-/annotations-0.63.0.tgz#042b9c845f5adff6b830df73a2f6b1a9b9a51134"
integrity sha512-hfJRI9UWFIezx1ybxK/zEoqRX5oboNwF6NENlj+Kbst0rYTNxKHbSjQDTovmVVZEvHX3Thj5XDkvP9/dTULf9Q==
"@nivo/annotations@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/annotations/-/annotations-0.64.0.tgz#272ff809cc4815b5167d6ec46943f4601c611822"
integrity sha512-b9VAVuAn2HztOZckU2GcBwptjCobYV5VgX/jwZTSFeZFLtjZza+QinNL2AbQ2cnmeU3nVCw1dTbJMMZ9fTCCNQ==
dependencies:
"@nivo/colors" "0.63.0"
"@nivo/colors" "0.64.0"
lodash "^4.17.11"
react-spring "^8.0.27"
"@nivo/axes@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/axes/-/axes-0.63.0.tgz#4df656bb7900e43c946dcd5598d8d7996bf2e79f"
integrity sha512-d8CdCJR2VSD0hVpsehQGEfUWXL6w02rNs92KG+pFzUhhd1Xk7RGZQjvF+a4ikvSvjmnz7QfbDE+yIYOZLntY6A==
"@nivo/axes@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/axes/-/axes-0.64.0.tgz#0cca386986bba14e4a7f06f4097b1200b8ada764"
integrity sha512-Pm+Y3C67OuBb3JqHpyFKWAoPAnNojb1s5/LFQYVYN1QpKyjeqilGAoLCjHK6ckgfzreiGf7NG+oBgpH8Ncz2fQ==
dependencies:
"@nivo/scales" "0.63.0"
"@nivo/scales" "0.64.0"
d3-format "^1.4.4"
d3-time "^1.0.11"
d3-time-format "^2.1.3"
react-spring "^8.0.27"
"@nivo/colors@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/colors/-/colors-0.63.0.tgz#be6a1c1f71d7a9e172a099a6c9344943f28f2e1b"
integrity sha512-z214/P5F+RDuQLLroB+tAsyyn093BN1TDxtEVQ9t0gbi2qkQVTbBUR8rGYW35NeLRrTpPfLoHVekoUtL5el/Bg==
"@nivo/colors@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/colors/-/colors-0.64.0.tgz#b754950809738bd8add710f56bcd344689347743"
integrity sha512-3CKIkSjKgwSgBsiJoTlZpFUUpaGTl60pF6rFsIiFT30os9jMxP/J4ikQGQ/vMLPTXskZYoxByaMHGKJy5wypqg==
dependencies:
d3-color "^1.2.3"
d3-scale "^3.0.0"
@ -1411,14 +1411,15 @@
lodash.isplainobject "^4.0.6"
react-motion "^0.5.2"
"@nivo/core@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/core/-/core-0.63.0.tgz#601561b1f7ca9df049c5216300b0df73515852da"
integrity sha512-baGSWH1KLsZ5I4jb6oRc4ZREPgbrjJFaGs5mQAUrI1fkymGxmQbgLPlxA20cO/PU5Ikpuagsq8AKzuJHdZ/Ttw==
"@nivo/core@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/core/-/core-0.64.0.tgz#064c5dc31f2c77177641e3940c98202f1dd1a280"
integrity sha512-tupETbvxgv4B9y3pcXy/lErMwY2aZht+FKSyah1dPFd88LnMD/DOL+to6ociBHmpLQNUMA7wid6R7BlXRY/bmg==
dependencies:
d3-color "^1.2.3"
d3-format "^1.4.4"
d3-hierarchy "^1.1.8"
d3-interpolate "^2.0.1"
d3-scale "^3.0.0"
d3-scale-chromatic "^1.3.3"
d3-shape "^1.3.5"
@ -1428,52 +1429,52 @@
recompose "^0.30.0"
resize-observer-polyfill "^1.5.1"
"@nivo/legends@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/legends/-/legends-0.63.0.tgz#a04f712d1dbaed194faeac2b0aef22fd806f7d9f"
integrity sha512-PZgSUrXw9J/CW9ISKLJWvx0UypodpUYMRxejv0INsmHdLYEyi/9rxX+67pOY0utqCZ5KFWIOk5lwFqGcNY0+Jw==
"@nivo/legends@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/legends/-/legends-0.64.0.tgz#009f3ea66083083741c3d42e6ab261d698666a39"
integrity sha512-L7Mp/of/jY4qE7ef6PXJ8/e3aASBTfsf5BTOh3imSXZT6I4hXa5ppmGAgZ0gOSpcPXuMEjBc0aSIEJoeoytQ/g==
dependencies:
"@nivo/core" "0.63.0"
"@nivo/core" "0.64.0"
lodash "^4.17.11"
recompose "^0.30.0"
"@nivo/line@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/line/-/line-0.63.0.tgz#6156a49fc88b91d2426ec0c8b06849edb0140b78"
integrity sha512-zQur5HeW1FNBaiem1cbLULvT7es8e8X0OtPR8DUsN5VUnBWclMnKfPdWyl4ZSD0UDU+lsxKy0W/Sx2YWlCtWNg==
"@nivo/line@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/line/-/line-0.64.0.tgz#25ef666e47e47ffe5767c91f7aba63b86fd81154"
integrity sha512-WkQU28ZL9Mxq42AdmybWe+2qFh/TiUXu+7e6nj41e/8DO95Guxg1XQ+i5zQKuw/UZlqXZs6WOsMW8EMNE4GzXw==
dependencies:
"@nivo/annotations" "0.63.0"
"@nivo/axes" "0.63.0"
"@nivo/colors" "0.63.0"
"@nivo/legends" "0.63.0"
"@nivo/scales" "0.63.0"
"@nivo/tooltip" "0.63.0"
"@nivo/voronoi" "0.63.0"
"@nivo/annotations" "0.64.0"
"@nivo/axes" "0.64.0"
"@nivo/colors" "0.64.0"
"@nivo/legends" "0.64.0"
"@nivo/scales" "0.64.0"
"@nivo/tooltip" "0.64.0"
"@nivo/voronoi" "0.64.0"
d3-shape "^1.3.5"
react-spring "^8.0.27"
"@nivo/scales@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/scales/-/scales-0.63.0.tgz#ea7132221a82a8c2dae12ada2909b22d2d13068b"
integrity sha512-DeMgtY3AYRBV+qhT8t61dU7rSx4uNrj+FBPtMb7+0PuWDFzTR113tx0vtu8XlEUtTxpTZCJFk7B1mAFDiMnV+A==
"@nivo/scales@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/scales/-/scales-0.64.0.tgz#90f3701b8d2ed7f8a29fbc9d0e7ea95208c59ad6"
integrity sha512-Jbr1rlfe/gLCippndPaCM7doJzzx1K9oXPxS4JiyvrIUkQoMWiozymZQdEp8kgigI6uwWu5xvPwCOFXalCIhKg==
dependencies:
d3-scale "^3.0.0"
d3-time-format "^2.1.3"
lodash "^4.17.11"
"@nivo/tooltip@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/tooltip/-/tooltip-0.63.0.tgz#e9a8bf8ac4e4a2a34f9262fb24c84841674a4069"
integrity sha512-MJVLDxp7kKwohcMrFGlKKXAXmos7dBxN7/SINOdnbXeBIqLU0bPAgk0WuVdICcaHOwRvoqDCYKlIkpNaJXzU1Q==
"@nivo/tooltip@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/tooltip/-/tooltip-0.64.0.tgz#b44e2f8878dfd9ee09c895846c78fb66146b339c"
integrity sha512-iGsuCi42uw/8F7OVvPyWdQgxJXVOPTEdtl2WK2FlSJIH7bfnEsZ+R/lTdElY2JAvGHuNW6hQwpNUZdC/2rOatg==
dependencies:
react-spring "^8.0.27"
"@nivo/voronoi@0.63.0":
version "0.63.0"
resolved "https://registry.yarnpkg.com/@nivo/voronoi/-/voronoi-0.63.0.tgz#4eff20ab89e2c7190de6ecd2bbf1d4ffed660ff1"
integrity sha512-eM1ZQ/QJGhz3g0Wy8sucVUAdylqmpJNE2YZARYKM9HKbs3EgV4yLcGdM4f5NU28V1QdGWx/TMP1R2OwY6H3ovg==
"@nivo/voronoi@0.64.0":
version "0.64.0"
resolved "https://registry.yarnpkg.com/@nivo/voronoi/-/voronoi-0.64.0.tgz#de6b1164a2dabaeaa7b6919907a72350cf32b7d1"
integrity sha512-YdNRzD2rFc1NcAZe9D8gxos+IT2CRPOV/7fUfBCG9SoNw1TtSwSKtEs4xsxmUFmLT1FadWcyKeKuhgJUQnof/A==
dependencies:
"@nivo/core" "0.63.0"
"@nivo/core" "0.64.0"
d3-delaunay "^5.1.1"
d3-scale "^3.0.0"
recompose "^0.30.0"
@ -4113,7 +4114,7 @@ d3-interpolate@1:
dependencies:
d3-color "1"
"d3-interpolate@1.2.0 - 2":
"d3-interpolate@1.2.0 - 2", d3-interpolate@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-2.0.1.tgz#98be499cfb8a3b94d4ff616900501a64abc91163"
integrity sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==