@ludo.ninja/components 1.9.4 → 1.9.5

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 (260) hide show
  1. package/dist/components/CreationCard/{CardHead.jsx → CardHead.js} +15 -22
  2. package/dist/components/CreationCard/{index.jsx → index.js} +24 -19
  3. package/dist/components/addWalletsRedirectPage/{index.jsx → index.js} +11 -18
  4. package/dist/components/banner/{index.jsx → index.js} +17 -23
  5. package/dist/components/base/Meta/index.js +60 -0
  6. package/dist/components/base/NoSSR/{index.jsx → index.js} +1 -1
  7. package/dist/components/collectionPage/collectionLike/{index.jsx → index.js} +5 -9
  8. package/dist/components/deleteDialog/{index.jsx → index.js} +14 -19
  9. package/dist/components/favoriteList/add/addAssetToFavoriteList/{index.jsx → index.js} +2 -4
  10. package/dist/components/favoriteList/add/addCollectionToFavoriteList/{index.jsx → index.js} +1 -3
  11. package/dist/components/favoriteList/add/addCreationToFavoriteList/{index.jsx → index.js} +2 -4
  12. package/dist/components/filters/applyResetBtns/{index.jsx → index.js} +5 -8
  13. package/dist/components/filters/galleriesFiltersForm/{index.jsx → index.js} +5 -14
  14. package/dist/components/filters/{index.jsx → index.js} +27 -35
  15. package/dist/components/filters/mobileFilters/{index.jsx → index.js} +1 -1
  16. package/dist/components/filters/setsFiltersForm/{index.jsx → index.js} +4 -11
  17. package/dist/components/forms/form/{index.jsx → index.js} +35 -45
  18. package/dist/components/forms/formsNavigation/{index.jsx → index.js} +6 -14
  19. package/dist/components/forms/formsTemplate/{index.jsx → index.js} +3 -4
  20. package/dist/components/gallery/add/addAssetToGallery/{index.jsx → index.js} +2 -4
  21. package/dist/components/gallery/add/addCreationToGallery/{index.jsx → index.js} +7 -8
  22. package/dist/components/gradientLabel/{index.jsx → index.js} +1 -1
  23. package/dist/components/headers/components/headerExperienceLabel/{index.jsx → index.js} +2 -3
  24. package/dist/components/headers/components/headerUserPic/{index.jsx → index.js} +2 -3
  25. package/dist/components/headers/header/{index.jsx → index.js} +6 -6
  26. package/dist/components/headers/headerSearch/{index.jsx → index.js} +7 -7
  27. package/dist/components/headers/headerSimple/{index.jsx → index.js} +4 -6
  28. package/dist/components/inviteCodesForms/getEarlyAccessForm/{index.jsx → index.js} +17 -27
  29. package/dist/components/inviteCodesForms/joinWaitListForm/{index.jsx → index.js} +11 -22
  30. package/dist/components/inviteCodesPage/components/inviteCodes/{index.jsx → index.js} +2 -2
  31. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/{index.jsx → index.js} +3 -4
  32. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/{index.jsx → index.js} +6 -7
  33. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/{index.jsx → index.js} +2 -2
  34. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/{index.jsx → index.js} +1 -1
  35. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/{index.jsx → index.js} +4 -9
  36. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/{index.jsx → index.js} +1 -3
  37. package/dist/components/inviteCodesPage/wrappers/resumeCodes/{index.jsx → index.js} +17 -27
  38. package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +17 -0
  39. package/dist/components/inviteCodesPage/wrappers/unusedCodes/{index.jsx → index.js} +4 -6
  40. package/dist/components/inviteCodesPage/wrappers/usedCodes/{index.jsx → index.js} +6 -9
  41. package/dist/components/linkTabs/{index.jsx → index.js} +1 -3
  42. package/dist/components/linkTabs/linkTab/{index.jsx → index.js} +4 -6
  43. package/dist/components/myWallets/{index.jsx → index.js} +4 -5
  44. package/dist/components/myWallets/myWalletItem/{index.jsx → index.js} +22 -29
  45. package/dist/components/navigation/{index.jsx → index.js} +11 -29
  46. package/dist/components/profile/MultiversXAudit/{MultiversXAudit.jsx → MultiversXAudit.js} +10 -15
  47. package/dist/components/profile/{ProfileTabs.jsx → ProfileTabs.js} +20 -22
  48. package/dist/components/profile/aboutText/{index.jsx → index.js} +16 -25
  49. package/dist/components/profile/addToGalleryBtns/{index.jsx → index.js} +6 -9
  50. package/dist/components/profile/followersSocial/followers/{index.jsx → index.js} +3 -4
  51. package/dist/components/profile/followersSocial/{index.jsx → index.js} +6 -7
  52. package/dist/components/profile/followersSocial/social/{index.jsx → index.js} +7 -9
  53. package/dist/components/profile/info/{index.jsx → index.js} +8 -11
  54. package/dist/components/profile/interests/{index.jsx → index.js} +14 -29
  55. package/dist/components/profile/pageHead/index.js +51 -0
  56. package/dist/components/profile/profileSkeleton/{index.jsx → index.js} +9 -15
  57. package/dist/components/profile/profileUserCards/{index.jsx → index.js} +1 -1
  58. package/dist/components/profile/profileUserCards/profileUserCard/{index.jsx → index.js} +21 -26
  59. package/dist/components/profile/rank/{index.jsx → index.js} +7 -15
  60. package/dist/components/profile/stats/{index.jsx → index.js} +4 -12
  61. package/dist/components/profile/wallets/{index.jsx → index.js} +20 -28
  62. package/dist/components/profile/wrapper/{index.jsx → index.js} +4 -12
  63. package/dist/components/registrationPage/registrationSelectBox/{index.jsx → index.js} +2 -3
  64. package/dist/components/registrationPage/registrationSelection/{index.jsx → index.js} +15 -29
  65. package/dist/components/rewards/FAQ/{index.jsx → index.js} +12 -20
  66. package/dist/components/rewards/clarifications/{index.jsx → index.js} +15 -25
  67. package/dist/components/rewards/logoBottom/{index.jsx → index.js} +5 -6
  68. package/dist/components/rewards/prograssBar/{index.jsx → index.js} +3 -5
  69. package/dist/components/rewards/seasonBanner/{index.jsx → index.js} +2 -3
  70. package/dist/components/rewards/taskExpTab/{index.jsx → index.js} +19 -31
  71. package/dist/components/rewards/tasksGrid/{index.jsx → index.js} +3 -6
  72. package/dist/components/rewards/userExp/{index.jsx → index.js} +23 -29
  73. package/dist/components/search/{SearchInputContainer.jsx → SearchInputContainer.js} +96 -98
  74. package/dist/components/search/{index.jsx → index.js} +10 -12
  75. package/dist/components/search/searchCategories/{index.jsx → index.js} +6 -10
  76. package/dist/components/search/searchCloseMoreButtons/{index.jsx → index.js} +12 -15
  77. package/dist/components/search/searchResultCaption/{index.jsx → index.js} +3 -6
  78. package/dist/components/search/searchSelectsGalleries/{index.jsx → index.js} +14 -30
  79. package/dist/components/search/searchSelectsSets/{index.jsx → index.js} +14 -27
  80. package/dist/components/search/searchSimpleInput/{index.jsx → index.js} +9 -11
  81. package/dist/components/search/searchSuggestions/index.js +117 -0
  82. package/dist/components/search/searchSuggestions/searchSuggestionsCaption/{index.jsx → index.js} +3 -4
  83. package/dist/components/search/searchSuggestions/searchSuggestionsFooter/{index.jsx → index.js} +6 -7
  84. package/dist/components/search/searchSuggestions/searchSuggestionsItem/{index.jsx → index.js} +11 -18
  85. package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/{index.jsx → index.js} +7 -14
  86. package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/{index.jsx → index.js} +5 -3
  87. package/dist/components/shareDialog/index.js +73 -0
  88. package/dist/components/showcaseAssets/showcaseSort/{index.jsx → index.js} +4 -6
  89. package/dist/components/sidebar/{data.jsx → data.js} +8 -8
  90. package/dist/components/sidebar/{index.jsx → index.js} +16 -23
  91. package/dist/components/sidebar/{initializer.jsx → initializer.js} +1 -1
  92. package/dist/components/sidebar/sidebarFilters/{index.jsx → index.js} +6 -9
  93. package/dist/components/sidebar/sidebarInviteCodeLabel/{index.jsx → index.js} +3 -4
  94. package/dist/components/socialButtons/{data.jsx → data.js} +6 -6
  95. package/dist/components/socialButtons/icons/discord.js +7 -0
  96. package/dist/components/socialButtons/icons/facebook.js +8 -0
  97. package/dist/components/socialButtons/icons/instagram.js +9 -0
  98. package/dist/components/socialButtons/icons/medium.js +7 -0
  99. package/dist/components/socialButtons/icons/telegram.js +7 -0
  100. package/dist/components/socialButtons/icons/twitter.js +7 -0
  101. package/dist/components/socialButtons/{index.jsx → index.js} +5 -8
  102. package/dist/components/tabs/icons/bell.js +9 -0
  103. package/dist/components/tabs/icons/profile.js +9 -0
  104. package/dist/components/tabs/icons/secure.js +8 -0
  105. package/dist/components/tabs/{index.jsx → index.js} +10 -13
  106. package/dist/components/toTopBtn/{index.jsx → index.js} +5 -7
  107. package/dist/dto/AssetEntity/views/AssetAudio/{index.jsx → index.js} +1 -1
  108. package/dist/dto/AssetEntity/views/AssetImage/{index.jsx → index.js} +2 -2
  109. package/dist/dto/AssetEntity/views/AssetObject/{index.jsx → index.js} +3 -3
  110. package/dist/dto/AssetEntity/views/AssetOther/{index.jsx → index.js} +3 -3
  111. package/dist/dto/AssetEntity/views/AssetScreenshot/{index.jsx → index.js} +2 -2
  112. package/dist/dto/AssetEntity/views/AssetVideo/{index.jsx → index.js} +1 -1
  113. package/dist/dto/common/ItemViews/CreationAudio/{index.jsx → index.js} +1 -1
  114. package/dist/dto/common/ItemViews/CreationImage/{index.jsx → index.js} +2 -2
  115. package/dist/dto/common/ItemViews/CreationObject/{index.jsx → index.js} +1 -1
  116. package/dist/dto/common/ItemViews/CreationOther/{index.jsx → index.js} +1 -1
  117. package/dist/dto/common/ItemViews/CreationVideo/{index.jsx → index.js} +1 -1
  118. package/dist/dto/common/Media/Audio/{index.jsx → index.js} +3 -3
  119. package/dist/dto/common/Media/Image/{index.jsx → index.js} +4 -4
  120. package/dist/dto/common/Media/Object/{index.jsx → index.js} +3 -3
  121. package/dist/dto/common/Media/Other/{index.jsx → index.js} +3 -3
  122. package/dist/dto/common/Media/Screenshot/{index.jsx → index.js} +4 -4
  123. package/dist/dto/common/Media/Video/{index.jsx → index.js} +3 -3
  124. package/dist/fonts/{FontsInitializeLayout.jsx → FontsInitializeLayout.js} +1 -4
  125. package/dist/hooks/searchFiltersConnector/{index.jsx → index.js} +33 -35
  126. package/dist/hooks/useToGalleryAsset/{index.jsx → index.js} +1 -1
  127. package/dist/layouts/{GlobalLayout.jsx → GlobalLayout.js} +15 -16
  128. package/dist/layouts/base/LWithRegularHeader/{index.jsx → index.js} +4 -5
  129. package/dist/layouts/base/LWithSearchHeader/{index.jsx → index.js} +4 -5
  130. package/dist/layouts/base/LWithSimpleHeader/{index.jsx → index.js} +4 -5
  131. package/dist/layouts/base/LWithoutHeader/{index.jsx → index.js} +3 -4
  132. package/dist/layouts/custom/accountLayout/{index.jsx → index.js} +6 -11
  133. package/dist/layouts/custom/formsLayout/{index.jsx → index.js} +3 -5
  134. package/dist/layouts/custom/mainLayout/{index.jsx → index.js} +5 -8
  135. package/dist/layouts/custom/searchLayout/{index.jsx → index.js} +5 -8
  136. package/dist/layouts/custom/simpleLayout/{index.jsx → index.js} +5 -8
  137. package/dist/layouts/pageTransitionLayout.js +24 -0
  138. package/dist/modules/notifications/{CreatorNotifications.jsx → CreatorNotifications.js} +1 -3
  139. package/dist/modules/user/profileData/{profileDataInitialization.jsx → profileDataInitialization.js} +1 -1
  140. package/dist/modules/virtuoso/{VirtuosoPageBuilder.jsx → VirtuosoPageBuilder.js} +18 -23
  141. package/dist/modules/virtuoso/{VirtuosoToTopBtn.jsx → VirtuosoToTopBtn.js} +1 -1
  142. package/dist/pages/index.js +16 -0
  143. package/dist/system/ActiveLink/{index.jsx → index.js} +14 -5
  144. package/dist/system/Alert/{index.jsx → index.js} +1 -1
  145. package/dist/system/BasicOverlay/{index.jsx → index.js} +1 -1
  146. package/dist/system/Cards/CardCheckbox/{index.jsx → index.js} +4 -6
  147. package/dist/system/Cards/CardContent/CardCategory/{index.jsx → index.js} +3 -5
  148. package/dist/system/Cards/CardContent/CardLikes/{index.jsx → index.js} +7 -11
  149. package/dist/system/Cards/CardContent/CardShowMore/{index.jsx → index.js} +5 -8
  150. package/dist/system/Cards/CardContent/{index.jsx → index.js} +16 -30
  151. package/dist/system/Cards/CardHeadIcons/{index.jsx → index.js} +15 -22
  152. package/dist/system/Cards/CardMedia/CardAudio/{index.jsx → index.js} +4 -5
  153. package/dist/system/Cards/CardMedia/CardImage/{index.jsx → index.js} +4 -5
  154. package/dist/system/Cards/CardMedia/CardVideo/{index.jsx → index.js} +9 -11
  155. package/dist/system/Cards/CardRank/{index.jsx → index.js} +6 -12
  156. package/dist/system/Cards/CardsGrid/{index.jsx → index.js} +8 -13
  157. package/dist/system/Cards/HideLink/index.js +27 -0
  158. package/dist/system/Cards/MultiMediaCard/{index.jsx → index.js} +11 -17
  159. package/dist/system/Cards/RegularCard/{index.jsx → index.js} +11 -17
  160. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/{index.jsx → index.js} +3 -6
  161. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/{index.jsx → index.js} +3 -4
  162. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/{index.jsx → index.js} +9 -15
  163. package/dist/system/CardsHolderWithSkeleton/CardsHolder/{index.jsx → index.js} +4 -8
  164. package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/{index.jsx → index.js} +2 -3
  165. package/dist/system/CardsHolderWithSkeleton/{index.jsx → index.js} +3 -6
  166. package/dist/system/DropDown/{DropDown.test.jsx → DropDown.test.js} +7 -11
  167. package/dist/system/DropDown/{index.jsx → index.js} +10 -13
  168. package/dist/system/Forms/Checkbox/{Checkbox.test.jsx → Checkbox.test.js} +13 -2
  169. package/dist/system/Forms/Checkbox/{index.jsx → index.js} +23 -15
  170. package/dist/system/Forms/DatePicker/{index.jsx → index.js} +6 -7
  171. package/dist/system/Forms/ErrorLabel/{ErrorLabel.test.jsx → ErrorLabel.test.js} +2 -2
  172. package/dist/system/Forms/ErrorLabel/{index.jsx → index.js} +1 -1
  173. package/dist/system/Forms/Input/{Input.test.jsx → Input.test.js} +2 -2
  174. package/dist/system/Forms/Input/{index.jsx → index.js} +15 -5
  175. package/dist/system/Forms/RadioInput/{index.jsx → index.js} +16 -6
  176. package/dist/system/Forms/Selects/DesktopSelect/{index.jsx → index.js} +21 -11
  177. package/dist/system/Forms/Selects/MobileSelect/{index.jsx → index.js} +1 -3
  178. package/dist/system/Forms/TextArea/{index.jsx → index.js} +15 -5
  179. package/dist/system/Img/ExternalImage/{index.jsx → index.js} +12 -1
  180. package/dist/system/Img/ImageInterceptor/{ImageInterceptor.test.jsx → ImageInterceptor.test.js} +10 -14
  181. package/dist/system/Img/ImageInterceptor/{index.jsx → index.js} +4 -5
  182. package/dist/system/Img/Profilepic/{index.jsx → index.js} +8 -9
  183. package/dist/system/Img/Userpic/{UserPic.test.jsx → UserPic.test.js} +6 -8
  184. package/dist/system/Img/Userpic/{index.jsx → index.js} +10 -13
  185. package/dist/system/Labels/ExperienceLabel/{ExperienceLabel.test.jsx → ExperienceLabel.test.js} +16 -6
  186. package/dist/system/Labels/ExperienceLabel/{index.jsx → index.js} +6 -5
  187. package/dist/system/Labels/InviteLabel/{InviteLabel.test.jsx → InviteLabel.test.js} +15 -5
  188. package/dist/system/Labels/InviteLabel/{index.jsx → index.js} +3 -4
  189. package/dist/system/Modals/Modal/{Modal.test.jsx → Modal.test.js} +2 -2
  190. package/dist/system/Modals/Modal/{index.jsx → index.js} +3 -4
  191. package/dist/system/Modals/ModalSidebar/{CreatorModalSidebarPortal.jsx → CreatorModalSidebarPortal.js} +1 -1
  192. package/dist/system/Modals/ModalSidebar/{ModalSidebar.test.jsx → ModalSidebar.test.js} +2 -2
  193. package/dist/system/Modals/ModalSidebar/{ModalSidebarPortal.jsx → ModalSidebarPortal.js} +4 -6
  194. package/dist/system/Modals/ModalSidebar/{index.jsx → index.js} +3 -4
  195. package/dist/system/Overlay/{Overlay.test.jsx → Overlay.test.js} +2 -3
  196. package/dist/system/Overlay/{index.jsx → index.js} +2 -3
  197. package/dist/system/{ShareIconResize.jsx → ShareIconResize.js} +5 -6
  198. package/dist/system/Tabs/TabNavLink/{TabNavLink.test.jsx → TabNavLink.test.js} +3 -3
  199. package/dist/system/Tabs/TabNavLink/{index.jsx → index.js} +1 -3
  200. package/dist/system/Tabs/TabsNav/{TabsNav.test.jsx → TabsNav.test.js} +4 -4
  201. package/dist/system/Tabs/TabsNav/{index.jsx → index.js} +2 -2
  202. package/dist/system/Tabs/TabsPanel/{TabsPanel.test.jsx → TabsPanel.test.js} +8 -12
  203. package/dist/system/Tabs/TabsPanel/{index.jsx → index.js} +1 -1
  204. package/dist/tsconfig.tsbuildinfo +1 -1
  205. package/dist/utils/copyBtn/{index.jsx → index.js} +4 -7
  206. package/package.json +1 -1
  207. package/dist/components/base/Meta/index.jsx +0 -64
  208. package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +0 -18
  209. package/dist/components/profile/pageHead/index.jsx +0 -52
  210. package/dist/components/search/searchSuggestions/index.jsx +0 -124
  211. package/dist/components/shareDialog/index.jsx +0 -91
  212. package/dist/components/socialButtons/icons/discord.jsx +0 -8
  213. package/dist/components/socialButtons/icons/facebook.jsx +0 -9
  214. package/dist/components/socialButtons/icons/instagram.jsx +0 -10
  215. package/dist/components/socialButtons/icons/medium.jsx +0 -8
  216. package/dist/components/socialButtons/icons/telegram.jsx +0 -8
  217. package/dist/components/socialButtons/icons/twitter.jsx +0 -8
  218. package/dist/components/tabs/icons/bell.jsx +0 -10
  219. package/dist/components/tabs/icons/profile.jsx +0 -10
  220. package/dist/components/tabs/icons/secure.jsx +0 -9
  221. package/dist/layouts/pageTransitionLayout.jsx +0 -27
  222. package/dist/pages/index.jsx +0 -18
  223. package/dist/system/Cards/HideLink/index.jsx +0 -22
  224. /package/dist/components/headers/components/MobileToggle/{index.jsx → index.js} +0 -0
  225. /package/dist/components/inviteCodesPage/components/{index.jsx → index.js} +0 -0
  226. /package/dist/components/inviteCodesPage/wrappers/{index.jsx → index.js} +0 -0
  227. /package/dist/components/profile/jsonLd/{index.jsx → index.js} +0 -0
  228. /package/dist/components/registrationPage/{index.jsx → index.js} +0 -0
  229. /package/dist/components/rewards/rewardsButton/{index.jsx → index.js} +0 -0
  230. /package/dist/dto/common/ItemType/{index.jsx → index.js} +0 -0
  231. /package/dist/dto/common/Media/{index.jsx → index.js} +0 -0
  232. /package/dist/hooks/apollo/{index.jsx → index.js} +0 -0
  233. /package/dist/hooks/audio/useMultiAudio/{index.jsx → index.js} +0 -0
  234. /package/dist/hooks/likes/dynamic/{useFindCollectionsAndLikes.jsx → useFindCollectionsAndLikes.js} +0 -0
  235. /package/dist/hooks/likes/dynamic/{useFindCreationsAndLikes.jsx → useFindCreationsAndLikes.js} +0 -0
  236. /package/dist/hooks/likes/dynamic/{useGetCollectionInfoAndLikes.jsx → useGetCollectionInfoAndLikes.js} +0 -0
  237. /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikes.jsx → useGetCreationsAndLikes.js} +0 -0
  238. /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikesByType.jsx → useGetCreationsAndLikesByType.js} +0 -0
  239. /package/dist/hooks/likes/dynamic/{useGetMixedLikesFavoriteList.jsx → useGetMixedLikesFavoriteList.js} +0 -0
  240. /package/dist/hooks/likes/dynamic/{useGetTableLikes.jsx → useGetTableLikes.js} +0 -0
  241. /package/dist/modules/notifications/{index.jsx → index.js} +0 -0
  242. /package/dist/modules/user/{store.jsx → store.js} +0 -0
  243. /package/dist/styles/animations/{index.jsx → index.js} +0 -0
  244. /package/dist/styles/{globalStyles.jsx → globalStyles.js} +0 -0
  245. /package/dist/styles/mixins/{boxShadow.jsx → boxShadow.js} +0 -0
  246. /package/dist/styles/mixins/{boxTransform.jsx → boxTransform.js} +0 -0
  247. /package/dist/styles/mixins/{z-indexes.jsx → z-indexes.js} +0 -0
  248. /package/dist/styles/typography/{index.jsx → index.js} +0 -0
  249. /package/dist/system/Buttons/IconButton/{index.jsx → index.js} +0 -0
  250. /package/dist/system/Buttons/IconWithButton/{index.jsx → index.js} +0 -0
  251. /package/dist/system/Buttons/MainButton/{index.jsx → index.js} +0 -0
  252. /package/dist/system/Buttons/SecondaryButton/{index.jsx → index.js} +0 -0
  253. /package/dist/system/Flex/{index.jsx → index.js} +0 -0
  254. /package/dist/system/Labels/SkeletonLabel/{index.jsx → index.js} +0 -0
  255. /package/dist/system/PageLoader/{index.jsx → index.js} +0 -0
  256. /package/dist/system/Palete/{index.jsx → index.js} +0 -0
  257. /package/dist/system/Text/{index.jsx → index.js} +0 -0
  258. /package/dist/utils/extractItemIds/{index.jsx → index.js} +0 -0
  259. /package/dist/utils/imageProportionsSize/{index.jsx → index.js} +0 -0
  260. /package/dist/utils/ui/{index.jsx → index.js} +0 -0
