profinansy-ui-lib 3.2.75 → 3.2.77
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/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/Table/Table.typed.d.ts +1 -1
- package/dist/components/uikit/Table/components/THead/THead.d.ts +1 -1
- package/dist/components/uikit/Table/components/THead/THead.styled.d.ts +3 -17
- package/dist/components/uikit/Table/hooks/useSort.d.ts +1 -1
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +2 -2
- package/dist/index.js +33 -43
- package/package.json +1 -1
|
@@ -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;
|
|
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 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>, "selected" | "active"> & {
|
|
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;
|
|
27
28
|
x: number;
|
|
28
29
|
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>, "selected" | "active"> & {
|
|
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;
|
|
29
30
|
x: number;
|
|
30
31
|
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>, "selected" | "active"> & {
|
|
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;
|
|
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>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IHead } from '../../Table.typed';
|
|
2
|
-
declare const THead: ({ columns, hints, stickyFirstColumn, stickyLastColumn, stickyHeader, isScrolled, isScrolledEnd, activeSortField,
|
|
2
|
+
declare const THead: ({ columns, hints, stickyFirstColumn, stickyLastColumn, stickyHeader, isScrolled, isScrolledEnd, activeSortField, sortRotated, handleSort }: IHead) => JSX.Element;
|
|
3
3
|
export { THead };
|
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
import { TTheme } from '../../../../../theme/theme.typed';
|
|
2
1
|
import { IColumnTable } from '../../Table.typed';
|
|
3
|
-
export declare const getTriangle: (isHover: boolean, triangleRotated: boolean, theme: TTheme) => {
|
|
4
|
-
readonly position: "absolute";
|
|
5
|
-
readonly bottom: 0 | -5;
|
|
6
|
-
readonly left: "50%";
|
|
7
|
-
readonly transform: "translateX(-50%) rotate(180deg)" | "translateX(-50%) rotate(0deg)";
|
|
8
|
-
readonly content: "\"\"";
|
|
9
|
-
readonly width: 0;
|
|
10
|
-
readonly height: 0;
|
|
11
|
-
readonly borderLeft: "5px solid transparent";
|
|
12
|
-
readonly borderRight: "5px solid transparent";
|
|
13
|
-
readonly borderBottom: `5px solid ${string}`;
|
|
14
|
-
};
|
|
15
2
|
export declare const THead: import("styled-components").StyledComponent<"thead", import("styled-components").DefaultTheme, {
|
|
16
3
|
stickyHeader: boolean;
|
|
17
4
|
}, never>;
|
|
18
|
-
export declare const Sort: import("styled-components").StyledComponent<
|
|
5
|
+
export declare const Sort: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
|
|
19
6
|
isActive: boolean;
|
|
20
|
-
|
|
21
|
-
},
|
|
7
|
+
sortRotated: boolean;
|
|
8
|
+
}, string | number | symbol>;
|
|
22
9
|
export declare const TH: import("styled-components").StyledComponent<"th", import("styled-components").DefaultTheme, {
|
|
23
|
-
triangleRotated: boolean;
|
|
24
10
|
stickyFirstColumn: boolean;
|
|
25
11
|
stickyLastColumn: boolean;
|
|
26
12
|
isScrolled: boolean;
|
|
@@ -2,6 +2,6 @@ import { ITable } from '../Table.typed';
|
|
|
2
2
|
export declare function useSort<TItem>(data: ITable<TItem>['data'], customSort: ITable<TItem>['customSort']): {
|
|
3
3
|
sortedData: TItem[];
|
|
4
4
|
activeSortField: string;
|
|
5
|
-
|
|
5
|
+
sortRotated: boolean;
|
|
6
6
|
handleSort: (field: string) => void;
|
|
7
7
|
};
|
|
@@ -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;
|
|
29
30
|
x: number;
|
|
30
31
|
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>, "selected" | "active"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|