@megha-ui/react 1.2.55 → 1.2.56

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.
@@ -29,7 +29,7 @@ const GridFilterDropdown = ({ headerDropdownIndex, searchOptions, position, colu
29
29
  if (typeof uniqueSearch[columnKey] === "undefined") {
30
30
  setUniqueSearch((prev) => (Object.assign(Object.assign({}, prev), { [columnKey]: columnData })));
31
31
  }
32
- setFilterColumnData(columnData.filter((item) => item &&
32
+ setFilterColumnData(columnData.filter((item) => typeof item !== "undefined" && item !== "" &&
33
33
  `${item}`.toLowerCase().includes(filterSearch.toLowerCase())));
34
34
  }, [columnData, filterSearch]);
35
35
  const handleSelect = (value, columnKey) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.55",
3
+ "version": "1.2.56",
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",