@@ -90,57 +90,47 @@ var Form = function (_a) {
90
90
  var registerProp = register(inputProps.name, inputProps.validations);
91
91
  switch (inputProps.type) {
92
92
  case 'textArea':
93
- return (<Forms_1.BasicTextArea register={registerProp} error={errorProp} data={dataProp} isNeedBiggerArea={false}/>);
93
+ return (react_1.default.createElement(Forms_1.BasicTextArea, { register: registerProp, error: errorProp, data: dataProp, isNeedBiggerArea: false }));
94
94
  case 'checkbox':
95
- return (<>
96
- {(_a = inputProps.options) === null || _a === void 0 ? void 0 : _a.map(function (option) {
97
- var isCheckboxWithInput = option.value === 'other';
98
- var registerTextInput = isCheckboxWithInput
99
- ? register("".concat(inputProps.name, "-other-checkbox"))
100
- : undefined;
101
- return (<Forms_1.CheckboxInput key={option.value} register={registerProp} error={errorProp} data={dataProp} label={option.desc} value={option.value} withInput={isCheckboxWithInput} innerTextInputRef={registerTextInput}/>);
102
- })}
103
- </>);
95
+ return (react_1.default.createElement(react_1.default.Fragment, null, (_a = inputProps.options) === null || _a === void 0 ? void 0 : _a.map(function (option) {
96
+ var isCheckboxWithInput = option.value === 'other';
97
+ var registerTextInput = isCheckboxWithInput
98
+ ? register("".concat(inputProps.name, "-other-checkbox"))
99
+ : undefined;
100
+ return (react_1.default.createElement(Forms_1.CheckboxInput, { key: option.value, register: registerProp, error: errorProp, data: dataProp, label: option.desc, value: option.value, withInput: isCheckboxWithInput, innerTextInputRef: registerTextInput }));
101
+ })));
104
102
  case 'radio':
105
- return (<>
106
- {(_b = inputProps.options) === null || _b === void 0 ? void 0 : _b.map(function (option) {
107
- var isRadioWithInput = option.value === 'other';
108
- var registerTextInput = isRadioWithInput
109
- ? register("".concat(inputProps.name, "-other-radio"))
110
- : undefined;
111
- return (<react_hook_form_1.Controller key={option.desc} name={inputProps.name} control={control} render={function (_a) {
112
- var field = _a.field;
113
- return (<RadioInput key={option.value} radioLabel={option.desc} radioValue={option.value} handleChange={field.onChange} radioChecked={field.value === option.value} withInput={isRadioWithInput} innerTextInputRef={registerTextInput} setFocus={setFocus}/>);
114
- }}/>);
115
- })}
116
- </>);
103
+ return (react_1.default.createElement(react_1.default.Fragment, null, (_b = inputProps.options) === null || _b === void 0 ? void 0 : _b.map(function (option) {
104
+ var isRadioWithInput = option.value === 'other';
105
+ var registerTextInput = isRadioWithInput
106
+ ? register("".concat(inputProps.name, "-other-radio"))
107
+ : undefined;
108
+ return (react_1.default.createElement(react_hook_form_1.Controller, { key: option.desc, name: inputProps.name, control: control, render: function (_a) {
109
+ var field = _a.field;
110
+ return (react_1.default.createElement(RadioInput, { key: option.value, radioLabel: option.desc, radioValue: option.value, handleChange: field.onChange, radioChecked: field.value === option.value, withInput: isRadioWithInput, innerTextInputRef: registerTextInput, setFocus: setFocus }));
111
+ } }));
112
+ })));
117
113
  case 'date':
118
- return (<DatePicker_1.default register={registerProp} error={errorProp} control={control} name={inputProps.name}/>);
114
+ return (react_1.default.createElement(DatePicker_1.default, { register: registerProp, error: errorProp, control: control, name: inputProps.name }));
119
115
  default:
120
- return (<Forms_1.Input register={registerProp} error={errorProp} data={dataProp}/>);
116
+ return (react_1.default.createElement(Forms_1.Input, { register: registerProp, error: errorProp, data: dataProp }));
121
117
  }
122
118
  };
