@aurora-is-near/intents-swap-widget 3.18.1 → 3.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/components/Accordion.js +13 -13
  2. package/dist/components/Accordion.js.map +1 -1
  3. package/dist/components/Banner.js +33 -19
  4. package/dist/components/Banner.js.map +1 -1
  5. package/dist/components/BlockingError.js +11 -16
  6. package/dist/components/BlockingError.js.map +1 -1
  7. package/dist/components/Button.d.ts +2 -2
  8. package/dist/components/Button.js +2 -2
  9. package/dist/components/Button.js.map +1 -1
  10. package/dist/components/CloseButton.js +6 -6
  11. package/dist/components/CloseButton.js.map +1 -1
  12. package/dist/components/CopyButton.js +4 -4
  13. package/dist/components/CopyButton.js.map +1 -1
  14. package/dist/components/DirectionSwitcher.js +12 -11
  15. package/dist/components/DirectionSwitcher.js.map +1 -1
  16. package/dist/components/Input.d.ts +5 -3
  17. package/dist/components/Input.js +16 -16
  18. package/dist/components/Input.js.map +1 -1
  19. package/dist/components/StatusWidget.js +8 -21
  20. package/dist/components/StatusWidget.js.map +1 -1
  21. package/dist/{config-DJObWR7Z.js → config-CgCb5P7j.js} +585 -565
  22. package/dist/{config-DJObWR7Z.js.map → config-CgCb5P7j.js.map} +1 -1
  23. package/dist/config.js +21 -5
  24. package/dist/config.js.map +1 -1
  25. package/dist/errors.js +1 -1
  26. package/dist/ext/alchemy/index.js +1 -1
  27. package/dist/ext/index.js +1 -1
  28. package/dist/features/BalanceRpcLoader/TokenBalanceLoader.js +1 -1
  29. package/dist/features/BalanceRpcLoader/index.js +1 -1
  30. package/dist/features/BalanceRpcLoader/useTokenBalanceRpc.js +1 -1
  31. package/dist/features/ChainsDropdown/AllNetworksIcon.js +3 -3
  32. package/dist/features/ChainsDropdown/AllNetworksIcon.js.map +1 -1
  33. package/dist/features/ChainsDropdown/ChainItem.js +7 -7
  34. package/dist/features/ChainsDropdown/ChainItem.js.map +1 -1
  35. package/dist/features/ChainsDropdown/index.js +45 -33
  36. package/dist/features/ChainsDropdown/index.js.map +1 -1
  37. package/dist/features/DepositMethodSwitcher.js +18 -17
  38. package/dist/features/DepositMethodSwitcher.js.map +1 -1
  39. package/dist/features/ErrorBoundary.js +1 -1
  40. package/dist/features/ExternalDeposit.js +22 -15
  41. package/dist/features/ExternalDeposit.js.map +1 -1
  42. package/dist/features/SendAddress/index.js +15 -14
  43. package/dist/features/SendAddress/index.js.map +1 -1
  44. package/dist/features/SendAddress/useNotification.js +1 -1
  45. package/dist/features/SubmitButton/index.js +1 -1
  46. package/dist/features/SuccessScreen/CheckIcon.js +4 -4
  47. package/dist/features/SuccessScreen/CheckIcon.js.map +1 -1
  48. package/dist/features/SuccessScreen/ExternalAction.js +6 -6
  49. package/dist/features/SuccessScreen/ExternalAction.js.map +1 -1
  50. package/dist/features/SuccessScreen/index.js +1 -1
  51. package/dist/features/SwapDirectionSwitcher.js +1 -1
  52. package/dist/features/SwapQuote/SwapQuote.js +1 -1
  53. package/dist/features/SwapQuote/index.js +1 -1
  54. package/dist/features/TokenInput/TokenInput.js +1 -1
  55. package/dist/features/TokenInput/TokenInputEmpty.js +1 -1
  56. package/dist/features/TokenInput/TokenInputSource.js +1 -1
  57. package/dist/features/TokenInput/TokenInputTarget.js +1 -1
  58. package/dist/features/TokenInput/WalletBalance.js +1 -1
  59. package/dist/features/TokenInput/hooks/index.js +1 -1
  60. package/dist/features/TokenInput/hooks/useTokenInputBalance.js +1 -1
  61. package/dist/features/TokenInput/index.js +1 -1
  62. package/dist/features/TokensList/TokenItem.js +1 -1
  63. package/dist/features/TokensList/TokensList.js +1 -1
  64. package/dist/features/TokensList/index.js +1 -1
  65. package/dist/features/TokensModal.js +11 -11
  66. package/dist/features/TokensModal.js.map +1 -1
  67. package/dist/features/WalletCompatibilityCheck/WalletCompatibilityModal.js +19 -6
  68. package/dist/features/WalletCompatibilityCheck/WalletCompatibilityModal.js.map +1 -1
  69. package/dist/features/WalletCompatibilityCheck/index.js +1 -1
  70. package/dist/features/index.js +1 -1
  71. package/dist/hooks/index.js +1 -1
  72. package/dist/hooks/useAllTokens.js +1 -1
  73. package/dist/hooks/useChains.js +1 -1
  74. package/dist/hooks/useCompatibilityCheck.js +1 -1
  75. package/dist/hooks/useDefaultToken.js +1 -1
  76. package/dist/hooks/useExternalDepositStatus/index.js +1 -1
  77. package/dist/hooks/useExternalDepositStatus/usePoaExternalDepositStatus.js +1 -1
  78. package/dist/hooks/useIntentsBalance.js +1 -1
  79. package/dist/hooks/useIsCompatibilityCheckRequired.js +1 -1
  80. package/dist/hooks/useMakeDepositAddress.js +1 -1
  81. package/dist/hooks/useMakeIntentsTransfer.js +1 -1
  82. package/dist/hooks/useMakeNEARFtTransferCall.js +1 -1
  83. package/dist/hooks/useMakeQuote.js +1 -1
  84. package/dist/hooks/useMakeQuoteTransfer.js +1 -1
  85. package/dist/hooks/useMakeTransfer.js +1 -1
  86. package/dist/hooks/useMergedBalance.js +1 -1
  87. package/dist/hooks/useSwitchChain.js +1 -1
  88. package/dist/hooks/useTheme.js +1 -1
  89. package/dist/hooks/useTokenInputPair.js +1 -1
  90. package/dist/hooks/useTokens.js +1 -1
  91. package/dist/hooks/useTokensFiltered.js +1 -1
  92. package/dist/hooks/useTokensIntentsUnique.js +1 -1
  93. package/dist/index.js +1 -1
  94. package/dist/machine/effects/index.js +1 -1
  95. package/dist/machine/effects/useAlchemyBalanceEffect.js +1 -1
  96. package/dist/machine/effects/useBalancesUpdateEffect.js +1 -1
  97. package/dist/machine/effects/useMakeQuoteEffect.js +1 -1
  98. package/dist/machine/effects/useSelectedTokensEffect.js +1 -1
  99. package/dist/machine/effects/useSetTokenBalanceEffect.js +1 -1
  100. package/dist/machine/effects/useSetTokenIntentsTargetEffect.js +1 -1
  101. package/dist/machine/effects/useWalletConnEffect.js +1 -1
  102. package/dist/machine/events/index.js +1 -1
  103. package/dist/machine/events/tokenSelect.js +1 -1
  104. package/dist/machine/events/validateInputAndMoveTo.js +1 -1
  105. package/dist/machine/events/validateInputs.js +1 -1
  106. package/dist/machine/index.js +1 -1
  107. package/dist/machine/snap.js +1 -1
  108. package/dist/machine/subscriptions/checkers/isSendAddressAsConnected.js +1 -1
  109. package/dist/machine/subscriptions/index.js +1 -1
  110. package/dist/styles.css +1 -1
  111. package/dist/tailwind.css +9 -0
  112. package/dist/theme/ThemeProvider.js +1 -1
  113. package/dist/utils/intents/signers/near.js +1 -1
  114. package/dist/utils/intents/signers/privy.js +1 -1
  115. package/dist/utils/near/getNearNep141StorageBalance.js +1 -1
  116. package/dist/widgets/WidgetDeposit/WidgetDepositContent.js +18 -11
  117. package/dist/widgets/WidgetDeposit/WidgetDepositContent.js.map +1 -1
  118. package/dist/widgets/WidgetDeposit/WidgetDepositSkeleton.js +1 -1
  119. package/dist/widgets/WidgetSwap/WidgetSwapContent.js +33 -22
  120. package/dist/widgets/WidgetSwap/WidgetSwapContent.js.map +1 -1
  121. package/dist/widgets/WidgetSwap/WidgetSwapSkeleton.js +1 -1
  122. package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.js +19 -9
  123. package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.js.map +1 -1
  124. package/dist/widgets/WidgetWithdraw/WidgetWithdrawSkeleton.js +1 -1
  125. package/package.json +1 -2
  126. package/src/components/Accordion.tsx +3 -3
  127. package/src/components/Banner.tsx +17 -8
  128. package/src/components/BlockingError.tsx +4 -6
  129. package/src/components/Button.tsx +9 -6
  130. package/src/components/CloseButton.tsx +2 -2
  131. package/src/components/CopyButton.tsx +2 -2
  132. package/src/components/DirectionSwitcher.tsx +4 -4
  133. package/src/components/Input.tsx +5 -4
  134. package/src/components/StatusWidget.tsx +4 -11
  135. package/src/features/ChainsDropdown/AllNetworksIcon.tsx +2 -2
  136. package/src/features/ChainsDropdown/ChainItem.tsx +2 -2
  137. package/src/features/ChainsDropdown/index.tsx +9 -3
  138. package/src/features/DepositMethodSwitcher.tsx +4 -3
  139. package/src/features/ExternalDeposit.tsx +2 -2
  140. package/src/features/SendAddress/index.tsx +3 -2
  141. package/src/features/SuccessScreen/CheckIcon.tsx +2 -2
  142. package/src/features/SuccessScreen/ExternalAction.tsx +2 -2
  143. package/src/features/TokensModal.tsx +2 -2
  144. package/src/features/WalletCompatibilityCheck/WalletCompatibilityModal.tsx +8 -9
  145. package/src/tailwind.css +9 -0
