@saas-ui/react 3.0.0-next.10 → 3.0.0-next.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +0 -42
  2. package/dist/_tsup-dts-rollup.d.cts +189 -333
  3. package/dist/_tsup-dts-rollup.d.ts +189 -333
  4. package/dist/chunk-2YXHXL6J.js +10 -0
  5. package/dist/{chunk-3EWOE56X.js → chunk-4H66FBQW.js} +1 -1
  6. package/dist/{chunk-TKJXJEXT.js → chunk-5OUNZEYB.js} +1 -1
  7. package/dist/{chunk-GXOQVOKP.js → chunk-5RWFHB7W.js} +1 -1
  8. package/dist/{chunk-GQYL3VVZ.js → chunk-AHG5XKEK.js} +2 -2
  9. package/dist/{chunk-2UMNJBGS.js → chunk-BVISYY3B.js} +1 -1
  10. package/dist/{chunk-QNKQFCKJ.js → chunk-CBX6MYVA.js} +2 -8
  11. package/dist/{chunk-VVTDE7NH.js → chunk-EJOXGWHK.js} +1 -1
  12. package/dist/{chunk-2NWOJCSX.js → chunk-EZZW6JOU.js} +2 -6
  13. package/dist/{chunk-HXNGSQQG.js → chunk-HHUVJRPT.js} +1 -1
  14. package/dist/{chunk-C5YLE76Q.js → chunk-HJX66GFT.js} +1 -1
  15. package/dist/{chunk-FVUEAELO.js → chunk-HRFQMDUK.js} +9 -2
  16. package/dist/{chunk-XQTIY2ND.js → chunk-I2J6U5Z4.js} +1 -1
  17. package/dist/{chunk-QITSWCWX.js → chunk-JL4MHGRE.js} +4 -6
  18. package/dist/chunk-K3MFCSAW.js +8 -0
  19. package/dist/{chunk-SHCKFHIN.js → chunk-K7BMQECB.js} +1 -1
  20. package/dist/{chunk-QKDPNO27.js → chunk-KB6NR2HZ.js} +1 -1
  21. package/dist/{chunk-HHKMVSL4.js → chunk-KH7E5C3C.js} +1 -1
  22. package/dist/{chunk-6XSCENTR.js → chunk-L4JB7UFV.js} +1 -1
  23. package/dist/{chunk-KHCQMSP7.js → chunk-LKPWSC6O.js} +1 -1
  24. package/dist/{chunk-XRQQE2AC.js → chunk-OME35FUG.js} +0 -1
  25. package/dist/{chunk-U2CWQDXE.js → chunk-WZUKOJGI.js} +1 -1
  26. package/dist/{chunk-GBAK2P5L.js → chunk-YX44E5NF.js} +2 -6
  27. package/dist/{chunk-DEP2DH7P.js → chunk-ZNQNBTWF.js} +1 -1
  28. package/dist/components/accordion/index.js +2 -2
  29. package/dist/components/action-bar/index.js +3 -3
  30. package/dist/components/alert/index.js +3 -3
  31. package/dist/components/back-button/index.js +2 -2
  32. package/dist/components/box/index.cjs +2 -4
  33. package/dist/components/box/index.d.cts +0 -2
  34. package/dist/components/box/index.d.ts +0 -2
  35. package/dist/components/box/index.js +3 -5
  36. package/dist/components/clipboard/index.cjs +2 -7
  37. package/dist/components/clipboard/index.d.cts +0 -2
  38. package/dist/components/clipboard/index.d.ts +0 -2
  39. package/dist/components/clipboard/index.js +4 -6
  40. package/dist/components/close-button/index.js +2 -2
  41. package/dist/components/dialog/index.js +3 -3
  42. package/dist/components/drawer/index.js +3 -3
  43. package/dist/components/file-upload/index.js +3 -3
  44. package/dist/components/flex/index.d.cts +2 -2
  45. package/dist/components/flex/index.d.ts +2 -2
  46. package/dist/components/flex/index.js +4 -2
  47. package/dist/components/grid/index.cjs +2 -6
  48. package/dist/components/grid/index.d.cts +0 -4
  49. package/dist/components/grid/index.d.ts +0 -4
  50. package/dist/components/grid/index.js +3 -7
  51. package/dist/components/group/index.d.cts +1 -1
  52. package/dist/components/group/index.d.ts +1 -1
  53. package/dist/components/highlight/index.d.cts +1 -1
  54. package/dist/components/highlight/index.d.ts +1 -1
  55. package/dist/components/icons/index.js +1 -1
  56. package/dist/components/info-tip/index.cjs +11 -6
  57. package/dist/components/info-tip/index.js +5 -6
  58. package/dist/components/menu/index.js +2 -2
  59. package/dist/components/native-select/index.js +2 -2
  60. package/dist/components/pagination/index.js +2 -2
  61. package/dist/components/popover/index.cjs +8 -1
  62. package/dist/components/popover/index.js +3 -3
  63. package/dist/components/portal/index.d.cts +1 -1
  64. package/dist/components/portal/index.d.ts +1 -1
  65. package/dist/components/qr-code/index.cjs +2 -4
  66. package/dist/components/qr-code/index.d.cts +0 -3
  67. package/dist/components/qr-code/index.d.ts +0 -3
  68. package/dist/components/qr-code/index.js +3 -5
  69. package/dist/components/search-input/index.js +2 -2
  70. package/dist/components/select/index.js +3 -3
  71. package/dist/components/show/index.d.cts +1 -1
  72. package/dist/components/show/index.d.ts +1 -1
  73. package/dist/components/spacer/index.d.cts +1 -1
  74. package/dist/components/spacer/index.d.ts +1 -1
  75. package/dist/components/stack/index.cjs +2 -8
  76. package/dist/components/stack/index.d.cts +0 -4
  77. package/dist/components/stack/index.d.ts +0 -4
  78. package/dist/components/stack/index.js +3 -9
  79. package/dist/components/steps/index.js +2 -2
  80. package/dist/components/toaster/index.js +3 -3
  81. package/dist/components/toggle-tip/index.cjs +11 -6
  82. package/dist/components/toggle-tip/index.js +4 -5
  83. package/dist/index.cjs +26 -89
  84. package/dist/index.d.cts +0 -55
  85. package/dist/index.d.ts +0 -55
  86. package/dist/index.js +114 -185
  87. package/package.json +1 -1
  88. package/dist/chunk-AA5L5WPD.js +0 -9
  89. package/dist/chunk-JQVOMAD5.js +0 -10
  90. package/dist/chunk-PAZQUPKN.js +0 -9
