@pdf-viewer/react 1.7.1 → 1.7.2-rc.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,31 +1,33 @@
1
- import { jsx as e, Fragment as u, jsxs as o } from "react/jsx-runtime";
2
- import { G as p } from "../../../index-7279fb4e.js";
3
- import { MenuSeparator as d } from "./MenuSeparator.js";
4
- import { MenuItem as t } from "./MenuItem.js";
5
- import { DualPageIcon as f } from "../../icons/SinglePageIcon.js";
1
+ import { jsx as e, Fragment as f, jsxs as r } from "react/jsx-runtime";
2
+ import { G as s } from "../../../index-7279fb4e.js";
3
+ import { MenuSeparator as h } from "./MenuSeparator.js";
4
+ import { MenuItem as i } from "./MenuItem.js";
5
+ import { DualPageIcon as P } from "../../icons/SinglePageIcon.js";
6
6
  import { SinglePageIcon as g } from "../../icons/DualPageIcon.js";
7
- import { useViewModeContext as M } from "../../../contexts/ViewModeContext.js";
8
- import { ScrollMode as h, ViewMode as i } from "../../../utils/types.js";
7
+ import { useViewModeContext as C } from "../../../contexts/ViewModeContext.js";
8
+ import { ScrollMode as I, ViewMode as m } from "../../../utils/types.js";
9
9
  import { CheckIcon as l } from "../../icons/CheckIcon.js";