123
- return (<Wrapper>
124
- <FormWrapper onSubmit={handleSubmit(onSubmit)}>
125
- <Title>{formTitle}</Title>
126
- <Description>{formDescription}</Description>
127
- {inputs.map(function (input) {
128
- var _a;
129
- return (<StyledInputGroup key={input.name}>
130
- <InputTitle>
131
- {((_a = input.validations) === null || _a === void 0 ? void 0 : _a.required) ? '*' : ''}
132
- {input.label}
133
- </InputTitle>
134
- {getInput(input)}
135
- </StyledInputGroup>);
136
- })}
137
-
138
- <_system_1.Flex justifyContent="space-between" style={{ marginTop: 44 }}>
139
- <MainButton_1.default onClick={function (e) { var _a; return (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.blur(); }} disabled={!isDirty || !isValid} variant="primaryM" text={submitLoading ? <react_bootstrap_1.Spinner variant="light"/> : 'Submit'} type={'submit'}/>
140
- <MainButton_1.default onClick={function (e) { var _a; return (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.blur(); }} disabled={!isDirty} variant="secondary" text={submitLoading ? <react_bootstrap_1.Spinner variant="light"/> : 'Clear Form'} type={'reset'}/>
141
- </_system_1.Flex>
142
- </FormWrapper>
143
- </Wrapper>);
119
+ return (react_1.default.createElement(Wrapper, null,
120
+ react_1.default.createElement(FormWrapper, { onSubmit: handleSubmit(onSubmit) },
121
+ react_1.default.createElement(Title, null, formTitle),
122
+ react_1.default.createElement(Description, null, formDescription),
123
+ inputs.map(function (input) {
124
+ var _a;
125
+ return (react_1.default.createElement(StyledInputGroup, { key: input.name },
126
+ react_1.default.createElement(InputTitle, null,
127
+ ((_a = input.validations) === null || _a === void 0 ? void 0 : _a.required) ? '*' : '',
128
+ input.label),
129
+ getInput(input)));
130
+ }),
131
+ react_1.default.createElement(_system_1.Flex, { justifyContent: "space-between", style: { marginTop: 44 } },
132
+ react_1.default.createElement(MainButton_1.default, { onClick: function (e) { var _a; return (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.blur(); }, disabled: !isDirty || !isValid, variant: "primaryM", text: submitLoading ? react_1.default.createElement(react_bootstrap_1.Spinner, { variant: "light" }) : 'Submit', type: 'submit' }),
133
+ react_1.default.createElement(MainButton_1.default, { onClick: function (e) { var _a; return (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.blur(); }, disabled: !isDirty, variant: "secondary", text: submitLoading ? react_1.default.createElement(react_bootstrap_1.Spinner, { variant: "light" }) : 'Clear Form', type: 'reset' })))));
144
134
  };
145
135
  exports.default = Form;
146
136
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
@@ -62,20 +62,12 @@ var FormsNavigation = function () {
62
62
  var _b = (0, react_1.useState)(false), isOpen = _b[0], setIsOpen = _b[1];
63
63
  var router = (0, router_1.useRouter)();
64
64
  var activeTab = (_a = router === null || router === void 0 ? void 0 : router.query) === null || _a === void 0 ? void 0 : _a.formId;
65
- return (<>
66
- <StyledFlex isOpen={isOpen}>
67
- {isOpen ? (<back_svg_1.default onClick={function () { return setIsOpen(false); }}/>) : (<burger_menu_svg_1.default onClick={function () { return setIsOpen(true); }}/>)}
68
- </StyledFlex>
69
- <Wrapper className={"mobile_menu ".concat(isOpen ? 'show' : 'hide')}>
70
- <List>
71
- {NAVIGATION_TABS.map(function (tab) { return (<li onClick={function () { return setIsOpen(false); }} key={tab.slug} className={"".concat(activeTab === tab.slug ? 'activeTab' : '', " ")}>
72
- <link_1.default href={"/forms/".concat(tab.slug)} className={'link'}>
73
- <span>{tab.label}</span>
74
- </link_1.default>
75
- </li>); })}
76
- </List>
77
- </Wrapper>
78
- </>);
65
+ return (react_1.default.createElement(react_1.default.Fragment, null,
66
+ react_1.default.createElement(StyledFlex, { isOpen: isOpen }, isOpen ? (react_1.default.createElement(back_svg_1.default, { onClick: function () { return setIsOpen(false); } })) : (react_1.default.createElement(burger_menu_svg_1.default, { onClick: function () { return setIsOpen(true); } }))),
67
+ react_1.default.createElement(Wrapper, { className: "mobile_menu ".concat(isOpen ? 'show' : 'hide') },
68
+ react_1.default.createElement(List, null, NAVIGATION_TABS.map(function (tab) { return (react_1.default.createElement("li", { onClick: function () { return setIsOpen(false); }, key: tab.slug, className: "".concat(activeTab === tab.slug ? 'activeTab' : '', " ") },
69
+ react_1.default.createElement(link_1.default, { href: "/forms/".concat(tab.slug), className: 'link' },
70
+ react_1.default.createElement("span", null, tab.label)))); })))));
79
71
  };
80
72
  exports.default = FormsNavigation;
81
73
  var templateObject_1, templateObject_2, templateObject_3;
@@ -167,10 +167,9 @@ var FormsTemplate = function () {
167
167
  if (!form) {
168
168
  return null;
169
169
  }
170
- return (<Wrapper>
171
- <formsNavigation_1.default />
172
- <form_1.default formDescription={form.formDescription} formTitle={form.formTitle} inputs={form.inputs} onSubmit={handleSubmit} submitLoading={loading} initialValues={initialValues}/>
173
- </Wrapper>);
170
+ return (react_1.default.createElement(Wrapper, null,
171
+ react_1.default.createElement(formsNavigation_1.default, null),
172
+ react_1.default.createElement(form_1.default, { formDescription: form.formDescription, formTitle: form.formTitle, inputs: form.inputs, onSubmit: handleSubmit, submitLoading: loading, initialValues: initialValues })));
174
173
  };
175
174
  var getServerSideProps = function (ctx) { return __awaiter(void 0, void 0, void 0, function () {
176
175
  var query, formId, form;
@@ -86,11 +86,9 @@ var AddAssetToGallery = function (_a) {
86
86
  }
87
87
  });
88
88
  }); };
89
- return (<div>
90
- {isNeedAddGallery ? (<createGalleryForm_1.default setAddGallery={setAddGallery} title={'Create Gallery'} inputPlaceHolderText={'Gallery Name'}
89
+ return (react_1.default.createElement("div", null, isNeedAddGallery ? (react_1.default.createElement(createGalleryForm_1.default, { setAddGallery: setAddGallery, title: 'Create Gallery', inputPlaceHolderText: 'Gallery Name',
91
90
  // ids={ids}
92
- createMethod={createGallery} error={errorCreateGallery}/>) : (<chooseGalleryItems_1.default setAddGallery={setAddGallery} title={'Add to Gallery'} titleBtn={'+ New Gallery'} ids={ids} addMethod={addMethod} isAdded={isAdded} error={error} isGetMyGalleries/>)}
93
- </div>);
91
+ createMethod: createGallery, error: errorCreateGallery })) : (react_1.default.createElement(chooseGalleryItems_1.default, { setAddGallery: setAddGallery, title: 'Add to Gallery', titleBtn: '+ New Gallery', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error, isGetMyGalleries: true }))));
94
92
  };
