From 44ec7ebfb8fcef7946e94dcc0b72976edc6d25bf Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Mon, 19 Dec 2022 20:58:46 +0100 Subject: [PATCH 01/31] feat(golden-ledger): add remote graphql schemas - smart-escrow xdai - dahouse stats xdai --- services/hasura/metadata/remote_schemas.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/services/hasura/metadata/remote_schemas.yaml b/services/hasura/metadata/remote_schemas.yaml index fe51488c..56b39ebf 100644 --- a/services/hasura/metadata/remote_schemas.yaml +++ b/services/hasura/metadata/remote_schemas.yaml @@ -1 +1,12 @@ -[] +- name: "Smart-Escrow xDai" + definition: + url: https://api.thegraph.com/subgraphs/name/dan13ram/xdai-smart-invoices + timeout_seconds: 40 + customization: + root_field_namespace: smart_escrow_xdai_ +- name: "DAOHaus Stats xDai" + definition: + url: https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai + timeout_seconds: 40 + customization: + root_field_namespace: daohaus_stats_xdai_ \ No newline at end of file From a10fb1195e4120d42a44af2fbc1cbb5fd73c2125 Mon Sep 17 00:00:00 2001 From: psparacino Date: Tue, 20 Dec 2022 15:43:50 -0800 Subject: [PATCH 02/31] fix _meta collision with prefix --- services/hasura/metadata/remote_schemas.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/services/hasura/metadata/remote_schemas.yaml b/services/hasura/metadata/remote_schemas.yaml index 56b39ebf..b9d8b9ab 100644 --- a/services/hasura/metadata/remote_schemas.yaml +++ b/services/hasura/metadata/remote_schemas.yaml @@ -1,12 +1,19 @@ -- name: "Smart-Escrow xDai" +- name: DaoHaus-Stats-xDai definition: - url: https://api.thegraph.com/subgraphs/name/dan13ram/xdai-smart-invoices + url: https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai timeout_seconds: 40 customization: - root_field_namespace: smart_escrow_xdai_ -- name: "DAOHaus Stats xDai" + root_fields_namespace: daohaus_stats_xdai + type_names: + mapping: {} + prefix: daohaus_stats_xdai + comment: "" +- name: Smart-Escrow-xDai definition: - url: https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai + url: https://api.thegraph.com/subgraphs/name/dan13ram/xdai-smart-invoices timeout_seconds: 40 customization: - root_field_namespace: daohaus_stats_xdai_ \ No newline at end of file + root_fields_namespace: smart_escrow_xdai + type_names: + mapping: {} + prefix: smart_escrow_xdai From b78d02f5c680eab2b483376da3b47c45376d0f4d Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Wed, 21 Dec 2022 17:58:25 +0100 Subject: [PATCH 03/31] chore(hasura): add docker auto-setup - switch to auto metadata/migration image - add setup container to auto-seed --- docker-compose.yml | 17 ++++++++++++++++- services/hasura/setup.sh | 5 +++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100755 services/hasura/setup.sh diff --git a/docker-compose.yml b/docker-compose.yml index 2afbe70f..9b20bb66 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: - postgres_data:/var/lib/postgresql/data graphql-engine: container_name: dm_hasura - image: hasura/graphql-engine:latest + image: hasura/graphql-engine:latest.cli-migrations-v3 ports: - target: 8080 published: ${HASURA_ENDPOINT_PORT} @@ -48,5 +48,20 @@ services: ## uncomment next line for JWT configuration (NextAuth) # HASURA_GRAPHQL_JWT_SECRET: ${HASURA_GRAPHQL_JWT_SECRET} + hasura-setup: + container_name: dm_hasura_setup + image: alpine:latest + depends_on: + - graphql-engine + restart: "no" + volumes: + - ./services/hasura:/usr/local/hasura + entrypoint: ["/bin/sh", "-c", "cd /usr/local/hasura && chmod +x ./setup.sh && ./setup.sh"] + environment: + HASURA_GRAPHQL_ENDPOINT: http://graphql-engine:${HASURA_ENDPOINT_PORT} + ## uncomment next line to set an admin secret + # HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET} + POSTGRES_DATABASE: ${POSTGRES_DATABASE} + volumes: postgres_data: {} diff --git a/services/hasura/setup.sh b/services/hasura/setup.sh new file mode 100755 index 00000000..494a6746 --- /dev/null +++ b/services/hasura/setup.sh @@ -0,0 +1,5 @@ +apk update +apk upgrade +apk add curl +/bin/sh -c "$(curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh)" -y -f +timeout 5m /bin/sh -c "until hasura seed apply --database-name ${POSTGRES_DATABASE}; do sleep 10; done" From 675846825beecdf11c3d1afe5597787a8b7f9e78 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Wed, 21 Dec 2022 19:26:49 +0100 Subject: [PATCH 04/31] fix(hasura): reload metadata after seeding data --- services/hasura/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/services/hasura/setup.sh b/services/hasura/setup.sh index 494a6746..c906a6f7 100755 --- a/services/hasura/setup.sh +++ b/services/hasura/setup.sh @@ -3,3 +3,4 @@ apk upgrade apk add curl /bin/sh -c "$(curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh)" -y -f timeout 5m /bin/sh -c "until hasura seed apply --database-name ${POSTGRES_DATABASE}; do sleep 10; done" +hasura metadata reload From 223b16ffa144f6b418f0c5f0603b0b1c9fed6a6a Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Wed, 21 Dec 2022 19:29:56 +0100 Subject: [PATCH 05/31] chore(docker): update readme --- services/hasura/README.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/services/hasura/README.md b/services/hasura/README.md index cb0b8728..a1ca66ae 100644 --- a/services/hasura/README.md +++ b/services/hasura/README.md @@ -3,24 +3,9 @@ ## Local Development -Requires installed Docker, Docker Compose and Hasura CLI locally. +Requires installed Docker ```bash # cd into the root directory -docker compose up -d -# open new terminal -# cd into this directory -hasura console +docker-compose up -d ``` - -Initial migrations & metadata - -On the first load of the DB/console you'll need to migrate the db & add metadata. Create an `.env` to set the variables. - -```bash -hasura migrations apply -hasura seeds apply -hasura metadata apply -``` - - From 2f3af310af897193adb166705abba1cfd7a32d38 Mon Sep 17 00:00:00 2001 From: ECWireless Date: Tue, 27 Dec 2022 13:09:24 -0500 Subject: [PATCH 06/31] Add TRANSACTIONS_QUERY --- apps/frontend/gql/queries/transactions.ts | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 apps/frontend/gql/queries/transactions.ts diff --git a/apps/frontend/gql/queries/transactions.ts b/apps/frontend/gql/queries/transactions.ts new file mode 100644 index 00000000..fa871f4e --- /dev/null +++ b/apps/frontend/gql/queries/transactions.ts @@ -0,0 +1,33 @@ +import { gql } from '@apollo/client'; + +export const TRANSACTIONS_QUERY = gql` + query MolochBalances($molochAddress: Bytes!, $first: Int, $skip: Int) { + balances( + first: $first, + skip: 10, + where: { molochAddress: $molochAddress, action_not: "summon" } + orderBy: timestamp + orderDirection: asc + ) { + id + timestamp + balance + tokenSymbol + tokenAddress + transactionHash + tokenDecimals + action + payment + tribute + amount + counterpartyAddress + proposalDetail { + proposalId + applicant + details + sharesRequested + lootRequested + } + } + } +`; From 07339921389d5ae3e6f5646b7cb1f86756f69029 Mon Sep 17 00:00:00 2001 From: ECWireless Date: Tue, 27 Dec 2022 13:10:11 -0500 Subject: [PATCH 07/31] Update caniuse --- services/hasura/README.md | 1 - yarn.lock | 13 ++++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/services/hasura/README.md b/services/hasura/README.md index a1ca66ae..5b45a2f4 100644 --- a/services/hasura/README.md +++ b/services/hasura/README.md @@ -1,6 +1,5 @@ # DM Hasura - ## Local Development Requires installed Docker diff --git a/yarn.lock b/yarn.lock index 33a813bc..ded41a1d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6107,15 +6107,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001359: - version "1.0.30001365" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz#72c2c3863b1a545cfd3d9953535bd2ee17568158" - integrity sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q== - -caniuse-lite@^1.0.30001400: - version "1.0.30001431" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz#e7c59bd1bc518fae03a4656be442ce6c4887a795" - integrity sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001359, caniuse-lite@^1.0.30001400: + version "1.0.30001441" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz" + integrity sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg== caseless@~0.12.0: version "0.12.0" From 37d5ae18aaa08948bd89bb16a3cf3ac48287c54a Mon Sep 17 00:00:00 2001 From: ECWireless Date: Tue, 27 Dec 2022 13:15:17 -0500 Subject: [PATCH 08/31] Add useTransactions --- apps/frontend/gql/client.ts | 13 ++++-- apps/frontend/gql/queries/index.ts | 1 + apps/frontend/hooks/useTransactions.ts | 57 ++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 apps/frontend/hooks/useTransactions.ts diff --git a/apps/frontend/gql/client.ts b/apps/frontend/gql/client.ts index ec4a920a..b802aa69 100644 --- a/apps/frontend/gql/client.ts +++ b/apps/frontend/gql/client.ts @@ -10,10 +10,15 @@ const ADMIN_SECRET = process.env.HASURA_GRAPHQL_ADMIN_SECRET; interface setLinkProps { token?: string; + thirdPartyUri?: string; } -const setLink = ({ token }: setLinkProps) => { - const httpLink = new HttpLink({ uri: API_URL }); +const setLink = ({ token, thirdPartyUri }: setLinkProps) => { + const httpLink = new HttpLink({ uri: thirdPartyUri ? thirdPartyUri : API_URL }); + + if (thirdPartyUri && !token) { + return httpLink; + } const authLink = new ApolloLink((operation: any, forward: any) => { // Use the setContext method to set the HTTP headers. @@ -39,9 +44,9 @@ const setLink = ({ token }: setLinkProps) => { return authLink.concat(httpLink); }; -const client = (token?: string) => +const client = (token?: string, thirdPartyUri?: string) => new ApolloClient({ - link: setLink({ token }), + link: setLink({ token, thirdPartyUri }), cache: new InMemoryCache(), }); diff --git a/apps/frontend/gql/queries/index.ts b/apps/frontend/gql/queries/index.ts index 6be373f6..e6ae6964 100644 --- a/apps/frontend/gql/queries/index.ts +++ b/apps/frontend/gql/queries/index.ts @@ -3,3 +3,4 @@ export * from './consultations'; export * from './dashboard'; export * from './members'; export * from './raids'; +export * from './transactions'; diff --git a/apps/frontend/hooks/useTransactions.ts b/apps/frontend/hooks/useTransactions.ts new file mode 100644 index 00000000..d62b054e --- /dev/null +++ b/apps/frontend/hooks/useTransactions.ts @@ -0,0 +1,57 @@ +import _ from 'lodash'; +import { useInfiniteQuery } from '@tanstack/react-query'; +import { client, TRANSACTIONS_QUERY } from '../gql'; +import { camelize, IConsultation } from '../utils'; + +const RG_GNOSIS_DAO_ADDRESS = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'; + +const useTransactions = ({ token }) => { + const limit = 15; + + const consultationQueryResult = async (pageParam: number) => { + if (!token) return; + // TODO handle filters + + const { data } = await client(undefined, 'https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai').query({ + query: TRANSACTIONS_QUERY, + variables: { + first: limit, + skip: pageParam * limit, + molochAddress: RG_GNOSIS_DAO_ADDRESS, + }, + }); + + return camelize(_.get(data, 'balances')); + }; + + const { + status, + error, + data, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + } = useInfiniteQuery>, Error>( + ['transactions'], + ({ pageParam = 0 }) => consultationQueryResult(pageParam), + { + getNextPageParam: (lastPage, allPages) => { + return _.isEmpty(lastPage) + ? undefined + : _.divide(_.size(_.flatten(allPages)), limit); + }, + enabled: Boolean(token), + } + ); + + return { + status, + error, + data, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + }; +}; + +export default useTransactions; From ce19d51cd9b3aad7bd34c3541fbffeddb75fc37d Mon Sep 17 00:00:00 2001 From: ECWireless Date: Wed, 28 Dec 2022 16:40:07 -0500 Subject: [PATCH 09/31] Add data formatter for useTransactions --- apps/frontend/hooks/useTransactions.ts | 188 ++++++++++++++++++++++++- apps/frontend/types/index.ts | 52 +++++++ 2 files changed, 236 insertions(+), 4 deletions(-) diff --git a/apps/frontend/hooks/useTransactions.ts b/apps/frontend/hooks/useTransactions.ts index d62b054e..4b51752e 100644 --- a/apps/frontend/hooks/useTransactions.ts +++ b/apps/frontend/hooks/useTransactions.ts @@ -1,12 +1,183 @@ +// All credit to @midgerate, @xivanc, @daniel-ivanco, and the DAOHaus team for the original code import _ from 'lodash'; +import { BigNumber } from 'ethers'; import { useInfiniteQuery } from '@tanstack/react-query'; import { client, TRANSACTIONS_QUERY } from '../gql'; -import { camelize, IConsultation } from '../utils'; +import { camelize } from '../utils'; +import { useEffect, useState } from 'react'; +import { ICalculatedTokenBalances, IVaultTransaction, IMolochStatsBalance } from '../types' const RG_GNOSIS_DAO_ADDRESS = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'; +class CalculateTokenBalances { + calculatedTokenBalances: ICalculatedTokenBalances + + constructor() { + this.calculatedTokenBalances = {} + } + + getBalance(tokenAddress: string) { + this.initTokenBalance(tokenAddress) + return this.calculatedTokenBalances[tokenAddress].balance + } + + initTokenBalance(tokenAddress: string) { + if (!(tokenAddress in this.calculatedTokenBalances)) { + this.calculatedTokenBalances[tokenAddress] = { + out: BigNumber.from(0), + in: BigNumber.from(0), + balance: BigNumber.from(0), + } + } + } + + incrementInflow(tokenAddress: string, inValue: BigNumber) { + this.initTokenBalance(tokenAddress) + const tokenStats = this.calculatedTokenBalances[tokenAddress] + this.calculatedTokenBalances[tokenAddress] = { + ...tokenStats, + in: tokenStats.in.add(inValue), + balance: tokenStats.balance.add(inValue), + } + } + + incrementOutflow(tokenAddress: string, outValue: BigNumber) { + this.initTokenBalance(tokenAddress) + const tokenStats = this.calculatedTokenBalances[tokenAddress] + this.calculatedTokenBalances[tokenAddress] = { + ...tokenStats, + out: tokenStats.out.add(outValue), + balance: tokenStats.balance.sub(outValue), + } + } + + getBalances() { + return this.calculatedTokenBalances + } +} + +const formatBalancesAsTransactions = async (balances: Array) => { + try { + // used to store all the inflow and outflow of each token when iterating over the list of moloch stats + const calculatedTokenBalances = new CalculateTokenBalances() + + const mapMolochStatsToTreasuryTransaction = async ( + molochStatsBalances: Array + ): Promise> => { + const treasuryTransactions = await Promise.all( + molochStatsBalances.map(async (molochStatBalance) => { + /** + * molochStatBalance.amount is incorrect because ragequit does not return the correct amount + * so instead, we track the previous balance of the token in the calculatedTokenBalances class state + * and subtract from current balance to get the amount. + */ + const tokenValue = calculatedTokenBalances + .getBalance(molochStatBalance.tokenAddress) + .sub(BigNumber.from(molochStatBalance.balance)) + .abs() + + const balances = (() => { + if ( + molochStatBalance.payment === false && + molochStatBalance.tribute === false + ) { + return { + in: BigNumber.from(0), + out: BigNumber.from(0), + } + } + if ( + molochStatBalance.payment === false && + molochStatBalance.tribute === true + ) { + calculatedTokenBalances.incrementInflow( + molochStatBalance.tokenAddress, + tokenValue + ) + return { + in: tokenValue, + out: BigNumber.from(0), + } + } + + if ( + molochStatBalance.payment === true && + molochStatBalance.tribute === false + ) { + calculatedTokenBalances.incrementOutflow( + molochStatBalance.tokenAddress, + tokenValue + ) + return { + in: BigNumber.from(0), + out: tokenValue, + } + } + + return { + in: BigNumber.from(0), + out: BigNumber.from(0), + } + })() + + const proposalTitle = (() => { + try { + return JSON.parse( + molochStatBalance.proposalDetail?.details ?? '{}' + ).title + } catch (error) { + return '' + } + })() + + const txExplorerLink = `https://blockscout.com/xdai/mainnet/tx/${molochStatBalance.transactionHash}` + const proposalLink = molochStatBalance.proposalDetail + ? `https://app.daohaus.club/dao/0x64/${RG_GNOSIS_DAO_ADDRESS}/proposals/${molochStatBalance.proposalDetail.proposalId}` + : ''; + + return { + date: molochStatBalance.timestamp, + type: _.startCase(molochStatBalance.action), + tokenSymbol: molochStatBalance.tokenSymbol, + tokenDecimals: molochStatBalance.tokenDecimals, + tokenAddress: molochStatBalance.tokenAddress, + txExplorerLink, + counterparty: molochStatBalance.counterpartyAddress, + proposal: { + id: molochStatBalance.proposalDetail?.proposalId ?? '', + link: proposalLink, + shares: molochStatBalance.proposalDetail?.sharesRequested ?? '', + loot: molochStatBalance.proposalDetail?.lootRequested ?? '', + applicant: molochStatBalance.proposalDetail?.applicant ?? '', + title: proposalTitle, + }, + ...balances, + } + }) + ) + return treasuryTransactions + } + + const treasuryTransactions = await mapMolochStatsToTreasuryTransaction( + balances + ) + + return { + transactions: _.orderBy(treasuryTransactions, 'date', 'desc') as Array, + vaultName: 'DAO Treasury', + } + } catch (error) { + return { + error: { + message: (error as Error).message, + }, + } + } +} + const useTransactions = ({ token }) => { - const limit = 15; + const [transactions, setTransactions] = useState>([]) + const limit = 1000; const consultationQueryResult = async (pageParam: number) => { if (!token) return; @@ -31,7 +202,7 @@ const useTransactions = ({ token }) => { fetchNextPage, hasNextPage, isFetchingNextPage, - } = useInfiniteQuery>, Error>( + } = useInfiniteQuery, Error>( ['transactions'], ({ pageParam = 0 }) => consultationQueryResult(pageParam), { @@ -44,10 +215,19 @@ const useTransactions = ({ token }) => { } ); + useEffect(() => { + (async () => { + if (status === 'success') { + const formattedData = await formatBalancesAsTransactions(data.pages[0]); + setTransactions(formattedData.transactions || []) + }; + })() + }, [data, status]) + return { status, error, - data, + data: transactions, fetchNextPage, hasNextPage, isFetchingNextPage, diff --git a/apps/frontend/types/index.ts b/apps/frontend/types/index.ts index 0670659b..7a8d9387 100644 --- a/apps/frontend/types/index.ts +++ b/apps/frontend/types/index.ts @@ -1,3 +1,5 @@ +import { BigNumber } from 'ethers'; + /* eslint-disable camelcase */ // * these should be post `camelize` types, db uses snake_case @@ -281,3 +283,53 @@ export interface IMemberUpdate { telegram?: string; }; } + +export type IMolochStatsBalance = { + id: string + timestamp: string + balance: string + tokenSymbol: string + tokenAddress: string + tokenDecimals: string + transactionHash: string + amount: string + payment: boolean + tribute: boolean + counterpartyAddress: string + action: string + proposalDetail: { + proposalId: string + applicant: string + details: string | null + lootRequested: string | null + sharesRequested: string | null + } | null +} + +export type IVaultTransaction = { + date: string | Date + txExplorerLink: string + type: string + tokenSymbol: string + tokenDecimals: string + tokenAddress: string + in: BigNumber + out: BigNumber + counterparty: string // receiver/sender to minion vault or sender to treasury + proposal?: { + id: string + link: string + shares: string // requested in case of proposal, ragequitted in case of rage quit + loot: string // requested in case of proposal, ragequitted in case of rage quit + title: string // title of the proposal in details + applicant: string // submitted by address + } +} + +export type ICalculatedTokenBalances = { + [tokenAddress: string]: { + in: BigNumber + out: BigNumber + balance: BigNumber + } +} From 528ef1fbe7781496d40578e8e97b6f5b9d669156 Mon Sep 17 00:00:00 2001 From: ECWireless Date: Wed, 28 Dec 2022 17:16:00 -0500 Subject: [PATCH 10/31] Add Accounting page --- apps/frontend/pages/accounting.tsx | 51 ++++++++++++++++++++++++++++++ package.json | 2 ++ yarn.lock | 12 +++++++ 3 files changed, 65 insertions(+) create mode 100644 apps/frontend/pages/accounting.tsx diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx new file mode 100644 index 00000000..08423b14 --- /dev/null +++ b/apps/frontend/pages/accounting.tsx @@ -0,0 +1,51 @@ +import React from 'react'; +import { NextSeo } from 'next-seo'; +import { Heading, Button } from '@raidguild/design-system'; +import SiteLayout from '../components/SiteLayout'; +import { useSession } from 'next-auth/react'; +import useTransactions from '../hooks/useTransactions'; +import Papa from 'papaparse' +import _ from 'lodash'; + +export const Accounting: React.FC = () => { + const { data: session } = useSession(); + const token = _.get(session, 'token'); + const { data, error, /* hasNextPage, fetchNextPage */ } = useTransactions({ + token, + }); + console.log(data) + + const onExportTransactions = () => { + const csvString = Papa.unparse(data) + const blob = new Blob([csvString], { type: 'text/csv;charset=utf-8;' }); + const url = URL.createObjectURL(blob); + const link = document.createElement('a'); + link.setAttribute('href', url); + link.setAttribute('download', 'transactions.csv'); + link.click(); + link.remove(); + } + + return ( + <> + + + Accounting} + error={error} + > + + + + ) +} + +export default Accounting diff --git a/package.json b/package.json index 79f19022..58a6c9df 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "next-compose-plugins": "^2.2.1", "next-seo": "^5.14.1", "next-transpile-modules": "^10.0.0", + "papaparse": "^5.3.2", "react": "18.2.0", "react-cmdk": "^1.3.7", "react-datepicker": "^4.8.0", @@ -59,6 +60,7 @@ "@testing-library/react": "13.3.0", "@types/jest": "27.4.1", "@types/node": "16.11.7", + "@types/papaparse": "^5.3.5", "@types/react": "18.0.14", "@types/react-dom": "18.0.5", "@typescript-eslint/eslint-plugin": "^5.29.0", diff --git a/yarn.lock b/yarn.lock index ded41a1d..d8948238 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4437,6 +4437,13 @@ resolved "https://registry.yarnpkg.com/@types/npmlog/-/npmlog-4.1.4.tgz#30eb872153c7ead3e8688c476054ddca004115f6" integrity sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ== +"@types/papaparse@^5.3.5": + version "5.3.5" + resolved "https://registry.yarnpkg.com/@types/papaparse/-/papaparse-5.3.5.tgz#e5ad94b1fe98e2a8ea0b03284b83d2cb252bbf39" + integrity sha512-R1icl/hrJPFRpuYj9PVG03WBAlghJj4JW9Py5QdR8FFSxaLmZRyu7xYDCCBZIJNfUv3MYaeBbhBoX958mUTAaw== + dependencies: + "@types/node" "*" + "@types/parse-json@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" @@ -11294,6 +11301,11 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== +papaparse@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/papaparse/-/papaparse-5.3.2.tgz#d1abed498a0ee299f103130a6109720404fbd467" + integrity sha512-6dNZu0Ki+gyV0eBsFKJhYr+MdQYAzFUGlBMNj3GNrmHxmz1lfRa24CjFObPXtjcetlOv5Ad299MhIK0znp3afw== + param-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" From 869c78265845f3c409ee4e5c4ddc14f130c299a9 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Fri, 6 Jan 2023 12:25:11 +0100 Subject: [PATCH 11/31] feat(tx-table): initial add --- apps/frontend/components/DataTable.tsx | 95 + .../frontend/components/TransactionsTable.tsx | 90 + apps/frontend/hooks/useMemberUpdate.ts | 6 +- apps/frontend/hooks/useRaidPartyUpdate.ts | 10 +- apps/frontend/hooks/useRaidUpdate.ts | 6 +- apps/frontend/hooks/useRolesRequiredUpdate.ts | 10 +- apps/frontend/hooks/useTransactions.ts | 123 +- apps/frontend/hooks/useUpdateCreate.ts | 6 +- apps/frontend/pages/_app.tsx | 5 +- apps/frontend/pages/accounting.tsx | 31 +- apps/frontend/types/index.ts | 84 +- package.json | 2 + yarn.lock | 2847 ++++++++--------- 13 files changed, 1721 insertions(+), 1594 deletions(-) create mode 100644 apps/frontend/components/DataTable.tsx create mode 100644 apps/frontend/components/TransactionsTable.tsx diff --git a/apps/frontend/components/DataTable.tsx b/apps/frontend/components/DataTable.tsx new file mode 100644 index 00000000..b941c547 --- /dev/null +++ b/apps/frontend/components/DataTable.tsx @@ -0,0 +1,95 @@ +import { useState } from 'react'; +import { Table, Thead, Tbody, Tr, Th, Td, chakra } from '@chakra-ui/react'; +import { TriangleDownIcon, TriangleUpIcon } from '@chakra-ui/icons'; +import { + useReactTable, + flexRender, + getCoreRowModel, + ColumnDef, + SortingState, + getSortedRowModel, + RowData, +} from '@tanstack/react-table'; + +declare module '@tanstack/table-core' { + interface ColumnMeta { + isNumeric?: boolean; + hidden?: boolean; + } +} + +export type DataTableProps = { + data: Data[]; + columns: ColumnDef[]; +}; + +export function DataTable({ + data, + columns, +}: DataTableProps) { + const [sorting, setSorting] = useState([]); + const table = useReactTable({ + columns, + data, + getCoreRowModel: getCoreRowModel(), + onSortingChange: setSorting, + getSortedRowModel: getSortedRowModel(), + state: { + sorting, + }, + }); + + return ( + + + {table.getHeaderGroups().map((headerGroup) => ( + + {headerGroup.headers.map((header) => { + const meta = header.column.columnDef.meta; + return meta?.hidden ? ( + <> + ) : ( + + ); + })} + + ))} + + + {table.getRowModel().rows.map((row) => ( + + {row.getVisibleCells().map((cell) => { + const meta = cell.column.columnDef.meta; + return meta?.hidden ? ( + <> + ) : ( + + ); + })} + + ))} + +
+ {flexRender( + header.column.columnDef.header, + header.getContext() + )} + + + {header.column.getIsSorted() ? ( + header.column.getIsSorted() === 'desc' ? ( + + ) : ( + + ) + ) : null} + +
+ {flexRender(cell.column.columnDef.cell, cell.getContext())} +
+ ); +} diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx new file mode 100644 index 00000000..102e193e --- /dev/null +++ b/apps/frontend/components/TransactionsTable.tsx @@ -0,0 +1,90 @@ +import { Link } from '@raidguild/design-system'; +import { CellContext, createColumnHelper } from '@tanstack/react-table'; +import { BigNumber } from 'ethers'; +import { IVaultTransaction } from '../types'; +import { DataTable } from './DataTable'; + +export interface TransactionsTableProps { + data: IVaultTransaction[]; +} + +const formatTokenAmount = (info: CellContext) => { + try { + const n = info.getValue(); + const decimals = Number(info.row.getValue('tokenDecimals')); + return n.div(BigNumber.from(10).pow(decimals)).toNumber().toLocaleString(); + } catch (e) { + console.error(e); + return info.getValue().toString(); + } +}; + +const columnHelper = createColumnHelper(); + +const columns = [ + columnHelper.accessor('date', { + cell: (info) => info.getValue().toLocaleString(), + header: 'Date', + }), + columnHelper.accessor('type', { + cell: (info) => info.getValue(), + header: 'Type', + }), + columnHelper.accessor('tokenSymbol', { + cell: (info) => info.getValue(), + header: 'Token', + }), + columnHelper.accessor('tokenDecimals', { + cell: (info) => info.getValue(), + header: 'Decimals', + meta: { + hidden: true, + }, + }), + columnHelper.accessor('net', { + cell: formatTokenAmount, + header: 'Amount', + meta: { + isNumeric: true, + }, + }), + columnHelper.accessor('balance', { + cell: formatTokenAmount, + header: 'Balance', + meta: { + isNumeric: true, + }, + }), +// columnHelper.accessor('proposal.loot', { +// cell: (info) => info?.getValue()?.toString(), +// header: 'Loot', +// meta: { +// isNumeric: true, +// }, +// }), + columnHelper.accessor('proposal.shares', { + cell: (info) => info.getValue().toNumber(), + header: 'Shares', + meta: { + isNumeric: true, + }, + }), + columnHelper.accessor('proposal', { + cell: (info) => {info.getValue().title}, + header: 'Proposal', + }), + columnHelper.accessor('counterparty', { + cell: (info) => info.getValue(), + header: 'Counterparty', + }), + columnHelper.accessor('txExplorerLink', { + cell: (info) => view, + header: 'Tx', + }), +]; + +const TransactionsTable = ({ data }: TransactionsTableProps) => { + return ; +}; + +export default TransactionsTable; diff --git a/apps/frontend/hooks/useMemberUpdate.ts b/apps/frontend/hooks/useMemberUpdate.ts index 4c03642a..e12e9817 100644 --- a/apps/frontend/hooks/useMemberUpdate.ts +++ b/apps/frontend/hooks/useMemberUpdate.ts @@ -1,11 +1,11 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import { client, MEMBER_UPDATE_MUTATION } from '../gql'; -import { useCustomToast } from '@raidguild/design-system'; +import { useToast } from '@raidguild/design-system'; import { IMemberUpdate } from '../utils'; const useMemberUpdate = ({ token, memberId }) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ ...args }: IMemberUpdate) => { @@ -32,7 +32,6 @@ const useMemberUpdate = ({ token, memberId }) => { toast.success({ title: 'Member Info Updated', - status: 'success', iconName: 'crown', duration: 3000, isClosable: true, @@ -41,7 +40,6 @@ const useMemberUpdate = ({ token, memberId }) => { onError: (error) => { toast.error({ title: 'Unable to Update Member', - status: 'error', iconName: 'alert', duration: 3000, isClosable: true, diff --git a/apps/frontend/hooks/useRaidPartyUpdate.ts b/apps/frontend/hooks/useRaidPartyUpdate.ts index d2bc42a9..4ee6e129 100644 --- a/apps/frontend/hooks/useRaidPartyUpdate.ts +++ b/apps/frontend/hooks/useRaidPartyUpdate.ts @@ -1,7 +1,7 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import _ from 'lodash'; import { camelize } from '../utils'; -import { useCustomToast } from '@raidguild/design-system'; +import { useToast } from '@raidguild/design-system'; import { client, RAID_PARTY_DELETE_MUTATION, @@ -11,7 +11,7 @@ import { IRaidPartyInsert } from '../utils'; export const useRaidPartyAdd = ({ token }) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ raidId, memberId }: IRaidPartyInsert) => { @@ -45,7 +45,6 @@ export const useRaidPartyAdd = ({ token }) => { toast.success({ title: 'Raid Party Updated', - status: 'success', duration: 3000, isClosable: true, }); @@ -53,7 +52,6 @@ export const useRaidPartyAdd = ({ token }) => { onError: (error) => { toast.error({ title: 'Unable to Update Raid', - status: 'error', duration: 3000, isClosable: true, }); @@ -66,7 +64,7 @@ export const useRaidPartyAdd = ({ token }) => { export const useRaidPartyRemove = ({ token }) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ raidId, memberId }: IRaidPartyInsert) => { @@ -103,7 +101,6 @@ export const useRaidPartyRemove = ({ token }) => { ); toast.success({ title: 'Raid Party Updated', - status: 'success', duration: 3000, isClosable: true, }); @@ -111,7 +108,6 @@ export const useRaidPartyRemove = ({ token }) => { onError: (error) => { toast.error({ title: 'Unable to Update Raid', - status: 'error', duration: 3000, isClosable: true, }); diff --git a/apps/frontend/hooks/useRaidUpdate.ts b/apps/frontend/hooks/useRaidUpdate.ts index ac414220..c7061327 100644 --- a/apps/frontend/hooks/useRaidUpdate.ts +++ b/apps/frontend/hooks/useRaidUpdate.ts @@ -1,12 +1,12 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import _ from 'lodash'; import { client, RAID_UPDATE_MUTATION } from '../gql'; -import { useCustomToast } from '@raidguild/design-system'; +import { useToast } from '@raidguild/design-system'; import { IRaidUpdate } from '../utils'; const useRaidUpdate = ({ token, raidId }) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ ...args }: IRaidUpdate) => { @@ -36,7 +36,6 @@ const useRaidUpdate = ({ token, raidId }) => { toast.success({ title: 'Raid Updated', - status: 'success', iconName: 'crown', duration: 3000, isClosable: true, @@ -45,7 +44,6 @@ const useRaidUpdate = ({ token, raidId }) => { onError: (error) => { toast.error({ title: 'Unable to Update Raid', - status: 'error', iconName: 'alert', duration: 3000, isClosable: true, diff --git a/apps/frontend/hooks/useRolesRequiredUpdate.ts b/apps/frontend/hooks/useRolesRequiredUpdate.ts index 185d8700..7237b3cf 100644 --- a/apps/frontend/hooks/useRolesRequiredUpdate.ts +++ b/apps/frontend/hooks/useRolesRequiredUpdate.ts @@ -1,6 +1,6 @@ import { useMutation, useQueryClient } from '@tanstack/react-query'; import _ from 'lodash'; -import { useCustomToast } from '@raidguild/design-system'; +import { useToast } from '@raidguild/design-system'; import { client, ROLES_REQUIRED_INSERT_MUTATION, @@ -10,7 +10,7 @@ import { IRoleRequiredInsert, IRoleRemoveMany, camelize } from '../utils'; export const useAddRolesRequired = ({ token }) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ raidId, role }: IRoleRequiredInsert) => { @@ -50,7 +50,6 @@ export const useAddRolesRequired = ({ token }) => { toast.success({ title: 'Role Added', - status: 'success', duration: 3000, isClosable: true, }); @@ -58,7 +57,6 @@ export const useAddRolesRequired = ({ token }) => { onError: (error) => { toast.error({ title: 'Unable to Update Raid', - status: 'error', duration: 3000, isClosable: true, }); @@ -71,7 +69,7 @@ export const useAddRolesRequired = ({ token }) => { export const useRemoveRolesRequired = ({ token }) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ where }: IRoleRemoveMany) => { @@ -108,7 +106,6 @@ export const useRemoveRolesRequired = ({ token }) => { toast.success({ title: 'Role Added', - status: 'success', duration: 3000, isClosable: true, }); @@ -116,7 +113,6 @@ export const useRemoveRolesRequired = ({ token }) => { onError: (error) => { toast.error({ title: 'Unable to Update Raid', - status: 'error', duration: 3000, isClosable: true, }); diff --git a/apps/frontend/hooks/useTransactions.ts b/apps/frontend/hooks/useTransactions.ts index 4b51752e..418d9c86 100644 --- a/apps/frontend/hooks/useTransactions.ts +++ b/apps/frontend/hooks/useTransactions.ts @@ -5,20 +5,24 @@ import { useInfiniteQuery } from '@tanstack/react-query'; import { client, TRANSACTIONS_QUERY } from '../gql'; import { camelize } from '../utils'; import { useEffect, useState } from 'react'; -import { ICalculatedTokenBalances, IVaultTransaction, IMolochStatsBalance } from '../types' +import { + ICalculatedTokenBalances, + IVaultTransaction, + IMolochStatsBalance, +} from '../types'; const RG_GNOSIS_DAO_ADDRESS = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'; class CalculateTokenBalances { - calculatedTokenBalances: ICalculatedTokenBalances + calculatedTokenBalances: ICalculatedTokenBalances; constructor() { - this.calculatedTokenBalances = {} + this.calculatedTokenBalances = {}; } getBalance(tokenAddress: string) { - this.initTokenBalance(tokenAddress) - return this.calculatedTokenBalances[tokenAddress].balance + this.initTokenBalance(tokenAddress); + return this.calculatedTokenBalances[tokenAddress].balance; } initTokenBalance(tokenAddress: string) { @@ -27,39 +31,41 @@ class CalculateTokenBalances { out: BigNumber.from(0), in: BigNumber.from(0), balance: BigNumber.from(0), - } + }; } } incrementInflow(tokenAddress: string, inValue: BigNumber) { - this.initTokenBalance(tokenAddress) - const tokenStats = this.calculatedTokenBalances[tokenAddress] + this.initTokenBalance(tokenAddress); + const tokenStats = this.calculatedTokenBalances[tokenAddress]; this.calculatedTokenBalances[tokenAddress] = { ...tokenStats, in: tokenStats.in.add(inValue), balance: tokenStats.balance.add(inValue), - } + }; } incrementOutflow(tokenAddress: string, outValue: BigNumber) { - this.initTokenBalance(tokenAddress) - const tokenStats = this.calculatedTokenBalances[tokenAddress] + this.initTokenBalance(tokenAddress); + const tokenStats = this.calculatedTokenBalances[tokenAddress]; this.calculatedTokenBalances[tokenAddress] = { ...tokenStats, out: tokenStats.out.add(outValue), balance: tokenStats.balance.sub(outValue), - } + }; } getBalances() { - return this.calculatedTokenBalances + return this.calculatedTokenBalances; } } -const formatBalancesAsTransactions = async (balances: Array) => { +const formatBalancesAsTransactions = async ( + balances: Array +) => { try { // used to store all the inflow and outflow of each token when iterating over the list of moloch stats - const calculatedTokenBalances = new CalculateTokenBalances() + const calculatedTokenBalances = new CalculateTokenBalances(); const mapMolochStatsToTreasuryTransaction = async ( molochStatsBalances: Array @@ -74,7 +80,7 @@ const formatBalancesAsTransactions = async (balances: Array const tokenValue = calculatedTokenBalances .getBalance(molochStatBalance.tokenAddress) .sub(BigNumber.from(molochStatBalance.balance)) - .abs() + .abs(); const balances = (() => { if ( @@ -84,7 +90,11 @@ const formatBalancesAsTransactions = async (balances: Array return { in: BigNumber.from(0), out: BigNumber.from(0), - } + net: BigNumber.from(0), + balance: calculatedTokenBalances.getBalance( + molochStatBalance.tokenAddress + ), + }; } if ( molochStatBalance.payment === false && @@ -93,11 +103,15 @@ const formatBalancesAsTransactions = async (balances: Array calculatedTokenBalances.incrementInflow( molochStatBalance.tokenAddress, tokenValue - ) + ); return { in: tokenValue, out: BigNumber.from(0), - } + net: tokenValue, + balance: calculatedTokenBalances.getBalance( + molochStatBalance.tokenAddress + ), + }; } if ( @@ -107,83 +121,100 @@ const formatBalancesAsTransactions = async (balances: Array calculatedTokenBalances.incrementOutflow( molochStatBalance.tokenAddress, tokenValue - ) + ); return { in: BigNumber.from(0), out: tokenValue, - } + net: BigNumber.from(0).sub(tokenValue), + balance: calculatedTokenBalances.getBalance( + molochStatBalance.tokenAddress + ), + }; } return { in: BigNumber.from(0), out: BigNumber.from(0), - } - })() + net: BigNumber.from(0), + balance: calculatedTokenBalances.getBalance( + molochStatBalance.tokenAddress + ), + }; + })(); const proposalTitle = (() => { try { return JSON.parse( molochStatBalance.proposalDetail?.details ?? '{}' - ).title + ).title; } catch (error) { - return '' + return ''; } - })() + })(); - const txExplorerLink = `https://blockscout.com/xdai/mainnet/tx/${molochStatBalance.transactionHash}` + const txExplorerLink = `https://blockscout.com/xdai/mainnet/tx/${molochStatBalance.transactionHash}`; const proposalLink = molochStatBalance.proposalDetail ? `https://app.daohaus.club/dao/0x64/${RG_GNOSIS_DAO_ADDRESS}/proposals/${molochStatBalance.proposalDetail.proposalId}` : ''; return { - date: molochStatBalance.timestamp, + date: new Date(Number(molochStatBalance.timestamp) * 1000), type: _.startCase(molochStatBalance.action), tokenSymbol: molochStatBalance.tokenSymbol, - tokenDecimals: molochStatBalance.tokenDecimals, + tokenDecimals: Number(molochStatBalance.tokenDecimals), tokenAddress: molochStatBalance.tokenAddress, txExplorerLink, counterparty: molochStatBalance.counterpartyAddress, proposal: { id: molochStatBalance.proposalDetail?.proposalId ?? '', link: proposalLink, - shares: molochStatBalance.proposalDetail?.sharesRequested ?? '', - loot: molochStatBalance.proposalDetail?.lootRequested ?? '', + shares: molochStatBalance.proposalDetail?.sharesRequested ? BigNumber.from(molochStatBalance.proposalDetail.sharesRequested) : BigNumber.from(0), + loot: molochStatBalance.proposalDetail?.lootRequested ? BigNumber.from(molochStatBalance.proposalDetail.lootRequested) : BigNumber.from(0), applicant: molochStatBalance.proposalDetail?.applicant ?? '', title: proposalTitle, }, ...balances, - } + }; }) - ) - return treasuryTransactions - } + ); + return treasuryTransactions; + }; const treasuryTransactions = await mapMolochStatsToTreasuryTransaction( balances - ) + ); return { - transactions: _.orderBy(treasuryTransactions, 'date', 'desc') as Array, + transactions: _.orderBy( + treasuryTransactions, + 'date', + 'desc' + ) as Array, vaultName: 'DAO Treasury', - } + }; } catch (error) { return { error: { message: (error as Error).message, }, - } + }; } -} +}; const useTransactions = ({ token }) => { - const [transactions, setTransactions] = useState>([]) + const [transactions, setTransactions] = useState>( + [] + ); const limit = 1000; const consultationQueryResult = async (pageParam: number) => { if (!token) return; // TODO handle filters - const { data } = await client(undefined, 'https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai').query({ + const { data } = await client( + undefined, + 'https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai' + ).query({ query: TRANSACTIONS_QUERY, variables: { first: limit, @@ -219,10 +250,10 @@ const useTransactions = ({ token }) => { (async () => { if (status === 'success') { const formattedData = await formatBalancesAsTransactions(data.pages[0]); - setTransactions(formattedData.transactions || []) - }; - })() - }, [data, status]) + setTransactions(formattedData.transactions || []); + } + })(); + }, [data, status]); return { status, diff --git a/apps/frontend/hooks/useUpdateCreate.ts b/apps/frontend/hooks/useUpdateCreate.ts index 291b0255..eba45ab2 100644 --- a/apps/frontend/hooks/useUpdateCreate.ts +++ b/apps/frontend/hooks/useUpdateCreate.ts @@ -1,5 +1,5 @@ import { useQueryClient, useMutation } from '@tanstack/react-query'; -import { useCustomToast } from '@raidguild/design-system'; +import { useToast } from '@raidguild/design-system'; import _ from 'lodash'; import { camelize } from '../utils'; import { STATUS_UPDATE_CREATE_MUTATION, client } from '../gql'; @@ -12,7 +12,7 @@ type useUpdateCreateProps = { const useUpdateCreate = ({ token, memberId }: useUpdateCreateProps) => { const queryClient = useQueryClient(); - const toast = useCustomToast(); + const toast = useToast(); const { mutateAsync, isLoading, isError, isSuccess } = useMutation( async ({ ...args }: Partial) => { @@ -47,13 +47,11 @@ const useUpdateCreate = ({ token, memberId }: useUpdateCreateProps) => { toast.success({ title: 'Update added', - status: 'success', }); }, onError: (error) => { toast.error({ title: 'Unable to add Update', - status: 'error', }); }, } diff --git a/apps/frontend/pages/_app.tsx b/apps/frontend/pages/_app.tsx index b535ad6b..69919c58 100644 --- a/apps/frontend/pages/_app.tsx +++ b/apps/frontend/pages/_app.tsx @@ -8,7 +8,7 @@ import { QueryClientProvider, QueryCache, } from '@tanstack/react-query'; -import { RGThemeProvider, useCustomToast } from '@raidguild/design-system'; +import { RGThemeProvider, useToast } from '@raidguild/design-system'; import { RainbowKitProvider, darkTheme } from '@rainbow-me/rainbowkit'; import { RainbowKitSiweNextAuthProvider } from '@rainbow-me/rainbowkit-siwe-next-auth'; import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; @@ -21,7 +21,7 @@ import '@fontsource/uncial-antiqua'; import '@fontsource/texturina'; const MyApp: React.FC = ({ Component, pageProps }: AppProps) => { - const toast = useCustomToast(); + const toast = useToast(); const queryClient = new QueryClient({ defaultOptions: { queries: { @@ -33,7 +33,6 @@ const MyApp: React.FC = ({ Component, pageProps }: AppProps) => { onError: (error) => { toast.error({ title: 'Something went wrong.', - status: 'error', iconName: 'alert', description: `Please try again: ${error}`, }); diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx index 08423b14..1998e188 100644 --- a/apps/frontend/pages/accounting.tsx +++ b/apps/frontend/pages/accounting.tsx @@ -1,22 +1,22 @@ -import React from 'react'; import { NextSeo } from 'next-seo'; import { Heading, Button } from '@raidguild/design-system'; import SiteLayout from '../components/SiteLayout'; import { useSession } from 'next-auth/react'; import useTransactions from '../hooks/useTransactions'; -import Papa from 'papaparse' +import Papa from 'papaparse'; import _ from 'lodash'; +import TransactionsTable from '../components/TransactionsTable'; -export const Accounting: React.FC = () => { +export const Accounting = () => { const { data: session } = useSession(); const token = _.get(session, 'token'); - const { data, error, /* hasNextPage, fetchNextPage */ } = useTransactions({ + const { data, error /* hasNextPage, fetchNextPage */ } = useTransactions({ token, }); - console.log(data) + console.log(data); const onExportTransactions = () => { - const csvString = Papa.unparse(data) + const csvString = Papa.unparse(data); const blob = new Blob([csvString], { type: 'text/csv;charset=utf-8;' }); const url = URL.createObjectURL(blob); const link = document.createElement('a'); @@ -24,7 +24,7 @@ export const Accounting: React.FC = () => { link.setAttribute('download', 'transactions.csv'); link.click(); link.remove(); - } + }; return ( <> @@ -36,16 +36,13 @@ export const Accounting: React.FC = () => { subheader={Accounting} error={error} > - + + - ) -} + ); +}; -export default Accounting +export default Accounting; diff --git a/apps/frontend/types/index.ts b/apps/frontend/types/index.ts index 7a8d9387..d60627ee 100644 --- a/apps/frontend/types/index.ts +++ b/apps/frontend/types/index.ts @@ -285,51 +285,53 @@ export interface IMemberUpdate { } export type IMolochStatsBalance = { - id: string - timestamp: string - balance: string - tokenSymbol: string - tokenAddress: string - tokenDecimals: string - transactionHash: string - amount: string - payment: boolean - tribute: boolean - counterpartyAddress: string - action: string + id: string; + timestamp: string; + balance: string; + tokenSymbol: string; + tokenAddress: string; + tokenDecimals: string; + transactionHash: string; + amount: string; + payment: boolean; + tribute: boolean; + counterpartyAddress: string; + action: string; proposalDetail: { - proposalId: string - applicant: string - details: string | null - lootRequested: string | null - sharesRequested: string | null - } | null -} + proposalId: string; + applicant: string; + details: string | null; + lootRequested: string | null; + sharesRequested: string | null; + } | null; +}; export type IVaultTransaction = { - date: string | Date - txExplorerLink: string - type: string - tokenSymbol: string - tokenDecimals: string - tokenAddress: string - in: BigNumber - out: BigNumber - counterparty: string // receiver/sender to minion vault or sender to treasury + date: Date; + txExplorerLink: string; + type: string; + tokenSymbol: string; + tokenDecimals: number; + tokenAddress: string; + in: BigNumber; + out: BigNumber; + net: BigNumber; + balance: BigNumber; + counterparty: string; // receiver/sender to minion vault or sender to treasury proposal?: { - id: string - link: string - shares: string // requested in case of proposal, ragequitted in case of rage quit - loot: string // requested in case of proposal, ragequitted in case of rage quit - title: string // title of the proposal in details - applicant: string // submitted by address - } -} + id: string; + link: string; + shares?: BigNumber; // requested in case of proposal, ragequitted in case of rage quit + loot?: BigNumber; // requested in case of proposal, ragequitted in case of rage quit + title: string; // title of the proposal in details + applicant: string; // submitted by address + }; +}; export type ICalculatedTokenBalances = { [tokenAddress: string]: { - in: BigNumber - out: BigNumber - balance: BigNumber - } -} + in: BigNumber; + out: BigNumber; + balance: BigNumber; + }; +}; diff --git a/package.json b/package.json index 58a6c9df..f72f6a55 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "private": true, "dependencies": { "@apollo/client": "^3.7.1", + "@chakra-ui/icons": "^2.0.15", "@emotion/react": "11.9.3", "@emotion/server": "11.4.0", "@emotion/styled": "11.9.3", @@ -22,6 +23,7 @@ "@rainbow-me/rainbowkit-siwe-next-auth": "^0.1.5", "@tanstack/react-query": "^4.19.1", "@tanstack/react-query-devtools": "^4.19.1", + "@tanstack/react-table": "^8.7.4", "blockies-ts": "^1.0.0", "core-js": "^3.6.5", "date-fns": "^2.29.3", diff --git a/yarn.lock b/yarn.lock index d8948238..ee81ac63 100644 --- a/yarn.lock +++ b/yarn.lock @@ -41,10 +41,10 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.8.tgz#2483f565faca607b8535590e84e7de323f27764d" integrity sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ== -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.0": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.1.tgz#f2e6ef7790d8c8dbf03d379502dcc246dcce0b30" - integrity sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.5": + version "7.20.10" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec" + integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== "@babel/core@^7.0.1", "@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.15.0", "@babel/core@^7.15.5", "@babel/core@^7.7.2", "@babel/core@^7.8.0": version "7.18.6" @@ -67,25 +67,25 @@ json5 "^2.2.1" semver "^6.3.0" -"@babel/core@^7.12.10": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.2.tgz#8dc9b1620a673f92d3624bd926dc49a52cf25b92" - integrity sha512-w7DbG8DtMrJcFOi4VrLm+8QM4az8Mo+PuLBKLp2zrYRCow8W/f9xiXm5sN53C8HksCyDQwCKha9JiDoIyPjT2g== +"@babel/core@^7.12.10", "@babel/core@^7.20.2": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d" + integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.2" - "@babel/helper-compilation-targets" "^7.20.0" - "@babel/helper-module-transforms" "^7.20.2" - "@babel/helpers" "^7.20.1" - "@babel/parser" "^7.20.2" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.1" - "@babel/types" "^7.20.2" + "@babel/generator" "^7.20.7" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helpers" "^7.20.7" + "@babel/parser" "^7.20.7" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.12" + "@babel/types" "^7.20.7" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" - json5 "^2.2.1" + json5 "^2.2.2" semver "^6.3.0" "@babel/generator@^7.18.6", "@babel/generator@^7.18.7", "@babel/generator@^7.7.2": @@ -97,12 +97,12 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@^7.20.1", "@babel/generator@^7.20.2": - version "7.20.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.4.tgz#4d9f8f0c30be75fd90a0562099a26e5839602ab8" - integrity sha512-luCf7yk/cm7yab6CAW1aiFnmEfBJplb/JojV56MYEK7ziWfGmFlTfmL9Ehwfy4gFhbjBfWO1wj7/TuSbVNEEtA== +"@babel/generator@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a" + integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== dependencies: - "@babel/types" "^7.20.2" + "@babel/types" "^7.20.7" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" @@ -131,14 +131,15 @@ browserslist "^4.20.2" semver "^6.3.0" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.20.0": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.0.tgz#6bf5374d424e1b3922822f1d9bdaa43b1a139d0a" - integrity sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== dependencies: - "@babel/compat-data" "^7.20.0" + "@babel/compat-data" "^7.20.5" "@babel/helper-validator-option" "^7.18.6" browserslist "^4.21.3" + lru-cache "^5.1.1" semver "^6.3.0" "@babel/helper-create-class-features-plugin@^7.18.6": @@ -256,19 +257,19 @@ "@babel/traverse" "^7.18.8" "@babel/types" "^7.18.8" -"@babel/helper-module-transforms@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.2.tgz#ac53da669501edd37e658602a21ba14c08748712" - integrity sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA== +"@babel/helper-module-transforms@^7.20.11": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" + integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" "@babel/helper-simple-access" "^7.20.2" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.1" - "@babel/types" "^7.20.2" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.10" + "@babel/types" "^7.20.7" "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" @@ -277,12 +278,12 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.6.tgz#9448974dd4fb1d80fefe72e8a0af37809cd30d6d" integrity sha512-gvZnm1YAAxh13eJdkb9EWHBnF3eAub3XTLCZEehHT2kWxiKVRL64+ae5Y6Ivne0mVHmMYKT+xWgZO+gQhuLUBg== -"@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.19.0": +"@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.19.0": version "7.20.2" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== @@ -341,12 +342,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== -"@babel/helper-validator-identifier@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" - integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== - -"@babel/helper-validator-identifier@^7.19.1": +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== @@ -375,14 +371,14 @@ "@babel/traverse" "^7.18.6" "@babel/types" "^7.18.6" -"@babel/helpers@^7.20.1": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.1.tgz#2ab7a0fcb0a03b5bf76629196ed63c2d7311f4c9" - integrity sha512-J77mUVaDTUJFZ5BpP6mMn6OIl3rEWymk2ZxDBQJUG3P+PbmyMcF3bYWvz0ma69Af1oobDqT/iAsvzhB58xhQUg== +"@babel/helpers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce" + integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== dependencies: - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.1" - "@babel/types" "^7.20.0" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" "@babel/highlight@^7.18.6": version "7.18.6" @@ -393,16 +389,16 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.6", "@babel/parser@^7.18.8": +"@babel/parser@^7.1.0", "@babel/parser@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b" + integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== + +"@babel/parser@^7.14.7", "@babel/parser@^7.18.6", "@babel/parser@^7.18.8": version "7.18.8" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.8.tgz#822146080ac9c62dac0823bb3489622e0bc1cbdf" integrity sha512-RSKRfYX20dyH+elbJK2uqAkVyucL+xXzhqlMD5/ZXx+dAAwpyB7HsvnHe/ZUGOF+xLr5Wx9/JoXVTj6BQE2/oA== -"@babel/parser@^7.18.10", "@babel/parser@^7.20.1", "@babel/parser@^7.20.2": - version "7.20.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.3.tgz#5358cf62e380cf69efcb87a7bb922ff88bfac6e2" - integrity sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg== - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -1145,28 +1141,35 @@ core-js-pure "^3.20.2" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.1.tgz#1148bb33ab252b165a06698fde7576092a78b4a9" - integrity sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" + integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ== dependencies: - regenerator-runtime "^0.13.10" + regenerator-runtime "^0.13.11" -"@babel/runtime@^7.10.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.10.2", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.8", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.6.tgz#6a1ef59f838debd670421f8c7f2cbb8da9751580" integrity sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ== dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" - integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== +"@babel/runtime@^7.16.3": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.1.tgz#1148bb33ab252b165a06698fde7576092a78b4a9" + integrity sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg== + dependencies: + regenerator-runtime "^0.13.10" + +"@babel/template@^7.18.10", "@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.18.10" - "@babel/types" "^7.18.10" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" "@babel/template@^7.18.6", "@babel/template@^7.3.3": version "7.18.6" @@ -1193,23 +1196,32 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@^7.20.1": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.1.tgz#9b15ccbf882f6d107eeeecf263fbcdd208777ec8" - integrity sha512-d3tN8fkVJwFLkHkBN479SOsw4DMZnz8cdbL/gvuDuzy3TS6Nfw80HuQqhw1pITbIruHyh7d1fMA47kWzmcUEGA== +"@babel/traverse@^7.20.10", "@babel/traverse@^7.20.12", "@babel/traverse@^7.20.7": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5" + integrity sha512-MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.1" + "@babel/generator" "^7.20.7" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.20.1" - "@babel/types" "^7.20.0" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.15.6", "@babel/types@^7.18.6", "@babel/types@^7.18.7", "@babel/types@^7.18.8", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": +"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.19.0", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.3.0": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" + integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@babel/types@^7.15.6", "@babel/types@^7.18.7", "@babel/types@^7.18.8", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.18.8" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.8.tgz#c5af199951bf41ba4a6a9a6d0d8ad722b30cd42f" integrity sha512-qwpdsmraq0aJ3osLJRApsc2ouSJCdnMeZwB0DhbtHAtRpZNZCdlbRnHIgcRKzdE1g0iOGg644fzjOBcdOz9cPw== @@ -1217,15 +1229,6 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@^7.18.10", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.2.tgz#67ac09266606190f496322dbaff360fdaa5e7842" - integrity sha512-FnnvsNWgZCr232sqtXggapvlkk/tuwR/qhGzcmxI0GXLCjmPYQPzio2FbdlWuY6y1sHFfQKk+rRbUZ9VStQMog== - dependencies: - "@babel/helper-string-parser" "^7.19.4" - "@babel/helper-validator-identifier" "^7.19.1" - to-fast-properties "^2.0.0" - "@base2/pretty-print-object@1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@base2/pretty-print-object/-/pretty-print-object-1.0.1.tgz#371ba8be66d556812dc7fb169ebc3c08378f69d4" @@ -1236,761 +1239,804 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@chakra-ui/accordion@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.3.tgz#98c5426fe32d06a2f7b600161e0f81d02c4c3bb0" - integrity sha512-OAJSbF0UHBipi6ySBlTZM1vZi5Uoe+1UyYTBId1CxRPYHHgm3n9xAYjOtiA+TrT63aZbKwNV2KBshmGSMnNPGQ== +"@chakra-ui/accordion@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.5.tgz#286f7ef6434a334d4b446bfef9abaee6be9c3901" + integrity sha512-mxpcbnrbraYGNu/tmYC/Y0BNqM8jGXYygl4wzttlMSm8pXrhXApyv0bNBsU6zbBWqeyQE64R14N1ONl4i8CMkQ== + dependencies: + "@chakra-ui/descendant" "3.0.12" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/transition" "2.0.13" + +"@chakra-ui/alert@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.14.tgz#0c39c1727bdaec81068fe36077f068bfc30512ae" + integrity sha512-dG+tgfOT9LVsx+scvXdKBj3D8XRnZ1pTul4G6TSRK6A4FifSwSTvNnmjvNpoH0Vh1dSMRI0zxpV8PAfs9dS9KA== dependencies: - "@chakra-ui/descendant" "3.0.11" - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/transition" "2.0.12" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/spinner" "2.0.12" -"@chakra-ui/alert@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.12.tgz#6784a1ae9158fa0bdb5df79dbfe8ea691686c70e" - integrity sha512-L2h2EeLH0x6+FDG8liu/EuDGAkI3Cgym6aXJdhaJDY3Q18o7lATrkU5Nb7jAf3sHKMwTW5X0YzAOtFiwjpALGA== +"@chakra-ui/anatomy@2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.1.1.tgz#819a1458ff727157e5500a69fc26bfea6e944495" + integrity sha512-LUHAoqJAgxAqmyckG5bUpBrfEo1FleEyY+1A8hkWciy58gZ+h3GoY9oBpHcdo7XdHPpy3G+3hieK/7i9NLwxAw== + +"@chakra-ui/avatar@2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.2.2.tgz#ac93579a499b2a87406f32a122efa41f825de785" + integrity sha512-wFDK1wT5kQxkpCAX6mPhx9kh0Pi2RnfN32bCRFio4Mmiq0ltfSEWi3/XxlawDr31Ch3T3qbtPVLqn355B4U9ZA== dependencies: - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/spinner" "2.0.11" + "@chakra-ui/image" "2.0.13" + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/anatomy@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.1.0.tgz#8aeb9b753f0412f262743adf68519dfa85120b3e" - integrity sha512-E3jMPGqKuGTbt7mKtc8g/MOOenw2c4wqRC1vOypyFgmC8wsewdY+DJJNENF3atXAK7p5VMBKQfZ7ipNlHnDAwA== +"@chakra-ui/breadcrumb@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.1.2.tgz#72cc5a25d35dec7637a2135a2945e66317f6d723" + integrity sha512-NbWg9YKCxo6nbwORpfFkD6bIDvcDdCPPLx+tqIqVwoplpaSPeFV5lzPy4Lg/MS6x6Ko6a/GItGpDQGPuey+iWA== + dependencies: + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/avatar@2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.2.1.tgz#3946d8c3b1d49dc425aa80f22d2f53661395e394" - integrity sha512-sgiogfLM8vas8QJTt7AJI4XxNXYdViCWj+xYJwyOwUN93dWKImqqx3O2ihCXoXTIqQWg1rcEgoJ5CxCg6rQaQQ== +"@chakra-ui/breakpoint-utils@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.6.tgz#ed31aeda21ff309eb0102ccd324b1d2096caa08a" + integrity sha512-aigYoZdHtV+PNFr/RTHjbIYK49PsMLvwtpZsowKWJ6xDyPKHtfhwZ2VOBTUyaQf4mXgaB9MNOF46zOTJN8RfLQ== dependencies: - "@chakra-ui/image" "2.0.12" - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/breadcrumb@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.1.1.tgz#e8a682a4909cf8ee5771f7b287524df2be383b8a" - integrity sha512-OSa+F9qJ1xmF0zVxC1GU46OWbbhGf0kurHioSB729d+tRw/OMzmqrrfCJ7KVUUN8NEnTZXT5FIgokMvHGEt+Hg== +"@chakra-ui/button@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.14.tgz#9ffc852504a2a6150140e15e46866fd55660ce7e" + integrity sha512-XdP1sB67N2DujDXPWyyXMTjW7frcnbf3yN/3F/asQClZX7ppw8Y36a6uZ94+6Cv67BPc0CokN+m3oQZhINJ+vw== dependencies: - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/spinner" "2.0.12" -"@chakra-ui/breakpoint-utils@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.5.tgz#55b571038b66e9f6d41633c102ea904c679dac5c" - integrity sha512-8uhrckMwoR/powlAhxiFZPM0s8vn0B2yEyEaRcwpy5NmRAJSTEotC2WkSyQl/Cjysx9scredumB5g+fBX7IqGQ== +"@chakra-ui/card@2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/card/-/card-2.1.4.tgz#731bea5cfe76d1768fa0b5bfbee5ca4e6eaac652" + integrity sha512-MO8tjFBX2OZJt+NOthDoKcGRMQW/43NePze8Sju7zXqv1ocq7VB0DvToPLkopgeKaPx6AyYhzRXQjYXLcjYgQw== + dependencies: + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/button@2.0.12": +"@chakra-ui/checkbox@2.2.7": + version "2.2.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.7.tgz#12abfb380838436f8ecf2039aef88f5df825d823" + integrity sha512-9p0U5xRE4OL5AbhZjV6Gw0iECLz8yd0cP43FabyBY8UfqrJPpAT22jxRmQ6Tv+HKbvAmgXOtxyIdwYTb1s1D+g== + dependencies: + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-callback-ref" "2.0.6" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.14" + "@zag-js/focus-visible" "0.2.1" + +"@chakra-ui/clickable@2.0.12": version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.12.tgz#17acba9997de005cf6ad0cd6a9821e11358bb537" - integrity sha512-SRW44nz3Jcbl0XkwCxqn1GE7cT/cqKALBMCnBxM5zXJqzMfYjuQHdtJA2AzX/WB3qKab1GJK4rXCV37h4l3Q3Q== + resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.12.tgz#479ed8fd2b1af079f6a630f8b2181b106112dd74" + integrity sha512-boZwlHZ1BdsC4P/1r+SRbKRMG+/UzOgc16Fmhl2QkZquVF6jS6QtJBS1/fL+1N8oijz87nuhBoetNECnfWYN+w== dependencies: - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/spinner" "2.0.11" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/card@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/card/-/card-2.1.1.tgz#b981a68d81d0f6447eb0d4d3fdcd7846bab2111f" - integrity sha512-vvmfuNn6gkfv6bGcXQe6kvWHspziPZgYnnffiEjPaZYtaf98WRszpjyPbFv0oQR/2H1RSE1oaTqa/J1rHrzw3A== +"@chakra-ui/close-button@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.14.tgz#ec83da9f83bfd8fc2fb3de1a76e58752bf7f1f0b" + integrity sha512-C/MR6EH+MUC49QCtKdoeAq/GYvs4CEvl0xjwri6qFYd8+UEkXPfl33Idw0c3kPbGe+aTrh4vMAYrRNwc4BveIg== dependencies: - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/icon" "3.0.14" -"@chakra-ui/checkbox@2.2.4": - version "2.2.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.4.tgz#e8cff67382165085c45b2618b74cee9da0355c04" - integrity sha512-yNuUFFBuFu9Sih8DlqOn+SLj2RtpVGebePkwUqSRQygMfveFYuWYWt1sbrFYyt0KmIBq0OkucUMy4OnkErUOHQ== - dependencies: - "@chakra-ui/form-control" "2.0.12" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-callback-ref" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.5" - "@chakra-ui/visually-hidden" "2.0.13" - "@zag-js/focus-visible" "0.1.0" - -"@chakra-ui/clickable@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.11.tgz#d0afcdb40ed1b1ceeabb4ac3e9f2f51fd3cbdac7" - integrity sha512-5Y2dl5cxNgOxHbjxyxsL6Vdze4wUUvwsMCCW3kXwgz2OUI2y5UsBZNcvhNJx3RchJEd0fylMKiKoKmnZMHN2aw== +"@chakra-ui/color-mode@2.1.11": + version "2.1.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.11.tgz#9347c1b81a21b7d68bde1aa4a332f7060c8145d4" + integrity sha512-556wqI/MohJAqzP9AD+YsKGi982TzrsAaRGr7RCY5fChNe/wHraLPjMPNITPjjDQWiUmZYkaEos78/4u3qOdpA== dependencies: - "@chakra-ui/react-use-merge-refs" "2.0.5" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" -"@chakra-ui/close-button@2.0.12": +"@chakra-ui/control-box@2.0.12": version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.12.tgz#a981fd96abc8bfe6b50428aba5d46b80ef0ce798" - integrity sha512-34rOJ+NDdkhaP1CI0bP5jmE4KCmvgaxxuI5Ano52XHRnFad4ghqqSZ0oae7RqNMcxRK4YNX8JYtj6xdQsfc6kA== - dependencies: - "@chakra-ui/icon" "3.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.12.tgz#d1109b3c28214421a5278c3776be499b8d843e83" + integrity sha512-SR2rG917ttCAda9Kh0eqr0X2AWQii2iRrgTks3fbDGi7seV7m3tkrpK2hr7rPz5zX0UoJi6CFO04Q6cSclFylw== -"@chakra-ui/color-mode@2.1.10": - version "2.1.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.10.tgz#8d446550af80cf01a2ccd7470861cb0180112049" - integrity sha512-aUPouOUPn7IPm1v00/9AIkRuNrkCwJlbjVL1kJzLzxijYjbHvEHPxntITt+JWjtXPT8xdOq6mexLYCOGA67JwQ== +"@chakra-ui/counter@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.12.tgz#68007b194aed7e5e55e185fddd38c778d2467354" + integrity sha512-LselA3J2OvO1GxXo9pTvFEDEYXaSkelEGAOasUfME2ckQnznMOI96x7cLAujyMuhTAuGnz0n4mxAOp/iMHKL4Q== dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" + "@chakra-ui/number-utils" "2.0.6" + "@chakra-ui/react-use-callback-ref" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/control-box@2.0.11": +"@chakra-ui/css-reset@2.0.11": version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.11.tgz#b2deec368fc83f6675964785f823e4c0c1f5d4ac" - integrity sha512-UJb4vqq+/FPuwTCuaPeHa2lwtk6u7eFvLuwDCST2e/sBWGJC1R+1/Il5pHccnWs09FWxyZ9v/Oxkg/CG3jZR4Q== + resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.11.tgz#d2b65a543bac785c9788ce152a9eece157595289" + integrity sha512-TnydPIMYaQX8kJ8cKgbXfHaBKLr9wCqZS+UnqUxUo3YzMNRjOUPg4DWVO4n4s+GwuZy860DGsBoJaheLqrilVg== -"@chakra-ui/counter@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.11.tgz#b49aa76423e5f4a4a8e717750c190fa5050a3dca" - integrity sha512-1YRt/jom+m3iWw9J9trcM6rAHDvD4lwThiO9raxUK7BRsYUhnPZvsMpcXU1Moax218C4rRpbI9KfPLaig0m1xQ== - dependencies: - "@chakra-ui/number-utils" "2.0.5" - "@chakra-ui/react-use-callback-ref" "2.0.5" - -"@chakra-ui/css-reset@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.10.tgz#cb6cd97ee38f8069789f08c31a828bf3a7e339ea" - integrity sha512-FwHOfw2P4ckbpSahDZef2KoxcvHPUg09jlicWdp24/MjdsOO5PAB/apm2UBvQflY4WAJyOqYaOdnXFlR6nF4cQ== - -"@chakra-ui/descendant@3.0.11": - version "3.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.11.tgz#cb8bca7b6e8915afc58cdb1444530a2d1b03efd3" - integrity sha512-sNLI6NS6uUgrvYS6Imhoc1YlI6bck6pfxMBJcnXVSfdIjD6XjCmeY2YgzrtDS+o+J8bB3YJeIAG/vsVy5USE5Q== +"@chakra-ui/descendant@3.0.12": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.12.tgz#823eee949eb56e0045d3ee84bbfd614b4d9203e9" + integrity sha512-jx37SI6PYKMSgn+46Ou8LGa2nbEiBRmU4rzz+0/klVpCSd4yQLcm1c4nPv0D7SoQrhq/cQq4tUPfC2U4tXeovQ== dependencies: - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" -"@chakra-ui/dom-utils@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.4.tgz#367fffecbd287e16836e093d4030dc6e3785d402" - integrity sha512-P936+WKinz5fgHzfwiUQjE/t7NC8bU89Tceim4tbn8CIm/9b+CsHX64eNw4vyJqRwt78TXQK7aGBIbS18R0q5Q== - -"@chakra-ui/editable@2.0.15": - version "2.0.15" - resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.15.tgz#bef548de7b35e4107e04aeeb0747e448af4a36fd" - integrity sha512-Xb/hxMhguZmmGrdAosRAIRy70n7RSxoDWULojV+22ysWvqO8X+TkkwnF36XQX7c/V7F/yY0UqOXZWqdeoNqWPw== - dependencies: - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-callback-ref" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.5" - "@chakra-ui/shared-utils" "2.0.3" - -"@chakra-ui/event-utils@2.0.6": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.6.tgz#5e04d68ea070ef52ce212c2a99be9afcc015cfaf" - integrity sha512-ZIoqUbgJ5TcCbZRchMv4n7rOl1JL04doMebED88LO5mux36iVP9er/nnOY4Oke1bANKKURMrQf5VTT9hoYeA7A== +"@chakra-ui/dom-utils@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.5.tgz#cd34be7342f217a5fad42766a15d3cda1b99be21" + integrity sha512-cZsaji3ntRcJOqrc9xyS2JSGXr/VLPFTTvShLApxg5dCDWvrGrCJGQ+iSP6R2FGHo2D6cpAgMdPO9O65KUyZBA== + +"@chakra-ui/editable@2.0.17": + version "2.0.17" + resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.17.tgz#f77953dacb08350ac66251bb5504cc886768f654" + integrity sha512-1Yy2rfWPtRg/1qx2yv9ovTwrpuFHFLEB8LyizM44yvKnSEqTb2K6CTYhVHQBzI92bQUbGsorSflLvFFUzB55XQ== + dependencies: + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-callback-ref" "2.0.6" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/event-utils@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.7.tgz#358db8db4f628ae492eba110fe801b5087f09076" + integrity sha512-OBEIx7CIK5k3nYUGnh2WDhth1oGe26fwXMVQjVM9+2LBUYw2Y1Ufac4o7lMiD1CnyUP+Q70yjMV/mFacvP1EMw== -"@chakra-ui/focus-lock@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.13.tgz#19d6ca35555965a9aaa241b991a67bbc875ee53d" - integrity sha512-AVSJt+3Ukia/m9TCZZgyWvTY7pw88jArivWVJ2gySGYYIs6z/FJMnlwbCVldV2afS0g3cYaii7aARb/WrlG34Q== +"@chakra-ui/focus-lock@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.14.tgz#2137499570aad7df9404a40dfeb62311d52c3399" + integrity sha512-p4aieMBm4CG+uhfJ/W+2p3koGfPsHzdzSu2A8AYM5kGZ3rCx6IM97XYSneConw5WH7mSQR4lXzuEDjAyDozXFg== dependencies: - "@chakra-ui/dom-utils" "2.0.4" + "@chakra-ui/dom-utils" "2.0.5" react-focus-lock "^2.9.1" -"@chakra-ui/form-control@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.12.tgz#8c8d7e90ed2bfc8ed06bde6b566de808b31cdd94" - integrity sha512-rSnAStY0qodnxiiL9MkS7wMBls+aG9yevq/yIuuETC42XfBNndKu7MLHFEKFIpAMuZvNocJtB+sP8qpe8jLolg== +"@chakra-ui/form-control@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.14.tgz#186aa0c93421b698309c99f78d46d3f13125b92a" + integrity sha512-HPT65tNxQJ6E3AqhREa90aJOdJ1TUj+Y37fLqhIUOMrFX2eLjthE81XswjrUGbcaQk0DuCqMLMBFjeUNxo2Qhw== dependencies: - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.5" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/hooks@2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.1.2.tgz#1e413f6624e97b854569e8a19846c9162a4ec153" - integrity sha512-/vDBOqqnho9q++lay0ZcvnH8VuE0wT2OkZj+qDwFwjiHAtGPVxHCSpu9KC8BIHME5TlWjyO6riVyUCb2e2ip6w== +"@chakra-ui/hooks@2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.1.4.tgz#b8fc1904fb5d1daa4d19d61ffb64c1f76a28b846" + integrity sha512-FOsBBMK2zl7qdBrBgmkMNMkkbkKzM0RwYoK7oV+ldUG1f7pvjPBmzRFZ3wiIh5FlbffZvlLAH22D3a2xldWDZw== dependencies: - "@chakra-ui/react-utils" "2.0.9" - "@chakra-ui/utils" "2.0.12" + "@chakra-ui/react-utils" "2.0.11" + "@chakra-ui/utils" "2.0.14" compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" -"@chakra-ui/icon@3.0.12": - version "3.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.12.tgz#04f5b38591c4ff1cc922c14f814ce6b5d67525d9" - integrity sha512-VbUqgMcoZ26P1MtZdUqlxAKYDi1Bt8sSPNRID8QOwWfqyRYrbzabORVhKR3gpi6GaINjm7KRHIXHarj3u6EWdA== +"@chakra-ui/icon@3.0.14": + version "3.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.14.tgz#aca6c998f2359ce937203f7463db299a6f8947ba" + integrity sha512-ksNDXSByoLFNec/7UANtiy/lHt2NO3/Xe5KIde3zh70yY1QcRQjO8TjvXgYwqLbR0D6OzMGggrZnJKafeZhjRQ== dependencies: - "@chakra-ui/shared-utils" "2.0.3" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/image@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.12.tgz#e90b1d2a5f87fff90b1ef86ca75bfe6b44ac545d" - integrity sha512-uclFhs0+wq2qujGu8Wk4eEWITA3iZZQTitGiFSEkO9Ws5VUH+Gqtn3mUilH0orubrI5srJsXAmjVTuVwge1KJQ== +"@chakra-ui/icons@^2.0.15": + version "2.0.15" + resolved "https://registry.yarnpkg.com/@chakra-ui/icons/-/icons-2.0.15.tgz#9613eae03e08dd9622723540cd3bf582e38b1fde" + integrity sha512-/Hsefej7DfRMg+Go+gf/UU4PHNMPmba41ogO1K3242aP9VSs/6/qXB3zrZHl21OX/rdrK408VqYEPInLmUwiHw== dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" + "@chakra-ui/icon" "3.0.14" -"@chakra-ui/input@2.0.13": +"@chakra-ui/image@2.0.13": version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.13.tgz#6d445bccfb9e59eada70e9a8e47fecda7bfe03a4" - integrity sha512-28K033kg+9SpU0/HCvcAcY42JQPTpSR7ytcZV+6i/MBvGR72Dsf4JJQuQIcAtEW1lH0l/OpbY6ozhaoRW5NhdQ== - dependencies: - "@chakra-ui/form-control" "2.0.12" - "@chakra-ui/object-utils" "2.0.5" - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/shared-utils" "2.0.3" - -"@chakra-ui/layout@2.1.10": - version "2.1.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.10.tgz#fa9b177ecc32c674ba2208e52faa57ae877bbdb5" - integrity sha512-9WlbZGIg0TMIwnxuCuZfkE7HJUInL5qRWgw9I3U960/4GYZRrlcxx8I1ZuHNww0FdItNrlnYLXEfXP77uU779w== - dependencies: - "@chakra-ui/breakpoint-utils" "2.0.5" - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/object-utils" "2.0.5" - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/shared-utils" "2.0.3" - -"@chakra-ui/lazy-utils@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.3.tgz#5ba459a2541ad0c98cd98b20a8054664c129e9b4" - integrity sha512-SQ5I5rJrcHpVUcEftHLOh8UyeY+06R8Gv3k2RjcpvM6mb2Gktlz/4xl2GcUh3LWydgGQDW/7Rse5rQhKWgzmcg== + resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.13.tgz#adc8bc97a65ef15491d7abfa7e4aa31debb3e4c1" + integrity sha512-zcTN3DuhoLCkCgCwPGvy++F9jaCE2OQjoLKJSU2Rnc0c8WjCZZqXKuRdg3GhaYc80kaVSexMSc6h04Hki+JgVQ== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/live-region@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.11.tgz#1008c5b629aa4120e5158be53f13d8d34bc2d71a" - integrity sha512-ltObaKQekP75GCCbN+vt1/mGABSCaRdQELmotHTBc5AioA3iyCDHH69ev+frzEwLvKFqo+RomAdAAgqBIMJ02Q== +"@chakra-ui/input@2.0.16": + version "2.0.16" + resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.16.tgz#23110cdab6b619beaed1e9869aa6a74e3c01f295" + integrity sha512-4ybF7PQa8MQJm/QvD+UogYerB9/nZuNk+A9Eh9Djtg0EMiD/z+2jhZp2a4Te0HE8mq/DaEK7aNgw4s/EmAKnGA== + dependencies: + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/object-utils" "2.0.6" + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/layout@2.1.12": + version "2.1.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.12.tgz#b75d45de693aabd4585e62e75d97a1718e0024ec" + integrity sha512-iIz9QiS0iB+8NUX5r9TtCbV2JbGzEbKVPiTTtnf48utu12lX4xcdpZJm6jgtgWjvwyo+N+FxyQ8oNff5OqN+Hw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.6" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/object-utils" "2.0.6" + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/lazy-utils@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.4.tgz#bd0e2f7118e3a8fe470db7666b08bb1f808205a9" + integrity sha512-HaVlEIlWNdk9vuubfc+EJkNkwP4pORXkPanP72KF8CxM4NN1hCSm+2gAvlCZCmWUIKIyhGMO1lXPY923o2Mnug== -"@chakra-ui/media-query@3.2.8": - version "3.2.8" - resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.8.tgz#7d5feccb7ac52891426c060dd2ed1df37420956d" - integrity sha512-djmEg/eJ5Qrjn7SArTqjsvlwF6mNeMuiawrTwnU+0EKq9Pq/wVSb7VaIhxdQYJLA/DbRhE/KPMogw1LNVKa4Rw== +"@chakra-ui/live-region@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.12.tgz#932e94cf2c36eb3c004259d9a4cda5c2b6269887" + integrity sha512-hzCvqeYRtocLn0KmlEpVdYbt/7Tb5tBtsjMBfJb2lQkarQRwC9xzZ4arCcsDZAWiR3c3wvXdSob3vZ71biz46g== + +"@chakra-ui/media-query@3.2.9": + version "3.2.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.9.tgz#204002fe04e56a1abfa0bd5e3ad05bad8c34ae3e" + integrity sha512-4vaf8YqgIs5zhaQTLAif+aiiixo9gpk1xiTn4oTiDZQFuTVhKyv4iI93NbAKif/Bls+8XghbMo0rF93DjqRRzg== dependencies: - "@chakra-ui/breakpoint-utils" "2.0.5" - "@chakra-ui/react-env" "2.0.11" + "@chakra-ui/breakpoint-utils" "2.0.6" + "@chakra-ui/react-env" "2.0.12" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/menu@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.4.tgz#821d246ecbf4c734f8ab93ad399c22a7b5e0fa1a" - integrity sha512-7kEM5dCSBMXig3iyvsSxzYi/7zkmaf843zoxb7QTB7sRB97wrCxIE8yy1/73YTzxOP3zdAyITPcxNJ/bkiVptQ== - dependencies: - "@chakra-ui/clickable" "2.0.11" - "@chakra-ui/descendant" "3.0.11" - "@chakra-ui/lazy-utils" "2.0.3" - "@chakra-ui/popper" "3.0.9" - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-animation-state" "2.0.6" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-disclosure" "2.0.6" - "@chakra-ui/react-use-focus-effect" "2.0.7" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/react-use-outside-click" "2.0.5" - "@chakra-ui/react-use-update-effect" "2.0.5" - "@chakra-ui/transition" "2.0.12" - -"@chakra-ui/modal@2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.3.tgz#b99ba69cd3fcf1a9ca12f0ae9cea7136b1338726" - integrity sha512-fSpnFiI3rlif5ynyO3P8A1S/97B/SOFUrIuNaJnhKSgiu7VtklPjiPWHCw5Y+ktEvagDXEmkpztcfMBPTY0wIA== - dependencies: - "@chakra-ui/close-button" "2.0.12" - "@chakra-ui/focus-lock" "2.0.13" - "@chakra-ui/portal" "2.0.11" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/transition" "2.0.12" +"@chakra-ui/menu@2.1.6": + version "2.1.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.6.tgz#939a061bc0848528be8ddbcc03c33c35c2630de6" + integrity sha512-/ypgx+JmYgItoBq0bUMetnjDu3aS75lra4xVQeMEG8L7y8/q7B4uIIJeSVh7o8UQJCvV05doxnwsxV7zBW29bw== + dependencies: + "@chakra-ui/clickable" "2.0.12" + "@chakra-ui/descendant" "3.0.12" + "@chakra-ui/lazy-utils" "2.0.4" + "@chakra-ui/popper" "3.0.11" + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-animation-state" "2.0.7" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-disclosure" "2.0.7" + "@chakra-ui/react-use-focus-effect" "2.0.8" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/react-use-outside-click" "2.0.6" + "@chakra-ui/react-use-update-effect" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/transition" "2.0.13" + +"@chakra-ui/modal@2.2.6": + version "2.2.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.6.tgz#5ea5df74f19b4cd173bfa31f5de0378dadd44a9a" + integrity sha512-NyGovs3+MimltfCyqrpr20vtwNOaNykJGQFp7GfsfiInoMU7fOyDAc12JfgcVl3LCwk0bEo60hx1zxZ3GQvUxQ== + dependencies: + "@chakra-ui/close-button" "2.0.14" + "@chakra-ui/focus-lock" "2.0.14" + "@chakra-ui/portal" "2.0.13" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/transition" "2.0.13" aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" -"@chakra-ui/number-input@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.13.tgz#4dd3abae17e74749a3d52cfc3a7718e6cc18042a" - integrity sha512-Kn6PKLkGl+5hrMoeaGGN19qVHHJB79G4c0rfkWPjDWKsgpbCwHQctLJwrkxuwGAn1iWzw4WL31lsb+o6ZRQHbA== - dependencies: - "@chakra-ui/counter" "2.0.11" - "@chakra-ui/form-control" "2.0.12" - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-callback-ref" "2.0.5" - "@chakra-ui/react-use-event-listener" "2.0.5" - "@chakra-ui/react-use-interval" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.5" - -"@chakra-ui/number-utils@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.5.tgz#c7595fc919fca7c43fe172bfd6c5197c653ee572" - integrity sha512-Thhohnlqze0i5HBJO9xkfOPq1rv3ji/hNPf2xh1fh4hxrNzdm3HCkz0c6lyRQwGuVoeltEHysYZLH/uWLFTCSQ== - -"@chakra-ui/object-utils@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.5.tgz#231602066ddb96ae91dcc7da243b97ad46972398" - integrity sha512-/rIMoYI3c2uLtFIrnTFOPRAI8StUuu335WszqKM0KAW1lwG9H6uSbxqlpZT1Pxi/VQqZKfheGiMQOx5lfTmM/A== - -"@chakra-ui/pin-input@2.0.16": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.16.tgz#d31a6e2bce85aa2d1351ccb4cd9bf7a5134d3fb9" - integrity sha512-51cioNYpBSgi9/jq6CrzoDvo8fpMwFXu3SaFRbKO47s9Dz/OAW0MpjyabTfSpwOv0xKZE+ayrYGJopCzZSWXPg== - dependencies: - "@chakra-ui/descendant" "3.0.11" - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-merge-refs" "2.0.5" +"@chakra-ui/number-input@2.0.15": + version "2.0.15" + resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.15.tgz#7b8eeac38b9dad188845b8e3cb294978e7c7cbb6" + integrity sha512-x04CqLPFF1bYiIiosB5xoWSoOKYBbrB5EMpm1382X11fdsdrkkR2/3Jqb3Hh0yVV63FtxXaYEeUENb6tJMcGmQ== + dependencies: + "@chakra-ui/counter" "2.0.12" + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-callback-ref" "2.0.6" + "@chakra-ui/react-use-event-listener" "2.0.6" + "@chakra-ui/react-use-interval" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/number-utils@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.6.tgz#3db0e61dd542d5753b3db4702bf9fae6653ceb82" + integrity sha512-VLOyoiXGpZ+eCQSPqKdBCEpen9VAo6pc6FDFuf4BNdIVEfh6ee//Zl7XjyTAGr1G4HUANp8ZxVHHPvtQ10VP4w== -"@chakra-ui/popover@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.3.tgz#8769ed50db2c2188faf6725c248004a1f73f2725" - integrity sha512-3CbeXjpCYnKyq5Z2IqUyfXZYpi5GzmPQZqzS2/kuJwgTuSjtuQovX0QI7oNE4zv4r6yEABW/kVrI7pn0/Tet1Q== - dependencies: - "@chakra-ui/close-button" "2.0.12" - "@chakra-ui/lazy-utils" "2.0.3" - "@chakra-ui/popper" "3.0.9" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-animation-state" "2.0.6" - "@chakra-ui/react-use-disclosure" "2.0.6" - "@chakra-ui/react-use-focus-effect" "2.0.7" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.5" - -"@chakra-ui/popper@3.0.9": - version "3.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.9.tgz#5e810e67573c99cbb6fe79869ab76340359e857a" - integrity sha512-xtQ1SXxKyDFY3jWNXxr6xdiGQ8mCI5jaw+c2CWKp/bb8FnASXEFLWIlmWx8zxkE1BbPMszWHnaGF8uCBRjmQMA== +"@chakra-ui/object-utils@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.6.tgz#6b6125dbb1d1f3a9e5d3faf008d6374a3c4d99f7" + integrity sha512-fw1AjQ4wdL8hqPGiE6ulXyugwh1m70YluG1yWGZDPi909zJj1/uL0DClgiNJY/8zWJrbMwDjGdYziXudLxahgA== + +"@chakra-ui/pin-input@2.0.17": + version "2.0.17" + resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.17.tgz#d1151c010e2b1600d0d5b17bfe79543b838c3a5d" + integrity sha512-uDL8HIjuvvcEO9YBiAOewFtlrjPDqF+xPIWBh4hetDVt6Pd9XavvuyRJjsogjAZt0FsweUg5sF8g/iVLAihCAQ== + dependencies: + "@chakra-ui/descendant" "3.0.12" + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/popover@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.5.tgz#435fe2e8f9bf2c2fd433334edaf5a98e9fefb0e8" + integrity sha512-ERM9312mJ1RbiRRdgn0E8jS10ZNBsACFkLhnEe++Ow27pjuIxL/MCpCatEGx9b97osHSsfPHekHjaLcOoCqVIw== + dependencies: + "@chakra-ui/close-button" "2.0.14" + "@chakra-ui/lazy-utils" "2.0.4" + "@chakra-ui/popper" "3.0.11" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-animation-state" "2.0.7" + "@chakra-ui/react-use-disclosure" "2.0.7" + "@chakra-ui/react-use-focus-effect" "2.0.8" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/popper@3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.11.tgz#00d412d408d4628d55491bd5d3b58e1e23e6c972" + integrity sha512-fsKwgq3E0S6FqCzTCQ7HQEr2BOHfHZZMiqvFpGyrIPQ/Esv7aE3Ipw4y4RHTztzJ+vUKK3XTbJzX1cU4RR4a8Q== dependencies: - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.5" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" "@popperjs/core" "^2.9.3" -"@chakra-ui/portal@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.11.tgz#7a6b3ebc621bb28b46550fcfb36b94926d0111a5" - integrity sha512-Css61i4WKzKO8ou1aGjBzcsXMy9LnfnpkOFfvaNCpUUNEd6c47z6+FhZNq7Gc38PGNjSfMLAd4LmH+H0ZanYIA== +"@chakra-ui/portal@2.0.13": + version "2.0.13" + resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.13.tgz#ce556c1750bacf157f9f96755577dc9d59266ef6" + integrity sha512-EuzaYJuIXM5elqy0MmXe+nc2bHm72JpxkM/PX+LnRTlkA44Kj/iQP5gnx5KHLVG4RPbcG5p61W4KzIBPSRY0+g== dependencies: - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" -"@chakra-ui/progress@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.1.1.tgz#b94399af12e9324737f9e690201f78546572ac59" - integrity sha512-ddAXaYGNObGqH1stRAYxkdospf6J4CDOhB0uyw9BeHRSsYkCUQWkUBd/melJuZeGHEH2ItF9T7FZ4JhcepP3GA== +"@chakra-ui/progress@2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.1.3.tgz#742ab674323dd504ba67e69ae379cbdabdadd421" + integrity sha512-RnVFvdWXrj06oVG0R0m/OunXJ9oxMrcI/UHGgTw74FbjZDSSv7+8j9397iu2Mop7v6iJi0Rhm8Nyi/wEqlO9lw== dependencies: - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/react-context" "2.0.6" -"@chakra-ui/provider@2.0.23": - version "2.0.23" - resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.23.tgz#da00642637a8c72be724acb7e17d5fe57547a0de" - integrity sha512-oYrvBivTsmBZ7NOyvctOmj+p2dDbRioe0S77S51G9iS+aGTh37W10HgaT0zyrDuZQVARoF9RUyOB5T6vuqwdCQ== +"@chakra-ui/provider@2.0.28": + version "2.0.28" + resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.28.tgz#822b2680ccee7d574954917ca006e515c5ba6ce3" + integrity sha512-9Q6UTweW0Fbgqd1ifBeVJke0QLp6duZqiju+Ng9C16B31FcNCz8nFPWQLx5yhDnA4XoQ3vNREkrETfae4CfH1Q== dependencies: - "@chakra-ui/css-reset" "2.0.10" - "@chakra-ui/portal" "2.0.11" - "@chakra-ui/react-env" "2.0.11" - "@chakra-ui/system" "2.3.3" - "@chakra-ui/utils" "2.0.12" + "@chakra-ui/css-reset" "2.0.11" + "@chakra-ui/portal" "2.0.13" + "@chakra-ui/react-env" "2.0.12" + "@chakra-ui/system" "2.3.7" + "@chakra-ui/utils" "2.0.14" -"@chakra-ui/radio@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.13.tgz#3f6dec6886c4d046e7567e1bb929f32e8091c5b7" - integrity sha512-P8mbdCZY9RG5034o1Tvy1/p573cHWDyzYuG8DtdEydiP6KGwaFza16/5N0slLY1BQwClIRmImLLw4vI+76J8XA== +"@chakra-ui/radio@2.0.16": + version "2.0.16" + resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.16.tgz#d6bc26c635393077612055c65d70333244ca2e63" + integrity sha512-TQyHi88Jo6BNCNKXMpWxkoKufEOM2va+3ykuFK8RSqaAhRbHXBdnbS23Bq2HR7z7jrsnsOQOkZ9VA64XDDn1fw== dependencies: - "@chakra-ui/form-control" "2.0.12" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@zag-js/focus-visible" "0.1.0" - -"@chakra-ui/react-children-utils@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.4.tgz#6e4284297a8a9b4e6f5f955b099bb6c2c6bbf8b9" - integrity sha512-qsKUEfK/AhDbMexWo5JhmdlkxLg5WEw2dFh4XorvU1/dTYsRfP6cjFfO8zE+X3F0ZFNsgKz6rbN5oU349GLEFw== + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@zag-js/focus-visible" "0.2.1" -"@chakra-ui/react-context@2.0.5": +"@chakra-ui/react-children-utils@2.0.5": version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.5.tgz#c434013ecc46c780539791d756dafdfc7c64320e" - integrity sha512-WYS0VBl5Q3/kNShQ26BP+Q0OGMeTQWco3hSiJWvO2wYLY7N1BLq6dKs8vyKHZfpwKh2YL2bQeAObi+vSkXp6tQ== - -"@chakra-ui/react-env@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-2.0.11.tgz#d9d65fb695de7aff15e1d0e97d57bb7bedce5fa2" - integrity sha512-rPwUHReSWh7rbCw0HePa8Pvc+Q82fUFvVjHTIbXKnE6d+01cCE7j4f1NLeRD9pStKPI6sIZm9xTGvOCzl8F8iw== + resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.5.tgz#300efb99130e8423333f7bddbbac23cdff624b5e" + integrity sha512-rP/1HFR9J6wohIzLe/gU+vpey27uey9pVa46VTZfApI6VdzDWiQT1pmrGQeMkba07KdU2MJS/60dhGM4NfvcQA== -"@chakra-ui/react-types@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.4.tgz#b88152cbd2c04e51a422986185e2a4ba9b645fb7" - integrity sha512-kYhuSStw9pIJXrmQB7/J1u90bst31pEx9r25pyDG/rekk8E9JuqBR+z+UWODTFx00V2rtWCcJS5rPbONgvWX0A== - -"@chakra-ui/react-use-animation-state@2.0.6": +"@chakra-ui/react-context@2.0.6": version "2.0.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.6.tgz#2a324d3c67015a542ed589f899672d681889e1e7" - integrity sha512-M2kUzZkSBgDpfvnffh3kTsMIM3Dvn+CTMqy9zfY97NL4P3LAWL1MuFtKdlKfQ8hs/QpwS/ew8CTmCtaywn4sKg== - dependencies: - "@chakra-ui/dom-utils" "2.0.4" - "@chakra-ui/react-use-event-listener" "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.6.tgz#77d61e4a2654e83a8cc5c6d6f0140ceedab87963" + integrity sha512-+Bk/lDBirj6KE3vbyyUVCqFGqAe+MOso+1NRHQ0m66/sXWFFnoL/lvuq4osdNp80DOVQ4EYYnHI0olSZZvuKEg== -"@chakra-ui/react-use-callback-ref@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.5.tgz#862430dfbab8e1f0b8e04476e5e25469bd044ec9" - integrity sha512-vKnXleD2PzB0nGabY35fRtklMid4z7cecbMG0fkasNNsgWmrQcXJOuEKUUVCynL6FBU6gBnpKFi5Aqj6x+K4tw== +"@chakra-ui/react-env@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-2.0.12.tgz#f5f9fef0bd6fa9983457cb06413cf209acad48e8" + integrity sha512-BPTz2cxNKhNc1y5J9cCOYndbGiNulpMwihZLkybLRJ1qzZic4KuD3iGOkagJ81STKoPkKEZWfcjnrQTCJTq1fg== -"@chakra-ui/react-use-controllable-state@2.0.6": +"@chakra-ui/react-types@2.0.6": version "2.0.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.6.tgz#ec62aff9b9c00324a0a4c9a4523824a9ad5ef9aa" - integrity sha512-7WuKrhQkpSRoiI5PKBvuIsO46IIP0wsRQgXtStSaIXv+FIvIJl9cxQXTbmZ5q1Ds641QdAUKx4+6v0K/zoZEHg== + resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.6.tgz#96b4f8a082ab5244fe6b574e953b1b64ece9605a" + integrity sha512-aAq/nl//PneEfeaDb94zwfXor4OP/d5kc6dEXOZB2HJgCt3hu2+F/1u1QpPLPPTys5xexkQojuZQLnnD9lmQFw== + +"@chakra-ui/react-use-animation-state@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.7.tgz#5f7f6327130c7bc345477a46b31b30b81fa1e45a" + integrity sha512-v4p5jTopFvYah3vrRU7m6W+m1IEIqxfDco6ASeoEWEcKab4WBdQ1OQr1Oxgip+UIgmvLUnl+3BS+jPUuuKkdgg== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.5" + "@chakra-ui/dom-utils" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.6" -"@chakra-ui/react-use-disclosure@2.0.6": +"@chakra-ui/react-use-callback-ref@2.0.6": version "2.0.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.6.tgz#db707ee119db829e9b21ff1c05e867938f1e27ba" - integrity sha512-4UPePL+OcCY37KZ585iLjg8i6J0sjpLm7iZG3PUwmb97oKHVHq6DpmWIM0VfSjcT6AbSqyGcd5BXZQBgwt8HWQ== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.6.tgz#e382cfa198a376804946f57fa564f17ea6efdccc" + integrity sha512-JKh0GJQvLonjSVQJjsBs2gE+Zix/DXfAo8kzNE+DzNf49CNomX59TkcJNXDjtzSktn6GfqDF8IOObJlGlbtG7g== -"@chakra-ui/react-use-event-listener@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.5.tgz#949aa99878b25b23709452d3c80a1570c99747cc" - integrity sha512-etLBphMigxy/cm7Yg22y29gQ8u/K3PniR5ADZX7WVX61Cgsa8ciCqjTE9sTtlJQWAQySbWxt9+mjlT5zaf+6Zw== +"@chakra-ui/react-use-controllable-state@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.7.tgz#1f61659a42cc73227770201e6c631dc9c606f15f" + integrity sha512-vKGgMtZb/06KnIF0XUFjWvwfKs3x35M6FEc4FU/wgM5FDU9T6Vd1TG7kDHFMoYdcvRf2/fgzkOxgTN052+sMkw== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.5" + "@chakra-ui/react-use-callback-ref" "2.0.6" -"@chakra-ui/react-use-focus-effect@2.0.7": +"@chakra-ui/react-use-disclosure@2.0.7": version "2.0.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.7.tgz#bd03290cac32e0de6a71ce987f939a5e697bca04" - integrity sha512-wI8OUNwfbkusajLac8QtjfSyNmsNu1D5pANmnSHIntHhui6Jwv75Pxx7RgmBEnfBEpleBndhR9E75iCjPLhZ/A== + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.7.tgz#217ea956a1c2455c9b2647d59d1bbbe0e577d190" + integrity sha512-vQG8AxYq+BkaurCHdMA9pxJAfQDmErMzn9hn2elP0dVfKe2a0O7aCFzX2Ff9PeeBKWOFlUfKf79gRBnhXRa5xw== dependencies: - "@chakra-ui/dom-utils" "2.0.4" - "@chakra-ui/react-use-event-listener" "2.0.5" - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.5" + "@chakra-ui/react-use-callback-ref" "2.0.6" -"@chakra-ui/react-use-focus-on-pointer-down@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.4.tgz#aeba543c451ac1b0138093234e71d334044daf84" - integrity sha512-L3YKouIi77QbXH9mSLGEFzJbJDhyrPlcRcuu+TSC7mYaK9E+3Ap+RVSAVxj+CfQz7hCWpikPecKDuspIPWlyuA== +"@chakra-ui/react-use-event-listener@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.6.tgz#15faf5873f6ee6a973d74d174fe2905a81647ccf" + integrity sha512-lDtccra2B/1ap6Z7NESS4QfZajfOLd/jafmVdiO0xc4YSs6VDhenipMCv9O47U5EXapG6jfTXs2nbFkc3jRKiA== dependencies: - "@chakra-ui/react-use-event-listener" "2.0.5" + "@chakra-ui/react-use-callback-ref" "2.0.6" -"@chakra-ui/react-use-interval@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.3.tgz#d5c7bce117fb25edb54e3e2c666e900618bb5bb2" - integrity sha512-Orbij5c5QkL4NuFyU4mfY/nyRckNBgoGe9ic8574VVNJIXfassevZk0WB+lvqBn5XZeLf2Tj+OGJrg4j4H9wzw== +"@chakra-ui/react-use-focus-effect@2.0.8": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.8.tgz#fdf43e129148c82ebad66ef970dd3f8b2394f251" + integrity sha512-Et6/97A/6ndPygj6CF8+T7RQH0gsW5fkWNi64R7OjuQSjWxGq1kcmyBGm4E2u2Hbmtf4Hm1dcjzilnYbG7M7IA== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.5" - -"@chakra-ui/react-use-latest-ref@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.3.tgz#27cf703858e65ecb5a0eef26215c794ad2a5353d" - integrity sha512-exNSQD4rPclDSmNwtcChUCJ4NuC2UJ4amyNGBqwSjyaK5jNHk2kkM7rZ6I0I8ul+26lvrXlSuhyv6c2PFwbFQQ== - -"@chakra-ui/react-use-merge-refs@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.5.tgz#13181e1a43219c6a04a01f84de0188df042ee92e" - integrity sha512-uc+MozBZ8asaUpO8SWcK6D4svRPACN63jv5uosUkXJR+05jQJkUofkfQbf2HeGVbrWCr0XZsftLIm4Mt/QMoVw== + "@chakra-ui/dom-utils" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.6" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.6" -"@chakra-ui/react-use-outside-click@2.0.5": +"@chakra-ui/react-use-focus-on-pointer-down@2.0.5": version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.5.tgz#6a9896d2c2d35f3c301c3bb62bed1bf5290d1e60" - integrity sha512-WmtXUeVaMtxP9aUGGG+GQaDeUn/Bvf8TI3EU5mE1+TtqLHxyA9wtvQurynrogvpilLaBADwn/JeBeqs2wHpvqA== + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.5.tgz#81bf94ada866f3ddf3d72e50b6e4281a29e88196" + integrity sha512-xDQUp8s+a+0DgqOWdvKXgIZcyXH5RXKkC+qa0mbUJf54b9qLbrD6yw3o2jAvDEGa7vLBjaVY4jfOAdzt7+Na2g== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.6" -"@chakra-ui/react-use-pan-event@2.0.6": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.6.tgz#e489d61672e6f473b7fd362d816e2e27ed3b2af6" - integrity sha512-Vtgl3c+Mj4hdehFRFIgruQVXctwnG1590Ein1FiU8sVnlqO6bpug6Z+B14xBa+F+X0aK+DxnhkJFyWI93Pks2g== +"@chakra-ui/react-use-interval@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.4.tgz#c4358e5e631e18872bda061b8cde48b3385aa641" + integrity sha512-LCS0CijCBEJW1dz2WQThGn+wPSaA6YWPEWeS2WmobbQhkjLbzEy2z8CIG5MeUopX8v6kDDnCMmIpocmrIyGGbA== dependencies: - "@chakra-ui/event-utils" "2.0.6" - "@chakra-ui/react-use-latest-ref" "2.0.3" - framesync "5.3.0" + "@chakra-ui/react-use-callback-ref" "2.0.6" -"@chakra-ui/react-use-previous@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.3.tgz#9da3d53fd75f1c3da902bd6af71dcb1a7be37f31" - integrity sha512-A2ODOa0rm2HM4aqXfxxI0zPLcn5Q7iBEjRyfIQhb+EH+d2OFuj3L2slVoIpp6e/km3Xzv2d+u/WbjgTzdQ3d0w== +"@chakra-ui/react-use-latest-ref@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.4.tgz#c35a3741f1ac2f9468bb3ea1333adce445e6068f" + integrity sha512-7xxQeu7PtFUEXbd+BZ+UMX9ASpJET02z9EgtqSfnMgB1ccgo/1i8CYI2/BcolwRf05EUD7kOUA+7eHyP4EI3Uw== -"@chakra-ui/react-use-safe-layout-effect@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.3.tgz#bf63ac8c94460aa1b20b6b601a0ea873556ffb1b" - integrity sha512-dlTvQURzmdfyBbNdydgO4Wy2/HV8aJN8LszTtyb5vRZsyaslDM/ftcxo8E8QjHwRLD/V1Epb/A8731QfimfVaQ== +"@chakra-ui/react-use-merge-refs@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.6.tgz#be0279ee6070480d5b2699c732a7cfa9690c589b" + integrity sha512-m4fQtm5cn3F39nLj5MhmKsAzdFaYMldR8a4VMtfC2Pnd+bqX8jx2q2yPCjpam9x/Wnh8ZRBMJ2KAjAiGnF3XXw== -"@chakra-ui/react-use-size@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.5.tgz#4bbffb64f97dcfe1d7edeb0f03bb1d5fbc48df64" - integrity sha512-4arAApdiXk5uv5ZeFKltEUCs5h3yD9dp6gTIaXbAdq+/ENK3jMWTwlqzNbJtCyhwoOFrblLSdBrssBMIsNQfZQ== +"@chakra-ui/react-use-outside-click@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.6.tgz#55f4d5dacc80c3c39fd7755fe7e142a841d99105" + integrity sha512-wbZI4zDwSiQ3jCZ++PKmv7uIU6oyEbaap8s6e3O9/JFAlPXxAG48DcSHmQZ8scyEu/wwd8A+/3go49T4VIvc7w== dependencies: - "@zag-js/element-size" "0.1.0" + "@chakra-ui/react-use-callback-ref" "2.0.6" -"@chakra-ui/react-use-timeout@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.3.tgz#16ca397dbca55a64811575884cb81a348d86d4e2" - integrity sha512-rBBUkZSQq3nJQ8fuMkgZNY2Sgg4vKiKNp05GxAwlT7TitOfVZyoTriqQpqz296bWlmkICTZxlqCWfE5fWpsTsg== +"@chakra-ui/react-use-pan-event@2.0.8": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.8.tgz#88bd69d55c71be7d261ad3a8abe15d31a6b11380" + integrity sha512-HUn7WR9IagtC3KdjmBlHibnFYisQ055IoWReIEWuDz/5KWSPeC2p2QcMc33vhN/ucS1XbWCt6uelHHBeCWWvfA== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.5" + "@chakra-ui/event-utils" "2.0.7" + "@chakra-ui/react-use-latest-ref" "2.0.4" + framesync "6.1.2" -"@chakra-ui/react-use-update-effect@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.5.tgz#aede8f13f2b3de254b4ffa3b8cec1b70bd2876c5" - integrity sha512-y9tCMr1yuDl8ATYdh64Gv8kge5xE1DMykqPDZw++OoBsTaWr3rx40wblA8NIWuSyJe5ErtKP2OeglvJkYhryJQ== +"@chakra-ui/react-use-previous@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.4.tgz#9b73efce8ab82060ca31c26bc6128f896ec3a9a8" + integrity sha512-ZzILmNAoRVPDRFhKUceksQGETQyne4ST7W7Y5NPkr/OAJuzc2njodY0GjGiJTF2YpOSelRn6KB8MDhwp4XR2mw== + +"@chakra-ui/react-use-safe-layout-effect@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.4.tgz#5924c94dbaa3765a5f80931a6cf2cf3af094cc39" + integrity sha512-GbQIdhiesXZ8DV+JxiERz3/zki6PELhYPz/7JxyFUk8xInJnUcuEz2L4bV7rXIm9/bd2kjf4gfV+lHOGfpJdLw== -"@chakra-ui/react-utils@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.9.tgz#5cdf0bc8dee57c15f15ace04fbba574ec8aa6ecc" - integrity sha512-nlwPBVlQmcl1PiLzZWyrT3FSnt3vKSkBMzQ0EF4SJWA/nOIqTvmffb5DCzCqPzgQaE/Da1Xgus+JufFGM8GLCQ== +"@chakra-ui/react-use-size@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.7.tgz#52929bd292ff6c55471872eb0f32186d7cfe31d8" + integrity sha512-ggj8W0rer9oJ03xXrH4CUBNe6RZ/qtuU/32pMougeVWwZ3COGTODBtFlooIiy3iCvxrpHIgIDXy/hyrBWyvQSw== dependencies: - "@chakra-ui/utils" "2.0.12" + "@zag-js/element-size" "0.3.0" -"@chakra-ui/react@^2.3.6": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.4.1.tgz#3f3db03e3aa7bcb0bee76427824b3437a9509166" - integrity sha512-qZVRrQi5JRIc44EaeOaXvXt6EdWhkQjhFFL8hyH0RH6cSFlotmmzCHBT5N1jC6nqXFn5OOxOWMD9FIVsbI56hQ== - dependencies: - "@chakra-ui/accordion" "2.1.3" - "@chakra-ui/alert" "2.0.12" - "@chakra-ui/avatar" "2.2.1" - "@chakra-ui/breadcrumb" "2.1.1" - "@chakra-ui/button" "2.0.12" - "@chakra-ui/card" "2.1.1" - "@chakra-ui/checkbox" "2.2.4" - "@chakra-ui/close-button" "2.0.12" - "@chakra-ui/control-box" "2.0.11" - "@chakra-ui/counter" "2.0.11" - "@chakra-ui/css-reset" "2.0.10" - "@chakra-ui/editable" "2.0.15" - "@chakra-ui/form-control" "2.0.12" - "@chakra-ui/hooks" "2.1.2" - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/image" "2.0.12" - "@chakra-ui/input" "2.0.13" - "@chakra-ui/layout" "2.1.10" - "@chakra-ui/live-region" "2.0.11" - "@chakra-ui/media-query" "3.2.8" - "@chakra-ui/menu" "2.1.4" - "@chakra-ui/modal" "2.2.3" - "@chakra-ui/number-input" "2.0.13" - "@chakra-ui/pin-input" "2.0.16" - "@chakra-ui/popover" "2.1.3" - "@chakra-ui/popper" "3.0.9" - "@chakra-ui/portal" "2.0.11" - "@chakra-ui/progress" "2.1.1" - "@chakra-ui/provider" "2.0.23" - "@chakra-ui/radio" "2.0.13" - "@chakra-ui/react-env" "2.0.11" - "@chakra-ui/select" "2.0.13" - "@chakra-ui/skeleton" "2.0.18" - "@chakra-ui/slider" "2.0.13" - "@chakra-ui/spinner" "2.0.11" - "@chakra-ui/stat" "2.0.12" - "@chakra-ui/styled-system" "2.3.5" - "@chakra-ui/switch" "2.0.16" - "@chakra-ui/system" "2.3.3" - "@chakra-ui/table" "2.0.12" - "@chakra-ui/tabs" "2.1.5" - "@chakra-ui/tag" "2.0.12" - "@chakra-ui/textarea" "2.0.13" - "@chakra-ui/theme" "2.2.1" - "@chakra-ui/theme-utils" "2.0.4" - "@chakra-ui/toast" "4.0.3" - "@chakra-ui/tooltip" "2.2.1" - "@chakra-ui/transition" "2.0.12" - "@chakra-ui/utils" "2.0.12" - "@chakra-ui/visually-hidden" "2.0.13" - -"@chakra-ui/select@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.13.tgz#60a7302f44e49fc22d251bbcdbae24ec64f5cc4c" - integrity sha512-5MHqD2OlnLdPt8FQVxfgMJZKOTdcbu3cMFGCS2X9XCxJQkQa4kPfXq3N6BRh5L5XFI+uRsmk6aYJoawZiwNJPg== +"@chakra-ui/react-use-timeout@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.4.tgz#65e6e07f42f9c1c4165e5e8d6784215117f6b73a" + integrity sha512-7EqjJVRv61DmWb9UE4R9LPf3l1SDfawQ2/ax/e0lYpDBjaeV013wUH1uurRq8jn/vR1DhNzfRB5VtimE2f2Vsw== dependencies: - "@chakra-ui/form-control" "2.0.12" + "@chakra-ui/react-use-callback-ref" "2.0.6" -"@chakra-ui/shared-utils@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.3.tgz#97cbc11282e381ebd9f581c603088f9d60ead451" - integrity sha512-pCU+SUGdXzjAuUiUT8mriekL3tJVfNdwSTIaNeip7k/SWDzivrKGMwAFBxd3XVTDevtVusndkO4GJuQ3yILzDg== +"@chakra-ui/react-use-update-effect@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.6.tgz#8aacaab25fd181a52569336ca5ef797e8ae1026a" + integrity sha512-P6+0hocnasjl8xOrFH9BklyCNNzCBu/XAl5y7kZ82uVnS99SaC6cppO9/qWRZI9cYYheWfJ4lyLGeLOcNmI8/Q== -"@chakra-ui/skeleton@2.0.18": - version "2.0.18" - resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.18.tgz#a2af241f0b1b692db4d10b90a887107a5e401c7d" - integrity sha512-qjcD8BgVx4kL8Lmb8EvmmDGM2ICl6CqhVE2LShJrgG7PDM6Rt6rYM617kqLurLYZjbJUiwgf9VXWifS0IpT31Q== +"@chakra-ui/react-utils@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.11.tgz#5e99b21759eadc9276709268cca94c502afeda56" + integrity sha512-LdE0Ay5Em2ew7fuux9MJAwaxoaU/QwVoH/t6uiUw/JCWpmiMGY6tw6t3eZTvZSRZNfyPWY0MmvOHR1UvIS9JIw== + dependencies: + "@chakra-ui/utils" "2.0.14" + +"@chakra-ui/react@^2.4.6": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.4.6.tgz#c3baf75cd1e1c29cd42ae9f732251521df299a66" + integrity sha512-uz9QjjxJgf81fXcOWDiVo2rU/lWfThCDKW5UMlYX2OrrHko7OnwZ3r9oMlZFU/vAS71LWhKbjXicJmOwwls42g== + dependencies: + "@chakra-ui/accordion" "2.1.5" + "@chakra-ui/alert" "2.0.14" + "@chakra-ui/avatar" "2.2.2" + "@chakra-ui/breadcrumb" "2.1.2" + "@chakra-ui/button" "2.0.14" + "@chakra-ui/card" "2.1.4" + "@chakra-ui/checkbox" "2.2.7" + "@chakra-ui/close-button" "2.0.14" + "@chakra-ui/control-box" "2.0.12" + "@chakra-ui/counter" "2.0.12" + "@chakra-ui/css-reset" "2.0.11" + "@chakra-ui/editable" "2.0.17" + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/hooks" "2.1.4" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/image" "2.0.13" + "@chakra-ui/input" "2.0.16" + "@chakra-ui/layout" "2.1.12" + "@chakra-ui/live-region" "2.0.12" + "@chakra-ui/media-query" "3.2.9" + "@chakra-ui/menu" "2.1.6" + "@chakra-ui/modal" "2.2.6" + "@chakra-ui/number-input" "2.0.15" + "@chakra-ui/pin-input" "2.0.17" + "@chakra-ui/popover" "2.1.5" + "@chakra-ui/popper" "3.0.11" + "@chakra-ui/portal" "2.0.13" + "@chakra-ui/progress" "2.1.3" + "@chakra-ui/provider" "2.0.28" + "@chakra-ui/radio" "2.0.16" + "@chakra-ui/react-env" "2.0.12" + "@chakra-ui/select" "2.0.15" + "@chakra-ui/skeleton" "2.0.21" + "@chakra-ui/slider" "2.0.18" + "@chakra-ui/spinner" "2.0.12" + "@chakra-ui/stat" "2.0.14" + "@chakra-ui/styled-system" "2.5.1" + "@chakra-ui/switch" "2.0.19" + "@chakra-ui/system" "2.3.7" + "@chakra-ui/table" "2.0.14" + "@chakra-ui/tabs" "2.1.6" + "@chakra-ui/tag" "2.0.14" + "@chakra-ui/textarea" "2.0.15" + "@chakra-ui/theme" "2.2.4" + "@chakra-ui/theme-utils" "2.0.8" + "@chakra-ui/toast" "4.0.8" + "@chakra-ui/tooltip" "2.2.4" + "@chakra-ui/transition" "2.0.13" + "@chakra-ui/utils" "2.0.14" + "@chakra-ui/visually-hidden" "2.0.14" + +"@chakra-ui/select@2.0.15": + version "2.0.15" + resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.15.tgz#30b8035540843b325d172ddd4cf6343e52f1c3c1" + integrity sha512-TdrkZNMyyZu1H/J/hn4Rqz7WES6cTLZfTqSIi0FtnmFMCiOmfLT317A0d783uwU/YnDGogjfTQ4aAAY2PEsgGw== dependencies: - "@chakra-ui/media-query" "3.2.8" - "@chakra-ui/react-use-previous" "2.0.3" + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/slider@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.13.tgz#5c64bb8346f5310688845fa72363b1a35bc1560b" - integrity sha512-MypqZrKFNFPH8p0d2g2DQacl5ylUQKlGKeBu099ZCmT687U2Su3cq1wOGNGnD6VZvtwDYMKXn7kXPSMW06aBcg== - dependencies: - "@chakra-ui/number-utils" "2.0.5" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-callback-ref" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-latest-ref" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/react-use-pan-event" "2.0.6" - "@chakra-ui/react-use-size" "2.0.5" - "@chakra-ui/react-use-update-effect" "2.0.5" - -"@chakra-ui/spinner@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.11.tgz#a5dd76b6cb0f3524d9b90b73fa4acfb6adc69f33" - integrity sha512-piO2ghWdJzQy/+89mDza7xLhPnW7pA+ADNbgCb1vmriInWedS41IBKe+pSPz4IidjCbFu7xwKE0AerFIbrocCA== +"@chakra-ui/shared-utils@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.4.tgz#8661f2b48dd93d04151b10a894a4290c9d9a080c" + integrity sha512-JGWr+BBj3PXGZQ2gxbKSD1wYjESbYsZjkCeE2nevyVk4rN3amV1wQzCnBAhsuJktMaZD6KC/lteo9ou9QUDzpA== -"@chakra-ui/stat@2.0.12": +"@chakra-ui/skeleton@2.0.21": + version "2.0.21" + resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.21.tgz#697bb66b9e7362f9f252717babc50c916903cc7b" + integrity sha512-ztHfV/6Mwl1Wl8H8fkAszMHnyobNZ4SjVD/rImBlKfqSh2VW8jzSwzqN77Oi6iZ7fsqdPN7w2QWS5EAtsUxTVw== + dependencies: + "@chakra-ui/media-query" "3.2.9" + "@chakra-ui/react-use-previous" "2.0.4" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/slider@2.0.18": + version "2.0.18" + resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.18.tgz#0f4847298698bb0c5888add7f1bacec1d831e486" + integrity sha512-wfkW9Xe3WVK1yUY0ELAPVLghknxqzPjqidQgbiMSNlKxTs70sFuACsbbwMV+LMcE+2aUYOGOaqTFI8nPfVdbOw== + dependencies: + "@chakra-ui/number-utils" "2.0.6" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-callback-ref" "2.0.6" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-latest-ref" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/react-use-pan-event" "2.0.8" + "@chakra-ui/react-use-size" "2.0.7" + "@chakra-ui/react-use-update-effect" "2.0.6" + +"@chakra-ui/spinner@2.0.12": version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.12.tgz#bca87fb83c9bf2c365e8697f33f228721d9a6b28" - integrity sha512-3MTt4nA46AvlIuE6OP2O1Nna9+vcIZD1E9G4QLKwPoJ5pDHKcY4Y0t4oDdbawykthyj2fIBko7FiMIHTaAOjqg== + resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.12.tgz#275ba21dd2b4be29ecf31c64581167ac75f3b943" + integrity sha512-c9R0k7RUgff5g79Q5kX1mE4lsXqLKIskIbPksL7Qm3Zw/ZbDHyNILFFltPLt7350rC9mGzqzEZbizAFlksbdLw== + dependencies: + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/stat@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.14.tgz#b20b78d345fbadb679cab218b5c75b7b56d4706e" + integrity sha512-VW92QvrRZDZAtUhPHWLhS0SzxVmElb6dRevVokzTm2sBQbkE1pkZnzoYuEkBx3t0QjxZj5YhqXR+CEkZFpM1rw== dependencies: - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/styled-system@2.3.5": - version "2.3.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.3.5.tgz#88f1530d77c30285c6aa7c561d4bd770bebd705c" - integrity sha512-Xj78vEq/R+1OVx36tJnAb/vLtX6DD9k/yxj3lCigl3q5Qjr6aglPBjqHdfFbGaQeB0Gt4ABPyxUDO3sAhdxC4w== +"@chakra-ui/styled-system@2.5.1": + version "2.5.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.5.1.tgz#d76f0898d5036353947bc83afb2e1c3cad3d374a" + integrity sha512-HhaXR/r5eGlC7vkoOWQ31yZEj+Aq+kFee7ZZb0fBRGKQichn06S9Ugr8CsFyzb+jNexHdtBlIcTBm0ufJ8HsFA== dependencies: + "@chakra-ui/shared-utils" "2.0.4" csstype "^3.0.11" lodash.mergewith "4.6.2" -"@chakra-ui/switch@2.0.16": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.16.tgz#b8d1275d723d384a22fe8900fc2913a808b8ceaa" - integrity sha512-uLGjXHaxjCvf97jrwTuYtHSAzep/Mb8hSr/D1BRlBNz6E0kHGRaKANl/pAZAK1z7ZzvyYokK65Wpce2GQ4U/dQ== +"@chakra-ui/switch@2.0.19": + version "2.0.19" + resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.19.tgz#dd587b818d4adf2f2845532f3bd10f485ca5882a" + integrity sha512-mXEXrTQAfGnmgAeRcVvcgC98ZaB9/WBSpfVgVKLRVuLhv5XYwhffxxZb9Zqaa3eWb9iilxi3qQUtN0g/wu2G7w== dependencies: - "@chakra-ui/checkbox" "2.2.4" + "@chakra-ui/checkbox" "2.2.7" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/system@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.3.3.tgz#1557f573a3394e375411631b0836f0e79c9f68f9" - integrity sha512-nOEXC08d4PiK/4QwSV4tnci2SoWjDHEVSveWW9qoRRr1iZUbQffpwYyJY4pBpPJE7CsA2w3GXK7NdMFRwPtamQ== - dependencies: - "@chakra-ui/color-mode" "2.1.10" - "@chakra-ui/react-utils" "2.0.9" - "@chakra-ui/styled-system" "2.3.5" - "@chakra-ui/theme-utils" "2.0.4" - "@chakra-ui/utils" "2.0.12" +"@chakra-ui/system@2.3.7": + version "2.3.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.3.7.tgz#31e8aade0ff43288c7dfe63dfce6be72cc049779" + integrity sha512-sUmLyo+zjv+Im56slRaQA5fw04y7JuVGKgGW8xcQan+jVtMI2gGBvnecOUeNNiEWglpW/pZ/AE9rgJX9dKkrkA== + dependencies: + "@chakra-ui/color-mode" "2.1.11" + "@chakra-ui/react-utils" "2.0.11" + "@chakra-ui/styled-system" "2.5.1" + "@chakra-ui/theme-utils" "2.0.8" + "@chakra-ui/utils" "2.0.14" react-fast-compare "3.2.0" -"@chakra-ui/table@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.12.tgz#387653cf660318b13086b6497aca2b671deb055a" - integrity sha512-TSxzpfrOoB+9LTdNTMnaQC6OTsp36TlCRxJ1+1nAiCmlk+m+FiNzTQsmBalDDhc29rm+6AdRsxSPsjGWB8YVwg== +"@chakra-ui/table@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.14.tgz#f2d6a4e66e1c07ffa850050bc7ff15e7ea114bbd" + integrity sha512-tiRr//5GfFnpCz4PyVgEIWBMsePAM1SWfvAJJYG2wBXNULYB/5nYmch+cJzPqZtdgL2/RuKIJINAmqVZQVddrw== dependencies: - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/tabs@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.5.tgz#827b0e71eb173c09c31dcbbe05fc1146f4267229" - integrity sha512-XmnKDclAJe0FoW4tdC8AlnZpPN5fcj92l4r2sqiL9WyYVEM71hDxZueETIph/GTtfMelG7Z8e5vBHP4rh1RT5g== - dependencies: - "@chakra-ui/clickable" "2.0.11" - "@chakra-ui/descendant" "3.0.11" - "@chakra-ui/lazy-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.4" - "@chakra-ui/react-context" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.6" - "@chakra-ui/react-use-merge-refs" "2.0.5" - "@chakra-ui/react-use-safe-layout-effect" "2.0.3" - -"@chakra-ui/tag@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.12.tgz#8f8e838efc1c9c504c92bbfd36f2435e8cdcfa6d" - integrity sha512-LmPnE6aFF0pfscgYRKZbkWvG7detszwNdcmalQJdp2C8E/xuqi9Vj9RWU/bmRyWHJN+8R603mvPVWj5oN0rarA== +"@chakra-ui/tabs@2.1.6": + version "2.1.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.6.tgz#f812b4f25c1a3a193e73c51da822b501d0b6e32f" + integrity sha512-9y+ZBRSBFOvsMY8R+nmlWXqMNwokttA1cwcnjp9djsXuN+vabN8nzPcdKsoBbYUhZJp01k2Qgg3jZ46KiD9n7w== + dependencies: + "@chakra-ui/clickable" "2.0.12" + "@chakra-ui/descendant" "3.0.12" + "@chakra-ui/lazy-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.5" + "@chakra-ui/react-context" "2.0.6" + "@chakra-ui/react-use-controllable-state" "2.0.7" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/react-use-safe-layout-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/tag@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.14.tgz#39962486af69e2bb548a5678095762e67e41369d" + integrity sha512-f6XU7GwTJkPDXU66Qbq8sS2i4dNb1pmeW2T1AFnzDZLI3kNLjw5B6tgW1HGr26/oq9Xu8aGNqAp0yGy9bAfeAA== dependencies: - "@chakra-ui/icon" "3.0.12" - "@chakra-ui/react-context" "2.0.5" + "@chakra-ui/icon" "3.0.14" + "@chakra-ui/react-context" "2.0.6" -"@chakra-ui/textarea@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.13.tgz#ff32e3ad61880b13514df1c6f6b62176e8f91823" - integrity sha512-tMiBGimVB+Z8T+yAQ4E45ECmCix0Eisuukf4wUBOpdSRWaArpAoA4RuA34z7OoMbNa3fxEVcvnd2apX1InBtsQ== +"@chakra-ui/textarea@2.0.15": + version "2.0.15" + resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.15.tgz#f63e17aaca54cac19148b219c33ec91d2133c60c" + integrity sha512-qARh+MgeP1HSOV4oEZK5JwvQIq3gMC3kU1giMGasjsLTDjNPZiVMGpj91Z+mYB0C3IdbJhIuQCo1eM5QAL/QHg== dependencies: - "@chakra-ui/form-control" "2.0.12" + "@chakra-ui/form-control" "2.0.14" + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/theme-tools@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.13.tgz#cde5503b4044832ab659904281e8a260deae73bb" - integrity sha512-Dvai4lljtrs9f2aha3b9yajmxroNaVGNvkKkwh77dRW2jcNNBXepkGWfNLXVkP68Yydz5O+Lt5DKvETrEho9cQ== +"@chakra-ui/theme-tools@2.0.16": + version "2.0.16" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.16.tgz#17caae14a61f93759f072b16c7346489eb8be643" + integrity sha512-B/LD+2LNDeHYd/LVCHIJqckVZfhrycTUpNbhRVAiDRaS0AAcsPxKas7liTFkkMkM076YjiHlcla3KpVX+E9tzg== dependencies: - "@chakra-ui/anatomy" "2.1.0" - "@ctrl/tinycolor" "^3.4.0" + "@chakra-ui/anatomy" "2.1.1" + "@chakra-ui/shared-utils" "2.0.4" + color2k "^2.0.0" -"@chakra-ui/theme-utils@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme-utils/-/theme-utils-2.0.4.tgz#7357dd03734bc74d3a8be09db19d6b73c8f34075" - integrity sha512-vrYuZxzc31c1bevfJRCk4j68dUw4Bxt6QAm3RZcUQyvTnS6q5FhMz+R1X6vS3+IfIhSscZFxwRQSp/TpyY4Vtw== +"@chakra-ui/theme-utils@2.0.8": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme-utils/-/theme-utils-2.0.8.tgz#e0eb3f2fb888f11e060ad42a4b14f0ecea3f2f4d" + integrity sha512-E4GT1tT5JTwsxRCgopdkLWx6oxd1lrI7DBLiwW0WxvtPmHfy5I9CB4CVnYBNHQZNXiJZyUQpCwKyGg2npGxv5Q== dependencies: - "@chakra-ui/styled-system" "2.3.5" - "@chakra-ui/theme" "2.2.1" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/styled-system" "2.5.1" + "@chakra-ui/theme" "2.2.4" lodash.mergewith "4.6.2" -"@chakra-ui/theme@2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.2.1.tgz#83f5e484640bf8d97075f9fa3ca41f02c5caf3f7" - integrity sha512-6qEJMfnTjB5vGoY1kO/fDarK0Ivrb77UzDw8rY0aTHbjLJkOVxtd7d2H7m8xufh6gecCI5HuXqq8I297pLYm+w== +"@chakra-ui/theme@2.2.4": + version "2.2.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.2.4.tgz#69948ebf19ae1387b9e5022aca1e58c881658b77" + integrity sha512-zo1FBfkJBsvpOGGByRB4aEvekdeT/9BB7Lz3rAluKkC+Wo8yce1tTSlvPMpf2f4lsEI8zVid5ATQ6u3+kIFg4w== dependencies: - "@chakra-ui/anatomy" "2.1.0" - "@chakra-ui/theme-tools" "2.0.13" + "@chakra-ui/anatomy" "2.1.1" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/theme-tools" "2.0.16" -"@chakra-ui/toast@4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-4.0.3.tgz#7304228663495d39fd4bd72ffc320f5a279265ac" - integrity sha512-n6kShxGrHikrJO1vC5cPFbvz5LjG56NhVch3tmyk2g2yrJ87zbNGQqQ2BlLuJcEVFDu3tu+wC1qHdXs8WU4bjg== - dependencies: - "@chakra-ui/alert" "2.0.12" - "@chakra-ui/close-button" "2.0.12" - "@chakra-ui/portal" "2.0.11" - "@chakra-ui/react-use-timeout" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.5" - "@chakra-ui/styled-system" "2.3.5" - "@chakra-ui/theme" "2.2.1" - -"@chakra-ui/tooltip@2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.1.tgz#ee08a7759f2b88bdc5d73b4e459bee3256ba5bcb" - integrity sha512-X/VIYgegx1Ab6m0PSI/iISo/hRAe4Xv+hOwinIxIUUkLS8EOtBvq4RhlB6ieFn8jAAPDzPKJW6QFqz8ecJdUiw== +"@chakra-ui/toast@4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-4.0.8.tgz#578b34a0916afa891ddde9317e4c2d83d1a4832d" + integrity sha512-g50kEZvrApkcNdm9ssccE9YYFsPMwTWz5IwUEFBJ2iSrEaTz5rikq/F2CP+oRu2vq22RPvczoOUnSaXE8GRzww== + dependencies: + "@chakra-ui/alert" "2.0.14" + "@chakra-ui/close-button" "2.0.14" + "@chakra-ui/portal" "2.0.13" + "@chakra-ui/react-use-timeout" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + "@chakra-ui/styled-system" "2.5.1" + "@chakra-ui/theme" "2.2.4" + +"@chakra-ui/tooltip@2.2.4": + version "2.2.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.4.tgz#41ac464d99da49c4a6217c02793f063c6d24152d" + integrity sha512-KUEsSjIwTyFvdixWg3jVUcpaiAfMddRxiuxnsKcFVv8H5dZF75tstaq8iAHY+pueh6CRmIvO2Oh7XWiAYA/LJA== + dependencies: + "@chakra-ui/popper" "3.0.11" + "@chakra-ui/portal" "2.0.13" + "@chakra-ui/react-types" "2.0.6" + "@chakra-ui/react-use-disclosure" "2.0.7" + "@chakra-ui/react-use-event-listener" "2.0.6" + "@chakra-ui/react-use-merge-refs" "2.0.6" + "@chakra-ui/shared-utils" "2.0.4" + +"@chakra-ui/transition@2.0.13": + version "2.0.13" + resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.13.tgz#54da88debdd528c2d41f04809e3b9448106e274f" + integrity sha512-vpzK5HN91eDLkBEdaO6GTCJOYgJYHlmxCAym/tScBuWM2ALZ4mWu57qWgPptgGv+IpMfuvL1t+IVqPgyWwEQFw== dependencies: - "@chakra-ui/popper" "3.0.9" - "@chakra-ui/portal" "2.0.11" - "@chakra-ui/react-types" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.6" - "@chakra-ui/react-use-event-listener" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.5" - -"@chakra-ui/transition@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.12.tgz#876c6ed24e442a720a8570490a93cb1f87008700" - integrity sha512-ff6eU+m08ccYfCkk0hKfY/XlmGxCrfbBgsKgV4mirZ4SKUL1GVye8CYuHwWQlBJo+8s0yIpsTNxAuX4n/cW9/w== + "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/utils@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.12.tgz#5ab8a4529fca68d9f8c6722004f6a5129b0b75e9" - integrity sha512-1Z1MgsrfMQhNejSdrPJk8v5J4gCefHo+1wBmPPHTz5bGEbAAbZ13aXAfXy8w0eFy0Nvnawn0EHW7Oynp/MdH+Q== +"@chakra-ui/utils@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.14.tgz#b6776c7a020ea46ed88a8048dfa2b512a1fe95f7" + integrity sha512-vYxtAUPY09Ex2Ae2ZvQKA1d2+lMKq/wUaRiqpwmeLfutEQuPQZc3qzQcAIMRQx3wLgXr9BUFDtHgBoOz0XKtZw== dependencies: "@types/lodash.mergewith" "4.6.6" css-box-model "1.2.1" - framesync "5.3.0" + framesync "6.1.2" lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.13.tgz#6553467d93f206d17716bcbe6e895a84eef87472" - integrity sha512-sDEeeEjLfID333EC46NdCbhK2HyMXlpl5HzcJjuwWIpyVz4E1gKQ9hlwpq6grijvmzeSywQ5D3tTwUrvZck4KQ== +"@chakra-ui/visually-hidden@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.14.tgz#c54feca28e8110a1d92ba2c718272931d0e181e2" + integrity sha512-/evqTuCeN3laukL1BPZO8HTzgs+dzq0v6gu/MJFgiSAKGLfInn0/IStKGK2vIluuCtJIgaHVdKcJzr+7sJhd0Q== "@coinbase/wallet-sdk@^3.5.3": - version "3.5.4" - resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.5.4.tgz#957aa74521a4afa61ae99e1e2b948a6e017fcc87" - integrity sha512-+5s05dmB6YUPUnV5vThP96GVG1O4GgS3qYvjYJhe56ds8YFz+keU3/docFBLf8FQOCIO5j7IZtZmVGvz7G+kRw== + version "3.6.3" + resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.6.3.tgz#fd96f6f19d5a0090520c1b014ad4737bbc8e1267" + integrity sha512-XUR4poOJE+dKzwBTdlM693CdLFitr046oZOVY3iDnbFcRrrQswhbDji7q4CmUcD4HxbfViX7PFoIwl79YQcukg== dependencies: "@metamask/safe-event-emitter" "2.0.0" - "@solana/web3.js" "1.52.0" + "@solana/web3.js" "^1.70.1" bind-decorator "^1.0.11" bn.js "^5.1.1" buffer "^6.0.3" @@ -2019,11 +2065,6 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@ctrl/tinycolor@^3.4.0": - version "3.4.1" - resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" - integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== - "@cypress/request@^2.88.10": version "2.88.10" resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce" @@ -2296,10 +2337,115 @@ resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== -"@esbuild/linux-loong64@0.14.54": - version "0.14.54" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" - integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== +"@esbuild/android-arm64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.14.tgz#f02c9f0d43086ddf6ed2795b881ddf7990f74456" + integrity sha512-hTqB6Iq13pW4xaydeqQrs8vPntUnMjbkq+PgGiBMi69eYk74naG2ftHWqKnxn874kNrt5Or3rQ0PJutx2doJuQ== + +"@esbuild/android-arm@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.14.tgz#24e4faf569d0d6bbf9ed46f6ed395d68eb7f04fc" + integrity sha512-u0rITLxFIeYAvtJXBQNhNuV4YZe+MD1YvIWT7Nicj8hZAtRVZk2PgNH6KclcKDVHz1ChLKXRfX7d7tkbQBUfrg== + +"@esbuild/android-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.14.tgz#1173e706cf57c0d4dbf069d18e5d50ae6a5b0871" + integrity sha512-jir51K4J0K5Rt0KOcippjSNdOl7akKDVz5I6yrqdk4/m9y+rldGptQUF7qU4YpX8U61LtR+w2Tu2Ph+K/UaJOw== + +"@esbuild/darwin-arm64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.14.tgz#67f05693c5b097bcb4ff656ba5839459f30f79c2" + integrity sha512-vrlaP81IuwPaw1fyX8fHCmivP3Gr73ojVEZy+oWJLAiZVcG8o8Phwun/XDnYIFUHxIoUnMFEpg9o38MIvlw8zw== + +"@esbuild/darwin-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.14.tgz#519c9d127c5363d4a1e73b9d954460f798b41d2a" + integrity sha512-KV1E01eC2hGYA2qzFDRCK4wdZCRUvMwCNcobgpiiOzp5QXpJBqFPdxI69j8vvzuU7oxFXDgANwEkXvpeQqyOyg== + +"@esbuild/freebsd-arm64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.14.tgz#2e3f5de2951a8ec732a3e4ec4f5d47a7c9626001" + integrity sha512-xRM1RQsazSvL42BNa5XC7ytD4ZDp0ZyJcH7aB0SlYUcHexJUKiDNKR7dlRVlpt6W0DvoRPU2nWK/9/QWS4u2fw== + +"@esbuild/freebsd-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.14.tgz#d3cf84ff28357ac8d0123309bac37fcfcdd98f53" + integrity sha512-7ALTAn6YRRf1O6fw9jmn0rWmOx3XfwDo7njGtjy1LXhDGUjTY/vohEPM3ii5MQ411vJv1r498EEx2aBQTJcrEw== + +"@esbuild/linux-arm64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.14.tgz#f44b0e3d5d470cd763a9bc4855a12b8cb73d6c12" + integrity sha512-TLh2OcbBUQcMYRH4GbiDkDZfZ4t1A3GgmeXY27dHSI6xrU7IkO00MGBiJySmEV6sH3Wa6pAN6UtaVL0DwkGW4Q== + +"@esbuild/linux-arm@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.14.tgz#b239eb7e6cb7df9c34c6b08f4adf113da47e0e09" + integrity sha512-X6xULug66ulrr4IzrW7qq+eq9n4MtEyagdWvj4o4cmWr+JXOT47atjpDF9j5M2zHY0UQBmqnHhwl+tXpkpIb2w== + +"@esbuild/linux-ia32@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.14.tgz#f5f7886027cd61bed59178e981a0ef47ca5b72ef" + integrity sha512-oBZkcZ56UZDFCAfE3Fd/Jgy10EoS7Td77NzNGenM+HSY8BkdQAcI9VF9qgwdOLZ+tuftWD7UqZ26SAhtvA3XhA== + +"@esbuild/linux-loong64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.14.tgz#d2329371726f9778156c89ea0bed26fc1bc3cd7e" + integrity sha512-udz/aEHTcuHP+xdWOJmZ5C9RQXHfZd/EhCnTi1Hfay37zH3lBxn/fNs85LA9HlsniFw2zccgcbrrTMKk7Cn1Qg== + +"@esbuild/linux-mips64el@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.14.tgz#8af86bdc6ee937c8a2803b3c197b28824f48df8e" + integrity sha512-kJ2iEnikUOdC1SiTGbH0fJUgpZwa0ITDTvj9EHf9lm3I0hZ4Yugsb3M6XSl696jVxrEocLe519/8CbSpQWFSrg== + +"@esbuild/linux-ppc64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.14.tgz#3fa3f8c6c9db3127f2ec5b2eba1cec67ff9a9b8e" + integrity sha512-kclKxvZvX5YhykwlJ/K9ljiY4THe5vXubXpWmr7q3Zu3WxKnUe1VOZmhkEZlqtnJx31GHPEV4SIG95IqTdfgfg== + +"@esbuild/linux-riscv64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.14.tgz#1bd1b631de2533106a08876295bad3a19b20f629" + integrity sha512-fdwP9Dc+Kx/cZwp9T9kNqjAE/PQjfrxbio4rZ3XnC3cVvZBjuxpkiyu/tuCwt6SbAK5th6AYNjFdEV9kGC020A== + +"@esbuild/linux-s390x@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.14.tgz#c87440b6522b9a36a9cafd05b0f1ca3c5bad4cca" + integrity sha512-++fw3P4fQk9nqvdzbANRqimKspL8pDCnSpXomyhV7V/ISha/BZIYvZwLBWVKp9CVWKwWPJ4ktsezuLIvlJRHqA== + +"@esbuild/linux-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.14.tgz#49cd974dad6042ac0141ba332df6307c44e77fed" + integrity sha512-TomtswAuzBf2NnddlrS4W01Tv85RM9YtATB3OugY6On0PLM4Ksz5qvQKVAjtzPKoLgL1FiZtfc8mkZc4IgoMEA== + +"@esbuild/netbsd-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.14.tgz#53dcfb5131376feff0911adff7f01b4821706cf6" + integrity sha512-U06pfx8P5CqyoPNfqIJmnf+5/r4mJ1S62G4zE6eOjS59naQcxi6GnscUCPH3b+hRG0qdKoGX49RAyiqW+M9aSw== + +"@esbuild/openbsd-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.14.tgz#f36888f73087bcd12c5bf9a4b18e348da9c80ad0" + integrity sha512-/Jl8XVaWEZNu9rZw+n792GIBupQwHo6GDoapHSb/2xp/Ku28eK6QpR2O9cPBkzHH4OOoMH0LB6zg/qczJ5TTGg== + +"@esbuild/sunos-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.14.tgz#41e046bb0849ae59702a5cfa8be300431a61ee3a" + integrity sha512-2iI7D34uTbDn/TaSiUbEHz+fUa8KbN90vX5yYqo12QGpu6T8Jl+kxODsWuMCwoTVlqUpwfPV22nBbFPME9OPtw== + +"@esbuild/win32-arm64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.14.tgz#d6ed78742a6edd413e75796882ddaef8c1e23b93" + integrity sha512-SjlM7AHmQVTiGBJE/nqauY1aDh80UBsXZ94g4g60CDkrDMseatiqALVcIuElg4ZSYzJs8hsg5W6zS2zLpZTVgg== + +"@esbuild/win32-ia32@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.14.tgz#558bd53859a83fe887d7d2dcdc6cb3fc9aa9a9bc" + integrity sha512-z06t5zqk8ak0Xom5HG81z2iOQ1hNWYsFQp3sczVLVx+dctWdgl80tNRyTbwjaFfui2vFO12dfE3trCTvA+HO4g== + +"@esbuild/win32-x64@0.16.14": + version "0.16.14" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.14.tgz#90558dcb279989d92a42e5be4dfb884b2399361f" + integrity sha512-ED1UpWcM6lAbalbbQ9TrGqJh4Y9TaASUvu8bI/0mgJcxhSByJ6rbpgqRhxYMaQ682WfA71nxUreaTO7L275zrw== "@eslint/eslintrc@^1.2.3": version "1.3.0" @@ -2549,7 +2695,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.5.0", "@ethersproject/sha2@^5.7.0": +"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== @@ -2901,7 +3047,7 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@^3.0.3": +"@jridgewell/resolve-uri@3.1.0", "@jridgewell/resolve-uri@^3.0.3": version "3.1.0" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== @@ -2919,7 +3065,7 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": version "1.4.14" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== @@ -2932,7 +3078,7 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.7", "@jridgewell/trace-mapping@^0.3.9": +"@jridgewell/trace-mapping@^0.3.7": version "0.3.14" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ== @@ -2940,6 +3086,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@json-rpc-tools/provider@^1.5.5": version "1.7.6" resolved "https://registry.yarnpkg.com/@json-rpc-tools/provider/-/provider-1.7.6.tgz#8a17c34c493fa892632e278fd9331104e8491ec6" @@ -2975,56 +3129,56 @@ resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c" integrity sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q== -"@motionone/animation@^10.13.1": - version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6" - integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== +"@motionone/animation@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.15.1.tgz#4a85596c31cbc5100ae8eb8b34c459fb0ccf6807" + integrity sha512-mZcJxLjHor+bhcPuIFErMDNyrdb2vJur8lSfMCsuCB4UyV8ILZLvK+t+pg56erv8ud9xQGK/1OGPt10agPrCyQ== dependencies: - "@motionone/easing" "^10.14.0" - "@motionone/types" "^10.14.0" - "@motionone/utils" "^10.14.0" + "@motionone/easing" "^10.15.1" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" tslib "^2.3.1" -"@motionone/dom@10.13.1": - version "10.13.1" - resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.13.1.tgz#fc29ea5d12538f21b211b3168e502cfc07a24882" - integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== +"@motionone/dom@^10.15.3": + version "10.15.3" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.15.3.tgz#afb27270032368a917f1ae8dd87e0069a6a9fe40" + integrity sha512-FQ7a2zMBXc1UeU8CG9G3yDpst55fbb0+C9A0VGfwOITitBCzigKZnXRgsRSWWR+FW57GSc13eGQxtYB0lKG0Ng== dependencies: - "@motionone/animation" "^10.13.1" - "@motionone/generators" "^10.13.1" - "@motionone/types" "^10.13.0" - "@motionone/utils" "^10.13.1" + "@motionone/animation" "^10.15.1" + "@motionone/generators" "^10.15.1" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" hey-listen "^1.0.8" tslib "^2.3.1" -"@motionone/easing@^10.14.0": - version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.14.0.tgz#d8154b7f71491414f3cdee23bd3838d763fffd00" - integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== +"@motionone/easing@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.15.1.tgz#95cf3adaef34da6deebb83940d8143ede3deb693" + integrity sha512-6hIHBSV+ZVehf9dcKZLT7p5PEKHGhDwky2k8RKkmOvUoYP3S+dXsKupyZpqx5apjd9f+php4vXk4LuS+ADsrWw== dependencies: - "@motionone/utils" "^10.14.0" + "@motionone/utils" "^10.15.1" tslib "^2.3.1" -"@motionone/generators@^10.13.1": - version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.14.0.tgz#e05d9dd56da78a4b92db99185848a0f3db62242d" - integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== +"@motionone/generators@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.15.1.tgz#dc6abb11139d1bafe758a41c134d4c753a9b871c" + integrity sha512-67HLsvHJbw6cIbLA/o+gsm7h+6D4Sn7AUrB/GPxvujse1cGZ38F5H7DzoH7PhX+sjvtDnt2IhFYF2Zp1QTMKWQ== dependencies: - "@motionone/types" "^10.14.0" - "@motionone/utils" "^10.14.0" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" tslib "^2.3.1" -"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": - version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.14.0.tgz#148c34f3270b175397e49c3058b33fab405c21e3" - integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== +"@motionone/types@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.15.1.tgz#89441b54285012795cbba8612cbaa0fa420db3eb" + integrity sha512-iIUd/EgUsRZGrvW0jqdst8st7zKTzS9EsKkP+6c6n4MPZoQHwiHuVtTQLD6Kp0bsBLhNzKIBlHXponn/SDT4hA== -"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": - version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.14.0.tgz#a19a3464ed35b08506747b062d035c7bc9bbe708" - integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== +"@motionone/utils@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.15.1.tgz#6b5f51bde75be88b5411e084310299050368a438" + integrity sha512-p0YncgU+iklvYr/Dq4NobTRdAPv9PveRDUXabPEeOjBLSO/1FNB2phNTZxOxpi1/GZwYpAoECEa0Wam+nsmhSw== dependencies: - "@motionone/types" "^10.14.0" + "@motionone/types" "^10.15.1" hey-listen "^1.0.8" tslib "^2.3.1" @@ -3107,6 +3261,21 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.6.tgz#a350caf42975e7197b24b495b8d764eec7e6a36e" integrity sha512-4ZEwiRuZEicXhXqmhw3+de8Z4EpOLQj/gp+D9fFWo6ii6W1kBkNNvvEx4A90ugppu+74pT1lIJnOuz3A9oQeJA== +"@noble/ed25519@^1.7.0": + version "1.7.1" + resolved "https://registry.yarnpkg.com/@noble/ed25519/-/ed25519-1.7.1.tgz#6899660f6fbb97798a6fbd227227c4589a454724" + integrity sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw== + +"@noble/hashes@^1.1.2": + version "1.1.5" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.5.tgz#1a0377f3b9020efe2fae03290bd2a12140c95c11" + integrity sha512-LTMZiiLc+V4v1Yi16TD6aX2gmtKszNye0pQgbaLqkvhIqP7nVsSaJsWloGQjJfJ8offaoP5GtX3yY5swbcJxxQ== + +"@noble/secp256k1@^1.6.3": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.0.tgz#d15357f7c227e751d90aa06b05a0e5cf993ba8c1" + integrity sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -3473,18 +3642,16 @@ lodash "^4.17.21" "@raidguild/design-system@^0.4.18": - version "0.4.18" - resolved "https://registry.yarnpkg.com/@raidguild/design-system/-/design-system-0.4.18.tgz#b5937f78478ca35991d405200f12dadfc2af56e8" - integrity sha512-rZe/K7qFIGSGDzBhYl31Gdlv6m9Czke/Xq9Sp/KEJUhI/vNXAAy70hQd61T566Fa4QgM3Qnm31/CSKGuhtABWw== + version "0.4.25" + resolved "https://registry.yarnpkg.com/@raidguild/design-system/-/design-system-0.4.25.tgz#1f120d79bc63511ec5ef76fac241bcfb2b530854" + integrity sha512-SLUT9hu9TLwBg3okiSfi7gEgEfzR6CNo7rAyXTaUG9gdFbWjVA1IGlb6gVzvHz8j7ykHNqSFXBo5G3PqlZJTYw== dependencies: - "@chakra-ui/react" "^2.3.6" + "@chakra-ui/react" "^2.4.6" "@emotion/react" "^11.10.5" "@emotion/styled" "^11.10.5" - "@rainbow-me/rainbowkit" "^0.7.4" "@rollup/plugin-replace" "^3.0.0" "@storybook/react" "^7.0.0-alpha.43" "@storybook/theming" "^7.0.0-alpha.43" - ethers "^5.7.2" framer-motion "^7.6.2" lodash "^4.17.21" lodash-es "^4.17.21" @@ -3493,25 +3660,12 @@ react-hook-form "^7.38.0" react-icons "^4.3.1" rollup-plugin-css-porter "^1.0.2" - wagmi "^0.7.8" "@rainbow-me/rainbowkit-siwe-next-auth@^0.1.5": version "0.1.5" resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit-siwe-next-auth/-/rainbowkit-siwe-next-auth-0.1.5.tgz#7fb33266781e42061d59ecc616a800becf19e561" integrity sha512-dbQvXcX0mcZ/7H8mx1OrBroJcY9iCdjLd89Z9iulHJsa+RT7bTfCNufw3SzRTzanBugZfyq9r+A+Q9JdYB3t2Q== -"@rainbow-me/rainbowkit@^0.7.4": - version "0.7.4" - resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-0.7.4.tgz#5cf25d9108ae125c3b1b2b6ddb01d785940011bd" - integrity sha512-o3kwaHZw9O40gfK2DamJZzoqPbK7EHC+8++QtFy5AQ0Sw5P+U0tzb/87KHatSIXyIwrZTEGD0uciPjCGikJMjg== - dependencies: - "@vanilla-extract/css" "1.9.1" - "@vanilla-extract/dynamic" "2.0.2" - "@vanilla-extract/sprinkles" "1.5.0" - clsx "1.1.1" - qrcode "1.5.0" - react-remove-scroll "2.5.4" - "@rainbow-me/rainbowkit@^0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-0.8.0.tgz#e5f5a44431f32e5884c5d7eb5f5e253e81af4887" @@ -3617,20 +3771,23 @@ "@sinonjs/commons" "^1.7.0" "@solana/buffer-layout@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.0.tgz#75b1b11adc487234821c81dfae3119b73a5fd734" - integrity sha512-lR0EMP2HC3+Mxwd4YcnZb0smnaDw7Bl2IQWZiTevRH5ZZBZn6VRWn3/92E3qdU4SSImJkA6IDHawOHAnx/qUvQ== + version "4.0.1" + resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" + integrity sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA== dependencies: buffer "~6.0.3" -"@solana/web3.js@1.52.0": - version "1.52.0" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.52.0.tgz#71bd5c322a31e3e2fa8cda2261c594846810b8ea" - integrity sha512-oG1+BX4nVYZ0OBzmk6DRrY8oBYMsbXVQEf9N9JOfKm+wXSmjxVEEo8v3IPV8mKwR0JvUWuE8lOn3IUDiMlRLgg== +"@solana/web3.js@^1.70.1": + version "1.73.0" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.73.0.tgz#c65f9f954ac80fca6952765c931dd72e57e1b572" + integrity sha512-YrgX3Py7ylh8NYkbanoINUPCj//bWUjYZ5/WPy9nQ9SK3Cl7QWCR+NmbDjmC/fTspZGR+VO9LTQslM++jr5PRw== dependencies: "@babel/runtime" "^7.12.5" - "@ethersproject/sha2" "^5.5.0" + "@noble/ed25519" "^1.7.0" + "@noble/hashes" "^1.1.2" + "@noble/secp256k1" "^1.6.3" "@solana/buffer-layout" "^4.0.0" + agentkeepalive "^4.2.1" bigint-buffer "^1.1.5" bn.js "^5.0.0" borsh "^0.7.0" @@ -3638,13 +3795,9 @@ buffer "6.0.1" fast-stable-stringify "^1.0.0" jayson "^3.4.4" - js-sha3 "^0.8.0" node-fetch "2" - react-native-url-polyfill "^1.3.0" rpc-websockets "^7.5.0" - secp256k1 "^4.0.2" superstruct "^0.14.2" - tweetnacl "^1.0.3" "@spruceid/siwe-parser@^1.1.3": version "1.1.3" @@ -3678,129 +3831,54 @@ resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== -"@storybook/addons@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-7.0.0-alpha.49.tgz#6439140b8c6dc02143910d4c0b1d17555ab7d76c" - integrity sha512-SLtCRF/xo8ha/omvhQBe7Whdh3ck7CKJbX3MYE6AGS4c4Q6Td2M3mz0CvJG4OxkNgpbOjDOgptZINRjAEkrJXQ== - dependencies: - "@storybook/api" "7.0.0-alpha.49" - "@storybook/channels" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-events" "7.0.0-alpha.49" - "@storybook/router" "7.0.0-alpha.49" - "@storybook/theming" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" - global "^4.4.0" - -"@storybook/api@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/api/-/api-7.0.0-alpha.49.tgz#125cd731245d5977725cd943041f41428ec641f8" - integrity sha512-3XAWXqUKeiY9KP0mt/TS5xccx0zU4sWRoRfALSOtAFFirlkxIW3ze9nJqOdy/8/ZGJ4VQMuMWDJoxmRQrLU+Hg== - dependencies: - "@storybook/channels" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-events" "7.0.0-alpha.49" - "@storybook/csf" next - "@storybook/router" "7.0.0-alpha.49" - "@storybook/theming" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" - dequal "^2.0.2" - global "^4.4.0" - lodash "^4.17.21" - memoizerific "^1.11.3" - semver "^7.3.7" - store2 "^2.12.0" - telejson "^6.0.8" - ts-dedent "^2.0.0" - util-deprecate "^1.0.2" - -"@storybook/channel-postmessage@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-7.0.0-alpha.49.tgz#26f0479488a42a33eadeeeb1220abf9921f78a7c" - integrity sha512-FtjjyieSp86HEDt3zo71Mg1ZAr4LruJ18W5LkA/I42Y++6g+dFXw0yaXs7YzQuWgiJeFQWtawclMJl5NIP5qFg== +"@storybook/channel-postmessage@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-7.0.0-beta.19.tgz#8b980e61b0515cbb12a36cda161c57e3c74c901a" + integrity sha512-F8ksWUuVcLb96DVB0ECvBrZLstqwSYDnP7BKWG6WVrThdDT9G9EJcw/XjW5N0CRVf2JUPmdqeu/Z3N8JE6+EBw== dependencies: - "@storybook/channels" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-events" "7.0.0-alpha.49" - global "^4.4.0" + "@storybook/channels" "7.0.0-beta.19" + "@storybook/client-logger" "7.0.0-beta.19" + "@storybook/core-events" "7.0.0-beta.19" + "@storybook/global" "^5.0.0" qs "^6.10.0" - telejson "^6.0.8" - -"@storybook/channel-websocket@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-7.0.0-alpha.49.tgz#9bf19fbe19353cf925b957b34c0dfa8901d7c16e" - integrity sha512-j/EgZaueN7EisN5dc6hTBCBkG83o91Mnh0yvTmuol2gII8xULRJdyvoUBrcZvUPzectGenYEJ3L5gymNnXVG/A== - dependencies: - "@storybook/channels" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - global "^4.4.0" - telejson "^6.0.8" - -"@storybook/channels@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-7.0.0-alpha.49.tgz#73efa7215c746feb444082595f0ddad76b115a0e" - integrity sha512-skwWVBpvOBMajOPzVLFkKAt08x9NXmjURwoCnt0aTUx8U1oH3y7jy16d2OgQqByLKScVAC/SGlbLIPaQx+WCuA== - -"@storybook/client-api@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-7.0.0-alpha.49.tgz#fef8dbcd3c6571e0d47127df762607feaeac9525" - integrity sha512-8clCx8T7MMUn8qKRqgLfXBrLeIR748dtPycMRc0Ve/2eDmuUaQpioS3SEED4j/4YFVxxYVTq/HNLuZsjEin1ew== - dependencies: - "@storybook/addons" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/csf" next - "@storybook/store" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" - "@types/qs" "^6.9.5" - "@types/webpack-env" "^1.16.4" - global "^4.4.0" - qs "^6.10.0" - synchronous-promise "^2.0.15" - ts-dedent "^2.0.0" - util-deprecate "^1.0.2" + telejson "^7.0.3" -"@storybook/client-logger@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.0.0-alpha.49.tgz#2d32fc2abd43076766eed05a36b8d04c80ca6415" - integrity sha512-y+uouuKfWMukdzHrn0hWE8fds3lna86rMLaxQZyVX5bOnp2Ibw519mih/iEKC0+B14D47Hl92LSDrhEeMYPEgQ== - dependencies: - global "^4.4.0" - -"@storybook/core-client@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-7.0.0-alpha.49.tgz#d50984e6ddfb369ca41b51a362c9ab8d0d5206b1" - integrity sha512-cH7JdnyWNtpSdxeH/xlkQrJpyIH4qbwSHl1IH9XWz57Qg3pWiT9lM+im85n8emSUGH8rrP1vkDh2py6Yd0xAcA== - dependencies: - "@storybook/addons" "7.0.0-alpha.49" - "@storybook/channel-postmessage" "7.0.0-alpha.49" - "@storybook/channel-websocket" "7.0.0-alpha.49" - "@storybook/channels" "7.0.0-alpha.49" - "@storybook/client-api" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-events" "7.0.0-alpha.49" - "@storybook/csf" next - "@storybook/preview-web" "7.0.0-alpha.49" - "@storybook/store" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" - global "^4.4.0" - util-deprecate "^1.0.2" +"@storybook/channels@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-7.0.0-beta.19.tgz#58354a8eaf28f969eb71c4efe1df1c5c7e563a3c" + integrity sha512-tRXZbbNeVpoxSqwpUmp617x5gVgiOHnLuiv/ZSiQrHUfve4T5cOrvP9AfIMxBC7cEqZVzDVjVCcoipWu/vyIEg== -"@storybook/core-common@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-7.0.0-alpha.49.tgz#835b8973fbaa256094956455879ae3ccdcc31a15" - integrity sha512-8KNVyZny4DKPP8PSJhUEy+aMVdxQvUeaNHCaCP7dUEICsNRnBWo7kFTAXTnc5vj6ss2aYmLdmRJEHsVsaoq2cw== +"@storybook/client-logger@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.0.0-beta.19.tgz#da91604226e9770200e16613ee36bebc614e3741" + integrity sha512-OMANk/LjN+/IFnvGqwRICaiLuA/8mRELswGPRZ2XNEdV/wOL4vdXEAKveBFh4/UxZzf8zW8qD5f1JIOQZt5i2g== dependencies: - "@babel/core" "^7.12.10" - "@storybook/node-logger" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" - "@types/babel__core" "^7.0.0" + "@storybook/global" "^5.0.0" + +"@storybook/core-client@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-7.0.0-beta.19.tgz#7594c96410777b310cd0f6eaf87be6aee1e87160" + integrity sha512-iw6NV4GAd6IRHSe+vRv/lmRYs5b+8CwW9GI4TxtCTz/CDxZfMkdYlgGvUC47VGL0f0hEJ+8kCig+ziEisp5j2A== + dependencies: + "@storybook/client-logger" "7.0.0-beta.19" + "@storybook/preview-api" "7.0.0-beta.19" + +"@storybook/core-common@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-7.0.0-beta.19.tgz#9a1366760c682c9f6e07dddb9705bb28ddf4aad5" + integrity sha512-PpVBvL56wXvUrkFRlwEWNyThxym5XF/faaHm80FAXo3OCvCdLQhSmJioTyOvgdeSqVhumxYUv/3mO30bKBXYhQ== + dependencies: + "@babel/core" "^7.20.2" + "@storybook/node-logger" "7.0.0-beta.19" + "@storybook/types" "7.0.0-beta.19" + "@types/babel__core" "^7.1.20" "@types/express" "^4.7.0" "@types/node" "^16.0.0" "@types/pretty-hrtime" "^1.0.0" chalk "^4.1.0" - esbuild "^0.14.48" + esbuild "^0.16.4" esbuild-register "^3.3.3" - express "^4.17.1" + express "^4.17.3" file-system-cache "^2.0.0" find-up "^5.0.0" fs-extra "^9.0.1" @@ -3812,36 +3890,39 @@ pretty-hrtime "^1.0.3" resolve-from "^5.0.0" slash "^3.0.0" - telejson "^6.0.8" ts-dedent "^2.0.0" - util-deprecate "^1.0.2" -"@storybook/core-events@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-7.0.0-alpha.49.tgz#53651b85f121480617cad5b094ebec0690544bcf" - integrity sha512-3h8AHrLD52VEW59gfrPR3d8x7o9KlXphNWR+Ivo0S8lQROiH6OyvHWp24Qfcmw748sRn3872Ml0rJP/bWw/46A== +"@storybook/core-events@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-7.0.0-beta.19.tgz#d39e45642a9448ef3cf9de4503fc764e622afd70" + integrity sha512-LxSBbhv6fcoNjp9LJ+RdPRkgt6pHD/h3LytXsfyDxmmkI4WZHlq0Ys4sN5HBk3FF/sZgZ9iwbdpGTFKmt5yw8A== "@storybook/csf@next": - version "0.0.2-next.7" - resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.0.2-next.7.tgz#eee09bfcfe2f68bcd8992d5c193cb404b5c51d37" - integrity sha512-OPBZ7WWFjkg6KSpdt+HA9N0WEJqr7wwZaMONNnjo/MxDXZgWNwGDouPBjk7CNuIh2aoDgTo6MfCMg6SOK0/IMQ== + version "0.0.2-next.8" + resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.0.2-next.8.tgz#e1033032368177c0eefb4c79898641a77e5fd21d" + integrity sha512-3T6rflW7D9q1iXOR+bidwoNbd9rVUTyjYH/sqsnYjbXhb/aOXsQzGKwNeq9QqZIFVpKfg5BoOF5i7DCMtoGknQ== dependencies: expect-type "^0.14.2" lodash "^4.17.15" type-fest "^2.19.0" -"@storybook/docs-tools@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-7.0.0-alpha.49.tgz#971fb12cee17ec3792d1c54d1147e4a0fe285764" - integrity sha512-3cadUvc3mHIgRMJs0nDgSFBF0bcz3bcZGScT10ki5iqqGjhH7NCIRKnJzXBlrR5LkXi0OnvyeGl1dwc/nppXDg== +"@storybook/docs-tools@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-7.0.0-beta.19.tgz#6727e874a94d42f436d6b131987f51a7f73384a9" + integrity sha512-7QLAM8PtpGxM0FTHLNxPNxK7n0BLtoxmYGQDjkQJOKZinI13cF6vz0C40w7pkdRPslo396peAvVP8HCQU560fQ== dependencies: "@babel/core" "^7.12.10" - "@storybook/core-common" "7.0.0-alpha.49" - "@storybook/store" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" + "@storybook/core-common" "7.0.0-beta.19" + "@storybook/preview-api" "7.0.0-beta.19" + "@storybook/types" "7.0.0-beta.19" doctrine "^3.0.0" lodash "^4.17.21" +"@storybook/global@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@storybook/global/-/global-5.0.0.tgz#b793d34b94f572c1d7d9e0f44fac4e0dbc9572ed" + integrity sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ== + "@storybook/node-logger@6.1.20": version "6.1.20" resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.1.20.tgz#40ec44bfd36e799089c831ecb86588c730023e6c" @@ -3853,53 +3934,55 @@ npmlog "^4.1.2" pretty-hrtime "^1.0.3" -"@storybook/node-logger@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-7.0.0-alpha.49.tgz#5ce3bb7460e6a385358e9cd7b4b6ef977e09fd49" - integrity sha512-P08oHZyPgArNdT4/41HL+wllGjvDFQ4jmQ8HC6Vj586QDhLjnRDxWILdSWUmbqMW7e4GLUowxjPseVQwaKg+Eg== +"@storybook/node-logger@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-7.0.0-beta.19.tgz#833262ae0a891261fe2ddef6366a8f0c69969ed8" + integrity sha512-deI7cVGLwu40Ifbm4Nsk6lliS/KBUvfZ5zHFWv/MMRKcSUuxw9a0/1C0tyHeSdxzJdh/c6iVJzxYMwVGRoDG2Q== dependencies: "@types/npmlog" "^4.1.2" chalk "^4.1.0" npmlog "^5.0.1" pretty-hrtime "^1.0.3" -"@storybook/preview-web@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-7.0.0-alpha.49.tgz#9e91be2eac0b55bbc3385920d661a28c4c327810" - integrity sha512-yjRxnVTbQ3dcTQfDdkC7W7rChzmT+we8m2XPX0Ffm1s4rIF0WIimV1dIqUlfC07LNtZOqcFWKA9pVO9qaeMQow== - dependencies: - "@storybook/addons" "7.0.0-alpha.49" - "@storybook/channels" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-events" "7.0.0-alpha.49" - "@storybook/store" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" - ansi-to-html "^0.6.11" - global "^4.4.0" +"@storybook/preview-api@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-7.0.0-beta.19.tgz#6d89fd918e85997d0668556f583da072a074c44e" + integrity sha512-vXNiMvB7lAfvGz7G05a9hngbqMtE25nDiyEpDNfsaMNv2rWpmdE3c5ovpTC9puE19nWCigyraBg05/IMF13tjA== + dependencies: + "@storybook/channel-postmessage" "7.0.0-beta.19" + "@storybook/channels" "7.0.0-beta.19" + "@storybook/client-logger" "7.0.0-beta.19" + "@storybook/core-events" "7.0.0-beta.19" + "@storybook/csf" next + "@storybook/global" "^5.0.0" + "@storybook/types" "7.0.0-beta.19" + "@types/qs" "^6.9.5" + dequal "^2.0.2" lodash "^4.17.21" + memoizerific "^1.11.3" qs "^6.10.0" + slash "^3.0.0" synchronous-promise "^2.0.15" ts-dedent "^2.0.0" util-deprecate "^1.0.2" "@storybook/react@^7.0.0-alpha.43": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-7.0.0-alpha.49.tgz#3e39fccba8dfecd451dbc8f6af3d2b1f70502e8e" - integrity sha512-1nE6rVJgPNjJXMUgLBUF51yoAWxQg0SfRQqPg35xvulWqUwSu7MuPTv1Axuq1Q9QvSQAzvJcf5B5+zlyVw5G5g== - dependencies: - "@storybook/addons" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-client" "7.0.0-alpha.49" - "@storybook/docs-tools" "7.0.0-alpha.49" - "@storybook/store" "7.0.0-alpha.49" - "@storybook/types" "7.0.0-alpha.49" + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-7.0.0-beta.19.tgz#eeece8c8b3fc662f857da55a85521a78f39d9ff9" + integrity sha512-ehb/jNZl/38NSBy0fqYXQAhU25yJZfVIN1ucjvhk4tqQcT51byOSffB3e9Jdrcz5rTDsMIiIrLddWm1KmOaECg== + dependencies: + "@storybook/client-logger" "7.0.0-beta.19" + "@storybook/core-client" "7.0.0-beta.19" + "@storybook/docs-tools" "7.0.0-beta.19" + "@storybook/global" "^5.0.0" + "@storybook/preview-api" "7.0.0-beta.19" + "@storybook/types" "7.0.0-beta.19" "@types/estree" "^0.0.51" "@types/node" "^16.0.0" acorn "^7.4.1" acorn-jsx "^5.3.1" acorn-walk "^7.2.0" escodegen "^2.0.0" - global "^4.4.0" html-tags "^3.1.0" lodash "^4.17.21" prop-types "^15.7.2" @@ -3908,52 +3991,26 @@ type-fest "^2.19.0" util-deprecate "^1.0.2" -"@storybook/router@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-7.0.0-alpha.49.tgz#ba5e5e3c4485d9be87b9faa13a869e5e241e74e2" - integrity sha512-WmcMosbexd2nl5tXfM8CBu81n6pROiO+O2PLEExSlowcQJLSDFwik5++aHHkE8eWRj34eQchSbsCqgWsC68aYg== - dependencies: - "@storybook/client-logger" "7.0.0-alpha.49" - memoizerific "^1.11.3" - qs "^6.10.0" - -"@storybook/store@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/store/-/store-7.0.0-alpha.49.tgz#78c00e3217775d790325fda1372778c4fc44257e" - integrity sha512-rzh6FzyHuQDINvaG0h/Hp/LbkumMVUBN+RKCBjkSMsTxu8ZOcfov9fmkkkL9irNwyO2n2yMTGUYihwp0cz9biA== - dependencies: - "@storybook/addons" "7.0.0-alpha.49" - "@storybook/client-logger" "7.0.0-alpha.49" - "@storybook/core-events" "7.0.0-alpha.49" - "@storybook/csf" next - "@storybook/types" "7.0.0-alpha.49" - dequal "^2.0.2" - global "^4.4.0" - lodash "^4.17.21" - memoizerific "^1.11.3" - slash "^3.0.0" - synchronous-promise "^2.0.15" - ts-dedent "^2.0.0" - util-deprecate "^1.0.2" - -"@storybook/theming@7.0.0-alpha.49", "@storybook/theming@^7.0.0-alpha.43": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.0.0-alpha.49.tgz#d9795c27c31e253b242e3f8cc0fee815b827d512" - integrity sha512-56DWDGt2GgQhMdvRUApzFwH4GIdKaH7oASpfzvmlodlYYPAMfVkIOhMogi2xdVEOUUJyeMsKjth4fcmWPngxFw== +"@storybook/theming@^7.0.0-alpha.43": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.0.0-beta.19.tgz#c3dcb3a2f170effd12a9e493fad2e867526bd55e" + integrity sha512-+IS40GBvAofUNRgOFPlDn5AcQHdyD1Me40s/kIqrSyW1E3JM6crZ27KoEMKvMGnPYuh8NJPnE4pr+VjwGy/J9Q== dependencies: "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" - "@storybook/client-logger" "7.0.0-alpha.49" + "@storybook/client-logger" "7.0.0-beta.19" + "@storybook/global" "^5.0.0" memoizerific "^1.11.3" -"@storybook/types@7.0.0-alpha.49": - version "7.0.0-alpha.49" - resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.0.0-alpha.49.tgz#c37b932feb5208d5066b79b366d611c2a53d0ba2" - integrity sha512-AUczy3U7V5K0pDEDZdNgg1PbuF5vd2AzYb6c5Q8x1kYVvtD1GIXx2wnlHbf1dWoxbScoGb9RTNnNto9e0fQFbA== +"@storybook/types@7.0.0-beta.19": + version "7.0.0-beta.19" + resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.0.0-beta.19.tgz#48daec48eff66b8793a5a5c7dbb3231571be0706" + integrity sha512-v8hC5wQxWctQHP3G9JMsPrjeG0J3q0hZkImejrgjQmXBEdlLieiHN2wLGdjSaxm+n4fHPpi5c/TpkEmWPdNVlA== dependencies: "@babel/core" "^7.12.10" + "@storybook/channels" "7.0.0-beta.19" "@types/babel__core" "^7.0.0" "@types/express" "^4.7.0" - express "^4.17.1" + express "^4.17.3" file-system-cache "^2.0.0" "@svgr/babel-plugin-add-jsx-attribute@^6.0.0": @@ -4067,27 +4124,27 @@ dependencies: remove-accents "0.4.2" -"@tanstack/query-core@4.15.1": - version "4.15.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.15.1.tgz#a282f04fe5e612b50019e1cfaf0efabd220e00ce" - integrity sha512-+UfqJsNbPIVo0a9ANW0ZxtjiMfGLaaoIaL9vZeVycvmBuWywJGtSi7fgPVMCPdZQFOzMsaXaOsDtSKQD5xLRVQ== - "@tanstack/query-core@4.19.1": version "4.19.1" resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.19.1.tgz#2e92d9e8a50884eb231c5beb4386e131ebe34306" integrity sha512-Zp0aIose5C8skBzqbVFGk9HJsPtUhRVDVNWIqVzFbGQQgYSeLZMd3Sdb4+EnA5wl1J7X+bre2PJGnQg9x/zHOA== -"@tanstack/query-persist-client-core@4.15.1": - version "4.15.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-persist-client-core/-/query-persist-client-core-4.15.1.tgz#27e459a531de16454755a515b8d3dc4a0b99c7bb" - integrity sha512-ldoGHNJ4Du83CT1CvJQqaJtQXEz4CdGcDmexVoyRG2q8DV9PAfYi+zls462ZbIWxlni93pkEgG1/q4mZVk2nqQ== +"@tanstack/query-core@4.20.9": + version "4.20.9" + resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.20.9.tgz#62eb14c2fd6688eaa507452881c96a2c8b6d2544" + integrity sha512-XTEEvOGy7wlABPTYfmg7U287WYcf2PV8lH15oKWD2I09okqMOHrB23WxyikEVRwJCjYNKcCW0BuYaAY4S2g/jg== + +"@tanstack/query-persist-client-core@4.20.9": + version "4.20.9" + resolved "https://registry.yarnpkg.com/@tanstack/query-persist-client-core/-/query-persist-client-core-4.20.9.tgz#bbc46fc3494d4d0eb75cca9ae6d38599f84516ef" + integrity sha512-dwE3A7ZKeGsOcqnfqY8H/1Q6g0GrrDSarhVK0QqMKV9crRW87gz1wG37+2YHJettL8CC36S7SqLJGQCoViUCiw== "@tanstack/query-sync-storage-persister@^4.14.5": - version "4.15.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-4.15.1.tgz#a2a1407178cf429a21cf1f8e36a2e7d65d8bbc9c" - integrity sha512-uMk8VCTkxTS9F99nSjbJRIsNalv6cwAtBJ6HgX41dYW2BCQR4ZQrM52oohIMbZo8DqlE/gGRtplbCbQ3NDfx4g== + version "4.20.9" + resolved "https://registry.yarnpkg.com/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-4.20.9.tgz#260ee354e5a613a745531f7151c38a1d8afbb5c2" + integrity sha512-KMIxrSGsvInU/efDC+LCSHdnvHaYQIStQQx3IpkGD7t0fgJr6HZy4dFRhT8DlSvNpJ8X8IdZ0ZWzD3fk+aRl1A== dependencies: - "@tanstack/query-persist-client-core" "4.15.1" + "@tanstack/query-persist-client-core" "4.20.9" "@tanstack/react-query-devtools@^4.19.1": version "4.19.1" @@ -4099,18 +4156,18 @@ use-sync-external-store "^1.2.0" "@tanstack/react-query-persist-client@^4.14.5": - version "4.16.1" - resolved "https://registry.yarnpkg.com/@tanstack/react-query-persist-client/-/react-query-persist-client-4.16.1.tgz#ab54352fe8435e88961cda48c75b844ab6e6e559" - integrity sha512-7i1Dj9amEDdRz34UMslf11uFs7QSpGqNRT9nFwc17pcJ4I3X7tSiEN1pgrAMg05eqnfGJgnSTZg+RpFR1Nsy+w== + version "4.20.9" + resolved "https://registry.yarnpkg.com/@tanstack/react-query-persist-client/-/react-query-persist-client-4.20.9.tgz#36e6b72f32f606889cb4080b9cd9895aeb418e81" + integrity sha512-QPX3be8o3jkCC6lFmwn8m1nYmXPsEkP7XiFHzWY8eYfU7POSJXKrpiylz0wuFBG1mRSfHGsq//UNUPUOEDIw6A== dependencies: - "@tanstack/query-persist-client-core" "4.15.1" + "@tanstack/query-persist-client-core" "4.20.9" "@tanstack/react-query@^4.14.5": - version "4.16.1" - resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.16.1.tgz#077006b8eb2c87fbe8d1597c1a0083a2d218b791" - integrity sha512-PDE9u49wSDykPazlCoLFevUpceLjQ0Mm8i6038HgtTEKb/aoVnUZdlUP7C392ds3Cd75+EGlHU7qpEX06R7d9Q== + version "4.20.9" + resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.20.9.tgz#0ec2e734085570ce642ae7de8586eb31d562532c" + integrity sha512-OqwcmqkxOYgLbVjsMm4Cl8MMZ063VqdRw1GpSWqN8WgppftPiFJTDb6Q1TX5I/ciCbHmRWNPE/D0ayyTesAKug== dependencies: - "@tanstack/query-core" "4.15.1" + "@tanstack/query-core" "4.20.9" use-sync-external-store "^1.2.0" "@tanstack/react-query@^4.19.1": @@ -4121,6 +4178,18 @@ "@tanstack/query-core" "4.19.1" use-sync-external-store "^1.2.0" +"@tanstack/react-table@^8.7.4": + version "8.7.4" + resolved "https://registry.yarnpkg.com/@tanstack/react-table/-/react-table-8.7.4.tgz#cca662c738cd23f8f7522907a9612e08640ed4e0" + integrity sha512-4Q1OV3kUSxbtekclS3sqjCyCDowqCPruUCfHm1nGoPSmVLRCHoQ1E2rmzTVGeocEKgV9TDnj39tOgGwcADPuPA== + dependencies: + "@tanstack/table-core" "8.7.4" + +"@tanstack/table-core@8.7.4": + version "8.7.4" + resolved "https://registry.yarnpkg.com/@tanstack/table-core/-/table-core-8.7.4.tgz#e6eb718db7fc45c95e8e64e1c66e08a78fa78bf7" + integrity sha512-OPhzca7e83KGukxLpZ+4F9OBp9CZXi9b/OGJBH8dlC3wpffcSSDczYGUGJKG7wirXQ6cUVYL+9G6UrrdnblKNQ== + "@testing-library/dom@^8.5.0": version "8.16.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.16.0.tgz#d6fc50250aed17b1035ca1bd64655e342db3936a" @@ -4179,7 +4248,18 @@ resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc" integrity sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig== -"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": +"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.20": + version "7.1.20" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359" + integrity sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__core@^7.1.14": version "7.1.19" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" integrity sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw== @@ -4205,7 +4285,14 @@ "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" -"@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": +"@types/babel__traverse@*": + version "7.18.3" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d" + integrity sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w== + dependencies: + "@babel/types" "^7.3.0" + +"@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": version "7.17.1" resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.17.1.tgz#1a0e73e8c28c7e832656db372b779bfd2ef37314" integrity sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA== @@ -4280,7 +4367,7 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== -"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": +"@types/express-serve-static-core@*": version "4.17.29" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.29.tgz#2a1795ea8e9e9c91b4a4bbe475034b20c1ec711c" integrity sha512-uMd++6dMKS32EOuw1Uli3e3BPgdLIXmezcfHv7N4c1s3gkhikBplORPpMq3fuWkxncZN1reb16d5n8yhQ80x7Q== @@ -4289,6 +4376,15 @@ "@types/qs" "*" "@types/range-parser" "*" +"@types/express-serve-static-core@^4.17.18", "@types/express-serve-static-core@^4.17.31": + version "4.17.32" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.32.tgz#93dda387f5516af616d8d3f05f2c4c79d81e1b82" + integrity sha512-aI5h/VOkxOF2Z1saPy0Zsxs5avets/iaiAJYznQFm5By/pamU31xWKL//epiF4OfUA2qTOc9PV6tCUjhO8wlZA== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + "@types/express@*", "@types/express@^4.17.13": version "4.17.13" resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.13.tgz#a76e2995728999bab51a33fabce1d705a3709034" @@ -4300,12 +4396,12 @@ "@types/serve-static" "*" "@types/express@^4.7.0": - version "4.17.14" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.14.tgz#143ea0557249bc1b3b54f15db4c81c3d4eb3569c" - integrity sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg== + version "4.17.15" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.15.tgz#9290e983ec8b054b65a5abccb610411953d417ff" + integrity sha512-Yv0k4bXGOH+8a+7bELd2PqHQsuiANB+A8a4gnQrkRWzrkKlb6KHaVvyXhqs04sVW/OWlbPyYxRgYlIXLfrufMQ== dependencies: "@types/body-parser" "*" - "@types/express-serve-static-core" "^4.17.18" + "@types/express-serve-static-core" "^4.17.31" "@types/qs" "*" "@types/serve-static" "*" @@ -4343,11 +4439,6 @@ dependencies: "@types/node" "*" -"@types/is-function@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/is-function/-/is-function-1.0.1.tgz#2d024eace950c836d9e3335a66b97960ae41d022" - integrity sha512-A79HEEiwXTFtfY+Bcbo58M2GRYzCr9itHWzbzHVFNEYCcoU/MMGwYYf721gBrnhpj1s6RGVVha/IgNFnR0Iw/Q== - "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" @@ -4393,9 +4484,14 @@ "@types/lodash" "*" "@types/lodash@*": - version "4.14.189" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.189.tgz#975ff8c38da5ae58b751127b19ad5e44b5b7f6d2" - integrity sha512-kb9/98N6X8gyME9Cf7YaqIMvYGnBSWqEci6tiettE6iJWH1XdJz/PO8LB0GtLCG7x8dU3KWhZT+lA1a35127tA== + version "4.14.191" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa" + integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ== + +"@types/mime@*": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" + integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== "@types/mime@^1": version "1.3.2" @@ -4408,9 +4504,9 @@ integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== "@types/node@*": - version "18.0.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.3.tgz#463fc47f13ec0688a33aec75d078a0541a447199" - integrity sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ== + version "18.11.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== "@types/node@16.11.7": version "16.11.7" @@ -4428,9 +4524,9 @@ integrity sha512-x5W9s+8P4XteaxT/jKF0PSb7XEvo5VmqEWgsMlyeY4ZlLK8I6aH6g5TPPyDlLAep+GYf4kefb7HFyc7PAO3m+Q== "@types/node@^16.0.0": - version "16.18.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.3.tgz#d7f7ba828ad9e540270f01ce00d391c54e6e0abc" - integrity sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg== + version "16.18.11" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.11.tgz#cbb15c12ca7c16c85a72b6bdc4d4b01151bb3cae" + integrity sha512-3oJbGBUWuS6ahSnEq1eN2XrCyf4YsWI8OyCvo7c64zQJNplk3mO84t53o8lfTk+2ji59g5ycfc6qQ3fdHliHuA== "@types/npmlog@^4.1.2": version "4.1.4" @@ -4544,7 +4640,15 @@ dependencies: "@types/express" "*" -"@types/serve-static@*", "@types/serve-static@^1.13.10": +"@types/serve-static@*": + version "1.15.0" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.0.tgz#c7930ff61afb334e121a9da780aac0d9b8f34155" + integrity sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg== + dependencies: + "@types/mime" "*" + "@types/node" "*" + +"@types/serve-static@^1.13.10": version "1.13.10" resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.10.tgz#f5e0ce8797d2d7cc5ebeda48a52c96c4fa47a8d9" integrity sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ== @@ -4574,11 +4678,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== -"@types/webpack-env@^1.16.4": - version "1.18.0" - resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.18.0.tgz#ed6ecaa8e5ed5dfe8b2b3d00181702c9925f13fb" - integrity sha512-56/MAlX5WMsPVbOg7tAxnYvNYMMWr/QJiIp6BxVSW3JJXUVzzOn64qW8TzQyMSqSUFM2+PVI4aUHcHOzIz/1tg== - "@types/ws@^7.4.4": version "7.4.7" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.7.tgz#f7c390a36f7a0679aa69de2d501319f4f8d9b702" @@ -4742,15 +4841,6 @@ eventemitter3 "^4.0.7" zustand "^4.1.4" -"@wagmi/core@^0.6.12": - version "0.6.12" - resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-0.6.12.tgz#19d35424840a8c9f5396869e24464e2137ea8fc2" - integrity sha512-RYwjfzFlZ8cljrlZ6+monaWKmtVQYALutlrESP/CYklGg+3DAjwv7n95EU5gS7Y9mvZbiLKZxg4XjFB3mVohfA== - dependencies: - abitype "^0.1.7" - eventemitter3 "^4.0.7" - zustand "^4.1.1" - "@walletconnect/browser-utils@^1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" @@ -4782,28 +4872,32 @@ "@walletconnect/utils" "^1.8.0" "@walletconnect/crypto@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" - integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.3.tgz#7b8dd4d7e2884fe3543c7c07aea425eef5ef9dd4" + integrity sha512-+2jdORD7XQs76I2Odgr3wwrtyuLUXD/kprNVsjWRhhhdO9Mt6WqVzOPu0/t7OHSmgal8k7SoBQzUc5hu/8zL/g== dependencies: - "@walletconnect/encoding" "^1.0.1" - "@walletconnect/environment" "^1.0.0" - "@walletconnect/randombytes" "^1.0.2" + "@walletconnect/encoding" "^1.0.2" + "@walletconnect/environment" "^1.0.1" + "@walletconnect/randombytes" "^1.0.3" aes-js "^3.1.2" hash.js "^1.1.7" + tslib "1.14.1" -"@walletconnect/encoding@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" - integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== +"@walletconnect/encoding@^1.0.1", "@walletconnect/encoding@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.2.tgz#cb3942ad038d6a6bf01158f66773062dd25724da" + integrity sha512-CrwSBrjqJ7rpGQcTL3kU+Ief+Bcuu9PH6JLOb+wM6NITX1GTxR/MfNwnQfhLKK6xpRAyj2/nM04OOH6wS8Imag== dependencies: is-typedarray "1.0.0" + tslib "1.14.1" typedarray-to-buffer "3.1.5" -"@walletconnect/environment@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" - integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== +"@walletconnect/environment@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.1.tgz#1d7f82f0009ab821a2ba5ad5e5a7b8ae3b214cd7" + integrity sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg== + dependencies: + tslib "1.14.1" "@walletconnect/ethereum-provider@^1.8.0": version "1.8.0" @@ -4829,36 +4923,40 @@ "@walletconnect/utils" "^1.8.0" "@walletconnect/jsonrpc-http-connection@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.3.tgz#0343811bb33fb8a3823cb3306b306cf2ed61e99a" - integrity sha512-npPvDG2JxyxoqOphDiyjp5pPeASRBrlfQS39wHESPHlFIjBuvNt9lV9teh53MK9Ncbyxh4y2qEKMfPgcUulTRg== + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.4.tgz#aeb0f7eae6565dd031f01d650ee73d358d760ee2" + integrity sha512-ji79pspdBhmIbTwve383tMaDu5Le9plW+oj5GE2aqzxIl3ib8JvRBZRn5lGEBGqVCvqB3MBJL7gBlEwpyRtoxQ== dependencies: - "@walletconnect/jsonrpc-utils" "^1.0.3" - "@walletconnect/safe-json" "^1.0.0" + "@walletconnect/jsonrpc-utils" "^1.0.4" + "@walletconnect/safe-json" "^1.0.1" cross-fetch "^3.1.4" + tslib "1.14.1" "@walletconnect/jsonrpc-provider@^1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.5.tgz#1a66053b6f083a9885a32b7c2c8f6a376f1a4458" - integrity sha512-v61u4ZIV8+p9uIHS2Kl2YRj/2idrQiHcrbrJXw3McQkEJtj9mkCofr1Hu/n419wSRM5uiNK8Z4WRS9zGTTAhWQ== + version "1.0.6" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.6.tgz#e91321ef523f1904e6634e7866a0f3c6f056d2cd" + integrity sha512-f5vQxr53vUVQ51/9mRLb1OiNciT/546XZ68Byn9OYnDBGeGJXK2kQWDHp8sPWZbN5x0p7B6asdCWMVFJ6danlw== dependencies: - "@walletconnect/jsonrpc-utils" "^1.0.3" - "@walletconnect/safe-json" "^1.0.0" + "@walletconnect/jsonrpc-utils" "^1.0.4" + "@walletconnect/safe-json" "^1.0.1" + tslib "1.14.1" -"@walletconnect/jsonrpc-types@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" - integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== +"@walletconnect/jsonrpc-types@^1.0.1", "@walletconnect/jsonrpc-types@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.2.tgz#b79519f679cd6a5fa4a1bea888f27c1916689a20" + integrity sha512-CZe8tjJX73OWdHjrBHy7HtAapJ2tT0Q3TYhPBhRxi3643lwPIQWC9En45ldY14TZwgSewkbZ0FtGBZK0G7Bbyg== dependencies: keyvaluestorage-interface "^1.0.0" + tslib "1.14.1" -"@walletconnect/jsonrpc-utils@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" - integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== +"@walletconnect/jsonrpc-utils@^1.0.3", "@walletconnect/jsonrpc-utils@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.4.tgz#2009ba3907b02516f2caacd2fb871ff0d472b2cb" + integrity sha512-y0+tDxcTZ9BHBBKBJbjZxLUXb+zQZCylf7y/jTvDPNx76J0hYYc+F9zHzyqBLeorSKepLTk6yI8hw3NXbAQB3g== dependencies: - "@walletconnect/environment" "^1.0.0" - "@walletconnect/jsonrpc-types" "^1.0.1" + "@walletconnect/environment" "^1.0.1" + "@walletconnect/jsonrpc-types" "^1.0.2" + tslib "1.14.1" "@walletconnect/mobile-registry@^1.4.0": version "1.4.0" @@ -4877,20 +4975,28 @@ preact "10.4.1" qrcode "1.4.4" -"@walletconnect/randombytes@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" - integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== +"@walletconnect/randombytes@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.3.tgz#e795e4918367fd1e6a2215e075e64ab93e23985b" + integrity sha512-35lpzxcHFbTN3ABefC9W+uBpNZl1GC4Wpx0ed30gibfO/y9oLdy1NznbV96HARQKSBV9J9M/rrtIvf6a23jfYw== dependencies: - "@walletconnect/encoding" "^1.0.1" - "@walletconnect/environment" "^1.0.0" + "@walletconnect/encoding" "^1.0.2" + "@walletconnect/environment" "^1.0.1" randombytes "^2.1.0" + tslib "1.14.1" -"@walletconnect/safe-json@1.0.0", "@walletconnect/safe-json@^1.0.0": +"@walletconnect/safe-json@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== +"@walletconnect/safe-json@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.1.tgz#9813fa0a7a544b16468730c2d7bed046ed160957" + integrity sha512-Fm7e31oSYY15NQr8SsLJheKAy5L744udZf2lJKcz6wFmPJEzf7hOF0866o/rrldRzJnjZ4H2GJ45pFudsnLW5A== + dependencies: + tslib "1.14.1" + "@walletconnect/signer-connection@^1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-1.8.0.tgz#6cdf490df770e504cc1a550bdb5bac7696b130bc" @@ -4930,11 +5036,18 @@ js-sha3 "0.8.0" query-string "6.13.5" -"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": +"@walletconnect/window-getters@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== +"@walletconnect/window-getters@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc" + integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q== + dependencies: + tslib "1.14.1" + "@walletconnect/window-metadata@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" @@ -5103,15 +5216,15 @@ tslib "^2" upath2 "^3.1.13" -"@zag-js/element-size@0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" - integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== +"@zag-js/element-size@0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.3.0.tgz#1c0ab23c9ada453f5778c4baf1eed46218dc9e85" + integrity sha512-5/hEI+0c6ZNCx6KHlOS5/WeHsd6+I7gk7Y/b/zATp4Rp3tHirs/tu1frq+iy5BmfaG9hbQtfHfUJTjOcI5jnoQ== -"@zag-js/focus-visible@0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" - integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== +"@zag-js/focus-visible@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.2.1.tgz#bf4f1009f4fd35a9728dfaa9214d8cb318fe8b1e" + integrity sha512-19uTjoZGP4/Ax7kSNhhay9JA83BirKzpqLkeEAilrpdI1hE5xuq6q+tzJOsrMOOqJrm7LkmZp5lbsTQzvK2pYg== JSONStream@^1.3.5: version "1.3.5" @@ -5194,6 +5307,15 @@ agent-base@6: dependencies: debug "4" +agentkeepalive@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" + integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== + dependencies: + debug "^4.1.0" + depd "^1.1.2" + humanize-ms "^1.2.1" + aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -5297,13 +5419,6 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== -ansi-to-html@^0.6.11: - version "0.6.15" - resolved "https://registry.yarnpkg.com/ansi-to-html/-/ansi-to-html-0.6.15.tgz#ac6ad4798a00f6aa045535d7f6a9cb9294eebea7" - integrity sha512-28ijx2aHJGdzbs+O5SNQF65r6rrKYnkuwTYm8lZlChuoJ9P1vVzIpWO20sQTqTPDXYp6NFwk326vApTtLVFXpQ== - dependencies: - entities "^2.0.0" - anymatch@^3.0.3, anymatch@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" @@ -5838,24 +5953,6 @@ body-parser@1.20.0: type-is "~1.6.18" unpipe "1.0.0" -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.1" - type-is "~1.6.18" - unpipe "1.0.0" - bonjour-service@^1.0.11: version "1.0.13" resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.0.13.tgz#4ac003dc1626023252d58adf2946f57e5da450c1" @@ -6114,11 +6211,16 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001359, caniuse-lite@^1.0.30001400: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001359: version "1.0.30001441" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz" integrity sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg== +caniuse-lite@^1.0.30001400: + version "1.0.30001442" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz#40337f1cf3be7c637b061e2f78582dc1daec0614" + integrity sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow== + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -6350,6 +6452,11 @@ color-support@^1.1.2: resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== +color2k@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color2k/-/color2k-2.0.1.tgz#bea59670b323265cc13a745f239c6bd6a89d9a89" + integrity sha512-iCg+xrEqtYISsSJZN1z44fyhv4EfX8lSkcDhodt6VnMf1+iMwZxAtmGXchTCeMUnTbXunGvUVK6E3skkApPnZw== + colord@^2.9.1: version "2.9.2" resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.2.tgz#25e2bacbbaa65991422c07ea209e2089428effb1" @@ -6471,13 +6578,18 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.4.0, convert-source-map@^1.6.0: version "1.8.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== dependencies: safe-buffer "~5.1.1" +convert-source-map@^1.5.0, convert-source-map@^1.7.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -6530,9 +6642,9 @@ core-js-compat@^3.21.0, core-js-compat@^3.22.1: semver "7.0.0" core-js-compat@^3.25.1: - version "3.26.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.26.1.tgz#0e710b09ebf689d719545ac36e49041850f943df" - integrity sha512-622/KzTudvXCDLRw70iHW4KKs1aGpcRcowGWyYJr2DEBfRrd6hNJybxSWJFuZYD4ma86xhrwDDHxmDaIq4EA8A== + version "3.27.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.27.1.tgz#b5695eb25c602d72b1d30cbfba3cb7e5e4cf0a67" + integrity sha512-Dg91JFeCDA17FKnneN7oCMz4BkQ4TcffkgHP4OWwp9yx3pi7ubqMDXXSacfNak1PQqjc95skyt+YBLHQJnkJwA== dependencies: browserslist "^4.21.4" @@ -6547,9 +6659,9 @@ core-js@^3.0.1, core-js@^3.6.5: integrity sha512-vjsKqRc1RyAJC3Ye2kYqgfdThb3zYnx9CrqoCcjMOENMtQPC7ZViBvlDxwYU/2z2NI/IPuiXw5mT4hWhddqjzQ== core-js@^3.0.4: - version "3.26.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.26.1.tgz#7a9816dabd9ee846c1c0fe0e8fcad68f3709134e" - integrity sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA== + version "3.27.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.27.1.tgz#23cc909b315a6bb4e418bf40a52758af2103ba46" + integrity sha512-GutwJLBChfGCpwwhbYoqfv03LAfmiz7e7D/BNxzeMxwQf10GRSzqiOjx7AmtEk+heiD/JWmBuyBPgFtx0Sg1ww== core-util-is@1.0.2: version "1.0.2" @@ -6577,7 +6689,18 @@ cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" -cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: +cosmiconfig@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + +cosmiconfig@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== @@ -6786,16 +6909,11 @@ cssstyle@^2.3.0: dependencies: cssom "~0.3.6" -csstype@^3.0.11, csstype@^3.0.7: +csstype@^3.0.11, csstype@^3.0.2, csstype@^3.0.7: version "3.1.1" resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== -csstype@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" - integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== - cypress@^9.1.0: version "9.7.0" resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.7.0.tgz#bf55b2afd481f7a113ef5604aa8b693564b5e744" @@ -6914,9 +7032,9 @@ decimal.js@^10.2.1: integrity sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ== decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + version "0.2.2" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" + integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== dedent@^0.7.0: version "0.7.0" @@ -6978,7 +7096,7 @@ depd@2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -depd@~1.1.2: +depd@^1.1.2, depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== @@ -7082,11 +7200,6 @@ dom-serializer@^1.0.1: domhandler "^4.2.0" entities "^2.0.0" -dom-walk@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84" - integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w== - domelementtype@^2.0.1, domelementtype@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" @@ -7357,139 +7470,40 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -esbuild-android-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz#505f41832884313bbaffb27704b8bcaa2d8616be" - integrity sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ== - -esbuild-android-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz#8ce69d7caba49646e009968fe5754a21a9871771" - integrity sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg== - -esbuild-darwin-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz#24ba67b9a8cb890a3c08d9018f887cc221cdda25" - integrity sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug== - -esbuild-darwin-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz#3f7cdb78888ee05e488d250a2bdaab1fa671bf73" - integrity sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw== - -esbuild-freebsd-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz#09250f997a56ed4650f3e1979c905ffc40bbe94d" - integrity sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg== - -esbuild-freebsd-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz#bafb46ed04fc5f97cbdb016d86947a79579f8e48" - integrity sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q== - -esbuild-linux-32@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz#e2a8c4a8efdc355405325033fcebeb941f781fe5" - integrity sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw== - -esbuild-linux-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz#de5fdba1c95666cf72369f52b40b03be71226652" - integrity sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg== - -esbuild-linux-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz#dae4cd42ae9787468b6a5c158da4c84e83b0ce8b" - integrity sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig== - -esbuild-linux-arm@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz#a2c1dff6d0f21dbe8fc6998a122675533ddfcd59" - integrity sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw== - -esbuild-linux-mips64le@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz#d9918e9e4cb972f8d6dae8e8655bf9ee131eda34" - integrity sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw== - -esbuild-linux-ppc64le@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz#3f9a0f6d41073fb1a640680845c7de52995f137e" - integrity sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ== - -esbuild-linux-riscv64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz#618853c028178a61837bc799d2013d4695e451c8" - integrity sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg== - -esbuild-linux-s390x@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz#d1885c4c5a76bbb5a0fe182e2c8c60eb9e29f2a6" - integrity sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA== - -esbuild-netbsd-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz#69ae917a2ff241b7df1dbf22baf04bd330349e81" - integrity sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w== - -esbuild-openbsd-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz#db4c8495287a350a6790de22edea247a57c5d47b" - integrity sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw== - esbuild-register@^3.3.3: - version "3.4.1" - resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.4.1.tgz#fe10cd774b56471db47365ce41d607ab5bdeb713" - integrity sha512-iCgs88/1wA5dIRx4i65eSjbkgrQQQJGpY6Z1eD2XPlzrSjbgNtfkw2/rfSMzJ4dTtlOD8EZTxrIA3fyYp0FsMA== + version "3.4.2" + resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.4.2.tgz#1e39ee0a77e8f320a9790e68c64c3559620b9175" + integrity sha512-kG/XyTDyz6+YDuyfB9ZoSIOOmgyFCH+xPRtsCa8W85HLRV5Csp+o3jWVbOSHgSLfyLc5DmP+KFDNwty4mEjC+Q== dependencies: debug "^4.3.4" -esbuild-sunos-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz#54287ee3da73d3844b721c21bc80c1dc7e1bf7da" - integrity sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw== - -esbuild-windows-32@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz#f8aaf9a5667630b40f0fb3aa37bf01bbd340ce31" - integrity sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w== - -esbuild-windows-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz#bf54b51bd3e9b0f1886ffdb224a4176031ea0af4" - integrity sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ== - -esbuild-windows-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz#937d15675a15e4b0e4fafdbaa3a01a776a2be982" - integrity sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg== - -esbuild@^0.14.48: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.54.tgz#8b44dcf2b0f1a66fc22459943dccf477535e9aa2" - integrity sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA== +esbuild@^0.16.4: + version "0.16.14" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.14.tgz#366249a0a0fd431d3ab706195721ef1014198919" + integrity sha512-6xAn3O6ZZyoxZAEkwfI9hw4cEqSr/o1ViJtnkvImVkblmUN65Md04o0S/7H1WNu1XGf1Cjij/on7VO4psIYjkw== optionalDependencies: - "@esbuild/linux-loong64" "0.14.54" - esbuild-android-64 "0.14.54" - esbuild-android-arm64 "0.14.54" - esbuild-darwin-64 "0.14.54" - esbuild-darwin-arm64 "0.14.54" - esbuild-freebsd-64 "0.14.54" - esbuild-freebsd-arm64 "0.14.54" - esbuild-linux-32 "0.14.54" - esbuild-linux-64 "0.14.54" - esbuild-linux-arm "0.14.54" - esbuild-linux-arm64 "0.14.54" - esbuild-linux-mips64le "0.14.54" - esbuild-linux-ppc64le "0.14.54" - esbuild-linux-riscv64 "0.14.54" - esbuild-linux-s390x "0.14.54" - esbuild-netbsd-64 "0.14.54" - esbuild-openbsd-64 "0.14.54" - esbuild-sunos-64 "0.14.54" - esbuild-windows-32 "0.14.54" - esbuild-windows-64 "0.14.54" - esbuild-windows-arm64 "0.14.54" + "@esbuild/android-arm" "0.16.14" + "@esbuild/android-arm64" "0.16.14" + "@esbuild/android-x64" "0.16.14" + "@esbuild/darwin-arm64" "0.16.14" + "@esbuild/darwin-x64" "0.16.14" + "@esbuild/freebsd-arm64" "0.16.14" + "@esbuild/freebsd-x64" "0.16.14" + "@esbuild/linux-arm" "0.16.14" + "@esbuild/linux-arm64" "0.16.14" + "@esbuild/linux-ia32" "0.16.14" + "@esbuild/linux-loong64" "0.16.14" + "@esbuild/linux-mips64el" "0.16.14" + "@esbuild/linux-ppc64" "0.16.14" + "@esbuild/linux-riscv64" "0.16.14" + "@esbuild/linux-s390x" "0.16.14" + "@esbuild/linux-x64" "0.16.14" + "@esbuild/netbsd-x64" "0.16.14" + "@esbuild/openbsd-x64" "0.16.14" + "@esbuild/sunos-x64" "0.16.14" + "@esbuild/win32-arm64" "0.16.14" + "@esbuild/win32-ia32" "0.16.14" + "@esbuild/win32-x64" "0.16.14" escalade@^3.1.1: version "3.1.1" @@ -8073,43 +8087,6 @@ expect@^27.5.1: jest-matcher-utils "^27.5.1" jest-message-util "^27.5.1" -express@^4.17.1: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.20.1" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.5.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.2.0" - fresh "0.5.2" - http-errors "2.0.0" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "2.4.1" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.7" - qs "6.11.0" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" - setprototypeof "1.2.0" - statuses "2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - express@^4.17.3: version "4.18.1" resolved "https://registry.yarnpkg.com/express/-/express-4.18.1.tgz#7797de8b9c72c857b9cd0e14a5eea80666267caf" @@ -8378,17 +8355,22 @@ flatted@^3.1.0: integrity sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ== focus-lock@^0.11.2: - version "0.11.3" - resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" - integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + version "0.11.4" + resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.4.tgz#fbf84894d7c384f25a2c7cf5d97c848131d97f6f" + integrity sha512-LzZWJcOBIcHslQ46N3SUu/760iLPSrUtp8omM4gh9du438V2CQdks8TcOu1yvmu2C68nVOBnl1WFiKGPbQ8L6g== dependencies: tslib "^2.0.3" -follow-redirects@^1.0.0, follow-redirects@^1.14.0: +follow-redirects@^1.0.0: version "1.15.1" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== +follow-redirects@^1.14.0: + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + for-each@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" @@ -8449,26 +8431,16 @@ fraction.js@^4.2.0: integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== framer-motion@^7.6.2: - version "7.6.7" - resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-7.6.7.tgz#4ab0f33d0b77b4fe2289ce8b7c5cf6448d84f23d" - integrity sha512-vEGsjXygf4qSmgXXsCT1FC56DjiZau9tSQTCchwAP2mOHnYHUy5gbthc4RXFWJh4Z/gFtqE8bzEmjahwOrfT7w== + version "7.10.3" + resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-7.10.3.tgz#8b23f50bbc1ee8c830c869c5398e457d5272feb5" + integrity sha512-k2ccYeZNSpPg//HTaqrU+4pRq9f9ZpaaN7rr0+Rx5zA4wZLbk547wtDzge2db1sB+1mnJ6r59P4xb+aEIi/W+w== dependencies: - "@motionone/dom" "10.13.1" - framesync "6.1.2" + "@motionone/dom" "^10.15.3" hey-listen "^1.0.8" - popmotion "11.0.5" - style-value-types "5.1.2" tslib "2.4.0" optionalDependencies: "@emotion/is-prop-valid" "^0.8.2" -framesync@5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" - integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== - dependencies: - tslib "^2.1.0" - framesync@6.1.2: version "6.1.2" resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27" @@ -8609,19 +8581,19 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" - integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== dependencies: function-bind "^1.1.1" has "^1.0.3" has-symbols "^1.0.3" -get-intrinsic@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" - integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== +get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" + integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== dependencies: function-bind "^1.1.1" has "^1.0.3" @@ -8733,14 +8705,6 @@ global-dirs@^3.0.0: dependencies: ini "2.0.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== - dependencies: - min-document "^2.19.0" - process "^0.11.10" - globals@^11.1.0, globals@^11.12.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -9112,6 +9076,13 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +humanize-ms@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== + dependencies: + ms "^2.0.0" + iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -9311,13 +9282,20 @@ is-ci@^3.0.0: dependencies: ci-info "^3.2.0" -is-core-module@^2.8.1, is-core-module@^2.9.0: +is-core-module@^2.8.1: version "2.9.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== dependencies: has "^1.0.3" +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + is-date-object@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" @@ -9352,11 +9330,6 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-function@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08" - integrity sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ== - is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" @@ -9450,7 +9423,7 @@ is-reference@^1.2.1: dependencies: "@types/estree" "*" -is-regex@^1.1.2, is-regex@^1.1.4: +is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -9549,11 +9522,6 @@ isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== -isobject@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-4.0.0.tgz#3f1c9155e73b192022a80819bacd0343711697b0" - integrity sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA== - isomorphic-ws@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" @@ -10045,7 +10013,7 @@ jose@^4.10.0, jose@^4.9.3: resolved "https://registry.yarnpkg.com/jose/-/jose-4.11.0.tgz#1c7f5c7806383d3e836434e8f49da531cb046a9d" integrity sha512-wLe+lJHeG8Xt6uEubS4x0LVjS/3kXXu9dGoj9BNnlhYq7Kts0Pbb2pvv5KiI0yaKH/eaiR0LUOBhOVo9ktd05A== -js-sha3@0.8.0, js-sha3@^0.8.0: +js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== @@ -10176,7 +10144,7 @@ json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -json5@2.x, json5@^2.1.2, json5@^2.2.1: +json5@2.x, json5@^2.1.2: version "2.2.1" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== @@ -10188,6 +10156,11 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" +json5@^2.2.1, json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonc-parser@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22" @@ -10271,9 +10244,9 @@ jws@^3.2.2: safe-buffer "^5.0.1" keccak@^3.0.0, keccak@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.2.tgz#4c2c6e8c54e04f2670ee49fa734eb9da152206e0" - integrity sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ== + version "3.0.3" + resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.3.tgz#4bc35ad917be1ef54ff246f904c2bbbf9ac61276" + integrity sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ== dependencies: node-addon-api "^2.0.0" node-gyp-build "^4.2.0" @@ -10566,6 +10539,13 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -10707,13 +10687,6 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -min-document@^2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" - integrity sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ== - dependencies: - dom-walk "^0.1.0" - mini-css-extract-plugin@~2.4.7: version "2.4.7" resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.4.7.tgz#b9f4c4f4d727c7a3cd52a11773bb739f00177fac" @@ -10757,11 +10730,16 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" -minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@~1.2.5: +minimist@^1.2.0, minimist@^1.2.6, minimist@~1.2.5: version "1.2.6" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== +minimist@^1.2.5: + version "1.2.7" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + mkdirp@^0.5.5: version "0.5.6" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" @@ -10784,7 +10762,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.1: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -10916,20 +10894,25 @@ node-forge@^1: integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" - integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== + version "4.6.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" + integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.5, node-releases@^2.0.6: +node-releases@^2.0.5: version "2.0.6" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== +node-releases@^2.0.6: + version "2.0.8" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" + integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== + normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -11506,16 +11489,6 @@ pngjs@^5.0.0: resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" integrity sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw== -popmotion@11.0.5: - version "11.0.5" - resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.5.tgz#8e3e014421a0ffa30ecd722564fd2558954e1f7d" - integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== - dependencies: - framesync "6.1.2" - hey-listen "^1.0.8" - style-value-types "5.1.2" - tslib "2.4.0" - portfinder@^1.0.28: version "1.0.28" resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" @@ -11890,7 +11863,7 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -process@^0.11.1, process@^0.11.10: +process@^0.11.1: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== @@ -11983,7 +11956,7 @@ qs@6.10.3: dependencies: side-channel "^1.0.4" -qs@6.11.0, qs@^6.10.0, qs@^6.10.3, qs@^6.4.0: +qs@^6.10.0, qs@^6.10.3, qs@^6.4.0: version "6.11.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== @@ -12108,14 +12081,14 @@ react-focus-lock@^2.9.1: use-sidecar "^1.1.2" react-hook-form@^7.38.0, react-hook-form@^7.39.4: - version "7.39.4" - resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.39.4.tgz#7d9edf4e778a0cec4383f0119cd0699e3826a14a" - integrity sha512-B0e78r9kR9L2M4A4AXGbHoA/vyv34sB/n8QWJAw33TFz8f5t9helBbYAeqnbvcQf1EYzJxKX/bGQQh9K+evCyQ== + version "7.41.5" + resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.41.5.tgz#dcd0e7438c15044eadc99df6deb889da5858a03b" + integrity sha512-DAKjSJ7X9f16oQrP3TW2/eD9N6HOgrmIahP4LOdFphEWVfGZ2LulFd6f6AQ/YS/0cx/5oc4j8a1PXxuaurWp/Q== react-icons@^4.3.1: - version "4.6.0" - resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" - integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + version "4.7.1" + resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.7.1.tgz#0f4b25a5694e6972677cb189d2a72eabea7a8345" + integrity sha512-yHd3oKGMgm7zxo3EA7H2n7vxSoiGmHk5t6Ou4bXsfcgWyhfDKMpyKfhHR6Bjnn63c+YXBLBPUql9H4wPJM6sXw== react-infinite-scroller@^1.2.6: version "1.2.6" @@ -12144,13 +12117,6 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== -react-native-url-polyfill@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-1.3.0.tgz#c1763de0f2a8c22cc3e959b654c8790622b6ef6a" - integrity sha512-w9JfSkvpqqlix9UjDvJjm1EjSt652zVQ6iwCIj1cVVkwXf4jQhQgTNXY6EVTwuAmUjg6BC6k9RHCBynoLFo3IQ== - dependencies: - whatwg-url-without-unicode "8.0.0-3" - react-onclickoutside@^6.12.0: version "6.12.2" resolved "https://registry.yarnpkg.com/react-onclickoutside/-/react-onclickoutside-6.12.2.tgz#8e6cf80c7d17a79f2c908399918158a7b02dda01" @@ -12295,15 +12261,10 @@ regenerator-runtime@0.13.7: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew== -regenerator-runtime@^0.13.10: - version "0.13.10" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" - integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== - -regenerator-runtime@^0.13.4: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== +regenerator-runtime@^0.13.10, regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.4: + version "0.13.11" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== regenerator-transform@^0.15.0: version "0.15.0" @@ -12709,7 +12670,7 @@ scrypt-js@3.0.1, scrypt-js@^3.0.0: resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== -secp256k1@^4.0.1, secp256k1@^4.0.2: +secp256k1@^4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== @@ -12747,7 +12708,7 @@ semver@7.3.4: dependencies: lru-cache "^6.0.0" -semver@7.x, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@7.x, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: version "7.3.7" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== @@ -12764,6 +12725,13 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -13058,11 +13026,6 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== -store2@^2.12.0: - version "2.14.2" - resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.2.tgz#56138d200f9fe5f582ad63bc2704dbc0e4a45068" - integrity sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w== - stream-browserify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" @@ -13225,14 +13188,6 @@ style-loader@^3.3.0: resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575" integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ== -style-value-types@5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.1.2.tgz#6be66b237bd546048a764883528072ed95713b62" - integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== - dependencies: - hey-listen "^1.0.8" - tslib "2.4.0" - styled-jsx@5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.0.2.tgz#ff230fd593b737e9e68b630a694d460425478729" @@ -13379,18 +13334,11 @@ tar-stream@~2.2.0: inherits "^2.0.3" readable-stream "^3.1.1" -telejson@^6.0.8: - version "6.0.8" - resolved "https://registry.yarnpkg.com/telejson/-/telejson-6.0.8.tgz#1c432db7e7a9212c1fbd941c3e5174ec385148f7" - integrity sha512-nerNXi+j8NK1QEfBHtZUN/aLdDcyupA//9kAboYLrtzZlPLpUfqbVGWb9zz91f/mIjRbAYhbgtnJHY8I1b5MBg== +telejson@^7.0.3: + version "7.0.4" + resolved "https://registry.yarnpkg.com/telejson/-/telejson-7.0.4.tgz#2e88c0af9566b4f687622ed490588312b2bec186" + integrity sha512-J4QEuCnYGXAI9KSN7RXK0a0cOW2ONpjc4IQbInGZ6c3stvplLAYyZjTnScrRd8deXVjNCFV1wXcLC7SObDuQYA== dependencies: - "@types/is-function" "^1.0.0" - global "^4.4.0" - is-function "^1.0.2" - is-regex "^1.1.2" - is-symbol "^1.0.3" - isobject "^4.0.0" - lodash "^4.17.21" memoizerific "^1.11.3" terminal-link@^2.0.0: @@ -13626,17 +13574,17 @@ tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@2.4.0, tslib@^2, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== - -tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: +tslib@1.14.1, tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.0, tslib@^2.0.3: +tslib@2.4.0, tslib@^2, tslib@^2.3.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1: version "2.4.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== @@ -13665,11 +13613,6 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== -tweetnacl@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" - integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" @@ -13953,20 +13896,6 @@ w3c-xmlserializer@^2.0.0: dependencies: xml-name-validator "^3.0.0" -wagmi@^0.7.8: - version "0.7.15" - resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-0.7.15.tgz#da83c1e22641efb33899e203715f1ae4eb28f9b1" - integrity sha512-UGkcgL/bBg880uGEOTmKuWSxe+OtbPv0x1zKrDWi0McwB6o7W1trVVdZ1hCkHemB9HA2BN+svv3ALo9ZG4Xt8Q== - dependencies: - "@coinbase/wallet-sdk" "^3.5.3" - "@tanstack/query-sync-storage-persister" "^4.14.5" - "@tanstack/react-query" "^4.14.5" - "@tanstack/react-query-persist-client" "^4.14.5" - "@wagmi/core" "^0.6.12" - "@walletconnect/ethereum-provider" "^1.8.0" - abitype "^0.1.7" - use-sync-external-store "^1.2.0" - wagmi@^0.8.4: version "0.8.4" resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-0.8.4.tgz#6f9f2ba1cb8fc21f6a10c0a4237173fe1000bfc7" @@ -14159,15 +14088,6 @@ whatwg-mimetype@^2.3.0: resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== -whatwg-url-without-unicode@8.0.0-3: - version "8.0.0-3" - resolved "https://registry.yarnpkg.com/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz#ab6df4bf6caaa6c85a59f6e82c026151d4bb376b" - integrity sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig== - dependencies: - buffer "^5.4.3" - punycode "^2.1.1" - webidl-conversions "^5.0.0" - whatwg-url@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" @@ -14346,6 +14266,11 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" @@ -14471,7 +14396,7 @@ zen-observable@0.8.15: resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.15.tgz#96415c512d8e3ffd920afd3889604e30b9eaac15" integrity sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ== -zustand@^4.1.1, zustand@^4.1.4: +zustand@^4.1.4: version "4.1.4" resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.1.4.tgz#b0286da4cc9edd35e91c96414fa54bfa4652a54d" integrity sha512-k2jVOlWo8p4R83mQ+/uyB8ILPO2PCJOf+QVjcL+1PbMCk1w5OoPYpAIxy9zd93FSfmJqoH6lGdwzzjwqJIRU5A== From efdd4664c4d5920f79aa6f447eb4932e384e1588 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Fri, 6 Jan 2023 15:29:10 +0100 Subject: [PATCH 12/31] refactor(tx-table): remove chakra-ui/icons dep --- apps/frontend/components/DataTable.tsx | 6 +++--- package.json | 1 - yarn.lock | 7 ------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/apps/frontend/components/DataTable.tsx b/apps/frontend/components/DataTable.tsx index b941c547..940e0771 100644 --- a/apps/frontend/components/DataTable.tsx +++ b/apps/frontend/components/DataTable.tsx @@ -1,6 +1,6 @@ import { useState } from 'react'; import { Table, Thead, Tbody, Tr, Th, Td, chakra } from '@chakra-ui/react'; -import { TriangleDownIcon, TriangleUpIcon } from '@chakra-ui/icons'; +import { FiChevronDown, FiChevronUp } from "react-icons/fi"; import { useReactTable, flexRender, @@ -62,9 +62,9 @@ export function DataTable({ {header.column.getIsSorted() ? ( header.column.getIsSorted() === 'desc' ? ( - + ) : ( - + ) ) : null} diff --git a/package.json b/package.json index f72f6a55..56dd7c4a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "private": true, "dependencies": { "@apollo/client": "^3.7.1", - "@chakra-ui/icons": "^2.0.15", "@emotion/react": "11.9.3", "@emotion/server": "11.4.0", "@emotion/styled": "11.9.3", diff --git a/yarn.lock b/yarn.lock index ee81ac63..4b3b6bab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1437,13 +1437,6 @@ dependencies: "@chakra-ui/shared-utils" "2.0.4" -"@chakra-ui/icons@^2.0.15": - version "2.0.15" - resolved "https://registry.yarnpkg.com/@chakra-ui/icons/-/icons-2.0.15.tgz#9613eae03e08dd9622723540cd3bf582e38b1fde" - integrity sha512-/Hsefej7DfRMg+Go+gf/UU4PHNMPmba41ogO1K3242aP9VSs/6/qXB3zrZHl21OX/rdrK408VqYEPInLmUwiHw== - dependencies: - "@chakra-ui/icon" "3.0.14" - "@chakra-ui/image@2.0.13": version "2.0.13" resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.13.tgz#adc8bc97a65ef15491d7abfa7e4aa31debb3e4c1" From b0de50dc3cfe36a4178a19cc661f290193b5da95 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Fri, 6 Jan 2023 16:10:39 +0100 Subject: [PATCH 13/31] fix(tx-table): fix column sorting --- apps/frontend/components/DataTable.tsx | 2 +- .../frontend/components/TransactionsTable.tsx | 42 ++++++++++++++----- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/apps/frontend/components/DataTable.tsx b/apps/frontend/components/DataTable.tsx index 940e0771..5a69adbe 100644 --- a/apps/frontend/components/DataTable.tsx +++ b/apps/frontend/components/DataTable.tsx @@ -1,6 +1,6 @@ import { useState } from 'react'; import { Table, Thead, Tbody, Tr, Th, Td, chakra } from '@chakra-ui/react'; -import { FiChevronDown, FiChevronUp } from "react-icons/fi"; +import { FiChevronDown, FiChevronUp } from 'react-icons/fi'; import { useReactTable, flexRender, diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx index 102e193e..175eeae9 100644 --- a/apps/frontend/components/TransactionsTable.tsx +++ b/apps/frontend/components/TransactionsTable.tsx @@ -1,5 +1,5 @@ import { Link } from '@raidguild/design-system'; -import { CellContext, createColumnHelper } from '@tanstack/react-table'; +import { CellContext, createColumnHelper, Row } from '@tanstack/react-table'; import { BigNumber } from 'ethers'; import { IVaultTransaction } from '../types'; import { DataTable } from './DataTable'; @@ -19,12 +19,21 @@ const formatTokenAmount = (info: CellContext) => { } }; +const sortNumeric = (rowA: Row, rowB: Row, columnId: string) => { + const n1 = Number(rowA.getValue(columnId)); + const n2 = Number(rowB.getValue(columnId)); + if (n1 < n2) return -1; + if (n2 < n1) return 1; + return 0; +}; + const columnHelper = createColumnHelper(); const columns = [ columnHelper.accessor('date', { cell: (info) => info.getValue().toLocaleString(), header: 'Date', + sortingFn: 'datetime', }), columnHelper.accessor('type', { cell: (info) => info.getValue(), @@ -40,6 +49,7 @@ const columns = [ meta: { hidden: true, }, + sortingFn: sortNumeric, }), columnHelper.accessor('net', { cell: formatTokenAmount, @@ -47,6 +57,7 @@ const columns = [ meta: { isNumeric: true, }, + sortingFn: sortNumeric, }), columnHelper.accessor('balance', { cell: formatTokenAmount, @@ -54,23 +65,30 @@ const columns = [ meta: { isNumeric: true, }, + sortingFn: sortNumeric, }), -// columnHelper.accessor('proposal.loot', { -// cell: (info) => info?.getValue()?.toString(), -// header: 'Loot', -// meta: { -// isNumeric: true, -// }, -// }), + // columnHelper.accessor('proposal.loot', { + // cell: (info) => info?.getValue()?.toString(), + // header: 'Loot', + // meta: { + // isNumeric: true, + // }, + // sortingFn: sortNumeric, + // }), columnHelper.accessor('proposal.shares', { cell: (info) => info.getValue().toNumber(), header: 'Shares', meta: { isNumeric: true, }, + sortingFn: sortNumeric, }), columnHelper.accessor('proposal', { - cell: (info) => {info.getValue().title}, + cell: (info) => ( + + {info.getValue().title} + + ), header: 'Proposal', }), columnHelper.accessor('counterparty', { @@ -78,7 +96,11 @@ const columns = [ header: 'Counterparty', }), columnHelper.accessor('txExplorerLink', { - cell: (info) => view, + cell: (info) => ( + + view + + ), header: 'Tx', }), ]; From 0358bc1124f9eede1de096d7b6d9ab50dfcbe7d1 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Fri, 6 Jan 2023 16:31:29 +0100 Subject: [PATCH 14/31] feat(tx-table): add 'days held' column --- apps/frontend/components/TransactionsTable.tsx | 5 +++++ apps/frontend/hooks/useTransactions.ts | 7 ++++++- apps/frontend/types/index.ts | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx index 175eeae9..a50533bc 100644 --- a/apps/frontend/components/TransactionsTable.tsx +++ b/apps/frontend/components/TransactionsTable.tsx @@ -35,6 +35,11 @@ const columns = [ header: 'Date', sortingFn: 'datetime', }), + columnHelper.accessor('elapsedDays', { + cell: (info) => info.row.getValue('net') > 0 ? info.getValue() : undefined, + header: 'Days Held', + sortingFn: sortNumeric, + }), columnHelper.accessor('type', { cell: (info) => info.getValue(), header: 'Type', diff --git a/apps/frontend/hooks/useTransactions.ts b/apps/frontend/hooks/useTransactions.ts index 418d9c86..ef683092 100644 --- a/apps/frontend/hooks/useTransactions.ts +++ b/apps/frontend/hooks/useTransactions.ts @@ -12,6 +12,7 @@ import { } from '../types'; const RG_GNOSIS_DAO_ADDRESS = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'; +const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000; class CalculateTokenBalances { calculatedTokenBalances: ICalculatedTokenBalances; @@ -156,9 +157,13 @@ const formatBalancesAsTransactions = async ( const proposalLink = molochStatBalance.proposalDetail ? `https://app.daohaus.club/dao/0x64/${RG_GNOSIS_DAO_ADDRESS}/proposals/${molochStatBalance.proposalDetail.proposalId}` : ''; + const epochTimeAtIngressMs = Number(molochStatBalance.timestamp) * 1000; + const date = new Date(epochTimeAtIngressMs); + const elapsedDays = Math.floor((Date.now() - epochTimeAtIngressMs) / MILLISECONDS_PER_DAY); return { - date: new Date(Number(molochStatBalance.timestamp) * 1000), + date, + elapsedDays, type: _.startCase(molochStatBalance.action), tokenSymbol: molochStatBalance.tokenSymbol, tokenDecimals: Number(molochStatBalance.tokenDecimals), diff --git a/apps/frontend/types/index.ts b/apps/frontend/types/index.ts index d60627ee..5d4b34c6 100644 --- a/apps/frontend/types/index.ts +++ b/apps/frontend/types/index.ts @@ -308,6 +308,7 @@ export type IMolochStatsBalance = { export type IVaultTransaction = { date: Date; + elapsedDays: number; txExplorerLink: string; type: string; tokenSymbol: string; From c4a705f157006300a2861b079a64978a938ffda4 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Mon, 9 Jan 2023 14:25:56 +0100 Subject: [PATCH 15/31] fix(SiteLayout.tsx): show {error.message} --- apps/frontend/components/SiteLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/components/SiteLayout.tsx b/apps/frontend/components/SiteLayout.tsx index f91a61d1..ed83be89 100644 --- a/apps/frontend/components/SiteLayout.tsx +++ b/apps/frontend/components/SiteLayout.tsx @@ -100,7 +100,7 @@ const SiteLayout: React.FC = ({ return ( - Error loading data: {error} + Error loading data: {error.message} ); From d638765ed9f8e91b0f9a0419a7fafbe3845af80f Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Mon, 9 Jan 2023 14:27:13 +0100 Subject: [PATCH 16/31] fix(accounting): query hasura --- .../frontend/components/TransactionsTable.tsx | 7 +-- apps/frontend/gql/queries/transactions.ts | 54 ++++++++++--------- apps/frontend/hooks/useTransactions.ts | 7 ++- apps/frontend/pages/accounting.tsx | 1 + 4 files changed, 36 insertions(+), 33 deletions(-) diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx index a50533bc..59d31485 100644 --- a/apps/frontend/components/TransactionsTable.tsx +++ b/apps/frontend/components/TransactionsTable.tsx @@ -36,7 +36,8 @@ const columns = [ sortingFn: 'datetime', }), columnHelper.accessor('elapsedDays', { - cell: (info) => info.row.getValue('net') > 0 ? info.getValue() : undefined, + cell: (info) => + info.row.getValue('net') > 0 ? info.getValue() : undefined, header: 'Days Held', sortingFn: sortNumeric, }), @@ -90,7 +91,7 @@ const columns = [ }), columnHelper.accessor('proposal', { cell: (info) => ( - + {info.getValue().title} ), @@ -102,7 +103,7 @@ const columns = [ }), columnHelper.accessor('txExplorerLink', { cell: (info) => ( - + view ), diff --git a/apps/frontend/gql/queries/transactions.ts b/apps/frontend/gql/queries/transactions.ts index 2211af2f..d52300f0 100644 --- a/apps/frontend/gql/queries/transactions.ts +++ b/apps/frontend/gql/queries/transactions.ts @@ -1,32 +1,34 @@ import { gql } from 'graphql-request'; export const TRANSACTIONS_QUERY = gql` - query MolochBalances($molochAddress: Bytes!, $first: Int, $skip: Int) { - balances( - first: $first - skip: 10 - where: { molochAddress: $molochAddress, action_not: "summon" } - orderBy: timestamp - orderDirection: asc - ) { - id - timestamp - balance - tokenSymbol - tokenAddress - transactionHash - tokenDecimals - action - payment - tribute - amount - counterpartyAddress - proposalDetail { - proposalId - applicant - details - sharesRequested - lootRequested + query MolochBalances($molochAddress: daohaus_stats_xdaiBytes!, $first: Int, $skip: Int) { + daohaus_stats_xdai { + balances( + first: $first + skip: $skip + where: { molochAddress: $molochAddress, action_not: "summon" } + orderBy: timestamp + orderDirection: asc + ) { + id + timestamp + balance + tokenSymbol + tokenAddress + transactionHash + tokenDecimals + action + payment + tribute + amount + counterpartyAddress + proposalDetail { + proposalId + applicant + details + sharesRequested + lootRequested + } } } } diff --git a/apps/frontend/hooks/useTransactions.ts b/apps/frontend/hooks/useTransactions.ts index f0ba7ce2..74c1ffb5 100644 --- a/apps/frontend/hooks/useTransactions.ts +++ b/apps/frontend/hooks/useTransactions.ts @@ -224,14 +224,13 @@ const useTransactions = ({ token }) => { const consultationQueryResult = async (pageParam: number) => { if (!token) return; // TODO handle filters - // 'https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai' - const { data } = await client({ token }).request(TRANSACTIONS_QUERY, { + const response = await client({ token }).request(TRANSACTIONS_QUERY, { first: limit, skip: pageParam * limit, molochAddress: RG_GNOSIS_DAO_ADDRESS, }); - - return camelize(_.get(data, 'balances')); + + return camelize(_.get(response, 'daohaus_stats_xdai.balances')); }; const { diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx index 1998e188..be2d788e 100644 --- a/apps/frontend/pages/accounting.tsx +++ b/apps/frontend/pages/accounting.tsx @@ -34,6 +34,7 @@ export const Accounting = () => { isLoading={!data} data={data} subheader={Accounting} + emptyDataPhrase="No transactions" error={error} > From ca6fbcc45cbaebccc9c855348d734484a3cb5d52 Mon Sep 17 00:00:00 2001 From: ECWireless <40322776+ECWireless@users.noreply.github.com> Date: Mon, 9 Jan 2023 16:09:22 -0700 Subject: [PATCH 17/31] Minor: add useBalances hook (#32) * Add moloch query * Add useBalances hook * Add namespace for daohaus_xdai * Pass transactions and balances as SiteLayout data --- apps/frontend/gql/queries/index.ts | 1 + apps/frontend/gql/queries/moloch.ts | 22 ++++ .../{useTransactions.ts => useAccounting.ts} | 111 +++++++++++++++--- apps/frontend/pages/accounting.tsx | 36 ++++-- apps/frontend/types/accounting.ts | 34 +++++- apps/frontend/types/index.ts | 1 - services/hasura/metadata/remote_schemas.yaml | 12 +- 7 files changed, 184 insertions(+), 33 deletions(-) create mode 100644 apps/frontend/gql/queries/moloch.ts rename apps/frontend/hooks/{useTransactions.ts => useAccounting.ts} (73%) diff --git a/apps/frontend/gql/queries/index.ts b/apps/frontend/gql/queries/index.ts index e6ae6964..58e9b231 100644 --- a/apps/frontend/gql/queries/index.ts +++ b/apps/frontend/gql/queries/index.ts @@ -4,3 +4,4 @@ export * from './dashboard'; export * from './members'; export * from './raids'; export * from './transactions'; +export * from './moloch'; diff --git a/apps/frontend/gql/queries/moloch.ts b/apps/frontend/gql/queries/moloch.ts new file mode 100644 index 00000000..ddc00ca7 --- /dev/null +++ b/apps/frontend/gql/queries/moloch.ts @@ -0,0 +1,22 @@ +import { gql } from 'graphql-request'; + +export const MOLOCH_QUERY = gql` + query moloch($contractAddr: ID!) { + daohaus_xdai { + moloch(id: $contractAddr) { + id + minions { + minionAddress + } + tokenBalances(where: {guildBank: true}) { + token { + tokenAddress + symbol + decimals + } + tokenBalance + } + } + } + } +` \ No newline at end of file diff --git a/apps/frontend/hooks/useTransactions.ts b/apps/frontend/hooks/useAccounting.ts similarity index 73% rename from apps/frontend/hooks/useTransactions.ts rename to apps/frontend/hooks/useAccounting.ts index 74c1ffb5..611a0ff8 100644 --- a/apps/frontend/hooks/useTransactions.ts +++ b/apps/frontend/hooks/useAccounting.ts @@ -2,14 +2,10 @@ import _ from 'lodash'; import { BigNumber } from 'ethers'; import { useInfiniteQuery } from '@tanstack/react-query'; -import { client, TRANSACTIONS_QUERY } from '../gql'; +import { client, TRANSACTIONS_QUERY, MOLOCH_QUERY } from '../gql'; import { camelize } from '../utils'; import { useEffect, useState } from 'react'; -import { - ICalculatedTokenBalances, - IVaultTransaction, - IMolochStatsBalance, -} from '../types'; +import { ICalculatedTokenBalances, IVaultTransaction, IMolochStatsBalance, ITokenBalance, ITokenBalanceLineItem } from '../types' const RG_GNOSIS_DAO_ADDRESS = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'; const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000; @@ -61,13 +57,13 @@ class CalculateTokenBalances { } } +// used to store all the inflow and outflow of each token when iterating over the list of moloch stats +const calculatedTokenBalances = new CalculateTokenBalances(); + const formatBalancesAsTransactions = async ( balances: Array ) => { try { - // used to store all the inflow and outflow of each token when iterating over the list of moloch stats - const calculatedTokenBalances = new CalculateTokenBalances(); - const mapMolochStatsToTreasuryTransaction = async ( molochStatsBalances: Array ): Promise> => { @@ -204,7 +200,6 @@ const formatBalancesAsTransactions = async ( 'date', 'desc' ) as Array, - vaultName: 'DAO Treasury', }; } catch (error) { return { @@ -215,13 +210,13 @@ const formatBalancesAsTransactions = async ( } }; -const useTransactions = ({ token }) => { +export const useTransactions = ({ token }) => { const [transactions, setTransactions] = useState>( [] ); const limit = 1000; - const consultationQueryResult = async (pageParam: number) => { + const transactionQueryResult = async (pageParam: number) => { if (!token) return; // TODO handle filters const response = await client({ token }).request(TRANSACTIONS_QUERY, { @@ -232,6 +227,7 @@ const useTransactions = ({ token }) => { return camelize(_.get(response, 'daohaus_stats_xdai.balances')); }; + const { status, @@ -242,7 +238,7 @@ const useTransactions = ({ token }) => { isFetchingNextPage, } = useInfiniteQuery, Error>( ['transactions'], - ({ pageParam = 0 }) => consultationQueryResult(pageParam), + ({ pageParam = 0 }) => transactionQueryResult(pageParam), { getNextPageParam: (lastPage, allPages) => { return _.isEmpty(lastPage) @@ -272,4 +268,91 @@ const useTransactions = ({ token }) => { }; }; -export default useTransactions; +const mapMolochTokenBalancesToTokenBalanceLineItem = async ( + molochTokenBalances: ITokenBalance[], + calculatedTokenBalances: ICalculatedTokenBalances +): Promise => { + const tokenBalanceLineItems = await Promise.all( + molochTokenBalances.map(async (molochTokenBalance) => { + const tokenValue = BigNumber.from(molochTokenBalance.tokenBalance) + const tokenExplorerLink = `https://blockscout.com/xdai/mainnet/token/${molochTokenBalance.token.tokenAddress}`; + + return { + ...molochTokenBalance, + tokenExplorerLink, + inflow: { + tokenValue: + calculatedTokenBalances[molochTokenBalance.token.tokenAddress] + ?.in || BigNumber.from(0), + }, + outflow: { + tokenValue: + calculatedTokenBalances[molochTokenBalance.token.tokenAddress] + ?.out || BigNumber.from(0), + }, + closing: { + tokenValue, + }, + } + }) + ) + return tokenBalanceLineItems +} + +export const useBalances = ({ token }) => { + const [balances, setBalances] = useState>([]) + const limit = 1000; + + const balancesQueryResult = async () => { + if (!token) return; + // TODO handle filters + + const response = await client({ token }).request(MOLOCH_QUERY, { + contractAddr: RG_GNOSIS_DAO_ADDRESS, + }); + + + return camelize(_.get(response, 'daohaus_xdai.moloch')); + }; + + const { + status, + error, + data, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + } = useInfiniteQuery<{ tokenBalances: Array }, Error>( + ['balances'], + () => balancesQueryResult(), + { + getNextPageParam: (lastPage, allPages) => { + return _.isEmpty(lastPage) + ? undefined + : _.divide(_.size(_.flatten(allPages)), limit); + }, + enabled: Boolean(token), + } + ); + + useEffect(() => { + (async () => { + if (status === 'success') { + const tokenBalances = await mapMolochTokenBalancesToTokenBalanceLineItem( + data.pages[0]?.tokenBalances || [], + calculatedTokenBalances.getBalances() + ) + setBalances(tokenBalances) + }; + })() + }, [data, status]) + + return { + status, + error, + data: balances, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + }; +}; diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx index be2d788e..837a6882 100644 --- a/apps/frontend/pages/accounting.tsx +++ b/apps/frontend/pages/accounting.tsx @@ -1,8 +1,8 @@ import { NextSeo } from 'next-seo'; -import { Heading, Button } from '@raidguild/design-system'; +import { Heading, Button, Flex } from '@raidguild/design-system'; import SiteLayout from '../components/SiteLayout'; import { useSession } from 'next-auth/react'; -import useTransactions from '../hooks/useTransactions'; +import { useTransactions, useBalances } from '../hooks/useAccounting'; import Papa from 'papaparse'; import _ from 'lodash'; import TransactionsTable from '../components/TransactionsTable'; @@ -10,18 +10,21 @@ import TransactionsTable from '../components/TransactionsTable'; export const Accounting = () => { const { data: session } = useSession(); const token = _.get(session, 'token'); - const { data, error /* hasNextPage, fetchNextPage */ } = useTransactions({ + const { data: transactions, error: transactionsError } = useTransactions({ token, }); - console.log(data); + const { data: balances, error: balancesError } = useBalances({ token }); - const onExportTransactions = () => { - const csvString = Papa.unparse(data); + const onExportCsv = (type: 'transactions' | 'balances') => { + let csvString = Papa.unparse(transactions) + if (type === 'balances') { + csvString = Papa.unparse(balances) + } const blob = new Blob([csvString], { type: 'text/csv;charset=utf-8;' }); const url = URL.createObjectURL(blob); const link = document.createElement('a'); link.setAttribute('href', url); - link.setAttribute('download', 'transactions.csv'); + link.setAttribute('download', `${type}.csv`); link.click(); link.remove(); }; @@ -31,14 +34,23 @@ export const Accounting = () => { Accounting} emptyDataPhrase="No transactions" - error={error} + error={transactionsError || balancesError} > - - + + + diff --git a/apps/frontend/types/accounting.ts b/apps/frontend/types/accounting.ts index 850499f9..90136f6b 100644 --- a/apps/frontend/types/accounting.ts +++ b/apps/frontend/types/accounting.ts @@ -48,8 +48,32 @@ export type IVaultTransaction = { export type ICalculatedTokenBalances = { [tokenAddress: string]: { - in: BigNumber; - out: BigNumber; - balance: BigNumber; - }; -}; + in: BigNumber + out: BigNumber + balance: BigNumber + } +} + +export type IToken = { + tokenAddress: string + decimals: string + symbol: string +} + +export type ITokenBalance = { + token: IToken + tokenBalance: string +} + +export type ITokenBalanceLineItem = ITokenBalance & { + tokenExplorerLink: string + inflow: { + tokenValue: BigNumber + } + outflow: { + tokenValue: BigNumber + } + closing: { + tokenValue: BigNumber + } +} diff --git a/apps/frontend/types/index.ts b/apps/frontend/types/index.ts index 036e018d..03bf32b2 100644 --- a/apps/frontend/types/index.ts +++ b/apps/frontend/types/index.ts @@ -1,4 +1,3 @@ -/* eslint-disable camelcase */ export * from './auth'; export * from './accounting'; export * from './applications'; diff --git a/services/hasura/metadata/remote_schemas.yaml b/services/hasura/metadata/remote_schemas.yaml index b9d8b9ab..f3bfe66c 100644 --- a/services/hasura/metadata/remote_schemas.yaml +++ b/services/hasura/metadata/remote_schemas.yaml @@ -7,7 +7,17 @@ type_names: mapping: {} prefix: daohaus_stats_xdai - comment: "" + comment: '' +- name: DaoHaus-xDai + definition: + url: https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-xdai + timeout_seconds: 40 + customization: + root_fields_namespace: daohaus_xdai + type_names: + mapping: {} + prefix: daohaus_xdai + comment: '' - name: Smart-Escrow-xDai definition: url: https://api.thegraph.com/subgraphs/name/dan13ram/xdai-smart-invoices From d66a96892dcaf2f45439b08bf3bbe844c8ab2df5 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Tue, 10 Jan 2023 12:10:02 +0100 Subject: [PATCH 18/31] chore(hasura-setup): cut setup timeout to 1m --- services/hasura/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/hasura/setup.sh b/services/hasura/setup.sh index c906a6f7..98525b71 100755 --- a/services/hasura/setup.sh +++ b/services/hasura/setup.sh @@ -2,5 +2,5 @@ apk update apk upgrade apk add curl /bin/sh -c "$(curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh)" -y -f -timeout 5m /bin/sh -c "until hasura seed apply --database-name ${POSTGRES_DATABASE}; do sleep 10; done" +timeout 1m /bin/sh -c "until hasura seed apply --database-name ${POSTGRES_DATABASE}; do sleep 10; done" hasura metadata reload From c1c05c01e2d8fb1a15812f85bfebe56e59a94853 Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Wed, 11 Jan 2023 00:03:13 +0100 Subject: [PATCH 19/31] feat(accounting): add balances table --- apps/frontend/components/BalancesTable.tsx | 64 +++++++++++++++++++ apps/frontend/components/DataTable.tsx | 10 +-- .../frontend/components/TransactionsTable.tsx | 20 +++--- apps/frontend/pages/accounting.tsx | 26 ++++---- apps/frontend/utils/index.ts | 1 + apps/frontend/utils/table.ts | 9 +++ 6 files changed, 104 insertions(+), 26 deletions(-) create mode 100644 apps/frontend/components/BalancesTable.tsx create mode 100644 apps/frontend/utils/table.ts diff --git a/apps/frontend/components/BalancesTable.tsx b/apps/frontend/components/BalancesTable.tsx new file mode 100644 index 00000000..0fa72abb --- /dev/null +++ b/apps/frontend/components/BalancesTable.tsx @@ -0,0 +1,64 @@ +import { Heading } from '@raidguild/design-system'; +import { CellContext, createColumnHelper } from '@tanstack/react-table'; +import { BigNumber } from 'ethers'; +import { ITokenBalanceLineItem } from '../types'; +import { sortNumeric } from '../utils'; +import { DataTable } from './DataTable'; + +export interface BalancesTableProps { + data: ITokenBalanceLineItem[]; +} + +const formatTokenAmount = ( + info: CellContext +) => { + try { + const n = BigNumber.from(info.getValue()); + const decimals = Number(info.row.getValue('token_decimals')); + return n.div(BigNumber.from(10).pow(decimals)).toNumber().toLocaleString(); + } catch (e) { + console.log(info.row); + console.error(e); + return info.getValue().toString(); + } +}; + +const columnHelper = createColumnHelper(); + +const columns = [ + columnHelper.accessor('token.symbol', { + id: 'tokenSymbol', + cell: (info) => info.getValue(), + header: 'Token', + }), + columnHelper.accessor('token.decimals', { + cell: (info) => info.getValue(), + header: 'Decimals', + meta: { + hidden: true, + }, + }), + columnHelper.accessor('tokenBalance', { + cell: formatTokenAmount, + header: 'Balance', + meta: { + isNumeric: true, + }, + sortingFn: sortNumeric, + }), +]; + +const BalancesTable = ({ data }: BalancesTableProps) => { + return ( + <> + Balances + + + ); +}; + +export default BalancesTable; diff --git a/apps/frontend/components/DataTable.tsx b/apps/frontend/components/DataTable.tsx index 5a69adbe..2a9cd8f1 100644 --- a/apps/frontend/components/DataTable.tsx +++ b/apps/frontend/components/DataTable.tsx @@ -21,13 +21,15 @@ declare module '@tanstack/table-core' { export type DataTableProps = { data: Data[]; columns: ColumnDef[]; + sort?: SortingState; }; export function DataTable({ data, columns, + sort = [], }: DataTableProps) { - const [sorting, setSorting] = useState([]); + const [sorting, setSorting] = useState(sort); const table = useReactTable({ columns, data, @@ -59,12 +61,12 @@ export function DataTable({ header.getContext() )} - + {header.column.getIsSorted() ? ( header.column.getIsSorted() === 'desc' ? ( - + ) : ( - + ) ) : null} diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx index 59d31485..ec085153 100644 --- a/apps/frontend/components/TransactionsTable.tsx +++ b/apps/frontend/components/TransactionsTable.tsx @@ -1,7 +1,8 @@ -import { Link } from '@raidguild/design-system'; -import { CellContext, createColumnHelper, Row } from '@tanstack/react-table'; +import { Heading, Link } from '@raidguild/design-system'; +import { CellContext, createColumnHelper } from '@tanstack/react-table'; import { BigNumber } from 'ethers'; import { IVaultTransaction } from '../types'; +import { sortNumeric } from '../utils'; import { DataTable } from './DataTable'; export interface TransactionsTableProps { @@ -19,14 +20,6 @@ const formatTokenAmount = (info: CellContext) => { } }; -const sortNumeric = (rowA: Row, rowB: Row, columnId: string) => { - const n1 = Number(rowA.getValue(columnId)); - const n2 = Number(rowB.getValue(columnId)); - if (n1 < n2) return -1; - if (n2 < n1) return 1; - return 0; -}; - const columnHelper = createColumnHelper(); const columns = [ @@ -112,7 +105,12 @@ const columns = [ ]; const TransactionsTable = ({ data }: TransactionsTableProps) => { - return ; + return ( + <> + Transactions + + + ); }; export default TransactionsTable; diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx index 837a6882..ab3ce618 100644 --- a/apps/frontend/pages/accounting.tsx +++ b/apps/frontend/pages/accounting.tsx @@ -1,24 +1,25 @@ import { NextSeo } from 'next-seo'; -import { Heading, Button, Flex } from '@raidguild/design-system'; +import { Heading, Button } from '@raidguild/design-system'; import SiteLayout from '../components/SiteLayout'; import { useSession } from 'next-auth/react'; import { useTransactions, useBalances } from '../hooks/useAccounting'; import Papa from 'papaparse'; import _ from 'lodash'; import TransactionsTable from '../components/TransactionsTable'; +import BalancesTable from '../components/BalancesTable'; export const Accounting = () => { const { data: session } = useSession(); const token = _.get(session, 'token'); - const { data: transactions, error: transactionsError } = useTransactions({ + const { data: transactions, error: transactionsError } = useTransactions({ token, }); const { data: balances, error: balancesError } = useBalances({ token }); const onExportCsv = (type: 'transactions' | 'balances') => { - let csvString = Papa.unparse(transactions) + let csvString = Papa.unparse(transactions); if (type === 'balances') { - csvString = Papa.unparse(balances) + csvString = Papa.unparse(balances); } const blob = new Blob([csvString], { type: 'text/csv;charset=utf-8;' }); const url = URL.createObjectURL(blob); @@ -31,26 +32,29 @@ export const Accounting = () => { return ( <> - + Accounting} - emptyDataPhrase="No transactions" + emptyDataPhrase='No transactions' error={transactionsError || balancesError} > - + - - diff --git a/apps/frontend/utils/index.ts b/apps/frontend/utils/index.ts index 089c2a9b..5f7f97eb 100644 --- a/apps/frontend/utils/index.ts +++ b/apps/frontend/utils/index.ts @@ -3,6 +3,7 @@ export * from '../types'; export * from './constants'; export * from './general'; export * from './raids'; +export * from './table'; export * from './wagmiClient'; export const camelize = (obj: any) => diff --git a/apps/frontend/utils/table.ts b/apps/frontend/utils/table.ts new file mode 100644 index 00000000..79c844e5 --- /dev/null +++ b/apps/frontend/utils/table.ts @@ -0,0 +1,9 @@ +import { Row } from "@tanstack/react-table"; + +export const sortNumeric = (rowA: Row, rowB: Row, columnId: string) => { + const n1 = Number(rowA.getValue(columnId)); + const n2 = Number(rowB.getValue(columnId)); + if (n1 < n2) return -1; + if (n2 < n1) return 1; + return 0; + }; \ No newline at end of file From d19152520a4eeedb030aa2c2883286adb7ff0665 Mon Sep 17 00:00:00 2001 From: ECWireless <40322776+ECWireless@users.noreply.github.com> Date: Wed, 11 Jan 2023 05:54:39 -0700 Subject: [PATCH 20/31] treasury_token_history table added (#33) Co-authored-by: Peter Sparacino <72105234+psparacino@users.noreply.github.com> --- .../default/tables/public_treasury_token_history.yaml | 3 +++ services/hasura/metadata/databases/default/tables/tables.yaml | 1 + .../down.sql | 1 + .../up.sql | 1 + services/hasura/yarn.lock | 4 ++++ 5 files changed, 10 insertions(+) create mode 100644 services/hasura/metadata/databases/default/tables/public_treasury_token_history.yaml create mode 100644 services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/down.sql create mode 100644 services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/up.sql create mode 100644 services/hasura/yarn.lock diff --git a/services/hasura/metadata/databases/default/tables/public_treasury_token_history.yaml b/services/hasura/metadata/databases/default/tables/public_treasury_token_history.yaml new file mode 100644 index 00000000..c8bb1bb8 --- /dev/null +++ b/services/hasura/metadata/databases/default/tables/public_treasury_token_history.yaml @@ -0,0 +1,3 @@ +table: + name: treasury_token_history + schema: public diff --git a/services/hasura/metadata/databases/default/tables/tables.yaml b/services/hasura/metadata/databases/default/tables/tables.yaml index f21b69bb..d373465f 100644 --- a/services/hasura/metadata/databases/default/tables/tables.yaml +++ b/services/hasura/metadata/databases/default/tables/tables.yaml @@ -33,4 +33,5 @@ - "!include public_skills.yaml" - "!include public_submission_types.yaml" - "!include public_technical_skill_types.yaml" +- "!include public_treasury_token_history.yaml" - "!include public_updates.yaml" diff --git a/services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/down.sql b/services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/down.sql new file mode 100644 index 00000000..e975e6f6 --- /dev/null +++ b/services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/down.sql @@ -0,0 +1 @@ +DROP TABLE "public"."treasury_token_history"; diff --git a/services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/up.sql b/services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/up.sql new file mode 100644 index 00000000..39759976 --- /dev/null +++ b/services/hasura/migrations/default/1672846496946_create_table_public_treasury_token_history/up.sql @@ -0,0 +1 @@ +CREATE TABLE "public"."treasury_token_history" ("id" serial NOT NULL, "token_name" text NOT NULL, "date" date NOT NULL, "price_usd" numeric NOT NULL, PRIMARY KEY ("id") , UNIQUE ("id")); diff --git a/services/hasura/yarn.lock b/services/hasura/yarn.lock new file mode 100644 index 00000000..fb57ccd1 --- /dev/null +++ b/services/hasura/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + From 9bf099a537d915fdccf0cba8b9fbadc16e580e18 Mon Sep 17 00:00:00 2001 From: ECWireless Date: Wed, 11 Jan 2023 08:00:04 -0700 Subject: [PATCH 21/31] Add useTokenPrices hook --- .../frontend/components/TransactionsTable.tsx | 28 ++++++- apps/frontend/gql/queries/index.ts | 1 + apps/frontend/gql/queries/tokenPrices.ts | 12 +++ apps/frontend/hooks/useAccounting.ts | 75 ++++++++++++++++++- apps/frontend/pages/accounting.tsx | 22 +++++- apps/frontend/types/accounting.ts | 14 ++++ 6 files changed, 145 insertions(+), 7 deletions(-) create mode 100644 apps/frontend/gql/queries/tokenPrices.ts diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx index ec085153..956740b8 100644 --- a/apps/frontend/components/TransactionsTable.tsx +++ b/apps/frontend/components/TransactionsTable.tsx @@ -20,6 +20,19 @@ const formatTokenAmount = (info: CellContext) => { } }; +const formatTokenVlue = (info: CellContext) => { + try { + const n = info.getValue(); + const decimals = Number(info.row.getValue('tokenDecimals')); + const priceConversion = Number(info.row.getValue('priceConversion')); + const tokenValue = n.div(BigNumber.from(10).pow(decimals)).toNumber() * priceConversion; + return tokenValue.toLocaleString(); + } catch (e) { + console.error(e); + return info.getValue().toString(); + } +}; + const columnHelper = createColumnHelper(); const columns = [ @@ -50,6 +63,14 @@ const columns = [ }, sortingFn: sortNumeric, }), + columnHelper.accessor('priceConversion', { + cell: (info) => info.getValue(), + header: 'Conversion', + meta: { + hidden: true, + }, + sortingFn: sortNumeric, + }), columnHelper.accessor('net', { cell: formatTokenAmount, header: 'Amount', @@ -59,7 +80,12 @@ const columns = [ sortingFn: sortNumeric, }), columnHelper.accessor('balance', { - cell: formatTokenAmount, + cell: (info) => ( +
+

{formatTokenAmount(info)}

+

${formatTokenVlue(info)}

+
+ ), header: 'Balance', meta: { isNumeric: true, diff --git a/apps/frontend/gql/queries/index.ts b/apps/frontend/gql/queries/index.ts index 58e9b231..11b6308d 100644 --- a/apps/frontend/gql/queries/index.ts +++ b/apps/frontend/gql/queries/index.ts @@ -5,3 +5,4 @@ export * from './members'; export * from './raids'; export * from './transactions'; export * from './moloch'; +export * from './tokenPrices'; diff --git a/apps/frontend/gql/queries/tokenPrices.ts b/apps/frontend/gql/queries/tokenPrices.ts new file mode 100644 index 00000000..b1f5d443 --- /dev/null +++ b/apps/frontend/gql/queries/tokenPrices.ts @@ -0,0 +1,12 @@ +import { gql } from 'graphql-request'; + +export const TOKEN_PRICES_QUERY = gql` + query { + treasury_token_history { + id + date + price_usd + token_name + } + } +`; diff --git a/apps/frontend/hooks/useAccounting.ts b/apps/frontend/hooks/useAccounting.ts index 611a0ff8..10a993a4 100644 --- a/apps/frontend/hooks/useAccounting.ts +++ b/apps/frontend/hooks/useAccounting.ts @@ -2,10 +2,18 @@ import _ from 'lodash'; import { BigNumber } from 'ethers'; import { useInfiniteQuery } from '@tanstack/react-query'; -import { client, TRANSACTIONS_QUERY, MOLOCH_QUERY } from '../gql'; +import { client, TRANSACTIONS_QUERY, MOLOCH_QUERY, TOKEN_PRICES_QUERY } from '../gql'; import { camelize } from '../utils'; import { useEffect, useState } from 'react'; -import { ICalculatedTokenBalances, IVaultTransaction, IMolochStatsBalance, ITokenBalance, ITokenBalanceLineItem } from '../types' +import { + ICalculatedTokenBalances, + IVaultTransaction, + IMolochStatsBalance, + ITokenBalance, + ITokenBalanceLineItem, + ITokenPrice, + IMappedTokenPrice, +} from '../types' const RG_GNOSIS_DAO_ADDRESS = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'; const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000; @@ -183,6 +191,7 @@ const formatBalancesAsTransactions = async ( applicant: molochStatBalance.proposalDetail?.applicant ?? '', title: proposalTitle, }, + priceConversion: 1, ...balances, }; }) @@ -224,7 +233,7 @@ export const useTransactions = ({ token }) => { skip: pageParam * limit, molochAddress: RG_GNOSIS_DAO_ADDRESS, }); - + return camelize(_.get(response, 'daohaus_stats_xdai.balances')); }; @@ -356,3 +365,63 @@ export const useBalances = ({ token }) => { isFetchingNextPage, }; }; + +export const useTokenPrices = ({ token }) => { + const [tokenPrices, setTokenPrices] = useState({}) + + const tokenPricesQueryResult = async () => { + if (!token) return; + // TODO handle filters + + const response = await client({ token }).request(TOKEN_PRICES_QUERY); + + return camelize(_.get(response, 'treasury_token_history')); + }; + + const { + status, + error, + data, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + } = useInfiniteQuery, Error>( + ['tokenPrices'], + () => tokenPricesQueryResult(), + { + getNextPageParam: (lastPage, allPages) => { + return _.isEmpty(lastPage) + ? undefined + : _.divide(_.size(_.flatten(allPages))); + }, + enabled: Boolean(token), + } + ); + + useEffect(() => { + (async () => { + if (status === 'success') { + const prices = data.pages[0]; + const mappedPrices = {}; + prices.forEach(price => { + if (!mappedPrices[price.tokenName]) { + mappedPrices[price.tokenName] = {} + mappedPrices[price.tokenName][price.date] = price.priceUsd + } else { + mappedPrices[price.tokenName][price.date] = price.priceUsd + } + }) + setTokenPrices(mappedPrices) + }; + })() + }, [data, status]) + + return { + status, + error, + data: tokenPrices, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + }; +}; diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx index ab3ce618..b8db167e 100644 --- a/apps/frontend/pages/accounting.tsx +++ b/apps/frontend/pages/accounting.tsx @@ -2,11 +2,12 @@ import { NextSeo } from 'next-seo'; import { Heading, Button } from '@raidguild/design-system'; import SiteLayout from '../components/SiteLayout'; import { useSession } from 'next-auth/react'; -import { useTransactions, useBalances } from '../hooks/useAccounting'; +import { useTransactions, useBalances, useTokenPrices } from '../hooks/useAccounting'; import Papa from 'papaparse'; import _ from 'lodash'; import TransactionsTable from '../components/TransactionsTable'; import BalancesTable from '../components/BalancesTable'; +import { useMemo } from 'react'; export const Accounting = () => { const { data: session } = useSession(); @@ -15,6 +16,7 @@ export const Accounting = () => { token, }); const { data: balances, error: balancesError } = useBalances({ token }); + const { data: tokenPrices, error: tokenPricesError } = useTokenPrices({ token }); const onExportCsv = (type: 'transactions' | 'balances') => { let csvString = Papa.unparse(transactions); @@ -30,6 +32,20 @@ export const Accounting = () => { link.remove(); }; + const transactionsWithPrices = useMemo(() => { + return transactions.map(t => { + const fomrattedDate = t.date.toISOString().split('T')[0]; + if (tokenPrices[t.tokenSymbol] && tokenPrices[t.tokenSymbol][fomrattedDate]) { + return { + ...t, + priceConversion: tokenPrices[t.tokenSymbol][fomrattedDate], + } + } + return t; + }) + }, [tokenPrices, transactions]) + + return ( <> @@ -39,7 +55,7 @@ export const Accounting = () => { data={[...transactions, ...balances]} subheader={Accounting} emptyDataPhrase='No transactions' - error={transactionsError || balancesError} + error={transactionsError || balancesError || tokenPricesError} > - + - - + + + Balances + Transactions + + + + + + Balances + + + + + + + Transactions + + + + + + ); diff --git a/apps/frontend/types/accounting.ts b/apps/frontend/types/accounting.ts index 3c35f5e1..e1edf996 100644 --- a/apps/frontend/types/accounting.ts +++ b/apps/frontend/types/accounting.ts @@ -49,45 +49,45 @@ export type IVaultTransaction = { export type ICalculatedTokenBalances = { [tokenAddress: string]: { - in: BigNumber - out: BigNumber - balance: BigNumber - } -} + in: BigNumber; + out: BigNumber; + balance: BigNumber; + }; +}; export type IToken = { - tokenAddress: string - decimals: string - symbol: string -} + tokenAddress: string; + decimals: string; + symbol: string; +}; export type ITokenBalance = { - token: IToken - tokenBalance: string -} + token: IToken; + tokenBalance: BigNumber; +}; export type ITokenBalanceLineItem = ITokenBalance & { - tokenExplorerLink: string + tokenExplorerLink: string; inflow: { - tokenValue: BigNumber - } + tokenValue: BigNumber; + }; outflow: { - tokenValue: BigNumber - } + tokenValue: BigNumber; + }; closing: { - tokenValue: BigNumber - } -} + tokenValue: BigNumber; + }; +}; export type ITokenPrice = { id: number; date: string; priceUsd: number; symbol: string; -} +}; export type IMappedTokenPrice = { [key: string]: { [key: string]: number; - } -} + }; +}; From a56a3cf07dedf86a38ebe1b26ea9ba8a2a9a2b8a Mon Sep 17 00:00:00 2001 From: Matthew O'Connell Date: Thu, 12 Jan 2023 18:14:35 +0100 Subject: [PATCH 25/31] styling(accounting): style tab title --- apps/frontend/pages/accounting.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/frontend/pages/accounting.tsx b/apps/frontend/pages/accounting.tsx index 9477d4af..bd36141d 100644 --- a/apps/frontend/pages/accounting.tsx +++ b/apps/frontend/pages/accounting.tsx @@ -79,18 +79,21 @@ export const Accounting = () => { > - Balances - Transactions + + Balances + + + Transactions + - Balances + + + + + + Page + + + {table.getState().pagination.pageIndex + 1} of{' '} + {table.getPageCount()} + + + + | + + + { + const page = e.target.value ? Number(e.target.value) - 1 : 0; + table.setPageIndex(page); + }} + /> + + + + + ); } diff --git a/apps/frontend/components/TransactionsTable.tsx b/apps/frontend/components/TransactionsTable.tsx index aad77532..ebb1ce9a 100644 --- a/apps/frontend/components/TransactionsTable.tsx +++ b/apps/frontend/components/TransactionsTable.tsx @@ -1,4 +1,4 @@ -import { Link, TableContainer, Tooltip } from '@raidguild/design-system'; +import { Link, Tooltip } from '@raidguild/design-system'; import { createColumnHelper } from '@tanstack/react-table'; import { IVaultTransaction } from '../types'; import { @@ -28,7 +28,7 @@ const columns = [ sortingFn: 'datetime', }), columnHelper.accessor('elapsedDays', { - cell: (info) => info.getValue(), + cell: (info) => info.getValue(), header: 'Days Held', meta: { dataType: 'numeric', @@ -142,19 +142,18 @@ const columns = [ ), enableColumnFilter: false, - header: 'Tx' + header: 'Tx', }), ]; const TransactionsTable = ({ data }: TransactionsTableProps) => { return ( - - - + ); }; From 28cfbfa0415f71264bd06911b6bd8c5f7cffbd5e Mon Sep 17 00:00:00 2001 From: Matthew O'Connell <640958+moconnell@users.noreply.github.com> Date: Thu, 19 Jan 2023 01:53:37 +0100 Subject: [PATCH 28/31] Accounting: link DAOhaus member profile from transactions table (#39) * feat(accounting): add column filters (wip) * feat(table-filtering): fix date/number filter * fix(accounting): days-held filter * fix(accounting): update table style * fixes (#38) * feat(table-filtering): add enum type, tooltips * feat(accounting): tx-table - add member link (wip) * fix(member-links): add daohaus profile link * feat(accounting): link DAOhaus member profile * refactor(BalancesTable): add aria-label * fix(chains): jsonRpcProvider setup post lib update * refactor(useMemberList): remove console.log * Remove unnecessary comment Co-authored-by: scottrepreneur Co-authored-by: ECWireless --- apps/frontend/.eslintrc.json | 5 +- apps/frontend/auth.d.ts | 17 + apps/frontend/components/BalancesTable.tsx | 24 +- apps/frontend/components/CommandPalette.tsx | 17 +- apps/frontend/components/MemberAvatar.tsx | 8 +- apps/frontend/components/MiniRaidCard.tsx | 56 +- apps/frontend/components/Navbar.tsx | 23 +- apps/frontend/components/RaidCard.tsx | 13 +- .../components/RaidDetailsSidebar.tsx | 18 +- .../RaidPartyInfo/RaidPartyButtons.tsx | 26 +- .../RaidPartyInfo/RaidPartyCard.tsx | 73 +- apps/frontend/components/RaidUpdateForm.tsx | 96 +- apps/frontend/components/RaidUpdatesFeed.tsx | 47 +- .../frontend/components/TransactionsTable.tsx | 83 +- apps/frontend/contexts/OverlayContext.tsx | 5 + apps/frontend/gql/queries/raids.ts | 2 + apps/frontend/hooks/useAccounting.ts | 9 +- apps/frontend/hooks/useMemberList.ts | 9 +- apps/frontend/hooks/useRaidCreate.ts | 10 +- apps/frontend/hooks/useRaidUpdate.ts | 14 +- apps/frontend/pages/_app.tsx | 24 +- apps/frontend/pages/accounting.tsx | 40 +- .../pages/applications/[application].tsx | 2 +- apps/frontend/pages/raids/[raid].tsx | 67 +- apps/frontend/types/accounting.ts | 3 + apps/frontend/types/auth.ts | 4 +- apps/frontend/utils/auth/token.ts | 9 +- apps/frontend/utils/chains.ts | 52 +- apps/frontend/utils/constants.ts | 4 + package.json | 6 +- yarn.lock | 994 +++++++++++++++--- 31 files changed, 1297 insertions(+), 463 deletions(-) create mode 100644 apps/frontend/auth.d.ts diff --git a/apps/frontend/.eslintrc.json b/apps/frontend/.eslintrc.json index a26a5ded..322fe019 100644 --- a/apps/frontend/.eslintrc.json +++ b/apps/frontend/.eslintrc.json @@ -10,10 +10,7 @@ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "rules": { - "@next/next/no-html-link-for-pages": [ - "error", - "apps/dungeon-master-v2/pages" - ] + "@next/next/no-html-link-for-pages": ["error", "apps/frontend/pages"] } }, { diff --git a/apps/frontend/auth.d.ts b/apps/frontend/auth.d.ts new file mode 100644 index 00000000..597d9d49 --- /dev/null +++ b/apps/frontend/auth.d.ts @@ -0,0 +1,17 @@ +import 'next-auth'; + +declare module 'next-auth' { + interface User { + id?: string; + address?: string; + } + + interface Session { + token?: string; + user?: User; + } + + interface JWT { + user: User; + } +} diff --git a/apps/frontend/components/BalancesTable.tsx b/apps/frontend/components/BalancesTable.tsx index a31db3a8..3b8f7c4b 100644 --- a/apps/frontend/components/BalancesTable.tsx +++ b/apps/frontend/components/BalancesTable.tsx @@ -23,7 +23,11 @@ const columns = [ columnHelper.accessor('token.symbol', { id: 'tokenSymbol', cell: (info) => ( - + {info.getValue()} ), @@ -72,15 +76,13 @@ const columns = [ }), ]; -const BalancesTable = ({ data }: BalancesTableProps) => { - return ( - - ); -}; +const BalancesTable = ({ data }: BalancesTableProps) => ( + +); export default BalancesTable; diff --git a/apps/frontend/components/CommandPalette.tsx b/apps/frontend/components/CommandPalette.tsx index ce548c43..3be263da 100644 --- a/apps/frontend/components/CommandPalette.tsx +++ b/apps/frontend/components/CommandPalette.tsx @@ -12,10 +12,11 @@ import 'react-cmdk/dist/cmdk.css'; import useSearchResults from '../hooks/useSearchResults'; import ChakraNextLink from './ChakraNextLink'; +import { useOverlay } from '../contexts/OverlayContext'; const CommandPaletteInternalLink = ({ href, children }) => ( - + {children} @@ -24,14 +25,14 @@ const CommandPaletteInternalLink = ({ href, children }) => ( let timeout = null; const CommandPalette = () => { - const [page, setPage] = useState<'root' | 'projects'>('root'); - const [open, setOpen] = useState(false); + const [page] = useState<'root' | 'projects'>('root'); + const { commandPallet: isOpen, setCommandPallet: setOpen } = useOverlay(); const [search, setSearch] = useState(''); const [serverSearch, setServerSearch] = useState(null); const [localResults, setLocalResults] = useState(null); const { data: session } = useSession(); const token = _.get(session, 'token'); - const { data: searchData, isLoading } = useSearchResults({ + const { data: searchData } = useSearchResults({ token, search: serverSearch, }); @@ -141,10 +142,10 @@ const CommandPalette = () => { onChangeSearch={setSearchTimeout} onChangeOpen={handleClose} search={search} - isOpen={open} + isOpen={isOpen} page={page} > - + {filteredItems.length ? ( filteredItems.map((list) => ( @@ -180,13 +181,13 @@ const CommandPalette = () => { )) ) : ( - + )} - + {/* Projects page */} diff --git a/apps/frontend/components/MemberAvatar.tsx b/apps/frontend/components/MemberAvatar.tsx index dc2366f1..57089f73 100644 --- a/apps/frontend/components/MemberAvatar.tsx +++ b/apps/frontend/components/MemberAvatar.tsx @@ -1,6 +1,6 @@ import _ from 'lodash'; import { Avatar, Tooltip } from '@raidguild/design-system'; -import { useEnsAvatar, useEnsName, chain } from 'wagmi'; +import { useEnsAvatar, useEnsName, mainnet } from 'wagmi'; import { IMember, memberDisplayName } from '../utils'; import * as blockies from 'blockies-ts'; @@ -12,12 +12,12 @@ const MemberAvatar = ({ member }: MemberAvatarProps) => { const address = _.get(member, 'ethAddress'); const { data: ensName } = useEnsName({ address, - chainId: chain.mainnet.id, + chainId: mainnet.id, enabled: !!address, }); let { data: avatarSrc } = useEnsAvatar({ address, - chainId: chain.mainnet.id, + chainId: mainnet.id, enabled: !!address, cacheTime: 360_000, }); @@ -36,7 +36,7 @@ const MemberAvatar = ({ member }: MemberAvatarProps) => { return ( diff --git a/apps/frontend/components/MiniRaidCard.tsx b/apps/frontend/components/MiniRaidCard.tsx index 73d78090..e7ef4b28 100644 --- a/apps/frontend/components/MiniRaidCard.tsx +++ b/apps/frontend/components/MiniRaidCard.tsx @@ -1,5 +1,12 @@ import _ from 'lodash'; -import { Card, Flex, Heading, Stack, HStack, Text } from '@raidguild/design-system'; +import { + Card, + Flex, + Heading, + Stack, + HStack, + Text, +} from '@raidguild/design-system'; import { format } from 'date-fns'; import { IRaid, IConsultation } from '../types'; import ChakraNextLink from './ChakraNextLink'; @@ -28,30 +35,29 @@ const MiniRaidCard = ({ : `/consultations/${_.get(consultation, 'id')}` } > - - - - {_.get(raid, 'name', _.get(consultation, 'name'))} - - - - {newRaid && - _.get(raid, 'createdAt', _.get(consultation, 'createdAt')) && ( - - {format( - new Date( - _.get(raid, 'createdAt', _.get(consultation, 'createdAt')) - ), - 'Pp' - )} - - )} - - - {!noAvatar && } + + + + + {_.get(raid, 'name', _.get(consultation, 'name'))} + + + + {newRaid && + _.get(raid, 'createdAt', _.get(consultation, 'createdAt')) && ( + + {format( + new Date( + _.get(raid, 'createdAt', _.get(consultation, 'createdAt')) + ), + 'Pp' + )} + + )} + + + {!noAvatar && } + ); diff --git a/apps/frontend/components/Navbar.tsx b/apps/frontend/components/Navbar.tsx index d5dcb985..a27acc2b 100644 --- a/apps/frontend/components/Navbar.tsx +++ b/apps/frontend/components/Navbar.tsx @@ -13,6 +13,7 @@ import { AiOutlineClose } from 'react-icons/ai'; import { HiSearch } from 'react-icons/hi'; import Link from './ChakraNextLink'; import ConnectWallet from './ConnectWallet'; +import { useOverlay } from '../contexts/OverlayContext'; const links = [ { href: '/raids', label: 'Raids' }, @@ -28,12 +29,13 @@ interface NavItem { const Navbar = () => { const { isOpen, onToggle } = useDisclosure(); + const { setCommandPallet: setOpen } = useOverlay(); return ( - + - + 🏰 @@ -41,11 +43,16 @@ const Navbar = () => { - - + + setOpen(true)} + > @@ -84,10 +91,10 @@ const Navbar = () => { const DesktopNav = () => { return ( - + {_.map(links, ({ href, label }) => ( - {label} + {label} ))} @@ -109,7 +116,7 @@ const MobileNavItem = ({ href, label }: NavItem) => { return ( - {label} + {label} ); diff --git a/apps/frontend/components/RaidCard.tsx b/apps/frontend/components/RaidCard.tsx index 143af4b9..e289e07a 100644 --- a/apps/frontend/components/RaidCard.tsx +++ b/apps/frontend/components/RaidCard.tsx @@ -6,7 +6,6 @@ import { Button, Text, HStack, - Box, Card, Icon, Tooltip, @@ -74,13 +73,9 @@ const RaidCard: React.FC = ({ raid, consultation }: RaidProps) => { const [upTo780] = useMediaQuery('(max-width: 780px)'); return ( - + = ({ raid, consultation }: RaidProps) => { - + = ({ raid, consultation }: RaidProps) => { )} {latestUpdate && ( - + Last Status Update diff --git a/apps/frontend/components/RaidDetailsSidebar.tsx b/apps/frontend/components/RaidDetailsSidebar.tsx index 5e66ba76..f189fd75 100644 --- a/apps/frontend/components/RaidDetailsSidebar.tsx +++ b/apps/frontend/components/RaidDetailsSidebar.tsx @@ -1,6 +1,6 @@ import React from 'react'; import _ from 'lodash'; -import { HStack, Button, Text, Stack, Modal } from '@raidguild/design-system'; +import { HStack, Button, Text, Stack } from '@raidguild/design-system'; import { IRaid } from '../utils'; import StatusUpdateForm from './StatusUpdateForm'; import RaidUpdateForm from './RaidUpdateForm'; @@ -31,18 +31,18 @@ const RaidDetailsSidebar: React.FC = ({ return ( - - = ({ } /> { // TODO check against current localRoles await updateRolesRequired({ @@ -95,7 +93,7 @@ const RaidPartyButtons = ({ const StartProcess = () => ( ) : ( - ) @@ -203,11 +202,11 @@ const RaidPartyCard = ({ > {updateCleric ? ( - + } - aria-label="Clear Set Raider for Raid" + variant='outline' + icon={} + aria-label='Clear Set Raider for Raid' onClick={() => setUpdateCleric(false)} /> {!_.isEmpty(members) && ( @@ -224,7 +223,7 @@ const RaidPartyCard = ({ )} ) : ( - + Unclaimed )} @@ -241,12 +240,12 @@ const RaidPartyCard = ({ icon={ } - aria-label="Switch Cleric" - variant="outline" + aria-label='Switch Cleric' + variant='outline' onClick={handleSwitchCleric} /> } @@ -254,15 +253,15 @@ const RaidPartyCard = ({ {member && } - - + + {_.get(member, 'name')} - + {GUILD_CLASS_DISPLAY[_.get(member, 'guildClass.guildClass')]} @@ -276,15 +275,15 @@ const RaidPartyCard = ({ + ) : ( - + ) } - aria-label="Remove roles" + aria-label='Remove roles' onClick={!clearRoles ? clearRoleClick : saveUpdatedRoles} isDisabled /> @@ -298,21 +297,21 @@ const RaidPartyCard = ({ icon={ } > {clearRoles && ( removeLocalRole(role)} @@ -321,7 +320,7 @@ const RaidPartyCard = ({ )) ) : ( - No Roles Needed + No Roles Needed )} @@ -348,24 +347,24 @@ const RaidPartyCard = ({ button={ submitRemoveRaider(_.get(member, 'id'))} - icon={} - aria-label="Remove Raider" - variant="outline" + icon={} + aria-label='Remove Raider' + variant='outline' /> } > {member && } - - + + {_.get(member, 'name')} - + {GUILD_CLASS_DISPLAY[_.get(member, 'guildClass.guildClass')]} diff --git a/apps/frontend/components/RaidUpdateForm.tsx b/apps/frontend/components/RaidUpdateForm.tsx index fae61d76..33c9eb4c 100644 --- a/apps/frontend/components/RaidUpdateForm.tsx +++ b/apps/frontend/components/RaidUpdateForm.tsx @@ -31,8 +31,12 @@ const RaidUpdateForm: React.FC = ({ raid, }: RaidUpdateFormProps) => { const [sending, setSending] = useState(false); - const [startDate, setStartDate] = useState(new Date()); - const [endDate, setEndDate] = useState(add(new Date(), { weeks: 1 })); + const [startDate, setStartDate] = useState( + new Date(raid?.startDate) ?? new Date() + ); + const [endDate, setEndDate] = useState( + new Date(raid?.endDate) ?? add(new Date(), { weeks: 1 }) + ); const { data: session } = useSession(); const token = _.get(session, 'token'); const { mutateAsync: updateRaidStatus } = useRaidUpdate({ token, raidId }); @@ -54,7 +58,8 @@ const RaidUpdateForm: React.FC = ({ await updateRaidStatus({ raid_updates: { name: values.raidName ?? raid.raidName, - category_key: values.raidCategory ?? raid.raidCategory.raidCategory, + category_key: + values.raidCategory.value ?? raid.raidCategory.raidCategory, status_key: raid.status ?? raid.status, start_date: values.startDate ?? raid.startDate, end_date: values.endDate ?? raid.endDate, @@ -64,51 +69,52 @@ const RaidUpdateForm: React.FC = ({ setSending(false); } + const selectedCategory = RAID_CATEGORY_OPTIONS.find( + (v) => v.value === raid?.raidCategory.raidCategory + ); + const CustomCalInput = forwardRef(({ value, onClick }, ref) => ( - )); + console.log(raid); return ( - + - - + +
- Raid Category + Raid Category ( )} diff --git a/apps/frontend/components/RaidUpdatesFeed.tsx b/apps/frontend/components/RaidUpdatesFeed.tsx index 68a4a201..10f1d2c4 100644 --- a/apps/frontend/components/RaidUpdatesFeed.tsx +++ b/apps/frontend/components/RaidUpdatesFeed.tsx @@ -39,6 +39,7 @@ const RaidUpdatesFeed: React.FC = ({ raid }) => { const [expanded, setExpanded] = useState(false); const [sortedUpdates, setSortedUpdates] = useState(); const token: string = _.get(session, 'token', ''); + const { mutateAsync } = useUpdateCreate({ token, memberId: _.get(session, 'user.id'), @@ -76,22 +77,19 @@ const RaidUpdatesFeed: React.FC = ({ raid }) => { const [upTo780] = useMediaQuery('(max-width: 780px)'); return ( - - - - + + + + Status Updates {addUpdate ? ( - - @@ -99,7 +97,7 @@ const RaidUpdatesFeed: React.FC = ({ raid }) => { } onClick={showUpdateBox} - aria-label="Add new update" + aria-label='Add new update' /> ) : ( @@ -108,21 +106,20 @@ const RaidUpdatesFeed: React.FC = ({ raid }) => { - + {addUpdate && ( - +