@fairmint/ui 0.2.26 → 0.2.27

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,5 +1,5 @@
1
1
  import { DrawerProps as MantineDrawerProps } from '@mantine/core';
2
2
  export interface DrawerProps extends MantineDrawerProps {
3
3
  }
4
- export declare function Drawer(props: DrawerProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function Drawer({ zIndex, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=Drawer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEhG,MAAM,WAAW,WAAY,SAAQ,kBAAkB;CAAG;AAE1D,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,2CAExC"}
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIhG,MAAM,WAAW,WAAY,SAAQ,kBAAkB;CAAG;AAE1D,wBAAgB,MAAM,CAAC,EAAE,MAAsC,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAEvF"}
@@ -1,5 +1,5 @@
1
1
  import { ModalProps as MantineModalProps } from '@mantine/core';
2
2
  export interface ModalProps extends MantineModalProps {
3
3
  }
4
- export declare function Modal(props: ModalProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function Modal({ zIndex, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,UAAU,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE5F,MAAM,WAAW,UAAW,SAAQ,iBAAiB;CAAG;AAExD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAEtC"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,UAAU,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAI5F,MAAM,WAAW,UAAW,SAAQ,iBAAiB;CAAG;AAExD,wBAAgB,KAAK,CAAC,EAAE,MAAsC,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAErF"}
@@ -36450,6 +36450,7 @@ const AVATAR_PALETTE = [
36450
36450
  colors.accent2,
36451
36451
  colors.accent3
36452
36452
  ];
36453
+ const overlayZIndexAboveLegacyShell = 1300;
36453
36454
  const radii = {
36454
36455
  xs: "0.25rem",
36455
36456
  sm: "0.375rem",
@@ -36743,8 +36744,8 @@ const Card = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Car
36743
36744
  Card.displayName = "Card";
36744
36745
  const Checkbox = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Checkbox$1, { color: colors.primary, ...props, ref }));
36745
36746
  Checkbox.displayName = "Checkbox";
36746
- function Drawer(props) {
36747
- return /* @__PURE__ */ jsxRuntime.jsx(Drawer$1, { position: "right", size: "lg", p: "lg", ...props });
36747
+ function Drawer({ zIndex = overlayZIndexAboveLegacyShell, ...props }) {
36748
+ return /* @__PURE__ */ jsxRuntime.jsx(Drawer$1, { position: "right", size: "lg", p: "lg", ...props, zIndex });
36748
36749
  }
36749
36750
  function Loader(props) {
36750
36751
  return /* @__PURE__ */ jsxRuntime.jsx(Loader$1, { ...props });
@@ -36759,8 +36760,8 @@ const Menu = Object.assign(MenuBase, {
36759
36760
  Label: Menu$1.Label,
36760
36761
  Divider: Menu$1.Divider
36761
36762
  });
36762
- function Modal(props) {
36763
- return /* @__PURE__ */ jsxRuntime.jsx(Modal$1, { centered: true, radius: "lg", ...props });
36763
+ function Modal({ zIndex = overlayZIndexAboveLegacyShell, ...props }) {
36764
+ return /* @__PURE__ */ jsxRuntime.jsx(Modal$1, { centered: true, radius: "lg", ...props, zIndex });
36764
36765
  }
36765
36766
  const PasswordInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(PasswordInput$1, { size: "md", ...props, ref }));
36766
36767
  PasswordInput.displayName = "PasswordInput";