95
93
  // Export
96
94
  exports.default = AddAssetToGallery;
@@ -101,14 +101,13 @@ var AddCreationToGallery = function () {
101
101
  });
102
102
  }); };
103
103
  var ids = creationsToGallery.map(function (creations) { return creations.getCreationId(); });
104
- return (<StyledAddGallery>
105
- <itemsPreview_1.default creations={creationsToGallery} title={'Add to Gallery'} deleteMethod={function (itemId) {
106
- removeCreationFromGalleryWithCallback(itemId, closeModalSidebarPortal);
107
- }}/>
108
- {isNeedAddGallery ? (<createGalleryForm_1.default setAddGallery={setAddGallery}
109
- // ids={ids as string[]}
110
- title={'Create Gallery'} createMethod={createGallery} inputPlaceHolderText={'Gallery Name'} error={errorCreateGallery}/>) : (<chooseGalleryItems_1.default setAddGallery={setAddGallery} title={'Choose Gallery'} titleBtn={'+ New Gallery'} ids={ids} addMethod={addMethod} isAdded={isAdded} error={error} isGetMyGalleries/>)}
111
- </StyledAddGallery>);
104
+ return (react_1.default.createElement(StyledAddGallery, null,
105
+ react_1.default.createElement(itemsPreview_1.default, { creations: creationsToGallery, title: 'Add to Gallery', deleteMethod: function (itemId) {
106
+ removeCreationFromGalleryWithCallback(itemId, closeModalSidebarPortal);
107
+ } }),
108
+ isNeedAddGallery ? (react_1.default.createElement(createGalleryForm_1.default, { setAddGallery: setAddGallery,
109
+ // ids={ids as string[]}
110
+ title: 'Create Gallery', createMethod: createGallery, inputPlaceHolderText: 'Gallery Name', error: errorCreateGallery })) : (react_1.default.createElement(chooseGalleryItems_1.default, { setAddGallery: setAddGallery, title: 'Choose Gallery', titleBtn: '+ New Gallery', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error, isGetMyGalleries: true }))));
112
111
  };
