@metamask-previews/design-system-react-native 0.6.0-preview.3dc70e1 → 0.11.0-preview.23cc337

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 (794) hide show
  1. package/CHANGELOG.md +119 -1
  2. package/dist/components/ActionListItem/ActionListItem.cjs +86 -0
  3. package/dist/components/ActionListItem/ActionListItem.cjs.map +1 -0
  4. package/dist/components/ActionListItem/ActionListItem.d.cts +4 -0
  5. package/dist/components/ActionListItem/ActionListItem.d.cts.map +1 -0
  6. package/dist/components/ActionListItem/ActionListItem.d.mts +4 -0
  7. package/dist/components/ActionListItem/ActionListItem.d.mts.map +1 -0
  8. package/dist/components/ActionListItem/ActionListItem.mjs +66 -0
  9. package/dist/components/ActionListItem/ActionListItem.mjs.map +1 -0
  10. package/dist/components/ActionListItem/ActionListItem.types.cjs +3 -0
  11. package/dist/components/ActionListItem/ActionListItem.types.cjs.map +1 -0
  12. package/dist/components/ActionListItem/ActionListItem.types.d.cts +73 -0
  13. package/dist/components/ActionListItem/ActionListItem.types.d.cts.map +1 -0
  14. package/dist/components/ActionListItem/ActionListItem.types.d.mts +73 -0
  15. package/dist/components/ActionListItem/ActionListItem.types.d.mts.map +1 -0
  16. package/dist/components/ActionListItem/ActionListItem.types.mjs +2 -0
  17. package/dist/components/ActionListItem/ActionListItem.types.mjs.map +1 -0
  18. package/dist/components/ActionListItem/index.cjs +6 -0
  19. package/dist/components/ActionListItem/index.cjs.map +1 -0
  20. package/dist/components/ActionListItem/index.d.cts +3 -0
  21. package/dist/components/ActionListItem/index.d.cts.map +1 -0
  22. package/dist/components/ActionListItem/index.d.mts +3 -0
  23. package/dist/components/ActionListItem/index.d.mts.map +1 -0
  24. package/dist/components/ActionListItem/index.mjs +2 -0
  25. package/dist/components/ActionListItem/index.mjs.map +1 -0
  26. package/dist/components/AvatarNetwork/AvatarNetwork.types.cjs.map +1 -1
  27. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.cts +7 -9
  28. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.cts.map +1 -1
  29. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.mts +7 -9
  30. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.mts.map +1 -1
  31. package/dist/components/AvatarNetwork/AvatarNetwork.types.mjs.map +1 -1
  32. package/dist/components/BadgeCount/BadgeCount.cjs +3 -3
  33. package/dist/components/BadgeCount/BadgeCount.cjs.map +1 -1
  34. package/dist/components/BadgeCount/BadgeCount.constants.cjs +6 -10
  35. package/dist/components/BadgeCount/BadgeCount.constants.cjs.map +1 -1
  36. package/dist/components/BadgeCount/BadgeCount.constants.d.cts +1 -2
  37. package/dist/components/BadgeCount/BadgeCount.constants.d.cts.map +1 -1
  38. package/dist/components/BadgeCount/BadgeCount.constants.d.mts +1 -2
  39. package/dist/components/BadgeCount/BadgeCount.constants.d.mts.map +1 -1
  40. package/dist/components/BadgeCount/BadgeCount.constants.mjs +3 -7
  41. package/dist/components/BadgeCount/BadgeCount.constants.mjs.map +1 -1
  42. package/dist/components/BadgeCount/BadgeCount.d.cts.map +1 -1
  43. package/dist/components/BadgeCount/BadgeCount.d.mts.map +1 -1
  44. package/dist/components/BadgeCount/BadgeCount.mjs +3 -3
  45. package/dist/components/BadgeCount/BadgeCount.mjs.map +1 -1
  46. package/dist/components/BadgeCount/BadgeCount.types.cjs.map +1 -1
  47. package/dist/components/BadgeCount/BadgeCount.types.d.cts +5 -22
  48. package/dist/components/BadgeCount/BadgeCount.types.d.cts.map +1 -1
  49. package/dist/components/BadgeCount/BadgeCount.types.d.mts +5 -22
  50. package/dist/components/BadgeCount/BadgeCount.types.d.mts.map +1 -1
  51. package/dist/components/BadgeCount/BadgeCount.types.mjs.map +1 -1
  52. package/dist/components/BadgeCount/index.cjs +2 -2
  53. package/dist/components/BadgeCount/index.cjs.map +1 -1
  54. package/dist/components/BadgeCount/index.d.cts +1 -1
  55. package/dist/components/BadgeCount/index.d.cts.map +1 -1
  56. package/dist/components/BadgeCount/index.d.mts +1 -1
  57. package/dist/components/BadgeCount/index.d.mts.map +1 -1
  58. package/dist/components/BadgeCount/index.mjs +1 -1
  59. package/dist/components/BadgeCount/index.mjs.map +1 -1
  60. package/dist/components/BadgeStatus/BadgeStatus.types.cjs.map +1 -1
  61. package/dist/components/BadgeStatus/BadgeStatus.types.d.cts +1 -1
  62. package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
  63. package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +1 -1
  64. package/dist/components/BadgeStatus/BadgeStatus.types.d.mts.map +1 -1
  65. package/dist/components/BadgeStatus/BadgeStatus.types.mjs.map +1 -1
  66. package/dist/components/BannerAlert/BannerAlert.cjs +23 -0
  67. package/dist/components/BannerAlert/BannerAlert.cjs.map +1 -0
  68. package/dist/components/BannerAlert/BannerAlert.constants.cjs +30 -0
  69. package/dist/components/BannerAlert/BannerAlert.constants.cjs.map +1 -0
  70. package/dist/components/BannerAlert/BannerAlert.constants.d.cts +7 -0
  71. package/dist/components/BannerAlert/BannerAlert.constants.d.cts.map +1 -0
  72. package/dist/components/BannerAlert/BannerAlert.constants.d.mts +7 -0
  73. package/dist/components/BannerAlert/BannerAlert.constants.d.mts.map +1 -0
  74. package/dist/components/BannerAlert/BannerAlert.constants.mjs +27 -0
  75. package/dist/components/BannerAlert/BannerAlert.constants.mjs.map +1 -0
  76. package/dist/components/BannerAlert/BannerAlert.d.cts +4 -0
  77. package/dist/components/BannerAlert/BannerAlert.d.cts.map +1 -0
  78. package/dist/components/BannerAlert/BannerAlert.d.mts +4 -0
  79. package/dist/components/BannerAlert/BannerAlert.d.mts.map +1 -0
  80. package/dist/components/BannerAlert/BannerAlert.mjs +23 -0
  81. package/dist/components/BannerAlert/BannerAlert.mjs.map +1 -0
  82. package/dist/components/BannerAlert/BannerAlert.types.cjs +3 -0
  83. package/dist/components/BannerAlert/BannerAlert.types.cjs.map +1 -0
  84. package/dist/components/BannerAlert/BannerAlert.types.d.cts +10 -0
  85. package/dist/components/BannerAlert/BannerAlert.types.d.cts.map +1 -0
  86. package/dist/components/BannerAlert/BannerAlert.types.d.mts +10 -0
  87. package/dist/components/BannerAlert/BannerAlert.types.d.mts.map +1 -0
  88. package/dist/components/BannerAlert/BannerAlert.types.mjs +2 -0
  89. package/dist/components/BannerAlert/BannerAlert.types.mjs.map +1 -0
  90. package/dist/components/BannerAlert/index.cjs +8 -0
  91. package/dist/components/BannerAlert/index.cjs.map +1 -0
  92. package/dist/components/BannerAlert/index.d.cts +4 -0
  93. package/dist/components/BannerAlert/index.d.cts.map +1 -0
  94. package/dist/components/BannerAlert/index.d.mts +4 -0
  95. package/dist/components/BannerAlert/index.d.mts.map +1 -0
  96. package/dist/components/BannerAlert/index.mjs +3 -0
  97. package/dist/components/BannerAlert/index.mjs.map +1 -0
  98. package/dist/components/BannerBase/BannerBase.cjs +63 -0
  99. package/dist/components/BannerBase/BannerBase.cjs.map +1 -0
  100. package/dist/components/BannerBase/BannerBase.d.cts +4 -0
  101. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -0
  102. package/dist/components/BannerBase/BannerBase.d.mts +4 -0
  103. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -0
  104. package/dist/components/BannerBase/BannerBase.mjs +63 -0
  105. package/dist/components/BannerBase/BannerBase.mjs.map +1 -0
  106. package/dist/components/BannerBase/BannerBase.types.cjs +3 -0
  107. package/dist/components/BannerBase/BannerBase.types.cjs.map +1 -0
  108. package/dist/components/BannerBase/BannerBase.types.d.cts +53 -0
  109. package/dist/components/BannerBase/BannerBase.types.d.cts.map +1 -0
  110. package/dist/components/BannerBase/BannerBase.types.d.mts +53 -0
  111. package/dist/components/BannerBase/BannerBase.types.d.mts.map +1 -0
  112. package/dist/components/BannerBase/BannerBase.types.mjs +2 -0
  113. package/dist/components/BannerBase/BannerBase.types.mjs.map +1 -0
  114. package/dist/components/BannerBase/index.cjs +6 -0
  115. package/dist/components/BannerBase/index.cjs.map +1 -0
  116. package/dist/components/BannerBase/index.d.cts +3 -0
  117. package/dist/components/BannerBase/index.d.cts.map +1 -0
  118. package/dist/components/BannerBase/index.d.mts +3 -0
  119. package/dist/components/BannerBase/index.d.mts.map +1 -0
  120. package/dist/components/BannerBase/index.mjs +2 -0
  121. package/dist/components/BannerBase/index.mjs.map +1 -0
  122. package/dist/components/BottomSheet/BottomSheet.cjs +109 -0
  123. package/dist/components/BottomSheet/BottomSheet.cjs.map +1 -0
  124. package/dist/components/BottomSheet/BottomSheet.d.cts +16 -0
  125. package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -0
  126. package/dist/components/BottomSheet/BottomSheet.d.mts +16 -0
  127. package/dist/components/BottomSheet/BottomSheet.d.mts.map +1 -0
  128. package/dist/components/BottomSheet/BottomSheet.mjs +87 -0
  129. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -0
  130. package/dist/components/BottomSheet/BottomSheet.types.cjs +3 -0
  131. package/dist/components/BottomSheet/BottomSheet.types.cjs.map +1 -0
  132. package/dist/components/BottomSheet/BottomSheet.types.d.cts +28 -0
  133. package/dist/components/BottomSheet/BottomSheet.types.d.cts.map +1 -0
  134. package/dist/components/BottomSheet/BottomSheet.types.d.mts +28 -0
  135. package/dist/components/BottomSheet/BottomSheet.types.d.mts.map +1 -0
  136. package/dist/components/BottomSheet/BottomSheet.types.mjs +2 -0
  137. package/dist/components/BottomSheet/BottomSheet.types.mjs.map +1 -0
  138. package/dist/components/BottomSheet/index.cjs +6 -0
  139. package/dist/components/BottomSheet/index.cjs.map +1 -0
  140. package/dist/components/BottomSheet/index.d.cts +3 -0
  141. package/dist/components/BottomSheet/index.d.cts.map +1 -0
  142. package/dist/components/BottomSheet/index.d.mts +3 -0
  143. package/dist/components/BottomSheet/index.d.mts.map +1 -0
  144. package/dist/components/BottomSheet/index.mjs +2 -0
  145. package/dist/components/BottomSheet/index.mjs.map +1 -0
  146. package/dist/components/BottomSheetDialog/BottomSheetDialog.cjs +207 -0
  147. package/dist/components/BottomSheetDialog/BottomSheetDialog.cjs.map +1 -0
  148. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.cjs +18 -0
  149. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.cjs.map +1 -0
  150. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.d.cts +14 -0
  151. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.d.cts.map +1 -0
  152. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.d.mts +14 -0
  153. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.d.mts.map +1 -0
  154. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.mjs +15 -0
  155. package/dist/components/BottomSheetDialog/BottomSheetDialog.constants.mjs.map +1 -0
  156. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.cts +13 -0
  157. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.cts.map +1 -0
  158. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.mts +13 -0
  159. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.mts.map +1 -0
  160. package/dist/components/BottomSheetDialog/BottomSheetDialog.mjs +190 -0
  161. package/dist/components/BottomSheetDialog/BottomSheetDialog.mjs.map +1 -0
  162. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.cjs +3 -0
  163. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.cjs.map +1 -0
  164. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.cts +56 -0
  165. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.cts.map +1 -0
  166. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.mts +56 -0
  167. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.mts.map +1 -0
  168. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.mjs +2 -0
  169. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.mjs.map +1 -0
  170. package/dist/components/BottomSheetDialog/index.cjs +9 -0
  171. package/dist/components/BottomSheetDialog/index.cjs.map +1 -0
  172. package/dist/components/BottomSheetDialog/index.d.cts +3 -0
  173. package/dist/components/BottomSheetDialog/index.d.cts.map +1 -0
  174. package/dist/components/BottomSheetDialog/index.d.mts +3 -0
  175. package/dist/components/BottomSheetDialog/index.d.mts.map +1 -0
  176. package/dist/components/BottomSheetDialog/index.mjs +2 -0
  177. package/dist/components/BottomSheetDialog/index.mjs.map +1 -0
  178. package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs +35 -0
  179. package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs.map +1 -0
  180. package/dist/components/BottomSheetFooter/BottomSheetFooter.d.cts +4 -0
  181. package/dist/components/BottomSheetFooter/BottomSheetFooter.d.cts.map +1 -0
  182. package/dist/components/BottomSheetFooter/BottomSheetFooter.d.mts +4 -0
  183. package/dist/components/BottomSheetFooter/BottomSheetFooter.d.mts.map +1 -0
  184. package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs +35 -0
  185. package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs.map +1 -0
  186. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.cjs +12 -0
  187. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.cjs.map +1 -0
  188. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.cts +41 -0
  189. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.cts.map +1 -0
  190. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.mts +41 -0
  191. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.mts.map +1 -0
  192. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.mjs +9 -0
  193. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.mjs.map +1 -0
  194. package/dist/components/BottomSheetFooter/index.cjs +8 -0
  195. package/dist/components/BottomSheetFooter/index.cjs.map +1 -0
  196. package/dist/components/BottomSheetFooter/index.d.cts +4 -0
  197. package/dist/components/BottomSheetFooter/index.d.cts.map +1 -0
  198. package/dist/components/BottomSheetFooter/index.d.mts +4 -0
  199. package/dist/components/BottomSheetFooter/index.d.mts.map +1 -0
  200. package/dist/components/BottomSheetFooter/index.mjs +3 -0
  201. package/dist/components/BottomSheetFooter/index.mjs.map +1 -0
  202. package/dist/components/BottomSheetHeader/BottomSheetHeader.cjs +27 -0
  203. package/dist/components/BottomSheetHeader/BottomSheetHeader.cjs.map +1 -0
  204. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.cjs +15 -0
  205. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.cjs.map +1 -0
  206. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.d.cts +7 -0
  207. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.d.cts.map +1 -0
  208. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.d.mts +7 -0
  209. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.d.mts.map +1 -0
  210. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.mjs +12 -0
  211. package/dist/components/BottomSheetHeader/BottomSheetHeader.constants.mjs.map +1 -0
  212. package/dist/components/BottomSheetHeader/BottomSheetHeader.d.cts +4 -0
  213. package/dist/components/BottomSheetHeader/BottomSheetHeader.d.cts.map +1 -0
  214. package/dist/components/BottomSheetHeader/BottomSheetHeader.d.mts +4 -0
  215. package/dist/components/BottomSheetHeader/BottomSheetHeader.d.mts.map +1 -0
  216. package/dist/components/BottomSheetHeader/BottomSheetHeader.mjs +27 -0
  217. package/dist/components/BottomSheetHeader/BottomSheetHeader.mjs.map +1 -0
  218. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.cjs +14 -0
  219. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.cjs.map +1 -0
  220. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.d.cts +50 -0
  221. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.d.cts.map +1 -0
  222. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.d.mts +50 -0
  223. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.d.mts.map +1 -0
  224. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.mjs +11 -0
  225. package/dist/components/BottomSheetHeader/BottomSheetHeader.types.mjs.map +1 -0
  226. package/dist/components/BottomSheetHeader/index.cjs +8 -0
  227. package/dist/components/BottomSheetHeader/index.cjs.map +1 -0
  228. package/dist/components/BottomSheetHeader/index.d.cts +4 -0
  229. package/dist/components/BottomSheetHeader/index.d.cts.map +1 -0
  230. package/dist/components/BottomSheetHeader/index.d.mts +4 -0
  231. package/dist/components/BottomSheetHeader/index.d.mts.map +1 -0
  232. package/dist/components/BottomSheetHeader/index.mjs +3 -0
  233. package/dist/components/BottomSheetHeader/index.mjs.map +1 -0
  234. package/dist/components/ButtonBase/ButtonBase.cjs +4 -11
  235. package/dist/components/ButtonBase/ButtonBase.cjs.map +1 -1
  236. package/dist/components/ButtonBase/ButtonBase.d.cts +1 -1
  237. package/dist/components/ButtonBase/ButtonBase.d.cts.map +1 -1
  238. package/dist/components/ButtonBase/ButtonBase.d.mts +1 -1
  239. package/dist/components/ButtonBase/ButtonBase.d.mts.map +1 -1
  240. package/dist/components/ButtonBase/ButtonBase.mjs +5 -12
  241. package/dist/components/ButtonBase/ButtonBase.mjs.map +1 -1
  242. package/dist/components/ButtonBase/ButtonBase.types.cjs.map +1 -1
  243. package/dist/components/ButtonBase/ButtonBase.types.d.cts +7 -0
  244. package/dist/components/ButtonBase/ButtonBase.types.d.cts.map +1 -1
  245. package/dist/components/ButtonBase/ButtonBase.types.d.mts +7 -0
  246. package/dist/components/ButtonBase/ButtonBase.types.d.mts.map +1 -1
  247. package/dist/components/ButtonBase/ButtonBase.types.mjs.map +1 -1
  248. package/dist/components/ButtonFilter/ButtonFilter.cjs +28 -0
  249. package/dist/components/ButtonFilter/ButtonFilter.cjs.map +1 -0
  250. package/dist/components/ButtonFilter/ButtonFilter.d.cts +4 -0
  251. package/dist/components/ButtonFilter/ButtonFilter.d.cts.map +1 -0
  252. package/dist/components/ButtonFilter/ButtonFilter.d.mts +4 -0
  253. package/dist/components/ButtonFilter/ButtonFilter.d.mts.map +1 -0
  254. package/dist/components/ButtonFilter/ButtonFilter.mjs +28 -0
  255. package/dist/components/ButtonFilter/ButtonFilter.mjs.map +1 -0
  256. package/dist/components/ButtonFilter/ButtonFilter.types.cjs +3 -0
  257. package/dist/components/ButtonFilter/ButtonFilter.types.cjs.map +1 -0
  258. package/dist/components/ButtonFilter/ButtonFilter.types.d.cts +9 -0
  259. package/dist/components/ButtonFilter/ButtonFilter.types.d.cts.map +1 -0
  260. package/dist/components/ButtonFilter/ButtonFilter.types.d.mts +9 -0
  261. package/dist/components/ButtonFilter/ButtonFilter.types.d.mts.map +1 -0
  262. package/dist/components/ButtonFilter/ButtonFilter.types.mjs +2 -0
  263. package/dist/components/ButtonFilter/ButtonFilter.types.mjs.map +1 -0
  264. package/dist/components/ButtonFilter/index.cjs +6 -0
  265. package/dist/components/ButtonFilter/index.cjs.map +1 -0
  266. package/dist/components/ButtonFilter/index.d.cts +3 -0
  267. package/dist/components/ButtonFilter/index.d.cts.map +1 -0
  268. package/dist/components/ButtonFilter/index.d.mts +3 -0
  269. package/dist/components/ButtonFilter/index.d.mts.map +1 -0
  270. package/dist/components/ButtonFilter/index.mjs +2 -0
  271. package/dist/components/ButtonFilter/index.mjs.map +1 -0
  272. package/dist/components/ButtonHero/ButtonHero.cjs +37 -0
  273. package/dist/components/ButtonHero/ButtonHero.cjs.map +1 -0
  274. package/dist/components/ButtonHero/ButtonHero.d.cts +13 -0
  275. package/dist/components/ButtonHero/ButtonHero.d.cts.map +1 -0
  276. package/dist/components/ButtonHero/ButtonHero.d.mts +13 -0
  277. package/dist/components/ButtonHero/ButtonHero.d.mts.map +1 -0
  278. package/dist/components/ButtonHero/ButtonHero.mjs +37 -0
  279. package/dist/components/ButtonHero/ButtonHero.mjs.map +1 -0
  280. package/dist/components/ButtonHero/ButtonHero.types.cjs +3 -0
  281. package/dist/components/ButtonHero/ButtonHero.types.cjs.map +1 -0
  282. package/dist/components/ButtonHero/ButtonHero.types.d.cts +3 -0
  283. package/dist/components/ButtonHero/ButtonHero.types.d.cts.map +1 -0
  284. package/dist/components/ButtonHero/ButtonHero.types.d.mts +3 -0
  285. package/dist/components/ButtonHero/ButtonHero.types.d.mts.map +1 -0
  286. package/dist/components/ButtonHero/ButtonHero.types.mjs +2 -0
  287. package/dist/components/ButtonHero/ButtonHero.types.mjs.map +1 -0
  288. package/dist/components/ButtonHero/index.cjs +8 -0
  289. package/dist/components/ButtonHero/index.cjs.map +1 -0
  290. package/dist/components/ButtonHero/index.d.cts +4 -0
  291. package/dist/components/ButtonHero/index.d.cts.map +1 -0
  292. package/dist/components/ButtonHero/index.d.mts +4 -0
  293. package/dist/components/ButtonHero/index.d.mts.map +1 -0
  294. package/dist/components/ButtonHero/index.mjs +3 -0
  295. package/dist/components/ButtonHero/index.mjs.map +1 -0
  296. package/dist/components/ButtonIcon/ButtonIcon.cjs +10 -4
  297. package/dist/components/ButtonIcon/ButtonIcon.cjs.map +1 -1
  298. package/dist/components/ButtonIcon/ButtonIcon.d.cts +1 -1
  299. package/dist/components/ButtonIcon/ButtonIcon.d.cts.map +1 -1
  300. package/dist/components/ButtonIcon/ButtonIcon.d.mts +1 -1
  301. package/dist/components/ButtonIcon/ButtonIcon.d.mts.map +1 -1
  302. package/dist/components/ButtonIcon/ButtonIcon.mjs +11 -5
  303. package/dist/components/ButtonIcon/ButtonIcon.mjs.map +1 -1
  304. package/dist/components/ButtonIcon/ButtonIcon.types.cjs.map +1 -1
  305. package/dist/components/ButtonIcon/ButtonIcon.types.d.cts +4 -11
  306. package/dist/components/ButtonIcon/ButtonIcon.types.d.cts.map +1 -1
  307. package/dist/components/ButtonIcon/ButtonIcon.types.d.mts +4 -11
  308. package/dist/components/ButtonIcon/ButtonIcon.types.d.mts.map +1 -1
  309. package/dist/components/ButtonIcon/ButtonIcon.types.mjs.map +1 -1
  310. package/dist/components/ButtonIcon/index.cjs +2 -1
  311. package/dist/components/ButtonIcon/index.cjs.map +1 -1
  312. package/dist/components/ButtonIcon/index.d.cts +1 -1
  313. package/dist/components/ButtonIcon/index.d.cts.map +1 -1
  314. package/dist/components/ButtonIcon/index.d.mts +1 -1
  315. package/dist/components/ButtonIcon/index.d.mts.map +1 -1
  316. package/dist/components/ButtonIcon/index.mjs +1 -1
  317. package/dist/components/ButtonIcon/index.mjs.map +1 -1
  318. package/dist/components/ButtonSemantic/ButtonSemantic.cjs +64 -0
  319. package/dist/components/ButtonSemantic/ButtonSemantic.cjs.map +1 -0
  320. package/dist/components/ButtonSemantic/ButtonSemantic.constants.cjs +17 -0
  321. package/dist/components/ButtonSemantic/ButtonSemantic.constants.cjs.map +1 -0
  322. package/dist/components/ButtonSemantic/ButtonSemantic.constants.d.cts +5 -0
  323. package/dist/components/ButtonSemantic/ButtonSemantic.constants.d.cts.map +1 -0
  324. package/dist/components/ButtonSemantic/ButtonSemantic.constants.d.mts +5 -0
  325. package/dist/components/ButtonSemantic/ButtonSemantic.constants.d.mts.map +1 -0
  326. package/dist/components/ButtonSemantic/ButtonSemantic.constants.mjs +14 -0
  327. package/dist/components/ButtonSemantic/ButtonSemantic.constants.mjs.map +1 -0
  328. package/dist/components/ButtonSemantic/ButtonSemantic.d.cts +4 -0
  329. package/dist/components/ButtonSemantic/ButtonSemantic.d.cts.map +1 -0
  330. package/dist/components/ButtonSemantic/ButtonSemantic.d.mts +4 -0
  331. package/dist/components/ButtonSemantic/ButtonSemantic.d.mts.map +1 -0
  332. package/dist/components/ButtonSemantic/ButtonSemantic.mjs +44 -0
  333. package/dist/components/ButtonSemantic/ButtonSemantic.mjs.map +1 -0
  334. package/dist/components/ButtonSemantic/ButtonSemantic.types.cjs +18 -0
  335. package/dist/components/ButtonSemantic/ButtonSemantic.types.cjs.map +1 -0
  336. package/dist/components/ButtonSemantic/ButtonSemantic.types.d.cts +30 -0
  337. package/dist/components/ButtonSemantic/ButtonSemantic.types.d.cts.map +1 -0
  338. package/dist/components/ButtonSemantic/ButtonSemantic.types.d.mts +30 -0
  339. package/dist/components/ButtonSemantic/ButtonSemantic.types.d.mts.map +1 -0
  340. package/dist/components/ButtonSemantic/ButtonSemantic.types.mjs +15 -0
  341. package/dist/components/ButtonSemantic/ButtonSemantic.types.mjs.map +1 -0
  342. package/dist/components/ButtonSemantic/index.cjs +8 -0
  343. package/dist/components/ButtonSemantic/index.cjs.map +1 -0
  344. package/dist/components/ButtonSemantic/index.d.cts +4 -0
  345. package/dist/components/ButtonSemantic/index.d.cts.map +1 -0
  346. package/dist/components/ButtonSemantic/index.d.mts +4 -0
  347. package/dist/components/ButtonSemantic/index.d.mts.map +1 -0
  348. package/dist/components/ButtonSemantic/index.mjs +3 -0
  349. package/dist/components/ButtonSemantic/index.mjs.map +1 -0
  350. package/dist/components/Card/Card.cjs +26 -0
  351. package/dist/components/Card/Card.cjs.map +1 -0
  352. package/dist/components/Card/Card.d.cts +4 -0
  353. package/dist/components/Card/Card.d.cts.map +1 -0
  354. package/dist/components/Card/Card.d.mts +4 -0
  355. package/dist/components/Card/Card.d.mts.map +1 -0
  356. package/dist/components/Card/Card.mjs +26 -0
  357. package/dist/components/Card/Card.mjs.map +1 -0
  358. package/dist/components/Card/Card.types.cjs +3 -0
  359. package/dist/components/Card/Card.types.cjs.map +1 -0
  360. package/dist/components/Card/Card.types.d.cts +25 -0
  361. package/dist/components/Card/Card.types.d.cts.map +1 -0
  362. package/dist/components/Card/Card.types.d.mts +25 -0
  363. package/dist/components/Card/Card.types.d.mts.map +1 -0
  364. package/dist/components/Card/Card.types.mjs +2 -0
  365. package/dist/components/Card/Card.types.mjs.map +1 -0
  366. package/dist/components/Card/index.cjs +6 -0
  367. package/dist/components/Card/index.cjs.map +1 -0
  368. package/dist/components/Card/index.d.cts +3 -0
  369. package/dist/components/Card/index.d.cts.map +1 -0
  370. package/dist/components/Card/index.d.mts +3 -0
  371. package/dist/components/Card/index.d.mts.map +1 -0
  372. package/dist/components/Card/index.mjs +2 -0
  373. package/dist/components/Card/index.mjs.map +1 -0
  374. package/dist/components/HeaderBase/HeaderBase.cjs +132 -0
  375. package/dist/components/HeaderBase/HeaderBase.cjs.map +1 -0
  376. package/dist/components/HeaderBase/HeaderBase.constants.cjs +15 -0
  377. package/dist/components/HeaderBase/HeaderBase.constants.cjs.map +1 -0
  378. package/dist/components/HeaderBase/HeaderBase.constants.d.cts +7 -0
  379. package/dist/components/HeaderBase/HeaderBase.constants.d.cts.map +1 -0
  380. package/dist/components/HeaderBase/HeaderBase.constants.d.mts +7 -0
  381. package/dist/components/HeaderBase/HeaderBase.constants.d.mts.map +1 -0
  382. package/dist/components/HeaderBase/HeaderBase.constants.mjs +12 -0
  383. package/dist/components/HeaderBase/HeaderBase.constants.mjs.map +1 -0
  384. package/dist/components/HeaderBase/HeaderBase.d.cts +4 -0
  385. package/dist/components/HeaderBase/HeaderBase.d.cts.map +1 -0
  386. package/dist/components/HeaderBase/HeaderBase.d.mts +4 -0
  387. package/dist/components/HeaderBase/HeaderBase.d.mts.map +1 -0
  388. package/dist/components/HeaderBase/HeaderBase.mjs +112 -0
  389. package/dist/components/HeaderBase/HeaderBase.mjs.map +1 -0
  390. package/dist/components/HeaderBase/HeaderBase.types.cjs +15 -0
  391. package/dist/components/HeaderBase/HeaderBase.types.cjs.map +1 -0
  392. package/dist/components/HeaderBase/HeaderBase.types.d.cts +87 -0
  393. package/dist/components/HeaderBase/HeaderBase.types.d.cts.map +1 -0
  394. package/dist/components/HeaderBase/HeaderBase.types.d.mts +87 -0
  395. package/dist/components/HeaderBase/HeaderBase.types.d.mts.map +1 -0
  396. package/dist/components/HeaderBase/HeaderBase.types.mjs +12 -0
  397. package/dist/components/HeaderBase/HeaderBase.types.mjs.map +1 -0
  398. package/dist/components/HeaderBase/index.cjs +8 -0
  399. package/dist/components/HeaderBase/index.cjs.map +1 -0
  400. package/dist/components/HeaderBase/index.d.cts +4 -0
  401. package/dist/components/HeaderBase/index.d.cts.map +1 -0
  402. package/dist/components/HeaderBase/index.d.mts +4 -0
  403. package/dist/components/HeaderBase/index.d.mts.map +1 -0
  404. package/dist/components/HeaderBase/index.mjs +3 -0
  405. package/dist/components/HeaderBase/index.mjs.map +1 -0
  406. package/dist/components/Icon/Icon.assets.cjs +2 -0
  407. package/dist/components/Icon/Icon.assets.cjs.map +1 -1
  408. package/dist/components/Icon/Icon.assets.d.cts.map +1 -1
  409. package/dist/components/Icon/Icon.assets.d.mts.map +1 -1
  410. package/dist/components/Icon/Icon.assets.mjs +2 -0
  411. package/dist/components/Icon/Icon.assets.mjs.map +1 -1
  412. package/dist/components/Icon/assets/ai.svg +1 -1
  413. package/dist/components/Icon/assets/corporate-fare.svg +1 -0
  414. package/dist/components/Input/Input.cjs +63 -0
  415. package/dist/components/Input/Input.cjs.map +1 -0
  416. package/dist/components/Input/Input.d.cts +11 -0
  417. package/dist/components/Input/Input.d.cts.map +1 -0
  418. package/dist/components/Input/Input.d.mts +11 -0
  419. package/dist/components/Input/Input.d.mts.map +1 -0
  420. package/dist/components/Input/Input.mjs +60 -0
  421. package/dist/components/Input/Input.mjs.map +1 -0
  422. package/dist/components/Input/Input.types.cjs +3 -0
  423. package/dist/components/Input/Input.types.cjs.map +1 -0
  424. package/dist/components/Input/Input.types.d.cts +37 -0
  425. package/dist/components/Input/Input.types.d.cts.map +1 -0
  426. package/dist/components/Input/Input.types.d.mts +37 -0
  427. package/dist/components/Input/Input.types.d.mts.map +1 -0
  428. package/dist/components/Input/Input.types.mjs +2 -0
  429. package/dist/components/Input/Input.types.mjs.map +1 -0
  430. package/dist/components/Input/index.cjs +6 -0
  431. package/dist/components/Input/index.cjs.map +1 -0
  432. package/dist/components/Input/index.d.cts +3 -0
  433. package/dist/components/Input/index.d.cts.map +1 -0
  434. package/dist/components/Input/index.d.mts +3 -0
  435. package/dist/components/Input/index.d.mts.map +1 -0
  436. package/dist/components/Input/index.mjs +2 -0
  437. package/dist/components/Input/index.mjs.map +1 -0
  438. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs +33 -0
  439. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs.map +1 -0
  440. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts +14 -0
  441. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts.map +1 -0
  442. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts +14 -0
  443. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts.map +1 -0
  444. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs +35 -0
  445. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs.map +1 -0
  446. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs +39 -0
  447. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs.map +1 -0
  448. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts +25 -0
  449. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts.map +1 -0
  450. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts +25 -0
  451. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts.map +1 -0
  452. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs +41 -0
  453. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs.map +1 -0
  454. package/dist/components/KeyValueRow/KeyValueRow.cjs +76 -0
  455. package/dist/components/KeyValueRow/KeyValueRow.cjs.map +1 -0
  456. package/dist/components/KeyValueRow/KeyValueRow.d.cts +25 -0
  457. package/dist/components/KeyValueRow/KeyValueRow.d.cts.map +1 -0
  458. package/dist/components/KeyValueRow/KeyValueRow.d.mts +25 -0
  459. package/dist/components/KeyValueRow/KeyValueRow.d.mts.map +1 -0
  460. package/dist/components/KeyValueRow/KeyValueRow.mjs +77 -0
  461. package/dist/components/KeyValueRow/KeyValueRow.mjs.map +1 -0
  462. package/dist/components/KeyValueRow/KeyValueRow.types.cjs +29 -0
  463. package/dist/components/KeyValueRow/KeyValueRow.types.cjs.map +1 -0
  464. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts +177 -0
  465. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts.map +1 -0
  466. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts +177 -0
  467. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts.map +1 -0
  468. package/dist/components/KeyValueRow/KeyValueRow.types.mjs +26 -0
  469. package/dist/components/KeyValueRow/KeyValueRow.types.mjs.map +1 -0
  470. package/dist/components/KeyValueRow/KeyValueRow.utils.cjs +6 -0
  471. package/dist/components/KeyValueRow/KeyValueRow.utils.cjs.map +1 -0
  472. package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts +3 -0
  473. package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts.map +1 -0
  474. package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts +3 -0
  475. package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts.map +1 -0
  476. package/dist/components/KeyValueRow/KeyValueRow.utils.mjs +2 -0
  477. package/dist/components/KeyValueRow/KeyValueRow.utils.mjs.map +1 -0
  478. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs +29 -0
  479. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs.map +1 -0
  480. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts +17 -0
  481. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts.map +1 -0
  482. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts +17 -0
  483. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts.map +1 -0
  484. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs +31 -0
  485. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs.map +1 -0
  486. package/dist/components/KeyValueRow/index.cjs +15 -0
  487. package/dist/components/KeyValueRow/index.cjs.map +1 -0
  488. package/dist/components/KeyValueRow/index.d.cts +3 -0
  489. package/dist/components/KeyValueRow/index.d.cts.map +1 -0
  490. package/dist/components/KeyValueRow/index.d.mts +3 -0
  491. package/dist/components/KeyValueRow/index.d.mts.map +1 -0
  492. package/dist/components/KeyValueRow/index.mjs +3 -0
  493. package/dist/components/KeyValueRow/index.mjs.map +1 -0
  494. package/dist/components/Label/Label.cjs +11 -0
  495. package/dist/components/Label/Label.cjs.map +1 -0
  496. package/dist/components/Label/Label.d.cts +4 -0
  497. package/dist/components/Label/Label.d.cts.map +1 -0
  498. package/dist/components/Label/Label.d.mts +4 -0
  499. package/dist/components/Label/Label.d.mts.map +1 -0
  500. package/dist/components/Label/Label.mjs +11 -0
  501. package/dist/components/Label/Label.mjs.map +1 -0
  502. package/dist/components/Label/Label.types.cjs +3 -0
  503. package/dist/components/Label/Label.types.cjs.map +1 -0
  504. package/dist/components/Label/Label.types.d.cts +9 -0
  505. package/dist/components/Label/Label.types.d.cts.map +1 -0
  506. package/dist/components/Label/Label.types.d.mts +9 -0
  507. package/dist/components/Label/Label.types.d.mts.map +1 -0
  508. package/dist/components/Label/Label.types.mjs +2 -0
  509. package/dist/components/Label/Label.types.mjs.map +1 -0
  510. package/dist/components/Label/index.cjs +6 -0
  511. package/dist/components/Label/index.cjs.map +1 -0
  512. package/dist/components/Label/index.d.cts +3 -0
  513. package/dist/components/Label/index.d.cts.map +1 -0
  514. package/dist/components/Label/index.d.mts +3 -0
  515. package/dist/components/Label/index.d.mts.map +1 -0
  516. package/dist/components/Label/index.mjs +2 -0
  517. package/dist/components/Label/index.mjs.map +1 -0
  518. package/dist/components/ListItem/ListItem.cjs +61 -0
  519. package/dist/components/ListItem/ListItem.cjs.map +1 -0
  520. package/dist/components/ListItem/ListItem.constants.cjs +14 -0
  521. package/dist/components/ListItem/ListItem.constants.cjs.map +1 -0
  522. package/dist/components/ListItem/ListItem.constants.d.cts +8 -0
  523. package/dist/components/ListItem/ListItem.constants.d.cts.map +1 -0
  524. package/dist/components/ListItem/ListItem.constants.d.mts +8 -0
  525. package/dist/components/ListItem/ListItem.constants.d.mts.map +1 -0
  526. package/dist/components/ListItem/ListItem.constants.mjs +11 -0
  527. package/dist/components/ListItem/ListItem.constants.mjs.map +1 -0
  528. package/dist/components/ListItem/ListItem.d.cts +4 -0
  529. package/dist/components/ListItem/ListItem.d.cts.map +1 -0
  530. package/dist/components/ListItem/ListItem.d.mts +4 -0
  531. package/dist/components/ListItem/ListItem.d.mts.map +1 -0
  532. package/dist/components/ListItem/ListItem.mjs +41 -0
  533. package/dist/components/ListItem/ListItem.mjs.map +1 -0
  534. package/dist/components/ListItem/ListItem.types.cjs +12 -0
  535. package/dist/components/ListItem/ListItem.types.cjs.map +1 -0
  536. package/dist/components/ListItem/ListItem.types.d.cts +60 -0
  537. package/dist/components/ListItem/ListItem.types.d.cts.map +1 -0
  538. package/dist/components/ListItem/ListItem.types.d.mts +60 -0
  539. package/dist/components/ListItem/ListItem.types.d.mts.map +1 -0
  540. package/dist/components/ListItem/ListItem.types.mjs +9 -0
  541. package/dist/components/ListItem/ListItem.types.mjs.map +1 -0
  542. package/dist/components/ListItem/index.cjs +8 -0
  543. package/dist/components/ListItem/index.cjs.map +1 -0
  544. package/dist/components/ListItem/index.d.cts +4 -0
  545. package/dist/components/ListItem/index.d.cts.map +1 -0
  546. package/dist/components/ListItem/index.d.mts +4 -0
  547. package/dist/components/ListItem/index.d.mts.map +1 -0
  548. package/dist/components/ListItem/index.mjs +3 -0
  549. package/dist/components/ListItem/index.mjs.map +1 -0
  550. package/dist/components/MainActionButton/MainActionButton.cjs +28 -0
  551. package/dist/components/MainActionButton/MainActionButton.cjs.map +1 -0
  552. package/dist/components/MainActionButton/MainActionButton.d.cts +4 -0
  553. package/dist/components/MainActionButton/MainActionButton.d.cts.map +1 -0
  554. package/dist/components/MainActionButton/MainActionButton.d.mts +4 -0
  555. package/dist/components/MainActionButton/MainActionButton.d.mts.map +1 -0
  556. package/dist/components/MainActionButton/MainActionButton.mjs +28 -0
  557. package/dist/components/MainActionButton/MainActionButton.mjs.map +1 -0
  558. package/dist/components/MainActionButton/MainActionButton.types.cjs +3 -0
  559. package/dist/components/MainActionButton/MainActionButton.types.cjs.map +1 -0
  560. package/dist/components/MainActionButton/MainActionButton.types.d.cts +41 -0
  561. package/dist/components/MainActionButton/MainActionButton.types.d.cts.map +1 -0
  562. package/dist/components/MainActionButton/MainActionButton.types.d.mts +41 -0
  563. package/dist/components/MainActionButton/MainActionButton.types.d.mts.map +1 -0
  564. package/dist/components/MainActionButton/MainActionButton.types.mjs +2 -0
  565. package/dist/components/MainActionButton/MainActionButton.types.mjs.map +1 -0
  566. package/dist/components/MainActionButton/index.cjs +6 -0
  567. package/dist/components/MainActionButton/index.cjs.map +1 -0
  568. package/dist/components/MainActionButton/index.d.cts +3 -0
  569. package/dist/components/MainActionButton/index.d.cts.map +1 -0
  570. package/dist/components/MainActionButton/index.d.mts +3 -0
  571. package/dist/components/MainActionButton/index.d.mts.map +1 -0
  572. package/dist/components/MainActionButton/index.mjs +2 -0
  573. package/dist/components/MainActionButton/index.mjs.map +1 -0
  574. package/dist/components/RadioButton/RadioButton.cjs +58 -0
  575. package/dist/components/RadioButton/RadioButton.cjs.map +1 -0
  576. package/dist/components/RadioButton/RadioButton.constants.cjs +12 -0
  577. package/dist/components/RadioButton/RadioButton.constants.cjs.map +1 -0
  578. package/dist/components/RadioButton/RadioButton.constants.d.cts +3 -0
  579. package/dist/components/RadioButton/RadioButton.constants.d.cts.map +1 -0
  580. package/dist/components/RadioButton/RadioButton.constants.d.mts +3 -0
  581. package/dist/components/RadioButton/RadioButton.constants.d.mts.map +1 -0
  582. package/dist/components/RadioButton/RadioButton.constants.mjs +9 -0
  583. package/dist/components/RadioButton/RadioButton.constants.mjs.map +1 -0
  584. package/dist/components/RadioButton/RadioButton.d.cts +4 -0
  585. package/dist/components/RadioButton/RadioButton.d.cts.map +1 -0
  586. package/dist/components/RadioButton/RadioButton.d.mts +4 -0
  587. package/dist/components/RadioButton/RadioButton.d.mts.map +1 -0
  588. package/dist/components/RadioButton/RadioButton.mjs +58 -0
  589. package/dist/components/RadioButton/RadioButton.mjs.map +1 -0
  590. package/dist/components/RadioButton/RadioButton.types.cjs +3 -0
  591. package/dist/components/RadioButton/RadioButton.types.cjs.map +1 -0
  592. package/dist/components/RadioButton/RadioButton.types.d.cts +64 -0
  593. package/dist/components/RadioButton/RadioButton.types.d.cts.map +1 -0
  594. package/dist/components/RadioButton/RadioButton.types.d.mts +64 -0
  595. package/dist/components/RadioButton/RadioButton.types.d.mts.map +1 -0
  596. package/dist/components/RadioButton/RadioButton.types.mjs +2 -0
  597. package/dist/components/RadioButton/RadioButton.types.mjs.map +1 -0
  598. package/dist/components/RadioButton/index.cjs +6 -0
  599. package/dist/components/RadioButton/index.cjs.map +1 -0
  600. package/dist/components/RadioButton/index.d.cts +3 -0
  601. package/dist/components/RadioButton/index.d.cts.map +1 -0
  602. package/dist/components/RadioButton/index.d.mts +3 -0
  603. package/dist/components/RadioButton/index.d.mts.map +1 -0
  604. package/dist/components/RadioButton/index.mjs +2 -0
  605. package/dist/components/RadioButton/index.mjs.map +1 -0
  606. package/dist/components/SensitiveText/SensitiveText.cjs +47 -0
  607. package/dist/components/SensitiveText/SensitiveText.cjs.map +1 -0
  608. package/dist/components/SensitiveText/SensitiveText.constants.cjs +14 -0
  609. package/dist/components/SensitiveText/SensitiveText.constants.cjs.map +1 -0
  610. package/dist/components/SensitiveText/SensitiveText.constants.d.cts +11 -0
  611. package/dist/components/SensitiveText/SensitiveText.constants.d.cts.map +1 -0
  612. package/dist/components/SensitiveText/SensitiveText.constants.d.mts +11 -0
  613. package/dist/components/SensitiveText/SensitiveText.constants.d.mts.map +1 -0
  614. package/dist/components/SensitiveText/SensitiveText.constants.mjs +11 -0
  615. package/dist/components/SensitiveText/SensitiveText.constants.mjs.map +1 -0
  616. package/dist/components/SensitiveText/SensitiveText.d.cts +4 -0
  617. package/dist/components/SensitiveText/SensitiveText.d.cts.map +1 -0
  618. package/dist/components/SensitiveText/SensitiveText.d.mts +4 -0
  619. package/dist/components/SensitiveText/SensitiveText.d.mts.map +1 -0
  620. package/dist/components/SensitiveText/SensitiveText.mjs +27 -0
  621. package/dist/components/SensitiveText/SensitiveText.mjs.map +1 -0
  622. package/dist/components/SensitiveText/SensitiveText.types.cjs +3 -0
  623. package/dist/components/SensitiveText/SensitiveText.types.cjs.map +1 -0
  624. package/dist/components/SensitiveText/SensitiveText.types.d.cts +38 -0
  625. package/dist/components/SensitiveText/SensitiveText.types.d.cts.map +1 -0
  626. package/dist/components/SensitiveText/SensitiveText.types.d.mts +38 -0
  627. package/dist/components/SensitiveText/SensitiveText.types.d.mts.map +1 -0
  628. package/dist/components/SensitiveText/SensitiveText.types.mjs +2 -0
  629. package/dist/components/SensitiveText/SensitiveText.types.mjs.map +1 -0
  630. package/dist/components/SensitiveText/index.cjs +8 -0
  631. package/dist/components/SensitiveText/index.cjs.map +1 -0
  632. package/dist/components/SensitiveText/index.d.cts +4 -0
  633. package/dist/components/SensitiveText/index.d.cts.map +1 -0
  634. package/dist/components/SensitiveText/index.d.mts +4 -0
  635. package/dist/components/SensitiveText/index.d.mts.map +1 -0
  636. package/dist/components/SensitiveText/index.mjs +3 -0
  637. package/dist/components/SensitiveText/index.mjs.map +1 -0
  638. package/dist/components/Skeleton/Skeleton.cjs +86 -0
  639. package/dist/components/Skeleton/Skeleton.cjs.map +1 -0
  640. package/dist/components/Skeleton/Skeleton.d.cts +5 -0
  641. package/dist/components/Skeleton/Skeleton.d.cts.map +1 -0
  642. package/dist/components/Skeleton/Skeleton.d.mts +5 -0
  643. package/dist/components/Skeleton/Skeleton.d.mts.map +1 -0
  644. package/dist/components/Skeleton/Skeleton.mjs +68 -0
  645. package/dist/components/Skeleton/Skeleton.mjs.map +1 -0
  646. package/dist/components/Skeleton/Skeleton.types.cjs +3 -0
  647. package/dist/components/Skeleton/Skeleton.types.cjs.map +1 -0
  648. package/dist/components/Skeleton/Skeleton.types.d.cts +51 -0
  649. package/dist/components/Skeleton/Skeleton.types.d.cts.map +1 -0
  650. package/dist/components/Skeleton/Skeleton.types.d.mts +51 -0
  651. package/dist/components/Skeleton/Skeleton.types.d.mts.map +1 -0
  652. package/dist/components/Skeleton/Skeleton.types.mjs +2 -0
  653. package/dist/components/Skeleton/Skeleton.types.mjs.map +1 -0
  654. package/dist/components/Skeleton/index.cjs +9 -0
  655. package/dist/components/Skeleton/index.cjs.map +1 -0
  656. package/dist/components/Skeleton/index.d.cts +3 -0
  657. package/dist/components/Skeleton/index.d.cts.map +1 -0
  658. package/dist/components/Skeleton/index.d.mts +3 -0
  659. package/dist/components/Skeleton/index.d.mts.map +1 -0
  660. package/dist/components/Skeleton/index.mjs +2 -0
  661. package/dist/components/Skeleton/index.mjs.map +1 -0
  662. package/dist/components/TabEmptyState/TabEmptyState.cjs +22 -0
  663. package/dist/components/TabEmptyState/TabEmptyState.cjs.map +1 -0
  664. package/dist/components/TabEmptyState/TabEmptyState.d.cts +4 -0
  665. package/dist/components/TabEmptyState/TabEmptyState.d.cts.map +1 -0
  666. package/dist/components/TabEmptyState/TabEmptyState.d.mts +4 -0
  667. package/dist/components/TabEmptyState/TabEmptyState.d.mts.map +1 -0
  668. package/dist/components/TabEmptyState/TabEmptyState.mjs +22 -0
  669. package/dist/components/TabEmptyState/TabEmptyState.mjs.map +1 -0
  670. package/dist/components/TabEmptyState/TabEmptyState.types.cjs +3 -0
  671. package/dist/components/TabEmptyState/TabEmptyState.types.cjs.map +1 -0
  672. package/dist/components/TabEmptyState/TabEmptyState.types.d.cts +45 -0
  673. package/dist/components/TabEmptyState/TabEmptyState.types.d.cts.map +1 -0
  674. package/dist/components/TabEmptyState/TabEmptyState.types.d.mts +45 -0
  675. package/dist/components/TabEmptyState/TabEmptyState.types.d.mts.map +1 -0
  676. package/dist/components/TabEmptyState/TabEmptyState.types.mjs +2 -0
  677. package/dist/components/TabEmptyState/TabEmptyState.types.mjs.map +1 -0
  678. package/dist/components/TabEmptyState/index.cjs +6 -0
  679. package/dist/components/TabEmptyState/index.cjs.map +1 -0
  680. package/dist/components/TabEmptyState/index.d.cts +3 -0
  681. package/dist/components/TabEmptyState/index.d.cts.map +1 -0
  682. package/dist/components/TabEmptyState/index.d.mts +3 -0
  683. package/dist/components/TabEmptyState/index.d.mts.map +1 -0
  684. package/dist/components/TabEmptyState/index.mjs +2 -0
  685. package/dist/components/TabEmptyState/index.mjs.map +1 -0
  686. package/dist/components/TextField/TextField.cjs +42 -0
  687. package/dist/components/TextField/TextField.cjs.map +1 -0
  688. package/dist/components/TextField/TextField.constants.cjs +13 -0
  689. package/dist/components/TextField/TextField.constants.cjs.map +1 -0
  690. package/dist/components/TextField/TextField.constants.d.cts +6 -0
  691. package/dist/components/TextField/TextField.constants.d.cts.map +1 -0
  692. package/dist/components/TextField/TextField.constants.d.mts +6 -0
  693. package/dist/components/TextField/TextField.constants.d.mts.map +1 -0
  694. package/dist/components/TextField/TextField.constants.mjs +10 -0
  695. package/dist/components/TextField/TextField.constants.mjs.map +1 -0
  696. package/dist/components/TextField/TextField.d.cts +12 -0
  697. package/dist/components/TextField/TextField.d.cts.map +1 -0
  698. package/dist/components/TextField/TextField.d.mts +12 -0
  699. package/dist/components/TextField/TextField.d.mts.map +1 -0
  700. package/dist/components/TextField/TextField.mjs +39 -0
  701. package/dist/components/TextField/TextField.mjs.map +1 -0
  702. package/dist/components/TextField/TextField.types.cjs +13 -0
  703. package/dist/components/TextField/TextField.types.cjs.map +1 -0
  704. package/dist/components/TextField/TextField.types.d.cts +49 -0
  705. package/dist/components/TextField/TextField.types.d.cts.map +1 -0
  706. package/dist/components/TextField/TextField.types.d.mts +49 -0
  707. package/dist/components/TextField/TextField.types.d.mts.map +1 -0
  708. package/dist/components/TextField/TextField.types.mjs +10 -0
  709. package/dist/components/TextField/TextField.types.mjs.map +1 -0
  710. package/dist/components/TextField/index.cjs +8 -0
  711. package/dist/components/TextField/index.cjs.map +1 -0
  712. package/dist/components/TextField/index.d.cts +4 -0
  713. package/dist/components/TextField/index.d.cts.map +1 -0
  714. package/dist/components/TextField/index.d.mts +4 -0
  715. package/dist/components/TextField/index.d.mts.map +1 -0
  716. package/dist/components/TextField/index.mjs +3 -0
  717. package/dist/components/TextField/index.mjs.map +1 -0
  718. package/dist/components/Toast/Toast.cjs +175 -0
  719. package/dist/components/Toast/Toast.cjs.map +1 -0
  720. package/dist/components/Toast/Toast.constants.cjs +12 -0
  721. package/dist/components/Toast/Toast.constants.cjs.map +1 -0
  722. package/dist/components/Toast/Toast.constants.d.cts +8 -0
  723. package/dist/components/Toast/Toast.constants.d.cts.map +1 -0
  724. package/dist/components/Toast/Toast.constants.d.mts +8 -0
  725. package/dist/components/Toast/Toast.constants.d.mts.map +1 -0
  726. package/dist/components/Toast/Toast.constants.mjs +9 -0
  727. package/dist/components/Toast/Toast.constants.mjs.map +1 -0
  728. package/dist/components/Toast/Toast.context.cjs +40 -0
  729. package/dist/components/Toast/Toast.context.cjs.map +1 -0
  730. package/dist/components/Toast/Toast.context.d.cts +7 -0
  731. package/dist/components/Toast/Toast.context.d.cts.map +1 -0
  732. package/dist/components/Toast/Toast.context.d.mts +7 -0
  733. package/dist/components/Toast/Toast.context.d.mts.map +1 -0
  734. package/dist/components/Toast/Toast.context.mjs +20 -0
  735. package/dist/components/Toast/Toast.context.mjs.map +1 -0
  736. package/dist/components/Toast/Toast.d.cts +8 -0
  737. package/dist/components/Toast/Toast.d.cts.map +1 -0
  738. package/dist/components/Toast/Toast.d.mts +8 -0
  739. package/dist/components/Toast/Toast.d.mts.map +1 -0
  740. package/dist/components/Toast/Toast.mjs +157 -0
  741. package/dist/components/Toast/Toast.mjs.map +1 -0
  742. package/dist/components/Toast/Toast.types.cjs +19 -0
  743. package/dist/components/Toast/Toast.types.cjs.map +1 -0
  744. package/dist/components/Toast/Toast.types.d.cts +124 -0
  745. package/dist/components/Toast/Toast.types.d.cts.map +1 -0
  746. package/dist/components/Toast/Toast.types.d.mts +124 -0
  747. package/dist/components/Toast/Toast.types.d.mts.map +1 -0
  748. package/dist/components/Toast/Toast.types.mjs +16 -0
  749. package/dist/components/Toast/Toast.types.mjs.map +1 -0
  750. package/dist/components/Toast/index.cjs +19 -0
  751. package/dist/components/Toast/index.cjs.map +1 -0
  752. package/dist/components/Toast/index.d.cts +6 -0
  753. package/dist/components/Toast/index.d.cts.map +1 -0
  754. package/dist/components/Toast/index.d.mts +6 -0
  755. package/dist/components/Toast/index.d.mts.map +1 -0
  756. package/dist/components/Toast/index.mjs +5 -0
  757. package/dist/components/Toast/index.mjs.map +1 -0
  758. package/dist/components/index.cjs +67 -2
  759. package/dist/components/index.cjs.map +1 -1
  760. package/dist/components/index.d.cts +51 -3
  761. package/dist/components/index.d.cts.map +1 -1
  762. package/dist/components/index.d.mts +51 -3
  763. package/dist/components/index.d.mts.map +1 -1
  764. package/dist/components/index.mjs +25 -1
  765. package/dist/components/index.mjs.map +1 -1
  766. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.cjs +5 -1
  767. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.cjs.map +1 -1
  768. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.cts +1 -1
  769. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.cts.map +1 -1
  770. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.mts +1 -1
  771. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.mts.map +1 -1
  772. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.mjs +5 -1
  773. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.mjs.map +1 -1
  774. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.cjs.map +1 -1
  775. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.cts +14 -1
  776. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.cts.map +1 -1
  777. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.mts +14 -1
  778. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.mts.map +1 -1
  779. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.mjs.map +1 -1
  780. package/dist/components/temp-components/ButtonAnimated/index.cjs.map +1 -1
  781. package/dist/components/temp-components/ButtonAnimated/index.d.cts +1 -1
  782. package/dist/components/temp-components/ButtonAnimated/index.d.cts.map +1 -1
  783. package/dist/components/temp-components/ButtonAnimated/index.d.mts +1 -1
  784. package/dist/components/temp-components/ButtonAnimated/index.d.mts.map +1 -1
  785. package/dist/components/temp-components/ButtonAnimated/index.mjs.map +1 -1
  786. package/dist/types/index.cjs +12 -16
  787. package/dist/types/index.cjs.map +1 -1
  788. package/dist/types/index.d.cts +10 -13
  789. package/dist/types/index.d.cts.map +1 -1
  790. package/dist/types/index.d.mts +10 -13
  791. package/dist/types/index.d.mts.map +1 -1
  792. package/dist/types/index.mjs +11 -14
  793. package/dist/types/index.mjs.map +1 -1
  794. package/package.json +9 -5
