profinansy-ui-lib 1.0.58 → 1.0.60
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/package.json +30 -30
- package/readme.md +10 -10
- package/dist/assets/about-icon.d.ts +0 -3
- package/dist/assets/apple-icon.d.ts +0 -3
- package/dist/assets/burger-icon-dark.d.ts +0 -3
- package/dist/assets/burger-icon.d.ts +0 -3
- package/dist/assets/capital-icon.d.ts +0 -3
- package/dist/assets/channels-icon.d.ts +0 -3
- package/dist/assets/chats-icon.d.ts +0 -3
- package/dist/assets/chevron-icon.d.ts +0 -3
- package/dist/assets/close-icon.d.ts +0 -3
- package/dist/assets/club-icon.d.ts +0 -3
- package/dist/assets/education-icon.d.ts +0 -3
- package/dist/assets/expenses-icon.d.ts +0 -3
- package/dist/assets/favorites-icon.d.ts +0 -3
- package/dist/assets/feed-icon.d.ts +0 -3
- package/dist/assets/google-store-icon.d.ts +0 -3
- package/dist/assets/huawei-store-icon.d.ts +0 -3
- package/dist/assets/index.d.ts +0 -0
- package/dist/assets/investments-icon.d.ts +0 -3
- package/dist/assets/lock-icon-dark.d.ts +0 -3
- package/dist/assets/lock-icon.d.ts +0 -3
- package/dist/assets/logout-icon.d.ts +0 -3
- package/dist/assets/profile-icon.d.ts +0 -3
- package/dist/assets/purchases-icon.d.ts +0 -3
- package/dist/assets/purrple-logo-dark.d.ts +0 -3
- package/dist/assets/purrple-logo.d.ts +0 -3
- package/dist/assets/tariffs-icon.d.ts +0 -3
- package/dist/assets/telegram-icon.d.ts +0 -3
- package/dist/assets/vk-icon.d.ts +0 -3
- package/dist/assets/youtube-icon copy.d.ts +0 -3
- package/dist/common.types.d.ts +0 -27
- package/dist/components/footer/constants.d.ts +0 -16
- package/dist/components/footer/footer.d.ts +0 -10
- package/dist/components/footer/footer.styled.d.ts +0 -29
- package/dist/components/footer/index.d.ts +0 -1
- package/dist/components/header/constants.d.ts +0 -63
- package/dist/components/header/header-link-item/header-link-item.d.ts +0 -12
- package/dist/components/header/header-link-item/header-link-item.styled.d.ts +0 -7
- package/dist/components/header/header.d.ts +0 -16
- package/dist/components/header/header.styled.d.ts +0 -7
- package/dist/components/header/index.d.ts +0 -1
- package/dist/components/header/user-dropdown-menu/constants.d.ts +0 -5
- package/dist/components/header/user-dropdown-menu/user-dropdown-menu.d.ts +0 -13
- package/dist/components/header/user-dropdown-menu/user-dropdown-menu.styled.d.ts +0 -7
- package/dist/components/icon-wrapper/icon-wrapper.d.ts +0 -7
- package/dist/context/theme-context.d.ts +0 -5
- package/dist/hooks/useBreakpoints.d.ts +0 -6
- package/dist/hooks/useCurrentPath.d.ts +0 -4
- package/dist/hooks/useDisableScroll.d.ts +0 -3
- package/dist/hooks/useListenOutsideClick.d.ts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -536
- package/dist/index.js.LICENSE.txt +0 -8
- package/dist/utils.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "profinansy-ui-lib",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "./dist/index.js",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"devDependencies": {
|
|
7
|
-
"@types/react": "^18.0.27",
|
|
8
|
-
"css-loader": "^6.7.3",
|
|
9
|
-
"sass": "^1.57.1",
|
|
10
|
-
"sass-loader": "^13.2.0",
|
|
11
|
-
"style-loader": "^3.3.1",
|
|
12
|
-
"styled-components": "^5.3.6",
|
|
13
|
-
"ts-loader": "^9.4.2",
|
|
14
|
-
"typescript": "^4.9.4",
|
|
15
|
-
"webpack": "^5.75.0",
|
|
16
|
-
"webpack-cli": "^5.0.1"
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "webpack",
|
|
20
|
-
"pub": "webpack && npm version patch && npm publish"
|
|
21
|
-
},
|
|
22
|
-
"peerDependencies": {
|
|
23
|
-
"react": "^17",
|
|
24
|
-
"styled-components": "^5.3.6"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"./dist"
|
|
28
|
-
],
|
|
29
|
-
"dependencies": {}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "profinansy-ui-lib",
|
|
3
|
+
"version": "1.0.60",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"devDependencies": {
|
|
7
|
+
"@types/react": "^18.0.27",
|
|
8
|
+
"css-loader": "^6.7.3",
|
|
9
|
+
"sass": "^1.57.1",
|
|
10
|
+
"sass-loader": "^13.2.0",
|
|
11
|
+
"style-loader": "^3.3.1",
|
|
12
|
+
"styled-components": "^5.3.6",
|
|
13
|
+
"ts-loader": "^9.4.2",
|
|
14
|
+
"typescript": "^4.9.4",
|
|
15
|
+
"webpack": "^5.75.0",
|
|
16
|
+
"webpack-cli": "^5.0.1"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "webpack",
|
|
20
|
+
"pub": "webpack && npm version patch && npm publish"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": "^17",
|
|
24
|
+
"styled-components": "^5.3.6"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"./dist"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {}
|
|
30
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Флоу работы
|
|
2
|
-
1. Создать ветку от master
|
|
3
|
-
2. Сделать изменения, обновить версию в package.json, выполнить команду yarn build, запушить в гитлаб и открыть МР в мастер(прикрепляете ссылку на задачу в МР и кидаете его в группу в телеге)
|
|
4
|
-
3. Ревьювер посмотрит на МР, если это апрув, примет МР в main, и выполнит у себя локально команду npm publish
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
# Как смотреть изменения
|
|
8
|
-
1. Надо расшарить локально репу общих компонентов, для этого в терминале в корневой директории проекта **profinansy-react-components** запустить команду **yarn link**
|
|
9
|
-
2. В своем проекте, в котором используется эта репа(profinansy, к примеру),надо выполнить команду **yarn remove profinansy-ui-lib**, затем **yarn link profinansy-ui-lib**. Для применения изменений выполняйте команду **yarn build** в репозитории **profinansy-react-components**. Возможно то, что typescript будет кидать ошибки JSX типа "**cannot be used as a JSX component**", пока вы не отвяжете локальную привязку
|
|
10
|
-
3. После завершения работы над компонентами, надо отвязать привязку: **yarn unlink profinansy-ui-lib**, затем **yarn add --force profinansy-ui-lib**
|
|
1
|
+
# Флоу работы
|
|
2
|
+
1. Создать ветку от master
|
|
3
|
+
2. Сделать изменения, обновить версию в package.json, выполнить команду yarn build, запушить в гитлаб и открыть МР в мастер(прикрепляете ссылку на задачу в МР и кидаете его в группу в телеге)
|
|
4
|
+
3. Ревьювер посмотрит на МР, если это апрув, примет МР в main, и выполнит у себя локально команду npm publish
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Как смотреть изменения
|
|
8
|
+
1. Надо расшарить локально репу общих компонентов, для этого в терминале в корневой директории проекта **profinansy-react-components** запустить команду **yarn link**
|
|
9
|
+
2. В своем проекте, в котором используется эта репа(profinansy, к примеру),надо выполнить команду **yarn remove profinansy-ui-lib**, затем **yarn link profinansy-ui-lib**. Для применения изменений выполняйте команду **yarn build** в репозитории **profinansy-react-components**. Возможно то, что typescript будет кидать ошибки JSX типа "**cannot be used as a JSX component**", пока вы не отвяжете локальную привязку
|
|
10
|
+
3. После завершения работы над компонентами, надо отвязать привязку: **yarn unlink profinansy-ui-lib**, затем **yarn add --force profinansy-ui-lib**
|
package/dist/assets/index.d.ts
DELETED
|
File without changes
|
package/dist/assets/vk-icon.d.ts
DELETED
package/dist/common.types.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IconsInterface {
|
|
3
|
-
color?: string;
|
|
4
|
-
size?: number;
|
|
5
|
-
height?: number;
|
|
6
|
-
width?: number;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export type UserRole = 'guest' | 'authorized' | 'paid';
|
|
10
|
-
export type HeaderLinkType = {
|
|
11
|
-
name: string;
|
|
12
|
-
href: string;
|
|
13
|
-
outsideLink?: boolean;
|
|
14
|
-
Icon: React.FC<IconsInterface>;
|
|
15
|
-
locked?: boolean;
|
|
16
|
-
subPages: {
|
|
17
|
-
name: string;
|
|
18
|
-
href: string;
|
|
19
|
-
locked?: boolean;
|
|
20
|
-
onlyMobile?: boolean;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
export type SearchBoxTypes = {
|
|
24
|
-
open: boolean;
|
|
25
|
-
onClose: () => void;
|
|
26
|
-
anchorEl: HTMLButtonElement | HTMLDivElement | null;
|
|
27
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { UserRole } from '../../common.types';
|
|
2
|
-
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, profinansyHostname: string, leaderboardPermission?: boolean) => FooterLink[][];
|
|
3
|
-
export declare const footerDescription = "\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0430\u043D\u043D\u043E\u043C \u0441\u0430\u0439\u0442\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0438\n\u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438\u043D\u0432\u0435\u0441\u0442\u043E\u0440\u043E\u043C. \u041D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u043E\u0439\n\u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0435\u0439. \u041D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0440\u0435\u043A\u043B\u0430\u043C\u043E\u0439 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433\n\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0439. \u0413\u0440\u0430\u0444\u0438\u043A\u0438 \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u0438 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433 \u043E\u0442\u0440\u0430\u0436\u0430\u044E\u0442\n\u0438\u0441\u0442\u043E\u0440\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0434\u0438\u043D\u0430\u043C\u0438\u043A\u0443 \u0446\u0435\u043D\u044B \u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0435\u0439 \u0434\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u0438 \u0432\n\u0431\u0443\u0434\u0443\u0449\u0435\u043C. \u041F\u0440\u043E\u0448\u043B\u044B\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043D\u0435 \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0440\u0443\u044E\u0442\n\u0434\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u044C \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043C. \u0427\u0438\u0441\u043B\u043E\u0432\u044B\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438 \u0432\u0437\u044F\u0442\u044B \u0438\u0437 \u043E\u0444\u0438\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445\n\u0444\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0445 \u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0439. \u041E\u041E\u041E \u00AB\u041F\u0420\u041E\u0424\u0418\u041D\u0410\u041D\u0421\u042B \u0418\u0422 \u0420\u0415\u0428\u0415\u041D\u0418\u042F\u00BB \u043D\u0435 \u043D\u0435\u0441\u0435\u0442 \u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0437\u0430 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435\n\u0443\u0431\u044B\u0442\u043A\u0438 \u0438\u043D\u0432\u0435\u0441\u0442\u043E\u0440\u0430 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u043D\u0430 \u0441\u0430\u0439\u0442\u0435\n\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u0432 \u0441\u0432\u043E\u0435\u0439 \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0438, \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0445\n\u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433.";
|
|
4
|
-
export declare const getFooterLeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => {
|
|
5
|
-
title: string;
|
|
6
|
-
href: string;
|
|
7
|
-
}[];
|
|
8
|
-
type FooterLink = {
|
|
9
|
-
title: string;
|
|
10
|
-
href: string;
|
|
11
|
-
links?: {
|
|
12
|
-
title: string;
|
|
13
|
-
href: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { UserRole } from '../../common.types';
|
|
3
|
-
export type FooterProps = {
|
|
4
|
-
userRole: UserRole;
|
|
5
|
-
clubAccess: boolean;
|
|
6
|
-
isProfinansy?: boolean;
|
|
7
|
-
onRouteChange?: (url: string) => void;
|
|
8
|
-
leaderboardPermission?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const Footer: FC<FooterProps>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const FooterRoot: any;
|
|
2
|
-
export declare const FooterTop: any;
|
|
3
|
-
export declare const FooterTopLeft: any;
|
|
4
|
-
export declare const FooterSecondBlock: any;
|
|
5
|
-
export declare const IconsList: any;
|
|
6
|
-
export declare const SocialIconWrapper: any;
|
|
7
|
-
export declare const FooterBottomText: any;
|
|
8
|
-
export declare const FooterLinks: any;
|
|
9
|
-
export declare const LinksRow: any;
|
|
10
|
-
export declare const LinksUl: any;
|
|
11
|
-
export declare const LinkLi: any;
|
|
12
|
-
export declare const MainLink: any;
|
|
13
|
-
export declare const LinkA: any;
|
|
14
|
-
export declare const DocumentsLinks: any;
|
|
15
|
-
export declare const DocumentLink: any;
|
|
16
|
-
export declare const FooterFirstBlock: any;
|
|
17
|
-
export declare const MainData: any;
|
|
18
|
-
export declare const DownloadMarketList: any;
|
|
19
|
-
export declare const DownloadIconWrapper: any;
|
|
20
|
-
export declare const StoreName: any;
|
|
21
|
-
export declare const DownloadDescription: any;
|
|
22
|
-
export declare const AddressBlock: any;
|
|
23
|
-
export declare const CompanyName: any;
|
|
24
|
-
export declare const Address: any;
|
|
25
|
-
export declare const HelpBlock: any;
|
|
26
|
-
export declare const HelpText: any;
|
|
27
|
-
export declare const HelpTextP: any;
|
|
28
|
-
export declare const HelpLink: any;
|
|
29
|
-
export declare const ContactNumbers: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './footer';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { HeaderLinkType, UserRole } from '../../common.types';
|
|
2
|
-
export declare const getMainLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => Record<UserRole, HeaderLinkType[]>;
|
|
3
|
-
export declare const LeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => {
|
|
4
|
-
name: string;
|
|
5
|
-
href: string;
|
|
6
|
-
locked: boolean;
|
|
7
|
-
}[] | {
|
|
8
|
-
name: string;
|
|
9
|
-
href: string;
|
|
10
|
-
}[];
|
|
11
|
-
export declare const getClubLinks: (access: boolean, profinansyHostname: string) => {
|
|
12
|
-
name: string;
|
|
13
|
-
href: string;
|
|
14
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
15
|
-
subPages: {
|
|
16
|
-
name: string;
|
|
17
|
-
href: string;
|
|
18
|
-
locked: boolean;
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
21
|
-
export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
|
|
22
|
-
export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => {
|
|
23
|
-
name: string;
|
|
24
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
25
|
-
href: string;
|
|
26
|
-
subPages: ({
|
|
27
|
-
name: string;
|
|
28
|
-
href: string;
|
|
29
|
-
locked: boolean;
|
|
30
|
-
Icon?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
name: string;
|
|
33
|
-
href: string;
|
|
34
|
-
locked?: undefined;
|
|
35
|
-
Icon?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
name: string;
|
|
38
|
-
href: string;
|
|
39
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
40
|
-
locked: boolean;
|
|
41
|
-
})[];
|
|
42
|
-
}[];
|
|
43
|
-
export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => {
|
|
44
|
-
name: string;
|
|
45
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
46
|
-
href: string;
|
|
47
|
-
subPages: ({
|
|
48
|
-
name: string;
|
|
49
|
-
href: string;
|
|
50
|
-
onlyMobile: boolean;
|
|
51
|
-
Icon?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
name: string;
|
|
54
|
-
href: string;
|
|
55
|
-
onlyMobile?: undefined;
|
|
56
|
-
Icon?: undefined;
|
|
57
|
-
} | {
|
|
58
|
-
name: string;
|
|
59
|
-
href: string;
|
|
60
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
61
|
-
onlyMobile?: undefined;
|
|
62
|
-
})[];
|
|
63
|
-
}[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { HeaderLinkType } from '../../../common.types';
|
|
3
|
-
type Props = HeaderLinkType & {
|
|
4
|
-
onRouteChange: (path: string) => void;
|
|
5
|
-
closeBurger: () => void;
|
|
6
|
-
burgerOpened: boolean;
|
|
7
|
-
blackVersion?: boolean;
|
|
8
|
-
mainColor?: string;
|
|
9
|
-
activeColor?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const HeaderLinkItem: FC<Props>;
|
|
12
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const HeaderItem: any;
|
|
2
|
-
export declare const HeaderDropdown: any;
|
|
3
|
-
export declare const HeaderDropdownItem: any;
|
|
4
|
-
export declare const HeaderDropdownItemLink: any;
|
|
5
|
-
export declare const HeaderLink: any;
|
|
6
|
-
export declare const ChevronIconWrapper: any;
|
|
7
|
-
export declare const LinkIconSvgWrapper: any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { UserRole } from '../../common.types';
|
|
3
|
-
type Props = {
|
|
4
|
-
userRole: UserRole;
|
|
5
|
-
avatarUrl?: string;
|
|
6
|
-
clubAccess: boolean;
|
|
7
|
-
isTest: boolean;
|
|
8
|
-
onLogout: () => void;
|
|
9
|
-
isProfinansy?: boolean;
|
|
10
|
-
onRouteChange?: (path: string) => void;
|
|
11
|
-
SearchBox?: () => JSX.Element;
|
|
12
|
-
blackVersion?: boolean;
|
|
13
|
-
leaderBoardPermission?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare const Header: FC<Props>;
|
|
16
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const HeaderRoot: any;
|
|
2
|
-
export declare const LinkList: any;
|
|
3
|
-
export declare const HeaderRight: any;
|
|
4
|
-
export declare const SearchBoxWrapper: any;
|
|
5
|
-
export declare const AuthBtn: any;
|
|
6
|
-
export declare const BurgerBtn: any;
|
|
7
|
-
export declare const LogoBtn: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './header';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
type UserDropdownMenuProps = {
|
|
3
|
-
avatarUrl?: string;
|
|
4
|
-
profinansyHostname: string;
|
|
5
|
-
onRouteChange: (path: string) => void;
|
|
6
|
-
onLogout: () => void;
|
|
7
|
-
closeBurger: () => void;
|
|
8
|
-
mainColor?: string;
|
|
9
|
-
activeColor?: string;
|
|
10
|
-
blackVersion?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare const UserDropdownMenu: FC<UserDropdownMenuProps>;
|
|
13
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const UserDropdownRoot: any;
|
|
2
|
-
export declare const UserAvatar: any;
|
|
3
|
-
export declare const UserMenuWrapper: any;
|
|
4
|
-
export declare const UserMenu: any;
|
|
5
|
-
export declare const UserMenuItem: any;
|
|
6
|
-
export declare const UserMenuText: any;
|
|
7
|
-
export declare const Line: any;
|
package/dist/index.d.ts
DELETED