@@ -1,6 +1,9 @@
1
1
  import { Button as UIButton } from '@headlessui/react';
2
- import type { LucideIcon, LucideProps } from 'lucide-react';
3
- import * as Icons from 'lucide-react';
2
+ import { ProgressActivityW700 as ProgressActivity } from '@material-symbols-svg/react-rounded/icons/progress-activity';
3
+ import type {
4
+ IconProps,
5
+ MaterialSymbolsComponent,
6
+ } from '@material-symbols-svg/react';
4
7
 
5
8
  import { cn as clsx } from '@/utils/cn';
6
9
 
@@ -17,7 +20,7 @@ type Props = {
17
20
  onClick?: () => void;
18
21
  fluid?: boolean;
19
22
  } & (
20
- | { icon: LucideIcon; iconPosition?: 'head' | 'tail' }
23
+ | { icon: MaterialSymbolsComponent; iconPosition?: 'head' | 'tail' }
21
24
  | { icon?: never; iconPosition?: never }
22
25
  );
23
26
 
@@ -50,10 +53,10 @@ const ButtonChildren = ({
50
53
  const Icon =
51
54
  hasIcon && state !== 'loading'
52
55
  ? (icon ?? (() => <span />))
53
- : ({ className, ...lucidProps }: LucideProps) => (
54
- <Icons.Loader
56
+ : ({ className, ...iconProps }: IconProps) => (
57
+ <ProgressActivity
55
58
  className={clsx(styles.icon, 'animate-spin', className)}
56
- {...lucidProps}
59
+ {...iconProps}
57
60
  />
58
61
  );
59
62
 
@@ -1,4 +1,4 @@
1
- import * as Icons from 'lucide-react';
1
+ import { CloseW700 as Close } from '@material-symbols-svg/react-rounded/icons/close';
2
2
 
3
3
  import { cn } from '@/utils';
4
4
 
@@ -16,7 +16,7 @@ export const CloseButton = ({ className, onClick }: Props) => {
16
16
  className,
17
17
  )}
18
18
  onClick={onClick}>
19
- <Icons.X size={18} strokeWidth={3} />
19
+ <Close size={18} />
20
20
  </button>
21
21
  );
22
22
  };
