@saas-ui/react 3.0.0-next.6 → 3.0.0-next.8

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/_tsup-dts-rollup.d.cts +5 -21
  3. package/dist/_tsup-dts-rollup.d.ts +5 -21
  4. package/dist/{chunk-BVISYY3B.js → chunk-2UMNJBGS.js} +1 -1
  5. package/dist/{chunk-4H66FBQW.js → chunk-3EWOE56X.js} +1 -1
  6. package/dist/{chunk-L4JB7UFV.js → chunk-6XSCENTR.js} +1 -1
  7. package/dist/{chunk-HJX66GFT.js → chunk-C5YLE76Q.js} +1 -1
  8. package/dist/{chunk-AHG5XKEK.js → chunk-D72A4SU3.js} +2 -2
  9. package/dist/{chunk-ZNQNBTWF.js → chunk-DEP2DH7P.js} +1 -1
  10. package/dist/{chunk-HRFQMDUK.js → chunk-FVUEAELO.js} +2 -9
  11. package/dist/{chunk-5RWFHB7W.js → chunk-GXOQVOKP.js} +1 -1
  12. package/dist/{chunk-KH7E5C3C.js → chunk-HHKMVSL4.js} +1 -1
  13. package/dist/{chunk-HHUVJRPT.js → chunk-HXNGSQQG.js} +1 -1
  14. package/dist/{chunk-LKPWSC6O.js → chunk-KHCQMSP7.js} +1 -1
  15. package/dist/{chunk-JL4MHGRE.js → chunk-OWFY465Z.js} +6 -4
  16. package/dist/{chunk-YX44E5NF.js → chunk-P3IIT34M.js} +1 -1
  17. package/dist/{chunk-KB6NR2HZ.js → chunk-QKDPNO27.js} +1 -1
  18. package/dist/{chunk-K7BMQECB.js → chunk-SHCKFHIN.js} +1 -1
  19. package/dist/{chunk-5OUNZEYB.js → chunk-TKJXJEXT.js} +1 -1
  20. package/dist/{chunk-WZUKOJGI.js → chunk-U2CWQDXE.js} +1 -1
  21. package/dist/{chunk-EJOXGWHK.js → chunk-VVTDE7NH.js} +1 -1
  22. package/dist/{chunk-I2J6U5Z4.js → chunk-XQTIY2ND.js} +1 -1
  23. package/dist/{chunk-OME35FUG.js → chunk-XRQQE2AC.js} +1 -0
  24. package/dist/components/accordion/index.js +2 -2
  25. package/dist/components/action-bar/index.js +3 -3
  26. package/dist/components/alert/index.js +3 -3
  27. package/dist/components/back-button/index.js +2 -2
  28. package/dist/components/clipboard/index.js +2 -2
  29. package/dist/components/close-button/index.js +2 -2
  30. package/dist/components/dialog/index.js +3 -3
  31. package/dist/components/drawer/index.js +3 -3
  32. package/dist/components/file-upload/index.js +3 -3
  33. package/dist/components/icons/index.js +1 -1
  34. package/dist/components/info-tip/index.cjs +6 -11
  35. package/dist/components/info-tip/index.js +6 -5
  36. package/dist/components/menu/index.js +2 -2
  37. package/dist/components/native-select/index.js +2 -2
  38. package/dist/components/pagination/index.js +2 -2
  39. package/dist/components/popover/index.cjs +1 -8
  40. package/dist/components/popover/index.js +3 -3
  41. package/dist/components/search-input/index.js +2 -2
  42. package/dist/components/select/index.js +3 -3
  43. package/dist/components/steps/index.js +2 -2
  44. package/dist/components/toaster/index.js +3 -3
  45. package/dist/components/toggle-tip/index.cjs +6 -11
  46. package/dist/components/toggle-tip/index.js +5 -4
  47. package/dist/index.cjs +17 -23
  48. package/dist/index.d.cts +1 -0
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.js +80 -77
  51. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 3.0.0-next.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix Popover props
8
+
9
+ ## 3.0.0-next.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Export createIcon
14
+
3
15
  ## 3.0.0-next.6
4
16
 
5
17
  ### Patch Changes
