@prose-reader/react-reader 1.204.0 → 1.205.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
@@ -80,7 +80,7 @@ const Y = y.ActionTrigger, C = () => {
80
80
  const n = C(), o = Te(n) ? n : void 0, r = x(
81
81
  () => o == null ? void 0 : o.annotations.highlights$.pipe(
82
82
  Q(
83
- (l) => o.locateResources(l)
83
+ (l) => o.locateResource(l)
84
84
  )
85
85
  ),
86
86
  [o]
@@ -145,7 +145,7 @@ const Y = y.ActionTrigger, C = () => {
145
145
  () => n == null ? void 0 : n.bookmarks.bookmarks$,
146
146
  [n]
147
147
  ), l = x(
148
- () => e == null ? void 0 : e.locateResources(i ?? []),
148
+ () => e == null ? void 0 : e.locateResource(i ?? []),
149
149
  [e, i]
150
150
  );
151
151
  return o ? /* @__PURE__ */ t(Z, { children: tt(
@@ -218,7 +218,7 @@ const Y = y.ActionTrigger, C = () => {
218
218
  ({ onNavigate: e }) => {
219
219
  const n = C(), o = ue(n) ? n : void 0, r = x(
220
220
  () => o == null ? void 0 : o.bookmarks.bookmarks$.pipe(
221
- Q((l) => o.locateResources(l))
221
+ Q((l) => o.locateResource(l))
222
222
  ),
223
223
  [o]
224
224
  ), i = (l, s) => {
@@ -460,7 +460,7 @@ const Rt = (e, n, o) => {
460
460
  }
461
461
  );
462
462
  }
463
- ), Dt = "@prose-reader/react-reader", Et = "1.203.0", At = m(
463
+ ), Dt = "@prose-reader/react-reader", Et = "1.204.0", At = m(
464
464
  ({
465
465
  open: e,
466
466
  setOpen: n
@@ -1204,7 +1204,7 @@ const Yt = K.Root, Ut = K.ValueText, pe = () => {
1204
1204
  ),
1205
1205
  [r, n]
1206
1206
  ), u = (c == null ? void 0 : c.type) === "start", a = (c == null ? void 0 : c.type) === "end" ? c.data : [], g = x(
1207
- () => r == null ? void 0 : r.locateResources(a.slice(0, 100)),
1207
+ () => r == null ? void 0 : r.locateResource(a.slice(0, 100)),
1208
1208
  [a]
1209
1209
  );
1210
1210
  return /* @__PURE__ */ d(P, { flex: 1, height: "100%", children: [