@fileverse-dev/ddoc 2.0.3-sync-patch-10 → 2.0.3-sync-patch-12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/README.md +22 -20
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.es.js +40369 -39423
  4. package/dist/package/components/editor-bubble-menu.d.ts +3 -1
  5. package/dist/package/components/editor-toolbar.d.ts +2 -1
  6. package/dist/package/components/editor-utils.d.ts +12 -2
  7. package/dist/package/components/mobile-toolbar.d.ts +2 -1
  8. package/dist/package/components/secure-image.d.ts +13 -0
  9. package/dist/package/components/slash-comand.d.ts +1 -1
  10. package/dist/package/components/tag-input.d.ts +12 -0
  11. package/dist/package/extensions/customTextInputRules.d.ts +4 -0
  12. package/dist/package/extensions/d-block/dblock-node-view.d.ts +3 -1
  13. package/dist/package/extensions/d-block/dblock.d.ts +1 -0
  14. package/dist/package/extensions/default-extension.d.ts +1 -1
  15. package/dist/package/extensions/page-break/index.d.ts +1 -0
  16. package/dist/package/extensions/page-break/page-break-node-view.d.ts +4 -0
  17. package/dist/package/extensions/page-break/page-break.d.ts +20 -0
  18. package/dist/package/extensions/resizable-media/media-paste-drop-plugin/media-paste-drop-plugin.d.ts +1 -1
  19. package/dist/package/extensions/resizable-media/resizable-media.d.ts +2 -0
  20. package/dist/package/preview-ddoc-editor.d.ts +4 -0
  21. package/dist/package/types.d.ts +11 -19
  22. package/dist/package/use-ddoc-editor.d.ts +4 -8
  23. package/dist/package/utils/security.d.ts +17 -0
  24. package/dist/package/utils/upload-images.d.ts +3 -1
  25. package/dist/style.css +1 -1
  26. package/package.json +5 -4
  27. package/dist/package/extensions/sync-cursor.d.ts +0 -12
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.0.3-sync-patch-10",
5
+ "version": "2.0.3-sync-patch-12",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -28,8 +28,8 @@
28
28
  "dependencies": {
29
29
  "@_ueberdosis/prosemirror-tables": "^1.1.3",
30
30
  "@aarkue/tiptap-math-extension": "^1.3.3",
31
- "@fileverse-dev/sync": "^0.1.4",
32
- "@fileverse/ui": "^4.1.1-patch-8",
31
+ "@fileverse-dev/sync": "^0.1.5",
32
+ "@fileverse/ui": "^4.1.2-patch-9",
33
33
  "@radix-ui/react-focus-scope": "^1.1.0",
34
34
  "@radix-ui/react-popover": "^1.0.7",
35
35
  "@tippyjs/react": "^4.2.6",
@@ -60,11 +60,12 @@
60
60
  "@tiptap/react": "^2.5.4",
61
61
  "@tiptap/starter-kit": "^2.5.4",
62
62
  "@tiptap/suggestion": "^2.5.4",
63
+ "base64-js": "^1.5.1",
63
64
  "classnames": "^2.5.1",
64
65
  "dompurify": "^3.1.6",
65
66
  "embla-carousel-react": "^8.1.5",
66
67
  "ethers": "^6.13.1",
67
- "framer-motion": "^11.2.12",
68
+ "framer-motion": "^11.11.8",
68
69
  "katex": "^0.16.11",
69
70
  "markdown-it-footnote": "^4.0.0",
70
71
  "platform": "^1.3.6",
@@ -1,12 +0,0 @@
1
- import { Extension } from '@tiptap/core';
2
- import { CollaborationCursorOptions, CollaborationCursorStorage } from '../types';
3
-
4
- declare module '@tiptap/core' {
5
- interface Commands<ReturnType> {
6
- collaborationCursor: {
7
- updateUser: (attributes: Record<string, any>) => ReturnType;
8
- user: (attributes: Record<string, any>) => ReturnType;
9
- };
10
- }
11
- }
12
- export declare const SyncCursor: Extension<CollaborationCursorOptions, CollaborationCursorStorage>;