@@ -1,11 +1,11 @@
1
1
  import copy from 'copy-text-to-clipboard';
2
- import * as Icons from 'lucide-react';
2
+ import { ContentCopyW700 as ContentCopy } from '@material-symbols-svg/react-rounded/icons/content-copy';
3
3
 
4
4
  export const CopyButton = ({ value }: { value: string }) => (
5
5
  <button
6
6
  type="button"
7
7
  onClick={() => copy(value)}
8
8
  className="text-sw-gray-200 hover:text-sw-gray-50 cursor-pointer transition-all duration-300 [transition-timing-function:cubic-bezier(0.175,0.885,0.32,1.275)] active:-translate-y-1 active:scale-x-90 active:scale-y-110">
9
- <Icons.Copy size={16} />
9
+ <ContentCopy size={16} />
10
10
  </button>
11
11
  );
@@ -1,5 +1,5 @@
1
- import * as Icons from 'lucide-react';
2
-
1
+ import { ArrowDownwardW700 as ArrowDownward } from '@material-symbols-svg/react-rounded/icons/arrow-downward';
2
+ import { ProgressActivityW700 as ProgressActivity } from '@material-symbols-svg/react-rounded/icons/progress-activity';
3
3
  import { cn } from '@/utils/cn';
4
4
 
