@megha-ui/react 1.3.125 → 1.3.127

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.
@@ -408,6 +408,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
408
408
  display: "flex",
409
409
  alignItems: "center",
410
410
  padding: "0 0.3rem",
411
+ justifyContent: "space-between",
411
412
  cursor: ((_d = headerColumns.find((column) => column.key === _groupBy)) === null || _d === void 0 ? void 0 : _d.sortable)
412
413
  ? "pointer"
413
414
  : "",
@@ -804,6 +805,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
804
805
  : (column === null || column === void 0 ? void 0 : column.dataType) === "date"
805
806
  ? dateTypeSearch.includes(item.value)
806
807
  : textTypeSearch.includes(item.value));
808
+ console.log({ column, search });
807
809
  return (_jsx("div", { className: `${sortable && column.sortable ? "sortable" : ""} ${column.showMenu ? "menu-true" : "menu-false"} column index-${column.key}`, style: Object.assign(Object.assign({}, cellStyle), { padding: "0.5rem", textAlign: "left", whiteSpace: "nowrap", textOverflow: "ellipsis", wordBreak: widthMode === "auto" ? "break-all" : "unset", backgroundColor: "var(--row-header-bg)", borderTop: headerTopBorder, borderBottom: headerBottomBorder, flex: widthMode === "auto" ? 1 : undefined, flexGrow: widthMode === "auto" ? 1 : 0, flexShrink: widthMode === "auto" ? 1 : 0, position: "sticky", top: 0, zIndex: 1 }), onMouseMove: (e) => handleMouseMove(e), onMouseUp: handleMouseUp, onMouseLeave: handleMouseUp, children: !actionsKey.split(",").includes(column.key) && (_jsxs(_Fragment, { children: [resizable && (_jsx("div", { style: {
808
810
  position: "absolute",
809
811
  width: "1px",
@@ -816,6 +818,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
816
818
  display: "flex",
817
819
  alignItems: "center",
818
820
  padding: "0 0.25rem",
821
+ justifyContent: "space-between",
819
822
  cursor: column.sortable ? "pointer" : "",
820
823
  }, onClick: () => column.sortable && onSort(column), children: [_jsxs("div", { style: {
821
824
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.125",
3
+ "version": "1.3.127",
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",