@megha-ui/react 1.2.483 → 1.2.485

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.
@@ -132,7 +132,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
132
132
  .split(">>")
133
133
  .map((item) => `<div>${item}</div>`)
134
134
  .join("")}</div>`, children: cellData.value.toString().split(">>").length > 1 ? (_jsx(_Fragment, { children: column.isArrayString ?
135
- _jsx("div", { className: "flex items-center", children: cellData.value.toString().split(">>").map(item => (_jsx("div", { className: "text-[var(--foreground)] rounded-lg bg-[var(--brand)]", children: item }))) })
135
+ _jsx("div", { className: "flex items-center", children: cellData.value.toString().split(">>").map(item => (_jsx("div", { className: "flex-grow-0 flex-shrink-0 rounded-lg", style: { background: "var(--brand)", color: "#fff", padding: "0.25rem 0.5rem" }, children: item }))) })
136
136
  :
137
137
  _jsxs(_Fragment, { children: [_jsxs("span", { children: ["Multiple ", `(${cellData.value.toString().split(">>").length})`] }), _jsx(Tooltip, { className: "custom-tooltip", id: (_b = item.id.value.toString()) !== null && _b !== void 0 ? _b : colIndex.toString(), place: "top" })] }) })) : (_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, (_c = column.dataType) !== null && _c !== void 0 ? _c : "string", locale, formatOptions)) : cellData ? (cellData) : ("");
138
138
  const cellUrl = cellData === null || cellData === void 0 ? void 0 : cellData.url;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.483",
3
+ "version": "1.2.485",
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",