@alfadocs/ui-kit 1.112.2 → 1.114.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 (206) hide show
  1. package/dist/_chunks/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
  2. package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
  4. package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
  5. package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
  6. package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
  7. package/dist/_chunks/{calendar-appointment-editor-dialog-FvdoKZ54.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
  8. package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
  9. package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
  10. package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
  11. package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
  12. package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
  13. package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
  14. package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
  15. package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
  16. package/dist/_chunks/email-input-DxwbREpx.js +156 -0
  17. package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
  18. package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
  19. package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
  20. package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
  21. package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js → forgot-password-form-Bc_UPax6.js} +9 -8
  22. package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
  23. package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
  24. package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
  25. package/dist/_chunks/isEmail-BfVspSvV.js +248 -0
  26. package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
  27. package/dist/_chunks/{login-dev-card-Cz1Clugq.js → login-dev-card-D7orCfJT.js} +48 -47
  28. package/dist/_chunks/map-view-Bny79cWa.js +856 -0
  29. package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
  30. package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
  31. package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
  32. package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
  33. package/dist/_chunks/{patient-details-BwkDIm4D.js → patient-details-DdtXBNjt.js} +3 -3
  34. package/dist/_chunks/{patient-field-row-CBba7w9V.js → patient-field-row-D9rb-QJH.js} +2 -2
  35. package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
  36. package/dist/_chunks/{patient-summary-card-DtYTo9w_.js → patient-summary-card-CGHz-Bvm.js} +3 -3
  37. package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
  38. package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
  39. package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
  40. package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
  41. package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
  42. package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
  43. package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
  44. package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
  45. package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
  46. package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
  47. package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
  48. package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
  49. package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
  50. package/dist/_chunks/{registration-form-DEyUFysm.js → registration-form-Lw9T7IXr.js} +7 -6
  51. package/dist/_chunks/{reserved.agent-W_Zgj564.js → reserved.agent-D2jwJPac.js} +22 -32
  52. package/dist/_chunks/{reset-password-form-B0acanDD.js → reset-password-form-C93SH0Tx.js} +3 -3
  53. package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
  54. package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
  55. package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js → send-registration-link-form-DfbTjrEK.js} +9 -8
  56. package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
  57. package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
  58. package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
  59. package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
  60. package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
  61. package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
  62. package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
  63. package/dist/_chunks/{use-appointment-details-read-DYyCYI9f.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
  64. package/dist/_chunks/verify-identity-types-C85EXNzy.js +707 -0
  65. package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
  66. package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
  67. package/dist/agent-catalog.json +111 -7
  68. package/dist/agent-i18n/en.json +13 -2
  69. package/dist/components/_shared/motion-is-off.d.ts +7 -0
  70. package/dist/components/anamnesis-card/index.js +1 -1
  71. package/dist/components/anamnesis-summary-card/index.js +1 -1
  72. package/dist/components/appointment-details-panel/index.js +1 -1
  73. package/dist/components/bishop-score/index.js +1 -1
  74. package/dist/components/bmi-calculator/index.js +1 -1
  75. package/dist/components/booking/index.js +1 -1
  76. package/dist/components/booking/step-focus.d.ts +0 -6
  77. package/dist/components/card/index.js +1 -1
  78. package/dist/components/clinical-note-card/index.js +1 -1
  79. package/dist/components/connection-status/index.js +1 -1
  80. package/dist/components/contact-card/index.js +1 -1
  81. package/dist/components/contact-profile-card/index.js +1 -1
  82. package/dist/components/cycle-calculator/index.js +1 -1
  83. package/dist/components/document-preview/index.js +1 -1
  84. package/dist/components/due-date-calculator/index.js +2 -2
  85. package/dist/components/email-input/index.js +1 -1
  86. package/dist/components/entity-summary/index.js +1 -1
  87. package/dist/components/face-scheme/index.js +1 -1
  88. package/dist/components/fetal-weight/index.js +1 -1
  89. package/dist/components/finished-terminal/index.js +1 -1
  90. package/dist/components/gestational-age-calculator/index.js +1 -1
  91. package/dist/components/hcg-doubling/index.js +1 -1
  92. package/dist/components/heatmap/index.js +1 -1
  93. package/dist/components/index.d.ts +1 -0
  94. package/dist/components/map-view/index.js +1 -1
  95. package/dist/components/map-view/map-view.d.ts +16 -0
  96. package/dist/components/notes-panel/index.js +1 -1
  97. package/dist/components/operator-hero/index.js +1 -1
  98. package/dist/components/patient-details/index.js +1 -1
  99. package/dist/components/patient-search/index.js +1 -1
  100. package/dist/components/patient-search/patient-search.d.ts +6 -2
  101. package/dist/components/patient-summary-card/index.js +1 -1
  102. package/dist/components/payment-card/index.js +1 -1
  103. package/dist/components/periodontal-chart/index.js +1 -1
  104. package/dist/components/periodontal-chart-card/index.js +1 -1
  105. package/dist/components/periodontal-diagnosis/index.js +1 -1
  106. package/dist/components/periodontal-risk-chart/index.js +1 -1
  107. package/dist/components/practice-profile-hero/index.js +1 -1
  108. package/dist/components/practice-results/index.js +1 -1
  109. package/dist/components/practice-results/practice-results.d.ts +43 -2
  110. package/dist/components/pregnancy-dating/index.js +1 -1
  111. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  112. package/dist/components/public-footer/index.js +1 -1
  113. package/dist/components/public-footer/public-footer.d.ts +23 -0
  114. package/dist/components/public-header/index.js +1 -1
  115. package/dist/components/public-header/public-header.d.ts +7 -0
  116. package/dist/components/reviews-panel/index.js +1 -1
  117. package/dist/components/rich-text-editor/index.js +1 -1
  118. package/dist/components/section-card/index.js +1 -1
  119. package/dist/components/stat/index.js +1 -1
  120. package/dist/components/stat/stat.d.ts +7 -0
  121. package/dist/components/task-card/index.js +1 -1
  122. package/dist/components/task-editor/index.js +1 -1
  123. package/dist/components/task-tray/index.js +1 -1
  124. package/dist/components/tasks-panel/index.js +1 -1
  125. package/dist/components/timeline/index.js +1 -1
  126. package/dist/components/workflow/index.js +1 -1
  127. package/dist/core.css +1 -1
  128. package/dist/host-compat.css +4 -1
  129. package/dist/i18n/locales/ar.d.ts +68 -0
  130. package/dist/i18n/locales/ar.js +70 -2
  131. package/dist/i18n/locales/de.d.ts +68 -0
  132. package/dist/i18n/locales/de.js +70 -2
  133. package/dist/i18n/locales/el.d.ts +68 -0
  134. package/dist/i18n/locales/el.js +70 -2
  135. package/dist/i18n/locales/en.d.ts +68 -0
  136. package/dist/i18n/locales/en.js +68 -0
  137. package/dist/i18n/locales/es.d.ts +68 -0
  138. package/dist/i18n/locales/es.js +70 -2
  139. package/dist/i18n/locales/fr.d.ts +68 -0
  140. package/dist/i18n/locales/fr.js +70 -2
  141. package/dist/i18n/locales/hi.d.ts +68 -0
  142. package/dist/i18n/locales/hi.js +70 -2
  143. package/dist/i18n/locales/it.d.ts +68 -0
  144. package/dist/i18n/locales/it.js +70 -2
  145. package/dist/i18n/locales/ja.d.ts +68 -0
  146. package/dist/i18n/locales/ja.js +70 -2
  147. package/dist/i18n/locales/nl.d.ts +68 -0
  148. package/dist/i18n/locales/nl.js +70 -2
  149. package/dist/i18n/locales/pl.d.ts +68 -0
  150. package/dist/i18n/locales/pl.js +70 -2
  151. package/dist/i18n/locales/pt.d.ts +68 -0
  152. package/dist/i18n/locales/pt.js +70 -2
  153. package/dist/i18n/locales/ro.d.ts +68 -0
  154. package/dist/i18n/locales/ro.js +70 -2
  155. package/dist/i18n/locales/ru.d.ts +68 -0
  156. package/dist/i18n/locales/ru.js +70 -2
  157. package/dist/i18n/locales/sq.d.ts +68 -0
  158. package/dist/i18n/locales/sq.js +70 -2
  159. package/dist/i18n/locales/sv.d.ts +68 -0
  160. package/dist/i18n/locales/sv.js +70 -2
  161. package/dist/i18n/locales/tr.d.ts +68 -0
  162. package/dist/i18n/locales/tr.js +70 -2
  163. package/dist/i18n/locales/zh.d.ts +68 -0
  164. package/dist/i18n/locales/zh.js +70 -2
  165. package/dist/index.js +373 -368
  166. package/dist/locales/ar.json +70 -2
  167. package/dist/locales/de.json +70 -2
  168. package/dist/locales/el.json +70 -2
  169. package/dist/locales/en.json +68 -0
  170. package/dist/locales/es.json +70 -2
  171. package/dist/locales/fr.json +70 -2
  172. package/dist/locales/hi.json +70 -2
  173. package/dist/locales/it.json +70 -2
  174. package/dist/locales/ja.json +70 -2
  175. package/dist/locales/nl.json +70 -2
  176. package/dist/locales/pl.json +70 -2
  177. package/dist/locales/pt.json +70 -2
  178. package/dist/locales/ro.json +70 -2
  179. package/dist/locales/ru.json +70 -2
  180. package/dist/locales/sq.json +70 -2
  181. package/dist/locales/sv.json +70 -2
  182. package/dist/locales/tr.json +70 -2
  183. package/dist/locales/zh.json +70 -2
  184. package/dist/patterns/anamnesis/index.js +1 -1
  185. package/dist/patterns/calendar/index.js +1 -1
  186. package/dist/patterns/forgot-password-form/index.js +1 -1
  187. package/dist/patterns/login-form/index.js +1 -1
  188. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  189. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  190. package/dist/patterns/registration-form/index.js +1 -1
  191. package/dist/patterns/reset-password-form/index.js +1 -1
  192. package/dist/patterns/send-registration-link-form/index.js +1 -1
  193. package/dist/patterns/signed-out-frame/index.js +1 -1
  194. package/dist/patterns/verify-identity/change-email-dialog.d.ts +26 -0
  195. package/dist/patterns/verify-identity/index.d.ts +7 -0
  196. package/dist/patterns/verify-identity/index.js +8 -0
  197. package/dist/patterns/verify-identity/use-countdown.d.ts +12 -0
  198. package/dist/patterns/verify-identity/verify-identity-steps.d.ts +21 -0
  199. package/dist/patterns/verify-identity/verify-identity-types.d.ts +47 -0
  200. package/dist/patterns/verify-identity/verify-identity.d.ts +54 -0
  201. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  202. package/dist/tokens.css +1 -1
  203. package/package.json +5 -1
  204. package/dist/_chunks/email-input-BEO3vonE.js +0 -399
  205. package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
  206. package/dist/_chunks/practice-results-BOpaPaav.js +0 -1923
@@ -1,9 +1,9 @@
1
1
  import { jsxs as p, jsx as s } from "react/jsx-runtime";
2
- import { forwardRef as st, useId as rt, useCallback as O, useRef as at, useMemo as nt } from "react";
3
- import { c as V } from "./index-D2ZczOXr.js";
2
+ import { forwardRef as re, useId as ae, useCallback as O, useRef as ne, useMemo as ie } from "react";
3
+ import { c as j } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as P } from "react-i18next";
5
- import { u as it } from "./use-count-up-BLLetaZ8.js";
6
- const U = V("ds:flex ds:flex-col ds:h-full", {
5
+ import { u as de } from "./use-count-up-BLLetaZ8.js";
6
+ const U = j("ds:flex ds:flex-col ds:h-full", {
7
7
  variants: {
8
8
  variant: {
9
9
  default: "ds:gap-[var(--spacing-xs)]",
@@ -54,7 +54,7 @@ const U = V("ds:flex ds:flex-col ds:h-full", {
54
54
  size: "md",
55
55
  align: "start"
56
56
  }
57
- }), B = V("type-metric", {
57
+ }), le = j("type-metric", {
58
58
  variants: {
59
59
  size: {
60
60
  sm: "ds:[--type-metric-size:var(--font-size-xl)]",
@@ -106,7 +106,7 @@ const U = V("ds:flex ds:flex-col ds:h-full", {
106
106
  variant: "default",
107
107
  intent: "foreground"
108
108
  }
109
- }), dt = V(
109
+ }), oe = j(
110
110
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-label",
111
111
  {
112
112
  variants: {
@@ -122,159 +122,171 @@ const U = V("ds:flex ds:flex-col ds:h-full", {
122
122
  tone: "neutral"
123
123
  }
124
124
  }
125
- ), lt = { up: "↑", down: "↓", flat: "→" }, ct = {
125
+ ), ce = { up: "↑", down: "↓", flat: "→" }, ue = {
126
126
  up: "stat.trend.up",
127
127
  down: "stat.trend.down",
128
128
  flat: "stat.trend.flat"
129
129
  };
130
130
  function K({
131
- trend: c,
132
- delta: e,
131
+ trend: l,
132
+ delta: t,
133
133
  deltaFormat: u = "decimal",
134
134
  locale: o,
135
- polarity: t = "higher-is-better"
135
+ polarity: e = "higher-is-better"
136
136
  }) {
137
- const { t: i, i18n: m } = P("ui"), d = typeof e == "string" ? e : new Intl.NumberFormat(o ?? m.language, {
137
+ const { t: n, i18n: m } = P("ui"), i = typeof t == "string" ? t : new Intl.NumberFormat(o ?? m.language, {
138
138
  style: u === "percent" ? "percent" : "decimal"
139
- }).format(u === "percent" ? e / 100 : e), r = c === "flat" || t === "neutral" ? "neutral" : c === "up" == (t === "higher-is-better") ? "better" : "worse";
140
- return /* @__PURE__ */ p("span", { className: dt({ tone: r }), "data-trend-tone": r, children: [
141
- /* @__PURE__ */ s("span", { "aria-hidden": "true", children: lt[c] }),
142
- /* @__PURE__ */ s("span", { className: "ds:sr-only", children: i(ct[c]) }),
143
- d,
139
+ }).format(u === "percent" ? t / 100 : t), r = l === "flat" || e === "neutral" ? "neutral" : l === "up" == (e === "higher-is-better") ? "better" : "worse";
140
+ return /* @__PURE__ */ p("span", { className: oe({ tone: r }), "data-trend-tone": r, children: [
141
+ /* @__PURE__ */ s("span", { "aria-hidden": "true", children: ce[l] }),
142
+ /* @__PURE__ */ s("span", { className: "ds:sr-only", children: n(ue[l]) }),
143
+ i,
144
144
  r === "neutral" ? null : /* @__PURE__ */ p("span", { className: "ds:sr-only", children: [
145
145
  " ",
146
- i(r === "better" ? "stat.trend.better" : "stat.trend.worse")
146
+ n(r === "better" ? "stat.trend.better" : "stat.trend.worse")
147
147
  ] })
148
148
  ] });
149
149
  }
150
- function ot(c, e) {
151
- const u = c.trim();
150
+ function me(l, t) {
151
+ const u = l.trim();
152
152
  if (u === "") return null;
153
- let o = "", t = u;
154
- t.startsWith("+") ? (o = "+", t = t.slice(1).trimStart()) : (t.startsWith("-") || t.startsWith("−")) && (o = "-", t = t.slice(1).trimStart());
155
- let i = "";
156
- const m = t.match(/[KMB]$/i);
157
- m && (i = m[0], t = t.slice(0, -1).trimEnd());
158
- let d = "", r = ".";
153
+ let o = "", e = u;
154
+ e.startsWith("+") ? (o = "+", e = e.slice(1).trimStart()) : (e.startsWith("-") || e.startsWith("−")) && (o = "-", e = e.slice(1).trimStart());
155
+ let n = "";
156
+ const m = e.match(/[KMB]$/i);
157
+ m && (n = m[0], e = e.slice(0, -1).trimEnd());
158
+ let i = "", r = ".";
159
159
  try {
160
- const x = new Intl.NumberFormat(e).formatToParts(12345.6);
161
- for (const n of x)
162
- n.type === "group" ? d = n.value : n.type === "decimal" && (r = n.value);
160
+ const h = new Intl.NumberFormat(t).formatToParts(12345.6);
161
+ for (const c of h)
162
+ c.type === "group" ? i = c.value : c.type === "decimal" && (r = c.value);
163
163
  } catch {
164
164
  }
165
- const g = t.match(/^(\d+)\.(\d+)$/);
166
- if (g && !(g[2].length === 3 && d === ".")) {
167
- const n = Number.parseFloat(t);
168
- if (Number.isFinite(n))
169
- return { target: n, sign: o, suffix: i };
165
+ const g = e.match(/^(\d+)\.(\d+)$/);
166
+ if (g && !(g[2].length === 3 && i === ".")) {
167
+ const c = Number.parseFloat(e);
168
+ if (Number.isFinite(c))
169
+ return { target: c, sign: o, suffix: n };
170
170
  }
171
- let a = t;
172
- d !== "" && (a = a.split(d).join("")), r !== "." && (a = a.split(r).join(".")), a = a.replace(/[\s\u00A0\u202F]/g, "");
171
+ let a = e;
172
+ i !== "" && (a = a.split(i).join("")), r !== "." && (a = a.split(r).join(".")), a = a.replace(/[\s\u00A0\u202F]/g, "");
173
173
  const v = Number.parseFloat(a);
174
- return Number.isFinite(v) ? { target: v, sign: o, suffix: i } : null;
174
+ return Number.isFinite(v) ? { target: v, sign: o, suffix: n } : null;
175
175
  }
176
- const ut = st(
176
+ const fe = re(
177
177
  ({
178
- label: c,
179
- value: e,
178
+ label: l,
179
+ value: t,
180
180
  format: u,
181
181
  currency: o,
182
- locale: t,
183
- trend: i,
182
+ locale: e,
183
+ trend: n,
184
184
  trendPolarity: m,
185
- delta: d,
185
+ delta: i,
186
186
  deltaFormat: r = "decimal",
187
187
  icon: g,
188
188
  info: a,
189
189
  trendInfo: v,
190
- loading: x = !1,
191
- animate: n = !1,
190
+ labelPosition: h = "above",
191
+ loading: c = !1,
192
+ animate: w = !1,
192
193
  animateOnEveryView: Y = !1,
193
194
  animateDurationMs: _ = 1600,
194
195
  animateLocale: q,
195
- animateSeparators: b,
196
- variant: y = "default",
197
- size: N = "md",
196
+ animateSeparators: x,
197
+ variant: z = "default",
198
+ size: F = "md",
198
199
  align: M = "start",
199
- intent: k = "foreground",
200
- className: I,
201
- ...j
200
+ intent: H = "foreground",
201
+ className: k,
202
+ ...I
202
203
  }, R) => {
203
- const { i18n: H } = P("ui"), T = rt(), f = t ?? H.language, J = O(() => {
204
- if (typeof e == "string") return e;
204
+ const { i18n: J } = P("ui"), T = ae(), f = e ?? J.language, Q = O(() => {
205
+ if (typeof t == "string") return t;
205
206
  switch (u) {
206
207
  case "currency":
207
208
  return new Intl.NumberFormat(f, {
208
209
  style: "currency",
209
210
  currency: o ?? "USD"
210
- }).format(e);
211
+ }).format(t);
211
212
  case "percent":
212
213
  return new Intl.NumberFormat(f, { style: "percent" }).format(
213
- e
214
+ t
214
215
  );
215
216
  case "decimal":
216
217
  return new Intl.NumberFormat(f, { style: "decimal" }).format(
217
- e
218
+ t
218
219
  );
219
220
  default:
220
- return new Intl.NumberFormat(f).format(e);
221
+ return new Intl.NumberFormat(f).format(t);
221
222
  }
222
- }, [e, u, f, o])(), w = q ?? f;
223
- at(!1);
224
- const l = nt(() => n ? typeof e == "number" ? Number.isFinite(e) ? { target: e, sign: "", suffix: "" } : null : ot(e, w) : null, [n, e, w]), Q = n && l !== null, X = (l == null ? void 0 : l.target) ?? 0, F = (l == null ? void 0 : l.sign) ?? "", $ = (l == null ? void 0 : l.suffix) ?? "", Z = O(
225
- (z) => {
223
+ }, [t, u, f, o])(), y = q ?? f;
224
+ ne(!1);
225
+ const d = ie(() => w ? typeof t == "number" ? Number.isFinite(t) ? { target: t, sign: "", suffix: "" } : null : me(t, y) : null, [w, t, y]), X = w && d !== null, Z = (d == null ? void 0 : d.target) ?? 0, S = (d == null ? void 0 : d.sign) ?? "", $ = (d == null ? void 0 : d.suffix) ?? "", ee = O(
226
+ (N) => {
226
227
  const E = (() => {
227
228
  try {
228
- return new Intl.NumberFormat(w, {
229
+ return new Intl.NumberFormat(y, {
229
230
  useGrouping: !0
230
231
  });
231
232
  } catch {
232
233
  return null;
233
234
  }
234
235
  })();
235
- let h;
236
+ let b;
236
237
  if (E)
237
- if (b) {
238
- const A = Math.abs(z), D = Math.trunc(A), G = A - D, tt = b.thousand ?? "", S = String(D).replace(
238
+ if (x) {
239
+ const A = Math.abs(N), D = Math.trunc(A), G = A - D, te = x.thousand ?? "", V = String(D).replace(
239
240
  /\B(?=(\d{3})+(?!\d))/g,
240
- tt
241
+ te
241
242
  );
242
243
  if (G === 0)
243
- h = S;
244
+ b = V;
244
245
  else {
245
- const L = G.toFixed(6).replace(/0+$/, "").slice(2), et = b.decimal ?? ".";
246
- h = L ? S + et + L : S;
246
+ const L = G.toFixed(6).replace(/0+$/, "").slice(2), se = x.decimal ?? ".";
247
+ b = L ? V + se + L : V;
247
248
  }
248
249
  } else
249
- h = E.format(Math.abs(z));
250
+ b = E.format(Math.abs(N));
250
251
  else
251
- h = String(Math.abs(z));
252
- let W = F;
253
- return F === "" && z < 0 && (W = "-"), `${W}${h}${$}`;
252
+ b = String(Math.abs(N));
253
+ let W = S;
254
+ return S === "" && N < 0 && (W = "-"), `${W}${b}${$}`;
254
255
  },
255
- [w, b, F, $]
256
- ), C = it({
257
- to: X,
256
+ [y, x, S, $]
257
+ ), B = de({
258
+ to: Z,
258
259
  from: 0,
259
260
  durationMs: _,
260
261
  startOnVisible: !0,
261
262
  retriggerOnReEntry: Y,
262
263
  // `formatter` is the only path we use — it owns both the locale
263
264
  // formatting and the sign/suffix re-application.
264
- formatter: Z
265
- });
266
- return x ? /* @__PURE__ */ p(
265
+ formatter: ee
266
+ }), C = [
267
+ le({ size: F, variant: z, intent: H }),
268
+ h === "below" ? "ds:order-first" : ""
269
+ ].filter(Boolean).join(" ");
270
+ return c ? /* @__PURE__ */ p(
267
271
  "div",
268
272
  {
269
273
  ref: R,
270
274
  role: "group",
271
275
  "aria-busy": "true",
272
- "aria-label": c,
276
+ "aria-label": l,
273
277
  "data-component": "stat",
274
- className: U({ variant: y, size: N, align: M, className: I }),
275
- ...j,
278
+ className: U({ variant: z, size: F, align: M, className: k }),
279
+ ...I,
276
280
  children: [
277
- /* @__PURE__ */ s("div", { className: "ds:h-[var(--skeleton-label-h)] ds:w-[var(--skeleton-label-w)] ds:animate-pulse ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]" }),
281
+ /* @__PURE__ */ s(
282
+ "div",
283
+ {
284
+ className: [
285
+ "ds:h-[var(--skeleton-label-h)] ds:w-[var(--skeleton-label-w)] ds:animate-pulse ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]",
286
+ h === "below" ? "ds:order-last" : ""
287
+ ].filter(Boolean).join(" ")
288
+ }
289
+ ),
278
290
  /* @__PURE__ */ s("div", { className: "ds:h-[var(--skeleton-value-h)] ds:w-[var(--skeleton-value-w)] ds:animate-pulse ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]" })
279
291
  ]
280
292
  }
@@ -285,13 +297,15 @@ const ut = st(
285
297
  role: "group",
286
298
  "aria-labelledby": T,
287
299
  "data-component": "stat",
288
- className: U({ variant: y, size: N, align: M, className: I }),
289
- ...j,
300
+ className: U({ variant: z, size: F, align: M, className: k }),
301
+ ...I,
290
302
  children: [
291
303
  /* @__PURE__ */ p(
292
304
  "span",
293
305
  {
294
- className: a == null ? "ds:inline-flex ds:items-center" : "ds:inline-flex ds:flex-wrap ds:items-center",
306
+ className: [
307
+ a == null ? "ds:inline-flex ds:items-center" : "ds:inline-flex ds:flex-wrap ds:items-center"
308
+ ].filter(Boolean).join(" "),
295
309
  children: [
296
310
  g && /* @__PURE__ */ s(
297
311
  "span",
@@ -314,7 +328,7 @@ const ut = st(
314
328
  {
315
329
  id: T,
316
330
  className: "type-label ds:text-[var(--muted-foreground)]",
317
- children: c
331
+ children: l
318
332
  }
319
333
  ),
320
334
  a != null && /* @__PURE__ */ s(
@@ -328,39 +342,31 @@ const ut = st(
328
342
  ]
329
343
  }
330
344
  ),
331
- Q ? (
345
+ X ? (
332
346
  // The animated number is wrapped in an `aria-live="off"` span
333
347
  // so screen readers don't announce every interpolated frame.
334
348
  // The `role="group"` ancestor (with `aria-labelledby` pointing
335
349
  // at the label) carries the final accessible reading — the
336
350
  // animated frames are decorative only.
337
- /* @__PURE__ */ s(
338
- "span",
339
- {
340
- ref: C.ref,
341
- "aria-live": "off",
342
- className: B({ size: N, variant: y, intent: k }),
343
- children: C.value
344
- }
345
- )
346
- ) : /* @__PURE__ */ s("span", { className: B({ size: N, variant: y, intent: k }), children: J }),
347
- i != null && d != null && (v == null ? /* @__PURE__ */ s(
351
+ /* @__PURE__ */ s("span", { ref: B.ref, "aria-live": "off", className: C, children: B.value })
352
+ ) : /* @__PURE__ */ s("span", { className: C, children: Q }),
353
+ n != null && i != null && (v == null ? /* @__PURE__ */ s(
348
354
  K,
349
355
  {
350
- trend: i,
351
- delta: d,
356
+ trend: n,
357
+ delta: i,
352
358
  deltaFormat: r,
353
- locale: t,
359
+ locale: e,
354
360
  polarity: m
355
361
  }
356
362
  ) : /* @__PURE__ */ p("span", { className: "ds:inline-flex ds:flex-wrap ds:items-center", children: [
357
363
  /* @__PURE__ */ s(
358
364
  K,
359
365
  {
360
- trend: i,
361
- delta: d,
366
+ trend: n,
367
+ delta: i,
362
368
  deltaFormat: r,
363
- locale: t,
369
+ locale: e,
364
370
  polarity: m
365
371
  }
366
372
  ),
@@ -378,8 +384,8 @@ const ut = st(
378
384
  );
379
385
  }
380
386
  );
381
- ut.displayName = "Stat";
387
+ fe.displayName = "Stat";
382
388
  export {
383
- ut as S
389
+ fe as S
384
390
  };
385
- //# sourceMappingURL=stat-BFKZV50y.js.map
391
+ //# sourceMappingURL=stat-WGLdn5Vn.js.map
@@ -3,7 +3,7 @@ import { forwardRef as C } from "react";
3
3
  import { c as w } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as T } from "react-i18next";
5
5
  import { V as p } from "./visually-hidden-BHxEUGyT.js";
6
- import { p as z } from "./privacy-mask-DbEKI-Jv.js";
6
+ import { p as z } from "./privacy-mask-Dc3kdkCR.js";
7
7
  import { c as S } from "./createLucideIcon-DhHxpK9K.js";
8
8
  import { B as V } from "./building-2-D33bLCWL.js";
9
9
  import { U as g } from "./user-B12p7bVF.js";
@@ -187,4 +187,4 @@ export {
187
187
  O as T,
188
188
  q as i
189
189
  };
190
- //# sourceMappingURL=task-card-TSJjuuDe.js.map
190
+ //# sourceMappingURL=task-card-DqVoitRk.js.map
@@ -25,7 +25,7 @@ import { u as Vt } from "./registry-DvAUVLHh.js";
25
25
  import { u as Lt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
26
26
  import { c as Ut } from "./compose-refs-C0k0tdqF.js";
27
27
  import { n as Wt } from "./normalize-diacritics-BNGbFNlJ.js";
28
- import { p as Kt, P as Ht } from "./privacy-mask-DbEKI-Jv.js";
28
+ import { p as Kt, P as Ht } from "./privacy-mask-Dc3kdkCR.js";
29
29
  import { g as je, h as Gt } from "./handled-rejection-6gqCf5vt.js";
30
30
  import { L as Qt } from "./lock-ClAFG1gy.js";
31
31
  import { X as Yt } from "./x-B5YnXwCz.js";
@@ -1239,4 +1239,4 @@ export {
1239
1239
  vn as T,
1240
1240
  ln as t
1241
1241
  };
1242
- //# sourceMappingURL=task-editor-gqWF1jI6.js.map
1242
+ //# sourceMappingURL=task-editor-D--LwVrg.js.map
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
5
5
  import { I as A } from "./icon-button-S8_weU3g.js";
6
6
  import { S as V } from "./skeleton-tTWJpvAq.js";
7
7
  import { E as F } from "./empty-state-DwJ5YNzz.js";
8
- import { T as G } from "./task-card-TSJjuuDe.js";
8
+ import { T as G } from "./task-card-DqVoitRk.js";
9
9
  import { u as J } from "./registry-DvAUVLHh.js";
10
10
  import { S as L } from "./square-check-big-dj0o8yA3.js";
11
11
  import { P as Q } from "./plus-DzMQ_c6b.js";
@@ -236,4 +236,4 @@ export {
236
236
  X as T,
237
237
  U as t
238
238
  };
239
- //# sourceMappingURL=task-tray-DrXfMCuf.js.map
239
+ //# sourceMappingURL=task-tray-C6j8HVMv.js.map
@@ -12,7 +12,7 @@ import { S as Ot } from "./select-uESzXTX6.js";
12
12
  import { S as Ks } from "./switch-DO6uC4HJ.js";
13
13
  import { S as Vs } from "./skeleton-tTWJpvAq.js";
14
14
  import { E as $e } from "./empty-state-DwJ5YNzz.js";
15
- import { T as Cs } from "./task-card-TSJjuuDe.js";
15
+ import { T as Cs } from "./task-card-DqVoitRk.js";
16
16
  import { V as Gs } from "./visually-hidden-BHxEUGyT.js";
17
17
  import { u as Us } from "./use-check-animation--I3cS00X.js";
18
18
  import { a as Ys, u as Dt, R as jt } from "./use-list-reflow-C7O4Uqnl.js";
@@ -1239,4 +1239,4 @@ export {
1239
1239
  En as T,
1240
1240
  dn as t
1241
1241
  };
1242
- //# sourceMappingURL=tasks-panel-OuIaydK5.js.map
1242
+ //# sourceMappingURL=tasks-panel-D6PuF4MQ.js.map
@@ -3,7 +3,7 @@ import { forwardRef as m, useMemo as p, useRef as w, useState as V, useCallback
3
3
  import { c as b } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
5
  import { A as P } from "./avatar-Dp5apm1d.js";
6
- import { C as N } from "./card-C85_Ndhb.js";
6
+ import { C as N } from "./card-DVO3x8E-.js";
7
7
  import { T as q } from "./timestamp-DPLDWdxA.js";
8
8
  import { u as B } from "./registry-DvAUVLHh.js";
9
9
  import { C as H } from "./circle-j7oZoouK.js";
@@ -293,4 +293,4 @@ export {
293
293
  le as T,
294
294
  K as t
295
295
  };
296
- //# sourceMappingURL=timeline-CKUaBZOx.js.map
296
+ //# sourceMappingURL=timeline-AMqE-c2T.js.map
@@ -6,7 +6,7 @@ import { u as Jt } from "./registry-DvAUVLHh.js";
6
6
  import { u as te } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
7
7
  import { c as Zt } from "./compose-refs-C0k0tdqF.js";
8
8
  import { h as Ue, g as Qe } from "./handled-rejection-6gqCf5vt.js";
9
- import { a as en, b as xt } from "./privacy-mask-DbEKI-Jv.js";
9
+ import { a as en, b as xt } from "./privacy-mask-Dc3kdkCR.js";
10
10
  import { A as F } from "./alert-C4WKViaS.js";
11
11
  import { B as O } from "./button-DohK_Ak_.js";
12
12
  import { I as Lt } from "./icon-button-S8_weU3g.js";
@@ -16,8 +16,8 @@ import { E as zt } from "./editable-description-KU56SP4P.js";
16
16
  import { N as Xe } from "./note-timeline-BrjHBQfx.js";
17
17
  import { P as Ot } from "./panel-header-CbtlTe85.js";
18
18
  import { P as Ge } from "./panel-subview-DCyvn-49.js";
19
- import { P as _t } from "./patient-summary-card-DtYTo9w_.js";
20
- import { S as ne } from "./section-card-D1sV4Voz.js";
19
+ import { P as _t } from "./patient-summary-card-CGHz-Bvm.js";
20
+ import { S as ne } from "./section-card-DFr2wGal.js";
21
21
  import { C as nn, S as ue } from "./skeleton-tTWJpvAq.js";
22
22
  import { T as an } from "./text-area-COMVJ1yE.js";
23
23
  import { T as sn } from "./tooltip-uEBdD1-5.js";
@@ -26,7 +26,7 @@ import { a as Nt } from "./whatsapp-button-DV9JFmtq.js";
26
26
  import { a as Ft, W as on } from "./workflow-status-9wb7iWUd.js";
27
27
  import { u as ot, a as At, i as rn } from "./appointment-workflow-status-DMjuIK90.js";
28
28
  import { E as dn } from "./empty-state-DwJ5YNzz.js";
29
- import { T as Ae } from "./timeline-CKUaBZOx.js";
29
+ import { T as Ae } from "./timeline-AMqE-c2T.js";
30
30
  import { C as rt } from "./calendar-clock-hbObjfGY.js";
31
31
  import { T as $t } from "./trash-2-uumy3fy1.js";
32
32
  import { A as Ve } from "./entity-card-fpm-KUKc.js";
@@ -2195,4 +2195,4 @@ export {
2195
2195
  Kn as s,
2196
2196
  _s as u
2197
2197
  };
2198
- //# sourceMappingURL=use-appointment-details-read-DYyCYI9f.js.map
2198
+ //# sourceMappingURL=use-appointment-details-read-BK_Gw1GG.js.map