@adamosuiteservices/ui 2.11.21 → 2.12.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.
Files changed (50) hide show
  1. package/dist/{button-BzVY7053.js → button-CMWUcYpz.js} +54 -54
  2. package/dist/button-CmLeuaI0.cjs +75 -0
  3. package/dist/button-group.cjs +6 -6
  4. package/dist/button-group.js +20 -20
  5. package/dist/button.cjs +1 -1
  6. package/dist/button.js +1 -1
  7. package/dist/{calendar-IAVS_7up.cjs → calendar-DUvRetFW.cjs} +1 -1
  8. package/dist/{calendar-BIttOd3g.js → calendar-yJWQTCer.js} +1 -1
  9. package/dist/calendar.cjs +1 -1
  10. package/dist/calendar.js +1 -1
  11. package/dist/combobox-BhDOduAb.cjs +40 -0
  12. package/dist/{combobox-DI-WK3Ng.js → combobox-CYOGlfQe.js} +91 -88
  13. package/dist/combobox.cjs +1 -1
  14. package/dist/combobox.js +1 -1
  15. package/dist/components/ui/button/button.d.ts +1 -1
  16. package/dist/components/ui/input-otp/index.d.ts +1 -0
  17. package/dist/components/ui/input-otp/input-otp.d.ts +11 -0
  18. package/dist/components/ui/input-otp.d.ts +11 -0
  19. package/dist/context-menu.cjs +38 -36
  20. package/dist/context-menu.js +54 -52
  21. package/dist/date-picker-selector.cjs +1 -1
  22. package/dist/date-picker-selector.js +4 -4
  23. package/dist/dropdown-menu.cjs +48 -52
  24. package/dist/dropdown-menu.js +164 -168
  25. package/dist/{input-DFvZLcgm.js → input-BCiOr4Fy.js} +7 -6
  26. package/dist/{input-CWDpI1Ua.cjs → input-Bz5k4w94.cjs} +7 -6
  27. package/dist/input-group.cjs +5 -5
  28. package/dist/input-group.js +10 -10
  29. package/dist/input-otp.cjs +68 -0
  30. package/dist/input-otp.js +384 -0
  31. package/dist/input.cjs +1 -1
  32. package/dist/input.js +1 -1
  33. package/dist/pagination.cjs +2 -2
  34. package/dist/pagination.js +4 -3
  35. package/dist/select.cjs +22 -20
  36. package/dist/select.js +112 -111
  37. package/dist/sidebar.cjs +1 -1
  38. package/dist/sidebar.js +1 -1
  39. package/dist/styles.css +1 -1
  40. package/docs/components/ui/button-group.md +986 -984
  41. package/docs/components/ui/button.md +1156 -1137
  42. package/docs/components/ui/combobox.md +33 -2
  43. package/docs/components/ui/command.md +484 -454
  44. package/docs/components/ui/context-menu.md +574 -540
  45. package/docs/components/ui/dropdown-menu.md +743 -709
  46. package/docs/components/ui/input.md +362 -362
  47. package/docs/components/ui/select.md +357 -352
  48. package/package.json +8 -3
  49. package/dist/button-B_VHdPPV.cjs +0 -76
  50. package/dist/combobox-DplJzBX6.cjs +0 -37
@@ -1,52 +1,52 @@
1
1
  "use client";
