@saas-ui/react 3.0.0-next.7 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 3.0.0-next.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix Popover props
8
+
3
9
  ## 3.0.0-next.7
4
10
 
5
11
  ### 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;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  ToggleTip
4
- } from "./chunk-ZQ23HEVM.js";
4
+ } from "./chunk-OWFY465Z.js";
5
5
  import {
6
6
  IconButton
7
7
  } from "./chunk-OJZPPAT6.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(
@@ -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-Q7I3QDL4.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
  );
@@ -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,9 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  InfoTip
4
- } from "../../chunk-PAFMCX5C.js";
5
- import "../../chunk-ZQ23HEVM.js";
6
- import "../../chunk-Q7I3QDL4.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
10
  import "../../chunk-U2CWQDXE.js";
@@ -43,7 +43,6 @@ __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");
47
46
 
48
47
  // src/components/close-button/close-button.tsx
49
48
  var import_react2 = require("react");
@@ -212,13 +211,7 @@ var CloseButton = (0, import_react2.forwardRef)(
212
211
  var import_jsx_runtime4 = require("react/jsx-runtime");
213
212
  var Content = (0, import_react3.forwardRef)(
214
213
  function PopoverContent(props, ref) {
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 }) }) });
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 }) });
222
215
  }
223
216
  );
224
217
  var Arrow = (0, import_react3.forwardRef)(
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  popover_exports
4
- } from "../../chunk-Q7I3QDL4.js";
4
+ } from "../../chunk-FVUEAELO.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
6
  import "../../chunk-U2CWQDXE.js";
7
7
  import "../../chunk-OJZPPAT6.js";
@@ -56,7 +56,6 @@ __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");
60
59
 
61
60
  // src/components/close-button/close-button.tsx
62
61
  var import_react2 = require("react");
@@ -225,13 +224,7 @@ var CloseButton = (0, import_react2.forwardRef)(
225
224
  var import_jsx_runtime4 = require("react/jsx-runtime");
226
225
  var Content = (0, import_react3.forwardRef)(
227
226
  function PopoverContent(props, ref) {
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 }) }) });
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 }) });
235
228
  }
236
229
  );
237
230
  var Arrow = (0, import_react3.forwardRef)(
@@ -263,6 +256,9 @@ var Body = import_popover.Popover.Body;
263
256
  var Trigger = import_popover.Popover.Trigger;
264
257
  var Context = import_popover.Popover.Context;
265
258
 
259
+ // src/components/portal/index.ts
260
+ var import_portal = require("@chakra-ui/react/portal");
261
+
266
262
  // src/components/toggle-tip/toggle-tip.tsx
267
263
  var import_jsx_runtime5 = require("react/jsx-runtime");
268
264
  var ToggleTip = React.forwardRef(
@@ -277,7 +273,7 @@ var ToggleTip = React.forwardRef(
277
273
  } = props;
278
274
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
279
275
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Trigger, { asChild: true, children }),
280
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
276
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
281
277
  popover_exports.Content,
282
278
  {
283
279
  width: "auto",
@@ -285,14 +281,13 @@ var ToggleTip = React.forwardRef(
285
281
  py: "1",
286
282
  textStyle: "xs",
287
283
  rounded: "sm",
288
- portalled,
289
284
  ref,
290
285
  children: [
291
286
  showArrow && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Arrow, {}),
292
287
  content
293
288
  ]
294
289
  }
295
- )
290
+ ) })
296
291
  ] });
297
292
  }
298
293
  );
@@ -1,8 +1,9 @@
1
1
  'use client'
2
2
  import {
3
3
  ToggleTip
4
- } from "../../chunk-ZQ23HEVM.js";
5
- import "../../chunk-Q7I3QDL4.js";
4
+ } from "../../chunk-OWFY465Z.js";
5
+ import "../../chunk-UZUMIWPJ.js";
6
+ import "../../chunk-FVUEAELO.js";
6
7
  import "../../chunk-JMYI6YXR.js";
7
8
  import "../../chunk-U2CWQDXE.js";
