@oyat/editor 1.3.2 → 1.5.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 (60) hide show
  1. package/dist/components/editor/editor-base-kit.d.ts.map +1 -1
  2. package/dist/components/editor/plugins/align-base-kit.d.ts.map +1 -1
  3. package/dist/components/editor/plugins/align-kit.d.ts.map +1 -1
  4. package/dist/components/editor/plugins/block-menu-kit.d.ts +4 -4
  5. package/dist/components/editor/plugins/block-menu-kit.d.ts.map +1 -1
  6. package/dist/components/editor/plugins/block-placeholder-kit.d.ts.map +1 -1
  7. package/dist/components/editor/plugins/block-selection-kit.d.ts +4 -4
  8. package/dist/components/editor/plugins/block-selection-kit.d.ts.map +1 -1
  9. package/dist/components/editor/plugins/callout-base-kit.d.ts.map +1 -1
  10. package/dist/components/editor/plugins/callout-kit.d.ts.map +1 -1
  11. package/dist/components/editor/plugins/code-block-base-kit.d.ts +2 -2
  12. package/dist/components/editor/plugins/code-block-base-kit.d.ts.map +1 -1
  13. package/dist/components/editor/plugins/comment-base-kit.d.ts.map +1 -1
  14. package/dist/components/editor/plugins/comment-kit.d.ts.map +1 -1
  15. package/dist/components/editor/plugins/date-base-kit.d.ts.map +1 -1
  16. package/dist/components/editor/plugins/date-kit.d.ts.map +1 -1
  17. package/dist/components/editor/plugins/discussion-kit.d.ts +2 -2
  18. package/dist/components/editor/plugins/discussion-kit.d.ts.map +1 -1
  19. package/dist/components/editor/plugins/dnd-kit.d.ts.map +1 -1
  20. package/dist/components/editor/plugins/line-height-base-kit.d.ts.map +1 -1
  21. package/dist/components/editor/plugins/line-height-kit.d.ts.map +1 -1
  22. package/dist/components/editor/plugins/math-base-kit.d.ts.map +1 -1
  23. package/dist/components/editor/plugins/math-kit.d.ts.map +1 -1
  24. package/dist/components/editor/plugins/media-base-kit.d.ts.map +1 -1
  25. package/dist/components/editor/plugins/media-kit.d.ts.map +1 -1
  26. package/dist/components/editor/plugins/mention-base-kit.d.ts.map +1 -1
  27. package/dist/components/editor/plugins/mention-kit.d.ts.map +1 -1
  28. package/dist/components/editor/plugins/suggestion-base-kit.d.ts.map +1 -1
  29. package/dist/components/editor/plugins/suggestion-kit.d.ts.map +1 -1
  30. package/dist/components/editor/plugins/table-base-kit.d.ts +2 -2
  31. package/dist/components/editor/plugins/table-base-kit.d.ts.map +1 -1
  32. package/dist/components/editor/plugins/table-kit.d.ts +4 -4
  33. package/dist/components/editor/plugins/table-kit.d.ts.map +1 -1
  34. package/dist/components/editor/plugins/toggle-base-kit.d.ts.map +1 -1
  35. package/dist/components/editor/plugins/toggle-kit.d.ts.map +1 -1
  36. package/dist/components/editor/settings-dialog.d.ts +2 -2
  37. package/dist/components/editor/settings-dialog.d.ts.map +1 -1
  38. package/dist/components/editor/transforms.d.ts.map +1 -1
  39. package/dist/components/editor/use-chat.d.ts.map +1 -1
  40. package/dist/components/ui/ai-menu.d.ts.map +1 -1
  41. package/dist/components/ui/block-suggestion.d.ts.map +1 -1
  42. package/dist/components/ui/comment.d.ts +2 -2
  43. package/dist/components/ui/comment.d.ts.map +1 -1
  44. package/dist/components/ui/editor-static.d.ts +1 -1
  45. package/dist/components/ui/editor.d.ts +7 -11
  46. package/dist/components/ui/editor.d.ts.map +1 -1
  47. package/dist/components/ui/emoji-node.d.ts.map +1 -1
  48. package/dist/components/ui/equation-node.d.ts.map +1 -1
  49. package/dist/components/ui/font-size-toolbar-button.d.ts.map +1 -1
  50. package/dist/components/ui/inline-combobox.d.ts +8 -3
  51. package/dist/components/ui/inline-combobox.d.ts.map +1 -1
  52. package/dist/components/ui/link-toolbar.d.ts.map +1 -1
  53. package/dist/components/ui/mention-node-static.d.ts.map +1 -1
  54. package/dist/components/ui/mode-toolbar-button.d.ts.map +1 -1
  55. package/dist/components/ui/table-icons.d.ts.map +1 -1
  56. package/dist/components/ui/table-node.d.ts +1 -1
  57. package/dist/components/ui/table-node.d.ts.map +1 -1
  58. package/dist/index.js +161 -155
  59. package/dist/index.js.map +1 -1
  60. package/package.json +61 -61
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oyat/editor",
3
- "version": "1.3.2",
3
+ "version": "1.5.0",
4
4
  "description": "A powerful, feature-rich Plate.js editor component with AI integration, collaboration features, and extensive customization options",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,59 +43,43 @@
