zt-react-milkdown 0.1.34 → 0.1.35

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 (31) hide show
  1. package/dist/index.cjs +6 -368
  2. package/dist/index.mjs +3080 -67098
  3. package/dist/src/core/createEditor.d.ts +6 -0
  4. package/dist/src/core/createEditor.d.ts.map +1 -1
  5. package/dist/src/lib/editor-overlay-position.d.ts +3 -3
  6. package/dist/src/lib/editor-overlay-position.d.ts.map +1 -1
  7. package/dist/src/lib/static-svg-icons.d.ts +24 -0
  8. package/dist/src/lib/static-svg-icons.d.ts.map +1 -0
  9. package/dist/src/plugins/custom/code-block/code-block-editable.d.ts.map +1 -1
  10. package/dist/src/plugins/custom/code-block/code-block-highlighter.d.ts +2 -2
  11. package/dist/src/plugins/custom/code-block/code-block-highlighter.d.ts.map +1 -1
  12. package/dist/src/plugins/custom/code-block/code-block-language-picker.d.ts.map +1 -1
  13. package/dist/src/plugins/custom/code-block/code-block-prism-refresh.d.ts +1 -1
  14. package/dist/src/plugins/custom/code-block/code-block-prism-refresh.d.ts.map +1 -1
  15. package/dist/src/plugins/custom/floating-portal-panel.d.ts.map +1 -1
  16. package/dist/src/plugins/custom/frontmatter/frontmatter-editable.d.ts.map +1 -1
  17. package/dist/src/plugins/custom/image/image-editable.d.ts.map +1 -1
  18. package/dist/src/plugins/custom/math/math-block-editable.d.ts.map +1 -1
  19. package/dist/src/plugins/custom/search/editor-search.d.ts.map +1 -1
  20. package/dist/src/plugins/custom/selection-tooltip/index.d.ts.map +1 -1
  21. package/dist/src/plugins/custom/selection-tooltip/tooltip-view.d.ts +1 -2
  22. package/dist/src/plugins/custom/selection-tooltip/tooltip-view.d.ts.map +1 -1
  23. package/dist/src/plugins/custom/selection-tooltip/types.d.ts +3 -2
  24. package/dist/src/plugins/custom/selection-tooltip/types.d.ts.map +1 -1
  25. package/dist/src/plugins/custom/slash-menu/slash-menu-view.d.ts.map +1 -1
  26. package/dist/src/plugins/custom/slash-menu/slash-menu.d.ts.map +1 -1
  27. package/dist/src/plugins/custom/table/table-focus-actions.d.ts.map +1 -1
  28. package/dist/src/react/components/MilkdownEditor.d.ts.map +1 -1
  29. package/dist/src/react/hooks/useMilkdownEditor.d.ts.map +1 -1
  30. package/dist/style.css +1 -1
  31. package/package.json +5 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zt-react-milkdown",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "A React Markdown editor package powered by Milkdown.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -40,7 +40,6 @@
40
40
  "react-dom": ">=18"
41
41
  },
42
42
  "dependencies": {
43
- "@fontsource-variable/geist": "^5.2.8",
44
43
  "@milkdown/core": "^7.21.1",
45
44
  "@milkdown/ctx": "^7.21.1",
46
45
  "@milkdown/plugin-clipboard": "^7.21.1",
@@ -56,7 +55,6 @@
56
55
  "@milkdown/prose": "^7.21.1",
57
56
  "@milkdown/react": "^7.21.1",
58
57
  "@milkdown/utils": "^7.21.1",
59
- "@tailwindcss/vite": "^4.2.4",
60
58
  "class-variance-authority": "^0.7.1",
61
59
  "clsx": "^2.1.1",
62
60
  "es-toolkit": "^1.46.1",
@@ -68,14 +66,13 @@
68
66
  "refractor": "5.0.0",
69
67
  "remark-frontmatter": "^5.0.0",
70
68
  "remark-math": "^6.0.0",
71
- "shadcn": "^4.4.0",
72
- "tailwind-merge": "^3.5.0",
73
- "tw-animate-css": "^1.4.0"
69
+ "tailwind-merge": "^3.5.0"
74
70
  },
75
71
  "devDependencies": {
76
72
  "@csstools/postcss-cascade-layers": "^6.0.0",
77
73
  "@rollup/rollup-linux-x64-gnu": "^4.60.2",
78
74
  "@tailwindcss/cli": "^4.2.4",
75
+ "@tailwindcss/vite": "^4.2.4",
79
76
  "@testing-library/jest-dom": "^6.9.1",
80
77
  "@testing-library/react": "^16.3.2",
81
78
  "@types/node": "^25.6.0",
@@ -86,7 +83,9 @@
86
83
  "postcss": "^8.5.15",
87
84
  "react": "^18.3.1",
88
85
  "react-dom": "^18.3.1",
86
+ "shadcn": "^4.4.0",
89
87
  "tailwindcss": "^4.2.4",
88
+ "tw-animate-css": "^1.4.0",
90
89
  "typescript": "^6.0.3",
91
90
  "vite": "^8.0.9",
92
91
  "vite-plugin-dts": "^4.5.4",