@superdoc/react 2.5.0-next.4 → 2.5.0-next.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +27 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,9 +1,18 @@
1
+ import { CommentInteractionConfig } from 'superdoc';
2
+ import { CommentInteractionLevel } from 'superdoc';
3
+ import { CommentsConfig } from 'superdoc';
4
+ import { CommentsLayout } from 'superdoc';
5
+ import { CommentsResponsiveConfig } from 'superdoc';
1
6
  import { CSSProperties } from 'react';
2
7
  import { ForwardRefExoticComponent } from 'react';
3
8
  import { ReactNode } from 'react';
4
9
  import { RefAttributes } from 'react';
10
+ import { SearchConfig } from 'superdoc';
11
+ import { SearchFloatingConfig } from 'superdoc';
12
+ import { SearchStrings } from 'superdoc';
5
13
  import { SuperDoc } from 'superdoc';
6
14
  import { SuperDocExceptionPayload } from 'superdoc';
15
+ import { ToolbarConfig } from 'superdoc';
7
16
 
8
17
  /**
9
18
  * Explicitly typed callback props to ensure proper TypeScript inference.
@@ -30,6 +39,16 @@ export declare interface CallbackProps {
30
39
  onViewportChange?: (event: SuperDocViewportChangeEvent) => void;
31
40
  }
32
41
 
42
+ export { CommentInteractionConfig }
43
+
44
+ export { CommentInteractionLevel }
45
+
46
+ export { CommentsConfig }
47
+
48
+ export { CommentsLayout }
49
+
50
+ export { CommentsResponsiveConfig }
51
+
33
52
  /** Document mode - extracted from Config.documentMode */
34
53
  export declare type DocumentMode = NonNullable<SuperDocConstructorConfig['documentMode']>;
35
54
 
@@ -82,6 +101,12 @@ declare interface ReactProps {
82
101
  style?: CSSProperties;
83
102
  }
84
103
 
104
+ export { SearchConfig }
105
+
106
+ export { SearchFloatingConfig }
107
+
108
+ export { SearchStrings }
109
+
85
110
  declare type SuperDocActiveEditor = NonNullable<SuperDocInstance['activeEditor']>;
86
111
 
87
112
  declare type SuperDocActiveEditorDoc = SuperDocActiveEditor extends {
@@ -202,6 +227,8 @@ export declare type SuperDocViewportChangeEvent = Parameters<NonNullable<SuperDo
202
227
  */
203
228
  export declare type SuperDocZoomChangeEvent = Parameters<NonNullable<SuperDocConfig['onZoomChange']>>[0];
204
229
 
230
+ export { ToolbarConfig }
231
+
205
232
  /** User role - extracted from Config.role */
206
233
  export declare type UserRole = NonNullable<SuperDocConstructorConfig['role']>;
207
234
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/react",
3
- "version": "2.5.0-next.4",
3
+ "version": "2.5.0-next.6",
4
4
  "description": "Official React wrapper for the SuperDoc document editor",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -27,12 +27,12 @@
27
27
  ],
28
28
  "license": "AGPL-3.0",
29
29
  "dependencies": {
30
- "superdoc": "2.10.0-next.4"
30
+ "superdoc": "2.10.0-next.6"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",
34
34
  "react-dom": ">=16.8.0",
35
- "superdoc": "2.10.0-next.4"
35
+ "superdoc": "2.10.0-next.6"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@testing-library/react": "^16.3.0",