@sphereon/ui-components.ssi-react 0.4.1-unstable.38 → 0.4.1-unstable.39

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.
@@ -2,7 +2,7 @@ import { FC } from 'react';
2
2
  import { RoleType } from '@sphereon/ui-components.core';
3
3
  type Props = {
4
4
  role: RoleType;
5
- accountName: string;
5
+ accountName?: string;
6
6
  };
7
7
  declare const RoleViewItem: FC<Props>;
8
8
  export default RoleViewItem;
@@ -19,16 +19,16 @@ const RoleViewItem = (props) => {
19
19
  flex-col
20
20
  flex-grow
21
21
  gap-[var(--spacing-0_5)]
22
- items-start
23
- `, children: [_jsx("div", { className: `
24
- font-1
25
- text-left
26
- pr-[var(--spacing-4)]
27
- break-words
28
- text-[var(--color-grey-600)]
29
- `, children: accountName }), _jsx("div", { className: `
22
+ ${accountName ? 'items-start' : 'items-start justify-center'}
23
+ `, children: [accountName && (_jsx("div", { className: `
24
+ font-1
25
+ text-left
26
+ pr-[var(--spacing-4)]
27
+ break-words
28
+ text-[var(--color-grey-600)]
29
+ `, children: accountName })), _jsx("div", { className: `
30
30
  font-2
31
- mt-auto
31
+ ${accountName ? 'mt-auto' : ''}
32
32
  text-[var(--color-grey-900)]
33
33
  `, children: formatRole(role) })] })] }));
34
34
  };
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.4.1-unstable.38+cc5eecc",
4
+ "version": "0.4.1-unstable.39+992ac7b",
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>",
@@ -50,7 +50,7 @@
50
50
  "@mui/x-date-pickers": "^6.19.5",
51
51
  "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.45.94",
52
52
  "@sphereon/ssi-types": "0.34.1-feature.SSISDK.45.94",
53
- "@sphereon/ui-components.core": "0.4.1-unstable.38+cc5eecc",
53
+ "@sphereon/ui-components.core": "0.4.1-unstable.39+992ac7b",
54
54
  "@tanstack/react-table": "^8.9.3",
55
55
  "react-json-tree": "^0.18.0",
56
56
  "react-loader-spinner": "5.4.5",
@@ -69,5 +69,5 @@
69
69
  "peerDependencies": {
70
70
  "react": ">= 18"
71
71
  },
72
- "gitHead": "cc5eeccc4af605ebef6d9f036065d57ece3e03ae"
72
+ "gitHead": "992ac7b4221105aaa590472befad767fbe82cc53"
73
73
  }