@sphereon/ui-components.core 0.1.3-unstable.134 → 0.1.3-unstable.144

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.
@@ -17,6 +17,16 @@
17
17
  "action_show_caption": "Show:",
18
18
  "result_count_label": "Showing {{count}} from {{maxCount}} results",
19
19
  "action_delete_label": "Delete",
20
- "table_pagination_input_caption_go_to": "Go to ",
21
- "table_pagination_input_caption_page": " page"
20
+ "table_pagination_input_caption_go_to": "Go to",
21
+ "table_pagination_input_caption_page": "page",
22
+ "drag_and_drop_upload_image_caption": "Click or drag to upload an image",
23
+ "drag_and_drop_upload_evidence_caption": "Click or drag to upload an evidence document",
24
+ "credential_attach_image_description": "This image will be attached to the credential.",
25
+ "credential_attach_evidence_description": "This document will be refer to the credential.",
26
+ "passport_photo_alt": "Passport Photo",
27
+ "credential_issuance_wizard_title": "Issue credential",
28
+ "credential_issuance_wizard_credential_type_label": "Credential type",
29
+ "credential_issuance_wizard_evidence_title": "Evidence",
30
+ "credential_issuance_wizard_evidence_optional_title": "(optional)",
31
+ "credential_issuance_wizard_evidence_description": "Optionally, you can upload one or more documents or files that you want to attach to this credential."
22
32
  }
@@ -17,6 +17,17 @@
17
17
  "action_show_caption": "Toon:",
18
18
  "result_count_label": "Toon {{count}} van {{maxCount}} resultaten",
19
19
  "action_delete_label": "Verwijder",
20
- "table_pagination_input_caption_go_to": "Ga naar ",
21
- "table_pagination_input_caption_page": " pagina"
20
+ "table_pagination_input_caption_go_to": "Ga naar",
21
+ "table_pagination_input_caption_page": "pagina",
22
+ "action_delete_label": "Verwijder",
23
+ "drag_and_drop_upload_image_caption": "Klik of sleep om een afbeelding te uploaden",
24
+ "drag_and_drop_upload_evidence_caption": "Klik of sleep om een bewijsdocument te uploaden",
25
+ "credential_attach_image_description": "Deze afbeelding wordt aan de credential toegevoegd.",
26
+ "credential_attach_evidence_description": "Dit document verwijst naar de credential.",
27
+ "passport_photo_alt": "Pasfoto",
28
+ "credential_issuance_wizard_title": "Credential uitgeven",
29
+ "credential_issuance_wizard_credential_type_label": "Credential type",
30
+ "credential_issuance_wizard_evidence_title": "Bewijs",
31
+ "credential_issuance_wizard_evidence_optional_title": "(optioneel)",
32
+ "credential_issuance_wizard_evidence_description": "Optioneel kunt u een of meer documenten of bestanden uploaden die u aan deze credential wilt toevoegen."
22
33
  }
@@ -10,7 +10,7 @@ type FontColor = 'dark' | 'light' | 'secondaryButton' | 'greyedOut' | 'lightGrey
10
10
  export declare const fontColors: Record<FontColor, string>;
11
11
  type HighLightGradient = 100 | 200;
12
12
  export declare const gradientsColors: Record<HighLightGradient, GradientProperties>;
13
- type Border = 'dark' | 'light' | 'lightGrey';
13
+ type Border = 'dark' | 'light' | 'lightGrey' | 'darkGrey';
14
14
  export declare const borderColors: Record<Border, string>;
15
15
  type Profile = 100 | 200 | 300 | 400 | 500;
16
16
  export declare const profileColors: Record<Profile, string>;
@@ -18,7 +18,7 @@ type Alerts = 'primaryLight' | 'secondaryLight';
18
18
  export declare const alertColors: Record<Alerts, string>;
19
19
  type SelectionElement = 'primaryDark' | 'primaryBorderDark' | 'selectedRow';
20
20
  export declare const selectionElementColors: Record<SelectionElement, string>;
