@metamask-previews/design-system-react-native 0.22.0-preview.f515a62 → 0.26.0-preview.047f96c

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 (783) hide show
  1. package/CHANGELOG.md +65 -1
  2. package/dist/components/ActionListItem/ActionListItem.cjs +1 -1
  3. package/dist/components/ActionListItem/ActionListItem.cjs.map +1 -1
  4. package/dist/components/ActionListItem/ActionListItem.mjs +1 -1
  5. package/dist/components/ActionListItem/ActionListItem.mjs.map +1 -1
  6. package/dist/components/ActionListItem/ActionListItem.types.d.cts +1 -1
  7. package/dist/components/ActionListItem/ActionListItem.types.d.cts.map +1 -1
  8. package/dist/components/ActionListItem/ActionListItem.types.d.mts +1 -1
  9. package/dist/components/ActionListItem/ActionListItem.types.d.mts.map +1 -1
  10. package/dist/components/AvatarBase/AvatarBase.cjs +1 -1
  11. package/dist/components/AvatarBase/AvatarBase.cjs.map +1 -1
  12. package/dist/components/AvatarBase/AvatarBase.mjs +1 -1
  13. package/dist/components/AvatarBase/AvatarBase.mjs.map +1 -1
  14. package/dist/components/AvatarBase/AvatarBase.types.d.cts +1 -1
  15. package/dist/components/AvatarBase/AvatarBase.types.d.cts.map +1 -1
  16. package/dist/components/AvatarBase/AvatarBase.types.d.mts +1 -1
  17. package/dist/components/AvatarBase/AvatarBase.types.d.mts.map +1 -1
  18. package/dist/components/AvatarGroup/AvatarGroup.cjs +12 -13
  19. package/dist/components/AvatarGroup/AvatarGroup.cjs.map +1 -1
  20. package/dist/components/AvatarGroup/AvatarGroup.constants.cjs +11 -12
  21. package/dist/components/AvatarGroup/AvatarGroup.constants.cjs.map +1 -1
  22. package/dist/components/AvatarGroup/AvatarGroup.constants.d.cts +1 -2
  23. package/dist/components/AvatarGroup/AvatarGroup.constants.d.cts.map +1 -1
  24. package/dist/components/AvatarGroup/AvatarGroup.constants.d.mts +1 -2
  25. package/dist/components/AvatarGroup/AvatarGroup.constants.d.mts.map +1 -1
  26. package/dist/components/AvatarGroup/AvatarGroup.constants.mjs +1 -2
  27. package/dist/components/AvatarGroup/AvatarGroup.constants.mjs.map +1 -1
  28. package/dist/components/AvatarGroup/AvatarGroup.d.cts.map +1 -1
  29. package/dist/components/AvatarGroup/AvatarGroup.d.mts.map +1 -1
  30. package/dist/components/AvatarGroup/AvatarGroup.mjs +3 -4
  31. package/dist/components/AvatarGroup/AvatarGroup.mjs.map +1 -1
  32. package/dist/components/AvatarGroup/AvatarGroup.types.cjs.map +1 -1
  33. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts +8 -25
  34. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts.map +1 -1
  35. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts +8 -25
  36. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts.map +1 -1
  37. package/dist/components/AvatarGroup/AvatarGroup.types.mjs.map +1 -1
  38. package/dist/components/AvatarGroup/index.cjs +3 -3
  39. package/dist/components/AvatarGroup/index.cjs.map +1 -1
  40. package/dist/components/AvatarGroup/index.d.cts +1 -1
  41. package/dist/components/AvatarGroup/index.d.cts.map +1 -1
  42. package/dist/components/AvatarGroup/index.d.mts +1 -1
  43. package/dist/components/AvatarGroup/index.d.mts.map +1 -1
  44. package/dist/components/AvatarGroup/index.mjs +1 -1
  45. package/dist/components/AvatarGroup/index.mjs.map +1 -1
  46. package/dist/components/AvatarIcon/AvatarIcon.cjs +1 -2
  47. package/dist/components/AvatarIcon/AvatarIcon.cjs.map +1 -1
  48. package/dist/components/AvatarIcon/AvatarIcon.constants.cjs +10 -11
  49. package/dist/components/AvatarIcon/AvatarIcon.constants.cjs.map +1 -1
  50. package/dist/components/AvatarIcon/AvatarIcon.constants.d.cts +1 -2
  51. package/dist/components/AvatarIcon/AvatarIcon.constants.d.cts.map +1 -1
  52. package/dist/components/AvatarIcon/AvatarIcon.constants.d.mts +1 -2
  53. package/dist/components/AvatarIcon/AvatarIcon.constants.d.mts.map +1 -1
  54. package/dist/components/AvatarIcon/AvatarIcon.constants.mjs +1 -2
  55. package/dist/components/AvatarIcon/AvatarIcon.constants.mjs.map +1 -1
  56. package/dist/components/AvatarIcon/AvatarIcon.d.cts.map +1 -1
  57. package/dist/components/AvatarIcon/AvatarIcon.d.mts.map +1 -1
  58. package/dist/components/AvatarIcon/AvatarIcon.mjs +1 -2
  59. package/dist/components/AvatarIcon/AvatarIcon.mjs.map +1 -1
  60. package/dist/components/BadgeCount/BadgeCount.cjs +1 -1
  61. package/dist/components/BadgeCount/BadgeCount.cjs.map +1 -1
  62. package/dist/components/BadgeCount/BadgeCount.mjs +1 -1
  63. package/dist/components/BadgeCount/BadgeCount.mjs.map +1 -1
  64. package/dist/components/BadgeCount/BadgeCount.types.d.cts +1 -1
  65. package/dist/components/BadgeCount/BadgeCount.types.d.cts.map +1 -1
  66. package/dist/components/BadgeCount/BadgeCount.types.d.mts +1 -1
  67. package/dist/components/BadgeCount/BadgeCount.types.d.mts.map +1 -1
  68. package/dist/components/BadgeIcon/BadgeIcon.cjs +1 -1
  69. package/dist/components/BadgeIcon/BadgeIcon.cjs.map +1 -1
  70. package/dist/components/BadgeIcon/BadgeIcon.mjs +1 -1
  71. package/dist/components/BadgeIcon/BadgeIcon.mjs.map +1 -1
  72. package/dist/components/BadgeIcon/BadgeIcon.types.d.cts +1 -1
  73. package/dist/components/BadgeIcon/BadgeIcon.types.d.cts.map +1 -1
  74. package/dist/components/BadgeIcon/BadgeIcon.types.d.mts +1 -1
  75. package/dist/components/BadgeIcon/BadgeIcon.types.d.mts.map +1 -1
  76. package/dist/components/BadgeStatus/BadgeStatus.cjs +1 -1
  77. package/dist/components/BadgeStatus/BadgeStatus.cjs.map +1 -1
  78. package/dist/components/BadgeStatus/BadgeStatus.mjs +1 -1
  79. package/dist/components/BadgeStatus/BadgeStatus.mjs.map +1 -1
  80. package/dist/components/BadgeStatus/BadgeStatus.types.d.cts +1 -1
  81. package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
  82. package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +1 -1
  83. package/dist/components/BadgeStatus/BadgeStatus.types.d.mts.map +1 -1
  84. package/dist/components/BadgeWrapper/BadgeWrapper.cjs +1 -1
  85. package/dist/components/BadgeWrapper/BadgeWrapper.cjs.map +1 -1
  86. package/dist/components/BadgeWrapper/BadgeWrapper.mjs +1 -1
  87. package/dist/components/BadgeWrapper/BadgeWrapper.mjs.map +1 -1
  88. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.cts +1 -1
  89. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.cts.map +1 -1
  90. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.mts +1 -1
  91. package/dist/components/BadgeWrapper/BadgeWrapper.types.d.mts.map +1 -1
  92. package/dist/components/BannerAlert/BannerAlert.cjs +1 -2
  93. package/dist/components/BannerAlert/BannerAlert.cjs.map +1 -1
  94. package/dist/components/BannerAlert/BannerAlert.constants.cjs +8 -9
  95. package/dist/components/BannerAlert/BannerAlert.constants.cjs.map +1 -1
  96. package/dist/components/BannerAlert/BannerAlert.constants.d.cts +1 -2
  97. package/dist/components/BannerAlert/BannerAlert.constants.d.cts.map +1 -1
  98. package/dist/components/BannerAlert/BannerAlert.constants.d.mts +1 -2
  99. package/dist/components/BannerAlert/BannerAlert.constants.d.mts.map +1 -1
  100. package/dist/components/BannerAlert/BannerAlert.constants.mjs +1 -2
  101. package/dist/components/BannerAlert/BannerAlert.constants.mjs.map +1 -1
  102. package/dist/components/BannerAlert/BannerAlert.d.cts.map +1 -1
  103. package/dist/components/BannerAlert/BannerAlert.d.mts.map +1 -1
  104. package/dist/components/BannerAlert/BannerAlert.mjs +1 -2
  105. package/dist/components/BannerAlert/BannerAlert.mjs.map +1 -1
  106. package/dist/components/BannerBase/BannerBase.cjs +3 -12
  107. package/dist/components/BannerBase/BannerBase.cjs.map +1 -1
  108. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -1
  109. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -1
  110. package/dist/components/BannerBase/BannerBase.mjs +3 -12
  111. package/dist/components/BannerBase/BannerBase.mjs.map +1 -1
  112. package/dist/components/BannerBase/BannerBase.types.cjs.map +1 -1
  113. package/dist/components/BannerBase/BannerBase.types.d.cts +3 -8
  114. package/dist/components/BannerBase/BannerBase.types.d.cts.map +1 -1
  115. package/dist/components/BannerBase/BannerBase.types.d.mts +3 -8
  116. package/dist/components/BannerBase/BannerBase.types.d.mts.map +1 -1
  117. package/dist/components/BannerBase/BannerBase.types.mjs.map +1 -1
  118. package/dist/components/BottomSheet/BottomSheet.cjs +6 -6
  119. package/dist/components/BottomSheet/BottomSheet.cjs.map +1 -1
  120. package/dist/components/BottomSheet/BottomSheet.d.cts +0 -35
  121. package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -1
  122. package/dist/components/BottomSheet/BottomSheet.d.mts +0 -35
  123. package/dist/components/BottomSheet/BottomSheet.d.mts.map +1 -1
  124. package/dist/components/BottomSheet/BottomSheet.mjs +6 -6
  125. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -1
  126. package/dist/components/BottomSheetDialog/BottomSheetDialog.cjs +28 -17
  127. package/dist/components/BottomSheetDialog/BottomSheetDialog.cjs.map +1 -1
  128. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.cts +0 -35
  129. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.cts.map +1 -1
  130. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.mts +0 -35
  131. package/dist/components/BottomSheetDialog/BottomSheetDialog.d.mts.map +1 -1
  132. package/dist/components/BottomSheetDialog/BottomSheetDialog.mjs +30 -19
  133. package/dist/components/BottomSheetDialog/BottomSheetDialog.mjs.map +1 -1
  134. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.cjs.map +1 -1
  135. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.cts +1 -9
  136. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.cts.map +1 -1
  137. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.mts +1 -9
  138. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.d.mts.map +1 -1
  139. package/dist/components/BottomSheetDialog/BottomSheetDialog.types.mjs.map +1 -1
  140. package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs +1 -1
  141. package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs.map +1 -1
  142. package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs +1 -1
  143. package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs.map +1 -1
  144. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.cts +1 -1
  145. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.cts.map +1 -1
  146. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.mts +1 -1
  147. package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.mts.map +1 -1
  148. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.cjs +1 -1
  149. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.cjs.map +1 -1
  150. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.mjs +1 -1
  151. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.mjs.map +1 -1
  152. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.cts +1 -1
  153. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.cts.map +1 -1
  154. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.mts +1 -1
  155. package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.mts.map +1 -1
  156. package/dist/components/Box/Box.cjs +1 -1
  157. package/dist/components/Box/Box.cjs.map +1 -1
  158. package/dist/components/Box/Box.d.cts +1 -1
  159. package/dist/components/Box/Box.d.cts.map +1 -1
  160. package/dist/components/Box/Box.d.mts +1 -1
  161. package/dist/components/Box/Box.d.mts.map +1 -1
  162. package/dist/components/Box/Box.mjs +1 -1
  163. package/dist/components/Box/Box.mjs.map +1 -1
  164. package/dist/components/Box/Box.types.d.cts +1 -1
  165. package/dist/components/Box/Box.types.d.cts.map +1 -1
  166. package/dist/components/Box/Box.types.d.mts +1 -1
  167. package/dist/components/Box/Box.types.d.mts.map +1 -1
  168. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.cjs +1 -17
  169. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.cjs.map +1 -1
  170. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.cts.map +1 -1
  171. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.mts.map +1 -1
  172. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.mjs +1 -17
  173. package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.mjs.map +1 -1
  174. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.cjs +1 -17
  175. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.cjs.map +1 -1
  176. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.cts.map +1 -1
  177. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.mts.map +1 -1
  178. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.mjs +1 -17
  179. package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.mjs.map +1 -1
  180. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.cjs +1 -17
  181. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.cjs.map +1 -1
  182. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.cts.map +1 -1
  183. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.mts.map +1 -1
  184. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.mjs +1 -17
  185. package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.mjs.map +1 -1
  186. package/dist/components/ButtonBase/ButtonBase.cjs +42 -28
  187. package/dist/components/ButtonBase/ButtonBase.cjs.map +1 -1
  188. package/dist/components/ButtonBase/ButtonBase.constants.cjs +31 -1
  189. package/dist/components/ButtonBase/ButtonBase.constants.cjs.map +1 -1
  190. package/dist/components/ButtonBase/ButtonBase.constants.d.cts +6 -1
  191. package/dist/components/ButtonBase/ButtonBase.constants.d.cts.map +1 -1
  192. package/dist/components/ButtonBase/ButtonBase.constants.d.mts +6 -1
  193. package/dist/components/ButtonBase/ButtonBase.constants.d.mts.map +1 -1
  194. package/dist/components/ButtonBase/ButtonBase.constants.mjs +29 -1
  195. package/dist/components/ButtonBase/ButtonBase.constants.mjs.map +1 -1
  196. package/dist/components/ButtonBase/ButtonBase.d.cts +1 -1
  197. package/dist/components/ButtonBase/ButtonBase.d.cts.map +1 -1
  198. package/dist/components/ButtonBase/ButtonBase.d.mts +1 -1
  199. package/dist/components/ButtonBase/ButtonBase.d.mts.map +1 -1
  200. package/dist/components/ButtonBase/ButtonBase.mjs +45 -31
  201. package/dist/components/ButtonBase/ButtonBase.mjs.map +1 -1
  202. package/dist/components/ButtonBase/ButtonBase.types.cjs.map +1 -1
  203. package/dist/components/ButtonBase/ButtonBase.types.d.cts +13 -2
  204. package/dist/components/ButtonBase/ButtonBase.types.d.cts.map +1 -1
  205. package/dist/components/ButtonBase/ButtonBase.types.d.mts +13 -2
  206. package/dist/components/ButtonBase/ButtonBase.types.d.mts.map +1 -1
  207. package/dist/components/ButtonBase/ButtonBase.types.mjs.map +1 -1
  208. package/dist/components/ButtonIcon/ButtonIcon.types.d.cts +1 -1
  209. package/dist/components/ButtonIcon/ButtonIcon.types.d.cts.map +1 -1
  210. package/dist/components/ButtonIcon/ButtonIcon.types.d.mts +1 -1
  211. package/dist/components/ButtonIcon/ButtonIcon.types.d.mts.map +1 -1
  212. package/dist/components/ButtonSemantic/ButtonSemantic.cjs +1 -17
  213. package/dist/components/ButtonSemantic/ButtonSemantic.cjs.map +1 -1
  214. package/dist/components/ButtonSemantic/ButtonSemantic.d.cts.map +1 -1
  215. package/dist/components/ButtonSemantic/ButtonSemantic.d.mts.map +1 -1
  216. package/dist/components/ButtonSemantic/ButtonSemantic.mjs +1 -17
  217. package/dist/components/ButtonSemantic/ButtonSemantic.mjs.map +1 -1
  218. package/dist/components/Card/Card.cjs +2 -2
  219. package/dist/components/Card/Card.cjs.map +1 -1
  220. package/dist/components/Card/Card.mjs +2 -2
  221. package/dist/components/Card/Card.mjs.map +1 -1
  222. package/dist/components/Card/Card.types.cjs.map +1 -1
  223. package/dist/components/Card/Card.types.d.cts +2 -2
  224. package/dist/components/Card/Card.types.d.cts.map +1 -1
  225. package/dist/components/Card/Card.types.d.mts +2 -2
  226. package/dist/components/Card/Card.types.d.mts.map +1 -1
  227. package/dist/components/Card/Card.types.mjs.map +1 -1
  228. package/dist/components/Checkbox/Checkbox.cjs +1 -1
  229. package/dist/components/Checkbox/Checkbox.cjs.map +1 -1
  230. package/dist/components/Checkbox/Checkbox.d.cts +1 -1
  231. package/dist/components/Checkbox/Checkbox.d.cts.map +1 -1
  232. package/dist/components/Checkbox/Checkbox.d.mts +1 -1
  233. package/dist/components/Checkbox/Checkbox.d.mts.map +1 -1
  234. package/dist/components/Checkbox/Checkbox.mjs +1 -1
  235. package/dist/components/Checkbox/Checkbox.mjs.map +1 -1
  236. package/dist/components/Checkbox/Checkbox.types.d.cts +1 -1
  237. package/dist/components/Checkbox/Checkbox.types.d.cts.map +1 -1
  238. package/dist/components/Checkbox/Checkbox.types.d.mts +1 -1
  239. package/dist/components/Checkbox/Checkbox.types.d.mts.map +1 -1
  240. package/dist/components/HeaderBase/HeaderBase.cjs +1 -1
  241. package/dist/components/HeaderBase/HeaderBase.cjs.map +1 -1
  242. package/dist/components/HeaderBase/HeaderBase.mjs +1 -1
  243. package/dist/components/HeaderBase/HeaderBase.mjs.map +1 -1
  244. package/dist/components/HeaderBase/HeaderBase.types.d.cts +1 -1
  245. package/dist/components/HeaderBase/HeaderBase.types.d.cts.map +1 -1
  246. package/dist/components/HeaderBase/HeaderBase.types.d.mts +1 -1
  247. package/dist/components/HeaderBase/HeaderBase.types.d.mts.map +1 -1
  248. package/dist/components/HeaderRoot/HeaderRoot.types.d.cts +1 -1
  249. package/dist/components/HeaderRoot/HeaderRoot.types.d.cts.map +1 -1
  250. package/dist/components/HeaderRoot/HeaderRoot.types.d.mts +1 -1
  251. package/dist/components/HeaderRoot/HeaderRoot.types.d.mts.map +1 -1
  252. package/dist/components/HeaderStandard/HeaderStandard.cjs +2 -26
  253. package/dist/components/HeaderStandard/HeaderStandard.cjs.map +1 -1
  254. package/dist/components/HeaderStandard/HeaderStandard.d.cts.map +1 -1
  255. package/dist/components/HeaderStandard/HeaderStandard.d.mts.map +1 -1
  256. package/dist/components/HeaderStandard/HeaderStandard.mjs +2 -26
  257. package/dist/components/HeaderStandard/HeaderStandard.mjs.map +1 -1
  258. package/dist/components/HeaderStandard/HeaderStandard.types.cjs +0 -5
  259. package/dist/components/HeaderStandard/HeaderStandard.types.cjs.map +1 -1
  260. package/dist/components/HeaderStandard/HeaderStandard.types.d.cts +2 -28
  261. package/dist/components/HeaderStandard/HeaderStandard.types.d.cts.map +1 -1
  262. package/dist/components/HeaderStandard/HeaderStandard.types.d.mts +2 -28
  263. package/dist/components/HeaderStandard/HeaderStandard.types.d.mts.map +1 -1
  264. package/dist/components/HeaderStandard/HeaderStandard.types.mjs +1 -9
  265. package/dist/components/HeaderStandard/HeaderStandard.types.mjs.map +1 -1
  266. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.cjs +63 -0
  267. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.cjs.map +1 -0
  268. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.d.cts +4 -0
  269. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.d.cts.map +1 -0
  270. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.d.mts +4 -0
  271. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.d.mts.map +1 -0
  272. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.mjs +40 -0
  273. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.mjs.map +1 -0
  274. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.cjs +3 -0
  275. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.cjs.map +1 -0
  276. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.d.cts +31 -0
  277. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.d.cts.map +1 -0
  278. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.d.mts +31 -0
  279. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.d.mts.map +1 -0
  280. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.mjs +2 -0
  281. package/dist/components/HeaderStandardAnimated/HeaderStandardAnimated.types.mjs.map +1 -0
  282. package/dist/components/HeaderStandardAnimated/index.cjs +8 -0
  283. package/dist/components/HeaderStandardAnimated/index.cjs.map +1 -0
  284. package/dist/components/HeaderStandardAnimated/index.d.cts +4 -0
  285. package/dist/components/HeaderStandardAnimated/index.d.cts.map +1 -0
  286. package/dist/components/HeaderStandardAnimated/index.d.mts +4 -0
  287. package/dist/components/HeaderStandardAnimated/index.d.mts.map +1 -0
  288. package/dist/components/HeaderStandardAnimated/index.mjs +3 -0
  289. package/dist/components/HeaderStandardAnimated/index.mjs.map +1 -0
  290. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.cjs +62 -0
  291. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.cjs.map +1 -0
  292. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.d.cts +39 -0
  293. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.d.cts.map +1 -0
  294. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.d.mts +39 -0
  295. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.d.mts.map +1 -0
  296. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.mjs +57 -0
  297. package/dist/components/HeaderStandardAnimated/useHeaderStandardAnimated.mjs.map +1 -0
  298. package/dist/components/Icon/Icon.assets.cjs +14 -0
  299. package/dist/components/Icon/Icon.assets.cjs.map +1 -1
  300. package/dist/components/Icon/Icon.assets.d.cts.map +1 -1
  301. package/dist/components/Icon/Icon.assets.d.mts.map +1 -1
  302. package/dist/components/Icon/Icon.assets.mjs +14 -0
  303. package/dist/components/Icon/Icon.assets.mjs.map +1 -1
  304. package/dist/components/Icon/Icon.cjs +2 -2
  305. package/dist/components/Icon/Icon.cjs.map +1 -1
  306. package/dist/components/Icon/Icon.d.cts.map +1 -1
  307. package/dist/components/Icon/Icon.d.mts.map +1 -1
  308. package/dist/components/Icon/Icon.mjs +1 -1
  309. package/dist/components/Icon/Icon.mjs.map +1 -1
  310. package/dist/components/Icon/assets/candlestick.svg +1 -1
  311. package/dist/components/Icon/assets/group.svg +1 -0
  312. package/dist/components/Icon/assets/list-arrow.svg +1 -0
  313. package/dist/components/Icon/assets/merge.svg +1 -0
  314. package/dist/components/Icon/assets/musd-filled.svg +1 -0
  315. package/dist/components/Icon/assets/musd.svg +1 -0
  316. package/dist/components/Icon/assets/pie-chart.svg +1 -0
  317. package/dist/components/Icon/assets/predictions.svg +1 -0
  318. package/dist/components/Icon/assets/telegram.svg +1 -3
  319. package/dist/components/Icon/index.cjs +4 -4
  320. package/dist/components/Icon/index.cjs.map +1 -1
  321. package/dist/components/Icon/index.d.cts +1 -1
  322. package/dist/components/Icon/index.d.cts.map +1 -1
  323. package/dist/components/Icon/index.d.mts +1 -1
  324. package/dist/components/Icon/index.d.mts.map +1 -1
  325. package/dist/components/Icon/index.mjs +1 -1
  326. package/dist/components/Icon/index.mjs.map +1 -1
  327. package/dist/components/IconAlert/IconAlert.constants.cjs +8 -9
  328. package/dist/components/IconAlert/IconAlert.constants.cjs.map +1 -1
  329. package/dist/components/IconAlert/IconAlert.constants.d.cts +1 -2
  330. package/dist/components/IconAlert/IconAlert.constants.d.cts.map +1 -1
  331. package/dist/components/IconAlert/IconAlert.constants.d.mts +1 -2
  332. package/dist/components/IconAlert/IconAlert.constants.d.mts.map +1 -1
  333. package/dist/components/IconAlert/IconAlert.constants.mjs +1 -2
  334. package/dist/components/IconAlert/IconAlert.constants.mjs.map +1 -1
  335. package/dist/components/Input/Input.cjs +36 -26
  336. package/dist/components/Input/Input.cjs.map +1 -1
  337. package/dist/components/Input/Input.d.cts +2 -9
  338. package/dist/components/Input/Input.d.cts.map +1 -1
  339. package/dist/components/Input/Input.d.mts +2 -9
  340. package/dist/components/Input/Input.d.mts.map +1 -1
  341. package/dist/components/Input/Input.mjs +37 -27
  342. package/dist/components/Input/Input.mjs.map +1 -1
  343. package/dist/components/Input/Input.types.cjs.map +1 -1
  344. package/dist/components/Input/Input.types.d.cts +3 -31
  345. package/dist/components/Input/Input.types.d.cts.map +1 -1
  346. package/dist/components/Input/Input.types.d.mts +3 -31
  347. package/dist/components/Input/Input.types.d.mts.map +1 -1
  348. package/dist/components/Input/Input.types.mjs.map +1 -1
  349. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.cts +1 -1
  350. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.cts.map +1 -1
  351. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.mts +1 -1
  352. package/dist/components/KeyValueColumn/KeyValueColumn.types.d.mts.map +1 -1
  353. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts +1 -1
  354. package/dist/components/KeyValueRow/KeyValueRow.types.d.cts.map +1 -1
  355. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts +1 -1
  356. package/dist/components/KeyValueRow/KeyValueRow.types.d.mts.map +1 -1
  357. package/dist/components/ListItem/ListItem.cjs +1 -1
  358. package/dist/components/ListItem/ListItem.cjs.map +1 -1
  359. package/dist/components/ListItem/ListItem.mjs +1 -1
  360. package/dist/components/ListItem/ListItem.mjs.map +1 -1
  361. package/dist/components/ListItem/ListItem.types.d.cts +1 -1
  362. package/dist/components/ListItem/ListItem.types.d.cts.map +1 -1
  363. package/dist/components/ListItem/ListItem.types.d.mts +1 -1
  364. package/dist/components/ListItem/ListItem.types.d.mts.map +1 -1
  365. package/dist/components/MainActionButton/MainActionButton.types.d.cts +1 -1
  366. package/dist/components/MainActionButton/MainActionButton.types.d.cts.map +1 -1
  367. package/dist/components/MainActionButton/MainActionButton.types.d.mts +1 -1
  368. package/dist/components/MainActionButton/MainActionButton.types.d.mts.map +1 -1
  369. package/dist/components/RadioButton/RadioButton.cjs +1 -1
  370. package/dist/components/RadioButton/RadioButton.cjs.map +1 -1
  371. package/dist/components/RadioButton/RadioButton.mjs +1 -1
  372. package/dist/components/RadioButton/RadioButton.mjs.map +1 -1
  373. package/dist/components/RadioButton/RadioButton.types.d.cts +1 -2
  374. package/dist/components/RadioButton/RadioButton.types.d.cts.map +1 -1
  375. package/dist/components/RadioButton/RadioButton.types.d.mts +1 -2
  376. package/dist/components/RadioButton/RadioButton.types.d.mts.map +1 -1
  377. package/dist/components/SectionDivider/SectionDivider.cjs +47 -0
  378. package/dist/components/SectionDivider/SectionDivider.cjs.map +1 -0
  379. package/dist/components/SectionDivider/SectionDivider.d.cts +6 -0
  380. package/dist/components/SectionDivider/SectionDivider.d.cts.map +1 -0
  381. package/dist/components/SectionDivider/SectionDivider.d.mts +6 -0
  382. package/dist/components/SectionDivider/SectionDivider.d.mts.map +1 -0
  383. package/dist/components/SectionDivider/SectionDivider.mjs +28 -0
  384. package/dist/components/SectionDivider/SectionDivider.mjs.map +1 -0
  385. package/dist/components/SectionDivider/SectionDivider.types.cjs +3 -0
  386. package/dist/components/SectionDivider/SectionDivider.types.cjs.map +1 -0
  387. package/dist/components/SectionDivider/SectionDivider.types.d.cts +3 -0
  388. package/dist/components/SectionDivider/SectionDivider.types.d.cts.map +1 -0
  389. package/dist/components/SectionDivider/SectionDivider.types.d.mts +3 -0
  390. package/dist/components/SectionDivider/SectionDivider.types.d.mts.map +1 -0
  391. package/dist/components/SectionDivider/SectionDivider.types.mjs +2 -0
  392. package/dist/components/SectionDivider/SectionDivider.types.mjs.map +1 -0
  393. package/dist/components/SectionDivider/index.cjs +6 -0
  394. package/dist/components/SectionDivider/index.cjs.map +1 -0
  395. package/dist/components/SectionDivider/index.d.cts +3 -0
  396. package/dist/components/SectionDivider/index.d.cts.map +1 -0
  397. package/dist/components/SectionDivider/index.d.mts +3 -0
  398. package/dist/components/SectionDivider/index.d.mts.map +1 -0
  399. package/dist/components/SectionDivider/index.mjs +2 -0
  400. package/dist/components/SectionDivider/index.mjs.map +1 -0
  401. package/dist/components/SectionHeader/SectionHeader.cjs +45 -0
  402. package/dist/components/SectionHeader/SectionHeader.cjs.map +1 -0
  403. package/dist/components/SectionHeader/SectionHeader.d.cts +23 -0
  404. package/dist/components/SectionHeader/SectionHeader.d.cts.map +1 -0
  405. package/dist/components/SectionHeader/SectionHeader.d.mts +23 -0
  406. package/dist/components/SectionHeader/SectionHeader.d.mts.map +1 -0
  407. package/dist/components/SectionHeader/SectionHeader.mjs +45 -0
  408. package/dist/components/SectionHeader/SectionHeader.mjs.map +1 -0
  409. package/dist/components/SectionHeader/SectionHeader.types.cjs +3 -0
  410. package/dist/components/SectionHeader/SectionHeader.types.cjs.map +1 -0
  411. package/dist/components/SectionHeader/SectionHeader.types.d.cts +32 -0
  412. package/dist/components/SectionHeader/SectionHeader.types.d.cts.map +1 -0
  413. package/dist/components/SectionHeader/SectionHeader.types.d.mts +32 -0
  414. package/dist/components/SectionHeader/SectionHeader.types.d.mts.map +1 -0
  415. package/dist/components/SectionHeader/SectionHeader.types.mjs +2 -0
  416. package/dist/components/SectionHeader/SectionHeader.types.mjs.map +1 -0
  417. package/dist/components/SectionHeader/index.cjs +6 -0
  418. package/dist/components/SectionHeader/index.cjs.map +1 -0
  419. package/dist/components/SectionHeader/index.d.cts +3 -0
  420. package/dist/components/SectionHeader/index.d.cts.map +1 -0
  421. package/dist/components/SectionHeader/index.d.mts +3 -0
  422. package/dist/components/SectionHeader/index.d.mts.map +1 -0
  423. package/dist/components/SectionHeader/index.mjs +2 -0
  424. package/dist/components/SectionHeader/index.mjs.map +1 -0
  425. package/dist/components/SegmentButton/SegmentButton.cjs +86 -0
  426. package/dist/components/SegmentButton/SegmentButton.cjs.map +1 -0
  427. package/dist/components/SegmentButton/SegmentButton.d.cts +7 -0
  428. package/dist/components/SegmentButton/SegmentButton.d.cts.map +1 -0
  429. package/dist/components/SegmentButton/SegmentButton.d.mts +7 -0
  430. package/dist/components/SegmentButton/SegmentButton.d.mts.map +1 -0
  431. package/dist/components/SegmentButton/SegmentButton.mjs +66 -0
  432. package/dist/components/SegmentButton/SegmentButton.mjs.map +1 -0
  433. package/dist/components/SegmentButton/SegmentButton.types.cjs +3 -0
  434. package/dist/components/SegmentButton/SegmentButton.types.cjs.map +1 -0
  435. package/dist/components/SegmentButton/SegmentButton.types.d.cts +9 -0
  436. package/dist/components/SegmentButton/SegmentButton.types.d.cts.map +1 -0
  437. package/dist/components/SegmentButton/SegmentButton.types.d.mts +9 -0
  438. package/dist/components/SegmentButton/SegmentButton.types.d.mts.map +1 -0
  439. package/dist/components/SegmentButton/SegmentButton.types.mjs +2 -0
  440. package/dist/components/SegmentButton/SegmentButton.types.mjs.map +1 -0
  441. package/dist/components/SegmentButton/index.cjs +8 -0
  442. package/dist/components/SegmentButton/index.cjs.map +1 -0
  443. package/dist/components/SegmentButton/index.d.cts +4 -0
  444. package/dist/components/SegmentButton/index.d.cts.map +1 -0
  445. package/dist/components/SegmentButton/index.d.mts +4 -0
  446. package/dist/components/SegmentButton/index.d.mts.map +1 -0
  447. package/dist/components/SegmentButton/index.mjs +3 -0
  448. package/dist/components/SegmentButton/index.mjs.map +1 -0
  449. package/dist/components/SegmentGroup/SegmentGroup.cjs +47 -0
  450. package/dist/components/SegmentGroup/SegmentGroup.cjs.map +1 -0
  451. package/dist/components/SegmentGroup/SegmentGroup.d.cts +7 -0
  452. package/dist/components/SegmentGroup/SegmentGroup.d.cts.map +1 -0
  453. package/dist/components/SegmentGroup/SegmentGroup.d.mts +7 -0
  454. package/dist/components/SegmentGroup/SegmentGroup.d.mts.map +1 -0
  455. package/dist/components/SegmentGroup/SegmentGroup.mjs +27 -0
  456. package/dist/components/SegmentGroup/SegmentGroup.mjs.map +1 -0
  457. package/dist/components/SegmentGroup/SegmentGroup.types.cjs +3 -0
  458. package/dist/components/SegmentGroup/SegmentGroup.types.cjs.map +1 -0
  459. package/dist/components/SegmentGroup/SegmentGroup.types.d.cts +12 -0
  460. package/dist/components/SegmentGroup/SegmentGroup.types.d.cts.map +1 -0
  461. package/dist/components/SegmentGroup/SegmentGroup.types.d.mts +12 -0
  462. package/dist/components/SegmentGroup/SegmentGroup.types.d.mts.map +1 -0
  463. package/dist/components/SegmentGroup/SegmentGroup.types.mjs +2 -0
  464. package/dist/components/SegmentGroup/SegmentGroup.types.mjs.map +1 -0
  465. package/dist/components/SegmentGroup/index.cjs +6 -0
  466. package/dist/components/SegmentGroup/index.cjs.map +1 -0
  467. package/dist/components/SegmentGroup/index.d.cts +3 -0
  468. package/dist/components/SegmentGroup/index.d.cts.map +1 -0
  469. package/dist/components/SegmentGroup/index.d.mts +3 -0
  470. package/dist/components/SegmentGroup/index.d.mts.map +1 -0
  471. package/dist/components/SegmentGroup/index.mjs +2 -0
  472. package/dist/components/SegmentGroup/index.mjs.map +1 -0
  473. package/dist/components/SelectButton/SelectButton.cjs +53 -0
  474. package/dist/components/SelectButton/SelectButton.cjs.map +1 -0
  475. package/dist/components/SelectButton/SelectButton.constants.cjs +12 -0
  476. package/dist/components/SelectButton/SelectButton.constants.cjs.map +1 -0
  477. package/dist/components/SelectButton/SelectButton.constants.d.cts +4 -0
  478. package/dist/components/SelectButton/SelectButton.constants.d.cts.map +1 -0
  479. package/dist/components/SelectButton/SelectButton.constants.d.mts +4 -0
  480. package/dist/components/SelectButton/SelectButton.constants.d.mts.map +1 -0
  481. package/dist/components/SelectButton/SelectButton.constants.mjs +9 -0
  482. package/dist/components/SelectButton/SelectButton.constants.mjs.map +1 -0
  483. package/dist/components/SelectButton/SelectButton.d.cts +7 -0
  484. package/dist/components/SelectButton/SelectButton.d.cts.map +1 -0
  485. package/dist/components/SelectButton/SelectButton.d.mts +7 -0
  486. package/dist/components/SelectButton/SelectButton.d.mts.map +1 -0
  487. package/dist/components/SelectButton/SelectButton.mjs +53 -0
  488. package/dist/components/SelectButton/SelectButton.mjs.map +1 -0
  489. package/dist/components/SelectButton/SelectButton.types.cjs +3 -0
  490. package/dist/components/SelectButton/SelectButton.types.cjs.map +1 -0
  491. package/dist/components/SelectButton/SelectButton.types.d.cts +13 -0
  492. package/dist/components/SelectButton/SelectButton.types.d.cts.map +1 -0
  493. package/dist/components/SelectButton/SelectButton.types.d.mts +13 -0
  494. package/dist/components/SelectButton/SelectButton.types.d.mts.map +1 -0
  495. package/dist/components/SelectButton/SelectButton.types.mjs +2 -0
  496. package/dist/components/SelectButton/SelectButton.types.mjs.map +1 -0
  497. package/dist/components/SelectButton/index.cjs +10 -0
  498. package/dist/components/SelectButton/index.cjs.map +1 -0
  499. package/dist/components/SelectButton/index.d.cts +4 -0
  500. package/dist/components/SelectButton/index.d.cts.map +1 -0
  501. package/dist/components/SelectButton/index.d.mts +4 -0
  502. package/dist/components/SelectButton/index.d.mts.map +1 -0
  503. package/dist/components/SelectButton/index.mjs +3 -0
  504. package/dist/components/SelectButton/index.mjs.map +1 -0
  505. package/dist/components/SensitiveText/SensitiveText.cjs +4 -4
  506. package/dist/components/SensitiveText/SensitiveText.cjs.map +1 -1
  507. package/dist/components/SensitiveText/SensitiveText.d.cts.map +1 -1
  508. package/dist/components/SensitiveText/SensitiveText.d.mts.map +1 -1
  509. package/dist/components/SensitiveText/SensitiveText.mjs +1 -1
  510. package/dist/components/SensitiveText/SensitiveText.mjs.map +1 -1
  511. package/dist/components/SensitiveText/SensitiveText.types.cjs.map +1 -1
  512. package/dist/components/SensitiveText/SensitiveText.types.d.cts +6 -34
  513. package/dist/components/SensitiveText/SensitiveText.types.d.cts.map +1 -1
  514. package/dist/components/SensitiveText/SensitiveText.types.d.mts +6 -34
  515. package/dist/components/SensitiveText/SensitiveText.types.d.mts.map +1 -1
  516. package/dist/components/SensitiveText/SensitiveText.types.mjs.map +1 -1
  517. package/dist/components/SensitiveText/index.cjs +3 -3
  518. package/dist/components/SensitiveText/index.cjs.map +1 -1
  519. package/dist/components/SensitiveText/index.d.cts +1 -1
  520. package/dist/components/SensitiveText/index.d.cts.map +1 -1
  521. package/dist/components/SensitiveText/index.d.mts +1 -1
  522. package/dist/components/SensitiveText/index.d.mts.map +1 -1
  523. package/dist/components/SensitiveText/index.mjs +1 -1
  524. package/dist/components/SensitiveText/index.mjs.map +1 -1
  525. package/dist/components/Skeleton/Skeleton.cjs +1 -1
  526. package/dist/components/Skeleton/Skeleton.cjs.map +1 -1
  527. package/dist/components/Skeleton/Skeleton.mjs +1 -1
  528. package/dist/components/Skeleton/Skeleton.mjs.map +1 -1
  529. package/dist/components/Skeleton/Skeleton.types.d.cts +1 -1
  530. package/dist/components/Skeleton/Skeleton.types.d.cts.map +1 -1
  531. package/dist/components/Skeleton/Skeleton.types.d.mts +1 -1
  532. package/dist/components/Skeleton/Skeleton.types.d.mts.map +1 -1
  533. package/dist/components/TabEmptyState/TabEmptyState.types.d.cts +1 -1
  534. package/dist/components/TabEmptyState/TabEmptyState.types.d.cts.map +1 -1
  535. package/dist/components/TabEmptyState/TabEmptyState.types.d.mts +1 -1
  536. package/dist/components/TabEmptyState/TabEmptyState.types.d.mts.map +1 -1
  537. package/dist/components/Tag/Tag.constants.cjs +5 -6
  538. package/dist/components/Tag/Tag.constants.cjs.map +1 -1
  539. package/dist/components/Tag/Tag.constants.d.cts +1 -2
  540. package/dist/components/Tag/Tag.constants.d.cts.map +1 -1
  541. package/dist/components/Tag/Tag.constants.d.mts +1 -2
  542. package/dist/components/Tag/Tag.constants.d.mts.map +1 -1
  543. package/dist/components/Tag/Tag.constants.mjs +1 -2
  544. package/dist/components/Tag/Tag.constants.mjs.map +1 -1
  545. package/dist/components/Tag/Tag.types.d.cts +1 -1
  546. package/dist/components/Tag/Tag.types.d.cts.map +1 -1
  547. package/dist/components/Tag/Tag.types.d.mts +1 -1
  548. package/dist/components/Tag/Tag.types.d.mts.map +1 -1
  549. package/dist/components/Text/Text.cjs +1 -1
  550. package/dist/components/Text/Text.cjs.map +1 -1
  551. package/dist/components/Text/Text.mjs +1 -1
  552. package/dist/components/Text/Text.mjs.map +1 -1
  553. package/dist/components/Text/Text.types.d.cts +1 -1
  554. package/dist/components/Text/Text.types.d.cts.map +1 -1
  555. package/dist/components/Text/Text.types.d.mts +1 -1
  556. package/dist/components/Text/Text.types.d.mts.map +1 -1
  557. package/dist/components/TextArea/TextArea.cjs +38 -0
  558. package/dist/components/TextArea/TextArea.cjs.map +1 -0
  559. package/dist/components/TextArea/TextArea.d.cts +170 -0
  560. package/dist/components/TextArea/TextArea.d.cts.map +1 -0
  561. package/dist/components/TextArea/TextArea.d.mts +170 -0
  562. package/dist/components/TextArea/TextArea.d.mts.map +1 -0
  563. package/dist/components/TextArea/TextArea.mjs +35 -0
  564. package/dist/components/TextArea/TextArea.mjs.map +1 -0
  565. package/dist/components/TextArea/TextArea.types.cjs +3 -0
  566. package/dist/components/TextArea/TextArea.types.cjs.map +1 -0
  567. package/dist/components/TextArea/TextArea.types.d.cts +63 -0
  568. package/dist/components/TextArea/TextArea.types.d.cts.map +1 -0
  569. package/dist/components/TextArea/TextArea.types.d.mts +63 -0
  570. package/dist/components/TextArea/TextArea.types.d.mts.map +1 -0
  571. package/dist/components/TextArea/TextArea.types.mjs +2 -0
  572. package/dist/components/TextArea/TextArea.types.mjs.map +1 -0
  573. package/dist/components/TextArea/index.cjs +6 -0
  574. package/dist/components/TextArea/index.cjs.map +1 -0
  575. package/dist/components/TextArea/index.d.cts +3 -0
  576. package/dist/components/TextArea/index.d.cts.map +1 -0
  577. package/dist/components/TextArea/index.d.mts +3 -0
  578. package/dist/components/TextArea/index.d.mts.map +1 -0
  579. package/dist/components/TextArea/index.mjs +2 -0
  580. package/dist/components/TextArea/index.mjs.map +1 -0
  581. package/dist/components/TextButton/TextButton.types.d.cts +0 -1
  582. package/dist/components/TextButton/TextButton.types.d.cts.map +1 -1
  583. package/dist/components/TextButton/TextButton.types.d.mts +0 -1
  584. package/dist/components/TextButton/TextButton.types.d.mts.map +1 -1
  585. package/dist/components/TextField/TextField.cjs +2 -3
  586. package/dist/components/TextField/TextField.cjs.map +1 -1
  587. package/dist/components/TextField/TextField.d.cts +27 -17
  588. package/dist/components/TextField/TextField.d.cts.map +1 -1
  589. package/dist/components/TextField/TextField.d.mts +27 -17
  590. package/dist/components/TextField/TextField.d.mts.map +1 -1
  591. package/dist/components/TextField/TextField.mjs +2 -3
  592. package/dist/components/TextField/TextField.mjs.map +1 -1
  593. package/dist/components/TextField/TextField.types.cjs.map +1 -1
  594. package/dist/components/TextField/TextField.types.d.cts +6 -2
  595. package/dist/components/TextField/TextField.types.d.cts.map +1 -1
  596. package/dist/components/TextField/TextField.types.d.mts +6 -2
  597. package/dist/components/TextField/TextField.types.d.mts.map +1 -1
  598. package/dist/components/TextField/TextField.types.mjs.map +1 -1
  599. package/dist/components/TextFieldSearch/TextFieldSearch.d.cts +27 -16
  600. package/dist/components/TextFieldSearch/TextFieldSearch.d.cts.map +1 -1
  601. package/dist/components/TextFieldSearch/TextFieldSearch.d.mts +27 -16
  602. package/dist/components/TextFieldSearch/TextFieldSearch.d.mts.map +1 -1
  603. package/dist/components/TitleAlert/TitleAlert.cjs +54 -0
  604. package/dist/components/TitleAlert/TitleAlert.cjs.map +1 -0
  605. package/dist/components/TitleAlert/TitleAlert.d.cts +21 -0
  606. package/dist/components/TitleAlert/TitleAlert.d.cts.map +1 -0
  607. package/dist/components/TitleAlert/TitleAlert.d.mts +21 -0
  608. package/dist/components/TitleAlert/TitleAlert.d.mts.map +1 -0
  609. package/dist/components/TitleAlert/TitleAlert.mjs +54 -0
  610. package/dist/components/TitleAlert/TitleAlert.mjs.map +1 -0
  611. package/dist/components/TitleAlert/TitleAlert.types.cjs +3 -0
  612. package/dist/components/TitleAlert/TitleAlert.types.cjs.map +1 -0
  613. package/dist/components/TitleAlert/TitleAlert.types.d.cts +31 -0
  614. package/dist/components/TitleAlert/TitleAlert.types.d.cts.map +1 -0
  615. package/dist/components/TitleAlert/TitleAlert.types.d.mts +31 -0
  616. package/dist/components/TitleAlert/TitleAlert.types.d.mts.map +1 -0
  617. package/dist/components/TitleAlert/TitleAlert.types.mjs +2 -0
  618. package/dist/components/TitleAlert/TitleAlert.types.mjs.map +1 -0
  619. package/dist/components/TitleAlert/index.cjs +6 -0
  620. package/dist/components/TitleAlert/index.cjs.map +1 -0
  621. package/dist/components/TitleAlert/index.d.cts +3 -0
  622. package/dist/components/TitleAlert/index.d.cts.map +1 -0
  623. package/dist/components/TitleAlert/index.d.mts +3 -0
  624. package/dist/components/TitleAlert/index.d.mts.map +1 -0
  625. package/dist/components/TitleAlert/index.mjs +2 -0
  626. package/dist/components/TitleAlert/index.mjs.map +1 -0
  627. package/dist/components/TitleHub/TitleHub.types.d.cts +1 -1
  628. package/dist/components/TitleHub/TitleHub.types.d.cts.map +1 -1
  629. package/dist/components/TitleHub/TitleHub.types.d.mts +1 -1
  630. package/dist/components/TitleHub/TitleHub.types.d.mts.map +1 -1
  631. package/dist/components/TitleStandard/TitleStandard.types.d.cts +1 -1
  632. package/dist/components/TitleStandard/TitleStandard.types.d.cts.map +1 -1
  633. package/dist/components/TitleStandard/TitleStandard.types.d.mts +1 -1
  634. package/dist/components/TitleStandard/TitleStandard.types.d.mts.map +1 -1
  635. package/dist/components/TitleSubpage/TitleSubpage.types.d.cts +1 -1
  636. package/dist/components/TitleSubpage/TitleSubpage.types.d.cts.map +1 -1
  637. package/dist/components/TitleSubpage/TitleSubpage.types.d.mts +1 -1
  638. package/dist/components/TitleSubpage/TitleSubpage.types.d.mts.map +1 -1
  639. package/dist/components/Toast/Toast.cjs +43 -52
  640. package/dist/components/Toast/Toast.cjs.map +1 -1
  641. package/dist/components/Toast/Toast.constants.cjs +8 -1
  642. package/dist/components/Toast/Toast.constants.cjs.map +1 -1
  643. package/dist/components/Toast/Toast.constants.d.cts +5 -0
  644. package/dist/components/Toast/Toast.constants.d.cts.map +1 -1
  645. package/dist/components/Toast/Toast.constants.d.mts +5 -0
  646. package/dist/components/Toast/Toast.constants.d.mts.map +1 -1
  647. package/dist/components/Toast/Toast.constants.mjs +7 -0
  648. package/dist/components/Toast/Toast.constants.mjs.map +1 -1
  649. package/dist/components/Toast/Toast.d.cts +2 -17
  650. package/dist/components/Toast/Toast.d.cts.map +1 -1
  651. package/dist/components/Toast/Toast.d.mts +2 -17
  652. package/dist/components/Toast/Toast.d.mts.map +1 -1
  653. package/dist/components/Toast/Toast.mjs +40 -30
  654. package/dist/components/Toast/Toast.mjs.map +1 -1
  655. package/dist/components/Toast/Toast.types.cjs +9 -14
  656. package/dist/components/Toast/Toast.types.cjs.map +1 -1
  657. package/dist/components/Toast/Toast.types.d.cts +32 -94
  658. package/dist/components/Toast/Toast.types.d.cts.map +1 -1
  659. package/dist/components/Toast/Toast.types.d.mts +32 -94
  660. package/dist/components/Toast/Toast.types.d.mts.map +1 -1
  661. package/dist/components/Toast/Toast.types.mjs +8 -13
  662. package/dist/components/Toast/Toast.types.mjs.map +1 -1
  663. package/dist/components/Toast/Toaster.cjs +142 -0
  664. package/dist/components/Toast/Toaster.cjs.map +1 -0
  665. package/dist/components/Toast/Toaster.d.cts +11 -0
  666. package/dist/components/Toast/Toaster.d.cts.map +1 -0
  667. package/dist/components/Toast/Toaster.d.mts +11 -0
  668. package/dist/components/Toast/Toaster.d.mts.map +1 -0
  669. package/dist/components/Toast/Toaster.mjs +123 -0
  670. package/dist/components/Toast/Toaster.mjs.map +1 -0
  671. package/dist/components/Toast/index.cjs +5 -3
  672. package/dist/components/Toast/index.cjs.map +1 -1
  673. package/dist/components/Toast/index.d.cts +3 -2
  674. package/dist/components/Toast/index.d.cts.map +1 -1
  675. package/dist/components/Toast/index.d.mts +3 -2
  676. package/dist/components/Toast/index.d.mts.map +1 -1
  677. package/dist/components/Toast/index.mjs +2 -1
  678. package/dist/components/Toast/index.mjs.map +1 -1
  679. package/dist/components/index.cjs +28 -4
  680. package/dist/components/index.cjs.map +1 -1
  681. package/dist/components/index.d.cts +20 -2
  682. package/dist/components/index.d.cts.map +1 -1
  683. package/dist/components/index.d.mts +20 -2
  684. package/dist/components/index.d.mts.map +1 -1
  685. package/dist/components/index.mjs +10 -1
  686. package/dist/components/index.mjs.map +1 -1
  687. package/dist/components/temp-components/Blockies/Blockies.cjs +1 -1
  688. package/dist/components/temp-components/Blockies/Blockies.cjs.map +1 -1
  689. package/dist/components/temp-components/Blockies/Blockies.mjs +1 -1
  690. package/dist/components/temp-components/Blockies/Blockies.mjs.map +1 -1
  691. package/dist/components/temp-components/Blockies/Blockies.types.d.cts +1 -1
  692. package/dist/components/temp-components/Blockies/Blockies.types.d.cts.map +1 -1
  693. package/dist/components/temp-components/Blockies/Blockies.types.d.mts +1 -1
  694. package/dist/components/temp-components/Blockies/Blockies.types.d.mts.map +1 -1
  695. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.cjs +1 -1
  696. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.cjs.map +1 -1
  697. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.mjs +1 -1
  698. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.mjs.map +1 -1
  699. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.cts +1 -1
  700. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.cts.map +1 -1
  701. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.mts +1 -1
  702. package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.mts.map +1 -1
  703. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.cjs +36 -0
  704. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.cjs.map +1 -0
  705. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.d.cts +4 -0
  706. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.d.cts.map +1 -0
  707. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.d.mts +4 -0
  708. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.d.mts.map +1 -0
  709. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.mjs +36 -0
  710. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.mjs.map +1 -0
  711. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.cjs +8 -0
  712. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.cjs.map +1 -0
  713. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.d.cts +39 -0
  714. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.d.cts.map +1 -0
  715. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.d.mts +39 -0
  716. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.d.mts.map +1 -0
  717. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.mjs +10 -0
  718. package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.mjs.map +1 -0
  719. package/dist/components/temp-components/HeaderStandardCenterColumn/index.cjs +6 -0
  720. package/dist/components/temp-components/HeaderStandardCenterColumn/index.cjs.map +1 -0
  721. package/dist/components/temp-components/HeaderStandardCenterColumn/index.d.cts +3 -0
  722. package/dist/components/temp-components/HeaderStandardCenterColumn/index.d.cts.map +1 -0
  723. package/dist/components/temp-components/HeaderStandardCenterColumn/index.d.mts +3 -0
  724. package/dist/components/temp-components/HeaderStandardCenterColumn/index.d.mts.map +1 -0
  725. package/dist/components/temp-components/HeaderStandardCenterColumn/index.mjs +2 -0
  726. package/dist/components/temp-components/HeaderStandardCenterColumn/index.mjs.map +1 -0
  727. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.cjs +1 -1
  728. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.cjs.map +1 -1
  729. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.mjs +1 -1
  730. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.mjs.map +1 -1
  731. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.cts +1 -2
  732. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.cts.map +1 -1
  733. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.mts +1 -2
  734. package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.mts.map +1 -1
  735. package/dist/components/temp-components/Jazzicon/Jazzicon.cjs +1 -1
  736. package/dist/components/temp-components/Jazzicon/Jazzicon.cjs.map +1 -1
  737. package/dist/components/temp-components/Jazzicon/Jazzicon.mjs +1 -1
  738. package/dist/components/temp-components/Jazzicon/Jazzicon.mjs.map +1 -1
  739. package/dist/components/temp-components/Maskicon/Maskicon.cjs +1 -1
  740. package/dist/components/temp-components/Maskicon/Maskicon.cjs.map +1 -1
  741. package/dist/components/temp-components/Maskicon/Maskicon.mjs +1 -1
  742. package/dist/components/temp-components/Maskicon/Maskicon.mjs.map +1 -1
  743. package/dist/components/temp-components/Spinner/Spinner.cjs +1 -1
  744. package/dist/components/temp-components/Spinner/Spinner.cjs.map +1 -1
  745. package/dist/components/temp-components/Spinner/Spinner.mjs +1 -1
  746. package/dist/components/temp-components/Spinner/Spinner.mjs.map +1 -1
  747. package/dist/components/temp-components/Spinner/Spinner.types.d.cts +1 -1
  748. package/dist/components/temp-components/Spinner/Spinner.types.d.cts.map +1 -1
  749. package/dist/components/temp-components/Spinner/Spinner.types.d.mts +1 -1
  750. package/dist/components/temp-components/Spinner/Spinner.types.d.mts.map +1 -1
  751. package/dist/test-utils/createRenderer.cjs +41 -0
  752. package/dist/test-utils/createRenderer.cjs.map +1 -0
  753. package/dist/test-utils/createRenderer.d.cts +4 -0
  754. package/dist/test-utils/createRenderer.d.cts.map +1 -0
  755. package/dist/test-utils/createRenderer.d.mts +4 -0
  756. package/dist/test-utils/createRenderer.d.mts.map +1 -0
  757. package/dist/test-utils/createRenderer.mjs +18 -0
  758. package/dist/test-utils/createRenderer.mjs.map +1 -0
  759. package/dist/types/index.cjs +3 -15
  760. package/dist/types/index.cjs.map +1 -1
  761. package/dist/types/index.d.cts +0 -10
  762. package/dist/types/index.d.cts.map +1 -1
  763. package/dist/types/index.d.mts +0 -10
  764. package/dist/types/index.d.mts.map +1 -1
  765. package/dist/types/index.mjs +0 -11
  766. package/dist/types/index.mjs.map +1 -1
  767. package/package.json +19 -20
  768. package/dist/components/SensitiveText/SensitiveText.constants.cjs +0 -14
  769. package/dist/components/SensitiveText/SensitiveText.constants.cjs.map +0 -1
  770. package/dist/components/SensitiveText/SensitiveText.constants.d.cts +0 -11
  771. package/dist/components/SensitiveText/SensitiveText.constants.d.cts.map +0 -1
  772. package/dist/components/SensitiveText/SensitiveText.constants.d.mts +0 -11
  773. package/dist/components/SensitiveText/SensitiveText.constants.d.mts.map +0 -1
  774. package/dist/components/SensitiveText/SensitiveText.constants.mjs +0 -11
  775. package/dist/components/SensitiveText/SensitiveText.constants.mjs.map +0 -1
  776. package/dist/components/Toast/ToastView.cjs +0 -174
  777. package/dist/components/Toast/ToastView.cjs.map +0 -1
  778. package/dist/components/Toast/ToastView.d.cts +0 -7
  779. package/dist/components/Toast/ToastView.d.cts.map +0 -1
  780. package/dist/components/Toast/ToastView.d.mts +0 -7
  781. package/dist/components/Toast/ToastView.d.mts.map +0 -1
  782. package/dist/components/Toast/ToastView.mjs +0 -155
  783. package/dist/components/Toast/ToastView.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { PressableProps } from "react-native/index.js";
