profinansy-ui-lib 3.1.36 → 3.1.37
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/Checkbox/Checkbox.typed.d.ts +1 -1
- package/dist/components/uikit/Loader/Loader.stories.d.ts +1 -0
- package/dist/components/uikit/Loader/Loader.typed.d.ts +2 -0
- package/dist/components/uikit/Portal/Portal.stories.d.ts +1 -0
- package/dist/components/uikit/Radio/Radio.stories.d.ts +7 -0
- package/dist/components/uikit/Radio/Radio.styled.d.ts +4 -4
- package/dist/components/uikit/Radio/Radio.typed.d.ts +14 -3
- package/dist/components/uikit/Spinner/Spinner.stories.d.ts +1 -0
- package/dist/components/uikit/Spinner/Spinner.typed.d.ts +3 -0
- package/dist/index.js +30 -28
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export type CheckboxSize = 'S' | 'M' | 'L';
|
|
3
3
|
export type CheckboxForm = 'square' | 'circle';
|
|
4
4
|
export interface ICheckbox {
|
|
5
|
-
/** Активность
|
|
5
|
+
/** Активность контроллера. */
|
|
6
6
|
checked?: boolean;
|
|
7
7
|
/** Отображаемый текст. */
|
|
8
8
|
text?: string;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
3
|
component: (props: import("./Radio.typed").IRadio) => JSX.Element;
|
|
4
|
+
tags: string[];
|
|
5
|
+
parameters: {
|
|
6
|
+
design: {
|
|
7
|
+
type: string;
|
|
8
|
+
url: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
4
11
|
};
|
|
5
12
|
export default _default;
|
|
6
13
|
export declare const Radio: () => JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { RadioSize } from './Radio.typed';
|
|
1
|
+
import { IRadio, RadioSize } from './Radio.typed';
|
|
2
2
|
export declare const Element: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
3
3
|
size: RadioSize;
|
|
4
4
|
}, never>;
|
|
5
5
|
export declare const Container: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
6
|
-
|
|
6
|
+
verticalAlign: IRadio['verticalAlign'];
|
|
7
|
+
horizontalAlign: IRadio['horizontalAlign'];
|
|
7
8
|
}, never>;
|
|
8
9
|
export declare const NativeInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
|
|
9
10
|
type: "radio";
|
|
10
11
|
}, "type">;
|
|
11
|
-
export declare const Text: import("styled-components").StyledComponent<"
|
|
12
|
-
size: RadioSize;
|
|
12
|
+
export declare const Text: import("styled-components").StyledComponent<({ tag, className, children, variant, title, ...props }: import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties) => JSX.Element, import("styled-components").DefaultTheme, {
|
|
13
13
|
isTextLeft: boolean;
|
|
14
14
|
color: string;
|
|
15
15
|
}, never>;
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IPopup } from '../Popup/Popup.typed';
|
|
3
|
-
export type RadioSize = 'M' | '
|
|
3
|
+
export type RadioSize = 'S' | 'M' | 'L';
|
|
4
4
|
export interface IRadio {
|
|
5
|
+
/** Активность контроллера. */
|
|
5
6
|
checked?: boolean;
|
|
7
|
+
/** Отображаемый текст. */
|
|
6
8
|
text?: string;
|
|
9
|
+
/** Имя контроллера. */
|
|
7
10
|
name?: string;
|
|
11
|
+
/** Вертикальное выравнивание. */
|
|
12
|
+
verticalAlign?: 'center' | 'start';
|
|
13
|
+
/** Горизонтальное выравнивание. */
|
|
14
|
+
horizontalAlign?: 'full' | 'start';
|
|
15
|
+
/** Размер контроллера. */
|
|
8
16
|
size?: RadioSize;
|
|
9
|
-
|
|
17
|
+
/** Место расположения текста относительно контроллера. */
|
|
10
18
|
isTextLeft?: boolean;
|
|
11
|
-
|
|
19
|
+
/** Значние контроллера. */
|
|
12
20
|
value?: string | number;
|
|
21
|
+
/** Цвет текста контроллера. */
|
|
13
22
|
color?: string;
|
|
14
23
|
/**Добавить подсказку к полю*/
|
|
15
24
|
hint?: IPopup;
|
|
25
|
+
/** Действие при нажатии на контроллер. */
|
|
26
|
+
onChange?: (value: string, e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
16
27
|
}
|