@prose-reader/react-reader 1.223.0 → 1.225.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/index.js CHANGED
@@ -133,7 +133,7 @@ const X = k.ActionTrigger, Z = () => Me(Re), m = () => {
133
133
  ) };
134
134
  }, Rt = ({ onNavigate: e }) => {
135
135
  const { data: n } = pe();
136
- return console.log({ annotations: n }), /* @__PURE__ */ t(S.Root, { overflowY: "auto", gap: 3, pt: 4, variant: "plain", children: n == null ? void 0 : n.map((o) => /* @__PURE__ */ t(
136
+ return /* @__PURE__ */ t(S.Root, { overflowY: "auto", gap: 3, pt: 4, variant: "plain", children: n == null ? void 0 : n.map((o) => /* @__PURE__ */ t(
137
137
  Oe,
138
138
  {
139
139
  id: o.resource.id,
@@ -509,7 +509,7 @@ const jt = (e, n, o) => {
509
509
  }
510
510
  );
511
511
  }
512
- ), Vt = "@prose-reader/react-reader", Yt = "1.222.0", Ut = p(
512
+ ), Vt = "@prose-reader/react-reader", Yt = "1.224.0", Ut = p(
513
513
  ({
514
514
  open: e,
515
515
  setOpen: n
@@ -1333,7 +1333,6 @@ const sn = F.Root, ln = F.ValueText, fe = () => {
1333
1333
  const n = m(), { manifest: o, assumedRenditionLayout: i } = b(() => n == null ? void 0 : n.context.state$, [n]) ?? {}, { nav: r } = o ?? {}, s = _();
1334
1334
  r != null && r.toc;
1335
1335
  const { beginSpineItemIndex: c, beginPageIndexInSpineItem: d } = s ?? {}, u = (i === "reflowable" ? d : c) || 0;
1336
- console.log({ assumedRenditionLayout: i, currentSpineItemOrChapterPageIndex: u });
1337
1336
  let l = s == null ? void 0 : s.beginChapterInfo;
1338
1337
  for (; l != null && l.subChapter; )
1339
1338
  l = l == null ? void 0 : l.subChapter;