@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
|
@@ -85,9 +85,9 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
85
85
|
var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
86
86
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
87
87
|
var utils_1 = require("@ludo.ninja/utils");
|
|
88
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
88
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
89
89
|
var useFetchFindAllTopEntitiesByName_1 = require("@/api/server-search/queries/useFetchFindAllTopEntitiesByName");
|
|
90
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
90
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
91
91
|
var searchCloseMoreButtons_1 = __importDefault(require("@/components/search/searchCloseMoreButtons"));
|
|
92
92
|
var searchSuggestions_1 = __importDefault(require("@/components/search/searchSuggestions"));
|
|
93
93
|
var screen_1 = require("@/utils/screen");
|
|
@@ -134,107 +134,109 @@ var SearchInputContainer = function (_a) {
|
|
|
134
134
|
var SearchContainer = isMobileOpen
|
|
135
135
|
? SMobileSearchContainer
|
|
136
136
|
: react_1.default.Fragment;
|
|
137
|
-
var searchSuggestion = (
|
|
138
|
-
return (
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
137
|
+
var searchSuggestion = (<searchSuggestions_1.default isLoading={loading || isDebounceLoading} searchTerm={debouncedValue} assets={(topEntities === null || topEntities === void 0 ? void 0 : topEntities.assets) || []} profiles={(topEntities === null || topEntities === void 0 ? void 0 : topEntities.profiles) || []} collections={(topEntities === null || topEntities === void 0 ? void 0 : topEntities.collections) || []}/>);
|
|
138
|
+
return (<Container>
|
|
139
|
+
<SearchContainer>
|
|
140
|
+
{isMobileOpen && (<back_svg_1.default onClick={function () {
|
|
141
|
+
setIsMobileOpen(false);
|
|
142
|
+
(0, utils_1.rootRemoveOverflow)();
|
|
143
|
+
if (isClearOnBlur) {
|
|
144
|
+
setSearchValue('');
|
|
145
|
+
clearTopEntitiesState();
|
|
146
|
+
}
|
|
147
|
+
}}/>)}
|
|
148
|
+
{initializeInputComponent({
|
|
149
|
+
isMobileOpen: isMobileOpen,
|
|
150
|
+
mobileOrDesktopPlaceHolder: isMobile
|
|
151
|
+
? 'Search'
|
|
152
|
+
: 'Search for NFTs, collections, profiles, ENS and blockchain addresses',
|
|
153
|
+
isSearchFocused: isSearchFocused,
|
|
154
|
+
searchValue: searchValue,
|
|
155
|
+
inputRef: inputSearch,
|
|
156
|
+
handle: {
|
|
157
|
+
focus: function () {
|
|
158
|
+
if (isMobileOpen) {
|
|
159
|
+
return;
|
|
146
160
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
if (isMobile) {
|
|
178
|
-
(0, utils_1.rootRemoveOverflow)();
|
|
179
|
-
return;
|
|
161
|
+
if (isMobile) {
|
|
162
|
+
setIsMobileOpen(true);
|
|
163
|
+
(0, utils_1.rootAddOverflow)();
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
openOverLay();
|
|
167
|
+
setSearchFocused(true);
|
|
168
|
+
onFocusHandler === null || onFocusHandler === void 0 ? void 0 : onFocusHandler(true);
|
|
169
|
+
},
|
|
170
|
+
change: function (e) {
|
|
171
|
+
setSearchValue(e.target.value);
|
|
172
|
+
},
|
|
173
|
+
blur: function () {
|
|
174
|
+
if (isMobileOpen) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
if (isMobile) {
|
|
178
|
+
(0, utils_1.rootRemoveOverflow)();
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
setTimeout(function () {
|
|
182
|
+
var _a;
|
|
183
|
+
(_a = inputSearch.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
184
|
+
setSearchFocused(false);
|
|
185
|
+
onFocusHandler === null || onFocusHandler === void 0 ? void 0 : onFocusHandler(false);
|
|
186
|
+
closeOverlay();
|
|
187
|
+
if (isClearOnBlur) {
|
|
188
|
+
setSearchValue('');
|
|
189
|
+
clearTopEntitiesState();
|
|
180
190
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
191
|
+
}, 100);
|
|
192
|
+
},
|
|
193
|
+
keyPress: function (e) {
|
|
194
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
195
|
+
var value, newSearchValue;
|
|
196
|
+
return __generator(this, function (_a) {
|
|
197
|
+
switch (_a.label) {
|
|
198
|
+
case 0:
|
|
199
|
+
if (!(e.key === enterKey)) return [3 /*break*/, 4];
|
|
200
|
+
value = e.target.value;
|
|
201
|
+
newSearchValue = value.length ? searchValue : '';
|
|
202
|
+
if (!(router.pathname.includes('/search/nfts') ||
|
|
203
|
+
router.pathname.includes('/search/collections') ||
|
|
204
|
+
router.pathname.includes('/search/profiles'))) return [3 /*break*/, 2];
|
|
205
|
+
return [4 /*yield*/, router.replace({
|
|
206
|
+
query: __assign(__assign({}, router.query), { term: newSearchValue }),
|
|
207
|
+
}, undefined, { shallow: true })];
|
|
208
|
+
case 1:
|
|
209
|
+
_a.sent();
|
|
210
|
+
setSearchFocused(false);
|
|
211
|
+
onFocusHandler === null || onFocusHandler === void 0 ? void 0 : onFocusHandler(false);
|
|
212
|
+
closeOverlay();
|
|
213
|
+
return [3 /*break*/, 4];
|
|
214
|
+
case 2: return [4 /*yield*/, router.push({
|
|
215
|
+
pathname: '/search/nfts',
|
|
216
|
+
query: { term: newSearchValue },
|
|
217
|
+
})];
|
|
218
|
+
case 3:
|
|
219
|
+
_a.sent();
|
|
220
|
+
// setSearchFocused(false);
|
|
221
|
+
// onFocusHandler?.(false);
|
|
222
|
+
closeOverlay();
|
|
223
|
+
_a.label = 4;
|
|
224
|
+
case 4: return [2 /*return*/];
|
|
190
225
|
}
|
|
191
|
-
}, 100);
|
|
192
|
-
},
|
|
193
|
-
keyPress: function (e) {
|
|
194
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
195
|
-
var value, newSearchValue;
|
|
196
|
-
return __generator(this, function (_a) {
|
|
197
|
-
switch (_a.label) {
|
|
198
|
-
case 0:
|
|
199
|
-
if (!(e.key === enterKey)) return [3 /*break*/, 4];
|
|
200
|
-
value = e.target.value;
|
|
201
|
-
newSearchValue = value.length ? searchValue : '';
|
|
202
|
-
if (!(router.pathname.includes('/search/nfts') ||
|
|
203
|
-
router.pathname.includes('/search/collections') ||
|
|
204
|
-
router.pathname.includes('/search/profiles'))) return [3 /*break*/, 2];
|
|
205
|
-
return [4 /*yield*/, router.replace({
|
|
206
|
-
query: __assign(__assign({}, router.query), { term: newSearchValue }),
|
|
207
|
-
}, undefined, { shallow: true })];
|
|
208
|
-
case 1:
|
|
209
|
-
_a.sent();
|
|
210
|
-
setSearchFocused(false);
|
|
211
|
-
onFocusHandler === null || onFocusHandler === void 0 ? void 0 : onFocusHandler(false);
|
|
212
|
-
closeOverlay();
|
|
213
|
-
return [3 /*break*/, 4];
|
|
214
|
-
case 2: return [4 /*yield*/, router.push({
|
|
215
|
-
pathname: '/search/nfts',
|
|
216
|
-
query: { term: newSearchValue },
|
|
217
|
-
})];
|
|
218
|
-
case 3:
|
|
219
|
-
_a.sent();
|
|
220
|
-
// setSearchFocused(false);
|
|
221
|
-
// onFocusHandler?.(false);
|
|
222
|
-
closeOverlay();
|
|
223
|
-
_a.label = 4;
|
|
224
|
-
case 4: return [2 /*return*/];
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
226
|
});
|
|
228
|
-
}
|
|
227
|
+
});
|
|
229
228
|
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
229
|
+
},
|
|
230
|
+
searchSuggestion: !isMobile && searchValue && (<div className="suggestionBar">{searchSuggestion}</div>),
|
|
231
|
+
searchCloseButton: (<searchCloseMoreButtons_1.default isNeedToShow={Boolean(searchValue.length)} position={{
|
|
232
|
+
top: '50%',
|
|
233
|
+
right: '0',
|
|
234
|
+
transform: 'translate(-50%, -50%)',
|
|
235
|
+
}} clearSearchValue={setSearchValue}/>),
|
|
236
|
+
})}
|
|
237
|
+
</SearchContainer>
|
|
238
|
+
{isMobileOpen && searchValue && (<SSuggestions>{searchSuggestion}</SSuggestions>)}
|
|
239
|
+
</Container>);
|
|
238
240
|
};
|
|
239
241
|
exports.SearchInputContainer = SearchInputContainer;
|
|
240
242
|
var show = (0, styled_components_1.keyframes)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"], ["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"])));
|
|
@@ -33,7 +33,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
33
33
|
var react_1 = __importDefault(require("react"));
|
|
34
34
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
35
35
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
36
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
36
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
37
37
|
var colors_1 = require("@/styles/colors");
|
|
38
38
|
var z_indexes_1 = require("@/styles/mixins/z-indexes");
|
|
39
39
|
var typography_1 = require("@/styles/typography");
|
|
@@ -66,21 +66,23 @@ var StyledInput = styled_components_1.default.input(templateObject_4 || (templat
|
|
|
66
66
|
var StyledSearchIcon = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: absolute;\n top: 18px;\n bottom: 18px;\n left: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 1;\n\n width: 24px;\n height: 24px;\n\n svg path {\n stroke: ", ";\n }\n\n @media (max-width: 767px) {\n left: 16px;\n }\n\n ", " {\n top: ", ";\n bottom: ", ";\n left: ", ";\n\n width: ", ";\n height: ", ";\n }\n"], ["\n position: absolute;\n top: 18px;\n bottom: 18px;\n left: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 1;\n\n width: 24px;\n height: 24px;\n\n svg path {\n stroke: ", ";\n }\n\n @media (max-width: 767px) {\n left: 16px;\n }\n\n ", " {\n top: ", ";\n bottom: ", ";\n left: ", ";\n\n width: ", ";\n height: ", ";\n }\n"])), function (props) { return (props.isActive ? colors_1.BorderColorLight : colors_1.AccentColor); }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(30), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24));
|
|
67
67
|
var SearchGlassIconResize = function () {
|
|
68
68
|
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
69
|
-
return (
|
|
69
|
+
return (<search_svg_1.default style={(0, scale_1.getAdaptiveScale)({
|
|
70
70
|
windowDimensions: windowDimensions,
|
|
71
71
|
currentSize: 1,
|
|
72
|
-
})
|
|
72
|
+
})}/>);
|
|
73
73
|
};
|
|
74
74
|
// Components
|
|
75
|
-
var Search = function () { return (
|
|
75
|
+
var Search = function () { return (<SearchInputContainer_1.SearchInputContainer isClearOnBlur initializeInputComponent={function (_a) {
|
|
76
76
|
var searchSuggestion = _a.searchSuggestion, handle = _a.handle, inputRef = _a.inputRef, searchValue = _a.searchValue, isSearchFocused = _a.isSearchFocused, mobileOrDesktopPlaceHolder = _a.mobileOrDesktopPlaceHolder, searchCloseButton = _a.searchCloseButton, isMobileOpen = _a.isMobileOpen;
|
|
77
|
-
return (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
return (<StyledSearch isActive={Boolean(searchValue.length)} isFocused={isSearchFocused} isMobileOpen={isMobileOpen}>
|
|
78
|
+
<StyledSearchIcon isActive={Boolean(searchValue.length)}>
|
|
79
|
+
<SearchGlassIconResize />
|
|
80
|
+
</StyledSearchIcon>
|
|
81
|
+
<StyledInput isMobileOpen={isMobileOpen} isActive={Boolean(searchValue.length)} tabIndex={0} autoComplete={'off'} onChange={handle.change} ref={inputRef} onFocus={handle.focus} onBlur={handle.blur} onKeyPress={handle.keyPress} value={searchValue} type={'text'} placeholder={mobileOrDesktopPlaceHolder}/>
|
|
82
|
+
{searchCloseButton}
|
|
83
|
+
{searchSuggestion}
|
|
84
|
+
</StyledSearch>);
|
|
85
|
+
}}/>); };
|
|
84
86
|
// Export
|
|
85
87
|
exports.default = Search;
|
|
86
88
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
@@ -64,15 +64,19 @@ var SearchCategories = function () {
|
|
|
64
64
|
var renderCategories = function () {
|
|
65
65
|
return data.map(function (category, indx) {
|
|
66
66
|
if (category.id !== categoryValue.id) {
|
|
67
|
-
return (
|
|
67
|
+
return (<span key={category.id} onClick={function (e) { return handleCategory(e, indx); }}>
|
|
68
|
+
{category.label}
|
|
69
|
+
</span>);
|
|
68
70
|
}
|
|
69
71
|
});
|
|
70
72
|
};
|
|
71
|
-
return (
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
return (<StyledSearchCategories>
|
|
74
|
+
<span className={'caption'}>{categoryValue.label}</span>
|
|
75
|
+
<div className={'arrow_icon'}>
|
|
76
|
+
<span className={'icon'}/>
|
|
77
|
+
</div>
|
|
78
|
+
<div className={'dropdown'}>{renderCategories()}</div>
|
|
79
|
+
</StyledSearchCategories>);
|
|
76
80
|
};
|
|
77
81
|
// Export
|
|
78
82
|
exports.default = SearchCategories;
|
|
@@ -22,7 +22,7 @@ var react_1 = __importDefault(require("react"));
|
|
|
22
22
|
var router_1 = require("next/router");
|
|
23
23
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
24
24
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
25
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
25
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
26
26
|
var scale_1 = require("@/utils/adaptive/scale");
|
|
27
27
|
var screen_1 = require("@/utils/screen");
|
|
28
28
|
var close_svg_1 = __importDefault(require("@/public/search/close.svg"));
|
|
@@ -30,24 +30,27 @@ var StyledSearchCloseMoreButtons = styled_components_1.default.div(templateObjec
|
|
|
30
30
|
var StyledCloseIcon = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n z-index: 1;\n padding: 8px 6px;\n\n ", " {\n display: flex;\n align-items: center;\n padding: ", " ", ";\n }\n"], ["\n cursor: pointer;\n z-index: 1;\n padding: 8px 6px;\n\n ", " {\n display: flex;\n align-items: center;\n padding: ", " ", ";\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(6));
|
|
31
31
|
var SearchCloseIconResize = function () {
|
|
32
32
|
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
33
|
-
return (
|
|
33
|
+
return (<close_svg_1.default style={(0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 })}/>);
|
|
34
34
|
};
|
|
35
35
|
// Components
|
|
36
36
|
var SearchCloseMoreButtons = function (_a) {
|
|
37
37
|
var isNeedToShow = _a.isNeedToShow, position = _a.position, clearSearchValue = _a.clearSearchValue;
|
|
38
38
|
var router = (0, router_1.useRouter)();
|
|
39
39
|
var term = router.query.term;
|
|
40
|
-
return (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
40
|
+
return (<StyledSearchCloseMoreButtons position={position}>
|
|
41
|
+
{isNeedToShow ? (<StyledCloseIcon onClick={function () {
|
|
42
|
+
if (term) {
|
|
43
|
+
router
|
|
44
|
+
.push({
|
|
45
|
+
query: __assign(__assign({}, router.query), { term: [] }),
|
|
46
|
+
})
|
|
47
|
+
.then(function () { return clearSearchValue(''); });
|
|
48
|
+
}
|
|
49
|
+
clearSearchValue('');
|
|
50
|
+
}}>
|
|
51
|
+
<SearchCloseIconResize />
|
|
52
|
+
</StyledCloseIcon>) : null}
|
|
53
|
+
</StyledSearchCloseMoreButtons>);
|
|
51
54
|
};
|
|
52
55
|
// Export
|
|
53
56
|
exports.default = SearchCloseMoreButtons;
|
|
@@ -11,7 +11,7 @@ var react_1 = __importDefault(require("react"));
|
|
|
11
11
|
var react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
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 colors_1 = require("@/styles/colors");
|
|
16
16
|
var typography_1 = require("@/styles/typography");
|
|
17
17
|
// Styles
|
|
@@ -22,9 +22,12 @@ var SearchResultCaption = function (_a) {
|
|
|
22
22
|
var searchText = searchQuery && searchQuery.length
|
|
23
23
|
? "search results for \"".concat(searchQuery, "\"")
|
|
24
24
|
: 'search results';
|
|
25
|
-
return (
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
return (<StyledSearchResultCaption>
|
|
26
|
+
{isLoading ? (<react_loading_skeleton_1.default className="skeleton-caption-search"/>) : (<p className={'caption'}>
|
|
27
|
+
<strong>{nftCounter.toLocaleString('ru-RU')}</strong>
|
|
28
|
+
{searchText}
|
|
29
|
+
</p>)}
|
|
30
|
+
</StyledSearchResultCaption>);
|
|
28
31
|
};
|
|
29
32
|
// Export
|
|
30
33
|
exports.default = SearchResultCaption;
|
|
@@ -32,7 +32,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
33
|
var react_1 = __importStar(require("react"));
|
|
34
34
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
35
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
35
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
36
36
|
var colors_1 = require("@/styles/colors");
|
|
37
37
|
var applyResetBtns_1 = __importDefault(require("@/components/filters/applyResetBtns"));
|
|
38
38
|
var galleriesFiltersForm_1 = __importDefault(require("@/components/filters/galleriesFiltersForm"));
|
|
@@ -50,20 +50,36 @@ var SearchSelectsGalleries = function (_a) {
|
|
|
50
50
|
openOverLay: state.openOverLay,
|
|
51
51
|
closeOverlay: state.closeOverlay,
|
|
52
52
|
}); }), openOverLay = _e.openOverLay, closeOverlay = _e.closeOverlay;
|
|
53
|
-
return (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
53
|
+
return (<StyledSearchSelectsNfts>
|
|
54
|
+
{/*<div className={'select selectType'}>*/}
|
|
55
|
+
{/* <BasicSelect options={selectTypeSearchResult} />*/}
|
|
56
|
+
{/*</div>*/}
|
|
57
|
+
{/*<div className={'select selectBlockchain'}>*/}
|
|
58
|
+
{/* <BasicSelect options={selectBlockchainSearchResult} />*/}
|
|
59
|
+
{/*</div>*/}
|
|
60
|
+
{/*<div className={'select selectCategory'}>*/}
|
|
61
|
+
{/* <BasicSelect options={selectBlockchainCategoryResult} />*/}
|
|
62
|
+
{/*</div>*/}
|
|
63
|
+
{/*<div className={'select selectTime'}>*/}
|
|
64
|
+
{/* <BasicSelect options={selectBlockchainTimeResult} />*/}
|
|
65
|
+
{/*</div>*/}
|
|
66
|
+
<div className={'filterButton'}>
|
|
67
|
+
<button onClick={function () {
|
|
68
|
+
openOverLay();
|
|
69
|
+
setSidebarOpen(true);
|
|
70
|
+
}}>
|
|
71
|
+
Filters
|
|
72
|
+
{selectedFiltersCount ? (<span className={'counter'}>{selectedFiltersCount}</span>) : null}
|
|
73
|
+
</button>
|
|
74
|
+
</div>
|
|
75
|
+
<sidebarFilters_1.default isOpen={isSideBarOpen} handleClose={function () {
|
|
76
|
+
closeOverlay();
|
|
77
|
+
setSidebarOpen(false);
|
|
78
|
+
}}>
|
|
79
|
+
<galleriesFiltersForm_1.default handleFiltersCount={setSelectedFiltersCount} handleNeedShowButtons={setNeedShowButtons} selectTypeSearchResult={selectTypeSearchResult} selectBlockchainSearchResult={selectBlockchainSearchResult} selectBlockchainCategoryResult={selectBlockchainCategoryResult} selectBlockchainTimeResult={selectBlockchainTimeResult}/>
|
|
80
|
+
{isNeedShowButtons ? (<applyResetBtns_1.default onReset={function () { return null; }} onApply={function () { return null; }}/>) : null}
|
|
81
|
+
</sidebarFilters_1.default>
|
|
82
|
+
</StyledSearchSelectsNfts>);
|
|
67
83
|
};
|
|
68
84
|
// Export
|
|
69
85
|
exports.default = SearchSelectsGalleries;
|
|
@@ -32,7 +32,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
33
|
var react_1 = __importStar(require("react"));
|
|
34
34
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
35
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
35
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
36
36
|
var colors_1 = require("@/styles/colors");
|
|
37
37
|
var applyResetBtns_1 = __importDefault(require("@/components/filters/applyResetBtns"));
|
|
38
38
|
var setsFiltersForm_1 = __importDefault(require("@/components/filters/setsFiltersForm"));
|
|
@@ -49,20 +49,33 @@ var SearchSelectsSets = function (_a) {
|
|
|
49
49
|
openOverLay: state.openOverLay,
|
|
50
50
|
closeOverlay: state.closeOverlay,
|
|
51
51
|
}); }), openOverLay = _e.openOverLay, closeOverlay = _e.closeOverlay;
|
|
52
|
-
return (
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
52
|
+
return (<StyledSearchSelectsNfts>
|
|
53
|
+
{/*<div className={'select selectType'}>*/}
|
|
54
|
+
{/* <BasicSelect options={selectTypeSearchResult} />*/}
|
|
55
|
+
{/*</div>*/}
|
|
56
|
+
{/*<div className={'select selectCategory'}>*/}
|
|
57
|
+
{/* <BasicSelect options={selectBlockchainCategoryResult} />*/}
|
|
58
|
+
{/*</div>*/}
|
|
59
|
+
{/*<div className={'select selectTime'}>*/}
|
|
60
|
+
{/* <BasicSelect options={selectBlockchainTimeResult} />*/}
|
|
61
|
+
{/*</div>*/}
|
|
62
|
+
<div className={'filterButton'}>
|
|
63
|
+
<button onClick={function () {
|
|
64
|
+
openOverLay();
|
|
65
|
+
setSidebarOpen(true);
|
|
66
|
+
}}>
|
|
67
|
+
Filters
|
|
68
|
+
{selectedFiltersCount ? (<span className={'counter'}>{selectedFiltersCount}</span>) : null}
|
|
69
|
+
</button>
|
|
70
|
+
</div>
|
|
71
|
+
<sidebarFilters_1.default isOpen={isSideBarOpen} handleClose={function () {
|
|
72
|
+
closeOverlay();
|
|
73
|
+
setSidebarOpen(false);
|
|
74
|
+
}}>
|
|
75
|
+
<setsFiltersForm_1.default handleFiltersCount={setSelectedFiltersCount} handleNeedShowButtons={setNeedShowButtons} selectTypeSearchResult={selectTypeSearchResult} selectBlockchainCategoryResult={selectBlockchainCategoryResult} selectBlockchainTimeResult={selectBlockchainTimeResult}/>
|
|
76
|
+
{isNeedShowButtons ? (<applyResetBtns_1.default onApply={function () { return null; }} onReset={function () { return null; }}/>) : null}
|
|
77
|
+
</sidebarFilters_1.default>
|
|
78
|
+
</StyledSearchSelectsNfts>);
|
|
66
79
|
};
|
|
67
80
|
// Export
|
|
68
81
|
exports.default = SearchSelectsSets;
|
|
@@ -33,7 +33,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
33
33
|
var react_1 = __importDefault(require("react"));
|
|
34
34
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
35
35
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
36
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
36
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
37
37
|
var typography_1 = require("@/styles/typography");
|
|
38
38
|
var SearchInputContainer_1 = require("@/components/search/SearchInputContainer");
|
|
39
39
|
var scale_1 = require("@/utils/adaptive/scale");
|
|
@@ -65,20 +65,22 @@ var StyledSearchIcon = styled_components_1.default.div(templateObject_4 || (temp
|
|
|
65
65
|
}, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(16));
|
|
66
66
|
var SearchGlassIconResize = function () {
|
|
67
67
|
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
68
|
-
return (
|
|
68
|
+
return (<search_svg_1.default style={(0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 })}/>);
|
|
69
69
|
};
|
|
70
70
|
// Components
|
|
71
71
|
var SearchSimpleInput = function (_a) {
|
|
72
72
|
var onFocusHandler = _a.onFocusHandler;
|
|
73
|
-
return (
|
|
73
|
+
return (<SearchInputContainer_1.SearchInputContainer onFocusHandler={onFocusHandler} initializeInputComponent={function (_a) {
|
|
74
74
|
var searchValue = _a.searchValue, handle = _a.handle, inputRef = _a.inputRef, isSearchFocused = _a.isSearchFocused, mobileOrDesktopPlaceHolder = _a.mobileOrDesktopPlaceHolder, searchSuggestion = _a.searchSuggestion, isMobileOpen = _a.isMobileOpen, searchCloseButton = _a.searchCloseButton;
|
|
75
|
-
return (
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
return (<StyledSearchSimpleInput isMobileOpen={isMobileOpen}>
|
|
76
|
+
<StyledSearchIcon isActive={Boolean(searchValue.length)}>
|
|
77
|
+
<SearchGlassIconResize />
|
|
78
|
+
</StyledSearchIcon>
|
|
79
|
+
<StyledInput isActive={Boolean(searchValue.length) && isSearchFocused} autoComplete={'off'} onChange={handle.change} ref={inputRef} tabIndex={1} onFocus={handle.focus} onBlur={handle.blur} onKeyPress={handle.keyPress} value={searchValue} type={'text'} placeholder={mobileOrDesktopPlaceHolder}/>
|
|
80
|
+
{searchCloseButton}
|
|
81
|
+
{isSearchFocused && searchSuggestion}
|
|
82
|
+
</StyledSearchSimpleInput>);
|
|
83
|
+
}}/>);
|
|
82
84
|
};
|
|
83
85
|
// Export
|
|
84
86
|
exports.default = SearchSimpleInput;
|