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/components/sort_arrows/styles.ts | packages/ui/src/components/sort_arrows/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
position: 'relative',
height: '18px',
width: '18px',
},
svg: {
posi... | 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/components/nav/index.test.tsx | packages/ui/src/components/nav/index.test.tsx | import React from 'react';
import renderer from 'react-test-renderer';
import MockTheme from '@/tests/mocks/MockTheme';
import Nav from '@/components/nav';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
// ========================... | 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/components/nav/index.tsx | packages/ui/src/components/nav/index.tsx | import Desktop from '@/components/nav/components/desktop';
import Mobile from '@/components/nav/components/mobile';
import { useDisplayStyles } from '@/styles/useSharedStyles';
import { FC } from 'react';
type NavProps = {
title?: string;
};
const Nav: FC<NavProps> = ({ title }) => {
const display = useDisplaySty... | 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/components/nav/components/index.ts | packages/ui/src/components/nav/components/index.ts | export { default as Desktop } from '@/components/nav/components/desktop';
export { default as MenuItems } from '@/components/nav/components/menu_items';
export { default as Mobile } from '@/components/nav/components/mobile';
export { default as Networks } from '@/components/nav/components/networks';
export { default as... | 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/components/nav/components/title_bar/index.test.tsx | packages/ui/src/components/nav/components/title_bar/index.test.tsx | import renderer from 'react-test-renderer';
import TitleBar from '@/components/nav/components/title_bar';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
// =========================... | 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/components/nav/components/title_bar/index.tsx | packages/ui/src/components/nav/components/title_bar/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import { useRecoilValue } from 'recoil';
import ChainIcon from '@/components/ChainIcon';
import useStyles from '@/components/nav/components/title_bar/styles';
import { formatMarket }... | 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/components/nav/components/title_bar/utils.tsx | packages/ui/src/components/nav/components/title_bar/utils.tsx | import Big from 'big.js';
import { type AtomState } from '@/recoil/market';
import { formatNumber } from '@/utils/format_token';
export const formatMarket = (data: AtomState) => {
const exludedItems = [null, 0];
const marketCap = exludedItems.includes(data.marketCap)
? 'N/A'
: `$${formatNumber(data.marketC... | 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/components/nav/components/title_bar/styles.ts | packages/ui/src/components/nav/components/title_bar/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
padding: theme.spacing(1, 2),
display: 'flex',
justifyContent: 'center',
flexDirection: 'column',
alignItems: 'flex-start',
[theme.breakpoints.up('lg')]: {
padding: theme.spacing(1, 3),
... | 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/components/nav/components/mobile/index.test.tsx | packages/ui/src/components/nav/components/mobile/index.test.tsx | import Mobile from '@/components/nav/components/mobile';
import { mockChainId, mockQuery } from '@/hooks/useBigDipperNetworks/mocks';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
import { ApolloProvider } from '@apollo/cli... | 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/components/nav/components/mobile/index.tsx | packages/ui/src/components/nav/components/mobile/index.tsx | import { FC } from 'react';
import Menu from '@/components/nav/components/mobile/components/menu';
import Navbar from '@/components/nav/components/mobile/components/navbar';
import { useMobile } from '@/components/nav/components/mobile/hooks';
import useStyles from '@/components/nav/components/mobile/styles';
import Ne... | 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/components/nav/components/mobile/styles.ts | packages/ui/src/components/nav/components/mobile/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
zIndex: 500,
width: '100%',
position: 'fixed',
top: '0',
background: theme.palette.background.default,
},
screens: {
opacity: 0,
background: theme.palette.background.paper,
visibility:... | 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/components/nav/components/mobile/hooks.test.tsx | packages/ui/src/components/nav/components/mobile/hooks.test.tsx | import { renderHook, act, cleanup } from '@testing-library/react';
import { useMobile } from '@/components/nav/components/mobile/hooks';
describe('hook: useMobile', () => {
test('correctly toggles menu open', async () => {
const { result } = renderHook(() => useMobile());
// initial
expect(result.current... | 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/components/nav/components/mobile/hooks.ts | packages/ui/src/components/nav/components/mobile/hooks.ts | import * as R from 'ramda';
import { useCallback, useEffect, useState } from 'react';
import { useScreenSize } from '@/hooks/use_screen_size';
type MobileState = {
isMenu?: boolean;
isNetwork?: boolean;
};
export const useMobile = () => {
// ==========================
// globals
// =========================... | 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/components/nav/components/mobile/components/index.ts | packages/ui/src/components/nav/components/mobile/components/index.ts | export { default as Menu } from '@/components/nav/components/mobile/components/menu';
export { default as Navbar } from '@/components/nav/components/mobile/components/navbar';
export { default as SearchBar } from '@/components/nav/components/search_bar';
| 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/components/nav/components/mobile/components/navbar/index.test.tsx | packages/ui/src/components/nav/components/mobile/components/navbar/index.test.tsx | import Navbar from '@/components/nav/components/mobile/components/navbar';
import { mockChainId, mockQuery } from '@/hooks/useBigDipperNetworks/mocks';
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/components/nav/components/mobile/components/navbar/index.tsx | packages/ui/src/components/nav/components/mobile/components/navbar/index.tsx | import useStyles from '@/components/nav/components/mobile/components/navbar/styles';
import type { NavbarProps } from '@/components/nav/components/mobile/components/navbar/types';
import useBigDipperNetworks from '@/hooks/useBigDipperNetworks';
import { readTheme } from '@/recoil/settings';
import { HOME } from '@/util... | 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/components/nav/components/mobile/components/navbar/styles.ts | packages/ui/src/components/nav/components/mobile/components/navbar/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
alignItems: 'flex-start',
justifyContent: 'space-between',
padding: theme.spacing(3, 2, 0),
},
a: {
lineHeight: 0,
zIndex: 200,
},
logo: {
width: '120px',
'&:hover... | 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/components/nav/components/mobile/components/navbar/types.ts | packages/ui/src/components/nav/components/mobile/components/navbar/types.ts | export interface NavbarProps {
isOpen: boolean;
openNetwork: () => void;
toggleNavMenus: () => void;
}
| 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/components/nav/components/mobile/components/menu/index.test.tsx | packages/ui/src/components/nav/components/mobile/components/menu/index.test.tsx | import renderer from 'react-test-renderer';
import Menu from '@/components/nav/components/mobile/components/menu';
import MockTheme from '@/tests/mocks/MockTheme';
import wait from '@/tests/utils/wait';
// ==================================
// globals
// ==================================
let component: renderer.ReactT... | 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/components/nav/components/mobile/components/menu/index.tsx | packages/ui/src/components/nav/components/mobile/components/menu/index.tsx | import MenuItems from '@/components/nav/components/menu_items';
import {
useLanguageDrawer,
useThemeDrawer,
} from '@/components/nav/components/mobile/components/menu/hooks';
import useStyles from '@/components/nav/components/mobile/components/menu/styles';
import type { MenuProps } from '@/components/nav/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/components/nav/components/mobile/components/menu/styles.ts | packages/ui/src/components/nav/components/mobile/components/menu/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles()((theme) => ({
root: {
background: theme?.palette?.background.paper,
display: 'flex',
flexDirection: 'column',
},
menu: {
flex: '1',
},
footerActions: {
display: 'flex',
flexDirection:... | 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/components/nav/components/mobile/components/menu/types.ts | packages/ui/src/components/nav/components/mobile/components/menu/types.ts | export interface MenuProps {
className?: string;
toggleNavMenus: () => void;
}
| 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/components/nav/components/mobile/components/menu/hooks.ts | packages/ui/src/components/nav/components/mobile/components/menu/hooks.ts | import { useCallback, useEffect, useState } from 'react';
import { SetterOrUpdater, useRecoilState } from 'recoil';
import { writeTheme, type Theme } from '@/recoil/settings';
export const useLanguageDrawer = (lang: string, toggleNavMenus: () => void) => {
const [currentLang, setLang] = useState(lang);
const [draw... | 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/components/nav/components/connect_wallet/keplr_utils.ts | packages/ui/src/components/nav/components/connect_wallet/keplr_utils.ts | import { SigningCosmosClient } from '@cosmjs/launchpad';
import { OfflineAminoSigner, OfflineDirectSigner } from '@keplr-wallet/types';
import { toBase64 } from '@cosmjs/encoding';
import { PubKey } from '@/recoil/user/atom';
import { keplrURL } from '@/components/nav/components/connect_wallet/api';
export const isKep... | 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/components/nav/components/connect_wallet/index.tsx | packages/ui/src/components/nav/components/connect_wallet/index.tsx | import AuthorizeConnectionDialog from '@/components/nav/components/connect_wallet/authorize_connection';
import useConnectWalletList from '@/components/nav/components/connect_wallet/hooks';
import InstallKeplrExtensionDialog from '@/components/nav/components/connect_wallet/install_keplr_extension';
import LoginDialog 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/components/nav/components/connect_wallet/api.ts | packages/ui/src/components/nav/components/connect_wallet/api.ts | export const wcBridgeURL = 'https://bridge.walletconnect.org';
export const keplrURL = "https://lcd-cosmoshub.keplr.app/rest'";
| 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/components/nav/components/connect_wallet/styles.ts | packages/ui/src/components/nav/components/connect_wallet/styles.ts | import { makeStyles } from 'tss-react/mui';
const styles = makeStyles()((theme) => ({
actions: {
display: 'flex',
position: 'relative',
bottom: '19px',
right: '16px',
},
actionsButton: {
display: 'flex',
flexDirection: 'row',
padding: '6px 16px',
width: '103px',
height: '40px'... | 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/components/nav/components/connect_wallet/hooks.ts | packages/ui/src/components/nav/components/connect_wallet/hooks.ts | import chainConfig from '@/chainConfig';
import { wcBridgeURL } from '@/components/nav/components/connect_wallet/api';
import {
getAccountKey,
getCosmosClient,
getOfflineSigner,
getOfflineSignerAddress,
getOfflineSignerPubKey,
isKeplrAvailable,
} from '@/components/nav/components/connect_wallet/keplr_utils'... | 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/components/nav/components/connect_wallet/login/index.tsx | packages/ui/src/components/nav/components/connect_wallet/login/index.tsx | import chainConfig from '@/chainConfig';
import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import { ChainInfo } from '@keplr-wallet/types';
import CloseIcon from '@mui/icons-material/Close';
import Button from '@mui/material/Button';
import Dialog from '@mui/material/Dialog';
import DialogC... | 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/components/nav/components/connect_wallet/pair_connect_wallet/index.tsx | packages/ui/src/components/nav/components/connect_wallet/pair_connect_wallet/index.tsx | import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import Dialog from '@mui/material/Dialog';
import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material... | 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/components/nav/components/connect_wallet/pair_keplr_extension/index.tsx | packages/ui/src/components/nav/components/connect_wallet/pair_keplr_extension/index.tsx | import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import Dialog from '@mui/material/Dialog';
import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material... | 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/components/nav/components/connect_wallet/install_keplr_extension/index.tsx | packages/ui/src/components/nav/components/connect_wallet/install_keplr_extension/index.tsx | import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import Dialog from '@mui/material/Dialog';
import DialogTitle from '@mui/material/DialogTitle';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material/Typography';
import CloseIcon from '@mui/icons-material/... | 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/components/nav/components/connect_wallet/login_success/index.tsx | packages/ui/src/components/nav/components/connect_wallet/login_success/index.tsx | import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import Dialog from '@mui/material/Dialog';
import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material... | 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/components/nav/components/connect_wallet/authorize_connection/index.tsx | packages/ui/src/components/nav/components/connect_wallet/authorize_connection/index.tsx | import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import Dialog from '@mui/material/Dialog';
import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material... | 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/components/nav/components/connect_wallet/select_network/index.tsx | packages/ui/src/components/nav/components/connect_wallet/select_network/index.tsx | import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import Button from '@mui/material/Button';
import Dialog from '@mui/material/Dialog';
import DialogActions from '@mui/material/DialogActions';
import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/Di... | 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/components/nav/components/theme_toggle/index.test.tsx | packages/ui/src/components/nav/components/theme_toggle/index.test.tsx | import renderer from 'react-test-renderer';
import MockTheme from '@/tests/mocks/MockTheme';
import ThemeToggle from '@/components/nav/components/theme_toggle/index';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
// =============... | 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/components/nav/components/theme_toggle/index.tsx | packages/ui/src/components/nav/components/theme_toggle/index.tsx | import { FC } from 'react';
import Box from '@mui/material/Box';
import Switch from '@mui/material/Switch';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import useStyles from '@/components/nav/components/theme_toggle/styles';
import useThemeToggle 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/components/nav/components/theme_toggle/styles.ts | packages/ui/src/components/nav/components/theme_toggle/styles.ts | import { makeStyles } from 'tss-react/mui';
import { Theme } from '@mui/material';
const useStyles = makeStyles()((theme: Theme) => ({
switch: {
width: 48,
height: 26,
padding: 0,
'& .MuiSwitch-switchBase': {
padding: 0,
margin: 2,
transitionDuration: '300ms',
'&.Mui-checked':... | 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/components/nav/components/theme_toggle/hooks.test.tsx | packages/ui/src/components/nav/components/theme_toggle/hooks.test.tsx | import { act, renderHook } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import useThemeToggle from '@/components/nav/components/theme_toggle/hooks';
describe('hook: useThemeToggle', () => {
test('change theme on called', () => {
const { result } = renderHook(() => useThemeToggle(), { wrapp... | 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/components/nav/components/theme_toggle/hooks.tsx | packages/ui/src/components/nav/components/theme_toggle/hooks.tsx | /* eslint-disable react-hooks/exhaustive-deps */
import { useState, useEffect } from 'react';
import { SetterOrUpdater, useRecoilState } from 'recoil';
import { THEME_DICTIONARY, writeTheme, Theme } from '@/recoil/settings';
const useThemeToggle = () => {
const [theme, setTheme] = useRecoilState(writeTheme) as [Them... | 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/components/nav/components/desktop/index.test.tsx | packages/ui/src/components/nav/components/desktop/index.test.tsx | import renderer from 'react-test-renderer';
import Desktop from '@/components/nav/components/desktop';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
// ============================... | 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/components/nav/components/desktop/index.tsx | packages/ui/src/components/nav/components/desktop/index.tsx | import AppBar from '@mui/material/AppBar';
import ClickAwayListener from '@mui/material/ClickAwayListener';
import Drawer from '@mui/material/Drawer';
import { FC } from 'react';
import { useRecoilValue } from 'recoil';
import BigDipperLogoRed from 'shared-utils/assets/big-dipper-red.svg';
import BigDipperLogoWhite fro... | 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/components/nav/components/desktop/styles.ts | packages/ui/src/components/nav/components/desktop/styles.ts | import { CSSObject } from '@emotion/react';
import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => {
const OPEN_DRAWER_WIDTH = 230;
const CLOSED_DRAWER_WIDTH = 59;
return {
root: {
'& .MuiDrawer-paperAnchorDockedLeft': {
border: 'none',
},
},
logo: ... | 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/components/nav/components/desktop/hooks.ts | packages/ui/src/components/nav/components/desktop/hooks.ts | import { useEffect, useState } from 'react';
import { useScreenSize } from '@/hooks/use_screen_size';
export const useDesktop = () => {
const { isDesktop } = useScreenSize();
const [isMenu, setMenu] = useState(true);
const [isNetwork, setNetwork] = useState(false);
useEffect(() => {
// if window size shri... | 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/components/nav/components/desktop/components/index.ts | packages/ui/src/components/nav/components/desktop/components/index.ts | import ActionBar from '@/components/nav/components/desktop/components/action_bar';
export { ActionBar };
| 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/components/nav/components/desktop/components/action_bar/index.test.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/index.test.tsx | import renderer from 'react-test-renderer';
import ActionBar from '@/components/nav/components/desktop/components/action_bar';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
// ====... | 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/components/nav/components/desktop/components/action_bar/index.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/index.tsx | // import ConnectWallet from '@/components/nav/components/connect_wallet';
import Network from '@/components/nav/components/desktop/components/action_bar/components/network';
import NetworkList from '@/components/nav/components/desktop/components/action_bar/components/network_list';
import SettingsList from '@/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/components/nav/components/desktop/components/action_bar/styles.ts | packages/ui/src/components/nav/components/desktop/components/action_bar/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
width: '100%',
background: theme.palette.background.default,
display: 'flex',
justifyContent: 'flex-end',
alignItems: 'center',
padding: theme.spacing(3),
},
actions: {
width: '70%',
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/components/nav/components/desktop/components/action_bar/components/index.ts | packages/ui/src/components/nav/components/desktop/components/action_bar/components/index.ts | import Network from '@/components/nav/components/desktop/components/action_bar/components/network';
import NetworkList from '@/components/nav/components/desktop/components/action_bar/components/network_list';
import SettingsList from '@/components/nav/components/desktop/components/action_bar/components/settings_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/components/nav/components/desktop/components/action_bar/components/network_list/index.test.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/network_list/index.test.tsx | import renderer from 'react-test-renderer';
import NetworkList from '@/components/nav/components/desktop/components/action_bar/components/network_list';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.R... | 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/components/nav/components/desktop/components/action_bar/components/network_list/index.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/network_list/index.tsx | import { FC } from 'react';
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 Box from '@/components/box';
import useStyles from '@/components/nav/components/desktop/components... | 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/components/nav/components/desktop/components/action_bar/components/network_list/styles.ts | packages/ui/src/components/nav/components/desktop/components/action_bar/components/network_list/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
background: theme.palette.background.paper,
'& svg': {
width: '216px',
// padding: '16px 12px 20px',
padding: theme.spacing(2, 1.75, 2.5),
},
},
content: {
padding: theme.spacing(3),... | 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/components/nav/components/desktop/components/action_bar/components/settings_list/index.test.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/settings_list/index.test.tsx | import renderer from 'react-test-renderer';
import Settings from '@/components/nav/components/desktop/components/action_bar/components/settings_list';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.Rea... | 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/components/nav/components/desktop/components/action_bar/components/settings_list/index.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/settings_list/index.tsx | import { useSettingList } from '@/components/nav/components/desktop/components/action_bar/components/settings_list/hooks';
import useStyles from '@/components/nav/components/desktop/components/action_bar/components/settings_list/styles';
import { DATE_LIST, TX_LIST } from '@/recoil/settings';
import CloseIcon from '@mu... | 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/components/nav/components/desktop/components/action_bar/components/settings_list/styles.ts | packages/ui/src/components/nav/components/desktop/components/action_bar/components/settings_list/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
icon: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
'&:hover': {
cursor: 'pointer',
},
'& svg': {
fill: theme.palette.custom.general.icon,
'& path': {
fill: ... | 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/components/nav/components/desktop/components/action_bar/components/settings_list/hooks.test.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/settings_list/hooks.test.tsx | import { act, cleanup, renderHook } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { useSettingList } from '@/components/nav/components/desktop/components/action_bar/components/settings_list/hooks';
jest.mock('react-toastify', () => ({
toast: jest.fn(),
}));
jest.mock('next/router', () =... | 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/components/nav/components/desktop/components/action_bar/components/settings_list/hooks.ts | packages/ui/src/components/nav/components/desktop/components/action_bar/components/settings_list/hooks.ts | import { i18n } from 'next-i18next';
import * as R from 'ramda';
import { useCallback, useState } from 'react';
import { useRouter } from 'next/router';
import { SetterOrUpdater, useRecoilState } from 'recoil';
import { writeDate, writeTx, writeTimeFormat } from '@/recoil/settings';
import type { Date, Tx, TimeFormat }... | 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/components/nav/components/desktop/components/action_bar/components/network/index.test.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/network/index.test.tsx | import Network from '@/components/nav/components/desktop/components/action_bar/components/network';
import { mockChainId, mockQuery } from '@/hooks/useBigDipperNetworks/mocks';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import { ApolloProvider } from '@apollo... | 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/components/nav/components/desktop/components/action_bar/components/network/index.tsx | packages/ui/src/components/nav/components/desktop/components/action_bar/components/network/index.tsx | import ChainIcon from '@/components/ChainIcon';
import useStyles from '@/components/nav/components/desktop/components/action_bar/components/network/styles';
import useBigDipperNetworks from '@/hooks/useBigDipperNetworks';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import Typography from '@mui/material... | 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/components/nav/components/desktop/components/action_bar/components/network/styles.ts | packages/ui/src/components/nav/components/desktop/components/action_bar/components/network/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
padding: theme.spacing(0.8, 2),
background: theme.palette.background.paper,
color: theme.palette.custom.fonts.fontTwo,
borderRadius: theme.shape.borderRadius,
display: 'flex',
alignItems: 'center'... | 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/components/nav/components/menu_items/index.test.tsx | packages/ui/src/components/nav/components/menu_items/index.test.tsx | import renderer from 'react-test-renderer';
import MenuItems from '@/components/nav/components/menu_items';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
// ========================... | 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/components/nav/components/menu_items/index.tsx | packages/ui/src/components/nav/components/menu_items/index.tsx | import List from '@mui/material/List';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import useAppTranslation from '@/hooks/useAppTranslation';
import Link from 'next/link';
import { useRouter } 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/components/nav/components/menu_items/utils.tsx | packages/ui/src/components/nav/components/menu_items/utils.tsx | import BlockIcon from 'shared-utils/assets/icon-block.svg';
import HomeIcon from 'shared-utils/assets/icon-home.svg';
import ParamIcon from 'shared-utils/assets/icon-param.svg';
import ProposalsIcon from 'shared-utils/assets/icon-proposals.svg';
import TransactionIcon from 'shared-utils/assets/icon-transaction.svg';
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/components/nav/components/menu_items/styles.ts | packages/ui/src/components/nav/components/menu_items/styles.ts | import Color from 'color';
import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .MuiListItemIcon-root': {
minWidth: '48px',
},
'&.MuiListItem-gutters': {
padding: theme.spacing(2, 2.5),
},
'& .MuiListItemText-root': {
color: theme.p... | 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/components/nav/components/networks/index.test.tsx | packages/ui/src/components/nav/components/networks/index.test.tsx | import Networks from '@/components/nav/components/networks';
import { mockChainId, mockQuery } from '@/hooks/useBigDipperNetworks/mocks';
import { mockClient } from '@/tests/mocks/mockApollo';
import MockTheme from '@/tests/mocks/MockTheme';
import { ApolloProvider } from '@apollo/client';
import { MockedProvider } fro... | 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/components/nav/components/networks/index.tsx | packages/ui/src/components/nav/components/networks/index.tsx | import SingleNetwork from '@/components/nav/components/networks/components/single_network';
import useStyles from '@/components/nav/components/networks/styles';
import useBigDipperNetworks from '@/hooks/useBigDipperNetworks';
import Typography from '@mui/material/Typography';
import Image from 'next/image';
import { FC... | 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/components/nav/components/networks/styles.ts | packages/ui/src/components/nav/components/networks/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
networkList: {
display: 'flex',
alignItems: 'flex-start',
justifyContent: 'flex-start',
'& img': {
width: '25px',
marginRight: theme.spacing(2),
},
'& .network': {
flex: 1,
minWidt... | 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/components/nav/components/networks/components/index.ts | packages/ui/src/components/nav/components/networks/components/index.ts | import SingleNetwork from '@/components/nav/components/networks/components/single_network';
export { SingleNetwork };
| 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/components/nav/components/networks/components/single_network/index.test.tsx | packages/ui/src/components/nav/components/networks/components/single_network/index.test.tsx | import renderer from 'react-test-renderer';
import SingleNetwork from '@/components/nav/components/networks/components/single_network';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
... | 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/components/nav/components/networks/components/single_network/index.tsx | packages/ui/src/components/nav/components/networks/components/single_network/index.tsx | import Typography from '@mui/material/Typography';
import useStyles from '@/components/nav/components/networks/components/single_network/styles';
const SingleNetwork = (props: {
url: string;
chainId: string;
name: string;
className: string;
}) => {
const { url, chainId, name, className } = props;
const { 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/components/nav/components/networks/components/single_network/styles.ts | packages/ui/src/components/nav/components/networks/components/single_network/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
width: '100%',
},
item: {
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
margin: theme.spacing(3, 0),
'& p': {
flex: 1,
whiteSpace: 'nowrap',
overflo... | 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/components/nav/components/search_bar/index.test.tsx | packages/ui/src/components/nav/components/search_bar/index.test.tsx | import renderer from 'react-test-renderer';
import SearchBar from '@/components/nav/components/search_bar';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/search', () => (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/components/nav/components/search_bar/index.tsx | packages/ui/src/components/nav/components/search_bar/index.tsx | import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import chainConfig from '@/chainConfig';
import { useSearchBar } from '@/components/nav/components/search_bar/hooks';
import Search from '@/components/search';
const { extra } = chainConfig();
const SearchBar: FC<{ className?: 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/components/nav/components/search_bar/hooks.test.tsx | packages/ui/src/components/nav/components/search_bar/hooks.test.tsx | import { act, renderHook } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import chainConfig from '@/chainConfig';
import { useSearchBar } from '@/components/nav/components/search_bar/hooks';
const { extra, prefix } = chainConfig();
const mockPush = jest.fn();
jest.mock('next/router', () => ({
... | 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/components/nav/components/search_bar/hooks.ts | packages/ui/src/components/nav/components/search_bar/hooks.ts | import chainConfig from '@/chainConfig';
import { readValidator } from '@/recoil/validators';
import {
ACCOUNT_DETAILS,
BLOCK_DETAILS,
PROFILE_DETAILS,
TRANSACTION_DETAILS,
VALIDATOR_DETAILS,
} from '@/utils/go_to_page';
import { isValidAddress } from '@/utils/prefix_convert';
import type { TFunction } 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/components/nav/components/wallet_details/index.tsx | packages/ui/src/components/nav/components/wallet_details/index.tsx | import useConnectWalletList from '@/components/nav/components/connect_wallet/hooks';
import { useStyles } from '@/components/nav/components/connect_wallet/styles';
import { FC } from 'react';
import Avatar from '@/components/avatar';
import WalletDropDown from '@/components/nav/components/wallet_drop_down';
import { 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/components/nav/components/wallet_drop_down/index.tsx | packages/ui/src/components/nav/components/wallet_drop_down/index.tsx | import Avatar from '@/components/avatar';
import Box from '@/components/box';
import { useStyles } from '@/components/nav/components/wallet_drop_down/styles';
import useAppTranslation from '@/hooks/useAppTranslation';
import { readUserAddress, readWalletName } from '@/recoil/user';
import { useAddress } from '@/screens... | 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/components/nav/components/wallet_drop_down/styles.ts | packages/ui/src/components/nav/components/wallet_drop_down/styles.ts | import { makeStyles } from 'tss-react/mui';
const styles = makeStyles()((theme) => ({
root: {
background: theme.palette.custom.wallet?.background,
top: theme.spacing(8.7),
right: '55px',
opacity: '20%',
zIndex: 1,
borderRadius: theme.spacing(1),
overflow: 'auto',
[theme.breakpoints.up... | 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/components/transaction_messages_filter/index.test.tsx | packages/ui/src/components/transaction_messages_filter/index.test.tsx | import renderer from 'react-test-renderer';
import TransactionMessagesFilter from '@/components/transaction_messages_filter';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
const cal... | 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/components/transaction_messages_filter/index.tsx | packages/ui/src/components/transaction_messages_filter/index.tsx | import InputBase from '@mui/material/InputBase';
import MenuItem from '@mui/material/MenuItem';
import Select from '@mui/material/Select';
import Typography from '@mui/material/Typography';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import useAppTranslation from '@/hooks/useAppTranslation';
import { 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/components/transaction_messages_filter/utils.tsx | packages/ui/src/components/transaction_messages_filter/utils.tsx | export const getFilterLabels = () => [
{
key: 'none',
display: 'none',
},
{
key: 'bank',
display: 'bank',
},
{
key: 'crisis',
display: 'crisis',
},
{
key: 'distribution',
display: 'distribution',
},
{
key: 'governance',
display: 'governance',
},
{
key: '... | 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/components/transaction_messages_filter/styles.ts | packages/ui/src/components/transaction_messages_filter/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
filterLabel: {
display: 'flex',
alignItems: 'center',
justifyContent: 'flex-start',
},
filterIcon: {
width: theme.spacing(2),
height: theme.spacing(2),
marginRight: theme.spacing(1),
},
select: {
... | 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/components/transaction_messages_filter/hooks.test.tsx | packages/ui/src/components/transaction_messages_filter/hooks.test.tsx | import { act, cleanup, renderHook } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { useTransactionsFilter } from '@/components/transaction_messages_filter/hooks';
const callback = jest.fn();
describe('hook: useTransactionsFilter', () => {
test('handles filter selection correctly', () =>... | 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/components/transaction_messages_filter/hooks.ts | packages/ui/src/components/transaction_messages_filter/hooks.ts | import { useState } from 'react';
export const useTransactionsFilter = (callback: (value: string) => void) => {
const [selectedFilter, setSelectedFilter] = useState('');
const handleSelect = (selected: { key: string }) => {
const newSelectedFilter = selected.key === 'none' ? '' : selected.key;
setSelected... | 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/components/tab_panel/index.test.tsx | packages/ui/src/components/tab_panel/index.test.tsx | import renderer from 'react-test-renderer';
import TabPanel from '@/components/tab_panel';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// unit tests
// ==================================
describe('component: TabPanel', () => {
it('matches snapshot', () => {
const 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/components/tab_panel/index.tsx | packages/ui/src/components/tab_panel/index.tsx | import { FC, ReactNode } from 'react';
type TabPanelProps = {
children?: ReactNode;
index: number;
value: number;
className?: string;
};
const TabPanel: FC<TabPanelProps> = (props) => {
const { children, value, index, className } = props;
return (
<div className={className} role="tabpanel" hidden={val... | 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/components/AddressEllipsis/index.tsx | packages/ui/src/components/AddressEllipsis/index.tsx | import { FC, useMemo } from 'react';
import { makeStyles } from 'tss-react/mui';
/* styles */
const useStyles = makeStyles()(() => ({
root: {
display: 'inline-flex',
flexFlow: 'row nowrap',
whiteSpace: 'nowrap',
overflow: 'hidden',
textAlign: 'left',
},
ellipsis: {
display: 'inline-block'... | 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/components/custom_tool_tip/index.test.tsx | packages/ui/src/components/custom_tool_tip/index.test.tsx | import CustomToolTip from '@/components/custom_tool_tip';
import MockTheme from '@/tests/mocks/MockTheme';
import dynamic from 'next/dynamic';
import numeral from 'numeral';
import { ReactNode } from 'react';
import renderer from 'react-test-renderer';
import { Cell, Pie, PieChart, Tooltip } from 'recharts';
const Dyn... | 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/components/custom_tool_tip/index.tsx | packages/ui/src/components/custom_tool_tip/index.tsx | import { FC, ReactNode } from 'react';
import useStyles from '@/components/custom_tool_tip/styles';
export interface CustomToolTipData {
legendKey: string;
percentKey?: string;
value: string;
rawValue: number;
percent: string;
fill: string;
}
type CustomToolTipProps = {
className?: string;
children: (... | 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/components/custom_tool_tip/styles.ts | packages/ui/src/components/custom_tool_tip/styles.ts | import { makeStyles } from 'tss-react/mui';
import Color from 'color';
const useStyles = makeStyles()((theme) => ({
root: {
padding: theme.spacing(2),
background: Color(theme.palette.background.paper).alpha(0.9).string(),
},
}));
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/components/desmos_profile/index.test.tsx | packages/ui/src/components/desmos_profile/index.test.tsx | import renderer from 'react-test-renderer';
import DesmosProfile from '@/components/desmos_profile';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock(
'@/components/desmos_profile/components/connections/components/desktop'... | 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/components/desmos_profile/index.tsx | packages/ui/src/components/desmos_profile/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import numeral from 'numeral';
import { FC } from 'react';
import Avatar from '@/components/avatar';
import Box from '@/components/box';
import Connections from '@/components/desmos_profile/components/connectio... | 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/components/desmos_profile/styles.ts | packages/ui/src/components/desmos_profile/styles.ts | import { makeStyles } from 'tss-react/mui';
import chainConfig from '@/chainConfig';
const { chainName } = chainConfig();
// TODO jss-to-tss-react codemod: Unable to handle style definition reliably. ArrowFunctionExpression in CSS prop.
const useStyles = makeStyles<{ coverUrl?: string }>()((theme, { coverUrl }) => ({... | 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/components/desmos_profile/hooks.test.tsx | packages/ui/src/components/desmos_profile/hooks.test.tsx | import { act, cleanup, renderHook } from '@testing-library/react';
import { useDesmosProfile } from '@/components/desmos_profile/hooks';
describe('hook: useDesmosProfile', () => {
test('handles open connections correctly', () => {
const { result } = renderHook(() => useDesmosProfile());
expect(result.current... | 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/components/desmos_profile/hooks.ts | packages/ui/src/components/desmos_profile/hooks.ts | import { useCallback, useState } from 'react';
export const useDesmosProfile = () => {
const [connectionsOpen, setConnectionsOpen] = useState(false);
const handleConnectionsOpen = useCallback(() => {
setConnectionsOpen(true);
}, []);
const handleConnectionsClose = useCallback(() => {
setConnectionsOp... | 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/components/desmos_profile/components/index.ts | packages/ui/src/components/desmos_profile/components/index.ts | import Connections from '@/components/desmos_profile/components/connections';
export { Connections };
| 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/components/desmos_profile/components/connections/index.tsx | packages/ui/src/components/desmos_profile/components/connections/index.tsx | import Desktop from '@/components/desmos_profile/components/connections/components/desktop';
import Mobile from '@/components/desmos_profile/components/connections/components/mobile';
import useStyles from '@/components/desmos_profile/components/connections/styles';
import Pagination from '@/components/pagination';
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/components/desmos_profile/components/connections/styles.ts | packages/ui/src/components/desmos_profile/components/connections/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
noWrap: {
whiteSpace: 'nowrap',
},
paginate: {
marginTop: theme.spacing(2),
},
icon: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
'&:hover': {
cursor: 'pointer',
},... | 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/components/desmos_profile/components/connections/components/index.ts | packages/ui/src/components/desmos_profile/components/connections/components/index.ts | import Desktop from '@/components/desmos_profile/components/connections/components/desktop';
import Mobile from '@/components/desmos_profile/components/connections/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/components/desmos_profile/components/connections/components/mobile/index.test.tsx | packages/ui/src/components/desmos_profile/components/connections/components/mobile/index.test.tsx | import renderer from 'react-test-renderer';
import Mobile from '@/components/desmos_profile/components/connections/components/mobile';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// global setup
// ==================================
let component: renderer.ReactTestRenderer;
... | 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.