@@ -1,2 +1,2 @@
1
1
  export { Highlight_alias_1 as Highlight } from '../../_tsup-dts-rollup.js';
2
- export { HighlightProps_alias_1 as HighlightProps } from '../../_tsup-dts-rollup.js';
2
+ export { HighlightProps } from '../../_tsup-dts-rollup.js';
@@ -19,7 +19,7 @@ import {
19
19
  SearchIcon,
20
20
  ViewIcon,
21
21
  ViewOffIcon
22
- } from "../../chunk-XRQQE2AC.js";
22
+ } from "../../chunk-OME35FUG.js";
23
23
  import "../../chunk-RTMS5TJN.js";
24
24
  export {
25
25
  ArrowLeftIcon,
@@ -211,6 +211,7 @@ __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");
214
215
 
215
216
  // src/components/close-button/close-button.tsx
216
217
  var import_react2 = require("react");
@@ -225,7 +226,13 @@ var CloseButton = (0, import_react2.forwardRef)(
225
226
  var import_jsx_runtime4 = require("react/jsx-runtime");
226
227
  var Content = (0, import_react3.forwardRef)(
227
228
  function PopoverContent(props, ref) {
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 }) });
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 }) }) });
229
236
  }
230
237
  );
231
238
  var Arrow = (0, import_react3.forwardRef)(
@@ -257,9 +264,6 @@ var Body = import_popover.Popover.Body;
257
264
  var Trigger = import_popover.Popover.Trigger;
258
265
  var Context = import_popover.Popover.Context;
259
266
 
260
- // src/components/portal/index.ts
261
- var import_portal = require("@chakra-ui/react/portal");
262
-
263
267
  // src/components/toggle-tip/toggle-tip.tsx
264
268
  var import_jsx_runtime5 = require("react/jsx-runtime");
265
269
  var ToggleTip = React.forwardRef(
@@ -274,7 +278,7 @@ var ToggleTip = React.forwardRef(
274
278
  } = props;
275
279
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
276
280
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Trigger, { asChild: true, children }),
277
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
281
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
278
282
  popover_exports.Content,
279
283
  {
280
284
  width: "auto",
@@ -282,13 +286,14 @@ var ToggleTip = React.forwardRef(
282
286
  py: "1",
283
287
  textStyle: "xs",
284
288
  rounded: "sm",
289
+ portalled,
285
290
  ref,
286
291
  children: [
287
292
  showArrow && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Arrow, {}),
288
293
  content
289
294
  ]
290
295
  }
291
- ) })
296
+ )
292
297
  ] });
