@megha-ui/react 1.2.92 → 1.2.93

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.
@@ -8,6 +8,7 @@ const react_1 = require("react");
8
8
  const shimmer_1 = __importDefault(require("./shimmer"));
9
9
  const checkbox_1 = __importDefault(require("../../checkbox"));
10
10
  const commonService_1 = require("../../../services/commonService");
11
+ const md_1 = require("react-icons/md");
11
12
  const isUrl = (value) => {
12
13
  if (value) {
13
14
  const urlPattern = new RegExp("^(https?:\\/\\/)?" +
@@ -151,8 +152,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
151
152
  ? "var(--row-bg)"
152
153
  : "var(--row-bg-even)" }), children: [draggable && colIndex === draggableIndex && ((0, jsx_runtime_1.jsx)("div", { onDragStart: (e) => handleDragStart && handleDragStart(e, index), style: {
153
154
  cursor: "grab",
154
- margin: "0 0.25rem",
155
- }, children: "\u2630" })), loading ? ((0, jsx_runtime_1.jsx)("div", { style: { width: column.width, height: rowHeight }, children: (0, jsx_runtime_1.jsx)(shimmer_1.default, { height: 32, width: column.width }) })) : ((0, jsx_runtime_1.jsx)("div", { className: (cellData === null || cellData === void 0 ? void 0 : cellData.className) || "", style: {
155
+ }, children: (0, jsx_runtime_1.jsx)(md_1.MdDragIndicator, { size: "1.25rem" }) })), loading ? ((0, jsx_runtime_1.jsx)("div", { style: { width: column.width, height: rowHeight }, children: (0, jsx_runtime_1.jsx)(shimmer_1.default, { height: 32, width: column.width }) })) : ((0, jsx_runtime_1.jsx)("div", { className: (cellData === null || cellData === void 0 ? void 0 : cellData.className) || "", style: {
156
156
  display: "flex",
157
157
  alignItems: "center", // Vertically center content within the cell
158
158
  width: "100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
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.mjs",