profinansy-ui-lib 2.0.24 → 2.0.25
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/about-icon.d.ts +1 -3
- package/dist/assets/capital-icon.d.ts +1 -3
- package/dist/assets/channels-icon.d.ts +1 -3
- package/dist/assets/chats-icon.d.ts +1 -3
- package/dist/assets/chevron-icon.d.ts +1 -3
- package/dist/assets/club-icon.d.ts +1 -3
- package/dist/assets/education-icon.d.ts +1 -3
- package/dist/assets/expenses-icon.d.ts +1 -3
- package/dist/assets/{lock-icon.d.ts → eye-icon.d.ts} +1 -1
- package/dist/assets/{burger-icon.d.ts → eyeClose-icon.d.ts} +1 -1
- package/dist/assets/favorites-icon.d.ts +1 -3
- package/dist/assets/feed-icon.d.ts +1 -3
- package/dist/assets/investments-icon.d.ts +1 -3
- package/dist/assets/login-icon.d.ts +1 -0
- package/dist/assets/logout-icon.d.ts +1 -3
- package/dist/assets/notifications-icon.d.ts +1 -3
- package/dist/assets/profile-icon.d.ts +1 -3
- package/dist/assets/purrple-logo-dark.d.ts +1 -3
- package/dist/assets/purrple-logo.d.ts +1 -3
- package/dist/assets/tariffs-icon.d.ts +1 -3
- package/dist/common.types.d.ts +19 -6
- package/dist/components/header/Header.stories.d.ts +2 -8
- package/dist/components/header/components/Burger/Burger.d.ts +6 -0
- package/dist/components/header/components/Burger/Burger.styled.d.ts +3 -0
- package/dist/components/header/components/Favourite/Favlourite.d.ts +2 -2
- package/dist/components/header/components/HeaderCenter/HeaderCenter.d.ts +18 -0
- package/dist/components/header/components/HeaderRight/HeaderRight.d.ts +15 -0
- package/dist/components/header/components/PartnerButton/PartnerButton.d.ts +2 -2
- package/dist/components/header/components/Premium/Premium.d.ts +1 -1
- package/dist/components/header/components/Premium/Premium.styled.d.ts +1 -4
- package/dist/components/header/components/header-link-item/header-link-item.d.ts +0 -1
- package/dist/components/header/components/header-link-item/header-link-item.styled.d.ts +8 -20
- package/dist/components/header/components/header-link-item/header-sub-link.d.ts +0 -2
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.d.ts +5 -5
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.styled.d.ts +9 -3
- package/dist/components/header/components/user-dropdown-menu/constants.d.ts +7 -2
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +6 -12
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.styled.d.ts +2 -3
- package/dist/components/header/contstants/authLinks.d.ts +44 -0
- package/dist/components/header/contstants/clubLinks.d.ts +19 -0
- package/dist/components/header/contstants/guestLinks.d.ts +2 -0
- package/dist/components/header/contstants/leaderBoardLinks.d.ts +8 -0
- package/dist/components/header/contstants/links.d.ts +2 -0
- package/dist/components/header/contstants/paidLinks.d.ts +43 -0
- package/dist/components/header/header.d.ts +2 -9
- package/dist/components/header/header.styled.d.ts +4 -4
- package/dist/components/header/header.utils.d.ts +4 -0
- package/dist/components/uikit/CircleButton/CircleBotton.styled.d.ts +1 -2
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +4 -0
- package/dist/components/uikit/Dropdown/Dropdown.stories.d.ts +7 -0
- package/dist/components/uikit/Dropdown/Dropdown.styled.d.ts +10 -0
- package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +13 -0
- package/dist/components/uikit/Dropdown/index.d.ts +1 -0
- package/dist/components/uikit/HiddenText/HiddenText.d.ts +3 -0
- package/dist/components/uikit/HiddenText/HiddenText.stories.d.ts +6 -0
- package/dist/components/uikit/HiddenText/HiddenText.styled.d.ts +7 -0
- package/dist/components/uikit/HiddenText/HiddenText.typed.d.ts +7 -0
- package/dist/components/uikit/HiddenText/index.d.ts +1 -0
- package/dist/components/uikit/PasswordInput/PasswordInput.d.ts +3 -0
- package/dist/components/uikit/PasswordInput/PasswordInput.stories.d.ts +6 -0
- package/dist/components/uikit/PasswordInput/PasswordInput.styled.d.ts +6 -0
- package/dist/components/uikit/PasswordInput/PasswordInput.typed.d.ts +4 -0
- package/dist/components/uikit/PasswordInput/index.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +238 -229
- package/package.json +1 -1
- package/dist/assets/burger-icon-dark.d.ts +0 -3
- package/dist/assets/lock-icon-dark.d.ts +0 -3
- package/dist/assets/logout-icon-new.d.ts +0 -3
- package/dist/assets/purchases-icon.d.ts +0 -3
- package/dist/components/header/constants.d.ts +0 -167
- package/dist/hooks/useListenOutsideClick.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,167 +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
|
-
onlyMobile: boolean;
|
|
8
|
-
} | {
|
|
9
|
-
name: string;
|
|
10
|
-
href: string;
|
|
11
|
-
locked: boolean;
|
|
12
|
-
onlyMobile?: undefined;
|
|
13
|
-
})[] | {
|
|
14
|
-
name: string;
|
|
15
|
-
href: string;
|
|
16
|
-
}[];
|
|
17
|
-
export declare const getClubLinks: (access: boolean, profinansyHostname: string) => {
|
|
18
|
-
name: string;
|
|
19
|
-
href: string;
|
|
20
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
21
|
-
iconSize: {
|
|
22
|
-
width: number;
|
|
23
|
-
height: number;
|
|
24
|
-
};
|
|
25
|
-
subPages: ({
|
|
26
|
-
name: string;
|
|
27
|
-
href: string;
|
|
28
|
-
locked: boolean;
|
|
29
|
-
subLinks?: undefined;
|
|
30
|
-
} | {
|
|
31
|
-
name: string;
|
|
32
|
-
locked: boolean;
|
|
33
|
-
subLinks: {
|
|
34
|
-
name: string;
|
|
35
|
-
href: string;
|
|
36
|
-
locked: boolean;
|
|
37
|
-
}[];
|
|
38
|
-
href?: undefined;
|
|
39
|
-
})[];
|
|
40
|
-
};
|
|
41
|
-
export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
|
|
42
|
-
export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
43
|
-
name: string;
|
|
44
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
45
|
-
href: string;
|
|
46
|
-
subPages: any[];
|
|
47
|
-
iconSize?: undefined;
|
|
48
|
-
innerPages?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
name: string;
|
|
51
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
52
|
-
iconSize: {
|
|
53
|
-
width: number;
|
|
54
|
-
height: number;
|
|
55
|
-
};
|
|
56
|
-
href: string;
|
|
57
|
-
subPages: ({
|
|
58
|
-
name: string;
|
|
59
|
-
href: string;
|
|
60
|
-
unavailable: boolean;
|
|
61
|
-
subLinks?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
name: string;
|
|
64
|
-
href: string;
|
|
65
|
-
unavailable?: undefined;
|
|
66
|
-
subLinks?: undefined;
|
|
67
|
-
} | {
|
|
68
|
-
name: string;
|
|
69
|
-
href: string;
|
|
70
|
-
subLinks: {
|
|
71
|
-
name: string;
|
|
72
|
-
href: string;
|
|
73
|
-
}[];
|
|
74
|
-
unavailable?: undefined;
|
|
75
|
-
})[];
|
|
76
|
-
innerPages: string[];
|
|
77
|
-
} | {
|
|
78
|
-
name: string;
|
|
79
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
80
|
-
iconSize: {
|
|
81
|
-
width: number;
|
|
82
|
-
height: number;
|
|
83
|
-
};
|
|
84
|
-
href: string;
|
|
85
|
-
subPages: ({
|
|
86
|
-
name: string;
|
|
87
|
-
href: string;
|
|
88
|
-
locked: boolean;
|
|
89
|
-
onlyMobile: boolean;
|
|
90
|
-
} | {
|
|
91
|
-
name: string;
|
|
92
|
-
href: string;
|
|
93
|
-
locked: boolean;
|
|
94
|
-
onlyMobile?: undefined;
|
|
95
|
-
} | {
|
|
96
|
-
name: string;
|
|
97
|
-
href: string;
|
|
98
|
-
onlyMobile: boolean;
|
|
99
|
-
} | {
|
|
100
|
-
name: string;
|
|
101
|
-
href: string;
|
|
102
|
-
onlyMobile?: undefined;
|
|
103
|
-
})[];
|
|
104
|
-
innerPages?: undefined;
|
|
105
|
-
})[];
|
|
106
|
-
export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
107
|
-
name: string;
|
|
108
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
109
|
-
href: string;
|
|
110
|
-
subPages: any[];
|
|
111
|
-
iconSize?: undefined;
|
|
112
|
-
innerPages?: undefined;
|
|
113
|
-
} | {
|
|
114
|
-
name: string;
|
|
115
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
116
|
-
iconSize: {
|
|
117
|
-
width: number;
|
|
118
|
-
height: number;
|
|
119
|
-
};
|
|
120
|
-
href: string;
|
|
121
|
-
subPages: ({
|
|
122
|
-
name: string;
|
|
123
|
-
href: string;
|
|
124
|
-
onlyMobile: boolean;
|
|
125
|
-
available?: undefined;
|
|
126
|
-
subLinks?: undefined;
|
|
127
|
-
} | {
|
|
128
|
-
name: string;
|
|
129
|
-
href: string;
|
|
130
|
-
available: boolean;
|
|
131
|
-
onlyMobile?: undefined;
|
|
132
|
-
subLinks?: undefined;
|
|
133
|
-
} | {
|
|
134
|
-
name: string;
|
|
135
|
-
href: string;
|
|
136
|
-
onlyMobile?: undefined;
|
|
137
|
-
available?: undefined;
|
|
138
|
-
subLinks?: undefined;
|
|
139
|
-
} | {
|
|
140
|
-
name: string;
|
|
141
|
-
href: string;
|
|
142
|
-
subLinks: {
|
|
143
|
-
name: string;
|
|
144
|
-
href: string;
|
|
145
|
-
}[];
|
|
146
|
-
onlyMobile?: undefined;
|
|
147
|
-
available?: undefined;
|
|
148
|
-
})[];
|
|
149
|
-
innerPages: string[];
|
|
150
|
-
} | {
|
|
151
|
-
name: string;
|
|
152
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
153
|
-
iconSize: {
|
|
154
|
-
width: number;
|
|
155
|
-
height: number;
|
|
156
|
-
};
|
|
157
|
-
href: string;
|
|
158
|
-
subPages: ({
|
|
159
|
-
name: string;
|
|
160
|
-
href: string;
|
|
161
|
-
} | {
|
|
162
|
-
name: string;
|
|
163
|
-
href: string;
|
|
164
|
-
onlyMobile: boolean;
|
|
165
|
-
})[];
|
|
166
|
-
innerPages?: undefined;
|
|
167
|
-
})[];
|