@megha-ui/react 1.3.114 → 1.3.116

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.
@@ -399,7 +399,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
399
399
  : density === "compact"
400
400
  ? "2rem"
401
401
  : "2.5rem"})`,
402
- })), { position: "relative" }), style), children: [_jsxs("div", { style: Object.assign(Object.assign({}, ({ border: (_c = style === null || style === void 0 ? void 0 : style.border) !== null && _c !== void 0 ? _c : border })), { borderRadius: 4, display: "flex", alignItems: "center", justifyContent: "space-between", cursor: "pointer", width: width ? "100%" : "max-content", padding: "0.5rem" }), ref: clearIconRef, onClick: handleClick, children: [_jsx("span", { style: {
402
+ })), { position: "relative" }), style), children: [_jsxs("div", { style: Object.assign({ border: (_c = style === null || style === void 0 ? void 0 : style.border) !== null && _c !== void 0 ? _c : border }, { borderRadius: 4, display: "flex", alignItems: "center", justifyContent: "space-between", cursor: "pointer", width: width ? "100%" : "max-content", padding: "0.5rem" }), ref: clearIconRef, onClick: handleClick, children: [_jsx("span", { style: {
403
403
  display: isIcon
404
404
  ? withValue
405
405
  ? "inline-block"
@@ -94,9 +94,11 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
94
94
  return;
95
95
  }
96
96
  setMenuVisible("");
97
- setDropdownVisible("");
98
97
  setMenuPosition(null);
99
98
  setSearchOpsPosition(null);
99
+ if (activeSearchColumn !== "") {
100
+ setDropdownVisible("");
101
+ }
100
102
  if (!target.closest(".column-search-outside-wrapper")) {
101
103
  setActiveSearchColumn(null);
102
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.114",
3
+ "version": "1.3.116",
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",