@saas-ui/react 3.0.0-alpha.24 → 3.0.0-alpha.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/chunk-6MMPBMKN.js +54 -0
  3. package/dist/chunk-CZVNG73V.js +63 -0
  4. package/dist/chunk-GRUMUCSL.js +109 -0
  5. package/dist/{chunk-CD2JUFI2.js → chunk-K2SPPLAY.js} +2 -2
  6. package/dist/chunk-KE5AC3TZ.js +63 -0
  7. package/dist/{chunk-FJFNGSPL.js → chunk-NGGISORT.js} +12 -6
  8. package/dist/components/dialog/index.cjs +35 -35
  9. package/dist/components/dialog/index.d.cts +35 -17
  10. package/dist/components/dialog/index.d.ts +35 -17
  11. package/dist/components/dialog/index.js +3 -3
  12. package/dist/components/drawer/index.cjs +34 -36
  13. package/dist/components/drawer/index.d.cts +33 -18
  14. package/dist/components/drawer/index.d.ts +33 -18
  15. package/dist/components/drawer/index.js +3 -3
  16. package/dist/components/empty-state/index.cjs +12 -10
  17. package/dist/components/empty-state/index.js +1 -1
  18. package/dist/components/file-upload/index.cjs +254 -0
  19. package/dist/components/file-upload/index.d.cts +43 -0
  20. package/dist/components/file-upload/index.d.ts +43 -0
  21. package/dist/components/file-upload/index.js +10 -0
  22. package/dist/components/grid-list/index.d.cts +1 -1
  23. package/dist/components/grid-list/index.d.ts +1 -1
  24. package/dist/components/password-input/index.cjs +2 -2
  25. package/dist/components/password-input/index.js +1 -1
  26. package/dist/components/persona/index.d.cts +1 -1
  27. package/dist/components/persona/index.d.ts +1 -1
  28. package/dist/components/popover/index.cjs +214 -0
  29. package/dist/components/popover/index.d.cts +37 -0
  30. package/dist/components/popover/index.d.ts +37 -0
  31. package/dist/components/popover/index.js +11 -0
  32. package/dist/index.cjs +1570 -1325
  33. package/dist/index.d.cts +3 -1
  34. package/dist/index.d.ts +3 -1
  35. package/dist/index.js +944 -839
  36. package/package.json +2 -2
  37. package/dist/chunk-3Y67QIZ7.js +0 -56
  38. package/dist/chunk-OIOBGO3Y.js +0 -63
@@ -4,7 +4,7 @@ import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react';
4
4
  import { GridList } from '@saas-ui/core/grid-list';
5
5
  import { S as SlotRecipeProps } from '../../types-DnFoUudY.js';
6
6
 
7
- declare const gridListSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "root" | "header" | "item", {
7
+ declare const gridListSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "root" | "item" | "header", {
8
8
  interactive: {
9
9
  true: {
10
10
  item: {
@@ -179,10 +179,10 @@ function IconBase(props) {
179
179
 
180
180
  // ../../node_modules/react-icons/lu/index.mjs
181
181
  function LuEyeOff(props) {
182
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M9.88 9.88a3 3 0 1 0 4.24 4.24" }, "child": [] }, { "tag": "path", "attr": { "d": "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }, "child": [] }, { "tag": "line", "attr": { "x1": "2", "x2": "22", "y1": "2", "y2": "22" }, "child": [] }] })(props);
182
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
183
183
  }
184
184
  function LuEye(props) {
185
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
185
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
186
186
  }
187
187
 
188
188
  // src/components/input-group/input-group.tsx
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  PasswordInput
4
- } from "../../chunk-CD2JUFI2.js";
4
+ } from "../../chunk-K2SPPLAY.js";
5
5
  import "../../chunk-PKI6YH2V.js";
6
6
  import "../../chunk-RTMS5TJN.js";