113
112
  // Export
114
113
  exports.default = AddCreationToGallery;
@@ -17,7 +17,7 @@ var vars_1 = require("@/fonts/vars");
17
17
  var StyledGradientLabel = (0, styled_components_1.default)(_system_1.H3)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n user-select: none;\n border-radius: 24px;\n ", ";\n ", ";\n display: inline-block;\n padding: 5px 16px;\n background: linear-gradient(\n 89deg,\n rgba(190, 249, 209, 0.6) 6.88%,\n rgba(98, 218, 255, 0.6) 53.34%,\n rgba(171, 228, 251, 0.6) 93.43%\n );\n color: #5748bc;\n"], ["\n font-family: ", ";\n user-select: none;\n border-radius: 24px;\n ", ";\n ", ";\n display: inline-block;\n padding: 5px 16px;\n background: linear-gradient(\n 89deg,\n rgba(190, 249, 209, 0.6) 6.88%,\n rgba(98, 218, 255, 0.6) 53.34%,\n rgba(171, 228, 251, 0.6) 93.43%\n );\n color: #5748bc;\n"])), vars_1.poppinsFontVarCss.css, boxShadow_1.default, boxTransform_1.default);
18
18
  // Component
19
19
  var GradientLabel = function () {
20
- return <StyledGradientLabel>5 invites</StyledGradientLabel>;
20
+ return react_1.default.createElement(StyledGradientLabel, null, "5 invites");
21
21
  };
22
22
  // Export
23
23
  exports.default = GradientLabel;
@@ -24,9 +24,8 @@ var HeaderExperienceLabel = function (_a) {
24
24
  }); }), userExp = _b.userExp, isLoadingExp = _b.isLoadingExp, errorExp = _b.errorExp;
25
25
  if (!userId)
26
26
  return null;
27
- return (<StyledHeaderExperienceLabel>
28
- <system_1.default value={userExp.xps} link={"/rewards/".concat(userId)} loading={isLoadingExp || !!errorExp}/>
29
- </StyledHeaderExperienceLabel>);
27
+ return (React.createElement(StyledHeaderExperienceLabel, null,
28
+ React.createElement(system_1.default, { value: userExp.xps, link: "/rewards/".concat(userId), loading: isLoadingExp || !!errorExp })));
30
29
  };
31
30
  // Export
32
31
  exports.default = HeaderExperienceLabel;
