@metamask-previews/design-system-react-native 0.11.0-preview.fa05289 → 0.13.0-preview.69c659c

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 (293) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/dist/components/AvatarNetwork/AvatarNetwork.types.cjs.map +1 -1
  3. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.cts +7 -9
  4. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.cts.map +1 -1
  5. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.mts +7 -9
  6. package/dist/components/AvatarNetwork/AvatarNetwork.types.d.mts.map +1 -1
  7. package/dist/components/AvatarNetwork/AvatarNetwork.types.mjs.map +1 -1
  8. package/dist/components/BadgeWrapper/BadgeWrapper.cjs +8 -8
  9. package/dist/components/BadgeWrapper/BadgeWrapper.cjs.map +1 -1
  10. package/dist/components/BadgeWrapper/BadgeWrapper.d.cts.map +1 -1
  11. package/dist/components/BadgeWrapper/BadgeWrapper.d.mts.map +1 -1
  12. package/dist/components/BadgeWrapper/BadgeWrapper.mjs +1 -1
  13. package/dist/components/BadgeWrapper/BadgeWrapper.mjs.map +1 -1
  14. package/dist/components/BadgeWrapper/BadgeWrapper.types.cjs.map +1 -1
  15. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.cts +4 -51
  16. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.cts.map +1 -1
  17. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.mts +4 -51
  18. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.mts.map +1 -1
  19. package/dist/components/BadgeWrapper/BadgeWrapper.types.mjs.map +1 -1
  20. package/dist/components/BadgeWrapper/index.cjs +3 -3
  21. package/dist/components/BadgeWrapper/index.cjs.map +1 -1
  22. package/dist/components/BadgeWrapper/index.d.cts +1 -2
  23. package/dist/components/BadgeWrapper/index.d.cts.map +1 -1
  24. package/dist/components/BadgeWrapper/index.d.mts +1 -2
  25. package/dist/components/BadgeWrapper/index.d.mts.map +1 -1
  26. package/dist/components/BadgeWrapper/index.mjs +1 -1
  27. package/dist/components/BadgeWrapper/index.mjs.map +1 -1
  28. package/dist/components/BannerAlert/BannerAlert.constants.cjs +8 -8
  29. package/dist/components/BannerAlert/BannerAlert.constants.cjs.map +1 -1
  30. package/dist/components/BannerAlert/BannerAlert.constants.d.cts +2 -2
  31. package/dist/components/BannerAlert/BannerAlert.constants.d.cts.map +1 -1
  32. package/dist/components/BannerAlert/BannerAlert.constants.d.mts +2 -2
  33. package/dist/components/BannerAlert/BannerAlert.constants.d.mts.map +1 -1
  34. package/dist/components/BannerAlert/BannerAlert.constants.mjs +2 -2
  35. package/dist/components/BannerAlert/BannerAlert.constants.mjs.map +1 -1
  36. package/dist/components/BannerBase/BannerBase.cjs +2 -1
  37. package/dist/components/BannerBase/BannerBase.cjs.map +1 -1
  38. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -1
  39. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -1
  40. package/dist/components/BannerBase/BannerBase.mjs +2 -1
  41. package/dist/components/BannerBase/BannerBase.mjs.map +1 -1
  42. package/dist/components/BottomSheet/BottomSheet.cjs +2 -2
  43. package/dist/components/BottomSheet/BottomSheet.cjs.map +1 -1
  44. package/dist/components/BottomSheet/BottomSheet.d.cts +30 -0
  45. package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -1
  46. package/dist/components/BottomSheet/BottomSheet.d.mts +30 -0
  47. package/dist/components/BottomSheet/BottomSheet.d.mts.map +1 -1
  48. package/dist/components/BottomSheet/BottomSheet.mjs +2 -2
  49. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -1
  50. package/dist/components/BottomSheetDialog/BottomSheetDialog.cjs +2 -2
  51. package/dist/components/BottomSheetDialog/BottomSheetDialog.cjs.map +1 -1
  52. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.cts +30 -0
  53. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.cts.map +1 -1
  54. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.mts +30 -0
  55. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.mts.map +1 -1
  56. package/dist/components/BottomSheetDialog/BottomSheetDialog.mjs +2 -2
  57. package/dist/components/BottomSheetDialog/BottomSheetDialog.mjs.map +1 -1
  58. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.cjs.map +1 -1
  59. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.cts +7 -0
  60. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.cts.map +1 -1
  61. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.mts +7 -0
  62. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.mts.map +1 -1
  63. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.mjs.map +1 -1
  64. package/dist/components/BottomSheetHeader/BottomSheetHeader.cjs +2 -2
  65. package/dist/components/BottomSheetHeader/BottomSheetHeader.cjs.map +1 -1
  66. package/dist/components/BottomSheetHeader/BottomSheetHeader.mjs +2 -2
  67. package/dist/components/BottomSheetHeader/BottomSheetHeader.mjs.map +1 -1
  68. package/dist/components/Box/Box.constants.cjs.map +1 -1
  69. package/dist/components/Box/Box.constants.d.cts +1 -1
  70. package/dist/components/Box/Box.constants.d.cts.map +1 -1
  71. package/dist/components/Box/Box.constants.d.mts +1 -1
  72. package/dist/components/Box/Box.constants.d.mts.map +1 -1
  73. package/dist/components/Box/Box.constants.mjs.map +1 -1
  74. package/dist/components/Box/Box.types.cjs.map +1 -1
  75. package/dist/components/Box/Box.types.d.cts +3 -107
  76. package/dist/components/Box/Box.types.d.cts.map +1 -1
  77. package/dist/components/Box/Box.types.d.mts +3 -107
  78. package/dist/components/Box/Box.types.d.mts.map +1 -1
  79. package/dist/components/Box/Box.types.mjs.map +1 -1
  80. package/dist/components/Box/index.cjs +7 -7
  81. package/dist/components/Box/index.cjs.map +1 -1
  82. package/dist/components/Box/index.d.cts +1 -2
  83. package/dist/components/Box/index.d.cts.map +1 -1
  84. package/dist/components/Box/index.d.mts +1 -2
  85. package/dist/components/Box/index.d.mts.map +1 -1
  86. package/dist/components/Box/index.mjs +1 -1
  87. package/dist/components/Box/index.mjs.map +1 -1
  88. package/dist/components/BoxHorizontal/BoxHorizontal.cjs +18 -0
  89. package/dist/components/BoxHorizontal/BoxHorizontal.cjs.map +1 -0
  90. package/dist/components/BoxHorizontal/BoxHorizontal.d.cts +7 -0
  91. package/dist/components/BoxHorizontal/BoxHorizontal.d.cts.map +1 -0
  92. package/dist/components/BoxHorizontal/BoxHorizontal.d.mts +7 -0
  93. package/dist/components/BoxHorizontal/BoxHorizontal.d.mts.map +1 -0
  94. package/dist/components/BoxHorizontal/BoxHorizontal.mjs +18 -0
  95. package/dist/components/BoxHorizontal/BoxHorizontal.mjs.map +1 -0
  96. package/dist/components/BoxHorizontal/BoxHorizontal.types.cjs +3 -0
  97. package/dist/components/BoxHorizontal/BoxHorizontal.types.cjs.map +1 -0
  98. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.cts +13 -0
  99. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.cts.map +1 -0
  100. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.mts +13 -0
  101. package/dist/components/BoxHorizontal/BoxHorizontal.types.d.mts.map +1 -0
  102. package/dist/components/BoxHorizontal/BoxHorizontal.types.mjs +2 -0
  103. package/dist/components/BoxHorizontal/BoxHorizontal.types.mjs.map +1 -0
  104. package/dist/components/BoxHorizontal/index.cjs +6 -0
  105. package/dist/components/BoxHorizontal/index.cjs.map +1 -0
  106. package/dist/components/BoxHorizontal/index.d.cts +3 -0
  107. package/dist/components/BoxHorizontal/index.d.cts.map +1 -0
  108. package/dist/components/BoxHorizontal/index.d.mts +3 -0
  109. package/dist/components/BoxHorizontal/index.d.mts.map +1 -0
  110. package/dist/components/BoxHorizontal/index.mjs +2 -0
  111. package/dist/components/BoxHorizontal/index.mjs.map +1 -0
  112. package/dist/components/BoxVertical/BoxVertical.cjs +18 -0
  113. package/dist/components/BoxVertical/BoxVertical.cjs.map +1 -0
  114. package/dist/components/BoxVertical/BoxVertical.d.cts +7 -0
  115. package/dist/components/BoxVertical/BoxVertical.d.cts.map +1 -0
  116. package/dist/components/BoxVertical/BoxVertical.d.mts +7 -0
  117. package/dist/components/BoxVertical/BoxVertical.d.mts.map +1 -0
  118. package/dist/components/BoxVertical/BoxVertical.mjs +18 -0
  119. package/dist/components/BoxVertical/BoxVertical.mjs.map +1 -0
  120. package/dist/components/BoxVertical/BoxVertical.types.cjs +3 -0
  121. package/dist/components/BoxVertical/BoxVertical.types.cjs.map +1 -0
  122. package/dist/components/BoxVertical/BoxVertical.types.d.cts +13 -0
  123. package/dist/components/BoxVertical/BoxVertical.types.d.cts.map +1 -0
  124. package/dist/components/BoxVertical/BoxVertical.types.d.mts +13 -0
  125. package/dist/components/BoxVertical/BoxVertical.types.d.mts.map +1 -0
  126. package/dist/components/BoxVertical/BoxVertical.types.mjs +2 -0
  127. package/dist/components/BoxVertical/BoxVertical.types.mjs.map +1 -0
  128. package/dist/components/BoxVertical/index.cjs +6 -0
  129. package/dist/components/BoxVertical/index.cjs.map +1 -0
  130. package/dist/components/BoxVertical/index.d.cts +3 -0
  131. package/dist/components/BoxVertical/index.d.cts.map +1 -0
  132. package/dist/components/BoxVertical/index.d.mts +3 -0
  133. package/dist/components/BoxVertical/index.d.mts.map +1 -0
  134. package/dist/components/BoxVertical/index.mjs +2 -0
  135. package/dist/components/BoxVertical/index.mjs.map +1 -0
  136. package/dist/components/Icon/assets/candlestick.svg +1 -1
  137. package/dist/components/Input/Input.cjs +4 -3
  138. package/dist/components/Input/Input.cjs.map +1 -1
  139. package/dist/components/Input/Input.constants.cjs +69 -0
  140. package/dist/components/Input/Input.constants.cjs.map +1 -0
  141. package/dist/components/Input/Input.constants.d.cts +11 -0
  142. package/dist/components/Input/Input.constants.d.cts.map +1 -0
  143. package/dist/components/Input/Input.constants.d.mts +11 -0
  144. package/dist/components/Input/Input.constants.d.mts.map +1 -0
  145. package/dist/components/Input/Input.constants.mjs +66 -0
  146. package/dist/components/Input/Input.constants.mjs.map +1 -0
  147. package/dist/components/Input/Input.d.cts.map +1 -1
  148. package/dist/components/Input/Input.d.mts.map +1 -1
  149. package/dist/components/Input/Input.mjs +4 -3
  150. package/dist/components/Input/Input.mjs.map +1 -1
  151. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs +33 -0
  152. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs.map +1 -0
  153. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts +14 -0
  154. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts.map +1 -0
  155. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts +14 -0
  156. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts.map +1 -0
  157. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs +35 -0
  158. package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs.map +1 -0
  159. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs +39 -0
  160. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs.map +1 -0
  161. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts +25 -0
  162. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts.map +1 -0
  163. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts +25 -0
  164. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts.map +1 -0
  165. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs +41 -0
  166. package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs.map +1 -0
  167. package/dist/components/KeyValueRow/KeyValueRow.cjs +76 -0
  168. package/dist/components/KeyValueRow/KeyValueRow.cjs.map +1 -0
  169. package/dist/components/KeyValueRow/KeyValueRow.d.cts +25 -0
  170. package/dist/components/KeyValueRow/KeyValueRow.d.cts.map +1 -0
  171. package/dist/components/KeyValueRow/KeyValueRow.d.mts +25 -0
  172. package/dist/components/KeyValueRow/KeyValueRow.d.mts.map +1 -0
  173. package/dist/components/KeyValueRow/KeyValueRow.mjs +77 -0
  174. package/dist/components/KeyValueRow/KeyValueRow.mjs.map +1 -0
  175. package/dist/components/KeyValueRow/KeyValueRow.types.cjs +29 -0
  176. package/dist/components/KeyValueRow/KeyValueRow.types.cjs.map +1 -0
  177. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts +177 -0
  178. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts.map +1 -0
  179. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts +177 -0
  180. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts.map +1 -0
  181. package/dist/components/KeyValueRow/KeyValueRow.types.mjs +26 -0
  182. package/dist/components/KeyValueRow/KeyValueRow.types.mjs.map +1 -0
  183. package/dist/components/KeyValueRow/KeyValueRow.utils.cjs +6 -0
  184. package/dist/components/KeyValueRow/KeyValueRow.utils.cjs.map +1 -0
  185. package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts +3 -0
  186. package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts.map +1 -0
  187. package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts +3 -0
  188. package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts.map +1 -0
  189. package/dist/components/KeyValueRow/KeyValueRow.utils.mjs +2 -0
  190. package/dist/components/KeyValueRow/KeyValueRow.utils.mjs.map +1 -0
  191. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs +29 -0
  192. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs.map +1 -0
  193. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts +17 -0
  194. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts.map +1 -0
  195. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts +17 -0
  196. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts.map +1 -0
  197. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs +31 -0
  198. package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs.map +1 -0
  199. package/dist/components/KeyValueRow/index.cjs +15 -0
  200. package/dist/components/KeyValueRow/index.cjs.map +1 -0
  201. package/dist/components/KeyValueRow/index.d.cts +3 -0
  202. package/dist/components/KeyValueRow/index.d.cts.map +1 -0
  203. package/dist/components/KeyValueRow/index.d.mts +3 -0
  204. package/dist/components/KeyValueRow/index.d.mts.map +1 -0
  205. package/dist/components/KeyValueRow/index.mjs +3 -0
  206. package/dist/components/KeyValueRow/index.mjs.map +1 -0
  207. package/dist/components/Text/Text.types.cjs.map +1 -1
  208. package/dist/components/Text/Text.types.d.cts +1 -1
  209. package/dist/components/Text/Text.types.d.mts +1 -1
  210. package/dist/components/Text/Text.types.mjs.map +1 -1
  211. package/dist/components/TextButton/TextButton.cjs +12 -36
  212. package/dist/components/TextButton/TextButton.cjs.map +1 -1
  213. package/dist/components/TextButton/TextButton.d.cts.map +1 -1
  214. package/dist/components/TextButton/TextButton.d.mts.map +1 -1
  215. package/dist/components/TextButton/TextButton.mjs +14 -38
  216. package/dist/components/TextButton/TextButton.mjs.map +1 -1
  217. package/dist/components/TextButton/TextButton.types.cjs.map +1 -1
  218. package/dist/components/TextButton/TextButton.types.d.cts +8 -60
  219. package/dist/components/TextButton/TextButton.types.d.cts.map +1 -1
  220. package/dist/components/TextButton/TextButton.types.d.mts +8 -60
  221. package/dist/components/TextButton/TextButton.types.d.mts.map +1 -1
  222. package/dist/components/TextButton/TextButton.types.mjs.map +1 -1
  223. package/dist/components/TextButton/index.cjs +1 -3
  224. package/dist/components/TextButton/index.cjs.map +1 -1
  225. package/dist/components/TextButton/index.d.cts +0 -1
  226. package/dist/components/TextButton/index.d.cts.map +1 -1
  227. package/dist/components/TextButton/index.d.mts +0 -1
  228. package/dist/components/TextButton/index.d.mts.map +1 -1
  229. package/dist/components/TextButton/index.mjs +0 -1
  230. package/dist/components/TextButton/index.mjs.map +1 -1
  231. package/dist/components/TextField/TextField.cjs +22 -8
  232. package/dist/components/TextField/TextField.cjs.map +1 -1
  233. package/dist/components/TextField/TextField.d.cts +0 -2
  234. package/dist/components/TextField/TextField.d.cts.map +1 -1
  235. package/dist/components/TextField/TextField.d.mts +0 -2
  236. package/dist/components/TextField/TextField.d.mts.map +1 -1
  237. package/dist/components/TextField/TextField.mjs +22 -8
  238. package/dist/components/TextField/TextField.mjs.map +1 -1
  239. package/dist/components/TextField/TextField.types.cjs +0 -10
  240. package/dist/components/TextField/TextField.types.cjs.map +1 -1
  241. package/dist/components/TextField/TextField.types.d.cts +0 -14
  242. package/dist/components/TextField/TextField.types.d.cts.map +1 -1
  243. package/dist/components/TextField/TextField.types.d.mts +0 -14
  244. package/dist/components/TextField/TextField.types.d.mts.map +1 -1
  245. package/dist/components/TextField/TextField.types.mjs +1 -9
  246. package/dist/components/TextField/TextField.types.mjs.map +1 -1
  247. package/dist/components/TextField/index.cjs +1 -3
  248. package/dist/components/TextField/index.cjs.map +1 -1
  249. package/dist/components/TextField/index.d.cts +0 -1
  250. package/dist/components/TextField/index.d.cts.map +1 -1
  251. package/dist/components/TextField/index.d.mts +0 -1
  252. package/dist/components/TextField/index.d.mts.map +1 -1
  253. package/dist/components/TextField/index.mjs +0 -1
  254. package/dist/components/TextField/index.mjs.map +1 -1
  255. package/dist/components/index.cjs +6 -4
  256. package/dist/components/index.cjs.map +1 -1
  257. package/dist/components/index.d.cts +6 -2
  258. package/dist/components/index.d.cts.map +1 -1
  259. package/dist/components/index.d.mts +6 -2
  260. package/dist/components/index.d.mts.map +1 -1
  261. package/dist/components/index.mjs +4 -2
  262. package/dist/components/index.mjs.map +1 -1
  263. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.cjs.map +1 -1
  264. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.cts +2 -5
  265. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.cts.map +1 -1
  266. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.mts +2 -5
  267. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.mts.map +1 -1
  268. package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.mjs.map +1 -1
  269. package/dist/types/index.cjs +3 -203
  270. package/dist/types/index.cjs.map +1 -1
  271. package/dist/types/index.d.cts +2 -210
  272. package/dist/types/index.d.cts.map +1 -1
  273. package/dist/types/index.d.mts +2 -210
  274. package/dist/types/index.d.mts.map +1 -1
  275. package/dist/types/index.mjs +2 -202
  276. package/dist/types/index.mjs.map +1 -1
  277. package/package.json +5 -6
  278. package/dist/components/TextButton/TextButton.constants.cjs +0 -12
  279. package/dist/components/TextButton/TextButton.constants.cjs.map +0 -1
  280. package/dist/components/TextButton/TextButton.constants.d.cts +0 -4
  281. package/dist/components/TextButton/TextButton.constants.d.cts.map +0 -1
  282. package/dist/components/TextButton/TextButton.constants.d.mts +0 -4
  283. package/dist/components/TextButton/TextButton.constants.d.mts.map +0 -1
  284. package/dist/components/TextButton/TextButton.constants.mjs +0 -9
  285. package/dist/components/TextButton/TextButton.constants.mjs.map +0 -1
  286. package/dist/components/TextField/TextField.constants.cjs +0 -13
  287. package/dist/components/TextField/TextField.constants.cjs.map +0 -1
  288. package/dist/components/TextField/TextField.constants.d.cts +0 -6
  289. package/dist/components/TextField/TextField.constants.d.cts.map +0 -1
  290. package/dist/components/TextField/TextField.constants.d.mts +0 -6
  291. package/dist/components/TextField/TextField.constants.d.mts.map +0 -1
  292. package/dist/components/TextField/TextField.constants.mjs +0 -10
  293. package/dist/components/TextField/TextField.constants.mjs.map +0 -1
