decentraland-ui2 0.0.2 → 0.0.3-9857431499.commit-4197294

Sign up to get free protection for your applications and to get access to all the features.
Files changed (567) hide show
  1. package/dist/components/AddressField/utils.d.ts +3 -0
  2. package/dist/components/AddressField/utils.js +8 -0
  3. package/dist/components/AddressField/utils.js.map +1 -0
  4. package/dist/components/AddressField/utils.spec.d.ts +1 -0
  5. package/dist/components/AddressField/utils.spec.js +21 -0
  6. package/dist/components/AddressField/utils.spec.js.map +1 -0
  7. package/dist/components/Atlas/Atlas.d.ts +3 -42
  8. package/dist/components/Atlas/Atlas.js +3 -21
  9. package/dist/components/Atlas/Atlas.js.map +1 -1
  10. package/dist/components/Atlas/Atlas.stories.d.ts +9 -8
  11. package/dist/components/Atlas/Atlas.stories.js +11 -9
  12. package/dist/components/Atlas/Atlas.stories.js.map +1 -1
  13. package/dist/components/Atlas/Atlas.types.d.ts +41 -0
  14. package/dist/components/Atlas/Atlas.types.js +20 -0
  15. package/dist/components/Atlas/Atlas.types.js.map +1 -0
  16. package/dist/components/Atlas/index.d.ts +4 -0
  17. package/dist/components/Atlas/index.js +3 -0
  18. package/dist/components/Atlas/index.js.map +1 -0
  19. package/dist/components/Atlas/util.d.ts +4 -3
  20. package/dist/components/Atlas/util.js +5 -4
  21. package/dist/components/Atlas/util.js.map +1 -1
  22. package/dist/components/AvatarFace/AvatarFace.d.ts +4 -0
  23. package/dist/components/AvatarFace/AvatarFace.js +13 -0
  24. package/dist/components/AvatarFace/AvatarFace.js.map +1 -0
  25. package/dist/components/AvatarFace/AvatarFace.stories.d.ts +10 -0
  26. package/dist/components/AvatarFace/AvatarFace.stories.js +47 -0
  27. package/dist/components/AvatarFace/AvatarFace.stories.js.map +1 -0
  28. package/dist/components/AvatarFace/AvatarFace.styled.d.ts +12 -0
  29. package/dist/components/AvatarFace/AvatarFace.styled.js +49 -0
  30. package/dist/components/AvatarFace/AvatarFace.styled.js.map +1 -0
  31. package/dist/components/AvatarFace/AvatarFace.types.d.ts +7 -0
  32. package/dist/components/AvatarFace/AvatarFace.types.js +2 -0
  33. package/dist/components/AvatarFace/AvatarFace.types.js.map +1 -0
  34. package/dist/components/AvatarFace/index.d.ts +2 -0
  35. package/dist/components/AvatarFace/index.js +3 -0
  36. package/dist/components/AvatarFace/index.js.map +1 -0
  37. package/dist/components/Icon/Emotes/MuteIcon.d.ts +4 -0
  38. package/dist/components/Icon/Emotes/MuteIcon.js +8 -0
  39. package/dist/components/Icon/Emotes/MuteIcon.js.map +1 -0
  40. package/dist/components/Icon/Emotes/PropsIcon.d.ts +4 -0
  41. package/dist/components/Icon/Emotes/PropsIcon.js +8 -0
  42. package/dist/components/Icon/Emotes/PropsIcon.js.map +1 -0
  43. package/dist/components/Icon/Emotes/SoundIcon.d.ts +4 -0
  44. package/dist/components/Icon/Emotes/SoundIcon.js +8 -0
  45. package/dist/components/Icon/Emotes/SoundIcon.js.map +1 -0
  46. package/dist/components/Icon/Emotes/VolumeIcon.d.ts +4 -0
  47. package/dist/components/Icon/Emotes/VolumeIcon.js +8 -0
  48. package/dist/components/Icon/Emotes/VolumeIcon.js.map +1 -0
  49. package/dist/components/Icon/ManaEthIcon.d.ts +4 -0
  50. package/dist/components/Icon/ManaEthIcon.js +8 -0
  51. package/dist/components/Icon/ManaEthIcon.js.map +1 -0
  52. package/dist/components/Icon/ManaMaticIcon.d.ts +4 -0
  53. package/dist/components/Icon/ManaMaticIcon.js +8 -0
  54. package/dist/components/Icon/ManaMaticIcon.js.map +1 -0
  55. package/dist/components/Icon/Notifications/AccessRestoredIcon.d.ts +4 -0
  56. package/dist/components/Icon/Notifications/AccessRestoredIcon.js +8 -0
  57. package/dist/components/Icon/Notifications/AccessRestoredIcon.js.map +1 -0
  58. package/dist/components/Icon/Notifications/AccessRestrictedIcon.d.ts +4 -0
  59. package/dist/components/Icon/Notifications/AccessRestrictedIcon.js +8 -0
  60. package/dist/components/Icon/Notifications/AccessRestrictedIcon.js.map +1 -0
  61. package/dist/components/Icon/Notifications/BidAcceptedIcon.d.ts +4 -0
  62. package/dist/components/Icon/Notifications/BidAcceptedIcon.js +8 -0
  63. package/dist/components/Icon/Notifications/BidAcceptedIcon.js.map +1 -0
  64. package/dist/components/Icon/Notifications/BidReceivedIcon.d.ts +4 -0
  65. package/dist/components/Icon/Notifications/BidReceivedIcon.js +8 -0
  66. package/dist/components/Icon/Notifications/BidReceivedIcon.js.map +1 -0
  67. package/dist/components/Icon/Notifications/CoauthorIcon.d.ts +4 -0
  68. package/dist/components/Icon/Notifications/CoauthorIcon.js +8 -0
  69. package/dist/components/Icon/Notifications/CoauthorIcon.js.map +1 -0
  70. package/dist/components/Icon/Notifications/EmptyInboxIcon.d.ts +4 -0
  71. package/dist/components/Icon/Notifications/EmptyInboxIcon.js +8 -0
  72. package/dist/components/Icon/Notifications/EmptyInboxIcon.js.map +1 -0
  73. package/dist/components/Icon/Notifications/EventCancelledIcon.d.ts +4 -0
  74. package/dist/components/Icon/Notifications/EventCancelledIcon.js +8 -0
  75. package/dist/components/Icon/Notifications/EventCancelledIcon.js.map +1 -0
  76. package/dist/components/Icon/Notifications/EventStartedIcon.d.ts +4 -0
  77. package/dist/components/Icon/Notifications/EventStartedIcon.js +8 -0
  78. package/dist/components/Icon/Notifications/EventStartedIcon.js.map +1 -0
  79. package/dist/components/Icon/Notifications/EventStartsSoonIcon.d.ts +4 -0
  80. package/dist/components/Icon/Notifications/EventStartsSoonIcon.js +8 -0
  81. package/dist/components/Icon/Notifications/EventStartsSoonIcon.js.map +1 -0
  82. package/dist/components/Icon/Notifications/GovernanceIcon.d.ts +4 -0
  83. package/dist/components/Icon/Notifications/GovernanceIcon.js +8 -0
  84. package/dist/components/Icon/Notifications/GovernanceIcon.js.map +1 -0
  85. package/dist/components/Icon/Notifications/HistoryIcon.d.ts +4 -0
  86. package/dist/components/Icon/Notifications/HistoryIcon.js +8 -0
  87. package/dist/components/Icon/Notifications/HistoryIcon.js.map +1 -0
  88. package/dist/components/Icon/Notifications/ItemAirdroppedIcon.d.ts +4 -0
  89. package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js +8 -0
  90. package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js.map +1 -0
  91. package/dist/components/Icon/Notifications/ItemSoldIcon.d.ts +4 -0
  92. package/dist/components/Icon/Notifications/ItemSoldIcon.js +8 -0
  93. package/dist/components/Icon/Notifications/ItemSoldIcon.js.map +1 -0
  94. package/dist/components/Icon/Notifications/LandRentedIcon.d.ts +4 -0
  95. package/dist/components/Icon/Notifications/LandRentedIcon.js +8 -0
  96. package/dist/components/Icon/Notifications/LandRentedIcon.js.map +1 -0
  97. package/dist/components/Icon/Notifications/ManaMainnetIcon.d.ts +4 -0
  98. package/dist/components/Icon/Notifications/ManaMainnetIcon.js +8 -0
  99. package/dist/components/Icon/Notifications/ManaMainnetIcon.js.map +1 -0
  100. package/dist/components/Icon/Notifications/ManaPolygonIcon.d.ts +4 -0
  101. package/dist/components/Icon/Notifications/ManaPolygonIcon.js +8 -0
  102. package/dist/components/Icon/Notifications/ManaPolygonIcon.js.map +1 -0
  103. package/dist/components/Icon/Notifications/MissingResourcesIcon.d.ts +4 -0
  104. package/dist/components/Icon/Notifications/MissingResourcesIcon.js +8 -0
  105. package/dist/components/Icon/Notifications/MissingResourcesIcon.js.map +1 -0
  106. package/dist/components/Icon/Notifications/NewCommentIcon.d.ts +4 -0
  107. package/dist/components/Icon/Notifications/NewCommentIcon.js +8 -0
  108. package/dist/components/Icon/Notifications/NewCommentIcon.js.map +1 -0
  109. package/dist/components/Icon/Notifications/NewNotificationIcon.d.ts +4 -0
  110. package/dist/components/Icon/Notifications/NewNotificationIcon.js +8 -0
  111. package/dist/components/Icon/Notifications/NewNotificationIcon.js.map +1 -0
  112. package/dist/components/Icon/Notifications/NotificationBellActiveIcon.d.ts +4 -0
  113. package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js +10 -0
  114. package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js.map +1 -0
  115. package/dist/components/Icon/Notifications/NotificationBellIcon.d.ts +4 -0
  116. package/dist/components/Icon/Notifications/NotificationBellIcon.js +10 -0
  117. package/dist/components/Icon/Notifications/NotificationBellIcon.js.map +1 -0
  118. package/dist/components/Icon/Notifications/PermissionGrantedIcon.d.ts +4 -0
  119. package/dist/components/Icon/Notifications/PermissionGrantedIcon.js +8 -0
  120. package/dist/components/Icon/Notifications/PermissionGrantedIcon.js.map +1 -0
  121. package/dist/components/Icon/Notifications/PermissionRevokedIcon.d.ts +4 -0
  122. package/dist/components/Icon/Notifications/PermissionRevokedIcon.js +8 -0
  123. package/dist/components/Icon/Notifications/PermissionRevokedIcon.js.map +1 -0
  124. package/dist/components/Icon/Notifications/PitchIcon.d.ts +4 -0
  125. package/dist/components/Icon/Notifications/PitchIcon.js +8 -0
  126. package/dist/components/Icon/Notifications/PitchIcon.js.map +1 -0
  127. package/dist/components/Icon/Notifications/ProjectEnactedIcon.d.ts +4 -0
  128. package/dist/components/Icon/Notifications/ProjectEnactedIcon.js +8 -0
  129. package/dist/components/Icon/Notifications/ProjectEnactedIcon.js.map +1 -0
  130. package/dist/components/Icon/Notifications/ProposalFinishedIcon.d.ts +4 -0
  131. package/dist/components/Icon/Notifications/ProposalFinishedIcon.js +8 -0
  132. package/dist/components/Icon/Notifications/ProposalFinishedIcon.js.map +1 -0
  133. package/dist/components/Icon/Notifications/RentPeriodEndingIcon.d.ts +4 -0
  134. package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js +8 -0
  135. package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js.map +1 -0
  136. package/dist/components/Icon/Notifications/RewardIcon.d.ts +4 -0
  137. package/dist/components/Icon/Notifications/RewardIcon.js +8 -0
  138. package/dist/components/Icon/Notifications/RewardIcon.js.map +1 -0
  139. package/dist/components/Icon/Notifications/TenderIcon.d.ts +4 -0
  140. package/dist/components/Icon/Notifications/TenderIcon.js +8 -0
  141. package/dist/components/Icon/Notifications/TenderIcon.js.map +1 -0
  142. package/dist/components/Icon/Notifications/VotingEndedIcon.d.ts +4 -0
  143. package/dist/components/Icon/Notifications/VotingEndedIcon.js +8 -0
  144. package/dist/components/Icon/Notifications/VotingEndedIcon.js.map +1 -0
  145. package/dist/components/Icon/PlacesIcon.d.ts +4 -0
  146. package/dist/components/Icon/PlacesIcon.js +8 -0
  147. package/dist/components/Icon/PlacesIcon.js.map +1 -0
  148. package/dist/components/Icon/SparklesIcon.d.ts +4 -0
  149. package/dist/components/Icon/SparklesIcon.js +8 -0
  150. package/dist/components/Icon/SparklesIcon.js.map +1 -0
  151. package/dist/components/Icon/UtilityIcon.d.ts +4 -0
  152. package/dist/components/Icon/UtilityIcon.js +8 -0
  153. package/dist/components/Icon/UtilityIcon.js.map +1 -0
  154. package/dist/components/Icon/Wearables/BaseFemaleIcon.d.ts +4 -0
  155. package/dist/components/Icon/Wearables/BaseFemaleIcon.js +8 -0
  156. package/dist/components/Icon/Wearables/BaseFemaleIcon.js.map +1 -0
  157. package/dist/components/Icon/Wearables/BaseMaleIcon.d.ts +4 -0
  158. package/dist/components/Icon/Wearables/BaseMaleIcon.js +8 -0
  159. package/dist/components/Icon/Wearables/BaseMaleIcon.js.map +1 -0
  160. package/dist/components/Icon/Wearables/BodyShapeIcon.d.ts +4 -0
  161. package/dist/components/Icon/Wearables/BodyShapeIcon.js +8 -0
  162. package/dist/components/Icon/Wearables/BodyShapeIcon.js.map +1 -0
  163. package/dist/components/Icon/Wearables/EarringIcon.d.ts +4 -0
  164. package/dist/components/Icon/Wearables/EarringIcon.js +8 -0
  165. package/dist/components/Icon/Wearables/EarringIcon.js.map +1 -0
  166. package/dist/components/Icon/Wearables/EyebrowsIcon.d.ts +4 -0
  167. package/dist/components/Icon/Wearables/EyebrowsIcon.js +8 -0
  168. package/dist/components/Icon/Wearables/EyebrowsIcon.js.map +1 -0
  169. package/dist/components/Icon/Wearables/EyesIcon.d.ts +4 -0
  170. package/dist/components/Icon/Wearables/EyesIcon.js +8 -0
  171. package/dist/components/Icon/Wearables/EyesIcon.js.map +1 -0
  172. package/dist/components/Icon/Wearables/EyewearIcon.d.ts +4 -0
  173. package/dist/components/Icon/Wearables/EyewearIcon.js +8 -0
  174. package/dist/components/Icon/Wearables/EyewearIcon.js.map +1 -0
  175. package/dist/components/Icon/Wearables/FacialHairIcon.d.ts +4 -0
  176. package/dist/components/Icon/Wearables/FacialHairIcon.js +8 -0
  177. package/dist/components/Icon/Wearables/FacialHairIcon.js.map +1 -0
  178. package/dist/components/Icon/Wearables/FeetIcon.d.ts +4 -0
  179. package/dist/components/Icon/Wearables/FeetIcon.js +8 -0
  180. package/dist/components/Icon/Wearables/FeetIcon.js.map +1 -0
  181. package/dist/components/Icon/Wearables/HairIcon.d.ts +4 -0
  182. package/dist/components/Icon/Wearables/HairIcon.js +8 -0
  183. package/dist/components/Icon/Wearables/HairIcon.js.map +1 -0
  184. package/dist/components/Icon/Wearables/HandsWearIcon.d.ts +4 -0
  185. package/dist/components/Icon/Wearables/HandsWearIcon.js +8 -0
  186. package/dist/components/Icon/Wearables/HandsWearIcon.js.map +1 -0
  187. package/dist/components/Icon/Wearables/HatIcon.d.ts +4 -0
  188. package/dist/components/Icon/Wearables/HatIcon.js +8 -0
  189. package/dist/components/Icon/Wearables/HatIcon.js.map +1 -0
  190. package/dist/components/Icon/Wearables/HelmetIcon.d.ts +4 -0
  191. package/dist/components/Icon/Wearables/HelmetIcon.js +8 -0
  192. package/dist/components/Icon/Wearables/HelmetIcon.js.map +1 -0
  193. package/dist/components/Icon/Wearables/LowerBodyIcon.d.ts +4 -0
  194. package/dist/components/Icon/Wearables/LowerBodyIcon.js +8 -0
  195. package/dist/components/Icon/Wearables/LowerBodyIcon.js.map +1 -0
  196. package/dist/components/Icon/Wearables/MaskIcon.d.ts +4 -0
  197. package/dist/components/Icon/Wearables/MaskIcon.js +8 -0
  198. package/dist/components/Icon/Wearables/MaskIcon.js.map +1 -0
  199. package/dist/components/Icon/Wearables/MouthIcon.d.ts +4 -0
  200. package/dist/components/Icon/Wearables/MouthIcon.js +8 -0
  201. package/dist/components/Icon/Wearables/MouthIcon.js.map +1 -0
  202. package/dist/components/Icon/Wearables/SkinIcon.d.ts +4 -0
  203. package/dist/components/Icon/Wearables/SkinIcon.js +8 -0
  204. package/dist/components/Icon/Wearables/SkinIcon.js.map +1 -0
  205. package/dist/components/Icon/Wearables/SmartWearableIcon.d.ts +4 -0
  206. package/dist/components/Icon/Wearables/SmartWearableIcon.js +8 -0
  207. package/dist/components/Icon/Wearables/SmartWearableIcon.js.map +1 -0
  208. package/dist/components/Icon/Wearables/TiaraIcon.d.ts +4 -0
  209. package/dist/components/Icon/Wearables/TiaraIcon.js +8 -0
  210. package/dist/components/Icon/Wearables/TiaraIcon.js.map +1 -0
  211. package/dist/components/Icon/Wearables/TopHeadIcon.d.ts +4 -0
  212. package/dist/components/Icon/Wearables/TopHeadIcon.js +8 -0
  213. package/dist/components/Icon/Wearables/TopHeadIcon.js.map +1 -0
  214. package/dist/components/Icon/Wearables/UnisexIcon.d.ts +4 -0
  215. package/dist/components/Icon/Wearables/UnisexIcon.js +8 -0
  216. package/dist/components/Icon/Wearables/UnisexIcon.js.map +1 -0
  217. package/dist/components/Icon/Wearables/UpperBodyIcon.d.ts +4 -0
  218. package/dist/components/Icon/Wearables/UpperBodyIcon.js +8 -0
  219. package/dist/components/Icon/Wearables/UpperBodyIcon.js.map +1 -0
  220. package/dist/components/Icon/index.d.ts +62 -0
  221. package/dist/components/Icon/index.js +63 -0
  222. package/dist/components/Icon/index.js.map +1 -0
  223. package/dist/components/IconBadge/IconBadge.d.ts +4 -0
  224. package/dist/components/IconBadge/IconBadge.js +81 -0
  225. package/dist/components/IconBadge/IconBadge.js.map +1 -0
  226. package/dist/components/IconBadge/IconBadge.stories.d.ts +10 -0
  227. package/dist/components/IconBadge/IconBadge.stories.js +52 -0
  228. package/dist/components/IconBadge/IconBadge.stories.js.map +1 -0
  229. package/dist/components/IconBadge/IconBadge.styled.d.ts +17 -0
  230. package/dist/components/IconBadge/IconBadge.styled.js +38 -0
  231. package/dist/components/IconBadge/IconBadge.styled.js.map +1 -0
  232. package/dist/components/IconBadge/IconBadge.types.d.ts +40 -0
  233. package/dist/components/IconBadge/IconBadge.types.js +34 -0
  234. package/dist/components/IconBadge/IconBadge.types.js.map +1 -0
  235. package/dist/components/IconBadge/index.d.ts +2 -0
  236. package/dist/components/IconBadge/index.js +3 -0
  237. package/dist/components/IconBadge/index.js.map +1 -0
  238. package/dist/components/Mana/Mana.d.ts +4 -0
  239. package/dist/components/Mana/Mana.js +17 -0
  240. package/dist/components/Mana/Mana.js.map +1 -0
  241. package/dist/components/Mana/Mana.stories.d.ts +15 -0
  242. package/dist/components/Mana/Mana.stories.js +90 -0
  243. package/dist/components/Mana/Mana.stories.js.map +1 -0
  244. package/dist/components/Mana/Mana.styled.d.ts +17 -0
  245. package/dist/components/Mana/Mana.styled.js +44 -0
  246. package/dist/components/Mana/Mana.styled.js.map +1 -0
  247. package/dist/components/Mana/Mana.types.d.ts +14 -0
  248. package/dist/components/Mana/Mana.types.js +2 -0
  249. package/dist/components/Mana/Mana.types.js.map +1 -0
  250. package/dist/components/Mana/index.d.ts +2 -0
  251. package/dist/components/Mana/index.js +3 -0
  252. package/dist/components/Mana/index.js.map +1 -0
  253. package/dist/components/Media/Media.d.ts +56 -0
  254. package/dist/components/Media/Media.js +62 -0
  255. package/dist/components/Media/Media.js.map +1 -0
  256. package/dist/components/Media/index.d.ts +1 -0
  257. package/dist/components/Media/index.js +2 -0
  258. package/dist/components/Media/index.js.map +1 -0
  259. package/dist/components/Modal/Modal.d.ts +5 -0
  260. package/dist/components/Modal/Modal.js +15 -0
  261. package/dist/components/Modal/Modal.js.map +1 -0
  262. package/dist/components/Modal/Modal.stories.d.ts +21 -0
  263. package/dist/components/Modal/Modal.stories.js +91 -0
  264. package/dist/components/Modal/Modal.stories.js.map +1 -0
  265. package/dist/components/Modal/Modal.styled.d.ts +23 -0
  266. package/dist/components/Modal/Modal.styled.js +51 -0
  267. package/dist/components/Modal/Modal.styled.js.map +1 -0
  268. package/dist/components/Modal/Modal.types.d.ts +13 -0
  269. package/dist/components/Modal/Modal.types.js +2 -0
  270. package/dist/components/Modal/Modal.types.js.map +1 -0
  271. package/dist/components/Modal/index.d.ts +2 -0
  272. package/dist/components/Modal/index.js +2 -0
  273. package/dist/components/Modal/index.js.map +1 -0
  274. package/dist/components/Notifications/NotificationItem.d.ts +4 -0
  275. package/dist/components/Notifications/NotificationItem.js +14 -0
  276. package/dist/components/Notifications/NotificationItem.js.map +1 -0
  277. package/dist/components/Notifications/NotificationItem.styled.d.ts +37 -0
  278. package/dist/components/Notifications/NotificationItem.styled.js +63 -0
  279. package/dist/components/Notifications/NotificationItem.styled.js.map +1 -0
  280. package/dist/components/Notifications/NotificationItem.types.d.ts +8 -0
  281. package/dist/components/Notifications/NotificationItem.types.js +2 -0
  282. package/dist/components/Notifications/NotificationItem.types.js.map +1 -0
  283. package/dist/components/Notifications/NotificationItemImage.d.ts +4 -0
  284. package/dist/components/Notifications/NotificationItemImage.js +12 -0
  285. package/dist/components/Notifications/NotificationItemImage.js.map +1 -0
  286. package/dist/components/Notifications/NotificationItemImage.styled.d.ts +13 -0
  287. package/dist/components/Notifications/NotificationItemImage.styled.js +26 -0
  288. package/dist/components/Notifications/NotificationItemImage.styled.js.map +1 -0
  289. package/dist/components/Notifications/NotificationItemImage.types.d.ts +7 -0
  290. package/dist/components/Notifications/NotificationItemImage.types.js +2 -0
  291. package/dist/components/Notifications/NotificationItemImage.types.js.map +1 -0
  292. package/dist/components/Notifications/NotificationItemNFTLink.d.ts +4 -0
  293. package/dist/components/Notifications/NotificationItemNFTLink.js +9 -0
  294. package/dist/components/Notifications/NotificationItemNFTLink.js.map +1 -0
  295. package/dist/components/Notifications/NotificationItemNFTLink.styled.d.ts +10 -0
  296. package/dist/components/Notifications/NotificationItemNFTLink.styled.js +11 -0
  297. package/dist/components/Notifications/NotificationItemNFTLink.styled.js.map +1 -0
  298. package/dist/components/Notifications/NotificationItemNFTLink.types.d.ts +7 -0
  299. package/dist/components/Notifications/NotificationItemNFTLink.types.js +2 -0
  300. package/dist/components/Notifications/NotificationItemNFTLink.types.js.map +1 -0
  301. package/dist/components/Notifications/NotificationTypes/Events/Countdown.d.ts +5 -0
  302. package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +25 -0
  303. package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -0
  304. package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.d.ts +4 -0
  305. package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.d.ts +24 -0
  306. package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js +25 -0
  307. package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js.map +1 -0
  308. package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js +13 -0
  309. package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js.map +1 -0
  310. package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.d.ts +4 -0
  311. package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.d.ts +42 -0
  312. package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js +43 -0
  313. package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js.map +1 -0
  314. package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js +14 -0
  315. package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js.map +1 -0
  316. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +4 -0
  317. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +11 -0
  318. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -0
  319. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +4 -0
  320. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.d.ts +24 -0
  321. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js +25 -0
  322. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js.map +1 -0
  323. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +13 -0
  324. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -0
  325. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +4 -0
  326. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.d.ts +24 -0
  327. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js +25 -0
  328. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js.map +1 -0
  329. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +13 -0
  330. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -0
  331. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +4 -0
  332. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.d.ts +24 -0
  333. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js +25 -0
  334. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js.map +1 -0
  335. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +13 -0
  336. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -0
  337. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +4 -0
  338. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.d.ts +24 -0
  339. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js +25 -0
  340. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js.map +1 -0
  341. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +13 -0
  342. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -0
  343. package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +4 -0
  344. package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.d.ts +33 -0
  345. package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js +34 -0
  346. package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js.map +1 -0
  347. package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +13 -0
  348. package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -0
  349. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +4 -0
  350. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.d.ts +27 -0
  351. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js +28 -0
  352. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js.map +1 -0
  353. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +13 -0
  354. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -0
  355. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +4 -0
  356. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.d.ts +33 -0
  357. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js +34 -0
  358. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js.map +1 -0
  359. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +13 -0
  360. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -0
  361. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +4 -0
  362. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.d.ts +24 -0
  363. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js +25 -0
  364. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js.map +1 -0
  365. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +13 -0
  366. package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -0
  367. package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +4 -0
  368. package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.d.ts +24 -0
  369. package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js +25 -0
  370. package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js.map +1 -0
  371. package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +13 -0
  372. package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -0
  373. package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +4 -0
  374. package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.d.ts +24 -0
  375. package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js +25 -0
  376. package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js.map +1 -0
  377. package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +16 -0
  378. package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -0
  379. package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +4 -0
  380. package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.d.ts +24 -0
  381. package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js +25 -0
  382. package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js.map +1 -0
  383. package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +20 -0
  384. package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -0
  385. package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +4 -0
  386. package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.d.ts +24 -0
  387. package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js +25 -0
  388. package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js.map +1 -0
  389. package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +20 -0
  390. package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -0
  391. package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +4 -0
  392. package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.d.ts +15 -0
  393. package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js +7 -0
  394. package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js.map +1 -0
  395. package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +14 -0
  396. package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -0
  397. package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +4 -0
  398. package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.d.ts +24 -0
  399. package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js +25 -0
  400. package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js.map +1 -0
  401. package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +20 -0
  402. package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -0
  403. package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +4 -0
  404. package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.d.ts +24 -0
  405. package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js +25 -0
  406. package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js.map +1 -0
  407. package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +15 -0
  408. package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -0
  409. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +4 -0
  410. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.d.ts +15 -0
  411. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js +16 -0
  412. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js.map +1 -0
  413. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +12 -0
  414. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -0
  415. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +4 -0
  416. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.d.ts +24 -0
  417. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js +25 -0
  418. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js.map +1 -0
  419. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +13 -0
  420. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -0
  421. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +4 -0
  422. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.d.ts +27 -0
  423. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js +28 -0
  424. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js.map +1 -0
  425. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +13 -0
  426. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -0
  427. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +4 -0
  428. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.d.ts +24 -0
  429. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js +25 -0
  430. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js.map +1 -0
  431. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +27 -0
  432. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -0
  433. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +4 -0
  434. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.d.ts +24 -0
  435. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js +25 -0
  436. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js.map +1 -0
  437. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +20 -0
  438. package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -0
  439. package/dist/components/Notifications/NotificationTypes/index.d.ts +24 -0
  440. package/dist/components/Notifications/NotificationTypes/index.js +25 -0
  441. package/dist/components/Notifications/NotificationTypes/index.js.map +1 -0
  442. package/dist/components/Notifications/Notifications.d.ts +4 -0
  443. package/dist/components/Notifications/Notifications.js +26 -0
  444. package/dist/components/Notifications/Notifications.js.map +1 -0
  445. package/dist/components/Notifications/Notifications.stories.d.ts +19 -0
  446. package/dist/components/Notifications/Notifications.stories.js +139 -0
  447. package/dist/components/Notifications/Notifications.stories.js.map +1 -0
  448. package/dist/components/Notifications/Notifications.styled.d.ts +9 -0
  449. package/dist/components/Notifications/Notifications.styled.js +57 -0
  450. package/dist/components/Notifications/Notifications.styled.js.map +1 -0
  451. package/dist/components/Notifications/Notifications.types.d.ts +17 -0
  452. package/dist/components/Notifications/Notifications.types.js +2 -0
  453. package/dist/components/Notifications/Notifications.types.js.map +1 -0
  454. package/dist/components/Notifications/NotificationsFeed.d.ts +4 -0
  455. package/dist/components/Notifications/NotificationsFeed.i18n.d.ts +24 -0
  456. package/dist/components/Notifications/NotificationsFeed.i18n.js +25 -0
  457. package/dist/components/Notifications/NotificationsFeed.i18n.js.map +1 -0
  458. package/dist/components/Notifications/NotificationsFeed.js +50 -0
  459. package/dist/components/Notifications/NotificationsFeed.js.map +1 -0
  460. package/dist/components/Notifications/NotificationsFeed.styled.d.ts +37 -0
  461. package/dist/components/Notifications/NotificationsFeed.styled.js +52 -0
  462. package/dist/components/Notifications/NotificationsFeed.styled.js.map +1 -0
  463. package/dist/components/Notifications/NotificationsFeed.types.d.ts +16 -0
  464. package/dist/components/Notifications/NotificationsFeed.types.js +2 -0
  465. package/dist/components/Notifications/NotificationsFeed.types.js.map +1 -0
  466. package/dist/components/Notifications/NotificationsFeedTabs.d.ts +4 -0
  467. package/dist/components/Notifications/NotificationsFeedTabs.i18n.d.ts +57 -0
  468. package/dist/components/Notifications/NotificationsFeedTabs.i18n.js +58 -0
  469. package/dist/components/Notifications/NotificationsFeedTabs.i18n.js.map +1 -0
  470. package/dist/components/Notifications/NotificationsFeedTabs.js +25 -0
  471. package/dist/components/Notifications/NotificationsFeedTabs.js.map +1 -0
  472. package/dist/components/Notifications/NotificationsFeedTabs.styled.d.ts +34 -0
  473. package/dist/components/Notifications/NotificationsFeedTabs.styled.js +56 -0
  474. package/dist/components/Notifications/NotificationsFeedTabs.styled.js.map +1 -0
  475. package/dist/components/Notifications/NotificationsFeedTabs.types.d.ts +13 -0
  476. package/dist/components/Notifications/NotificationsFeedTabs.types.js +2 -0
  477. package/dist/components/Notifications/NotificationsFeedTabs.types.js.map +1 -0
  478. package/dist/components/Notifications/index.d.ts +3 -0
  479. package/dist/components/Notifications/index.js +3 -0
  480. package/dist/components/Notifications/index.js.map +1 -0
  481. package/dist/components/Notifications/types.d.ts +119 -0
  482. package/dist/components/Notifications/types.js +7 -0
  483. package/dist/components/Notifications/types.js.map +1 -0
  484. package/dist/components/Notifications/utils.d.ts +13 -0
  485. package/dist/components/Notifications/utils.js +51 -0
  486. package/dist/components/Notifications/utils.js.map +1 -0
  487. package/dist/components/UserMenu/ManaBalances/ManaBalances.d.ts +4 -0
  488. package/dist/components/UserMenu/ManaBalances/ManaBalances.js +14 -0
  489. package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -0
  490. package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +6 -0
  491. package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +28 -0
  492. package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -0
  493. package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +6 -0
  494. package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +13 -0
  495. package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -0
  496. package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +7 -0
  497. package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js +2 -0
  498. package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js.map +1 -0
  499. package/dist/components/UserMenu/ManaBalances/index.d.ts +2 -0
  500. package/dist/components/UserMenu/ManaBalances/index.js +2 -0
  501. package/dist/components/UserMenu/ManaBalances/index.js.map +1 -0
  502. package/dist/components/UserMenu/UserMenu.d.ts +4 -0
  503. package/dist/components/UserMenu/UserMenu.i18n.d.ts +3 -0
  504. package/dist/components/UserMenu/UserMenu.i18n.js +15 -0
  505. package/dist/components/UserMenu/UserMenu.i18n.js.map +1 -0
  506. package/dist/components/UserMenu/UserMenu.js +82 -0
  507. package/dist/components/UserMenu/UserMenu.js.map +1 -0
  508. package/dist/components/UserMenu/UserMenu.stories.d.ts +12 -0
  509. package/dist/components/UserMenu/UserMenu.stories.js +82 -0
  510. package/dist/components/UserMenu/UserMenu.stories.js.map +1 -0
  511. package/dist/components/UserMenu/UserMenu.styled.d.ts +22 -0
  512. package/dist/components/UserMenu/UserMenu.styled.js +27 -0
  513. package/dist/components/UserMenu/UserMenu.styled.js.map +1 -0
  514. package/dist/components/UserMenu/UserMenu.types.d.ts +26 -0
  515. package/dist/components/UserMenu/UserMenu.types.js +15 -0
  516. package/dist/components/UserMenu/UserMenu.types.js.map +1 -0
  517. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.d.ts +9 -0
  518. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js +39 -0
  519. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js.map +1 -0
  520. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.d.ts +5 -0
  521. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js +111 -0
  522. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js.map +1 -0
  523. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.d.ts +8 -0
  524. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +65 -0
  525. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -0
  526. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +75 -0
  527. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +167 -0
  528. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -0
  529. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +29 -0
  530. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js +2 -0
  531. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js.map +1 -0
  532. package/dist/components/UserMenu/index.d.ts +4 -0
  533. package/dist/components/UserMenu/index.js +3 -0
  534. package/dist/components/UserMenu/index.js.map +1 -0
  535. package/dist/config/index.js.map +1 -1
  536. package/dist/data/avatar.d.ts +3 -0
  537. package/dist/data/avatar.js +98 -0
  538. package/dist/data/avatar.js.map +1 -0
  539. package/dist/data/notifications.d.ts +27 -0
  540. package/dist/data/notifications.js +426 -0
  541. package/dist/data/notifications.js.map +1 -0
  542. package/dist/index.d.ts +1 -1
  543. package/dist/index.js +1 -1
  544. package/dist/index.js.map +1 -1
  545. package/dist/lib/network.d.ts +8 -0
  546. package/dist/lib/network.js +17 -0
  547. package/dist/lib/network.js.map +1 -0
  548. package/dist/theme/colorSchemes.d.ts +10 -0
  549. package/dist/theme/colorSchemes.js +362 -0
  550. package/dist/theme/colorSchemes.js.map +1 -0
  551. package/dist/{colors.d.ts → theme/colors.d.ts} +19 -18
  552. package/dist/{colors.js → theme/colors.js} +19 -18
  553. package/dist/theme/colors.js.map +1 -0
  554. package/dist/theme/components.d.ts +2 -0
  555. package/dist/theme/components.js +53 -0
  556. package/dist/theme/components.js.map +1 -0
  557. package/dist/theme/index.d.ts +3 -0
  558. package/dist/theme/index.js +19 -0
  559. package/dist/theme/index.js.map +1 -0
  560. package/dist/theme/typography.d.ts +44 -0
  561. package/dist/theme/typography.js +45 -0
  562. package/dist/theme/typography.js.map +1 -0
  563. package/package.json +7 -5
  564. package/dist/colors.js.map +0 -1
  565. package/dist/theme.d.ts +0 -2
  566. package/dist/theme.js +0 -73
  567. package/dist/theme.js.map +0 -1
