indicator-ui 1.1.12 → 1.1.13
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.
|
@@ -14,4 +14,9 @@ export type LoadingIndicatorPropsType = {
|
|
|
14
14
|
supportingText?: boolean | React.ReactNode;
|
|
15
15
|
additionStyles?: string | string[];
|
|
16
16
|
theme?: 'dark' | 'light';
|
|
17
|
+
/**
|
|
18
|
+
* Прогресс загрузки от 0 до 100. При передаче отображает дугу прогресса
|
|
19
|
+
* вместо бесконечной анимации вращения.
|
|
20
|
+
*/
|
|
21
|
+
progress?: number;
|
|
17
22
|
};
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
type BasePropsType = {
|
|
3
3
|
width?: 'fill' | 'hug';
|
|
4
4
|
height?: 'fill' | 'hug';
|
|
5
|
-
|
|
5
|
+
loaderStyle?: 'line-simple' | 'line-spinner' | 'dot-circle';
|
|
6
6
|
size?: 'small' | 'medium' | 'large' | 'ultra';
|
|
7
7
|
/**
|
|
8
8
|
* При `true` показывает `'Загрузка'`. При `false` - ничего не показывает.
|
|
@@ -12,6 +12,11 @@ type BasePropsType = {
|
|
|
12
12
|
supportingText?: boolean | React.ReactNode;
|
|
13
13
|
additionStyles?: string | string[];
|
|
14
14
|
theme?: 'dark' | 'light';
|
|
15
|
+
/**
|
|
16
|
+
* Прогресс загрузки от 0 до 100. При передаче отображает дугу прогресса
|
|
17
|
+
* вместо бесконечной анимации вращения.
|
|
18
|
+
*/
|
|
19
|
+
progress?: number;
|
|
15
20
|
};
|
|
16
21
|
type PropsType = Omit<React.ComponentProps<'div'>, keyof BasePropsType> & BasePropsType;
|
|
17
22
|
export declare function LoadingIndicator(props: PropsType): import("react/jsx-runtime").JSX.Element;
|