@megha-ui/react 1.2.731 → 1.2.735

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.
@@ -728,7 +728,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
728
728
  const splits = cellValue.split(">>");
729
729
  splits.forEach((split) => {
730
730
  var _a;
731
- modifiedRecords.push(Object.assign(Object.assign({}, row), { id: Object.assign(Object.assign({}, row.id), { value: `${(_a = row.id) === null || _a === void 0 ? void 0 : _a.value}-${split}` }), [col.key]: Object.assign(Object.assign({}, row[col.key]), { value: split.trim() }) }));
731
+ modifiedRecords.push(Object.assign(Object.assign({}, row), { id: Object.assign(Object.assign({}, row.id), { value: `${(_a = row.id) === null || _a === void 0 ? void 0 : _a.value}>>${split}` }), [col.key]: Object.assign(Object.assign({}, row[col.key]), { value: split.trim() }) }));
732
732
  });
733
733
  });
734
734
  });
@@ -156,12 +156,15 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
156
156
  .toString()
157
157
  .split(">>")
158
158
  .slice(0, 3)
159
- .map((item, index) => (_jsx("div", { className: "flex-grow-0 flex-shrink-0 rounded-full", style: {
160
- background: "var(--standard)",
161
- color: "var(--foreground)",
162
- border: "1px solid var(--standard)",
163
- padding: "0.25rem 0.5rem",
164
- }, children: item }))), cellData.value.toString().split(">>").slice(3).length >
159
+ .map((item, index) => (_jsx("div", { className: "flex-grow-0 flex-shrink-0 rounded-full", style: cellData.value.toString().split(">>").slice(0, 3)
160
+ .length > 1
161
+ ? {
162
+ background: "var(--standard)",
163
+ color: "var(--foreground)",
164
+ border: "1px solid var(--standard)",
165
+ padding: "0.25rem 0.5rem",
166
+ }
167
+ : {}, children: item }))), cellData.value.toString().split(">>").slice(3).length >
165
168
  0 && (_jsxs("div", { className: "flex-grow-0 flex-shrink-0", "data-tooltip-id": (_a = item.id.value.toString()) !== null && _a !== void 0 ? _a : colIndex.toString(), "data-tooltip-html": `<div class="flex flex-col">${cellData.value
166
169
  .toString()
167
170
  .split(">>")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.731",
3
+ "version": "1.2.735",
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",