profinansy-ui-lib 3.0.62 → 3.0.63

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 (272) hide show
  1. package/dist/Icons.stories.d.ts +5 -5
  2. package/dist/common.types.d.ts +48 -48
  3. package/dist/components/blocks/footer/Footer.stories.d.ts +11 -11
  4. package/dist/components/blocks/footer/components/About/About.d.ts +2 -2
  5. package/dist/components/blocks/footer/components/About/About.styled.d.ts +2 -2
  6. package/dist/components/blocks/footer/components/Applications/Applications.d.ts +2 -2
  7. package/dist/components/blocks/footer/components/Applications/Applications.styled.d.ts +4 -4
  8. package/dist/components/blocks/footer/components/Contacts/Contacts.d.ts +5 -5
  9. package/dist/components/blocks/footer/components/Contacts/Contacts.styled.d.ts +8 -8
  10. package/dist/components/blocks/footer/components/Documents/Documents.d.ts +6 -6
  11. package/dist/components/blocks/footer/components/Documents/Documents.styled.d.ts +1 -1
  12. package/dist/components/blocks/footer/components/Information/Information.d.ts +5 -5
  13. package/dist/components/blocks/footer/components/Information/Information.styled.d.ts +1 -1
  14. package/dist/components/blocks/footer/components/Navigation/Navigation.d.ts +12 -13
  15. package/dist/components/blocks/footer/components/Navigation/Navigation.styled.d.ts +5 -5
  16. package/dist/components/blocks/footer/components/Networks/Networks.d.ts +2 -2
  17. package/dist/components/blocks/footer/components/Networks/Networks.styled.d.ts +1 -1
  18. package/dist/components/blocks/footer/constants.d.ts +92 -95
  19. package/dist/components/blocks/footer/footer.d.ts +11 -12
  20. package/dist/components/blocks/footer/footer.styled.d.ts +5 -5
  21. package/dist/components/blocks/footer/index.d.ts +1 -1
  22. package/dist/components/blocks/footer/mirrors/club/constant.d.ts +8 -8
  23. package/dist/components/blocks/footer/mirrors/lms/MirrorPointLms.d.ts +2 -2
  24. package/dist/components/blocks/footer/mirrors/lms/constant.d.ts +9 -9
  25. package/dist/components/blocks/header/Header.stories.d.ts +19 -19
  26. package/dist/components/blocks/header/components/Burger/Burger.d.ts +6 -6
  27. package/dist/components/blocks/header/components/Burger/Burger.styled.d.ts +3 -3
  28. package/dist/components/blocks/header/components/Favourite/Favlourite.d.ts +8 -8
  29. package/dist/components/blocks/header/components/Favourite/Favourite.styled.d.ts +3 -3
  30. package/dist/components/blocks/header/components/HeaderCenter/HeaderCenter.d.ts +20 -21
  31. package/dist/components/blocks/header/components/HeaderRight/HeaderRight.d.ts +15 -15
  32. package/dist/components/blocks/header/components/Premium/Premium.d.ts +9 -9
  33. package/dist/components/blocks/header/components/Premium/Premium.styled.d.ts +6 -6
  34. package/dist/components/blocks/header/components/UserAvatar/UserAvatar.d.ts +6 -6
  35. package/dist/components/blocks/header/components/UserAvatar/UserAvatar.styled.d.ts +1 -1
  36. package/dist/components/blocks/header/components/header-link-item/header-link-item.d.ts +13 -13
  37. package/dist/components/blocks/header/components/header-link-item/header-link-item.styled.d.ts +22 -22
  38. package/dist/components/blocks/header/components/header-link-item/header-sub-link.d.ts +15 -15
  39. package/dist/components/blocks/header/components/premium-dropdown-list/constants.d.ts +4 -4
  40. package/dist/components/blocks/header/components/premium-dropdown-list/premium-dropdown-list.d.ts +8 -8
  41. package/dist/components/blocks/header/components/premium-dropdown-list/premium-dropdown-list.styled.d.ts +9 -9
  42. package/dist/components/blocks/header/components/user-dropdown-menu/components/BannerCommon/BannerCommon.d.ts +5 -5
  43. package/dist/components/blocks/header/components/user-dropdown-menu/components/BannerCommon/BannerCommon.styled.d.ts +4 -4
  44. package/dist/components/blocks/header/components/user-dropdown-menu/components/CourseBanner/CourseBanner.d.ts +2 -2
  45. package/dist/components/blocks/header/components/user-dropdown-menu/components/CourseBanner/CourseBanner.styled.d.ts +5 -5
  46. package/dist/components/blocks/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.d.ts +8 -8
  47. package/dist/components/blocks/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.styled.d.ts +10 -10
  48. package/dist/components/blocks/header/components/user-dropdown-menu/components/Theme/Theme.d.ts +2 -2
  49. package/dist/components/blocks/header/components/user-dropdown-menu/constants.d.ts +10 -10
  50. package/dist/components/blocks/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +13 -13
  51. package/dist/components/blocks/header/components/user-dropdown-menu/user-dropdown-menu.styled.d.ts +18 -18
  52. package/dist/components/blocks/header/contstants/links.d.ts +2 -2
  53. package/dist/components/blocks/header/header.d.ts +13 -13
  54. package/dist/components/blocks/header/header.styled.d.ts +11 -11
  55. package/dist/components/blocks/header/header.utils.d.ts +9 -9
  56. package/dist/components/blocks/header/index.d.ts +1 -1
  57. package/dist/components/blocks/header/mirrors/club/constant.d.ts +19 -19
  58. package/dist/components/blocks/header/mirrors/lms/constant.d.ts +6 -6
  59. package/dist/components/blocks/header/useHeader.d.ts +13 -13
  60. package/dist/components/blocks/sideMenu/SideMenu.d.ts +7 -7
  61. package/dist/components/blocks/sideMenu/SideMenu.stories.d.ts +6 -6
  62. package/dist/components/blocks/sideMenu/SideMenu.styled.d.ts +16 -16
  63. package/dist/components/blocks/sideMenu/SideModal.const.d.ts +3 -3
  64. package/dist/components/blocks/sideMenu/SideModal.typed.d.ts +14 -15
  65. package/dist/components/blocks/sideMenu/components/Banner/Banner.d.ts +6 -6
  66. package/dist/components/blocks/sideMenu/components/Banner/Banner.styled.d.ts +3 -3
  67. package/dist/components/blocks/sideMenu/components/Item/Item.d.ts +8 -8
  68. package/dist/components/blocks/sideMenu/components/Item/Item.styled.d.ts +16 -16
  69. package/dist/components/blocks/sideMenu/components/SubPages/SubPages.d.ts +7 -7
  70. package/dist/components/blocks/sideMenu/components/SubPages/SubPages.styled.d.ts +12 -12
  71. package/dist/components/blocks/sideMenu/components/SubPages/SubPagesItem.d.ts +7 -7
  72. package/dist/components/blocks/sideMenu/components/SubPagesSide/SubPagesSide.d.ts +12 -12
  73. package/dist/components/blocks/sideMenu/components/SubPagesSide/SubPagesSide.styled.d.ts +10 -10
  74. package/dist/components/blocks/sideMenu/components/SubPagesSide/SubPagesSideItem.d.ts +7 -7
  75. package/dist/components/blocks/sideMenu/hooks/useCheckNeedScroll.d.ts +4 -4
  76. package/dist/components/blocks/sideMenu/hooks/useCloseSubPagesSide.d.ts +4 -4
  77. package/dist/components/blocks/sideMenu/hooks/useGetCoordinates.d.ts +8 -8
  78. package/dist/components/blocks/sideMenu/hooks/useSaveOpenMode.d.ts +4 -4
  79. package/dist/components/blocks/sideMenu/index.d.ts +1 -1
  80. package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.d.ts +9 -9
  81. package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.styled.d.ts +7 -7
  82. package/dist/components/layouts/LayoutSideMenu/index.d.ts +1 -1
  83. package/dist/components/modals/Available/Available.d.ts +7 -7
  84. package/dist/components/modals/Available/Available.styled.d.ts +3 -3
  85. package/dist/components/modals/PersonalOffer/PersonalOffer.d.ts +6 -6
  86. package/dist/components/modals/PersonalOffer/PersonalOffer.styled.d.ts +3 -3
  87. package/dist/components/uikit/ArrowButton/ArrowButton.d.ts +3 -3
  88. package/dist/components/uikit/ArrowButton/ArrowButton.stories.d.ts +6 -6
  89. package/dist/components/uikit/ArrowButton/ArrowButton.typed.d.ts +7 -7
  90. package/dist/components/uikit/ArrowButton/index.d.ts +1 -1
  91. package/dist/components/uikit/Avatar/Avatar.d.ts +3 -3
  92. package/dist/components/uikit/Avatar/Avatar.stories.d.ts +6 -6
  93. package/dist/components/uikit/Avatar/Avatar.styled.d.ts +6 -6
  94. package/dist/components/uikit/Avatar/Avatar.typed.d.ts +4 -4
  95. package/dist/components/uikit/Avatar/index.d.ts +1 -1
  96. package/dist/components/uikit/Button/Button.const.d.ts +19 -19
  97. package/dist/components/uikit/Button/Button.d.ts +4 -4
  98. package/dist/components/uikit/Button/Button.stories.d.ts +7 -7
  99. package/dist/components/uikit/Button/Button.styled.d.ts +23 -23
  100. package/dist/components/uikit/Button/Button.typed.d.ts +40 -40
  101. package/dist/components/uikit/Button/index.d.ts +1 -1
  102. package/dist/components/uikit/Card/Card.d.ts +4 -4
  103. package/dist/components/uikit/Card/Card.stories.d.ts +7 -7
  104. package/dist/components/uikit/Card/Card.styled.d.ts +15 -15
  105. package/dist/components/uikit/Card/Card.typed.d.ts +20 -20
  106. package/dist/components/uikit/Card/index.d.ts +1 -1
  107. package/dist/components/uikit/Checkbox/Checkbox.d.ts +3 -3
  108. package/dist/components/uikit/Checkbox/Checkbox.stories.d.ts +6 -6
  109. package/dist/components/uikit/Checkbox/Checkbox.styled.d.ts +19 -19
  110. package/dist/components/uikit/Checkbox/Checkbox.typed.d.ts +19 -19
  111. package/dist/components/uikit/Checkbox/index.d.ts +1 -1
  112. package/dist/components/uikit/CircleButton/CircleBotton.styled.d.ts +5 -5
  113. package/dist/components/uikit/CircleButton/CircleButton.const.d.ts +11 -11
  114. package/dist/components/uikit/CircleButton/CircleButton.d.ts +3 -3
  115. package/dist/components/uikit/CircleButton/CircleButton.stories.d.ts +7 -7
  116. package/dist/components/uikit/CircleButton/CircleButton.typed.d.ts +11 -11
  117. package/dist/components/uikit/CircleButton/index.d.ts +1 -1
  118. package/dist/components/uikit/Dropdown/Dropdown.d.ts +4 -4
  119. package/dist/components/uikit/Dropdown/Dropdown.stories.d.ts +7 -7
  120. package/dist/components/uikit/Dropdown/Dropdown.styled.d.ts +10 -10
  121. package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +14 -14
  122. package/dist/components/uikit/Dropdown/index.d.ts +1 -1
  123. package/dist/components/uikit/ErrorText/ErrorText.d.ts +3 -3
  124. package/dist/components/uikit/ErrorText/ErrorText.stories.d.ts +6 -6
  125. package/dist/components/uikit/ErrorText/ErrorText.styled.d.ts +1 -1
  126. package/dist/components/uikit/ErrorText/ErrorText.typed.d.ts +5 -5
  127. package/dist/components/uikit/ErrorText/index.d.ts +1 -1
  128. package/dist/components/uikit/FieldRow/FieldRow.d.ts +3 -3
  129. package/dist/components/uikit/FieldRow/FieldRow.stories.d.ts +6 -6
  130. package/dist/components/uikit/FieldRow/FieldRow.styled.d.ts +8 -8
  131. package/dist/components/uikit/FieldRow/FieldRow.typed.d.ts +16 -16
  132. package/dist/components/uikit/FieldRow/index.d.ts +1 -1
  133. package/dist/components/uikit/HiddenText/HiddenText.d.ts +3 -3
  134. package/dist/components/uikit/HiddenText/HiddenText.stories.d.ts +6 -6
  135. package/dist/components/uikit/HiddenText/HiddenText.styled.d.ts +7 -7
  136. package/dist/components/uikit/HiddenText/HiddenText.typed.d.ts +7 -7
  137. package/dist/components/uikit/HiddenText/index.d.ts +1 -1
  138. package/dist/components/uikit/Input/Input.const.d.ts +4 -4
  139. package/dist/components/uikit/Input/Input.d.ts +4 -4
  140. package/dist/components/uikit/Input/Input.stories.d.ts +7 -7
  141. package/dist/components/uikit/Input/Input.styled.d.ts +17 -17
  142. package/dist/components/uikit/Input/Input.typed.d.ts +26 -26
  143. package/dist/components/uikit/Input/Input.utils.d.ts +1 -1
  144. package/dist/components/uikit/Input/index.d.ts +2 -2
  145. package/dist/components/uikit/Loader/Loader.d.ts +3 -3
  146. package/dist/components/uikit/Loader/Loader.stories.d.ts +6 -6
  147. package/dist/components/uikit/Loader/Loader.styled.d.ts +9 -9
  148. package/dist/components/uikit/Loader/Loader.typed.d.ts +5 -5
  149. package/dist/components/uikit/Loader/index.d.ts +2 -2
  150. package/dist/components/uikit/Modal/Modal.d.ts +3 -3
  151. package/dist/components/uikit/Modal/Modal.stories.d.ts +6 -6
  152. package/dist/components/uikit/Modal/Modal.styled.d.ts +13 -13
  153. package/dist/components/uikit/Modal/Modal.typed.d.ts +32 -32
  154. package/dist/components/uikit/Modal/index.d.ts +1 -1
  155. package/dist/components/uikit/ModalMobile/ModalMobile.d.ts +3 -3
  156. package/dist/components/uikit/ModalMobile/ModalMobile.stories.d.ts +6 -6
  157. package/dist/components/uikit/ModalMobile/ModalMobile.styled.d.ts +11 -11
  158. package/dist/components/uikit/ModalMobile/ModalMobile.typed.d.ts +13 -13
  159. package/dist/components/uikit/ModalMobile/index.d.ts +1 -1
  160. package/dist/components/uikit/PasswordInput/PasswordInput.d.ts +3 -3
  161. package/dist/components/uikit/PasswordInput/PasswordInput.stories.d.ts +6 -6
  162. package/dist/components/uikit/PasswordInput/PasswordInput.styled.d.ts +5 -5
  163. package/dist/components/uikit/PasswordInput/PasswordInput.typed.d.ts +4 -4
  164. package/dist/components/uikit/PasswordInput/index.d.ts +1 -1
  165. package/dist/components/uikit/Popup/Popup.d.ts +3 -3
  166. package/dist/components/uikit/Popup/Popup.stories.d.ts +6 -6
  167. package/dist/components/uikit/Popup/Popup.styled.d.ts +13 -13
  168. package/dist/components/uikit/Popup/Popup.typed.d.ts +10 -10
  169. package/dist/components/uikit/Popup/index.d.ts +1 -1
  170. package/dist/components/uikit/Portal/Portal.d.ts +3 -3
  171. package/dist/components/uikit/Portal/Portal.stories.d.ts +6 -6
  172. package/dist/components/uikit/Portal/Portal.typed.d.ts +5 -5
  173. package/dist/components/uikit/Portal/index.d.ts +1 -1
  174. package/dist/components/uikit/Portal/usePortal.d.ts +2 -2
  175. package/dist/components/uikit/Radio/Radio.d.ts +3 -3
  176. package/dist/components/uikit/Radio/Radio.stories.d.ts +6 -6
  177. package/dist/components/uikit/Radio/Radio.styled.d.ts +16 -16
  178. package/dist/components/uikit/Radio/Radio.typed.d.ts +13 -13
  179. package/dist/components/uikit/Radio/index.d.ts +1 -1
  180. package/dist/components/uikit/Scroll/Scroll.d.ts +1 -1
  181. package/dist/components/uikit/SideModal/SideModal.d.ts +3 -3
  182. package/dist/components/uikit/SideModal/SideModal.stories.d.ts +6 -6
  183. package/dist/components/uikit/SideModal/SideModal.styled.d.ts +13 -13
  184. package/dist/components/uikit/SideModal/SideModal.typed.d.ts +19 -19
  185. package/dist/components/uikit/SideModal/components/ModalInSidebar.d.ts +9 -9
  186. package/dist/components/uikit/SideModal/components/ModalInSidebar.styled.d.ts +5 -5
  187. package/dist/components/uikit/SideModal/index.d.ts +1 -1
  188. package/dist/components/uikit/Sidebar/Sidebar.d.ts +3 -3
  189. package/dist/components/uikit/Sidebar/Sidebar.stories.d.ts +6 -6
  190. package/dist/components/uikit/Sidebar/Sidebar.styled.d.ts +12 -12
  191. package/dist/components/uikit/Sidebar/Sidebar.typed.d.ts +8 -8
  192. package/dist/components/uikit/Sidebar/index.d.ts +1 -1
  193. package/dist/components/uikit/Skeleton/Skeleton.d.ts +3 -3
  194. package/dist/components/uikit/Skeleton/Skeleton.stories.d.ts +6 -6
  195. package/dist/components/uikit/Skeleton/Skeleton.styled.d.ts +3 -3
  196. package/dist/components/uikit/Skeleton/Skeleton.typed.d.ts +13 -13
  197. package/dist/components/uikit/Skeleton/index.d.ts +1 -1
  198. package/dist/components/uikit/Spinner/Spinner.d.ts +3 -3
  199. package/dist/components/uikit/Spinner/Spinner.stories.d.ts +6 -6
  200. package/dist/components/uikit/Spinner/Spinner.styled.d.ts +5 -5
  201. package/dist/components/uikit/Spinner/Spinner.typed.d.ts +6 -6
  202. package/dist/components/uikit/Spinner/index.d.ts +1 -1
  203. package/dist/components/uikit/Switch/Switch.d.ts +3 -3
  204. package/dist/components/uikit/Switch/Switch.styled.d.ts +16 -16
  205. package/dist/components/uikit/Switch/Switched.stories.d.ts +6 -6
  206. package/dist/components/uikit/Switch/Switched.typed.d.ts +17 -17
  207. package/dist/components/uikit/Switch/index.d.ts +1 -1
  208. package/dist/components/uikit/TabListCell/TabListCell.d.ts +3 -3
  209. package/dist/components/uikit/TabListCell/TabListCell.stories.d.ts +6 -6
  210. package/dist/components/uikit/TabListCell/TabListCell.styled.d.ts +7 -7
  211. package/dist/components/uikit/TabListCell/TabListCell.typed.d.ts +25 -25
  212. package/dist/components/uikit/TabListCell/index.d.ts +1 -1
  213. package/dist/components/uikit/TextButton/TextButton.const.d.ts +43 -43
  214. package/dist/components/uikit/TextButton/TextButton.d.ts +3 -3
  215. package/dist/components/uikit/TextButton/TextButton.stories.d.ts +6 -6
  216. package/dist/components/uikit/TextButton/TextButton.styled.d.ts +7 -7
  217. package/dist/components/uikit/TextButton/TextButton.typed.d.ts +16 -16
  218. package/dist/components/uikit/TextButton/index.d.ts +1 -1
  219. package/dist/components/uikit/Textarea/Textarea.d.ts +4 -4
  220. package/dist/components/uikit/Textarea/Textarea.stories.d.ts +7 -7
  221. package/dist/components/uikit/Textarea/Textarea.styled.d.ts +11 -11
  222. package/dist/components/uikit/Textarea/Textarea.typed.d.ts +14 -14
  223. package/dist/components/uikit/Textarea/index.d.ts +1 -1
  224. package/dist/components/uikit/Tooltip/Tooltip.d.ts +4 -4
  225. package/dist/components/uikit/Tooltip/Tooltip.stories.d.ts +7 -7
  226. package/dist/components/uikit/Tooltip/Tooltip.styled.d.ts +5 -5
  227. package/dist/components/uikit/Tooltip/Tooltip.typed.d.ts +15 -15
  228. package/dist/components/uikit/Tooltip/components/DefaultTooltip/DefaultTooltip.d.ts +6 -6
  229. package/dist/components/uikit/Tooltip/components/DefaultTooltip/DefaultTooltip.styled.d.ts +1 -1
  230. package/dist/components/uikit/Tooltip/index.d.ts +2 -2
  231. package/dist/components/uikit/storybook/StoryDescription/StoryDescription.d.ts +5 -5
  232. package/dist/components/uikit/storybook/StoryDescription/StoryDescription.styled.d.ts +1 -1
  233. package/dist/components/uikit/storybook/StoryExample/StoryExample.d.ts +6 -6
  234. package/dist/components/uikit/storybook/StoryExample/StoryExample.styled.d.ts +1 -1
  235. package/dist/components/uikit/storybook/StoryTitle/StoryTitle.d.ts +6 -6
  236. package/dist/components/uikit/storybook/StoryTitle/StoryTitle.styled.d.ts +1 -1
  237. package/dist/constants.d.ts +1 -1
  238. package/dist/hooks/useActivePage.d.ts +6 -6
  239. package/dist/hooks/useBlockScroll.d.ts +2 -2
  240. package/dist/hooks/useBreakpoints.d.ts +7 -7
  241. package/dist/hooks/useClickOutside.d.ts +3 -3
  242. package/dist/hooks/useCurrentPath.d.ts +4 -4
  243. package/dist/hooks/useEscKeydownHandler.d.ts +1 -1
  244. package/dist/hooks/useGetDevice.d.ts +5 -5
  245. package/dist/hooks/useGetHeightForMobile.d.ts +2 -2
  246. package/dist/hooks/useGetVideoLink.d.ts +9 -9
  247. package/dist/hooks/useHiddingFromApp.d.ts +4 -4
  248. package/dist/hooks/useHidingChat.d.ts +2 -2
  249. package/dist/hooks/useTransitionModal.d.ts +7 -7
  250. package/dist/index.d.ts +37 -37
  251. package/dist/index.js +96 -96
  252. package/dist/theme/Theme.stories.d.ts +5 -5
  253. package/dist/theme/ThemeProvider.d.ts +14 -14
  254. package/dist/theme/theme.const.d.ts +198 -198
  255. package/dist/theme/theme.typed.d.ts +2 -2
  256. package/dist/urls/constant.d.ts +3 -3
  257. package/dist/urls/products/calculators/calculatorsLink.d.ts +10 -10
  258. package/dist/urls/products/club/clubLinks.d.ts +17 -20
  259. package/dist/urls/products/education/educationLinks.d.ts +21 -21
  260. package/dist/urls/products/feed/feed.d.ts +9 -9
  261. package/dist/urls/products/index.d.ts +7 -7
  262. package/dist/urls/products/investments/investments.d.ts +46 -46
  263. package/dist/urls/products/moreLinks/moreLinks.d.ts +10 -10
  264. package/dist/urls/products/myMoney/myMoney.d.ts +21 -21
  265. package/dist/urls/products/otherLinks/otherLinks.d.ts +6 -6
  266. package/dist/urls/products/profile/profileLinks.d.ts +9 -9
  267. package/dist/utils/getParams.d.ts +1 -1
  268. package/dist/utils/getUserRules.d.ts +6 -6
  269. package/dist/utils/onClient.d.ts +2 -2
  270. package/dist/utils.d.ts +7 -7
  271. package/package.json +69 -69
  272. package/readme.md +43 -43
