@unifold/connect-react-native 0.1.35-beta-001 → 0.1.35-beta-002
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +7 -4
package/dist/index.d.mts
CHANGED
|
@@ -317,9 +317,15 @@ interface BottomSheetProps {
|
|
|
317
317
|
onClose: () => void;
|
|
318
318
|
children: React$1.ReactNode;
|
|
319
319
|
closeOnBackdropPress?: boolean;
|
|
320
|
+
/** Allow swiping the sheet down to dismiss. Independent of closeOnBackdropPress. Default: true */
|
|
321
|
+
enablePanDownToClose?: boolean;
|
|
320
322
|
showHandle?: boolean;
|
|
321
323
|
/** Height as percentage of screen (0-1), e.g. 0.9 for 90% */
|
|
322
324
|
heightPercent?: number;
|
|
325
|
+
/** When set with heightPercent, allows dragging the sheet up to this height (0-1). */
|
|
326
|
+
maxHeightPercent?: number;
|
|
327
|
+
/** When true and maxHeightPercent is set, opens at the expanded height instead of the collapsed height. */
|
|
328
|
+
startExpanded?: boolean;
|
|
323
329
|
/** Remove bottom safe area padding */
|
|
324
330
|
noPadding?: boolean;
|
|
325
331
|
/** Top-left corner radius (default: 24) */
|
|
@@ -327,7 +333,7 @@ interface BottomSheetProps {
|
|
|
327
333
|
/** Top-right corner radius (default: 24) */
|
|
328
334
|
borderTopRightRadius?: number;
|
|
329
335
|
}
|
|
330
|
-
declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, showHandle, heightPercent, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element;
|
|
336
|
+
declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
|
|
331
337
|
|
|
332
338
|
/** Controls which transfer crypto input variant is rendered */
|
|
333
339
|
type TransferInputVariant = "single_input" | "double_input";
|
package/dist/index.d.ts
CHANGED
|
@@ -317,9 +317,15 @@ interface BottomSheetProps {
|
|
|
317
317
|
onClose: () => void;
|
|
318
318
|
children: React$1.ReactNode;
|
|
319
319
|
closeOnBackdropPress?: boolean;
|
|
320
|
+
/** Allow swiping the sheet down to dismiss. Independent of closeOnBackdropPress. Default: true */
|
|
321
|
+
enablePanDownToClose?: boolean;
|
|
320
322
|
showHandle?: boolean;
|
|
321
323
|
/** Height as percentage of screen (0-1), e.g. 0.9 for 90% */
|
|
322
324
|
heightPercent?: number;
|
|
325
|
+
/** When set with heightPercent, allows dragging the sheet up to this height (0-1). */
|
|
326
|
+
maxHeightPercent?: number;
|
|
327
|
+
/** When true and maxHeightPercent is set, opens at the expanded height instead of the collapsed height. */
|
|
328
|
+
startExpanded?: boolean;
|
|
323
329
|
/** Remove bottom safe area padding */
|
|
324
330
|
noPadding?: boolean;
|
|
325
331
|
/** Top-left corner radius (default: 24) */
|
|
@@ -327,7 +333,7 @@ interface BottomSheetProps {
|
|
|
327
333
|
/** Top-right corner radius (default: 24) */
|
|
328
334
|
borderTopRightRadius?: number;
|
|
329
335
|
}
|
|
330
|
-
declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, showHandle, heightPercent, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element;
|
|
336
|
+
declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
|
|
331
337
|
|
|
332
338
|
/** Controls which transfer crypto input variant is rendered */
|
|
333
339
|
type TransferInputVariant = "single_input" | "double_input";
|