@unifold/connect-react-native 0.1.45 → 0.1.46

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.d.mts CHANGED
@@ -325,8 +325,13 @@ interface BottomSheetProps {
325
325
  noPadding?: boolean;
326
326
  borderTopLeftRadius?: number;
327
327
  borderTopRightRadius?: number;
328
+ /** Extra content rendered inside the Modal layer above the sheet (e.g. a secondary overlay sheet). */
329
+ overlay?: React$1.ReactNode;
330
+ /** When false, render as an absolutely-positioned overlay instead of inside a Modal.
331
+ * Use this for sheets that must appear on top of an already-open Modal (iOS limitation). */
332
+ useModal?: boolean;
328
333
  }
329
- declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
334
+ declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, overlay, useModal: useModalProp, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
330
335
 
331
336
  /** Controls which transfer crypto input variant is rendered */
332
337
  type TransferInputVariant = "single_input" | "double_input";
package/dist/index.d.ts CHANGED
@@ -325,8 +325,13 @@ interface BottomSheetProps {
325
325
  noPadding?: boolean;
326
326
  borderTopLeftRadius?: number;
327
327
  borderTopRightRadius?: number;
328
+ /** Extra content rendered inside the Modal layer above the sheet (e.g. a secondary overlay sheet). */
329
+ overlay?: React$1.ReactNode;
330
+ /** When false, render as an absolutely-positioned overlay instead of inside a Modal.
331
+ * Use this for sheets that must appear on top of an already-open Modal (iOS limitation). */
332
+ useModal?: boolean;
328
333
  }
329
- declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
334
+ declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, overlay, useModal: useModalProp, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
330
335
 
331
336
  /** Controls which transfer crypto input variant is rendered */
332
337
  type TransferInputVariant = "single_input" | "double_input";