@megha-ui/react 1.3.73 → 1.3.75

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.
@@ -508,7 +508,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
508
508
  ? "var(--background)"
509
509
  : "var(--disabled-bg)",
510
510
  }, value: ((_48 = searchQueries[((_47 = headerColumns.find((column) => column.key === _groupBy)) === null || _47 === void 0 ? void 0 : _47.key) || ""]) === null || _48 === void 0 ? void 0 : _48.text) || "", disabled: !((_49 = headerColumns.find((column) => column.key === _groupBy)) === null || _49 === void 0 ? void 0 : _49.search), height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "#fff" }) }))) ||
511
- null })))] })) })] }), search && columnSearchOutside && (_jsxs("div", { children: [_jsx("div", { style: {
511
+ null })))] })) })] }), search && columnSearchOutside && (_jsxs("div", { style: { position: "relative" }, children: [_jsx("div", { style: {
512
512
  marginTop: "0.5rem",
513
513
  pointerEvents: search &&
514
514
  ((_50 = headerColumns.find((column) => column.key === _groupBy)) === null || _50 === void 0 ? void 0 : _50.search)
@@ -573,6 +573,10 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
573
573
  }, searchEnabled: false, className: "flex-1", isIcon: true })] }) }), getColumnData(((_61 = headerColumns.find((column) => column.key === _groupBy)) === null || _61 === void 0 ? void 0 : _61.key) || "", gridData, (_63 = (_62 = headerColumns.find((column) => column.key === _groupBy)) === null || _62 === void 0 ? void 0 : _62.dataType) !== null && _63 !== void 0 ? _63 : "string", combinedColumns !== null && combinedColumns !== void 0 ? combinedColumns : []).length > 0 &&
574
574
  (((_65 = searchQueries[((_64 = headerColumns.find((column) => column.key === _groupBy)) === null || _64 === void 0 ? void 0 : _64.key) || ""]) === null || _65 === void 0 ? void 0 : _65.text) ||
575
575
  "") && (_jsx("div", { style: {
576
+ position: "absolute",
577
+ top: "calc(100% + 0.25rem)",
578
+ left: 0,
579
+ background: "var(--card-bg)",
576
580
  width: "100%",
577
581
  maxHeight: 300,
578
582
  overflow: "auto",
@@ -832,7 +836,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
832
836
  : "var(--disabled-bg)",
833
837
  }, value: ((_t = searchQueries[column.key]) === null || _t === void 0 ? void 0 : _t.text) ||
834
838
  "", disabled: !column.search, height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "var(--background)" }) }))) ||
835
- null })))] })) })] }), search && columnSearchOutside && (_jsxs("div", { children: [_jsx("div", { style: {
839
+ null })))] })) })] }), search && columnSearchOutside && (_jsxs("div", { style: { position: "relative" }, children: [_jsx("div", { style: {
836
840
  marginTop: "0.5rem",
837
841
  pointerEvents: search && column.search ? "auto" : "none",
838
842
  cursor: search && column.search
@@ -886,6 +890,10 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
886
890
  "contains";
887
891
  })) === null || _w === void 0 ? void 0 : _w.label) !== null && _x !== void 0 ? _x : "", withValue: true, searchEnabled: false, className: "flex-1", isIcon: true })] }) }), columnData.length > 0 &&
888
892
  activeSearchColumn === ((column === null || column === void 0 ? void 0 : column.key) || "") && (_jsxs("div", { style: {
893
+ position: "absolute",
894
+ top: "calc(100% + 0.25rem)",
895
+ left: 0,
896
+ background: "var(--card-bg)",
889
897
  width: "100%",
890
898
  maxHeight: 300,
891
899
  overflow: "auto",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.73",
3
+ "version": "1.3.75",
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",