@metamask-previews/design-system-react-native 0.0.0-preview.909f2e9 → 0.0.0-preview.95f7a6f

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 (695) hide show
  1. package/dist/components/AvatarAccount/AvatarAccount.constants.d.ts +2 -0
  2. package/dist/components/AvatarAccount/AvatarAccount.constants.d.ts.map +1 -0
  3. package/dist/components/AvatarAccount/AvatarAccount.constants.js +19 -0
  4. package/dist/components/AvatarAccount/AvatarAccount.constants.js.map +1 -0
  5. package/dist/components/AvatarAccount/AvatarAccount.d.ts +4 -0
  6. package/dist/components/AvatarAccount/AvatarAccount.d.ts.map +1 -0
  7. package/dist/components/AvatarAccount/AvatarAccount.js +32 -0
  8. package/dist/components/AvatarAccount/AvatarAccount.js.map +1 -0
  9. package/dist/components/AvatarAccount/AvatarAccount.types.d.ts +33 -0
  10. package/dist/components/AvatarAccount/AvatarAccount.types.d.ts.map +1 -0
  11. package/dist/components/AvatarAccount/AvatarAccount.types.js +3 -0
  12. package/dist/components/AvatarAccount/AvatarAccount.types.js.map +1 -0
  13. package/dist/components/AvatarAccount/index.d.ts +4 -0
  14. package/dist/components/AvatarAccount/index.d.ts.map +1 -0
  15. package/dist/components/AvatarAccount/index.js +9 -0
  16. package/dist/components/AvatarAccount/index.js.map +1 -0
  17. package/dist/components/AvatarBase/AvatarBase.constants.d.ts +6 -0
  18. package/dist/components/AvatarBase/AvatarBase.constants.d.ts.map +1 -0
  19. package/dist/components/AvatarBase/AvatarBase.constants.js +33 -0
  20. package/dist/components/AvatarBase/AvatarBase.constants.js.map +1 -0
  21. package/dist/components/AvatarBase/AvatarBase.d.ts +4 -0
  22. package/dist/components/AvatarBase/AvatarBase.d.ts.map +1 -0
  23. package/dist/components/AvatarBase/AvatarBase.js +31 -0
  24. package/dist/components/AvatarBase/AvatarBase.js.map +1 -0
  25. package/dist/components/AvatarBase/AvatarBase.types.d.ts +59 -0
  26. package/dist/components/AvatarBase/AvatarBase.types.d.ts.map +1 -0
  27. package/dist/components/AvatarBase/AvatarBase.types.js +3 -0
  28. package/dist/components/AvatarBase/AvatarBase.types.js.map +1 -0
  29. package/dist/components/AvatarBase/index.d.ts +4 -0
  30. package/dist/components/AvatarBase/index.d.ts.map +1 -0
  31. package/dist/components/AvatarBase/index.js +9 -0
  32. package/dist/components/AvatarBase/index.js.map +1 -0
  33. package/dist/components/AvatarFavicon/AvatarFavicon.d.ts +4 -0
  34. package/dist/components/AvatarFavicon/AvatarFavicon.d.ts.map +1 -0
  35. package/dist/components/AvatarFavicon/AvatarFavicon.js +50 -0
  36. package/dist/components/AvatarFavicon/AvatarFavicon.js.map +1 -0
  37. package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts +21 -0
  38. package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts.map +1 -0
  39. package/dist/components/AvatarFavicon/AvatarFavicon.types.js +3 -0
  40. package/dist/components/AvatarFavicon/AvatarFavicon.types.js.map +1 -0
  41. package/dist/components/AvatarFavicon/index.d.ts +4 -0
  42. package/dist/components/AvatarFavicon/index.d.ts.map +1 -0
  43. package/dist/components/AvatarFavicon/index.js +8 -0
  44. package/dist/components/AvatarFavicon/index.js.map +1 -0
  45. package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts +5 -0
  46. package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts.map +1 -0
  47. package/dist/components/AvatarGroup/AvatarGroup.constants.js +21 -0
  48. package/dist/components/AvatarGroup/AvatarGroup.constants.js.map +1 -0
  49. package/dist/components/AvatarGroup/AvatarGroup.d.ts +4 -0
  50. package/dist/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  51. package/dist/components/AvatarGroup/AvatarGroup.js +71 -0
  52. package/dist/components/AvatarGroup/AvatarGroup.js.map +1 -0
  53. package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +68 -0
  54. package/dist/components/AvatarGroup/AvatarGroup.types.d.ts.map +1 -0
  55. package/dist/components/AvatarGroup/AvatarGroup.types.js +3 -0
  56. package/dist/components/AvatarGroup/AvatarGroup.types.js.map +1 -0
  57. package/dist/components/AvatarGroup/index.d.ts +4 -0
  58. package/dist/components/AvatarGroup/index.d.ts.map +1 -0
  59. package/dist/components/AvatarGroup/index.js +9 -0
  60. package/dist/components/AvatarGroup/index.js.map +1 -0
  61. package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts +6 -0
  62. package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts.map +1 -0
  63. package/dist/components/AvatarIcon/AvatarIcon.constants.js +28 -0
  64. package/dist/components/AvatarIcon/AvatarIcon.constants.js.map +1 -0
  65. package/dist/components/AvatarIcon/AvatarIcon.d.ts +4 -0
  66. package/dist/components/AvatarIcon/AvatarIcon.d.ts.map +1 -0
  67. package/dist/components/AvatarIcon/AvatarIcon.js +24 -0
  68. package/dist/components/AvatarIcon/AvatarIcon.js.map +1 -0
  69. package/dist/components/AvatarIcon/AvatarIcon.types.d.ts +23 -0
  70. package/dist/components/AvatarIcon/AvatarIcon.types.d.ts.map +1 -0
  71. package/dist/components/AvatarIcon/AvatarIcon.types.js +3 -0
  72. package/dist/components/AvatarIcon/AvatarIcon.types.js.map +1 -0
  73. package/dist/components/AvatarIcon/index.d.ts +4 -0
  74. package/dist/components/AvatarIcon/index.d.ts.map +1 -0
  75. package/dist/components/AvatarIcon/index.js +9 -0
  76. package/dist/components/AvatarIcon/index.js.map +1 -0
  77. package/dist/components/AvatarNetwork/AvatarNetwork.d.ts +4 -0
  78. package/dist/components/AvatarNetwork/AvatarNetwork.d.ts.map +1 -0
  79. package/dist/components/AvatarNetwork/AvatarNetwork.js +50 -0
  80. package/dist/components/AvatarNetwork/AvatarNetwork.js.map +1 -0
  81. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts +21 -0
  82. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts.map +1 -0
  83. package/dist/components/AvatarNetwork/AvatarNetwork.types.js +3 -0
  84. package/dist/components/AvatarNetwork/AvatarNetwork.types.js.map +1 -0
  85. package/dist/components/AvatarNetwork/index.d.ts +4 -0
  86. package/dist/components/AvatarNetwork/index.d.ts.map +1 -0
  87. package/dist/components/AvatarNetwork/index.js +8 -0
  88. package/dist/components/AvatarNetwork/index.js.map +1 -0
  89. package/dist/components/AvatarToken/AvatarToken.d.ts +4 -0
  90. package/dist/components/AvatarToken/AvatarToken.d.ts.map +1 -0
  91. package/dist/components/AvatarToken/AvatarToken.js +50 -0
  92. package/dist/components/AvatarToken/AvatarToken.js.map +1 -0
  93. package/dist/components/AvatarToken/AvatarToken.types.d.ts +21 -0
  94. package/dist/components/AvatarToken/AvatarToken.types.d.ts.map +1 -0
  95. package/dist/components/AvatarToken/AvatarToken.types.js +3 -0
  96. package/dist/components/AvatarToken/AvatarToken.types.js.map +1 -0
  97. package/dist/components/AvatarToken/index.d.ts +4 -0
  98. package/dist/components/AvatarToken/index.d.ts.map +1 -0
  99. package/dist/components/AvatarToken/index.js +8 -0
  100. package/dist/components/AvatarToken/index.js.map +1 -0
  101. package/dist/components/BadgeCount/BadgeCount.constants.d.ts +6 -0
  102. package/dist/components/BadgeCount/BadgeCount.constants.d.ts.map +1 -0
  103. package/dist/components/BadgeCount/BadgeCount.constants.js +19 -0
  104. package/dist/components/BadgeCount/BadgeCount.constants.js.map +1 -0
  105. package/dist/components/BadgeCount/BadgeCount.d.ts +4 -0
  106. package/dist/components/BadgeCount/BadgeCount.d.ts.map +1 -0
  107. package/dist/components/BadgeCount/BadgeCount.js +30 -0
  108. package/dist/components/BadgeCount/BadgeCount.js.map +1 -0
  109. package/dist/components/BadgeCount/BadgeCount.types.d.ts +39 -0
  110. package/dist/components/BadgeCount/BadgeCount.types.d.ts.map +1 -0
  111. package/dist/components/BadgeCount/BadgeCount.types.js +3 -0
  112. package/dist/components/BadgeCount/BadgeCount.types.js.map +1 -0
  113. package/dist/components/BadgeCount/index.d.ts +4 -0
  114. package/dist/components/BadgeCount/index.d.ts.map +1 -0
  115. package/dist/components/BadgeCount/index.js +8 -0
  116. package/dist/components/BadgeCount/index.js.map +1 -0
  117. package/dist/components/BadgeIcon/BadgeIcon.d.ts +4 -0
  118. package/dist/components/BadgeIcon/BadgeIcon.d.ts.map +1 -0
  119. package/dist/components/BadgeIcon/BadgeIcon.js +26 -0
  120. package/dist/components/BadgeIcon/BadgeIcon.js.map +1 -0
  121. package/dist/components/BadgeIcon/BadgeIcon.types.d.ts +20 -0
  122. package/dist/components/BadgeIcon/BadgeIcon.types.d.ts.map +1 -0
  123. package/dist/components/BadgeIcon/BadgeIcon.types.js +3 -0
  124. package/dist/components/BadgeIcon/BadgeIcon.types.js.map +1 -0
  125. package/dist/components/BadgeIcon/index.d.ts +3 -0
  126. package/dist/components/BadgeIcon/index.d.ts.map +1 -0
  127. package/dist/components/BadgeIcon/index.js +6 -0
  128. package/dist/components/BadgeIcon/index.js.map +1 -0
  129. package/dist/components/BadgeNetwork/BadgeNetwork.d.ts +4 -0
  130. package/dist/components/BadgeNetwork/BadgeNetwork.d.ts.map +1 -0
  131. package/dist/components/BadgeNetwork/BadgeNetwork.js +11 -0
  132. package/dist/components/BadgeNetwork/BadgeNetwork.js.map +1 -0
  133. package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts +17 -0
  134. package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts.map +1 -0
  135. package/dist/components/BadgeNetwork/BadgeNetwork.types.js +3 -0
  136. package/dist/components/BadgeNetwork/BadgeNetwork.types.js.map +1 -0
  137. package/dist/components/BadgeNetwork/index.d.ts +3 -0
  138. package/dist/components/BadgeNetwork/index.d.ts.map +1 -0
  139. package/dist/components/BadgeNetwork/index.js +6 -0
  140. package/dist/components/BadgeNetwork/index.js.map +1 -0
  141. package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts +4 -0
  142. package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts.map +1 -0
  143. package/dist/components/BadgeStatus/BadgeStatus.constants.js +17 -0
  144. package/dist/components/BadgeStatus/BadgeStatus.constants.js.map +1 -0
  145. package/dist/components/BadgeStatus/BadgeStatus.d.ts +4 -0
  146. package/dist/components/BadgeStatus/BadgeStatus.d.ts.map +1 -0
  147. package/dist/components/BadgeStatus/BadgeStatus.js +24 -0
  148. package/dist/components/BadgeStatus/BadgeStatus.js.map +1 -0
  149. package/dist/components/BadgeStatus/BadgeStatus.types.d.ts +37 -0
  150. package/dist/components/BadgeStatus/BadgeStatus.types.d.ts.map +1 -0
  151. package/dist/components/BadgeStatus/BadgeStatus.types.js +3 -0
  152. package/dist/components/BadgeStatus/BadgeStatus.types.js.map +1 -0
  153. package/dist/components/BadgeStatus/index.d.ts +4 -0
  154. package/dist/components/BadgeStatus/index.d.ts.map +1 -0
  155. package/dist/components/BadgeStatus/index.js +9 -0
  156. package/dist/components/BadgeStatus/index.js.map +1 -0
  157. package/dist/components/BadgeWrapper/BadgeWrapper.d.ts +4 -0
  158. package/dist/components/BadgeWrapper/BadgeWrapper.d.ts.map +1 -0
  159. package/dist/components/BadgeWrapper/BadgeWrapper.js +110 -0
  160. package/dist/components/BadgeWrapper/BadgeWrapper.js.map +1 -0
  161. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts +73 -0
  162. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts.map +1 -0
  163. package/dist/components/BadgeWrapper/BadgeWrapper.types.js +3 -0
  164. package/dist/components/BadgeWrapper/BadgeWrapper.types.js.map +1 -0
  165. package/dist/components/BadgeWrapper/index.d.ts +5 -0
  166. package/dist/components/BadgeWrapper/index.d.ts.map +1 -0
  167. package/dist/components/BadgeWrapper/index.js +9 -0
  168. package/dist/components/BadgeWrapper/index.js.map +1 -0
  169. package/dist/components/Button/Button.d.ts +4 -0
  170. package/dist/components/Button/Button.d.ts.map +1 -0
  171. package/dist/components/Button/Button.js +26 -0
  172. package/dist/components/Button/Button.js.map +1 -0
  173. package/dist/components/Button/Button.types.d.ts +14 -0
  174. package/dist/components/Button/Button.types.d.ts.map +1 -0
  175. package/dist/components/Button/Button.types.js +3 -0
  176. package/dist/components/Button/Button.types.js.map +1 -0
  177. package/dist/components/Button/index.d.ts +4 -0
  178. package/dist/components/Button/index.d.ts.map +1 -0
  179. package/dist/components/Button/index.js +9 -0
  180. package/dist/components/Button/index.js.map +1 -0
  181. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts +4 -0
  182. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts.map +1 -0
  183. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js +106 -0
  184. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js.map +1 -0
  185. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts +19 -0
  186. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts.map +1 -0
  187. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.js +3 -0
  188. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.js.map +1 -0
  189. package/dist/components/Button/variants/ButtonPrimary/index.d.ts +4 -0
  190. package/dist/components/Button/variants/ButtonPrimary/index.d.ts.map +1 -0
  191. package/dist/components/Button/variants/ButtonPrimary/index.js +8 -0
  192. package/dist/components/Button/variants/ButtonPrimary/index.js.map +1 -0
  193. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts +4 -0
  194. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts.map +1 -0
  195. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js +102 -0
  196. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js.map +1 -0
  197. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts +19 -0
  198. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts.map +1 -0
  199. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.js +3 -0
  200. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.js.map +1 -0
  201. package/dist/components/Button/variants/ButtonSecondary/index.d.ts +4 -0
  202. package/dist/components/Button/variants/ButtonSecondary/index.d.ts.map +1 -0
  203. package/dist/components/Button/variants/ButtonSecondary/index.js +8 -0
  204. package/dist/components/Button/variants/ButtonSecondary/index.js.map +1 -0
  205. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts +4 -0
  206. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts.map +1 -0
  207. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js +109 -0
  208. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js.map +1 -0
  209. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts +19 -0
  210. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts.map +1 -0
  211. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.js +3 -0
  212. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.js.map +1 -0
  213. package/dist/components/Button/variants/ButtonTertiary/index.d.ts +4 -0
  214. package/dist/components/Button/variants/ButtonTertiary/index.d.ts.map +1 -0
  215. package/dist/components/Button/variants/ButtonTertiary/index.js +8 -0
  216. package/dist/components/Button/variants/ButtonTertiary/index.js.map +1 -0
  217. package/dist/components/ButtonBase/ButtonBase.d.ts +4 -0
  218. package/dist/components/ButtonBase/ButtonBase.d.ts.map +1 -0
  219. package/dist/components/ButtonBase/ButtonBase.js +48 -0
  220. package/dist/components/ButtonBase/ButtonBase.js.map +1 -0
  221. package/dist/components/ButtonBase/ButtonBase.types.d.ts +85 -0
  222. package/dist/components/ButtonBase/ButtonBase.types.d.ts.map +1 -0
  223. package/dist/components/ButtonBase/ButtonBase.types.js +3 -0
  224. package/dist/components/ButtonBase/ButtonBase.types.js.map +1 -0
  225. package/dist/components/ButtonBase/index.d.ts +4 -0
  226. package/dist/components/ButtonBase/index.d.ts.map +1 -0
  227. package/dist/components/ButtonBase/index.js +8 -0
  228. package/dist/components/ButtonBase/index.js.map +1 -0
  229. package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts +9 -0
  230. package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts.map +1 -0
  231. package/dist/components/ButtonIcon/ButtonIcon.constants.js +17 -0
  232. package/dist/components/ButtonIcon/ButtonIcon.constants.js.map +1 -0
  233. package/dist/components/ButtonIcon/ButtonIcon.d.ts +4 -0
  234. package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -0
  235. package/dist/components/ButtonIcon/ButtonIcon.js +57 -0
  236. package/dist/components/ButtonIcon/ButtonIcon.js.map +1 -0
  237. package/dist/components/ButtonIcon/ButtonIcon.types.d.ts +52 -0
  238. package/dist/components/ButtonIcon/ButtonIcon.types.d.ts.map +1 -0
  239. package/dist/components/ButtonIcon/ButtonIcon.types.js +3 -0
  240. package/dist/components/ButtonIcon/ButtonIcon.types.js.map +1 -0
  241. package/dist/components/ButtonIcon/index.d.ts +4 -0
  242. package/dist/components/ButtonIcon/index.d.ts.map +1 -0
  243. package/dist/components/ButtonIcon/index.js +8 -0
  244. package/dist/components/ButtonIcon/index.js.map +1 -0
  245. package/dist/components/Checkbox/Checkbox.d.ts +17 -0
  246. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  247. package/dist/components/Checkbox/Checkbox.js +122 -0
  248. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  249. package/dist/components/Checkbox/Checkbox.types.d.ts +57 -0
  250. package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -0
  251. package/dist/components/Checkbox/Checkbox.types.js +3 -0
  252. package/dist/components/Checkbox/Checkbox.types.js.map +1 -0
  253. package/dist/components/Checkbox/index.d.ts +3 -0
  254. package/dist/components/Checkbox/index.d.ts.map +1 -0
  255. package/dist/components/Checkbox/index.js +6 -0
  256. package/dist/components/Checkbox/index.js.map +1 -0
  257. package/dist/components/Icon/Icon.assets.d.ts +6 -0
  258. package/dist/components/Icon/Icon.assets.d.ts.map +1 -0
  259. package/dist/components/Icon/Icon.assets.js +558 -0
  260. package/dist/components/Icon/Icon.assets.js.map +1 -0
  261. package/dist/components/Icon/Icon.d.ts +4 -0
  262. package/dist/components/Icon/Icon.d.ts.map +1 -0
  263. package/dist/components/Icon/Icon.js +46 -0
  264. package/dist/components/Icon/Icon.js.map +1 -0
  265. package/dist/components/Icon/Icon.types.d.ts +39 -0
  266. package/dist/components/Icon/Icon.types.d.ts.map +1 -0
  267. package/dist/components/Icon/Icon.types.js +3 -0
  268. package/dist/components/Icon/Icon.types.js.map +1 -0
  269. package/dist/components/Icon/Icon.utilities.d.ts +22 -0
  270. package/dist/components/Icon/Icon.utilities.d.ts.map +1 -0
  271. package/dist/components/Icon/Icon.utilities.js +31 -0
  272. package/dist/components/Icon/Icon.utilities.js.map +1 -0
  273. package/dist/components/Icon/assets/accessibility.svg +1 -0
  274. package/dist/components/Icon/assets/activity.svg +1 -0
  275. package/dist/components/Icon/assets/add-card.svg +1 -0
  276. package/dist/components/Icon/assets/add-circle.svg +1 -0
  277. package/dist/components/Icon/assets/add-square.svg +1 -0
  278. package/dist/components/Icon/assets/add.svg +1 -0
  279. package/dist/components/Icon/assets/ai.svg +1 -0
  280. package/dist/components/Icon/assets/alternate-email.svg +1 -0
  281. package/dist/components/Icon/assets/apps.svg +1 -0
  282. package/dist/components/Icon/assets/arrow-2-down.svg +1 -0
  283. package/dist/components/Icon/assets/arrow-2-left.svg +1 -0
  284. package/dist/components/Icon/assets/arrow-2-right.svg +1 -0
  285. package/dist/components/Icon/assets/arrow-2-up-right.svg +1 -0
  286. package/dist/components/Icon/assets/arrow-2-up.svg +1 -0
  287. package/dist/components/Icon/assets/arrow-circle-down.svg +1 -0
  288. package/dist/components/Icon/assets/arrow-circle-up.svg +1 -0
  289. package/dist/components/Icon/assets/arrow-double-left.svg +1 -0
  290. package/dist/components/Icon/assets/arrow-double-right.svg +1 -0
  291. package/dist/components/Icon/assets/arrow-down.svg +1 -0
  292. package/dist/components/Icon/assets/arrow-drop-down-circle.svg +1 -0
  293. package/dist/components/Icon/assets/arrow-left.svg +1 -0
  294. package/dist/components/Icon/assets/arrow-right.svg +1 -0
  295. package/dist/components/Icon/assets/arrow-up.svg +1 -0
  296. package/dist/components/Icon/assets/attachment.svg +1 -0
  297. package/dist/components/Icon/assets/ban.svg +1 -0
  298. package/dist/components/Icon/assets/bank-assured.svg +1 -0
  299. package/dist/components/Icon/assets/bank.svg +1 -0
  300. package/dist/components/Icon/assets/bold.svg +1 -0
  301. package/dist/components/Icon/assets/book.svg +1 -0
  302. package/dist/components/Icon/assets/bookmark.svg +1 -0
  303. package/dist/components/Icon/assets/bridge.svg +1 -0
  304. package/dist/components/Icon/assets/briefcase.svg +1 -0
  305. package/dist/components/Icon/assets/bulb.svg +1 -0
  306. package/dist/components/Icon/assets/buy-sell.svg +1 -0
  307. package/dist/components/Icon/assets/cake.svg +1 -0
  308. package/dist/components/Icon/assets/calculator.svg +1 -0
  309. package/dist/components/Icon/assets/calendar.svg +1 -0
  310. package/dist/components/Icon/assets/call.svg +1 -0
  311. package/dist/components/Icon/assets/camera.svg +1 -0
  312. package/dist/components/Icon/assets/campaign.svg +1 -0
  313. package/dist/components/Icon/assets/card-pos.svg +1 -0
  314. package/dist/components/Icon/assets/card.svg +1 -0
  315. package/dist/components/Icon/assets/cash.svg +1 -0
  316. package/dist/components/Icon/assets/category.svg +1 -0
  317. package/dist/components/Icon/assets/chart.svg +1 -0
  318. package/dist/components/Icon/assets/check-bold.svg +1 -0
  319. package/dist/components/Icon/assets/check.svg +1 -0
  320. package/dist/components/Icon/assets/circle-x.svg +1 -0
  321. package/dist/components/Icon/assets/clock-filled.svg +1 -0
  322. package/dist/components/Icon/assets/clock.svg +1 -0
  323. package/dist/components/Icon/assets/close.svg +1 -0
  324. package/dist/components/Icon/assets/cloud-download.svg +1 -0
  325. package/dist/components/Icon/assets/cloud-upload.svg +1 -0
  326. package/dist/components/Icon/assets/cloud.svg +1 -0
  327. package/dist/components/Icon/assets/code-circle.svg +1 -0
  328. package/dist/components/Icon/assets/code.svg +1 -0
  329. package/dist/components/Icon/assets/coin.svg +1 -0
  330. package/dist/components/Icon/assets/collapse.svg +1 -0
  331. package/dist/components/Icon/assets/confirmation.svg +1 -0
  332. package/dist/components/Icon/assets/connect.svg +1 -0
  333. package/dist/components/Icon/assets/copy-success.svg +1 -0
  334. package/dist/components/Icon/assets/copy.svg +1 -0
  335. package/dist/components/Icon/assets/credit-check.svg +1 -0
  336. package/dist/components/Icon/assets/currency-franc.svg +1 -0
  337. package/dist/components/Icon/assets/currency-lira.svg +1 -0
  338. package/dist/components/Icon/assets/currency-pound.svg +1 -0
  339. package/dist/components/Icon/assets/currency-yuan.svg +3 -0
  340. package/dist/components/Icon/assets/customize.svg +1 -0
  341. package/dist/components/Icon/assets/danger.svg +1 -0
  342. package/dist/components/Icon/assets/dark-filled.svg +1 -0
  343. package/dist/components/Icon/assets/dark.svg +1 -0
  344. package/dist/components/Icon/assets/data.svg +1 -0
  345. package/dist/components/Icon/assets/description.svg +1 -0
  346. package/dist/components/Icon/assets/details.svg +1 -0
  347. package/dist/components/Icon/assets/diagram.svg +1 -0
  348. package/dist/components/Icon/assets/document-code.svg +1 -0
  349. package/dist/components/Icon/assets/download.svg +1 -0
  350. package/dist/components/Icon/assets/draft.svg +1 -0
  351. package/dist/components/Icon/assets/eco-leaf.svg +1 -0
  352. package/dist/components/Icon/assets/edit-square.svg +1 -0
  353. package/dist/components/Icon/assets/edit.svg +1 -0
  354. package/dist/components/Icon/assets/encrypted-add.svg +1 -0
  355. package/dist/components/Icon/assets/eraser.svg +1 -0
  356. package/dist/components/Icon/assets/error.svg +1 -0
  357. package/dist/components/Icon/assets/ethereum.svg +1 -0
  358. package/dist/components/Icon/assets/exchange.svg +1 -0
  359. package/dist/components/Icon/assets/expand-vertical.svg +1 -0
  360. package/dist/components/Icon/assets/expand.svg +1 -0
  361. package/dist/components/Icon/assets/explore-filled.svg +1 -0
  362. package/dist/components/Icon/assets/explore.svg +1 -0
  363. package/dist/components/Icon/assets/export.svg +1 -0
  364. package/dist/components/Icon/assets/extension.svg +1 -0
  365. package/dist/components/Icon/assets/eye-slash.svg +1 -0
  366. package/dist/components/Icon/assets/eye.svg +1 -0
  367. package/dist/components/Icon/assets/face-id.svg +1 -0
  368. package/dist/components/Icon/assets/feedback.svg +1 -0
  369. package/dist/components/Icon/assets/file.svg +1 -0
  370. package/dist/components/Icon/assets/filter.svg +1 -0
  371. package/dist/components/Icon/assets/fingerprint.svg +1 -0
  372. package/dist/components/Icon/assets/fire.svg +1 -0
  373. package/dist/components/Icon/assets/first-page.svg +1 -0
  374. package/dist/components/Icon/assets/flag.svg +1 -0
  375. package/dist/components/Icon/assets/flash-slash.svg +1 -0
  376. package/dist/components/Icon/assets/flash.svg +1 -0
  377. package/dist/components/Icon/assets/flask.svg +1 -0
  378. package/dist/components/Icon/assets/flower.svg +1 -0
  379. package/dist/components/Icon/assets/folder.svg +1 -0
  380. package/dist/components/Icon/assets/forest.svg +1 -0
  381. package/dist/components/Icon/assets/full-circle.svg +1 -0
  382. package/dist/components/Icon/assets/gas.svg +1 -0
  383. package/dist/components/Icon/assets/gift.svg +1 -0
  384. package/dist/components/Icon/assets/global-search.svg +1 -0
  385. package/dist/components/Icon/assets/global.svg +1 -0
  386. package/dist/components/Icon/assets/graph.svg +1 -0
  387. package/dist/components/Icon/assets/hardware.svg +1 -0
  388. package/dist/components/Icon/assets/hash-tag.svg +1 -0
  389. package/dist/components/Icon/assets/heart-filled.svg +1 -0
  390. package/dist/components/Icon/assets/heart.svg +1 -0
  391. package/dist/components/Icon/assets/hierarchy.svg +1 -0
  392. package/dist/components/Icon/assets/home-filled.svg +1 -0
  393. package/dist/components/Icon/assets/home.svg +1 -0
  394. package/dist/components/Icon/assets/image.svg +1 -0
  395. package/dist/components/Icon/assets/info.svg +1 -0
  396. package/dist/components/Icon/assets/inventory.svg +1 -0
  397. package/dist/components/Icon/assets/joystick.svg +1 -0
  398. package/dist/components/Icon/assets/keep-filled.svg +1 -0
  399. package/dist/components/Icon/assets/keep.svg +1 -0
  400. package/dist/components/Icon/assets/key.svg +1 -0
  401. package/dist/components/Icon/assets/last-page.svg +1 -0
  402. package/dist/components/Icon/assets/light-filled.svg +1 -0
  403. package/dist/components/Icon/assets/light.svg +1 -0
  404. package/dist/components/Icon/assets/link.svg +1 -0
  405. package/dist/components/Icon/assets/loading.svg +1 -0
  406. package/dist/components/Icon/assets/location.svg +1 -0
  407. package/dist/components/Icon/assets/lock-slash.svg +1 -0
  408. package/dist/components/Icon/assets/lock.svg +1 -0
  409. package/dist/components/Icon/assets/locked-filled.svg +1 -0
  410. package/dist/components/Icon/assets/login.svg +1 -0
  411. package/dist/components/Icon/assets/logout.svg +1 -0
  412. package/dist/components/Icon/assets/mail.svg +1 -0
  413. package/dist/components/Icon/assets/map.svg +1 -0
  414. package/dist/components/Icon/assets/menu.svg +1 -0
  415. package/dist/components/Icon/assets/message-question.svg +1 -0
  416. package/dist/components/Icon/assets/messages.svg +1 -0
  417. package/dist/components/Icon/assets/mic.svg +1 -0
  418. package/dist/components/Icon/assets/minus-bold.svg +1 -0
  419. package/dist/components/Icon/assets/minus-square.svg +1 -0
  420. package/dist/components/Icon/assets/minus.svg +1 -0
  421. package/dist/components/Icon/assets/mobile.svg +1 -0
  422. package/dist/components/Icon/assets/money-bag.svg +1 -0
  423. package/dist/components/Icon/assets/money.svg +1 -0
  424. package/dist/components/Icon/assets/monitor.svg +1 -0
  425. package/dist/components/Icon/assets/more-horizontal.svg +1 -0
  426. package/dist/components/Icon/assets/more-vertical.svg +1 -0
  427. package/dist/components/Icon/assets/mountain-flag.svg +1 -0
  428. package/dist/components/Icon/assets/music-note.svg +1 -0
  429. package/dist/components/Icon/assets/notification.svg +1 -0
  430. package/dist/components/Icon/assets/page-info.svg +1 -0
  431. package/dist/components/Icon/assets/palette.svg +1 -0
  432. package/dist/components/Icon/assets/password-check.svg +1 -0
  433. package/dist/components/Icon/assets/pending.svg +1 -0
  434. package/dist/components/Icon/assets/people.svg +1 -0
  435. package/dist/components/Icon/assets/person-cancel.svg +1 -0
  436. package/dist/components/Icon/assets/pin.svg +1 -0
  437. package/dist/components/Icon/assets/plant.svg +1 -0
  438. package/dist/components/Icon/assets/plug.svg +1 -0
  439. package/dist/components/Icon/assets/plus-and-minus.svg +1 -0
  440. package/dist/components/Icon/assets/policy-alert.svg +1 -0
  441. package/dist/components/Icon/assets/print.svg +1 -0
  442. package/dist/components/Icon/assets/priority-high.svg +1 -0
  443. package/dist/components/Icon/assets/privacy-tip.svg +1 -0
  444. package/dist/components/Icon/assets/programming-arrows.svg +1 -0
  445. package/dist/components/Icon/assets/publish.svg +1 -0
  446. package/dist/components/Icon/assets/qr-code.svg +1 -0
  447. package/dist/components/Icon/assets/question.svg +1 -0
  448. package/dist/components/Icon/assets/receive.svg +1 -0
  449. package/dist/components/Icon/assets/received.svg +1 -0
  450. package/dist/components/Icon/assets/refresh.svg +1 -0
  451. package/dist/components/Icon/assets/remove-minus.svg +1 -0
  452. package/dist/components/Icon/assets/report.svg +1 -0
  453. package/dist/components/Icon/assets/rocket.svg +1 -0
  454. package/dist/components/Icon/assets/save-filled.svg +1 -0
  455. package/dist/components/Icon/assets/save.svg +1 -0
  456. package/dist/components/Icon/assets/saving.svg +1 -0
  457. package/dist/components/Icon/assets/scan-barcode.svg +1 -0
  458. package/dist/components/Icon/assets/scan-focus.svg +1 -0
  459. package/dist/components/Icon/assets/scan.svg +1 -0
  460. package/dist/components/Icon/assets/search.svg +1 -0
  461. package/dist/components/Icon/assets/security-alert.svg +1 -0
  462. package/dist/components/Icon/assets/security-cross.svg +1 -0
  463. package/dist/components/Icon/assets/security-key.svg +1 -0
  464. package/dist/components/Icon/assets/security-search.svg +1 -0
  465. package/dist/components/Icon/assets/security-slash.svg +1 -0
  466. package/dist/components/Icon/assets/security-tick.svg +1 -0
  467. package/dist/components/Icon/assets/security-time.svg +1 -0
  468. package/dist/components/Icon/assets/security-user.svg +1 -0
  469. package/dist/components/Icon/assets/security.svg +1 -0
  470. package/dist/components/Icon/assets/send.svg +1 -0
  471. package/dist/components/Icon/assets/sentiment-dissatisfied.svg +1 -0
  472. package/dist/components/Icon/assets/sentiment-neutral.svg +1 -0
  473. package/dist/components/Icon/assets/sentiment-satisfied.svg +1 -0
  474. package/dist/components/Icon/assets/sentiment-very-satisfied.svg +1 -0
  475. package/dist/components/Icon/assets/setting-filled.svg +1 -0
  476. package/dist/components/Icon/assets/setting.svg +1 -0
  477. package/dist/components/Icon/assets/share.svg +1 -0
  478. package/dist/components/Icon/assets/shield-lock.svg +1 -0
  479. package/dist/components/Icon/assets/shopping-bag.svg +1 -0
  480. package/dist/components/Icon/assets/shopping-cart.svg +1 -0
  481. package/dist/components/Icon/assets/signal-cellular.svg +1 -0
  482. package/dist/components/Icon/assets/slash.svg +1 -0
  483. package/dist/components/Icon/assets/sms.svg +1 -0
  484. package/dist/components/Icon/assets/snaps-mobile.svg +1 -0
  485. package/dist/components/Icon/assets/snaps-plus.svg +1 -0
  486. package/dist/components/Icon/assets/snaps-round.svg +1 -0
  487. package/dist/components/Icon/assets/snaps.svg +1 -0
  488. package/dist/components/Icon/assets/sort-by-alpha.svg +1 -0
  489. package/dist/components/Icon/assets/sort.svg +1 -0
  490. package/dist/components/Icon/assets/sparkle.svg +1 -0
  491. package/dist/components/Icon/assets/speed.svg +1 -0
  492. package/dist/components/Icon/assets/speedometer.svg +1 -0
  493. package/dist/components/Icon/assets/square.svg +1 -0
  494. package/dist/components/Icon/assets/stake.svg +1 -0
  495. package/dist/components/Icon/assets/star-filled.svg +1 -0
  496. package/dist/components/Icon/assets/star.svg +1 -0
  497. package/dist/components/Icon/assets/start.svg +1 -0
  498. package/dist/components/Icon/assets/storefront.svg +1 -0
  499. package/dist/components/Icon/assets/student.svg +1 -0
  500. package/dist/components/Icon/assets/swap-horizontal.svg +1 -0
  501. package/dist/components/Icon/assets/swap-vertical.svg +3 -0
  502. package/dist/components/Icon/assets/tab-close.svg +1 -0
  503. package/dist/components/Icon/assets/table-row.svg +1 -0
  504. package/dist/components/Icon/assets/tablet.svg +1 -0
  505. package/dist/components/Icon/assets/tag.svg +1 -0
  506. package/dist/components/Icon/assets/thumb-down-filled.svg +1 -0
  507. package/dist/components/Icon/assets/thumb-down.svg +1 -0
  508. package/dist/components/Icon/assets/thumb-up-filled.svg +1 -0
  509. package/dist/components/Icon/assets/thumb-up.svg +1 -0
  510. package/dist/components/Icon/assets/tint.svg +1 -0
  511. package/dist/components/Icon/assets/tooltip.svg +1 -0
  512. package/dist/components/Icon/assets/translate.svg +1 -0
  513. package/dist/components/Icon/assets/trash.svg +1 -0
  514. package/dist/components/Icon/assets/trend-down.svg +1 -0
  515. package/dist/components/Icon/assets/trend-up.svg +1 -0
  516. package/dist/components/Icon/assets/undo.svg +1 -0
  517. package/dist/components/Icon/assets/unfold.svg +1 -0
  518. package/dist/components/Icon/assets/unlocked-filled.svg +1 -0
  519. package/dist/components/Icon/assets/unpin.svg +1 -0
  520. package/dist/components/Icon/assets/upload-file.svg +1 -0
  521. package/dist/components/Icon/assets/upload.svg +1 -0
  522. package/dist/components/Icon/assets/usb.svg +1 -0
  523. package/dist/components/Icon/assets/user-check.svg +1 -0
  524. package/dist/components/Icon/assets/user-circle-add.svg +1 -0
  525. package/dist/components/Icon/assets/user-circle-remove.svg +1 -0
  526. package/dist/components/Icon/assets/user-circle.svg +1 -0
  527. package/dist/components/Icon/assets/user.svg +1 -0
  528. package/dist/components/Icon/assets/verified-filled.svg +1 -0
  529. package/dist/components/Icon/assets/verified.svg +1 -0
  530. package/dist/components/Icon/assets/videocam.svg +1 -0
  531. package/dist/components/Icon/assets/view-column.svg +1 -0
  532. package/dist/components/Icon/assets/view-in-ar.svg +1 -0
  533. package/dist/components/Icon/assets/volume-off.svg +1 -0
  534. package/dist/components/Icon/assets/volume-up.svg +1 -0
  535. package/dist/components/Icon/assets/wallet-filled.svg +1 -0
  536. package/dist/components/Icon/assets/wallet.svg +1 -0
  537. package/dist/components/Icon/assets/warning.svg +1 -0
  538. package/dist/components/Icon/assets/web-traffic.svg +1 -0
  539. package/dist/components/Icon/assets/widgets.svg +1 -0
  540. package/dist/components/Icon/assets/wifi-off.svg +1 -0
  541. package/dist/components/Icon/assets/wifi.svg +1 -0
  542. package/dist/components/Icon/assets/x.svg +1 -0
  543. package/dist/components/Icon/index.d.ts +4 -0
  544. package/dist/components/Icon/index.d.ts.map +1 -0
  545. package/dist/components/Icon/index.js +10 -0
  546. package/dist/components/Icon/index.js.map +1 -0
  547. package/dist/components/Text/Text.constants.d.ts +8 -0
  548. package/dist/components/Text/Text.constants.d.ts.map +1 -0
  549. package/dist/components/Text/Text.constants.js +23 -0
  550. package/dist/components/Text/Text.constants.js.map +1 -0
  551. package/dist/components/Text/Text.d.ts +4 -0
  552. package/dist/components/Text/Text.d.ts.map +1 -0
  553. package/dist/components/Text/Text.js +51 -0
  554. package/dist/components/Text/Text.js.map +1 -0
  555. package/dist/components/Text/Text.types.d.ts +45 -0
  556. package/dist/components/Text/Text.types.d.ts.map +1 -0
  557. package/dist/components/Text/Text.types.js +3 -0
  558. package/dist/components/Text/Text.types.js.map +1 -0
  559. package/dist/components/Text/Text.utilities.d.ts +32 -0
  560. package/dist/components/Text/Text.utilities.d.ts.map +1 -0
  561. package/dist/components/Text/Text.utilities.js +46 -0
  562. package/dist/components/Text/Text.utilities.js.map +1 -0
  563. package/dist/components/Text/index.d.ts +4 -0
  564. package/dist/components/Text/index.d.ts.map +1 -0
  565. package/dist/components/Text/index.js +12 -0
  566. package/dist/components/Text/index.js.map +1 -0
  567. package/dist/components/TextButton/TextButton.constants.d.ts +4 -0
  568. package/dist/components/TextButton/TextButton.constants.d.ts.map +1 -0
  569. package/dist/components/TextButton/TextButton.constants.js +12 -0
  570. package/dist/components/TextButton/TextButton.constants.js.map +1 -0
  571. package/dist/components/TextButton/TextButton.d.ts +4 -0
  572. package/dist/components/TextButton/TextButton.d.ts.map +1 -0
  573. package/dist/components/TextButton/TextButton.js +68 -0
  574. package/dist/components/TextButton/TextButton.js.map +1 -0
  575. package/dist/components/TextButton/TextButton.types.d.ts +69 -0
  576. package/dist/components/TextButton/TextButton.types.d.ts.map +1 -0
  577. package/dist/components/TextButton/TextButton.types.js +3 -0
  578. package/dist/components/TextButton/TextButton.types.js.map +1 -0
  579. package/dist/components/TextButton/index.d.ts +4 -0
  580. package/dist/components/TextButton/index.d.ts.map +1 -0
  581. package/dist/components/TextButton/index.js +8 -0
  582. package/dist/components/TextButton/index.js.map +1 -0
  583. package/dist/components/index.d.ts +49 -0
  584. package/dist/components/index.d.ts.map +1 -0
  585. package/dist/components/index.js +81 -0
  586. package/dist/components/index.js.map +1 -0
  587. package/dist/components/temp-components/Blockies/Blockies.d.ts +4 -0
  588. package/dist/components/temp-components/Blockies/Blockies.d.ts.map +1 -0
  589. package/dist/components/temp-components/Blockies/Blockies.js +14 -0
  590. package/dist/components/temp-components/Blockies/Blockies.js.map +1 -0
  591. package/dist/components/temp-components/Blockies/Blockies.types.d.ts +15 -0
  592. package/dist/components/temp-components/Blockies/Blockies.types.d.ts.map +1 -0
  593. package/dist/components/temp-components/Blockies/Blockies.types.js +3 -0
  594. package/dist/components/temp-components/Blockies/Blockies.types.js.map +1 -0
  595. package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts +24 -0
  596. package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts.map +1 -0
  597. package/dist/components/temp-components/Blockies/Blockies.utilities.js +492 -0
  598. package/dist/components/temp-components/Blockies/Blockies.utilities.js.map +1 -0
  599. package/dist/components/temp-components/Blockies/index.d.ts +3 -0
  600. package/dist/components/temp-components/Blockies/index.d.ts.map +1 -0
  601. package/dist/components/temp-components/Blockies/index.js +6 -0
  602. package/dist/components/temp-components/Blockies/index.js.map +1 -0
  603. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts +4 -0
  604. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts.map +1 -0
  605. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js +59 -0
  606. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js.map +1 -0
  607. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts +6 -0
  608. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts.map +1 -0
  609. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.js +3 -0
  610. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.js.map +1 -0
  611. package/dist/components/temp-components/ButtonAnimated/index.d.ts +3 -0
  612. package/dist/components/temp-components/ButtonAnimated/index.d.ts.map +1 -0
  613. package/dist/components/temp-components/ButtonAnimated/index.js +6 -0
  614. package/dist/components/temp-components/ButtonAnimated/index.js.map +1 -0
  615. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts +4 -0
  616. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts.map +1 -0
  617. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js +74 -0
  618. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js.map +1 -0
  619. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts +64 -0
  620. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts.map +1 -0
  621. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js +3 -0
  622. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js.map +1 -0
  623. package/dist/components/temp-components/ImageOrSvg/index.d.ts +3 -0
  624. package/dist/components/temp-components/ImageOrSvg/index.d.ts.map +1 -0
  625. package/dist/components/temp-components/ImageOrSvg/index.js +6 -0
  626. package/dist/components/temp-components/ImageOrSvg/index.js.map +1 -0
  627. package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts +4 -0
  628. package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts.map +1 -0
  629. package/dist/components/temp-components/Jazzicon/Jazzicon.js +14 -0
  630. package/dist/components/temp-components/Jazzicon/Jazzicon.js.map +1 -0
  631. package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts +11 -0
  632. package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts.map +1 -0
  633. package/dist/components/temp-components/Jazzicon/Jazzicon.types.js +3 -0
  634. package/dist/components/temp-components/Jazzicon/Jazzicon.types.js.map +1 -0
  635. package/dist/components/temp-components/Jazzicon/index.d.ts +3 -0
  636. package/dist/components/temp-components/Jazzicon/index.d.ts.map +1 -0
  637. package/dist/components/temp-components/Jazzicon/index.js +6 -0
  638. package/dist/components/temp-components/Jazzicon/index.js.map +1 -0
  639. package/dist/components/temp-components/Maskicon/Maskicon.d.ts +4 -0
  640. package/dist/components/temp-components/Maskicon/Maskicon.d.ts.map +1 -0
  641. package/dist/components/temp-components/Maskicon/Maskicon.js +52 -0
  642. package/dist/components/temp-components/Maskicon/Maskicon.js.map +1 -0
  643. package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts +15 -0
  644. package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts.map +1 -0
  645. package/dist/components/temp-components/Maskicon/Maskicon.types.js +3 -0
  646. package/dist/components/temp-components/Maskicon/Maskicon.types.js.map +1 -0
  647. package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts +57 -0
  648. package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts.map +1 -0
  649. package/dist/components/temp-components/Maskicon/Maskicon.utilities.js +282 -0
  650. package/dist/components/temp-components/Maskicon/Maskicon.utilities.js.map +1 -0
  651. package/dist/components/temp-components/Maskicon/index.d.ts +3 -0
  652. package/dist/components/temp-components/Maskicon/index.d.ts.map +1 -0
  653. package/dist/components/temp-components/Maskicon/index.js +6 -0
  654. package/dist/components/temp-components/Maskicon/index.js.map +1 -0
  655. package/dist/components/temp-components/Spinner/Spinner.d.ts +4 -0
  656. package/dist/components/temp-components/Spinner/Spinner.d.ts.map +1 -0
  657. package/dist/components/temp-components/Spinner/Spinner.js +68 -0
  658. package/dist/components/temp-components/Spinner/Spinner.js.map +1 -0
  659. package/dist/components/temp-components/Spinner/Spinner.types.d.ts +31 -0
  660. package/dist/components/temp-components/Spinner/Spinner.types.d.ts.map +1 -0
  661. package/dist/components/temp-components/Spinner/Spinner.types.js +3 -0
  662. package/dist/components/temp-components/Spinner/Spinner.types.js.map +1 -0
  663. package/dist/components/temp-components/Spinner/index.d.ts +3 -0
  664. package/dist/components/temp-components/Spinner/index.d.ts.map +1 -0
  665. package/dist/components/temp-components/Spinner/index.js +6 -0
  666. package/dist/components/temp-components/Spinner/index.js.map +1 -0
  667. package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts +4 -0
  668. package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts.map +1 -0
  669. package/dist/components/temp-components/TextOrChildren/TextOrChildren.js +16 -0
  670. package/dist/components/temp-components/TextOrChildren/TextOrChildren.js.map +1 -0
  671. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts +16 -0
  672. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts.map +1 -0
  673. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.js +3 -0
  674. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.js.map +1 -0
  675. package/dist/components/temp-components/TextOrChildren/index.d.ts +3 -0
  676. package/dist/components/temp-components/TextOrChildren/index.d.ts.map +1 -0
  677. package/dist/components/temp-components/TextOrChildren/index.js +6 -0
  678. package/dist/components/temp-components/TextOrChildren/index.js.map +1 -0
  679. package/dist/index.d.ts +2 -0
  680. package/dist/index.d.ts.map +1 -0
  681. package/dist/index.js +18 -0
  682. package/dist/index.js.map +1 -0
  683. package/dist/types/index.d.ts +618 -0
  684. package/dist/types/index.d.ts.map +1 -0
  685. package/dist/types/index.js +629 -0
  686. package/dist/types/index.js.map +1 -0
  687. package/package.json +39 -16
  688. package/dist/index.cjs +0 -13
  689. package/dist/index.cjs.map +0 -1
  690. package/dist/index.d.cts +0 -8
  691. package/dist/index.d.cts.map +0 -1
  692. package/dist/index.d.mts +0 -8
  693. package/dist/index.d.mts.map +0 -1
  694. package/dist/index.mjs +0 -10
  695. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ButtonAnimated = void 0;
