@megha-ui/react 1.2.173 → 1.2.175

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.
@@ -816,13 +816,12 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
816
816
  const newItem = filterColumns.reduce((acc, column) => {
817
817
  var _a;
818
818
  if (!ignoredExportItems.includes(column.key) && item[column.key]) {
819
- acc[column.key] = formatValue(item[column.key].value, (_a = column.dataType) !== null && _a !== void 0 ? _a : "string", locale, formatOptions);
819
+ acc[column.key] = formatValue(item[column.key].value, (_a = column.dataType) !== null && _a !== void 0 ? _a : "string", locale, exportOptions !== null && exportOptions !== void 0 ? exportOptions : formatOptions);
820
820
  }
821
821
  return acc;
822
822
  }, {});
823
823
  return newItem;
824
824
  });
825
- console.log({ exportableJson });
826
825
  const worksheet = XLSX.utils.json_to_sheet(exportableJson);
827
826
  const workbook = XLSX.utils.book_new();
828
827
  XLSX.utils.book_append_sheet(workbook, worksheet, "Sheet1");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.173",
3
+ "version": "1.2.175",
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",