@saas-ui/react 3.0.0-alpha.4 → 3.0.0-alpha.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/chunk-2EUACKRH.js +26 -0
  3. package/dist/chunk-3Z2C27LI.js +51 -0
  4. package/dist/chunk-4TR3AOMG.js +33 -0
  5. package/dist/chunk-6LOMIKR5.js +69 -0
  6. package/dist/chunk-6ZNR6N2K.js +45 -0
  7. package/dist/chunk-7C3IZBNJ.js +38 -0
  8. package/dist/chunk-BCNPBZZK.js +45 -0
  9. package/dist/{chunk-KHRLZUV4.js → chunk-BFA5FCA2.js} +16 -1
  10. package/dist/chunk-CTOVNZVS.js +1 -0
  11. package/dist/chunk-DPMEXCSG.js +137 -0
  12. package/dist/chunk-F3CVOMG5.js +160 -0
  13. package/dist/chunk-FJFNGSPL.js +23 -0
  14. package/dist/chunk-GEPWRHHH.js +65 -0
  15. package/dist/chunk-HELHPHIQ.js +35 -0
  16. package/dist/chunk-I2RXEKTB.js +38 -0
  17. package/dist/chunk-L356FPLY.js +20 -0
  18. package/dist/chunk-LIYUBUOP.js +119 -0
  19. package/dist/chunk-M7FOBCOV.js +184 -0
  20. package/dist/chunk-NSD5HRIP.js +46 -0
  21. package/dist/chunk-QMG6HP7Z.js +87 -0
  22. package/dist/chunk-QSNSWCTM.js +32 -0
  23. package/dist/chunk-S3CQW7GD.js +100 -0
  24. package/dist/chunk-SA3OGTOO.js +23 -0
  25. package/dist/chunk-UCQ3LZIE.js +43 -0
  26. package/dist/chunk-ULAJ3JEO.js +32 -0
  27. package/dist/chunk-VF3BV2BY.js +87 -0
  28. package/dist/chunk-WYLMBMAH.js +22 -0
  29. package/dist/chunk-YWJZWB6I.js +1892 -0
  30. package/dist/chunk-ZWSZQZ5G.js +73 -0
  31. package/dist/components/app-shell/index.js +3 -40
  32. package/dist/components/avatar/index.cjs +69 -0
  33. package/dist/components/avatar/index.d.cts +18 -0
  34. package/dist/components/avatar/index.d.ts +18 -0
  35. package/dist/components/avatar/index.js +10 -0
  36. package/dist/components/breadcrumbs/index.js +3 -32
  37. package/dist/components/button/index.js +3 -40
  38. package/dist/components/checkbox/index.js +3 -15
  39. package/dist/components/command/index.js +3 -28
  40. package/dist/components/dialog/index.js +5 -67
  41. package/dist/components/drawer/index.d.cts +2 -2
  42. package/dist/components/drawer/index.d.ts +2 -2
  43. package/dist/components/drawer/index.js +5 -59
  44. package/dist/components/empty-state/index.js +3 -18
  45. package/dist/components/grid-list/index.js +3 -40
  46. package/dist/components/icon-badge/index.js +3 -33
  47. package/dist/components/link/index.js +2 -14
  48. package/dist/components/loading-overlay/index.js +5 -1885
  49. package/dist/components/menu/index.cjs +263 -0
  50. package/dist/components/menu/index.d.cts +30 -0
  51. package/dist/components/menu/index.d.ts +30 -0
  52. package/dist/components/menu/index.js +9 -0
  53. package/dist/components/navbar/index.d.cts +4 -4
  54. package/dist/components/navbar/index.d.ts +4 -4
  55. package/dist/components/navbar/index.js +3 -45
  56. package/dist/components/number-input/index.js +3 -26
  57. package/dist/components/password-input/index.js +4 -225
  58. package/dist/components/persona/index.js +6 -178
  59. package/dist/components/pin-input/index.js +3 -21
  60. package/dist/components/radio/index.js +4 -16
  61. package/dist/components/search-input/index.js +4 -114
  62. package/dist/components/segmented-control/index.cjs +2 -0
  63. package/dist/components/segmented-control/index.d.cts +2 -0
  64. package/dist/components/segmented-control/index.d.ts +2 -0
  65. package/dist/components/segmented-control/index.js +2 -0
  66. package/dist/components/select/index.js +4 -94
  67. package/dist/components/sidebar/index.d.cts +11 -11
  68. package/dist/components/sidebar/index.d.ts +11 -11
  69. package/dist/components/sidebar/index.js +7 -129
  70. package/dist/components/steps/index.js +5 -64
  71. package/dist/components/switch/index.js +3 -18
  72. package/dist/components/toaster/index.cjs +54 -0
  73. package/dist/components/toaster/index.d.cts +10 -0
  74. package/dist/components/toaster/index.d.ts +10 -0
  75. package/dist/components/toaster/index.js +10 -0
  76. package/dist/components/tooltip/index.cjs +57 -0
  77. package/dist/components/tooltip/index.d.cts +14 -0
  78. package/dist/components/tooltip/index.d.ts +14 -0
  79. package/dist/components/tooltip/index.js +8 -0
  80. package/dist/index.cjs +3707 -8
  81. package/dist/index.d.cts +37 -2
  82. package/dist/index.d.ts +37 -2
  83. package/dist/index.js +285 -4
  84. package/package.json +4 -4
