@fileverse-dev/ddoc 3.0.45-patch-39 → 3.0.45-patch-41

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index--28CX7qN.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-CSM6PTVC.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
@@ -31,7 +31,7 @@ export interface DocumentTabsSidebarProps {
31
31
  }
32
32
  export declare const DocumentTabsSidebar: ({ tabSectionContainer, ...rest }: DocumentTabsSidebarProps) => import("react/jsx-runtime").JSX.Element | null;
33
33
  export declare const TabSidebar: ({ tabs, activeTabId, setActiveTabId, showTOC, setShowTOC, hasToC, isPreviewMode, editor, items, setItems, orientation, createTab, renameTab, duplicateTab, orderTab, ydoc, tabCommentCounts, isVersionHistoryMode, }: DocumentTabsSidebarProps) => import("react/jsx-runtime").JSX.Element;
34
- export declare const DdocTab: ({ tab, tabIndex, tabCount, handleEmojiChange, handleNameChange, onClick, editor, tocItem, setTocItems, orientation, activeTabId, duplicateTab, activeDragId, ydoc, commentCount, moveTabUp, moveTabDown, isPreviewMode, }: {
34
+ export declare const DdocTab: ({ tab, tabIndex, tabCount, handleEmojiChange, handleNameChange, onClick, editor, tocItem, setTocItems, orientation, activeTabId, duplicateTab, activeDragId, ydoc, commentCount, moveTabUp, moveTabDown, isPreviewMode, isVersionHistoryMode, }: {
35
35
  tab: Tab;
36
36
  tabIndex: number;
37
37
  tabCount: number;
@@ -50,4 +50,5 @@ export declare const DdocTab: ({ tab, tabIndex, tabCount, handleEmojiChange, han
50
50
  moveTabUp: () => void;
51
51
  moveTabDown: () => void;
52
52
  isPreviewMode: boolean;
53
+ isVersionHistoryMode?: boolean;
53
54
  }) => import("react/jsx-runtime").JSX.Element;
@@ -20,6 +20,7 @@ export interface TabItemProps {
20
20
  onMoveUp?: () => void;
21
21
  onMoveDown?: () => void;
22
22
  isPreviewMode: boolean;
23
+ isVersionHistoryMode?: boolean;
23
24
  }
24
25
  interface SortableTabItemProps extends Omit<TabItemProps, 'dragHandleProps'> {
25
26
  id: string;
@@ -36,7 +37,7 @@ interface TabContextMenuProps {
36
37
  sections: TabContextMenuItem[][];
37
38
  }
38
39
  export declare const SortableTabItem: (props: SortableTabItemProps) => import("react/jsx-runtime").JSX.Element;
39
- export declare const TabItem: ({ tabId, name, emoji, commentCount, onNameChange, onEmojiChange, onClick, isActive, onDuplicate, dragHandleProps, hideContentMenu, showOutline, handleShowOutline, canMoveUp, canMoveDown, onMoveUp, onMoveDown, isPreviewMode, }: TabItemProps) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const TabItem: ({ tabId, name, emoji, commentCount, onNameChange, onEmojiChange, onClick, isActive, onDuplicate, dragHandleProps, hideContentMenu, showOutline, handleShowOutline, canMoveUp, canMoveDown, onMoveUp, onMoveDown, isPreviewMode, isVersionHistoryMode, }: TabItemProps) => import("react/jsx-runtime").JSX.Element;
40
41
  export declare const TabDragPreview: ({ name, emoji, }: {
41
42
  name: string;
42
43
  emoji: string;