@metamask-previews/design-system-react 0.17.1-preview.1679aa9 → 0.22.0-preview.178e60f

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 (564) hide show
  1. package/CHANGELOG.md +66 -3
  2. package/dist/components/AvatarGroup/AvatarGroup.cjs +18 -13
  3. package/dist/components/AvatarGroup/AvatarGroup.cjs.map +1 -1
  4. package/dist/components/AvatarGroup/AvatarGroup.constants.cjs +16 -17
  5. package/dist/components/AvatarGroup/AvatarGroup.constants.cjs.map +1 -1
  6. package/dist/components/AvatarGroup/AvatarGroup.constants.d.cts +1 -2
  7. package/dist/components/AvatarGroup/AvatarGroup.constants.d.cts.map +1 -1
  8. package/dist/components/AvatarGroup/AvatarGroup.constants.d.mts +1 -2
  9. package/dist/components/AvatarGroup/AvatarGroup.constants.d.mts.map +1 -1
  10. package/dist/components/AvatarGroup/AvatarGroup.constants.mjs +1 -2
  11. package/dist/components/AvatarGroup/AvatarGroup.constants.mjs.map +1 -1
  12. package/dist/components/AvatarGroup/AvatarGroup.d.cts +8 -21
  13. package/dist/components/AvatarGroup/AvatarGroup.d.cts.map +1 -1
  14. package/dist/components/AvatarGroup/AvatarGroup.d.mts +8 -21
  15. package/dist/components/AvatarGroup/AvatarGroup.d.mts.map +1 -1
  16. package/dist/components/AvatarGroup/AvatarGroup.mjs +9 -4
  17. package/dist/components/AvatarGroup/AvatarGroup.mjs.map +1 -1
  18. package/dist/components/AvatarGroup/AvatarGroup.types.cjs.map +1 -1
  19. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts +7 -24
  20. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts.map +1 -1
  21. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts +7 -24
  22. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts.map +1 -1
  23. package/dist/components/AvatarGroup/AvatarGroup.types.mjs.map +1 -1
  24. package/dist/components/AvatarGroup/index.cjs +3 -3
  25. package/dist/components/AvatarGroup/index.cjs.map +1 -1
  26. package/dist/components/AvatarGroup/index.d.cts +1 -1
  27. package/dist/components/AvatarGroup/index.d.cts.map +1 -1
  28. package/dist/components/AvatarGroup/index.d.mts +1 -1
  29. package/dist/components/AvatarGroup/index.d.mts.map +1 -1
  30. package/dist/components/AvatarGroup/index.mjs +1 -1
  31. package/dist/components/AvatarGroup/index.mjs.map +1 -1
  32. package/dist/components/AvatarIcon/AvatarIcon.cjs +2 -2
  33. package/dist/components/AvatarIcon/AvatarIcon.cjs.map +1 -1
  34. package/dist/components/AvatarIcon/AvatarIcon.constants.cjs +16 -16
  35. package/dist/components/AvatarIcon/AvatarIcon.constants.cjs.map +1 -1
  36. package/dist/components/AvatarIcon/AvatarIcon.constants.d.cts +1 -1
  37. package/dist/components/AvatarIcon/AvatarIcon.constants.d.cts.map +1 -1
  38. package/dist/components/AvatarIcon/AvatarIcon.constants.d.mts +1 -1
  39. package/dist/components/AvatarIcon/AvatarIcon.constants.d.mts.map +1 -1
  40. package/dist/components/AvatarIcon/AvatarIcon.constants.mjs +1 -1
  41. package/dist/components/AvatarIcon/AvatarIcon.constants.mjs.map +1 -1
  42. package/dist/components/AvatarIcon/AvatarIcon.d.cts.map +1 -1
  43. package/dist/components/AvatarIcon/AvatarIcon.d.mts.map +1 -1
  44. package/dist/components/AvatarIcon/AvatarIcon.mjs +1 -1
  45. package/dist/components/AvatarIcon/AvatarIcon.mjs.map +1 -1
  46. package/dist/components/AvatarIcon/AvatarIcon.types.cjs.map +1 -1
  47. package/dist/components/AvatarIcon/AvatarIcon.types.d.cts +3 -19
  48. package/dist/components/AvatarIcon/AvatarIcon.types.d.cts.map +1 -1
  49. package/dist/components/AvatarIcon/AvatarIcon.types.d.mts +3 -19
  50. package/dist/components/AvatarIcon/AvatarIcon.types.d.mts.map +1 -1
  51. package/dist/components/AvatarIcon/AvatarIcon.types.mjs.map +1 -1
  52. package/dist/components/AvatarIcon/index.cjs +4 -4
  53. package/dist/components/AvatarIcon/index.cjs.map +1 -1
  54. package/dist/components/AvatarIcon/index.d.cts +1 -1
  55. package/dist/components/AvatarIcon/index.d.cts.map +1 -1
  56. package/dist/components/AvatarIcon/index.d.mts +1 -1
  57. package/dist/components/AvatarIcon/index.d.mts.map +1 -1
  58. package/dist/components/AvatarIcon/index.mjs +1 -1
  59. package/dist/components/AvatarIcon/index.mjs.map +1 -1
  60. package/dist/components/BadgeIcon/BadgeIcon.cjs +2 -1
  61. package/dist/components/BadgeIcon/BadgeIcon.cjs.map +1 -1
  62. package/dist/components/BadgeIcon/BadgeIcon.d.cts.map +1 -1
  63. package/dist/components/BadgeIcon/BadgeIcon.d.mts.map +1 -1
  64. package/dist/components/BadgeIcon/BadgeIcon.mjs +2 -1
  65. package/dist/components/BadgeIcon/BadgeIcon.mjs.map +1 -1
  66. package/dist/components/BadgeIcon/BadgeIcon.types.cjs.map +1 -1
  67. package/dist/components/BadgeIcon/BadgeIcon.types.d.cts +5 -7
  68. package/dist/components/BadgeIcon/BadgeIcon.types.d.cts.map +1 -1
  69. package/dist/components/BadgeIcon/BadgeIcon.types.d.mts +5 -7
  70. package/dist/components/BadgeIcon/BadgeIcon.types.d.mts.map +1 -1
  71. package/dist/components/BadgeIcon/BadgeIcon.types.mjs.map +1 -1
  72. package/dist/components/BannerAlert/BannerAlert.constants.cjs +8 -8
  73. package/dist/components/BannerAlert/BannerAlert.constants.cjs.map +1 -1
  74. package/dist/components/BannerAlert/BannerAlert.constants.d.cts +2 -2
  75. package/dist/components/BannerAlert/BannerAlert.constants.d.cts.map +1 -1
  76. package/dist/components/BannerAlert/BannerAlert.constants.d.mts +2 -2
  77. package/dist/components/BannerAlert/BannerAlert.constants.d.mts.map +1 -1
  78. package/dist/components/BannerAlert/BannerAlert.constants.mjs +2 -2
  79. package/dist/components/BannerAlert/BannerAlert.constants.mjs.map +1 -1
  80. package/dist/components/BannerAlert/BannerAlert.d.cts +10 -12
  81. package/dist/components/BannerAlert/BannerAlert.d.cts.map +1 -1
  82. package/dist/components/BannerAlert/BannerAlert.d.mts +10 -12
  83. package/dist/components/BannerAlert/BannerAlert.d.mts.map +1 -1
  84. package/dist/components/BannerBase/BannerBase.cjs +5 -6
  85. package/dist/components/BannerBase/BannerBase.cjs.map +1 -1
  86. package/dist/components/BannerBase/BannerBase.d.cts +7 -9
  87. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -1
  88. package/dist/components/BannerBase/BannerBase.d.mts +7 -9
  89. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -1
  90. package/dist/components/BannerBase/BannerBase.mjs +4 -5
  91. package/dist/components/BannerBase/BannerBase.mjs.map +1 -1
  92. package/dist/components/BannerBase/BannerBase.types.cjs.map +1 -1
  93. package/dist/components/BannerBase/BannerBase.types.d.cts +1 -5
  94. package/dist/components/BannerBase/BannerBase.types.d.cts.map +1 -1
  95. package/dist/components/BannerBase/BannerBase.types.d.mts +1 -5
  96. package/dist/components/BannerBase/BannerBase.types.d.mts.map +1 -1
  97. package/dist/components/BannerBase/BannerBase.types.mjs.map +1 -1
  98. package/dist/components/Box/Box.constants.cjs.map +1 -1
  99. package/dist/components/Box/Box.constants.d.cts +1 -1
  100. package/dist/components/Box/Box.constants.d.cts.map +1 -1
  101. package/dist/components/Box/Box.constants.d.mts +1 -1
  102. package/dist/components/Box/Box.constants.d.mts.map +1 -1
  103. package/dist/components/Box/Box.constants.mjs.map +1 -1
  104. package/dist/components/Box/Box.types.cjs.map +1 -1
  105. package/dist/components/Box/Box.types.d.cts +2 -106
  106. package/dist/components/Box/Box.types.d.cts.map +1 -1
  107. package/dist/components/Box/Box.types.d.mts +2 -106
  108. package/dist/components/Box/Box.types.d.mts.map +1 -1
  109. package/dist/components/Box/Box.types.mjs.map +1 -1
  110. package/dist/components/Box/index.cjs +7 -7
  111. package/dist/components/Box/index.cjs.map +1 -1
  112. package/dist/components/Box/index.d.cts +1 -2
  113. package/dist/components/Box/index.d.cts.map +1 -1
  114. package/dist/components/Box/index.d.mts +1 -2
  115. package/dist/components/Box/index.d.mts.map +1 -1
  116. package/dist/components/Box/index.mjs +1 -1
  117. package/dist/components/Box/index.mjs.map +1 -1
  118. package/dist/components/Button/Button.cjs +5 -5
  119. package/dist/components/Button/Button.cjs.map +1 -1
  120. package/dist/components/Button/Button.d.cts.map +1 -1
  121. package/dist/components/Button/Button.d.mts.map +1 -1
  122. package/dist/components/Button/Button.mjs +1 -1
  123. package/dist/components/Button/Button.mjs.map +1 -1
  124. package/dist/components/Button/Button.types.cjs.map +1 -1
  125. package/dist/components/Button/Button.types.d.cts +5 -12
  126. package/dist/components/Button/Button.types.d.cts.map +1 -1
  127. package/dist/components/Button/Button.types.d.mts +5 -12
  128. package/dist/components/Button/Button.types.d.mts.map +1 -1
  129. package/dist/components/Button/Button.types.mjs.map +1 -1
  130. package/dist/components/Button/index.cjs +3 -3
  131. package/dist/components/Button/index.cjs.map +1 -1
  132. package/dist/components/Button/index.d.cts +1 -1
  133. package/dist/components/Button/index.d.cts.map +1 -1
  134. package/dist/components/Button/index.d.mts +1 -1
  135. package/dist/components/Button/index.d.mts.map +1 -1
  136. package/dist/components/Button/index.mjs +1 -1
  137. package/dist/components/Button/index.mjs.map +1 -1
  138. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.cjs +2 -0
  139. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.cjs.map +1 -1
  140. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.cts.map +1 -1
  141. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.mts.map +1 -1
  142. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.mjs +2 -0
  143. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.mjs.map +1 -1
  144. package/dist/components/Button/variants/ButtonPrimary/index.cjs +1 -3
  145. package/dist/components/Button/variants/ButtonPrimary/index.cjs.map +1 -1
  146. package/dist/components/Button/variants/ButtonPrimary/index.d.cts +0 -1
  147. package/dist/components/Button/variants/ButtonPrimary/index.d.cts.map +1 -1
  148. package/dist/components/Button/variants/ButtonPrimary/index.d.mts +0 -1
  149. package/dist/components/Button/variants/ButtonPrimary/index.d.mts.map +1 -1
  150. package/dist/components/Button/variants/ButtonPrimary/index.mjs +0 -1
  151. package/dist/components/Button/variants/ButtonPrimary/index.mjs.map +1 -1
  152. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.cjs +2 -0
  153. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.cjs.map +1 -1
  154. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.cts.map +1 -1
  155. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.mts.map +1 -1
  156. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.mjs +2 -0
  157. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.mjs.map +1 -1
  158. package/dist/components/Button/variants/ButtonSecondary/index.cjs +1 -3
  159. package/dist/components/Button/variants/ButtonSecondary/index.cjs.map +1 -1
  160. package/dist/components/Button/variants/ButtonSecondary/index.d.cts +0 -1
  161. package/dist/components/Button/variants/ButtonSecondary/index.d.cts.map +1 -1
  162. package/dist/components/Button/variants/ButtonSecondary/index.d.mts +0 -1
  163. package/dist/components/Button/variants/ButtonSecondary/index.d.mts.map +1 -1
  164. package/dist/components/Button/variants/ButtonSecondary/index.mjs +0 -1
  165. package/dist/components/Button/variants/ButtonSecondary/index.mjs.map +1 -1
  166. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.cjs +3 -1
  167. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.cjs.map +1 -1
  168. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.cts.map +1 -1
  169. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.mts.map +1 -1
  170. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.mjs +3 -1
  171. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.mjs.map +1 -1
  172. package/dist/components/Button/variants/ButtonTertiary/index.cjs +1 -3
  173. package/dist/components/Button/variants/ButtonTertiary/index.cjs.map +1 -1
  174. package/dist/components/Button/variants/ButtonTertiary/index.d.cts +0 -1
  175. package/dist/components/Button/variants/ButtonTertiary/index.d.cts.map +1 -1
  176. package/dist/components/Button/variants/ButtonTertiary/index.d.mts +0 -1
  177. package/dist/components/Button/variants/ButtonTertiary/index.d.mts.map +1 -1
  178. package/dist/components/Button/variants/ButtonTertiary/index.mjs +0 -1
  179. package/dist/components/Button/variants/ButtonTertiary/index.mjs.map +1 -1
  180. package/dist/components/ButtonBase/ButtonBase.cjs +28 -20
  181. package/dist/components/ButtonBase/ButtonBase.cjs.map +1 -1
  182. package/dist/components/ButtonBase/ButtonBase.constants.cjs +35 -5
  183. package/dist/components/ButtonBase/ButtonBase.constants.cjs.map +1 -1
  184. package/dist/components/ButtonBase/ButtonBase.constants.d.cts +6 -1
  185. package/dist/components/ButtonBase/ButtonBase.constants.d.cts.map +1 -1
  186. package/dist/components/ButtonBase/ButtonBase.constants.d.mts +6 -1
  187. package/dist/components/ButtonBase/ButtonBase.constants.d.mts.map +1 -1
  188. package/dist/components/ButtonBase/ButtonBase.constants.mjs +29 -1
  189. package/dist/components/ButtonBase/ButtonBase.constants.mjs.map +1 -1
  190. package/dist/components/ButtonBase/ButtonBase.d.cts.map +1 -1
  191. package/dist/components/ButtonBase/ButtonBase.d.mts.map +1 -1
  192. package/dist/components/ButtonBase/ButtonBase.mjs +29 -21
  193. package/dist/components/ButtonBase/ButtonBase.mjs.map +1 -1
  194. package/dist/components/ButtonBase/ButtonBase.types.cjs.map +1 -1
  195. package/dist/components/ButtonBase/ButtonBase.types.d.cts +3 -35
  196. package/dist/components/ButtonBase/ButtonBase.types.d.cts.map +1 -1
  197. package/dist/components/ButtonBase/ButtonBase.types.d.mts +3 -35
  198. package/dist/components/ButtonBase/ButtonBase.types.d.mts.map +1 -1
  199. package/dist/components/ButtonBase/ButtonBase.types.mjs.map +1 -1
  200. package/dist/components/ButtonBase/index.cjs +2 -2
  201. package/dist/components/ButtonBase/index.cjs.map +1 -1
  202. package/dist/components/ButtonBase/index.d.cts +1 -1
  203. package/dist/components/ButtonBase/index.d.cts.map +1 -1
  204. package/dist/components/ButtonBase/index.d.mts +1 -1
  205. package/dist/components/ButtonBase/index.d.mts.map +1 -1
  206. package/dist/components/ButtonBase/index.mjs +1 -1
  207. package/dist/components/ButtonBase/index.mjs.map +1 -1
  208. package/dist/components/ButtonHero/index.cjs +2 -2
  209. package/dist/components/ButtonHero/index.cjs.map +1 -1
  210. package/dist/components/ButtonHero/index.d.cts +1 -1
  211. package/dist/components/ButtonHero/index.d.cts.map +1 -1
  212. package/dist/components/ButtonHero/index.d.mts +1 -1
  213. package/dist/components/ButtonHero/index.d.mts.map +1 -1
  214. package/dist/components/ButtonHero/index.mjs +1 -1
  215. package/dist/components/ButtonHero/index.mjs.map +1 -1
  216. package/dist/components/ButtonIcon/ButtonIcon.cjs +5 -5
  217. package/dist/components/ButtonIcon/ButtonIcon.cjs.map +1 -1
  218. package/dist/components/ButtonIcon/ButtonIcon.constants.cjs +7 -8
  219. package/dist/components/ButtonIcon/ButtonIcon.constants.cjs.map +1 -1
  220. package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts +3 -4
  221. package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts.map +1 -1
  222. package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts +3 -4
  223. package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts.map +1 -1
  224. package/dist/components/ButtonIcon/ButtonIcon.constants.mjs +1 -2
  225. package/dist/components/ButtonIcon/ButtonIcon.constants.mjs.map +1 -1
  226. package/dist/components/ButtonIcon/ButtonIcon.d.cts.map +1 -1
  227. package/dist/components/ButtonIcon/ButtonIcon.d.mts.map +1 -1
  228. package/dist/components/ButtonIcon/ButtonIcon.mjs +1 -1
  229. package/dist/components/ButtonIcon/ButtonIcon.mjs.map +1 -1
  230. package/dist/components/ButtonIcon/ButtonIcon.types.cjs.map +1 -1
  231. package/dist/components/ButtonIcon/ButtonIcon.types.d.cts +5 -27
  232. package/dist/components/ButtonIcon/ButtonIcon.types.d.cts.map +1 -1
  233. package/dist/components/ButtonIcon/ButtonIcon.types.d.mts +5 -27
  234. package/dist/components/ButtonIcon/ButtonIcon.types.d.mts.map +1 -1
  235. package/dist/components/ButtonIcon/ButtonIcon.types.mjs.map +1 -1
  236. package/dist/components/ButtonIcon/index.cjs +3 -3
  237. package/dist/components/ButtonIcon/index.cjs.map +1 -1
  238. package/dist/components/ButtonIcon/index.d.cts +1 -1
  239. package/dist/components/ButtonIcon/index.d.cts.map +1 -1
  240. package/dist/components/ButtonIcon/index.d.mts +1 -1
  241. package/dist/components/ButtonIcon/index.d.mts.map +1 -1
  242. package/dist/components/ButtonIcon/index.mjs +1 -1
  243. package/dist/components/ButtonIcon/index.mjs.map +1 -1
  244. package/dist/components/HeaderBase/HeaderBase.cjs +43 -0
  245. package/dist/components/HeaderBase/HeaderBase.cjs.map +1 -0
  246. package/dist/components/HeaderBase/HeaderBase.d.cts +4 -0
  247. package/dist/components/HeaderBase/HeaderBase.d.cts.map +1 -0
  248. package/dist/components/HeaderBase/HeaderBase.d.mts +4 -0
  249. package/dist/components/HeaderBase/HeaderBase.d.mts.map +1 -0
  250. package/dist/components/HeaderBase/HeaderBase.mjs +24 -0
  251. package/dist/components/HeaderBase/HeaderBase.mjs.map +1 -0
  252. package/dist/components/HeaderBase/HeaderBase.types.cjs +3 -0
  253. package/dist/components/HeaderBase/HeaderBase.types.cjs.map +1 -0
  254. package/dist/components/HeaderBase/HeaderBase.types.d.cts +51 -0
  255. package/dist/components/HeaderBase/HeaderBase.types.d.cts.map +1 -0
  256. package/dist/components/HeaderBase/HeaderBase.types.d.mts +51 -0
  257. package/dist/components/HeaderBase/HeaderBase.types.d.mts.map +1 -0
  258. package/dist/components/HeaderBase/HeaderBase.types.mjs +2 -0
  259. package/dist/components/HeaderBase/HeaderBase.types.mjs.map +1 -0
  260. package/dist/components/HeaderBase/index.cjs +6 -0
  261. package/dist/components/HeaderBase/index.cjs.map +1 -0
  262. package/dist/components/HeaderBase/index.d.cts +3 -0
  263. package/dist/components/HeaderBase/index.d.cts.map +1 -0
  264. package/dist/components/HeaderBase/index.d.mts +3 -0
  265. package/dist/components/HeaderBase/index.d.mts.map +1 -0
  266. package/dist/components/HeaderBase/index.mjs +2 -0
  267. package/dist/components/HeaderBase/index.mjs.map +1 -0
  268. package/dist/components/Icon/Icon.types.cjs.map +1 -1
  269. package/dist/components/Icon/Icon.types.d.cts +2 -19
  270. package/dist/components/Icon/Icon.types.d.cts.map +1 -1
  271. package/dist/components/Icon/Icon.types.d.mts +2 -19
  272. package/dist/components/Icon/Icon.types.d.mts.map +1 -1
  273. package/dist/components/Icon/Icon.types.mjs.map +1 -1
  274. package/dist/components/Icon/icons/Candlestick.cjs +1 -1
  275. package/dist/components/Icon/icons/Candlestick.cjs.map +1 -1
  276. package/dist/components/Icon/icons/Candlestick.mjs +1 -1
  277. package/dist/components/Icon/icons/Candlestick.mjs.map +1 -1
  278. package/dist/components/Icon/icons/Group.cjs +32 -0
  279. package/dist/components/Icon/icons/Group.cjs.map +1 -0
  280. package/dist/components/Icon/icons/Group.d.cts +4 -0
  281. package/dist/components/Icon/icons/Group.d.cts.map +1 -0
  282. package/dist/components/Icon/icons/Group.d.mts +4 -0
  283. package/dist/components/Icon/icons/Group.d.mts.map +1 -0
  284. package/dist/components/Icon/icons/Group.mjs +7 -0
  285. package/dist/components/Icon/icons/Group.mjs.map +1 -0
  286. package/dist/components/Icon/icons/ListArrow.cjs +32 -0
  287. package/dist/components/Icon/icons/ListArrow.cjs.map +1 -0
  288. package/dist/components/Icon/icons/ListArrow.d.cts +4 -0
  289. package/dist/components/Icon/icons/ListArrow.d.cts.map +1 -0
  290. package/dist/components/Icon/icons/ListArrow.d.mts +4 -0
  291. package/dist/components/Icon/icons/ListArrow.d.mts.map +1 -0
  292. package/dist/components/Icon/icons/ListArrow.mjs +7 -0
  293. package/dist/components/Icon/icons/ListArrow.mjs.map +1 -0
  294. package/dist/components/Icon/icons/Merge.cjs +32 -0
  295. package/dist/components/Icon/icons/Merge.cjs.map +1 -0
  296. package/dist/components/Icon/icons/Merge.d.cts +4 -0
  297. package/dist/components/Icon/icons/Merge.d.cts.map +1 -0
  298. package/dist/components/Icon/icons/Merge.d.mts +4 -0
  299. package/dist/components/Icon/icons/Merge.d.mts.map +1 -0
  300. package/dist/components/Icon/icons/Merge.mjs +7 -0
  301. package/dist/components/Icon/icons/Merge.mjs.map +1 -0
  302. package/dist/components/Icon/icons/Musd.cjs +32 -0
  303. package/dist/components/Icon/icons/Musd.cjs.map +1 -0
  304. package/dist/components/Icon/icons/Musd.d.cts +4 -0
  305. package/dist/components/Icon/icons/Musd.d.cts.map +1 -0
  306. package/dist/components/Icon/icons/Musd.d.mts +4 -0
  307. package/dist/components/Icon/icons/Musd.d.mts.map +1 -0
  308. package/dist/components/Icon/icons/Musd.mjs +7 -0
  309. package/dist/components/Icon/icons/Musd.mjs.map +1 -0
  310. package/dist/components/Icon/icons/MusdFilled.cjs +32 -0
  311. package/dist/components/Icon/icons/MusdFilled.cjs.map +1 -0
  312. package/dist/components/Icon/icons/MusdFilled.d.cts +4 -0
  313. package/dist/components/Icon/icons/MusdFilled.d.cts.map +1 -0
  314. package/dist/components/Icon/icons/MusdFilled.d.mts +4 -0
  315. package/dist/components/Icon/icons/MusdFilled.d.mts.map +1 -0
  316. package/dist/components/Icon/icons/MusdFilled.mjs +7 -0
  317. package/dist/components/Icon/icons/MusdFilled.mjs.map +1 -0
  318. package/dist/components/Icon/icons/PieChart.cjs +32 -0
  319. package/dist/components/Icon/icons/PieChart.cjs.map +1 -0
  320. package/dist/components/Icon/icons/PieChart.d.cts +4 -0
  321. package/dist/components/Icon/icons/PieChart.d.cts.map +1 -0
  322. package/dist/components/Icon/icons/PieChart.d.mts +4 -0
  323. package/dist/components/Icon/icons/PieChart.d.mts.map +1 -0
  324. package/dist/components/Icon/icons/PieChart.mjs +7 -0
  325. package/dist/components/Icon/icons/PieChart.mjs.map +1 -0
  326. package/dist/components/Icon/icons/Predictions.cjs +32 -0
  327. package/dist/components/Icon/icons/Predictions.cjs.map +1 -0
  328. package/dist/components/Icon/icons/Predictions.d.cts +4 -0
  329. package/dist/components/Icon/icons/Predictions.d.cts.map +1 -0
  330. package/dist/components/Icon/icons/Predictions.d.mts +4 -0
  331. package/dist/components/Icon/icons/Predictions.d.mts.map +1 -0
  332. package/dist/components/Icon/icons/Predictions.mjs +7 -0
  333. package/dist/components/Icon/icons/Predictions.mjs.map +1 -0
  334. package/dist/components/Icon/icons/Telegram.cjs +32 -0
  335. package/dist/components/Icon/icons/Telegram.cjs.map +1 -0
  336. package/dist/components/Icon/icons/Telegram.d.cts +4 -0
  337. package/dist/components/Icon/icons/Telegram.d.cts.map +1 -0
  338. package/dist/components/Icon/icons/Telegram.d.mts +4 -0
  339. package/dist/components/Icon/icons/Telegram.d.mts.map +1 -0
  340. package/dist/components/Icon/icons/Telegram.mjs +7 -0
  341. package/dist/components/Icon/icons/Telegram.mjs.map +1 -0
  342. package/dist/components/Icon/icons/index.cjs +92 -76
  343. package/dist/components/Icon/icons/index.cjs.map +1 -1
  344. package/dist/components/Icon/icons/index.d.cts +46 -38
  345. package/dist/components/Icon/icons/index.d.cts.map +1 -1
  346. package/dist/components/Icon/icons/index.d.mts +46 -38
  347. package/dist/components/Icon/icons/index.d.mts.map +1 -1
  348. package/dist/components/Icon/icons/index.mjs +92 -76
  349. package/dist/components/Icon/icons/index.mjs.map +1 -1
  350. package/dist/components/Input/Input.cjs +4 -3
  351. package/dist/components/Input/Input.cjs.map +1 -1
  352. package/dist/components/Input/Input.d.cts +1 -5
  353. package/dist/components/Input/Input.d.cts.map +1 -1
  354. package/dist/components/Input/Input.d.mts +1 -5
  355. package/dist/components/Input/Input.d.mts.map +1 -1
  356. package/dist/components/Input/Input.mjs +4 -3
  357. package/dist/components/Input/Input.mjs.map +1 -1
  358. package/dist/components/Input/Input.types.cjs.map +1 -1
  359. package/dist/components/Input/Input.types.d.cts +2 -20
  360. package/dist/components/Input/Input.types.d.cts.map +1 -1
  361. package/dist/components/Input/Input.types.d.mts +2 -20
  362. package/dist/components/Input/Input.types.d.mts.map +1 -1
  363. package/dist/components/Input/Input.types.mjs.map +1 -1
  364. package/dist/components/Modal/Modal.cjs +49 -0
  365. package/dist/components/Modal/Modal.cjs.map +1 -0
  366. package/dist/components/Modal/Modal.context.cjs +14 -0
  367. package/dist/components/Modal/Modal.context.cjs.map +1 -0
  368. package/dist/components/Modal/Modal.context.d.cts +6 -0
  369. package/dist/components/Modal/Modal.context.d.cts.map +1 -0
  370. package/dist/components/Modal/Modal.context.d.mts +6 -0
  371. package/dist/components/Modal/Modal.context.d.mts.map +1 -0
  372. package/dist/components/Modal/Modal.context.mjs +10 -0
  373. package/dist/components/Modal/Modal.context.mjs.map +1 -0
  374. package/dist/components/Modal/Modal.d.cts +4 -0
  375. package/dist/components/Modal/Modal.d.cts.map +1 -0
  376. package/dist/components/Modal/Modal.d.mts +4 -0
  377. package/dist/components/Modal/Modal.d.mts.map +1 -0
  378. package/dist/components/Modal/Modal.mjs +30 -0
  379. package/dist/components/Modal/Modal.mjs.map +1 -0
  380. package/dist/components/Modal/Modal.types.cjs +3 -0
  381. package/dist/components/Modal/Modal.types.cjs.map +1 -0
  382. package/dist/components/Modal/Modal.types.d.cts +64 -0
  383. package/dist/components/Modal/Modal.types.d.cts.map +1 -0
  384. package/dist/components/Modal/Modal.types.d.mts +64 -0
  385. package/dist/components/Modal/Modal.types.d.mts.map +1 -0
  386. package/dist/components/Modal/Modal.types.mjs +2 -0
  387. package/dist/components/Modal/Modal.types.mjs.map +1 -0
  388. package/dist/components/Modal/index.cjs +8 -0
  389. package/dist/components/Modal/index.cjs.map +1 -0
  390. package/dist/components/Modal/index.d.cts +5 -0
  391. package/dist/components/Modal/index.d.cts.map +1 -0
  392. package/dist/components/Modal/index.d.mts +5 -0
  393. package/dist/components/Modal/index.d.mts.map +1 -0
  394. package/dist/components/Modal/index.mjs +3 -0
  395. package/dist/components/Modal/index.mjs.map +1 -0
  396. package/dist/components/ModalBody/ModalBody.cjs +32 -0
  397. package/dist/components/ModalBody/ModalBody.cjs.map +1 -0
  398. package/dist/components/ModalBody/ModalBody.d.cts +4 -0
  399. package/dist/components/ModalBody/ModalBody.d.cts.map +1 -0
  400. package/dist/components/ModalBody/ModalBody.d.mts +4 -0
  401. package/dist/components/ModalBody/ModalBody.d.mts.map +1 -0
  402. package/dist/components/ModalBody/ModalBody.mjs +13 -0
  403. package/dist/components/ModalBody/ModalBody.mjs.map +1 -0
  404. package/dist/components/ModalBody/ModalBody.types.cjs +3 -0
  405. package/dist/components/ModalBody/ModalBody.types.cjs.map +1 -0
  406. package/dist/components/ModalBody/ModalBody.types.d.cts +13 -0
  407. package/dist/components/ModalBody/ModalBody.types.d.cts.map +1 -0
  408. package/dist/components/ModalBody/ModalBody.types.d.mts +13 -0
  409. package/dist/components/ModalBody/ModalBody.types.d.mts.map +1 -0
  410. package/dist/components/ModalBody/ModalBody.types.mjs +2 -0
  411. package/dist/components/ModalBody/ModalBody.types.mjs.map +1 -0
  412. package/dist/components/ModalBody/index.cjs +6 -0
  413. package/dist/components/ModalBody/index.cjs.map +1 -0
  414. package/dist/components/ModalBody/index.d.cts +3 -0
  415. package/dist/components/ModalBody/index.d.cts.map +1 -0
  416. package/dist/components/ModalBody/index.d.mts +3 -0
  417. package/dist/components/ModalBody/index.d.mts.map +1 -0
  418. package/dist/components/ModalBody/index.mjs +2 -0
  419. package/dist/components/ModalBody/index.mjs.map +1 -0
  420. package/dist/components/ModalContent/ModalContent.cjs +73 -0
  421. package/dist/components/ModalContent/ModalContent.cjs.map +1 -0
  422. package/dist/components/ModalContent/ModalContent.constants.cjs +34 -0
  423. package/dist/components/ModalContent/ModalContent.constants.cjs.map +1 -0
  424. package/dist/components/ModalContent/ModalContent.constants.d.cts +31 -0
  425. package/dist/components/ModalContent/ModalContent.constants.d.cts.map +1 -0
  426. package/dist/components/ModalContent/ModalContent.constants.d.mts +31 -0
  427. package/dist/components/ModalContent/ModalContent.constants.d.mts.map +1 -0
  428. package/dist/components/ModalContent/ModalContent.constants.mjs +31 -0
  429. package/dist/components/ModalContent/ModalContent.constants.mjs.map +1 -0
  430. package/dist/components/ModalContent/ModalContent.d.cts +4 -0
  431. package/dist/components/ModalContent/ModalContent.d.cts.map +1 -0
  432. package/dist/components/ModalContent/ModalContent.d.mts +4 -0
  433. package/dist/components/ModalContent/ModalContent.d.mts.map +1 -0
  434. package/dist/components/ModalContent/ModalContent.mjs +54 -0
  435. package/dist/components/ModalContent/ModalContent.mjs.map +1 -0
  436. package/dist/components/ModalContent/ModalContent.types.cjs +15 -0
  437. package/dist/components/ModalContent/ModalContent.types.cjs.map +1 -0
  438. package/dist/components/ModalContent/ModalContent.types.d.cts +51 -0
  439. package/dist/components/ModalContent/ModalContent.types.d.cts.map +1 -0
  440. package/dist/components/ModalContent/ModalContent.types.d.mts +51 -0
  441. package/dist/components/ModalContent/ModalContent.types.d.mts.map +1 -0
  442. package/dist/components/ModalContent/ModalContent.types.mjs +12 -0
  443. package/dist/components/ModalContent/ModalContent.types.mjs.map +1 -0
  444. package/dist/components/ModalContent/index.cjs +10 -0
  445. package/dist/components/ModalContent/index.cjs.map +1 -0
  446. package/dist/components/ModalContent/index.d.cts +5 -0
  447. package/dist/components/ModalContent/index.d.cts.map +1 -0
  448. package/dist/components/ModalContent/index.d.mts +5 -0
  449. package/dist/components/ModalContent/index.d.mts.map +1 -0
  450. package/dist/components/ModalContent/index.mjs +4 -0
  451. package/dist/components/ModalContent/index.mjs.map +1 -0
  452. package/dist/components/ModalFocus/ModalFocus.cjs +56 -0
  453. package/dist/components/ModalFocus/ModalFocus.cjs.map +1 -0
  454. package/dist/components/ModalFocus/ModalFocus.d.cts +4 -0
  455. package/dist/components/ModalFocus/ModalFocus.d.cts.map +1 -0
  456. package/dist/components/ModalFocus/ModalFocus.d.mts +4 -0
  457. package/dist/components/ModalFocus/ModalFocus.d.mts.map +1 -0
  458. package/dist/components/ModalFocus/ModalFocus.mjs +34 -0
  459. package/dist/components/ModalFocus/ModalFocus.mjs.map +1 -0
  460. package/dist/components/ModalFocus/ModalFocus.types.cjs +3 -0
  461. package/dist/components/ModalFocus/ModalFocus.types.cjs.map +1 -0
  462. package/dist/components/ModalFocus/ModalFocus.types.d.cts +36 -0
  463. package/dist/components/ModalFocus/ModalFocus.types.d.cts.map +1 -0
  464. package/dist/components/ModalFocus/ModalFocus.types.d.mts +36 -0
  465. package/dist/components/ModalFocus/ModalFocus.types.d.mts.map +1 -0
  466. package/dist/components/ModalFocus/ModalFocus.types.mjs +2 -0
  467. package/dist/components/ModalFocus/ModalFocus.types.mjs.map +1 -0
  468. package/dist/components/ModalFocus/index.cjs +6 -0
  469. package/dist/components/ModalFocus/index.cjs.map +1 -0
  470. package/dist/components/ModalFocus/index.d.cts +3 -0
  471. package/dist/components/ModalFocus/index.d.cts.map +1 -0
  472. package/dist/components/ModalFocus/index.d.mts +3 -0
  473. package/dist/components/ModalFocus/index.d.mts.map +1 -0
  474. package/dist/components/ModalFocus/index.mjs +2 -0
  475. package/dist/components/ModalFocus/index.mjs.map +1 -0
  476. package/dist/components/ModalFooter/ModalFooter.cjs +44 -0
  477. package/dist/components/ModalFooter/ModalFooter.cjs.map +1 -0
  478. package/dist/components/ModalFooter/ModalFooter.d.cts +4 -0
  479. package/dist/components/ModalFooter/ModalFooter.d.cts.map +1 -0
  480. package/dist/components/ModalFooter/ModalFooter.d.mts +4 -0
  481. package/dist/components/ModalFooter/ModalFooter.d.mts.map +1 -0
  482. package/dist/components/ModalFooter/ModalFooter.mjs +25 -0
  483. package/dist/components/ModalFooter/ModalFooter.mjs.map +1 -0
  484. package/dist/components/ModalFooter/ModalFooter.types.cjs +14 -0
  485. package/dist/components/ModalFooter/ModalFooter.types.cjs.map +1 -0
  486. package/dist/components/ModalFooter/ModalFooter.types.d.cts +63 -0
  487. package/dist/components/ModalFooter/ModalFooter.types.d.cts.map +1 -0
  488. package/dist/components/ModalFooter/ModalFooter.types.d.mts +63 -0
  489. package/dist/components/ModalFooter/ModalFooter.types.d.mts.map +1 -0
  490. package/dist/components/ModalFooter/ModalFooter.types.mjs +11 -0
  491. package/dist/components/ModalFooter/ModalFooter.types.mjs.map +1 -0
  492. package/dist/components/ModalFooter/index.cjs +8 -0
  493. package/dist/components/ModalFooter/index.cjs.map +1 -0
  494. package/dist/components/ModalFooter/index.d.cts +4 -0
  495. package/dist/components/ModalFooter/index.d.cts.map +1 -0
  496. package/dist/components/ModalFooter/index.d.mts +4 -0
  497. package/dist/components/ModalFooter/index.d.mts.map +1 -0
  498. package/dist/components/ModalFooter/index.mjs +3 -0
  499. package/dist/components/ModalFooter/index.mjs.map +1 -0
  500. package/dist/components/ModalOverlay/ModalOverlay.cjs +32 -0
  501. package/dist/components/ModalOverlay/ModalOverlay.cjs.map +1 -0
  502. package/dist/components/ModalOverlay/ModalOverlay.d.cts +4 -0
  503. package/dist/components/ModalOverlay/ModalOverlay.d.cts.map +1 -0
  504. package/dist/components/ModalOverlay/ModalOverlay.d.mts +4 -0
  505. package/dist/components/ModalOverlay/ModalOverlay.d.mts.map +1 -0
  506. package/dist/components/ModalOverlay/ModalOverlay.mjs +13 -0
  507. package/dist/components/ModalOverlay/ModalOverlay.mjs.map +1 -0
  508. package/dist/components/ModalOverlay/ModalOverlay.types.cjs +3 -0
  509. package/dist/components/ModalOverlay/ModalOverlay.types.cjs.map +1 -0
  510. package/dist/components/ModalOverlay/ModalOverlay.types.d.cts +9 -0
  511. package/dist/components/ModalOverlay/ModalOverlay.types.d.cts.map +1 -0
  512. package/dist/components/ModalOverlay/ModalOverlay.types.d.mts +9 -0
  513. package/dist/components/ModalOverlay/ModalOverlay.types.d.mts.map +1 -0
  514. package/dist/components/ModalOverlay/ModalOverlay.types.mjs +2 -0
  515. package/dist/components/ModalOverlay/ModalOverlay.types.mjs.map +1 -0
  516. package/dist/components/ModalOverlay/index.cjs +6 -0
  517. package/dist/components/ModalOverlay/index.cjs.map +1 -0
  518. package/dist/components/ModalOverlay/index.d.cts +3 -0
  519. package/dist/components/ModalOverlay/index.d.cts.map +1 -0
  520. package/dist/components/ModalOverlay/index.d.mts +3 -0
  521. package/dist/components/ModalOverlay/index.d.mts.map +1 -0
  522. package/dist/components/ModalOverlay/index.mjs +2 -0
  523. package/dist/components/ModalOverlay/index.mjs.map +1 -0
  524. package/dist/components/Skeleton/Skeleton.cjs +46 -0
  525. package/dist/components/Skeleton/Skeleton.cjs.map +1 -0
  526. package/dist/components/Skeleton/Skeleton.d.cts +4 -0
  527. package/dist/components/Skeleton/Skeleton.d.cts.map +1 -0
  528. package/dist/components/Skeleton/Skeleton.d.mts +4 -0
  529. package/dist/components/Skeleton/Skeleton.d.mts.map +1 -0
  530. package/dist/components/Skeleton/Skeleton.mjs +27 -0
  531. package/dist/components/Skeleton/Skeleton.mjs.map +1 -0
  532. package/dist/components/Skeleton/Skeleton.types.cjs +3 -0
  533. package/dist/components/Skeleton/Skeleton.types.cjs.map +1 -0
  534. package/dist/components/Skeleton/Skeleton.types.d.cts +38 -0
  535. package/dist/components/Skeleton/Skeleton.types.d.cts.map +1 -0
  536. package/dist/components/Skeleton/Skeleton.types.d.mts +38 -0
  537. package/dist/components/Skeleton/Skeleton.types.d.mts.map +1 -0
  538. package/dist/components/Skeleton/Skeleton.types.mjs +2 -0
  539. package/dist/components/Skeleton/Skeleton.types.mjs.map +1 -0
  540. package/dist/components/Skeleton/index.cjs +6 -0
  541. package/dist/components/Skeleton/index.cjs.map +1 -0
  542. package/dist/components/Skeleton/index.d.cts +3 -0
  543. package/dist/components/Skeleton/index.d.cts.map +1 -0
  544. package/dist/components/Skeleton/index.d.mts +3 -0
  545. package/dist/components/Skeleton/index.d.mts.map +1 -0
  546. package/dist/components/Skeleton/index.mjs +2 -0
  547. package/dist/components/Skeleton/index.mjs.map +1 -0
  548. package/dist/components/index.cjs +22 -2
  549. package/dist/components/index.cjs.map +1 -1
  550. package/dist/components/index.d.cts +17 -1
  551. package/dist/components/index.d.cts.map +1 -1
  552. package/dist/components/index.d.mts +17 -1
  553. package/dist/components/index.d.mts.map +1 -1
  554. package/dist/components/index.mjs +8 -0
  555. package/dist/components/index.mjs.map +1 -1
  556. package/dist/types/index.cjs +9 -606
  557. package/dist/types/index.cjs.map +1 -1
  558. package/dist/types/index.d.cts +4 -597
  559. package/dist/types/index.d.cts.map +1 -1
  560. package/dist/types/index.d.mts +4 -597
  561. package/dist/types/index.d.mts.map +1 -1
  562. package/dist/types/index.mjs +4 -607
  563. package/dist/types/index.mjs.map +1 -1
  564. package/package.json +6 -8
