@alfadocs/ui-kit 1.80.0 → 1.82.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 (134) hide show
  1. package/dist/_chunks/{address-fields-GnoSkvh6.js → address-fields-CfnXK8RT.js} +4 -4
  2. package/dist/_chunks/{ai-prompt-input-M6u29f87.js → ai-prompt-input-DH_rnV-F.js} +33 -26
  3. package/dist/_chunks/{anamnesis-summary-rows-lONg-zja.js → anamnesis-summary-rows-6gMuu0ZK.js} +2 -2
  4. package/dist/_chunks/{autocomplete-DosDnGie.js → autocomplete-CnB1mHGc.js} +65 -64
  5. package/dist/_chunks/{balance-badge-cell-Dzd-Z_5W.js → balance-badge-cell-BHXJS8Ga.js} +2 -2
  6. package/dist/_chunks/{benefit-card-BWBClvdF.js → benefit-card-BcPtRHgM.js} +37 -36
  7. package/dist/_chunks/booking-dsgiuhKg.js +4304 -0
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-DhTTWgXw.js → calendar-appointment-editor-dialog-BuumJbcv.js} +4 -4
  9. package/dist/_chunks/{city-input-3J3bz9EO.js → city-input-CJVGswxp.js} +2 -2
  10. package/dist/_chunks/{combobox-vF9O-QoG.js → combobox-CDPm_n0p.js} +93 -92
  11. package/dist/_chunks/{command-palette-D9TBzmOG.js → command-palette-B3dVqm9D.js} +68 -68
  12. package/dist/_chunks/{contact-profile-card-DKk94l-d.js → contact-profile-card-Da1vmJQI.js} +115 -102
  13. package/dist/_chunks/{country-select-CSE2Zm_s.js → country-select-DQ8q7ypA.js} +2 -2
  14. package/dist/_chunks/{face-scheme-BIPJqw9f.js → face-scheme-BgJGFDTa.js} +2 -2
  15. package/dist/_chunks/{header-settings-BYpVmLip.js → header-settings-CifwJEKB.js} +2 -2
  16. package/dist/_chunks/{link-cell-renderer-B0riA_h_.js → link-cell-renderer-C0ynDik7.js} +3 -3
  17. package/dist/_chunks/{locale-picker-DzdGDSBI.js → locale-picker-QbT1p60X.js} +39 -38
  18. package/dist/_chunks/{map-view-C6MIVaqn.js → map-view-Bvi06RVh.js} +2 -2
  19. package/dist/_chunks/{marketplace-app-shell-mS7Q2-81.js → marketplace-app-shell-vON3WhD0.js} +2 -2
  20. package/dist/_chunks/{multi-select-BOad3za9.js → multi-select-i5MFRpXg.js} +194 -187
  21. package/dist/_chunks/{otp-input-BgEZi0py.js → otp-input-gV1446Dw.js} +70 -70
  22. package/dist/_chunks/{patient-details-B-I9Xkh9.js → patient-details-D0P5eog5.js} +2 -2
  23. package/dist/_chunks/{patient-field-row-Bn0z6lAZ.js → patient-field-row-R73dZJY6.js} +5 -5
  24. package/dist/_chunks/{patient-search-CxqNcth4.js → patient-search-Dy0sxcwv.js} +2 -2
  25. package/dist/_chunks/{patient-summary-card-bhDo0gVX.js → patient-summary-card-6U74-ivO.js} +2 -2
  26. package/dist/_chunks/{payment-automation-upsell-AQpHOS1X.js → payment-automation-upsell-D1YdO1xY.js} +2 -2
  27. package/dist/_chunks/{phone-input-C3NrD-nl.js → phone-input-DJ4BN8tG.js} +70 -63
  28. package/dist/_chunks/{practice-results-CtOanuzZ.js → practice-results-B61krlwu.js} +2 -2
  29. package/dist/_chunks/{province-select-CDjs5obD.js → province-select-CPdTwEob.js} +2 -2
  30. package/dist/_chunks/{registration-form-CNBfUduG.js → registration-form-DmP3YUfp.js} +3 -3
  31. package/dist/_chunks/{send-registration-link-form-vTn1HxjA.js → send-registration-link-form-CZYOO7NO.js} +2 -2
  32. package/dist/_chunks/{task-editor-Cpw-NmND.js → task-editor-BOETWbjU.js} +2 -2
  33. package/dist/_chunks/{use-appointment-details-read-lFUL4kkd.js → use-appointment-details-read-CWN-nJCZ.js} +2 -2
  34. package/dist/agent-catalog.json +4 -4
  35. package/dist/agent-i18n/en.json +1 -1
  36. package/dist/components/address-fields/index.js +1 -1
  37. package/dist/components/ai-prompt-input/index.js +1 -1
  38. package/dist/components/appointment-details-panel/index.js +1 -1
  39. package/dist/components/autocomplete/index.js +1 -1
  40. package/dist/components/benefit-card/benefit-card.d.ts +7 -1
  41. package/dist/components/benefit-card/index.js +1 -1
  42. package/dist/components/booking/booking-types.d.ts +35 -2
  43. package/dist/components/booking/code-step.d.ts +4 -2
  44. package/dist/components/booking/details-form.d.ts +2 -0
  45. package/dist/components/booking/handover.d.ts +12 -0
  46. package/dist/components/booking/index.js +1 -1
  47. package/dist/components/booking/reserved.d.ts +24 -0
  48. package/dist/components/booking/use-booking-payment.d.ts +3 -1
  49. package/dist/components/city-input/index.js +1 -1
  50. package/dist/components/combobox/index.js +1 -1
  51. package/dist/components/command-palette/index.js +1 -1
  52. package/dist/components/contact-profile-card/contact-profile-card.d.ts +4 -1
  53. package/dist/components/contact-profile-card/index.js +1 -1
  54. package/dist/components/country-select/index.js +1 -1
  55. package/dist/components/data-table/index.js +1 -1
  56. package/dist/components/face-scheme/index.js +1 -1
  57. package/dist/components/header-settings/index.js +1 -1
  58. package/dist/components/locale-picker/index.js +1 -1
  59. package/dist/components/map-view/index.js +1 -1
  60. package/dist/components/multi-select/index.js +1 -1
  61. package/dist/components/otp-input/index.js +1 -1
  62. package/dist/components/otp-input/otp-input.d.ts +1 -1
  63. package/dist/components/patient-details/index.js +1 -1
  64. package/dist/components/patient-search/index.js +1 -1
  65. package/dist/components/patient-summary-card/index.js +1 -1
  66. package/dist/components/patient-table/index.js +1 -1
  67. package/dist/components/phone-input/index.js +1 -1
  68. package/dist/components/practice-results/index.js +1 -1
  69. package/dist/components/province-select/index.js +1 -1
  70. package/dist/components/task-editor/index.js +1 -1
  71. package/dist/i18n/locales/ar.d.ts +8 -0
  72. package/dist/i18n/locales/ar.js +8 -0
  73. package/dist/i18n/locales/de.d.ts +8 -0
  74. package/dist/i18n/locales/de.js +8 -0
  75. package/dist/i18n/locales/el.d.ts +8 -0
  76. package/dist/i18n/locales/el.js +8 -0
  77. package/dist/i18n/locales/en.d.ts +8 -0
  78. package/dist/i18n/locales/en.js +8 -0
  79. package/dist/i18n/locales/es.d.ts +8 -0
  80. package/dist/i18n/locales/es.js +8 -0
  81. package/dist/i18n/locales/fr.d.ts +8 -0
  82. package/dist/i18n/locales/fr.js +8 -0
  83. package/dist/i18n/locales/hi.d.ts +8 -0
  84. package/dist/i18n/locales/hi.js +8 -0
  85. package/dist/i18n/locales/it.d.ts +8 -0
  86. package/dist/i18n/locales/it.js +8 -0
  87. package/dist/i18n/locales/ja.d.ts +8 -0
  88. package/dist/i18n/locales/ja.js +8 -0
  89. package/dist/i18n/locales/nl.d.ts +8 -0
  90. package/dist/i18n/locales/nl.js +8 -0
  91. package/dist/i18n/locales/pl.d.ts +8 -0
  92. package/dist/i18n/locales/pl.js +8 -0
  93. package/dist/i18n/locales/pt.d.ts +8 -0
  94. package/dist/i18n/locales/pt.js +8 -0
  95. package/dist/i18n/locales/ro.d.ts +8 -0
  96. package/dist/i18n/locales/ro.js +8 -0
  97. package/dist/i18n/locales/ru.d.ts +8 -0
  98. package/dist/i18n/locales/ru.js +8 -0
  99. package/dist/i18n/locales/sq.d.ts +8 -0
  100. package/dist/i18n/locales/sq.js +8 -0
  101. package/dist/i18n/locales/sv.d.ts +8 -0
  102. package/dist/i18n/locales/sv.js +8 -0
  103. package/dist/i18n/locales/tr.d.ts +8 -0
  104. package/dist/i18n/locales/tr.js +8 -0
  105. package/dist/i18n/locales/zh.d.ts +8 -0
  106. package/dist/i18n/locales/zh.js +8 -0
  107. package/dist/index.js +30 -30
  108. package/dist/locales/ar.json +8 -0
  109. package/dist/locales/de.json +8 -0
  110. package/dist/locales/el.json +8 -0
  111. package/dist/locales/en.json +8 -0
  112. package/dist/locales/es.json +8 -0
  113. package/dist/locales/fr.json +8 -0
  114. package/dist/locales/hi.json +8 -0
  115. package/dist/locales/it.json +8 -0
  116. package/dist/locales/ja.json +8 -0
  117. package/dist/locales/nl.json +8 -0
  118. package/dist/locales/pl.json +8 -0
  119. package/dist/locales/pt.json +8 -0
  120. package/dist/locales/ro.json +8 -0
  121. package/dist/locales/ru.json +8 -0
  122. package/dist/locales/sq.json +8 -0
  123. package/dist/locales/sv.json +8 -0
  124. package/dist/locales/tr.json +8 -0
  125. package/dist/locales/zh.json +8 -0
  126. package/dist/patterns/anamnesis/index.js +1 -1
  127. package/dist/patterns/calendar/index.js +1 -1
  128. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  129. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  130. package/dist/patterns/registration-form/index.js +1 -1
  131. package/dist/patterns/send-registration-link-form/index.js +1 -1
  132. package/dist/tokens.css +1 -1
  133. package/package.json +1 -1
  134. package/dist/_chunks/booking-By4I_1A-.js +0 -4068
