profinansy-ui-lib 2.0.15 → 2.0.16
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/assets/images/Available.d.ts +1 -0
- package/dist/assets/images/PersonalOfferBunner.d.ts +1 -0
- package/dist/components/header/Header.stories.d.ts +1 -0
- package/dist/components/header/components/Premium/Premium.d.ts +9 -0
- package/dist/components/header/components/Premium/Premium.styled.d.ts +9 -0
- package/dist/components/header/components/UserAvatar/UserAvatar.d.ts +2 -6
- package/dist/components/header/components/UserAvatar/UserAvatar.styled.d.ts +0 -6
- package/dist/components/header/components/header-link-item/header-link-item.styled.d.ts +2 -0
- package/dist/components/header/components/header-link-item/header-sub-link.d.ts +2 -0
- package/dist/components/header/components/user-dropdown-menu/components/BannerCommon/BannerCommon.d.ts +5 -0
- package/dist/components/header/components/user-dropdown-menu/components/BannerCommon/BannerCommon.styled.d.ts +4 -0
- package/dist/components/header/components/user-dropdown-menu/components/CourseBanner/CourseBanner.d.ts +2 -0
- package/dist/components/header/components/user-dropdown-menu/components/CourseBanner/CourseBanner.styled.d.ts +5 -0
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.d.ts +9 -0
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.styled.d.ts +8 -0
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +4 -0
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.styled.d.ts +1 -1
- package/dist/components/header/constants.d.ts +12 -3
- package/dist/components/header/header.d.ts +1 -0
- package/dist/components/header/useHeader.d.ts +10 -0
- package/dist/components/modals/Available/Available.d.ts +6 -0
- package/dist/components/modals/Available/Available.styled.d.ts +2 -0
- package/dist/components/modals/PersonalOffer/PersonalOffer.d.ts +5 -0
- package/dist/components/modals/PersonalOffer/PersonalOffer.styled.d.ts +3 -0
- package/dist/components/uikit/Button/Button.typed.d.ts +1 -0
- package/dist/index.js +371 -253
- package/package.json +3 -1
- package/dist/components/header/components/CreateArticle/CreateArticle.d.ts +0 -9
- package/dist/components/header/components/CreateArticle/CreateArticle.styled.d.ts +0 -4
- package/dist/images/createArticle.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AvailableBanner: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PersonalOfferBanner: () => JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"button", any, {
|
|
2
|
+
active: boolean;
|
|
3
|
+
mobile: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const Premium: import("styled-components").StyledComponent<"span", any, {
|
|
6
|
+
mobile: boolean;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const Active: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
9
|
+
export declare const Tooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { UserRole } from '../../../../common.types';
|
|
2
1
|
interface IProps {
|
|
3
|
-
userRole: UserRole;
|
|
4
2
|
avatarUrl?: string;
|
|
5
|
-
|
|
6
|
-
setOpened: (val: boolean) => void;
|
|
7
|
-
onRouteChange: (val: string) => void;
|
|
3
|
+
setOpened: () => void;
|
|
8
4
|
}
|
|
9
|
-
declare const UserAvatar: ({
|
|
5
|
+
declare const UserAvatar: ({ avatarUrl, setOpened }: IProps) => JSX.Element;
|
|
10
6
|
export { UserAvatar };
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const Avatar: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
3
|
-
export declare const Status: import("styled-components").StyledComponent<"div", any, {
|
|
4
|
-
isActive: boolean;
|
|
5
|
-
}, never>;
|
|
6
|
-
export declare const Text: import("styled-components").StyledComponent<"span", any, {
|
|
7
|
-
isActive: boolean;
|
|
8
|
-
}, never>;
|
|
@@ -35,3 +35,5 @@ export declare const LinkIconSvgWrapper: import("styled-components").StyledCompo
|
|
|
35
35
|
mainColor?: string;
|
|
36
36
|
activeColor?: string;
|
|
37
37
|
}, never>;
|
|
38
|
+
export declare const Available: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
39
|
+
export declare const Unavailable: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Left: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Text: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
4
|
+
export declare const Name: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Text: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
+
export declare const Bold: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
4
|
+
export declare const Name: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
|
+
export declare const TextButton: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface IProps {
|
|
2
|
+
user: any;
|
|
3
|
+
isPartner: boolean;
|
|
4
|
+
isConfirmPartner: boolean;
|
|
5
|
+
profinansyHostname: string;
|
|
6
|
+
handleRouteChange: (val: string) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const PersonalInformation: ({ user, isPartner, isConfirmPartner, profinansyHostname, handleRouteChange }: IProps) => JSX.Element;
|
|
9
|
+
export { PersonalInformation };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Left: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
isPartner: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const Right: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const Name: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
7
|
+
export declare const Contact: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
8
|
+
export declare const Partner: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -10,6 +10,10 @@ type UserDropdownMenuProps = {
|
|
|
10
10
|
mainColor?: string;
|
|
11
11
|
activeColor?: string;
|
|
12
12
|
blackVersion?: boolean;
|
|
13
|
+
user: any;
|
|
14
|
+
isPartner?: boolean;
|
|
15
|
+
isConfirmPartner?: boolean;
|
|
16
|
+
isPossibleTrial: boolean;
|
|
13
17
|
};
|
|
14
18
|
export declare const UserDropdownMenu: FC<UserDropdownMenuProps>;
|
|
15
19
|
export {};
|
|
@@ -8,7 +8,7 @@ export declare const UserMenuItem: import("styled-components").StyledComponent<"
|
|
|
8
8
|
mainColor?: string;
|
|
9
9
|
activeColor?: string;
|
|
10
10
|
}, never>;
|
|
11
|
-
export declare const UserMenuText: import("styled-components").StyledComponent<"
|
|
11
|
+
export declare const UserMenuText: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
12
12
|
export declare const Line: import("styled-components").StyledComponent<"span", any, {
|
|
13
13
|
mainColor?: string;
|
|
14
14
|
}, never>;
|
|
@@ -57,12 +57,12 @@ export declare const authorizedLinks: (profinansyHostname: string, isTest: boole
|
|
|
57
57
|
subPages: ({
|
|
58
58
|
name: string;
|
|
59
59
|
href: string;
|
|
60
|
-
|
|
60
|
+
unavailable: boolean;
|
|
61
61
|
subLinks?: undefined;
|
|
62
62
|
} | {
|
|
63
63
|
name: string;
|
|
64
64
|
href: string;
|
|
65
|
-
|
|
65
|
+
unavailable?: undefined;
|
|
66
66
|
subLinks?: undefined;
|
|
67
67
|
} | {
|
|
68
68
|
name: string;
|
|
@@ -71,7 +71,7 @@ export declare const authorizedLinks: (profinansyHostname: string, isTest: boole
|
|
|
71
71
|
name: string;
|
|
72
72
|
href: string;
|
|
73
73
|
}[];
|
|
74
|
-
|
|
74
|
+
unavailable?: undefined;
|
|
75
75
|
})[];
|
|
76
76
|
innerPages: string[];
|
|
77
77
|
} | {
|
|
@@ -122,11 +122,19 @@ export declare const paidLinks: (profinansyHostname: string, isTest: boolean, le
|
|
|
122
122
|
name: string;
|
|
123
123
|
href: string;
|
|
124
124
|
onlyMobile: boolean;
|
|
125
|
+
available?: undefined;
|
|
126
|
+
subLinks?: undefined;
|
|
127
|
+
} | {
|
|
128
|
+
name: string;
|
|
129
|
+
href: string;
|
|
130
|
+
available: boolean;
|
|
131
|
+
onlyMobile?: undefined;
|
|
125
132
|
subLinks?: undefined;
|
|
126
133
|
} | {
|
|
127
134
|
name: string;
|
|
128
135
|
href: string;
|
|
129
136
|
onlyMobile?: undefined;
|
|
137
|
+
available?: undefined;
|
|
130
138
|
subLinks?: undefined;
|
|
131
139
|
} | {
|
|
132
140
|
name: string;
|
|
@@ -136,6 +144,7 @@ export declare const paidLinks: (profinansyHostname: string, isTest: boolean, le
|
|
|
136
144
|
href: string;
|
|
137
145
|
}[];
|
|
138
146
|
onlyMobile?: undefined;
|
|
147
|
+
available?: undefined;
|
|
139
148
|
})[];
|
|
140
149
|
innerPages: string[];
|
|
141
150
|
} | {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const Image: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
2
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TextBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|