dfh-ui-library 1.12.777 → 1.12.779

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;
@@ -2,7 +2,7 @@ import "./index.css";
2
2
  export * from "./components";
3
3
  export * from "./hooks";
4
4
  export { VariantTypes, BorderType, LogoProps, } from "./shared/models/components/base.model";
5
- export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, } from "./shared/models/components/common.model";
5
+ export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, } from "./shared/models/components/common.model";
6
6
  export { ColumnDef, SortingState } from "@tanstack/react-table";
7
7
  export { usePagination } from "./hooks/usePagination";
8
8
  export { useSorting } from "./hooks/useSorting";
@@ -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
@@ -1879,4 +1880,4 @@ declare const themeConfigs: {
1879
1880
  plugins: any[];
1880
1881
  };
1881
1882
 
1882
- export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1883
+ export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, type NoteChildrenProps, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.777",
3
+ "version": "1.12.779",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",