@metamask/snaps-sdk 10.3.0 → 11.0.0

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 (738) hide show
  1. package/CHANGELOG.md +28 -1
  2. package/dist/error-wrappers.d.cts +192 -192
  3. package/dist/error-wrappers.d.mts +192 -192
  4. package/dist/errors.cjs +27 -1
  5. package/dist/errors.cjs.map +1 -1
  6. package/dist/errors.d.cts +14 -0
  7. package/dist/errors.d.cts.map +1 -1
  8. package/dist/errors.d.mts +14 -0
  9. package/dist/errors.d.mts.map +1 -1
  10. package/dist/errors.mjs +25 -1
  11. package/dist/errors.mjs.map +1 -1
  12. package/dist/images.cjs +1 -41
  13. package/dist/images.cjs.map +1 -1
  14. package/dist/images.d.cts +0 -49
  15. package/dist/images.d.cts.map +1 -1
  16. package/dist/images.d.mts +0 -49
  17. package/dist/images.d.mts.map +1 -1
  18. package/dist/images.mjs +0 -39
  19. package/dist/images.mjs.map +1 -1
  20. package/dist/index.cjs +8 -0
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +8 -0
  23. package/dist/index.d.cts.map +1 -1
  24. package/dist/index.d.mts +8 -0
  25. package/dist/index.d.mts.map +1 -1
  26. package/dist/index.mjs +8 -0
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/internals/error-wrappers.d.cts +12 -12
  29. package/dist/internals/error-wrappers.d.mts +12 -12
  30. package/dist/jsx/components/Address.cjs +1 -0
  31. package/dist/jsx/components/Address.cjs.map +1 -1
  32. package/dist/jsx/components/Address.d.cts +4 -1
  33. package/dist/jsx/components/Address.d.cts.map +1 -1
  34. package/dist/jsx/components/Address.d.mts +4 -1
  35. package/dist/jsx/components/Address.d.mts.map +1 -1
  36. package/dist/jsx/components/Address.mjs +1 -0
  37. package/dist/jsx/components/Address.mjs.map +1 -1
  38. package/dist/jsx/components/Avatar.cjs +1 -0
  39. package/dist/jsx/components/Avatar.cjs.map +1 -1
  40. package/dist/jsx/components/Avatar.d.cts +4 -1
  41. package/dist/jsx/components/Avatar.d.cts.map +1 -1
  42. package/dist/jsx/components/Avatar.d.mts +4 -1
  43. package/dist/jsx/components/Avatar.d.mts.map +1 -1
  44. package/dist/jsx/components/Avatar.mjs +1 -0
  45. package/dist/jsx/components/Avatar.mjs.map +1 -1
  46. package/dist/jsx/components/Banner.cjs +1 -0
  47. package/dist/jsx/components/Banner.cjs.map +1 -1
  48. package/dist/jsx/components/Banner.d.cts +4 -1
  49. package/dist/jsx/components/Banner.d.cts.map +1 -1
  50. package/dist/jsx/components/Banner.d.mts +4 -1
  51. package/dist/jsx/components/Banner.d.mts.map +1 -1
  52. package/dist/jsx/components/Banner.mjs +1 -0
  53. package/dist/jsx/components/Banner.mjs.map +1 -1
  54. package/dist/jsx/components/Box.cjs +1 -0
  55. package/dist/jsx/components/Box.cjs.map +1 -1
  56. package/dist/jsx/components/Box.d.cts +4 -1
  57. package/dist/jsx/components/Box.d.cts.map +1 -1
  58. package/dist/jsx/components/Box.d.mts +4 -1
  59. package/dist/jsx/components/Box.d.mts.map +1 -1
  60. package/dist/jsx/components/Box.mjs +1 -0
  61. package/dist/jsx/components/Box.mjs.map +1 -1
  62. package/dist/jsx/components/Card.cjs +1 -0
  63. package/dist/jsx/components/Card.cjs.map +1 -1
  64. package/dist/jsx/components/Card.d.cts +4 -1
  65. package/dist/jsx/components/Card.d.cts.map +1 -1
  66. package/dist/jsx/components/Card.d.mts +4 -1
  67. package/dist/jsx/components/Card.d.mts.map +1 -1
  68. package/dist/jsx/components/Card.mjs +1 -0
  69. package/dist/jsx/components/Card.mjs.map +1 -1
  70. package/dist/jsx/components/Container.cjs +1 -0
  71. package/dist/jsx/components/Container.cjs.map +1 -1
  72. package/dist/jsx/components/Container.d.cts +4 -1
  73. package/dist/jsx/components/Container.d.cts.map +1 -1
  74. package/dist/jsx/components/Container.d.mts +4 -1
  75. package/dist/jsx/components/Container.d.mts.map +1 -1
  76. package/dist/jsx/components/Container.mjs +1 -0
  77. package/dist/jsx/components/Container.mjs.map +1 -1
  78. package/dist/jsx/components/Copyable.cjs +1 -0
  79. package/dist/jsx/components/Copyable.cjs.map +1 -1
  80. package/dist/jsx/components/Copyable.d.cts +4 -1
  81. package/dist/jsx/components/Copyable.d.cts.map +1 -1
  82. package/dist/jsx/components/Copyable.d.mts +4 -1
  83. package/dist/jsx/components/Copyable.d.mts.map +1 -1
  84. package/dist/jsx/components/Copyable.mjs +1 -0
  85. package/dist/jsx/components/Copyable.mjs.map +1 -1
  86. package/dist/jsx/components/Divider.cjs +1 -0
  87. package/dist/jsx/components/Divider.cjs.map +1 -1
  88. package/dist/jsx/components/Divider.d.cts +3 -1
  89. package/dist/jsx/components/Divider.d.cts.map +1 -1
  90. package/dist/jsx/components/Divider.d.mts +3 -1
  91. package/dist/jsx/components/Divider.d.mts.map +1 -1
  92. package/dist/jsx/components/Divider.mjs +1 -0
  93. package/dist/jsx/components/Divider.mjs.map +1 -1
  94. package/dist/jsx/components/Footer.cjs +1 -0
  95. package/dist/jsx/components/Footer.cjs.map +1 -1
  96. package/dist/jsx/components/Footer.d.cts +4 -1
  97. package/dist/jsx/components/Footer.d.cts.map +1 -1
  98. package/dist/jsx/components/Footer.d.mts +4 -1
  99. package/dist/jsx/components/Footer.d.mts.map +1 -1
  100. package/dist/jsx/components/Footer.mjs +1 -0
  101. package/dist/jsx/components/Footer.mjs.map +1 -1
  102. package/dist/jsx/components/Heading.cjs +1 -0
  103. package/dist/jsx/components/Heading.cjs.map +1 -1
  104. package/dist/jsx/components/Heading.d.cts +4 -1
  105. package/dist/jsx/components/Heading.d.cts.map +1 -1
  106. package/dist/jsx/components/Heading.d.mts +4 -1
  107. package/dist/jsx/components/Heading.d.mts.map +1 -1
  108. package/dist/jsx/components/Heading.mjs +1 -0
  109. package/dist/jsx/components/Heading.mjs.map +1 -1
  110. package/dist/jsx/components/Icon.cjs +1 -0
  111. package/dist/jsx/components/Icon.cjs.map +1 -1
  112. package/dist/jsx/components/Icon.d.cts +9 -2
  113. package/dist/jsx/components/Icon.d.cts.map +1 -1
  114. package/dist/jsx/components/Icon.d.mts +9 -2
  115. package/dist/jsx/components/Icon.d.mts.map +1 -1
  116. package/dist/jsx/components/Icon.mjs +1 -0
  117. package/dist/jsx/components/Icon.mjs.map +1 -1
  118. package/dist/jsx/components/Image.cjs +1 -0
  119. package/dist/jsx/components/Image.cjs.map +1 -1
  120. package/dist/jsx/components/Image.d.cts +4 -1
  121. package/dist/jsx/components/Image.d.cts.map +1 -1
  122. package/dist/jsx/components/Image.d.mts +4 -1
  123. package/dist/jsx/components/Image.d.mts.map +1 -1
  124. package/dist/jsx/components/Image.mjs +1 -0
  125. package/dist/jsx/components/Image.mjs.map +1 -1
  126. package/dist/jsx/components/Link.cjs +1 -0
  127. package/dist/jsx/components/Link.cjs.map +1 -1
  128. package/dist/jsx/components/Link.d.cts +4 -1
  129. package/dist/jsx/components/Link.d.cts.map +1 -1
  130. package/dist/jsx/components/Link.d.mts +4 -1
  131. package/dist/jsx/components/Link.d.mts.map +1 -1
  132. package/dist/jsx/components/Link.mjs +1 -0
  133. package/dist/jsx/components/Link.mjs.map +1 -1
  134. package/dist/jsx/components/Row.cjs +1 -0
  135. package/dist/jsx/components/Row.cjs.map +1 -1
  136. package/dist/jsx/components/Row.d.cts +4 -1
  137. package/dist/jsx/components/Row.d.cts.map +1 -1
  138. package/dist/jsx/components/Row.d.mts +4 -1
  139. package/dist/jsx/components/Row.d.mts.map +1 -1
  140. package/dist/jsx/components/Row.mjs +1 -0
  141. package/dist/jsx/components/Row.mjs.map +1 -1
  142. package/dist/jsx/components/Section.cjs +1 -0
  143. package/dist/jsx/components/Section.cjs.map +1 -1
  144. package/dist/jsx/components/Section.d.cts +4 -1
  145. package/dist/jsx/components/Section.d.cts.map +1 -1
  146. package/dist/jsx/components/Section.d.mts +4 -1
  147. package/dist/jsx/components/Section.d.mts.map +1 -1
  148. package/dist/jsx/components/Section.mjs +1 -0
  149. package/dist/jsx/components/Section.mjs.map +1 -1
  150. package/dist/jsx/components/Skeleton.cjs +1 -0
  151. package/dist/jsx/components/Skeleton.cjs.map +1 -1
  152. package/dist/jsx/components/Skeleton.d.cts +4 -1
  153. package/dist/jsx/components/Skeleton.d.cts.map +1 -1
  154. package/dist/jsx/components/Skeleton.d.mts +4 -1
  155. package/dist/jsx/components/Skeleton.d.mts.map +1 -1
  156. package/dist/jsx/components/Skeleton.mjs +1 -0
  157. package/dist/jsx/components/Skeleton.mjs.map +1 -1
  158. package/dist/jsx/components/Spinner.cjs +1 -0
  159. package/dist/jsx/components/Spinner.cjs.map +1 -1
  160. package/dist/jsx/components/Spinner.d.cts +3 -1
  161. package/dist/jsx/components/Spinner.d.cts.map +1 -1
  162. package/dist/jsx/components/Spinner.d.mts +3 -1
  163. package/dist/jsx/components/Spinner.d.mts.map +1 -1
  164. package/dist/jsx/components/Spinner.mjs +1 -0
  165. package/dist/jsx/components/Spinner.mjs.map +1 -1
  166. package/dist/jsx/components/Text.cjs +1 -0
  167. package/dist/jsx/components/Text.cjs.map +1 -1
  168. package/dist/jsx/components/Text.d.cts +4 -1
  169. package/dist/jsx/components/Text.d.cts.map +1 -1
  170. package/dist/jsx/components/Text.d.mts +4 -1
  171. package/dist/jsx/components/Text.d.mts.map +1 -1
  172. package/dist/jsx/components/Text.mjs +1 -0
  173. package/dist/jsx/components/Text.mjs.map +1 -1
  174. package/dist/jsx/components/Tooltip.cjs +1 -0
  175. package/dist/jsx/components/Tooltip.cjs.map +1 -1
  176. package/dist/jsx/components/Tooltip.d.cts +4 -1
  177. package/dist/jsx/components/Tooltip.d.cts.map +1 -1
  178. package/dist/jsx/components/Tooltip.d.mts +4 -1
  179. package/dist/jsx/components/Tooltip.d.mts.map +1 -1
  180. package/dist/jsx/components/Tooltip.mjs +1 -0
  181. package/dist/jsx/components/Tooltip.mjs.map +1 -1
  182. package/dist/jsx/components/Value.cjs +1 -0
  183. package/dist/jsx/components/Value.cjs.map +1 -1
  184. package/dist/jsx/components/Value.d.cts +4 -1
  185. package/dist/jsx/components/Value.d.cts.map +1 -1
  186. package/dist/jsx/components/Value.d.mts +4 -1
  187. package/dist/jsx/components/Value.d.mts.map +1 -1
  188. package/dist/jsx/components/Value.mjs +1 -0
  189. package/dist/jsx/components/Value.mjs.map +1 -1
  190. package/dist/jsx/components/form/AccountSelector.cjs +1 -0
  191. package/dist/jsx/components/form/AccountSelector.cjs.map +1 -1
  192. package/dist/jsx/components/form/AccountSelector.d.cts +4 -1
  193. package/dist/jsx/components/form/AccountSelector.d.cts.map +1 -1
  194. package/dist/jsx/components/form/AccountSelector.d.mts +4 -1
  195. package/dist/jsx/components/form/AccountSelector.d.mts.map +1 -1
  196. package/dist/jsx/components/form/AccountSelector.mjs +1 -0
  197. package/dist/jsx/components/form/AccountSelector.mjs.map +1 -1
  198. package/dist/jsx/components/form/AddressInput.cjs +1 -0
  199. package/dist/jsx/components/form/AddressInput.cjs.map +1 -1
  200. package/dist/jsx/components/form/AddressInput.d.cts +18 -0
  201. package/dist/jsx/components/form/AddressInput.d.cts.map +1 -1
  202. package/dist/jsx/components/form/AddressInput.d.mts +18 -0
  203. package/dist/jsx/components/form/AddressInput.d.mts.map +1 -1
  204. package/dist/jsx/components/form/AddressInput.mjs +1 -0
  205. package/dist/jsx/components/form/AddressInput.mjs.map +1 -1
  206. package/dist/jsx/components/form/AssetSelector.cjs +1 -0
  207. package/dist/jsx/components/form/AssetSelector.cjs.map +1 -1
  208. package/dist/jsx/components/form/AssetSelector.d.cts +8 -0
  209. package/dist/jsx/components/form/AssetSelector.d.cts.map +1 -1
  210. package/dist/jsx/components/form/AssetSelector.d.mts +8 -0
  211. package/dist/jsx/components/form/AssetSelector.d.mts.map +1 -1
  212. package/dist/jsx/components/form/AssetSelector.mjs +1 -0
  213. package/dist/jsx/components/form/AssetSelector.mjs.map +1 -1
  214. package/dist/jsx/components/form/Button.cjs +1 -0
  215. package/dist/jsx/components/form/Button.cjs.map +1 -1
  216. package/dist/jsx/components/form/Button.d.cts +4 -1
  217. package/dist/jsx/components/form/Button.d.cts.map +1 -1
  218. package/dist/jsx/components/form/Button.d.mts +4 -1
  219. package/dist/jsx/components/form/Button.d.mts.map +1 -1
  220. package/dist/jsx/components/form/Button.mjs +1 -0
  221. package/dist/jsx/components/form/Button.mjs.map +1 -1
  222. package/dist/jsx/components/form/Checkbox.cjs +1 -0
  223. package/dist/jsx/components/form/Checkbox.cjs.map +1 -1
  224. package/dist/jsx/components/form/Checkbox.d.cts +4 -1
  225. package/dist/jsx/components/form/Checkbox.d.cts.map +1 -1
  226. package/dist/jsx/components/form/Checkbox.d.mts +4 -1
  227. package/dist/jsx/components/form/Checkbox.d.mts.map +1 -1
  228. package/dist/jsx/components/form/Checkbox.mjs +1 -0
  229. package/dist/jsx/components/form/Checkbox.mjs.map +1 -1
  230. package/dist/jsx/components/form/DateTimePicker.cjs +1 -0
  231. package/dist/jsx/components/form/DateTimePicker.cjs.map +1 -1
  232. package/dist/jsx/components/form/DateTimePicker.d.cts +4 -1
  233. package/dist/jsx/components/form/DateTimePicker.d.cts.map +1 -1
  234. package/dist/jsx/components/form/DateTimePicker.d.mts +4 -1
  235. package/dist/jsx/components/form/DateTimePicker.d.mts.map +1 -1
  236. package/dist/jsx/components/form/DateTimePicker.mjs +1 -0
  237. package/dist/jsx/components/form/DateTimePicker.mjs.map +1 -1
  238. package/dist/jsx/components/form/Dropdown.cjs +1 -0
  239. package/dist/jsx/components/form/Dropdown.cjs.map +1 -1
  240. package/dist/jsx/components/form/Dropdown.d.cts +4 -1
  241. package/dist/jsx/components/form/Dropdown.d.cts.map +1 -1
  242. package/dist/jsx/components/form/Dropdown.d.mts +4 -1
  243. package/dist/jsx/components/form/Dropdown.d.mts.map +1 -1
  244. package/dist/jsx/components/form/Dropdown.mjs +1 -0
  245. package/dist/jsx/components/form/Dropdown.mjs.map +1 -1
  246. package/dist/jsx/components/form/Field.cjs +1 -0
  247. package/dist/jsx/components/form/Field.cjs.map +1 -1
  248. package/dist/jsx/components/form/Field.d.cts +4 -1
  249. package/dist/jsx/components/form/Field.d.cts.map +1 -1
  250. package/dist/jsx/components/form/Field.d.mts +4 -1
  251. package/dist/jsx/components/form/Field.d.mts.map +1 -1
  252. package/dist/jsx/components/form/Field.mjs +1 -0
  253. package/dist/jsx/components/form/Field.mjs.map +1 -1
  254. package/dist/jsx/components/form/FileInput.cjs +1 -0
  255. package/dist/jsx/components/form/FileInput.cjs.map +1 -1
  256. package/dist/jsx/components/form/FileInput.d.cts +4 -1
  257. package/dist/jsx/components/form/FileInput.d.cts.map +1 -1
  258. package/dist/jsx/components/form/FileInput.d.mts +4 -1
  259. package/dist/jsx/components/form/FileInput.d.mts.map +1 -1
  260. package/dist/jsx/components/form/FileInput.mjs +1 -0
  261. package/dist/jsx/components/form/FileInput.mjs.map +1 -1
  262. package/dist/jsx/components/form/Form.cjs +1 -0
  263. package/dist/jsx/components/form/Form.cjs.map +1 -1
  264. package/dist/jsx/components/form/Form.d.cts +4 -1
  265. package/dist/jsx/components/form/Form.d.cts.map +1 -1
  266. package/dist/jsx/components/form/Form.d.mts +4 -1
  267. package/dist/jsx/components/form/Form.d.mts.map +1 -1
  268. package/dist/jsx/components/form/Form.mjs +1 -0
  269. package/dist/jsx/components/form/Form.mjs.map +1 -1
  270. package/dist/jsx/components/form/Input.cjs +1 -0
  271. package/dist/jsx/components/form/Input.cjs.map +1 -1
  272. package/dist/jsx/components/form/Input.d.cts +16 -1
  273. package/dist/jsx/components/form/Input.d.cts.map +1 -1
  274. package/dist/jsx/components/form/Input.d.mts +16 -1
  275. package/dist/jsx/components/form/Input.d.mts.map +1 -1
  276. package/dist/jsx/components/form/Input.mjs +1 -0
  277. package/dist/jsx/components/form/Input.mjs.map +1 -1
  278. package/dist/jsx/components/form/Option.cjs +1 -0
  279. package/dist/jsx/components/form/Option.cjs.map +1 -1
  280. package/dist/jsx/components/form/Option.d.cts +4 -1
  281. package/dist/jsx/components/form/Option.d.cts.map +1 -1
  282. package/dist/jsx/components/form/Option.d.mts +4 -1
  283. package/dist/jsx/components/form/Option.d.mts.map +1 -1
  284. package/dist/jsx/components/form/Option.mjs +1 -0
  285. package/dist/jsx/components/form/Option.mjs.map +1 -1
  286. package/dist/jsx/components/form/Radio.cjs +1 -0
  287. package/dist/jsx/components/form/Radio.cjs.map +1 -1
  288. package/dist/jsx/components/form/Radio.d.cts +4 -1
  289. package/dist/jsx/components/form/Radio.d.cts.map +1 -1
  290. package/dist/jsx/components/form/Radio.d.mts +4 -1
  291. package/dist/jsx/components/form/Radio.d.mts.map +1 -1
  292. package/dist/jsx/components/form/Radio.mjs +1 -0
  293. package/dist/jsx/components/form/Radio.mjs.map +1 -1
  294. package/dist/jsx/components/form/RadioGroup.cjs +1 -0
  295. package/dist/jsx/components/form/RadioGroup.cjs.map +1 -1
  296. package/dist/jsx/components/form/RadioGroup.d.cts +4 -1
  297. package/dist/jsx/components/form/RadioGroup.d.cts.map +1 -1
  298. package/dist/jsx/components/form/RadioGroup.d.mts +4 -1
  299. package/dist/jsx/components/form/RadioGroup.d.mts.map +1 -1
  300. package/dist/jsx/components/form/RadioGroup.mjs +1 -0
  301. package/dist/jsx/components/form/RadioGroup.mjs.map +1 -1
  302. package/dist/jsx/components/form/Selector.cjs +1 -0
  303. package/dist/jsx/components/form/Selector.cjs.map +1 -1
  304. package/dist/jsx/components/form/Selector.d.cts +4 -1
  305. package/dist/jsx/components/form/Selector.d.cts.map +1 -1
  306. package/dist/jsx/components/form/Selector.d.mts +4 -1
  307. package/dist/jsx/components/form/Selector.d.mts.map +1 -1
  308. package/dist/jsx/components/form/Selector.mjs +1 -0
  309. package/dist/jsx/components/form/Selector.mjs.map +1 -1
  310. package/dist/jsx/components/form/SelectorOption.cjs +1 -0
  311. package/dist/jsx/components/form/SelectorOption.cjs.map +1 -1
  312. package/dist/jsx/components/form/SelectorOption.d.cts +4 -1
  313. package/dist/jsx/components/form/SelectorOption.d.cts.map +1 -1
  314. package/dist/jsx/components/form/SelectorOption.d.mts +4 -1
  315. package/dist/jsx/components/form/SelectorOption.d.mts.map +1 -1
  316. package/dist/jsx/components/form/SelectorOption.mjs +1 -0
  317. package/dist/jsx/components/form/SelectorOption.mjs.map +1 -1
  318. package/dist/jsx/components/formatting/Bold.cjs +1 -0
  319. package/dist/jsx/components/formatting/Bold.cjs.map +1 -1
  320. package/dist/jsx/components/formatting/Bold.d.cts +4 -1
  321. package/dist/jsx/components/formatting/Bold.d.cts.map +1 -1
  322. package/dist/jsx/components/formatting/Bold.d.mts +4 -1
  323. package/dist/jsx/components/formatting/Bold.d.mts.map +1 -1
  324. package/dist/jsx/components/formatting/Bold.mjs +1 -0
  325. package/dist/jsx/components/formatting/Bold.mjs.map +1 -1
  326. package/dist/jsx/components/formatting/Italic.cjs +1 -0
  327. package/dist/jsx/components/formatting/Italic.cjs.map +1 -1
  328. package/dist/jsx/components/formatting/Italic.d.cts +4 -1
  329. package/dist/jsx/components/formatting/Italic.d.cts.map +1 -1
  330. package/dist/jsx/components/formatting/Italic.d.mts +4 -1
  331. package/dist/jsx/components/formatting/Italic.d.mts.map +1 -1
  332. package/dist/jsx/components/formatting/Italic.mjs +1 -0
  333. package/dist/jsx/components/formatting/Italic.mjs.map +1 -1
  334. package/dist/jsx/index.cjs +22 -0
  335. package/dist/jsx/index.cjs.map +1 -1
  336. package/dist/jsx/index.d.cts +22 -0
  337. package/dist/jsx/index.d.cts.map +1 -1
  338. package/dist/jsx/index.d.mts +22 -0
  339. package/dist/jsx/index.d.mts.map +1 -1
  340. package/dist/jsx/index.mjs +22 -0
  341. package/dist/jsx/index.mjs.map +1 -1
  342. package/dist/jsx/validation.cjs +8 -1
  343. package/dist/jsx/validation.cjs.map +1 -1
  344. package/dist/jsx/validation.d.cts.map +1 -1
  345. package/dist/jsx/validation.d.mts.map +1 -1
  346. package/dist/jsx/validation.mjs +8 -1
  347. package/dist/jsx/validation.mjs.map +1 -1
  348. package/dist/types/handlers/assets-market-data.cjs.map +1 -1
  349. package/dist/types/handlers/assets-market-data.d.cts +1 -1
  350. package/dist/types/handlers/assets-market-data.d.mts +1 -1
  351. package/dist/types/handlers/assets-market-data.mjs.map +1 -1
  352. package/dist/types/methods/cancel-background-event.cjs.map +1 -1
  353. package/dist/types/methods/cancel-background-event.d.cts +6 -6
  354. package/dist/types/methods/cancel-background-event.d.cts.map +1 -1
  355. package/dist/types/methods/cancel-background-event.d.mts +6 -6
  356. package/dist/types/methods/cancel-background-event.d.mts.map +1 -1
  357. package/dist/types/methods/cancel-background-event.mjs.map +1 -1
  358. package/dist/types/methods/clear-state.cjs.map +1 -1
  359. package/dist/types/methods/clear-state.d.cts +8 -4
  360. package/dist/types/methods/clear-state.d.cts.map +1 -1
  361. package/dist/types/methods/clear-state.d.mts +8 -4
  362. package/dist/types/methods/clear-state.d.mts.map +1 -1
  363. package/dist/types/methods/clear-state.mjs.map +1 -1
  364. package/dist/types/methods/close-web-socket.cjs.map +1 -1
  365. package/dist/types/methods/close-web-socket.d.cts +3 -3
  366. package/dist/types/methods/close-web-socket.d.mts +3 -3
  367. package/dist/types/methods/close-web-socket.mjs.map +1 -1
  368. package/dist/types/methods/create-interface.cjs.map +1 -1
  369. package/dist/types/methods/create-interface.d.cts +14 -4
  370. package/dist/types/methods/create-interface.d.cts.map +1 -1
  371. package/dist/types/methods/create-interface.d.mts +14 -4
  372. package/dist/types/methods/create-interface.d.mts.map +1 -1
  373. package/dist/types/methods/create-interface.mjs.map +1 -1
  374. package/dist/types/methods/dialog.cjs.map +1 -1
  375. package/dist/types/methods/dialog.d.cts +49 -18
  376. package/dist/types/methods/dialog.d.cts.map +1 -1
  377. package/dist/types/methods/dialog.d.mts +49 -18
  378. package/dist/types/methods/dialog.d.mts.map +1 -1
  379. package/dist/types/methods/dialog.mjs.map +1 -1
  380. package/dist/types/methods/get-background-events.cjs.map +1 -1
  381. package/dist/types/methods/get-background-events.d.cts +17 -8
  382. package/dist/types/methods/get-background-events.d.cts.map +1 -1
  383. package/dist/types/methods/get-background-events.d.mts +17 -8
  384. package/dist/types/methods/get-background-events.d.mts.map +1 -1
  385. package/dist/types/methods/get-background-events.mjs.map +1 -1
  386. package/dist/types/methods/get-bip32-entropy.cjs.map +1 -1
  387. package/dist/types/methods/get-bip32-entropy.d.cts +2 -4
  388. package/dist/types/methods/get-bip32-entropy.d.cts.map +1 -1
  389. package/dist/types/methods/get-bip32-entropy.d.mts +2 -4
  390. package/dist/types/methods/get-bip32-entropy.d.mts.map +1 -1
  391. package/dist/types/methods/get-bip32-entropy.mjs.map +1 -1
  392. package/dist/types/methods/get-bip32-public-key.cjs.map +1 -1
  393. package/dist/types/methods/get-bip32-public-key.d.cts +3 -5
  394. package/dist/types/methods/get-bip32-public-key.d.cts.map +1 -1
  395. package/dist/types/methods/get-bip32-public-key.d.mts +3 -5
  396. package/dist/types/methods/get-bip32-public-key.d.mts.map +1 -1
  397. package/dist/types/methods/get-bip32-public-key.mjs.map +1 -1
  398. package/dist/types/methods/get-bip44-entropy.cjs.map +1 -1
  399. package/dist/types/methods/get-bip44-entropy.d.cts +3 -4
  400. package/dist/types/methods/get-bip44-entropy.d.cts.map +1 -1
  401. package/dist/types/methods/get-bip44-entropy.d.mts +3 -4
  402. package/dist/types/methods/get-bip44-entropy.d.mts.map +1 -1
  403. package/dist/types/methods/get-bip44-entropy.mjs.map +1 -1
  404. package/dist/types/methods/get-client-status.cjs.map +1 -1
  405. package/dist/types/methods/get-client-status.d.cts +5 -7
  406. package/dist/types/methods/get-client-status.d.cts.map +1 -1
  407. package/dist/types/methods/get-client-status.d.mts +5 -7
  408. package/dist/types/methods/get-client-status.d.mts.map +1 -1
  409. package/dist/types/methods/get-client-status.mjs.map +1 -1
  410. package/dist/types/methods/get-entropy.cjs.map +1 -1
  411. package/dist/types/methods/get-entropy.d.cts +6 -5
  412. package/dist/types/methods/get-entropy.d.cts.map +1 -1
  413. package/dist/types/methods/get-entropy.d.mts +6 -5
  414. package/dist/types/methods/get-entropy.d.mts.map +1 -1
  415. package/dist/types/methods/get-entropy.mjs.map +1 -1
  416. package/dist/types/methods/get-file.cjs.map +1 -1
  417. package/dist/types/methods/get-file.d.cts +9 -5
  418. package/dist/types/methods/get-file.d.cts.map +1 -1
  419. package/dist/types/methods/get-file.d.mts +9 -5
  420. package/dist/types/methods/get-file.d.mts.map +1 -1
  421. package/dist/types/methods/get-file.mjs.map +1 -1
  422. package/dist/types/methods/get-interface-context.cjs.map +1 -1
  423. package/dist/types/methods/get-interface-context.d.cts +5 -3
  424. package/dist/types/methods/get-interface-context.d.cts.map +1 -1
  425. package/dist/types/methods/get-interface-context.d.mts +5 -3
  426. package/dist/types/methods/get-interface-context.d.mts.map +1 -1
  427. package/dist/types/methods/get-interface-context.mjs.map +1 -1
  428. package/dist/types/methods/get-interface-state.cjs.map +1 -1
  429. package/dist/types/methods/get-interface-state.d.cts +10 -3
  430. package/dist/types/methods/get-interface-state.d.cts.map +1 -1
  431. package/dist/types/methods/get-interface-state.d.mts +10 -3
  432. package/dist/types/methods/get-interface-state.d.mts.map +1 -1
  433. package/dist/types/methods/get-interface-state.mjs.map +1 -1
  434. package/dist/types/methods/get-locale.cjs.map +1 -1
  435. package/dist/types/methods/get-locale.d.cts +1 -5
  436. package/dist/types/methods/get-locale.d.cts.map +1 -1
  437. package/dist/types/methods/get-locale.d.mts +1 -5
  438. package/dist/types/methods/get-locale.d.mts.map +1 -1
  439. package/dist/types/methods/get-locale.mjs.map +1 -1
  440. package/dist/types/methods/get-preferences.cjs.map +1 -1
  441. package/dist/types/methods/get-preferences.d.cts +39 -17
  442. package/dist/types/methods/get-preferences.d.cts.map +1 -1
  443. package/dist/types/methods/get-preferences.d.mts +39 -17
  444. package/dist/types/methods/get-preferences.d.mts.map +1 -1
  445. package/dist/types/methods/get-preferences.mjs.map +1 -1
  446. package/dist/types/methods/get-snaps.cjs.map +1 -1
  447. package/dist/types/methods/get-snaps.d.cts +1 -5
  448. package/dist/types/methods/get-snaps.d.cts.map +1 -1
  449. package/dist/types/methods/get-snaps.d.mts +1 -5
  450. package/dist/types/methods/get-snaps.d.mts.map +1 -1
  451. package/dist/types/methods/get-snaps.mjs.map +1 -1
  452. package/dist/types/methods/get-state.cjs.map +1 -1
  453. package/dist/types/methods/get-state.d.cts +8 -3
  454. package/dist/types/methods/get-state.d.cts.map +1 -1
  455. package/dist/types/methods/get-state.d.mts +8 -3
  456. package/dist/types/methods/get-state.d.mts.map +1 -1
  457. package/dist/types/methods/get-state.mjs.map +1 -1
  458. package/dist/types/methods/get-web-sockets.cjs.map +1 -1
  459. package/dist/types/methods/get-web-sockets.d.cts +10 -3
  460. package/dist/types/methods/get-web-sockets.d.cts.map +1 -1
  461. package/dist/types/methods/get-web-sockets.d.mts +10 -3
  462. package/dist/types/methods/get-web-sockets.d.mts.map +1 -1
  463. package/dist/types/methods/get-web-sockets.mjs.map +1 -1
  464. package/dist/types/methods/index.cjs.map +1 -1
  465. package/dist/types/methods/index.d.cts +1 -2
  466. package/dist/types/methods/index.d.cts.map +1 -1
  467. package/dist/types/methods/index.d.mts +1 -2
  468. package/dist/types/methods/index.d.mts.map +1 -1
  469. package/dist/types/methods/index.mjs.map +1 -1
  470. package/dist/types/methods/invoke-keyring.cjs.map +1 -1
  471. package/dist/types/methods/invoke-keyring.d.cts +5 -4
  472. package/dist/types/methods/invoke-keyring.d.cts.map +1 -1
  473. package/dist/types/methods/invoke-keyring.d.mts +5 -4
  474. package/dist/types/methods/invoke-keyring.d.mts.map +1 -1
  475. package/dist/types/methods/invoke-keyring.mjs.map +1 -1
  476. package/dist/types/methods/invoke-snap.cjs.map +1 -1
  477. package/dist/types/methods/invoke-snap.d.cts +10 -6
  478. package/dist/types/methods/invoke-snap.d.cts.map +1 -1
  479. package/dist/types/methods/invoke-snap.d.mts +10 -6
  480. package/dist/types/methods/invoke-snap.d.mts.map +1 -1
  481. package/dist/types/methods/invoke-snap.mjs.map +1 -1
  482. package/dist/types/methods/list-entropy-sources.cjs.map +1 -1
  483. package/dist/types/methods/list-entropy-sources.d.cts +2 -2
  484. package/dist/types/methods/list-entropy-sources.d.mts +2 -2
  485. package/dist/types/methods/list-entropy-sources.mjs.map +1 -1
  486. package/dist/types/methods/manage-accounts.cjs.map +1 -1
  487. package/dist/types/methods/manage-accounts.d.cts +10 -9
  488. package/dist/types/methods/manage-accounts.d.cts.map +1 -1
  489. package/dist/types/methods/manage-accounts.d.mts +10 -9
  490. package/dist/types/methods/manage-accounts.d.mts.map +1 -1
  491. package/dist/types/methods/manage-accounts.mjs.map +1 -1
  492. package/dist/types/methods/manage-state.cjs.map +1 -1
  493. package/dist/types/methods/manage-state.d.cts +35 -32
  494. package/dist/types/methods/manage-state.d.cts.map +1 -1
  495. package/dist/types/methods/manage-state.d.mts +35 -32
  496. package/dist/types/methods/manage-state.d.mts.map +1 -1
  497. package/dist/types/methods/manage-state.mjs.map +1 -1
  498. package/dist/types/methods/methods.cjs.map +1 -1
  499. package/dist/types/methods/methods.d.cts +5 -2
  500. package/dist/types/methods/methods.d.cts.map +1 -1
  501. package/dist/types/methods/methods.d.mts +5 -2
  502. package/dist/types/methods/methods.d.mts.map +1 -1
  503. package/dist/types/methods/methods.mjs.map +1 -1
  504. package/dist/types/methods/{provider-request.cjs → multichain/create-session.cjs} +1 -1
  505. package/dist/types/methods/multichain/create-session.cjs.map +1 -0
  506. package/dist/types/methods/multichain/create-session.d.cts +34 -0
  507. package/dist/types/methods/multichain/create-session.d.cts.map +1 -0
  508. package/dist/types/methods/multichain/create-session.d.mts +34 -0
  509. package/dist/types/methods/multichain/create-session.d.mts.map +1 -0
  510. package/dist/types/methods/multichain/create-session.mjs +2 -0
  511. package/dist/types/methods/multichain/create-session.mjs.map +1 -0
  512. package/dist/types/methods/{get-currency-rate.cjs → multichain/get-session.cjs} +1 -1
  513. package/dist/types/methods/multichain/get-session.cjs.map +1 -0
  514. package/dist/types/methods/multichain/get-session.d.cts +14 -0
  515. package/dist/types/methods/multichain/get-session.d.cts.map +1 -0
  516. package/dist/types/methods/multichain/get-session.d.mts +14 -0
  517. package/dist/types/methods/multichain/get-session.d.mts.map +1 -0
  518. package/dist/types/methods/multichain/get-session.mjs +2 -0
  519. package/dist/types/methods/multichain/get-session.mjs.map +1 -0
  520. package/dist/types/methods/multichain/index.cjs +3 -0
  521. package/dist/types/methods/multichain/index.cjs.map +1 -0
  522. package/dist/types/methods/multichain/index.d.cts +5 -0
  523. package/dist/types/methods/multichain/index.d.cts.map +1 -0
  524. package/dist/types/methods/multichain/index.d.mts +5 -0
  525. package/dist/types/methods/multichain/index.d.mts.map +1 -0
  526. package/dist/types/methods/multichain/index.mjs +2 -0
  527. package/dist/types/methods/multichain/index.mjs.map +1 -0
  528. package/dist/types/methods/multichain/invoke-method.cjs +3 -0
  529. package/dist/types/methods/multichain/invoke-method.cjs.map +1 -0
  530. package/dist/types/methods/multichain/invoke-method.d.cts +18 -0
  531. package/dist/types/methods/multichain/invoke-method.d.cts.map +1 -0
  532. package/dist/types/methods/multichain/invoke-method.d.mts +18 -0
  533. package/dist/types/methods/multichain/invoke-method.d.mts.map +1 -0
  534. package/dist/types/methods/multichain/invoke-method.mjs +2 -0
  535. package/dist/types/methods/multichain/invoke-method.mjs.map +1 -0
  536. package/dist/types/methods/multichain/revoke-session.cjs +3 -0
  537. package/dist/types/methods/multichain/revoke-session.cjs.map +1 -0
  538. package/dist/types/methods/multichain/revoke-session.d.cts +13 -0
  539. package/dist/types/methods/multichain/revoke-session.d.cts.map +1 -0
  540. package/dist/types/methods/multichain/revoke-session.d.mts +13 -0
  541. package/dist/types/methods/multichain/revoke-session.d.mts.map +1 -0
  542. package/dist/types/methods/multichain/revoke-session.mjs +2 -0
  543. package/dist/types/methods/multichain/revoke-session.mjs.map +1 -0
  544. package/dist/types/methods/notify.cjs.map +1 -1
  545. package/dist/types/methods/notify.d.cts +39 -7
  546. package/dist/types/methods/notify.d.cts.map +1 -1
  547. package/dist/types/methods/notify.d.mts +39 -7
  548. package/dist/types/methods/notify.d.mts.map +1 -1
  549. package/dist/types/methods/notify.mjs.map +1 -1
  550. package/dist/types/methods/open-web-socket.cjs.map +1 -1
  551. package/dist/types/methods/open-web-socket.d.cts +6 -3
  552. package/dist/types/methods/open-web-socket.d.cts.map +1 -1
  553. package/dist/types/methods/open-web-socket.d.mts +6 -3
  554. package/dist/types/methods/open-web-socket.d.mts.map +1 -1
  555. package/dist/types/methods/open-web-socket.mjs.map +1 -1
  556. package/dist/types/methods/request-snaps.cjs.map +1 -1
  557. package/dist/types/methods/request-snaps.d.cts +5 -6
  558. package/dist/types/methods/request-snaps.d.cts.map +1 -1
  559. package/dist/types/methods/request-snaps.d.mts +5 -6
  560. package/dist/types/methods/request-snaps.d.mts.map +1 -1
  561. package/dist/types/methods/request-snaps.mjs.map +1 -1
  562. package/dist/types/methods/resolve-interface.cjs.map +1 -1
  563. package/dist/types/methods/resolve-interface.d.cts +1 -1
  564. package/dist/types/methods/resolve-interface.d.mts +1 -1
  565. package/dist/types/methods/resolve-interface.mjs.map +1 -1
  566. package/dist/types/methods/schedule-background-event.cjs.map +1 -1
  567. package/dist/types/methods/schedule-background-event.d.cts +18 -8
  568. package/dist/types/methods/schedule-background-event.d.cts.map +1 -1
  569. package/dist/types/methods/schedule-background-event.d.mts +18 -8
  570. package/dist/types/methods/schedule-background-event.d.mts.map +1 -1
  571. package/dist/types/methods/schedule-background-event.mjs.map +1 -1
  572. package/dist/types/methods/send-web-socket-message.cjs.map +1 -1
  573. package/dist/types/methods/send-web-socket-message.d.cts +9 -5
  574. package/dist/types/methods/send-web-socket-message.d.cts.map +1 -1
  575. package/dist/types/methods/send-web-socket-message.d.mts +9 -5
  576. package/dist/types/methods/send-web-socket-message.d.mts.map +1 -1
  577. package/dist/types/methods/send-web-socket-message.mjs.map +1 -1
  578. package/dist/types/methods/set-state.cjs.map +1 -1
  579. package/dist/types/methods/set-state.d.cts +6 -2
  580. package/dist/types/methods/set-state.d.cts.map +1 -1
  581. package/dist/types/methods/set-state.d.mts +6 -2
  582. package/dist/types/methods/set-state.d.mts.map +1 -1
  583. package/dist/types/methods/set-state.mjs.map +1 -1
  584. package/dist/types/methods/update-interface.cjs.map +1 -1
  585. package/dist/types/methods/update-interface.d.cts +13 -5
  586. package/dist/types/methods/update-interface.d.cts.map +1 -1
  587. package/dist/types/methods/update-interface.d.mts +13 -5
  588. package/dist/types/methods/update-interface.d.mts.map +1 -1
  589. package/dist/types/methods/update-interface.mjs.map +1 -1
  590. package/dist/types/permissions.cjs.map +1 -1
  591. package/dist/types/permissions.d.cts +32 -2
  592. package/dist/types/permissions.d.cts.map +1 -1
  593. package/dist/types/permissions.d.mts +32 -2
  594. package/dist/types/permissions.d.mts.map +1 -1
  595. package/dist/types/permissions.mjs.map +1 -1
  596. package/dist/ui/components/address.cjs +1 -18
  597. package/dist/ui/components/address.cjs.map +1 -1
  598. package/dist/ui/components/address.d.cts +0 -28
  599. package/dist/ui/components/address.d.cts.map +1 -1
  600. package/dist/ui/components/address.d.mts +0 -28
  601. package/dist/ui/components/address.d.mts.map +1 -1
  602. package/dist/ui/components/address.mjs +0 -17
  603. package/dist/ui/components/address.mjs.map +1 -1
  604. package/dist/ui/components/button.cjs +1 -26
  605. package/dist/ui/components/button.cjs.map +1 -1
  606. package/dist/ui/components/button.d.cts +0 -42
  607. package/dist/ui/components/button.d.cts.map +1 -1
  608. package/dist/ui/components/button.d.mts +0 -42
  609. package/dist/ui/components/button.d.mts.map +1 -1
  610. package/dist/ui/components/button.mjs +0 -25
  611. package/dist/ui/components/button.mjs.map +1 -1
  612. package/dist/ui/components/copyable.cjs +1 -22
  613. package/dist/ui/components/copyable.cjs.map +1 -1
  614. package/dist/ui/components/copyable.d.cts +0 -38
  615. package/dist/ui/components/copyable.d.cts.map +1 -1
  616. package/dist/ui/components/copyable.d.mts +0 -38
  617. package/dist/ui/components/copyable.d.mts.map +1 -1
  618. package/dist/ui/components/copyable.mjs +0 -21
  619. package/dist/ui/components/copyable.mjs.map +1 -1
  620. package/dist/ui/components/divider.cjs +1 -12
  621. package/dist/ui/components/divider.cjs.map +1 -1
  622. package/dist/ui/components/divider.d.cts +0 -17
  623. package/dist/ui/components/divider.d.cts.map +1 -1
  624. package/dist/ui/components/divider.d.mts +0 -17
  625. package/dist/ui/components/divider.d.mts.map +1 -1
  626. package/dist/ui/components/divider.mjs +0 -11
  627. package/dist/ui/components/divider.mjs.map +1 -1
  628. package/dist/ui/components/form.cjs +1 -28
  629. package/dist/ui/components/form.cjs.map +1 -1
  630. package/dist/ui/components/form.d.cts +0 -86
  631. package/dist/ui/components/form.d.cts.map +1 -1
  632. package/dist/ui/components/form.d.mts +0 -86
  633. package/dist/ui/components/form.d.mts.map +1 -1
  634. package/dist/ui/components/form.mjs +0 -27
  635. package/dist/ui/components/form.mjs.map +1 -1
  636. package/dist/ui/components/heading.cjs +1 -18
  637. package/dist/ui/components/heading.cjs.map +1 -1
  638. package/dist/ui/components/heading.d.cts +0 -30
  639. package/dist/ui/components/heading.d.cts.map +1 -1
  640. package/dist/ui/components/heading.d.mts +0 -30
  641. package/dist/ui/components/heading.d.mts.map +1 -1
  642. package/dist/ui/components/heading.mjs +0 -17
  643. package/dist/ui/components/heading.mjs.map +1 -1
  644. package/dist/ui/components/image.cjs +1 -17
  645. package/dist/ui/components/image.cjs.map +1 -1
  646. package/dist/ui/components/image.d.cts +0 -29
  647. package/dist/ui/components/image.d.cts.map +1 -1
  648. package/dist/ui/components/image.d.mts +0 -29
  649. package/dist/ui/components/image.d.mts.map +1 -1
  650. package/dist/ui/components/image.mjs +0 -16
  651. package/dist/ui/components/image.mjs.map +1 -1
  652. package/dist/ui/components/index.cjs +2 -5
  653. package/dist/ui/components/index.cjs.map +1 -1
  654. package/dist/ui/components/index.d.cts +2 -3
  655. package/dist/ui/components/index.d.cts.map +1 -1
  656. package/dist/ui/components/index.d.mts +2 -3
  657. package/dist/ui/components/index.d.mts.map +1 -1
  658. package/dist/ui/components/index.mjs +2 -2
  659. package/dist/ui/components/index.mjs.map +1 -1
  660. package/dist/ui/components/input.cjs +1 -29
  661. package/dist/ui/components/input.cjs.map +1 -1
  662. package/dist/ui/components/input.d.cts +0 -50
  663. package/dist/ui/components/input.d.cts.map +1 -1
  664. package/dist/ui/components/input.d.mts +0 -50
  665. package/dist/ui/components/input.d.mts.map +1 -1
  666. package/dist/ui/components/input.mjs +0 -28
  667. package/dist/ui/components/input.mjs.map +1 -1
  668. package/dist/ui/components/panel.cjs +5 -27
  669. package/dist/ui/components/panel.cjs.map +1 -1
  670. package/dist/ui/components/panel.d.cts +0 -108
  671. package/dist/ui/components/panel.d.cts.map +1 -1
  672. package/dist/ui/components/panel.d.mts +0 -108
  673. package/dist/ui/components/panel.d.mts.map +1 -1
  674. package/dist/ui/components/panel.mjs +4 -26
  675. package/dist/ui/components/panel.mjs.map +1 -1
  676. package/dist/ui/components/row.cjs +1 -24
  677. package/dist/ui/components/row.cjs.map +1 -1
  678. package/dist/ui/components/row.d.cts +0 -69
  679. package/dist/ui/components/row.d.cts.map +1 -1
  680. package/dist/ui/components/row.d.mts +0 -69
  681. package/dist/ui/components/row.d.mts.map +1 -1
  682. package/dist/ui/components/row.mjs +0 -23
  683. package/dist/ui/components/row.mjs.map +1 -1
  684. package/dist/ui/components/spinner.cjs +1 -12
  685. package/dist/ui/components/spinner.cjs.map +1 -1
  686. package/dist/ui/components/spinner.d.cts +0 -18
  687. package/dist/ui/components/spinner.d.cts.map +1 -1
  688. package/dist/ui/components/spinner.d.mts +0 -18
  689. package/dist/ui/components/spinner.d.mts.map +1 -1
  690. package/dist/ui/components/spinner.mjs +0 -11
  691. package/dist/ui/components/spinner.mjs.map +1 -1
  692. package/dist/ui/components/text.cjs +1 -24
  693. package/dist/ui/components/text.cjs.map +1 -1
  694. package/dist/ui/components/text.d.cts +0 -38
  695. package/dist/ui/components/text.d.cts.map +1 -1
  696. package/dist/ui/components/text.d.mts +0 -38
  697. package/dist/ui/components/text.d.mts.map +1 -1
  698. package/dist/ui/components/text.mjs +0 -23
  699. package/dist/ui/components/text.mjs.map +1 -1
  700. package/dist/ui/index.cjs +0 -1
  701. package/dist/ui/index.cjs.map +1 -1
  702. package/dist/ui/index.d.cts +0 -1
  703. package/dist/ui/index.d.cts.map +1 -1
  704. package/dist/ui/index.d.mts +0 -1
  705. package/dist/ui/index.d.mts.map +1 -1
  706. package/dist/ui/index.mjs +0 -1
  707. package/dist/ui/index.mjs.map +1 -1
  708. package/package.json +7 -4
  709. package/dist/types/methods/get-currency-rate.cjs.map +0 -1
  710. package/dist/types/methods/get-currency-rate.d.cts +0 -29
  711. package/dist/types/methods/get-currency-rate.d.cts.map +0 -1
  712. package/dist/types/methods/get-currency-rate.d.mts +0 -29
  713. package/dist/types/methods/get-currency-rate.d.mts.map +0 -1
  714. package/dist/types/methods/get-currency-rate.mjs +0 -2
  715. package/dist/types/methods/get-currency-rate.mjs.map +0 -1
  716. package/dist/types/methods/provider-request.cjs.map +0 -1
  717. package/dist/types/methods/provider-request.d.cts +0 -25
  718. package/dist/types/methods/provider-request.d.cts.map +0 -1
  719. package/dist/types/methods/provider-request.d.mts +0 -25
  720. package/dist/types/methods/provider-request.d.mts.map +0 -1
  721. package/dist/types/methods/provider-request.mjs +0 -2
  722. package/dist/types/methods/provider-request.mjs.map +0 -1
  723. package/dist/ui/builder.cjs +0 -49
  724. package/dist/ui/builder.cjs.map +0 -1
  725. package/dist/ui/builder.d.cts +0 -43
  726. package/dist/ui/builder.d.cts.map +0 -1
  727. package/dist/ui/builder.d.mts +0 -43
  728. package/dist/ui/builder.d.mts.map +0 -1
  729. package/dist/ui/builder.mjs +0 -45
  730. package/dist/ui/builder.mjs.map +0 -1
  731. package/dist/ui/component.cjs +0 -29
  732. package/dist/ui/component.cjs.map +0 -1
  733. package/dist/ui/component.d.cts +0 -18
  734. package/dist/ui/component.d.cts.map +0 -1
  735. package/dist/ui/component.d.mts +0 -18
  736. package/dist/ui/component.d.mts.map +0 -1
  737. package/dist/ui/component.mjs +0 -24
  738. package/dist/ui/component.mjs.map +0 -1
