@ludo.ninja/components 2.0.1 → 2.0.3
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/graphql/index.d.ts +4 -0
- package/build/api/graphql/index.js +11 -0
- package/build/api/server-assets/mutations/useDislikeAsset/index.d.ts +7 -0
- package/build/api/server-assets/mutations/useDislikeAsset/index.js +32 -0
- package/build/api/server-assets/mutations/useLikeAsset/index.d.ts +7 -0
- package/build/api/server-assets/mutations/useLikeAsset/index.js +33 -0
- package/build/api/server-assets/queries/useFetchAssetByBlockchain/index.d.ts +14 -0
- package/build/api/server-assets/queries/useFetchAssetByBlockchain/index.js +48 -0
- package/build/api/server-assets/queries/useFetchAssets/index.d.ts +7 -0
- package/build/api/server-assets/queries/useFetchAssets/index.js +31 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.d.ts +8 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +35 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.d.ts +7 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +30 -0
- package/build/api/server-collection/mutations/useDislikeCollection/index.d.ts +7 -0
- package/build/api/server-collection/mutations/useDislikeCollection/index.js +31 -0
- package/build/api/server-collection/mutations/useLikeCollection/index.d.ts +7 -0
- package/build/api/server-collection/mutations/useLikeCollection/index.js +31 -0
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.d.ts +2 -0
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +84 -0
- package/build/api/server-experiences/queries/useFetchMyTasks/index.d.ts +31 -0
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +49 -0
- package/build/api/server-galleries/mutations/useAddAssetsToGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useAddAssetsToGallery/index.js +36 -0
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.d.ts +4 -0
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +30 -0
- package/build/api/server-galleries/mutations/useAddCollectionsToGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useAddCollectionsToGallery/index.js +35 -0
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +43 -0
- package/build/api/server-galleries/mutations/useCreateFavorites/index.d.ts +6 -0
- package/build/api/server-galleries/mutations/useCreateFavorites/index.js +25 -0
- package/build/api/server-galleries/mutations/useCreateGallery/index.d.ts +6 -0
- package/build/api/server-galleries/mutations/useCreateGallery/index.js +25 -0
- package/build/api/server-galleries/mutations/useDeleteGallery/index.d.ts +8 -0
- package/build/api/server-galleries/mutations/useDeleteGallery/index.js +42 -0
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.d.ts +5 -0
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +39 -0
- package/build/api/server-galleries/mutations/useEditGallery/index.d.ts +5 -0
- package/build/api/server-galleries/mutations/useEditGallery/index.js +23 -0
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +49 -0
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +44 -0
- package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +16 -0
- package/build/api/server-galleries/queries/useFetchGallery/index.js +46 -0
- package/build/api/server-galleries/queries/useFetchGalleryAssets/index.d.ts +18 -0
- package/build/api/server-galleries/queries/useFetchGalleryAssets/index.js +86 -0
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +10 -0
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +70 -0
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +10 -0
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +72 -0
- package/build/api/server-galleries/queries/useFetchSubscribedGalleries/index.d.ts +9 -0
- package/build/api/server-galleries/queries/useFetchSubscribedGalleries/index.js +69 -0
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +11 -0
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +68 -0
- package/build/api/server-identities/mutations/useAddWalletElrond/index.d.ts +6 -0
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletFlow/index.d.ts +5 -0
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.d.ts +12 -0
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +39 -0
- package/build/api/server-identities/mutations/useAddWalletSolana/index.d.ts +5 -0
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletTezos/index.d.ts +5 -0
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +35 -0
- package/build/api/server-identities/mutations/useFollowProfile/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useFollowProfile/index.js +40 -0
- package/build/api/server-identities/mutations/useGenerateNewInviteCodes/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useGenerateNewInviteCodes/index.js +31 -0
- package/build/api/server-identities/mutations/useInviteCode/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useInviteCode/index.js +34 -0
- package/build/api/server-identities/mutations/useRemoveWallet/index.d.ts +6 -0
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +37 -0
- package/build/api/server-identities/mutations/useRevokeToken/index.d.ts +4 -0
- package/build/api/server-identities/mutations/useRevokeToken/index.js +21 -0
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +34 -0
- package/build/api/server-identities/mutations/useUnfollowProfile/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +39 -0
- package/build/api/server-identities/queries/useFetchProfile/index.d.ts +16 -0
- package/build/api/server-identities/queries/useFetchProfile/index.js +80 -0
- package/build/api/server-identities/queries/useFetchUserWallets/index.d.ts +7 -0
- package/build/api/server-identities/queries/useFetchUserWallets/index.js +19 -0
- package/build/api/server-medias/mutations/useDeleteUserpic/index.d.ts +6 -0
- package/build/api/server-medias/mutations/useDeleteUserpic/index.js +20 -0
- package/build/api/server-medias/mutations/useUploadUserpic/index.d.ts +4 -0
- package/build/api/server-medias/mutations/useUploadUserpic/index.js +27 -0
- package/build/api/server-medias/queries/useFetchUserPic/index.d.ts +12 -0
- package/build/api/server-medias/queries/useFetchUserPic/index.js +39 -0
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.d.ts +4 -0
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +29 -0
- package/build/api/server-opportunities/mutations/useLikeOpportunity.d.ts +4 -0
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +29 -0
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.d.ts +5 -0
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +28 -0
- package/build/api/server-opportunities/queries/useGetOpportunities.d.ts +4 -0
- package/build/api/server-opportunities/queries/useGetOpportunities.js +26 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/index.d.ts +28 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/index.js +33 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.d.ts +14 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +37 -0
- package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +32 -0
- package/build/api/server-search/queries/useFetchAllCreations/index.js +94 -0
- package/build/api/server-search/queries/useFetchAssetsCount/index.d.ts +7 -0
- package/build/api/server-search/queries/useFetchAssetsCount/index.js +33 -0
- package/build/api/server-search/queries/useFetchCollection/index.d.ts +19 -0
- package/build/api/server-search/queries/useFetchCollection/index.js +59 -0
- package/build/api/server-search/queries/useFetchCollections/index.d.ts +23 -0
- package/build/api/server-search/queries/useFetchCollections/index.js +101 -0
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +13 -0
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +126 -0
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +47 -0
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +59 -0
- package/build/api/server-search/queries/useFetchNetWorth/index.d.ts +7 -0
- package/build/api/server-search/queries/useFetchNetWorth/index.js +23 -0
- package/build/api/server-search/queries/useFindCreations/index.d.ts +34 -0
- package/build/api/server-search/queries/useFindCreations/index.js +107 -0
- package/build/api/server-search/queries/useFindProfilesByName/index.d.ts +32 -0
- package/build/api/server-search/queries/useFindProfilesByName/index.js +59 -0
- package/build/api/server-search/queries/useFindShowcaseItems/index.d.ts +2 -0
- package/build/api/server-search/queries/useFindShowcaseItems/index.js +42 -0
- package/build/api/server-search/queries/useFindUserCreations/index.d.ts +16 -0
- package/build/api/server-search/queries/useFindUserCreations/index.js +95 -0
- package/build/api/server-search/queries/useFindUserShowcaseItems/index.d.ts +2 -0
- package/build/api/server-search/queries/useFindUserShowcaseItems/index.js +40 -0
- package/build/api/subscriptions/SubscriberInviteNotification.d.ts +1 -0
- package/build/api/subscriptions/SubscriberInviteNotification.js +44 -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 +6 -0
- package/build/components/assetPage/category/index.js +55 -0
- package/build/components/assetPage/description/index.d.ts +4 -0
- package/build/components/assetPage/description/index.js +43 -0
- package/build/components/assetPage/index.d.ts +11 -0
- package/build/components/assetPage/index.js +25 -0
- package/build/components/assetPage/information/index.d.ts +6 -0
- package/build/components/assetPage/information/index.js +117 -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/participants/index.d.ts +9 -0
- package/build/components/assetPage/participants/index.js +178 -0
- package/build/components/assetPage/priceRank/index.d.ts +9 -0
- package/build/components/assetPage/priceRank/index.js +112 -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/index.d.ts +5 -0
- package/build/components/assetPage/slider/index.js +178 -0
- package/build/components/assetPage/slider/slideItem.d.ts +5 -0
- package/build/components/assetPage/slider/slideItem.js +53 -0
- package/build/components/assetPage/slider/store.d.ts +8 -0
- package/build/components/assetPage/slider/store.js +16 -0
- package/build/components/assetPage/tittle/index.d.ts +9 -0
- package/build/components/assetPage/tittle/index.js +89 -0
- package/build/components/assetPage/viewer3D/index.d.ts +7 -0
- package/build/components/assetPage/viewer3D/index.js +123 -0
- package/build/components/base/Meta/index.d.ts +2 -0
- package/build/components/base/Meta/index.js +39 -0
- package/build/components/base/NoSSR/index.d.ts +5 -0
- package/build/components/base/NoSSR/index.js +11 -0
- 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/MobileToggle/index.d.ts +0 -0
- package/build/components/headers/components/MobileToggle/index.js +1 -0
- package/build/components/headers/components/headerExperienceLabel/index.d.ts +4 -0
- package/build/components/headers/components/headerExperienceLabel/index.js +31 -0
- package/build/components/headers/components/headerUserPic/index.d.ts +4 -0
- package/build/components/headers/components/headerUserPic/index.js +29 -0
- package/build/components/headers/header/index.d.ts +2 -0
- package/build/components/headers/header/index.js +30 -0
- package/build/components/headers/headerSearch/index.d.ts +2 -0
- package/build/components/headers/headerSearch/index.js +37 -0
- package/build/components/headers/headerSimple/index.d.ts +2 -0
- package/build/components/headers/headerSimple/index.js +76 -0
- package/build/components/linkTabs/index.d.ts +7 -0
- package/build/components/linkTabs/index.js +51 -0
- package/build/components/linkTabs/linkTab/index.d.ts +8 -0
- package/build/components/linkTabs/linkTab/index.js +74 -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.d.ts +26 -0
- package/build/components/search/SearchInputContainer.js +226 -0
- package/build/components/search/searchCloseMoreButtons/index.d.ts +14 -0
- package/build/components/search/searchCloseMoreButtons/index.js +58 -0
- package/build/components/search/searchSimpleInput/index.d.ts +4 -0
- package/build/components/search/searchSimpleInput/index.js +139 -0
- package/build/components/search/searchSuggestions/index.d.ts +14 -0
- package/build/components/search/searchSuggestions/index.js +145 -0
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +7 -0
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +45 -0
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +2 -0
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +52 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +11 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +117 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +3 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +116 -0
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +4 -0
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +46 -0
- 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 +121 -0
- package/build/components/sidebar/data.d.ts +19 -0
- package/build/components/sidebar/data.js +80 -0
- package/build/components/sidebar/index.d.ts +2 -0
- package/build/components/sidebar/index.js +160 -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 +38 -0
- package/build/components/toTopBtn/index.d.ts +5 -0
- package/build/components/toTopBtn/index.js +95 -0
- package/build/dto/AssetEntity/index.d.ts +63 -0
- package/build/dto/AssetEntity/index.js +223 -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 +9 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.js +27 -0
- package/build/dto/AssetEntity/views/AssetImage/index.d.ts +10 -0
- package/build/dto/AssetEntity/views/AssetImage/index.js +38 -0
- package/build/dto/AssetEntity/views/AssetObject/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetObject/index.js +59 -0
- package/build/dto/AssetEntity/views/AssetOther/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetOther/index.js +43 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +10 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +38 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +9 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.js +27 -0
- package/build/dto/AssetEntity/views/index.d.ts +6 -0
- package/build/dto/AssetEntity/views/index.js +16 -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 +82 -0
- package/build/dto/GalleryEntityV2/interface.d.ts +16 -0
- package/build/dto/GalleryEntityV2/interface.js +2 -0
- package/build/dto/Theme/interface.d.ts +2 -0
- package/build/dto/Theme/interface.js +5 -0
- package/build/dto/common/ItemType/data.d.ts +3 -0
- package/build/dto/common/ItemType/data.js +36 -0
- package/build/dto/common/ItemType/index.d.ts +45 -0
- package/build/dto/common/ItemType/index.js +42 -0
- package/build/dto/common/ItemViews/CreationAudio/index.d.ts +9 -0
- package/build/dto/common/ItemViews/CreationAudio/index.js +27 -0
- package/build/dto/common/ItemViews/CreationImage/index.d.ts +10 -0
- package/build/dto/common/ItemViews/CreationImage/index.js +38 -0
- package/build/dto/common/ItemViews/CreationObject/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationObject/index.js +30 -0
- package/build/dto/common/ItemViews/CreationOther/index.d.ts +9 -0
- package/build/dto/common/ItemViews/CreationOther/index.js +27 -0
- package/build/dto/common/ItemViews/CreationVideo/index.d.ts +9 -0
- package/build/dto/common/ItemViews/CreationVideo/index.js +27 -0
- package/build/dto/common/Media/Audio/index.d.ts +13 -0
- package/build/dto/common/Media/Audio/index.js +37 -0
- package/build/dto/common/Media/Image/index.d.ts +13 -0
- package/build/dto/common/Media/Image/index.js +45 -0
- package/build/dto/common/Media/Object/index.d.ts +13 -0
- package/build/dto/common/Media/Object/index.js +46 -0
- package/build/dto/common/Media/Other/index.d.ts +13 -0
- package/build/dto/common/Media/Other/index.js +65 -0
- package/build/dto/common/Media/Screenshot/index.d.ts +13 -0
- package/build/dto/common/Media/Screenshot/index.js +45 -0
- package/build/dto/common/Media/Urls/index.d.ts +31 -0
- package/build/dto/common/Media/Urls/index.js +124 -0
- package/build/dto/common/Media/Video/index.d.ts +13 -0
- package/build/dto/common/Media/Video/index.js +37 -0
- package/build/dto/common/Media/index.d.ts +26 -0
- package/build/dto/common/Media/index.js +45 -0
- package/build/dto/common/Media/interface.d.ts +28 -0
- package/build/dto/common/Media/interface.js +2 -0
- package/build/entities/user/type.d.ts +5 -0
- package/build/entities/user/type.js +2 -0
- package/build/fonts/FontsInitializeLayout.d.ts +6 -0
- package/build/fonts/FontsInitializeLayout.js +160 -0
- package/build/fonts/vars.d.ts +1 -0
- package/build/fonts/vars.js +6 -0
- package/build/hooks/apollo/index.d.ts +2 -0
- package/build/hooks/apollo/index.js +13 -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 +23 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +132 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +24 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +188 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +24 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +177 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +150 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +125 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +135 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +18 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +139 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +151 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +19 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +49 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +15 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.js +117 -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 +97 -0
- package/build/index.d.ts +0 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +19 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +221 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.js +40 -0
- package/build/modules/gallery/store.d.ts +26 -0
- package/build/modules/gallery/store.js +101 -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 +28 -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 +2 -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 +92 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +161 -0
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +13 -0
- package/build/modules/gallery/ui/createGalleryForm/index.js +140 -0
- package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
- package/build/modules/gallery/ui/editGalleryForm/index.js +192 -0
- package/build/modules/gallery/ui/itemsPreview/index.d.ts +20 -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 +41 -0
- package/build/modules/notifications/index.d.ts +22 -0
- package/build/modules/notifications/index.js +6 -0
- package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
- package/build/modules/opportunity/OpportunityCard.js +235 -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 +201 -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/index.d.ts +14 -0
- package/build/modules/sessionScroll/index.js +61 -0
- package/build/modules/sessionScroll/type.d.ts +7 -0
- package/build/modules/sessionScroll/type.js +2 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +59 -0
- package/build/modules/user/auth/useAuthVerification.d.ts +1 -0
- package/build/modules/user/auth/useAuthVerification.js +74 -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 +37 -0
- package/build/modules/user/profileData/profileDataInitialization.d.ts +1 -0
- package/build/modules/user/profileData/profileDataInitialization.js +59 -0
- package/build/modules/user/store.d.ts +33 -0
- package/build/modules/user/store.js +73 -0
- 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 +7 -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/store/env/index.d.ts +22 -0
- package/build/store/env/index.js +37 -0
- package/build/store/index.d.ts +10 -0
- package/build/store/index.js +12 -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.d.ts +2 -0
- package/build/store/ui/index.js +116 -0
- package/build/store/ui/types.d.ts +34 -0
- package/build/store/ui/types.js +2 -0
- package/build/store/ui/utils.d.ts +7 -0
- package/build/store/ui/utils.js +25 -0
- package/build/styles/ScreenWidth.d.ts +22 -0
- package/build/styles/ScreenWidth.js +26 -0
- package/build/styles/animations/index.d.ts +2 -0
- package/build/styles/animations/index.js +20 -0
- package/build/styles/colors/index.d.ts +1 -0
- package/build/styles/colors/index.js +38 -0
- package/build/styles/globalStyles.d.ts +3 -0
- package/build/styles/globalStyles.js +86 -0
- package/build/styles/mixins/boxShadow.d.ts +2 -0
- package/build/styles/mixins/boxShadow.js +13 -0
- package/build/styles/mixins/boxTransform.d.ts +2 -0
- package/build/styles/mixins/boxTransform.js +12 -0
- package/build/styles/mixins/z-indexes.d.ts +10 -0
- package/build/styles/mixins/z-indexes.js +13 -0
- package/build/styles/typography/index.d.ts +1 -0
- package/build/styles/typography/index.js +13 -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/Alert/type.d.ts +2 -0
- package/build/system/Alert/type.js +8 -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/CardCheckbox.test.d.ts +1 -0
- package/build/system/Cards/CardCheckbox/CardCheckbox.test.js +35 -0
- package/build/system/Cards/CardCheckbox/index.d.ts +5 -0
- package/build/system/Cards/CardCheckbox/index.js +92 -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 +7 -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 +6 -0
- package/build/system/Cards/CardMedia/CardImage/index.js +19 -0
- package/build/system/Cards/CardMedia/CardVideo/index.d.ts +6 -0
- package/build/system/Cards/CardMedia/CardVideo/index.js +54 -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 +13 -0
- package/build/system/Cards/CreationCard/CardHead.js +76 -0
- package/build/system/Cards/CreationCard/index.d.ts +28 -0
- package/build/system/Cards/CreationCard/index.js +124 -0
- package/build/system/Cards/MultiMediaCard/index.d.ts +9 -0
- package/build/system/Cards/MultiMediaCard/index.js +130 -0
- package/build/system/Cards/Styles/Content.d.ts +3 -0
- package/build/system/Cards/Styles/Content.js +40 -0
- package/build/system/Cards/Styles/Head.d.ts +3 -0
- package/build/system/Cards/Styles/Head.js +45 -0
- package/build/system/Cards/Styles/Headicons.d.ts +5 -0
- package/build/system/Cards/Styles/Headicons.js +121 -0
- package/build/system/Cards/Styles/Image.d.ts +5 -0
- package/build/system/Cards/Styles/Image.js +24 -0
- package/build/system/Cards/Styles/Likes.d.ts +5 -0
- package/build/system/Cards/Styles/Likes.js +53 -0
- package/build/system/Cards/Styles/MultiHead.d.ts +3 -0
- package/build/system/Cards/Styles/MultiHead.js +44 -0
- package/build/system/Cards/Styles/Video.d.ts +3 -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.d.ts +8 -0
- package/build/system/DropDown/index.js +65 -0
- package/build/system/Filters/helpers.d.ts +6 -0
- package/build/system/Filters/helpers.js +8 -0
- 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.d.ts +1 -0
- package/build/system/Forms/Checkbox/Checkbox.test.js +76 -0
- package/build/system/Forms/Checkbox/index.d.ts +22 -0
- package/build/system/Forms/Checkbox/index.js +64 -0
- package/build/system/Forms/DatePicker/index.d.ts +16 -0
- package/build/system/Forms/DatePicker/index.js +137 -0
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +1 -0
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +28 -0
- package/build/system/Forms/ErrorLabel/index.d.ts +7 -0
- package/build/system/Forms/ErrorLabel/index.js +25 -0
- package/build/system/Forms/Input/Input.test.d.ts +1 -0
- package/build/system/Forms/Input/Input.test.js +54 -0
- package/build/system/Forms/Input/index.d.ts +16 -0
- package/build/system/Forms/Input/index.js +72 -0
- package/build/system/Forms/Input/type.d.ts +5 -0
- package/build/system/Forms/Input/type.js +2 -0
- package/build/system/Forms/Messages/index.d.ts +67 -0
- package/build/system/Forms/Messages/index.js +69 -0
- package/build/system/Forms/RadioInput/index.d.ts +12 -0
- package/build/system/Forms/RadioInput/index.js +73 -0
- package/build/system/Forms/Selects/DesktopSelect/index.d.ts +12 -0
- package/build/system/Forms/Selects/DesktopSelect/index.js +184 -0
- package/build/system/Forms/Selects/DesktopSelect/type.d.ts +5 -0
- package/build/system/Forms/Selects/DesktopSelect/type.js +2 -0
- package/build/system/Forms/Selects/MobileSelect/index.d.ts +14 -0
- package/build/system/Forms/Selects/MobileSelect/index.js +31 -0
- package/build/system/Forms/TextArea/TextArea.test.d.ts +1 -0
- package/build/system/Forms/TextArea/TextArea.test.js +54 -0
- package/build/system/Forms/TextArea/index.d.ts +14 -0
- package/build/system/Forms/TextArea/index.js +70 -0
- package/build/system/Forms/index.d.ts +5 -0
- package/build/system/Forms/index.js +14 -0
- package/build/system/Img/ExternalImage/index.d.ts +6 -0
- package/build/system/Img/ExternalImage/index.js +22 -0
- package/build/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +1 -0
- package/build/system/Img/ImageInterceptor/ImageInterceptor.test.js +45 -0
- package/build/system/Img/ImageInterceptor/index.d.ts +17 -0
- package/build/system/Img/ImageInterceptor/index.js +60 -0
- package/build/system/Img/Profilepic/index.d.ts +10 -0
- package/build/system/Img/Profilepic/index.js +34 -0
- package/build/system/Img/Userpic/UserPic.test.d.ts +2 -0
- package/build/system/Img/Userpic/UserPic.test.js +65 -0
- package/build/system/Img/Userpic/index.d.ts +9 -0
- package/build/system/Img/Userpic/index.js +84 -0
- package/build/system/Img/index.d.ts +3 -0
- package/build/system/Img/index.js +19 -0
- package/build/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +1 -0
- package/build/system/Labels/ExperienceLabel/ExperienceLabel.test.js +52 -0
- package/build/system/Labels/ExperienceLabel/index.d.ts +6 -0
- package/build/system/Labels/ExperienceLabel/index.js +65 -0
- 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/Labels/SkeletonLabel/index.d.ts +2 -0
- package/build/system/Labels/SkeletonLabel/index.js +7 -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 +4 -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/system/theme.d.ts +1 -0
- package/build/system/theme.js +7 -0
- package/build/utils/3d.d.ts +5 -0
- package/build/utils/3d.js +44 -0
- package/build/utils/adaptive/check4k.d.ts +5 -0
- package/build/utils/adaptive/check4k.js +16 -0
- package/build/utils/adaptive/scale.d.ts +9 -0
- package/build/utils/adaptive/scale.js +18 -0
- package/build/utils/auth/index.d.ts +1 -0
- package/build/utils/auth/index.js +9 -0
- package/build/utils/copyBtn/index.d.ts +5 -0
- package/build/utils/copyBtn/index.js +46 -0
- package/build/utils/env/index.d.ts +1 -0
- package/build/utils/env/index.js +5 -0
- package/build/utils/extractItemIds.d.ts +2 -0
- package/build/utils/extractItemIds.js +13 -0
- package/build/utils/getDimensionsImage.d.ts +4 -0
- package/build/utils/getDimensionsImage.js +38 -0
- package/build/utils/getPageSizeAssets.d.ts +5 -0
- package/build/utils/getPageSizeAssets.js +17 -0
- package/build/utils/imageProportionsSize/index.d.ts +5 -0
- package/build/utils/imageProportionsSize/index.js +23 -0
- package/build/utils/screen/index.d.ts +18 -0
- package/build/utils/screen/index.js +87 -0
- package/build/utils/seacrhTabs.d.ts +4 -0
- package/build/utils/seacrhTabs.js +17 -0
- package/build/utils/ssrFunctions/index.d.ts +17 -0
- package/build/utils/ssrFunctions/index.js +33 -0
- package/build/utils/ui/index.d.ts +8 -0
- package/build/utils/ui/index.js +6 -0
- package/package.json +2 -2
- package/public/404/404.svg +8 -0
- package/public/500/500.svg +8 -0
- package/public/MobileSearchBtn/close.svg +3 -0
- package/public/MobileSearchBtn/search.svg +4 -0
- package/public/MobileSearchBtn/test/pirate.svg +9 -0
- package/public/MobileSearchBtn/test/squircle.svg +9 -0
- package/public/alerts/close.svg +5 -0
- package/public/alerts/errorIcon.svg +4 -0
- package/public/alerts/successIcon.svg +4 -0
- package/public/alerts/warningIcon.svg +8 -0
- package/public/assetPage/arrow.svg +3 -0
- package/public/assetPage/audioPlaceholder.svg +35 -0
- package/public/assetPage/details.svg +6 -0
- package/public/assetPage/favorite.svg +3 -0
- package/public/assetPage/favorite_hover.svg +3 -0
- package/public/assetPage/flag.svg +5 -0
- package/public/assetPage/fullScreen.svg +3 -0
- package/public/assetPage/owners.svg +4 -0
- package/public/assetPage/pause.svg +4 -0
- package/public/assetPage/play.svg +3 -0
- package/public/assetPage/share.svg +3 -0
- package/public/assetPage/share2.svg +3 -0
- package/public/assetPage/share2_hover.svg +3 -0
- package/public/assetPage/shareWithDots.svg +6 -0
- package/public/assetPage/shareWithDots_hover.svg +6 -0
- package/public/assetPage/share_hover.svg +3 -0
- package/public/assetPage/soundOf.svg +3 -0
- package/public/assetPage/soundOn.svg +3 -0
- package/public/banner/banner_img.svg +96 -0
- package/public/banner/banner_stroke.svg +3 -0
- package/public/button_skin/accept.svg +11 -0
- package/public/button_skin/decline.svg +11 -0
- package/public/calendar.svg +3 -0
- package/public/cards/addToFavListIcon.svg +5 -0
- package/public/cards/addToGalleryIcon.svg +3 -0
- package/public/cards/heart.svg +3 -0
- package/public/cardsHolderLoader/loader.svg +4 -0
- package/public/checkbox-on.svg +4 -0
- package/public/checkboxArrow.svg +3 -0
- package/public/close.svg +3 -0
- package/public/close20.svg +4 -0
- package/public/collectionPage/export.svg +3 -0
- package/public/copied.svg +4 -0
- package/public/copy-icon-new.svg +4 -0
- package/public/creation/card/moreBtn.svg +6 -0
- package/public/creation/card/moreBtnVertical.svg +5 -0
- package/public/creation/card/moreBtn_hover.svg +5 -0
- package/public/defaultUserpics/0.svg +24 -0
- package/public/defaultUserpics/1.svg +24 -0
- package/public/defaultUserpics/10.svg +24 -0
- package/public/defaultUserpics/11.svg +24 -0
- package/public/defaultUserpics/12.svg +24 -0
- package/public/defaultUserpics/13.svg +24 -0
- package/public/defaultUserpics/14.svg +24 -0
- package/public/defaultUserpics/15.svg +24 -0
- package/public/defaultUserpics/16.svg +24 -0
- package/public/defaultUserpics/17.svg +24 -0
- package/public/defaultUserpics/18.svg +24 -0
- package/public/defaultUserpics/19.svg +24 -0
- package/public/defaultUserpics/2.svg +24 -0
- package/public/defaultUserpics/20.svg +24 -0
- package/public/defaultUserpics/3.svg +24 -0
- package/public/defaultUserpics/4.svg +24 -0
- package/public/defaultUserpics/5.svg +24 -0
- package/public/defaultUserpics/6.svg +24 -0
- package/public/defaultUserpics/7.svg +24 -0
- package/public/defaultUserpics/8.svg +24 -0
- package/public/defaultUserpics/9.svg +24 -0
- package/public/defaultUserpics/defaultUserpic.svg +31 -0
- package/public/dropDown/arrow_down.svg +3 -0
- package/public/dropdown-arrow-down.svg +3 -0
- package/public/dropdown-arrow-up.svg +3 -0
- package/public/error/refresh.svg +4 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/follower.svg +4 -0
- package/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
- package/public/forms/checkbox/checked.svg +4 -0
- package/public/formsBg/get_early_access_bg.jpg +0 -0
- package/public/gallery/defaultImage.svg +3 -0
- package/public/gallery/delete.svg +4 -0
- package/public/header/mobile_menu_icons/arrows/arrow_down.svg +3 -0
- package/public/header/mobile_menu_icons/arrows/arrow_up.svg +3 -0
- package/public/header/mobile_menu_icons/campaigns.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/add_new_campaign.svg +10 -0
- package/public/header/mobile_menu_icons/dropdown/my_galleries.svg +12 -0
- package/public/header/mobile_menu_icons/dropdown/my_profile.svg +5 -0
- package/public/header/mobile_menu_icons/dropdown/my_wallets.svg +5 -0
- package/public/header/mobile_menu_icons/dropdown/notifications.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/top_campaigns.svg +7 -0
- package/public/header/mobile_menu_icons/dropdown/top_creations.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/top_creators.svg +10 -0
- package/public/header/mobile_menu_icons/dropdown/top_galleries.svg +13 -0
- package/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.svg +10 -0
- package/public/header/mobile_menu_icons/experiences.svg +11 -0
- package/public/header/mobile_menu_icons/settings.svg +3 -0
- package/public/header/mobile_menu_icons/sign_out.svg +4 -0
- package/public/header/mobile_menu_icons/submit_nft.svg +16 -0
- package/public/header/mobile_menu_icons/top.svg +7 -0
- package/public/header/mobile_toggle/close.svg +3 -0
- package/public/header/mobile_toggle/regular.svg +3 -0
- package/public/iconButton/share.svg +6 -0
- package/public/iconButton/trash.svg +5 -0
- package/public/iconButton/trash_open.svg +6 -0
- package/public/like-icon-active.svg +4 -0
- package/public/like-icon.svg +3 -0
- package/public/logOut/logOutBtn.svg +5 -0
- package/public/logo/main_logo.svg +214 -0
- package/public/logo/main_logo_dark.svg +49 -0
- package/public/logo/mobile_logo.svg +210 -0
- package/public/logo/mobile_logo_dark.svg +45 -0
- package/public/ludo-logo-small.svg +5 -0
- package/public/ludo-logo-square.svg +9 -0
- package/public/modal/close.svg +3 -0
- package/public/noContent/noContent.svg +9 -0
- package/public/noContent/noContentAudio.svg +34 -0
- package/public/noContent/noContentObject.svg +35 -0
- package/public/no_image placeholder.svg +9 -0
- package/public/no_media_placeholder.svg +222 -0
- package/public/report.svg +6 -0
- package/public/rewardsPage/XP_logo.svg +22 -0
- package/public/rewardsPage/arrow_up_light.svg +3 -0
- package/public/rewardsPage/banner_rewards.svg +9 -0
- package/public/rewardsPage/banner_rewards_mobile.svg +9 -0
- package/public/rewardsPage/banner_rewards_tablet.svg +9 -0
- package/public/rewardsPage/banner_seasons.svg +9 -0
- package/public/rewardsPage/defaultUserPic.svg +9 -0
- package/public/rewardsPage/ludo_logo_white.svg +49 -0
- package/public/search/arrow_up.svg +3 -0
- package/public/search/back.svg +3 -0
- package/public/search/close.svg +3 -0
- package/public/search/no_found.svg +4 -0
- package/public/search/search.svg +4 -0
- package/public/search-icon.svg +4 -0
- package/public/selects/arrow_down.svg +3 -0
- package/public/services/opensea.svg +5 -0
- package/public/services/other.svg +8 -0
- package/public/services/rarible.svg +4 -0
- package/public/settings_page/back.svg +3 -0
- package/public/settings_page/burger_menu.svg +5 -0
- package/public/settings_page/notifications.svg +5 -0
- package/public/settings_page/notifications_active.svg +5 -0
- package/public/settings_page/privacy.svg +4 -0
- package/public/settings_page/privacy_active.svg +4 -0
- package/public/settings_page/settings.svg +5 -0
- package/public/settings_page/settings_active.svg +5 -0
- package/public/settings_page/upload.svg +4 -0
- package/public/share/copy-link-btn.svg +6 -0
- package/public/share/email-btn.svg +5 -0
- package/public/share/facebook-btn.svg +5 -0
- package/public/share/insta-btn.svg +21 -0
- package/public/share/reddit-btn.svg +11 -0
- package/public/share/telegram-btn.svg +4 -0
- package/public/share/twitter-btn.svg +5 -0
- package/public/share/whatsapp-btn.svg +6 -0
- package/public/share-icon.svg +7 -0
- package/public/showCaseIcons/heart.svg +3 -0
- package/public/sidebar/aboutLudo.svg +40 -0
- package/public/sidebar/aboutLudoDark.svg +52 -0
- package/public/sidebar/api.svg +3 -0
- package/public/sidebar/close.svg +3 -0
- package/public/sidebar/disconnect.svg +3 -0
- package/public/sidebar/explore.svg +5 -0
- package/public/sidebar/ludoX.svg +63 -0
- package/public/sidebar/my-invites.svg +4 -0
- package/public/sidebar/rewards.svg +4 -0
- package/public/sidebar/submitNft.svg +3 -0
- package/public/socials/facebook.svg +4 -0
- package/public/socials/instagram.svg +5 -0
- package/public/socials/twitter.svg +3 -0
- package/public/socials/website.svg +8 -0
- package/public/tabs/arrow_right.svg +3 -0
- package/public/tabs/arrow_right_dark.svg +3 -0
- package/public/tests/audio.mp3 +0 -0
- package/public/tests/test_1.svg +11 -0
- package/public/toTopBtn/toTopBtn.svg +4 -0
- package/public/upload-userpic.svg +11 -0
- package/public/userpic-placeholder.jpg +0 -0
- package/public/userpics/placeholder-lg-1.svg +10 -0
- package/public/userpics/placeholder-sm-1.svg +10 -0
- package/public/video/pause.svg +5 -0
- package/public/video/play.svg +4 -0
- package/public/wallets/arkane-btn.svg +5 -0
- package/public/wallets/bitski-btn.svg +12 -0
- package/public/wallets/elrond-btn.svg +36 -0
- package/public/wallets/elrond-icon-sm.svg +35 -0
- package/public/wallets/elrond.svg +4 -0
- package/public/wallets/ethereum-icon-sm.svg +7 -0
- package/public/wallets/flow-btn.svg +6 -0
- package/public/wallets/flow-icon-sm.svg +12 -0
- package/public/wallets/formatic-btn.svg +4 -0
- package/public/wallets/formatic-icon-sm.svg +4 -0
- package/public/wallets/maiar-btn.svg +17 -0
- package/public/wallets/maiar-icon-sm.svg +17 -0
- package/public/wallets/metamask-btn.svg +33 -0
- package/public/wallets/metamask-icon-sm.svg +32 -0
- package/public/wallets/phantom.svg +4 -0
- package/public/wallets/plus.svg +4 -0
- package/public/wallets/solana-btn.svg +20 -0
- package/public/wallets/solana-icon-sm.svg +19 -0
- package/public/wallets/terra-btn.svg +29 -0
- package/public/wallets/terra-icon-sm.svg +29 -0
- package/public/wallets/tezos-btn.svg +12 -0
- package/public/wallets/tezos-icon-sm.svg +11 -0
- package/public/wallets/wallet_connect.svg +4 -0
- package/public/wallets/walletconnect-btn.svg +3 -0
- package/public/wallets/walletlink-btn.svg +5 -0
- package/public/wallets/walletlink-icon-sm.svg +5 -0
- package/public/wallets/xdefi-btn.svg +6 -0
- package/public/wallets/xdefi-icon-sm.svg +6 -0
- package/public/warning.svg +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
require("@testing-library/jest-dom");
|
|
8
|
+
const react_1 = require("@testing-library/react");
|
|
9
|
+
const colors_1 = require("@/styles/colors");
|
|
10
|
+
const index_1 = __importDefault(require("@/system/Forms/Input/index"));
|
|
11
|
+
jest.mock('../ErrorLabel', () => ({
|
|
12
|
+
__esModule: true,
|
|
13
|
+
default: ({ children }) => ((0, jsx_runtime_1.jsx)("div", { "data-testid": "error-label", children: children })),
|
|
14
|
+
}));
|
|
15
|
+
const mockRegister = {
|
|
16
|
+
name: 'test-input',
|
|
17
|
+
onBlur: jest.fn(),
|
|
18
|
+
onChange: jest.fn(),
|
|
19
|
+
ref: jest.fn(),
|
|
20
|
+
};
|
|
21
|
+
const mockData = {
|
|
22
|
+
name: 'test-input',
|
|
23
|
+
placeHolder: 'Enter text...',
|
|
24
|
+
labelText: 'Test Input',
|
|
25
|
+
};
|
|
26
|
+
const renderComponent = (error) => {
|
|
27
|
+
return (0, react_1.render)((0, jsx_runtime_1.jsx)(index_1.default, { data: mockData, register: mockRegister, error: error }));
|
|
28
|
+
};
|
|
29
|
+
describe('Input Component', () => {
|
|
30
|
+
test('renders input element with correct attributes', () => {
|
|
31
|
+
renderComponent({ isNeedShowError: false, message: undefined });
|
|
32
|
+
const inputElement = react_1.screen.getByPlaceholderText('Enter text...');
|
|
33
|
+
expect(inputElement).toBeInTheDocument();
|
|
34
|
+
expect(inputElement.name).toBe('test-input');
|
|
35
|
+
expect(inputElement.id).toBe('test-input');
|
|
36
|
+
});
|
|
37
|
+
test('applies error styles when there is an error', () => {
|
|
38
|
+
renderComponent({ isNeedShowError: true, message: 'Error message' });
|
|
39
|
+
const inputElement = react_1.screen.getByPlaceholderText('Enter text...');
|
|
40
|
+
expect(inputElement).toHaveStyle(`border-color: ${colors_1.ProgressColorMinimum}`);
|
|
41
|
+
expect(react_1.screen.getByTestId('error-label')).toHaveTextContent('Error message');
|
|
42
|
+
});
|
|
43
|
+
test('does not render error label when there is no error', () => {
|
|
44
|
+
renderComponent({ isNeedShowError: false, message: undefined });
|
|
45
|
+
const errorLabel = react_1.screen.queryByTestId('error-label');
|
|
46
|
+
expect(errorLabel).toBeNull();
|
|
47
|
+
});
|
|
48
|
+
test('renders error label when there is an error', () => {
|
|
49
|
+
renderComponent({ isNeedShowError: true, message: 'Error message' });
|
|
50
|
+
const errorLabel = react_1.screen.getByTestId('error-label');
|
|
51
|
+
expect(errorLabel).toBeInTheDocument();
|
|
52
|
+
expect(errorLabel).toHaveTextContent('Error message');
|
|
53
|
+
});
|
|
54
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
|
+
import { inputType } from './type';
|
|
4
|
+
export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
5
|
+
status: boolean;
|
|
6
|
+
}>> & string;
|
|
7
|
+
interface Props {
|
|
8
|
+
data: inputType;
|
|
9
|
+
register: UseFormRegisterReturn;
|
|
10
|
+
error: {
|
|
11
|
+
isNeedShowError: boolean;
|
|
12
|
+
message: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
declare const Input: React.FC<Props>;
|
|
16
|
+
export default Input;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.StyledInput = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
10
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
11
|
+
const ScreenWidth_1 = require("@/styles/ScreenWidth");
|
|
12
|
+
const colors_2 = require("@/styles/colors");
|
|
13
|
+
const typography_1 = require("@/styles/typography");
|
|
14
|
+
const ErrorLabel_1 = __importDefault(require("@/system/Forms/ErrorLabel"));
|
|
15
|
+
const vars_1 = require("@/fonts/vars");
|
|
16
|
+
// Styles
|
|
17
|
+
exports.StyledInput = styled_components_1.default.input `
|
|
18
|
+
font-family: ${vars_1.dmsansFontVarCss.css};
|
|
19
|
+
${typography_1.MainText};
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 46px;
|
|
22
|
+
border-radius: 6px;
|
|
23
|
+
border: 1px solid
|
|
24
|
+
${(props) => (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight)};
|
|
25
|
+
background: ${colors_2.WhiteColor};
|
|
26
|
+
color: ${colors_2.BlackColor};
|
|
27
|
+
outline: none;
|
|
28
|
+
padding: 12px;
|
|
29
|
+
|
|
30
|
+
::placeholder {
|
|
31
|
+
color: ${colors_2.TextGrayColor};
|
|
32
|
+
opacity: 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:-ms-input-placeholder {
|
|
36
|
+
color: ${colors_2.TextGrayColor};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
::-ms-input-placeholder {
|
|
40
|
+
color: ${colors_2.TextGrayColor};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:disabled {
|
|
44
|
+
background: ${colors_1.DisabledLightGrayColor};
|
|
45
|
+
color: ${colors_1.DisabledGrayColor};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// :focus {
|
|
49
|
+
// transition: border-color 0.3s ease-in-out;
|
|
50
|
+
// border: 2px solid ${(props) => (props.status ? '#F4205F' : '#C1C8DE')};
|
|
51
|
+
// }
|
|
52
|
+
// :hover {
|
|
53
|
+
// transition: border-color 0.3s ease-in-out;
|
|
54
|
+
// border: 2px solid ${(props) => (props.status ? '#F4205F' : '#C1C8DE')};
|
|
55
|
+
// }
|
|
56
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
57
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(46)};
|
|
58
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
59
|
+
border: ${(0, _4k_1.adaptiveValueCalc)(1)} solid
|
|
60
|
+
${(props) => (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight)};
|
|
61
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(12)};
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
const Input = ({ data, register, error }) => {
|
|
65
|
+
const renderError = () => {
|
|
66
|
+
if (error.isNeedShowError) {
|
|
67
|
+
return (0, jsx_runtime_1.jsx)(ErrorLabel_1.default, { children: error.message });
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(exports.StyledInput, { ...register, status: error.isNeedShowError, id: data.name, name: data.name, autoComplete: 'off', placeholder: data.placeHolder }), renderError()] }));
|
|
71
|
+
};
|
|
72
|
+
exports.default = Input;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const messages: {
|
|
2
|
+
galleryName: {
|
|
3
|
+
maxLength: {
|
|
4
|
+
value: number;
|
|
5
|
+
message: string;
|
|
6
|
+
};
|
|
7
|
+
required: string;
|
|
8
|
+
};
|
|
9
|
+
galleryDescription: {
|
|
10
|
+
maxLength: {
|
|
11
|
+
value: number;
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
username: {
|
|
16
|
+
minLength: {
|
|
17
|
+
value: number;
|
|
18
|
+
message: string;
|
|
19
|
+
};
|
|
20
|
+
maxLength: {
|
|
21
|
+
value: number;
|
|
22
|
+
message: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
about: {
|
|
26
|
+
minLength: {
|
|
27
|
+
value: number;
|
|
28
|
+
message: string;
|
|
29
|
+
};
|
|
30
|
+
maxLength: {
|
|
31
|
+
value: number;
|
|
32
|
+
message: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
userEmail: {
|
|
36
|
+
pattern: {
|
|
37
|
+
value: RegExp;
|
|
38
|
+
message: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
inviteCode: {
|
|
42
|
+
minLength: {
|
|
43
|
+
value: number;
|
|
44
|
+
message: string;
|
|
45
|
+
};
|
|
46
|
+
maxLength: {
|
|
47
|
+
value: number;
|
|
48
|
+
message: string;
|
|
49
|
+
};
|
|
50
|
+
required: string;
|
|
51
|
+
};
|
|
52
|
+
userWeb: {
|
|
53
|
+
minLength: {
|
|
54
|
+
value: number;
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
maxLength: {
|
|
58
|
+
value: number;
|
|
59
|
+
message: string;
|
|
60
|
+
};
|
|
61
|
+
pattern: {
|
|
62
|
+
value: RegExp;
|
|
63
|
+
message: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export default messages;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const messages = {
|
|
4
|
+
galleryName: {
|
|
5
|
+
maxLength: {
|
|
6
|
+
value: 30,
|
|
7
|
+
message: 'The Gallery name is too long 🤟',
|
|
8
|
+
},
|
|
9
|
+
required: 'Name is required',
|
|
10
|
+
},
|
|
11
|
+
galleryDescription: {
|
|
12
|
+
maxLength: {
|
|
13
|
+
value: 400,
|
|
14
|
+
message: 'Please enter no more than 400 characters',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
username: {
|
|
18
|
+
minLength: {
|
|
19
|
+
value: 1,
|
|
20
|
+
message: 'The username is too small 🤟',
|
|
21
|
+
},
|
|
22
|
+
maxLength: {
|
|
23
|
+
value: 42,
|
|
24
|
+
message: 'The username is too long 🤟',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
about: {
|
|
28
|
+
minLength: {
|
|
29
|
+
value: 2,
|
|
30
|
+
message: 'The bio is too small 🤟',
|
|
31
|
+
},
|
|
32
|
+
maxLength: {
|
|
33
|
+
value: 400,
|
|
34
|
+
message: 'Please enter no more than 400 characters',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
userEmail: {
|
|
38
|
+
pattern: {
|
|
39
|
+
value: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
|
|
40
|
+
message: 'Invalid Email address',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
inviteCode: {
|
|
44
|
+
minLength: {
|
|
45
|
+
value: 6,
|
|
46
|
+
message: 'Invite code is too small 🤟',
|
|
47
|
+
},
|
|
48
|
+
maxLength: {
|
|
49
|
+
value: 6,
|
|
50
|
+
message: 'Please enter no more than 6 characters',
|
|
51
|
+
},
|
|
52
|
+
required: 'Invite code is required',
|
|
53
|
+
},
|
|
54
|
+
userWeb: {
|
|
55
|
+
minLength: {
|
|
56
|
+
value: 2,
|
|
57
|
+
message: 'The website is too small 🤟',
|
|
58
|
+
},
|
|
59
|
+
maxLength: {
|
|
60
|
+
value: 64,
|
|
61
|
+
message: 'The website is too long 🤟',
|
|
62
|
+
},
|
|
63
|
+
pattern: {
|
|
64
|
+
value: /(https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[a-zA-Z]{2,}(\.[a-zA-Z]{2,})(\.[a-zA-Z]{2,})?\/[a-zA-Z0-9]{2,}|((https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[a-zA-Z]{2,}(\.[a-zA-Z]{2,})(\.[a-zA-Z]{2,})?)|(https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[a-zA-Z0-9]{2,}\.[a-zA-Z0-9]{2,}\.[a-zA-Z0-9]{2,}(\.[a-zA-Z0-9]{2,})?/g,
|
|
65
|
+
message: 'Invalid Url address',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
exports.default = messages;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseFormRegisterReturn } from 'react-hook-form';
|
|
2
|
+
declare const BasicRadioInput: ({ radioLabel, radioValue, radioChecked, handleChange, className, withInput, innerTextInputRef, setFocus, }: {
|
|
3
|
+
radioLabel: string;
|
|
4
|
+
radioValue: string | number;
|
|
5
|
+
radioChecked: boolean;
|
|
6
|
+
handleChange: (value: string) => void;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
withInput?: boolean | undefined;
|
|
9
|
+
innerTextInputRef?: UseFormRegisterReturn | undefined;
|
|
10
|
+
setFocus?: ((value: string) => void) | undefined;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default BasicRadioInput;
|
|
@@ -0,0 +1,73 @@
|
|
|
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("@ludo.ninja/ui/build/styles/colors");
|
|
9
|
+
const colors_2 = require("@/styles/colors");
|
|
10
|
+
const Input_1 = require("@/system/Forms/Input");
|
|
11
|
+
const StyledLabel = styled_components_1.default.label `
|
|
12
|
+
position: relative;
|
|
13
|
+
padding: 8px 0 8px 27px;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
font-size: 1.4em;
|
|
16
|
+
color: ${colors_2.BlackColor};
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
user-select: none;
|
|
19
|
+
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 10px;
|
|
23
|
+
|
|
24
|
+
input[type='radio'] {
|
|
25
|
+
position: absolute;
|
|
26
|
+
opacity: 0;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.checkmark {
|
|
31
|
+
position: absolute;
|
|
32
|
+
left: 0;
|
|
33
|
+
height: 18px;
|
|
34
|
+
width: 18px;
|
|
35
|
+
background-color: ${colors_1.BorderColorLight};
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
transition: background-color 200ms;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.checkmark:after {
|
|
41
|
+
content: '';
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 50%;
|
|
44
|
+
left: 50%;
|
|
45
|
+
transform: translate(-50%, -50%);
|
|
46
|
+
width: 16px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
background: ${colors_2.WhiteColor};
|
|
50
|
+
transition: width 200ms, height 200ms;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
input:checked ~ .checkmark,
|
|
54
|
+
.checked {
|
|
55
|
+
background-color: ${colors_2.AccentColor};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
input:checked ~ .checkmark:after,
|
|
59
|
+
.checked:after {
|
|
60
|
+
width: 8px;
|
|
61
|
+
height: 8px;
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
const BasicRadioInput = ({ radioLabel, radioValue, radioChecked, handleChange, className, withInput, innerTextInputRef, setFocus, }) => {
|
|
65
|
+
const handleChangeRadioInput = (e) => {
|
|
66
|
+
if (withInput) {
|
|
67
|
+
setTimeout(() => setFocus && innerTextInputRef && setFocus(innerTextInputRef.name), 0);
|
|
68
|
+
}
|
|
69
|
+
handleChange(e.target.value);
|
|
70
|
+
};
|
|
71
|
+
return ((0, jsx_runtime_1.jsxs)(StyledLabel, { className: className, children: [radioLabel, (0, jsx_runtime_1.jsx)("input", { type: "radio", checked: radioChecked, value: radioValue, id: `${radioValue}_${radioLabel}`, onChange: (e) => handleChangeRadioInput(e) }), withInput && ((0, jsx_runtime_1.jsx)(Input_1.StyledInput, { status: false, ...innerTextInputRef, disabled: !radioChecked })), (0, jsx_runtime_1.jsx)("span", { className: `checkmark` })] }));
|
|
72
|
+
};
|
|
73
|
+
exports.default = BasicRadioInput;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICollectionFilterInput, ICreationFilterInput } from '@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema';
|
|
3
|
+
import { ISelectInput } from '@/system/Forms/Selects/MobileSelect';
|
|
4
|
+
interface Props {
|
|
5
|
+
options: ISelectInput[];
|
|
6
|
+
defaultOptionValue: string;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
onChangeHandler: (fieldName: keyof ICreationFilterInput & keyof ICollectionFilterInput, fieldValue: string) => Promise<void>;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
declare const DesktopSelect: React.FC<Props>;
|
|
12
|
+
export default DesktopSelect;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
const react_1 = require("react");
|
|
31
|
+
const ScreenWidth_1 = require("@/styles/ScreenWidth");
|
|
32
|
+
const colors_1 = require("@/styles/colors");
|
|
33
|
+
const typography_1 = require("@/styles/typography");
|
|
34
|
+
const scale_1 = require("@/utils/adaptive/scale");
|
|
35
|
+
const screen_1 = require("@/utils/screen");
|
|
36
|
+
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
37
|
+
const react_select_1 = __importStar(require("react-select"));
|
|
38
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
39
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
40
|
+
const vars_1 = require("@/fonts/vars");
|
|
41
|
+
const arrow_down_svg_1 = __importDefault(require("@/public/selects/arrow_down.svg"));
|
|
42
|
+
const SelectElement = (0, styled_components_1.default)(react_select_1.default) `
|
|
43
|
+
font-family: ${vars_1.dmsansFontVarCss.css};
|
|
44
|
+
|
|
45
|
+
.react-select__value-container {
|
|
46
|
+
padding: 0 0 0 20px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.react-select__control {
|
|
50
|
+
border: none;
|
|
51
|
+
background-color: white;
|
|
52
|
+
border-radius: 6px;
|
|
53
|
+
box-shadow: none;
|
|
54
|
+
min-height: ${(props) => `${props.minHeight}px`};
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
|
|
57
|
+
&:hover,
|
|
58
|
+
&:focus,
|
|
59
|
+
&:active {
|
|
60
|
+
box-shadow: none;
|
|
61
|
+
border-color: transparent;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.react-select__indicator {
|
|
66
|
+
padding: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.react-select__indicators {
|
|
70
|
+
padding-right: 12px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.react-select__menu {
|
|
74
|
+
${typography_1.MainText};
|
|
75
|
+
color: ${colors_1.TextGrayColor};
|
|
76
|
+
margin: 4px 0;
|
|
77
|
+
background: ${colors_1.WhiteColor};
|
|
78
|
+
box-shadow: 0 8px 16px -16px rgba(33, 21, 95, 0.1);
|
|
79
|
+
border-radius: 6px;
|
|
80
|
+
z-index: 9999;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.react-select__single-value {
|
|
84
|
+
${typography_1.MainText};
|
|
85
|
+
margin: 0;
|
|
86
|
+
color: ${colors_1.BlackColor};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.react-select__menu-list {
|
|
90
|
+
padding: 8px 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.react-select__option {
|
|
94
|
+
padding: 8.5px 20px;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.react-select__option--is-selected {
|
|
99
|
+
background-color: transparent;
|
|
100
|
+
color: ${colors_1.BlackColor};
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.react-select__option--is-focused {
|
|
105
|
+
background-color: transparent;
|
|
106
|
+
color: ${colors_1.BlackColor};
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
transition: font-weight 0.3s ease-in-out;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
113
|
+
.react-select__value-container {
|
|
114
|
+
padding: 0 0 0 ${(0, _4k_1.adaptiveValueCalc)(20)};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.react-select__control {
|
|
118
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
119
|
+
min-height: ${(props) => (0, _4k_1.adaptiveValueCalc)(props.minHeight)};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.react-select__indicator {
|
|
123
|
+
transform: ${(props) => 'transform' in props.scale && props.scale.transform};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.react-select__indicators {
|
|
127
|
+
padding-right: ${(0, _4k_1.adaptiveValueCalc)(12)};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.react-select__menu {
|
|
131
|
+
margin: ${(0, _4k_1.adaptiveValueCalc)(4)} 0;
|
|
132
|
+
box-shadow: 0 ${(0, _4k_1.adaptiveValueCalc)(8)} ${(0, _4k_1.adaptiveValueCalc)(16)}
|
|
133
|
+
${(0, _4k_1.adaptiveValueCalc)(-16)} rgba(33, 21, 95, 0.1);
|
|
134
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.react-select__menu-list {
|
|
138
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(8)} 0;
|
|
139
|
+
max-height: ${(0, _4k_1.adaptiveValueCalc)(300)};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.react-select__option {
|
|
143
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(8.5)} ${(0, _4k_1.adaptiveValueCalc)(20)};
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
`;
|
|
147
|
+
const minHeight = 40;
|
|
148
|
+
const DropdownIndicator = (props) => {
|
|
149
|
+
return ((0, jsx_runtime_1.jsx)(react_select_1.components.DropdownIndicator, { ...props, children: (0, jsx_runtime_1.jsx)(arrow_down_svg_1.default, { style: {
|
|
150
|
+
transition: 'transform 200ms',
|
|
151
|
+
transform: props.selectProps.menuIsOpen
|
|
152
|
+
? 'rotate(180deg)'
|
|
153
|
+
: 'rotate(0)',
|
|
154
|
+
} }) }));
|
|
155
|
+
};
|
|
156
|
+
const DesktopSelect = ({ options, isLoading, onChangeHandler, defaultOptionValue, name, ...props }) => {
|
|
157
|
+
const [selectedOption, setSelectedOption] = (0, react_1.useState)(options.find((option) => {
|
|
158
|
+
return defaultOptionValue === option.id;
|
|
159
|
+
}) || options[0]);
|
|
160
|
+
(0, react_1.useEffect)(() => {
|
|
161
|
+
const findOption = options.find((option) => {
|
|
162
|
+
return defaultOptionValue === option.id;
|
|
163
|
+
});
|
|
164
|
+
setSelectedOption(findOption || options[0]);
|
|
165
|
+
}, [defaultOptionValue]);
|
|
166
|
+
const handleChangeOption = async (option) => {
|
|
167
|
+
await onChangeHandler(name, option.id);
|
|
168
|
+
setSelectedOption(option);
|
|
169
|
+
};
|
|
170
|
+
const getOptionLabel = (option) => {
|
|
171
|
+
return option.label;
|
|
172
|
+
};
|
|
173
|
+
const getOptionValue = (option) => {
|
|
174
|
+
return option.id;
|
|
175
|
+
};
|
|
176
|
+
const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
|
|
177
|
+
if (isLoading)
|
|
178
|
+
return (0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: `${minHeight}px`, width: "154px" });
|
|
179
|
+
return ((0, jsx_runtime_1.jsx)(SelectElement, { id: String(Math.random()), minHeight: minHeight, scale: (0, scale_1.getAdaptiveScale)({ windowDimensions, currentSize: 1 }), classNamePrefix: "react-select", name: name, getOptionLabel: (option) => getOptionLabel(option), getOptionValue: (option) => getOptionValue(option), options: options, value: selectedOption, defaultValue: selectedOption, onChange: (option) => handleChangeOption(option), isSearchable: false, components: {
|
|
180
|
+
DropdownIndicator,
|
|
181
|
+
IndicatorSeparator: () => null,
|
|
182
|
+
}, ...props }));
|
|
183
|
+
};
|
|
184
|
+
exports.default = DesktopSelect;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICollectionFilterInput, ICreationFilterInput } from '@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema';
|
|
3
|
+
export interface ISelectInput {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
options: ISelectInput[];
|
|
9
|
+
defaultOptionValue: string;
|
|
10
|
+
onChangeHandler: (fieldName: keyof ICreationFilterInput & keyof ICollectionFilterInput, fieldValue: string) => void;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
declare const MobileSelect: React.FC<Props>;
|
|
14
|
+
export default MobileSelect;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 router_1 = require("next/router");
|
|
9
|
+
const DropDown_1 = __importDefault(require("@/system/DropDown"));
|
|
10
|
+
const RadioInput_1 = __importDefault(require("@/system/Forms/RadioInput"));
|
|
11
|
+
// Component
|
|
12
|
+
const MobileSelect = ({ options, onChangeHandler, name, defaultOptionValue, }) => {
|
|
13
|
+
const [selectedOption, setSelectedOption] = (0, react_1.useState)(options[0]);
|
|
14
|
+
const router = (0, router_1.useRouter)();
|
|
15
|
+
(0, react_1.useEffect)(() => {
|
|
16
|
+
const findOption = options.find((option) => {
|
|
17
|
+
return defaultOptionValue === option.id;
|
|
18
|
+
});
|
|
19
|
+
setSelectedOption(findOption || options[0]);
|
|
20
|
+
}, [defaultOptionValue]);
|
|
21
|
+
const handleChangeOption = (value) => {
|
|
22
|
+
const findOption = options.find((option) => {
|
|
23
|
+
return value === option.id;
|
|
24
|
+
});
|
|
25
|
+
setSelectedOption(findOption || options[0]);
|
|
26
|
+
onChangeHandler(name, findOption?.id || options[0]?.id);
|
|
27
|
+
};
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)(DropDown_1.default, { caption: name, fallBackOnClose: () => null, active: Boolean(router.query[name]), children: options.map((select) => ((0, jsx_runtime_1.jsx)(RadioInput_1.default, { radioLabel: select.label, radioValue: select.id, handleChange: handleChangeOption, radioChecked: selectedOption.id === select.id }, `${select.id}_${select.label}`))) }));
|
|
29
|
+
};
|
|
30
|
+
// Export
|
|
31
|
+
exports.default = MobileSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|