@megha-ui/react 1.2.726 → 1.2.729

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.
@@ -146,6 +146,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
146
146
  }
147
147
  }
148
148
  }
149
+ console.log("Column Data Type:", col.key, columnData === null || columnData === void 0 ? void 0 : columnData[col.key], isArrayString);
149
150
  return Object.assign(Object.assign({}, col), { isArrayString, dataType: (_b = (_a = col.dataType) !== null && _a !== void 0 ? _a : columnData === null || columnData === void 0 ? void 0 : columnData[col.key]) !== null && _b !== void 0 ? _b : "string" });
150
151
  });
151
152
  }
@@ -723,7 +724,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
723
724
  }, [hugLoading]);
724
725
  const tableData = useMemo(() => {
725
726
  const records = paginate ? paginatedData : sortedData;
726
- const splitColumns = gridColumns.filter((col) => col.splitRows);
727
+ const splitColumns = gridColumns.filter((col) => col.splitRow);
727
728
  if (splitColumns.length > 0) {
728
729
  let modifiedRecords = records.length > 0 ? [] : records;
729
730
  records.forEach((row) => {
@@ -25,7 +25,7 @@ export interface Column {
25
25
  }>;
26
26
  renderer?: (item: any) => JSX.Element;
27
27
  isArrayString?: boolean;
28
- splitRows?: boolean;
28
+ splitRow?: boolean;
29
29
  }
30
30
  export interface DataRow {
31
31
  [key: string]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.726",
3
+ "version": "1.2.729",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",