@@ -19,9 +19,8 @@ var HeaderUserPick = function (_a) {
19
19
  var userId = _a.userId;
20
20
  if (!userId)
21
21
  return null;
22
- return (<StyledHeaderUserPick>
23
- <system_1.default width={32} height={32} userId={userId} isNeedBoxTransform={true}/>
24
- </StyledHeaderUserPick>);
22
+ return (react_1.default.createElement(StyledHeaderUserPick, null,
23
+ react_1.default.createElement(system_1.default, { width: 32, height: 32, userId: userId, isNeedBoxTransform: true })));
25
24
  };
26
25
  // Export
27
26
  exports.default = HeaderUserPick;
@@ -16,17 +16,17 @@ var Header = function () {
16
16
  var isSignedIn = (0, store_1.useUserStore)(function (state) { return state.isSignedIn; });
17
17
  var getUser = (0, store_1.useUserStore)(function (state) { return state.user; });
18
18
  var openSidebar = (0, ui_1.useUiStore)(function (state) { return state.openSidebar; });
19
- return (<header_1.Header isAuthorized={isSignedIn} handle={{
19
+ return (react_1.default.createElement(header_1.Header, { isAuthorized: isSignedIn, handle: {
20
20
  login: auth_1.redirectToLoginWindow,
21
21
  openSidebar: openSidebar,
22
- }} slots={{
23
- headerExpLabel: (<headerExperienceLabel_1.default userId={(getUser === null || getUser === void 0 ? void 0 : getUser.userId) || ''}/>),
24
- headerUserPick: <headerUserPic_1.default userId={(getUser === null || getUser === void 0 ? void 0 : getUser.userId) || ''}/>,
22
+ }, slots: {
23
+ headerExpLabel: (react_1.default.createElement(headerExperienceLabel_1.default, { userId: (getUser === null || getUser === void 0 ? void 0 : getUser.userId) || '' })),
24
+ headerUserPick: react_1.default.createElement(headerUserPic_1.default, { userId: (getUser === null || getUser === void 0 ? void 0 : getUser.userId) || '' }),
25
25
  logoLinkComponent: function (_a) {
26
26
  var children = _a.children;
27
- return <link_1.default href={'/'}>{children}</link_1.default>;
27
+ return react_1.default.createElement(link_1.default, { href: '/' }, children);
28
28
  },
29
- }}/>);
29
+ } }));
30
30
  };
31
31
  // Export
32
32
  exports.default = Header;
@@ -18,22 +18,22 @@ var HeaderSearch = function () {
18
18
  var openSidebar = (0, ui_1.useUiStore)(function (state) { return state.openSidebar; });
19
19
  var isSignedIn = (0, store_1.useUserStore)(function (state) { return state.isSignedIn; });
20
20
  var getUser = (0, store_1.useUserStore)(function (state) { return state.user; });
21
- return (<header_1.Header isAuthorized={isSignedIn} handle={{
21
+ return (react_1.default.createElement(header_1.Header, { isAuthorized: isSignedIn, handle: {
22
22
  login: auth_1.redirectToLoginWindow,
23
23
  openSidebar: openSidebar,
24
- }} slots={{
25
- headerExpLabel: (<headerExperienceLabel_1.default userId={(getUser === null || getUser === void 0 ? void 0 : getUser.userId) || ''}/>),
26
- headerUserPick: <headerUserPic_1.default userId={(getUser === null || getUser === void 0 ? void 0 : getUser.userId) || ''}/>,
24
+ }, slots: {
25
+ headerExpLabel: (react_1.default.createElement(headerExperienceLabel_1.default, { userId: (getUser === null || getUser === void 0 ? void 0 : getUser.userId) || '' })),
26
+ headerUserPick: react_1.default.createElement(headerUserPic_1.default, { userId: (getUser === null || getUser === void 0 ? void 0 : getUser.userId) || '' }),
27
27
  logoLinkComponent: function (_a) {
28
28
  var children = _a.children;
29
- return <link_1.default href={'/'}>{children}</link_1.default>;
29
+ return react_1.default.createElement(link_1.default, { href: '/' }, children);
30
30
  },
31
31
  searchInput: function (_a) {
32
32
  var setInputFocused = _a.setInputFocused;
33
33
  // Todo seacrh pages, hide search input from header
34
- return (0, env_1.isProd)({ ENV: isProdENV }) ? undefined : (<searchSimpleInput_1.default onFocusHandler={setInputFocused}/>);
34
+ return (0, env_1.isProd)({ ENV: isProdENV }) ? undefined : (react_1.default.createElement(searchSimpleInput_1.default, { onFocusHandler: setInputFocused }));
35
35
  },
36
- }} isSearchStyles isActivatedTheme/>);
36
+ }, isSearchStyles: true, isActivatedTheme: true }));
37
37
  };
38
38
  // Export
39
39
  exports.default = HeaderSearch;
@@ -21,14 +21,12 @@ var HeaderSimple = function () {
21
21
  var windowWidth = (0, screen_1.getWindowDimensions)().windowWidth;
22
22
  var renderDesktopLogoOrMobile = function () {
23
23
  var isMobile = windowWidth <= 768;
24
- return (<image_1.default width={isMobile ? 31 : 116} height={isMobile ? 32 : 28} priority={true} src={isMobile ? '/logo/mobile_logo.svg' : '/logo/main_logo.svg'} alt="Ludo - a right place for NFT art"/>);
24
+ return (react_1.default.createElement(image_1.default, { width: isMobile ? 31 : 116, height: isMobile ? 32 : 28, priority: true, src: isMobile ? '/logo/mobile_logo.svg' : '/logo/main_logo.svg', alt: "Ludo - a right place for NFT art" }));
25
25
  };
26
26
  var scrollDirection = (0, utils_1.useScrollDirection)();
27
- return (<StyledHeaderSimple className={scrollDirection}>
28
- <div className={'logo'}>
29
- <link_1.default href={'/'}>{renderDesktopLogoOrMobile()}</link_1.default>
30
- </div>
31
- </StyledHeaderSimple>);
27
+ return (react_1.default.createElement(StyledHeaderSimple, { className: scrollDirection },
28
+ react_1.default.createElement("div", { className: 'logo' },
29
+ react_1.default.createElement(link_1.default, { href: '/' }, renderDesktopLogoOrMobile()))));
32
30
  };
33
31
  // Export
34
32
  exports.default = HeaderSimple;
@@ -160,32 +160,22 @@ var GetEarlyAccessForm = function () {
160
160
  }
161
161
  });
162
162
  }); };
163
- return (<>
164
- <styles_1.FormHeader>
165
- <link_1.default href={process_1.default.env.NEXT_PUBLIC_WELCOME_HOST} className="caption">
166
- Welcome to
167
- <image_1.default src={"".concat((0, core_1.getStaticDomain)({
168
- ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
169
- }), "/logo/main/main.svg")} alt={'main svg'} width={116} height={28}/>
170
- </link_1.default>
171
- </styles_1.FormHeader>
172
- <styles_1.FormContent onSubmit={handleSubmit(onSubmit)}>
173
- <Forms_1.Input register={registerInviteCode} error={errorInviteCode} data={dataInviteCode}/>
174
- <styles_1.FormSubmitBtn>
175
- <MainButton_1.default onClick={function () { return null; }} type={'submit'} disabled={!isDirty || !isValid || loading} variant="primaryM" text={'Join'}/>
176
- </styles_1.FormSubmitBtn>
177
- </styles_1.FormContent>
178
- <styles_1.FormFooter>
179
- <ui_1.SmallText>
180
- <a style={{ padding: '0 5px 0 0' }} href="https://gleam.io/vlWxW/ludo-x-invite-code" target="_blank">
181
- Start the simple onboarding process
182
- </a>
183
- to get your personal invite code to Ludo X.
184
- </ui_1.SmallText>
185
- <styles_1.FormLogOutBtn>
186
- <MainButton_1.default onClick={handleLogOut} type={'button'} variant="outline" text={btnText}/>
187
- </styles_1.FormLogOutBtn>
188
- </styles_1.FormFooter>
189
- </>);
163
+ return (react_1.default.createElement(react_1.default.Fragment, null,
164
+ react_1.default.createElement(styles_1.FormHeader, null,
165
+ react_1.default.createElement(link_1.default, { href: process_1.default.env.NEXT_PUBLIC_WELCOME_HOST, className: "caption" },
166
+ "Welcome to",
167
+ react_1.default.createElement(image_1.default, { src: "".concat((0, core_1.getStaticDomain)({
168
+ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
169
+ }), "/logo/main/main.svg"), alt: 'main svg', width: 116, height: 28 }))),
170
+ react_1.default.createElement(styles_1.FormContent, { onSubmit: handleSubmit(onSubmit) },
171
+ react_1.default.createElement(Forms_1.Input, { register: registerInviteCode, error: errorInviteCode, data: dataInviteCode }),
172
+ react_1.default.createElement(styles_1.FormSubmitBtn, null,
173
+ react_1.default.createElement(MainButton_1.default, { onClick: function () { return null; }, type: 'submit', disabled: !isDirty || !isValid || loading, variant: "primaryM", text: 'Join' }))),
174
+ react_1.default.createElement(styles_1.FormFooter, null,
175
+ react_1.default.createElement(ui_1.SmallText, null,
176
+ react_1.default.createElement("a", { style: { padding: '0 5px 0 0' }, href: "https://gleam.io/vlWxW/ludo-x-invite-code", target: "_blank" }, "Start the simple onboarding process"),
177
+ "to get your personal invite code to Ludo X."),
178
+ react_1.default.createElement(styles_1.FormLogOutBtn, null,
179
+ react_1.default.createElement(MainButton_1.default, { onClick: handleLogOut, type: 'button', variant: "outline", text: btnText })))));
190
180
  };
