@megha-ui/react 1.2.718 → 1.2.719

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.
@@ -386,7 +386,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
386
386
  const recalculate = (_summariseKeys) => {
387
387
  const filteredData = (paginate && gridGroupBy === "") ? paginatedData : sortedData;
388
388
  let newSummariseDetails = summariseDetails;
389
- console.log("Recalculating summarise details...", _summariseKeys);
390
389
  Object.keys(_summariseKeys).forEach((_columnKey) => {
391
390
  const type = _summariseKeys[_columnKey];
392
391
  let columnKey = _columnKey;
@@ -396,6 +395,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
396
395
  const _groupedKeys = groupedKeys.length > 0
397
396
  ? groupedKeys
398
397
  : [{ groupedKey: "", groupedValue: columnKey }];
398
+ console.log("Using grouped keys:", _groupedKeys);
399
399
  _groupedKeys.forEach((grouped) => {
400
400
  const { groupedKey, groupedValue } = grouped;
401
401
  const filterValue = _groupedKeys.length > 1 ? groupedValue : "";
@@ -7,7 +7,6 @@ const SummariseDetails = ({ columns, rowIndex, groupBy, sortable, cellStyle, col
7
7
  .filter((g) => g)
8
8
  .flatMap((g) => g.split("+").filter((k) => k)), [groupBy]);
9
9
  const handleCalculateSelect = (_columnKey, type) => {
10
- console.log("Selected calculate type:", type, "for column:", _columnKey);
11
10
  let columnKey = _columnKey;
12
11
  if (columnKey.includes(">>")) {
13
12
  columnKey = columnKey.split(">>")[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.718",
3
+ "version": "1.2.719",
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",