-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into @esteban/refresh-assets-after-swap
- Loading branch information
Showing
16 changed files
with
122 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import clsx from 'clsx'; | ||
import React from 'react'; | ||
|
||
import { i18n } from '~/core/languages'; | ||
import { Box, Inline, Text } from '~/design-system'; | ||
|
||
import { | ||
accountIndexHiddenHoverSiblingStyle, | ||
accountIndexHiddenHoverStyle, | ||
accountIndexHoverContainerStyle, | ||
} from './walletList.css'; | ||
|
||
export const AccountIndex = ({ index }: { index: number }) => { | ||
return ( | ||
<Box | ||
borderRadius="8px" | ||
borderWidth="2px" | ||
borderColor={'separatorSecondary'} | ||
padding={'6px'} | ||
marginTop={'-5px'} | ||
className={accountIndexHoverContainerStyle} | ||
> | ||
<Inline space="2px"> | ||
<Box | ||
className={clsx([ | ||
accountIndexHiddenHoverStyle, | ||
'account-index-hidden', | ||
])} | ||
> | ||
<Text | ||
size="11pt" | ||
weight="bold" | ||
color={'labelTertiary'} | ||
align="center" | ||
> | ||
{i18n.t('hw.index_label')} | ||
</Text> | ||
</Box> | ||
<Box className={accountIndexHiddenHoverSiblingStyle}> | ||
<Text | ||
size="11pt" | ||
weight="bold" | ||
color={'labelTertiary'} | ||
align="center" | ||
> | ||
# {index} | ||
</Text> | ||
</Box> | ||
</Inline> | ||
</Box> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters