@edvisor/product-language 0.9.0 → 0.10.0
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { FC } from '@helpers';
|
|
3
3
|
import { IModalBaseProps } from './modal-base';
|
|
4
4
|
export interface IModalDestructiveProps extends IModalBaseProps {
|
|
@@ -6,6 +6,6 @@ export interface IModalDestructiveProps extends IModalBaseProps {
|
|
|
6
6
|
closeButtonLabel: string;
|
|
7
7
|
onPrimaryAction: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare type IModalDestructive = IModalDestructiveProps &
|
|
9
|
+
declare type IModalDestructive = IModalDestructiveProps & HTMLAttributes<HTMLDivElement>;
|
|
10
10
|
export declare const ModalDestructive: FC<IModalDestructive>;
|
|
11
11
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './progress-bar';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MappedEnum, RequireOnlyOne } from '@helpers';
|
|
2
|
+
declare const enum ProgressBarSize {
|
|
3
|
+
small = 1,
|
|
4
|
+
medium = 2,
|
|
5
|
+
large = 4
|
|
6
|
+
}
|
|
7
|
+
declare type ProgressBarSizes<T> = MappedEnum<typeof ProgressBarSize, T>;
|
|
8
|
+
export declare type IProgressBarSizeProps = Partial<RequireOnlyOne<ProgressBarSizes<boolean>>>;
|
|
9
|
+
export declare function getValuesBySize(props: IProgressBarSizeProps): string;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
import { IProgressBarSizeProps } from './progress-bar-size-flags';
|
|
4
|
+
export interface IProgressBarProps {
|
|
5
|
+
progress: number;
|
|
6
|
+
}
|
|
7
|
+
export declare type IProgressBar = IProgressBarProps & IProgressBarSizeProps & InputHTMLAttributes<HTMLInputElement>;
|
|
8
|
+
export declare const ProgressBar: FC<IProgressBar>;
|