@megha-ui/react 1.3.63 → 1.3.64
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.
|
@@ -495,7 +495,6 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
495
495
|
}, children: _jsxs("div", { style: {
|
|
496
496
|
display: "flex",
|
|
497
497
|
alignItems: "center",
|
|
498
|
-
gap: "0.5rem",
|
|
499
498
|
}, children: [_jsx(TextInput, { onChange: (e) => {
|
|
500
499
|
var _a, _b, _c;
|
|
501
500
|
let searchType = ((_b = searchQueries[((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.key) || ""]) === null || _b === void 0 ? void 0 : _b.type) ||
|
|
@@ -528,7 +527,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
528
527
|
var _a, _b, _c;
|
|
529
528
|
const value = ((_a = selected[0]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
530
529
|
handleSearchOptionSelect((_c = (_b = headerColumns.find((column) => column.key === _groupBy)) === null || _b === void 0 ? void 0 : _b.key) !== null && _c !== void 0 ? _c : "", value);
|
|
531
|
-
}, searchEnabled: false,
|
|
530
|
+
}, searchEnabled: false, className: "flex-1" })] }) }))] }, (_59 = headerColumns.find((column) => column.key === _groupBy)) === null || _59 === void 0 ? void 0 : _59.key)) }));
|
|
532
531
|
}), headerColumns
|
|
533
532
|
.filter((column) => !groupByKeys.includes(column.key))
|
|
534
533
|
.map((column, colIndex) => {
|
|
@@ -765,7 +764,6 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
765
764
|
}, children: _jsxs("div", { style: {
|
|
766
765
|
display: "flex",
|
|
767
766
|
alignItems: "center",
|
|
768
|
-
gap: "0.5rem",
|
|
769
767
|
}, children: [_jsx(TextInput, { onChange: (e) => {
|
|
770
768
|
var _a;
|
|
771
769
|
let searchType = ((_a = searchQueries[column.key]) === null || _a === void 0 ? void 0 : _a.type) ||
|
|
@@ -795,7 +793,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
795
793
|
var _a;
|
|
796
794
|
const value = ((_a = selected[0]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
797
795
|
handleSearchOptionSelect(column.key, value);
|
|
798
|
-
}, searchEnabled: false,
|
|
796
|
+
}, searchEnabled: false, className: "flex-1" })] }) }))] })) }, column.key));
|
|
799
797
|
}
|
|
800
798
|
return null;
|
|
801
799
|
})] }));
|
package/package.json
CHANGED