293
298
  }
294
299
  );
@@ -1,16 +1,15 @@
1
1
  'use client'
2
2
  import {
3
3
  InfoTip
4
- } from "../../chunk-GQYL3VVZ.js";
5
- import "../../chunk-QITSWCWX.js";
6
- import "../../chunk-FVUEAELO.js";
7
- import "../../chunk-UZUMIWPJ.js";
4
+ } from "../../chunk-AHG5XKEK.js";
5
+ import "../../chunk-JL4MHGRE.js";
6
+ import "../../chunk-HRFQMDUK.js";
8
7
  import "../../chunk-KTLWEUNW.js";
9
8
  import "../../chunk-JMYI6YXR.js";
10
- import "../../chunk-U2CWQDXE.js";
9
+ import "../../chunk-WZUKOJGI.js";
11
10
  import "../../chunk-OJZPPAT6.js";
12
11
  import "../../chunk-5HVAMQYO.js";
13
- import "../../chunk-XRQQE2AC.js";
12
+ import "../../chunk-OME35FUG.js";
14
13
  import "../../chunk-RTMS5TJN.js";
15
14
  export {
16
15
  InfoTip
@@ -1,10 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  menu_exports
4
- } from "../../chunk-DEP2DH7P.js";
4
+ } from "../../chunk-ZNQNBTWF.js";
5
5
  import "../../chunk-KTLWEUNW.js";
6
6
  import "../../chunk-5HVAMQYO.js";
7
- import "../../chunk-XRQQE2AC.js";
7
+ import "../../chunk-OME35FUG.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-TKJXJEXT.js";
4
+ } from "../../chunk-5OUNZEYB.js";
5
5
  import "../../chunk-KTLWEUNW.js";
6
- import "../../chunk-XRQQE2AC.js";
6
+ import "../../chunk-OME35FUG.js";
7
7
  import "../../chunk-RTMS5TJN.js";
8
8
  export {
9
9
  NativeSelect
@@ -1,10 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  pagination_exports
4
- } from "../../chunk-6XSCENTR.js";
4
+ } from "../../chunk-L4JB7UFV.js";
5
5
  import "../../chunk-OJZPPAT6.js";
6
6
  import "../../chunk-5HVAMQYO.js";
7
- import "../../chunk-XRQQE2AC.js";
7
+ import "../../chunk-OME35FUG.js";
8
8
  import "../../chunk-RTMS5TJN.js";
9
9
  export {
10
10
  pagination_exports as Pagination
@@ -43,6 +43,7 @@ __export(popover_exports, {
43
43
  });
44
44
  var import_react3 = require("react");
45
45
  var import_popover = require("@chakra-ui/react/popover");
46
+ var import_portal = require("@chakra-ui/react/portal");
46
47
 
47
48
  // src/components/close-button/close-button.tsx
48
49
  var import_react2 = require("react");
@@ -211,7 +212,13 @@ var CloseButton = (0, import_react2.forwardRef)(
211
212
  var import_jsx_runtime4 = require("react/jsx-runtime");
212
213
  var Content = (0, import_react3.forwardRef)(
213
214
  function PopoverContent(props, ref) {
214
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Content, { ref, ...props }) });
215
+ const portalled = props.portalled ?? false;
216
+ const portalRef = props.portalRef ?? void 0;
217
+ const children = props.children ?? null;
218
+ delete props.portalled;
219
+ delete props.portalRef;
220
+ delete props.children;
221
+ 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 }) }) });
215
222
  }
216
223
  );
