@alfadocs/ui-kit 1.39.0 → 1.40.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 (77) hide show
  1. package/dist/_chunks/{ai-consent-banner-DvtaM3yg.js → ai-consent-banner-D7I2U-cz.js} +37 -36
  2. package/dist/_chunks/{booking-Dn3jvv3K.js → booking-D43ASl8y.js} +1109 -1103
  3. package/dist/_chunks/{calendar-workspace-B-fUbm62.js → calendar-workspace-SN23GsXX.js} +2154 -2148
  4. package/dist/_chunks/{notes-panel-CAD1Ytcj.js → notes-panel-CmTqIWlS.js} +76 -73
  5. package/dist/_chunks/{rich-text-editor-C6fE-uP4.js → rich-text-editor-BJ1-Lkao.js} +1023 -931
  6. package/dist/agent-catalog.json +1 -1
  7. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +9 -0
  8. package/dist/components/ai-consent-banner/index.d.ts +1 -1
  9. package/dist/components/ai-consent-banner/index.js +1 -1
  10. package/dist/components/booking/booking-types.d.ts +6 -0
  11. package/dist/components/booking/cascade.d.ts +6 -0
  12. package/dist/components/booking/index.js +1 -1
  13. package/dist/components/notes-panel/index.d.ts +1 -0
  14. package/dist/components/notes-panel/index.js +1 -1
  15. package/dist/components/notes-panel/notes-panel.d.ts +8 -1
  16. package/dist/components/rich-text-editor/index.d.ts +1 -1
  17. package/dist/components/rich-text-editor/index.js +1 -1
  18. package/dist/components/rich-text-editor/rich-text-editor.d.ts +48 -0
  19. package/dist/i18n/locales/ar.d.ts +13 -11
  20. package/dist/i18n/locales/ar.js +14 -12
  21. package/dist/i18n/locales/de.d.ts +13 -11
  22. package/dist/i18n/locales/de.js +14 -12
  23. package/dist/i18n/locales/el.d.ts +13 -11
  24. package/dist/i18n/locales/el.js +14 -12
  25. package/dist/i18n/locales/en.d.ts +2 -0
  26. package/dist/i18n/locales/en.js +3 -1
  27. package/dist/i18n/locales/es.d.ts +13 -11
  28. package/dist/i18n/locales/es.js +14 -12
  29. package/dist/i18n/locales/fr.d.ts +13 -11
  30. package/dist/i18n/locales/fr.js +14 -12
  31. package/dist/i18n/locales/hi.d.ts +13 -11
  32. package/dist/i18n/locales/hi.js +14 -12
  33. package/dist/i18n/locales/it.d.ts +13 -11
  34. package/dist/i18n/locales/it.js +14 -12
  35. package/dist/i18n/locales/ja.d.ts +13 -11
  36. package/dist/i18n/locales/ja.js +14 -12
  37. package/dist/i18n/locales/nl.d.ts +13 -11
  38. package/dist/i18n/locales/nl.js +14 -12
  39. package/dist/i18n/locales/pl.d.ts +13 -11
  40. package/dist/i18n/locales/pl.js +14 -12
  41. package/dist/i18n/locales/pt.d.ts +13 -11
  42. package/dist/i18n/locales/pt.js +14 -12
  43. package/dist/i18n/locales/ro.d.ts +13 -11
  44. package/dist/i18n/locales/ro.js +14 -12
  45. package/dist/i18n/locales/ru.d.ts +13 -11
  46. package/dist/i18n/locales/ru.js +14 -12
  47. package/dist/i18n/locales/sq.d.ts +13 -11
  48. package/dist/i18n/locales/sq.js +14 -12
  49. package/dist/i18n/locales/sv.d.ts +13 -11
  50. package/dist/i18n/locales/sv.js +14 -12
  51. package/dist/i18n/locales/tr.d.ts +13 -11
  52. package/dist/i18n/locales/tr.js +14 -12
  53. package/dist/i18n/locales/zh.d.ts +13 -11
  54. package/dist/i18n/locales/zh.js +14 -12
  55. package/dist/index.js +5 -5
  56. package/dist/locales/ar.json +14 -12
  57. package/dist/locales/de.json +14 -12
  58. package/dist/locales/el.json +14 -12
  59. package/dist/locales/en.json +3 -1
  60. package/dist/locales/es.json +14 -12
  61. package/dist/locales/fr.json +14 -12
  62. package/dist/locales/hi.json +14 -12
  63. package/dist/locales/it.json +14 -12
  64. package/dist/locales/ja.json +14 -12
  65. package/dist/locales/nl.json +14 -12
  66. package/dist/locales/pl.json +14 -12
  67. package/dist/locales/pt.json +14 -12
  68. package/dist/locales/ro.json +14 -12
  69. package/dist/locales/ru.json +14 -12
  70. package/dist/locales/sq.json +14 -12
  71. package/dist/locales/sv.json +14 -12
  72. package/dist/locales/tr.json +14 -12
  73. package/dist/locales/zh.json +14 -12
  74. package/dist/patterns/calendar/calendar.journey.d.ts +9 -1
  75. package/dist/patterns/calendar/calendar.sheets.d.ts +6 -1
  76. package/dist/patterns/calendar/index.js +1 -1
  77. package/package.json +1 -1
