@megha-ui/react 1.2.605 → 1.2.608
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.
|
@@ -1374,7 +1374,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1374
1374
|
cursor: "pointer",
|
|
1375
1375
|
marginLeft: "0.75rem",
|
|
1376
1376
|
color: "var(--clear-color)",
|
|
1377
|
-
}, children: _jsx(TbCalculatorOff, {}) })), fixedColumns.map((column) => {
|
|
1377
|
+
}, children: _jsx(TbCalculatorOff, {}) })), fixedColumns.length < 1 && _jsx("div", { className: "flex-1 h-2" }), fixedColumns.map((column) => {
|
|
1378
1378
|
const selectedValues = fixedFilterValues[column.key]
|
|
1379
1379
|
? fixedFilterValues[column.key].map((item) => item.toString())
|
|
1380
1380
|
: [];
|
|
@@ -1399,7 +1399,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1399
1399
|
options = [...new Set(options)];
|
|
1400
1400
|
if (!column.hidden) {
|
|
1401
1401
|
return (_jsx("div", { style: {
|
|
1402
|
-
width: "18rem",
|
|
1403
1402
|
marginLeft: "0.75rem",
|
|
1404
1403
|
}, children: _jsx(Dropdown, { options: options.map((option) => ({
|
|
1405
1404
|
label: option,
|
|
@@ -1426,7 +1425,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1426
1425
|
updateFixedFilterValues(updatedValues);
|
|
1427
1426
|
}
|
|
1428
1427
|
}
|
|
1429
|
-
: undefined, isSort: column.fixedFilterOrder ? false : undefined, isClear: true, searchEnabled: true, dropdownListWidth: "max-content", className: "h-8 flex-1", isMultiple: column.fixedFilter === "multi-select" }) }, column.key));
|
|
1428
|
+
: undefined, style: { width: "10rem" }, isSort: column.fixedFilterOrder ? false : undefined, isClear: true, searchEnabled: true, dropdownListWidth: "max-content", className: "h-8 flex-1", isMultiple: column.fixedFilter === "multi-select" }) }, column.key));
|
|
1430
1429
|
}
|
|
1431
1430
|
return null;
|
|
1432
1431
|
}), isSummarise && (_jsx("div", { onClick: () => setSummariseAvailable((prev) => !prev), style: {
|
package/package.json
CHANGED