@megha-ui/react 1.3.22 → 1.3.23

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.
@@ -190,12 +190,12 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
190
190
  ? `1px solid ${hlBorderColor}`
191
191
  : "", backgroundColor: alternateRowColor && (index + 1) % 2 === 0
192
192
  ? "var(--row-bg)"
193
- : "var(--row-bg-even)" }), onClick: () => handleRowClick(column), draggable: draggable, onDragStart: (e) => {
194
- handleDragStart && handleDragStart(e, index);
195
- setIsDragging(true);
196
- }, onDragEnd: () => setIsDragging(false), children: [draggable && colIndex === draggableIndex && (_jsx("div", { style: {
193
+ : "var(--row-bg-even)" }), onClick: () => handleRowClick(column), draggable: draggable, onDragEnd: () => setIsDragging(false), children: [draggable && colIndex === draggableIndex && (_jsx("div", { style: {
197
194
  cursor: "grab",
198
- }, onDragStart: (e) => handleDragStart && handleDragStart(e, index), children: _jsx(MdDragIndicator, { size: "1.25rem" }) })), loading ? (_jsx("div", { style: { height: rowHeight }, children: _jsx(Shimmer, { height: 32, width: column.width }) })) : (_jsx("div", { className: (cellData === null || cellData === void 0 ? void 0 : cellData.className) || "", style: {
195
+ }, onDragStart: (e) => {
196
+ handleDragStart && handleDragStart(e, index);
197
+ setIsDragging(true);
198
+ }, children: _jsx(MdDragIndicator, { size: "1.25rem" }) })), loading ? (_jsx("div", { style: { height: rowHeight }, children: _jsx(Shimmer, { height: 32, width: column.width }) })) : (_jsx("div", { className: (cellData === null || cellData === void 0 ? void 0 : cellData.className) || "", style: {
199
199
  display: "flex",
200
200
  alignItems: "center", // Vertically center content within the cell
201
201
  width: "100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.22",
3
+ "version": "1.3.23",
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",