@reown/appkit-ui-react-native 0.0.0-fix-token-balance-20241017200828 → 0.0.0-fix-fetch-error-improvements-20241114122508

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 (277) hide show
  1. package/lib/commonjs/assets/svg/Farcaster.js +28 -0
  2. package/lib/commonjs/assets/svg/Farcaster.js.map +1 -0
  3. package/lib/commonjs/assets/svg/FarcasterSquare.js +28 -0
  4. package/lib/commonjs/assets/svg/FarcasterSquare.js.map +1 -0
  5. package/lib/commonjs/assets/svg/{TwitterIcon.js → More.js} +16 -5
  6. package/lib/commonjs/assets/svg/More.js.map +1 -0
  7. package/lib/commonjs/assets/svg/WalletConnect.js +19 -1
  8. package/lib/commonjs/assets/svg/WalletConnect.js.map +1 -1
  9. package/lib/commonjs/assets/svg/{Twitter.js → X.js} +18 -28
  10. package/lib/commonjs/assets/svg/X.js.map +1 -0
  11. package/lib/commonjs/assets/visual/Google.js +59 -0
  12. package/lib/commonjs/assets/visual/Google.js.map +1 -0
  13. package/lib/commonjs/assets/visual/Lightbulb.js +58 -0
  14. package/lib/commonjs/assets/visual/Lightbulb.js.map +1 -0
  15. package/lib/commonjs/assets/visual/Pencil.js +81 -0
  16. package/lib/commonjs/assets/visual/Pencil.js.map +1 -0
  17. package/lib/commonjs/components/wui-card/index.js +1 -1
  18. package/lib/commonjs/components/wui-card/styles.js +1 -1
  19. package/lib/commonjs/components/wui-card/styles.js.map +1 -1
  20. package/lib/commonjs/components/wui-icon/index.js +14 -7
  21. package/lib/commonjs/components/wui-icon/index.js.map +1 -1
  22. package/lib/commonjs/components/wui-lean-text/index.js +15 -0
  23. package/lib/commonjs/components/wui-lean-text/index.js.map +1 -0
  24. package/lib/commonjs/components/wui-lean-view/index.js +15 -0
  25. package/lib/commonjs/components/wui-lean-view/index.js.map +1 -0
  26. package/lib/commonjs/components/wui-text/index.js +2 -2
  27. package/lib/commonjs/components/wui-text/index.js.map +1 -1
  28. package/lib/commonjs/components/wui-visual/index.js +6 -0
  29. package/lib/commonjs/components/wui-visual/index.js.map +1 -1
  30. package/lib/commonjs/composites/wui-account-button/styles.js +2 -2
  31. package/lib/commonjs/composites/wui-account-button/styles.js.map +1 -1
  32. package/lib/commonjs/composites/wui-account-pill/index.js +5 -11
  33. package/lib/commonjs/composites/wui-account-pill/index.js.map +1 -1
  34. package/lib/commonjs/composites/wui-account-pill/styles.js +5 -1
  35. package/lib/commonjs/composites/wui-account-pill/styles.js.map +1 -1
  36. package/lib/commonjs/composites/wui-button/styles.js +1 -1
  37. package/lib/commonjs/composites/wui-button/styles.js.map +1 -1
  38. package/lib/commonjs/composites/wui-chip/index.js +7 -3
  39. package/lib/commonjs/composites/wui-chip/index.js.map +1 -1
  40. package/lib/commonjs/composites/wui-chip/styles.js +2 -2
  41. package/lib/commonjs/composites/wui-chip/styles.js.map +1 -1
  42. package/lib/commonjs/composites/wui-compatible-network/index.js +6 -6
  43. package/lib/commonjs/composites/wui-compatible-network/index.js.map +1 -1
  44. package/lib/commonjs/composites/wui-connect-button/styles.js +1 -1
  45. package/lib/commonjs/composites/wui-connect-button/styles.js.map +1 -1
  46. package/lib/commonjs/composites/wui-icon-box/index.js +17 -1
  47. package/lib/commonjs/composites/wui-icon-box/index.js.map +1 -1
  48. package/lib/commonjs/composites/wui-input-text/styles.js +1 -1
  49. package/lib/commonjs/composites/wui-input-text/styles.js.map +1 -1
  50. package/lib/commonjs/composites/wui-list-social/index.js +54 -0
  51. package/lib/commonjs/composites/wui-list-social/index.js.map +1 -0
  52. package/lib/commonjs/composites/wui-list-social/styles.js +34 -0
  53. package/lib/commonjs/composites/wui-list-social/styles.js.map +1 -0
  54. package/lib/commonjs/composites/wui-list-wallet/index.js +4 -3
  55. package/lib/commonjs/composites/wui-list-wallet/index.js.map +1 -1
  56. package/lib/commonjs/composites/wui-logo/index.js +4 -2
  57. package/lib/commonjs/composites/wui-logo/index.js.map +1 -1
  58. package/lib/commonjs/composites/wui-logo-select/index.js +6 -3
  59. package/lib/commonjs/composites/wui-logo-select/index.js.map +1 -1
  60. package/lib/commonjs/composites/wui-logo-select/styles.js +3 -3
  61. package/lib/commonjs/composites/wui-logo-select/styles.js.map +1 -1
  62. package/lib/commonjs/composites/wui-network-button/styles.js +1 -1
  63. package/lib/commonjs/composites/wui-network-button/styles.js.map +1 -1
  64. package/lib/commonjs/composites/wui-otp/index.js +1 -2
  65. package/lib/commonjs/composites/wui-otp/index.js.map +1 -1
  66. package/lib/commonjs/composites/wui-promo/index.js +48 -0
  67. package/lib/commonjs/composites/wui-promo/index.js.map +1 -0
  68. package/lib/commonjs/composites/wui-qr-code/index.js +2 -1
  69. package/lib/commonjs/composites/wui-qr-code/index.js.map +1 -1
  70. package/lib/commonjs/composites/wui-snackbar/styles.js +1 -1
  71. package/lib/commonjs/composites/wui-snackbar/styles.js.map +1 -1
  72. package/lib/commonjs/composites/wui-tabs/styles.js +1 -1
  73. package/lib/commonjs/composites/wui-tabs/styles.js.map +1 -1
  74. package/lib/commonjs/composites/wui-wallet-image/styles.js +1 -1
  75. package/lib/commonjs/composites/wui-wallet-image/styles.js.map +1 -1
  76. package/lib/commonjs/index.js +14 -0
  77. package/lib/commonjs/index.js.map +1 -1
  78. package/lib/commonjs/layout/wui-flex/index.js +2 -2
  79. package/lib/commonjs/layout/wui-flex/index.js.map +1 -1
  80. package/lib/commonjs/layout/wui-separator/index.js +4 -4
  81. package/lib/commonjs/layout/wui-separator/index.js.map +1 -1
  82. package/lib/commonjs/utils/ThemeUtil.js +2 -1
  83. package/lib/commonjs/utils/ThemeUtil.js.map +1 -1
  84. package/lib/module/assets/svg/Farcaster.js +20 -0
  85. package/lib/module/assets/svg/Farcaster.js.map +1 -0
  86. package/lib/module/assets/svg/FarcasterSquare.js +20 -0
  87. package/lib/module/assets/svg/FarcasterSquare.js.map +1 -0
  88. package/lib/module/assets/svg/More.js +22 -0
  89. package/lib/module/assets/svg/More.js.map +1 -0
  90. package/lib/module/assets/svg/WalletConnect.js +18 -1
  91. package/lib/module/assets/svg/WalletConnect.js.map +1 -1
  92. package/lib/module/assets/svg/X.js +27 -0
  93. package/lib/module/assets/svg/X.js.map +1 -0
  94. package/lib/module/assets/visual/Google.js +51 -0
  95. package/lib/module/assets/visual/Google.js.map +1 -0
  96. package/lib/module/assets/visual/Lightbulb.js +50 -0
  97. package/lib/module/assets/visual/Lightbulb.js.map +1 -0
  98. package/lib/module/assets/visual/Pencil.js +73 -0
  99. package/lib/module/assets/visual/Pencil.js.map +1 -0
  100. package/lib/module/components/wui-card/index.js +1 -1
  101. package/lib/module/components/wui-card/styles.js +1 -1
  102. package/lib/module/components/wui-card/styles.js.map +1 -1
  103. package/lib/module/components/wui-icon/index.js +12 -7
  104. package/lib/module/components/wui-icon/index.js.map +1 -1
  105. package/lib/module/components/wui-lean-text/index.js +10 -0
  106. package/lib/module/components/wui-lean-text/index.js.map +1 -0
  107. package/lib/module/components/wui-lean-view/index.js +10 -0
  108. package/lib/module/components/wui-lean-view/index.js.map +1 -0
  109. package/lib/module/components/wui-text/index.js +2 -2
  110. package/lib/module/components/wui-text/index.js.map +1 -1
  111. package/lib/module/components/wui-visual/index.js +6 -0
  112. package/lib/module/components/wui-visual/index.js.map +1 -1
  113. package/lib/module/composites/wui-account-button/styles.js +2 -2
  114. package/lib/module/composites/wui-account-button/styles.js.map +1 -1
  115. package/lib/module/composites/wui-account-pill/index.js +5 -11
  116. package/lib/module/composites/wui-account-pill/index.js.map +1 -1
  117. package/lib/module/composites/wui-account-pill/styles.js +5 -1
  118. package/lib/module/composites/wui-account-pill/styles.js.map +1 -1
  119. package/lib/module/composites/wui-button/styles.js +1 -1
  120. package/lib/module/composites/wui-button/styles.js.map +1 -1
  121. package/lib/module/composites/wui-chip/index.js +7 -3
  122. package/lib/module/composites/wui-chip/index.js.map +1 -1
  123. package/lib/module/composites/wui-chip/styles.js +2 -2
  124. package/lib/module/composites/wui-chip/styles.js.map +1 -1
  125. package/lib/module/composites/wui-compatible-network/index.js +6 -6
  126. package/lib/module/composites/wui-compatible-network/index.js.map +1 -1
  127. package/lib/module/composites/wui-connect-button/styles.js +1 -1
  128. package/lib/module/composites/wui-connect-button/styles.js.map +1 -1
  129. package/lib/module/composites/wui-icon-box/index.js +17 -1
  130. package/lib/module/composites/wui-icon-box/index.js.map +1 -1
  131. package/lib/module/composites/wui-input-text/styles.js +1 -1
  132. package/lib/module/composites/wui-input-text/styles.js.map +1 -1
  133. package/lib/module/composites/wui-list-social/index.js +47 -0
  134. package/lib/module/composites/wui-list-social/index.js.map +1 -0
  135. package/lib/module/composites/wui-list-social/styles.js +28 -0
  136. package/lib/module/composites/wui-list-social/styles.js.map +1 -0
  137. package/lib/module/composites/wui-list-wallet/index.js +5 -4
  138. package/lib/module/composites/wui-list-wallet/index.js.map +1 -1
  139. package/lib/module/composites/wui-logo/index.js +4 -2
  140. package/lib/module/composites/wui-logo/index.js.map +1 -1
  141. package/lib/module/composites/wui-logo-select/index.js +6 -3
  142. package/lib/module/composites/wui-logo-select/index.js.map +1 -1
  143. package/lib/module/composites/wui-logo-select/styles.js +3 -3
  144. package/lib/module/composites/wui-logo-select/styles.js.map +1 -1
  145. package/lib/module/composites/wui-network-button/styles.js +1 -1
  146. package/lib/module/composites/wui-network-button/styles.js.map +1 -1
  147. package/lib/module/composites/wui-otp/index.js +2 -3
  148. package/lib/module/composites/wui-otp/index.js.map +1 -1
  149. package/lib/module/composites/wui-promo/index.js +42 -0
  150. package/lib/module/composites/wui-promo/index.js.map +1 -0
  151. package/lib/module/composites/wui-qr-code/index.js +2 -1
  152. package/lib/module/composites/wui-qr-code/index.js.map +1 -1
  153. package/lib/module/composites/wui-snackbar/styles.js +1 -1
  154. package/lib/module/composites/wui-snackbar/styles.js.map +1 -1
  155. package/lib/module/composites/wui-tabs/styles.js +1 -1
  156. package/lib/module/composites/wui-tabs/styles.js.map +1 -1
  157. package/lib/module/composites/wui-wallet-image/styles.js +1 -1
  158. package/lib/module/composites/wui-wallet-image/styles.js.map +1 -1
  159. package/lib/module/index.js +2 -0
  160. package/lib/module/index.js.map +1 -1
  161. package/lib/module/layout/wui-flex/index.js +2 -2
  162. package/lib/module/layout/wui-flex/index.js.map +1 -1
  163. package/lib/module/layout/wui-separator/index.js +4 -4
  164. package/lib/module/layout/wui-separator/index.js.map +1 -1
  165. package/lib/module/utils/ThemeUtil.js +2 -1
  166. package/lib/module/utils/ThemeUtil.js.map +1 -1
  167. package/lib/typescript/assets/svg/Farcaster.d.ts +4 -0
  168. package/lib/typescript/assets/svg/Farcaster.d.ts.map +1 -0
  169. package/lib/typescript/assets/svg/FarcasterSquare.d.ts +4 -0
  170. package/lib/typescript/assets/svg/FarcasterSquare.d.ts.map +1 -0
  171. package/lib/typescript/assets/svg/More.d.ts +4 -0
  172. package/lib/typescript/assets/svg/More.d.ts.map +1 -0
  173. package/lib/typescript/assets/svg/WalletConnect.d.ts +1 -0
  174. package/lib/typescript/assets/svg/WalletConnect.d.ts.map +1 -1
  175. package/lib/typescript/assets/svg/X.d.ts +4 -0
  176. package/lib/typescript/assets/svg/X.d.ts.map +1 -0
  177. package/lib/typescript/assets/visual/Google.d.ts +4 -0
  178. package/lib/typescript/assets/visual/Google.d.ts.map +1 -0
  179. package/lib/typescript/assets/visual/Lightbulb.d.ts +4 -0
  180. package/lib/typescript/assets/visual/Lightbulb.d.ts.map +1 -0
  181. package/lib/typescript/assets/visual/Pencil.d.ts +4 -0
  182. package/lib/typescript/assets/visual/Pencil.d.ts.map +1 -0
  183. package/lib/typescript/components/wui-icon/index.d.ts +1 -1
  184. package/lib/typescript/components/wui-icon/index.d.ts.map +1 -1
  185. package/lib/typescript/components/wui-lean-text/index.d.ts +5 -0
  186. package/lib/typescript/components/wui-lean-text/index.d.ts.map +1 -0
  187. package/lib/typescript/components/wui-lean-view/index.d.ts +5 -0
  188. package/lib/typescript/components/wui-lean-view/index.d.ts.map +1 -0
  189. package/lib/typescript/components/wui-text/index.d.ts.map +1 -1
  190. package/lib/typescript/components/wui-visual/index.d.ts.map +1 -1
  191. package/lib/typescript/composites/wui-account-pill/index.d.ts +1 -2
  192. package/lib/typescript/composites/wui-account-pill/index.d.ts.map +1 -1
  193. package/lib/typescript/composites/wui-account-pill/styles.d.ts +4 -0
  194. package/lib/typescript/composites/wui-account-pill/styles.d.ts.map +1 -1
  195. package/lib/typescript/composites/wui-chip/index.d.ts +3 -2
  196. package/lib/typescript/composites/wui-chip/index.d.ts.map +1 -1
  197. package/lib/typescript/composites/wui-compatible-network/index.d.ts.map +1 -1
  198. package/lib/typescript/composites/wui-icon-box/index.d.ts +1 -1
  199. package/lib/typescript/composites/wui-icon-box/index.d.ts.map +1 -1
  200. package/lib/typescript/composites/wui-list-social/index.d.ts +15 -0
  201. package/lib/typescript/composites/wui-list-social/index.d.ts.map +1 -0
  202. package/lib/typescript/composites/wui-list-social/styles.d.ts +27 -0
  203. package/lib/typescript/composites/wui-list-social/styles.d.ts.map +1 -0
  204. package/lib/typescript/composites/wui-list-wallet/index.d.ts.map +1 -1
  205. package/lib/typescript/composites/wui-logo/index.d.ts +3 -1
  206. package/lib/typescript/composites/wui-logo/index.d.ts.map +1 -1
  207. package/lib/typescript/composites/wui-logo-select/index.d.ts +4 -1
  208. package/lib/typescript/composites/wui-logo-select/index.d.ts.map +1 -1
  209. package/lib/typescript/composites/wui-otp/index.d.ts.map +1 -1
  210. package/lib/typescript/composites/wui-promo/index.d.ts +8 -0
  211. package/lib/typescript/composites/wui-promo/index.d.ts.map +1 -0
  212. package/lib/typescript/composites/wui-qr-code/index.d.ts +3 -1
  213. package/lib/typescript/composites/wui-qr-code/index.d.ts.map +1 -1
  214. package/lib/typescript/index.d.ts +2 -0
  215. package/lib/typescript/index.d.ts.map +1 -1
  216. package/lib/typescript/layout/wui-flex/index.d.ts.map +1 -1
  217. package/lib/typescript/layout/wui-separator/index.d.ts.map +1 -1
  218. package/lib/typescript/utils/ThemeUtil.d.ts +1 -0
  219. package/lib/typescript/utils/ThemeUtil.d.ts.map +1 -1
  220. package/lib/typescript/utils/TypesUtil.d.ts +4 -4
  221. package/lib/typescript/utils/TypesUtil.d.ts.map +1 -1
  222. package/package.json +1 -1
  223. package/src/assets/svg/Farcaster.tsx +15 -0
  224. package/src/assets/svg/FarcasterSquare.tsx +15 -0
  225. package/src/assets/svg/More.tsx +16 -0
  226. package/src/assets/svg/WalletConnect.tsx +24 -1
  227. package/src/assets/svg/X.tsx +26 -0
  228. package/src/assets/visual/Google.tsx +43 -0
  229. package/src/assets/visual/Lightbulb.tsx +54 -0
  230. package/src/assets/visual/Pencil.tsx +80 -0
  231. package/src/components/wui-card/index.tsx +1 -1
  232. package/src/components/wui-card/styles.ts +1 -1
  233. package/src/components/wui-icon/index.tsx +13 -8
  234. package/src/components/wui-lean-text/index.tsx +10 -0
  235. package/src/components/wui-lean-view/index.tsx +10 -0
  236. package/src/components/wui-text/index.tsx +4 -3
  237. package/src/components/wui-visual/index.tsx +6 -0
  238. package/src/composites/wui-account-button/styles.ts +2 -2
  239. package/src/composites/wui-account-pill/index.tsx +2 -10
  240. package/src/composites/wui-account-pill/styles.ts +5 -1
  241. package/src/composites/wui-button/styles.ts +1 -1
  242. package/src/composites/wui-chip/index.tsx +7 -4
  243. package/src/composites/wui-chip/styles.ts +2 -2
  244. package/src/composites/wui-compatible-network/index.tsx +4 -4
  245. package/src/composites/wui-connect-button/styles.ts +1 -1
  246. package/src/composites/wui-icon-box/index.tsx +18 -2
  247. package/src/composites/wui-input-text/styles.ts +1 -1
  248. package/src/composites/wui-list-social/index.tsx +65 -0
  249. package/src/composites/wui-list-social/styles.ts +28 -0
  250. package/src/composites/wui-list-wallet/index.tsx +7 -6
  251. package/src/composites/wui-logo/index.tsx +4 -2
  252. package/src/composites/wui-logo-select/index.tsx +7 -4
  253. package/src/composites/wui-logo-select/styles.ts +3 -3
  254. package/src/composites/wui-network-button/styles.ts +1 -1
  255. package/src/composites/wui-otp/index.tsx +2 -4
  256. package/src/composites/wui-promo/index.tsx +42 -0
  257. package/src/composites/wui-qr-code/index.tsx +4 -2
  258. package/src/composites/wui-snackbar/styles.ts +1 -1
  259. package/src/composites/wui-tabs/styles.ts +1 -1
  260. package/src/composites/wui-wallet-image/styles.ts +1 -1
  261. package/src/index.ts +2 -0
  262. package/src/layout/wui-flex/index.tsx +3 -3
  263. package/src/layout/wui-separator/index.tsx +7 -4
  264. package/src/utils/ThemeUtil.ts +2 -1
  265. package/src/utils/TypesUtil.ts +22 -4
  266. package/lib/commonjs/assets/svg/Twitter.js.map +0 -1
  267. package/lib/commonjs/assets/svg/TwitterIcon.js.map +0 -1
  268. package/lib/module/assets/svg/Twitter.js +0 -37
  269. package/lib/module/assets/svg/Twitter.js.map +0 -1
  270. package/lib/module/assets/svg/TwitterIcon.js +0 -11
  271. package/lib/module/assets/svg/TwitterIcon.js.map +0 -1
  272. package/lib/typescript/assets/svg/Twitter.d.ts +0 -4
  273. package/lib/typescript/assets/svg/Twitter.d.ts.map +0 -1
  274. package/lib/typescript/assets/svg/TwitterIcon.d.ts +0 -4
  275. package/lib/typescript/assets/svg/TwitterIcon.d.ts.map +0 -1
  276. package/src/assets/svg/Twitter.tsx +0 -27
  277. package/src/assets/svg/TwitterIcon.tsx +0 -10
