@ludo.ninja/components 2.0.9 → 2.0.11
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.js +3 -7
- package/build/api/server-assets/mutations/useDislikeAsset/index.js +7 -9
- package/build/api/server-assets/mutations/useLikeAsset/index.js +7 -9
- package/build/api/server-assets/queries/useFetchAssetByBlockchain/index.js +14 -21
- package/build/api/server-assets/queries/useFetchAssets/index.js +11 -14
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +13 -15
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +11 -13
- package/build/api/server-collection/mutations/useDislikeCollection/index.js +7 -9
- package/build/api/server-collection/mutations/useLikeCollection/index.js +7 -9
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +19 -21
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +15 -20
- package/build/api/server-galleries/mutations/useAddAssetsToGallery/index.js +9 -12
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +9 -13
- package/build/api/server-galleries/mutations/useAddCollectionsToGallery/index.js +9 -12
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +13 -16
- package/build/api/server-galleries/mutations/useCreateFavorites/index.js +5 -8
- package/build/api/server-galleries/mutations/useCreateGallery/index.js +5 -8
- package/build/api/server-galleries/mutations/useDeleteGallery/index.js +10 -12
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +9 -13
- package/build/api/server-galleries/mutations/useEditGallery/index.js +5 -7
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +13 -16
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +12 -15
- package/build/api/server-galleries/queries/useFetchGallery/index.js +11 -18
- package/build/api/server-galleries/queries/useFetchGalleryAssets/index.js +9 -12
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +11 -17
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +13 -19
- package/build/api/server-galleries/queries/useFetchSubscribedGalleries/index.js +9 -11
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +10 -16
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +10 -12
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +10 -12
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +10 -12
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +10 -12
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +10 -12
- package/build/api/server-identities/mutations/useFollowProfile/index.js +13 -15
- package/build/api/server-identities/mutations/useGenerateNewInviteCodes/index.js +7 -9
- package/build/api/server-identities/mutations/useInviteCode/index.js +9 -11
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +10 -12
- package/build/api/server-identities/mutations/useRevokeToken/index.js +5 -7
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +9 -11
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +13 -15
- package/build/api/server-identities/queries/useFetchProfile/index.js +19 -23
- package/build/api/server-identities/queries/useFetchUserWallets/index.js +4 -6
- package/build/api/server-medias/mutations/useDeleteUserpic/index.js +7 -9
- package/build/api/server-medias/mutations/useUploadUserpic/index.js +7 -9
- package/build/api/server-medias/queries/useFetchUserPic/index.js +8 -10
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +8 -12
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +8 -12
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +8 -10
- package/build/api/server-opportunities/queries/useGetOpportunities.js +9 -13
- package/build/api/server-preferences/queries/fetchSearchResultSelections/index.js +6 -11
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +9 -13
- package/build/api/server-search/queries/useFetchAllCreations/index.js +15 -23
- package/build/api/server-search/queries/useFetchAssetsCount/index.js +2 -4
- package/build/api/server-search/queries/useFetchCollection/index.js +16 -23
- package/build/api/server-search/queries/useFetchCollections/index.js +16 -23
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +18 -24
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +16 -24
- package/build/api/server-search/queries/useFetchNetWorth/index.js +7 -9
- package/build/api/server-search/queries/useFindCreations/index.js +20 -28
- package/build/api/server-search/queries/useFindProfilesByName/index.js +14 -19
- package/build/api/server-search/queries/useFindShowcaseItems/index.js +1 -3
- package/build/api/server-search/queries/useFindUserCreations/index.js +16 -21
- package/build/api/server-search/queries/useFindUserShowcaseItems/index.js +1 -3
- package/build/api/subscriptions/SubscriberInviteNotification.js +18 -22
- package/build/components/assetPage/assetLikes/index.js +25 -30
- package/build/components/assetPage/assetNft/index.js +14 -21
- package/build/components/assetPage/audioVideoPlayer/Duration.js +5 -8
- package/build/components/assetPage/audioVideoPlayer/index.js +51 -81
- package/build/components/assetPage/category/index.js +18 -25
- package/build/components/assetPage/description/index.js +17 -24
- package/build/components/assetPage/index.js +11 -25
- package/build/components/assetPage/information/index.js +43 -50
- package/build/components/assetPage/marketPlaces/index.js +26 -33
- package/build/components/assetPage/media/AssetImage/index.js +52 -80
- package/build/components/assetPage/moreDropDown/index.js +47 -77
- package/build/components/assetPage/participants/index.js +64 -71
- package/build/components/assetPage/priceRank/index.js +38 -45
- package/build/components/assetPage/properties/index.js +19 -26
- package/build/components/assetPage/slider/index.js +44 -51
- package/build/components/assetPage/slider/slideItem.js +14 -21
- package/build/components/assetPage/slider/store.js +2 -5
- package/build/components/assetPage/tittle/index.js +32 -39
- package/build/components/assetPage/viewer3D/index.js +50 -58
- package/build/components/base/Meta/index.js +6 -11
- package/build/components/base/NoSSR/index.js +4 -9
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +14 -19
- package/build/components/gallery/add/addCreationToGallery/index.js +20 -25
- package/build/components/headers/components/headerExperienceLabel/index.js +12 -17
- package/build/components/headers/components/headerUserPic/index.js +11 -16
- package/build/components/headers/header/index.js +17 -22
- package/build/components/headers/headerSearch/index.js +21 -26
- package/build/components/headers/headerSimple/index.js +14 -19
- package/build/components/linkTabs/index.js +14 -19
- package/build/components/linkTabs/linkTab/index.js +22 -27
- package/build/components/profile/profileSkeleton/index.js +10 -18
- package/build/components/search/SearchInputContainer.js +61 -91
- package/build/components/search/searchCloseMoreButtons/index.js +20 -25
- package/build/components/search/searchSimpleInput/index.js +37 -65
- package/build/components/search/searchSuggestions/index.js +32 -37
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +17 -22
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +20 -25
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +29 -34
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +28 -58
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +19 -24
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +11 -16
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +13 -18
- package/build/components/searchFiltersConnector/filters/index.js +38 -43
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +5 -10
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +12 -17
- package/build/components/searchFiltersConnector/index.js +12 -19
- package/build/components/sidebar/data.js +18 -26
- package/build/components/sidebar/index.js +59 -87
- package/build/components/sidebar/initializer.js +4 -34
- package/build/components/sidebar/sidebarFilters/index.js +8 -13
- package/build/components/sidebar/sidebarInviteCodeLabel/index.js +14 -19
- package/build/components/toTopBtn/index.js +32 -39
- package/build/dto/AssetEntity/index.js +19 -24
- package/build/dto/AssetEntity/interface.js +1 -2
- package/build/dto/AssetEntity/views/AssetAudio/index.js +11 -16
- package/build/dto/AssetEntity/views/AssetImage/index.js +12 -17
- package/build/dto/AssetEntity/views/AssetObject/index.js +13 -18
- package/build/dto/AssetEntity/views/AssetOther/index.js +13 -18
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +12 -17
- package/build/dto/AssetEntity/views/AssetVideo/index.js +11 -16
- package/build/dto/AssetEntity/views/index.js +6 -16
- package/build/dto/Collection/CollectionCreationEntity/index.js +22 -27
- package/build/dto/Collection/CollectionCreationEntity/interface.js +1 -2
- package/build/dto/Collection/CollectionEntity/index.js +5 -7
- package/build/dto/Collection/CollectionEntity/interface.js +1 -2
- package/build/dto/CreationEntity/index.js +19 -24
- package/build/dto/CreationEntity/interface.js +1 -2
- package/build/dto/GalleryEntityV2/index.js +5 -10
- package/build/dto/GalleryEntityV2/interface.js +1 -2
- package/build/dto/Theme/interface.js +1 -5
- package/build/dto/common/ItemType/data.js +26 -28
- package/build/dto/common/ItemType/index.js +5 -7
- package/build/dto/common/ItemViews/CreationAudio/index.js +11 -16
- package/build/dto/common/ItemViews/CreationImage/index.js +12 -17
- package/build/dto/common/ItemViews/CreationObject/index.js +10 -15
- package/build/dto/common/ItemViews/CreationOther/index.js +11 -16
- package/build/dto/common/ItemViews/CreationVideo/index.js +11 -16
- package/build/dto/common/Media/Audio/index.js +9 -14
- package/build/dto/common/Media/Image/index.js +10 -15
- package/build/dto/common/Media/Object/index.js +9 -14
- package/build/dto/common/Media/Other/index.js +14 -19
- package/build/dto/common/Media/Screenshot/index.js +10 -15
- package/build/dto/common/Media/Urls/index.js +23 -38
- package/build/dto/common/Media/Video/index.js +9 -14
- package/build/dto/common/Media/index.js +3 -5
- package/build/dto/common/Media/interface.js +1 -2
- package/build/entities/user/type.js +1 -2
- package/build/fonts/FontsInitializeLayout.js +13 -16
- package/build/fonts/vars.js +1 -6
- package/build/hooks/apollo/index.js +8 -11
- package/build/hooks/audio/useMultiAudio/index.js +10 -12
- package/build/hooks/extension/useExtension/index.js +8 -10
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +33 -39
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +32 -39
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +32 -39
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +27 -34
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +26 -32
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +23 -29
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +27 -34
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +30 -36
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +11 -13
- package/build/hooks/likes/dynamic/useGetTableLikes.js +24 -30
- package/build/hooks/likes/index.js +27 -32
- package/build/hooks/likes/useGetLikesAsset.js +20 -24
- package/build/layouts/GlobalLayout.js +24 -31
- package/build/layouts/base/LWithRegularHeader/index.js +7 -12
- package/build/layouts/base/LWithRegularHeader/type.js +1 -2
- package/build/layouts/base/LWithSearchHeader/index.js +5 -10
- package/build/layouts/base/LWithSearchHeader/type.js +1 -2
- package/build/layouts/custom/mainLayout/index.js +8 -13
- package/build/layouts/custom/styles.js +15 -21
- package/build/layouts/pageTransitionLayout.js +6 -8
- package/build/layouts/pageWithLayout.js +1 -2
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +35 -42
- package/build/modules/gallery/api/useGetFavoriteGallery.js +11 -15
- package/build/modules/gallery/store.js +10 -16
- package/build/modules/gallery/ui/AllResults.js +7 -11
- package/build/modules/gallery/ui/Description.js +24 -31
- package/build/modules/gallery/ui/EditGallery.js +15 -22
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +12 -19
- package/build/modules/gallery/ui/PlaceholderItemsGallery.js +21 -28
- package/build/modules/gallery/ui/STopSections.js +10 -16
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +25 -30
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +47 -52
- package/build/modules/gallery/ui/createGalleryForm/index.js +31 -36
- package/build/modules/gallery/ui/editGalleryForm/index.js +40 -45
- package/build/modules/gallery/ui/itemsPreview/index.js +54 -61
- package/build/modules/gallery/useToGalleryAsset.js +15 -23
- package/build/modules/notifications/CreatorNotifications.js +10 -40
- package/build/modules/notifications/index.js +3 -6
- package/build/modules/opportunity/OpportunityCard.js +81 -88
- package/build/modules/opportunity/OpportunityDropDown.js +11 -18
- package/build/modules/opportunity/ShareIcon.js +2 -6
- package/build/modules/opportunity/encodeQuery.js +4 -10
- package/build/modules/opportunity/popup/CopyIcon.js +3 -5
- package/build/modules/opportunity/popup/FacebookIcon.js +3 -5
- package/build/modules/opportunity/popup/LinkedInIcon.js +3 -5
- package/build/modules/opportunity/popup/LogoXIcon.js +3 -5
- package/build/modules/opportunity/popup/OpportunityMenu.js +44 -51
- package/build/modules/opportunity/type.js +1 -2
- package/build/modules/sessionScroll/globalTabs.js +1 -4
- package/build/modules/sessionScroll/index.js +16 -23
- package/build/modules/sessionScroll/type.js +1 -2
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +12 -16
- package/build/modules/user/auth/useAuthVerification.js +10 -37
- package/build/modules/user/auth/useSignIn.js +7 -11
- package/build/modules/user/auth/useSignOut.js +11 -18
- package/build/modules/user/profileData/profileDataInitialization.js +14 -18
- package/build/modules/user/store.js +9 -12
- package/build/modules/virtuoso/VirtuosoPageBuilder.js +36 -43
- package/build/modules/virtuoso/VirtuosoToTopBtn.js +8 -13
- package/build/modules/virtuoso/types.js +1 -2
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +4 -8
- package/build/modules/virtuoso/useVirtuosoData.js +6 -10
- package/build/store/env/index.js +4 -7
- package/build/store/index.js +4 -7
- package/build/store/media/index.js +4 -7
- package/build/store/media/types.js +1 -2
- package/build/store/ui/index.js +21 -24
- package/build/store/ui/types.js +1 -2
- package/build/store/ui/utils.js +4 -8
- package/build/styles/ScreenWidth.js +3 -6
- package/build/styles/animations/index.js +3 -6
- package/build/styles/colors/index.js +1 -38
- package/build/styles/globalStyles.js +5 -7
- package/build/styles/mixins/boxShadow.js +3 -5
- package/build/styles/mixins/boxTransform.js +3 -5
- package/build/styles/mixins/z-indexes.js +10 -13
- package/build/styles/typography/index.js +1 -13
- package/build/system/ActiveLink/ActiveLink.test.js +14 -19
- package/build/system/ActiveLink/index.js +10 -38
- package/build/system/Alert/index.js +6 -11
- package/build/system/Alert/type.js +1 -8
- package/build/system/BasicOverlay/index.js +5 -10
- package/build/system/Buttons/IconButton/index.js +2 -7
- package/build/system/Buttons/IconWithButton/index.js +2 -7
- package/build/system/Buttons/MainButton/index.js +2 -7
- package/build/system/Buttons/SecondaryButton/index.js +2 -7
- package/build/system/Cards/CardCheckbox/CardCheckbox.test.js +8 -13
- package/build/system/Cards/CardCheckbox/index.js +19 -24
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +11 -16
- package/build/system/Cards/CardContent/CardCategory/index.js +13 -18
- package/build/system/Cards/CardContent/CardContent.test.js +31 -36
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +11 -16
- package/build/system/Cards/CardContent/CardLikes/index.js +11 -16
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +20 -25
- package/build/system/Cards/CardContent/CardShowMore/index.js +34 -40
- package/build/system/Cards/CardContent/index.js +32 -37
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +35 -40
- package/build/system/Cards/CardMedia/CardAudio/index.js +18 -23
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +14 -19
- package/build/system/Cards/CardMedia/CardImage/index.js +8 -13
- package/build/system/Cards/CardMedia/CardVideo/index.js +17 -22
- package/build/system/Cards/CardRank/index.js +32 -37
- package/build/system/Cards/CreationCard/CardHead.js +35 -42
- package/build/system/Cards/CreationCard/index.js +45 -76
- package/build/system/Cards/MultiMediaCard/index.js +30 -35
- package/build/system/Cards/Styles/Content.js +9 -14
- package/build/system/Cards/Styles/Head.js +8 -13
- package/build/system/Cards/Styles/Headicons.js +23 -28
- package/build/system/Cards/Styles/Image.js +8 -13
- package/build/system/Cards/Styles/Likes.js +14 -19
- package/build/system/Cards/Styles/MultiHead.js +11 -16
- package/build/system/Cards/Styles/Video.js +3 -8
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +14 -19
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +10 -15
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +17 -24
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +15 -20
- package/build/system/DropDown/DropDown.test.js +14 -19
- package/build/system/DropDown/index.js +12 -17
- package/build/system/Filters/helpers.js +1 -5
- package/build/system/Filters/type.js +2 -5
- package/build/system/Forms/Checkbox/Checkbox.test.js +13 -18
- package/build/system/Forms/Checkbox/index.js +16 -21
- package/build/system/Forms/DatePicker/index.js +46 -51
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +11 -16
- package/build/system/Forms/ErrorLabel/index.js +10 -15
- package/build/system/Forms/Input/Input.test.js +13 -18
- package/build/system/Forms/Input/index.js +29 -35
- package/build/system/Forms/Input/type.js +1 -2
- package/build/system/Forms/Messages/index.js +1 -3
- package/build/system/Forms/RadioInput/index.js +12 -17
- package/build/system/Forms/Selects/DesktopSelect/index.js +41 -69
- package/build/system/Forms/Selects/DesktopSelect/type.js +1 -2
- package/build/system/Forms/Selects/MobileSelect/index.js +10 -15
- package/build/system/Forms/TextArea/TextArea.test.js +13 -18
- package/build/system/Forms/TextArea/index.js +26 -31
- package/build/system/Forms/index.js +5 -14
- package/build/system/Img/ExternalImage/index.js +11 -17
- package/build/system/Img/ImageInterceptor/ImageInterceptor.test.js +18 -23
- package/build/system/Img/ImageInterceptor/index.js +10 -40
- package/build/system/Img/Profilepic/index.js +12 -19
- package/build/system/Img/Userpic/UserPic.test.js +15 -20
- package/build/system/Img/Userpic/index.js +28 -33
- package/build/system/Img/index.js +3 -19
- package/build/system/Labels/ExperienceLabel/ExperienceLabel.test.js +12 -17
- package/build/system/Labels/ExperienceLabel/index.js +27 -32
- package/build/system/Labels/InviteLabel/InviteLabel.test.js +10 -15
- package/build/system/Labels/InviteLabel/index.js +14 -19
- package/build/system/Labels/SkeletonLabel/index.js +2 -7
- package/build/system/Modals/Modal/Modal.test.js +11 -16
- package/build/system/Modals/Modal/index.js +24 -29
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +7 -37
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +11 -16
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +5 -9
- package/build/system/Modals/ModalSidebar/index.js +23 -29
- package/build/system/Overlay/Overlay.test.js +11 -16
- package/build/system/Overlay/index.js +11 -16
- package/build/system/PageLoader/index.js +2 -7
- package/build/system/Palete/index.js +2 -7
- package/build/system/ShareIconResize.js +14 -21
- package/build/system/Tabs/TabNavLink/TabNavLink.test.js +15 -20
- package/build/system/Tabs/TabNavLink/index.js +17 -23
- package/build/system/Tabs/TabsNav/TabsNav.test.js +18 -23
- package/build/system/Tabs/TabsNav/index.js +7 -13
- package/build/system/Tabs/TabsNav/type.js +1 -2
- package/build/system/Tabs/TabsPanel/TabsPanel.test.js +13 -18
- package/build/system/Tabs/TabsPanel/index.js +5 -10
- package/build/system/index.js +6 -22
- package/build/system/theme.js +1 -7
- package/build/utils/3d.js +1 -5
- package/build/utils/adaptive/check4k.js +5 -9
- package/build/utils/adaptive/scale.js +5 -9
- package/build/utils/auth/index.js +3 -7
- package/build/utils/copyBtn/index.js +23 -30
- package/build/utils/env/index.js +1 -5
- package/build/utils/extractItemIds.js +3 -9
- package/build/utils/getDimensionsImage.js +1 -5
- package/build/utils/getPageSizeAssets.js +4 -8
- package/build/utils/imageProportionsSize/index.js +1 -5
- package/build/utils/screen/index.js +24 -30
- package/build/utils/seacrhTabs.js +1 -4
- package/build/utils/ssrFunctions/index.js +9 -15
- package/build/utils/ui/index.js +1 -5
- package/package.json +2 -3
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const typography_1 = require("../../../styles/typography");
|
|
18
|
-
const vars_1 = require("../../../fonts/vars");
|
|
19
|
-
const calendar_svg_1 = __importDefault(require("../../../public/calendar"));
|
|
20
|
-
const close20_svg_1 = __importDefault(require("../../../public/close20"));
|
|
21
|
-
const ErrorLabel_1 = __importDefault(require("../ErrorLabel"));
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import 'react-calendar/dist/Calendar.css';
|
|
3
|
+
import ReactDatePicker from 'react-date-picker';
|
|
4
|
+
import 'react-date-picker/dist/DatePicker.css';
|
|
5
|
+
import { Controller } from 'react-hook-form';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { AccentColor, InactiveButtonColor, ProgressColorMedium, TextDarkGrayColor, } from '@ludo.ninja/ui/build/styles/colors';
|
|
8
|
+
import BoxShadow from '@ludo.ninja/ui/build/styles/mixins/boxShadow';
|
|
9
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
10
|
+
import { mediaQuery } from "../../../styles/ScreenWidth";
|
|
11
|
+
import { BlackColor, BorderColorLight, ProgressColorMinimum, TextGrayColor, WhiteColor, } from "../../../styles/colors";
|
|
12
|
+
import { MainText } from "../../../styles/typography";
|
|
13
|
+
import { dmsansFontVarCss } from "../../../fonts/vars";
|
|
14
|
+
import CalendarIcon from "../../../public/calendar";
|
|
15
|
+
import CloseIcon from "../../../public/close20";
|
|
16
|
+
import BasicErrorLabel from '../ErrorLabel';
|
|
22
17
|
// Styles
|
|
23
|
-
const StyledReactDatePicker = (
|
|
24
|
-
font-family: ${
|
|
25
|
-
${
|
|
18
|
+
const StyledReactDatePicker = styled(ReactDatePicker) `
|
|
19
|
+
font-family: ${dmsansFontVarCss.css};
|
|
20
|
+
${MainText};
|
|
26
21
|
width: 100%;
|
|
27
22
|
height: 46px;
|
|
28
23
|
border-radius: 6px;
|
|
29
24
|
border: 1px solid
|
|
30
|
-
${(props) => (props.status ?
|
|
31
|
-
background: ${
|
|
32
|
-
color: ${
|
|
25
|
+
${(props) => (props.status ? ProgressColorMinimum : BorderColorLight)};
|
|
26
|
+
background: ${WhiteColor};
|
|
27
|
+
color: ${BlackColor};
|
|
33
28
|
outline: none;
|
|
34
29
|
padding: 8px 12px;
|
|
35
30
|
|
|
@@ -49,13 +44,13 @@ const StyledReactDatePicker = (0, styled_components_1.default)(react_date_picker
|
|
|
49
44
|
border-radius: 50%;
|
|
50
45
|
|
|
51
46
|
&:hover {
|
|
52
|
-
background: ${
|
|
47
|
+
background: ${InactiveButtonColor};
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
50
|
|
|
56
51
|
.react-date-picker__clear-button {
|
|
57
52
|
svg path {
|
|
58
|
-
stroke: ${
|
|
53
|
+
stroke: ${TextDarkGrayColor};
|
|
59
54
|
}
|
|
60
55
|
}
|
|
61
56
|
}
|
|
@@ -64,9 +59,9 @@ const StyledReactDatePicker = (0, styled_components_1.default)(react_date_picker
|
|
|
64
59
|
padding: 4px;
|
|
65
60
|
width: 280px;
|
|
66
61
|
border-radius: 6px;
|
|
67
|
-
border: 1px solid ${
|
|
62
|
+
border: 1px solid ${BorderColorLight};
|
|
68
63
|
box-shadow: 0 10px 32px -16px rgba(0, 0, 0, 0.6);
|
|
69
|
-
font-family: ${
|
|
64
|
+
font-family: ${dmsansFontVarCss.css};
|
|
70
65
|
|
|
71
66
|
button {
|
|
72
67
|
border-radius: 30px;
|
|
@@ -78,23 +73,23 @@ const StyledReactDatePicker = (0, styled_components_1.default)(react_date_picker
|
|
|
78
73
|
}
|
|
79
74
|
|
|
80
75
|
.react-calendar__tile--now {
|
|
81
|
-
${
|
|
82
|
-
background: ${
|
|
76
|
+
${BoxShadow};
|
|
77
|
+
background: ${ProgressColorMedium};
|
|
83
78
|
|
|
84
79
|
&:hover {
|
|
85
|
-
background: ${
|
|
80
|
+
background: ${ProgressColorMedium};
|
|
86
81
|
}
|
|
87
82
|
}
|
|
88
83
|
|
|
89
84
|
.react-calendar__tile--active,
|
|
90
85
|
.react-calendar__tile--hasActive {
|
|
91
|
-
${
|
|
92
|
-
background: ${
|
|
93
|
-
color: ${
|
|
86
|
+
${BoxShadow};
|
|
87
|
+
background: ${AccentColor};
|
|
88
|
+
color: ${WhiteColor};
|
|
94
89
|
|
|
95
90
|
&:hover {
|
|
96
|
-
background: ${
|
|
97
|
-
color: ${
|
|
91
|
+
background: ${AccentColor};
|
|
92
|
+
color: ${WhiteColor};
|
|
98
93
|
}
|
|
99
94
|
}
|
|
100
95
|
|
|
@@ -106,32 +101,32 @@ const StyledReactDatePicker = (0, styled_components_1.default)(react_date_picker
|
|
|
106
101
|
}
|
|
107
102
|
|
|
108
103
|
::placeholder {
|
|
109
|
-
color: ${
|
|
104
|
+
color: ${TextGrayColor};
|
|
110
105
|
opacity: 1;
|
|
111
106
|
}
|
|
112
107
|
|
|
113
108
|
:-ms-input-placeholder {
|
|
114
|
-
color: ${
|
|
109
|
+
color: ${TextGrayColor};
|
|
115
110
|
}
|
|
116
111
|
|
|
117
112
|
::-ms-input-placeholder {
|
|
118
|
-
color: ${
|
|
113
|
+
color: ${TextGrayColor};
|
|
119
114
|
}
|
|
120
115
|
|
|
121
|
-
${
|
|
122
|
-
height: ${
|
|
123
|
-
border-radius: ${
|
|
124
|
-
border: ${
|
|
125
|
-
${(props) => (props.status ?
|
|
126
|
-
padding: ${
|
|
116
|
+
${mediaQuery.minWidthFourK} {
|
|
117
|
+
height: ${adaptiveValueCalc(46)};
|
|
118
|
+
border-radius: ${adaptiveValueCalc(6)};
|
|
119
|
+
border: ${adaptiveValueCalc(1)} solid
|
|
120
|
+
${(props) => (props.status ? ProgressColorMinimum : BorderColorLight)};
|
|
121
|
+
padding: ${adaptiveValueCalc(12)};
|
|
127
122
|
}
|
|
128
123
|
`;
|
|
129
124
|
const DatePicker = ({ name, control, error }) => {
|
|
130
125
|
const renderError = () => {
|
|
131
126
|
if (error.isNeedShowError) {
|
|
132
|
-
return (
|
|
127
|
+
return _jsx(BasicErrorLabel, { children: error.message });
|
|
133
128
|
}
|
|
134
129
|
};
|
|
135
|
-
return ((
|
|
130
|
+
return (_jsx(Controller, { name: name, control: control, render: ({ field }) => (_jsxs(_Fragment, { children: [_jsx(StyledReactDatePicker, { onChange: field.onChange, onBlur: field.onBlur, value: field.value, disableCalendar: field.disabled, name: field.name, status: error.isNeedShowError, dayPlaceholder: 'dd', monthPlaceholder: 'mm', yearPlaceholder: 'yy', format: 'dd.MM.yyyy', locale: 'en', clearIcon: field.value ? _jsx(CloseIcon, {}) : null, calendarIcon: _jsx(CalendarIcon, {}) }), renderError()] })) }));
|
|
136
131
|
};
|
|
137
|
-
|
|
132
|
+
export default DatePicker;
|
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
require("@testing-library/jest-dom");
|
|
9
|
-
const react_2 = require("@testing-library/react");
|
|
10
|
-
const index_1 = __importDefault(require("./index"));
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import '@testing-library/jest-dom';
|
|
4
|
+
import { render, screen } from '@testing-library/react';
|
|
5
|
+
import ErrorLabel from "./index";
|
|
11
6
|
describe('ErrorLabel Component', () => {
|
|
12
7
|
test('renders correctly with given children and id', () => {
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
React.act(() => {
|
|
9
|
+
render(_jsx(ErrorLabel, { id: "test-id", children: "Test Label" }));
|
|
15
10
|
});
|
|
16
|
-
const labelElement =
|
|
11
|
+
const labelElement = screen.getByText('Test Label');
|
|
17
12
|
expect(labelElement).toBeInTheDocument();
|
|
18
13
|
expect(labelElement).toHaveAttribute('for', 'test-id');
|
|
19
14
|
});
|
|
20
15
|
test('renders correctly without id', () => {
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
React.act(() => {
|
|
17
|
+
render(_jsx(ErrorLabel, { children: "Test Label Without ID" }));
|
|
23
18
|
});
|
|
24
|
-
const labelElement =
|
|
19
|
+
const labelElement = screen.getByText('Test Label Without ID');
|
|
25
20
|
expect(labelElement).toBeInTheDocument();
|
|
26
21
|
expect(labelElement).not.toHaveAttribute('for');
|
|
27
22
|
});
|
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
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 StyledLabel = styled_components_1.default.div `
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
4
|
+
import { mediaQuery } from "../../../styles/ScreenWidth";
|
|
5
|
+
const StyledLabel = styled.div `
|
|
11
6
|
user-select: none;
|
|
12
7
|
padding-top: 8px;
|
|
13
8
|
color: #f4205f;
|
|
14
9
|
font-size: 13px;
|
|
15
10
|
font-weight: 400;
|
|
16
11
|
|
|
17
|
-
${
|
|
18
|
-
padding-top: ${
|
|
19
|
-
font-size: ${
|
|
12
|
+
${mediaQuery.minWidthFourK} {
|
|
13
|
+
padding-top: ${adaptiveValueCalc(8)};
|
|
14
|
+
font-size: ${adaptiveValueCalc(13)};
|
|
20
15
|
}
|
|
21
16
|
`;
|
|
22
17
|
const BasicErrorLabel = ({ children, id }) => {
|
|
23
|
-
return (
|
|
18
|
+
return _jsx(StyledLabel, { htmlFor: id, children: children });
|
|
24
19
|
};
|
|
25
|
-
|
|
20
|
+
export default BasicErrorLabel;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
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("./index"));
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import '@testing-library/jest-dom';
|
|
3
|
+
import { render, screen } from '@testing-library/react';
|
|
4
|
+
import { ProgressColorMinimum } from "../../../styles/colors";
|
|
5
|
+
import Input from "./index";
|
|
11
6
|
jest.mock('../ErrorLabel', () => ({
|
|
12
7
|
__esModule: true,
|
|
13
|
-
default: ({ children }) => ((
|
|
8
|
+
default: ({ children }) => (_jsx("div", { "data-testid": "error-label", children: children })),
|
|
14
9
|
}));
|
|
15
10
|
const mockRegister = {
|
|
16
11
|
name: 'test-input',
|
|
@@ -24,30 +19,30 @@ const mockData = {
|
|
|
24
19
|
labelText: 'Test Input',
|
|
25
20
|
};
|
|
26
21
|
const renderComponent = (error) => {
|
|
27
|
-
return
|
|
22
|
+
return render(_jsx(Input, { data: mockData, register: mockRegister, error: error }));
|
|
28
23
|
};
|
|
29
24
|
describe('Input Component', () => {
|
|
30
25
|
test('renders input element with correct attributes', () => {
|
|
31
26
|
renderComponent({ isNeedShowError: false, message: undefined });
|
|
32
|
-
const inputElement =
|
|
27
|
+
const inputElement = screen.getByPlaceholderText('Enter text...');
|
|
33
28
|
expect(inputElement).toBeInTheDocument();
|
|
34
29
|
expect(inputElement.name).toBe('test-input');
|
|
35
30
|
expect(inputElement.id).toBe('test-input');
|
|
36
31
|
});
|
|
37
32
|
test('applies error styles when there is an error', () => {
|
|
38
33
|
renderComponent({ isNeedShowError: true, message: 'Error message' });
|
|
39
|
-
const inputElement =
|
|
40
|
-
expect(inputElement).toHaveStyle(`border-color: ${
|
|
41
|
-
expect(
|
|
34
|
+
const inputElement = screen.getByPlaceholderText('Enter text...');
|
|
35
|
+
expect(inputElement).toHaveStyle(`border-color: ${ProgressColorMinimum}`);
|
|
36
|
+
expect(screen.getByTestId('error-label')).toHaveTextContent('Error message');
|
|
42
37
|
});
|
|
43
38
|
test('does not render error label when there is no error', () => {
|
|
44
39
|
renderComponent({ isNeedShowError: false, message: undefined });
|
|
45
|
-
const errorLabel =
|
|
40
|
+
const errorLabel = screen.queryByTestId('error-label');
|
|
46
41
|
expect(errorLabel).toBeNull();
|
|
47
42
|
});
|
|
48
43
|
test('renders error label when there is an error', () => {
|
|
49
44
|
renderComponent({ isNeedShowError: true, message: 'Error message' });
|
|
50
|
-
const errorLabel =
|
|
45
|
+
const errorLabel = screen.getByTestId('error-label');
|
|
51
46
|
expect(errorLabel).toBeInTheDocument();
|
|
52
47
|
expect(errorLabel).toHaveTextContent('Error message');
|
|
53
48
|
});
|
|
@@ -1,48 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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("../ErrorLabel"));
|
|
15
|
-
const vars_1 = require("../../../fonts/vars");
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { DisabledGrayColor, DisabledLightGrayColor, } from '@ludo.ninja/ui/build/styles/colors';
|
|
4
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
5
|
+
import { mediaQuery } from "../../../styles/ScreenWidth";
|
|
6
|
+
import { BlackColor, BorderColorLight, ProgressColorMinimum, TextGrayColor, WhiteColor, } from "../../../styles/colors";
|
|
7
|
+
import { MainText } from "../../../styles/typography";
|
|
8
|
+
import BasicErrorLabel from "../ErrorLabel";
|
|
9
|
+
import { dmsansFontVarCss } from "../../../fonts/vars";
|
|
16
10
|
// Styles
|
|
17
|
-
|
|
18
|
-
font-family: ${
|
|
19
|
-
${
|
|
11
|
+
export const StyledInput = styled.input `
|
|
12
|
+
font-family: ${dmsansFontVarCss.css};
|
|
13
|
+
${MainText};
|
|
20
14
|
width: 100%;
|
|
21
15
|
height: 46px;
|
|
22
16
|
border-radius: 6px;
|
|
23
17
|
border: 1px solid
|
|
24
|
-
${(props) => (props.status ?
|
|
25
|
-
background: ${
|
|
26
|
-
color: ${
|
|
18
|
+
${(props) => (props.status ? ProgressColorMinimum : BorderColorLight)};
|
|
19
|
+
background: ${WhiteColor};
|
|
20
|
+
color: ${BlackColor};
|
|
27
21
|
outline: none;
|
|
28
22
|
padding: 12px;
|
|
29
23
|
|
|
30
24
|
::placeholder {
|
|
31
|
-
color: ${
|
|
25
|
+
color: ${TextGrayColor};
|
|
32
26
|
opacity: 1;
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
:-ms-input-placeholder {
|
|
36
|
-
color: ${
|
|
30
|
+
color: ${TextGrayColor};
|
|
37
31
|
}
|
|
38
32
|
|
|
39
33
|
::-ms-input-placeholder {
|
|
40
|
-
color: ${
|
|
34
|
+
color: ${TextGrayColor};
|
|
41
35
|
}
|
|
42
36
|
|
|
43
37
|
:disabled {
|
|
44
|
-
background: ${
|
|
45
|
-
color: ${
|
|
38
|
+
background: ${DisabledLightGrayColor};
|
|
39
|
+
color: ${DisabledGrayColor};
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
// :focus {
|
|
@@ -53,20 +47,20 @@ exports.StyledInput = styled_components_1.default.input `
|
|
|
53
47
|
// transition: border-color 0.3s ease-in-out;
|
|
54
48
|
// border: 2px solid ${(props) => (props.status ? '#F4205F' : '#C1C8DE')};
|
|
55
49
|
// }
|
|
56
|
-
${
|
|
57
|
-
height: ${
|
|
58
|
-
border-radius: ${
|
|
59
|
-
border: ${
|
|
60
|
-
${(props) => (props.status ?
|
|
61
|
-
padding: ${
|
|
50
|
+
${mediaQuery.minWidthFourK} {
|
|
51
|
+
height: ${adaptiveValueCalc(46)};
|
|
52
|
+
border-radius: ${adaptiveValueCalc(6)};
|
|
53
|
+
border: ${adaptiveValueCalc(1)} solid
|
|
54
|
+
${(props) => (props.status ? ProgressColorMinimum : BorderColorLight)};
|
|
55
|
+
padding: ${adaptiveValueCalc(12)};
|
|
62
56
|
}
|
|
63
57
|
`;
|
|
64
58
|
const Input = ({ data, register, error }) => {
|
|
65
59
|
const renderError = () => {
|
|
66
60
|
if (error.isNeedShowError) {
|
|
67
|
-
return (
|
|
61
|
+
return _jsx(BasicErrorLabel, { children: error.message });
|
|
68
62
|
}
|
|
69
63
|
};
|
|
70
|
-
return ((
|
|
64
|
+
return (_jsxs(_Fragment, { children: [_jsx(StyledInput, { ...register, status: error.isNeedShowError, id: data.name, name: data.name, autoComplete: 'off', placeholder: data.placeHolder }), renderError()] }));
|
|
71
65
|
};
|
|
72
|
-
|
|
66
|
+
export default Input;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
const
|
|
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("../Input");
|
|
11
|
-
const StyledLabel = styled_components_1.default.label `
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { BorderColorLight } from '@ludo.ninja/ui/build/styles/colors';
|
|
4
|
+
import { AccentColor, BlackColor, WhiteColor } from "../../../styles/colors";
|
|
5
|
+
import { StyledInput } from "../Input";
|
|
6
|
+
const StyledLabel = styled.label `
|
|
12
7
|
position: relative;
|
|
13
8
|
padding: 8px 0 8px 27px;
|
|
14
9
|
cursor: pointer;
|
|
15
10
|
font-size: 1.4em;
|
|
16
|
-
color: ${
|
|
11
|
+
color: ${BlackColor};
|
|
17
12
|
font-weight: 500;
|
|
18
13
|
user-select: none;
|
|
19
14
|
|
|
@@ -32,7 +27,7 @@ const StyledLabel = styled_components_1.default.label `
|
|
|
32
27
|
left: 0;
|
|
33
28
|
height: 18px;
|
|
34
29
|
width: 18px;
|
|
35
|
-
background-color: ${
|
|
30
|
+
background-color: ${BorderColorLight};
|
|
36
31
|
border-radius: 50%;
|
|
37
32
|
transition: background-color 200ms;
|
|
38
33
|
}
|
|
@@ -46,13 +41,13 @@ const StyledLabel = styled_components_1.default.label `
|
|
|
46
41
|
width: 16px;
|
|
47
42
|
height: 16px;
|
|
48
43
|
border-radius: 50%;
|
|
49
|
-
background: ${
|
|
44
|
+
background: ${WhiteColor};
|
|
50
45
|
transition: width 200ms, height 200ms;
|
|
51
46
|
}
|
|
52
47
|
|
|
53
48
|
input:checked ~ .checkmark,
|
|
54
49
|
.checked {
|
|
55
|
-
background-color: ${
|
|
50
|
+
background-color: ${AccentColor};
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
input:checked ~ .checkmark:after,
|
|
@@ -68,6 +63,6 @@ const BasicRadioInput = ({ radioLabel, radioValue, radioChecked, handleChange, c
|
|
|
68
63
|
}
|
|
69
64
|
handleChange(e.target.value);
|
|
70
65
|
};
|
|
71
|
-
return ((
|
|
66
|
+
return (_jsxs(StyledLabel, { className: className, children: [radioLabel, _jsx("input", { type: "radio", checked: radioChecked, value: radioValue, id: `${radioValue}_${radioLabel}`, onChange: (e) => handleChangeRadioInput(e) }), withInput && (_jsx(StyledInput, { status: false, ...innerTextInputRef, disabled: !radioChecked })), _jsx("span", { className: `checkmark` })] }));
|
|
72
67
|
};
|
|
73
|
-
|
|
68
|
+
export default BasicRadioInput;
|