@@ -273,16 +273,21 @@ export declare enum IconName {
273
273
  Wifi = "wifi",
274
274
  X = "x"
275
275
  }
276
+ /**
277
+ * The colors available to the {@link Link} component.
278
+ */
279
+ export type IconColor = 'default' | 'primary' | 'muted' | 'error' | 'success' | 'warning';
276
280
  /**
277
281
  * The props of the {@link Icon} component.
278
282
  *
279
283
  * @property name - The name of the icon to display from a pre-defined list.
280
284
  * @property color - The color of the displayed icon.
281
285
  * @property size - The size of the displayed icon. Use `inherit` to size it the same as the text.
286
+ * @category Component Props
282
287
  */
283
288
  export type IconProps = {
284
289
  name: `${IconName}`;
285
- color?: 'default' | 'primary' | 'muted' | undefined;
290
+ color?: IconColor | undefined;
286
291
  size?: 'md' | 'inherit' | undefined;
287
292
  };
288
293
  /**
@@ -295,12 +300,14 @@ export type IconProps = {
295
300
  * @returns An icon element.
296
301
  * @example
297
302
  * <Icon name="warning" color="warning" size="md" />
303
+ * @category Components
298
304
  */
299
305
  export declare const Icon: import("../component.cjs").SnapComponent<IconProps, "Icon">;
