@ludo.ninja/components 1.9.6 → 2.0.1
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/build/index.js +1 -0
- package/package.json +4 -6
- package/README.md +0 -40
- package/dist/api/graphql/index.d.ts +0 -4
- package/dist/api/graphql/index.js +0 -11
- package/dist/components/CreationCard/CardHead.d.ts +0 -14
- package/dist/components/CreationCard/CardHead.js +0 -129
- package/dist/components/CreationCard/index.d.ts +0 -30
- package/dist/components/CreationCard/index.js +0 -103
- package/dist/components/addWalletsRedirectPage/index.d.ts +0 -5
- package/dist/components/addWalletsRedirectPage/index.js +0 -38
- package/dist/components/banner/index.d.ts +0 -3
- package/dist/components/banner/index.js +0 -71
- package/dist/components/base/Meta/index.d.ts +0 -3
- package/dist/components/base/Meta/index.js +0 -60
- package/dist/components/base/NoSSR/index.d.ts +0 -5
- package/dist/components/base/NoSSR/index.js +0 -10
- package/dist/components/collectionPage/collectionLike/index.d.ts +0 -7
- package/dist/components/collectionPage/collectionLike/index.js +0 -41
- package/dist/components/deleteDialog/index.d.ts +0 -8
- package/dist/components/deleteDialog/index.js +0 -109
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +0 -6
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.js +0 -94
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +0 -6
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.js +0 -92
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +0 -7
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.js +0 -94
- package/dist/components/filters/applyResetBtns/index.d.ts +0 -6
- package/dist/components/filters/applyResetBtns/index.js +0 -28
- package/dist/components/filters/galleriesFiltersForm/index.d.ts +0 -11
- package/dist/components/filters/galleriesFiltersForm/index.js +0 -90
- package/dist/components/filters/index.d.ts +0 -12
- package/dist/components/filters/index.js +0 -111
- package/dist/components/filters/mobileFilters/index.d.ts +0 -5
- package/dist/components/filters/mobileFilters/index.js +0 -21
- package/dist/components/filters/setsFiltersForm/index.d.ts +0 -10
- package/dist/components/filters/setsFiltersForm/index.js +0 -82
- package/dist/components/forms/form/index.d.ts +0 -14
- package/dist/components/forms/form/index.js +0 -136
- package/dist/components/forms/formsNavigation/index.d.ts +0 -3
- package/dist/components/forms/formsNavigation/index.js +0 -73
- package/dist/components/forms/formsTemplate/index.d.ts +0 -14
- package/dist/components/forms/formsTemplate/index.js +0 -776
- package/dist/components/forms/types/index.d.ts +0 -32
- package/dist/components/forms/types/index.js +0 -13
- package/dist/components/gallery/add/addAssetToGallery/index.d.ts +0 -6
- package/dist/components/gallery/add/addAssetToGallery/index.js +0 -94
- package/dist/components/gallery/add/addCreationToGallery/index.d.ts +0 -3
- package/dist/components/gallery/add/addCreationToGallery/index.js +0 -114
- package/dist/components/gradientLabel/index.d.ts +0 -3
- package/dist/components/gradientLabel/index.js +0 -24
- package/dist/components/headers/components/MobileToggle/index.d.ts +0 -0
- package/dist/components/headers/components/MobileToggle/index.js +0 -0
- package/dist/components/headers/components/headerExperienceLabel/index.d.ts +0 -5
- package/dist/components/headers/components/headerExperienceLabel/index.js +0 -32
- package/dist/components/headers/components/headerUserPic/index.d.ts +0 -5
- package/dist/components/headers/components/headerUserPic/index.js +0 -27
- package/dist/components/headers/header/index.d.ts +0 -3
- package/dist/components/headers/header/index.js +0 -32
- package/dist/components/headers/headerSearch/index.d.ts +0 -3
- package/dist/components/headers/headerSearch/index.js +0 -39
- package/dist/components/headers/headerSimple/index.d.ts +0 -3
- package/dist/components/headers/headerSimple/index.js +0 -33
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +0 -23
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.d.ts +0 -3
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.js +0 -181
- package/dist/components/inviteCodesForms/joinWaitListForm/index.d.ts +0 -3
- package/dist/components/inviteCodesForms/joinWaitListForm/index.js +0 -126
- package/dist/components/inviteCodesForms/styles/index.d.ts +0 -6
- package/dist/components/inviteCodesForms/styles/index.js +0 -18
- package/dist/components/inviteCodesPage/components/index.d.ts +0 -5
- package/dist/components/inviteCodesPage/components/index.js +0 -14
- package/dist/components/inviteCodesPage/components/inviteCodes/index.d.ts +0 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/index.js +0 -24
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.js +0 -30
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.js +0 -26
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.js +0 -28
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.js +0 -21
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +0 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.js +0 -27
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +0 -5
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.js +0 -23
- package/dist/components/inviteCodesPage/wrappers/index.d.ts +0 -4
- package/dist/components/inviteCodesPage/wrappers/index.js +0 -12
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +0 -8
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.js +0 -49
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +0 -17
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.js +0 -31
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.js +0 -37
- package/dist/components/linkTabs/index.d.ts +0 -7
- package/dist/components/linkTabs/index.js +0 -23
- package/dist/components/linkTabs/linkTab/index.d.ts +0 -9
- package/dist/components/linkTabs/linkTab/index.js +0 -28
- package/dist/components/myWallets/index.d.ts +0 -3
- package/dist/components/myWallets/index.js +0 -33
- package/dist/components/myWallets/myWalletItem/index.d.ts +0 -10
- package/dist/components/myWallets/myWalletItem/index.js +0 -137
- package/dist/components/navigation/index.d.ts +0 -8
- package/dist/components/navigation/index.js +0 -75
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.d.ts +0 -2
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.js +0 -136
- package/dist/components/profile/ProfileTabs.d.ts +0 -7
- package/dist/components/profile/ProfileTabs.js +0 -46
- package/dist/components/profile/aboutText/index.d.ts +0 -5
- package/dist/components/profile/aboutText/index.js +0 -105
- package/dist/components/profile/addToGalleryBtns/index.d.ts +0 -5
- package/dist/components/profile/addToGalleryBtns/index.js +0 -42
- package/dist/components/profile/followersSocial/followers/index.d.ts +0 -7
- package/dist/components/profile/followersSocial/followers/index.js +0 -28
- package/dist/components/profile/followersSocial/index.d.ts +0 -5
- package/dist/components/profile/followersSocial/index.js +0 -28
- package/dist/components/profile/followersSocial/social/index.d.ts +0 -3
- package/dist/components/profile/followersSocial/social/index.js +0 -40
- package/dist/components/profile/index.d.ts +0 -1
- package/dist/components/profile/index.js +0 -5
- package/dist/components/profile/info/index.d.ts +0 -7
- package/dist/components/profile/info/index.js +0 -43
- package/dist/components/profile/interests/data.d.ts +0 -3
- package/dist/components/profile/interests/data.js +0 -22
- package/dist/components/profile/interests/index.d.ts +0 -2
- package/dist/components/profile/interests/index.js +0 -56
- package/dist/components/profile/interests/type.d.ts +0 -6
- package/dist/components/profile/interests/type.js +0 -2
- package/dist/components/profile/jsonLd/index.d.ts +0 -4
- package/dist/components/profile/jsonLd/index.js +0 -9
- package/dist/components/profile/pageHead/index.d.ts +0 -6
- package/dist/components/profile/pageHead/index.js +0 -51
- package/dist/components/profile/profileSkeleton/index.d.ts +0 -5
- package/dist/components/profile/profileSkeleton/index.js +0 -35
- package/dist/components/profile/profileUserCards/index.d.ts +0 -4
- package/dist/components/profile/profileUserCards/index.js +0 -19
- package/dist/components/profile/profileUserCards/profileUserCard/index.d.ts +0 -10
- package/dist/components/profile/profileUserCards/profileUserCard/index.js +0 -157
- package/dist/components/profile/rank/index.d.ts +0 -5
- package/dist/components/profile/rank/index.js +0 -33
- package/dist/components/profile/stats/index.d.ts +0 -5
- package/dist/components/profile/stats/index.js +0 -28
- package/dist/components/profile/wallets/index.d.ts +0 -2
- package/dist/components/profile/wallets/index.js +0 -73
- package/dist/components/profile/wrapper/index.d.ts +0 -7
- package/dist/components/profile/wrapper/index.js +0 -17
- package/dist/components/registrationPage/index.d.ts +0 -3
- package/dist/components/registrationPage/index.js +0 -10
- package/dist/components/registrationPage/registrationSelectBox/index.d.ts +0 -9
- package/dist/components/registrationPage/registrationSelectBox/index.js +0 -24
- package/dist/components/registrationPage/registrationSelection/index.d.ts +0 -16
- package/dist/components/registrationPage/registrationSelection/index.js +0 -43
- package/dist/components/rewards/FAQ/index.d.ts +0 -3
- package/dist/components/rewards/FAQ/index.js +0 -132
- package/dist/components/rewards/clarifications/index.d.ts +0 -8
- package/dist/components/rewards/clarifications/index.js +0 -54
- package/dist/components/rewards/logoBottom/index.d.ts +0 -3
- package/dist/components/rewards/logoBottom/index.js +0 -29
- package/dist/components/rewards/prograssBar/index.d.ts +0 -7
- package/dist/components/rewards/prograssBar/index.js +0 -32
- package/dist/components/rewards/rewardsButton/index.d.ts +0 -3
- package/dist/components/rewards/rewardsButton/index.js +0 -17
- package/dist/components/rewards/seasonBanner/index.d.ts +0 -5
- package/dist/components/rewards/seasonBanner/index.js +0 -29
- package/dist/components/rewards/taskExpTab/index.d.ts +0 -14
- package/dist/components/rewards/taskExpTab/index.js +0 -64
- package/dist/components/rewards/tasksGrid/index.d.ts +0 -6
- package/dist/components/rewards/tasksGrid/index.js +0 -142
- package/dist/components/rewards/userExp/index.d.ts +0 -12
- package/dist/components/rewards/userExp/index.js +0 -72
- package/dist/components/search/SearchInputContainer.d.ts +0 -26
- package/dist/components/search/SearchInputContainer.js +0 -244
- package/dist/components/search/index.d.ts +0 -3
- package/dist/components/search/index.js +0 -86
- package/dist/components/search/searchCategories/index.d.ts +0 -3
- package/dist/components/search/searchCategories/index.js +0 -79
- package/dist/components/search/searchCategories/type.d.ts +0 -5
- package/dist/components/search/searchCategories/type.js +0 -2
- package/dist/components/search/searchCloseMoreButtons/index.d.ts +0 -14
- package/dist/components/search/searchCloseMoreButtons/index.js +0 -54
- package/dist/components/search/searchResultCaption/index.d.ts +0 -7
- package/dist/components/search/searchResultCaption/index.js +0 -31
- package/dist/components/search/searchSelectsGalleries/index.d.ts +0 -9
- package/dist/components/search/searchSelectsGalleries/index.js +0 -70
- package/dist/components/search/searchSelectsSets/index.d.ts +0 -8
- package/dist/components/search/searchSelectsSets/index.js +0 -69
- package/dist/components/search/searchSimpleInput/index.d.ts +0 -5
- package/dist/components/search/searchSimpleInput/index.js +0 -85
- package/dist/components/search/searchSuggestions/index.d.ts +0 -14
- package/dist/components/search/searchSuggestions/index.js +0 -117
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +0 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.js +0 -27
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +0 -3
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.js +0 -30
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +0 -11
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.js +0 -40
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +0 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +0 -56
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +0 -5
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +0 -29
- package/dist/components/shareDialog/index.d.ts +0 -34
- package/dist/components/shareDialog/index.js +0 -73
- package/dist/components/showcaseAssets/showcaseSort/data.d.ts +0 -3
- package/dist/components/showcaseAssets/showcaseSort/data.js +0 -29
- package/dist/components/showcaseAssets/showcaseSort/index.d.ts +0 -8
- package/dist/components/showcaseAssets/showcaseSort/index.js +0 -28
- package/dist/components/sidebar/data.d.ts +0 -20
- package/dist/components/sidebar/data.js +0 -89
- package/dist/components/sidebar/index.d.ts +0 -3
- package/dist/components/sidebar/index.js +0 -131
- package/dist/components/sidebar/initializer.d.ts +0 -2
- package/dist/components/sidebar/initializer.js +0 -36
- package/dist/components/sidebar/sidebarFilters/index.d.ts +0 -7
- package/dist/components/sidebar/sidebarFilters/index.js +0 -30
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.d.ts +0 -3
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.js +0 -67
- package/dist/components/socialButtons/data.d.ts +0 -3
- package/dist/components/socialButtons/data.js +0 -52
- package/dist/components/socialButtons/icons/discord.d.ts +0 -3
- package/dist/components/socialButtons/icons/discord.js +0 -7
- package/dist/components/socialButtons/icons/facebook.d.ts +0 -3
- package/dist/components/socialButtons/icons/facebook.js +0 -8
- package/dist/components/socialButtons/icons/instagram.d.ts +0 -3
- package/dist/components/socialButtons/icons/instagram.js +0 -9
- package/dist/components/socialButtons/icons/medium.d.ts +0 -3
- package/dist/components/socialButtons/icons/medium.js +0 -7
- package/dist/components/socialButtons/icons/telegram.d.ts +0 -3
- package/dist/components/socialButtons/icons/telegram.js +0 -7
- package/dist/components/socialButtons/icons/twitter.d.ts +0 -3
- package/dist/components/socialButtons/icons/twitter.js +0 -7
- package/dist/components/socialButtons/index.d.ts +0 -3
- package/dist/components/socialButtons/index.js +0 -32
- package/dist/components/socialButtons/type.d.ts +0 -8
- package/dist/components/socialButtons/type.js +0 -2
- package/dist/components/tabs/icons/bell.d.ts +0 -5
- package/dist/components/tabs/icons/bell.js +0 -9
- package/dist/components/tabs/icons/profile.d.ts +0 -5
- package/dist/components/tabs/icons/profile.js +0 -9
- package/dist/components/tabs/icons/secure.d.ts +0 -5
- package/dist/components/tabs/icons/secure.js +0 -8
- package/dist/components/tabs/index.d.ts +0 -3
- package/dist/components/tabs/index.js +0 -55
- package/dist/components/toTopBtn/index.d.ts +0 -6
- package/dist/components/toTopBtn/index.js +0 -85
- package/dist/dto/AssetEntity/index.d.ts +0 -63
- package/dist/dto/AssetEntity/index.js +0 -211
- package/dist/dto/AssetEntity/interface.d.ts +0 -39
- package/dist/dto/AssetEntity/interface.js +0 -2
- package/dist/dto/AssetEntity/views/AssetAudio/index.d.ts +0 -9
- package/dist/dto/AssetEntity/views/AssetAudio/index.js +0 -39
- package/dist/dto/AssetEntity/views/AssetImage/index.d.ts +0 -10
- package/dist/dto/AssetEntity/views/AssetImage/index.js +0 -50
- package/dist/dto/AssetEntity/views/AssetObject/index.d.ts +0 -11
- package/dist/dto/AssetEntity/views/AssetObject/index.js +0 -70
- package/dist/dto/AssetEntity/views/AssetOther/index.d.ts +0 -11
- package/dist/dto/AssetEntity/views/AssetOther/index.js +0 -54
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.d.ts +0 -10
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.js +0 -50
- package/dist/dto/AssetEntity/views/AssetVideo/index.d.ts +0 -9
- package/dist/dto/AssetEntity/views/AssetVideo/index.js +0 -39
- package/dist/dto/AssetEntity/views/index.d.ts +0 -6
- package/dist/dto/AssetEntity/views/index.js +0 -16
- package/dist/dto/Collection/CollectionCreationEntity/index.d.ts +0 -45
- package/dist/dto/Collection/CollectionCreationEntity/index.js +0 -162
- package/dist/dto/Collection/CollectionCreationEntity/interface.d.ts +0 -24
- package/dist/dto/Collection/CollectionCreationEntity/interface.js +0 -2
- package/dist/dto/Collection/CollectionEntity/index.d.ts +0 -32
- package/dist/dto/Collection/CollectionEntity/index.js +0 -74
- package/dist/dto/Collection/CollectionEntity/interface.d.ts +0 -16
- package/dist/dto/Collection/CollectionEntity/interface.js +0 -2
- package/dist/dto/CreationEntity/index.d.ts +0 -49
- package/dist/dto/CreationEntity/index.js +0 -168
- package/dist/dto/CreationEntity/interface.d.ts +0 -30
- package/dist/dto/CreationEntity/interface.js +0 -2
- package/dist/dto/GalleryEntityV2/index.d.ts +0 -32
- package/dist/dto/GalleryEntityV2/index.js +0 -74
- package/dist/dto/GalleryEntityV2/interface.d.ts +0 -16
- package/dist/dto/GalleryEntityV2/interface.js +0 -2
- package/dist/dto/common/ItemType/data.d.ts +0 -3
- package/dist/dto/common/ItemType/data.js +0 -37
- package/dist/dto/common/ItemType/index.d.ts +0 -45
- package/dist/dto/common/ItemType/index.js +0 -42
- package/dist/dto/common/ItemViews/CreationAudio/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationAudio/index.js +0 -39
- package/dist/dto/common/ItemViews/CreationImage/index.d.ts +0 -10
- package/dist/dto/common/ItemViews/CreationImage/index.js +0 -50
- package/dist/dto/common/ItemViews/CreationObject/index.d.ts +0 -8
- package/dist/dto/common/ItemViews/CreationObject/index.js +0 -43
- package/dist/dto/common/ItemViews/CreationOther/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationOther/index.js +0 -39
- package/dist/dto/common/ItemViews/CreationVideo/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationVideo/index.js +0 -39
- package/dist/dto/common/ItemViews/index.d.ts +0 -5
- package/dist/dto/common/ItemViews/index.js +0 -21
- package/dist/dto/common/Media/Audio/index.d.ts +0 -13
- package/dist/dto/common/Media/Audio/index.js +0 -54
- package/dist/dto/common/Media/Image/index.d.ts +0 -13
- package/dist/dto/common/Media/Image/index.js +0 -62
- package/dist/dto/common/Media/Object/index.d.ts +0 -13
- package/dist/dto/common/Media/Object/index.js +0 -63
- package/dist/dto/common/Media/Other/index.d.ts +0 -13
- package/dist/dto/common/Media/Other/index.js +0 -82
- package/dist/dto/common/Media/Screenshot/index.d.ts +0 -13
- package/dist/dto/common/Media/Screenshot/index.js +0 -62
- package/dist/dto/common/Media/Urls/index.d.ts +0 -31
- package/dist/dto/common/Media/Urls/index.js +0 -130
- package/dist/dto/common/Media/Video/index.d.ts +0 -13
- package/dist/dto/common/Media/Video/index.js +0 -54
- package/dist/dto/common/Media/index.d.ts +0 -26
- package/dist/dto/common/Media/index.js +0 -40
- package/dist/dto/common/Media/interface.d.ts +0 -26
- package/dist/dto/common/Media/interface.js +0 -2
- package/dist/dto/index.d.ts +0 -8
- package/dist/dto/index.js +0 -33
- package/dist/entities/user/type.d.ts +0 -5
- package/dist/entities/user/type.js +0 -2
- package/dist/fonts/FontsInitializeLayout.d.ts +0 -6
- package/dist/fonts/FontsInitializeLayout.js +0 -67
- package/dist/fonts/index.d.ts +0 -3
- package/dist/fonts/index.js +0 -25
- package/dist/fonts/vars.d.ts +0 -1
- package/dist/fonts/vars.js +0 -6
- package/dist/hooks/apollo/index.d.ts +0 -5
- package/dist/hooks/apollo/index.js +0 -11
- package/dist/hooks/audio/useMultiAudio/index.d.ts +0 -2
- package/dist/hooks/audio/useMultiAudio/index.js +0 -56
- package/dist/hooks/extension/useExtension/index.d.ts +0 -7
- package/dist/hooks/extension/useExtension/index.js +0 -78
- package/dist/hooks/favorites/index.d.ts +0 -2
- package/dist/hooks/favorites/index.js +0 -18
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +0 -20
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.js +0 -194
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +0 -22
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.js +0 -270
- package/dist/hooks/galleries/index.d.ts +0 -1
- package/dist/hooks/galleries/index.js +0 -17
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +0 -17
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.js +0 -226
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.js +0 -21
- package/dist/hooks/likes/dynamic/useFindCollectionsAndLikes.js +0 -241
- package/dist/hooks/likes/dynamic/useFindCreationsAndLikes.js +0 -213
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +0 -13
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +0 -210
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikes.js +0 -230
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +0 -240
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +0 -17
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +0 -50
- package/dist/hooks/likes/dynamic/useGetTableLikes.d.ts +0 -15
- package/dist/hooks/likes/dynamic/useGetTableLikes.js +0 -116
- package/dist/hooks/likes/index.d.ts +0 -19
- package/dist/hooks/likes/index.js +0 -177
- package/dist/hooks/likes/useGetLikesAsset.d.ts +0 -20
- package/dist/hooks/likes/useGetLikesAsset.js +0 -159
- package/dist/hooks/searchFiltersConnector/index.d.ts +0 -11
- package/dist/hooks/searchFiltersConnector/index.js +0 -195
- package/dist/hooks/useToGalleryAsset/index.d.ts +0 -18
- package/dist/hooks/useToGalleryAsset/index.js +0 -103
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -25
- package/dist/layouts/GlobalLayout.d.ts +0 -4
- package/dist/layouts/GlobalLayout.js +0 -48
- package/dist/layouts/base/LWithRegularHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithRegularHeader/index.js +0 -25
- package/dist/layouts/base/LWithRegularHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithRegularHeader/type.js +0 -2
- package/dist/layouts/base/LWithSearchHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithSearchHeader/index.js +0 -18
- package/dist/layouts/base/LWithSearchHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithSearchHeader/type.js +0 -2
- package/dist/layouts/base/LWithSimpleHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithSimpleHeader/index.js +0 -21
- package/dist/layouts/base/LWithSimpleHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithSimpleHeader/type.js +0 -2
- package/dist/layouts/base/LWithoutHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithoutHeader/index.js +0 -23
- package/dist/layouts/custom/accountLayout/index.d.ts +0 -3
- package/dist/layouts/custom/accountLayout/index.js +0 -23
- package/dist/layouts/custom/formsLayout/index.d.ts +0 -3
- package/dist/layouts/custom/formsLayout/index.js +0 -18
- package/dist/layouts/custom/mainLayout/index.d.ts +0 -3
- package/dist/layouts/custom/mainLayout/index.js +0 -22
- package/dist/layouts/custom/searchLayout/index.d.ts +0 -3
- package/dist/layouts/custom/searchLayout/index.js +0 -26
- package/dist/layouts/custom/simpleLayout/index.d.ts +0 -3
- package/dist/layouts/custom/simpleLayout/index.js +0 -22
- package/dist/layouts/custom/styles.d.ts +0 -3
- package/dist/layouts/custom/styles.js +0 -16
- package/dist/layouts/pageTransitionLayout.d.ts +0 -6
- package/dist/layouts/pageTransitionLayout.js +0 -24
- package/dist/layouts/pageWithLayout.d.ts +0 -9
- package/dist/layouts/pageWithLayout.js +0 -2
- package/dist/modules/index.d.ts +0 -4
- package/dist/modules/index.js +0 -20
- package/dist/modules/notifications/CreatorNotifications.d.ts +0 -2
- package/dist/modules/notifications/CreatorNotifications.js +0 -42
- package/dist/modules/notifications/index.d.ts +0 -22
- package/dist/modules/notifications/index.js +0 -6
- package/dist/modules/sessionScroll/globalTabs.d.ts +0 -12
- package/dist/modules/sessionScroll/globalTabs.js +0 -50
- package/dist/modules/sessionScroll/index.d.ts +0 -15
- package/dist/modules/sessionScroll/index.js +0 -77
- package/dist/modules/sessionScroll/type.d.ts +0 -7
- package/dist/modules/sessionScroll/type.js +0 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +0 -12
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +0 -62
- package/dist/modules/user/auth/index.d.ts +0 -1
- package/dist/modules/user/auth/index.js +0 -17
- package/dist/modules/user/auth/useAuthVerification.d.ts +0 -1
- package/dist/modules/user/auth/useAuthVerification.js +0 -120
- package/dist/modules/user/auth/useSignIn.d.ts +0 -1
- package/dist/modules/user/auth/useSignIn.js +0 -21
- package/dist/modules/user/auth/useSignOut.d.ts +0 -1
- package/dist/modules/user/auth/useSignOut.js +0 -78
- package/dist/modules/user/index.d.ts +0 -3
- package/dist/modules/user/index.js +0 -19
- package/dist/modules/user/profileData/index.d.ts +0 -1
- package/dist/modules/user/profileData/index.js +0 -17
- package/dist/modules/user/profileData/profileDataInitialization.d.ts +0 -2
- package/dist/modules/user/profileData/profileDataInitialization.js +0 -59
- package/dist/modules/user/store.d.ts +0 -33
- package/dist/modules/user/store.js +0 -78
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +0 -19
- package/dist/modules/virtuoso/VirtuosoPageBuilder.js +0 -146
- package/dist/modules/virtuoso/VirtuosoToTopBtn.d.ts +0 -10
- package/dist/modules/virtuoso/VirtuosoToTopBtn.js +0 -43
- package/dist/modules/virtuoso/index.d.ts +0 -5
- package/dist/modules/virtuoso/index.js +0 -21
- package/dist/modules/virtuoso/types.d.ts +0 -7
- package/dist/modules/virtuoso/types.js +0 -2
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +0 -3
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +0 -27
- package/dist/modules/virtuoso/useVirtuosoData.d.ts +0 -11
- package/dist/modules/virtuoso/useVirtuosoData.js +0 -50
- package/dist/pages/index.d.ts +0 -2
- package/dist/pages/index.js +0 -16
- package/dist/store/index.d.ts +0 -11
- package/dist/store/index.js +0 -28
- package/dist/store/media/index.d.ts +0 -1
- package/dist/store/media/index.js +0 -69
- package/dist/store/media/types.d.ts +0 -11
- package/dist/store/media/types.js +0 -2
- package/dist/store/ui/index.d.ts +0 -2
- package/dist/store/ui/index.js +0 -167
- package/dist/store/ui/types.d.ts +0 -34
- package/dist/store/ui/types.js +0 -2
- package/dist/store/ui/utils.d.ts +0 -7
- package/dist/store/ui/utils.js +0 -32
- package/dist/styles/ScreenWidth.d.ts +0 -22
- package/dist/styles/ScreenWidth.js +0 -26
- package/dist/styles/animations/index.d.ts +0 -2
- package/dist/styles/animations/index.js +0 -11
- package/dist/styles/colors/index.d.ts +0 -1
- package/dist/styles/colors/index.js +0 -38
- package/dist/styles/globalStyles.d.ts +0 -3
- package/dist/styles/globalStyles.js +0 -23
- package/dist/styles/index.d.ts +0 -5
- package/dist/styles/index.js +0 -26
- package/dist/styles/mixins/boxShadow.d.ts +0 -2
- package/dist/styles/mixins/boxShadow.js +0 -10
- package/dist/styles/mixins/boxTransform.d.ts +0 -2
- package/dist/styles/mixins/boxTransform.js +0 -10
- package/dist/styles/mixins/index.d.ts +0 -3
- package/dist/styles/mixins/index.js +0 -25
- package/dist/styles/mixins/z-indexes.d.ts +0 -10
- package/dist/styles/mixins/z-indexes.js +0 -13
- package/dist/styles/typography/index.d.ts +0 -1
- package/dist/styles/typography/index.js +0 -12
- package/dist/system/ActiveLink/index.d.ts +0 -9
- package/dist/system/ActiveLink/index.js +0 -71
- package/dist/system/Alert/index.d.ts +0 -3
- package/dist/system/Alert/index.js +0 -20
- package/dist/system/Alert/type.d.ts +0 -2
- package/dist/system/Alert/type.js +0 -8
- package/dist/system/BasicOverlay/index.d.ts +0 -3
- package/dist/system/BasicOverlay/index.js +0 -20
- package/dist/system/Buttons/IconButton/index.d.ts +0 -2
- package/dist/system/Buttons/IconButton/index.js +0 -7
- package/dist/system/Buttons/IconWithButton/index.d.ts +0 -2
- package/dist/system/Buttons/IconWithButton/index.js +0 -7
- package/dist/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/dist/system/Buttons/IconWithButton/themes.js +0 -0
- package/dist/system/Buttons/MainButton/index.d.ts +0 -2
- package/dist/system/Buttons/MainButton/index.js +0 -7
- package/dist/system/Buttons/MainButton/themes.d.ts +0 -0
- package/dist/system/Buttons/MainButton/themes.js +0 -0
- package/dist/system/Buttons/SecondaryButton/index.d.ts +0 -2
- package/dist/system/Buttons/SecondaryButton/index.js +0 -7
- package/dist/system/Buttons/index.d.ts +0 -4
- package/dist/system/Buttons/index.js +0 -14
- package/dist/system/Cards/CardCheckbox/index.d.ts +0 -6
- package/dist/system/Cards/CardCheckbox/index.js +0 -50
- package/dist/system/Cards/CardContent/CardCategory/index.d.ts +0 -6
- package/dist/system/Cards/CardContent/CardCategory/index.js +0 -27
- package/dist/system/Cards/CardContent/CardLikes/index.d.ts +0 -6
- package/dist/system/Cards/CardContent/CardLikes/index.js +0 -32
- package/dist/system/Cards/CardContent/CardShowMore/index.d.ts +0 -7
- package/dist/system/Cards/CardContent/CardShowMore/index.js +0 -40
- package/dist/system/Cards/CardContent/index.d.ts +0 -17
- package/dist/system/Cards/CardContent/index.js +0 -50
- package/dist/system/Cards/CardHeadIcons/index.d.ts +0 -15
- package/dist/system/Cards/CardHeadIcons/index.js +0 -134
- package/dist/system/Cards/CardMedia/CardAudio/index.d.ts +0 -8
- package/dist/system/Cards/CardMedia/CardAudio/index.js +0 -93
- package/dist/system/Cards/CardMedia/CardImage/index.d.ts +0 -7
- package/dist/system/Cards/CardMedia/CardImage/index.js +0 -44
- package/dist/system/Cards/CardMedia/CardVideo/index.d.ts +0 -7
- package/dist/system/Cards/CardMedia/CardVideo/index.js +0 -83
- package/dist/system/Cards/CardMedia/index.d.ts +0 -3
- package/dist/system/Cards/CardMedia/index.js +0 -12
- package/dist/system/Cards/CardRank/index.d.ts +0 -5
- package/dist/system/Cards/CardRank/index.js +0 -33
- package/dist/system/Cards/CardsGrid/index.d.ts +0 -13
- package/dist/system/Cards/CardsGrid/index.js +0 -80
- package/dist/system/Cards/HideLink/index.d.ts +0 -10
- package/dist/system/Cards/HideLink/index.js +0 -27
- package/dist/system/Cards/MultiMediaCard/index.d.ts +0 -10
- package/dist/system/Cards/MultiMediaCard/index.js +0 -78
- package/dist/system/Cards/RegularCard/index.d.ts +0 -22
- package/dist/system/Cards/RegularCard/index.js +0 -53
- package/dist/system/Cards/Styles/Content.d.ts +0 -3
- package/dist/system/Cards/Styles/Content.js +0 -16
- package/dist/system/Cards/Styles/Head.d.ts +0 -3
- package/dist/system/Cards/Styles/Head.js +0 -16
- package/dist/system/Cards/Styles/Headicons.d.ts +0 -5
- package/dist/system/Cards/Styles/Headicons.js +0 -19
- package/dist/system/Cards/Styles/Image.d.ts +0 -5
- package/dist/system/Cards/Styles/Image.js +0 -15
- package/dist/system/Cards/Styles/Likes.d.ts +0 -5
- package/dist/system/Cards/Styles/Likes.js +0 -17
- package/dist/system/Cards/Styles/MultiHead.d.ts +0 -3
- package/dist/system/Cards/Styles/MultiHead.js +0 -16
- package/dist/system/Cards/Styles/Video.d.ts +0 -3
- package/dist/system/Cards/Styles/Video.js +0 -13
- package/dist/system/Cards/Styles/index.d.ts +0 -7
- package/dist/system/Cards/Styles/index.js +0 -20
- package/dist/system/Cards/index.d.ts +0 -14
- package/dist/system/Cards/index.js +0 -46
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +0 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +0 -100
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +0 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +0 -26
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +0 -6
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +0 -38
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +0 -22
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.js +0 -38
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +0 -26
- package/dist/system/CardsHolderWithSkeleton/index.d.ts +0 -30
- package/dist/system/CardsHolderWithSkeleton/index.js +0 -19
- package/dist/system/DropDown/DropDown.test.d.ts +0 -1
- package/dist/system/DropDown/DropDown.test.js +0 -42
- package/dist/system/DropDown/index.d.ts +0 -8
- package/dist/system/DropDown/index.js +0 -63
- package/dist/system/Filters/helpers.d.ts +0 -7
- package/dist/system/Filters/helpers.js +0 -8
- package/dist/system/Filters/index.d.ts +0 -2
- package/dist/system/Filters/index.js +0 -18
- package/dist/system/Filters/type.d.ts +0 -16
- package/dist/system/Filters/type.js +0 -11
- package/dist/system/Flex/index.d.ts +0 -0
- package/dist/system/Flex/index.js +0 -0
- package/dist/system/Forms/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/system/Forms/Checkbox/Checkbox.test.js +0 -90
- package/dist/system/Forms/Checkbox/index.d.ts +0 -22
- package/dist/system/Forms/Checkbox/index.js +0 -71
- package/dist/system/Forms/DatePicker/index.d.ts +0 -16
- package/dist/system/Forms/DatePicker/index.js +0 -43
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +0 -1
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.js +0 -27
- package/dist/system/Forms/ErrorLabel/index.d.ts +0 -7
- package/dist/system/Forms/ErrorLabel/index.js +0 -20
- package/dist/system/Forms/Input/Input.test.d.ts +0 -1
- package/dist/system/Forms/Input/Input.test.js +0 -57
- package/dist/system/Forms/Input/index.d.ts +0 -16
- package/dist/system/Forms/Input/index.js +0 -45
- package/dist/system/Forms/Input/type.d.ts +0 -5
- package/dist/system/Forms/Input/type.js +0 -2
- package/dist/system/Forms/Messages/index.d.ts +0 -67
- package/dist/system/Forms/Messages/index.js +0 -69
- package/dist/system/Forms/RadioInput/index.d.ts +0 -13
- package/dist/system/Forms/RadioInput/index.js +0 -42
- package/dist/system/Forms/Selects/DesktopSelect/index.d.ts +0 -12
- package/dist/system/Forms/Selects/DesktopSelect/index.js +0 -151
- package/dist/system/Forms/Selects/DesktopSelect/type.d.ts +0 -5
- package/dist/system/Forms/Selects/DesktopSelect/type.js +0 -2
- package/dist/system/Forms/Selects/MobileSelect/index.d.ts +0 -14
- package/dist/system/Forms/Selects/MobileSelect/index.js +0 -55
- package/dist/system/Forms/TextArea/index.d.ts +0 -14
- package/dist/system/Forms/TextArea/index.js +0 -44
- package/dist/system/Forms/index.d.ts +0 -6
- package/dist/system/Forms/index.js +0 -16
- package/dist/system/Img/ExternalImage/index.d.ts +0 -6
- package/dist/system/Img/ExternalImage/index.js +0 -53
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +0 -1
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.js +0 -53
- package/dist/system/Img/ImageInterceptor/index.d.ts +0 -17
- package/dist/system/Img/ImageInterceptor/index.js +0 -56
- package/dist/system/Img/Profilepic/index.d.ts +0 -11
- package/dist/system/Img/Profilepic/index.js +0 -39
- package/dist/system/Img/Userpic/UserPic.test.d.ts +0 -2
- package/dist/system/Img/Userpic/UserPic.test.js +0 -69
- package/dist/system/Img/Userpic/index.d.ts +0 -9
- package/dist/system/Img/Userpic/index.js +0 -98
- package/dist/system/Img/index.d.ts +0 -4
- package/dist/system/Img/index.js +0 -20
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +0 -1
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.js +0 -64
- package/dist/system/Labels/ExperienceLabel/index.d.ts +0 -7
- package/dist/system/Labels/ExperienceLabel/index.js +0 -42
- package/dist/system/Labels/InviteLabel/InviteLabel.test.d.ts +0 -1
- package/dist/system/Labels/InviteLabel/InviteLabel.test.js +0 -56
- package/dist/system/Labels/InviteLabel/index.d.ts +0 -7
- package/dist/system/Labels/InviteLabel/index.js +0 -38
- package/dist/system/Labels/SkeletonLabel/index.d.ts +0 -2
- package/dist/system/Labels/SkeletonLabel/index.js +0 -7
- package/dist/system/Modals/Modal/Modal.test.d.ts +0 -1
- package/dist/system/Modals/Modal/Modal.test.js +0 -36
- package/dist/system/Modals/Modal/index.d.ts +0 -3
- package/dist/system/Modals/Modal/index.js +0 -31
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +0 -2
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +0 -48
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +0 -1
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.js +0 -35
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +0 -5
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.js +0 -19
- package/dist/system/Modals/ModalSidebar/index.d.ts +0 -4
- package/dist/system/Modals/ModalSidebar/index.js +0 -31
- package/dist/system/Modals/index.d.ts +0 -2
- package/dist/system/Modals/index.js +0 -10
- package/dist/system/Overlay/Overlay.test.d.ts +0 -1
- package/dist/system/Overlay/Overlay.test.js +0 -47
- package/dist/system/Overlay/index.d.ts +0 -3
- package/dist/system/Overlay/index.js +0 -28
- package/dist/system/PageLoader/index.d.ts +0 -2
- package/dist/system/PageLoader/index.js +0 -7
- package/dist/system/Palete/index.d.ts +0 -2
- package/dist/system/Palete/index.js +0 -7
- package/dist/system/ShareIconResize.d.ts +0 -2
- package/dist/system/ShareIconResize.js +0 -26
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.d.ts +0 -2
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.js +0 -40
- package/dist/system/Tabs/TabNavLink/index.d.ts +0 -12
- package/dist/system/Tabs/TabNavLink/index.js +0 -26
- package/dist/system/Tabs/TabsNav/TabsNav.test.d.ts +0 -2
- package/dist/system/Tabs/TabsNav/TabsNav.test.js +0 -43
- package/dist/system/Tabs/TabsNav/index.d.ts +0 -10
- package/dist/system/Tabs/TabsNav/index.js +0 -28
- package/dist/system/Tabs/TabsNav/type.d.ts +0 -6
- package/dist/system/Tabs/TabsNav/type.js +0 -2
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.d.ts +0 -2
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.js +0 -37
- package/dist/system/Tabs/TabsPanel/index.d.ts +0 -7
- package/dist/system/Tabs/TabsPanel/index.js +0 -21
- package/dist/system/Tabs/index.d.ts +0 -4
- package/dist/system/Tabs/index.js +0 -27
- package/dist/system/Text/index.d.ts +0 -0
- package/dist/system/Text/index.js +0 -0
- package/dist/system/index.d.ts +0 -21
- package/dist/system/index.js +0 -49
- package/dist/system/theme.d.ts +0 -1
- package/dist/system/theme.js +0 -7
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/utils/3d.d.ts +0 -5
- package/dist/utils/3d.js +0 -45
- package/dist/utils/adaptive/check4k.d.ts +0 -5
- package/dist/utils/adaptive/check4k.js +0 -17
- package/dist/utils/adaptive/index.d.ts +0 -2
- package/dist/utils/adaptive/index.js +0 -18
- package/dist/utils/adaptive/scale.d.ts +0 -9
- package/dist/utils/adaptive/scale.js +0 -19
- package/dist/utils/auth/index.d.ts +0 -1
- package/dist/utils/auth/index.js +0 -11
- package/dist/utils/copyBtn/index.d.ts +0 -5
- package/dist/utils/copyBtn/index.js +0 -107
- package/dist/utils/env/index.d.ts +0 -5
- package/dist/utils/env/index.js +0 -34
- package/dist/utils/env/isProd/index.d.ts +0 -3
- package/dist/utils/env/isProd/index.js +0 -9
- package/dist/utils/env/type.d.ts +0 -5
- package/dist/utils/env/type.js +0 -9
- package/dist/utils/extractItemIds/index.d.ts +0 -2
- package/dist/utils/extractItemIds/index.js +0 -12
- package/dist/utils/getDimensionsImage.d.ts +0 -4
- package/dist/utils/getDimensionsImage.js +0 -84
- package/dist/utils/getPageSizeAssets.d.ts +0 -5
- package/dist/utils/getPageSizeAssets.js +0 -19
- package/dist/utils/healzHandler/index.d.ts +0 -9
- package/dist/utils/healzHandler/index.js +0 -10
- package/dist/utils/imageProportionsSize/index.d.ts +0 -5
- package/dist/utils/imageProportionsSize/index.js +0 -24
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/index.js +0 -23
- package/dist/utils/screen/index.d.ts +0 -18
- package/dist/utils/screen/index.js +0 -87
- package/dist/utils/ssrFunctions/index.d.ts +0 -11
- package/dist/utils/ssrFunctions/index.js +0 -41
- package/dist/utils/ui/index.d.ts +0 -8
- package/dist/utils/ui/index.js +0 -8
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var react_1 = __importDefault(require("react"));
|
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
var colors_1 = require("@/styles/colors");
|
|
13
|
-
var StyledRegistrationSelectBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 100px;\n border-radius: 6px;\n position: relative;\n padding: 22px 26px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-image: url(", ");\n background-repeat: no-repeat;\n background-size: cover;\n cursor: pointer;\n backdrop-filter: ", ";\n box-shadow: ", ";\n background-color: ", ";\n\n &:hover {\n background: url(", "), lightgray 50%;\n background-repeat: no-repeat;\n background-size: cover;\n backdrop-filter: blur(2px);\n box-shadow: 0 13px 16px -10px rgba(33, 21, 95, 0.5);\n\n &:before {\n background: ", ";\n opacity: ", ";\n }\n }\n\n &:before {\n content: '';\n position: absolute;\n display: block;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background: ", ";\n opacity: ", ";\n }\n\n .text {\n position: absolute;\n user-select: none;\n text-shadow: 1px 1px 1px ", ";\n color: ", ";\n text-align: center;\n }\n\n .text2 {\n position: absolute;\n user-select: none;\n color: ", ";\n text-align: center;\n }\n"], ["\n min-height: 100px;\n border-radius: 6px;\n position: relative;\n padding: 22px 26px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-image: url(", ");\n background-repeat: no-repeat;\n background-size: cover;\n cursor: pointer;\n backdrop-filter: ", ";\n box-shadow: ", ";\n background-color: ", ";\n\n &:hover {\n background: url(", "), lightgray 50%;\n background-repeat: no-repeat;\n background-size: cover;\n backdrop-filter: blur(2px);\n box-shadow: 0 13px 16px -10px rgba(33, 21, 95, 0.5);\n\n &:before {\n background: ", ";\n opacity: ", ";\n }\n }\n\n &:before {\n content: '';\n position: absolute;\n display: block;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background: ", ";\n opacity: ", ";\n }\n\n .text {\n position: absolute;\n user-select: none;\n text-shadow: 1px 1px 1px ", ";\n color: ", ";\n text-align: center;\n }\n\n .text2 {\n position: absolute;\n user-select: none;\n color: ", ";\n text-align: center;\n }\n"])), function (props) { return props.image; }, function (props) { return (props.isSelected ? 'blur(2px)' : ''); }, function (props) {
|
|
14
|
-
return props.isSelected ? '0 13px 16px -10px rgba(33, 21, 95, 0.5)' : '';
|
|
15
|
-
}, function (props) { return (props.isSelected ? 'lightgray 50%' : ''); }, function (props) { return props.image; }, function (props) { return (props.isSelected ? '' : '#6048ff'); }, function (props) { return (props.isSelected ? '' : 0.4); }, function (props) {
|
|
16
|
-
return props.isSelected ? '#6048ff' : 'rgba(18, 24, 58, 0.4)';
|
|
17
|
-
}, function (props) { return (props.isSelected ? 0.8 : 0.5); }, colors_1.BlackColor, colors_1.WhiteColor, colors_1.WhiteColor);
|
|
18
|
-
var RegistrationSelectBox = function (_a) {
|
|
19
|
-
var name = _a.name, image = _a.image, selected = _a.selected, onClick = _a.onClick;
|
|
20
|
-
return (react_1.default.createElement(StyledRegistrationSelectBox, { isSelected: selected, image: image, onClick: function () { return onClick(name); } },
|
|
21
|
-
react_1.default.createElement("h2", { className: 'text' }, name)));
|
|
22
|
-
};
|
|
23
|
-
exports.default = RegistrationSelectBox;
|
|
24
|
-
var templateObject_1;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { preferencesSchema as schema } from '@ludo.ninja/api';
|
|
3
|
-
interface Props {
|
|
4
|
-
step: string;
|
|
5
|
-
maxSteps: string;
|
|
6
|
-
title: string;
|
|
7
|
-
subtitle: string;
|
|
8
|
-
values: schema.IInterest[] | null;
|
|
9
|
-
selectedNames: string[];
|
|
10
|
-
saveValue: string;
|
|
11
|
-
onClick: (name: string) => void;
|
|
12
|
-
onSaveClick: () => void;
|
|
13
|
-
text: string;
|
|
14
|
-
}
|
|
15
|
-
declare const RegistrationSelection: React.FC<Props>;
|
|
16
|
-
export default RegistrationSelection;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var react_1 = __importDefault(require("react"));
|
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
var ui_1 = require("@ludo.ninja/ui");
|
|
13
|
-
var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
14
|
-
var MainButton_1 = __importDefault(require("@ludo.ninja/ui/build/system/Buttons/MainButton"));
|
|
15
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
16
|
-
var colors_2 = require("@/styles/colors");
|
|
17
|
-
var registrationPage_1 = require("@/components/registrationPage");
|
|
18
|
-
var _system_1 = require("@system");
|
|
19
|
-
// Styles
|
|
20
|
-
var StyledCaption = (0, styled_components_1.default)(_system_1.H1)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: 24px;\n"], ["\n font-size: 24px;\n"])));
|
|
21
|
-
var StyledRegistrationSelection = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n\n .info {\n max-width: 520px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-items: center;\n user-select: none;\n }\n\n .content {\n width: 100%;\n margin-top: 24px;\n\n &-values {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-gap: 24px;\n margin-bottom: 56px;\n\n ", " {\n grid-gap: 16px;\n grid-template-columns: 1fr 1fr;\n }\n }\n\n &-next {\n max-width: 82px;\n margin: 0 auto;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n\n .info {\n max-width: 520px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-items: center;\n user-select: none;\n }\n\n .content {\n width: 100%;\n margin-top: 24px;\n\n &-values {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-gap: 24px;\n margin-bottom: 56px;\n\n ", " {\n grid-gap: 16px;\n grid-template-columns: 1fr 1fr;\n }\n }\n\n &-next {\n max-width: 82px;\n margin: 0 auto;\n }\n }\n"])), styles_1.mediaQuery.tablet);
|
|
22
|
-
// Components
|
|
23
|
-
var RegistrationSelection = function (_a) {
|
|
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 (react_1.default.createElement(StyledRegistrationSelection, null,
|
|
26
|
-
react_1.default.createElement("div", { className: "info" },
|
|
27
|
-
react_1.default.createElement(_system_1.Box, null,
|
|
28
|
-
react_1.default.createElement(_system_1.Flex, { justifyContent: 'center' },
|
|
29
|
-
react_1.default.createElement(StyledCaption, { color: colors_1.AccentColor, mr: 10 }, "Step ".concat(step, "/").concat(maxSteps, " - ")),
|
|
30
|
-
react_1.default.createElement(StyledCaption, { color: colors_2.BlackColor }, title)),
|
|
31
|
-
react_1.default.createElement(_system_1.H3, { color: colors_2.TextGrayColor, mt: 16, mb: 4, fontSize: 18, textAlign: 'center' }, subtitle),
|
|
32
|
-
react_1.default.createElement(ui_1.MainText, { fontSize: 13, textAlign: 'center', color: colors_2.TextGrayColor }, text))),
|
|
33
|
-
react_1.default.createElement("div", { className: "content" },
|
|
34
|
-
react_1.default.createElement("div", { className: "content-values" }, values === null || values === void 0 ? void 0 : values.map(function (_a) {
|
|
35
|
-
var name = _a.name, imageUrl = _a.imageUrl;
|
|
36
|
-
return (react_1.default.createElement(registrationPage_1.RegistrationSelectBox, { key: name, name: name, image: imageUrl, selected: selectedNames.includes(name), onClick: onClick }));
|
|
37
|
-
})),
|
|
38
|
-
react_1.default.createElement("div", { className: "content-next" },
|
|
39
|
-
react_1.default.createElement(MainButton_1.default, { onClick: onSaveClick, variant: "primaryM", text: saveValue })))));
|
|
40
|
-
};
|
|
41
|
-
// Export
|
|
42
|
-
exports.default = RegistrationSelection;
|
|
43
|
-
var templateObject_1, templateObject_2;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
30
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
31
|
-
if (ar || !(i in from)) {
|
|
32
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
33
|
-
ar[i] = from[i];
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
37
|
-
};
|
|
38
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
-
};
|
|
41
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
var react_1 = __importStar(require("react"));
|
|
43
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
44
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
45
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
46
|
-
var colors_1 = require("@/styles/colors");
|
|
47
|
-
var _system_1 = require("@system");
|
|
48
|
-
var scale_1 = require("@/utils/adaptive/scale");
|
|
49
|
-
var screen_1 = require("@/utils/screen");
|
|
50
|
-
var vars_1 = require("@/fonts/vars");
|
|
51
|
-
var arrow_up_light_svg_1 = __importDefault(require("@/public/rewardsPage/arrow_up_light.svg"));
|
|
52
|
-
// Styles
|
|
53
|
-
var StyledFAQRewards = (0, styled_components_1.default)(_system_1.Flex)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 24px;\n\n min-height: max-content;\n width: 100%;\n max-width: 720px;\n background: ", ";\n margin-bottom: 80px;\n\n ", " {\n max-width: 588px;\n gap: 4px;\n }\n\n .faq_desc {\n font-family: ", ";\n font-weight: 400;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n max-height: 0;\n padding-bottom: 0;\n opacity: 0;\n transition: opacity 0.3s ease, max-height 0.12s ease,\n padding-bottom 0.12s ease;\n\n ", " {\n max-width: 575px;\n }\n }\n\n .faq_desc.open {\n max-height: 100%;\n opacity: 1;\n padding-bottom: 24px;\n\n ", " {\n padding-bottom: 16px;\n }\n }\n\n ", " {\n gap: ", ";\n max-width: ", ";\n margin-bottom: ", ";\n\n .faq_desc {\n font-size: ", ";\n }\n\n .faq_desc.open {\n padding-bottom: ", ";\n }\n }\n"], ["\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 24px;\n\n min-height: max-content;\n width: 100%;\n max-width: 720px;\n background: ", ";\n margin-bottom: 80px;\n\n ", " {\n max-width: 588px;\n gap: 4px;\n }\n\n .faq_desc {\n font-family: ", ";\n font-weight: 400;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n max-height: 0;\n padding-bottom: 0;\n opacity: 0;\n transition: opacity 0.3s ease, max-height 0.12s ease,\n padding-bottom 0.12s ease;\n\n ", " {\n max-width: 575px;\n }\n }\n\n .faq_desc.open {\n max-height: 100%;\n opacity: 1;\n padding-bottom: 24px;\n\n ", " {\n padding-bottom: 16px;\n }\n }\n\n ", " {\n gap: ", ";\n max-width: ", ";\n margin-bottom: ", ";\n\n .faq_desc {\n font-size: ", ";\n }\n\n .faq_desc.open {\n padding-bottom: ", ";\n }\n }\n"])), function (_a) {
|
|
54
|
-
var theme = _a.theme;
|
|
55
|
-
return theme.colors.bg;
|
|
56
|
-
}, styles_1.mediaQuery.maxWidthTablet, vars_1.dmsansFontVarCss.css, function (_a) {
|
|
57
|
-
var theme = _a.theme;
|
|
58
|
-
return theme.colors.grayText;
|
|
59
|
-
}, styles_1.mediaQuery.maxWidthTablet, styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(720), (0, _4k_1.adaptiveValueCalc)(80), (0, _4k_1.adaptiveValueCalc)(15), (0, _4k_1.adaptiveValueCalc)(24));
|
|
60
|
-
var StyledArrowIcon = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 1;\n\n transform: ", ";\n transition: all 0.3s ease-out;\n width: 38px;\n height: 38px;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 1;\n\n transform: ", ";\n transition: all 0.3s ease-out;\n width: 38px;\n height: 38px;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"])), function (props) { return (props.isShow ? 'rotate(0)' : 'rotate(180deg)'); }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(38), (0, _4k_1.adaptiveValueCalc)(38));
|
|
61
|
-
var StyledTitleWrapper = (0, styled_components_1.default)(_system_1.Flex)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n\n width: 100%;\n min-height: 70px;\n\n ", " {\n min-height: 50px;\n margin: 8px 0;\n }\n\n ", " {\n min-height: ", ";\n }\n"], ["\n align-items: center;\n justify-content: space-between;\n\n width: 100%;\n min-height: 70px;\n\n ", " {\n min-height: 50px;\n margin: 8px 0;\n }\n\n ", " {\n min-height: ", ";\n }\n"])), styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(70));
|
|
62
|
-
var StyledFlexDivider = (0, styled_components_1.default)(_system_1.Flex)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n flex-direction: column;\n\n width: 100%;\n\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n\n ", " {\n border-bottom: ", " solid\n ", ";\n }\n }\n"], ["\n align-items: center;\n flex-direction: column;\n\n width: 100%;\n\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n\n ", " {\n border-bottom: ", " solid\n ", ";\n }\n }\n"])), function (_a) {
|
|
63
|
-
var theme = _a.theme;
|
|
64
|
-
return theme.colors.blankProgressBar;
|
|
65
|
-
}, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(1), function (_a) {
|
|
66
|
-
var theme = _a.theme;
|
|
67
|
-
return theme.colors.blankProgressBar;
|
|
68
|
-
});
|
|
69
|
-
var TitleFAQ = (0, styled_components_1.default)(_system_1.H3)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-family: ", ";\n\n font-weight: 600;\n font-size: 2.4em;\n line-height: 1.5;\n text-align: center;\n color: ", ";\n\n ", " {\n font-size: 2.2em;\n line-height: 1.27;\n }\n\n ", " {\n font-size: ", ";\n }\n"], ["\n font-family: ", ";\n\n font-weight: 600;\n font-size: 2.4em;\n line-height: 1.5;\n text-align: center;\n color: ", ";\n\n ", " {\n font-size: 2.2em;\n line-height: 1.27;\n }\n\n ", " {\n font-size: ", ";\n }\n"])), vars_1.poppinsFontVarCss.css, function (_a) {
|
|
70
|
-
var theme = _a.theme;
|
|
71
|
-
return theme.colors.naturalWhite;
|
|
72
|
-
}, styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(15));
|
|
73
|
-
var AccordionTitle = (0, styled_components_1.default)(_system_1.H5)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n\n font-family: ", ";\n font-weight: 500;\n font-size: 1.5em;\n line-height: 1.46;\n text-align: left;\n\n ", " {\n font-size: ", ";\n }\n"], ["\n color: ", ";\n\n font-family: ", ";\n font-weight: 500;\n font-size: 1.5em;\n line-height: 1.46;\n text-align: left;\n\n ", " {\n font-size: ", ";\n }\n"])), colors_1.WhiteColor, vars_1.poppinsFontVarCss.css, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(15));
|
|
74
|
-
var FAQ_ITEMS = [
|
|
75
|
-
{
|
|
76
|
-
id: 1,
|
|
77
|
-
title: "What's Ludo XP?",
|
|
78
|
-
description: "Think of Ludo XP as a fun rewards system. It's all about giving back to users like you for engaging with different opportunities on the platform. The more you dive in, the more rewards you can earn!",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
id: 2,
|
|
82
|
-
title: 'What Counts as a Ludo opportunity?',
|
|
83
|
-
description: "Opportunities are special perks from projects aiming to deepen their connection with you. These can range from exclusive features, to rewards, or even insights into the project's journey. They're crafted to enrich your experience and draw you closer to the essence of the project.",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: 3,
|
|
87
|
-
title: 'How Do XP Points Work?',
|
|
88
|
-
description: "Unlike Ludo Rank, which grows through your interactions on the blockchain with high-reputation entities, XP points are earned through off-chain activities recommended by Ludo. Engage in these activities, and you'll rack up XP points.",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
id: 4,
|
|
92
|
-
title: "What's the Deal with XP Levels?",
|
|
93
|
-
description: "Your XP Level acts as a meter of your engagement within Ludo's ecosystem. It showcases how active you've been with the platform's offerings, with higher levels reflecting greater activity.",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: 5,
|
|
97
|
-
title: 'Why Bother Increasing My XP?',
|
|
98
|
-
description: "Elevating your XP level not only brings direct rewards but also indirectly boosts your Ludo Rank by increasing your chances of receiving on-chain rewards. Web3 projects are always on the lookout for engaged users, and a higher XP level signals your commitment and engagement. This, in turn, opens the door to more significant opportunities within the Web3 space, including exclusive on-chain rewards. It's about proving your engagement and dedication, not just investing money.",
|
|
99
|
-
},
|
|
100
|
-
];
|
|
101
|
-
// Component
|
|
102
|
-
var ArrowIconResize = function () {
|
|
103
|
-
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
104
|
-
return (react_1.default.createElement(arrow_up_light_svg_1.default, { style: (0, scale_1.getAdaptiveScale)({
|
|
105
|
-
windowDimensions: windowDimensions,
|
|
106
|
-
currentSize: 1,
|
|
107
|
-
}) }));
|
|
108
|
-
};
|
|
109
|
-
var FAQRewards = function () {
|
|
110
|
-
var _a = (0, react_1.useState)(Array(3).fill(false)), openTopics = _a[0], setOpenTopics = _a[1];
|
|
111
|
-
var toggleDescription = function (index) {
|
|
112
|
-
setOpenTopics(function (prevOpenTopics) {
|
|
113
|
-
var newOpenTopics = __spreadArray([], prevOpenTopics, true);
|
|
114
|
-
newOpenTopics[index] = !newOpenTopics[index];
|
|
115
|
-
return newOpenTopics;
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
|
-
return (react_1.default.createElement(StyledFAQRewards, null,
|
|
119
|
-
react_1.default.createElement(TitleFAQ, null, "Frequently Asked Questions"),
|
|
120
|
-
react_1.default.createElement(_system_1.Flex, { flexDirection: "column", width: "100%" }, FAQ_ITEMS.map(function (_a) {
|
|
121
|
-
var id = _a.id, title = _a.title, description = _a.description;
|
|
122
|
-
return (react_1.default.createElement(StyledFlexDivider, { key: id },
|
|
123
|
-
react_1.default.createElement(StyledTitleWrapper, null,
|
|
124
|
-
react_1.default.createElement(AccordionTitle, null, title),
|
|
125
|
-
react_1.default.createElement(StyledArrowIcon, { isShow: openTopics[id], onClick: function () { return toggleDescription(id); } },
|
|
126
|
-
react_1.default.createElement(ArrowIconResize, null))),
|
|
127
|
-
react_1.default.createElement("p", { className: "faq_desc ".concat(openTopics[id] ? 'open' : '') }, description)));
|
|
128
|
-
}))));
|
|
129
|
-
};
|
|
130
|
-
// Export
|
|
131
|
-
exports.default = FAQRewards;
|
|
132
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
12
|
-
var colors_1 = require("@/styles/colors");
|
|
13
|
-
var _system_1 = require("@system");
|
|
14
|
-
var vars_1 = require("@/fonts/vars");
|
|
15
|
-
// Styles
|
|
16
|
-
var StyledClarifications = (0, styled_components_1.default)(_system_1.Flex)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 24px;\n\n min-width: 720px;\n min-height: 260px;\n max-width: max-content;\n margin-bottom: 80px;\n background: ", ";\n\n ", " {\n min-width: 588px;\n }\n\n ", " {\n min-width: 100%;\n margin-bottom: 56px;\n }\n\n .clar_desc {\n font-family: ", ";\n font-weight: 400;\n font-size: 1.5em;\n line-height: 1.46;\n\n color: ", ";\n margin: 0 auto;\n text-align: center;\n\n ", " {\n max-width: 473px;\n }\n\n ", " {\n font-size: 1.4em;\n line-height: 1.28;\n }\n }\n\n .goal_desc,\n .goal_exp {\n font-family: ", ";\n\n font-weight: 500;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n\n ", " {\n font-size: 1.4em;\n line-height: 1.42;\n }\n }\n\n .goal_desc {\n ", " {\n max-width: 170px;\n }\n }\n"], ["\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 24px;\n\n min-width: 720px;\n min-height: 260px;\n max-width: max-content;\n margin-bottom: 80px;\n background: ", ";\n\n ", " {\n min-width: 588px;\n }\n\n ", " {\n min-width: 100%;\n margin-bottom: 56px;\n }\n\n .clar_desc {\n font-family: ", ";\n font-weight: 400;\n font-size: 1.5em;\n line-height: 1.46;\n\n color: ", ";\n margin: 0 auto;\n text-align: center;\n\n ", " {\n max-width: 473px;\n }\n\n ", " {\n font-size: 1.4em;\n line-height: 1.28;\n }\n }\n\n .goal_desc,\n .goal_exp {\n font-family: ", ";\n\n font-weight: 500;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n\n ", " {\n font-size: 1.4em;\n line-height: 1.42;\n }\n }\n\n .goal_desc {\n ", " {\n max-width: 170px;\n }\n }\n"])), function (_a) {
|
|
17
|
-
var theme = _a.theme;
|
|
18
|
-
return theme.colors.bg;
|
|
19
|
-
}, styles_1.mediaQuery.maxWidthTablet, styles_1.mediaQuery.mobile, vars_1.dmsansFontVarCss.css, function (_a) {
|
|
20
|
-
var theme = _a.theme;
|
|
21
|
-
return theme.colors.grayText;
|
|
22
|
-
}, styles_1.mediaQuery.maxWidthTablet, styles_1.mediaQuery.mobile, vars_1.poppinsFontVarCss.css, function (_a) {
|
|
23
|
-
var theme = _a.theme;
|
|
24
|
-
return theme.colors.naturalWhite;
|
|
25
|
-
}, styles_1.mediaQuery.mobile, styles_1.mediaQuery.mobile);
|
|
26
|
-
var StyledFlex = (0, styled_components_1.default)(_system_1.Flex)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n justify-content: space-between;\n padding: 16px 0;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n"], ["\n width: 100%;\n justify-content: space-between;\n padding: 16px 0;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n"])), function (_a) {
|
|
27
|
-
var theme = _a.theme;
|
|
28
|
-
return theme.colors.blankProgressBar;
|
|
29
|
-
});
|
|
30
|
-
// Component
|
|
31
|
-
var Clarifications = function (_a) {
|
|
32
|
-
var goalsArr = _a.goalsArr;
|
|
33
|
-
return (React.createElement(StyledClarifications, null,
|
|
34
|
-
React.createElement(_system_1.Flex, { flexDirection: "column", width: "100%", style: { gap: '16px' } },
|
|
35
|
-
React.createElement(_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 }, "How does it work?"),
|
|
42
|
-
React.createElement("p", { className: "clar_desc" }, "Further developing and growing NFT Trader for our team has been an exciting journey so far.")),
|
|
43
|
-
React.createElement(_system_1.Flex, { flexDirection: "column", width: "100%" }, goalsArr && goalsArr.length > 0
|
|
44
|
-
? goalsArr.map(function (_a) {
|
|
45
|
-
var desc = _a.desc, expPerTime = _a.expPerTime;
|
|
46
|
-
return (React.createElement(StyledFlex, { key: desc + expPerTime },
|
|
47
|
-
React.createElement("p", { className: "goal_desc" }, desc),
|
|
48
|
-
React.createElement("p", { className: "goal_exp" }, expPerTime)));
|
|
49
|
-
})
|
|
50
|
-
: null)));
|
|
51
|
-
};
|
|
52
|
-
//Export
|
|
53
|
-
exports.default = Clarifications;
|
|
54
|
-
var templateObject_1, templateObject_2;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
12
|
-
var _system_1 = require("@system");
|
|
13
|
-
var scale_1 = require("@/utils/adaptive/scale");
|
|
14
|
-
var screen_1 = require("@/utils/screen");
|
|
15
|
-
var main_logo_dark_svg_1 = __importDefault(require("@/public/logo/main_logo_dark.svg"));
|
|
16
|
-
// Styles
|
|
17
|
-
var StyledBottomLogo = (0, styled_components_1.default)(_system_1.Flex)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n justify-content: center;\n\n width: 100%;\n\n ", " {\n margin-bottom: 28px;\n }\n\n ", " {\n margin-bottom: 0;\n }\n\n .bottom_logo {\n transform: scale(0.8);\n }\n"], ["\n align-items: center;\n justify-content: center;\n\n width: 100%;\n\n ", " {\n margin-bottom: 28px;\n }\n\n ", " {\n margin-bottom: 0;\n }\n\n .bottom_logo {\n transform: scale(0.8);\n }\n"])), styles_1.mediaQuery.maxWidthTablet, styles_1.mediaQuery.mobile);
|
|
18
|
-
// Component
|
|
19
|
-
var BottomLogo = function () {
|
|
20
|
-
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
21
|
-
return (React.createElement(StyledBottomLogo, null,
|
|
22
|
-
React.createElement(main_logo_dark_svg_1.default, { className: 'bottom_logo', style: (0, scale_1.getAdaptiveScale)({
|
|
23
|
-
windowDimensions: windowDimensions,
|
|
24
|
-
currentSize: 0.8,
|
|
25
|
-
}) })));
|
|
26
|
-
};
|
|
27
|
-
// Export
|
|
28
|
-
exports.default = BottomLogo;
|
|
29
|
-
var templateObject_1;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
13
|
-
var colors_1 = require("@/styles/colors");
|
|
14
|
-
// Styles
|
|
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) {
|
|
16
|
-
var theme = _a.theme;
|
|
17
|
-
return theme.colors.blankProgressBar;
|
|
18
|
-
}, function (props) { return (props.percent ? "".concat(props.percent, "%") : '0%'); }, function (props) {
|
|
19
|
-
return props.isForUser ? colors_1.ExpUserProgressFill : colors_1.ExpTaskProgressFill;
|
|
20
|
-
}, styles_1.mediaQuery.minWidthFourK, function (props) {
|
|
21
|
-
return props.height ? (0, _4k_1.adaptiveValueCalc)(props.height) : (0, _4k_1.adaptiveValueCalc)(12);
|
|
22
|
-
}, (0, _4k_1.adaptiveValueCalc)(100), (0, _4k_1.adaptiveValueCalc)(100));
|
|
23
|
-
// Component
|
|
24
|
-
var ProgressBar = function (_a) {
|
|
25
|
-
var height = _a.height, percent = _a.percent, isUserTab = _a.isUserTab;
|
|
26
|
-
return (React.createElement(React.Fragment, null,
|
|
27
|
-
React.createElement(StyledProgress, { percent: percent, height: height, isForUser: isUserTab },
|
|
28
|
-
React.createElement("div", { className: "progress_fill" }))));
|
|
29
|
-
};
|
|
30
|
-
// Export
|
|
31
|
-
exports.default = ProgressBar;
|
|
32
|
-
var templateObject_1;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const RewardsButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
3
|
-
export default RewardsButton;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var vars_1 = require("@ludo.ninja/ui/build/fonts/vars");
|
|
12
|
-
var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
13
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
14
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
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
|
-
exports.default = RewardsButton;
|
|
17
|
-
var templateObject_1;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
13
|
-
var _system_1 = require("@system");
|
|
14
|
-
var vars_1 = require("@/fonts/vars");
|
|
15
|
-
// Styles
|
|
16
|
-
var StyledSeasons = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n min-width: 896px;\n min-height: 215px;\n max-width: max-content;\n margin-bottom: 80px;\n border-radius: 16px;\n background: url('/rewardsPage/banner_seasons.svg') no-repeat;\n background-size: cover;\n background-position: center;\n box-shadow: 0px 1px 0px 0px #ffffff1a inset;\n\n ", " {\n min-width: 628px;\n min-height: 178px;\n background-size: 147%;\n margin-bottom: 91px;\n }\n\n ", " {\n min-width: 320px;\n min-height: 124px;\n background-size: 147%;\n margin-bottom: 56px;\n }\n\n ", " {\n min-width: ", ";\n min-height: ", ";\n margin-bottom: ", ";\n border-radius: ", ";\n box-shadow: 0px ", " 0px 0px #ffffff1a inset;\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n\n min-width: 896px;\n min-height: 215px;\n max-width: max-content;\n margin-bottom: 80px;\n border-radius: 16px;\n background: url('/rewardsPage/banner_seasons.svg') no-repeat;\n background-size: cover;\n background-position: center;\n box-shadow: 0px 1px 0px 0px #ffffff1a inset;\n\n ", " {\n min-width: 628px;\n min-height: 178px;\n background-size: 147%;\n margin-bottom: 91px;\n }\n\n ", " {\n min-width: 320px;\n min-height: 124px;\n background-size: 147%;\n margin-bottom: 56px;\n }\n\n ", " {\n min-width: ", ";\n min-height: ", ";\n margin-bottom: ", ";\n border-radius: ", ";\n box-shadow: 0px ", " 0px 0px #ffffff1a inset;\n }\n"])), styles_1.mediaQuery.maxWidthTablet, styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(896), (0, _4k_1.adaptiveValueCalc)(215), (0, _4k_1.adaptiveValueCalc)(80), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(1));
|
|
17
|
-
var SeasonTitle = (0, styled_components_1.default)(_system_1.H2)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: 700;\n font-size: 3.6em;\n line-height: 1.44;\n text-align: center;\n color: ", ";\n\n ", " {\n font-weight: 600;\n font-size: 1.8em;\n line-height: 1.33;\n }\n\n ", " {\n font-size: ", ";\n }\n"], ["\n font-family: ", ";\n font-weight: 700;\n font-size: 3.6em;\n line-height: 1.44;\n text-align: center;\n color: ", ";\n\n ", " {\n font-weight: 600;\n font-size: 1.8em;\n line-height: 1.33;\n }\n\n ", " {\n font-size: ", ";\n }\n"])), vars_1.poppinsFontVarCss.css, function (_a) {
|
|
18
|
-
var theme = _a.theme;
|
|
19
|
-
return theme.colors.naturalWhite;
|
|
20
|
-
}, styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(36));
|
|
21
|
-
// Component
|
|
22
|
-
var SeasonsTab = function (_a) {
|
|
23
|
-
var title = _a.title;
|
|
24
|
-
return (React.createElement(StyledSeasons, null,
|
|
25
|
-
React.createElement(SeasonTitle, null, title !== null && title !== void 0 ? title : 'Seasons coming soon...')));
|
|
26
|
-
};
|
|
27
|
-
//Export
|
|
28
|
-
exports.default = SeasonsTab;
|
|
29
|
-
var templateObject_1, templateObject_2;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
2
|
-
declare const TaskExpTab: ({ taskTitle, taskDesc, ernExp, segmentsNumber, partDone, partReq, action, }: {
|
|
3
|
-
taskTitle?: string | null;
|
|
4
|
-
taskDesc: string | null;
|
|
5
|
-
ernExp: number;
|
|
6
|
-
segmentsNumber?: number;
|
|
7
|
-
partDone: number;
|
|
8
|
-
partReq: number;
|
|
9
|
-
action?: {
|
|
10
|
-
text: string;
|
|
11
|
-
onClick: MouseEventHandler;
|
|
12
|
-
};
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
14
|
-
export default TaskExpTab;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
11
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
13
|
-
var boxTransform_1 = __importDefault(require("@/styles/mixins/boxTransform"));
|
|
14
|
-
var rewardsButton_1 = __importDefault(require("@/components/rewards/rewardsButton"));
|
|
15
|
-
var _system_1 = require("@system");
|
|
16
|
-
var vars_1 = require("@/fonts/vars");
|
|
17
|
-
var prograssBar_1 = __importDefault(require("../prograssBar"));
|
|
18
|
-
// Styles
|
|
19
|
-
var StyledTaskExpTab = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n\n min-width: 528px;\n min-height: 214px;\n max-width: max-content;\n padding: 24px 32px;\n border-radius: 8px;\n background: ", ";\n\n ", " {\n min-width: 100%;\n min-height: 206px;\n }\n\n ", " {\n min-width: 320px;\n min-height: 182px;\n padding: 20px 24px;\n }\n\n .erned_exp {\n font-family: ", ";\n font-weight: 600;\n font-size: 1.8em;\n line-height: 1.44;\n color: ", ";\n\n ", " {\n font-size: 1.6em;\n line-height: 1.37;\n }\n }\n\n .exp_logo {\n width: 24px;\n height: 24px;\n\n ", " {\n width: 20px;\n height: 20px;\n }\n }\n\n .task_content {\n width: 100%;\n flex-grow: 1;\n flex-direction: column;\n gap: 24px;\n }\n\n .task_desc {\n font-family: ", ";\n width: 100%;\n text-align: left;\n\n font-weight: 400;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n\n ", " {\n font-size: 1.4em;\n line-height: 1.28;\n }\n }\n\n .task_progress {\n display: flex;\n gap: 8px;\n width: 100%;\n }\n\n .task_part_complete,\n .task_part_requried {\n font-family: ", ";\n font-weight: 500;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n\n ", " {\n font-size: 1.4em;\n line-height: 1.42;\n }\n }\n\n .task_part_requried {\n color: ", ";\n }\n\n .gap_8 {\n gap: 8px;\n }\n\n ", " {\n .gap_8 {\n gap: ", ";\n }\n\n gap: ", ";\n\n min-width: ", ";\n min-height: ", ";\n padding: ", " ", ";\n border-radius: ", ";\n\n .erned_exp {\n font-size: ", ";\n }\n\n .exp_logo {\n width: ", ";\n height: ", ";\n }\n\n .task_content {\n gap: ", ";\n }\n\n .task_desc {\n font-size: ", ";\n }\n\n .task_progress {\n gap: ", ";\n }\n\n .task_part_complete,\n .task_part_requried {\n font-size: ", ";\n }\n }\n"], ["\n ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n\n min-width: 528px;\n min-height: 214px;\n max-width: max-content;\n padding: 24px 32px;\n border-radius: 8px;\n background: ", ";\n\n ", " {\n min-width: 100%;\n min-height: 206px;\n }\n\n ", " {\n min-width: 320px;\n min-height: 182px;\n padding: 20px 24px;\n }\n\n .erned_exp {\n font-family: ", ";\n font-weight: 600;\n font-size: 1.8em;\n line-height: 1.44;\n color: ", ";\n\n ", " {\n font-size: 1.6em;\n line-height: 1.37;\n }\n }\n\n .exp_logo {\n width: 24px;\n height: 24px;\n\n ", " {\n width: 20px;\n height: 20px;\n }\n }\n\n .task_content {\n width: 100%;\n flex-grow: 1;\n flex-direction: column;\n gap: 24px;\n }\n\n .task_desc {\n font-family: ", ";\n width: 100%;\n text-align: left;\n\n font-weight: 400;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n\n ", " {\n font-size: 1.4em;\n line-height: 1.28;\n }\n }\n\n .task_progress {\n display: flex;\n gap: 8px;\n width: 100%;\n }\n\n .task_part_complete,\n .task_part_requried {\n font-family: ", ";\n font-weight: 500;\n font-size: 1.5em;\n line-height: 1.46;\n color: ", ";\n\n ", " {\n font-size: 1.4em;\n line-height: 1.42;\n }\n }\n\n .task_part_requried {\n color: ", ";\n }\n\n .gap_8 {\n gap: 8px;\n }\n\n ", " {\n .gap_8 {\n gap: ", ";\n }\n\n gap: ", ";\n\n min-width: ", ";\n min-height: ", ";\n padding: ", " ", ";\n border-radius: ", ";\n\n .erned_exp {\n font-size: ", ";\n }\n\n .exp_logo {\n width: ", ";\n height: ", ";\n }\n\n .task_content {\n gap: ", ";\n }\n\n .task_desc {\n font-size: ", ";\n }\n\n .task_progress {\n gap: ", ";\n }\n\n .task_part_complete,\n .task_part_requried {\n font-size: ", ";\n }\n }\n"])), boxTransform_1.default, function (_a) {
|
|
20
|
-
var theme = _a.theme;
|
|
21
|
-
return theme.colors.secondaryBg;
|
|
22
|
-
}, styles_1.mediaQuery.maxWidthTablet, styles_1.mediaQuery.mobile, vars_1.poppinsFontVarCss.css, function (_a) {
|
|
23
|
-
var theme = _a.theme;
|
|
24
|
-
return theme.colors.successTaskProgressBar;
|
|
25
|
-
}, styles_1.mediaQuery.mobile, styles_1.mediaQuery.mobile, vars_1.dmsansFontVarCss.css, function (_a) {
|
|
26
|
-
var theme = _a.theme;
|
|
27
|
-
return theme.colors.grayText;
|
|
28
|
-
}, styles_1.mediaQuery.mobile, vars_1.poppinsFontVarCss.css, function (_a) {
|
|
29
|
-
var theme = _a.theme;
|
|
30
|
-
return theme.colors.naturalWhite;
|
|
31
|
-
}, styles_1.mediaQuery.mobile, function (_a) {
|
|
32
|
-
var theme = _a.theme;
|
|
33
|
-
return theme.colors.grayText;
|
|
34
|
-
}, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(528), (0, _4k_1.adaptiveValueCalc)(214), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(15), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(15));
|
|
35
|
-
var TaskTitle = (0, styled_components_1.default)(_system_1.H5)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: ", ";\n\n font-weight: 600;\n font-size: 1.8em;\n line-height: 1.44;\n text-align: left;\n color: ", ";\n\n ", " {\n font-size: 1.6em;\n line-height: 1.37;\n }\n\n ", " {\n font-size: ", ";\n }\n"], ["\n font-family: ", ";\n\n font-weight: 600;\n font-size: 1.8em;\n line-height: 1.44;\n text-align: left;\n color: ", ";\n\n ", " {\n font-size: 1.6em;\n line-height: 1.37;\n }\n\n ", " {\n font-size: ", ";\n }\n"])), vars_1.poppinsFontVarCss.css, function (_a) {
|
|
36
|
-
var theme = _a.theme;
|
|
37
|
-
return theme.colors.naturalWhite;
|
|
38
|
-
}, styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(18));
|
|
39
|
-
// Component
|
|
40
|
-
var TaskExpTab = function (_a) {
|
|
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 (React.createElement(StyledTaskExpTab, null,
|
|
43
|
-
React.createElement(_system_1.Flex, { justifyContent: "space-between", width: "100%" },
|
|
44
|
-
React.createElement(TaskTitle, null, taskTitle !== null && taskTitle !== void 0 ? taskTitle : 'Another task'),
|
|
45
|
-
React.createElement(_system_1.Flex, { className: 'gap_8' },
|
|
46
|
-
React.createElement("p", { className: "erned_exp" },
|
|
47
|
-
segmentsNumber !== 1 ? "from ".concat(ernExp) : ernExp,
|
|
48
|
-
" XP"),
|
|
49
|
-
React.createElement("img", { src: '/rewardsPage/XP_logo.svg', alt: "Experience logo", className: "exp_logo" }))),
|
|
50
|
-
React.createElement(_system_1.Flex, { justifyContent: segmentsNumber ? 'space-between' : 'center', className: "task_content" },
|
|
51
|
-
React.createElement("p", { className: "task_desc" }, taskDesc !== null && taskDesc !== void 0 ? taskDesc : 'Another task text goes here.'),
|
|
52
|
-
segmentsNumber ? (React.createElement(_system_1.Flex, { className: 'gap_8', flexDirection: 'column' },
|
|
53
|
-
React.createElement(_system_1.Flex, { className: 'gap_8', width: "100%" }, Array.from(Array(segmentsNumber)).map(function (_, index) {
|
|
54
|
-
return (React.createElement(prograssBar_1.default, { key: index, height: 12, percent: partDone > index ? 100 : 0 }));
|
|
55
|
-
})),
|
|
56
|
-
React.createElement(_system_1.Flex, { justifyContent: "space-between", width: "100%" },
|
|
57
|
-
React.createElement("p", { className: "task_part_complete" }, "0"),
|
|
58
|
-
React.createElement("p", { className: "task_part_requried" }, partReq)))) : null),
|
|
59
|
-
action && (React.createElement(_system_1.Flex, { justifyContent: 'center' },
|
|
60
|
-
React.createElement(rewardsButton_1.default, { onClick: action.onClick }, action.text)))));
|
|
61
|
-
};
|
|
62
|
-
// Export
|
|
63
|
-
exports.default = TaskExpTab;
|
|
64
|
-
var templateObject_1, templateObject_2;
|