43
43
  "prepublishOnly": "npm run build:lib",
44
44
  "type-check": "tsc --noEmit"
45
45
  },
46
- "peerDependencies": {
47
- "platejs": "^51.0.0",
48
- "react": ">=18.0.0",
49
- "react-dom": ">=18.0.0"
50
- },
51
- "peerDependenciesMeta": {
52
- "platejs": {
53
- "optional": false
54
- },
55
- "react": {
56
- "optional": false
57
- },
58
- "react-dom": {
59
- "optional": false
60
- }
61
- },
62
46
  "dependencies": {
63
47
  "@ai-sdk/react": "2.0.28",
64
48
  "@ariakit/react": "^0.4.19",
65
49
  "@emoji-mart/data": "1.2.1",
66
50
  "@faker-js/faker": "^10.1.0",
67
- "@platejs/ai": "^51.0.1",
68
- "@platejs/autoformat": "^51.0.0",
69
- "@platejs/basic-nodes": "^51.0.0",
70
- "@platejs/basic-styles": "^51.0.0",
71
- "@platejs/callout": "^51.0.0",
72
- "@platejs/caption": "^51.0.0",
73
- "@platejs/code-block": "^51.0.0",
74
- "@platejs/combobox": "^51.0.0",
75
- "@platejs/comment": "^51.0.0",
76
- "@platejs/date": "^51.0.0",
77
- "@platejs/diff": "^51.0.0",
78
- "@platejs/dnd": "^51.0.0",
79
- "@platejs/docx": "^51.0.0",
80
- "@platejs/emoji": "^51.0.0",
81
- "@platejs/excalidraw": "^51.0.0",
82
- "@platejs/floating": "^51.0.0",
83
- "@platejs/indent": "^51.0.0",
84
- "@platejs/juice": "^51.0.0",
85
- "@platejs/layout": "^51.0.0",
86
- "@platejs/link": "^51.0.0",
87
- "@platejs/list": "^51.0.0",
88
- "@platejs/markdown": "^51.0.0",
89
- "@platejs/math": "^51.0.0",
90
- "@platejs/media": "^51.0.0",
91
- "@platejs/mention": "^51.0.0",
92
- "@platejs/resizable": "^51.0.0",
93
- "@platejs/selection": "^51.0.0",
94
- "@platejs/slash-command": "^51.0.0",
95
- "@platejs/suggestion": "^51.0.0",
96
- "@platejs/table": "^51.0.0",
97
- "@platejs/toc": "^51.0.0",
98
- "@platejs/toggle": "^51.0.0",
51
+ "@platejs/ai": "^52.0.1",
52
+ "@platejs/autoformat": "^52.0.1",
53
+ "@platejs/basic-nodes": "^52.0.1",
54
+ "@platejs/basic-styles": "^52.0.1",
55
+ "@platejs/callout": "^52.0.1",
56
+ "@platejs/caption": "^52.0.1",
57
+ "@platejs/code-block": "^52.0.1",
58
+ "@platejs/combobox": "^52.0.1",
59
+ "@platejs/comment": "^52.0.1",
60
+ "@platejs/date": "^52.0.1",
61
+ "@platejs/diff": "^52.0.1",
62
+ "@platejs/dnd": "^52.0.1",
63
+ "@platejs/docx": "^52.0.1",
64
+ "@platejs/emoji": "^52.0.1",
65
+ "@platejs/excalidraw": "^52.0.1",
66
+ "@platejs/floating": "^52.0.1",
67
+ "@platejs/indent": "^52.0.1",
68
+ "@platejs/juice": "^52.0.1",
69
+ "@platejs/layout": "^52.0.1",
70
+ "@platejs/link": "^52.0.1",
71
+ "@platejs/list": "^52.0.1",
72
+ "@platejs/markdown": "^52.0.1",
73
+ "@platejs/math": "^52.0.1",
74
+ "@platejs/media": "^52.0.1",
75
+ "@platejs/mention": "^52.0.1",
76
+ "@platejs/resizable": "^52.0.1",
77
+ "@platejs/selection": "^52.0.1",
78
+ "@platejs/slash-command": "^52.0.1",
79
+ "@platejs/suggestion": "^52.0.1",
80
+ "@platejs/table": "^52.0.1",
81
+ "@platejs/toc": "^52.0.1",
82
+ "@platejs/toggle": "^52.0.1",
99
83
  "@radix-ui/react-alert-dialog": "^1.1.15",
100
84
  "@radix-ui/react-avatar": "^1.1.11",
101
85
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -108,7 +92,7 @@
108
92
  "@radix-ui/react-toolbar": "^1.1.11",
109
93
  "@radix-ui/react-tooltip": "^1.2.8",
110
94
  "@tailwindcss/vite": "^4.1.17",
111
- "@udecode/cn": "^49.0.15",
95
+ "@udecode/cn": "^52.0.1",
112
96
  "@uploadthing/react": "7.3.3",
113
97
  "ai": "5.0.28",
114
98
  "class-variance-authority": "^0.7.1",
@@ -121,13 +105,13 @@
121
105
  "lowlight": "^3.3.0",
122
106
  "lucide-react": "^0.554.0",
123
107
  "pdf-lib": "^1.17.1",
124
- "platejs": "^51.0.0",
108
+ "platejs": "^52.0.1",
125
109
  "react": "^19.2.0",
126
- "react-day-picker": "^9.11.1",
110
+ "react-day-picker": "^9.11.2",
127
111
  "react-dnd": "^16.0.1",
128
112
  "react-dnd-html5-backend": "^16.0.1",
129
113
  "react-dom": "^19.2.0",
130
- "react-lite-youtube-embed": "^3.3.1",
114
+ "react-lite-youtube-embed": "^3.3.2",
131
115
  "react-player": "3.3.1",
132
116
  "react-textarea-autosize": "^8.5.9",
133
117
  "react-tweet": "^3.2.2",
@@ -139,15 +123,15 @@
139
123
  "tailwindcss": "^4.1.17",
140
124
  "uploadthing": "7.7.4",
141
125
  "use-file-picker": "2.1.2",
142
- "zod": "^4.1.12"
126
+ "zod": "^4.1.13"
143
127
  },
