profinansy-ui-lib 3.6.92 → 3.6.94
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 +1 -1
- package/dist/components/uikit/FilterButton/{Button → components/Button}/Button.d.ts +1 -1
- package/dist/components/uikit/FilterButton/{Button → components/Button}/Button.styled.d.ts +1 -1
- package/dist/components/uikit/FilterButton/{Drop → components/Drop}/Drop.d.ts +2 -2
- package/dist/components/uikit/FilterButton/components/Mobile/MobileFilter.d.ts +4 -0
- package/dist/components/uikit/Hint/Hint.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.d.ts +1 -65
- package/dist/components/uikit/Popup/Popup.stories.d.ts +1 -1
- package/dist/components/uikit/Popup/components/PopupDesktop.d.ts +67 -0
- package/dist/components/uikit/Popup/components/PopupMobile.d.ts +3 -0
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
- package/dist/index.js +19 -15
- package/package.json +1 -1
- /package/dist/components/uikit/FilterButton/{Drop → components/Drop}/Drop.styled.d.ts +0 -0
|
@@ -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/react").MiddlewareData;
|
|
32
32
|
isPositioned: boolean;
|
|
33
33
|
update: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFilterButton } from '
|
|
1
|
+
import { IFilterButton } from '../../FilterButton.typed';
|
|
2
2
|
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
3
3
|
activeElements: number;
|
|
4
4
|
isStroke: IFilterButton['isStroke'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { IDropFilter, IFilterButtonRef } from '
|
|
3
|
+
import { IDropFilter, IFilterButtonRef } from '../../FilterButton.typed';
|
|
4
4
|
export declare function useDrop({ placement }: {
|
|
5
5
|
placement?: Placement;
|
|
6
6
|
}): {
|
|
@@ -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/react").MiddlewareData;
|
|
31
31
|
isPositioned: boolean;
|
|
32
32
|
update: () => void;
|
|
@@ -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/react").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|
|
@@ -1,67 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Placement } from '@floating-ui/react';
|
|
3
1
|
import { IPopup } from './Popup.typed';
|
|
4
|
-
|
|
5
|
-
placement?: Placement;
|
|
6
|
-
isHover?: boolean;
|
|
7
|
-
}): {
|
|
8
|
-
labelId: string;
|
|
9
|
-
descriptionId: string;
|
|
10
|
-
setLabelId: React.Dispatch<React.SetStateAction<string>>;
|
|
11
|
-
setDescriptionId: React.Dispatch<React.SetStateAction<string>>;
|
|
12
|
-
placement: Placement;
|
|
13
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
14
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
15
|
-
x: number;
|
|
16
|
-
y: number;
|
|
17
|
-
isPositioned: boolean;
|
|
18
|
-
update: () => void;
|
|
19
|
-
floatingStyles: React.CSSProperties;
|
|
20
|
-
refs: {
|
|
21
|
-
reference: React.MutableRefObject<import("@floating-ui/react-dom").ReferenceType>;
|
|
22
|
-
floating: React.MutableRefObject<HTMLElement>;
|
|
23
|
-
setReference: (node: import("@floating-ui/react-dom").ReferenceType) => void;
|
|
24
|
-
setFloating: (node: HTMLElement) => void;
|
|
25
|
-
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
26
|
-
elements: {
|
|
27
|
-
reference: import("@floating-ui/react-dom").ReferenceType;
|
|
28
|
-
floating: HTMLElement;
|
|
29
|
-
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
30
|
-
context: {
|
|
31
|
-
placement: Placement;
|
|
32
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
33
|
-
x: number;
|
|
34
|
-
y: number;
|
|
35
|
-
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
36
|
-
isPositioned: boolean;
|
|
37
|
-
update: () => void;
|
|
38
|
-
floatingStyles: React.CSSProperties;
|
|
39
|
-
open: boolean;
|
|
40
|
-
onOpenChange: (open: boolean, event?: Event, reason?: import("@floating-ui/react").OpenChangeReason) => void;
|
|
41
|
-
events: import("@floating-ui/react").FloatingEvents;
|
|
42
|
-
dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
43
|
-
nodeId: string;
|
|
44
|
-
floatingId: string;
|
|
45
|
-
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
46
|
-
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
47
|
-
};
|
|
48
|
-
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
49
|
-
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
50
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
51
|
-
active?: boolean;
|
|
52
|
-
selected?: boolean;
|
|
53
|
-
}) => Record<string, unknown>;
|
|
54
|
-
arrowRef: React.MutableRefObject<any>;
|
|
55
|
-
open: boolean;
|
|
56
|
-
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
57
|
-
};
|
|
58
|
-
declare const Popup: ({ content, ...restOptions }: IPopup) => JSX.Element;
|
|
59
|
-
export declare const PopupTrigger: ({ isText, targetElement, targetClass }: {
|
|
60
|
-
isText: boolean;
|
|
61
|
-
targetElement?: React.ReactNode;
|
|
62
|
-
targetClass?: string;
|
|
63
|
-
}) => JSX.Element;
|
|
64
|
-
export declare const PopupContent: ({ content }: {
|
|
65
|
-
content: string[];
|
|
66
|
-
}) => JSX.Element;
|
|
2
|
+
declare const Popup: (props: IPopup) => JSX.Element;
|
|
67
3
|
export { Popup };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Placement } from '@floating-ui/react';
|
|
3
|
+
import { IPopup } from '../Popup.typed';
|
|
4
|
+
export declare function usePopup({ placement, isHover }: {
|
|
5
|
+
placement?: Placement;
|
|
6
|
+
isHover?: boolean;
|
|
7
|
+
}): {
|
|
8
|
+
labelId: string;
|
|
9
|
+
descriptionId: string;
|
|
10
|
+
setLabelId: React.Dispatch<React.SetStateAction<string>>;
|
|
11
|
+
setDescriptionId: React.Dispatch<React.SetStateAction<string>>;
|
|
12
|
+
placement: Placement;
|
|
13
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
14
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
isPositioned: boolean;
|
|
18
|
+
update: () => void;
|
|
19
|
+
floatingStyles: React.CSSProperties;
|
|
20
|
+
refs: {
|
|
21
|
+
reference: React.MutableRefObject<import("@floating-ui/react-dom").ReferenceType>;
|
|
22
|
+
floating: React.MutableRefObject<HTMLElement>;
|
|
23
|
+
setReference: (node: import("@floating-ui/react-dom").ReferenceType) => void;
|
|
24
|
+
setFloating: (node: HTMLElement) => void;
|
|
25
|
+
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
26
|
+
elements: {
|
|
27
|
+
reference: import("@floating-ui/react-dom").ReferenceType;
|
|
28
|
+
floating: HTMLElement;
|
|
29
|
+
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
30
|
+
context: {
|
|
31
|
+
placement: Placement;
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
35
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
36
|
+
isPositioned: boolean;
|
|
37
|
+
update: () => void;
|
|
38
|
+
floatingStyles: React.CSSProperties;
|
|
39
|
+
open: boolean;
|
|
40
|
+
onOpenChange: (open: boolean, event?: Event, reason?: import("@floating-ui/react").OpenChangeReason) => void;
|
|
41
|
+
events: import("@floating-ui/react").FloatingEvents;
|
|
42
|
+
dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
43
|
+
nodeId: string;
|
|
44
|
+
floatingId: string;
|
|
45
|
+
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
46
|
+
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
47
|
+
};
|
|
48
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
49
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
50
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
51
|
+
active?: boolean;
|
|
52
|
+
selected?: boolean;
|
|
53
|
+
}) => Record<string, unknown>;
|
|
54
|
+
arrowRef: React.MutableRefObject<any>;
|
|
55
|
+
open: boolean;
|
|
56
|
+
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
57
|
+
};
|
|
58
|
+
declare const PopupDesktop: ({ content, ...restOptions }: IPopup) => JSX.Element;
|
|
59
|
+
export declare const PopupTrigger: ({ isText, targetElement, targetClass }: {
|
|
60
|
+
isText: boolean;
|
|
61
|
+
targetElement?: React.ReactNode;
|
|
62
|
+
targetClass?: string;
|
|
63
|
+
}) => JSX.Element;
|
|
64
|
+
export declare const PopupContent: ({ content }: {
|
|
65
|
+
content: string[];
|
|
66
|
+
}) => JSX.Element;
|
|
67
|
+
export { PopupDesktop };
|
|
@@ -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/react").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|