@ludo.ninja/components 2.3.36 → 2.3.37
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/api/server-assets/queries/useFetchAssets/index.js +2 -2
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +2 -2
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +2 -2
- package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +2 -2
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +1 -1
- package/build/api/server-galleries/mutations/useDeleteGallery/index.js +2 -2
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +2 -2
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletTon/index.js +2 -2
- package/build/api/server-identities/mutations/useFollowProfile/index.js +2 -2
- package/build/api/server-identities/mutations/useInviteCode/index.js +2 -2
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +2 -2
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +2 -2
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +2 -2
- package/build/api/server-identities/queries/useFetchProfile/index.js +3 -3
- package/build/api/server-medias/queries/useFetchUserPic/index.js +1 -1
- package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.js +2 -2
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +2 -2
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +2 -2
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +2 -2
- package/build/api/server-opportunities/queries/useGetOpportunities.js +3 -3
- package/build/api/server-preferences/mutations/useSaveUserExpectations/index.js +2 -2
- package/build/api/server-preferences/mutations/useSaveUserInterests/index.js +2 -2
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +2 -2
- package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +1 -1
- package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchAllCreations/index.js +1 -1
- package/build/api/server-search/queries/useFetchCollections/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchCollections/index.js +4 -4
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +3 -3
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +1 -1
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.js +2 -2
- package/build/api/server-search/queries/useFindCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindCreations/index.js +3 -3
- package/build/api/server-search/queries/useFindUserCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindUserCreations/index.js +2 -2
- package/build/api/server-search/queries/useFindUserLudoCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindUserLudoCreations/index.js +2 -2
- package/build/api/subscriptions/SubscriberInviteNotification.js +4 -4
- package/build/api/subscriptions/SubscriberNotifications.js +2 -2
- package/build/api/subscriptions/SubscriberOpportunityNotification.js +4 -4
- package/build/api/subscriptions/SubscriptionNotificationSPA.js +4 -4
- package/build/components/Page404/Page404SPA.js +1 -1
- package/build/components/Page404/index.js +3 -3
- package/build/components/Page500/index.d.ts +2 -0
- package/build/components/Page500/index.js +87 -0
- package/build/components/assetPage/assetLikes/index.d.ts +6 -0
- package/build/components/assetPage/assetLikes/index.js +58 -0
- package/build/components/assetPage/assetNft/index.d.ts +4 -0
- package/build/components/assetPage/assetNft/index.js +37 -0
- package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +5 -0
- package/build/components/assetPage/audioVideoPlayer/Duration.js +22 -0
- package/build/components/assetPage/audioVideoPlayer/index.d.ts +96 -0
- package/build/components/assetPage/audioVideoPlayer/index.js +308 -0
- package/build/components/assetPage/category/index.d.ts +4 -0
- package/build/components/assetPage/category/index.js +58 -0
- package/build/components/assetPage/index.d.ts +5 -0
- package/build/components/assetPage/index.js +13 -0
- package/build/components/assetPage/information/index.d.ts +4 -0
- package/build/components/assetPage/information/index.js +114 -0
- package/build/components/assetPage/marketPlaces/index.d.ts +4 -0
- package/build/components/assetPage/marketPlaces/index.js +57 -0
- package/build/components/assetPage/media/AssetImage/index.d.ts +8 -0
- package/build/components/assetPage/media/AssetImage/index.js +187 -0
- package/build/components/assetPage/moreDropDown/index.d.ts +10 -0
- package/build/components/assetPage/moreDropDown/index.js +152 -0
- package/build/components/assetPage/properties/index.d.ts +4 -0
- package/build/components/assetPage/properties/index.js +42 -0
- package/build/components/assetPage/slider/store.d.ts +8 -0
- package/build/components/assetPage/slider/store.js +16 -0
- package/build/components/assetPage/viewer3D/index.d.ts +7 -0
- package/build/components/assetPage/viewer3D/index.js +124 -0
- package/build/components/base/Meta/index.js +1 -1
- package/build/components/base/PageHead/index.d.ts +8 -0
- package/build/components/base/PageHead/index.js +13 -0
- package/build/components/base/UserStreak/index.js +3 -3
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +28 -0
- package/build/components/gallery/add/addCreationToGallery/index.d.ts +2 -0
- package/build/components/gallery/add/addCreationToGallery/index.js +48 -0
- package/build/components/headers/components/headerExperienceLabel/index.js +4 -4
- package/build/components/headers/components/headerStreak/index.js +2 -2
- package/build/components/headers/components/headerUserPic/index.js +2 -2
- package/build/components/headers/header/index.js +7 -7
- package/build/components/headers/headerSearch/index.js +8 -8
- package/build/components/headers/headerSimple/index.d.ts +2 -0
- package/build/components/headers/headerSimple/index.js +78 -0
- package/build/components/linkTabs/index.d.ts +8 -0
- package/build/components/linkTabs/index.js +51 -0
- package/build/components/linkTabs/linkTab/index.d.ts +9 -0
- package/build/components/linkTabs/linkTab/index.js +74 -0
- package/build/components/myWallets/index.d.ts +9 -0
- package/build/components/myWallets/index.js +37 -0
- package/build/components/myWallets/myWalletItem/index.d.ts +10 -0
- package/build/components/myWallets/myWalletItem/index.js +82 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +9 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +21 -0
- package/build/components/profile/profileSkeleton/index.d.ts +4 -0
- package/build/components/profile/profileSkeleton/index.js +75 -0
- package/build/components/search/SearchInputContainer.js +9 -9
- package/build/components/search/searchCloseMoreButtons/index.js +4 -4
- package/build/components/search/searchSimpleInput/index.js +7 -7
- package/build/components/search/searchSuggestions/index.d.ts +1 -1
- package/build/components/search/searchSuggestions/index.js +10 -10
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +3 -3
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +4 -4
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +4 -4
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +3 -3
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.d.ts +5 -0
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +55 -0
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +10 -0
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +60 -0
- package/build/components/searchFiltersConnector/filters/index.d.ts +11 -0
- package/build/components/searchFiltersConnector/filters/index.js +158 -0
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +5 -0
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +25 -0
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +9 -0
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +53 -0
- package/build/components/searchFiltersConnector/index.d.ts +10 -0
- package/build/components/searchFiltersConnector/index.js +116 -0
- package/build/components/shareDialog/index.d.ts +34 -0
- package/build/components/shareDialog/index.js +92 -0
- package/build/components/sidebar/data.d.ts +6 -0
- package/build/components/sidebar/data.js +121 -0
- package/build/components/sidebar/icons.d.ts +9 -0
- package/build/components/sidebar/icons.js +22 -0
- package/build/components/sidebar/index.d.ts +2 -0
- package/build/components/sidebar/index.js +135 -0
- package/build/components/sidebar/initializer.d.ts +1 -0
- package/build/components/sidebar/initializer.js +36 -0
- package/build/components/sidebar/sidebarFilters/index.d.ts +7 -0
- package/build/components/sidebar/sidebarFilters/index.js +51 -0
- package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +2 -0
- package/build/components/sidebar/sidebarInviteCodeLabel/index.js +49 -0
- package/build/components/sidebar/sidebarSpa.d.ts +10 -0
- package/build/components/sidebar/sidebarSpa.js +134 -0
- package/build/components/toTopBtn/index.js +7 -7
- package/build/dto/AssetEntity/index.d.ts +63 -0
- package/build/dto/AssetEntity/index.js +208 -0
- package/build/dto/AssetEntity/interface.d.ts +39 -0
- package/build/dto/AssetEntity/interface.js +2 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.js +32 -0
- package/build/dto/AssetEntity/views/AssetImage/index.d.ts +12 -0
- package/build/dto/AssetEntity/views/AssetImage/index.js +44 -0
- package/build/dto/AssetEntity/views/AssetObject/index.d.ts +13 -0
- package/build/dto/AssetEntity/views/AssetObject/index.js +64 -0
- package/build/dto/AssetEntity/views/AssetOther/index.d.ts +13 -0
- package/build/dto/AssetEntity/views/AssetOther/index.js +47 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +12 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +44 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.js +32 -0
- package/build/dto/AssetEntity/views/index.d.ts +6 -0
- package/build/dto/AssetEntity/views/index.js +16 -0
- package/build/dto/AssetSearchEntity/index.d.ts +60 -0
- package/build/dto/AssetSearchEntity/index.js +164 -0
- package/build/dto/AssetSearchEntity/interface.d.ts +36 -0
- package/build/dto/AssetSearchEntity/interface.js +2 -0
- package/build/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
- package/build/dto/Collection/CollectionCreationEntity/index.js +173 -0
- package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
- package/build/dto/Collection/CollectionCreationEntity/interface.js +2 -0
- package/build/dto/Collection/CollectionEntity/index.d.ts +32 -0
- package/build/dto/Collection/CollectionEntity/index.js +82 -0
- package/build/dto/Collection/CollectionEntity/interface.d.ts +16 -0
- package/build/dto/Collection/CollectionEntity/interface.js +2 -0
- package/build/dto/CreationEntity/index.d.ts +49 -0
- package/build/dto/CreationEntity/index.js +178 -0
- package/build/dto/CreationEntity/interface.d.ts +30 -0
- package/build/dto/CreationEntity/interface.js +2 -0
- package/build/dto/GalleryEntityV2/index.d.ts +32 -0
- package/build/dto/GalleryEntityV2/index.js +80 -0
- package/build/dto/GalleryEntityV2/interface.d.ts +16 -0
- package/build/dto/GalleryEntityV2/interface.js +2 -0
- package/build/dto/common/ItemType/data.d.ts +3 -0
- package/build/dto/common/ItemType/data.js +41 -0
- package/build/dto/common/ItemType/index.d.ts +49 -0
- package/build/dto/common/ItemType/index.js +46 -0
- package/build/dto/common/ItemViews/CreationAudio/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationAudio/index.js +28 -0
- package/build/dto/common/ItemViews/CreationImage/index.d.ts +9 -0
- package/build/dto/common/ItemViews/CreationImage/index.js +39 -0
- package/build/dto/common/ItemViews/CreationObject/index.d.ts +7 -0
- package/build/dto/common/ItemViews/CreationObject/index.js +30 -0
- package/build/dto/common/ItemViews/CreationOther/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationOther/index.js +28 -0
- package/build/dto/common/ItemViews/CreationVideo/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationVideo/index.js +28 -0
- package/build/dto/common/Media/Audio/index.d.ts +15 -0
- package/build/dto/common/Media/Audio/index.js +40 -0
- package/build/dto/common/Media/Image/index.d.ts +15 -0
- package/build/dto/common/Media/Image/index.js +48 -0
- package/build/dto/common/Media/Object/index.d.ts +15 -0
- package/build/dto/common/Media/Object/index.js +49 -0
- package/build/dto/common/Media/Other/index.d.ts +15 -0
- package/build/dto/common/Media/Other/index.js +68 -0
- package/build/dto/common/Media/Screenshot/index.d.ts +15 -0
- package/build/dto/common/Media/Screenshot/index.js +48 -0
- package/build/dto/common/Media/Urls/index.d.ts +31 -0
- package/build/dto/common/Media/Urls/index.js +125 -0
- package/build/dto/common/Media/Video/index.d.ts +15 -0
- package/build/dto/common/Media/Video/index.js +40 -0
- package/build/dto/common/Media/index.d.ts +28 -0
- package/build/dto/common/Media/index.js +45 -0
- package/build/dto/common/Media/interface.d.ts +30 -0
- package/build/dto/common/Media/interface.js +2 -0
- package/build/entities/asset/AssetMediasViews.d.ts +4 -0
- package/build/entities/asset/AssetMediasViews.js +54 -0
- package/build/entities/asset/builder.d.ts +1 -1
- package/build/entities/asset/builder.js +2 -2
- package/build/entities/asset/getAssetMediasOpengraph.d.ts +5 -0
- package/build/entities/asset/getAssetMediasOpengraph.js +39 -0
- package/build/entities/asset/getAssetMiniatureUrl.d.ts +1 -1
- package/build/entities/asset/getAssetMiniatureUrl.js +3 -3
- package/build/entities/asset/types.d.ts +2 -2
- package/build/entities/collection/builder.d.ts +3 -0
- package/build/entities/collection/builder.js +31 -0
- package/build/entities/collection/types.d.ts +17 -0
- package/build/entities/collection/types.js +2 -0
- package/build/entities/creation/CreationMediaView.d.ts +1 -1
- package/build/entities/creation/CreationMediaView.js +7 -7
- package/build/entities/creation/builder.d.ts +1 -1
- package/build/entities/creation/builder.js +3 -3
- package/build/entities/creation/collectionCreationBuilder.d.ts +1 -1
- package/build/entities/creation/collectionCreationBuilder.js +2 -2
- package/build/entities/creation/types.d.ts +2 -2
- package/build/entities/gallery/builder.d.ts +1 -1
- package/build/entities/gallery/builder.js +1 -1
- package/build/entities/gallery/types.d.ts +1 -1
- package/build/entities/media/builder.d.ts +1 -1
- package/build/entities/media/getMediaVariant.d.ts +1 -1
- package/build/entities/media/getMediaVariant.js +2 -2
- package/build/fonts/FontsInitializeLayout.d.ts +12 -0
- package/build/fonts/FontsInitializeLayout.js +164 -0
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +1 -0
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +6 -0
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +2 -0
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +103 -0
- package/build/hooks/apollo/index.d.ts +1 -0
- package/build/hooks/apollo/index.js +24 -0
- package/build/hooks/audio/useMultiAudio/index.d.ts +2 -0
- package/build/hooks/audio/useMultiAudio/index.js +47 -0
- package/build/hooks/extension/useExtension/index.d.ts +7 -0
- package/build/hooks/extension/useExtension/index.js +32 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +22 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +122 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +23 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +166 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +23 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +155 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +145 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +119 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +125 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +17 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +128 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +142 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +18 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +48 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.js +104 -0
- package/build/hooks/likes/index.d.ts +19 -0
- package/build/hooks/likes/index.js +113 -0
- package/build/hooks/likes/useGetLikesAsset.d.ts +20 -0
- package/build/hooks/likes/useGetLikesAsset.js +91 -0
- package/build/layouts/AppLayout.d.ts +6 -0
- package/build/layouts/AppLayout.js +24 -0
- package/build/layouts/GlobalLayout.d.ts +4 -0
- package/build/layouts/GlobalLayout.js +34 -0
- package/build/layouts/base/LWithRegularHeader/index.d.ts +3 -0
- package/build/layouts/base/LWithRegularHeader/index.js +16 -0
- package/build/layouts/base/LWithRegularHeader/type.d.ts +5 -0
- package/build/layouts/base/LWithRegularHeader/type.js +2 -0
- package/build/layouts/base/LWithSearchHeader/index.d.ts +3 -0
- package/build/layouts/base/LWithSearchHeader/index.js +12 -0
- package/build/layouts/base/LWithSearchHeader/type.d.ts +5 -0
- package/build/layouts/base/LWithSearchHeader/type.js +2 -0
- package/build/layouts/custom/mainLayout/index.d.ts +3 -0
- package/build/layouts/custom/mainLayout/index.js +17 -0
- package/build/layouts/custom/styles.d.ts +2 -0
- package/build/layouts/custom/styles.js +46 -0
- package/build/layouts/pageTransitionLayout.d.ts +6 -0
- package/build/layouts/pageTransitionLayout.js +23 -0
- package/build/layouts/pageWithLayout.d.ts +9 -0
- package/build/layouts/pageWithLayout.js +2 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +19 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +204 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.js +37 -0
- package/build/modules/gallery/store.d.ts +26 -0
- package/build/modules/gallery/store.js +97 -0
- package/build/modules/gallery/ui/AllResults.d.ts +3 -0
- package/build/modules/gallery/ui/AllResults.js +12 -0
- package/build/modules/gallery/ui/Description.d.ts +4 -0
- package/build/modules/gallery/ui/Description.js +101 -0
- package/build/modules/gallery/ui/EditGallery.d.ts +9 -0
- package/build/modules/gallery/ui/EditGallery.js +51 -0
- package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +4 -0
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +30 -0
- package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +1 -0
- package/build/modules/gallery/ui/PlaceholderItemsGallery.js +71 -0
- package/build/modules/gallery/ui/STopSections.d.ts +1 -0
- package/build/modules/gallery/ui/STopSections.js +31 -0
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +7 -0
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +97 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +157 -0
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +12 -0
- package/build/modules/gallery/ui/createGalleryForm/index.js +137 -0
- package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
- package/build/modules/gallery/ui/editGalleryForm/index.js +189 -0
- package/build/modules/gallery/ui/itemsPreview/index.d.ts +19 -0
- package/build/modules/gallery/ui/itemsPreview/index.js +279 -0
- package/build/modules/gallery/useToGalleryAsset.d.ts +18 -0
- package/build/modules/gallery/useToGalleryAsset.js +88 -0
- package/build/modules/notifications/CreatorNotifications.d.ts +1 -0
- package/build/modules/notifications/CreatorNotifications.js +42 -0
- package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
- package/build/modules/opportunity/OpportunityCard.js +279 -0
- package/build/modules/opportunity/OpportunityDropDown.d.ts +5 -0
- package/build/modules/opportunity/OpportunityDropDown.js +42 -0
- package/build/modules/opportunity/ShareIcon.d.ts +1 -0
- package/build/modules/opportunity/ShareIcon.js +6 -0
- package/build/modules/opportunity/encodeQuery.d.ts +14 -0
- package/build/modules/opportunity/encodeQuery.js +31 -0
- package/build/modules/opportunity/popup/CopyIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/CopyIcon.js +7 -0
- package/build/modules/opportunity/popup/FacebookIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/FacebookIcon.js +7 -0
- package/build/modules/opportunity/popup/LinkedInIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/LinkedInIcon.js +7 -0
- package/build/modules/opportunity/popup/LogoXIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/LogoXIcon.js +7 -0
- package/build/modules/opportunity/popup/OpportunityMenu.d.ts +8 -0
- package/build/modules/opportunity/popup/OpportunityMenu.js +204 -0
- package/build/modules/opportunity/type.d.ts +2 -0
- package/build/modules/opportunity/type.js +2 -0
- package/build/modules/sessionScroll/globalTabs.d.ts +12 -0
- package/build/modules/sessionScroll/globalTabs.js +50 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +59 -0
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +3 -0
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +34 -0
- package/build/modules/user/auth/useAuthVerification.d.ts +1 -0
- package/build/modules/user/auth/useAuthVerification.js +18 -0
- package/build/modules/user/auth/useSignIn.d.ts +2 -0
- package/build/modules/user/auth/useSignIn.js +23 -0
- package/build/modules/user/auth/useSignOut.d.ts +1 -0
- package/build/modules/user/auth/useSignOut.js +42 -0
- package/build/modules/user/auth/useVerification.d.ts +1 -0
- package/build/modules/user/auth/useVerification.js +67 -0
- package/build/modules/user/profileData/profileDataInitialization.d.ts +1 -0
- package/build/modules/user/profileData/profileDataInitialization.js +66 -0
- package/build/modules/user/store.d.ts +1 -1
- package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
- package/build/modules/virtuoso/VirtuosoPageBuilder.js +135 -0
- package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
- package/build/modules/virtuoso/VirtuosoToTopBtn.js +38 -0
- package/build/modules/virtuoso/types.d.ts +4 -0
- package/build/modules/virtuoso/types.js +2 -0
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +27 -0
- package/build/modules/virtuoso/useVirtuosoData.d.ts +12 -0
- package/build/modules/virtuoso/useVirtuosoData.js +49 -0
- package/build/public/MobileSearchBtn/close.js +25 -0
- package/build/public/MobileSearchBtn/search.js +31 -0
- package/build/public/MobileSearchBtn/test/pirate.js +36 -0
- package/build/public/MobileSearchBtn/test/squircle.js +36 -0
- package/build/public/assetPage/audioPlaceholder.js +116 -0
- package/build/public/assetPage/details.js +31 -0
- package/build/public/assetPage/favorite.js +22 -0
- package/build/public/assetPage/favorite_hover.js +24 -0
- package/build/public/assetPage/flag.js +32 -0
- package/build/public/assetPage/fullScreen.js +24 -0
- package/build/public/assetPage/owners.js +27 -0
- package/build/public/assetPage/pause.js +25 -0
- package/build/public/assetPage/play.js +23 -0
- package/build/public/assetPage/share.js +26 -0
- package/build/public/assetPage/share2.js +25 -0
- package/build/public/assetPage/share2_hover.js +25 -0
- package/build/public/assetPage/shareWithDots.js +40 -0
- package/build/public/assetPage/shareWithDots_hover.js +40 -0
- package/build/public/assetPage/share_hover.js +24 -0
- package/build/public/assetPage/soundOf.js +24 -0
- package/build/public/assetPage/soundOn.js +24 -0
- package/build/public/calendar.js +24 -0
- package/build/public/cards/addToFavListIcon.js +30 -0
- package/build/public/cards/addToGalleryIcon.js +22 -0
- package/build/public/cards/heart.js +20 -0
- package/build/public/cardsHolderLoader/loader.js +25 -0
- package/build/public/checkbox-on.js +34 -0
- package/build/public/checkboxArrow.js +25 -0
- package/build/public/close.js +25 -0
- package/build/public/close20.js +25 -0
- package/build/public/collectionPage/export.js +25 -0
- package/build/public/copied.js +30 -0
- package/build/public/copy-icon-new.js +31 -0
- package/build/public/creation/card/moreBtn.js +24 -0
- package/build/public/creation/card/moreBtnVertical.js +28 -0
- package/build/public/creation/card/moreBtn_hover.js +28 -0
- package/build/public/dropDown/arrow_down.js +24 -0
- package/build/public/dropdown-arrow-down.js +22 -0
- package/build/public/dropdown-arrow-up.js +22 -0
- package/build/public/error/refresh.js +29 -0
- package/build/public/favicon.ico +0 -0
- package/build/public/favicon.png +0 -0
- package/build/public/follower.js +27 -0
- package/build/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
- package/build/public/header/mobile_menu_icons/arrows/arrow_down.js +25 -0
- package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +25 -0
- package/build/public/header/mobile_menu_icons/campaigns.js +40 -0
- package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +72 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +71 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +35 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +34 -0
- package/build/public/header/mobile_menu_icons/dropdown/notifications.js +36 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +44 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +41 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +58 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +75 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +64 -0
- package/build/public/header/mobile_menu_icons/experiences.js +49 -0
- package/build/public/header/mobile_menu_icons/settings.js +24 -0
- package/build/public/header/mobile_menu_icons/sign_out.js +31 -0
- package/build/public/header/mobile_menu_icons/submit_nft.js +88 -0
- package/build/public/header/mobile_menu_icons/top.js +45 -0
- package/build/public/header/mobile_toggle/close.js +25 -0
- package/build/public/header/mobile_toggle/regular.js +25 -0
- package/build/public/like-icon-active.js +27 -0
- package/build/public/like-icon.js +23 -0
- package/build/public/logOut/logOutBtn.js +35 -0
- package/build/public/logo/main_logo.js +726 -0
- package/build/public/logo/main_logo_dark.js +159 -0
- package/build/public/logo/mobile_logo.js +714 -0
- package/build/public/logo/mobile_logo_dark.js +147 -0
- package/build/public/ludo-logo-small.js +28 -0
- package/build/public/ludo-logo-square.js +40 -0
- package/build/public/no_image placeholder.js +41 -0
- package/build/public/no_media_placeholder.js +752 -0
- package/build/public/report.js +40 -0
- package/build/public/search/arrow_up.js +25 -0
- package/build/public/search/back.js +25 -0
- package/build/public/search/close.js +25 -0
- package/build/public/search/no_found.js +30 -0
- package/build/public/search/search.js +31 -0
- package/build/public/search-icon.js +34 -0
- package/build/public/services/opensea.js +28 -0
- package/build/public/services/other.js +40 -0
- package/build/public/services/rarible.js +29 -0
- package/build/public/settings_page/back.js +25 -0
- package/build/public/settings_page/burger_menu.js +37 -0
- package/build/public/settings_page/notifications.js +35 -0
- package/build/public/settings_page/notifications_active.js +35 -0
- package/build/public/settings_page/privacy.js +27 -0
- package/build/public/settings_page/privacy_active.js +27 -0
- package/build/public/settings_page/settings.js +28 -0
- package/build/public/settings_page/settings_active.js +28 -0
- package/build/public/settings_page/upload.js +30 -0
- package/build/public/share-icon.js +40 -0
- package/build/public/showCaseIcons/heart.js +20 -0
- package/build/public/tabs/arrow_right.js +25 -0
- package/build/public/tabs/arrow_right_dark.js +25 -0
- package/build/public/tests/audio.mp3 +0 -0
- package/build/public/tests/test_1.js +64 -0
- package/build/public/toTopBtn/toTopBtn.js +31 -0
- package/build/public/upload-userpic.js +64 -0
- package/build/public/userpic-placeholder.jpg +0 -0
- package/build/public/userpics/placeholder-lg-1.js +46 -0
- package/build/public/userpics/placeholder-sm-1.js +46 -0
- package/build/public/video/pause.js +33 -0
- package/build/public/video/play.js +29 -0
- package/build/public/wallets/arkane-btn.js +37 -0
- package/build/public/wallets/bitski-btn.js +52 -0
- package/build/public/wallets/elrond-btn.js +189 -0
- package/build/public/wallets/elrond-icon-sm.js +184 -0
- package/build/public/wallets/elrond.js +27 -0
- package/build/public/wallets/ethereum-icon-sm.js +34 -0
- package/build/public/wallets/flow-btn.js +33 -0
- package/build/public/wallets/flow-icon-sm.js +36 -0
- package/build/public/wallets/formatic-btn.js +25 -0
- package/build/public/wallets/formatic-icon-sm.js +25 -0
- package/build/public/wallets/maiar-btn.js +58 -0
- package/build/public/wallets/maiar-icon-sm.js +58 -0
- package/build/public/wallets/metamask-btn.js +176 -0
- package/build/public/wallets/metamask-icon-sm.js +169 -0
- package/build/public/wallets/phantom.js +27 -0
- package/build/public/wallets/plus.js +29 -0
- package/build/public/wallets/solana-btn.js +71 -0
- package/build/public/wallets/solana-icon-sm.js +64 -0
- package/build/public/wallets/terra-btn.js +94 -0
- package/build/public/wallets/terra-icon-sm.js +94 -0
- package/build/public/wallets/tezos-btn.js +42 -0
- package/build/public/wallets/tezos-icon-sm.js +37 -0
- package/build/public/wallets/wallet_connect.js +27 -0
- package/build/public/wallets/walletconnect-btn.js +22 -0
- package/build/public/wallets/walletlink-btn.js +36 -0
- package/build/public/wallets/walletlink-icon-sm.js +37 -0
- package/build/public/wallets/xdefi-btn.js +31 -0
- package/build/public/wallets/xdefi-icon-sm.js +31 -0
- package/build/public/warning.js +22 -0
- package/build/store/creation/index.d.ts +5 -0
- package/build/store/creation/index.js +38 -0
- package/build/store/media/index.d.ts +2 -0
- package/build/store/media/index.js +59 -0
- package/build/store/media/types.d.ts +11 -0
- package/build/store/media/types.js +2 -0
- package/build/store/ui/index.js +2 -2
- package/build/store/ui/types.d.ts +3 -3
- package/build/store/ui/utils.d.ts +1 -1
- package/build/styles/animations/index.d.ts +2 -0
- package/build/styles/animations/index.js +20 -0
- package/build/styles/globalStyles.d.ts +2 -0
- package/build/styles/globalStyles.js +86 -0
- package/build/system/ActiveLink/ActiveLink.test.d.ts +1 -0
- package/build/system/ActiveLink/ActiveLink.test.js +48 -0
- package/build/system/ActiveLink/index.d.ts +9 -0
- package/build/system/ActiveLink/index.js +49 -0
- package/build/system/Alert/index.d.ts +2 -0
- package/build/system/Alert/index.js +21 -0
- package/build/system/BasicOverlay/index.d.ts +2 -0
- package/build/system/BasicOverlay/index.js +27 -0
- package/build/system/Buttons/IconButton/index.d.ts +2 -0
- package/build/system/Buttons/IconButton/index.js +7 -0
- package/build/system/Buttons/IconWithButton/index.d.ts +2 -0
- package/build/system/Buttons/IconWithButton/index.js +7 -0
- package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/build/system/Buttons/IconWithButton/themes.js +1 -0
- package/build/system/Buttons/MainButton/index.d.ts +2 -0
- package/build/system/Buttons/MainButton/index.js +7 -0
- package/build/system/Buttons/MainButton/themes.d.ts +0 -0
- package/build/system/Buttons/MainButton/themes.js +1 -0
- package/build/system/Buttons/SecondaryButton/index.d.ts +2 -0
- package/build/system/Buttons/SecondaryButton/index.js +7 -0
- package/build/system/Cards/CardCheckbox/index.d.ts +5 -0
- package/build/system/Cards/CardCheckbox/index.js +89 -0
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +28 -0
- package/build/system/Cards/CardContent/CardCategory/index.d.ts +5 -0
- package/build/system/Cards/CardContent/CardCategory/index.js +54 -0
- package/build/system/Cards/CardContent/CardContent.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardContent.test.js +103 -0
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +37 -0
- package/build/system/Cards/CardContent/CardLikes/index.d.ts +5 -0
- package/build/system/Cards/CardContent/CardLikes/index.js +29 -0
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +46 -0
- package/build/system/Cards/CardContent/CardShowMore/index.d.ts +6 -0
- package/build/system/Cards/CardContent/CardShowMore/index.js +121 -0
- package/build/system/Cards/CardContent/index.d.ts +17 -0
- package/build/system/Cards/CardContent/index.js +97 -0
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +1 -0
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +92 -0
- package/build/system/Cards/CardMedia/CardAudio/index.d.ts +7 -0
- package/build/system/Cards/CardMedia/CardAudio/index.js +66 -0
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +1 -0
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +34 -0
- package/build/system/Cards/CardMedia/CardImage/index.d.ts +9 -0
- package/build/system/Cards/CardMedia/CardImage/index.js +24 -0
- package/build/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
- package/build/system/Cards/CardMedia/CardVideo/index.js +57 -0
- package/build/system/Cards/CardRank/index.d.ts +4 -0
- package/build/system/Cards/CardRank/index.js +82 -0
- package/build/system/Cards/CreationCard/CardHead.d.ts +12 -0
- package/build/system/Cards/CreationCard/CardHead.js +62 -0
- package/build/system/Cards/CreationCard/index.d.ts +29 -0
- package/build/system/Cards/CreationCard/index.js +129 -0
- package/build/system/Cards/MultiMediaCard/index.d.ts +8 -0
- package/build/system/Cards/MultiMediaCard/index.js +126 -0
- package/build/system/Cards/Styles/Content.d.ts +2 -0
- package/build/system/Cards/Styles/Content.js +40 -0
- package/build/system/Cards/Styles/Head.d.ts +2 -0
- package/build/system/Cards/Styles/Head.js +46 -0
- package/build/system/Cards/Styles/Headicons.d.ts +4 -0
- package/build/system/Cards/Styles/Headicons.js +122 -0
- package/build/system/Cards/Styles/Image.d.ts +4 -0
- package/build/system/Cards/Styles/Image.js +24 -0
- package/build/system/Cards/Styles/Likes.d.ts +4 -0
- package/build/system/Cards/Styles/Likes.js +53 -0
- package/build/system/Cards/Styles/MultiHead.d.ts +2 -0
- package/build/system/Cards/Styles/MultiHead.js +44 -0
- package/build/system/Cards/Styles/Video.d.ts +2 -0
- package/build/system/Cards/Styles/Video.js +15 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +4 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +48 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +4 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +34 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +5 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +57 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +2 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +42 -0
- package/build/system/DropDown/DropDown.test.d.ts +1 -0
- package/build/system/DropDown/DropDown.test.js +38 -0
- package/build/system/DropDown/index.js +2 -2
- package/build/system/Filters/type.d.ts +16 -0
- package/build/system/Filters/type.js +11 -0
- package/build/system/Flex/index.d.ts +0 -0
- package/build/system/Flex/index.js +1 -0
- package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
- package/build/system/Forms/Checkbox/index.js +4 -4
- package/build/system/Forms/DatePicker/DatePicker.test.d.ts +1 -0
- package/build/system/Forms/DatePicker/DatePicker.test.js +39 -0
- package/build/system/Forms/DatePicker/index.d.ts +14 -0
- package/build/system/Forms/DatePicker/index.js +138 -0
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +1 -1
- package/build/system/Forms/ErrorLabel/index.js +1 -1
- package/build/system/Forms/Input/Input.test.js +2 -2
- package/build/system/Forms/Input/index.js +5 -5
- package/build/system/Forms/RadioInput/RadioInput.test.js +1 -1
- package/build/system/Forms/RadioInput/index.js +2 -2
- package/build/system/Forms/Selects/DesktopSelect/index.d.ts +1 -1
- package/build/system/Forms/Selects/DesktopSelect/index.js +6 -6
- package/build/system/Forms/Selects/MobileSelect/index.js +2 -2
- package/build/system/Forms/TextArea/TextArea.test.js +2 -2
- package/build/system/Forms/TextArea/index.js +4 -4
- package/build/system/Img/Profilepic/index.js +3 -3
- package/build/system/Img/Userpic/UserPic.test.js +4 -4
- package/build/system/Img/Userpic/UserPicSpa.js +6 -6
- package/build/system/Img/Userpic/index.js +6 -6
- package/build/system/Img/index.d.ts +3 -3
- package/build/system/Img/index.js +3 -3
- package/build/system/Labels/ExperienceLabel/index.js +5 -5
- package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
- package/build/system/Labels/InviteLabel/InviteLabel.test.js +44 -0
- package/build/system/Labels/InviteLabel/index.d.ts +6 -0
- package/build/system/Labels/InviteLabel/index.js +44 -0
- package/build/system/Modals/Modal/Modal.test.d.ts +1 -0
- package/build/system/Modals/Modal/Modal.test.js +36 -0
- package/build/system/Modals/Modal/index.d.ts +2 -0
- package/build/system/Modals/Modal/index.js +82 -0
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +1 -0
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +47 -0
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +35 -0
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +10 -0
- package/build/system/Modals/ModalSidebar/index.d.ts +3 -0
- package/build/system/Modals/ModalSidebar/index.js +78 -0
- package/build/system/Overlay/Overlay.test.d.ts +1 -0
- package/build/system/Overlay/Overlay.test.js +44 -0
- package/build/system/Overlay/index.d.ts +2 -0
- package/build/system/Overlay/index.js +41 -0
- package/build/system/PageLoader/index.d.ts +2 -0
- package/build/system/PageLoader/index.js +7 -0
- package/build/system/Palete/index.d.ts +2 -0
- package/build/system/Palete/index.js +7 -0
- package/build/system/ShareIconResize.d.ts +1 -0
- package/build/system/ShareIconResize.js +31 -0
- package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
- package/build/system/Tabs/TabNavLink/TabNavLink.test.js +40 -0
- package/build/system/Tabs/TabNavLink/index.d.ts +12 -0
- package/build/system/Tabs/TabNavLink/index.js +58 -0
- package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
- package/build/system/Tabs/TabsNav/TabsNav.test.js +43 -0
- package/build/system/Tabs/TabsNav/index.d.ts +10 -0
- package/build/system/Tabs/TabsNav/index.js +31 -0
- package/build/system/Tabs/TabsNav/type.d.ts +6 -0
- package/build/system/Tabs/TabsNav/type.js +2 -0
- package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
- package/build/system/Tabs/TabsPanel/TabsPanel.test.js +32 -0
- package/build/system/Tabs/TabsPanel/index.d.ts +7 -0
- package/build/system/Tabs/TabsPanel/index.js +17 -0
- package/build/system/Text/index.d.ts +0 -0
- package/build/system/Text/index.js +1 -0
- package/build/system/index.d.ts +6 -0
- package/build/system/index.js +22 -0
- package/build/utils/adaptive/check4k.d.ts +1 -1
- package/build/utils/adaptive/check4k.js +1 -1
- package/build/utils/adaptive/scale.d.ts +1 -1
- package/build/utils/adaptive/scale.js +1 -1
- package/build/utils/auth/index.js +1 -1
- package/build/utils/copyBtn/index.d.ts +5 -0
- package/build/utils/copyBtn/index.js +46 -0
- package/build/utils/extractItemIds.d.ts +2 -0
- package/build/utils/extractItemIds.js +6 -0
- package/build/utils/getDimensionsImage.d.ts +4 -0
- package/build/utils/getDimensionsImage.js +38 -0
- package/build/utils/getErrorAlertProps/index.js +1 -1
- package/build/utils/imageProportionsSize/index.d.ts +5 -0
- package/build/utils/imageProportionsSize/index.js +23 -0
- package/build/utils/redirectToApp.d.ts +1 -0
- package/build/utils/redirectToApp.js +29 -0
- package/build/utils/screen/index.js +2 -2
- package/build/utils/ssrFunctions/index.d.ts +17 -0
- package/build/utils/ssrFunctions/index.js +33 -0
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
8
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
9
|
+
// Styles
|
|
10
|
+
const StyledCardHead = styled_components_1.default.div `
|
|
11
|
+
position: relative;
|
|
12
|
+
height: 252px;
|
|
13
|
+
width: 252px;
|
|
14
|
+
margin: 0 auto;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
|
|
17
|
+
.playIcon,
|
|
18
|
+
.pauseIcon {
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 6%;
|
|
21
|
+
bottom: 6%;
|
|
22
|
+
|
|
23
|
+
:hover {
|
|
24
|
+
circle {
|
|
25
|
+
opacity: 0.6;
|
|
26
|
+
fill: #12183a;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (max-width: 1199px) {
|
|
32
|
+
height: 164px;
|
|
33
|
+
width: 164px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (max-width: 767px) {
|
|
37
|
+
height: 154px;
|
|
38
|
+
width: 154px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
42
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(252)};
|
|
43
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(252)};
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
exports.default = StyledCardHead;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
// Styles
|
|
7
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
9
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
10
|
+
const colors_1 = require("../../../styles/colors");
|
|
11
|
+
const StyledHeadIcons = styled_components_1.default.div `
|
|
12
|
+
transition: 0.2s opacity ease-out;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
|
|
15
|
+
&:before {
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
content: '';
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
height: 100px;
|
|
23
|
+
border-top-left-radius: 6px;
|
|
24
|
+
border-top-right-radius: 6px;
|
|
25
|
+
background: linear-gradient(180deg, #12183a 0%, rgba(18, 24, 58, 0) 100%);
|
|
26
|
+
opacity: 0.3;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rank {
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 16px;
|
|
32
|
+
left: 16px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.icons {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 16px;
|
|
38
|
+
right: 7px;
|
|
39
|
+
display: flex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.icon {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
background: ${colors_1.WhiteColor};
|
|
47
|
+
border-radius: 6px;
|
|
48
|
+
width: ${(props) => (props.isMobile ? '24px' : '36px')};
|
|
49
|
+
height: ${(props) => (props.isMobile ? '24px' : '36px')};
|
|
50
|
+
|
|
51
|
+
svg {
|
|
52
|
+
overflow: visible;
|
|
53
|
+
will-change: transform;
|
|
54
|
+
transition: transform 0.2s;
|
|
55
|
+
transform: scale(1);
|
|
56
|
+
width: ${(props) => (props.isMobile ? '13px' : '20px')};
|
|
57
|
+
height: ${(props) => (props.isMobile ? '12px' : '18px')};
|
|
58
|
+
|
|
59
|
+
path {
|
|
60
|
+
fill: ${colors_1.TextDarkGrayColor};
|
|
61
|
+
transition: fill 0.2s;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:hover svg {
|
|
66
|
+
transform: scale(1.1);
|
|
67
|
+
transition: transform 0.2s;
|
|
68
|
+
|
|
69
|
+
path {
|
|
70
|
+
fill: ${colors_1.BlackColor};
|
|
71
|
+
transition: fill 0.2s;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.icon.like {
|
|
77
|
+
margin-left: 12px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.icon.like.liked {
|
|
81
|
+
svg path {
|
|
82
|
+
fill: #f94c66;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
87
|
+
&:before {
|
|
88
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(100)};
|
|
89
|
+
border-top-left-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
90
|
+
border-top-right-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.rank {
|
|
94
|
+
top: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
95
|
+
left: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.icons {
|
|
99
|
+
top: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
100
|
+
right: ${(0, _4k_1.adaptiveValueCalc)(7)};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.icon {
|
|
104
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
105
|
+
width: ${(props) => (props.isMobile ? '24px' : (0, _4k_1.adaptiveValueCalc)(36))};
|
|
106
|
+
height: ${(props) => (props.isMobile ? '24px' : (0, _4k_1.adaptiveValueCalc)(36))};
|
|
107
|
+
|
|
108
|
+
svg {
|
|
109
|
+
width: ${(props) => (props.isMobile ? '13px' : (0, _4k_1.adaptiveValueCalc)(20))};
|
|
110
|
+
height: ${(props) => (props.isMobile ? '12px' : (0, _4k_1.adaptiveValueCalc)(18))};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.icon.like {
|
|
115
|
+
margin-left: ${(0, _4k_1.adaptiveValueCalc)(12)};
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
`;
|
|
119
|
+
StyledHeadIcons.defaultProps = {
|
|
120
|
+
isMobile: false,
|
|
121
|
+
};
|
|
122
|
+
exports.default = StyledHeadIcons;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
8
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
9
|
+
const StyledImg = styled_components_1.default.img `
|
|
10
|
+
display: block;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
object-fit: cover;
|
|
14
|
+
border-top-left-radius: 6px;
|
|
15
|
+
border-top-right-radius: 6px;
|
|
16
|
+
opacity: ${(props) => (props.isLoading ? '0' : '1')};
|
|
17
|
+
transition: opacity ease-in 0.3s;
|
|
18
|
+
|
|
19
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
20
|
+
border-top-left-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
21
|
+
border-top-right-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
exports.default = StyledImg;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
8
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
9
|
+
const colors_1 = require("../../../styles/colors");
|
|
10
|
+
const typography_1 = require("../../../styles/typography");
|
|
11
|
+
// Styles
|
|
12
|
+
const StyledLikes = styled_components_1.default.div `
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: end;
|
|
15
|
+
|
|
16
|
+
.icon {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
width: 18px;
|
|
21
|
+
height: 18px;
|
|
22
|
+
margin-right: 5px;
|
|
23
|
+
|
|
24
|
+
path {
|
|
25
|
+
fill: ${(props) => (props.isLiked ? '#F94C66' : '#cfd5ea')};
|
|
26
|
+
transition: fill 0.2s;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:hover path {
|
|
30
|
+
fill: ${(props) => (props.isLiked ? '' : '#696F90')};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.counter {
|
|
35
|
+
${typography_1.MainText};
|
|
36
|
+
font-size: 15px;
|
|
37
|
+
color: ${colors_1.TextGrayColor};
|
|
38
|
+
line-height: 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
42
|
+
.icon {
|
|
43
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(18)};
|
|
44
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(18)};
|
|
45
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(5)};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.counter {
|
|
49
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(15)};
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
exports.default = StyledLikes;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
8
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
9
|
+
// Styles
|
|
10
|
+
const StyledMultiHead = styled_components_1.default.div `
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: 1fr 1fr;
|
|
13
|
+
grid-auto-rows: 114px;
|
|
14
|
+
gap: 8px;
|
|
15
|
+
position: relative;
|
|
16
|
+
height: 252px;
|
|
17
|
+
width: 252px;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
padding: 8px;
|
|
20
|
+
|
|
21
|
+
@media (max-width: 1199px) {
|
|
22
|
+
height: 164px;
|
|
23
|
+
width: 164px;
|
|
24
|
+
grid-auto-rows: auto;
|
|
25
|
+
gap: 5.21px;
|
|
26
|
+
padding: 5.21px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (max-width: 767px) {
|
|
30
|
+
height: 154px;
|
|
31
|
+
width: 154px;
|
|
32
|
+
gap: 4px;
|
|
33
|
+
padding: 4px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
37
|
+
grid-auto-rows: ${(0, _4k_1.adaptiveValueCalc)(114)};
|
|
38
|
+
gap: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
39
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
40
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(252)};
|
|
41
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(252)};
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
exports.default = StyledMultiHead;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
|
+
const StyledVideo = styled_components_1.default.video `
|
|
8
|
+
display: block;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
object-fit: cover;
|
|
12
|
+
border-top-left-radius: 6px;
|
|
13
|
+
border-top-right-radius: 6px;
|
|
14
|
+
`;
|
|
15
|
+
exports.default = StyledVideo;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const animations_1 = require("../../../../styles/animations");
|
|
10
|
+
const colors_1 = require("../../../../styles/colors");
|
|
11
|
+
const vars_1 = require("../../../../fonts/vars");
|
|
12
|
+
const refresh_svg_1 = __importDefault(require("../../../../public/error/refresh"));
|
|
13
|
+
// Styles
|
|
14
|
+
const StyledCardsError = styled_components_1.default.div `
|
|
15
|
+
padding-top: 24px;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
|
|
21
|
+
.icon {
|
|
22
|
+
margin-bottom: 24px;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
animation: ${animations_1.rotateReverse} 2s infinite linear;
|
|
25
|
+
}
|
|
26
|
+
.text {
|
|
27
|
+
max-width: 308px;
|
|
28
|
+
text-align: center;
|
|
29
|
+
color: ${colors_1.TextGrayColor};
|
|
30
|
+
user-select: none;
|
|
31
|
+
font-family: ${vars_1.poppinsFontVarCss.css};
|
|
32
|
+
font-size: 18px;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
line-height: 26px;
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
// Component
|
|
38
|
+
const CardsError = ({ refetch }) => {
|
|
39
|
+
const [isAnimated, setIsAnimated] = (0, react_1.useState)(false);
|
|
40
|
+
const handleAnimation = async () => {
|
|
41
|
+
setIsAnimated(true);
|
|
42
|
+
await refetch();
|
|
43
|
+
setIsAnimated(false);
|
|
44
|
+
};
|
|
45
|
+
return ((0, jsx_runtime_1.jsxs)(StyledCardsError, { children: [(0, jsx_runtime_1.jsx)(refresh_svg_1.default, { className: 'icon', onClick: handleAnimation }), !isAnimated && ((0, jsx_runtime_1.jsx)("h2", { className: 'text', children: "Whoops! Something went wrong. Let's try to refresh it!" }))] }));
|
|
46
|
+
};
|
|
47
|
+
// Export
|
|
48
|
+
exports.default = CardsError;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
+
const colors_1 = require("../../../../styles/colors");
|
|
9
|
+
const typography_1 = require("../../../../styles/typography");
|
|
10
|
+
const no_found_svg_1 = __importDefault(require("../../../../public/search/no_found"));
|
|
11
|
+
// Styles
|
|
12
|
+
const StyledNoResults = styled_components_1.default.div `
|
|
13
|
+
user-select: none;
|
|
14
|
+
padding-top: 60px;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
|
|
20
|
+
.icon {
|
|
21
|
+
margin-bottom: 38px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.text {
|
|
25
|
+
${typography_1.FH3};
|
|
26
|
+
color: ${colors_1.TextGrayColor};
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
// Component
|
|
30
|
+
const CardsNoResults = ({ noFoundText }) => {
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(StyledNoResults, { children: [(0, jsx_runtime_1.jsx)(no_found_svg_1.default, { className: 'icon' }), (0, jsx_runtime_1.jsx)("p", { className: 'text', children: noFoundText })] }));
|
|
32
|
+
};
|
|
33
|
+
// Export
|
|
34
|
+
exports.default = CardsNoResults;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CardSkeleton = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
9
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
10
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
11
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
12
|
+
const Head_1 = __importDefault(require("../../../Cards/Styles/Head"));
|
|
13
|
+
// Styles
|
|
14
|
+
const StyledCardSkeleton = styled_components_1.default.div `
|
|
15
|
+
.content {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
padding: 12px 0 0 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.footer {
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
27
|
+
.content {
|
|
28
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(12)} 0 0 0;
|
|
29
|
+
gap: ${(0, _4k_1.adaptiveValueCalc)(4)};
|
|
30
|
+
|
|
31
|
+
.react-loading-skeleton {
|
|
32
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(18)} !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.footer {
|
|
36
|
+
& > *:first-child .react-loading-skeleton {
|
|
37
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(120)} !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& > *:last-child .react-loading-skeleton {
|
|
41
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(30)} !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`;
|
|
47
|
+
const CardsSkeleton = ({ cardCount }) => {
|
|
48
|
+
const arr = Array.from(Array(cardCount).keys());
|
|
49
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: arr.map(() => ((0, jsx_runtime_1.jsx)(exports.CardSkeleton, {}, Math.random()))) }));
|
|
50
|
+
};
|
|
51
|
+
// Component
|
|
52
|
+
const CardSkeleton = () => {
|
|
53
|
+
return ((0, jsx_runtime_1.jsxs)(StyledCardSkeleton, { children: [(0, jsx_runtime_1.jsx)(Head_1.default, { children: (0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: '100%', width: '100%' }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: '18px', width: '70%' }), (0, jsx_runtime_1.jsxs)("div", { className: 'footer', children: [(0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: '18px', width: '120px' }), (0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: '18px', width: '30px' })] })] })] }));
|
|
54
|
+
};
|
|
55
|
+
exports.CardSkeleton = CardSkeleton;
|
|
56
|
+
// Export
|
|
57
|
+
exports.default = CardsSkeleton;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
8
|
+
const animations_1 = require("../../../styles/animations");
|
|
9
|
+
const scale_1 = require("../../../utils/adaptive/scale");
|
|
10
|
+
const screen_1 = require("../../../utils/screen");
|
|
11
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
13
|
+
const loader_svg_1 = __importDefault(require("../../../public/cardsHolderLoader/loader"));
|
|
14
|
+
// Styles
|
|
15
|
+
const StyledCardsHolderLoader = styled_components_1.default.div `
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
padding-top: 24px;
|
|
21
|
+
|
|
22
|
+
.loader {
|
|
23
|
+
animation: ${animations_1.rotate} 1s ease-in-out infinite;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
27
|
+
padding-top: ${(0, _4k_1.adaptiveValueCalc)(24)};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* &.virtual {
|
|
31
|
+
position: fixed;
|
|
32
|
+
bottom: 90px;
|
|
33
|
+
right: 30px;
|
|
34
|
+
} */
|
|
35
|
+
`;
|
|
36
|
+
// Component
|
|
37
|
+
const CardsHolderLoader = () => {
|
|
38
|
+
const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
|
|
39
|
+
return ((0, jsx_runtime_1.jsx)(StyledCardsHolderLoader, { style: (0, scale_1.getAdaptiveScale)({ windowDimensions, currentSize: 1 }), children: (0, jsx_runtime_1.jsx)(loader_svg_1.default, { className: 'loader' }) }));
|
|
40
|
+
};
|
|
41
|
+
// Export
|
|
42
|
+
exports.default = CardsHolderLoader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'jest-styled-components';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = require("@testing-library/react");
|
|
8
|
+
require("jest-styled-components");
|
|
9
|
+
const index_1 = __importDefault(require("./index"));
|
|
10
|
+
jest.mock('@/public/dropDown/arrow_down.svg', () => 'div');
|
|
11
|
+
describe('DropDown Component', () => {
|
|
12
|
+
test('renders with caption and closed by default', () => {
|
|
13
|
+
const mockFallback = jest.fn();
|
|
14
|
+
(0, react_1.render)((0, jsx_runtime_1.jsx)("div", { "data-testid": 'test_container', children: (0, jsx_runtime_1.jsx)(index_1.default, { caption: "Test Dropdown", fallBackOnClose: mockFallback, children: (0, jsx_runtime_1.jsx)("div", { children: "Dropdown Content" }) }) }));
|
|
15
|
+
const captionElement = react_1.screen.getByText('Test Dropdown');
|
|
16
|
+
expect(captionElement).toBeInTheDocument();
|
|
17
|
+
const contentElement = react_1.screen
|
|
18
|
+
.queryByTestId('test_container')
|
|
19
|
+
?.querySelector('.dropDownContent');
|
|
20
|
+
expect(contentElement).toHaveStyle('grid-template-rows:0fr');
|
|
21
|
+
react_1.fireEvent.click(captionElement);
|
|
22
|
+
expect(contentElement).toHaveStyle('grid-template-rows:1fr');
|
|
23
|
+
});
|
|
24
|
+
test('calls fallback function when closed', () => {
|
|
25
|
+
const mockFallback = jest.fn();
|
|
26
|
+
(0, react_1.render)((0, jsx_runtime_1.jsx)(index_1.default, { caption: "Test Dropdown", fallBackOnClose: mockFallback, children: (0, jsx_runtime_1.jsx)("div", { children: "Dropdown Content" }) }));
|
|
27
|
+
const captionElement = react_1.screen.getByText('Test Dropdown');
|
|
28
|
+
react_1.fireEvent.click(captionElement);
|
|
29
|
+
react_1.fireEvent.click(captionElement);
|
|
30
|
+
expect(mockFallback).toHaveBeenCalledWith(null);
|
|
31
|
+
});
|
|
32
|
+
test('renders with active prop', () => {
|
|
33
|
+
const mockFallback = jest.fn();
|
|
34
|
+
(0, react_1.render)((0, jsx_runtime_1.jsx)(index_1.default, { caption: "Test Dropdown", fallBackOnClose: mockFallback, active: true, children: (0, jsx_runtime_1.jsx)("div", { children: "Dropdown Content" }) }));
|
|
35
|
+
const openedContentElement = react_1.screen.getByText('Dropdown Content');
|
|
36
|
+
expect(openedContentElement).toBeInTheDocument();
|
|
37
|
+
});
|
|
38
|
+
});
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
const react_1 = require("react");
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const colors_1 = require("
|
|
10
|
-
const arrow_down_svg_1 = __importDefault(require("
|
|
9
|
+
const colors_1 = require("../../styles/colors");
|
|
10
|
+
const arrow_down_svg_1 = __importDefault(require("../../public/dropDown/arrow_down"));
|
|
11
11
|
// Styles
|
|
12
12
|
const StyledDropDown = styled_components_1.default.div `
|
|
13
13
|
border-bottom: 1px solid ${colors_1.InactiveButtonColor};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ISelectInput } from '../Forms/Selects/MobileSelect';
|
|
2
|
+
export declare enum SelectNamesTypes {
|
|
3
|
+
type = "type",
|
|
4
|
+
blockchain = "blockchain",
|
|
5
|
+
category = "category",
|
|
6
|
+
status = "status",
|
|
7
|
+
time = "time"
|
|
8
|
+
}
|
|
9
|
+
export type SelectNamesWithOptions = {
|
|
10
|
+
selectName: SelectNamesTypes;
|
|
11
|
+
selectOptions: ISelectInput[];
|
|
12
|
+
};
|
|
13
|
+
export type SelectsType = {
|
|
14
|
+
id: number;
|
|
15
|
+
data: SelectNamesWithOptions;
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectNamesTypes = void 0;
|
|
4
|
+
var SelectNamesTypes;
|
|
5
|
+
(function (SelectNamesTypes) {
|
|
6
|
+
SelectNamesTypes["type"] = "type";
|
|
7
|
+
SelectNamesTypes["blockchain"] = "blockchain";
|
|
8
|
+
SelectNamesTypes["category"] = "category";
|
|
9
|
+
SelectNamesTypes["status"] = "status";
|
|
10
|
+
SelectNamesTypes["time"] = "time";
|
|
11
|
+
})(SelectNamesTypes || (exports.SelectNamesTypes = SelectNamesTypes = {}));
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
require("@testing-library/jest-dom/extend-expect");
|
|
8
8
|
const react_1 = require("@testing-library/react");
|
|
9
|
-
const index_1 = __importDefault(require("
|
|
9
|
+
const index_1 = __importDefault(require("./index"));
|
|
10
10
|
jest.mock('../ErrorLabel', () => ({
|
|
11
11
|
__esModule: true,
|
|
12
12
|
default: ({ children }) => ((0, jsx_runtime_1.jsx)("div", { "data-testid": "error-label", children: children })),
|
|
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const colors_1 = require("
|
|
8
|
-
const ErrorLabel_1 = __importDefault(require("
|
|
9
|
-
const Input_1 = require("
|
|
7
|
+
const colors_1 = require("../../../styles/colors");
|
|
8
|
+
const ErrorLabel_1 = __importDefault(require("../ErrorLabel"));
|
|
9
|
+
const Input_1 = require("../Input");
|
|
10
10
|
const constants_1 = require("@ludo.ninja/core/build/constants");
|
|
11
11
|
const react_1 = require("react");
|
|
12
12
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
13
|
-
const ScreenWidth_1 = require("
|
|
13
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
14
14
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
15
15
|
const BasicCheckbox = styled_components_1.default.label `
|
|
16
16
|
display: flex;
|