@superdoc/react 2.5.0-next.3 → 2.5.0-next.5
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 +18 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
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';
|
|
5
10
|
import { SuperDoc } from 'superdoc';
|
|
6
11
|
import { SuperDocExceptionPayload } from 'superdoc';
|
|
12
|
+
import { ToolbarConfig } from 'superdoc';
|
|
7
13
|
|
|
8
14
|
/**
|
|
9
15
|
* Explicitly typed callback props to ensure proper TypeScript inference.
|
|
@@ -30,6 +36,16 @@ export declare interface CallbackProps {
|
|
|
30
36
|
onViewportChange?: (event: SuperDocViewportChangeEvent) => void;
|
|
31
37
|
}
|
|
32
38
|
|
|
39
|
+
export { CommentInteractionConfig }
|
|
40
|
+
|
|
41
|
+
export { CommentInteractionLevel }
|
|
42
|
+
|
|
43
|
+
export { CommentsConfig }
|
|
44
|
+
|
|
45
|
+
export { CommentsLayout }
|
|
46
|
+
|
|
47
|
+
export { CommentsResponsiveConfig }
|
|
48
|
+
|
|
33
49
|
/** Document mode - extracted from Config.documentMode */
|
|
34
50
|
export declare type DocumentMode = NonNullable<SuperDocConstructorConfig['documentMode']>;
|
|
35
51
|
|
|
@@ -202,6 +218,8 @@ export declare type SuperDocViewportChangeEvent = Parameters<NonNullable<SuperDo
|
|
|
202
218
|
*/
|
|
203
219
|
export declare type SuperDocZoomChangeEvent = Parameters<NonNullable<SuperDocConfig['onZoomChange']>>[0];
|
|
204
220
|
|
|
221
|
+
export { ToolbarConfig }
|
|
222
|
+
|
|
205
223
|
/** User role - extracted from Config.role */
|
|
206
224
|
export declare type UserRole = NonNullable<SuperDocConstructorConfig['role']>;
|
|
207
225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc/react",
|
|
3
|
-
"version": "2.5.0-next.
|
|
3
|
+
"version": "2.5.0-next.5",
|
|
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.
|
|
30
|
+
"superdoc": "2.10.0-next.5"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": ">=16.8.0",
|
|
34
34
|
"react-dom": ">=16.8.0",
|
|
35
|
-
"superdoc": "2.10.0-next.
|
|
35
|
+
"superdoc": "2.10.0-next.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@testing-library/react": "^16.3.0",
|