@megha-ui/react 1.3.20 → 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,11 +190,11 @@ 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), children: [draggable && colIndex === draggableIndex && (_jsx("div", { draggable: draggable, onDragStart: (e) => {
193
+ : "var(--row-bg-even)" }), onClick: () => handleRowClick(column), draggable: draggable, onDragEnd: () => setIsDragging(false), children: [draggable && colIndex === draggableIndex && (_jsx("div", { style: {
194
+ cursor: "grab",
195
+ }, onDragStart: (e) => {
194
196
  handleDragStart && handleDragStart(e, index);
195
197
  setIsDragging(true);
196
- }, onDragEnd: () => setIsDragging(false), style: {
197
- cursor: "grab",
198
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.20",
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",