profinansy-ui-lib 3.1.50 → 3.1.51
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/common.types.d.ts +3 -1
- package/dist/components/blocks/sideMenu/components/Item/Item.styled.d.ts +1 -0
- package/dist/components/uikit/Hint/Hint.d.ts +2 -2
- package/dist/components/uikit/Popup/Popup.d.ts +2 -2
- package/dist/index.js +51 -43
- package/dist/urls/products/investments/investments.d.ts +21 -27
- package/package.json +1 -1
package/dist/common.types.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export type HeaderLinkType = {
|
|
|
31
31
|
href?: string;
|
|
32
32
|
outsideLink?: boolean;
|
|
33
33
|
Icon: React.FC<IconsInterface>;
|
|
34
|
+
/** Страницы, которые недоступны без регистрации **/
|
|
34
35
|
locked?: boolean;
|
|
35
36
|
subPages: THeaderLinkSubPage[];
|
|
36
37
|
/** Страницы, которые не видны в шапке, но которые находятся в разделе **/
|
|
@@ -39,9 +40,10 @@ export type HeaderLinkType = {
|
|
|
39
40
|
export type THeaderLinkSubPage = {
|
|
40
41
|
name: string;
|
|
41
42
|
href?: string;
|
|
43
|
+
/** Страницы, которые недоступны без регистрации **/
|
|
42
44
|
locked?: boolean;
|
|
45
|
+
/** Страницы, которые недоступны без премиума **/
|
|
43
46
|
unavailable?: boolean;
|
|
44
|
-
available?: boolean;
|
|
45
47
|
Icon?: React.FC<IconsInterface>;
|
|
46
48
|
subPages?: THeaderLinkSubPage[];
|
|
47
49
|
innerPages?: string[];
|
|
@@ -6,6 +6,7 @@ export declare const Button: import("styled-components").StyledComponent<"button
|
|
|
6
6
|
}, never>;
|
|
7
7
|
export declare const TextContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
8
|
isActive: boolean;
|
|
9
|
+
isLocked: boolean;
|
|
9
10
|
}, never>;
|
|
10
11
|
export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
11
12
|
isActive: boolean;
|
|
@@ -25,9 +25,9 @@ export declare function useHint({ placement }?: HintOptions): {
|
|
|
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;
|
|
28
29
|
x: number;
|
|
29
30
|
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 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>, "
|
|
46
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
47
47
|
active?: boolean;
|
|
48
48
|
selected?: boolean;
|
|
49
49
|
}) => 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;
|
|
32
33
|
x: number;
|
|
33
34
|
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>, "selected" | "active"> & {
|
|
51
51
|
active?: boolean;
|
|
52
52
|
selected?: boolean;
|
|
53
53
|
}) => Record<string, unknown>;
|