@metamask-previews/design-system-react-native 0.0.0-preview.3ab3ce4 → 0.0.0-preview.58198a0

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 (716) 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.map +1 -1
  258. package/dist/components/Icon/Icon.assets.js +403 -169
  259. package/dist/components/Icon/Icon.assets.js.map +1 -1
  260. package/dist/components/Icon/Icon.d.ts +1 -2
  261. package/dist/components/Icon/Icon.d.ts.map +1 -1
  262. package/dist/components/Icon/Icon.js +4 -3
  263. package/dist/components/Icon/Icon.js.map +1 -1
  264. package/dist/components/Icon/Icon.types.d.ts +3 -218
  265. package/dist/components/Icon/Icon.types.d.ts.map +1 -1
  266. package/dist/components/Icon/Icon.types.js +0 -226
  267. package/dist/components/Icon/Icon.types.js.map +1 -1
  268. package/dist/components/Icon/Icon.utilities.d.ts.map +1 -1
  269. package/dist/components/Icon/Icon.utilities.js +3 -3
  270. package/dist/components/Icon/Icon.utilities.js.map +1 -1
  271. package/dist/components/Icon/assets/accessibility.svg +1 -0
  272. package/dist/components/Icon/assets/activity.svg +1 -0
  273. package/dist/components/Icon/assets/add-card.svg +1 -0
  274. package/dist/components/Icon/assets/add-circle.svg +1 -0
  275. package/dist/components/Icon/assets/add-square.svg +1 -0
  276. package/dist/components/Icon/assets/add.svg +1 -0
  277. package/dist/components/Icon/assets/ai.svg +1 -0
  278. package/dist/components/Icon/assets/alternate-email.svg +1 -0
  279. package/dist/components/Icon/assets/apps.svg +1 -0
  280. package/dist/components/Icon/assets/arrow-2-down.svg +1 -0
  281. package/dist/components/Icon/assets/arrow-2-left.svg +1 -0
  282. package/dist/components/Icon/assets/arrow-2-right.svg +1 -0
  283. package/dist/components/Icon/assets/arrow-2-up-right.svg +1 -0
  284. package/dist/components/Icon/assets/arrow-2-up.svg +1 -0
  285. package/dist/components/Icon/assets/arrow-circle-down.svg +1 -0
  286. package/dist/components/Icon/assets/arrow-circle-up.svg +1 -0
  287. package/dist/components/Icon/assets/arrow-double-left.svg +1 -0
  288. package/dist/components/Icon/assets/arrow-double-right.svg +1 -0
  289. package/dist/components/Icon/assets/arrow-down.svg +1 -0
  290. package/dist/components/Icon/assets/arrow-drop-down-circle.svg +1 -0
  291. package/dist/components/Icon/assets/arrow-left.svg +1 -0
  292. package/dist/components/Icon/assets/arrow-right.svg +1 -0
  293. package/dist/components/Icon/assets/arrow-up.svg +1 -0
  294. package/dist/components/Icon/assets/attachment.svg +1 -0
  295. package/dist/components/Icon/assets/ban.svg +1 -0
  296. package/dist/components/Icon/assets/bank-assured.svg +1 -0
  297. package/dist/components/Icon/assets/bank.svg +1 -0
  298. package/dist/components/Icon/assets/bold.svg +1 -0
  299. package/dist/components/Icon/assets/book.svg +1 -0
  300. package/dist/components/Icon/assets/bookmark.svg +1 -0
  301. package/dist/components/Icon/assets/bridge.svg +1 -0
  302. package/dist/components/Icon/assets/briefcase.svg +1 -0
  303. package/dist/components/Icon/assets/bulb.svg +1 -0
  304. package/dist/components/Icon/assets/buy-sell.svg +1 -0
  305. package/dist/components/Icon/assets/cake.svg +1 -0
  306. package/dist/components/Icon/assets/calculator.svg +1 -0
  307. package/dist/components/Icon/assets/calendar.svg +1 -0
  308. package/dist/components/Icon/assets/call.svg +1 -0
  309. package/dist/components/Icon/assets/camera.svg +1 -0
  310. package/dist/components/Icon/assets/campaign.svg +1 -0
  311. package/dist/components/Icon/assets/card-pos.svg +1 -0
  312. package/dist/components/Icon/assets/card.svg +1 -0
  313. package/dist/components/Icon/assets/cash.svg +1 -0
  314. package/dist/components/Icon/assets/category.svg +1 -0
  315. package/dist/components/Icon/assets/chart.svg +1 -0
  316. package/dist/components/Icon/assets/check-bold.svg +1 -0
  317. package/dist/components/Icon/assets/check.svg +1 -0
  318. package/dist/components/Icon/assets/circle-x.svg +1 -0
  319. package/dist/components/Icon/assets/clock-filled.svg +1 -0
  320. package/dist/components/Icon/assets/clock.svg +1 -0
  321. package/dist/components/Icon/assets/close.svg +1 -0
  322. package/dist/components/Icon/assets/cloud-download.svg +1 -0
  323. package/dist/components/Icon/assets/cloud-upload.svg +1 -0
  324. package/dist/components/Icon/assets/cloud.svg +1 -0
  325. package/dist/components/Icon/assets/code-circle.svg +1 -0
  326. package/dist/components/Icon/assets/code.svg +1 -0
  327. package/dist/components/Icon/assets/coin.svg +1 -0
  328. package/dist/components/Icon/assets/collapse.svg +1 -0
  329. package/dist/components/Icon/assets/confirmation.svg +1 -0
  330. package/dist/components/Icon/assets/connect.svg +1 -0
  331. package/dist/components/Icon/assets/copy-success.svg +1 -0
  332. package/dist/components/Icon/assets/copy.svg +1 -0
  333. package/dist/components/Icon/assets/credit-check.svg +1 -0
  334. package/dist/components/Icon/assets/currency-franc.svg +1 -0
  335. package/dist/components/Icon/assets/currency-lira.svg +1 -0
  336. package/dist/components/Icon/assets/currency-pound.svg +1 -0
  337. package/dist/components/Icon/assets/currency-yuan.svg +3 -0
  338. package/dist/components/Icon/assets/customize.svg +1 -0
  339. package/dist/components/Icon/assets/danger.svg +1 -0
  340. package/dist/components/Icon/assets/dark-filled.svg +1 -0
  341. package/dist/components/Icon/assets/dark.svg +1 -0
  342. package/dist/components/Icon/assets/data.svg +1 -0
  343. package/dist/components/Icon/assets/description.svg +1 -0
  344. package/dist/components/Icon/assets/details.svg +1 -0
  345. package/dist/components/Icon/assets/diagram.svg +1 -0
  346. package/dist/components/Icon/assets/document-code.svg +1 -0
  347. package/dist/components/Icon/assets/download.svg +1 -0
  348. package/dist/components/Icon/assets/draft.svg +1 -0
  349. package/dist/components/Icon/assets/eco-leaf.svg +1 -0
  350. package/dist/components/Icon/assets/edit-square.svg +1 -0
  351. package/dist/components/Icon/assets/edit.svg +1 -0
  352. package/dist/components/Icon/assets/encrypted-add.svg +1 -0
  353. package/dist/components/Icon/assets/eraser.svg +1 -0
  354. package/dist/components/Icon/assets/error.svg +1 -0
  355. package/dist/components/Icon/assets/ethereum.svg +1 -0
  356. package/dist/components/Icon/assets/exchange.svg +1 -0
  357. package/dist/components/Icon/assets/expand-vertical.svg +1 -0
  358. package/dist/components/Icon/assets/expand.svg +1 -0
  359. package/dist/components/Icon/assets/explore-filled.svg +1 -0
  360. package/dist/components/Icon/assets/explore.svg +1 -0
  361. package/dist/components/Icon/assets/export.svg +1 -0
  362. package/dist/components/Icon/assets/extension.svg +1 -0
  363. package/dist/components/Icon/assets/eye-slash.svg +1 -0
  364. package/dist/components/Icon/assets/eye.svg +1 -0
  365. package/dist/components/Icon/assets/face-id.svg +1 -0
  366. package/dist/components/Icon/assets/feedback.svg +1 -0
  367. package/dist/components/Icon/assets/file.svg +1 -0
  368. package/dist/components/Icon/assets/filter.svg +1 -0
  369. package/dist/components/Icon/assets/fingerprint.svg +1 -0
  370. package/dist/components/Icon/assets/fire.svg +1 -0
  371. package/dist/components/Icon/assets/first-page.svg +1 -0
  372. package/dist/components/Icon/assets/flag.svg +1 -0
  373. package/dist/components/Icon/assets/flash-slash.svg +1 -0
  374. package/dist/components/Icon/assets/flash.svg +1 -0
  375. package/dist/components/Icon/assets/flask.svg +1 -0
  376. package/dist/components/Icon/assets/flower.svg +1 -0
  377. package/dist/components/Icon/assets/folder.svg +1 -0
  378. package/dist/components/Icon/assets/forest.svg +1 -0
  379. package/dist/components/Icon/assets/full-circle.svg +1 -0
  380. package/dist/components/Icon/assets/gas.svg +1 -0
  381. package/dist/components/Icon/assets/gift.svg +1 -0
  382. package/dist/components/Icon/assets/global-search.svg +1 -0
  383. package/dist/components/Icon/assets/global.svg +1 -0
  384. package/dist/components/Icon/assets/graph.svg +1 -0
  385. package/dist/components/Icon/assets/hardware.svg +1 -0
  386. package/dist/components/Icon/assets/hash-tag.svg +1 -0
  387. package/dist/components/Icon/assets/heart-filled.svg +1 -0
  388. package/dist/components/Icon/assets/heart.svg +1 -0
  389. package/dist/components/Icon/assets/hierarchy.svg +1 -0
  390. package/dist/components/Icon/assets/home-filled.svg +1 -0
  391. package/dist/components/Icon/assets/home.svg +1 -0
  392. package/dist/components/Icon/assets/image.svg +1 -0
  393. package/dist/components/Icon/assets/info.svg +1 -0
  394. package/dist/components/Icon/assets/inventory.svg +1 -0
  395. package/dist/components/Icon/assets/joystick.svg +1 -0
  396. package/dist/components/Icon/assets/keep-filled.svg +1 -0
  397. package/dist/components/Icon/assets/keep.svg +1 -0
  398. package/dist/components/Icon/assets/key.svg +1 -0
  399. package/dist/components/Icon/assets/last-page.svg +1 -0
  400. package/dist/components/Icon/assets/light-filled.svg +1 -0
  401. package/dist/components/Icon/assets/light.svg +1 -0
  402. package/dist/components/Icon/assets/link.svg +1 -0
  403. package/dist/components/Icon/assets/loading.svg +1 -0
  404. package/dist/components/Icon/assets/location.svg +1 -0
  405. package/dist/components/Icon/assets/lock-slash.svg +1 -0
  406. package/dist/components/Icon/assets/lock.svg +1 -0
  407. package/dist/components/Icon/assets/locked-filled.svg +1 -0
  408. package/dist/components/Icon/assets/login.svg +1 -0
  409. package/dist/components/Icon/assets/logout.svg +1 -0
  410. package/dist/components/Icon/assets/mail.svg +1 -0
  411. package/dist/components/Icon/assets/map.svg +1 -0
  412. package/dist/components/Icon/assets/menu.svg +1 -0
  413. package/dist/components/Icon/assets/message-question.svg +1 -0
  414. package/dist/components/Icon/assets/messages.svg +1 -0
  415. package/dist/components/Icon/assets/mic.svg +1 -0
  416. package/dist/components/Icon/assets/minus-bold.svg +1 -0
  417. package/dist/components/Icon/assets/minus-square.svg +1 -0
  418. package/dist/components/Icon/assets/minus.svg +1 -0
  419. package/dist/components/Icon/assets/mobile.svg +1 -0
  420. package/dist/components/Icon/assets/money-bag.svg +1 -0
  421. package/dist/components/Icon/assets/money.svg +1 -0
  422. package/dist/components/Icon/assets/monitor.svg +1 -0
  423. package/dist/components/Icon/assets/more-horizontal.svg +1 -0
  424. package/dist/components/Icon/assets/more-vertical.svg +1 -0
  425. package/dist/components/Icon/assets/mountain-flag.svg +1 -0
  426. package/dist/components/Icon/assets/music-note.svg +1 -0
  427. package/dist/components/Icon/assets/notification.svg +1 -0
  428. package/dist/components/Icon/assets/page-info.svg +1 -0
  429. package/dist/components/Icon/assets/palette.svg +1 -0
  430. package/dist/components/Icon/assets/password-check.svg +1 -0
  431. package/dist/components/Icon/assets/pending.svg +1 -0
  432. package/dist/components/Icon/assets/people.svg +1 -0
  433. package/dist/components/Icon/assets/person-cancel.svg +1 -0
  434. package/dist/components/Icon/assets/pin.svg +1 -0
  435. package/dist/components/Icon/assets/plant.svg +1 -0
  436. package/dist/components/Icon/assets/plug.svg +1 -0
  437. package/dist/components/Icon/assets/plus-and-minus.svg +1 -0
  438. package/dist/components/Icon/assets/policy-alert.svg +1 -0
  439. package/dist/components/Icon/assets/print.svg +1 -0
  440. package/dist/components/Icon/assets/priority-high.svg +1 -0
  441. package/dist/components/Icon/assets/privacy-tip.svg +1 -0
  442. package/dist/components/Icon/assets/programming-arrows.svg +1 -0
  443. package/dist/components/Icon/assets/publish.svg +1 -0
  444. package/dist/components/Icon/assets/qr-code.svg +1 -0
  445. package/dist/components/Icon/assets/question.svg +1 -0
  446. package/dist/components/Icon/assets/receive.svg +1 -0
  447. package/dist/components/Icon/assets/received.svg +1 -0
  448. package/dist/components/Icon/assets/refresh.svg +1 -0
  449. package/dist/components/Icon/assets/remove-minus.svg +1 -0
  450. package/dist/components/Icon/assets/report.svg +1 -0
  451. package/dist/components/Icon/assets/rocket.svg +1 -0
  452. package/dist/components/Icon/assets/save-filled.svg +1 -0
  453. package/dist/components/Icon/assets/save.svg +1 -0
  454. package/dist/components/Icon/assets/saving.svg +1 -0
  455. package/dist/components/Icon/assets/scan-barcode.svg +1 -0
  456. package/dist/components/Icon/assets/scan-focus.svg +1 -0
  457. package/dist/components/Icon/assets/scan.svg +1 -0
  458. package/dist/components/Icon/assets/search.svg +1 -0
  459. package/dist/components/Icon/assets/security-alert.svg +1 -0
  460. package/dist/components/Icon/assets/security-cross.svg +1 -0
  461. package/dist/components/Icon/assets/security-key.svg +1 -0
  462. package/dist/components/Icon/assets/security-search.svg +1 -0
  463. package/dist/components/Icon/assets/security-slash.svg +1 -0
  464. package/dist/components/Icon/assets/security-tick.svg +1 -0
  465. package/dist/components/Icon/assets/security-time.svg +1 -0
  466. package/dist/components/Icon/assets/security-user.svg +1 -0
  467. package/dist/components/Icon/assets/security.svg +1 -0
  468. package/dist/components/Icon/assets/send.svg +1 -0
  469. package/dist/components/Icon/assets/sentiment-dissatisfied.svg +1 -0
  470. package/dist/components/Icon/assets/sentiment-neutral.svg +1 -0
  471. package/dist/components/Icon/assets/sentiment-satisfied.svg +1 -0
  472. package/dist/components/Icon/assets/sentiment-very-satisfied.svg +1 -0
  473. package/dist/components/Icon/assets/setting-filled.svg +1 -0
  474. package/dist/components/Icon/assets/setting.svg +1 -0
  475. package/dist/components/Icon/assets/share.svg +1 -0
  476. package/dist/components/Icon/assets/shield-lock.svg +1 -0
  477. package/dist/components/Icon/assets/shopping-bag.svg +1 -0
  478. package/dist/components/Icon/assets/shopping-cart.svg +1 -0
  479. package/dist/components/Icon/assets/signal-cellular.svg +1 -0
  480. package/dist/components/Icon/assets/slash.svg +1 -0
  481. package/dist/components/Icon/assets/sms.svg +1 -0
  482. package/dist/components/Icon/assets/snaps-mobile.svg +1 -0
  483. package/dist/components/Icon/assets/snaps-plus.svg +1 -0
  484. package/dist/components/Icon/assets/snaps-round.svg +1 -0
  485. package/dist/components/Icon/assets/snaps.svg +1 -0
  486. package/dist/components/Icon/assets/sort-by-alpha.svg +1 -0
  487. package/dist/components/Icon/assets/sort.svg +1 -0
  488. package/dist/components/Icon/assets/sparkle.svg +1 -0
  489. package/dist/components/Icon/assets/speed.svg +1 -0
  490. package/dist/components/Icon/assets/speedometer.svg +1 -0
  491. package/dist/components/Icon/assets/square.svg +1 -0
  492. package/dist/components/Icon/assets/stake.svg +1 -0
  493. package/dist/components/Icon/assets/star-filled.svg +1 -0
  494. package/dist/components/Icon/assets/star.svg +1 -0
  495. package/dist/components/Icon/assets/start.svg +1 -0
  496. package/dist/components/Icon/assets/storefront.svg +1 -0
  497. package/dist/components/Icon/assets/student.svg +1 -0
  498. package/dist/components/Icon/assets/swap-horizontal.svg +1 -0
  499. package/dist/components/Icon/assets/swap-vertical.svg +3 -0
  500. package/dist/components/Icon/assets/tab-close.svg +1 -0
  501. package/dist/components/Icon/assets/table-row.svg +1 -0
  502. package/dist/components/Icon/assets/tablet.svg +1 -0
  503. package/dist/components/Icon/assets/tag.svg +1 -0
  504. package/dist/components/Icon/assets/thumb-down-filled.svg +1 -0
  505. package/dist/components/Icon/assets/thumb-down.svg +1 -0
  506. package/dist/components/Icon/assets/thumb-up-filled.svg +1 -0
  507. package/dist/components/Icon/assets/thumb-up.svg +1 -0
  508. package/dist/components/Icon/assets/tint.svg +1 -0
  509. package/dist/components/Icon/assets/tooltip.svg +1 -0
  510. package/dist/components/Icon/assets/translate.svg +1 -0
  511. package/dist/components/Icon/assets/trash.svg +1 -0
  512. package/dist/components/Icon/assets/trend-down.svg +1 -0
  513. package/dist/components/Icon/assets/trend-up.svg +1 -0
  514. package/dist/components/Icon/assets/undo.svg +1 -0
  515. package/dist/components/Icon/assets/unfold.svg +1 -0
  516. package/dist/components/Icon/assets/unlocked-filled.svg +1 -0
  517. package/dist/components/Icon/assets/unpin.svg +1 -0
  518. package/dist/components/Icon/assets/upload-file.svg +1 -0
  519. package/dist/components/Icon/assets/upload.svg +1 -0
  520. package/dist/components/Icon/assets/usb.svg +1 -0
  521. package/dist/components/Icon/assets/user-check.svg +1 -0
  522. package/dist/components/Icon/assets/user-circle-add.svg +1 -0
  523. package/dist/components/Icon/assets/user-circle-remove.svg +1 -0
  524. package/dist/components/Icon/assets/user-circle.svg +1 -0
  525. package/dist/components/Icon/assets/user.svg +1 -0
  526. package/dist/components/Icon/assets/verified-filled.svg +1 -0
  527. package/dist/components/Icon/assets/verified.svg +1 -0
  528. package/dist/components/Icon/assets/videocam.svg +1 -0
  529. package/dist/components/Icon/assets/view-column.svg +1 -0
  530. package/dist/components/Icon/assets/view-in-ar.svg +1 -0
  531. package/dist/components/Icon/assets/volume-off.svg +1 -0
  532. package/dist/components/Icon/assets/volume-up.svg +1 -0
  533. package/dist/components/Icon/assets/wallet-filled.svg +1 -0
  534. package/dist/components/Icon/assets/wallet.svg +1 -0
  535. package/dist/components/Icon/assets/warning.svg +1 -0
  536. package/dist/components/Icon/assets/web-traffic.svg +1 -0
  537. package/dist/components/Icon/assets/widgets.svg +1 -0
  538. package/dist/components/Icon/assets/wifi-off.svg +1 -0
  539. package/dist/components/Icon/assets/wifi.svg +1 -0
  540. package/dist/components/Icon/assets/x.svg +1 -0
  541. package/dist/components/Icon/index.d.ts +2 -2
  542. package/dist/components/Icon/index.d.ts.map +1 -1
  543. package/dist/components/Icon/index.js +6 -9
  544. package/dist/components/Icon/index.js.map +1 -1
  545. package/dist/components/Text/Text.constants.d.ts +5 -6
  546. package/dist/components/Text/Text.constants.d.ts.map +1 -1
  547. package/dist/components/Text/Text.constants.js +17 -15
  548. package/dist/components/Text/Text.constants.js.map +1 -1
  549. package/dist/components/Text/Text.d.ts +1 -2
  550. package/dist/components/Text/Text.d.ts.map +1 -1
  551. package/dist/components/Text/Text.js +38 -13
  552. package/dist/components/Text/Text.js.map +1 -1
  553. package/dist/components/Text/Text.types.d.ts +14 -79
  554. package/dist/components/Text/Text.types.d.ts.map +1 -1
  555. package/dist/components/Text/Text.types.js +0 -86
  556. package/dist/components/Text/Text.types.js.map +1 -1
  557. package/dist/components/Text/Text.utilities.d.ts +4 -2
  558. package/dist/components/Text/Text.utilities.d.ts.map +1 -1
  559. package/dist/components/Text/Text.utilities.js +7 -6
  560. package/dist/components/Text/Text.utilities.js.map +1 -1
  561. package/dist/components/Text/index.d.ts +2 -2
  562. package/dist/components/Text/index.d.ts.map +1 -1
  563. package/dist/components/Text/index.js +8 -10
  564. package/dist/components/Text/index.js.map +1 -1
  565. package/dist/components/TextButton/TextButton.constants.d.ts +4 -0
  566. package/dist/components/TextButton/TextButton.constants.d.ts.map +1 -0
  567. package/dist/components/TextButton/TextButton.constants.js +12 -0
  568. package/dist/components/TextButton/TextButton.constants.js.map +1 -0
  569. package/dist/components/TextButton/TextButton.d.ts +4 -0
  570. package/dist/components/TextButton/TextButton.d.ts.map +1 -0
  571. package/dist/components/TextButton/TextButton.js +68 -0
  572. package/dist/components/TextButton/TextButton.js.map +1 -0
  573. package/dist/components/TextButton/TextButton.types.d.ts +69 -0
  574. package/dist/components/TextButton/TextButton.types.d.ts.map +1 -0
  575. package/dist/components/TextButton/TextButton.types.js +3 -0
  576. package/dist/components/TextButton/TextButton.types.js.map +1 -0
  577. package/dist/components/TextButton/index.d.ts +4 -0
  578. package/dist/components/TextButton/index.d.ts.map +1 -0
  579. package/dist/components/TextButton/index.js +8 -0
  580. package/dist/components/TextButton/index.js.map +1 -0
  581. package/dist/components/index.d.ts +49 -0
  582. package/dist/components/index.d.ts.map +1 -0
  583. package/dist/components/index.js +81 -0
  584. package/dist/components/index.js.map +1 -0
  585. package/dist/components/temp-components/Blockies/Blockies.d.ts +4 -0
  586. package/dist/components/temp-components/Blockies/Blockies.d.ts.map +1 -0
  587. package/dist/components/temp-components/Blockies/Blockies.js +14 -0
  588. package/dist/components/temp-components/Blockies/Blockies.js.map +1 -0
  589. package/dist/components/temp-components/Blockies/Blockies.types.d.ts +15 -0
  590. package/dist/components/temp-components/Blockies/Blockies.types.d.ts.map +1 -0
  591. package/dist/components/temp-components/Blockies/Blockies.types.js +3 -0
  592. package/dist/components/temp-components/Blockies/Blockies.types.js.map +1 -0
  593. package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts +24 -0
  594. package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts.map +1 -0
  595. package/dist/components/temp-components/Blockies/Blockies.utilities.js +492 -0
  596. package/dist/components/temp-components/Blockies/Blockies.utilities.js.map +1 -0
  597. package/dist/components/temp-components/Blockies/index.d.ts +3 -0
  598. package/dist/components/temp-components/Blockies/index.d.ts.map +1 -0
  599. package/dist/components/temp-components/Blockies/index.js +6 -0
  600. package/dist/components/temp-components/Blockies/index.js.map +1 -0
  601. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts +4 -0
  602. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts.map +1 -0
  603. package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.js +3 -2
  604. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js.map +1 -0
  605. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts.map +1 -0
  606. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.js.map +1 -0
  607. package/dist/components/temp-components/ButtonAnimated/index.d.ts +3 -0
  608. package/dist/components/temp-components/ButtonAnimated/index.d.ts.map +1 -0
  609. package/dist/components/temp-components/ButtonAnimated/index.js +6 -0
  610. package/dist/components/temp-components/ButtonAnimated/index.js.map +1 -0
  611. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts +4 -0
  612. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts.map +1 -0
  613. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js +74 -0
  614. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js.map +1 -0
  615. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts +64 -0
  616. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts.map +1 -0
  617. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js +3 -0
  618. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js.map +1 -0
  619. package/dist/components/temp-components/ImageOrSvg/index.d.ts +3 -0
  620. package/dist/components/temp-components/ImageOrSvg/index.d.ts.map +1 -0
  621. package/dist/components/temp-components/ImageOrSvg/index.js +6 -0
  622. package/dist/components/temp-components/ImageOrSvg/index.js.map +1 -0
  623. package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts +4 -0
  624. package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts.map +1 -0
  625. package/dist/components/temp-components/Jazzicon/Jazzicon.js +14 -0
  626. package/dist/components/temp-components/Jazzicon/Jazzicon.js.map +1 -0
  627. package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts +11 -0
  628. package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts.map +1 -0
  629. package/dist/components/temp-components/Jazzicon/Jazzicon.types.js +3 -0
  630. package/dist/components/temp-components/Jazzicon/Jazzicon.types.js.map +1 -0
  631. package/dist/components/temp-components/Jazzicon/index.d.ts +3 -0
  632. package/dist/components/temp-components/Jazzicon/index.d.ts.map +1 -0
  633. package/dist/components/temp-components/Jazzicon/index.js +6 -0
  634. package/dist/components/temp-components/Jazzicon/index.js.map +1 -0
  635. package/dist/components/temp-components/Maskicon/Maskicon.d.ts +4 -0
  636. package/dist/components/temp-components/Maskicon/Maskicon.d.ts.map +1 -0
  637. package/dist/components/temp-components/Maskicon/Maskicon.js +52 -0
  638. package/dist/components/temp-components/Maskicon/Maskicon.js.map +1 -0
  639. package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts +15 -0
  640. package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts.map +1 -0
  641. package/dist/components/temp-components/Maskicon/Maskicon.types.js +3 -0
  642. package/dist/components/temp-components/Maskicon/Maskicon.types.js.map +1 -0
  643. package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts +57 -0
  644. package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts.map +1 -0
  645. package/dist/components/temp-components/Maskicon/Maskicon.utilities.js +282 -0
  646. package/dist/components/temp-components/Maskicon/Maskicon.utilities.js.map +1 -0
  647. package/dist/components/temp-components/Maskicon/index.d.ts +3 -0
  648. package/dist/components/temp-components/Maskicon/index.d.ts.map +1 -0
  649. package/dist/components/temp-components/Maskicon/index.js +6 -0
  650. package/dist/components/temp-components/Maskicon/index.js.map +1 -0
  651. package/dist/components/temp-components/Spinner/Spinner.d.ts +4 -0
  652. package/dist/components/temp-components/Spinner/Spinner.d.ts.map +1 -0
  653. package/dist/{temp-components → components/temp-components}/Spinner/Spinner.js +13 -13
  654. package/dist/components/temp-components/Spinner/Spinner.js.map +1 -0
  655. package/dist/{temp-components → components/temp-components}/Spinner/Spinner.types.d.ts +3 -2
  656. package/dist/components/temp-components/Spinner/Spinner.types.d.ts.map +1 -0
  657. package/dist/components/temp-components/Spinner/Spinner.types.js.map +1 -0
  658. package/dist/components/temp-components/Spinner/index.d.ts +3 -0
  659. package/dist/components/temp-components/Spinner/index.d.ts.map +1 -0
  660. package/dist/components/temp-components/Spinner/index.js +6 -0
  661. package/dist/components/temp-components/Spinner/index.js.map +1 -0
  662. package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts +4 -0
  663. package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts.map +1 -0
  664. package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.js +5 -4
  665. package/dist/components/temp-components/TextOrChildren/TextOrChildren.js.map +1 -0
  666. package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.types.d.ts +2 -1
  667. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts.map +1 -0
  668. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.js.map +1 -0
  669. package/dist/components/temp-components/TextOrChildren/index.d.ts +3 -0
  670. package/dist/components/temp-components/TextOrChildren/index.d.ts.map +1 -0
  671. package/dist/components/temp-components/TextOrChildren/index.js +6 -0
  672. package/dist/components/temp-components/TextOrChildren/index.js.map +1 -0
  673. package/dist/index.d.ts +1 -9
  674. package/dist/index.d.ts.map +1 -1
  675. package/dist/index.js +14 -11
  676. package/dist/index.js.map +1 -1
  677. package/dist/types/index.d.ts +618 -0
  678. package/dist/types/index.d.ts.map +1 -0
  679. package/dist/types/index.js +629 -0
  680. package/dist/types/index.js.map +1 -0
  681. package/package.json +10 -3
  682. package/dist/components/Icon/Icon.constants.d.ts +0 -8
  683. package/dist/components/Icon/Icon.constants.d.ts.map +0 -1
  684. package/dist/components/Icon/Icon.constants.js +0 -22
  685. package/dist/components/Icon/Icon.constants.js.map +0 -1
  686. package/dist/primitives/ButtonAnimated/ButtonAnimated.d.ts +0 -5
  687. package/dist/primitives/ButtonAnimated/ButtonAnimated.d.ts.map +0 -1
  688. package/dist/primitives/ButtonAnimated/ButtonAnimated.js.map +0 -1
  689. package/dist/primitives/ButtonAnimated/ButtonAnimated.types.d.ts.map +0 -1
  690. package/dist/primitives/ButtonAnimated/ButtonAnimated.types.js.map +0 -1
  691. package/dist/primitives/ButtonAnimated/index.d.ts +0 -2
  692. package/dist/primitives/ButtonAnimated/index.d.ts.map +0 -1
  693. package/dist/primitives/ButtonAnimated/index.js +0 -9
  694. package/dist/primitives/ButtonAnimated/index.js.map +0 -1
  695. package/dist/primitives/TextOrChildren/TextOrChildren.d.ts +0 -5
  696. package/dist/primitives/TextOrChildren/TextOrChildren.d.ts.map +0 -1
  697. package/dist/primitives/TextOrChildren/TextOrChildren.js.map +0 -1
  698. package/dist/primitives/TextOrChildren/TextOrChildren.types.d.ts.map +0 -1
  699. package/dist/primitives/TextOrChildren/TextOrChildren.types.js.map +0 -1
  700. package/dist/temp-components/Spinner/Spinner.constants.d.ts +0 -3
  701. package/dist/temp-components/Spinner/Spinner.constants.d.ts.map +0 -1
  702. package/dist/temp-components/Spinner/Spinner.constants.js +0 -21
  703. package/dist/temp-components/Spinner/Spinner.constants.js.map +0 -1
  704. package/dist/temp-components/Spinner/Spinner.d.ts +0 -5
  705. package/dist/temp-components/Spinner/Spinner.d.ts.map +0 -1
  706. package/dist/temp-components/Spinner/Spinner.js.map +0 -1
  707. package/dist/temp-components/Spinner/Spinner.types.d.ts.map +0 -1
  708. package/dist/temp-components/Spinner/Spinner.types.js.map +0 -1
  709. package/dist/temp-components/Spinner/index.d.ts +0 -3
  710. package/dist/temp-components/Spinner/index.d.ts.map +0 -1
  711. package/dist/temp-components/Spinner/index.js +0 -9
  712. package/dist/temp-components/Spinner/index.js.map +0 -1
  713. /package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.types.d.ts +0 -0
  714. /package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.types.js +0 -0
  715. /package/dist/{temp-components → components/temp-components}/Spinner/Spinner.types.js +0 -0
  716. /package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.types.js +0 -0
