@lglab/compose-ui 0.18.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/slider.d.ts +35 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/components/tooltip.d.ts +47 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +829 -724
- 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,29 +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
|
|
7
|
-
import { Collapsible as
|
|
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
|
|
16
|
-
import { Tabs 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
|
+
import { Collapsible as I } from "@base-ui/react/collapsible";
|
|
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
|
+
import { Tabs as v } from "@base-ui/react/tabs";
|
|
17
17
|
import { Dialog as d } from "@base-ui/react/dialog";
|
|
18
|
-
import { Accordion as
|
|
19
|
-
import { Meter as
|
|
18
|
+
import { Accordion as w } from "@base-ui/react/accordion";
|
|
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
|
|
21
|
+
import { Popover as m } from "@base-ui/react/popover";
|
|
22
22
|
import { Progress as C } from "@base-ui/react/progress";
|
|
23
|
-
import { ToggleGroup as
|
|
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
|
-
|
|
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(
|
|
27
29
|
[
|
|
28
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"
|
|
29
31
|
],
|
|
@@ -53,37 +55,37 @@ const i = m(
|
|
|
53
55
|
}
|
|
54
56
|
);
|
|
55
57
|
function r(...e) {
|
|
56
|
-
return
|
|
58
|
+
return H(F(e));
|
|
57
59
|
}
|
|
58
|
-
const
|
|
60
|
+
const E = ({
|
|
59
61
|
className: e,
|
|
60
|
-
variant:
|
|
62
|
+
variant: t,
|
|
61
63
|
size: o,
|
|
62
64
|
disabled: n,
|
|
63
|
-
children:
|
|
64
|
-
...
|
|
65
|
-
}) => /* @__PURE__ */
|
|
66
|
-
|
|
65
|
+
children: c,
|
|
66
|
+
...p
|
|
67
|
+
}) => /* @__PURE__ */ a(
|
|
68
|
+
B,
|
|
67
69
|
{
|
|
68
|
-
className: r(i({ variant:
|
|
70
|
+
className: r(i({ variant: t, size: o }), e),
|
|
69
71
|
disabled: n,
|
|
70
|
-
...
|
|
71
|
-
children:
|
|
72
|
+
...p,
|
|
73
|
+
children: c
|
|
72
74
|
}
|
|
73
75
|
);
|
|
74
|
-
|
|
75
|
-
const Z = ({ className: e, ...
|
|
76
|
+
E.displayName = "Button";
|
|
77
|
+
const Z = ({ className: e, ...t }) => /* @__PURE__ */ a(I.Root, { className: r("w-full", e), ...t });
|
|
76
78
|
Z.displayName = "CollapsibleRoot";
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
+
const J = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
80
|
+
I.Trigger,
|
|
79
81
|
{
|
|
80
82
|
className: r("flex items-center justify-between font-medium", e),
|
|
81
|
-
...
|
|
83
|
+
...t
|
|
82
84
|
}
|
|
83
85
|
);
|
|
84
|
-
|
|
85
|
-
const
|
|
86
|
-
|
|
86
|
+
J.displayName = "CollapsibleTrigger";
|
|
87
|
+
const K = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
88
|
+
I.Panel,
|
|
87
89
|
{
|
|
88
90
|
className: r(
|
|
89
91
|
'[&[hidden]:not([hidden="until-found"])]:hidden h-(--collapsible-panel-height)',
|
|
@@ -92,29 +94,29 @@ const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
92
94
|
"data-starting-style:h-0",
|
|
93
95
|
e
|
|
94
96
|
),
|
|
95
|
-
...
|
|
97
|
+
...t
|
|
96
98
|
}
|
|
97
99
|
);
|
|
98
|
-
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
const
|
|
100
|
+
K.displayName = "CollapsiblePanel";
|
|
101
|
+
const Q = (e) => /* @__PURE__ */ a(g.Root, { ...e });
|
|
102
|
+
Q.displayName = "AlertDialogRoot";
|
|
103
|
+
const U = ({
|
|
102
104
|
className: e,
|
|
103
|
-
variant:
|
|
105
|
+
variant: t,
|
|
104
106
|
size: o,
|
|
105
107
|
...n
|
|
106
|
-
}) => /* @__PURE__ */
|
|
107
|
-
|
|
108
|
+
}) => /* @__PURE__ */ a(
|
|
109
|
+
g.Trigger,
|
|
108
110
|
{
|
|
109
|
-
className: r(i({ variant:
|
|
111
|
+
className: r(i({ variant: t, size: o }), e),
|
|
110
112
|
...n
|
|
111
113
|
}
|
|
112
114
|
);
|
|
113
|
-
|
|
114
|
-
const
|
|
115
|
-
|
|
116
|
-
const
|
|
117
|
-
|
|
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,
|
|
118
120
|
{
|
|
119
121
|
className: r(
|
|
120
122
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -122,19 +124,19 @@ const K = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
122
124
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
123
125
|
e
|
|
124
126
|
),
|
|
125
|
-
...
|
|
127
|
+
...t
|
|
126
128
|
}
|
|
127
129
|
);
|
|
128
|
-
|
|
129
|
-
const
|
|
130
|
-
|
|
130
|
+
X.displayName = "AlertDialogBackdrop";
|
|
131
|
+
const Y = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
132
|
+
g.Viewport,
|
|
131
133
|
{
|
|
132
134
|
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
|
|
133
|
-
...
|
|
135
|
+
...t
|
|
134
136
|
}
|
|
135
137
|
);
|
|
136
|
-
|
|
137
|
-
const
|
|
138
|
+
Y.displayName = "AlertDialogViewport";
|
|
139
|
+
const ee = u(
|
|
138
140
|
[
|
|
139
141
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
140
142
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -158,38 +160,38 @@ const U = m(
|
|
|
158
160
|
size: "default"
|
|
159
161
|
}
|
|
160
162
|
}
|
|
161
|
-
),
|
|
162
|
-
|
|
163
|
+
), te = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(
|
|
164
|
+
g.Popup,
|
|
163
165
|
{
|
|
164
|
-
className: r(
|
|
166
|
+
className: r(ee({ size: t }), e),
|
|
165
167
|
...o
|
|
166
168
|
}
|
|
167
169
|
);
|
|
168
|
-
|
|
169
|
-
const
|
|
170
|
-
|
|
170
|
+
te.displayName = "AlertDialogPopup";
|
|
171
|
+
const ae = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
172
|
+
g.Title,
|
|
171
173
|
{
|
|
172
174
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
173
|
-
...
|
|
175
|
+
...t
|
|
174
176
|
}
|
|
175
177
|
);
|
|
176
|
-
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
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 = ({
|
|
180
182
|
className: e,
|
|
181
|
-
variant:
|
|
183
|
+
variant: t,
|
|
182
184
|
size: o,
|
|
183
185
|
...n
|
|
184
|
-
}) => /* @__PURE__ */
|
|
185
|
-
|
|
186
|
+
}) => /* @__PURE__ */ a(
|
|
187
|
+
g.Close,
|
|
186
188
|
{
|
|
187
|
-
className: r(i({ variant:
|
|
189
|
+
className: r(i({ variant: t ?? "outline", size: o }), e),
|
|
188
190
|
...n
|
|
189
191
|
}
|
|
190
192
|
);
|
|
191
|
-
|
|
192
|
-
const
|
|
193
|
+
oe.displayName = "AlertDialogClose";
|
|
194
|
+
const G = u(
|
|
193
195
|
[
|
|
194
196
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
195
197
|
"bg-muted text-foreground",
|
|
@@ -207,121 +209,121 @@ const z = m(
|
|
|
207
209
|
size: "default"
|
|
208
210
|
}
|
|
209
211
|
}
|
|
210
|
-
),
|
|
211
|
-
|
|
212
|
-
const
|
|
213
|
-
|
|
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,
|
|
214
216
|
{
|
|
215
217
|
className: r("aspect-square h-full w-full object-cover", e),
|
|
216
|
-
...
|
|
218
|
+
...t
|
|
217
219
|
}
|
|
218
220
|
);
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
|
|
221
|
+
se.displayName = "AvatarImage";
|
|
222
|
+
const ne = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
223
|
+
D.Fallback,
|
|
222
224
|
{
|
|
223
225
|
className: r(
|
|
224
226
|
"flex h-full w-full items-center justify-center font-medium",
|
|
225
227
|
e
|
|
226
228
|
),
|
|
227
|
-
...
|
|
229
|
+
...t
|
|
228
230
|
}
|
|
229
231
|
);
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
+
ne.displayName = "AvatarFallback";
|
|
233
|
+
const ie = ({
|
|
232
234
|
"aria-label": e,
|
|
233
|
-
maxVisible:
|
|
235
|
+
maxVisible: t,
|
|
234
236
|
className: o,
|
|
235
237
|
children: n
|
|
236
238
|
}) => {
|
|
237
|
-
const
|
|
238
|
-
const
|
|
239
|
-
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";
|
|
240
242
|
})();
|
|
241
|
-
return /* @__PURE__ */
|
|
242
|
-
|
|
243
|
-
|
|
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(
|
|
244
246
|
"span",
|
|
245
247
|
{
|
|
246
248
|
className: r(
|
|
247
249
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
248
250
|
"bg-muted text-foreground border-2 border-background",
|
|
249
251
|
"font-medium",
|
|
250
|
-
|
|
252
|
+
G({ size: j })
|
|
251
253
|
),
|
|
252
254
|
children: [
|
|
253
255
|
"+",
|
|
254
|
-
|
|
256
|
+
P
|
|
255
257
|
]
|
|
256
258
|
}
|
|
257
259
|
) })
|
|
258
260
|
] });
|
|
259
261
|
};
|
|
260
|
-
|
|
261
|
-
const
|
|
262
|
-
|
|
263
|
-
const
|
|
264
|
-
|
|
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,
|
|
265
267
|
{
|
|
266
268
|
className: r("h-full overscroll-contain pr-3", e),
|
|
267
|
-
...
|
|
269
|
+
...t
|
|
268
270
|
}
|
|
269
271
|
);
|
|
270
|
-
|
|
271
|
-
const
|
|
272
|
-
|
|
273
|
-
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 = ({
|
|
274
276
|
className: e,
|
|
275
|
-
orientation:
|
|
277
|
+
orientation: t = "vertical",
|
|
276
278
|
...o
|
|
277
|
-
}) => /* @__PURE__ */
|
|
278
|
-
|
|
279
|
+
}) => /* @__PURE__ */ a(
|
|
280
|
+
y.Scrollbar,
|
|
279
281
|
{
|
|
280
282
|
className: r(
|
|
281
283
|
"flex touch-none select-none p-0.5 transition-colors duration-200 ease-out",
|
|
282
284
|
"data-hovering:bg-muted/50",
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
t === "vertical" && "h-full w-2.5",
|
|
286
|
+
t === "horizontal" && "h-2.5 w-full flex-col",
|
|
285
287
|
e
|
|
286
288
|
),
|
|
287
|
-
orientation:
|
|
289
|
+
orientation: t,
|
|
288
290
|
...o
|
|
289
291
|
}
|
|
290
292
|
);
|
|
291
|
-
|
|
292
|
-
const
|
|
293
|
-
|
|
293
|
+
ue.displayName = "ScrollAreaScrollbar";
|
|
294
|
+
const me = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
295
|
+
y.Thumb,
|
|
294
296
|
{
|
|
295
297
|
className: r(
|
|
296
298
|
"relative flex-1 rounded-full bg-border transition-colors",
|
|
297
299
|
"hover:bg-muted-foreground/50",
|
|
298
300
|
e
|
|
299
301
|
),
|
|
300
|
-
...
|
|
302
|
+
...t
|
|
301
303
|
}
|
|
302
304
|
);
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
-
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 = ({
|
|
307
309
|
className: e,
|
|
308
|
-
orientation:
|
|
310
|
+
orientation: t = "horizontal",
|
|
309
311
|
...o
|
|
310
|
-
}) => /* @__PURE__ */
|
|
311
|
-
|
|
312
|
+
}) => /* @__PURE__ */ a(
|
|
313
|
+
O,
|
|
312
314
|
{
|
|
313
|
-
orientation:
|
|
315
|
+
orientation: t,
|
|
314
316
|
className: r(
|
|
315
317
|
"shrink-0 bg-border",
|
|
316
|
-
|
|
318
|
+
t === "horizontal" ? "h-px w-full" : "h-full w-px",
|
|
317
319
|
e
|
|
318
320
|
),
|
|
319
321
|
...o
|
|
320
322
|
}
|
|
321
323
|
);
|
|
322
|
-
|
|
323
|
-
const
|
|
324
|
-
|
|
324
|
+
ge.displayName = "Separator";
|
|
325
|
+
const be = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
326
|
+
V.Root,
|
|
325
327
|
{
|
|
326
328
|
className: r(
|
|
327
329
|
"relative flex h-6 w-10 rounded-full",
|
|
@@ -333,12 +335,12 @@ const ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
333
335
|
"dark:from-primary/50 dark:shadow-none",
|
|
334
336
|
e
|
|
335
337
|
),
|
|
336
|
-
...
|
|
338
|
+
...t
|
|
337
339
|
}
|
|
338
340
|
);
|
|
339
|
-
|
|
340
|
-
const
|
|
341
|
-
|
|
341
|
+
be.displayName = "SwitchRoot";
|
|
342
|
+
const fe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
343
|
+
V.Thumb,
|
|
342
344
|
{
|
|
343
345
|
className: r(
|
|
344
346
|
"aspect-square h-full rounded-full bg-background",
|
|
@@ -349,11 +351,11 @@ const me = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
349
351
|
"data-disabled:opacity-100",
|
|
350
352
|
e
|
|
351
353
|
),
|
|
352
|
-
...
|
|
354
|
+
...t
|
|
353
355
|
}
|
|
354
356
|
);
|
|
355
|
-
|
|
356
|
-
const
|
|
357
|
+
fe.displayName = "SwitchThumb";
|
|
358
|
+
const A = u(
|
|
357
359
|
[
|
|
358
360
|
"inline-flex items-center justify-center gap-2 rounded-md",
|
|
359
361
|
"text-sm font-medium",
|
|
@@ -385,17 +387,17 @@ const R = m(
|
|
|
385
387
|
size: "default"
|
|
386
388
|
}
|
|
387
389
|
}
|
|
388
|
-
),
|
|
389
|
-
|
|
390
|
+
), ye = ({ className: e, variant: t, size: o, ...n }) => /* @__PURE__ */ a(
|
|
391
|
+
L,
|
|
390
392
|
{
|
|
391
|
-
className: r(
|
|
393
|
+
className: r(A({ variant: t, size: o }), e),
|
|
392
394
|
...n
|
|
393
395
|
}
|
|
394
396
|
);
|
|
395
|
-
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
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(
|
|
399
401
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
400
402
|
{
|
|
401
403
|
variants: {
|
|
@@ -408,15 +410,15 @@ const be = m(
|
|
|
408
410
|
orientation: "horizontal"
|
|
409
411
|
}
|
|
410
412
|
}
|
|
411
|
-
),
|
|
412
|
-
|
|
413
|
+
), he = ({ className: e, orientation: t = "horizontal", ...o }) => /* @__PURE__ */ a(
|
|
414
|
+
v.List,
|
|
413
415
|
{
|
|
414
|
-
className: r(
|
|
416
|
+
className: r(xe({ orientation: t }), e),
|
|
415
417
|
...o
|
|
416
418
|
}
|
|
417
419
|
);
|
|
418
|
-
|
|
419
|
-
const
|
|
420
|
+
he.displayName = "TabsList";
|
|
421
|
+
const ve = u(
|
|
420
422
|
[
|
|
421
423
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
422
424
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
@@ -437,9 +439,9 @@ const ye = m(
|
|
|
437
439
|
size: "default"
|
|
438
440
|
}
|
|
439
441
|
}
|
|
440
|
-
),
|
|
441
|
-
|
|
442
|
-
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(
|
|
443
445
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
444
446
|
{
|
|
445
447
|
variants: {
|
|
@@ -452,33 +454,33 @@ const xe = m(
|
|
|
452
454
|
orientation: "horizontal"
|
|
453
455
|
}
|
|
454
456
|
}
|
|
455
|
-
),
|
|
457
|
+
), Ce = ({
|
|
456
458
|
className: e,
|
|
457
|
-
orientation:
|
|
459
|
+
orientation: t = "horizontal",
|
|
458
460
|
...o
|
|
459
|
-
}) => /* @__PURE__ */
|
|
460
|
-
|
|
461
|
+
}) => /* @__PURE__ */ a(
|
|
462
|
+
v.Indicator,
|
|
461
463
|
{
|
|
462
|
-
className: r(
|
|
464
|
+
className: r(Me({ orientation: t }), e),
|
|
463
465
|
...o
|
|
464
466
|
}
|
|
465
467
|
);
|
|
466
|
-
|
|
467
|
-
const
|
|
468
|
-
|
|
469
|
-
const
|
|
470
|
-
|
|
471
|
-
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(
|
|
472
474
|
d.Trigger,
|
|
473
475
|
{
|
|
474
|
-
className: r(i({ variant:
|
|
476
|
+
className: r(i({ variant: t, size: o }), e),
|
|
475
477
|
...n
|
|
476
478
|
}
|
|
477
479
|
);
|
|
478
|
-
|
|
479
|
-
const
|
|
480
|
-
|
|
481
|
-
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(
|
|
482
484
|
d.Backdrop,
|
|
483
485
|
{
|
|
484
486
|
className: r(
|
|
@@ -487,11 +489,11 @@ const ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
487
489
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
488
490
|
e
|
|
489
491
|
),
|
|
490
|
-
...
|
|
492
|
+
...t
|
|
491
493
|
}
|
|
492
494
|
);
|
|
493
|
-
|
|
494
|
-
const
|
|
495
|
+
Ie.displayName = "DialogBackdrop";
|
|
496
|
+
const De = u(
|
|
495
497
|
[
|
|
496
498
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
497
499
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -515,58 +517,58 @@ const Pe = m(
|
|
|
515
517
|
size: "default"
|
|
516
518
|
}
|
|
517
519
|
}
|
|
518
|
-
),
|
|
520
|
+
), Ae = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(
|
|
519
521
|
d.Popup,
|
|
520
522
|
{
|
|
521
|
-
className: r(
|
|
523
|
+
className: r(De({ size: t }), e),
|
|
522
524
|
...o
|
|
523
525
|
}
|
|
524
526
|
);
|
|
525
|
-
|
|
526
|
-
const
|
|
527
|
+
Ae.displayName = "DialogPopup";
|
|
528
|
+
const Se = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
527
529
|
d.Title,
|
|
528
530
|
{
|
|
529
531
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
530
|
-
...
|
|
532
|
+
...t
|
|
531
533
|
}
|
|
532
534
|
);
|
|
533
|
-
|
|
534
|
-
const
|
|
535
|
-
|
|
536
|
-
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(
|
|
537
539
|
d.Close,
|
|
538
540
|
{
|
|
539
|
-
className: r(i({ variant:
|
|
541
|
+
className: r(i({ variant: t ?? "outline", size: o }), e),
|
|
540
542
|
...n
|
|
541
543
|
}
|
|
542
544
|
);
|
|
543
|
-
|
|
544
|
-
const
|
|
545
|
-
|
|
546
|
-
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(
|
|
547
549
|
"div",
|
|
548
550
|
{
|
|
549
551
|
className: r(
|
|
550
552
|
"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
551
553
|
e
|
|
552
554
|
),
|
|
553
|
-
...
|
|
555
|
+
...t
|
|
554
556
|
}
|
|
555
557
|
);
|
|
556
|
-
|
|
557
|
-
const
|
|
558
|
-
|
|
559
|
-
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(
|
|
560
562
|
d.Trigger,
|
|
561
563
|
{
|
|
562
|
-
className: r(i({ variant:
|
|
564
|
+
className: r(i({ variant: t, size: o }), e),
|
|
563
565
|
...n
|
|
564
566
|
}
|
|
565
567
|
);
|
|
566
|
-
|
|
567
|
-
const
|
|
568
|
-
|
|
569
|
-
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(
|
|
570
572
|
d.Backdrop,
|
|
571
573
|
{
|
|
572
574
|
className: r(
|
|
@@ -575,11 +577,11 @@ const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
575
577
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
576
578
|
e
|
|
577
579
|
),
|
|
578
|
-
...
|
|
580
|
+
...t
|
|
579
581
|
}
|
|
580
582
|
);
|
|
581
|
-
|
|
582
|
-
const
|
|
583
|
+
Fe.displayName = "DrawerBackdrop";
|
|
584
|
+
const He = u(
|
|
583
585
|
[
|
|
584
586
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
585
587
|
"transition-transform duration-300 ease-out",
|
|
@@ -615,143 +617,177 @@ const Ge = m(
|
|
|
615
617
|
side: "right"
|
|
616
618
|
}
|
|
617
619
|
}
|
|
618
|
-
),
|
|
620
|
+
), Oe = ({ className: e, side: t, ...o }) => /* @__PURE__ */ a(
|
|
619
621
|
d.Popup,
|
|
620
622
|
{
|
|
621
|
-
className: r(
|
|
623
|
+
className: r(He({ side: t }), e),
|
|
622
624
|
...o
|
|
623
625
|
}
|
|
624
626
|
);
|
|
625
|
-
|
|
626
|
-
const
|
|
627
|
+
Oe.displayName = "DrawerPopup";
|
|
628
|
+
const qe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
627
629
|
d.Title,
|
|
628
630
|
{
|
|
629
631
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
630
|
-
...
|
|
632
|
+
...t
|
|
631
633
|
}
|
|
632
634
|
);
|
|
633
|
-
|
|
634
|
-
const
|
|
635
|
-
|
|
636
|
-
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(
|
|
637
639
|
d.Close,
|
|
638
640
|
{
|
|
639
|
-
className: r(i({ variant:
|
|
641
|
+
className: r(i({ variant: t ?? "outline", size: o }), e),
|
|
640
642
|
...n
|
|
641
643
|
}
|
|
642
644
|
);
|
|
643
|
-
|
|
644
|
-
const Ze = ({ className: e, ...
|
|
645
|
+
Ee.displayName = "DrawerClose";
|
|
646
|
+
const Ze = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("flex flex-col space-y-1.5", e), ...t });
|
|
645
647
|
Ze.displayName = "DrawerHeader";
|
|
646
|
-
const
|
|
647
|
-
|
|
648
|
-
const
|
|
649
|
-
|
|
650
|
-
const
|
|
651
|
-
|
|
652
|
-
const
|
|
653
|
-
|
|
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(
|
|
655
|
+
w.Item,
|
|
654
656
|
{
|
|
655
657
|
className: r("border-b border-border last:border-b-0", e),
|
|
656
|
-
...
|
|
658
|
+
...t
|
|
657
659
|
}
|
|
658
660
|
);
|
|
659
|
-
|
|
660
|
-
const
|
|
661
|
-
|
|
662
|
-
const
|
|
663
|
-
|
|
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(
|
|
665
|
+
w.Trigger,
|
|
664
666
|
{
|
|
665
667
|
className: r(
|
|
666
668
|
"flex flex-1 items-center justify-between py-3 font-medium",
|
|
667
669
|
e
|
|
668
670
|
),
|
|
669
671
|
...o,
|
|
670
|
-
children:
|
|
672
|
+
children: t
|
|
671
673
|
}
|
|
672
674
|
);
|
|
673
|
-
|
|
674
|
-
const
|
|
675
|
-
|
|
675
|
+
Xe.displayName = "AccordionTrigger";
|
|
676
|
+
const Ye = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
677
|
+
w.Panel,
|
|
676
678
|
{
|
|
677
679
|
className: r(
|
|
678
680
|
"overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
|
|
679
681
|
e
|
|
680
682
|
),
|
|
681
|
-
...
|
|
683
|
+
...t
|
|
682
684
|
}
|
|
683
685
|
);
|
|
684
|
-
|
|
685
|
-
const
|
|
686
|
-
const
|
|
687
|
-
return
|
|
688
|
-
if (
|
|
689
|
-
const
|
|
690
|
-
const
|
|
691
|
-
|
|
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);
|
|
692
694
|
});
|
|
693
|
-
return () => cancelAnimationFrame(
|
|
695
|
+
return () => cancelAnimationFrame(T);
|
|
694
696
|
});
|
|
695
|
-
return () => cancelAnimationFrame(
|
|
697
|
+
return () => cancelAnimationFrame(P);
|
|
696
698
|
} else
|
|
697
|
-
|
|
698
|
-
}, [
|
|
699
|
+
x(c ?? 0);
|
|
700
|
+
}, [t, c]), /* @__PURE__ */ a(M.Root, { className: r("w-full", e), value: p, ...n });
|
|
699
701
|
};
|
|
700
|
-
|
|
701
|
-
const
|
|
702
|
-
|
|
702
|
+
et.displayName = "MeterRoot";
|
|
703
|
+
const tt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
704
|
+
M.Track,
|
|
703
705
|
{
|
|
704
706
|
className: r(
|
|
705
707
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
706
708
|
e
|
|
707
709
|
),
|
|
708
|
-
...
|
|
710
|
+
...t
|
|
709
711
|
}
|
|
710
712
|
);
|
|
711
|
-
|
|
712
|
-
const
|
|
713
|
-
|
|
713
|
+
tt.displayName = "MeterTrack";
|
|
714
|
+
const at = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
715
|
+
M.Indicator,
|
|
714
716
|
{
|
|
715
717
|
className: r(
|
|
716
718
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
717
719
|
e
|
|
718
720
|
),
|
|
719
|
-
...
|
|
721
|
+
...t
|
|
720
722
|
}
|
|
721
723
|
);
|
|
722
|
-
|
|
723
|
-
const
|
|
724
|
-
|
|
724
|
+
at.displayName = "MeterIndicator";
|
|
725
|
+
const rt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
726
|
+
M.Value,
|
|
725
727
|
{
|
|
726
728
|
className: r("text-sm font-medium text-foreground", e),
|
|
727
|
-
...
|
|
729
|
+
...t
|
|
728
730
|
}
|
|
729
731
|
);
|
|
730
|
-
|
|
731
|
-
const
|
|
732
|
-
|
|
732
|
+
rt.displayName = "MeterValue";
|
|
733
|
+
const ot = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
734
|
+
M.Label,
|
|
733
735
|
{
|
|
734
736
|
className: r("text-sm font-medium text-foreground", e),
|
|
735
|
-
...
|
|
737
|
+
...t
|
|
736
738
|
}
|
|
737
739
|
);
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
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(
|
|
746
782
|
s.Positioner,
|
|
747
783
|
{
|
|
748
784
|
className: r("z-50 outline-none", e),
|
|
749
785
|
sideOffset: 8,
|
|
750
|
-
...
|
|
786
|
+
...t
|
|
751
787
|
}
|
|
752
788
|
);
|
|
753
|
-
|
|
754
|
-
const
|
|
789
|
+
lt.displayName = "MenuPositioner";
|
|
790
|
+
const dt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
755
791
|
s.Popup,
|
|
756
792
|
{
|
|
757
793
|
className: r(
|
|
@@ -759,41 +795,23 @@ const sa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
759
795
|
"min-w-[8rem]",
|
|
760
796
|
e
|
|
761
797
|
),
|
|
762
|
-
...
|
|
798
|
+
...t
|
|
763
799
|
}
|
|
764
800
|
);
|
|
765
|
-
|
|
766
|
-
const
|
|
801
|
+
dt.displayName = "MenuPopup";
|
|
802
|
+
const ct = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
767
803
|
s.Arrow,
|
|
768
804
|
{
|
|
769
805
|
className: r(
|
|
770
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",
|
|
771
807
|
e
|
|
772
808
|
),
|
|
773
|
-
...
|
|
774
|
-
children: /* @__PURE__ */
|
|
809
|
+
...t,
|
|
810
|
+
children: /* @__PURE__ */ a(k, {})
|
|
775
811
|
}
|
|
776
812
|
);
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
/* @__PURE__ */ t(
|
|
780
|
-
"path",
|
|
781
|
-
{
|
|
782
|
-
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",
|
|
783
|
-
className: "fill-background"
|
|
784
|
-
}
|
|
785
|
-
),
|
|
786
|
-
/* @__PURE__ */ t(
|
|
787
|
-
"path",
|
|
788
|
-
{
|
|
789
|
-
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",
|
|
790
|
-
className: "fill-border"
|
|
791
|
-
}
|
|
792
|
-
)
|
|
793
|
-
] });
|
|
794
|
-
}
|
|
795
|
-
na.displayName = "MenuArrow";
|
|
796
|
-
const la = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
813
|
+
ct.displayName = "MenuArrow";
|
|
814
|
+
const ut = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
797
815
|
s.Item,
|
|
798
816
|
{
|
|
799
817
|
className: r(
|
|
@@ -801,31 +819,31 @@ const la = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
801
819
|
"flex justify-start",
|
|
802
820
|
e
|
|
803
821
|
),
|
|
804
|
-
...
|
|
822
|
+
...t
|
|
805
823
|
}
|
|
806
824
|
);
|
|
807
|
-
|
|
808
|
-
const
|
|
825
|
+
ut.displayName = "MenuItem";
|
|
826
|
+
const mt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
809
827
|
s.Separator,
|
|
810
828
|
{
|
|
811
829
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
812
|
-
...
|
|
830
|
+
...t
|
|
813
831
|
}
|
|
814
832
|
);
|
|
815
|
-
|
|
816
|
-
const
|
|
817
|
-
|
|
818
|
-
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(
|
|
819
837
|
s.GroupLabel,
|
|
820
838
|
{
|
|
821
839
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
822
|
-
...
|
|
840
|
+
...t
|
|
823
841
|
}
|
|
824
842
|
);
|
|
825
|
-
|
|
826
|
-
const
|
|
827
|
-
|
|
828
|
-
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(
|
|
829
847
|
s.RadioItem,
|
|
830
848
|
{
|
|
831
849
|
className: r(
|
|
@@ -833,11 +851,11 @@ const pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
833
851
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
834
852
|
e
|
|
835
853
|
),
|
|
836
|
-
...
|
|
854
|
+
...t
|
|
837
855
|
}
|
|
838
856
|
);
|
|
839
|
-
|
|
840
|
-
const
|
|
857
|
+
ft.displayName = "MenuRadioItem";
|
|
858
|
+
const yt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
841
859
|
s.CheckboxItem,
|
|
842
860
|
{
|
|
843
861
|
className: r(
|
|
@@ -845,22 +863,22 @@ const ga = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
845
863
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
846
864
|
e
|
|
847
865
|
),
|
|
848
|
-
...
|
|
866
|
+
...t
|
|
849
867
|
}
|
|
850
868
|
);
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
|
|
854
|
-
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 = ({
|
|
855
873
|
className: e,
|
|
856
|
-
...
|
|
857
|
-
}) => /* @__PURE__ */
|
|
858
|
-
|
|
859
|
-
const
|
|
860
|
-
|
|
861
|
-
const
|
|
862
|
-
|
|
863
|
-
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(
|
|
864
882
|
s.SubmenuTrigger,
|
|
865
883
|
{
|
|
866
884
|
className: r(
|
|
@@ -868,20 +886,20 @@ const xa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
868
886
|
"flex justify-between",
|
|
869
887
|
e
|
|
870
888
|
),
|
|
871
|
-
...
|
|
889
|
+
...t
|
|
872
890
|
}
|
|
873
891
|
);
|
|
874
|
-
|
|
875
|
-
const
|
|
876
|
-
|
|
877
|
-
const
|
|
878
|
-
|
|
879
|
-
const
|
|
880
|
-
|
|
881
|
-
const
|
|
882
|
-
|
|
883
|
-
const
|
|
884
|
-
|
|
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,
|
|
885
903
|
{
|
|
886
904
|
className: r(
|
|
887
905
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -889,12 +907,12 @@ const Ma = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
889
907
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
890
908
|
e
|
|
891
909
|
),
|
|
892
|
-
...
|
|
910
|
+
...t
|
|
893
911
|
}
|
|
894
912
|
);
|
|
895
|
-
|
|
896
|
-
const
|
|
897
|
-
|
|
913
|
+
Tt.displayName = "PopoverBackdrop";
|
|
914
|
+
const Rt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
915
|
+
m.Positioner,
|
|
898
916
|
{
|
|
899
917
|
className: r(
|
|
900
918
|
"z-50 outline-none",
|
|
@@ -907,12 +925,12 @@ const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
907
925
|
e
|
|
908
926
|
),
|
|
909
927
|
sideOffset: 8,
|
|
910
|
-
...
|
|
928
|
+
...t
|
|
911
929
|
}
|
|
912
930
|
);
|
|
913
|
-
|
|
914
|
-
const
|
|
915
|
-
|
|
931
|
+
Rt.displayName = "PopoverPositioner";
|
|
932
|
+
const It = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
933
|
+
m.Popup,
|
|
916
934
|
{
|
|
917
935
|
className: r(
|
|
918
936
|
"rounded-md bg-background px-4 py-3 text-foreground shadow-sm border relative",
|
|
@@ -927,114 +945,96 @@ const Pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
927
945
|
"origin-(--transform-origin)",
|
|
928
946
|
e
|
|
929
947
|
),
|
|
930
|
-
...
|
|
948
|
+
...t
|
|
931
949
|
}
|
|
932
950
|
);
|
|
933
|
-
|
|
934
|
-
const
|
|
935
|
-
|
|
951
|
+
It.displayName = "PopoverPopup";
|
|
952
|
+
const Dt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
953
|
+
m.Arrow,
|
|
936
954
|
{
|
|
937
955
|
className: r(
|
|
938
|
-
"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",
|
|
939
957
|
e
|
|
940
958
|
),
|
|
941
|
-
...
|
|
942
|
-
children: /* @__PURE__ */
|
|
943
|
-
}
|
|
944
|
-
);
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
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",
|
|
958
|
-
className: "fill-border"
|
|
959
|
-
}
|
|
960
|
-
)
|
|
961
|
-
] });
|
|
962
|
-
}
|
|
963
|
-
Ia.displayName = "PopoverArrow";
|
|
964
|
-
const Ta = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Title, { className: r("text-sm font-semibold", e), ...a });
|
|
965
|
-
Ta.displayName = "PopoverTitle";
|
|
966
|
-
const Da = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Description, { className: r("text-sm", e), ...a });
|
|
967
|
-
Da.displayName = "PopoverDescription";
|
|
968
|
-
const Aa = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Close, { className: r(e), ...a });
|
|
969
|
-
Aa.displayName = "PopoverClose";
|
|
970
|
-
const za = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Viewport, { className: r(e), ...a });
|
|
971
|
-
za.displayName = "PopoverViewport";
|
|
972
|
-
const Sa = ({ className: e, ...a }) => /* @__PURE__ */ t(C.Root, { className: r("w-full", e), ...a });
|
|
973
|
-
Sa.displayName = "ProgressRoot";
|
|
974
|
-
const La = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
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
975
|
C.Track,
|
|
976
976
|
{
|
|
977
977
|
className: r(
|
|
978
978
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
979
979
|
e
|
|
980
980
|
),
|
|
981
|
-
...
|
|
981
|
+
...t
|
|
982
982
|
}
|
|
983
983
|
);
|
|
984
|
-
|
|
985
|
-
const
|
|
984
|
+
Gt.displayName = "ProgressTrack";
|
|
985
|
+
const _t = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
986
986
|
C.Indicator,
|
|
987
987
|
{
|
|
988
988
|
className: r(
|
|
989
989
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
990
990
|
e
|
|
991
991
|
),
|
|
992
|
-
...
|
|
992
|
+
...t
|
|
993
993
|
}
|
|
994
994
|
);
|
|
995
|
-
|
|
996
|
-
const
|
|
995
|
+
_t.displayName = "ProgressIndicator";
|
|
996
|
+
const jt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
997
997
|
C.Value,
|
|
998
998
|
{
|
|
999
999
|
className: r("text-sm font-medium text-foreground", e),
|
|
1000
|
-
...
|
|
1000
|
+
...t
|
|
1001
1001
|
}
|
|
1002
1002
|
);
|
|
1003
|
-
|
|
1004
|
-
const
|
|
1003
|
+
jt.displayName = "ProgressValue";
|
|
1004
|
+
const Bt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1005
1005
|
C.Label,
|
|
1006
1006
|
{
|
|
1007
1007
|
className: r("text-sm font-medium text-foreground", e),
|
|
1008
|
-
...
|
|
1008
|
+
...t
|
|
1009
1009
|
}
|
|
1010
1010
|
);
|
|
1011
|
-
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1011
|
+
Bt.displayName = "ProgressLabel";
|
|
1012
|
+
const Ft = ({ className: e, orientation: t, ...o }) => /* @__PURE__ */ a(
|
|
1013
|
+
q,
|
|
1014
1014
|
{
|
|
1015
|
-
orientation:
|
|
1015
|
+
orientation: t,
|
|
1016
1016
|
className: r(
|
|
1017
1017
|
"inline-flex",
|
|
1018
|
-
|
|
1018
|
+
t === "vertical" && "flex-col",
|
|
1019
1019
|
// Connected items: collapse borders, round only outer corners
|
|
1020
1020
|
"[&>button]:rounded-none [&>button:not(:first-of-type)]:-ml-px",
|
|
1021
1021
|
"[&>button:first-of-type]:rounded-l-md [&>button:last-of-type]:rounded-r-md",
|
|
1022
1022
|
// Vertical orientation adjustments
|
|
1023
|
-
|
|
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",
|
|
1024
1024
|
e
|
|
1025
1025
|
),
|
|
1026
1026
|
...o
|
|
1027
1027
|
}
|
|
1028
1028
|
);
|
|
1029
|
-
|
|
1030
|
-
const
|
|
1029
|
+
Ft.displayName = "ToggleGroupRoot";
|
|
1030
|
+
const Ht = ({
|
|
1031
1031
|
className: e,
|
|
1032
|
-
variant:
|
|
1032
|
+
variant: t,
|
|
1033
1033
|
size: o,
|
|
1034
1034
|
...n
|
|
1035
|
-
}) => /* @__PURE__ */
|
|
1036
|
-
|
|
1037
|
-
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", {
|
|
1038
1038
|
variants: {
|
|
1039
1039
|
variant: {
|
|
1040
1040
|
default: "border shadow-sm",
|
|
@@ -1045,18 +1045,18 @@ const Ba = m("rounded-lg bg-card text-card-foreground transition-colors", {
|
|
|
1045
1045
|
defaultVariants: {
|
|
1046
1046
|
variant: "default"
|
|
1047
1047
|
}
|
|
1048
|
-
}),
|
|
1049
|
-
({ className: e, variant:
|
|
1048
|
+
}), qt = b.forwardRef(
|
|
1049
|
+
({ className: e, variant: t, ...o }, n) => /* @__PURE__ */ a(
|
|
1050
1050
|
"article",
|
|
1051
1051
|
{
|
|
1052
1052
|
ref: n,
|
|
1053
|
-
className: r(
|
|
1053
|
+
className: r(Ot({ variant: t }), e),
|
|
1054
1054
|
...o
|
|
1055
1055
|
}
|
|
1056
1056
|
)
|
|
1057
1057
|
);
|
|
1058
|
-
|
|
1059
|
-
const
|
|
1058
|
+
qt.displayName = "CardRoot";
|
|
1059
|
+
const $t = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1060
1060
|
"div",
|
|
1061
1061
|
{
|
|
1062
1062
|
className: r(
|
|
@@ -1064,44 +1064,44 @@ const Za = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1064
1064
|
"[&>img]:h-full [&>img]:w-full [&>img]:object-cover",
|
|
1065
1065
|
e
|
|
1066
1066
|
),
|
|
1067
|
-
...
|
|
1067
|
+
...t
|
|
1068
1068
|
}
|
|
1069
1069
|
);
|
|
1070
|
-
|
|
1071
|
-
const
|
|
1072
|
-
|
|
1073
|
-
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(
|
|
1074
1074
|
e,
|
|
1075
1075
|
{
|
|
1076
|
-
className: r("text-base font-semibold leading-tight",
|
|
1076
|
+
className: r("text-base font-semibold leading-tight", t),
|
|
1077
1077
|
...o
|
|
1078
1078
|
}
|
|
1079
1079
|
);
|
|
1080
|
-
|
|
1081
|
-
const
|
|
1082
|
-
|
|
1083
|
-
const
|
|
1084
|
-
|
|
1085
|
-
const
|
|
1086
|
-
|
|
1087
|
-
const
|
|
1088
|
-
|
|
1089
|
-
const
|
|
1090
|
-
|
|
1091
|
-
const
|
|
1092
|
-
|
|
1093
|
-
const
|
|
1094
|
-
|
|
1095
|
-
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(
|
|
1096
1096
|
l.Positioner,
|
|
1097
1097
|
{
|
|
1098
1098
|
className: r("z-50 outline-none", e),
|
|
1099
1099
|
sideOffset: 3,
|
|
1100
|
-
...
|
|
1100
|
+
...t
|
|
1101
1101
|
}
|
|
1102
1102
|
);
|
|
1103
|
-
|
|
1104
|
-
const
|
|
1103
|
+
ea.displayName = "ContextMenuPositioner";
|
|
1104
|
+
const ta = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1105
1105
|
l.Popup,
|
|
1106
1106
|
{
|
|
1107
1107
|
className: r(
|
|
@@ -1109,41 +1109,23 @@ const Ya = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1109
1109
|
"min-w-[8rem]",
|
|
1110
1110
|
e
|
|
1111
1111
|
),
|
|
1112
|
-
...
|
|
1112
|
+
...t
|
|
1113
1113
|
}
|
|
1114
1114
|
);
|
|
1115
|
-
|
|
1116
|
-
const
|
|
1115
|
+
ta.displayName = "ContextMenuPopup";
|
|
1116
|
+
const aa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1117
1117
|
l.Arrow,
|
|
1118
1118
|
{
|
|
1119
1119
|
className: r(
|
|
1120
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",
|
|
1121
1121
|
e
|
|
1122
1122
|
),
|
|
1123
|
-
...
|
|
1124
|
-
children: /* @__PURE__ */
|
|
1123
|
+
...t,
|
|
1124
|
+
children: /* @__PURE__ */ a(k, {})
|
|
1125
1125
|
}
|
|
1126
1126
|
);
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
/* @__PURE__ */ t(
|
|
1130
|
-
"path",
|
|
1131
|
-
{
|
|
1132
|
-
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",
|
|
1133
|
-
className: "fill-background"
|
|
1134
|
-
}
|
|
1135
|
-
),
|
|
1136
|
-
/* @__PURE__ */ t(
|
|
1137
|
-
"path",
|
|
1138
|
-
{
|
|
1139
|
-
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",
|
|
1140
|
-
className: "fill-border"
|
|
1141
|
-
}
|
|
1142
|
-
)
|
|
1143
|
-
] });
|
|
1144
|
-
}
|
|
1145
|
-
et.displayName = "ContextMenuArrow";
|
|
1146
|
-
const tt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
1127
|
+
aa.displayName = "ContextMenuArrow";
|
|
1128
|
+
const ra = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1147
1129
|
l.Item,
|
|
1148
1130
|
{
|
|
1149
1131
|
className: r(
|
|
@@ -1151,31 +1133,31 @@ const tt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1151
1133
|
"flex justify-start",
|
|
1152
1134
|
e
|
|
1153
1135
|
),
|
|
1154
|
-
...
|
|
1136
|
+
...t
|
|
1155
1137
|
}
|
|
1156
1138
|
);
|
|
1157
|
-
|
|
1158
|
-
const
|
|
1139
|
+
ra.displayName = "ContextMenuItem";
|
|
1140
|
+
const oa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1159
1141
|
l.Separator,
|
|
1160
1142
|
{
|
|
1161
1143
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
1162
|
-
...
|
|
1144
|
+
...t
|
|
1163
1145
|
}
|
|
1164
1146
|
);
|
|
1165
|
-
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
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(
|
|
1169
1151
|
l.GroupLabel,
|
|
1170
1152
|
{
|
|
1171
1153
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
1172
|
-
...
|
|
1154
|
+
...t
|
|
1173
1155
|
}
|
|
1174
1156
|
);
|
|
1175
|
-
|
|
1176
|
-
const
|
|
1177
|
-
|
|
1178
|
-
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(
|
|
1179
1161
|
l.RadioItem,
|
|
1180
1162
|
{
|
|
1181
1163
|
className: r(
|
|
@@ -1183,14 +1165,14 @@ const it = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1183
1165
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1184
1166
|
e
|
|
1185
1167
|
),
|
|
1186
|
-
...
|
|
1168
|
+
...t
|
|
1187
1169
|
}
|
|
1188
1170
|
);
|
|
1189
|
-
|
|
1190
|
-
const
|
|
1171
|
+
la.displayName = "ContextMenuRadioItem";
|
|
1172
|
+
const da = ({
|
|
1191
1173
|
className: e,
|
|
1192
|
-
...
|
|
1193
|
-
}) => /* @__PURE__ */
|
|
1174
|
+
...t
|
|
1175
|
+
}) => /* @__PURE__ */ a(
|
|
1194
1176
|
l.CheckboxItem,
|
|
1195
1177
|
{
|
|
1196
1178
|
className: r(
|
|
@@ -1198,46 +1180,46 @@ const lt = ({
|
|
|
1198
1180
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1199
1181
|
e
|
|
1200
1182
|
),
|
|
1201
|
-
...
|
|
1183
|
+
...t
|
|
1202
1184
|
}
|
|
1203
1185
|
);
|
|
1204
|
-
|
|
1205
|
-
const
|
|
1186
|
+
da.displayName = "ContextMenuCheckboxItem";
|
|
1187
|
+
const ca = ({
|
|
1206
1188
|
className: e,
|
|
1207
|
-
...
|
|
1208
|
-
}) => /* @__PURE__ */
|
|
1189
|
+
...t
|
|
1190
|
+
}) => /* @__PURE__ */ a(
|
|
1209
1191
|
l.RadioItemIndicator,
|
|
1210
1192
|
{
|
|
1211
1193
|
className: r("col-start-1", e),
|
|
1212
|
-
...
|
|
1194
|
+
...t
|
|
1213
1195
|
}
|
|
1214
1196
|
);
|
|
1215
|
-
|
|
1216
|
-
const
|
|
1197
|
+
ca.displayName = "ContextMenuRadioItemIndicator";
|
|
1198
|
+
const ua = ({
|
|
1217
1199
|
className: e,
|
|
1218
|
-
...
|
|
1219
|
-
}) => /* @__PURE__ */
|
|
1200
|
+
...t
|
|
1201
|
+
}) => /* @__PURE__ */ a(
|
|
1220
1202
|
l.CheckboxItemIndicator,
|
|
1221
1203
|
{
|
|
1222
1204
|
className: r("col-start-1", e),
|
|
1223
|
-
...
|
|
1205
|
+
...t
|
|
1224
1206
|
}
|
|
1225
1207
|
);
|
|
1226
|
-
|
|
1227
|
-
const
|
|
1208
|
+
ua.displayName = "ContextMenuCheckboxItemIndicator";
|
|
1209
|
+
const ma = ({
|
|
1228
1210
|
className: e,
|
|
1229
|
-
...
|
|
1230
|
-
}) => /* @__PURE__ */
|
|
1231
|
-
|
|
1232
|
-
const
|
|
1211
|
+
...t
|
|
1212
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1213
|
+
ma.displayName = "ContextMenuCheckboxItemLabel";
|
|
1214
|
+
const pa = ({
|
|
1233
1215
|
className: e,
|
|
1234
|
-
...
|
|
1235
|
-
}) => /* @__PURE__ */
|
|
1236
|
-
|
|
1237
|
-
const
|
|
1216
|
+
...t
|
|
1217
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1218
|
+
pa.displayName = "ContextMenuRadioItemLabel";
|
|
1219
|
+
const ga = ({
|
|
1238
1220
|
className: e,
|
|
1239
|
-
...
|
|
1240
|
-
}) => /* @__PURE__ */
|
|
1221
|
+
...t
|
|
1222
|
+
}) => /* @__PURE__ */ a(
|
|
1241
1223
|
l.SubmenuTrigger,
|
|
1242
1224
|
{
|
|
1243
1225
|
className: r(
|
|
@@ -1245,14 +1227,14 @@ const pt = ({
|
|
|
1245
1227
|
"flex justify-between",
|
|
1246
1228
|
e
|
|
1247
1229
|
),
|
|
1248
|
-
...
|
|
1230
|
+
...t
|
|
1249
1231
|
}
|
|
1250
1232
|
);
|
|
1251
|
-
|
|
1252
|
-
const
|
|
1253
|
-
|
|
1254
|
-
const
|
|
1255
|
-
|
|
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
|
+
$,
|
|
1256
1238
|
{
|
|
1257
1239
|
className: r(
|
|
1258
1240
|
"inline-flex",
|
|
@@ -1261,32 +1243,32 @@ const bt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1261
1243
|
"[&>button:first-of-type]:rounded-l-md [&>button:last-of-type]:rounded-r-md",
|
|
1262
1244
|
e
|
|
1263
1245
|
),
|
|
1264
|
-
...
|
|
1246
|
+
...t
|
|
1265
1247
|
}
|
|
1266
1248
|
);
|
|
1267
|
-
|
|
1268
|
-
const
|
|
1269
|
-
|
|
1270
|
-
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(
|
|
1271
1253
|
s.Trigger,
|
|
1272
1254
|
{
|
|
1273
|
-
className: r(
|
|
1255
|
+
className: r(A({ variant: t, size: o }), e),
|
|
1274
1256
|
...n
|
|
1275
1257
|
}
|
|
1276
1258
|
);
|
|
1277
|
-
|
|
1278
|
-
const
|
|
1279
|
-
|
|
1280
|
-
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(
|
|
1281
1263
|
s.Positioner,
|
|
1282
1264
|
{
|
|
1283
1265
|
className: r("z-50 outline-none", e),
|
|
1284
1266
|
sideOffset: 8,
|
|
1285
|
-
...
|
|
1267
|
+
...t
|
|
1286
1268
|
}
|
|
1287
1269
|
);
|
|
1288
|
-
|
|
1289
|
-
const
|
|
1270
|
+
ha.displayName = "MenubarPositioner";
|
|
1271
|
+
const va = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1290
1272
|
s.Popup,
|
|
1291
1273
|
{
|
|
1292
1274
|
className: r(
|
|
@@ -1294,41 +1276,23 @@ const ht = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1294
1276
|
"min-w-[8rem]",
|
|
1295
1277
|
e
|
|
1296
1278
|
),
|
|
1297
|
-
...
|
|
1279
|
+
...t
|
|
1298
1280
|
}
|
|
1299
1281
|
);
|
|
1300
|
-
|
|
1301
|
-
const
|
|
1282
|
+
va.displayName = "MenubarPopup";
|
|
1283
|
+
const wa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1302
1284
|
s.Arrow,
|
|
1303
1285
|
{
|
|
1304
1286
|
className: r(
|
|
1305
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",
|
|
1306
1288
|
e
|
|
1307
1289
|
),
|
|
1308
|
-
...
|
|
1309
|
-
children: /* @__PURE__ */
|
|
1290
|
+
...t,
|
|
1291
|
+
children: /* @__PURE__ */ a(k, {})
|
|
1310
1292
|
}
|
|
1311
1293
|
);
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
/* @__PURE__ */ t(
|
|
1315
|
-
"path",
|
|
1316
|
-
{
|
|
1317
|
-
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",
|
|
1318
|
-
className: "fill-background"
|
|
1319
|
-
}
|
|
1320
|
-
),
|
|
1321
|
-
/* @__PURE__ */ t(
|
|
1322
|
-
"path",
|
|
1323
|
-
{
|
|
1324
|
-
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",
|
|
1325
|
-
className: "fill-border"
|
|
1326
|
-
}
|
|
1327
|
-
)
|
|
1328
|
-
] });
|
|
1329
|
-
}
|
|
1330
|
-
vt.displayName = "MenubarArrow";
|
|
1331
|
-
const Ct = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
1294
|
+
wa.displayName = "MenubarArrow";
|
|
1295
|
+
const Ma = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1332
1296
|
s.Item,
|
|
1333
1297
|
{
|
|
1334
1298
|
className: r(
|
|
@@ -1336,25 +1300,25 @@ const Ct = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1336
1300
|
"flex justify-start",
|
|
1337
1301
|
e
|
|
1338
1302
|
),
|
|
1339
|
-
...
|
|
1303
|
+
...t
|
|
1340
1304
|
}
|
|
1341
1305
|
);
|
|
1342
|
-
|
|
1343
|
-
const
|
|
1344
|
-
|
|
1345
|
-
const
|
|
1346
|
-
|
|
1347
|
-
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(
|
|
1348
1312
|
s.GroupLabel,
|
|
1349
1313
|
{
|
|
1350
1314
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
1351
|
-
...
|
|
1315
|
+
...t
|
|
1352
1316
|
}
|
|
1353
1317
|
);
|
|
1354
|
-
|
|
1355
|
-
const
|
|
1356
|
-
|
|
1357
|
-
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(
|
|
1358
1322
|
s.RadioItem,
|
|
1359
1323
|
{
|
|
1360
1324
|
className: r(
|
|
@@ -1362,11 +1326,11 @@ const Rt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1362
1326
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1363
1327
|
e
|
|
1364
1328
|
),
|
|
1365
|
-
...
|
|
1329
|
+
...t
|
|
1366
1330
|
}
|
|
1367
1331
|
);
|
|
1368
|
-
|
|
1369
|
-
const
|
|
1332
|
+
Ra.displayName = "MenubarRadioItem";
|
|
1333
|
+
const Ia = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1370
1334
|
s.CheckboxItem,
|
|
1371
1335
|
{
|
|
1372
1336
|
className: r(
|
|
@@ -1374,28 +1338,28 @@ const Tt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1374
1338
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1375
1339
|
e
|
|
1376
1340
|
),
|
|
1377
|
-
...
|
|
1341
|
+
...t
|
|
1378
1342
|
}
|
|
1379
1343
|
);
|
|
1380
|
-
|
|
1381
|
-
const
|
|
1344
|
+
Ia.displayName = "MenubarCheckboxItem";
|
|
1345
|
+
const Da = ({
|
|
1382
1346
|
className: e,
|
|
1383
|
-
...
|
|
1384
|
-
}) => /* @__PURE__ */
|
|
1385
|
-
|
|
1386
|
-
const
|
|
1347
|
+
...t
|
|
1348
|
+
}) => /* @__PURE__ */ a(s.RadioItemIndicator, { className: r("col-start-1", e), ...t });
|
|
1349
|
+
Da.displayName = "MenubarRadioItemIndicator";
|
|
1350
|
+
const Aa = ({
|
|
1387
1351
|
className: e,
|
|
1388
|
-
...
|
|
1389
|
-
}) => /* @__PURE__ */
|
|
1390
|
-
|
|
1391
|
-
const
|
|
1352
|
+
...t
|
|
1353
|
+
}) => /* @__PURE__ */ a(s.CheckboxItemIndicator, { className: r("col-start-1", e), ...t });
|
|
1354
|
+
Aa.displayName = "MenubarCheckboxItemIndicator";
|
|
1355
|
+
const Sa = ({
|
|
1392
1356
|
className: e,
|
|
1393
|
-
...
|
|
1394
|
-
}) => /* @__PURE__ */
|
|
1395
|
-
|
|
1396
|
-
const
|
|
1397
|
-
|
|
1398
|
-
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(
|
|
1399
1363
|
s.SubmenuTrigger,
|
|
1400
1364
|
{
|
|
1401
1365
|
className: r(
|
|
@@ -1403,159 +1367,300 @@ const Lt = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1403
1367
|
"flex justify-between",
|
|
1404
1368
|
e
|
|
1405
1369
|
),
|
|
1406
|
-
...
|
|
1370
|
+
...t
|
|
1407
1371
|
}
|
|
1408
1372
|
);
|
|
1409
|
-
|
|
1410
|
-
const
|
|
1411
|
-
|
|
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,
|
|
1380
|
+
{
|
|
1381
|
+
className: r("text-sm font-medium text-foreground", e),
|
|
1382
|
+
...t
|
|
1383
|
+
}
|
|
1384
|
+
);
|
|
1385
|
+
_a.displayName = "SliderValue";
|
|
1386
|
+
const ja = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1387
|
+
N.Control,
|
|
1388
|
+
{
|
|
1389
|
+
className: r("flex w-full touch-none items-center py-2 select-none", e),
|
|
1390
|
+
...t
|
|
1391
|
+
}
|
|
1392
|
+
);
|
|
1393
|
+
ja.displayName = "SliderControl";
|
|
1394
|
+
const Ba = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1395
|
+
N.Track,
|
|
1396
|
+
{
|
|
1397
|
+
className: r("relative h-1.5 w-full rounded-full bg-primary/20", e),
|
|
1398
|
+
...t
|
|
1399
|
+
}
|
|
1400
|
+
);
|
|
1401
|
+
Ba.displayName = "SliderTrack";
|
|
1402
|
+
const Fa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1403
|
+
N.Indicator,
|
|
1404
|
+
{
|
|
1405
|
+
className: r("rounded-full bg-primary", e),
|
|
1406
|
+
...t
|
|
1407
|
+
}
|
|
1408
|
+
);
|
|
1409
|
+
Fa.displayName = "SliderIndicator";
|
|
1410
|
+
const Ha = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1411
|
+
N.Thumb,
|
|
1412
|
+
{
|
|
1413
|
+
className: r(
|
|
1414
|
+
"size-4 rounded-full bg-background",
|
|
1415
|
+
"outline",
|
|
1416
|
+
"shadow-sm",
|
|
1417
|
+
"transition-[box-shadow,outline-color] duration-150",
|
|
1418
|
+
"hover:outline-primary/50",
|
|
1419
|
+
"focus-visible:outline-2 focus-visible:outline-primary",
|
|
1420
|
+
"data-dragging:outline-2 data-dragging:outline-primary",
|
|
1421
|
+
e
|
|
1422
|
+
),
|
|
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
|
|
1475
|
+
}
|
|
1476
|
+
);
|
|
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";
|
|
1412
1504
|
export {
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
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,
|
|
1442
1534
|
Z as CollapsibleRoot,
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
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,
|
|
1478
1570
|
Ze as DrawerHeader,
|
|
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
|
-
|
|
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
|
|
1561
1666
|
};
|