7
7
  export {
@@ -4,7 +4,7 @@ import * as _chakra_ui_react from '@chakra-ui/react';
4
4
  import { RecipeVariantProps, HTMLChakraProps, SlotRecipeProps, ImageProps } from '@chakra-ui/react';
5
5
  import { AvatarProps } from '../avatar/index.cjs';
6
6
 
7
- declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "avatar" | "details" | "label" | "secondaryLabel" | "tertiaryLabel", {
7
+ declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "label" | "avatar" | "details" | "secondaryLabel" | "tertiaryLabel", {
8
8
  size: {
9
9
  '2xs': {
10
10
  details: {
@@ -4,7 +4,7 @@ import * as _chakra_ui_react from '@chakra-ui/react';
4
4
  import { RecipeVariantProps, HTMLChakraProps, SlotRecipeProps, ImageProps } from '@chakra-ui/react';
5
5
  import { AvatarProps } from '../avatar/index.js';
6
6
 
7
- declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "avatar" | "details" | "label" | "secondaryLabel" | "tertiaryLabel", {
7
+ declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "label" | "avatar" | "details" | "secondaryLabel" | "tertiaryLabel", {
8
8
  size: {
9
9
  '2xs': {
10
10
  details: {
@@ -0,0 +1,214 @@
1
+ 'use client'
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/components/popover/index.ts
32
+ var popover_exports2 = {};
33
+ __export(popover_exports2, {
34
+ Popover: () => popover_exports
35
+ });
36
+ module.exports = __toCommonJS(popover_exports2);
37
+
38
+ // src/components/popover/popover.tsx
39
+ var popover_exports = {};
40
+ __export(popover_exports, {
41
+ Arrow: () => Arrow,
42
+ Body: () => Body,
43
+ CloseButton: () => CloseButton3,
44
+ CloseTrigger: () => CloseTrigger,
45
+ Content: () => Content,
46
+ Description: () => Description,
47
+ Footer: () => Footer,
48
+ Header: () => Header,
49
+ Root: () => Root,
50
+ Title: () => Title,
51
+ Trigger: () => Trigger
52
+ });
53
+ var React = __toESM(require("react"), 1);
54
+ var import_react4 = require("@chakra-ui/react");
55
+
56
+ // src/components/close-button/close-button.tsx
57
+ var import_react2 = require("react");
58
+ var import_react3 = require("@chakra-ui/react");
59
+
60
+ // src/components/icons/create-icon.tsx
61
+ var import_react = require("@chakra-ui/react");
62
+ var createIcon = (props) => {
63
+ return (0, import_react.createIcon)({
64
+ viewBox: "0 0 24 24",
65
+ defaultProps: {
66
+ fill: "none",
67
+ stroke: "currentColor",
68
+ strokeWidth: "2",
69
+ strokeLinecap: "round",
70
+ strokeLinejoin: "round"
71
+ },
72
+ ...props
73
+ });
74
+ };
75
+
76
+ // src/components/icons/icons.tsx
77
+ var import_jsx_runtime = require("react/jsx-runtime");
78
+ var ChevronUpIcon = createIcon({
79
+ displayName: "ChevronUpIcon",
80
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "18 15 12 9 6 15" })
81
+ });
82
+ var ChevronDownIcon = createIcon({
83
+ displayName: "ChevronDownIcon",
84
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "6 9 12 15 18 9" })
85
+ });
86
+ var ChevronLeftIcon = createIcon({
87
+ displayName: "ChevronLeftIcon",
88
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "15 18 9 12 15 6" })
89
+ });
90
+ var ChevronRightIcon = createIcon({
91
+ displayName: "ChevronRightIcon",
92
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "9 18 15 12 9 6" })
93
+ });
94
+ var HamburgerIcon = createIcon({
95
+ displayName: "ChevronDownIcon",
96
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { fill: "none", children: [
97
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
98
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
99
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
100
+ ] })
101
+ });
102
+ var CloseIcon = createIcon({
103
+ displayName: "CloseIcon",
104
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
105
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
106
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
107
+ ] })
108
+ });
109
+ var FilterIcon = createIcon({
110
+ displayName: "FilterIcon",
111
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
112
+ });
113
+ var CalendarIcon = createIcon({
114
+ displayName: "CalendarIcon",
115
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
116
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
117
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
118
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
119
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
120
+ ] })
121
+ });
122
+ var PlusIcon = createIcon({
123
+ displayName: "PlusIcon",
124
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
125
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
126
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
127
+ ] })
128
+ });
129
+ var MinusIcon = createIcon({
130
+ displayName: "MinusIcon",
131
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
132
+ });
133
+ var ViewOffIcon = createIcon({
134
+ displayName: "ViewOffIcon",
135
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
136
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
137
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
138
+ ] })
139
+ });
140
+ var ViewIcon = createIcon({
141
+ displayName: "ViewOffIcon",
142
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
143
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
144
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "3" })
145
+ ] })
146
+ });
147
+ var SearchIcon = createIcon({
148
+ displayName: "SearchIcon",
149
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
150
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
151
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
152
+ ] })
153
+ });
154
+ var CheckIcon = createIcon({
155
+ displayName: "CheckIcon",
156
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
157
+ });
158
+ var EllipsisIcon = createIcon({
159
+ displayName: "EllipsisIcon",
160
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
161
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
162
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
163
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
164
+ ] })
165
+ });
166
+
167
+ // src/components/close-button/close-button.tsx
168
+ var import_jsx_runtime2 = require("react/jsx-runtime");
169
+ var CloseButton = (0, import_react2.forwardRef)(
170
+ function CloseButton2(props, ref) {
171
+ var _a;
172
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CloseIcon, {}) });
173
+ }
174
+ );
175
+
176
+ // src/components/popover/popover.tsx
177
+ var import_jsx_runtime3 = require("react/jsx-runtime");
178
+ var Content = React.forwardRef(
179
+ function PopoverContent(props, ref) {
180
+ const { portalled = true, portalRef, ...rest } = props;
181
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react4.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react4.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react4.Popover.Content, { ref, ...rest }) }) });
182
+ }
183
+ );
184
+ var Arrow = React.forwardRef(
185
+ function PopoverArrow(props, ref) {
186
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react4.Popover.Arrow, { ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react4.Popover.ArrowTip, {}) });
187
+ }
188
+ );
189
+ var CloseButton3 = React.forwardRef(function PopoverCloseTrigger(props, ref) {
190
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
191
+ import_react4.Popover.CloseTrigger,
192
+ {
193
+ position: "absolute",
194
+ top: "1",
195
+ insetEnd: "1",
196
+ ...props,
197
+ asChild: true,
198
+ ref,
199
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CloseButton, { size: "sm" })
200
+ }
201
+ );
202
+ });
203
+ var CloseTrigger = import_react4.Popover.CloseTrigger;
204
+ var Title = import_react4.Popover.Title;
205
+ var Description = import_react4.Popover.Description;
206
+ var Footer = import_react4.Popover.Footer;
207
+ var Header = import_react4.Popover.Header;
208
+ var Root = import_react4.Popover.Root;
209
+ var Body = import_react4.Popover.Body;
210
+ var Trigger = import_react4.Popover.Trigger;
211
+ // Annotate the CommonJS export names for ESM import in node:
212
+ 0 && (module.exports = {
213
+ Popover
214
+ });
@@ -0,0 +1,37 @@
1
+ import * as react from 'react';
2
+ import { Popover } from '@chakra-ui/react';
3
+
4
+ interface ContentProps extends Popover.ContentProps {
5
+ portalled?: boolean;
6
+ portalRef?: react.RefObject<HTMLElement>;
7
+ }
8
+ declare const Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
9
+ declare const Arrow: react.ForwardRefExoticComponent<Popover.ArrowProps & react.RefAttributes<HTMLDivElement>>;
10
+ declare const CloseButton: react.ForwardRefExoticComponent<Popover.CloseTriggerProps & react.RefAttributes<HTMLButtonElement>>;
11
+ declare const CloseTrigger: react.ForwardRefExoticComponent<Popover.CloseTriggerProps & react.RefAttributes<HTMLButtonElement>>;
12
+ declare const Title: react.ForwardRefExoticComponent<Popover.TitleProps & react.RefAttributes<HTMLDivElement>>;
13
+ declare const Description: react.ForwardRefExoticComponent<Popover.DescriptionProps & react.RefAttributes<HTMLDivElement>>;
14
+ declare const Footer: react.ForwardRefExoticComponent<Popover.FooterProps & react.RefAttributes<HTMLDivElement>>;
15
+ declare const Header: react.ForwardRefExoticComponent<Popover.HeaderProps & react.RefAttributes<HTMLDivElement>>;
16
+ declare const Root: react.FC<Popover.RootProps>;
17
+ declare const Body: react.ForwardRefExoticComponent<Popover.BodyProps & react.RefAttributes<HTMLDivElement>>;
18
+ declare const Trigger: react.ForwardRefExoticComponent<Popover.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
19
+ type RootProps = Popover.RootProps;
20
+
21
+ declare const popover_Arrow: typeof Arrow;
22
+ declare const popover_Body: typeof Body;
23
+ declare const popover_CloseButton: typeof CloseButton;
24
+ declare const popover_CloseTrigger: typeof CloseTrigger;
25
+ declare const popover_Content: typeof Content;
26
+ declare const popover_Description: typeof Description;
27
+ declare const popover_Footer: typeof Footer;
28
+ declare const popover_Header: typeof Header;
29
+ declare const popover_Root: typeof Root;
30
+ type popover_RootProps = RootProps;
31
+ declare const popover_Title: typeof Title;
32
+ declare const popover_Trigger: typeof Trigger;
33
+ declare namespace popover {
34
+ export { popover_Arrow as Arrow, popover_Body as Body, popover_CloseButton as CloseButton, popover_CloseTrigger as CloseTrigger, popover_Content as Content, popover_Description as Description, popover_Footer as Footer, popover_Header as Header, popover_Root as Root, type popover_RootProps as RootProps, popover_Title as Title, popover_Trigger as Trigger };
35
+ }
36
+
37
+ export { popover as Popover };
@@ -0,0 +1,37 @@
1
+ import * as react from 'react';
2
+ import { Popover } from '@chakra-ui/react';
3
+
4
+ interface ContentProps extends Popover.ContentProps {
5
+ portalled?: boolean;
6
+ portalRef?: react.RefObject<HTMLElement>;
7
+ }
8
+ declare const Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
9
+ declare const Arrow: react.ForwardRefExoticComponent<Popover.ArrowProps & react.RefAttributes<HTMLDivElement>>;
10
+ declare const CloseButton: react.ForwardRefExoticComponent<Popover.CloseTriggerProps & react.RefAttributes<HTMLButtonElement>>;
11
+ declare const CloseTrigger: react.ForwardRefExoticComponent<Popover.CloseTriggerProps & react.RefAttributes<HTMLButtonElement>>;
12
+ declare const Title: react.ForwardRefExoticComponent<Popover.TitleProps & react.RefAttributes<HTMLDivElement>>;
13
+ declare const Description: react.ForwardRefExoticComponent<Popover.DescriptionProps & react.RefAttributes<HTMLDivElement>>;
14
+ declare const Footer: react.ForwardRefExoticComponent<Popover.FooterProps & react.RefAttributes<HTMLDivElement>>;
15
+ declare const Header: react.ForwardRefExoticComponent<Popover.HeaderProps & react.RefAttributes<HTMLDivElement>>;
16
+ declare const Root: react.FC<Popover.RootProps>;
17
+ declare const Body: react.ForwardRefExoticComponent<Popover.BodyProps & react.RefAttributes<HTMLDivElement>>;
18
+ declare const Trigger: react.ForwardRefExoticComponent<Popover.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
19
+ type RootProps = Popover.RootProps;
20
+
21
+ declare const popover_Arrow: typeof Arrow;
22
+ declare const popover_Body: typeof Body;
23
+ declare const popover_CloseButton: typeof CloseButton;
24
+ declare const popover_CloseTrigger: typeof CloseTrigger;
25
+ declare const popover_Content: typeof Content;
26
+ declare const popover_Description: typeof Description;
27
+ declare const popover_Footer: typeof Footer;
28
+ declare const popover_Header: typeof Header;
29
+ declare const popover_Root: typeof Root;
30
+ type popover_RootProps = RootProps;
31
+ declare const popover_Title: typeof Title;
32
+ declare const popover_Trigger: typeof Trigger;
33
+ declare namespace popover {
34
+ export { popover_Arrow as Arrow, popover_Body as Body, popover_CloseButton as CloseButton, popover_CloseTrigger as CloseTrigger, popover_Content as Content, popover_Description as Description, popover_Footer as Footer, popover_Header as Header, popover_Root as Root, type popover_RootProps as RootProps, popover_Title as Title, popover_Trigger as Trigger };
35
+ }
36
+
37
+ export { popover as Popover };
@@ -0,0 +1,11 @@
1
+ 'use client'
2
+ import {
3
+ popover_exports
4
+ } from "../../chunk-KE5AC3TZ.js";
5
+ import "../../chunk-JMYI6YXR.js";
6
+ import "../../chunk-YXGJOOMM.js";
7
+ import "../../chunk-4TPVIHNO.js";
8
+ import "../../chunk-RTMS5TJN.js";
9
+ export {
10
+ popover_exports as Popover
11
+ };