profinansy-ui-lib 4.1.6 → 4.1.8
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/common.types.d.ts +4 -0
- package/dist/components/blocks/headerV2/components/Burger/components/SubSubPages/SubSubPages.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/components/header-link-item/components/MoreItemsV2/MoreItemsV2.styled.d.ts +4 -1
- package/dist/components/blocks/headerV2/components/header-link-item/header-link-item.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/constants/linksV2.d.ts +2 -0
- package/dist/components/blocks/sideMenuV2/SideMenuV2.typed.d.ts +1 -1
- package/dist/components/blocks/sideMenuV2/components/Item/Item.styled.d.ts +2 -0
- package/dist/components/blocks/sideMenuV2/components/SubPages/SubPages.styled.d.ts +1 -0
- package/dist/components/blocks/sideMenuV2/components/SubPagesSide/SubPagesSide.styled.d.ts +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/hooks/useMenuItemLogic.d.ts +1 -0
- package/dist/localization/translations/common.d.ts +2 -0
- package/dist/localization/translations/urls.d.ts +30 -0
- package/dist/profinansy-ui-lib.cjs +1025 -1006
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +7904 -7608
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/productsV2/courses/courses.d.ts +3 -232
- package/dist/urls/productsV2/courses/courses.header.d.ts +431 -0
- package/dist/urls/productsV2/courses/courses.shared.d.ts +111 -0
- package/dist/urls/productsV2/courses/courses.sidebar.d.ts +91 -0
- package/dist/urls/productsV2/courses/coursesNew.sidebar.d.ts +170 -0
- package/dist/urls/productsV2/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/common.types.d.ts
CHANGED
|
@@ -71,6 +71,10 @@ export type THeaderLinkSubPage = {
|
|
|
71
71
|
isOpenNewTab?: boolean;
|
|
72
72
|
/** Страницы, которые недоступны без премиума **/
|
|
73
73
|
unavailable?: boolean;
|
|
74
|
+
/** Неактивный пункт меню без перехода по ссылке **/
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
/** Текст подсказки для неактивного пункта меню **/
|
|
77
|
+
hint?: string;
|
|
74
78
|
/** Можно открыть недоступные страницы **/
|
|
75
79
|
isOpenUnavailable?: boolean;
|
|
76
80
|
/** Новая страница **/
|
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
4
|
$isActive: boolean;
|
|
5
|
+
$isDisabled?: boolean;
|
|
5
6
|
}>> & string;
|
package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.styled.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export declare const Item: import("styled-components/dist/types").IStyledCompone
|
|
|
4
4
|
$isActive: boolean;
|
|
5
5
|
$isLocked: boolean;
|
|
6
6
|
$isOpen: boolean;
|
|
7
|
+
$isDisabled?: boolean;
|
|
7
8
|
}>> & string;
|
|
8
9
|
export declare const Symbols: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -22,6 +22,7 @@ export declare const ImageButton: import("styled-components/dist/types").IStyled
|
|
|
22
22
|
$isFirstRowHorizontal?: boolean;
|
|
23
23
|
$isSecondRowHorizontal?: boolean;
|
|
24
24
|
$isSecondColumnFirstRow?: boolean;
|
|
25
|
+
$isDisabled?: boolean;
|
|
25
26
|
}>> & string;
|
|
26
27
|
export declare const ButtonImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
27
28
|
export declare const ImageButtonText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../../../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
@@ -33,7 +34,9 @@ export declare const ComingSoonLabel: import("styled-components/dist/types").ISt
|
|
|
33
34
|
export declare const UnavailableIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
34
35
|
export declare const UnavailableIconThird: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
35
36
|
export declare const ThirdColumn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
36
|
-
export declare const IconButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
37
|
+
export declare const IconButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
38
|
+
$isDisabled?: boolean;
|
|
39
|
+
}>> & string;
|
|
37
40
|
export declare const IconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
38
41
|
export declare const IconButtonText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
39
42
|
ref?: import("react").Ref<HTMLElement>;
|
package/dist/components/blocks/headerV2/components/header-link-item/header-link-item.styled.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const HeaderLink: import("styled-components/dist/types").IStyledC
|
|
|
5
5
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
6
|
$isHover: boolean;
|
|
7
7
|
$isIdv: boolean;
|
|
8
|
+
$isDisabled?: boolean;
|
|
8
9
|
}>> & string;
|
|
9
10
|
export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
11
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -21,6 +21,7 @@ export type HeaderDropdownItem = {
|
|
|
21
21
|
preserveIconColor?: boolean;
|
|
22
22
|
isOpenNewTab?: boolean;
|
|
23
23
|
isNotVisible?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
24
25
|
};
|
|
25
26
|
export type HeaderDropdownColumn = {
|
|
26
27
|
type: 'first' | 'second' | 'third' | 'fourth';
|
|
@@ -42,6 +43,7 @@ export type HeaderDropdownConfig = {
|
|
|
42
43
|
subPages?: THeaderLinkSubPage[];
|
|
43
44
|
Icon?: React.FC<IconsInterface>;
|
|
44
45
|
isFill?: boolean;
|
|
46
|
+
disabled?: boolean;
|
|
45
47
|
};
|
|
46
48
|
export type THeaderLinksV2 = {
|
|
47
49
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserRole } from '../../../common.types';
|
|
2
2
|
import { IApiSettings } from '../../../api/api';
|
|
3
3
|
import { ReactNode, ElementType } from 'react';
|
|
4
|
-
export type TSideMenuCategory = 'goals' | 'myMoney' | 'portfolios' | 'calculators' | 'investment' | 'education' | 'profile' | 'idv' | 'method' | 'feed' | 'about' | 'myMoney2';
|
|
4
|
+
export type TSideMenuCategory = 'goals' | 'myMoney' | 'portfolios' | 'calculators' | 'investment' | 'education' | 'education_new' | 'profile' | 'idv' | 'method' | 'feed' | 'about' | 'myMoney2';
|
|
5
5
|
export interface ISideModal {
|
|
6
6
|
bannerCodes?: string[];
|
|
7
7
|
userRole: UserRole;
|
|
@@ -4,9 +4,11 @@ export declare const Button: import("styled-components/dist/types").IStyledCompo
|
|
|
4
4
|
$isOpen: boolean;
|
|
5
5
|
$isActive: boolean;
|
|
6
6
|
$isOpenMode: boolean;
|
|
7
|
+
$isDisabled: boolean;
|
|
7
8
|
}>> & string;
|
|
8
9
|
export declare const TextContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
9
10
|
$isLocked: boolean;
|
|
11
|
+
$isDisabled: boolean;
|
|
10
12
|
}>> & string;
|
|
11
13
|
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
12
14
|
$isHoverMode: boolean;
|
|
@@ -5,6 +5,7 @@ export declare const Button: import("styled-components/dist/types").IStyledCompo
|
|
|
5
5
|
$isActive: boolean;
|
|
6
6
|
$isLocked: boolean;
|
|
7
7
|
$isOpen: boolean;
|
|
8
|
+
$isDisabled: boolean;
|
|
8
9
|
}>> & string;
|
|
9
10
|
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
|
10
11
|
export declare const New: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
@@ -5,5 +5,6 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
5
5
|
}>> & string;
|
|
6
6
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
7
7
|
$isActive: boolean;
|
|
8
|
+
$isDisabled: boolean;
|
|
8
9
|
}>> & string;
|
|
9
10
|
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
package/dist/config.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare const common_translation: {
|
|
|
22
22
|
copy_link: string;
|
|
23
23
|
reset: string;
|
|
24
24
|
filter_search: string;
|
|
25
|
+
coming_soon: string;
|
|
25
26
|
};
|
|
26
27
|
en: {
|
|
27
28
|
find_recently: string;
|
|
@@ -46,5 +47,6 @@ export declare const common_translation: {
|
|
|
46
47
|
copy_link: string;
|
|
47
48
|
reset: string;
|
|
48
49
|
filter_search: string;
|
|
50
|
+
coming_soon: string;
|
|
49
51
|
};
|
|
50
52
|
};
|
|
@@ -83,6 +83,16 @@ export declare const Urls_translations: {
|
|
|
83
83
|
club_rkink: string;
|
|
84
84
|
club_help: string;
|
|
85
85
|
courses: string;
|
|
86
|
+
courses_home: string;
|
|
87
|
+
courses_available: string;
|
|
88
|
+
courses_my_courses: string;
|
|
89
|
+
courses_mini: string;
|
|
90
|
+
courses_free: string;
|
|
91
|
+
courses_students: string;
|
|
92
|
+
courses_reviews: string;
|
|
93
|
+
courses_stories: string;
|
|
94
|
+
courses_materials: string;
|
|
95
|
+
courses_events: string;
|
|
86
96
|
courses_main: string;
|
|
87
97
|
courses_shop: string;
|
|
88
98
|
courses_list: string;
|
|
@@ -99,6 +109,11 @@ export declare const Urls_translations: {
|
|
|
99
109
|
courses_graduates_home: string;
|
|
100
110
|
courses_graduates_events: string;
|
|
101
111
|
courses_child: string;
|
|
112
|
+
courses_child_home: string;
|
|
113
|
+
courses_child_audio_tales: string;
|
|
114
|
+
courses_child_comics: string;
|
|
115
|
+
courses_child_education: string;
|
|
116
|
+
courses_child_articles: string;
|
|
102
117
|
courses_blog: string;
|
|
103
118
|
courses_investology: string;
|
|
104
119
|
courses_library: string;
|
|
@@ -310,6 +325,16 @@ export declare const Urls_translations: {
|
|
|
310
325
|
club_rkink: string;
|
|
311
326
|
club_help: string;
|
|
312
327
|
courses: string;
|
|
328
|
+
courses_home: string;
|
|
329
|
+
courses_available: string;
|
|
330
|
+
courses_my_courses: string;
|
|
331
|
+
courses_mini: string;
|
|
332
|
+
courses_free: string;
|
|
333
|
+
courses_students: string;
|
|
334
|
+
courses_reviews: string;
|
|
335
|
+
courses_stories: string;
|
|
336
|
+
courses_materials: string;
|
|
337
|
+
courses_events: string;
|
|
313
338
|
courses_main: string;
|
|
314
339
|
courses_shop: string;
|
|
315
340
|
courses_list: string;
|
|
@@ -326,6 +351,11 @@ export declare const Urls_translations: {
|
|
|
326
351
|
courses_graduates_home: string;
|
|
327
352
|
courses_graduates_events: string;
|
|
328
353
|
courses_child: string;
|
|
354
|
+
courses_child_home: string;
|
|
355
|
+
courses_child_audio_tales: string;
|
|
356
|
+
courses_child_comics: string;
|
|
357
|
+
courses_child_education: string;
|
|
358
|
+
courses_child_articles: string;
|
|
329
359
|
courses_blog: string;
|
|
330
360
|
courses_investology: string;
|
|
331
361
|
courses_library: string;
|