217
224
  var Arrow = (0, import_react3.forwardRef)(
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  popover_exports
4
- } from "../../chunk-FVUEAELO.js";
4
+ } from "../../chunk-HRFQMDUK.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-U2CWQDXE.js";
6
+ import "../../chunk-WZUKOJGI.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-XRQQE2AC.js";
9
+ import "../../chunk-OME35FUG.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  popover_exports as Popover
@@ -1,2 +1,2 @@
1
1
  export { Portal_alias_1 as Portal } from '../../_tsup-dts-rollup.cjs';
2
- export { PortalProps_alias_1 as PortalProps } from '../../_tsup-dts-rollup.cjs';
2
+ export { PortalProps } from '../../_tsup-dts-rollup.cjs';
@@ -1,2 +1,2 @@
1
1
  export { Portal_alias_1 as Portal } from '../../_tsup-dts-rollup.js';
2
- export { PortalProps_alias_1 as PortalProps } from '../../_tsup-dts-rollup.js';
2
+ export { PortalProps } from '../../_tsup-dts-rollup.js';
@@ -21,13 +21,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/components/qr-code/index.ts
22
22
  var qr_code_exports = {};
23
23
  __export(qr_code_exports, {
24
- QrCode: () => import_qr_code.QrCode,
25
- useQrCode: () => import_qr_code.useQrCode
24
+ QrCode: () => import_qr_code.QrCode
26
25
  });
27
26
  module.exports = __toCommonJS(qr_code_exports);
28
27
  var import_qr_code = require("@chakra-ui/react/qr-code");
29
28
  // Annotate the CommonJS export names for ESM import in node:
30
29
  0 && (module.exports = {
31
- QrCode,
32
- useQrCode
30
+ QrCode
33
31
  });
@@ -1,4 +1 @@
1
1
  export { QrCode_alias_1 as QrCode } from '../../_tsup-dts-rollup.cjs';
2
- export { useQrCode_alias_1 as useQrCode } from '../../_tsup-dts-rollup.cjs';
3
- export { UseQrCodeProps_alias_1 as UseQrCodeProps } from '../../_tsup-dts-rollup.cjs';
4
- export { UseQrCodeReturn_alias_1 as UseQrCodeReturn } from '../../_tsup-dts-rollup.cjs';
@@ -1,4 +1 @@
1
1
  export { QrCode_alias_1 as QrCode } from '../../_tsup-dts-rollup.js';
2
- export { useQrCode_alias_1 as useQrCode } from '../../_tsup-dts-rollup.js';
3
- export { UseQrCodeProps_alias_1 as UseQrCodeProps } from '../../_tsup-dts-rollup.js';
4
- export { UseQrCodeReturn_alias_1 as UseQrCodeReturn } from '../../_tsup-dts-rollup.js';
@@ -1,10 +1,8 @@
1
1
  'use client'
2
2
  import {
3
- QrCode,
4
- useQrCode
5
- } from "../../chunk-PAZQUPKN.js";
3
+ QrCode
4
+ } from "../../chunk-K3MFCSAW.js";
6
5
  import "../../chunk-RTMS5TJN.js";
7
6
  export {
8
- QrCode,
9
- useQrCode
7
+ QrCode
10
8
  };
@@ -1,9 +1,9 @@
1
1
  'use client'
2
2
  import {
3
3
  SearchInput
4
- } from "../../chunk-C5YLE76Q.js";
4
+ } from "../../chunk-HJX66GFT.js";
5
5
  import "../../chunk-KTLWEUNW.js";
6
- import "../../chunk-XRQQE2AC.js";
6
+ import "../../chunk-OME35FUG.js";
7
7
  import "../../chunk-RTMS5TJN.js";
8
8
  export {
9
9
  SearchInput
@@ -1,12 +1,12 @@
1
1
  'use client'
2
2
  import {
3
3
  namespace_exports
4
- } from "../../chunk-2UMNJBGS.js";
4
+ } from "../../chunk-BVISYY3B.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-U2CWQDXE.js";
6
+ import "../../chunk-WZUKOJGI.js";
7
7
  import "../../chunk-OJZPPAT6.js";
8
8
  import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-XRQQE2AC.js";
9
+ import "../../chunk-OME35FUG.js";
10
10
  import "../../chunk-RTMS5TJN.js";
