@alfadocs/ui-kit 0.8.1 → 0.9.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 (165) hide show
  1. package/dist/_chunks/{agenda-card-CalZqycc.js → agenda-card-DU13wUTA.js} +4 -4
  2. package/dist/_chunks/{agenda-tray-3ffFDQZC.js → agenda-tray-gQUXklO4.js} +9 -9
  3. package/dist/_chunks/{ai-prompt-input-DLgY8lrW.js → ai-prompt-input-bAJwYu84.js} +45 -45
  4. package/dist/_chunks/{alert-CVMq99Cq.js → alert-pgdXrEO5.js} +2 -2
  5. package/dist/_chunks/{app-frame-CDJOgPXe.js → app-frame-BYx1gcV7.js} +2 -2
  6. package/dist/_chunks/{audio-recorder-cOl_Z_Pk.js → audio-recorder-BHBonrFf.js} +54 -54
  7. package/dist/_chunks/{audio-visualiser-ByDEFLNm.js → audio-visualiser-I-T4Z7EU.js} +2 -2
  8. package/dist/_chunks/{autocomplete-D4oUZbsP.js → autocomplete-C34hbfKh.js} +6 -6
  9. package/dist/_chunks/{avatar-Dcr6XuDQ.js → avatar-I10iCDs8.js} +2 -2
  10. package/dist/_chunks/{badge-DKFbntoa.js → badge-cLYVGlMh.js} +2 -2
  11. package/dist/_chunks/{balance-cell-renderer-BuExGe6u.js → balance-cell-renderer-DWWtX-VM.js} +5 -5
  12. package/dist/_chunks/{breadcrumb-D1snXjPb.js → breadcrumb--YI7lcHA.js} +4 -4
  13. package/dist/_chunks/{button-group-CONver7M.js → button-group-Bh2g_Ng-.js} +2 -2
  14. package/dist/_chunks/{chat-container-ClzsWXp2.js → chat-container-izziXViv.js} +4 -4
  15. package/dist/_chunks/{chat-message-DoAhgUTj.js → chat-message-g3lxpXM_.js} +2 -2
  16. package/dist/_chunks/{checkbox-group-CarPLDIC.js → checkbox-group-Qkm3Rg1S.js} +6 -6
  17. package/dist/_chunks/{color-picker-CTIcHlDF.js → color-picker-BPfcByHH.js} +13 -13
  18. package/dist/_chunks/{combobox-BLWruOxK.js → combobox-DUpWoPPk.js} +6 -6
  19. package/dist/_chunks/{contact-card-DNyATxKv.js → contact-card-VJIUqKB2.js} +13 -13
  20. package/dist/_chunks/{date-picker-B1PO1ZQP.js → date-picker-BD5FYW08.js} +3 -3
  21. package/dist/_chunks/{date-range-picker-mix2nEVC.js → date-range-picker-BZLVgcXE.js} +27 -27
  22. package/dist/_chunks/{date-time-picker-Dnong_BY.js → date-time-picker-CCoRWX7R.js} +5 -5
  23. package/dist/_chunks/{description-list-BYA77Yud.js → description-list-y7Hk51KI.js} +16 -16
  24. package/dist/_chunks/{dialog-W8uDfXD8.js → dialog-DRp6Dejy.js} +2 -2
  25. package/dist/_chunks/{file-upload-C947ACDK.js → file-upload-BVbfiANR.js} +81 -81
  26. package/dist/_chunks/{floating-action-button-C8OYj8mE.js → floating-action-button-pojvb9gG.js} +6 -6
  27. package/dist/_chunks/{form-field-Bmkeh7WY.js → form-field-BOm9hK35.js} +2 -2
  28. package/dist/_chunks/{freemium-paywall-B9kIDtm1.js → freemium-paywall-BTEiVkes.js} +29 -29
  29. package/dist/_chunks/{key-value-pair-CgWvAIGb.js → key-value-pair-AbrRwesr.js} +14 -14
  30. package/dist/_chunks/{leo-sidebar-BWECDYpu.js → leo-sidebar-B054wsZm.js} +8 -8
  31. package/dist/_chunks/{link-BcYW1eNM.js → link-BGpwaFik.js} +2 -2
  32. package/dist/_chunks/{list-qP6p0NTw.js → list-DcjV0m5B.js} +2 -2
  33. package/dist/_chunks/{message-card-DjvsB_3U.js → message-card-c6R0-qXq.js} +6 -6
  34. package/dist/_chunks/{message-tray-BbnAzlLH.js → message-tray-Fsend-du.js} +21 -21
  35. package/dist/_chunks/{multi-select-wqqrgjUQ.js → multi-select-Bh-xR8kP.js} +10 -10
  36. package/dist/_chunks/{navigation-menu-ClbHeawy.js → navigation-menu-Bav1d_wA.js} +2 -2
  37. package/dist/_chunks/{notification-card-uTPEvAQS.js → notification-card-CRIE2Cuk.js} +3 -3
  38. package/dist/_chunks/{notification-tray-PGtMqXbP.js → notification-tray-CfXNYrxv.js} +21 -21
  39. package/dist/_chunks/{number-input-Q7wkHnvQ.js → number-input-mpSLk-ld.js} +3 -3
  40. package/dist/_chunks/{otp-input-C9gUByF0.js → otp-input-CI-Zv5q6.js} +2 -2
  41. package/dist/_chunks/{pagination-3AC4zTsi.js → pagination-OQBlnb1H.js} +7 -7
  42. package/dist/_chunks/{patient-shell-IhMULVrt.js → patient-shell-BS2V6V1b.js} +3 -3
  43. package/dist/_chunks/{payment-form-C3HMAsGG.js → payment-form-CI77oIx1.js} +3 -3
  44. package/dist/_chunks/{pdf-viewer-DO95bm2o.js → pdf-viewer-CNETPubN.js} +3 -3
  45. package/dist/_chunks/{phone-input-CSHJOJ13.js → phone-input-DtBVs5fz.js} +7 -7
  46. package/dist/_chunks/{popover-DekUKNBk.js → popover--derJ_wq.js} +2 -2
  47. package/dist/_chunks/{progress-C11tqhoI.js → progress-B-PSO5OS.js} +4 -4
  48. package/dist/_chunks/{recaptcha-widget-NyfOfLII.js → recaptcha-widget-Kp1XntuE.js} +3 -3
  49. package/dist/_chunks/{resizable-mpXXyIsN.js → resizable-COV-cnth.js} +3 -3
  50. package/dist/_chunks/{search-bar-BTDfgYtg.js → search-bar-DmZZ9UvV.js} +2 -2
  51. package/dist/_chunks/{search-input-CdJIEjFo.js → search-input-BBtSRH-Q.js} +4 -4
  52. package/dist/_chunks/{select-BOU_Osnf.js → select-i9MwQeQy.js} +20 -20
  53. package/dist/_chunks/{sheet-BAg7GY9j.js → sheet-BT0izeoI.js} +9 -9
  54. package/dist/_chunks/{sidebar-Bx3wCDyy.js → sidebar-CoLHtVrP.js} +83 -83
  55. package/dist/_chunks/{sign-in-with-alfadocs-button-B9UrqOqH.js → sign-in-with-alfadocs-button-4zZC-I6y.js} +3 -3
  56. package/dist/_chunks/{skip-link-DmZ3c6cb.js → skip-link-BaSMtPwB.js} +2 -2
  57. package/dist/_chunks/{slider-BT2bZWsy.js → slider-CkR6CLun.js} +3 -3
  58. package/dist/_chunks/{sparkline-_gy8aJDG.js → sparkline-D4Np8ikf.js} +15 -15
  59. package/dist/_chunks/{spinner-DLaYfLPl.js → spinner-DirtWZNG.js} +2 -2
  60. package/dist/_chunks/{stat-B9PHSPbN.js → stat-CDQ_a0vk.js} +4 -4
  61. package/dist/_chunks/{switch-C0psfIQF.js → switch-D916VW86.js} +2 -2
  62. package/dist/_chunks/{tabs-BZQy_Rmb.js → tabs-Cg794H0Q.js} +3 -3
  63. package/dist/_chunks/{tag-DuLMjRbF.js → tag-CQmHRM4Y.js} +3 -3
  64. package/dist/_chunks/{task-card-Dw_ZJDL8.js → task-card-BUVMh6HN.js} +2 -2
  65. package/dist/_chunks/{task-tray-XlIW9ueh.js → task-tray-B3A2fRGR.js} +13 -13
  66. package/dist/_chunks/{text-area-CO9Dz0qX.js → text-area-DHtcpcLv.js} +13 -13
  67. package/dist/_chunks/{text-input-DZwt9L8H.js → text-input-1oqFRbVI.js} +2 -2
  68. package/dist/_chunks/{theme-toggle-B3UR6ouK.js → theme-toggle-B3meAb3y.js} +14 -14
  69. package/dist/_chunks/{time-picker-DvPUmHH-.js → time-picker-DeVZkIY2.js} +2 -2
  70. package/dist/_chunks/{timeline-BvmnQadS.js → timeline-BaSULpSJ.js} +2 -2
  71. package/dist/_chunks/{toast.agent-DihA6MON.js → toast.agent-32WNQ-_x.js} +2 -2
  72. package/dist/_chunks/{transaction-chip-DE6DITun.js → transaction-chip-eVbolm0B.js} +2 -2
  73. package/dist/_chunks/{transcript-panel-Bx5ANMsv.js → transcript-panel-BpJqPr7I.js} +8 -8
  74. package/dist/_chunks/{typing-indicator-BZ5jXZPn.js → typing-indicator-DHeVN4ob.js} +9 -9
  75. package/dist/_chunks/{use-password-requirements-DgEYdN4H.js → use-password-requirements-B1M8lE2t.js} +29 -32
  76. package/dist/_chunks/{warning-stack-CdLIe534.js → warning-stack-CeRihME9.js} +15 -15
  77. package/dist/_chunks/{workflow-map-CESZNNZe.js → workflow-map-D3MvrsZV.js} +4 -4
  78. package/dist/agent-catalog.json +1 -1
  79. package/dist/components/agenda-card/index.js +1 -1
  80. package/dist/components/agenda-tray/index.js +1 -1
  81. package/dist/components/ai-prompt-input/index.js +1 -1
  82. package/dist/components/alert/index.js +1 -1
  83. package/dist/components/app-frame/index.js +1 -1
  84. package/dist/components/audio-recorder/index.js +1 -1
  85. package/dist/components/audio-visualiser/index.js +1 -1
  86. package/dist/components/autocomplete/index.js +1 -1
  87. package/dist/components/avatar/index.js +1 -1
  88. package/dist/components/badge/index.js +1 -1
  89. package/dist/components/breadcrumb/index.js +1 -1
  90. package/dist/components/button-group/index.js +1 -1
  91. package/dist/components/chat-container/index.js +1 -1
  92. package/dist/components/chat-message/index.js +1 -1
  93. package/dist/components/checkbox-group/index.js +1 -1
  94. package/dist/components/color-picker/index.js +1 -1
  95. package/dist/components/combobox/index.js +1 -1
  96. package/dist/components/contact-card/index.js +1 -1
  97. package/dist/components/data-table/index.js +1 -1
  98. package/dist/components/date-picker/index.js +1 -1
  99. package/dist/components/date-range-picker/index.js +1 -1
  100. package/dist/components/date-time-picker/index.js +1 -1
  101. package/dist/components/description-list/index.js +1 -1
  102. package/dist/components/dialog/index.js +1 -1
  103. package/dist/components/file-upload/index.js +1 -1
  104. package/dist/components/floating-action-button/index.js +1 -1
  105. package/dist/components/form-field/index.js +1 -1
  106. package/dist/components/freemium-paywall/freemium-paywall.d.ts +2 -2
  107. package/dist/components/freemium-paywall/index.js +1 -1
  108. package/dist/components/key-value-pair/index.js +1 -1
  109. package/dist/components/link/index.js +1 -1
  110. package/dist/components/list/index.js +1 -1
  111. package/dist/components/message-card/index.js +1 -1
  112. package/dist/components/message-tray/index.js +1 -1
  113. package/dist/components/multi-select/index.js +1 -1
  114. package/dist/components/navigation-menu/index.js +2 -2
  115. package/dist/components/notification-card/index.js +1 -1
  116. package/dist/components/notification-tray/index.js +1 -1
  117. package/dist/components/number-input/index.js +1 -1
  118. package/dist/components/otp-input/index.js +1 -1
  119. package/dist/components/pagination/index.js +1 -1
  120. package/dist/components/password-input/index.js +1 -1
  121. package/dist/components/payment-form/index.js +1 -1
  122. package/dist/components/pdf-viewer/index.js +1 -1
  123. package/dist/components/phone-input/index.js +1 -1
  124. package/dist/components/popover/index.js +1 -1
  125. package/dist/components/progress/index.js +1 -1
  126. package/dist/components/recaptcha-widget/index.js +1 -1
  127. package/dist/components/resizable/index.js +1 -1
  128. package/dist/components/search-bar/index.js +1 -1
  129. package/dist/components/search-input/index.js +1 -1
  130. package/dist/components/select/index.js +1 -1
  131. package/dist/components/sheet/index.js +1 -1
  132. package/dist/components/sidebar/index.js +1 -1
  133. package/dist/components/sidebar/sidebar.d.ts +1 -1
  134. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  135. package/dist/components/skip-link/index.js +1 -1
  136. package/dist/components/skip-link/skip-link.d.ts +1 -1
  137. package/dist/components/slider/index.js +1 -1
  138. package/dist/components/sparkline/index.js +1 -1
  139. package/dist/components/spinner/index.js +1 -1
  140. package/dist/components/stat/index.js +1 -1
  141. package/dist/components/switch/index.js +1 -1
  142. package/dist/components/tabs/index.js +1 -1
  143. package/dist/components/tag/index.js +1 -1
  144. package/dist/components/task-card/index.js +1 -1
  145. package/dist/components/task-tray/index.js +1 -1
  146. package/dist/components/text-area/index.js +1 -1
  147. package/dist/components/text-input/index.js +1 -1
  148. package/dist/components/theme-toggle/index.js +1 -1
  149. package/dist/components/time-picker/index.js +1 -1
  150. package/dist/components/timeline/index.js +1 -1
  151. package/dist/components/toast/index.js +1 -1
  152. package/dist/components/transaction-chip/index.js +1 -1
  153. package/dist/components/transcript-panel/index.js +1 -1
  154. package/dist/components/typing-indicator/index.js +1 -1
  155. package/dist/components/typing-indicator/typing-indicator.d.ts +1 -1
  156. package/dist/components/warning-stack/index.js +1 -1
  157. package/dist/components/workflow/index.js +1 -1
  158. package/dist/i18n/config.d.ts +2 -1
  159. package/dist/i18n/config.js +49 -31
  160. package/dist/i18n/registerUiBundle.d.ts +15 -0
  161. package/dist/index.js +77 -77
  162. package/dist/patterns/leo-assistant/index.js +1 -1
  163. package/dist/patterns/patient-shell/index.js +1 -1
  164. package/dist/tokens.css +1 -1
  165. package/package.json +2 -1
