profinansy-ui-lib 3.2.55 → 3.2.57

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.
@@ -9,7 +9,3 @@ export declare const getFooterNavRows: (userRole: UserRole, hostname: string, le
9
9
  }[];
10
10
  }[][];
11
11
  export declare const getFooterDescription: (isMAFK?: boolean) => string;
12
- export declare const getFooterLeaderBoardLinks: (permission: boolean, hostname: string, isGuest?: boolean) => {
13
- name: string;
14
- href: string;
15
- }[];
@@ -4,9 +4,10 @@ interface IProps {
4
4
  apiSettings: IApiSettings;
5
5
  hostname: string;
6
6
  hostnameLenta: string;
7
+ hostnameLMS: string;
7
8
  userRole: UserRole;
8
9
  leaderBoardPermission: boolean;
9
10
  handleRouteChange: (val: string, target?: boolean) => void;
10
11
  }
11
- declare const HeaderCenter: ({ apiSettings, hostname, hostnameLenta, userRole, leaderBoardPermission, handleRouteChange }: IProps) => JSX.Element;
12
+ declare const HeaderCenter: ({ apiSettings, hostname, hostnameLenta, hostnameLMS, userRole, leaderBoardPermission, handleRouteChange }: IProps) => JSX.Element;
12
13
  export { HeaderCenter };
@@ -1,2 +1,2 @@
1
1
  import { HeaderLinkType, UserRole } from '../../../../common.types';
2
- export declare const getMainLinks: (hostname: string, hostnameLenta: string, leaderBoardPermission: boolean, userRole: UserRole) => HeaderLinkType[];
2
+ export declare const getMainLinks: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole) => HeaderLinkType[];
@@ -1,3 +1,3 @@
1
1
  import { TSideMenuCategory } from './SideModal.typed';
2
2
  import { UserRole } from '../../../common.types';
3
- export declare const getSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, userRole: UserRole, isLeaderboardPermission: boolean) => any;
3
+ export declare const getSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, hostnameLMS: string, userRole: UserRole, isLeaderboardPermission: boolean) => any;
@@ -25,9 +25,9 @@ export declare function useDrop({ placement, onOpenList }: {
25
25
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
26
26
  context: {
27
27
  placement: Placement;
28
- strategy: import("@floating-ui/utils").Strategy;
29
28
  x: number;
30
29
  y: number;
30
+ strategy: import("@floating-ui/utils").Strategy;
31
31
  middlewareData: import("@floating-ui/core").MiddlewareData;
32
32
  isPositioned: boolean;
33
33
  update: () => void;
@@ -24,9 +24,9 @@ export declare function useDrop({ placement }: {
24
24
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
25
25
  context: {
26
26
  placement: Placement;
27
- strategy: import("@floating-ui/utils").Strategy;
28
27
  x: number;
29
28
  y: number;
29
+ strategy: import("@floating-ui/utils").Strategy;
30
30
  middlewareData: import("@floating-ui/core").MiddlewareData;
31
31
  isPositioned: boolean;
32
32
  update: () => void;
@@ -26,9 +26,9 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
- strategy: import("@floating-ui/utils").Strategy;
30
29
  x: number;
31
30
  y: number;
31
+ strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;
@@ -29,9 +29,9 @@ export declare function usePopup({ placement, isHover }: {
29
29
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
30
30
  context: {
31
31
  placement: Placement;
32
- strategy: import("@floating-ui/utils").Strategy;
33
32
  x: number;
34
33
  y: number;
34
+ strategy: import("@floating-ui/utils").Strategy;
35
35
  middlewareData: import("@floating-ui/core").MiddlewareData;
36
36
  isPositioned: boolean;
37
37
  update: () => void;
@@ -26,9 +26,9 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
- strategy: import("@floating-ui/utils").Strategy;
30
29
  x: number;
31
30
  y: number;
31
+ strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;