144
128
  "devDependencies": {
145
129
  "@eslint/js": "^9.39.1",
146
- "@types/lodash": "^4.17.20",
147
- "@types/node": "^24.10.0",
148
- "@types/react": "^19.2.2",
149
- "@types/react-dom": "^19.2.2",
150
- "@vitejs/plugin-react": "^5.1.0",
130
+ "@types/lodash": "^4.17.21",
131
+ "@types/node": "^24.10.1",
132
+ "@types/react": "^19.2.5",
133
+ "@types/react-dom": "^19.2.3",
134
+ "@vitejs/plugin-react": "^5.1.1",
151
135
  "eslint": "^9.39.1",
152
136
  "eslint-plugin-react-hooks": "^7.0.1",
153
137
  "eslint-plugin-react-refresh": "^0.4.24",
@@ -155,9 +139,25 @@
155
139
  "terser": "^5.44.1",
156
140
  "tw-animate-css": "^1.4.0",
157
141
  "typescript": "~5.9.3",
158
- "typescript-eslint": "^8.46.3",
159
- "vite": "^7.2.2",
142
+ "typescript-eslint": "^8.46.4",
143
+ "vite": "^7.2.4",
160
144
  "vite-plugin-css-injected-by-js": "^3.5.2",
161
145
  "vite-plugin-dts": "^4.5.4"
146
+ },
147
+ "peerDependencies": {
148
+ "platejs": "^52.0.0",
149
+ "react": ">=18.0.0",
150
+ "react-dom": ">=18.0.0"
151
+ },
152
+ "peerDependenciesMeta": {
153
+ "platejs": {
154
+ "optional": false
155
+ },
156
+ "react": {
157
+ "optional": false
158
+ },
159
+ "react-dom": {
160
+ "optional": false
161
+ }
162
162
  }
163
163
  }