@megha-ui/react 1.3.138 → 1.3.140

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.
@@ -463,6 +463,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
463
463
  }, children: _jsxs("div", { style: {
464
464
  display: "flex",
465
465
  alignItems: "center",
466
+ flex: 1,
466
467
  }, children: [_jsx(TextInput, { onFocus: () => {
467
468
  var _a;
468
469
  return setActiveSearchColumn(((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.key) || "");
@@ -579,6 +580,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
579
580
  }, children: _jsxs("div", { style: {
580
581
  display: "flex",
581
582
  alignItems: "center",
583
+ flex: 1,
582
584
  }, children: [_jsx(TextInput, { onFocus: () => {
583
585
  var _a;
584
586
  return setActiveSearchColumn(((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.key) || "");
@@ -695,6 +697,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
695
697
  }, children: _jsxs("div", { style: {
696
698
  display: "flex",
697
699
  alignItems: "center",
700
+ flex: 1,
698
701
  }, children: [_jsx(TextInput, { onFocus: () => {
699
702
  var _a;
700
703
  return setActiveSearchColumn(((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.key) || "");
@@ -1006,6 +1009,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
1006
1009
  }, children: _jsxs("div", { style: {
1007
1010
  display: "flex",
1008
1011
  alignItems: "center",
1012
+ flex: 1,
1009
1013
  }, children: [_jsx(TextInput, { onFocus: () => setActiveSearchColumn(column.key), onChange: (e) => handleSearchInputChange(e, column.key), onBlur: (e) => handleSearchInputBlur(e, (column === null || column === void 0 ? void 0 : column.key) || ""), placeholder: "Search", extraWrapperStyle: {
1010
1014
  background: column.search
1011
1015
  ? "var(--background)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.138",
3
+ "version": "1.3.140",
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",