5
5
  type Props = {
@@ -25,11 +25,11 @@ export const DirectionSwitcher = ({
25
25
  )}>
26
26
  {isLoading ? (
27
27
  <div className="group relative inline-block">
28
- <Icons.RefreshCw className="h-sw-2xl w-sw-2xl animate-spin opacity-50 text-sw-accent-500" />
28
+ <ProgressActivity className="h-sw-2xl w-sw-2xl animate-spin opacity-50 text-sw-accent-500" />
29
29
  </div>
30
30
  ) : (
31
31
  <div className="group relative inline-block">
32
- <Icons.ArrowDown
32
+ <ArrowDownward
33
33
  className={cn(
34
34
  'h-sw-2xl w-sw-2xl transition-transform duration-300',
35
35
  {
@@ -7,19 +7,20 @@ import {
7
7
  useState,
8
8
  } from 'react';
9
9
  import { Input as UIInput } from '@headlessui/react';
10
+ import { CloseW700 as Close } from '@material-symbols-svg/react-rounded/icons/close';
11
+ import type { MaterialSymbolsComponent } from '@material-symbols-svg/react';
10
12
  import type { InputProps } from '@headlessui/react';
11
13
  import type { PropsWithChildren } from 'react';
12
- import type { LucideIcon } from 'lucide-react';
13
- import * as Icons from 'lucide-react';
14
14
 
15
15
  import { cn } from '@/utils/cn';
16
16
 
17
17
  type State = 'default' | 'disabled' | 'error' | 'fixed';
18
18
 
19
19
  export type Props = Omit<InputProps, 'size'> & {
20
- icon?: LucideIcon;
20
+ icon?: MaterialSymbolsComponent;
21
21
  defaultValue?: string;
22
22
  focusOnMount?: boolean;
23
+ fontSize?: 'sm' | 'md';
23
24
  state?: State;
24
25
  };
25
26
 
@@ -121,7 +122,7 @@ export const Input = forwardRef<HTMLInputElement, PropsWithChildren<Props>>(
121
122
  },
122
123
  )}
123
124
  onClick={handleClear}>
124
- <Icons.X className="h-sw-xl w-sw-xl" />
125
+ <Close className="h-sw-xl w-sw-xl" />
125
126
  </button>
126
127
  ) : null}
127
128
  </div>
@@ -1,23 +1,16 @@
1
- import * as Icons from 'lucide-react';
1
+ import { CloseW700 as Close } from '@material-symbols-svg/react-rounded/icons/close';
2
+ import { CheckCircleFillW700 as CheckCircleFill } from '@material-symbols-svg/react-rounded/icons/check-circle';
2
3
 
3
4
  const Error = ({ message }: { message: string }) => (
4
5
  <div className="flex flex-col gap-sw-lg py-sw-6xl items-center justify-center">
5
- <Icons.CircleX
6
- size={36}
7
- strokeWidth={1.5}
8
- className="text-sw-status-error"
9
- />
6
+ <Close size={36} className="text-sw-status-error" />
10
7
  <span className="text-sw-label-sm text-sw-status-error">{message}</span>
11
8
  </div>
12
9
  );
13
10
 
14
11
  const Success = () => (
15
12
  <div className="flex flex-col gap-sw-lg py-sw-6xl items-center justify-center">
16
- <Icons.CheckCircle2
17
- size={36}
18
- strokeWidth={1.5}
19
- className="text-sw-status-success"
20
- />
13
+ <CheckCircleFill size={36} className="text-sw-status-success" />
21
14
  <span className="text-sw-label-sm text-sw-status-success text-center">
22
15
  Transaction detected
23
16
  </span>
@@ -1,7 +1,7 @@
1
- import * as Icons from 'lucide-react';
1
+ import { TargetW700 as Target } from '@material-symbols-svg/react-rounded/icons/target';
2
2
 
3
3
  export const AllNetworksIcon = () => (
4
4
  <div className="bg-sw-accent-500 flex h-[28px] w-[28px] items-center justify-center">
5
- <Icons.Target size={16} className="text-sw-accent-950" />
5
+ <Target size={16} className="text-sw-accent-950" />
6
6
  </div>
7
7
  );
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import * as Icons from 'lucide-react';
2
+ import { CheckW700 as Check } from '@material-symbols-svg/react-rounded/icons/check';
3
3
 
4
4
  import { cn } from '@/utils/cn';
5
5
  import { Icon } from '@/components/Icon';
@@ -34,7 +34,7 @@ export const ChainItem = React.forwardRef<HTMLButtonElement, Props>(
34
34
  )}>
35
35
  <Icon radius={10} label={label} icon={icon} />
36
36
  <span className="text-sw-label-md mr-auto">{label}</span>
37
- {isSelected && <Icons.Check size={16} />}
37
+ {isSelected && <Check size={16} />}
38
38
  </button>
39
39
  ),
40
40
  );