300
306
  /**
301
307
  * An icon element.
302
308
  *
303
- * @see Icon
309
+ * @see {@link Icon}
310
+ * @category Elements
304
311
  */
305
312
  export type IconElement = ReturnType<typeof Icon>;
306
313
  //# sourceMappingURL=Icon.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Icon.ts"],"names":[],"mappings":"AAIA,oBAAY,QAAQ;IAClB,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,OAAO,aAAa;IACpB,SAAS,eAAe;IACxB,SAAS,eAAe;IACxB,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,cAAc,oBAAoB;IAClC,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,iBAAiB;IAC3B,UAAU,iBAAiB;IAC3B,WAAW,kBAAkB;IAC7B,aAAa,qBAAqB;IAClC,QAAQ,eAAe;IACvB,eAAe,sBAAsB;IACrC,aAAa,oBAAoB;IACjC,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,SAAS,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OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,UAAU,gBAAgB;IAC1B,YAAY,kBAAkB;IAC9B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,cAAc,oBAAoB;IAClC,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,SAAS,eAAe;IACxB,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,UAAU,gBAAgB;IAC1B,IAAI,SAAS;IACb,cAAc,oBAAoB;IAClC,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,gBAAgB;IAC1B,QAAQ,eAAe;IACvB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,YAAY,kBAAkB;IAC9B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,OAAO,aAAa;IACpB,IAAI,SAAS;IACb,CAAC,MAAM;CACR;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,SAAS,CAAC;AAEd;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,GAAG,QAAQ,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,SAAS,CAAC;CACrC,CAAC;AAIF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
