@megha-ui/react 1.2.735 → 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.
@@ -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.735",
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",