@hybr1d-tech/charizard 0.3.52 → 0.3.53

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.
@@ -50,6 +50,8 @@ export interface TableProps {
50
50
  totalText?: string;
51
51
  /**
52
52
  * Row checkbox or radio selection config
53
+ *
54
+ * @param getRowId: needed to keep the selected rows when search is being used server side https://tanstack.com/table/v8/docs/guide/row-selection#useful-row-ids
53
55
  */
54
56
  rowSelectionConfig?: {
55
57
  isCheckbox?: boolean;
@@ -61,7 +63,8 @@ export interface TableProps {
61
63
  }[];
62
64
  setSelectedRows?: React.Dispatch<React.SetStateAction<any>>;
63
65
  iconSrc?: string;
64
- shouldClear?: boolean;
66
+ clearOnSearch?: boolean;
67
+ getRowId?: (row: any) => string;
65
68
  };
66
69
  selectorConfig?: {
67
70
  selectors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "0.3.52",
3
+ "version": "0.3.53",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"