@megha-ui/react 1.3.12 → 1.3.14
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.
|
@@ -20,14 +20,13 @@ import { usePagination } from "./hooks/usePagination";
|
|
|
20
20
|
import { useBulkSelect } from "./hooks/useBulkSelect";
|
|
21
21
|
import { createRegexFromWildcard, isValidDateFormat } from "./utils/regexUtils";
|
|
22
22
|
import { FiEye, FiShare, FiChevronsLeft, FiChevronsRight, } from "react-icons/fi";
|
|
23
|
-
import { MdFilterAltOff, MdGroupOff, MdSave } from "react-icons/md";
|
|
23
|
+
import { MdFilterAltOff, MdGroupOff, MdSave, MdLayers, MdLayersClear, } from "react-icons/md";
|
|
24
24
|
import GlobalSearchChiProps from "./utils/globalSearchChips";
|
|
25
25
|
import { MdFullscreen, MdFullscreenExit } from "react-icons/md";
|
|
26
26
|
import Dropdown from "../dropdown";
|
|
27
27
|
import Button from "../button";
|
|
28
28
|
import Card from "../card";
|
|
29
29
|
import { TbAntennaBarsOff, TbCalculator, TbCalculatorFilled, TbCalculatorOff, } from "react-icons/tb";
|
|
30
|
-
import { TbCopy, TbCopyOff } from "react-icons/tb";
|
|
31
30
|
import { formatValue } from "../../services/commonService";
|
|
32
31
|
import NewGridHeader from "./utils/newGridHeader";
|
|
33
32
|
import NewGridRow from "./utils/newGridRow";
|
|
@@ -912,7 +911,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
912
911
|
};
|
|
913
912
|
const cellStyle = cellBorder ? { border: "1px solid #d9d9d9" } : {};
|
|
914
913
|
const rowStyle = {
|
|
915
|
-
|
|
914
|
+
minHeight: rowHeight,
|
|
916
915
|
alignItems: "center",
|
|
917
916
|
borderTop: rowTopBorder,
|
|
918
917
|
borderLeft: rowLeftBorder,
|
|
@@ -1448,7 +1447,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1448
1447
|
}), _jsx("div", { className: "flex-1 h-2" }), isSummarise && (_jsx("div", { onClick: () => setSummariseAvailable((prev) => !prev), style: {
|
|
1449
1448
|
cursor: "pointer",
|
|
1450
1449
|
marginLeft: "0.75rem",
|
|
1451
|
-
}, children: SummariseIcon ? (SummariseIcon) : summariseAvailable ? (_jsx(TbCalculatorFilled, { color: summarizeColor, size: 18 })) : (_jsx(TbCalculator, { size: 18 })) })), showHideAvailable && (_jsx("div", { onClick: openSetting, style: { cursor: "pointer", marginLeft: "0.75rem" }, children: SettingIcon ? SettingIcon : _jsx(FiEye, { size: 18 }) })), exportAvailable && (_jsx("div", { onClick: handleExport, style: { cursor: "pointer", marginLeft: "0.75rem" }, children: ExportIcon ? ExportIcon : _jsx(FiShare, { size: 16 }) })), _jsx("div", { onClick: () => setHideDuplicates((prev) => !prev), style: { cursor: "pointer", marginLeft: "0.75rem" }, title: hideDuplicates ? "Show Duplicates" : "Hide Duplicates", children: hideDuplicates ? _jsx(
|
|
1450
|
+
}, children: SummariseIcon ? (SummariseIcon) : summariseAvailable ? (_jsx(TbCalculatorFilled, { color: summarizeColor, size: 18 })) : (_jsx(TbCalculator, { size: 18 })) })), showHideAvailable && (_jsx("div", { onClick: openSetting, style: { cursor: "pointer", marginLeft: "0.75rem" }, children: SettingIcon ? SettingIcon : _jsx(FiEye, { size: 18 }) })), exportAvailable && (_jsx("div", { onClick: handleExport, style: { cursor: "pointer", marginLeft: "0.75rem" }, children: ExportIcon ? ExportIcon : _jsx(FiShare, { size: 16 }) })), _jsx("div", { onClick: () => setHideDuplicates((prev) => !prev), style: { cursor: "pointer", marginLeft: "0.75rem" }, title: hideDuplicates ? "Show Duplicates" : "Hide Duplicates", children: hideDuplicates ? (_jsx(MdLayers, { size: 18 })) : (_jsx(MdLayersClear, { size: 18 })) }), fullScreen && (_jsx("div", { onClick: toggleFullScreen, style: { cursor: "pointer", marginLeft: "0.75rem" }, children: isFullScreen ? (_jsx(MdFullscreenExit, { size: 20 })) : (_jsx(MdFullscreen, { size: 20 })) })), freezeColumnsAvailable && (_jsx("div", { onClick: toggleCollapse, style: { cursor: "pointer", marginLeft: "0.75rem" }, children: isCollapsed ? (_jsx(FiChevronsRight, { size: 20 })) : (_jsx(FiChevronsLeft, { size: 20 })) })), (filterDetails.filtersUpdated ||
|
|
1452
1451
|
sortDetails.sortUpdated ||
|
|
1453
1452
|
summarise.summariseUpdated ||
|
|
1454
1453
|
gridGroupBy !== (groupBy || "")) &&
|
package/package.json
CHANGED