8
9
  import "../../chunk-OJZPPAT6.js";
package/dist/index.cjs CHANGED
@@ -108,7 +108,7 @@ __export(index_exports, {
108
108
  PersonaAvatar: () => PersonaAvatar2,
109
109
  PinInput: () => PinInput,
110
110
  Popover: () => popover_exports,
111
- Portal: () => import_portal9.Portal,
111
+ Portal: () => import_portal4.Portal,
112
112
  Presence: () => import_presence3.Presence,
113
113
  Progress: () => import_progress.Progress,
114
114
  ProgressCircle: () => import_progress_circle.ProgressCircle,
@@ -10355,17 +10355,10 @@ __export(popover_exports, {
10355
10355
  });
10356
10356
  var import_react54 = require("react");
10357
10357
  var import_popover = require("@chakra-ui/react/popover");
10358
- var import_portal4 = require("@chakra-ui/react/portal");
10359
10358
  var import_jsx_runtime24 = require("react/jsx-runtime");
10360
10359
  var Content5 = (0, import_react54.forwardRef)(
10361
10360
  function PopoverContent(props, ref) {
10362
- const portalled = props.portalled ?? false;
10363
- const portalRef = props.portalRef ?? void 0;
10364
- const children = props.children ?? null;
10365
- delete props.portalled;
10366
- delete props.portalRef;
10367
- delete props.children;
10368
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_portal4.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_popover.Popover.Content, { ref, ...props, children }) }) });
10361
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_popover.Popover.Content, { ref, ...props }) });
10369
10362
  }
10370
10363
  );
10371
10364
  var Arrow2 = (0, import_react54.forwardRef)(
@@ -10397,6 +10390,9 @@ var Body3 = import_popover.Popover.Body;
10397
10390
  var Trigger5 = import_popover.Popover.Trigger;
10398
10391
  var Context3 = import_popover.Popover.Context;
10399
10392
 
10393
+ // src/components/portal/index.ts
10394
+ var import_portal4 = require("@chakra-ui/react/portal");
10395
+
10400
10396
  // src/components/toggle-tip/toggle-tip.tsx
10401
10397
  var import_jsx_runtime25 = require("react/jsx-runtime");
10402
10398
  var ToggleTip = React9.forwardRef(
@@ -10411,7 +10407,7 @@ var ToggleTip = React9.forwardRef(
10411
10407
  } = props;
10412
10408
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
10413
10409
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(popover_exports.Trigger, { asChild: true, children }),
10414
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
10410
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_portal4.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
10415
10411
  popover_exports.Content,
10416
10412
  {
10417
10413
  width: "auto",
@@ -10419,14 +10415,13 @@ var ToggleTip = React9.forwardRef(
10419
10415
  py: "1",
10420
10416
  textStyle: "xs",
10421
10417
  rounded: "sm",
10422
- portalled,
10423
10418
  ref,
10424
10419
  children: [
10425
10420
  showArrow && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(popover_exports.Arrow, {}),
10426
10421
  content
10427
10422
  ]
10428
10423
  }
10429
- )
10424
+ ) })
10430
10425
  ] });
10431
10426
  }
10432
10427
  );
@@ -10622,12 +10617,12 @@ __export(menu_exports, {
10622
10617
  var import_react62 = require("react");
10623
10618
  var import_center = require("@chakra-ui/react/center");
10624
10619
  var import_menu = require("@chakra-ui/react/menu");
10625
- var import_portal5 = require("@chakra-ui/react/portal");
10620
+ var import_portal6 = require("@chakra-ui/react/portal");
10626
10621
  var import_jsx_runtime32 = require("react/jsx-runtime");
10627
10622
  var MenuContent = (0, import_react62.forwardRef)(
10628
10623
  function MenuContent2(props, ref) {
10629
10624
  const { portalled = true, portalRef, ...rest } = props;
10630
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_portal5.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_menu.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_menu.Menu.Content, { ref, ...rest }) }) });
10625
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_portal6.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_menu.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_menu.Menu.Content, { ref, ...rest }) }) });
10631
10626
  }
