profinansy-ui-lib 2.0.93 → 2.0.95
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/dist/components/footer/constants.d.ts +1 -1
- package/dist/components/header/components/HeaderCenter/HeaderCenter.d.ts +2 -1
- package/dist/components/header/contstants/authLinks.d.ts +1 -1
- package/dist/components/header/contstants/guestLinks.d.ts +1 -1
- package/dist/components/header/contstants/links.d.ts +1 -1
- package/dist/components/header/contstants/paidLinks.d.ts +1 -1
- package/dist/index.js +12 -12
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserRole } from '../../common.types';
|
|
2
|
-
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, hostname: string,
|
|
2
|
+
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, hostname: string, leaderboardPermission: boolean, isTest: boolean) => {
|
|
3
3
|
title: string;
|
|
4
4
|
href: string;
|
|
5
5
|
links: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UserRole } from '../../../../common.types';
|
|
2
2
|
interface IProps {
|
|
3
3
|
hostname: string;
|
|
4
|
+
hostnameLenta: string;
|
|
4
5
|
userRole: UserRole;
|
|
5
6
|
leaderBoardPermission: boolean;
|
|
6
7
|
clubAccess: boolean;
|
|
@@ -13,5 +14,5 @@ interface IProps {
|
|
|
13
14
|
onCloseBurger: () => void;
|
|
14
15
|
SearchBox: () => JSX.Element;
|
|
15
16
|
}
|
|
16
|
-
declare const HeaderCenter: ({ hostname, userRole, leaderBoardPermission, clubAccess, isPartner, burgerOpened, isConfirmPartner, handleRouteChange, setBurgerOpened, onLogout, onCloseBurger, SearchBox }: IProps) => JSX.Element;
|
|
17
|
+
declare const HeaderCenter: ({ hostname, hostnameLenta, userRole, leaderBoardPermission, clubAccess, isPartner, burgerOpened, isConfirmPartner, handleRouteChange, setBurgerOpened, onLogout, onCloseBurger, SearchBox }: IProps) => JSX.Element;
|
|
17
18
|
export { HeaderCenter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { HeaderLinkType } from '../../../common.types';
|
|
2
|
-
export declare const guestLinks: (hostname: string) => HeaderLinkType[];
|
|
2
|
+
export declare const guestLinks: (hostname: string, hostnameLenta: string) => HeaderLinkType[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HeaderLinkType, UserRole } from '../../../common.types';
|
|
2
2
|
export declare const ABOUT_LINK = "https://sites.profinansy.ru/about_profinansyru";
|
|
3
|
-
export declare const getMainLinks: (hostname: string, leaderBoardPermission: boolean, clubPermission: boolean) => Record<UserRole, HeaderLinkType[]>;
|
|
3
|
+
export declare const getMainLinks: (hostname: string, hostnameLenta: string, leaderBoardPermission: boolean, clubPermission: boolean) => Record<UserRole, HeaderLinkType[]>;
|