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

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 +21 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -5,12 +5,19 @@ import { CommentsLayout } from 'superdoc';
5
5
  import { CommentsResponsiveConfig } from 'superdoc';
6
6
  import { CSSProperties } from 'react';
7
7
  import { ForwardRefExoticComponent } from 'react';
8
+ import { HyperlinkActivationContext } from 'superdoc';
9
+ import { HyperlinkActivationHandler } from 'superdoc';
10
+ import { HyperlinkActivationResult } from 'superdoc';
11
+ import { HyperlinkRenderContext } from 'superdoc';
12
+ import { HyperlinksConfig } from 'superdoc';
13
+ import { HyperlinkTarget } from 'superdoc';
8
14
  import { ReactNode } from 'react';
9
15
  import { RefAttributes } from 'react';
10
16
  import { SearchConfig } from 'superdoc';
11
17
  import { SearchFloatingConfig } from 'superdoc';
12
18
  import { SearchStrings } from 'superdoc';
13
19
  import { SuperDoc } from 'superdoc';
20
+ import { SuperDocExceptionHyperlinkPayload } from 'superdoc';
14
21
  import { SuperDocExceptionPayload } from 'superdoc';
15
22
  import { ToolbarConfig } from 'superdoc';
16
23
 
@@ -61,6 +68,18 @@ export declare type EditorSurface = 'body' | 'header' | 'footer';
61
68
  */
62
69
  declare type ExplicitCallbackProps = 'onReady' | 'onEditorCreate' | 'onEditorDestroy' | 'onEditorUpdate' | 'onTransaction' | 'onContentError' | 'onException' | 'onZoomChange' | 'onViewportChange';
63
70
 
71
+ export { HyperlinkActivationContext }
72
+
73
+ export { HyperlinkActivationHandler }
74
+
75
+ export { HyperlinkActivationResult }
76
+
77
+ export { HyperlinkRenderContext }
78
+
79
+ export { HyperlinksConfig }
80
+
81
+ export { HyperlinkTarget }
82
+
64
83
  /**
65
84
  * Props managed internally by the React component (not exposed to users).
66
85
  * - selector: managed by component (creates internal container)
@@ -168,6 +187,8 @@ export declare type SuperDocEditorUpdateEvent = Parameters<NonNullable<SuperDocC
168
187
  */
169
188
  export declare type SuperDocExceptionEvent = SuperDocExceptionPayload;
170
189
 
190
+ export { SuperDocExceptionHyperlinkPayload }
191
+
171
192
  /** SuperDoc instance type - from superdoc package */
172
193
  export declare type SuperDocInstance = InstanceType<typeof SuperDoc>;
173
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/react",
3
- "version": "2.5.0-next.6",
3
+ "version": "2.5.0-next.7",
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.6"
30
+ "superdoc": "2.10.0-next.7"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",
34
34
  "react-dom": ">=16.8.0",
35
- "superdoc": "2.10.0-next.6"
35
+ "superdoc": "2.10.0-next.7"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@testing-library/react": "^16.3.0",