@@ -2805,23 +2805,10 @@ maxWidth: "full";
2805
2805
 
2806
2806
  declare const Content_2 = forwardRef<HTMLDivElement, ContentProps_3>(
2807
2807
  declare function PopoverContent(props, ref) {
2808
- // TODO: fix this, somehow the experimental dts build fails when deconstructing props
2809
- const portalled = props.portalled ?? false
2810
- const portalRef = props.portalRef ?? undefined
2811
- const children = props.children ?? null
2812
-
2813
- delete props.portalled
2814
- delete props.portalRef
2815
- delete props.children
2816
-
2817
2808
  return (
2818
- <Portal disabled={!portalled} container={portalRef}>
2819
2809
  <ChakraPopover.Positioner>
2820
- <ChakraPopover.Content ref={ref} {...props}>
2821
- {children}
2822
- </ChakraPopover.Content>
2810
+ <ChakraPopover.Content ref={ref} {...props} />
2823
2811
  </ChakraPopover.Positioner>
2824
- </Portal>
2825
2812
  )
2826
2813
  },
2827
2814
  );
@@ -2847,10 +2834,7 @@ declare interface ContentProps_2 extends HoverCard_2.ContentProps {
2847
2834
  portalRef?: React_2.RefObject<HTMLElement>;
2848
2835
  }
2849
2836
 
2850
- declare interface ContentProps_3 extends Popover_3.ContentProps {
2851
- portalled?: boolean
2852
- portalRef?: RefObject<HTMLElement>
2853
- }
2837
+ declare interface ContentProps_3 extends Popover_3.ContentProps {}
2854
2838
 
2855
2839
  export declare type ContentProps_alias_1 = ActionBarContentProps;
2856
2840
 
@@ -2872,8 +2856,6 @@ export declare interface ContentProps_alias_4 extends Menu_2.ContentProps {
2872
2856
  }
2873
2857
 
2874
2858
  export declare interface ContentProps_alias_5 extends Popover_3.ContentProps {
2875
- portalled?: boolean;
2876
- portalRef?: RefObject<HTMLElement>;
2877
2859
  }
2878
2860
 
2879
2861
  export declare const Context: (props: DialogContextProps) => ReactNode;
@@ -2898,7 +2880,9 @@ declare const CopyIcon: ForwardRefExoticComponent<IconProps_2 & RefAttributes<SV
2898
2880
  export { CopyIcon }
2899
2881
  export { CopyIcon as CopyIcon_alias_1 }
2900
2882
 
2901
- export declare const createIcon: (props: CreateIconOptions) => ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
2883
+ declare const createIcon: (props: CreateIconOptions) => ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
2884
+ export { createIcon }
2885
+ export { createIcon as createIcon_alias_1 }
2902
2886
 
