@prose-reader/react-reader 1.242.0 → 1.244.0
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/annotations/useReaderWithAnnotations.d.ts +1 -0
- package/dist/context/context.d.ts +1 -0
- package/dist/context/useReader.d.ts +3 -0
- package/dist/context/useReaderContext.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +804 -663
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/refit/RefitDialog.d.ts +1 -0
- package/package.json +6 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const useReaderWithAnnotations: () => (Omit<Omit<Omit<Omit<{
|
|
2
|
+
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
2
3
|
context: import('@prose-reader/core').Context;
|
|
3
4
|
spine: import('@prose-reader/core').Spine;
|
|
4
5
|
hookManager: import('@prose-reader/core').HookManager<import('@prose-reader/core').CoreHook>;
|
|
@@ -8,6 +8,7 @@ type ContextType = {
|
|
|
8
8
|
reader: (Reader & GesturesEnhancerAPI) | undefined;
|
|
9
9
|
quickMenuSignal: Signal<boolean, undefined>;
|
|
10
10
|
notificationsSubject: Subject<ReaderNotification>;
|
|
11
|
+
refitMenuSignal: Signal<boolean, undefined>;
|
|
11
12
|
};
|
|
12
13
|
export declare const ReaderContext: Context<ContextType>;
|
|
13
14
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Reader } from '@prose-reader/core';
|
|
2
2
|
import { AnnotationsEnhancerAPI } from '@prose-reader/enhancer-annotations';
|
|
3
3
|
import { GalleryEnhancerAPI } from '@prose-reader/enhancer-gallery';
|
|
4
|
+
import { RefitEnhancerAPI } from '@prose-reader/enhancer-refit';
|
|
4
5
|
import { SearchEnhancerAPI } from '@prose-reader/enhancer-search';
|
|
5
6
|
export declare const useReader: () => (Omit<Omit<Omit<Omit<{
|
|
7
|
+
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
6
8
|
context: import('@prose-reader/core').Context;
|
|
7
9
|
spine: import('@prose-reader/core').Spine;
|
|
8
10
|
hookManager: import('@prose-reader/core').HookManager<import('@prose-reader/core').CoreHook>;
|
|
@@ -190,3 +192,4 @@ export declare const useReader: () => (Omit<Omit<Omit<Omit<{
|
|
|
190
192
|
export declare const hasSearchEnhancer: (reader?: Reader) => reader is Reader & SearchEnhancerAPI;
|
|
191
193
|
export declare const hasAnnotationsEnhancer: (reader?: Reader) => reader is Reader & AnnotationsEnhancerAPI;
|
|
192
194
|
export declare const hasGalleryEnhancer: (reader?: Reader) => reader is Reader & GalleryEnhancerAPI;
|
|
195
|
+
export declare const hasRefitEnhancer: (reader?: Reader) => reader is Reader & RefitEnhancerAPI;
|
|
@@ -2,4 +2,5 @@ export declare const useReaderContext: () => {
|
|
|
2
2
|
reader: (import('@prose-reader/core').Reader & import('@prose-reader/enhancer-gestures').EnhancerAPI) | undefined;
|
|
3
3
|
quickMenuSignal: import('reactjrx').Signal<boolean, undefined>;
|
|
4
4
|
notificationsSubject: import('rxjs').Subject<import('../notifications/types').ReaderNotification>;
|
|
5
|
+
refitMenuSignal: import('reactjrx').Signal<boolean, undefined>;
|
|
5
6
|
};
|
package/dist/index.d.ts
CHANGED