@@ -1,113 +1,9 @@
1
+ import type { BoxPropsShared } from "@metamask-previews/design-system-shared";
1
2
  import type { ViewProps } from "react-native/index.js";
2
- import type { BoxFlexDirection, BoxFlexWrap, BoxSpacing, BoxBorderWidth, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "../../types/index.mjs";
3
- export type BoxProps = {
4
- /**
5
- * The flexDirection style of the component.
6
- */
7
- flexDirection?: BoxFlexDirection;
8
- /**
9
- * The flexWrap style of the component.
10
- */
11
- flexWrap?: BoxFlexWrap;
12
- /**
13
- * The gap between the component's children.
14
- * Use 1-12 for a gap of 4px-48px.
15
- */
16
- gap?: BoxSpacing;
17
- /**
18
- * The alignItems style of the component.
19
- */
20
- alignItems?: BoxAlignItems;
21
- /**
22
- * The justifyContent style of the component.
23
- */
24
- justifyContent?: BoxJustifyContent;
25
- /**
26
- * The margin of the component.
27
- * Use 1-12 for margin of 4px-48px.
28
- */
29
- margin?: BoxSpacing;
30
- /**
31
- * The top margin of the component.
32
- * Use 1-12 for margin of 4px-48px.
33
- */
34
- marginTop?: BoxSpacing;
35
- /**
36
- * The right margin of the component.
37
- * Use 1-12 for margin of 4px-48px.
38
- */
39
- marginRight?: BoxSpacing;
40
- /**
41
- * The bottom margin of the component.
42
- * Use 1-12 for margin of 4px-48px.
43
- */
44
- marginBottom?: BoxSpacing;
45
- /**
46
- * The left margin of the component.
47
- * Use 1-12 for margin of 4px-48px.
48
- */
49
- marginLeft?: BoxSpacing;
50
- /**
51
- * The horizontal margin of the component.
52
- * Use 1-12 for margin of 4px-48px.
53
- */
54
- marginHorizontal?: BoxSpacing;
55
- /**
56
- * The vertical margin of the component.
57
- * Use 1-12 for margin of 4px-48px.
58
- */
59
- marginVertical?: BoxSpacing;
60
- /**
61
- * The padding of the component.
62
- * Use 1-12 for padding of 4px-48px.
63
- */
64
- padding?: BoxSpacing;
65
- /**
66
- * The top padding of the component.
67
- * Use 1-12 for padding of 4px-48px.
68
- */
69
- paddingTop?: BoxSpacing;
70
- /**
71
- * The right padding of the component.
72
- * Use 1-12 for padding of 4px-48px.
73
- */
74
- paddingRight?: BoxSpacing;
75
- /**
76
- * The bottom padding of the component.
77
- * Use 1-12 for padding of 4px-48px.
78
- */
79
- paddingBottom?: BoxSpacing;
80
- /**
81
- * The left padding of the component.
82
- * Use 1-12 for padding of 4px-48px.
83
- */
84
- paddingLeft?: BoxSpacing;
85
- /**
86
- * The horizontal padding of the component.
87
- * Use 1-12 for padding of 4px-48px.
88
- */
89
- paddingHorizontal?: BoxSpacing;
90
- /**
91
- * The vertical padding of the component.
92
- * Use 1-12 for padding of 4px-48px.
93
- */
94
- paddingVertical?: BoxSpacing;
95
- /**
96
- * The border width of the component.
97
- * Use 0, 1, 2, 4, or 8 for border width of 0px, 1px, 2px, 4px, or 8px.
98
- */
99
- borderWidth?: BoxBorderWidth;
100
- /**
101
- * The border color of the component.
102
- */
103
- borderColor?: BoxBorderColor;
104
- /**
105
- * The background color of the component.
106
- */
107
- backgroundColor?: BoxBackgroundColor;
3
+ export type BoxProps = BoxPropsShared & ViewProps & {
108
4
  /**
109
5
  * Optional prop to add twrnc overriding classNames.
110
6
  */
111
7
  twClassName?: string;
112
- } & ViewProps;
8
+ };
113
9
  //# sourceMappingURL=Box.types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.types.d.mts","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,8BAAqB;AAE9C,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACf,8BAAoB;AAErB,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB;;;OAGG;IACH,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,CAAC;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;OAGG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B;;;OAGG;IACH,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B;;OAEG;IACH,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"Box.types.d.mts","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gDAAgD;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,8BAAqB;AAE9C,MAAM,MAAM,QAAQ,GAAG,cAAc,GACnC,SAAS,GAAG;IACV;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Box.types.mjs","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps } from 'react-native';\n\nimport type {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxSpacing,\n BoxBorderWidth,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from '../../types';\n\nexport type BoxProps = {\n /**\n * The flexDirection style of the component.\n */\n flexDirection?: BoxFlexDirection;\n /**\n * The flexWrap style of the component.\n */\n flexWrap?: BoxFlexWrap;\n /**\n * The gap between the component's children.\n * Use 1-12 for a gap of 4px-48px.\n */\n gap?: BoxSpacing;\n /**\n * The alignItems style of the component.\n */\n alignItems?: BoxAlignItems;\n /**\n * The justifyContent style of the component.\n */\n justifyContent?: BoxJustifyContent;\n /**\n * The margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n margin?: BoxSpacing;\n /**\n * The top margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n marginTop?: BoxSpacing;\n /**\n * The right margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n marginRight?: BoxSpacing;\n /**\n * The bottom margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n marginBottom?: BoxSpacing;\n /**\n * The left margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n marginLeft?: BoxSpacing;\n /**\n * The horizontal margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n marginHorizontal?: BoxSpacing;\n /**\n * The vertical margin of the component.\n * Use 1-12 for margin of 4px-48px.\n */\n marginVertical?: BoxSpacing;\n /**\n * The padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n padding?: BoxSpacing;\n /**\n * The top padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n paddingTop?: BoxSpacing;\n /**\n * The right padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n paddingRight?: BoxSpacing;\n /**\n * The bottom padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n paddingBottom?: BoxSpacing;\n /**\n * The left padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n paddingLeft?: BoxSpacing;\n /**\n * The horizontal padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n paddingHorizontal?: BoxSpacing;\n /**\n * The vertical padding of the component.\n * Use 1-12 for padding of 4px-48px.\n */\n paddingVertical?: BoxSpacing;\n /**\n * The border width of the component.\n * Use 0, 1, 2, 4, or 8 for border width of 0px, 1px, 2px, 4px, or 8px.\n */\n borderWidth?: BoxBorderWidth;\n /**\n * The border color of the component.\n */\n borderColor?: BoxBorderColor;\n /**\n * The background color of the component.\n */\n backgroundColor?: BoxBackgroundColor;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n} & ViewProps;\n"]}
1
+ {"version":3,"file":"Box.types.mjs","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BoxPropsShared } from '@metamask-previews/design-system-shared';\nimport type { ViewProps } from 'react-native';\n\nexport type BoxProps = BoxPropsShared &\n ViewProps & {\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n };\n"]}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Box = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = void 0;
4
- var types_1 = require("../../types/index.cjs");
5
- Object.defineProperty(exports, "BoxFlexDirection", { enumerable: true, get: function () { return types_1.BoxFlexDirection; } });
6
- Object.defineProperty(exports, "BoxFlexWrap", { enumerable: true, get: function () { return types_1.BoxFlexWrap; } });
7
- Object.defineProperty(exports, "BoxAlignItems", { enumerable: true, get: function () { return types_1.BoxAlignItems; } });
8
- Object.defineProperty(exports, "BoxJustifyContent", { enumerable: true, get: function () { return types_1.BoxJustifyContent; } });
9
- Object.defineProperty(exports, "BoxBackgroundColor", { enumerable: true, get: function () { return types_1.BoxBackgroundColor; } });
10
- Object.defineProperty(exports, "BoxBorderColor", { enumerable: true, get: function () { return types_1.BoxBorderColor; } });
4
+ var design_system_shared_1 = require("@metamask-previews/design-system-shared");
5
+ Object.defineProperty(exports, "BoxFlexDirection", { enumerable: true, get: function () { return design_system_shared_1.BoxFlexDirection; } });
6
+ Object.defineProperty(exports, "BoxFlexWrap", { enumerable: true, get: function () { return design_system_shared_1.BoxFlexWrap; } });
7
+ Object.defineProperty(exports, "BoxAlignItems", { enumerable: true, get: function () { return design_system_shared_1.BoxAlignItems; } });
8
+ Object.defineProperty(exports, "BoxJustifyContent", { enumerable: true, get: function () { return design_system_shared_1.BoxJustifyContent; } });
9
+ Object.defineProperty(exports, "BoxBackgroundColor", { enumerable: true, get: function () { return design_system_shared_1.BoxBackgroundColor; } });
10
+ Object.defineProperty(exports, "BoxBorderColor", { enumerable: true, get: function () { return design_system_shared_1.BoxBorderColor; } });
11
11
  var Box_1 = require("./Box.cjs");
