@oyat/editor 1.7.6 → 1.7.8

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 (33) hide show
  1. package/dist/components/editor/plugins/autoformat-kit.d.ts +1 -1
  2. package/dist/components/editor/plugins/autoformat-kit.d.ts.map +1 -1
  3. package/dist/components/editor/plugins/block-placeholder-kit.d.ts +15 -1
  4. package/dist/components/editor/plugins/block-placeholder-kit.d.ts.map +1 -1
  5. package/dist/components/editor/plugins/exit-break-kit.d.ts +4 -1
  6. package/dist/components/editor/plugins/exit-break-kit.d.ts.map +1 -1
  7. package/dist/components/ui/alert-dialog.d.ts +1 -1
  8. package/dist/components/ui/alert-dialog.d.ts.map +1 -1
  9. package/dist/components/ui/avatar.d.ts +1 -1
  10. package/dist/components/ui/avatar.d.ts.map +1 -1
  11. package/dist/components/ui/button.d.ts.map +1 -1
  12. package/dist/components/ui/calendar.d.ts +5 -3
  13. package/dist/components/ui/calendar.d.ts.map +1 -1
  14. package/dist/components/ui/checkbox.d.ts.map +1 -1
  15. package/dist/components/ui/command.d.ts +2 -2
  16. package/dist/components/ui/command.d.ts.map +1 -1
  17. package/dist/components/ui/context-menu.d.ts +12 -6
  18. package/dist/components/ui/context-menu.d.ts.map +1 -1
  19. package/dist/components/ui/dialog.d.ts.map +1 -1
  20. package/dist/components/ui/dropdown-menu.d.ts +7 -3
  21. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  22. package/dist/components/ui/input-group.d.ts +17 -0
  23. package/dist/components/ui/input-group.d.ts.map +1 -0
  24. package/dist/components/ui/input.d.ts.map +1 -1
  25. package/dist/components/ui/popover.d.ts +1 -1
  26. package/dist/components/ui/popover.d.ts.map +1 -1
  27. package/dist/components/ui/textarea.d.ts +4 -0
  28. package/dist/components/ui/textarea.d.ts.map +1 -0
  29. package/dist/components/ui/tooltip.d.ts +1 -1
  30. package/dist/components/ui/tooltip.d.ts.map +1 -1
  31. package/dist/index.js +838 -835
  32. package/dist/index.js.map +1 -1
  33. package/package.json +13 -9
package/package.json CHANGED
@@ -1,23 +1,25 @@
1
1
  {
2
2
  "name": "@oyat/editor",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
7
7
  "build": "tsc -b && vite build",
8
8
  "lint": "eslint .",
9
+ "format": "prettier --write \"**/*.{ts,tsx}\"",
10
+ "typecheck": "tsc --noEmit",
9
11
  "preview": "vite preview",
10
12
  "build:lib": "vite build --config vite.config.lib.ts",
11
- "prepublishOnly": "npm run build:lib",
12
- "type-check": "tsc --noEmit"
13
+ "prepublishOnly": "npm run build:lib"
13
14
  },
14
15
  "dependencies": {
15
16
  "@ai-sdk/react": "2.0.28",
16
- "@ariakit/react": "^0.4.21",
17
+ "@ariakit/react": "^0.4.23",
17
18
  "@emoji-mart/data": "1.2.1",
18
19
  "@faker-js/faker": "^10.3.0",
20
+ "@fontsource-variable/geist": "^5.2.8",
19
21
  "@platejs/ai": "^52.3.1",
20
- "@platejs/autoformat": "^52.0.11",
22
+ "@platejs/autoformat": "^52.3.4",
21
23
  "@platejs/basic-nodes": "^52.0.11",
22
24
  "@platejs/basic-styles": "^52.0.11",
23
25
  "@platejs/callout": "^52.0.11",
@@ -54,7 +56,7 @@
54
56
  "@radix-ui/react-toolbar": "^1.1.11",
55
57
  "@radix-ui/react-tooltip": "^1.2.8",
56
58
  "@tailwindcss/vite": "^4.1.17",
57
- "@udecode/cn": "^52.0.11",
59
+ "@udecode/cn": "^52.3.4",
58
60
  "@uploadthing/react": "7.3.3",
59
61
  "ai": "5.0.28",
60
62
  "class-variance-authority": "^0.7.1",
@@ -67,7 +69,7 @@
67
69
  "lowlight": "^3.3.0",
68
70
  "lucide-react": "^0.577.0",
69
71
  "pdf-lib": "^1.17.1",
70
- "platejs": "^52.3.2",
72
+ "platejs": "^52.3.4",
71
73
  "radix-ui": "^1.4.3",
72
74
  "react": "^19.2.0",
73
75
  "react-day-picker": "^9.14.0",
@@ -80,10 +82,12 @@
80
82
  "react-tweet": "^3.3.0",
81
83
  "remark-gfm": "^4.0.1",
82
84
  "remark-math": "^6.0.0",
85
+ "shadcn": "^4.0.5",
83
86
  "sonner": "^2.0.7",
84
87
  "tailwind-merge": "^3.5.0",
85
88
  "tailwind-scrollbar-hide": "^4.0.0",
86
89
  "tailwindcss": "^4.1.17",
90
+ "tw-animate-css": "^1.4.0",
87
91
  "uploadthing": "7.7.4",
88
92
  "use-file-picker": "2.1.2",
89
93
  "zod": "^4.3.6"
@@ -99,9 +103,9 @@
99
103
  "eslint-plugin-react-hooks": "^7.0.1",
100
104
  "eslint-plugin-react-refresh": "^0.4.24",
101
105
  "globals": "^16.5.0",
102
- "shadcn": "^3.8.5",
106
+ "prettier": "^3.8.1",
107
+ "prettier-plugin-tailwindcss": "^0.7.2",
103
108
  "terser": "^5.46.0",
104
- "tw-animate-css": "^1.4.0",
105
109
  "typescript": "~5.9.3",
106
110
  "typescript-eslint": "^8.46.4",
107
111
  "vite": "^7.2.4",