@@ -1,28 +1,28 @@
1
- import { jsxs as o, jsx as n, Fragment as Qe } from "react/jsx-runtime";
2
- import { forwardRef as Ue, useRef as f, useState as w, useId as Xe, useCallback as T, useEffect as me, useImperativeHandle as Ze, useMemo as et } from "react";
1
+ import { jsxs as o, jsx as n, Fragment as Ue } from "react/jsx-runtime";
2
+ import { forwardRef as Xe, useRef as f, useState as w, useId as Ze, useCallback as T, useEffect as me, useImperativeHandle as et, useMemo as tt } from "react";
3
3
  import { c as Ce } from "./index-D2ZczOXr.js";
4
- import { useTranslation as tt } from "react-i18next";
5
- import { u as nt } from "./registry-DvAUVLHh.js";
6
- import { C as at } from "./clinical-note-card-DdsGYMmI.js";
7
- import { R as it } from "./rich-text-editor-C6fE-uP4.js";
8
- import { T as st } from "./text-area-Bt3p7Pt0.js";
4
+ import { useTranslation as nt } from "react-i18next";
5
+ import { u as at } from "./registry-DvAUVLHh.js";
6
+ import { C as it } from "./clinical-note-card-DdsGYMmI.js";
7
+ import { R as st } from "./rich-text-editor-BJ1-Lkao.js";
8
+ import { T as lt } from "./text-area-Bt3p7Pt0.js";
9
9
  import { A as I } from "./alert-CiQ5Pa3Q.js";
10
10
  import { B as z } from "./button-CaUe1uyd.js";
11
11
  import { I as ge } from "./icon-button-CehAeZoP.js";
12
- import { C as lt } from "./checkbox-CZkipDn7.js";
12
+ import { C as rt } from "./checkbox-CZkipDn7.js";
13
13
  import { C as he } from "./card-DPmk26CL.js";
14
- import { C as rt, S as M } from "./skeleton-B1KTdJ4N.js";
14
+ import { C as ot, S as M } from "./skeleton-B1KTdJ4N.js";
15
15
  import { D as v } from "./dialog-BJiLqhx6.js";
16
- import { P as ot } from "./panel-header-D_mTdhUp.js";
17
- import { a as dt, u as ct, R as ut } from "./use-list-reflow-Cw43nxw5.js";
18
- import { u as ft } from "./use-theme-CAuo6EYT.js";
19
- import { N as pt } from "./notebook-pen-CO7HoM-W.js";
20
- import { P as mt } from "./pencil-B1sKKyuT.js";
21
- import { T as gt } from "./trash-2-uumy3fy1.js";
16
+ import { P as dt } from "./panel-header-D_mTdhUp.js";
17
+ import { a as ct, u as ut, R as ft } from "./use-list-reflow-Cw43nxw5.js";
18
+ import { u as pt } from "./use-theme-CAuo6EYT.js";
19
+ import { N as mt } from "./notebook-pen-CO7HoM-W.js";
20
+ import { P as gt } from "./pencil-B1sKKyuT.js";
21
+ import { T as ht } from "./trash-2-uumy3fy1.js";
22
22
  function ve(i, c) {
23
23
  return typeof i == "object" && i !== null && "message" in i && typeof i.message == "string" && i.message.trim() ? i.message : c;
24
24
  }
