@megha-ui/react 1.2.164 → 1.2.166

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.
@@ -754,6 +754,7 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
754
754
  }, [filteredData, gridGroupBy, gridColumns]);
755
755
  const handleSearch = (key, value, type) => {
756
756
  setSearchQueries((prev) => (Object.assign(Object.assign({}, prev), { [key]: { text: value, type, operation: "and" } })));
757
+ setUniqueSearch((prev) => (Object.assign(Object.assign({}, prev), { [key]: [] })));
757
758
  };
758
759
  (0, react_1.useEffect)(() => {
759
760
  const handleKeydown = (event) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.164",
3
+ "version": "1.2.166",
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.mjs",