@x12i/editor 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/editor",
3
- "version": "1.0.0",
4
- "description": "Document schema for the Unified UI Kit block editor: versioned JSON owned by the kit, so the engine stays replaceable. The editor itself is planned.",
3
+ "version": "1.1.0",
4
+ "description": "Block editor for the Unified UI Kit: a versioned JSON document owned by the kit, rendered by Tiptap so the engine stays replaceable. Headless converters and exporters in the root entry, an accessible React editor in ./react.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -12,8 +12,19 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/x12i/unified-ui-kit/issues"
14
14
  },
15
+ "keywords": [
16
+ "react",
17
+ "editor",
18
+ "block-editor",
19
+ "tiptap",
20
+ "prosemirror",
21
+ "accessibility",
22
+ "design-system"
23
+ ],
15
24
  "type": "module",
16
- "sideEffects": false,
25
+ "sideEffects": [
26
+ "*.css"
27
+ ],
17
28
  "files": [
18
29
  "dist",
19
30
  "README.md"
@@ -23,20 +34,58 @@
23
34
  "types": "./dist/index.d.ts",
24
35
  "default": "./dist/index.js"
25
36
  },
37
+ "./react": {
38
+ "types": "./dist/react.d.ts",
39
+ "default": "./dist/react.js"
40
+ },
41
+ "./styles.css": "./dist/styles.css",
26
42
  "./package.json": "./package.json"
27
43
  },
28
44
  "publishConfig": {
29
45
  "access": "public"
30
46
  },
31
47
  "dependencies": {
32
- "@x12i/charts": "^1.0.0",
33
- "@x12i/data": "^1.0.0",
34
- "@x12i/diagrams": "^1.0.0"
48
+ "@tiptap/core": "^3.33.0",
49
+ "@tiptap/extension-highlight": "^3.33.0",
50
+ "@tiptap/extension-image": "^3.33.0",
51
+ "@tiptap/extension-placeholder": "^3.33.0",
52
+ "@tiptap/extension-table": "^3.33.0",
53
+ "@tiptap/extension-task-item": "^3.33.0",
54
+ "@tiptap/extension-task-list": "^3.33.0",
55
+ "@tiptap/pm": "^3.33.0",
56
+ "@tiptap/react": "^3.33.0",
57
+ "@tiptap/starter-kit": "^3.33.0",
58
+ "@tiptap/suggestion": "^3.33.0",
59
+ "@x12i/charts": "^1.1.0",
60
+ "@x12i/data": "^1.1.0",
61
+ "@x12i/diagrams": "^1.1.0",
62
+ "@x12i/tokens": "^1.1.0"
63
+ },
64
+ "peerDependencies": {
65
+ "@x12i/ui": "^1.1.0",
66
+ "react": "^19.0.0",
67
+ "react-dom": "^19.0.0"
68
+ },
69
+ "devDependencies": {
70
+ "@testing-library/jest-dom": "^7.0.1",
71
+ "@testing-library/react": "^16.3.3",
72
+ "@testing-library/user-event": "^14.6.8",
73
+ "@types/node": "^24.0.0",
74
+ "@types/react": "^19.3.0",
75
+ "@types/react-dom": "^19.3.0",
76
+ "@vitejs/plugin-react": "^6.2.1",
77
+ "@x12i/themes": "^1.0.0",
78
+ "@x12i/ui": "^1.1.0",
79
+ "jsdom": "^30.1.3",
80
+ "react": "^19.3.1",
81
+ "react-dom": "^19.3.1",
82
+ "vite": "^8.3.6",
83
+ "vitest-axe": "^0.1.0"
35
84
  },
36
85
  "scripts": {
37
- "build": "tsup",
86
+ "build": "tsup && node scripts/copy-css.mjs",
38
87
  "typecheck": "tsc --noEmit",
39
88
  "lint": "eslint .",
40
- "test": "vitest run --passWithNoTests"
89
+ "test": "vitest run"
41
90
  }
42
91
  }