@ludo.ninja/components 2.1.22 → 2.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/server-medias/queries/useFetchUserPic/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +4 -4
- package/build/components/assetPage/audioVideoPlayer/index.d.ts +2 -2
- package/build/components/headers/headerSimple/index.js +1 -2
- package/build/fonts/FontsInitializeLayout.d.ts +1 -1
- package/build/layouts/custom/styles.d.ts +2 -2
- package/build/modules/gallery/ui/STopSections.d.ts +1 -1
- package/build/modules/sessionScroll/index.d.ts +1 -1
- package/build/modules/sessionScroll/index.js +6 -5
- package/build/styles/animations/index.d.ts +2 -2
- package/build/styles/globalStyles.d.ts +1 -1
- package/build/styles/mixins/boxShadow.d.ts +1 -1
- package/build/styles/mixins/boxTransform.d.ts +1 -1
- package/build/system/Cards/CardContent/CardShowMore/index.d.ts +1 -2
- package/build/system/Cards/Styles/Content.d.ts +1 -1
- package/build/system/Cards/Styles/Head.d.ts +1 -1
- package/build/system/Cards/Styles/Headicons.d.ts +2 -2
- package/build/system/Cards/Styles/Image.d.ts +2 -2
- package/build/system/Cards/Styles/Likes.d.ts +2 -2
- package/build/system/Cards/Styles/MultiHead.d.ts +1 -1
- package/build/system/Cards/Styles/Video.d.ts +1 -1
- package/build/system/Forms/Input/index.d.ts +2 -2
- package/build/system/Modals/ModalSidebar/index.d.ts +1 -2
- package/build/system/Tabs/TabNavLink/index.d.ts +2 -2
- package/build/system/Tabs/TabsNav/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ declare const useFetchUserpic: () => {
|
|
|
4
4
|
loading: boolean;
|
|
5
5
|
error: import("@apollo/client").ApolloError | undefined;
|
|
6
6
|
refetch: (variables?: Partial<schema.Exact<{
|
|
7
|
-
userId:
|
|
7
|
+
userId: schema.Scalars["ID"];
|
|
8
8
|
}>> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<schema.IFetchUserpicQuery>>;
|
|
9
9
|
load: (userId: string) => void;
|
|
10
10
|
userPic: string | null;
|
|
@@ -12,8 +12,8 @@ export declare const useFetchFindAllTopEntitiesByName: () => {
|
|
|
12
12
|
loading: boolean;
|
|
13
13
|
error: import("@apollo/client").ApolloError | undefined;
|
|
14
14
|
load: ({ name, pageSize }: schema.IQueryFindAllTopEntitiesByNameArgs) => Promise<import("@apollo/client").QueryResult<schema.IFindAllTopEntitiesByNameQuery, schema.Exact<{
|
|
15
|
-
name:
|
|
16
|
-
pageSize:
|
|
15
|
+
name: schema.Scalars["String"];
|
|
16
|
+
pageSize: schema.Scalars["Int"];
|
|
17
17
|
}>>>;
|
|
18
18
|
topEntities: {
|
|
19
19
|
assets: AssetEntity[];
|
|
@@ -28,8 +28,8 @@ declare const _default: {
|
|
|
28
28
|
loading: boolean;
|
|
29
29
|
error: import("@apollo/client").ApolloError | undefined;
|
|
30
30
|
load: ({ name, pageSize }: schema.IQueryFindAllTopEntitiesByNameArgs) => Promise<import("@apollo/client").QueryResult<schema.IFindAllTopEntitiesByNameQuery, schema.Exact<{
|
|
31
|
-
name:
|
|
32
|
-
pageSize:
|
|
31
|
+
name: schema.Scalars["String"];
|
|
32
|
+
pageSize: schema.Scalars["Int"];
|
|
33
33
|
}>>>;
|
|
34
34
|
topEntities: {
|
|
35
35
|
assets: AssetEntity[];
|
|
@@ -66,11 +66,11 @@ export interface PlayerStateTypes {
|
|
|
66
66
|
error: boolean;
|
|
67
67
|
isFullscreenMode: boolean;
|
|
68
68
|
}
|
|
69
|
-
export declare const ReactPlayerWrapper: import("styled-components
|
|
69
|
+
export declare const ReactPlayerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
70
70
|
poster: string | null | undefined;
|
|
71
71
|
playerType: string;
|
|
72
72
|
isFullscreenMode: boolean;
|
|
73
|
-
}
|
|
73
|
+
}, never>;
|
|
74
74
|
export declare class AudioVideoPlayer extends Component<ReactPlayerProps, PlayerStateTypes> {
|
|
75
75
|
private player;
|
|
76
76
|
constructor(props: ReactPlayerProps);
|
|
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const image_1 = __importDefault(require("next/image"));
|
|
8
7
|
const colors_1 = require("../../../styles/colors");
|
|
9
8
|
const screen_1 = require("../../../utils/screen");
|
|
10
9
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -68,7 +67,7 @@ const HeaderSimple = () => {
|
|
|
68
67
|
const { windowWidth } = (0, screen_1.getWindowDimensions)();
|
|
69
68
|
const renderDesktopLogoOrMobile = () => {
|
|
70
69
|
const isMobile = windowWidth <= 768;
|
|
71
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
70
|
+
return ((0, jsx_runtime_1.jsx)("img", { width: isMobile ? 31 : 116, height: isMobile ? 32 : 28, src: isMobile ? '/logo/mobile_logo.svg' : '/logo/main_logo.svg', alt: "Ludo - a right place for NFT art" }));
|
|
72
71
|
};
|
|
73
72
|
const scrollDirection = (0, utils_1.useScrollDirection)();
|
|
74
73
|
const NEXT_PUBLIC_ENV_VALUE = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_VALUE);
|
|
@@ -9,4 +9,4 @@ export declare const getFontsLayout: ({ poppinsFont, dmsansFont }: {
|
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
12
|
-
export declare const GlobalFontsFallback: import("styled-components").
|
|
12
|
+
export declare const GlobalFontsFallback: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const StyledMain: import("styled-components
|
|
2
|
-
export declare const StyledMainForms: import("styled-components
|
|
1
|
+
export declare const StyledMain: import("styled-components").StyledComponent<"main", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const StyledMainForms: import("styled-components").StyledComponent<"main", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const STopSections: import("styled-components
|
|
1
|
+
export declare const STopSections: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -5,7 +5,8 @@ const react_1 = require("react");
|
|
|
5
5
|
const router_1 = require("next/router");
|
|
6
6
|
const traditional_1 = require("zustand/traditional");
|
|
7
7
|
const utils_1 = require("@ludo.ninja/utils");
|
|
8
|
-
const
|
|
8
|
+
const shallow_1 = require("zustand/shallow");
|
|
9
|
+
const sessionKey = "scrollPositions";
|
|
9
10
|
const getScrollKeys = () => {
|
|
10
11
|
const result = (0, utils_1.getSessionKey)(sessionKey);
|
|
11
12
|
if (result) {
|
|
@@ -30,7 +31,7 @@ exports.useScrollState = (0, traditional_1.createWithEqualityFn)()((setState, ge
|
|
|
30
31
|
setIsHandleUpdateScroll: (isHandleUpdateScroll) => {
|
|
31
32
|
setState({ isHandleUpdateScroll });
|
|
32
33
|
},
|
|
33
|
-
backRoute:
|
|
34
|
+
backRoute: "",
|
|
34
35
|
setBackRoute: (backRoute) => {
|
|
35
36
|
setState({ backRoute });
|
|
36
37
|
},
|
|
@@ -45,15 +46,15 @@ exports.useScrollState = (0, traditional_1.createWithEqualityFn)()((setState, ge
|
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
},
|
|
48
|
-
}));
|
|
49
|
+
}), shallow_1.shallow);
|
|
49
50
|
// custom Component Interceptor scroll state without global page rerender in effect
|
|
50
51
|
const DeleteScrollStateInterceptor = () => {
|
|
51
52
|
const removeScrollKeysWithCheckRoute = (0, exports.useScrollState)((state) => state.removeScrollKeysWithCheckRoute);
|
|
52
53
|
const router = (0, router_1.useRouter)();
|
|
53
54
|
(0, react_1.useEffect)(() => {
|
|
54
|
-
router.events.on(
|
|
55
|
+
router.events.on("routeChangeStart", removeScrollKeysWithCheckRoute);
|
|
55
56
|
return () => {
|
|
56
|
-
router.events.off(
|
|
57
|
+
router.events.off("routeChangeStart", removeScrollKeysWithCheckRoute);
|
|
57
58
|
};
|
|
58
59
|
}, []);
|
|
59
60
|
return null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rotateReverse: import("styled-components
|
|
2
|
-
export declare const rotate: import("styled-components
|
|
1
|
+
export declare const rotateReverse: import("styled-components").Keyframes;
|
|
2
|
+
export declare const rotate: import("styled-components").Keyframes;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const GlobalStyle: import("
|
|
1
|
+
declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
2
2
|
export default GlobalStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const BoxShadow: () => import("styled-components").
|
|
1
|
+
declare const BoxShadow: () => import("styled-components").FlattenSimpleInterpolation;
|
|
2
2
|
export default BoxShadow;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const BoxTransform: () => import("styled-components").
|
|
1
|
+
declare const BoxTransform: () => import("styled-components").FlattenSimpleInterpolation;
|
|
2
2
|
export default BoxTransform;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const StyledCardShowMore: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
1
|
+
export declare const StyledCardShowMore: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
declare const CardShowMore: ({ itemId, href }: {
|
|
4
3
|
itemId: string;
|
|
5
4
|
href: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledContentCard: import("styled-components
|
|
1
|
+
declare const StyledContentCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export default StyledContentCard;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledCardHead: import("styled-components
|
|
1
|
+
declare const StyledCardHead: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export default StyledCardHead;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const StyledHeadIcons: import("styled-components
|
|
1
|
+
declare const StyledHeadIcons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
isMobile: boolean;
|
|
3
|
-
}
|
|
3
|
+
}, never>;
|
|
4
4
|
export default StyledHeadIcons;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const StyledImg: import("styled-components
|
|
1
|
+
declare const StyledImg: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
|
|
2
2
|
isLoading: boolean;
|
|
3
|
-
}
|
|
3
|
+
}, never>;
|
|
4
4
|
export default StyledImg;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const StyledLikes: import("styled-components
|
|
1
|
+
declare const StyledLikes: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
isLiked: boolean;
|
|
3
|
-
}
|
|
3
|
+
}, never>;
|
|
4
4
|
export default StyledLikes;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledMultiHead: import("styled-components
|
|
1
|
+
declare const StyledMultiHead: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export default StyledMultiHead;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledVideo: import("styled-components
|
|
1
|
+
declare const StyledVideo: import("styled-components").StyledComponent<"video", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export default StyledVideo;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
3
|
import { inputType } from './type';
|
|
4
|
-
export declare const StyledInput: import("styled-components
|
|
4
|
+
export declare const StyledInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
|
|
5
5
|
status: boolean;
|
|
6
|
-
}
|
|
6
|
+
}, never>;
|
|
7
7
|
interface Props {
|
|
8
8
|
data: inputType;
|
|
9
9
|
register: UseFormRegisterReturn;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const StyledModalSidebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
1
|
+
export declare const StyledModalSidebar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
declare const ModalSidebar: () => import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
export default ModalSidebar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TabsNavType } from '../TabsNav/type';
|
|
3
|
-
export declare const StyledTabsNavLink: import("styled-components
|
|
3
|
+
export declare const StyledTabsNavLink: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
4
|
isActive: boolean;
|
|
5
|
-
}
|
|
5
|
+
}, never>;
|
|
6
6
|
interface Props {
|
|
7
7
|
tabNavLink: TabsNavType;
|
|
8
8
|
activeNavLink: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TActiveTab, TabsNavType } from './type';
|
|
3
|
-
export declare const StyledTabsNav: import("styled-components
|
|
3
|
+
export declare const StyledTabsNav: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
interface Props {
|
|
5
5
|
tabsData: TabsNavType[];
|
|
6
6
|
activeTab: TActiveTab;
|