@x12i/diagrams 1.0.0 → 1.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@x12i/diagrams",
3
- "version": "1.0.0",
4
- "description": "Diagram document schema for the Unified UI Kit, plus a text outline for screen readers. The node canvas (on @xyflow/react) is planned.",
3
+ "version": "1.1.0",
4
+ "description": "Diagrams for the Unified UI Kit: one JSON diagram document, a headless core (validation, layout, geometry, history, static SVG), an accessible token-themed node canvas on @xyflow/react, a Mermaid adapter and a text outline for screen readers.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -12,8 +12,21 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/x12i/unified-ui-kit/issues"
14
14
  },
15
+ "keywords": [
16
+ "react",
17
+ "diagram",
18
+ "flowchart",
19
+ "node-editor",
20
+ "reactflow",
21
+ "dagre",
22
+ "mermaid",
23
+ "accessibility",
24
+ "design-system"
25
+ ],
15
26
  "type": "module",
16
- "sideEffects": false,
27
+ "sideEffects": [
28
+ "*.css"
29
+ ],
17
30
  "files": [
18
31
  "dist",
19
32
  "README.md"
@@ -23,13 +36,47 @@
23
36
  "types": "./dist/index.d.ts",
24
37
  "default": "./dist/index.js"
25
38
  },
39
+ "./react": {
40
+ "types": "./dist/react.d.ts",
41
+ "default": "./dist/react.js"
42
+ },
43
+ "./styles.css": "./dist/styles.css",
26
44
  "./package.json": "./package.json"
27
45
  },
28
46
  "publishConfig": {
29
47
  "access": "public"
30
48
  },
49
+ "dependencies": {
50
+ "@dagrejs/dagre": "^3.1.3",
51
+ "@x12i/icons": "^1.0.0",
52
+ "@x12i/tokens": "^1.1.0",
53
+ "@xyflow/react": "^12.12.1",
54
+ "d3-hierarchy": "^3.1.3"
55
+ },
56
+ "peerDependencies": {
57
+ "@x12i/ui": "^1.1.0",
58
+ "react": "^19.0.0",
59
+ "react-dom": "^19.0.0"
60
+ },
61
+ "devDependencies": {
62
+ "@testing-library/jest-dom": "^7.0.1",
63
+ "@testing-library/react": "^16.3.3",
64
+ "@testing-library/user-event": "^14.6.8",
65
+ "@types/d3-hierarchy": "^3.1.7",
66
+ "@types/node": "^24.0.0",
67
+ "@types/react": "^19.3.0",
68
+ "@types/react-dom": "^19.3.0",
69
+ "@vitejs/plugin-react": "^6.2.1",
70
+ "@x12i/themes": "^1.0.0",
71
+ "@x12i/ui": "^1.1.0",
72
+ "jsdom": "^30.1.3",
73
+ "react": "^19.3.1",
74
+ "react-dom": "^19.3.1",
75
+ "vite": "^8.3.6",
76
+ "vitest-axe": "^0.1.0"
77
+ },
31
78
  "scripts": {
32
- "build": "tsup",
79
+ "build": "tsup && node scripts/copy-css.mjs",
33
80
  "typecheck": "tsc --noEmit",
34
81
  "lint": "eslint .",
35
82
  "test": "vitest run --passWithNoTests"