@@ -30,6 +30,8 @@ import EtherscanSvg from '../../assets/svg/Etherscan';
30
30
  import ExtensionSvg from '../../assets/svg/Extension';
31
31
  import ExternalLinkSvg from '../../assets/svg/ExternalLink';
32
32
  import FacebookSvg from '../../assets/svg/Facebook';
33
+ import FarcasterSvg from '../../assets/svg/Farcaster';
34
+ import FarcasterSquareSvg from '../../assets/svg/FarcasterSquare';
33
35
  import FiltersSvg from '../../assets/svg/Filters';
34
36
  import GithubSvg from '../../assets/svg/Github';
35
37
  import GoogleSvg from '../../assets/svg/Google';
@@ -37,6 +39,7 @@ import HelpCircleSvg from '../../assets/svg/HelpCircle';
37
39
  import InfoCircleSvg from '../../assets/svg/InfoCircle';
38
40
  import MailSvg from '../../assets/svg/Mail';
39
41
  import MobileSvg from '../../assets/svg/Mobile';
42
+ import MoreSvg from '../../assets/svg/More';
40
43
  import NetworkPlaceholderSvg from '../../assets/svg/NetworkPlaceholder';
41
44
  import NftPlaceholderSvg from '../../assets/svg/NftPlaceholder';