1
+ import type { PressableProps } from "react-native";
2
2
  /**
3
3
  * ButtonAnimated component props.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonAnimated.types.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,8BAAqB;AAEnD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"ButtonAnimated.types.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB;AAEnD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { PressableProps } from "react-native/index.js";
1
+ import type { PressableProps } from "react-native";
2
2
  /**
3
3
  * ButtonAnimated component props.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonAnimated.types.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,8BAAqB;AAEnD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"ButtonAnimated.types.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/ButtonAnimated/ButtonAnimated.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB;AAEnD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HeaderStandardCenterColumn = void 0;
7
+ // Third party dependencies.
8
+ const react_1 = __importDefault(require("react"));
9
+ // External dependencies.
10
+ const Box_1 = require("../../Box/index.cjs");
11
+ const BoxColumn_1 = require("../../BoxColumn/index.cjs");
12
+ const Text_1 = require("../../Text/index.cjs");
13
+ const TextOrChildren_1 = require("../TextOrChildren/index.cjs");
14
+ function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps, }) {
15
+ let subtitleTextProps;
16
+ if (subtitle && typeof subtitle === 'string') {
17
+ const { twClassName: subtitleTwClassName, ...subtitleTextRest } = subtitleProps ?? {};
18
+ subtitleTextProps = {
19
+ variant: Text_1.TextVariant.BodySm,
20
+ color: Text_1.TextColor.TextAlternative,
21
+ ...subtitleTextRest,
22
+ twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),
23
+ };
24
+ }
25
+ return (<BoxColumn_1.BoxColumn alignItems={Box_1.BoxAlignItems.Center} textProps={{
26
+ variant: Text_1.TextVariant.BodyMd,
27
+ fontWeight: Text_1.FontWeight.Bold,
28
+ ...titleProps,
29
+ }} bottomAccessory={subtitle ? (<TextOrChildren_1.TextOrChildren textProps={subtitleTextProps}>
30
+ {subtitle}
31
+ </TextOrChildren_1.TextOrChildren>) : undefined}>
32
+ {title}
33
+ </BoxColumn_1.BoxColumn>);
34
+ }
35
+ exports.HeaderStandardCenterColumn = HeaderStandardCenterColumn;
36
+ //# sourceMappingURL=HeaderStandardCenterColumn.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":";;;;;;AAAA,4BAA4B;AAC5B,kDAA0B;AAE1B,yBAAyB;AACzB,6CAA0C;AAC1C,yDAA4C;AAE5C,+CAAgE;AAChE,gEAAmD;AAKnD,SAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACmB;IAChC,IAAI,iBAAmE,CAAC;IACxE,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAC5C,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,EAAE,GAC7D,aAAa,IAAI,EAAE,CAAC;QACtB,iBAAiB,GAAG;YAClB,OAAO,EAAE,kBAAW,CAAC,MAAM;YAC3B,KAAK,EAAE,gBAAS,CAAC,eAAe;YAChC,GAAG,gBAAgB;YACnB,WAAW,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;SACxE,CAAC;KACH;IAED,OAAO,CACL,CAAC,qBAAS,CACR,UAAU,CAAC,CAAC,mBAAa,CAAC,MAAM,CAAC,CACjC,SAAS,CAAC,CAAC;YACT,OAAO,EAAE,kBAAW,CAAC,MAAM;YAC3B,UAAU,EAAE,iBAAU,CAAC,IAAI;YAC3B,GAAG,UAAU;SACd,CAAC,CACF,eAAe,CAAC,CACd,QAAQ,CAAC,CAAC,CAAC,CACT,CAAC,+BAAc,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAC3C;YAAA,CAAC,QAAQ,CACX;UAAA,EAAE,+BAAc,CAAC,CAClB,CAAC,CAAC,CAAC,SAAS,CACd,CAED;MAAA,CAAC,KAAK,CACR;IAAA,EAAE,qBAAS,CAAC,CACb,CAAC;AACJ,CAAC;AArCD,gEAqCC","sourcesContent":["// Third party dependencies.\nimport React from 'react';\n\n// External dependencies.\nimport { BoxAlignItems } from '../../Box';\nimport { BoxColumn } from '../../BoxColumn';\nimport type { TextProps } from '../../Text';\nimport { FontWeight, TextColor, TextVariant } from '../../Text';\nimport { TextOrChildren } from '../TextOrChildren';\n\n// Internal dependencies.\nimport type { HeaderStandardCenterColumnProps } from './HeaderStandardCenterColumn.types';\n\nexport function HeaderStandardCenterColumn({\n title,\n titleProps,\n subtitle,\n subtitleProps,\n}: HeaderStandardCenterColumnProps) {\n let subtitleTextProps: Omit<Partial<TextProps>, 'children'> | undefined;\n if (subtitle && typeof subtitle === 'string') {\n const { twClassName: subtitleTwClassName, ...subtitleTextRest } =\n subtitleProps ?? {};\n subtitleTextProps = {\n variant: TextVariant.BodySm,\n color: TextColor.TextAlternative,\n ...subtitleTextRest,\n twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),\n };\n }\n\n return (\n <BoxColumn\n alignItems={BoxAlignItems.Center}\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Bold,\n ...titleProps,\n }}\n bottomAccessory={\n subtitle ? (\n <TextOrChildren textProps={subtitleTextProps}>\n {subtitle}\n </TextOrChildren>\n ) : undefined\n }\n >\n {title}\n </BoxColumn>\n );\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { HeaderStandardCenterColumnProps } from "./HeaderStandardCenterColumn.types.cjs";
3
+ export declare function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps, }: HeaderStandardCenterColumnProps): React.JSX.Element;
4
+ //# sourceMappingURL=HeaderStandardCenterColumn.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAU1B,OAAO,KAAK,EAAE,+BAA+B,EAAE,+CAA2C;AAE1F,wBAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACd,EAAE,+BAA+B,qBAgCjC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { HeaderStandardCenterColumnProps } from "./HeaderStandardCenterColumn.types.mjs";
3
+ export declare function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps, }: HeaderStandardCenterColumnProps): React.JSX.Element;
4
+ //# sourceMappingURL=HeaderStandardCenterColumn.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAU1B,OAAO,KAAK,EAAE,+BAA+B,EAAE,+CAA2C;AAE1F,wBAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACd,EAAE,+BAA+B,qBAgCjC"}
@@ -0,0 +1,36 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ // Third party dependencies.
8
+ import $React from "react";
9
+ const React = $importDefault($React);
10
+ // External dependencies.
11
+ import { BoxAlignItems } from "../../Box/index.mjs";
12
+ import { BoxColumn } from "../../BoxColumn/index.mjs";
13
+ import { FontWeight, TextColor, TextVariant } from "../../Text/index.mjs";
14
+ import { TextOrChildren } from "../TextOrChildren/index.mjs";
15
+ export function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps, }) {
16
+ let subtitleTextProps;
17
+ if (subtitle && typeof subtitle === 'string') {
18
+ const { twClassName: subtitleTwClassName, ...subtitleTextRest } = subtitleProps ?? {};
19
+ subtitleTextProps = {
20
+ variant: TextVariant.BodySm,
21
+ color: TextColor.TextAlternative,
22
+ ...subtitleTextRest,
23
+ twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),
24
+ };
25
+ }
26
+ return (<BoxColumn alignItems={BoxAlignItems.Center} textProps={{
27
+ variant: TextVariant.BodyMd,
28
+ fontWeight: FontWeight.Bold,
29
+ ...titleProps,
30
+ }} bottomAccessory={subtitle ? (<TextOrChildren textProps={subtitleTextProps}>
31
+ {subtitle}
32
+ </TextOrChildren>) : undefined}>
33
+ {title}
34
+ </BoxColumn>);
35
+ }
36
+ //# sourceMappingURL=HeaderStandardCenterColumn.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/Hea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b,CAAC;AACJ,CAAC","sourcesContent":["// Third party dependencies.\nimport React from 'react';\n\n// External dependencies.\nimport { BoxAlignItems } from '../../Box';\nimport { BoxColumn } from '../../BoxColumn';\nimport type { TextProps } from '../../Text';\nimport { FontWeight, TextColor, TextVariant } from '../../Text';\nimport { TextOrChildren } from '../TextOrChildren';\n\n// Internal dependencies.\nimport type { HeaderStandardCenterColumnProps } from './HeaderStandardCenterColumn.types';\n\nexport function HeaderStandardCenterColumn({\n title,\n titleProps,\n subtitle,\n subtitleProps,\n}: HeaderStandardCenterColumnProps) {\n let subtitleTextProps: Omit<Partial<TextProps>, 'children'> | undefined;\n if (subtitle && typeof subtitle === 'string') {\n const { twClassName: subtitleTwClassName, ...subtitleTextRest } =\n subtitleProps ?? {};\n subtitleTextProps = {\n variant: TextVariant.BodySm,\n color: TextColor.TextAlternative,\n ...subtitleTextRest,\n twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),\n };\n }\n\n return (\n <BoxColumn\n alignItems={BoxAlignItems.Center}\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Bold,\n ...titleProps,\n }}\n bottomAccessory={\n subtitle ? (\n <TextOrChildren textProps={subtitleTextProps}>\n {subtitle}\n </TextOrChildren>\n ) : undefined\n }\n >\n {title}\n </BoxColumn>\n );\n}\n"]}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ // Third party dependencies.
7
+ const react_1 = __importDefault(require("react"));
8
+ //# sourceMappingURL=HeaderStandardCenterColumn.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.types.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.ts"],"names":[],"mappings":";;;;;AAAA,4BAA4B;AAC5B,kDAA0B","sourcesContent":["// Third party dependencies.\nimport React from 'react';\n\n// External dependencies.\nimport type { TextProps } from '../../Text';\n\n/**\n * Shared title/subtitle fields for header center content (see HeaderStandard, HeaderStandardAnimated).\n */\nexport type HeaderStandardCenterColumnFields = {\n /**\n * Title to display in the header. Can be a string or a React node.\n * Used as children if children prop is not provided.\n * When string: rendered with TextVariant.BodyMd and FontWeight.Bold by default; titleProps apply.\n * When node: rendered as-is; titleProps are not applied.\n */\n title?: string | React.ReactNode;\n /**\n * Additional props to pass to the title Text component.\n * Props are spread to the Text component and can override default values.\n * Only applied when title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Subtitle to display below the title. Can be a string or a React node.\n * When string: rendered with TextVariant.BodySm and TextColor.TextAlternative by default; subtitleProps apply.\n * When node: rendered as-is; subtitleProps are not applied (add spacing on your root if needed, e.g. twClassName).\n */\n subtitle?: string | React.ReactNode;\n /**\n * Additional props to pass to the subtitle Text component.\n * Props are spread to the Text component and can override default values.\n * Only applied when subtitle is a string.\n */\n subtitleProps?: Partial<TextProps>;\n};\n\n/**\n * Props for the presentational center column (requires `title` when rendered).\n */\nexport type HeaderStandardCenterColumnProps = Omit<\n HeaderStandardCenterColumnFields,\n 'title'\n> & {\n title: React.ReactNode;\n};\n"]}
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ import type { TextProps } from "../../Text/index.cjs";
3
+ /**
4
+ * Shared title/subtitle fields for header center content (see HeaderStandard, HeaderStandardAnimated).
5
+ */
6
+ export type HeaderStandardCenterColumnFields = {
7
+ /**
8
+ * Title to display in the header. Can be a string or a React node.
9
+ * Used as children if children prop is not provided.
10
+ * When string: rendered with TextVariant.BodyMd and FontWeight.Bold by default; titleProps apply.
11
+ * When node: rendered as-is; titleProps are not applied.
12
+ */
13
+ title?: string | React.ReactNode;
14
+ /**
15
+ * Additional props to pass to the title Text component.
16
+ * Props are spread to the Text component and can override default values.
17
+ * Only applied when title is a string.
18
+ */
19
+ titleProps?: Partial<TextProps>;
20
+ /**
21
+ * Subtitle to display below the title. Can be a string or a React node.
22
+ * When string: rendered with TextVariant.BodySm and TextColor.TextAlternative by default; subtitleProps apply.
23
+ * When node: rendered as-is; subtitleProps are not applied (add spacing on your root if needed, e.g. twClassName).
24
+ */
25
+ subtitle?: string | React.ReactNode;
26
+ /**
27
+ * Additional props to pass to the subtitle Text component.
28
+ * Props are spread to the Text component and can override default values.
29
+ * Only applied when subtitle is a string.
30
+ */
31
+ subtitleProps?: Partial<TextProps>;
32
+ };
33
+ /**
34
+ * Props for the presentational center column (requires `title` when rendered).
35
+ */
36
+ export type HeaderStandardCenterColumnProps = Omit<HeaderStandardCenterColumnFields, 'title'> & {
37
+ title: React.ReactNode;
38
+ };
39
+ //# sourceMappingURL=HeaderStandardCenterColumn.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.types.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,6BAAmB;AAE5C;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,gCAAgC,EAChC,OAAO,CACR,GAAG;IACF,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC"}
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ import type { TextProps } from "../../Text/index.mjs";
3
+ /**
4
+ * Shared title/subtitle fields for header center content (see HeaderStandard, HeaderStandardAnimated).
5
+ */
6
+ export type HeaderStandardCenterColumnFields = {
7
+ /**
8
+ * Title to display in the header. Can be a string or a React node.
9
+ * Used as children if children prop is not provided.
10
+ * When string: rendered with TextVariant.BodyMd and FontWeight.Bold by default; titleProps apply.
11
+ * When node: rendered as-is; titleProps are not applied.
12
+ */
13
+ title?: string | React.ReactNode;
14
+ /**
15
+ * Additional props to pass to the title Text component.
16
+ * Props are spread to the Text component and can override default values.
17
+ * Only applied when title is a string.
18
+ */
19
+ titleProps?: Partial<TextProps>;
20
+ /**
21
+ * Subtitle to display below the title. Can be a string or a React node.
22
+ * When string: rendered with TextVariant.BodySm and TextColor.TextAlternative by default; subtitleProps apply.
23
+ * When node: rendered as-is; subtitleProps are not applied (add spacing on your root if needed, e.g. twClassName).
24
+ */
25
+ subtitle?: string | React.ReactNode;
26
+ /**
27
+ * Additional props to pass to the subtitle Text component.
28
+ * Props are spread to the Text component and can override default values.
29
+ * Only applied when subtitle is a string.
30
+ */
31
+ subtitleProps?: Partial<TextProps>;
32
+ };
33
+ /**
34
+ * Props for the presentational center column (requires `title` when rendered).
35
+ */
36
+ export type HeaderStandardCenterColumnProps = Omit<HeaderStandardCenterColumnFields, 'title'> & {
37
+ title: React.ReactNode;
38
+ };
39
+ //# sourceMappingURL=HeaderStandardCenterColumn.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.types.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,6BAAmB;AAE5C;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,gCAAgC,EAChC,OAAO,CACR,GAAG;IACF,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC"}
@@ -0,0 +1,10 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ // Third party dependencies.
8
+ import $React from "react";
9
+ const React = $importDefault($React);
10
+ //# sourceMappingURL=HeaderStandardCenterColumn.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderStandardCenterColumn.types.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.types.ts"],"names":[],"mappings":";;;;;;AAAA,4BAA4B;AAC5B,OAAO,MAAK,cAAc","sourcesContent":["// Third party dependencies.\nimport React from 'react';\n\n// External dependencies.\nimport type { TextProps } from '../../Text';\n\n/**\n * Shared title/subtitle fields for header center content (see HeaderStandard, HeaderStandardAnimated).\n */\nexport type HeaderStandardCenterColumnFields = {\n /**\n * Title to display in the header. Can be a string or a React node.\n * Used as children if children prop is not provided.\n * When string: rendered with TextVariant.BodyMd and FontWeight.Bold by default; titleProps apply.\n * When node: rendered as-is; titleProps are not applied.\n */\n title?: string | React.ReactNode;\n /**\n * Additional props to pass to the title Text component.\n * Props are spread to the Text component and can override default values.\n * Only applied when title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Subtitle to display below the title. Can be a string or a React node.\n * When string: rendered with TextVariant.BodySm and TextColor.TextAlternative by default; subtitleProps apply.\n * When node: rendered as-is; subtitleProps are not applied (add spacing on your root if needed, e.g. twClassName).\n */\n subtitle?: string | React.ReactNode;\n /**\n * Additional props to pass to the subtitle Text component.\n * Props are spread to the Text component and can override default values.\n * Only applied when subtitle is a string.\n */\n subtitleProps?: Partial<TextProps>;\n};\n\n/**\n * Props for the presentational center column (requires `title` when rendered).\n */\nexport type HeaderStandardCenterColumnProps = Omit<\n HeaderStandardCenterColumnFields,\n 'title'\n> & {\n title: React.ReactNode;\n};\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HeaderStandardCenterColumn = void 0;
4
+ var HeaderStandardCenterColumn_1 = require("./HeaderStandardCenterColumn.cjs");
5
+ Object.defineProperty(exports, "HeaderStandardCenterColumn", { enumerable: true, get: function () { return HeaderStandardCenterColumn_1.HeaderStandardCenterColumn; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/index.ts"],"names":[],"mappings":";;;AAAA,+EAA0E;AAAjE,wIAAA,0BAA0B,OAAA","sourcesContent":["export { HeaderStandardCenterColumn } from './HeaderStandardCenterColumn';\nexport type {\n HeaderStandardCenterColumnFields,\n HeaderStandardCenterColumnProps,\n} from './HeaderStandardCenterColumn.types';\n"]}
@@ -0,0 +1,3 @@
1
+ export { HeaderStandardCenterColumn } from "./HeaderStandardCenterColumn.cjs";
2
+ export type { HeaderStandardCenterColumnFields, HeaderStandardCenterColumnProps, } from "./HeaderStandardCenterColumn.types.cjs";
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,yCAAqC;AAC1E,YAAY,EACV,gCAAgC,EAChC,+BAA+B,GAChC,+CAA2C"}
@@ -0,0 +1,3 @@
1
+ export { HeaderStandardCenterColumn } from "./HeaderStandardCenterColumn.mjs";
2
+ export type { HeaderStandardCenterColumnFields, HeaderStandardCenterColumnProps, } from "./HeaderStandardCenterColumn.types.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,yCAAqC;AAC1E,YAAY,EACV,gCAAgC,EAChC,+BAA+B,GAChC,+CAA2C"}
@@ -0,0 +1,2 @@
1
+ export { HeaderStandardCenterColumn } from "./HeaderStandardCenterColumn.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,yCAAqC","sourcesContent":["export { HeaderStandardCenterColumn } from './HeaderStandardCenterColumn';\nexport type {\n HeaderStandardCenterColumnFields,\n HeaderStandardCenterColumnProps,\n} from './HeaderStandardCenterColumn.types';\n"]}
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ImageOrSvg = void 0;
27
27
  const react_1 = __importStar(require("react"));
28
- const react_native_1 = require("react-native/index.js");
28
+ const react_native_1 = require("react-native");
29
29
  const react_native_svg_1 = require("react-native-svg");
30
30
  const ImageOrSvg = ({ src, width, height, onImageLoad, onImageError, onSvgError, style, imageProps, svgProps, }) => {
31
31
  // CASE 1: local image (src is a number)
@@ -1 +1 @@
1
- {"version":3,"file":"ImageOrSvg.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;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,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;AACJ,CAAC,CAAC;AAlFW,QAAA,UAAU,cAkFrB","sourcesContent":["import React, { useState, useCallback, useEffect } from 'react';\nimport { Image } from 'react-native';\nimport { SvgUri } from 'react-native-svg';\n\nimport type { ImageOrSvgProps } from './ImageOrSvg.types';\n\nexport const ImageOrSvg = ({\n src,\n width,\n height,\n onImageLoad,\n onImageError,\n onSvgError,\n style,\n imageProps,\n svgProps,\n}: ImageOrSvgProps) => {\n // CASE 1: local image (src is a number)\n if (typeof src === 'number') {\n return (\n <Image\n source={src}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n }\n\n // CASE 2: Local SVG component (src is a React component)\n if (typeof src === 'function') {\n const LocalSvg = src;\n return <LocalSvg width={width} height={height} {...svgProps} />;\n }\n\n // CASE 3: Remote image or SVG (src is an object with a uri)\n const [isSvg, setIsSvg] = useState<boolean>(false);\n\n const checkSvgContentType = useCallback(async (uri: string) => {\n try {\n const response = await fetch(uri, { method: 'HEAD' });\n // If no header is returned, fallback to an empty string.\n const contentType = response.headers.get('Content-Type') || '';\n return contentType.includes('image/svg+xml');\n } catch {\n return false;\n }\n }, []);\n\n useEffect(() => {\n if (src.uri) {\n const uriLower = src.uri.toLowerCase();\n const isLikelySvg =\n uriLower.endsWith('.svg') || uriLower.startsWith('data:image/svg+xml');\n if (!src.uri.startsWith('data:')) {\n checkSvgContentType(src.uri).then(setIsSvg);\n } else {\n setIsSvg(isLikelySvg);\n }\n } else {\n setIsSvg(false);\n }\n }, [src, checkSvgContentType]);\n\n if (isSvg && typeof src === 'object' && 'uri' in src && src.uri) {\n return (\n <SvgUri\n uri={src.uri}\n width={width}\n height={height}\n onError={onSvgError}\n style={style}\n {...svgProps}\n />\n );\n }\n return (\n <Image\n source={src as any}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"ImageOrSvg.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgE;AAChE,+CAAqC;AACrC,uDAA0C;AAInC,MAAM,UAAU,GAAG,CAAC,EACzB,GAAG,EACH,KAAK,EACL,MAAM,EACN,WAAW,EACX,YAAY,EACZ,UAAU,EACV,KAAK,EACL,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,wCAAwC;IACxC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,CACL,CAAC,oBAAK,CACJ,MAAM,CAAC,CAAC,GAAG,CAAC,CACZ,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;KACH;IAED,yDAAyD;IACzD,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;QAC7B,MAAM,QAAQ,GAAG,GAAG,CAAC;QACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,QAAQ,CAAC,EAAG,CAAC;KACjE;IAED,4DAA4D;IAC5D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,CAAC;IAEnD,MAAM,mBAAmB,GAAG,IAAA,mBAAW,EAAC,KAAK,EAAE,GAAW,EAAE,EAAE;QAC5D,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE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,OAAO,CACL,CAAC,oBAAK,CACJ,MAAM,CAAC,CAAC,GAAU,CAAC,CACnB,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;AACJ,CAAC,CAAC;AAlFW,QAAA,UAAU,cAkFrB","sourcesContent":["import React, { useState, useCallback, useEffect } from 'react';\nimport { Image } from 'react-native';\nimport { SvgUri } from 'react-native-svg';\n\nimport type { ImageOrSvgProps } from './ImageOrSvg.types';\n\nexport const ImageOrSvg = ({\n src,\n width,\n height,\n onImageLoad,\n onImageError,\n onSvgError,\n style,\n imageProps,\n svgProps,\n}: ImageOrSvgProps) => {\n // CASE 1: local image (src is a number)\n if (typeof src === 'number') {\n return (\n <Image\n source={src}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n }\n\n // CASE 2: Local SVG component (src is a React component)\n if (typeof src === 'function') {\n const LocalSvg = src;\n return <LocalSvg width={width} height={height} {...svgProps} />;\n }\n\n // CASE 3: Remote image or SVG (src is an object with a uri)\n const [isSvg, setIsSvg] = useState<boolean>(false);\n\n const checkSvgContentType = useCallback(async (uri: string) => {\n try {\n const response = await fetch(uri, { method: 'HEAD' });\n // If no header is returned, fallback to an empty string.\n const contentType = response.headers.get('Content-Type') || '';\n return contentType.includes('image/svg+xml');\n } catch {\n return false;\n }\n }, []);\n\n useEffect(() => {\n if (src.uri) {\n const uriLower = src.uri.toLowerCase();\n const isLikelySvg =\n uriLower.endsWith('.svg') || uriLower.startsWith('data:image/svg+xml');\n if (!src.uri.startsWith('data:')) {\n checkSvgContentType(src.uri).then(setIsSvg);\n } else {\n setIsSvg(isLikelySvg);\n }\n } else {\n setIsSvg(false);\n }\n }, [src, checkSvgContentType]);\n\n if (isSvg && typeof src === 'object' && 'uri' in src && src.uri) {\n return (\n <SvgUri\n uri={src.uri}\n width={width}\n height={height}\n onError={onSvgError}\n style={style}\n {...svgProps}\n />\n );\n }\n return (\n <Image\n source={src as any}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n};\n"]}
@@ -6,7 +6,7 @@ function $importDefault(module) {
6
6
  }
7
7
  import $React, { useState, useCallback, useEffect } from "react";
8
8
  const React = $importDefault($React);
9
- import { Image } from "react-native/index.js";
9
+ import { Image } from "react-native";
10
10
  import { SvgUri } from "react-native-svg";
11
11
  export const ImageOrSvg = ({ src, width, height, onImageLoad, onImageError, onSvgError, style, imageProps, svgProps, }) => {
12
12
  // CASE 1: local image (src is a number)
@@ -1 +1 @@
1
- {"version":3,"file":"ImageOrSvg.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,QAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc;;AAChE,OAAO,EAAE,KAAK,EAAE,8BAAqB;AACrC,OAAO,EAAE,MAAM,EAAE,yBAAyB;AAI1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,GAAG,EACH,KAAK,EACL,MAAM,EACN,WAAW,EACX,YAAY,EACZ,UAAU,EACV,KAAK,EACL,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,wCAAwC;IACxC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,CACL,CAAC,KAAK,CACJ,MAAM,CAAC,CAAC,GAAG,CAAC,CACZ,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CAC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AC7C;iBAAM;gBACL,QAAQ,CAAC,WAAW,CAAC,CAAC;aACvB;SACF;aAAM;YACL,QAAQ,CAAC,KAAK,CAAC,CAAC;SACjB;IACH,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAE/B,IAAI,KAAK,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE;QAC/D,OAAO,CACL,CAAC,MAAM,CACL,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CACb,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,OAAO,CAAC,CAAC,UAAU,CAAC,CACpB,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,IAAI,QAAQ,CAAC,EACb,CACH,CAAC;KACH;IACD,OAAO,CACL,CAAC,KAAK,CACJ,MAAM,CAAC,CAAC,GAAU,CAAC,CACnB,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useState, useCallback, useEffect } from 'react';\nimport { Image } from 'react-native';\nimport { SvgUri } from 'react-native-svg';\n\nimport type { ImageOrSvgProps } from './ImageOrSvg.types';\n\nexport const ImageOrSvg = ({\n src,\n width,\n height,\n onImageLoad,\n onImageError,\n onSvgError,\n style,\n imageProps,\n svgProps,\n}: ImageOrSvgProps) => {\n // CASE 1: local image (src is a number)\n if (typeof src === 'number') {\n return (\n <Image\n source={src}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n }\n\n // CASE 2: Local SVG component (src is a React component)\n if (typeof src === 'function') {\n const LocalSvg = src;\n return <LocalSvg width={width} height={height} {...svgProps} />;\n }\n\n // CASE 3: Remote image or SVG (src is an object with a uri)\n const [isSvg, setIsSvg] = useState<boolean>(false);\n\n const checkSvgContentType = useCallback(async (uri: string) => {\n try {\n const response = await fetch(uri, { method: 'HEAD' });\n // If no header is returned, fallback to an empty string.\n const contentType = response.headers.get('Content-Type') || '';\n return contentType.includes('image/svg+xml');\n } catch {\n return false;\n }\n }, []);\n\n useEffect(() => {\n if (src.uri) {\n const uriLower = src.uri.toLowerCase();\n const isLikelySvg =\n uriLower.endsWith('.svg') || uriLower.startsWith('data:image/svg+xml');\n if (!src.uri.startsWith('data:')) {\n checkSvgContentType(src.uri).then(setIsSvg);\n } else {\n setIsSvg(isLikelySvg);\n }\n } else {\n setIsSvg(false);\n }\n }, [src, checkSvgContentType]);\n\n if (isSvg && typeof src === 'object' && 'uri' in src && src.uri) {\n return (\n <SvgUri\n uri={src.uri}\n width={width}\n height={height}\n onError={onSvgError}\n style={style}\n {...svgProps}\n />\n );\n }\n return (\n <Image\n source={src as any}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"ImageOrSvg.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,QAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc;;AAChE,OAAO,EAAE,KAAK,EAAE,qBAAqB;AACrC,OAAO,EAAE,MAAM,EAAE,yBAAyB;AAI1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,GAAG,EACH,KAAK,EACL,MAAM,EACN,WAAW,EACX,YAAY,EACZ,UAAU,EACV,KAAK,EACL,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,wCAAwC;IACxC,IAAI,OAAO,G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AC,QAAQ,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;YACzE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBAChC,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC7C;iBAAM;gBACL,QAAQ,CAAC,WAAW,CAAC,CAAC;aACvB;SACF;aAAM;YACL,QAAQ,CAAC,KAAK,CAAC,CAAC;SACjB;IACH,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAE/B,IAAI,KAAK,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE;QAC/D,OAAO,CACL,CAAC,MAAM,CACL,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CACb,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,OAAO,CAAC,CAAC,UAAU,CAAC,CACpB,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,IAAI,QAAQ,CAAC,EACb,CACH,CAAC;KACH;IACD,OAAO,CACL,CAAC,KAAK,CACJ,MAAM,CAAC,CAAC,GAAU,CAAC,CACnB,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAS,EAAE,KAAK,CAAC,CAAC,CACzC,UAAU,CAAC,SAAS,CACpB,MAAM,CAAC,CAAC,WAAW,CAAC,CACpB,OAAO,CAAC,CAAC,YAAY,CAAC,CACtB,IAAI,UAAU,CAAC,EACf,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useState, useCallback, useEffect } from 'react';\nimport { Image } from 'react-native';\nimport { SvgUri } from 'react-native-svg';\n\nimport type { ImageOrSvgProps } from './ImageOrSvg.types';\n\nexport const ImageOrSvg = ({\n src,\n width,\n height,\n onImageLoad,\n onImageError,\n onSvgError,\n style,\n imageProps,\n svgProps,\n}: ImageOrSvgProps) => {\n // CASE 1: local image (src is a number)\n if (typeof src === 'number') {\n return (\n <Image\n source={src}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n }\n\n // CASE 2: Local SVG component (src is a React component)\n if (typeof src === 'function') {\n const LocalSvg = src;\n return <LocalSvg width={width} height={height} {...svgProps} />;\n }\n\n // CASE 3: Remote image or SVG (src is an object with a uri)\n const [isSvg, setIsSvg] = useState<boolean>(false);\n\n const checkSvgContentType = useCallback(async (uri: string) => {\n try {\n const response = await fetch(uri, { method: 'HEAD' });\n // If no header is returned, fallback to an empty string.\n const contentType = response.headers.get('Content-Type') || '';\n return contentType.includes('image/svg+xml');\n } catch {\n return false;\n }\n }, []);\n\n useEffect(() => {\n if (src.uri) {\n const uriLower = src.uri.toLowerCase();\n const isLikelySvg =\n uriLower.endsWith('.svg') || uriLower.startsWith('data:image/svg+xml');\n if (!src.uri.startsWith('data:')) {\n checkSvgContentType(src.uri).then(setIsSvg);\n } else {\n setIsSvg(isLikelySvg);\n }\n } else {\n setIsSvg(false);\n }\n }, [src, checkSvgContentType]);\n\n if (isSvg && typeof src === 'object' && 'uri' in src && src.uri) {\n return (\n <SvgUri\n uri={src.uri}\n width={width}\n height={height}\n onError={onSvgError}\n style={style}\n {...svgProps}\n />\n );\n }\n return (\n <Image\n source={src as any}\n style={[{ width, height } as any, style]}\n resizeMode=\"contain\"\n onLoad={onImageLoad}\n onError={onImageError}\n {...imageProps}\n />\n );\n};\n"]}
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { ImageErrorEventData, ImageLoadEventData, NativeSyntheticEvent, StyleProp, ImageStyle, ImageProps } from "react-native/index.js";
1
+ import type { ImageErrorEventData, ImageLoadEventData, NativeSyntheticEvent, StyleProp, ImageStyle, ImageProps } from "react-native";
3
2
  import type { SvgProps } from "react-native-svg";
4
3
  /**
5
4
  * Base props common to all variations.
@@ -1 +1 @@
1
- {"version":3,"file":"ImageOrSvg.types.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,UAAU,EACX,8BAAqB;AACtB,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB;AAEjD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,CACb,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,KAClD,IAAI,CAAC;IACV;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAC7B;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,GAAG,EAAE,aAAa,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"ImageOrSvg.types.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,UAAU,EACX,qBAAqB;AACtB,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB;AAEjD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,CACb,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,KAClD,IAAI,CAAC;IACV;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAC7B;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,GAAG,EAAE,aAAa,CAAC;CACpB,CAAC"}
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { ImageErrorEventData, ImageLoadEventData, NativeSyntheticEvent, StyleProp, ImageStyle, ImageProps } from "react-native/index.js";
1
+ import type { ImageErrorEventData, ImageLoadEventData, NativeSyntheticEvent, StyleProp, ImageStyle, ImageProps } from "react-native";
3
2
  import type { SvgProps } from "react-native-svg";
4
3
  /**
5
4
  * Base props common to all variations.
@@ -1 +1 @@
1
- {"version":3,"file":"ImageOrSvg.types.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,UAAU,EACX,8BAAqB;AACtB,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB;AAEjD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,CACb,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,KAClD,IAAI,CAAC;IACV;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAC7B;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,GAAG,EAAE,aAAa,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"ImageOrSvg.types.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/ImageOrSvg/ImageOrSvg.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,UAAU,EACX,qBAAqB;AACtB,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB;AAEjD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,CACb,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,KAClD,IAAI,CAAC;IACV;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAC7B;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,GAAG,EAAE,aAAa,CAAC;CACpB,CAAC"}
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Jazzicon = void 0;
7
7
  const design_system_shared_1 = require("@metamask-previews/design-system-shared");
8
8
  const react_1 = __importDefault(require("react"));
9
- const react_native_1 = require("react-native/index.js");
9
+ const react_native_1 = require("react-native");
10
10
  const react_native_jazzicon_1 = __importDefault(require("react-native-jazzicon"));
11
11
  const Jazzicon = ({ testID, address, ...props }) => {
12
12
  // Extract the account address from CAIP-10 format if needed
@@ -1 +1 @@
1
- {"version":3,"file":"Jazzicon.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.tsx"],"names":[],"mappings":";;;;;;AAAA,kFAGiD;AACjD,kDAA0B;AAC1B,wDAAoC;AAEpC,kFAA+C;AAIxC,MAAM,QAAQ,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IACvE,4DAA4D;IAC5D,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,IAAA,4CAAqB,EAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAErE,8EAA8E;IAC9E,MAAM,IAAI,GAAG,IAAA,uCAAgB,EAAC,cAAc,CAAC,CAAC;IAE9C,OAAO,CACL,CAAC,mBAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACnB;MAAA,CAAC,+BAAU,CACT,IAAI,KAAK,CAAC;IACV,0GAA0G;IAC1G,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,cAAc,CAAC,CAAC;YACd,YAAY,EAAE,CAAC;YACf,GAAI,KAAK,CAAC,cAA4B;SACvC,CAAC,EAEN;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,QAAQ,YAoBnB","sourcesContent":["import {\n extractAccountAddress,\n generateIconSeed,\n} from '@metamask-previews/design-system-shared';\nimport React from 'react';\nimport { View } from 'react-native';\nimport type { ViewStyle } from 'react-native';\nimport RNJazzicon from 'react-native-jazzicon';\n\nimport type { JazziconProps } from './Jazzicon.types';\n\nexport const Jazzicon = ({ testID, address, ...props }: JazziconProps) => {\n // Extract the account address from CAIP-10 format if needed\n const accountAddress = address ? extractAccountAddress(address) : '';\n\n // Generate appropriate seed based on address format (matches MetaMask Mobile)\n const seed = generateIconSeed(accountAddress);\n\n return (\n <View testID={testID}>\n <RNJazzicon\n {...props}\n // @ts-expect-error The underlying PRNG supports the seed being an array but the component is typed wrong.\n seed={seed}\n containerStyle={{\n borderRadius: 0, // Override circular border radius to make it square\n ...(props.containerStyle as ViewStyle),\n }}\n />\n </View>\n );\n};\n"]}
1
+ {"version":3,"file":"Jazzicon.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.tsx"],"names":[],"mappings":";;;;;;AAAA,kFAGiD;AACjD,kDAA0B;AAC1B,+CAAoC;AAEpC,kFAA+C;AAIxC,MAAM,QAAQ,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IACvE,4DAA4D;IAC5D,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,IAAA,4CAAqB,EAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAErE,8EAA8E;IAC9E,MAAM,IAAI,GAAG,IAAA,uCAAgB,EAAC,cAAc,CAAC,CAAC;IAE9C,OAAO,CACL,CAAC,mBAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACnB;MAAA,CAAC,+BAAU,CACT,IAAI,KAAK,CAAC;IACV,0GAA0G;IAC1G,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,cAAc,CAAC,CAAC;YACd,YAAY,EAAE,CAAC;YACf,GAAI,KAAK,CAAC,cAA4B;SACvC,CAAC,EAEN;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,QAAQ,YAoBnB","sourcesContent":["import {\n extractAccountAddress,\n generateIconSeed,\n} from '@metamask-previews/design-system-shared';\nimport React from 'react';\nimport { View } from 'react-native';\nimport type { ViewStyle } from 'react-native';\nimport RNJazzicon from 'react-native-jazzicon';\n\nimport type { JazziconProps } from './Jazzicon.types';\n\nexport const Jazzicon = ({ testID, address, ...props }: JazziconProps) => {\n // Extract the account address from CAIP-10 format if needed\n const accountAddress = address ? extractAccountAddress(address) : '';\n\n // Generate appropriate seed based on address format (matches MetaMask Mobile)\n const seed = generateIconSeed(accountAddress);\n\n return (\n <View testID={testID}>\n <RNJazzicon\n {...props}\n // @ts-expect-error The underlying PRNG supports the seed being an array but the component is typed wrong.\n seed={seed}\n containerStyle={{\n borderRadius: 0, // Override circular border radius to make it square\n ...(props.containerStyle as ViewStyle),\n }}\n />\n </View>\n );\n};\n"]}
@@ -7,7 +7,7 @@ function $importDefault(module) {
7
7
  import { extractAccountAddress, generateIconSeed } from "@metamask-previews/design-system-shared";
8
8
  import $React from "react";
9
9
  const React = $importDefault($React);
10
- import { View } from "react-native/index.js";
10
+ import { View } from "react-native";
11
11
  import $RNJazzicon from "react-native-jazzicon";
12
12
  const RNJazzicon = $importDefault($RNJazzicon);
13
13
  export const Jazzicon = ({ testID, address, ...props }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Jazzicon.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,gDAAgD;AACjD,OAAO,MAAK,cAAc;;AAC1B,OAAO,EAAE,IAAI,EAAE,8BAAqB;AAEpC,OAAO,WAAU,8BAA8B;;AAI/C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IACvE,4DAA4D;IAC5D,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAErE,8EAA8E;IAC9E,MAAM,IAAI,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE9C,OAAO,CACL,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACnB;MAAA,CAAC,UAAU,CACT,IAAI,KAAK,CAAC;IACV,0GAA0G;IAC1G,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,cAAc,CAAC,CAAC;YACd,YAAY,EAAE,CAAC;YACf,GAAI,KAAK,CAAC,cAA4B;SACvC,CAAC,EAEN;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n extractAccountAddress,\n generateIconSeed,\n} from '@metamask-previews/design-system-shared';\nimport React from 'react';\nimport { View } from 'react-native';\nimport type { ViewStyle } from 'react-native';\nimport RNJazzicon from 'react-native-jazzicon';\n\nimport type { JazziconProps } from './Jazzicon.types';\n\nexport const Jazzicon = ({ testID, address, ...props }: JazziconProps) => {\n // Extract the account address from CAIP-10 format if needed\n const accountAddress = address ? extractAccountAddress(address) : '';\n\n // Generate appropriate seed based on address format (matches MetaMask Mobile)\n const seed = generateIconSeed(accountAddress);\n\n return (\n <View testID={testID}>\n <RNJazzicon\n {...props}\n // @ts-expect-error The underlying PRNG supports the seed being an array but the component is typed wrong.\n seed={seed}\n containerStyle={{\n borderRadius: 0, // Override circular border radius to make it square\n ...(props.containerStyle as ViewStyle),\n }}\n />\n </View>\n );\n};\n"]}
1
+ {"version":3,"file":"Jazzicon.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,gDAAgD;AACjD,OAAO,MAAK,cAAc;;AAC1B,OAAO,EAAE,IAAI,EAAE,qBAAqB;AAEpC,OAAO,WAAU,8BAA8B;;AAI/C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IACvE,4DAA4D;IAC5D,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAErE,8EAA8E;IAC9E,MAAM,IAAI,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE9C,OAAO,CACL,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACnB;MAAA,CAAC,UAAU,CACT,IAAI,KAAK,CAAC;IACV,0GAA0G;IAC1G,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,cAAc,CAAC,CAAC;YACd,YAAY,EAAE,CAAC;YACf,GAAI,KAAK,CAAC,cAA4B;SACvC,CAAC,EAEN;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n extractAccountAddress,\n generateIconSeed,\n} from '@metamask-previews/design-system-shared';\nimport React from 'react';\nimport { View } from 'react-native';\nimport type { ViewStyle } from 'react-native';\nimport RNJazzicon from 'react-native-jazzicon';\n\nimport type { JazziconProps } from './Jazzicon.types';\n\nexport const Jazzicon = ({ testID, address, ...props }: JazziconProps) => {\n // Extract the account address from CAIP-10 format if needed\n const accountAddress = address ? extractAccountAddress(address) : '';\n\n // Generate appropriate seed based on address format (matches MetaMask Mobile)\n const seed = generateIconSeed(accountAddress);\n\n return (\n <View testID={testID}>\n <RNJazzicon\n {...props}\n // @ts-expect-error The underlying PRNG supports the seed being an array but the component is typed wrong.\n seed={seed}\n containerStyle={{\n borderRadius: 0, // Override circular border radius to make it square\n ...(props.containerStyle as ViewStyle),\n }}\n />\n </View>\n );\n};\n"]}
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Maskicon = void 0;
27
27
  const react_1 = __importStar(require("react"));
28
- const react_native_1 = require("react-native/index.js");
28
+ const react_native_1 = require("react-native");
29
29
  const react_native_svg_1 = require("react-native-svg");
30
30
  const Maskicon_utilities_1 = require("./Maskicon.utilities.cjs");
31
31
  const Maskicon = ({ address, size = 32, ...props }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Maskicon.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmD;AACnD,wDAAoC;AACpC,uDAA0C;AAG1C,iEAAsD;AAE/C,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,CAAC,CAAC;IAE/C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,mCAAmC;QACnC,KAAK,CAAC,KAAK,IAAI,EAAE;YACf,MAAM,MAAM,GAAG,MAAM,IAAA,mCAAc,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,SAAS,EAAE;gBACd,YAAY,CAAC,MAAM,CAAC,CAAC;aACtB;QACH,CAAC,CAAC,EAAE,CAAC;QACL,OAAO,GAAG,EAAE;YACV,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,CAAC,mBAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAG,CAAC;KACvD;IAED,OAAO,CAAC,yBAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC1E,CAAC,CAAC;AAtBW,QAAA,QAAQ,YAsBnB","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { View } from 'react-native';\nimport { SvgXml } from 'react-native-svg';\n\nimport type { MaskiconProps } from './Maskicon.types';\nimport { getMaskiconSVG } from './Maskicon.utilities';\n\nexport const Maskicon = ({ address, size = 32, ...props }: MaskiconProps) => {\n const [svgString, setSvgString] = useState('');\n\n useEffect(() => {\n let cancelled = false;\n // eslint-disable-next-line no-void\n void (async () => {\n const newSvg = await getMaskiconSVG(address, size);\n if (!cancelled) {\n setSvgString(newSvg);\n }\n })();\n return () => {\n cancelled = true;\n };\n }, [address, size]);\n\n if (!svgString) {\n return <View style={{ width: size, height: size }} />;\n }\n\n return <SvgXml xml={svgString} width={size} height={size} {...props} />;\n};\n"]}
1
+ {"version":3,"file":"Maskicon.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmD;AACnD,+CAAoC;AACpC,uDAA0C;AAG1C,iEAAsD;AAE/C,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,CAAC,CAAC;IAE/C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,mCAAmC;QACnC,KAAK,CAAC,KAAK,IAAI,EAAE;YACf,MAAM,MAAM,GAAG,MAAM,IAAA,mCAAc,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,SAAS,EAAE;gBACd,YAAY,CAAC,MAAM,CAAC,CAAC;aACtB;QACH,CAAC,CAAC,EAAE,CAAC;QACL,OAAO,GAAG,EAAE;YACV,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,CAAC,mBAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAG,CAAC;KACvD;IAED,OAAO,CAAC,yBAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC1E,CAAC,CAAC;AAtBW,QAAA,QAAQ,YAsBnB","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { View } from 'react-native';\nimport { SvgXml } from 'react-native-svg';\n\nimport type { MaskiconProps } from './Maskicon.types';\nimport { getMaskiconSVG } from './Maskicon.utilities';\n\nexport const Maskicon = ({ address, size = 32, ...props }: MaskiconProps) => {\n const [svgString, setSvgString] = useState('');\n\n useEffect(() => {\n let cancelled = false;\n // eslint-disable-next-line no-void\n void (async () => {\n const newSvg = await getMaskiconSVG(address, size);\n if (!cancelled) {\n setSvgString(newSvg);\n }\n })();\n return () => {\n cancelled = true;\n };\n }, [address, size]);\n\n if (!svgString) {\n return <View style={{ width: size, height: size }} />;\n }\n\n return <SvgXml xml={svgString} width={size} height={size} {...props} />;\n};\n"]}
@@ -6,7 +6,7 @@ function $importDefault(module) {
6
6
  }
7
7
  import $React, { useEffect, useState } from "react";
8
8
  const React = $importDefault($React);
9
- import { View } from "react-native/index.js";
9
+ import { View } from "react-native";
10
10
  import { SvgXml } from "react-native-svg";
11
11
  import { getMaskiconSVG } from "./Maskicon.utilities.mjs";
12
12
  export const Maskicon = ({ address, size = 32, ...props }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Maskicon.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,QAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc;;AACnD,OAAO,EAAE,IAAI,EAAE,8BAAqB;AACpC,OAAO,EAAE,MAAM,EAAE,yBAAyB;AAG1C,OAAO,EAAE,cAAc,EAAE,iCAA6B;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,mCAAmC;QACnC,KAAK,CAAC,KAAK,IAAI,EAAE;YACf,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,SAAS,EAAE;gBACd,YAAY,CAAC,MAAM,CAAC,CAAC;aACtB;QACH,CAAC,CAAC,EAAE,CAAC;QACL,OAAO,GAAG,EAAE;YACV,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAG,CAAC;KACvD;IAED,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC1E,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { View } from 'react-native';\nimport { SvgXml } from 'react-native-svg';\n\nimport type { MaskiconProps } from './Maskicon.types';\nimport { getMaskiconSVG } from './Maskicon.utilities';\n\nexport const Maskicon = ({ address, size = 32, ...props }: MaskiconProps) => {\n const [svgString, setSvgString] = useState('');\n\n useEffect(() => {\n let cancelled = false;\n // eslint-disable-next-line no-void\n void (async () => {\n const newSvg = await getMaskiconSVG(address, size);\n if (!cancelled) {\n setSvgString(newSvg);\n }\n })();\n return () => {\n cancelled = true;\n };\n }, [address, size]);\n\n if (!svgString) {\n return <View style={{ width: size, height: size }} />;\n }\n\n return <SvgXml xml={svgString} width={size} height={size} {...props} />;\n};\n"]}
1
+ {"version":3,"file":"Maskicon.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Maskicon/Maskicon.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,QAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc;;AACnD,OAAO,EAAE,IAAI,EAAE,qBAAqB;AACpC,OAAO,EAAE,MAAM,EAAE,yBAAyB;AAG1C,OAAO,EAAE,cAAc,EAAE,iCAA6B;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,mCAAmC;QACnC,KAAK,CAAC,KAAK,IAAI,EAAE;YACf,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACnD,IAAI,CAAC,SAAS,EAAE;gBACd,YAAY,CAAC,MAAM,CAAC,CAAC;aACtB;QACH,CAAC,CAAC,EAAE,CAAC;QACL,OAAO,GAAG,EAAE;YACV,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAG,CAAC;KACvD;IAED,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC1E,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { View } from 'react-native';\nimport { SvgXml } from 'react-native-svg';\n\nimport type { MaskiconProps } from './Maskicon.types';\nimport { getMaskiconSVG } from './Maskicon.utilities';\n\nexport const Maskicon = ({ address, size = 32, ...props }: MaskiconProps) => {\n const [svgString, setSvgString] = useState('');\n\n useEffect(() => {\n let cancelled = false;\n // eslint-disable-next-line no-void\n void (async () => {\n const newSvg = await getMaskiconSVG(address, size);\n if (!cancelled) {\n setSvgString(newSvg);\n }\n })();\n return () => {\n cancelled = true;\n };\n }, [address, size]);\n\n if (!svgString) {\n return <View style={{ width: size, height: size }} />;\n }\n\n return <SvgXml xml={svgString} width={size} height={size} {...props} />;\n};\n"]}
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Spinner = void 0;
27
27
  const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
28
28
  const react_1 = __importStar(require("react"));
29
- const react_native_1 = require("react-native/index.js");
29
+ const react_native_1 = require("react-native");
30
30
  const react_native_reanimated_1 = __importStar(require("react-native-reanimated"));
31
31
  const Icon_1 = require("../../Icon/index.cjs");
32
32
  const Text_1 = require("../../Text/index.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAA4E;AAC5E,+CAAyC;AACzC,wDAAoC;AACpC,mFAMiC;AAGjC,+CAAiE;AAEjE,+CAA0D;AAInD,MAAM,OAAO,GAAG,CAAC,EACtB,KAAK,GAAG,gBAAS,CAAC,WAAW,EAC7B,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACK,EAAE,EAAE;IACjB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,qCAAqC;IACrC,MAAM,QAAQ,GAAG,IAAA,wCAAc,EAAC,CAAC,CAAC,CAAC;IAEnC,gDAAgD;IAChD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,QAAQ,CAAC,KAAK,GAAG,IAAA,oCAAU,EACzB,IAAA,oCAAU,EAAC,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,gCAAM,CAAC,MAAM,EAAE,CAAC,EAAE,mCAAmC;QAC/F,CAAC,CAAC,EAAE,uBAAuB;QAC3B,KAAK,CACN,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,4BAA4B;IAC5B,MAAM,aAAa,GAAG,IAAA,0CAAgB,EAAC,GAAG,EAAE,CAAC,CAAC;QAC5C,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,KAAK,GAAG,GAAG,KAAK,EAAE,CAAC;KACtD,CAAC,CAAC,CAAC;IAEJ,MAAM,qBAAqB,GAAc;QACvC,IAAI,EAAE,eAAQ,CAAC,EAAE;QACjB,IAAI,EAAE,eAAQ,CAAC,OAAO;QACtB,MAAM,EAAE,cAAc;QACtB,KAAK;QACL,GAAG,gBAAgB;KACpB,CAAC;IAEF,MAAM,qBAAqB,GAAuB;QAChD,OAAO,EAAE,kBAAW,CAAC,MAAM;QAC3B,KAAK,EAAE,gBAAS,CAAC,WAAW;QAC5B,MAAM,EAAE,cAAc;QACtB,GAAG,gBAAgB;KACpB,CAAC;IAEF,OAAO,CACL,CAAC,mBAAI,CACH,IAAI,KAAK,CAAC,CACV,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,+BAA+B,EAAE,WAAW,CAAC,EAAE,KAAK,CAAC,CAAC,CAEvE;MAAA,CAAC,iCAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,uBAAuB,CACnE;QAAA,CAAC,WAAI,CAAC,IAAI,qBAAqB,CAAC,EAClC;MAAA,EAAE,iCAAQ,CAAC,IAAI,CACf;MAAA,CAAC,WAAW,IAAI,CAAC,WAAI,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,WAAI,CAAC,CACvE;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAtDW,QAAA,OAAO,WAsDlB","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useEffect } from 'react';\nimport { View } from 'react-native';\nimport Animated, {\n useSharedValue,\n useAnimatedStyle,\n withRepeat,\n withTiming,\n Easing,\n} from 'react-native-reanimated';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon, IconColor, IconName, IconSize } from '../../Icon';\nimport type { TextProps } from '../../Text';\nimport { Text, TextVariant, TextColor } from '../../Text';\n\nimport type { SpinnerProps } from './Spinner.types';\n\nexport const Spinner = ({\n color = IconColor.IconDefault,\n spinnerIconProps,\n loadingText,\n loadingTextProps,\n twClassName,\n style,\n ...props\n}: SpinnerProps) => {\n const tw = useTailwind();\n\n // Create a shared value for rotation\n const rotation = useSharedValue(0);\n\n // Start the animation when the component mounts\n useEffect(() => {\n rotation.value = withRepeat(\n withTiming(360, { duration: 1000, easing: Easing.linear }), // Complete a full spin in 1 second\n -1, // Infinite repetitions\n false, // Do not reverse the animation\n );\n }, []);\n\n // Define the animated style\n const animatedStyle = useAnimatedStyle(() => ({\n transform: [{ rotate: `${rotation.value % 360}deg` }],\n }));\n\n const finalSpinnerIconProps: IconProps = {\n size: IconSize.Md,\n name: IconName.Loading,\n testID: 'spinner-icon',\n color,\n ...spinnerIconProps,\n };\n\n const finalLoadingTextProps: Partial<TextProps> = {\n variant: TextVariant.BodyMd,\n color: TextColor.TextDefault,\n testID: 'spinner-text',\n ...loadingTextProps,\n };\n\n return (\n <View\n {...props}\n style={[tw.style('flex-row items-center gap-x-2', twClassName), style]}\n >\n <Animated.View style={[animatedStyle]} testID=\"spinner-animated-view\">\n <Icon {...finalSpinnerIconProps} />\n </Animated.View>\n {loadingText && <Text {...finalLoadingTextProps}>{loadingText}</Text>}\n </View>\n );\n};\n"]}
1
+ {"version":3,"file":"Spinner.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAA4E;AAC5E,+CAAyC;AACzC,+CAAoC;AACpC,mFAMiC;AAGjC,+CAAiE;AAEjE,+CAA0D;AAInD,MAAM,OAAO,GAAG,CAAC,EACtB,KAAK,GAAG,gBAAS,CAAC,WAAW,EAC7B,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACK,EAAE,EAAE;IACjB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,qCAAqC;IACrC,MAAM,QAAQ,GAAG,IAAA,wCAAc,EAAC,CAAC,CAAC,CAAC;IAEnC,gDAAgD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C,WAAI,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,WAAI,CAAC,CACvE;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAtDW,QAAA,OAAO,WAsDlB","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useEffect } from 'react';\nimport { View } from 'react-native';\nimport Animated, {\n useSharedValue,\n useAnimatedStyle,\n withRepeat,\n withTiming,\n Easing,\n} from 'react-native-reanimated';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon, IconColor, IconName, IconSize } from '../../Icon';\nimport type { TextProps } from '../../Text';\nimport { Text, TextVariant, TextColor } from '../../Text';\n\nimport type { SpinnerProps } from './Spinner.types';\n\nexport const Spinner = ({\n color = IconColor.IconDefault,\n spinnerIconProps,\n loadingText,\n loadingTextProps,\n twClassName,\n style,\n ...props\n}: SpinnerProps) => {\n const tw = useTailwind();\n\n // Create a shared value for rotation\n const rotation = useSharedValue(0);\n\n // Start the animation when the component mounts\n useEffect(() => {\n rotation.value = withRepeat(\n withTiming(360, { duration: 1000, easing: Easing.linear }), // Complete a full spin in 1 second\n -1, // Infinite repetitions\n false, // Do not reverse the animation\n );\n }, []);\n\n // Define the animated style\n const animatedStyle = useAnimatedStyle(() => ({\n transform: [{ rotate: `${rotation.value % 360}deg` }],\n }));\n\n const finalSpinnerIconProps: IconProps = {\n size: IconSize.Md,\n name: IconName.Loading,\n testID: 'spinner-icon',\n color,\n ...spinnerIconProps,\n };\n\n const finalLoadingTextProps: Partial<TextProps> = {\n variant: TextVariant.BodyMd,\n color: TextColor.TextDefault,\n testID: 'spinner-text',\n ...loadingTextProps,\n };\n\n return (\n <View\n {...props}\n style={[tw.style('flex-row items-center gap-x-2', twClassName), style]}\n >\n <Animated.View style={[animatedStyle]} testID=\"spinner-animated-view\">\n <Icon {...finalSpinnerIconProps} />\n </Animated.View>\n {loadingText && <Text {...finalLoadingTextProps}>{loadingText}</Text>}\n </View>\n );\n};\n"]}
@@ -7,7 +7,7 @@ function $importDefault(module) {
7
7
  import { useTailwind } from "@metamask-previews/design-system-twrnc-preset";
8
8
  import $React, { useEffect } from "react";
9
9
  const React = $importDefault($React);
10
- import { View } from "react-native/index.js";
10
+ import { View } from "react-native";
11
11
  import Animated, { useSharedValue, useAnimatedStyle, withRepeat, withTiming, Easing } from "react-native-reanimated";
12
12
  import { Icon, IconColor, IconName, IconSize } from "../../Icon/index.mjs";
13
13
  import { Text, TextVariant, TextColor } from "../../Text/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,sDAAsD;AAC5E,OAAO,QAAO,EAAE,SAAS,EAAE,cAAc;;AACzC,OAAO,EAAE,IAAI,EAAE,8BAAqB;AACpC,OAAO,QAAQ,EAAE,EACf,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,MAAM,EACP,gCAAgC;AAGjC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,6BAAmB;AAEjE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,6BAAmB;AAI1D,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EACtB,KAAK,GAAG,SAAS,CAAC,WAAW,EAC7B,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACK,EAAE,EAAE;IACjB,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAEzB,qCAAqC;IACrC,MAAM,QAAQ,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;IAEnC,gDAAgD;IAChD,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,CAAC,KAAK,GAAG,UAAU,CACzB,UAAU,CAAC,GAAG,EAAE,EAAE,QAAQ,EAAE,I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ind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useEffect } from 'react';\nimport { View } from 'react-native';\nimport Animated, {\n useSharedValue,\n useAnimatedStyle,\n withRepeat,\n withTiming,\n Easing,\n} from 'react-native-reanimated';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon, IconColor, IconName, IconSize } from '../../Icon';\nimport type { TextProps } from '../../Text';\nimport { Text, TextVariant, TextColor } from '../../Text';\n\nimport type { SpinnerProps } from './Spinner.types';\n\nexport const Spinner = ({\n color = IconColor.IconDefault,\n spinnerIconProps,\n loadingText,\n loadingTextProps,\n twClassName,\n style,\n ...props\n}: SpinnerProps) => {\n const tw = useTailwind();\n\n // Create a shared value for rotation\n const rotation = useSharedValue(0);\n\n // Start the animation when the component mounts\n useEffect(() => {\n rotation.value = withRepeat(\n withTiming(360, { duration: 1000, easing: Easing.linear }), // Complete a full spin in 1 second\n -1, // Infinite repetitions\n false, // Do not reverse the animation\n );\n }, []);\n\n // Define the animated style\n const animatedStyle = useAnimatedStyle(() => ({\n transform: [{ rotate: `${rotation.value % 360}deg` }],\n }));\n\n const finalSpinnerIconProps: IconProps = {\n size: IconSize.Md,\n name: IconName.Loading,\n testID: 'spinner-icon',\n color,\n ...spinnerIconProps,\n };\n\n const finalLoadingTextProps: Partial<TextProps> = {\n variant: TextVariant.BodyMd,\n color: TextColor.TextDefault,\n testID: 'spinner-text',\n ...loadingTextProps,\n };\n\n return (\n <View\n {...props}\n style={[tw.style('flex-row items-center gap-x-2', twClassName), style]}\n >\n <Animated.View style={[animatedStyle]} testID=\"spinner-animated-view\">\n <Icon {...finalSpinnerIconProps} />\n </Animated.View>\n {loadingText && <Text {...finalLoadingTextProps}>{loadingText}</Text>}\n </View>\n );\n};\n"]}
1
+ {"version":3,"file":"Spinner.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,sDAAsD;AAC5E,OAAO,QAAO,EAA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gBAAgB;KACpB,CAAC;IAEF,MAAM,qBAAqB,GAAuB;QAChD,OAAO,EAAE,WAAW,CAAC,MAAM;QAC3B,KAAK,EAAE,SAAS,CAAC,WAAW;QAC5B,MAAM,EAAE,cAAc;QACtB,GAAG,gBAAgB;KACpB,CAAC;IAEF,OAAO,CACL,CAAC,IAAI,CACH,IAAI,KAAK,CAAC,CACV,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,+BAA+B,EAAE,WAAW,CAAC,EAAE,KAAK,CAAC,CAAC,CAEvE;MAAA,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,uBAAuB,CACnE;QAAA,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,EAClC;MAAA,EAAE,QAAQ,CAAC,IAAI,CACf;MAAA,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CACvE;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useEffect } from 'react';\nimport { View } from 'react-native';\nimport Animated, {\n useSharedValue,\n useAnimatedStyle,\n withRepeat,\n withTiming,\n Easing,\n} from 'react-native-reanimated';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon, IconColor, IconName, IconSize } from '../../Icon';\nimport type { TextProps } from '../../Text';\nimport { Text, TextVariant, TextColor } from '../../Text';\n\nimport type { SpinnerProps } from './Spinner.types';\n\nexport const Spinner = ({\n color = IconColor.IconDefault,\n spinnerIconProps,\n loadingText,\n loadingTextProps,\n twClassName,\n style,\n ...props\n}: SpinnerProps) => {\n const tw = useTailwind();\n\n // Create a shared value for rotation\n const rotation = useSharedValue(0);\n\n // Start the animation when the component mounts\n useEffect(() => {\n rotation.value = withRepeat(\n withTiming(360, { duration: 1000, easing: Easing.linear }), // Complete a full spin in 1 second\n -1, // Infinite repetitions\n false, // Do not reverse the animation\n );\n }, []);\n\n // Define the animated style\n const animatedStyle = useAnimatedStyle(() => ({\n transform: [{ rotate: `${rotation.value % 360}deg` }],\n }));\n\n const finalSpinnerIconProps: IconProps = {\n size: IconSize.Md,\n name: IconName.Loading,\n testID: 'spinner-icon',\n color,\n ...spinnerIconProps,\n };\n\n const finalLoadingTextProps: Partial<TextProps> = {\n variant: TextVariant.BodyMd,\n color: TextColor.TextDefault,\n testID: 'spinner-text',\n ...loadingTextProps,\n };\n\n return (\n <View\n {...props}\n style={[tw.style('flex-row items-center gap-x-2', twClassName), style]}\n >\n <Animated.View style={[animatedStyle]} testID=\"spinner-animated-view\">\n <Icon {...finalSpinnerIconProps} />\n </Animated.View>\n {loadingText && <Text {...finalLoadingTextProps}>{loadingText}</Text>}\n </View>\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
- import type { ViewProps } from "react-native/index.js";
1
+ import type { ViewProps } from "react-native";
2
2
  import type { IconProps, IconColor } from "../../Icon/index.cjs";
3
3
  import type { TextProps } from "../../Text/index.cjs";
4
4
  /**