30
+ const react_1 = __importDefault(require("react"));
31
+ const react_native_1 = require("react-native");
32
+ const react_native_reanimated_1 = __importStar(require("react-native-reanimated"));
33
+ const ButtonAnimated = ({ onPressIn, onPressOut, disabled, ...props }) => {
34
+ const animation = (0, react_native_reanimated_1.useSharedValue)(1);
35
+ const scaleStyle = (0, react_native_reanimated_1.useAnimatedStyle)(() => {
36
+ return {
37
+ transform: [{ scale: animation.value }],
38
+ };
39
+ });
40
+ const onPressInHandler = (event) => {
41
+ animation.value = (0, react_native_reanimated_1.withTiming)(0.97, {
42
+ duration: 100,
43
+ easing: react_native_reanimated_1.Easing.bezier(0.3, 0.8, 0.3, 1),
44
+ });
45
+ onPressIn?.(event);
46
+ };
47
+ const onPressOutHandler = (event) => {
48
+ animation.value = (0, react_native_reanimated_1.withTiming)(1, {
49
+ duration: 100,
50
+ easing: react_native_reanimated_1.Easing.bezier(0.3, 0.8, 0.3, 1),
51
+ });
52
+ onPressOut?.(event);
53
+ };
54
+ return (<react_native_reanimated_1.default.View style={[scaleStyle, { alignItems: 'center', justifyContent: 'center' }]}>
55
+ <react_native_1.Pressable onPressIn={onPressInHandler} onPressOut={onPressOutHandler} disabled={disabled} {...props}/>
56
+ </react_native_reanimated_1.default.View>);
57
+ };
58
+ exports.ButtonAnimated = ButtonAnimated;
59
+ //# sourceMappingURL=ButtonAnimated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonAnimated.js","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAE1B,+CAAyC;AACzC,mFAKiC;AAI1B,MAAM,cAAc,GAAG,CAAC,EAC7B,SAAS,EACT,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACY,EAAE,EAAE;IACxB,MAAM,SAAS,GAAG,IAAA,wCAAc,EAAC,CAAC,CAAC,CAAC;IACpC,MAAM,UAAU,GAAG,IAAA,0CAAgB,EAAC,GAAG,EAAE;QACvC,OAAO;YACL,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,CAAC;SACxC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;QACxD,SAAS,CAAC,KAAK,GAAG,IAAA,oCAAU,EAAC,IAAI,EAAE;YACjC,QAAQ,EAAE,GAAG;YACb,MAAM,EAAE,gCAAM,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;SACxC,CAAC,CAAC;QACH,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,CAAC,KAA4B,EAAE,EAAE;QACzD,SAAS,CAAC,KAAK,GAAG,IAAA,oCAAU,EAAC,CAAC,EAAE;YAC9B,QAAQ,EAAE,GAAG;YACb,MAAM,EAAE,gCAAM,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;SACxC,CAAC,CAAC;QACH,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,CAAC;IAEF,OAAO,CACL,CAAC,iCAAQ,CAAC,IAAI,CACZ,KAAK,CAAC,CAAC,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC,CAAC,CAExE;MAAA,CAAC,wBAAS,CACR,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAC5B,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAC9B,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,IAAI,KAAK,CAAC,EAEd;IAAA,EAAE,iCAAQ,CAAC,IAAI,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAzCW,QAAA,cAAc,kBAyCzB","sourcesContent":["import React from 'react';\nimport type { GestureResponderEvent } from 'react-native';\nimport { Pressable } from 'react-native';\nimport Animated, {\n useSharedValue,\n useAnimatedStyle,\n withTiming,\n Easing,\n} from 'react-native-reanimated';\n\nimport type { ButtonAnimatedProps } from './ButtonAnimated.types';\n\nexport const ButtonAnimated = ({\n onPressIn,\n onPressOut,\n disabled,\n ...props\n}: ButtonAnimatedProps) => {\n const animation = useSharedValue(1);\n const scaleStyle = useAnimatedStyle(() => {\n return {\n transform: [{ scale: animation.value }],\n };\n });\n\n const onPressInHandler = (event: GestureResponderEvent) => {\n animation.value = withTiming(0.97, {\n duration: 100,\n easing: Easing.bezier(0.3, 0.8, 0.3, 1),\n });\n onPressIn?.(event);\n };\n\n const onPressOutHandler = (event: GestureResponderEvent) => {\n animation.value = withTiming(1, {\n duration: 100,\n easing: Easing.bezier(0.3, 0.8, 0.3, 1),\n });\n onPressOut?.(event);\n };\n\n return (\n <Animated.View\n style={[scaleStyle, { alignItems: 'center', justifyContent: 'center' }]}\n >\n <Pressable\n onPressIn={onPressInHandler}\n onPressOut={onPressOutHandler}\n disabled={disabled}\n {...props}\n />\n </Animated.View>\n );\n};\n"]}
@@ -0,0 +1,6 @@
1
+ import type { PressableProps } from 'react-native';
2
+ /**
3
+ * ButtonAnimated component props.
4
+ */
5
+ export type ButtonAnimatedProps = PressableProps;
6
+ //# sourceMappingURL=ButtonAnimated.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonAnimated.types.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ButtonAnimated.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonAnimated.types.js","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { PressableProps } from 'react-native';\n\n/**\n * ButtonAnimated component props.\n */\nexport type ButtonAnimatedProps = PressableProps;\n"]}
@@ -0,0 +1,3 @@
1
+ export { ButtonAnimated } from './ButtonAnimated';
2
+ export type { ButtonAnimatedProps } from './ButtonAnimated.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ButtonAnimated = void 0;
4
+ var ButtonAnimated_1 = require("./ButtonAnimated");
5
+ Object.defineProperty(exports, "ButtonAnimated", { enumerable: true, get: function () { return ButtonAnimated_1.ButtonAnimated; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/index.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["export { ButtonAnimated } from './ButtonAnimated';\nexport type { ButtonAnimatedProps } from './ButtonAnimated.types';\n"]}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ImageOrSvgProps } from './ImageOrSvg.types';
3
+ export declare const ImageOrSvg: ({ src, width, height, onImageLoad, onImageError, onSvgError, style, imageProps, svgProps, }: ImageOrSvgProps) => React.JSX.Element;
4
+ //# sourceMappingURL=ImageOrSvg.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageOrSvg.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,gGAUpB,eAAe,sBAwEjB,CAAC"}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.ImageOrSvg = void 0;
27
+ const react_1 = __importStar(require("react"));
28
+ const react_native_1 = require("react-native");
29
+ const react_native_svg_1 = require("react-native-svg");
30
+ const ImageOrSvg = ({ src, width, height, onImageLoad, onImageError, onSvgError, style, imageProps, svgProps, }) => {
31
+ // CASE 1: local image (src is a number)
32
+ if (typeof src === 'number') {
33
+ return (<react_native_1.Image source={src} style={[{ width, height }, style]} resizeMode="contain" onLoad={onImageLoad} onError={onImageError} {...imageProps}/>);
34
+ }
35
+ // CASE 2: Local SVG component (src is a React component)
36
+ if (typeof src === 'function') {
37
+ const LocalSvg = src;
38
+ return <LocalSvg width={width} height={height} {...svgProps}/>;
39
+ }
40
+ // CASE 3: Remote image or SVG (src is an object with a uri)
41
+ const [isSvg, setIsSvg] = (0, react_1.useState)(false);
42
+ const checkSvgContentType = (0, react_1.useCallback)(async (uri) => {
43
+ try {
44
+ const response = await fetch(uri, { method: 'HEAD' });
45
+ // If no header is returned, fallback to an empty string.
46
+ const contentType = response.headers.get('Content-Type') || '';
47
+ return contentType.includes('image/svg+xml');
48
+ }
49
+ catch {
50
+ return false;
51
+ }
52
+ }, []);
53
+ (0, react_1.useEffect)(() => {
54
+ if (src.uri) {
55
+ const uriLower = src.uri.toLowerCase();
56
+ const isLikelySvg = uriLower.endsWith('.svg') || uriLower.startsWith('data:image/svg+xml');
57
+ if (!src.uri.startsWith('data:')) {
58
+ checkSvgContentType(src.uri).then(setIsSvg);
59
+ }
60
+ else {
61
+ setIsSvg(isLikelySvg);
62
+ }
63
+ }
64
+ else {
65
+ setIsSvg(false);
66
+ }
67
+ }, [src, checkSvgContentType]);
68
+ if (isSvg && typeof src === 'object' && 'uri' in src && src.uri) {
69
+ return (<react_native_svg_1.SvgUri uri={src.uri} width={width} height={height} onError={onSvgError} style={style} {...svgProps}/>);
70
+ }
71
+ return (<react_native_1.Image source={src} style={[{ width, height }, style]} resizeMode="contain" onLoad={onImageLoad} onError={onImageError} {...imageProps}/>);
72
+ };
73
+ exports.ImageOrSvg = ImageOrSvg;
74
+ //# sourceMappingURL=ImageOrSvg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageOrSvg.js","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgE;AAChE,+CAAqC;AACrC,uDAA0C;AAInC,MAAM,UAAU,GAAG,CAAC,EACzB,GAAG,EACH,KAAK,EACL,MAAM,EACN,WAAW,EACX,YAAY,EACZ,UAAU,EACV,KAAK,EACL,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,wCAAwC;IACxC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,CACL,CAAC,oBAAK,CACJ,MAAM,CAAC,CAAC,GAAG,CAAC,CACZ,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;KACH;IAED,yDAAyD;IACzD,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;QAC7B,MAAM,QAAQ,GAAG,GAAG,CAAC;QACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,QAAQ,CAAC,EAAG,CAAC;KACjE;IAED,4DAA4D;IAC5D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,CAAC;IAEnD,MAAM,mBAAmB,GAAG,IAAA,mBAAW,EAAC,KAAK,EAAE,GAAW,EAAE,EAAE;QAC5D,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;YACtD,yDAAyD;YACzD,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;YAC/D,OAAO,WAAW,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;SAC9C;QAAC,MAAM;YACN,OAAO,KAAK,CAAC;SACd;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,GAAG,CAAC,GAAG,EAAE;YACX,MAAM,QAAQ,GAAG,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;YACvC,MAAM,WAAW,GACf,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;YACzE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBAChC,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC7C;iBAAM;gBACL,QAAQ,CAAC,WAAW,CAAC,CAAC;aACvB;SACF;aAAM;YACL,QAAQ,CAAC,KAAK,CAAC,CAAC;SACjB;IACH,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAE/B,IAAI,KAAK,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE;QAC/D,OAAO,CACL,CAAC,yBAAM,CACL,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CACb,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,OAAO,CAAC,CAAC,UAAU,CAAC,CACpB,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,IAAI,QAAQ,CAAC,EACb,CACH,CAAC;KACH;IACD,OAAO,CACL,CAAC,oBAAK,CACJ,MAAM,CAAC,CAAC,GAAU,CAAC,CACnB,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;AACJ,CAAC,CAAC;AAlFW,QAAA,UAAU,cAkFrB","sourcesContent":["import React, { useState, useCallback, useEffect } from 'react';\nimport { Image } from 'react-native';\nimport { SvgUri } from 'react-native-svg';\n\nimport type { ImageOrSvgProps } from './ImageOrSvg.types';\n\nexport const ImageOrSvg = ({\n src,\n width,\n height,\n onImageLoad,\n onImageError,\n onSvgError,\n style,\n imageProps,\n svgProps,\n}: ImageOrSvgProps) => {\n // CASE 1: local image (src is a number)\n if (typeof src === 'number') {\n return (\n <Image\n source={src}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n }\n\n // CASE 2: Local SVG component (src is a React component)\n if (typeof src === 'function') {\n const LocalSvg = src;\n return <LocalSvg width={width} height={height} {...svgProps} />;\n }\n\n // CASE 3: Remote image or SVG (src is an object with a uri)\n const [isSvg, setIsSvg] = useState<boolean>(false);\n\n const checkSvgContentType = useCallback(async (uri: string) => {\n try {\n const response = await fetch(uri, { method: 'HEAD' });\n // If no header is returned, fallback to an empty string.\n const contentType = response.headers.get('Content-Type') || '';\n return contentType.includes('image/svg+xml');\n } catch {\n return false;\n }\n }, []);\n\n useEffect(() => {\n if (src.uri) {\n const uriLower = src.uri.toLowerCase();\n const isLikelySvg =\n uriLower.endsWith('.svg') || uriLower.startsWith('data:image/svg+xml');\n if (!src.uri.startsWith('data:')) {\n checkSvgContentType(src.uri).then(setIsSvg);\n } else {\n setIsSvg(isLikelySvg);\n }\n } else {\n setIsSvg(false);\n }\n }, [src, checkSvgContentType]);\n\n if (isSvg && typeof src === 'object' && 'uri' in src && src.uri) {\n return (\n <SvgUri\n uri={src.uri}\n width={width}\n height={height}\n onError={onSvgError}\n style={style}\n {...svgProps}\n />\n );\n }\n return (\n <Image\n source={src as any}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n};\n"]}
@@ -0,0 +1,64 @@
1
+ /// <reference types="react" />
2
+ import type { ImageErrorEventData, ImageLoadEventData, NativeSyntheticEvent, StyleProp, ImageStyle, ImageProps } from 'react-native';
3
+ import type { SvgProps } from 'react-native-svg';
4
+ /**
5
+ * Base props common to all variations.
6
+ */
7
+ export type ImageOrSvgBaseProps = {
8
+ /**
9
+ * Optional prop to set the width of the image/SVG.
10
+ * Accepts numbers (pixels) or string values (like percentages).
11
+ */
12
+ width?: number | string;
13
+ /**
14
+ * Optional prop to set the height of the image/SVG.
15
+ * Accepts numbers (pixels) or string values (like percentages).
16
+ */
17
+ height?: number | string;
18
+ /**
19
+ * Optional prop to set callback triggered when the image has loaded successfully.
20
+ */
21
+ onImageLoad?: (event: NativeSyntheticEvent<ImageLoadEventData>) => void;
22
+ /**
23
+ * Optional prop to set callback triggered when there is an error rendering the image.
24
+ */
25
+ onImageError?: (errorEvent: NativeSyntheticEvent<ImageErrorEventData>) => void;
26
+ /**
27
+ * Optional prop to set callback triggered when there is an error rendering the SVG.
28
+ */
29
+ onSvgError?: (error: Error) => void;
30
+ /**
31
+ * Optional prop for style overrides for the image/SVG container.
32
+ */
33
+ style?: StyleProp<ImageStyle>;
34
+ /**
35
+ * Additional props to pass to the Image component, excluding
36
+ * the 'source' prop (which is handled separately).
37
+ */
38
+ imageProps?: Omit<ImageProps, 'source'>;
39
+ /**
40
+ * Additional props to pass to the Svg component, excluding
41
+ * the 'uri' prop (which is handled separately).
42
+ */
43
+ svgProps?: Omit<SvgProps, 'uri'>;
44
+ };
45
+ /**
46
+ * Defines the source type for an image or SVG.
47
+ *
48
+ * The source can be one of the following:
49
+ * - A number representing a locally imported image resource.
50
+ * - A React component (with SvgProps) representing a locally imported SVG.
51
+ * - An object with an optional `uri` property for remote images or SVGs.
52
+ */
53
+ export type ImageOrSvgSrc = number | React.ComponentType<SvgProps> | {
54
+ uri?: string;
55
+ };
56
+ export type ImageOrSvgProps = ImageOrSvgBaseProps & {
57
+ /**
58
+ * Required prop for the source of the image or SVG.
59
+ * This prop determines whether a local image, a local SVG component,
60
+ * or a remote image/SVG (via URI) is rendered.
61
+ */
62
+ src: ImageOrSvgSrc;
63
+ };
64
+ //# sourceMappingURL=ImageOrSvg.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageOrSvg.types.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,UAAU,EACX,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,CACb,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,KAClD,IAAI,CAAC;IACV;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAC7B;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,GAAG,EAAE,aAAa,CAAC;CACpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ImageOrSvg.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageOrSvg.types.js","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ImageErrorEventData,\n ImageLoadEventData,\n NativeSyntheticEvent,\n StyleProp,\n ImageStyle,\n ImageProps,\n} from 'react-native';\nimport type { SvgProps } from 'react-native-svg';\n\n/**\n * Base props common to all variations.\n */\nexport type ImageOrSvgBaseProps = {\n /**\n * Optional prop to set the width of the image/SVG.\n * Accepts numbers (pixels) or string values (like percentages).\n */\n width?: number | string;\n /**\n * Optional prop to set the height of the image/SVG.\n * Accepts numbers (pixels) or string values (like percentages).\n */\n height?: number | string;\n /**\n * Optional prop to set callback triggered when the image has loaded successfully.\n */\n onImageLoad?: (event: NativeSyntheticEvent<ImageLoadEventData>) => void;\n /**\n * Optional prop to set callback triggered when there is an error rendering the image.\n */\n onImageError?: (\n errorEvent: NativeSyntheticEvent<ImageErrorEventData>,\n ) => void;\n /**\n * Optional prop to set callback triggered when there is an error rendering the SVG.\n */\n onSvgError?: (error: Error) => void;\n /**\n * Optional prop for style overrides for the image/SVG container.\n */\n style?: StyleProp<ImageStyle>;\n /**\n * Additional props to pass to the Image component, excluding\n * the 'source' prop (which is handled separately).\n */\n imageProps?: Omit<ImageProps, 'source'>;\n /**\n * Additional props to pass to the Svg component, excluding\n * the 'uri' prop (which is handled separately).\n */\n svgProps?: Omit<SvgProps, 'uri'>;\n};\n\n/**\n * Defines the source type for an image or SVG.\n *\n * The source can be one of the following:\n * - A number representing a locally imported image resource.\n * - A React component (with SvgProps) representing a locally imported SVG.\n * - An object with an optional `uri` property for remote images or SVGs.\n */\nexport type ImageOrSvgSrc =\n | number // For local imported image\n | React.ComponentType<SvgProps> // For local imported svg\n | { uri?: string }; // For remote image or SVG (with a uri property)\n\nexport type ImageOrSvgProps = ImageOrSvgBaseProps & {\n /**\n * Required prop for the source of the image or SVG.\n * This prop determines whether a local image, a local SVG component,\n * or a remote image/SVG (via URI) is rendered.\n */\n src: ImageOrSvgSrc;\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export { ImageOrSvg } from './ImageOrSvg';
2
+ export type { ImageOrSvgProps, ImageOrSvgSrc } from './ImageOrSvg.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImageOrSvg = void 0;
4
+ var ImageOrSvg_1 = require("./ImageOrSvg");
5
+ Object.defineProperty(exports, "ImageOrSvg", { enumerable: true, get: function () { return ImageOrSvg_1.ImageOrSvg; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/index.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { ImageOrSvg } from './ImageOrSvg';\nexport type { ImageOrSvgProps, ImageOrSvgSrc } from './ImageOrSvg.types';\n"]}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { JazziconProps } from './Jazzicon.types';
3
+ export declare const Jazzicon: ({ testID, ...props }: JazziconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=Jazzicon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Jazzicon.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,QAAQ,yBAA0B,aAAa,sBAI3D,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Jazzicon = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const react_native_1 = require("react-native");
9
+ const react_native_jazzicon_1 = __importDefault(require("react-native-jazzicon"));
10
+ const Jazzicon = ({ testID, ...props }) => (<react_native_1.View testID={testID}>
11
+ <react_native_jazzicon_1.default {...props}/>
12
+ </react_native_1.View>);
13
+ exports.Jazzicon = Jazzicon;
14
+ //# sourceMappingURL=Jazzicon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Jazzicon.js","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,+CAAoC;AACpC,kFAA+C;AAIxC,MAAM,QAAQ,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE,CAAC,CAC/D,CAAC,mBAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACnB;IAAA,CAAC,+BAAU,CAAC,IAAI,KAAK,CAAC,EACxB;EAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AAJW,QAAA,QAAQ,YAInB","sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport RNJazzicon from 'react-native-jazzicon';\n\nimport type { JazziconProps } from './Jazzicon.types';\n\nexport const Jazzicon = ({ testID, ...props }: JazziconProps) => (\n <View testID={testID}>\n <RNJazzicon {...props} />\n </View>\n);\n"]}
@@ -0,0 +1,11 @@
1
+ import type { IJazziconProps } from 'react-native-jazzicon';
2
+ /**
3
+ * Jazzicon component props.
4
+ */
5
+ export type JazziconProps = {
6
+ /**
7
+ * Optional prop used to locate this view in end-to-end tests.
8
+ */
9
+ testID?: string | undefined;
10
+ } & IJazziconProps;
11
+ //# sourceMappingURL=Jazzicon.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Jazzicon.types.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,GAAG,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Jazzicon.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Jazzicon.types.js","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { IJazziconProps } from 'react-native-jazzicon';\n\n/**\n * Jazzicon component props.\n */\nexport type JazziconProps = {\n /**\n * Optional prop used to locate this view in end-to-end tests.\n */\n testID?: string | undefined;\n} & IJazziconProps;\n"]}
@@ -0,0 +1,3 @@
1
+ export { Jazzicon } from './Jazzicon';
2
+ export type { JazziconProps } from './Jazzicon.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Jazzicon = void 0;
4
+ var Jazzicon_1 = require("./Jazzicon");
5
+ Object.defineProperty(exports, "Jazzicon", { enumerable: true, get: function () { return Jazzicon_1.Jazzicon; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/index.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA","sourcesContent":["export { Jazzicon } from './Jazzicon';\nexport type { JazziconProps } from './Jazzicon.types';\n"]}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { MaskiconProps } from './Maskicon.types';
3
+ export declare const Maskicon: ({ address, size, ...props }: MaskiconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=Maskicon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Maskicon.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,eAAO,MAAM,QAAQ,gCAAsC,aAAa,sBAsBvE,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.Maskicon = void 0;
27
+ const react_1 = __importStar(require("react"));
28
+ const react_native_1 = require("react-native");
29
+ const react_native_svg_1 = require("react-native-svg");
30
+ const Maskicon_utilities_1 = require("./Maskicon.utilities");
31
+ const Maskicon = ({ address, size = 32, ...props }) => {
32
+ const [svgString, setSvgString] = (0, react_1.useState)('');
33
+ (0, react_1.useEffect)(() => {
34
+ let cancelled = false;
35
+ // eslint-disable-next-line no-void
36
+ void (async () => {
37
+ const newSvg = await (0, Maskicon_utilities_1.getMaskiconSVG)(address, size);
38
+ if (!cancelled) {
39
+ setSvgString(newSvg);
40
+ }
41
+ })();
42
+ return () => {
43
+ cancelled = true;
44
+ };
45
+ }, [address, size]);
46
+ if (!svgString) {
47
+ return <react_native_1.View style={{ width: size, height: size }}/>;
48
+ }
49
+ return <react_native_svg_1.SvgXml xml={svgString} width={size} height={size} {...props}/>;
50
+ };
51
+ exports.Maskicon = Maskicon;
52
+ //# sourceMappingURL=Maskicon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Maskicon.js","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmD;AACnD,+CAAoC;AACpC,uDAA0C;AAG1C,6DAAsD;AAE/C,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,CAAC,CAAC;IAE/C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,mCAAmC;QACnC,KAAK,CAAC,KAAK,IAAI,EAAE;YACf,MAAM,MAAM,GAAG,MAAM,IAAA,mCAAc,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,SAAS,EAAE;gBACd,YAAY,CAAC,MAAM,CAAC,CAAC;aACtB;QACH,CAAC,CAAC,EAAE,CAAC;QACL,OAAO,GAAG,EAAE;YACV,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,CAAC,mBAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAG,CAAC;KACvD;IAED,OAAO,CAAC,yBAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC1E,CAAC,CAAC;AAtBW,QAAA,QAAQ,YAsBnB","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { View } from 'react-native';\nimport { SvgXml } from 'react-native-svg';\n\nimport type { MaskiconProps } from './Maskicon.types';\nimport { getMaskiconSVG } from './Maskicon.utilities';\n\nexport const Maskicon = ({ address, size = 32, ...props }: MaskiconProps) => {\n const [svgString, setSvgString] = useState('');\n\n useEffect(() => {\n let cancelled = false;\n // eslint-disable-next-line no-void\n void (async () => {\n const newSvg = await getMaskiconSVG(address, size);\n if (!cancelled) {\n setSvgString(newSvg);\n }\n })();\n return () => {\n cancelled = true;\n };\n }, [address, size]);\n\n if (!svgString) {\n return <View style={{ width: size, height: size }} />;\n }\n\n return <SvgXml xml={svgString} width={size} height={size} {...props} />;\n};\n"]}
@@ -0,0 +1,15 @@
1
+ import type { SvgProps } from 'react-native-svg';
2
+ /**
3
+ * Maskicon component props.
4
+ */
5
+ export type MaskiconProps = {
6
+ /**
7
+ * Required address used as a unique identifier to generate the Maskicon.
8
+ */
9
+ address: string;
10
+ /**
11
+ * Optional prop to control the size of the Maskicon.
12
+ */
13
+ size?: number;
14
+ } & Omit<SvgProps, 'width' | 'height'>;
15
+ //# sourceMappingURL=Maskicon.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Maskicon.types.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Maskicon.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Maskicon.types.js","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { SvgProps } from 'react-native-svg';\n\n/**\n * Maskicon component props.\n */\nexport type MaskiconProps = {\n /**\n * Required address used as a unique identifier to generate the Maskicon.\n */\n address: string;\n /**\n * Optional prop to control the size of the Maskicon.\n */\n size?: number;\n} & Omit<SvgProps, 'width' | 'height'>;\n"]}
@@ -0,0 +1,57 @@
1
+ import { KnownCaipNamespace } from '@metamask/utils';
2
+ /**
3
+ * Generates a numeric seed for Ethereum (eip155) addresses.
4
+ *
5
+ * @param address The Ethereum address to generate a seed from
6
+ * @returns A numeric seed derived from the address
7
+ */
8
+ export declare function generateSeedEthereum(address: string): number;
9
+ /**
10
+ * Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).
11
+ *
12
+ * @param address The non-Ethereum address to generate a seed from
13
+ * @returns An array of numbers representing the byte-array seed
14
+ */
15
+ export declare function generateSeedNonEthereum(address: string): number[];
16
+ /**
17
+ * Dynamically checks if the address is Bitcoin or Solana; otherwise defaults to Ethereum.
18
+ * Returns a Promise that resolves to one of the known CAIP-2 namespaces.
19
+ *
20
+ * In this update, if the address starts with "0x", we'll assume it's Ethereum (Eip155)
21
+ * and avoid the dynamic import that can cause the "Requiring unknown module '2021'" error.
22
+ *
23
+ * @param address The address to check and determine its namespace
24
+ * @returns A promise that resolves to the detected CAIP-2 namespace
25
+ */
26
+ export declare function getCaipNamespaceFromAddress(address: string): Promise<KnownCaipNamespace>;
27
+ /**
28
+ * SDBM hash function
29
+ *
30
+ * @param str The string to hash
31
+ * @returns A numeric hash value
32
+ */
33
+ export declare function sdbmHash(str: string): number;
34
+ /**
35
+ * Convert numeric/byte-array seed to a 6+ length string
36
+ *
37
+ * @param seed The seed value to convert (either a number or array of numbers)
38
+ * @returns A string representation of the seed (minimum 6 characters)
39
+ */
40
+ export declare function seedToString(seed: number | number[]): string;
41
+ /**
42
+ * Builds a full <svg> string containing the Maskicon shapes.
43
+ *
44
+ * @param seed The seed value used to generate the icon
45
+ * @param size The size of the SVG icon in pixels
46
+ * @returns An SVG string representing the Maskicon
47
+ */
48
+ export declare function createMaskiconSVG(seed: number | number[], size?: number): string;
49
+ /**
50
+ * Returns a Promise that resolves to the final <svg> string for the given address.
51
+ *
52
+ * @param address The address to generate the Maskicon for
53
+ * @param size The size of the icon in pixels
54
+ * @returns A promise that resolves to an SVG string
55
+ */
56
+ export declare function getMaskiconSVG(address: string, size: number): Promise<string>;
57
+ //# sourceMappingURL=Maskicon.utilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Maskicon.utilities.d.ts","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAMpE;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI5D;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAEjE;AAED;;;;;;;;;GASG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,kBAAkB,CAAC,CAsC7B;AAmED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAQ5C;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAgB5D;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,IAAI,SAAM,GAAG,MAAM,CA8E7E;AAQD;;;;;;GAMG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,CAAC,CAkBjB"}