Skip to content

Commit

Permalink
chore(components): url icon update
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavProchazka authored and tomasklim committed Sep 30, 2024
1 parent abbf4a3 commit 3e1d4df
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/connect-ui/src/views/Transport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Transport = () => {
<>
<Button
variant="primary"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
onClick={handleOpenSuite}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const EarlyAccessDisable = ({ hideWindow }: EarlyAccessDisableProps) => {
bottomBarComponents={
<>
<Link variant="nostyle" href={SUITE_URL}>
<LinkButton icon="externalLink" iconAlignment="right">
<LinkButton icon="arrowUpRight" iconAlignment="right">
<Translation id="TR_EARLY_ACCESS_REINSTALL" />
</LinkButton>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion packages/suite/src/components/firmware/FirmwareOffer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const FirmwareOffer = ({ customFirmware, targetFirmwareType }: FirmwareOf
<StyledLink
type="hint"
variant="nostyle"
icon="externalLink"
icon="arrowUpRight"
href={changelogUrl}
>
<Translation id="TR_VIEW_ALL" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const SelectCustomFirmware = ({
<Button
size="tiny"
variant="tertiary"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
>
github.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const SupportFeedbackSelection = () => {
<Label>
<LabelHeadline>
<Translation id="TR_GUIDE_FORUM" />
<Icon size={20} name="externalLink" />
<Icon size={20} name="arrowUpRight" />
</LabelHeadline>
<LabelSubheadline>
<Translation id="TR_GUIDE_FORUM_LABEL" />
Expand All @@ -212,7 +212,7 @@ export const SupportFeedbackSelection = () => {
<Label>
<LabelHeadline>
<Translation id="TR_GUIDE_SUPPORT" />
<Icon size={20} name="externalLink" />
<Icon size={20} name="arrowUpRight" />
</LabelHeadline>
</Label>
</SectionButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const OnboardingLayout = ({ children }: OnboardingLayoutProps) => {
>
<Button
variant="tertiary"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
size="small"
>
Expand Down
2 changes: 1 addition & 1 deletion packages/suite/src/components/suite/LearnMoreButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const LearnMoreButton = ({
textWrap={textWrap}
variant="tertiary"
size={size}
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
className={className}
{...buttonProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const Left = () => {
<TrezorLink type="hint" variant="nostyle" href={SUITE_URL}>
<Button
variant="tertiary"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
>
<Translation id="TR_ONBOARDING_DOWNLOAD_DESKTOP_APP" />
Expand All @@ -168,7 +168,7 @@ const Left = () => {
<TrezorLink type="hint" variant="nostyle" href={TREZOR_URL}>
<Button
variant="tertiary"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
>
trezor.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const PassphraseWalletConfirmationStep1 = ({
size="tiny"
variant="info"
iconAlignment="right"
icon="externalLink"
icon="arrowUpRight"
data-testid={dataTest}
>
<Translation id="TR_PASSPHRASE_WALLET_CONFIRMATION_STEP1_HINT_LINK" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const AnalyzeInExplorerBanner = ({ txid, symbol }: AnalyzeInExplorerBanne
button={{
href: `${explorer?.tx}${txid}`,
children: <Translation id="TR_ANALYZE_IN_BLOCKBOOK_OPEN" />,
icon: 'externalLink',
icon: 'arrowUpRight',
iconAlignment: 'right',
size: 'small',
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const IOAddress = ({
variant="nostyle"
href={`${explorerUrl}${txAddress}${explorerUrlQueryString}`}
>
<Icon name="externalLink" size={12} color={theme.iconOnPrimary} />
<Icon name="arrowUpRight" size={12} color={theme.iconOnPrimary} />
</Link>
</IconWrapper>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const TransactionHeading = ({
a: chunks => (
<HelpLink
href={HELP_CENTER_ZERO_VALUE_ATTACKS}
icon="externalLink"
icon="arrowUpRight"
type="hint"
>
{chunks}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const TransactionItem = memo(
<Link
href={HELP_CENTER_REPLACE_BY_FEE}
variant="nostyle"
icon="externalLink"
icon="arrowUpRight"
type="hint"
>
{chunks}
Expand Down
2 changes: 1 addition & 1 deletion packages/suite/src/views/backup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const Backup = ({ cancelable, onCancel }: ForegroundAppProps) => {
<StyledImage image="UNI_ERROR" />
<StyledP data-testid="@backup/already-failed-message">
<Translation id="BACKUP_BACKUP_ALREADY_FAILED_DESCRIPTION" />
<TrezorLink icon="externalLink" href={HELP_CENTER_RECOVERY_ISSUES_URL}>
<TrezorLink icon="arrowUpRight" href={HELP_CENTER_RECOVERY_ISSUES_URL}>
<Translation id="TR_LEARN_MORE" />
</TrezorLink>
</StyledP>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const CoordinatorVersion = ({ version }: { version: CoordinatorServerProps['vers
<CoordinatorVersionContainer>
Build{' '}
<Link href={`https://github.com/zkSNACKs/WalletWasabi/commit/${version.commitHash}`}>
<StyledButton variant="tertiary" icon="externalLink" iconAlignment="right">
<StyledButton variant="tertiary" icon="arrowUpRight" iconAlignment="right">
{version.commitHash}
</StyledButton>
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const FirmwareTypeChange = ({ isDeviceLocked }: FirmwareTypeProps) => {
<Button
variant="tertiary"
size="tiny"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
>
<Translation id={currentFwType} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const FirmwareVersion = ({ isDeviceLocked }: FirmwareVersionProps) => {
const availableFwVersion = getFwUpdateVersion(device);
const { revision } = device.features;
const changelogUrl = getChangelogUrl(device, revision);
const githubButtonIcon = revision ? 'externalLink' : undefined;
const githubButtonIcon = revision ? 'arrowUpRight' : undefined;

const handleUpdate = () => dispatch(goto('firmware-index', { params: { cancelable: true } }));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Description = ({ desktopUpdateState }: { desktopUpdateState: DesktopUpdate
<Button
variant="tertiary"
size="tiny"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
>
{appVersion}
Expand All @@ -65,7 +65,7 @@ const Description = ({ desktopUpdateState }: { desktopUpdateState: DesktopUpdate
<Button
variant="destructive"
size="tiny"
icon="externalLink"
icon="arrowUpRight"
iconAlignment="right"
>
{desktopUpdateState.latest.version}
Expand Down
2 changes: 1 addition & 1 deletion packages/suite/src/views/wallet/send/Outputs/Address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export const Address = ({ output, outputId, outputsCount }: AddressProps) => {
<Link
href={HELP_CENTER_EVM_ADDRESS_CHECKSUM}
variant="nostyle"
icon="externalLink"
icon="arrowUpRight"
type="label"
>
{chunks}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const NoTransactions = ({ account }: NoTransactionsProps) => {
title={<Translation id="TR_TRANSACTIONS_NOT_AVAILABLE" />}
image="CLOUDY"
actionComponent={
<Button variant="primary" icon="externalLink" iconAlignment="right">
<Button variant="primary" icon="arrowUpRight" iconAlignment="right">
<TrezorLink variant="nostyle" href={explorerUrl}>
<Translation id="TR_SHOW_DETAILS_IN_BLOCK_EXPLORER" />
</TrezorLink>
Expand Down

0 comments on commit 3e1d4df

Please sign in to comment.