@megha-ui/react 1.2.552 → 1.2.554

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.
@@ -74,7 +74,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
74
74
  if (height) {
75
75
  const availableHeight = height - 50;
76
76
  const styles = currentTooltip.getAttribute("style");
77
- console.log(currentTooltip.getBoundingClientRect());
77
+ console.log(currentTooltip, currentTooltip.getBoundingClientRect());
78
78
  currentTooltip.setAttribute("style", `${styles} height: max-content; max-height: ${availableHeight}px; overflow: hidden auto;`);
79
79
  }
80
80
  }
@@ -176,12 +176,12 @@ 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(_Fragment, { children: column.isArrayString ? (_jsx("span", { style: {
180
- background: "var(--standard)",
181
- color: "var(--foreground)",
182
- border: "1px solid var(--standard)",
183
- padding: "0.25rem 0.5rem",
184
- }, children: cellData.value })) : (_jsx("span", { children: cellData.value })) })) })) : 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, (_e = column.dataType) !== null && _e !== void 0 ? _e : "string", locale, formatOptions)) : cellData ? (cellData) : ("");
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
+ background: "var(--standard)",
181
+ color: "var(--foreground)",
182
+ border: "1px solid var(--standard)",
183
+ padding: "0.25rem 0.5rem",
184
+ }, children: cellData.value })) : 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, (_e = column.dataType) !== null && _e !== void 0 ? _e : "string", locale, formatOptions)) : cellData ? (cellData) : ("");
185
185
  const cellUrl = cellData === null || cellData === void 0 ? void 0 : cellData.url;
186
186
  const isHidden = column.overflowHidden;
187
187
  if (!column.hidden && !groupByKeys.includes(column.key)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.552",
3
+ "version": "1.2.554",
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",