21
- type Element = 'blue' | 'lightGrey' | 'purple' | 100 | 200;
21
+ type Element = 'blue' | 'lightGrey' | 'purple' | 100 | 200 | 300;
22
22
  export declare const elementColors: Record<Element, string>;
23
23
  type Button = 100;
24
24
  export declare const buttonColors: Record<Button, string>;
@@ -49,7 +49,8 @@ exports.gradientsColors = {
49
49
  exports.borderColors = {
50
50
  dark: '#404D7A',
51
51
  light: '#E3E3E3',
52
- lightGrey: '#ACACAC'
52
+ lightGrey: '#ACACAC',
53
+ darkGrey: '#303030'
53
54
  };
54
55
  exports.profileColors = {
55
56
  100: '#EE5209',
@@ -72,7 +73,8 @@ exports.elementColors = {
72
73
  lightGrey: '#C4C4C4',
73
74
  purple: '#7276F7',
74
75
  100: '#F25409',
75
- 200: '#f78854'
76
+ 200: '#F78854',
77
+ 300: '#8D9099'
76
78
  };
77
79
  exports.buttonColors = {
78
80
  100: '#8B1900'
@@ -4,4 +4,4 @@ export type LineHeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 64;
4
4
  export declare const lineHeight: Record<LineHeight, number>;
5
5
  export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
6
6
  export declare const fontWeight: Record<FontWeight, FontWeight>;
7
- export type FontStyle = 'h0SemiBold' | 'h1Regular' | 'h1SemiBold' | 'h2Regular' | 'h2SemiBold' | 'h3Regular' | 'h3SemiBold' | 'h4Regular' | 'h4SemiBold' | 'h5Regular' | 'h5SemiBold' | 'h6' | 'h7SemiBold' | 'Regular64';
7
+ export type FontStyle = 'h0SemiBold' | 'h1Regular' | 'h1SemiBold' | 'h2Regular' | 'h2SemiBold' | 'h3Regular' | 'h3SemiBold' | 'h4Regular' | 'h4SemiBold' | 'h5Regular' | 'h5SemiBold' | 'h6' | 'h7Regular' | 'h7SemiBold' | 'Regular64';
@@ -0,0 +1 @@
1
+ export declare const base64toFile: (base64: string, filename: string, mimeType: string) => File;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.base64toFile = void 0;
4
+ var base64toFile = function (base64, filename, mimeType) {
5
+ var base64Parts = base64.split(';base64,');
6
+ var contentType = base64Parts[0].split(':')[1];
7
+ var byteCharacters = atob(base64Parts[1]);
8
+ var byteNumbers = Array.from(byteCharacters).map(function (char) { return char.charCodeAt(0); });
9
+ var byteArray = new Uint8Array(byteNumbers);
10
+ var blob = new Blob([byteArray], { type: contentType });
11
+ return new File([blob], filename, { type: mimeType });
12
+ };
13
+ exports.base64toFile = base64toFile;
@@ -2,3 +2,4 @@ export * from './ImageUtils';
2
2
  export * from './DateUtils';
3
3
  export * from './TranslationUtils';
4
4
  export * from './UserUtils';
5
+ export * from './FileUtils';
@@ -18,3 +18,4 @@ __exportStar(require("./ImageUtils"), exports);
18
18
  __exportStar(require("./DateUtils"), exports);
19
19
  __exportStar(require("./TranslationUtils"), exports);
20
20
  __exportStar(require("./UserUtils"), exports);
21
+ __exportStar(require("./FileUtils"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.core",
3
3
  "private": false,
4
- "version": "0.1.3-unstable.134+7bbc921",
4
+ "version": "0.1.3-unstable.144+18cddf4",
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": ">= 16.8.0"
45
45
  },
46
- "gitHead": "7bbc921908521224cc1ccca81d567641abebeb09"
46
+ "gitHead": "18cddf4c2d9265f91657a7c00d98674340ca5260"
47
47
  }