42
45
  import OffSvg from '../../assets/svg/Off';
@@ -47,15 +50,14 @@ import SearchSvg from '../../assets/svg/Search';
47
50
  import SwapHorizontalSvg from '../../assets/svg/SwapHorizontal';
48
51
  import SwapVerticalSvg from '../../assets/svg/SwapVertical';
49
52
  import TelegramSvg from '../../assets/svg/Telegram';
50
- import TwitterSvg from '../../assets/svg/Twitter';
53
+ import TwitchSvg from '../../assets/svg/Twitch';
51
54
  import VerifySvg from '../../assets/svg/Verify';
52
- import WalletConnectSvg from '../../assets/svg/WalletConnect';
55
+ import WalletConnectSvg, { WalletConnectLightBrownSvg } from '../../assets/svg/WalletConnect';
53
56
  import WalletSvg from '../../assets/svg/Wallet';
54
57
  import WalletSmallSvg from '../../assets/svg/WalletSmall';
55
58
  import WarningCircleSvg from '../../assets/svg/WarningCircle';
56
- import TwitchSvg from '../../assets/svg/Twitch';
57
- import TwitterIconSvg from '../../assets/svg/TwitterIcon';
58
59
  import WalletPlaceholderSvg from '../../assets/svg/WalletPlaceholder';
