@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.
- package/CHANGELOG.md +12 -0
- package/dist/_tsup-dts-rollup.d.cts +5 -21
- package/dist/_tsup-dts-rollup.d.ts +5 -21
- package/dist/{chunk-BVISYY3B.js → chunk-2UMNJBGS.js} +1 -1
- package/dist/{chunk-4H66FBQW.js → chunk-3EWOE56X.js} +1 -1
- package/dist/{chunk-L4JB7UFV.js → chunk-6XSCENTR.js} +1 -1
- package/dist/{chunk-HJX66GFT.js → chunk-C5YLE76Q.js} +1 -1
- package/dist/{chunk-AHG5XKEK.js → chunk-D72A4SU3.js} +2 -2
- package/dist/{chunk-ZNQNBTWF.js → chunk-DEP2DH7P.js} +1 -1
- package/dist/{chunk-HRFQMDUK.js → chunk-FVUEAELO.js} +2 -9
- package/dist/{chunk-5RWFHB7W.js → chunk-GXOQVOKP.js} +1 -1
- package/dist/{chunk-KH7E5C3C.js → chunk-HHKMVSL4.js} +1 -1
- package/dist/{chunk-HHUVJRPT.js → chunk-HXNGSQQG.js} +1 -1
- package/dist/{chunk-LKPWSC6O.js → chunk-KHCQMSP7.js} +1 -1
- package/dist/{chunk-JL4MHGRE.js → chunk-OWFY465Z.js} +6 -4
- package/dist/{chunk-YX44E5NF.js → chunk-P3IIT34M.js} +1 -1
- package/dist/{chunk-KB6NR2HZ.js → chunk-QKDPNO27.js} +1 -1
- package/dist/{chunk-K7BMQECB.js → chunk-SHCKFHIN.js} +1 -1
- package/dist/{chunk-5OUNZEYB.js → chunk-TKJXJEXT.js} +1 -1
- package/dist/{chunk-WZUKOJGI.js → chunk-U2CWQDXE.js} +1 -1
- package/dist/{chunk-EJOXGWHK.js → chunk-VVTDE7NH.js} +1 -1
- package/dist/{chunk-I2J6U5Z4.js → chunk-XQTIY2ND.js} +1 -1
- package/dist/{chunk-OME35FUG.js → chunk-XRQQE2AC.js} +1 -0
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/action-bar/index.js +3 -3
- package/dist/components/alert/index.js +3 -3
- package/dist/components/back-button/index.js +2 -2
- package/dist/components/clipboard/index.js +2 -2
- package/dist/components/close-button/index.js +2 -2
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/drawer/index.js +3 -3
- package/dist/components/file-upload/index.js +3 -3
- package/dist/components/icons/index.js +1 -1
- package/dist/components/info-tip/index.cjs +6 -11
- package/dist/components/info-tip/index.js +6 -5
- package/dist/components/menu/index.js +2 -2
- package/dist/components/native-select/index.js +2 -2
- package/dist/components/pagination/index.js +2 -2
- package/dist/components/popover/index.cjs +1 -8
- package/dist/components/popover/index.js +3 -3
- package/dist/components/search-input/index.js +2 -2
- package/dist/components/select/index.js +3 -3
- package/dist/components/steps/index.js +2 -2
- package/dist/components/toaster/index.js +3 -3
- package/dist/components/toggle-tip/index.cjs +6 -11
- package/dist/components/toggle-tip/index.js +5 -4
- package/dist/index.cjs +17 -23
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +80 -77
- package/package.json +1 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
pagination_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-6XSCENTR.js";
|
5
5
|
import "../../chunk-OJZPPAT6.js";
|
6
6
|
import "../../chunk-5HVAMQYO.js";
|
7
|
-
import "../../chunk-
|
7
|
+
import "../../chunk-XRQQE2AC.js";
|
8
8
|
import "../../chunk-RTMS5TJN.js";
|
9
9
|
export {
|
10
10
|
pagination_exports as Pagination
|
@@ -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
|
-
|
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,12 +1,12 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
popover_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-FVUEAELO.js";
|
5
5
|
import "../../chunk-JMYI6YXR.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-U2CWQDXE.js";
|
7
7
|
import "../../chunk-OJZPPAT6.js";
|
8
8
|
import "../../chunk-5HVAMQYO.js";
|
9
|
-
import "../../chunk-
|
9
|
+
import "../../chunk-XRQQE2AC.js";
|
10
10
|
import "../../chunk-RTMS5TJN.js";
|
11
11
|
export {
|
12
12
|
popover_exports as Popover
|
@@ -1,9 +1,9 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
SearchInput
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-C5YLE76Q.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-XRQQE2AC.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-
|
4
|
+
} from "../../chunk-2UMNJBGS.js";
|
5
5
|
import "../../chunk-JMYI6YXR.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-U2CWQDXE.js";
|
7
7
|
import "../../chunk-OJZPPAT6.js";
|
8
8
|
import "../../chunk-5HVAMQYO.js";
|
9
|
-
import "../../chunk-
|
9
|
+
import "../../chunk-XRQQE2AC.js";
|
10
10
|
import "../../chunk-RTMS5TJN.js";
|
11
11
|
export {
|
12
12
|
namespace_exports as Select
|
@@ -1,9 +1,9 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
steps_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-XQTIY2ND.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-XRQQE2AC.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-
|
5
|
+
} from "../../chunk-GXOQVOKP.js";
|
6
6
|
import "../../chunk-MK3OG2I4.js";
|
7
7
|
import "../../chunk-JMYI6YXR.js";
|
8
|
-
import "../../chunk-
|
8
|
+
import "../../chunk-U2CWQDXE.js";
|
9
9
|
import "../../chunk-OJZPPAT6.js";
|
10
10
|
import "../../chunk-5HVAMQYO.js";
|
11
|
-
import "../../chunk-
|
11
|
+
import "../../chunk-XRQQE2AC.js";
|
12
12
|
import "../../chunk-RTMS5TJN.js";
|
13
13
|
export {
|
14
14
|
Toaster,
|
@@ -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
|
-
|
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,13 +1,14 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
ToggleTip
|
4
|
-
} from "../../chunk-
|
5
|
-
import "../../chunk-
|
4
|
+
} from "../../chunk-OWFY465Z.js";
|
5
|
+
import "../../chunk-UZUMIWPJ.js";
|
6
|
+
import "../../chunk-FVUEAELO.js";
|
6
7
|
import "../../chunk-JMYI6YXR.js";
|
7
|
-
import "../../chunk-
|
8
|
+
import "../../chunk-U2CWQDXE.js";
|
8
9
|
import "../../chunk-OJZPPAT6.js";
|
9
10
|
import "../../chunk-5HVAMQYO.js";
|
10
|
-
import "../../chunk-
|
11
|
+
import "../../chunk-XRQQE2AC.js";
|
11
12
|
import "../../chunk-RTMS5TJN.js";
|
12
13
|
export {
|
13
14
|
ToggleTip
|
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: () =>
|
111
|
+
Portal: () => import_portal4.Portal,
|
112
112
|
Presence: () => import_presence3.Presence,
|
113
113
|
Progress: () => import_progress.Progress,
|
114
114
|
ProgressCircle: () => import_progress_circle.ProgressCircle,
|
@@ -154,6 +154,7 @@ __export(index_exports, {
|
|
154
154
|
VisuallyHidden: () => import_visually_hidden.VisuallyHidden,
|
155
155
|
Wrap: () => import_wrap.Wrap,
|
156
156
|
chakra: () => import_styled_system72.chakra,
|
157
|
+
createIcon: () => createIcon,
|
157
158
|
createSystem: () => import_styled_system72.createSystem,
|
158
159
|
defaultConfig: () => defaultConfig,
|
159
160
|
defaultPersonaPresenceOptions: () => defaultPersonaPresenceOptions,
|
@@ -10354,17 +10355,10 @@ __export(popover_exports, {
|
|
10354
10355
|
});
|
10355
10356
|
var import_react54 = require("react");
|
10356
10357
|
var import_popover = require("@chakra-ui/react/popover");
|
10357
|
-
var import_portal4 = require("@chakra-ui/react/portal");
|
10358
10358
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
10359
10359
|
var Content5 = (0, import_react54.forwardRef)(
|
10360
10360
|
function PopoverContent(props, ref) {
|
10361
|
-
|
10362
|
-
const portalRef = props.portalRef ?? void 0;
|
10363
|
-
const children = props.children ?? null;
|
10364
|
-
delete props.portalled;
|
10365
|
-
delete props.portalRef;
|
10366
|
-
delete props.children;
|
10367
|
-
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 }) });
|
10368
10362
|
}
|
10369
10363
|
);
|
10370
10364
|
var Arrow2 = (0, import_react54.forwardRef)(
|
@@ -10396,6 +10390,9 @@ var Body3 = import_popover.Popover.Body;
|
|
10396
10390
|
var Trigger5 = import_popover.Popover.Trigger;
|
10397
10391
|
var Context3 = import_popover.Popover.Context;
|
10398
10392
|
|
10393
|
+
// src/components/portal/index.ts
|
10394
|
+
var import_portal4 = require("@chakra-ui/react/portal");
|
10395
|
+
|
10399
10396
|
// src/components/toggle-tip/toggle-tip.tsx
|
10400
10397
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
10401
10398
|
var ToggleTip = React9.forwardRef(
|
@@ -10410,7 +10407,7 @@ var ToggleTip = React9.forwardRef(
|
|
10410
10407
|
} = props;
|
10411
10408
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
|
10412
10409
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(popover_exports.Trigger, { asChild: true, children }),
|
10413
|
-
/* @__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)(
|
10414
10411
|
popover_exports.Content,
|
10415
10412
|
{
|
10416
10413
|
width: "auto",
|
@@ -10418,14 +10415,13 @@ var ToggleTip = React9.forwardRef(
|
|
10418
10415
|
py: "1",
|
10419
10416
|
textStyle: "xs",
|
10420
10417
|
rounded: "sm",
|
10421
|
-
portalled,
|
10422
10418
|
ref,
|
10423
10419
|
children: [
|
10424
10420
|
showArrow && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(popover_exports.Arrow, {}),
|
10425
10421
|
content
|
10426
10422
|
]
|
10427
10423
|
}
|
10428
|
-
)
|
10424
|
+
) })
|
10429
10425
|
] });
|
10430
10426
|
}
|
10431
10427
|
);
|
@@ -10621,12 +10617,12 @@ __export(menu_exports, {
|
|
10621
10617
|
var import_react62 = require("react");
|
10622
10618
|
var import_center = require("@chakra-ui/react/center");
|
10623
10619
|
var import_menu = require("@chakra-ui/react/menu");
|
10624
|
-
var
|
10620
|
+
var import_portal6 = require("@chakra-ui/react/portal");
|
10625
10621
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
10626
10622
|
var MenuContent = (0, import_react62.forwardRef)(
|
10627
10623
|
function MenuContent2(props, ref) {
|
10628
10624
|
const { portalled = true, portalRef, ...rest } = props;
|
10629
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
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 }) }) });
|
10630
10626
|
}
|
10631
10627
|
);
|
10632
10628
|
var MenuArrow = (0, import_react62.forwardRef)(
|
@@ -11452,7 +11448,7 @@ __export(namespace_exports, {
|
|
11452
11448
|
|
11453
11449
|
// src/components/select/select.tsx
|
11454
11450
|
var import_react79 = require("react");
|
11455
|
-
var
|
11451
|
+
var import_portal7 = require("@chakra-ui/react/portal");
|
11456
11452
|
var import_select2 = require("@chakra-ui/react/select");
|
11457
11453
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
11458
11454
|
var SelectTrigger = (0, import_react79.forwardRef)(
|
@@ -11482,7 +11478,7 @@ var SelectClearTrigger = (0, import_react79.forwardRef)(function SelectClearTrig
|
|
11482
11478
|
var SelectContent = (0, import_react79.forwardRef)(
|
11483
11479
|
function SelectContent2(props, ref) {
|
11484
11480
|
const { portalled = true, portalRef, ...rest } = props;
|
11485
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
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 }) }) });
|
11486
11482
|
}
|
11487
11483
|
);
|
11488
11484
|
var SelectItem = (0, import_react79.forwardRef)(
|
@@ -11924,7 +11920,7 @@ var import_timeline = require("@chakra-ui/react/timeline");
|
|
11924
11920
|
|
11925
11921
|
// src/components/toaster/toaster.tsx
|
11926
11922
|
var import_react87 = require("react");
|
11927
|
-
var
|
11923
|
+
var import_portal8 = require("@chakra-ui/react/portal");
|
11928
11924
|
var import_stack2 = require("@chakra-ui/react/stack");
|
11929
11925
|
var import_toast = require("@chakra-ui/react/toast");
|
11930
11926
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
@@ -11942,7 +11938,7 @@ var Toaster = (props) => {
|
|
11942
11938
|
});
|
11943
11939
|
return toast;
|
11944
11940
|
}, [options]);
|
11945
|
-
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
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) => {
|
11946
11942
|
const closable = toast2.meta?.closable === false ? false : defaultClosable && toast2.type !== "loading";
|
11947
11943
|
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(ToastRoot, { children: [
|
11948
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, {}),
|
@@ -11975,7 +11971,7 @@ function ToastRoot(props) {
|
|
11975
11971
|
|
11976
11972
|
// src/components/tooltip/tooltip.tsx
|
11977
11973
|
var import_react88 = require("react");
|
11978
|
-
var
|
11974
|
+
var import_portal9 = require("@chakra-ui/react/portal");
|
11979
11975
|
var import_tooltip = require("@chakra-ui/react/tooltip");
|
11980
11976
|
var import_jsx_runtime53 = require("react/jsx-runtime");
|
11981
11977
|
var Tooltip = (0, import_react88.forwardRef)(
|
@@ -11993,7 +11989,7 @@ var Tooltip = (0, import_react88.forwardRef)(
|
|
11993
11989
|
if (disabled) return children;
|
11994
11990
|
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_tooltip.Tooltip.Root, { ...rest, children: [
|
11995
11991
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.Trigger, { asChild: true, children }),
|
11996
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
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: [
|
11997
11993
|
showArrow && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tooltip.Tooltip.ArrowTip, {}) }),
|
11998
11994
|
content
|
11999
11995
|
] }) }) })
|
@@ -12046,9 +12042,6 @@ var import_group3 = require("@chakra-ui/react/group");
|
|
12046
12042
|
// src/components/highlight/index.ts
|
12047
12043
|
var import_highlight = require("@chakra-ui/react/highlight");
|
12048
12044
|
|
12049
|
-
// src/components/portal/index.ts
|
12050
|
-
var import_portal9 = require("@chakra-ui/react/portal");
|
12051
|
-
|
12052
12045
|
// src/components/presence/index.ts
|
12053
12046
|
var import_presence3 = require("@chakra-ui/react/presence");
|
12054
12047
|
|
@@ -12201,6 +12194,7 @@ var import_wrap = require("@chakra-ui/react/wrap");
|
|
12201
12194
|
VisuallyHidden,
|
12202
12195
|
Wrap,
|
12203
12196
|
chakra,
|
12197
|
+
createIcon,
|
12204
12198
|
createSystem,
|
12205
12199
|
defaultConfig,
|
12206
12200
|
defaultPersonaPresenceOptions,
|
package/dist/index.d.cts
CHANGED
@@ -94,6 +94,7 @@ export { GridList } from './_tsup-dts-rollup.cjs';
|
|
94
94
|
export { Heading } from './_tsup-dts-rollup.cjs';
|
95
95
|
export { HeadingProps } from './_tsup-dts-rollup.cjs';
|
96
96
|
export { HoverCard } from './_tsup-dts-rollup.cjs';
|
97
|
+
export { createIcon } from './_tsup-dts-rollup.cjs';
|
97
98
|
export { Icon } from './_tsup-dts-rollup.cjs';
|
98
99
|
export { IconProps } from './_tsup-dts-rollup.cjs';
|
99
100
|
export { IconBadge } from './_tsup-dts-rollup.cjs';
|
package/dist/index.d.ts
CHANGED
@@ -94,6 +94,7 @@ export { GridList } from './_tsup-dts-rollup.js';
|
|
94
94
|
export { Heading } from './_tsup-dts-rollup.js';
|
95
95
|
export { HeadingProps } from './_tsup-dts-rollup.js';
|
96
96
|
export { HoverCard } from './_tsup-dts-rollup.js';
|
97
|
+
export { createIcon } from './_tsup-dts-rollup.js';
|
97
98
|
export { Icon } from './_tsup-dts-rollup.js';
|
98
99
|
export { IconProps } from './_tsup-dts-rollup.js';
|
99
100
|
export { IconBadge } from './_tsup-dts-rollup.js';
|