@megha-ui/react 1.2.378 → 1.2.379

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.
@@ -148,9 +148,9 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
148
148
  const regex = createRegexFromWildcard(query);
149
149
  return regex.test(value);
150
150
  }
151
+ console.log({ value, query });
151
152
  switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
152
153
  case "contains":
153
- console.log({ value, query });
154
154
  return value.toLowerCase().includes(query.toLowerCase());
155
155
  case "doesNotContain":
156
156
  return !value.toLowerCase().includes(query.toLowerCase());
@@ -226,9 +226,9 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
226
226
  const regex = createRegexFromWildcard(query);
227
227
  return regex.test(value);
228
228
  }
229
+ console.log({ value, query });
229
230
  switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
230
231
  case "contains":
231
- console.log({ value, query });
232
232
  return value.toLowerCase().includes(query.toLowerCase());
233
233
  case "doesNotContain":
234
234
  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.378",
3
+ "version": "1.2.379",
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",