profinansy-ui-lib 3.5.41 → 3.5.43

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
  /** Можно открыть недоступные страницы **/
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { THeaderLinkSubPage } from '../../../../../common.types';
3
- import { TSideMenuCategory } from '../../SideModal.typed';
4
3
  interface IProps {
5
- category: TSideMenuCategory;
4
+ isHoverMode?: boolean;
6
5
  isOpenMode: boolean;
7
6
  data: THeaderLinkSubPage;
8
7
  }
9
- declare const _default: React.MemoExoticComponent<({ isOpenMode, data, category }: IProps) => JSX.Element>;
8
+ declare const _default: React.MemoExoticComponent<({ isOpenMode, data, isHoverMode }: IProps) => JSX.Element>;
10
9
  export default _default;
@@ -1,4 +1,3 @@
1
- import { TSideMenuCategory } from '../../SideModal.typed';
2
1
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
2
  export declare const Button: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
4
3
  isOpen: boolean;
@@ -10,10 +9,11 @@ export declare const TextContainer: import("styled-components").StyledComponent<
10
9
  isLocked: boolean;
11
10
  }, never>;
12
11
  export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
13
- category: TSideMenuCategory;
12
+ isHoverMode: boolean;
14
13
  isActive: boolean;
15
14
  }, never>;
16
15
  export declare const Chevron: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
17
16
  $isOpen: boolean;
18
17
  $isActive: boolean;
19
18
  }, string | number | symbol>;
19
+ export declare const ChevronTarget: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
@@ -43,7 +43,7 @@ export declare function useDrop({ placement, onOpenList }: {
43
43
  };
44
44
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
45
45
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
46
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
46
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
47
47
  active?: boolean;
48
48
  selected?: boolean;
49
49
  }) => Record<string, unknown>;
@@ -42,7 +42,7 @@ export declare function useDrop({ placement }: {
42
42
  };
43
43
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
44
44
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
45
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
45
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
46
46
  active?: boolean;
47
47
  selected?: boolean;
48
48
  }) => Record<string, unknown>;
@@ -44,7 +44,7 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
44
44
  };
45
45
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
46
46
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
47
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
47
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
48
48
  active?: boolean;
49
49
  selected?: boolean;
50
50
  }) => Record<string, unknown>;
@@ -47,7 +47,7 @@ export declare function usePopup({ placement, isHover }: {
47
47
  };
48
48
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
49
49
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
50
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
50
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
51
51
  active?: boolean;
52
52
  selected?: boolean;
53
53
  }) => Record<string, unknown>;
@@ -44,7 +44,7 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
44
44
  };
45
45
  getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
46
46
  getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
47
- getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
47
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
48
48
  active?: boolean;
49
49
  selected?: boolean;
50
50
  }) => Record<string, unknown>;