profinansy-ui-lib 3.2.3 → 3.2.5

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,8 +9,7 @@ interface IProps {
9
9
  isLmsMirror: boolean;
10
10
  isIdvMirror: boolean;
11
11
  isClubMirror: boolean;
12
- isConfirmPartner: boolean;
13
12
  handleRouteChange: (val: string, target?: boolean) => void;
14
13
  }
15
- declare const HeaderCenter: ({ apiSettings, hostname, hostnameLenta, userRole, leaderBoardPermission, isLmsMirror, isClubMirror, isIdvMirror, isConfirmPartner, handleRouteChange }: IProps) => JSX.Element;
14
+ declare const HeaderCenter: ({ apiSettings, hostname, hostnameLenta, userRole, leaderBoardPermission, isLmsMirror, isClubMirror, isIdvMirror, handleRouteChange }: IProps) => JSX.Element;
16
15
  export { HeaderCenter };
@@ -2,6 +2,6 @@ export declare const Border: import("styled-components").StyledComponent<"div",
2
2
  active?: boolean;
3
3
  }, never>;
4
4
  export declare const Container: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
5
- export declare const HeaderLink: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
5
+ export declare const HeaderLink: import("styled-components").StyledComponent<({ tag, className, children, variant, title, ...props }: import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties) => JSX.Element, import("styled-components").DefaultTheme, {
6
6
  active?: boolean;
7
7
  }, never>;
@@ -1,2 +1,2 @@
1
1
  import { HeaderLinkType, UserRole } from '../../../../common.types';
2
- export declare const getMainLinks: (hostname: string, hostnameLenta: string, isLmsMirror: boolean, isClubMirror: boolean, leaderBoardPermission: boolean, isConfirmPartner: boolean, userRole: UserRole) => HeaderLinkType[];
2
+ export declare const getMainLinks: (hostname: string, hostnameLenta: string, isLmsMirror: boolean, isClubMirror: boolean, leaderBoardPermission: boolean, userRole: UserRole) => HeaderLinkType[];
@@ -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>;
@@ -43,7 +43,7 @@ export declare function useHint({ placement }?: HintOptions): {
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>;
@@ -1,12 +1,17 @@
1
1
  export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  open: boolean;
3
+ isOverflowAuto: boolean;
3
4
  }, never>;
4
5
  export declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const ContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
7
  export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
8
  open: boolean;
7
9
  showCloseButton: boolean;
10
+ isOverflowAuto: boolean;
11
+ }, never>;
12
+ export declare const ContentInside: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
13
+ isOverflowAuto: boolean;
8
14
  }, never>;
9
- export declare const ContentInside: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
15
  export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
16
  export declare const Title: import("styled-components").StyledComponent<({ tag, className, children, variant, title, ...props }: import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties) => JSX.Element, import("styled-components").DefaultTheme, {
12
17
  titlePosition: 'left' | 'center';
@@ -30,4 +30,7 @@ export interface IModal {
30
30
  titlePosition?: 'left' | 'center';
31
31
  /** ID для контейнера, куда будет монтирроваться модалка */
32
32
  containerId?: string;
33
+ /** Можете использовать это свойство, если нужна модалка, которая не ограничивает контент внутри. Нужно, если, например, у вас используются различные
34
+ * выпадашки внутри */
35
+ isOverflowAuto?: boolean;
33
36
  }
@@ -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>;