@fileverse-dev/ddoc 3.0.1 → 3.0.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.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-RRdCSE5H.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-CdBnWpKs.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
@@ -0,0 +1,12 @@
1
+ import { LucideIconProps } from '@fileverse/ui';
2
+ import { IEditorToolElement } from './editor-utils';
3
+
4
+ declare const EditorToolbarDropdown: ({ tool, isLoading, renderContent, }: {
5
+ tool: IEditorToolElement;
6
+ isLoading: boolean;
7
+ renderContent: (tool: {
8
+ title: string;
9
+ icon: LucideIconProps["name"];
10
+ }) => JSX.Element | null;
11
+ }) => import("react/jsx-runtime").JSX.Element;
12
+ export default EditorToolbarDropdown;
@@ -10,6 +10,7 @@ export interface IEditorToolElement {
10
10
  isActive: boolean;
11
11
  group?: string;
12
12
  isNew?: boolean;
13
+ notVisible?: number;
13
14
  }
14
15
  export declare const fonts: {
15
16
  title: string;
@@ -11,6 +11,7 @@ type EditingProviderProps = {
11
11
  isPreviewMode: boolean;
12
12
  isPresentationMode?: boolean;
13
13
  isCollaboratorsDoc?: boolean;
14
+ isPreviewEditor?: boolean;
14
15
  };
15
16
  export declare const EditingProvider: React.FC<EditingProviderProps>;
16
17
  export {};
@@ -1,4 +1,7 @@
1
1
  import { DdocProps } from './types';
2
2
 
3
- declare const PreviewDdocEditor: import('react').ForwardRefExoticComponent<DdocProps & import('react').RefAttributes<unknown>>;
3
+ declare const PreviewDdocEditor: import('react').ForwardRefExoticComponent<DdocProps & {
4
+ contentClassName?: string;
5
+ isLoading?: boolean;
6
+ } & import('react').RefAttributes<unknown>>;
4
7
  export { PreviewDdocEditor };