25
- const ht = {
25
+ const vt = {
26
26
  id: "notes-panel",
27
27
  // 'submit' backs add_note (compose + commit a note). pin / flag are toggles
28
28
  // with no dedicated capability in the closed vocabulary.
@@ -121,7 +121,7 @@ const ht = {
121
121
  description: "Sourced from the id prop. Required to address a specific notes panel from the agent."
122
122
  }
123
123
  }
124
- }, vt = "ds:isolate ds:[&_[data-component=card]>*]:relative ds:[&_[data-component=card]>*]:z-[1]", yt = Ce(
124
+ }, yt = "ds:isolate ds:[&_[data-component=card]>*]:relative ds:[&_[data-component=card]>*]:z-[1]", bt = Ce(
125
125
  "ds:relative ds:flex ds:flex-col ds:rounded-[var(--radius-lg)]",
126
126
  {
127
127
  variants: {
@@ -129,7 +129,7 @@ const ht = {
129
129
  true: "ds:focus:outline-[length:var(--focus-ring-width)] ds:focus:outline-solid ds:focus:outline-[color:var(--ring)] ds:focus:outline-offset-[length:var(--focus-ring-offset)]",
130
130
  false: ""
131
131
  },
132
- washed: { true: vt, false: "" }
132
+ washed: { true: yt, false: "" }
133
133
  },
134
134
  defaultVariants: { current: !1, washed: !1 }
135
135
  }
@@ -148,14 +148,14 @@ const ht = {
148
148
  }
149
149
  }
150
150
  }
151
- ), bt = "ds:opacity-0", Ct = [
151
+ ), Ct = "ds:opacity-0", Pt = [
152
152
  "ds:transition-opacity ds:duration-[var(--animation-duration)]",
153
153
  "ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none"
154
- ].join(" "), Pt = [3, 2, 3];
154
+ ].join(" "), xt = [3, 2, 3];
155
155
  function be(i) {
156
156
  return i ? /<img\b/i.test(i) ? !0 : i.replace(/<[^>]*>/g, "").replace(/&nbsp;/gi, " ").trim().length > 0 : !1;
157
157
  }
