@megha-ui/react 1.2.587 → 1.2.588

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.
@@ -165,6 +165,9 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
165
165
  const value = item[column.key] && item[column.key].value
166
166
  ? (_b = item[column.key].value) === null || _b === void 0 ? void 0 : _b.toString()
167
167
  : "";
168
+ if (query) {
169
+ console.log(_filteredData.filter(item => item === null || item === void 0 ? void 0 : item[column.key].value));
170
+ }
168
171
  if (query.includes("*") || query.includes("?")) {
169
172
  const regex = createRegexFromWildcard(query);
170
173
  return regex.test(value);
@@ -224,7 +227,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
224
227
  case "doesNotEqual":
225
228
  return !queryData.includes(value.toLowerCase());
226
229
  case "startsWith":
227
- console.log({ value, query });
228
230
  return value.toLowerCase().startsWith(query.toLowerCase());
229
231
  case "endsWith":
230
232
  return value.toLowerCase().endsWith(query.toLowerCase());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.587",
3
+ "version": "1.2.588",
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",