@prose-reader/react-reader 1.260.0 → 1.263.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.
@@ -1 +1 @@
1
- export declare const useQuickMenu: () => readonly [boolean, (open: boolean) => void];
1
+ export declare const useQuickMenu: () => readonly [boolean, import('react').Dispatch<import('react').SetStateAction<boolean>>];
@@ -0,0 +1 @@
1
+ export declare const useQuickMenuToggleGesture: () => void;
@@ -1,6 +1,12 @@
1
- export type SETTING_SCOPE = "book" | "device" | "global";
2
- export type SETTING_SCOPE_REFERENCE = "book" | "global" | "mobile" | "tablet" | "desktop";
3
- export declare const SETTINGS_SCOPES: SETTING_SCOPE[];
4
- export declare const SETTINGS_SCOPES_REFERENCES: SETTING_SCOPE_REFERENCE[];
5
- export declare const SCOPE_DEVICE_MOBILE_QUERY = "(max-width: 767px)";
6
- export declare const SCOPE_DEVICE_TABLET_QUERY = "(max-width: 1023px)";
1
+ export declare const PROSE_REACT_READER_SETTINGS_SCOPE_CONFIGURATION: readonly [{
2
+ readonly value: "global";
3
+ readonly references: readonly ["global"];
4
+ }, {
5
+ readonly value: "book";
6
+ readonly references: readonly ["book"];
7
+ }, {
8
+ readonly value: "screen";
9
+ readonly references: readonly ["mobile", "tablet", "desktop"];
10
+ }];
11
+ export type PROSE_REACT_READER_SETTINGS_SCOPE = (typeof PROSE_REACT_READER_SETTINGS_SCOPE_CONFIGURATION)[number]["value"];
12
+ export type PROSE_REACT_READER_SETTINGS_SCOPE_REFERENCE = (typeof PROSE_REACT_READER_SETTINGS_SCOPE_CONFIGURATION)[number]["references"][number];
@@ -0,0 +1 @@
1
+ export declare const useZoomSettings: () => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prose-reader/react-reader",
3
3
  "private": false,
4
- "version": "1.260.0",
4
+ "version": "1.263.0",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
@@ -54,5 +54,5 @@
54
54
  "optional": true
55
55
  }
56
56
  },
57
- "gitHead": "5536550b5e87c48cb1e81853ef9032f623b8b98e"
57
+ "gitHead": "6a44587b76a0bd45298a3713d11205843b4ab2e9"
58
58
  }
@@ -1 +0,0 @@
1
- export declare const useMemoCompare: <T>(value: T, compare: (a: T, b: T) => boolean) => T;