@lglab/compose-ui 0.19.0 → 0.20.0
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/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/menu.d.ts.map +1 -1
- package/dist/components/menubar.d.ts.map +1 -1
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/tooltip.d.ts +47 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +799 -752
- package/dist/lib/arrow-svg.d.ts +9 -0
- package/dist/lib/arrow-svg.d.ts.map +1 -0
- package/dist/lib/tooltip-variants.d.ts +9 -0
- package/dist/lib/tooltip-variants.d.ts.map +1 -0
- package/package.json +3 -2
package/dist/index.es.js
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { cva as
|
|
5
|
-
import { clsx as
|
|
6
|
-
import { twMerge as
|
|
2
|
+
import { jsx as a, jsxs as R } from "react/jsx-runtime";
|
|
3
|
+
import { Button as B } from "@base-ui/react/button";
|
|
4
|
+
import { cva as u } from "class-variance-authority";
|
|
5
|
+
import { clsx as F } from "clsx";
|
|
6
|
+
import { twMerge as H } from "tailwind-merge";
|
|
7
7
|
import { Collapsible as I } from "@base-ui/react/collapsible";
|
|
8
|
-
import { AlertDialog as
|
|
9
|
-
import { AlertDialog as
|
|
10
|
-
import { Avatar as
|
|
11
|
-
import * as
|
|
12
|
-
import { ScrollArea as
|
|
13
|
-
import { Separator as
|
|
14
|
-
import { Switch as
|
|
15
|
-
import { Toggle as
|
|
8
|
+
import { AlertDialog as g } from "@base-ui/react/alert-dialog";
|
|
9
|
+
import { AlertDialog as Cr } from "@base-ui/react/alert-dialog";
|
|
10
|
+
import { Avatar as D } from "@base-ui/react/avatar";
|
|
11
|
+
import * as b from "react";
|
|
12
|
+
import { ScrollArea as y } from "@base-ui/react/scroll-area";
|
|
13
|
+
import { Separator as O } from "@base-ui/react/separator";
|
|
14
|
+
import { Switch as V } from "@base-ui/react/switch";
|
|
15
|
+
import { Toggle as L } from "@base-ui/react/toggle";
|
|
16
16
|
import { Tabs as v } from "@base-ui/react/tabs";
|
|
17
17
|
import { Dialog as d } from "@base-ui/react/dialog";
|
|
18
18
|
import { Accordion as w } from "@base-ui/react/accordion";
|
|
19
|
-
import { Meter as
|
|
19
|
+
import { Meter as M } from "@base-ui/react/meter";
|
|
20
20
|
import { Menu as s } from "@base-ui/react/menu";
|
|
21
|
-
import { Popover as
|
|
22
|
-
import { Progress as
|
|
23
|
-
import { ToggleGroup as
|
|
21
|
+
import { Popover as m } from "@base-ui/react/popover";
|
|
22
|
+
import { Progress as C } from "@base-ui/react/progress";
|
|
23
|
+
import { ToggleGroup as q } from "@base-ui/react/toggle-group";
|
|
24
24
|
import { ContextMenu as l } from "@base-ui/react/context-menu";
|
|
25
|
-
import { Menubar as
|
|
26
|
-
import { Slider as
|
|
27
|
-
|
|
25
|
+
import { Menubar as $ } from "@base-ui/react/menubar";
|
|
26
|
+
import { Slider as N } from "@base-ui/react/slider";
|
|
27
|
+
import { Tooltip as f } from "@base-ui/react/tooltip";
|
|
28
|
+
const i = u(
|
|
28
29
|
[
|
|
29
30
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all select-none [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
|
|
30
31
|
],
|
|
@@ -54,36 +55,36 @@ const i = m(
|
|
|
54
55
|
}
|
|
55
56
|
);
|
|
56
57
|
function r(...e) {
|
|
57
|
-
return
|
|
58
|
+
return H(F(e));
|
|
58
59
|
}
|
|
59
|
-
const
|
|
60
|
+
const E = ({
|
|
60
61
|
className: e,
|
|
61
|
-
variant:
|
|
62
|
+
variant: t,
|
|
62
63
|
size: o,
|
|
63
64
|
disabled: n,
|
|
64
|
-
children:
|
|
65
|
-
...
|
|
66
|
-
}) => /* @__PURE__ */
|
|
67
|
-
|
|
65
|
+
children: c,
|
|
66
|
+
...p
|
|
67
|
+
}) => /* @__PURE__ */ a(
|
|
68
|
+
B,
|
|
68
69
|
{
|
|
69
|
-
className: r(i({ variant:
|
|
70
|
+
className: r(i({ variant: t, size: o }), e),
|
|
70
71
|
disabled: n,
|
|
71
|
-
...
|
|
72
|
-
children:
|
|
72
|
+
...p,
|
|
73
|
+
children: c
|
|
73
74
|
}
|
|
74
75
|
);
|
|
75
|
-
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
const
|
|
76
|
+
E.displayName = "Button";
|
|
77
|
+
const Z = ({ className: e, ...t }) => /* @__PURE__ */ a(I.Root, { className: r("w-full", e), ...t });
|
|
78
|
+
Z.displayName = "CollapsibleRoot";
|
|
79
|
+
const J = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
79
80
|
I.Trigger,
|
|
80
81
|
{
|
|
81
82
|
className: r("flex items-center justify-between font-medium", e),
|
|
82
|
-
...
|
|
83
|
+
...t
|
|
83
84
|
}
|
|
84
85
|
);
|
|
85
|
-
|
|
86
|
-
const
|
|
86
|
+
J.displayName = "CollapsibleTrigger";
|
|
87
|
+
const K = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
87
88
|
I.Panel,
|
|
88
89
|
{
|
|
89
90
|
className: r(
|
|
@@ -93,29 +94,29 @@ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
93
94
|
"data-starting-style:h-0",
|
|
94
95
|
e
|
|
95
96
|
),
|
|
96
|
-
...
|
|
97
|
+
...t
|
|
97
98
|
}
|
|
98
99
|
);
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
const
|
|
100
|
+
K.displayName = "CollapsiblePanel";
|
|
101
|
+
const Q = (e) => /* @__PURE__ */ a(g.Root, { ...e });
|
|
102
|
+
Q.displayName = "AlertDialogRoot";
|
|
103
|
+
const U = ({
|
|
103
104
|
className: e,
|
|
104
|
-
variant:
|
|
105
|
+
variant: t,
|
|
105
106
|
size: o,
|
|
106
107
|
...n
|
|
107
|
-
}) => /* @__PURE__ */
|
|
108
|
-
|
|
108
|
+
}) => /* @__PURE__ */ a(
|
|
109
|
+
g.Trigger,
|
|
109
110
|
{
|
|
110
|
-
className: r(i({ variant:
|
|
111
|
+
className: r(i({ variant: t, size: o }), e),
|
|
111
112
|
...n
|
|
112
113
|
}
|
|
113
114
|
);
|
|
114
|
-
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
|
|
115
|
+
U.displayName = "AlertDialogTrigger";
|
|
116
|
+
const W = (e) => /* @__PURE__ */ a(g.Portal, { ...e });
|
|
117
|
+
W.displayName = "AlertDialogPortal";
|
|
118
|
+
const X = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
119
|
+
g.Backdrop,
|
|
119
120
|
{
|
|
120
121
|
className: r(
|
|
121
122
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -123,19 +124,19 @@ const Q = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
123
124
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
124
125
|
e
|
|
125
126
|
),
|
|
126
|
-
...
|
|
127
|
+
...t
|
|
127
128
|
}
|
|
128
129
|
);
|
|
129
|
-
|
|
130
|
-
const
|
|
131
|
-
|
|
130
|
+
X.displayName = "AlertDialogBackdrop";
|
|
131
|
+
const Y = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
132
|
+
g.Viewport,
|
|
132
133
|
{
|
|
133
134
|
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
|
|
134
|
-
...
|
|
135
|
+
...t
|
|
135
136
|
}
|
|
136
137
|
);
|
|
137
|
-
|
|
138
|
-
const
|
|
138
|
+
Y.displayName = "AlertDialogViewport";
|
|
139
|
+
const ee = u(
|
|
139
140
|
[
|
|
140
141
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
141
142
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -159,38 +160,38 @@ const W = m(
|
|
|
159
160
|
size: "default"
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
|
-
),
|
|
163
|
-
|
|
163
|
+
), te = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(
|
|
164
|
+
g.Popup,
|
|
164
165
|
{
|
|
165
|
-
className: r(
|
|
166
|
+
className: r(ee({ size: t }), e),
|
|
166
167
|
...o
|
|
167
168
|
}
|
|
168
169
|
);
|
|
169
|
-
|
|
170
|
-
const
|
|
171
|
-
|
|
170
|
+
te.displayName = "AlertDialogPopup";
|
|
171
|
+
const ae = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
172
|
+
g.Title,
|
|
172
173
|
{
|
|
173
174
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
174
|
-
...
|
|
175
|
+
...t
|
|
175
176
|
}
|
|
176
177
|
);
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
const
|
|
178
|
+
ae.displayName = "AlertDialogTitle";
|
|
179
|
+
const re = ({ className: e, ...t }) => /* @__PURE__ */ a(g.Description, { className: r("mt-2", e), ...t });
|
|
180
|
+
re.displayName = "AlertDialogDescription";
|
|
181
|
+
const oe = ({
|
|
181
182
|
className: e,
|
|
182
|
-
variant:
|
|
183
|
+
variant: t,
|
|
183
184
|
size: o,
|
|
184
185
|
...n
|
|
185
|
-
}) => /* @__PURE__ */
|
|
186
|
-
|
|
186
|
+
}) => /* @__PURE__ */ a(
|
|
187
|
+
g.Close,
|
|
187
188
|
{
|
|
188
|
-
className: r(i({ variant:
|
|
189
|
+
className: r(i({ variant: t ?? "outline", size: o }), e),
|
|
189
190
|
...n
|
|
190
191
|
}
|
|
191
192
|
);
|
|
192
|
-
|
|
193
|
-
const
|
|
193
|
+
oe.displayName = "AlertDialogClose";
|
|
194
|
+
const G = u(
|
|
194
195
|
[
|
|
195
196
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
196
197
|
"bg-muted text-foreground",
|
|
@@ -208,121 +209,121 @@ const z = m(
|
|
|
208
209
|
size: "default"
|
|
209
210
|
}
|
|
210
211
|
}
|
|
211
|
-
),
|
|
212
|
-
|
|
213
|
-
const
|
|
214
|
-
|
|
212
|
+
), _ = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(D.Root, { className: r(G({ size: t }), e), ...o });
|
|
213
|
+
_.displayName = "AvatarRoot";
|
|
214
|
+
const se = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
215
|
+
D.Image,
|
|
215
216
|
{
|
|
216
217
|
className: r("aspect-square h-full w-full object-cover", e),
|
|
217
|
-
...
|
|
218
|
+
...t
|
|
218
219
|
}
|
|
219
220
|
);
|
|
220
|
-
|
|
221
|
-
const
|
|
222
|
-
|
|
221
|
+
se.displayName = "AvatarImage";
|
|
222
|
+
const ne = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
223
|
+
D.Fallback,
|
|
223
224
|
{
|
|
224
225
|
className: r(
|
|
225
226
|
"flex h-full w-full items-center justify-center font-medium",
|
|
226
227
|
e
|
|
227
228
|
),
|
|
228
|
-
...
|
|
229
|
+
...t
|
|
229
230
|
}
|
|
230
231
|
);
|
|
231
|
-
|
|
232
|
-
const
|
|
232
|
+
ne.displayName = "AvatarFallback";
|
|
233
|
+
const ie = ({
|
|
233
234
|
"aria-label": e,
|
|
234
|
-
maxVisible:
|
|
235
|
+
maxVisible: t,
|
|
235
236
|
className: o,
|
|
236
237
|
children: n
|
|
237
238
|
}) => {
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
return
|
|
239
|
+
const c = b.Children.toArray(n), p = c.length, x = t !== void 0 ? Math.min(t, p) : p, P = p - x, T = c.slice(0, x), j = (() => {
|
|
240
|
+
const h = c[0];
|
|
241
|
+
return b.isValidElement(h) && h.type === _ ? h.props.size ?? "default" : "default";
|
|
241
242
|
})();
|
|
242
|
-
return /* @__PURE__ */
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
return /* @__PURE__ */ R("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
|
|
244
|
+
T.map((h, z) => /* @__PURE__ */ a("li", { children: h }, z)),
|
|
245
|
+
P > 0 && /* @__PURE__ */ a("li", { children: /* @__PURE__ */ R(
|
|
245
246
|
"span",
|
|
246
247
|
{
|
|
247
248
|
className: r(
|
|
248
249
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
249
250
|
"bg-muted text-foreground border-2 border-background",
|
|
250
251
|
"font-medium",
|
|
251
|
-
|
|
252
|
+
G({ size: j })
|
|
252
253
|
),
|
|
253
254
|
children: [
|
|
254
255
|
"+",
|
|
255
|
-
|
|
256
|
+
P
|
|
256
257
|
]
|
|
257
258
|
}
|
|
258
259
|
) })
|
|
259
260
|
] });
|
|
260
261
|
};
|
|
261
|
-
|
|
262
|
-
const
|
|
263
|
-
|
|
264
|
-
const
|
|
265
|
-
|
|
262
|
+
ie.displayName = "AvatarStack";
|
|
263
|
+
const le = ({ className: e, ...t }) => /* @__PURE__ */ a(y.Root, { className: r("relative", e), ...t });
|
|
264
|
+
le.displayName = "ScrollAreaRoot";
|
|
265
|
+
const de = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
266
|
+
y.Viewport,
|
|
266
267
|
{
|
|
267
268
|
className: r("h-full overscroll-contain pr-3", e),
|
|
268
|
-
...
|
|
269
|
+
...t
|
|
269
270
|
}
|
|
270
271
|
);
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
const
|
|
272
|
+
de.displayName = "ScrollAreaViewport";
|
|
273
|
+
const ce = ({ className: e, ...t }) => /* @__PURE__ */ a(y.Content, { className: r("min-w-full", e), ...t });
|
|
274
|
+
ce.displayName = "ScrollAreaContent";
|
|
275
|
+
const ue = ({
|
|
275
276
|
className: e,
|
|
276
|
-
orientation:
|
|
277
|
+
orientation: t = "vertical",
|
|
277
278
|
...o
|
|
278
|
-
}) => /* @__PURE__ */
|
|
279
|
-
|
|
279
|
+
}) => /* @__PURE__ */ a(
|
|
280
|
+
y.Scrollbar,
|
|
280
281
|
{
|
|
281
282
|
className: r(
|
|
282
283
|
"flex touch-none select-none p-0.5 transition-colors duration-200 ease-out",
|
|
283
284
|
"data-hovering:bg-muted/50",
|
|
284
|
-
|
|
285
|
-
|
|
285
|
+
t === "vertical" && "h-full w-2.5",
|
|
286
|
+
t === "horizontal" && "h-2.5 w-full flex-col",
|
|
286
287
|
e
|
|
287
288
|
),
|
|
288
|
-
orientation:
|
|
289
|
+
orientation: t,
|
|
289
290
|
...o
|
|
290
291
|
}
|
|
291
292
|
);
|
|
292
|
-
|
|
293
|
-
const
|
|
294
|
-
|
|
293
|
+
ue.displayName = "ScrollAreaScrollbar";
|
|
294
|
+
const me = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
295
|
+
y.Thumb,
|
|
295
296
|
{
|
|
296
297
|
className: r(
|
|
297
298
|
"relative flex-1 rounded-full bg-border transition-colors",
|
|
298
299
|
"hover:bg-muted-foreground/50",
|
|
299
300
|
e
|
|
300
301
|
),
|
|
301
|
-
...
|
|
302
|
+
...t
|
|
302
303
|
}
|
|
303
304
|
);
|
|
304
|
-
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
const
|
|
305
|
+
me.displayName = "ScrollAreaThumb";
|
|
306
|
+
const pe = ({ className: e, ...t }) => /* @__PURE__ */ a(y.Corner, { className: r("bg-muted/50", e), ...t });
|
|
307
|
+
pe.displayName = "ScrollAreaCorner";
|
|
308
|
+
const ge = ({
|
|
308
309
|
className: e,
|
|
309
|
-
orientation:
|
|
310
|
+
orientation: t = "horizontal",
|
|
310
311
|
...o
|
|
311
|
-
}) => /* @__PURE__ */
|
|
312
|
-
|
|
312
|
+
}) => /* @__PURE__ */ a(
|
|
313
|
+
O,
|
|
313
314
|
{
|
|
314
|
-
orientation:
|
|
315
|
+
orientation: t,
|
|
315
316
|
className: r(
|
|
316
317
|
"shrink-0 bg-border",
|
|
317
|
-
|
|
318
|
+
t === "horizontal" ? "h-px w-full" : "h-full w-px",
|
|
318
319
|
e
|
|
319
320
|
),
|
|
320
321
|
...o
|
|
321
322
|
}
|
|
322
323
|
);
|
|
323
|
-
|
|
324
|
-
const
|
|
325
|
-
|
|
324
|
+
ge.displayName = "Separator";
|
|
325
|
+
const be = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
326
|
+
V.Root,
|
|
326
327
|
{
|
|
327
328
|
className: r(
|
|
328
329
|
"relative flex h-6 w-10 rounded-full",
|
|
@@ -334,12 +335,12 @@ const me = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
334
335
|
"dark:from-primary/50 dark:shadow-none",
|
|
335
336
|
e
|
|
336
337
|
),
|
|
337
|
-
...
|
|
338
|
+
...t
|
|
338
339
|
}
|
|
339
340
|
);
|
|
340
|
-
|
|
341
|
-
const
|
|
342
|
-
|
|
341
|
+
be.displayName = "SwitchRoot";
|
|
342
|
+
const fe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
343
|
+
V.Thumb,
|
|
343
344
|
{
|
|
344
345
|
className: r(
|
|
345
346
|
"aspect-square h-full rounded-full bg-background",
|
|
@@ -350,11 +351,11 @@ const pe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
350
351
|
"data-disabled:opacity-100",
|
|
351
352
|
e
|
|
352
353
|
),
|
|
353
|
-
...
|
|
354
|
+
...t
|
|
354
355
|
}
|
|
355
356
|
);
|
|
356
|
-
|
|
357
|
-
const
|
|
357
|
+
fe.displayName = "SwitchThumb";
|
|
358
|
+
const A = u(
|
|
358
359
|
[
|
|
359
360
|
"inline-flex items-center justify-center gap-2 rounded-md",
|
|
360
361
|
"text-sm font-medium",
|
|
@@ -386,17 +387,17 @@ const T = m(
|
|
|
386
387
|
size: "default"
|
|
387
388
|
}
|
|
388
389
|
}
|
|
389
|
-
),
|
|
390
|
-
|
|
390
|
+
), ye = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
391
|
+
L,
|
|
391
392
|
{
|
|
392
|
-
className: r(
|
|
393
|
+
className: r(A({ variant: t, size: o }), e),
|
|
393
394
|
...n
|
|
394
395
|
}
|
|
395
396
|
);
|
|
396
|
-
|
|
397
|
-
const
|
|
398
|
-
|
|
399
|
-
const
|
|
397
|
+
ye.displayName = "Toggle";
|
|
398
|
+
const Ne = ({ className: e, ...t }) => /* @__PURE__ */ a(v.Root, { className: r("flex flex-col", e), ...t });
|
|
399
|
+
Ne.displayName = "TabsRoot";
|
|
400
|
+
const xe = u(
|
|
400
401
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
401
402
|
{
|
|
402
403
|
variants: {
|
|
@@ -409,15 +410,15 @@ const fe = m(
|
|
|
409
410
|
orientation: "horizontal"
|
|
410
411
|
}
|
|
411
412
|
}
|
|
412
|
-
),
|
|
413
|
+
), he = ({ className: e, orientation: t = "horizontal", ...o }) => /* @__PURE__ */ a(
|
|
413
414
|
v.List,
|
|
414
415
|
{
|
|
415
|
-
className: r(
|
|
416
|
+
className: r(xe({ orientation: t }), e),
|
|
416
417
|
...o
|
|
417
418
|
}
|
|
418
419
|
);
|
|
419
|
-
|
|
420
|
-
const
|
|
420
|
+
he.displayName = "TabsList";
|
|
421
|
+
const ve = u(
|
|
421
422
|
[
|
|
422
423
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
423
424
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
@@ -438,9 +439,9 @@ const Ne = m(
|
|
|
438
439
|
size: "default"
|
|
439
440
|
}
|
|
440
441
|
}
|
|
441
|
-
),
|
|
442
|
-
|
|
443
|
-
const
|
|
442
|
+
), we = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(v.Tab, { className: r(ve({ size: t }), e), ...o });
|
|
443
|
+
we.displayName = "TabsTab";
|
|
444
|
+
const Me = u(
|
|
444
445
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
445
446
|
{
|
|
446
447
|
variants: {
|
|
@@ -453,33 +454,33 @@ const he = m(
|
|
|
453
454
|
orientation: "horizontal"
|
|
454
455
|
}
|
|
455
456
|
}
|
|
456
|
-
),
|
|
457
|
+
), Ce = ({
|
|
457
458
|
className: e,
|
|
458
|
-
orientation:
|
|
459
|
+
orientation: t = "horizontal",
|
|
459
460
|
...o
|
|
460
|
-
}) => /* @__PURE__ */
|
|
461
|
+
}) => /* @__PURE__ */ a(
|
|
461
462
|
v.Indicator,
|
|
462
463
|
{
|
|
463
|
-
className: r(
|
|
464
|
+
className: r(Me({ orientation: t }), e),
|
|
464
465
|
...o
|
|
465
466
|
}
|
|
466
467
|
);
|
|
467
|
-
|
|
468
|
-
const
|
|
469
|
-
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
const
|
|
468
|
+
Ce.displayName = "TabsIndicator";
|
|
469
|
+
const ke = ({ className: e, ...t }) => /* @__PURE__ */ a(v.Panel, { className: r("mt-2 ring-offset-background", e), ...t });
|
|
470
|
+
ke.displayName = "TabsPanel";
|
|
471
|
+
const Pe = (e) => /* @__PURE__ */ a(d.Root, { ...e });
|
|
472
|
+
Pe.displayName = "DialogRoot";
|
|
473
|
+
const Te = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
473
474
|
d.Trigger,
|
|
474
475
|
{
|
|
475
|
-
className: r(i({ variant:
|
|
476
|
+
className: r(i({ variant: t, size: o }), e),
|
|
476
477
|
...n
|
|
477
478
|
}
|
|
478
479
|
);
|
|
479
|
-
|
|
480
|
-
const
|
|
481
|
-
|
|
482
|
-
const
|
|
480
|
+
Te.displayName = "DialogTrigger";
|
|
481
|
+
const Re = (e) => /* @__PURE__ */ a(d.Portal, { ...e });
|
|
482
|
+
Re.displayName = "DialogPortal";
|
|
483
|
+
const Ie = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
483
484
|
d.Backdrop,
|
|
484
485
|
{
|
|
485
486
|
className: r(
|
|
@@ -488,11 +489,11 @@ const Pe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
488
489
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
489
490
|
e
|
|
490
491
|
),
|
|
491
|
-
...
|
|
492
|
+
...t
|
|
492
493
|
}
|
|
493
494
|
);
|
|
494
|
-
|
|
495
|
-
const
|
|
495
|
+
Ie.displayName = "DialogBackdrop";
|
|
496
|
+
const De = u(
|
|
496
497
|
[
|
|
497
498
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
498
499
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -516,58 +517,58 @@ const Ie = m(
|
|
|
516
517
|
size: "default"
|
|
517
518
|
}
|
|
518
519
|
}
|
|
519
|
-
),
|
|
520
|
+
), Ae = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(
|
|
520
521
|
d.Popup,
|
|
521
522
|
{
|
|
522
|
-
className: r(
|
|
523
|
+
className: r(De({ size: t }), e),
|
|
523
524
|
...o
|
|
524
525
|
}
|
|
525
526
|
);
|
|
526
|
-
|
|
527
|
-
const
|
|
527
|
+
Ae.displayName = "DialogPopup";
|
|
528
|
+
const Se = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
528
529
|
d.Title,
|
|
529
530
|
{
|
|
530
531
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
531
|
-
...
|
|
532
|
+
...t
|
|
532
533
|
}
|
|
533
534
|
);
|
|
534
|
-
|
|
535
|
-
const
|
|
536
|
-
|
|
537
|
-
const
|
|
535
|
+
Se.displayName = "DialogTitle";
|
|
536
|
+
const ze = ({ className: e, ...t }) => /* @__PURE__ */ a(d.Description, { className: r("mt-2", e), ...t });
|
|
537
|
+
ze.displayName = "DialogDescription";
|
|
538
|
+
const Ve = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
538
539
|
d.Close,
|
|
539
540
|
{
|
|
540
|
-
className: r(i({ variant:
|
|
541
|
+
className: r(i({ variant: t ?? "outline", size: o }), e),
|
|
541
542
|
...n
|
|
542
543
|
}
|
|
543
544
|
);
|
|
544
|
-
|
|
545
|
-
const
|
|
546
|
-
|
|
547
|
-
const
|
|
545
|
+
Ve.displayName = "DialogClose";
|
|
546
|
+
const Le = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("flex flex-col space-y-1 mb-5", e), ...t });
|
|
547
|
+
Le.displayName = "DialogHeader";
|
|
548
|
+
const Ge = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
548
549
|
"div",
|
|
549
550
|
{
|
|
550
551
|
className: r(
|
|
551
552
|
"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
552
553
|
e
|
|
553
554
|
),
|
|
554
|
-
...
|
|
555
|
+
...t
|
|
555
556
|
}
|
|
556
557
|
);
|
|
557
|
-
|
|
558
|
-
const
|
|
559
|
-
|
|
560
|
-
const
|
|
558
|
+
Ge.displayName = "DialogFooter";
|
|
559
|
+
const _e = (e) => /* @__PURE__ */ a(d.Root, { ...e });
|
|
560
|
+
_e.displayName = "DrawerRoot";
|
|
561
|
+
const je = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
561
562
|
d.Trigger,
|
|
562
563
|
{
|
|
563
|
-
className: r(i({ variant:
|
|
564
|
+
className: r(i({ variant: t, size: o }), e),
|
|
564
565
|
...n
|
|
565
566
|
}
|
|
566
567
|
);
|
|
567
|
-
|
|
568
|
-
const
|
|
569
|
-
|
|
570
|
-
const
|
|
568
|
+
je.displayName = "DrawerTrigger";
|
|
569
|
+
const Be = (e) => /* @__PURE__ */ a(d.Portal, { ...e });
|
|
570
|
+
Be.displayName = "DrawerPortal";
|
|
571
|
+
const Fe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
571
572
|
d.Backdrop,
|
|
572
573
|
{
|
|
573
574
|
className: r(
|
|
@@ -576,11 +577,11 @@ const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
576
577
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
577
578
|
e
|
|
578
579
|
),
|
|
579
|
-
...
|
|
580
|
+
...t
|
|
580
581
|
}
|
|
581
582
|
);
|
|
582
|
-
|
|
583
|
-
const
|
|
583
|
+
Fe.displayName = "DrawerBackdrop";
|
|
584
|
+
const He = u(
|
|
584
585
|
[
|
|
585
586
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
586
587
|
"transition-transform duration-300 ease-out",
|
|
@@ -616,51 +617,51 @@ const _e = m(
|
|
|
616
617
|
side: "right"
|
|
617
618
|
}
|
|
618
619
|
}
|
|
619
|
-
),
|
|
620
|
+
), Oe = ({ className: e, side: t, ...o }) => /* @__PURE__ */ a(
|
|
620
621
|
d.Popup,
|
|
621
622
|
{
|
|
622
|
-
className: r(
|
|
623
|
+
className: r(He({ side: t }), e),
|
|
623
624
|
...o
|
|
624
625
|
}
|
|
625
626
|
);
|
|
626
|
-
|
|
627
|
-
const
|
|
627
|
+
Oe.displayName = "DrawerPopup";
|
|
628
|
+
const qe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
628
629
|
d.Title,
|
|
629
630
|
{
|
|
630
631
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
631
|
-
...
|
|
632
|
+
...t
|
|
632
633
|
}
|
|
633
634
|
);
|
|
634
|
-
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
const
|
|
635
|
+
qe.displayName = "DrawerTitle";
|
|
636
|
+
const $e = ({ className: e, ...t }) => /* @__PURE__ */ a(d.Description, { className: r("", e), ...t });
|
|
637
|
+
$e.displayName = "DrawerDescription";
|
|
638
|
+
const Ee = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
638
639
|
d.Close,
|
|
639
640
|
{
|
|
640
|
-
className: r(i({ variant:
|
|
641
|
+
className: r(i({ variant: t ?? "outline", size: o }), e),
|
|
641
642
|
...n
|
|
642
643
|
}
|
|
643
644
|
);
|
|
644
|
-
|
|
645
|
-
const
|
|
646
|
-
|
|
647
|
-
const
|
|
648
|
-
|
|
649
|
-
const
|
|
650
|
-
|
|
651
|
-
const
|
|
652
|
-
|
|
653
|
-
const
|
|
645
|
+
Ee.displayName = "DrawerClose";
|
|
646
|
+
const Ze = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("flex flex-col space-y-1.5", e), ...t });
|
|
647
|
+
Ze.displayName = "DrawerHeader";
|
|
648
|
+
const Je = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("py-5", e), ...t });
|
|
649
|
+
Je.displayName = "DrawerContent";
|
|
650
|
+
const Ke = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("", e), ...t });
|
|
651
|
+
Ke.displayName = "DrawerFooter";
|
|
652
|
+
const Qe = ({ className: e, ...t }) => /* @__PURE__ */ a(w.Root, { className: r("w-full", e), ...t });
|
|
653
|
+
Qe.displayName = "AccordionRoot";
|
|
654
|
+
const Ue = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
654
655
|
w.Item,
|
|
655
656
|
{
|
|
656
657
|
className: r("border-b border-border last:border-b-0", e),
|
|
657
|
-
...
|
|
658
|
+
...t
|
|
658
659
|
}
|
|
659
660
|
);
|
|
660
|
-
|
|
661
|
-
const
|
|
662
|
-
|
|
663
|
-
const
|
|
661
|
+
Ue.displayName = "AccordionItem";
|
|
662
|
+
const We = ({ className: e, ...t }) => /* @__PURE__ */ a(w.Header, { className: r("flex", e), ...t });
|
|
663
|
+
We.displayName = "AccordionHeader";
|
|
664
|
+
const Xe = ({ className: e, children: t, ...o }) => /* @__PURE__ */ a(
|
|
664
665
|
w.Trigger,
|
|
665
666
|
{
|
|
666
667
|
className: r(
|
|
@@ -668,91 +669,125 @@ const Qe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
|
668
669
|
e
|
|
669
670
|
),
|
|
670
671
|
...o,
|
|
671
|
-
children:
|
|
672
|
+
children: t
|
|
672
673
|
}
|
|
673
674
|
);
|
|
674
|
-
|
|
675
|
-
const
|
|
675
|
+
Xe.displayName = "AccordionTrigger";
|
|
676
|
+
const Ye = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
676
677
|
w.Panel,
|
|
677
678
|
{
|
|
678
679
|
className: r(
|
|
679
680
|
"overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
|
|
680
681
|
e
|
|
681
682
|
),
|
|
682
|
-
...
|
|
683
|
+
...t
|
|
683
684
|
}
|
|
684
685
|
);
|
|
685
|
-
|
|
686
|
-
const
|
|
687
|
-
const
|
|
688
|
-
return
|
|
689
|
-
if (
|
|
690
|
-
const
|
|
691
|
-
const
|
|
692
|
-
|
|
686
|
+
Ye.displayName = "AccordionPanel";
|
|
687
|
+
const et = ({ className: e, animated: t, value: o, ...n }) => {
|
|
688
|
+
const c = o ?? 0, [p, x] = b.useState(t ? 0 : c);
|
|
689
|
+
return b.useEffect(() => {
|
|
690
|
+
if (t) {
|
|
691
|
+
const P = requestAnimationFrame(() => {
|
|
692
|
+
const T = requestAnimationFrame(() => {
|
|
693
|
+
x(c ?? 0);
|
|
693
694
|
});
|
|
694
|
-
return () => cancelAnimationFrame(
|
|
695
|
+
return () => cancelAnimationFrame(T);
|
|
695
696
|
});
|
|
696
|
-
return () => cancelAnimationFrame(
|
|
697
|
+
return () => cancelAnimationFrame(P);
|
|
697
698
|
} else
|
|
698
|
-
|
|
699
|
-
}, [
|
|
699
|
+
x(c ?? 0);
|
|
700
|
+
}, [t, c]), /* @__PURE__ */ a(M.Root, { className: r("w-full", e), value: p, ...n });
|
|
700
701
|
};
|
|
701
|
-
|
|
702
|
-
const
|
|
703
|
-
|
|
702
|
+
et.displayName = "MeterRoot";
|
|
703
|
+
const tt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
704
|
+
M.Track,
|
|
704
705
|
{
|
|
705
706
|
className: r(
|
|
706
707
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
707
708
|
e
|
|
708
709
|
),
|
|
709
|
-
...
|
|
710
|
+
...t
|
|
710
711
|
}
|
|
711
712
|
);
|
|
712
|
-
|
|
713
|
-
const
|
|
714
|
-
|
|
713
|
+
tt.displayName = "MeterTrack";
|
|
714
|
+
const at = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
715
|
+
M.Indicator,
|
|
715
716
|
{
|
|
716
717
|
className: r(
|
|
717
718
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
718
719
|
e
|
|
719
720
|
),
|
|
720
|
-
...
|
|
721
|
+
...t
|
|
721
722
|
}
|
|
722
723
|
);
|
|
723
|
-
|
|
724
|
-
const
|
|
725
|
-
|
|
724
|
+
at.displayName = "MeterIndicator";
|
|
725
|
+
const rt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
726
|
+
M.Value,
|
|
726
727
|
{
|
|
727
728
|
className: r("text-sm font-medium text-foreground", e),
|
|
728
|
-
...
|
|
729
|
+
...t
|
|
729
730
|
}
|
|
730
731
|
);
|
|
731
|
-
|
|
732
|
-
const
|
|
733
|
-
|
|
732
|
+
rt.displayName = "MeterValue";
|
|
733
|
+
const ot = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
734
|
+
M.Label,
|
|
734
735
|
{
|
|
735
736
|
className: r("text-sm font-medium text-foreground", e),
|
|
736
|
-
...
|
|
737
|
+
...t
|
|
737
738
|
}
|
|
738
739
|
);
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
740
|
+
ot.displayName = "MeterLabel";
|
|
741
|
+
function k({
|
|
742
|
+
fillClassName: e = "fill-background",
|
|
743
|
+
strokeClassName: t = "fill-border",
|
|
744
|
+
className: o,
|
|
745
|
+
...n
|
|
746
|
+
}) {
|
|
747
|
+
return /* @__PURE__ */ R(
|
|
748
|
+
"svg",
|
|
749
|
+
{
|
|
750
|
+
width: "20",
|
|
751
|
+
height: "10",
|
|
752
|
+
viewBox: "0 0 20 10",
|
|
753
|
+
fill: "none",
|
|
754
|
+
className: r(o),
|
|
755
|
+
...n,
|
|
756
|
+
children: [
|
|
757
|
+
/* @__PURE__ */ a(
|
|
758
|
+
"path",
|
|
759
|
+
{
|
|
760
|
+
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
761
|
+
className: e
|
|
762
|
+
}
|
|
763
|
+
),
|
|
764
|
+
/* @__PURE__ */ a(
|
|
765
|
+
"path",
|
|
766
|
+
{
|
|
767
|
+
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
768
|
+
className: t
|
|
769
|
+
}
|
|
770
|
+
)
|
|
771
|
+
]
|
|
772
|
+
}
|
|
773
|
+
);
|
|
774
|
+
}
|
|
775
|
+
const st = (e) => /* @__PURE__ */ a(s.Root, { ...e });
|
|
776
|
+
st.displayName = "MenuRoot";
|
|
777
|
+
const nt = ({ className: e, ...t }) => /* @__PURE__ */ a(s.Trigger, { className: r(e), ...t });
|
|
778
|
+
nt.displayName = "MenuTrigger";
|
|
779
|
+
const it = (e) => /* @__PURE__ */ a(s.Portal, { ...e });
|
|
780
|
+
it.displayName = "MenuPortal";
|
|
781
|
+
const lt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
747
782
|
s.Positioner,
|
|
748
783
|
{
|
|
749
784
|
className: r("z-50 outline-none", e),
|
|
750
785
|
sideOffset: 8,
|
|
751
|
-
...
|
|
786
|
+
...t
|
|
752
787
|
}
|
|
753
788
|
);
|
|
754
|
-
|
|
755
|
-
const
|
|
789
|
+
lt.displayName = "MenuPositioner";
|
|
790
|
+
const dt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
756
791
|
s.Popup,
|
|
757
792
|
{
|
|
758
793
|
className: r(
|
|
@@ -760,41 +795,23 @@ const na = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
760
795
|
"min-w-[8rem]",
|
|
761
796
|
e
|
|
762
797
|
),
|
|
763
|
-
...
|
|
798
|
+
...t
|
|
764
799
|
}
|
|
765
800
|
);
|
|
766
|
-
|
|
767
|
-
const
|
|
801
|
+
dt.displayName = "MenuPopup";
|
|
802
|
+
const ct = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
768
803
|
s.Arrow,
|
|
769
804
|
{
|
|
770
805
|
className: r(
|
|
771
806
|
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
772
807
|
e
|
|
773
808
|
),
|
|
774
|
-
...
|
|
775
|
-
children: /* @__PURE__ */
|
|
809
|
+
...t,
|
|
810
|
+
children: /* @__PURE__ */ a(k, {})
|
|
776
811
|
}
|
|
777
812
|
);
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
/* @__PURE__ */ t(
|
|
781
|
-
"path",
|
|
782
|
-
{
|
|
783
|
-
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
784
|
-
className: "fill-background"
|
|
785
|
-
}
|
|
786
|
-
),
|
|
787
|
-
/* @__PURE__ */ t(
|
|
788
|
-
"path",
|
|
789
|
-
{
|
|
790
|
-
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
791
|
-
className: "fill-border"
|
|
792
|
-
}
|
|
793
|
-
)
|
|
794
|
-
] });
|
|
795
|
-
}
|
|
796
|
-
ia.displayName = "MenuArrow";
|
|
797
|
-
const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
813
|
+
ct.displayName = "MenuArrow";
|
|
814
|
+
const ut = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
798
815
|
s.Item,
|
|
799
816
|
{
|
|
800
817
|
className: r(
|
|
@@ -802,31 +819,31 @@ const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
802
819
|
"flex justify-start",
|
|
803
820
|
e
|
|
804
821
|
),
|
|
805
|
-
...
|
|
822
|
+
...t
|
|
806
823
|
}
|
|
807
824
|
);
|
|
808
|
-
|
|
809
|
-
const
|
|
825
|
+
ut.displayName = "MenuItem";
|
|
826
|
+
const mt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
810
827
|
s.Separator,
|
|
811
828
|
{
|
|
812
829
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
813
|
-
...
|
|
830
|
+
...t
|
|
814
831
|
}
|
|
815
832
|
);
|
|
816
|
-
|
|
817
|
-
const
|
|
818
|
-
|
|
819
|
-
const
|
|
833
|
+
mt.displayName = "MenuSeparator";
|
|
834
|
+
const pt = ({ className: e, ...t }) => /* @__PURE__ */ a(s.Group, { className: r(e), ...t });
|
|
835
|
+
pt.displayName = "MenuGroup";
|
|
836
|
+
const gt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
820
837
|
s.GroupLabel,
|
|
821
838
|
{
|
|
822
839
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
823
|
-
...
|
|
840
|
+
...t
|
|
824
841
|
}
|
|
825
842
|
);
|
|
826
|
-
|
|
827
|
-
const
|
|
828
|
-
|
|
829
|
-
const
|
|
843
|
+
gt.displayName = "MenuGroupLabel";
|
|
844
|
+
const bt = ({ className: e, ...t }) => /* @__PURE__ */ a(s.RadioGroup, { className: r(e), ...t });
|
|
845
|
+
bt.displayName = "MenuRadioGroup";
|
|
846
|
+
const ft = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
830
847
|
s.RadioItem,
|
|
831
848
|
{
|
|
832
849
|
className: r(
|
|
@@ -834,11 +851,11 @@ const ga = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
834
851
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
835
852
|
e
|
|
836
853
|
),
|
|
837
|
-
...
|
|
854
|
+
...t
|
|
838
855
|
}
|
|
839
856
|
);
|
|
840
|
-
|
|
841
|
-
const
|
|
857
|
+
ft.displayName = "MenuRadioItem";
|
|
858
|
+
const yt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
842
859
|
s.CheckboxItem,
|
|
843
860
|
{
|
|
844
861
|
className: r(
|
|
@@ -846,22 +863,22 @@ const ba = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
846
863
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
847
864
|
e
|
|
848
865
|
),
|
|
849
|
-
...
|
|
866
|
+
...t
|
|
850
867
|
}
|
|
851
868
|
);
|
|
852
|
-
|
|
853
|
-
const
|
|
854
|
-
|
|
855
|
-
const
|
|
869
|
+
yt.displayName = "MenuCheckboxItem";
|
|
870
|
+
const Nt = ({ className: e, ...t }) => /* @__PURE__ */ a(s.RadioItemIndicator, { className: r("col-start-1", e), ...t });
|
|
871
|
+
Nt.displayName = "MenuRadioItemIndicator";
|
|
872
|
+
const xt = ({
|
|
856
873
|
className: e,
|
|
857
|
-
...
|
|
858
|
-
}) => /* @__PURE__ */
|
|
859
|
-
|
|
860
|
-
const
|
|
861
|
-
|
|
862
|
-
const
|
|
863
|
-
|
|
864
|
-
const
|
|
874
|
+
...t
|
|
875
|
+
}) => /* @__PURE__ */ a(s.CheckboxItemIndicator, { className: r("col-start-1", e), ...t });
|
|
876
|
+
xt.displayName = "MenuCheckboxItemIndicator";
|
|
877
|
+
const ht = ({ className: e, ...t }) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
878
|
+
ht.displayName = "MenuCheckboxItemLabel";
|
|
879
|
+
const vt = ({ className: e, ...t }) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
880
|
+
vt.displayName = "MenuRadioItemLabel";
|
|
881
|
+
const wt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
865
882
|
s.SubmenuTrigger,
|
|
866
883
|
{
|
|
867
884
|
className: r(
|
|
@@ -869,20 +886,20 @@ const ha = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
869
886
|
"flex justify-between",
|
|
870
887
|
e
|
|
871
888
|
),
|
|
872
|
-
...
|
|
889
|
+
...t
|
|
873
890
|
}
|
|
874
891
|
);
|
|
875
|
-
|
|
876
|
-
const
|
|
877
|
-
|
|
878
|
-
const
|
|
879
|
-
|
|
880
|
-
const
|
|
881
|
-
|
|
882
|
-
const
|
|
883
|
-
|
|
884
|
-
const
|
|
885
|
-
|
|
892
|
+
wt.displayName = "MenuSubmenuTrigger";
|
|
893
|
+
const Mt = (e) => /* @__PURE__ */ a(s.SubmenuRoot, { ...e });
|
|
894
|
+
Mt.displayName = "MenuSubmenuRoot";
|
|
895
|
+
const Ct = (e) => /* @__PURE__ */ a(m.Root, { ...e });
|
|
896
|
+
Ct.displayName = "PopoverRoot";
|
|
897
|
+
const kt = ({ className: e, ...t }) => /* @__PURE__ */ a(m.Trigger, { className: r(e), ...t });
|
|
898
|
+
kt.displayName = "PopoverTrigger";
|
|
899
|
+
const Pt = (e) => /* @__PURE__ */ a(m.Portal, { ...e });
|
|
900
|
+
Pt.displayName = "PopoverPortal";
|
|
901
|
+
const Tt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
902
|
+
m.Backdrop,
|
|
886
903
|
{
|
|
887
904
|
className: r(
|
|
888
905
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -890,12 +907,12 @@ const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
890
907
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
891
908
|
e
|
|
892
909
|
),
|
|
893
|
-
...
|
|
910
|
+
...t
|
|
894
911
|
}
|
|
895
912
|
);
|
|
896
|
-
|
|
897
|
-
const
|
|
898
|
-
|
|
913
|
+
Tt.displayName = "PopoverBackdrop";
|
|
914
|
+
const Rt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
915
|
+
m.Positioner,
|
|
899
916
|
{
|
|
900
917
|
className: r(
|
|
901
918
|
"z-50 outline-none",
|
|
@@ -908,12 +925,12 @@ const Pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
908
925
|
e
|
|
909
926
|
),
|
|
910
927
|
sideOffset: 8,
|
|
911
|
-
...
|
|
928
|
+
...t
|
|
912
929
|
}
|
|
913
930
|
);
|
|
914
|
-
|
|
915
|
-
const
|
|
916
|
-
|
|
931
|
+
Rt.displayName = "PopoverPositioner";
|
|
932
|
+
const It = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
933
|
+
m.Popup,
|
|
917
934
|
{
|
|
918
935
|
className: r(
|
|
919
936
|
"rounded-md bg-background px-4 py-3 text-foreground shadow-sm border relative",
|
|
@@ -928,114 +945,96 @@ const Ia = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
928
945
|
"origin-(--transform-origin)",
|
|
929
946
|
e
|
|
930
947
|
),
|
|
931
|
-
...
|
|
948
|
+
...t
|
|
932
949
|
}
|
|
933
950
|
);
|
|
934
|
-
|
|
935
|
-
const
|
|
936
|
-
|
|
951
|
+
It.displayName = "PopoverPopup";
|
|
952
|
+
const Dt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
953
|
+
m.Arrow,
|
|
937
954
|
{
|
|
938
955
|
className: r(
|
|
939
|
-
"flex data-[side=bottom]:top-[-
|
|
956
|
+
"flex data-[side=bottom]:top-[-9px] data-[side=left]:right-[-14px] data-[side=left]:rotate-90 data-[side=right]:left-[-14px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-11px] data-[side=top]:rotate-180",
|
|
940
957
|
e
|
|
941
958
|
),
|
|
942
|
-
...
|
|
943
|
-
children: /* @__PURE__ */
|
|
944
|
-
}
|
|
945
|
-
);
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
className: "fill-border"
|
|
960
|
-
}
|
|
961
|
-
)
|
|
962
|
-
] });
|
|
963
|
-
}
|
|
964
|
-
Ra.displayName = "PopoverArrow";
|
|
965
|
-
const Da = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Title, { className: r("text-sm font-semibold", e), ...a });
|
|
966
|
-
Da.displayName = "PopoverTitle";
|
|
967
|
-
const Sa = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Description, { className: r("text-sm", e), ...a });
|
|
968
|
-
Sa.displayName = "PopoverDescription";
|
|
969
|
-
const Aa = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Close, { className: r(e), ...a });
|
|
970
|
-
Aa.displayName = "PopoverClose";
|
|
971
|
-
const za = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Viewport, { className: r(e), ...a });
|
|
972
|
-
za.displayName = "PopoverViewport";
|
|
973
|
-
const Va = ({ className: e, ...a }) => /* @__PURE__ */ t(M.Root, { className: r("w-full", e), ...a });
|
|
974
|
-
Va.displayName = "ProgressRoot";
|
|
975
|
-
const La = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
976
|
-
M.Track,
|
|
959
|
+
...t,
|
|
960
|
+
children: /* @__PURE__ */ a(k, {})
|
|
961
|
+
}
|
|
962
|
+
);
|
|
963
|
+
Dt.displayName = "PopoverArrow";
|
|
964
|
+
const At = ({ className: e, ...t }) => /* @__PURE__ */ a(m.Title, { className: r("text-sm font-semibold", e), ...t });
|
|
965
|
+
At.displayName = "PopoverTitle";
|
|
966
|
+
const St = ({ className: e, ...t }) => /* @__PURE__ */ a(m.Description, { className: r("text-sm", e), ...t });
|
|
967
|
+
St.displayName = "PopoverDescription";
|
|
968
|
+
const zt = ({ className: e, ...t }) => /* @__PURE__ */ a(m.Close, { className: r(e), ...t });
|
|
969
|
+
zt.displayName = "PopoverClose";
|
|
970
|
+
const Vt = ({ className: e, ...t }) => /* @__PURE__ */ a(m.Viewport, { className: r(e), ...t });
|
|
971
|
+
Vt.displayName = "PopoverViewport";
|
|
972
|
+
const Lt = ({ className: e, ...t }) => /* @__PURE__ */ a(C.Root, { className: r("w-full", e), ...t });
|
|
973
|
+
Lt.displayName = "ProgressRoot";
|
|
974
|
+
const Gt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
975
|
+
C.Track,
|
|
977
976
|
{
|
|
978
977
|
className: r(
|
|
979
978
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
980
979
|
e
|
|
981
980
|
),
|
|
982
|
-
...
|
|
981
|
+
...t
|
|
983
982
|
}
|
|
984
983
|
);
|
|
985
|
-
|
|
986
|
-
const
|
|
987
|
-
|
|
984
|
+
Gt.displayName = "ProgressTrack";
|
|
985
|
+
const _t = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
986
|
+
C.Indicator,
|
|
988
987
|
{
|
|
989
988
|
className: r(
|
|
990
989
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
991
990
|
e
|
|
992
991
|
),
|
|
993
|
-
...
|
|
992
|
+
...t
|
|
994
993
|
}
|
|
995
994
|
);
|
|
996
|
-
|
|
997
|
-
const
|
|
998
|
-
|
|
995
|
+
_t.displayName = "ProgressIndicator";
|
|
996
|
+
const jt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
997
|
+
C.Value,
|
|
999
998
|
{
|
|
1000
999
|
className: r("text-sm font-medium text-foreground", e),
|
|
1001
|
-
...
|
|
1000
|
+
...t
|
|
1002
1001
|
}
|
|
1003
1002
|
);
|
|
1004
|
-
|
|
1005
|
-
const
|
|
1006
|
-
|
|
1003
|
+
jt.displayName = "ProgressValue";
|
|
1004
|
+
const Bt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1005
|
+
C.Label,
|
|
1007
1006
|
{
|
|
1008
1007
|
className: r("text-sm font-medium text-foreground", e),
|
|
1009
|
-
...
|
|
1008
|
+
...t
|
|
1010
1009
|
}
|
|
1011
1010
|
);
|
|
1012
|
-
|
|
1013
|
-
const
|
|
1014
|
-
|
|
1011
|
+
Bt.displayName = "ProgressLabel";
|
|
1012
|
+
const Ft = ({ className: e, orientation: t, ...o }) => /* @__PURE__ */ a(
|
|
1013
|
+
q,
|
|
1015
1014
|
{
|
|
1016
|
-
orientation:
|
|
1015
|
+
orientation: t,
|
|
1017
1016
|
className: r(
|
|
1018
1017
|
"inline-flex",
|
|
1019
|
-
|
|
1018
|
+
t === "vertical" && "flex-col",
|
|
1020
1019
|
// Connected items: collapse borders, round only outer corners
|
|
1021
1020
|
"[&>button]:rounded-none [&>button:not(:first-of-type)]:-ml-px",
|
|
1022
1021
|
"[&>button:first-of-type]:rounded-l-md [&>button:last-of-type]:rounded-r-md",
|
|
1023
1022
|
// Vertical orientation adjustments
|
|
1024
|
-
|
|
1023
|
+
t === "vertical" && "[&>button:not(:first-of-type)]:ml-0 [&>button:not(:first-of-type)]:-mt-px [&>button:first-of-type]:rounded-bl-none [&>button:last-of-type]:rounded-r-none [&>button:first-of-type]:rounded-t-md [&>button:last-of-type]:rounded-b-md",
|
|
1025
1024
|
e
|
|
1026
1025
|
),
|
|
1027
1026
|
...o
|
|
1028
1027
|
}
|
|
1029
1028
|
);
|
|
1030
|
-
|
|
1031
|
-
const
|
|
1029
|
+
Ft.displayName = "ToggleGroupRoot";
|
|
1030
|
+
const Ht = ({
|
|
1032
1031
|
className: e,
|
|
1033
|
-
variant:
|
|
1032
|
+
variant: t,
|
|
1034
1033
|
size: o,
|
|
1035
1034
|
...n
|
|
1036
|
-
}) => /* @__PURE__ */
|
|
1037
|
-
|
|
1038
|
-
const
|
|
1035
|
+
}) => /* @__PURE__ */ a(L, { className: r(A({ variant: t, size: o }), e), ...n });
|
|
1036
|
+
Ht.displayName = "ToggleGroupItem";
|
|
1037
|
+
const Ot = u("rounded-lg bg-card text-card-foreground transition-colors", {
|
|
1039
1038
|
variants: {
|
|
1040
1039
|
variant: {
|
|
1041
1040
|
default: "border shadow-sm",
|
|
@@ -1046,18 +1045,18 @@ const Fa = m("rounded-lg bg-card text-card-foreground transition-colors", {
|
|
|
1046
1045
|
defaultVariants: {
|
|
1047
1046
|
variant: "default"
|
|
1048
1047
|
}
|
|
1049
|
-
}),
|
|
1050
|
-
({ className: e, variant:
|
|
1048
|
+
}), qt = b.forwardRef(
|
|
1049
|
+
({ className: e, variant: t, ...o }, n) => /* @__PURE__ */ a(
|
|
1051
1050
|
"article",
|
|
1052
1051
|
{
|
|
1053
1052
|
ref: n,
|
|
1054
|
-
className: r(
|
|
1053
|
+
className: r(Ot({ variant: t }), e),
|
|
1055
1054
|
...o
|
|
1056
1055
|
}
|
|
1057
1056
|
)
|
|
1058
1057
|
);
|
|
1059
|
-
|
|
1060
|
-
const $
|
|
1058
|
+
qt.displayName = "CardRoot";
|
|
1059
|
+
const $t = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1061
1060
|
"div",
|
|
1062
1061
|
{
|
|
1063
1062
|
className: r(
|
|
@@ -1065,44 +1064,44 @@ const $a = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1065
1064
|
"[&>img]:h-full [&>img]:w-full [&>img]:object-cover",
|
|
1066
1065
|
e
|
|
1067
1066
|
),
|
|
1068
|
-
...
|
|
1067
|
+
...t
|
|
1069
1068
|
}
|
|
1070
1069
|
);
|
|
1071
|
-
$
|
|
1072
|
-
const
|
|
1073
|
-
|
|
1074
|
-
const
|
|
1070
|
+
$t.displayName = "CardMedia";
|
|
1071
|
+
const Et = ({ className: e, ...t }) => /* @__PURE__ */ a("header", { className: r("flex flex-col gap-1 p-4", e), ...t });
|
|
1072
|
+
Et.displayName = "CardHeader";
|
|
1073
|
+
const Zt = ({ as: e = "h3", className: t, ...o }) => /* @__PURE__ */ a(
|
|
1075
1074
|
e,
|
|
1076
1075
|
{
|
|
1077
|
-
className: r("text-base font-semibold leading-tight",
|
|
1076
|
+
className: r("text-base font-semibold leading-tight", t),
|
|
1078
1077
|
...o
|
|
1079
1078
|
}
|
|
1080
1079
|
);
|
|
1081
|
-
|
|
1082
|
-
const
|
|
1083
|
-
|
|
1084
|
-
const
|
|
1085
|
-
|
|
1086
|
-
const
|
|
1087
|
-
|
|
1088
|
-
const
|
|
1089
|
-
|
|
1090
|
-
const
|
|
1091
|
-
|
|
1092
|
-
const
|
|
1093
|
-
|
|
1094
|
-
const
|
|
1095
|
-
|
|
1096
|
-
const
|
|
1080
|
+
Zt.displayName = "CardTitle";
|
|
1081
|
+
const Jt = ({ className: e, ...t }) => /* @__PURE__ */ a("p", { className: r("text-sm", e), ...t });
|
|
1082
|
+
Jt.displayName = "CardDescription";
|
|
1083
|
+
const Kt = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("p-4 pt-0", e), ...t });
|
|
1084
|
+
Kt.displayName = "CardContent";
|
|
1085
|
+
const Qt = ({ className: e, ...t }) => /* @__PURE__ */ a("section", { className: r("p-4", e), ...t });
|
|
1086
|
+
Qt.displayName = "CardSection";
|
|
1087
|
+
const Ut = ({ className: e, ...t }) => /* @__PURE__ */ a("footer", { className: r("flex items-center p-4", e), ...t });
|
|
1088
|
+
Ut.displayName = "CardFooter";
|
|
1089
|
+
const Wt = (e) => /* @__PURE__ */ a(l.Root, { ...e });
|
|
1090
|
+
Wt.displayName = "ContextMenuRoot";
|
|
1091
|
+
const Xt = ({ className: e, ...t }) => /* @__PURE__ */ a(l.Trigger, { className: r(e), ...t });
|
|
1092
|
+
Xt.displayName = "ContextMenuTrigger";
|
|
1093
|
+
const Yt = (e) => /* @__PURE__ */ a(l.Portal, { ...e });
|
|
1094
|
+
Yt.displayName = "ContextMenuPortal";
|
|
1095
|
+
const ea = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1097
1096
|
l.Positioner,
|
|
1098
1097
|
{
|
|
1099
1098
|
className: r("z-50 outline-none", e),
|
|
1100
1099
|
sideOffset: 3,
|
|
1101
|
-
...
|
|
1100
|
+
...t
|
|
1102
1101
|
}
|
|
1103
1102
|
);
|
|
1104
|
-
|
|
1105
|
-
const
|
|
1103
|
+
ea.displayName = "ContextMenuPositioner";
|
|
1104
|
+
const ta = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1106
1105
|
l.Popup,
|
|
1107
1106
|
{
|
|
1108
1107
|
className: r(
|
|
@@ -1110,41 +1109,23 @@ const et = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1110
1109
|
"min-w-[8rem]",
|
|
1111
1110
|
e
|
|
1112
1111
|
),
|
|
1113
|
-
...
|
|
1112
|
+
...t
|
|
1114
1113
|
}
|
|
1115
1114
|
);
|
|
1116
|
-
|
|
1117
|
-
const
|
|
1115
|
+
ta.displayName = "ContextMenuPopup";
|
|
1116
|
+
const aa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1118
1117
|
l.Arrow,
|
|
1119
1118
|
{
|
|
1120
1119
|
className: r(
|
|
1121
1120
|
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
1122
1121
|
e
|
|
1123
1122
|
),
|
|
1124
|
-
...
|
|
1125
|
-
children: /* @__PURE__ */
|
|
1123
|
+
...t,
|
|
1124
|
+
children: /* @__PURE__ */ a(k, {})
|
|
1126
1125
|
}
|
|
1127
1126
|
);
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
/* @__PURE__ */ t(
|
|
1131
|
-
"path",
|
|
1132
|
-
{
|
|
1133
|
-
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
1134
|
-
className: "fill-background"
|
|
1135
|
-
}
|
|
1136
|
-
),
|
|
1137
|
-
/* @__PURE__ */ t(
|
|
1138
|
-
"path",
|
|
1139
|
-
{
|
|
1140
|
-
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
1141
|
-
className: "fill-border"
|
|
1142
|
-
}
|
|
1143
|
-
)
|
|
1144
|
-
] });
|
|
1145
|
-
}
|
|
1146
|
-
at.displayName = "ContextMenuArrow";
|
|
1147
|
-
const rt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
1127
|
+
aa.displayName = "ContextMenuArrow";
|
|
1128
|
+
const ra = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1148
1129
|
l.Item,
|
|
1149
1130
|
{
|
|
1150
1131
|
className: r(
|
|
@@ -1152,31 +1133,31 @@ const rt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1152
1133
|
"flex justify-start",
|
|
1153
1134
|
e
|
|
1154
1135
|
),
|
|
1155
|
-
...
|
|
1136
|
+
...t
|
|
1156
1137
|
}
|
|
1157
1138
|
);
|
|
1158
|
-
|
|
1159
|
-
const
|
|
1139
|
+
ra.displayName = "ContextMenuItem";
|
|
1140
|
+
const oa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1160
1141
|
l.Separator,
|
|
1161
1142
|
{
|
|
1162
1143
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
1163
|
-
...
|
|
1144
|
+
...t
|
|
1164
1145
|
}
|
|
1165
1146
|
);
|
|
1166
|
-
|
|
1167
|
-
const
|
|
1168
|
-
|
|
1169
|
-
const
|
|
1147
|
+
oa.displayName = "ContextMenuSeparator";
|
|
1148
|
+
const sa = ({ className: e, ...t }) => /* @__PURE__ */ a(l.Group, { className: r(e), ...t });
|
|
1149
|
+
sa.displayName = "ContextMenuGroup";
|
|
1150
|
+
const na = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1170
1151
|
l.GroupLabel,
|
|
1171
1152
|
{
|
|
1172
1153
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
1173
|
-
...
|
|
1154
|
+
...t
|
|
1174
1155
|
}
|
|
1175
1156
|
);
|
|
1176
|
-
|
|
1177
|
-
const
|
|
1178
|
-
|
|
1179
|
-
const
|
|
1157
|
+
na.displayName = "ContextMenuGroupLabel";
|
|
1158
|
+
const ia = ({ className: e, ...t }) => /* @__PURE__ */ a(l.RadioGroup, { className: r(e), ...t });
|
|
1159
|
+
ia.displayName = "ContextMenuRadioGroup";
|
|
1160
|
+
const la = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1180
1161
|
l.RadioItem,
|
|
1181
1162
|
{
|
|
1182
1163
|
className: r(
|
|
@@ -1184,14 +1165,14 @@ const lt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1184
1165
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1185
1166
|
e
|
|
1186
1167
|
),
|
|
1187
|
-
...
|
|
1168
|
+
...t
|
|
1188
1169
|
}
|
|
1189
1170
|
);
|
|
1190
|
-
|
|
1191
|
-
const
|
|
1171
|
+
la.displayName = "ContextMenuRadioItem";
|
|
1172
|
+
const da = ({
|
|
1192
1173
|
className: e,
|
|
1193
|
-
...
|
|
1194
|
-
}) => /* @__PURE__ */
|
|
1174
|
+
...t
|
|
1175
|
+
}) => /* @__PURE__ */ a(
|
|
1195
1176
|
l.CheckboxItem,
|
|
1196
1177
|
{
|
|
1197
1178
|
className: r(
|
|
@@ -1199,46 +1180,46 @@ const dt = ({
|
|
|
1199
1180
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1200
1181
|
e
|
|
1201
1182
|
),
|
|
1202
|
-
...
|
|
1183
|
+
...t
|
|
1203
1184
|
}
|
|
1204
1185
|
);
|
|
1205
|
-
|
|
1206
|
-
const
|
|
1186
|
+
da.displayName = "ContextMenuCheckboxItem";
|
|
1187
|
+
const ca = ({
|
|
1207
1188
|
className: e,
|
|
1208
|
-
...
|
|
1209
|
-
}) => /* @__PURE__ */
|
|
1189
|
+
...t
|
|
1190
|
+
}) => /* @__PURE__ */ a(
|
|
1210
1191
|
l.RadioItemIndicator,
|
|
1211
1192
|
{
|
|
1212
1193
|
className: r("col-start-1", e),
|
|
1213
|
-
...
|
|
1194
|
+
...t
|
|
1214
1195
|
}
|
|
1215
1196
|
);
|
|
1216
|
-
|
|
1217
|
-
const
|
|
1197
|
+
ca.displayName = "ContextMenuRadioItemIndicator";
|
|
1198
|
+
const ua = ({
|
|
1218
1199
|
className: e,
|
|
1219
|
-
...
|
|
1220
|
-
}) => /* @__PURE__ */
|
|
1200
|
+
...t
|
|
1201
|
+
}) => /* @__PURE__ */ a(
|
|
1221
1202
|
l.CheckboxItemIndicator,
|
|
1222
1203
|
{
|
|
1223
1204
|
className: r("col-start-1", e),
|
|
1224
|
-
...
|
|
1205
|
+
...t
|
|
1225
1206
|
}
|
|
1226
1207
|
);
|
|
1227
|
-
|
|
1228
|
-
const
|
|
1208
|
+
ua.displayName = "ContextMenuCheckboxItemIndicator";
|
|
1209
|
+
const ma = ({
|
|
1229
1210
|
className: e,
|
|
1230
|
-
...
|
|
1231
|
-
}) => /* @__PURE__ */
|
|
1232
|
-
|
|
1233
|
-
const
|
|
1211
|
+
...t
|
|
1212
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1213
|
+
ma.displayName = "ContextMenuCheckboxItemLabel";
|
|
1214
|
+
const pa = ({
|
|
1234
1215
|
className: e,
|
|
1235
|
-
...
|
|
1236
|
-
}) => /* @__PURE__ */
|
|
1237
|
-
|
|
1238
|
-
const
|
|
1216
|
+
...t
|
|
1217
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1218
|
+
pa.displayName = "ContextMenuRadioItemLabel";
|
|
1219
|
+
const ga = ({
|
|
1239
1220
|
className: e,
|
|
1240
|
-
...
|
|
1241
|
-
}) => /* @__PURE__ */
|
|
1221
|
+
...t
|
|
1222
|
+
}) => /* @__PURE__ */ a(
|
|
1242
1223
|
l.SubmenuTrigger,
|
|
1243
1224
|
{
|
|
1244
1225
|
className: r(
|
|
@@ -1246,14 +1227,14 @@ const gt = ({
|
|
|
1246
1227
|
"flex justify-between",
|
|
1247
1228
|
e
|
|
1248
1229
|
),
|
|
1249
|
-
...
|
|
1230
|
+
...t
|
|
1250
1231
|
}
|
|
1251
1232
|
);
|
|
1252
|
-
|
|
1253
|
-
const
|
|
1254
|
-
|
|
1255
|
-
const
|
|
1256
|
-
|
|
1233
|
+
ga.displayName = "ContextMenuSubmenuTrigger";
|
|
1234
|
+
const ba = (e) => /* @__PURE__ */ a(l.SubmenuRoot, { ...e });
|
|
1235
|
+
ba.displayName = "ContextMenuSubmenuRoot";
|
|
1236
|
+
const fa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1237
|
+
$,
|
|
1257
1238
|
{
|
|
1258
1239
|
className: r(
|
|
1259
1240
|
"inline-flex",
|
|
@@ -1262,32 +1243,32 @@ const ft = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1262
1243
|
"[&>button:first-of-type]:rounded-l-md [&>button:last-of-type]:rounded-r-md",
|
|
1263
1244
|
e
|
|
1264
1245
|
),
|
|
1265
|
-
...
|
|
1246
|
+
...t
|
|
1266
1247
|
}
|
|
1267
1248
|
);
|
|
1268
|
-
|
|
1269
|
-
const
|
|
1270
|
-
|
|
1271
|
-
const
|
|
1249
|
+
fa.displayName = "MenubarRoot";
|
|
1250
|
+
const ya = (e) => /* @__PURE__ */ a(s.Root, { ...e });
|
|
1251
|
+
ya.displayName = "MenubarMenu";
|
|
1252
|
+
const Na = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
1272
1253
|
s.Trigger,
|
|
1273
1254
|
{
|
|
1274
|
-
className: r(
|
|
1255
|
+
className: r(A({ variant: t, size: o }), e),
|
|
1275
1256
|
...n
|
|
1276
1257
|
}
|
|
1277
1258
|
);
|
|
1278
|
-
|
|
1279
|
-
const
|
|
1280
|
-
|
|
1281
|
-
const
|
|
1259
|
+
Na.displayName = "MenubarTrigger";
|
|
1260
|
+
const xa = (e) => /* @__PURE__ */ a(s.Portal, { ...e });
|
|
1261
|
+
xa.displayName = "MenubarPortal";
|
|
1262
|
+
const ha = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1282
1263
|
s.Positioner,
|
|
1283
1264
|
{
|
|
1284
1265
|
className: r("z-50 outline-none", e),
|
|
1285
1266
|
sideOffset: 8,
|
|
1286
|
-
...
|
|
1267
|
+
...t
|
|
1287
1268
|
}
|
|
1288
1269
|
);
|
|
1289
|
-
|
|
1290
|
-
const
|
|
1270
|
+
ha.displayName = "MenubarPositioner";
|
|
1271
|
+
const va = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1291
1272
|
s.Popup,
|
|
1292
1273
|
{
|
|
1293
1274
|
className: r(
|
|
@@ -1295,41 +1276,23 @@ const vt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1295
1276
|
"min-w-[8rem]",
|
|
1296
1277
|
e
|
|
1297
1278
|
),
|
|
1298
|
-
...
|
|
1279
|
+
...t
|
|
1299
1280
|
}
|
|
1300
1281
|
);
|
|
1301
|
-
|
|
1302
|
-
const
|
|
1282
|
+
va.displayName = "MenubarPopup";
|
|
1283
|
+
const wa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1303
1284
|
s.Arrow,
|
|
1304
1285
|
{
|
|
1305
1286
|
className: r(
|
|
1306
1287
|
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
1307
1288
|
e
|
|
1308
1289
|
),
|
|
1309
|
-
...
|
|
1310
|
-
children: /* @__PURE__ */
|
|
1290
|
+
...t,
|
|
1291
|
+
children: /* @__PURE__ */ a(k, {})
|
|
1311
1292
|
}
|
|
1312
1293
|
);
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
/* @__PURE__ */ t(
|
|
1316
|
-
"path",
|
|
1317
|
-
{
|
|
1318
|
-
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
1319
|
-
className: "fill-background"
|
|
1320
|
-
}
|
|
1321
|
-
),
|
|
1322
|
-
/* @__PURE__ */ t(
|
|
1323
|
-
"path",
|
|
1324
|
-
{
|
|
1325
|
-
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
1326
|
-
className: "fill-border"
|
|
1327
|
-
}
|
|
1328
|
-
)
|
|
1329
|
-
] });
|
|
1330
|
-
}
|
|
1331
|
-
wt.displayName = "MenubarArrow";
|
|
1332
|
-
const Mt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
1294
|
+
wa.displayName = "MenubarArrow";
|
|
1295
|
+
const Ma = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1333
1296
|
s.Item,
|
|
1334
1297
|
{
|
|
1335
1298
|
className: r(
|
|
@@ -1337,25 +1300,25 @@ const Mt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1337
1300
|
"flex justify-start",
|
|
1338
1301
|
e
|
|
1339
1302
|
),
|
|
1340
|
-
...
|
|
1303
|
+
...t
|
|
1341
1304
|
}
|
|
1342
1305
|
);
|
|
1343
|
-
|
|
1344
|
-
const
|
|
1345
|
-
|
|
1346
|
-
const
|
|
1347
|
-
|
|
1348
|
-
const
|
|
1306
|
+
Ma.displayName = "MenubarItem";
|
|
1307
|
+
const Ca = ({ className: e, ...t }) => /* @__PURE__ */ a(s.Separator, { className: r("-mx-1 my-1 h-px bg-border", e), ...t });
|
|
1308
|
+
Ca.displayName = "MenubarSeparator";
|
|
1309
|
+
const ka = ({ className: e, ...t }) => /* @__PURE__ */ a(s.Group, { className: r(e), ...t });
|
|
1310
|
+
ka.displayName = "MenubarGroup";
|
|
1311
|
+
const Pa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1349
1312
|
s.GroupLabel,
|
|
1350
1313
|
{
|
|
1351
1314
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
1352
|
-
...
|
|
1315
|
+
...t
|
|
1353
1316
|
}
|
|
1354
1317
|
);
|
|
1355
|
-
|
|
1356
|
-
const
|
|
1357
|
-
|
|
1358
|
-
const
|
|
1318
|
+
Pa.displayName = "MenubarGroupLabel";
|
|
1319
|
+
const Ta = ({ className: e, ...t }) => /* @__PURE__ */ a(s.RadioGroup, { className: r(e), ...t });
|
|
1320
|
+
Ta.displayName = "MenubarRadioGroup";
|
|
1321
|
+
const Ra = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1359
1322
|
s.RadioItem,
|
|
1360
1323
|
{
|
|
1361
1324
|
className: r(
|
|
@@ -1363,11 +1326,11 @@ const Tt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1363
1326
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1364
1327
|
e
|
|
1365
1328
|
),
|
|
1366
|
-
...
|
|
1329
|
+
...t
|
|
1367
1330
|
}
|
|
1368
1331
|
);
|
|
1369
|
-
|
|
1370
|
-
const
|
|
1332
|
+
Ra.displayName = "MenubarRadioItem";
|
|
1333
|
+
const Ia = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1371
1334
|
s.CheckboxItem,
|
|
1372
1335
|
{
|
|
1373
1336
|
className: r(
|
|
@@ -1375,28 +1338,28 @@ const Dt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1375
1338
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1376
1339
|
e
|
|
1377
1340
|
),
|
|
1378
|
-
...
|
|
1341
|
+
...t
|
|
1379
1342
|
}
|
|
1380
1343
|
);
|
|
1381
|
-
|
|
1382
|
-
const
|
|
1344
|
+
Ia.displayName = "MenubarCheckboxItem";
|
|
1345
|
+
const Da = ({
|
|
1383
1346
|
className: e,
|
|
1384
|
-
...
|
|
1385
|
-
}) => /* @__PURE__ */
|
|
1386
|
-
|
|
1387
|
-
const
|
|
1347
|
+
...t
|
|
1348
|
+
}) => /* @__PURE__ */ a(s.RadioItemIndicator, { className: r("col-start-1", e), ...t });
|
|
1349
|
+
Da.displayName = "MenubarRadioItemIndicator";
|
|
1350
|
+
const Aa = ({
|
|
1388
1351
|
className: e,
|
|
1389
|
-
...
|
|
1390
|
-
}) => /* @__PURE__ */
|
|
1391
|
-
|
|
1392
|
-
const
|
|
1352
|
+
...t
|
|
1353
|
+
}) => /* @__PURE__ */ a(s.CheckboxItemIndicator, { className: r("col-start-1", e), ...t });
|
|
1354
|
+
Aa.displayName = "MenubarCheckboxItemIndicator";
|
|
1355
|
+
const Sa = ({
|
|
1393
1356
|
className: e,
|
|
1394
|
-
...
|
|
1395
|
-
}) => /* @__PURE__ */
|
|
1396
|
-
|
|
1397
|
-
const
|
|
1398
|
-
|
|
1399
|
-
const
|
|
1357
|
+
...t
|
|
1358
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1359
|
+
Sa.displayName = "MenubarCheckboxItemLabel";
|
|
1360
|
+
const za = ({ className: e, ...t }) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1361
|
+
za.displayName = "MenubarRadioItemLabel";
|
|
1362
|
+
const Va = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1400
1363
|
s.SubmenuTrigger,
|
|
1401
1364
|
{
|
|
1402
1365
|
className: r(
|
|
@@ -1404,48 +1367,48 @@ const Lt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1404
1367
|
"flex justify-between",
|
|
1405
1368
|
e
|
|
1406
1369
|
),
|
|
1407
|
-
...
|
|
1370
|
+
...t
|
|
1408
1371
|
}
|
|
1409
1372
|
);
|
|
1410
|
-
|
|
1411
|
-
const
|
|
1412
|
-
|
|
1413
|
-
const
|
|
1414
|
-
|
|
1415
|
-
const
|
|
1416
|
-
|
|
1373
|
+
Va.displayName = "MenubarSubmenuTrigger";
|
|
1374
|
+
const La = (e) => /* @__PURE__ */ a(s.SubmenuRoot, { ...e });
|
|
1375
|
+
La.displayName = "MenubarSubmenuRoot";
|
|
1376
|
+
const Ga = ({ className: e, ...t }) => /* @__PURE__ */ a(N.Root, { className: r("w-full", e), ...t });
|
|
1377
|
+
Ga.displayName = "SliderRoot";
|
|
1378
|
+
const _a = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1379
|
+
N.Value,
|
|
1417
1380
|
{
|
|
1418
1381
|
className: r("text-sm font-medium text-foreground", e),
|
|
1419
|
-
...
|
|
1382
|
+
...t
|
|
1420
1383
|
}
|
|
1421
1384
|
);
|
|
1422
|
-
|
|
1423
|
-
const
|
|
1424
|
-
|
|
1385
|
+
_a.displayName = "SliderValue";
|
|
1386
|
+
const ja = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1387
|
+
N.Control,
|
|
1425
1388
|
{
|
|
1426
1389
|
className: r("flex w-full touch-none items-center py-2 select-none", e),
|
|
1427
|
-
...
|
|
1390
|
+
...t
|
|
1428
1391
|
}
|
|
1429
1392
|
);
|
|
1430
|
-
|
|
1431
|
-
const
|
|
1432
|
-
|
|
1393
|
+
ja.displayName = "SliderControl";
|
|
1394
|
+
const Ba = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1395
|
+
N.Track,
|
|
1433
1396
|
{
|
|
1434
1397
|
className: r("relative h-1.5 w-full rounded-full bg-primary/20", e),
|
|
1435
|
-
...
|
|
1398
|
+
...t
|
|
1436
1399
|
}
|
|
1437
1400
|
);
|
|
1438
|
-
|
|
1439
|
-
const
|
|
1440
|
-
|
|
1401
|
+
Ba.displayName = "SliderTrack";
|
|
1402
|
+
const Fa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1403
|
+
N.Indicator,
|
|
1441
1404
|
{
|
|
1442
1405
|
className: r("rounded-full bg-primary", e),
|
|
1443
|
-
...
|
|
1406
|
+
...t
|
|
1444
1407
|
}
|
|
1445
1408
|
);
|
|
1446
|
-
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1409
|
+
Fa.displayName = "SliderIndicator";
|
|
1410
|
+
const Ha = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1411
|
+
N.Thumb,
|
|
1449
1412
|
{
|
|
1450
1413
|
className: r(
|
|
1451
1414
|
"size-4 rounded-full bg-background",
|
|
@@ -1457,163 +1420,247 @@ const Zt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1457
1420
|
"data-dragging:outline-2 data-dragging:outline-primary",
|
|
1458
1421
|
e
|
|
1459
1422
|
),
|
|
1460
|
-
...
|
|
1423
|
+
...t
|
|
1424
|
+
}
|
|
1425
|
+
);
|
|
1426
|
+
Ha.displayName = "SliderThumb";
|
|
1427
|
+
const Oa = u(
|
|
1428
|
+
[
|
|
1429
|
+
"rounded-md px-2 py-1 text-sm",
|
|
1430
|
+
"origin-(--transform-origin)",
|
|
1431
|
+
"transition-[transform,scale,opacity]",
|
|
1432
|
+
"data-starting-style:scale-90 data-starting-style:opacity-0",
|
|
1433
|
+
"data-ending-style:scale-90 data-ending-style:opacity-0",
|
|
1434
|
+
"data-instant:duration-0"
|
|
1435
|
+
],
|
|
1436
|
+
{
|
|
1437
|
+
variants: {
|
|
1438
|
+
variant: {
|
|
1439
|
+
default: "bg-foreground text-background",
|
|
1440
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
1441
|
+
outline: "bg-background text-foreground border border-border shadow-xs"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
defaultVariants: {
|
|
1445
|
+
variant: "default"
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
), qa = {
|
|
1449
|
+
default: {
|
|
1450
|
+
fill: "fill-foreground",
|
|
1451
|
+
stroke: "fill-foreground"
|
|
1452
|
+
},
|
|
1453
|
+
secondary: {
|
|
1454
|
+
fill: "fill-secondary",
|
|
1455
|
+
stroke: "fill-secondary"
|
|
1456
|
+
},
|
|
1457
|
+
outline: {
|
|
1458
|
+
fill: "fill-background",
|
|
1459
|
+
stroke: "fill-border"
|
|
1460
|
+
}
|
|
1461
|
+
}, S = b.createContext("default"), $a = (e) => /* @__PURE__ */ a(f.Provider, { ...e });
|
|
1462
|
+
$a.displayName = "TooltipProvider";
|
|
1463
|
+
const Ea = ({ variant: e = "default", ...t }) => /* @__PURE__ */ a(S.Provider, { value: e, children: /* @__PURE__ */ a(f.Root, { ...t }) });
|
|
1464
|
+
Ea.displayName = "TooltipRoot";
|
|
1465
|
+
const Za = ({ className: e, ...t }) => /* @__PURE__ */ a(f.Trigger, { className: r(e), delay: 200, ...t });
|
|
1466
|
+
Za.displayName = "TooltipTrigger";
|
|
1467
|
+
const Ja = (e) => /* @__PURE__ */ a(f.Portal, { ...e });
|
|
1468
|
+
Ja.displayName = "TooltipPortal";
|
|
1469
|
+
const Ka = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1470
|
+
f.Positioner,
|
|
1471
|
+
{
|
|
1472
|
+
className: r("z-50 outline-none", e),
|
|
1473
|
+
sideOffset: 8,
|
|
1474
|
+
...t
|
|
1461
1475
|
}
|
|
1462
1476
|
);
|
|
1463
|
-
|
|
1477
|
+
Ka.displayName = "TooltipPositioner";
|
|
1478
|
+
const Qa = ({ className: e, variant: t, ...o }) => {
|
|
1479
|
+
const n = b.useContext(S), c = t ?? n;
|
|
1480
|
+
return /* @__PURE__ */ a(
|
|
1481
|
+
f.Popup,
|
|
1482
|
+
{
|
|
1483
|
+
className: r(Oa({ variant: c }), e),
|
|
1484
|
+
...o
|
|
1485
|
+
}
|
|
1486
|
+
);
|
|
1487
|
+
};
|
|
1488
|
+
Qa.displayName = "TooltipPopup";
|
|
1489
|
+
const Ua = ({ className: e, variant: t, ...o }) => {
|
|
1490
|
+
const n = b.useContext(S), p = qa[t ?? n];
|
|
1491
|
+
return /* @__PURE__ */ a(
|
|
1492
|
+
f.Arrow,
|
|
1493
|
+
{
|
|
1494
|
+
className: r(
|
|
1495
|
+
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
1496
|
+
e
|
|
1497
|
+
),
|
|
1498
|
+
...o,
|
|
1499
|
+
children: /* @__PURE__ */ a(k, { fillClassName: p.fill, strokeClassName: p.stroke })
|
|
1500
|
+
}
|
|
1501
|
+
);
|
|
1502
|
+
};
|
|
1503
|
+
Ua.displayName = "TooltipArrow";
|
|
1464
1504
|
export {
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
$
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1505
|
+
We as AccordionHeader,
|
|
1506
|
+
Ue as AccordionItem,
|
|
1507
|
+
Ye as AccordionPanel,
|
|
1508
|
+
Qe as AccordionRoot,
|
|
1509
|
+
Xe as AccordionTrigger,
|
|
1510
|
+
Cr as AlertDialog,
|
|
1511
|
+
X as AlertDialogBackdrop,
|
|
1512
|
+
oe as AlertDialogClose,
|
|
1513
|
+
re as AlertDialogDescription,
|
|
1514
|
+
te as AlertDialogPopup,
|
|
1515
|
+
W as AlertDialogPortal,
|
|
1516
|
+
Q as AlertDialogRoot,
|
|
1517
|
+
ae as AlertDialogTitle,
|
|
1518
|
+
U as AlertDialogTrigger,
|
|
1519
|
+
Y as AlertDialogViewport,
|
|
1520
|
+
ne as AvatarFallback,
|
|
1521
|
+
se as AvatarImage,
|
|
1522
|
+
_ as AvatarRoot,
|
|
1523
|
+
ie as AvatarStack,
|
|
1524
|
+
E as Button,
|
|
1525
|
+
Kt as CardContent,
|
|
1526
|
+
Jt as CardDescription,
|
|
1527
|
+
Ut as CardFooter,
|
|
1528
|
+
Et as CardHeader,
|
|
1529
|
+
$t as CardMedia,
|
|
1530
|
+
qt as CardRoot,
|
|
1531
|
+
Qt as CardSection,
|
|
1532
|
+
Zt as CardTitle,
|
|
1533
|
+
K as CollapsiblePanel,
|
|
1534
|
+
Z as CollapsibleRoot,
|
|
1535
|
+
J as CollapsibleTrigger,
|
|
1536
|
+
aa as ContextMenuArrow,
|
|
1537
|
+
da as ContextMenuCheckboxItem,
|
|
1538
|
+
ua as ContextMenuCheckboxItemIndicator,
|
|
1539
|
+
ma as ContextMenuCheckboxItemLabel,
|
|
1540
|
+
sa as ContextMenuGroup,
|
|
1541
|
+
na as ContextMenuGroupLabel,
|
|
1542
|
+
ra as ContextMenuItem,
|
|
1543
|
+
ta as ContextMenuPopup,
|
|
1544
|
+
Yt as ContextMenuPortal,
|
|
1545
|
+
ea as ContextMenuPositioner,
|
|
1546
|
+
ia as ContextMenuRadioGroup,
|
|
1547
|
+
la as ContextMenuRadioItem,
|
|
1548
|
+
ca as ContextMenuRadioItemIndicator,
|
|
1549
|
+
pa as ContextMenuRadioItemLabel,
|
|
1550
|
+
Wt as ContextMenuRoot,
|
|
1551
|
+
oa as ContextMenuSeparator,
|
|
1552
|
+
ba as ContextMenuSubmenuRoot,
|
|
1553
|
+
ga as ContextMenuSubmenuTrigger,
|
|
1554
|
+
Xt as ContextMenuTrigger,
|
|
1555
|
+
Ie as DialogBackdrop,
|
|
1556
|
+
Ve as DialogClose,
|
|
1557
|
+
ze as DialogDescription,
|
|
1558
|
+
Ge as DialogFooter,
|
|
1559
|
+
Le as DialogHeader,
|
|
1560
|
+
Ae as DialogPopup,
|
|
1561
|
+
Re as DialogPortal,
|
|
1562
|
+
Pe as DialogRoot,
|
|
1563
|
+
Se as DialogTitle,
|
|
1564
|
+
Te as DialogTrigger,
|
|
1565
|
+
Fe as DrawerBackdrop,
|
|
1566
|
+
Ee as DrawerClose,
|
|
1567
|
+
Je as DrawerContent,
|
|
1568
|
+
$e as DrawerDescription,
|
|
1569
|
+
Ke as DrawerFooter,
|
|
1570
|
+
Ze as DrawerHeader,
|
|
1571
|
+
Oe as DrawerPopup,
|
|
1572
|
+
Be as DrawerPortal,
|
|
1573
|
+
_e as DrawerRoot,
|
|
1574
|
+
qe as DrawerTitle,
|
|
1575
|
+
je as DrawerTrigger,
|
|
1576
|
+
ct as MenuArrow,
|
|
1577
|
+
yt as MenuCheckboxItem,
|
|
1578
|
+
xt as MenuCheckboxItemIndicator,
|
|
1579
|
+
ht as MenuCheckboxItemLabel,
|
|
1580
|
+
pt as MenuGroup,
|
|
1581
|
+
gt as MenuGroupLabel,
|
|
1582
|
+
ut as MenuItem,
|
|
1583
|
+
dt as MenuPopup,
|
|
1584
|
+
it as MenuPortal,
|
|
1585
|
+
lt as MenuPositioner,
|
|
1586
|
+
bt as MenuRadioGroup,
|
|
1587
|
+
ft as MenuRadioItem,
|
|
1588
|
+
Nt as MenuRadioItemIndicator,
|
|
1589
|
+
vt as MenuRadioItemLabel,
|
|
1590
|
+
st as MenuRoot,
|
|
1591
|
+
mt as MenuSeparator,
|
|
1592
|
+
Mt as MenuSubmenuRoot,
|
|
1593
|
+
wt as MenuSubmenuTrigger,
|
|
1594
|
+
nt as MenuTrigger,
|
|
1595
|
+
wa as MenubarArrow,
|
|
1596
|
+
Ia as MenubarCheckboxItem,
|
|
1597
|
+
Aa as MenubarCheckboxItemIndicator,
|
|
1598
|
+
Sa as MenubarCheckboxItemLabel,
|
|
1599
|
+
ka as MenubarGroup,
|
|
1600
|
+
Pa as MenubarGroupLabel,
|
|
1601
|
+
Ma as MenubarItem,
|
|
1602
|
+
ya as MenubarMenu,
|
|
1603
|
+
va as MenubarPopup,
|
|
1604
|
+
xa as MenubarPortal,
|
|
1605
|
+
ha as MenubarPositioner,
|
|
1606
|
+
Ta as MenubarRadioGroup,
|
|
1607
|
+
Ra as MenubarRadioItem,
|
|
1608
|
+
Da as MenubarRadioItemIndicator,
|
|
1609
|
+
za as MenubarRadioItemLabel,
|
|
1610
|
+
fa as MenubarRoot,
|
|
1611
|
+
Ca as MenubarSeparator,
|
|
1612
|
+
La as MenubarSubmenuRoot,
|
|
1613
|
+
Va as MenubarSubmenuTrigger,
|
|
1614
|
+
Na as MenubarTrigger,
|
|
1615
|
+
at as MeterIndicator,
|
|
1616
|
+
ot as MeterLabel,
|
|
1617
|
+
et as MeterRoot,
|
|
1618
|
+
tt as MeterTrack,
|
|
1619
|
+
rt as MeterValue,
|
|
1620
|
+
Dt as PopoverArrow,
|
|
1621
|
+
Tt as PopoverBackdrop,
|
|
1622
|
+
zt as PopoverClose,
|
|
1623
|
+
St as PopoverDescription,
|
|
1624
|
+
It as PopoverPopup,
|
|
1625
|
+
Pt as PopoverPortal,
|
|
1626
|
+
Rt as PopoverPositioner,
|
|
1627
|
+
Ct as PopoverRoot,
|
|
1628
|
+
At as PopoverTitle,
|
|
1629
|
+
kt as PopoverTrigger,
|
|
1630
|
+
Vt as PopoverViewport,
|
|
1631
|
+
_t as ProgressIndicator,
|
|
1632
|
+
Bt as ProgressLabel,
|
|
1633
|
+
Lt as ProgressRoot,
|
|
1634
|
+
Gt as ProgressTrack,
|
|
1635
|
+
jt as ProgressValue,
|
|
1636
|
+
ce as ScrollAreaContent,
|
|
1637
|
+
pe as ScrollAreaCorner,
|
|
1638
|
+
le as ScrollAreaRoot,
|
|
1639
|
+
ue as ScrollAreaScrollbar,
|
|
1640
|
+
me as ScrollAreaThumb,
|
|
1641
|
+
de as ScrollAreaViewport,
|
|
1642
|
+
ge as Separator,
|
|
1643
|
+
ja as SliderControl,
|
|
1644
|
+
Fa as SliderIndicator,
|
|
1645
|
+
Ga as SliderRoot,
|
|
1646
|
+
Ha as SliderThumb,
|
|
1647
|
+
Ba as SliderTrack,
|
|
1648
|
+
_a as SliderValue,
|
|
1649
|
+
be as SwitchRoot,
|
|
1650
|
+
fe as SwitchThumb,
|
|
1651
|
+
Ce as TabsIndicator,
|
|
1652
|
+
he as TabsList,
|
|
1653
|
+
ke as TabsPanel,
|
|
1654
|
+
Ne as TabsRoot,
|
|
1655
|
+
we as TabsTab,
|
|
1656
|
+
ye as Toggle,
|
|
1657
|
+
Ht as ToggleGroupItem,
|
|
1658
|
+
Ft as ToggleGroupRoot,
|
|
1659
|
+
Ua as TooltipArrow,
|
|
1660
|
+
Qa as TooltipPopup,
|
|
1661
|
+
Ja as TooltipPortal,
|
|
1662
|
+
Ka as TooltipPositioner,
|
|
1663
|
+
$a as TooltipProvider,
|
|
1664
|
+
Ea as TooltipRoot,
|
|
1665
|
+
Za as TooltipTrigger
|
|
1619
1666
|
};
|