@oyat/editor 1.4.0 → 1.5.1

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 (37) hide show
  1. package/dist/components/editor/plugins/align-base-kit.d.ts.map +1 -1
  2. package/dist/components/editor/plugins/align-kit.d.ts.map +1 -1
  3. package/dist/components/editor/plugins/block-menu-kit.d.ts +4 -4
  4. package/dist/components/editor/plugins/block-menu-kit.d.ts.map +1 -1
  5. package/dist/components/editor/plugins/block-selection-kit.d.ts +4 -4
  6. package/dist/components/editor/plugins/block-selection-kit.d.ts.map +1 -1
  7. package/dist/components/editor/plugins/callout-base-kit.d.ts.map +1 -1
  8. package/dist/components/editor/plugins/callout-kit.d.ts.map +1 -1
  9. package/dist/components/editor/plugins/code-block-base-kit.d.ts +2 -2
  10. package/dist/components/editor/plugins/code-block-base-kit.d.ts.map +1 -1
  11. package/dist/components/editor/plugins/comment-base-kit.d.ts.map +1 -1
  12. package/dist/components/editor/plugins/comment-kit.d.ts.map +1 -1
  13. package/dist/components/editor/plugins/date-base-kit.d.ts.map +1 -1
  14. package/dist/components/editor/plugins/date-kit.d.ts.map +1 -1
  15. package/dist/components/editor/plugins/dnd-kit.d.ts.map +1 -1
  16. package/dist/components/editor/plugins/line-height-base-kit.d.ts.map +1 -1
  17. package/dist/components/editor/plugins/line-height-kit.d.ts.map +1 -1
  18. package/dist/components/editor/plugins/math-base-kit.d.ts.map +1 -1
  19. package/dist/components/editor/plugins/math-kit.d.ts.map +1 -1
  20. package/dist/components/editor/plugins/media-base-kit.d.ts.map +1 -1
  21. package/dist/components/editor/plugins/media-kit.d.ts.map +1 -1
  22. package/dist/components/editor/plugins/mention-base-kit.d.ts.map +1 -1
  23. package/dist/components/editor/plugins/mention-kit.d.ts.map +1 -1
  24. package/dist/components/editor/plugins/suggestion-base-kit.d.ts.map +1 -1
  25. package/dist/components/editor/plugins/suggestion-kit.d.ts.map +1 -1
  26. package/dist/components/editor/plugins/table-base-kit.d.ts +2 -2
  27. package/dist/components/editor/plugins/table-base-kit.d.ts.map +1 -1
  28. package/dist/components/editor/plugins/table-kit.d.ts +4 -4
  29. package/dist/components/editor/plugins/table-kit.d.ts.map +1 -1
  30. package/dist/components/editor/plugins/toggle-base-kit.d.ts.map +1 -1
  31. package/dist/components/editor/plugins/toggle-kit.d.ts.map +1 -1
  32. package/dist/components/editor/use-chat.d.ts.map +1 -1
  33. package/dist/components/ui/emoji-toolbar-button.d.ts.map +1 -1
  34. package/dist/components/ui/link-toolbar.d.ts.map +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.map +1 -1
  37. package/package.json +41 -41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oyat/editor",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
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",
@@ -45,41 +45,41 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@ai-sdk/react": "2.0.28",
48
- "@ariakit/react": "^0.4.19",
48
+ "@ariakit/react": "^0.4.20",
49
49
  "@emoji-mart/data": "1.2.1",
50
50
  "@faker-js/faker": "^10.1.0",
