laif-ds 0.2.20 → 0.2.21

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 (44) hide show
  1. package/dist/_virtual/index6.js +2 -2
  2. package/dist/_virtual/index7.js +2 -2
  3. package/dist/components/ui/app-stepper.js +212 -0
  4. package/dist/components/ui/stepper.js +387 -0
  5. package/dist/index.d.ts +51 -0
  6. package/dist/index.js +30 -28
  7. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +70 -69
  8. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +24 -25
  9. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +22 -23
  10. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +28 -29
  11. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +1 -2
  12. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +49 -50
  13. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +22 -23
  14. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +6 -7
  15. package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +31 -32
  16. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +56 -57
  17. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +6 -7
  18. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +20 -21
  19. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +12 -13
  20. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +5 -6
  21. package/dist/node_modules/@radix-ui/react-select/dist/index.js +17 -18
  22. package/dist/node_modules/@radix-ui/react-slider/dist/index.js +39 -40
  23. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +12 -13
  24. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +13 -14
  25. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +20 -21
  26. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +8 -9
  27. package/dist/node_modules/cmdk/dist/index.js +2 -2
  28. package/dist/node_modules/eventemitter3/index2.js +1 -1
  29. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  30. package/dist/node_modules/vaul/dist/index.js +1 -1
  31. package/dist/styles.v3.css +1 -1
  32. package/package.json +3 -2
  33. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dialog/dist/index.js +0 -255
  34. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
  35. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
  36. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
  37. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
  38. package/dist/node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
  39. package/dist/node_modules/vaul/node_modules/@radix-ui/react-dialog/dist/index.js +0 -258
  40. package/dist/node_modules/vaul/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
  41. package/dist/node_modules/vaul/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
  42. package/dist/node_modules/vaul/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
  43. package/dist/node_modules/vaul/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
  44. package/dist/node_modules/vaul/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
@@ -3,75 +3,74 @@ import * as i from "react";
3
3
  import { createContextScope as C } from "../../react-context/dist/index.js";
4
4
  import { useCallbackRef as h } from "../../react-use-callback-ref/dist/index.js";
5
5
  import { useLayoutEffect as f } from "../../react-use-layout-effect/dist/index.js";
6
- import { Primitive as v } from "../../react-primitive/dist/index.js";
6
+ import { Primitive as m } from "../../react-primitive/dist/index.js";
7
7
  import { useIsHydrated as _ } from "../../react-use-is-hydrated/dist/index.js";
8
8
  import { jsx as l } from "react/jsx-runtime";
9
- var m = "Avatar", [y, H] = C(m), [x, A] = y(m), L = i.forwardRef(
10
- (e, t) => {
11
- const { __scopeAvatar: o, ...r } = e, [n, a] = i.useState("idle");
9
+ var v = "Avatar", [y] = C(v), [x, A] = y(v), L = i.forwardRef(
10
+ (a, e) => {
11
+ const { __scopeAvatar: o, ...r } = a, [n, t] = i.useState("idle");
12
12
  return /* @__PURE__ */ l(
13
13
  x,
14
14
  {
15
15
  scope: o,
16
16
  imageLoadingStatus: n,
17
- onImageLoadingStatusChange: a,
18
- children: /* @__PURE__ */ l(v.span, { ...r, ref: t })
17
+ onImageLoadingStatusChange: t,
18
+ children: /* @__PURE__ */ l(m.span, { ...r, ref: e })
19
19
  }
20
20
  );
21
21
  }
22
22
  );
23
- L.displayName = m;
23
+ L.displayName = v;
24
24
  var S = "AvatarImage", E = i.forwardRef(
25
- (e, t) => {
25
+ (a, e) => {
26
26
  const { __scopeAvatar: o, src: r, onLoadingStatusChange: n = () => {
27
- }, ...a } = e, u = A(S, o), s = N(r, a), d = h((c) => {
27
+ }, ...t } = a, u = A(S, o), s = N(r, t), d = h((c) => {
28
28
  n(c), u.onImageLoadingStatusChange(c);
29
29
  });
30
30
  return f(() => {
31
31
  s !== "idle" && d(s);
32
- }, [s, d]), s === "loaded" ? /* @__PURE__ */ l(v.img, { ...a, ref: t, src: r }) : null;
32
+ }, [s, d]), s === "loaded" ? /* @__PURE__ */ l(m.img, { ...t, ref: e, src: r }) : null;
33
33
  }
34
34
  );
35
35
  E.displayName = S;
36
36
  var I = "AvatarFallback", R = i.forwardRef(
37
- (e, t) => {
38
- const { __scopeAvatar: o, delayMs: r, ...n } = e, a = A(I, o), [u, s] = i.useState(r === void 0);
37
+ (a, e) => {
38
+ const { __scopeAvatar: o, delayMs: r, ...n } = a, t = A(I, o), [u, s] = i.useState(r === void 0);
39
39
  return i.useEffect(() => {
40
40
  if (r !== void 0) {
41
41
  const d = window.setTimeout(() => s(!0), r);
42
42
  return () => window.clearTimeout(d);
43
43
  }
44
- }, [r]), u && a.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ l(v.span, { ...n, ref: t }) : null;
44
+ }, [r]), u && t.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ l(m.span, { ...n, ref: e }) : null;
45
45
  }
46
46
  );
