@prose-reader/react-reader 1.317.0 → 1.319.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/ReactReader.d.ts +2 -2
- package/dist/annotations/AnnotateControls.d.ts +1 -1
- package/dist/annotations/AnnotationDrawer.d.ts +1 -1
- package/dist/annotations/AnnotationListItem.d.ts +1 -1
- package/dist/annotations/AnnotationsDialog.d.ts +1 -1
- package/dist/annotations/AnnotationsDialogContent.d.ts +1 -1
- package/dist/annotations/AnnotationsList.d.ts +1 -1
- package/dist/annotations/bookmarks/BookmarkPageMarker.d.ts +1 -1
- package/dist/annotations/bookmarks/BookmarkPageMarkers.d.ts +1 -1
- package/dist/annotations/bookmarks/BookmarksList.d.ts +1 -1
- package/dist/audio/AudioControlsSection.d.ts +1 -1
- package/dist/audio/wave/AudioWaveCanvas.d.ts +1 -1
- package/dist/common/FloatingMenu.d.ts +1 -1
- package/dist/common/Spine.d.ts +1 -1
- package/dist/common/SpineItem.d.ts +1 -1
- package/dist/components/AppDialog.d.ts +1 -1
- package/dist/components/ui/slider.d.ts +1 -1
- package/dist/components/ui/toaster.d.ts +1 -1
- package/dist/context/ReactReaderProvider.d.ts +2 -2
- package/dist/context/useReader.d.ts +2 -0
- package/dist/fonts/FontSizeControlsDialog.d.ts +1 -1
- package/dist/gallery/GalleryDialog.d.ts +1 -1
- package/dist/help/HelpDialog.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +688 -570
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/navigation/FloatingProgress.d.ts +1 -1
- package/dist/navigation/FloatingTime.d.ts +1 -1
- package/dist/navigation/SpreadRotationHint.d.ts +4 -3
- package/dist/quickmenu/BottomBar.d.ts +1 -1
- package/dist/quickmenu/PaginationInfoSection.d.ts +1 -1
- package/dist/quickmenu/QuickBar.d.ts +1 -1
- package/dist/quickmenu/QuickMenu.d.ts +1 -1
- package/dist/quickmenu/Scrubber.d.ts +1 -1
- package/dist/quickmenu/ThemedSlider.d.ts +1 -1
- package/dist/quickmenu/TimeIndicator.d.ts +1 -1
- package/dist/quickmenu/TopBar.d.ts +1 -1
- package/dist/refit/RefitDialog.d.ts +1 -1
- package/dist/search/SearchDialog.d.ts +1 -1
- package/dist/search/SearchDialogContent.d.ts +1 -1
- package/dist/search/SearchListItem.d.ts +1 -1
- package/dist/toc/TableOfContentsDialog.d.ts +1 -1
- package/dist/toc/TableOfContentsDialogContent.d.ts +1 -1
- package/dist/zoom/ZoomControls.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FloatingProgress: () => import("react
|
|
1
|
+
export declare const FloatingProgress: () => import("react").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FloatingTime: import('react').MemoExoticComponent<() => import("react
|
|
1
|
+
export declare const FloatingTime: import('react').MemoExoticComponent<() => import("react").JSX.Element>;
|
|
@@ -5,17 +5,18 @@ type ViewportDimensions = {
|
|
|
5
5
|
width: number;
|
|
6
6
|
};
|
|
7
7
|
type ViewportState = `busy` | `free`;
|
|
8
|
-
type HintPagination = Pick<PaginationInfo & ExtraPaginationInfo, `
|
|
8
|
+
type HintPagination = Pick<PaginationInfo & ExtraPaginationInfo, `beginPageIndexInSpineItem` | `beginSpineItemIndex` | `endPageIndexInSpineItem` | `endSpineItemIndex`>;
|
|
9
9
|
export declare const wouldRotationUseComputedSpreadMode: ({ manifest, viewport, }: {
|
|
10
10
|
manifest: Manifest;
|
|
11
11
|
viewport: ViewportDimensions;
|
|
12
12
|
}) => boolean;
|
|
13
|
-
export declare const getSpreadRotationHintTargetKey: ({ manifest, pagination, computedSpreadMode, viewportState, viewport, }: {
|
|
13
|
+
export declare const getSpreadRotationHintTargetKey: ({ manifest, pagination, computedSpreadMode, viewportState, viewport, isPanorama, }: {
|
|
14
14
|
manifest: Manifest;
|
|
15
15
|
pagination: HintPagination;
|
|
16
16
|
computedSpreadMode: boolean;
|
|
17
17
|
viewportState: ViewportState;
|
|
18
18
|
viewport: ViewportDimensions;
|
|
19
|
+
isPanorama: boolean;
|
|
19
20
|
}) => string | undefined;
|
|
20
|
-
export declare const SpreadRotationHint: import('react').MemoExoticComponent<() => import("react
|
|
21
|
+
export declare const SpreadRotationHint: import('react').MemoExoticComponent<() => import("react").JSX.Element>;
|
|
21
22
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const BottomBar: import('react').MemoExoticComponent<({ open, onItemClick, }: {
|
|
2
2
|
open: boolean;
|
|
3
3
|
onItemClick: (item: "annotations" | "search" | "help" | "toc" | "bookmarks" | "gallery") => void;
|
|
4
|
-
}) => import("react
|
|
4
|
+
}) => import("react").JSX.Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PaginationInfoSection: () => import("react
|
|
1
|
+
export declare const PaginationInfoSection: () => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const QuickMenu: import('react').MemoExoticComponent<({ onItemClick, }: {
|
|
2
2
|
onItemClick: (item: "annotations" | "search" | "help" | "toc" | "bookmarks" | "more" | "back" | "gallery") => void;
|
|
3
|
-
}) => import("react
|
|
3
|
+
}) => import("react").JSX.Element>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { ThemedSlider } from './ThemedSlider';
|
|
3
|
-
export declare const Scrubber: (props: ComponentProps<typeof ThemedSlider>) => import("react
|
|
3
|
+
export declare const Scrubber: (props: ComponentProps<typeof ThemedSlider>) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as RcSlider } from 'rc-slider';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
|
-
export declare const ThemedSlider: import('react').MemoExoticComponent<(props: ComponentProps<typeof RcSlider>) => import("react
|
|
3
|
+
export declare const ThemedSlider: import('react').MemoExoticComponent<(props: ComponentProps<typeof RcSlider>) => import("react").JSX.Element>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TextProps } from '@chakra-ui/react';
|
|
2
2
|
export declare const useTime: () => Date;
|
|
3
|
-
export declare const TimeIndicator: (props: TextProps) => import("react
|
|
3
|
+
export declare const TimeIndicator: (props: TextProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RefitDialog: import('react').MemoExoticComponent<() => import("react
|
|
1
|
+
export declare const RefitDialog: import('react').MemoExoticComponent<() => import("react").JSX.Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ZoomControls: import('react').MemoExoticComponent<() => import("react
|
|
1
|
+
export declare const ZoomControls: import('react').MemoExoticComponent<() => import("react").JSX.Element>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prose-reader/react-reader",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.319.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@chakra-ui/react": "3.x",
|
|
31
31
|
"@emotion/react": "11.x",
|
|
32
|
+
"@prose-reader/cbz": "^1.169.0",
|
|
32
33
|
"@prose-reader/core": "^1.169.0",
|
|
33
34
|
"@prose-reader/enhancer-annotations": "^1.169.0",
|
|
34
35
|
"@prose-reader/enhancer-audio": "^1.169.0",
|
|
@@ -44,5 +45,5 @@
|
|
|
44
45
|
"reactjrx": "1.x",
|
|
45
46
|
"screenfull": "^6.0.2"
|
|
46
47
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "348f1339ba2628c81b516bbbdce9dc0cf253a6a7"
|
|
48
49
|
}
|