@@ -1,136 +1,14 @@
1
1
  'use client'
2
2
  import {
3
- __export
4
- } from "../../chunk-RTMS5TJN.js";
5
-
6
- // src/components/sidebar/sidebar.tsx
7
- var sidebar_exports = {};
8
- __export(sidebar_exports, {
9
- Backdrop: () => SidebarBackdrop,
10
- Body: () => SidebarBody,
11
- FlyoutTrigger: () => SidebarFlyoutTrigger,
12
- Footer: () => SidebarFooter,
13
- Group: () => SidebarGroup,
14
- GroupContent: () => SidebarGroupContent,
15
- GroupEndElement: () => SidebarGroupEndElement,
16
- GroupHeader: () => SidebarGroupHeader,
17
- GroupTitle: () => SidebarGroupTitle,
18
- Header: () => SidebarHeader,
19
- NavButton: () => SidebarNavButton,
20
- NavItem: () => SidebarNavItem,
21
- NavItemEndElement: () => SidebarNavItemEndElement,
22
- Provider: () => SidebarProvider,
23
- Root: () => SidebarRoot,
24
- Track: () => SidebarTrack,
25
- Trigger: () => SidebarTrigger
26
- });
27
- import { Sidebar, useSidebar } from "@saas-ui/core/sidebar";
28
-
29
- // src/components/sidebar/sidebar.context.ts
30
- import { createSlotRecipeContext } from "@chakra-ui/react";
31
- var {
32
- withContext,
33
- useRecipeResult,
34
- StylesProvider,
35
- ClassNamesProvider,
36
- useStyles: useSidebarStyles
37
- } = createSlotRecipeContext({
38
- key: "suiSidebar"
39
- });
40
- var {
41
- withProvider: withItemProvider,
42
- withContext: withItemContext,
43
- useStyles: useSidebarItemStyles
44
- } = createSlotRecipeContext({
45
- key: "suiSidebarNavItem"
46
- });
47
-
48
- // src/components/sidebar/sidebar.tsx
49
- import { jsx } from "react/jsx-runtime";
50
- var SidebarProvider = function SidebarProvider2(props) {
51
- return /* @__PURE__ */ jsx(Sidebar.Provider, { ...props, children: /* @__PURE__ */ jsx(RecipeProvider, { ...props, children: props.children }) });
52
- };
53
- function RecipeProvider(props) {
54
- const { mode } = useSidebar();
55
- const { styles, classNames } = useRecipeResult({
56
- ...props,
57
- mode
58
- });
59
- return /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: props.children }) });
60
- }
61
- var SidebarRoot = withContext(
62
- Sidebar.Root,
63
- "root"
64
- );
65
- var SidebarTrigger = withContext(
66
- Sidebar.Trigger,
67
- "trigger",
68
- {
69
- forwardAsChild: true
70
- }
71
- );
72
- var SidebarFlyoutTrigger = withContext(Sidebar.FlyoutTrigger, "flyoutTrigger", {
73
- forwardAsChild: true
74
- });
75
- var SidebarBackdrop = withContext(
76
- Sidebar.Backdrop,
77
- "backdrop",
78
- {
79
- forwardAsChild: true
80
- }
81
- );
82
- var SidebarHeader = withContext(
83
- Sidebar.Header,
84
- "header"
85
- );
86
- var SidebarBody = withContext(
87
- Sidebar.Body,
88
- "body"
89
- );
90
- var SidebarFooter = withContext(
91
- Sidebar.Footer,
92
- "footer"
93
- );
94
- var SidebarTrack = withContext(
95
- Sidebar.Track,
96
- "track",
97
- {
98
- forwardAsChild: true
99
- }
100
- );
101
- var SidebarGroup = withContext(
102
- Sidebar.Group,
103
- "group",
104
- {
105
- defaultProps: {
106
- role: "group"
107
- }
108
- }
109
- );
110
- var SidebarGroupHeader = withContext(
111
- Sidebar.GroupHeader,
112
- "groupHeader"
113
- );
114
- var SidebarGroupTitle = withContext(Sidebar.GroupTitle, "groupTitle");
115
- var SidebarGroupEndElement = withContext(Sidebar.GroupEndElement, "groupEndElement");
116
- var SidebarGroupContent = withContext(
117
- Sidebar.GroupContent,
118
- "groupContent"
119
- );
120
- var SidebarNavItem = withItemProvider(
121
- Sidebar.NavItem,
122
- "item"
123
- );
124
- var SidebarNavButton = withItemContext(Sidebar.NavButton, "button", {
125
- forwardAsChild: true
126
- });
127
- var SidebarNavItemEndElement = withItemContext(Sidebar.NavItemEndElement, "endElement");
128
-
129
- // src/components/sidebar/index.ts
130
- import { useSidebar as useSidebar2 } from "@saas-ui/core/sidebar";
3
+ sidebar_exports,
4
+ useSidebar,
5
+ useSidebarItemStyles,
6
+ useSidebarStyles
7
+ } from "../../chunk-DPMEXCSG.js";
8
+ import "../../chunk-RTMS5TJN.js";
131
9
  export {
132
10
  sidebar_exports as Sidebar,
133
- useSidebar2 as useSidebar,
11
+ useSidebar,
134
12
  useSidebarItemStyles,
135
13
  useSidebarStyles
136
14
  };
