profinansy-ui-lib 3.3.14 → 3.3.16
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 +2 -2
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/uikit/FilterButton/Drop/Drop.d.ts +1 -1
- package/dist/components/uikit/FilterButton/FilterButton.typed.d.ts +1 -1
- package/dist/components/uikit/Hint/Hint.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.d.ts +1 -1
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/common.types.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ export interface IconsInterface {
|
|
|
8
8
|
}
|
|
9
9
|
export interface IUser {
|
|
10
10
|
account_list: Array<{
|
|
11
|
-
account_id
|
|
11
|
+
account_id?: number;
|
|
12
12
|
acc_type: string;
|
|
13
13
|
login: string;
|
|
14
|
-
confirm
|
|
14
|
+
confirm?: string;
|
|
15
15
|
}>;
|
|
16
16
|
avatar_url: string;
|
|
17
17
|
last_name: string;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
package/dist/index.js
CHANGED
|
@@ -6124,14 +6124,13 @@
|
|
|
6124
6124
|
justify-content: center;
|
|
6125
6125
|
align-items: center;
|
|
6126
6126
|
padding: ${e=>"M"===e.size?"10px":"6px"};
|
|
6127
|
-
|
|
6127
|
+
${({size:e})=>({M:{height:"44px",maxHeight:"44px",borderRadius:"8px"},S:{height:"36px",maxHeight:"36px",borderRadius:"10px"},XS:{height:"32px",maxHeight:"32px",borderRadius:"10px"}}[e])}
|
|
6128
6128
|
${e=>e.isText&&i.css`
|
|
6129
6129
|
padding-left: ${"M"===e.size?"14px":"10px"};
|
|
6130
6130
|
`}
|
|
6131
6131
|
gap: 6px;
|
|
6132
6132
|
border: ${e=>e.isStroke?`0.5px solid ${e.theme.stroke.primary}`:"none"};
|
|
6133
6133
|
background: ${e=>e.isStroke?"transparent":e.theme.interactiveControls.secondary};
|
|
6134
|
-
border-radius: ${e=>"M"===e.size?"8px":"10px"};
|
|
6135
6134
|
cursor: pointer;
|
|
6136
6135
|
transition: background-color 0.3s ${l.AnimationFunctions.animation_1},
|
|
6137
6136
|
border 0.3s ${l.AnimationFunctions.animation_1};
|