@worldcoin/mini-apps-ui-kit-react 1.0.0-canary.20 → 1.0.0-canary.21

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.
@@ -2,7 +2,7 @@ import { BottomBarProps } from '../BottomBar';
2
2
  import { AlertDialogCloseProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogHeaderProps, AlertDialogProps, AlertDialogTitleProps, AlertDialogTriggerProps } from './types';
3
3
  import * as React from "react";
4
4
  declare const AlertDialog: {
5
- ({ dismissible, modal, ...props }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
5
+ ({ dismissible, modal, repositionInputs, ...props }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
8
8
  declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -8,12 +8,18 @@ import { AlertDialogContext, useAlertDialog } from "./use-alert-dialog.js";
8
8
  import { BottomBar } from "../BottomBar/BottomBar.js";
9
9
  import { Typography } from "../Typography/Typography.js";
10
10
  import { Button } from "../Button/Button.js";
11
- const AlertDialog = ({ dismissible = true, modal = true, ...props }) => /* @__PURE__ */ jsx(AlertDialogContext.Provider, { value: { dismissible }, children: /* @__PURE__ */ jsx(
11
+ const AlertDialog = ({
12
+ dismissible = true,
13
+ modal = true,
14
+ repositionInputs = false,
15
+ ...props
16
+ }) => /* @__PURE__ */ jsx(AlertDialogContext.Provider, { value: { dismissible }, children: /* @__PURE__ */ jsx(
12
17
  Drawer.Root,
13
18
  {
14
19
  shouldScaleBackground: false,
15
20
  dismissible,
16
21
  modal,
22
+ repositionInputs,
17
23
  ...props
18
24
  }
19
25
  ) });
@@ -5,7 +5,7 @@ import * as React from "react";
5
5
  * @param props DrawerProps
6
6
  */
7
7
  declare const Drawer: {
8
- ({ dismissible, height, modal, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
8
+ ({ dismissible, height, modal, repositionInputs, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
9
9
  displayName: string;
10
10
  };
11
11
  declare const DrawerTrigger: React.ForwardRefExoticComponent<DrawerTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -11,6 +11,7 @@ const Drawer = ({
11
11
  dismissible = true,
12
12
  height = "full",
13
13
  modal = true,
14
+ repositionInputs = false,
14
15
  ...props
15
16
  }) => /* @__PURE__ */ jsx(DrawerContext.Provider, { value: { dismissible, height }, children: /* @__PURE__ */ jsx(
16
17
  Drawer$1.Root,
@@ -20,6 +21,7 @@ const Drawer = ({
20
21
  modal,
21
22
  direction: "bottom",
22
23
  handleOnly: true,
24
+ repositionInputs,
23
25
  ...props
24
26
  }
25
27
  ) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worldcoin/mini-apps-ui-kit-react",
3
- "version": "1.0.0-canary.20",
3
+ "version": "1.0.0-canary.21",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",