@@ -1,69 +1,10 @@
1
1
  'use client'
2
- import "../../chunk-KTLWEUNW.js";
3
- import {
4
- CheckIcon
5
- } from "../../chunk-VDXTEASE.js";
6
2
  import {
7
- __export
8
- } from "../../chunk-RTMS5TJN.js";
9
-
10
- // src/components/steps/steps.tsx
11
- var steps_exports = {};
12
- __export(steps_exports, {
13
- CompletedContent: () => StepsCompletedContent,
14
- Content: () => StepsContent,
15
- Indicator: () => StepsIndicator,
16
- Item: () => StepsItem,
17
- List: () => StepsList,
18
- NextTrigger: () => StepsNextTrigger,
19
- PrevTrigger: () => StepsPrevTrigger,
20
- Root: () => StepsRoot
21
- });
22
- import { Box, Steps as ChakraSteps } from "@chakra-ui/react";
23
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
24
- var StepsItem = (props) => {
25
- const { title, description, completedIcon, icon, ...rest } = props;
26
- return /* @__PURE__ */ jsxs(ChakraSteps.Item, { ...rest, children: [
27
- /* @__PURE__ */ jsxs(ChakraSteps.Trigger, { children: [
28
- /* @__PURE__ */ jsx(ChakraSteps.Indicator, { children: /* @__PURE__ */ jsx(
29
- ChakraSteps.Status,
30
- {
31
- complete: completedIcon || /* @__PURE__ */ jsx(CheckIcon, {}),
32
- incomplete: icon || /* @__PURE__ */ jsx(ChakraSteps.Number, {})
33
- }
34
- ) }),
35
- /* @__PURE__ */ jsx(StepInfo, { title, description })
36
- ] }),
37
- /* @__PURE__ */ jsx(ChakraSteps.Separator, {})
38
- ] });
39
- };
40
- var StepInfo = (props) => {
41
- const { title, description } = props;
42
- if (title && description) {
43
- return /* @__PURE__ */ jsxs(Box, { children: [
44
- /* @__PURE__ */ jsx(ChakraSteps.Title, { children: title }),
45
- /* @__PURE__ */ jsx(ChakraSteps.Description, { children: description })
46
- ] });
47
- }
48
- return /* @__PURE__ */ jsxs(Fragment, { children: [
49
- title && /* @__PURE__ */ jsx(ChakraSteps.Title, { children: title }),
50
- description && /* @__PURE__ */ jsx(ChakraSteps.Description, { children: description })
51
- ] });
52
- };
53
- var StepsIndicator = (props) => {
54
- const { icon = /* @__PURE__ */ jsx(ChakraSteps.Number, {}), completedIcon } = props;
55
- return /* @__PURE__ */ jsx(ChakraSteps.Indicator, { children: /* @__PURE__ */ jsx(ChakraSteps.Status, { complete: completedIcon, incomplete: icon }) });
56
- };
57
- var StepsList = ChakraSteps.List;
58
- var StepsRoot = ChakraSteps.Root;
59
- var StepsContent = ChakraSteps.Content;
60
- var StepsCompletedContent = ChakraSteps.CompletedContent;
61
- var StepsNextTrigger = (props) => {
62
- return /* @__PURE__ */ jsx(ChakraSteps.NextTrigger, { ...props });
63
- };
64
- var StepsPrevTrigger = (props) => {
65
- return /* @__PURE__ */ jsx(ChakraSteps.PrevTrigger, { ...props });
66
- };
3
+ steps_exports
4
+ } from "../../chunk-6LOMIKR5.js";
5
+ import "../../chunk-KTLWEUNW.js";
6
+ import "../../chunk-VDXTEASE.js";
7
+ import "../../chunk-RTMS5TJN.js";
67
8
  export {
68
9
  steps_exports as Steps
69
10
  };
