profinansy-ui-lib 3.5.42 → 3.5.44

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.
@@ -49,6 +49,8 @@ export type THeaderLinkSubPage = {
49
49
  href?: string;
50
50
  /** Страницы, которые недоступны без регистрации **/
51
51
  locked?: boolean;
52
+ /** Открывать в новой вкладке **/
53
+ isTarget?: boolean;
52
54
  /** Страницы, которые недоступны без премиума **/
53
55
  unavailable?: boolean;
54
56
  /** Можно открыть недоступные страницы **/
@@ -67,4 +69,6 @@ export type THeaderLinkSubPage = {
67
69
  innerPages?: string[];
68
70
  /** Описание страницы, которое используется для отображения возможностей премиума **/
69
71
  description?: string;
72
+ /** Доступна ли страница для иностранного сайта **/
73
+ isForeignAccess?: boolean;
70
74
  };
@@ -3,5 +3,6 @@ import { IHeaderProps } from './Header.typed';
3
3
  export declare const HeaderContext: React.Context<{
4
4
  LinkWrapper: any;
5
5
  apiSettings: any;
6
+ isForeignSite: boolean;
6
7
  }>;
7
8
  export declare const Header: FC<IHeaderProps>;
@@ -4,6 +4,7 @@ export declare const SideMenuContext: React.Context<{
4
4
  apiSettings: any;
5
5
  setShowQuiz: any;
6
6
  LinkWrapper: any;
7
+ isForeignSite: boolean;
7
8
  }>;
8
9
  declare const SideMenu: ({ banners, category, isTest, isProfinansy, isLeaderboardPermission, userRole, apiSettings, footerSlot, LinkWrapper, isHoverMode }: ISideModal) => JSX.Element;
9
10
  export { SideMenu };
@@ -16,3 +16,4 @@ export declare const Chevron: import("styled-components").StyledComponent<any, i
16
16
  $isOpen: boolean;
17
17
  $isActive: boolean;
18
18
  }, string | number | symbol>;
19
+ export declare const ChevronTarget: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
@@ -0,0 +1 @@
1
+ export declare const useIsForeignSite: () => boolean;