@@ -273,16 +273,21 @@ export declare enum IconName {
273
273
  Wifi = "wifi",
274
274
  X = "x"
275
275
  }
276
+ /**
277
+ * The colors available to the {@link Link} component.
278
+ */
279
+ export type IconColor = 'default' | 'primary' | 'muted' | 'error' | 'success' | 'warning';
276
280
  /**
277
281
  * The props of the {@link Icon} component.
278
282
  *
279
283
  * @property name - The name of the icon to display from a pre-defined list.
280
284
  * @property color - The color of the displayed icon.
281
285
  * @property size - The size of the displayed icon. Use `inherit` to size it the same as the text.
286
+ * @category Component Props
282
287
  */
283
288
  export type IconProps = {
284
289
  name: `${IconName}`;
285
- color?: 'default' | 'primary' | 'muted' | undefined;
290
+ color?: IconColor | undefined;
286
291
  size?: 'md' | 'inherit' | undefined;
287
292
  };
288
293
  /**
@@ -295,12 +300,14 @@ export type IconProps = {
295
300
  * @returns An icon element.
296
301
  * @example
297
302
  * <Icon name="warning" color="warning" size="md" />
303
+ * @category Components
298
304
  */
299
305
  export declare const Icon: import("../component.mjs").SnapComponent<IconProps, "Icon">;
300
306
  /**
301
307
  * An icon element.
302
308
  *
303
- * @see Icon
309
+ * @see {@link Icon}
310
+ * @category Elements
304
311
  */
305
312
  export type IconElement = ReturnType<typeof Icon>;
306
313
  //# sourceMappingURL=Icon.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Icon.ts"],"names":[],"mappings":"AAIA,oBAAY,QAAQ;IAClB,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,OAAO,aAAa;IACpB,SAAS,eAAe;IACxB,SAAS,eAAe;IACxB,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,cAAc,oBAAoB;IAClC,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,iBAAiB;IAC3B,UAAU,iBAAiB;IAC3B,WAAW,kBAAkB;IAC7B,aAAa,qBAAqB;IAClC,QAAQ,eAAe;IACvB,eAAe,sBAAsB;IACrC,aAAa,oBAAoB;IACjC,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,SAAS,eAAe;IACxB,mBAAmB,2BAA2B;IAC9C,SAAS,eAAe;IACxB,UAAU,gBAAgB;I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,OAAO,aAAa;IACpB,UAAU,gBAAgB;IAC1B,YAAY,kBAAkB;IAC9B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,cAAc,oBAAoB;IAClC,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,SAAS,eAAe;IACxB,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,UAAU,gBAAgB;IAC1B,IAAI,SAAS;IACb,cAAc,oBAAoB;IAClC,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,gBAAgB;IAC1B,QAAQ,eAAe;IACvB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,YAAY,kBAAkB;IAC9B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,OAAO,aAAa;IACpB,IAAI,SAAS;IACb,CAAC,MAAM;CACR;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,SAAS,CAAC;AAEd;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,GAAG,QAAQ,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,SAAS,CAAC;CACrC,CAAC;AAIF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
@@ -288,6 +288,7 @@ const TYPE = 'Icon';
288
288
  * @returns An icon element.
289
289
  * @example
290
290
  * <Icon name="warning" color="warning" size="md" />
291
+ * @category Components
291
292
  */
292
293
  export const Icon = createSnapComponent(TYPE);