10632
10627
  );
10633
10628
  var MenuArrow = (0, import_react62.forwardRef)(
@@ -11453,7 +11448,7 @@ __export(namespace_exports, {
11453
11448
 
11454
11449
  // src/components/select/select.tsx
11455
11450
  var import_react79 = require("react");
11456
- var import_portal6 = require("@chakra-ui/react/portal");
11451
+ var import_portal7 = require("@chakra-ui/react/portal");
11457
11452
  var import_select2 = require("@chakra-ui/react/select");
11458
11453
  var import_jsx_runtime42 = require("react/jsx-runtime");
11459
11454
  var SelectTrigger = (0, import_react79.forwardRef)(
@@ -11483,7 +11478,7 @@ var SelectClearTrigger = (0, import_react79.forwardRef)(function SelectClearTrig
11483
11478
  var SelectContent = (0, import_react79.forwardRef)(
11484
11479
  function SelectContent2(props, ref) {
11485
11480
  const { portalled = true, portalRef, ...rest } = props;
11486
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_portal6.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select2.Select.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select2.Select.Content, { ...rest, ref }) }) });
11481
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_portal7.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select2.Select.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select2.Select.Content, { ...rest, ref }) }) });
11487
11482
  }
11488
11483
  );
11489
11484
  var SelectItem = (0, import_react79.forwardRef)(
@@ -11925,7 +11920,7 @@ var import_timeline = require("@chakra-ui/react/timeline");
11925
11920
 
11926
11921
  // src/components/toaster/toaster.tsx
11927
11922
  var import_react87 = require("react");
11928
- var import_portal7 = require("@chakra-ui/react/portal");
11923
+ var import_portal8 = require("@chakra-ui/react/portal");
11929
11924
  var import_stack2 = require("@chakra-ui/react/stack");
11930
11925
  var import_toast = require("@chakra-ui/react/toast");
11931
11926
  var import_jsx_runtime52 = require("react/jsx-runtime");
@@ -11943,7 +11938,7 @@ var Toaster = (props) => {
11943
11938
  });
11944
11939
  return toast;
11945
11940
  }, [options]);
11946
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_portal7.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_toast.Toaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
11941
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_portal8.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_toast.Toaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
11947
11942
  const closable = toast2.meta?.closable === false ? false : defaultClosable && toast2.type !== "loading";
11948
11943
  return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(ToastRoot, { children: [
11949
11944
  toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Spinner, { size: "sm", color: "colorPalette.solid", mt: "0.5" }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_toast.Toast.Indicator, {}),
@@ -11976,7 +11971,7 @@ function ToastRoot(props) {
11976
11971
 
11977
11972
  // src/components/tooltip/tooltip.tsx
11978
11973
  var import_react88 = require("react");
11979
- var import_portal8 = require("@chakra-ui/react/portal");
11974
+ var import_portal9 = require("@chakra-ui/react/portal");
11980
11975
  var import_tooltip = require("@chakra-ui/react/tooltip");
11981
11976
  var import_jsx_runtime53 = require("react/jsx-runtime");
11982
11977
  var Tooltip = (0, import_react88.forwardRef)(
@@ -11994,7 +11989,7 @@ var Tooltip = (0, import_react88.forwardRef)(
11994
11989
  if (disabled) return children;
11995
11990
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_tooltip.Tooltip.Root, { ...rest, children: [
11996
11991
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.Trigger, { asChild: true, children }),
11997
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_portal8.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_tooltip.Tooltip.Content, { ref, ...contentProps, children: [
11992
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_portal9.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_tooltip.Tooltip.Content, { ref, ...contentProps, children: [
11998
11993
  showArrow && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.ArrowTip, {}) }),
11999
11994
  content
12000
11995
  ] }) }) })
@@ -12047,9 +12042,6 @@ var import_group3 = require("@chakra-ui/react/group");
12047
12042
  // src/components/highlight/index.ts
12048
12043
  var import_highlight = require("@chakra-ui/react/highlight");