47
47
  R.displayName = I;
48
- function p(e, t) {
49
- return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
48
+ function p(a, e) {
49
+ return a ? e ? (a.src !== e && (a.src = e), a.complete && a.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
50
50
  }
51
- function N(e, { referrerPolicy: t, crossOrigin: o }) {
52
- const r = _(), n = i.useRef(null), a = r ? (n.current || (n.current = new window.Image()), n.current) : null, [u, s] = i.useState(
53
- () => p(a, e)
51
+ function N(a, { referrerPolicy: e, crossOrigin: o }) {
52
+ const r = _(), n = i.useRef(null), t = r ? (n.current || (n.current = new window.Image()), n.current) : null, [u, s] = i.useState(
53
+ () => p(t, a)
54
54
  );
55
55
  return f(() => {
56
- s(p(a, e));
57
- }, [a, e]), f(() => {
56
+ s(p(t, a));
57
+ }, [t, a]), f(() => {
58
58
  const d = (w) => () => {
59
59
  s(w);
60
60
  };
61
- if (!a) return;
61
+ if (!t) return;
62
62
  const c = d("loaded"), g = d("error");
63
- return a.addEventListener("load", c), a.addEventListener("error", g), t && (a.referrerPolicy = t), typeof o == "string" && (a.crossOrigin = o), () => {
64
- a.removeEventListener("load", c), a.removeEventListener("error", g);
63
+ return t.addEventListener("load", c), t.addEventListener("error", g), e && (t.referrerPolicy = e), typeof o == "string" && (t.crossOrigin = o), () => {
64
+ t.removeEventListener("load", c), t.removeEventListener("error", g);
65
65
  };
66
- }, [a, o, t]), u;
66
+ }, [t, o, e]), u;
67
67
  }
68
- var j = L, B = E, G = R;
68
+ var H = L, j = E, B = R;
69
69
  export {
70
70
  L as Avatar,
71
71
  R as AvatarFallback,
72
72
  E as AvatarImage,
73
- G as Fallback,
74
- B as Image,
75
- j as Root,
76
- H as createAvatarScope
73
+ B as Fallback,
74
+ j as Image,
75
+ H as Root
77
76
  };
@@ -9,7 +9,7 @@ import { useSize as H } from "../../react-use-size/dist/index.js";
9
9
  import { Presence as z } from "../../react-presence/dist/index.js";
10
10
  import { Primitive as P } from "../../react-primitive/dist/index.js";
11
11
  import { jsx as b, jsxs as G, Fragment as K } from "react/jsx-runtime";
12
- var g = "Checkbox", [U, se] = L(g), [X, E] = U(g);
12
+ var g = "Checkbox", [U] = L(g), [X, E] = U(g);
13
13
  function J(t) {
14
14
  const {
15
15
  __scopeCheckbox: a,
@@ -243,7 +243,6 @@ export {
243
243
  V as CheckboxIndicator,
244
244
  V as Indicator,
245
245
  Q as Root,
246
- se as createCheckboxScope,
247
246
  q as unstable_BubbleInput,
248
247
  q as unstable_CheckboxBubbleInput,
249
248
  J as unstable_CheckboxProvider,
@@ -7,17 +7,17 @@ import { createMenuScope as h, Root as X, Anchor as j, Portal as H, Content as W
7
7
  import { useCallbackRef as oe } from "../../react-use-callback-ref/dist/index.js";
8
8
  import { useControllableState as re } from "../../react-use-controllable-state/dist/index.js";
9
9
  import { jsx as u, jsxs as ae, Fragment as ue } from "react/jsx-runtime";
10
- var v = "ContextMenu", [ce, Ae] = B(v, [
10
+ var v = "ContextMenu", [ie] = B(v, [
11
11
  h
12
- ]), c = h(), [ie, g] = ce(v), R = (e) => {
13
- const { __scopeContextMenu: n, children: o, onOpenChange: t, dir: r, modal: d = !0 } = e, [p, i] = a.useState(!1), x = c(n), C = oe(t), s = a.useCallback(
12
+ ]), i = h(), [ce, g] = ie(v), R = (e) => {
13
+ const { __scopeContextMenu: n, children: o, onOpenChange: t, dir: r, modal: d = !0 } = e, [p, c] = a.useState(!1), x = i(n), C = oe(t), s = a.useCallback(
14
14
  (m) => {
15
- i(m), C(m);
15
+ c(m), C(m);
16
16
  },
17
17
  [C]
18
18
  );
19
19
  return /* @__PURE__ */ u(
20
- ie,
20
+ ce,
21
21
  {
22
22
  scope: n,
23
23
  open: p,
@@ -38,15 +38,15 @@ var v = "ContextMenu", [ce, Ae] = B(v, [
38
38
  );
39
39
  };
40
40
  R.displayName = v;
41
- var _ = "ContextMenuTrigger", S = a.forwardRef(
41
+ var _ = "ContextMenuTrigger", P = a.forwardRef(
42
42
  (e, n) => {
43
- const { __scopeContextMenu: o, disabled: t = !1, ...r } = e, d = g(_, o), p = c(o), i = a.useRef({ x: 0, y: 0 }), x = a.useRef({
44
- getBoundingClientRect: () => DOMRect.fromRect({ width: 0, height: 0, ...i.current })
43
+ const { __scopeContextMenu: o, disabled: t = !1, ...r } = e, d = g(_, o), p = i(o), c = a.useRef({ x: 0, y: 0 }), x = a.useRef({
44
+ getBoundingClientRect: () => DOMRect.fromRect({ width: 0, height: 0, ...c.current })
45
45
  }), C = a.useRef(0), s = a.useCallback(
46
46
  () => window.clearTimeout(C.current),
47
47
  []
48
48
  ), m = (l) => {
49
- i.current = { x: l.clientX, y: l.clientY }, d.onOpenChange(!0);
49
+ c.current = { x: l.clientX, y: l.clientY }, d.onOpenChange(!0);
50
50
  };
51
51
  return a.useEffect(() => s, [s]), a.useEffect(() => void (t && s()), [t, s]), /* @__PURE__ */ ae(ue, { children: [
52
52
  /* @__PURE__ */ u(j, { ...p, virtualRef: x }),
@@ -75,15 +75,15 @@ var _ = "ContextMenuTrigger", S = a.forwardRef(
75
75
  ] });
76
76
  }
77
77
  );
78
- S.displayName = _;
79
- var se = "ContextMenuPortal", P = (e) => {
80
- const { __scopeContextMenu: n, ...o } = e, t = c(n);
78
+ P.displayName = _;
79
+ var se = "ContextMenuPortal", S = (e) => {
80
+ const { __scopeContextMenu: n, ...o } = e, t = i(n);
81
81
  return /* @__PURE__ */ u(H, { ...t, ...o });
82
82
  };
83
- P.displayName = se;
83
+ S.displayName = se;
84
84
  var b = "ContextMenuContent", I = a.forwardRef(
85
85
  (e, n) => {
86
- const { __scopeContextMenu: o, ...t } = e, r = g(b, o), d = c(o), p = a.useRef(!1);
86
+ const { __scopeContextMenu: o, ...t } = e, r = g(b, o), d = i(o), p = a.useRef(!1);
87
87
  return /* @__PURE__ */ u(
88
88
  W,
89
89
  {
@@ -93,11 +93,11 @@ var b = "ContextMenuContent", I = a.forwardRef(
93
93
  side: "right",
94
94
  sideOffset: 2,
95
95
  align: "start",
96
- onCloseAutoFocus: (i) => {
97
- e.onCloseAutoFocus?.(i), !i.defaultPrevented && p.current && i.preventDefault(), p.current = !1;
96
+ onCloseAutoFocus: (c) => {
97
+ e.onCloseAutoFocus?.(c), !c.defaultPrevented && p.current && c.preventDefault(), p.current = !1;
98
98
  },
99
- onInteractOutside: (i) => {
100
- e.onInteractOutside?.(i), !i.defaultPrevented && !r.modal && (p.current = !0);
99
+ onInteractOutside: (c) => {
100
+ e.onInteractOutside?.(c), !c.defaultPrevented && !r.modal && (p.current = !0);
101
101
  },
102
102
  style: {
103
103
  ...e.style,
@@ -114,74 +114,74 @@ var b = "ContextMenuContent", I = a.forwardRef(
114
114
  I.displayName = b;
115
115
  var pe = "ContextMenuGroup", N = a.forwardRef(
116
116
  (e, n) => {
117
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
117
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
118
118
  return /* @__PURE__ */ u(Q, { ...r, ...t, ref: n });
119
119
  }
120
120
  );
121
121
  N.displayName = pe;
122
122
  var de = "ContextMenuLabel", w = a.forwardRef(
123
123
  (e, n) => {
124
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
124
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
125
125
  return /* @__PURE__ */ u(z, { ...r, ...t, ref: n });
126
126
  }
127
127
  );
128
128
  w.displayName = de;
129
129
  var le = "ContextMenuItem", A = a.forwardRef(
130
130
  (e, n) => {
131
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
131
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
132
132
  return /* @__PURE__ */ u($, { ...r, ...t, ref: n });
133
133
  }
134
134
  );
135
135
  A.displayName = le;
136
136
  var xe = "ContextMenuCheckboxItem", E = a.forwardRef((e, n) => {
137
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
137
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
138
138
  return /* @__PURE__ */ u(K, { ...r, ...t, ref: n });
139
139
  });
140
140
  E.displayName = xe;
141
141
  var Ce = "ContextMenuRadioGroup", O = a.forwardRef((e, n) => {
142
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
142
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
143
143
  return /* @__PURE__ */ u(te, { ...r, ...t, ref: n });
144
144
  });
145
145
  O.displayName = Ce;
146
146
  var me = "ContextMenuRadioItem", T = a.forwardRef((e, n) => {
147
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
147
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
148
148
  return /* @__PURE__ */ u(q, { ...r, ...t, ref: n });
149
149
  });
150
150
  T.displayName = me;
151
151
  var fe = "ContextMenuItemIndicator", y = a.forwardRef((e, n) => {
152
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
152
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
153
153
  return /* @__PURE__ */ u(Y, { ...r, ...t, ref: n });
154
154
  });
155
155
  y.displayName = fe;
156
156
  var Me = "ContextMenuSeparator", G = a.forwardRef((e, n) => {
157
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
157
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
158
158
  return /* @__PURE__ */ u(J, { ...r, ...t, ref: n });
159
159
  });
160
160
  G.displayName = Me;
161
161
  var ve = "ContextMenuArrow", he = a.forwardRef(
162
162
  (e, n) => {
163
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
163
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
164
164
  return /* @__PURE__ */ u(ne, { ...r, ...t, ref: n });
165
165
  }
166
166
  );
167
167
  he.displayName = ve;
168
168
  var k = "ContextMenuSub", D = (e) => {
169
- const { __scopeContextMenu: n, children: o, onOpenChange: t, open: r, defaultOpen: d } = e, p = c(n), [i, x] = re({
169
+ const { __scopeContextMenu: n, children: o, onOpenChange: t, open: r, defaultOpen: d } = e, p = i(n), [c, x] = re({
170
170
  prop: r,
171
171
  defaultProp: d ?? !1,
172
172
  onChange: t,
173
173
  caller: k
174
174
  });
175
- return /* @__PURE__ */ u(V, { ...p, open: i, onOpenChange: x, children: o });
175
+ return /* @__PURE__ */ u(V, { ...p, open: c, onOpenChange: x, children: o });
176
176
  };
177
177
  D.displayName = k;
178
178
  var ge = "ContextMenuSubTrigger", L = a.forwardRef((e, n) => {
179
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
179
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
180
180
  return /* @__PURE__ */ u(ee, { ...r, ...t, ref: n });
181
181
  });
182
182
  L.displayName = ge;
183
183
  var Re = "ContextMenuSubContent", U = a.forwardRef((e, n) => {
184
- const { __scopeContextMenu: o, ...t } = e, r = c(o);
184
+ const { __scopeContextMenu: o, ...t } = e, r = i(o);
185
185
  return /* @__PURE__ */ u(
186
186
  Z,
187
187
  {
@@ -203,10 +203,10 @@ U.displayName = Re;
203
203
  function M(e) {
204
204
  return (n) => n.pointerType !== "mouse" ? e(n) : void 0;
205
205
  }
206
- var Ee = R, Oe = S, Te = P, ye = I, Ge = N, ke = w, De = A, Le = E, Ue = O, Be = T, Fe = y, Xe = G, je = D, He = L, We = U;
206
+ var Ae = R, Ee = P, Oe = S, Te = I, ye = N, Ge = w, ke = A, De = E, Le = O, Ue = T, Be = y, Fe = G, Xe = D, je = L, He = U;
207
207
  export {
208
- Le as CheckboxItem,
209
- ye as Content,
208
+ De as CheckboxItem,
209
+ Te as Content,
210
210
  R as ContextMenu,
211
211
  he as ContextMenuArrow,
212
212
  E as ContextMenuCheckboxItem,
@@ -215,26 +215,25 @@ export {
215
215
  A as ContextMenuItem,
216
216
  y as ContextMenuItemIndicator,
217
217
  w as ContextMenuLabel,
218
- P as ContextMenuPortal,
218
+ S as ContextMenuPortal,
219
219
  O as ContextMenuRadioGroup,
220
220
  T as ContextMenuRadioItem,
221
221
  G as ContextMenuSeparator,
222
222
  D as ContextMenuSub,
223
223
  U as ContextMenuSubContent,
224
224
  L as ContextMenuSubTrigger,
225
- S as ContextMenuTrigger,
226
- Ge as Group,
227
- De as Item,
228
- Fe as ItemIndicator,
229
- ke as Label,
230
- Te as Portal,
231
- Ue as RadioGroup,
232
- Be as RadioItem,
233
- Ee as Root,
234
- Xe as Separator,
235
- je as Sub,
236
- We as SubContent,
237
- He as SubTrigger,
238
- Oe as Trigger,
239
- Ae as createContextMenuScope
225
+ P as ContextMenuTrigger,
226
+ ye as Group,
227
+ ke as Item,
228
+ Be as ItemIndicator,
229
+ Ge as Label,
230
+ Oe as Portal,
231
+ Le as RadioGroup,
232
+ Ue as RadioItem,
233
+ Ae as Root,
234
+ Fe as Separator,
235
+ Xe as Sub,
236
+ He as SubContent,
237
+ je as SubTrigger,
238
+ Ee as Trigger
240
239
  };
@@ -8,7 +8,7 @@ import { Primitive as K } from "../../react-primitive/dist/index.js";
8
8
  import { createMenuScope as g, Root as U, Anchor as B, Portal as F, Content as H, Item as W, Label as $, Separator as j, Group as X, CheckboxItem as q, RadioGroup as z, RadioItem as J, ItemIndicator as Q, Arrow as V, SubTrigger as Y, SubContent as Z } from "../../react-menu/dist/index.js";
9
9
  import { useId as v } from "../../react-id/dist/index.js";
10
10
  import { jsx as a } from "react/jsx-runtime";
11
- var f = "DropdownMenu", [oo, Co] = k(
11
+ var f = "DropdownMenu", [oo] = k(
12
12
  f,
13
13
  [g]
14
14
  ), i = g(), [eo, D] = oo(f), _ = (o) => {
@@ -74,7 +74,7 @@ var ro = "DropdownMenuPortal", I = (o) => {
74
74
  return /* @__PURE__ */ a(F, { ...e, ...r });
75
75
  };
76
76
  I.displayName = ro;
77
- var b = "DropdownMenuContent", S = p.forwardRef(
77
+ var b = "DropdownMenuContent", C = p.forwardRef(
78
78
  (o, n) => {
79
79
  const { __scopeDropdownMenu: r, ...e } = o, t = D(b, r), u = i(r), s = p.useRef(!1);
80
80
  return /* @__PURE__ */ a(
@@ -104,7 +104,7 @@ var b = "DropdownMenuContent", S = p.forwardRef(
104
104
  );
105
105
  }
106
106
  );
107
- S.displayName = b;
107
+ C.displayName = b;
108
108
  var no = "DropdownMenuGroup", to = p.forwardRef(
109
109
  (o, n) => {
110
110
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
@@ -112,20 +112,20 @@ var no = "DropdownMenuGroup", to = p.forwardRef(
112
112
  }
113
113
  );
114
114
  to.displayName = no;
115
- var ao = "DropdownMenuLabel", C = p.forwardRef(
115
+ var ao = "DropdownMenuLabel", N = p.forwardRef(
116
116
  (o, n) => {
117
117
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
118
118
  return /* @__PURE__ */ a($, { ...t, ...e, ref: n });
119
119
  }
120
120
  );
121
- C.displayName = ao;
122
- var po = "DropdownMenuItem", N = p.forwardRef(
121
+ N.displayName = ao;
122
+ var po = "DropdownMenuItem", S = p.forwardRef(
123
123
  (o, n) => {
124
124
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
125
125
  return /* @__PURE__ */ a(W, { ...t, ...e, ref: n });
126
126
  }
127
127
  );
128
- N.displayName = po;
128
+ S.displayName = po;
129
129
  var io = "DropdownMenuCheckboxItem", x = p.forwardRef((o, n) => {
130
130
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
131
131
  return /* @__PURE__ */ a(q, { ...t, ...e, ref: n });
@@ -183,18 +183,18 @@ var vo = "DropdownMenuSubContent", O = p.forwardRef((o, n) => {
183
183
  );
184
184
  });
185
185
  O.displayName = vo;
186
- var No = _, xo = h, Ao = I, Eo = S, Po = C, yo = N, Oo = x, To = A, Go = E, ko = P, Lo = y, Ko = O;
186
+ var No = _, So = h, xo = I, Ao = C, Eo = N, Po = S, yo = x, Oo = A, To = E, Go = P, ko = y, Lo = O;
187
187
  export {
188
- Oo as CheckboxItem,
189
- Eo as Content,
188
+ yo as CheckboxItem,
189
+ Ao as Content,
190
190
  _ as DropdownMenu,
191
191
  fo as DropdownMenuArrow,
192
192
  x as DropdownMenuCheckboxItem,
193
- S as DropdownMenuContent,
193
+ C as DropdownMenuContent,
194
194
  to as DropdownMenuGroup,
195
- N as DropdownMenuItem,
195
+ S as DropdownMenuItem,
196
196
  E as DropdownMenuItemIndicator,
197
- C as DropdownMenuLabel,
197
+ N as DropdownMenuLabel,
198
198
  I as DropdownMenuPortal,
199
199
  so as DropdownMenuRadioGroup,
200
200
  A as DropdownMenuRadioItem,
@@ -202,15 +202,14 @@ export {
202
202
  O as DropdownMenuSubContent,
203
203
  y as DropdownMenuSubTrigger,
204
204
  h as DropdownMenuTrigger,
205
- yo as Item,
206
- Go as ItemIndicator,
207
- Po as Label,
208
- Ao as Portal,
209
- To as RadioItem,
205
+ Po as Item,
206
+ To as ItemIndicator,
207
+ Eo as Label,
208
+ xo as Portal,
209
+ Oo as RadioItem,
210
210
  No as Root,
211
- ko as Separator,
212
- Ko as SubContent,
213
- Lo as SubTrigger,
214
- xo as Trigger,
215
- Co as createDropdownMenuScope
211
+ Go as Separator,
212
+ Lo as SubContent,
213
+ ko as SubTrigger,
214
+ So as Trigger
216
215
  };
@@ -10,7 +10,7 @@ import { Presence as H } from "../../react-presence/dist/index.js";
10
10
  import { Primitive as $ } from "../../react-primitive/dist/index.js";
11
11
  import { DismissableLayer as j } from "../../react-dismissable-layer/dist/index.js";
12
12
  import { jsx as i } from "react/jsx-runtime";
13
- var g, w = "HoverCard", [O, le] = k(w, [
13
+ var g, w = "HoverCard", [O] = k(w, [
14
14
  T
15
15
  ]), b = T(), [V, E] = O(w), _ = (e) => {
16
16
  const {
@@ -173,16 +173,15 @@ function Y(e) {
173
173
  for (; t.nextNode(); ) o.push(t.currentNode);
174
174
  return o;
175
175
  }
176
- var de = _, ue = N, pe = D, fe = A;
176
+ var le = _, de = N, ue = D, pe = A;
177
177
  export {
178
- fe as Content,
178
+ pe as Content,
179
179
  _ as HoverCard,
180
180
  X as HoverCardArrow,
181
181
  A as HoverCardContent,
182
182
  D as HoverCardPortal,
183
183
  N as HoverCardTrigger,
184
- pe as Portal,
185
- de as Root,
186
- ue as Trigger,
187
- le as createHoverCardScope
184
+ ue as Portal,
185
+ le as Root,
186
+ de as Trigger
188
187
  };
@@ -5,16 +5,16 @@ import { useDirection as ae } from "../../react-direction/dist/index.js";
5
5
  import { composeEventHandlers as h } from "../../primitive/dist/index.js";
6
6
  import { useComposedRefs as oe } from "../../react-compose-refs/dist/index.js";
7
7
  import { createContextScope as ne } from "../../react-context/dist/index.js";
8
- import { useId as I } from "../../react-id/dist/index.js";
9
- import { createMenuScope as te, Root as ue, Anchor as se, Content as ie, Item as ce, Separator as pe, Label as le, CheckboxItem as de, ItemIndicator as be, RadioItem as me, RadioGroup as fe, Portal as ve, SubContent as Me, SubTrigger as ge, Group as he, Sub as Re, Arrow as Se } from "../../react-menu/dist/index.js";
10
- import { createRovingFocusGroupScope as O, Root as _e, Item as Ie } from "../../react-roving-focus/dist/index.js";
8
+ import { useId as S } from "../../react-id/dist/index.js";
9
+ import { createMenuScope as te, Root as ue, Anchor as se, Content as ie, Item as ce, Separator as pe, Label as le, CheckboxItem as de, ItemIndicator as be, RadioItem as me, RadioGroup as fe, Portal as ve, SubContent as Me, SubTrigger as ge, Group as he, Sub as Re, Arrow as _e } from "../../react-menu/dist/index.js";
10
+ import { createRovingFocusGroupScope as O, Root as Ie, Item as Se } from "../../react-roving-focus/dist/index.js";
11
11
  import { Primitive as T } from "../../react-primitive/dist/index.js";
12
12
  import { useControllableState as G } from "../../react-use-controllable-state/dist/index.js";
13
13
  import { jsx as t } from "react/jsx-runtime";
14
- var S = "Menubar", [C, Ce, xe] = re(S), [D, er] = ne(S, [
14
+ var _ = "Menubar", [C, Ce, xe] = re(_), [D] = ne(_, [
15
15
  xe,
16
16
  O
17
- ]), p = te(), k = O(), [we, A] = D(S), K = u.forwardRef(
17
+ ]), p = te(), k = O(), [we, A] = D(_), K = u.forwardRef(
18
18
  (e, o) => {
19
19
  const {
20
20
  __scopeMenubar: r,
@@ -28,7 +28,7 @@ var S = "Menubar", [C, Ce, xe] = re(S), [D, er] = ne(S, [
28
28
  prop: a,
29
29
  onChange: n,
30
30
  defaultProp: M ?? "",
31
- caller: S
31
+ caller: _
32
32
  }), [v, d] = u.useState(null);
33
33
  return /* @__PURE__ */ t(
34
34
  we,
@@ -51,7 +51,7 @@ var S = "Menubar", [C, Ce, xe] = re(S), [D, er] = ne(S, [
51
51
  dir: b,
52
52
  loop: l,
53
53
  children: /* @__PURE__ */ t(C.Provider, { scope: r, children: /* @__PURE__ */ t(C.Slot, { scope: r, children: /* @__PURE__ */ t(
54
- _e,
54
+ Ie,
55
55
  {
56
56
  asChild: !0,
57
57
  ...i,
@@ -67,9 +67,9 @@ var S = "Menubar", [C, Ce, xe] = re(S), [D, er] = ne(S, [
67
67
  );
68
68
  }
69
69
  );
70
- K.displayName = S;
70
+ K.displayName = _;
71
71
  var N = "MenubarMenu", [Ae, F] = D(N), L = (e) => {
72
- const { __scopeMenubar: o, value: r, ...a } = e, n = I(), M = r || n || "LEGACY_REACT_AUTO_VALUE", l = A(N, o), c = p(o), s = u.useRef(null), b = u.useRef(!1), i = l.value === M;
72
+ const { __scopeMenubar: o, value: r, ...a } = e, n = S(), M = r || n || "LEGACY_REACT_AUTO_VALUE", l = A(N, o), c = p(o), s = u.useRef(null), b = u.useRef(!1), i = l.value === M;
73
73
  return u.useEffect(() => {
74
74
  i || (b.current = !1);
75
75
  }, [i]), /* @__PURE__ */ t(
@@ -77,9 +77,9 @@ var N = "MenubarMenu", [Ae, F] = D(N), L = (e) => {
77
77
  {
78
78
  scope: o,
79
79
  value: M,
80
- triggerId: I(),
80
+ triggerId: S(),
81
81
  triggerRef: s,
82
- contentId: I(),
82
+ contentId: S(),
83
83
  wasKeyboardTriggerOpenRef: b,
84
84
  children: /* @__PURE__ */ t(
85
85
  ue,
@@ -102,7 +102,7 @@ var x = "MenubarTrigger", B = u.forwardRef(
102
102
  (e, o) => {
103
103
  const { __scopeMenubar: r, disabled: a = !1, ...n } = e, M = k(r), l = p(r), c = A(x, r), s = F(x, r), b = u.useRef(null), i = oe(o, b, s.triggerRef), [f, m] = u.useState(!1), v = c.value === s.value;
104
104
  return /* @__PURE__ */ t(C.ItemSlot, { scope: r, value: s.value, disabled: a, children: /* @__PURE__ */ t(
105
- Ie,
105
+ Se,
106
106
  {
107
107
  asChild: !0,
108
108
  ...M,
@@ -178,7 +178,7 @@ var w = "MenubarContent", V = u.forwardRef(
178
178
  if (["ArrowRight", "ArrowLeft"].includes(i.key)) {
179
179
  const f = i.target, m = f.hasAttribute("data-radix-menubar-subtrigger"), v = f.closest("[data-radix-menubar-content]") !== i.currentTarget, g = (l.dir === "rtl" ? "ArrowRight" : "ArrowLeft") === i.key;
180
180
  if (!g && m || v && g) return;
181
- let R = s().filter((_) => !_.disabled).map((_) => _.value);
181
+ let R = s().filter((I) => !I.disabled).map((I) => I.value);
182
182
  g && R.reverse();
183
183
  const P = R.indexOf(c.value);
184
184
  R = l.loop ? Ue(R, P + 1) : R.slice(P + 1);
@@ -258,7 +258,7 @@ q.displayName = ke;
258
258
  var Ke = "MenubarArrow", Fe = u.forwardRef(
259
259
  (e, o) => {
260
260
  const { __scopeMenubar: r, ...a } = e, n = p(r);
261
- return /* @__PURE__ */ t(Se, { ...n, ...a, ref: o });
261
+ return /* @__PURE__ */ t(_e, { ...n, ...a, ref: o });
262
262
  }
263
263
  );
264
264
  Fe.displayName = Ke;
@@ -313,15 +313,15 @@ ee.displayName = Be;
313
313
  function Ue(e, o) {
314
314
  return e.map((r, a) => e[(o + a) % e.length]);
315
315
  }
316
- var rr = K, ar = L, or = B, nr = U, tr = V, ur = H, sr = $, ir = j, cr = z, pr = W, lr = X, dr = Y, br = q, mr = Q, fr = Z, vr = ee;
316
+ var er = K, rr = L, ar = B, or = U, nr = V, tr = H, ur = $, sr = j, ir = z, cr = W, pr = X, lr = Y, dr = q, br = Q, mr = Z, fr = ee;
317
317
  export {
318
- cr as CheckboxItem,
319
- tr as Content,
320
- ur as Group,
321
- ir as Item,
322
- dr as ItemIndicator,
323
- sr as Label,
324
- ar as Menu,
318
+ ir as CheckboxItem,
319
+ nr as Content,
320
+ tr as Group,
321
+ sr as Item,
322
+ lr as ItemIndicator,
323
+ ur as Label,
324
+ rr as Menu,
325
325
  K as Menubar,
326
326
  Fe as MenubarArrow,
327
327
  z as MenubarCheckboxItem,
@@ -339,14 +339,13 @@ export {
339
339
  ee as MenubarSubContent,
340
340
  Z as MenubarSubTrigger,
341
341
  B as MenubarTrigger,
342
- nr as Portal,
343
- pr as RadioGroup,
344
- lr as RadioItem,
345
- rr as Root,
346
- br as Separator,
347
- mr as Sub,
348
- vr as SubContent,
349
- fr as SubTrigger,
350
- or as Trigger,
351
- er as createMenubarScope
342
+ or as Portal,
343
+ cr as RadioGroup,
344
+ pr as RadioItem,
345
+ er as Root,
346
+ dr as Separator,
347
+ br as Sub,
348
+ fr as SubContent,
349
+ mr as SubTrigger,
350
+ ar as Trigger
352
351
  };