dfh-ui-library 1.12.778 → 1.12.780

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { CircularLoaderProps } from "../../shared/models/components/base.model";
3
+ declare const CircularLoader: React.FC<CircularLoaderProps>;
4
+ export default CircularLoader;
@@ -78,3 +78,4 @@ export declare const PreviewIcon: ({ classes, onClick, ...props }: IconProps) =>
78
78
  export declare const Reporting: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
79
79
  export declare const ReportingSelected: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
80
80
  export declare const DropdownArrowIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
81
+ export declare const WarningCircleIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.778",
3
+ "version": "1.12.780",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",