@megha-ui/react 1.2.733 → 1.2.737

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
  });
@@ -26,6 +26,7 @@ export interface Column {
26
26
  renderer?: (item: any) => JSX.Element;
27
27
  isArrayString?: boolean;
28
28
  splitRow?: boolean;
29
+ isFallBack?: boolean;
29
30
  }
30
31
  export interface DataRow {
31
32
  [key: string]: {
@@ -534,7 +534,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
534
534
  }, onClick: () => column.sortable && onSort(column), children: [_jsxs("div", { style: {
535
535
  display: "flex",
536
536
  alignItems: "center",
537
- }, children: [_jsx("span", { children: column.label }), sortable && column.sortable && (_jsx("span", { style: {
537
+ }, children: [_jsx("span", { className: column.isFallBack ? "asterik" : "", children: column.label }), sortable && column.sortable && (_jsx("span", { style: {
538
538
  visibility: Object.keys(sortQueries).includes(column.key)
539
539
  ? "visible"
540
540
  : "hidden",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.733",
3
+ "version": "1.2.737",
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",