11
11
  export {
12
12
  namespace_exports as Select
@@ -1,2 +1,2 @@
1
1
  export { Show_alias_1 as Show } from '../../_tsup-dts-rollup.cjs';
2
- export { ShowProps_alias_1 as ShowProps } from '../../_tsup-dts-rollup.cjs';
2
+ export { ShowProps } from '../../_tsup-dts-rollup.cjs';
@@ -1,2 +1,2 @@
1
1
  export { Show_alias_1 as Show } from '../../_tsup-dts-rollup.js';
2
- export { ShowProps_alias_1 as ShowProps } from '../../_tsup-dts-rollup.js';
2
+ export { ShowProps } from '../../_tsup-dts-rollup.js';
@@ -1,2 +1,2 @@
1
1
  export { Spacer_alias_1 as Spacer } from '../../_tsup-dts-rollup.cjs';
2
- export { SpacerProps_alias_1 as SpacerProps } from '../../_tsup-dts-rollup.cjs';
2
+ export { SpacerProps } from '../../_tsup-dts-rollup.cjs';
@@ -1,2 +1,2 @@
1
1
  export { Spacer_alias_1 as Spacer } from '../../_tsup-dts-rollup.js';
2
- export { SpacerProps_alias_1 as SpacerProps } from '../../_tsup-dts-rollup.js';
2
+ export { SpacerProps } from '../../_tsup-dts-rollup.js';
@@ -21,17 +21,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/components/stack/index.ts
22
22
  var stack_exports = {};
23
23
  __export(stack_exports, {
24
- HStack: () => import_stack.HStack,
25
- Stack: () => import_stack.Stack,
26
- StackSeparator: () => import_stack.StackSeparator,
27
- VStack: () => import_stack.VStack
24
+ Stack: () => import_stack.Stack
28
25
  });
29
26
  module.exports = __toCommonJS(stack_exports);
30
27
  var import_stack = require("@chakra-ui/react/stack");
31
28
  // Annotate the CommonJS export names for ESM import in node:
32
29
  0 && (module.exports = {
33
- HStack,
34
- Stack,
35
- StackSeparator,
36
- VStack
30
+ Stack
37
31
  });
@@ -1,6 +1,2 @@
1
1
  export { Stack_alias_1 as Stack } from '../../_tsup-dts-rollup.cjs';
2
2
  export { StackProps_alias_1 as StackProps } from '../../_tsup-dts-rollup.cjs';
3
- export { HStack_alias_1 as HStack } from '../../_tsup-dts-rollup.cjs';
4
- export { StackSeparator_alias_1 as StackSeparator } from '../../_tsup-dts-rollup.cjs';
5
- export { StackSeparatorProps_alias_1 as StackSeparatorProps } from '../../_tsup-dts-rollup.cjs';
6
- export { VStack_alias_1 as VStack } from '../../_tsup-dts-rollup.cjs';
@@ -1,6 +1,2 @@
1
1
  export { Stack_alias_1 as Stack } from '../../_tsup-dts-rollup.js';
2
2
  export { StackProps_alias_1 as StackProps } from '../../_tsup-dts-rollup.js';
3
- export { HStack_alias_1 as HStack } from '../../_tsup-dts-rollup.js';
4
- export { StackSeparator_alias_1 as StackSeparator } from '../../_tsup-dts-rollup.js';
5
- export { StackSeparatorProps_alias_1 as StackSeparatorProps } from '../../_tsup-dts-rollup.js';
6
- export { VStack_alias_1 as VStack } from '../../_tsup-dts-rollup.js';
@@ -1,14 +1,8 @@
1
1
  'use client'
2
2
  import {
3
- HStack,
4
- Stack,
5
- StackSeparator,
6
- VStack
7
- } from "../../chunk-QNKQFCKJ.js";
3
+ Stack
4
+ } from "../../chunk-CBX6MYVA.js";
8
5
  import "../../chunk-RTMS5TJN.js";
9
6
  export {
10
- HStack,
11
- Stack,
12
- StackSeparator,
13
- VStack
7
+ Stack
14
8
  };
@@ -1,9 +1,9 @@
1
1
  'use client'
2
2
  import {
3
3
  steps_exports
4
- } from "../../chunk-XQTIY2ND.js";
4
+ } from "../../chunk-I2J6U5Z4.js";
5
5
  import "../../chunk-KTLWEUNW.js";
