@papyrus-sdk/ui-react-native 0.2.18-beta.1 → 0.2.18-beta.3

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
@@ -24031,9 +24031,6 @@ function DedicatedAndroidPdfViewer({
24031
24031
  setSelection(null);
24032
24032
  selectionRef.current = null;
24033
24033
  }, []);
24034
- if (!engineId) {
24035
- return /* @__PURE__ */ jsx4(View3, { style: styles3.container });
24036
- }
24037
24034
  return /* @__PURE__ */ jsxs4(View3, { style: styles3.container, children: [
24038
24035
  /* @__PURE__ */ jsx4(
24039
24036
  PapyrusPdfViewerView,
@@ -28607,11 +28604,10 @@ var SettingsSheet = ({
28607
28604
  engine.setZoom(next);
28608
28605
  setDocumentState({ zoom: next });
28609
28606
  };
28610
- if (!visible) return null;
28611
28607
  return /* @__PURE__ */ jsx12(View11, { style: styles11.modalRoot, pointerEvents: "box-none", children: /* @__PURE__ */ jsx12(
28612
28608
  BottomSheet2,
28613
28609
  {
28614
- index: 0,
28610
+ index: visible ? 0 : -1,
28615
28611
  snapPoints,
28616
28612
  enablePanDownToClose: true,
28617
28613
  onClose,