@fluid-app/fluid-cli-theme-dev 0.1.412 → 0.1.414

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 (54) hide show
  1. package/dist/dist-cli-preview/.vite/manifest.json +271 -271
  2. package/dist/dist-cli-preview/account-screens.js +1 -1
  3. package/dist/dist-cli-preview/chunks/{Breadcrumb-DLYQ2Vr1.js → Breadcrumb-D_SqXp7d.js} +1 -1
  4. package/dist/dist-cli-preview/chunks/{Combobox-I60LziKt.js → Combobox-Km3Vrphp.js} +41 -41
  5. package/dist/dist-cli-preview/chunks/{ContactsScreen-WtiSee_0.js → ContactsScreen-kuRxflCD.js} +85 -85
  6. package/dist/dist-cli-preview/chunks/MediaScreen-BvJdBMeQ.js +8 -0
  7. package/dist/dist-cli-preview/chunks/{MemberManagementProviders-CVQJ5r99.js → MemberManagementProviders-BS6VVAvZ.js} +6 -6
  8. package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-Dx1NDGIe.js → MemberShareablesScreen-DMuIxGxX.js} +21 -21
  9. package/dist/dist-cli-preview/chunks/{MessagingScreen-m2r-29Lc.js → MessagingScreen-BKHqT1Ej.js} +2460 -2494
  10. package/dist/dist-cli-preview/chunks/{MobileActionSheet-k67c8wJk.js → MobileActionSheet-CBoGiv4j.js} +2 -2
  11. package/dist/dist-cli-preview/chunks/{MySiteScreen-DnQNCsOZ.js → MySiteScreen-Ch1cOkKp.js} +13 -13
  12. package/dist/dist-cli-preview/chunks/OrdersScreen-BGgj4BZS.js +9 -0
  13. package/dist/dist-cli-preview/chunks/{OrdersScreen-DwrvoBJM.js → OrdersScreen-DFqHUrkC.js} +7 -7
  14. package/dist/dist-cli-preview/chunks/PlaylistsScreen-Bx1XIkZA.js +8 -0
  15. package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-JAGrume8.js → PortalTenantClientProvider-DWOzWTBJ.js} +1 -1
  16. package/dist/dist-cli-preview/chunks/{ProfileScreen-mUxxDKgU.js → ProfileScreen-C_gqCV47.js} +15 -15
  17. package/dist/dist-cli-preview/chunks/{Select-97UR3puI.js → Select-sVTiAmsy.js} +87 -87
  18. package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Cukgjsh8.js → SubscriptionsScreen-DiXGHeoZ.js} +3 -3
  19. package/dist/dist-cli-preview/chunks/{Textarea-DlTzkeqw.js → Textarea-D-fkMEdH.js} +26 -26
  20. package/dist/dist-cli-preview/chunks/{account-screen-runtime-CVtcJ0Fb.js → account-screen-runtime-BjzMc3GU.js} +2326 -2268
  21. package/dist/dist-cli-preview/chunks/{arrow-left-CVKbyXG0.js → arrow-left-D62DJteK.js} +1 -1
  22. package/dist/dist-cli-preview/chunks/{cli-preview-CeoIev-9.js → cli-preview-c45YGC1E.js} +9 -9
  23. package/dist/dist-cli-preview/chunks/{client.gen-CTq48a_5.js → client.gen-DfWiOTes.js} +1 -1
  24. package/dist/dist-cli-preview/chunks/{copy-Cb0EF4FY.js → copy-zqKnEIeM.js} +1 -1
  25. package/dist/dist-cli-preview/chunks/{countries-api-adapter-39yd7wyu.js → countries-api-adapter-DRty_8ei.js} +2 -2
  26. package/dist/dist-cli-preview/chunks/{create-card-entry-container-Bsk4bByi.js → create-card-entry-container-4VLe3B5O.js} +19472 -19478
  27. package/dist/dist-cli-preview/chunks/{eye-Br576SOE.js → eye-Ce93vUsx.js} +1 -1
  28. package/dist/dist-cli-preview/chunks/{hey-api-client-s8usE_Di.js → hey-api-client-GUem9W6L.js} +1 -1
  29. package/dist/dist-cli-preview/chunks/{index-twP43mON.js → index-BF-Yok75.js} +13 -13
  30. package/dist/dist-cli-preview/chunks/{index-CpV8WNR4.js → index-B_xDY7q5.js} +3 -3
  31. package/dist/dist-cli-preview/chunks/{index-oaLlxtXm.js → index-DotYg_8P.js} +1 -1
  32. package/dist/dist-cli-preview/chunks/lock-B3ps7XBv.js +14 -0
  33. package/dist/dist-cli-preview/chunks/{log-out-uqUyU7ZP.js → log-out-CDzQuZ5N.js} +1 -1
  34. package/dist/dist-cli-preview/chunks/{map-pin-FwB95jm4.js → map-pin-C_2_P4BZ.js} +1 -1
  35. package/dist/dist-cli-preview/chunks/{mount-account-screen-CjAYZk9H.js → mount-account-screen-DLu4WsoN.js} +8 -8
  36. package/dist/dist-cli-preview/chunks/{navigate-account-screen-BXmIYqHb.js → navigate-account-screen-Zm16FA01.js} +1 -1
  37. package/dist/dist-cli-preview/chunks/{schemas-CK5ZjT20.js → schemas-CcDaDYH8.js} +3 -3
  38. package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-MtfouJSS.js → screen-route-slug-utils-CKharc6_.js} +1 -1
  39. package/dist/dist-cli-preview/chunks/{sheet-haptics-context-N2vLfwOc.js → sheet-haptics-context-DTfySPrq.js} +1 -1
  40. package/dist/dist-cli-preview/chunks/{sidebar-D8LwwiTr.js → sidebar-CkC-f9zG.js} +10 -10
  41. package/dist/dist-cli-preview/chunks/{sortable.esm-jbVNBxCA.js → sortable.esm-e9hcrOle.js} +2 -2
  42. package/dist/dist-cli-preview/chunks/{store-api-context-DhtPESgY.js → store-api-context-CDtl_X71.js} +1 -1
  43. package/dist/dist-cli-preview/chunks/{trash-2-f4dJpepX.js → trash-2-C5c1weGY.js} +6 -6
  44. package/dist/dist-cli-preview/chunks/{use-mobile-C4O5e0kh.js → use-mobile-DF76-293.js} +3 -3
  45. package/dist/dist-cli-preview/chunks/{use-optional-store-qUug8CSx.js → use-optional-store-DT9WAQPd.js} +2 -2
  46. package/dist/dist-cli-preview/chunks/{use-store-B00K7G5q.js → use-store-DUukxuYV.js} +3 -3
  47. package/dist/dist-cli-preview/chunks/{useInfiniteQuery-pbRaLvNe.js → useInfiniteQuery-CDXQnWw0.js} +1 -1
  48. package/dist/dist-cli-preview/chunks/{user-CRiDn40l.js → user-B-jZvwGL.js} +1 -1
  49. package/dist/dist-cli-preview/chunks/{users-BMdwEKKP.js → users-TuK7MiQN.js} +1 -1
  50. package/package.json +2 -2
  51. package/dist/dist-cli-preview/chunks/MediaScreen-D_u5SsOy.js +0 -8
  52. package/dist/dist-cli-preview/chunks/OrdersScreen-DTTgCZ0g.js +0 -9
  53. package/dist/dist-cli-preview/chunks/PlaylistsScreen-DBcGwbRP.js +0 -8
  54. package/dist/dist-cli-preview/chunks/isAfter-DAVNjOeD.js +0 -1324