12049
12044
 
12050
- // src/components/portal/index.ts
12051
- var import_portal9 = require("@chakra-ui/react/portal");
12052
-
12053
12045
  // src/components/presence/index.ts
12054
12046
  var import_presence3 = require("@chakra-ui/react/presence");
12055
12047
 
package/dist/index.js CHANGED
@@ -6,12 +6,12 @@ import {
6
6
  Strong,
7
7
  Text
8
8
  } from "./chunk-J5UCKCIO.js";
9
- import {
10
- Textarea
11
- } from "./chunk-CQD32UVJ.js";
12
9
  import {
13
10
  Tag
14
11
  } from "./chunk-WJZED26X.js";
12
+ import {
13
+ Textarea
14
+ } from "./chunk-CQD32UVJ.js";
15
15
  import {
16
16
  Timeline
17
17
  } from "./chunk-QLN2CBY6.js";
@@ -29,8 +29,11 @@ import {
29
29
  VisuallyHidden
30
30
  } from "./chunk-HHTTORZ6.js";
31
31
  import {
32
- Spacer
33
- } from "./chunk-UAX5344Y.js";
32
+ HStack,
33
+ Stack,
34
+ StackSeparator,
35
+ VStack
36
+ } from "./chunk-QNKQFCKJ.js";
34
37
  import {
35
38
  stat_exports
36
39
  } from "./chunk-3RHNNKPC.js";
@@ -40,18 +43,12 @@ import {
40
43
  import {
41
44
  steps_exports
42
45
  } from "./chunk-XQTIY2ND.js";
43
- import {
44
- Switch
45
- } from "./chunk-3E6URZ5P.js";
46
46
  import {
47
47
  Table
48
48
  } from "./chunk-TH6YCBEG.js";
49
49
  import {
50
- sidebar_exports,
51
- useSidebar,
52
- useSidebarItemStyles,
53
- useSidebarStyles
54
- } from "./chunk-U23VDAWJ.js";
50
+ Switch
51
+ } from "./chunk-3E6URZ5P.js";
55
52
  import {
56
53
  Tabs,
57
54
  useTabsContext,
@@ -60,6 +57,9 @@ import {
60
57
  import {
61
58
  namespace_exports
62
59
  } from "./chunk-2UMNJBGS.js";
60
+ import {
61
+ Show
62
+ } from "./chunk-LU2H6GWC.js";
63
63
  import {
64
64
  SkipNavContent,
65
65
  SkipNavLink
@@ -70,38 +70,35 @@ import {
70
70
  SkeletonText
71
71
  } from "./chunk-UEXUCHDD.js";
72
72
  import {
73
- RadioGroup
74
- } from "./chunk-NCNHDETB.js";
73
+ sidebar_exports,
74
+ useSidebar,
75
+ useSidebarItemStyles,
76
+ useSidebarStyles
77
+ } from "./chunk-U23VDAWJ.js";
75
78
  import {
76
79
  Slider
77
80
  } from "./chunk-HREBIPVW.js";
78
81
  import {
79
- HStack,
80
- Stack,
81
- StackSeparator,
82
- VStack
83
- } from "./chunk-QNKQFCKJ.js";
84
- import {
85
- Radio
86
- } from "./chunk-PZWP36YA.js";
82
+ Spacer
83
+ } from "./chunk-UAX5344Y.js";
87
84
  import {
88
85
  radio_card_exports
89
86
  } from "./chunk-KRJG7H4W.js";
87
+ import {
88
+ RadioGroup
89
+ } from "./chunk-NCNHDETB.js";
90
90
  import {
91
91
  RatingGroup
92
92
  } from "./chunk-HQVBJT5Y.js";
93
+ import {
94
+ Separator
95
+ } from "./chunk-27OMFCPD.js";
93
96
  import {
94
97
  SearchInput
95
98
  } from "./chunk-C5YLE76Q.js";
96
99
  import {
97
100
  SegmentedControl
98
101
  } from "./chunk-KFDVVTMT.js";
99
- import {
100
- Show
101
- } from "./chunk-LU2H6GWC.js";
102
- import {
103
- Separator
104
- } from "./chunk-27OMFCPD.js";
105
102
  import {
106
103
  Persona,
107
104
  PersonaAvatar,
@@ -120,20 +117,20 @@ import {
120
117
  Progress
121
118
  } from "./chunk-6YZ76Q2W.js";
122
119
  import {
123
- Portal
124
- } from "./chunk-UZUMIWPJ.js";
120
+ Radio
121
+ } from "./chunk-PZWP36YA.js";
125
122
  import {
126
123
  QrCode
127
124
  } from "./chunk-K3MFCSAW.js";
125
+ import {
126
+ Mark
127
+ } from "./chunk-EWCBYJA7.js";
128
128
  import {
129
129
  menu_exports
130
130
  } from "./chunk-DEP2DH7P.js";
131
131
  import {
132
132
  NativeSelect
133
133
  } from "./chunk-TKJXJEXT.js";
134
- import {
135
- pagination_exports
136
- } from "./chunk-6XSCENTR.js";
137
134
  import {
138
135
  NumberInput
139
136
  } from "./chunk-RFBD2ZNL.js";
@@ -141,15 +138,30 @@ import {
141
138
  page_exports,
142
139
  usePageStyles
143
140
  } from "./chunk-ZJ2VD224.js";
141
+ import {
142
+ navbar_exports
143
+ } from "./chunk-DJNPK2LM.js";
144
+ import {
145
+ pagination_exports
146
+ } from "./chunk-6XSCENTR.js";
144
147
  import {
145
148
  PasswordInput
146
149
  } from "./chunk-TXIFPX2A.js";
147
150
  import {
148
- navbar_exports
149
- } from "./chunk-DJNPK2LM.js";
151
+ InfoTip
152
+ } from "./chunk-D72A4SU3.js";
150
153
  import {
151
- Heading
152
- } from "./chunk-HZX4AGO5.js";
154
+ ToggleTip
155
+ } from "./chunk-OWFY465Z.js";
156
+ import {
157
+ Portal
158
+ } from "./chunk-UZUMIWPJ.js";
159
+ import {
160
+ popover_exports
161
+ } from "./chunk-FVUEAELO.js";
162
+ import {
163
+ List
164
+ } from "./chunk-C5KFNMWU.js";
153
165
  import {
154
166
  Loader
155
167
  } from "./chunk-DHFAFRZ4.js";
