@sphereon/ui-components.credential-branding 0.3.1-next.22 → 0.3.1-next.23

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.
@@ -234,7 +234,7 @@ var getCredentialDisplayName = function (_a) {
234
234
  var _b, _c;
235
235
  var verifiableCredential = _a.verifiableCredential, localeBranding = _a.localeBranding;
236
236
  var title = (_c = (_b = localeBranding === null || localeBranding === void 0 ? void 0 : localeBranding.alias) !== null && _b !== void 0 ? _b : verifiableCredential.name) !== null && _c !== void 0 ? _c : (!verifiableCredential.type ? 'unknown' : undefined);
237
- if (!title && verifiableCredential.type) {
237
+ if (verifiableCredential.type) {
238
238
  var types = (0, utils_1.asArray)(verifiableCredential.type).filter(function (val) { return val !== 'VerifiableCredential'; });
239
239
  if (types.length === 1) {
240
240
  title = types[0];
@@ -28,6 +28,7 @@ export type CredentialDetailsRow = {
28
28
  isEditable?: boolean;
29
29
  status?: LabelStatus;
30
30
  imageSize?: ImageSize;
31
+ onPress?: () => Promise<void>;
31
32
  };
32
33
  export type LabelStatus = CredentialStatus | IssuerStatus;
33
34
  export interface ISelectAppLocaleBrandingArgs {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.credential-branding",
3
3
  "private": false,
4
- "version": "0.3.1-next.22+1e546b3",
4
+ "version": "0.3.1-next.23+ef3d35e",
5
5
  "description": "SSI UI components credential branding",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -31,7 +31,7 @@
31
31
  "@sphereon/ssi-sdk.core": "0.29.0",
32
32
  "@sphereon/ssi-sdk.data-store": "0.29.0",
33
33
  "@sphereon/ssi-types": "0.29.0",
34
- "@sphereon/ui-components.core": "0.3.1-next.22+1e546b3",
34
+ "@sphereon/ui-components.core": "0.3.1-next.23+ef3d35e",
35
35
  "@veramo/core": "4.2.0",
36
36
  "@veramo/utils": "4.2.0",
37
37
  "i18n-js": "^3.8.0",
@@ -51,5 +51,5 @@
51
51
  "peerDependencies": {
52
52
  "react": ">= 18"
53
53
  },
54
- "gitHead": "1e546b3ce43c1e43dcd05e51e368f8730db5bb7f"
54
+ "gitHead": "ef3d35e9e76df912ca20db6708930f80226f49a6"
55
55
  }