@megha-ui/react 1.2.567 → 1.2.569
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.
|
@@ -157,7 +157,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
|
|
|
157
157
|
.toString()
|
|
158
158
|
.split(">>")
|
|
159
159
|
.slice(0, 3)
|
|
160
|
-
.map((item, index) => (_jsx("div", { className: "flex-grow-0 flex-shrink-0 rounded-
|
|
160
|
+
.map((item, index) => (_jsx("div", { className: "flex-grow-0 flex-shrink-0 rounded-full", style: {
|
|
161
161
|
background: "var(--standard)",
|
|
162
162
|
color: "var(--foreground)",
|
|
163
163
|
border: "1px solid var(--standard)",
|
|
@@ -176,12 +176,14 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
|
|
|
176
176
|
.toString()
|
|
177
177
|
.split(">>")
|
|
178
178
|
.map((item) => `<div>${item}</div>`)
|
|
179
|
-
.join("")}</div>`, children: ["Multiple", " ", `(${cellData.value.toString().split(">>").length})`] }), _jsx(Tooltip, { className: "custom-tooltip", id: (_d = item.id.value.toString()) !== null && _d !== void 0 ? _d : colIndex.toString(), place: "top" })] })) })) : (_jsx("span", { children: cellData.value })) })) : column.isArrayString ? (_jsx("span", { style:
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
179
|
+
.join("")}</div>`, children: ["Multiple", " ", `(${cellData.value.toString().split(">>").length})`] }), _jsx(Tooltip, { className: "custom-tooltip", id: (_d = item.id.value.toString()) !== null && _d !== void 0 ? _d : colIndex.toString(), place: "top" })] })) })) : (_jsx("span", { children: cellData.value })) })) : column.isArrayString ? (_jsx("span", { className: "flex-grow-0 flex-shrink-0 rounded-full", style: (cellData === null || cellData === void 0 ? void 0 : cellData.value)
|
|
180
|
+
? {
|
|
181
|
+
background: "var(--standard)",
|
|
182
|
+
color: "var(--foreground)",
|
|
183
|
+
border: "1px solid var(--standard)",
|
|
184
|
+
padding: "0.25rem 0.5rem",
|
|
185
|
+
}
|
|
186
|
+
: {}, children: (_e = cellData === null || cellData === void 0 ? void 0 : cellData.value) !== null && _e !== void 0 ? _e : "" })) : cellData && Object.keys(cellData).includes("html") ? (cellData === null || cellData === void 0 ? void 0 : cellData.html) : cellData && Object.keys(cellData).includes("value") ? (formatValue(cellData === null || cellData === void 0 ? void 0 : cellData.value, (_f = column.dataType) !== null && _f !== void 0 ? _f : "string", locale, formatOptions)) : cellData ? (cellData) : ("");
|
|
185
187
|
const cellUrl = cellData === null || cellData === void 0 ? void 0 : cellData.url;
|
|
186
188
|
const isHidden = column.overflowHidden;
|
|
187
189
|
if (!column.hidden && !groupByKeys.includes(column.key)) {
|
package/package.json
CHANGED