2903
2887
  declare interface CreateIconOptions {
2904
2888
  /**
@@ -2805,23 +2805,10 @@ maxWidth: "full";
2805
2805
 
2806
2806
  declare const Content_2 = forwardRef<HTMLDivElement, ContentProps_3>(
2807
2807
  declare function PopoverContent(props, ref) {
2808
- // TODO: fix this, somehow the experimental dts build fails when deconstructing props
2809
- const portalled = props.portalled ?? false
2810
- const portalRef = props.portalRef ?? undefined
2811
- const children = props.children ?? null
2812
-
2813
- delete props.portalled
2814
- delete props.portalRef
2815
- delete props.children
2816
-
2817
2808
  return (
2818
- <Portal disabled={!portalled} container={portalRef}>
2819
2809
  <ChakraPopover.Positioner>
2820
- <ChakraPopover.Content ref={ref} {...props}>
2821
- {children}
2822
- </ChakraPopover.Content>
2810
+ <ChakraPopover.Content ref={ref} {...props} />
2823
2811
  </ChakraPopover.Positioner>
2824
- </Portal>
2825
2812
  )
2826
2813
  },
2827
2814
  );
@@ -2847,10 +2834,7 @@ declare interface ContentProps_2 extends HoverCard_2.ContentProps {
2847
2834
  portalRef?: React_2.RefObject<HTMLElement>;
2848
2835
  }
2849
2836
 
2850
- declare interface ContentProps_3 extends Popover_3.ContentProps {
2851
- portalled?: boolean
2852
- portalRef?: RefObject<HTMLElement>
2853
- }
2837
+ declare interface ContentProps_3 extends Popover_3.ContentProps {}
2854
2838
 
2855
2839
  export declare type ContentProps_alias_1 = ActionBarContentProps;
2856
2840
 
@@ -2872,8 +2856,6 @@ export declare interface ContentProps_alias_4 extends Menu_2.ContentProps {
2872
2856
  }
2873
2857
 
2874
2858
  export declare interface ContentProps_alias_5 extends Popover_3.ContentProps {
2875
- portalled?: boolean;
2876
- portalRef?: RefObject<HTMLElement>;
2877
2859
  }
2878
2860
 
2879
2861
  export declare const Context: (props: DialogContextProps) => ReactNode;
@@ -2898,7 +2880,9 @@ declare const CopyIcon: ForwardRefExoticComponent<IconProps_2 & RefAttributes<SV
2898
2880
  export { CopyIcon }
2899
2881
  export { CopyIcon as CopyIcon_alias_1 }
2900
2882
 
2901
- export declare const createIcon: (props: CreateIconOptions) => ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
2883
+ declare const createIcon: (props: CreateIconOptions) => ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
2884
+ export { createIcon }
2885
+ export { createIcon as createIcon_alias_1 }
2902
2886
 
2903
2887
  declare interface CreateIconOptions {
2904
2888
  /**
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
 
6
6
  // src/components/alert/alert.tsx
7
7
  import { forwardRef } from "react";
@@ -9,7 +9,7 @@ import {
9
9
  ChevronLeftIcon,
10
10
  ChevronRightIcon,
11
11
  EllipsisIcon
12
- } from "./chunk-OME35FUG.js";
12
+ } from "./chunk-XRQQE2AC.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-RTMS5TJN.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CloseIcon,
4
4
  SearchIcon
5
- } from "./chunk-OME35FUG.js";
5
+ } from "./chunk-XRQQE2AC.js";
6
6
 
7
7
  // src/components/search-input/search-input.tsx
8
8
  import React, { forwardRef } from "react";
@@ -1,13 +1,13 @@
1
1
  'use client'
2
2
  import {
3
3
  ToggleTip
4
- } from "./chunk-JL4MHGRE.js";
4
+ } from "./chunk-OWFY465Z.js";
5
5
  import {
6
6
  IconButton
7
7
  } from "./chunk-OJZPPAT6.js";
8
8
  import {
9
9
  InfoIcon
10
- } from "./chunk-OME35FUG.js";
10
+ } from "./chunk-XRQQE2AC.js";
11
11
 
12
12
  // src/components/info-tip/info-tip.tsx
13
13
  import * as React from "react";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  CheckIcon,
7
7
  ChevronRightIcon
8
- } from "./chunk-OME35FUG.js";
8
+ } from "./chunk-XRQQE2AC.js";
9
9
  import {
10
10
  __export
11
11
  } from "./chunk-RTMS5TJN.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -24,17 +24,10 @@ __export(popover_exports, {
24
24
  });
25
25
  import { forwardRef } from "react";
26
26
  import { Popover as ChakraPopover } from "@chakra-ui/react/popover";
27
- import { Portal } from "@chakra-ui/react/portal";
28
27
  import { jsx } from "react/jsx-runtime";
29
28
  var Content = forwardRef(
30
29
  function PopoverContent(props, ref) {
31
- const portalled = props.portalled ?? false;
32
- const portalRef = props.portalRef ?? void 0;
33
- const children = props.children ?? null;
34
- delete props.portalled;
35
- delete props.portalRef;
36
- delete props.children;
37
- return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(ChakraPopover.Positioner, { children: /* @__PURE__ */ jsx(ChakraPopover.Content, { ref, ...props, children }) }) });
30
+ return /* @__PURE__ */ jsx(ChakraPopover.Positioner, { children: /* @__PURE__ */ jsx(ChakraPopover.Content, { ref, ...props }) });
38
31
  }