293
294
  //# sourceMappingURL=Icon.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAEnD,0HAA0H;AAC1H,4DAA4D;AAC5D,MAAM,CAAN,IAAY,QAkRX;AAlRD,WAAY,QAAQ;IAClB,2CAA+B,CAAA;IAC/B,iCAAqB,CAAA;IACrB,gCAAoB,CAAA;IACpB,oCAAwB,CAAA;IACxB,oCAAwB,CAAA;IACxB,uBAAW,CAAA;IACX,qBAAS,CAAA;IACT,8CAAkC,CAAA;IAClC,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,uCAA2B,CAAA;IAC3B,uCAA2B,CAAA;IAC3B,yCAA6B,CAAA;IAC7B,8CAAkC,CAAA;IAClC,mCAAuB,CAAA;IACvB,iDAAqC,CAAA;IACrC,6CAAiC,CAAA;IACjC,iDAAqC,CAAA;IACrC,mDAAuC,CAAA;IACvC,oCAAwB,CAAA;IACxB,0DAA8C,CAAA;IAC9C,oCAAwB,CAAA;IACxB,sCAA0B,CAAA;IAC1B,gCAAoB,CAAA;IACpB,qCAAyB,CAAA;IACzB,uBAAW,CAAA;IACX,wCAA4B,CAAA;IAC5B,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,qCAAyB,CAAA;IACzB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;IACrB,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,oCAAwB,CAAA;IACxB,2BAAe,CAAA;IACf,gCAAoB,CAAA;IACpB,wCAA4B,CAAA;IAC5B,2BAAe,CAAA;IACf,2BAA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B,CAAA;IACxB,6CAAiC,CAAA;IACjC,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,oCAAwB,CAAA;IACxB,gCAAoB,CAAA;IACpB,sCAA0B,CAAA;IAC1B,0CAA8B,CAAA;IAC9B,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,8CAAkC,CAAA;IAClC,2BAAe,CAAA;IACf,sCAA0B,CAAA;IAC1B,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,oCAAwB,CAAA;IACxB,6CAAiC,CAAA;IACjC,mDAAuC,CAAA;IACvC,sCAA0B,CAAA;IAC1B,yBAAa,CAAA;IACb,8CAAkC,CAAA;IAClC,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;IACrB,sCAA0B,CAAA;IAC1B,mCAAuB,CAAA;IACvB,oCAAwB,CAAA;IACxB,kCAAsB,CAAA;IACtB,0CAA8B,CAAA;IAC9B,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,sCAA0B,CAAA;IAC1B,+BAAmB,CAAA;IACnB,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,mBAAO,CAAA;AACT,CAAC,EAlRW,QAAQ,KAAR,QAAQ,QAkRnB;AAeD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAyB,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../component';\n\n// Copied from https://github.com/MetaMask/metamask-extension/blob/main/ui/components/component-library/icon/icon.types.ts\n// Currently requires manual syncing when new icon is added.\nexport enum IconName {\n Accessibility = 'accessibility',\n Activity = 'activity',\n AddCard = 'add-card',\n AddCircle = 'add-circle',\n AddSquare = 'add-square',\n Add = 'add',\n Ai = 'ai',\n AlternateEmail = 'alternate-email',\n Apple = 'apple',\n Apps = 'apps',\n Arrow2Down = 'arrow-2-down',\n Arrow2Left = 'arrow-2-left',\n Arrow2Right = 'arrow-2-right',\n Arrow2UpRight = 'arrow-2-up-right',\n Arrow2Up = 'arrow-2-up',\n ArrowCircleDown = 'arrow-circle-down',\n ArrowCircleUp = 'arrow-circle-up',\n ArrowDoubleLeft = 'arrow-double-left',\n ArrowDoubleRight = 'arrow-double-right',\n ArrowDown = 'arrow-down',\n ArrowDropDownCircle = 'arrow-drop-down-circle',\n ArrowLeft = 'arrow-left',\n ArrowRight = 'arrow-right',\n ArrowUp = 'arrow-up',\n Attachment = 'attachment',\n Ban = 'ban',\n BankAssured = 'bank-assured',\n Bank = 'bank',\n Bold = 'bold',\n Book = 'book',\n Bookmark = 'bookmark',\n Bridge = 'bridge',\n Briefcase = 'briefcase',\n Bulb = 'bulb',\n BuySell = 'buy-sell',\n Cake = 'cake',\n Calculator = 'calculator',\n Calendar = 'calendar',\n Call = 'call',\n Camera = 'camera',\n Campaign = 'campaign',\n CardPos = 'card-pos',\n Card = 'card',\n Cash = 'cash',\n Category = 'category',\n Chart = 'chart',\n CheckBold = 'check-bold',\n Check = 'check',\n CircleX = 'circle-x',\n ClockFilled = 'clock-filled',\n Clock = 'clock',\n Close = 'close',\n CloudDownload = 'cloud-download',\n CloudUpload = 'cloud-upload',\n Cloud = 'cloud',\n CodeCircle = 'code-circle',\n Code = 'code',\n Coin = 'coin',\n Collapse = 'collapse',\n Confirmation = 'confirmation',\n Connect = 'connect',\n CopySuccess = 'copy-success',\n Copy = 'copy',\n CreditCheck = 'credit-check',\n CurrencyFranc = 'currency-franc',\n CurrencyLira = 'currency-lira',\n CurrencyPound = 'currency-pound',\n CurrencyYuan = 'currency-yuan',\n Customize = 'customize',\n Danger = 'danger',\n DarkFilled = 'dark-filled',\n Dark = 'dark',\n Data = 'data',\n Description = 'description',\n Details = 'details',\n Diagram = 'diagram',\n DocumentCode = 'document-code',\n Download = 'download',\n Draft = 'draft',\n EcoLeaf = 'eco-leaf',\n EditSquare = 'edit-square',\n Edit = 'edit',\n EncryptedAdd = 'encrypted-add',\n Eraser = 'eraser',\n Error = 'error',\n Ethereum = 'ethereum',\n Exchange = 'exchange',\n ExpandVertical = 'expand-vertical',\n Expand = 'expand',\n ExploreFilled = 'explore-filled',\n Explore = 'explore',\n Export = 'export',\n Extension = 'extension',\n EyeSlash = 'eye-slash',\n Eye = 'eye',\n FaceId = 'face-id',\n Feedback = 'feedback',\n File = 'file',\n Filter = 'filter',\n Fingerprint = 'fingerprint',\n Fire = 'fire',\n FirstPage = 'first-page',\n Flag = 'flag',\n FlashSlash = 'flash-slash',\n Flash = 'flash',\n Flask = 'flask',\n Flower = 'flower',\n Folder = 'folder',\n Forest = 'forest',\n FullCircle = 'full-circle',\n Gas = 'gas',\n Gift = 'gift',\n GlobalSearch = 'global-search',\n Global = 'global',\n Graph = 'graph',\n Hardware = 'hardware',\n HashTag = 'hash-tag',\n HeartFilled = 'heart-filled',\n Heart = 'heart',\n Hierarchy = 'hierarchy',\n HomeFilled = 'home-filled',\n Home = 'home',\n Image = 'image',\n Info = 'info',\n Inventory = 'inventory',\n Joystick = 'joystick',\n KeepFilled = 'keep-filled',\n Keep = 'keep',\n Key = 'key',\n LastPage = 'last-page',\n LightFilled = 'light-filled',\n Light = 'light',\n Link = 'link',\n Loading = 'loading',\n Location = 'location',\n LockSlash = 'lock-slash',\n Lock = 'lock',\n LockedFilled = 'locked-filled',\n Login = 'login',\n Logout = 'logout',\n Mail = 'mail',\n Map = 'map',\n Menu = 'menu',\n MessageQuestion = 'message-question',\n Messages = 'messages',\n Mic = 'mic',\n MinusBold = 'minus-bold',\n MinusSquare = 'minus-square',\n Minus = 'minus',\n Mobile = 'mobile',\n MoneyBag = 'money-bag',\n Money = 'money',\n Monitor = 'monitor',\n MoreHorizontal = 'more-horizontal',\n MoreVertical = 'more-vertical',\n MountainFlag = 'mountain-flag',\n MusicNote = 'music-note',\n Notification = 'notification',\n PageInfo = 'page-info',\n Palette = 'palette',\n PasswordCheck = 'password-check',\n Pending = 'pending',\n People = 'people',\n PersonCancel = 'person-cancel',\n Pin = 'pin',\n Plant = 'plant',\n Plug = 'plug',\n PlusAndMinus = 'plus-and-minus',\n PolicyAlert = 'policy-alert',\n Print = 'print',\n PriorityHigh = 'priority-high',\n PrivacyTip = 'privacy-tip',\n ProgrammingArrows = 'programming-arrows',\n Publish = 'publish',\n QrCode = 'qr-code',\n Question = 'question',\n Receive = 'receive',\n Received = 'received',\n Refresh = 'refresh',\n RemoveMinus = 'remove-minus',\n Report = 'report',\n Rocket = 'rocket',\n SaveFilled = 'save-filled',\n Save = 'save',\n Saving = 'saving',\n ScanBarcode = 'scan-barcode',\n ScanFocus = 'scan-focus',\n Scan = 'scan',\n Search = 'search',\n SecurityAlert = 'security-alert',\n SecurityCross = 'security-cross',\n SecurityKey = 'security-key',\n SecuritySearch = 'security-search',\n SecuritySlash = 'security-slash',\n SecurityTick = 'security-tick',\n SecurityTime = 'security-time',\n SecurityUser = 'security-user',\n Security = 'security',\n Send = 'send',\n SentimentDissatisfied = 'sentiment-dissatisfied',\n SentimentNeutral = 'sentiment-neutral',\n SentimentSatisfied = 'sentiment-satisfied',\n SentimentVerySatisfied = 'sentiment-very-satisfied',\n SettingFilled = 'setting-filled',\n Setting = 'setting',\n Share = 'share',\n ShieldLock = 'shield-lock',\n ShoppingBag = 'shopping-bag',\n ShoppingCart = 'shopping-cart',\n SignalCellular = 'signal-cellular',\n Slash = 'slash',\n Sms = 'sms',\n SnapsMobile = 'snaps-mobile',\n SnapsPlus = 'snaps-plus',\n SnapsRound = 'snaps-round',\n Snaps = 'snaps',\n SortByAlpha = 'sort-by-alpha',\n Sort = 'sort',\n Sparkle = 'sparkle',\n Speed = 'speed',\n Speedometer = 'speedometer',\n Square = 'square',\n Stake = 'stake',\n StarFilled = 'star-filled',\n Star = 'star',\n Start = 'start',\n Storefront = 'storefront',\n Student = 'student',\n SwapHorizontal = 'swap-horizontal',\n SwapVertical = 'swap-vertical',\n TabClose = 'tab-close',\n TableRow = 'table-row',\n Tablet = 'tablet',\n Tag = 'tag',\n ThumbDownFilled = 'thumb-down-filled',\n ThumbDown = 'thumb-down',\n ThumbUpFilled = 'thumb-up-filled',\n ThumbUp = 'thumb-up',\n Tint = 'tint',\n Tooltip = 'tooltip',\n Translate = 'translate',\n Trash = 'trash',\n TrendDown = 'trend-down',\n TrendUp = 'trend-up',\n TriangleUp = 'triangle-up',\n TriangleDown = 'triangle-down',\n Undo = 'undo',\n Unfold = 'unfold',\n UnlockedFilled = 'unlocked-filled',\n Unpin = 'unpin',\n UploadFile = 'upload-file',\n Upload = 'upload',\n Usb = 'usb',\n UserCheck = 'user-check',\n UserCircleAdd = 'user-circle-add',\n UserCircleRemove = 'user-circle-remove',\n UserCircle = 'user-circle',\n User = 'user',\n VerifiedFilled = 'verified-filled',\n Verified = 'verified',\n Videocam = 'videocam',\n ViewColumn = 'view-column',\n ViewInAr = 'view-in-ar',\n VolumeOff = 'volume-off',\n VolumeUp = 'volume-up',\n WalletFilled = 'wallet-filled',\n Wallet = 'wallet',\n Warning = 'warning',\n WebTraffic = 'web-traffic',\n Widgets = 'widgets',\n WifiOff = 'wifi-off',\n Wifi = 'wifi',\n X = 'x',\n}\n\n/**\n * The props of the {@link Icon} component.\n *\n * @property name - The name of the icon to display from a pre-defined list.\n * @property color - The color of the displayed icon.\n * @property size - The size of the displayed icon. Use `inherit` to size it the same as the text.\n */\nexport type IconProps = {\n name: `${IconName}`;\n color?: 'default' | 'primary' | 'muted' | undefined;\n size?: 'md' | 'inherit' | undefined;\n};\n\nconst TYPE = 'Icon';\n\n/**\n * An icon component which is used to display an icon from a pre-defined list.\n *\n * @param props - The props of the component.\n * @param props.name - The name of the icon to display from a pre-defined list.\n * @param props.color - The color of the displayed icon.\n * @param props.size - The size of the displayed icon. Use `inherit` to size it the same as the text.\n * @returns An icon element.\n * @example\n * <Icon name=\"warning\" color=\"warning\" size=\"md\" />\n */\nexport const Icon = createSnapComponent<IconProps, typeof TYPE>(TYPE);\n\n/**\n * An icon element.\n *\n * @see Icon\n */\nexport type IconElement = ReturnType<typeof Icon>;\n"]}
