@papyrus-sdk/ui-react-native 0.2.22 → 0.2.23

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.mjs CHANGED
@@ -21985,6 +21985,7 @@ var PageRenderer = ({
21985
21985
  onSelectionDragActiveChange,
21986
21986
  onTextSelected,
21987
21987
  onDefineSelection,
21988
+ selectionActionLabel,
21988
21989
  gestureScrollLockActive = false,
21989
21990
  lastPinchEndedAt = null,
21990
21991
  requestSelectionVerticalAutoscroll
@@ -23287,7 +23288,7 @@ var PageRenderer = ({
23287
23288
  });
23288
23289
  },
23289
23290
  style: [styles.selectionAction, styles.defineSelectionAction],
23290
- children: /* @__PURE__ */ jsx(Text, { style: styles.defineSelectionText, children: "Definir" })
23291
+ children: /* @__PURE__ */ jsx(Text, { style: styles.defineSelectionText, children: selectionActionLabel ?? "Definir" })
23291
23292
  }
23292
23293
  ) : null,
23293
23294
  /* @__PURE__ */ jsx(
@@ -23629,7 +23630,7 @@ var styles = StyleSheet.create({
23629
23630
  borderRadius: 3
23630
23631
  }
23631
23632
  });
23632
- var arePageRendererPropsEqual = (previous, next) => previous.engine === next.engine && previous.pageIndex === next.pageIndex && previous.scale === next.scale && previous.PageViewComponent === next.PageViewComponent && previous.availableWidth === next.availableWidth && previous.pageViewportWidth === next.pageViewportWidth && previous.horizontalPadding === next.horizontalPadding && previous.spacing === next.spacing && previous.onSelectionDragActiveChange === next.onSelectionDragActiveChange && previous.onTextSelected === next.onTextSelected && previous.onDefineSelection === next.onDefineSelection && previous.gestureScrollLockActive === next.gestureScrollLockActive && previous.lastPinchEndedAt === next.lastPinchEndedAt && previous.requestSelectionVerticalAutoscroll === next.requestSelectionVerticalAutoscroll;
23633
+ var arePageRendererPropsEqual = (previous, next) => previous.engine === next.engine && previous.pageIndex === next.pageIndex && previous.scale === next.scale && previous.PageViewComponent === next.PageViewComponent && previous.availableWidth === next.availableWidth && previous.pageViewportWidth === next.pageViewportWidth && previous.horizontalPadding === next.horizontalPadding && previous.spacing === next.spacing && previous.onSelectionDragActiveChange === next.onSelectionDragActiveChange && previous.onTextSelected === next.onTextSelected && previous.onDefineSelection === next.onDefineSelection && previous.selectionActionLabel === next.selectionActionLabel && previous.gestureScrollLockActive === next.gestureScrollLockActive && previous.lastPinchEndedAt === next.lastPinchEndedAt && previous.requestSelectionVerticalAutoscroll === next.requestSelectionVerticalAutoscroll;
23633
23634
  var PageRenderer_default = memo(PageRenderer, arePageRendererPropsEqual);
23634
23635
 
23635
23636
  // components/WebViewViewer.tsx
@@ -23851,7 +23852,7 @@ var WebViewViewer_default = WebViewViewer;
23851
23852
 
23852
23853
  // components/DedicatedAndroidPdfViewer.tsx
23853
23854
  import { useCallback as useCallback2, useEffect as useEffect3, useRef as useRef3, useState as useState3 } from "react";
23854
- import { Pressable as Pressable2, StyleSheet as StyleSheet3, View as View3 } from "react-native";
23855
+ import { Pressable as Pressable2, StyleSheet as StyleSheet3, Text as Text2, View as View3 } from "react-native";
23855
23856
  import { useViewerStore as useViewerStore3 } from "@papyrus-sdk/core";
23856
23857
  import { PapyrusPdfDocumentView } from "@papyrus-sdk/engine-native";
23857
23858
 
@@ -24467,6 +24468,11 @@ var IconCommentBubble = ({
24467
24468
  /* @__PURE__ */ jsx3(Circle, { cx: "15", cy: "11", r: "1", fill: color })
24468
24469
  ] });
24469
24470
 
24471
+ // components/selectionToolbarModel.ts
24472
+ var getSelectionToolbarActions = (label = "Definir") => [
24473
+ { id: "dictionary", label }
24474
+ ];
24475
+
24470
24476
  // components/DedicatedAndroidPdfViewer.tsx
