profinansy-ui-lib 2.0.82 → 2.0.84
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/components/Navigation/Navigation.d.ts +2 -1
- package/dist/components/footer/constants.d.ts +1 -1
- package/dist/components/footer/footer.d.ts +1 -0
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +1 -1
- package/dist/components/header/contstants/authLinks.d.ts +0 -10
- package/dist/components/header/contstants/paidLinks.d.ts +0 -10
- package/dist/components/uikit/Card/Card.styled.d.ts +3 -1
- package/dist/index.js +69 -8
- package/package.json +1 -1
|
@@ -4,7 +4,8 @@ interface IProps {
|
|
|
4
4
|
clubAccess: boolean;
|
|
5
5
|
leaderboardPermission: boolean;
|
|
6
6
|
hostname: string;
|
|
7
|
+
isTest: boolean;
|
|
7
8
|
onRouteChange?: (url: string) => void;
|
|
8
9
|
}
|
|
9
|
-
declare const Navigation: ({ hostname, userRole, clubAccess, leaderboardPermission, onRouteChange }: IProps) => JSX.Element;
|
|
10
|
+
declare const Navigation: ({ hostname, userRole, clubAccess, leaderboardPermission, onRouteChange, isTest }: IProps) => JSX.Element;
|
|
10
11
|
export { Navigation };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserRole } from '../../common.types';
|
|
2
|
-
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, hostname: string, leaderboardPermission?: boolean) => {
|
|
2
|
+
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, hostname: string, isTest: boolean, leaderboardPermission?: boolean) => {
|
|
3
3
|
title: string;
|
|
4
4
|
href: string;
|
|
5
5
|
links: {
|
|
@@ -9,5 +9,5 @@ interface IProps {
|
|
|
9
9
|
isPossibleTrial: boolean;
|
|
10
10
|
trial: number | string;
|
|
11
11
|
}
|
|
12
|
-
export declare const UserDropdownMenu: ({ hostname, onRouteChange, onLogout, closeBurger, userRole, user, trial }: IProps) => JSX.Element;
|
|
12
|
+
export declare const UserDropdownMenu: ({ hostname, onRouteChange, onLogout, closeBurger, userRole, user, isPossibleTrial, trial }: IProps) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -20,20 +20,10 @@ export declare const authorizedLinks: (hostname: string, leaderBoardPermission:
|
|
|
20
20
|
name: string;
|
|
21
21
|
href: string;
|
|
22
22
|
unavailable?: undefined;
|
|
23
|
-
subLinks?: undefined;
|
|
24
23
|
} | {
|
|
25
24
|
name: string;
|
|
26
25
|
href: string;
|
|
27
26
|
unavailable: boolean;
|
|
28
|
-
subLinks?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
name: string;
|
|
31
|
-
subLinks: {
|
|
32
|
-
name: string;
|
|
33
|
-
href: string;
|
|
34
|
-
}[];
|
|
35
|
-
href?: undefined;
|
|
36
|
-
unavailable?: undefined;
|
|
37
27
|
})[];
|
|
38
28
|
innerPages: string[];
|
|
39
29
|
} | {
|
|
@@ -20,20 +20,10 @@ export declare const paidLinks: (hostname: string, leaderBoardPermission: boolea
|
|
|
20
20
|
name: string;
|
|
21
21
|
href: string;
|
|
22
22
|
available?: undefined;
|
|
23
|
-
subLinks?: undefined;
|
|
24
23
|
} | {
|
|
25
24
|
name: string;
|
|
26
25
|
href: string;
|
|
27
26
|
available: boolean;
|
|
28
|
-
subLinks?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
name: string;
|
|
31
|
-
subLinks: {
|
|
32
|
-
name: string;
|
|
33
|
-
href: string;
|
|
34
|
-
}[];
|
|
35
|
-
href?: undefined;
|
|
36
|
-
available?: undefined;
|
|
37
27
|
})[];
|
|
38
28
|
innerPages: string[];
|
|
39
29
|
})[];
|
|
@@ -3,7 +3,9 @@ declare const Container: import("styled-components").StyledComponent<"div", impo
|
|
|
3
3
|
padding: string;
|
|
4
4
|
margin: string;
|
|
5
5
|
}, never>;
|
|
6
|
-
declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
+
declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7
|
+
isMarginBottom: boolean;
|
|
8
|
+
}, never>;
|
|
7
9
|
declare const TitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
10
|
declare const Title: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {}, never>;
|
|
9
11
|
declare const TitleLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|