@@ -160,11 +172,11 @@ import {
160
172
  Spinner
161
173
  } from "./chunk-MK3OG2I4.js";
162
174
  import {
163
- List
164
- } from "./chunk-C5KFNMWU.js";
175
+ Heading
176
+ } from "./chunk-HZX4AGO5.js";
165
177
  import {
166
- Mark
167
- } from "./chunk-EWCBYJA7.js";
178
+ Highlight
179
+ } from "./chunk-TGEP2YAT.js";
168
180
  import {
169
181
  hover_card_exports
170
182
  } from "./chunk-MZ2RY4NU.js";
@@ -174,40 +186,35 @@ import {
174
186
  import {
175
187
  IconBadge
176
188
  } from "./chunk-NSFGACD7.js";
177
- import {
178
- FormatByte,
179
- FormatNumber
180
- } from "./chunk-6WZK2RBQ.js";
181
189
  import {
182
190
  Image
183
191
  } from "./chunk-FD2V4Y66.js";
184
192
  import {
185
- InfoTip
186
- } from "./chunk-PAFMCX5C.js";
193
+ Float
194
+ } from "./chunk-XD7U6L2E.js";
187
195
  import {
188
- ToggleTip
189
- } from "./chunk-ZQ23HEVM.js";
196
+ FocusTrap
197
+ } from "./chunk-EWATHRZA.js";
190
198
  import {
191
- popover_exports
192
- } from "./chunk-Q7I3QDL4.js";
199
+ file_upload_exports,
200
+ useFileUploadContext
201
+ } from "./chunk-VVTDE7NH.js";
193
202
  import {
194
- Float
195
- } from "./chunk-XD7U6L2E.js";
203
+ FormatByte,
204
+ FormatNumber
205
+ } from "./chunk-6WZK2RBQ.js";
196
206
  import {
197
207
  Grid
198
208
  } from "./chunk-EZZW6JOU.js";
