@rockshin/tao-ui 0.0.24 → 0.0.26
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/README.md +17 -6
- package/component-manifest.json +534 -6
- package/dist/components/alert/alert.css +120 -0
- package/dist/components/alert/alert.d.ts +20 -0
- package/dist/components/alert/alert.js +185 -0
- package/dist/components/button/button.css +19 -18
- package/dist/components/button/button.d.ts +8 -0
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-picker/range-picker.js +1 -1
- package/dist/components/dropdown/dropdown.css +22 -1
- package/dist/components/dropdown/dropdown.js +4 -3
- package/dist/components/form/form-context.d.ts +7 -0
- package/dist/components/form/form-context.js +8 -0
- package/dist/components/form/form-item.d.ts +55 -0
- package/dist/components/form/form-item.js +131 -0
- package/dist/components/form/form.css +22 -0
- package/dist/components/form/form.d.ts +35 -0
- package/dist/components/form/form.js +125 -0
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/index.js +1 -0
- package/dist/components/form-field/form-field-view.d.ts +30 -0
- package/dist/components/form-field/form-field-view.js +154 -0
- package/dist/components/form-field/form-field.d.ts +2 -2
- package/dist/components/form-field/form-field.js +29 -137
- package/dist/components/form-field/form.css +17 -7
- package/dist/components/input/input.css +18 -8
- package/dist/components/modal/confirm-dialog.js +14 -111
- package/dist/components/modal/modal.d.ts +7 -1
- package/dist/components/modal/modal.js +205 -195
- package/dist/components/popconfirm/popconfirm.css +44 -0
- package/dist/components/popconfirm/popconfirm.d.ts +41 -0
- package/dist/components/popconfirm/popconfirm.js +238 -0
- package/dist/components/popover/popover.css +105 -0
- package/dist/components/popover/popover.d.ts +41 -0
- package/dist/components/popover/popover.js +412 -0
- package/dist/components/select/select.js +1 -1
- package/dist/components/status-icon/status-icon.d.ts +5 -0
- package/dist/components/status-icon/status-icon.js +77 -0
- package/dist/components/table/table-types.d.ts +7 -0
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.js +296 -283
- package/dist/components/tooltip/tooltip.css +93 -0
- package/dist/components/tooltip/tooltip.d.ts +33 -0
- package/dist/components/tooltip/tooltip.js +226 -0
- package/dist/docs/components/alert.doc.d.ts +29 -0
- package/dist/docs/components/alert.doc.js +93 -0
- package/dist/docs/components/form.doc.d.ts +29 -0
- package/dist/docs/components/form.doc.js +71 -0
- package/dist/docs/components/modal.doc.d.ts +6 -0
- package/dist/docs/components/modal.doc.js +9 -1
- package/dist/docs/components/popconfirm.doc.d.ts +29 -0
- package/dist/docs/components/popconfirm.doc.js +132 -0
- package/dist/docs/components/popover.doc.d.ts +29 -0
- package/dist/docs/components/popover.doc.js +121 -0
- package/dist/docs/components/stack.doc.d.ts +6 -0
- package/dist/docs/components/stack.doc.js +23 -2
- package/dist/docs/components/table.doc.js +2 -1
- package/dist/docs/components/tao-provider.doc.js +11 -1
- package/dist/docs/components/tooltip.doc.d.ts +37 -0
- package/dist/docs/components/tooltip.doc.js +76 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +8 -1
- package/dist/layouts/stack/stack.d.ts +12 -3
- package/dist/layouts/stack/stack.js +60 -34
- package/dist/provider/tao-provider.d.ts +71 -0
- package/dist/provider/tao-provider.js +166 -120
- package/dist/theme/control.css +12 -12
- package/dist/theme/theme.css +23 -0
- package/dist/utils/breakpoint.d.ts +31 -0
- package/dist/utils/breakpoint.js +80 -0
- package/dist/utils/overlay.d.ts +19 -0
- package/dist/utils/overlay.js +41 -0
- package/llms.txt +68 -3
- package/package.json +6 -4
- package/dist/components/select/use-is-mobile.d.ts +0 -1
- package/dist/components/select/use-is-mobile.js +0 -27
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { useControlledOpen } from "../../utils/overlay.js";
|
|
4
|
+
import { cx } from "../../utils/semantic.js";
|
|
5
|
+
import { Button } from "../button/button.js";
|
|
6
|
+
import { Popover } from "../popover/popover.js";
|
|
7
|
+
import { StatusIcon } from "../status-icon/status-icon.js";
|
|
8
|
+
import "./popconfirm.css";
|
|
9
|
+
function Popconfirm(t0) {
|
|
10
|
+
const $ = c(63);
|
|
11
|
+
const { title, description, onConfirm, onCancel, okText: t1, cancelText: t2, okButtonProps, cancelButtonProps, icon, disabled: t3, open, defaultOpen, onOpenChange, placement: t4, className, style, classNames, styles, children } = t0;
|
|
12
|
+
const okText = void 0 === t1 ? "OK" : t1;
|
|
13
|
+
const cancelText = void 0 === t2 ? "Cancel" : t2;
|
|
14
|
+
const disabled = void 0 === t3 ? false : t3;
|
|
15
|
+
const placement = void 0 === t4 ? "top" : t4;
|
|
16
|
+
const t5 = !disabled;
|
|
17
|
+
let t6;
|
|
18
|
+
if ($[0] !== defaultOpen || $[1] !== onOpenChange || $[2] !== open || $[3] !== t5) {
|
|
19
|
+
t6 = {
|
|
20
|
+
open,
|
|
21
|
+
defaultOpen,
|
|
22
|
+
onOpenChange,
|
|
23
|
+
canOpen: t5
|
|
24
|
+
};
|
|
25
|
+
$[0] = defaultOpen;
|
|
26
|
+
$[1] = onOpenChange;
|
|
27
|
+
$[2] = open;
|
|
28
|
+
$[3] = t5;
|
|
29
|
+
$[4] = t6;
|
|
30
|
+
} else t6 = $[4];
|
|
31
|
+
const [realOpen, setOpen] = useControlledOpen(t6);
|
|
32
|
+
let t7;
|
|
33
|
+
if ($[5] !== onConfirm || $[6] !== setOpen) {
|
|
34
|
+
t7 = (e)=>{
|
|
35
|
+
onConfirm?.(e);
|
|
36
|
+
setOpen(false);
|
|
37
|
+
};
|
|
38
|
+
$[5] = onConfirm;
|
|
39
|
+
$[6] = setOpen;
|
|
40
|
+
$[7] = t7;
|
|
41
|
+
} else t7 = $[7];
|
|
42
|
+
const handleConfirm = t7;
|
|
43
|
+
let t8;
|
|
44
|
+
if ($[8] !== onCancel || $[9] !== setOpen) {
|
|
45
|
+
t8 = (e_0)=>{
|
|
46
|
+
onCancel?.(e_0);
|
|
47
|
+
setOpen(false);
|
|
48
|
+
};
|
|
49
|
+
$[8] = onCancel;
|
|
50
|
+
$[9] = setOpen;
|
|
51
|
+
$[10] = t8;
|
|
52
|
+
} else t8 = $[10];
|
|
53
|
+
const handleCancel = t8;
|
|
54
|
+
let t9;
|
|
55
|
+
if ($[11] !== icon) {
|
|
56
|
+
t9 = null === icon ? null : icon ?? /*#__PURE__*/ jsx(StatusIcon, {
|
|
57
|
+
type: "warning",
|
|
58
|
+
size: 16
|
|
59
|
+
});
|
|
60
|
+
$[11] = icon;
|
|
61
|
+
$[12] = t9;
|
|
62
|
+
} else t9 = $[12];
|
|
63
|
+
const iconNode = t9;
|
|
64
|
+
const t10 = classNames?.content;
|
|
65
|
+
let t11;
|
|
66
|
+
if ($[13] !== className || $[14] !== t10) {
|
|
67
|
+
t11 = cx(t10, className);
|
|
68
|
+
$[13] = className;
|
|
69
|
+
$[14] = t10;
|
|
70
|
+
$[15] = t11;
|
|
71
|
+
} else t11 = $[15];
|
|
72
|
+
const t12 = styles?.content;
|
|
73
|
+
let t13;
|
|
74
|
+
if ($[16] !== style || $[17] !== t12) {
|
|
75
|
+
t13 = {
|
|
76
|
+
...t12,
|
|
77
|
+
...style
|
|
78
|
+
};
|
|
79
|
+
$[16] = style;
|
|
80
|
+
$[17] = t12;
|
|
81
|
+
$[18] = t13;
|
|
82
|
+
} else t13 = $[18];
|
|
83
|
+
let t14;
|
|
84
|
+
if ($[19] !== classNames?.icon || $[20] !== iconNode || $[21] !== styles?.icon) {
|
|
85
|
+
t14 = null != iconNode && /*#__PURE__*/ jsx("span", {
|
|
86
|
+
"data-tao-popconfirm-icon": "",
|
|
87
|
+
className: cx(classNames?.icon),
|
|
88
|
+
style: styles?.icon,
|
|
89
|
+
children: iconNode
|
|
90
|
+
});
|
|
91
|
+
$[19] = classNames?.icon;
|
|
92
|
+
$[20] = iconNode;
|
|
93
|
+
$[21] = styles?.icon;
|
|
94
|
+
$[22] = t14;
|
|
95
|
+
} else t14 = $[22];
|
|
96
|
+
let t15;
|
|
97
|
+
if ($[23] !== classNames?.title || $[24] !== styles?.title || $[25] !== title) {
|
|
98
|
+
t15 = null != title && /*#__PURE__*/ jsx("div", {
|
|
99
|
+
"data-tao-popconfirm-title": "",
|
|
100
|
+
className: cx(classNames?.title),
|
|
101
|
+
style: styles?.title,
|
|
102
|
+
children: title
|
|
103
|
+
});
|
|
104
|
+
$[23] = classNames?.title;
|
|
105
|
+
$[24] = styles?.title;
|
|
106
|
+
$[25] = title;
|
|
107
|
+
$[26] = t15;
|
|
108
|
+
} else t15 = $[26];
|
|
109
|
+
let t16;
|
|
110
|
+
if ($[27] !== classNames?.description || $[28] !== description || $[29] !== styles?.description) {
|
|
111
|
+
t16 = null != description && /*#__PURE__*/ jsx("div", {
|
|
112
|
+
"data-tao-popconfirm-description": "",
|
|
113
|
+
className: cx(classNames?.description),
|
|
114
|
+
style: styles?.description,
|
|
115
|
+
children: description
|
|
116
|
+
});
|
|
117
|
+
$[27] = classNames?.description;
|
|
118
|
+
$[28] = description;
|
|
119
|
+
$[29] = styles?.description;
|
|
120
|
+
$[30] = t16;
|
|
121
|
+
} else t16 = $[30];
|
|
122
|
+
let t17;
|
|
123
|
+
if ($[31] !== t15 || $[32] !== t16) {
|
|
124
|
+
t17 = /*#__PURE__*/ jsxs("div", {
|
|
125
|
+
"data-tao-popconfirm-text": "",
|
|
126
|
+
children: [
|
|
127
|
+
t15,
|
|
128
|
+
t16
|
|
129
|
+
]
|
|
130
|
+
});
|
|
131
|
+
$[31] = t15;
|
|
132
|
+
$[32] = t16;
|
|
133
|
+
$[33] = t17;
|
|
134
|
+
} else t17 = $[33];
|
|
135
|
+
let t18;
|
|
136
|
+
if ($[34] !== t14 || $[35] !== t17) {
|
|
137
|
+
t18 = /*#__PURE__*/ jsxs("div", {
|
|
138
|
+
"data-tao-popconfirm-message": "",
|
|
139
|
+
children: [
|
|
140
|
+
t14,
|
|
141
|
+
t17
|
|
142
|
+
]
|
|
143
|
+
});
|
|
144
|
+
$[34] = t14;
|
|
145
|
+
$[35] = t17;
|
|
146
|
+
$[36] = t18;
|
|
147
|
+
} else t18 = $[36];
|
|
148
|
+
const t19 = classNames?.footer;
|
|
149
|
+
let t20;
|
|
150
|
+
if ($[37] !== t19) {
|
|
151
|
+
t20 = cx(t19);
|
|
152
|
+
$[37] = t19;
|
|
153
|
+
$[38] = t20;
|
|
154
|
+
} else t20 = $[38];
|
|
155
|
+
const t21 = styles?.footer;
|
|
156
|
+
let t22;
|
|
157
|
+
if ($[39] !== cancelButtonProps || $[40] !== cancelText || $[41] !== handleCancel) {
|
|
158
|
+
t22 = /*#__PURE__*/ jsx(Button, {
|
|
159
|
+
variant: "secondary",
|
|
160
|
+
size: "small",
|
|
161
|
+
onClick: handleCancel,
|
|
162
|
+
...cancelButtonProps,
|
|
163
|
+
children: cancelText
|
|
164
|
+
});
|
|
165
|
+
$[39] = cancelButtonProps;
|
|
166
|
+
$[40] = cancelText;
|
|
167
|
+
$[41] = handleCancel;
|
|
168
|
+
$[42] = t22;
|
|
169
|
+
} else t22 = $[42];
|
|
170
|
+
let t23;
|
|
171
|
+
if ($[43] !== handleConfirm || $[44] !== okButtonProps || $[45] !== okText) {
|
|
172
|
+
t23 = /*#__PURE__*/ jsx(Button, {
|
|
173
|
+
variant: "primary",
|
|
174
|
+
size: "small",
|
|
175
|
+
onClick: handleConfirm,
|
|
176
|
+
...okButtonProps,
|
|
177
|
+
children: okText
|
|
178
|
+
});
|
|
179
|
+
$[43] = handleConfirm;
|
|
180
|
+
$[44] = okButtonProps;
|
|
181
|
+
$[45] = okText;
|
|
182
|
+
$[46] = t23;
|
|
183
|
+
} else t23 = $[46];
|
|
184
|
+
let t24;
|
|
185
|
+
if ($[47] !== t20 || $[48] !== t21 || $[49] !== t22 || $[50] !== t23) {
|
|
186
|
+
t24 = /*#__PURE__*/ jsxs("div", {
|
|
187
|
+
"data-tao-popconfirm-footer": "",
|
|
188
|
+
className: t20,
|
|
189
|
+
style: t21,
|
|
190
|
+
children: [
|
|
191
|
+
t22,
|
|
192
|
+
t23
|
|
193
|
+
]
|
|
194
|
+
});
|
|
195
|
+
$[47] = t20;
|
|
196
|
+
$[48] = t21;
|
|
197
|
+
$[49] = t22;
|
|
198
|
+
$[50] = t23;
|
|
199
|
+
$[51] = t24;
|
|
200
|
+
} else t24 = $[51];
|
|
201
|
+
let t25;
|
|
202
|
+
if ($[52] !== t11 || $[53] !== t13 || $[54] !== t18 || $[55] !== t24) {
|
|
203
|
+
t25 = /*#__PURE__*/ jsxs("div", {
|
|
204
|
+
"data-tao-popconfirm": "",
|
|
205
|
+
className: t11,
|
|
206
|
+
style: t13,
|
|
207
|
+
children: [
|
|
208
|
+
t18,
|
|
209
|
+
t24
|
|
210
|
+
]
|
|
211
|
+
});
|
|
212
|
+
$[52] = t11;
|
|
213
|
+
$[53] = t13;
|
|
214
|
+
$[54] = t18;
|
|
215
|
+
$[55] = t24;
|
|
216
|
+
$[56] = t25;
|
|
217
|
+
} else t25 = $[56];
|
|
218
|
+
const content = t25;
|
|
219
|
+
let t26;
|
|
220
|
+
if ($[57] !== children || $[58] !== content || $[59] !== placement || $[60] !== realOpen || $[61] !== setOpen) {
|
|
221
|
+
t26 = /*#__PURE__*/ jsx(Popover, {
|
|
222
|
+
trigger: "click",
|
|
223
|
+
placement: placement,
|
|
224
|
+
open: realOpen,
|
|
225
|
+
onOpenChange: setOpen,
|
|
226
|
+
content: content,
|
|
227
|
+
children: children
|
|
228
|
+
});
|
|
229
|
+
$[57] = children;
|
|
230
|
+
$[58] = content;
|
|
231
|
+
$[59] = placement;
|
|
232
|
+
$[60] = realOpen;
|
|
233
|
+
$[61] = setOpen;
|
|
234
|
+
$[62] = t26;
|
|
235
|
+
} else t26 = $[62];
|
|
236
|
+
return t26;
|
|
237
|
+
}
|
|
238
|
+
export { Popconfirm };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
[data-tao-popover] {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
width: max-content;
|
|
4
|
+
max-width: 100vw;
|
|
5
|
+
color: var(--tao-color-text);
|
|
6
|
+
font-family: var(--tao-font-family);
|
|
7
|
+
font-size: var(--tao-font-size-base);
|
|
8
|
+
font-weight: normal;
|
|
9
|
+
line-height: var(--tao-line-height);
|
|
10
|
+
text-align: start;
|
|
11
|
+
white-space: normal;
|
|
12
|
+
cursor: auto;
|
|
13
|
+
-webkit-user-select: text;
|
|
14
|
+
user-select: text;
|
|
15
|
+
filter: var(--tao-drop-shadow-popover);
|
|
16
|
+
transform-origin: var(--radix-popover-content-transform-origin);
|
|
17
|
+
z-index: calc(var(--tao-z-index-popup) + 30);
|
|
18
|
+
animation-duration: var(--tao-motion-duration-mid);
|
|
19
|
+
animation-timing-function: var(--tao-motion-ease-out);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-tao-popover][data-state="open"] {
|
|
23
|
+
animation-name: tao-popover-in;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-tao-popover][data-state="closed"] {
|
|
27
|
+
animation-name: tao-popover-out;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-tao-popover][data-tao-keep-alive][data-state="closed"] {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@keyframes tao-popover-in {
|
|
35
|
+
from {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
transform: scale(.8);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
to {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
transform: scale(1);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes tao-popover-out {
|
|
47
|
+
from {
|
|
48
|
+
transform: scale(1);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
to {
|
|
52
|
+
opacity: 0;
|
|
53
|
+
transform: scale(.8);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-tao-popover-container] {
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
padding: var(--tao-padding-sm);
|
|
60
|
+
color: var(--tao-color-text);
|
|
61
|
+
background: var(--tao-color-bg-elevated);
|
|
62
|
+
border-radius: var(--tao-radius-sm);
|
|
63
|
+
background-clip: padding-box;
|
|
64
|
+
position: relative;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-tao-popover-title] {
|
|
68
|
+
min-width: 177px;
|
|
69
|
+
color: var(--tao-color-text-heading);
|
|
70
|
+
font-weight: var(--tao-font-weight-strong);
|
|
71
|
+
margin-block-end: var(--tao-padding-xs);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[data-tao-popover-content] {
|
|
75
|
+
color: var(--tao-color-text);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-tao-popover-arrow] {
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
width: 16px;
|
|
81
|
+
height: 8px;
|
|
82
|
+
display: block;
|
|
83
|
+
position: relative;
|
|
84
|
+
overflow: visible;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[data-tao-popover-arrow]:before {
|
|
88
|
+
content: "";
|
|
89
|
+
box-sizing: border-box;
|
|
90
|
+
background: var(--tao-color-bg-elevated);
|
|
91
|
+
border-end-end-radius: var(--tao-radius-xs);
|
|
92
|
+
width: 11.31px;
|
|
93
|
+
height: 11.31px;
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: -5.66px;
|
|
96
|
+
left: 50%;
|
|
97
|
+
transform: translateX(-50%) rotate(45deg);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (prefers-reduced-motion: reduce) {
|
|
101
|
+
[data-tao-popover] {
|
|
102
|
+
animation: none;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type SemanticClassNames, type SemanticStyles } from '../../utils/semantic';
|
|
3
|
+
import './popover.css';
|
|
4
|
+
export type PopoverSemanticPart = 'root' | 'container' | 'title' | 'content' | 'arrow';
|
|
5
|
+
export type PopoverTrigger = 'hover' | 'focus' | 'click' | 'contextMenu';
|
|
6
|
+
export type PopoverPlacement = 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom' | 'right' | 'rightTop' | 'rightBottom';
|
|
7
|
+
type PopoverRender = ReactNode | (() => ReactNode);
|
|
8
|
+
export interface PopoverProps {
|
|
9
|
+
/** Header content of the popup. */
|
|
10
|
+
title?: PopoverRender;
|
|
11
|
+
/** Body content of the popup. */
|
|
12
|
+
content?: PopoverRender;
|
|
13
|
+
/** How the popup opens. Defaults to `'hover'`. */
|
|
14
|
+
trigger?: PopoverTrigger | PopoverTrigger[];
|
|
15
|
+
/** Popup position relative to the trigger. Defaults to `'top'`. */
|
|
16
|
+
placement?: PopoverPlacement;
|
|
17
|
+
open?: boolean;
|
|
18
|
+
defaultOpen?: boolean;
|
|
19
|
+
onOpenChange?: (open: boolean) => void;
|
|
20
|
+
/** Hover delay in seconds before opening. Defaults to `0.1`. */
|
|
21
|
+
mouseEnterDelay?: number;
|
|
22
|
+
/** Hover delay in seconds before closing. Defaults to `0.1`. */
|
|
23
|
+
mouseLeaveDelay?: number;
|
|
24
|
+
/** Show a pointing arrow on the popup. Defaults to `true`. */
|
|
25
|
+
arrow?: boolean | {
|
|
26
|
+
pointAtCenter?: boolean;
|
|
27
|
+
};
|
|
28
|
+
/** Unmount the popup content while closed. Defaults to `false`. */
|
|
29
|
+
destroyOnHidden?: boolean;
|
|
30
|
+
/** @deprecated Use `destroyOnHidden` instead. */
|
|
31
|
+
destroyTooltipOnHide?: boolean;
|
|
32
|
+
/** Merged onto the popup root. */
|
|
33
|
+
className?: string;
|
|
34
|
+
style?: CSSProperties;
|
|
35
|
+
classNames?: SemanticClassNames<PopoverSemanticPart>;
|
|
36
|
+
styles?: SemanticStyles<PopoverSemanticPart>;
|
|
37
|
+
/** Exactly one trigger element. */
|
|
38
|
+
children: ReactNode;
|
|
39
|
+
}
|
|
40
|
+
export declare function Popover({ title, content, trigger, placement, open, defaultOpen, onOpenChange, mouseEnterDelay, mouseLeaveDelay, arrow, destroyOnHidden, destroyTooltipOnHide, className, style, classNames, styles, children, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export {};
|