@pdf-viewer/react 1.12.0-beta.1 → 1.12.0-beta.2
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.
|
@@ -665,7 +665,9 @@ export interface useElementPage {
|
|
|
665
665
|
removeElement: (pageNumber: number, index: number) => void;
|
|
666
666
|
clearElements: (pageNumber: number) => void;
|
|
667
667
|
elementList: Record<number, Array<HTMLElement | JSX.Element>>;
|
|
668
|
-
scrollToElement: (page: number, index: number
|
|
668
|
+
scrollToElement: (page: number, index: number, config: {
|
|
669
|
+
behavior: 'smooth' | 'auto' | 'instant';
|
|
670
|
+
}) => void;
|
|
669
671
|
}
|
|
670
672
|
export interface MatchHighlight extends MatchValue {
|
|
671
673
|
keyword: string | RegExp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState as E, useCallback as h, useEffect as A } from "react";
|
|
2
2
|
import { appConsole as l } from "../appConsole.js";
|
|
3
|
-
const b = /* @__PURE__ */ new Date("2025-11-07T03:
|
|
3
|
+
const b = /* @__PURE__ */ new Date("2025-11-07T03:51:49.711Z"), d = "Please visit https://www.react-pdf.dev/manage-license/ to generate a new license key.", s = {
|
|
4
4
|
invalidLicense: `You are currently using without a valid license. ${d}`,
|
|
5
5
|
mismatchedDomain: `Your license key is not valid for the current domain / IP. ${d}`,
|
|
6
6
|
expired: `Your license key has expired. ${d}`,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@pdf-viewer/react",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.",
|
|
5
|
-
"version": "1.12.0-beta.
|
|
5
|
+
"version": "1.12.0-beta.2",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react-pdf",
|
|
8
8
|
"react-pdf-viewer",
|