191
181
  exports.default = GetEarlyAccessForm;
@@ -111,27 +111,16 @@ var JoinWaitListForm = function () {
111
111
  }
112
112
  });
113
113
  }); };
114
- return (<>
115
- <styles_1.FormHeader>
116
- <ui_1.H2>Join the Waitlist</ui_1.H2>
117
- <ui_1.SmallText mt={16} textAlign={'left'}>
118
- Ludo uses invites to build a healthier community. If you don’t know
119
- anybody with an invite, you can either join our Discord and ask our
120
- community for one, or sign up for the the waitlist and we’ll send you
121
- one soon.
122
- </ui_1.SmallText>
123
- </styles_1.FormHeader>
124
- <styles_1.FormContent onSubmit={handleSubmit(onSubmit)}>
125
- <Forms_1.Input register={registerEmail} error={errorInviteCode} data={dataUserEmail}/>
126
- <styles_1.FormSubmitBtn>
127
- <MainButton_1.default onClick={function () { return null; }} type={'submit'} disabled={!isDirty || !isValid || loading} variant="primaryM" text={'Join Waitlist'}/>
128
- </styles_1.FormSubmitBtn>
129
- </styles_1.FormContent>
130
- <styles_1.FormFooter>
131
- <styles_1.FormLogOutBtn>
132
- <MainButton_1.default onClick={handleLogOut} type={'button'} variant="outline" text={btnText}/>
133
- </styles_1.FormLogOutBtn>
134
- </styles_1.FormFooter>
135
- </>);
114
+ return (react_1.default.createElement(react_1.default.Fragment, null,
115
+ react_1.default.createElement(styles_1.FormHeader, null,
116
+ react_1.default.createElement(ui_1.H2, null, "Join the Waitlist"),
117
+ react_1.default.createElement(ui_1.SmallText, { mt: 16, textAlign: 'left' }, "Ludo uses invites to build a healthier community. If you don\u2019t know anybody with an invite, you can either join our Discord and ask our community for one, or sign up for the the waitlist and we\u2019ll send you one soon.")),
118
+ react_1.default.createElement(styles_1.FormContent, { onSubmit: handleSubmit(onSubmit) },
119
+ react_1.default.createElement(Forms_1.Input, { register: registerEmail, error: errorInviteCode, data: dataUserEmail }),
120
+ react_1.default.createElement(styles_1.FormSubmitBtn, null,
121
+ react_1.default.createElement(MainButton_1.default, { onClick: function () { return null; }, type: 'submit', disabled: !isDirty || !isValid || loading, variant: "primaryM", text: 'Join Waitlist' }))),
122
+ react_1.default.createElement(styles_1.FormFooter, null,
123
+ react_1.default.createElement(styles_1.FormLogOutBtn, null,
124
+ react_1.default.createElement(MainButton_1.default, { onClick: handleLogOut, type: 'button', variant: "outline", text: btnText })))));
136
125
  };
137
126
  exports.default = JoinWaitListForm;
