@megha-ui/react 1.2.92 → 1.2.94
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.
|
@@ -289,7 +289,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
289
289
|
return text;
|
|
290
290
|
};
|
|
291
291
|
return ((0, jsx_runtime_1.jsxs)("div", { style: {
|
|
292
|
-
width:
|
|
292
|
+
width: "100%",
|
|
293
293
|
marginBottom,
|
|
294
294
|
marginTop,
|
|
295
295
|
marginRight,
|
|
@@ -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
|
-
|
|
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