@papyrus-sdk/ui-react-native 0.2.18-beta.0 → 0.2.18-beta.2

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
@@ -24041,7 +24041,9 @@ function DedicatedAndroidPdfViewer({
24041
24041
  setSelection(null);
24042
24042
  selectionRef.current = null;
24043
24043
  }, []);
24044
- if (!engineId) return null;
24044
+ if (!engineId) {
24045
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_native3.View, { style: styles3.container });
24046
+ }
24045
24047
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_react_native3.View, { style: styles3.container, children: [
24046
24048
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
24047
24049
  import_engine_native2.PapyrusPdfViewerView,
@@ -28585,11 +28587,10 @@ var SettingsSheet = ({
28585
28587
  engine.setZoom(next);
28586
28588
  setDocumentState({ zoom: next });
28587
28589
  };
28588
- if (!visible) return null;
28589
28590
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_native11.View, { style: styles11.modalRoot, pointerEvents: "box-none", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
28590
28591
  import_bottom_sheet2.default,
28591
28592
  {
28592
- index: 0,
28593
+ index: visible ? 0 : -1,
28593
28594
  snapPoints,
28594
28595
  enablePanDownToClose: true,
28595
28596
  onClose,