profinansy-ui-lib 3.1.51 → 3.1.53
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/uikit/Card/Card.styled.d.ts +9 -3
- package/dist/components/uikit/Card/Card.typed.d.ts +2 -0
- package/dist/components/uikit/Hint/Hint.d.ts +2 -2
- package/dist/components/uikit/Popup/Popup.d.ts +2 -2
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/index.js +27 -21
- package/package.json +1 -1
|
@@ -8,9 +8,15 @@ declare const Header: import("styled-components").StyledComponent<"div", import(
|
|
|
8
8
|
isMarginBottom: boolean;
|
|
9
9
|
}, never>;
|
|
10
10
|
declare const FirstLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
-
declare const TitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
declare const TitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
12
|
+
isTitleWrap: boolean;
|
|
13
|
+
}, never>;
|
|
14
|
+
declare const Title: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {
|
|
15
|
+
isTitleWrap: boolean;
|
|
16
|
+
}, never>;
|
|
17
|
+
declare const TitleLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
18
|
+
isTitleWrap: boolean;
|
|
19
|
+
}, never>;
|
|
14
20
|
declare const Hint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
21
|
declare const Subtitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
16
22
|
export { Container, Header, TitleContainer, Title, TitleLink, Hint, Subtitle, FirstLine };
|
|
@@ -5,6 +5,8 @@ export interface ICard {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
/**Заголовк карточки*/
|
|
7
7
|
title?: string;
|
|
8
|
+
/**Переносить заголовк на вторую строку, когда он не влезает*/
|
|
9
|
+
isTitleWrap?: boolean;
|
|
8
10
|
/**Classname для карточки*/
|
|
9
11
|
className?: string;
|
|
10
12
|
/**Classname для текстового тайтла*/
|
|
@@ -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;
|
|
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 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>, "active" | "selected"> & {
|
|
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;
|
|
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>;
|