profinansy-ui-lib 3.6.61 → 3.6.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.
@@ -1,7 +1,11 @@
1
1
  export type TTypeFavourite = 'primary' | 'content';
2
2
  export interface IFavouriteProps {
3
+ /**Тип кнопки */
3
4
  type?: TTypeFavourite;
5
+ /**Класс для кнопки */
4
6
  className?: string;
7
+ /**Добавлен ли объект в избранное */
5
8
  isActive: boolean;
9
+ /**Коллбэк по нажатию на кнопку */
6
10
  handleFav: (val: boolean) => void;
7
11
  }
@@ -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>;
@@ -1,5 +1,5 @@
1
1
  import { IColumnTable } from './Table.typed';
2
2
  export declare const getAlignment: (alignment: IColumnTable['alignment']) => {
3
3
  justifyContent: string;
4
- textAlign: "center" | "left" | "right";
4
+ textAlign: "center" | "right" | "left";
5
5
  };
@@ -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>;
@@ -52,16 +52,17 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
52
52
  open: boolean;
53
53
  setOpen: React.Dispatch<React.SetStateAction<boolean>>;
54
54
  };
55
- declare const Tooltip: ({ children, width, height, zIndex, padding, styleContainer, ...props }: ITooltipProps) => JSX.Element;
55
+ declare const Tooltip: ({ children, width, height, zIndex, padding, borderRadius, styleContainer, ...props }: ITooltipProps) => JSX.Element;
56
56
  export declare const TooltipTrigger: ({ targetElement }: {
57
57
  targetElement: React.ReactNode;
58
58
  }) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
59
- export declare const TooltipContent: ({ children, width, height, zIndex, padding, showArrow }: {
59
+ export declare const TooltipContent: ({ children, width, height, zIndex, padding, borderRadius, showArrow }: {
60
60
  children: ReactNode;
61
61
  width: string;
62
62
  height: string;
63
63
  zIndex: number;
64
64
  padding: string;
65
+ borderRadius: string;
65
66
  showArrow: boolean;
66
67
  }) => JSX.Element;
67
68
  export { Tooltip };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- component: ({ children, width, height, zIndex, padding, styleContainer, ...props }: import("./Tooltip.typed").ITooltipProps) => JSX.Element;
3
+ component: ({ children, width, height, zIndex, padding, borderRadius, styleContainer, ...props }: import("./Tooltip.typed").ITooltipProps) => JSX.Element;
4
4
  tags: string[];
5
5
  };
6
6
  export default _default;
@@ -1,10 +1,11 @@
1
1
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
2
  export declare const Tooltip: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
- width?: string;
4
- height?: string;
5
- mode: string;
3
+ $width?: string;
4
+ $height?: string;
5
+ $borderRadius?: string;
6
+ $mode: string;
6
7
  }, never>;
7
8
  export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- height?: string;
9
- padding?: string;
9
+ $height?: string;
10
+ $padding?: string;
10
11
  }, never>;
@@ -14,6 +14,8 @@ export interface ITooltipProps {
14
14
  height?: string;
15
15
  /** Паддинги для выпадашки*/
16
16
  padding?: string;
17
+ /** Закругления для выпадашки*/
18
+ borderRadius?: string;
17
19
  /** Можно передать кастомный z-index для выпадашки*/
18
20
  zIndex?: number;
19
21
  /**Показывать по наведению на триггер*/
@@ -1,5 +1,8 @@
1
1
  export interface IWidgetTitleProps {
2
+ /**Ссылка для заголовка */
2
3
  link?: string;
4
+ /**Текст для заголовка */
3
5
  text: string;
6
+ /**Сабтекст для заголовка */
4
7
  subText?: string;
5
8
  }