profinansy-ui-lib 3.3.92 → 3.3.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/Bubbles/Bubbles.const.d.ts +4 -0
- package/dist/components/uikit/Bubbles/Bubbles.styled.d.ts +4 -0
- package/dist/components/uikit/Bubbles/Bubbles.typed.d.ts +1 -5
- 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/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 +57 -47
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export declare const getMode: (theme: TTheme, isActive: boolean) => {
|
|
|
7
7
|
border: string;
|
|
8
8
|
boxShadow: string;
|
|
9
9
|
iconColor: string;
|
|
10
|
+
tagBackground: string;
|
|
11
|
+
tagColor: string;
|
|
10
12
|
};
|
|
11
13
|
hover: {
|
|
12
14
|
color: string;
|
|
@@ -23,6 +25,8 @@ export declare const getMode: (theme: TTheme, isActive: boolean) => {
|
|
|
23
25
|
border: string;
|
|
24
26
|
boxShadow: string;
|
|
25
27
|
iconColor: string;
|
|
28
|
+
tagBackground: string;
|
|
29
|
+
tagColor: string;
|
|
26
30
|
};
|
|
27
31
|
hover: {
|
|
28
32
|
color: string;
|
|
@@ -21,3 +21,7 @@ export declare const Button: import("styled-components").StyledComponent<"button
|
|
|
21
21
|
export declare const IconLeft: import("styled-components").StyledComponent<"span", DefaultTheme, {}, never>;
|
|
22
22
|
export declare const IconRight: import("styled-components").StyledComponent<"span", DefaultTheme, {}, never>;
|
|
23
23
|
export declare const Counts: import("styled-components").StyledComponent<"span", DefaultTheme, {}, never>;
|
|
24
|
+
export declare const Tags: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
25
|
+
isActive: boolean;
|
|
26
|
+
mode: TModeBubbles;
|
|
27
|
+
}, never>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import CSS from 'csstype';
|
|
3
|
-
|
|
4
|
-
type TBubbleOption = {
|
|
3
|
+
export type TBubbleOption = {
|
|
5
4
|
/** Значения элементов */
|
|
6
5
|
value?: string;
|
|
7
6
|
/** Текст, который будет отображаться */
|
|
@@ -24,8 +23,6 @@ export type TBubbleProps = {
|
|
|
24
23
|
style?: CSS.Properties;
|
|
25
24
|
/** Режим отображения чисел */
|
|
26
25
|
isDataCountTop?: boolean;
|
|
27
|
-
/** Тип Counter */
|
|
28
|
-
counterType?: TCounterType;
|
|
29
26
|
/** Отступ справа и слева для мобильной версии */
|
|
30
27
|
mobileIndent?: number;
|
|
31
28
|
/** Тип Скролла */
|
|
@@ -49,4 +46,3 @@ export type Multiple = {
|
|
|
49
46
|
/** Действие при нажатии на таб */
|
|
50
47
|
onChange?: (value: string[], event: MouseEvent<HTMLButtonElement>) => void;
|
|
51
48
|
};
|
|
52
|
-
export {};
|
|
@@ -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;
|