dfh-ui-library 1.12.778 → 1.12.779
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.d.ts +1 -1
- package/dist/cjs/types/components/CircularLoader/CircularLoader.d.ts +4 -0
- package/dist/cjs/types/shared/models/components/base.model.d.ts +5 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.d.ts +1 -1
- package/dist/esm/types/components/CircularLoader/CircularLoader.d.ts +4 -0
- package/dist/esm/types/shared/models/components/base.model.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { IButtonProps } from "../../shared/models/components/base.model";
|
3
|
-
declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React.JSX.Element;
|
3
|
+
declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, isLoading }: IButtonProps) => React.JSX.Element;
|
4
4
|
export default Button;
|
@@ -33,6 +33,7 @@ export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIc
|
|
33
33
|
enableBagage?: boolean;
|
34
34
|
bagageProps?: BagageProps;
|
35
35
|
width?: string;
|
36
|
+
isLoading?: boolean;
|
36
37
|
}
|
37
38
|
interface BagageProps {
|
38
39
|
text?: string;
|
@@ -682,4 +683,8 @@ export declare const TIMELINE_TYPE: {
|
|
682
683
|
CHALLENGE: string;
|
683
684
|
SOLUTION: string;
|
684
685
|
};
|
686
|
+
export interface CircularLoaderProps {
|
687
|
+
containerClass?: string;
|
688
|
+
loaderClass?: string;
|
689
|
+
}
|
685
690
|
export {};
|
package/dist/index.d.ts
CHANGED
@@ -842,6 +842,7 @@ interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeP
|
|
842
842
|
enableBagage?: boolean;
|
843
843
|
bagageProps?: BagageProps;
|
844
844
|
width?: string;
|
845
|
+
isLoading?: boolean;
|
845
846
|
}
|
846
847
|
interface BagageProps {
|
847
848
|
text?: string;
|
@@ -1286,7 +1287,7 @@ interface IListRowProps extends AdditionalClassesProp {
|
|
1286
1287
|
onClick?: () => void;
|
1287
1288
|
}
|
1288
1289
|
|
1289
|
-
declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React__default.JSX.Element;
|
1290
|
+
declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, isLoading }: IButtonProps) => React__default.JSX.Element;
|
1290
1291
|
|
1291
1292
|
/**
|
1292
1293
|
* Primary UI component
|