199
209
  import {
200
- FocusTrap
201
- } from "./chunk-EWATHRZA.js";
210
+ Group
211
+ } from "./chunk-3CKGT42F.js";
202
212
  import {
203
213
  grid_list_exports
204
214
  } from "./chunk-ZUT5GZTD.js";
205
215
  import {
206
- Group
207
- } from "./chunk-3CKGT42F.js";
208
- import {
209
- Highlight
210
- } from "./chunk-TGEP2YAT.js";
216
+ dialog_exports
217
+ } from "./chunk-HXNGSQQG.js";
211
218
  import {
212
219
  drawer_exports
213
220
  } from "./chunk-HHKMVSL4.js";
@@ -231,15 +238,14 @@ import {
231
238
  useFieldsetContext
232
239
  } from "./chunk-FPRTN3I7.js";
233
240
  import {
234
- Container
235
- } from "./chunk-PIQURQGB.js";
236
- import {
237
- file_upload_exports,
238
- useFileUploadContext
239
- } from "./chunk-VVTDE7NH.js";
241
+ ClientOnly
242
+ } from "./chunk-4N4SHDPB.js";
240
243
  import {
241
244
  Code
242
245
  } from "./chunk-YMCOU2N5.js";
246
+ import {
247
+ Collapsible
248
+ } from "./chunk-PEJYADAS.js";
243
249
  import {
244
250
  ColorPicker
245
251
  } from "./chunk-JR5RLXCK.js";
@@ -247,8 +253,8 @@ import {
247
253
  ColorSwatch
248
254
  } from "./chunk-TYMVLD3B.js";
249
255
  import {
250
- Collapsible
251
- } from "./chunk-PEJYADAS.js";
256
+ Container
257
+ } from "./chunk-PIQURQGB.js";
252
258
  import {
253
259
  Command
254
260
  } from "./chunk-5ZKEXMBN.js";
@@ -260,8 +266,8 @@ import {
260
266
  useDataListStyles
261
267
  } from "./chunk-52XM5VXJ.js";
262
268
  import {
263
- dialog_exports
264
- } from "./chunk-HXNGSQQG.js";
269
+ ButtonGroup
270
+ } from "./chunk-7PWVK3NL.js";
265
271
  import {
266
272
  Card
267
273
  } from "./chunk-7DF4NQNZ.js";
@@ -277,9 +283,6 @@ import {
277
283
  import {
278
284
  CheckboxCard
279
285
  } from "./chunk-NLMFEUVO.js";
280
- import {
281
- ClientOnly
282
- } from "./chunk-4N4SHDPB.js";
283
286
  import {
284
287
  clipboard_exports
285
288
  } from "./chunk-P3IIT34M.js";
@@ -315,18 +318,15 @@ import {
315
318
  import {
316
319
  Bleed
317
320
  } from "./chunk-Y2S4O4UY.js";
318
- import {
319
- Box
320
- } from "./chunk-2YXHXL6J.js";
321
321
  import {
322
322
  Blockquote
323
323
  } from "./chunk-GSWLAOIM.js";
324
+ import {
325
+ Box
326
+ } from "./chunk-2YXHXL6J.js";
324
327
  import {
325
328
  breadcrumb_exports
326
329
  } from "./chunk-CRFTMIQA.js";
327
- import {
328
- ButtonGroup
329
- } from "./chunk-7PWVK3NL.js";
330
330
  import {
331
331
  defaultConfig,
332
332
  defaultSystem
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saas-ui/react",
3
- "version": "3.0.0-next.7",
3
+ "version": "3.0.0-next.8",
4
4
  "description": "Saas UI - The React component library for startups.",
5
5
  "type": "module",
6
6
  "exports": {