mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
feature: Added in react-vis to display the 30d seed chart
The chart is displayed as an SVG in the background. Probably needs a more snr dev to sanity check typescript stuff.
This commit is contained in:
@@ -9,7 +9,8 @@ import {
|
||||
StatLabel,
|
||||
StatNumber,
|
||||
} from '@metafam/ds';
|
||||
import React, { FC } from 'react';
|
||||
import React, { FC, ReactNode } from 'react';
|
||||
import { AreaSeries, AreaSeriesPoint, FlexibleXYPlot } from 'react-vis';
|
||||
|
||||
type SeedProps = {
|
||||
token: TokenProps;
|
||||
@@ -60,16 +61,17 @@ export const Seed: FC<SeedProps> = (props) => {
|
||||
) || null;
|
||||
|
||||
const priceIncreased = Math.sign(price_change_percentage_24h) === 1;
|
||||
// console.table('Prices 7d: ', prices);
|
||||
|
||||
function highLowPrice7d(days: Array<Array<number>>) {
|
||||
const plots: Array<number> = [];
|
||||
|
||||
days.map((d) => {
|
||||
// console.log(d[1]);
|
||||
// we only want to get the last 7 of 30 days
|
||||
const lastWeek = days.slice(-7);
|
||||
lastWeek.map((d) => {
|
||||
const day: number = d[1];
|
||||
return plots.push(day);
|
||||
});
|
||||
|
||||
const high = Number(Math.max(...plots)).toFixed(2);
|
||||
const low = Number(Math.min(...plots)).toFixed(2);
|
||||
|
||||
@@ -103,8 +105,8 @@ export const Seed: FC<SeedProps> = (props) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box>
|
||||
<StatGroup my={5}>
|
||||
<Box position="relative">
|
||||
<StatGroup position="relative" my={5} zIndex={10}>
|
||||
<Stat mb={3}>
|
||||
<StatLabel>Market Price</StatLabel>
|
||||
<StatNumber>${current_price.usd}</StatNumber>
|
||||
@@ -131,13 +133,89 @@ export const Seed: FC<SeedProps> = (props) => {
|
||||
</Stat>
|
||||
</StatGroup>
|
||||
{ticker && (
|
||||
<Link href={ticker[0]?.token_info_url} isExternal>
|
||||
<Link
|
||||
className="infoLink"
|
||||
href={ticker[0]?.token_info_url}
|
||||
isExternal
|
||||
>
|
||||
Pool Info
|
||||
</Link>
|
||||
)}
|
||||
</Box>
|
||||
<Box
|
||||
className="chartWrapper"
|
||||
position="absolute"
|
||||
width="100%"
|
||||
height="100%"
|
||||
bottom={0}
|
||||
left={0}
|
||||
zIndex={0}
|
||||
sx={{
|
||||
'.seed-chart': {
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
maxW: '100%',
|
||||
'.seed-chart-path': {
|
||||
// transform: 'translate3d(-20px, 50px, 0)',
|
||||
bottom: 0,
|
||||
strokeWidth: 2,
|
||||
fillOpacity: 0.1,
|
||||
},
|
||||
},
|
||||
'.rv-xy-plot__axis__ticks': {},
|
||||
}}
|
||||
>
|
||||
<Chart data={prices} />
|
||||
</Box>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
type ChartType = {
|
||||
children?: ReactNode;
|
||||
data: Array<Array<number>>;
|
||||
};
|
||||
|
||||
export const Chart: FC<ChartType> = ({ data }) => {
|
||||
function makePlots(days: Array<Array<number>>) {
|
||||
// TODO: adding this as i couldn't work out how to fix the type error. Could do with a pair session for this stuff.
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const plots: Array<string | any | AreaSeriesPoint> = [];
|
||||
|
||||
days.map((d, i) => {
|
||||
const day = {
|
||||
x: i + 1,
|
||||
y: d[1],
|
||||
y0: 0,
|
||||
};
|
||||
return plots.push(day);
|
||||
});
|
||||
// console.log('Plots: ', plots);
|
||||
|
||||
return plots;
|
||||
}
|
||||
const plots = makePlots(data);
|
||||
return (
|
||||
<FlexibleXYPlot
|
||||
className="seed-chart"
|
||||
height={175}
|
||||
margin={{
|
||||
right: -2,
|
||||
left: -2,
|
||||
bottom: -2,
|
||||
}}
|
||||
>
|
||||
<AreaSeries
|
||||
className="seed-chart-path"
|
||||
curve="linear"
|
||||
color="white"
|
||||
stroke="#A426A4"
|
||||
opacity={0.4}
|
||||
data={plots}
|
||||
/>
|
||||
</FlexibleXYPlot>
|
||||
);
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
|
||||
@@ -45,12 +45,14 @@
|
||||
"react-is": "16.13.1",
|
||||
"react-qr-svg": "2.3.0",
|
||||
"react-resizable": "^3.0.4",
|
||||
"react-vis": "^1.11.7",
|
||||
"urql": "2.0.2",
|
||||
"web3modal": "1.9.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/coingecko-api": "^1.0.2",
|
||||
"@types/react": "17.0.6",
|
||||
"@types/react-vis": "^1.11.9",
|
||||
"@types/react-grid-layout": "^1.1.3"
|
||||
},
|
||||
"resolutions": {}
|
||||
|
||||
@@ -233,7 +233,7 @@ export const getStaticProps = async () => {
|
||||
const tokenId = 'metagame';
|
||||
const apiUrl = 'https://api.coingecko.com/api/v3/';
|
||||
const tokenQuery = '?localization=false&tickers=true&market_data=true';
|
||||
const chartQuery = '/market_chart?vs_currency=usd&days=7&interval=daily';
|
||||
const chartQuery = '/market_chart?vs_currency=usd&days=30&interval=daily';
|
||||
const token = await fetch(`${apiUrl}coins/${tokenId + tokenQuery}`);
|
||||
const tokenJson = await token.json();
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
export const gridData = [
|
||||
{ i: 'latest', x: 0, y: 0, w: 6, h: 6 },
|
||||
{ i: 'xp', x: 6, y: 0, w: 3, h: 2 },
|
||||
{ i: 'seed', x: 9, y: 0, w: 3, h: 2 },
|
||||
{ i: 'xp', x: 6, y: 0, w: 3, h: 2, minH: 2 },
|
||||
{ i: 'seed', x: 9, y: 0, w: 3, h: 2, minH: 2 },
|
||||
{ i: 'calendar', x: 6, y: 2, w: 3, h: 4 },
|
||||
{ i: 'leaderboard', x: 9, y: 2, w: 3, h: 4 },
|
||||
];
|
||||
|
||||
export const gridDataMd = [
|
||||
{ i: 'latest', x: 0, y: 0, w: 6, h: 4 },
|
||||
{ i: 'xp', x: 6, y: 0, w: 6, h: 2 },
|
||||
{ i: 'seed', x: 6, y: 2, w: 6, h: 2 },
|
||||
{ i: 'xp', x: 6, y: 0, w: 6, h: 2, minH: 2 },
|
||||
{ i: 'seed', x: 6, y: 2, w: 6, h: 2, minH: 2 },
|
||||
{ i: 'calendar', x: 0, y: 4, w: 6, h: 4 },
|
||||
{ i: 'leaderboard', x: 6, y: 4, w: 6, h: 4 },
|
||||
];
|
||||
@@ -56,6 +56,7 @@ export const gridConfig = {
|
||||
},
|
||||
'.container': {
|
||||
overflowY: 'auto',
|
||||
overflowX: 'hidden',
|
||||
height: '100%',
|
||||
},
|
||||
h2: {
|
||||
@@ -177,15 +178,22 @@ export const gridConfig = {
|
||||
},
|
||||
'.chakra-stat': {
|
||||
'&__group': {
|
||||
mt: 1,
|
||||
mt: 3,
|
||||
mb: 0,
|
||||
},
|
||||
'&__label': {
|
||||
fontSize: 'xs',
|
||||
},
|
||||
'&:last-of-type': {
|
||||
'&__number': {
|
||||
fontSize: 'lg',
|
||||
},
|
||||
'&:nth-of-type(3n)': {
|
||||
display: 'none',
|
||||
},
|
||||
},
|
||||
'.infoLink': {
|
||||
display: 'none',
|
||||
},
|
||||
},
|
||||
'&__xs': {
|
||||
'.chakra-stat': {
|
||||
|
||||
163
yarn.lock
163
yarn.lock
@@ -7143,6 +7143,13 @@
|
||||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react-vis@^1.11.9":
|
||||
version "1.11.9"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-vis/-/react-vis-1.11.9.tgz#7d1534cf491d4563dd18c5ad0251d9ae66549323"
|
||||
integrity sha512-n6sbTQuxpIzjf1FTIPhMdwBG0VNU96Oon7z3ASRSCnWT7ehL/zYJ/np0WAYFR/+c8OwNoSzny0OWlUmfvr/YCA==
|
||||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react@*", "@types/react@17.0.6", "@types/react@^17.0.0":
|
||||
version "17.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.6.tgz#0ec564566302c562bf497d73219797a5e0297013"
|
||||
@@ -11941,6 +11948,11 @@ cyclist@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
|
||||
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
|
||||
|
||||
d3-array@1, d3-array@^1.1.1, d3-array@^1.2.0:
|
||||
version "1.2.4"
|
||||
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.4.tgz#635ce4d5eea759f6f605863dbcfc30edc737f71f"
|
||||
integrity sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==
|
||||
|
||||
d3-array@2, d3-array@^2.3.0, d3-array@^2.4.0:
|
||||
version "2.12.1"
|
||||
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-2.12.1.tgz#e20b41aafcdffdf5d50928004ececf815a465e81"
|
||||
@@ -11948,16 +11960,62 @@ d3-array@2, d3-array@^2.3.0, d3-array@^2.4.0:
|
||||
dependencies:
|
||||
internmap "^1.0.0"
|
||||
|
||||
d3-collection@1, d3-collection@^1.0.3:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e"
|
||||
integrity sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==
|
||||
|
||||
d3-color@1, d3-color@^1.0.3:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a"
|
||||
integrity sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==
|
||||
|
||||
"d3-color@1 - 2":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-2.0.0.tgz#8d625cab42ed9b8f601a1760a389f7ea9189d62e"
|
||||
integrity sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ==
|
||||
|
||||
d3-contour@^1.1.0:
|
||||
version "1.3.2"
|
||||
resolved "https://registry.yarnpkg.com/d3-contour/-/d3-contour-1.3.2.tgz#652aacd500d2264cb3423cee10db69f6f59bead3"
|
||||
integrity sha512-hoPp4K/rJCu0ladiH6zmJUEz6+u3lgR+GSm/QdM2BBvDraU39Vr7YdDCicJcxP1z8i9B/2dJLgDC1NcvlF8WCg==
|
||||
dependencies:
|
||||
d3-array "^1.1.1"
|
||||
|
||||
d3-format@1, d3-format@^1.2.0:
|
||||
version "1.4.5"
|
||||
resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.4.5.tgz#374f2ba1320e3717eb74a9356c67daee17a7edb4"
|
||||
integrity sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==
|
||||
|
||||
"d3-format@1 - 2", d3-format@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-2.0.0.tgz#a10bcc0f986c372b729ba447382413aabf5b0767"
|
||||
integrity sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA==
|
||||
|
||||
d3-geo@^1.6.4:
|
||||
version "1.12.1"
|
||||
resolved "https://registry.yarnpkg.com/d3-geo/-/d3-geo-1.12.1.tgz#7fc2ab7414b72e59fbcbd603e80d9adc029b035f"
|
||||
integrity sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==
|
||||
dependencies:
|
||||
d3-array "1"
|
||||
|
||||
d3-hexbin@^0.2.2:
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/d3-hexbin/-/d3-hexbin-0.2.2.tgz#9c5837dacfd471ab05337a9e91ef10bfc4f98831"
|
||||
integrity sha1-nFg32s/UcasFM3qeke8Qv8T5iDE=
|
||||
|
||||
d3-hierarchy@^1.1.4:
|
||||
version "1.1.9"
|
||||
resolved "https://registry.yarnpkg.com/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz#2f6bee24caaea43f8dc37545fa01628559647a83"
|
||||
integrity sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==
|
||||
|
||||
d3-interpolate@1, d3-interpolate@^1.1.4:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-1.4.0.tgz#526e79e2d80daa383f9e0c1c1c7dcc0f0583e987"
|
||||
integrity sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==
|
||||
dependencies:
|
||||
d3-color "1"
|
||||
|
||||
"d3-interpolate@1 - 2", "d3-interpolate@1.2.0 - 2":
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-2.0.1.tgz#98be499cfb8a3b94d4ff616900501a64abc91163"
|
||||
@@ -11965,11 +12023,25 @@ d3-array@2, d3-array@^2.3.0, d3-array@^2.4.0:
|
||||
dependencies:
|
||||
d3-color "1 - 2"
|
||||
|
||||
d3-path@1:
|
||||
version "1.0.9"
|
||||
resolved "https://registry.yarnpkg.com/d3-path/-/d3-path-1.0.9.tgz#48c050bb1fe8c262493a8caf5524e3e9591701cf"
|
||||
integrity sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==
|
||||
|
||||
"d3-path@1 - 2":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-path/-/d3-path-2.0.0.tgz#55d86ac131a0548adae241eebfb56b4582dd09d8"
|
||||
integrity sha512-ZwZQxKhBnv9yHaiWd6ZU4x5BtCQ7pXszEV9CU6kRgwIQVQGLMv1oiL4M+MK/n79sYzsj+gcgpPQSctJUsLN7fA==
|
||||
|
||||
d3-sankey@^0.7.1:
|
||||
version "0.7.1"
|
||||
resolved "https://registry.yarnpkg.com/d3-sankey/-/d3-sankey-0.7.1.tgz#d229832268fc69a7fec84803e96c2256a614c521"
|
||||
integrity sha1-0imDImj8aaf+yEgD6WwiVqYUxSE=
|
||||
dependencies:
|
||||
d3-array "1"
|
||||
d3-collection "1"
|
||||
d3-shape "^1.2.0"
|
||||
|
||||
d3-scale-chromatic@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-scale-chromatic/-/d3-scale-chromatic-2.0.0.tgz#c13f3af86685ff91323dc2f0ebd2dabbd72d8bab"
|
||||
@@ -11978,6 +12050,19 @@ d3-scale-chromatic@^2.0.0:
|
||||
d3-color "1 - 2"
|
||||
d3-interpolate "1 - 2"
|
||||
|
||||
d3-scale@^1.0.5:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-1.0.7.tgz#fa90324b3ea8a776422bd0472afab0b252a0945d"
|
||||
integrity sha512-KvU92czp2/qse5tUfGms6Kjig0AhHOwkzXG0+PqIJB3ke0WUv088AHMZI0OssO9NCkXt4RP8yju9rpH8aGB7Lw==
|
||||
dependencies:
|
||||
d3-array "^1.2.0"
|
||||
d3-collection "1"
|
||||
d3-color "1"
|
||||
d3-format "1"
|
||||
d3-interpolate "1"
|
||||
d3-time "1"
|
||||
d3-time-format "2"
|
||||
|
||||
d3-scale@^3.2.1:
|
||||
version "3.3.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-3.3.0.tgz#28c600b29f47e5b9cd2df9749c206727966203f3"
|
||||
@@ -11989,6 +12074,13 @@ d3-scale@^3.2.1:
|
||||
d3-time "^2.1.1"
|
||||
d3-time-format "2 - 3"
|
||||
|
||||
d3-shape@^1.1.0, d3-shape@^1.2.0:
|
||||
version "1.3.7"
|
||||
resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-1.3.7.tgz#df63801be07bc986bc54f63789b4fe502992b5d7"
|
||||
integrity sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==
|
||||
dependencies:
|
||||
d3-path "1"
|
||||
|
||||
d3-shape@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-2.1.0.tgz#3b6a82ccafbc45de55b57fcf956c584ded3b666f"
|
||||
@@ -11996,6 +12088,13 @@ d3-shape@^2.0.0:
|
||||
dependencies:
|
||||
d3-path "1 - 2"
|
||||
|
||||
d3-time-format@2:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-2.3.0.tgz#107bdc028667788a8924ba040faf1fbccd5a7850"
|
||||
integrity sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==
|
||||
dependencies:
|
||||
d3-time "1"
|
||||
|
||||
"d3-time-format@2 - 3", d3-time-format@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-3.0.0.tgz#df8056c83659e01f20ac5da5fdeae7c08d5f1bb6"
|
||||
@@ -12003,6 +12102,11 @@ d3-shape@^2.0.0:
|
||||
dependencies:
|
||||
d3-time "1 - 2"
|
||||
|
||||
d3-time@1:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-1.1.0.tgz#b1e19d307dae9c900b7e5b25ffc5dcc249a8a0f1"
|
||||
integrity sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==
|
||||
|
||||
"d3-time@1 - 2", d3-time@^2.0.0, d3-time@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-2.1.1.tgz#e9d8a8a88691f4548e68ca085e5ff956724a6682"
|
||||
@@ -12010,6 +12114,11 @@ d3-shape@^2.0.0:
|
||||
dependencies:
|
||||
d3-array "2"
|
||||
|
||||
d3-voronoi@^1.1.2:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/d3-voronoi/-/d3-voronoi-1.1.4.tgz#dd3c78d7653d2bb359284ae478645d95944c8297"
|
||||
integrity sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==
|
||||
|
||||
d64@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/d64/-/d64-1.0.0.tgz#4002a87e850cbfc9f9d9706b60fca613a3336e90"
|
||||
@@ -12253,7 +12362,7 @@ deep-eql@^3.0.1:
|
||||
dependencies:
|
||||
type-detect "^4.0.0"
|
||||
|
||||
deep-equal@~1.1.1:
|
||||
deep-equal@^1.0.1, deep-equal@~1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a"
|
||||
integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==
|
||||
@@ -15597,7 +15706,7 @@ global-prefix@^3.0.0:
|
||||
kind-of "^6.0.2"
|
||||
which "^1.3.1"
|
||||
|
||||
global@^4.4.0, global@~4.4.0:
|
||||
global@^4.3.1, global@^4.4.0, global@~4.4.0:
|
||||
version "4.4.0"
|
||||
resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406"
|
||||
integrity sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==
|
||||
@@ -16195,6 +16304,11 @@ hmac-drbg@^1.0.1:
|
||||
minimalistic-assert "^1.0.0"
|
||||
minimalistic-crypto-utils "^1.0.1"
|
||||
|
||||
hoek@4.2.1:
|
||||
version "4.2.1"
|
||||
resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.1.tgz#9634502aa12c445dd5a7c5734b572bb8738aacbb"
|
||||
integrity sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==
|
||||
|
||||
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.1, hoist-non-react-statics@^3.3.2:
|
||||
version "3.3.2"
|
||||
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
|
||||
@@ -24091,6 +24205,11 @@ pem-jwk@^2.0.0:
|
||||
dependencies:
|
||||
asn1.js "^5.0.1"
|
||||
|
||||
performance-now@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5"
|
||||
integrity sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=
|
||||
|
||||
performance-now@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
|
||||
@@ -25039,6 +25158,13 @@ rabin-wasm@^0.1.1, rabin-wasm@^0.1.4:
|
||||
node-fetch "^2.6.1"
|
||||
readable-stream "^3.6.0"
|
||||
|
||||
raf@^3.1.0:
|
||||
version "3.4.1"
|
||||
resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
|
||||
integrity sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==
|
||||
dependencies:
|
||||
performance-now "^2.1.0"
|
||||
|
||||
ramda@0.21.0, ramda@^0.21.0:
|
||||
version "0.21.0"
|
||||
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.21.0.tgz#a001abedb3ff61077d4ff1d577d44de77e8d0a35"
|
||||
@@ -25390,6 +25516,15 @@ react-markdown@^4.3.1:
|
||||
unist-util-visit "^1.3.0"
|
||||
xtend "^4.0.1"
|
||||
|
||||
react-motion@^0.5.2:
|
||||
version "0.5.2"
|
||||
resolved "https://registry.yarnpkg.com/react-motion/-/react-motion-0.5.2.tgz#0dd3a69e411316567927917c6626551ba0607316"
|
||||
integrity sha512-9q3YAvHoUiWlP3cK0v+w1N5Z23HXMj4IF4YuvjvWegWqNPfLXsOBE/V7UvQGpXxHFKRQQcNcVQE31g9SB/6qgQ==
|
||||
dependencies:
|
||||
performance-now "^0.2.0"
|
||||
prop-types "^15.5.8"
|
||||
raf "^3.1.0"
|
||||
|
||||
react-native-fetch-api@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react-native-fetch-api/-/react-native-fetch-api-2.0.0.tgz#c4af188b4fce3f3eaf1f1ff4e61dae1a00d4ffa0"
|
||||
@@ -25571,6 +25706,30 @@ react-transition-group@^4.3.0, react-transition-group@^4.4.0, react-transition-g
|
||||
loose-envify "^1.4.0"
|
||||
prop-types "^15.6.2"
|
||||
|
||||
react-vis@^1.11.7:
|
||||
version "1.11.7"
|
||||
resolved "https://registry.yarnpkg.com/react-vis/-/react-vis-1.11.7.tgz#909902af00158895d14da1adfe1d0dc0045228ff"
|
||||
integrity sha512-vJqS12l/6RHeSq8DVl4PzX0j8iPgbT8H8PtgTRsimKsBNcPjPseO4RICw1FUPrwj8MPrrna34LBtzyC4ATd5Ow==
|
||||
dependencies:
|
||||
d3-array "^1.2.0"
|
||||
d3-collection "^1.0.3"
|
||||
d3-color "^1.0.3"
|
||||
d3-contour "^1.1.0"
|
||||
d3-format "^1.2.0"
|
||||
d3-geo "^1.6.4"
|
||||
d3-hexbin "^0.2.2"
|
||||
d3-hierarchy "^1.1.4"
|
||||
d3-interpolate "^1.1.4"
|
||||
d3-sankey "^0.7.1"
|
||||
d3-scale "^1.0.5"
|
||||
d3-shape "^1.1.0"
|
||||
d3-voronoi "^1.1.2"
|
||||
deep-equal "^1.0.1"
|
||||
global "^4.3.1"
|
||||
hoek "4.2.1"
|
||||
prop-types "^15.5.8"
|
||||
react-motion "^0.5.2"
|
||||
|
||||
react@16.14.0, react@^16.13.0, react@^16.8.6:
|
||||
version "16.14.0"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
|
||||
|
||||
Reference in New Issue
Block a user