@sphereon/ui-components.ssi-react 0.1.3-unstable.88 → 0.1.3-unstable.94

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.
@@ -29,6 +29,9 @@ const getCellFormatting = (type, value, opts) => {
29
29
  case TableCellType.STATUS: {
30
30
  return _jsx(SSIStatusLabel, { status: value });
31
31
  }
32
+ case TableCellType.REACT_ELEMENT: {
33
+ return value;
34
+ }
32
35
  default:
33
36
  return _jsx("div", {});
34
37
  }
@@ -2,7 +2,8 @@ import { AccessorFn, DeepKeys } from '@tanstack/react-table';
2
2
  export declare enum TableCellType {
3
3
  TEXT = "text",
4
4
  LABEL = "label",
5
- STATUS = "status"
5
+ STATUS = "status",
6
+ REACT_ELEMENT = "reactElement"
6
7
  }
7
8
  export type ColumnHeader<T> = {
8
9
  accessor: AccessorFn<T> | DeepKeys<T>;
@@ -3,4 +3,5 @@ export var TableCellType;
3
3
  TableCellType["TEXT"] = "text";
4
4
  TableCellType["LABEL"] = "label";
5
5
  TableCellType["STATUS"] = "status";
6
+ TableCellType["REACT_ELEMENT"] = "reactElement";
6
7
  })(TableCellType || (TableCellType = {}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.ssi-react",
3
3
  "private": false,
4
- "version": "0.1.3-unstable.88+92d8e95",
4
+ "version": "0.1.3-unstable.94+aebd863",
5
5
  "description": "SSI UI components for React",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@sphereon/ui-components.core": "0.1.3-unstable.88+92d8e95",
31
+ "@sphereon/ui-components.core": "0.1.3-unstable.94+aebd863",
32
32
  "@tanstack/react-table": "^8.9.3",
33
33
  "react-loader-spinner": "^5.4.5",
34
34
  "react-toastify": "^9.1.3",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "react": ">= 16.8.0"
44
44
  },
45
- "gitHead": "92d8e95292119f0430bb734eb343d8cdd01643be"
45
+ "gitHead": "aebd8630a5a3dc51cd3381cee8b64b9147845aae"
46
46
  }