1
+ {"version":3,"file":"Icon.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAEnD,0HAA0H;AAC1H,4DAA4D;AAC5D,MAAM,CAAN,IAAY,QAkRX;AAlRD,WAAY,QAAQ;IAClB,2CAA+B,CAAA;IAC/B,iCAAqB,CAAA;IACrB,gCAAoB,CAAA;IACpB,oCAAwB,CAAA;IACxB,oCAAwB,CAAA;IACxB,uBAAW,CAAA;IACX,qBAAS,CAAA;IACT,8CAAkC,CAAA;IAClC,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,uCAA2B,CAAA;IAC3B,uCAA2B,CAAA;IAC3B,yCAA6B,CAAA;IAC7B,8CAAkC,CAAA;IAClC,mCAAuB,CAAA;IACvB,iDAAqC,CAAA;IACrC,6CAAiC,CAAA;IACjC,iDAAqC,CAAA;IACrC,mDAAuC,CAAA;IACvC,oCAAwB,CAAA;IACxB,0DAA8C,CAAA;IAC9C,oCAAwB,CAAA;IACxB,sCAA0B,CAAA;IAC1B,gCAAoB,CAAA;IACpB,qCAAyB,CAAA;IACzB,uBAAW,CAAA;IACX,wCAA4B,CAAA;IAC5B,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,qCAAyB,CAAA;IACzB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;IACrB,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,oCAAwB,CAAA;IACxB,2BAAe,CAAA;IACf,gCAAoB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,CAAA;IACjB,uBAAW,CAAA;IACX,iDAAqC,CAAA;IACrC,oCAAwB,CAAA;IACxB,6CAAiC,CAAA;IACjC,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,oCAAwB,CAAA;IACxB,gCAAoB,CAAA;IACpB,sCAA0B,CAAA;IAC1B,0CAA8B,CAAA;IAC9B,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,8CAAkC,CAAA;IAClC,2BAAe,CAAA;IACf,sCAA0B,CAAA;IAC1B,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,oCAAwB,CAAA;IACxB,6CAAiC,CAAA;IACjC,mDAAuC,CAAA;IACvC,sCAA0B,CAAA;IAC1B,yBAAa,CAAA;IACb,8CAAkC,CAAA;IAClC,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;IACrB,sCAA0B,CAAA;IAC1B,mCAAuB,CAAA;IACvB,oCAAwB,CAAA;IACxB,kCAAsB,CAAA;IACtB,0CAA8B,CAAA;IAC9B,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,sCAA0B,CAAA;IAC1B,+BAAmB,CAAA;IACnB,gCAAoB,CAAA;IACpB,yBAAa,CAAA;IACb,mBAAO,CAAA;AACT,CAAC,EAlRW,QAAQ,KAAR,QAAQ,QAkRnB;AA2BD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAyB,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../component';\n\n// Copied from https://github.com/MetaMask/metamask-extension/blob/main/ui/components/component-library/icon/icon.types.ts\n// Currently requires manual syncing when new icon is added.\nexport enum IconName {\n Accessibility = 'accessibility',\n Activity = 'activity',\n AddCard = 'add-card',\n AddCircle = 'add-circle',\n AddSquare = 'add-square',\n Add = 'add',\n Ai = 'ai',\n AlternateEmail = 'alternate-email',\n Apple = 'apple',\n Apps = 'apps',\n Arrow2Down = 'arrow-2-down',\n Arrow2Left = 'arrow-2-left',\n Arrow2Right = 'arrow-2-right',\n Arrow2UpRight = 'arrow-2-up-right',\n Arrow2Up = 'arrow-2-up',\n ArrowCircleDown = 'arrow-circle-down',\n ArrowCircleUp = 'arrow-circle-up',\n ArrowDoubleLeft = 'arrow-double-left',\n ArrowDoubleRight = 'arrow-double-right',\n ArrowDown = 'arrow-down',\n ArrowDropDownCircle = 'arrow-drop-down-circle',\n ArrowLeft = 'arrow-left',\n ArrowRight = 'arrow-right',\n ArrowUp = 'arrow-up',\n Attachment = 'attachment',\n Ban = 'ban',\n BankAssured = 'bank-assured',\n Bank = 'bank',\n Bold = 'bold',\n Book = 'book',\n Bookmark = 'bookmark',\n Bridge = 'bridge',\n Briefcase = 'briefcase',\n Bulb = 'bulb',\n BuySell = 'buy-sell',\n Cake = 'cake',\n Calculator = 'calculator',\n Calendar = 'calendar',\n Call = 'call',\n Camera = 'camera',\n Campaign = 'campaign',\n CardPos = 'card-pos',\n Card = 'card',\n Cash = 'cash',\n Category = 'category',\n Chart = 'chart',\n CheckBold = 'check-bold',\n Check = 'check',\n CircleX = 'circle-x',\n ClockFilled = 'clock-filled',\n Clock = 'clock',\n Close = 'close',\n CloudDownload = 'cloud-download',\n CloudUpload = 'cloud-upload',\n Cloud = 'cloud',\n CodeCircle = 'code-circle',\n Code = 'code',\n Coin = 'coin',\n Collapse = 'collapse',\n Confirmation = 'confirmation',\n Connect = 'connect',\n CopySuccess = 'copy-success',\n Copy = 'copy',\n CreditCheck = 'credit-check',\n CurrencyFranc = 'currency-franc',\n CurrencyLira = 'currency-lira',\n CurrencyPound = 'currency-pound',\n CurrencyYuan = 'currency-yuan',\n Customize = 'customize',\n Danger = 'danger',\n DarkFilled = 'dark-filled',\n Dark = 'dark',\n Data = 'data',\n Description = 'description',\n Details = 'details',\n Diagram = 'diagram',\n DocumentCode = 'document-code',\n Download = 'download',\n Draft = 'draft',\n EcoLeaf = 'eco-leaf',\n EditSquare = 'edit-square',\n Edit = 'edit',\n EncryptedAdd = 'encrypted-add',\n Eraser = 'eraser',\n Error = 'error',\n Ethereum = 'ethereum',\n Exchange = 'exchange',\n ExpandVertical = 'expand-vertical',\n Expand = 'expand',\n ExploreFilled = 'explore-filled',\n Explore = 'explore',\n Export = 'export',\n Extension = 'extension',\n EyeSlash = 'eye-slash',\n Eye = 'eye',\n FaceId = 'face-id',\n Feedback = 'feedback',\n File = 'file',\n Filter = 'filter',\n Fingerprint = 'fingerprint',\n Fire = 'fire',\n FirstPage = 'first-page',\n Flag = 'flag',\n FlashSlash = 'flash-slash',\n Flash = 'flash',\n Flask = 'flask',\n Flower = 'flower',\n Folder = 'folder',\n Forest = 'forest',\n FullCircle = 'full-circle',\n Gas = 'gas',\n Gift = 'gift',\n GlobalSearch = 'global-search',\n Global = 'global',\n Graph = 'graph',\n Hardware = 'hardware',\n HashTag = 'hash-tag',\n HeartFilled = 'heart-filled',\n Heart = 'heart',\n Hierarchy = 'hierarchy',\n HomeFilled = 'home-filled',\n Home = 'home',\n Image = 'image',\n Info = 'info',\n Inventory = 'inventory',\n Joystick = 'joystick',\n KeepFilled = 'keep-filled',\n Keep = 'keep',\n Key = 'key',\n LastPage = 'last-page',\n LightFilled = 'light-filled',\n Light = 'light',\n Link = 'link',\n Loading = 'loading',\n Location = 'location',\n LockSlash = 'lock-slash',\n Lock = 'lock',\n LockedFilled = 'locked-filled',\n Login = 'login',\n Logout = 'logout',\n Mail = 'mail',\n Map = 'map',\n Menu = 'menu',\n MessageQuestion = 'message-question',\n Messages = 'messages',\n Mic = 'mic',\n MinusBold = 'minus-bold',\n MinusSquare = 'minus-square',\n Minus = 'minus',\n Mobile = 'mobile',\n MoneyBag = 'money-bag',\n Money = 'money',\n Monitor = 'monitor',\n MoreHorizontal = 'more-horizontal',\n MoreVertical = 'more-vertical',\n MountainFlag = 'mountain-flag',\n MusicNote = 'music-note',\n Notification = 'notification',\n PageInfo = 'page-info',\n Palette = 'palette',\n PasswordCheck = 'password-check',\n Pending = 'pending',\n People = 'people',\n PersonCancel = 'person-cancel',\n Pin = 'pin',\n Plant = 'plant',\n Plug = 'plug',\n PlusAndMinus = 'plus-and-minus',\n PolicyAlert = 'policy-alert',\n Print = 'print',\n PriorityHigh = 'priority-high',\n PrivacyTip = 'privacy-tip',\n ProgrammingArrows = 'programming-arrows',\n Publish = 'publish',\n QrCode = 'qr-code',\n Question = 'question',\n Receive = 'receive',\n Received = 'received',\n Refresh = 'refresh',\n RemoveMinus = 'remove-minus',\n Report = 'report',\n Rocket = 'rocket',\n SaveFilled = 'save-filled',\n Save = 'save',\n Saving = 'saving',\n ScanBarcode = 'scan-barcode',\n ScanFocus = 'scan-focus',\n Scan = 'scan',\n Search = 'search',\n SecurityAlert = 'security-alert',\n SecurityCross = 'security-cross',\n SecurityKey = 'security-key',\n SecuritySearch = 'security-search',\n SecuritySlash = 'security-slash',\n SecurityTick = 'security-tick',\n SecurityTime = 'security-time',\n SecurityUser = 'security-user',\n Security = 'security',\n Send = 'send',\n SentimentDissatisfied = 'sentiment-dissatisfied',\n SentimentNeutral = 'sentiment-neutral',\n SentimentSatisfied = 'sentiment-satisfied',\n SentimentVerySatisfied = 'sentiment-very-satisfied',\n SettingFilled = 'setting-filled',\n Setting = 'setting',\n Share = 'share',\n ShieldLock = 'shield-lock',\n ShoppingBag = 'shopping-bag',\n ShoppingCart = 'shopping-cart',\n SignalCellular = 'signal-cellular',\n Slash = 'slash',\n Sms = 'sms',\n SnapsMobile = 'snaps-mobile',\n SnapsPlus = 'snaps-plus',\n SnapsRound = 'snaps-round',\n Snaps = 'snaps',\n SortByAlpha = 'sort-by-alpha',\n Sort = 'sort',\n Sparkle = 'sparkle',\n Speed = 'speed',\n Speedometer = 'speedometer',\n Square = 'square',\n Stake = 'stake',\n StarFilled = 'star-filled',\n Star = 'star',\n Start = 'start',\n Storefront = 'storefront',\n Student = 'student',\n SwapHorizontal = 'swap-horizontal',\n SwapVertical = 'swap-vertical',\n TabClose = 'tab-close',\n TableRow = 'table-row',\n Tablet = 'tablet',\n Tag = 'tag',\n ThumbDownFilled = 'thumb-down-filled',\n ThumbDown = 'thumb-down',\n ThumbUpFilled = 'thumb-up-filled',\n ThumbUp = 'thumb-up',\n Tint = 'tint',\n Tooltip = 'tooltip',\n Translate = 'translate',\n Trash = 'trash',\n TrendDown = 'trend-down',\n TrendUp = 'trend-up',\n TriangleUp = 'triangle-up',\n TriangleDown = 'triangle-down',\n Undo = 'undo',\n Unfold = 'unfold',\n UnlockedFilled = 'unlocked-filled',\n Unpin = 'unpin',\n UploadFile = 'upload-file',\n Upload = 'upload',\n Usb = 'usb',\n UserCheck = 'user-check',\n UserCircleAdd = 'user-circle-add',\n UserCircleRemove = 'user-circle-remove',\n UserCircle = 'user-circle',\n User = 'user',\n VerifiedFilled = 'verified-filled',\n Verified = 'verified',\n Videocam = 'videocam',\n ViewColumn = 'view-column',\n ViewInAr = 'view-in-ar',\n VolumeOff = 'volume-off',\n VolumeUp = 'volume-up',\n WalletFilled = 'wallet-filled',\n Wallet = 'wallet',\n Warning = 'warning',\n WebTraffic = 'web-traffic',\n Widgets = 'widgets',\n WifiOff = 'wifi-off',\n Wifi = 'wifi',\n X = 'x',\n}\n\n/**\n * The colors available to the {@link Link} component.\n */\nexport type IconColor =\n | 'default'\n | 'primary'\n | 'muted'\n | 'error'\n | 'success'\n | 'warning';\n\n/**\n * The props of the {@link Icon} component.\n *\n * @property name - The name of the icon to display from a pre-defined list.\n * @property color - The color of the displayed icon.\n * @property size - The size of the displayed icon. Use `inherit` to size it the same as the text.\n * @category Component Props\n */\nexport type IconProps = {\n name: `${IconName}`;\n color?: IconColor | undefined;\n size?: 'md' | 'inherit' | undefined;\n};\n\nconst TYPE = 'Icon';\n\n/**\n * An icon component which is used to display an icon from a pre-defined list.\n *\n * @param props - The props of the component.\n * @param props.name - The name of the icon to display from a pre-defined list.\n * @param props.color - The color of the displayed icon.\n * @param props.size - The size of the displayed icon. Use `inherit` to size it the same as the text.\n * @returns An icon element.\n * @example\n * <Icon name=\"warning\" color=\"warning\" size=\"md\" />\n * @category Components\n */\nexport const Icon = createSnapComponent<IconProps, typeof TYPE>(TYPE);\n\n/**\n * An icon element.\n *\n * @see {@link Icon}\n * @category Elements\n */\nexport type IconElement = ReturnType<typeof Icon>;\n"]}
@@ -20,6 +20,7 @@ const TYPE = 'Image';
20
20
  * @returns An image element.
21
21
  * @example
22
22
  * <Image src="<svg>...</svg>" alt="An example image" />
23
+ * @category Components
23
24
  */
24
25
  exports.Image = (0, component_1.createSnapComponent)(TYPE);
25
26
  //# sourceMappingURL=Image.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAmBnD,MAAM,IAAI,GAAG,OAAO,CAAC;AAErB;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,KAAK,GAAG,IAAA,+BAAmB,EAA0B,IAAI,CAAC,CAAC","sourcesContent":["import type { BorderRadius } from './utils';\nimport { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Image} component.\n *\n * @property src - The SVG image to display. This should be an SVG string, and\n * other formats such as PNG and JPEG are not supported directly. You can use\n * the `data:` URL scheme to embed images inside the SVG.\n * @property alt - The alternative text of the image, which describes the image\n * for users who cannot see it.\n */\ntype ImageProps = {\n src: string;\n alt?: string | undefined;\n borderRadius?: BorderRadius | undefined;\n height?: number | undefined;\n width?: number | undefined;\n};\n\nconst TYPE = 'Image';\n\n/**\n * An image component, which is used to display an image.\n *\n * This component does not accept any children.\n *\n * @param props - The props of the component.\n * @param props.src - The URL of the image to display. This should be an SVG\n * string, and other formats such as PNG and JPEG are not supported directly.\n * You can use the `data:` URL scheme to embed images inside the SVG.\n * @param props.alt - The alternative text of the image, which describes the\n * image for users who cannot see it.\n * @param props.borderRadius - The border radius applied to the image.\n * @param props.width - The width of the image.\n * @param props.height - The height of the image.\n * @returns An image element.\n * @example\n * <Image src=\"<svg>...</svg>\" alt=\"An example image\" />\n */\nexport const Image = createSnapComponent<ImageProps, typeof TYPE>(TYPE);\n\n/**\n * An image element.\n *\n * @see Image\n */\nexport type ImageElement = ReturnType<typeof Image>;\n"]}
1
+ {"version":3,"file":"Image.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAoBnD,MAAM,IAAI,GAAG,OAAO,CAAC;AAErB;;;;;;;;;;;;;;;;;;GAkBG;AACU,QAAA,KAAK,GAAG,IAAA,+BAAmB,EAA0B,IAAI,CAAC,CAAC","sourcesContent":["import type { BorderRadius } from './utils';\nimport { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Image} component.\n *\n * @property src - The SVG image to display. This should be an SVG string, and\n * other formats such as PNG and JPEG are not supported directly. You can use\n * the `data:` URL scheme to embed images inside the SVG.\n * @property alt - The alternative text of the image, which describes the image\n * for users who cannot see it.\n * @category Component Props\n */\ntype ImageProps = {\n src: string;\n alt?: string | undefined;\n borderRadius?: BorderRadius | undefined;\n height?: number | undefined;\n width?: number | undefined;\n};\n\nconst TYPE = 'Image';\n\n/**\n * An image component, which is used to display an image.\n *\n * This component does not accept any children.\n *\n * @param props - The props of the component.\n * @param props.src - The URL of the image to display. This should be an SVG\n * string, and other formats such as PNG and JPEG are not supported directly.\n * You can use the `data:` URL scheme to embed images inside the SVG.\n * @param props.alt - The alternative text of the image, which describes the\n * image for users who cannot see it.\n * @param props.borderRadius - The border radius applied to the image.\n * @param props.width - The width of the image.\n * @param props.height - The height of the image.\n * @returns An image element.\n * @example\n * <Image src=\"<svg>...</svg>\" alt=\"An example image\" />\n * @category Components\n */\nexport const Image = createSnapComponent<ImageProps, typeof TYPE>(TYPE);\n\n/**\n * An image element.\n *\n * @see {@link Image}\n * @category Elements\n */\nexport type ImageElement = ReturnType<typeof Image>;\n"]}
@@ -7,6 +7,7 @@ import type { BorderRadius } from "./utils.cjs";
7
7
  * the `data:` URL scheme to embed images inside the SVG.
8
8
  * @property alt - The alternative text of the image, which describes the image
9
9
  * for users who cannot see it.
10
+ * @category Component Props
10
11
  */