6
- import "../../chunk-XRQQE2AC.js";
6
+ import "../../chunk-OME35FUG.js";
7
7
  import "../../chunk-RTMS5TJN.js";
8
8
  export {
9
9
  steps_exports as Steps
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  Toaster,
4
4
  toast
5
- } from "../../chunk-GXOQVOKP.js";
5
+ } from "../../chunk-5RWFHB7W.js";
6
6
  import "../../chunk-MK3OG2I4.js";
7
7
  import "../../chunk-JMYI6YXR.js";
8
- import "../../chunk-U2CWQDXE.js";
8
+ import "../../chunk-WZUKOJGI.js";
9
9
  import "../../chunk-OJZPPAT6.js";
10
10
  import "../../chunk-5HVAMQYO.js";
11
- import "../../chunk-XRQQE2AC.js";
11
+ import "../../chunk-OME35FUG.js";
12
12
  import "../../chunk-RTMS5TJN.js";
13
13
  export {
14
14
  Toaster,
@@ -56,6 +56,7 @@ __export(popover_exports, {
56
56
  });
57
57
  var import_react3 = require("react");
58
58
  var import_popover = require("@chakra-ui/react/popover");
59
+ var import_portal = require("@chakra-ui/react/portal");
59
60
 
60
61
  // src/components/close-button/close-button.tsx
61
62
  var import_react2 = require("react");
@@ -224,7 +225,13 @@ var CloseButton = (0, import_react2.forwardRef)(
224
225
  var import_jsx_runtime4 = require("react/jsx-runtime");
225
226
  var Content = (0, import_react3.forwardRef)(
226
227
  function PopoverContent(props, ref) {
227
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Content, { ref, ...props }) });
228
+ const portalled = props.portalled ?? false;
229
+ const portalRef = props.portalRef ?? void 0;
230
+ const children = props.children ?? null;
231
+ delete props.portalled;
232
+ delete props.portalRef;
233
+ delete props.children;
234
+ 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
235
  }
229
236
  );
230
237
  var Arrow = (0, import_react3.forwardRef)(
@@ -256,9 +263,6 @@ var Body = import_popover.Popover.Body;
256
263
  var Trigger = import_popover.Popover.Trigger;
257
264
  var Context = import_popover.Popover.Context;
258
265
 
259
- // src/components/portal/index.ts
260
- var import_portal = require("@chakra-ui/react/portal");
261
-
262
266
  // src/components/toggle-tip/toggle-tip.tsx
263
267
  var import_jsx_runtime5 = require("react/jsx-runtime");
264
268
  var ToggleTip = React.forwardRef(
@@ -273,7 +277,7 @@ var ToggleTip = React.forwardRef(
273
277
  } = props;
274
278
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
275
279
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Trigger, { asChild: true, children }),
276
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
280
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
277
281
  popover_exports.Content,
278
282
  {
279
283
  width: "auto",
@@ -281,13 +285,14 @@ var ToggleTip = React.forwardRef(
281
285
  py: "1",
282
286
  textStyle: "xs",
283
287
  rounded: "sm",
288
+ portalled,
284
289
  ref,
285
290
  children: [
286
291
  showArrow && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Arrow, {}),
287
292
  content
288
293
  ]
289
294
  }
290
- ) })
295
+ )
291
296
  ] });
292
297
  }
293
298
  );
@@ -1,14 +1,13 @@
1
1
  'use client'
2
2
  import {
3
3
  ToggleTip
4
- } from "../../chunk-QITSWCWX.js";
5
- import "../../chunk-FVUEAELO.js";
6
- import "../../chunk-UZUMIWPJ.js";
4
+ } from "../../chunk-JL4MHGRE.js";
5
+ import "../../chunk-HRFQMDUK.js";
7
6
  import "../../chunk-JMYI6YXR.js";
8
- import "../../chunk-U2CWQDXE.js";
7
+ import "../../chunk-WZUKOJGI.js";
9
8
  import "../../chunk-OJZPPAT6.js";
10
9
  import "../../chunk-5HVAMQYO.js";
11
- import "../../chunk-XRQQE2AC.js";
10
+ import "../../chunk-OME35FUG.js";
12
11
  import "../../chunk-RTMS5TJN.js";
13
12
  export {
14
13
  ToggleTip