12
12
  Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return Box_1.Box; } });
13
13
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":";;;AAAA,+CAOqB;AANnB,yGAAA,gBAAgB,OAAA;AAChB,oGAAA,WAAW,OAAA;AACX,sGAAA,aAAa,OAAA;AACb,0GAAA,iBAAiB,OAAA;AACjB,2GAAA,kBAAkB,OAAA;AAClB,uGAAA,cAAc,OAAA;AAGhB,iCAA4B;AAAnB,0FAAA,GAAG,OAAA","sourcesContent":["export {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from '../../types';\nexport type { BoxSpacing, BoxBorderWidth } from '../../types';\nexport { Box } from './Box';\nexport type { BoxProps } from './Box.types';\n"]}
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":";;;AAAA,gFASiD;AAR/C,wHAAA,gBAAgB,OAAA;AAChB,mHAAA,WAAW,OAAA;AACX,qHAAA,aAAa,OAAA;AACb,yHAAA,iBAAiB,OAAA;AACjB,0HAAA,kBAAkB,OAAA;AAClB,sHAAA,cAAc,OAAA;AAIhB,iCAA4B;AAAnB,0FAAA,GAAG,OAAA","sourcesContent":["export {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n} from '@metamask-previews/design-system-shared';\nexport { Box } from './Box';\nexport type { BoxProps } from './Box.types';\n"]}
@@ -1,5 +1,4 @@
1
- export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, } from "../../types/index.cjs";
2
- export type { BoxSpacing, BoxBorderWidth } from "../../types/index.cjs";
1
+ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, } from "@metamask-previews/design-system-shared";
3
2
  export { Box } from "./Box.cjs";
