dfh-ui-library 1.12.305 → 1.12.306

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.
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { TableProps } from "../../shared/models/components/common.model";
3
3
  export declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
4
- isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, }: TableProps, key?: any): React.JSX.Element;
4
+ isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, setPageIndex, }: TableProps, key?: any): React.JSX.Element;
@@ -848,5 +848,6 @@ export interface TableProps {
848
848
  rowClick?: (row: any) => void;
849
849
  setRowSelection?: any;
850
850
  isLoading?: boolean;
851
+ setPageIndex?: any;
851
852
  }
852
853
  export {};
package/dist/index.d.ts CHANGED
@@ -734,6 +734,7 @@ interface TableProps {
734
734
  rowClick?: (row: any) => void;
735
735
  setRowSelection?: any;
736
736
  isLoading?: boolean;
737
+ setPageIndex?: any;
737
738
  }
738
739
 
739
740
  type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | "primaryBlue10" | "noBoaderbgTransparent" | undefined;
@@ -1339,7 +1340,7 @@ declare const ButtonGroup: React__default.FC<ButtonGroupProps>;
1339
1340
  declare const Icon: React__default.FC<IIconProps>;
1340
1341
 
1341
1342
  declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
1342
- isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, }: TableProps, key?: any): React__default.JSX.Element;
1343
+ isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, setPageIndex, }: TableProps, key?: any): React__default.JSX.Element;
1343
1344
 
1344
1345
  declare function IndeterminateCheckbox({ indeterminate, rowId, className, ...rest }: {
1345
1346
  indeterminate?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.305",
3
+ "version": "1.12.306",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",