@metamask-previews/design-system-react-native 0.14.0-preview.dff9dce → 0.16.0-preview.d854123

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 (346) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/dist/components/BadgeNetwork/BadgeNetwork.types.cjs.map +1 -1
  3. package/dist/components/BadgeNetwork/BadgeNetwork.types.d.cts +6 -15
  4. package/dist/components/BadgeNetwork/BadgeNetwork.types.d.cts.map +1 -1
  5. package/dist/components/BadgeNetwork/BadgeNetwork.types.d.mts +6 -15
  6. package/dist/components/BadgeNetwork/BadgeNetwork.types.d.mts.map +1 -1
  7. package/dist/components/BadgeNetwork/BadgeNetwork.types.mjs.map +1 -1
  8. package/dist/components/BannerAlert/BannerAlert.cjs +1 -2
  9. package/dist/components/BannerAlert/BannerAlert.cjs.map +1 -1
  10. package/dist/components/BannerAlert/BannerAlert.constants.cjs +8 -8
  11. package/dist/components/BannerAlert/BannerAlert.constants.cjs.map +1 -1
  12. package/dist/components/BannerAlert/BannerAlert.constants.d.cts +2 -2
  13. package/dist/components/BannerAlert/BannerAlert.constants.d.cts.map +1 -1
  14. package/dist/components/BannerAlert/BannerAlert.constants.d.mts +2 -2
  15. package/dist/components/BannerAlert/BannerAlert.constants.d.mts.map +1 -1
  16. package/dist/components/BannerAlert/BannerAlert.constants.mjs +2 -2
  17. package/dist/components/BannerAlert/BannerAlert.constants.mjs.map +1 -1
  18. package/dist/components/BannerAlert/BannerAlert.d.cts.map +1 -1
  19. package/dist/components/BannerAlert/BannerAlert.d.mts.map +1 -1
  20. package/dist/components/BannerAlert/BannerAlert.mjs +1 -2
  21. package/dist/components/BannerAlert/BannerAlert.mjs.map +1 -1
  22. package/dist/components/BannerBase/BannerBase.cjs +4 -4
  23. package/dist/components/BannerBase/BannerBase.cjs.map +1 -1
  24. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -1
  25. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -1
  26. package/dist/components/BannerBase/BannerBase.mjs +2 -2
  27. package/dist/components/BannerBase/BannerBase.mjs.map +1 -1
  28. package/dist/components/{BoxVertical/BoxVertical.cjs → BoxColumn/BoxColumn.cjs} +5 -5
  29. package/dist/components/BoxColumn/BoxColumn.cjs.map +1 -0
  30. package/dist/components/BoxColumn/BoxColumn.d.cts +7 -0
  31. package/dist/components/BoxColumn/BoxColumn.d.cts.map +1 -0
  32. package/dist/components/BoxColumn/BoxColumn.d.mts +7 -0
  33. package/dist/components/BoxColumn/BoxColumn.d.mts.map +1 -0
  34. package/dist/components/{BoxVertical/BoxVertical.mjs → BoxColumn/BoxColumn.mjs} +3 -3
  35. package/dist/components/BoxColumn/BoxColumn.mjs.map +1 -0
  36. package/dist/components/{BoxVertical/BoxVertical.types.cjs → BoxColumn/BoxColumn.types.cjs} +1 -1
  37. package/dist/components/BoxColumn/BoxColumn.types.cjs.map +1 -0
  38. package/dist/components/BoxColumn/BoxColumn.types.d.cts +13 -0
  39. package/dist/components/BoxColumn/BoxColumn.types.d.cts.map +1 -0
  40. package/dist/components/BoxColumn/BoxColumn.types.d.mts +13 -0
  41. package/dist/components/BoxColumn/BoxColumn.types.d.mts.map +1 -0
  42. package/dist/components/BoxColumn/BoxColumn.types.mjs +2 -0
  43. package/dist/components/BoxColumn/BoxColumn.types.mjs.map +1 -0
  44. package/dist/components/BoxColumn/index.cjs +6 -0
  45. package/dist/components/BoxColumn/index.cjs.map +1 -0
  46. package/dist/components/BoxColumn/index.d.cts +3 -0
  47. package/dist/components/BoxColumn/index.d.cts.map +1 -0
  48. package/dist/components/BoxColumn/index.d.mts +3 -0
  49. package/dist/components/BoxColumn/index.d.mts.map +1 -0
  50. package/dist/components/BoxColumn/index.mjs +2 -0
  51. package/dist/components/BoxColumn/index.mjs.map +1 -0
  52. package/dist/components/{BoxHorizontal/BoxHorizontal.cjs → BoxRow/BoxRow.cjs} +5 -5
  53. package/dist/components/BoxRow/BoxRow.cjs.map +1 -0
  54. package/dist/components/BoxRow/BoxRow.d.cts +7 -0
  55. package/dist/components/BoxRow/BoxRow.d.cts.map +1 -0
  56. package/dist/components/BoxRow/BoxRow.d.mts +7 -0
  57. package/dist/components/BoxRow/BoxRow.d.mts.map +1 -0
  58. package/dist/components/{BoxHorizontal/BoxHorizontal.mjs → BoxRow/BoxRow.mjs} +3 -3
  59. package/dist/components/BoxRow/BoxRow.mjs.map +1 -0
  60. package/dist/components/{BoxHorizontal/BoxHorizontal.types.cjs → BoxRow/BoxRow.types.cjs} +1 -1
  61. package/dist/components/BoxRow/BoxRow.types.cjs.map +1 -0
  62. package/dist/components/BoxRow/BoxRow.types.d.cts +13 -0
  63. package/dist/components/BoxRow/BoxRow.types.d.cts.map +1 -0
  64. package/dist/components/BoxRow/BoxRow.types.d.mts +13 -0
  65. package/dist/components/BoxRow/BoxRow.types.d.mts.map +1 -0
  66. package/dist/components/BoxRow/BoxRow.types.mjs +2 -0
  67. package/dist/components/BoxRow/BoxRow.types.mjs.map +1 -0
  68. package/dist/components/BoxRow/index.cjs +6 -0
  69. package/dist/components/BoxRow/index.cjs.map +1 -0
  70. package/dist/components/BoxRow/index.d.cts +3 -0
  71. package/dist/components/BoxRow/index.d.cts.map +1 -0
  72. package/dist/components/BoxRow/index.d.mts +3 -0
  73. package/dist/components/BoxRow/index.d.mts.map +1 -0
  74. package/dist/components/BoxRow/index.mjs +2 -0
  75. package/dist/components/BoxRow/index.mjs.map +1 -0
  76. package/dist/components/HeaderRoot/HeaderRoot.cjs +3 -3
  77. package/dist/components/HeaderRoot/HeaderRoot.cjs.map +1 -1
  78. package/dist/components/HeaderRoot/HeaderRoot.mjs +3 -3
  79. package/dist/components/HeaderRoot/HeaderRoot.mjs.map +1 -1
  80. package/dist/components/HeaderSearch/HeaderSearch.cjs +80 -0
  81. package/dist/components/HeaderSearch/HeaderSearch.cjs.map +1 -0
  82. package/dist/components/HeaderSearch/HeaderSearch.d.cts +37 -0
  83. package/dist/components/HeaderSearch/HeaderSearch.d.cts.map +1 -0
  84. package/dist/components/HeaderSearch/HeaderSearch.d.mts +37 -0
  85. package/dist/components/HeaderSearch/HeaderSearch.d.mts.map +1 -0
  86. package/dist/components/HeaderSearch/HeaderSearch.mjs +80 -0
  87. package/dist/components/HeaderSearch/HeaderSearch.mjs.map +1 -0
  88. package/dist/components/HeaderSearch/HeaderSearch.types.cjs +3 -0
  89. package/dist/components/HeaderSearch/HeaderSearch.types.cjs.map +1 -0
  90. package/dist/components/HeaderSearch/HeaderSearch.types.d.cts +33 -0
  91. package/dist/components/HeaderSearch/HeaderSearch.types.d.cts.map +1 -0
  92. package/dist/components/HeaderSearch/HeaderSearch.types.d.mts +33 -0
  93. package/dist/components/HeaderSearch/HeaderSearch.types.d.mts.map +1 -0
  94. package/dist/components/HeaderSearch/HeaderSearch.types.mjs +2 -0
  95. package/dist/components/HeaderSearch/HeaderSearch.types.mjs.map +1 -0
  96. package/dist/components/HeaderSearch/index.cjs +8 -0
  97. package/dist/components/HeaderSearch/index.cjs.map +1 -0
  98. package/dist/components/HeaderSearch/index.d.cts +4 -0
  99. package/dist/components/HeaderSearch/index.d.cts.map +1 -0
  100. package/dist/components/HeaderSearch/index.d.mts +4 -0
  101. package/dist/components/HeaderSearch/index.d.mts.map +1 -0
  102. package/dist/components/HeaderSearch/index.mjs +3 -0
  103. package/dist/components/HeaderSearch/index.mjs.map +1 -0
  104. package/dist/components/HeaderStandard/HeaderStandard.cjs +3 -3
  105. package/dist/components/HeaderStandard/HeaderStandard.cjs.map +1 -1
  106. package/dist/components/HeaderStandard/HeaderStandard.mjs +3 -3
  107. package/dist/components/HeaderStandard/HeaderStandard.mjs.map +1 -1
  108. package/dist/components/Icon/Icon.assets.cjs +286 -280
  109. package/dist/components/Icon/Icon.assets.cjs.map +1 -1
  110. package/dist/components/Icon/Icon.assets.d.cts.map +1 -1
  111. package/dist/components/Icon/Icon.assets.d.mts.map +1 -1
  112. package/dist/components/Icon/Icon.assets.mjs +8 -2
  113. package/dist/components/Icon/Icon.assets.mjs.map +1 -1
  114. package/dist/components/Icon/Icon.cjs +2 -2
  115. package/dist/components/Icon/Icon.cjs.map +1 -1
  116. package/dist/components/Icon/Icon.constants.cjs +6 -6
  117. package/dist/components/Icon/Icon.constants.cjs.map +1 -1
  118. package/dist/components/Icon/Icon.constants.d.cts +1 -1
  119. package/dist/components/Icon/Icon.constants.d.cts.map +1 -1
  120. package/dist/components/Icon/Icon.constants.d.mts +1 -1
  121. package/dist/components/Icon/Icon.constants.d.mts.map +1 -1
  122. package/dist/components/Icon/Icon.constants.mjs +1 -1
  123. package/dist/components/Icon/Icon.constants.mjs.map +1 -1
  124. package/dist/components/Icon/Icon.d.cts.map +1 -1
  125. package/dist/components/Icon/Icon.d.mts.map +1 -1
  126. package/dist/components/Icon/Icon.mjs +1 -1
  127. package/dist/components/Icon/Icon.mjs.map +1 -1
  128. package/dist/components/Icon/Icon.types.cjs.map +1 -1
  129. package/dist/components/Icon/Icon.types.d.cts +2 -2
  130. package/dist/components/Icon/Icon.types.d.cts.map +1 -1
  131. package/dist/components/Icon/Icon.types.d.mts +2 -2
  132. package/dist/components/Icon/Icon.types.d.mts.map +1 -1
  133. package/dist/components/Icon/Icon.types.mjs.map +1 -1
  134. package/dist/components/Icon/assets/after-hours.svg +1 -1
  135. package/dist/components/Icon/assets/no-photography.svg +1 -0
  136. package/dist/components/Icon/assets/pop-up.svg +1 -0
  137. package/dist/components/Icon/assets/side-panel.svg +1 -0
  138. package/dist/components/Icon/index.cjs +4 -4
  139. package/dist/components/Icon/index.cjs.map +1 -1
  140. package/dist/components/Icon/index.d.cts +1 -1
  141. package/dist/components/Icon/index.d.cts.map +1 -1
  142. package/dist/components/Icon/index.d.mts +1 -1
  143. package/dist/components/Icon/index.d.mts.map +1 -1
  144. package/dist/components/Icon/index.mjs +1 -1
  145. package/dist/components/Icon/index.mjs.map +1 -1
  146. package/dist/components/Input/Input.cjs +3 -3
  147. package/dist/components/Input/Input.cjs.map +1 -1
  148. package/dist/components/Input/Input.constants.cjs +15 -15
  149. package/dist/components/Input/Input.constants.cjs.map +1 -1
  150. package/dist/components/Input/Input.constants.d.cts +1 -1
  151. package/dist/components/Input/Input.constants.d.cts.map +1 -1
  152. package/dist/components/Input/Input.constants.d.mts +1 -1
  153. package/dist/components/Input/Input.constants.d.mts.map +1 -1
  154. package/dist/components/Input/Input.constants.mjs +1 -1
  155. package/dist/components/Input/Input.constants.mjs.map +1 -1
  156. package/dist/components/Input/Input.d.cts +1 -1
  157. package/dist/components/Input/Input.d.cts.map +1 -1
  158. package/dist/components/Input/Input.d.mts +1 -1
  159. package/dist/components/Input/Input.d.mts.map +1 -1
  160. package/dist/components/Input/Input.mjs +1 -1
  161. package/dist/components/Input/Input.mjs.map +1 -1
  162. package/dist/components/Input/Input.types.cjs.map +1 -1
  163. package/dist/components/Input/Input.types.d.cts +1 -1
  164. package/dist/components/Input/Input.types.d.cts.map +1 -1
  165. package/dist/components/Input/Input.types.d.mts +1 -1
  166. package/dist/components/Input/Input.types.d.mts.map +1 -1
  167. package/dist/components/Input/Input.types.mjs.map +1 -1
  168. package/dist/components/KeyValueColumn/KeyValueColumn.cjs +43 -0
  169. package/dist/components/KeyValueColumn/KeyValueColumn.cjs.map +1 -0
  170. package/dist/components/KeyValueColumn/KeyValueColumn.d.cts +7 -0
  171. package/dist/components/KeyValueColumn/KeyValueColumn.d.cts.map +1 -0
  172. package/dist/components/KeyValueColumn/KeyValueColumn.d.mts +7 -0
  173. package/dist/components/KeyValueColumn/KeyValueColumn.d.mts.map +1 -0
  174. package/dist/components/KeyValueColumn/KeyValueColumn.mjs +43 -0
  175. package/dist/components/KeyValueColumn/KeyValueColumn.mjs.map +1 -0
  176. package/dist/components/KeyValueColumn/KeyValueColumn.types.cjs +3 -0
  177. package/dist/components/KeyValueColumn/KeyValueColumn.types.cjs.map +1 -0
  178. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.cts +17 -0
  179. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.cts.map +1 -0
  180. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.mts +17 -0
  181. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.mts.map +1 -0
  182. package/dist/components/KeyValueColumn/KeyValueColumn.types.mjs +2 -0
  183. package/dist/components/KeyValueColumn/KeyValueColumn.types.mjs.map +1 -0
  184. package/dist/components/KeyValueColumn/index.cjs +6 -0
  185. package/dist/components/KeyValueColumn/index.cjs.map +1 -0
  186. package/dist/components/KeyValueColumn/index.d.cts +3 -0
  187. package/dist/components/KeyValueColumn/index.d.cts.map +1 -0
  188. package/dist/components/KeyValueColumn/index.d.mts +3 -0
  189. package/dist/components/KeyValueColumn/index.d.mts.map +1 -0
  190. package/dist/components/KeyValueColumn/index.mjs +2 -0
  191. package/dist/components/KeyValueColumn/index.mjs.map +1 -0
  192. package/dist/components/KeyValueRow/KeyValueRow.cjs +43 -64
  193. package/dist/components/KeyValueRow/KeyValueRow.cjs.map +1 -1
  194. package/dist/components/KeyValueRow/KeyValueRow.d.cts +3 -20
  195. package/dist/components/KeyValueRow/KeyValueRow.d.cts.map +1 -1
  196. package/dist/components/KeyValueRow/KeyValueRow.d.mts +3 -20
  197. package/dist/components/KeyValueRow/KeyValueRow.d.mts.map +1 -1
  198. package/dist/components/KeyValueRow/KeyValueRow.mjs +42 -63
  199. package/dist/components/KeyValueRow/KeyValueRow.mjs.map +1 -1
  200. package/dist/components/KeyValueRow/KeyValueRow.types.cjs +0 -26
  201. package/dist/components/KeyValueRow/KeyValueRow.types.cjs.map +1 -1
  202. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts +14 -174
  203. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts.map +1 -1
  204. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts +14 -174
  205. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts.map +1 -1
  206. package/dist/components/KeyValueRow/KeyValueRow.types.mjs +1 -25
  207. package/dist/components/KeyValueRow/KeyValueRow.types.mjs.map +1 -1
  208. package/dist/components/KeyValueRow/index.cjs +3 -7
  209. package/dist/components/KeyValueRow/index.cjs.map +1 -1
  210. package/dist/components/KeyValueRow/index.d.cts +3 -2
  211. package/dist/components/KeyValueRow/index.d.cts.map +1 -1
  212. package/dist/components/KeyValueRow/index.d.mts +3 -2
  213. package/dist/components/KeyValueRow/index.d.mts.map +1 -1
  214. package/dist/components/KeyValueRow/index.mjs +2 -2
  215. package/dist/components/KeyValueRow/index.mjs.map +1 -1
  216. package/dist/components/Text/Text.cjs +4 -4
  217. package/dist/components/Text/Text.cjs.map +1 -1
  218. package/dist/components/Text/Text.constants.cjs +23 -18
  219. package/dist/components/Text/Text.constants.cjs.map +1 -1
  220. package/dist/components/Text/Text.constants.d.cts +1 -1
  221. package/dist/components/Text/Text.constants.d.cts.map +1 -1
  222. package/dist/components/Text/Text.constants.d.mts +1 -1
  223. package/dist/components/Text/Text.constants.d.mts.map +1 -1
  224. package/dist/components/Text/Text.constants.mjs +20 -15
  225. package/dist/components/Text/Text.constants.mjs.map +1 -1
  226. package/dist/components/Text/Text.d.cts.map +1 -1
  227. package/dist/components/Text/Text.d.mts.map +1 -1
  228. package/dist/components/Text/Text.mjs +1 -1
  229. package/dist/components/Text/Text.mjs.map +1 -1
  230. package/dist/components/Text/Text.types.cjs.map +1 -1
  231. package/dist/components/Text/Text.types.d.cts +17 -3
  232. package/dist/components/Text/Text.types.d.cts.map +1 -1
  233. package/dist/components/Text/Text.types.d.mts +17 -3
  234. package/dist/components/Text/Text.types.d.mts.map +1 -1
  235. package/dist/components/Text/Text.types.mjs.map +1 -1
  236. package/dist/components/Text/index.cjs +7 -7
  237. package/dist/components/Text/index.cjs.map +1 -1
  238. package/dist/components/Text/index.d.cts +1 -1
  239. package/dist/components/Text/index.d.cts.map +1 -1
  240. package/dist/components/Text/index.d.mts +1 -1
  241. package/dist/components/Text/index.d.mts.map +1 -1
  242. package/dist/components/Text/index.mjs +1 -1
  243. package/dist/components/Text/index.mjs.map +1 -1
  244. package/dist/components/TextButton/TextButton.cjs +3 -3
  245. package/dist/components/TextButton/TextButton.cjs.map +1 -1
  246. package/dist/components/TextButton/TextButton.d.cts.map +1 -1
  247. package/dist/components/TextButton/TextButton.d.mts.map +1 -1
  248. package/dist/components/TextButton/TextButton.mjs +1 -1
  249. package/dist/components/TextButton/TextButton.mjs.map +1 -1
  250. package/dist/components/TextField/TextField.cjs +2 -2
  251. package/dist/components/TextField/TextField.cjs.map +1 -1
  252. package/dist/components/TextField/TextField.d.cts.map +1 -1
  253. package/dist/components/TextField/TextField.d.mts.map +1 -1
  254. package/dist/components/TextField/TextField.mjs +1 -1
  255. package/dist/components/TextField/TextField.mjs.map +1 -1
  256. package/dist/components/index.cjs +15 -7
  257. package/dist/components/index.cjs.map +1 -1
  258. package/dist/components/index.d.cts +10 -4
  259. package/dist/components/index.d.cts.map +1 -1
  260. package/dist/components/index.d.mts +10 -4
  261. package/dist/components/index.d.mts.map +1 -1
  262. package/dist/components/index.mjs +5 -2
  263. package/dist/components/index.mjs.map +1 -1
  264. package/dist/types/index.cjs +106 -347
  265. package/dist/types/index.cjs.map +1 -1
  266. package/dist/types/index.d.cts +74 -318
  267. package/dist/types/index.d.cts.map +1 -1
  268. package/dist/types/index.d.mts +74 -318
  269. package/dist/types/index.d.mts.map +1 -1
  270. package/dist/types/index.mjs +102 -346
  271. package/dist/types/index.mjs.map +1 -1
  272. package/package.json +5 -6
  273. package/dist/components/BoxHorizontal/BoxHorizontal.cjs.map +0 -1
  274. package/dist/components/BoxHorizontal/BoxHorizontal.d.cts +0 -7
  275. package/dist/components/BoxHorizontal/BoxHorizontal.d.cts.map +0 -1
  276. package/dist/components/BoxHorizontal/BoxHorizontal.d.mts +0 -7
  277. package/dist/components/BoxHorizontal/BoxHorizontal.d.mts.map +0 -1
  278. package/dist/components/BoxHorizontal/BoxHorizontal.mjs.map +0 -1
  279. package/dist/components/BoxHorizontal/BoxHorizontal.types.cjs.map +0 -1
  280. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.cts +0 -13
  281. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.cts.map +0 -1
  282. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.mts +0 -13
  283. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.mts.map +0 -1
  284. package/dist/components/BoxHorizontal/BoxHorizontal.types.mjs +0 -2
  285. package/dist/components/BoxHorizontal/BoxHorizontal.types.mjs.map +0 -1
  286. package/dist/components/BoxHorizontal/index.cjs +0 -6
  287. package/dist/components/BoxHorizontal/index.cjs.map +0 -1
  288. package/dist/components/BoxHorizontal/index.d.cts +0 -3
  289. package/dist/components/BoxHorizontal/index.d.cts.map +0 -1
  290. package/dist/components/BoxHorizontal/index.d.mts +0 -3
  291. package/dist/components/BoxHorizontal/index.d.mts.map +0 -1
  292. package/dist/components/BoxHorizontal/index.mjs +0 -2
  293. package/dist/components/BoxHorizontal/index.mjs.map +0 -1
  294. package/dist/components/BoxVertical/BoxVertical.cjs.map +0 -1
  295. package/dist/components/BoxVertical/BoxVertical.d.cts +0 -7
  296. package/dist/components/BoxVertical/BoxVertical.d.cts.map +0 -1
  297. package/dist/components/BoxVertical/BoxVertical.d.mts +0 -7
  298. package/dist/components/BoxVertical/BoxVertical.d.mts.map +0 -1
  299. package/dist/components/BoxVertical/BoxVertical.mjs.map +0 -1
  300. package/dist/components/BoxVertical/BoxVertical.types.cjs.map +0 -1
  301. package/dist/components/BoxVertical/BoxVertical.types.d.cts +0 -13
  302. package/dist/components/BoxVertical/BoxVertical.types.d.cts.map +0 -1
  303. package/dist/components/BoxVertical/BoxVertical.types.d.mts +0 -13
  304. package/dist/components/BoxVertical/BoxVertical.types.d.mts.map +0 -1
  305. package/dist/components/BoxVertical/BoxVertical.types.mjs +0 -2
  306. package/dist/components/BoxVertical/BoxVertical.types.mjs.map +0 -1
  307. package/dist/components/BoxVertical/index.cjs +0 -6
  308. package/dist/components/BoxVertical/index.cjs.map +0 -1
  309. package/dist/components/BoxVertical/index.d.cts +0 -3
  310. package/dist/components/BoxVertical/index.d.cts.map +0 -1
  311. package/dist/components/BoxVertical/index.d.mts +0 -3
  312. package/dist/components/BoxVertical/index.d.mts.map +0 -1
  313. package/dist/components/BoxVertical/index.mjs +0 -2
  314. package/dist/components/BoxVertical/index.mjs.map +0 -1
  315. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs +0 -34
  316. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs.map +0 -1
  317. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts +0 -13
  318. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts.map +0 -1
  319. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts +0 -13
  320. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts.map +0 -1
  321. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs +0 -34
  322. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs.map +0 -1
  323. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs +0 -40
  324. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs.map +0 -1
  325. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts +0 -24
  326. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts.map +0 -1
  327. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts +0 -24
  328. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts.map +0 -1
  329. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs +0 -40
  330. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs.map +0 -1
  331. package/dist/components/KeyValueRow/KeyValueRow.utils.cjs +0 -6
  332. package/dist/components/KeyValueRow/KeyValueRow.utils.cjs.map +0 -1
  333. package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts +0 -3
  334. package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts.map +0 -1
  335. package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts +0 -3
  336. package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts.map +0 -1
  337. package/dist/components/KeyValueRow/KeyValueRow.utils.mjs +0 -2
  338. package/dist/components/KeyValueRow/KeyValueRow.utils.mjs.map +0 -1
  339. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs +0 -30
  340. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs.map +0 -1
  341. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts +0 -16
  342. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts.map +0 -1
  343. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts +0 -16
  344. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts.map +0 -1
  345. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs +0 -30
  346. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.cjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,iDAA8D;AAC9D,0CAA6B;AAC7B,gFAAmE;AAI5D,MAAM,aAAa,GAAG,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,cAAc,EACd,YAAY,EACZ,WAAW,EACX,GAAG,IAAI,EACY,EAAE,EAAE,CAAC,CACxB,CAAC,SAAG,CACF,aAAa,CAAC,CAAC,wBAAgB,CAAC,GAAG,CAAC,CACpC,UAAU,CAAC,CAAC,qBAAa,CAAC,MAAM,CAAC,CACjC,GAAG,CAAC,CAAC,CAAC,CAAC,CACP,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,IAAI,IAAI,CAAC,CAET;IAAA,CAAC,cAAc,CACf;IAAA,CAAC,+BAAc,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,+BAAc,CAChE;IAAA,CAAC,YAAY,CACf;EAAA,EAAE,SAAG,CAAC,CACP,CAAC;AAnBW,QAAA,aAAa,iBAmBxB;AAEF,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAC","sourcesContent":["import React from 'react';\n\nimport { BoxAlignItems, BoxFlexDirection } from '../../types';\nimport { Box } from '../Box';\nimport { TextOrChildren } from '../temp-components/TextOrChildren';\n\nimport type { BoxHorizontalProps } from './BoxHorizontal.types';\n\nexport const BoxHorizontal = ({\n children,\n textProps,\n startAccessory,\n endAccessory,\n twClassName,\n ...rest\n}: BoxHorizontalProps) => (\n <Box\n flexDirection={BoxFlexDirection.Row}\n alignItems={BoxAlignItems.Center}\n gap={1}\n twClassName={twClassName}\n {...rest}\n >\n {startAccessory}\n <TextOrChildren textProps={textProps}>{children}</TextOrChildren>\n {endAccessory}\n </Box>\n);\n\nBoxHorizontal.displayName = 'BoxHorizontal';\n"]}
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import type { BoxHorizontalProps } from "./BoxHorizontal.types.cjs";
3
- export declare const BoxHorizontal: {
4
- ({ children, textProps, startAccessory, endAccessory, twClassName, ...rest }: BoxHorizontalProps): React.JSX.Element;
5
- displayName: string;
6
- };
7
- //# sourceMappingURL=BoxHorizontal.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.d.cts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,kCAA8B;AAEhE,eAAO,MAAM,aAAa;kFAOvB,kBAAkB;;CAYpB,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import type { BoxHorizontalProps } from "./BoxHorizontal.types.mjs";
3
- export declare const BoxHorizontal: {
4
- ({ children, textProps, startAccessory, endAccessory, twClassName, ...rest }: BoxHorizontalProps): React.JSX.Element;
5
- displayName: string;
6
- };
7
- //# sourceMappingURL=BoxHorizontal.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.d.mts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,kCAA8B;AAEhE,eAAO,MAAM,aAAa;kFAOvB,kBAAkB;;CAYpB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.mjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,8BAAoB;AAC9D,OAAO,EAAE,GAAG,EAAE,yBAAe;AAC7B,OAAO,EAAE,cAAc,EAAE,oDAA0C;AAInE,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,cAAc,EACd,YAAY,EACZ,WAAW,EACX,GAAG,IAAI,EACY,EAAE,EAAE,CAAC,CACxB,CAAC,GAAG,CACF,aAAa,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,CACpC,UAAU,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CACjC,GAAG,CAAC,CAAC,CAAC,CAAC,CACP,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,IAAI,IAAI,CAAC,CAET;IAAA,CAAC,cAAc,CACf;IAAA,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,cAAc,CAChE;IAAA,CAAC,YAAY,CACf;EAAA,EAAE,GAAG,CAAC,CACP,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC","sourcesContent":["import React from 'react';\n\nimport { BoxAlignItems, BoxFlexDirection } from '../../types';\nimport { Box } from '../Box';\nimport { TextOrChildren } from '../temp-components/TextOrChildren';\n\nimport type { BoxHorizontalProps } from './BoxHorizontal.types';\n\nexport const BoxHorizontal = ({\n children,\n textProps,\n startAccessory,\n endAccessory,\n twClassName,\n ...rest\n}: BoxHorizontalProps) => (\n <Box\n flexDirection={BoxFlexDirection.Row}\n alignItems={BoxAlignItems.Center}\n gap={1}\n twClassName={twClassName}\n {...rest}\n >\n {startAccessory}\n <TextOrChildren textProps={textProps}>{children}</TextOrChildren>\n {endAccessory}\n </Box>\n);\n\nBoxHorizontal.displayName = 'BoxHorizontal';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.types.cjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BoxHorizontalPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { BoxProps } from '../Box/Box.types';\nimport type { TextProps } from '../Text';\n\n/**\n * BoxHorizontal component props.\n */\nexport type BoxHorizontalProps = BoxHorizontalPropsShared &\n Omit<BoxProps, 'children' | 'flexDirection'> & {\n /**\n * Optional props passed to `Text` when `children` is a string.\n */\n textProps?: Omit<Partial<TextProps>, 'children'>;\n };\n"]}
@@ -1,13 +0,0 @@
1
- import type { BoxHorizontalPropsShared } from "@metamask-previews/design-system-shared";
2
- import type { BoxProps } from "../Box/Box.types.cjs";
3
- import type { TextProps } from "../Text/index.cjs";
4
- /**
5
- * BoxHorizontal component props.
6
- */
7
- export type BoxHorizontalProps = BoxHorizontalPropsShared & Omit<BoxProps, 'children' | 'flexDirection'> & {
8
- /**
9
- * Optional props passed to `Text` when `children` is a string.
10
- */
11
- textProps?: Omit<Partial<TextProps>, 'children'>;
12
- };
13
- //# sourceMappingURL=BoxHorizontal.types.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.types.d.cts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,gDAAgD;AAExF,OAAO,KAAK,EAAE,QAAQ,EAAE,6BAAyB;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GACvD,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,eAAe,CAAC,GAAG;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;CAClD,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { BoxHorizontalPropsShared } from "@metamask-previews/design-system-shared";
2
- import type { BoxProps } from "../Box/Box.types.mjs";
3
- import type { TextProps } from "../Text/index.mjs";
4
- /**
5
- * BoxHorizontal component props.
6
- */
7
- export type BoxHorizontalProps = BoxHorizontalPropsShared & Omit<BoxProps, 'children' | 'flexDirection'> & {
8
- /**
9
- * Optional props passed to `Text` when `children` is a string.
10
- */
11
- textProps?: Omit<Partial<TextProps>, 'children'>;
12
- };
13
- //# sourceMappingURL=BoxHorizontal.types.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.types.d.mts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,gDAAgD;AAExF,OAAO,KAAK,EAAE,QAAQ,EAAE,6BAAyB;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GACvD,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,eAAe,CAAC,GAAG;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;CAClD,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=BoxHorizontal.types.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxHorizontal.types.mjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BoxHorizontalPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { BoxProps } from '../Box/Box.types';\nimport type { TextProps } from '../Text';\n\n/**\n * BoxHorizontal component props.\n */\nexport type BoxHorizontalProps = BoxHorizontalPropsShared &\n Omit<BoxProps, 'children' | 'flexDirection'> & {\n /**\n * Optional props passed to `Text` when `children` is a string.\n */\n textProps?: Omit<Partial<TextProps>, 'children'>;\n };\n"]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BoxHorizontal = void 0;
4
- var BoxHorizontal_1 = require("./BoxHorizontal.cjs");
5
- Object.defineProperty(exports, "BoxHorizontal", { enumerable: true, get: function () { return BoxHorizontal_1.BoxHorizontal; } });
6
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/index.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAAvC,8GAAA,aAAa,OAAA","sourcesContent":["export { BoxHorizontal } from './BoxHorizontal';\nexport type { BoxHorizontalProps } from './BoxHorizontal.types';\n"]}
@@ -1,3 +0,0 @@
1
- export { BoxHorizontal } from "./BoxHorizontal.cjs";
2
- export type { BoxHorizontalProps } from "./BoxHorizontal.types.cjs";
3
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,4BAAwB;AAChD,YAAY,EAAE,kBAAkB,EAAE,kCAA8B"}
@@ -1,3 +0,0 @@
1
- export { BoxHorizontal } from "./BoxHorizontal.mjs";
2
- export type { BoxHorizontalProps } from "./BoxHorizontal.types.mjs";
3
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,4BAAwB;AAChD,YAAY,EAAE,kBAAkB,EAAE,kCAA8B"}
@@ -1,2 +0,0 @@
1
- export { BoxHorizontal } from "./BoxHorizontal.mjs";
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,4BAAwB","sourcesContent":["export { BoxHorizontal } from './BoxHorizontal';\nexport type { BoxHorizontalProps } from './BoxHorizontal.types';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.cjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,iDAA+C;AAC/C,0CAA6B;AAC7B,gFAAmE;AAI5D,MAAM,WAAW,GAAG,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,eAAe,EACf,WAAW,EACX,GAAG,IAAI,EACU,EAAE,EAAE,CAAC,CACtB,CAAC,SAAG,CACF,aAAa,CAAC,CAAC,wBAAgB,CAAC,MAAM,CAAC,CACvC,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,IAAI,IAAI,CAAC,CAET;IAAA,CAAC,YAAY,CACb;IAAA,CAAC,+BAAc,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,+BAAc,CAChE;IAAA,CAAC,eAAe,CAClB;EAAA,EAAE,SAAG,CAAC,CACP,CAAC;AAjBW,QAAA,WAAW,eAiBtB;AAEF,mBAAW,CAAC,WAAW,GAAG,aAAa,CAAC","sourcesContent":["import React from 'react';\n\nimport { BoxFlexDirection } from '../../types';\nimport { Box } from '../Box';\nimport { TextOrChildren } from '../temp-components/TextOrChildren';\n\nimport type { BoxVerticalProps } from './BoxVertical.types';\n\nexport const BoxVertical = ({\n children,\n textProps,\n topAccessory,\n bottomAccessory,\n twClassName,\n ...rest\n}: BoxVerticalProps) => (\n <Box\n flexDirection={BoxFlexDirection.Column}\n twClassName={twClassName}\n {...rest}\n >\n {topAccessory}\n <TextOrChildren textProps={textProps}>{children}</TextOrChildren>\n {bottomAccessory}\n </Box>\n);\n\nBoxVertical.displayName = 'BoxVertical';\n"]}
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import type { BoxVerticalProps } from "./BoxVertical.types.cjs";
3
- export declare const BoxVertical: {
4
- ({ children, textProps, topAccessory, bottomAccessory, twClassName, ...rest }: BoxVerticalProps): React.JSX.Element;
5
- displayName: string;
6
- };
7
- //# sourceMappingURL=BoxVertical.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.d.cts","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc;AAM1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAE5D,eAAO,MAAM,WAAW;mFAOrB,gBAAgB;;CAUlB,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import type { BoxVerticalProps } from "./BoxVertical.types.mjs";
3
- export declare const BoxVertical: {
4
- ({ children, textProps, topAccessory, bottomAccessory, twClassName, ...rest }: BoxVerticalProps): React.JSX.Element;
5
- displayName: string;
6
- };
7
- //# sourceMappingURL=BoxVertical.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.d.mts","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc;AAM1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAE5D,eAAO,MAAM,WAAW;mFAOrB,gBAAgB;;CAUlB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.mjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,gBAAgB,EAAE,8BAAoB;AAC/C,OAAO,EAAE,GAAG,EAAE,yBAAe;AAC7B,OAAO,EAAE,cAAc,EAAE,oDAA0C;AAInE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,eAAe,EACf,WAAW,EACX,GAAG,IAAI,EACU,EAAE,EAAE,CAAC,CACtB,CAAC,GAAG,CACF,aAAa,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CACvC,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,IAAI,IAAI,CAAC,CAET;IAAA,CAAC,YAAY,CACb;IAAA,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,cAAc,CAChE;IAAA,CAAC,eAAe,CAClB;EAAA,EAAE,GAAG,CAAC,CACP,CAAC;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC","sourcesContent":["import React from 'react';\n\nimport { BoxFlexDirection } from '../../types';\nimport { Box } from '../Box';\nimport { TextOrChildren } from '../temp-components/TextOrChildren';\n\nimport type { BoxVerticalProps } from './BoxVertical.types';\n\nexport const BoxVertical = ({\n children,\n textProps,\n topAccessory,\n bottomAccessory,\n twClassName,\n ...rest\n}: BoxVerticalProps) => (\n <Box\n flexDirection={BoxFlexDirection.Column}\n twClassName={twClassName}\n {...rest}\n >\n {topAccessory}\n <TextOrChildren textProps={textProps}>{children}</TextOrChildren>\n {bottomAccessory}\n </Box>\n);\n\nBoxVertical.displayName = 'BoxVertical';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.types.cjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BoxVerticalPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { BoxProps } from '../Box/Box.types';\nimport type { TextProps } from '../Text';\n\n/**\n * BoxVertical component props.\n */\nexport type BoxVerticalProps = BoxVerticalPropsShared &\n Omit<BoxProps, 'children' | 'flexDirection'> & {\n /**\n * Optional props passed to `Text` when `children` is a string.\n */\n textProps?: Omit<Partial<TextProps>, 'children'>;\n };\n"]}
@@ -1,13 +0,0 @@
1
- import type { BoxVerticalPropsShared } from "@metamask-previews/design-system-shared";
2
- import type { BoxProps } from "../Box/Box.types.cjs";
3
- import type { TextProps } from "../Text/index.cjs";
4
- /**
5
- * BoxVertical component props.
6
- */
7
- export type BoxVerticalProps = BoxVerticalPropsShared & Omit<BoxProps, 'children' | 'flexDirection'> & {
8
- /**
9
- * Optional props passed to `Text` when `children` is a string.
10
- */
11
- textProps?: Omit<Partial<TextProps>, 'children'>;
12
- };
13
- //# sourceMappingURL=BoxVertical.types.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.types.d.cts","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,gDAAgD;AAEtF,OAAO,KAAK,EAAE,QAAQ,EAAE,6BAAyB;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,eAAe,CAAC,GAAG;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;CAClD,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { BoxVerticalPropsShared } from "@metamask-previews/design-system-shared";
2
- import type { BoxProps } from "../Box/Box.types.mjs";
3
- import type { TextProps } from "../Text/index.mjs";
4
- /**
5
- * BoxVertical component props.
6
- */
7
- export type BoxVerticalProps = BoxVerticalPropsShared & Omit<BoxProps, 'children' | 'flexDirection'> & {
8
- /**
9
- * Optional props passed to `Text` when `children` is a string.
10
- */
11
- textProps?: Omit<Partial<TextProps>, 'children'>;
12
- };
13
- //# sourceMappingURL=BoxVertical.types.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.types.d.mts","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,gDAAgD;AAEtF,OAAO,KAAK,EAAE,QAAQ,EAAE,6BAAyB;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,eAAe,CAAC,GAAG;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;CAClD,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=BoxVertical.types.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxVertical.types.mjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BoxVerticalPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { BoxProps } from '../Box/Box.types';\nimport type { TextProps } from '../Text';\n\n/**\n * BoxVertical component props.\n */\nexport type BoxVerticalProps = BoxVerticalPropsShared &\n Omit<BoxProps, 'children' | 'flexDirection'> & {\n /**\n * Optional props passed to `Text` when `children` is a string.\n */\n textProps?: Omit<Partial<TextProps>, 'children'>;\n };\n"]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BoxVertical = void 0;
4
- var BoxVertical_1 = require("./BoxVertical.cjs");
5
- Object.defineProperty(exports, "BoxVertical", { enumerable: true, get: function () { return BoxVertical_1.BoxVertical; } });
6
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/index.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAAnC,0GAAA,WAAW,OAAA","sourcesContent":["export { BoxVertical } from './BoxVertical';\nexport type { BoxVerticalProps } from './BoxVertical.types';\n"]}
@@ -1,3 +0,0 @@
1
- export { BoxVertical } from "./BoxVertical.cjs";
2
- export type { BoxVerticalProps } from "./BoxVertical.types.cjs";
3
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/BoxVertical/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAA4B"}
@@ -1,3 +0,0 @@
1
- export { BoxVertical } from "./BoxVertical.mjs";
2
- export type { BoxVerticalProps } from "./BoxVertical.types.mjs";
3
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/BoxVertical/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAA4B"}
@@ -1,2 +0,0 @@
1
- export { BoxVertical } from "./BoxVertical.mjs";
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAAsB","sourcesContent":["export { BoxVertical } from './BoxVertical';\nexport type { BoxVerticalProps } from './BoxVertical.types';\n"]}
@@ -1,34 +0,0 @@
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.KeyValueRowLabel = void 0;
7
- const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
8
- const react_1 = __importDefault(require("react"));
9
- const react_native_1 = require("react-native/index.js");
10
- const ButtonIcon_1 = require("../../ButtonIcon/index.cjs");
11
- const Icon_1 = require("../../Icon/index.cjs");
12
- const Text_1 = require("../../Text/index.cjs");
13
- const KeyValueRow_utils_1 = require("../KeyValueRow.utils.cjs");
14
- /**
15
- * A label and optional tooltip button component.
16
- *
17
- * @param props - Component props.
18
- * @param props.label - The label content to display.
19
- * @param props.tooltip - Optional tooltip to render to the right of the label.
20
- *
21
- * @returns The rendered KeyValueRowLabel component.
22
- */
23
- const KeyValueRowLabel = ({ label, tooltip, }) => {
24
- const tw = (0, design_system_twrnc_preset_1.useTailwind)();
25
- const hasTooltip = Boolean(tooltip?.title && tooltip?.content);
26
- return (<react_native_1.View style={tw.style('flex-row items-center')}>
27
- {(0, KeyValueRow_utils_1.isPreDefinedKeyValueRowLabel)(label) ? (<Text_1.Text variant={label.variant ?? Text_1.TextVariant.BodyMd} color={label.color ?? Text_1.TextColor.TextDefault}>
28
- {label.text}
29
- </Text_1.Text>) : (label)}
30
- {hasTooltip && tooltip && (<ButtonIcon_1.ButtonIcon size={tooltip.size ?? ButtonIcon_1.ButtonIconSize.Md} iconName={tooltip.iconName ?? Icon_1.IconName.Question} accessibilityLabel={`${tooltip.title} tooltip`} onPress={() => tooltip?.onPress?.()}/>)}
31
- </react_native_1.View>);
32
- };
33
- exports.KeyValueRowLabel = KeyValueRowLabel;
34
- //# sourceMappingURL=KeyValueLabel.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueLabel.cjs","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueLabel/KeyValueLabel.tsx"],"names":[],"mappings":";;;;;;AAAA,8FAA4E;AAC5E,kDAA0B;AAC1B,wDAAoC;AAEpC,2DAA8D;AAC9D,+CAAsC;AACtC,+CAA0D;AAE1D,gEAAoE;AAEpE;;;;;;;;GAQG;AACI,MAAM,gBAAgB,GAAoC,CAAC,EAChE,KAAK,EACL,OAAO,GACR,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,OAAO,CAAC,CAAC;IAE/D,OAAO,CACL,CAAC,mBAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAC7C;MAAA,CAAC,IAAA,gDAA4B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACrC,CAAC,WAAI,CACH,OAAO,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,kBAAW,CAAC,MAAM,CAAC,CAC7C,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,gBAAS,CAAC,WAAW,CAAC,CAE5C;UAAA,CAAC,KAAK,CAAC,IAAI,CACb;QAAA,EAAE,WAAI,CAAC,CACR,CAAC,CAAC,CAAC,CACF,KAAK,CACN,CACD;MAAA,CAAC,UAAU,IAAI,OAAO,IAAI,CACxB,CAAC,uBAAU,CACT,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,IAAI,2BAAc,CAAC,EAAE,CAAC,CACxC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAAQ,IAAI,eAAQ,CAAC,QAAQ,CAAC,CAChD,kBAAkB,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,UAAU,CAAC,CAC/C,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,EACpC,CACH,CACH;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,gBAAgB,oBA8B3B","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { ButtonIcon, ButtonIconSize } from '../../ButtonIcon';\nimport { IconName } from '../../Icon';\nimport { Text, TextColor, TextVariant } from '../../Text';\nimport type { KeyValueRowLabelProps } from '../KeyValueRow.types';\nimport { isPreDefinedKeyValueRowLabel } from '../KeyValueRow.utils';\n\n/**\n * A label and optional tooltip button component.\n *\n * @param props - Component props.\n * @param props.label - The label content to display.\n * @param props.tooltip - Optional tooltip to render to the right of the label.\n *\n * @returns The rendered KeyValueRowLabel component.\n */\nexport const KeyValueRowLabel: React.FC<KeyValueRowLabelProps> = ({\n label,\n tooltip,\n}) => {\n const tw = useTailwind();\n\n const hasTooltip = Boolean(tooltip?.title && tooltip?.content);\n\n return (\n <View style={tw.style('flex-row items-center')}>\n {isPreDefinedKeyValueRowLabel(label) ? (\n <Text\n variant={label.variant ?? TextVariant.BodyMd}\n color={label.color ?? TextColor.TextDefault}\n >\n {label.text}\n </Text>\n ) : (\n label\n )}\n {hasTooltip && tooltip && (\n <ButtonIcon\n size={tooltip.size ?? ButtonIconSize.Md}\n iconName={tooltip.iconName ?? IconName.Question}\n accessibilityLabel={`${tooltip.title} tooltip`}\n onPress={() => tooltip?.onPress?.()}\n />\n )}\n </View>\n );\n};\n"]}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import type { KeyValueRowLabelProps } from "../KeyValueRow.types.cjs";
3
- /**
4
- * A label and optional tooltip button component.
5
- *
6
- * @param props - Component props.
7
- * @param props.label - The label content to display.
8
- * @param props.tooltip - Optional tooltip to render to the right of the label.
9
- *
10
- * @returns The rendered KeyValueRowLabel component.
11
- */
12
- export declare const KeyValueRowLabel: React.FC<KeyValueRowLabelProps>;
13
- //# sourceMappingURL=KeyValueLabel.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueLabel.d.cts","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueLabel/KeyValueLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAM1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,iCAA6B;AAGlE;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA8B5D,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import type { KeyValueRowLabelProps } from "../KeyValueRow.types.mjs";
3
- /**
4
- * A label and optional tooltip button component.
5
- *
6
- * @param props - Component props.
7
- * @param props.label - The label content to display.
8
- * @param props.tooltip - Optional tooltip to render to the right of the label.
9
- *
10
- * @returns The rendered KeyValueRowLabel component.
11
- */
12
- export declare const KeyValueRowLabel: React.FC<KeyValueRowLabelProps>;
13
- //# sourceMappingURL=KeyValueLabel.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueLabel.d.mts","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueLabel/KeyValueLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAM1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,iCAA6B;AAGlE;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA8B5D,CAAC"}
@@ -1,34 +0,0 @@
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 { ButtonIcon, ButtonIconSize } from "../../ButtonIcon/index.mjs";
12
- import { IconName } from "../../Icon/index.mjs";
13
- import { Text, TextColor, TextVariant } from "../../Text/index.mjs";
14
- import { isPreDefinedKeyValueRowLabel } from "../KeyValueRow.utils.mjs";
15
- /**
16
- * A label and optional tooltip button component.
17
- *
18
- * @param props - Component props.
19
- * @param props.label - The label content to display.
20
- * @param props.tooltip - Optional tooltip to render to the right of the label.
21
- *
22
- * @returns The rendered KeyValueRowLabel component.
23
- */
24
- export const KeyValueRowLabel = ({ label, tooltip, }) => {
25
- const tw = useTailwind();
26
- const hasTooltip = Boolean(tooltip?.title && tooltip?.content);
27
- return (<View style={tw.style('flex-row items-center')}>
28
- {isPreDefinedKeyValueRowLabel(label) ? (<Text variant={label.variant ?? TextVariant.BodyMd} color={label.color ?? TextColor.TextDefault}>
29
- {label.text}
30
- </Text>) : (label)}
31
- {hasTooltip && tooltip && (<ButtonIcon size={tooltip.size ?? ButtonIconSize.Md} iconName={tooltip.iconName ?? IconName.Question} accessibilityLabel={`${tooltip.title} tooltip`} onPress={() => tooltip?.onPress?.()}/>)}
32
- </View>);
33
- };
34
- //# sourceMappingURL=KeyValueLabel.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueLabel.mjs","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueLabel/KeyValueLabel.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,sDAAsD;AAC5E,OAAO,MAAK,cAAc;;AAC1B,OAAO,EAAE,IAAI,EAAE,8BAAqB;AAEpC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,mCAAyB;AAC9D,OAAO,EAAE,QAAQ,EAAE,6BAAmB;AACtC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,6BAAmB;AAE1D,OAAO,EAAE,4BAA4B,EAAE,iCAA6B;AAEpE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAChE,KAAK,EACL,OAAO,GACR,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAEzB,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,OAAO,CAAC,CAAC;IAE/D,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAC7C;MAAA,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACrC,CAAC,IAAI,CACH,OAAO,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAC7C,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,WAAW,CAAC,CAE5C;UAAA,CAAC,KAAK,CAAC,IAAI,CACb;QAAA,EAAE,IAAI,CAAC,CACR,CAAC,CAAC,CAAC,CACF,KAAK,CACN,CACD;MAAA,CAAC,UAAU,IAAI,OAAO,IAAI,CACxB,CAAC,UAAU,CACT,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,IAAI,cAAc,CAAC,EAAE,CAAC,CACxC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAC,CAChD,kBAAkB,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,UAAU,CAAC,CAC/C,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,EACpC,CACH,CACH;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { ButtonIcon, ButtonIconSize } from '../../ButtonIcon';\nimport { IconName } from '../../Icon';\nimport { Text, TextColor, TextVariant } from '../../Text';\nimport type { KeyValueRowLabelProps } from '../KeyValueRow.types';\nimport { isPreDefinedKeyValueRowLabel } from '../KeyValueRow.utils';\n\n/**\n * A label and optional tooltip button component.\n *\n * @param props - Component props.\n * @param props.label - The label content to display.\n * @param props.tooltip - Optional tooltip to render to the right of the label.\n *\n * @returns The rendered KeyValueRowLabel component.\n */\nexport const KeyValueRowLabel: React.FC<KeyValueRowLabelProps> = ({\n label,\n tooltip,\n}) => {\n const tw = useTailwind();\n\n const hasTooltip = Boolean(tooltip?.title && tooltip?.content);\n\n return (\n <View style={tw.style('flex-row items-center')}>\n {isPreDefinedKeyValueRowLabel(label) ? (\n <Text\n variant={label.variant ?? TextVariant.BodyMd}\n color={label.color ?? TextColor.TextDefault}\n >\n {label.text}\n </Text>\n ) : (\n label\n )}\n {hasTooltip && tooltip && (\n <ButtonIcon\n size={tooltip.size ?? ButtonIconSize.Md}\n iconName={tooltip.iconName ?? IconName.Question}\n accessibilityLabel={`${tooltip.title} tooltip`}\n onPress={() => tooltip?.onPress?.()}\n />\n )}\n </View>\n );\n};\n"]}
@@ -1,40 +0,0 @@
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.KeyValueRowRoot = void 0;
7
- const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
8
- const react_1 = __importDefault(require("react"));
9
- const react_native_1 = require("react-native/index.js");
10
- /**
11
- * The main container for the KeyValueRow component.
12
- * When creating custom KeyValueRow components, this must be the outermost component
13
- * wrapping the two <KeyValueSection/> components.
14
- *
15
- * e.g.
16
- * ```
17
- * <KeyValueRowRoot>
18
- * <KeyValueSection></KeyValueSection>
19
- * <KeyValueSection></KeyValueSection>
20
- * </KeyValueRowRoot>
21
- * ```
22
- *
23
- * @param props - Component props.
24
- * @param props.children - The two <KeyValueSection> children.
25
- * @param props.twClassName - Optional Tailwind class names to override root styles.
26
- * @param props.style - Optional additional styles for the root element.
27
- *
28
- * @returns The rendered Root component.
29
- */
30
- const KeyValueRowRoot = ({ children, twClassName, style, ...props }) => {
31
- const tw = (0, design_system_twrnc_preset_1.useTailwind)();
32
- return (<react_native_1.View style={[
33
- tw.style('flex-row justify-between items-center overflow-hidden', twClassName),
34
- style,
35
- ]} {...props}>
36
- {children}
37
- </react_native_1.View>);
38
- };
39
- exports.KeyValueRowRoot = KeyValueRowRoot;
40
- //# sourceMappingURL=KeyValueRoot.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRoot.cjs","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueRoot/KeyValueRoot.tsx"],"names":[],"mappings":";;;;;;AAAA,8FAA4E;AAC5E,kDAA0B;AAC1B,wDAAoC;AAIpC;;;;;;;;;;;;;;;;;;;GAmBG;AACI,MAAM,eAAe,GAAmC,CAAC,EAC9D,QAAQ,EACR,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,OAAO,CACL,CAAC,mBAAI,CACH,KAAK,CAAC,CAAC;YACL,EAAE,CAAC,KAAK,CACN,uDAAuD,EACvD,WAAW,CACZ;YACD,KAAK;SACN,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,eAAe,mBAsB1B","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport type { KeyValueRowRootProps } from '../KeyValueRow.types';\n\n/**\n * The main container for the KeyValueRow component.\n * When creating custom KeyValueRow components, this must be the outermost component\n * wrapping the two <KeyValueSection/> components.\n *\n * e.g.\n * ```\n * <KeyValueRowRoot>\n * <KeyValueSection></KeyValueSection>\n * <KeyValueSection></KeyValueSection>\n * </KeyValueRowRoot>\n * ```\n *\n * @param props - Component props.\n * @param props.children - The two <KeyValueSection> children.\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 Root component.\n */\nexport const KeyValueRowRoot: React.FC<KeyValueRowRootProps> = ({\n children,\n twClassName,\n style,\n ...props\n}) => {\n const tw = useTailwind();\n\n return (\n <View\n style={[\n tw.style(\n 'flex-row justify-between items-center overflow-hidden',\n twClassName,\n ),\n style,\n ]}\n {...props}\n >\n {children}\n </View>\n );\n};\n"]}
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- import type { KeyValueRowRootProps } from "../KeyValueRow.types.cjs";
3
- /**
4
- * The main container for the KeyValueRow component.
5
- * When creating custom KeyValueRow components, this must be the outermost component
6
- * wrapping the two <KeyValueSection/> components.
7
- *
8
- * e.g.
9
- * ```
10
- * <KeyValueRowRoot>
11
- * <KeyValueSection></KeyValueSection>
12
- * <KeyValueSection></KeyValueSection>
13
- * </KeyValueRowRoot>
14
- * ```
15
- *
16
- * @param props - Component props.
17
- * @param props.children - The two <KeyValueSection> children.
18
- * @param props.twClassName - Optional Tailwind class names to override root styles.
19
- * @param props.style - Optional additional styles for the root element.
20
- *
21
- * @returns The rendered Root component.
22
- */
23
- export declare const KeyValueRowRoot: React.FC<KeyValueRowRootProps>;
24
- //# sourceMappingURL=KeyValueRoot.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRoot.d.cts","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueRoot/KeyValueRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAG1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,iCAA6B;AAEjE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsB1D,CAAC"}
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- import type { KeyValueRowRootProps } from "../KeyValueRow.types.mjs";
3
- /**
4
- * The main container for the KeyValueRow component.
5
- * When creating custom KeyValueRow components, this must be the outermost component
6
- * wrapping the two <KeyValueSection/> components.
7
- *
8
- * e.g.
9
- * ```
10
- * <KeyValueRowRoot>
11
- * <KeyValueSection></KeyValueSection>
12
- * <KeyValueSection></KeyValueSection>
13
- * </KeyValueRowRoot>
14
- * ```
15
- *
16
- * @param props - Component props.
17
- * @param props.children - The two <KeyValueSection> children.
18
- * @param props.twClassName - Optional Tailwind class names to override root styles.
19
- * @param props.style - Optional additional styles for the root element.
20
- *
21
- * @returns The rendered Root component.
22
- */
23
- export declare const KeyValueRowRoot: React.FC<KeyValueRowRootProps>;
24
- //# sourceMappingURL=KeyValueRoot.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRoot.d.mts","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueRoot/KeyValueRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAG1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,iCAA6B;AAEjE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsB1D,CAAC"}
@@ -1,40 +0,0 @@
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
- /**
12
- * The main container for the KeyValueRow component.
13
- * When creating custom KeyValueRow components, this must be the outermost component
14
- * wrapping the two <KeyValueSection/> components.
15
- *
16
- * e.g.
17
- * ```
18
- * <KeyValueRowRoot>
19
- * <KeyValueSection></KeyValueSection>
20
- * <KeyValueSection></KeyValueSection>
21
- * </KeyValueRowRoot>
22
- * ```
23
- *
24
- * @param props - Component props.
25
- * @param props.children - The two <KeyValueSection> children.
26
- * @param props.twClassName - Optional Tailwind class names to override root styles.
27
- * @param props.style - Optional additional styles for the root element.
28
- *
29
- * @returns The rendered Root component.
30
- */
31
- export const KeyValueRowRoot = ({ children, twClassName, style, ...props }) => {
32
- const tw = useTailwind();
33
- return (<View style={[
34
- tw.style('flex-row justify-between items-center overflow-hidden', twClassName),
35
- style,
36
- ]} {...props}>
37
- {children}
38
- </View>);
39
- };
40
- //# sourceMappingURL=KeyValueRoot.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRoot.mjs","sourceRoot":"","sources":["../../../../src/components/KeyValueRow/KeyValueRoot/KeyValueRoot.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,sDAAsD;AAC5E,OAAO,MAAK,cAAc;;AAC1B,OAAO,EAAE,IAAI,EAAE,8BAAqB;AAIpC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAC9D,QAAQ,EACR,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAEzB,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC;YACL,EAAE,CAAC,KAAK,CACN,uDAAuD,EACvD,WAAW,CACZ;YACD,KAAK;SACN,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport type { KeyValueRowRootProps } from '../KeyValueRow.types';\n\n/**\n * The main container for the KeyValueRow component.\n * When creating custom KeyValueRow components, this must be the outermost component\n * wrapping the two <KeyValueSection/> components.\n *\n * e.g.\n * ```\n * <KeyValueRowRoot>\n * <KeyValueSection></KeyValueSection>\n * <KeyValueSection></KeyValueSection>\n * </KeyValueRowRoot>\n * ```\n *\n * @param props - Component props.\n * @param props.children - The two <KeyValueSection> children.\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 Root component.\n */\nexport const KeyValueRowRoot: React.FC<KeyValueRowRootProps> = ({\n children,\n twClassName,\n style,\n ...props\n}) => {\n const tw = useTailwind();\n\n return (\n <View\n style={[\n tw.style(\n 'flex-row justify-between items-center overflow-hidden',\n twClassName,\n ),\n style,\n ]}\n {...props}\n >\n {children}\n </View>\n );\n};\n"]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isPreDefinedKeyValueRowLabel = void 0;
4
- const isPreDefinedKeyValueRowLabel = (label) => label !== null && typeof label === 'object' && 'text' in label;
5
- exports.isPreDefinedKeyValueRowLabel = isPreDefinedKeyValueRowLabel;
6
- //# sourceMappingURL=KeyValueRow.utils.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRow.utils.cjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.utils.ts"],"names":[],"mappings":";;;AAKO,MAAM,4BAA4B,GAAG,CAC1C,KAAqC,EACA,EAAE,CACvC,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,CAAC;AAHpD,QAAA,4BAA4B,gCAGwB","sourcesContent":["import {\n KeyValueRowLabelProps,\n PreDefinedKeyValueRowLabel,\n} from './KeyValueRow.types';\n\nexport const isPreDefinedKeyValueRowLabel = (\n label: KeyValueRowLabelProps['label'],\n): label is PreDefinedKeyValueRowLabel =>\n label !== null && typeof label === 'object' && 'text' in label;\n"]}
@@ -1,3 +0,0 @@
1
- import { KeyValueRowLabelProps, PreDefinedKeyValueRowLabel } from "./KeyValueRow.types.cjs";
2
- export declare const isPreDefinedKeyValueRowLabel: (label: KeyValueRowLabelProps['label']) => label is PreDefinedKeyValueRowLabel;
3
- //# sourceMappingURL=KeyValueRow.utils.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRow.utils.d.cts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,gCAA4B;AAE7B,eAAO,MAAM,4BAA4B,UAChC,qBAAqB,CAAC,OAAO,CAAC,wCAEyB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { KeyValueRowLabelProps, PreDefinedKeyValueRowLabel } from "./KeyValueRow.types.mjs";
2
- export declare const isPreDefinedKeyValueRowLabel: (label: KeyValueRowLabelProps['label']) => label is PreDefinedKeyValueRowLabel;
3
- //# sourceMappingURL=KeyValueRow.utils.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRow.utils.d.mts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,gCAA4B;AAE7B,eAAO,MAAM,4BAA4B,UAChC,qBAAqB,CAAC,OAAO,CAAC,wCAEyB,CAAC"}
@@ -1,2 +0,0 @@
1
- export const isPreDefinedKeyValueRowLabel = (label) => label !== null && typeof label === 'object' && 'text' in label;
2
- //# sourceMappingURL=KeyValueRow.utils.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueRow.utils.mjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.utils.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,KAAqC,EACA,EAAE,CACvC,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,CAAC","sourcesContent":["import {\n KeyValueRowLabelProps,\n PreDefinedKeyValueRowLabel,\n} from './KeyValueRow.types';\n\nexport const isPreDefinedKeyValueRowLabel = (\n label: KeyValueRowLabelProps['label'],\n): label is PreDefinedKeyValueRowLabel =>\n label !== null && typeof label === 'object' && 'text' in label;\n"]}