@@ -0,0 +1,29 @@
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
+ const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
7
+ const react_1 = __importDefault(require("react"));
8
+ const react_native_1 = require("react-native/index.js");
9
+ const KeyValueRow_types_1 = require("../KeyValueRow.types.cjs");
10
+ /**
11
+ * A container representing either the left or right side of the KeyValueRow.
12
+ * For desired results, use only two <KeyValueSection> components within the <KeyValueRowRoot>.
13
+ *
14
+ * @param props - Component props.
15
+ * @param props.children - The child components.
16
+ * @param props.align - The alignment of the section.
17
+ * @param props.twClassName - Optional Tailwind class names to override root styles.
18
+ * @param props.style - Optional additional styles for the root element.
19
+ *
20
+ * @returns The rendered KeyValueSection component.
21
+ */
22
+ const KeyValueSection = ({ children, align = KeyValueRow_types_1.KeyValueRowSectionAlignments.Left, twClassName, style, ...props }) => {
23
+ const tw = (0, design_system_twrnc_preset_1.useTailwind)();
24
+ return (<react_native_1.View style={[tw.style('flex-1', align, twClassName), style]} {...props}>
25
+ {children}
26
+ </react_native_1.View>);
27
+ };
28
+ exports.default = KeyValueSection;
29
+ //# sourceMappingURL=KeyValueSection.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueSection.cjs","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueSection/KeyValueSection.tsx"],"names":[],"mappings":";;;;;AAAA,8FAA4E;AAC5E,kDAA0B;AAC1B,wDAAoC;AAEpC,gEAAoE;AAGpE;;;;;;;;;;;GAWG;AACH,MAAM,eAAe,GAAmC,CAAC,EACvD,QAAQ,EACR,KAAK,GAAG,gDAA4B,CAAC,IAAI,EACzC,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,OAAO,CACL,CAAC,mBAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CACtE;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { KeyValueRowSectionAlignments } from '../KeyValueRow.types';\nimport type { KeyValueSectionProps } from '../KeyValueRow.types';\n\n/**\n * A container representing either the left or right side of the KeyValueRow.\n * For desired results, use only two <KeyValueSection> components within the <KeyValueRowRoot>.\n *\n * @param props - Component props.\n * @param props.children - The child components.\n * @param props.align - The alignment of the section.\n * @param props.twClassName - Optional Tailwind class names to override root styles.\n * @param props.style - Optional additional styles for the root element.\n *\n * @returns The rendered KeyValueSection component.\n */\nconst KeyValueSection: React.FC<KeyValueSectionProps> = ({\n children,\n align = KeyValueRowSectionAlignments.Left,\n twClassName,\n style,\n ...props\n}) => {\n const tw = useTailwind();\n\n return (\n <View style={[tw.style('flex-1', align, twClassName), style]} {...props}>\n {children}\n </View>\n );\n};\n\nexport default KeyValueSection;\n"]}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import type { KeyValueSectionProps } from "../KeyValueRow.types.cjs";
3
+ /**
4
+ * A container representing either the left or right side of the KeyValueRow.
5
+ * For desired results, use only two <KeyValueSection> components within the <KeyValueRowRoot>.
6
+ *
7
+ * @param props - Component props.
8
+ * @param props.children - The child components.
9
+ * @param props.align - The alignment of the section.
10
+ * @param props.twClassName - Optional Tailwind class names to override root styles.
11
+ * @param props.style - Optional additional styles for the root element.
12
+ *
13
+ * @returns The rendered KeyValueSection component.
14
+ */
15
+ declare const KeyValueSection: React.FC<KeyValueSectionProps>;
16
+ export default KeyValueSection;
17
+ //# sourceMappingURL=KeyValueSection.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueSection.d.cts","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueSection/KeyValueSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAI1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,iCAA6B;AAEjE;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAcnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import type { KeyValueSectionProps } from "../KeyValueRow.types.mjs";
3
+ /**
4
+ * A container representing either the left or right side of the KeyValueRow.
5
+ * For desired results, use only two <KeyValueSection> components within the <KeyValueRowRoot>.
6
+ *
7
+ * @param props - Component props.
8
+ * @param props.children - The child components.
9
+ * @param props.align - The alignment of the section.
10
+ * @param props.twClassName - Optional Tailwind class names to override root styles.
11
+ * @param props.style - Optional additional styles for the root element.
12
+ *
13
+ * @returns The rendered KeyValueSection component.
14
+ */
15
+ declare const KeyValueSection: React.FC<KeyValueSectionProps>;
16
+ export default KeyValueSection;
17
+ //# sourceMappingURL=KeyValueSection.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueSection.d.mts","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueSection/KeyValueSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAI1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,iCAA6B;AAEjE;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAcnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,31 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ import { useTailwind } from "@metamask-previews/design-system-twrnc-preset";
8
+ import $React from "react";
9
+ const React = $importDefault($React);
10
+ import { View } from "react-native/index.js";
11
+ import { KeyValueRowSectionAlignments } from "../KeyValueRow.types.mjs";
12
+ /**
13
+ * A container representing either the left or right side of the KeyValueRow.
14
+ * For desired results, use only two <KeyValueSection> components within the <KeyValueRowRoot>.
15
+ *
16
+ * @param props - Component props.
17
+ * @param props.children - The child components.
18
+ * @param props.align - The alignment of the section.
19
+ * @param props.twClassName - Optional Tailwind class names to override root styles.
20
+ * @param props.style - Optional additional styles for the root element.
21
+ *
22
+ * @returns The rendered KeyValueSection component.
23
+ */
24
+ const KeyValueSection = ({ children, align = KeyValueRowSectionAlignments.Left, twClassName, style, ...props }) => {
25
+ const tw = useTailwind();
26
+ return (<View style={[tw.style('flex-1', align, twClassName), style]} {...props}>
27
+ {children}
28
+ </View>);
29
+ };
30
+ export default KeyValueSection;
31
+ //# sourceMappingURL=KeyValueSection.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueSection.mjs","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueSection/KeyValueSection.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,sDAAsD;AAC5E,OAAO,MAAK,cAAc;;AAC1B,OAAO,EAAE,IAAI,EAAE,8BAAqB;AAEpC,OAAO,EAAE,4BAA4B,EAAE,iCAA6B;AAGpE;;;;;;;;;;;GAWG;AACH,MAAM,eAAe,GAAmC,CAAC,EACvD,QAAQ,EACR,KAAK,GAAG,4BAA4B,CAAC,IAAI,EACzC,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAEzB,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CACtE;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { KeyValueRowSectionAlignments } from '../KeyValueRow.types';\nimport type { KeyValueSectionProps } from '../KeyValueRow.types';\n\n/**\n * A container representing either the left or right side of the KeyValueRow.\n * For desired results, use only two <KeyValueSection> components within the <KeyValueRowRoot>.\n *\n * @param props - Component props.\n * @param props.children - The child components.\n * @param props.align - The alignment of the section.\n * @param props.twClassName - Optional Tailwind class names to override root styles.\n * @param props.style - Optional additional styles for the root element.\n *\n * @returns The rendered KeyValueSection component.\n */\nconst KeyValueSection: React.FC<KeyValueSectionProps> = ({\n children,\n align = KeyValueRowSectionAlignments.Left,\n twClassName,\n style,\n ...props\n}) => {\n const tw = useTailwind();\n\n return (\n <View style={[tw.style('flex-1', align, twClassName), style]} {...props}>\n {children}\n </View>\n );\n};\n\nexport default KeyValueSection;\n"]}
@@ -0,0 +1,15 @@
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.IconSizes = exports.TooltipSizes = exports.KeyValueRowFieldIconSides = exports.KeyValueRowSectionAlignments = exports.default = exports.KeyValueRowStubs = void 0;
7
+ var KeyValueRow_1 = require("./KeyValueRow.cjs");
8
+ Object.defineProperty(exports, "KeyValueRowStubs", { enumerable: true, get: function () { return KeyValueRow_1.KeyValueRowStubs; } });
9
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(KeyValueRow_1).default; } });
10
+ var KeyValueRow_types_1 = require("./KeyValueRow.types.cjs");
11
+ Object.defineProperty(exports, "KeyValueRowSectionAlignments", { enumerable: true, get: function () { return KeyValueRow_types_1.KeyValueRowSectionAlignments; } });
12
+ Object.defineProperty(exports, "KeyValueRowFieldIconSides", { enumerable: true, get: function () { return KeyValueRow_types_1.KeyValueRowFieldIconSides; } });
13
+ Object.defineProperty(exports, "TooltipSizes", { enumerable: true, get: function () { return KeyValueRow_types_1.TooltipSizes; } });
14
+ Object.defineProperty(exports, "IconSizes", { enumerable: true, get: function () { return KeyValueRow_types_1.IconSizes; } });
15
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.tsx"],"names":[],"mappings":";;;;;;AAAA,iDAA0D;AAAjD,+GAAA,gBAAgB,OAAA;AAAE,uHAAA,OAAO,OAAA;AAClC,6DAY6B;AAX3B,iIAAA,4BAA4B,OAAA;AAC5B,8HAAA,yBAAyB,OAAA;AACzB,iHAAA,YAAY,OAAA;AACZ,8GAAA,SAAS,OAAA","sourcesContent":["export { KeyValueRowStubs, default } from './KeyValueRow';\nexport {\n KeyValueRowSectionAlignments,\n KeyValueRowFieldIconSides,\n TooltipSizes,\n IconSizes,\n type KeyValueRowTooltip,\n type KeyValueRowField,\n type PreDefinedKeyValueRowLabel,\n type KeyValueRowLabelProps,\n type KeyValueRowRootProps,\n type KeyValueSectionProps,\n type KeyValueRowProps,\n} from './KeyValueRow.types';\n"]}
@@ -0,0 +1,3 @@
1
+ export { KeyValueRowStubs, default } from "./KeyValueRow.cjs";
2
+ export { KeyValueRowSectionAlignments, KeyValueRowFieldIconSides, TooltipSizes, IconSizes, type KeyValueRowTooltip, type KeyValueRowField, type PreDefinedKeyValueRowLabel, type KeyValueRowLabelProps, type KeyValueRowRootProps, type KeyValueSectionProps, type KeyValueRowProps, } from "./KeyValueRow.types.cjs";
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,0BAAsB;AAC1D,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,YAAY,EACZ,SAAS,EACT,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,gCAA4B"}
@@ -0,0 +1,3 @@
1
+ export { KeyValueRowStubs, default } from "./KeyValueRow.mjs";
2
+ export { KeyValueRowSectionAlignments, KeyValueRowFieldIconSides, TooltipSizes, IconSizes, type KeyValueRowTooltip, type KeyValueRowField, type PreDefinedKeyValueRowLabel, type KeyValueRowLabelProps, type KeyValueRowRootProps, type KeyValueSectionProps, type KeyValueRowProps, } from "./KeyValueRow.types.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,0BAAsB;AAC1D,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,YAAY,EACZ,SAAS,EACT,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,gCAA4B"}
@@ -0,0 +1,3 @@
1
+ export { KeyValueRowStubs, default } from "./KeyValueRow.mjs";
2
+ export { KeyValueRowSectionAlignments, KeyValueRowFieldIconSides, TooltipSizes, IconSizes } from "./KeyValueRow.types.mjs";
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,0BAAsB;AAC1D,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,YAAY,EACZ,SAAS,EAQV,gCAA4B","sourcesContent":["export { KeyValueRowStubs, default } from './KeyValueRow';\nexport {\n KeyValueRowSectionAlignments,\n KeyValueRowFieldIconSides,\n TooltipSizes,\n IconSizes,\n type KeyValueRowTooltip,\n type KeyValueRowField,\n type PreDefinedKeyValueRowLabel,\n type KeyValueRowLabelProps,\n type KeyValueRowRootProps,\n type KeyValueSectionProps,\n type KeyValueRowProps,\n} from './KeyValueRow.types';\n"]}
@@ -0,0 +1,11 @@
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.Label = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const Text_1 = require("../Text/index.cjs");
9
+ const Label = ({ ...props }) => (<Text_1.Text variant={Text_1.TextVariant.BodyMd} {...props}/>);
10
+ exports.Label = Label;
11
+ //# sourceMappingURL=Label.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.cjs","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,4CAA4C;AAIrC,MAAM,KAAK,GAAyB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC,WAAI,CAAC,OAAO,CAAC,CAAC,kBAAW,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CACjD,CAAC;AAFW,QAAA,KAAK,SAEhB","sourcesContent":["import React from 'react';\n\nimport { Text, TextVariant } from '../Text';\n\nimport type { LabelProps } from './Label.types';\n\nexport const Label: React.FC<LabelProps> = ({ ...props }) => (\n <Text variant={TextVariant.BodyMd} {...props} />\n);\n"]}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { LabelProps } from "./Label.types.cjs";
3
+ export declare const Label: React.FC<LabelProps>;
4
+ //# sourceMappingURL=Label.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.cts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,0BAAsB;AAEhD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAEtC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { LabelProps } from "./Label.types.mjs";
3
+ export declare const Label: React.FC<LabelProps>;
4
+ //# sourceMappingURL=Label.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.mts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,0BAAsB;AAEhD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAEtC,CAAC"}
@@ -0,0 +1,11 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ import $React from "react";
8
+ const React = $importDefault($React);
9
+ import { Text, TextVariant } from "../Text/index.mjs";
10
+ export const Label = ({ ...props }) => (<Text variant={TextVariant.BodyMd} {...props}/>);
11
+ //# sourceMappingURL=Label.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.mjs","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,0BAAgB;AAI5C,MAAM,CAAC,MAAM,KAAK,GAAyB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CACjD,CAAC","sourcesContent":["import React from 'react';\n\nimport { Text, TextVariant } from '../Text';\n\nimport type { LabelProps } from './Label.types';\n\nexport const Label: React.FC<LabelProps> = ({ ...props }) => (\n <Text variant={TextVariant.BodyMd} {...props} />\n);\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Label.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.types.cjs","sourceRoot":"","sources":["../../../src/components/Label/Label.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextProps } from '../Text';\n\n/**\n * Label component props.\n *\n * Extends TextProps to inherit all text styling and React Native text properties\n * such as testID and accessibilityLabel.\n */\nexport type LabelProps = TextProps;\n"]}
@@ -0,0 +1,9 @@
1
+ import type { TextProps } from "../Text/index.cjs";
2
+ /**
3
+ * Label component props.
4
+ *
5
+ * Extends TextProps to inherit all text styling and React Native text properties
6
+ * such as testID and accessibilityLabel.
7
+ */
8
+ export type LabelProps = TextProps;
9
+ //# sourceMappingURL=Label.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.types.d.cts","sourceRoot":"","sources":["../../../src/components/Label/Label.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { TextProps } from "../Text/index.mjs";
2
+ /**
3
+ * Label component props.
4
+ *
5
+ * Extends TextProps to inherit all text styling and React Native text properties
6
+ * such as testID and accessibilityLabel.
7
+ */
8
+ export type LabelProps = TextProps;
9
+ //# sourceMappingURL=Label.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.types.d.mts","sourceRoot":"","sources":["../../../src/components/Label/Label.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Label.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.types.mjs","sourceRoot":"","sources":["../../../src/components/Label/Label.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextProps } from '../Text';\n\n/**\n * Label component props.\n *\n * Extends TextProps to inherit all text styling and React Native text properties\n * such as testID and accessibilityLabel.\n */\nexport type LabelProps = TextProps;\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label = void 0;
4
+ var Label_1 = require("./Label.cjs");
5
+ Object.defineProperty(exports, "Label", { enumerable: true, get: function () { return Label_1.Label; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/Label/index.ts"],"names":[],"mappings":";;;AAAA,qCAAgC;AAAvB,8FAAA,KAAK,OAAA","sourcesContent":["export { Label } from './Label';\nexport type { LabelProps } from './Label.types';\n"]}
@@ -0,0 +1,3 @@
1
+ export { Label } from "./Label.cjs";
2
+ export type { LabelProps } from "./Label.types.cjs";
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/Label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB;AAChC,YAAY,EAAE,UAAU,EAAE,0BAAsB"}
@@ -0,0 +1,3 @@
1
+ export { Label } from "./Label.mjs";
2
+ export type { LabelProps } from "./Label.types.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/Label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB;AAChC,YAAY,EAAE,UAAU,EAAE,0BAAsB"}
@@ -0,0 +1,2 @@
1
+ export { Label } from "./Label.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/Label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB","sourcesContent":["export { Label } from './Label';\nexport type { LabelProps } from './Label.types';\n"]}
@@ -0,0 +1,61 @@
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.ListItem = 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 react_native_1 = require("react-native/index.js");
30
+ const Box_1 = require("../Box/index.cjs");
31
+ const ListItem_constants_1 = require("./ListItem.constants.cjs");
32
+ const ListItem_types_1 = require("./ListItem.types.cjs");
33
+ const VERTICAL_ALIGNMENT_MAP = {
34
+ [ListItem_types_1.ListItemVerticalAlignment.Top]: Box_1.BoxAlignItems.Start,
35
+ [ListItem_types_1.ListItemVerticalAlignment.Center]: Box_1.BoxAlignItems.Center,
36
+ [ListItem_types_1.ListItemVerticalAlignment.Bottom]: Box_1.BoxAlignItems.End,
37
+ };
38
+ const ListItem = ({ children, topAccessory, bottomAccessory, topAccessoryGap = ListItem_constants_1.DEFAULT_LISTITEM_TOPACCESSORYGAP, bottomAccessoryGap = ListItem_constants_1.DEFAULT_LISTITEM_BOTTOMACCESSORYGAP, gap = ListItem_constants_1.DEFAULT_LISTITEM_GAP, verticalAlignment = ListItem_constants_1.DEFAULT_LISTITEM_VERTICALALIGNMENT, twClassName, style, ...props }) => {
39
+ const tw = (0, design_system_twrnc_preset_1.useTailwind)();
40
+ return (<Box_1.Box style={style
41
+ ? [tw.style('p-4', twClassName), style]
42
+ : tw.style('p-4', twClassName)} {...props}>
43
+ {topAccessory && (<react_native_1.View testID={ListItem_constants_1.TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER} style={{ marginBottom: topAccessoryGap }}>
44
+ {topAccessory}
45
+ </react_native_1.View>)}
46
+ <Box_1.Box flexDirection={Box_1.BoxFlexDirection.Row} alignItems={VERTICAL_ALIGNMENT_MAP[verticalAlignment]}>
47
+ {react_1.Children.toArray(children)
48
+ .filter((child) => Boolean(child))
49
+ .map((child, index) => (<react_1.default.Fragment key={index}>
50
+ {index > 0 && (<react_native_1.View style={{ width: gap }} testID={ListItem_constants_1.TESTID_LISTITEM_GAP} accessible={false}/>)}
51
+ {child}
52
+ </react_1.default.Fragment>))}
53
+ </Box_1.Box>
54
+ {bottomAccessory && (<react_native_1.View testID={ListItem_constants_1.TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER} style={{ marginTop: bottomAccessoryGap }}>
55
+ {bottomAccessory}
56
+ </react_native_1.View>)}
57
+ </Box_1.Box>);
58
+ };
59
+ exports.ListItem = ListItem;
60
+ exports.ListItem.displayName = 'ListItem';
61
+ //# sourceMappingURL=ListItem.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.cjs","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAA4E;AAC5E,+CAAwC;AACxC,wDAAoD;AAEpD,0CAA8D;AAE9D,iEAQ8B;AAE9B,yDAA6D;AAE7D,MAAM,sBAAsB,GAC1B;IACE,CAAC,0CAAyB,CAAC,GAAG,CAAC,EAAE,mBAAa,CAAC,KAAK;IACpD,CAAC,0CAAyB,CAAC,MAAM,CAAC,EAAE,mBAAa,CAAC,MAAM;IACxD,CAAC,0CAAyB,CAAC,MAAM,CAAC,EAAE,mBAAa,CAAC,GAAG;CACtD,CAAC;AAEG,MAAM,QAAQ,GAA4B,CAAC,EAChD,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,eAAe,GAAG,qDAAgC,EAClD,kBAAkB,GAAG,wDAAmC,EACxD,GAAG,GAAG,yCAAoB,EAC1B,iBAAiB,GAAG,uDAAkC,EACtD,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,OAAO,CACL,CAAC,SAAG,CACF,KAAK,CAAC,CACJ,KAAK;YACH,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,CAAC;YACvC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,CACjC,CACD,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,YAAY,IAAI,CACf,CAAC,mBAAI,CACH,MAAM,CAAC,CAAC,0DAAqC,CAAC,CAC9C,KAAK,CAAC,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC,CAEzC;UAAA,CAAC,YAAY,CACf;QAAA,EAAE,mBAAI,CAAC,CACR,CACD;MAAA,CAAC,SAAG,CACF,aAAa,CAAC,CAAC,sBAAgB,CAAC,GAAG,CAAC,CACpC,UAAU,CAAC,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAC,CAEtD;QAAA,CAAC,gBAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC;aACxB,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;aACjC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CACrB,CAAC,eAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CACzB;cAAA,CAAC,KAAK,GAAG,CAAC,IAAI,CACZ,CAAC,mBAAI,CACH,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,GAAqB,EAAE,CAAC,CACxC,MAAM,CAAC,CAAC,wCAAmB,CAAC,CAC5B,UAAU,CAAC,CAAC,KAAK,CAAC,EAClB,CACH,CACD;cAAA,CAAC,KAAK,CACR;YAAA,EAAE,eAAK,CAAC,QAAQ,CAAC,CAClB,CAAC,CACN;MAAA,EAAE,SAAG,CACL;MAAA,CAAC,eAAe,IAAI,CAClB,CAAC,mBAAI,CACH,MAAM,CAAC,CAAC,6DAAwC,CAAC,CACjD,KAAK,CAAC,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,CAEzC;UAAA,CAAC,eAAe,CAClB;QAAA,EAAE,mBAAI,CAAC,CACR,CACH;IAAA,EAAE,SAAG,CAAC,CACP,CAAC;AACJ,CAAC,CAAC;AA5DW,QAAA,QAAQ,YA4DnB;AAEF,gBAAQ,CAAC,WAAW,GAAG,UAAU,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { Children } from 'react';\nimport { DimensionValue, View } from 'react-native';\n\nimport { Box, BoxAlignItems, BoxFlexDirection } from '../Box';\n\nimport {\n DEFAULT_LISTITEM_BOTTOMACCESSORYGAP,\n DEFAULT_LISTITEM_GAP,\n DEFAULT_LISTITEM_TOPACCESSORYGAP,\n DEFAULT_LISTITEM_VERTICALALIGNMENT,\n TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER,\n TESTID_LISTITEM_GAP,\n TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER,\n} from './ListItem.constants';\nimport type { ListItemProps } from './ListItem.types';\nimport { ListItemVerticalAlignment } from './ListItem.types';\n\nconst VERTICAL_ALIGNMENT_MAP: Record<ListItemVerticalAlignment, BoxAlignItems> =\n {\n [ListItemVerticalAlignment.Top]: BoxAlignItems.Start,\n [ListItemVerticalAlignment.Center]: BoxAlignItems.Center,\n [ListItemVerticalAlignment.Bottom]: BoxAlignItems.End,\n };\n\nexport const ListItem: React.FC<ListItemProps> = ({\n children,\n topAccessory,\n bottomAccessory,\n topAccessoryGap = DEFAULT_LISTITEM_TOPACCESSORYGAP,\n bottomAccessoryGap = DEFAULT_LISTITEM_BOTTOMACCESSORYGAP,\n gap = DEFAULT_LISTITEM_GAP,\n verticalAlignment = DEFAULT_LISTITEM_VERTICALALIGNMENT,\n twClassName,\n style,\n ...props\n}) => {\n const tw = useTailwind();\n\n return (\n <Box\n style={\n style\n ? [tw.style('p-4', twClassName), style]\n : tw.style('p-4', twClassName)\n }\n {...props}\n >\n {topAccessory && (\n <View\n testID={TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER}\n style={{ marginBottom: topAccessoryGap }}\n >\n {topAccessory}\n </View>\n )}\n <Box\n flexDirection={BoxFlexDirection.Row}\n alignItems={VERTICAL_ALIGNMENT_MAP[verticalAlignment]}\n >\n {Children.toArray(children)\n .filter((child) => Boolean(child))\n .map((child, index) => (\n <React.Fragment key={index}>\n {index > 0 && (\n <View\n style={{ width: gap as DimensionValue }}\n testID={TESTID_LISTITEM_GAP}\n accessible={false}\n />\n )}\n {child}\n </React.Fragment>\n ))}\n </Box>\n {bottomAccessory && (\n <View\n testID={TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER}\n style={{ marginTop: bottomAccessoryGap }}\n >\n {bottomAccessory}\n </View>\n )}\n </Box>\n );\n};\n\nListItem.displayName = 'ListItem';\n"]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = exports.DEFAULT_LISTITEM_TOPACCESSORYGAP = exports.DEFAULT_LISTITEM_VERTICALALIGNMENT = exports.DEFAULT_LISTITEM_GAP = exports.TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER = exports.TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER = exports.TESTID_LISTITEM_GAP = void 0;
4
+ const ListItem_types_1 = require("./ListItem.types.cjs");
5
+ // Test IDs
6
+ exports.TESTID_LISTITEM_GAP = 'listitem-gap';
7
+ exports.TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER = 'listitem-top-accessory-wrapper';
8
+ exports.TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER = 'listitem-bottom-accessory-wrapper';
9
+ // Defaults
10
+ exports.DEFAULT_LISTITEM_GAP = 16;
11
+ exports.DEFAULT_LISTITEM_VERTICALALIGNMENT = ListItem_types_1.ListItemVerticalAlignment.Center;
12
+ exports.DEFAULT_LISTITEM_TOPACCESSORYGAP = 0;
13
+ exports.DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = 0;
14
+ //# sourceMappingURL=ListItem.constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.constants.cjs","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.constants.ts"],"names":[],"mappings":";;;AAAA,yDAA6D;AAE7D,WAAW;AACE,QAAA,mBAAmB,GAAG,cAAc,CAAC;AACrC,QAAA,qCAAqC,GAChD,gCAAgC,CAAC;AACtB,QAAA,wCAAwC,GACnD,mCAAmC,CAAC;AAEtC,WAAW;AACE,QAAA,oBAAoB,GAAG,EAAE,CAAC;AAC1B,QAAA,kCAAkC,GAC7C,0CAAyB,CAAC,MAAM,CAAC;AACtB,QAAA,gCAAgC,GAAG,CAAC,CAAC;AACrC,QAAA,mCAAmC,GAAG,CAAC,CAAC","sourcesContent":["import { ListItemVerticalAlignment } from './ListItem.types';\n\n// Test IDs\nexport const TESTID_LISTITEM_GAP = 'listitem-gap';\nexport const TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER =\n 'listitem-top-accessory-wrapper';\nexport const TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER =\n 'listitem-bottom-accessory-wrapper';\n\n// Defaults\nexport const DEFAULT_LISTITEM_GAP = 16;\nexport const DEFAULT_LISTITEM_VERTICALALIGNMENT =\n ListItemVerticalAlignment.Center;\nexport const DEFAULT_LISTITEM_TOPACCESSORYGAP = 0;\nexport const DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = 0;\n"]}
@@ -0,0 +1,8 @@
1
+ export declare const TESTID_LISTITEM_GAP = "listitem-gap";
2
+ export declare const TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER = "listitem-top-accessory-wrapper";
3
+ export declare const TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER = "listitem-bottom-accessory-wrapper";
4
+ export declare const DEFAULT_LISTITEM_GAP = 16;
5
+ export declare const DEFAULT_LISTITEM_VERTICALALIGNMENT: "center";
6
+ export declare const DEFAULT_LISTITEM_TOPACCESSORYGAP = 0;
7
+ export declare const DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = 0;
8
+ //# sourceMappingURL=ListItem.constants.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.constants.d.cts","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;AAClD,eAAO,MAAM,qCAAqC,mCAChB,CAAC;AACnC,eAAO,MAAM,wCAAwC,sCAChB,CAAC;AAGtC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,kCAAkC,UACb,CAAC;AACnC,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAClD,eAAO,MAAM,mCAAmC,IAAI,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const TESTID_LISTITEM_GAP = "listitem-gap";
2
+ export declare const TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER = "listitem-top-accessory-wrapper";
3
+ export declare const TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER = "listitem-bottom-accessory-wrapper";
4
+ export declare const DEFAULT_LISTITEM_GAP = 16;
5
+ export declare const DEFAULT_LISTITEM_VERTICALALIGNMENT: "center";
6
+ export declare const DEFAULT_LISTITEM_TOPACCESSORYGAP = 0;
7
+ export declare const DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = 0;
8
+ //# sourceMappingURL=ListItem.constants.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.constants.d.mts","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;AAClD,eAAO,MAAM,qCAAqC,mCAChB,CAAC;AACnC,eAAO,MAAM,wCAAwC,sCAChB,CAAC;AAGtC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,kCAAkC,UACb,CAAC;AACnC,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAClD,eAAO,MAAM,mCAAmC,IAAI,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { ListItemVerticalAlignment } from "./ListItem.types.mjs";
2
+ // Test IDs
3
+ export const TESTID_LISTITEM_GAP = 'listitem-gap';
4
+ export const TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER = 'listitem-top-accessory-wrapper';
5
+ export const TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER = 'listitem-bottom-accessory-wrapper';
6
+ // Defaults
7
+ export const DEFAULT_LISTITEM_GAP = 16;
8
+ export const DEFAULT_LISTITEM_VERTICALALIGNMENT = ListItemVerticalAlignment.Center;
9
+ export const DEFAULT_LISTITEM_TOPACCESSORYGAP = 0;
10
+ export const DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = 0;
11
+ //# sourceMappingURL=ListItem.constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.constants.mjs","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,6BAAyB;AAE7D,WAAW;AACX,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAClD,MAAM,CAAC,MAAM,qCAAqC,GAChD,gCAAgC,CAAC;AACnC,MAAM,CAAC,MAAM,wCAAwC,GACnD,mCAAmC,CAAC;AAEtC,WAAW;AACX,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC;AACvC,MAAM,CAAC,MAAM,kCAAkC,GAC7C,yBAAyB,CAAC,MAAM,CAAC;AACnC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC;AAClD,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC","sourcesContent":["import { ListItemVerticalAlignment } from './ListItem.types';\n\n// Test IDs\nexport const TESTID_LISTITEM_GAP = 'listitem-gap';\nexport const TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER =\n 'listitem-top-accessory-wrapper';\nexport const TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER =\n 'listitem-bottom-accessory-wrapper';\n\n// Defaults\nexport const DEFAULT_LISTITEM_GAP = 16;\nexport const DEFAULT_LISTITEM_VERTICALALIGNMENT =\n ListItemVerticalAlignment.Center;\nexport const DEFAULT_LISTITEM_TOPACCESSORYGAP = 0;\nexport const DEFAULT_LISTITEM_BOTTOMACCESSORYGAP = 0;\n"]}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { ListItemProps } from "./ListItem.types.cjs";
3
+ export declare const ListItem: React.FC<ListItemProps>;
4
+ //# sourceMappingURL=ListItem.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.d.cts","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,cAAc;AAcxC,OAAO,KAAK,EAAE,aAAa,EAAE,6BAAyB;AAUtD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA4D5C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { ListItemProps } from "./ListItem.types.mjs";
3
+ export declare const ListItem: React.FC<ListItemProps>;
4
+ //# sourceMappingURL=ListItem.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.d.mts","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,cAAc;AAcxC,OAAO,KAAK,EAAE,aAAa,EAAE,6BAAyB;AAUtD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA4D5C,CAAC"}
@@ -0,0 +1,41 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ import { useTailwind } from "@metamask-previews/design-system-twrnc-preset";
8
+ import $React, { Children } from "react";
9
+ const React = $importDefault($React);
10
+ import { View } from "react-native/index.js";
11
+ import { Box, BoxAlignItems, BoxFlexDirection } from "../Box/index.mjs";
12
+ import { DEFAULT_LISTITEM_BOTTOMACCESSORYGAP, DEFAULT_LISTITEM_GAP, DEFAULT_LISTITEM_TOPACCESSORYGAP, DEFAULT_LISTITEM_VERTICALALIGNMENT, TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER, TESTID_LISTITEM_GAP, TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER } from "./ListItem.constants.mjs";
13
+ import { ListItemVerticalAlignment } from "./ListItem.types.mjs";
14
+ const VERTICAL_ALIGNMENT_MAP = {
15
+ [ListItemVerticalAlignment.Top]: BoxAlignItems.Start,
16
+ [ListItemVerticalAlignment.Center]: BoxAlignItems.Center,
17
+ [ListItemVerticalAlignment.Bottom]: BoxAlignItems.End,
18
+ };
19
+ export const ListItem = ({ children, topAccessory, bottomAccessory, topAccessoryGap = DEFAULT_LISTITEM_TOPACCESSORYGAP, bottomAccessoryGap = DEFAULT_LISTITEM_BOTTOMACCESSORYGAP, gap = DEFAULT_LISTITEM_GAP, verticalAlignment = DEFAULT_LISTITEM_VERTICALALIGNMENT, twClassName, style, ...props }) => {
20
+ const tw = useTailwind();
21
+ return (<Box style={style
22
+ ? [tw.style('p-4', twClassName), style]
23
+ : tw.style('p-4', twClassName)} {...props}>
24
+ {topAccessory && (<View testID={TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER} style={{ marginBottom: topAccessoryGap }}>
25
+ {topAccessory}
26
+ </View>)}
27
+ <Box flexDirection={BoxFlexDirection.Row} alignItems={VERTICAL_ALIGNMENT_MAP[verticalAlignment]}>
28
+ {Children.toArray(children)
29
+ .filter((child) => Boolean(child))
30
+ .map((child, index) => (<React.Fragment key={index}>
31
+ {index > 0 && (<View style={{ width: gap }} testID={TESTID_LISTITEM_GAP} accessible={false}/>)}
32
+ {child}
33
+ </React.Fragment>))}
34
+ </Box>
35
+ {bottomAccessory && (<View testID={TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER} style={{ marginTop: bottomAccessoryGap }}>
36
+ {bottomAccessory}
37
+ </View>)}
38
+ </Box>);
39
+ };
40
+ ListItem.displayName = 'ListItem';
41
+ //# sourceMappingURL=ListItem.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.mjs","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,sDAAsD;AAC5E,OAAO,QAAO,EAAE,QAAQ,EAAE,cAAc;;AACxC,OAAO,EAAkB,IAAI,EAAE,8BAAqB;AAEpD,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,gBAAgB,EAAE,yBAAe;AAE9D,OAAO,EACL,mCAAmC,EACnC,oBAAoB,EACpB,gCAAgC,EAChC,kCAAkC,EAClC,wCAAwC,EACxC,mBAAmB,EACnB,qCAAqC,EACtC,iCAA6B;AAE9B,OAAO,EAAE,yBAAyB,EAAE,6BAAyB;AAE7D,MAAM,sBAAsB,GAC1B;IACE,CAAC,yBAAyB,CAAC,GAAG,CAAC,EAAE,aAAa,CAAC,KAAK;IACpD,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,MAAM;IACxD,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAAG;CACtD,CAAC;AAEJ,MAAM,CAAC,MAAM,QAAQ,GAA4B,CAAC,EAChD,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,eAAe,GAAG,gCAAgC,EAClD,kBAAkB,GAAG,mCAAmC,EACxD,GAAG,GAAG,oBAAoB,EAC1B,iBAAiB,GAAG,kCAAkC,EACtD,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAEzB,OAAO,CACL,CAAC,GAAG,CACF,KAAK,CAAC,CACJ,KAAK;YACH,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,CAAC;YACvC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,CACjC,CACD,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,YAAY,IAAI,CACf,CAAC,IAAI,CACH,MAAM,CAAC,CAAC,qCAAqC,CAAC,CAC9C,KAAK,CAAC,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC,CAEzC;UAAA,CAAC,YAAY,CACf;QAAA,EAAE,IAAI,CAAC,CACR,CACD;MAAA,CAAC,GAAG,CACF,aAAa,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,CACpC,UAAU,CAAC,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAC,CAEtD;QAAA,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC;aACxB,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;aACjC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CACrB,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CACzB;cAAA,CAAC,KAAK,GAAG,CAAC,IAAI,CACZ,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,GAAqB,EAAE,CAAC,CACxC,MAAM,CAAC,CAAC,mBAAmB,CAAC,CAC5B,UAAU,CAAC,CAAC,KAAK,CAAC,EAClB,CACH,CACD;cAAA,CAAC,KAAK,CACR;YAAA,EAAE,KAAK,CAAC,QAAQ,CAAC,CAClB,CAAC,CACN;MAAA,EAAE,GAAG,CACL;MAAA,CAAC,eAAe,IAAI,CAClB,CAAC,IAAI,CACH,MAAM,CAAC,CAAC,wCAAwC,CAAC,CACjD,KAAK,CAAC,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,CAEzC;UAAA,CAAC,eAAe,CAClB;QAAA,EAAE,IAAI,CAAC,CACR,CACH;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { Children } from 'react';\nimport { DimensionValue, View } from 'react-native';\n\nimport { Box, BoxAlignItems, BoxFlexDirection } from '../Box';\n\nimport {\n DEFAULT_LISTITEM_BOTTOMACCESSORYGAP,\n DEFAULT_LISTITEM_GAP,\n DEFAULT_LISTITEM_TOPACCESSORYGAP,\n DEFAULT_LISTITEM_VERTICALALIGNMENT,\n TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER,\n TESTID_LISTITEM_GAP,\n TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER,\n} from './ListItem.constants';\nimport type { ListItemProps } from './ListItem.types';\nimport { ListItemVerticalAlignment } from './ListItem.types';\n\nconst VERTICAL_ALIGNMENT_MAP: Record<ListItemVerticalAlignment, BoxAlignItems> =\n {\n [ListItemVerticalAlignment.Top]: BoxAlignItems.Start,\n [ListItemVerticalAlignment.Center]: BoxAlignItems.Center,\n [ListItemVerticalAlignment.Bottom]: BoxAlignItems.End,\n };\n\nexport const ListItem: React.FC<ListItemProps> = ({\n children,\n topAccessory,\n bottomAccessory,\n topAccessoryGap = DEFAULT_LISTITEM_TOPACCESSORYGAP,\n bottomAccessoryGap = DEFAULT_LISTITEM_BOTTOMACCESSORYGAP,\n gap = DEFAULT_LISTITEM_GAP,\n verticalAlignment = DEFAULT_LISTITEM_VERTICALALIGNMENT,\n twClassName,\n style,\n ...props\n}) => {\n const tw = useTailwind();\n\n return (\n <Box\n style={\n style\n ? [tw.style('p-4', twClassName), style]\n : tw.style('p-4', twClassName)\n }\n {...props}\n >\n {topAccessory && (\n <View\n testID={TESTID_LISTITEM_TOP_ACCESSORY_WRAPPER}\n style={{ marginBottom: topAccessoryGap }}\n >\n {topAccessory}\n </View>\n )}\n <Box\n flexDirection={BoxFlexDirection.Row}\n alignItems={VERTICAL_ALIGNMENT_MAP[verticalAlignment]}\n >\n {Children.toArray(children)\n .filter((child) => Boolean(child))\n .map((child, index) => (\n <React.Fragment key={index}>\n {index > 0 && (\n <View\n style={{ width: gap as DimensionValue }}\n testID={TESTID_LISTITEM_GAP}\n accessible={false}\n />\n )}\n {child}\n </React.Fragment>\n ))}\n </Box>\n {bottomAccessory && (\n <View\n testID={TESTID_LISTITEM_BOTTOM_ACCESSORY_WRAPPER}\n style={{ marginTop: bottomAccessoryGap }}\n >\n {bottomAccessory}\n </View>\n )}\n </Box>\n );\n};\n\nListItem.displayName = 'ListItem';\n"]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListItemVerticalAlignment = void 0;
4
+ /**
5
+ * Vertical alignment options for children inside the ListItem row.
6
+ */
7
+ exports.ListItemVerticalAlignment = {
8
+ Top: 'top',
9
+ Center: 'center',
10
+ Bottom: 'bottom',
11
+ };
12
+ //# sourceMappingURL=ListItem.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.types.cjs","sourceRoot":"","sources":["../../../src/components/ListItem/ListItem.types.ts"],"names":[],"mappings":";;;AAGA;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACvC,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC","sourcesContent":["import type { ReactNode } from 'react';\nimport type { ViewProps } from 'react-native';\n\n/**\n * Vertical alignment options for children inside the ListItem row.\n */\nexport const ListItemVerticalAlignment = {\n Top: 'top',\n Center: 'center',\n Bottom: 'bottom',\n} as const;\n\nexport type ListItemVerticalAlignment =\n (typeof ListItemVerticalAlignment)[keyof typeof ListItemVerticalAlignment];\n\n/**\n * ListItem component props.\n *\n * Extends `ViewProps` so the root View inherits standard React Native\n * props such as `testID` and `accessibilityLabel`.\n */\nexport type ListItemProps = {\n /**\n * Content to display inside the list item row.\n */\n children?: ReactNode;\n /**\n * Optional content displayed above the list item row.\n */\n topAccessory?: ReactNode;\n /**\n * Optional content displayed below the list item row.\n */\n bottomAccessory?: ReactNode;\n /**\n * Gap in pixels between the topAccessory and the row.\n *\n * @default 0\n */\n topAccessoryGap?: number;\n /**\n * Gap in pixels between the row and the bottomAccessory.\n *\n * @default 0\n */\n bottomAccessoryGap?: number;\n /**\n * Horizontal spacing between each child inside the row.\n *\n * @default 16\n */\n gap?: number | string;\n /**\n * Vertical alignment of children inside the row.\n *\n * @default ListItemVerticalAlignment.Center\n */\n verticalAlignment?: ListItemVerticalAlignment;\n /**\n * Optional Tailwind class names to override default styles on the root element.\n */\n twClassName?: string;\n} & ViewProps;\n"]}