@@ -1,4 +1,4 @@
1
- import { jsx as s, jsxs as m, Fragment as K } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as m, Fragment as K } from "react/jsx-runtime";
2
2
  import { forwardRef as u, useState as k, useEffect as v, useRef as C, useMemo as w, useCallback as B } from "react";
3
3
  import { _ as p, R as J } from "./index-4xgbg-sn.js";
4
4
  import * as h from "@radix-ui/react-dialog";
@@ -112,8 +112,8 @@ function pe() {
112
112
  r.preventDefault(), t((f) => !f);
113
113
  return;
114
114
  }
115
- const d = r.target, l = d == null ? void 0 : d.tagName.toLowerCase();
116
- (l === "input" || l === "textarea" || d != null && d.isContentEditable) && (e && r.key);
115
+ const o = r.target, l = o == null ? void 0 : o.tagName.toLowerCase();
116
+ (l === "input" || l === "textarea" || o != null && o.isContentEditable) && (e && r.key);
117
117
  }
118
118
  return document.addEventListener("keydown", a), () => document.removeEventListener("keydown", a);
119
119
  }, [e]), { open: e, setOpen: t };
@@ -122,10 +122,10 @@ const Z = [
122
122
  "ds:flex ds:h-full ds:w-full ds:flex-col ds:overflow-hidden",
123
123
  "ds:rounded-[var(--radius-md)]",
124
124
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]"
125
- ].join(" "), M = u(({ className: e, filter: t = X, id: a, ...r }, o) => /* @__PURE__ */ s(
125
+ ].join(" "), M = u(({ className: e, filter: t = X, id: a, ...r }, d) => /* @__PURE__ */ n(
126
126
  p,
127
127
  {
128
- ref: o,
128
+ ref: d,
129
129
  filter: t,
130
130
  className: [Z, e].filter(Boolean).join(" "),
131
131
  "data-component": "command-palette",
@@ -147,20 +147,20 @@ const ee = [
147
147
  "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
148
148
  "ds:border-0"
149
149
  ].join(" "), O = u(({ className: e, placeholder: t, ...a }, r) => {
150
- const { t: o } = R("ui");
150
+ const { t: d } = R("ui");
151
151
  return /* @__PURE__ */ m("div", { className: ee, children: [
152
- /* @__PURE__ */ s(
152
+ /* @__PURE__ */ n(
153
153
  $,
154
154
  {
155
155
  "aria-hidden": "true",
156
156
  className: "ds:size-4 ds:me-2 ds:text-[var(--muted-foreground)]"
157
157
  }
158
158
  ),
159
- /* @__PURE__ */ s(
159
+ /* @__PURE__ */ n(
160
160
  p.Input,
161
161
  {
162
162
  ref: r,
163
- placeholder: t ?? o("navigation.cmdk.placeholder", "Type a command or search…"),
163
+ placeholder: t ?? d("navigation.cmdk.placeholder", "Type a command or search…"),
164
164
  className: [te, e].filter(Boolean).join(" "),
165
165
  ...a
166
166
  }
@@ -168,7 +168,7 @@ const ee = [
168
168
  ] });
169
169
  });
170
170
  O.displayName = "CommandInput";
171
- const A = u(({ className: e, ...t }, a) => /* @__PURE__ */ s(
171
+ const A = u(({ className: e, ...t }, a) => /* @__PURE__ */ n(
172
172
  p.List,
173
173
  {
174
174
  ref: a,
@@ -183,8 +183,8 @@ const A = u(({ className: e, ...t }, a) => /* @__PURE__ */ s(
183
183
  ));
184
184
  A.displayName = "CommandList";
185
185
  const D = u(({ className: e, children: t, ...a }, r) => {
186
- const { t: o } = R("ui");
187
- return /* @__PURE__ */ s(
186
+ const { t: d } = R("ui");
187
+ return /* @__PURE__ */ n(
188
188
  p.Empty,
189
189
  {
190
190
  ref: r,
@@ -194,12 +194,12 @@ const D = u(({ className: e, children: t, ...a }, r) => {
194
194
  e ?? ""
195
195
  ].filter(Boolean).join(" "),
196
196
  ...a,
197
- children: t ?? o("navigation.cmdk.empty", "No results found")
197
+ children: t ?? d("navigation.cmdk.empty", "No results found")
198
198
  }
199
199
  );
200
200
  });
201
201
  D.displayName = "CommandEmpty";
202
- const N = u(({ className: e, heading: t, ...a }, r) => /* @__PURE__ */ s(
202
+ const N = u(({ className: e, heading: t, ...a }, r) => /* @__PURE__ */ n(
203
203
  p.Group,
204
204
  {
205
205
  ref: r,
@@ -229,7 +229,7 @@ const ae = [
229
229
  V.selected,
230
230
  "ds:data-[disabled=true]:pointer-events-none ds:data-[disabled=true]:opacity-50",
231
231
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
232
- ].join(" "), x = u(({ className: e, ...t }, a) => /* @__PURE__ */ s(
232
+ ].join(" "), x = u(({ className: e, ...t }, a) => /* @__PURE__ */ n(
233
233
  p.Item,
234
234
  {
235
235
  ref: a,
@@ -238,7 +238,7 @@ const ae = [
238
238
  }
239
239
  ));
240
240
  x.displayName = "CommandItem";
241
- const G = u(({ className: e, ...t }, a) => /* @__PURE__ */ s(
241
+ const G = u(({ className: e, ...t }, a) => /* @__PURE__ */ n(
242
242
  p.Separator,
243
243
  {
244
244
  ref: a,
@@ -253,7 +253,7 @@ const G = u(({ className: e, ...t }, a) => /* @__PURE__ */ s(
253
253
  ));
254
254
  G.displayName = "CommandSeparator";
255
255
  const S = u(
256
- ({ className: e, children: t, ...a }, r) => /* @__PURE__ */ s(
256
+ ({ className: e, children: t, ...a }, r) => /* @__PURE__ */ n(
257
257
  "kbd",
258
258
  {
259
259
  ref: r,
@@ -276,18 +276,18 @@ const S = u(
276
276
  )
277
277
  );
278
278
  S.displayName = "CommandShortcut";
279
- function se(e, t) {
279
+ function ne(e, t) {
280
280
  if (!t) return e;
281
- const a = y(e), r = y(t), o = a.indexOf(r);
282
- if (o === -1) return e;
283
- const d = e.slice(0, o), l = e.slice(o, o + r.length), g = e.slice(o + r.length);
281
+ const a = y(e), r = y(t), d = a.indexOf(r);
282
+ if (d === -1) return e;
283
+ const o = e.slice(0, d), l = e.slice(d, d + r.length), g = e.slice(d + r.length);
284
284
  return /* @__PURE__ */ m(K, { children: [
285
- d,
286
- /* @__PURE__ */ s("mark", { className: "ds:bg-[var(--accent)]/20 ds:text-inherit ds:rounded-[var(--radius-sm)] ds:px-[0.125em] ds:group-data-[selected=true]/menu-row:bg-transparent ds:group-data-[selected=true]/menu-row:underline", children: l }),
285
+ o,
286
+ /* @__PURE__ */ n("mark", { className: "ds:bg-[var(--accent)]/20 ds:text-inherit ds:rounded-[var(--radius-sm)] ds:px-[0.125em] ds:group-data-[selected=true]/menu-row:bg-transparent ds:group-data-[selected=true]/menu-row:underline", children: l }),
287
287
  g
288
288
  ] });
289
289
  }
290
- const ne = [
290
+ const se = [
291
291
  "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
292
292
  "ds:bg-[var(--background)]/70 ds:backdrop-blur-sm",
293
293
  "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
@@ -309,15 +309,15 @@ const ne = [
309
309
  "ds:data-[state=open]:zoom-in-95 ds:data-[state=closed]:zoom-out-95",
310
310
  "ds:motion-reduce:animate-none",
311
311
  "ds:focus:outline-none"
312
- ].join(" "), q = ({ children: e }) => /* @__PURE__ */ s("span", { className: "ds:sr-only", children: e });
312
+ ].join(" "), q = ({ children: e }) => /* @__PURE__ */ n("span", { className: "ds:sr-only", children: e });
313
313
  function ge({
314
314
  open: e,
315
315
  onOpenChange: t,
316
316
  commands: a,
317
317
  header: r,
318
- id: o
318
+ id: d
319
319
  }) {
320
- const { t: d } = R("ui"), [l, g] = k(""), [f, E] = k(Y);
320
+ const { t: o } = R("ui"), [l, g] = k(""), [f, E] = k(Y);
321
321
  v(() => {
322
322
  e || g("");
323
323
  }, [e]);
@@ -339,40 +339,40 @@ function ge({
339
339
  getIsOpen: () => I.current,
340
340
  open: () => b.current(!0),
341
341
  close: () => b.current(!1),
342
- setQuery: (n) => g(n)
342
+ setQuery: (s) => g(s)
343
343
  }),
344
344
  []
345
345
  );
346
- W(U, H, o);
346
+ W(U, H, d);
347
347
  const F = w(() => {
348
- const n = /* @__PURE__ */ new Map();
348
+ const s = /* @__PURE__ */ new Map();
349
349
  return a.forEach((c) => {
350
- const i = n.get(c.group) ?? [];
351
- i.push(c), n.set(c.group, i);
352
- }), n;
350
+ const i = s.get(c.group) ?? [];
351
+ i.push(c), s.set(c.group, i);
352
+ }), s;
353
353
  }, [a]), z = w(() => {
354
354
  if (l) return [];
355
- const n = new Map(a.map((c) => [c.id, c]));
356
- return f.map((c) => n.get(c)).filter(Boolean);
355
+ const s = new Map(a.map((c) => [c.id, c]));
356
+ return f.map((c) => s.get(c)).filter(Boolean);
357
357
  }, [a, f, l]), P = B(
358
- (n) => {
358
+ (s) => {
359
359
  t(!1);
360
- const c = [n.id, ...f.filter((i) => i !== n.id)].slice(
360
+ const c = [s.id, ...f.filter((i) => i !== s.id)].slice(
361
361
  0,
362
362
  j
363
363
  );
364
- E(c), T(c), setTimeout(() => n.onSelect(), 0);
364
+ E(c), T(c), setTimeout(() => s.onSelect(), 0);
365
365
  },
366
366
  [f, t]
367
367
  ), Q = B(() => {
368
368
  E([]), T([]);
369
369
  }, []);
370
- return /* @__PURE__ */ s(h.Root, { open: e, onOpenChange: t, children: /* @__PURE__ */ m(h.Portal, { children: [
371
- /* @__PURE__ */ s(
370
+ return /* @__PURE__ */ n(h.Root, { open: e, onOpenChange: t, children: /* @__PURE__ */ m(h.Portal, { children: [
371
+ /* @__PURE__ */ n(
372
372
  h.Overlay,
373
373
  {
374
374
  "data-component": "command-palette-overlay",
375
- className: ne
375
+ className: se
376
376
  }
377
377
  ),
378
378
  /* @__PURE__ */ m(
@@ -380,49 +380,49 @@ function ge({
380
380
  {
381
381
  "data-component": "command-palette-dialog",
382
382
  className: re,
383
- "aria-label": d("navigation.cmdk.title", "Command palette"),
383
+ "aria-label": o("navigation.cmdk.title", "Command palette"),
384
384
  children: [
385
- /* @__PURE__ */ s(h.Title, { asChild: !0, children: /* @__PURE__ */ s(q, { children: d("navigation.cmdk.title", "Command palette") }) }),
386
- /* @__PURE__ */ s(h.Description, { asChild: !0, children: /* @__PURE__ */ s(q, { children: d(
385
+ /* @__PURE__ */ n(h.Title, { asChild: !0, children: /* @__PURE__ */ n(q, { children: o("navigation.cmdk.title", "Command palette") }) }),
386
+ /* @__PURE__ */ n(h.Description, { asChild: !0, children: /* @__PURE__ */ n(q, { children: o(
387
387
  "navigation.cmdk.description",
388
388
  "Search for commands, pages, and actions"
389
389
  ) }) }),
390
390
  /* @__PURE__ */ m(
391
391
  M,
392
392
  {
393
- id: o,
394
- label: d("navigation.cmdk.title", "Command palette"),
393
+ id: d,
394
+ label: o("navigation.cmdk.title", "Command palette"),
395
395
  children: [
396
396
  r,
397
- /* @__PURE__ */ s(O, { value: l, onValueChange: g }),
398
- /* @__PURE__ */ m(A, { children: [
399
- /* @__PURE__ */ s(D, {}),
397
+ /* @__PURE__ */ n(O, { value: l, onValueChange: g }),
398
+ /* @__PURE__ */ m(A, { label: o("navigation.cmdk.title", "Command palette"), children: [
399
+ /* @__PURE__ */ n(D, {}),
400
400
  z.length > 0 ? /* @__PURE__ */ m(K, { children: [
401
401
  /* @__PURE__ */ m(
402
402
  N,
403
403
  {
404
- heading: d("navigation.cmdk.recents", "Recent"),
404
+ heading: o("navigation.cmdk.recents", "Recent"),
405
405
  children: [
406
- z.map((n) => /* @__PURE__ */ m(
406
+ z.map((s) => /* @__PURE__ */ m(
407
407
  x,
408
408
  {
409
- value: `recent-${n.label}`,
410
- "data-command-id": n.id,
411
- onSelect: () => P(n),
409
+ value: `recent-${s.label}`,
410
+ "data-command-id": s.id,
411
+ onSelect: () => P(s),
412
412
  children: [
413
- n.icon ? /* @__PURE__ */ s("span", { "aria-hidden": "true", children: n.icon }) : null,
414
- /* @__PURE__ */ s("span", { children: n.label }),
415
- n.shortcut ? /* @__PURE__ */ s(S, { children: n.shortcut }) : null
413
+ s.icon ? /* @__PURE__ */ n("span", { "aria-hidden": "true", children: s.icon }) : null,
414
+ /* @__PURE__ */ n("span", { children: s.label }),
415
+ s.shortcut ? /* @__PURE__ */ n(S, { children: s.shortcut }) : null
416
416
  ]
417
417
  },
418
- `recent-${n.id}`
418
+ `recent-${s.id}`
419
419
  )),
420
- /* @__PURE__ */ s(
420
+ /* @__PURE__ */ n(
421
421
  x,
422
422
  {
423
423
  value: "__clear-recents",
424
424
  onSelect: Q,
425
- children: /* @__PURE__ */ s("span", { children: d(
425
+ children: /* @__PURE__ */ n("span", { children: o(
426
426
  "navigation.cmdk.clearRecents",
427
427
  "Clear recent commands"
428
428
  ) })
@@ -431,9 +431,9 @@ function ge({
431
431
  ]
432
432
  }
433
433
  ),
434
- /* @__PURE__ */ s(G, {})
434
+ /* @__PURE__ */ n(G, {})
435
435
  ] }) : null,
436
- Array.from(F.entries()).map(([n, c]) => /* @__PURE__ */ s(N, { heading: n, children: c.map((i) => /* @__PURE__ */ m(
436
+ Array.from(F.entries()).map(([s, c]) => /* @__PURE__ */ n(N, { heading: s, children: c.map((i) => /* @__PURE__ */ m(
437
437
  x,
438
438
  {
439
439
  value: i.label,
@@ -441,13 +441,13 @@ function ge({
441
441
  keywords: i.keywords,
442
442
  onSelect: () => P(i),
443
443
  children: [
444
- i.icon ? /* @__PURE__ */ s("span", { "aria-hidden": "true", children: i.icon }) : null,
445
- /* @__PURE__ */ s("span", { children: se(i.label, l) }),
446
- i.shortcut ? /* @__PURE__ */ s(S, { children: i.shortcut }) : null
444
+ i.icon ? /* @__PURE__ */ n("span", { "aria-hidden": "true", children: i.icon }) : null,
445
+ /* @__PURE__ */ n("span", { children: ne(i.label, l) }),
446
+ i.shortcut ? /* @__PURE__ */ n(S, { children: i.shortcut }) : null
447
447
  ]
448
448
  },
449
449
  i.id
450
- )) }, n))
450
+ )) }, s))
451
451
  ] })
452
452
  ]
453
453
  }
@@ -469,7 +469,7 @@ export {
469
469
  S as h,
470
470
  U as i,
471
471
  X as j,
472
- se as k,
472
+ ne as k,
473
473
  pe as u
474
474
  };
475
- //# sourceMappingURL=command-palette-D9TBzmOG.js.map
475
+ //# sourceMappingURL=command-palette-B3dVqm9D.js.map