@lalternative/editor 0.8.7 → 0.9.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.
Files changed (1) hide show
  1. package/package.json +13 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lalternative/editor",
3
- "version": "0.8.7",
3
+ "version": "0.9.0",
4
4
  "description": "Shared TipTap editor for L'Alternative apps: rich text, format menu, selection toolbar and inline AI revisions",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -14,6 +14,10 @@
14
14
  "import": "./dist/revisions.js",
15
15
  "types": "./dist/revisions.d.ts"
16
16
  },
17
+ "./native": {
18
+ "import": "./dist/native.js",
19
+ "types": "./dist/native.d.ts"
20
+ },
17
21
  "./styles.css": "./dist/editor.css"
18
22
  },
19
23
  "files": [
@@ -31,25 +35,27 @@
31
35
  "@tiptap/pm": ">=3.0.0",
32
36
  "@tiptap/react": ">=3.0.0",
33
37
  "@tiptap/starter-kit": ">=3.0.0",
38
+ "@tiptap/suggestion": ">=3.0.0",
34
39
  "react": ">=18.0.0",
35
40
  "react-dom": ">=18.0.0",
36
- "@tiptap/suggestion": ">=3.0.0"
41
+ "react-native": ">=0.74.0"
37
42
  },
38
43
  "devDependencies": {
39
44
  "@tiptap/core": "^3.29.2",
40
45
  "@tiptap/pm": "^3.29.2",
41
46
  "@tiptap/react": "^3.29.2",
42
47
  "@tiptap/starter-kit": "^3.29.2",
48
+ "@tiptap/suggestion": "^3.29.2",
43
49
  "@types/react": "^19.0.0",
44
50
  "@types/react-dom": "^19.0.0",
45
51
  "@vitejs/plugin-react": "^5.0.0",
46
52
  "react": "^19.0.0",
47
53
  "react-dom": "^19.0.0",
54
+ "react-native": "^0.81.6",
48
55
  "tsup": "^8.5.1",
49
56
  "typescript": "^5.7.0",
50
57
  "vite": "^7.1.7",
51
- "vitest": "^3.0.0",
52
- "@tiptap/suggestion": "^3.29.2"
58
+ "vitest": "^3.0.0"
53
59
  },
54
60
  "publishConfig": {
55
61
  "registry": "https://registry.npmjs.org",
@@ -66,6 +72,9 @@
66
72
  },
67
73
  "@tiptap/suggestion": {
68
74
  "optional": true
75
+ },
76
+ "react-native": {
77
+ "optional": true
69
78
  }
70
79
  }
71
80
  }