4
3
  export type { BoxProps } from "./Box.types.cjs";
5
4
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,GACf,8BAAoB;AACrB,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,8BAAoB;AAC9D,OAAO,EAAE,GAAG,EAAE,kBAAc;AAC5B,YAAY,EAAE,QAAQ,EAAE,wBAAoB"}
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,GACpB,gDAAgD;AACjD,OAAO,EAAE,GAAG,EAAE,kBAAc;AAC5B,YAAY,EAAE,QAAQ,EAAE,wBAAoB"}
@@ -1,5 +1,4 @@
1
- export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, } from "../../types/index.mjs";
2
- export type { BoxSpacing, BoxBorderWidth } from "../../types/index.mjs";
1
+ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, } from "@metamask-previews/design-system-shared";
3
2
  export { Box } from "./Box.mjs";
4
3
  export type { BoxProps } from "./Box.types.mjs";
5
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,GACf,8BAAoB;AACrB,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,8BAAoB;AAC9D,OAAO,EAAE,GAAG,EAAE,kBAAc;AAC5B,YAAY,EAAE,QAAQ,EAAE,wBAAoB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,GACpB,gDAAgD;AACjD,OAAO,EAAE,GAAG,EAAE,kBAAc;AAC5B,YAAY,EAAE,QAAQ,EAAE,wBAAoB"}
@@ -1,3 +1,3 @@
1
- export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "../../types/index.mjs";
1
+ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "@metamask-previews/design-system-shared";
2
2
  export { Box } from "./Box.mjs";