@@ -1 +1 @@
1
- import "./chunks/cli-preview-CeoIev-9.js";
1
+ import "./chunks/cli-preview-c45YGC1E.js";
@@ -1,4 +1,4 @@
1
- import { j as e, M as t, aC as o, R as u } from "./account-screen-runtime-CVtcJ0Fb.js";
1
+ import { j as e, M as t, aZ as o, R as u } from "./account-screen-runtime-BjzMc3GU.js";
2
2
  function i({
3
3
  ...a
4
4
  }) {
@@ -1,7 +1,7 @@
1
- import { c as he, l, aG as F, aR as M, aS as Se, aT as Ie, aU as Re, a4 as je, aV as O, j as y, M as R } from "./account-screen-runtime-CVtcJ0Fb.js";
2
- import { S as Me } from "./useInfiniteQuery-pbRaLvNe.js";
3
- import { P as Ae, g as Ne, C as $e, h as De } from "./MobileActionSheet-k67c8wJk.js";
4
- import { C as Le } from "./schemas-CK5ZjT20.js";
1
+ import { c as he, l, ba as F, bl as R, bm as Se, bn as Ie, bo as je, a4 as Me, bp as V, j as y, M as j } from "./account-screen-runtime-BjzMc3GU.js";
2
+ import { S as Re } from "./useInfiniteQuery-CDXQnWw0.js";
3
+ import { P as Ae, g as Ne, C as $e, h as De } from "./MobileActionSheet-CBoGiv4j.js";
4
+ import { C as Le } from "./schemas-CcDaDYH8.js";
5
5
  /**
6
6
  * @license lucide-react v0.575.0 - ISC
7
7
  *
@@ -32,12 +32,12 @@ const Fe = [
32
32
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
33
33
  ["path", { d: "M3 10h18", key: "8toen8" }]
34
34
  ], bt = he("calendar", Fe);
35
- var fe = 1, Ke = 0.9, Ve = 0.8, ze = 0.17, ee = 0.1, te = 0.999, Oe = 0.9999, qe = 0.99, _e = /[\\\/_+.#"@\[\(\{&]/, Be = /[\\\/_+.#"@\[\(\{&]/g, Ge = /[\s-]/, ge = /[\s-]/g;
35
+ var fe = 1, Ke = 0.9, ze = 0.8, Oe = 0.17, ee = 0.1, te = 0.999, Ve = 0.9999, qe = 0.99, _e = /[\\\/_+.#"@\[\(\{&]/, Be = /[\\\/_+.#"@\[\(\{&]/g, Ge = /[\s-]/, ge = /[\s-]/g;
36
36
  function ne(e, n, r, d, o, i, c) {
37
37
  if (i === n.length) return o === e.length ? fe : qe;
38
38
  var m = `${o},${i}`;
39
39
  if (c[m] !== void 0) return c[m];
40
- for (var b = d.charAt(i), u = r.indexOf(b, o), p = 0, h, w, v, I; u >= 0; ) h = ne(e, n, r, d, u + 1, i + 1, c), h > p && (u === o ? h *= fe : _e.test(e.charAt(u - 1)) ? (h *= Ve, v = e.slice(o, u - 1).match(Be), v && o > 0 && (h *= Math.pow(te, v.length))) : Ge.test(e.charAt(u - 1)) ? (h *= Ke, I = e.slice(o, u - 1).match(ge), I && o > 0 && (h *= Math.pow(te, I.length))) : (h *= ze, o > 0 && (h *= Math.pow(te, u - o))), e.charAt(u) !== n.charAt(i) && (h *= Oe)), (h < ee && r.charAt(u - 1) === d.charAt(i + 1) || d.charAt(i + 1) === d.charAt(i) && r.charAt(u - 1) !== d.charAt(i)) && (w = ne(e, n, r, d, u + 1, i + 2, c), w * ee > h && (h = w * ee)), h > p && (p = h), u = r.indexOf(b, u + 1);
40
+ for (var b = d.charAt(i), u = r.indexOf(b, o), p = 0, h, w, v, I; u >= 0; ) h = ne(e, n, r, d, u + 1, i + 1, c), h > p && (u === o ? h *= fe : _e.test(e.charAt(u - 1)) ? (h *= ze, v = e.slice(o, u - 1).match(Be), v && o > 0 && (h *= Math.pow(te, v.length))) : Ge.test(e.charAt(u - 1)) ? (h *= Ke, I = e.slice(o, u - 1).match(ge), I && o > 0 && (h *= Math.pow(te, I.length))) : (h *= Oe, o > 0 && (h *= Math.pow(te, u - o))), e.charAt(u) !== n.charAt(i) && (h *= Ve)), (h < ee && r.charAt(u - 1) === d.charAt(i + 1) || d.charAt(i + 1) === d.charAt(i) && r.charAt(u - 1) !== d.charAt(i)) && (w = ne(e, n, r, d, u + 1, i + 2, c), w * ee > h && (h = w * ee)), h > p && (p = h), u = r.indexOf(b, u + 1);
41
41
  return c[m] = p, p;
42
42
  }
43
43
  function pe(e) {
@@ -46,7 +46,7 @@ function pe(e) {
46
46
  function Te(e, n, r) {
47
47
  return e = r && r.length > 0 ? `${e + " " + r.join(" ")}` : e, ne(e, n, pe(e), pe(n), 0, 0, {});
48
48
  }
49
- var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-heading=""]', be = '[cmdk-item=""]', ve = `${be}:not([aria-disabled="true"])`, le = "cmdk-item-select", L = "data-value", He = (e, n, r) => Te(e, n, r), xe = l.createContext(void 0), q = () => l.useContext(xe), ye = l.createContext(void 0), ae = () => l.useContext(ye), ke = l.createContext(void 0), we = l.forwardRef((e, n) => {
49
+ var O = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-heading=""]', be = '[cmdk-item=""]', ve = `${be}:not([aria-disabled="true"])`, le = "cmdk-item-select", L = "data-value", He = (e, n, r) => Te(e, n, r), xe = l.createContext(void 0), q = () => l.useContext(xe), ye = l.createContext(void 0), ae = () => l.useContext(ye), ke = l.createContext(void 0), we = l.forwardRef((e, n) => {
50
50
  let r = P(() => {
51
51
  var t, s;
52
52
  return { search: "", value: (s = (t = e.value) != null ? t : e.defaultValue) != null ? s : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
@@ -113,7 +113,7 @@ var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-headi
113
113
  }), s.push([a, x]);
114
114
  });
115
115
  let f = N.current;
116
- V().sort((a, g) => {
116
+ z().sort((a, g) => {
117
117
  var x, S;
118
118
  let C = a.getAttribute("id"), B = g.getAttribute("id");
119
119
  return ((x = t.get(B)) != null ? x : 0) - ((S = t.get(C)) != null ? S : 0);
@@ -122,12 +122,12 @@ var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-headi
122
122
  g ? g.appendChild(a.parentElement === g ? a : a.closest(`${re} > *`)) : f.appendChild(a.parentElement === f ? a : a.closest(`${re} > *`));
123
123
  }), s.sort((a, g) => g[1] - a[1]).forEach((a) => {
124
124
  var g;
125
- let x = (g = N.current) == null ? void 0 : g.querySelector(`${z}[${L}="${encodeURIComponent(a[0])}"]`);
125
+ let x = (g = N.current) == null ? void 0 : g.querySelector(`${O}[${L}="${encodeURIComponent(a[0])}"]`);
126
126
  x?.parentElement.appendChild(x);
127
127
  });
128
128
  }
129
129
  function X() {
130
- let t = V().find((f) => f.getAttribute("aria-disabled") !== "true"), s = t?.getAttribute(L);
130
+ let t = z().find((f) => f.getAttribute("aria-disabled") !== "true"), s = t?.getAttribute(L);
131
131
  E.setState("value", s || void 0);
132
132
  }
133
133
  function Y() {
@@ -151,36 +151,36 @@ var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-headi
151
151
  function ie() {
152
152
  var t, s, f;
153
153
  let a = D();
154
- a && (((t = a.parentElement) == null ? void 0 : t.firstChild) === a && ((f = (s = a.closest(z)) == null ? void 0 : s.querySelector(Ue)) == null || f.scrollIntoView({ block: "nearest" })), a.scrollIntoView({ block: "nearest" }));
154
+ a && (((t = a.parentElement) == null ? void 0 : t.firstChild) === a && ((f = (s = a.closest(O)) == null ? void 0 : s.querySelector(Ue)) == null || f.scrollIntoView({ block: "nearest" })), a.scrollIntoView({ block: "nearest" }));
155
155
  }
156
156
  function D() {
157
157
  var t;
158
158
  return (t = N.current) == null ? void 0 : t.querySelector(`${be}[aria-selected="true"]`);
159
159
  }
160
- function V() {
160
+ function z() {
161
161
  var t;
162
162
  return Array.from(((t = N.current) == null ? void 0 : t.querySelectorAll(ve)) || []);
163
163
  }
164
164
  function Q(t) {
165
- let s = V()[t];
165
+ let s = z()[t];
166
166
  s && E.setState("value", s.getAttribute(L));
167
167
  }
168
168
  function Z(t) {
169
169
  var s;
170
- let f = D(), a = V(), g = a.findIndex((S) => S === f), x = a[g + t];
170
+ let f = D(), a = z(), g = a.findIndex((S) => S === f), x = a[g + t];
171
171
  (s = m.current) != null && s.loop && (x = g + t < 0 ? a[a.length - 1] : g + t === a.length ? a[0] : a[g + t]), x && E.setState("value", x.getAttribute(L));
172
172
  }
173
173
  function se(t) {
174
- let s = D(), f = s?.closest(z), a;
175
- for (; f && !a; ) f = t > 0 ? rt(f, z) : nt(f, z), a = f?.querySelector(ve);
174
+ let s = D(), f = s?.closest(O), a;
175
+ for (; f && !a; ) f = t > 0 ? rt(f, O) : nt(f, O), a = f?.querySelector(ve);
176
176
  a ? E.setState("value", a.getAttribute(L)) : Z(t);
177
177
  }
178
- let ce = () => Q(V().length - 1), de = (t) => {
178
+ let ce = () => Q(z().length - 1), de = (t) => {
179
179
  t.preventDefault(), t.metaKey ? ce() : t.altKey ? se(1) : Z(1);
180
180
  }, me = (t) => {
181
181
  t.preventDefault(), t.metaKey ? Q(0) : t.altKey ? se(-1) : Z(-1);
182
182
  };
183
- return l.createElement(M.div, { ref: n, tabIndex: -1, ..._, "cmdk-root": "", onKeyDown: (t) => {
183
+ return l.createElement(R.div, { ref: n, tabIndex: -1, ..._, "cmdk-root": "", onKeyDown: (t) => {
184
184
  var s;
185
185
  (s = _.onKeyDown) == null || s.call(_, t);
186
186
  let f = t.nativeEvent.isComposing || t.keyCode === 229;
@@ -227,7 +227,7 @@ var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-headi
227
227
  $(() => {
228
228
  if (!u) return m.item(o, c?.id);
229
229
  }, [u]);
230
- let p = Ee(o, i, [e.value, e.children, i], e.keywords), h = ae(), w = j((k) => k.value && k.value === p.current), v = j((k) => u || m.filter() === !1 ? !0 : k.search ? k.filtered.items.get(o) > 0 : !0);
230
+ let p = Ee(o, i, [e.value, e.children, i], e.keywords), h = ae(), w = M((k) => k.value && k.value === p.current), v = M((k) => u || m.filter() === !1 ? !0 : k.search ? k.filtered.items.get(o) > 0 : !0);
231
231
  l.useEffect(() => {
232
232
  let k = i.current;
233
233
  if (!(!k || e.disabled)) return k.addEventListener(le, I), () => k.removeEventListener(le, I);
@@ -241,24 +241,24 @@ var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-headi
241
241
  }
242
242
  if (!v) return null;
243
243
  let { disabled: A, value: _, onSelect: U, forceMount: oe, keywords: H, ...N } = e;
244
- return l.createElement(M.div, { ref: O(i, n), ...N, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!A, "aria-selected": !!w, "data-disabled": !!A, "data-selected": !!w, onPointerMove: A || m.getDisablePointerSelection() ? void 0 : T, onClick: A ? void 0 : I }, e.children);
244
+ return l.createElement(R.div, { ref: V(i, n), ...N, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!A, "aria-selected": !!w, "data-disabled": !!A, "data-selected": !!w, onPointerMove: A || m.getDisablePointerSelection() ? void 0 : T, onClick: A ? void 0 : I }, e.children);
245
245
  }), Je = l.forwardRef((e, n) => {
246
- let { heading: r, children: d, forceMount: o, ...i } = e, c = F(), m = l.useRef(null), b = l.useRef(null), u = F(), p = q(), h = j((v) => o || p.filter() === !1 ? !0 : v.search ? v.filtered.groups.has(c) : !0);
246
+ let { heading: r, children: d, forceMount: o, ...i } = e, c = F(), m = l.useRef(null), b = l.useRef(null), u = F(), p = q(), h = M((v) => o || p.filter() === !1 ? !0 : v.search ? v.filtered.groups.has(c) : !0);
247
247
  $(() => p.group(c), []), Ee(c, m, [e.value, e.heading, b]);
248
248
  let w = l.useMemo(() => ({ id: c, forceMount: o }), [o]);
249
- return l.createElement(M.div, { ref: O(m, n), ...i, "cmdk-group": "", role: "presentation", hidden: h ? void 0 : !0 }, r && l.createElement("div", { ref: b, "cmdk-group-heading": "", "aria-hidden": !0, id: u }, r), G(e, (v) => l.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": r ? u : void 0 }, l.createElement(ke.Provider, { value: w }, v))));
249
+ return l.createElement(R.div, { ref: V(m, n), ...i, "cmdk-group": "", role: "presentation", hidden: h ? void 0 : !0 }, r && l.createElement("div", { ref: b, "cmdk-group-heading": "", "aria-hidden": !0, id: u }, r), G(e, (v) => l.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": r ? u : void 0 }, l.createElement(ke.Provider, { value: w }, v))));
250
250
  }), Xe = l.forwardRef((e, n) => {
251
- let { alwaysRender: r, ...d } = e, o = l.useRef(null), i = j((c) => !c.search);
252
- return !r && !i ? null : l.createElement(M.div, { ref: O(o, n), ...d, "cmdk-separator": "", role: "separator" });
251
+ let { alwaysRender: r, ...d } = e, o = l.useRef(null), i = M((c) => !c.search);
252
+ return !r && !i ? null : l.createElement(R.div, { ref: V(o, n), ...d, "cmdk-separator": "", role: "separator" });
253
253
  }), Ye = l.forwardRef((e, n) => {
254
- let { onValueChange: r, ...d } = e, o = e.value != null, i = ae(), c = j((u) => u.search), m = j((u) => u.selectedItemId), b = q();
254
+ let { onValueChange: r, ...d } = e, o = e.value != null, i = ae(), c = M((u) => u.search), m = M((u) => u.selectedItemId), b = q();
255
255
  return l.useEffect(() => {
256
256
  e.value != null && i.setState("search", e.value);
257
- }, [e.value]), l.createElement(M.input, { ref: n, ...d, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": b.listId, "aria-labelledby": b.labelId, "aria-activedescendant": m, id: b.inputId, type: "text", value: o ? e.value : c, onChange: (u) => {
257
+ }, [e.value]), l.createElement(R.input, { ref: n, ...d, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": b.listId, "aria-labelledby": b.labelId, "aria-activedescendant": m, id: b.inputId, type: "text", value: o ? e.value : c, onChange: (u) => {
258
258
  o || i.setState("search", u.target.value), r?.(u.target.value);
259
259
  } });
260
260
  }), Qe = l.forwardRef((e, n) => {
261
- let { children: r, label: d = "Suggestions", ...o } = e, i = l.useRef(null), c = l.useRef(null), m = j((u) => u.selectedItemId), b = q();
261
+ let { children: r, label: d = "Suggestions", ...o } = e, i = l.useRef(null), c = l.useRef(null), m = M((u) => u.selectedItemId), b = q();
262
262
  return l.useEffect(() => {
263
263
  if (c.current && i.current) {
264
264
  let u = c.current, p = i.current, h, w = new ResizeObserver(() => {
@@ -271,13 +271,13 @@ var z = '[cmdk-group=""]', re = '[cmdk-group-items=""]', Ue = '[cmdk-group-headi
271
271
  cancelAnimationFrame(h), w.unobserve(u);
272
272
  };
273
273
  }
274
- }, []), l.createElement(M.div, { ref: O(i, n), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": m, "aria-label": d, id: b.listId }, G(e, (u) => l.createElement("div", { ref: O(c, b.listInnerRef), "cmdk-list-sizer": "" }, u)));
274
+ }, []), l.createElement(R.div, { ref: V(i, n), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": m, "aria-label": d, id: b.listId }, G(e, (u) => l.createElement("div", { ref: V(c, b.listInnerRef), "cmdk-list-sizer": "" }, u)));
275
275
  }), Ze = l.forwardRef((e, n) => {
276
276
  let { open: r, onOpenChange: d, overlayClassName: o, contentClassName: i, container: c, ...m } = e;
277
- return l.createElement(Se, { open: r, onOpenChange: d }, l.createElement(Ie, { container: c }, l.createElement(Re, { "cmdk-overlay": "", className: o }), l.createElement(je, { "aria-label": e.label, "cmdk-dialog": "", className: i }, l.createElement(we, { ref: n, ...m }))));
278
- }), et = l.forwardRef((e, n) => j((r) => r.filtered.count === 0) ? l.createElement(M.div, { ref: n, ...e, "cmdk-empty": "", role: "presentation" }) : null), tt = l.forwardRef((e, n) => {
277
+ return l.createElement(Se, { open: r, onOpenChange: d }, l.createElement(Ie, { container: c }, l.createElement(je, { "cmdk-overlay": "", className: o }), l.createElement(Me, { "aria-label": e.label, "cmdk-dialog": "", className: i }, l.createElement(we, { ref: n, ...m }))));
278
+ }), et = l.forwardRef((e, n) => M((r) => r.filtered.count === 0) ? l.createElement(R.div, { ref: n, ...e, "cmdk-empty": "", role: "presentation" }) : null), tt = l.forwardRef((e, n) => {
279
279
  let { progress: r, children: d, label: o = "Loading...", ...i } = e;
280
- return l.createElement(M.div, { ref: n, ...i, "cmdk-loading": "", role: "progressbar", "aria-valuenow": r, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, G(e, (c) => l.createElement("div", { "aria-hidden": !0 }, c)));
280
+ return l.createElement(R.div, { ref: n, ...i, "cmdk-loading": "", role: "progressbar", "aria-valuenow": r, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, G(e, (c) => l.createElement("div", { "aria-hidden": !0 }, c)));
281
281
  }), K = Object.assign(we, { List: Qe, Item: We, Input: Ye, Group: Je, Separator: Xe, Dialog: Ze, Empty: et, Loading: tt });
282
282
  function rt(e, n) {
283
283
  let r = e.nextElementSibling;
@@ -304,7 +304,7 @@ function P(e) {
304
304
  let n = l.useRef();
305
305
  return n.current === void 0 && (n.current = e()), n;
306
306
  }
307
- function j(e) {
307
+ function M(e) {
308
308
  let n = ae(), r = () => e(n.snapshot());
309
309
  return l.useSyncExternalStore(n.subscribe, r, r);
310
310
  }
@@ -346,7 +346,7 @@ function ut({
346
346
  K,
347
347
  {
348
348
  "data-slot": "command",
349
- className: R(
349
+ className: j(
350
350
  "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
351
351
  e
352
352
  ),
@@ -364,12 +364,12 @@ function it({
364
364
  "data-slot": "command-input-wrapper",
365
365
  className: "flex h-9 items-center gap-2 border-b px-3",
366
366
  children: [
367
- /* @__PURE__ */ y.jsx(Me, { className: "size-4 shrink-0 opacity-50" }),
367
+ /* @__PURE__ */ y.jsx(Re, { className: "size-4 shrink-0 opacity-50" }),
368
368
  /* @__PURE__ */ y.jsx(
369
369
  K.Input,
370
370
  {
371
371
  "data-slot": "command-input",
372
- className: R(
372
+ className: j(
373
373
  "placeholder:text-muted-foreground flex h-full w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",
374
374
  e
375
375
  ),
@@ -388,7 +388,7 @@ function st({
388
388
  K.List,
389
389
  {
390
390
  "data-slot": "command-list",
391
- className: R(
391
+ className: j(
392
392
  "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
393
393
  e
394
394
  ),
@@ -416,7 +416,7 @@ function dt({
416
416
  K.Group,
417
417
  {
418
418
  "data-slot": "command-group",
419
- className: R(
419
+ className: j(
420
420
  "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
421
421
  e
422
422
  ),
@@ -432,7 +432,7 @@ function mt({
432
432
  K.Item,
433
433
  {
434
434
  "data-slot": "command-item",
435
- className: R(
435
+ className: j(
436
436
  "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
437
437
  e
438
438
  ),
@@ -471,7 +471,7 @@ function xt({
471
471
  role: "combobox",
472
472
  "aria-expanded": m,
473
473
  disabled: i,
474
- className: R(
474
+ className: j(
475
475
  "border-input flex h-9 w-full cursor-pointer items-center justify-between gap-2 rounded-md border bg-transparent px-3 text-sm shadow-xs transition-[color,box-shadow]",
476
476
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] focus-visible:outline-none",
477
477
  m && "border-ring ring-ring/50 ring-[3px]",
@@ -481,7 +481,7 @@ function xt({
481
481
  /* @__PURE__ */ y.jsx(
482
482
  "span",
483
483
  {
484
- className: R(
484
+ className: j(
485
485
  "truncate",
486
486
  !h && "text-muted-foreground"
487
487
  ),
@@ -521,7 +521,7 @@ function xt({
521
521
  /* @__PURE__ */ y.jsx(
522
522
  Le,
523
523
  {
524
- className: R(
524
+ className: j(
525
525
  "ml-auto size-4",
526
526
  n === v.value ? "opacity-100" : "opacity-0"
527
527
  )