10
- import { useToolbarComponentContext as I } from "../../../contexts/ToolbarComponentContext.js";
11
- import { useScrollModeContext as S } from "../../../contexts/ScrollModeContext.js";
12
- import { useMemo as C } from "react";
13
- const N = () => /* @__PURE__ */ e(g, {}), x = () => /* @__PURE__ */ e(f, {}), V = () => {
14
- const { viewMode: r, setDualPage: m, setSinglePage: c } = M(), { viewModeTool: s } = I(), { scrollMode: n } = S(), a = C(() => [h.HORIZONTAL_SCROLLING].includes(n), [n]);
15
- return s ? /* @__PURE__ */ e(u, { children: /* @__PURE__ */ o(p, { children: [
16
- /* @__PURE__ */ o(t, { onClick: c, children: [
17
- /* @__PURE__ */ e("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ e(N, {}) }),
18
- "Single page",
19
- r === i.SINGLE_PAGE ? /* @__PURE__ */ e(l, { className: "rp-menu-item-right" }) : null
20
- ] }),
21
- /* @__PURE__ */ o(t, { disabled: a, onClick: m, children: [
22
- /* @__PURE__ */ e("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ e(x, {}) }),
23
- "Dual page",
24
- r === i.DUAL_PAGE ? /* @__PURE__ */ e(l, { className: "rp-menu-item-right" }) : null
25
- ] }),
26
- /* @__PURE__ */ e(d, {})
10
+ import { useToolbarComponentContext as N } from "../../../contexts/ToolbarComponentContext.js";
11
+ import { useScrollModeContext as L } from "../../../contexts/ScrollModeContext.js";
12
+ import { useMemo as S } from "react";
13
+ import { useLocalizationContext as x } from "../../../contexts/LocalizationContext.js";
14
+ import c from "../../ui/RPTooltip.js";
15
+ const T = () => /* @__PURE__ */ e(g, {}), G = () => /* @__PURE__ */ e(P, {}), F = () => {
16
+ const { viewMode: t, setDualPage: u, setSinglePage: p } = C(), { viewModeTool: d } = N(), { scrollMode: n } = L(), { localeMessages: o } = x(), a = S(() => [I.HORIZONTAL_SCROLLING].includes(n), [n]);
17
+ return d ? /* @__PURE__ */ e(f, { children: /* @__PURE__ */ r(s, { children: [
18
+ /* @__PURE__ */ e(i, { onClick: p, children: /* @__PURE__ */ r(c, { className: "rp-menu-item", content: o == null ? void 0 : o.singlePageTooltip, children: [
19
+ /* @__PURE__ */ e("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ e(T, {}) }),
20
+ o == null ? void 0 : o.singlePageLabel,
21
+ t === m.SINGLE_PAGE ? /* @__PURE__ */ e(l, { className: "rp-menu-item-right" }) : null
22
+ ] }) }),
23
+ /* @__PURE__ */ e(i, { disabled: a, onClick: u, children: /* @__PURE__ */ r(c, { className: "rp-menu-item", content: o == null ? void 0 : o.dualPageTooltip, children: [
24
+ /* @__PURE__ */ e("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ e(G, {}) }),
25
+ o == null ? void 0 : o.dualPageLabel,
26
+ t === m.DUAL_PAGE ? /* @__PURE__ */ e(l, { className: "rp-menu-item-right" }) : null
27
+ ] }) }),
28
+ /* @__PURE__ */ e(h, {})
27
29
  ] }) }) : null;
28
30
  };
29
31
  export {
30
- V as ViewModeTool
32
+ F as ViewModeTool
31
33
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as t } from "react/jsx-runtime";
2
- import { useState as c } from "react";
2
+ import { useState as u } from "react";
3
3
  import { c as o } from "../../clsx-0c6e471a.js";
4
- import { useLocalizationContext as u } from "../../contexts/LocalizationContext.js";
4
+ import { useLocalizationContext as c } from "../../contexts/LocalizationContext.js";
5
5
  import { useDocumentPasswordContext as _ } from "../../contexts/DocumentPasswordContext.js";
6
6
  import '../../assets/PasswordModal.css';const r = {
7
7
  "rp-password-overlay": "_rp-password-overlay_18s56_1",
@@ -13,12 +13,12 @@ import '../../assets/PasswordModal.css';const r = {
13
13
  "rp-password-input-invalid": "_rp-password-input-invalid_18s56_62",
14
14
  "rp-password-message-invalid": "_rp-password-message-invalid_18s56_66",
15
15
  "rp-password-submit-button": "_rp-password-submit-button_18s56_72"
16
- }, C = () => {
17
- const [p, e] = c(""), { localeMessages: s } = u(), { setPassword: l, invalidPassword: i } = _(), m = (d) => {
16
+ }, P = () => {
17
+ const [p, e] = u(""), { localeMessages: s } = c(), { setPassword: m, invalidPassword: i } = _(), w = (d) => {
18
18
  e(d.target.value);
19
19
  }, n = (d) => {
20
- d.preventDefault(), p && p.trim() && l(p);
21
- }, w = !p.trim();
20
+ d.preventDefault(), p && p.trim() && m(p);
21
+ }, l = !p.trim();
22
22
  return /* @__PURE__ */ a("div", { className: o(r["rp-password-overlay"]), children: /* @__PURE__ */ t("div", { className: o(r["rp-password-modal"]), children: [
23
23
  /* @__PURE__ */ a("div", { className: o(r["rp-password-title"]), children: s == null ? void 0 : s.passwordModalTitle }),
24
24
  /* @__PURE__ */ a("div", { className: o(r["rp-password-content"]), children: s == null ? void 0 : s.passwordModalMessage }),
@@ -29,22 +29,22 @@ import '../../assets/PasswordModal.css';const r = {
29
29
  {
30
30
  type: "password",
31
31
  value: p,
32
- onChange: m,
32
+ onChange: w,
33
33
  className: o(
34
34
  r["rp-password-input"],
35
35
  i && r["rp-password-input-invalid"]
36
36
  ),
37
- placeholder: "Enter password",
37
+ placeholder: s == null ? void 0 : s.passwordPlaceholder,
38
38
  autoComplete: "off"
39
39
  }
40
40
  ),
41
- /* @__PURE__ */ a("div", { className: o(r["rp-password-message-invalid"]), children: i && /* @__PURE__ */ a("span", { children: "Incorrect password" }) })
41
+ /* @__PURE__ */ a("div", { className: o(r["rp-password-message-invalid"]), children: i && /* @__PURE__ */ a("span", { children: s == null ? void 0 : s.passwordError }) })
42
42
  ] }),
43
43
  /* @__PURE__ */ a(
44
44
  "button",
45
45
  {
46
46
  type: "submit",
47
- disabled: w,
47
+ disabled: l,
48
48
  className: o(r["rp-password-submit-button"]),
49
49
  onClick: n,
50
50
  children: s == null ? void 0 : s.passwordConfirmLabel
@@ -54,5 +54,5 @@ import '../../assets/PasswordModal.css';const r = {
54
54
  ] }) });
55
55
  };
56
56
  export {
57
- C as default
57
+ P as default
58
58
  };
@@ -154,7 +154,7 @@ const o = "Search in Document", e = "Enter to search", t = "Search", l = "Previo
154
154
  passwordConfirmLabel: Ke,
155
155
  passwordError: Ge,
156
156
  dragDropFileMessage: _e
157
- }, He = "Cerca nel documento", Ue = "Premi Invio per cercare", Ze = "Cerca", Qe = "Corrispondenza precedente", Je = "Corrispondenza successiva", Xe = "Chiudi", Ye = "Maiuscole/minuscole", ot = "Cerca testo con distinzione maiuscole/minuscole", et = "Parola intera", tt = "Cerca esatte parole senza distinzione maiuscole/minuscole", lt = "Pagina precedente", at = "Pagina corrente", it = "Pagina successiva", rt = "Ridurre", st = "Ingrandire", nt = "Seleziona un livello di zoom", ct = "Dimensioni effettive", pt = "Adatta pagina", dt = "Larghezza pagina", bt = "Abilita tema scuro", Tt = "Abilita tema chiaro", gt = "Aprire file", Lt = "Aprire file", ut = "Scaricare file", $t = "Scaricare file", ht = "Stampa", Pt = "Stampa", mt = "Preparazione del documento", St = "Annulla", wt = "Schermo intero", Ct = "Schermo intero", zt = "Altre opzioni", Ft = "Prima pagina", vt = "Vai alla prima pagina", Mt = "Ultima pagina", ft = "Vai all’ultima pagina", Dt = "Ruota in senso orario", kt = "Ruota in senso orario", xt = "Ruota in senso antiorario", At = "Ruota in senso antiorario", Wt = "Strumento di selezione testo", Et = "Abilita strumento di selezione testo", Ot = "Strumento mano", It = "Abilita strumento mano", Bt = "Proprietà documento", Vt = "Visualizza proprietà documento", Nt = "Scorrimento pagina", qt = "Abilita lo scorrimento delle pagine", Rt = "Scorrimento verticale", jt = "Abilita lo scorrimento verticale", yt = "Scorrimento orizzontale", Kt = "Abilita lo scorrimento orizzontale", Gt = "Scorrimento avvolto", _t = "Abilita lo scorrimento avvolto", Ht = "Doppio", Ut = "Visualizzazione singola", Zt = "Singolo", Qt = "Visualizzazione doppio", Jt = "Nome file", Xt = "Dimensione file", Yt = "Titolo", ol = "Autore", el = "Oggetto", tl = "Parole chiave", ll = "Creatore", al = "Creato il", il = "Modificato il", rl = "Produttore PDF", sl = "Versione PDF", nl = "Numero di pagine", cl = "Miniature", pl = "Password richiesta", dl = "Questo documento è protetto da password. Si prega di inserire una password per aprire il file.", bl = "Inserisci la password", Tl = "Invia", gl = "Password errata", Ll = "Trascina e rilascia il file PDF qui", pr = {
157
+ }, He = "Cerca nel documento", Ue = "Premi Invio per cercare", Ze = "Cerca", Qe = "Corrispondenza precedente", Je = "Corrispondenza successiva", Xe = "Chiudi", Ye = "Maiuscole/minuscole", ot = "Cerca testo con distinzione maiuscole/minuscole", et = "Parola intera", tt = "Cerca esatte parole senza distinzione maiuscole/minuscole", lt = "Pagina precedente", at = "Pagina corrente", it = "Pagina successiva", rt = "Ridurre", st = "Ingrandire", nt = "Seleziona un livello di zoom", ct = "Dimensioni effettive", pt = "Adatta pagina", dt = "Larghezza pagina", bt = "Abilita tema scuro", Tt = "Abilita tema chiaro", gt = "Aprire file", Lt = "Aprire file", ut = "Scaricare file", $t = "Scaricare file", ht = "Stampa", Pt = "Stampa", mt = "Preparazione del documento", St = "Annulla", wt = "Schermo intero", Ct = "Schermo intero", zt = "Altre opzioni", Ft = "Prima pagina", vt = "Vai alla prima pagina", Mt = "Ultima pagina", ft = "Vai all’ultima pagina", Dt = "Ruota in senso orario", kt = "Ruota in senso orario", xt = "Ruota in senso antiorario", At = "Ruota in senso antiorario", Wt = "Strumento di selezione testo", Et = "Abilita strumento di selezione testo", Ot = "Strumento mano", It = "Abilita strumento mano", Bt = "Proprietà documento", Vt = "Visualizza proprietà documento", Nt = "Scorrimento pagina", qt = "Abilita lo scorrimento delle pagine", Rt = "Scorrimento verticale", jt = "Abilita lo scorrimento verticale", yt = "Scorrimento orizzontale", Kt = "Abilita lo scorrimento orizzontale", Gt = "Scorrimento avvolto", _t = "Abilita lo scorrimento avvolto", Ht = "Singolo", Ut = "Visualizzazione singola", Zt = "Doppio", Qt = "Visualizzazione doppio", Jt = "Nome file", Xt = "Dimensione file", Yt = "Titolo", ol = "Autore", el = "Oggetto", tl = "Parole chiave", ll = "Creatore", al = "Creato il", il = "Modificato il", rl = "Produttore PDF", sl = "Versione PDF", nl = "Numero di pagine", cl = "Miniature", pl = "Password richiesta", dl = "Questo documento è protetto da password. Si prega di inserire una password per aprire il file.", bl = "Inserisci la password", Tl = "Invia", gl = "Password errata", Ll = "Trascina e rilascia il file PDF qui", pr = {
158
158
  searchButtonTooltip: He,
159
159
  searchInputPlaceholder: Ue,
160
160
  searchInputTooltip: Ze,
@@ -53,9 +53,9 @@ declare const _default: {
53
53
  "horizontalTooltip": "Abilita lo scorrimento orizzontale",
54
54
  "wrappedScrollingLabel": "Scorrimento avvolto",
55
55
  "wrappedScrollingTooltip": "Abilita lo scorrimento avvolto",
56
- "singlePageLabel": "Doppio",
56
+ "singlePageLabel": "Singolo",
57
57
  "singlePageTooltip": "Visualizzazione singola",
58
- "dualPageLabel": "Singolo",
58
+ "dualPageLabel": "Doppio",
59
59
  "dualPageTooltip": "Visualizzazione doppio",
60
60
  "propertiesFilenameLabel": "Nome file",
61
61
  "propertiesFileSizeLabel": "Dimensione file",
@@ -1,6 +1,6 @@
1
1
  import { useState as g, useCallback as h, useEffect as A } from "react";
2
2
  import { appConsole as c } from "../appConsole.js";
3
- const b = /* @__PURE__ */ new Date("2025-06-17T09:54:30.209Z"), l = "Please visit https://www.react-pdf.dev/manage-license/ to generate a new license key.", s = {
3
+ const b = /* @__PURE__ */ new Date("2025-06-18T04:20:54.952Z"), l = "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. ${l}`,
5
5
  mismatchedDomain: `Your license key is not valid for the current domain / IP. ${l}`,
6
6
  expired: `Your license key has expired. ${l}`,
@@ -1,5 +1,5 @@
1
1
  import { useState as a, useMemo as m } from "react";
2
- import { e as s, t as p, z as u, i as _, p as L } from "../../th_TH-2c4015a5.js";
2
+ import { e as s, t as p, z as u, i as _, p as L } from "../../th_TH-4af60d36.js";
3
3
  const f = (e) => {
4
4
  const [o, c] = a(e), [t, i] = a({
5
5
  en_US: s,
@@ -1,4 +1,4 @@
1
- import { e as r, z as _, i as R, p as o, t as p } from "../th_TH-2c4015a5.js";
1
+ import { e as r, z as _, i as R, p as o, t as p } from "../th_TH-4af60d36.js";
2
2
  var D = /* @__PURE__ */ ((O) => (O[O.Text = 1] = "Text", O[O.Link = 2] = "Link", O[O.FreeText = 3] = "FreeText", O[O.Line = 4] = "Line", O[O.Square = 5] = "Square", O[O.Circle = 6] = "Circle", O[O.Polygon = 7] = "Polygon", O[O.Polyline = 8] = "Polyline", O[O.Highlight = 9] = "Highlight", O[O.Underline = 10] = "Underline", O[O.Squiggly = 11] = "Squiggly", O[O.StrikeOut = 12] = "StrikeOut", O[O.Stamp = 13] = "Stamp", O[O.Caret = 14] = "Caret", O[O.Ink = 15] = "Ink", O[O.Popup = 16] = "Popup", O[O.FileAttachment = 17] = "FileAttachment", O[O.Widget = 20] = "Widget", O))(D || {}), N = /* @__PURE__ */ ((O) => (O.INTERNAL_LINK = "internal-link", O.LINK = "link", O.FILE_ATTACHMENT = "file-attachment", O.FORM_TEXT = "form-text", O.FORM_SELECT = "form-select", O.FORM_CHECKBOX = "form-checkbox", O.FORM_RADIO = "form-radio", O.FORM_BUTTON = "form-button", O.BUTTON = "button", O))(N || {}), L = /* @__PURE__ */ ((O) => (O.ACTUAL = "Actual", O.PAGE_FIT = "Fit", O.PAGE_WIDTH = "Width", O))(L || {}), E = /* @__PURE__ */ ((O) => (O.Organization = "organization", O.Developer = "developer", O))(E || {}), I = /* @__PURE__ */ ((O) => (O.SINGLE_PAGE = "Single", O.DUAL_PAGE = "Dual", O))(I || {}), d = /* @__PURE__ */ ((O) => (O.FONT_FAMILY = "--rp-font-family", O.PRIMARY_COLOR = "--rp-primary-color", O.BORDER_RADIUS = "--rp-border-radius", O.TEXT_COLOR = "--rp-text-color", O.OUTLINE_COLOR = "--rp-outline-color", O.FONT_SIZE = "--rp-font-size", O.DROP_MASK_BACKGROUND_COLOR = "--rp-drop-mask-background-color", O.LOADER_BACKDROP_COLOR = "--rp-loader-backdrop-color", O.ICON_DISABLED = "--rp-icon-disabled", O.ICON_FONT_SIZE = "--rp-icon-font-size", O.TOOLBAR_BACKGROUND = "--rp-toolbar-background", O.TOOLBAR_BORDER_COLOR = "--rp-toolbar-border-color", O.TOOLBAR_PADDING = "--rp-toolbar-padding", O.TOOLBAR_GAP = "--rp-toolbar-gap", O.TOOLBAR_SIZE = "--rp-toolbar-size", O.SIDEBAR_WIDTH = "--rp-sidebar-width", O.THUMBNAIL_BORDER_COLOR = "--rp-thumbnail-border-color", O.THUMBNAIL_BACKGROUND_COLOR = "--rp-thumbnail-background-color", O.THUMBNAIL_ACTIVE_COLOR = "--rp-thumbnail-active-color", O.THUMBNAIL_PADDING_Y = "--rp-thumbnail-padding-y", O.BUTTON_HOVER_BACKGROUND = "--rp-button-hover-background", O.BUTTON_PADDING = "--rp-button-padding", O.INPUT_PADDING = "--rp-input-padding", O.INPUT_BORDER_RADIUS = "--rp-input-border-radius", O.INPUT_BACKGROUND_COLOR = "--rp-input-background-color", O.INPUT_PLACEHOLDER_COLOR = "--rp-input-placeholder-color", O.PAGES_BACKGROUND_COLOR = "--rp-pages-background-color", O.ANNOTATION_LAYER_LINK_HOVER_BACKGROUND = "--rp-annotation-layer__link-hover-background", O.DROPDOWN_BACKGROUND_COLOR = "--rp-dropdown-background-color", O.DROPDOWN_PADDING = "--rp-dropdown-padding", O.DROPDOWN_HOVER_BACKGROUND_COLOR = "--rp-dropdown-hover-background-color", O.DROPDOWN_SEPARATOR_COLOR = "--rp-dropdown-separator-color", O.DROPDOWN_SEPARATOR_MARGIN = "--rp-dropdown-separator-margin", O.DROPDOWN_PADDING_MENU_ITEM = "--rp-dropdown-padding-menu-item", O.DROPDOWN_FONT_SIZE = "--rp-dropdown-font-size", O.DROPDOWN_BORDER_RADIUS = "--rp-dropdown-border-radius", O.SEARCH_TOOL_DROPDOWN_PADDING = "--rp-search-tool-dropdown-padding", O.POPOVER_FONT_SIZE = "--rp-popover-font-size", O.POPOVER_BACKGROUND_COLOR = "--rp-popover-background-color", O.POPOVER_COLOR = "--rp-popover-color", O.POPOVER_BORDER_COLOR = "--rp-popover-border-color", O.POPOVER_BORDER_RADIUS = "--rp-popover-border-radius", O.OVERLAY_BACKGROUND_COLOR = "--rp-overlay-background-color", O.DIALOG_BACKGROUND_COLOR = "--rp-dialog-background-color", O.PROPERTIES_DIVIDER_COLOR = "--rp-properties-divider-color", O.PROPERTIES_DIVIDER_MARGIN = "--rp-properties-divider-margin", O.PROPERTY_ITEM_GAP = "--rp-property-item-gap", O.DIALOG_TITLE_COLOR = "--rp-dialog-title-color", O.PROPERTY_ITEM_LABEL_COLOR = "--rp-property-item-label-color", O.PROPERTY_CLOSE_ICON_SIZE = "--rp-property-close-icon-size", O.PROPERTY_ITEM_FONT_SIZE = "--rp-property-item-font-size", O.PROPERTY_ITEM_FONT_WEIGHT = "--rp-property-item-font-weight", O.DIALOG_TITLE_FONT_SIZE = "--rp-dialog-title-font-size", O.DIALOG_TITLE_FONT_WEIGHT = "--rp-dialog-title-font-weight", O.MENU_ITEM_ICON_SIZE = "--rp-menu-item-icon-size", O.PRINT_PROGRESS_BACKGROUND = "--rp-print-progress-background", O.PRINT_PROGRESS_COLOR = "--rp-print-progress-color", O.DROP_ZONE_BORDER = "--rp-drop-zone-border", O.DROP_ZONE_FONT_COLOR = "--rp-drop-zone-font-color", O.DROP_ZONE_FONT_SIZE = "--rp-drop-zone-font-size", O.DROP_ZONE_BACKGROUND_COLOR = "--rp-drop-zone-background-color", O.CHECKBOX_BORDER_RADIUS = "--rp-checkbox-border-radius", O.CHECKBOX_BORDER_COLOR = "--rp-checkbox-border-color", O.CHECKBOX_INDICATOR_COLOR = "--rp-checkbox-indicator-color", O.HIGHLIGHT_BACKGROUND_COLOR = "--rp-highlight-background-color", O.TEXT_LAYER_HIGHLIGHT_BORDER_RADIUS = "--rp-text-layer-highlight-border-radius", O.CURRENT_HIGHLIGHT_BACKGROUND_COLOR = "--rp-current-highlight-background-color", O.TOOLTIP_BACKGROUND_COLOR = "--rp-tooltip-background-color", O.TOOLTIP_BORDER_RADIUS = "--rp-tooltip-border-radius", O.TOOLTIP_FONT_COLOR = "--rp-tooltip-font-color", O.TOOLTIP_FONT_SIZE = "--rp-tooltip-font-size", O.TOOLTIP_PADDING = "--rp-tooltip-padding", O.PASSWORD_MODAL_BACKGROUND_COLOR = "--rp-password-background-color", O.PASSWORD_MODAL_TITLE_FONT_COLOR = "--rp-password-title-font-color", O.PASSWORD_MODAL_CONTENT_FONT_COLOR = "--rp-password-content-font-color", O.PASSWORD_MODAL_INPUT_PLACEHOLDER_COLOR = "--rp-password-input-placeholder-color", O.PASSWORD_MODAL_INPUT_BORDER_COLOR = "--rp-password-input-border-color", O.PASSWORD_MODAL_INPUT_FONT_COLOR = "--rp-password-input-font-color", O.PASSWORD_MODAL_BUTTON_FONT_COLOR = "--rp-password-button-font-color", O.PASSWORD_MODAL_BUTTON_BACKGROUND_COLOR = "--rp-password-button-background-color", O.PASSWORD_MODAL_BUTTON_BORDER_COLOR = "--rp-password-button-border-color", O.PASSWORD_MODAL_BORDER_COLOR = "--rp-password-border-color", O.CONTAINER_FOCUS_OUTLINE_WIDTH = "--rp-container-focus-outline-width", O.CONTAINER_FOCUS_OUTLINE_COLOR = "--rp-container-focus-outline-color", O.CONTAINER_FOCUS_OUTLINE_OFFSET = "--rp-container-focus-outline-offset", O.BUTTON_BORDER_RADIUS = "--rp-button-border-radius", O))(d || {}), C = /* @__PURE__ */ ((O) => (O.PAGE_SCROLLING = "PAGE", O.VERTICAL_SCROLLING = "VERTICAL", O.HORIZONTAL_SCROLLING = "HORIZONTAL", O))(C || {}), P = /* @__PURE__ */ ((O) => (O.TEXT = "TEXT", O.HAND = "HAND", O))(P || {});
3
3
  const A = {
4
4
  en_US: r,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pdf-viewer/react",
3
3
  "private": false,
4
4
  "description": "The PDF Viewer component for React and Next.js",
5
- "version": "1.7.1",
5
+ "version": "1.7.2-rc.0",
6
6
  "keywords": [
7
7
  "component",
8
8
  "frontend",