@@ -1,7 +1,7 @@
1
1
  import { Fragment, useMemo } from 'react';
2
2
  import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/react';
3
+ import { ChevronLeftW700 as ChevronLeft } from '@material-symbols-svg/react-rounded/icons/chevron-left';
3
4
  import { AnimatePresence, motion } from 'framer-motion';
4
- import * as Icons from 'lucide-react';
5
5
 
6
6
  import { ChainItem } from './ChainItem';
7
7
  import { AllNetworksIcon } from './AllNetworksIcon';
@@ -79,9 +79,15 @@ export const ChainsDropdown = ({
79
79
  })()}
80
80
 
81
81
  {isOpen ? (
82
- <Icons.ChevronUp size={18} className="text-sw-gray-50" />
82
+ <ChevronLeft
83
+ size={18}
84
+ className="text-sw-gray-50 rotate-90"
85
+ />
83
86
  ) : (
84
- <Icons.ChevronDown size={18} className="text-sw-gray-50" />
87
+ <ChevronLeft
88
+ size={18}
89
+ className="text-sw-gray-50 -rotate-90"
90
+ />
85
91
  )}
86
92
  </div>
87
93
  )}
@@ -1,4 +1,5 @@
1
- import * as Icons from 'lucide-react';
1
+ import { QrCodeW700 as QrCode } from '@material-symbols-svg/react-rounded/icons/qr-code';
2
+ import { WalletW700 as Wallet } from '@material-symbols-svg/react-rounded/icons/wallet';
2
3
 