@@ -1,5 +1,5 @@
1
+ import { IconName } from "@metamask-previews/design-system-shared";
1
2
  import React from "react";
2
- import { ButtonSize, IconName } from "../../types/index.mjs";
3
3
  export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@metamask-previews/design-system-shared").BannerBasePropsShared & Omit<import("../Box/index.mjs").BoxProps, "children"> & {
4
4
  titleProps?: Partial<import("../Text/index.mjs").TextProps> | undefined;
5
5
  descriptionProps?: Partial<import("../Text/index.mjs").TextProps> | undefined;
@@ -7,7 +7,6 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
7
7
  onClose?: React.MouseEventHandler<HTMLButtonElement> | undefined;
8
8
  closeButtonProps?: (Omit<Partial<import("../ButtonIcon/index.mjs").ButtonIconProps>, "onClick" | "iconName"> & {
9
9
  'data-testid'?: string | undefined;
10
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
11
10
  }) | undefined;
12
11
  } & {
13
12
  actionButtonOnClick: React.MouseEventHandler<HTMLButtonElement>;
@@ -40,7 +39,7 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
40
39
  nonce?: string | undefined;
41
40
  tabIndex?: number | undefined;
42
41
  disabled?: boolean | undefined;
43
- size?: ButtonSize | undefined;
42
+ size?: import("@metamask-previews/design-system-shared").ButtonBaseSize | undefined;
44
43
  formAction?: string | undefined;
45
44
  formEncType?: string | undefined;
46
45
  formMethod?: string | undefined;
@@ -289,11 +288,12 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
289
288
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
290
289
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
291
290
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
291
+ isDisabled?: boolean | undefined;
292
292
  asChild?: boolean | undefined;
293
293
  textProps?: Partial<import("../Text/index.mjs").TextProps> | undefined;
294
- isFullWidth?: boolean | undefined;
295
294
  isLoading?: boolean | undefined;
296
295
  loadingText?: string | undefined;
296
+ isFullWidth?: boolean | undefined;
297
297
  loadingTextProps?: Partial<import("../Text/index.mjs").TextProps> | undefined;
298
298
  startIconName?: IconName | undefined;
299
299
  startIconProps?: Partial<import("../index.mjs").IconProps> | undefined;
@@ -301,7 +301,6 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
301
301
  endIconName?: IconName | undefined;
302
302
  endIconProps?: Partial<import("../index.mjs").IconProps> | undefined;
303
303
  endAccessory?: React.ReactNode;
304
- isDisabled?: boolean | undefined;
305
304
  loadingIconProps?: Partial<import("../index.mjs").IconProps> | undefined;
306
305
  isDanger?: boolean | undefined;
307
306
  isInverse?: boolean | undefined;
@@ -313,7 +312,6 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
313
312
  onClose?: React.MouseEventHandler<HTMLButtonElement> | undefined;
314
313
  closeButtonProps?: (Omit<Partial<import("../ButtonIcon/index.mjs").ButtonIconProps>, "onClick" | "iconName"> & {
315
314
  'data-testid'?: string | undefined;
316
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
317
315
  }) | undefined;
318
316
  } & {
319
317
  actionButtonOnClick?: undefined;
@@ -346,7 +344,7 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
346
344
  nonce?: string | undefined;
347
345
  tabIndex?: number | undefined;
348
346
  disabled?: boolean | undefined;
349
- size?: ButtonSize | undefined;
347
+ size?: import("@metamask-previews/design-system-shared").ButtonBaseSize | undefined;
350
348
  formAction?: string | undefined;
351
349
  formEncType?: string | undefined;
352
350
  formMethod?: string | undefined;
@@ -595,11 +593,12 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
595
593
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
596
594
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
597
595
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
596
+ isDisabled?: boolean | undefined;
598
597
  asChild?: boolean | undefined;
599
598
  textProps?: Partial<import("../Text/index.mjs").TextProps> | undefined;
600
- isFullWidth?: boolean | undefined;
601
599
  isLoading?: boolean | undefined;
602
600
  loadingText?: string | undefined;
601
+ isFullWidth?: boolean | undefined;
603
602
  loadingTextProps?: Partial<import("../Text/index.mjs").TextProps> | undefined;
604
603
  startIconName?: IconName | undefined;
605
604
  startIconProps?: Partial<import("../index.mjs").IconProps> | undefined;
@@ -607,7 +606,6 @@ export declare const BannerBase: React.ForwardRefExoticComponent<(Omit<import("@
607
606
  endIconName?: IconName | undefined;
608
607
  endIconProps?: Partial<import("../index.mjs").IconProps> | undefined;
609
608
  endAccessory?: React.ReactNode;
610
- isDisabled?: boolean | undefined;
611
609
  loadingIconProps?: Partial<import("../index.mjs").IconProps> | undefined;
612
610
  isDanger?: boolean | undefined;
613
611
  isInverse?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"BannerBase.d.mts","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,cAAc;AAE1C,OAAO,EAIL,UAAU,EAEV,QAAQ,EACT,8BAAoB;AAerB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAyGtB,CAAC"}
@@ -4,10 +4,9 @@ function $importDefault(module) {
4
4
  }
5
5
  return module;
6
6
  }
7
- import { FontWeight, TextVariant } from "@metamask-previews/design-system-shared";
7
+ import { BoxAlignItems, BoxBackgroundColor, BoxFlexDirection, ButtonIconSize, ButtonSize, FontWeight, IconName, TextVariant } from "@metamask-previews/design-system-shared";
8
8
  import $React, { forwardRef } from "react";
9
9
  const React = $importDefault($React);
10
- import { BoxAlignItems, BoxBackgroundColor, ButtonIconSize, ButtonSize, BoxFlexDirection, IconName } from "../../types/index.mjs";
11
10
  import { twMerge } from "../../utils/tw-merge.mjs";
12
11
  import { Box } from "../Box/index.mjs";
13
12
  import { Button } from "../Button/index.mjs";
@@ -17,8 +16,8 @@ const isTextContent = (content) => typeof content === 'string' || typeof content
17
16
  const hasContent = (content) => content !== null && content !== undefined;
18
17
  export const BannerBase = forwardRef(({ title, titleProps, description, descriptionProps, children, childrenWrapperProps, actionButtonLabel, actionButtonOnClick, actionButtonProps, startAccessory, onClose, closeButtonProps, className, ...props }, ref) => {
19
18
  const resolvedActionButtonProps = actionButtonProps ?? {};
20
- const { ariaLabel: closeButtonAriaLabel = 'Close banner', onClick: closeButtonPropsOnClick, className: closeButtonClassName, ...resolvedCloseButtonProps } = closeButtonProps ?? {};
21
- const shouldShowCloseButton = Boolean(onClose || closeButtonProps);
19
+ const { ariaLabel: closeButtonAriaLabel = 'Close banner', className: closeButtonClassName, ...resolvedCloseButtonProps } = closeButtonProps ?? {};
20
+ const shouldShowCloseButton = Boolean(onClose);
22
21
  const shouldShowActionButton = Boolean(actionButtonOnClick);
23
22
  return (React.createElement(Box, { ref: ref, flexDirection: BoxFlexDirection.Row, alignItems: BoxAlignItems.Start, gap: 2, backgroundColor: BoxBackgroundColor.BackgroundDefault, padding: 3, className: twMerge('rounded-sm', className), ...props },
24
23
  startAccessory,
@@ -30,7 +29,7 @@ export const BannerBase = forwardRef(({ title, titleProps, description, descript
30
29
  (isTextContent(children) ? (React.createElement(Text, { variant: TextVariant.BodyMd, ...childrenWrapperProps }, children)) : (children)),
31
30
  shouldShowActionButton && (React.createElement(Box, { className: "mt-4" },
32
31
  React.createElement(Button, { size: ButtonSize.Md, onClick: actionButtonOnClick, ...resolvedActionButtonProps }, actionButtonLabel)))),
33
- shouldShowCloseButton && (React.createElement(ButtonIcon, { className: twMerge('ml-3 self-start', closeButtonClassName), iconName: IconName.Close, size: ButtonIconSize.Sm, ariaLabel: closeButtonAriaLabel, onClick: onClose ?? closeButtonPropsOnClick, ...resolvedCloseButtonProps }))));
32
+ shouldShowCloseButton && (React.createElement(ButtonIcon, { className: twMerge('ml-3 self-start', closeButtonClassName), iconName: IconName.Close, size: ButtonIconSize.Sm, ariaLabel: closeButtonAriaLabel, onClick: onClose, ...resolvedCloseButtonProps }))));
34
33
  });
35
34
  BannerBase.displayName = 'BannerBase';
36
35
  //# sourceMappingURL=BannerBase.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"BannerBase.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,gDAAgD;AAClF,OAAO,QAAO,EAAE,UAAU,EAAE,cAAc;;AAE1C,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,QAAQ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EAAE,oBAAoB,CAAC,EAC3D,QAAQ,EAAE,QAAQ,CAAC,KAAK,EACxB,IAAI,EAAE,cAAc,CAAC,EAAE,EACvB,SAAS,EAAE,oBAAoB,EAC/B,OAAO,EAAE,OAAO,IAAI,uBAAuB,KACvC,wBAAwB,GAC5B,CACH,CACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC","sourcesContent":["import { FontWeight, TextVariant } from '@metamask-previews/design-system-shared';\nimport React, { forwardRef } from 'react';\n\nimport {\n BoxAlignItems,\n BoxBackgroundColor,\n ButtonIconSize,\n ButtonSize,\n BoxFlexDirection,\n IconName,\n} from '../../types';\nimport { twMerge } from '../../utils/tw-merge';\nimport { Box } from '../Box';\nimport { Button } from '../Button';\nimport { ButtonIcon } from '../ButtonIcon';\nimport { Text } from '../Text';\n\nimport type { BannerBaseProps } from './BannerBase.types';\n\nconst isTextContent = (content: React.ReactNode): content is string | number =>\n typeof content === 'string' || typeof content === 'number';\n\nconst hasContent = (content: React.ReactNode) =>\n content !== null && content !== undefined;\n\nexport const BannerBase = forwardRef<HTMLDivElement, BannerBaseProps>(\n (\n {\n title,\n titleProps,\n description,\n descriptionProps,\n children,\n childrenWrapperProps,\n actionButtonLabel,\n actionButtonOnClick,\n actionButtonProps,\n startAccessory,\n onClose,\n closeButtonProps,\n className,\n ...props\n },\n ref,\n ) => {\n const resolvedActionButtonProps = actionButtonProps ?? {};\n\n const {\n ariaLabel: closeButtonAriaLabel = 'Close banner',\n onClick: closeButtonPropsOnClick,\n className: closeButtonClassName,\n ...resolvedCloseButtonProps\n } = closeButtonProps ?? {};\n\n const shouldShowCloseButton = Boolean(onClose || closeButtonProps);\n const shouldShowActionButton = Boolean(actionButtonOnClick);\n\n return (\n <Box\n ref={ref}\n flexDirection={BoxFlexDirection.Row}\n alignItems={BoxAlignItems.Start}\n gap={2}\n backgroundColor={BoxBackgroundColor.BackgroundDefault}\n padding={3}\n className={twMerge('rounded-sm', className)}\n {...props}\n >\n {startAccessory}\n\n <Box className=\"min-w-0 flex-1\">\n {hasContent(title) &&\n (isTextContent(title) ? (\n <Text\n variant={TextVariant.BodyMd}\n fontWeight={FontWeight.Medium}\n {...titleProps}\n >\n {title}\n </Text>\n ) : (\n title\n ))}\n\n {hasContent(description) && (\n <Box className={hasContent(title) ? 'mt-1' : undefined}>\n {isTextContent(description) ? (\n <Text variant={TextVariant.BodySm} {...descriptionProps}>\n {description}\n </Text>\n ) : (\n description\n )}\n </Box>\n )}\n\n {hasContent(children) &&\n (isTextContent(children) ? (\n <Text variant={TextVariant.BodyMd} {...childrenWrapperProps}>\n {children}\n </Text>\n ) : (\n children\n ))}\n\n {shouldShowActionButton && (\n <Box className=\"mt-4\">\n <Button\n size={ButtonSize.Md}\n onClick={actionButtonOnClick}\n {...resolvedActionButtonProps}\n >\n {actionButtonLabel}\n </Button>\n </Box>\n )}\n </Box>\n\n {shouldShowCloseButton && (\n <ButtonIcon\n className={twMerge('ml-3 self-start', closeButtonClassName)}\n iconName={IconName.Close}\n size={ButtonIconSize.Sm}\n ariaLabel={closeButtonAriaLabel}\n onClick={onClose ?? closeButtonPropsOnClick}\n {...resolvedCloseButtonProps}\n />\n )}\n </Box>\n );\n },\n);\n\nBannerBase.displayName = 'BannerBase';\n"]}
1
+ {"version":3,"file":"BannerBase.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACZ,gDAAgD;AACjD,OAAO,QAAO,EAAE,UAAU,EAAE,cAAc;;AAE1C,OAAO,EAAE,OAAO,EAAE,iCAA6B;AAC/C,OAAO,EAAE,GAAG,EAAE,yBAAe;AAC7B,OAAO,EAAE,MAAM,EAAE,4BAAkB;AACnC,OAAO,EAAE,UAAU,EAAE,gCAAsB;AA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AAEF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC","sourcesContent":["import {\n BoxAlignItems,\n BoxBackgroundColor,\n BoxFlexDirection,\n ButtonIconSize,\n ButtonSize,\n FontWeight,\n IconName,\n TextVariant,\n} from '@metamask-previews/design-system-shared';\nimport React, { forwardRef } from 'react';\n\nimport { twMerge } from '../../utils/tw-merge';\nimport { Box } from '../Box';\nimport { Button } from '../Button';\nimport { ButtonIcon } from '../ButtonIcon';\nimport { Text } from '../Text';\n\nimport type { BannerBaseProps } from './BannerBase.types';\n\nconst isTextContent = (content: React.ReactNode): content is string | number =>\n typeof content === 'string' || typeof content === 'number';\n\nconst hasContent = (content: React.ReactNode) =>\n content !== null && content !== undefined;\n\nexport const BannerBase = forwardRef<HTMLDivElement, BannerBaseProps>(\n (\n {\n title,\n titleProps,\n description,\n descriptionProps,\n children,\n childrenWrapperProps,\n actionButtonLabel,\n actionButtonOnClick,\n actionButtonProps,\n startAccessory,\n onClose,\n closeButtonProps,\n className,\n ...props\n },\n ref,\n ) => {\n const resolvedActionButtonProps = actionButtonProps ?? {};\n\n const {\n ariaLabel: closeButtonAriaLabel = 'Close banner',\n className: closeButtonClassName,\n ...resolvedCloseButtonProps\n } = closeButtonProps ?? {};\n\n const shouldShowCloseButton = Boolean(onClose);\n const shouldShowActionButton = Boolean(actionButtonOnClick);\n\n return (\n <Box\n ref={ref}\n flexDirection={BoxFlexDirection.Row}\n alignItems={BoxAlignItems.Start}\n gap={2}\n backgroundColor={BoxBackgroundColor.BackgroundDefault}\n padding={3}\n className={twMerge('rounded-sm', className)}\n {...props}\n >\n {startAccessory}\n\n <Box className=\"min-w-0 flex-1\">\n {hasContent(title) &&\n (isTextContent(title) ? (\n <Text\n variant={TextVariant.BodyMd}\n fontWeight={FontWeight.Medium}\n {...titleProps}\n >\n {title}\n </Text>\n ) : (\n title\n ))}\n\n {hasContent(description) && (\n <Box className={hasContent(title) ? 'mt-1' : undefined}>\n {isTextContent(description) ? (\n <Text variant={TextVariant.BodySm} {...descriptionProps}>\n {description}\n </Text>\n ) : (\n description\n )}\n </Box>\n )}\n\n {hasContent(children) &&\n (isTextContent(children) ? (\n <Text variant={TextVariant.BodyMd} {...childrenWrapperProps}>\n {children}\n </Text>\n ) : (\n children\n ))}\n\n {shouldShowActionButton && (\n <Box className=\"mt-4\">\n <Button\n size={ButtonSize.Md}\n onClick={actionButtonOnClick}\n {...resolvedActionButtonProps}\n >\n {actionButtonLabel}\n </Button>\n </Box>\n )}\n </Box>\n\n {shouldShowCloseButton && (\n <ButtonIcon\n className={twMerge('ml-3 self-start', closeButtonClassName)}\n iconName={IconName.Close}\n size={ButtonIconSize.Sm}\n ariaLabel={closeButtonAriaLabel}\n onClick={onClose}\n {...resolvedCloseButtonProps}\n />\n )}\n </Box>\n );\n },\n);\n\nBannerBase.displayName = 'BannerBase';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"BannerBase.types.cjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BannerBasePropsShared } from '@metamask-previews/design-system-shared';\nimport type { MouseEventHandler } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport type { ButtonProps } from '../Button';\nimport type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextProps } from '../Text';\n\ntype BannerBaseActionButtonProps = Omit<\n Partial<ButtonProps>,\n 'children' | 'onClick' | 'variant'\n>;\n\ntype BannerBaseCloseButtonProps = Omit<\n Partial<ButtonIconProps>,\n 'iconName' | 'onClick'\n> & {\n /**\n * Optional test id for the close button element.\n */\n 'data-testid'?: string;\n /**\n * Optional click handler for the close button.\n */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n};\n\ntype BannerBasePropsBase = BannerBasePropsShared &\n Omit<BoxProps, 'children'> & {\n /**\n * Optional props for the title `Text` when the title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Optional props for the description `Text` when description is a string.\n */\n descriptionProps?: Partial<TextProps>;\n /**\n * Optional props for the children wrapper `Text` when children is a string.\n */\n childrenWrapperProps?: Partial<TextProps>;\n /**\n * Optional click handler for the close button.\n * If provided, a close button is shown.\n */\n onClose?: MouseEventHandler<HTMLButtonElement>;\n /**\n * Optional props for the close `ButtonIcon`.\n * Providing this also shows a close button.\n */\n closeButtonProps?: BannerBaseCloseButtonProps;\n };\n\ntype BannerBaseActionPropsWithHandler = {\n actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;\n actionButtonLabel: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\ntype BannerBaseActionPropsWithoutHandler = {\n actionButtonOnClick?: undefined;\n actionButtonLabel?: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\nexport type BannerBaseProps = BannerBasePropsBase &\n (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);\n"]}
1
+ {"version":3,"file":"BannerBase.types.cjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BannerBasePropsShared } from '@metamask-previews/design-system-shared';\nimport type { MouseEventHandler } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport type { ButtonProps } from '../Button';\nimport type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextProps } from '../Text';\n\ntype BannerBaseActionButtonProps = Omit<\n Partial<ButtonProps>,\n 'children' | 'onClick' | 'variant'\n>;\n\ntype BannerBaseCloseButtonProps = Omit<\n Partial<ButtonIconProps>,\n 'iconName' | 'onClick'\n> & {\n /**\n * Optional test id for the close button element.\n */\n 'data-testid'?: string;\n};\n\ntype BannerBasePropsBase = BannerBasePropsShared &\n Omit<BoxProps, 'children'> & {\n /**\n * Optional props for the title `Text` when the title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Optional props for the description `Text` when description is a string.\n */\n descriptionProps?: Partial<TextProps>;\n /**\n * Optional props for the children wrapper `Text` when children is a string.\n */\n childrenWrapperProps?: Partial<TextProps>;\n /**\n * Optional click handler for the close button.\n * If provided, a close button is shown.\n */\n onClose?: MouseEventHandler<HTMLButtonElement>;\n /**\n * Optional props for the close `ButtonIcon`.\n * Only used when `onClose` is provided.\n */\n closeButtonProps?: BannerBaseCloseButtonProps;\n };\n\ntype BannerBaseActionPropsWithHandler = {\n actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;\n actionButtonLabel: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\ntype BannerBaseActionPropsWithoutHandler = {\n actionButtonOnClick?: undefined;\n actionButtonLabel?: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\nexport type BannerBaseProps = BannerBasePropsBase &\n (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);\n"]}
@@ -10,10 +10,6 @@ type BannerBaseCloseButtonProps = Omit<Partial<ButtonIconProps>, 'iconName' | 'o
10
10
  * Optional test id for the close button element.
11
11
  */
12
12
  'data-testid'?: string;
13
- /**
14
- * Optional click handler for the close button.
15
- */
16
- onClick?: MouseEventHandler<HTMLButtonElement>;
17
13
  };
18
14
  type BannerBasePropsBase = BannerBasePropsShared & Omit<BoxProps, 'children'> & {
19
15
  /**
@@ -35,7 +31,7 @@ type BannerBasePropsBase = BannerBasePropsShared & Omit<BoxProps, 'children'> &
35
31
  onClose?: MouseEventHandler<HTMLButtonElement>;
36
32
  /**
37
33
  * Optional props for the close `ButtonIcon`.
38
- * Providing this also shows a close button.
34
+ * Only used when `onClose` is provided.
39
35
  */
40
36
  closeButtonProps?: BannerBaseCloseButtonProps;
41
37
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BannerBase.types.d.cts","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gDAAgD;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAe;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAkB;AAC7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iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,KAAK,mCAAmC,GAAG;IACzC,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAC/C,CAAC,gCAAgC,GAAG,mCAAmC,CAAC,CAAC"}
@@ -10,10 +10,6 @@ type BannerBaseCloseButtonProps = Omit<Partial<ButtonIconProps>, 'iconName' | 'o
10
10
  * Optional test id for the close button element.
11
11
  */
12
12
  'data-testid'?: string;
13
- /**
14
- * Optional click handler for the close button.
15
- */
16
- onClick?: MouseEventHandler<HTMLButtonElement>;
17
13
  };
18
14
  type BannerBasePropsBase = BannerBasePropsShared & Omit<BoxProps, 'children'> & {
19
15
  /**
@@ -35,7 +31,7 @@ type BannerBasePropsBase = BannerBasePropsShared & Omit<BoxProps, 'children'> &
35
31
  onClose?: MouseEventHandler<HTMLButtonElement>;
36
32
  /**
37
33
  * Optional props for the close `ButtonIcon`.
38
- * Providing this also shows a close button.
34
+ * Only used when `onClose` is provided.
39
35
  */
40
36
  closeButtonProps?: BannerBaseCloseButtonProps;
41
37
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BannerBase.types.d.mts","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gDAAgD;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAe;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAkB;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,gCAAsB;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC,KAAK,2BAA2B,GAAG,IAAI,CACrC,OAAO,CAAC,WAAW,CA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AAC;IAC3B,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAC/C,CAAC,gCAAgC,GAAG,mCAAmC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BannerBase.types.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BannerBasePropsShared } from '@metamask-previews/design-system-shared';\nimport type { MouseEventHandler } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport type { ButtonProps } from '../Button';\nimport type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextProps } from '../Text';\n\ntype BannerBaseActionButtonProps = Omit<\n Partial<ButtonProps>,\n 'children' | 'onClick' | 'variant'\n>;\n\ntype BannerBaseCloseButtonProps = Omit<\n Partial<ButtonIconProps>,\n 'iconName' | 'onClick'\n> & {\n /**\n * Optional test id for the close button element.\n */\n 'data-testid'?: string;\n /**\n * Optional click handler for the close button.\n */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n};\n\ntype BannerBasePropsBase = BannerBasePropsShared &\n Omit<BoxProps, 'children'> & {\n /**\n * Optional props for the title `Text` when the title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Optional props for the description `Text` when description is a string.\n */\n descriptionProps?: Partial<TextProps>;\n /**\n * Optional props for the children wrapper `Text` when children is a string.\n */\n childrenWrapperProps?: Partial<TextProps>;\n /**\n * Optional click handler for the close button.\n * If provided, a close button is shown.\n */\n onClose?: MouseEventHandler<HTMLButtonElement>;\n /**\n * Optional props for the close `ButtonIcon`.\n * Providing this also shows a close button.\n */\n closeButtonProps?: BannerBaseCloseButtonProps;\n };\n\ntype BannerBaseActionPropsWithHandler = {\n actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;\n actionButtonLabel: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\ntype BannerBaseActionPropsWithoutHandler = {\n actionButtonOnClick?: undefined;\n actionButtonLabel?: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\nexport type BannerBaseProps = BannerBasePropsBase &\n (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);\n"]}
1
+ {"version":3,"file":"BannerBase.types.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BannerBasePropsShared } from '@metamask-previews/design-system-shared';\nimport type { MouseEventHandler } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport type { ButtonProps } from '../Button';\nimport type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextProps } from '../Text';\n\ntype BannerBaseActionButtonProps = Omit<\n Partial<ButtonProps>,\n 'children' | 'onClick' | 'variant'\n>;\n\ntype BannerBaseCloseButtonProps = Omit<\n Partial<ButtonIconProps>,\n 'iconName' | 'onClick'\n> & {\n /**\n * Optional test id for the close button element.\n */\n 'data-testid'?: string;\n};\n\ntype BannerBasePropsBase = BannerBasePropsShared &\n Omit<BoxProps, 'children'> & {\n /**\n * Optional props for the title `Text` when the title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Optional props for the description `Text` when description is a string.\n */\n descriptionProps?: Partial<TextProps>;\n /**\n * Optional props for the children wrapper `Text` when children is a string.\n */\n childrenWrapperProps?: Partial<TextProps>;\n /**\n * Optional click handler for the close button.\n * If provided, a close button is shown.\n */\n onClose?: MouseEventHandler<HTMLButtonElement>;\n /**\n * Optional props for the close `ButtonIcon`.\n * Only used when `onClose` is provided.\n */\n closeButtonProps?: BannerBaseCloseButtonProps;\n };\n\ntype BannerBaseActionPropsWithHandler = {\n actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;\n actionButtonLabel: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\ntype BannerBaseActionPropsWithoutHandler = {\n actionButtonOnClick?: undefined;\n actionButtonLabel?: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\nexport type BannerBaseProps = BannerBasePropsBase &\n (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Box.constants.cjs","sourceRoot":"","sources":["../../../src/components/Box/Box.constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAA+B;IAC5D,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;CACb,CAAC;AAEW,QAAA,qBAAqB,GAA+B;IAC/D,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;CACX,CAAC;AAEW,QAAA,yBAAyB,GAA+B;IACnE,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEW,QAAA,2BAA2B,GAA+B;IACrE,CAAC,EAAE,MAAM;IACT,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,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEW,QAAA,2BAA2B,GAAmC;IACzE,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;CACd,CAAC","sourcesContent":["import type { BoxSpacing, BoxBorderWidth } from '../../types';\n\nexport const TWCLASSMAP_BOX_GAP: Record<BoxSpacing, string> = {\n 0: 'gap-0',\n 1: 'gap-1',\n 2: 'gap-2',\n 3: 'gap-3',\n 4: 'gap-4',\n 5: 'gap-5',\n 6: 'gap-6',\n 7: 'gap-7',\n 8: 'gap-8',\n 9: 'gap-9',\n 10: 'gap-10',\n 11: 'gap-11',\n 12: 'gap-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN: Record<BoxSpacing, string> = {\n 0: 'm-0',\n 1: 'm-1',\n 2: 'm-2',\n 3: 'm-3',\n 4: 'm-4',\n 5: 'm-5',\n 6: 'm-6',\n 7: 'm-7',\n 8: 'm-8',\n 9: 'm-9',\n 10: 'm-10',\n 11: 'm-11',\n 12: 'm-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_TOP: Record<BoxSpacing, string> = {\n 0: 'mt-0',\n 1: 'mt-1',\n 2: 'mt-2',\n 3: 'mt-3',\n 4: 'mt-4',\n 5: 'mt-5',\n 6: 'mt-6',\n 7: 'mt-7',\n 8: 'mt-8',\n 9: 'mt-9',\n 10: 'mt-10',\n 11: 'mt-11',\n 12: 'mt-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_RIGHT: Record<BoxSpacing, string> = {\n 0: 'mr-0',\n 1: 'mr-1',\n 2: 'mr-2',\n 3: 'mr-3',\n 4: 'mr-4',\n 5: 'mr-5',\n 6: 'mr-6',\n 7: 'mr-7',\n 8: 'mr-8',\n 9: 'mr-9',\n 10: 'mr-10',\n 11: 'mr-11',\n 12: 'mr-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'mb-0',\n 1: 'mb-1',\n 2: 'mb-2',\n 3: 'mb-3',\n 4: 'mb-4',\n 5: 'mb-5',\n 6: 'mb-6',\n 7: 'mb-7',\n 8: 'mb-8',\n 9: 'mb-9',\n 10: 'mb-10',\n 11: 'mb-11',\n 12: 'mb-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_LEFT: Record<BoxSpacing, string> = {\n 0: 'ml-0',\n 1: 'ml-1',\n 2: 'ml-2',\n 3: 'ml-3',\n 4: 'ml-4',\n 5: 'ml-5',\n 6: 'ml-6',\n 7: 'ml-7',\n 8: 'ml-8',\n 9: 'ml-9',\n 10: 'ml-10',\n 11: 'ml-11',\n 12: 'ml-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'mx-0',\n 1: 'mx-1',\n 2: 'mx-2',\n 3: 'mx-3',\n 4: 'mx-4',\n 5: 'mx-5',\n 6: 'mx-6',\n 7: 'mx-7',\n 8: 'mx-8',\n 9: 'mx-9',\n 10: 'mx-10',\n 11: 'mx-11',\n 12: 'mx-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'my-0',\n 1: 'my-1',\n 2: 'my-2',\n 3: 'my-3',\n 4: 'my-4',\n 5: 'my-5',\n 6: 'my-6',\n 7: 'my-7',\n 8: 'my-8',\n 9: 'my-9',\n 10: 'my-10',\n 11: 'my-11',\n 12: 'my-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING: Record<BoxSpacing, string> = {\n 0: 'p-0',\n 1: 'p-1',\n 2: 'p-2',\n 3: 'p-3',\n 4: 'p-4',\n 5: 'p-5',\n 6: 'p-6',\n 7: 'p-7',\n 8: 'p-8',\n 9: 'p-9',\n 10: 'p-10',\n 11: 'p-11',\n 12: 'p-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_TOP: Record<BoxSpacing, string> = {\n 0: 'pt-0',\n 1: 'pt-1',\n 2: 'pt-2',\n 3: 'pt-3',\n 4: 'pt-4',\n 5: 'pt-5',\n 6: 'pt-6',\n 7: 'pt-7',\n 8: 'pt-8',\n 9: 'pt-9',\n 10: 'pt-10',\n 11: 'pt-11',\n 12: 'pt-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_RIGHT: Record<BoxSpacing, string> = {\n 0: 'pr-0',\n 1: 'pr-1',\n 2: 'pr-2',\n 3: 'pr-3',\n 4: 'pr-4',\n 5: 'pr-5',\n 6: 'pr-6',\n 7: 'pr-7',\n 8: 'pr-8',\n 9: 'pr-9',\n 10: 'pr-10',\n 11: 'pr-11',\n 12: 'pr-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'pb-0',\n 1: 'pb-1',\n 2: 'pb-2',\n 3: 'pb-3',\n 4: 'pb-4',\n 5: 'pb-5',\n 6: 'pb-6',\n 7: 'pb-7',\n 8: 'pb-8',\n 9: 'pb-9',\n 10: 'pb-10',\n 11: 'pb-11',\n 12: 'pb-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_LEFT: Record<BoxSpacing, string> = {\n 0: 'pl-0',\n 1: 'pl-1',\n 2: 'pl-2',\n 3: 'pl-3',\n 4: 'pl-4',\n 5: 'pl-5',\n 6: 'pl-6',\n 7: 'pl-7',\n 8: 'pl-8',\n 9: 'pl-9',\n 10: 'pl-10',\n 11: 'pl-11',\n 12: 'pl-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'px-0',\n 1: 'px-1',\n 2: 'px-2',\n 3: 'px-3',\n 4: 'px-4',\n 5: 'px-5',\n 6: 'px-6',\n 7: 'px-7',\n 8: 'px-8',\n 9: 'px-9',\n 10: 'px-10',\n 11: 'px-11',\n 12: 'px-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'py-0',\n 1: 'py-1',\n 2: 'py-2',\n 3: 'py-3',\n 4: 'py-4',\n 5: 'py-5',\n 6: 'py-6',\n 7: 'py-7',\n 8: 'py-8',\n 9: 'py-9',\n 10: 'py-10',\n 11: 'py-11',\n 12: 'py-12',\n};\n\nexport const TWCLASSMAP_BOX_BORDER_WIDTH: Record<BoxBorderWidth, string> = {\n 0: 'border-0',\n 1: 'border',\n 2: 'border-2',\n 4: 'border-4',\n 8: 'border-8',\n};\n"]}
1
+ {"version":3,"file":"Box.constants.cjs","sourceRoot":"","sources":["../../../src/components/Box/Box.constants.ts"],"names":[],"mappings":";;;AAKa,QAAA,kBAAkB,GAA+B;IAC5D,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;CACb,CAAC;AAEW,QAAA,qBAAqB,GAA+B;IAC/D,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAA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;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEW,QAAA,iCAAiC,GAA+B;IAC3E,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEW,QAAA,+BAA+B,GAA+B;IACzE,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEW,QAAA,2BAA2B,GAAmC;IACzE,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;CACd,CAAC","sourcesContent":["import type {\n BoxSpacing,\n BoxBorderWidth,\n} from '@metamask-previews/design-system-shared';\n\nexport const TWCLASSMAP_BOX_GAP: Record<BoxSpacing, string> = {\n 0: 'gap-0',\n 1: 'gap-1',\n 2: 'gap-2',\n 3: 'gap-3',\n 4: 'gap-4',\n 5: 'gap-5',\n 6: 'gap-6',\n 7: 'gap-7',\n 8: 'gap-8',\n 9: 'gap-9',\n 10: 'gap-10',\n 11: 'gap-11',\n 12: 'gap-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN: Record<BoxSpacing, string> = {\n 0: 'm-0',\n 1: 'm-1',\n 2: 'm-2',\n 3: 'm-3',\n 4: 'm-4',\n 5: 'm-5',\n 6: 'm-6',\n 7: 'm-7',\n 8: 'm-8',\n 9: 'm-9',\n 10: 'm-10',\n 11: 'm-11',\n 12: 'm-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_TOP: Record<BoxSpacing, string> = {\n 0: 'mt-0',\n 1: 'mt-1',\n 2: 'mt-2',\n 3: 'mt-3',\n 4: 'mt-4',\n 5: 'mt-5',\n 6: 'mt-6',\n 7: 'mt-7',\n 8: 'mt-8',\n 9: 'mt-9',\n 10: 'mt-10',\n 11: 'mt-11',\n 12: 'mt-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_RIGHT: Record<BoxSpacing, string> = {\n 0: 'mr-0',\n 1: 'mr-1',\n 2: 'mr-2',\n 3: 'mr-3',\n 4: 'mr-4',\n 5: 'mr-5',\n 6: 'mr-6',\n 7: 'mr-7',\n 8: 'mr-8',\n 9: 'mr-9',\n 10: 'mr-10',\n 11: 'mr-11',\n 12: 'mr-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'mb-0',\n 1: 'mb-1',\n 2: 'mb-2',\n 3: 'mb-3',\n 4: 'mb-4',\n 5: 'mb-5',\n 6: 'mb-6',\n 7: 'mb-7',\n 8: 'mb-8',\n 9: 'mb-9',\n 10: 'mb-10',\n 11: 'mb-11',\n 12: 'mb-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_LEFT: Record<BoxSpacing, string> = {\n 0: 'ml-0',\n 1: 'ml-1',\n 2: 'ml-2',\n 3: 'ml-3',\n 4: 'ml-4',\n 5: 'ml-5',\n 6: 'ml-6',\n 7: 'ml-7',\n 8: 'ml-8',\n 9: 'ml-9',\n 10: 'ml-10',\n 11: 'ml-11',\n 12: 'ml-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'mx-0',\n 1: 'mx-1',\n 2: 'mx-2',\n 3: 'mx-3',\n 4: 'mx-4',\n 5: 'mx-5',\n 6: 'mx-6',\n 7: 'mx-7',\n 8: 'mx-8',\n 9: 'mx-9',\n 10: 'mx-10',\n 11: 'mx-11',\n 12: 'mx-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'my-0',\n 1: 'my-1',\n 2: 'my-2',\n 3: 'my-3',\n 4: 'my-4',\n 5: 'my-5',\n 6: 'my-6',\n 7: 'my-7',\n 8: 'my-8',\n 9: 'my-9',\n 10: 'my-10',\n 11: 'my-11',\n 12: 'my-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING: Record<BoxSpacing, string> = {\n 0: 'p-0',\n 1: 'p-1',\n 2: 'p-2',\n 3: 'p-3',\n 4: 'p-4',\n 5: 'p-5',\n 6: 'p-6',\n 7: 'p-7',\n 8: 'p-8',\n 9: 'p-9',\n 10: 'p-10',\n 11: 'p-11',\n 12: 'p-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_TOP: Record<BoxSpacing, string> = {\n 0: 'pt-0',\n 1: 'pt-1',\n 2: 'pt-2',\n 3: 'pt-3',\n 4: 'pt-4',\n 5: 'pt-5',\n 6: 'pt-6',\n 7: 'pt-7',\n 8: 'pt-8',\n 9: 'pt-9',\n 10: 'pt-10',\n 11: 'pt-11',\n 12: 'pt-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_RIGHT: Record<BoxSpacing, string> = {\n 0: 'pr-0',\n 1: 'pr-1',\n 2: 'pr-2',\n 3: 'pr-3',\n 4: 'pr-4',\n 5: 'pr-5',\n 6: 'pr-6',\n 7: 'pr-7',\n 8: 'pr-8',\n 9: 'pr-9',\n 10: 'pr-10',\n 11: 'pr-11',\n 12: 'pr-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'pb-0',\n 1: 'pb-1',\n 2: 'pb-2',\n 3: 'pb-3',\n 4: 'pb-4',\n 5: 'pb-5',\n 6: 'pb-6',\n 7: 'pb-7',\n 8: 'pb-8',\n 9: 'pb-9',\n 10: 'pb-10',\n 11: 'pb-11',\n 12: 'pb-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_LEFT: Record<BoxSpacing, string> = {\n 0: 'pl-0',\n 1: 'pl-1',\n 2: 'pl-2',\n 3: 'pl-3',\n 4: 'pl-4',\n 5: 'pl-5',\n 6: 'pl-6',\n 7: 'pl-7',\n 8: 'pl-8',\n 9: 'pl-9',\n 10: 'pl-10',\n 11: 'pl-11',\n 12: 'pl-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'px-0',\n 1: 'px-1',\n 2: 'px-2',\n 3: 'px-3',\n 4: 'px-4',\n 5: 'px-5',\n 6: 'px-6',\n 7: 'px-7',\n 8: 'px-8',\n 9: 'px-9',\n 10: 'px-10',\n 11: 'px-11',\n 12: 'px-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'py-0',\n 1: 'py-1',\n 2: 'py-2',\n 3: 'py-3',\n 4: 'py-4',\n 5: 'py-5',\n 6: 'py-6',\n 7: 'py-7',\n 8: 'py-8',\n 9: 'py-9',\n 10: 'py-10',\n 11: 'py-11',\n 12: 'py-12',\n};\n\nexport const TWCLASSMAP_BOX_BORDER_WIDTH: Record<BoxBorderWidth, string> = {\n 0: 'border-0',\n 1: 'border',\n 2: 'border-2',\n 4: 'border-4',\n 8: 'border-8',\n};\n"]}
@@ -1,4 +1,4 @@
1
- import type { BoxSpacing, BoxBorderWidth } from "../../types/index.cjs";
1
+ import type { BoxSpacing, BoxBorderWidth } from "@metamask-previews/design-system-shared";
2
2
  export declare const TWCLASSMAP_BOX_GAP: Record<BoxSpacing, string>;
3
3
  export declare const TWCLASSMAP_BOX_MARGIN: Record<BoxSpacing, string>;
4
4
  export declare const TWCLASSMAP_BOX_MARGIN_TOP: Record<BoxSpacing, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"Box.constants.d.cts","sourceRoot":"","sources":["../../../src/components/Box/Box.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,8BAAoB;AAE9D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAczD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAc5D,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAchE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAclE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcnE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcjE,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcvE,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcrE,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAc7D,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcjE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcnE,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcpE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAA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;AAEF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcpE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAclE,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcxE,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CActE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAMtE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { BoxSpacing, BoxBorderWidth } from "../../types/index.mjs";
1
+ import type { BoxSpacing, BoxBorderWidth } from "@metamask-previews/design-system-shared";
2
2
  export declare const TWCLASSMAP_BOX_GAP: Record<BoxSpacing, string>;
3
3
  export declare const TWCLASSMAP_BOX_MARGIN: Record<BoxSpacing, string>;
4
4
  export declare const TWCLASSMAP_BOX_MARGIN_TOP: Record<BoxSpacing, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"Box.constants.d.mts","sourceRoot":"","sources":["../../../src/components/Box/Box.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,8BAAoB;AAE9D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAczD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAc5D,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAchE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAclE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAcnE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UA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EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAmC;IACzE,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;CACd,CAAC","sourcesContent":["import type { BoxSpacing, BoxBorderWidth } from '../../types';\n\nexport const TWCLASSMAP_BOX_GAP: Record<BoxSpacing, string> = {\n 0: 'gap-0',\n 1: 'gap-1',\n 2: 'gap-2',\n 3: 'gap-3',\n 4: 'gap-4',\n 5: 'gap-5',\n 6: 'gap-6',\n 7: 'gap-7',\n 8: 'gap-8',\n 9: 'gap-9',\n 10: 'gap-10',\n 11: 'gap-11',\n 12: 'gap-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN: Record<BoxSpacing, string> = {\n 0: 'm-0',\n 1: 'm-1',\n 2: 'm-2',\n 3: 'm-3',\n 4: 'm-4',\n 5: 'm-5',\n 6: 'm-6',\n 7: 'm-7',\n 8: 'm-8',\n 9: 'm-9',\n 10: 'm-10',\n 11: 'm-11',\n 12: 'm-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_TOP: Record<BoxSpacing, string> = {\n 0: 'mt-0',\n 1: 'mt-1',\n 2: 'mt-2',\n 3: 'mt-3',\n 4: 'mt-4',\n 5: 'mt-5',\n 6: 'mt-6',\n 7: 'mt-7',\n 8: 'mt-8',\n 9: 'mt-9',\n 10: 'mt-10',\n 11: 'mt-11',\n 12: 'mt-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_RIGHT: Record<BoxSpacing, string> = {\n 0: 'mr-0',\n 1: 'mr-1',\n 2: 'mr-2',\n 3: 'mr-3',\n 4: 'mr-4',\n 5: 'mr-5',\n 6: 'mr-6',\n 7: 'mr-7',\n 8: 'mr-8',\n 9: 'mr-9',\n 10: 'mr-10',\n 11: 'mr-11',\n 12: 'mr-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'mb-0',\n 1: 'mb-1',\n 2: 'mb-2',\n 3: 'mb-3',\n 4: 'mb-4',\n 5: 'mb-5',\n 6: 'mb-6',\n 7: 'mb-7',\n 8: 'mb-8',\n 9: 'mb-9',\n 10: 'mb-10',\n 11: 'mb-11',\n 12: 'mb-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_LEFT: Record<BoxSpacing, string> = {\n 0: 'ml-0',\n 1: 'ml-1',\n 2: 'ml-2',\n 3: 'ml-3',\n 4: 'ml-4',\n 5: 'ml-5',\n 6: 'ml-6',\n 7: 'ml-7',\n 8: 'ml-8',\n 9: 'ml-9',\n 10: 'ml-10',\n 11: 'ml-11',\n 12: 'ml-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'mx-0',\n 1: 'mx-1',\n 2: 'mx-2',\n 3: 'mx-3',\n 4: 'mx-4',\n 5: 'mx-5',\n 6: 'mx-6',\n 7: 'mx-7',\n 8: 'mx-8',\n 9: 'mx-9',\n 10: 'mx-10',\n 11: 'mx-11',\n 12: 'mx-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'my-0',\n 1: 'my-1',\n 2: 'my-2',\n 3: 'my-3',\n 4: 'my-4',\n 5: 'my-5',\n 6: 'my-6',\n 7: 'my-7',\n 8: 'my-8',\n 9: 'my-9',\n 10: 'my-10',\n 11: 'my-11',\n 12: 'my-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING: Record<BoxSpacing, string> = {\n 0: 'p-0',\n 1: 'p-1',\n 2: 'p-2',\n 3: 'p-3',\n 4: 'p-4',\n 5: 'p-5',\n 6: 'p-6',\n 7: 'p-7',\n 8: 'p-8',\n 9: 'p-9',\n 10: 'p-10',\n 11: 'p-11',\n 12: 'p-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_TOP: Record<BoxSpacing, string> = {\n 0: 'pt-0',\n 1: 'pt-1',\n 2: 'pt-2',\n 3: 'pt-3',\n 4: 'pt-4',\n 5: 'pt-5',\n 6: 'pt-6',\n 7: 'pt-7',\n 8: 'pt-8',\n 9: 'pt-9',\n 10: 'pt-10',\n 11: 'pt-11',\n 12: 'pt-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_RIGHT: Record<BoxSpacing, string> = {\n 0: 'pr-0',\n 1: 'pr-1',\n 2: 'pr-2',\n 3: 'pr-3',\n 4: 'pr-4',\n 5: 'pr-5',\n 6: 'pr-6',\n 7: 'pr-7',\n 8: 'pr-8',\n 9: 'pr-9',\n 10: 'pr-10',\n 11: 'pr-11',\n 12: 'pr-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'pb-0',\n 1: 'pb-1',\n 2: 'pb-2',\n 3: 'pb-3',\n 4: 'pb-4',\n 5: 'pb-5',\n 6: 'pb-6',\n 7: 'pb-7',\n 8: 'pb-8',\n 9: 'pb-9',\n 10: 'pb-10',\n 11: 'pb-11',\n 12: 'pb-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_LEFT: Record<BoxSpacing, string> = {\n 0: 'pl-0',\n 1: 'pl-1',\n 2: 'pl-2',\n 3: 'pl-3',\n 4: 'pl-4',\n 5: 'pl-5',\n 6: 'pl-6',\n 7: 'pl-7',\n 8: 'pl-8',\n 9: 'pl-9',\n 10: 'pl-10',\n 11: 'pl-11',\n 12: 'pl-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'px-0',\n 1: 'px-1',\n 2: 'px-2',\n 3: 'px-3',\n 4: 'px-4',\n 5: 'px-5',\n 6: 'px-6',\n 7: 'px-7',\n 8: 'px-8',\n 9: 'px-9',\n 10: 'px-10',\n 11: 'px-11',\n 12: 'px-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'py-0',\n 1: 'py-1',\n 2: 'py-2',\n 3: 'py-3',\n 4: 'py-4',\n 5: 'py-5',\n 6: 'py-6',\n 7: 'py-7',\n 8: 'py-8',\n 9: 'py-9',\n 10: 'py-10',\n 11: 'py-11',\n 12: 'py-12',\n};\n\nexport const TWCLASSMAP_BOX_BORDER_WIDTH: Record<BoxBorderWidth, string> = {\n 0: 'border-0',\n 1: 'border',\n 2: 'border-2',\n 4: 'border-4',\n 8: 'border-8',\n};\n"]}
1
+ {"version":3,"file":"Box.constants.mjs","sourceRoot":"","sources":["../../../src/components/Box/Box.constants.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA+B;IAC/D,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,CAAC,EAAE,KAAK;IACR,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAA+B;IACnE,CAAC,EAAE,MAAM;IACT,CAAC,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IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAA+B;IAC3E,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAA+B;IACzE,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAmC;IACzE,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,UAAU;CACd,CAAC","sourcesContent":["import type {\n BoxSpacing,\n BoxBorderWidth,\n} from '@metamask-previews/design-system-shared';\n\nexport const TWCLASSMAP_BOX_GAP: Record<BoxSpacing, string> = {\n 0: 'gap-0',\n 1: 'gap-1',\n 2: 'gap-2',\n 3: 'gap-3',\n 4: 'gap-4',\n 5: 'gap-5',\n 6: 'gap-6',\n 7: 'gap-7',\n 8: 'gap-8',\n 9: 'gap-9',\n 10: 'gap-10',\n 11: 'gap-11',\n 12: 'gap-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN: Record<BoxSpacing, string> = {\n 0: 'm-0',\n 1: 'm-1',\n 2: 'm-2',\n 3: 'm-3',\n 4: 'm-4',\n 5: 'm-5',\n 6: 'm-6',\n 7: 'm-7',\n 8: 'm-8',\n 9: 'm-9',\n 10: 'm-10',\n 11: 'm-11',\n 12: 'm-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_TOP: Record<BoxSpacing, string> = {\n 0: 'mt-0',\n 1: 'mt-1',\n 2: 'mt-2',\n 3: 'mt-3',\n 4: 'mt-4',\n 5: 'mt-5',\n 6: 'mt-6',\n 7: 'mt-7',\n 8: 'mt-8',\n 9: 'mt-9',\n 10: 'mt-10',\n 11: 'mt-11',\n 12: 'mt-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_RIGHT: Record<BoxSpacing, string> = {\n 0: 'mr-0',\n 1: 'mr-1',\n 2: 'mr-2',\n 3: 'mr-3',\n 4: 'mr-4',\n 5: 'mr-5',\n 6: 'mr-6',\n 7: 'mr-7',\n 8: 'mr-8',\n 9: 'mr-9',\n 10: 'mr-10',\n 11: 'mr-11',\n 12: 'mr-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'mb-0',\n 1: 'mb-1',\n 2: 'mb-2',\n 3: 'mb-3',\n 4: 'mb-4',\n 5: 'mb-5',\n 6: 'mb-6',\n 7: 'mb-7',\n 8: 'mb-8',\n 9: 'mb-9',\n 10: 'mb-10',\n 11: 'mb-11',\n 12: 'mb-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_LEFT: Record<BoxSpacing, string> = {\n 0: 'ml-0',\n 1: 'ml-1',\n 2: 'ml-2',\n 3: 'ml-3',\n 4: 'ml-4',\n 5: 'ml-5',\n 6: 'ml-6',\n 7: 'ml-7',\n 8: 'ml-8',\n 9: 'ml-9',\n 10: 'ml-10',\n 11: 'ml-11',\n 12: 'ml-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'mx-0',\n 1: 'mx-1',\n 2: 'mx-2',\n 3: 'mx-3',\n 4: 'mx-4',\n 5: 'mx-5',\n 6: 'mx-6',\n 7: 'mx-7',\n 8: 'mx-8',\n 9: 'mx-9',\n 10: 'mx-10',\n 11: 'mx-11',\n 12: 'mx-12',\n};\n\nexport const TWCLASSMAP_BOX_MARGIN_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'my-0',\n 1: 'my-1',\n 2: 'my-2',\n 3: 'my-3',\n 4: 'my-4',\n 5: 'my-5',\n 6: 'my-6',\n 7: 'my-7',\n 8: 'my-8',\n 9: 'my-9',\n 10: 'my-10',\n 11: 'my-11',\n 12: 'my-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING: Record<BoxSpacing, string> = {\n 0: 'p-0',\n 1: 'p-1',\n 2: 'p-2',\n 3: 'p-3',\n 4: 'p-4',\n 5: 'p-5',\n 6: 'p-6',\n 7: 'p-7',\n 8: 'p-8',\n 9: 'p-9',\n 10: 'p-10',\n 11: 'p-11',\n 12: 'p-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_TOP: Record<BoxSpacing, string> = {\n 0: 'pt-0',\n 1: 'pt-1',\n 2: 'pt-2',\n 3: 'pt-3',\n 4: 'pt-4',\n 5: 'pt-5',\n 6: 'pt-6',\n 7: 'pt-7',\n 8: 'pt-8',\n 9: 'pt-9',\n 10: 'pt-10',\n 11: 'pt-11',\n 12: 'pt-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_RIGHT: Record<BoxSpacing, string> = {\n 0: 'pr-0',\n 1: 'pr-1',\n 2: 'pr-2',\n 3: 'pr-3',\n 4: 'pr-4',\n 5: 'pr-5',\n 6: 'pr-6',\n 7: 'pr-7',\n 8: 'pr-8',\n 9: 'pr-9',\n 10: 'pr-10',\n 11: 'pr-11',\n 12: 'pr-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_BOTTOM: Record<BoxSpacing, string> = {\n 0: 'pb-0',\n 1: 'pb-1',\n 2: 'pb-2',\n 3: 'pb-3',\n 4: 'pb-4',\n 5: 'pb-5',\n 6: 'pb-6',\n 7: 'pb-7',\n 8: 'pb-8',\n 9: 'pb-9',\n 10: 'pb-10',\n 11: 'pb-11',\n 12: 'pb-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_LEFT: Record<BoxSpacing, string> = {\n 0: 'pl-0',\n 1: 'pl-1',\n 2: 'pl-2',\n 3: 'pl-3',\n 4: 'pl-4',\n 5: 'pl-5',\n 6: 'pl-6',\n 7: 'pl-7',\n 8: 'pl-8',\n 9: 'pl-9',\n 10: 'pl-10',\n 11: 'pl-11',\n 12: 'pl-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_HORIZONTAL: Record<BoxSpacing, string> = {\n 0: 'px-0',\n 1: 'px-1',\n 2: 'px-2',\n 3: 'px-3',\n 4: 'px-4',\n 5: 'px-5',\n 6: 'px-6',\n 7: 'px-7',\n 8: 'px-8',\n 9: 'px-9',\n 10: 'px-10',\n 11: 'px-11',\n 12: 'px-12',\n};\n\nexport const TWCLASSMAP_BOX_PADDING_VERTICAL: Record<BoxSpacing, string> = {\n 0: 'py-0',\n 1: 'py-1',\n 2: 'py-2',\n 3: 'py-3',\n 4: 'py-4',\n 5: 'py-5',\n 6: 'py-6',\n 7: 'py-7',\n 8: 'py-8',\n 9: 'py-9',\n 10: 'py-10',\n 11: 'py-11',\n 12: 'py-12',\n};\n\nexport const TWCLASSMAP_BOX_BORDER_WIDTH: Record<BoxBorderWidth, string> = {\n 0: 'border-0',\n 1: 'border',\n 2: 'border-2',\n 4: 'border-4',\n 8: 'border-8',\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Box.types.cjs","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps } from 'react';\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 = ComponentProps<'div'> & {\n /**\n * The flex-direction style of the component.\n */\n flexDirection?: BoxFlexDirection;\n /**\n * The flex-wrap style of the component.\n */\n flexWrap?: BoxFlexWrap;\n /**\n * The gap between the component's children.\n * Use 0-12 for a gap of 0px-48px.\n */\n gap?: BoxSpacing;\n /**\n * The align-items style of the component.\n */\n alignItems?: BoxAlignItems;\n /**\n * The justify-content style of the component.\n */\n justifyContent?: BoxJustifyContent;\n /**\n * The margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n margin?: BoxSpacing;\n /**\n * The top margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginTop?: BoxSpacing;\n /**\n * The right margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginRight?: BoxSpacing;\n /**\n * The bottom margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginBottom?: BoxSpacing;\n /**\n * The left margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginLeft?: BoxSpacing;\n /**\n * The horizontal margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginHorizontal?: BoxSpacing;\n /**\n * The vertical margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginVertical?: BoxSpacing;\n /**\n * The padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n padding?: BoxSpacing;\n /**\n * The top padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingTop?: BoxSpacing;\n /**\n * The right padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingRight?: BoxSpacing;\n /**\n * The bottom padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingBottom?: BoxSpacing;\n /**\n * The left padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingLeft?: BoxSpacing;\n /**\n * The horizontal padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingHorizontal?: BoxSpacing;\n /**\n * The vertical padding of the component.\n * Use 0-12 for padding of 0px-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 for additional CSS classes to be applied to the Box component.\n */\n className?: string;\n /**\n * Optional boolean that determines if the component should merge its props onto its immediate child\n * instead of rendering a div element\n *\n * @default false\n */\n asChild?: boolean;\n};\n"]}
1
+ {"version":3,"file":"Box.types.cjs","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BoxPropsShared } from '@metamask-previews/design-system-shared';\nimport type { ComponentProps } from 'react';\n\nexport type BoxProps = ComponentProps<'div'> &\n BoxPropsShared & {\n /**\n * Optional prop for additional CSS classes to be applied to the Box component.\n */\n className?: string;\n /**\n * Optional boolean that determines if the component should merge its props onto its immediate child\n * instead of rendering a div element\n *\n * @default false\n */\n asChild?: boolean;\n };\n"]}
@@ -1,110 +1,6 @@
1
+ import type { BoxPropsShared } from "@metamask-previews/design-system-shared";
1
2
  import type { ComponentProps } from "react";
2
- import type { BoxFlexDirection, BoxFlexWrap, BoxSpacing, BoxBorderWidth, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "../../types/index.cjs";
3
- export type BoxProps = ComponentProps<'div'> & {
4
- /**
5
- * The flex-direction style of the component.
6
- */
7
- flexDirection?: BoxFlexDirection;
8
- /**
9
- * The flex-wrap style of the component.
10
- */
11
- flexWrap?: BoxFlexWrap;
12
- /**
13
- * The gap between the component's children.
14
- * Use 0-12 for a gap of 0px-48px.
15
- */
16
- gap?: BoxSpacing;
17
- /**
18
- * The align-items style of the component.
19
- */
20
- alignItems?: BoxAlignItems;
21
- /**
22
- * The justify-content style of the component.
23
- */
24
- justifyContent?: BoxJustifyContent;
25
- /**
26
- * The margin of the component.
27
- * Use 0-12 for margin of 0px-48px.
28
- */
29
- margin?: BoxSpacing;
30
- /**
31
- * The top margin of the component.
32
- * Use 0-12 for margin of 0px-48px.
33
- */
34
- marginTop?: BoxSpacing;
35
- /**
36
- * The right margin of the component.
37
- * Use 0-12 for margin of 0px-48px.
38
- */
39
- marginRight?: BoxSpacing;
40
- /**
41
- * The bottom margin of the component.
42
- * Use 0-12 for margin of 0px-48px.
43
- */
44
- marginBottom?: BoxSpacing;
45
- /**
46
- * The left margin of the component.
47
- * Use 0-12 for margin of 0px-48px.
48
- */
49
- marginLeft?: BoxSpacing;
50
- /**
51
- * The horizontal margin of the component.
52
- * Use 0-12 for margin of 0px-48px.
53
- */
54
- marginHorizontal?: BoxSpacing;
55
- /**
56
- * The vertical margin of the component.
57
- * Use 0-12 for margin of 0px-48px.
58
- */
59
- marginVertical?: BoxSpacing;
60
- /**
61
- * The padding of the component.
62
- * Use 0-12 for padding of 0px-48px.
63
- */
64
- padding?: BoxSpacing;
65
- /**
66
- * The top padding of the component.
67
- * Use 0-12 for padding of 0px-48px.
68
- */
69
- paddingTop?: BoxSpacing;
70
- /**
71
- * The right padding of the component.
72
- * Use 0-12 for padding of 0px-48px.
73
- */
74
- paddingRight?: BoxSpacing;
75
- /**
76
- * The bottom padding of the component.
77
- * Use 0-12 for padding of 0px-48px.
78
- */
79
- paddingBottom?: BoxSpacing;
80
- /**
81
- * The left padding of the component.
82
- * Use 0-12 for padding of 0px-48px.
83
- */
84
- paddingLeft?: BoxSpacing;
85
- /**
86
- * The horizontal padding of the component.
87
- * Use 0-12 for padding of 0px-48px.
88
- */
89
- paddingHorizontal?: BoxSpacing;
90
- /**
91
- * The vertical padding of the component.
92
- * Use 0-12 for padding of 0px-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 = ComponentProps<'div'> & BoxPropsShared & {
108
4
  /**
109
5
  * Optional prop for additional CSS classes to be applied to the Box component.
110
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Box.types.d.cts","sourceRoot":"","sources":["../../../src/components/Box/Box.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc;AAE5C,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,cAAc,CAAC,KAAK,CAAC,GAAG;IAC7C;;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,CA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