39
32
  );
40
33
  var Arrow = forwardRef(
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-MK3OG2I4.js";
5
5
  import {
6
6
  CloseButton
7
- } from "./chunk-WZUKOJGI.js";
7
+ } from "./chunk-U2CWQDXE.js";
8
8
 
9
9
  // src/components/toaster/toaster.tsx
10
10
  import { useCallback, useMemo, useState } from "react";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-LIOV5MU4.js";
5
5
  import {
6
6
  ArrowLeftIcon
7
- } from "./chunk-OME35FUG.js";
7
+ } from "./chunk-XRQQE2AC.js";
8
8
 
9
9
  // src/components/back-button/back-button.tsx
10
10
  import { forwardRef } from "react";
@@ -1,7 +1,10 @@
1
1
  'use client'
2
+ import {
3
+ Portal
4
+ } from "./chunk-UZUMIWPJ.js";
2
5
  import {
3
6
  popover_exports
4
- } from "./chunk-HRFQMDUK.js";
7
+ } from "./chunk-FVUEAELO.js";
5
8
 
6
9
  // src/components/toggle-tip/toggle-tip.tsx
7
10
  import * as React from "react";
@@ -18,7 +21,7 @@ var ToggleTip = React.forwardRef(
18
21
  } = props;
19
22
  return /* @__PURE__ */ jsxs(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
20
23
  /* @__PURE__ */ jsx(popover_exports.Trigger, { asChild: true, children }),
21
- /* @__PURE__ */ jsxs(
24
+ /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsxs(
22
25
  popover_exports.Content,
23
26
  {
24
27
  width: "auto",
@@ -26,14 +29,13 @@ var ToggleTip = React.forwardRef(
26
29
  py: "1",
27
30
  textStyle: "xs",
28
31
  rounded: "sm",
29
- portalled,
30
32
  ref,
31
33
  children: [
32
34
  showArrow && /* @__PURE__ */ jsx(popover_exports.Arrow, {}),
33
35
  content
34
36
  ]
35
37
  }
36
- )
38
+ ) })
37
39
  ] });
38
40
  }
39
41
  );
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  CheckIcon,
13
13
  CopyIcon
14
- } from "./chunk-OME35FUG.js";
14
+ } from "./chunk-XRQQE2AC.js";
15
15
  import {
16
16
  __export
17
17
  } from "./chunk-RTMS5TJN.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  ChevronRightIcon
4
- } from "./chunk-OME35FUG.js";
4
+ } from "./chunk-XRQQE2AC.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  ChevronDownIcon
4
- } from "./chunk-OME35FUG.js";
4
+ } from "./chunk-XRQQE2AC.js";
5
5
 
6
6
  // src/components/native-select/native-select.tsx
7
7
  import * as React from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-OJZPPAT6.js";
5
5
  import {
6
6
  CloseIcon
7
- } from "./chunk-OME35FUG.js";
7
+ } from "./chunk-XRQQE2AC.js";
8
8
 
9
9
  // src/components/close-button/close-button.tsx
10
10
  import { forwardRef } from "react";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CloseButton
4
- } from "./chunk-WZUKOJGI.js";
4
+ } from "./chunk-U2CWQDXE.js";
5
5
  import {
6
6
  Button
7
7
  } from "./chunk-5HVAMQYO.js";
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  CheckIcon
4
- } from "./chunk-OME35FUG.js";
4
+ } from "./chunk-XRQQE2AC.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -130,6 +130,7 @@ var ArrowLeftIcon = createIcon({
130
130
  });
131
131
 
132
132
  export {
133
+ createIcon,
133
134
  ChevronUpIcon,
134
135
  ChevronDownIcon,
135
136
  ChevronLeftIcon,
@@ -1,8 +1,8 @@
1
1
  'use client'
2
2
  import {
3
3
  accordion_exports
4
- } from "../../chunk-KB6NR2HZ.js";
5
- import "../../chunk-OME35FUG.js";
4
+ } from "../../chunk-QKDPNO27.js";
5
+ import "../../chunk-XRQQE2AC.js";
6
6
  import "../../chunk-RTMS5TJN.js";