@@ -16,8 +16,8 @@ var StyledInviteCodes = styled_components_1.default.div(templateObject_1 || (tem
16
16
  var InviteCodes = function (_a) {
17
17
  var isLoading = _a.isLoading, children = _a.children;
18
18
  if (isLoading)
19
- return <loader_1.default />;
20
- return <StyledInviteCodes>{children}</StyledInviteCodes>;
19
+ return react_1.default.createElement(loader_1.default, null);
20
+ return react_1.default.createElement(StyledInviteCodes, null, children);
21
21
  };
22
22
  // Export
23
23
  exports.default = InviteCodes;
@@ -21,10 +21,9 @@ var StyledInviteCode = styled_components_1.default.div(templateObject_1 || (temp
21
21
  // Component
22
22
  var InviteCode = function (_a) {
23
23
  var inviteCode = _a.inviteCode, children = _a.children;
24
- return (<StyledInviteCode isCodeDisabled={inviteCode.isUsed}>
25
- <_system_1.H5 className={'code'}>{inviteCode.inviteCode}</_system_1.H5>
26
- {children}
27
- </StyledInviteCode>);
24
+ return (react_1.default.createElement(StyledInviteCode, { isCodeDisabled: inviteCode.isUsed },
25
+ react_1.default.createElement(_system_1.H5, { className: 'code' }, inviteCode.inviteCode),
26
+ children));
28
27
  };
29
28
  // Export
30
29
  exports.default = InviteCode;
@@ -14,13 +14,12 @@ var styled_components_1 = __importDefault(require("styled-components"));
14
14
  var StyledSkeleton = (0, styled_components_1.default)(react_loading_skeleton_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 22px;\n height: 44px;\n"], ["\n border-radius: 22px;\n height: 44px;\n"])));
15
15
  // Component
16
16
  var InviteCodeLoader = function () {
17
- return (<>
18
- <StyledSkeleton />
19
- <StyledSkeleton style={{ marginTop: '8px' }}/>
20
- <StyledSkeleton style={{ marginTop: '8px' }}/>
21
- <StyledSkeleton style={{ marginTop: '8px' }}/>
22
- <StyledSkeleton style={{ marginTop: '8px' }}/>
23
- </>);
17
+ return (react_1.default.createElement(react_1.default.Fragment, null,
18
+ react_1.default.createElement(StyledSkeleton, null),
19
+ react_1.default.createElement(StyledSkeleton, { style: { marginTop: '8px' } }),
20
+ react_1.default.createElement(StyledSkeleton, { style: { marginTop: '8px' } }),
21
+ react_1.default.createElement(StyledSkeleton, { style: { marginTop: '8px' } }),
22
+ react_1.default.createElement(StyledSkeleton, { style: { marginTop: '8px' } })));
24
23
  };
25
24
  // Export
26
25
  exports.default = InviteCodeLoader;
@@ -20,8 +20,8 @@ var InviteCodeCaption = function (_a) {
20
20
  if (!isNeedRender)
21
21
  return null;
22
22
  if (isLoading)
23
- return <loader_1.default />;
24
- return <StyledIInviteCodeCaption>{text}</StyledIInviteCodeCaption>;
23
+ return react_1.default.createElement(loader_1.default, null);
24
+ return react_1.default.createElement(StyledIInviteCodeCaption, null, text);
25
25
  };
26
26
  // Export
27
27
  exports.default = InviteCodeCaption;
@@ -14,7 +14,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
14
14
  var StyledSkeleton = (0, styled_components_1.default)(react_loading_skeleton_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 22px;\n"], ["\n height: 22px;\n"])));
15
15
  // Component
16
16
  var InviteCodeCaptionLoader = function () {
17
- return <StyledSkeleton style={{ marginBottom: '16px' }}/>;
17
+ return react_1.default.createElement(StyledSkeleton, { style: { marginBottom: '16px' } });
18
18
  };
19
19
  // Export
20
20
  exports.default = InviteCodeCaptionLoader;
@@ -17,15 +17,10 @@ var StyledInviteCodeCopy = styled_components_1.default.div(templateObject_1 || (
17
17
  // Component
18
18
  var InviteCodeCopy = function (_a) {
19
19
  var inviteCode = _a.inviteCode;
20
- return (<StyledInviteCodeCopy>
21
- <div className={'copyBtn'}>
22
- <copyBtn_1.CopyButton value={inviteCode.inviteCode}>
23
- <_system_1.H5 style={{ marginLeft: '4px', cursor: 'pointer' }} color={colors_1.AccentColor}>
24
- Copy
25
- </_system_1.H5>
26
- </copyBtn_1.CopyButton>
27
- </div>
28
- </StyledInviteCodeCopy>);
20
+ return (react_1.default.createElement(StyledInviteCodeCopy, null,
21
+ react_1.default.createElement("div", { className: 'copyBtn' },
22
+ react_1.default.createElement(copyBtn_1.CopyButton, { value: inviteCode.inviteCode },
23
+ react_1.default.createElement(_system_1.H5, { style: { marginLeft: '4px', cursor: 'pointer' }, color: colors_1.AccentColor }, "Copy")))));
29
24
  };
30
25
  // Export
31
26
  exports.default = InviteCodeCopy;
@@ -16,9 +16,7 @@ var StyledInviteCodeActivatedDate = (0, styled_components_1.default)(_system_1.H
16
16
  // Component
17
17
  var InviteCodeActivatedDate = function (_a) {
18
18
  var value = _a.value;
19
- return (<StyledInviteCodeActivatedDate>
20
- {"Activated on ".concat(value.toLocaleDateString('en-GB'))}
21
- </StyledInviteCodeActivatedDate>);
19
+ return (react_1.default.createElement(StyledInviteCodeActivatedDate, null, "Activated on ".concat(value.toLocaleDateString('en-GB'))));
22
20
  };
23
21
  // Export
24
22
  exports.default = InviteCodeActivatedDate;
@@ -25,34 +25,24 @@ var StyledAddCodesText = (0, styled_components_1.default)(system_1.MainText)(tem
25
25
  var ResumeCodes = function (_a) {
26
26
  var invites = _a.invites, activeInvites = _a.activeInvites, isLoading = _a.isLoading, userId = _a.userId;
27
27
  if (isLoading)
28
- return <loader_1.default />;
28
+ return react_1.default.createElement(loader_1.default, null);
29
29
  var isPlural = function (nmb) { return (nmb <= 1 ? 'invite' : 'invites'); };
30
- return (<div>
31
- <StyledResumeCodes>
32
- <StyledResumeCodesCaption>
33
- You have <strong>{"".concat(invites, " active ").concat(isPlural(invites))}</strong>
34
- </StyledResumeCodesCaption>
35
- <StyledResumeCodesSubCaption>
36
- Your friends activated{' '}
37
- <strong>{"".concat(activeInvites, " ").concat(isPlural(activeInvites))}</strong>{' '}
38
- already
39
- </StyledResumeCodesSubCaption>
40
- </StyledResumeCodes>
41
- <StyledResumeCodesText>
42
- Invite your friends to be among the first who will collect Ludo XP,
43
- which is the key to unlock a variety of benefits. From benefiting from
44
- selected partner projects, such as airdrops or whitelisting spots, to
45
- increased XP for your engagement and activities, such as referrals, to
46
- an increased Ludo Rank. The more Ludo XP you gather, the richer your
47
- experience.
48
- </StyledResumeCodesText>
49
- <StyledAddCodesText>
50
- Do you have more friends to invite?
51
- </StyledAddCodesText>
52
- <system_1.MainButton onClick={function () {
53
- return window.open("".concat(utils_1.ASK_MORE_INVITES_GOOGLE_FORM).concat(userId), '_blank');
54
- }} variant="primaryM" text={'Ask for more invites'}/>
55
- </div>);
30
+ return (react_1.default.createElement("div", null,
31
+ react_1.default.createElement(StyledResumeCodes, null,
32
+ react_1.default.createElement(StyledResumeCodesCaption, null,
33
+ "You have ",
34
+ react_1.default.createElement("strong", null, "".concat(invites, " active ").concat(isPlural(invites)))),
35
+ react_1.default.createElement(StyledResumeCodesSubCaption, null,
36
+ "Your friends activated",
37
+ ' ',
38
+ react_1.default.createElement("strong", null, "".concat(activeInvites, " ").concat(isPlural(activeInvites))),
39
+ ' ',
40
+ "already")),
41
+ react_1.default.createElement(StyledResumeCodesText, null, "Invite your friends to be among the first who will collect Ludo XP, which is the key to unlock a variety of benefits. From benefiting from selected partner projects, such as airdrops or whitelisting spots, to increased XP for your engagement and activities, such as referrals, to an increased Ludo Rank. The more Ludo XP you gather, the richer your experience."),
42
+ react_1.default.createElement(StyledAddCodesText, null, "Do you have more friends to invite?"),
43
+ react_1.default.createElement(system_1.MainButton, { onClick: function () {
44
+ return window.open("".concat(utils_1.ASK_MORE_INVITES_GOOGLE_FORM).concat(userId), '_blank');
45
+ }, variant: "primaryM", text: 'Ask for more invites' })));
56
46
  };
57
47
  // Export
58
48
  exports.default = ResumeCodes;
@@ -0,0 +1,17 @@
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
+ var react_1 = __importDefault(require("react"));
7
+ var react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
8
+ // Component
9
+ var ResumeCodesLoader = function () {
10
+ return (react_1.default.createElement(react_1.default.Fragment, null,
11
+ react_1.default.createElement(react_loading_skeleton_1.default, { style: { borderRadius: '8px', padding: '24px 32px' }, height: "100px" }),
12
+ react_1.default.createElement(react_loading_skeleton_1.default, { style: { borderRadius: '8px', marginTop: '24px' }, height: "30px" }),
13
+ react_1.default.createElement(react_loading_skeleton_1.default, { style: { borderRadius: '8px', marginTop: '12px' }, height: "20px" }),
14
+ react_1.default.createElement(react_loading_skeleton_1.default, { style: { borderRadius: '8px', marginTop: '12px' }, height: "20px" })));
15
+ };
16
+ // Export
17
+ exports.default = ResumeCodesLoader;
@@ -17,16 +17,14 @@ var StyledUnusedCodes = styled_components_1.default.div(templateObject_1 || (tem
17
17
  var UnusedCodes = function (_a) {
18
18
  var unusedInvites = _a.unusedInvites, isLoading = _a.isLoading;
19
19
  var renderUnusedInviteCodes = unusedInvites === null || unusedInvites === void 0 ? void 0 : unusedInvites.map(function (inviteCode) {
20
- return (<inviteCode_1.default key={inviteCode.inviteCode} inviteCode={inviteCode}>
21
- <components_1.InviteCodeCopy inviteCode={inviteCode}/>
22
- </inviteCode_1.default>);
20
+ return (react_1.default.createElement(inviteCode_1.default, { key: inviteCode.inviteCode, inviteCode: inviteCode },
21
+ react_1.default.createElement(components_1.InviteCodeCopy, { inviteCode: inviteCode })));
23
22
  });
24
23
  if (!isLoading && (!unusedInvites || !unusedInvites.length)) {
25
24
  return null;
26
25
  }
27
- return (<StyledUnusedCodes>
28
- <inviteCodes_1.default isLoading={isLoading}>{renderUnusedInviteCodes}</inviteCodes_1.default>
29
- </StyledUnusedCodes>);
26
+ return (react_1.default.createElement(StyledUnusedCodes, null,
27
+ react_1.default.createElement(inviteCodes_1.default, { isLoading: isLoading }, renderUnusedInviteCodes)));
30
28
  };
31
29
  // Export
32
30
  exports.default = UnusedCodes;