profinansy-ui-lib 3.5.4 → 3.5.5
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TTabProps } from './Tabs.typed';
|
|
2
|
-
declare const Tabs: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper }: TTabProps) => JSX.Element;
|
|
2
|
+
declare const Tabs: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper, scroll }: TTabProps) => JSX.Element;
|
|
3
3
|
export { Tabs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper }: import("./Tabs.typed").TTabProps) => JSX.Element;
|
|
3
|
+
component: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper, scroll }: import("./Tabs.typed").TTabProps) => JSX.Element;
|
|
4
4
|
tags: string[];
|
|
5
5
|
parameters: {
|
|
6
6
|
design: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
import { TScrollTabs } from './Tabs.typed';
|
|
2
3
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
3
4
|
export declare const Container: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
4
5
|
indent: number;
|
|
@@ -10,3 +11,9 @@ export declare const LineIndicator: import("styled-components").StyledComponent<
|
|
|
10
11
|
position: number;
|
|
11
12
|
width: number;
|
|
12
13
|
}, never>;
|
|
14
|
+
export declare const Mute: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
15
|
+
isLeft?: boolean;
|
|
16
|
+
scroll: TScrollTabs;
|
|
17
|
+
}, never>;
|
|
18
|
+
export declare const LeftButton: import("styled-components").StyledComponent<({ direction, className, style, size, onClick, disabled }: import("../ArrowButton/ArrowButton.typed").IArrowButton) => JSX.Element, DefaultTheme, {}, never>;
|
|
19
|
+
export declare const RightButton: import("styled-components").StyledComponent<({ direction, className, style, size, onClick, disabled }: import("../ArrowButton/ArrowButton.typed").IArrowButton) => JSX.Element, DefaultTheme, {}, never>;
|
|
@@ -9,6 +9,7 @@ export type TabOption = {
|
|
|
9
9
|
/** Количество элементов */
|
|
10
10
|
dataCount?: number;
|
|
11
11
|
};
|
|
12
|
+
export type TScrollTabs = 'base' | 'content';
|
|
12
13
|
export type TTabProps = {
|
|
13
14
|
/** Список элементов **/
|
|
14
15
|
options: TabOption[];
|
|
@@ -18,6 +19,8 @@ export type TTabProps = {
|
|
|
18
19
|
selectedValue: string | null;
|
|
19
20
|
/** Тип Counter */
|
|
20
21
|
counterType?: TCounterType;
|
|
22
|
+
/** Тип Скролла */
|
|
23
|
+
scroll?: TScrollTabs;
|
|
21
24
|
/** Отступ справа и слева */
|
|
22
25
|
indent?: number;
|
|
23
26
|
/** Класс для контейнера */
|