158
- const Ft = Ue(
158
+ const Kt = Xe(
159
159
  function({
160
160
  id: c,
161
161
  notes: j,
@@ -178,24 +178,25 @@ const Ft = Ue(
178
178
  onDictate: ke,
179
179
  onProofread: _e,
180
180
  onAutoFormat: Se,
181
+ aiConsent: Ie,
181
182
  onTogglePin: L,
182
- onToggleFlag: O,
183
+ onToggleFlag: H,
183
184
  noteActions: ee,
184
185
  onEditNote: N,
185
- editClinical: Ie = !1,
186
+ editClinical: ze = !1,
186
187
  onDeleteNote: h,
187
188
  confirmDelete: $ = !0,
188
- title: ze,
189
- composerPlaceholder: je,
190
- addNoteLabel: Ae,
191
- emptyState: Le,
189
+ title: je,
190
+ composerPlaceholder: Ae,
191
+ addNoteLabel: Le,
192
+ emptyState: He,
192
193
  className: Oe,
193
194
  "aria-label": G,
194
- ...He
195
- }, Be) {
196
- const { t: a, i18n: te } = tt(), b = f(null), [P, V] = w(""), [H, B] = w(E), [u, ne] = w(!1), [ae, R] = w(null), [r, Y] = w(null), ie = f(!1);
195
+ ...Be
196
+ }, We) {
197
+ const { t: a, i18n: te } = nt(), b = f(null), [P, V] = w(""), [O, B] = w(E), [u, ne] = w(!1), [ae, R] = w(null), [r, Y] = w(null), ie = f(!1);
197
198
  C === "loading" && (ie.current = !0);
198
- const We = ie.current ? rt : "", De = ze ?? a("notesPanel.title", { defaultValue: "Notes" }), se = Xe(), le = je ?? a("notesPanel.placeholder", { defaultValue: "Add a note…" }), re = r !== null ? a("notesPanel.edit", { defaultValue: "Edit note" }) : a("notesPanel.composerLabel", { defaultValue: "New note" }), qe = g === "rich" ? be(P) : P.trim().length > 0, Fe = T(() => {
199
+ const De = ie.current ? ot : "", qe = je ?? a("notesPanel.title", { defaultValue: "Notes" }), se = Ze(), le = Ae ?? a("notesPanel.placeholder", { defaultValue: "Add a note…" }), re = r !== null ? a("notesPanel.edit", { defaultValue: "Edit note" }) : a("notesPanel.composerLabel", { defaultValue: "New note" }), Fe = g === "rich" ? be(P) : P.trim().length > 0, Ke = T(() => {
199
200
  var x;
200
201
  if (!(r !== null ? N : m) || u) return;
201
202
  const t = g === "rich", d = t ? ((x = b.current) == null ? void 0 : x.getHTML()) ?? P : P.trim();
@@ -207,7 +208,7 @@ const Ft = Ue(
207
208
  R(null);
208
209
  let s;
209
210
  try {
210
- s = r !== null && N ? N(r, { content: d, clinical: H }) : m == null ? void 0 : m({ content: d, clinical: H });
211
+ s = r !== null && N ? N(r, { content: d, clinical: O }) : m == null ? void 0 : m({ content: d, clinical: O });
211
212
  } catch (p) {
212
213
  R(ve(p, a("notesPanel.addFailed")));
213
214
  return;
@@ -220,14 +221,14 @@ const Ft = Ue(
220
221
  }, [
221
222
  g,
222
223
  P,
223
- H,
224
+ O,
224
225
  E,
225
226
  r,
226
227
  m,
227
228
  N,
228
229
  u,
229
230
  a
230
- ]), oe = Te && (r === null || Ie), de = T(
231
+ ]), oe = Te && (r === null || ze), de = T(
231
232
  (e) => {
232
233
  try {
233
234
  return new Intl.DateTimeFormat(te.language, {
@@ -242,7 +243,7 @@ const Ft = Ue(
242
243
  }
243
244
  },
244
245
  [te.language]
245
- ), Ke = T(
246
+ ), Me = T(
246
247
  (e) => {
247
248
  var d, l, s;
248
249
  if (!e.id || u) return;
@@ -259,15 +260,15 @@ const Ft = Ue(
259
260
  }, [ce, W]);
260
261
  const k = [...j].sort(
261
262
  (e, t) => Number(t.pinned ?? !1) - Number(e.pinned ?? !1)
262
- ), { resolvedTheme: Me } = ft(), ue = Me.endsWith("-accessible") || void 0, { containerRef: $e } = dt({
263
+ ), { resolvedTheme: $e } = pt(), ue = $e.endsWith("-accessible") || void 0, { containerRef: Ge } = ct({
263
264
  key: k.map((e) => e.id).join(),
264
265
  reduceMotion: ue
265
- }), _ = ct({ reduceMotion: ue }), [D, q] = w(null), Ge = T(
266
+ }), _ = ut({ reduceMotion: ue }), [D, q] = w(null), Ye = T(
266
267
  (e) => {
267
268
  h && ($ ? q(e) : _.leave(e, () => h(e)));
268
269
  },
269
270
  [$, _, h]
270
- ), Ye = T(() => {
271
+ ), Je = T(() => {
271
272
  if (!D || !h) return;
272
273
  const e = D;
273
274
  q(null), _.leave(e, () => h(e));
@@ -282,15 +283,15 @@ const Ft = Ue(
282
283
  S.current = m;
283
284
  const F = f(L);
284
285
  F.current = L;
285
- const K = f(O);
286
- K.current = O;
286
+ const K = f(H);
287
+ K.current = H;
287
288
  const U = f(A);
288
289
  U.current = A;
289
290
  const fe = f(y);
290
291
  fe.current = y;
291
292
  const pe = f(null);
292
- Ze(Be, () => pe.current, []);
293
- const Je = et(
293
+ et(We, () => pe.current, []);
294
+ const Qe = tt(
294
295
  () => ({
295
296
  // Ids + flags only — never the note body or author (both PHI).
296
297
  getNotes: () => Q.current.map((e) => ({
@@ -319,7 +320,7 @@ const Ft = Ue(
319
320
  }),
320
321
  []
321
322
  );
322
- return nt(ht, Je, c), /* @__PURE__ */ o(
323
+ return at(vt, Qe, c), /* @__PURE__ */ o(
323
324
  "section",
324
325
  {
325
326
  ref: pe,
@@ -328,13 +329,13 @@ const Ft = Ue(
328
329
  "aria-labelledby": G ? void 0 : se,
329
330
  "aria-label": G,
330
331
  className: ["ds:flex ds:flex-col", Oe].filter(Boolean).join(" "),
331
- ...He,
332
+ ...Be,
332
333
  children: [
333
334
  /* @__PURE__ */ n(
334
- ot,
335
+ dt,
335
336
  {
336
- title: De,
337
- icon: /* @__PURE__ */ n(pt, { "aria-hidden": "true" }),
337
+ title: qe,
338
+ icon: /* @__PURE__ */ n(mt, { "aria-hidden": "true" }),
338
339
  headingId: G ? void 0 : se,
339
340
  sticky: !0,
340
341
  divider: !0
@@ -348,7 +349,7 @@ const Ft = Ue(
348
349
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
349
350
  children: [
350
351
  g === "rich" ? /* @__PURE__ */ n(
351
- it,
352
+ st,
352
353
  {
353
354
  ref: b,
354
355
  ariaLabel: re,
@@ -364,10 +365,12 @@ const Ft = Ue(
364
365
  aiPrivacyNotice: Re,
365
366
  onDictate: ke,
366
367
  onProofread: _e,
367
- onAutoFormat: Se
368
+ onAutoFormat: Se,
369
+ aiConsent: Ie,
370
+ aiConsentHeadingLevel: 3
368
371
  }
369
372
  ) : /* @__PURE__ */ n(
370
- st,
373
+ lt,
371
374
  {
372
375
  value: P,
373
376
  readOnly: u,
@@ -388,13 +391,13 @@ const Ft = Ue(
388
391
  ].join(" "),
389
392
  children: [
390
393
  oe ? /* @__PURE__ */ n(
391
- lt,
394
+ rt,
392
395
  {
393
396
  size: "sm",
394
397
  label: a("notesPanel.clinicalToggle", {
395
398
  defaultValue: "Clinical note"
396
399
  }),
397
- checked: H,
400
+ checked: O,
398
401
  onCheckedChange: (e) => B(e === !0),
399
402
  disabled: u || !A,
400
403
  disabledReason: A ? void 0 : Ee ?? a("notesPanel.clinicalGated", {
@@ -419,10 +422,10 @@ const Ft = Ue(
419
422
  {
420
423
  type: "button",
421
424
  size: "sm",
422
- onClick: Fe,
423
- disabled: !qe,
425
+ onClick: Ke,
426
+ disabled: !Fe,
424
427
  loading: u,
425
- children: r !== null ? a("notesPanel.saveEdit", { defaultValue: "Save note" }) : Ae ?? a("notesPanel.add", { defaultValue: "Add note" })
428
+ children: r !== null ? a("notesPanel.saveEdit", { defaultValue: "Save note" }) : Le ?? a("notesPanel.add", { defaultValue: "Add note" })
426
429
  }
427
430
  )
428
431
  ] })
@@ -445,7 +448,7 @@ const Ft = Ue(
445
448
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
446
449
  children: [
447
450
  /* @__PURE__ */ n("span", { role: "status", className: "ds:sr-only", children: a("notesPanel.loading") }),
448
- Pt.map((e, t) => /* @__PURE__ */ n(he, { variant: "elevated", "aria-hidden": "true", children: /* @__PURE__ */ n(he.Body, { children: /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
451
+ xt.map((e, t) => /* @__PURE__ */ n(he, { variant: "elevated", "aria-hidden": "true", children: /* @__PURE__ */ n(he.Body, { children: /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
449
452
  /* @__PURE__ */ o("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
450
453
  /* @__PURE__ */ n(
451
454
  M,
@@ -497,9 +500,9 @@ const Ft = Ue(
497
500
  k.length > 0 ? /* @__PURE__ */ n(
498
501
  "ul",
499
502
  {
500
- ref: $e,
503
+ ref: Ge,
501
504
  "aria-busy": C === "loading" || void 0,
502
- className: `ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0 ${We}`.trim(),
505
+ className: `ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0 ${De}`.trim(),
503
506
  children: k.map(({ actions: e, ...t }, d) => {
504
507
  const l = y != null && t.id === y, s = t.id, x = s != null && r === s, p = s != null && _.isLeaving(s);
505
508
  return /* @__PURE__ */ o(
@@ -512,13 +515,13 @@ const Ft = Ue(
512
515
  "data-leaving": p ? "" : void 0,
513
516
  "data-editing": x ? "" : void 0,
514
517
  className: [
515
- yt({
518
+ bt({
516
519
  current: l,
517
520
  washed: l || x
518
521
  }),
519
- Ct,
520
- ut,
521
- p ? bt : ""
522
+ Pt,
523
+ ft,
524
+ p ? Ct : ""
522
525
  ].filter(Boolean).join(" "),
523
526
  children: [
524
527
  l ? /* @__PURE__ */ n("span", { className: "ds:sr-only", children: a("notesPanel.current", {
@@ -541,16 +544,16 @@ const Ft = Ue(
541
544
  `${y}:${Z ?? ""}`
542
545
  ) : null,
543
546
  /* @__PURE__ */ n(
544
- at,
547
+ it,
545
548
  {
546
549
  surface: "elevated",
547
550
  truncate: !l,
548
- headerActions: /* @__PURE__ */ o(Qe, { children: [
551
+ headerActions: /* @__PURE__ */ o(Ue, { children: [
549
552
  ee ? ee({ ...t, actions: e }) : null,
550
553
  N && s && !t.deleted && (e == null ? void 0 : e.edit) !== !1 ? /* @__PURE__ */ n(
551
554
  ge,
552
555
  {
553
- icon: /* @__PURE__ */ n(mt, {}),
556
+ icon: /* @__PURE__ */ n(gt, {}),
554
557
  intent: "ghost",
555
558
  size: "sm",
556
559
  "aria-label": a("notesPanel.editNamed", {
@@ -563,13 +566,13 @@ const Ft = Ue(
563
566
  "aria-pressed": r === s,
564
567
  disabled: u,
565
568
  "data-notes-panel-edit": "",
566
- onClick: () => r === s ? W() : Ke(t)
569
+ onClick: () => r === s ? W() : Me(t)
567
570
  }
568
571
  ) : null,
569
572
  h && s && !t.deleted ? /* @__PURE__ */ n(
570
573
  ge,
571
574
  {
572
- icon: /* @__PURE__ */ n(gt, {}),
575
+ icon: /* @__PURE__ */ n(ht, {}),
573
576
  intent: "ghost",
574
577
  size: "sm",
575
578
  "aria-label": a("notesPanel.deleteNamed", {
@@ -579,13 +582,13 @@ const Ft = Ue(
579
582
  tooltip: a("notesPanel.delete", {
580
583
  defaultValue: "Delete note"
581
584
  }),
582
- onClick: () => Ge(s)
585
+ onClick: () => Ye(s)
583
586
  }
584
587
  ) : null
585
588
  ] }),
586
589
  ...t,
587
590
  onTogglePin: L && t.id && (e == null ? void 0 : e.pin) !== !1 && !t.deleted ? () => L(t.id) : void 0,
588
- onToggleFlag: O && t.id ? () => O(t.id) : void 0
591
+ onToggleFlag: H && t.id ? () => H(t.id) : void 0
589
592
  }
590
593
  )
591
594
  ]
@@ -594,7 +597,7 @@ const Ft = Ue(
594
597
  );
595
598
  })
596
599
  }
597
- ) : C !== "ready" ? null : Le ?? /* @__PURE__ */ n("p", { className: "ds:m-0 type-body-sm ds:text-[color:var(--muted-foreground)]", children: a("notesPanel.empty", { defaultValue: "No notes yet." }) })
600
+ ) : C !== "ready" ? null : He ?? /* @__PURE__ */ n("p", { className: "ds:m-0 type-body-sm ds:text-[color:var(--muted-foreground)]", children: a("notesPanel.empty", { defaultValue: "No notes yet." }) })
598
601
  ] }),
599
602
  h && $ ? /* @__PURE__ */ n(
600
603
  v,
@@ -625,7 +628,7 @@ const Ft = Ue(
625
628
  {
626
629
  intent: "destructive",
627
630
  size: "sm",
628
- onClick: Ye,
631
+ onClick: Je,
629
632
  children: a("notesPanel.deleteConfirmAction", {
630
633
  defaultValue: "Delete"
631
634
  })
@@ -641,7 +644,7 @@ const Ft = Ue(
641
644
  }
642
645
  );
643
646
  export {
644
- Ft as N,
647
+ Kt as N,
645
648
  ve as g
646
649
  };
647
- //# sourceMappingURL=notes-panel-CAD1Ytcj.js.map
650
+ //# sourceMappingURL=notes-panel-CmTqIWlS.js.map