-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: disable truncateMiddle temporarily
- Loading branch information
1 parent
4bbd4d5
commit 9b9529a
Showing
185 changed files
with
807 additions
and
746 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
2 changes: 1 addition & 1 deletion
2
src/app/components/bitcoin-custom-fee/bitcoin-custom-fee-fiat.tsx
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
8 changes: 4 additions & 4 deletions
8
src/app/components/bitcoin-fees-list/components/fees-list-error.tsx
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
1 change: 1 addition & 0 deletions
1
src/app/components/bitcoin-transaction-item/bitcoin-transaction-caption.tsx
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
28 changes: 19 additions & 9 deletions
28
src/app/components/crypto-assets/crypto-currency-asset/asset-copy-icon.tsx
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 |
---|---|---|
@@ -1,22 +1,32 @@ | ||
import { FiCheck, FiCopy } from 'react-icons/fi'; | ||
|
||
import { UserAreaSelectors } from '@tests-legacy/integration/user-area.selectors'; | ||
import { Box, Flex } from 'leather-styles/jsx'; | ||
import { Flex } from 'leather-styles/jsx'; | ||
import { token } from 'leather-styles/tokens'; | ||
|
||
interface AssetItemCopyIconProps { | ||
hasCopied: boolean; | ||
} | ||
|
||
export function AssetItemCopyIcon({ hasCopied }: AssetItemCopyIconProps) { | ||
return ( | ||
<Flex alignItems="center" justifyContent="center" size="36px"> | ||
<Box | ||
size="16px" | ||
color={token('colors.accent.text-subdued')} | ||
data-testid={UserAreaSelectors.AccountCopyAddress} | ||
as={hasCopied ? FiCheck : FiCopy} | ||
mt="2px" | ||
/> | ||
<Flex alignItems="center" justifyContent="center" width="36px" height="36px"> | ||
{/* // #4164 FIXME refactor these icons to not duplicate - visual inspect + delete css*/} | ||
{hasCopied ? ( | ||
<FiCheck | ||
size="16px" | ||
data-testid={UserAreaSelectors.AccountCopyAddress} | ||
color={token('colors.accent.text-subdued')} | ||
style={{ marginTop: '2px' }} | ||
/> | ||
) : ( | ||
<FiCopy | ||
data-testid={UserAreaSelectors.AccountCopyAddress} | ||
size="16px" | ||
color={token('colors.accent.text-subdued')} | ||
style={{ marginTop: '2px' }} | ||
/> | ||
)} | ||
</Flex> | ||
); | ||
} |
Oops, something went wrong.