@@ -0,0 +1,102 @@
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.ButtonSecondary = void 0;
27
+ const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
28
+ const react_1 = __importStar(require("react"));
29
+ const ButtonBase_1 = require("../../../ButtonBase");
30
+ const Icon_1 = require("../../../Icon");
31
+ const Text_1 = require("../../../Text");
32
+ const ButtonSecondary = ({ children, textProps, spinnerProps, startIconProps, endIconProps, isDanger = false, isInverse = false, isLoading = false, onPressIn, onPressOut, twClassName = '', style, ...props }) => {
33
+ const [isPressed, setIsPressed] = (0, react_1.useState)(false);
34
+ const tw = (0, design_system_twrnc_preset_1.useTailwind)();
35
+ const twContainerClassNames = `
36
+ ${isInverse && isDanger
37
+ ? isPressed || isLoading
38
+ ? 'bg-background-default-pressed'
39
+ : 'bg-background-default'
40
+ : isDanger
41
+ ? isPressed || isLoading
42
+ ? 'bg-error-muted-pressed'
43
+ : 'bg-transparent'
44
+ : isPressed || isLoading
45
+ ? 'bg-background-pressed'
46
+ : 'bg-transparent'}
47
+ border-[1.5px]
48
+ ${isInverse && isDanger
49
+ ? isPressed || isLoading
50
+ ? 'border-background-default-pressed'
51
+ : 'border-background-default'
52
+ : isDanger
53
+ ? isPressed || isLoading
54
+ ? 'border-error-default-pressed'
55
+ : 'border-error-default'
56
+ : isInverse
57
+ ? 'border-primary-inverse'
58
+ : 'border-icon-default'}
59
+ ${twClassName}
60
+ `;
61
+ const twTextClassNames = isDanger
62
+ ? isPressed || isLoading
63
+ ? 'text-error-default-pressed'
64
+ : 'text-error-default'
65
+ : isInverse
66
+ ? 'text-primary-inverse'
67
+ : 'text-text-default';
68
+ const onPressInHandler = (event) => {
69
+ setIsPressed(true);
70
+ onPressIn?.(event);
71
+ };
72
+ const onPressOutHandler = (event) => {
73
+ setIsPressed(false);
74
+ onPressOut?.(event);
75
+ };
76
+ return (<ButtonBase_1.ButtonBase textProps={{
77
+ variant: Text_1.TextVariant.BodyMd,
78
+ fontWeight: Text_1.FontWeight.Medium,
79
+ numberOfLines: 1,
80
+ ellipsizeMode: 'clip',
81
+ ...textProps,
82
+ twClassName: `${twTextClassNames} ${textProps?.twClassName ?? ''}`,
83
+ }} spinnerProps={{
84
+ color: twTextClassNames,
85
+ loadingTextProps: {
86
+ twClassName: twTextClassNames,
87
+ },
88
+ ...spinnerProps,
89
+ }} startIconProps={{
90
+ size: Icon_1.IconSize.Sm,
91
+ ...startIconProps,
92
+ twClassName: `${twTextClassNames} ${startIconProps?.twClassName ?? ''}`,
93
+ }} endIconProps={{
94
+ size: Icon_1.IconSize.Sm,
95
+ ...endIconProps,
96
+ twClassName: `${twTextClassNames} ${endIconProps?.twClassName ?? ''}`,
97
+ }} isLoading={isLoading} onPressIn={onPressInHandler} onPressOut={onPressOutHandler} style={[tw `${twContainerClassNames}`, style]} {...props}>
98
+ {children}
99
+ </ButtonBase_1.ButtonBase>);
100
+ };
101
+ exports.ButtonSecondary = ButtonSecondary;
102
+ //# sourceMappingURL=ButtonSecondary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonSecondary.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.tsx"],"names":[],"mappings":"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","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useState } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\n\nimport { ButtonBase } from '../../../ButtonBase';\nimport type { IconColor } from '../../../Icon';\nimport { IconSize } from '../../../Icon';\nimport { TextVariant, FontWeight } from '../../../Text';\n\nimport type { ButtonSecondaryProps } from './ButtonSecondary.types';\n\nexport const ButtonSecondary = ({\n children,\n textProps,\n spinnerProps,\n startIconProps,\n endIconProps,\n isDanger = false,\n isInverse = false,\n isLoading = false,\n onPressIn,\n onPressOut,\n twClassName = '',\n style,\n ...props\n}: ButtonSecondaryProps) => {\n const [isPressed, setIsPressed] = useState(false);\n const tw = useTailwind();\n const twContainerClassNames = `\n ${\n isInverse && isDanger\n ? isPressed || isLoading\n ? 'bg-background-default-pressed'\n : 'bg-background-default'\n : isDanger\n ? isPressed || isLoading\n ? 'bg-error-muted-pressed'\n : 'bg-transparent'\n : isPressed || isLoading\n ? 'bg-background-pressed'\n : 'bg-transparent'\n }\n border-[1.5px]\n ${\n isInverse && isDanger\n ? isPressed || isLoading\n ? 'border-background-default-pressed'\n : 'border-background-default'\n : isDanger\n ? isPressed || isLoading\n ? 'border-error-default-pressed'\n : 'border-error-default'\n : isInverse\n ? 'border-primary-inverse'\n : 'border-icon-default'\n }\n ${twClassName}\n `;\n\n const twTextClassNames = isDanger\n ? isPressed || isLoading\n ? 'text-error-default-pressed'\n : 'text-error-default'\n : isInverse\n ? 'text-primary-inverse'\n : 'text-text-default';\n\n const onPressInHandler = (event: GestureResponderEvent) => {\n setIsPressed(true);\n onPressIn?.(event);\n };\n\n const onPressOutHandler = (event: GestureResponderEvent) => {\n setIsPressed(false);\n onPressOut?.(event);\n };\n\n return (\n <ButtonBase\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Medium,\n numberOfLines: 1,\n ellipsizeMode: 'clip',\n ...textProps,\n twClassName: `${twTextClassNames} ${textProps?.twClassName ?? ''}`,\n }}\n spinnerProps={{\n color: twTextClassNames as IconColor,\n loadingTextProps: {\n twClassName: twTextClassNames,\n },\n ...spinnerProps,\n }}\n startIconProps={{\n size: IconSize.Sm,\n ...startIconProps,\n twClassName: `${twTextClassNames} ${startIconProps?.twClassName ?? ''}`,\n }}\n endIconProps={{\n size: IconSize.Sm,\n ...endIconProps,\n twClassName: `${twTextClassNames} ${endIconProps?.twClassName ?? ''}`,\n }}\n isLoading={isLoading}\n onPressIn={onPressInHandler}\n onPressOut={onPressOutHandler}\n style={[tw`${twContainerClassNames}`, style]}\n {...props}\n >\n {children}\n </ButtonBase>\n );\n};\n"]}
@@ -0,0 +1,19 @@
1
+ import type { ButtonBaseProps } from '../../../ButtonBase';
2
+ /**
3
+ * ButtonSecondary component props.
4
+ */
5
+ export type ButtonSecondaryProps = {
6
+ /**
7
+ * Optional prop to show the danger state of the button.
8
+ *
9
+ * @default false
10
+ */
11
+ isDanger?: boolean;
12
+ /**
13
+ * Optional prop to show the inverse state of the button, which is reserved for buttons on colored backgrounds.
14
+ *
15
+ * @default false
16
+ */
17
+ isInverse?: boolean;
18
+ } & ButtonBaseProps;
19
+ //# sourceMappingURL=ButtonSecondary.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonSecondary.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ButtonSecondary.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonSecondary.types.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/ButtonSecondary.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonBaseProps } from '../../../ButtonBase';\n\n/**\n * ButtonSecondary component props.\n */\nexport type ButtonSecondaryProps = {\n /**\n * Optional prop to show the danger state of the button.\n *\n * @default false\n */\n isDanger?: boolean;\n /**\n * Optional prop to show the inverse state of the button, which is reserved for buttons on colored backgrounds.\n *\n * @default false\n */\n isInverse?: boolean;\n} & ButtonBaseProps;\n"]}
@@ -0,0 +1,4 @@
1
+ export { ButtonSecondarySize } from '../../../../types';
2
+ export { ButtonSecondary } from './ButtonSecondary';
3
+ export type { ButtonSecondaryProps } from './ButtonSecondary.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ButtonSecondary = exports.ButtonSecondarySize = void 0;
4
+ var types_1 = require("../../../../types");
5
+ Object.defineProperty(exports, "ButtonSecondarySize", { enumerable: true, get: function () { return types_1.ButtonSecondarySize; } });
6
+ var ButtonSecondary_1 = require("./ButtonSecondary");
7
+ Object.defineProperty(exports, "ButtonSecondary", { enumerable: true, get: function () { return ButtonSecondary_1.ButtonSecondary; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonSecondary/index.ts"],"names":[],"mappings":";;;AAAA,2CAAwD;AAA/C,4GAAA,mBAAmB,OAAA;AAC5B,qDAAoD;AAA3C,kHAAA,eAAe,OAAA","sourcesContent":["export { ButtonSecondarySize } from '../../../../types';\nexport { ButtonSecondary } from './ButtonSecondary';\nexport type { ButtonSecondaryProps } from './ButtonSecondary.types';\n"]}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ButtonTertiaryProps } from './ButtonTertiary.types';
3
+ export declare const ButtonTertiary: ({ children, textProps, spinnerProps, startIconProps, endIconProps, isDanger, isInverse, isLoading, onPressIn, onPressOut, twClassName, style, ...props }: ButtonTertiaryProps) => React.JSX.Element;
4
+ //# sourceMappingURL=ButtonTertiary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonTertiary.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,eAAO,MAAM,cAAc,6JAcxB,mBAAmB,sBA+FrB,CAAC"}
@@ -0,0 +1,109 @@
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.ButtonTertiary = void 0;
27
+ const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
28
+ const react_1 = __importStar(require("react"));
29
+ const ButtonBase_1 = require("../../../ButtonBase");
30
+ const Icon_1 = require("../../../Icon");
31
+ const Text_1 = require("../../../Text");
32
+ const ButtonTertiary = ({ children, textProps, spinnerProps, startIconProps, endIconProps, isDanger = false, isInverse = false, isLoading = false, onPressIn, onPressOut, twClassName = '', style, ...props }) => {
33
+ const [isPressed, setIsPressed] = (0, react_1.useState)(false);
34
+ const tw = (0, design_system_twrnc_preset_1.useTailwind)();
35
+ const twContainerClassNames = `
36
+ ${isInverse && isDanger
37
+ ? isPressed || isLoading
38
+ ? 'bg-background-default-pressed'
39
+ : 'bg-background-default'
40
+ : isDanger
41
+ ? isPressed || isLoading
42
+ ? 'bg-error-muted-pressed'
43
+ : 'bg-transparent'
44
+ : isInverse
45
+ ? isPressed || isLoading
46
+ ? 'bg-background-pressed'
47
+ : 'bg-transparent'
48
+ : isPressed || isLoading
49
+ ? 'bg-background-pressed'
50
+ : 'bg-transparent'}
51
+ ${isInverse && !isDanger ? 'border-[1.5px]' : 'border-0'}
52
+ ${isInverse && isDanger
53
+ ? isPressed || isLoading
54
+ ? 'border-background-default-pressed'
55
+ : 'border-background-default'
56
+ : isDanger
57
+ ? isPressed || isLoading
58
+ ? 'border-error-muted-pressed'
59
+ : 'border-transparent'
60
+ : isInverse
61
+ ? 'border-primary-inverse'
62
+ : isPressed || isLoading
63
+ ? 'border-background-pressed'
64
+ : 'border-transparent'}
65
+ `;
66
+ const twTextClassNames = isDanger
67
+ ? isPressed || isLoading
68
+ ? 'text-error-default-pressed'
69
+ : 'text-error-default'
70
+ : isInverse
71
+ ? 'text-primary-inverse'
72
+ : isPressed || isLoading
73
+ ? 'text-primary-default-pressed'
74
+ : 'text-primary-default';
75
+ const onPressInHandler = (event) => {
76
+ setIsPressed(true);
77
+ onPressIn?.(event);
78
+ };
79
+ const onPressOutHandler = (event) => {
80
+ setIsPressed(false);
81
+ onPressOut?.(event);
82
+ };
83
+ return (<ButtonBase_1.ButtonBase textProps={{
84
+ variant: Text_1.TextVariant.BodyMd,
85
+ fontWeight: Text_1.FontWeight.Medium,
86
+ numberOfLines: 1,
87
+ ellipsizeMode: 'clip',
88
+ ...textProps,
89
+ twClassName: `${twTextClassNames} ${textProps?.twClassName ?? ''}`,
90
+ }} spinnerProps={{
91
+ color: twTextClassNames,
92
+ loadingTextProps: {
93
+ twClassName: twTextClassNames,
94
+ },
95
+ ...spinnerProps,
96
+ }} startIconProps={{
97
+ size: Icon_1.IconSize.Sm,
98
+ ...startIconProps,
99
+ twClassName: `${twTextClassNames} ${startIconProps?.twClassName ?? ''}`,
100
+ }} endIconProps={{
101
+ size: Icon_1.IconSize.Sm,
102
+ ...endIconProps,
103
+ twClassName: `${twTextClassNames} ${endIconProps?.twClassName ?? ''}`,
104
+ }} isLoading={isLoading} onPressIn={onPressInHandler} onPressOut={onPressOutHandler} style={[tw `${twContainerClassNames}`, style]} {...props}>
105
+ {children}
106
+ </ButtonBase_1.ButtonBase>);
107
+ };
108
+ exports.ButtonTertiary = ButtonTertiary;
109
+ //# sourceMappingURL=ButtonTertiary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonTertiary.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.tsx"],"names":[],"mappings":"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","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useState } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\n\nimport { ButtonBase } from '../../../ButtonBase';\nimport type { IconColor } from '../../../Icon';\nimport { IconSize } from '../../../Icon';\nimport { TextVariant, FontWeight } from '../../../Text';\n\nimport type { ButtonTertiaryProps } from './ButtonTertiary.types';\n\nexport const ButtonTertiary = ({\n children,\n textProps,\n spinnerProps,\n startIconProps,\n endIconProps,\n isDanger = false,\n isInverse = false,\n isLoading = false,\n onPressIn,\n onPressOut,\n twClassName = '',\n style,\n ...props\n}: ButtonTertiaryProps) => {\n const [isPressed, setIsPressed] = useState(false);\n const tw = useTailwind();\n const twContainerClassNames = `\n ${\n isInverse && isDanger\n ? isPressed || isLoading\n ? 'bg-background-default-pressed'\n : 'bg-background-default'\n : isDanger\n ? isPressed || isLoading\n ? 'bg-error-muted-pressed'\n : 'bg-transparent'\n : isInverse\n ? isPressed || isLoading\n ? 'bg-background-pressed'\n : 'bg-transparent'\n : isPressed || isLoading\n ? 'bg-background-pressed'\n : 'bg-transparent'\n }\n ${isInverse && !isDanger ? 'border-[1.5px]' : 'border-0'}\n ${\n isInverse && isDanger\n ? isPressed || isLoading\n ? 'border-background-default-pressed'\n : 'border-background-default'\n : isDanger\n ? isPressed || isLoading\n ? 'border-error-muted-pressed'\n : 'border-transparent'\n : isInverse\n ? 'border-primary-inverse'\n : isPressed || isLoading\n ? 'border-background-pressed'\n : 'border-transparent'\n }\n `;\n\n const twTextClassNames = isDanger\n ? isPressed || isLoading\n ? 'text-error-default-pressed'\n : 'text-error-default'\n : isInverse\n ? 'text-primary-inverse'\n : isPressed || isLoading\n ? 'text-primary-default-pressed'\n : 'text-primary-default';\n\n const onPressInHandler = (event: GestureResponderEvent) => {\n setIsPressed(true);\n onPressIn?.(event);\n };\n\n const onPressOutHandler = (event: GestureResponderEvent) => {\n setIsPressed(false);\n onPressOut?.(event);\n };\n\n return (\n <ButtonBase\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Medium,\n numberOfLines: 1,\n ellipsizeMode: 'clip',\n ...textProps,\n twClassName: `${twTextClassNames} ${textProps?.twClassName ?? ''}`,\n }}\n spinnerProps={{\n color: twTextClassNames as IconColor,\n loadingTextProps: {\n twClassName: twTextClassNames,\n },\n ...spinnerProps,\n }}\n startIconProps={{\n size: IconSize.Sm,\n ...startIconProps,\n twClassName: `${twTextClassNames} ${startIconProps?.twClassName ?? ''}`,\n }}\n endIconProps={{\n size: IconSize.Sm,\n ...endIconProps,\n twClassName: `${twTextClassNames} ${endIconProps?.twClassName ?? ''}`,\n }}\n isLoading={isLoading}\n onPressIn={onPressInHandler}\n onPressOut={onPressOutHandler}\n style={[tw`${twContainerClassNames}`, style]}\n {...props}\n >\n {children}\n </ButtonBase>\n );\n};\n"]}
@@ -0,0 +1,19 @@
1
+ import type { ButtonBaseProps } from '../../../ButtonBase';
2
+ /**
3
+ * ButtonTertiary component props.
4
+ */
5
+ export type ButtonTertiaryProps = {
6
+ /**
7
+ * Optional prop to show the danger state of the button.
8
+ *
9
+ * @default false
10
+ */
11
+ isDanger?: boolean;
12
+ /**
13
+ * Optional prop to show the inverse state of the button, which is reserved for buttons on colored backgrounds.
14
+ *
15
+ * @default false
16
+ */
17
+ isInverse?: boolean;
18
+ } & ButtonBaseProps;
19
+ //# sourceMappingURL=ButtonTertiary.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonTertiary.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ButtonTertiary.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonTertiary.types.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/ButtonTertiary.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonBaseProps } from '../../../ButtonBase';\n\n/**\n * ButtonTertiary component props.\n */\nexport type ButtonTertiaryProps = {\n /**\n * Optional prop to show the danger state of the button.\n *\n * @default false\n */\n isDanger?: boolean;\n /**\n * Optional prop to show the inverse state of the button, which is reserved for buttons on colored backgrounds.\n *\n * @default false\n */\n isInverse?: boolean;\n} & ButtonBaseProps;\n"]}
@@ -0,0 +1,4 @@
1
+ export { ButtonTertiarySize } from '../../../../types';
2
+ export { ButtonTertiary } from './ButtonTertiary';
3
+ export type { ButtonTertiaryProps } from './ButtonTertiary.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ButtonTertiary = exports.ButtonTertiarySize = void 0;
4
+ var types_1 = require("../../../../types");
5
+ Object.defineProperty(exports, "ButtonTertiarySize", { enumerable: true, get: function () { return types_1.ButtonTertiarySize; } });
6
+ var ButtonTertiary_1 = require("./ButtonTertiary");
7
+ Object.defineProperty(exports, "ButtonTertiary", { enumerable: true, get: function () { return ButtonTertiary_1.ButtonTertiary; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Button/variants/ButtonTertiary/index.ts"],"names":[],"mappings":";;;AAAA,2CAAuD;AAA9C,2GAAA,kBAAkB,OAAA;AAC3B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["export { ButtonTertiarySize } from '../../../../types';\nexport { ButtonTertiary } from './ButtonTertiary';\nexport type { ButtonTertiaryProps } from './ButtonTertiary.types';\n"]}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ButtonBaseProps } from './ButtonBase.types';
3
+ export declare const ButtonBase: ({ children, textProps, size, isLoading, loadingText, spinnerProps, startIconName, startIconProps, startAccessory, endIconName, endIconProps, endAccessory, isDisabled, isFullWidth, twClassName, style, ...props }: ButtonBaseProps) => React.JSX.Element;
4
+ //# sourceMappingURL=ButtonBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonBase.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,uNAkBpB,eAAe,sBA0EjB,CAAC"}
@@ -0,0 +1,48 @@
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.ButtonBase = void 0;
7
+ const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
8
+ const react_1 = __importDefault(require("react"));
9
+ const react_native_1 = require("react-native");
10
+ const types_1 = require("../../types");
11
+ const Icon_1 = require("../Icon");
12
+ const Icon_2 = require("../Icon");
13
+ const ButtonAnimated_1 = require("../temp-components/ButtonAnimated");
14
+ const Spinner_1 = require("../temp-components/Spinner");
15
+ const TextOrChildren_1 = require("../temp-components/TextOrChildren/TextOrChildren");
16
+ const Text_1 = require("../Text");
17
+ const ButtonBase = ({ children, textProps, size = types_1.ButtonBaseSize.Lg, isLoading, loadingText, spinnerProps, startIconName, startIconProps, startAccessory, endIconName, endIconProps, endAccessory, isDisabled, isFullWidth, twClassName = '', style, ...props }) => {
18
+ const tw = (0, design_system_twrnc_preset_1.useTailwind)();
19
+ const twContainerClassNames = `
20
+ flex-row items-center justify-center rounded-full bg-background-muted px-4 min-w-[80px] overflow-hidden
21
+ h-[${size}px]
22
+ ${isDisabled ? 'opacity-50' : 'opacity-100'}
23
+ ${isFullWidth ? 'self-stretch' : 'self-start'}
24
+ ${twClassName}
25
+ `;
26
+ const finalStartIconName = startIconName ?? startIconProps?.name;
27
+ const finalEndIconName = endIconName ?? endIconProps?.name;
28
+ return (<ButtonAnimated_1.ButtonAnimated disabled={isDisabled || isLoading} accessibilityRole="button" accessible style={[tw `${twContainerClassNames}`, style]} {...props}>
29
+ <react_native_1.View style={tw `absolute inset-0 flex items-center justify-center ${isLoading ? 'opacity-100' : 'opacity-0'}`} testID="spinner-container">
30
+ <Spinner_1.Spinner color={Icon_2.IconColor.IconDefault} loadingText={loadingText} loadingTextProps={{ numberOfLines: 1 }} {...spinnerProps}/>
31
+ </react_native_1.View>
32
+ <react_native_1.View style={tw `flex-row items-center justify-center gap-x-2 ${isLoading ? 'opacity-0' : 'opacity-100'}`} testID="content-container">
33
+ {finalStartIconName ? (<Icon_1.Icon name={finalStartIconName} size={Icon_2.IconSize.Sm} twClassName="shrink-0" {...startIconProps}/>) : (startAccessory)}
34
+ <TextOrChildren_1.TextOrChildren textProps={{
35
+ variant: Text_1.TextVariant.BodyMd,
36
+ fontWeight: Text_1.FontWeight.Medium,
37
+ color: Text_1.TextColor.TextDefault,
38
+ twClassName: 'shrink grow-0 flex-wrap text-center',
39
+ ...textProps,
40
+ }}>
41
+ {children}
42
+ </TextOrChildren_1.TextOrChildren>
43
+ {finalEndIconName ? (<Icon_1.Icon name={finalEndIconName} size={Icon_2.IconSize.Sm} twClassName="shrink-0" {...endIconProps}/>) : (endAccessory)}
44
+ </react_native_1.View>
45
+ </ButtonAnimated_1.ButtonAnimated>);
46
+ };
47
+ exports.ButtonBase = ButtonBase;
48
+ //# sourceMappingURL=ButtonBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonBase.js","sourceRoot":"","sources":["../../../src/components/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":"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","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { ButtonBaseSize } from '../../types';\nimport { Icon } from '../Icon';\nimport { IconColor, IconSize } from '../Icon';\nimport { ButtonAnimated } from '../temp-components/ButtonAnimated';\nimport { Spinner } from '../temp-components/Spinner';\nimport { TextOrChildren } from '../temp-components/TextOrChildren/TextOrChildren';\nimport { TextVariant, FontWeight, TextColor } from '../Text';\n\nimport type { ButtonBaseProps } from './ButtonBase.types';\n\nexport const ButtonBase = ({\n children,\n textProps,\n size = ButtonBaseSize.Lg,\n isLoading,\n loadingText,\n spinnerProps,\n startIconName,\n startIconProps,\n startAccessory,\n endIconName,\n endIconProps,\n endAccessory,\n isDisabled,\n isFullWidth,\n twClassName = '',\n style,\n ...props\n}: ButtonBaseProps) => {\n const tw = useTailwind();\n const twContainerClassNames = `\n flex-row items-center justify-center rounded-full bg-background-muted px-4 min-w-[80px] overflow-hidden\n h-[${size}px]\n ${isDisabled ? 'opacity-50' : 'opacity-100'}\n ${isFullWidth ? 'self-stretch' : 'self-start'}\n ${twClassName}\n `;\n\n const finalStartIconName = startIconName ?? startIconProps?.name;\n const finalEndIconName = endIconName ?? endIconProps?.name;\n\n return (\n <ButtonAnimated\n disabled={isDisabled || isLoading}\n accessibilityRole=\"button\"\n accessible\n style={[tw`${twContainerClassNames}`, style]}\n {...props}\n >\n <View\n style={tw`absolute inset-0 flex items-center justify-center ${\n isLoading ? 'opacity-100' : 'opacity-0'\n }`}\n testID=\"spinner-container\"\n >\n <Spinner\n color={IconColor.IconDefault}\n loadingText={loadingText}\n loadingTextProps={{ numberOfLines: 1 }}\n {...spinnerProps}\n />\n </View>\n <View\n style={tw`flex-row items-center justify-center gap-x-2 ${\n isLoading ? 'opacity-0' : 'opacity-100'\n }`}\n testID=\"content-container\"\n >\n {finalStartIconName ? (\n <Icon\n name={finalStartIconName}\n size={IconSize.Sm}\n twClassName=\"shrink-0\"\n {...startIconProps}\n />\n ) : (\n startAccessory\n )}\n <TextOrChildren\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Medium,\n color: TextColor.TextDefault,\n twClassName: 'shrink grow-0 flex-wrap text-center',\n ...textProps,\n }}\n >\n {children}\n </TextOrChildren>\n {finalEndIconName ? (\n <Icon\n name={finalEndIconName}\n size={IconSize.Sm}\n twClassName=\"shrink-0\"\n {...endIconProps}\n />\n ) : (\n endAccessory\n )}\n </View>\n </ButtonAnimated>\n );\n};\n"]}
@@ -0,0 +1,85 @@
1
+ /// <reference types="react" />
2
+ import type { PressableProps, StyleProp, ViewStyle } from 'react-native';
3
+ import type { ButtonBaseSize } from '../../types';
4
+ import type { IconProps, IconName } from '../Icon';
5
+ import type { SpinnerProps } from '../temp-components/Spinner';
6
+ import type { TextProps } from '../Text';
7
+ /**
8
+ * ButtonBase component props.
9
+ */
10
+ export type ButtonBaseProps = {
11
+ /**
12
+ * Required prop for the content to be rendered within the ButtonBase
13
+ */
14
+ children: React.ReactNode | string;
15
+ /**
16
+ * Optional props to be passed to the Text component when children is a string
17
+ */
18
+ textProps?: Omit<Partial<TextProps>, 'children'>;
19
+ /**
20
+ * Optional prop to control the size of the ButtonBase
21
+ * Possible values: ButtonBaseSize.Sm (32px), ButtonBaseSize.Md (40px), ButtonBaseSize.Lg (48px)
22
+ *
23
+ * @default ButtonBaseSize.Lg
24
+ */
25
+ size?: ButtonBaseSize;
26
+ /**
27
+ * Optional prop that when true, shows a loading spinner
28
+ *
29
+ * @default false
30
+ */
31
+ isLoading?: boolean;
32
+ /**
33
+ * Optional prop for text to display when button is in loading state
34
+ */
35
+ loadingText?: string;
36
+ /**
37
+ * Optional prop to pass additional properties to the end icon
38
+ */
39
+ spinnerProps?: Partial<SpinnerProps>;
40
+ /**
41
+ * Optional prop to specify an icon to show at the start of the button
42
+ */
43
+ startIconName?: IconName;
44
+ /**
45
+ * Optional prop to pass additional properties to the start icon
46
+ */
47
+ startIconProps?: Partial<IconProps>;
48
+ /**
49
+ * Optional prop for a custom element to show at the start of the button
50
+ */
51
+ startAccessory?: React.ReactNode;
52
+ /**
53
+ * Optional prop to specify an icon to show at the end of the button
54
+ */
55
+ endIconName?: IconName;
56
+ /**
57
+ * Optional prop to pass additional properties to the end icon
58
+ */
59
+ endIconProps?: Partial<IconProps>;
60
+ /**
61
+ * Optional prop for a custom element to show at the end of the button
62
+ */
63
+ endAccessory?: React.ReactNode;
64
+ /**
65
+ * Optional prop that when true, disables the button
66
+ *
67
+ * @default false
68
+ */
69
+ isDisabled?: boolean;
70
+ /**
71
+ * Optional prop that when true, makes the button take up the full width of its container
72
+ *
73
+ * @default false
74
+ */
75
+ isFullWidth?: boolean;
76
+ /**
77
+ * Optional prop to add twrnc overriding classNames.
78
+ */
79
+ twClassName?: string;
80
+ /**
81
+ * Optional prop to control the style.
82
+ */
83
+ style?: StyleProp<ViewStyle>;
84
+ } & PressableProps;
85
+ //# sourceMappingURL=ButtonBase.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonBase.types.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonBase/ButtonBase.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IACjD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ButtonBase.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonBase.types.js","sourceRoot":"","sources":["../../../src/components/ButtonBase/ButtonBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { PressableProps, StyleProp, ViewStyle } from 'react-native';\n\nimport type { ButtonBaseSize } from '../../types';\nimport type { IconProps, IconName } from '../Icon';\nimport type { SpinnerProps } from '../temp-components/Spinner';\nimport type { TextProps } from '../Text';\n\n/**\n * ButtonBase component props.\n */\nexport type ButtonBaseProps = {\n /**\n * Required prop for the content to be rendered within the ButtonBase\n */\n children: React.ReactNode | string;\n /**\n * Optional props to be passed to the Text component when children is a string\n */\n textProps?: Omit<Partial<TextProps>, 'children'>;\n /**\n * Optional prop to control the size of the ButtonBase\n * Possible values: ButtonBaseSize.Sm (32px), ButtonBaseSize.Md (40px), ButtonBaseSize.Lg (48px)\n *\n * @default ButtonBaseSize.Lg\n */\n size?: ButtonBaseSize;\n /**\n * Optional prop that when true, shows a loading spinner\n *\n * @default false\n */\n isLoading?: boolean;\n /**\n * Optional prop for text to display when button is in loading state\n */\n loadingText?: string;\n /**\n * Optional prop to pass additional properties to the end icon\n */\n spinnerProps?: Partial<SpinnerProps>;\n /**\n * Optional prop to specify an icon to show at the start of the button\n */\n startIconName?: IconName;\n /**\n * Optional prop to pass additional properties to the start icon\n */\n startIconProps?: Partial<IconProps>;\n /**\n * Optional prop for a custom element to show at the start of the button\n */\n startAccessory?: React.ReactNode;\n /**\n * Optional prop to specify an icon to show at the end of the button\n */\n endIconName?: IconName;\n /**\n * Optional prop to pass additional properties to the end icon\n */\n endIconProps?: Partial<IconProps>;\n /**\n * Optional prop for a custom element to show at the end of the button\n */\n endAccessory?: React.ReactNode;\n /**\n * Optional prop that when true, disables the button\n *\n * @default false\n */\n isDisabled?: boolean;\n /**\n * Optional prop that when true, makes the button take up the full width of its container\n *\n * @default false\n */\n isFullWidth?: boolean;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n /**\n * Optional prop to control the style.\n */\n style?: StyleProp<ViewStyle>;\n} & PressableProps;\n"]}
@@ -0,0 +1,4 @@
1
+ export { ButtonBaseSize } from '../../types';
2
+ export { ButtonBase } from './ButtonBase';
3
+ export type { ButtonBaseProps } from './ButtonBase.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ButtonBase = exports.ButtonBaseSize = void 0;
4
+ var types_1 = require("../../types");
5
+ Object.defineProperty(exports, "ButtonBaseSize", { enumerable: true, get: function () { return types_1.ButtonBaseSize; } });
6
+ var ButtonBase_1 = require("./ButtonBase");
7
+ Object.defineProperty(exports, "ButtonBase", { enumerable: true, get: function () { return ButtonBase_1.ButtonBase; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ButtonBase/index.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;AAApC,uGAAA,cAAc,OAAA;AACvB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { ButtonBaseSize } from '../../types';\nexport { ButtonBase } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase.types';\n"]}
@@ -0,0 +1,9 @@
1
+ import { ButtonIconSize } from '../../types';
2
+ import { IconSize } from '../Icon';
3
+ export declare const TWCLASSMAP_BUTTONICON_SIZE_DIMENSION: {
4
+ sm: string;
5
+ md: string;
6
+ lg: string;
7
+ };
8
+ export declare const MAP_BUTTONICON_SIZE_ICONSIZE: Record<ButtonIconSize, IconSize>;
9
+ //# sourceMappingURL=ButtonIcon.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonIcon.constants.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,eAAO,MAAM,oCAAoC;;;;CAIhD,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,cAAc,EAAE,QAAQ,CAIzE,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAP_BUTTONICON_SIZE_ICONSIZE = exports.TWCLASSMAP_BUTTONICON_SIZE_DIMENSION = void 0;
4
+ const types_1 = require("../../types");
5
+ const Icon_1 = require("../Icon");
6
+ // Mappings
7
+ exports.TWCLASSMAP_BUTTONICON_SIZE_DIMENSION = {
8
+ [types_1.ButtonIconSize.Sm]: 'h-6 w-6',
9
+ [types_1.ButtonIconSize.Md]: 'h-8 w-8',
10
+ [types_1.ButtonIconSize.Lg]: 'h-10 w-10',
11
+ };
12
+ exports.MAP_BUTTONICON_SIZE_ICONSIZE = {
13
+ [types_1.ButtonIconSize.Sm]: Icon_1.IconSize.Sm,
14
+ [types_1.ButtonIconSize.Md]: Icon_1.IconSize.Md,
15
+ [types_1.ButtonIconSize.Lg]: Icon_1.IconSize.Lg,
16
+ };
17
+ //# sourceMappingURL=ButtonIcon.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonIcon.constants.js","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.constants.ts"],"names":[],"mappings":";;;AAAA,uCAA6C;AAC7C,kCAAmC;AAEnC,WAAW;AACE,QAAA,oCAAoC,GAAG;IAClD,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,SAAS;IAC9B,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,SAAS;IAC9B,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,WAAW;CACjC,CAAC;AAEW,QAAA,4BAA4B,GAAqC;IAC5E,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;IAChC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;IAChC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;CACjC,CAAC","sourcesContent":["import { ButtonIconSize } from '../../types';\nimport { IconSize } from '../Icon';\n\n// Mappings\nexport const TWCLASSMAP_BUTTONICON_SIZE_DIMENSION = {\n [ButtonIconSize.Sm]: 'h-6 w-6',\n [ButtonIconSize.Md]: 'h-8 w-8',\n [ButtonIconSize.Lg]: 'h-10 w-10',\n};\n\nexport const MAP_BUTTONICON_SIZE_ICONSIZE: Record<ButtonIconSize, IconSize> = {\n [ButtonIconSize.Sm]: IconSize.Sm,\n [ButtonIconSize.Md]: IconSize.Md,\n [ButtonIconSize.Lg]: IconSize.Lg,\n};\n"]}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ButtonIconProps } from './ButtonIcon.types';
3
+ export declare const ButtonIcon: ({ size, iconName, iconProps, isDisabled, isInverse, isFloating, onPressIn, onPressOut, twClassName, style, ...props }: ButtonIconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=ButtonIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonIcon.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,0HAYpB,eAAe,sBA0CjB,CAAC"}