7
7
  export {
8
8
  accordion_exports as Accordion
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  action_bar_exports
4
- } from "../../chunk-K7BMQECB.js";
4
+ } from "../../chunk-SHCKFHIN.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-WZUKOJGI.js";
6
+ import "../../chunk-U2CWQDXE.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-OME35FUG.js";
9
+ import "../../chunk-XRQQE2AC.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  action_bar_exports as ActionBar
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  Alert
4
- } from "../../chunk-4H66FBQW.js";
4
+ } from "../../chunk-3EWOE56X.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-WZUKOJGI.js";
6
+ import "../../chunk-U2CWQDXE.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-OME35FUG.js";
9
+ import "../../chunk-XRQQE2AC.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  Alert
@@ -1,10 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  BackButton
4
- } from "../../chunk-LKPWSC6O.js";
4
+ } from "../../chunk-KHCQMSP7.js";
5
5
  import "../../chunk-LIOV5MU4.js";
6
6
  import "../../chunk-ZULBHMWG.js";
7
- import "../../chunk-OME35FUG.js";
7
+ import "../../chunk-XRQQE2AC.js";
8
8
  import "../../chunk-RTMS5TJN.js";
9
9
  export {
10
10
  BackButton
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  clipboard_exports
4
- } from "../../chunk-YX44E5NF.js";
4
+ } from "../../chunk-P3IIT34M.js";
5
5
  import "../../chunk-BLSGOJQ7.js";
6
6
  import "../../chunk-KTLWEUNW.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-OME35FUG.js";
9
+ import "../../chunk-XRQQE2AC.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  clipboard_exports as Clipboard
@@ -2,10 +2,10 @@
2
2
  import "../../chunk-JMYI6YXR.js";
3
3
  import {
4
4
  CloseButton
5
- } from "../../chunk-WZUKOJGI.js";
5
+ } from "../../chunk-U2CWQDXE.js";
6
6
  import "../../chunk-OJZPPAT6.js";
7
7
  import "../../chunk-5HVAMQYO.js";
8
- import "../../chunk-OME35FUG.js";
8
+ import "../../chunk-XRQQE2AC.js";
9
9
  import "../../chunk-RTMS5TJN.js";
10
10
  export {
11
11
  CloseButton
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  dialog_exports
4
- } from "../../chunk-HHUVJRPT.js";
4
+ } from "../../chunk-HXNGSQQG.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-WZUKOJGI.js";
6
+ import "../../chunk-U2CWQDXE.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-OME35FUG.js";
9
+ import "../../chunk-XRQQE2AC.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  dialog_exports as Dialog
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  drawer_exports
4
- } from "../../chunk-KH7E5C3C.js";
4
+ } from "../../chunk-HHKMVSL4.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-WZUKOJGI.js";
6
+ import "../../chunk-U2CWQDXE.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-OME35FUG.js";
9
+ import "../../chunk-XRQQE2AC.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  drawer_exports as Drawer
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  file_upload_exports,
4
4
  useFileUploadContext
5
- } from "../../chunk-EJOXGWHK.js";
6
- import "../../chunk-WZUKOJGI.js";
5
+ } from "../../chunk-VVTDE7NH.js";
6
+ import "../../chunk-U2CWQDXE.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-OME35FUG.js";
9
+ import "../../chunk-XRQQE2AC.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  file_upload_exports as FileUpload,
@@ -19,7 +19,7 @@ import {
19
19
  SearchIcon,
20
20
  ViewIcon,
21
21
  ViewOffIcon
22
- } from "../../chunk-OME35FUG.js";
22
+ } from "../../chunk-XRQQE2AC.js";
23
23
  import "../../chunk-RTMS5TJN.js";
