@ludo.ninja/components 2.1.80 → 2.1.82
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-identities/queries/useFetchUserWallets/index.d.ts +1 -1
- package/build/api/server-medias/queries/useFetchUserPic/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +13 -13
- package/build/api/server-search/queries/useFindProfilesByName/index.d.ts +7 -7
- package/build/components/assetPage/audioVideoPlayer/index.d.ts +2 -2
- package/build/components/base/PageHead/index.d.ts +8 -0
- package/build/components/base/PageHead/index.js +13 -0
- package/build/components/sidebar/sidebarSpa.d.ts +2 -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/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 +2 -1
- 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 +2 -1
- package/build/system/Tabs/TabNavLink/index.d.ts +2 -2
- package/build/system/Tabs/TabsNav/index.d.ts +1 -1
- package/package.json +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { identitySchema as schema } from "@ludo.ninja/api";
|
|
2
2
|
declare const useFetchUserWallets: ({ userId }: schema.IQueryFetchUserWalletsArgs) => {
|
|
3
3
|
refetch: (variables?: Partial<schema.Exact<{
|
|
4
|
-
userId:
|
|
4
|
+
userId: string;
|
|
5
5
|
}>> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<schema.IFetchUserWalletsQuery>>;
|
|
6
6
|
loading: boolean;
|
|
7
7
|
error: import("@apollo/client").ApolloError | undefined;
|
|
@@ -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: string;
|
|
8
8
|
}>> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<schema.IFetchUserpicQuery>>;
|
|
9
9
|
load: (userId: string) => void;
|
|
10
10
|
userPic: string | null;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { ApolloClient, NormalizedCacheObject } from '@apollo/client';
|
|
2
|
-
import { searchSchema
|
|
2
|
+
import { searchSchema } from '@ludo.ninja/api';
|
|
3
3
|
import { ProfileEntity } from '@ludo.ninja/core';
|
|
4
4
|
import AssetEntity from '../../../../dto/AssetSearchEntity';
|
|
5
|
-
export declare const prefetchFindAllTopEntitiesByName: ({ name, pageSize }:
|
|
5
|
+
export declare const prefetchFindAllTopEntitiesByName: ({ name, pageSize }: searchSchema.IQueryFindAllTopEntitiesByNameArgs, apolloClient: ApolloClient<NormalizedCacheObject>) => Promise<import("@apollo/client").ApolloQueryResult<any> | {
|
|
6
6
|
data: {
|
|
7
7
|
findAllTopEntitiesByName: null;
|
|
8
8
|
};
|
|
9
9
|
}>;
|
|
10
10
|
export declare const useFetchFindAllTopEntitiesByName: () => {
|
|
11
|
-
data:
|
|
11
|
+
data: searchSchema.IFindAllTopEntitiesByNameQuery | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
error: import("@apollo/client").ApolloError | undefined;
|
|
14
|
-
load: ({ name, pageSize }:
|
|
15
|
-
name:
|
|
16
|
-
pageSize:
|
|
14
|
+
load: ({ name, pageSize }: searchSchema.IQueryFindAllTopEntitiesByNameArgs) => Promise<import("@apollo/client").QueryResult<searchSchema.IFindAllTopEntitiesByNameQuery, searchSchema.Exact<{
|
|
15
|
+
name: string;
|
|
16
|
+
pageSize: number;
|
|
17
17
|
}>>>;
|
|
18
18
|
topEntities: {
|
|
19
19
|
assets: AssetEntity[];
|
|
20
|
-
collections:
|
|
20
|
+
collections: searchSchema.ICollection[];
|
|
21
21
|
profiles: ProfileEntity[];
|
|
22
22
|
} | null;
|
|
23
23
|
clearTopEntitiesState: () => void;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: {
|
|
26
26
|
useFetchFindAllTopEntitiesByName: () => {
|
|
27
|
-
data:
|
|
27
|
+
data: searchSchema.IFindAllTopEntitiesByNameQuery | undefined;
|
|
28
28
|
loading: boolean;
|
|
29
29
|
error: import("@apollo/client").ApolloError | undefined;
|
|
30
|
-
load: ({ name, pageSize }:
|
|
31
|
-
name:
|
|
32
|
-
pageSize:
|
|
30
|
+
load: ({ name, pageSize }: searchSchema.IQueryFindAllTopEntitiesByNameArgs) => Promise<import("@apollo/client").QueryResult<searchSchema.IFindAllTopEntitiesByNameQuery, searchSchema.Exact<{
|
|
31
|
+
name: string;
|
|
32
|
+
pageSize: number;
|
|
33
33
|
}>>>;
|
|
34
34
|
topEntities: {
|
|
35
35
|
assets: AssetEntity[];
|
|
36
|
-
collections:
|
|
36
|
+
collections: searchSchema.ICollection[];
|
|
37
37
|
profiles: ProfileEntity[];
|
|
38
38
|
} | null;
|
|
39
39
|
clearTopEntitiesState: () => void;
|
|
40
40
|
};
|
|
41
|
-
prefetchFindAllTopEntitiesByName: ({ name, pageSize }:
|
|
41
|
+
prefetchFindAllTopEntitiesByName: ({ name, pageSize }: searchSchema.IQueryFindAllTopEntitiesByNameArgs, apolloClient: ApolloClient<NormalizedCacheObject>) => Promise<import("@apollo/client").ApolloQueryResult<any> | {
|
|
42
42
|
data: {
|
|
43
43
|
findAllTopEntitiesByName: null;
|
|
44
44
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ApolloClient, NormalizedCacheObject } from '@apollo/client';
|
|
2
|
-
import { searchSchema
|
|
2
|
+
import { searchSchema } from '@ludo.ninja/api';
|
|
3
3
|
import { ProfileEntity } from '@ludo.ninja/core';
|
|
4
|
-
export declare const prefetchFindProfilesByName: ({ name, page }:
|
|
4
|
+
export declare const prefetchFindProfilesByName: ({ name, page }: searchSchema.IQueryFindProfilesByNameArgs, apolloClient: ApolloClient<NormalizedCacheObject>) => Promise<import("@apollo/client").ApolloQueryResult<any> | {
|
|
5
5
|
data: {
|
|
6
6
|
findProfilesByName: null;
|
|
7
7
|
};
|
|
8
8
|
}>;
|
|
9
|
-
export declare const useFindProfilesByName: ({ name, page, }:
|
|
10
|
-
data:
|
|
9
|
+
export declare const useFindProfilesByName: ({ name, page, }: searchSchema.IQueryFindProfilesByNameArgs) => {
|
|
10
|
+
data: searchSchema.IFindProfilesByNameQuery | undefined;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
error: import("@apollo/client").ApolloError | undefined;
|
|
13
13
|
clientProfiles: ProfileEntity[] | null;
|
|
@@ -15,13 +15,13 @@ export declare const useFindProfilesByName: ({ name, page, }: schema.IQueryFindP
|
|
|
15
15
|
clientResults: number;
|
|
16
16
|
};
|
|
17
17
|
declare const _default: {
|
|
18
|
-
prefetchFindProfilesByName: ({ name, page }:
|
|
18
|
+
prefetchFindProfilesByName: ({ name, page }: searchSchema.IQueryFindProfilesByNameArgs, apolloClient: ApolloClient<NormalizedCacheObject>) => Promise<import("@apollo/client").ApolloQueryResult<any> | {
|
|
19
19
|
data: {
|
|
20
20
|
findProfilesByName: null;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
-
useFindProfilesByName: ({ name, page, }:
|
|
24
|
-
data:
|
|
23
|
+
useFindProfilesByName: ({ name, page, }: searchSchema.IQueryFindProfilesByNameArgs) => {
|
|
24
|
+
data: searchSchema.IFindProfilesByNameQuery | undefined;
|
|
25
25
|
loading: boolean;
|
|
26
26
|
error: import("@apollo/client").ApolloError | undefined;
|
|
27
27
|
clientProfiles: ProfileEntity[] | null;
|
|
@@ -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/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
70
70
|
poster: string | null | undefined;
|
|
71
71
|
playerType: string;
|
|
72
72
|
isFullscreenMode: boolean;
|
|
73
|
-
}
|
|
73
|
+
}>> & string;
|
|
74
74
|
export declare class AudioVideoPlayer extends Component<ReactPlayerProps, PlayerStateTypes> {
|
|
75
75
|
private player;
|
|
76
76
|
constructor(props: ReactPlayerProps);
|
|
@@ -0,0 +1,13 @@
|
|
|
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 head_1 = __importDefault(require("next/head"));
|
|
8
|
+
// Component
|
|
9
|
+
const PageHead = ({ title, description, children }) => {
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsx)("title", { children: title }), description && (0, jsx_runtime_1.jsx)("meta", { name: "description", content: description }), children] }));
|
|
11
|
+
};
|
|
12
|
+
// Export
|
|
13
|
+
exports.default = PageHead;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const SLinkStyles: (Link: any) => import("styled-components").
|
|
1
|
+
export declare const SLinkStyles: (Link: any) => import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<any, {
|
|
2
2
|
scale: {
|
|
3
3
|
transform: string;
|
|
4
4
|
} | object;
|
|
5
|
-
}
|
|
5
|
+
}>> & string & (import("styled-components/dist/types").BaseObject | Omit<any, keyof import("react").Component<any, {}, any>>);
|
|
6
6
|
export declare const SidebarSpa: ({ SLink, UserPic, SidebarInviteCodeLabel }: {
|
|
7
7
|
SLink: any;
|
|
8
8
|
UserPic: any;
|
|
@@ -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").RuleSet<object>;
|
|
@@ -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/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
2
|
+
export declare const StyledMainForms: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const STopSections: import("styled-components").
|
|
1
|
+
export declare const STopSections: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -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/dist/models/Keyframes").default;
|
|
2
|
+
export declare const rotate: import("styled-components/dist/models/Keyframes").default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const GlobalStyle: import("
|
|
1
|
+
declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
|
|
2
2
|
export default GlobalStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const BoxShadow: () => import("styled-components").
|
|
1
|
+
declare const BoxShadow: () => import("styled-components").RuleSet<object>;
|
|
2
2
|
export default BoxShadow;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const BoxTransform: () => import("styled-components").
|
|
1
|
+
declare const BoxTransform: () => import("styled-components").RuleSet<object>;
|
|
2
2
|
export default BoxTransform;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const StyledCardShowMore: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
3
|
declare const CardShowMore: ({ itemId, href }: {
|
|
3
4
|
itemId: string;
|
|
4
5
|
href: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledContentCard: import("styled-components").
|
|
1
|
+
declare const StyledContentCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export default StyledContentCard;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledCardHead: import("styled-components").
|
|
1
|
+
declare const StyledCardHead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export default StyledCardHead;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const StyledHeadIcons: import("styled-components").
|
|
1
|
+
declare const StyledHeadIcons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
2
|
isMobile: boolean;
|
|
3
|
-
}
|
|
3
|
+
}>> & string;
|
|
4
4
|
export default StyledHeadIcons;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const StyledImg: import("styled-components").
|
|
1
|
+
declare const StyledImg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {
|
|
2
2
|
isLoading: boolean;
|
|
3
|
-
}
|
|
3
|
+
}>> & string;
|
|
4
4
|
export default StyledImg;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const StyledLikes: import("styled-components").
|
|
1
|
+
declare const StyledLikes: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
2
|
isLiked: boolean;
|
|
3
|
-
}
|
|
3
|
+
}>> & string;
|
|
4
4
|
export default StyledLikes;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledMultiHead: import("styled-components").
|
|
1
|
+
declare const StyledMultiHead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export default StyledMultiHead;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledVideo: import("styled-components").
|
|
1
|
+
declare const StyledVideo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, never>> & string;
|
|
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/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
5
5
|
status: boolean;
|
|
6
|
-
}
|
|
6
|
+
}>> & string;
|
|
7
7
|
interface Props {
|
|
8
8
|
data: inputType;
|
|
9
9
|
register: UseFormRegisterReturn;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const StyledModalSidebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
3
|
declare const ModalSidebar: () => import("react/jsx-runtime").JSX.Element | null;
|
|
3
4
|
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/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
4
|
isActive: boolean;
|
|
5
|
-
}
|
|
5
|
+
}>> & string;
|
|
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/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
4
|
interface Props {
|
|
5
5
|
tabsData: TabsNavType[];
|
|
6
6
|
activeTab: TActiveTab;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ludo.ninja/components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.82",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"publish": "npm publish --access public -workspace @ludo.ninja/components"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
+
"@ludo.ninja/api": "^2.8.97",
|
|
26
27
|
"@react-three/drei": "^9.68.3",
|
|
27
28
|
"@react-three/fiber": "^8.13.0",
|
|
28
29
|
"chart.js": "^4.4.3",
|