@processengine/uikit 0.1.0

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,79 @@
1
+ :root {
2
+ --page-bg: #f5f3ee;
3
+ --page-glow:
4
+ radial-gradient(circle at top left, rgba(79, 70, 229, 0.08), transparent 28rem),
5
+ radial-gradient(circle at top right, rgba(251, 191, 36, 0.08), transparent 24rem);
6
+
7
+ --surface-canvas: rgba(255, 255, 255, 0.52);
8
+ --surface-card: #ffffff;
9
+ --surface-subtle: #faf7f1;
10
+ --surface-muted: #f3efe7;
11
+ --surface-hover: #fffdf9;
12
+
13
+ --text-strong: #1a1a2e;
14
+ --text-strong-soft: #23233a;
15
+ --text-medium: #4b5563;
16
+ --text-dim: #6b7280;
17
+ --text-muted: #8b95a7;
18
+ --text-faint: #a2aaba;
19
+
20
+ --border-color: #e8e5df;
21
+ --border-strong: #d8d2c8;
22
+ --accent-color: #4f46e5;
23
+ --accent-soft: #eef2ff;
24
+ --accent-strong: #3730a3;
25
+
26
+ --status-success-bg: #f0fdf4;
27
+ --status-success-border: #bbf7d0;
28
+ --status-success-text: #166534;
29
+ --status-error-bg: #fff1f2;
30
+ --status-error-border: #fecdd3;
31
+ --status-error-text: #be123c;
32
+ --status-neutral-bg: #f1f5f9;
33
+ --status-neutral-border: #cbd5e1;
34
+ --status-neutral-text: #334155;
35
+
36
+ --stage-success-bg: #f0fdf4;
37
+ --stage-success-border: #bbf7d0;
38
+ --stage-success-accent: #16a34a;
39
+ --stage-active-bg: #fffbeb;
40
+ --stage-active-border: #fde68a;
41
+ --stage-active-accent: #d97706;
42
+ --stage-error-bg: #fff1f2;
43
+ --stage-error-border: #fecdd3;
44
+ --stage-error-accent: #e11d48;
45
+ --stage-pending-bg: #f8fafc;
46
+ --stage-pending-border: #e2e8f0;
47
+ --stage-pending-accent: #94a3b8;
48
+
49
+ --font-sans:
50
+ Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
51
+ --font-input: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
52
+ --font-mono:
53
+ 'JetBrains Mono', 'SFMono-Regular', 'SF Mono', Menlo, Consolas, 'Liberation Mono',
54
+ monospace;
55
+
56
+ --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
57
+ --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.09);
58
+ --shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.12);
59
+
60
+ --shell-max-width: 88rem;
61
+ --page-inline-padding: clamp(1.25rem, 3vw, 2rem);
62
+ --page-block-start: clamp(1.25rem, 3vw, 2rem);
63
+ --page-block-end: clamp(2rem, 4vw, 3rem);
64
+
65
+ --space-1: 0.125rem;
66
+ --space-2: 0.25rem;
67
+ --space-3: 0.5rem;
68
+ --space-4: 0.75rem;
69
+ --space-5: 1rem;
70
+ --space-6: 1.25rem;
71
+ --space-7: 1.5rem;
72
+ --space-8: 2rem;
73
+ --space-9: 2.5rem;
74
+
75
+ --radius-sm: 0.625rem;
76
+ --radius-md: 0.875rem;
77
+ --radius-lg: 1.25rem;
78
+ --radius-xl: 1.75rem;
79
+ }
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@processengine/uikit",
3
+ "version": "0.1.0",
4
+ "description": "Shared UI kit for ProcessEngine admin, rules, and sandbox interfaces",
5
+ "type": "module",
6
+ "main": "./dist/react/index.js",
7
+ "types": "./dist/react/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/react/index.d.ts",
11
+ "import": "./dist/react/index.js"
12
+ },
13
+ "./styles.css": {
14
+ "import": "./dist/styles.css",
15
+ "default": "./dist/styles.css"
16
+ },
17
+ "./sandbox.css": {
18
+ "import": "./dist/sandbox.css",
19
+ "default": "./dist/sandbox.css"
20
+ },
21
+ "./tokens.css": {
22
+ "import": "./dist/tokens.css",
23
+ "default": "./dist/tokens.css"
24
+ },
25
+ "./base.css": {
26
+ "import": "./dist/base.css",
27
+ "default": "./dist/base.css"
28
+ },
29
+ "./components.css": {
30
+ "import": "./dist/components.css",
31
+ "default": "./dist/components.css"
32
+ }
33
+ },
34
+ "files": [
35
+ "dist/",
36
+ "README.md",
37
+ "CHANGELOG.md"
38
+ ],
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://github.com/processengine/uikit.git"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "scripts": {
47
+ "build": "node scripts/build.mjs",
48
+ "typecheck": "tsc --noEmit -p tsconfig.json",
49
+ "test": "npm run typecheck && npm run build",
50
+ "pack:check": "npm pack --dry-run",
51
+ "prepublishOnly": "echo 'Publish only via GitHub Actions. See README.md' && exit 1",
52
+ "version": "node scripts/update-changelog.js && git add CHANGELOG.md"
53
+ },
54
+ "dependencies": {
55
+ "@uiw/react-json-view": "^2.0.0-alpha.42"
56
+ },
57
+ "peerDependencies": {
58
+ "react": ">=18.3 <20",
59
+ "react-dom": ">=18.3 <20"
60
+ },
61
+ "devDependencies": {
62
+ "@types/react": "^19.2.14",
63
+ "@types/react-dom": "^19.2.3",
64
+ "typescript": "~6.0.2"
65
+ }
66
+ }