24
24
  export {
25
25
  ArrowLeftIcon,
@@ -211,7 +211,6 @@ __export(popover_exports, {
211
211
  });
212
212
  var import_react3 = require("react");
213
213
  var import_popover = require("@chakra-ui/react/popover");
214
- var import_portal = require("@chakra-ui/react/portal");
215
214
 
216
215
  // src/components/close-button/close-button.tsx
217
216
  var import_react2 = require("react");
@@ -226,13 +225,7 @@ var CloseButton = (0, import_react2.forwardRef)(
226
225
  var import_jsx_runtime4 = require("react/jsx-runtime");
227
226
  var Content = (0, import_react3.forwardRef)(
228
227
  function PopoverContent(props, ref) {
229
- const portalled = props.portalled ?? false;
230
- const portalRef = props.portalRef ?? void 0;
231
- const children = props.children ?? null;
232
- delete props.portalled;
233
- delete props.portalRef;
234
- delete props.children;
235
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Content, { ref, ...props, children }) }) });
228
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Content, { ref, ...props }) });
236
229
  }
237
230
  );
238
231
  var Arrow = (0, import_react3.forwardRef)(
@@ -264,6 +257,9 @@ var Body = import_popover.Popover.Body;
264
257
  var Trigger = import_popover.Popover.Trigger;
265
258
  var Context = import_popover.Popover.Context;
266
259
 
260
+ // src/components/portal/index.ts
261
+ var import_portal = require("@chakra-ui/react/portal");
262
+
267
263
  // src/components/toggle-tip/toggle-tip.tsx
268
264
  var import_jsx_runtime5 = require("react/jsx-runtime");
269
265
  var ToggleTip = React.forwardRef(
@@ -278,7 +274,7 @@ var ToggleTip = React.forwardRef(
278
274
  } = props;
279
275
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
280
276
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Trigger, { asChild: true, children }),
281
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
277
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
282
278
  popover_exports.Content,
283
279
  {
284
280
  width: "auto",
@@ -286,14 +282,13 @@ var ToggleTip = React.forwardRef(
286
282
  py: "1",
287
283
  textStyle: "xs",
288
284
  rounded: "sm",
289
- portalled,
290
285
  ref,
291
286
  children: [
292
287
  showArrow && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Arrow, {}),
293
288
  content
294
289
  ]
295
290
  }
296
- )
291
+ ) })
297
292
  ] });
298
293
  }
299
294
  );
@@ -1,15 +1,16 @@
1
1
  'use client'
2
2
  import {
3
3
  InfoTip
4
- } from "../../chunk-AHG5XKEK.js";
5
- import "../../chunk-JL4MHGRE.js";
6
- import "../../chunk-HRFQMDUK.js";
4
+ } from "../../chunk-D72A4SU3.js";
5
+ import "../../chunk-OWFY465Z.js";
6
+ import "../../chunk-UZUMIWPJ.js";
7
+ import "../../chunk-FVUEAELO.js";
7
8
  import "../../chunk-KTLWEUNW.js";
8
9
  import "../../chunk-JMYI6YXR.js";
9
- import "../../chunk-WZUKOJGI.js";
10
+ import "../../chunk-U2CWQDXE.js";
10
11
  import "../../chunk-OJZPPAT6.js";
11
12
  import "../../chunk-5HVAMQYO.js";
12
- import "../../chunk-OME35FUG.js";
13
+ import "../../chunk-XRQQE2AC.js";
13
14
  import "../../chunk-RTMS5TJN.js";
14
15
  export {
15
16
  InfoTip
@@ -1,10 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  menu_exports
4
- } from "../../chunk-ZNQNBTWF.js";
4
+ } from "../../chunk-DEP2DH7P.js";
5
5
  import "../../chunk-KTLWEUNW.js";
6
6
  import "../../chunk-5HVAMQYO.js";
7
- import "../../chunk-OME35FUG.js";
7
+ import "../../chunk-XRQQE2AC.js";
8
8
  import "../../chunk-RTMS5TJN.js";
9
9
  export {
10
10
  menu_exports as Menu
@@ -1,9 +1,9 @@
1
1
  'use client'
2
2
  import {
3
3
  NativeSelect
4
- } from "../../chunk-5OUNZEYB.js";
4
+ } from "../../chunk-TKJXJEXT.js";
5
5
  import "../../chunk-KTLWEUNW.js";
6
- import "../../chunk-OME35FUG.js";
6
+ import "../../chunk-XRQQE2AC.js";
7
7
  import "../../chunk-RTMS5TJN.js";
8
8
  export {
9
9
  NativeSelect