@ludo.ninja/components 1.9.2 → 1.9.4
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.
- package/dist/components/CreationCard/{CardHead.js → CardHead.jsx} +27 -20
- package/dist/components/CreationCard/index.d.ts +1 -1
- package/dist/components/CreationCard/{index.js → index.jsx} +22 -27
- package/dist/components/addWalletsRedirectPage/{index.js → index.jsx} +18 -11
- package/dist/components/banner/{index.js → index.jsx} +23 -17
- package/dist/components/base/Meta/index.jsx +64 -0
- package/dist/components/base/NoSSR/{index.js → index.jsx} +1 -1
- package/dist/components/collectionPage/collectionLike/{index.js → index.jsx} +9 -5
- package/dist/components/deleteDialog/{index.js → index.jsx} +23 -18
- package/dist/components/favoriteList/add/addAssetToFavoriteList/{index.js → index.jsx} +5 -3
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/{index.js → index.jsx} +4 -2
- package/dist/components/favoriteList/add/addCreationToFavoriteList/{index.js → index.jsx} +5 -3
- package/dist/components/filters/applyResetBtns/{index.js → index.jsx} +8 -5
- package/dist/components/filters/galleriesFiltersForm/{index.js → index.jsx} +14 -5
- package/dist/components/filters/{index.js → index.jsx} +37 -29
- package/dist/components/filters/mobileFilters/{index.js → index.jsx} +1 -1
- package/dist/components/filters/setsFiltersForm/{index.js → index.jsx} +11 -4
- package/dist/components/forms/form/{index.js → index.jsx} +46 -36
- package/dist/components/forms/formsNavigation/{index.js → index.jsx} +15 -7
- package/dist/components/forms/formsTemplate/{index.js → index.jsx} +7 -6
- package/dist/components/gallery/add/addAssetToGallery/{index.js → index.jsx} +5 -3
- package/dist/components/gallery/add/addCreationToGallery/{index.js → index.jsx} +9 -8
- package/dist/components/gradientLabel/{index.js → index.jsx} +1 -1
- package/dist/components/headers/components/headerExperienceLabel/{index.js → index.jsx} +6 -5
- package/dist/components/headers/components/headerUserPic/{index.js → index.jsx} +5 -4
- package/dist/components/headers/header/{index.js → index.jsx} +7 -7
- package/dist/components/headers/headerSearch/{index.js → index.jsx} +8 -8
- package/dist/components/headers/headerSimple/{index.js → index.jsx} +6 -4
- package/dist/components/inviteCodesForms/getEarlyAccessForm/{index.js → index.jsx} +27 -17
- package/dist/components/inviteCodesForms/joinWaitListForm/{index.js → index.jsx} +22 -11
- package/dist/components/inviteCodesPage/components/inviteCodes/{index.js → index.jsx} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/{index.js → index.jsx} +4 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/{index.js → index.jsx} +7 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/{index.js → index.jsx} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/{index.js → index.jsx} +1 -1
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/{index.js → index.jsx} +9 -4
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/{index.js → index.jsx} +3 -1
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/{index.js → index.jsx} +30 -20
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +18 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/{index.js → index.jsx} +6 -4
- package/dist/components/inviteCodesPage/wrappers/usedCodes/{index.js → index.jsx} +9 -6
- package/dist/components/linkTabs/{index.js → index.jsx} +4 -2
- package/dist/components/linkTabs/linkTab/{index.js → index.jsx} +8 -6
- package/dist/components/myWallets/{index.js → index.jsx} +5 -4
- package/dist/components/myWallets/myWalletItem/{index.js → index.jsx} +30 -23
- package/dist/components/navigation/{index.js → index.jsx} +30 -12
- package/dist/components/profile/MultiversXAudit/{MultiversXAudit.js → MultiversXAudit.jsx} +18 -13
- package/dist/components/profile/{ProfileTabs.js → ProfileTabs.jsx} +22 -20
- package/dist/components/profile/aboutText/{index.js → index.jsx} +31 -22
- package/dist/components/profile/addToGalleryBtns/{index.js → index.jsx} +13 -10
- package/dist/components/profile/followersSocial/followers/{index.js → index.jsx} +4 -3
- package/dist/components/profile/followersSocial/{index.js → index.jsx} +7 -6
- package/dist/components/profile/followersSocial/social/{index.js → index.jsx} +9 -7
- package/dist/components/profile/index.d.ts +1 -1
- package/dist/components/profile/index.js +1 -1
- package/dist/components/profile/info/{index.js → index.jsx} +12 -9
- package/dist/components/profile/interests/{index.js → index.jsx} +30 -15
- package/dist/components/profile/pageHead/index.jsx +52 -0
- package/dist/components/profile/profileSkeleton/{index.js → index.jsx} +16 -10
- package/dist/components/profile/profileUserCards/{index.js → index.jsx} +1 -1
- package/dist/components/profile/profileUserCards/profileUserCard/{index.js → index.jsx} +27 -22
- package/dist/components/profile/rank/{index.js → index.jsx} +16 -8
- package/dist/components/profile/stats/{index.js → index.jsx} +13 -5
- package/dist/components/profile/wallets/{index.js → index.jsx} +30 -22
- package/dist/components/profile/wrapper/{index.js → index.jsx} +12 -4
- package/dist/components/registrationPage/registrationSelectBox/{index.js → index.jsx} +3 -2
- package/dist/components/registrationPage/registrationSelection/{index.js → index.jsx} +30 -16
- package/dist/components/rewards/FAQ/{index.js → index.jsx} +21 -13
- package/dist/components/rewards/clarifications/{index.js → index.jsx} +26 -16
- package/dist/components/rewards/logoBottom/{index.js → index.jsx} +7 -6
- package/dist/components/rewards/prograssBar/{index.js → index.jsx} +6 -4
- package/dist/components/rewards/rewardsButton/{index.js → index.jsx} +1 -1
- package/dist/components/rewards/seasonBanner/{index.js → index.jsx} +4 -3
- package/dist/components/rewards/taskExpTab/{index.js → index.jsx} +32 -20
- package/dist/components/rewards/tasksGrid/{index.js → index.jsx} +7 -4
- package/dist/components/rewards/userExp/{index.js → index.jsx} +30 -24
- package/dist/components/search/{SearchInputContainer.js → SearchInputContainer.jsx} +100 -98
- package/dist/components/search/{index.js → index.jsx} +13 -11
- package/dist/components/search/searchCategories/{index.js → index.jsx} +10 -6
- package/dist/components/search/searchCloseMoreButtons/{index.js → index.jsx} +16 -13
- package/dist/components/search/searchResultCaption/{index.js → index.jsx} +7 -4
- package/dist/components/search/searchSelectsGalleries/{index.js → index.jsx} +31 -15
- package/dist/components/search/searchSelectsSets/{index.js → index.jsx} +28 -15
- package/dist/components/search/searchSimpleInput/{index.js → index.jsx} +12 -10
- package/dist/components/search/searchSuggestions/index.jsx +124 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/{index.js → index.jsx} +5 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/{index.js → index.jsx} +8 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/{index.js → index.jsx} +19 -12
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/{index.js → index.jsx} +15 -8
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/{index.js → index.jsx} +4 -6
- package/dist/components/shareDialog/index.jsx +91 -0
- package/dist/components/showcaseAssets/showcaseSort/{index.js → index.jsx} +6 -4
- package/dist/components/sidebar/{data.js → data.jsx} +8 -8
- package/dist/components/sidebar/{index.js → index.jsx} +33 -26
- package/dist/components/sidebar/{initializer.js → initializer.jsx} +1 -1
- package/dist/components/sidebar/sidebarFilters/{index.js → index.jsx} +9 -6
- package/dist/components/sidebar/sidebarInviteCodeLabel/{index.js → index.jsx} +5 -4
- package/dist/components/socialButtons/{data.js → data.jsx} +6 -6
- package/dist/components/socialButtons/icons/discord.jsx +8 -0
- package/dist/components/socialButtons/icons/facebook.jsx +9 -0
- package/dist/components/socialButtons/icons/instagram.jsx +10 -0
- package/dist/components/socialButtons/icons/medium.jsx +8 -0
- package/dist/components/socialButtons/icons/telegram.jsx +8 -0
- package/dist/components/socialButtons/icons/twitter.jsx +8 -0
- package/dist/components/socialButtons/{index.js → index.jsx} +8 -5
- package/dist/components/tabs/icons/bell.jsx +10 -0
- package/dist/components/tabs/icons/profile.jsx +10 -0
- package/dist/components/tabs/icons/secure.jsx +9 -0
- package/dist/components/tabs/{index.js → index.jsx} +13 -10
- package/dist/components/toTopBtn/{index.js → index.jsx} +9 -7
- package/dist/dto/AssetEntity/views/AssetAudio/{index.js → index.jsx} +1 -1
- package/dist/dto/AssetEntity/views/AssetImage/{index.js → index.jsx} +2 -2
- package/dist/dto/AssetEntity/views/AssetObject/{index.js → index.jsx} +3 -3
- package/dist/dto/AssetEntity/views/AssetOther/{index.js → index.jsx} +3 -3
- package/dist/dto/AssetEntity/views/AssetScreenshot/{index.js → index.jsx} +2 -2
- package/dist/dto/AssetEntity/views/AssetVideo/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationAudio/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationImage/{index.js → index.jsx} +2 -2
- package/dist/dto/common/ItemViews/CreationObject/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationOther/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationVideo/{index.js → index.jsx} +1 -1
- package/dist/dto/common/Media/Audio/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Image/{index.js → index.jsx} +4 -4
- package/dist/dto/common/Media/Object/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Other/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Screenshot/{index.js → index.jsx} +4 -4
- package/dist/dto/common/Media/Video/{index.js → index.jsx} +3 -3
- package/dist/fonts/{FontsInitializeLayout.js → FontsInitializeLayout.jsx} +4 -1
- package/dist/hooks/apollo/index.d.ts +1 -4
- package/dist/hooks/apollo/{index.js → index.jsx} +1 -1
- package/dist/hooks/likes/dynamic/{useFindCollectionsAndLikes.js → useFindCollectionsAndLikes.jsx} +1 -1
- package/dist/hooks/searchFiltersConnector/{index.js → index.jsx} +35 -33
- package/dist/hooks/useToGalleryAsset/{index.js → index.jsx} +1 -1
- package/dist/layouts/GlobalLayout.jsx +49 -0
- package/dist/layouts/base/LWithRegularHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithSearchHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithSimpleHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithoutHeader/{index.js → index.jsx} +4 -3
- package/dist/layouts/custom/accountLayout/index.d.ts +1 -1
- package/dist/layouts/custom/accountLayout/index.jsx +28 -0
- package/dist/layouts/custom/formsLayout/index.d.ts +1 -1
- package/dist/layouts/custom/formsLayout/{index.js → index.jsx} +8 -6
- package/dist/layouts/custom/mainLayout/index.d.ts +1 -1
- package/dist/layouts/custom/mainLayout/{index.js → index.jsx} +12 -9
- package/dist/layouts/custom/searchLayout/index.d.ts +1 -1
- package/dist/layouts/custom/searchLayout/{index.js → index.jsx} +11 -8
- package/dist/layouts/custom/simpleLayout/index.d.ts +1 -1
- package/dist/layouts/custom/simpleLayout/{index.js → index.jsx} +12 -9
- package/dist/layouts/custom/styles.js +1 -1
- package/dist/layouts/pageTransitionLayout.jsx +27 -0
- package/dist/modules/notifications/{CreatorNotifications.js → CreatorNotifications.jsx} +4 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +2 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +1 -1
- package/dist/modules/user/profileData/{profileDataInitialization.js → profileDataInitialization.jsx} +3 -3
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +2 -2
- package/dist/modules/virtuoso/{VirtuosoPageBuilder.js → VirtuosoPageBuilder.jsx} +27 -22
- package/dist/modules/virtuoso/{VirtuosoToTopBtn.js → VirtuosoToTopBtn.jsx} +2 -2
- package/dist/pages/index.jsx +18 -0
- package/dist/store/ui/index.js +1 -1
- package/dist/store/ui/utils.d.ts +1 -1
- package/dist/system/ActiveLink/{index.js → index.jsx} +5 -14
- package/dist/system/Alert/{index.js → index.jsx} +2 -2
- package/dist/system/BasicOverlay/{index.js → index.jsx} +1 -1
- package/dist/system/Cards/CardCheckbox/{index.js → index.jsx} +7 -5
- package/dist/system/Cards/CardContent/CardCategory/{index.js → index.jsx} +6 -4
- package/dist/system/Cards/CardContent/CardLikes/{index.js → index.jsx} +11 -7
- package/dist/system/Cards/CardContent/CardShowMore/{index.js → index.jsx} +11 -8
- package/dist/system/Cards/CardContent/{index.js → index.jsx} +31 -17
- package/dist/system/Cards/CardHeadIcons/{index.js → index.jsx} +25 -18
- package/dist/system/Cards/CardMedia/CardAudio/{index.js → index.jsx} +8 -7
- package/dist/system/Cards/CardMedia/CardImage/{index.js → index.jsx} +5 -4
- package/dist/system/Cards/CardMedia/CardVideo/{index.js → index.jsx} +11 -9
- package/dist/system/Cards/CardRank/{index.js → index.jsx} +13 -7
- package/dist/system/Cards/CardsGrid/{index.js → index.jsx} +14 -9
- package/dist/system/Cards/HideLink/index.jsx +22 -0
- package/dist/system/Cards/MultiMediaCard/{index.js → index.jsx} +18 -12
- package/dist/system/Cards/RegularCard/{index.js → index.jsx} +18 -12
- package/dist/system/Cards/Styles/Head.js +1 -1
- package/dist/system/Cards/Styles/Headicons.js +1 -1
- package/dist/system/Cards/Styles/Image.js +1 -1
- package/dist/system/Cards/Styles/Likes.js +2 -2
- package/dist/system/Cards/Styles/MultiHead.js +1 -1
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/{index.js → index.jsx} +6 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/{index.js → index.jsx} +4 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/{index.js → index.jsx} +17 -11
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/{index.js → index.jsx} +9 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/{index.js → index.jsx} +5 -4
- package/dist/system/CardsHolderWithSkeleton/{index.js → index.jsx} +6 -3
- package/dist/system/DropDown/{DropDown.test.js → DropDown.test.jsx} +11 -7
- package/dist/system/DropDown/{index.js → index.jsx} +13 -10
- package/dist/system/Forms/Checkbox/{Checkbox.test.js → Checkbox.test.jsx} +2 -13
- package/dist/system/Forms/Checkbox/{index.js → index.jsx} +15 -23
- package/dist/system/Forms/DatePicker/{index.js → index.jsx} +8 -7
- package/dist/system/Forms/ErrorLabel/{ErrorLabel.test.js → ErrorLabel.test.jsx} +2 -2
- package/dist/system/Forms/ErrorLabel/{index.js → index.jsx} +2 -2
- package/dist/system/Forms/Input/{Input.test.js → Input.test.jsx} +2 -2
- package/dist/system/Forms/Input/{index.js → index.jsx} +6 -16
- package/dist/system/Forms/RadioInput/{index.js → index.jsx} +6 -16
- package/dist/system/Forms/Selects/DesktopSelect/{index.js → index.jsx} +15 -25
- package/dist/system/Forms/Selects/MobileSelect/{index.js → index.jsx} +3 -1
- package/dist/system/Forms/TextArea/{index.js → index.jsx} +6 -16
- package/dist/system/Img/ExternalImage/{index.js → index.jsx} +1 -12
- package/dist/system/Img/ImageInterceptor/{ImageInterceptor.test.js → ImageInterceptor.test.jsx} +14 -10
- package/dist/system/Img/ImageInterceptor/{index.js → index.jsx} +5 -4
- package/dist/system/Img/Profilepic/{index.js → index.jsx} +9 -8
- package/dist/system/Img/Userpic/{UserPic.test.js → UserPic.test.jsx} +8 -6
- package/dist/system/Img/Userpic/{index.js → index.jsx} +16 -13
- package/dist/system/Labels/ExperienceLabel/{ExperienceLabel.test.js → ExperienceLabel.test.jsx} +6 -16
- package/dist/system/Labels/ExperienceLabel/{index.js → index.jsx} +7 -8
- package/dist/system/Labels/InviteLabel/{InviteLabel.test.js → InviteLabel.test.jsx} +5 -15
- package/dist/system/Labels/InviteLabel/{index.js → index.jsx} +4 -3
- package/dist/system/Modals/Modal/{Modal.test.js → Modal.test.jsx} +5 -5
- package/dist/system/Modals/Modal/{index.js → index.jsx} +6 -5
- package/dist/system/Modals/ModalSidebar/{CreatorModalSidebarPortal.js → CreatorModalSidebarPortal.jsx} +2 -2
- package/dist/system/Modals/ModalSidebar/{ModalSidebar.test.js → ModalSidebar.test.jsx} +4 -4
- package/dist/system/Modals/ModalSidebar/{ModalSidebarPortal.js → ModalSidebarPortal.jsx} +6 -4
- package/dist/system/Modals/ModalSidebar/{index.js → index.jsx} +6 -5
- package/dist/system/Overlay/{Overlay.test.js → Overlay.test.jsx} +5 -4
- package/dist/system/Overlay/{index.js → index.jsx} +4 -3
- package/dist/system/{ShareIconResize.js → ShareIconResize.jsx} +8 -7
- package/dist/system/Tabs/TabNavLink/{TabNavLink.test.js → TabNavLink.test.jsx} +3 -3
- package/dist/system/Tabs/TabNavLink/index.d.ts +1 -1
- package/dist/system/Tabs/TabNavLink/{index.js → index.jsx} +6 -4
- package/dist/system/Tabs/TabsNav/{TabsNav.test.js → TabsNav.test.jsx} +4 -4
- package/dist/system/Tabs/TabsNav/{index.js → index.jsx} +2 -2
- package/dist/system/Tabs/TabsPanel/{TabsPanel.test.js → TabsPanel.test.jsx} +12 -8
- package/dist/system/Tabs/TabsPanel/{index.js → index.jsx} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/adaptive/check4k.js +1 -1
- package/dist/utils/adaptive/scale.d.ts +1 -1
- package/dist/utils/adaptive/scale.js +1 -1
- package/dist/utils/copyBtn/{index.js → index.jsx} +7 -4
- package/package.json +2 -2
- package/dist/components/base/Meta/index.js +0 -60
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +0 -17
- package/dist/components/profile/pageHead/index.js +0 -51
- package/dist/components/search/searchSuggestions/index.js +0 -117
- package/dist/components/shareDialog/index.js +0 -73
- package/dist/components/socialButtons/icons/discord.js +0 -7
- package/dist/components/socialButtons/icons/facebook.js +0 -8
- package/dist/components/socialButtons/icons/instagram.js +0 -9
- package/dist/components/socialButtons/icons/medium.js +0 -7
- package/dist/components/socialButtons/icons/telegram.js +0 -7
- package/dist/components/socialButtons/icons/twitter.js +0 -7
- package/dist/components/tabs/icons/bell.js +0 -9
- package/dist/components/tabs/icons/profile.js +0 -9
- package/dist/components/tabs/icons/secure.js +0 -8
- package/dist/layouts/GlobalLayout.js +0 -48
- package/dist/layouts/custom/accountLayout/index.js +0 -23
- package/dist/layouts/pageTransitionLayout.js +0 -24
- package/dist/pages/index.js +0 -16
- package/dist/system/Cards/HideLink/index.js +0 -27
- /package/dist/components/headers/components/MobileToggle/{index.js → index.jsx} +0 -0
- /package/dist/components/inviteCodesPage/components/{index.js → index.jsx} +0 -0
- /package/dist/components/inviteCodesPage/wrappers/{index.js → index.jsx} +0 -0
- /package/dist/components/profile/jsonLd/{index.js → index.jsx} +0 -0
- /package/dist/components/registrationPage/{index.js → index.jsx} +0 -0
- /package/dist/dto/common/ItemType/{index.js → index.jsx} +0 -0
- /package/dist/dto/common/Media/{index.js → index.jsx} +0 -0
- /package/dist/hooks/audio/useMultiAudio/{index.js → index.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useFindCreationsAndLikes.js → useFindCreationsAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCollectionInfoAndLikes.js → useGetCollectionInfoAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikes.js → useGetCreationsAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikesByType.js → useGetCreationsAndLikesByType.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetMixedLikesFavoriteList.js → useGetMixedLikesFavoriteList.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetTableLikes.js → useGetTableLikes.jsx} +0 -0
- /package/dist/modules/notifications/{index.js → index.jsx} +0 -0
- /package/dist/modules/user/{store.js → store.jsx} +0 -0
- /package/dist/styles/animations/{index.js → index.jsx} +0 -0
- /package/dist/styles/{globalStyles.js → globalStyles.jsx} +0 -0
- /package/dist/styles/mixins/{boxShadow.js → boxShadow.jsx} +0 -0
- /package/dist/styles/mixins/{boxTransform.js → boxTransform.jsx} +0 -0
- /package/dist/styles/mixins/{z-indexes.js → z-indexes.jsx} +0 -0
- /package/dist/styles/typography/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/IconButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/IconWithButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/MainButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/SecondaryButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Flex/{index.js → index.jsx} +0 -0
- /package/dist/system/Labels/SkeletonLabel/{index.js → index.jsx} +0 -0
- /package/dist/system/PageLoader/{index.js → index.jsx} +0 -0
- /package/dist/system/Palete/{index.js → index.jsx} +0 -0
- /package/dist/system/Text/{index.js → index.jsx} +0 -0
- /package/dist/utils/extractItemIds/{index.js → index.jsx} +0 -0
- /package/dist/utils/imageProportionsSize/{index.js → index.jsx} +0 -0
- /package/dist/utils/ui/{index.js → index.jsx} +0 -0
|
@@ -17,9 +17,9 @@ var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
|
17
17
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
18
18
|
var utils_1 = require("@ludo.ninja/utils");
|
|
19
19
|
var store_1 = require("@/modules/user/store");
|
|
20
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
20
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
21
21
|
var useFetchUserWallets_1 = __importDefault(require("@/api/server-identities/queries/useFetchUserWallets"));
|
|
22
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
22
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
23
23
|
var myWallets_1 = __importDefault(require("@/components/myWallets"));
|
|
24
24
|
var Palete_1 = __importDefault(require("@/system/Palete"));
|
|
25
25
|
var _system_1 = require("@system");
|
|
@@ -43,31 +43,39 @@ var ProfileWallets = function () {
|
|
|
43
43
|
var renderUserWallets = function () {
|
|
44
44
|
return userWallets === null || userWallets === void 0 ? void 0 : userWallets.map(function (userWallet) {
|
|
45
45
|
var blockChain = new core_1.BlockChainEntity(userWallet.blockchain);
|
|
46
|
-
return (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
return (<div key={userWallet.address} className={"wallet_item"}>
|
|
47
|
+
<image_1.default src={blockChain.getBlockChainIconRegular({
|
|
48
|
+
domain: (0, env_1.getStaticENVDomain)(),
|
|
49
|
+
})} className={'icon'} width={16} height={16} alt={blockChain.getBlockChainIconRegular({
|
|
50
|
+
domain: (0, env_1.getStaticENVDomain)(),
|
|
51
|
+
})}/>
|
|
52
|
+
{(0, utils_1.shortenedText)(userWallet === null || userWallet === void 0 ? void 0 : userWallet.address)}
|
|
53
|
+
</div>);
|
|
53
54
|
});
|
|
54
55
|
};
|
|
55
56
|
if (!isSignedIn)
|
|
56
57
|
return null;
|
|
57
58
|
var user = new URLSearchParams(getUser).toString();
|
|
58
|
-
return (
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
return (<StyledProfileWallets>
|
|
60
|
+
<Palete_1.default>
|
|
61
|
+
<_system_1.Flex justifyContent="space-between" alignItems="center">
|
|
62
|
+
<_system_1.H5 color={colors_1.BlackColor}>Wallets</_system_1.H5>
|
|
63
|
+
<div className={'manageBtn'} onClick={function () { return openModalSidebarPortal(<myWallets_1.default />); }}>
|
|
64
|
+
<_system_2.SmallText color={colors_1.AccentColor}>Manage</_system_2.SmallText>
|
|
65
|
+
</div>
|
|
66
|
+
</_system_1.Flex>
|
|
67
|
+
<div className={'wallets'}>{renderUserWallets()}</div>
|
|
68
|
+
<div className={'add_wallets'} onClick={function () {
|
|
69
|
+
window.open("".concat(process_1.default.env.NEXT_PUBLIC_AUTH_HOST, "/add_wallets/?").concat(user, "&fallback_url=").concat(window.location.href.replace(/\s/g, '')), '_self');
|
|
70
|
+
}}>
|
|
71
|
+
<div className={'icon'}>
|
|
72
|
+
<plus_svg_1.default style={(0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 })}/>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<_system_2.SmallText color={colors_1.AccentColor}>Add new</_system_2.SmallText>
|
|
76
|
+
</div>
|
|
77
|
+
</Palete_1.default>
|
|
78
|
+
</StyledProfileWallets>);
|
|
71
79
|
};
|
|
72
80
|
exports.ProfileWallets = ProfileWallets;
|
|
73
81
|
var templateObject_1;
|
|
@@ -9,9 +9,17 @@ var profile_1 = require("@/components/profile");
|
|
|
9
9
|
// Components
|
|
10
10
|
var ProfileWrapper = function (_a) {
|
|
11
11
|
var profile = _a.profile, url = _a.url, children = _a.children;
|
|
12
|
-
return (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
return (<>
|
|
13
|
+
<profile_1.ProfilePageHead userUrl={url} profile={profile}/>
|
|
14
|
+
|
|
15
|
+
<profile_1.ProfileInfo profile={profile}/>
|
|
16
|
+
|
|
17
|
+
{children}
|
|
18
|
+
|
|
19
|
+
{/*<script*/}
|
|
20
|
+
{/* type="application/ld+json"*/}
|
|
21
|
+
{/* dangerouslySetInnerHTML={profileJSONLD(profile as schema.IProfile, '')}*/}
|
|
22
|
+
{/*/>*/}
|
|
23
|
+
</>);
|
|
16
24
|
};
|
|
17
25
|
exports.ProfileWrapper = ProfileWrapper;
|
|
@@ -17,8 +17,9 @@ var StyledRegistrationSelectBox = styled_components_1.default.div(templateObject
|
|
|
17
17
|
}, function (props) { return (props.isSelected ? 0.8 : 0.5); }, colors_1.BlackColor, colors_1.WhiteColor, colors_1.WhiteColor);
|
|
18
18
|
var RegistrationSelectBox = function (_a) {
|
|
19
19
|
var name = _a.name, image = _a.image, selected = _a.selected, onClick = _a.onClick;
|
|
20
|
-
return (
|
|
21
|
-
|
|
20
|
+
return (<StyledRegistrationSelectBox isSelected={selected} image={image} onClick={function () { return onClick(name); }}>
|
|
21
|
+
<h2 className={'text'}>{name}</h2>
|
|
22
|
+
</StyledRegistrationSelectBox>);
|
|
22
23
|
};
|
|
23
24
|
exports.default = RegistrationSelectBox;
|
|
24
25
|
var templateObject_1;
|
|
@@ -12,7 +12,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
|
12
12
|
var ui_1 = require("@ludo.ninja/ui");
|
|
13
13
|
var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
14
14
|
var MainButton_1 = __importDefault(require("@ludo.ninja/ui/build/system/Buttons/MainButton"));
|
|
15
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
15
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
16
16
|
var colors_2 = require("@/styles/colors");
|
|
17
17
|
var registrationPage_1 = require("@/components/registrationPage");
|
|
18
18
|
var _system_1 = require("@system");
|
|
@@ -22,21 +22,35 @@ var StyledRegistrationSelection = styled_components_1.default.div(templateObject
|
|
|
22
22
|
// Components
|
|
23
23
|
var RegistrationSelection = function (_a) {
|
|
24
24
|
var step = _a.step, title = _a.title, subtitle = _a.subtitle, maxSteps = _a.maxSteps, values = _a.values, selectedNames = _a.selectedNames, saveValue = _a.saveValue, onClick = _a.onClick, onSaveClick = _a.onSaveClick, text = _a.text;
|
|
25
|
-
return (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
return (<StyledRegistrationSelection>
|
|
26
|
+
<div className="info">
|
|
27
|
+
<_system_1.Box>
|
|
28
|
+
<_system_1.Flex justifyContent={'center'}>
|
|
29
|
+
<StyledCaption color={colors_1.AccentColor} mr={10}>{"Step ".concat(step, "/").concat(maxSteps, " - ")}</StyledCaption>
|
|
30
|
+
<StyledCaption color={colors_2.BlackColor}>{title}</StyledCaption>
|
|
31
|
+
</_system_1.Flex>
|
|
32
|
+
<_system_1.H3 color={colors_2.TextGrayColor} mt={16} mb={4} fontSize={18} textAlign={'center'}>
|
|
33
|
+
{subtitle}
|
|
34
|
+
</_system_1.H3>
|
|
35
|
+
<ui_1.MainText fontSize={13} textAlign={'center'} color={colors_2.TextGrayColor}>
|
|
36
|
+
{text}
|
|
37
|
+
</ui_1.MainText>
|
|
38
|
+
</_system_1.Box>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div className="content">
|
|
42
|
+
<div className="content-values">
|
|
43
|
+
{values === null || values === void 0 ? void 0 : values.map(function (_a) {
|
|
44
|
+
var name = _a.name, imageUrl = _a.imageUrl;
|
|
45
|
+
return (<registrationPage_1.RegistrationSelectBox key={name} name={name} image={imageUrl} selected={selectedNames.includes(name)} onClick={onClick}/>);
|
|
46
|
+
})}
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<div className="content-next">
|
|
50
|
+
<MainButton_1.default onClick={onSaveClick} variant="primaryM" text={saveValue}/>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</StyledRegistrationSelection>);
|
|
40
54
|
};
|
|
41
55
|
// Export
|
|
42
56
|
exports.default = RegistrationSelection;
|
|
@@ -42,7 +42,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
42
42
|
var react_1 = __importStar(require("react"));
|
|
43
43
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
44
44
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
45
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
45
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
46
46
|
var colors_1 = require("@/styles/colors");
|
|
47
47
|
var _system_1 = require("@system");
|
|
48
48
|
var scale_1 = require("@/utils/adaptive/scale");
|
|
@@ -101,10 +101,10 @@ var FAQ_ITEMS = [
|
|
|
101
101
|
// Component
|
|
102
102
|
var ArrowIconResize = function () {
|
|
103
103
|
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
104
|
-
return (
|
|
104
|
+
return (<arrow_up_light_svg_1.default style={(0, scale_1.getAdaptiveScale)({
|
|
105
105
|
windowDimensions: windowDimensions,
|
|
106
106
|
currentSize: 1,
|
|
107
|
-
})
|
|
107
|
+
})}/>);
|
|
108
108
|
};
|
|
109
109
|
var FAQRewards = function () {
|
|
110
110
|
var _a = (0, react_1.useState)(Array(3).fill(false)), openTopics = _a[0], setOpenTopics = _a[1];
|
|
@@ -115,17 +115,25 @@ var FAQRewards = function () {
|
|
|
115
115
|
return newOpenTopics;
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
|
-
return (
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
return (<StyledFAQRewards>
|
|
119
|
+
<TitleFAQ>Frequently Asked Questions</TitleFAQ>
|
|
120
|
+
<_system_1.Flex flexDirection="column" width="100%">
|
|
121
|
+
{FAQ_ITEMS.map(function (_a) {
|
|
121
122
|
var id = _a.id, title = _a.title, description = _a.description;
|
|
122
|
-
return (
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
return (<StyledFlexDivider key={id}>
|
|
124
|
+
<StyledTitleWrapper>
|
|
125
|
+
<AccordionTitle>{title}</AccordionTitle>
|
|
126
|
+
<StyledArrowIcon isShow={openTopics[id]} onClick={function () { return toggleDescription(id); }}>
|
|
127
|
+
<ArrowIconResize />
|
|
128
|
+
</StyledArrowIcon>
|
|
129
|
+
</StyledTitleWrapper>
|
|
130
|
+
<p className={"faq_desc ".concat(openTopics[id] ? 'open' : '')}>
|
|
131
|
+
{description}
|
|
132
|
+
</p>
|
|
133
|
+
</StyledFlexDivider>);
|
|
134
|
+
})}
|
|
135
|
+
</_system_1.Flex>
|
|
136
|
+
</StyledFAQRewards>);
|
|
129
137
|
};
|
|
130
138
|
// Export
|
|
131
139
|
exports.default = FAQRewards;
|
|
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
11
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
12
12
|
var colors_1 = require("@/styles/colors");
|
|
13
13
|
var _system_1 = require("@system");
|
|
14
14
|
var vars_1 = require("@/fonts/vars");
|
|
@@ -30,24 +30,34 @@ var StyledFlex = (0, styled_components_1.default)(_system_1.Flex)(templateObject
|
|
|
30
30
|
// Component
|
|
31
31
|
var Clarifications = function (_a) {
|
|
32
32
|
var goalsArr = _a.goalsArr;
|
|
33
|
-
return (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
return (<StyledClarifications>
|
|
34
|
+
<_system_1.Flex flexDirection="column" width="100%" style={{ gap: '16px' }}>
|
|
35
|
+
<_system_1.H3 style={{
|
|
36
|
+
lineHeight: '1.5',
|
|
37
|
+
fontWeight: 600,
|
|
38
|
+
fontSize: '2.4em',
|
|
39
|
+
textAlign: 'center',
|
|
40
|
+
fontFamily: vars_1.poppinsFontVarCss.css,
|
|
41
|
+
}} color={colors_1.WhiteColor}>
|
|
42
|
+
How does it work?
|
|
43
|
+
</_system_1.H3>
|
|
44
|
+
<p className={"clar_desc"}>
|
|
45
|
+
Further developing and growing NFT Trader for our team has been an
|
|
46
|
+
exciting journey so far.
|
|
47
|
+
</p>
|
|
48
|
+
</_system_1.Flex>
|
|
49
|
+
<_system_1.Flex flexDirection="column" width="100%">
|
|
50
|
+
{goalsArr && goalsArr.length > 0
|
|
44
51
|
? goalsArr.map(function (_a) {
|
|
45
52
|
var desc = _a.desc, expPerTime = _a.expPerTime;
|
|
46
|
-
return (
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
return (<StyledFlex key={desc + expPerTime}>
|
|
54
|
+
<p className={"goal_desc"}>{desc}</p>
|
|
55
|
+
<p className={"goal_exp"}>{expPerTime}</p>
|
|
56
|
+
</StyledFlex>);
|
|
49
57
|
})
|
|
50
|
-
: null
|
|
58
|
+
: null}
|
|
59
|
+
</_system_1.Flex>
|
|
60
|
+
</StyledClarifications>);
|
|
51
61
|
};
|
|
52
62
|
//Export
|
|
53
63
|
exports.default = Clarifications;
|
|
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
11
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
12
12
|
var _system_1 = require("@system");
|
|
13
13
|
var scale_1 = require("@/utils/adaptive/scale");
|
|
14
14
|
var screen_1 = require("@/utils/screen");
|
|
@@ -18,11 +18,12 @@ var StyledBottomLogo = (0, styled_components_1.default)(_system_1.Flex)(template
|
|
|
18
18
|
// Component
|
|
19
19
|
var BottomLogo = function () {
|
|
20
20
|
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
21
|
-
return (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
return (<StyledBottomLogo>
|
|
22
|
+
<main_logo_dark_svg_1.default className={'bottom_logo'} style={(0, scale_1.getAdaptiveScale)({
|
|
23
|
+
windowDimensions: windowDimensions,
|
|
24
|
+
currentSize: 0.8,
|
|
25
|
+
})}/>
|
|
26
|
+
</StyledBottomLogo>);
|
|
26
27
|
};
|
|
27
28
|
// Export
|
|
28
29
|
exports.default = BottomLogo;
|
|
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
11
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
12
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
13
13
|
var colors_1 = require("@/styles/colors");
|
|
14
14
|
// Styles
|
|
15
15
|
var StyledProgress = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n background-color: ", ";\n border-radius: 100px;\n\n .progress_fill {\n width: ", ";\n //width: 50%;\n height: 100%;\n background-color: ", ";\n border-radius: 100px;\n transition: all 1500ms;\n }\n ", " {\n height: ", ";\n border-radius: ", ";\n\n .progress_fill {\n border-radius: ", ";\n }\n }\n"], ["\n width: 100%;\n height: ", ";\n background-color: ", ";\n border-radius: 100px;\n\n .progress_fill {\n width: ", ";\n //width: 50%;\n height: 100%;\n background-color: ", ";\n border-radius: 100px;\n transition: all 1500ms;\n }\n ", " {\n height: ", ";\n border-radius: ", ";\n\n .progress_fill {\n border-radius: ", ";\n }\n }\n"])), function (props) { return (props.height ? "".concat(props.height, "px") : '12px'); }, function (_a) {
|
|
@@ -23,9 +23,11 @@ var StyledProgress = styled_components_1.default.div(templateObject_1 || (templa
|
|
|
23
23
|
// Component
|
|
24
24
|
var ProgressBar = function (_a) {
|
|
25
25
|
var height = _a.height, percent = _a.percent, isUserTab = _a.isUserTab;
|
|
26
|
-
return (
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
return (<>
|
|
27
|
+
<StyledProgress percent={percent} height={height} isForUser={isUserTab}>
|
|
28
|
+
<div className="progress_fill"></div>
|
|
29
|
+
</StyledProgress>
|
|
30
|
+
</>);
|
|
29
31
|
};
|
|
30
32
|
// Export
|
|
31
33
|
exports.default = ProgressBar;
|
|
@@ -11,7 +11,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
|
11
11
|
var vars_1 = require("@ludo.ninja/ui/build/fonts/vars");
|
|
12
12
|
var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
13
13
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
14
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
14
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
15
15
|
var RewardsButton = styled_components_1.default.button(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n padding: 9px 24px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n border-radius: 30px;\n border: 1px solid ", ";\n\n color: ", ";\n text-align: center;\n\n font-family: ", ";\n font-size: 15px;\n font-style: normal;\n font-weight: 500;\n line-height: 22px;\n\n white-space: nowrap;\n background: transparent;\n transition: 0.2s all ease-in;\n user-select: none;\n cursor: pointer;\n\n @media (hover: hover) {\n &:hover {\n background: #1b1c27;\n box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.1);\n transition: 0.2s all ease-in-out;\n }\n }\n\n &:disabled {\n border: 1px solid #00622d;\n color: ", ";\n transition: 0.2s all ease-in-out;\n\n &:hover {\n background: transparent;\n }\n }\n\n ", " {\n padding: ", " ", ";\n gap: ", ";\n\n border-radius: ", ";\n border: ", " solid ", ";\n\n font-size: ", ";\n line-height: ", ";\n\n @media (hover: hover) {\n &:hover {\n box-shadow: 0 ", " ", " 0\n rgba(0, 0, 0, 0.1);\n }\n }\n\n &:disabled {\n border: ", " solid #00622d;\n }\n }\n"], ["\n display: flex;\n padding: 9px 24px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n border-radius: 30px;\n border: 1px solid ", ";\n\n color: ", ";\n text-align: center;\n\n font-family: ", ";\n font-size: 15px;\n font-style: normal;\n font-weight: 500;\n line-height: 22px;\n\n white-space: nowrap;\n background: transparent;\n transition: 0.2s all ease-in;\n user-select: none;\n cursor: pointer;\n\n @media (hover: hover) {\n &:hover {\n background: #1b1c27;\n box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.1);\n transition: 0.2s all ease-in-out;\n }\n }\n\n &:disabled {\n border: 1px solid #00622d;\n color: ", ";\n transition: 0.2s all ease-in-out;\n\n &:hover {\n background: transparent;\n }\n }\n\n ", " {\n padding: ", " ", ";\n gap: ", ";\n\n border-radius: ", ";\n border: ", " solid ", ";\n\n font-size: ", ";\n line-height: ", ";\n\n @media (hover: hover) {\n &:hover {\n box-shadow: 0 ", " ", " 0\n rgba(0, 0, 0, 0.1);\n }\n }\n\n &:disabled {\n border: ", " solid #00622d;\n }\n }\n"])), colors_1.ExpTaskProgressFill, colors_1.WhiteColor, vars_1.poppinsFontVarCss.css, colors_1.TextGray2Color, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(9), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(4), (0, _4k_1.adaptiveValueCalc)(30), (0, _4k_1.adaptiveValueCalc)(1), colors_1.ExpTaskProgressFill, (0, _4k_1.adaptiveValueCalc)(15), (0, _4k_1.adaptiveValueCalc)(22), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(15), (0, _4k_1.adaptiveValueCalc)(1));
|
|
16
16
|
exports.default = RewardsButton;
|
|
17
17
|
var templateObject_1;
|
|
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
11
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
12
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
13
13
|
var _system_1 = require("@system");
|
|
14
14
|
var vars_1 = require("@/fonts/vars");
|
|
15
15
|
// Styles
|
|
@@ -21,8 +21,9 @@ var SeasonTitle = (0, styled_components_1.default)(_system_1.H2)(templateObject_
|
|
|
21
21
|
// Component
|
|
22
22
|
var SeasonsTab = function (_a) {
|
|
23
23
|
var title = _a.title;
|
|
24
|
-
return (
|
|
25
|
-
|
|
24
|
+
return (<StyledSeasons>
|
|
25
|
+
<SeasonTitle>{title !== null && title !== void 0 ? title : 'Seasons coming soon...'}</SeasonTitle>
|
|
26
|
+
</StyledSeasons>);
|
|
26
27
|
};
|
|
27
28
|
//Export
|
|
28
29
|
exports.default = SeasonsTab;
|
|
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
11
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
12
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
13
13
|
var boxTransform_1 = __importDefault(require("@/styles/mixins/boxTransform"));
|
|
14
14
|
var rewardsButton_1 = __importDefault(require("@/components/rewards/rewardsButton"));
|
|
15
15
|
var _system_1 = require("@system");
|
|
@@ -39,25 +39,37 @@ var TaskTitle = (0, styled_components_1.default)(_system_1.H5)(templateObject_2
|
|
|
39
39
|
// Component
|
|
40
40
|
var TaskExpTab = function (_a) {
|
|
41
41
|
var taskTitle = _a.taskTitle, taskDesc = _a.taskDesc, ernExp = _a.ernExp, segmentsNumber = _a.segmentsNumber, partDone = _a.partDone, partReq = _a.partReq, action = _a.action;
|
|
42
|
-
return (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
42
|
+
return (<StyledTaskExpTab>
|
|
43
|
+
<_system_1.Flex justifyContent="space-between" width="100%">
|
|
44
|
+
<TaskTitle>{taskTitle !== null && taskTitle !== void 0 ? taskTitle : 'Another task'}</TaskTitle>
|
|
45
|
+
<_system_1.Flex className={'gap_8'}>
|
|
46
|
+
<p className={"erned_exp"}>
|
|
47
|
+
{segmentsNumber !== 1 ? "from ".concat(ernExp) : ernExp} XP
|
|
48
|
+
</p>
|
|
49
|
+
<img src={'/rewardsPage/XP_logo.svg'} alt="Experience logo" className="exp_logo"/>
|
|
50
|
+
</_system_1.Flex>
|
|
51
|
+
</_system_1.Flex>
|
|
52
|
+
<_system_1.Flex justifyContent={segmentsNumber ? 'space-between' : 'center'} className={"task_content"}>
|
|
53
|
+
<p className={"task_desc"}>
|
|
54
|
+
{taskDesc !== null && taskDesc !== void 0 ? taskDesc : 'Another task text goes here.'}
|
|
55
|
+
</p>
|
|
56
|
+
{segmentsNumber ? (<_system_1.Flex className={'gap_8'} flexDirection={'column'}>
|
|
57
|
+
<_system_1.Flex className={'gap_8'} width="100%">
|
|
58
|
+
{Array.from(Array(segmentsNumber)).map(function (_, index) {
|
|
59
|
+
return (<prograssBar_1.default key={index} height={12} percent={partDone > index ? 100 : 0}/>);
|
|
60
|
+
})}
|
|
61
|
+
</_system_1.Flex>
|
|
62
|
+
|
|
63
|
+
<_system_1.Flex justifyContent="space-between" width="100%">
|
|
64
|
+
<p className={"task_part_complete"}>0</p>
|
|
65
|
+
<p className={"task_part_requried"}>{partReq}</p>
|
|
66
|
+
</_system_1.Flex>
|
|
67
|
+
</_system_1.Flex>) : null}
|
|
68
|
+
</_system_1.Flex>
|
|
69
|
+
{action && (<_system_1.Flex justifyContent={'center'}>
|
|
70
|
+
<rewardsButton_1.default onClick={action.onClick}>{action.text}</rewardsButton_1.default>
|
|
71
|
+
</_system_1.Flex>)}
|
|
72
|
+
</StyledTaskExpTab>);
|
|
61
73
|
};
|
|
62
74
|
// Export
|
|
63
75
|
exports.default = TaskExpTab;
|
|
@@ -50,7 +50,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
|
50
50
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
51
51
|
var utils_1 = require("@ludo.ninja/utils");
|
|
52
52
|
var store_1 = require("@/modules/user/store");
|
|
53
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
53
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
54
54
|
var colors_1 = require("@/styles/colors");
|
|
55
55
|
var _system_1 = require("@system");
|
|
56
56
|
var vars_1 = require("@/fonts/vars");
|
|
@@ -133,9 +133,12 @@ var Tasks = function (_a) {
|
|
|
133
133
|
}, []);
|
|
134
134
|
if (!(tasks === null || tasks === void 0 ? void 0 : tasks.length))
|
|
135
135
|
return null;
|
|
136
|
-
return (
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
return (<StyledTasks>
|
|
137
|
+
<SH3>Tasks</SH3>
|
|
138
|
+
<StyledGrid>
|
|
139
|
+
{tasks === null || tasks === void 0 ? void 0 : tasks.map(function (task) { return (<taskExpTab_1.default key={Number(task.taskId)} taskTitle={task.name || 'No name'} taskDesc={task.description || 'No description'} ernExp={(task === null || task === void 0 ? void 0 : task.minPointsAward) || 0} segmentsNumber={(task === null || task === void 0 ? void 0 : task.maxRepeats) || 0} partDone={(task === null || task === void 0 ? void 0 : task.repeatsCompleted) || 0} partReq={(task === null || task === void 0 ? void 0 : task.maxRepeats) || 0} action={task.taskType ? BUTTONS_BY_TASK_TYPE[task.taskType] : undefined}/>); })}
|
|
140
|
+
</StyledGrid>
|
|
141
|
+
</StyledTasks>);
|
|
139
142
|
};
|
|
140
143
|
// Export
|
|
141
144
|
exports.default = Tasks;
|
|
@@ -11,7 +11,7 @@ var react_1 = __importDefault(require("react"));
|
|
|
11
11
|
var image_1 = __importDefault(require("next/image"));
|
|
12
12
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
13
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
14
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
14
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
15
15
|
var boxTransform_1 = __importDefault(require("@/styles/mixins/boxTransform"));
|
|
16
16
|
var _system_1 = require("@system");
|
|
17
17
|
var vars_1 = require("@/fonts/vars");
|
|
@@ -43,29 +43,35 @@ var StyledUserInfoExpTab = styled_components_1.default.div(templateObject_1 || (
|
|
|
43
43
|
var UserInfoExpTab = function (_a) {
|
|
44
44
|
var _b, _c;
|
|
45
45
|
var userPic = _a.userPic, userName = _a.userName, userWallet = _a.userWallet, userExpPercent = _a.userExpPercent, userExp = _a.userExp, userLevel = _a.userLevel, totalExpInLevel = _a.totalExpInLevel;
|
|
46
|
-
var expContent = (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
46
|
+
var expContent = (<>
|
|
47
|
+
<image_1.default src={'/rewardsPage/XP_logo.svg'} alt="Experience logo" width={28} height={28} className="exp_logo"/>
|
|
48
|
+
<p className={"exp_value"}>{userExp} XP</p>
|
|
49
|
+
</>);
|
|
50
|
+
return (<StyledUserInfoExpTab>
|
|
51
|
+
<_system_1.Flex className="info_wrapper">
|
|
52
|
+
<image_1.default src={"".concat(userPic !== null && userPic !== void 0 ? userPic : '/rewardsPage/defaultUserPic.svg')} width={96} height={96} alt="User profile picture" className="user_pic"/>
|
|
53
|
+
<_system_1.Flex flexDirection="column" className={'user_credential_wrapper'}>
|
|
54
|
+
<p className={"user_name"}>{userName !== null && userName !== void 0 ? userName : 'User Name'}</p>
|
|
55
|
+
<span className={"user_wallet"}>
|
|
56
|
+
{userWallet !== null && userWallet !== void 0 ? userWallet : '0xcd292...3268'}
|
|
57
|
+
</span>
|
|
58
|
+
<_system_1.Flex className={'user_exp mobile'}>{expContent}</_system_1.Flex>
|
|
59
|
+
</_system_1.Flex>
|
|
60
|
+
</_system_1.Flex>
|
|
61
|
+
<_system_1.Flex flexDirection="column" className={'exp_wrapper'} justifyContent={'center'}>
|
|
62
|
+
<_system_1.Flex className={'user_exp desktop'}>{expContent}</_system_1.Flex>
|
|
63
|
+
<prograssBar_1.default percent={userExpPercent} height={16} isUserTab={true}/>
|
|
64
|
+
<_system_1.Flex justifyContent="space-between" className={'user_lvl_block'} alignItems="center">
|
|
65
|
+
<p className={"exp_current_lvl"}>Level {userLevel !== null && userLevel !== void 0 ? userLevel : '4'}</p>
|
|
66
|
+
<p className={"exp_left_untill"}>
|
|
67
|
+
{(_b = (totalExpInLevel && totalExpInLevel)) !== null && _b !== void 0 ? _b : '4,067'} XP to{' '}
|
|
68
|
+
<span className={"exp_next_lvl"}>
|
|
69
|
+
Level {(_c = Number(userLevel) + 1) !== null && _c !== void 0 ? _c : '5'}
|
|
70
|
+
</span>
|
|
71
|
+
</p>
|
|
72
|
+
</_system_1.Flex>
|
|
73
|
+
</_system_1.Flex>
|
|
74
|
+
</StyledUserInfoExpTab>);
|
|
69
75
|
};
|
|
70
76
|
// Export
|
|
71
77
|
exports.default = UserInfoExpTab;
|