@fileverse-dev/ddoc 3.3.1 → 3.3.3

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.d.ts CHANGED
@@ -10,3 +10,5 @@ export type { DdocExportModalProps, ExportFormatOption, ExportTabOption, } from
10
10
  export type { VersionTabSnapshot } from './package/components/tabs/utils/version-diff-snapshot';
11
11
  export { Editor } from '@tiptap/react';
12
12
  export type { CollaborationProps, CollabConnectionConfig, CollabSessionMeta, CollabServices, CollabCallbacks, CollabState, CollabError, CollabErrorCode, CollabStatus, } from './package/sync-local/types';
13
+ export type { CommentMutationMeta, SuggestionType } from './package/types';
14
+ export type { IComment } from './package/extensions/comment/comment.ts';
package/dist/index.es.js CHANGED
@@ -186222,7 +186222,7 @@ const cGe = ({
186222
186222
  value: o,
186223
186223
  onInput: (w) => Qr(w.currentTarget),
186224
186224
  className: "color-bg-default w-full text-body-sm color-text-default !p-0 !border-none h-[20px] max-h-[296px] overflow-y-auto no-scrollbar whitespace-pre-wrap",
186225
- placeholder: n ? "Cannot reply in collaboration mode" : t === 0 ? `Reply to @${cf(r ?? "comment")}` : t >= 2 ? "Add a reply" : "Reply ",
186225
+ placeholder: n ? "Replies off in live collaboration (coming soon)" : t === 0 ? `Reply to @${cf(r ?? "comment")}` : t >= 2 ? "Add a reply" : "Reply ",
186226
186226
  id: e,
186227
186227
  onChange: (w) => {
186228
186228
  d(w), Qr(w.currentTarget);
@@ -186320,7 +186320,7 @@ const cGe = ({
186320
186320
  onKeyDown: (u) => i(u, e),
186321
186321
  className: "color-bg-default w-full text-body-sm color-text-default !p-0 !border-none h-[20px] max-h-[96px] overflow-y-auto no-scrollbar whitespace-pre-wrap",
186322
186322
  disabled: t,
186323
- placeholder: t ? "Cannot add comment in collaboration mode" : "Add a comment",
186323
+ placeholder: t ? "Comments off in live collaboration (coming soon)" : "Add a comment",
186324
186324
  onInput: (u) => Qr(u.currentTarget, 96)
186325
186325
  }
186326
186326
  )
@@ -189180,7 +189180,7 @@ const lXe = ({
189180
189180
  b.key === "Enter" && (!b.shiftKey || b.metaKey) && (b.preventDefault(), m());
189181
189181
  },
189182
189182
  className: "color-bg-default w-full text-body-sm color-text-default !p-0 !border-none h-[20px] max-h-[296px] overflow-y-auto no-scrollbar whitespace-pre-wrap",
189183
- placeholder: n ? "Cannot send reply in collaboration mode" : p ? "Add a reply" : "Thread resolved",
189183
+ placeholder: n ? "Replies off in live collaboration (coming soon)" : p ? "Add a reply" : "Thread resolved",
189184
189184
  disabled: !p || n
189185
189185
  }
189186
189186
  )
@@ -189364,7 +189364,7 @@ const lXe = ({
189364
189364
  j.key === "Enter" && (!j.shiftKey || j.metaKey) && (j.preventDefault(), w());
189365
189365
  },
189366
189366
  className: "color-bg-default w-full text-body-sm color-text-default !p-0 !border-none h-[20px] max-h-[296px] overflow-y-auto no-scrollbar whitespace-pre-wrap",
189367
- placeholder: n ? "Cannot send reply in collaboration mode" : s ? "Add a reply" : "Thread resolved",
189367
+ placeholder: n ? "Replies off in live collaboration (coming soon)" : s ? "Add a reply" : "Thread resolved",
189368
189368
  disabled: !s || n
189369
189369
  }
189370
189370
  )
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.3.1",
5
+ "version": "3.3.3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {