@adamosuiteservices/ui 2.11.21 → 2.12.1
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/{button-BzVY7053.js → button-CMWUcYpz.js} +54 -54
- package/dist/button-CmLeuaI0.cjs +75 -0
- package/dist/button-group.cjs +6 -6
- package/dist/button-group.js +20 -20
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/{calendar-IAVS_7up.cjs → calendar-DUvRetFW.cjs} +1 -1
- package/dist/{calendar-BIttOd3g.js → calendar-yJWQTCer.js} +1 -1
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.js +1 -1
- package/dist/{combobox-DI-WK3Ng.js → combobox-BvjehNR7.js} +89 -86
- package/dist/combobox-CDXlen0X.cjs +40 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.js +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/input-otp/index.d.ts +1 -0
- package/dist/components/ui/input-otp/input-otp.d.ts +11 -0
- package/dist/context-menu.cjs +38 -36
- package/dist/context-menu.js +54 -52
- package/dist/date-picker-selector.cjs +1 -1
- package/dist/date-picker-selector.js +4 -4
- package/dist/dropdown-menu.cjs +48 -52
- package/dist/dropdown-menu.js +164 -168
- package/dist/{input-DFvZLcgm.js → input-BCiOr4Fy.js} +7 -6
- package/dist/{input-CWDpI1Ua.cjs → input-Bz5k4w94.cjs} +7 -6
- package/dist/input-group.cjs +5 -5
- package/dist/input-group.js +10 -10
- package/dist/input-otp.cjs +68 -0
- package/dist/input-otp.js +384 -0
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/pagination.cjs +2 -2
- package/dist/pagination.js +4 -3
- package/dist/select.cjs +22 -20
- package/dist/select.js +112 -111
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/styles.css +1 -1
- package/docs/components/ui/button-group.md +986 -984
- package/docs/components/ui/button.md +1156 -1137
- package/docs/components/ui/combobox.md +33 -2
- package/docs/components/ui/command.md +484 -454
- package/docs/components/ui/context-menu.md +574 -540
- package/docs/components/ui/dropdown-menu.md +743 -709
- package/docs/components/ui/input.md +362 -362
- package/docs/components/ui/select.md +357 -352
- package/package.json +8 -3
- package/dist/button-B_VHdPPV.cjs +0 -76
- package/dist/combobox-DplJzBX6.cjs +0 -37
package/dist/dropdown-menu.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as
|
|
3
|
-
import * as
|
|
4
|
-
import { u as
|
|
2
|
+
import { j as n } from "./jsx-runtime-BzflLqGi.js";
|
|
3
|
+
import * as i from "react";
|
|
4
|
+
import { u as b, c as w } from "./index-C0UREtMP.js";
|
|
5
5
|
import { c as U } from "./index-DLcqcWxM.js";
|
|
6
6
|
import { c as B } from "./index-FxyLF8MY.js";
|
|
7
7
|
import { P as F } from "./index-BMWt1NBG.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as M, R as H, P as W, A as X, C as q, G as J, L as Q, I as V, a as Y, b as Z, h as ee, d as oe, S as ae, e as ne, g as te, f as re, i as de } from "./index-wujanfX3.js";
|
|
9
9
|
import { u as h } from "./index-Cv867SGx.js";
|
|
10
|
-
import { I as
|
|
11
|
-
import { c as
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
[
|
|
15
|
-
),
|
|
10
|
+
import { I as x } from "./icon-DKAhvlX_.js";
|
|
11
|
+
import { c as p } from "./index-CRiPKpXj.js";
|
|
12
|
+
var v = "DropdownMenu", [se] = B(
|
|
13
|
+
v,
|
|
14
|
+
[M]
|
|
15
|
+
), m = M(), [ie, D] = se(v), _ = (e) => {
|
|
16
16
|
const {
|
|
17
17
|
__scopeDropdownMenu: o,
|
|
18
18
|
children: a,
|
|
19
|
-
dir:
|
|
19
|
+
dir: t,
|
|
20
20
|
open: r,
|
|
21
21
|
defaultOpen: s,
|
|
22
|
-
onOpenChange:
|
|
22
|
+
onOpenChange: u,
|
|
23
23
|
modal: d = !0
|
|
24
|
-
} = e, c =
|
|
24
|
+
} = e, c = m(o), g = i.useRef(null), [l, f] = b({
|
|
25
25
|
prop: r,
|
|
26
26
|
defaultProp: s ?? !1,
|
|
27
|
-
onChange:
|
|
28
|
-
caller:
|
|
27
|
+
onChange: u,
|
|
28
|
+
caller: v
|
|
29
29
|
});
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
|
|
30
|
+
return /* @__PURE__ */ n.jsx(
|
|
31
|
+
ie,
|
|
32
32
|
{
|
|
33
33
|
scope: o,
|
|
34
34
|
triggerId: h(),
|
|
35
|
-
triggerRef:
|
|
35
|
+
triggerRef: g,
|
|
36
36
|
contentId: h(),
|
|
37
37
|
open: l,
|
|
38
38
|
onOpenChange: f,
|
|
39
|
-
onOpenToggle:
|
|
39
|
+
onOpenToggle: i.useCallback(() => f((K) => !K), [f]),
|
|
40
40
|
modal: d,
|
|
41
|
-
children: /* @__PURE__ */
|
|
41
|
+
children: /* @__PURE__ */ n.jsx(H, { ...c, open: l, onOpenChange: f, dir: t, modal: d, children: a })
|
|
42
42
|
}
|
|
43
43
|
);
|
|
44
44
|
};
|
|
45
|
-
|
|
46
|
-
var R = "DropdownMenuTrigger", N =
|
|
45
|
+
_.displayName = v;
|
|
46
|
+
var R = "DropdownMenuTrigger", N = i.forwardRef(
|
|
47
47
|
(e, o) => {
|
|
48
|
-
const { __scopeDropdownMenu: a, disabled:
|
|
49
|
-
return /* @__PURE__ */
|
|
48
|
+
const { __scopeDropdownMenu: a, disabled: t = !1, ...r } = e, s = D(R, a), u = m(a);
|
|
49
|
+
return /* @__PURE__ */ n.jsx(X, { asChild: !0, ...u, children: /* @__PURE__ */ n.jsx(
|
|
50
50
|
F.button,
|
|
51
51
|
{
|
|
52
52
|
type: "button",
|
|
@@ -55,43 +55,43 @@ var R = "DropdownMenuTrigger", N = m.forwardRef(
|
|
|
55
55
|
"aria-expanded": s.open,
|
|
56
56
|
"aria-controls": s.open ? s.contentId : void 0,
|
|
57
57
|
"data-state": s.open ? "open" : "closed",
|
|
58
|
-
"data-disabled":
|
|
59
|
-
disabled:
|
|
58
|
+
"data-disabled": t ? "" : void 0,
|
|
59
|
+
disabled: t,
|
|
60
60
|
...r,
|
|
61
61
|
ref: U(o, s.triggerRef),
|
|
62
62
|
onPointerDown: w(e.onPointerDown, (d) => {
|
|
63
|
-
!
|
|
63
|
+
!t && d.button === 0 && d.ctrlKey === !1 && (s.onOpenToggle(), s.open || d.preventDefault());
|
|
64
64
|
}),
|
|
65
65
|
onKeyDown: w(e.onKeyDown, (d) => {
|
|
66
|
-
|
|
66
|
+
t || (["Enter", " "].includes(d.key) && s.onOpenToggle(), d.key === "ArrowDown" && s.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
|
|
67
67
|
})
|
|
68
68
|
}
|
|
69
69
|
) });
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
N.displayName = R;
|
|
73
|
-
var
|
|
74
|
-
const { __scopeDropdownMenu: o, ...a } = e,
|
|
75
|
-
return /* @__PURE__ */
|
|
73
|
+
var me = "DropdownMenuPortal", I = (e) => {
|
|
74
|
+
const { __scopeDropdownMenu: o, ...a } = e, t = m(o);
|
|
75
|
+
return /* @__PURE__ */ n.jsx(W, { ...t, ...a });
|
|
76
76
|
};
|
|
77
|
-
I.displayName =
|
|
78
|
-
var j = "DropdownMenuContent", S =
|
|
77
|
+
I.displayName = me;
|
|
78
|
+
var j = "DropdownMenuContent", S = i.forwardRef(
|
|
79
79
|
(e, o) => {
|
|
80
|
-
const { __scopeDropdownMenu: a, ...
|
|
81
|
-
return /* @__PURE__ */
|
|
80
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = D(j, a), s = m(a), u = i.useRef(!1);
|
|
81
|
+
return /* @__PURE__ */ n.jsx(
|
|
82
82
|
q,
|
|
83
83
|
{
|
|
84
84
|
id: r.contentId,
|
|
85
85
|
"aria-labelledby": r.triggerId,
|
|
86
86
|
...s,
|
|
87
|
-
...
|
|
87
|
+
...t,
|
|
88
88
|
ref: o,
|
|
89
89
|
onCloseAutoFocus: w(e.onCloseAutoFocus, (d) => {
|
|
90
|
-
|
|
90
|
+
u.current || r.triggerRef.current?.focus(), u.current = !1, d.preventDefault();
|
|
91
91
|
}),
|
|
92
92
|
onInteractOutside: w(e.onInteractOutside, (d) => {
|
|
93
|
-
const c = d.detail.originalEvent,
|
|
94
|
-
(!r.modal || l) && (
|
|
93
|
+
const c = d.detail.originalEvent, g = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || g;
|
|
94
|
+
(!r.modal || l) && (u.current = !0);
|
|
95
95
|
}),
|
|
96
96
|
style: {
|
|
97
97
|
...e.style,
|
|
@@ -106,79 +106,79 @@ var j = "DropdownMenuContent", S = m.forwardRef(
|
|
|
106
106
|
}
|
|
107
107
|
);
|
|
108
108
|
S.displayName = j;
|
|
109
|
-
var
|
|
109
|
+
var ue = "DropdownMenuGroup", C = i.forwardRef(
|
|
110
110
|
(e, o) => {
|
|
111
|
-
const { __scopeDropdownMenu: a, ...
|
|
112
|
-
return /* @__PURE__ */
|
|
111
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
112
|
+
return /* @__PURE__ */ n.jsx(J, { ...r, ...t, ref: o });
|
|
113
113
|
}
|
|
114
114
|
);
|
|
115
|
-
|
|
116
|
-
var
|
|
115
|
+
C.displayName = ue;
|
|
116
|
+
var pe = "DropdownMenuLabel", y = i.forwardRef(
|
|
117
117
|
(e, o) => {
|
|
118
|
-
const { __scopeDropdownMenu: a, ...
|
|
119
|
-
return /* @__PURE__ */
|
|
118
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
119
|
+
return /* @__PURE__ */ n.jsx(Q, { ...r, ...t, ref: o });
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
|
-
|
|
123
|
-
var ce = "DropdownMenuItem", P =
|
|
122
|
+
y.displayName = pe;
|
|
123
|
+
var ce = "DropdownMenuItem", P = i.forwardRef(
|
|
124
124
|
(e, o) => {
|
|
125
|
-
const { __scopeDropdownMenu: a, ...
|
|
126
|
-
return /* @__PURE__ */
|
|
125
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
126
|
+
return /* @__PURE__ */ n.jsx(V, { ...r, ...t, ref: o });
|
|
127
127
|
}
|
|
128
128
|
);
|
|
129
129
|
P.displayName = ce;
|
|
130
|
-
var le = "DropdownMenuCheckboxItem", A =
|
|
131
|
-
const { __scopeDropdownMenu: a, ...
|
|
132
|
-
return /* @__PURE__ */
|
|
130
|
+
var le = "DropdownMenuCheckboxItem", A = i.forwardRef((e, o) => {
|
|
131
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
132
|
+
return /* @__PURE__ */ n.jsx(Y, { ...r, ...t, ref: o });
|
|
133
133
|
});
|
|
134
134
|
A.displayName = le;
|
|
135
|
-
var fe = "DropdownMenuRadioGroup", E =
|
|
136
|
-
const { __scopeDropdownMenu: a, ...
|
|
137
|
-
return /* @__PURE__ */
|
|
135
|
+
var fe = "DropdownMenuRadioGroup", E = i.forwardRef((e, o) => {
|
|
136
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
137
|
+
return /* @__PURE__ */ n.jsx(ee, { ...r, ...t, ref: o });
|
|
138
138
|
});
|
|
139
139
|
E.displayName = fe;
|
|
140
|
-
var we = "DropdownMenuRadioItem", O =
|
|
141
|
-
const { __scopeDropdownMenu: a, ...
|
|
142
|
-
return /* @__PURE__ */
|
|
140
|
+
var we = "DropdownMenuRadioItem", O = i.forwardRef((e, o) => {
|
|
141
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
142
|
+
return /* @__PURE__ */ n.jsx(oe, { ...r, ...t, ref: o });
|
|
143
143
|
});
|
|
144
144
|
O.displayName = we;
|
|
145
|
-
var
|
|
146
|
-
const { __scopeDropdownMenu: a, ...
|
|
147
|
-
return /* @__PURE__ */
|
|
145
|
+
var ve = "DropdownMenuItemIndicator", k = i.forwardRef((e, o) => {
|
|
146
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
147
|
+
return /* @__PURE__ */ n.jsx(Z, { ...r, ...t, ref: o });
|
|
148
148
|
});
|
|
149
|
-
k.displayName =
|
|
150
|
-
var
|
|
151
|
-
const { __scopeDropdownMenu: a, ...
|
|
152
|
-
return /* @__PURE__ */
|
|
149
|
+
k.displayName = ve;
|
|
150
|
+
var ge = "DropdownMenuSeparator", T = i.forwardRef((e, o) => {
|
|
151
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
152
|
+
return /* @__PURE__ */ n.jsx(ae, { ...r, ...t, ref: o });
|
|
153
153
|
});
|
|
154
|
-
T.displayName =
|
|
155
|
-
var
|
|
154
|
+
T.displayName = ge;
|
|
155
|
+
var xe = "DropdownMenuArrow", he = i.forwardRef(
|
|
156
156
|
(e, o) => {
|
|
157
|
-
const { __scopeDropdownMenu: a, ...
|
|
158
|
-
return /* @__PURE__ */
|
|
157
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
158
|
+
return /* @__PURE__ */ n.jsx(de, { ...r, ...t, ref: o });
|
|
159
159
|
}
|
|
160
160
|
);
|
|
161
|
-
he.displayName =
|
|
162
|
-
var
|
|
163
|
-
const { __scopeDropdownMenu: o, children: a, open:
|
|
164
|
-
prop:
|
|
161
|
+
he.displayName = xe;
|
|
162
|
+
var be = (e) => {
|
|
163
|
+
const { __scopeDropdownMenu: o, children: a, open: t, onOpenChange: r, defaultOpen: s } = e, u = m(o), [d, c] = b({
|
|
164
|
+
prop: t,
|
|
165
165
|
defaultProp: s ?? !1,
|
|
166
166
|
onChange: r,
|
|
167
167
|
caller: "DropdownMenuSub"
|
|
168
168
|
});
|
|
169
|
-
return /* @__PURE__ */
|
|
170
|
-
},
|
|
171
|
-
const { __scopeDropdownMenu: a, ...
|
|
172
|
-
return /* @__PURE__ */
|
|
169
|
+
return /* @__PURE__ */ n.jsx(ne, { ...u, open: d, onOpenChange: c, children: a });
|
|
170
|
+
}, Me = "DropdownMenuSubTrigger", G = i.forwardRef((e, o) => {
|
|
171
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
172
|
+
return /* @__PURE__ */ n.jsx(te, { ...r, ...t, ref: o });
|
|
173
173
|
});
|
|
174
|
-
G.displayName =
|
|
175
|
-
var
|
|
176
|
-
const { __scopeDropdownMenu: a, ...
|
|
177
|
-
return /* @__PURE__ */
|
|
174
|
+
G.displayName = Me;
|
|
175
|
+
var De = "DropdownMenuSubContent", $ = i.forwardRef((e, o) => {
|
|
176
|
+
const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
|
|
177
|
+
return /* @__PURE__ */ n.jsx(
|
|
178
178
|
re,
|
|
179
179
|
{
|
|
180
180
|
...r,
|
|
181
|
-
...
|
|
181
|
+
...t,
|
|
182
182
|
ref: o,
|
|
183
183
|
style: {
|
|
184
184
|
...e.style,
|
|
@@ -191,22 +191,22 @@ var _e = "DropdownMenuSubContent", z = m.forwardRef((e, o) => {
|
|
|
191
191
|
}
|
|
192
192
|
);
|
|
193
193
|
});
|
|
194
|
-
|
|
195
|
-
var
|
|
194
|
+
$.displayName = De;
|
|
195
|
+
var _e = _, Re = N, L = I, Ne = S, Ie = C, je = y, Se = P, Ce = A, ye = E, Pe = O, z = k, Ae = T, Ee = be, Oe = G, ke = $;
|
|
196
196
|
function He({
|
|
197
197
|
...e
|
|
198
198
|
}) {
|
|
199
|
-
return /* @__PURE__ */
|
|
199
|
+
return /* @__PURE__ */ n.jsx(_e, { "data-slot": "dropdown-menu", ...e });
|
|
200
200
|
}
|
|
201
201
|
function We({
|
|
202
202
|
...e
|
|
203
203
|
}) {
|
|
204
|
-
return /* @__PURE__ */
|
|
204
|
+
return /* @__PURE__ */ n.jsx(L, { "data-slot": "dropdown-menu-portal", ...e });
|
|
205
205
|
}
|
|
206
206
|
function Xe({
|
|
207
207
|
...e
|
|
208
208
|
}) {
|
|
209
|
-
return /* @__PURE__ */
|
|
209
|
+
return /* @__PURE__ */ n.jsx(
|
|
210
210
|
Re,
|
|
211
211
|
{
|
|
212
212
|
"data-slot": "dropdown-menu-trigger",
|
|
@@ -219,18 +219,18 @@ function qe({
|
|
|
219
219
|
sideOffset: o = 4,
|
|
220
220
|
...a
|
|
221
221
|
}) {
|
|
222
|
-
return /* @__PURE__ */
|
|
222
|
+
return /* @__PURE__ */ n.jsx(L, { children: /* @__PURE__ */ n.jsx(
|
|
223
223
|
Ne,
|
|
224
224
|
{
|
|
225
225
|
"data-slot": "dropdown-menu-content",
|
|
226
226
|
sideOffset: o,
|
|
227
|
-
className:
|
|
227
|
+
className: p(
|
|
228
228
|
`
|
|
229
229
|
adm:z-50 adm:max-h-(--radix-dropdown-menu-content-available-height)
|
|
230
230
|
adm:min-w-[8rem]
|
|
231
231
|
adm:origin-(--radix-dropdown-menu-content-transform-origin)
|
|
232
232
|
adm:overflow-x-hidden adm:overflow-y-auto adm:rounded-md adm:border
|
|
233
|
-
adm:bg-popover adm:
|
|
233
|
+
adm:bg-popover adm:text-popover-foreground adm:shadow-xs
|
|
234
234
|
adm:data-[side=bottom]:slide-in-from-top-2
|
|
235
235
|
adm:data-[side=left]:slide-in-from-right-2
|
|
236
236
|
adm:data-[side=right]:slide-in-from-left-2
|
|
@@ -250,45 +250,42 @@ function qe({
|
|
|
250
250
|
function Je({
|
|
251
251
|
...e
|
|
252
252
|
}) {
|
|
253
|
-
return /* @__PURE__ */
|
|
253
|
+
return /* @__PURE__ */ n.jsx(Ie, { "data-slot": "dropdown-menu-group", ...e });
|
|
254
254
|
}
|
|
255
255
|
function Qe({
|
|
256
256
|
className: e,
|
|
257
257
|
inset: o,
|
|
258
258
|
variant: a = "default",
|
|
259
|
-
...
|
|
259
|
+
...t
|
|
260
260
|
}) {
|
|
261
|
-
return /* @__PURE__ */
|
|
261
|
+
return /* @__PURE__ */ n.jsx(
|
|
262
262
|
Se,
|
|
263
263
|
{
|
|
264
264
|
"data-slot": "dropdown-menu-item",
|
|
265
265
|
"data-inset": o,
|
|
266
266
|
"data-variant": a,
|
|
267
|
-
className:
|
|
267
|
+
className: p(
|
|
268
268
|
`
|
|
269
|
-
adm:relative adm:flex adm:cursor-default adm:items-center
|
|
270
|
-
adm:
|
|
271
|
-
adm:
|
|
269
|
+
adm:relative adm:flex adm:h-10 adm:cursor-default adm:items-center
|
|
270
|
+
adm:gap-2 adm:px-3 adm:text-sm adm:outline-hidden adm:select-none
|
|
271
|
+
adm:first:rounded-t-sm
|
|
272
|
+
adm:last:rounded-b-sm
|
|
272
273
|
adm:focus:bg-accent adm:focus:text-accent-foreground
|
|
273
|
-
adm:data-
|
|
274
|
-
adm:data-
|
|
274
|
+
adm:data-disabled:pointer-events-none adm:data-disabled:opacity-50
|
|
275
|
+
adm:data-inset:pl-8
|
|
276
|
+
adm:**:data-[slot=icon]:pointer-events-none
|
|
277
|
+
adm:**:data-[slot=icon]:shrink-0
|
|
275
278
|
adm:data-[variant=destructive]:text-destructive
|
|
276
279
|
adm:data-[variant=destructive]:focus:bg-destructive/10
|
|
277
280
|
adm:data-[variant=destructive]:focus:text-destructive
|
|
278
281
|
adm:dark:data-[variant=destructive]:focus:bg-destructive/20
|
|
279
|
-
adm:[&_[data-slot=icon]]:pointer-events-none
|
|
280
|
-
adm:[&_[data-slot=icon]]:shrink-0
|
|
281
|
-
adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
|
|
282
|
-
adm:[&_[data-slot=icon]:not([class*=text-])]:text-muted-foreground
|
|
283
282
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
284
|
-
adm:[
|
|
285
|
-
adm:[
|
|
286
|
-
adm:data-[variant=destructive]:*:[data-slot=icon]:!text-destructive
|
|
287
|
-
adm:data-[variant=destructive]:*:[svg]:!text-destructive
|
|
283
|
+
adm:data-[variant=destructive]:*:[data-slot=icon]:text-destructive!
|
|
284
|
+
adm:data-[variant=destructive]:*:[svg]:text-destructive!
|
|
288
285
|
`,
|
|
289
286
|
e
|
|
290
287
|
),
|
|
291
|
-
...
|
|
288
|
+
...t
|
|
292
289
|
}
|
|
293
290
|
);
|
|
294
291
|
}
|
|
@@ -296,38 +293,38 @@ function Ve({
|
|
|
296
293
|
className: e,
|
|
297
294
|
children: o,
|
|
298
295
|
checked: a,
|
|
299
|
-
...
|
|
296
|
+
...t
|
|
300
297
|
}) {
|
|
301
|
-
return /* @__PURE__ */
|
|
302
|
-
|
|
298
|
+
return /* @__PURE__ */ n.jsxs(
|
|
299
|
+
Ce,
|
|
303
300
|
{
|
|
304
301
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
305
|
-
className:
|
|
302
|
+
className: p(
|
|
306
303
|
`
|
|
307
|
-
adm:relative adm:flex adm:cursor-default adm:items-center
|
|
308
|
-
adm:
|
|
309
|
-
adm:
|
|
304
|
+
adm:relative adm:flex adm:h-10 adm:cursor-default adm:items-center
|
|
305
|
+
adm:gap-2 adm:pr-10 adm:pl-8 adm:text-sm adm:outline-hidden
|
|
306
|
+
adm:select-none
|
|
307
|
+
adm:first:rounded-t-sm
|
|
308
|
+
adm:last:rounded-b-sm
|
|
310
309
|
adm:focus:bg-accent adm:focus:text-accent-foreground
|
|
311
|
-
adm:data-
|
|
312
|
-
adm
|
|
313
|
-
adm
|
|
314
|
-
adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
|
|
310
|
+
adm:data-disabled:pointer-events-none adm:data-disabled:opacity-50
|
|
311
|
+
adm:**:data-[slot=icon]:pointer-events-none
|
|
312
|
+
adm:**:data-[slot=icon]:shrink-0
|
|
315
313
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
316
|
-
adm:[&_svg:not([class*=size-])]:size-4
|
|
317
314
|
`,
|
|
318
315
|
e
|
|
319
316
|
),
|
|
320
317
|
checked: a,
|
|
321
|
-
...
|
|
318
|
+
...t,
|
|
322
319
|
children: [
|
|
323
|
-
/* @__PURE__ */
|
|
320
|
+
/* @__PURE__ */ n.jsx(
|
|
324
321
|
"span",
|
|
325
322
|
{
|
|
326
323
|
className: `
|
|
327
324
|
adm:pointer-events-none adm:absolute adm:left-2 adm:flex adm:size-3.5
|
|
328
325
|
adm:items-center adm:justify-center
|
|
329
326
|
`,
|
|
330
|
-
children: /* @__PURE__ */
|
|
327
|
+
children: /* @__PURE__ */ n.jsx(z, { children: /* @__PURE__ */ n.jsx(x, { symbol: "check" }) })
|
|
331
328
|
}
|
|
332
329
|
),
|
|
333
330
|
o
|
|
@@ -338,8 +335,8 @@ function Ve({
|
|
|
338
335
|
function Ye({
|
|
339
336
|
...e
|
|
340
337
|
}) {
|
|
341
|
-
return /* @__PURE__ */
|
|
342
|
-
|
|
338
|
+
return /* @__PURE__ */ n.jsx(
|
|
339
|
+
ye,
|
|
343
340
|
{
|
|
344
341
|
"data-slot": "dropdown-menu-radio-group",
|
|
345
342
|
...e
|
|
@@ -351,35 +348,35 @@ function Ze({
|
|
|
351
348
|
children: o,
|
|
352
349
|
...a
|
|
353
350
|
}) {
|
|
354
|
-
return /* @__PURE__ */
|
|
351
|
+
return /* @__PURE__ */ n.jsxs(
|
|
355
352
|
Pe,
|
|
356
353
|
{
|
|
357
354
|
"data-slot": "dropdown-menu-radio-item",
|
|
358
|
-
className:
|
|
355
|
+
className: p(
|
|
359
356
|
`
|
|
360
|
-
adm:relative adm:flex adm:cursor-default adm:items-center
|
|
361
|
-
adm:
|
|
362
|
-
adm:
|
|
357
|
+
adm:relative adm:flex adm:h-10 adm:cursor-default adm:items-center
|
|
358
|
+
adm:gap-2 adm:pr-10 adm:pl-8 adm:text-sm adm:outline-hidden
|
|
359
|
+
adm:select-none
|
|
360
|
+
adm:first:rounded-t-sm
|
|
361
|
+
adm:last:rounded-b-sm
|
|
363
362
|
adm:focus:bg-accent adm:focus:text-accent-foreground
|
|
364
|
-
adm:data-
|
|
365
|
-
adm
|
|
366
|
-
adm
|
|
367
|
-
adm:[&_[data-slot=icon]:not([class*=text-])]:text-sm
|
|
363
|
+
adm:data-disabled:pointer-events-none adm:data-disabled:opacity-50
|
|
364
|
+
adm:**:data-[slot=icon]:pointer-events-none
|
|
365
|
+
adm:**:data-[slot=icon]:shrink-0
|
|
368
366
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
369
|
-
adm:[&_svg:not([class*=size-])]:size-4
|
|
370
367
|
`,
|
|
371
368
|
e
|
|
372
369
|
),
|
|
373
370
|
...a,
|
|
374
371
|
children: [
|
|
375
|
-
/* @__PURE__ */
|
|
372
|
+
/* @__PURE__ */ n.jsx(
|
|
376
373
|
"span",
|
|
377
374
|
{
|
|
378
375
|
className: `
|
|
379
376
|
adm:pointer-events-none adm:absolute adm:left-2 adm:flex adm:size-3.5
|
|
380
377
|
adm:items-center adm:justify-center
|
|
381
378
|
`,
|
|
382
|
-
children: /* @__PURE__ */
|
|
379
|
+
children: /* @__PURE__ */ n.jsx(z, { children: /* @__PURE__ */ n.jsx(x, { symbol: "circle", fill: 1, className: "adm:text-xs" }) })
|
|
383
380
|
}
|
|
384
381
|
),
|
|
385
382
|
o
|
|
@@ -392,15 +389,16 @@ function eo({
|
|
|
392
389
|
inset: o,
|
|
393
390
|
...a
|
|
394
391
|
}) {
|
|
395
|
-
return /* @__PURE__ */
|
|
392
|
+
return /* @__PURE__ */ n.jsx(
|
|
396
393
|
je,
|
|
397
394
|
{
|
|
398
395
|
"data-slot": "dropdown-menu-label",
|
|
399
396
|
"data-inset": o,
|
|
400
|
-
className:
|
|
397
|
+
className: p(
|
|
401
398
|
`
|
|
402
|
-
adm:
|
|
403
|
-
adm:
|
|
399
|
+
adm:flex adm:h-10 adm:items-center adm:px-3 adm:text-sm
|
|
400
|
+
adm:font-medium
|
|
401
|
+
adm:data-inset:pl-8
|
|
404
402
|
`,
|
|
405
403
|
e
|
|
406
404
|
),
|
|
@@ -412,11 +410,11 @@ function oo({
|
|
|
412
410
|
className: e,
|
|
413
411
|
...o
|
|
414
412
|
}) {
|
|
415
|
-
return /* @__PURE__ */
|
|
413
|
+
return /* @__PURE__ */ n.jsx(
|
|
416
414
|
Ae,
|
|
417
415
|
{
|
|
418
416
|
"data-slot": "dropdown-menu-separator",
|
|
419
|
-
className:
|
|
417
|
+
className: p("adm:h-px adm:bg-border", e),
|
|
420
418
|
...o
|
|
421
419
|
}
|
|
422
420
|
);
|
|
@@ -425,11 +423,11 @@ function ao({
|
|
|
425
423
|
className: e,
|
|
426
424
|
...o
|
|
427
425
|
}) {
|
|
428
|
-
return /* @__PURE__ */
|
|
426
|
+
return /* @__PURE__ */ n.jsx(
|
|
429
427
|
"span",
|
|
430
428
|
{
|
|
431
429
|
"data-slot": "dropdown-menu-shortcut",
|
|
432
|
-
className:
|
|
430
|
+
className: p(
|
|
433
431
|
"adm:ml-auto adm:text-xs adm:tracking-widest adm:text-muted-foreground",
|
|
434
432
|
e
|
|
435
433
|
),
|
|
@@ -437,44 +435,42 @@ function ao({
|
|
|
437
435
|
}
|
|
438
436
|
);
|
|
439
437
|
}
|
|
440
|
-
function
|
|
438
|
+
function no({
|
|
441
439
|
...e
|
|
442
440
|
}) {
|
|
443
|
-
return /* @__PURE__ */
|
|
441
|
+
return /* @__PURE__ */ n.jsx(Ee, { "data-slot": "dropdown-menu-sub", ...e });
|
|
444
442
|
}
|
|
445
|
-
function
|
|
443
|
+
function to({
|
|
446
444
|
className: e,
|
|
447
445
|
inset: o,
|
|
448
446
|
children: a,
|
|
449
|
-
...
|
|
447
|
+
...t
|
|
450
448
|
}) {
|
|
451
|
-
return /* @__PURE__ */
|
|
449
|
+
return /* @__PURE__ */ n.jsxs(
|
|
452
450
|
Oe,
|
|
453
451
|
{
|
|
454
452
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
455
453
|
"data-inset": o,
|
|
456
|
-
className:
|
|
454
|
+
className: p(
|
|
457
455
|
`
|
|
458
|
-
adm:flex adm:cursor-default adm:items-center adm:gap-2
|
|
459
|
-
adm:px-
|
|
456
|
+
adm:flex adm:h-10 adm:cursor-default adm:items-center adm:gap-2
|
|
457
|
+
adm:px-3 adm:text-sm adm:outline-hidden adm:select-none
|
|
458
|
+
adm:first:rounded-t-sm
|
|
459
|
+
adm:last:rounded-b-sm
|
|
460
460
|
adm:focus:bg-accent adm:focus:text-accent-foreground
|
|
461
|
-
adm:data-
|
|
461
|
+
adm:data-inset:pl-8
|
|
462
|
+
adm:**:data-[slot=icon]:pointer-events-none
|
|
463
|
+
adm:**:data-[slot=icon]:shrink-0
|
|
462
464
|
adm:data-[state=open]:bg-accent
|
|
463
465
|
adm:data-[state=open]:text-accent-foreground
|
|
464
|
-
adm:[&_[data-slot=icon]]:pointer-events-none
|
|
465
|
-
adm:[&_[data-slot=icon]]:shrink-0
|
|
466
|
-
adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
|
|
467
|
-
adm:[&_[data-slot=icon]:not([class*=text-])]:text-muted-foreground
|
|
468
466
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
469
|
-
adm:[&_svg:not([class*=size-])]:size-4
|
|
470
|
-
adm:[&_svg:not([class*=text-])]:text-muted-foreground
|
|
471
467
|
`,
|
|
472
468
|
e
|
|
473
469
|
),
|
|
474
|
-
...
|
|
470
|
+
...t,
|
|
475
471
|
children: [
|
|
476
472
|
a,
|
|
477
|
-
/* @__PURE__ */
|
|
473
|
+
/* @__PURE__ */ n.jsx(x, { symbol: "chevron_right", className: "adm:ml-auto adm:shrink-0" })
|
|
478
474
|
]
|
|
479
475
|
}
|
|
480
476
|
);
|
|
@@ -483,15 +479,15 @@ function ro({
|
|
|
483
479
|
className: e,
|
|
484
480
|
...o
|
|
485
481
|
}) {
|
|
486
|
-
return /* @__PURE__ */
|
|
482
|
+
return /* @__PURE__ */ n.jsx(
|
|
487
483
|
ke,
|
|
488
484
|
{
|
|
489
485
|
"data-slot": "dropdown-menu-sub-content",
|
|
490
|
-
className:
|
|
486
|
+
className: p(
|
|
491
487
|
`
|
|
492
488
|
adm:z-50 adm:min-w-[8rem]
|
|
493
489
|
adm:origin-(--radix-dropdown-menu-content-transform-origin)
|
|
494
|
-
adm:overflow-hidden adm:rounded-md adm:border adm:bg-popover
|
|
490
|
+
adm:overflow-hidden adm:rounded-md adm:border adm:bg-popover
|
|
495
491
|
adm:text-popover-foreground adm:shadow-xs
|
|
496
492
|
adm:data-[side=bottom]:slide-in-from-top-2
|
|
497
493
|
adm:data-[side=left]:slide-in-from-right-2
|
|
@@ -520,8 +516,8 @@ export {
|
|
|
520
516
|
Ze as DropdownMenuRadioItem,
|
|
521
517
|
oo as DropdownMenuSeparator,
|
|
522
518
|
ao as DropdownMenuShortcut,
|
|
523
|
-
|
|
519
|
+
no as DropdownMenuSub,
|
|
524
520
|
ro as DropdownMenuSubContent,
|
|
525
|
-
|
|
521
|
+
to as DropdownMenuSubTrigger,
|
|
526
522
|
Xe as DropdownMenuTrigger
|
|
527
523
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as i } from "./jsx-runtime-BzflLqGi.js";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as m } from "./index-CRiPKpXj.js";
|
|
4
4
|
import "react";
|
|
5
5
|
function o({ className: a, type: d, ...e }) {
|
|
6
6
|
return /* @__PURE__ */ i.jsx(
|
|
@@ -8,14 +8,15 @@ function o({ className: a, type: d, ...e }) {
|
|
|
8
8
|
{
|
|
9
9
|
type: d,
|
|
10
10
|
"data-slot": "input",
|
|
11
|
-
className:
|
|
11
|
+
className: m(
|
|
12
12
|
`
|
|
13
|
-
adm:h-
|
|
14
|
-
adm:border-input adm:bg-transparent adm:px-3 adm:
|
|
13
|
+
adm:h-10 adm:w-full adm:min-w-0 adm:rounded-md adm:border
|
|
14
|
+
adm:border-input adm:bg-transparent adm:px-3 adm:text-base
|
|
15
15
|
adm:shadow-xs adm:transition-[color,box-shadow] adm:outline-none
|
|
16
16
|
adm:selection:bg-primary adm:selection:text-primary-foreground
|
|
17
|
-
adm:file:
|
|
18
|
-
adm:file:
|
|
17
|
+
adm:file:mr-3 adm:file:-ml-3 adm:file:inline-flex adm:file:h-full
|
|
18
|
+
adm:file:items-center adm:file:border-0 adm:file:bg-transparent
|
|
19
|
+
adm:file:pl-3 adm:file:text-sm adm:file:font-medium
|
|
19
20
|
adm:file:text-foreground
|
|
20
21
|
adm:placeholder:text-muted-foreground
|
|
21
22
|
adm:disabled:pointer-events-none adm:disabled:cursor-not-allowed
|