3
4
  import { cn } from '@/utils/cn';
4
5
  import { Card } from '@/components/Card';
@@ -26,7 +27,7 @@ export const DepositMethodSwitcher = ({ children, className }: Props) => {
26
27
  <div className="flex gap-sw-lg">
27
28
  <Button
28
29
  size="md"
29
- icon={Icons.Wallet2}
30
+ icon={Wallet}
30
31
  state={ctx.isDepositFromExternalWallet ? 'default' : 'active'}
31
32
  variant={ctx.isDepositFromExternalWallet ? 'outlined' : 'primary'}
32
33
  onClick={() => onToggle(false)}>
@@ -34,7 +35,7 @@ export const DepositMethodSwitcher = ({ children, className }: Props) => {
34
35
  </Button>
35
36
  <Button
36
37
  size="md"
37
- icon={Icons.QrCode}
38
+ icon={QrCode}
38
39
  state={ctx.isDepositFromExternalWallet ? 'active' : 'default'}
39
40
  variant={ctx.isDepositFromExternalWallet ? 'primary' : 'outlined'}
40
41
  onClick={() => onToggle(true)}>
@@ -1,7 +1,7 @@
1
1
  import { useEffect } from 'react';
2
2
  import { QRCodeSVG } from 'qrcode.react';
3
3
  import { GetExecutionStatusResponse } from '@defuse-protocol/one-click-sdk-typescript';
4
- import * as Icons from 'lucide-react';
4
+ import { ProgressActivityW700 as ProgressActivity } from '@material-symbols-svg/react-rounded/icons/progress-activity';
5
5
 
6
6
  import { notReachable } from '@/utils';
7
7
  import { CHAIN_IDS_MAP } from '@/constants/chains';
@@ -50,7 +50,7 @@ const Skeleton = () => {
50
50
  <div className="flex flex-col gap-sw-2xl items-center">
51
51
  <div className="bg-sw-gray-800 h-[180px] w-[180px] animate-pulse rounded-sw-md" />
52
52
  <div className="bg-sw-gray-800 h-[44px] w-full animate-pulse rounded-sw-md flex items-center justify-center gap-sw-sm">
53
- <Icons.Loader className="animate-spin text-sw-gray-100 h-sw-lg w-sw-lg" />
53
+ <ProgressActivity className="animate-spin text-sw-gray-100 h-sw-lg w-sw-lg" />
54
54
  <span className="text-sw-gray-100 text-sw-label-sm">
55
55
  {!isNotEmptyAmount(ctx.sourceTokenAmount)
56
56
  ? t('deposit.external.loading.waiting', 'Waiting for token amount')
@@ -1,7 +1,7 @@
1
- import * as Icons from 'lucide-react';
2
1
  import { Button } from '@headlessui/react';
3
2
  import { useEffect, useMemo, useState } from 'react';
4
3
  import { useDebounce } from 'use-debounce';
4
+ import { WandShineW700 as WandShine } from '@material-symbols-svg/react-rounded/icons/wand-shine';
5
5
  import type { ChangeEvent } from 'react';
6
6
 
7
7
  import { useNotification } from './useNotification';
@@ -76,6 +76,7 @@ export const SendAddress = ({ error, className, onMsg }: Props) => {
76
76
  {t('sendAddress.label', 'Send to')}
77
77
  </h5>
78
78
  <Input
79
+ fontSize="sm"
79
80
  defaultValue={ctx.sendAddress}
80
81
  state={inputState}
81
82
  className="mb-sw-xl"
@@ -88,7 +89,7 @@ export const SendAddress = ({ error, className, onMsg }: Props) => {
88
89
  <Button
89
90
  className="absolute right-0 flex items-center gap-sw-md min-w-max cursor-pointer"
90
91
  onClick={() => fireEvent('addressSet', ctx.walletAddress ?? '')}>
91
- <Icons.Wand2 size={14} />
92
+ <WandShine size={14} />
92
93
  <span className="text-sw-label-md">
93
94
  {t('sendAddress.button.magic.label', 'My wallet')}
94
95
  </span>
@@ -1,7 +1,7 @@
1
- import * as Icons from 'lucide-react';
1
+ import { CheckW700 as Check } from '@material-symbols-svg/react-rounded/icons/check';
2
2
 
3
3
  export const CheckIcon = () => (
4
4
  <div className="mb-sw-xl bg-sw-status-success text-sw-gray-950 flex h-[44px] w-[44px] items-center justify-center rounded-full">
5
- <Icons.Check size={24} />
5
+ <Check size={24} />
6
6
  </div>
7
7
  );
@@ -1,4 +1,4 @@
1
- import * as Icons from 'lucide-react';
1
+ import { OpenInNewW700 as OpenInNew } from '@material-symbols-svg/react-rounded/icons/open-in-new';
2
2
 
3
3
  type Props = {
4
4
  url: string;
@@ -10,6 +10,6 @@ export const ExternalAction = ({ url }: Props) => (
10
10
  href={url}
11
11
  className="text-sw-accent-300 hover:text-sw-accent-50 cursor-pointer"
12
12
  rel="noreferrer">
13
- <Icons.ExternalLink size={16} />
13
+ <OpenInNew size={16} />
14
14
  </a>
15
15
  );
@@ -1,5 +1,5 @@
1
+ import { SearchW700 as Search } from '@material-symbols-svg/react-rounded/icons/search';
1
2
  import { useRef, useState } from 'react';
2
- import * as Icons from 'lucide-react';
3
3
 
4
4
  import { TokensList } from './TokensList';
5
5
  import { ChainsDropdown } from './ChainsDropdown';
@@ -99,7 +99,7 @@ export const TokensModal = ({
99
99
  <div className="gap-sw-xl flex items-center">
100
100
  <Input
101
101
  focusOnMount
102
- icon={Icons.Search}
102
+ icon={Search}
103
103
  ref={searchInputRef}
104
104
  defaultValue={search}
105
105
  className="w-full"
@@ -1,12 +1,11 @@
1
- import {
2
- AccountBalanceWalletFill,
3
- ArmingCountdownFill,
4
- BeenhereFill,
5
- CheckCircleFill,
6
- EncryptedFill,
7
- GppBadFill,
8
- type MaterialSymbolsComponent,
9
- } from '@material-symbols-svg/react-rounded';
1
+ import { AccountBalanceWalletFillW700 as AccountBalanceWalletFill } from '@material-symbols-svg/react-rounded/icons/account-balance-wallet';
2
+ import { ArmingCountdownFillW700 as ArmingCountdownFill } from '@material-symbols-svg/react-rounded/icons/arming-countdown';
3
+ import { BeenhereFillW700 as BeenhereFill } from '@material-symbols-svg/react-rounded/icons/beenhere';
4
+ import { CheckCircleFillW700 as CheckCircleFill } from '@material-symbols-svg/react-rounded/icons/check-circle';
5
+ import { EncryptedFillW700 as EncryptedFill } from '@material-symbols-svg/react-rounded/icons/encrypted';
6
+ import { GppBadFillW700 as GppBadFill } from '@material-symbols-svg/react-rounded/icons/gpp-bad';
7
+ import type { MaterialSymbolsComponent } from '@material-symbols-svg/react-rounded';
8
+
10
9
  import { useTimer } from 'use-timer';
11
10
  import { useEffect } from 'react';
12
11
 
package/src/tailwind.css CHANGED
@@ -102,6 +102,15 @@
102
102
  }
103
103
  }
104
104
 
105
+ @utility text-sw-label-2sm {
106
+ @layer components {
107
+ @apply font-semibold;
108
+ font-size: 0.825rem;
109
+ line-height: 0.875rem;
110
+ letter-spacing: -0.01875rem;
111
+ }
112
+ }
113
+
105
114
  @utility text-sw-label-sm {
106
115
  @layer components {
107
116
  @apply font-semibold;