11
12
  type ImageProps = {
12
13
  src: string;
@@ -32,12 +33,14 @@ type ImageProps = {
32
33
  * @returns An image element.
33
34
  * @example
34
35
  * <Image src="<svg>...</svg>" alt="An example image" />
36
+ * @category Components
35
37
  */
36
38
  export declare const Image: import("../component.cjs").SnapComponent<ImageProps, "Image">;
37
39
  /**
38
40
  * An image element.
39
41
  *
40
- * @see Image
42
+ * @see {@link Image}
43
+ * @category Elements
41
44
  */
42
45
  export type ImageElement = ReturnType<typeof Image>;
43
46
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAgB;AAG5C;;;;;;;;GAQG;AACH,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAIF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,KAAK,2DAAqD,CAAC;AAExE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"Image.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAgB;AAG5C;;;;;;;;;GASG;AACH,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAIF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,KAAK,2DAAqD,CAAC;AAExE;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC"}
@@ -7,6 +7,7 @@ import type { BorderRadius } from "./utils.mjs";
7
7
  * the `data:` URL scheme to embed images inside the SVG.
8
8
  * @property alt - The alternative text of the image, which describes the image
9
9
  * for users who cannot see it.
10
+ * @category Component Props
10
11
  */
11
12
  type ImageProps = {
12
13
  src: string;
@@ -32,12 +33,14 @@ type ImageProps = {
32
33
  * @returns An image element.
33
34
  * @example
34
35
  * <Image src="<svg>...</svg>" alt="An example image" />
36
+ * @category Components
35
37
  */
36
38
  export declare const Image: import("../component.mjs").SnapComponent<ImageProps, "Image">;
37
39
  /**
38
40
  * An image element.
39
41
  *
40
- * @see Image
42
+ * @see {@link Image}
43
+ * @category Elements
41
44
  */
42
45
  export type ImageElement = ReturnType<typeof Image>;
43
46
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAgB;AAG5C;;;;;;;;GAQG;AACH,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAIF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,KAAK,2DAAqD,CAAC;AAExE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"Image.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAgB;AAG5C;;;;;;;;;GASG;AACH,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAIF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,KAAK,2DAAqD,CAAC;AAExE;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC"}
@@ -17,6 +17,7 @@ const TYPE = 'Image';
17
17
  * @returns An image element.
18
18
  * @example
19
19
  * <Image src="<svg>...</svg>" alt="An example image" />
20
+ * @category Components
20
21
  */
21
22
  export const Image = createSnapComponent(TYPE);
22
23
  //# sourceMappingURL=Image.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAmBnD,MAAM,IAAI,GAAG,OAAO,CAAC;AAErB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAA0B,IAAI,CAAC,CAAC","sourcesContent":["import type { BorderRadius } from './utils';\nimport { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Image} component.\n *\n * @property src - The SVG image to display. This should be an SVG string, and\n * other formats such as PNG and JPEG are not supported directly. You can use\n * the `data:` URL scheme to embed images inside the SVG.\n * @property alt - The alternative text of the image, which describes the image\n * for users who cannot see it.\n */\ntype ImageProps = {\n src: string;\n alt?: string | undefined;\n borderRadius?: BorderRadius | undefined;\n height?: number | undefined;\n width?: number | undefined;\n};\n\nconst TYPE = 'Image';\n\n/**\n * An image component, which is used to display an image.\n *\n * This component does not accept any children.\n *\n * @param props - The props of the component.\n * @param props.src - The URL of the image to display. This should be an SVG\n * string, and other formats such as PNG and JPEG are not supported directly.\n * You can use the `data:` URL scheme to embed images inside the SVG.\n * @param props.alt - The alternative text of the image, which describes the\n * image for users who cannot see it.\n * @param props.borderRadius - The border radius applied to the image.\n * @param props.width - The width of the image.\n * @param props.height - The height of the image.\n * @returns An image element.\n * @example\n * <Image src=\"<svg>...</svg>\" alt=\"An example image\" />\n */\nexport const Image = createSnapComponent<ImageProps, typeof TYPE>(TYPE);\n\n/**\n * An image element.\n *\n * @see Image\n */\nexport type ImageElement = ReturnType<typeof Image>;\n"]}
1
+ {"version":3,"file":"Image.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAoBnD,MAAM,IAAI,GAAG,OAAO,CAAC;AAErB;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAA0B,IAAI,CAAC,CAAC","sourcesContent":["import type { BorderRadius } from './utils';\nimport { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Image} component.\n *\n * @property src - The SVG image to display. This should be an SVG string, and\n * other formats such as PNG and JPEG are not supported directly. You can use\n * the `data:` URL scheme to embed images inside the SVG.\n * @property alt - The alternative text of the image, which describes the image\n * for users who cannot see it.\n * @category Component Props\n */\ntype ImageProps = {\n src: string;\n alt?: string | undefined;\n borderRadius?: BorderRadius | undefined;\n height?: number | undefined;\n width?: number | undefined;\n};\n\nconst TYPE = 'Image';\n\n/**\n * An image component, which is used to display an image.\n *\n * This component does not accept any children.\n *\n * @param props - The props of the component.\n * @param props.src - The URL of the image to display. This should be an SVG\n * string, and other formats such as PNG and JPEG are not supported directly.\n * You can use the `data:` URL scheme to embed images inside the SVG.\n * @param props.alt - The alternative text of the image, which describes the\n * image for users who cannot see it.\n * @param props.borderRadius - The border radius applied to the image.\n * @param props.width - The width of the image.\n * @param props.height - The height of the image.\n * @returns An image element.\n * @example\n * <Image src=\"<svg>...</svg>\" alt=\"An example image\" />\n * @category Components\n */\nexport const Image = createSnapComponent<ImageProps, typeof TYPE>(TYPE);\n\n/**\n * An image element.\n *\n * @see {@link Image}\n * @category Elements\n */\nexport type ImageElement = ReturnType<typeof Image>;\n"]}
@@ -13,6 +13,7 @@ const TYPE = 'Link';
13
13
  * @returns A link element.
14
14
  * @example
15
15
  * <Link href="https://example.com">Click here</Link>
16
+ * @category Components
16
17
  */
17
18
  exports.Link = (0, component_1.createSnapComponent)(TYPE);
18
19
  //# sourceMappingURL=Link.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":";;;AAIA,gDAAmD;AA0BnD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;GAUG;AACU,QAAA,IAAI,GAAG,IAAA,+BAAmB,EAAyB,IAAI,CAAC,CAAC","sourcesContent":["import type { AddressElement } from './Address';\nimport type { StandardFormattingElement } from './formatting';\nimport { type IconElement } from './Icon';\nimport { type ImageElement } from './Image';\nimport { createSnapComponent } from '../component';\nimport type { SnapsChildren } from '../component';\n\n/**\n * The children of the {@link Link} component.\n */\nexport type LinkChildren = SnapsChildren<\n | string\n | StandardFormattingElement\n | IconElement\n | ImageElement\n | AddressElement\n>;\n\n/**\n * The props of the {@link Link} component.\n *\n * @property children - The text to display in the link.\n * @property href - The URL to link to. This must be an `https` or `mailto` URL.\n * `http` is not allowed.\n */\nexport type LinkProps = {\n children: LinkChildren;\n href: string;\n};\n\nconst TYPE = 'Link';\n\n/**\n * A link component, which is used to display a hyperlink.\n *\n * @param props - The props of the component.\n * @param props.children - The text to display in the link.\n * @param props.href - The URL to link to. This must be an `https` or `mailto`\n * URL. `http` is not allowed.\n * @returns A link element.\n * @example\n * <Link href=\"https://example.com\">Click here</Link>\n */\nexport const Link = createSnapComponent<LinkProps, typeof TYPE>(TYPE);\n\n/**\n * A link element.\n *\n * @see Link\n */\nexport type LinkElement = ReturnType<typeof Link>;\n"]}
1
+ {"version":3,"file":"Link.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":";;;AAIA,gDAAmD;AA2BnD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;;GAWG;AACU,QAAA,IAAI,GAAG,IAAA,+BAAmB,EAAyB,IAAI,CAAC,CAAC","sourcesContent":["import type { AddressElement } from './Address';\nimport type { StandardFormattingElement } from './formatting';\nimport { type IconElement } from './Icon';\nimport { type ImageElement } from './Image';\nimport { createSnapComponent } from '../component';\nimport type { SnapsChildren } from '../component';\n\n/**\n * The children of the {@link Link} component.\n */\nexport type LinkChildren = SnapsChildren<\n | string\n | StandardFormattingElement\n | IconElement\n | ImageElement\n | AddressElement\n>;\n\n/**\n * The props of the {@link Link} component.\n *\n * @property children - The text to display in the link.\n * @property href - The URL to link to. This must be an `https` or `mailto` URL.\n * `http` is not allowed.\n * @category Component Props\n */\nexport type LinkProps = {\n children: LinkChildren;\n href: string;\n};\n\nconst TYPE = 'Link';\n\n/**\n * A link component, which is used to display a hyperlink.\n *\n * @param props - The props of the component.\n * @param props.children - The text to display in the link.\n * @param props.href - The URL to link to. This must be an `https` or `mailto`\n * URL. `http` is not allowed.\n * @returns A link element.\n * @example\n * <Link href=\"https://example.com\">Click here</Link>\n * @category Components\n */\nexport const Link = createSnapComponent<LinkProps, typeof TYPE>(TYPE);\n\n/**\n * A link element.\n *\n * @see {@link Link}\n * @category Elements\n */\nexport type LinkElement = ReturnType<typeof Link>;\n"]}
@@ -13,6 +13,7 @@ export type LinkChildren = SnapsChildren<string | StandardFormattingElement | Ic
13
13
  * @property children - The text to display in the link.
14
14
  * @property href - The URL to link to. This must be an `https` or `mailto` URL.
15
15
  * `http` is not allowed.
16
+ * @category Component Props
16
17
  */
17
18
  export type LinkProps = {
18
19
  children: LinkChildren;
@@ -28,12 +29,14 @@ export type LinkProps = {
28
29
  * @returns A link element.
29
30
  * @example
30
31
  * <Link href="https://example.com">Click here</Link>
32
+ * @category Components
31
33
  */
32
34
  export declare const Link: import("../component.cjs").SnapComponent<LinkProps, "Link">;
33
35
  /**
34
36
  * A link element.
35
37
  *
36
- * @see Link
38
+ * @see {@link Link}
39
+ * @category Elements
37
40
  */
38
41
  export type LinkElement = ReturnType<typeof Link>;
39
42
  //# sourceMappingURL=Link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAkB;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAAqB;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,mBAAe;AAC1C,OAAO,EAAE,KAAK,YAAY,EAAE,oBAAgB;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAqB;AAElD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,CACpC,MAAM,GACN,yBAAyB,GACzB,WAAW,GACX,YAAY,GACZ,cAAc,CACjB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"Link.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAkB;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAAqB;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,mBAAe;AAC1C,OAAO,EAAE,KAAK,YAAY,EAAE,oBAAgB;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAqB;AAElD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,CACpC,MAAM,GACN,yBAAyB,GACzB,WAAW,GACX,YAAY,GACZ,cAAc,CACjB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
@@ -13,6 +13,7 @@ export type LinkChildren = SnapsChildren<string | StandardFormattingElement | Ic
13
13
  * @property children - The text to display in the link.
14
14
  * @property href - The URL to link to. This must be an `https` or `mailto` URL.
15
15
  * `http` is not allowed.
16
+ * @category Component Props
16
17
  */
17
18
  export type LinkProps = {
18
19
  children: LinkChildren;
@@ -28,12 +29,14 @@ export type LinkProps = {
28
29
  * @returns A link element.
29
30
  * @example
30
31
  * <Link href="https://example.com">Click here</Link>
32
+ * @category Components
31
33
  */
32
34
  export declare const Link: import("../component.mjs").SnapComponent<LinkProps, "Link">;
33
35
  /**
34
36
  * A link element.
35
37
  *
36
- * @see Link
38
+ * @see {@link Link}
39
+ * @category Elements
37
40
  */
38
41
  export type LinkElement = ReturnType<typeof Link>;
39
42
  //# sourceMappingURL=Link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAkB;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAAqB;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,mBAAe;AAC1C,OAAO,EAAE,KAAK,YAAY,EAAE,oBAAgB;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAqB;AAElD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,CACpC,MAAM,GACN,yBAAyB,GACzB,WAAW,GACX,YAAY,GACZ,cAAc,CACjB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"Link.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAkB;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAAqB;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,mBAAe;AAC1C,OAAO,EAAE,KAAK,YAAY,EAAE,oBAAgB;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAqB;AAElD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,CACpC,MAAM,GACN,yBAAyB,GACzB,WAAW,GACX,YAAY,GACZ,cAAc,CACjB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
@@ -10,6 +10,7 @@ const TYPE = 'Link';
10
10
  * @returns A link element.
11
11
  * @example
12
12
  * <Link href="https://example.com">Click here</Link>
13
+ * @category Components
13
14
  */
14
15
  export const Link = createSnapComponent(TYPE);
15
16
  //# sourceMappingURL=Link.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AA0BnD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAyB,IAAI,CAAC,CAAC","sourcesContent":["import type { AddressElement } from './Address';\nimport type { StandardFormattingElement } from './formatting';\nimport { type IconElement } from './Icon';\nimport { type ImageElement } from './Image';\nimport { createSnapComponent } from '../component';\nimport type { SnapsChildren } from '../component';\n\n/**\n * The children of the {@link Link} component.\n */\nexport type LinkChildren = SnapsChildren<\n | string\n | StandardFormattingElement\n | IconElement\n | ImageElement\n | AddressElement\n>;\n\n/**\n * The props of the {@link Link} component.\n *\n * @property children - The text to display in the link.\n * @property href - The URL to link to. This must be an `https` or `mailto` URL.\n * `http` is not allowed.\n */\nexport type LinkProps = {\n children: LinkChildren;\n href: string;\n};\n\nconst TYPE = 'Link';\n\n/**\n * A link component, which is used to display a hyperlink.\n *\n * @param props - The props of the component.\n * @param props.children - The text to display in the link.\n * @param props.href - The URL to link to. This must be an `https` or `mailto`\n * URL. `http` is not allowed.\n * @returns A link element.\n * @example\n * <Link href=\"https://example.com\">Click here</Link>\n */\nexport const Link = createSnapComponent<LinkProps, typeof TYPE>(TYPE);\n\n/**\n * A link element.\n *\n * @see Link\n */\nexport type LinkElement = ReturnType<typeof Link>;\n"]}
1
+ {"version":3,"file":"Link.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AA2BnD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAyB,IAAI,CAAC,CAAC","sourcesContent":["import type { AddressElement } from './Address';\nimport type { StandardFormattingElement } from './formatting';\nimport { type IconElement } from './Icon';\nimport { type ImageElement } from './Image';\nimport { createSnapComponent } from '../component';\nimport type { SnapsChildren } from '../component';\n\n/**\n * The children of the {@link Link} component.\n */\nexport type LinkChildren = SnapsChildren<\n | string\n | StandardFormattingElement\n | IconElement\n | ImageElement\n | AddressElement\n>;\n\n/**\n * The props of the {@link Link} component.\n *\n * @property children - The text to display in the link.\n * @property href - The URL to link to. This must be an `https` or `mailto` URL.\n * `http` is not allowed.\n * @category Component Props\n */\nexport type LinkProps = {\n children: LinkChildren;\n href: string;\n};\n\nconst TYPE = 'Link';\n\n/**\n * A link component, which is used to display a hyperlink.\n *\n * @param props - The props of the component.\n * @param props.children - The text to display in the link.\n * @param props.href - The URL to link to. This must be an `https` or `mailto`\n * URL. `http` is not allowed.\n * @returns A link element.\n * @example\n * <Link href=\"https://example.com\">Click here</Link>\n * @category Components\n */\nexport const Link = createSnapComponent<LinkProps, typeof TYPE>(TYPE);\n\n/**\n * A link element.\n *\n * @see {@link Link}\n * @category Elements\n */\nexport type LinkElement = ReturnType<typeof Link>;\n"]}
@@ -17,6 +17,7 @@ const TYPE = 'Row';
17
17
  * <Row label="From" variant="warning" tooltip="This address has been deemed dangerous.">
18
18
  * <Address address="0x1234567890123456789012345678901234567890" />
19
19
  * </Row>
20
+ * @category Components
20
21
  */
21
22
  exports.Row = (0, component_1.createSnapComponent)(TYPE);
22
23
  //# sourceMappingURL=Row.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Row.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAsBnD,MAAM,IAAI,GAAG,KAAK,CAAC;AAEnB;;;;;;;;;;;;;;GAcG;AACU,QAAA,GAAG,GAAG,IAAA,+BAAmB,EAAwB,IAAI,CAAC,CAAC","sourcesContent":["import type { GenericSnapElement } from '../component';\nimport { createSnapComponent } from '../component';\n\n/**\n * The children of a {@link Row} component.\n */\nexport type RowChildren = GenericSnapElement;\n\n/**\n * The props of the {@link Row} component.\n *\n * @property label - The label of the row.\n * @property children - The content of the row. This can be any component.\n * @property variant - The variant of the row.\n * @property tooltip - An optional tooltip to show for the row.\n */\nexport type RowProps = {\n label: string;\n children: RowChildren;\n variant?: 'default' | 'warning' | 'critical' | undefined;\n tooltip?: string | undefined;\n};\n\nconst TYPE = 'Row';\n\n/**\n * A row component, which is used to display a row of information.\n *\n * @param props - The props of the component.\n * @param props.label - The label of the row.\n * @param props.children - The content of the row. This can be an address, an\n * image, or text.\n * @param props.variant - The variant of the row.\n * @param props.tooltip - An optional tooltip to show for the row.\n * @returns A row element.\n * @example\n * <Row label=\"From\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n */\nexport const Row = createSnapComponent<RowProps, typeof TYPE>(TYPE);\n\n/**\n * A row element.\n *\n * @see Row\n */\nexport type RowElement = ReturnType<typeof Row>;\n"]}
1
+ {"version":3,"file":"Row.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAuBnD,MAAM,IAAI,GAAG,KAAK,CAAC;AAEnB;;;;;;;;;;;;;;;GAeG;AACU,QAAA,GAAG,GAAG,IAAA,+BAAmB,EAAwB,IAAI,CAAC,CAAC","sourcesContent":["import type { GenericSnapElement } from '../component';\nimport { createSnapComponent } from '../component';\n\n/**\n * The children of a {@link Row} component.\n */\nexport type RowChildren = GenericSnapElement;\n\n/**\n * The props of the {@link Row} component.\n *\n * @property label - The label of the row.\n * @property children - The content of the row. This can be any component.\n * @property variant - The variant of the row.\n * @property tooltip - An optional tooltip to show for the row.\n * @category Component Props\n */\nexport type RowProps = {\n label: string;\n children: RowChildren;\n variant?: 'default' | 'warning' | 'critical' | undefined;\n tooltip?: string | undefined;\n};\n\nconst TYPE = 'Row';\n\n/**\n * A row component, which is used to display a row of information.\n *\n * @param props - The props of the component.\n * @param props.label - The label of the row.\n * @param props.children - The content of the row. This can be an address, an\n * image, or text.\n * @param props.variant - The variant of the row.\n * @param props.tooltip - An optional tooltip to show for the row.\n * @returns A row element.\n * @example\n * <Row label=\"From\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n * @category Components\n */\nexport const Row = createSnapComponent<RowProps, typeof TYPE>(TYPE);\n\n/**\n * A row element.\n *\n * @see {@link Row}\n * @category Elements\n */\nexport type RowElement = ReturnType<typeof Row>;\n"]}
@@ -10,6 +10,7 @@ export type RowChildren = GenericSnapElement;
10
10
  * @property children - The content of the row. This can be any component.
11
11
  * @property variant - The variant of the row.
12
12
  * @property tooltip - An optional tooltip to show for the row.
13
+ * @category Component Props
13
14
  */
14
15
  export type RowProps = {
15
16
  label: string;
@@ -31,12 +32,14 @@ export type RowProps = {
31
32
  * <Row label="From" variant="warning" tooltip="This address has been deemed dangerous.">
32
33
  * <Address address="0x1234567890123456789012345678901234567890" />
33
34
  * </Row>
35
+ * @category Components
34
36
  */
35
37
  export declare const Row: import("../component.cjs").SnapComponent<RowProps, "Row">;
36
38
  /**
37
39
  * A row element.
38
40
  *
39
- * @see Row
41
+ * @see {@link Row}
42
+ * @category Elements
40
43
  */
41
44
  export type RowElement = ReturnType<typeof Row>;
42
45
  //# sourceMappingURL=Row.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Row.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,yBAAqB;AAGvD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAIF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,GAAG,uDAAmD,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"Row.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,yBAAqB;AAGvD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAIF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,GAAG,uDAAmD,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC"}
@@ -10,6 +10,7 @@ export type RowChildren = GenericSnapElement;
10
10
  * @property children - The content of the row. This can be any component.
11
11
  * @property variant - The variant of the row.
12
12
  * @property tooltip - An optional tooltip to show for the row.
13
+ * @category Component Props
13
14
  */
14
15
  export type RowProps = {
15
16
  label: string;
@@ -31,12 +32,14 @@ export type RowProps = {
31
32
  * <Row label="From" variant="warning" tooltip="This address has been deemed dangerous.">
32
33
  * <Address address="0x1234567890123456789012345678901234567890" />
33
34
  * </Row>
35
+ * @category Components
34
36
  */
35
37
  export declare const Row: import("../component.mjs").SnapComponent<RowProps, "Row">;
36
38
  /**
37
39
  * A row element.
38
40
  *
39
- * @see Row
41
+ * @see {@link Row}
42
+ * @category Elements
40
43
  */
41
44
  export type RowElement = ReturnType<typeof Row>;
42
45
  //# sourceMappingURL=Row.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Row.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,yBAAqB;AAGvD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAIF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,GAAG,uDAAmD,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"Row.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,yBAAqB;AAGvD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAIF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,GAAG,uDAAmD,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC"}
@@ -14,6 +14,7 @@ const TYPE = 'Row';
14
14
  * <Row label="From" variant="warning" tooltip="This address has been deemed dangerous.">
15
15
  * <Address address="0x1234567890123456789012345678901234567890" />
16
16
  * </Row>
17
+ * @category Components
17
18
  */
18
19
  export const Row = createSnapComponent(TYPE);
19
20
  //# sourceMappingURL=Row.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Row.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAsBnD,MAAM,IAAI,GAAG,KAAK,CAAC;AAEnB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,mBAAmB,CAAwB,IAAI,CAAC,CAAC","sourcesContent":["import type { GenericSnapElement } from '../component';\nimport { createSnapComponent } from '../component';\n\n/**\n * The children of a {@link Row} component.\n */\nexport type RowChildren = GenericSnapElement;\n\n/**\n * The props of the {@link Row} component.\n *\n * @property label - The label of the row.\n * @property children - The content of the row. This can be any component.\n * @property variant - The variant of the row.\n * @property tooltip - An optional tooltip to show for the row.\n */\nexport type RowProps = {\n label: string;\n children: RowChildren;\n variant?: 'default' | 'warning' | 'critical' | undefined;\n tooltip?: string | undefined;\n};\n\nconst TYPE = 'Row';\n\n/**\n * A row component, which is used to display a row of information.\n *\n * @param props - The props of the component.\n * @param props.label - The label of the row.\n * @param props.children - The content of the row. This can be an address, an\n * image, or text.\n * @param props.variant - The variant of the row.\n * @param props.tooltip - An optional tooltip to show for the row.\n * @returns A row element.\n * @example\n * <Row label=\"From\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n */\nexport const Row = createSnapComponent<RowProps, typeof TYPE>(TYPE);\n\n/**\n * A row element.\n *\n * @see Row\n */\nexport type RowElement = ReturnType<typeof Row>;\n"]}
1
+ {"version":3,"file":"Row.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAuBnD,MAAM,IAAI,GAAG,KAAK,CAAC;AAEnB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,mBAAmB,CAAwB,IAAI,CAAC,CAAC","sourcesContent":["import type { GenericSnapElement } from '../component';\nimport { createSnapComponent } from '../component';\n\n/**\n * The children of a {@link Row} component.\n */\nexport type RowChildren = GenericSnapElement;\n\n/**\n * The props of the {@link Row} component.\n *\n * @property label - The label of the row.\n * @property children - The content of the row. This can be any component.\n * @property variant - The variant of the row.\n * @property tooltip - An optional tooltip to show for the row.\n * @category Component Props\n */\nexport type RowProps = {\n label: string;\n children: RowChildren;\n variant?: 'default' | 'warning' | 'critical' | undefined;\n tooltip?: string | undefined;\n};\n\nconst TYPE = 'Row';\n\n/**\n * A row component, which is used to display a row of information.\n *\n * @param props - The props of the component.\n * @param props.label - The label of the row.\n * @param props.children - The content of the row. This can be an address, an\n * image, or text.\n * @param props.variant - The variant of the row.\n * @param props.tooltip - An optional tooltip to show for the row.\n * @returns A row element.\n * @example\n * <Row label=\"From\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n * @category Components\n */\nexport const Row = createSnapComponent<RowProps, typeof TYPE>(TYPE);\n\n/**\n * A row element.\n *\n * @see {@link Row}\n * @category Elements\n */\nexport type RowElement = ReturnType<typeof Row>;\n"]}
@@ -21,6 +21,7 @@ const TYPE = 'Section';
21
21
  * <Address address="0x0000000000000000000000000000000000000000" />
22
22
  * </Row>
23
23
  * </Section>
24
+ * @category Components
24
25
  */
25
26
  exports.Section = (0, component_1.createSnapComponent)(TYPE);
26
27
  //# sourceMappingURL=Section.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Section.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAoBnD,MAAM,IAAI,GAAG,SAAS,CAAC;AAEvB;;;;;;;;;;;;;;;;;;GAkBG;AACU,QAAA,OAAO,GAAG,IAAA,+BAAmB,EAA4B,IAAI,CAAC,CAAC","sourcesContent":["import type { GenericSnapElement, SnapsChildren } from '../component';\nimport { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Section} component.\n *\n * @property children - The children of the section.\n */\nexport type SectionProps = {\n // We can't use `JSXElement` because it causes a circular reference.\n children: SnapsChildren<GenericSnapElement>;\n direction?: 'vertical' | 'horizontal' | undefined;\n alignment?:\n | 'start'\n | 'center'\n | 'end'\n | 'space-between'\n | 'space-around'\n | undefined;\n};\n\nconst TYPE = 'Section';\n\n/**\n * A section component, which is used to group multiple components together.\n * The component itself is 16px padded with a default background and a border radius of 8px.\n *\n * @param props - The props of the component.\n * @param props.children - The children of the section.\n * @param props.direction - The direction that the children are aligned.\n * @param props.alignment - The alignment of the children (a justify-content value).\n * @returns A section element.\n * @example\n * <Section>\n * <Row label=\"From\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n * <Row label=\"To\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x0000000000000000000000000000000000000000\" />\n * </Row>\n * </Section>\n */\nexport const Section = createSnapComponent<SectionProps, typeof TYPE>(TYPE);\n\n/**\n * A section element.\n *\n * @see Section\n */\nexport type SectionElement = ReturnType<typeof Section>;\n"]}
1
+ {"version":3,"file":"Section.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Section.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAqBnD,MAAM,IAAI,GAAG,SAAS,CAAC;AAEvB;;;;;;;;;;;;;;;;;;;GAmBG;AACU,QAAA,OAAO,GAAG,IAAA,+BAAmB,EAA4B,IAAI,CAAC,CAAC","sourcesContent":["import type { GenericSnapElement, SnapsChildren } from '../component';\nimport { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Section} component.\n *\n * @property children - The children of the section.\n * @category Component Props\n */\nexport type SectionProps = {\n // We can't use `JSXElement` because it causes a circular reference.\n children: SnapsChildren<GenericSnapElement>;\n direction?: 'vertical' | 'horizontal' | undefined;\n alignment?:\n | 'start'\n | 'center'\n | 'end'\n | 'space-between'\n | 'space-around'\n | undefined;\n};\n\nconst TYPE = 'Section';\n\n/**\n * A section component, which is used to group multiple components together.\n * The component itself is 16px padded with a default background and a border radius of 8px.\n *\n * @param props - The props of the component.\n * @param props.children - The children of the section.\n * @param props.direction - The direction that the children are aligned.\n * @param props.alignment - The alignment of the children (a justify-content value).\n * @returns A section element.\n * @example\n * <Section>\n * <Row label=\"From\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n * <Row label=\"To\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x0000000000000000000000000000000000000000\" />\n * </Row>\n * </Section>\n * @category Components\n */\nexport const Section = createSnapComponent<SectionProps, typeof TYPE>(TYPE);\n\n/**\n * A section element.\n *\n * @see {@link Section}\n * @category Elements\n */\nexport type SectionElement = ReturnType<typeof Section>;\n"]}
@@ -3,6 +3,7 @@ import type { GenericSnapElement, SnapsChildren } from "../component.cjs";
3
3
  * The props of the {@link Section} component.
4
4
  *
5
5
  * @property children - The children of the section.
6
+ * @category Component Props
6
7
  */
7
8
  export type SectionProps = {
8
9
  children: SnapsChildren<GenericSnapElement>;
@@ -27,12 +28,14 @@ export type SectionProps = {
27
28
  * <Address address="0x0000000000000000000000000000000000000000" />
28
29
  * </Row>
29
30
  * </Section>
31
+ * @category Components
30
32
  */
31
33
  export declare const Section: import("../component.cjs").SnapComponent<SectionProps, "Section">;
32
34
  /**
33
35
  * A section element.
34
36
  *
35
- * @see Section
37
+ * @see {@link Section}
38
+ * @category Elements
36
39
  */
37
40
  export type SectionElement = ReturnType<typeof Section>;
38
41
  //# sourceMappingURL=Section.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Section.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,yBAAqB;AAGtE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IAEzB,QAAQ,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,EACN,OAAO,GACP,QAAQ,GACR,KAAK,GACL,eAAe,GACf,cAAc,GACd,SAAS,CAAC;CACf,CAAC;AAIF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,OAAO,+DAAuD,CAAC;AAE5E;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"Section.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Section.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,yBAAqB;AAGtE;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG;IAEzB,QAAQ,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,EACN,OAAO,GACP,QAAQ,GACR,KAAK,GACL,eAAe,GACf,cAAc,GACd,SAAS,CAAC;CACf,CAAC;AAIF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,OAAO,+DAAuD,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC"}