@megha-ui/react 1.2.592 → 1.2.594

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.
@@ -358,14 +358,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
358
358
  });
359
359
  }
360
360
  }
361
- console.log(_filteredData.map((item) => Object.keys(item)
362
- .filter((key) => Object.keys(searchQueries).includes(key))
363
- .reduce((acc, key) => {
364
- if (searchQueries[key].type === "startsWith") {
365
- acc[key] = item[key];
366
- }
367
- return acc;
368
- }, {})).map(item => item.value));
369
361
  return _filteredData;
370
362
  }, [
371
363
  data,
@@ -826,7 +818,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
826
818
  }, 1000);
827
819
  setPrevRenderedData(filteredData);
828
820
  }
829
- }, [filteredData, gridGroupBy, gridColumns]);
821
+ }, [filteredData, sortQueries, gridGroupBy, gridColumns]);
830
822
  const handleSearch = (key, value, type) => {
831
823
  setSearchQueries((prev) => (Object.assign(Object.assign({}, prev), { [key]: { text: value, type, operation: "and" } })));
832
824
  setUniqueSearch((prev) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.592",
3
+ "version": "1.2.594",
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",