@@ -0,0 +1,52 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { IconBadge } from "./IconBadge";
3
+ import { ManaEthIcon } from "../Icon";
4
+ import { IconBadgeIcon } from "./IconBadge.types";
5
+ const meta = {
6
+ component: IconBadge,
7
+ title: "Decentraland UI/IconBadge",
8
+ tags: ["autodocs"],
9
+ argTypes: {
10
+ inline: {
11
+ description: "IconBadge component should be displayed inline",
12
+ },
13
+ icon: {
14
+ description: "Icon used in component",
15
+ },
16
+ },
17
+ render: (args) => _jsx(IconBadge, { ...args }),
18
+ };
19
+ const WithIcon = {
20
+ name: "With Icon",
21
+ args: {
22
+ icon: IconBadgeIcon.Utility,
23
+ text: "Utility",
24
+ onClick: () => console.log("Clicked!"),
25
+ },
26
+ };
27
+ const WithCustomIcon = {
28
+ name: "With Custom Icon",
29
+ args: {
30
+ children: _jsx(ManaEthIcon, {}),
31
+ text: "Custom Icon Component",
32
+ onClick: () => console.log("Clicked!"),
33
+ },
34
+ };
35
+ const WithoutText = {
36
+ name: "Without Text",
37
+ args: {
38
+ icon: IconBadgeIcon.Tiara,
39
+ onClick: () => console.log("Clicked!"),
40
+ },
41
+ };
42
+ const WithoutIcon = {
43
+ name: "Without Icon",
44
+ args: {
45
+ text: "No Icon",
46
+ onClick: () => console.log("Clicked!"),
47
+ },
48
+ };
49
+ // eslint-disable-next-line import/no-default-export
50
+ export default meta;
51
+ export { WithIcon, WithCustomIcon, WithoutText, WithoutIcon };
52
+ //# sourceMappingURL=IconBadge.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBadge.stories.js","sourceRoot":"","sources":["../../../src/components/IconBadge/IconBadge.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,aAAa,EAAkB,MAAM,mBAAmB,CAAA;AAGjE,MAAM,IAAI,GAAyB;IACjC,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,2BAA2B;IAClC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,WAAW,EAAE,gDAAgD;SAC9D;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,SAAS,OAAK,IAAI,GAAI;CAC1C,CAAA;AAID,MAAM,QAAQ,GAAU;IACtB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE;QACJ,IAAI,EAAE,aAAa,CAAC,OAAO;QAC3B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;KACvC;CACF,CAAA;AAED,MAAM,cAAc,GAAU;IAC5B,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,QAAQ,EAAE,KAAC,WAAW,KAAG;QACzB,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;KACvC;CACF,CAAA;AAED,MAAM,WAAW,GAAU;IACzB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,aAAa,CAAC,KAAK;QACzB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;KACvC;CACF,CAAA;AAED,MAAM,WAAW,GAAU;IACzB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;KACvC;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { IconBadgeProps } from "./IconBadge.types";
3
+ declare const IconBadgeButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonBaseOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
4
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
5
+ }, "className" | "children" | "style" | "tabIndex" | "classes" | "sx" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ } & Pick<IconBadgeProps, "onClick" | "inline">, {}, {}>;
8
+ declare const ImageContainer: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ declare const TextContainer: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
13
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
14
+ }, "className" | "width" | "height" | "padding" | "top" | "left" | "children" | "color" | "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "classes" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
17
+ export { IconBadgeButtonContainer, ImageContainer, TextContainer };
@@ -0,0 +1,38 @@
1
+ import styled from "@emotion/styled";
2
+ import { ButtonBase as ButtonMui, Typography, useTheme } from "@mui/material";
3
+ const IconBadgeButtonContainer = styled(ButtonMui)((props) => {
4
+ const theme = useTheme();
5
+ return {
6
+ display: props.inline ? "inline-flex" : "flex",
7
+ backgroundColor: theme.palette.secondary.main,
8
+ alignItems: "center",
9
+ justifyContent: "center",
10
+ color: theme.palette.text.primary,
11
+ verticalAlign: "middle",
12
+ fontSize: "13px",
13
+ lineHeight: "inherit",
14
+ textTransform: "uppercase",
15
+ padding: "2px 8px",
16
+ borderRadius: "5px",
17
+ cursor: props.onClick ? "pointer" : "default",
18
+ "& + &": {
19
+ marginLeft: "0.3em",
20
+ },
21
+ };
22
+ });
23
+ const ImageContainer = styled("div")(() => {
24
+ const theme = useTheme();
25
+ return {
26
+ display: "flex",
27
+ paddingRight: "0.3em",
28
+ "& svg path": {
29
+ fill: theme.palette.text.primary,
30
+ },
31
+ };
32
+ });
33
+ const TextContainer = styled(Typography)({
34
+ fontSize: "inherit",
35
+ color: "inherit",
36
+ });
37
+ export { IconBadgeButtonContainer, ImageContainer, TextContainer };
38
+ //# sourceMappingURL=IconBadge.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBadge.styled.js","sourceRoot":"","sources":["../../../src/components/IconBadge/IconBadge.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,UAAU,IAAI,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7E,MAAM,wBAAwB,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CACjD,KAAiD,EACjD,EAAE;IACF,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IAExB,OAAO;QACL,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM;QAC9C,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI;QAC7C,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;QACjC,aAAa,EAAE,QAAQ;QACvB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,WAAW;QAC1B,OAAO,EAAE,SAAS;QAClB,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;QAC7C,OAAO,EAAE;YACP,UAAU,EAAE,OAAO;SACpB;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE;IACxC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO;QACL,OAAO,EAAE,MAAM;QACf,YAAY,EAAE,OAAO;QACrB,YAAY,EAAE;YACZ,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;SACjC;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IACvC,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,SAAS;CACjB,CAAC,CAAA;AAEF,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,40 @@
1
+ import React from "react";
2
+ declare enum IconBadgeIcon {
3
+ BaseMale = "BaseMale",
4
+ BaseFemale = "BaseFemale",
5
+ Unisex = "Unisex",
6
+ BodyShape = "BodyShape",
7
+ Earring = "Earring",
8
+ Eyebrows = "Eyebrows",
9
+ Eyes = "Eyes",
10
+ Eyewear = "Eyewear",
11
+ FacialHair = "FacialHair",
12
+ Feet = "Feet",
13
+ Hair = "Hair",
14
+ Hat = "Hat",
15
+ Helmet = "Helmet",
16
+ LowerBody = "LowerBody",
17
+ Mask = "Mask",
18
+ Mouth = "Mouth",
19
+ Tiara = "Tiara",
20
+ TopHead = "TopHead",
21
+ UpperBody = "UpperBody",
22
+ Skin = "Skin",
23
+ HandsWear = "HandsWear",
24
+ PlayOnce = "PlayOnce",
25
+ PlayLoop = "PlayLoop",
26
+ SmartWearable = "SmartWearable",
27
+ Sound = "Sound",
28
+ Props = "Props",
29
+ Sparkles = "Sparkles",
30
+ Places = "Places",
31
+ Utility = "Utility"
32
+ }
33
+ type IconBadgeProps = {
34
+ icon?: IconBadgeIcon;
35
+ text?: string;
36
+ inline?: boolean;
37
+ onClick?: () => void;
38
+ children?: React.ReactNode;
39
+ };
40
+ export { IconBadgeIcon, IconBadgeProps };
@@ -0,0 +1,34 @@
1
+ var IconBadgeIcon;
2
+ (function (IconBadgeIcon) {
3
+ IconBadgeIcon["BaseMale"] = "BaseMale";
4
+ IconBadgeIcon["BaseFemale"] = "BaseFemale";
5
+ IconBadgeIcon["Unisex"] = "Unisex";
6
+ IconBadgeIcon["BodyShape"] = "BodyShape";
7
+ IconBadgeIcon["Earring"] = "Earring";
8
+ IconBadgeIcon["Eyebrows"] = "Eyebrows";
9
+ IconBadgeIcon["Eyes"] = "Eyes";
10
+ IconBadgeIcon["Eyewear"] = "Eyewear";
11
+ IconBadgeIcon["FacialHair"] = "FacialHair";
12
+ IconBadgeIcon["Feet"] = "Feet";
13
+ IconBadgeIcon["Hair"] = "Hair";
14
+ IconBadgeIcon["Hat"] = "Hat";
15
+ IconBadgeIcon["Helmet"] = "Helmet";
16
+ IconBadgeIcon["LowerBody"] = "LowerBody";
17
+ IconBadgeIcon["Mask"] = "Mask";
18
+ IconBadgeIcon["Mouth"] = "Mouth";
19
+ IconBadgeIcon["Tiara"] = "Tiara";
20
+ IconBadgeIcon["TopHead"] = "TopHead";
21
+ IconBadgeIcon["UpperBody"] = "UpperBody";
22
+ IconBadgeIcon["Skin"] = "Skin";
23
+ IconBadgeIcon["HandsWear"] = "HandsWear";
24
+ IconBadgeIcon["PlayOnce"] = "PlayOnce";
25
+ IconBadgeIcon["PlayLoop"] = "PlayLoop";
26
+ IconBadgeIcon["SmartWearable"] = "SmartWearable";
27
+ IconBadgeIcon["Sound"] = "Sound";
28
+ IconBadgeIcon["Props"] = "Props";
29
+ IconBadgeIcon["Sparkles"] = "Sparkles";
30
+ IconBadgeIcon["Places"] = "Places";
31
+ IconBadgeIcon["Utility"] = "Utility";
32
+ })(IconBadgeIcon || (IconBadgeIcon = {}));
33
+ export { IconBadgeIcon };
34
+ //# sourceMappingURL=IconBadge.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBadge.types.js","sourceRoot":"","sources":["../../../src/components/IconBadge/IconBadge.types.ts"],"names":[],"mappings":"AAEA,IAAK,aA8BJ;AA9BD,WAAK,aAAa;IAChB,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,8BAAa,CAAA;IACb,8BAAa,CAAA;IACb,4BAAW,CAAA;IACX,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,8BAAa,CAAA;IACb,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,gDAA+B,CAAA;IAC/B,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;AACrB,CAAC,EA9BI,aAAa,KAAb,aAAa,QA8BjB;AAUD,OAAO,EAAE,aAAa,EAAkB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from "./IconBadge";
2
+ export * from "./IconBadge.types";
@@ -0,0 +1,3 @@
1
+ export * from "./IconBadge";
2
+ export * from "./IconBadge.types";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/IconBadge/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ManaProps } from "./Mana.types";
3
+ declare const Mana: React.MemoExoticComponent<(props: ManaProps) => JSX.Element>;
4
+ export { Mana };
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { Network } from "@dcl/schemas";
4
+ import { Tooltip } from "@mui/material";
5
+ import { getNetworkMANADescription } from "../../lib/network";
6
+ import { ManaEthIcon, ManaMaticIcon } from "../Icon";
7
+ import { ImageContainer, ManaButtonContainer } from "./Mana.styled";
8
+ const ManaButton = React.memo((props) => {
9
+ const { children, size, network, primary, color, ...rest } = props;
10
+ return (_jsxs(ManaButtonContainer, { fontSize: size, ...rest, children: [_jsx(ImageContainer, { primary: primary, color: color, children: !network || network !== Network.MATIC ? (_jsx(ManaEthIcon, { fontSize: size || "inherit" })) : (_jsx(ManaMaticIcon, { fontSize: size || "inherit" })) }), children] }));
11
+ });
12
+ const Mana = React.memo((props) => {
13
+ const { showTooltip, ...manaButtonProps } = props;
14
+ return showTooltip ? (_jsx(Tooltip, { placement: "top", title: getNetworkMANADescription(manaButtonProps.network || Network.ETHEREUM), children: _jsx(ManaButton, { ...manaButtonProps }) })) : (_jsx(ManaButton, { ...manaButtonProps }));
15
+ });
16
+ export { Mana };
17
+ //# sourceMappingURL=Mana.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mana.js","sourceRoot":"","sources":["../../../src/components/Mana/Mana.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC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{ ManaProps } from "./Mana.types";
2
+ import type { Meta, StoryObj } from "@storybook/react";
3
+ declare const meta: Meta<ManaProps>;
4
+ type Story = StoryObj<ManaProps>;
5
+ declare const Symbol: Story;
6
+ declare const SymbolMana: Story;
7
+ declare const SymbolVoted: Story;
8
+ declare const SymbolSizes: Story;
9
+ declare const SymbolInline: Story;
10
+ declare const SymbolMatic: Story;
11
+ declare const SymbolMaticPrimary: Story;
12
+ declare const SymbolMaticSizes: Story;
13
+ declare const ManaTooltip: Story;
14
+ export default meta;
15
+ export { Symbol, SymbolMana, SymbolVoted, SymbolSizes, SymbolInline, SymbolMatic, SymbolMaticPrimary, SymbolMaticSizes, ManaTooltip, };
@@ -0,0 +1,90 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Network } from "@dcl/schemas";
3
+ import { Typography } from "@mui/material";
4
+ import { Mana } from "./Mana";
5
+ const meta = {
6
+ component: Mana,
7
+ title: "Decentraland UI/Mana",
8
+ tags: ["autodocs"],
9
+ argTypes: {
10
+ size: {
11
+ description: "Size of the mana icon",
12
+ },
13
+ inline: {
14
+ description: "Mana component should be displayed inline",
15
+ },
16
+ network: {
17
+ description: "Network to display the mana icon",
18
+ defaultValue: Network.ETHEREUM,
19
+ },
20
+ primary: {
21
+ description: "Switch the color of the icon to primary",
22
+ },
23
+ showTooltip: {
24
+ description: "Show tooltip on hover",
25
+ },
26
+ },
27
+ render: (args) => _jsx(Mana, { ...args }),
28
+ };
29
+ const Symbol = {
30
+ args: {},
31
+ };
32
+ const SymbolMana = {
33
+ name: "Symbol + MANA",
34
+ args: { children: "MANA" },
35
+ };
36
+ const SymbolVoted = {
37
+ name: "Total voted",
38
+ args: { children: "MANA" },
39
+ render: (args) => (_jsxs(_Fragment, { children: [_jsx(Typography, { children: "Total voted" }), _jsx(Mana, { ...args, children: "1,235,345" })] })),
40
+ };
41
+ const SymbolSizes = {
42
+ name: "Sizes",
43
+ args: { children: "1,000" },
44
+ render: (args) => (_jsxs(_Fragment, { children: [_jsx(Mana, { ...args, size: "large" }), _jsx(Mana, { ...args, size: "medium" }), _jsx(Mana, { ...args, size: "small" })] })),
45
+ };
46
+ const SymbolInline = {
47
+ name: "Inline",
48
+ args: { children: "1,000", inline: true },
49
+ render: (args) => (_jsxs("p", { children: ["You've voted with ", _jsx(Mana, { ...args }), "."] })),
50
+ };
51
+ const SymbolMatic = {
52
+ name: "Matic",
53
+ args: {
54
+ children: "1,000",
55
+ inline: true,
56
+ network: Network.MATIC,
57
+ },
58
+ render: (args) => (_jsxs("p", { children: ["You deposited ", _jsx(Mana, { ...args }), " into Matic Network."] })),
59
+ };
60
+ const SymbolMaticPrimary = {
61
+ name: "Matic primary",
62
+ args: {
63
+ children: "1,000",
64
+ inline: true,
65
+ network: Network.MATIC,
66
+ primary: true,
67
+ },
68
+ render: (args) => (_jsxs("p", { children: ["You deposited ", _jsx(Mana, { ...args }), " into Matic Network."] })),
69
+ };
70
+ const SymbolMaticSizes = {
71
+ name: "Matic sizes",
72
+ args: {
73
+ children: "1,000",
74
+ network: Network.MATIC,
75
+ },
76
+ render: (args) => (_jsxs(_Fragment, { children: [_jsx(Mana, { ...args, size: "large" }), _jsx(Mana, { ...args, size: "medium" }), _jsx(Mana, { ...args, size: "small" })] })),
77
+ };
78
+ const ManaTooltip = {
79
+ name: "Mana + Tooltip",
80
+ args: {
81
+ children: "1,000",
82
+ network: Network.MATIC,
83
+ showTooltip: true,
84
+ size: "small",
85
+ },
86
+ };
87
+ // eslint-disable-next-line import/no-default-export
88
+ export default meta;
89
+ export { Symbol, SymbolMana, SymbolVoted, SymbolSizes, SymbolInline, SymbolMatic, SymbolMaticPrimary, SymbolMaticSizes, ManaTooltip, };
90
+ //# sourceMappingURL=Mana.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mana.stories.js","sourceRoot":"","sources":["../../../src/components/Mana/Mana.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,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,OAAK,IAAI,EAAE,IAAI,EAAC,QAAQ,GAAG,EAChC,KAAC,IAAI,OAAK,IAAI,EAAE,IAAI,EAAC,OAAO,GAAG,IAC9B,CACJ;CACF,CAAA;AAED,MAAM,WAAW,GAAU;IACzB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,OAAO,CAAC,KAAK;QACtB,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,OAAO;KACd;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EACL,MAAM,EACN,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,GACZ,CAAA"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { ManaProps } from "./Mana.types";
3
+ declare const ManaButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonBaseOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
4
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
5
+ }, "className" | "children" | "style" | "tabIndex" | "classes" | "sx" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ } & Pick<ManaProps, "onClick" | "inline" | "href"> & {
8
+ fontSize?: string | undefined;
9
+ }, {}, {}>;
10
+ declare const ImageContainer: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any> | undefined;
13
+ } & {
14
+ primary?: boolean | undefined;
15
+ color?: string | undefined;
16
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
+ export { ImageContainer, ManaButtonContainer };
@@ -0,0 +1,44 @@
1
+ import styled from "@emotion/styled";
2
+ import { ButtonBase as ButtonMui, useTheme } from "@mui/material";
3
+ const ManaButtonContainer = styled(ButtonMui)((props) => {
4
+ const theme = useTheme();
5
+ let fontSize = "inherit";
6
+ if (props.fontSize === "small") {
7
+ fontSize = "20px";
8
+ }
9
+ else if (props.fontSize === "medium") {
10
+ fontSize = "24px";
11
+ }
12
+ else if (props.fontSize === "large") {
13
+ fontSize = "36px";
14
+ }
15
+ return {
16
+ display: props.inline ? "inline-flex" : "flex",
17
+ alignItems: "center",
18
+ justifyContent: "center",
19
+ color: theme.palette.text.primary,
20
+ verticalAlign: "middle",
21
+ fontSize: fontSize,
22
+ lineHeight: "inherit",
23
+ cursor: !!props.href || !!props.onClick ? "pointer" : "default",
24
+ "& + &": {
25
+ marginLeft: "0.3em",
26
+ },
27
+ };
28
+ });
29
+ const ImageContainer = styled("div")((props) => {
30
+ const theme = useTheme();
31
+ return {
32
+ display: "flex",
33
+ paddingRight: "0.3em",
34
+ "& svg path": {
35
+ fill: props.color
36
+ ? props.color
37
+ : props.primary
38
+ ? theme.palette.primary.main
39
+ : theme.palette.text.primary,
40
+ },
41
+ };
42
+ });
43
+ export { ImageContainer, ManaButtonContainer };
44
+ //# sourceMappingURL=Mana.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mana.styled.js","sourceRoot":"","sources":["../../../src/components/Mana/Mana.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,UAAU,IAAI,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAGjE,MAAM,mBAAmB,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAC5C,KAEC,EACD,EAAE;IACF,MAAM,KA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C,IAAI,CAAC,OAAO;SACjC;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { Network } from "@dcl/schemas";
3
+ type ManaProps = {
4
+ size?: "small" | "medium" | "large";
5
+ inline?: boolean;
6
+ network?: Network;
7
+ children?: React.ReactChild;
8
+ color?: string;
9
+ primary?: boolean;
10
+ showTooltip?: boolean;
11
+ href?: string;
12
+ onClick?: React.MouseEventHandler<HTMLButtonElement> & ((event: React.MouseEvent<HTMLAnchorElement, MouseEvent>, network: Network) => void);
13
+ };
14
+ export { ManaProps };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Mana.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mana.types.js","sourceRoot":"","sources":["../../../src/components/Mana/Mana.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./Mana";
2
+ export * from "./Mana.types";
@@ -0,0 +1,3 @@
1
+ export * from "./Mana";
2
+ export * from "./Mana.types";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Mana/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA"}
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Media hook to determine if we're going to be rendering in a desktop environment with big screens.
4
+ */
5
+ declare const useBigDesktopMediaQuery: () => boolean;
6
+ /**
7
+ * Media hook to determine if we're going to be rendering in a desktop environment.
8
+ */
9
+ declare const useDesktopMediaQuery: () => boolean;
10
+ /**
11
+ * Media hook to determine if we're going to be rendering in a tablet environment.
12
+ */
13
+ declare const useTabletMediaQuery: () => boolean;
14
+ /**
15
+ * Media hook to determine if we're going to be rendering in a tablet or below environment.
16
+ */
17
+ declare const useTabletAndBelowMediaQuery: () => boolean;
18
+ /**
19
+ * Media hook to determine if we're going to be rendering in a mobile environment.
20
+ */
21
+ declare const useMobileMediaQuery: () => boolean;
22
+ /**
23
+ * Media hook to determine if we're going to be rendering in an environment that's not mobile.
24
+ */
25
+ declare const useNotMobileMediaQuery: () => boolean;
26
+ /**
27
+ * Renders a component if the screen suits the desktop size.
28
+ */
29
+ declare const Desktop: ({ children, }: {
30
+ children: JSX.Element;
31
+ }) => JSX.Element | null;
32
+ /**
33
+ * Renders a component if the screen suits the tablet size.
34
+ */
35
+ declare const Tablet: ({ children, }: {
36
+ children: JSX.Element;
37
+ }) => JSX.Element | null;
38
+ /**
39
+ * Renders a component if the screen suits the tablet or mobile size.
40
+ */
41
+ declare const TabletAndBelow: ({ children, }: {
42
+ children: JSX.Element;
43
+ }) => JSX.Element | null;
44
+ /**
45
+ * Renders a component if the screen suits the mobile size.
46
+ */
47
+ declare const Mobile: ({ children, }: {
48
+ children: JSX.Element;
49
+ }) => JSX.Element | null;
50
+ /**
51
+ * Renders a component if the screen doesn't have the size of a mobile device.
52
+ */
53
+ declare const NotMobile: ({ children, }: {
54
+ children: JSX.Element;
55
+ }) => JSX.Element | null;
56
+ export { Desktop, Tablet, TabletAndBelow, Mobile, NotMobile, useBigDesktopMediaQuery, useDesktopMediaQuery, useTabletMediaQuery, useTabletAndBelowMediaQuery, useMobileMediaQuery, useNotMobileMediaQuery, };
@@ -0,0 +1,62 @@
1
+ import useMediaQuery from "@mui/material/useMediaQuery";
2
+ /**
3
+ * Media hook to determine if we're going to be rendering in a desktop environment with big screens.
4
+ */
5
+ const useBigDesktopMediaQuery = () => useMediaQuery("(min-width: 1920px)");
6
+ /**
7
+ * Media hook to determine if we're going to be rendering in a desktop environment.
8
+ */
9
+ const useDesktopMediaQuery = () => useMediaQuery("(min-width: 992px)");
10
+ /**
11
+ * Media hook to determine if we're going to be rendering in a tablet environment.
12
+ */
13
+ const useTabletMediaQuery = () => useMediaQuery("(min-width: 768px) and (max-width: 991px)");
14
+ /**
15
+ * Media hook to determine if we're going to be rendering in a tablet or below environment.
16
+ */
17
+ const useTabletAndBelowMediaQuery = () => useMediaQuery("(max-width: 991px)");
18
+ /**
19
+ * Media hook to determine if we're going to be rendering in a mobile environment.
20
+ */
21
+ const useMobileMediaQuery = () => useMediaQuery("(max-width: 767px)");
22
+ /**
23
+ * Media hook to determine if we're going to be rendering in an environment that's not mobile.
24
+ */
25
+ const useNotMobileMediaQuery = () => useMediaQuery("(min-width: 768px)");
26
+ /**
27
+ * Renders a component if the screen suits the desktop size.
28
+ */
29
+ const Desktop = ({ children, }) => {
30
+ const isDesktop = useDesktopMediaQuery();
31
+ return isDesktop ? children : null;
32
+ };
33
+ /**
34
+ * Renders a component if the screen suits the tablet size.
35
+ */
36
+ const Tablet = ({ children, }) => {
37
+ const isTablet = useTabletMediaQuery();
38
+ return isTablet ? children : null;
39
+ };
40
+ /**
41
+ * Renders a component if the screen suits the tablet or mobile size.
42
+ */
43
+ const TabletAndBelow = ({ children, }) => {
44
+ const isTablet = useTabletAndBelowMediaQuery();
45
+ return isTablet ? children : null;
46
+ };
47
+ /**
48
+ * Renders a component if the screen suits the mobile size.
49
+ */
50
+ const Mobile = ({ children, }) => {
51
+ const isMobile = useMobileMediaQuery();
52
+ return isMobile ? children : null;
53
+ };
54
+ /**
55
+ * Renders a component if the screen doesn't have the size of a mobile device.
56
+ */
57
+ const NotMobile = ({ children, }) => {
58
+ const isNotMobile = useNotMobileMediaQuery();
59
+ return isNotMobile ? children : null;
60
+ };
61
+ export { Desktop, Tablet, TabletAndBelow, Mobile, NotMobile, useBigDesktopMediaQuery, useDesktopMediaQuery, useTabletMediaQuery, useTabletAndBelowMediaQuery, useMobileMediaQuery, useNotMobileMediaQuery, };
62
+ //# sourceMappingURL=Media.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Media.js","sourceRoot":"","sources":["../../../src/components/Media/Media.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,6BAA6B,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,GAGT,EAAsB,EAAE;IACvB,MAAM,QAAQ,GAAG,mBAAmB,EAAE,CAAA;IACtC,OAAO,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA;AACnC,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,SAAS,GAAG,CAAC,EACjB,QAAQ,GAGT,EAAsB,EAAE;IACvB,MAAM,WAAW,GAAG,sBAAsB,EAAE,CAAA;IAC5C,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA;AACtC,CAAC,CAAA;AAED,OAAO,EACL,OAAO,EACP,MAAM,EACN,cAAc,EACd,MAAM,EACN,SAAS,EACT,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,sBAAsB,GACvB,CAAA"}
@@ -0,0 +1 @@
1
+ export * from "./Media";
@@ -0,0 +1,2 @@
1
+ export * from "./Media";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Media/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ModalProps } from "./Modal.types";
3
+ declare const ModalContent: React.MemoExoticComponent<(props: Partial<Pick<ModalProps, "header" | "children" | "actions" | "title" | "subtitle" | "size" | "onClose" | "onBack">>) => JSX.Element>;
4
+ declare const Modal: React.MemoExoticComponent<(props: ModalProps) => JSX.Element>;
5
+ export { Modal, ModalContent };
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import ArrowBackIosNewRoundedIcon from "@mui/icons-material/ArrowBackIosNewRounded";
4
+ import CancelRoundedIcon from "@mui/icons-material/CancelRounded";
5
+ import { IconButton, Typography } from "@mui/material";
6
+ import { ModalActionsContainer, ModalContainer, ModalContentContainer, ModalTitleContainer, } from "./Modal.styled";
7
+ const ModalContent = React.memo((props) => {
8
+ const { children, header, actions, title, subtitle, size, onClose, onBack, } = props;
9
+ return (_jsxs(ModalContainer, { elevation: 24, size: size, children: [header, (title || onClose || onBack) && (_jsxs(ModalTitleContainer, { children: [onBack && (_jsx(IconButton, { "aria-label": "back", size: "large", onClick: onBack, children: _jsx(ArrowBackIosNewRoundedIcon, {}) })), title && _jsx(Typography, { variant: "h5", children: title }), onClose && (_jsx(IconButton, { "aria-label": "close", size: "large", onClick: onClose, children: _jsx(CancelRoundedIcon, {}) }))] })), subtitle && _jsx(Typography, { variant: "subtitle1", children: subtitle }), _jsx(ModalContentContainer, { children: children }), actions && _jsx(ModalActionsContainer, { children: actions })] }));
10
+ });
11
+ const Modal = React.memo((props) => {
12
+ return (_jsx(Modal, { ...props, children: _jsx(ModalContent, { ...props, children: props.children }) }));
13
+ });
14
+ export { Modal, ModalContent };
15
+ //# sourceMappingURL=Modal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,0BAA0B,MAAM,4CAA4C,CAAA;AACnF,OAAO,iBAAiB,MAAM,mCAAmC,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEtD,OAAO,EACL,qBAAqB,EACrB,cAAc,EACd,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAC7B,CACE,KAYC,EACD,EAAE;IACF,MAAM,EACJ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,MAAM,GACP,GAAG,KAAK,CAAA;IAET,OAAO,CACL,MAAC,cAAc,IAAC,SAAS,EAAE,EAAE,EAAE,IAAI,EAA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