@@ -1,5 +1,5 @@
1
- declare const _default: {
2
- title: string;
3
- };
4
- export default _default;
5
- export declare const Colors: () => JSX.Element;
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Colors: () => JSX.Element;
@@ -1,14 +1,14 @@
1
- import { ReactNode } from 'react';
2
- export declare const useMode: () => {
3
- mode: string;
4
- selectedMode: string;
5
- toggleTheme: any;
6
- setShowTheme: any;
7
- };
8
- interface IProps {
9
- children: ReactNode;
10
- }
11
- export type TTheme = 'light' | 'dark';
12
- export declare const availablePagesTheme: string[];
13
- export declare const ThemeProvider: ({ children }: IProps) => JSX.Element;
14
- export {};
1
+ import { ReactNode } from 'react';
2
+ export declare const useMode: () => {
3
+ mode: string;
4
+ selectedMode: string;
5
+ toggleTheme: any;
6
+ setShowTheme: any;
7
+ };
8
+ interface IProps {
9
+ children: ReactNode;
10
+ }
11
+ export type TTheme = 'light' | 'dark';
12
+ export declare const availablePagesTheme: string[];
13
+ export declare const ThemeProvider: ({ children }: IProps) => JSX.Element;
14
+ export {};
@@ -1,198 +1,198 @@
1
- export declare const palette: {
2
- light: {
3
- text: {
4
- primary: string;
5
- secondary: string;
6
- tertiary: string;
7
- fourth: string;
8
- contrast: string;
9
- contrastThemRev: string;
10
- contrastThemed: string;
11
- accent: string;
12
- accentSecondary: string;
13
- positive: string;
14
- negative: string;
15
- info: string;
16
- };
17
- stroke: {
18
- primary: string;
19
- secondary: string;
20
- tertiary: string;
21
- contrast: string;
22
- accent: string;
23
- negative: string;
24
- fieldAlpha: string;
25
- fieldAlphaHover: string;
26
- avatarBorder: string;
27
- };
28
- icons: {
29
- primary: string;
30
- contrast: string;
31
- contrastThemRev: string;
32
- contrastThemed: string;
33
- tertiary: string;
34
- accent: string;
35
- accentSecondary: string;
36
- primaryHover: string;
37
- primaryActive: string;
38
- positive: string;
39
- warring: string;
40
- negative: string;
41
- };
42
- background: {
43
- primary: string;
44
- content: string;
45
- secondary: string;
46
- secondaryAlpha: string;
47
- field: string;
48
- accent: string;
49
- accentSecondaryTint: string;
50
- positiveTint: string;
51
- warningTint: string;
52
- negativeTint: string;
53
- notification: string;
54
- switch: string;
55
- info: string;
56
- };
57
- statesBackground: {
58
- tabsHover: string;
59
- tabsActive: string;
60
- tabsActiveHover: string;
61
- accentHover: string;
62
- accentActive: string;
63
- field: string;
64
- secondaryAlphaActive: string;
65
- secondaryAlphaHover: string;
66
- listHover: string;
67
- notificationHover: string;
68
- notificationHoverError: string;
69
- sideBarActive: string;
70
- };
71
- other: {
72
- orange: string;
73
- green: string;
74
- olive: string;
75
- violet: string;
76
- red: string;
77
- red2: string;
78
- pink: string;
79
- turquoise: string;
80
- blue: string;
81
- mediumBlue: string;
82
- darkBlue: string;
83
- lightBlue: string;
84
- orangeTint: string;
85
- greenTint: string;
86
- oliveTint: string;
87
- violetTint: string;
88
- redTint: string;
89
- pinkTint: string;
90
- turquoiseTint: string;
91
- darkBlueTint: string;
92
- lightBlueTint: string;
93
- navyBlue: string;
94
- };
95
- gradient: {
96
- top: string;
97
- bottom: string;
98
- };
99
- };
100
- dark: {
101
- text: {
102
- primary: string;
103
- secondary: string;
104
- tertiary: string;
105
- fourth: string;
106
- contrast: string;
107
- contrastThemRev: string;
108
- contrastThemed: string;
109
- accent: string;
110
- accentSecondary: string;
111
- positive: string;
112
- negative: string;
113
- info: string;
114
- };
115
- stroke: {
116
- primary: string;
117
- secondary: string;
118
- tertiary: string;
119
- contrast: string;
120
- accent: string;
121
- negative: string;
122
- fieldAlpha: string;
123
- fieldAlphaHover: string;
124
- avatarBorder: string;
125
- };
126
- icons: {
127
- primary: string;
128
- contrast: string;
129
- contrastThemRev: string;
130
- contrastThemed: string;
131
- tertiary: string;
132
- accent: string;
133
- accentSecondary: string;
134
- primaryHover: string;
135
- primaryActive: string;
136
- positive: string;
137
- warring: string;
138
- negative: string;
139
- };
140
- background: {
141
- primary: string;
142
- content: string;
143
- secondary: string;
144
- secondaryAlpha: string;
145
- field: string;
146
- accent: string;
147
- accentSecondaryTint: string;
148
- positiveTint: string;
149
- warningTint: string;
150
- negativeTint: string;
151
- notification: string;
152
- switch: string;
153
- info: string;
154
- };
155
- statesBackground: {
156
- tabsHover: string;
157
- tabsActive: string;
158
- tabsActiveHover: string;
159
- accentHover: string;
160
- accentActive: string;
161
- field: string;
162
- secondaryAlphaActive: string;
163
- secondaryAlphaHover: string;
164
- listHover: string;
165
- notificationHover: string;
166
- notificationHoverError: string;
167
- sideBarActive: string;
168
- };
169
- other: {
170
- orange: string;
171
- green: string;
172
- olive: string;
173
- violet: string;
174
- red: string;
175
- red2: string;
176
- pink: string;
177
- turquoise: string;
178
- blue: string;
179
- mediumBlue: string;
180
- darkBlue: string;
181
- lightBlue: string;
182
- orangeTint: string;
183
- greenTint: string;
184
- oliveTint: string;
185
- violetTint: string;
186
- redTint: string;
187
- pinkTint: string;
188
- turquoiseTint: string;
189
- darkBlueTint: string;
190
- lightBlueTint: string;
191
- navyBlue: string;
192
- };
193
- gradient: {
194
- top: string;
195
- bottom: string;
196
- };
197
- };
198
- };
1
+ export declare const palette: {
2
+ light: {
3
+ text: {
4
+ primary: string;
5
+ secondary: string;
6
+ tertiary: string;
7
+ fourth: string;
8
+ contrast: string;
9
+ contrastThemRev: string;
10
+ contrastThemed: string;
11
+ accent: string;
12
+ accentSecondary: string;
13
+ positive: string;
14
+ negative: string;
15
+ info: string;
16
+ };
17
+ stroke: {
18
+ primary: string;
19
+ secondary: string;
20
+ tertiary: string;
21
+ contrast: string;
22
+ accent: string;
23
+ negative: string;
24
+ fieldAlpha: string;
25
+ fieldAlphaHover: string;
26
+ avatarBorder: string;
27
+ };
28
+ icons: {
29
+ primary: string;
30
+ contrast: string;
31
+ contrastThemRev: string;
32
+ contrastThemed: string;
33
+ tertiary: string;
34
+ accent: string;
35
+ accentSecondary: string;
36
+ primaryHover: string;
37
+ primaryActive: string;
38
+ positive: string;
39
+ warring: string;
40
+ negative: string;
41
+ };
42
+ background: {
43
+ primary: string;
44
+ content: string;
45
+ secondary: string;
46
+ secondaryAlpha: string;
47
+ field: string;
48
+ accent: string;
49
+ accentSecondaryTint: string;
50
+ positiveTint: string;
51
+ warningTint: string;
52
+ negativeTint: string;
53
+ notification: string;
54
+ switch: string;
55
+ info: string;
56
+ };
57
+ statesBackground: {
58
+ tabsHover: string;
59
+ tabsActive: string;
60
+ tabsActiveHover: string;
61
+ accentHover: string;
62
+ accentActive: string;
63
+ field: string;
64
+ secondaryAlphaActive: string;
65
+ secondaryAlphaHover: string;
66
+ listHover: string;
67
+ notificationHover: string;
68
+ notificationHoverError: string;
69
+ sideBarActive: string;
70
+ };
71
+ other: {
72
+ orange: string;
73
+ green: string;
74
+ olive: string;
75
+ violet: string;
76
+ red: string;
77
+ red2: string;
78
+ pink: string;
79
+ turquoise: string;
80
+ blue: string;
81
+ mediumBlue: string;
82
+ darkBlue: string;
83
+ lightBlue: string;
84
+ orangeTint: string;
85
+ greenTint: string;
86
+ oliveTint: string;
87
+ violetTint: string;
88
+ redTint: string;
89
+ pinkTint: string;
90
+ turquoiseTint: string;
91
+ darkBlueTint: string;
92
+ lightBlueTint: string;
93
+ navyBlue: string;
94
+ };
95
+ gradient: {
96
+ top: string;
97
+ bottom: string;
98
+ };
99
+ };
100
+ dark: {
101
+ text: {
102
+ primary: string;
103
+ secondary: string;
104
+ tertiary: string;
105
+ fourth: string;
106
+ contrast: string;
107
+ contrastThemRev: string;
108
+ contrastThemed: string;
109
+ accent: string;
110
+ accentSecondary: string;
111
+ positive: string;
112
+ negative: string;
113
+ info: string;
114
+ };
115
+ stroke: {
116
+ primary: string;
117
+ secondary: string;
118
+ tertiary: string;
119
+ contrast: string;
120
+ accent: string;
121
+ negative: string;
122
+ fieldAlpha: string;
123
+ fieldAlphaHover: string;
124
+ avatarBorder: string;
125
+ };
126
+ icons: {
127
+ primary: string;
128
+ contrast: string;
129
+ contrastThemRev: string;
130
+ contrastThemed: string;
131
+ tertiary: string;
132
+ accent: string;
133
+ accentSecondary: string;
134
+ primaryHover: string;
135
+ primaryActive: string;
136
+ positive: string;
137
+ warring: string;
138
+ negative: string;
139
+ };
140
+ background: {
141
+ primary: string;
142
+ content: string;
143
+ secondary: string;
144
+ secondaryAlpha: string;
145
+ field: string;
146
+ accent: string;
147
+ accentSecondaryTint: string;
148
+ positiveTint: string;
149
+ warningTint: string;
150
+ negativeTint: string;
151
+ notification: string;
152
+ switch: string;
153
+ info: string;
154
+ };
155
+ statesBackground: {
156
+ tabsHover: string;
157
+ tabsActive: string;
158
+ tabsActiveHover: string;
159
+ accentHover: string;
160
+ accentActive: string;
161
+ field: string;
162
+ secondaryAlphaActive: string;
163
+ secondaryAlphaHover: string;
164
+ listHover: string;
165
+ notificationHover: string;
166
+ notificationHoverError: string;
167
+ sideBarActive: string;
168
+ };
169
+ other: {
170
+ orange: string;
171
+ green: string;
172
+ olive: string;
173
+ violet: string;
174
+ red: string;
175
+ red2: string;
176
+ pink: string;
177
+ turquoise: string;
178
+ blue: string;
179
+ mediumBlue: string;
180
+ darkBlue: string;
181
+ lightBlue: string;
182
+ orangeTint: string;
183
+ greenTint: string;
184
+ oliveTint: string;
185
+ violetTint: string;
186
+ redTint: string;
187
+ pinkTint: string;
188
+ turquoiseTint: string;
189
+ darkBlueTint: string;
190
+ lightBlueTint: string;
191
+ navyBlue: string;
192
+ };
193
+ gradient: {
194
+ top: string;
195
+ bottom: string;
196
+ };
197
+ };
198
+ };
@@ -1,2 +1,2 @@
1
- import { palette } from './theme.const';
2
- export type TTheme = (typeof palette)['light'];
1
+ import { palette } from './theme.const';
2
+ export type TTheme = (typeof palette)['light'];
@@ -1,3 +1,3 @@
1
- export declare const ABOUT_LINK = "https://sites.profinansy.ru/about_profinansyru";
2
- export declare const getFeedHost: (isTest: boolean) => "https://lenta.test.profinansy.ru" | "https://lenta.profinansy.ru";
3
- export declare const getProfinansyHost: (isProfinansy: boolean, isTest: boolean) => "" | "https://test.profinansy.ru" | "https://profinansy.ru";
1
+ export declare const ABOUT_LINK = "https://sites.profinansy.ru/about_profinansyru";
2
+ export declare const getFeedHost: (isTest: boolean) => "https://lenta.test.profinansy.ru" | "https://lenta.profinansy.ru";
3
+ export declare const getProfinansyHost: (isProfinansy: boolean, isTest: boolean) => "" | "https://test.profinansy.ru" | "https://profinansy.ru";
@@ -1,10 +1,10 @@
1
- export declare const getCalculatorLinks: (hostname: string) => {
2
- name: string;
3
- Icon: any;
4
- href: string;
5
- subPages: {
6
- name: string;
7
- Icon: any;
8
- href: string;
9
- }[];
10
- };
1
+ export declare const getCalculatorLinks: (hostname: string) => {
2
+ name: string;
3
+ Icon: any;
4
+ href: string;
5
+ subPages: {
6
+ name: string;
7
+ Icon: any;
8
+ href: string;
9
+ }[];
10
+ };
@@ -1,20 +1,17 @@
1
- export declare const getClubLinks: (hostname: string, access: boolean) => {
2
- name: string;
3
- Icon: any;
4
- href: string;
5
- subPages: ({
6
- name: string;
7
- href: string;
8
- locked: boolean;
9
- subPages?: undefined;
10
- } | {
11
- name: string;
12
- locked: boolean;
13
- subPages: {
14
- name: string;
15
- href: string;
16
- locked: boolean;
17
- }[];
18
- href?: undefined;
19
- })[];
20
- };
1
+ export declare const getClubLinks: (hostname: string) => {
2
+ name: string;
3
+ Icon: any;
4
+ href: string;
5
+ subPages: ({
6
+ name: string;
7
+ href: string;
8
+ subPages?: undefined;
9
+ } | {
10
+ name: string;
11
+ subPages: {
12
+ name: string;
13
+ href: string;
14
+ }[];
15
+ href?: undefined;
16
+ })[];
17
+ };
@@ -1,21 +1,21 @@
1
- export declare const getCabinet: (isPermission: boolean, hostname: string, hostnameLenta: string) => {
2
- name: string;
3
- Icon: any;
4
- href: string;
5
- }[];
6
- export declare const getEducationLinks: (hostname: string, hostnameLenta: string, isPermission: boolean, isGuest: boolean) => {
7
- name: string;
8
- Icon: any;
9
- href: string;
10
- subPages: ({
11
- name: string;
12
- Icon: any;
13
- href: string;
14
- locked: boolean;
15
- } | {
16
- name: string;
17
- Icon: any;
18
- href: string;
19
- locked?: undefined;
20
- })[];
21
- };
1
+ export declare const getCabinet: (isPermission: boolean, hostname: string, hostnameLenta: string) => {
2
+ name: string;
3
+ Icon: any;
4
+ href: string;
5
+ }[];
6
+ export declare const getEducationLinks: (hostname: string, hostnameLenta: string, isPermission: boolean, isGuest: boolean) => {
7
+ name: string;
8
+ Icon: any;
9
+ href: string;
10
+ subPages: ({
11
+ name: string;
12
+ Icon: any;
13
+ href: string;
14
+ locked: boolean;
15
+ } | {
16
+ name: string;
17
+ Icon: any;
18
+ href: string;
19
+ locked?: undefined;
20
+ })[];
21
+ };
@@ -1,9 +1,9 @@
1
- export declare const getFeedLinks: (hostnameLenta: string) => {
2
- name: string;
3
- Icon: any;
4
- href: string;
5
- subPages: {
6
- name: string;
7
- href: string;
8
- }[];
9
- };
1
+ export declare const getFeedLinks: (hostnameLenta: string) => {
2
+ name: string;
3
+ Icon: any;
4
+ href: string;
5
+ subPages: {
6
+ name: string;
7
+ href: string;
8
+ }[];
9
+ };
@@ -1,7 +1,7 @@
1
- export { getClubLinks } from './club/clubLinks';
2
- export { getCalculatorLinks } from './calculators/calculatorsLink';
3
- export { getEducationLinks } from './education/educationLinks';
4
- export { getInvestmentsLinks } from './investments/investments';
5
- export { getMoreLinks } from './moreLinks/moreLinks';
6
- export { getMyMoney } from './myMoney/myMoney';
7
- export { getOtherLinks } from './otherLinks/otherLinks';
1
+ export { getClubLinks } from './club/clubLinks';
2
+ export { getCalculatorLinks } from './calculators/calculatorsLink';
3
+ export { getEducationLinks } from './education/educationLinks';
4
+ export { getInvestmentsLinks } from './investments/investments';
5
+ export { getMoreLinks } from './moreLinks/moreLinks';
6
+ export { getMyMoney } from './myMoney/myMoney';
7
+ export { getOtherLinks } from './otherLinks/otherLinks';