@sphereon/ui-components.core 0.4.0 → 0.4.1-unstable.2
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.
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--border-radius-1: 0.125rem; /* 2px */
|
|
3
|
+
--border-radius-2: 0.25rem; /* 4px */
|
|
4
|
+
--border-radius-3: 0.375rem; /* 6px */
|
|
5
|
+
--border-radius-4: 0.5rem; /* 8px */
|
|
6
|
+
--border-radius-6: 0.75rem; /* 12px */
|
|
7
|
+
--border-radius-8: 1rem; /* 16px */
|
|
8
|
+
--border-radius-12: 1.5rem; /* 24px */
|
|
9
|
+
--border-radius-full: 50%; /* full radius */
|
|
10
|
+
|
|
11
|
+
--spacing-0_5: 0.125rem; /* 2px */
|
|
12
|
+
--spacing-1: 0.25rem; /* 4px */
|
|
13
|
+
--spacing-1_5: 0.375rem; /* 6px */
|
|
14
|
+
--spacing-4: 1rem; /* 16px */
|
|
15
|
+
|
|
16
|
+
--color-grey-50: #FBFBFB;
|
|
17
|
+
--color-grey-600: #727272;
|
|
18
|
+
--color-grey-900: #0A0D12;
|
|
19
|
+
--color-grey-1000: #ECECEC; /* FIXME this color in the design has no token */
|
|
20
|
+
--color-grey-1100: #8D9099; /* FIXME this color in the design has no token */
|
|
21
|
+
|
|
22
|
+
--color-brand-50: #ECE4FC;
|
|
23
|
+
|
|
24
|
+
--color-selenas-500: #A92CD5;
|
|
25
|
+
|
|
26
|
+
--color-warning-500: #ED8E00; /* FIXME token name should be updated in figma design */
|
|
27
|
+
|
|
28
|
+
--color-magenta-500: #F4003A;
|
|
29
|
+
|
|
30
|
+
--color-pending-500: #0B81FF; /* FIXME token name should be updated in figma design */
|
|
31
|
+
|
|
32
|
+
--font-family: 'Poppins';
|
|
33
|
+
|
|
34
|
+
--font-size-1: 0.625rem; /* 10px */
|
|
35
|
+
--font-size-4: 1rem; /* 16px */
|
|
36
|
+
|
|
37
|
+
--font-weight-regular: 400;
|
|
38
|
+
|
|
39
|
+
/* FIXME temporary composite tokens until the tokens in figma have been fixed */
|
|
40
|
+
--text-style-1: normal var(--font-weight-regular) var(--font-size-1)/1.5 var(--font-family), sans-serif;
|
|
41
|
+
--text-style-2: normal var(--font-weight-regular) var(--font-size-4)/1.5 var(--font-family), sans-serif;
|
|
42
|
+
|
|
43
|
+
.font-1 {
|
|
44
|
+
font: var(--text-style-1);
|
|
45
|
+
}
|
|
46
|
+
.font-2 {
|
|
47
|
+
font: var(--text-style-2);
|
|
48
|
+
}
|
|
49
|
+
}
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.RoleType = void 0;
|
|
4
|
+
var RoleType;
|
|
5
|
+
(function (RoleType) {
|
|
6
|
+
RoleType["HOLDER"] = "HOLDER";
|
|
7
|
+
RoleType["ISSUER"] = "ISSUER";
|
|
8
|
+
RoleType["RELYING_PARTY"] = "RELYING_PARTY";
|
|
9
|
+
RoleType["ADMIN"] = "ADMIN";
|
|
10
|
+
})(RoleType = exports.RoleType || (exports.RoleType = {}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ui-components.core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1-unstable.2+64023ed",
|
|
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>",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"Self-sovereign identity (SSI)"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "tsc",
|
|
15
|
+
"build": "tsc && pnpm run copy-css",
|
|
16
|
+
"copy-css": "cpy src/**/*.css dist --parents",
|
|
16
17
|
"build:clean": "tsc --build --clean && tsc --build"
|
|
17
18
|
},
|
|
18
19
|
"source": "src/index.ts",
|
|
@@ -35,11 +36,12 @@
|
|
|
35
36
|
"@types/i18n-js": "^3.8.4",
|
|
36
37
|
"@types/lodash.memoize": "^4.1.7",
|
|
37
38
|
"@types/react": "~18.2.67",
|
|
39
|
+
"cpy-cli": "^5.0.0",
|
|
38
40
|
"react": "18.2.0",
|
|
39
41
|
"typescript": "4.9.5"
|
|
40
42
|
},
|
|
41
43
|
"peerDependencies": {
|
|
42
44
|
"react": ">= 18.2"
|
|
43
45
|
},
|
|
44
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "64023ed017c2754d1fcfef36d3f3dee0bf428777"
|
|
45
47
|
}
|