60
+ import XSvg from '../../assets/svg/X';
59
61
  import { useTheme } from '../../hooks/useTheme';
60
62
  import { IconSize } from '../../utils/ThemeUtil';
61
63
 
@@ -88,6 +90,8 @@ const svgOptions: Record<IconType, (props: SvgProps) => JSX.Element> = {
88
90
  extension: ExtensionSvg,
89
91
  externalLink: ExternalLinkSvg,
90
92
  facebook: FacebookSvg,
93
+ farcaster: FarcasterSvg,
94
+ farcasterSquare: FarcasterSquareSvg,
91
95
  filters: FiltersSvg,
92
96
  github: GithubSvg,
93
97
  google: GoogleSvg,
@@ -95,6 +99,7 @@ const svgOptions: Record<IconType, (props: SvgProps) => JSX.Element> = {
95
99
  infoCircle: InfoCircleSvg,
96
100
  mail: MailSvg,
97
101
  mobile: MobileSvg,
102
+ more: MoreSvg,
98
103
  networkPlaceholder: NetworkPlaceholderSvg,
99
104
  nftPlaceholder: NftPlaceholderSvg,
100
105
  off: OffSvg,
@@ -106,19 +111,19 @@ const svgOptions: Record<IconType, (props: SvgProps) => JSX.Element> = {
106
111
  swapVertical: SwapVerticalSvg,
107
112
  telegram: TelegramSvg,
108
113
  twitch: TwitchSvg,
109
- twitter: TwitterSvg,
110
- twitterIcon: TwitterIconSvg,
111
114
  verify: VerifySvg,
112
115
  wallet: WalletSvg,
113
116
  walletSmall: WalletSmallSvg,
114
117
  warningCircle: WarningCircleSvg,
115
118
  walletConnect: WalletConnectSvg,
116
- walletPlaceholder: WalletPlaceholderSvg
119
+ walletConnectLightBrown: WalletConnectLightBrownSvg,
120
+ walletPlaceholder: WalletPlaceholderSvg,
121
+ x: XSvg
117
122
  };
118
123
 
119
124
  export type IconProps = SvgProps & {
120
125
  name: IconType;
121
- size?: Exclude<SizeType, 'xl'>;
126
+ size?: SizeType;
122
127
  color?: ColorType;
123
128
  style?: SvgProps['style'];
124
129
  };
@@ -0,0 +1,10 @@
1
+ import { type ComponentType, createElement, forwardRef } from 'react';
2
+ import type { TextProps } from 'react-native';
3
+
4
+ const LeanText = forwardRef((props, ref) => {
5
+ return createElement('RCTText', { ...props, ref });
6
+ }) as ComponentType<TextProps>;
7
+
8
+ LeanText.displayName = 'RCTText';
9
+
10
+ export { LeanText };
@@ -0,0 +1,10 @@
1
+ import { type ComponentType, createElement, forwardRef } from 'react';
2
+ import type { ViewProps } from 'react-native';
3
+
4
+ const LeanView = forwardRef((props, ref) => {
5
+ return createElement('RCTView', { ...props, ref });
6
+ }) as ComponentType<ViewProps>;
7
+
8
+ LeanView.displayName = 'RCTView';
9
+
10
+ export { LeanView };
@@ -1,5 +1,6 @@
1
- import { Text as NativeText, type TextProps as NativeProps } from 'react-native';
1
+ import { type TextProps as NativeProps } from 'react-native';
2
2
  import { useTheme } from '../../hooks/useTheme';
3
+ import { LeanText } from '../wui-lean-text';
3
4
  import type { ColorType, TextType } from '../../utils/TypesUtil';
4
5
  import styles from './styles';
5
6
 
@@ -20,7 +21,7 @@ export function Text({
20
21
  const Theme = useTheme();
21
22
 
22
23
  return (
23
- <NativeText
24
+ <LeanText
24
25
  style={[
25
26
  styles.base,
26
27
  styles[variant],
@@ -31,6 +32,6 @@ export function Text({
31
32
  {...rest}
32
33
  >
33
34
  {children}
34
- </NativeText>
35
+ </LeanText>
35
36
  );
36
37
  }
@@ -14,6 +14,9 @@ import NounSvg from '../../assets/visual/Noun';
14
14
  import ProfileSvg from '../../assets/visual/Profile';
15
15
  import SystemSvg from '../../assets/visual/System';
16
16
  import type { VisualType } from '../../utils/TypesUtil';
17
+ import GoogleSvg from '../../assets/visual/Google';
18
+ import LightbulbSvg from '../../assets/visual/Lightbulb';
19
+ import PencilSvg from '../../assets/visual/Pencil';
17
20
 
18
21
  const svgOptions: Record<VisualType, (props: SvgProps) => JSX.Element> = {
19
22
  browser: BrowserSvg,
@@ -21,12 +24,15 @@ const svgOptions: Record<VisualType, (props: SvgProps) => JSX.Element> = {
21
24
  defi: DefiSvg,
22
25
  defiAlt: DefiAltSvg,
23
26
  eth: EthSvg,
27
+ google: GoogleSvg,
24
28
  layers: LayersSvg,
29
+ lightbulb: LightbulbSvg,
25
30
  lock: LockSvg,
26
31
  login: LoginSvg,
27
32
  network: NetworkSvg,
28
33
  nft: NftSvg,
29
34
  noun: NounSvg,
35
+ pencil: PencilSvg,
30
36
  profile: ProfileSvg,
31
37
  system: SystemSvg
32
38
  };
@@ -6,7 +6,7 @@ export default StyleSheet.create({
6
6
  flexDirection: 'row',
7
7
  height: 40,
8
8
  borderRadius: BorderRadius.full,
9
- borderWidth: 1,
9
+ borderWidth: StyleSheet.hairlineWidth,
10
10
  justifyContent: 'center',
11
11
  alignItems: 'center',
12
12
  paddingHorizontal: Spacing['3xs']
@@ -36,7 +36,7 @@ export default StyleSheet.create({
36
36
  paddingLeft: Spacing['3xs'],
37
37
  paddingRight: Spacing.xs,
38
38
  borderRadius: BorderRadius.full,
39
- borderWidth: 1
39
+ borderWidth: StyleSheet.hairlineWidth
40
40
  },
41
41
  address: {
42
42
  marginLeft: Spacing['3xs']
@@ -1,15 +1,14 @@
1
1
  import { Animated, Pressable, type StyleProp, type ViewStyle } from 'react-native';
2
2
  import { Avatar } from '../wui-avatar';
3
3
  import { UiUtil } from '../../utils/UiUtil';
4
- import { IconLink } from '../wui-icon-link';
5
4
  import { Text } from '../../components/wui-text';
6
5
  import useAnimatedValue from '../../hooks/useAnimatedValue';
7
6
  import { useTheme } from '../../hooks/useTheme';
8
7
  import styles from './styles';
8
+ import { Icon } from '../../components/wui-icon';
9
9
 
10
10
  export interface AccountPillProps {
11
11
  onPress: () => void;
12
- onCopy: (address: string) => void;
13
12
  address?: string;
14
13
  profileName?: string;
15
14
  profileImage?: string;
@@ -20,7 +19,6 @@ const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
20
19
 
21
20
  export function AccountPill({
22
21
  onPress,
23
- onCopy,
24
22
  address,
25
23
  profileName,
26
24
  profileImage,
@@ -36,12 +34,6 @@ export function AccountPill({
36
34
  const backgroundColor = animatedValue;
37
35
  const borderColor = Theme['gray-glass-005'];
38
36
 
39
- const handleCopyAddress = () => {
40
- if (address) {
41
- onCopy(address);
42
- }
43
- };
44
-
45
37
  return (
46
38
  <AnimatedPressable
47
39
  style={[styles.container, { backgroundColor, borderColor }, style]}
@@ -66,7 +58,7 @@ export function AccountPill({
66
58
  truncate: 'middle'
67
59
  })}
68
60
  </Text>
69
- <IconLink icon="copy" size="sm" iconColor="fg-200" onPress={handleCopyAddress} />
61
+ <Icon name="chevronBottom" size="sm" color="fg-200" style={styles.copyButton} />
70
62
  </AnimatedPressable>
71
63
  );
72
64
  }
@@ -11,9 +11,13 @@ export default StyleSheet.create({
11
11
  alignItems: 'center',
12
12
  justifyContent: 'center',
13
13
  borderRadius: BorderRadius.full,
14
- borderWidth: 1
14
+ borderWidth: StyleSheet.hairlineWidth
15
15
  },
16
16
  text: {
17
17
  marginLeft: Spacing['2xs']
18
+ },
19
+ copyButton: {
20
+ marginLeft: Spacing.xs,
21
+ marginRight: Spacing.s
18
22
  }
19
23
  });
@@ -62,7 +62,7 @@ export default StyleSheet.create({
62
62
  alignItems: 'center',
63
63
  justifyContent: 'center',
64
64
  borderRadius: BorderRadius.xs,
65
- borderWidth: 1
65
+ borderWidth: StyleSheet.hairlineWidth
66
66
  },
67
67
  smButton: {
68
68
  height: 32,
@@ -12,7 +12,8 @@ const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
12
12
  export interface ChipProps {
13
13
  label?: string;
14
14
  imageSrc?: string;
15
- icon?: IconType;
15
+ leftIcon?: IconType;
16
+ rightIcon?: IconType;
16
17
  variant?: ChipType;
17
18
  size?: Exclude<SizeType, 'xl' | 'lg' | 'xs' | 'xxs'>;
18
19
  disabled?: boolean;
@@ -23,7 +24,8 @@ export interface ChipProps {
23
24
  export function Chip({
24
25
  onPress,
25
26
  imageSrc,
26
- icon,
27
+ leftIcon,
28
+ rightIcon,
27
29
  variant = 'fill',
28
30
  size = 'md',
29
31
  disabled,
@@ -89,15 +91,16 @@ export function Chip({
89
91
  source={imageSrc}
90
92
  />
91
93
  )}
94
+ {leftIcon && <Icon name={leftIcon} color={themedTextColor as ColorType} />}
92
95
  <Text
93
96
  variant={size === 'md' ? 'paragraph-600' : 'small-600'}
94
97
  style={[styles.link, { color: Theme[themedTextColor] }]}
95
98
  >
96
99
  {label}
97
100
  </Text>
98
- {icon && (
101
+ {rightIcon && (
99
102
  <Icon
100
- name={icon}
103
+ name={rightIcon}
101
104
  size={iconSize}
102
105
  color={themedTextColor as ColorType}
103
106
  style={styles.icon}
@@ -65,11 +65,11 @@ export default StyleSheet.create({
65
65
  paddingHorizontal: Spacing.xs,
66
66
  alignItems: 'center',
67
67
  borderRadius: BorderRadius.s,
68
- borderWidth: 1
68
+ borderWidth: StyleSheet.hairlineWidth
69
69
  },
70
70
  image: {
71
71
  borderRadius: BorderRadius.full,
72
- borderWidth: 1
72
+ borderWidth: StyleSheet.hairlineWidth
73
73
  },
74
74
  smImage: {
75
75
  width: 16,
@@ -13,9 +13,6 @@ export interface CompatibleNetworkProps {
13
13
  style?: StyleProp<ViewStyle>;
14
14
  }
15
15
 
16
- const offset = [20, 15, 10, 5, 0];
17
- const zIndex = [5, 4, 3, 2, 1];
18
-
19
16
  export function CompatibleNetwork({
20
17
  text,
21
18
  onPress,
@@ -44,7 +41,7 @@ export function CompatibleNetwork({
44
41
  imageHeaders={imageHeaders}
45
42
  borderColor={Theme['bg-200']}
46
43
  borderWidth={2}
47
- style={{ left: offset[index], zIndex: zIndex[index] }}
44
+ style={[styles.item, { zIndex: networkImages.length - index }]}
48
45
  />
49
46
  ))}
50
47
  </FlexView>
@@ -60,5 +57,8 @@ const styles = StyleSheet.create({
60
57
  flexDirection: 'row',
61
58
  justifyContent: 'space-between',
62
59
  paddingRight: 0
60
+ },
61
+ item: {
62
+ marginLeft: -5
63
63
  }
64
64
  });
@@ -51,7 +51,7 @@ export default StyleSheet.create({
51
51
  alignItems: 'center',
52
52
  justifyContent: 'center',
53
53
  borderRadius: BorderRadius.s,
54
- borderWidth: 1
54
+ borderWidth: StyleSheet.hairlineWidth
55
55
  },
56
56
  smButton: {
57
57
  height: 32
@@ -7,7 +7,7 @@ import styles from './styles';
7
7
 
8
8
  export interface IconBoxProps {
9
9
  icon: IconType;
10
- size?: Exclude<SizeType, 'xl' | 'xs' | 'xxs'>;
10
+ size?: Exclude<SizeType, 'xs' | 'xxs'>;
11
11
  iconColor?: ColorType;
12
12
  iconSize?: Exclude<SizeType, 'xl'>;
13
13
  background?: boolean;
@@ -33,6 +33,9 @@ export function IconBox({
33
33
  const Theme = useTheme();
34
34
  let _iconSize: SizeType;
35
35
  switch (size) {
36
+ case 'xl':
37
+ _iconSize = 'xl';
38
+ break;
36
39
  case 'lg':
37
40
  _iconSize = 'lg';
38
41
  break;
@@ -48,6 +51,9 @@ export function IconBox({
48
51
 
49
52
  let boxSize: number;
50
53
  switch (size) {
54
+ case 'xl':
55
+ boxSize = 56;
56
+ break;
51
57
  case 'lg':
52
58
  boxSize = 40;
53
59
  break;
@@ -58,7 +64,17 @@ export function IconBox({
58
64
  boxSize = 24;
59
65
  }
60
66
 
61
- const borderRadius = size === 'lg' ? 'xxs' : '3xl';
67
+ let borderRadius: keyof typeof BorderRadius;
68
+ switch (size) {
69
+ case 'xl':
70
+ borderRadius = 's';
71
+ break;
72
+ case 'lg':
73
+ borderRadius = 'xxs';
74
+ break;
75
+ default:
76
+ borderRadius = '3xl';
77
+ }
62
78
 
63
79
  const backgroundStyle = {
64
80
  backgroundColor:
@@ -7,7 +7,7 @@ const baseStyle = {
7
7
  borderRadius: BorderRadius.xxs,
8
8
  alignItems: 'center',
9
9
  paddingHorizontal: Spacing.xs,
10
- borderWidth: 1
10
+ borderWidth: StyleSheet.hairlineWidth
11
11
  } as ViewStyle;
12
12
 
13
13
  export const outerBorderRadius = {
@@ -0,0 +1,65 @@
1
+ import { View, Pressable, Animated, type StyleProp, type ViewStyle } from 'react-native';
2
+ import useAnimatedValue from '../../hooks/useAnimatedValue';
3
+ import { useTheme } from '../../hooks/useTheme';
4
+ import type { LogoType } from '../../utils/TypesUtil';
5
+
6
+ import styles from './styles';
7
+ import { Logo } from '../wui-logo';
8
+ import type { ReactNode } from 'react';
9
+
10
+ const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
11
+
12
+ export interface ListSocialProps {
13
+ children?: ReactNode;
14
+ disabled?: boolean;
15
+ logo: LogoType;
16
+ onPress?: () => void;
17
+ style?: StyleProp<ViewStyle>;
18
+ testID?: string;
19
+ logoWidth?: number;
20
+ logoHeight?: number;
21
+ }
22
+
23
+ export function ListSocial({
24
+ logo,
25
+ children,
26
+ disabled,
27
+ onPress,
28
+ style,
29
+ testID,
30
+ logoHeight = 40,
31
+ logoWidth = 40
32
+ }: ListSocialProps) {
33
+ const Theme = useTheme();
34
+ const { animatedValue, setStartValue, setEndValue } = useAnimatedValue(
35
+ Theme['gray-glass-002'],
36
+ Theme['gray-glass-010']
37
+ );
38
+
39
+ return (
40
+ <AnimatedPressable
41
+ disabled={disabled}
42
+ style={[styles.container, { backgroundColor: animatedValue }, style]}
43
+ onPress={onPress}
44
+ onPressIn={setEndValue}
45
+ onPressOut={setStartValue}
46
+ testID={testID}
47
+ >
48
+ <View
49
+ style={[
50
+ styles.border,
51
+ { height: logoHeight + 1, width: logoWidth + 1, borderColor: Theme['gray-glass-005'] }
52
+ ]}
53
+ >
54
+ <Logo
55
+ logo={logo}
56
+ style={disabled && styles.disabledLogo}
57
+ width={logoWidth}
58
+ height={logoHeight}
59
+ />
60
+ </View>
61
+ {children}
62
+ <View style={styles.rightPlaceholder} />
63
+ </AnimatedPressable>
64
+ );
65
+ }
@@ -0,0 +1,28 @@
1
+ import { StyleSheet } from 'react-native';
2
+ import { BorderRadius, Spacing } from '../../utils/ThemeUtil';
3
+
4
+ export default StyleSheet.create({
5
+ container: {
6
+ flexDirection: 'row',
7
+ height: 56,
8
+ width: '100%',
9
+ padding: Spacing.s,
10
+ alignItems: 'center',
11
+ justifyContent: 'space-between',
12
+ borderRadius: BorderRadius.s
13
+ },
14
+ rightPlaceholder: {
15
+ width: 40,
16
+ height: 40,
17
+ borderRadius: 100
18
+ },
19
+ disabledLogo: {
20
+ opacity: 0.4
21
+ },
22
+ border: {
23
+ borderRadius: BorderRadius.full,
24
+ borderWidth: 2,
25
+ alignItems: 'center',
26
+ justifyContent: 'center'
27
+ }
28
+ });
@@ -1,4 +1,4 @@
1
- import { Animated, Pressable, View, type StyleProp, type ViewStyle } from 'react-native';
1
+ import { Animated, Pressable, type StyleProp, type ViewStyle } from 'react-native';
2
2
  import { Text } from '../../components/wui-text';
3
3
  import useAnimatedValue from '../../hooks/useAnimatedValue';
4
4
  import { useTheme } from '../../hooks/useTheme';
@@ -6,9 +6,10 @@ import type { IconType, TagType } from '../../utils/TypesUtil';
6
6
  import { Tag } from '../wui-tag';
7
7
  import { WalletImage } from '../wui-wallet-image';
8
8
  import { Icon } from '../../components/wui-icon';
9
+ import { LeanView } from '../../components/wui-lean-view';
10
+ import { IconBox } from '../wui-icon-box';
9
11
 
10
12
  import styles from './styles';
11
- import { IconBox } from '../wui-icon-box';
12
13
 
13
14
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
14
15
 
@@ -67,7 +68,7 @@ export function ListWallet({
67
68
 
68
69
  function imageTemplate() {
69
70
  return (
70
- <View>
71
+ <LeanView>
71
72
  <WalletImage
72
73
  style={[styles.image, disabled && styles.imageDisabled]}
73
74
  imageSrc={imageSrc}
@@ -76,7 +77,7 @@ export function ListWallet({
76
77
  size="sm"
77
78
  />
78
79
  {templateInstalled()}
79
- </View>
80
+ </LeanView>
80
81
  );
81
82
  }
82
83
 
@@ -116,12 +117,12 @@ export function ListWallet({
116
117
  onPressOut={setStartValue}
117
118
  testID={testID}
118
119
  >
119
- <View style={styles.leftSide}>
120
+ <LeanView style={styles.leftSide}>
120
121
  {imageTemplate()}
121
122
  <Text variant="paragraph-500" style={styles.name} color={disabled ? 'fg-300' : 'fg-100'}>
122
123
  {name}
123
124
  </Text>
124
- </View>
125
+ </LeanView>
125
126
  {iconTemplate()}
126
127
  </AnimatedPressable>
127
128
  );
@@ -6,9 +6,11 @@ import type { LogoType } from '../../utils/TypesUtil';
6
6
  export interface LogoProps {
7
7
  logo: LogoType;
8
8
  disabled?: boolean;
9
+ height?: number;
10
+ width?: number;
9
11
  style?: SvgProps['style'];
10
12
  }
11
13
 
12
- export function Logo({ logo, style }: LogoProps) {
13
- return <Icon width={40} height={40} name={logo} style={style} />;
14
+ export function Logo({ width = 40, height = 40, logo, style }: LogoProps) {
15
+ return <Icon width={width} height={height} name={logo} style={style} />;
14
16
  }
@@ -1,4 +1,4 @@
1
- import { Animated, Pressable } from 'react-native';
1
+ import { Animated, Pressable, type StyleProp, type ViewStyle } from 'react-native';
2
2
  import useAnimatedValue from '../../hooks/useAnimatedValue';
3
3
  import { useTheme } from '../../hooks/useTheme';
4
4
  import type { LogoType } from '../../utils/TypesUtil';
@@ -10,20 +10,23 @@ const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
10
10
  export interface LogoSelectProps {
11
11
  logo: LogoType;
12
12
  disabled?: boolean;
13
+ style?: StyleProp<ViewStyle>;
14
+ onPress?: () => void;
13
15
  }
14
16
 
15
- export function LogoSelect({ logo, disabled }: LogoSelectProps) {
17
+ export function LogoSelect({ logo, disabled, style, onPress }: LogoSelectProps) {
16
18
  const Theme = useTheme();
17
19
  const { animatedValue, setStartValue, setEndValue } = useAnimatedValue(
18
- Theme['gray-glass-005'],
20
+ Theme['gray-glass-002'],
19
21
  Theme['gray-glass-010']
20
22
  );
21
23
 
22
24
  return (
23
25
  <AnimatedPressable
26
+ onPress={onPress}
24
27
  onPressIn={setEndValue}
25
28
  onPressOut={setStartValue}
26
- style={[styles.box, { backgroundColor: animatedValue }]}
29
+ style={[styles.box, { backgroundColor: animatedValue }, style]}
27
30
  disabled={disabled}
28
31
  >
29
32
  <Logo logo={logo} style={disabled && styles.disabled} />
@@ -3,9 +3,9 @@ import { BorderRadius } from '../../utils/ThemeUtil';
3
3
 
4
4
  export default StyleSheet.create({
5
5
  box: {
6
- height: 50,
7
- width: 50,
8
- borderRadius: BorderRadius.xs,
6
+ height: 56,
7
+ width: 56,
8
+ borderRadius: BorderRadius.s,
9
9
  alignItems: 'center',
10
10
  justifyContent: 'center'
11
11
  },
@@ -7,7 +7,7 @@ export default StyleSheet.create({
7
7
  height: 40,
8
8
  alignItems: 'center',
9
9
  justifyContent: 'center',
10
- borderWidth: 1,
10
+ borderWidth: StyleSheet.hairlineWidth,
11
11
  borderRadius: BorderRadius.full,
12
12
  paddingHorizontal: Spacing['2xs']
13
13
  },
@@ -3,8 +3,7 @@ import {
3
3
  type NativeSyntheticEvent,
4
4
  TextInput,
5
5
  type TextInputKeyPressEventData,
6
- View,
7
- Platform
6
+ View
8
7
  } from 'react-native';
9
8
  import { InputNumeric, type InputNumericProps } from '../wui-input-numeric';
10
9
  import styles from './styles';
@@ -90,8 +89,7 @@ export function Otp({ length, style, onChangeText, autoFocus }: OtpProps) {
90
89
  inputRef={refArray[index]}
91
90
  onChangeText={text => _onChangeText(text, index)}
92
91
  onKeyPress={(e: any) => onKeyPress(e, index)}
93
- textContentType="oneTimeCode"
94
- autoComplete={Platform.OS === 'android' ? 'sms-otp' : 'one-time-code'}
92
+ autoComplete="off"
95
93
  />
96
94
  ))}
97
95
  </View>
@@ -0,0 +1,42 @@
1
+ import { Pressable, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { Icon } from '../../components/wui-icon';
3
+ import { Text } from '../../components/wui-text';
4
+ import { useTheme } from '../../hooks/useTheme';
5
+ import { FlexView } from '../../layout/wui-flex';
6
+ import { BorderRadius, Spacing } from '../../utils/ThemeUtil';
7
+
8
+ export interface PromoProps {
9
+ text: string;
10
+ style?: StyleProp<ViewStyle>;
11
+ onPress?: () => void;
12
+ }
13
+
14
+ export function Promo({ text, style, onPress }: PromoProps) {
15
+ const Theme = useTheme();
16
+
17
+ return (
18
+ <Pressable style={style} onPress={onPress}>
19
+ <FlexView
20
+ alignItems="center"
21
+ justifyContent="center"
22
+ flexDirection="row"
23
+ padding={['xs', 'xs', 'xs', 'm']}
24
+ style={[styles.container, { backgroundColor: Theme['gray-glass-090'] }]}
25
+ >
26
+ <Text variant="small-600" color="bg-100">
27
+ {text}
28
+ </Text>
29
+ <Icon style={styles.icon} name="arrowRight" color="bg-100" size="xs" />
30
+ </FlexView>
31
+ </Pressable>
32
+ );
33
+ }
34
+
35
+ const styles = StyleSheet.create({
36
+ container: {
37
+ borderRadius: BorderRadius.full
38
+ },
39
+ icon: {
40
+ marginLeft: Spacing['2xs']
41
+ }
42
+ });