@fileverse-dev/ddoc 3.1.6 → 3.1.7-comment-re-arch-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.
- package/dist/index.es.js +31901 -28481
- package/dist/package/components/inline-comment/comment-card.d.ts +1 -1
- package/dist/package/components/inline-comment/comment-drawer.d.ts +1 -1
- package/dist/package/components/inline-comment/comment-dropdown.d.ts +1 -1
- package/dist/package/components/inline-comment/comment-floating-container.d.ts +1 -0
- package/dist/package/components/inline-comment/comment-floating-layout.d.ts +31 -0
- package/dist/package/components/inline-comment/comment-input-field.d.ts +4 -0
- package/dist/package/components/inline-comment/comment-reply-input.d.ts +8 -0
- package/dist/package/components/inline-comment/comment-section.d.ts +1 -1
- package/dist/package/components/inline-comment/comment-username.d.ts +1 -1
- package/dist/package/components/inline-comment/constants.d.ts +1 -0
- package/dist/package/components/inline-comment/context/types.d.ts +46 -89
- package/dist/package/components/inline-comment/delete-confirm-overlay.d.ts +10 -0
- package/dist/package/components/inline-comment/empty-comments.d.ts +4 -1
- package/dist/package/components/inline-comment/floating-comment/comment-floating-container.d.ts +3 -0
- package/dist/package/components/inline-comment/floating-comment/draft-floating-card.d.ts +3 -0
- package/dist/package/components/inline-comment/floating-comment/floating-auth-prompt.d.ts +1 -0
- package/dist/package/components/inline-comment/floating-comment/floating-card-shell.d.ts +3 -0
- package/dist/package/components/inline-comment/floating-comment/index.d.ts +1 -0
- package/dist/package/components/inline-comment/floating-comment/thread-floating-card.d.ts +3 -0
- package/dist/package/components/inline-comment/floating-comment/types.d.ts +34 -0
- package/dist/package/components/inline-comment/floating-comment-layout-utils.d.ts +78 -0
- package/dist/package/components/inline-comment/resize-inline-comment-textarea.d.ts +1 -0
- package/dist/package/components/inline-comment/types.d.ts +24 -0
- package/dist/package/components/inline-comment/use-anchor-registry.d.ts +34 -0
- package/dist/package/components/inline-comment/use-comment-card.d.ts +29 -0
- package/dist/package/components/inline-comment/use-comment-list-container.d.ts +17 -0
- package/dist/package/components/inline-comment/use-ens-status.d.ts +3 -0
- package/dist/package/components/inline-comment/use-floating-card-state.d.ts +36 -0
- package/dist/package/components/inline-comment/use-floating-comment-card-layout.d.ts +23 -0
- package/dist/package/components/inline-comment/use-floating-comment-card-state.d.ts +13 -0
- package/dist/package/components/inline-comment/use-floating-layout-engine.d.ts +26 -0
- package/dist/package/components/inline-comment/use-is-selected-content-deleted.d.ts +1 -0
- package/dist/package/components/tabs/document-tabs-sidebar.d.ts +2 -1
- package/dist/package/extensions/comment/comment-decoration-plugin.d.ts +68 -0
- package/dist/package/extensions/comment/comment.d.ts +27 -0
- package/dist/package/hooks/use-tab-editor.d.ts +2 -0
- package/dist/package/stores/comment-store-provider.d.ts +55 -0
- package/dist/package/stores/comment-store.d.ts +186 -0
- package/dist/package/types.d.ts +16 -2
- package/dist/package/use-ddoc-editor.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/dist/package/components/inline-comment/context/comment-context.d.ts +0 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DDoc",
|
|
5
|
-
"version": "3.1.
|
|
5
|
+
"version": "3.1.7-comment-re-arch-1",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -114,7 +114,8 @@
|
|
|
114
114
|
"y-prosemirror": "^1.2.5",
|
|
115
115
|
"y-protocols": "^1.0.6",
|
|
116
116
|
"y-webrtc": "^10.3.0",
|
|
117
|
-
"yjs": "^13.6.15"
|
|
117
|
+
"yjs": "^13.6.15",
|
|
118
|
+
"zustand": "^5.0.12"
|
|
118
119
|
},
|
|
119
120
|
"peerDependencies": {
|
|
120
121
|
"@dnd-kit/core": ">=6.3.1",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CommentContextType, CommentProviderProps } from './types';
|
|
2
|
-
|
|
3
|
-
export declare const CommentProvider: ({ children, editor, ydoc, initialComments, setInitialComments, username, setUsername, activeCommentId, setActiveCommentId, activeTabId, focusCommentWithActiveId, onNewComment, onCommentReply, ensResolutionUrl, onResolveComment, onUnresolveComment, onDeleteComment, isConnected, connectViaWallet, isLoading, connectViaUsername, isDDocOwner, onInlineComment, onComment, setCommentDrawerOpen, }: CommentProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const useComments: () => CommentContextType;
|