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.
Files changed (72) hide show
  1. package/dist/assets/about-icon.d.ts +1 -3
  2. package/dist/assets/capital-icon.d.ts +1 -3
  3. package/dist/assets/channels-icon.d.ts +1 -3
  4. package/dist/assets/chats-icon.d.ts +1 -3
  5. package/dist/assets/chevron-icon.d.ts +1 -3
  6. package/dist/assets/club-icon.d.ts +1 -3
  7. package/dist/assets/education-icon.d.ts +1 -3
  8. package/dist/assets/expenses-icon.d.ts +1 -3
  9. package/dist/assets/{lock-icon.d.ts → eye-icon.d.ts} +1 -1
  10. package/dist/assets/{burger-icon.d.ts → eyeClose-icon.d.ts} +1 -1
  11. package/dist/assets/favorites-icon.d.ts +1 -3
  12. package/dist/assets/feed-icon.d.ts +1 -3
  13. package/dist/assets/investments-icon.d.ts +1 -3
  14. package/dist/assets/login-icon.d.ts +1 -0
  15. package/dist/assets/logout-icon.d.ts +1 -3
  16. package/dist/assets/notifications-icon.d.ts +1 -3
  17. package/dist/assets/profile-icon.d.ts +1 -3
  18. package/dist/assets/purrple-logo-dark.d.ts +1 -3
  19. package/dist/assets/purrple-logo.d.ts +1 -3
  20. package/dist/assets/tariffs-icon.d.ts +1 -3
  21. package/dist/common.types.d.ts +19 -6
  22. package/dist/components/header/Header.stories.d.ts +2 -8
  23. package/dist/components/header/components/Burger/Burger.d.ts +6 -0
  24. package/dist/components/header/components/Burger/Burger.styled.d.ts +3 -0
  25. package/dist/components/header/components/Favourite/Favlourite.d.ts +2 -2
  26. package/dist/components/header/components/HeaderCenter/HeaderCenter.d.ts +18 -0
  27. package/dist/components/header/components/HeaderRight/HeaderRight.d.ts +15 -0
  28. package/dist/components/header/components/PartnerButton/PartnerButton.d.ts +2 -2
  29. package/dist/components/header/components/Premium/Premium.d.ts +1 -1
  30. package/dist/components/header/components/Premium/Premium.styled.d.ts +1 -4
  31. package/dist/components/header/components/header-link-item/header-link-item.d.ts +0 -1
  32. package/dist/components/header/components/header-link-item/header-link-item.styled.d.ts +8 -20
  33. package/dist/components/header/components/header-link-item/header-sub-link.d.ts +0 -2
  34. package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.d.ts +5 -5
  35. package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.styled.d.ts +9 -3
  36. package/dist/components/header/components/user-dropdown-menu/constants.d.ts +7 -2
  37. package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +6 -12
  38. package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.styled.d.ts +2 -3
  39. package/dist/components/header/contstants/authLinks.d.ts +44 -0
  40. package/dist/components/header/contstants/clubLinks.d.ts +19 -0
  41. package/dist/components/header/contstants/guestLinks.d.ts +2 -0
  42. package/dist/components/header/contstants/leaderBoardLinks.d.ts +8 -0
  43. package/dist/components/header/contstants/links.d.ts +2 -0
  44. package/dist/components/header/contstants/paidLinks.d.ts +43 -0
  45. package/dist/components/header/header.d.ts +2 -9
  46. package/dist/components/header/header.styled.d.ts +4 -4
  47. package/dist/components/header/header.utils.d.ts +4 -0
  48. package/dist/components/uikit/CircleButton/CircleBotton.styled.d.ts +1 -2
  49. package/dist/components/uikit/Dropdown/Dropdown.d.ts +4 -0
  50. package/dist/components/uikit/Dropdown/Dropdown.stories.d.ts +7 -0
  51. package/dist/components/uikit/Dropdown/Dropdown.styled.d.ts +10 -0
  52. package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +13 -0
  53. package/dist/components/uikit/Dropdown/index.d.ts +1 -0
  54. package/dist/components/uikit/HiddenText/HiddenText.d.ts +3 -0
  55. package/dist/components/uikit/HiddenText/HiddenText.stories.d.ts +6 -0
  56. package/dist/components/uikit/HiddenText/HiddenText.styled.d.ts +7 -0
  57. package/dist/components/uikit/HiddenText/HiddenText.typed.d.ts +7 -0
  58. package/dist/components/uikit/HiddenText/index.d.ts +1 -0
  59. package/dist/components/uikit/PasswordInput/PasswordInput.d.ts +3 -0
  60. package/dist/components/uikit/PasswordInput/PasswordInput.stories.d.ts +6 -0
  61. package/dist/components/uikit/PasswordInput/PasswordInput.styled.d.ts +6 -0
  62. package/dist/components/uikit/PasswordInput/PasswordInput.typed.d.ts +4 -0
  63. package/dist/components/uikit/PasswordInput/index.d.ts +1 -0
  64. package/dist/index.d.ts +4 -1
  65. package/dist/index.js +238 -229
  66. package/package.json +1 -1
  67. package/dist/assets/burger-icon-dark.d.ts +0 -3
  68. package/dist/assets/lock-icon-dark.d.ts +0 -3
  69. package/dist/assets/logout-icon-new.d.ts +0 -3
  70. package/dist/assets/purchases-icon.d.ts +0 -3
  71. package/dist/components/header/constants.d.ts +0 -167
  72. package/dist/hooks/useListenOutsideClick.d.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profinansy-ui-lib",
3
- "version": "2.0.24",
3
+ "version": "2.0.25",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconsInterface } from '../common.types';
3
- export declare const BurgerIconDark: FC<IconsInterface>;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconsInterface } from '../common.types';
3
- export declare const LockIconDark: FC<IconsInterface>;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconsInterface } from '../common.types';
3
- export declare const LogoutIconNew: FC<IconsInterface>;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconsInterface } from '../common.types';
3
- export declare const PurchasesIcon: FC<IconsInterface>;
@@ -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
- })[];
@@ -1,3 +0,0 @@
1
- export declare const useListenOutsideClick: ({ onOutsideClick }: {
2
- onOutsideClick: () => void;
3
- }) => void;