@megha-ui/react 1.2.141 → 1.2.142

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.
@@ -751,7 +751,6 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
751
751
  }
752
752
  }, [filteredData, gridGroupBy, gridColumns]);
753
753
  const handleSearch = (0, react_1.useCallback)((key, value, type) => {
754
- console.log(value);
755
754
  setSearchQueries((prev) => (Object.assign(Object.assign({}, prev), { [key]: { text: value, type, operation: "and" } })));
756
755
  }, []);
757
756
  (0, react_1.useEffect)(() => {
@@ -45,7 +45,6 @@ const GridFilterDropdown = ({ headerDropdownIndex, searchOptions, position, colu
45
45
  else {
46
46
  _uniqueSeach = Object.assign(Object.assign({}, uniqueSearch), { [columnKey]: columnData });
47
47
  }
48
- console.log(_uniqueSeach);
49
48
  setUniqueSearch(_uniqueSeach);
50
49
  }
51
50
  else {
@@ -59,7 +58,6 @@ const GridFilterDropdown = ({ headerDropdownIndex, searchOptions, position, colu
59
58
  }
60
59
  onFilter(_uniqueSeach, columnKey);
61
60
  };
62
- console.log({ locale, formatOptions });
63
61
  return ((0, jsx_runtime_1.jsxs)("div", { style: Object.assign(Object.assign({ position: "absolute", top: "calc(100% + 5px)" }, (columnIndex > 1 ? { right: 0 } : { left: 0 })), { zIndex: headerDropdownIndex ? headerDropdownIndex : 1000, backgroundColor: "white", boxShadow: "0px 0.5rem 1rem 0px rgba(0,0,0,0.2)", listStyleType: "none", padding: "0.35rem 0", width: "max-content", maxWidth: "500px", borderRadius: "0.5rem", margin: 0 }), ref: headerDropdown, onClick: (e) => e.stopPropagation(), children: [searchInput && searchInput, sortingOps, (0, jsx_runtime_1.jsxs)("div", { style: {
64
62
  padding: "0.5rem 0.75rem",
65
63
  cursor: "pointer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.141",
3
+ "version": "1.2.142",
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",