24471
24477
  import { Fragment, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
24472
24478
  var TEXT_MARKUP_TOOLS2 = /* @__PURE__ */ new Set(["highlight", "underline", "squiggly", "strikeout"]);
@@ -24479,7 +24485,9 @@ var getDedicatedAndroidPdfEngineId = (engine) => {
24479
24485
  return typeof engineId === "string" && engineId.length > 0 ? engineId : null;
24480
24486
  };
24481
24487
  function DedicatedAndroidPdfViewer({
24482
- engine
24488
+ engine,
24489
+ onDefineSelection,
24490
+ selectionActionLabel
24483
24491
  }) {
24484
24492
  const pageTheme = useViewerStore3((state) => state.pageTheme);
24485
24493
  const zoom = useViewerStore3((state) => state.zoom);
@@ -24662,6 +24670,27 @@ function DedicatedAndroidPdfViewer({
24662
24670
  }
24663
24671
  ),
24664
24672
  /* @__PURE__ */ jsx4(View3, { style: styles3.selectionToolbar, pointerEvents: "box-none", children: /* @__PURE__ */ jsxs4(View3, { style: styles3.toolbarContent, children: [
24673
+ onDefineSelection && getSelectionToolbarActions(selectionActionLabel).map((action) => /* @__PURE__ */ jsxs4(
24674
+ Pressable2,
24675
+ {
24676
+ accessibilityRole: "button",
24677
+ accessibilityLabel: action.label,
24678
+ onPress: () => {
24679
+ const currentSelection = selectionRef.current;
24680
+ if (!currentSelection) return;
24681
+ onDefineSelection({
24682
+ text: currentSelection.text,
24683
+ pageIndex: currentSelection.pageIndex
24684
+ });
24685
+ },
24686
+ style: [styles3.toolbarButton, styles3.dictionaryButton],
24687
+ children: [
24688
+ /* @__PURE__ */ jsx4(IconInfo, { size: 16, color: "#fff" }),
24689
+ /* @__PURE__ */ jsx4(Text2, { style: styles3.toolbarButtonText, children: action.label })
24690
+ ]
24691
+ },
24692
+ action.id
24693
+ )),
24665
24694
  /* @__PURE__ */ jsx4(
24666
24695
  Pressable2,
24667
24696
  {
@@ -24743,6 +24772,11 @@ var styles3 = StyleSheet3.create({
24743
24772
  alignItems: "center",
24744
24773
  justifyContent: "center"
24745
24774
  },
24775
+ dictionaryButton: {
24776
+ width: 118,
24777
+ flexDirection: "row",
24778
+ gap: 6
24779
+ },
24746
24780
  overlay: {
24747
24781
  ...StyleSheet3.absoluteFillObject,
24748
24782
  zIndex: 40
@@ -24794,7 +24828,8 @@ var Viewer = ({
24794
24828
  useDedicatedAndroidPdfViewer,
24795
24829
  viewerMode,
24796
24830
  onTextSelected,
24797
- onDefineSelection
24831
+ onDefineSelection,
24832
+ selectionActionLabel
24798
24833
  }) => {
24799
24834
  const pageCount = useViewerStore4((state) => state.pageCount);
24800
24835
  const currentPage = useViewerStore4((state) => state.currentPage);
@@ -25932,6 +25967,7 @@ var Viewer = ({
25932
25967
  onSelectionDragActiveChange: setSelectionDragActive,
25933
25968
  onTextSelected,
25934
25969
  onDefineSelection,
25970
+ selectionActionLabel,
25935
25971
  gestureScrollLockActive,
25936
25972
  lastPinchEndedAt,
25937
25973
  requestSelectionVerticalAutoscroll: handleSelectionVerticalAutoscroll
@@ -25950,6 +25986,7 @@ var Viewer = ({
25950
25986
  onSelectionDragActiveChange: setSelectionDragActive,
25951
25987
  onTextSelected,
25952
25988
  onDefineSelection,
25989
+ selectionActionLabel,
25953
25990
  gestureScrollLockActive,
25954
25991
  lastPinchEndedAt,
25955
25992
  requestSelectionVerticalAutoscroll: handleSelectionVerticalAutoscroll
@@ -25971,6 +26008,7 @@ var Viewer = ({
25971
26008
  onSelectionDragActiveChange: setSelectionDragActive,
25972
26009
  onTextSelected,
25973
26010
  onDefineSelection,
26011
+ selectionActionLabel,
25974
26012
  gestureScrollLockActive,
25975
26013
  lastPinchEndedAt,
25976
26014
  requestSelectionVerticalAutoscroll: handleSelectionVerticalAutoscroll
@@ -25994,7 +26032,14 @@ var Viewer = ({
25994
26032
  return /* @__PURE__ */ jsx5(View4, { style: [styles4.container, isDark && styles4.containerDark], children: /* @__PURE__ */ jsx5(WebViewViewer_default, { engine }) });
25995
26033
  }
25996
26034
  if (isNativePdfViewer) {
25997
- return /* @__PURE__ */ jsx5(View4, { style: [styles4.container, isDark && styles4.containerDark], children: /* @__PURE__ */ jsx5(DedicatedAndroidPdfViewer, { engine }) });
26035
+ return /* @__PURE__ */ jsx5(View4, { style: [styles4.container, isDark && styles4.containerDark], children: /* @__PURE__ */ jsx5(
26036
+ DedicatedAndroidPdfViewer,
26037
+ {
26038
+ engine,
26039
+ onDefineSelection,
26040
+ selectionActionLabel
26041
+ }
26042
+ ) });
25998
26043
  }
25999
26044
  if (isSingle) {
26000
26045
  return /* @__PURE__ */ jsx5(View4, { style: [styles4.container, isDark && styles4.containerDark], children: /* @__PURE__ */ jsx5(GestureDetector2, { gesture: viewerPinchGesture, children: /* @__PURE__ */ jsx5(
@@ -26062,6 +26107,7 @@ var Viewer = ({
26062
26107
  onSelectionDragActiveChange: setSelectionDragActive,
26063
26108
  onTextSelected,
26064
26109
  onDefineSelection,
26110
+ selectionActionLabel,
26065
26111
  gestureScrollLockActive,
26066
26112
  lastPinchEndedAt,
26067
26113
  requestSelectionVerticalAutoscroll: handleSelectionVerticalAutoscroll
@@ -26199,7 +26245,7 @@ var Viewer_default = Viewer;
26199
26245
 
26200
26246
  // components/Topbar.tsx
26201
26247
  import { useState as useState6 } from "react";
26202
- import { View as View6, Text as Text3, Pressable as Pressable4, StyleSheet as StyleSheet6, useWindowDimensions as useWindowDimensions3 } from "react-native";
26248
+ import { View as View6, Text as Text4, Pressable as Pressable4, StyleSheet as StyleSheet6, useWindowDimensions as useWindowDimensions3 } from "react-native";
26203
26249
  import { useViewerStore as useViewerStore5 } from "@papyrus-sdk/core";
26204
26250
 
26205
26251
  // components/mobileChromeMetrics.ts
@@ -26222,7 +26268,7 @@ var MOBILE_CHROME_METRICS = {
26222
26268
 
26223
26269
  // components/PageJumpModal.tsx
26224
26270
  import { useEffect as useEffect5, useState as useState5 } from "react";
26225
- import { Modal, Pressable as Pressable3, StyleSheet as StyleSheet5, Text as Text2, TextInput, View as View5 } from "react-native";
26271
+ import { Modal, Pressable as Pressable3, StyleSheet as StyleSheet5, Text as Text3, TextInput, View as View5 } from "react-native";
26226
26272
 
26227
26273
  // components/pageJumpModel.ts
26228
26274
  var resolvePageJumpTarget = (value, pageCount) => {
@@ -26265,7 +26311,7 @@ function PageJumpModal({
26265
26311
  style: [styles5.card, isDark && styles5.cardDark],
26266
26312
  onPress: (event) => event.stopPropagation(),
26267
26313
  children: [
26268
- /* @__PURE__ */ jsx6(Text2, { style: [styles5.title, isDark && styles5.titleDark], children: "Ir para pagina" }),
26314
+ /* @__PURE__ */ jsx6(Text3, { style: [styles5.title, isDark && styles5.titleDark], children: "Ir para pagina" }),
26269
26315
  /* @__PURE__ */ jsx6(
26270
26316
  TextInput,
26271
26317
  {
@@ -26292,7 +26338,7 @@ function PageJumpModal({
26292
26338
  styles5.actionCancel,
26293
26339
  isDark && styles5.actionCancelDark
26294
26340
  ],
26295
- children: /* @__PURE__ */ jsx6(Text2, { style: [styles5.actionText, isDark && styles5.actionTextDark], children: "Cancelar" })
26341
+ children: /* @__PURE__ */ jsx6(Text3, { style: [styles5.actionText, isDark && styles5.actionTextDark], children: "Cancelar" })
26296
26342
  }
26297
26343
  ),
26298
26344
  /* @__PURE__ */ jsx6(
@@ -26300,7 +26346,7 @@ function PageJumpModal({
26300
26346
  {
26301
26347
  onPress: confirmJump,
26302
26348
  style: [styles5.actionButton, { backgroundColor: accentColor }],
26303
- children: /* @__PURE__ */ jsx6(Text2, { style: [styles5.actionText, styles5.actionTextPrimary], children: "Ir" })
26349
+ children: /* @__PURE__ */ jsx6(Text3, { style: [styles5.actionText, styles5.actionTextPrimary], children: "Ir" })
26304
26350
  }
26305
26351
  )
26306
26352
  ] })
@@ -26425,7 +26471,7 @@ var Topbar = ({
26425
26471
  }
26426
26472
  setJumpModalOpen(true);
26427
26473
  };
26428
- const defaultLogo = /* @__PURE__ */ jsx7(View6, { style: [styles6.logoBadge, { backgroundColor: accentColor }], children: /* @__PURE__ */ jsx7(Text3, { style: styles6.logoText, children: "P" }) });
26474
+ const defaultLogo = /* @__PURE__ */ jsx7(View6, { style: [styles6.logoBadge, { backgroundColor: accentColor }], children: /* @__PURE__ */ jsx7(Text4, { style: styles6.logoText, children: "P" }) });
26429
26475
  const logoElement = logo ?? defaultLogo;
26430
26476
  if (!mobileChromeVisible) return null;
26431
26477
  return /* @__PURE__ */ jsxs7(Fragment2, { children: [
@@ -26455,7 +26501,7 @@ var Topbar = ({
26455
26501
  style: styles6.titleHit,
26456
26502
  accessibilityLabel: "Open page jump",
26457
26503
  children: /* @__PURE__ */ jsx7(
26458
- Text3,
26504
+ Text4,
26459
26505
  {
26460
26506
  numberOfLines: 1,
26461
26507
  style: [styles6.brandText, isDark && styles6.brandTextDark],
@@ -26487,7 +26533,7 @@ var Topbar = ({
26487
26533
  style: styles6.pageIndicatorHit,
26488
26534
  accessibilityLabel: "Page jump",
26489
26535
  children: /* @__PURE__ */ jsxs7(
26490
- Text3,
26536
+ Text4,
26491
26537
  {
26492
26538
  style: [
26493
26539
  styles6.pageIndicator,
@@ -26710,7 +26756,7 @@ var Topbar_default = Topbar;
26710
26756
  import React7, { useEffect as useEffect6, useMemo as useMemo4, useRef as useRef5, useState as useState7 } from "react";
26711
26757
  import {
26712
26758
  View as View7,
26713
- Text as Text4,
26759
+ Text as Text5,
26714
26760
  Pressable as Pressable5,
26715
26761
  StyleSheet as StyleSheet7,
26716
26762
  ScrollView as ScrollView2,
@@ -27364,7 +27410,7 @@ var ToolDock = () => {
27364
27410
  }
27365
27411
  ],
27366
27412
  children: /* @__PURE__ */ jsx8(
27367
- Text4,
27413
+ Text5,
27368
27414
  {
27369
27415
  style: [
27370
27416
  styles7.utilityLabel,
@@ -27480,7 +27526,7 @@ var ToolDock = () => {
27480
27526
  }
27481
27527
  ],
27482
27528
  children: /* @__PURE__ */ jsx8(
27483
- Text4,
27529
+ Text5,
27484
27530
  {
27485
27531
  style: [
27486
27532
  styles7.utilityLabel,
@@ -27786,7 +27832,7 @@ import {
27786
27832
  Platform as Platform3,
27787
27833
  Pressable as Pressable7,
27788
27834
  StyleSheet as StyleSheet9,
27789
- Text as Text6,
27835
+ Text as Text7,
27790
27836
  UIManager,
27791
27837
  View as View9,
27792
27838
  findNodeHandle as findNodeHandle2
@@ -27807,7 +27853,7 @@ import {
27807
27853
  Pressable as Pressable6,
27808
27854
  ScrollView as ScrollView3,
27809
27855
  StyleSheet as StyleSheet8,
27810
- Text as Text5,
27856
+ Text as Text6,
27811
27857
  View as View8
27812
27858
  } from "react-native";
27813
27859
  import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
@@ -27863,7 +27909,7 @@ function NativeSheet({
27863
27909
  }
27864
27910
  ),
27865
27911
  /* @__PURE__ */ jsx9(
27866
- Text5,
27912
+ Text6,
27867
27913
  {
27868
27914
  style: [styles8.title, isDark && styles8.titleDark],
27869
27915
  numberOfLines: 1,
@@ -28043,7 +28089,7 @@ var PageThumbnail = ({
28043
28089
  style: styles9.thumbImage
28044
28090
  }
28045
28091
  ) : /* @__PURE__ */ jsx10(View9, { style: [styles9.thumbFallback, isDark && styles9.thumbFallbackDark], children: /* @__PURE__ */ jsx10(
28046
- Text6,
28092
+ Text7,
28047
28093
  {
28048
28094
  style: [
28049
28095
  styles9.thumbFallbackText,
@@ -28054,7 +28100,7 @@ var PageThumbnail = ({
28054
28100
  ) })
28055
28101
  }
28056
28102
  ),
28057
- /* @__PURE__ */ jsx10(Text6, { style: [styles9.thumbLabel, isDark && styles9.thumbLabelDark], children: pageIndex + 1 })
28103
+ /* @__PURE__ */ jsx10(Text7, { style: [styles9.thumbLabel, isDark && styles9.thumbLabelDark], children: pageIndex + 1 })
28058
28104
  ]
28059
28105
  }
28060
28106
  );
@@ -28071,7 +28117,7 @@ var OutlineNode = ({ item, depth = 0, isDark, onSelect, untitledLabel }) => {
28071
28117
  },
28072
28118
  style: [styles9.outlineRow, { paddingLeft: 12 + depth * 12 }],
28073
28119
  children: /* @__PURE__ */ jsx10(
28074
- Text6,
28120
+ Text7,
28075
28121
  {
28076
28122
  style: [
28077
28123
  styles9.outlineText,
@@ -28347,7 +28393,7 @@ var RightSheet = ({
28347
28393
  maxHeight: sheetHeight,
28348
28394
  children: /* @__PURE__ */ jsxs10(View9, { style: styles9.sheet, children: [
28349
28395
  /* @__PURE__ */ jsxs10(View9, { style: styles9.header, children: [
28350
- /* @__PURE__ */ jsx10(Text6, { style: [styles9.sheetTitle, isDark && styles9.sheetTitleDark], children: showingNotes ? t.notes : navigationTitle }),
28396
+ /* @__PURE__ */ jsx10(Text7, { style: [styles9.sheetTitle, isDark && styles9.sheetTitleDark], children: showingNotes ? t.notes : navigationTitle }),
28351
28397
  !showingNotes ? /* @__PURE__ */ jsx10(
28352
28398
  Pressable7,
28353
28399
  {
@@ -28355,7 +28401,7 @@ var RightSheet = ({
28355
28401
  disabled: showingProgress || pageCount <= 0,
28356
28402
  style: styles9.pageStatusHit,
28357
28403
  accessibilityLabel: "Open page jump",
28358
- children: /* @__PURE__ */ jsx10(Text6, { style: [styles9.pageStatus, isDark && styles9.pageStatusDark], children: showingProgress ? `${Math.round(currentPage / Math.max(pageCount, 1) * 100)}%` : `${currentPage}/${pageCount}` })
28404
+ children: /* @__PURE__ */ jsx10(Text7, { style: [styles9.pageStatus, isDark && styles9.pageStatusDark], children: showingProgress ? `${Math.round(currentPage / Math.max(pageCount, 1) * 100)}%` : `${currentPage}/${pageCount}` })
28359
28405
  }
28360
28406
  ) : null
28361
28407
  ] }),
@@ -28373,7 +28419,7 @@ var RightSheet = ({
28373
28419
  }
28374
28420
  ],
28375
28421
  children: /* @__PURE__ */ jsx10(
28376
- Text6,
28422
+ Text7,
28377
28423
  {
28378
28424
  style: [
28379
28425
  styles9.segmentText,
@@ -28397,7 +28443,7 @@ var RightSheet = ({
28397
28443
  }
28398
28444
  ],
28399
28445
  children: /* @__PURE__ */ jsx10(
28400
- Text6,
28446
+ Text7,
28401
28447
  {
28402
28448
  style: [
28403
28449
  styles9.segmentText,
@@ -28446,7 +28492,7 @@ var RightSheet = ({
28446
28492
  ],
28447
28493
  children: [
28448
28494
  /* @__PURE__ */ jsxs10(
28449
- Text6,
28495
+ Text7,
28450
28496
  {
28451
28497
  style: [
28452
28498
  styles9.progressLabel,
@@ -28459,7 +28505,7 @@ var RightSheet = ({
28459
28505
  }
28460
28506
  ),
28461
28507
  /* @__PURE__ */ jsxs10(
28462
- Text6,
28508
+ Text7,
28463
28509
  {
28464
28510
  style: [
28465
28511
  styles9.progressMeta,
@@ -28483,7 +28529,7 @@ var RightSheet = ({
28483
28529
  {
28484
28530
  contentContainerStyle: styles9.summaryContent,
28485
28531
  showsVerticalScrollIndicator: false,
28486
- children: outline.length === 0 ? /* @__PURE__ */ jsx10(Text6, { style: [styles9.emptyText, isDark && styles9.emptyTextDark], children: t.noSummary }) : outline.map((item, index) => /* @__PURE__ */ jsx10(
28532
+ children: outline.length === 0 ? /* @__PURE__ */ jsx10(Text7, { style: [styles9.emptyText, isDark && styles9.emptyTextDark], children: t.noSummary }) : outline.map((item, index) => /* @__PURE__ */ jsx10(
28487
28533
  OutlineNode,
28488
28534
  {
28489
28535
  item,
@@ -28500,7 +28546,7 @@ var RightSheet = ({
28500
28546
  {
28501
28547
  contentContainerStyle: styles9.content,
28502
28548
  showsVerticalScrollIndicator: false,
28503
- children: annotations.length === 0 ? /* @__PURE__ */ jsx10(Text6, { style: [styles9.emptyText, isDark && styles9.emptyTextDark], children: t.noAnnotations }) : /* @__PURE__ */ jsx10(View9, { children: annotations.map((ann) => /* @__PURE__ */ jsxs10(
28549
+ children: annotations.length === 0 ? /* @__PURE__ */ jsx10(Text7, { style: [styles9.emptyText, isDark && styles9.emptyTextDark], children: t.noAnnotations }) : /* @__PURE__ */ jsx10(View9, { children: annotations.map((ann) => /* @__PURE__ */ jsxs10(
28504
28550
  Pressable7,
28505
28551
  {
28506
28552
  onPress: () => {
@@ -28518,7 +28564,7 @@ var RightSheet = ({
28518
28564
  }
28519
28565
  ),
28520
28566
  /* @__PURE__ */ jsxs10(
28521
- Text6,
28567
+ Text7,
28522
28568
  {
28523
28569
  style: [styles9.noteTitle, isDark && styles9.noteTitleDark],
28524
28570
  children: [
@@ -28530,7 +28576,7 @@ var RightSheet = ({
28530
28576
  )
28531
28577
  ] }),
28532
28578
  /* @__PURE__ */ jsx10(
28533
- Text6,
28579
+ Text7,
28534
28580
  {
28535
28581
  style: [
28536
28582
  styles9.noteType,
@@ -28541,7 +28587,7 @@ var RightSheet = ({
28541
28587
  }
28542
28588
  ),
28543
28589
  ann.content ? /* @__PURE__ */ jsx10(
28544
- Text6,
28590
+ Text7,
28545
28591
  {
28546
28592
  style: [
28547
28593
  styles9.noteContent,
@@ -28812,7 +28858,7 @@ import { useEffect as useEffect8, useState as useState9 } from "react";
28812
28858
  import {
28813
28859
  Modal as Modal3,
28814
28860
  View as View10,
28815
- Text as Text7,
28861
+ Text as Text8,
28816
28862
  TextInput as TextInput2,
28817
28863
  Pressable as Pressable8,
28818
28864
  StyleSheet as StyleSheet10
@@ -28853,7 +28899,7 @@ var AnnotationEditor = () => {
28853
28899
  animationType: "fade",
28854
28900
  onRequestClose: handleClose,
28855
28901
  children: /* @__PURE__ */ jsx11(View10, { style: styles10.overlay, children: /* @__PURE__ */ jsxs11(View10, { style: [styles10.card, isDark && styles10.cardDark], children: [
28856
- /* @__PURE__ */ jsx11(Text7, { style: [styles10.title, isDark && styles10.titleDark], children: t.editNote }),
28902
+ /* @__PURE__ */ jsx11(Text8, { style: [styles10.title, isDark && styles10.titleDark], children: t.editNote }),
28857
28903
  /* @__PURE__ */ jsx11(
28858
28904
  TextInput2,
28859
28905
  {
@@ -28871,7 +28917,7 @@ var AnnotationEditor = () => {
28871
28917
  {
28872
28918
  onPress: handleClose,
28873
28919
  style: [styles10.actionButton, styles10.actionCancel],
28874
- children: /* @__PURE__ */ jsx11(Text7, { style: styles10.actionText, children: t.cancel })
28920
+ children: /* @__PURE__ */ jsx11(Text8, { style: styles10.actionText, children: t.cancel })
28875
28921
  }
28876
28922
  ),
28877
28923
  /* @__PURE__ */ jsx11(
@@ -28883,7 +28929,7 @@ var AnnotationEditor = () => {
28883
28929
  styles10.actionSave,
28884
28930
  { backgroundColor: accentColor }
28885
28931
  ],
28886
- children: /* @__PURE__ */ jsx11(Text7, { style: [styles10.actionText, styles10.actionTextLight], children: t.save })
28932
+ children: /* @__PURE__ */ jsx11(Text8, { style: [styles10.actionText, styles10.actionTextLight], children: t.save })
28887
28933
  }
28888
28934
  )
28889
28935
  ] })
@@ -29249,7 +29295,7 @@ var styles11 = StyleSheet11.create({
29249
29295
  var BottomBar_default = BottomBar;
29250
29296
 
29251
29297
  // components/SettingsSheet.tsx
29252
- import { Dimensions as Dimensions2, View as View12, Text as Text8, Pressable as Pressable10, StyleSheet as StyleSheet12 } from "react-native";
29298
+ import { Dimensions as Dimensions2, View as View12, Text as Text9, Pressable as Pressable10, StyleSheet as StyleSheet12 } from "react-native";
29253
29299
  import { useViewerStore as useViewerStore10 } from "@papyrus-sdk/core";
29254
29300
  import { jsx as jsx13, jsxs as jsxs13 } from "react/jsx-runtime";
29255
29301
  var PAGE_THEME_OPTIONS = [
@@ -29340,7 +29386,7 @@ var SettingsSheet = ({
29340
29386
  children: [
29341
29387
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29342
29388
  /* @__PURE__ */ jsx13(
29343
- Text8,
29389
+ Text9,
29344
29390
  {
29345
29391
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29346
29392
  children: t.appearance
@@ -29358,7 +29404,7 @@ var SettingsSheet = ({
29358
29404
  uiTheme === "light" && { backgroundColor: accentColor }
29359
29405
  ],
29360
29406
  children: /* @__PURE__ */ jsx13(
29361
- Text8,
29407
+ Text9,
29362
29408
  {
29363
29409
  style: [
29364
29410
  styles12.optionText,
@@ -29381,7 +29427,7 @@ var SettingsSheet = ({
29381
29427
  uiTheme === "dark" && { backgroundColor: accentColor }
29382
29428
  ],
29383
29429
  children: /* @__PURE__ */ jsx13(
29384
- Text8,
29430
+ Text9,
29385
29431
  {
29386
29432
  style: [
29387
29433
  styles12.optionText,
@@ -29397,7 +29443,7 @@ var SettingsSheet = ({
29397
29443
  ] }),
29398
29444
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29399
29445
  /* @__PURE__ */ jsx13(
29400
- Text8,
29446
+ Text9,
29401
29447
  {
29402
29448
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29403
29449
  children: t.pageTheme
@@ -29418,7 +29464,7 @@ var SettingsSheet = ({
29418
29464
  children: [
29419
29465
  /* @__PURE__ */ jsx13(ThemeSwatch, { value: option.value }),
29420
29466
  /* @__PURE__ */ jsx13(
29421
- Text8,
29467
+ Text9,
29422
29468
  {
29423
29469
  style: [
29424
29470
  styles12.themeOptionLabel,
@@ -29436,7 +29482,7 @@ var SettingsSheet = ({
29436
29482
  ] }),
29437
29483
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29438
29484
  /* @__PURE__ */ jsx13(
29439
- Text8,
29485
+ Text9,
29440
29486
  {
29441
29487
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29442
29488
  children: t.pageTransition
@@ -29454,7 +29500,7 @@ var SettingsSheet = ({
29454
29500
  (!isPaged || isDouble) && { backgroundColor: accentColor }
29455
29501
  ],
29456
29502
  children: /* @__PURE__ */ jsx13(
29457
- Text8,
29503
+ Text9,
29458
29504
  {
29459
29505
  style: [
29460
29506
  styles12.optionText,
@@ -29477,7 +29523,7 @@ var SettingsSheet = ({
29477
29523
  isPaged && { backgroundColor: accentColor }
29478
29524
  ],
29479
29525
  children: /* @__PURE__ */ jsx13(
29480
- Text8,
29526
+ Text9,
29481
29527
  {
29482
29528
  style: [
29483
29529
  styles12.optionText,
@@ -29493,7 +29539,7 @@ var SettingsSheet = ({
29493
29539
  ] }),
29494
29540
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29495
29541
  /* @__PURE__ */ jsx13(
29496
- Text8,
29542
+ Text9,
29497
29543
  {
29498
29544
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29499
29545
  children: t.layout
@@ -29511,7 +29557,7 @@ var SettingsSheet = ({
29511
29557
  !isDouble && { backgroundColor: accentColor }
29512
29558
  ],
29513
29559
  children: /* @__PURE__ */ jsx13(
29514
- Text8,
29560
+ Text9,
29515
29561
  {
29516
29562
  style: [
29517
29563
  styles12.optionText,
@@ -29534,7 +29580,7 @@ var SettingsSheet = ({
29534
29580
  isDouble && { backgroundColor: accentColor }
29535
29581
  ],
29536
29582
  children: /* @__PURE__ */ jsx13(
29537
- Text8,
29583
+ Text9,
29538
29584
  {
29539
29585
  style: [
29540
29586
  styles12.optionText,
@@ -29550,7 +29596,7 @@ var SettingsSheet = ({
29550
29596
  ] }),
29551
29597
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29552
29598
  /* @__PURE__ */ jsx13(
29553
- Text8,
29599
+ Text9,
29554
29600
  {
29555
29601
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29556
29602
  children: t.rotate
@@ -29563,7 +29609,7 @@ var SettingsSheet = ({
29563
29609
  onPress: () => handleRotate("counterclockwise"),
29564
29610
  style: [styles12.optionButton, isDark && styles12.optionButtonDark],
29565
29611
  children: /* @__PURE__ */ jsx13(
29566
- Text8,
29612
+ Text9,
29567
29613
  {
29568
29614
  style: [styles12.optionText, isDark && styles12.optionTextDark],
29569
29615
  children: t.counterclockwise
@@ -29577,7 +29623,7 @@ var SettingsSheet = ({
29577
29623
  onPress: () => handleRotate("clockwise"),
29578
29624
  style: [styles12.optionButton, isDark && styles12.optionButtonDark],
29579
29625
  children: /* @__PURE__ */ jsx13(
29580
- Text8,
29626
+ Text9,
29581
29627
  {
29582
29628
  style: [styles12.optionText, isDark && styles12.optionTextDark],
29583
29629
  children: t.clockwise
@@ -29589,7 +29635,7 @@ var SettingsSheet = ({
29589
29635
  ] }),
29590
29636
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29591
29637
  /* @__PURE__ */ jsx13(
29592
- Text8,
29638
+ Text9,
29593
29639
  {
29594
29640
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29595
29641
  children: t.zoom
@@ -29604,7 +29650,7 @@ var SettingsSheet = ({
29604
29650
  children: /* @__PURE__ */ jsx13(IconZoomOut, { size: 16, color: isDark ? "#e5e7eb" : "#111827" })
29605
29651
  }
29606
29652
  ),
29607
- /* @__PURE__ */ jsx13(View12, { style: styles12.zoomValue, children: /* @__PURE__ */ jsxs13(Text8, { style: [styles12.zoomText, isDark && styles12.zoomTextDark], children: [
29653
+ /* @__PURE__ */ jsx13(View12, { style: styles12.zoomValue, children: /* @__PURE__ */ jsxs13(Text9, { style: [styles12.zoomText, isDark && styles12.zoomTextDark], children: [
29608
29654
  Math.round(zoom * 100),
29609
29655
  "%"
29610
29656
  ] }) }),
@@ -29620,7 +29666,7 @@ var SettingsSheet = ({
29620
29666
  ] }),
29621
29667
  /* @__PURE__ */ jsxs13(View12, { style: styles12.section, children: [
29622
29668
  /* @__PURE__ */ jsx13(
29623
- Text8,
29669
+ Text9,
29624
29670
  {
29625
29671
  style: [styles12.sectionTitle, isDark && styles12.sectionTitleDark],
29626
29672
  children: t.language
@@ -29638,7 +29684,7 @@ var SettingsSheet = ({
29638
29684
  locale === "en" && { backgroundColor: accentColor }
29639
29685
  ],
29640
29686
  children: /* @__PURE__ */ jsx13(
29641
- Text8,
29687
+ Text9,
29642
29688
  {
29643
29689
  style: [
29644
29690
  styles12.optionText,
@@ -29661,7 +29707,7 @@ var SettingsSheet = ({
29661
29707
  locale === "pt-BR" && { backgroundColor: accentColor }
29662
29708
  ],
29663
29709
  children: /* @__PURE__ */ jsx13(
29664
- Text8,
29710
+ Text9,
29665
29711
  {
29666
29712
  style: [
29667
29713
  styles12.optionText,
@@ -29818,7 +29864,7 @@ import { useEffect as useEffect9, useMemo as useMemo6, useRef as useRef7, useSta
29818
29864
  import {
29819
29865
  ActivityIndicator,
29820
29866
  StyleSheet as StyleSheet13,
29821
- Text as Text9,
29867
+ Text as Text10,
29822
29868
  UIManager as UIManager2,
29823
29869
  View as View13,
29824
29870
  findNodeHandle as findNodeHandle3
@@ -29941,12 +29987,12 @@ var CoverPreview = ({
29941
29987
  }
29942
29988
  };
29943
29989
  if (!shouldRender || !canRender) {
29944
- return /* @__PURE__ */ jsx14(View13, { style: [styles13.container, style], children: placeholder ?? /* @__PURE__ */ jsx14(View13, { style: styles13.placeholder, children: /* @__PURE__ */ jsx14(Text9, { style: styles13.placeholderText, children: "Preview" }) }) });
29990
+ return /* @__PURE__ */ jsx14(View13, { style: [styles13.container, style], children: placeholder ?? /* @__PURE__ */ jsx14(View13, { style: styles13.placeholder, children: /* @__PURE__ */ jsx14(Text10, { style: styles13.placeholderText, children: "Preview" }) }) });
29945
29991
  }
29946
29992
  return /* @__PURE__ */ jsxs14(View13, { style: [styles13.container, style], onLayout: handleLayout, children: [
29947
29993
  /* @__PURE__ */ jsx14(View13, { style: styles13.previewFrame, pointerEvents: allowInteraction ? "auto" : "none", children: isPdf ? /* @__PURE__ */ jsx14(PapyrusPageView3, { ref: viewRef, style: styles13.pageView }) : engine && /* @__PURE__ */ jsx14(WebViewViewer_default, { engine }) }),
29948
29994
  showLoading && loading && /* @__PURE__ */ jsx14(View13, { pointerEvents: "none", style: styles13.loadingOverlay, children: loadingIndicator ?? /* @__PURE__ */ jsx14(ActivityIndicator, { size: "small", color: "#2563eb" }) }),
29949
- error && /* @__PURE__ */ jsx14(View13, { pointerEvents: "none", style: styles13.errorOverlay, children: /* @__PURE__ */ jsx14(Text9, { style: styles13.errorText, children: "Preview unavailable" }) })
29995
+ error && /* @__PURE__ */ jsx14(View13, { pointerEvents: "none", style: styles13.errorOverlay, children: /* @__PURE__ */ jsx14(Text10, { style: styles13.errorText, children: "Preview unavailable" }) })
29950
29996
  ] });
29951
29997
  };
29952
29998
  var styles13 = StyleSheet13.create({
@@ -30005,7 +30051,7 @@ import {
30005
30051
  Modal as Modal4,
30006
30052
  Pressable as Pressable11,
30007
30053
  StyleSheet as StyleSheet14,
30008
- Text as Text10,
30054
+ Text as Text11,
30009
30055
  View as View14
30010
30056
  } from "react-native";
30011
30057
  import { useViewerStore as useViewerStore11 } from "@papyrus-sdk/core";
@@ -30022,12 +30068,12 @@ function DocumentActionsSheet({
30022
30068
  onPress: (event) => event.stopPropagation(),
30023
30069
  style: [styles14.card, isDark && styles14.cardDark],
30024
30070
  children: [
30025
- /* @__PURE__ */ jsx15(Text10, { style: [styles14.eyebrow, isDark && styles14.eyebrowDark], children: "Document actions" }),
30071
+ /* @__PURE__ */ jsx15(Text11, { style: [styles14.eyebrow, isDark && styles14.eyebrowDark], children: "Document actions" }),
30026
30072
  /* @__PURE__ */ jsxs15(View14, { style: styles14.actionList, children: [
30027
- /* @__PURE__ */ jsx15(View14, { style: [styles14.actionItem, isDark && styles14.actionItemDark], children: /* @__PURE__ */ jsx15(Text10, { style: [styles14.actionText, isDark && styles14.actionTextDark], children: "Share" }) }),
30028
- /* @__PURE__ */ jsx15(View14, { style: [styles14.actionItem, isDark && styles14.actionItemDark], children: /* @__PURE__ */ jsx15(Text10, { style: [styles14.actionText, isDark && styles14.actionTextDark], children: "Export" }) })
30073
+ /* @__PURE__ */ jsx15(View14, { style: [styles14.actionItem, isDark && styles14.actionItemDark], children: /* @__PURE__ */ jsx15(Text11, { style: [styles14.actionText, isDark && styles14.actionTextDark], children: "Share" }) }),
30074
+ /* @__PURE__ */ jsx15(View14, { style: [styles14.actionItem, isDark && styles14.actionItemDark], children: /* @__PURE__ */ jsx15(Text11, { style: [styles14.actionText, isDark && styles14.actionTextDark], children: "Export" }) })
30029
30075
  ] }),
30030
- /* @__PURE__ */ jsx15(Pressable11, { onPress: onClose, style: styles14.closeButton, accessibilityLabel: "Close actions sheet", children: /* @__PURE__ */ jsx15(Text10, { style: styles14.closeText, children: "Close" }) })
30076
+ /* @__PURE__ */ jsx15(Pressable11, { onPress: onClose, style: styles14.closeButton, accessibilityLabel: "Close actions sheet", children: /* @__PURE__ */ jsx15(Text11, { style: styles14.closeText, children: "Close" }) })
30031
30077
  ]
30032
30078
  }
30033
30079
  ) }) });
@@ -30098,7 +30144,7 @@ import {
30098
30144
  Pressable as Pressable12,
30099
30145
  ScrollView as ScrollView4,
30100
30146
  StyleSheet as StyleSheet15,
30101
- Text as Text11,
30147
+ Text as Text12,
30102
30148
  View as View15
30103
30149
  } from "react-native";
30104
30150
  import { useViewerStore as useViewerStore12 } from "@papyrus-sdk/core";
@@ -30257,7 +30303,7 @@ function InfoSheet({
30257
30303
  }
30258
30304
  ),
30259
30305
  /* @__PURE__ */ jsx16(
30260
- Text11,
30306
+ Text12,
30261
30307
  {
30262
30308
  style: [styles15.headerTitle, isDark && styles15.headerTitleDark],
30263
30309
  numberOfLines: 1,
@@ -30274,7 +30320,7 @@ function InfoSheet({
30274
30320
  showsVerticalScrollIndicator: false,
30275
30321
  children: [
30276
30322
  /* @__PURE__ */ jsx16(
30277
- Text11,
30323
+ Text12,
30278
30324
  {
30279
30325
  style: [styles15.sectionTitle, isDark && styles15.sectionTitleDark],
30280
30326
  children: locale === "pt-BR" ? "Informa\xE7\xF5es" : "Information"
@@ -30285,9 +30331,9 @@ function InfoSheet({
30285
30331
  {
30286
30332
  style: [styles15.row, isDark && styles15.rowDark],
30287
30333
  children: [
30288
- /* @__PURE__ */ jsx16(Text11, { style: [styles15.label, isDark && styles15.labelDark], children: row.label }),
30334
+ /* @__PURE__ */ jsx16(Text12, { style: [styles15.label, isDark && styles15.labelDark], children: row.label }),
30289
30335
  /* @__PURE__ */ jsx16(
30290
- Text11,
30336
+ Text12,
30291
30337
  {
30292
30338
  style: [styles15.value, isDark && styles15.valueDark],
30293
30339
  selectable: true,
@@ -30410,7 +30456,7 @@ var styles15 = StyleSheet15.create({
30410
30456
  });
30411
30457
 
30412
30458
  // components/OverflowSheet.tsx
30413
- import { Modal as Modal6, Pressable as Pressable13, StyleSheet as StyleSheet16, Text as Text12, View as View16 } from "react-native";
30459
+ import { Modal as Modal6, Pressable as Pressable13, StyleSheet as StyleSheet16, Text as Text13, View as View16 } from "react-native";
30414
30460
  import { useViewerStore as useViewerStore13 } from "@papyrus-sdk/core";
30415
30461
  import { jsx as jsx17, jsxs as jsxs17 } from "react/jsx-runtime";
30416
30462
  var actionLabels = [{ key: "actions", label: "Document actions" }];
@@ -30445,7 +30491,7 @@ function OverflowSheet({
30445
30491
  style: [styles16.actionButton, { borderColor: accentColor }],
30446
30492
  accessibilityLabel: action.label,
30447
30493
  children: /* @__PURE__ */ jsx17(
30448
- Text12,
30494
+ Text13,
30449
30495
  {
30450
30496
  style: [styles16.actionText, isDark && styles16.actionTextDark],
30451
30497
  children: action.label
@@ -30502,7 +30548,7 @@ var styles16 = StyleSheet16.create({
30502
30548
 
30503
30549
  // components/ProgressPill.tsx
30504
30550
  import { useMemo as useMemo7 } from "react";
30505
- import { Pressable as Pressable14, StyleSheet as StyleSheet17, Text as Text13, View as View17 } from "react-native";
30551
+ import { Pressable as Pressable14, StyleSheet as StyleSheet17, Text as Text14, View as View17 } from "react-native";
30506
30552
  import { useViewerStore as useViewerStore14 } from "@papyrus-sdk/core";
30507
30553
  import { jsx as jsx18, jsxs as jsxs18 } from "react/jsx-runtime";
30508
30554
  var clampPercent = (value) => Math.max(0, Math.min(100, Math.round(value)));
@@ -30566,7 +30612,7 @@ function ProgressPill({
30566
30612
  onLongPress: onOpenPageJump,
30567
30613
  style: styles17.labelHit,
30568
30614
  accessibilityLabel: "Open page jump",
30569
- children: /* @__PURE__ */ jsx18(Text13, { style: [styles17.label, isDark && styles17.labelDark], children: label })
30615
+ children: /* @__PURE__ */ jsx18(Text14, { style: [styles17.label, isDark && styles17.labelDark], children: label })
30570
30616
  }
30571
30617
  )
30572
30618
  ]
@@ -30626,7 +30672,7 @@ import {
30626
30672
  Keyboard,
30627
30673
  Pressable as Pressable15,
30628
30674
  StyleSheet as StyleSheet18,
30629
- Text as Text14,
30675
+ Text as Text15,
30630
30676
  TextInput as TextInput3,
30631
30677
  View as View18
30632
30678
  } from "react-native";
@@ -30711,7 +30757,7 @@ function SearchOverlay({
30711
30757
  onPress: handleClose,
30712
30758
  style: [styles18.closeButton, isDark && styles18.closeButtonDark],
30713
30759
  accessibilityLabel: "Close search",
30714
- children: /* @__PURE__ */ jsx19(Text14, { style: [styles18.closeText, isDark && styles18.closeTextDark], children: t.cancel })
30760
+ children: /* @__PURE__ */ jsx19(Text15, { style: [styles18.closeText, isDark && styles18.closeTextDark], children: t.cancel })
30715
30761
  }
30716
30762
  )
30717
30763
  ] }),
@@ -30730,7 +30776,7 @@ function SearchOverlay({
30730
30776
  children: /* @__PURE__ */ jsx19(IconChevronLeft, { size: 16, color: isDark ? "#e5e7eb" : "#111827" })
30731
30777
  }
30732
30778
  ),
30733
- /* @__PURE__ */ jsx19(Text14, { style: [styles18.metaText, isDark && styles18.metaTextDark], children: isSearching ? t.searching : `${currentCount}/${searchResults.length} ${targetLabel}` }),
30779
+ /* @__PURE__ */ jsx19(Text15, { style: [styles18.metaText, isDark && styles18.metaTextDark], children: isSearching ? t.searching : `${currentCount}/${searchResults.length} ${targetLabel}` }),
30734
30780
  /* @__PURE__ */ jsx19(
30735
30781
  Pressable15,
30736
30782
  {
@@ -30753,7 +30799,7 @@ function SearchOverlay({
30753
30799
  onPress: handleSubmit,
30754
30800
  style: [styles18.primaryAction, { backgroundColor: accentColor }],
30755
30801
  accessibilityLabel: "Run search",
30756
- children: /* @__PURE__ */ jsx19(Text14, { style: styles18.primaryActionText, children: t.searchGo })
30802
+ children: /* @__PURE__ */ jsx19(Text15, { style: styles18.primaryActionText, children: t.searchGo })
30757
30803
  }
30758
30804
  ),
30759
30805
  /* @__PURE__ */ jsx19(
@@ -30768,7 +30814,7 @@ function SearchOverlay({
30768
30814
  ],
30769
30815
  accessibilityLabel: "Open all results",
30770
30816
  children: /* @__PURE__ */ jsx19(
30771
- Text14,
30817
+ Text15,
30772
30818
  {
30773
30819
  style: [
30774
30820
  styles18.secondaryActionText,
@@ -30930,7 +30976,7 @@ import {
30930
30976
  Pressable as Pressable16,
30931
30977
  ScrollView as ScrollView5,
30932
30978
  StyleSheet as StyleSheet19,
30933
- Text as Text15,
30979
+ Text as Text16,
30934
30980
  View as View19
30935
30981
  } from "react-native";
30936
30982
  import { useViewerStore as useViewerStore16 } from "@papyrus-sdk/core";
@@ -30970,14 +31016,14 @@ function SearchResultsSheet({
30970
31016
  /* @__PURE__ */ jsxs20(View19, { style: [styles19.sheet, isDark && styles19.sheetDark], children: [
30971
31017
  /* @__PURE__ */ jsx20(View19, { style: [styles19.handle, isDark && styles19.handleDark] }),
30972
31018
  /* @__PURE__ */ jsxs20(View19, { style: styles19.header, children: [
30973
- /* @__PURE__ */ jsx20(Text15, { style: [styles19.title, isDark && styles19.titleDark], children: t.allResults }),
30974
- /* @__PURE__ */ jsxs20(Text15, { style: [styles19.meta, isDark && styles19.metaDark], children: [
31019
+ /* @__PURE__ */ jsx20(Text16, { style: [styles19.title, isDark && styles19.titleDark], children: t.allResults }),
31020
+ /* @__PURE__ */ jsxs20(Text16, { style: [styles19.meta, isDark && styles19.metaDark], children: [
30975
31021
  searchResults.length,
30976
31022
  " ",
30977
31023
  t.results
30978
31024
  ] })
30979
31025
  ] }),
30980
- /* @__PURE__ */ jsx20(ScrollView5, { contentContainerStyle: styles19.content, children: searchResults.length === 0 ? /* @__PURE__ */ jsx20(Text15, { style: [styles19.emptyText, isDark && styles19.emptyTextDark], children: t.noResults }) : searchResults.map((result, index) => {
31026
+ /* @__PURE__ */ jsx20(ScrollView5, { contentContainerStyle: styles19.content, children: searchResults.length === 0 ? /* @__PURE__ */ jsx20(Text16, { style: [styles19.emptyText, isDark && styles19.emptyTextDark], children: t.noResults }) : searchResults.map((result, index) => {
30981
31027
  const isActive = index === activeSearchIndex;
30982
31028
  return /* @__PURE__ */ jsxs20(
30983
31029
  Pressable16,
@@ -30999,9 +31045,9 @@ function SearchResultsSheet({
30999
31045
  }
31000
31046
  ],
31001
31047
  children: [
31002
- /* @__PURE__ */ jsx20(Text15, { style: [styles19.resultLabel, { color: accentColor }], children: getResultLabel(result.pageIndex) }),
31048
+ /* @__PURE__ */ jsx20(Text16, { style: [styles19.resultLabel, { color: accentColor }], children: getResultLabel(result.pageIndex) }),
31003
31049
  /* @__PURE__ */ jsx20(
31004
- Text15,
31050
+ Text16,
31005
31051
  {
31006
31052
  style: [
31007
31053
  styles19.resultText,