51
- "@platejs/ai": "^51.1.2",
52
- "@platejs/autoformat": "^51.1.2",
53
- "@platejs/basic-nodes": "^51.1.2",
54
- "@platejs/basic-styles": "^51.1.2",
55
- "@platejs/callout": "^51.1.2",
56
- "@platejs/caption": "^51.1.2",
57
- "@platejs/code-block": "^51.1.2",
58
- "@platejs/combobox": "^51.1.2",
59
- "@platejs/comment": "^51.1.2",
60
- "@platejs/date": "^51.1.2",
61
- "@platejs/diff": "^51.1.2",
62
- "@platejs/dnd": "^51.1.3",
63
- "@platejs/docx": "^51.1.2",
64
- "@platejs/emoji": "^51.1.2",
65
- "@platejs/excalidraw": "^51.1.2",
66
- "@platejs/floating": "^51.1.2",
67
- "@platejs/indent": "^51.1.2",
68
- "@platejs/juice": "^51.1.2",
69
- "@platejs/layout": "^51.1.2",
70
- "@platejs/link": "^51.1.2",
71
- "@platejs/list": "^51.1.2",
72
- "@platejs/markdown": "^51.1.2",
73
- "@platejs/math": "^51.1.2",
74
- "@platejs/media": "^51.1.2",
75
- "@platejs/mention": "^51.1.2",
76
- "@platejs/resizable": "^51.1.2",
77
- "@platejs/selection": "^51.1.2",
78
- "@platejs/slash-command": "^51.1.2",
79
- "@platejs/suggestion": "^51.1.2",
80
- "@platejs/table": "^51.1.2",
81
- "@platejs/toc": "^51.1.3",
82
- "@platejs/toggle": "^51.1.2",
51
+ "@platejs/ai": "^52.0.4",
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.2",
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.4",
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",
83
83
  "@radix-ui/react-alert-dialog": "^1.1.15",
84
84
  "@radix-ui/react-avatar": "^1.1.11",
85
85
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -92,7 +92,7 @@
92
92
  "@radix-ui/react-toolbar": "^1.1.11",
93
93
  "@radix-ui/react-tooltip": "^1.2.8",
94
94
  "@tailwindcss/vite": "^4.1.17",
95
- "@udecode/cn": "^51.1.2",
95
+ "@udecode/cn": "^52.0.1",
96
96
  "@uploadthing/react": "7.3.3",
97
97
  "ai": "5.0.28",
98
98
  "class-variance-authority": "^0.7.1",
@@ -103,11 +103,11 @@
103
103
  "html2canvas-pro": "^1.5.13",
104
104
  "lodash": "^4.17.21",
105
105
  "lowlight": "^3.3.0",
106
- "lucide-react": "^0.554.0",
106
+ "lucide-react": "^0.555.0",
107
107
  "pdf-lib": "^1.17.1",
108
- "platejs": "^51.1.3",
108
+ "platejs": "^52.0.1",
109
109
  "react": "^19.2.0",
110
- "react-day-picker": "^9.11.1",
110
+ "react-day-picker": "^9.11.2",
111
111
  "react-dnd": "^16.0.1",
112
112
  "react-dnd-html5-backend": "^16.0.1",
113
113
  "react-dom": "^19.2.0",
@@ -123,11 +123,11 @@
123
123
  "tailwindcss": "^4.1.17",
124
124
  "uploadthing": "7.7.4",
125
125
  "use-file-picker": "2.1.2",
126
- "zod": "^4.1.12"
126
+ "zod": "^4.1.13"
127
127
  },
128
128
  "devDependencies": {
129
129
  "@eslint/js": "^9.39.1",
130
- "@types/lodash": "^4.17.20",
130
+ "@types/lodash": "^4.17.21",
131
131
  "@types/node": "^24.10.1",
132
132
  "@types/react": "^19.2.5",
133
133
  "@types/react-dom": "^19.2.3",
@@ -145,7 +145,7 @@
145
145
  "vite-plugin-dts": "^4.5.4"
146
146
  },
147
147
  "peerDependencies": {
148
- "platejs": "^51.0.0",
148
+ "platejs": "^52.0.0",
149
149
  "react": ">=18.0.0",
150
150
  "react-dom": ">=18.0.0"
151
151
  },