profinansy-ui-lib 3.4.30 → 3.4.31
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.
- package/dist/components/blocks/header/components/Search/components/Content.d.ts +1 -0
- package/dist/components/blocks/search/Search.d.ts +2 -1
- package/dist/components/blocks/search/components/Item/Item.d.ts +3 -1
- package/dist/components/blocks/search/components/Item/Item.styled.d.ts +2 -0
- package/dist/components/blocks/search/components/Items/Items.d.ts +2 -1
- package/dist/components/blocks/search/components/UserRequests/UserRequests.d.ts +2 -1
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +2 -2
- package/dist/components/uikit/FilterButton/Drop/Drop.d.ts +2 -2
- package/dist/components/uikit/Hint/Hint.d.ts +2 -2
- package/dist/components/uikit/Popup/Popup.d.ts +2 -2
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +2 -2
- package/dist/hooks/useSearchInstruments.d.ts +1 -0
- package/dist/index.js +14 -8
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ interface IProps {
|
|
|
6
6
|
isEmpty: boolean;
|
|
7
7
|
data: IInstruments | null;
|
|
8
8
|
hostname: string;
|
|
9
|
+
favourites: number[];
|
|
9
10
|
tabs: {
|
|
10
11
|
label: string;
|
|
11
12
|
value: INSTRUMENTS_TYPES;
|
|
@@ -17,5 +18,5 @@ interface IProps {
|
|
|
17
18
|
LinkWrapper: ElementType;
|
|
18
19
|
onClose: () => void;
|
|
19
20
|
}
|
|
20
|
-
declare const Search: ({ isEmpty, hostname, setSelectedTab, selectedTab, tabs, data, apiSettings, LinkWrapper, onClose }: IProps) => JSX.Element;
|
|
21
|
+
declare const Search: ({ isEmpty, hostname, setSelectedTab, selectedTab, tabs, data, favourites, apiSettings, LinkWrapper, onClose }: IProps) => JSX.Element;
|
|
21
22
|
export { Search };
|
|
@@ -16,9 +16,11 @@ interface IProps {
|
|
|
16
16
|
isPositiveChange: boolean;
|
|
17
17
|
};
|
|
18
18
|
href: string;
|
|
19
|
+
isLast: boolean;
|
|
20
|
+
isFavorite: boolean;
|
|
19
21
|
apiSettings: IApiSettings;
|
|
20
22
|
LinkWrapper: ElementType;
|
|
21
23
|
onClose?: () => void;
|
|
22
24
|
}
|
|
23
|
-
declare const Item: ({ item, apiSettings, onClose, LinkWrapper, href }: IProps) => JSX.Element;
|
|
25
|
+
declare const Item: ({ item, apiSettings, onClose, LinkWrapper, href, isLast, isFavorite }: IProps) => JSX.Element;
|
|
24
26
|
export { Item };
|
|
@@ -3,6 +3,8 @@ export declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
|
3
3
|
export declare const Item: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const Border: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const Left: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const LogoContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const Favourite: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
|
6
8
|
export declare const Text: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
9
|
export declare const Right: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
10
|
export declare const Profit: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -5,9 +5,10 @@ interface IProps {
|
|
|
5
5
|
data: IInstrumentType;
|
|
6
6
|
activeTab: string;
|
|
7
7
|
hostname: string;
|
|
8
|
+
favourites: number[];
|
|
8
9
|
onClose?: () => void;
|
|
9
10
|
LinkWrapper: ElementType;
|
|
10
11
|
apiSettings: IApiSettings;
|
|
11
12
|
}
|
|
12
|
-
declare const Items: ({ hostname, data, activeTab, onClose, apiSettings, LinkWrapper }: IProps) => JSX.Element;
|
|
13
|
+
declare const Items: ({ hostname, data, activeTab, favourites, onClose, apiSettings, LinkWrapper }: IProps) => JSX.Element;
|
|
13
14
|
export { Items };
|
|
@@ -7,9 +7,10 @@ interface IProps {
|
|
|
7
7
|
type: 'last' | 'top';
|
|
8
8
|
title: string;
|
|
9
9
|
hostname: string;
|
|
10
|
+
favourites: number[];
|
|
10
11
|
LinkWrapper: ElementType;
|
|
11
12
|
handleDelete: () => void;
|
|
12
13
|
onClose?: () => void;
|
|
13
14
|
}
|
|
14
|
-
declare const UserRequests: ({ items, apiSettings, type, title, hostname, handleDelete, LinkWrapper, onClose }: IProps) => JSX.Element;
|
|
15
|
+
declare const UserRequests: ({ items, apiSettings, type, title, hostname, favourites, handleDelete, LinkWrapper, onClose }: IProps) => JSX.Element;
|
|
15
16
|
export { UserRequests };
|
|
@@ -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;
|
|
@@ -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>, "
|
|
46
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
47
47
|
active?: boolean;
|
|
48
48
|
selected?: boolean;
|
|
49
49
|
}) => Record<string, unknown>;
|
|
@@ -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;
|
|
@@ -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>, "
|
|
45
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
46
46
|
active?: boolean;
|
|
47
47
|
selected?: boolean;
|
|
48
48
|
}) => Record<string, unknown>;
|
|
@@ -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;
|
|
@@ -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>, "
|
|
47
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|
|
@@ -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;
|
|
@@ -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>, "
|
|
50
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
51
51
|
active?: boolean;
|
|
52
52
|
selected?: boolean;
|
|
53
53
|
}) => Record<string, unknown>;
|
|
@@ -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;
|
|
@@ -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>, "
|
|
47
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|