@megha-ui/react 1.2.385 → 1.2.387

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.
@@ -135,7 +135,6 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
135
135
  return filterValue.includes(cellValue);
136
136
  })
137
137
  : true);
138
- console.log({ searchQueries, "SearchOp": searchOp });
139
138
  _filteredData = _filteredData.filter((item) => searchOp === "and"
140
139
  ? filterColumns.every((column) => {
141
140
  var _a, _b, _c;
@@ -225,7 +224,9 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
225
224
  const regex = createRegexFromWildcard(query);
226
225
  return regex.test(value);
227
226
  }
228
- console.log({ value, query, searchQueries, key: column.key });
227
+ if (searchQueries[column.key]) {
228
+ console.log("searchQueries[column.key]", searchQueries[column.key]);
229
+ }
229
230
  switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
230
231
  case "contains":
231
232
  return value.toLowerCase().includes(query.toLowerCase());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.385",
3
+ "version": "1.2.387",
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",