dfh-ui-library 1.3.37 → 1.3.39
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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Gird/Grid.d.ts +2 -1
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Gird/Grid.d.ts +2 -1
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/index.d.ts +13 -2
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ColumnDef, OnChangeFn, SortingState, PaginationState } from "@tanstack/react-table";
|
|
3
3
|
import { PaginationProps } from "../../shared/models/components/common.model";
|
|
4
|
-
export declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination,
|
|
4
|
+
export declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
|
|
5
|
+
isManualSorting, rowClick, }: {
|
|
5
6
|
data: any[];
|
|
6
7
|
columns: ColumnDef<any>[];
|
|
7
8
|
sorting?: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -667,6 +667,14 @@ interface ITabPanelProps extends AdditionalClassesProp {
|
|
|
667
667
|
/** Identifier for the tab panel. */
|
|
668
668
|
index: string;
|
|
669
669
|
}
|
|
670
|
+
interface IPanelCardProps extends AdditionalClassesProp {
|
|
671
|
+
/** Header title displayed on header area of the card. */
|
|
672
|
+
headerTitle: string;
|
|
673
|
+
/** Controllers displayed on header area of the card. */
|
|
674
|
+
controllers?: React.ReactNode;
|
|
675
|
+
/** Content displayed within the panel. */
|
|
676
|
+
content?: React.ReactNode;
|
|
677
|
+
}
|
|
670
678
|
|
|
671
679
|
declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, onClick, }: IButtonProps) => React__default.JSX.Element;
|
|
672
680
|
|
|
@@ -802,7 +810,8 @@ declare const ButtonGroup: React__default.FC<ButtonGroupProps>;
|
|
|
802
810
|
*/
|
|
803
811
|
declare const Icon: React__default.FC<IIconProps>;
|
|
804
812
|
|
|
805
|
-
declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination,
|
|
813
|
+
declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
|
|
814
|
+
isManualSorting, rowClick, }: {
|
|
806
815
|
data: any[];
|
|
807
816
|
columns: ColumnDef<any>[];
|
|
808
817
|
sorting?: any;
|
|
@@ -821,6 +830,8 @@ declare const TabList: React__default.FC<ITabListProps>;
|
|
|
821
830
|
|
|
822
831
|
declare const TabPanel: React__default.FC<ITabPanelProps>;
|
|
823
832
|
|
|
833
|
+
declare const PanelCard: React__default.FC<IPanelCardProps>;
|
|
834
|
+
|
|
824
835
|
interface UseSchemaProcessorProps {
|
|
825
836
|
schema: ISchema[];
|
|
826
837
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -855,4 +866,4 @@ declare function useSorting(initialField?: string, initialOrder?: string): {
|
|
|
855
866
|
field: string;
|
|
856
867
|
};
|
|
857
868
|
|
|
858
|
-
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, Heading, Icon, IconInput, ImageInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, usePagination, useSorting };
|
|
869
|
+
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, Heading, Icon, IconInput, ImageInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PanelCard, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, usePagination, useSorting };
|