Skip to content

Commit de72b64

Browse files
committed
chore: icons rebase
1 parent 3fc76a2 commit de72b64

File tree

18 files changed

+23
-39
lines changed

18 files changed

+23
-39
lines changed

src/app/features/container/container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import { ContainerLayout } from '@app/ui/components/containers/container.layout'
2424
import { NetworkModeBadge } from '@app/ui/components/containers/headers/components/network-mode-badge';
2525
import { Header } from '@app/ui/components/containers/headers/header';
2626
import { Flag } from '@app/ui/components/flag/flag';
27-
import { HamburgerIcon } from '@app/ui/components/icons/hamburger-icon';
2827
import { Logo } from '@app/ui/components/logo';
28+
import { HamburgerIcon } from '@app/ui/icons/';
2929

3030
import { useRestoreFormState } from '../popup-send-form-restoration/use-restore-form-state';
3131
import { Settings } from '../settings/settings';

src/app/features/dialogs/high-fee-dialog/high-fee-dialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import {
1212
import { openInNewTab } from '@app/common/utils/open-in-new-tab';
1313
import { Button } from '@app/ui/components/button/button';
1414
import { Dialog } from '@app/ui/components/containers/dialog/dialog';
15-
import { ErrorIcon } from '@app/ui/components/icons/error-icon';
1615
import { Link } from '@app/ui/components/link/link';
1716
import { Caption } from '@app/ui/components/typography/caption';
1817
import { Title } from '@app/ui/components/typography/title';
18+
import { ErrorIcon } from '@app/ui/icons';
1919

2020
interface HighFeeDialogProps {
2121
learnMoreUrl: string;
@@ -42,7 +42,7 @@ export function HighFeeDialog({ learnMoreUrl, isShowing = false }: HighFeeDialog
4242
{isShowingHighFeeConfirmation && (
4343
<Stack px="space.05" gap="space.05" pb="space.06">
4444
<HStack>
45-
<ErrorIcon color="error.label" size="md" />
45+
<ErrorIcon color="error.label" width="md" />
4646
<Title>
4747
Are you sure you want to pay {values.fee} {values.feeCurrency} in fees for this
4848
transaction?

src/app/features/retrieve-taproot-to-native-segwit/components/retrieve-taproot-to-native-segwit.layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Flex, styled } from 'leather-styles/jsx';
22

33
import { WarningLabel } from '@app/components/warning-label';
4+
import { BtcIcon } from '@app/ui/components/avatar-icon/btc-icon';
45
import { Button } from '@app/ui/components/button/button';
56
import { Dialog } from '@app/ui/components/containers/dialog/dialog';
6-
import { BtcIcon } from '@app/ui/components/icons/btc-icon';
77

88
interface RetrieveTaprootToNativeSegwitLayoutProps {
99
isBroadcasting: boolean;

src/app/features/settings/network/components/network-list-item.layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import { NetworkConfiguration } from '@shared/constants';
66
import { getUrlHostname } from '@app/common/utils';
77
import { Button } from '@app/ui/components/button/button';
88
import { DropdownMenu } from '@app/ui/components/dropdown-menu/dropdown-menu';
9-
import { CheckmarkIcon } from '@app/ui/components/icons/checkmark-icon';
10-
import { CloudOffIcon } from '@app/ui/components/icons/cloud-off-icon';
11-
import { TrashIcon } from '@app/ui/components/icons/trash-icon';
9+
import { CheckmarkIcon, CloudOffIcon, TrashIcon } from '@app/ui/icons';
1210

1311
interface NetworkListItemLayoutProps {
1412
networkId: string;

src/app/features/settings/settings.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ import { useHasLedgerKeys, useLedgerDeviceTargetId } from '@app/store/ledger/led
1717
import { useCurrentNetworkId } from '@app/store/networks/networks.selectors';
1818
import { DropdownMenu } from '@app/ui/components/dropdown-menu/dropdown-menu';
1919
import { Flag } from '@app/ui/components/flag/flag';
20-
import { ChevronsRightIcon } from '@app/ui/components/icons/chevrons-right-icon';
21-
import { ExternalLinkIcon } from '@app/ui/components/icons/external-link-icon';
22-
import { PlaceholderIcon } from '@app/ui/components/icons/placeholder-icon';
23-
import { SwapIcon } from '@app/ui/components/icons/swap-icon';
2420
import { Caption } from '@app/ui/components/typography/caption';
21+
import { ChevronsRightIcon, ExternalLinkIcon, PlaceholderIcon, SwapIcon } from '@app/ui/icons/';
2522

2623
import { openFeedbackDialog } from '../feedback-button/feedback-button';
2724
import { extractDeviceNameFromKnownTargetIds } from '../ledger/utils/generic-ledger-utils';

src/app/features/settings/theme/theme-list-item.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { useCallback } from 'react';
33
import { UserSelectedTheme, getThemeLabel } from '@app/common/theme-provider';
44
import { DropdownMenu } from '@app/ui/components/dropdown-menu/dropdown-menu';
55
import { Flag } from '@app/ui/components/flag/flag';
6-
import { CheckmarkIcon } from '@app/ui/components/icons/checkmark-icon';
7-
import { PlaceholderIcon } from '@app/ui/components/icons/placeholder-icon';
6+
import { CheckmarkIcon, PlaceholderIcon } from '@app/ui/icons';
87

98
interface ThemeListItemProps {
109
theme: UserSelectedTheme;

src/app/pages/home/components/send-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
useTransferableStacksFungibleTokenAssetBalances,
1414
} from '@app/query/stacks/balance/stacks-ft-balances.hooks';
1515
import { useCurrentStacksAccount } from '@app/store/accounts/blockchain/stacks/stacks-account.hooks';
16-
import { ActionButton } from '@app/ui/components/layout/card/account/action-button';
16+
import { ActionButton } from '@app/ui/components/account/action-button';
1717
import { SendIcon } from '@app/ui/icons';
1818

1919
function SendButtonSuspense() {

src/app/pages/onboarding/allow-diagnostics/allow-diagnostics-layout.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { Box, Flex, Stack, styled } from 'leather-styles/jsx';
44
import { Button } from '@app/ui/components/button/button';
55
import { Dialog } from '@app/ui/components/containers/dialog/dialog';
66
import { Footer } from '@app/ui/components/containers/footers/footer';
7-
import { LeatherIcon } from '@app/ui/components/icons/leather-icon';
8-
import { CheckmarkIcon } from '@app/ui/icons/checkmark-icon';
7+
import { CheckmarkIcon, LogomarkIcon } from '@app/ui/icons/';
98

109
interface ReasonToAllowDiagnosticsProps {
1110
text: string;
@@ -57,7 +56,7 @@ export function AllowDiagnosticsLayout({
5756
>
5857
<Stack py="space.04" gap="space.04">
5958
<Box height="32px">
60-
<LeatherIcon />
59+
<LogomarkIcon />
6160
</Box>
6261
<styled.h1 textStyle="heading.03">Help us improve</styled.h1>
6362
<styled.p textStyle="heading.05">

src/app/pages/onboarding/back-up-secret-key/back-up-secret-key.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import { RouteUrls } from '@shared/route-urls';
77

88
import { SecretKey } from '@app/features/secret-key-displayer/secret-key-displayer';
99
import { useDefaultWalletSecretKey } from '@app/store/in-memory-key/in-memory-key.selectors';
10-
import { EyeSlashIcon } from '@app/ui/components/icons/eye-slash-icon';
11-
import { LockIcon } from '@app/ui/components/icons/lock-icon';
12-
import { RotateLeftIcon } from '@app/ui/components/icons/rotate-left-icon';
10+
import { EyeSlashIcon, KeyIcon, LockIcon } from '@app/ui/icons/';
1311
import { TwoColumnLayout } from '@app/ui/pages/two-column.layout';
1412

1513
export const BackUpSecretKeyPage = memo(() => {
@@ -34,7 +32,7 @@ export const BackUpSecretKeyPage = memo(() => {
3432
action={
3533
<Stack gap="space.05" marginTop="space.04">
3634
<HStack alignItems="center">
37-
<RotateLeftIcon />
35+
<KeyIcon />
3836
<styled.span textStyle="caption.01">
3937
Your Secret Key gives <br /> access to your wallet
4038
</styled.span>

src/app/pages/receive/components/receive-collectibles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { css } from 'leather-styles/css';
33
import { Stack } from 'leather-styles/jsx';
44

55
import { StxAvatar } from '@app/components/crypto-assets/stacks/components/stx-avatar';
6-
import { OrdinalIcon } from '@app/ui/components/icons/ordinal-icon';
7-
import { StampsIcon } from '@app/ui/components/icons/stamps-icon';
6+
import { StampsIcon } from '@app/ui/components/avatar-icon//stamps-icon';
7+
import { OrdinalIcon } from '@app/ui/components/avatar-icon/ordinal-icon';
88

99
import { receiveTabStyle } from '../receive-dialog';
1010
import { ReceiveItem } from './receive-item';

src/app/pages/receive/components/receive-tokens.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { css } from 'leather-styles/css';
33
import { Stack } from 'leather-styles/jsx';
44

55
import { StxAvatar } from '@app/components/crypto-assets/stacks/components/stx-avatar';
6-
import { BtcIcon } from '@app/ui/components/icons/btc-icon';
6+
import { BtcIcon } from '@app/ui/components/avatar-icon/btc-icon';
77

88
import { receiveTabStyle } from '../receive-dialog';
99
import { ReceiveItem } from './receive-item';

src/app/pages/send/send-crypto-asset-form/form/btc/btc-send-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import { HighFeeDialog } from '@app/features/dialogs/high-fee-dialog/high-fee-di
1212
import { useNativeSegwitBalance } from '@app/query/bitcoin/balance/btc-native-segwit-balance.hooks';
1313
import { useCryptoCurrencyMarketData } from '@app/query/common/market-data/market-data.hooks';
1414
import { useCurrentAccountNativeSegwitIndexZeroSigner } from '@app/store/accounts/blockchain/bitcoin/native-segwit-account.hooks';
15+
import { BtcIcon } from '@app/ui/components/avatar-icon/btc-icon';
1516
import { Button } from '@app/ui/components/button/button';
1617
import { AvailableBalance } from '@app/ui/components/containers/footers/available-balance';
1718
import { Footer } from '@app/ui/components/containers/footers/footer';
18-
import { BtcIcon } from '@app/ui/components/icons/btc-icon';
1919

2020
import { AmountField } from '../../components/amount-field';
2121
import { SelectedAssetField } from '../../components/selected-asset-field';

src/app/ui/components/account/account.card.stories.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ import type { Meta } from '@storybook/react';
22
import { Flex } from 'leather-styles/jsx';
33

44
import { ActionButton } from '@app/ui/components/account/action-button';
5-
import { ArrowDownIcon } from '@app/ui/components/icons/arrow-down-icon';
6-
import { ArrowUpIcon } from '@app/ui/components/icons/arrow-up-icon';
7-
import { PlusIcon } from '@app/ui/components/icons/plus-icon';
8-
import { SwapIcon } from '@app/ui/components/icons/swap-icon';
5+
import { ArrowDownIcon, ArrowUpIcon, PlusIcon, SwapIcon } from '@app/ui/icons';
96

107
import { AccountCard as Component } from './account.card';
118

src/app/ui/components/account/account.card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { SettingsSelectors } from '@tests/selectors/settings.selectors';
44
import { Box, Divider, Flex, styled } from 'leather-styles/jsx';
55

66
import { SwitchAccountDialog } from '@app/features/dialogs/switch-account-dialog/switch-account-dialog';
7-
import { ChevronDownIcon } from '@app/ui/components/icons/chevron-down-icon';
87
import { Link } from '@app/ui/components/link/link';
8+
import { ChevronDownIcon } from '@app/ui/icons';
99

1010
interface AccountCardProps {
1111
name: string;

src/app/ui/components/account/action-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Flex, styled } from 'leather-styles/jsx';
22

3+
import AccessibleIcon from '@app/ui/components/avatar-icon/accessible-icon';
34
import { Button } from '@app/ui/components/button/button';
4-
import AccessibleIcon from '@app/ui/components/icons/accessible-icon';
55

66
interface ActionButtonProps extends React.ComponentProps<typeof Button> {
77
icon: React.ReactNode;

src/app/ui/components/containers/headers/header.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { Flex, HStack, styled } from 'leather-styles/jsx';
44

55
import { isString } from '@shared/utils';
66

7-
import { ArrowLeftIcon } from '@app/ui/components/icons/arrow-left-icon';
8-
import { CloseIcon } from '@app/ui/components/icons/close-icon';
7+
import { ArrowLeftIcon, CloseIcon } from '@app/ui/icons';
98

109
import { HeaderActionButton } from './header-action-button';
1110

src/app/ui/components/logo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { styled } from 'leather-styles/jsx';
22

3-
import { LeatherIcon } from '@app/ui/components/icons/leather-icon';
3+
import { LogomarkIcon } from '@app/ui/icons/logomark-icon';
44

55
interface LogoProps {
66
onClick?(): void;
@@ -13,7 +13,7 @@ export function Logo({ onClick }: LogoProps) {
1313
cursor={onClick ? 'pointer' : 'unset'}
1414
onClick={onClick ? onClick : undefined}
1515
>
16-
<LeatherIcon width="logoWidth" height="logoHeight" />
16+
<LogomarkIcon width="logoWidth" height="logoHeight" />
1717
</styled.button>
1818
);
1919
}

src/app/ui/pages/home.layout.stories.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ import { Box, Flex, Stack } from 'leather-styles/jsx';
44
import { RouteUrls } from '@shared/route-urls';
55

66
import { ActionButton } from '@app/ui/components/account/action-button';
7-
import { ArrowDownIcon } from '@app/ui/components/icons/arrow-down-icon';
8-
import { ArrowUpIcon } from '@app/ui/components/icons/arrow-up-icon';
9-
import { PlusIcon } from '@app/ui/components/icons/plus-icon';
10-
import { SwapIcon } from '@app/ui/components/icons/swap-icon';
117
import { Tabs } from '@app/ui/components/tabs/tabs';
8+
import { ArrowDownIcon, ArrowUpIcon, PlusIcon, SwapIcon } from '@app/ui/icons';
129

1310
import { HomeLayout as Component } from './home.layout';
1411

0 commit comments

Comments
 (0)