@sphereon/ui-components.core 0.2.1-unstable.4 → 0.2.1-unstable.5

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.
@@ -28,11 +28,11 @@
28
28
  "credential_issuance_wizard_title": "Issue credential",
29
29
  "credential_issuance_wizard_credential_type_label": "Credential type",
30
30
  "credential_issuance_wizard_evidence_title": "Evidence",
31
+ "credential_issuance_wizard_evidence_optional_title": "(optional)",
31
32
  "credential_issuance_wizard_evidence_description": "Optionally, you can upload one or more documents or files that you want to attach to this credential.",
32
33
  "file_permission_public_label": "Public",
33
34
  "file_permission_private_label": "Private",
34
35
  "credentials_view_item_expires_on": "Expires on",
35
36
  "json_data_view_attribute_column_label": "Attribute",
36
- "json_data_view_value_column_label": "Value",
37
- "optional_label": "(optional)"
37
+ "json_data_view_value_column_label": "Value"
38
38
  }
@@ -28,11 +28,11 @@
28
28
  "credential_issuance_wizard_title": "Credential uitgeven",
29
29
  "credential_issuance_wizard_credential_type_label": "Credential type",
30
30
  "credential_issuance_wizard_evidence_title": "Bewijs",
31
+ "credential_issuance_wizard_evidence_optional_title": "(optioneel)",
31
32
  "credential_issuance_wizard_evidence_description": "Optioneel kunt u een of meer documenten of bestanden uploaden die u aan deze credential wilt toevoegen.",
32
33
  "file_permission_public_label": "Openbaar",
33
34
  "file_permission_private_label": "Privaat",
34
35
  "credentials_view_item_expires_on": "Vervalt op",
35
36
  "json_data_view_attribute_column_label": "Attribuut",
36
- "json_data_view_value_column_label": "Waarde",
37
- "optional_label": "(optioneel)"
37
+ "json_data_view_value_column_label": "Waarde"
38
38
  }
@@ -1,2 +1,4 @@
1
1
  export declare const emailAddressValidationRegex: RegExp;
2
2
  export declare const base64UriValidationRegex: RegExp;
3
+ export declare const IS_IMAGE_URI_REGEX: RegExp;
4
+ export declare const IS_IMAGE_URL_REGEX: RegExp;
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.base64UriValidationRegex = exports.emailAddressValidationRegex = void 0;
3
+ exports.IS_IMAGE_URL_REGEX = exports.IS_IMAGE_URI_REGEX = exports.base64UriValidationRegex = exports.emailAddressValidationRegex = void 0;
4
4
  exports.emailAddressValidationRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
5
5
  exports.base64UriValidationRegex = /^data:image\/[a-zA-Z]+;base64,[A-Za-z0-9+\/_-]*(={0,2})?$/;
6
+ exports.IS_IMAGE_URI_REGEX = /^data:image\/(png|jpg|jpeg|bmp|gif|webp);base64,/;
7
+ exports.IS_IMAGE_URL_REGEX = /\.(jpg|jpeg|png|gif|bmp|webp)$/i;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.core",
3
3
  "private": false,
4
- "version": "0.2.1-unstable.4+0c3e560",
4
+ "version": "0.2.1-unstable.5+5c9a628",
5
5
  "description": "SSI UI components Core",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -43,5 +43,5 @@
43
43
  "peerDependencies": {
44
44
  "react": ">= 18"
45
45
  },
46
- "gitHead": "0c3e560dd1878d1aa7a6074a7d2838816569a296"
46
+ "gitHead": "5c9a628778acb42f1d54fd23fafc187ea7d08eca"
47
47
  }