2
- import { j as t } from "./jsx-runtime-BzflLqGi.js";
3
- import * as m from "react";
4
- import { u as M, c as w } from "./index-C0UREtMP.js";
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 b, 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 te, g as ne, f as re, i as de } from "./index-wujanfX3.js";
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 v } from "./icon-DKAhvlX_.js";
11
- import { c as u } from "./index-CRiPKpXj.js";
12
- var g = "DropdownMenu", [se] = B(
13
- g,
14
- [b]
15
- ), i = b(), [me, _] = se(g), D = (e) => {
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: n,
19
+ dir: t,
20
20
  open: r,
21
21
  defaultOpen: s,
22
- onOpenChange: p,
22
+ onOpenChange: u,
23
23
  modal: d = !0
24
- } = e, c = i(o), x = m.useRef(null), [l, f] = M({
24
+ } = e, c = m(o), g = i.useRef(null), [l, f] = b({
25
25
  prop: r,
26
26
  defaultProp: s ?? !1,
27
- onChange: p,
28
- caller: g
27
+ onChange: u,
28
+ caller: v
29
29
  });
30
- return /* @__PURE__ */ t.jsx(
31
- me,
30
+ return /* @__PURE__ */ n.jsx(
31
+ ie,
32
32
  {
33
33
  scope: o,
34
34
  triggerId: h(),
35
- triggerRef: x,
35
+ triggerRef: g,
36
36
  contentId: h(),
37
37
  open: l,
38
38
  onOpenChange: f,
39
- onOpenToggle: m.useCallback(() => f((K) => !K), [f]),
39
+ onOpenToggle: i.useCallback(() => f((K) => !K), [f]),
40
40
  modal: d,
41
- children: /* @__PURE__ */ t.jsx(H, { ...c, open: l, onOpenChange: f, dir: n, modal: d, children: a })
41
+ children: /* @__PURE__ */ n.jsx(H, { ...c, open: l, onOpenChange: f, dir: t, modal: d, children: a })
42
42
  }
43
43
  );
44
44
  };
45
- D.displayName = g;
46
- var R = "DropdownMenuTrigger", N = m.forwardRef(
45
+ _.displayName = v;
46
+ var R = "DropdownMenuTrigger", N = i.forwardRef(
47
47
  (e, o) => {
48
- const { __scopeDropdownMenu: a, disabled: n = !1, ...r } = e, s = _(R, a), p = i(a);
49
- return /* @__PURE__ */ t.jsx(X, { asChild: !0, ...p, children: /* @__PURE__ */ t.jsx(
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": n ? "" : void 0,
59
- disabled: n,
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
- !n && d.button === 0 && d.ctrlKey === !1 && (s.onOpenToggle(), s.open || d.preventDefault());
63
+ !t && d.button === 0 && d.ctrlKey === !1 && (s.onOpenToggle(), s.open || d.preventDefault());
64
64
  }),
65
65
  onKeyDown: w(e.onKeyDown, (d) => {
66
- n || (["Enter", " "].includes(d.key) && s.onOpenToggle(), d.key === "ArrowDown" && s.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
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 ie = "DropdownMenuPortal", I = (e) => {
74
- const { __scopeDropdownMenu: o, ...a } = e, n = i(o);
75
- return /* @__PURE__ */ t.jsx(W, { ...n, ...a });
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 = ie;
78
- var j = "DropdownMenuContent", S = m.forwardRef(
77
+ I.displayName = me;
78
+ var j = "DropdownMenuContent", S = i.forwardRef(
79
79
  (e, o) => {
80
- const { __scopeDropdownMenu: a, ...n } = e, r = _(j, a), s = i(a), p = m.useRef(!1);
81
- return /* @__PURE__ */ t.jsx(
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
- ...n,
87
+ ...t,
88
88
  ref: o,
89
89
  onCloseAutoFocus: w(e.onCloseAutoFocus, (d) => {
90
- p.current || r.triggerRef.current?.focus(), p.current = !1, d.preventDefault();
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, x = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || x;
94
- (!r.modal || l) && (p.current = !0);
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 pe = "DropdownMenuGroup", y = m.forwardRef(
109
+ var ue = "DropdownMenuGroup", C = i.forwardRef(
110
110
  (e, o) => {
111
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
112
- return /* @__PURE__ */ t.jsx(J, { ...r, ...n, ref: o });
111
+ const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
112
+ return /* @__PURE__ */ n.jsx(J, { ...r, ...t, ref: o });
113
113
  }
114
114
  );
115
- y.displayName = pe;
116
- var ue = "DropdownMenuLabel", C = m.forwardRef(
115
+ C.displayName = ue;
116
+ var pe = "DropdownMenuLabel", y = i.forwardRef(
117
117
  (e, o) => {
118
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
119
- return /* @__PURE__ */ t.jsx(Q, { ...r, ...n, ref: o });
118
+ const { __scopeDropdownMenu: a, ...t } = e, r = m(a);
119
+ return /* @__PURE__ */ n.jsx(Q, { ...r, ...t, ref: o });
120
120
  }
121
121
  );
122
- C.displayName = ue;
123
- var ce = "DropdownMenuItem", P = m.forwardRef(
122
+ y.displayName = pe;
123
+ var ce = "DropdownMenuItem", P = i.forwardRef(
124
124
  (e, o) => {
125
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
126
- return /* @__PURE__ */ t.jsx(V, { ...r, ...n, ref: o });
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 = m.forwardRef((e, o) => {
131
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
132
- return /* @__PURE__ */ t.jsx(Y, { ...r, ...n, ref: o });
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 = m.forwardRef((e, o) => {
136
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
137
- return /* @__PURE__ */ t.jsx(ee, { ...r, ...n, ref: o });
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 = m.forwardRef((e, o) => {
141
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
142
- return /* @__PURE__ */ t.jsx(oe, { ...r, ...n, ref: o });
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 ge = "DropdownMenuItemIndicator", k = m.forwardRef((e, o) => {
146
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
147
- return /* @__PURE__ */ t.jsx(Z, { ...r, ...n, ref: o });
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 = ge;
150
- var xe = "DropdownMenuSeparator", T = m.forwardRef((e, o) => {
151
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
152
- return /* @__PURE__ */ t.jsx(ae, { ...r, ...n, ref: o });
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 = xe;
155
- var ve = "DropdownMenuArrow", he = m.forwardRef(
154
+ T.displayName = ge;
155
+ var xe = "DropdownMenuArrow", he = i.forwardRef(
156
156
  (e, o) => {
157
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
158
- return /* @__PURE__ */ t.jsx(de, { ...r, ...n, ref: o });
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 = ve;
162
- var Me = (e) => {
163
- const { __scopeDropdownMenu: o, children: a, open: n, onOpenChange: r, defaultOpen: s } = e, p = i(o), [d, c] = M({
164
- prop: n,
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__ */ t.jsx(te, { ...p, open: d, onOpenChange: c, children: a });
170
- }, be = "DropdownMenuSubTrigger", G = m.forwardRef((e, o) => {
171
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
172
- return /* @__PURE__ */ t.jsx(ne, { ...r, ...n, ref: o });
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 = be;
175
- var _e = "DropdownMenuSubContent", z = m.forwardRef((e, o) => {
176
- const { __scopeDropdownMenu: a, ...n } = e, r = i(a);
177
- return /* @__PURE__ */ t.jsx(
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
- ...n,
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
- z.displayName = _e;
195
- var De = D, Re = N, $ = I, Ne = S, Ie = y, je = C, Se = P, ye = A, Ce = E, Pe = O, L = k, Ae = T, Ee = Me, Oe = G, ke = z;
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__ */ t.jsx(De, { "data-slot": "dropdown-menu", ...e });
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__ */ t.jsx($, { "data-slot": "dropdown-menu-portal", ...e });
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__ */ t.jsx(
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__ */ t.jsx($, { children: /* @__PURE__ */ t.jsx(
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: u(
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:p-1 adm:text-popover-foreground adm:shadow-xs
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__ */ t.jsx(Ie, { "data-slot": "dropdown-menu-group", ...e });
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
- ...n
259
+ ...t
260
260
  }) {
261
- return /* @__PURE__ */ t.jsx(
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: u(
267
+ className: p(
268
268
  `
269
- adm:relative adm:flex adm:cursor-default adm:items-center adm:gap-2
270
- adm:rounded-sm adm:px-2 adm:py-1.5 adm:text-sm adm:outline-hidden
271
- adm:select-none
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-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
274
- adm:data-[inset]:pl-8
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:[&_svg:not([class*=size-])]:size-4
285
- adm:[&_svg:not([class*=text-])]:text-muted-foreground
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
- ...n
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
- ...n
296
+ ...t
300
297
  }) {
301
- return /* @__PURE__ */ t.jsxs(
302
- ye,
298
+ return /* @__PURE__ */ n.jsxs(
299
+ Ce,
303
300
  {
304
301
  "data-slot": "dropdown-menu-checkbox-item",
305
- className: u(
302
+ className: p(
306
303
  `
307
- adm:relative adm:flex adm:cursor-default adm:items-center adm:gap-2
308
- adm:rounded-sm adm:py-1.5 adm:pr-2 adm:pl-8 adm:text-sm
309
- adm:outline-hidden adm:select-none
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-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
312
- adm:[&_[data-slot=icon]]:pointer-events-none
313
- adm:[&_[data-slot=icon]]:shrink-0
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
- ...n,
318
+ ...t,
322
319
  children: [
323
- /* @__PURE__ */ t.jsx(
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__ */ t.jsx(L, { children: /* @__PURE__ */ t.jsx(v, { symbol: "check" }) })
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__ */ t.jsx(
342
- Ce,
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__ */ t.jsxs(
351
+ return /* @__PURE__ */ n.jsxs(
355
352
  Pe,
356
353
  {
357
354
  "data-slot": "dropdown-menu-radio-item",
358
- className: u(
355
+ className: p(
359
356
  `
360
- adm:relative adm:flex adm:cursor-default adm:items-center adm:gap-2
361
- adm:rounded-sm adm:py-1.5 adm:pr-2 adm:pl-8 adm:text-sm
362
- adm:outline-hidden adm:select-none
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-[disabled]:pointer-events-none adm:data-[disabled]:opacity-50
365
- adm:[&_[data-slot=icon]]:pointer-events-none
366
- adm:[&_[data-slot=icon]]:shrink-0
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__ */ t.jsx(
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__ */ t.jsx(L, { children: /* @__PURE__ */ t.jsx(v, { symbol: "circle", fill: 1, className: "adm:text-xs" }) })
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__ */ t.jsx(
392
+ return /* @__PURE__ */ n.jsx(
396
393
  je,
397
394
  {
398
395
  "data-slot": "dropdown-menu-label",
399
396
  "data-inset": o,
400
- className: u(
397
+ className: p(
401
398
  `
402
- adm:px-2 adm:py-1.5 adm:text-sm adm:font-medium
403
- adm:data-[inset]:pl-8
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__ */ t.jsx(
413
+ return /* @__PURE__ */ n.jsx(
416
414
  Ae,
417
415
  {
418
416
  "data-slot": "dropdown-menu-separator",
419
- className: u("adm:-mx-1 adm:my-1 adm:h-px adm:bg-border", e),
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__ */ t.jsx(
426
+ return /* @__PURE__ */ n.jsx(
429
427
  "span",
430
428
  {
431
429
  "data-slot": "dropdown-menu-shortcut",
432
- className: u(
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 to({
438
+ function no({
441
439
  ...e
442
440
  }) {
443
- return /* @__PURE__ */ t.jsx(Ee, { "data-slot": "dropdown-menu-sub", ...e });
441
+ return /* @__PURE__ */ n.jsx(Ee, { "data-slot": "dropdown-menu-sub", ...e });
444
442
  }
445
- function no({
443
+ function to({
446
444
  className: e,
447
445
  inset: o,
448
446
  children: a,
449
- ...n
447
+ ...t
450
448
  }) {
451
- return /* @__PURE__ */ t.jsxs(
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: u(
454
+ className: p(
457
455
  `
458
- adm:flex adm:cursor-default adm:items-center adm:gap-2 adm:rounded-sm
459
- adm:px-2 adm:py-1.5 adm:text-sm adm:outline-hidden adm:select-none
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-[inset]:pl-8
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
- ...n,
470
+ ...t,
475
471
  children: [
476
472
  a,
477
- /* @__PURE__ */ t.jsx(v, { symbol: "chevron_right", className: "adm:ml-auto adm:shrink-0" })
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__ */ t.jsx(
482
+ return /* @__PURE__ */ n.jsx(
487
483
  ke,
488
484
  {
489
485
  "data-slot": "dropdown-menu-sub-content",
490
- className: u(
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 adm:p-1
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
- to as DropdownMenuSub,
519
+ no as DropdownMenuSub,
524
520
  ro as DropdownMenuSubContent,
525
- no as DropdownMenuSubTrigger,
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 r } from "./index-CRiPKpXj.js";
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: r(
11
+ className: m(
12
12
  `
13
- adm:h-9 adm:w-full adm:min-w-0 adm:rounded-md adm:border
14
- adm:border-input adm:bg-transparent adm:px-3 adm:py-1 adm:text-base
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:inline-flex adm:file:h-7 adm:file:border-0
18
- adm:file:bg-transparent adm:file:text-sm adm:file:font-medium
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