@megha-ui/react 1.3.65 → 1.3.67
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.
|
@@ -527,7 +527,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
527
527
|
var _a, _b, _c;
|
|
528
528
|
const value = ((_a = selected[0]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
529
529
|
handleSearchOptionSelect((_c = (_b = headerColumns.find((column) => column.key === _groupBy)) === null || _b === void 0 ? void 0 : _b.key) !== null && _c !== void 0 ? _c : "", value);
|
|
530
|
-
}, searchEnabled: false, className: "flex-1" })] }) }))] }, (_59 = headerColumns.find((column) => column.key === _groupBy)) === null || _59 === void 0 ? void 0 : _59.key)) }));
|
|
530
|
+
}, searchEnabled: false, className: "flex-1", isIcon: true })] }) }))] }, (_59 = headerColumns.find((column) => column.key === _groupBy)) === null || _59 === void 0 ? void 0 : _59.key)) }));
|
|
531
531
|
}), headerColumns
|
|
532
532
|
.filter((column) => !groupByKeys.includes(column.key))
|
|
533
533
|
.map((column, colIndex) => {
|
|
@@ -754,11 +754,6 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
754
754
|
"", disabled: !column.search, height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "var(--background)" }) }))) ||
|
|
755
755
|
null })))] })) })] }), search && columnSearchOutside && (_jsx("div", { style: {
|
|
756
756
|
marginTop: "0.5rem",
|
|
757
|
-
width: (hugColumnWidths === null || hugColumnWidths === void 0 ? void 0 : hugColumnWidths[`column-${column.key}`]) ||
|
|
758
|
-
widthMode === "auto" ||
|
|
759
|
-
column.width
|
|
760
|
-
? "100%"
|
|
761
|
-
: "100px",
|
|
762
757
|
pointerEvents: search && column.search ? "auto" : "none",
|
|
763
758
|
cursor: search && column.search ? "default" : "not-allowed",
|
|
764
759
|
}, children: _jsxs("div", { style: {
|
|
@@ -793,7 +788,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
793
788
|
var _a;
|
|
794
789
|
const value = ((_a = selected[0]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
795
790
|
handleSearchOptionSelect(column.key, value);
|
|
796
|
-
}, searchEnabled: false, className: "flex-1" })] }) }))] })) }, column.key));
|
|
791
|
+
}, searchEnabled: false, className: "flex-1", isIcon: true })] }) }))] })) }, column.key));
|
|
797
792
|
}
|
|
798
793
|
return null;
|
|
799
794
|
})] }));
|
package/package.json
CHANGED