@@ -1,23 +1,8 @@
1
1
  'use client'
2
+ import {
3
+ Switch
4
+ } from "../../chunk-SA3OGTOO.js";
2
5
  import "../../chunk-RTMS5TJN.js";
3
-
4
- // src/components/switch/switch.tsx
5
- import { Switch as ChakraSwitch } from "@chakra-ui/react";
6
- import { forwardRef } from "react";
7
- import { jsx, jsxs } from "react/jsx-runtime";
8
- var Switch = forwardRef(
9
- function Switch2(props, ref) {
10
- const { inputProps, children, rootRef, trackLabel, thumbLabel, ...rest } = props;
11
- return /* @__PURE__ */ jsxs(ChakraSwitch.Root, { ref: rootRef, ...rest, children: [
12
- /* @__PURE__ */ jsx(ChakraSwitch.HiddenInput, { ref, ...inputProps }),
13
- /* @__PURE__ */ jsxs(ChakraSwitch.Control, { children: [
14
- /* @__PURE__ */ jsx(ChakraSwitch.Thumb, { children: thumbLabel && /* @__PURE__ */ jsx(ChakraSwitch.ThumbIndicator, { fallback: thumbLabel == null ? void 0 : thumbLabel.off, children: thumbLabel == null ? void 0 : thumbLabel.on }) }),
15
- trackLabel && /* @__PURE__ */ jsx(ChakraSwitch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
16
- ] }),
17
- children != null && /* @__PURE__ */ jsx(ChakraSwitch.Label, { children })
18
- ] });
19
- }
20
- );
21
6
  export {
22
7
  Switch
23
8
  };
@@ -0,0 +1,54 @@
1
+ 'use client'
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/components/toaster/index.ts
22
+ var toaster_exports = {};
23
+ __export(toaster_exports, {
24
+ Toaster: () => Toaster,
25
+ toast: () => toast
26
+ });
27
+ module.exports = __toCommonJS(toaster_exports);
28
+
29
+ // src/components/toaster/toaster.tsx
30
+ var import_react = require("@chakra-ui/react");
31
+ var import_jsx_runtime = require("react/jsx-runtime");
32
+ var toast = (0, import_react.createToaster)({
33
+ placement: "bottom-end",
34
+ pauseOnPageIdle: true
35
+ });
36
+ var Toaster = () => {
37
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Toaster, { toaster: toast, insetInline: { mdDown: "4" }, children: (toast2) => {
38
+ var _a;
39
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Toast.Root, { width: { md: "sm" }, children: [
40
+ toast2.type === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Spinner, { size: "sm", color: "colorPalette.solid" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Toast.Indicator, {}),
41
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
42
+ toast2.title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Toast.Title, { children: toast2.title }),
43
+ toast2.description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Toast.Description, { children: toast2.description })
44
+ ] }),
45
+ toast2.action && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Toast.ActionTrigger, { children: toast2.action.label }),
46
+ ((_a = toast2.meta) == null ? void 0 : _a.closable) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Toast.CloseTrigger, {})
47
+ ] });
48
+ } }) });
49
+ };
50
+ // Annotate the CommonJS export names for ESM import in node:
51
+ 0 && (module.exports = {
52
+ Toaster,
53
+ toast
54
+ });
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CreateToasterReturn } from '@chakra-ui/react';
3
+
4
+ declare const toast: CreateToasterReturn;
5
+ interface ToasterProps extends CreateToasterReturn {
6
+ children: React.ReactNode;
7
+ }
8
+ declare const Toaster: () => react_jsx_runtime.JSX.Element;
9
+
10
+ export { Toaster, type ToasterProps, toast };
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CreateToasterReturn } from '@chakra-ui/react';
3
+
4
+ declare const toast: CreateToasterReturn;
5
+ interface ToasterProps extends CreateToasterReturn {
6
+ children: React.ReactNode;
7
+ }
8
+ declare const Toaster: () => react_jsx_runtime.JSX.Element;
9
+
10
+ export { Toaster, type ToasterProps, toast };
@@ -0,0 +1,10 @@
1
+ 'use client'
2
+ import {
3
+ Toaster,
4
+ toast
5
+ } from "../../chunk-HELHPHIQ.js";
6
+ import "../../chunk-RTMS5TJN.js";
7
+ export {
8
+ Toaster,
9
+ toast
10
+ };
@@ -0,0 +1,57 @@
1
+ 'use client'
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/components/tooltip/index.ts
22
+ var tooltip_exports = {};
23
+ __export(tooltip_exports, {
24
+ Tooltip: () => Tooltip
25
+ });
26
+ module.exports = __toCommonJS(tooltip_exports);
27
+
28
+ // src/components/tooltip/tooltip.tsx
29
+ var import_react = require("react");
30
+ var import_react2 = require("@chakra-ui/react");
31
+ var import_jsx_runtime = require("react/jsx-runtime");
32
+ var Tooltip = (0, import_react.forwardRef)(
33
+ function Tooltip2(props, ref) {
34
+ const {
35
+ showArrow,
36
+ children,
37
+ disabled,
38
+ portalled,
39
+ content,
40
+ contentProps,
41
+ portalRef,
42
+ ...rest
43
+ } = props;
44
+ if (disabled) return children;
45
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react2.Tooltip.Root, { ...rest, children: [
46
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Tooltip.Trigger, { asChild: true, children }),
47
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react2.Tooltip.Content, { ref, ...contentProps, children: [
48
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Tooltip.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Tooltip.ArrowTip, {}) }),
49
+ content
50
+ ] }) }) })
51
+ ] });
52
+ }
53
+ );
54
+ // Annotate the CommonJS export names for ESM import in node:
55
+ 0 && (module.exports = {
56
+ Tooltip
57
+ });
@@ -0,0 +1,14 @@
1
+ import * as react from 'react';
2
+ import { Tooltip as Tooltip$1 } from '@chakra-ui/react';
3
+
4
+ interface TooltipProps extends Tooltip$1.RootProps {
5
+ showArrow?: boolean;
6
+ portalled?: boolean;
7
+ portalRef?: React.RefObject<HTMLElement>;
8
+ content: React.ReactNode;
9
+ contentProps?: Tooltip$1.ContentProps;
10
+ disabled?: boolean;
11
+ }
12
+ declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLDivElement>>;
13
+
14
+ export { Tooltip, type TooltipProps };
@@ -0,0 +1,14 @@
1
+ import * as react from 'react';
2
+ import { Tooltip as Tooltip$1 } from '@chakra-ui/react';
3
+
4
+ interface TooltipProps extends Tooltip$1.RootProps {
5
+ showArrow?: boolean;
6
+ portalled?: boolean;
7
+ portalRef?: React.RefObject<HTMLElement>;
8
+ content: React.ReactNode;
9
+ contentProps?: Tooltip$1.ContentProps;
10
+ disabled?: boolean;
11
+ }
12
+ declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLDivElement>>;
13
+
14
+ export { Tooltip, type TooltipProps };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+ import {
3
+ Tooltip
4
+ } from "../../chunk-QSNSWCTM.js";
5
+ import "../../chunk-RTMS5TJN.js";
6
+ export {
7
+ Tooltip
8
+ };