@@ -142,7 +142,7 @@ const D = {
142
142
  []
143
143
  );
144
144
  O(D, j, f);
145
- const R = a ? g("ui.inputs.switch.on", "On") : g("ui.inputs.switch.off", "Off");
145
+ const R = a ? g("inputs.switch.on", "On") : g("inputs.switch.off", "Off");
146
146
  return /* @__PURE__ */ B("div", { className: $({ labelSide: r }), children: [
147
147
  /* @__PURE__ */ t(
148
148
  w.Root,
@@ -193,4 +193,4 @@ J.displayName = "Switch";
193
193
  export {
194
194
  J as S
195
195
  };
196
- //# sourceMappingURL=switch-C0psfIQF.js.map
196
+ //# sourceMappingURL=switch-D916VW86.js.map
@@ -6,7 +6,7 @@ import { a as N, c as q } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as Z } from "react-i18next";
7
7
  import { u as K } from "./use-direction-D6rvvG9G.js";
8
8
  import { c as D } from "./compose-refs-C0k0tdqF.js";
9
- import { S as ee } from "./select-BOU_Osnf.js";
9
+ import { S as ee } from "./select-i9MwQeQy.js";
10
10
  import { X as te } from "./x-CCcI3eJp.js";
11
11
  import { u as se } from "./registry-C9nwlNyL.js";
12
12
  import { C as ae } from "./chevron-down-BX_NP2Yh.js";
@@ -177,7 +177,7 @@ const re = {
177
177
  L.displayName = "Tabs";
178
178
  const $ = S(
179
179
  ({ className: o, children: s, "aria-label": d, ...n }, i) => {
180
- const { variant: u, size: t, orientation: p, overflow: l, value: f, setValue: g } = P(A), { t: w } = Z("ui"), b = O(null), [v, z] = H([]), m = p === "horizontal", h = l === "dropdown" && m;
180
+ const { variant: u, size: t, orientation: p, overflow: l, value: f, setValue: g } = P(A), { t: w } = Z(), b = O(null), [v, z] = H([]), m = p === "horizontal", h = l === "dropdown" && m;
181
181
  M(() => {
182
182
  if (!h) {
183
183
  z([]);
@@ -396,4 +396,4 @@ export {
396
396
  F as c,
397
397
  re as t
398
398
  };
399
- //# sourceMappingURL=tabs-BZQy_Rmb.js.map
399
+ //# sourceMappingURL=tabs-Cg794H0Q.js.map
@@ -152,7 +152,7 @@ const V = B(
152
152
  const W = (s) => {
153
153
  (s.key === "Backspace" || s.key === "Delete") && t && !e && (s.preventDefault(), x(), setTimeout(t, 100));
154
154
  }, x = () => {
155
- R(w("ui.tag.removed", { label: n }));
155
+ R(w("tag.removed", { label: n }));
156
156
  }, K = () => {
157
157
  !e && t && (x(), setTimeout(t, 100));
158
158
  }, d = !!t, N = !!b && !d, T = V({
@@ -182,7 +182,7 @@ const V = B(
182
182
  "button",
183
183
  {
184
184
  type: "button",
185
- "aria-label": w("ui.tag.remove", { label: n }),
185
+ "aria-label": w("tag.remove", { label: n }),
186
186
  onClick: K,
187
187
  disabled: e,
188
188
  tabIndex: -1,
@@ -252,4 +252,4 @@ M.displayName = "Tag";
252
252
  export {
253
253
  M as T
254
254
  };
255
- //# sourceMappingURL=tag-DuLMjRbF.js.map
255
+ //# sourceMappingURL=tag-CQmHRM4Y.js.map
@@ -53,7 +53,7 @@ function T({
53
53
  }
54
54
  const w = v(
55
55
  ({ item: s, size: a = "sm", onActivate: r, className: u, ...f }, p) => {
56
- const { t: m } = b(), t = !!r, h = !!s.url && S(s.url), n = m("ui.taskCard.itemLabel", {
56
+ const { t: m } = b(), t = !!r, h = !!s.url && S(s.url), n = m("taskCard.itemLabel", {
57
57
  title: s.title,
58
58
  due: s.dueLabel ?? "",
59
59
  defaultValue: '{{title}}{{due, prepend, " · "}}'
@@ -114,4 +114,4 @@ export {
114
114
  w as T,
115
115
  S as i
116
116
  };
117
- //# sourceMappingURL=task-card-Dw_ZJDL8.js.map
117
+ //# sourceMappingURL=task-card-BUVMh6HN.js.map
@@ -5,7 +5,7 @@ import { useTranslation as _ } from "react-i18next";
5
5
  import { I as C } from "./icon-button-C4CGcYuz.js";
6
6
  import { S as K } from "./skeleton-CZbwyJAA.js";
7
7
  import { E } from "./empty-state-3CLJIXSj.js";
8
- import { T as L } from "./task-card-Dw_ZJDL8.js";
8
+ import { T as L } from "./task-card-BUVMh6HN.js";
9
9
  import { u as P } from "./registry-C9nwlNyL.js";
10
10
  import { c as H } from "./createLucideIcon-CrFbzy84.js";
11
11
  import { P as V } from "./plus-CYKNmfuA.js";
@@ -100,33 +100,33 @@ const B = [
100
100
  id: e,
101
101
  items: s,
102
102
  title: v,
103
- size: u = "sm",
103
+ size: f = "sm",
104
104
  onOpenTask: r,
105
105
  onToggleDone: n,
106
106
  onDismissTask: c,
107
- onAddTask: f,
107
+ onAddTask: y,
108
108
  addLabel: x,
109
- loading: y = !1,
109
+ loading: u = !1,
110
110
  emptyTitle: w,
111
111
  emptyDescription: I,
112
112
  className: N,
113
113
  ...T
114
114
  }, b) => {
115
- const { t: l } = _(), h = v ?? l("ui.taskTray.title", "Tasks"), R = x ?? l("ui.taskTray.add", "Add task"), A = !y && s.length === 0;
115
+ const { t: l } = _(), h = v ?? l("taskTray.title", "Tasks"), R = x ?? l("taskTray.add", "Add task"), A = !u && s.length === 0;
116
116
  let m;
117
- y ? m = /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [0, 1, 2].map((t) => /* @__PURE__ */ a(K, { variant: "rectangular", height: "2.5rem" }, t)) }) : A ? m = /* @__PURE__ */ a("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ a(
117
+ u ? m = /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [0, 1, 2].map((t) => /* @__PURE__ */ a(K, { variant: "rectangular", height: "2.5rem" }, t)) }) : A ? m = /* @__PURE__ */ a("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ a(
118
118
  E,
119
119
  {
120
120
  variant: "first-use",
121
121
  size: "sm",
122
- title: w ?? l("ui.taskTray.empty.title", "No tasks yet"),
123
- description: I ?? l("ui.taskTray.empty.description", "New tasks will appear here.")
122
+ title: w ?? l("taskTray.empty.title", "No tasks yet"),
123
+ description: I ?? l("taskTray.empty.description", "New tasks will appear here.")
124
124
  }
125
125
  ) }) : m = /* @__PURE__ */ a("ul", { className: "ds:flex ds:list-none ds:flex-col", children: s.map((t) => /* @__PURE__ */ a(
126
126
  L,
127
127
  {
128
128
  item: t,
129
- size: u,
129
+ size: f,
130
130
  onActivate: r,
131
131
  "data-task-id": t.id
132
132
  },
@@ -162,7 +162,7 @@ const B = [
162
162
  "aria-label": h,
163
163
  "data-component": "task-tray",
164
164
  "data-component-id": e,
165
- className: J({ size: u, className: N }),
165
+ className: J({ size: f, className: N }),
166
166
  ...T,
167
167
  children: [
168
168
  /* @__PURE__ */ p("header", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [
@@ -170,14 +170,14 @@ const B = [
170
170
  /* @__PURE__ */ a(F, { "aria-hidden": "true", className: "ds:size-4" }),
171
171
  h
172
172
  ] }),
173
- f ? /* @__PURE__ */ a(
173
+ y ? /* @__PURE__ */ a(
174
174
  C,
175
175
  {
176
176
  icon: /* @__PURE__ */ a(V, {}),
177
177
  intent: "outline",
178
178
  size: "sm",
179
179
  "aria-label": R,
180
- onClick: f
180
+ onClick: y
181
181
  }
182
182
  ) : null
183
183
  ] }),
@@ -192,4 +192,4 @@ export {
192
192
  Q as T,
193
193
  G as t
194
194
  };
195
- //# sourceMappingURL=task-tray-XlIW9ueh.js.map
195
+ //# sourceMappingURL=task-tray-B3A2fRGR.js.map
@@ -113,7 +113,7 @@ const ge = {
113
113
  onInput: D,
114
114
  ...$
115
115
  }, c) => {
116
- const { t: I } = pe(), i = me(), z = h ?? i.id, Y = i.disabled || _, G = i.invalid ? "error" : v, l = O(null), J = k(
116
+ const { t: I } = pe(), o = me(), z = h ?? o.id, Y = o.disabled || _, G = o.invalid ? "error" : v, l = O(null), J = k(
117
117
  (e) => {
118
118
  l.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
119
119
  },
@@ -123,10 +123,10 @@ const ge = {
123
123
  ), T = u ? String(F) : Q, p = O(!1), A = k(() => {
124
124
  const e = l.current;
125
125
  if (!e || !s) return;
126
- const r = window.getComputedStyle(e), d = parseFloat(r.lineHeight), f = parseFloat(r.paddingTop), m = parseFloat(r.paddingBottom), se = parseFloat(r.borderTopWidth), ae = parseFloat(r.borderBottomWidth), M = f + m + se + ae, ne = (Number.isFinite(d) ? d : 24) * g + M, ie = typeof b == "number" ? (Number.isFinite(d) ? d : 24) * b + M : Number.POSITIVE_INFINITY;
126
+ const r = window.getComputedStyle(e), d = parseFloat(r.lineHeight), f = parseFloat(r.paddingTop), m = parseFloat(r.paddingBottom), se = parseFloat(r.borderTopWidth), ae = parseFloat(r.borderBottomWidth), M = f + m + se + ae, ne = (Number.isFinite(d) ? d : 24) * g + M, oe = typeof b == "number" ? (Number.isFinite(d) ? d : 24) * b + M : Number.POSITIVE_INFINITY;
127
127
  e.style.height = "auto";
128
- const oe = Math.max(ne, Math.min(e.scrollHeight, ie));
129
- e.style.height = `${oe}px`;
128
+ const ie = Math.max(ne, Math.min(e.scrollHeight, oe));
129
+ e.style.height = `${ie}px`;
130
130
  }, [s, g, b]);
131
131
  ce(() => {
132
132
  s && A();
@@ -165,20 +165,20 @@ const ge = {
165
165
  [w]
166
166
  );
167
167
  ve(ge, L, h);
168
- const o = typeof a == "number" && (S ?? !0) && a > 0, V = ye(T), B = o ? Math.max(0, a - V) : 0, R = o ? V / a : 0, [C, ee] = P("");
168
+ const i = typeof a == "number" && (S ?? !0) && a > 0, V = ye(T), B = i ? Math.max(0, a - V) : 0, R = i ? V / a : 0, [C, ee] = P("");
169
169
  ue(() => {
170
- if (!o) return;
170
+ if (!i) return;
171
171
  const e = window.setTimeout(() => {
172
172
  p.current || ee(
173
- I("ui.inputs.textarea.charactersRemaining", {
173
+ I("inputs.textarea.charactersRemaining", {
174
174
  count: B,
175
175
  defaultValue: "{{count}} characters remaining"
176
176
  })
177
177
  );
178
178
  }, 500);
179
179
  return () => window.clearTimeout(e);
180
- }, [o, B, I]);
181
- const H = o ? `${z}-counter` : void 0, te = [i.describedBy || void 0, H].filter(Boolean).join(" ") || void 0, re = s ? "auto" : "manual";
180
+ }, [i, B, I]);
181
+ const H = i ? `${z}-counter` : void 0, te = [o.describedBy || void 0, H].filter(Boolean).join(" ") || void 0, re = s ? "auto" : "manual";
182
182
  return /* @__PURE__ */ N(
183
183
  "div",
184
184
  {
@@ -195,8 +195,8 @@ const ge = {
195
195
  defaultValue: u ? void 0 : E,
196
196
  disabled: Y,
197
197
  "aria-describedby": te,
198
- "aria-invalid": i.invalid || void 0,
199
- "aria-required": i.required || void 0,
198
+ "aria-invalid": o.invalid || void 0,
199
+ "aria-required": o.required || void 0,
200
200
  maxLength: a,
201
201
  rows: s ? g : q,
202
202
  onChange: U,
@@ -212,7 +212,7 @@ const ge = {
212
212
  ...$
213
213
  }
214
214
  ),
215
- o ? /* @__PURE__ */ N(
215
+ i ? /* @__PURE__ */ N(
216
216
  "div",
217
217
  {
218
218
  id: H,
@@ -236,4 +236,4 @@ xe.displayName = "TextArea";
236
236
  export {
237
237
  xe as T
238
238
  };
239
- //# sourceMappingURL=text-area-CO9Dz0qX.js.map
239
+ //# sourceMappingURL=text-area-DHtcpcLv.js.map
@@ -249,7 +249,7 @@ const de = {
249
249
  "button",
250
250
  {
251
251
  type: "button",
252
- "aria-label": K("ui.inputs.text.clear", "Clear input"),
252
+ "aria-label": K("inputs.text.clear", "Clear input"),
253
253
  onClick: Y,
254
254
  className: "ds:absolute ds:inset-y-0 ds:end-0 ds:pe-3 ds:flex ds:items-center ds:pointer-events-auto ds:text-muted-foreground ds:hover:text-foreground ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
255
255
  children: /* @__PURE__ */ d(oe, { "aria-hidden": "true", className: "ds:size-4" })
@@ -272,4 +272,4 @@ le.displayName = "TextInput";
272
272
  export {
273
273
  le as T
274
274
  };
275
- //# sourceMappingURL=text-input-DZwt9L8H.js.map
275
+ //# sourceMappingURL=text-input-1oqFRbVI.js.map
@@ -4,7 +4,7 @@ import { c as P } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as g } from "react-i18next";
5
5
  import { I as b } from "./icon-button-C4CGcYuz.js";
6
6
  import { I as z } from "./icon-button-group-DeV3FpNY.js";
7
- import { S as j } from "./switch-C0psfIQF.js";
7
+ import { S as j } from "./switch-D916VW86.js";
8
8
  import { D as o } from "./dropdown-menu-dyV7gHh_.js";
9
9
  import { u as K } from "./use-theme-B1cwAXJR.js";
10
10
  import { u as L } from "./registry-C9nwlNyL.js";
@@ -164,7 +164,7 @@ function I({
164
164
  b,
165
165
  {
166
166
  icon: /* @__PURE__ */ t(k, { "aria-hidden": !0 }),
167
- "aria-label": a("ui.navigation.themeToggle.appearance.light"),
167
+ "aria-label": a("navigation.themeToggle.appearance.light"),
168
168
  value: "light"
169
169
  }
170
170
  ),
@@ -172,7 +172,7 @@ function I({
172
172
  b,
173
173
  {
174
174
  icon: /* @__PURE__ */ t(f, { "aria-hidden": !0 }),
175
- "aria-label": a("ui.navigation.themeToggle.appearance.dark"),
175
+ "aria-label": a("navigation.themeToggle.appearance.dark"),
176
176
  value: "dark"
177
177
  }
178
178
  ),
@@ -180,7 +180,7 @@ function I({
180
180
  b,
181
181
  {
182
182
  icon: /* @__PURE__ */ t(_, { "aria-hidden": !0 }),
183
- "aria-label": a("ui.navigation.themeToggle.appearance.system"),
183
+ "aria-label": a("navigation.themeToggle.appearance.system"),
184
184
  value: "system"
185
185
  }
186
186
  )
@@ -197,7 +197,7 @@ function $({
197
197
  return /* @__PURE__ */ t(
198
198
  j,
199
199
  {
200
- label: s("ui.navigation.themeToggle.accessibility.label"),
200
+ label: s("navigation.themeToggle.accessibility.label"),
201
201
  labelSide: "start",
202
202
  size: c,
203
203
  checked: a,
@@ -226,11 +226,11 @@ function F({
226
226
  b,
227
227
  {
228
228
  icon: u,
229
- "aria-label": i("ui.navigation.themeToggle.trigger")
229
+ "aria-label": i("navigation.themeToggle.trigger")
230
230
  }
231
231
  ) }),
232
232
  /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ m(o.Content, { align: "end", sideOffset: 8, children: [
233
- /* @__PURE__ */ t(o.Label, { children: i("ui.navigation.themeToggle.appearance.label") }),
233
+ /* @__PURE__ */ t(o.Label, { children: i("navigation.themeToggle.appearance.label") }),
234
234
  /* @__PURE__ */ m(
235
235
  o.RadioGroup,
236
236
  {
@@ -239,15 +239,15 @@ function F({
239
239
  children: [
240
240
  /* @__PURE__ */ m(o.RadioItem, { value: "light", children: [
241
241
  /* @__PURE__ */ t(k, { "aria-hidden": !0, className: "ds:size-4" }),
242
- i("ui.navigation.themeToggle.appearance.light")
242
+ i("navigation.themeToggle.appearance.light")
243
243
  ] }),
244
244
  /* @__PURE__ */ m(o.RadioItem, { value: "dark", children: [
245
245
  /* @__PURE__ */ t(f, { "aria-hidden": !0, className: "ds:size-4" }),
246
- i("ui.navigation.themeToggle.appearance.dark")
246
+ i("navigation.themeToggle.appearance.dark")
247
247
  ] }),
248
248
  /* @__PURE__ */ m(o.RadioItem, { value: "system", children: [
249
249
  /* @__PURE__ */ t(_, { "aria-hidden": !0, className: "ds:size-4" }),
250
- i("ui.navigation.themeToggle.appearance.system")
250
+ i("navigation.themeToggle.appearance.system")
251
251
  ] })
252
252
  ]
253
253
  }
@@ -260,7 +260,7 @@ function F({
260
260
  checked: p,
261
261
  onCheckedChange: (l) => e.setAccessibility(l ? "accessible" : "default"),
262
262
  onSelect: (l) => l.preventDefault(),
263
- children: i("ui.navigation.themeToggle.accessibility.label")
263
+ children: i("navigation.themeToggle.accessibility.label")
264
264
  }
265
265
  )
266
266
  ] }) : null
@@ -289,7 +289,7 @@ function O({
289
289
  {
290
290
  value: e.theme,
291
291
  onValueChange: e.setTheme,
292
- ariaLabel: a("ui.navigation.themeToggle.appearance.label")
292
+ ariaLabel: a("navigation.themeToggle.appearance.label")
293
293
  }
294
294
  )
295
295
  }
@@ -317,7 +317,7 @@ function E({
317
317
  {
318
318
  value: e.theme,
319
319
  onValueChange: e.setTheme,
320
- ariaLabel: i("ui.navigation.themeToggle.appearance.label")
320
+ ariaLabel: i("navigation.themeToggle.appearance.label")
321
321
  }
322
322
  ),
323
323
  a ? /* @__PURE__ */ t(
@@ -393,4 +393,4 @@ export {
393
393
  J as T,
394
394
  B as t
395
395
  };
396
- //# sourceMappingURL=theme-toggle-B3UR6ouK.js.map
396
+ //# sourceMappingURL=theme-toggle-B3meAb3y.js.map
@@ -313,7 +313,7 @@ const ze = N(
313
313
  A();
314
314
  const e = S(r.minutes, m);
315
315
  e !== r.minutes && o({ ...r, minutes: e });
316
- }, fe = K("ui.inputs.timePicker.hour", "Hour"), me = K("ui.inputs.timePicker.minute", "Minute"), pe = K("ui.inputs.timePicker.period", "Period"), he = K("ui.inputs.timePicker.groupLabel", "Time"), ve = we(
316
+ }, fe = K("inputs.timePicker.hour", "Hour"), me = K("inputs.timePicker.minute", "Minute"), pe = K("inputs.timePicker.period", "Period"), he = K("inputs.timePicker.groupLabel", "Time"), ve = we(
317
317
  () => ({
318
318
  getValue: () => r,
319
319
  setValue: (e) => o(e),
@@ -409,4 +409,4 @@ export {
409
409
  Ie as T,
410
410
  Pe as t
411
411
  };
412
- //# sourceMappingURL=time-picker-DvPUmHH-.js.map
412
+ //# sourceMappingURL=time-picker-DeVZkIY2.js.map
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
2
  import { forwardRef as m, useMemo as p, useRef as w, useState as V, useCallback as I, useImperativeHandle as O, useContext as u, createContext as C } from "react";
3
3
  import { c as b } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
- import { A as P } from "./avatar-Dcr6XuDQ.js";
5
+ import { A as P } from "./avatar-I10iCDs8.js";
6
6
  import { C as N } from "./card-CWzuTLYE.js";
7
7
  import { T as B } from "./timestamp-BV2lC-wV.js";
8
8
  import { u as H } from "./registry-C9nwlNyL.js";
@@ -276,4 +276,4 @@ export {
276
276
  le as T,
277
277
  K as t
278
278
  };
279
- //# sourceMappingURL=timeline-BvmnQadS.js.map
279
+ //# sourceMappingURL=timeline-BaSULpSJ.js.map
@@ -802,7 +802,7 @@ function je({
802
802
  className: y
803
803
  }) {
804
804
  const { t: d } = ae();
805
- $t = d("ui.common.close", "Close");
805
+ $t = d("common.close", "Close");
806
806
  const [c] = Ot(() => Nt ? !1 : (Nt = !0, !0)), b = te(null), [v, i] = Ot(
807
807
  () => typeof document < "u" && document.documentElement.dir || "ltr"
808
808
  );
@@ -983,4 +983,4 @@ export {
983
983
  Ze as e,
984
984
  aa as t
985
985
  };
986
- //# sourceMappingURL=toast.agent-DihA6MON.js.map
986
+ //# sourceMappingURL=toast.agent-32WNQ-_x.js.map
@@ -146,7 +146,7 @@ const L = [
146
146
  style: "currency",
147
147
  currency: o,
148
148
  signDisplay: e === "debt" ? "always" : "auto"
149
- }).format(d * D[e]), w = u ?? a("ui.financial.aria.label", {
149
+ }).format(d * D[e]), w = u ?? a("financial.aria.label", {
150
150
  state: c,
151
151
  amount: k
152
152
  });
@@ -193,4 +193,4 @@ q.displayName = "TransactionChip";
193
193
  export {
194
194
  q as T
195
195
  };
196
- //# sourceMappingURL=transaction-chip-DE6DITun.js.map
196
+ //# sourceMappingURL=transaction-chip-eVbolm0B.js.map
@@ -4,7 +4,7 @@ import { c as D } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as F } from "react-i18next";
5
5
  import { u as H } from "./registry-C9nwlNyL.js";
6
6
  import { u as q } from "./index-CJE9uQmb.js";
7
- import { S as B } from "./search-input-CdJIEjFo.js";
7
+ import { S as B } from "./search-input-BBtSRH-Q.js";
8
8
  const U = {
9
9
  id: "transcript-panel",
10
10
  capabilities: ["select_single"],
@@ -188,7 +188,7 @@ const te = K(
188
188
  {
189
189
  type: "button",
190
190
  onClick: () => a == null ? void 0 : a(e.start),
191
- "aria-label": d("ui.chat.transcript.seekTo", {
191
+ "aria-label": d("chat.transcript.seekTo", {
192
192
  time: z(e.start, b.language)
193
193
  }),
194
194
  className: [
@@ -219,10 +219,10 @@ const te = K(
219
219
  className: `ds:inline-block ds:size-2 ds:rounded-[var(--radius-full)] ${W[v]}`
220
220
  }
221
221
  ),
222
- /* @__PURE__ */ o("strong", { className: "type-title-item", children: d("ui.chat.transcript.speaker", { name: e.speaker }) }),
222
+ /* @__PURE__ */ o("strong", { className: "type-title-item", children: d("chat.transcript.speaker", { name: e.speaker }) }),
223
223
  C ? /* @__PURE__ */ f("span", { className: "type-meta ds:italic ds:text-[color:var(--muted-foreground)]", children: [
224
224
  "(",
225
- d("ui.chat.transcript.lowConfidence"),
225
+ d("chat.transcript.lowConfidence"),
226
226
  ")"
227
227
  ] }) : null
228
228
  ] }),
@@ -292,8 +292,8 @@ const te = K(
292
292
  {
293
293
  ref: T,
294
294
  id: P,
295
- placeholder: d("ui.chat.transcript.search"),
296
- "aria-label": d("ui.chat.transcript.search"),
295
+ placeholder: d("chat.transcript.search"),
296
+ "aria-label": d("chat.transcript.search"),
297
297
  "aria-keyshortcuts": "Meta+F Control+F",
298
298
  debounceMs: 150,
299
299
  onChange: (e) => M(e),
@@ -306,7 +306,7 @@ const te = K(
306
306
  role: "status",
307
307
  "aria-live": "polite",
308
308
  className: "type-meta ds:text-[color:var(--muted-foreground)] ds:tabular-nums",
309
- children: k === 0 ? d("ui.chat.transcript.noMatches") : d("ui.chat.transcript.matchCount", { count: k })
309
+ children: k === 0 ? d("chat.transcript.noMatches") : d("chat.transcript.matchCount", { count: k })
310
310
  }
311
311
  ) : null
312
312
  ] }) : null,
@@ -343,4 +343,4 @@ export {
343
343
  te as T,
344
344
  U as t
345
345
  };
346
- //# sourceMappingURL=transcript-panel-Bx5ANMsv.js.map
346
+ //# sourceMappingURL=transcript-panel-BpJqPr7I.js.map
@@ -1,8 +1,8 @@
1
1
  import { jsxs as o, jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
- import { c as i } from "./index-D2ZczOXr.js";
3
+ import { c as e } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as u } from "react-i18next";
5
- const g = i(
5
+ const g = e(
6
6
  [
7
7
  "ds:inline-flex ds:items-center",
8
8
  "ds:text-[color:var(--muted-foreground)]"
@@ -21,7 +21,7 @@ const g = i(
21
21
  },
22
22
  defaultVariants: { density: "default", size: "md" }
23
23
  }
24
- ), v = i("ds:inline-flex ds:items-center", {
24
+ ), v = e("ds:inline-flex ds:items-center", {
25
25
  variants: {
26
26
  density: {
27
27
  default: "ds:gap-[var(--spacing-xs)]",
@@ -29,7 +29,7 @@ const g = i(
29
29
  }
30
30
  },
31
31
  defaultVariants: { density: "default" }
32
- }), t = i(
32
+ }), t = e(
33
33
  [
34
34
  "ds:inline-block ds:rounded-[var(--radius-full)]",
35
35
  "ds:bg-[color:currentColor]",
@@ -52,13 +52,13 @@ const g = i(
52
52
  ), x = f(
53
53
  ({
54
54
  size: a = "md",
55
- density: e = "default",
55
+ density: i = "default",
56
56
  label: r,
57
57
  hideLabel: n = !1,
58
58
  className: l,
59
59
  ...c
60
60
  }, m) => {
61
- const { t: p } = u(), d = r ?? p("ui.chat.typing");
61
+ const { t: p } = u(), d = r ?? p("chat.typing");
62
62
  return /* @__PURE__ */ o(
63
63
  "div",
64
64
  {
@@ -68,10 +68,10 @@ const g = i(
68
68
  "aria-atomic": "true",
69
69
  "aria-label": n ? d : void 0,
70
70
  "data-component": "typing-indicator",
71
- className: g({ size: a, density: e, className: l }),
71
+ className: g({ size: a, density: i, className: l }),
72
72
  ...c,
73
73
  children: [
74
- /* @__PURE__ */ o("span", { "aria-hidden": "true", className: v({ density: e }), children: [
74
+ /* @__PURE__ */ o("span", { "aria-hidden": "true", className: v({ density: i }), children: [
75
75
  /* @__PURE__ */ s(
76
76
  "span",
77
77
  {
@@ -101,4 +101,4 @@ x.displayName = "TypingIndicator";
101
101
  export {
102
102
  x as T
103
103
  };
104
- //# sourceMappingURL=typing-indicator-BZ5jXZPn.js.map
104
+ //# sourceMappingURL=typing-indicator-DHeVN4ob.js.map