profinansy-ui-lib 3.1.28 → 3.1.30
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.
|
@@ -10,6 +10,7 @@ export declare const RightButton: import("styled-components").StyledComponent<({
|
|
|
10
10
|
export declare const Container: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
11
11
|
scroll: TScrollBubbles;
|
|
12
12
|
mobileIndent: number;
|
|
13
|
+
mode: TModeBubbles;
|
|
13
14
|
}, never>;
|
|
14
15
|
export declare const Button: import("styled-components").StyledComponent<"button", DefaultTheme, {
|
|
15
16
|
isActive: boolean;
|
|
@@ -22,8 +22,6 @@ export type TBubbleProps = {
|
|
|
22
22
|
mode?: TModeBubbles;
|
|
23
23
|
/** Стиль для списка **/
|
|
24
24
|
style?: CSS.Properties;
|
|
25
|
-
/** Выбранное значение **/
|
|
26
|
-
selectedValue: string | null;
|
|
27
25
|
/** Режим отображения чисел */
|
|
28
26
|
isDataCountTop?: boolean;
|
|
29
27
|
/** Тип Counter */
|
|
@@ -32,7 +30,23 @@ export type TBubbleProps = {
|
|
|
32
30
|
mobileIndent?: number;
|
|
33
31
|
/** Тип Скролла */
|
|
34
32
|
scroll?: TScrollBubbles;
|
|
33
|
+
/** Класс для таба */
|
|
34
|
+
tabClass?: string;
|
|
35
|
+
} & (Single | Multiple);
|
|
36
|
+
export type Single = {
|
|
37
|
+
/** Мульти выбор значений **/
|
|
38
|
+
multi?: false;
|
|
39
|
+
/** Выбранное значение **/
|
|
40
|
+
selectedValue?: string;
|
|
35
41
|
/** Действие при нажатии на таб */
|
|
36
42
|
onChange?: (value: string, event: MouseEvent<HTMLButtonElement>) => void;
|
|
37
43
|
};
|
|
44
|
+
export type Multiple = {
|
|
45
|
+
/** Мульти выбор значений **/
|
|
46
|
+
multi: true;
|
|
47
|
+
/** Выбранное значение **/
|
|
48
|
+
selectedValue?: string[];
|
|
49
|
+
/** Действие при нажатии на таб */
|
|
50
|
+
onChange?: (value: string[], event: MouseEvent<HTMLButtonElement>) => void;
|
|
51
|
+
};
|
|
38
52
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TBubbleProps } from '../../Bubbles.typed';
|
|
2
|
-
declare const WithScroll: (
|
|
2
|
+
declare const WithScroll: (props: TBubbleProps) => JSX.Element;
|
|
3
3
|
export { WithScroll };
|