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.
- 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/index.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/dist/esm/types/shared/models/components/base.model.d.ts +5 -0
- package/dist/index.d.ts +3 -2
- 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;
|
@@ -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 };
|