@b3dotfun/sdk 0.0.71-alpha.2 → 0.0.71-alpha.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.
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { Drawer as DrawerPrimitive } from "vaul";
3
3
  declare const Drawer: {
4
- ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ ({ shouldScaleBackground, repositionInputs, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  declare const DrawerTrigger: React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -39,7 +39,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
39
39
  const React = __importStar(require("react"));
40
40
  const vaul_1 = require("vaul");
41
41
  const utils_1 = require("../../../../shared/utils");
42
- const Drawer = ({ shouldScaleBackground = true, ...props }) => ((0, jsx_runtime_1.jsx)(vaul_1.Drawer.Root, { shouldScaleBackground: shouldScaleBackground, ...props }));
42
+ const Drawer = ({ shouldScaleBackground = true, repositionInputs = false, ...props }) => ((0, jsx_runtime_1.jsx)(vaul_1.Drawer.Root, { repositionInputs: repositionInputs, shouldScaleBackground: shouldScaleBackground, ...props }));
43
43
  exports.Drawer = Drawer;
44
44
  Drawer.displayName = "Drawer";
45
45
  const DrawerTrigger = vaul_1.Drawer.Trigger;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { Drawer as DrawerPrimitive } from "vaul";
3
3
  declare const Drawer: {
4
- ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ ({ shouldScaleBackground, repositionInputs, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  declare const DrawerTrigger: React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { Drawer as DrawerPrimitive } from "vaul";
5
5
  import { cn } from "../../../../shared/utils/index.js";
6
- const Drawer = ({ shouldScaleBackground = true, ...props }) => (_jsx(DrawerPrimitive.Root, { shouldScaleBackground: shouldScaleBackground, ...props }));
6
+ const Drawer = ({ shouldScaleBackground = true, repositionInputs = false, ...props }) => (_jsx(DrawerPrimitive.Root, { repositionInputs: repositionInputs, shouldScaleBackground: shouldScaleBackground, ...props }));
7
7
  Drawer.displayName = "Drawer";
8
8
  const DrawerTrigger = DrawerPrimitive.Trigger;
9
9
  const DrawerPortal = DrawerPrimitive.Portal;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { Drawer as DrawerPrimitive } from "vaul";
3
3
  declare const Drawer: {
4
- ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ ({ shouldScaleBackground, repositionInputs, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  declare const DrawerTrigger: React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.71-alpha.2",
3
+ "version": "0.0.71-alpha.3",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -5,8 +5,12 @@ import { Drawer as DrawerPrimitive } from "vaul";
5
5
 
6
6
  import { cn } from "@b3dotfun/sdk/shared/utils";
7
7
 
8
- const Drawer = ({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) => (
9
- <DrawerPrimitive.Root shouldScaleBackground={shouldScaleBackground} {...props} />
8
+ const Drawer = ({
9
+ shouldScaleBackground = true,
10
+ repositionInputs = false,
11
+ ...props
12
+ }: React.ComponentProps<typeof DrawerPrimitive.Root>) => (
13
+ <DrawerPrimitive.Root repositionInputs={repositionInputs} shouldScaleBackground={shouldScaleBackground} {...props} />
10
14
  );
11
15
  Drawer.displayName = "Drawer";
12
16