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/proposal_details/components/overview/styles.ts | packages/ui/src/screens/proposal_details/components/overview/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .label': {
color: theme.palette.custom.fonts.fontThree,
},
'& .content': {
marginBottom: theme.spacing(2),
display: 'block',
[theme.breakpoints.up('lg')]: {
display: 'flex',... | 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/proposal_details/components/overview/components/index.ts | packages/ui/src/screens/proposal_details/components/overview/components/index.ts | import CommunityPoolSpend from '@/screens/proposal_details/components/overview/components/community_pool_spend';
import ParamsChange from '@/screens/proposal_details/components/overview/components/params_change';
import SoftwareUpgrade from '@/screens/proposal_details/components/overview/components/software_upgrade';
... | 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/proposal_details/components/overview/components/community_pool_spend/index.tsx | packages/ui/src/screens/proposal_details/components/overview/components/community_pool_spend/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import Name from '@/components/name';
type communityPoolSpendProps = {
recipient: string;
recipientMoniker: string;
amountRequested: string;
};
const CommunityPoolSpend: FC<c... | 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/proposal_details/components/overview/components/software_upgrade/index.tsx | packages/ui/src/screens/proposal_details/components/overview/components/software_upgrade/index.tsx | import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';
import TableCell from '@mui/material/TableCell';
import TableRow from '@mui/material/TableRow';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import { FC } from 'react';
type SoftwareUp... | 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/proposal_details/components/overview/components/update_params/index.tsx | packages/ui/src/screens/proposal_details/components/overview/components/update_params/index.tsx | import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import Accordion from '@mui/material/Accordion';
import AccordionSummary from '@mui/material/AccordionSummary';
import AccordionDetails from '@mui/material/AccordionDetails';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore... | 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/proposal_details/components/overview/components/params_change/index.tsx | packages/ui/src/screens/proposal_details/components/overview/components/params_change/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/proposal_details/components/deposits/index.tsx | packages/ui/src/screens/proposal_details/components/deposits/index.tsx | import Box from '@/components/box';
import { usePagination } from '@/hooks/use_pagination';
import useShallowMemo from '@/hooks/useShallowMemo';
import Desktop from '@/screens/proposal_details/components/deposits/components/desktop';
import Mobile from '@/screens/proposal_details/components/deposits/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/proposal_details/components/deposits/styles.ts | packages/ui/src/screens/proposal_details/components/deposits/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
overflow: 'hidden',
},
list: {
flex: 1,
},
title: {
marginBottom: theme.spacing(2),
},
}));
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/proposal_details/components/deposits/types.ts | packages/ui/src/screens/proposal_details/components/deposits/types.ts | export interface DepositType {
amount: TokenUnit;
user: string;
timestamp: string;
}
export interface DepositState {
data: DepositType[];
}
export type ItemType = DepositType;
| 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/proposal_details/components/deposits/hooks.ts | packages/ui/src/screens/proposal_details/components/deposits/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import {
ProposalDetailsDepositsQuery,
useProposalDetailsDepositsQuery,
} from '@/graphql/types/general_types';
import type { DepositState } from '@/screens/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/proposal_details/components/deposits/components/index.ts | packages/ui/src/screens/proposal_details/components/deposits/components/index.ts | import Desktop from '@/screens/proposal_details/components/deposits/components/desktop';
import Mobile from '@/screens/proposal_details/components/deposits/components/mobile';
import Paginate from '@/screens/proposal_details/components/deposits/components/paginate';
export { Desktop, Mobile, Paginate };
| 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/proposal_details/components/deposits/components/mobile/index.tsx | packages/ui/src/screens/proposal_details/components/deposits/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 { useRecoilValue } from 'recoil';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } 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/proposal_details/components/deposits/components/mobile/styles.ts | packages/ui/src/screens/proposal_details/components/deposits/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/proposal_details/components/deposits/components/desktop/index.tsx | packages/ui/src/screens/proposal_details/components/deposits/components/desktop/index.tsx | /* eslint-disable no-nested-ternary */
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/useAppT... | 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/proposal_details/components/deposits/components/desktop/utils.tsx | packages/ui/src/screens/proposal_details/components/deposits/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'depositor',
width: 40,
},
{
key: 'amount',
width: 30,
align: 'right',
},
{
key: 'time',
width: 30,
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/proposal_details/components/deposits/components/paginate/index.test.tsx | packages/ui/src/screens/proposal_details/components/deposits/components/paginate/index.test.tsx | import renderer from 'react-test-renderer';
import Paginate from '@/screens/proposal_details/components/deposits/components/paginate';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/pagination', () => (props:... | 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/proposal_details/components/deposits/components/paginate/index.tsx | packages/ui/src/screens/proposal_details/components/deposits/components/paginate/index.tsx | import { ComponentProps, FC } from 'react';
import Pagination from '@/components/pagination';
import useStyles from '@/screens/proposal_details/components/deposits/components/paginate/styles';
type Properties = 'total' | 'page' | 'rowsPerPage' | 'handlePageChange' | 'handleRowsPerPageChange';
type PaginateProps = Pick... | 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/proposal_details/components/deposits/components/paginate/styles.ts | packages/ui/src/screens/proposal_details/components/deposits/components/paginate/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
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/app/index.test.tsx | packages/ui/src/screens/app/index.test.tsx | import MyApp from '@/screens/app';
import { mockClient } from '@/tests/mocks/mockApollo';
import type { Router } from 'next/router';
import renderer from 'react-test-renderer';
// ==================================
// mocks
// ==================================
jest.mock('@/graphql/useApollo', () => () => mockClient);... | 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/app/index.tsx | packages/ui/src/screens/app/index.tsx | import chainConfig from '@/chainConfig';
import useApollo from '@/graphql/useApollo';
import { useWindowOrigin } from '@/hooks/use_window';
import Main, { MainProps } from '@/screens/app/components/main';
import { useApp } from '@/screens/app/hooks';
import {
ADDITIONAL_LINK_TAGS_SEO,
ADDITIONAL_META_TAGS,
OPEN_G... | 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/app/utils.tsx | packages/ui/src/screens/app/utils.tsx | import chainConfig from '@/chainConfig';
const { basePath, previewImage } = chainConfig();
export const OPEN_GRAPH_SEO = {
type: 'website',
site_name: 'Big Dipper',
images: [
{
url: previewImage ?? '',
width: 800,
height: 600,
alt: 'Preview Photo',
},
],
};
export const TWITTE... | 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/app/hooks.ts | packages/ui/src/screens/app/hooks.ts | import chainConfig from '@/chainConfig';
import { init } from '@socialgouv/matomo-next';
import * as jdenticon from 'jdenticon';
import useAppTranslation from '@/hooks/useAppTranslation';
import { useEffect, useRef } from 'react';
const { chainType, marketing } = chainConfig();
const matomoUrls = [process.env.NEXT_PUB... | 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/app/components/index.ts | packages/ui/src/screens/app/components/index.ts | import InnerApp from '@/screens/app/components/inner_app';
import Main from '@/screens/app/components/main';
export { InnerApp, Main };
| 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/app/components/recoil_debugger/index.tsx | packages/ui/src/screens/app/components/recoil_debugger/index.tsx | /* eslint-disable */
import { useEffect } from 'react';
import { useRecoilSnapshot } from 'recoil';
function DebugObserver() {
const snapshot = useRecoilSnapshot();
useEffect(() => {
console.log('The following atoms were modified:');
for (const node of snapshot.getNodes_UNSTABLE({ isModified: true })) {
... | 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/app/components/main/index.tsx | packages/ui/src/screens/app/components/main/index.tsx | import useBigDipperNetworks from '@/hooks/useBigDipperNetworks';
import { useMarketRecoil } from '@/recoil/market';
import { useSettingsRecoil } from '@/recoil/settings';
import { useValidatorRecoil } from '@/recoil/validators/hooks';
import { useUserRecoil } from '@/recoil/user';
import { useWalletRecoil } from '@/rec... | 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/app/components/main/hooks.ts | packages/ui/src/screens/app/components/main/hooks.ts | import { createTheme } from '@mui/material/styles';
import { useState } from 'react';
import { useRecoilValue } from 'recoil';
import chainConfig from '@/chainConfig';
import { getThemeTemplate, readTheme } from '@/recoil/settings';
import dayjs from '@/utils/dayjs';
const { genesis } = chainConfig();
export const us... | 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/app/components/inner_app/index.test.tsx | packages/ui/src/screens/app/components/inner_app/index.test.tsx | import InnerApp from '@/screens/app/components/inner_app';
import { mockClient } from '@/tests/mocks/mockApollo';
import type { Router } from 'next/router';
import renderer from 'react-test-renderer';
// ==================================
// global setup
// ==================================
let component: renderer.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/app/components/inner_app/index.tsx | packages/ui/src/screens/app/components/inner_app/index.tsx | import { AnimatePresence } from 'framer-motion';
import { AppProps } from 'next/app';
import { useChainHealthCheck } from '@/screens/app/components/inner_app/hooks';
function InnerApp({ Component, pageProps }: AppProps) {
useChainHealthCheck();
return (
<AnimatePresence mode="wait" initial={false}>
<Comp... | 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/app/components/inner_app/hooks.test.tsx | packages/ui/src/screens/app/components/inner_app/hooks.test.tsx | import { useChainHealthCheck } from '@/screens/app/components/inner_app/hooks';
import { mockClient } from '@/tests/mocks/mockApollo';
import { ApolloProvider } from '@apollo/client';
import { cleanup, renderHook } from '@testing-library/react';
jest.mock('react-toastify', () => ({
toast: jest.fn(),
}));
describe('... | 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/app/components/inner_app/hooks.ts | packages/ui/src/screens/app/components/inner_app/hooks.ts | import useAppTranslation from '@/hooks/useAppTranslation';
import { useEffect, useState } from 'react';
import { toast } from 'react-toastify';
import dayjs from '@/utils/dayjs';
import { useLatestBlockTimestampLazyQuery } from '@/graphql/types/general_types';
const isClient = typeof window === 'object';
export funct... | 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/error/index.tsx | packages/ui/src/screens/error/index.tsx | import useStyles from '@/screens/error/styles';
import { HOME } from '@/utils/go_to_page';
import Typography from '@mui/material/Typography';
import AppTrans from '@/components/AppTrans';
import useAppTranslation from '@/hooks/useAppTranslation';
import { useRouter } from 'next/router';
import { FC, useCallback } 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/error/styles.ts | packages/ui/src/screens/error/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'column',
minHeight: '100vh',
padding: theme.spacing(6),
'& .MuiTypography-h2': {
marginBottom: theme.spac... | 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/validator_details/index.tsx | packages/ui/src/screens/validator_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 Blocks from '@/screens/validator_details/components/blocks';
import Profile from '@/screens/validator_details/component... | 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/validator_details/styles.ts | packages/ui/src/screens/validator_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',
gridTemplateColumns: '1fr',
gridTemplateRows: 'auto',
gap: theme.spacing(1),
'& a': {
colo... | 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/validator_details/types.ts | packages/ui/src/screens/validator_details/types.ts | export interface OverviewType {
validator: string;
operatorAddress: string;
selfDelegateAddress: string;
description: string;
website: string;
}
export interface StatusType {
inActiveSet?: string;
jailed: boolean;
tombstoned: boolean;
commission: number;
signedBlockWindow: number;
missedBlockCoun... | 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/validator_details/hooks.ts | packages/ui/src/screens/validator_details/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useCallback, useEffect, useState } from 'react';
import chainConfig from '@/chainConfig';
import {
useValidatorVotingPowersQuery,
ValidatorVotingPowersQuery,
useValidatorInfoQuery,
ValidatorInfoQuery,
ValidatorAddressQuery,
useVal... | 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/validator_details/components/index.ts | packages/ui/src/screens/validator_details/components/index.ts | import Blocks from '@/screens/validator_details/components/blocks';
import Profile from '@/screens/validator_details/components/profile';
import Staking from '@/screens/validator_details/components/staking';
import Transactions from '@/screens/validator_details/components/transactions';
import ValidatorOverview 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/validator_details/components/blocks/index.tsx | packages/ui/src/screens/validator_details/components/blocks/index.tsx | import Tooltip from '@mui/material/Tooltip';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import { FC } from 'react';
import Loading from '@/components/loading';
import AvatarName from '@/components/avatar_name';
import Box ... | 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/validator_details/components/blocks/styles.ts | packages/ui/src/screens/validator_details/components/blocks/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles()((theme) => ({
root: {
'& .MuiTypography-h2': {
marginBottom: theme.spacing(2),
},
},
blocks: {
display: 'flex',
flexWrap: 'wrap',
margin: theme.spacing(-0.25),
},
singleBlock: {
... | 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/validator_details/components/blocks/hooks.ts | packages/ui/src/screens/validator_details/components/blocks/hooks.ts | import { useRouter } from 'next/router';
import { useState } from 'react';
import {
LastHundredBlocksSubscription,
useLastHundredBlocksSubscription,
} from '@/graphql/types/general_types';
const formatLastHundredBlocks = (data: LastHundredBlocksSubscription) =>
data.block.map((x) => ({
height: x.height,
... | 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/validator_details/components/staking/index.tsx | packages/ui/src/screens/validator_details/components/staking/index.tsx | /* eslint-disable no-nested-ternary */
import numeral from 'numeral';
import { FC, useState } from 'react';
import Box from '@/components/box';
import TabPanel from '@/components/tab_panel';
import Delegations from '@/screens/validator_details/components/staking/components/delegations';
import Redelgations from '@/scre... | 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/validator_details/components/staking/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/types.ts | packages/ui/src/screens/validator_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 {
address: string;
amount: TokenUnit;
}
export interface RedelegationType {
address: string;
to: stri... | 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/validator_details/components/staking/hooks.ts | packages/ui/src/screens/validator_details/components/staking/hooks.ts | import Big from 'big.js';
import { useRouter } from 'next/router';
import * as R from 'ramda';
import { SyntheticEvent, useCallback, useEffect, useState } from 'react';
import chainConfig from '@/chainConfig';
import {
useValidatorDelegationsQuery,
useValidatorRedelegationsQuery,
useValidatorUndelegationsQuery,
}... | 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/validator_details/components/staking/components/index.ts | packages/ui/src/screens/validator_details/components/staking/components/index.ts | import Delegations from '@/screens/validator_details/components/staking/components/delegations';
import Redelgations from '@/screens/validator_details/components/staking/components/redelegations';
import Tabs from '@/screens/validator_details/components/staking/components/tabs';
import Unbondings from '@/screens/valida... | 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/validator_details/components/staking/components/redelegations/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/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/validator_details/components/staking/components/redelegations/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/redelegations/types.ts | packages/ui/src/screens/validator_details/components/staking/components/redelegations/types.ts | import type { RedelegationType } from '@/screens/validator_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/validator_details/components/staking/components/redelegations/components/index.ts | packages/ui/src/screens/validator_details/components/staking/components/redelegations/components/index.ts | import Desktop from '@/screens/validator_details/components/staking/components/redelegations/components/desktop';
import Mobile from '@/screens/validator_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/validator_details/components/staking/components/redelegations/components/mobile/index.tsx | packages/ui/src/screens/validator_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, Fragment } from 'react';
import { useRecoilValue } from 'recoil';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } 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/validator_details/components/staking/components/redelegations/components/mobile/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/redelegations/components/desktop/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/components/redelegations/components/desktop/utils.tsx | packages/ui/src/screens/validator_details/components/staking/components/redelegations/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'address',
width: 25,
},
{
key: 'to',
width: 25,
},
{
key: 'amount',
align: 'right',
width: 20,
},
{
key: 'completionTime',
align: 'righ... | 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/validator_details/components/staking/components/delegations/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/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/validator_details/components/staking/components/delegations/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/delegations/types.ts | packages/ui/src/screens/validator_details/components/staking/components/delegations/types.ts | import type { DelegationType } from '@/screens/validator_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/validator_details/components/staking/components/delegations/components/index.ts | packages/ui/src/screens/validator_details/components/staking/components/delegations/components/index.ts | import Desktop from '@/screens/validator_details/components/staking/components/delegations/components/desktop';
import Mobile from '@/screens/validator_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/validator_details/components/staking/components/delegations/components/mobile/index.tsx | packages/ui/src/screens/validator_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, Fragment } from 'react';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } from '@/recoil/profiles/hooks';
import 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/validator_details/components/staking/components/delegations/components/mobile/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/delegations/components/desktop/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/components/delegations/components/desktop/utils.tsx | packages/ui/src/screens/validator_details/components/staking/components/delegations/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'address',
width: 50,
},
{
key: 'amount',
width: 50,
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/validator_details/components/staking/components/tabs/index.test.tsx | packages/ui/src/screens/validator_details/components/staking/components/tabs/index.test.tsx | import renderer from 'react-test-renderer';
import TabsHeader from '@/screens/validator_details/components/staking/components/tabs';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// unit tests
// ==================================
describe('screen: Validators/Tabs', () => {
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/validator_details/components/staking/components/tabs/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/components/ta... | 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/validator_details/components/staking/components/tabs/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/unbondings/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/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/validator_details/components/staking/components/unbondings/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/unbondings/types.ts | packages/ui/src/screens/validator_details/components/staking/components/unbondings/types.ts | import type { UnbondingType } from '@/screens/validator_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/validator_details/components/staking/components/unbondings/components/index.ts | packages/ui/src/screens/validator_details/components/staking/components/unbondings/components/index.ts | import Desktop from '@/screens/validator_details/components/staking/components/unbondings/components/desktop';
import Mobile from '@/screens/validator_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/validator_details/components/staking/components/unbondings/components/mobile/index.tsx | packages/ui/src/screens/validator_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, Fragment } from 'react';
import { useRecoilValue } from 'recoil';
import AvatarName from '@/components/avatar_name';
import { useProfileRecoil } 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/validator_details/components/staking/components/unbondings/components/mobile/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/staking/components/unbondings/components/desktop/index.tsx | packages/ui/src/screens/validator_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/validator_details/components/staking/components/unbondings/components/desktop/utils.tsx | packages/ui/src/screens/validator_details/components/staking/components/unbondings/components/desktop/utils.tsx | export const columns: {
key: string;
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
width: number;
}[] = [
{
key: 'address',
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/validator_details/components/validator_overview/index.tsx | packages/ui/src/screens/validator_details/components/validator_overview/index.tsx | import Box from '@/components/box';
import ConditionExplanation from '@/components/condition_explanation';
import InfoPopover from '@/components/info_popover';
import Tag from '@/components/tag';
import { useAddress } from '@/screens/validator_details/components/validator_overview/hooks';
import useStyles from '@/scree... | 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/validator_details/components/validator_overview/utils.tsx | packages/ui/src/screens/validator_details/components/validator_overview/utils.tsx | import { getValidatorStatus } from '@/utils/get_validator_status';
export const getStatusTheme = getValidatorStatus;
export const getCondition = (condition: number, status: number) => {
let result = 'na';
if (status === 3) {
if (condition > 90) {
result = 'good';
} else if (condition > 70 && conditi... | 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/validator_details/components/validator_overview/styles.ts | packages/ui/src/screens/validator_details/components/validator_overview/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
addressRoot: {
[theme.breakpoints.up('md')]: {
display: 'grid',
gridTemplateColumns: 'repeat(2,1fr)',
},
},
actionIcons: {
'&:hover': {
cursor: 'pointer',
},
},
icons: {
'& svg': {
... | 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/validator_details/components/validator_overview/hooks.ts | packages/ui/src/screens/validator_details/components/validator_overview/hooks.ts | import copy from 'copy-to-clipboard';
import type { TFunction } from '@/hooks/useAppTranslation';
import { useCallback } from 'react';
import { toast } from 'react-toastify';
export const useAddress = (t: TFunction) => {
const handleCopyToClipboard = useCallback(
(value: string) => {
copy(value);
toa... | 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/validator_details/components/profile/index.test.tsx | packages/ui/src/screens/validator_details/components/profile/index.test.tsx | import renderer from 'react-test-renderer';
import Profile from '@/screens/validator_details/components/profile';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/box', () => (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/validator_details/components/profile/index.tsx | packages/ui/src/screens/validator_details/components/profile/index.tsx | import Avatar from '@/components/avatar';
import Box from '@/components/box';
import Markdown from '@/components/markdown';
import { useProfileRecoil } from '@/recoil/profiles/hooks';
import useStyles from '@/screens/validator_details/components/profile/styles';
import { useDisplayStyles } from '@/styles/useSharedStyle... | 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/validator_details/components/profile/styles.ts | packages/ui/src/screens/validator_details/components/profile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {},
tag: {
'& .MuiTypography-body1': {
lineHeight: 1,
},
},
bio: {
display: 'flex',
gap: theme.spacing(2),
'& .bio__header': {
display: 'flex',
alignItems: 'flex-start',
ju... | 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/validator_details/components/transactions/index.tsx | packages/ui/src/screens/validator_details/components/transactions/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC, useEffect } from 'react';
import { SetterOrUpdater, useRecoilState, useRecoilValue } 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/validator_details/components/transactions/styles.ts | packages/ui/src/screens/validator_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/validator_details/components/transactions/types.ts | packages/ui/src/screens/validator_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/validator_details/components/transactions/hooks.ts | packages/ui/src/screens/validator_details/components/transactions/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { useState, useEffect } from 'react';
import { convertMsgsToModels } from '@/components/msg/utils';
import {
GetMessagesByAddressQuery,
useGetMessagesByAddressQuery,
} from '@/graphql/types/general_types';
import type { TransactionState } f... | 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/validator_details/components/voting_power/index.tsx | packages/ui/src/screens/validator_details/components/voting_power/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import Link from 'next/link';
import numeral from 'numeral';
import { FC } from 'react';
import chainConfig from '@/chainConfig';
import { BLOCK_DETAILS } from '@/utils/go_to_page';
import useStyles from '@/scr... | 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/validator_details/components/voting_power/styles.ts | packages/ui/src/screens/validator_details/components/voting_power/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles<{ percentage: number }>()((theme, { percentage }) => ({
root: {
'& .MuiTypography-h2': {
marginBottom: theme.spacing(2),
},
},
data: {
display: 'flex',
alignItems: 'flex-end',
'& .primary... | 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/validators/index.test.tsx | packages/ui/src/screens/validators/index.test.tsx | import renderer from 'react-test-renderer';
import Validators from '@/screens/validators';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/layout', () => (props: JSX.IntrinsicElements['div']) => (
<div id="L... | 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/validators/index.tsx | packages/ui/src/screens/validators/index.tsx | import { NextSeo } from 'next-seo';
import useAppTranslation from '@/hooks/useAppTranslation';
import Layout from '@/components/layout';
import List from '@/screens/validators/components/list';
import useStyles from '@/screens/validators/styles';
const Validators = () => {
const { t } = useAppTranslation('validators... | 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/validators/styles.ts | packages/ui/src/screens/validators/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/validators/components/index.ts | packages/ui/src/screens/validators/components/index.ts | import List from '@/screens/validators/components/list';
export { 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/validators/components/list/index.test.tsx | packages/ui/src/screens/validators/components/list/index.test.tsx | import { ValidatorsDocument } from '@/graphql/types/general_types';
import List from '@/screens/validators/components/list';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import { ApolloProvider } from '@apollo/client';
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/validators/components/list/index.tsx | packages/ui/src/screens/validators/components/list/index.tsx | import { FC, ReactNode, useMemo } from 'react';
import Box from '@/components/box';
import LoadAndExist from '@/components/load_and_exist';
import NoData from '@/components/no_data';
import useShallowMemo from '@/hooks/useShallowMemo';
import { useProfilesRecoil } from '@/recoil/profiles/hooks';
import Desktop 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/validators/components/list/styles.ts | packages/ui/src/screens/validators/components/list/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
list: {
minHeight: '500px',
height: '50vh',
[theme.breakpoints.up('lg')]: {
minHeight: '65vh',
},
},
mobile: {
height: '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/validators/components/list/types.ts | packages/ui/src/screens/validators/components/list/types.ts | export interface ValidatorType {
validator: string;
votingPower: number;
votingPowerPercent: number;
commission: number;
condition: number;
status: number;
jailed: boolean;
tombstoned: boolean;
topVotingPower?: boolean; // top 34% VP
}
export interface ValidatorsState {
loading: boolean;
exists: ... | 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/validators/components/list/hooks.ts | packages/ui/src/screens/validators/components/list/hooks.ts | import Big from 'big.js';
import numeral from 'numeral';
import * as R from 'ramda';
import { SyntheticEvent, useCallback, useState } from 'react';
import chainConfig from '@/chainConfig';
import { useValidatorsQuery, ValidatorsQuery } from '@/graphql/types/general_types';
import { SlashingParams } from '@/models';
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/validators/components/list/components/index.ts | packages/ui/src/screens/validators/components/list/components/index.ts | import Condition from '@/screens/validators/components/list/components/condition';
import Desktop from '@/screens/validators/components/list/components/desktop';
import Mobile from '@/screens/validators/components/list/components/mobile';
import Tabs from '@/screens/validators/components/list/components/tabs';
import V... | 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/validators/components/list/components/mobile/index.tsx | packages/ui/src/screens/validators/components/list/components/mobile/index.tsx | import AvatarName from '@/components/avatar_name';
import { useList, useListRow } from '@/hooks/use_react_window';
import Condition from '@/screens/validators/components/list/components/condition';
import SingleValidator from '@/screens/validators/components/list/components/mobile/component/single_validator';
import Vo... | 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/validators/components/list/components/mobile/component/index.ts | packages/ui/src/screens/validators/components/list/components/mobile/component/index.ts | import SingleValidator from '@/screens/validators/components/list/components/mobile/component/single_validator';
export { SingleValidator };
| 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/validators/components/list/components/mobile/component/single_validator/index.tsx | packages/ui/src/screens/validators/components/list/components/mobile/component/single_validator/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC, ReactNode } from 'react';
import useStyles from '@/screens/validators/components/list/components/mobile/component/single_validator/styles';
type SingleValidatorProps = {
className?: string;
va... | 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/validators/components/list/components/mobile/component/single_validator/styles.ts | packages/ui/src/screens/validators/components/list/components/mobile/component/single_validator/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
margin: theme.spacing(2, 0),
},
item: {
marginBottom: theme.spacing(2),
'& .label': {
marginBottom: theme.spacing(1),
color: theme.palette.custom.fonts.fontThree,
'&.popover': {
... | 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/validators/components/list/components/desktop/index.tsx | packages/ui/src/screens/validators/components/list/components/desktop/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import { ComponentProps, CSSProperties, FC, LegacyRef, ReactNode } from 'react';
import AutoSizer from 'react-virtualized-auto-sizer';
import { VariableSizeGrid as Grid } from 're... | 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.