3
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACf,8BAAoB;AAErB,OAAO,EAAE,GAAG,EAAE,kBAAc","sourcesContent":["export {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from '../../types';\nexport type { BoxSpacing, BoxBorderWidth } from '../../types';\nexport { Box } from './Box';\nexport type { BoxProps } from './Box.types';\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAGf,gDAAgD;AACjD,OAAO,EAAE,GAAG,EAAE,kBAAc","sourcesContent":["export {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n} from '@metamask-previews/design-system-shared';\nexport { Box } from './Box';\nexport type { BoxProps } from './Box.types';\n"]}
@@ -0,0 +1,18 @@
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.BoxHorizontal = void 0;
7
+ const design_system_shared_1 = require("@metamask-previews/design-system-shared");
8
+ const react_1 = __importDefault(require("react"));
9
+ const Box_1 = require("../Box/index.cjs");
10
+ const TextOrChildren_1 = require("../temp-components/TextOrChildren/index.cjs");
11
+ const BoxHorizontal = ({ children, textProps, startAccessory, endAccessory, twClassName, ...rest }) => (<Box_1.Box flexDirection={design_system_shared_1.BoxFlexDirection.Row} alignItems={design_system_shared_1.BoxAlignItems.Center} gap={1} twClassName={twClassName} {...rest}>
12
+ {startAccessory}
13
+ <TextOrChildren_1.TextOrChildren textProps={textProps}>{children}</TextOrChildren_1.TextOrChildren>
14
+ {endAccessory}
15
+ </Box_1.Box>);
16
+ exports.BoxHorizontal = BoxHorizontal;
17
+ exports.BoxHorizontal.displayName = 'BoxHorizontal';
18
+ //# sourceMappingURL=BoxHorizontal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxHorizontal.cjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":";;;;;;AAAA,kFAGiD;AACjD,kDAA0B;AAE1B,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,uCAAgB,CAAC,GAAG,CAAC,CACpC,UAAU,CAAC,CAAC,oCAAa,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 {\n BoxAlignItems,\n BoxFlexDirection,\n} from '@metamask-previews/design-system-shared';\nimport React from 'react';\n\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"]}
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxHorizontal.d.cts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,cAAc;AAK1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,kCAA8B;AAEhE,eAAO,MAAM,aAAa;kFAOvB,kBAAkB;;CAYpB,CAAC"}
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxHorizontal.d.mts","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,cAAc;AAK1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,kCAA8B;AAEhE,eAAO,MAAM,aAAa;kFAOvB,kBAAkB;;CAYpB,CAAC"}
@@ -0,0 +1,18 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ import { BoxAlignItems, BoxFlexDirection } from "@metamask-previews/design-system-shared";
8
+ import $React from "react";
9
+ const React = $importDefault($React);
10
+ import { Box } from "../Box/index.mjs";
11
+ import { TextOrChildren } from "../temp-components/TextOrChildren/index.mjs";
12
+ export const BoxHorizontal = ({ children, textProps, startAccessory, endAccessory, twClassName, ...rest }) => (<Box flexDirection={BoxFlexDirection.Row} alignItems={BoxAlignItems.Center} gap={1} twClassName={twClassName} {...rest}>
13
+ {startAccessory}
14
+ <TextOrChildren textProps={textProps}>{children}</TextOrChildren>
15
+ {endAccessory}
16
+ </Box>);
17
+ BoxHorizontal.displayName = 'BoxHorizontal';
18
+ //# sourceMappingURL=BoxHorizontal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxHorizontal.mjs","sourceRoot":"","sources":["../../../src/components/BoxHorizontal/BoxHorizontal.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EACjB,gDAAgD;AACjD,OAAO,MAAK,cAAc;;AAE1B,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 {\n BoxAlignItems,\n BoxFlexDirection,\n} from '@metamask-previews/design-system-shared';\nimport React from 'react';\n\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"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BoxHorizontal.types.cjs.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,13 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,13 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BoxHorizontal.types.mjs.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,6 @@
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
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,3 @@
1
+ export { BoxHorizontal } from "./BoxHorizontal.cjs";
2
+ export type { BoxHorizontalProps } from "./BoxHorizontal.types.cjs";
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ export { BoxHorizontal } from "./BoxHorizontal.mjs";
2
+ export type { BoxHorizontalProps } from "./BoxHorizontal.types.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export { BoxHorizontal } from "./BoxHorizontal.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,18 @@
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.BoxVertical = void 0;
7
+ const design_system_shared_1 = require("@metamask-previews/design-system-shared");
8
+ const react_1 = __importDefault(require("react"));
9
+ const Box_1 = require("../Box/index.cjs");
10
+ const TextOrChildren_1 = require("../temp-components/TextOrChildren/index.cjs");
11
+ const BoxVertical = ({ children, textProps, topAccessory, bottomAccessory, twClassName, ...rest }) => (<Box_1.Box flexDirection={design_system_shared_1.BoxFlexDirection.Column} twClassName={twClassName} {...rest}>
12
+ {topAccessory}
13
+ <TextOrChildren_1.TextOrChildren textProps={textProps}>{children}</TextOrChildren_1.TextOrChildren>
14
+ {bottomAccessory}
15
+ </Box_1.Box>);
16
+ exports.BoxVertical = BoxVertical;
17
+ exports.BoxVertical.displayName = 'BoxVertical';
18
+ //# sourceMappingURL=BoxVertical.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxVertical.cjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":";;;;;;AAAA,kFAA2E;AAC3E,kDAA0B;AAE1B,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,uCAAgB,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 { BoxFlexDirection } from '@metamask-previews/design-system-shared';\nimport React from 'react';\n\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"]}
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxVertical.d.cts","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAK1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAE5D,eAAO,MAAM,WAAW;mFAOrB,gBAAgB;;CAUlB,CAAC"}
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxVertical.d.mts","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAK1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAE5D,eAAO,MAAM,WAAW;mFAOrB,gBAAgB;;CAUlB,CAAC"}
@@ -0,0 +1,18 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ import { BoxFlexDirection } from "@metamask-previews/design-system-shared";
8
+ import $React from "react";
9
+ const React = $importDefault($React);
10
+ import { Box } from "../Box/index.mjs";
11
+ import { TextOrChildren } from "../temp-components/TextOrChildren/index.mjs";
12
+ export const BoxVertical = ({ children, textProps, topAccessory, bottomAccessory, twClassName, ...rest }) => (<Box flexDirection={BoxFlexDirection.Column} twClassName={twClassName} {...rest}>
13
+ {topAccessory}
14
+ <TextOrChildren textProps={textProps}>{children}</TextOrChildren>
15
+ {bottomAccessory}
16
+ </Box>);
17
+ BoxVertical.displayName = 'BoxVertical';
18
+ //# sourceMappingURL=BoxVertical.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxVertical.mjs","sourceRoot":"","sources":["../../../src/components/BoxVertical/BoxVertical.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,gBAAgB,EAAE,gDAAgD;AAC3E,OAAO,MAAK,cAAc;;AAE1B,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 { BoxFlexDirection } from '@metamask-previews/design-system-shared';\nimport React from 'react';\n\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"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BoxVertical.types.cjs.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,13 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,13 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BoxVertical.types.mjs.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,6 @@
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
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,3 @@
1
+ export { BoxVertical } from "./BoxVertical.cjs";
2
+ export type { BoxVerticalProps } from "./BoxVertical.types.cjs";
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ export { BoxVertical } from "./BoxVertical.mjs";
2
+ export type { BoxVerticalProps } from "./BoxVertical.types.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export { BoxVertical } from "./BoxVertical.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
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 +1 @@
1
- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m9 4h-2v2h-2v12h2v2h2v-2h2v-12h-2zm0 12h-2v-8h2z"/><path d="m19 8h-2v-4h-2v4h-2v7h2v5h2v-5h2zm-2 5h-2v-3h2z"/></svg>
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="m9.49932 5.33142h-1.66714v1.66714h-1.66714v10.00284h1.66714v1.6672h1.66714v-1.6672h1.66718v-10.00284h-1.66718zm0 10.00288h-1.66714v-6.66859h1.66714z"/><path d="m17.835 8.66571h-1.6671v-3.33429h-1.6671v3.33429h-1.6672v5.83499h1.6672v4.1679h1.6671v-4.1679h1.6671zm-1.6671 4.16789h-1.6671v-2.5008h1.6671z"/></g></svg>