repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/components/single_block/index.tsx | packages/ui/src/screens/home/components/data_blocks/components/single_block/index.tsx | import Typography from '@mui/material/Typography';
import { FC } from 'react';
import useStyles from '@/screens/home/components/data_blocks/components/single_block/styles';
type SingleBlockProps = {
className?: string;
label: string;
value: string;
description?: string;
Icon?: JSX.Element;
};
const SingleBl... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/components/single_block/styles.ts | packages/ui/src/screens/home/components/data_blocks/components/single_block/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
padding: theme.spacing(2),
background: theme.palette.primary.main,
borderRadius: theme.shape.borderRadius,
height: '110px',
display: 'flex',
flexDirection: 'column',
alignItems: 'flex-start',
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/index.tsx | packages/ui/src/screens/home/components/hero/index.tsx | import Box from '@/components/box';
import Loading from '@/components/loading';
import OnlineVotingPower from '@/screens/home/components/hero/components/online_voting_power';
import TokenPrice from '@/screens/home/components/hero/components/token_price';
import { useHero } from '@/screens/home/components/hero/hooks';
i... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/types.ts | packages/ui/src/screens/home/components/hero/types.ts | export interface TokenPriceType {
time: string;
value: number;
}
export interface HeroState {
loading: boolean;
exists: boolean;
tokenPriceHistory: TokenPriceType[];
}
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/hooks.ts | packages/ui/src/screens/home/components/hero/hooks.ts | import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import { useTokenPriceHistoryQuery } from '@/graphql/types/general_types';
import type { HeroState } from '@/screens/home/components/hero/types';
const { primaryTokenUnit, tokenUnits } = chainConfig();
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/index.ts | packages/ui/src/screens/home/components/hero/components/index.ts | import OnlineVotingPower from '@/screens/home/components/hero/components/online_voting_power';
import TokenPrice from '@/screens/home/components/hero/components/token_price';
export { OnlineVotingPower, TokenPrice };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/token_price/index.tsx | packages/ui/src/screens/home/components/hero/components/token_price/index.tsx | import { usePrice } from '@/screens/home/components/hero/components/token_price/hooks';
import useStyles from '@/screens/home/components/hero/components/token_price/styles';
import type { TokenPriceType } from '@/screens/home/components/hero/types';
import Typography from '@mui/material/Typography';
import useAppTransl... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/token_price/styles.ts | packages/ui/src/screens/home/components/hero/components/token_price/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()(() => ({
chart: {
height: '285px',
width: '100%',
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/token_price/hooks.ts | packages/ui/src/screens/home/components/hero/components/token_price/hooks.ts | import numeral from 'numeral';
import dayjs, { formatDayJs } from '@/utils/dayjs';
import { useMemo, useRef, useEffect } from 'react';
import {
createChart,
LineStyle,
PriceScaleMode,
ColorType,
UTCTimestamp,
TimeScaleOptions,
Time,
} from 'lightweight-charts';
import { useRecoilValue } from 'recoil';
imp... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/online_voting_power/index.test.tsx | packages/ui/src/screens/home/components/hero/components/online_voting_power/index.test.tsx | import { OnlineVotingPowerDocument } from '@/graphql/types/general_types';
import OnlineVotingPower from '@/screens/home/components/hero/components/online_voting_power';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/online_voting_power/index.tsx | packages/ui/src/screens/home/components/hero/components/online_voting_power/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import { FC } from 'react';
import chainConfig from '@/chainConfig';
import useStyles from '@/screens/home/components/hero/components/online_voting_power/styles';
import { useOnli... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/online_voting_power/styles.ts | packages/ui/src/screens/home/components/hero/components/online_voting_power/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles<{ percentage: number | string }>()((theme, { percentage }) => ({
root: {
display: 'flex',
flexDirection: 'column',
'& .MuiTypography-h2': {
marginBottom: theme.spacing(2),
},
},
data: {
d... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/hero/components/online_voting_power/hooks.ts | packages/ui/src/screens/home/components/hero/components/online_voting_power/hooks.ts | import numeral from 'numeral';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import { OnlineVotingPowerQuery, useOnlineVotingPowerQuery } from '@/graphql/types/general_types';
import { formatToken } from '@/utils/format_token';
const { votingPowerTo... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/index.test.tsx | packages/ui/src/screens/home/components/transactions/index.test.tsx | import { TransactionsListenerDocument } from '@/graphql/types/general_types';
import Transactions from '@/screens/home/components/transactions';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import { ApolloProvider } from '... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/index.tsx | packages/ui/src/screens/home/components/transactions/index.tsx | /* eslint-disable no-nested-ternary */
import Box from '@/components/box';
import Loading from '@/components/loading';
import NoData from '@/components/no_data';
import Desktop from '@/screens/home/components/transactions/components/desktop';
import Mobile from '@/screens/home/components/transactions/components/mobile'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/styles.ts | packages/ui/src/screens/home/components/transactions/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
flexDirection: 'column',
'& a': {
color: theme.palette.custom.fonts.highlight,
},
'& .button': {
color: theme.palette.custom.fonts.fontTwo,
'&:hover': {
curs... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/types.ts | packages/ui/src/screens/home/components/transactions/types.ts | export interface TransactionType {
height: number;
hash: string;
type: string[];
success: boolean;
timestamp: string;
messages: number;
}
export interface TransactionsState {
loading: boolean;
items: TransactionType[];
}
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/hooks.ts | packages/ui/src/screens/home/components/transactions/hooks.ts | import * as R from 'ramda';
import { useState } from 'react';
import {
TransactionsListenerSubscription,
useTransactionsListenerSubscription,
} from '@/graphql/types/general_types';
import type { TransactionsState } from '@/screens/home/components/transactions/types';
import { convertMsgType } from '@/utils/convert... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/index.ts | packages/ui/src/screens/home/components/transactions/components/index.ts | import Desktop from '@/screens/home/components/transactions/components/desktop';
import Mobile from '@/screens/home/components/transactions/components/mobile';
export { Desktop, Mobile };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/mobile/index.test.tsx | packages/ui/src/screens/home/components/transactions/components/mobile/index.test.tsx | import renderer from 'react-test-renderer';
import Mobile from '@/screens/home/components/transactions/components/mobile';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/single_transaction_mobile', () => (pro... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/mobile/index.tsx | packages/ui/src/screens/home/components/transactions/components/mobile/index.tsx | import Result from '@/components/result';
import SingleTransactionMobile from '@/components/single_transaction_mobile';
import Tag from '@/components/tag';
import Timestamp from '@/components/Timestamp';
import type { TransactionType } from '@/screens/home/components/transactions/types';
import { getMiddleEllipsis } fr... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/desktop/index.test.tsx | packages/ui/src/screens/home/components/transactions/components/desktop/index.test.tsx | import renderer from 'react-test-renderer';
import Desktop from '@/screens/home/components/transactions/components/desktop';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/result', () => (props: JSX.Intrinsic... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/desktop/index.tsx | packages/ui/src/screens/home/components/transactions/components/desktop/index.tsx | import Result from '@/components/result';
import Tag from '@/components/tag';
import Timestamp from '@/components/Timestamp';
import useStyles from '@/screens/home/components/transactions/components/desktop/styles';
import { columns } from '@/screens/home/components/transactions/components/desktop/utils';
import type {... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/desktop/utils.tsx | packages/ui/src/screens/home/components/transactions/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'block',
width: 20,
},
{
key: 'hash',
width: 20,
},
{
key: 'type',
width: 20,
},
{
key: 'result',
align: 'right',
width: 20,
},
{
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/transactions/components/desktop/styles.ts | packages/ui/src/screens/home/components/transactions/components/desktop/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()(() => ({
root: {
overflow: 'auto',
},
table: {
'& .MuiTableBody-root': {
'& .MuiTableCell-root': {
whiteSpace: 'nowrap',
height: 'auto',
},
},
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/consensus/index.tsx | packages/ui/src/screens/home/components/consensus/index.tsx | import AvatarName from '@/components/avatar_name';
import Box from '@/components/box';
import Loading from '@/components/loading';
import { useProfileRecoil } from '@/recoil/profiles/hooks';
import { useConsensus } from '@/screens/home/components/consensus/hooks';
import useStyles from '@/screens/home/components/consen... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/consensus/styles.ts | packages/ui/src/screens/home/components/consensus/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles()((theme) => ({
root: {
height: '100%',
display: 'flex',
justifyContent: 'center',
flexDirection: 'column',
overflow: 'auto',
},
content: {
flex: 1,
display: 'flex',
alignItems: 'ce... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/consensus/hooks.ts | packages/ui/src/screens/home/components/consensus/hooks.ts | import numeral from 'numeral';
import * as R from 'ramda';
import { useCallback, useEffect, useState } from 'react';
import chainConfig from '@/chainConfig';
import useShallowMemo from '@/hooks/useShallowMemo';
import { hexToBech32 } from '@/utils/hex_to_bech32';
const { endpoints, prefix } = chainConfig();
/* Checki... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/tokenomics/index.test.tsx | packages/ui/src/screens/home/components/tokenomics/index.test.tsx | import { TokenomicsDocument } from '@/graphql/types/general_types';
import Tokenomics from '@/screens/home/components/tokenomics';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import { ApolloProvider } from '@apollo/client... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/tokenomics/index.tsx | packages/ui/src/screens/home/components/tokenomics/index.tsx | import chainConfig from '@/chainConfig';
import Box from '@/components/box';
import CustomToolTip, { type CustomToolTipData } from '@/components/custom_tool_tip';
import { useTokenomics } from '@/screens/home/components/tokenomics/hooks';
import useStyles from '@/screens/home/components/tokenomics/styles';
import Typog... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/tokenomics/styles.ts | packages/ui/src/screens/home/components/tokenomics/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
height: '100%',
display: 'flex',
justifyContent: 'center',
flexDirection: 'column',
},
label: {
marginBottom: theme.spacing(2),
},
data: {
display: 'flex',
'& .data__item': {
wid... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/tokenomics/hooks.ts | packages/ui/src/screens/home/components/tokenomics/hooks.ts | import numeral from 'numeral';
import { useState } from 'react';
import { TokenomicsQuery, useTokenomicsQuery } from '@/graphql/types/general_types';
import { StakingParams } from '@/models';
import { formatToken } from '@/utils/format_token';
type TokenomicsState = {
bonded: number;
unbonded: number;
unbonding:... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/index.tsx | packages/ui/src/screens/account_details/index.tsx | import { NextSeo } from 'next-seo';
import useAppTranslation from '@/hooks/useAppTranslation';
import DesmosProfile from '@/components/desmos_profile';
import Layout from '@/components/layout';
import LoadAndExist from '@/components/load_and_exist';
import Balance from '@/screens/account_details/components/balance';
im... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/utils.tsx | packages/ui/src/screens/account_details/utils.tsx | import { useEffect, useMemo } from 'react';
import {
useAccountBalancesQuery,
useAccountCommissionQuery,
useAccountDelegationBalanceQuery,
useAccountDelegationRewardsQuery,
useAccountUnbondingBalanceQuery,
useAccountWithdrawalAddressQuery,
} from '@/graphql/types/general_types';
import { toValidatorAddress ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/styles.ts | packages/ui/src/screens/account_details/styles.ts | import { CSSObject } from '@emotion/react';
import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
...(theme.mixins.layout as CSSObject),
display: 'grid',
gridTemplateRows: 'auto',
gap: theme.spacing(1),
'& a': {
color: theme.palette.custom.fonts.hi... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/types.ts | packages/ui/src/screens/account_details/types.ts | export interface OverviewType {
address: string;
withdrawalAddress: string;
}
export interface BalanceType {
available: TokenUnit;
delegate: TokenUnit;
unbonding: TokenUnit;
reward: TokenUnit;
commission?: TokenUnit;
total: TokenUnit;
}
export interface OtherTokenType {
denom: string;
available: T... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/hooks.ts | packages/ui/src/screens/account_details/hooks.ts | import Big from 'big.js';
import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useEffect, useState } from 'react';
import chainConfig from '@/chainConfig';
import { useDesmosProfile } from '@/hooks/use_desmos_profile';
import type {
BalanceType,
OtherTokenType,
AccountWithdra... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/index.ts | packages/ui/src/screens/account_details/components/index.ts | export { default as Balance } from '@/screens/account_details/components/balance';
export { default as OtherTokens } from '@/screens/account_details/components/other_tokens';
export { default as Overview } from '@/screens/account_details/components/overview';
export { default as Staking } from '@/screens/account_detail... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/index.tsx | packages/ui/src/screens/account_details/components/staking/index.tsx | import { FC, useState } from 'react';
import Box from '@/components/box';
import TabPanel from '@/components/tab_panel';
import Delegations from '@/screens/account_details/components/staking/components/delegations';
import Redelgations from '@/screens/account_details/components/staking/components/redelegations';
import... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/styles.ts | packages/ui/src/screens/account_details/components/staking/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
overflow: 'hidden',
[theme.breakpoints.up('md')]: {
// display: 'flex',
// flexDirection: 'column',
},
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/types.ts | packages/ui/src/screens/account_details/components/staking/types.ts | import { ApolloError } from '@apollo/client';
export type StakingType<T> = {
data: T[];
count: number | undefined;
loading: boolean;
error: ApolloError | undefined;
};
export interface DelegationType {
validator: string;
amount: TokenUnit;
reward: TokenUnit;
commission?: number;
}
export interface Re... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/hooks.ts | packages/ui/src/screens/account_details/components/staking/hooks.ts | import Big from 'big.js';
import { useRouter } from 'next/router';
import numeral from 'numeral';
import * as R from 'ramda';
import { SyntheticEvent, useCallback, useEffect, useState } from 'react';
import chainConfig from '@/chainConfig';
import {
useAccountDelegationsQuery,
useAccountRedelegationsQuery,
useAcc... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/index.ts | packages/ui/src/screens/account_details/components/staking/components/index.ts | import Delegations from '@/screens/account_details/components/staking/components/delegations';
import Redelgations from '@/screens/account_details/components/staking/components/redelegations';
import Tabs from '@/screens/account_details/components/staking/components/tabs';
import Unbondings from '@/screens/account_deta... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/index.tsx | packages/ui/src/screens/account_details/components/staking/components/redelegations/index.tsx | import Loading from '@/components/loading';
import NoData from '@/components/no_data';
import Pagination from '@/components/pagination';
import { usePagination } from '@/hooks/use_pagination';
import useShallowMemo from '@/hooks/useShallowMemo';
import Desktop from '@/screens/account_details/components/staking/componen... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/styles.ts | packages/ui/src/screens/account_details/components/staking/components/redelegations/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
paginate: {
marginTop: theme.spacing(3),
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/types.ts | packages/ui/src/screens/account_details/components/staking/components/redelegations/types.ts | import type { RedelegationType } from '@/screens/account_details/components/staking/types';
export type ItemType = RedelegationType;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/components/index.ts | packages/ui/src/screens/account_details/components/staking/components/redelegations/components/index.ts | import Desktop from '@/screens/account_details/components/staking/components/redelegations/components/desktop';
import Mobile from '@/screens/account_details/components/staking/components/redelegations/components/mobile';
export { Desktop, Mobile };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/components/mobile/index.tsx | packages/ui/src/screens/account_details/components/staking/components/redelegations/components/mobile/index.tsx | import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import { useRecoilValue } from 'recoil';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } from '@/recoil/pr... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/components/mobile/styles.ts | packages/ui/src/screens/account_details/components/staking/components/redelegations/components/mobile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
list: {
margin: theme.spacing(2, 0),
},
item: {
marginBottom: theme.spacing(2),
'& .label': {
marginBottom: theme.spacing(1),
color: theme.palette.custom.fonts.fontThree,
},
'& p.value': {
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/components/desktop/index.tsx | packages/ui/src/screens/account_details/components/staking/components/redelegations/components/desktop/index.tsx | import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';
import TableCell from '@mui/material/TableCell';
import TableHead from '@mui/material/TableHead';
import TableRow from '@mui/material/TableRow';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/redelegations/components/desktop/utils.tsx | packages/ui/src/screens/account_details/components/staking/components/redelegations/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'from',
width: 25,
},
{
key: 'to',
width: 25,
},
{
key: 'amount',
align: 'right',
width: 25,
},
{
key: 'completionTime',
align: 'right',... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/index.tsx | packages/ui/src/screens/account_details/components/staking/components/delegations/index.tsx | import Loading from '@/components/loading';
import NoData from '@/components/no_data';
import Pagination from '@/components/pagination';
import { usePagination } from '@/hooks/use_pagination';
import useShallowMemo from '@/hooks/useShallowMemo';
import Desktop from '@/screens/account_details/components/staking/componen... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/styles.ts | packages/ui/src/screens/account_details/components/staking/components/delegations/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
paginate: {
marginTop: theme.spacing(3),
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/types.ts | packages/ui/src/screens/account_details/components/staking/components/delegations/types.ts | import type { DelegationType } from '@/screens/account_details/components/staking/types';
export type ItemType = DelegationType;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/components/index.ts | packages/ui/src/screens/account_details/components/staking/components/delegations/components/index.ts | import Desktop from '@/screens/account_details/components/staking/components/delegations/components/desktop';
import Mobile from '@/screens/account_details/components/staking/components/delegations/components/mobile';
export { Desktop, Mobile };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/components/mobile/index.tsx | packages/ui/src/screens/account_details/components/staking/components/delegations/components/mobile/index.tsx | import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } from '@/recoil/profiles/hooks';
import useStyles from '@/s... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/components/mobile/styles.ts | packages/ui/src/screens/account_details/components/staking/components/delegations/components/mobile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
list: {
margin: theme.spacing(2, 0),
},
item: {
marginBottom: theme.spacing(2),
'& .label': {
marginBottom: theme.spacing(1),
color: theme.palette.custom.fonts.fontThree,
},
'& p.value': {
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/components/desktop/index.tsx | packages/ui/src/screens/account_details/components/staking/components/delegations/components/desktop/index.tsx | import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';
import TableCell from '@mui/material/TableCell';
import TableHead from '@mui/material/TableHead';
import TableRow from '@mui/material/TableRow';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/delegations/components/desktop/utils.tsx | packages/ui/src/screens/account_details/components/staking/components/delegations/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'validator',
width: 25,
},
{
key: 'amount',
width: 25,
align: 'right',
},
{
key: 'commission',
width: 25,
align: 'right',
},
{
key: 'rew... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/tabs/index.test.tsx | packages/ui/src/screens/account_details/components/staking/components/tabs/index.test.tsx | import renderer from 'react-test-renderer';
import TabsHeader from '@/screens/account_details/components/staking/components/tabs';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// unit tests
// ==================================
describe('screen: Validators/Tabs', () => {
it(... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/tabs/index.tsx | packages/ui/src/screens/account_details/components/staking/components/tabs/index.tsx | import Tab from '@mui/material/Tab';
import Tabs from '@mui/material/Tabs';
import useAppTranslation from '@/hooks/useAppTranslation';
import { ComponentProps, FC, ReactNode } from 'react';
import { a11yProps } from '@/utils/a11yProps';
import useStyles from '@/screens/account_details/components/staking/components/tabs... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/tabs/styles.ts | packages/ui/src/screens/account_details/components/staking/components/tabs/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
},
searchBar: {
display: 'none',
[theme.breakpoints.up('lg')]: {
display: 'block',
width: '300px',
'& .Mui... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/index.tsx | packages/ui/src/screens/account_details/components/staking/components/unbondings/index.tsx | import Loading from '@/components/loading';
import NoData from '@/components/no_data';
import Pagination from '@/components/pagination';
import { usePagination } from '@/hooks/use_pagination';
import useShallowMemo from '@/hooks/useShallowMemo';
import Desktop from '@/screens/account_details/components/staking/componen... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/styles.ts | packages/ui/src/screens/account_details/components/staking/components/unbondings/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
paginate: {
marginTop: theme.spacing(3),
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/types.ts | packages/ui/src/screens/account_details/components/staking/components/unbondings/types.ts | import type { UnbondingType } from '@/screens/account_details/components/staking/types';
export type ItemType = UnbondingType;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/components/index.ts | packages/ui/src/screens/account_details/components/staking/components/unbondings/components/index.ts | import Desktop from '@/screens/account_details/components/staking/components/unbondings/components/desktop';
import Mobile from '@/screens/account_details/components/staking/components/unbondings/components/mobile';
export { Desktop, Mobile };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/components/mobile/index.tsx | packages/ui/src/screens/account_details/components/staking/components/unbondings/components/mobile/index.tsx | import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import { useRecoilValue } from 'recoil';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } from '@/recoil/pr... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/components/mobile/styles.ts | packages/ui/src/screens/account_details/components/staking/components/unbondings/components/mobile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
list: {
margin: theme.spacing(2, 0),
},
item: {
marginBottom: theme.spacing(2),
'& .label': {
marginBottom: theme.spacing(1),
color: theme.palette.custom.fonts.fontThree,
},
'& p.value': {
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/components/desktop/index.tsx | packages/ui/src/screens/account_details/components/staking/components/unbondings/components/desktop/index.tsx | import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';
import TableCell from '@mui/material/TableCell';
import TableHead from '@mui/material/TableHead';
import TableRow from '@mui/material/TableRow';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/staking/components/unbondings/components/desktop/utils.tsx | packages/ui/src/screens/account_details/components/staking/components/unbondings/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'validator',
width: 40,
},
{
key: 'amount',
align: 'right',
width: 30,
},
{
key: 'completionTime',
align: 'right',
width: 30,
},
];
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/transactions/index.tsx | packages/ui/src/screens/account_details/components/transactions/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC, useEffect } from 'react';
import { useRecoilValue, SetterOrUpdater, useRecoilState } from 'recoil';
import Box from '@/components/box';
import TransactionsList from '@/components/transactions_list'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/transactions/styles.ts | packages/ui/src/screens/account_details/components/transactions/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .MuiTypography-h2': {
marginBottom: theme.spacing(2),
},
},
list: {
minHeight: '500px',
height: '50vh',
[theme.breakpoints.up('lg')]: {
minHeight: '65vh',
},
},
}));
export d... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/transactions/types.ts | packages/ui/src/screens/account_details/components/transactions/types.ts | export interface TransactionState {
hasNextPage: boolean;
isNextPageLoading: boolean;
offsetCount: number;
data: Transactions[];
}
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/transactions/hooks.ts | packages/ui/src/screens/account_details/components/transactions/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useEffect, useRef, useState } from 'react';
import { convertMsgsToModels } from '@/components/msg/utils';
import {
GetMessagesByAddressQuery,
useGetMessagesByAddressQuery,
} from '@/graphql/types/general_types';
import type { TransactionS... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/index.tsx | packages/ui/src/screens/account_details/components/other_tokens/index.tsx | import Box from '@/components/box';
import Pagination from '@/components/pagination';
import { usePagination } from '@/hooks/use_pagination';
import useShallowMemo from '@/hooks/useShallowMemo';
import Desktop from '@/screens/account_details/components/other_tokens/components/desktop';
import Mobile from '@/screens/acc... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/styles.ts | packages/ui/src/screens/account_details/components/other_tokens/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
paginate: {
marginTop: theme.spacing(3),
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/components/index.ts | packages/ui/src/screens/account_details/components/other_tokens/components/index.ts | import Desktop from '@/screens/account_details/components/other_tokens/components/desktop';
import Mobile from '@/screens/account_details/components/other_tokens/components/mobile';
export { Desktop, Mobile };
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/components/mobile/index.tsx | packages/ui/src/screens/account_details/components/other_tokens/components/mobile/index.tsx | import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC, Fragment } from 'react';
import { formatNumber } from '@/utils/format_token';
import type { OtherTokenType } from '@/screens/account_details/types';
imp... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/components/mobile/styles.ts | packages/ui/src/screens/account_details/components/other_tokens/components/mobile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
list: {
margin: theme.spacing(2, 0),
width: '100%',
},
item: {
marginBottom: theme.spacing(2),
'& .label': {
marginBottom: theme.spacing(1),
color: theme.palette.custom.fonts.fontThree,
},
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/components/desktop/index.tsx | packages/ui/src/screens/account_details/components/other_tokens/components/desktop/index.tsx | import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';
import TableCell from '@mui/material/TableCell';
import TableHead from '@mui/material/TableHead';
import TableRow from '@mui/material/TableRow';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react'... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/other_tokens/components/desktop/utils.tsx | packages/ui/src/screens/account_details/components/other_tokens/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'token',
width: 25,
},
{
key: 'available',
width: 25,
align: 'right',
},
{
key: 'reward',
width: 25,
align: 'right',
},
{
key: 'commissi... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/balance/index.tsx | packages/ui/src/screens/account_details/components/balance/index.tsx | import chainConfig from '@/chainConfig';
import Box from '@/components/box';
import useShallowMemo from '@/hooks/useShallowMemo';
import { readMarket } from '@/recoil/market';
import useStyles from '@/screens/account_details/components/balance/styles';
import { formatBalanceData } from '@/screens/account_details/compon... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/balance/utils.tsx | packages/ui/src/screens/account_details/components/balance/utils.tsx | import Big from 'big.js';
import { formatNumber } from '@/utils/format_token';
export const formatBalanceData = (data: {
available: TokenUnit;
delegate: TokenUnit;
unbonding: TokenUnit;
reward: TokenUnit;
commission?: TokenUnit;
total?: TokenUnit;
}) => {
const balanceChart = [
{
key: 'balanceA... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/balance/styles.ts | packages/ui/src/screens/account_details/components/balance/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .MuiTypography-h2': {
marginBottom: theme.spacing(2),
},
[theme.breakpoints.up('lg')]: {
display: 'flex',
flexDirection: 'column',
},
},
chart: {
height: '300px',
[theme.b... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/overview/index.test.tsx | packages/ui/src/screens/account_details/components/overview/index.test.tsx | import renderer from 'react-test-renderer';
import Overview from '@/screens/account_details/components/overview';
import MockTheme from '@/tests/mocks/MockTheme';
import { mockClient } from '@/tests/mocks/mockApollo';
import wait from '@/tests/utils/wait';
import { ApolloProvider } from '@apollo/client';
// ==========... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/overview/index.tsx | packages/ui/src/screens/account_details/components/overview/index.tsx | import Box from '@/components/box';
import { useWindowOrigin } from '@/hooks/use_window';
import { useOverview } from '@/screens/account_details/components/overview/hooks';
import useStyles from '@/screens/account_details/components/overview/styles';
import { useDisplayStyles } from '@/styles/useSharedStyles';
import {... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/overview/styles.ts | packages/ui/src/screens/account_details/components/overview/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
[theme.breakpoints.up('md')]: {
display: 'grid',
gridTemplateColumns: 'repeat(2,1fr)',
},
},
dialog: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexDirectio... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/overview/hooks.test.tsx | packages/ui/src/screens/account_details/components/overview/hooks.test.tsx | import { act, cleanup, renderHook } from '@testing-library/react';
import { useOverview } from '@/screens/account_details/components/overview/hooks';
jest.mock('react-toastify', () => ({
toast: jest.fn(),
}));
jest.mock('copy-to-clipboard', () => ({
copy: jest.fn(),
}));
describe('hook: useOverview', () => {
t... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/account_details/components/overview/hooks.ts | packages/ui/src/screens/account_details/components/overview/hooks.ts | import copy from 'copy-to-clipboard';
import type { TFunction } from '@/hooks/useAppTranslation';
import { useState } from 'react';
import { toast } from 'react-toastify';
export const useOverview = (t?: TFunction) => {
const [open, setOpen] = useState(false);
const handleClose = () => {
setOpen(false);
};
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/transactions/index.test.tsx | packages/ui/src/screens/transactions/index.test.tsx | import { TransactionsDocument, TransactionsListenerDocument } from '@/graphql/types/general_types';
import Transactions from '@/screens/transactions';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import { ApolloProvider } ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/transactions/index.tsx | packages/ui/src/screens/transactions/index.tsx | import { NextSeo } from 'next-seo';
import useAppTranslation from '@/hooks/useAppTranslation';
import { SetterOrUpdater, useRecoilState, useRecoilValue } from 'recoil';
import Box from '@/components/box';
import Layout from '@/components/layout';
import LoadAndExist from '@/components/load_and_exist';
import Transactio... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/transactions/styles.ts | packages/ui/src/screens/transactions/styles.ts | import { CSSObject } from '@emotion/react';
import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
...(theme.mixins.layout as CSSObject),
'& a': {
color: theme.palette.custom.fonts.highlight,
},
},
box: {
minHeight: '500px',
height: '50vh',
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/transactions/types.ts | packages/ui/src/screens/transactions/types.ts | export interface TransactionsState {
loading: boolean;
exists: boolean;
hasNextPage: boolean;
isNextPageLoading: boolean;
items: Transactions[];
}
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/transactions/hooks.ts | packages/ui/src/screens/transactions/hooks.ts | import * as R from 'ramda';
import { useState, useEffect, useCallback } from 'react';
import { convertMsgsToModels } from '@/components/msg/utils';
import {
useMessagesByTypesListenerSubscription,
MessagesByTypesListenerSubscription,
useMessagesByTypesQuery,
} from '@/graphql/types/general_types';
import type { T... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/initial_load/index.test.tsx | packages/ui/src/screens/initial_load/index.test.tsx | import renderer from 'react-test-renderer';
import InitialLoad from '@/screens/initial_load';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@mui/material/LinearProgress', () => (props: JSX.IntrinsicElements['div']) => (
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/initial_load/index.tsx | packages/ui/src/screens/initial_load/index.tsx | import LinearProgress from '@mui/material/LinearProgress';
import { useRecoilValue } from 'recoil';
import BigDipperLogoRed from 'shared-utils/assets/big-dipper-red.svg';
import BigDipperLogoWhite from 'shared-utils/assets/big-dipper-white.svg';
import useStyles from '@/screens/initial_load/styles';
import { readTheme ... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/initial_load/styles.ts | packages/ui/src/screens/initial_load/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
minHeight: '100vh',
minWidth: '100vw',
padding: theme.spacing(6),
position: 'fixed',
zIndex: 10000000,
backgroundColor:... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/404/index.tsx | packages/ui/src/screens/404/index.tsx | import { FC } from 'react';
import Layout from '@/components/layout';
import NotFoundLogo from '@/components/not_found';
import useStyles from '@/screens/404/styles';
const NotFound: FC = () => {
const { classes } = useStyles();
return (
<Layout className={classes.root}>
<NotFoundLogo />
</Layout>
... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/404/styles.ts | packages/ui/src/screens/404/styles.ts | import { CSSObject } from '@emotion/react';
import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
...(theme.mixins.layout as CSSObject),
'& a': {
color: theme.palette.custom.fonts.highlight,
},
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
forbole/big-dipper-2.0-cosmos | https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/transaction_details/index.test.tsx | packages/ui/src/screens/transaction_details/index.test.tsx | import { TransactionDetailsDocument } from '@/graphql/types/general_types';
import TransactionDetails from '@/screens/transaction_details';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import { ApolloProvider } from '@apol... | typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.